1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ace7eba3-c961-49cf-b5d3-806ec1bff334",e._sentryDebugIdIdentifier="sentry-dbid-ace7eba3-c961-49cf-b5d3-806ec1bff334")}catch(e){}}();var _sentryModuleMetadataGlobal="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_sentryModuleMetadataGlobal._sentryModuleMetadata=_sentryModuleMetadataGlobal._sentryModuleMetadata||{},_sentryModuleMetadataGlobal._sentryModuleMetadata[(new _sentryModuleMetadataGlobal.Error).stack]=Object.assign({},_sentryModuleMetadataGlobal._sentryModuleMetadata[(new _sentryModuleMetadataGlobal.Error).stack],{dsn:"https://[email protected]/2",release:"1de0f60f3aad54c481f0042545ba4f65bc59d0ff"});var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"1de0f60f3aad54c481f0042545ba4f65bc59d0ff"},(self.webpackChunkhyper3d_frontend=self.webpackChunkhyper3d_frontend||[]).push([[1678],{51678:(e,t,r)=>{r.d(t,{USDLoader:()=>de});var s=r(19435),n=r(61221),a=r(70311);const i=new TextDecoder,o=new Float32Array(32);for(let fe=0;fe<32;fe++)o[fe]=Math.pow(2,fe-15);const d=Math.pow(2,-14),f=0,l=1,c=2,h=3,u=4,y=5,p=6,U=7,b=8,g=9,w=10,F=11,I=12,_=13,m=14,v=15,k=16,S=17,A=18,O=19,P=20,D=21,M=22,E=23,B=24,T=25,C=26,R=27,V=28,x=30,L=31,j=32,H=33,G=34,z=36,N=37,q=38,Y=39,Z=40,K=41,W=42,X=43,J=44,Q=45,$=46,ee=48;function te(e,t,r,s,n,a){for(;t<r;){const i=e[t++];if(t>r)break;let o=i>>4;if(15===o){let s;do{if(t>=r)break;s=e[t++],o+=s}while(255===s&&t<r)}if(o>0){t+o>r&&(o=r-t);for(let r=0;r<o&&!(n>=a);r++)s[n++]=e[t++]}if(t>=r)break;if(t+2>r)break;const d=e[t++]|e[t++]<<8;if(0===d)break;let f=4+(15&i);if(19===f){let s;do{if(t>=r)break;s=e[t++],f+=s}while(255===s&&t<r)}const l=n-d;if(l<0)break;for(let e=0;e<f&&!(n>=a);e++)s[n++]=s[l+e]}return n}function re(e,t){const r=new Uint8Array(t),s=e[0];if(0===s)return te(e,1,e.length,r,0,t),r;{const n=65536;let a=1;const i=[];for(let t=0;t<s;t++){const t=(e[a]|e[a+1]<<8|e[a+2]<<16|e[a+3]<<24)>>>0;i.push(t),a+=4}let o=a,d=0;for(let f=0;f<s;f++){const s=i[f],a=Math.min(n,t-d);te(e,o,o+s,r,d,d+a),o+=s,d+=a}return r}}function se(e,t){const r=4*t+(2*t+7>>3)+4;return function(e,t){const r=new DataView(e.buffer,e.byteOffset,e.byteLength);let s=0;const n=r.getInt32(s,!0);s+=4;const a=2*t+7>>3,i=s,o=s+a,d=new Int32Array(t);let f=0,l=i,c=o;for(let h=0;h<t;){const s=e[l++];for(let e=0;e<4&&h<t;e++,h++){let t=0;switch(s>>2*e&3){case 0:t=n;break;case 1:t=r.getInt8(c),c+=1;break;case 2:t=r.getInt16(c,!0),c+=2;break;case 3:t=r.getInt32(c,!0),c+=4}f+=t,d[h]=f}}return d}(re(new Uint8Array(e),r),t)}class ne{constructor(e){this.buffer=e,this.view=new DataView(e),this.offset=0}seek(e){this.offset=e}tell(){return this.offset}readUint8(){const e=this.view.getUint8(this.offset);return this.offset+=1,e}readInt8(){const e=this.view.getInt8(this.offset);return this.offset+=1,e}readUint16(){const e=this.view.getUint16(this.offset,!0);return this.offset+=2,e}readInt16(){const e=this.view.getInt16(this.offset,!0);return this.offset+=2,e}readUint32(){const e=this.view.getUint32(this.offset,!0);return this.offset+=4,e}readInt32(){const e=this.view.getInt32(this.offset,!0);return this.offset+=4,e}readUint64(){const e=this.view.getUint32(this.offset,!0),t=this.view.getUint32(this.offset+4,!0);return this.offset+=8,4294967296*t+e}readInt64(){const e=this.view.getUint32(this.offset,!0),t=this.view.getInt32(this.offset+4,!0);return this.offset+=8,4294967296*t+e}readFloat32(){const e=this.view.getFloat32(this.offset,!0);return this.offset+=4,e}readFloat64(){const e=this.view.getFloat64(this.offset,!0);return this.offset+=8,e}readBytes(e){const t=new Uint8Array(this.buffer,this.offset,e);return this.offset+=e,t}readString(e){const t=this.readBytes(e);let r=0;for(;r<e&&0!==t[r];)r++;return i.decode(t.subarray(0,r))}}class ae{constructor(e,t){this.lo=e,this.hi=t}get isArray(){return 0!==(2147483648&this.hi)}get isInlined(){return 0!==(1073741824&this.hi)}get isCompressed(){return 0!==(536870912&this.hi)}get typeEnum(){return this.hi>>16&255}get payload(){return this.lo+4294967296*(65535&this.hi)}getInlinedValue(){return this.lo}}class ie{parseData(e){this.buffer=e instanceof ArrayBuffer?e:e.buffer,this.reader=new ne(this.buffer),this.version={major:0,minor:0,patch:0},this._conversionBuffer=new ArrayBuffer(4),this._conversionView=new DataView(this._conversionBuffer),this._readBootstrap(),this._readTOC(),this._readTokens(),this._readStrings(),this._readFields(),this._readFieldSets(),this._readPaths(),this._readSpecs(),this.specsByPath={};for(const t of this.specs){const e=this.paths[t.pathIndex];if(!e)continue;const r=this._getFieldsForSpec(t);this.specsByPath[e]={specType:t.specType,fields:r}}return{specsByPath:this.specsByPath}}_readBootstrap(){const e=this.reader;e.seek(0);if("PXR-USDC"!==e.readString(8))throw new Error("THREE.USDCParser: Not a valid USDC file.");this.version.major=e.readUint8(),this.version.minor=e.readUint8(),this.version.patch=e.readUint8(),e.readBytes(5),this.tocOffset=e.readUint64()}_readTOC(){const e=this.reader;e.seek(this.tocOffset);const t=e.readUint64();this.sections={};for(let r=0;r<t;r++){const t=e.readString(16),r=e.readUint64(),s=e.readUint64();this.sections[t]={start:r,size:s}}}_readTokens(){const e=this.sections.TOKENS;if(!e)return;const t=this.reader;t.seek(e.start);const r=t.readUint64();if(this.tokens=[],0===this.version.major&&this.version.minor<4){const e=t.readUint64(),s=t.readBytes(e);let n=0;for(let t=0;t<r;t++){let e=n;for(;e<s.length&&0!==s[e];)e++;this.tokens.push(i.decode(s.subarray(n,e))),n=e+1}}else{const e=t.readUint64(),s=t.readUint64(),n=re(t.readBytes(s),e);let a=0;for(let t=0;t<r;t++){let e=a;for(;e<n.length&&0!==n[e];)e++;this.tokens.push(i.decode(n.subarray(a,e))),a=e+1}}}_readStrings(){const e=this.sections.STRINGS;if(!e)return void(this.strings=[]);const t=this.reader;t.seek(e.start);const r=Math.floor(e.size/4);this.strings=[];for(let s=0;s<r;s++)this.strings.push(t.readUint32())}_readFields(){const e=this.sections.FIELDS;if(!e)return;const t=this.reader;if(t.seek(e.start),this.fields=[],0===this.version.major&&this.version.minor<4){const r=Math.floor(e.size/12);for(let e=0;e<r;e++){const e=t.readUint32(),r=t.readUint32(),s=t.readUint32();this.fields.push({tokenIndex:e,valueRep:new ae(r,s)})}}else{const e=t.readUint64(),r=t.readUint64(),s=t.readBytes(r),n=se(s.buffer.slice(s.byteOffset,s.byteOffset+r),e),a=t.readUint64(),i=re(t.readBytes(a),8*e),o=new DataView(i.buffer,i.byteOffset,i.byteLength);for(let t=0;t<e;t++){const e=o.getUint32(8*t,!0),r=o.getUint32(8*t+4,!0);this.fields.push({tokenIndex:n[t],valueRep:new ae(e,r)})}}}_readFieldSets(){const e=this.sections.FIELDSETS;if(!e)return;const t=this.reader;if(t.seek(e.start),this.fieldSets=[],0===this.version.major&&this.version.minor<4){const r=Math.floor(e.size/4);for(let e=0;e<r;e++)this.fieldSets.push(t.readUint32())}else{const e=t.readUint64(),r=t.readUint64(),s=t.readBytes(r),n=se(s.buffer.slice(s.byteOffset,s.byteOffset+r),e);for(let t=0;t<e;t++)this.fieldSets.push(n[t])}}_readPaths(){const e=this.sections.PATHS;if(!e)return;const t=this.reader;t.seek(e.start);const r=t.readUint64();if(this.paths=new Array(r).fill(""),0===this.version.major&&this.version.minor<4)this._readPathsRecursive("");else{t.readUint64();const e=t.readUint64(),s=t.readBytes(e),n=se(s.buffer.slice(s.byteOffset,s.byteOffset+e),r),a=t.readUint64(),i=t.readBytes(a),o=se(i.buffer.slice(i.byteOffset,i.byteOffset+a),r),d=t.readUint64(),f=t.readBytes(d),l=se(f.buffer.slice(f.byteOffset,f.byteOffset+d),r);this._buildPathsFromCompressed(n,o,l)}}_readPathsRecursive(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const r=this.reader;if(t>1e3)return;const s=r.readUint32(),n=r.readUint32(),a=r.readUint8(),i=0!==(1&a),o=0!==(2&a),d=0!==(4&a);let f;if(""===e)f="/";else{const t=this.tokens[n]||"";f=d?e+"."+t:"/"===e?"/"+t:e+"/"+t}if(this.paths[s]=f,i&&o){const s=r.readUint64();this._readPathsRecursive(f,t+1),r.seek(s),this._readPathsRecursive(e,t+1)}else i?this._readPathsRecursive(f,t+1):o&&this._readPathsRecursive(e,t+1)}_buildPathsFromCompressed(e,t,r){const s=(n,a)=>{let i=n;for(;i<e.length;){const n=i++,o=e[n],d=t[n],f=r[n];let l;if(""===a)l="/",a=l;else{const e=this.tokens[Math.abs(d)]||"";l=d<0?a+"."+e:"/"===a?"/"+e:a+"/"+e}this.paths[o]=l;const c=f>=0;if(f>0||-1===f){if(c){s(n+f,a)}a=l}else if(!c)break}};s(0,"")}_readSpecs(){const e=this.sections.SPECS;if(!e)return;const t=this.reader;if(t.seek(e.start),this.specs=[],0===this.version.major&&this.version.minor<4){const r=0===this.version.minor&&1===this.version.patch?16:12,s=Math.floor(e.size/r);for(let e=0;e<s;e++){const e=t.readUint32(),s=t.readUint32(),n=t.readUint32();16===r&&t.readUint32(),this.specs.push({pathIndex:e,fieldSetIndex:s,specType:n})}}else{const e=t.readUint64(),r=t.readUint64(),s=t.readBytes(r),n=se(s.buffer.slice(s.byteOffset,s.byteOffset+r),e),a=t.readUint64(),i=t.readBytes(a),o=se(i.buffer.slice(i.byteOffset,i.byteOffset+a),e),d=t.readUint64(),f=t.readBytes(d),l=se(f.buffer.slice(f.byteOffset,f.byteOffset+d),e);for(let t=0;t<e;t++)this.specs.push({pathIndex:n[t],fieldSetIndex:o[t],specType:l[t]})}}_readValue(e){const t=e.typeEnum,r=e.isArray,s=e.isInlined;if(t===$)return this._readTimeSamples(e);if(s)return this._readInlinedValue(e);const n=e.payload;if(0===n&&r)return[];if(n<0||n>=this.buffer.byteLength)throw new RangeError("USDCParser: Invalid payload offset "+n+" for type "+t+".");const a=this.reader.tell();let i;return this.reader.seek(n),i=r?this._readArrayValue(e):this._readScalarValue(t),this.reader.seek(a),i}_readInlinedValue(e){const t=e.typeEnum,r=e.getInlinedValue(),s=this._conversionView;switch(t){case l:return 0!==r;case c:return 255&r;case h:case u:return r;case b:case g:return s.setUint32(0,r,!0),s.getFloat32(0,!0);case F:return this.tokens[r]||"";case w:return this.tokens[this.strings[r]]||"";case I:return this.tokens[r]||"";case W:case X:case J:return r;case D:return s.setUint32(0,r,!0),[this._halfToFloat(s.getUint16(0,!0)),this._halfToFloat(s.getUint16(2,!0))];case P:case O:case M:return s.setUint32(0,r,!0),[s.getInt8(0),s.getInt8(1)];case B:case E:case C:return s.setUint32(0,r,!0),[s.getInt8(0),s.getInt8(1),s.getInt8(2)];case V:case R:case x:return s.setUint32(0,r,!0),[s.getInt8(0),s.getInt8(1),s.getInt8(2),s.getInt8(3)];case _:s.setUint32(0,r,!0);return[s.getInt8(0),0,0,s.getInt8(1)];case m:s.setUint32(0,r,!0);return[s.getInt8(0),0,0,0,s.getInt8(1),0,0,0,s.getInt8(2)];case v:s.setUint32(0,r,!0);return[s.getInt8(0),0,0,0,0,s.getInt8(1),0,0,0,0,s.getInt8(2),0,0,0,0,s.getInt8(3)];default:return r}}_readTimeSamples(e){const t=this.reader,r=e.payload,s=t.tell();t.seek(r);const n=t.tell(),a=t.readInt64();t.seek(n+a);const i=t.readUint32(),o=t.readUint32(),d=new ae(i,o),f=this._readValue(d),l=n+a+8;t.seek(l);const c=t.tell(),h=t.readInt64();t.seek(c+h);const u=t.readUint64(),y=[];for(let U=0;U<u;U++){const e=t.readUint32(),r=t.readUint32();y.push(new ae(e,r))}const p=[];for(let U=0;U<u;U++)p.push(this._readValue(y[U]));t.seek(s);return{times:f instanceof Float64Array?Array.from(f):Array.isArray(f)?f:[f],values:p}}_readScalarValue(e){const t=this.reader;switch(e){case f:return null;case l:return 0!==t.readUint8();case c:return t.readUint8();case h:return t.readInt32();case u:return t.readUint32();case y:return t.readInt64();case p:return t.readUint64();case U:return this._readHalf();case b:return t.readFloat32();case g:return t.readFloat64();case w:case F:{const e=t.readUint32();return this.tokens[e]||""}case I:{const e=t.readUint32();return this.tokens[e]||""}case P:return[t.readFloat32(),t.readFloat32()];case O:return[t.readFloat64(),t.readFloat64()];case M:return[t.readInt32(),t.readInt32()];case B:return[t.readFloat32(),t.readFloat32(),t.readFloat32()];case E:return[t.readFloat64(),t.readFloat64(),t.readFloat64()];case C:return[t.readInt32(),t.readInt32(),t.readInt32()];case V:return[t.readFloat32(),t.readFloat32(),t.readFloat32(),t.readFloat32()];case R:return[t.readFloat64(),t.readFloat64(),t.readFloat64(),t.readFloat64()];case S:return[t.readFloat32(),t.readFloat32(),t.readFloat32(),t.readFloat32()];case k:return[t.readFloat64(),t.readFloat64(),t.readFloat64(),t.readFloat64()];case v:{const e=[];for(let r=0;r<16;r++)e.push(t.readFloat64());return e}case K:{const e=t.readUint64(),r=[];for(let s=0;s<e;s++){const e=t.readUint32();r.push(this.tokens[e]||"")}return r}case Z:{const e=t.readUint64(),r=[];for(let s=0;s<e;s++){const e=t.readUint32();r.push(this.paths[e]||"")}return r}case ee:{const e=t.readUint64(),r=new Float64Array(e);for(let s=0;s<e;s++)r[s]=t.readFloat64();return r}case L:{const e=t.readUint64(),r={};for(let s=0;s<e;s++){const e=t.readUint32(),s=this.tokens[e],n=t.position+t.readInt64(),a=t.position;t.position=n;const i=t.readUint64(),o=new ae(i);let d=null;o.isInlined?d=this._readInlinedValue(o):o.isArray?(t.position=o.payload,d=this._readArrayValue(o)):(t.position=o.payload,d=this._readScalarValue(o.typeEnum)),t.position=a,void 0!==s&&null!==d&&(r[s]=d)}return r}case j:case H:case z:case N:case q:case Y:return null;case G:{const e=t.readUint8(),r=0!==(4&e),s=0!==(8&e),n=0!==(16&e),a=0!==(32&e),i=0!==(64&e),o=()=>{const e=t.readUint64(),r=[];for(let s=0;s<e;s++){const e=t.readUint32();r.push(this.paths[e])}return r};let d=null,f=null,l=null,c=null;
1return 0!==(2&e)&&(d=o()),r&&(f=o()),a&&(l=o()),i&&(c=o()),s&&o(),n&&o(),l&&l.length>0?l:d&&d.length>0?d:c&&c.length>0?c:f&&f.length>0?f:null}case Q:{const e=t.readUint64(),r={};for(let s=0;s<e;s++){const e=t.readUint32(),s=t.readUint32(),n=this.tokens[this.strings[e]],a=this.tokens[this.strings[s]];n&&a&&(r[n]=a)}return r}default:return console.warn("USDCParser: Unsupported scalar type",e),null}}_readArrayValue(e){const t=this.reader,r=e.typeEnum,s=e.isCompressed;let n;if(n=0===this.version.major&&this.version.minor<7?t.readUint32():t.readUint64(),!Number.isSafeInteger(n)||n<0)throw new RangeError("USDCParser: Invalid array size "+n+" for type "+r+".");if(n>2147483647)throw new RangeError("USDCParser: Array size "+n+" exceeds implementation limits.");if(0===n)return[];if(s)return this._readCompressedArray(r,n);switch(r){case h:{const e=new Int32Array(n);for(let r=0;r<n;r++)e[r]=t.readInt32();return e}case u:{const e=new Uint32Array(n);for(let r=0;r<n;r++)e[r]=t.readUint32();return e}case b:{const e=new Float32Array(n);for(let r=0;r<n;r++)e[r]=t.readFloat32();return e}case g:{const e=new Float64Array(n);for(let r=0;r<n;r++)e[r]=t.readFloat64();return e}case P:{const e=new Float32Array(2*n);for(let r=0;r<2*n;r++)e[r]=t.readFloat32();return e}case B:{const e=new Float32Array(3*n);for(let r=0;r<3*n;r++)e[r]=t.readFloat32();return e}case V:{const e=new Float32Array(4*n);for(let r=0;r<4*n;r++)e[r]=t.readFloat32();return e}case T:{const e=new Float32Array(3*n);for(let t=0;t<3*n;t++)e[t]=this._readHalf();return e}case S:{const e=new Float32Array(4*n);for(let r=0;r<4*n;r++)e[r]=t.readFloat32();return e}case A:{const e=new Float32Array(4*n);for(let t=0;t<4*n;t++)e[t]=this._readHalf();return e}case v:{const e=new Float64Array(16*n);for(let r=0;r<16*n;r++)e[r]=t.readFloat64();return e}case F:{const e=[];for(let r=0;r<n;r++){const r=t.readUint32();e.push(this.tokens[r]||"")}return e}case U:{const e=new Float32Array(n);for(let t=0;t<n;t++)e[t]=this._readHalf();return e}default:return console.warn("USDCParser: Unsupported array type",r),[]}}_readCompressedArray(e,t){const r=this.reader;switch(e){case h:case u:{const e=r.readUint64(),s=r.readBytes(e);return se(s.buffer.slice(s.byteOffset,s.byteOffset+e),t)}case b:{const e=r.readInt8();if(105===e){const e=r.readUint64(),s=r.readBytes(e),n=se(s.buffer.slice(s.byteOffset,s.byteOffset+e),t),a=new Float32Array(t);for(let r=0;r<t;r++)a[r]=n[r];return a}if(116===e){const e=r.readUint32(),s=new Float32Array(e);for(let t=0;t<e;t++)s[t]=r.readFloat32();const n=r.readUint64(),a=r.readBytes(n),i=se(a.buffer.slice(a.byteOffset,a.byteOffset+n),t),o=new Float32Array(t);for(let r=0;r<t;r++)o[r]=s[i[r]];return o}return console.warn("USDCParser: Unknown float compression code",e),new Float32Array(t)}default:return console.warn("USDCParser: Unsupported compressed array type",e),[]}}_readHalf(){return this._halfToFloat(this.reader.readUint16())}_halfToFloat(e){const t=(32768&e)>>15,r=(31744&e)>>10,s=1023&e;return 0===r?0===s?t?-0:0:(t?-1:1)*d*(s/1024):31===r?s?NaN:t?-1/0:1/0:(t?-1:1)*o[r]*(1+s/1024)}_getFieldsForSpec(e){const t={};let r=e.fieldSetIndex;let s=0;for(;r<this.fieldSets.length&&s<1e4;){const e=this.fieldSets[r];if(4294967295===e||-1===e)break;const n=this.fields[e];if(n){const e=this.tokens[n.tokenIndex],r=this._readValue(n.valueRep);t[e]=r}r++,s++}return t}}var oe=r(18625);class de extends s.aHM{constructor(e){super(e)}load(e,t,r,n){const a=this,i=""===a.path?s.r6x.extractUrlBase(e):a.path,o=new s.Y9S(a.manager);o.setPath(a.path),o.setResponseType("arraybuffer"),o.setRequestHeader(a.requestHeader),o.setWithCredentials(a.withCredentials),o.load(e,(function(r){try{a.parse(r,i,t,n)}catch(s){n?n(s):console.error(s),a.manager.itemError(e)}}),r,n)}parse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;const i=new a.d,o=new ie,d=new TextDecoder;function f(e){return e instanceof ArrayBuffer?e:0===e.byteOffset&&e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function l(e){const t=e.lastIndexOf(".");if(t<0)return"";return e.lastIndexOf("/")>t?"":e.slice(t+1).toLowerCase()}function c(e){const t=new Uint8Array([80,88,82,45,85,83,68,67]),r=e instanceof Uint8Array?e:new Uint8Array(e);if(r.byteLength<t.length)return!1;for(let s=0;s<t.length;s++)if(r[s]!==t[s])return!1;return!0}const h=this,u=(e,t)=>
1(r&&Promise.all(e.texturePromises).then((()=>r(t))).catch((e=>s?s(e):console.error(e))),t);if("string"===typeof e){const r=new oe.d(h.manager),s=i.parseData(e);return u(r,r.compose(s,{},{},t))}if(c(e)){const r=new oe.d(h.manager),s=o.parseData(f(e));return u(r,r.compose(s,{},{},t))}const y=new Uint8Array(e);if(80===y[0]&&75===y[1]){const e=(0,n.AO)(y),t=function(e){const t={};for(const r in e){const s=e[r],n=l(r);"png"!==n&&"jpg"!==n&&"jpeg"!==n&&"avif"!==n&&"exr"!==n?"usd"!==n&&"usda"!==n&&"usdc"!==n||(c(s)?t[r]=o.parseData(f(s)):t[r]=i.parseData(d.decode(s))):t[r]=s}return t}(e),{file:r,filename:s,basePath:a}=function(e){const t=Object.keys(e);if(t.length<1)return{file:void 0,filename:"",basePath:""};const r=t[0],s=l(r);let n=!1;const a=r.lastIndexOf("/"),i=a>=0?r.slice(0,a):"";if("usda"===s)return{file:e[r],filename:r,basePath:i};if("usdc"===s)n=!0;else if("usd"===s){if(!c(e[r]))return{file:e[r],filename:r,basePath:i};n=!0}return n?{file:e[r],filename:r,basePath:i}:{file:void 0,filename:"",basePath:""}}(e);if(!r)throw new Error("THREE.USDLoader: Invalid USDZ package. The first ZIP entry must be a USD layer (.usd/.usda/.usdc).");const p=new oe.d(h.manager),U=t[s];if(!U)throw new Error('THREE.USDLoader: Failed to parse root layer "'+s+'".');return u(p,p.compose(U,t,{},a))}const p=new oe.d(h.manager),U=d.decode(y),b=i.parseData(U);return u(p,p.compose(b,{},{},t))}}}}]); 2//# sourceMappingURL=1678.0a7d1391.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.