1import{Xi as e,Yi as t,Z as n,tt as r}from"./src-DdRYxgPx8x.js";import{Ht as i}from"./vue-D0d8k1b_qq.js";import{p as a}from"./api-DXrgFz3zWO.js";var o={id:-1,name:e(`default`),url:`https://cdn.pacdora.com/web-assets/413bd06c-2efa-4051-9dc0-2d01b8943cb8.webp`,path:t().light_hdr,min:.2,max:1.6,intensity:.9,theta:0,phi:0,rotation:0},s=i();function c(){let e=async()=>(await a()).map(e=>({id:e.id,url:e.params.display_img,path:e.path,name:e.name,min:e.params.min,max:e.params.max,intensity:Number(e.params.light),theta:0,phi:0,rotation:0,envMapRotation:0})),t=async(e,t)=>{let a=await r(n);e&&(await a.light.applyLight(e,t),await i(!0))},i=async(e=!1)=>{let t=await r(n),i=await t.light.getEnvLight(),a=t.light.getSunLight();(e||!s.value)&&(s.value={envLight:i,sunLight:a})};return{getLights:e,applyLightInMaterialSetting:t,initDefaultLightTemplate:i,washRenderModelSettingSunLight:async e=>{var t;return e.userData=(t=(await r(n)).light.sunLight)==null?void 0:t.userData,e}}}export{s as n,c as r,o as t};
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.