1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3980],{3980:function(e,a,t){t.r(a),t.d(a,{default:function(){return i}});var s=t(5893),r=t(7294),o=t(9477),l=t(2566),n=t(6280);let h=new o.MeshPhysicalMaterial({color:16777215,transmission:.9,roughness:.1,ior:1.5,clearcoat:1}),m=new o.MeshPhysicalMaterial({color:16777215,transmission:.7,roughness:.5,ior:1.5,clearcoat:1,clearcoatRoughness:.6});function i(e){let{nodes:a,materials:t}=(0,l.L)("/models/5Elements/5B100_RR_90.gltf"),i=(0,r.useContext)(n.Z),[c,g]=(0,r.useState)(!1),[d,u]=(0,r.useState)(h),p=i.getWindwandDimensions(),S=.7*p.width/100,_=p.height/100;return(0,r.useEffect)(()=>{if("Sandstruktur"===i.glassstructure){let e=new o.TextureLoader().load("/textures/gravelly_sand_nor_gl_1k.png"),a=new o.TextureLoader().load("/textures/gravelly_sand_rough_1k.png");e.wrapS=o.RepeatWrapping,e.wrapT=o.RepeatWrapping,e.repeat.set(4,4),a.wrapS=o.RepeatWrapping,a.wrapT=o.RepeatWrapping,a.repeat.set(4,4),t.RAHMEN.color.set(i.color||0),t.STANDFUSS.color.set(i.color||0),t.KREUZRASTER.color.set(i.color||0),t.RAHMEN.normalMap=e,t.RAHMEN.roughnessMap=a,t.RAHMEN.needsUpdate=!0}else t.RAHMEN.normalMap=null,t.RAHMEN.roughnessMap=null,t.RAHMEN.color.set(i.color||0),t.STANDFUSS.color.set(i.color||0),t.KREUZRASTER.color.set(i.color||0),t.RAHMEN.needsUpdate=!0;"Classic satiniert"===i.glass.name?u(m):u(h),"Landhaus transparent"===i.glass.name?(g(!0),u(h)):g(!1),"Landhaus satiniert"===i.glass.name&&(g(!0),u(m))},[i,t]),(0,s.jsxs)("group",{...e,dispose:null,scale:[Math.max(.1,Math.min(5,1.3*S)),Math.max(.1,Math.min(5,_/1.6*1.3)),Math.max(.1,Math.min(5,1.3*S))],rotation:[0,Math.PI,0],children:[(0,s.jsx)("mesh",{castShadow:!0,receiveShadow:!0,geometry:a.mesh_0.geometry,material:t.RAHMEN}),(0,s.jsx)("mesh",{castShadow:!0,receiveShadow:!0,geometry:a.mesh_0_1.geometry,material:t.RAHMEN}),(0,s.jsx)("mesh",{castShadow:!0,receiveShadow:!0,geometry:a.mesh_0_2.geometry,material:d}),(0,s.jsx)("mesh",{castShadow:!0,receiveShadow:!0,geometry:a.mesh_0_3.geometry,material:t.KREUZRASTER,visible:c}),(0,s.jsx)("mesh",{castShadow:!0,receiveShadow:!0,geometry:a.mesh_0_4.geometry,material:t.STANDFUSS}),(0,s.jsx)("mesh",{castShadow:!0,receiveShadow:!0,geometry:a.mesh_0_5.geometry,material:t.Color_008}),(0,s.jsx)("mesh",{castShadow:!0,receiveShadow:!0,geometry:a.mesh_0_6.geometry,material:t.Metal_Corrogated_Shiny})]})}l.L.preload("/models/5Elements/5B100_RR_90.gltf")}}]);
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.