초기 PM 소스 전체 업로드

This commit is contained in:
koj729 committed 2026-06-12 17:14:03 +09:00
commit 4e33c9a02a
1769 files changed
+377797

No files matched your search

@@ -0,0 +1,2 @@
"use strict";(self.webpackChunkifcviewer2=self.webpackChunkifcviewer2||[]).push([[59],{6:(e,t,n)=>{n.d(t,{r:()=>c});var s=n(437);let i,l,a,r;function o(e,t=1/0,n=null){l||(l=new s.bdM(2,2,1,1)),a||(a=new s.BKk({uniforms:{blitTexture:new s.nc$(e)},vertexShader:"\n\t\t\tvarying vec2 vUv;\n\t\t\tvoid main(){\n\t\t\t\tvUv = uv;\n\t\t\t\tgl_Position = vec4(position.xy * 1.0,0.,.999999);\n\t\t\t}",fragmentShader:"\n\t\t\tuniform sampler2D blitTexture; \n\t\t\tvarying vec2 vUv;\n\n\t\t\tvoid main(){ \n\t\t\t\tgl_FragColor = vec4(vUv.xy, 0, 1);\n\t\t\t\t\n\t\t\t\t#ifdef IS_SRGB\n\t\t\t\tgl_FragColor = LinearTosRGB( texture2D( blitTexture, vUv) );\n\t\t\t\t#else\n\t\t\t\tgl_FragColor = texture2D( blitTexture, vUv);\n\t\t\t\t#endif\n\t\t\t}"})),a.uniforms.blitTexture.value=e,a.defines.IS_SRGB=e.colorSpace==s.er$,a.needsUpdate=!0,r||(r=new s.eaF(l,a),r.frustrumCulled=!1);const o=new s.ubm,u=new s.Z58;u.add(r),null===n&&(n=i=new s.JeP({antialias:!1}));const c=Math.min(e.image.width,t),h=Math.min(e.image.height,t);n.setSize(c,h),n.clear(),n.render(u,o);const p=document.createElement("canvas"),I=p.getContext("2d");p.width=c,p.height=h,I.drawImage(n.domElement,0,0,c,h);const d=new s.GOR(p);return d.minFilter=e.minFilter,d.magFilter=e.magFilter,d.wrapS=e.wrapS,d.wrapT=e.wrapT,d.name=e.name,i&&(i.forceContextLoss(),i.dispose(),i=null),d}const u={POSITION:["byte","byte normalized","unsigned byte","unsigned byte normalized","short","short normalized","unsigned short","unsigned short normalized"],NORMAL:["byte normalized","short normalized"],TANGENT:["byte normalized","short normalized"],TEXCOORD:["byte","byte normalized","unsigned byte","short","short normalized","unsigned short"]};class c{constructor(){this.pluginCallbacks=[],this.register(function(e){return new z(e)}),this.register(function(e){return new k(e)}),this.register(function(e){return new X(e)}),this.register(function(e){return new Z(e)}),this.register(function(e){return new K(e)}),this.register(function(e){return new Q(e)}),this.register(function(e){return new W(e)}),this.register(function(e){return new q(e)}),this.register(function(e){return new J(e)}),this.register(function(e){return new $(e)}),this.register(function(e){return new ee(e)}),this.register(function(e){return new te(e)}),this.register(function(e){return new ne(e)})}register(e){return-1===this.pluginCallbacks.indexOf(e)&&this.pluginCallbacks.push(e),this}unregister(e){return-1!==this.pluginCallbacks.indexOf(e)&&this.pluginCallbacks.splice(this.pluginCallbacks.indexOf(e),1),this}parse(e,t,n,s){const i=new j,l=[];for(let e=0,t=this.pluginCallbacks.length;e<t;e++)l.push(this.pluginCallbacks[e](i));i.setPlugins(l),i.write(e,t,s).catch(n)}parseAsync(e,t){const n=this;return new Promise(function(s,i){n.parse(e,s,i,t)})}}const h=0,p=1,I=2,d=3,f=4,E=5120,m=5121,y=5122,v=5123,T=5124,w=5125,R=5126,C=34962,g=34963,S=9728,A=9729,N=9984,O=9985,D=9986,b=9987,P=33071,L=33648,F=10497,M="KHR_mesh_quantization",x={};x[s.hxR]=S,x[s.pHI]=N,x[s.Cfg]=D,x[s.k6q]=A,x[s.kRr]=O,x[s.$_I]=b,x[s.ghU]=P,x[s.GJx]=F,x[s.kTW]=L;const _={scale:"scale",position:"translation",quaternion:"rotation",morphTargetInfluences:"weights"},U=new s.Q1f;function H(e,t){return e.length===t.length&&e.every(function(e,n){return e===t[n]})}function B(e){return 4*Math.ceil(e/4)}function G(e,t=0){const n=B(e.byteLength);if(n!==e.byteLength){const s=new Uint8Array(n);if(s.set(new Uint8Array(e)),0!==t)for(let i=e.byteLength;i<n;i++)s[i]=t;return s.buffer}return e}function V(){return"undefined"==typeof document&&"undefined"!=typeof OffscreenCanvas?new OffscreenCanvas(1,1):document.createElement("canvas")}function Y(e,t){if(void 0!==e.toBlob)return new Promise(n=>e.toBlob(n,t));let n;return"image/jpeg"===t?n=.92:"image/webp"===t&&(n=.8),e.convertToBlob({type:t,quality:n})}class j{constructor(){this.plugins=[],this.options={},this.pending=[],this.buffers=[],this.byteOffset=0,this.buffers=[],this.nodeMap=new Map,this.skins=[],this.extensionsUsed={},this.extensionsRequired={},this.uids=new Map,this.uid=0,this.json={asset:{version:"2.0",generator:"THREE.GLTFExporter"}},this.cache={meshes:new Map,attributes:new Map,attributesNormalized:new Map,materials:new Map,textures:new Map,images:new Map}}setPlugins(e){this.plugins=e}async write(e,t,n={}){this.options=Object.assign({binary:!1,trs:!1,onlyVisible:!0,maxTextureSize:1/0,animations:[],includeCustomExtensions:!1},n),this.options.animations.length>0&&(this.options.trs=!0),this.processInput(e),await Promise.all(this.pending);const s=this,i=s.buffers,l=s.json;n=s.options;const a=s.extensionsUsed,r=s.extensionsRequired,o=new Blob(i,{type:"application/octet-stream"}),u=Object.keys(a),c=Object.keys(r);if(u.length>0&&(l.extensionsUsed=u),c.length>0&&(l.extensionsRequired=c),l.buffers&&l.buffers.length>0&&(l.buffers[0].byteLength=o.size),!0===n.binary){const e=new FileReader;e.readAsArrayBuffer(o),e.onloadend=function(){const n=G(e.result),s=new DataView(new ArrayBuffer(8));s.setUint32(0,n.byteLength,!0),s.setUint32(4,51Line truncated
//# sourceMappingURL=bundle.19489245bc592e8a0b87.js.map