Object.defineProperties(THREE.Light.prototype,{onlyShadow:{set:function(a){console.warn("THREE.Light: .onlyShadow has been removed.")}},shadowCamera:{get:function(){returnthis.shadow.camera}},shadowCameraFov:{get:function(){returnthis.shadow.camera.fov},set:function(a){this.shadow.camera.fov=a}},shadowCameraLeft:{get:function(){returnthis.shadow.camera.left},set:function(a){this.shadow.camera.left=a}},shadowCameraRight:{get:function(){returnthis.shadow.camera.right},set:function(a){this.shadow.camera.right=
a}},shadowCameraTop:{get:function(){returnthis.shadow.camera.top},set:function(a){this.shadow.camera.top=a}},shadowCameraBottom:{get:function(){returnthis.shadow.camera.bottom},set:function(a){this.shadow.camera.bottom=a}},shadowCameraNear:{get:function(){returnthis.shadow.camera.near},set:function(a){this.shadow.camera.near=a}},shadowCameraFar:{get:function(){returnthis.shadow.camera.far},set:function(a){this.shadow.camera.far=a}},shadowCameraVisible:{set:function(a){console.warn("THREE.Light: .shadowCameraVisible has been removed. Use new THREE.CameraHelper( light.shadow ) instead.")}},
r.uniform1fv(a.morphTargetInfluences,ma);l=!0}b=d.index;c=d.attributes.position;!0===e.wireframe&&(b=va.getWireframeAttribute(d));null!==b?(a=Ga,a.setIndex(b)):a=Fa;if(l){a:{varl=void0,q;if(dinstanceofTHREE.InstancedBufferGeometry&&(q=S.get("ANGLE_instanced_arrays"),null===q)){console.error("THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");breaka}void0===l&&(l=0);I.initAttributes();varm=d.attributes,
0<d.maxInstancedCount?a.renderInstances(d):a.render(g,q)):finstanceofTHREE.Line?(d=e.linewidth,void0===d&&(d=1),I.setLineWidth(d*y),finstanceofTHREE.LineSegments?a.setMode(r.LINES):a.setMode(r.LINE_STRIP),a.render(g,q)):finstanceofTHREE.Points&&(a.setMode(r.POINTS),a.render(g,q))};this.render=function(a,b,c,d){if(!1===binstanceofTHREE.Camera)console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");else{vare=a.fog;sa="";ta=-1;ra=null;wa=!0;!0===a.autoUpdate&&