diff --git a/.output/nitro.json b/.output/nitro.json index 70a04d2..0d1c237 100644 --- a/.output/nitro.json +++ b/.output/nitro.json @@ -1,7 +1,7 @@ { - "date": "2023-05-31T01:05:34.965Z", - "preset": "nitro-prerender", + "date": "2023-05-31T03:01:49.247Z", + "preset": "node-server", "commands": { - "preview": "npx serve ./public" + "preview": "node ./server/index.mjs" } } \ No newline at end of file diff --git a/.output/public/200.html b/.output/public/200.html deleted file mode 100644 index e482577..0000000 --- a/.output/public/200.html +++ /dev/null @@ -1,12 +0,0 @@ - - -
- - - - - - - - \ No newline at end of file diff --git a/.output/public/404.html b/.output/public/404.html deleted file mode 100644 index e482577..0000000 --- a/.output/public/404.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/.output/public/_nuxt/Banner.3eba7848.js b/.output/public/_nuxt/Banner.3eba7848.js deleted file mode 100644 index 0e18a61..0000000 --- a/.output/public/_nuxt/Banner.3eba7848.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Banner.vue.0dee7ee1.js";import"./nuxt-img.e1f80e96.js";import"./entry.aa7356a8.js";import"./Typography.vue.a00ff3a8.js";import"./nuxt-link.dc3d27c1.js";import"./Section.95ce794b.js";import"./_plugin-vue_export-helper.c27b6911.js";export{o as default}; diff --git a/.output/public/_nuxt/Banner.dd2c5aa2.js b/.output/public/_nuxt/Banner.dd2c5aa2.js new file mode 100644 index 0000000..155a476 --- /dev/null +++ b/.output/public/_nuxt/Banner.dd2c5aa2.js @@ -0,0 +1 @@ +import{_ as o}from"./Banner.vue.5bb39401.js";import"./nuxt-img.f18eda15.js";import"./entry.a42f0781.js";import"./Typography.vue.13ba1ade.js";import"./nuxt-link.f7f44df1.js";import"./Section.f5b9263f.js";import"./_plugin-vue_export-helper.c27b6911.js";export{o as default}; diff --git a/.output/public/_nuxt/Banner.vue.0dee7ee1.js b/.output/public/_nuxt/Banner.vue.0dee7ee1.js deleted file mode 100644 index 870c258..0000000 --- a/.output/public/_nuxt/Banner.vue.0dee7ee1.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as c}from"./nuxt-img.e1f80e96.js";import{_ as s}from"./Typography.vue.a00ff3a8.js";import u from"./Section.95ce794b.js";import{a as m,o as p,c as f,G as l,f as d,aj as g,L as e}from"./entry.aa7356a8.js";const y=m({__name:"Banner",props:{img:null,title:null,topic:null,description:null,link:null,mask:null},setup(t){const a=t;function o(){switch(a.mask){case"top":return"linear-gradient(0deg,#000, transparent);";case"bottom":return"linear-gradient(0deg, transparent, #000);";case"both":default:return"linear-gradient(0deg, transparent, #000, transparent);"}}return(_,h)=>{const i=c,r=s,n=u;return p(),f(n,{relative:"","h-380px":"","md:h-400px":"","xl:h-450px":""},{default:l(()=>[d("div",{absolute:"","left-0":"","top-0":"","z-0":"","h-full":"","w-full":"","bg-cover":"","bg-center":"","bg-no-repeat":"",style:g(`-webkit-mask-image:${o()}`)},[e(i,{src:t.img,loading:"lazy",width:"1000",height:"300",class:"w-full h-full"},null,8,["src"])],4),e(n,{absolute:"","left-0":"","top-0":"","h-full":"","w-full":"",flex:"","flex-col":"","items-center":"","justify-center":"","text-shadow":""},{default:l(()=>[e(r,{title:t.title,topic:t.topic,description:t.description,link:t.link},null,8,["title","topic","description","link"])]),_:1})]),_:1})}}});export{y as _}; diff --git a/.output/public/_nuxt/Banner.vue.5bb39401.js b/.output/public/_nuxt/Banner.vue.5bb39401.js new file mode 100644 index 0000000..73ecc07 --- /dev/null +++ b/.output/public/_nuxt/Banner.vue.5bb39401.js @@ -0,0 +1 @@ +import{_ as c}from"./nuxt-img.f18eda15.js";import{_ as s}from"./Typography.vue.13ba1ade.js";import u from"./Section.f5b9263f.js";import{a as m,o as p,c as f,G as l,f as d,aj as g,L as e}from"./entry.a42f0781.js";const y=m({__name:"Banner",props:{img:null,title:null,topic:null,description:null,link:null,mask:null},setup(t){const a=t;function o(){switch(a.mask){case"top":return"linear-gradient(0deg,#000, transparent);";case"bottom":return"linear-gradient(0deg, transparent, #000);";case"both":default:return"linear-gradient(0deg, transparent, #000, transparent);"}}return(_,h)=>{const i=c,r=s,n=u;return p(),f(n,{relative:"","h-380px":"","md:h-400px":"","xl:h-450px":""},{default:l(()=>[d("div",{class:"absolute left-0 top-0 z-0 h-full w-full bg-cover bg-center bg-no-repeat",style:g(`-webkit-mask-image:${o()}`)},[e(i,{src:t.img,loading:"lazy",width:"1000",height:"300",class:"w-full h-full"},null,8,["src"])],4),e(n,{class:"left-0 top-0 h-full w-full flex flex-col items-center justify-center text-shadow"},{default:l(()=>[e(r,{title:t.title,topic:t.topic,description:t.description,link:t.link},null,8,["title","topic","description","link"])]),_:1})]),_:1})}}});export{y as _}; diff --git a/.output/public/_nuxt/Carousel.1e91ac35.js b/.output/public/_nuxt/Carousel.1e91ac35.js deleted file mode 100644 index 16287bf..0000000 --- a/.output/public/_nuxt/Carousel.1e91ac35.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./Carousel.vue.39f07498.js";import"./nuxt-img.e1f80e96.js";import"./entry.aa7356a8.js";import"./Typography.vue.a00ff3a8.js";import"./nuxt-link.dc3d27c1.js";export{o as default}; diff --git a/.output/public/_nuxt/Carousel.4d912f2e.js b/.output/public/_nuxt/Carousel.4d912f2e.js new file mode 100644 index 0000000..3df39fe --- /dev/null +++ b/.output/public/_nuxt/Carousel.4d912f2e.js @@ -0,0 +1 @@ +import{_ as o}from"./Carousel.vue.0ceda87f.js";import"./nuxt-img.f18eda15.js";import"./entry.a42f0781.js";import"./Typography.vue.13ba1ade.js";import"./nuxt-link.f7f44df1.js";import"./Section.f5b9263f.js";import"./_plugin-vue_export-helper.c27b6911.js";export{o as default}; diff --git a/.output/public/_nuxt/Carousel.vue.0ceda87f.js b/.output/public/_nuxt/Carousel.vue.0ceda87f.js new file mode 100644 index 0000000..1d5c47a --- /dev/null +++ b/.output/public/_nuxt/Carousel.vue.0ceda87f.js @@ -0,0 +1 @@ +import{_ as g}from"./nuxt-img.f18eda15.js";import{a as v,I as w,J as k,K as x,o as r,e as u,L as n,G as i,M as y,N as V,u as e,c as b,i as C,f as N,O as B,P as $}from"./entry.a42f0781.js";import{_ as j}from"./Typography.vue.13ba1ade.js";import I from"./Section.f5b9263f.js";function L(){return[{title:"home.carousel.topic[0]",description:"home.carousel.description[0]",link:{name:"home.carousel.link[0]",href:"/release/creatorpartyverse"},img:"/imgs/Home.Creatorverse.jpg"},{title:"home.carousel.topic[1]",description:"home.carousel.description[1]",link:{name:"home.carousel.link[1]",href:"/release/holowater"},img:"/imgs/News/HoloWater/20230524162443.jpg"}]}const z={class:"relative h-300px w-full overflow-hidden md:h-600px xl:h-800px"},A=N("div",{class:"absolute left-0 top-0 z-1 h-full w-full",style:{"background-image":"linear-gradient(0deg,hsl(var(--a-body-bg-c)),transparent 65%, hsl(var(--a-body-bg-c)))","pointer-events":"none"}},null,-1),K=v({__name:"Carousel",setup(F){const o=L(),{state:t,next:m,prev:H}=w(o.map((l,s)=>s),{initialValue:0});return k(()=>{x(()=>{m()},3500)}),(l,s)=>{const p=g,_=B,d=$,f=j,h=I;return r(),u("div",z,[n(d,{modelValue:e(t),"onUpdate:modelValue":s[0]||(s[0]=a=>C(t)?t.value=a:null),"h-full":"",class:"h-full absolute w-full [&_.a-views-wrapper]:h-full"},{default:i(()=>[(r(!0),u(y,null,V(e(o),(a,c)=>(r(),b(_,{key:c,value:c,"h-full":""},{default:i(()=>[n(p,{src:a.img,fit:"cover",class:"w-full h-full",height:"600",width:"1000"},null,8,["src"])]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"]),n(h,{class:"top-0 z-10 h-full w-full flex items-center justify-center text-shadow"},{default:i(()=>[n(f,{"text-color":"white",topic:l.$t(e(o)[e(t)].title),description:l.$t(e(o)[e(t)].description),link:{...e(o)[e(t)].link,name:l.$t(e(o)[e(t)].link.name)}},null,8,["topic","description","link"])]),_:1}),A])}}});export{K as _}; diff --git a/.output/public/_nuxt/Carousel.vue.39f07498.js b/.output/public/_nuxt/Carousel.vue.39f07498.js deleted file mode 100644 index 1a626a6..0000000 --- a/.output/public/_nuxt/Carousel.vue.39f07498.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as g}from"./nuxt-img.e1f80e96.js";import{a as v,I as w,J as k,K as x,o as n,e as c,L as r,G as u,M as y,N as V,u as e,c as b,i as C,f as p,O as N,P as B}from"./entry.aa7356a8.js";import{_ as $}from"./Typography.vue.a00ff3a8.js";function j(){return[{title:"home.carousel.topic[0]",description:"home.carousel.description[0]",link:{name:"home.carousel.link[0]",href:"/release/creatorpartyverse"},img:"/imgs/Home.Creatorverse.jpg"},{title:"home.carousel.topic[1]",description:"home.carousel.description[1]",link:{name:"home.carousel.link[1]",href:"/release/holowater"},img:"/imgs/News/HoloWater/20230524162443.jpg"}]}const I={class:"relative h-500px w-full overflow-hidden md:h-600px xl:h-700px"},L={class:"absolute top-0 z-10 h-full w-full flex items-center justify-center text-shadow"},z=p("div",{class:"absolute left-0 top-0 z-1 h-full w-full",style:{"background-image":"linear-gradient(0deg,hsl(var(--a-body-bg-c)),transparent 65%, hsl(var(--a-body-bg-c)))","pointer-events":"none"}},null,-1),G=v({__name:"Carousel",setup(A){const o=j(),{state:t,next:m,prev:F}=w(o.map((s,l)=>l),{initialValue:0});return k(()=>{x(()=>{m()},3500)}),(s,l)=>{const d=g,h=N,_=B,f=$;return n(),c("div",I,[r(_,{modelValue:e(t),"onUpdate:modelValue":l[0]||(l[0]=a=>C(t)?t.value=a:null),"h-full":"",class:"[&>.a-views-wrapper]:h-full"},{default:u(()=>[(n(!0),c(y,null,V(e(o),(a,i)=>(n(),b(h,{key:i,value:i,"h-full":""},{default:u(()=>[r(d,{src:a.img,fit:"cover",class:"w-full",height:"600",width:"1000"},null,8,["src"])]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"]),p("div",L,[r(f,{"scale-135":"","text-color":"white",topic:s.$t(e(o)[e(t)].title),description:s.$t(e(o)[e(t)].description),link:{...e(o)[e(t)].link,name:s.$t(e(o)[e(t)].link.name)}},null,8,["topic","description","link"])]),z])}}});export{G as _}; diff --git a/.output/public/_nuxt/ContentDoc.c7051820.js b/.output/public/_nuxt/ContentDoc.15472473.js similarity index 84% rename from .output/public/_nuxt/ContentDoc.c7051820.js rename to .output/public/_nuxt/ContentDoc.15472473.js index 75ce10d..e8240a8 100644 --- a/.output/public/_nuxt/ContentDoc.c7051820.js +++ b/.output/public/_nuxt/ContentDoc.15472473.js @@ -1 +1 @@ -import{u as h,q as g,s as y,x as C,y as w,z as v,a as D,A as q,B as x,C as r}from"./entry.aa7356a8.js";import S from"./ContentRenderer.47ced266.js";import _ from"./ContentQuery.e8bbaf45.js";import"./ContentRendererMarkdown.d7c89d76.js";import"./index.a6ef77ff.js";import"./preview.6387966e.js";import"./index.57e42e18.js";import"./query.0cbfc7c3.js";import"./utils.96f61a62.js";const a=(u,e=y())=>{const f=h(u),p=v();g(()=>h(u),(t=f)=>{if(!e.path||!t)return;const n=Object.assign({},(t==null?void 0:t.head)||{});n.meta=[...n.meta||[]],n.link=[...n.link||[]];const s=n.title||(t==null?void 0:t.title);s&&(n.title=s),p.public.content.host;const c=(n==null?void 0:n.description)||(t==null?void 0:t.description);c&&n.meta.filter(i=>i.name==="description").length===0&&n.meta.push({name:"description",content:c}),n!=null&&n.image||(t==null||t.image),C(()=>w(n))},{immediate:!0})},T=D({name:"ContentDoc",props:{tag:{type:String,required:!1,default:"div"},excerpt:{type:Boolean,default:!1},path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0},head:{type:Boolean,required:!1,default:!0}},render(u){const e=q(),{tag:f,excerpt:p,path:m,query:t,head:n}=u,s={...t||{},path:m||(t==null?void 0:t.path)||x(y().path),find:"one"},c=(i,o)=>r("pre",null,JSON.stringify({message:"You should use slots withw&&(w=B);const I=n[m+4],C=n[m+5],F=I-C,V=I+C;F w&&(w=B);const I=n[m+4],C=n[m+5],F=I-C,V=I+C;F te)for(;M<=O;)ze(b[M],F,H,!0),M++;else{const ne=M,ye=M,Ae=new Map;for(M=ye;M<=te;M++){const _t=E[M]=K?_n(E[M]):Rt(E[M]);_t.key!=null&&Ae.set(_t.key,M)}let we,De=0;const At=te-ye+1;let or=!1,Bi=0;const jr=new Array(At);for(M=0;M {const{el:H,type:J,transition:z,children:K,shapeFlag:M}=b;if(M&6){st(b.component.subTree,E,A,S);return}if(M&128){b.suspense.move(E,A,S);return}if(M&64){J.move(b,E,A,q);return}if(J===Re){r(H,E,A);for(let O=0;O >8&255]+bi[i>>16&255]+bi[i>>24&255]+"-"+bi[e&255]+bi[e>>8&255]+"-"+bi[e>>16&15|64]+bi[e>>24&255]+"-"+bi[t&63|128]+bi[t>>8&255]+"-"+bi[t>>16&255]+bi[t>>24&255]+bi[n&255]+bi[n>>8&255]+bi[n>>16&255]+bi[n>>24&255]).toLowerCase()}function Jn(i,e,t){return Math.max(e,Math.min(t,i))}function ix(i,e){return(i%e+e)%e}function NI(i,e,t,n,r){return n+(i-e)*(r-n)/(t-e)}function BI(i,e,t){return i!==e?(t-i)/(e-i):0}function _h(i,e,t){return(1-t)*i+t*e}function zI(i,e,t,n){return _h(i,e,1-Math.exp(-t*n))}function UI(i,e=1){return e-Math.abs(ix(i,e*2)-e)}function FI(i,e,t){return i<=e?0:i>=t?1:(i=(i-e)/(t-e),i*i*(3-2*i))}function VI(i,e,t){return i<=e?0:i>=t?1:(i=(i-e)/(t-e),i*i*i*(i*(i*6-15)+10))}function HI(i,e){return i+Math.floor(Math.random()*(e-i+1))}function GI(i,e){return i+Math.random()*(e-i)}function WI(i){return i*(.5-Math.random())}function jI(i){i!==void 0&&(D1=i);let e=D1+=1831565813;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}function XI(i){return i*yh}function qI(i){return i*zh}function Zy(i){return(i&i-1)===0&&i!==0}function VE(i){return Math.pow(2,Math.ceil(Math.log(i)/Math.LN2))}function sm(i){return Math.pow(2,Math.floor(Math.log(i)/Math.LN2))}function YI(i,e,t,n,r){const s=Math.cos,o=Math.sin,l=s(t/2),h=o(t/2),d=s((e+n)/2),f=o((e+n)/2),g=s((e-n)/2),y=o((e-n)/2),_=s((n-e)/2),w=o((n-e)/2);switch(r){case"XYX":i.set(l*f,h*g,h*y,l*d);break;case"YZY":i.set(h*y,l*f,h*g,l*d);break;case"ZXZ":i.set(h*g,h*y,l*f,l*d);break;case"XZX":i.set(l*f,h*w,h*_,l*d);break;case"YXY":i.set(h*_,l*f,h*w,l*d);break;case"ZYZ":i.set(h*w,h*_,l*f,l*d);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+r)}}function ZI(i,e){switch(e.constructor){case Float32Array:return i;case Uint16Array:return i/65535;case Uint8Array:return i/255;case Int16Array:return Math.max(i/32767,-1);case Int8Array:return Math.max(i/127,-1);default:throw new Error("Invalid component type.")}}function KI(i,e){switch(e.constructor){case Float32Array:return i;case Uint16Array:return Math.round(i*65535);case Uint8Array:return Math.round(i*255);case Int16Array:return Math.round(i*32767);case Int8Array:return Math.round(i*127);default:throw new Error("Invalid component type.")}}var G0=Object.freeze({__proto__:null,DEG2RAD:yh,RAD2DEG:zh,generateUUID:kr,clamp:Jn,euclideanModulo:ix,mapLinear:NI,inverseLerp:BI,lerp:_h,damp:zI,pingpong:UI,smoothstep:FI,smootherstep:VI,randInt:HI,randFloat:GI,randFloatSpread:WI,seededRandom:jI,degToRad:XI,radToDeg:qI,isPowerOfTwo:Zy,ceilPowerOfTwo:VE,floorPowerOfTwo:sm,setQuaternionFromProperEuler:YI,normalize:KI,denormalize:ZI});class ae{constructor(e=0,t=0){this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e,t){return t!==void 0?(console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this)}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e,t){return t!==void 0?(console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this)}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const t=this.x,n=this.y,r=e.elements;return this.x=r[0]*t+r[3]*n+r[6],this.y=r[1]*t+r[4]*n+r[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this}clampLength(e,t){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,n=this.y-e.y;return t*t+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t,n){return n!==void 0&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){const n=Math.cos(t),r=Math.sin(t),s=this.x-e.x,o=this.y-e.y;return this.x=s*n-o*r+e.x,this.y=s*r+o*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}ae.prototype.isVector2=!0;class Gn{constructor(){this.elements=[1,0,0,0,1,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}set(e,t,n,r,s,o,l,h,d){const f=this.elements;return f[0]=e,f[1]=r,f[2]=l,f[3]=t,f[4]=s,f[5]=h,f[6]=n,f[7]=o,f[8]=d,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this}extractBasis(e,t,n){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const n=e.elements,r=t.elements,s=this.elements,o=n[0],l=n[3],h=n[6],d=n[1],f=n[4],g=n[7],y=n[2],_=n[5],w=n[8],S=r[0],b=r[3],T=r[6],E=r[1],C=r[4],A=r[7],D=r[2],I=r[5],F=r[8];return s[0]=o*S+l*E+h*D,s[3]=o*b+l*C+h*I,s[6]=o*T+l*A+h*F,s[1]=d*S+f*E+g*D,s[4]=d*b+f*C+g*I,s[7]=d*T+f*A+g*F,s[2]=y*S+_*E+w*D,s[5]=y*b+_*C+w*I,s[8]=y*T+_*A+w*F,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){const e=this.elements,t=e[0],n=e[1],r=e[2],s=e[3],o=e[4],l=e[5],h=e[6],d=e[7],f=e[8];return t*o*f-t*l*d-n*s*f+n*l*h+r*s*d-r*o*h}invert(){const e=this.elements,t=e[0],n=e[1],r=e[2],s=e[3],o=e[4],l=e[5],h=e[6],d=e[7],f=e[8],g=f*o-l*d,y=l*h-f*s,_=d*s-o*h,w=t*g+n*y+r*_;if(w===0)return this.set(0,0,0,0,0,0,0,0,0);const S=1/w;return e[0]=g*S,e[1]=(r*d-f*n)*S,e[2]=(l*n-r*o)*S,e[3]=y*S,e[4]=(f*t-r*h)*S,e[5]=(r*s-l*t)*S,e[6]=_*S,e[7]=(n*h-d*t)*S,e[8]=(o*t-n*s)*S,this}transpose(){let e;const t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,n,r,s,o,l){const h=Math.cos(s),d=Math.sin(s);return this.set(n*h,n*d,-n*(h*o+d*l)+o+e,-r*d,r*h,-r*(-d*o+h*l)+l+t,0,0,1),this}scale(e,t){const n=this.elements;return n[0]*=e,n[3]*=e,n[6]*=e,n[1]*=t,n[4]*=t,n[7]*=t,this}rotate(e){const t=Math.cos(e),n=Math.sin(e),r=this.elements,s=r[0],o=r[3],l=r[6],h=r[1],d=r[4],f=r[7];return r[0]=t*s+n*h,r[3]=t*o+n*d,r[6]=t*l+n*f,r[1]=-n*s+t*h,r[4]=-n*o+t*d,r[7]=-n*l+t*f,this}translate(e,t){const n=this.elements;return n[0]+=e*n[2],n[3]+=e*n[5],n[6]+=e*n[8],n[1]+=t*n[2],n[4]+=t*n[5],n[7]+=t*n[8],this}equals(e){const t=this.elements,n=e.elements;for(let r=0;r<9;r++)if(t[r]!==n[r])return!1;return!0}fromArray(e,t=0){for(let n=0;n<9;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){const n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}clone(){return new this.constructor().fromArray(this.elements)}}Gn.prototype.isMatrix3=!0;function HE(i){for(let e=i.length-1;e>=0;--e)if(i[e]>65535)return!0;return!1}function Uh(i){return document.createElementNS("http://www.w3.org/1999/xhtml",i)}function ul(i){return i<.04045?i*.0773993808:Math.pow(i*.9478672986+.0521327014,2.4)}function Vf(i){return i<.0031308?i*12.92:1.055*Math.pow(i,.41666)-.055}const W0={[fo]:{[al]:ul},[al]:{[fo]:Vf}},Yr={legacyMode:!0,get workingColorSpace(){return al},set workingColorSpace(i){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(i,e,t){if(this.legacyMode||e===t||!e||!t)return i;if(W0[e]&&W0[e][t]!==void 0){const n=W0[e][t];return i.r=n(i.r),i.g=n(i.g),i.b=n(i.b),i}throw new Error("Unsupported color space conversion.")},fromWorkingColorSpace:function(i,e){return this.convert(i,this.workingColorSpace,e)},toWorkingColorSpace:function(i,e){return this.convert(i,e,this.workingColorSpace)}},GE={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},ri={r:0,g:0,b:0},Zr={h:0,s:0,l:0},Up={h:0,s:0,l:0};function j0(i,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?i+(e-i)*6*t:t<1/2?e:t<2/3?i+(e-i)*6*(2/3-t):i}function Fp(i,e){return e.r=i.r,e.g=i.g,e.b=i.b,e}class Pe{constructor(e,t,n){return t===void 0&&n===void 0?this.set(e):this.setRGB(e,t,n)}set(e){return e&&e.isColor?this.copy(e):typeof e=="number"?this.setHex(e):typeof e=="string"&&this.setStyle(e),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=fo){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,Yr.toWorkingColorSpace(this,t),this}setRGB(e,t,n,r=al){return this.r=e,this.g=t,this.b=n,Yr.toWorkingColorSpace(this,r),this}setHSL(e,t,n,r=al){if(e=ix(e,1),t=Jn(t,0,1),n=Jn(n,0,1),t===0)this.r=this.g=this.b=n;else{const s=n<=.5?n*(1+t):n+t-n*t,o=2*n-s;this.r=j0(o,s,e+1/3),this.g=j0(o,s,e),this.b=j0(o,s,e-1/3)}return Yr.toWorkingColorSpace(this,r),this}setStyle(e,t=fo){function n(s){s!==void 0&&parseFloat(s)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let r;if(r=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(e)){let s;const o=r[1],l=r[2];switch(o){case"rgb":case"rgba":if(s=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(l))return this.r=Math.min(255,parseInt(s[1],10))/255,this.g=Math.min(255,parseInt(s[2],10))/255,this.b=Math.min(255,parseInt(s[3],10))/255,Yr.toWorkingColorSpace(this,t),n(s[4]),this;if(s=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(l))return this.r=Math.min(100,parseInt(s[1],10))/100,this.g=Math.min(100,parseInt(s[2],10))/100,this.b=Math.min(100,parseInt(s[3],10))/100,Yr.toWorkingColorSpace(this,t),n(s[4]),this;break;case"hsl":case"hsla":if(s=/^\s*(\d*\.?\d+)\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(l)){const h=parseFloat(s[1])/360,d=parseInt(s[2],10)/100,f=parseInt(s[3],10)/100;return n(s[4]),this.setHSL(h,d,f,t)}break}}else if(r=/^\#([A-Fa-f\d]+)$/.exec(e)){const s=r[1],o=s.length;if(o===3)return this.r=parseInt(s.charAt(0)+s.charAt(0),16)/255,this.g=parseInt(s.charAt(1)+s.charAt(1),16)/255,this.b=parseInt(s.charAt(2)+s.charAt(2),16)/255,Yr.toWorkingColorSpace(this,t),this;if(o===6)return this.r=parseInt(s.charAt(0)+s.charAt(1),16)/255,this.g=parseInt(s.charAt(2)+s.charAt(3),16)/255,this.b=parseInt(s.charAt(4)+s.charAt(5),16)/255,Yr.toWorkingColorSpace(this,t),this}return e&&e.length>0?this.setColorName(e,t):this}setColorName(e,t=fo){const n=GE[e.toLowerCase()];return n!==void 0?this.setHex(n,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=ul(e.r),this.g=ul(e.g),this.b=ul(e.b),this}copyLinearToSRGB(e){return this.r=Vf(e.r),this.g=Vf(e.g),this.b=Vf(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=fo){return Yr.fromWorkingColorSpace(Fp(this,ri),e),Jn(ri.r*255,0,255)<<16^Jn(ri.g*255,0,255)<<8^Jn(ri.b*255,0,255)<<0}getHexString(e=fo){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=al){Yr.fromWorkingColorSpace(Fp(this,ri),t);const n=ri.r,r=ri.g,s=ri.b,o=Math.max(n,r,s),l=Math.min(n,r,s);let h,d;const f=(l+o)/2;if(l===o)h=0,d=0;else{const g=o-l;switch(d=f<=.5?g/(o+l):g/(2-o-l),o){case n:h=(r-s)/g+(r 0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader;const n={};for(const r in this.extensions)this.extensions[r]===!0&&(n[r]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}}kt.prototype.isShaderMaterial=!0;class Um extends $t{constructor(){super(),this.type="Camera",this.matrixWorldInverse=new Qe,this.projectionMatrix=new Qe,this.projectionMatrixInverse=new Qe}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const t=this.matrixWorld.elements;return e.set(-t[8],-t[9],-t[10]).normalize()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}Um.prototype.isCamera=!0;class fi extends Um{constructor(e=50,t=1,n=.1,r=2e3){super(),this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=n,this.far=r,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=zh*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(yh*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return zh*2*Math.atan(Math.tan(yh*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,t,n,r,s,o){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=s,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(yh*.5*this.fov)/this.zoom,n=2*t,r=this.aspect*n,s=-.5*r;const o=this.view;if(this.view!==null&&this.view.enabled){const h=o.fullWidth,d=o.fullHeight;s+=o.offsetX*r/h,t-=o.offsetY*n/d,r*=o.width/h,n*=o.height/d}const l=this.filmOffset;l!==0&&(s+=e*l/this.getFilmWidth()),this.projectionMatrix.makePerspective(s,s+r,t,t-n,e,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}fi.prototype.isPerspectiveCamera=!0;const yc=90,_c=1;class ox extends $t{constructor(e,t,n){if(super(),this.type="CubeCamera",n.isWebGLCubeRenderTarget!==!0){console.error("THREE.CubeCamera: The constructor now expects an instance of WebGLCubeRenderTarget as third parameter.");return}this.renderTarget=n;const r=new fi(yc,_c,e,t);r.layers=this.layers,r.up.set(0,-1,0),r.lookAt(new z(1,0,0)),this.add(r);const s=new fi(yc,_c,e,t);s.layers=this.layers,s.up.set(0,-1,0),s.lookAt(new z(-1,0,0)),this.add(s);const o=new fi(yc,_c,e,t);o.layers=this.layers,o.up.set(0,0,1),o.lookAt(new z(0,1,0)),this.add(o);const l=new fi(yc,_c,e,t);l.layers=this.layers,l.up.set(0,0,-1),l.lookAt(new z(0,-1,0)),this.add(l);const h=new fi(yc,_c,e,t);h.layers=this.layers,h.up.set(0,-1,0),h.lookAt(new z(0,0,1)),this.add(h);const d=new fi(yc,_c,e,t);d.layers=this.layers,d.up.set(0,-1,0),d.lookAt(new z(0,0,-1)),this.add(d)}update(e,t){this.parent===null&&this.updateMatrixWorld();const n=this.renderTarget,[r,s,o,l,h,d]=this.children,f=e.getRenderTarget(),g=e.toneMapping,y=e.xr.enabled;e.toneMapping=As,e.xr.enabled=!1;const _=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,e.setRenderTarget(n,0),e.render(t,r),e.setRenderTarget(n,1),e.render(t,s),e.setRenderTarget(n,2),e.render(t,o),e.setRenderTarget(n,3),e.render(t,l),e.setRenderTarget(n,4),e.render(t,h),n.texture.generateMipmaps=_,e.setRenderTarget(n,5),e.render(t,d),e.setRenderTarget(f),e.toneMapping=g,e.xr.enabled=y,n.texture.needsPMREMUpdate=!0}}class Fm extends ti{constructor(e,t,n,r,s,o,l,h,d,f){e=e!==void 0?e:[],t=t!==void 0?t:Vc,super(e,t,n,r,s,o,l,h,d,f),this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}Fm.prototype.isCubeTexture=!0;class XE extends Yt{constructor(e,t={}){super(e,e,t);const n={width:e,height:e,depth:1},r=[n,n,n,n,n,n];this.texture=new Fm(r,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=t.generateMipmaps!==void 0?t.generateMipmaps:!1,this.texture.minFilter=t.minFilter!==void 0?t.minFilter:Hn}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.encoding=t.encoding,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const n={uniforms:{tEquirect:{value:null}},vertexShader:`
+}`;class kt extends li{constructor(e){super(),this.type="ShaderMaterial",this.defines={},this.uniforms={},this.vertexShader=dO,this.fragmentShader=pO,this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,e!==void 0&&(e.attributes!==void 0&&console.error("THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead."),this.setValues(e))}copy(e){return super.copy(e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=Wc(e.uniforms),this.defines=Object.assign({},e.defines),this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.fog=e.fog,this.lights=e.lights,this.clipping=e.clipping,this.extensions=Object.assign({},e.extensions),this.glslVersion=e.glslVersion,this}toJSON(e){const t=super.toJSON(e);t.glslVersion=this.glslVersion,t.uniforms={};for(const r in this.uniforms){const o=this.uniforms[r].value;o&&o.isTexture?t.uniforms[r]={type:"t",value:o.toJSON(e).uuid}:o&&o.isColor?t.uniforms[r]={type:"c",value:o.getHex()}:o&&o.isVector2?t.uniforms[r]={type:"v2",value:o.toArray()}:o&&o.isVector3?t.uniforms[r]={type:"v3",value:o.toArray()}:o&&o.isVector4?t.uniforms[r]={type:"v4",value:o.toArray()}:o&&o.isMatrix3?t.uniforms[r]={type:"m3",value:o.toArray()}:o&&o.isMatrix4?t.uniforms[r]={type:"m4",value:o.toArray()}:t.uniforms[r]={value:o}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader;const n={};for(const r in this.extensions)this.extensions[r]===!0&&(n[r]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}}kt.prototype.isShaderMaterial=!0;class Um extends $t{constructor(){super(),this.type="Camera",this.matrixWorldInverse=new Qe,this.projectionMatrix=new Qe,this.projectionMatrixInverse=new Qe}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const t=this.matrixWorld.elements;return e.set(-t[8],-t[9],-t[10]).normalize()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}Um.prototype.isCamera=!0;class fi extends Um{constructor(e=50,t=1,n=.1,r=2e3){super(),this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=n,this.far=r,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=zh*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(yh*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return zh*2*Math.atan(Math.tan(yh*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,t,n,r,s,o){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=s,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(yh*.5*this.fov)/this.zoom,n=2*t,r=this.aspect*n,s=-.5*r;const o=this.view;if(this.view!==null&&this.view.enabled){const h=o.fullWidth,d=o.fullHeight;s+=o.offsetX*r/h,t-=o.offsetY*n/d,r*=o.width/h,n*=o.height/d}const l=this.filmOffset;l!==0&&(s+=e*l/this.getFilmWidth()),this.projectionMatrix.makePerspective(s,s+r,t,t-n,e,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}fi.prototype.isPerspectiveCamera=!0;const yc=90,_c=1;class ax extends $t{constructor(e,t,n){if(super(),this.type="CubeCamera",n.isWebGLCubeRenderTarget!==!0){console.error("THREE.CubeCamera: The constructor now expects an instance of WebGLCubeRenderTarget as third parameter.");return}this.renderTarget=n;const r=new fi(yc,_c,e,t);r.layers=this.layers,r.up.set(0,-1,0),r.lookAt(new z(1,0,0)),this.add(r);const s=new fi(yc,_c,e,t);s.layers=this.layers,s.up.set(0,-1,0),s.lookAt(new z(-1,0,0)),this.add(s);const o=new fi(yc,_c,e,t);o.layers=this.layers,o.up.set(0,0,1),o.lookAt(new z(0,1,0)),this.add(o);const l=new fi(yc,_c,e,t);l.layers=this.layers,l.up.set(0,0,-1),l.lookAt(new z(0,-1,0)),this.add(l);const h=new fi(yc,_c,e,t);h.layers=this.layers,h.up.set(0,-1,0),h.lookAt(new z(0,0,1)),this.add(h);const d=new fi(yc,_c,e,t);d.layers=this.layers,d.up.set(0,-1,0),d.lookAt(new z(0,0,-1)),this.add(d)}update(e,t){this.parent===null&&this.updateMatrixWorld();const n=this.renderTarget,[r,s,o,l,h,d]=this.children,f=e.getRenderTarget(),g=e.toneMapping,y=e.xr.enabled;e.toneMapping=As,e.xr.enabled=!1;const _=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,e.setRenderTarget(n,0),e.render(t,r),e.setRenderTarget(n,1),e.render(t,s),e.setRenderTarget(n,2),e.render(t,o),e.setRenderTarget(n,3),e.render(t,l),e.setRenderTarget(n,4),e.render(t,h),n.texture.generateMipmaps=_,e.setRenderTarget(n,5),e.render(t,d),e.setRenderTarget(f),e.toneMapping=g,e.xr.enabled=y,n.texture.needsPMREMUpdate=!0}}class Fm extends ti{constructor(e,t,n,r,s,o,l,h,d,f){e=e!==void 0?e:[],t=t!==void 0?t:Vc,super(e,t,n,r,s,o,l,h,d,f),this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}Fm.prototype.isCubeTexture=!0;class XE extends Yt{constructor(e,t={}){super(e,e,t);const n={width:e,height:e,depth:1},r=[n,n,n,n,n,n];this.texture=new Fm(r,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=t.generateMipmaps!==void 0?t.generateMipmaps:!1,this.texture.minFilter=t.minFilter!==void 0?t.minFilter:Hn}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.encoding=t.encoding,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const n={uniforms:{tEquirect:{value:null}},vertexShader:`
varying vec3 vWorldDirection;
@@ -67,7 +67,7 @@ function print() { __p += __j.call(arguments, '') }
gl_FragColor = texture2D( tEquirect, sampleUV );
}
- `},r=new bl(5,5,5),s=new kt({name:"CubemapFromEquirect",uniforms:Wc(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:xr,blending:rn});s.uniforms.tEquirect.value=t;const o=new In(r,s),l=t.minFilter;return t.minFilter===od&&(t.minFilter=Hn),new ox(1,10,this).update(e,o),t.minFilter=l,o.geometry.dispose(),o.material.dispose(),this}clear(e,t,n,r){const s=e.getRenderTarget();for(let o=0;o<6;o++)e.setRenderTarget(this,o),e.clear(t,n,r);e.setRenderTarget(s)}}XE.prototype.isWebGLCubeRenderTarget=!0;const uy=new z,fO=new z,mO=new Gn;class mo{constructor(e=new z(1,0,0),t=0){this.normal=e,this.constant=t}set(e,t){return this.normal.copy(e),this.constant=t,this}setComponents(e,t,n,r){return this.normal.set(e,t,n),this.constant=r,this}setFromNormalAndCoplanarPoint(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}setFromCoplanarPoints(e,t,n){const r=uy.subVectors(n,t).cross(fO.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(r,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){const e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,t){return t.copy(this.normal).multiplyScalar(-this.distanceToPoint(e)).add(e)}intersectLine(e,t){const n=e.delta(uy),r=this.normal.dot(n);if(r===0)return this.distanceToPoint(e.start)===0?t.copy(e.start):null;const s=-(e.start.dot(this.normal)+this.constant)/r;return s<0||s>1?null:t.copy(n).multiplyScalar(s).add(e.start)}intersectsLine(e){const t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){const n=t||mO.getNormalMatrix(e),r=this.coplanarPoint(uy).applyMatrix4(e),s=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(s),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}mo.prototype.isPlane=!0;const xc=new su,rf=new z;class ad{constructor(e=new mo,t=new mo,n=new mo,r=new mo,s=new mo,o=new mo){this.planes=[e,t,n,r,s,o]}set(e,t,n,r,s,o){const l=this.planes;return l[0].copy(e),l[1].copy(t),l[2].copy(n),l[3].copy(r),l[4].copy(s),l[5].copy(o),this}copy(e){const t=this.planes;for(let n=0;n<6;n++)t[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e){const t=this.planes,n=e.elements,r=n[0],s=n[1],o=n[2],l=n[3],h=n[4],d=n[5],f=n[6],g=n[7],y=n[8],_=n[9],w=n[10],S=n[11],b=n[12],T=n[13],E=n[14],C=n[15];return t[0].setComponents(l-r,g-h,S-y,C-b).normalize(),t[1].setComponents(l+r,g+h,S+y,C+b).normalize(),t[2].setComponents(l+s,g+d,S+_,C+T).normalize(),t[3].setComponents(l-s,g-d,S-_,C-T).normalize(),t[4].setComponents(l-o,g-f,S-w,C-E).normalize(),t[5].setComponents(l+o,g+f,S+w,C+E).normalize(),this}intersectsObject(e){const t=e.geometry;return t.boundingSphere===null&&t.computeBoundingSphere(),xc.copy(t.boundingSphere).applyMatrix4(e.matrixWorld),this.intersectsSphere(xc)}intersectsSprite(e){return xc.center.set(0,0,0),xc.radius=.7071067811865476,xc.applyMatrix4(e.matrixWorld),this.intersectsSphere(xc)}intersectsSphere(e){const t=this.planes,n=e.center,r=-e.radius;for(let s=0;s<6;s++)if(t[s].distanceToPoint(n)=M.candidate?ut(x,e,M.rightCacheBounds):(ut(x,e,M.leftCacheBounds),M.count++)}}for(let x=0;x
new j);class z{static serialize(t,e={}){if(e.isBufferGeometry)return console.warn("MeshBVH.serialize: The arguments for the function have changed. See documentation for new signature."),z.serialize(arguments[0],{cloneBuffers:arguments[2]===void 0?!0:arguments[2]});e=Bt({cloneBuffers:!0},e);const i=t.geometry,s=t._roots,r=i.getIndex();let o;return e.cloneBuffers?o={roots:s.map(l=>l.slice()),index:r.array.slice()}:o={roots:s,index:r.array},o}static deserialize(t,e,i={}){if(typeof i=="boolean")return console.warn("MeshBVH.deserialize: The arguments for the function have changed. See documentation for new signature."),z.deserialize(arguments[0],arguments[1],{setIndex:arguments[2]===void 0?!0:arguments[2]});i=Bt({setIndex:!0},i);const{index:s,roots:r}=t,o=new z(e,Se(Bt({},i),{[vt]:!0}));if(o._roots=r,i.setIndex){const l=e.getIndex();if(l===null){const c=new bt(t.index,1,!1);e.setIndex(c)}else l.array!==s&&(l.array.set(s),l.needsUpdate=!0)}return o}constructor(t,e={}){if(t.isBufferGeometry){if(t.index&&t.index.isInterleavedBufferAttribute)throw new Error("MeshBVH: InterleavedBufferAttribute is not supported for the index attribute.")}else throw new Error("MeshBVH: Only BufferGeometries are supported.");if(e=Object.assign({strategy:re,maxDepth:40,maxLeafTris:10,verbose:!0,useSharedArrayBuffer:!1,setBoundingBox:!0,onProgress:null,[vt]:!1},e),e.useSharedArrayBuffer&&typeof SharedArrayBuffer>"u")throw new Error("MeshBVH: SharedArrayBuffer is not available.");this._roots=null,e[vt]||(this._roots=Oe(t,e),!t.boundingBox&&e.setBoundingBox&&(t.boundingBox=this.getBoundingBox(new $))),this.geometry=t}refit(t=null){t&&Array.isArray(t)&&(t=new Set(t));const e=this.geometry,i=e.index.array,s=e.attributes.position,r=s.array,o=s.offset||0;let l=3;s.isInterleavedBufferAttribute&&(l=s.data.stride);let c,f,a,u,p=0;const d=this._roots;for(let w=0,A=d.length;wT&&(T=V),E(st.copy(t).clamp(a.min,a.max),st.distanceToSquared(t)),intersectsBounds:(a,u,p)=>ps?i:s}}function ut(n,t,e){for(let i=0;i<3;i++){const s=t[n+2*i],r=t[n+2*i+1],o=s-r,l=s+r;o=M.candidate?ut(x,e,M.rightCacheBounds):(ut(x,e,M.leftCacheBounds),M.count++)}}for(let x=0;x
new j);class z{static serialize(t,e={}){if(e.isBufferGeometry)return console.warn("MeshBVH.serialize: The arguments for the function have changed. See documentation for new signature."),z.serialize(arguments[0],{cloneBuffers:arguments[2]===void 0?!0:arguments[2]});e=Bt({cloneBuffers:!0},e);const i=t.geometry,s=t._roots,r=i.getIndex();let o;return e.cloneBuffers?o={roots:s.map(l=>l.slice()),index:r.array.slice()}:o={roots:s,index:r.array},o}static deserialize(t,e,i={}){if(typeof i=="boolean")return console.warn("MeshBVH.deserialize: The arguments for the function have changed. See documentation for new signature."),z.deserialize(arguments[0],arguments[1],{setIndex:arguments[2]===void 0?!0:arguments[2]});i=Bt({setIndex:!0},i);const{index:s,roots:r}=t,o=new z(e,Se(Bt({},i),{[vt]:!0}));if(o._roots=r,i.setIndex){const l=e.getIndex();if(l===null){const c=new bt(t.index,1,!1);e.setIndex(c)}else l.array!==s&&(l.array.set(s),l.needsUpdate=!0)}return o}constructor(t,e={}){if(t.isBufferGeometry){if(t.index&&t.index.isInterleavedBufferAttribute)throw new Error("MeshBVH: InterleavedBufferAttribute is not supported for the index attribute.")}else throw new Error("MeshBVH: Only BufferGeometries are supported.");if(e=Object.assign({strategy:re,maxDepth:40,maxLeafTris:10,verbose:!0,useSharedArrayBuffer:!1,setBoundingBox:!0,onProgress:null,[vt]:!1},e),e.useSharedArrayBuffer&&typeof SharedArrayBuffer>"u")throw new Error("MeshBVH: SharedArrayBuffer is not available.");this._roots=null,e[vt]||(this._roots=Oe(t,e),!t.boundingBox&&e.setBoundingBox&&(t.boundingBox=this.getBoundingBox(new $))),this.geometry=t}refit(t=null){t&&Array.isArray(t)&&(t=new Set(t));const e=this.geometry,i=e.index.array,s=e.attributes.position,r=s.array,o=s.offset||0;let l=3;s.isInterleavedBufferAttribute&&(l=s.data.stride);let c,f,a,u,p=0;const d=this._roots;for(let w=0,A=d.length;wT&&(T=V),E(st.copy(t).clamp(a.min,a.max),st.distanceToSquared(t)),intersectsBounds:(a,u,p)=>pkr(c,l))?r.push(l):n.push(l));const i=e.matched[a];i&&(t.matched.find(c=>kr(c,i))||o.push(i))}return[n,r,o]}function Mp(){return Qe(qs)}function bi(){return Qe(_i)}const Ie={layout:"home"},su=[{name:"all___en",path:"/en/:all(.*)*",meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./_...all_.0261ac3d.js"),[],import.meta.url).then(e=>e.default||e)},{name:"all___zh",path:"/:all(.*)*",meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./_...all_.0261ac3d.js"),[],import.meta.url).then(e=>e.default||e)},{name:(Ie==null?void 0:Ie.name)??"hi-id___en",path:(Ie==null?void 0:Ie.path)??"/en/hi/:id()",meta:Ie||{},alias:(Ie==null?void 0:Ie.alias)||[],redirect:(Ie==null?void 0:Ie.redirect)||void 0,component:()=>Y(()=>import("./_id_.d5797252.js"),["./_id_.d5797252.js","./Counter.vue.501b4e26.js","./nuxt-link.f7f44df1.js"],import.meta.url).then(e=>e.default||e)},{name:(Ie==null?void 0:Ie.name)??"hi-id___zh",path:(Ie==null?void 0:Ie.path)??"/hi/:id()",meta:Ie||{},alias:(Ie==null?void 0:Ie.alias)||[],redirect:(Ie==null?void 0:Ie.redirect)||void 0,component:()=>Y(()=>import("./_id_.d5797252.js"),["./_id_.d5797252.js","./Counter.vue.501b4e26.js","./nuxt-link.f7f44df1.js"],import.meta.url).then(e=>e.default||e)},{name:"index___en",path:"/en",meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./index.8c26d650.js"),["./index.8c26d650.js","./Carousel.vue.0ceda87f.js","./nuxt-img.f18eda15.js","./Typography.vue.13ba1ade.js","./nuxt-link.f7f44df1.js","./Section.f5b9263f.js","./_plugin-vue_export-helper.c27b6911.js","./Divider.vue.28215811.js","./GradientCard.vue.26ccbb79.js","./ImageHover.40b1a6f8.js","./ImageHover.96f41032.css","./LocaleNuxtLink.vue.55177453.js","./Banner.vue.5bb39401.js","./content.vue.cd417dd9.js","./model.vue.8f6f7b03.js","./index.96c42cd8.css"],import.meta.url).then(e=>e.default||e)},{name:"index___zh",path:"/",meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./index.8c26d650.js"),["./index.8c26d650.js","./Carousel.vue.0ceda87f.js","./nuxt-img.f18eda15.js","./Typography.vue.13ba1ade.js","./nuxt-link.f7f44df1.js","./Section.f5b9263f.js","./_plugin-vue_export-helper.c27b6911.js","./Divider.vue.28215811.js","./GradientCard.vue.26ccbb79.js","./ImageHover.40b1a6f8.js","./ImageHover.96f41032.css","./LocaleNuxtLink.vue.55177453.js","./Banner.vue.5bb39401.js","./content.vue.cd417dd9.js","./model.vue.8f6f7b03.js","./index.96c42cd8.css"],import.meta.url).then(e=>e.default||e)},{name:"land___en",path:"/en/land",meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./land.76d8df7f.js"),[],import.meta.url).then(e=>e.default||e)},{name:"land___zh",path:"/land",meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./land.76d8df7f.js"),[],import.meta.url).then(e=>e.default||e)},{path:"/en/release",children:[{name:"release-id___en",path:":id()",meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./_id_.895f2cd3.js"),["./_id_.895f2cd3.js","./Banner.vue.5bb39401.js","./nuxt-img.f18eda15.js","./Typography.vue.13ba1ade.js","./nuxt-link.f7f44df1.js","./Section.f5b9263f.js","./_plugin-vue_export-helper.c27b6911.js","./ContentRenderer.10af54e9.js","./ContentRendererMarkdown.6e8ceab1.js","./index.a6ef77ff.js","./preview.000d6083.js","./index.c0f9b2a4.js","./query.31e9d059.js","./utils.4ea42d84.js"],import.meta.url).then(e=>e.default||e)},{name:"release___en",path:"",meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./index.a6d846c0.js"),["./index.a6d846c0.js","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e)}],name:void 0,meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./release.5d40681f.js"),["./release.5d40681f.js","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e)},{path:"/release",children:[{name:"release-id___zh",path:":id()",meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./_id_.895f2cd3.js"),["./_id_.895f2cd3.js","./Banner.vue.5bb39401.js","./nuxt-img.f18eda15.js","./Typography.vue.13ba1ade.js","./nuxt-link.f7f44df1.js","./Section.f5b9263f.js","./_plugin-vue_export-helper.c27b6911.js","./ContentRenderer.10af54e9.js","./ContentRendererMarkdown.6e8ceab1.js","./index.a6ef77ff.js","./preview.000d6083.js","./index.c0f9b2a4.js","./query.31e9d059.js","./utils.4ea42d84.js"],import.meta.url).then(e=>e.default||e)},{name:"release___zh",path:"",meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./index.a6d846c0.js"),["./index.a6d846c0.js","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e)}],name:void 0,meta:{},alias:[],redirect:void 0,component:()=>Y(()=>import("./release.5d40681f.js"),["./release.5d40681f.js","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e)}],Sw={scrollBehavior(e,t,n){const r=Ze();let o=n||void 0;if(!o&&t&&e&&e.meta.scrollToTop!==!1&&$w(t,e)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:au(e.hash)}}const s=l=>!!(l.meta.pageTransition??ul),a=s(t)&&s(e)?"page:transition:finish":"page:finish";return new Promise(l=>{r.hooks.hookOnce(a,async()=>{await pt(),e.hash&&(o={el:e.hash,top:au(e.hash)}),l(o)})})}};function au(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function $w(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Nw={},ut={...Nw,...Sw},Dw=xp(async e=>{var i;let t,n;if(!((i=e.meta)!=null&&i.validate))return;const r=Ze(),o=Jn();if(([t,n]=wn(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=yi({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),l=o.beforeResolve(c=>{if(l(),c===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>fr(a)),window.history.pushState({},"",e.fullPath)});return!1}})}),Mw=[Dw],oo={};function Fw(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){const l=o.includes(e.slice(s))?e.slice(s).length:1;let i=o.slice(l);return i[0]!=="/"&&(i="/"+i),Oc(i,"")}return Oc(n,e)+r+o}const jw=ct({name:"nuxt:router",enforce:"pre",async setup(e){var y,w;let t,n,r=pi().app.baseURL;ut.hashMode&&!r.includes("#")&&(r+="#");const o=((y=ut.history)==null?void 0:y.call(ut,r))??(ut.hashMode?Gb(r):Ap(r)),s=((w=ut.routes)==null?void 0:w.call(ut,su))??su;let a;const l=Fw(r,window.location),i=Ow({...ut,scrollBehavior:(m,g,C)=>{var _;if(g===qt){a=C;return}return i.options.scrollBehavior=ut.scrollBehavior,(_=ut.scrollBehavior)==null?void 0:_.call(ut,m,qt,a||C)},history:o,routes:s});e.vueApp.use(i);const c=cn(i.currentRoute.value);i.afterEach((m,g)=>{c.value=g}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=cn(i.resolve(l)),f=()=>{u.value=i.currentRoute.value};e.hook("page:finish",f),i.afterEach((m,g)=>{var C,_,v,T;((_=(C=m.matched[0])==null?void 0:C.components)==null?void 0:_.default)===((T=(v=g.matched[0])==null?void 0:v.components)==null?void 0:T.default)&&f()});const d={};for(const m in u.value)d[m]=H(()=>u.value[m]);e._route=He(d),e._middleware=e._middleware||{global:[],named:{}};const p=zs();try{[t,n]=wn(()=>i.isReady()),await t,n()}catch(m){[t,n]=wn(()=>e.runWithContext(()=>fr(m))),await t,n()}const h=mi("_layout");return i.beforeEach(async(m,g)=>{var C;m.meta=He(m.meta),e.isHydrating&&h.value&&!Rn(m.meta.layout)&&(m.meta.layout=h.value),e._processingMiddleware=!0;{const _=new Set([...Mw,...e._middleware.global]);for(const v of m.matched){const T=v.meta.middleware;if(T)if(Array.isArray(T))for(const A of T)_.add(A);else _.add(T)}for(const v of _){const T=typeof v=="string"?e._middleware.named[v]||await((C=oo[v])==null?void 0:C.call(oo).then(L=>L.default||L)):v;if(!T)throw new Error(`Unknown route middleware: '${v}'.`);const A=await e.runWithContext(()=>T(m,g));if(!e.payload.serverRendered&&e.isHydrating&&(A===!1||A instanceof Error)){const L=A||il({statusCode:404,statusMessage:`Page Not Found: ${l}`});return await e.runWithContext(()=>fr(L)),!1}if(A||A===!1)return A}}}),i.onError(()=>{delete e._processingMiddleware}),i.afterEach(async(m,g,C)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(s0),m.matched.length===0&&await e.runWithContext(()=>fr(il({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await i.replace({...i.resolve(l),name:void 0,force:!0}),i.options.scrollBehavior=ut.scrollBehavior}catch(m){await e.runWithContext(()=>fr(m))}}),{provide:{router:i}}}},1),dr={default:()=>Y(()=>import("./default.47084903.js"),["./default.47084903.js","./header.d14db149.js","./logo.05a379fd.js","./composables.83bd627d.js","./nuxt-link.f7f44df1.js","./nav.vue.9cd9bc47.js","./LocaleNuxtLink.vue.55177453.js","./_plugin-vue_export-helper.c27b6911.js","./Footer.e32d8532.js","./Divider.vue.28215811.js","./DarkToggle.vue.c8daa493.js"],import.meta.url).then(e=>e.default||e),home:()=>Y(()=>import("./home.6656e386.js"),["./home.6656e386.js","./Footer.e32d8532.js","./Divider.vue.28215811.js","./LocaleNuxtLink.vue.55177453.js","./nuxt-link.f7f44df1.js","./logo.05a379fd.js","./composables.83bd627d.js","./DarkToggle.vue.c8daa493.js","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e)},Vw=ct({name:"nuxt:prefetch",setup(e){const t=Jn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof dr[r]=="function"&&await dr[r]()})}),e.hooks.hook("link:prefetch",n=>{var a,l,i,c;if(qn(n))return;const r=t.resolve(n);if(!r)return;const o=(a=r==null?void 0:r.meta)==null?void 0:a.layout;let s=Array.isArray((l=r==null?void 0:r.meta)==null?void 0:l.middleware)?(i=r==null?void 0:r.meta)==null?void 0:i.middleware:[(c=r==null?void 0:r.meta)==null?void 0:c.middleware];s=s.filter(u=>typeof u=="string");for(const u of s)typeof oo[u]=="function"&&oo[u]();o&&typeof dr[o]=="function"&&dr[o]()})}});async function Hw(e,t){return await Bw(t).catch(r=>(console.error("Failed to get image meta for "+t,r+""),{width:0,height:0,ratio:0}))}async function Bw(e){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((t,n)=>{const r=new Image;r.onload=()=>{const o={width:r.width,height:r.height,ratio:r.width/r.height};t(o)},r.onerror=o=>n(o),r.src=e})}function lu(e){return t=>t?e[t]||t:e.missingValue}function Uw({formatter:e,keyMap:t,joinWith:n="/",valueMap:r}={}){e||(e=(s,a)=>`${s}=${a}`),t&&typeof t!="function"&&(t=lu(t));const o=r||{};return Object.keys(o).forEach(s=>{typeof o[s]!="function"&&(o[s]=lu(o[s]))}),(s={})=>Object.entries(s).filter(([l,i])=>typeof i<"u").map(([l,i])=>{const c=o[l];return typeof c=="function"&&(i=c(s[l])),l=typeof t=="function"?t(l):l,e(l,i)}).join(n)}function vs(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return parseInt(e,10)}function Ww(e){const t={options:e},n=(o,s={})=>Fp(t,o,s),r=(o,s={},a={})=>n(o,{...a,modifiers:We(s,a.modifiers||{})}).url;for(const o in e.presets)r[o]=(s,a,l)=>r(s,a,{...e.presets[o],...l});return r.options=e,r.getImage=n,r.getMeta=(o,s)=>zw(t,o,s),r.getSizes=(o,s)=>Gw(t,o,s),t.$img=r,r}async function zw(e,t,n){const r=Fp(e,t,{...n});return typeof r.getMeta=="function"?await r.getMeta():await Hw(e,r.url)}function Fp(e,t,n){var c,u;if(typeof t!="string"||t==="")throw new TypeError(`input must be a string (received ${typeof t}: ${JSON.stringify(t)})`);if(t.startsWith("data:"))return{url:t};const{provider:r,defaults:o}=Kw(e,n.provider||e.options.provider),s=qw(e,n.preset);if(t=qn(t)?t:Cv(t),!r.supportsAlias)for(const f in e.options.alias)t.startsWith(f)&&(t=On(e.options.alias[f],t.substr(f.length)));if(r.validateDomains&&qn(t)){const f=Ws(t).host;if(!e.options.domains.find(d=>d===f))return{url:t}}const a=We(n,s,o);a.modifiers={...a.modifiers};const l=a.modifiers.format;(c=a.modifiers)!=null&&c.width&&(a.modifiers.width=vs(a.modifiers.width)),(u=a.modifiers)!=null&&u.height&&(a.modifiers.height=vs(a.modifiers.height));const i=r.getImage(t,a,e);return i.format=i.format||l||"",i}function Kw(e,t){const n=e.options.providers[t];if(!n)throw new Error("Unknown provider: "+t);return n}function qw(e,t){if(!t)return{};if(!e.options.presets[t])throw new Error("Unknown preset: "+t);return e.options.presets[t]}function Gw(e,t,n){var c,u;const r=vs((c=n.modifiers)==null?void 0:c.width),o=vs((u=n.modifiers)==null?void 0:u.height),s=r&&o?o/r:0,a=[],l={};if(typeof n.sizes=="string")for(const f of n.sizes.split(/[\s,]+/).filter(d=>d)){const d=f.split(":");d.length===2&&(l[d[0].trim()]=d[1].trim())}else Object.assign(l,n.sizes);for(const f in l){const d=e.options.screens&&e.options.screens[f]||parseInt(f);let p=String(l[f]);const h=p.endsWith("vw");if(!h&&/^\d+$/.test(p)&&(p=p+"px"),!h&&!p.endsWith("px"))continue;let y=parseInt(p);if(!d||!y)continue;h&&(y=Math.round(y/100*d));const w=s?Math.round(y*s):o;a.push({width:y,size:p,screenMaxWidth:d,media:`(max-width: ${d}px)`,src:e.$img(t,{...n.modifiers,width:y,height:w},n)})}a.sort((f,d)=>f.screenMaxWidth-d.screenMaxWidth);const i=a[a.length-1];return i&&(i.media=""),{sizes:a.map(f=>`${f.media?f.media+" ":""}${f.size}`).join(", "),srcset:a.map(f=>`${f.src} ${f.width}w`).join(", "),src:i==null?void 0:i.src}}const Yw=Uw({keyMap:{format:"f",fit:"fit",width:"w",height:"h",resize:"s",quality:"q",background:"b"},joinWith:"&",formatter:(e,t)=>Tc(e)+"_"+Tc(t)}),Xw=(e,{modifiers:t={},baseURL:n}={},r)=>{t.width&&t.height&&(t.resize=`${t.width}x${t.height}`,delete t.width,delete t.height);const o=Yw(t)||"_";return n||(n=On(r.options.nuxt.baseURL,"/_ipx")),{url:On(n,o,Zd(e))}},Jw=!0,Qw=!0,Zw=Object.freeze(Object.defineProperty({__proto__:null,getImage:Xw,supportsAlias:Qw,validateDomains:Jw},Symbol.toStringTag,{value:"Module"})),jp={screens:{xs:320,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536},presets:{},provider:"ipx",domains:[],alias:{}};jp.providers={ipx:{provider:Zw,defaults:{}}};const eE=ct(()=>({provide:{img:Ww({...jp,nuxt:{baseURL:pi().app.baseURL}})}}));function tE(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:r,onRegistered:o,onRegisteredSW:s,onRegisterError:a}=e;let l,i;const c=async(f=!0)=>{await i};async function u(){if("serviceWorker"in navigator){const{Workbox:f}=await Y(()=>import("./workbox-window.prod.es5.dc90f814.js"),[],import.meta.url);l=new f("/sw.js",{scope:"/",type:"classic"}),l.addEventListener("activated",d=>{(d.isUpdate||d.isExternal)&&window.location.reload()}),l.addEventListener("installed",d=>{d.isUpdate||r==null||r()}),l.register({immediate:t}).then(d=>{s?s("/sw.js",d):o==null||o(d)}).catch(d=>{a==null||a(d)})}}return i=u(),c}function nE(e={}){const{immediate:t=!0,onNeedRefresh:n,onOfflineReady:r,onRegistered:o,onRegisteredSW:s,onRegisterError:a}=e,l=B(!1),i=B(!1);return{updateServiceWorker:tE({immediate:t,onNeedRefresh(){l.value=!0,n==null||n()},onOfflineReady(){i.value=!0,r==null||r()},onRegistered:o,onRegisteredSW:s,onRegisterError:a}),offlineReady:i,needRefresh:l}}const Ta={periodicSyncForUpdates:0},rE=ct(()=>{const e=B(!1),t=B(!1),n=B(!1),r=B(Ta.installPrompt?localStorage.getItem(Ta.installPrompt)==="true":!0),o=navigator.userAgent,s=o.match(/iPhone|iPad|iPod/),l=!!(window.matchMedia("(display-mode: standalone)").matches||s&&!o.match(/Safari/));let i;const c=()=>i,{offlineReady:u,needRefresh:f,updateServiceWorker:d}=nE({immediate:!0,onRegisterError(){e.value=!0},onRegisteredSW(w,m){i=m}}),p=async()=>{u.value=!1,f.value=!1};let h=()=>Promise.resolve(),y=()=>{};if(!r.value){let w;const m=g=>{g.preventDefault(),w=g,n.value=!0};window.addEventListener("beforeinstallprompt",m),window.addEventListener("appinstalled",()=>{w=void 0,n.value=!1}),y=()=>{w=void 0,n.value=!1,window.removeEventListener("beforeinstallprompt",m),r.value=!0,localStorage.setItem(Ta.installPrompt,"true")},h=async()=>{if(!n.value||!w){n.value=!1;return}n.value=!1,await pt(),w.prompt(),await w.userChoice}}return{provide:{pwa:He({isInstalled:l,showInstallPrompt:n,cancelInstall:y,install:h,swActivated:t,registrationError:e,offlineReady:u,needRefresh:f,updateServiceWorker:d,cancelPrompt:p,getSWRegistration:c})}}}),oE="__NUXT_COLOR_MODE__",sE="nuxt-color-mode",nn=window[oE],aE=ct(e=>{const t=mi("color-mode",()=>He({preference:nn.preference,value:nn.value,unknown:!1,forced:!1})).value;Jn().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?nn.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=nn.getColorScheme())}))}fe(()=>t.preference,o=>{var s;t.forced||(o==="system"?(t.value=nn.getColorScheme(),r()):t.value=o,(s=window.localStorage)==null||s.setItem(sE,o))},{immediate:!0}),fe(()=>t.value,(o,s)=>{nn.removeColorScheme(s),nn.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=nn.preference,t.value=nn.value,t.unknown=!1)}),e.provide("colorMode",t)}),lE=ct(()=>{});/*!
+ * shared v9.3.0-beta.17
+ * (c) 2023 kazuya kawaguchi
+ * Released under the MIT License.
+ */const hl=typeof window<"u",Qn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),iE=(e,t,n)=>cE({l:e,k:t,s:n}),cE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ge=e=>typeof e=="number"&&isFinite(e),uE=e=>xi(e)==="[object Date]",_s=e=>xi(e)==="[object RegExp]",Gs=e=>Ee(e)&&Object.keys(e).length===0;function fE(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const lt=Object.assign;let iu;const wi=()=>iu||(iu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function cu(e){return e.replace(/kr(c,l))?r.push(l):n.push(l));const i=e.matched[a];i&&(t.matched.find(c=>kr(c,i))||o.push(i))}return[n,r,o]}function Dp(){return Qe(Ys)}function bi(){return Qe(_i)}const Ie={layout:"home"},su=[{name:"all___en",path:"/en/:all(.*)*",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./_...all_.a6c62ffe.js"),[],import.meta.url).then(e=>e.default||e)},{name:"all___zh",path:"/:all(.*)*",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./_...all_.a6c62ffe.js"),[],import.meta.url).then(e=>e.default||e)},{name:(Ie==null?void 0:Ie.name)??"hi-id___en",path:(Ie==null?void 0:Ie.path)??"/en/hi/:id()",meta:Ie||{},alias:(Ie==null?void 0:Ie.alias)||[],redirect:(Ie==null?void 0:Ie.redirect)||void 0,component:()=>X(()=>import("./_id_.6b6cbd2c.js"),["./_id_.6b6cbd2c.js","./Counter.vue.e583422d.js","./nuxt-link.dc3d27c1.js"],import.meta.url).then(e=>e.default||e)},{name:(Ie==null?void 0:Ie.name)??"hi-id___zh",path:(Ie==null?void 0:Ie.path)??"/hi/:id()",meta:Ie||{},alias:(Ie==null?void 0:Ie.alias)||[],redirect:(Ie==null?void 0:Ie.redirect)||void 0,component:()=>X(()=>import("./_id_.6b6cbd2c.js"),["./_id_.6b6cbd2c.js","./Counter.vue.e583422d.js","./nuxt-link.dc3d27c1.js"],import.meta.url).then(e=>e.default||e)},{name:"index___en",path:"/en",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./index.b0d0d2f3.js"),["./index.b0d0d2f3.js","./Carousel.vue.39f07498.js","./nuxt-img.e1f80e96.js","./Typography.vue.a00ff3a8.js","./nuxt-link.dc3d27c1.js","./Divider.vue.d51ba1cf.js","./GradientCard.vue.113e6f59.js","./Section.95ce794b.js","./_plugin-vue_export-helper.c27b6911.js","./ImageHover.f692c9ab.js","./ImageHover.96f41032.css","./LocaleNuxtLink.vue.b8dc91bb.js","./Banner.vue.0dee7ee1.js","./content.vue.d0527e08.js","./model.vue.397629de.js","./index.80e46782.css"],import.meta.url).then(e=>e.default||e)},{name:"index___zh",path:"/",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./index.b0d0d2f3.js"),["./index.b0d0d2f3.js","./Carousel.vue.39f07498.js","./nuxt-img.e1f80e96.js","./Typography.vue.a00ff3a8.js","./nuxt-link.dc3d27c1.js","./Divider.vue.d51ba1cf.js","./GradientCard.vue.113e6f59.js","./Section.95ce794b.js","./_plugin-vue_export-helper.c27b6911.js","./ImageHover.f692c9ab.js","./ImageHover.96f41032.css","./LocaleNuxtLink.vue.b8dc91bb.js","./Banner.vue.0dee7ee1.js","./content.vue.d0527e08.js","./model.vue.397629de.js","./index.80e46782.css"],import.meta.url).then(e=>e.default||e)},{name:"land___en",path:"/en/land",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./land.c68a4608.js"),[],import.meta.url).then(e=>e.default||e)},{name:"land___zh",path:"/land",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./land.c68a4608.js"),[],import.meta.url).then(e=>e.default||e)},{path:"/en/release",children:[{name:"release-id___en",path:":id()",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./_id_.36b956b6.js"),["./_id_.36b956b6.js","./Banner.vue.0dee7ee1.js","./nuxt-img.e1f80e96.js","./Typography.vue.a00ff3a8.js","./nuxt-link.dc3d27c1.js","./Section.95ce794b.js","./_plugin-vue_export-helper.c27b6911.js","./ContentRenderer.47ced266.js","./ContentRendererMarkdown.d7c89d76.js","./index.a6ef77ff.js","./preview.6387966e.js","./index.57e42e18.js","./query.0cbfc7c3.js","./utils.96f61a62.js"],import.meta.url).then(e=>e.default||e)},{name:"release___en",path:"",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./index.ac9ca16b.js"),["./index.ac9ca16b.js","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e)}],name:void 0,meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./release.0f158fc4.js"),["./release.0f158fc4.js","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e)},{path:"/release",children:[{name:"release-id___zh",path:":id()",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./_id_.36b956b6.js"),["./_id_.36b956b6.js","./Banner.vue.0dee7ee1.js","./nuxt-img.e1f80e96.js","./Typography.vue.a00ff3a8.js","./nuxt-link.dc3d27c1.js","./Section.95ce794b.js","./_plugin-vue_export-helper.c27b6911.js","./ContentRenderer.47ced266.js","./ContentRendererMarkdown.d7c89d76.js","./index.a6ef77ff.js","./preview.6387966e.js","./index.57e42e18.js","./query.0cbfc7c3.js","./utils.96f61a62.js"],import.meta.url).then(e=>e.default||e)},{name:"release___zh",path:"",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./index.ac9ca16b.js"),["./index.ac9ca16b.js","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e)}],name:void 0,meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./release.0f158fc4.js"),["./release.0f158fc4.js","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e)}],Sw={scrollBehavior(e,t,n){const r=Ze();let o=n||void 0;if(!o&&t&&e&&e.meta.scrollToTop!==!1&&$w(t,e)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:au(e.hash)}}const s=l=>!!(l.meta.pageTransition??fl),a=s(t)&&s(e)?"page:transition:finish":"page:finish";return new Promise(l=>{r.hooks.hookOnce(a,async()=>{await mt(),e.hash&&(o={el:e.hash,top:au(e.hash)}),l(o)})})}};function au(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function $w(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Nw={},dt={...Nw,...Sw},Dw=Ep(async e=>{var i;let t,n;if(!((i=e.meta)!=null&&i.validate))return;const r=Ze(),o=Qn();if(([t,n]=wn(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=yi({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),l=o.beforeResolve(c=>{if(l(),c===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>fr(a)),window.history.pushState({},"",e.fullPath)});return!1}})}),Mw=[Dw],oo={};function Fw(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){const l=o.includes(e.slice(s))?e.slice(s).length:1;let i=o.slice(l);return i[0]!=="/"&&(i="/"+i),Oc(i,"")}return Oc(n,e)+r+o}const jw=ft({name:"nuxt:router",enforce:"pre",async setup(e){var y,w;let t,n,r=pi().app.baseURL;dt.hashMode&&!r.includes("#")&&(r+="#");const o=((y=dt.history)==null?void 0:y.call(dt,r))??(dt.hashMode?Gb(r):kp(r)),s=((w=dt.routes)==null?void 0:w.call(dt,su))??su;let a;const l=Fw(r,window.location),i=Ow({...dt,scrollBehavior:(m,g,C)=>{var _;if(g===qt){a=C;return}return i.options.scrollBehavior=dt.scrollBehavior,(_=dt.scrollBehavior)==null?void 0:_.call(dt,m,qt,a||C)},history:o,routes:s});e.vueApp.use(i);const c=cn(i.currentRoute.value);i.afterEach((m,g)=>{c.value=g}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=cn(i.resolve(l)),f=()=>{u.value=i.currentRoute.value};e.hook("page:finish",f),i.afterEach((m,g)=>{var C,_,v,R;((_=(C=m.matched[0])==null?void 0:C.components)==null?void 0:_.default)===((R=(v=g.matched[0])==null?void 0:v.components)==null?void 0:R.default)&&f()});const d={};for(const m in u.value)d[m]=U(()=>u.value[m]);e._route=He(d),e._middleware=e._middleware||{global:[],named:{}};const p=qs();try{[t,n]=wn(()=>i.isReady()),await t,n()}catch(m){[t,n]=wn(()=>e.runWithContext(()=>fr(m))),await t,n()}const h=mi("_layout");return i.beforeEach(async(m,g)=>{var C;m.meta=He(m.meta),e.isHydrating&&h.value&&!Rn(m.meta.layout)&&(m.meta.layout=h.value),e._processingMiddleware=!0;{const _=new Set([...Mw,...e._middleware.global]);for(const v of m.matched){const R=v.meta.middleware;if(R)if(Array.isArray(R))for(const k of R)_.add(k);else _.add(R)}for(const v of _){const R=typeof v=="string"?e._middleware.named[v]||await((C=oo[v])==null?void 0:C.call(oo).then(L=>L.default||L)):v;if(!R)throw new Error(`Unknown route middleware: '${v}'.`);const k=await e.runWithContext(()=>R(m,g));if(!e.payload.serverRendered&&e.isHydrating&&(k===!1||k instanceof Error)){const L=k||cl({statusCode:404,statusMessage:`Page Not Found: ${l}`});return await e.runWithContext(()=>fr(L)),!1}if(k||k===!1)return k}}}),i.onError(()=>{delete e._processingMiddleware}),i.afterEach(async(m,g,C)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(s0),m.matched.length===0&&await e.runWithContext(()=>fr(cl({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await i.replace({...i.resolve(l),name:void 0,force:!0}),i.options.scrollBehavior=dt.scrollBehavior}catch(m){await e.runWithContext(()=>fr(m))}}),{provide:{router:i}}}},1),dr={default:()=>X(()=>import("./default.6ea29f17.js"),["./default.6ea29f17.js","./header.fff89ae5.js","./logo.0d77ca1b.js","./composables.df844b6e.js","./nuxt-link.dc3d27c1.js","./nav.vue.e3822b95.js","./LocaleNuxtLink.vue.b8dc91bb.js","./_plugin-vue_export-helper.c27b6911.js","./Footer.9f13eb9d.js","./Divider.vue.d51ba1cf.js","./DarkToggle.vue.6635155b.js"],import.meta.url).then(e=>e.default||e),home:()=>X(()=>import("./home.addd6f7b.js"),["./home.addd6f7b.js","./Footer.9f13eb9d.js","./Divider.vue.d51ba1cf.js","./LocaleNuxtLink.vue.b8dc91bb.js","./nuxt-link.dc3d27c1.js","./logo.0d77ca1b.js","./composables.df844b6e.js","./DarkToggle.vue.6635155b.js","./_plugin-vue_export-helper.c27b6911.js"],import.meta.url).then(e=>e.default||e)},Vw=ft({name:"nuxt:prefetch",setup(e){const t=Qn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof dr[r]=="function"&&await dr[r]()})}),e.hooks.hook("link:prefetch",n=>{var a,l,i,c;if(Gn(n))return;const r=t.resolve(n);if(!r)return;const o=(a=r==null?void 0:r.meta)==null?void 0:a.layout;let s=Array.isArray((l=r==null?void 0:r.meta)==null?void 0:l.middleware)?(i=r==null?void 0:r.meta)==null?void 0:i.middleware:[(c=r==null?void 0:r.meta)==null?void 0:c.middleware];s=s.filter(u=>typeof u=="string");for(const u of s)typeof oo[u]=="function"&&oo[u]();o&&typeof dr[o]=="function"&&dr[o]()})}});async function Hw(e,t){return await Bw(t).catch(r=>(console.error("Failed to get image meta for "+t,r+""),{width:0,height:0,ratio:0}))}async function Bw(e){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((t,n)=>{const r=new Image;r.onload=()=>{const o={width:r.width,height:r.height,ratio:r.width/r.height};t(o)},r.onerror=o=>n(o),r.src=e})}function lu(e){return t=>t?e[t]||t:e.missingValue}function Uw({formatter:e,keyMap:t,joinWith:n="/",valueMap:r}={}){e||(e=(s,a)=>`${s}=${a}`),t&&typeof t!="function"&&(t=lu(t));const o=r||{};return Object.keys(o).forEach(s=>{typeof o[s]!="function"&&(o[s]=lu(o[s]))}),(s={})=>Object.entries(s).filter(([l,i])=>typeof i<"u").map(([l,i])=>{const c=o[l];return typeof c=="function"&&(i=c(s[l])),l=typeof t=="function"?t(l):l,e(l,i)}).join(n)}function bs(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return parseInt(e,10)}function Ww(e){const t={options:e},n=(o,s={})=>Mp(t,o,s),r=(o,s={},a={})=>n(o,{...a,modifiers:We(s,a.modifiers||{})}).url;for(const o in e.presets)r[o]=(s,a,l)=>r(s,a,{...e.presets[o],...l});return r.options=e,r.getImage=n,r.getMeta=(o,s)=>zw(t,o,s),r.getSizes=(o,s)=>Gw(t,o,s),t.$img=r,r}async function zw(e,t,n){const r=Mp(e,t,{...n});return typeof r.getMeta=="function"?await r.getMeta():await Hw(e,r.url)}function Mp(e,t,n){var c,u;if(typeof t!="string"||t==="")throw new TypeError(`input must be a string (received ${typeof t}: ${JSON.stringify(t)})`);if(t.startsWith("data:"))return{url:t};const{provider:r,defaults:o}=Kw(e,n.provider||e.options.provider),s=qw(e,n.preset);if(t=Gn(t)?t:kv(t),!r.supportsAlias)for(const f in e.options.alias)t.startsWith(f)&&(t=On(e.options.alias[f],t.substr(f.length)));if(r.validateDomains&&Gn(t)){const f=Ks(t).host;if(!e.options.domains.find(d=>d===f))return{url:t}}const a=We(n,s,o);a.modifiers={...a.modifiers};const l=a.modifiers.format;(c=a.modifiers)!=null&&c.width&&(a.modifiers.width=bs(a.modifiers.width)),(u=a.modifiers)!=null&&u.height&&(a.modifiers.height=bs(a.modifiers.height));const i=r.getImage(t,a,e);return i.format=i.format||l||"",i}function Kw(e,t){const n=e.options.providers[t];if(!n)throw new Error("Unknown provider: "+t);return n}function qw(e,t){if(!t)return{};if(!e.options.presets[t])throw new Error("Unknown preset: "+t);return e.options.presets[t]}function Gw(e,t,n){var c,u;const r=bs((c=n.modifiers)==null?void 0:c.width),o=bs((u=n.modifiers)==null?void 0:u.height),s=r&&o?o/r:0,a=[],l={};if(typeof n.sizes=="string")for(const f of n.sizes.split(/[\s,]+/).filter(d=>d)){const d=f.split(":");d.length===2&&(l[d[0].trim()]=d[1].trim())}else Object.assign(l,n.sizes);for(const f in l){const d=e.options.screens&&e.options.screens[f]||parseInt(f);let p=String(l[f]);const h=p.endsWith("vw");if(!h&&/^\d+$/.test(p)&&(p=p+"px"),!h&&!p.endsWith("px"))continue;let y=parseInt(p);if(!d||!y)continue;h&&(y=Math.round(y/100*d));const w=s?Math.round(y*s):o;a.push({width:y,size:p,screenMaxWidth:d,media:`(max-width: ${d}px)`,src:e.$img(t,{...n.modifiers,width:y,height:w},n)})}a.sort((f,d)=>f.screenMaxWidth-d.screenMaxWidth);const i=a[a.length-1];return i&&(i.media=""),{sizes:a.map(f=>`${f.media?f.media+" ":""}${f.size}`).join(", "),srcset:a.map(f=>`${f.src} ${f.width}w`).join(", "),src:i==null?void 0:i.src}}const Yw=Uw({keyMap:{format:"f",fit:"fit",width:"w",height:"h",resize:"s",quality:"q",background:"b"},joinWith:"&",formatter:(e,t)=>Tc(e)+"_"+Tc(t)}),Xw=(e,{modifiers:t={},baseURL:n}={},r)=>{t.width&&t.height&&(t.resize=`${t.width}x${t.height}`,delete t.width,delete t.height);const o=Yw(t)||"_";return n||(n=On(r.options.nuxt.baseURL,"/_ipx")),{url:On(n,o,Qd(e))}},Jw=!0,Qw=!0,Zw=Object.freeze(Object.defineProperty({__proto__:null,getImage:Xw,supportsAlias:Qw,validateDomains:Jw},Symbol.toStringTag,{value:"Module"})),Fp={screens:{xs:320,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536},presets:{},provider:"ipx",domains:[],alias:{}};Fp.providers={ipx:{provider:Zw,defaults:{}}};const eE=ft(()=>({provide:{img:Ww({...Fp,nuxt:{baseURL:pi().app.baseURL}})}}));function tE(e={}){const{immediate:t=!1,onNeedRefresh:n,onOfflineReady:r,onRegistered:o,onRegisteredSW:s,onRegisterError:a}=e;let l,i;const c=async(f=!0)=>{await i};async function u(){if("serviceWorker"in navigator){const{Workbox:f}=await X(()=>import("./workbox-window.prod.es5.dc90f814.js"),[],import.meta.url);l=new f("/sw.js",{scope:"/",type:"classic"}),l.addEventListener("activated",d=>{(d.isUpdate||d.isExternal)&&window.location.reload()}),l.addEventListener("installed",d=>{d.isUpdate||r==null||r()}),l.register({immediate:t}).then(d=>{s?s("/sw.js",d):o==null||o(d)}).catch(d=>{a==null||a(d)})}}return i=u(),c}function nE(e={}){const{immediate:t=!0,onNeedRefresh:n,onOfflineReady:r,onRegistered:o,onRegisteredSW:s,onRegisterError:a}=e,l=W(!1),i=W(!1);return{updateServiceWorker:tE({immediate:t,onNeedRefresh(){l.value=!0,n==null||n()},onOfflineReady(){i.value=!0,r==null||r()},onRegistered:o,onRegisteredSW:s,onRegisterError:a}),offlineReady:i,needRefresh:l}}const Oa={periodicSyncForUpdates:0},rE=ft(()=>{const e=W(!1),t=W(!1),n=W(!1),r=W(Oa.installPrompt?localStorage.getItem(Oa.installPrompt)==="true":!0),o=navigator.userAgent,s=o.match(/iPhone|iPad|iPod/),l=!!(window.matchMedia("(display-mode: standalone)").matches||s&&!o.match(/Safari/));let i;const c=()=>i,{offlineReady:u,needRefresh:f,updateServiceWorker:d}=nE({immediate:!0,onRegisterError(){e.value=!0},onRegisteredSW(w,m){i=m}}),p=async()=>{u.value=!1,f.value=!1};let h=()=>Promise.resolve(),y=()=>{};if(!r.value){let w;const m=g=>{g.preventDefault(),w=g,n.value=!0};window.addEventListener("beforeinstallprompt",m),window.addEventListener("appinstalled",()=>{w=void 0,n.value=!1}),y=()=>{w=void 0,n.value=!1,window.removeEventListener("beforeinstallprompt",m),r.value=!0,localStorage.setItem(Oa.installPrompt,"true")},h=async()=>{if(!n.value||!w){n.value=!1;return}n.value=!1,await mt(),w.prompt(),await w.userChoice}}return{provide:{pwa:He({isInstalled:l,showInstallPrompt:n,cancelInstall:y,install:h,swActivated:t,registrationError:e,offlineReady:u,needRefresh:f,updateServiceWorker:d,cancelPrompt:p,getSWRegistration:c})}}}),oE="__NUXT_COLOR_MODE__",sE="nuxt-color-mode",nn=window[oE],aE=ft(e=>{const t=mi("color-mode",()=>He({preference:nn.preference,value:nn.value,unknown:!1,forced:!1})).value;Qn().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?nn.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=nn.getColorScheme())}))}de(()=>t.preference,o=>{var s;t.forced||(o==="system"?(t.value=nn.getColorScheme(),r()):t.value=o,(s=window.localStorage)==null||s.setItem(sE,o))},{immediate:!0}),de(()=>t.value,(o,s)=>{nn.removeColorScheme(s),nn.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=nn.preference,t.value=nn.value,t.unknown=!1)}),e.provide("colorMode",t)}),lE=ft(()=>{});/*!
- * shared v9.3.0-beta.17
- * (c) 2023 kazuya kawaguchi
- * Released under the MIT License.
- */const ml=typeof window<"u",Zn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),iE=(e,t,n)=>cE({l:e,k:t,s:n}),cE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ge=e=>typeof e=="number"&&isFinite(e),uE=e=>xi(e)==="[object Date]",ws=e=>xi(e)==="[object RegExp]",Xs=e=>Ee(e)&&Object.keys(e).length===0;function fE(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ct=Object.assign;let iu;const wi=()=>iu||(iu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function cu(e){return e.replace(/=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return t.loadTextureImage(e,o.source,n)}}class Ct{constructor(e){this.parser=e,this.name=A.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(e){const t=this.name,r=this.parser,s=r.json,o=s.textures[e];if(!o.extensions||!o.extensions[t])return null;const n=o.extensions[t],a=s.images[n.source];let i=r.textureLoader;if(a.uri){const c=r.options.manager.getHandler(a.uri);c!==null&&(i=c)}return this.detectSupport().then(function(c){if(c)return r.loadTextureImage(e,n.source,i);if(s.extensionsRequired&&s.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return r.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){const t=new Image;t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",t.onload=t.onerror=function(){e(t.height===1)}})),this.isSupported}}class Ot{constructor(e){this.name=A.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){const t=this.parser.json,r=t.bufferViews[e];if(r.extensions&&r.extensions[this.name]){const s=r.extensions[this.name],o=this.parser.getDependency("buffer",s.buffer),n=this.parser.options.meshoptDecoder;if(!n||!n.supported){if(t.extensionsRequired&&t.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return Promise.all([o,n.ready]).then(function(a){const i=s.byteOffset||0,c=s.byteLength||0,u=s.count,l=s.byteStride,d=new ArrayBuffer(u*l),p=new Uint8Array(a[0],i,c);return n.decodeGltfBuffer(new Uint8Array(d),u,l,p,s.mode,s.filter),d})}else return null}}const Re="glTF",U=12,ie={JSON:1313821514,BIN:5130562};class Pt{constructor(e){this.name=A.KHR_BINARY_GLTF,this.content=null,this.body=null;const t=new DataView(e,0,U);if(this.header={magic:I.decodeText(new Uint8Array(e.slice(0,4))),version:t.getUint32(4,!0),length:t.getUint32(8,!0)},this.header.magic!==Re)throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");if(this.header.version<2)throw new Error("THREE.GLTFLoader: Legacy binary file detected.");const r=this.header.length-U,s=new DataView(e,U);let o=0;for(;o=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return t.loadTextureImage(e,o.source,n)}}class Ct{constructor(e){this.parser=e,this.name=A.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(e){const t=this.name,r=this.parser,s=r.json,o=s.textures[e];if(!o.extensions||!o.extensions[t])return null;const n=o.extensions[t],a=s.images[n.source];let i=r.textureLoader;if(a.uri){const c=r.options.manager.getHandler(a.uri);c!==null&&(i=c)}return this.detectSupport().then(function(c){if(c)return r.loadTextureImage(e,n.source,i);if(s.extensionsRequired&&s.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return r.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){const t=new Image;t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",t.onload=t.onerror=function(){e(t.height===1)}})),this.isSupported}}class Ot{constructor(e){this.name=A.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){const t=this.parser.json,r=t.bufferViews[e];if(r.extensions&&r.extensions[this.name]){const s=r.extensions[this.name],o=this.parser.getDependency("buffer",s.buffer),n=this.parser.options.meshoptDecoder;if(!n||!n.supported){if(t.extensionsRequired&&t.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return Promise.all([o,n.ready]).then(function(a){const i=s.byteOffset||0,c=s.byteLength||0,u=s.count,l=s.byteStride,d=new ArrayBuffer(u*l),p=new Uint8Array(a[0],i,c);return n.decodeGltfBuffer(new Uint8Array(d),u,l,p,s.mode,s.filter),d})}else return null}}const Re="glTF",U=12,ie={JSON:1313821514,BIN:5130562};class Pt{constructor(e){this.name=A.KHR_BINARY_GLTF,this.content=null,this.body=null;const t=new DataView(e,0,U);if(this.header={magic:I.decodeText(new Uint8Array(e.slice(0,4))),version:t.getUint32(4,!0),length:t.getUint32(8,!0)},this.header.magic!==Re)throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");if(this.header.version<2)throw new Error("THREE.GLTFLoader: Legacy binary file detected.");const r=this.header.length-U,s=new DataView(e,U);let o=0;for(;o1?v[R-1]:t,W=R>2?v[2]:t;for(N=a.length>3&&typeof N=="function"?(R--,N):t,W&&zi(v[0],v[1],W)&&(N=R<3?t:N,R=1),u=ln(u);++M
1?v[R-1]:t,W=R>2?v[2]:t;for(N=a.length>3&&typeof N=="function"?(R--,N):t,W&&zi(v[0],v[1],W)&&(N=R<3?t:N,R=1),u=ln(u);++M
"u")return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{lc===void 0&&(lc=Uh("canvas")),lc.width=e.width,lc.height=e.height;const n=lc.getContext("2d");e instanceof ImageData?n.putImageData(e,0,0):n.drawImage(e,0,0,e.width,e.height),t=lc}return t.width>2048||t.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),t.toDataURL("image/jpeg",.6)):t.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){const t=Uh("canvas");t.width=e.width,t.height=e.height;const n=t.getContext("2d");n.drawImage(e,0,0,e.width,e.height);const r=n.getImageData(0,0,e.width,e.height),s=r.data;for(let o=0;o0&&(e.userData=this.userData),this.parameters!==void 0){const h=this.parameters;for(const d in h)h[d]!==void 0&&(e[d]=h[d]);return e}e.data={attributes:{}};const t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const n=this.attributes;for(const h in n){const d=n[h];e.data.attributes[h]=d.toJSON(e.data)}const r={};let s=!1;for(const h in this.morphAttributes){const d=this.morphAttributes[h],f=[];for(let g=0,y=d.length;g0?1:-1,f.push(se.x,se.y,se.z),g.push(fe/F),g.push(1-ue/P),pe+=1}}for(let ue=0;ue"u")return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{lc===void 0&&(lc=Uh("canvas")),lc.width=e.width,lc.height=e.height;const n=lc.getContext("2d");e instanceof ImageData?n.putImageData(e,0,0):n.drawImage(e,0,0,e.width,e.height),t=lc}return t.width>2048||t.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),t.toDataURL("image/jpeg",.6)):t.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){const t=Uh("canvas");t.width=e.width,t.height=e.height;const n=t.getContext("2d");n.drawImage(e,0,0,e.width,e.height);const r=n.getImageData(0,0,e.width,e.height),s=r.data;for(let o=0;o0&&(e.userData=this.userData),this.parameters!==void 0){const h=this.parameters;for(const d in h)h[d]!==void 0&&(e[d]=h[d]);return e}e.data={attributes:{}};const t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const n=this.attributes;for(const h in n){const d=n[h];e.data.attributes[h]=d.toJSON(e.data)}const r={};let s=!1;for(const h in this.morphAttributes){const d=this.morphAttributes[h],f=[];for(let g=0,y=d.length;g0?1:-1,f.push(se.x,se.y,se.z),g.push(fe/F),g.push(1-ue/P),pe+=1}}for(let ue=0;uei-kc?h=W1[o-i+kc-1]:o===0&&(h=0),n.push(h);const d=1/(l-2),f=-d,g=1+d,y=[f,f,g,f,g,g,f,f,g,g,f,g],_=6,w=6,S=3,b=2,T=1,E=new Float32Array(S*w*_),C=new Float32Array(b*w*_),A=new Float32Array(T*w*_);for(let I=0;I<_;I++){const F=I%3*2/3-1,P=I>2?0:-1,k=[F,P,0,F+2/3,P,0,F+2/3,P+1,0,F,P,0,F+2/3,P+1,0,F,P+1,0];E.set(k,S*w*I),C.set(y,b*w*I);const j=[I,I,I,I,I,I];A.set(j,T*w*I)}const D=new zt;D.setAttribute("position",new Wn(E,S)),D.setAttribute("uv",new Wn(C,b)),D.setAttribute("faceIndex",new Wn(A,T)),e.push(D),r>kc&&r--}return{lodPlanes:e,sizeLods:t,sigmas:n}}function Y1(i,e,t){const n=new Yt(i,e,t);return n.texture.mapping=Nm,n.texture.name="PMREM.cubeUv",n.scissorTest=!0,n}function sf(i,e,t,n,r){i.viewport.set(e,t,n,r),i.scissor.set(e,t,n,r)}function Jk(i,e,t){const n=new Float32Array(sl),r=new z(0,1,0);return new kt({name:"SphericalGaussianBlur",defines:{n:sl,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${i}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:n},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:ax(),fragmentShader:`
+}`,Gt={alphamap_fragment:gO,alphamap_pars_fragment:yO,alphatest_fragment:_O,alphatest_pars_fragment:xO,aomap_fragment:bO,aomap_pars_fragment:wO,begin_vertex:SO,beginnormal_vertex:MO,bsdfs:EO,bumpmap_pars_fragment:TO,clipping_planes_fragment:AO,clipping_planes_pars_fragment:CO,clipping_planes_pars_vertex:PO,clipping_planes_vertex:RO,color_fragment:LO,color_pars_fragment:DO,color_pars_vertex:IO,color_vertex:OO,common:kO,cube_uv_reflection_fragment:NO,defaultnormal_vertex:BO,displacementmap_pars_vertex:zO,displacementmap_vertex:UO,emissivemap_fragment:FO,emissivemap_pars_fragment:VO,encodings_fragment:HO,encodings_pars_fragment:GO,envmap_fragment:WO,envmap_common_pars_fragment:jO,envmap_pars_fragment:XO,envmap_pars_vertex:qO,envmap_physical_pars_fragment:r5,envmap_vertex:YO,fog_vertex:ZO,fog_pars_vertex:KO,fog_fragment:JO,fog_pars_fragment:QO,gradientmap_pars_fragment:$O,lightmap_fragment:e5,lightmap_pars_fragment:t5,lights_lambert_vertex:n5,lights_pars_begin:i5,lights_toon_fragment:s5,lights_toon_pars_fragment:o5,lights_phong_fragment:a5,lights_phong_pars_fragment:l5,lights_physical_fragment:c5,lights_physical_pars_fragment:u5,lights_fragment_begin:h5,lights_fragment_maps:d5,lights_fragment_end:p5,logdepthbuf_fragment:f5,logdepthbuf_pars_fragment:m5,logdepthbuf_pars_vertex:v5,logdepthbuf_vertex:g5,map_fragment:y5,map_pars_fragment:_5,map_particle_fragment:x5,map_particle_pars_fragment:b5,metalnessmap_fragment:w5,metalnessmap_pars_fragment:S5,morphcolor_vertex:M5,morphnormal_vertex:E5,morphtarget_pars_vertex:T5,morphtarget_vertex:A5,normal_fragment_begin:C5,normal_fragment_maps:P5,normal_pars_fragment:R5,normal_pars_vertex:L5,normal_vertex:D5,normalmap_pars_fragment:I5,clearcoat_normal_fragment_begin:O5,clearcoat_normal_fragment_maps:k5,clearcoat_pars_fragment:N5,output_fragment:B5,packing:z5,premultiplied_alpha_fragment:U5,project_vertex:F5,dithering_fragment:V5,dithering_pars_fragment:H5,roughnessmap_fragment:G5,roughnessmap_pars_fragment:W5,shadowmap_pars_fragment:j5,shadowmap_pars_vertex:X5,shadowmap_vertex:q5,shadowmask_pars_fragment:Y5,skinbase_vertex:Z5,skinning_pars_vertex:K5,skinning_vertex:J5,skinnormal_vertex:Q5,specularmap_fragment:$5,specularmap_pars_fragment:ek,tonemapping_fragment:tk,tonemapping_pars_fragment:nk,transmission_fragment:ik,transmission_pars_fragment:rk,uv_pars_fragment:sk,uv_pars_vertex:ok,uv_vertex:ak,uv2_pars_fragment:lk,uv2_pars_vertex:ck,uv2_vertex:uk,worldpos_vertex:hk,background_vert:dk,background_frag:pk,cube_vert:fk,cube_frag:mk,depth_vert:vk,depth_frag:gk,distanceRGBA_vert:yk,distanceRGBA_frag:_k,equirect_vert:xk,equirect_frag:bk,linedashed_vert:wk,linedashed_frag:Sk,meshbasic_vert:Mk,meshbasic_frag:Ek,meshlambert_vert:Tk,meshlambert_frag:Ak,meshmatcap_vert:Ck,meshmatcap_frag:Pk,meshnormal_vert:Rk,meshnormal_frag:Lk,meshphong_vert:Dk,meshphong_frag:Ik,meshphysical_vert:Ok,meshphysical_frag:kk,meshtoon_vert:Nk,meshtoon_frag:Bk,points_vert:zk,points_frag:Uk,shadow_vert:Fk,shadow_frag:Vk,sprite_vert:Hk,sprite_frag:Gk},He={common:{diffuse:{value:new Pe(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new Gn},uv2Transform:{value:new Gn},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new ae(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Pe(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new Pe(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new Gn}},sprite:{diffuse:{value:new Pe(16777215)},opacity:{value:1},center:{value:new ae(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new Gn}}},Ms={basic:{uniforms:Pi([He.common,He.specularmap,He.envmap,He.aomap,He.lightmap,He.fog]),vertexShader:Gt.meshbasic_vert,fragmentShader:Gt.meshbasic_frag},lambert:{uniforms:Pi([He.common,He.specularmap,He.envmap,He.aomap,He.lightmap,He.emissivemap,He.fog,He.lights,{emissive:{value:new Pe(0)}}]),vertexShader:Gt.meshlambert_vert,fragmentShader:Gt.meshlambert_frag},phong:{uniforms:Pi([He.common,He.specularmap,He.envmap,He.aomap,He.lightmap,He.emissivemap,He.bumpmap,He.normalmap,He.displacementmap,He.fog,He.lights,{emissive:{value:new Pe(0)},specular:{value:new Pe(1118481)},shininess:{value:30}}]),vertexShader:Gt.meshphong_vert,fragmentShader:Gt.meshphong_frag},standard:{uniforms:Pi([He.common,He.envmap,He.aomap,He.lightmap,He.emissivemap,He.bumpmap,He.normalmap,He.displacementmap,He.roughnessmap,He.metalnessmap,He.fog,He.lights,{emissive:{value:new Pe(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Gt.meshphysical_vert,fragmentShader:Gt.meshphysical_frag},toon:{uniforms:Pi([He.common,He.aomap,He.lightmap,He.emissivemap,He.bumpmap,He.normalmap,He.displacementmap,He.gradientmap,He.fog,He.lights,{emissive:{value:new Pe(0)}}]),vertexShader:Gt.meshtoon_vert,fragmentShader:Gt.meshtoon_frag},matcap:{uniforms:Pi([He.common,He.bumpmap,He.normalmap,He.displacementmap,He.fog,{matcap:{value:null}}]),vertexShader:Gt.meshmatcap_vert,fragmentShader:Gt.meshmatcap_frag},points:{uniforms:Pi([He.points,He.fog]),vertexShader:Gt.points_vert,fragmentShader:Gt.points_frag},dashed:{uniforms:Pi([He.common,He.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Gt.linedashed_vert,fragmentShader:Gt.linedashed_frag},depth:{uniforms:Pi([He.common,He.displacementmap]),vertexShader:Gt.depth_vert,fragmentShader:Gt.depth_frag},normal:{uniforms:Pi([He.common,He.bumpmap,He.normalmap,He.displacementmap,{opacity:{value:1}}]),vertexShader:Gt.meshnormal_vert,fragmentShader:Gt.meshnormal_frag},sprite:{uniforms:Pi([He.sprite,He.fog]),vertexShader:Gt.sprite_vert,fragmentShader:Gt.sprite_frag},background:{uniforms:{uvTransform:{value:new Gn},t2D:{value:null}},vertexShader:Gt.background_vert,fragmentShader:Gt.background_frag},cube:{uniforms:Pi([He.envmap,{opacity:{value:1}}]),vertexShader:Gt.cube_vert,fragmentShader:Gt.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Gt.equirect_vert,fragmentShader:Gt.equirect_frag},distanceRGBA:{uniforms:Pi([He.common,He.displacementmap,{referencePosition:{value:new z},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Gt.distanceRGBA_vert,fragmentShader:Gt.distanceRGBA_frag},shadow:{uniforms:Pi([He.lights,He.fog,{color:{value:new Pe(0)},opacity:{value:1}}]),vertexShader:Gt.shadow_vert,fragmentShader:Gt.shadow_frag}};Ms.physical={uniforms:Pi([Ms.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new ae(1,1)},clearcoatNormalMap:{value:null},sheen:{value:0},sheenColor:{value:new Pe(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new ae},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new Pe(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new Pe(1,1,1)},specularColorMap:{value:null}}]),vertexShader:Gt.meshphysical_vert,fragmentShader:Gt.meshphysical_frag};function Wk(i,e,t,n,r,s){const o=new Pe(0);let l=r===!0?0:1,h,d,f=null,g=0,y=null;function _(S,b){let T=!1,E=b.isScene===!0?b.background:null;E&&E.isTexture&&(E=e.get(E));const C=i.xr,A=C.getSession&&C.getSession();A&&A.environmentBlendMode==="additive"&&(E=null),E===null?w(o,l):E&&E.isColor&&(w(E,1),T=!0),(i.autoClear||T)&&i.clear(i.autoClearColor,i.autoClearDepth,i.autoClearStencil),E&&(E.isCubeTexture||E.mapping===Nm)?(d===void 0&&(d=new In(new bl(1,1,1),new kt({name:"BackgroundCubeMaterial",uniforms:Wc(Ms.cube.uniforms),vertexShader:Ms.cube.vertexShader,fragmentShader:Ms.cube.fragmentShader,side:xr,depthTest:!1,depthWrite:!1,fog:!1})),d.geometry.deleteAttribute("normal"),d.geometry.deleteAttribute("uv"),d.onBeforeRender=function(D,I,F){this.matrixWorld.copyPosition(F.matrixWorld)},Object.defineProperty(d.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),n.update(d)),d.material.uniforms.envMap.value=E,d.material.uniforms.flipEnvMap.value=E.isCubeTexture&&E.isRenderTargetTexture===!1?-1:1,(f!==E||g!==E.version||y!==i.toneMapping)&&(d.material.needsUpdate=!0,f=E,g=E.version,y=i.toneMapping),d.layers.enableAll(),S.unshift(d,d.geometry,d.material,0,0,null)):E&&E.isTexture&&(h===void 0&&(h=new In(new ld(2,2),new kt({name:"BackgroundMaterial",uniforms:Wc(Ms.background.uniforms),vertexShader:Ms.background.vertexShader,fragmentShader:Ms.background.fragmentShader,side:Oh,depthTest:!1,depthWrite:!1,fog:!1})),h.geometry.deleteAttribute("normal"),Object.defineProperty(h.material,"map",{get:function(){return this.uniforms.t2D.value}}),n.update(h)),h.material.uniforms.t2D.value=E,E.matrixAutoUpdate===!0&&E.updateMatrix(),h.material.uniforms.uvTransform.value.copy(E.matrix),(f!==E||g!==E.version||y!==i.toneMapping)&&(h.material.needsUpdate=!0,f=E,g=E.version,y=i.toneMapping),h.layers.enableAll(),S.unshift(h,h.geometry,h.material,0,0,null))}function w(S,b){t.buffers.color.setClear(S.r,S.g,S.b,b,s)}return{getClearColor:function(){return o},setClearColor:function(S,b=1){o.set(S),l=b,w(o,l)},getClearAlpha:function(){return l},setClearAlpha:function(S){l=S,w(o,l)},render:_}}function jk(i,e,t,n){const r=i.getParameter(34921),s=n.isWebGL2?null:e.get("OES_vertex_array_object"),o=n.isWebGL2||s!==null,l={},h=b(null);let d=h,f=!1;function g(Z,$,K,pe,re){let se=!1;if(o){const ue=S(pe,K,$);d!==ue&&(d=ue,_(d.object)),se=T(Z,pe,K,re),se&&E(Z,pe,K,re)}else{const ue=$.wireframe===!0;(d.geometry!==pe.id||d.program!==K.id||d.wireframe!==ue)&&(d.geometry=pe.id,d.program=K.id,d.wireframe=ue,se=!0)}re!==null&&t.update(re,34963),(se||f)&&(f=!1,P(Z,$,K,pe),re!==null&&i.bindBuffer(34963,t.get(re).buffer))}function y(){return n.isWebGL2?i.createVertexArray():s.createVertexArrayOES()}function _(Z){return n.isWebGL2?i.bindVertexArray(Z):s.bindVertexArrayOES(Z)}function w(Z){return n.isWebGL2?i.deleteVertexArray(Z):s.deleteVertexArrayOES(Z)}function S(Z,$,K){const pe=K.wireframe===!0;let re=l[Z.id];re===void 0&&(re={},l[Z.id]=re);let se=re[$.id];se===void 0&&(se={},re[$.id]=se);let ue=se[pe];return ue===void 0&&(ue=b(y()),se[pe]=ue),ue}function b(Z){const $=[],K=[],pe=[];for(let re=0;rei-kc?h=W1[o-i+kc-1]:o===0&&(h=0),n.push(h);const d=1/(l-2),f=-d,g=1+d,y=[f,f,g,f,g,g,f,f,g,g,f,g],_=6,w=6,S=3,b=2,T=1,E=new Float32Array(S*w*_),C=new Float32Array(b*w*_),A=new Float32Array(T*w*_);for(let I=0;I<_;I++){const F=I%3*2/3-1,P=I>2?0:-1,k=[F,P,0,F+2/3,P,0,F+2/3,P+1,0,F,P,0,F+2/3,P+1,0,F,P+1,0];E.set(k,S*w*I),C.set(y,b*w*I);const j=[I,I,I,I,I,I];A.set(j,T*w*I)}const D=new zt;D.setAttribute("position",new Wn(E,S)),D.setAttribute("uv",new Wn(C,b)),D.setAttribute("faceIndex",new Wn(A,T)),e.push(D),r>kc&&r--}return{lodPlanes:e,sizeLods:t,sigmas:n}}function Y1(i,e,t){const n=new Yt(i,e,t);return n.texture.mapping=Nm,n.texture.name="PMREM.cubeUv",n.scissorTest=!0,n}function sf(i,e,t,n,r){i.viewport.set(e,t,n,r),i.scissor.set(e,t,n,r)}function Jk(i,e,t){const n=new Float32Array(sl),r=new z(0,1,0);return new kt({name:"SphericalGaussianBlur",defines:{n:sl,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${i}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:n},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:lx(),fragmentShader:`
precision mediump float;
precision mediump int;
@@ -2865,7 +2865,7 @@ void main() {
}
}
- `,blending:rn,depthTest:!1,depthWrite:!1})}function Z1(){return new kt({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:ax(),fragmentShader:`
+ `,blending:rn,depthTest:!1,depthWrite:!1})}function Z1(){return new kt({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:lx(),fragmentShader:`
precision mediump float;
precision mediump int;
@@ -2884,7 +2884,7 @@ void main() {
gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );
}
- `,blending:rn,depthTest:!1,depthWrite:!1})}function K1(){return new kt({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:ax(),fragmentShader:`
+ `,blending:rn,depthTest:!1,depthWrite:!1})}function K1(){return new kt({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:lx(),fragmentShader:`
precision mediump float;
precision mediump int;
@@ -2900,7 +2900,7 @@ void main() {
gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );
}
- `,blending:rn,depthTest:!1,depthWrite:!1})}function ax(){return`
+ `,blending:rn,depthTest:!1,depthWrite:!1})}function lx(){return`
precision mediump float;
precision mediump int;
@@ -2955,7 +2955,7 @@ void main() {
gl_Position = vec4( position, 1.0 );
}
- `}function Qk(i){let e=new WeakMap,t=null;function n(l){if(l&&l.isTexture){const h=l.mapping,d=h===kh||h===Gy,f=h===Vc||h===Hc;if(d||f)if(l.isRenderTargetTexture&&l.needsPMREMUpdate===!0){l.needsPMREMUpdate=!1;let g=e.get(l);return t===null&&(t=new q1(i)),g=d?t.fromEquirectangular(l,g):t.fromCubemap(l,g),e.set(l,g),g.texture}else{if(e.has(l))return e.get(l).texture;{const g=l.image;if(d&&g&&g.height>0||f&&g&&r(g)){t===null&&(t=new q1(i));const y=d?t.fromEquirectangular(l):t.fromCubemap(l);return e.set(l,y),l.addEventListener("dispose",s),y.texture}else return null}}}return l}function r(l){let h=0;const d=6;for(let f=0;f0)return i;const r=e*t;let s=J1[r];if(s===void 0&&(s=new Float32Array(r),J1[r]=s),e!==0){n.toArray(s,0);for(let o=1,l=0;o!==e;++o)l+=t,i[o].toArray(s,l)}return s}function Xi(i,e){if(i.length!==e.length)return!1;for(let t=0,n=i.length;t