PageSourceSearch

https://www.max-boegl.de/etc.clientlibs/maxboeglsitesassets/client…-3c838bb31a65d955382aa2a0940e8de2-lc.min.js

js max-boegl.de collected 2026-10-02 10:05:55 UTC 1,979,553 bytes, 2 lines download raw bytes

1/*! For license information please see site.js.LICENSE.txt */
2!function(){var e={821:function(e,t,n){"use strict";n.d(t,{L:function(){return c}});var r=n(6540),i=n(5880);let a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,o=e=>e&&!Array.isArray(e)&&"object"==typeof e,u=[],s={},l=i.Ay;const c=(e,t=u)=>{let n=s;o(e)?(n=e,e=null,t="dependencies"in n?n.dependencies:u):o(t)&&(n=t,t="dependencies"in n?n.dependencies:u),e&&"function"!=typeof e&&console.warn("First parameter must be a function or config object");const{scope:i,revertOnUpdate:c}=n,h=(0,r.useRef)(!1),d=(0,r.useRef)(l.context((()=>{}),i)),p=(0,r.useRef)((e=>d.current.add(null,e))),f=t&&t.length&&!c;return a((()=>{if(e&&d.current.add(e,i),!f||!h.current)return()=>d.current.revert()}),t),f&&a((()=>(h.current=!0,()=>d.current.revert())),u),{context:d.current,contextSafe:p.current}};c.register=e=>{l=e},c.headless=!0},8409:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var r=n(8168),i=n(9437),a=n(6540);const o=a.forwardRef((function({children:e,disable:t,disableX:n,disableY:o,disableZ:u,left:s,right:l,top:c,bottom:h,front:d,back:p,onCentered:f,precise:m=!0,cacheKey:g=0,..._},D){const v=a.useRef(null),y=a.useRef(null),E=a.useRef(null);return a.useLayoutEffect((()=>{y.current.matrixWorld.identity();const e=(new i.Box3).setFromObject(E.current,m),r=new i.Vector3,a=new i.Sphere,g=e.max.x-e.min.x,_=e.max.y-e.min.y,D=e.max.z-e.min.z;e.getCenter(r),e.getBoundingSphere(a);const A=c?_/2:h?-_/2:0,C=s?-g/2:l?g/2:0,F=d?D/2:p?-D/2:0;y.current.position.set(t||n?0:-r.x+C,t||o?0:-r.y+A,t||u?0:-r.z+F),void 0!==f&&f({parent:v.current.parent,container:v.current,width:g,height:_,depth:D,boundingBox:e,boundingSphere:a,center:r,verticalAlignment:A,horizontalAlignment:C,depthAlignment:F})}),[g,f,c,s,d,t,n,o,u,m,l,h,p]),a.useImperativeHandle(D,(()=>v.current),[]),a.createElement("group",(0,r.A)({ref:v},_),a.createElement("group",{ref:y},a.createElement("group",{ref:E},e)))}))},3783:function(e,t,n){"use strict";n.d(t,{OH:function(){return de}});var r=n(8168),i=n(6540),a=n(9949),o=n(9437);class u extends o.Mesh{constructor(e,t){var n,r;const i=(a=e)&&a.isCubeTexture;var a;const u=(null!=(r=i?null==(n=e.image[0])?void 0:n.width:e.image.width)?r:1024)/4,s=Math.floor(Math.log2(u)),l=Math.pow(2,s),c=[i?"#define ENVMAP_TYPE_CUBE":"","#define CUBEUV_TEXEL_WIDTH "+1/(3*Math.max(l,112)),"#define CUBEUV_TEXEL_HEIGHT "+1/(4*l),`#define CUBEUV_MAX_MIP ${s}.0`].join("\n")+`\n        #define ENVMAP_TYPE_CUBE_UV\n        varying vec3 vWorldPosition;\n        uniform float radius;\n        uniform float height;\n        uniform float angle;\n        #ifdef ENVMAP_TYPE_CUBE\n            uniform samplerCube map;\n        #else\n            uniform sampler2D map;\n        #endif\n        // From: https://www.shadertoy.com/view/4tsBD7\n        float diskIntersectWithBackFaceCulling( vec3 ro, vec3 rd, vec3 c, vec3 n, float r ) \n        {\n            float d = dot ( rd, n );\n            \n            if( d > 0.0 ) { return 1e6; }\n            \n            vec3  o = ro - c;\n            float t = - dot( n, o ) / d;\n            vec3  q = o + rd * t;\n            \n            return ( dot( q, q ) < r * r ) ? t : 1e6;\n        }\n        // From: https://www.iquilezles.org/www/articles/intersectors/intersectors.htm\n        float sphereIntersect( vec3 ro, vec3 rd, vec3 ce, float ra ) \n        {\n            vec3 oc = ro - ce;\n            float b = dot( oc, rd );\n            float c = dot( oc, oc ) - ra * ra;\n            float h = b * b - c;\n            \n            if( h < 0.0 ) { return -1.0; }\n            \n            h = sqrt( h );\n            \n            return - b + h;\n        }\n        vec3 project() \n        {\n            vec3 p = normalize( vWorldPosition );\n            vec3 camPos = cameraPosition;\n            camPos.y -= height;\n            float intersection = sphereIntersect( camPos, p, vec3( 0.0 ), radius );\n            if( intersection > 0.0 ) {\n                \n                vec3 h = vec3( 0.0, - height, 0.0 );\n                float intersection2 = diskIntersectWithBackFaceCulling( camPos, p, h, vec3( 0.0, 1.0, 0.0 ), radius );\n                p = ( camPos + min( intersection, intersection2 ) * p ) / radius;\n            } else {\n                p = vec3( 0.0, 1.0, 0.0 );\n            }\n            return p;\n        }\n        #include <common>\n        #include <cube_uv_reflection_fragment>\n        void main() \n        {\n            vec3 projectedWorldPosition = project();\n            \n            #ifdef ENVMAP_TYPE_CUBE\n                vec3 outcolor = textureCube( map, projectedWorldPosition ).rgb;\n            #else\n                vec3 direction = normalize( projectedWorldPosition );\n                vec2 uv = equirectUv( direction );\n                vec3 outcolor = texture2D( map, uv ).rgb;\n            #endif\n            gl_FragColor = vec4( outcolor, 1.0 );\n            #include <tonemapping_fragment>\n            #include <${parseInt(o.REVISION.replace(/\D+/g,""))>=154?"colorspace_fragment":"encodings_fragment"}>\n        }\n        `,h={map:{value:e},height:{value:(null==t?void 0:t.height)||15},radius:{value:(null==t?void 0:t.radius)||100}};super(new o.IcosahedronGeometry(1,16),new o.ShaderMaterial({uniforms:h,fragmentShader:c,vertexShader:"\n        varying vec3 vWorldPosition;\n        void main() \n        {\n            vec4 worldPosition = ( modelMatrix * vec4( position, 1.0 ) );\n            vWorldPosition = worldPosition.xyz;\n            \n            gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n        }\n        ",side:o.DoubleSide}))}set radius(e){this.material.uniforms.radius.value=e}get radius(){return this.material.uniforms.radius.value}set height(e){this.material.uniforms.height.value=e}get height(){return this.material.uniforms.height.value}}class s extends o.DataTextureLoader{constructor(e){super(e),this.type=o.HalfFloatType}parse(e){const t=function(e,t){switch(e){case 1:throw new Error("THREE.RGBELoader: Read Error: "+(t||""));case 2:throw new Error("THREE.RGBELoader: Write Error: "+(t||""));case 3:throw new Error("THREE.RGBELoader: Bad File Format: "+(t||""));default:throw new Error("THREE.RGBELoader: Memory Error: "+(t||""))}},n=function(e,t,n){t=t||1024;let r=e.pos,i=-1,a=0,o="",u=String.fromCharCode.apply(null,new Uint16Array(e.subarray(r,r+128)));for(;0>(i=u.indexOf("\n"))&&a<t&&r<e.byteLength;)o+=u,a+=u.length,r+=128,u+=String.fromCharCode.apply(null,new Uint16Array(e.subarray(r,r+128)));return-1<i&&(!1!==n&&(e.pos+=a+i+1),o+u.slice(0,i))},r=function(e,t,n,r){const i=e[t+3],a=Math.pow(2,i-128)/255;n[r+0]=e[t+0]*a,n[r+1]=e[t+1]*a,n[r+2]=e[t+2]*a,n[r+3]=1},i=function(e,t,n,r){const i=e[t+3],a=Math.pow(2,i-128)/255;n[r+0]=o.DataUtils.toHalfFloat(Math.min(e[t+0]*a,65504)),n[r+1]=o.DataUtils.toHalfFloat(Math.min(e[t+1]*a,65504)),n[r+2]=o.DataUtils.toHalfFloat(Math.min(e[t+2]*a,65504)),n[r+3]=o.DataUtils.toHalfFloat(1)},a=new Uint8Array(e);a.pos=0;const u=function(e){const r=/^\s*GAMMA\s*=\s*(\d+(\.\d+)?)\s*$/,i=/^\s*EXPOSURE\s*=\s
2*(\d+(\.\d+)?)\s*$/,a=/^\s*FORMAT=(\S+)\s*$/,o=/^\s*\-Y\s+(\d+)\s+\+X\s+(\d+)\s*$/,u={valid:0,string:"",comments:"",programtype:"RGBE",format:"",gamma:1,exposure:1,width:0,height:0};let s,l;for((e.pos>=e.byteLength||!(s=n(e)))&&t(1,"no header found"),(l=s.match(/^#\?(\S+)/))||t(3,"bad initial token"),u.valid|=1,u.programtype=l[1],u.string+=s+"\n";s=n(e),!1!==s;)if(u.string+=s+"\n","#"!==s.charAt(0)){if((l=s.match(r))&&(u.gamma=parseFloat(l[1])),(l=s.match(i))&&(u.exposure=parseFloat(l[1])),(l=s.match(a))&&(u.valid|=2,u.format=l[1]),(l=s.match(o))&&(u.valid|=4,u.height=parseInt(l[1],10),u.width=parseInt(l[2],10)),2&u.valid&&4&u.valid)break}else u.comments+=s+"\n";return 2&u.valid||t(3,"missing format specifier"),4&u.valid||t(3,"missing image size specifier"),u}(a),s=u.width,l=u.height,c=function(e,n,r){const i=n;if(i<8||i>32767||2!==e[0]||2!==e[1]||128&e[2])return new Uint8Array(e);i!==(e[2]<<8|e[3])&&t(3,"wrong scanline width");const a=new Uint8Array(4*n*r);a.length||t(4,"unable to allocate buffer space");let o=0,u=0;const s=4*i,l=new Uint8Array(4),c=new Uint8Array(s);let h=r;for(;h>0&&u<e.byteLength;){u+4>e.byteLength&&t(1),l[0]=e[u++],l[1]=e[u++],l[2]=e[u++],l[3]=e[u++],2==l[0]&&2==l[1]&&(l[2]<<8|l[3])==i||t(3,"bad rgbe scanline format");let n,r=0;for(;r<s&&u<e.byteLength;){n=e[u++];const i=n>128;if(i&&(n-=128),(0===n||r+n>s)&&t(3,"bad scanline data"),i){const t=e[u++];for(let e=0;e<n;e++)c[r++]=t}else c.set(e.subarray(u,u+n),r),r+=n,u+=n}const d=i;for(let e=0;e<d;e++){let t=0;a[o]=c[e+t],t+=i,a[o+1]=c[e+t],t+=i,a[o+2]=c[e+t],t+=i,a[o+3]=c[e+t],o+=4}h--}return a}(a.subarray(a.pos),s,l);let h,d,p;switch(this.type){case o.FloatType:p=c.length/4;const e=new Float32Array(4*p);for(let t=0;t<p;t++)r(c,4*t,e,4*t);h=e,d=o.FloatType;break;case o.HalfFloatType:p=c.length/4;const t=new Uint16Array(4*p);for(let e=0;e<p;e++)i(c,4*e,t,4*e);h=t,d=o.HalfFloatType;break;default:throw new Error("THREE.RGBELoader: Unsupported type: "+this.type)}return{width:s,height:l,data:h,header:u.string,gamma:u.gamma,exposure:u.exposure,type:d}}setDataType(e){return this.type=e,this}load(e,t,n,r){return super.load(e,(function(e,n){switch(e.type){case o.FloatType:case o.HalfFloatType:"colorSpace"in e?e.colorSpace="srgb-linear":e.encoding=3e3,e.minFilter=o.LinearFilter,e.magFilter=o.LinearFilter,e.generateMipmaps=!1,e.flipY=!0}t&&t(e,n)}),n,r)}}var l=Uint8Array,c=Uint16Array,h=Uint32Array,d=new l([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),p=new l([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),f=new l([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),m=function(e,t){for(var n=new c(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var i=new h(n[30]);for(r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)i[a]=a-n[r]<<5|r;return[n,i]},g=m(d,2),_=g[0],D=g[1];_[28]=258,D[258]=28;for(var v=m(p,0),y=v[0],E=(v[1],new c(32768)),A=0;A<32768;++A){var C=(43690&A)>>>1|(21845&A)<<1;C=(61680&(C=(52428&C)>>>2|(13107&C)<<2))>>>4|(3855&C)<<4,E[A]=((65280&C)>>>8|(255&C)<<8)>>>1}var F=function(e,t,n){for(var r=e.length,i=0,a=new c(t);i<r;++i)++a[e[i]-1];var o,u=new c(t);for(i=0;i<t;++i)u[i]=u[i-1]+a[i-1]<<1;if(n){o=new c(1<<t);var s=15-t;for(i=0;i<r;++i)if(e[i])for(var l=i<<4|e[i],h=t-e[i],d=u[e[i]-1]++<<h,p=d|(1<<h)-1;d<=p;++d)o[E[d]>>>s]=l}else for(o=new c(r),i=0;i<r;++i)e[i]&&(o[i]=E[u[e[i]-1]++]>>>15-e[i]);return o},b=new l(288);for(A=0;A<144;++A)b[A]=8;for(A=144;A<256;++A)b[A]=9;for(A=256;A<280;++A)b[A]=7;for(A=280;A<288;++A)b[A]=8;var S=new l(32);for(A=0;A<32;++A)S[A]=5;var x=F(b,9,1),B=F(S,5,1),w=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},M=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(7&t)&n},T=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(7&t)},P=function(e){return(e/8|0)+(7&e&&1)},R=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof c?c:e instanceof h?h:l)(n-t);return r.set(e.subarray(t,n)),r},I=function(e,t,n){var r=e.length;if(!r||n&&!n.l&&r<5)return t||new l(0);var i=!t||n,a=!n||n.i;n||(n={}),t||(t=new l(3*r));var o=function(e){var n=t.length;if(e>n){var r=new l(Math.max(2*n,e));r.set(t),t=r}},u=n.f||0,s=n.p||0,c=n.b||0,h=n.l,m=n.d,g=n.m,D=n.n,v=8*r;do{if(!h){n.f=u=M(e,s,1);var E=M(e,s+1,3);if(s+=3,!E){var A=e[(V=P(s)+4)-4]|e[V-3]<<8,C=V+A;if(C>r){if(a)throw"unexpected EOF";break}i&&o(c+A),t.set(e.subarray(V,C),c),n.b=c+=A,n.p=s=8*C;continue}if(1==E)h=x,m=B,g=9,D=5;else{if(2!=E)throw"invalid block type";var b=M(e,s,31)+257,S=M(e,s+10,15)+4,I=b+M(e,s+5,31)+1;s+=14;for(var N=new l(I),L=new l(19),O=0;O<S;++O)L[f[O]]=M(e,s+3*O,7);s+=3*S;var k=w(L),U=(1<<k)-1,z=F(L,k,1);for(O=0;O<I;){var V,W=z[M(e,s,U)];if(s+=15&W,(V=W>>>4)<16)N[O++]=V;else{var H=0,G=0;for(16==V?(G=3+M(e,s,3),s+=2,H=N[O-1]):17==V?(G=3+M(e,s,7),s+=3):18==V&&(G=11+M(e,s,127),s+=7);G--;)N[O++]=H}}var j=N.subarray(0,b),X=N.subarray(b);g=w(j),D=w(X),h=F(j,g,1),m=F(X,D,1)}if(s>v){if(a)throw"unexpected EOF";break}}i&&o(c+131072);for(var K=(1<<g)-1,q=(1<<D)-1,J=s;;J=s){var Y=(H=h[T(e,s)&K])>>>4;
2if((s+=15&H)>v){if(a)throw"unexpected EOF";break}if(!H)throw"invalid length/literal";if(Y<256)t[c++]=Y;else{if(256==Y){J=s,h=null;break}var $=Y-254;if(Y>264){var Q=d[O=Y-257];$=M(e,s,(1<<Q)-1)+_[O],s+=Q}var Z=m[T(e,s)&q],ee=Z>>>4;if(!Z)throw"invalid distance";s+=15&Z;X=y[ee];if(ee>3){Q=p[ee];X+=T(e,s)&(1<<Q)-1,s+=Q}if(s>v){if(a)throw"unexpected EOF";break}i&&o(c+131072);for(var te=c+$;c<te;c+=4)t[c]=t[c-X],t[c+1]=t[c+1-X],t[c+2]=t[c+2-X],t[c+3]=t[c+3-X];c=te}}n.l=h,n.p=J,n.b=c,h&&(u=1,n.m=g,n.d=m,n.n=D)}while(!u);return c==t.length?t:R(t,0,c)},N=new l(0),L=function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"};function O(e,t){return I((L(e),e.subarray(2,-4)),t)}var k="undefined"!=typeof TextDecoder&&new TextDecoder;try{k.decode(N,{stream:!0})}catch(e){}const U="colorSpace"in new o.Texture;class z extends o.DataTextureLoader{constructor(e){super(e),this.type=o.HalfFloatType}parse(e){const t=65536,n=14,r=65537,i=16384,a=Math.pow(2.7182818,2.2);const u={l:0,c:0,lc:0};function s(e,t,n,r,i){for(;n<e;)t=t<<8|G(r,i),n+=8;n-=e,u.l=t>>n&(1<<e)-1,u.c=t,u.lc=n}const l=new Array(59);function c(e,t,n,i,a,o,c){for(var h=n,d=0,p=0;a<=o;a++){if(h.value-n.value>i)return!1;s(6,d,p,e,h);var f=u.l;if(d=u.c,p=u.lc,c[a]=f,63==f){if(h.value-n.value>i)throw"Something wrong with hufUnpackEncTable";s(8,d,p,e,h);var m=u.l+6;if(d=u.c,p=u.lc,a+m>o+1)throw"Something wrong with hufUnpackEncTable";for(;m--;)c[a++]=0;a--}else if(f>=59){if(a+(m=f-59+2)>o+1)throw"Something wrong with hufUnpackEncTable";for(;m--;)c[a++]=0;a--}}!function(e){for(var t=0;t<=58;++t)l[t]=0;for(t=0;t<r;++t)l[e[t]]+=1;var n=0;for(t=58;t>0;--t){var i=n+l[t]>>1;l[t]=n,n=i}for(t=0;t<r;++t){var a=e[t];a>0&&(e[t]=a|l[a]++<<6)}}(c)}function h(e){return 63&e}function d(e){return e>>6}const p={c:0,lc:0};function f(e,t,n,r){e=e<<8|G(n,r),t+=8,p.c=e,p.lc=t}const m={c:0,lc:0};function g(e,t,n,r,i,a,o,u,s,l){if(e==t){r<8&&(f(n,r,i,o),n=p.c,r=p.lc);var c=n>>(r-=8);c=new Uint8Array([c])[0];if(s.value+c>l)return!1;for(var h=u[s.value-1];c-- >0;)u[s.value++]=h}else{if(!(s.value<l))return!1;u[s.value++]=e}m.c=n,m.lc=r}function _(e){return 65535&e}function D(e){var t=_(e);return t>32767?t-65536:t}const v={a:0,b:0};function y(e,t){var n=D(e),r=D(t),i=n+(1&r)+(r>>1),a=i,o=i-r;v.a=a,v.b=o}function E(e,t){var n=_(e),r=_(t),i=n-(r>>1)&65535,a=r+i-32768&65535;v.a=a,v.b=i}function A(e,t,n,r,i,a,o){for(var u,s=o<16384,l=n>i?i:n,c=1;c<=l;)c<<=1;for(u=c>>=1,c>>=1;c>=1;){for(var h,d,p,f,m=0,g=m+a*(i-u),_=a*c,D=a*u,A=r*c,C=r*u;m<=g;m+=D){for(var F=m,b=m+r*(n-u);F<=b;F+=C){var S=F+A,x=(B=F+_)+A;s?(y(e[F+t],e[B+t]),h=v.a,p=v.b,y(e[S+t],e[x+t]),d=v.a,f=v.b,y(h,d),e[F+t]=v.a,e[S+t]=v.b,y(p,f),e[B+t]=v.a,e[x+t]=v.b):(E(e[F+t],e[B+t]),h=v.a,p=v.b,E(e[S+t],e[x+t]),d=v.a,f=v.b,E(h,d),e[F+t]=v.a,e[S+t]=v.b,E(p,f),e[B+t]=v.a,e[x+t]=v.b)}if(n&c){var B=F+_;s?y(e[F+t],e[B+t]):E(e[F+t],e[B+t]),h=v.a,e[B+t]=v.b,e[F+t]=h}}if(i&c)for(F=m,b=m+r*(n-u);F<=b;F+=C){S=F+A;s?y(e[F+t],e[S+t]):E(e[F+t],e[S+t]),h=v.a,e[S+t]=v.b,e[F+t]=h}u=c,c>>=1}return m}function C(e,t,a,o,u,s){var l=a.value,_=H(t,a),D=H(t,a);a.value+=4;var v=H(t,a);if(a.value+=4,_<0||_>=r||D<0||D>=r)throw"Something wrong with HUF_ENCSIZE";var y=new Array(r),E=new Array(i);if(function(e){for(var t=0;t<i;t++)e[t]={},e[t].len=0,e[t].lit=0,e[t].p=null}(E),c(e,0,a,o-(a.value-l),_,D,y),v>8*(o-(a.value-l)))throw"Something wrong with hufUncompress";!function(e,t,r,i){for(;t<=r;t++){var a=d(e[t]),o=h(e[t]);if(a>>o)throw"Invalid table entry";if(o>n){if((c=i[a>>o-n]).len)throw"Invalid table entry";if(c.lit++,c.p){var u=c.p;c.p=new Array(c.lit);for(var s=0;s<c.lit-1;++s)c.p[s]=u[s]}else c.p=new Array(1);c.p[c.lit-1]=t}else if(o){var l=0;for(s=1<<n-o;s>0;s--){var c;if((c=i[(a<<n-o)+l]).len||c.p)throw"Invalid table entry";c.len=o,c.lit=t,l++}}}}(y,_,D,E),function(e,t,r,i,a,o,u,s,l,c){for(var _=0,D=0,v=s,y=Math.trunc(a.value+(o+7)/8);a.value<y;)for(f(_,D,r,a),_=p.c,D=p.lc;D>=n;)if((F=t[_>>D-n&16383]).len)D-=F.len,g(F.lit,u,_,D,r,0,a,l,c,v),_=m.c,D=m.lc;else{if(!F.p)throw"hufDecode issues";var E;for(E=0;E<F.lit;E++){for(var A=h(e[F.p[E]]);D<A&&a.value<y;)f(_,D,r,a),_=p.c,D=p.lc;if(D>=A&&d(e[F.p[E]])==(_>>D-A&(1<<A)-1)){D-=A,g(F.p[E],u,_,D,r,0,a,l,c,v),_=m.c,D=m.lc;break}}if(E==F.lit)throw"hufDecode issues"}var C=8-o&7;for(_>>=C,D-=C;D>0;){var F;if(!(F=t[_<<n-D&16383]).len)throw"hufDecode issues";D-=F.len,g(F.lit,u,_,D,r,0,a,l,c,v),_=m.c,D=m.lc}}(y,E,e,0,a,v,D,s,u,{value:0})}function F(e){for(var t=1;t<e.length;t++){var n=e[t-1]+e[t]-128;e[t]=n}}function b(e,t){for(var n=0,r=Math.floor((e.length+1)/2),i=0,a=e.length-1;!(i>a||(t[i++]=e[n++],i>a));)t[i++]=e[r++]}function S(e){for(var t=e.byteLength,n=new Array,r=0,i=new DataView(e);t>0;){var a=i.getInt8(r++);if(a<0){t-=(u=-a)+1;for(var o=0;o<u;o++)n.push(i.getUint8(r++))}else{var u=a;t-=2;var s=i.getUint8(r++);for(o=0;o<u+1;o++)n.push(s)}}return n}function x(e,t,n){for(var r,i=1;i<64;)65280==(r=t[e.value])?i=64:r>>8==255?i+=255&r:(n[i]=r,i++),e.value++}function B(e,t){t[0]=J(e[0]),t[1]=J(e[1]),t[2]=J(e[5]),t[3]=J(e[6]),t[4]=J(e[14]),t[5]=J(e[15]),t[6]=J(e[27]),t[7]=J(e[28]),t[8]=J(e[2]),t[9]=J(e[4]),t[10]=J(e[7]),t[11]=J(e[13]),t[12]=J(e[16]),t[13]=J(e[26]),t[14]=J(e[29]),t[15]=J(e[42]),t[16]=J(e[3]),t[17]=J(e[8]),t[18]=J(e[12]),t[19]=J(e[17]),t[20]=J(e[25]),t[21]=J(e[30]),t[22]=J(e[41]),t[23]=J(e[43]),t[24]=J(e[9]),t[25]=J(e[11]),t[26]=J(e[18]),t[27]=J(e[24]),t[28]=J(e[31]),t[29]=J(e[40]),t[30]=J(e[44]),t[31]=J(e[53]),t[32]=J(e[10]),t[33]=J(e[19]),t[34]=J(e[23]),t[35]=J(e[32]),t[36]=J(e[39]),t[37]=J(e[45]),t[38]=J(e[52]),t[39]=J(e[54]),t[40]=J(e[20]),t[41]=J(e[22]),t[42]=J(e[33]),t[43]=J(e[38]),t[44]=J(e[46]),t[45]=J(e[51]),t[46]=J(e[55]),t[47]=J(e[60]),t[48]=J(e[21]),t[49]=J(e[34]),t[50]=J(e[37]),t[51]=J(e[47]),t[52]=J(e[50]),t[53]=J(e[56]),t[54]=J(e[59]),t[55]=J(e[61]),t[56]=J(e[35]),t[57]=J(e[36]),t[58]=J(e[48]),t[59]=J(e[49]),t[60]=J(e[57]),t[61]=J(e[58]),t[62]=J(e[62]),t[63]=J(e[63])}
2function w(e){const t=.5*Math.cos(.7853975),n=.5*Math.cos(3.14159/16),r=.5*Math.cos(3.14159/8),i=.5*Math.cos(3*3.14159/16),a=.5*Math.cos(.981746875),o=.5*Math.cos(3*3.14159/8),u=.5*Math.cos(1.374445625);for(var s=new Array(4),l=new Array(4),c=new Array(4),h=new Array(4),d=0;d<8;++d){var p=8*d;s[0]=r*e[p+2],s[1]=o*e[p+2],s[2]=r*e[p+6],s[3]=o*e[p+6],l[0]=n*e[p+1]+i*e[p+3]+a*e[p+5]+u*e[p+7],l[1]=i*e[p+1]-u*e[p+3]-n*e[p+5]-a*e[p+7],l[2]=a*e[p+1]-n*e[p+3]+u*e[p+5]+i*e[p+7],l[3]=u*e[p+1]-a*e[p+3]+i*e[p+5]-n*e[p+7],c[0]=t*(e[p+0]+e[p+4]),c[3]=t*(e[p+0]-e[p+4]),c[1]=s[0]+s[3],c[2]=s[1]-s[2],h[0]=c[0]+c[1],h[1]=c[3]+c[2],h[2]=c[3]-c[2],h[3]=c[0]-c[1],e[p+0]=h[0]+l[0],e[p+1]=h[1]+l[1],e[p+2]=h[2]+l[2],e[p+3]=h[3]+l[3],e[p+4]=h[3]-l[3],e[p+5]=h[2]-l[2],e[p+6]=h[1]-l[1],e[p+7]=h[0]-l[0]}for(var f=0;f<8;++f)s[0]=r*e[16+f],s[1]=o*e[16+f],s[2]=r*e[48+f],s[3]=o*e[48+f],l[0]=n*e[8+f]+i*e[24+f]+a*e[40+f]+u*e[56+f],l[1]=i*e[8+f]-u*e[24+f]-n*e[40+f]-a*e[56+f],l[2]=a*e[8+f]-n*e[24+f]+u*e[40+f]+i*e[56+f],l[3]=u*e[8+f]-a*e[24+f]+i*e[40+f]-n*e[56+f],c[0]=t*(e[f]+e[32+f]),c[3]=t*(e[f]-e[32+f]),c[1]=s[0]+s[3],c[2]=s[1]-s[2],h[0]=c[0]+c[1],h[1]=c[3]+c[2],h[2]=c[3]-c[2],h[3]=c[0]-c[1],e[0+f]=h[0]+l[0],e[8+f]=h[1]+l[1],e[16+f]=h[2]+l[2],e[24+f]=h[3]+l[3],e[32+f]=h[3]-l[3],e[40+f]=h[2]-l[2],e[48+f]=h[1]-l[1],e[56+f]=h[0]-l[0]}function M(e){for(var t=0;t<64;++t){var n=e[0][t],r=e[1][t],i=e[2][t];e[0][t]=n+1.5747*i,e[1][t]=n-.1873*r-.4682*i,e[2][t]=n+1.8556*r}}function T(e,t,n){for(var r=0;r<64;++r)t[n+r]=o.DataUtils.toHalfFloat(P(e[r]))}function P(e){return e<=1?Math.sign(e)*Math.pow(Math.abs(e),2.2):Math.sign(e)*Math.pow(a,Math.abs(e)-1)}function R(e){return new DataView(e.array.buffer,e.offset.value,e.size)}function I(e){var t=e.viewer.buffer.slice(e.offset.value,e.offset.value+e.size),n=new Uint8Array(S(t)),r=new Uint8Array(n.length);return F(n),b(n,r),new DataView(r.buffer)}function N(e){var t=O(e.array.slice(e.offset.value,e.offset.value+e.size)),n=new Uint8Array(t.length);return F(t),b(t,n),new DataView(n.buffer)}function L(e){for(var n=e.viewer,r={value:e.offset.value},i=new Uint16Array(e.width*e.scanlineBlockSize*(e.channels*e.type)),a=new Uint8Array(8192),o=0,u=new Array(e.channels),s=0;s<e.channels;s++)u[s]={},u[s].start=o,u[s].end=u[s].start,u[s].nx=e.width,u[s].ny=e.lines,u[s].size=e.type,o+=u[s].nx*u[s].ny*u[s].size;var l=Y(n,r),c=Y(n,r);if(c>=8192)throw"Something is wrong with PIZ_COMPRESSION BITMAP_SIZE";if(l<=c)for(s=0;s<c-l+1;s++)a[s+l]=j(n,r);var h=new Uint16Array(t),d=function(e,n){for(var r=0,i=0;i<t;++i)(0==i||e[i>>3]&1<<(7&i))&&(n[r++]=i);for(var a=r-1;r<t;)n[r++]=0;return a}(a,h),p=H(n,r);C(e.array,n,r,p,i,o);for(s=0;s<e.channels;++s)for(var f=u[s],m=0;m<u[s].size;++m)A(i,f.start+m,f.nx,f.size,f.ny,f.nx*f.size,d);!function(e,t,n){for(var r=0;r<n;++r)t[r]=e[t[r]]}(h,i,o);for(var g=0,_=new Uint8Array(i.buffer.byteLength),D=0;D<e.lines;D++)for(var v=0;v<e.channels;v++){var y=(f=u[v]).nx*f.size,E=new Uint8Array(i.buffer,2*f.end,2*y);_.set(E,g),g+=2*y,f.end+=y}return new DataView(_.buffer)}function k(e){var t=O(e.array.slice(e.offset.value,e.offset.value+e.size));const n=e.lines*e.channels*e.width,r=1==e.type?new Uint16Array(n):new Uint32Array(n);let i=0,a=0;const o=new Array(4);for(let n=0;n<e.lines;n++)for(let n=0;n<e.channels;n++){let n=0;switch(e.type){case 1:o[0]=i,o[1]=o[0]+e.width,i=o[1]+e.width;for(let i=0;i<e.width;++i){n+=t[o[0]++]<<8|t[o[1]++],r[a]=n,a++}break;case 2:o[0]=i,o[1]=o[0]+e.width,o[2]=o[1]+e.width,i=o[2]+e.width;for(let i=0;i<e.width;++i){n+=t[o[0]++]<<24|t[o[1]++]<<16|t[o[2]++]<<8,r[a]=n,a++}}}return new DataView(r.buffer)}function z(e){var t=e.viewer,n={value:e.offset.value},r=new Uint8Array(e.width*e.lines*(e.channels*e.type*2)),i={version:X(t,n),unknownUncompressedSize:X(t,n),unknownCompressedSize:X(t,n),acCompressedSize:X(t,n),dcCompressedSize:X(t,n),rleCompressedSize:X(t,n),rleUncompressedSize:X(t,n),rleRawSize:X(t,n),totalAcUncompressedCount:X(t,n),totalDcUncompressedCount:X(t,n),acCompression:X(t,n)};if(i.version<2)throw"EXRLoader.parse: "+ne.compression+" version "+i.version+" is unsupported";for(var a=new Array,o=Y(t,n)-2;o>0;){var u=V(t.buffer,n),s=j(t,n),l=s>>2&3,c=new Int8Array([(s>>4)-1])[0],h=j(t,n);a.push({name:u,index:c,type:h,compression:l}),o-=u.length+3}for(var d=ne.channels,p=new Array(e.channels),f=0;f<e.channels;++f){var m=p[f]={},g=d[f];m.name=g.name,m.compression=0,m.decoded=!1,m.type=g.pixelType,m.pLinear=g.pLinear,m.width=e.width,m.height=e.lines}for(var _={idx:new Array(3)},D=0;D<e.channels;++D)for(m=p[D],f=0;f<a.length;++f){var v=a[f];m.name==v.name&&(m.compression=v.compression,v.index>=0&&(_.idx[v.index]=D),m.offset=D)}if(i.acCompressedSize>0)switch(i.acCompression){case 0:var y=new Uint16Array(i.totalAcUncompressedCount);C(e.array,t,n,i.acCompressedSize,y,i.totalAcUncompressedCount);break;
2case 1:var E=O(e.array.slice(n.value,n.value+i.totalAcUncompressedCount));y=new Uint16Array(E.buffer);n.value+=i.totalAcUncompressedCount}if(i.dcCompressedSize>0){var A={array:e.array,offset:n,size:i.dcCompressedSize},F=new Uint16Array(N(A).buffer);n.value+=i.dcCompressedSize}if(i.rleRawSize>0){var b=S((E=O(e.array.slice(n.value,n.value+i.rleCompressedSize))).buffer);n.value+=i.rleCompressedSize}var P=0,R=new Array(p.length);for(f=0;f<R.length;++f)R[f]=new Array;for(var I=0;I<e.lines;++I)for(var L=0;L<p.length;++L)R[L].push(P),P+=p[L].width*e.type*2;!function(e,t,n,r,i,a){var o=new DataView(a.buffer),u=n[e.idx[0]].width,s=n[e.idx[0]].height,l=Math.floor(u/8),c=Math.ceil(u/8),h=Math.ceil(s/8),d=u-8*(c-1),p=s-8*(h-1),f={value:0},m=new Array(3),g=new Array(3),_=new Array(3),D=new Array(3),v=new Array(3);for(let n=0;n<3;++n)v[n]=t[e.idx[n]],m[n]=n<1?0:m[n-1]+c*h,g[n]=new Float32Array(64),_[n]=new Uint16Array(64),D[n]=new Uint16Array(64*c);for(let t=0;t<h;++t){var y=8;t==h-1&&(y=p);var E=8;for(let e=0;e<c;++e){e==c-1&&(E=d);for(let e=0;e<3;++e)_[e].fill(0),_[e][0]=i[m[e]++],x(f,r,_[e]),B(_[e],g[e]),w(g[e]);M(g);for(let t=0;t<3;++t)T(g[t],D[t],64*e)}let a=0;for(let r=0;r<3;++r){const i=n[e.idx[r]].type;for(let e=8*t;e<8*t+y;++e){a=v[r][e];for(let t=0;t<l;++t){const n=64*t+8*(7&e);o.setUint16(a+0*i,D[r][n+0],!0),o.setUint16(a+2*i,D[r][n+1],!0),o.setUint16(a+4*i,D[r][n+2],!0),o.setUint16(a+6*i,D[r][n+3],!0),o.setUint16(a+8*i,D[r][n+4],!0),o.setUint16(a+10*i,D[r][n+5],!0),o.setUint16(a+12*i,D[r][n+6],!0),o.setUint16(a+14*i,D[r][n+7],!0),a+=16*i}}if(l!=c)for(let e=8*t;e<8*t+y;++e){const t=v[r][e]+8*l*2*i,n=64*l+8*(7&e);for(let e=0;e<E;++e)o.setUint16(t+2*e*i,D[r][n+e],!0)}}}for(var A=new Uint16Array(u),C=(o=new DataView(a.buffer),0);C<3;++C){n[e.idx[C]].decoded=!0;var F=n[e.idx[C]].type;if(2==n[C].type)for(var b=0;b<s;++b){const e=v[C][b];for(var S=0;S<u;++S)A[S]=o.getUint16(e+2*S*F,!0);for(S=0;S<u;++S)o.setFloat32(e+2*S*F,J(A[S]),!0)}}}(_,R,p,y,F,r);for(f=0;f<p.length;++f){if(!(m=p[f]).decoded){if(2!==m.compression)throw"EXRLoader.parse: unsupported channel compression";var k=0,U=0;for(I=0;I<e.lines;++I){for(var z=R[f][k],W=0;W<m.width;++W){for(var H=0;H<2*m.type;++H)r[z++]=b[U+H*m.width*m.height];U++}k++}}}return new DataView(r.buffer)}function V(e,t){for(var n=new Uint8Array(e),r=0;0!=n[t.value+r];)r+=1;var i=(new TextDecoder).decode(n.slice(t.value,t.value+r));return t.value=t.value+r+1,i}function W(e,t){var n=e.getInt32(t.value,!0);return t.value=t.value+4,n}function H(e,t){var n=e.getUint32(t.value,!0);return t.value=t.value+4,n}function G(e,t){var n=e[t.value];return t.value=t.value+1,n}function j(e,t){var n=e.getUint8(t.value);return t.value=t.value+1,n}const X=function(e,t){let n;return n="getBigInt64"in DataView.prototype?Number(e.getBigInt64(t.value,!0)):e.getUint32(t.value+4,!0)+Number(e.getUint32(t.value,!0)<<32),t.value+=8,n};function K(e,t){var n=e.getFloat32(t.value,!0);return t.value+=4,n}function q(e,t){return o.DataUtils.toHalfFloat(K(e,t))}function J(e){var t=(31744&e)>>10,n=1023&e;return(e>>15?-1:1)*(t?31===t?n?NaN:1/0:Math.pow(2,t-15)*(1+n/1024):n/1024*6103515625e-14)}function Y(e,t){var n=e.getUint16(t.value,!0);return t.value+=2,n}function $(e,t){return J(Y(e,t))}function Q(e,t,n,r,i){return"string"===r||"stringvector"===r||"iccProfile"===r?function(e,t,n){var r=(new TextDecoder).decode(new Uint8Array(e).slice(t.value,t.value+n));return t.value=t.value+n,r}(t,n,i):"chlist"===r?function(e,t,n,r){for(var i=n.value,a=[];n.value<i+r-1;){var o=V(t,n),u=W(e,n),s=j(e,n);n.value+=3;var l=W(e,n),c=W(e,n);a.push({name:o,pixelType:u,pLinear:s,xSampling:l,ySampling:c})}return n.value+=1,a}(e,t,n,i):"chromaticities"===r?function(e,t){return{redX:K(e,t),redY:K(e,t),greenX:K(e,t),greenY:K(e,t),blueX:K(e,t),blueY:K(e,t),whiteX:K(e,t),whiteY:K(e,t)}}(e,n):"compression"===r?function(e,t){return["NO_COMPRESSION","RLE_COMPRESSION","ZIPS_COMPRESSION","ZIP_COMPRESSION","PIZ_COMPRESSION","PXR24_COMPRESSION","B44_COMPRESSION","B44A_COMPRESSION","DWAA_COMPRESSION","DWAB_COMPRESSION"][j(e,t)]}(e,n):"box2i"===r?function(e,t){return{xMin:H(e,t),yMin:H(e,t),xMax:H(e,t),yMax:H(e,t)}}
2(e,n):"lineOrder"===r?function(e,t){return["INCREASING_Y"][j(e,t)]}(e,n):"float"===r?K(e,n):"v2f"===r?function(e,t){return[K(e,t),K(e,t)]}(e,n):"v3f"===r?function(e,t){return[K(e,t),K(e,t),K(e,t)]}(e,n):"int"===r?W(e,n):"rational"===r?function(e,t){return[W(e,t),H(e,t)]}(e,n):"timecode"===r?function(e,t){return[H(e,t),H(e,t)]}(e,n):"preview"===r?(n.value+=i,"skipped"):void(n.value+=i)}const Z=new DataView(e),ee=new Uint8Array(e),te={value:0},ne=function(e,t,n){const r={};if(20000630!=e.getUint32(0,!0))throw"THREE.EXRLoader: provided file doesn't appear to be in OpenEXR format.";r.version=e.getUint8(4);const i=e.getUint8(5);r.spec={singleTile:!!(2&i),longName:!!(4&i),deepFormat:!!(8&i),multiPart:!!(16&i)},n.value=8;for(var a=!0;a;){var o=V(t,n);if(0==o)a=!1;else{var u=V(t,n),s=Q(e,t,n,u,H(e,n));void 0===s?console.warn(`EXRLoader.parse: skipped unknown header attribute type '${u}'.`):r[o]=s}}if(-5&i)throw console.error("EXRHeader:",r),"THREE.EXRLoader: provided file is currently unsupported.";return r}(Z,e,te),re=function(e,t,n,r,i){const a={size:0,viewer:t,array:n,offset:r,width:e.dataWindow.xMax-e.dataWindow.xMin+1,height:e.dataWindow.yMax-e.dataWindow.yMin+1,channels:e.channels.length,bytesPerLine:null,lines:null,inputSize:null,type:e.channels[0].pixelType,uncompress:null,getter:null,format:null,[U?"colorSpace":"encoding"]:null};switch(e.compression){case"NO_COMPRESSION":a.lines=1,a.uncompress=R;break;case"RLE_COMPRESSION":a.lines=1,a.uncompress=I;break;case"ZIPS_COMPRESSION":a.lines=1,a.uncompress=N;break;case"ZIP_COMPRESSION":a.lines=16,a.uncompress=N;break;case"PIZ_COMPRESSION":a.lines=32,a.uncompress=L;break;case"PXR24_COMPRESSION":a.lines=16,a.uncompress=k;break;case"DWAA_COMPRESSION":a.lines=32,a.uncompress=z;break;case"DWAB_COMPRESSION":a.lines=256,a.uncompress=z;break;default:throw"EXRLoader.parse: "+e.compression+" is unsupported"}if(a.scanlineBlockSize=a.lines,1==a.type)switch(i){case o.FloatType:a.getter=$,a.inputSize=2;break;case o.HalfFloatType:a.getter=Y,a.inputSize=2}else{if(2!=a.type)throw"EXRLoader.parse: unsupported pixelType "+a.type+" for "+e.compression+".";switch(i){case o.FloatType:a.getter=K,a.inputSize=4;break;case o.HalfFloatType:a.getter=q,a.inputSize=4}}a.blockCount=(e.dataWindow.yMax+1)/a.scanlineBlockSize;for(var u=0;u<a.blockCount;u++)X(t,r);a.outputChannels=3==a.channels?4:a.channels;const s=a.width*a.height*a.outputChannels;switch(i){case o.FloatType:a.byteArray=new Float32Array(s),a.channels<a.outputChannels&&a.byteArray.fill(1,0,s);break;case o.HalfFloatType:a.byteArray=new Uint16Array(s),a.channels<a.outputChannels&&a.byteArray.fill(15360,0,s);break;default:console.error("THREE.EXRLoader: unsupported type: ",i)}return a.bytesPerLine=a.width*a.inputSize*a.channels,4==a.outputChannels?a.format=o.RGBAFormat:a.format=o.RedFormat,U?a.colorSpace="srgb-linear":a.encoding=3e3,a}(ne,Z,ee,te,this.type),ie={value:0},ae={R:0,G:1,B:2,A:3,Y:0};for(let e=0;e<re.height/re.scanlineBlockSize;e++){const t=H(Z,te);re.size=H(Z,te),re.lines=t+re.scanlineBlockSize>re.height?re.height-t:re.scanlineBlockSize;const n=re.size<re.lines*re.bytesPerLine?re.uncompress(re):R(re);te.value+=re.size;for(let t=0;t<re.scanlineBlockSize;t++){const r=t+e*re.scanlineBlockSize;if(r>=re.height)break;for(let e=0;e<re.channels;e++){const i=ae[ne.channels[e].name];for(let a=0;a<re.width;a++){ie.value=(t*(re.channels*re.width)+e*re.width+a)*re.inputSize;const o=(re.height-1-r)*(re.width*re.outputChannels)+a*re.outputChannels+i;re.byteArray[o]=re.getter(n,ie)}}}}return{header:ne,width:re.width,height:re.height,data:re.byteArray,format:re.format,[U?"colorSpace":"encoding"]:re[U?"colorSpace":"encoding"],type:this.t
2ype}}setDataType(e){return this.type=e,this}load(e,t,n,r){return super.load(e,(function(e,n){U?e.colorSpace=n.colorSpace:e.encoding=n.encoding,e.minFilter=o.LinearFilter,e.magFilter=o.LinearFilter,e.generateMipmaps=!1,e.flipY=!1,t&&t(e,n)}),n,r)}}const V=(e,t,n)=>{let r;switch(e){case o.UnsignedByteType:r=new Uint8ClampedArray(t*n*4);break;case o.HalfFloatType:r=new Uint16Array(t*n*4);break;case o.UnsignedIntType:r=new Uint32Array(t*n*4);break;case o.ByteType:r=new Int8Array(t*n*4);break;case o.ShortType:r=new Int16Array(t*n*4);break;case o.IntType:r=new Int32Array(t*n*4);break;case o.FloatType:r=new Float32Array(t*n*4);break;default:throw new Error("Unsupported data type")}return r};let W;class H{constructor(e){var t,n,r,i,a,u,s,l,c,h,d,p,f,m,g,_;this._rendererIsDisposable=!1,this._supportsReadPixels=!0,this.render=()=>{this._renderer.setRenderTarget(this._renderTarget);try{this._renderer.render(this._scene,this._camera)}catch(e){throw this._renderer.setRenderTarget(null),e}this._renderer.setRenderTarget(null)},this._width=e.width,this._height=e.height,this._type=e.type,this._colorSpace
vendor: 4,981 bytes, line 2
2=e.colorSpace;const D={format:o.RGBAFormat,depthBuffer:!1,stencilBuffer:!1,type:this._type,colorSpace:this._colorSpace,anisotropy:void 0!==(null===(t=e.renderTargetOptions)||void 0===t?void 0:t.anisotropy)?null===(n=e.renderTargetOptions)||void 0===n?void 0:n.anisotropy:1,generateMipmaps:void 0!==(null===(r=e.renderTargetOptions)||void 0===r?void 0:r.generateMipmaps)&&(null===(i=e.renderTargetOptions)||void 0===i?void 0:i.generateMipmaps),magFilter:void 0!==(null===(a=e.renderTargetOptions)||void 0===a?void 0:a.magFilter)?null===(u=e.renderTargetOptions)||void 0===u?void 0:u.magFilter:o.LinearFilter,minFilter:void 0!==(null===(s=e.renderTargetOptions)||void 0===s?void 0:s.minFilter)?null===(l=e.renderTargetOptions)||void 0===l?void 0:l.minFilter:o.LinearFilter,samples:void 0!==(null===(c=e.renderTargetOptions)||void 0===c?void 0:c.samples)?null===(h=e.renderTargetOptions)||void 0===h?void 0:h.samples:void 0,wrapS:void 0!==(null===(d=e.renderTargetOptions)||void 0===d?void 0:d.wrapS)?null===(p=e.renderTargetOptions)||void 0===p?void 0:p.wrapS:o.ClampToEdgeWrapping,wrapT:void 0!==(null===(f=e.renderTargetOptions)||void 0===f?void 0:f.wrapT)?null===(m=e.renderTargetOptions)||void 0===m?void 0:m.wrapT:o.ClampToEdgeWrapping};if(this._material=e.material,e.renderer?this._renderer=e.renderer:(this._renderer=H.instantiateRenderer(),this._rendererIsDisposable=!0),this._scene=new o.Scene,this._camera=new o.OrthographicCamera,this._camera.position.set(0,0,10),this._camera.left=-.5,this._camera.right=.5,this._camera.top=.5,this._camera.bottom=-.5,this._camera.updateProjectionMatrix(),!((e,t,n,r)=>{if(void 0!==W)return W;const i=new o.WebGLRenderTarget(1,1,r);t.setRenderTarget(i);const a=new o.Mesh(new o.PlaneGeometry,new o.MeshBasicMaterial({color:16777215}));t.render(a,n),t.setRenderTarget(null);const u=V(e,i.width,i.height);return t.readRenderTargetPixels(i,0,0,i.width,i.height,u),i.dispose(),a.geometry.dispose(),a.material.dispose(),W=0!==u[0],W})(this._type,this._renderer,this._camera,D)){let e;if(this._type===o.HalfFloatType)e=this._renderer.extensions.has("EXT_color_buffer_float")?o.FloatType:void 0;void 0!==e?(console.warn(`This browser does not support reading pixels from ${this._type} RenderTargets, switching to ${o.FloatType}`),this._type=e):(this._supportsReadPixels=!1,console.warn("This browser dos not support toArray or toDataTexture, calls to those methods will result in an error thrown"))}this._quad=new o.Mesh(new o.PlaneGeometry,this._material),this._quad.geometry.computeBoundingBox(),this._scene.add(this._quad),this._renderTarget=new o.WebGLRenderTarget(this.width,this.height,D),this._renderTarget.texture.mapping=void 0!==(null===(g=e.renderTargetOptions)||void 0===g?void 0:g.mapping)?null===(_=e.renderTargetOptions)||void 0===_?void 0:_.mapping:o.UVMapping}static instantiateRenderer(){const e=new o.WebGLRenderer;return e.setSize(128,128),e}toArray(){if(!this._supportsReadPixels)throw new Error("Can't read pixels in this browser");const e=V(this._type,this._width,this._height);return this._renderer.readRenderTargetPixels(this._renderTarget,0,0,this._width,this._height,e),e}toDataTexture(e){const t=new o.DataTexture(this.toArray(),this.width,this.height,o.RGBAFormat,this._type,(null==e?void 0:e.mapping)||o.UVMapping,(null==e?void 0:e.wrapS)||o.ClampToEdgeWrapping,(null==e?void 0:e.wrapT)||o.ClampToEdgeWrapping,(null==e?void 0:e.magFilter)||o.LinearFilter,(null==e?void 0:e.minFilter)||o.LinearFilter,(null==e?void 0:e.anisotropy)||1,o.LinearSRGBColorSpace);return t.generateMipmaps=void 0!==(null==e?void 0:e.generateMipmaps)&&(null==e?void 0:e.generateMipmaps),t}disposeOnDemandRenderer(){this._renderer.setRenderTarget(null),this._rendererIsDisposable&&(this._renderer.dispose(),this._renderer.forceContextLoss())}dispose(e){this.disposeOnDemandRenderer(),e&&this.renderTarget.dispose(),this.material instanceof o.ShaderMaterial&&Object.values(this.material.uniforms).forEach((e=>{e.value instanceof o.Texture&&e.value.dispose()})),Object.values(this.material).forEach((e=>{e instanceof o.Texture&&e.dispose()})),this.material.dispose(),this._quad.geometry.dispose()}get width(){return this._width}set width(e){this._width=e,this._renderTarget.setSize(this._width,this._height)}get height(){return this._height}set height(e){this._height=e,this._renderTarget.setSize(this._width,this._height)}get renderer(){return this._renderer}get renderTarget(){return this._renderTarget}set renderTarget(e){this._renderTarget=e,this._width=e.width,this._height=e.height}get material(){return this._material}get type(){return this._type}get colorSpace(){return this._colorSpace}}class G extends o.ShaderMaterial{constructor({gamma:e,offsetHdr:t,offsetSdr:n,gainMapMin:r,gainMapMax:i,maxDisplayBoost:a,hdrCapacityMin:u,hdrCapacityMax:s,sdr:l,gainMap:c}){super({name:"GainMapDecoderMaterial",vertexShader:"\nvarying vec2 vUv;\n\nvoid main() {\n  vUv = uv;\n  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0
2);\n}\n",fragmentShader:"\n// min half float value\n#define HALF_FLOAT_MIN vec3( -65504, -65504, -65504 )\n// max half float value\n#define HALF_FLOAT_MAX vec3( 65504, 65504, 65504 )\n\nuniform sampler2D sdr;\nuniform sampler2D gainMap;\nuniform vec3 gamma;\nuniform vec3 offsetHdr;\nuniform vec3 offsetSdr;\nuniform vec3 gainMapMin;\nuniform vec3 gainMapMax;\nuniform float weightFactor;\n\nvarying vec2 vUv;\n\nvoid main() {\n  vec3 rgb = texture2D( sdr, vUv ).rgb;\n  vec3 recovery = texture2D( gainMap, vUv ).rgb;\n  vec3 logRecovery = pow( recovery, gamma );\n  vec3 logBoost = gainMapMin * ( 1.0 - logRecovery ) + gainMapMax * logRecovery;\n  vec3 hdrColor = (rgb + offsetSdr) * exp2( logBoost * weightFactor ) - offsetHdr;\n  vec3 clampedHdrColor = max( HALF_FLOAT_MIN, min( HALF_FLOAT_MAX, hdrColor ));\n  gl_FragColor = vec4( clampedHdrColor , 1.0 );\n}\n",uniforms:{sdr:{value:l},gainMap:{value:c},gamma:{value:new o.Vector3(1/e[0],1/e[1],1/e[2])},offsetHdr:{value:(new o.Vector3).fromArray(t)},offsetSdr:{value:(new o.Vector3).fromArray(n)},gainMapMin:{value:(new o.Vector3).fromArray(r)},gainMapMax:{value:(new o.Vector3).fromArray(i)},weightFactor:{value:(Math.log2(a)-u)/(s-u)}},blending:o.NoBlending,depthTest:!1,depthWrite:!1}),this._maxDisplayBoost=a,this._hdrCapacityMin=u,this._hdrCapacityMax=s,this.needsUpdate=!0,this.uniformsNeedUpdate=!0}get sdr(){return this.uniforms.sdr.value}set sdr(e){this.uniforms.sdr.value=e}get gainMap(){return this.uniforms.gainMap.value}set gainMap(e){this.uniforms.gainMap.value=e}get offsetHdr(){return this.uniforms.offsetHdr.value.toArray()}set offsetHdr(e){this.uniforms.offsetHdr.value.fromArray(e)}get offsetSdr(){return this.uniforms.offsetSdr.value.toArray()}set offsetSdr(e){this.uniforms.offsetSdr.value.fromArray(e)}get gainMapMin(){return this.uniforms.gainMapMin.value.toArray()}set gainMapMin(e){this.uniforms.gainMapMin.value.fromArray(e)}get gainMapMax(){return this.uniforms.gainMapMax.value.toArray()}set gainMapMax(e){this.uniforms.gainMapMax.value.fromArray(e)}get gamma(){const e=this.uniforms.gamma.value;return[1/e.x,1/e.y,1/e.z]}set gamma(e){const t=this.uniforms.gamma.value;t.x=1/e[0],t.y=1/e[1],t.z=1/e[2]}get hdrCapacityMin(){return this._hdrCapacityMin}set hdrCapacityMin(e){this._hdrCapacityMin=e,this.calculateWeight()}get hdrCapacityMax(){return this._hdrCapacityMax}set hdrCapacityMax(e){this._hdrCapacityMax=e,this.calculateWeight()}get maxDisplayBoost(){return this._maxDisplayBoost}set maxDisplayBoost(e){this._maxDisplayBoost=Math.max(1,Math.min(65504,e)),this.calculateWeight()}calculateWeight(){const e=(Math.log2(this._maxDisplayBoost)-this._hdrCapacityMin)/(this._hdrCapacityMax-this._hdrCapacityMin);this.uniforms.weightFactor.value=Math.max(0,Math.min(1,e))}}class j extends Error{}class X extends Error{}const K=(e,t,n)=>{var r;let i;const a=null===(r=e.attributes.getNamedItem(t))||void 0===r?void 0:r.nodeValue;if(a)i=a;else{const r=e.getElementsByTagName(t)[0];if(!r){if(n)return n;throw new Error(`Can't find ${t} in gainmap metadata`)}{const e=r.getElementsByTagName("rdf:li");if(3!==e.length)throw new Error(`Gainmap metadata contains an array of items for ${t} but its length is not 3`);
vendor: 5,881 bytes, line 2
2i=Array.from(e).map((e=>e.innerHTML))}}return i};class q{constructor(e){this.options={debug:!(!e||void 0===e.debug)&&e.debug,extractFII:!e||void 0===e.extractFII||e.extractFII,extractNonFII:!e||void 0===e.extractNonFII||e.extractNonFII}}extract(e){return new Promise(((t,n)=>{const r=this.options.debug,i=new DataView(e.buffer);if(65496!==i.getUint16(0))return void n(new Error("Not a valid jpeg"));const a=i.byteLength;let o,u=2,s=0;for(;u<a;){if(++s>250)return void n(new Error(`Found no marker after ${s} loops 😵`));if(255!==i.getUint8(u))return void n(new Error(`Not a valid marker at offset 0x${u.toString(16)}, found: 0x${i.getUint8(u).toString(16)}`));if(o=i.getUint8(u+1),r&&console.log(`Marker: ${o.toString(16)}`),226===o){r&&console.log("Found APP2 marker (0xffe2)");const e=u+4;if(1297106432===i.getUint32(e)){const r=e+4;let a;if(18761===i.getUint16(r))a=!1;else{if(19789!==i.getUint16(r))return void n(new Error("No valid endianness marker found in TIFF header"));a=!0}if(42!==i.getUint16(r+2,!a))return void n(new Error("Not valid TIFF data! (no 0x002A marker)"));const o=i.getUint32(r+4,!a);if(o<8)return void n(new Error("Not valid TIFF data! (First offset less than 8)"));const u=r+o,s=i.getUint16(u,!a),l=u+2;let c=0;for(let e=l;e<l+12*s;e+=12)45057===i.getUint16(e,!a)&&(c=i.getUint32(e+8,!a));const h=u+2+12*s+4,d=[];for(let e=h;e<h+16*c;e+=16){const t={MPType:i.getUint32(e,!a),size:i.getUint32(e+4,!a),dataOffset:i.getUint32(e+8,!a),dependantImages:i.getUint32(e+12,!a),start:-1,end:-1,isFII:!1};t.dataOffset?(t.start=r+t.dataOffset,t.isFII=!1):(t.start=0,t.isFII=!0),t.end=t.start+t.size,d.push(t)}if(this.options.extractNonFII&&d.length){const e=new Blob([i]),n=[];for(const t of d){if(t.isFII&&!this.options.extractFII)continue;const r=e.slice(t.start,t.end+1,"image/jpeg");n.push(r)}t(n)}}}u+=2+i.getUint16(u+2)}}))}}const J=async e=>{const t=(e=>{var t,n;let r;r="undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):e.toString();let i=r.indexOf("<x:xmpmeta");const a=new DOMParser;for(;-1!==i;){const e=r.indexOf("x:xmpmeta>",i);r.slice(i,e+10);const o=r.slice(i,e+10);try{const e=a.parseFromString(o,"text/xml").getElementsByTagName("rdf:Description")[0],r=K(e,"hdrgm:GainMapMin","0"),i=K(e,"hdrgm:GainMapMax"),u=K(e,"hdrgm:Gamma","1"),s=K(e,"hdrgm:OffsetSDR","0.015625"),l=K(e,"hdrgm:OffsetHDR","0.015625");let c=null===(t=e.attributes.getNamedItem("hdrgm:HDRCapacityMin"))||void 0===t?void 0:t.nodeValue;c||(c="0");const h=null===(n=e.attributes.getNamedItem("hdrgm:HDRCapacityMax"))||void 0===n?void 0:n.nodeValue;if(!h)throw new Error("Incomplete gainmap metadata");return{gainMapMin:Array.isArray(r)?r.map((e=>parseFloat(e))):[parseFloat(r),parseFloat(r),parseFloat(r)],gainMapMax:Array.isArray(i)?i.map((e=>parseFloat(e))):[parseFloat(i),parseFloat(i),parseFloat(i)],gamma:Array.isArray(u)?u.map((e=>parseFloat(e))):[parseFloat(u),parseFloat(u),parseFloat(u)],offsetSdr:Array.isArray(s)?s.map((e=>parseFloat(e))):[parseFloat(s),parseFloat(s),parseFloat(s)],offsetHdr:Array.isArray(l)?l.map((e=>parseFloat(e))):[parseFloat(l),parseFloat(l),parseFloat(l)],hdrCapacityMin:parseFloat(c),hdrCapacityMax:parseFloat(h)}}catch(e){}i=r.indexOf("<x:xmpmeta",e)}})(e);if(!t)throw new X("Gain map XMP metadata not found");const n=new q({extractFII:!0,extractNonFII:!0}),r=await n.extract(e);if(2!==r.length)throw new j("Gain map recovery image not found");return{sdr:new Uint8Array(await r[0].arrayBuffer()),gainMap:new Uint8Array(await r[1].arrayBuffer()),metadata:t}},Y=e=>new Promise(((t,n)=>{const r=document.createElement("img");r.onload=()=>{t(r)},r.onerror=e=>{n(e)},r.src=URL.createObjectURL(e)}));class $ extends o.Loader{constructor(e,t){super(t),e&&(this._renderer=e),this._internalLoadingManager=new o.LoadingManager}setRenderer(e){return this._renderer=e,this}setRenderTargetOptions(e){return this._renderTargetOptions=e,this}prepareQuadRenderer(){this._renderer||console.warn("WARNING: An existing WebGL Renderer was not passed to this Loader constructor or in setRenderer, the result of this Loader will need to be converted to a Data Texture with toDataTexture() before you can use it in your renderer.");const e=new G({gainMapMax:[1,1,1],gainMapMin:[0,0,0],gamma:[1,1,1],offsetHdr:[1,1,1],offsetSdr:[1,1,1],hdrCapacityMax:1,hdrCapacityMin:0,maxDisplayBoost:1,gainMap:new o.Texture,sdr:new o.Texture});return new H({width:16,height:16,type:o.HalfFloatType,colorSpace:o.LinearSRGBColorSpace,material:e,renderer:this._renderer,renderTargetOptions:this._renderTargetOptions})}async render(e,t,n,r){const i=r?new Blob([r],{type:"image/jpeg"}):void 0,a=new Blob([n],{type:"image/jpeg"});let u,s,l=!1;if("undefined"==typeof createImageBitmap){const e=await Promise.all([i?Y(i):Promise.resolve(void 0),Y(a)]);s=e[0],u=e[1],l=!0}else{const e=await Promise.all([i?createImageBitmap(i,{imageOrientation:"flipY"}):Promise.resolve(void 0),createImageBitmap(a,{imageOrientation:"flipY"})]);s=e[0],u=e[1]}const c=new o.Texture(s||new ImageData(2,2),o.UVMapping,o.ClampToEdgeWrapping,o.ClampToEdgeWrapping,o.LinearFilter,o.LinearMipMapLinearFilter,o.RGBAFormat,o.UnsignedByteType,1,o.LinearSRGBColorSpace);c.flipY=l,c.needsUpdate=!0;const h=new o.Texture(u,o.UVMapping,o.ClampToEdgeWrapping,o.ClampToEdgeWrapping,o.LinearFilter,o.LinearMipMapLinearFilter,o.RGBAFormat,o.UnsignedByteType,1,o.SRGBColorSpace);h.flipY=l,h.needsUpdate=!0,e.width=u.width,e.height=u.height,e.material.gainMap=c,e.material.sdr=h,e.material.gainMapMin=t.gainMapMin,e.material.gainMapMax=t.gainMapMax,e.material.offsetHdr=t.offsetHdr,e.material.offsetSdr=t.offsetSdr,e.material.gamma=t.gamma,e.material.hdrCapacityMin=t.hdrCapacityMin,e.material.hdrCapacityMax=t.hdrCapacityMax,e.material.maxDisplayBoost=Math.pow(2,t.hdrCapacityMax),e.material.needsUpdate=!0,e.render()}}class Q extends ${load([e,t,n],r,i,a){const u=this.prepareQuadRenderer();let s,l,c;const h=async()=>
2{if(s&&l&&c){try{await this.render(u,c,s,l)}catch(r){return this.manager.itemError(e),this.manager.itemError(t),this.manager.itemError(n),"function"==typeof a&&a(r),void u.disposeOnDemandRenderer()}"function"==typeof r&&r(u),this.manager.itemEnd(e),this.manager.itemEnd(t),this.manager.itemEnd(n),u.disposeOnDemandRenderer()}};let d=!0,p=0,f=0,m=!0,g=0,_=0,D=!0,v=0,y=0;const E=()=>{if("function"==typeof i){i(new ProgressEvent("progress",{lengthComputable:d&&m&&D,loaded:f+_+y,total:p+g+v}))}};this.manager.itemStart(e),this.manager.itemStart(t),this.manager.itemStart(n);const A=new o.FileLoader(this._internalLoadingManager);A.setResponseType("arraybuffer"),A.setRequestHeader(this.requestHeader),A.setPath(this.path),A.setWithCredentials(this.withCredentials),A.load(e,(async e=>{if("string"==typeof e)throw new Error("Invalid sdr buffer");s=e,await h()}),(e=>{d=e.lengthComputable,f=e.loaded,p=e.total,E()}),(t=>{this.manager.itemError(e),"function"==typeof a&&a(t)}));const C=new o.FileLoader(this._internalLoadingManager);C.setResponseType("arraybuffer"),C.setRequestHeader(this.requestHeader),C.setPath(this.path),C.setWithCredentials(this.withCredentials),C.load(t,(async e=>{if("string"==typeof e)throw new Error("Invalid gainmap buffer");l=e,await h()}),(e=>{m=e.lengthComputable,_=e.loaded,g=e.total,E()}),(e=>{this.manager.itemError(t),"function"==typeof a&&a(e)}));const F=new o.FileLoader(this._internalLoadingManager);return F.setRequestHeader(this.requestHeader),F.setPath(this.path),F.setWithCredentials(this.withCredentials),F.load(n,(async e=>{if("string"!=typeof e)throw new Error("Invalid metadata string");c=JSON.parse(e),await h()}),(e=>{D=e.lengthComputable,y=e.loaded,v=e.total,E()}),(e=>{this.manager.itemError(n),"function"==typeof a&&a(e)})),u}}class Z extends ${load(e,t,n,r){const i=this.prepareQuadRenderer(),a=new o.FileLoader(this._internalLoadingManager);return a.setResponseType("arraybuffer"),a.setRequestHeader(this.requestHeader),a.setPath(this.path),a.setWithCredentials(this.withCredentials),this.manager.itemStart(e),a.load(e,(async n=>{if("string"==typeof n)throw new Error("Invalid buffer, received [string], was expecting [ArrayBuffer]");const a=new Uint8Array(n);let o,u,s;try{const e=await J(a);o=e.sdr,u=e.gainMap,s=e.metadata}catch(t){if(!(t instanceof X||t instanceof j))throw t;console.warn(`Failure to reconstruct an HDR image from ${e}: Gain map metadata not found in the file, HDRJPGLoader will render the SDR jpeg`),s={gainMapMin:[0,0,0],gainMapMax:[1,1,1],gamma:[1,1,1],hdrCapacityMin:0,hdrCapacityMax:1,offsetHdr:[0,0,0],offsetSdr:[0,0,0]},o=a}try{await this.render(i,s,o,u)}catch(t){return this.manager.itemError(e),"function"==typeof r&&r(t),void i.disposeOnDemandRenderer()}"function"==typeof t&&t(i),this.manager.itemEnd(e),i.disposeOnDemandRenderer()}),n,(t=>{this.manager.itemError(e),"function"==typeof r&&r(t)})),i}}const ee={apartment:"lebombo_1k.hdr",city:"potsdamer_platz_1k.hdr",dawn:"kiara_1_dawn_1k.hdr",forest:"forest_slope_1k.hdr",lobby:"st_fagans_interior_1k.hdr",night:"dikhololo_night_1k.hdr",park:"rooitou_park_1k.hdr",studio:"studio_small_03_1k.hdr",sunset:"venice_sunset_1k.hdr",warehouse:"empty_warehouse_01_1k.hdr"},te=3e3,ne=3001,re="https://raw.githack.com/pmndrs/drei-assets/456060a26bbeb8fdf79326f224b6d99b8bcce736/hdri/",ie=e=>Array.isArray(e);function ae({files:e=["/px.png","/nx.png","/py.png","/ny.png","/pz.png","/nz.png"],path:t="",preset:n,encoding:r,extensions:u}={}){var l;let c=null,h=!1;if(n){if(!(n in ee))throw new Error("Preset must be one of: "+Object.keys(ee).join(", "));e=ee[n],t=re}const d=ie(e)&&6===e.length,p=ie(e)&&3===e.length&&e.some((e=>e.endsWith("json"))),f=ie(e)?e[0]:e;h=ie(e);const m=d?"cube":p?"webp":f.startsWith("data:application/exr")?"exr":f.startsWith("data:application/hdr")?"hdr":f.startsWith("data:image/jpeg")?"jpg":null==(l=f.split(".").pop())||null==(l=l.split("?"))||null==(l=l.shift())?void 0:l.toLowerCase();if(c="cube"===m?o.CubeTextureLoader:"hdr"===m?s:"exr"===m?z:"jpg"===m||"jpeg"===m?Z:"webp"===m?Q:null,!c)throw new Error("useEnvironment: Unrecognized file extension: "+e);const g=(0,a.A)((e=>e.gl));(0,i.useLayoutEffect)((()=>{"webp"!==m&&"jpg"!==m&&"jpeg"!==m||g.domElement.addEventListener("webglcontextlost",(function(){a.F.clear(c,h?[e]:e)}),{once:!0})}),[e,g.domElement]);const _=(0,a.F)(c,h?[e]:e,(e=>{"webp"!==m&&"jpg"!==m&&"jpeg"!==m||e.setRenderer(g),null==e.setPath||e.setPath(t),u&&u(e)}));let D=h?_[0]:_;var v;"jpg"!==m&&"jpeg"!==m&&"webp"!==m||(D=null==(v=D.renderTarget)?void 0:v.texture);return D.mapping=d?o.CubeReflectionMapping:o.EquirectangularReflectionMapping,"colorSpace"in D?D.colorSpace
2=(null!=r?r:d)?"srgb":"srgb-linear":D.encoding=(null!=r?r:d)?ne:te,D}const oe=e=>{return(t=e).current&&t.current.isScene?e.current:e;var t};function ue(e,t,n,r,i={}){var o,u,s,l,c;i={backgroundBlurriness:null!==(o=i.blur)&&void 0!==o?o:0,backgroundIntensity:1,backgroundRotation:[0,0,0],environmentIntensity:1,environmentRotation:[0,0,0],...i};const h=oe(t||n),d=h.background,p=h.environment,f={backgroundBlurriness:h.backgroundBlurriness,backgroundIntensity:h.backgroundIntensity,backgroundRotation:null!==(u=null==(s=h.backgroundRotation)||null==s.clone?void 0:s.clone())&&void 0!==u?u:[0,0,0],environmentIntensity:h.environmentIntensity,environmentRotation:null!==(l=null==(c=h.environmentRotation)||null==c.clone?void 0:c.clone())&&void 0!==l?l:[0,0,0]};return"only"!==e&&(h.environment=r),e&&(h.background=r),(0,a.j)(h,i),()=>{"only"!==e&&(h.environment=p),e&&(h.background=d),(0,a.j)(h,f)}}function se({scene:e,background:t=!1,map:n,...r}){const o=(0,a.A)((e=>e.scene));return i.useLayoutEffect((()=>{if(n)return ue(t,e,o,n,r)})),null}function le({background:e=!1,scene:t,blur:n,backgroundBlurriness:r,backgroundIntensity:o,backgroundRotation:u,environmentIntensity:s,environmentRotation:l,...c}){const h=ae(c),d=(0,a.A)((e=>e.scene));return i.useLayoutEffect((()=>ue(e,t,d,h,{blur:n,backgroundBlurriness:r,backgroundIntensity:o,backgroundRotation:u,environmentIntensity:s,environmentRotation:l}))),null}function ce({children:e,near:t=1,far:n=1e3,resolution:r=256,frames:u=1,map:s,background:l=!1,blur:c,backgroundBlurriness:h,backgroundIntensity:d,backgroundRotation:p,environmentIntensity:f,environmentRotation:m,scene:g,files:_,path:D,preset:v,extensions:y}){const E=(0,a.A)((e=>e.gl)),A=(0,a.A)((e=>e.scene)),C=i.useRef(null),[F]=i.useState((()=>new o.Scene)),b=i.useMemo((()=>{const e=new o.WebGLCubeRenderTarget(r);return e.texture.type=o.HalfFloatType,e}),[r]);i.useLayoutEffect((()=>(1===u&&C.current.update(E,F),ue(l,g,A,b.texture,{blur:c,backgroundBlurriness:h,backgroundIntensity:d,backgroundRotation:p,environmentIntensity:f,environmentRotation:m}))),[e,F,b.texture,g,A,l,u,E]);let S=1;return(0,a.C)((()=>{(u===1/0||S<u)&&(C.current.update(E,F),S++)})),i.createElement(i.Fragment,null,(0,a.g)(i.createElement(i.Fragment,null,e,i.createElement("cubeCamera",{ref:C,args:[t,n,b]}),_||v?i.createElement(le,{background:!0,files:_,preset:v,path:D,extensions:y}):s?i.createElement(se,{background:!0,map:s,extensions:y}):null),F))}function he(e){var t,n,o,s;const l=ae(e),c=e.map||l;i.useMemo((()=>(0,a.e)({GroundProjectedEnvImpl:u})),[]);const h=i.useMemo((()=>[c]),[c]),d=null==(t=e.ground)?void 0:t.height,p=null==(n=e.ground)?void 0:n.radius,f=null!==(o=null==(s=e.ground)?void 0:s.scale)&&void 0!==o?o:1e3;return i.createElement(i.Fragment,null,i.createElement(se,(0,r.A)({},e,{map:c})),i.createElement("groundProjectedEnvImpl",{args:h,scale:f,height:d,radius:p}))}function de(e){return e.ground?i.createElement(he,e):e.map?i.createElement(se,e):e.children?i.createElement(ce,e):i.createElement(le,e)}},2603:function(e,t,n){"use strict";n.d(t,{p:function(){return me}});n(6540);var r=n(9437);const i=new WeakMap;class a extends r.Loader{constructor(e){super(e),this.decoderPath="",this.decoderConfig={},this.decoderBinary=null,this.decoderPending=null,this.workerLimit=4,this.workerPool=[],this.workerNextTaskID=1,this.workerSourceURL="",this.defaultAttributeIDs={position:"POSITION",normal:"NORMAL",color:"COLOR",uv:"TEX_COORD"},this.defaultAttributeTypes={position:"Float32Array",normal:"Float32Array",color:"Float32Array",uv:"Float32Array"}}setDecoderPath(e){return this.decoderPath=e,this}setDecoderConfig(e){return this.decoderConfig=e,this}setWorkerLimit(e){return this.workerLimit=e,this}load(e,t,n,i){const a=new r.FileLoader(this.manager);a.setPath(this.path),a.setResponseType("arraybuffer"),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,(e=>{const n={attributeIDs:this.defaultAttributeIDs,attributeTypes:this.defaultAttributeTypes,useUniqueIDs:!1};this.decodeGeometry(e,n).then(t).catch(i)}),n,i)}decodeDracoFile(e,t,n,r){const i={attributeIDs:n||this.defaultAttributeIDs,attributeTypes:r||this.defaultAttributeTypes,useUniqueIDs:!!n};this.decodeGeometry(e,i).then(t)}decodeGeometry(e,t){for(const e in t.attributeTypes){const n=t.attributeTypes[e];void 0!==n.BYTES_PER_ELEMENT&&(t.attributeTypes[e]=n.name)}const n=JSON.stringify(t);if(i.has(e)){const t=i.get(e);if(t.key===n)return t.promise;if(0===e.byteLength)throw new Error("THREE.DRACOLoader: Unable to re-decode a buffer with different settings. Buffer has already been transferred.")}let r;const a=this.workerNextTaskID++,o=e.byteLength,u=this._getWorker(a,o).then((n=>(r=n,new Promise(((n,i)=>{r._callbacks[a]={resolve:n,reject:i},r.postMessage({type:"decode",id:a,taskConfig:t,buffer:e},[e])}))))).then((e=>this._createGeometry(e.geometry)));return u.catch((()=>!0)).then((()=>{r&&a&&this._releaseTask(r,a)})),i.set(e,{key:n,promise:u}),u}_createGeometry(e){const t=new r.BufferGeometry;e.index&&t.setIndex(new r.BufferAttribute(e.index.array,1));for(let n=0;n<e.attributes.length;n++){const i=e.attributes[n],a=i.name,o=i.array,u=i.itemSize;t.setAttribute(a,new r.BufferAttribute(o,u))}return t}_loadLibrary(e,t){const n=new r.FileLoader(this.manager);return n.setPath(this.decoderPath),n.setResponseType(t),n.setWithCredentials(this.withCredentials),new Promise(((t,r)=>{n.load(e,t,void 0,r)}))}preload(){return this._initDecoder(),this}
vendor: 3,665 bytes, line 2
2_initDecoder(){if(this.decoderPending)return this.decoderPending;const e="object"!=typeof WebAssembly||"js"===this.decoderConfig.type,t=[];return e?t.push(this._loadLibrary("draco_decoder.js","text")):(t.push(this._loadLibrary("draco_wasm_wrapper.js","text")),t.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))),this.decoderPending=Promise.all(t).then((t=>{const n=t[0];e||(this.decoderConfig.wasmBinary=t[1]);const r=o.toString(),i=["/* draco decoder */",n,"","/* worker */",r.substring(r.indexOf("{")+1,r.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([i]))})),this.decoderPending}_getWorker(e,t){return this._initDecoder().then((()=>{if(this.workerPool.length<this.workerLimit){const e=new Worker(this.workerSourceURL);e._callbacks={},e._taskCosts={},e._taskLoad=0,e.postMessage({type:"init",decoderConfig:this.decoderConfig}),e.onmessage=function(t){const n=t.data;switch(n.type){case"decode":e._callbacks[n.id].resolve(n);break;case"error":e._callbacks[n.id].reject(n);break;default:console.error('THREE.DRACOLoader: Unexpected message, "'+n.type+'"')}},this.workerPool.push(e)}else this.workerPool.sort((function(e,t){return e._taskLoad>t._taskLoad?-1:1}));const n=this.workerPool[this.workerPool.length-1];return n._taskCosts[e]=t,n._taskLoad+=t,n}))}_releaseTask(e,t){e._taskLoad-=e._taskCosts[t],delete e._callbacks[t],delete e._taskCosts[t]}debug(){console.log("Task load: ",this.workerPool.map((e=>e._taskLoad)))}dispose(){for(let e=0;e<this.workerPool.length;++e)this.workerPool[e].terminate();return this.workerPool.length=0,this}}function o(){let e,t;function n(e,t,n,r,i,a){const o=a.num_components(),u=n.num_points()*o,s=u*i.BYTES_PER_ELEMENT,l=function(e,t){switch(t){case Float32Array:return e.DT_FLOAT32;case Int8Array:return e.DT_INT8;case Int16Array:return e.DT_INT16;case Int32Array:return e.DT_INT32;case Uint8Array:return e.DT_UINT8;case Uint16Array:return e.DT_UINT16;case Uint32Array:return e.DT_UINT32}}(e,i),c=e._malloc(s);t.GetAttributeDataArrayForAllPoints(n,a,l,s,c);const h=new i(e.HEAPF32.buffer,c,u).slice();return e._free(c),{name:r,array:h,itemSize:o}}onmessage=function(r){const i=r.data;switch(i.type){case"init":e=i.decoderConfig,t=new Promise((function(t){e.onModuleLoaded=function(e){t({draco:e})},DracoDecoderModule(e)}));break;case"decode":const r=i.buffer,a=i.taskConfig;t.then((e=>{const t=e.draco,o=new t.Decoder,u=new t.DecoderBuffer;u.Init(new Int8Array(r),r.byteLength);try{const e=function(e,t,r,i){const a=i.attributeIDs,o=i.attributeTypes;let u,s;const l=t.GetEncodedGeometryType(r);if(l===e.TRIANGULAR_MESH)u=new e.Mesh,s=t.DecodeBufferToMesh(r,u);else{if(l!==e.POINT_CLOUD)throw new Error("THREE.DRACOLoader: Unexpected geometry type.");u=new e.PointCloud,s=t.DecodeBufferToPointCloud(r,u)}if(!s.ok()||0===u.ptr)throw new Error("THREE.DRACOLoader: Decoding failed: "+s.error_msg());const c={index:null,attributes:[]};for(const r in a){const s=self[o[r]];let l,h;if(i.useUniqueIDs)h=a[r],l=t.GetAttributeByUniqueId(u,h);else{if(h=t.GetAttributeId(u,e[a[r]]),-1===h)continue;l=t.GetAttribute(u,h)}c.attributes.push(n(e,t,u,r,s,l))}l===e.TRIANGULAR_MESH&&(c.index=function(e,t,n){const r=n.num_faces(),i=3*r,a=4*i,o=e._malloc(a);t.GetTrianglesUInt32Array(n,a,o);const u=new Uint32Array(e.HEAPF32.buffer,o,i).slice();return e._free(o),{array:u,itemSize:1}}(e,t,u));return e.destroy(u),c}(t,o,u,a),r=e.attributes.map((e=>e.array.buffer));e.index&&r.push(e.index.array.buffer),self.postMessage({type:"decode",id:i.id,geometry:e},r)}catch(e){console.error(e),self.postMessage({type:"error",id:i.id,error:e.message})}finally{t.destroy(u),t.destroy(o)}}))}}}let u;const s=()=>
2{if(u)return u;const e=new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,3,2,0,0,5,3,1,0,1,12,1,0,10,22,2,12,0,65,0,65,0,65,0,252,10,0,0,11,7,0,65,0,253,15,26,11]),t=new Uint8Array([32,0,65,253,3,1,2,34,4,106,6,5,11,8,7,20,13,33,12,16,128,9,116,64,19,113,127,15,10,21,22,14,255,66,24,54,136,107,18,23,192,26,114,118,132,17,77,101,130,144,27,87,131,44,45,74,156,154,70,167]);if("object"!=typeof WebAssembly)return{supported:!1};let n,r="B9h9z9tFBBBF8fL9gBB9gLaaaaaFa9gEaaaB9gFaFa9gEaaaFaEMcBFFFGGGEIIILF9wFFFLEFBFKNFaFCx/IFMO/LFVK9tv9t9vq95GBt9f9f939h9z9t9f9j9h9s9s9f9jW9vq9zBBp9tv9z9o9v9wW9f9kv9j9v9kv9WvqWv94h919m9mvqBF8Z9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv94h919m9mvqBGy9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv949TvZ91v9u9jvBEn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9P9jWBIi9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9R919hWBLn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9F949wBKI9z9iqlBOc+x8ycGBM/qQFTa8jUUUUBCU/EBlHL8kUUUUBC9+RKGXAGCFJAI9LQBCaRKAE2BBC+gF9HQBALAEAIJHOAGlAGTkUUUBRNCUoBAG9uC/wgBZHKCUGAKCUG9JyRVAECFJRICBRcGXEXAcAF9PQFAVAFAclAcAVJAF9JyRMGXGXAG9FQBAMCbJHKC9wZRSAKCIrCEJCGrRQANCUGJRfCBRbAIRTEXGXAOATlAQ9PQBCBRISEMATAQJRIGXAS9FQBCBRtCBREEXGXAOAIlCi9PQBCBRISLMANCU/CBJAEJRKGXGXGXGXGXATAECKrJ2BBAtCKZrCEZfIBFGEBMAKhB83EBAKCNJhB83EBSEMAKAI2BIAI2BBHmCKrHYAYCE6HYy86BBAKCFJAICIJAYJHY2BBAmCIrCEZHPAPCE6HPy86BBAKCGJAYAPJHY2BBAmCGrCEZHPAPCE6HPy86BBAKCEJAYAPJHY2BBAmCEZHmAmCE6Hmy86BBAKCIJAYAmJHY2BBAI2BFHmCKrHPAPCE6HPy86BBAKCLJAYAPJHY2BBAmCIrCEZHPAPCE6HPy86BBAKCKJAYAPJHY2BBAmCGrCEZHPAPCE6HPy86BBAKCOJAYAPJHY2BBAmCEZHmAmCE6Hmy86BBAKCNJAYAmJHY2BBAI2BGHmCKrHPAPCE6HPy86BBAKCVJAYAPJHY2BBAmCIrCEZHPAPCE6HPy86BBAKCcJAYAPJHY2BBAmCGrCEZHPAPCE6HPy86BBAKCMJAYAPJHY2BBAmCEZHmAmCE6Hmy86BBAKCSJAYAmJHm2BBAI2BEHICKrHYAYCE6HYy86BBAKCQJAmAYJHm2BBAICIrCEZHYAYCE6HYy86BBAKCfJAmAYJHm2BBAICGrCEZHYAYCE6HYy86BBAKCbJAmAYJHK2BBAICEZHIAICE6HIy86BBAKAIJRISGMAKAI2BNAI2BBHmCIrHYAYCb6HYy86BBAKCFJAICNJAYJHY2BBAmCbZHmAmCb6Hmy86BBAKCGJAYAmJHm2BBAI2BFHYCIrHPAPCb6HPy86BBAKCEJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCIJAmAYJHm2BBAI2BGHYCIrHPAPCb6HPy86BBAKCLJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCKJAmAYJHm2BBAI2BEHYCIrHPAPCb6HPy86BBAKCOJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCNJAmAYJHm2BBAI2BIHYCIrHPAPCb6HPy86BBAKCVJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCcJAmAYJHm2BBAI2BLHYCIrHPAPCb6HPy86BBAKCMJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCSJAmAYJHm2BBAI2BKHYCIrHPAPCb6HPy86BBAKCQJAmAPJHm2BBAYCbZHYAYCb6HYy86BBAKCfJAmAYJHm2BBAI2BOHICIrHYAYCb6HYy86BBAKCbJAmAYJHK2BBAICbZHIAICb6HIy86BBAKAIJRISFMAKAI8pBB83BBAKCNJAICNJ8pBB83BBAICTJRIMAtCGJRtAECTJHEAS9JQBMMGXAIQBCBRISEMGXAM9FQBANAbJ2BBRtCBRKAfREEXAEANCU/CBJAKJ2BBHTCFrCBATCFZl9zAtJHt86BBAEAGJREAKCFJHKAM9HQBMMAfCFJRfAIRTAbCFJHbAG9HQBMMABAcAG9sJANCUGJAMAG9sTkUUUBpANANCUGJAMCaJAG9sJAGTkUUUBpMAMCBAIyAcJRcAIQBMC9+RKSFMCBC99AOAIlAGCAAGCA9Ly6yRKMALCU/EBJ8kUUUUBAKM+OmFTa8jUUUUBCoFlHL8kUUUUBC9+RKGXAFCE9uHOCtJAI9LQBCaRKAE2BBHNC/wFZC/gF9HQBANCbZHVCF9LQBALCoBJCgFCUFT+JUUUBpALC84Jha83EBALC8wJha83EBALC8oJha83EBALCAJha83EBALCiJha83EBALCTJha83EBALha83ENALha83EBAEAIJC9wJRcAECFJHNAOJRMGXAF9FQBCQCbAVCF6yRSABRECBRVCBRQCBRfCBRICBRKEXGXAMAcuQBC9+RKSEMGXGXAN2BBHOC/vF9LQBALCoBJAOCIrCa9zAKJCbZCEWJHb8oGIRTAb8oGBRtGXAOCbZHbAS9PQBALAOCa9zAIJCbZCGWJ8oGBAVAbyROAb9FRbGXGXAGCG9HQBABAt87FBABCIJAO87FBABCGJAT87FBSFMAEAtjGBAECNJAOjGBAECIJATjGBMAVAbJRVALCoBJAKCEWJHmAOjGBAmATjGIALAICGWJAOjGBALCoBJAKCFJCbZHKCEWJHTAtjGBATAOjGIAIAbJRIAKCFJRKSGMGXGXAbCb6QBAQAbJAbC989zJCFJRQSFMAM1BBHbCgFZROGXGXAbCa9MQBAMCFJRMSFMAM1BFHbCgBZCOWAOCgBZqROGXAbCa9MQBAMCGJRMSFMAM1BGHbCgBZCfWAOqROGXAbCa9MQBAMCEJRMSFMAM1BEHbCgBZCdWAOqROGXAbCa9MQBAMCIJRMSFMAM2BIC8cWAOqROAMCLJRMMAOCFrCBAOCFZl9zAQJRQMGXGXAGCG9HQBABAt87FBABCIJAQ87FBABCGJAT87FBSFMAEAtjGBAECNJAQjGBAECIJATjGBMALCoBJAKCEWJHOAQjGBAOATjGIALAICGWJAQjGBALCoBJAKCFJCbZHKCEWJHOAtjGBAOAQjGIAICFJRIAKCFJRKSFMGXAOCDF9LQBALAIAcAOCbZJ2BBHbCIrHTlCbZCGWJ8oGBAVCFJHtATyROALAIAblCbZCGWJ8oGBAtAT9FHmJHtAbCbZHTyRbAT9FRTGXGXAGCG9HQBABAV87FBABCIJAb87FBABCGJAO87FBSFMAEAVjGBAECNJAbjGBAECIJAOjGBMALAICGWJAVjGBALCoBJAKCEWJHYAOjGBAYAVjGIALAICFJHICbZCGWJAOjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAIAmJCbZHICGWJAbjGBALCoBJAKCGJCbZHKCEWJHOAVjGBAOAbjGIAKCFJRKAIATJRIAtATJRVSFMAVCBAM2BBHYyHTAOC/+F6HPJROAYCbZRtGXGXAYCIrHmQBAOCFJRbSFMAORbALAIAmlCbZCGWJ8oGBROMGXGXAtQBAbCFJRVSFMAbRVALAIAYlCbZCGWJ8oGBRbMGXG
2XAP9FQBAMCFJRYSFMAM1BFHYCgFZRTGXGXAYCa9MQBAMCGJRYSFMAM1BGHYCgBZCOWATCgBZqRTGXAYCa9MQBAMCEJRYSFMAM1BEHYCgBZCfWATqRTGXAYCa9MQBAMCIJRYSFMAM1BIHYCgBZCdWATqRTGXAYCa9MQBAMCLJRYSFMAMCKJRYAM2BLC8cWATqRTMATCFrCBATCFZl9zAQJHQRTMGXGXAmCb6QBAYRPSFMAY1BBHMCgFZROGXGXAMCa9MQBAYCFJRPSFMAY1BFHMCgBZCOWAOCgBZqROGXAMCa9MQBAYCGJRPSFMAY1BGHMCgBZCfWAOqROGXAMCa9MQBAYCEJRPSFMAY1BEHMCgBZCdWAOqROGXAMCa9MQBAYCIJRPSFMAYCLJRPAY2BIC8cWAOqROMAOCFrCBAOCFZl9zAQJHQROMGXGXAtCb6QBAPRMSFMAP1BBHMCgFZRbGXGXAMCa9MQBAPCFJRMSFMAP1BFHMCgBZCOWAbCgBZqRbGXAMCa9MQBAPCGJRMSFMAP1BGHMCgBZCfWAbqRbGXAMCa9MQBAPCEJRMSFMAP1BEHMCgBZCdWAbqRbGXAMCa9MQBAPCIJRMSFMAPCLJRMAP2BIC8cWAbqRbMAbCFrCBAbCFZl9zAQJHQRbMGXGXAGCG9HQBABAT87FBABCIJAb87FBABCGJAO87FBSFMAEATjGBAECNJAbjGBAECIJAOjGBMALCoBJAKCEWJHYAOjGBAYATjGIALAICGWJATjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAICFJHICbZCGWJAOjGBALCoBJAKCGJCbZCEWJHOATjGBAOAbjGIALAIAm9FAmCb6qJHICbZCGWJAbjGBAIAt9FAtCb6qJRIAKCEJRKMANCFJRNABCKJRBAECSJREAKCbZRKAICbZRIAfCEJHfAF9JQBMMCBC99AMAc6yRKMALCoFJ8kUUUUBAKM/tIFGa8jUUUUBCTlRLC9+RKGXAFCLJAI9LQBCaRKAE2BBC/+FZC/QF9HQBALhB83ENAECFJRKAEAIJC98JREGXAF9FQBGXAGCG6QBEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMALCNJAICFZCGWqHGAICGrCBAICFrCFZl9zAG8oGBJHIjGBABAIjGBABCIJRBAFCaJHFQBSGMMEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMABAICGrCBAICFrCFZl9zALCNJAICFZCGWqHI8oGBJHG87FBAIAGjGBABCGJRBAFCaJHFQBMMCBC99AKAE6yRKMAKM+lLKFaF99GaG99FaG99GXGXAGCI9HQBAF9FQFEXGXGX9DBBB8/9DBBB+/ABCGJHG1BB+yAB1BBHE+yHI+L+TABCFJHL1BBHK+yHO+L+THN9DBBBB9gHVyAN9DBB/+hANAN+U9DBBBBANAVyHcAc+MHMAECa3yAI+SHIAI+UAcAMAKCa3yAO+SHcAc+U+S+S+R+VHO+U+SHN+L9DBBB9P9d9FQBAN+oRESFMCUUUU94REMAGAE86BBGXGX9DBBB8/9DBBB+/Ac9DBBBB9gyAcAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMALAG86BBGXGX9DBBB8/9DBBB+/AI9DBBBB9gyAIAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMABAG86BBABCIJRBAFCaJHFQBSGMMAF9FQBEXGXGX9DBBB8/9DBBB+/ABCIJHG8uFB+yAB8uFBHE+yHI+L+TABCGJHL8uFBHK+yHO+L+THN9DBBBB9gHVyAN9DB/+g6ANAN+U9DBBBBANAVyHcAc+MHMAECa3yAI+SHIAI+UAcAMAKCa3yAO+SHcAc+U+S+S+R+VHO+U+SHN+L9DBBB9P9d9FQBAN+oRESFMCUUUU94REMAGAE87FBGXGX9DBBB8/9DBBB+/Ac9DBBBB9gyAcAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMALAG87FBGXGX9DBBB8/9DBBB+/AI9DBBBB9gyAIAO+U+SHN+L9DBBB9P9d9FQBAN+oRGSFMCUUUU94RGMABAG87FBABCNJRBAFCaJHFQBMMM/SEIEaE99EaF99GXAF9FQBCBREABRIEXGXGX9D/zI818/AICKJ8uFBHLCEq+y+VHKAI8uFB+y+UHO9DB/+g6+U9DBBB8/9DBBB+/AO9DBBBB9gy+SHN+L9DBBB9P9d9FQBAN+oRVSFMCUUUU94RVMAICIJ8uFBRcAICGJ8uFBRMABALCFJCEZAEqCFWJAV87FBGXGXAKAM+y+UHN9DB/+g6+U9DBBB8/9DBBB+/AN9DBBBB9gy+SHS+L9DBBB9P9d9FQBAS+oRMSFMCUUUU94RMMABALCGJCEZAEqCFWJAM87FBGXGXAKAc+y+UHK9DB/+g6+U9DBBB8/9DBBB+/AK9DBBBB9gy+SHS+L9DBBB9P9d9FQBAS+oRcSFMCUUUU94RcMABALCaJCEZAEqCFWJAc87FBGXGX9DBBU8/AOAO+U+TANAN+U+TAKAK+U+THO9DBBBBAO9DBBBB9gy+R9DB/+g6+U9DBBB8/+SHO+L9DBBB9P9d9FQBAO+oRcSFMCUUUU94RcMABALCEZAEqCFWJAc87FBAICNJRIAECIJREAFCaJHFQBMMM9JBGXAGCGrAF9sHF9FQBEXABAB8oGBHGCNWCN91+yAGCi91CnWCUUU/8EJ+++U84GBABCIJRBAFCaJHFQBMMM9TFEaCBCB8oGUkUUBHFABCEJC98ZJHBjGUkUUBGXGXAB8/BCTWHGuQBCaREABAGlCggEJCTrXBCa6QFMAFREMAEM/lFFFaGXGXAFABqCEZ9FQBABRESFMGXGXAGCT9PQBABRESFMABREEXAEAF8oGBjGBAECIJAFCIJ8oGBjGBAECNJAFCNJ8oGBjGBAECSJAFCSJ8oGBjGBAECTJREAFCTJRFAGC9wJHGCb9LQBMMAGCI9JQBEXAEAF8oGBjGBAFCIJRFAECIJREAGC98JHGCE9LQBMMGXAG9FQBEXAEAF2BB86BBAECFJREAFCFJRFAGCaJHGQBMMABMoFFGaGXGXABCEZ9FQBABRESFMAFCgFZC+BwsN9sRIGXGXAGCT9PQBABRESFMABREEXAEAIjGBAECSJAIjGBAECNJAIjGBAECIJAIjGBAECTJREAGC9wJHGCb9LQBMMAGCI9JQBEXAEAIjGBAECIJREAGC98JHGCE9LQBMMGXAG9FQBEXAEAF86BBAECFJREAGCaJHGQBMMABMMMFBCUNMIT9kBB";WebAssembly.validate(e)&&(r="B9h9z9tFBBBFiI9gBB9gLaaaaaFa9gEaaaB9gFaFaEMcBBFBFFGGGEILF9wFFFLEFBFKNFaFCx/aFMO/LFVK9tv9t9vq95GBt9f9f939h9z9t9f9j9h9s9s9f9jW9vq9zBBp9tv9z9o9v9wW9f9kv9j9v9kv9WvqWv94h919m9mvqBG8Z9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv94h919m9mvqBIy9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv949TvZ91v9u9jvBLn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9P9jWBKi9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9R919hWBOn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9F949wBNI9z9iqlBVc+N9IcIBTEM9+FLa8jUUUUBCTlRBCBRFEXCBRGCBREEXABCNJAGJAECUaAFAGrCFZHIy86BBAEAIJREAGCFJHGCN9HQBMAFCx+YUUBJAE86BBAFCEWCxkUUBJAB8pEN83EBAFCFJHFCUG9HQBMMk8lLbaE97F9+FaL978jUUUUBCU/KBlHL8kUUUUBC9+RKGXAGCFJAI9LQBCaRKAE2BBC+gF9HQBALAEAIJHOAGlAG/8cBBCUoBAG9uC/wgBZHKCUGAKCUG9JyRNAECFJRKCBRVGXEXAVAF9PQFANAFAVlAVANJAF9JyRcGXGXAG9FQBAcCbJHIC9wZHMCE9sRSAMC
2FWRQAICIrCEJCGrRfCBRbEXAKRTCBRtGXEXGXAOATlAf9PQBCBRKSLMALCU/CBJAtAM9sJRmATAfJRKCBREGXAMCoB9JQBAOAKlC/gB9JQBCBRIEXAmAIJREGXGXGXGXGXATAICKrJ2BBHYCEZfIBFGEBMAECBDtDMIBSEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPAPDQBFGENVcMILKOSQfbHeD8dBh+BsxoxoUwN0AeD8dFhxoUwkwk+gUa0sHnhTkAnsHnhNkAnsHn7CgFZHiCEWCxkUUBJDBEBAiCx+YUUBJDBBBHeAeDQBBBBBBBBBBBBBBBBAnhAk7CgFZHiCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCIJAeDeBJAiCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPAPDQBFGENVcMILKOSQfbHeD8dBh+BsxoxoUwN0AeD8dFhxoUwkwk+gUa0sHnhTkAnsHnhNkAnsHn7CgFZHiCEWCxkUUBJDBEBAiCx+YUUBJDBBBHeAeDQBBBBBBBBBBBBBBBBAnhAk7CgFZHiCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCNJAeDeBJAiCx+YUUBJ2BBJRKSFMAEAKDBBBDMIBAKCTJRKMGXGXGXGXGXAYCGrCEZfIBFGEBMAECBDtDMITSEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPAPDQBFGENVcMILKOSQfbHeD8dBh+BsxoxoUwN0AeD8dFhxoUwkwk+gUa0sHnhTkAnsHnhNkAnsHn7CgFZHiCEWCxkUUBJDBEBAiCx+YUUBJDBBBHeAeDQBBBBBBBBBBBBBBBBAnhAk7CgFZHiCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMITAKCIJAeDeBJAiCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPAPDQBFGENVcMILKOSQfbHeD8dBh+BsxoxoUwN0AeD8dFhxoUwkwk+gUa0sHnhTkAnsHnhNkAnsHn7CgFZHiCEWCxkUUBJDBEBAiCx+YUUBJDBBBHeAeDQBBBBBBBBBBBBBBBBAnhAk7CgFZHiCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMITAKCNJAeDeBJAiCx+YUUBJ2BBJRKSFMAEAKDBBBDMITAKCTJRKMGXGXGXGXGXAYCIrCEZfIBFGEBMAECBDtDMIASEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPAPDQBFGENVcMILKOSQfbHeD8dBh+BsxoxoUwN0AeD8dFhxoUwkwk+gUa0sHnhTkAnsHnhNkAnsHn7CgFZHiCEWCxkUUBJDBEBAiCx+YUUBJDBBBHeAeDQBBBBBBBBBBBBBBBBAnhAk7CgFZHiCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIAAKCIJAeDeBJAiCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPAPDQBFGENVcMILKOSQfbHeD8dBh+BsxoxoUwN0AeD8dFhxoUwkwk+gUa0sHnhTkAnsHnhNkAnsHn7CgFZHiCEWCxkUUBJDBEBAiCx+YUUBJDBBBHeAeDQBBBBBBBBBBBBBBBBAnhAk7CgFZHiCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIAAKCNJAeDeBJAiCx+YUUBJ2BBJRKSFMAEAKDBBBDMIAAKCTJRKMGXGXGXGXGXAYCKrfIBFGEBMAECBDtDMI8wSEMAEAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPAPDQBFGENVcMILKOSQfbHeD8dBh+BsxoxoUwN0AeD8dFhxoUwkwk+gUa0sHnhTkAnsHnhNkAnsHn7CgFZHYCEWCxkUUBJDBEBAYCx+YUUBJDBBBHeAeDQBBBBBBBBBBBBBBBBAnhAk7CgFZHYCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMI8wAKCIJAeDeBJAYCx+YUUBJ2BBJRKSGMAEAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPAPDQBFGENVcMILKOSQfbHeD8dBh+BsxoxoUwN0AeD8dFhxoUwkwk+gUa0sHnhTkAnsHnhNkAnsHn7CgFZHYCEWCxkUUBJDBEBAYCx+YUUBJDBBBHeAeDQBBBBBBBBBBBBBBBBAnhAk7CgFZHYCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMI8wAKCNJAeDeBJAYCx+YUUBJ2BBJRKSFMAEAKDBBBDMI8wAKCTJRKMAICoBJREAICUFJAM9LQFAERIAOAKlC/fB9LQBMMGXAEAM9PQBAECErRIEXGXAOAKlCi9PQBCBRKSOMAmAEJRYGXGXGXGXGXATAECKrJ2BBAICKZrCEZfIBFGEBMAYCBDtDMIBSEMAYAKDBBIAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnHPCGD+MFAPDQBTFtGmEYIPLdKeOnC0+G+MiDtD9OHdCEDbD8jHPAPDQBFGENVcMILKOSQfbHeD8dBh+BsxoxoUwN0AeD8dFhxoUwkwk+gUa0sHnhTkAnsHnhNkAnsHn7CgFZHiCEWCxkUUBJDBEBAiCx+YUUBJDBBBHeAeDQBBBBBBBBBBBBBBBBAnhAk7CgFZHiCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCIJAeDeBJAiCx+YUUBJ2BBJRKSGMAYAKDBBNAKDBBBHPCID+MFAPDQBTFtGmEYIPLdKeOnC+P+e+8/4BDtD9OHdCbDbD8jHPAPDQBFGENVcMILKOSQfbHeD8dBh+BsxoxoUwN0AeD8dFhxoUwkwk+gUa0sHnhTkAnsHnhNkAnsHn7CgFZHiCEWCxkUUBJDBEBAiCx+YUUBJDBBBHeAeDQBBBBBBBBBBBBBBBBAnhAk7CgFZHiCEWCxkUUBJDBEBD9uDQBFGEILKOTtmYPdenDfAdAPD9SDMIBAKCNJAeDeBJAiCx+YUUBJ2BBJRKSFMAYAKDBBBDMIBAKCTJRKMAICGJRIAECTJHEAM9JQBMMGXAK9FQBAKRTAtCFJHtCI6QGSFMMCBRKSEMGXAM9FQBALCUGJAbJREALAbJDBGBReCBRYEXAEALCU/CBJAYJHIDBIBHdCFD9tAdCFDbHPD9OD9hD9RHdAIAMJDBIBH8ZCFD9tA8ZAPD9OD9hD9RH8ZDQBTFtGmEYIPLdKeOnHpAIAQJDBIBHyCFD9tAyAPD9OD9hD9RHyAIASJDBIBH8cCFD9tA8cAPD9OD9hD9RH8cDQBTFtGmEYIPLdKeOnH8dDQBFTtGEmYILPdKOenHPAPDQBFGEBFGEBFGEBFGEAeD9uHeDyBjGBAEAGJHIAeAPAPDQILKOILKOILKOILKOD9uHeDyBjGBAIAGJHIAeAPAPDQNVcMNVcMNVcMNVcMD9uHeDyBjGBAIAGJHIAeAPAPDQSQfbSQfbSQfbSQfbD9uHeDyBjGBAIAGJHIAeApA8dDQNVi8ZcMpySQ8c8dfb8e8fHPAPDQBFGEBFGEBFGEBFGED9uHeDyBjGBAIAGJHIAeAPAPDQILKOILKOILKOILKOD9uHeDyBjGBAIAGJHIAeAPAPDQNVcMNVcMNVcMNVcMD9uHeDyBjGBAIAGJHIAeAPAPDQSQfbSQfbSQfbSQfbD9uHeDyBjGBAIAGJHIAeAdA8ZDQNiV8ZcpMyS8cQ8df8eb8fHdAyA8cDQNiV8ZcpMyS8cQ8df8eb8fH8ZDQBFTtGEmYILPdKOenHPAPDQBFGEBFGEBFGEBFGED9uHeDyBjGBAIAGJHIAeAPAPDQILKOILKOILKOILKOD9uHeDyBjGBAIAGJHIAeAPAPDQNVcMNVcMNVcMNVcMD9uHeDyBjGBAIAGJHIAeAPAPDQSQfbSQfbSQfbSQfbD9uHeDyBjGBAIAGJHIAeAdA8ZDQNVi8ZcMpySQ8c8dfb8e8fHPAPDQBFGEBFGEBFGEBFGED9uHeDyBjGBAIAGJHIAeAPAPDQILKOILKOILKOILKOD9uHeDyBjGBAIAGJHIAeAPAPDQNVcMNVcMNVcMNVcMD9uHeDyBjGBAIAGJHIAeAPAPDQSQfbSQfbSQfbSQfbD9uHeDyBjGBAIAGJREAYCTJHYAM9JQBMMAbCIJHbAG9JQBMMABAVAG9sJALCUGJAcAG9s/8cBBALALCUGJAcCaJAG9sJAG/8cBBMAcCBAKyAVJRVAKQBMC9+RKSFMCBC99AOAKlAGCAAGCA9Ly6yRKMALCU/KBJ8kUUUUBAKMNBT+BUUUBM+KmFTa8jUUUUBCoFlHL8kUUUUBC9+RKGXAFCE9uHOCtJAI9LQBCaRKAE2BBHNC/wFZC/gF9HQBANCbZHVCF9LQBALCoBJCgFCUF/8MBALC84Jha83EBALC8wJha83EBALC8oJha83EBALCAJha83EBALCiJha83EBALCTJha83EBALha83ENALha83EBAEAIJC9wJRcAECFJHNAOJRMGXAF9FQBCQCbAVCF6yRSABRECBRVCBRQCBRfCBRICBRKEXGXAMAcuQBC9+RKSEMGXGXAN2BBHOC/vF9LQBALCoBJAOCIrCa9zAKJCbZCEWJHb8oGIRTAb8oGBRtGXAOCbZHbAS9PQBALAOCa9zAIJCbZCGWJ8oGBAVAbyROAb9FRbGXGXAGCG9HQBABAt87FBABCIJAO87FBABCGJAT87FBSFMAEAtjGBAECNJAOjGBAECIJATjGBMAVAbJRVALCoBJAKCEWJHmAOjGBAmATjGIALAICGWJAOjGBALCoBJAKCFJCbZHKCEWJHTAtjGBATAOjGIAIAbJRIAKCFJRKSGMGXGXAbCb6QBAQAbJAbC989zJCFJRQSFMAM1BBHbCgFZROGXGXAbCa9MQBAMCFJRMSFMAM1BFHbCgBZCOWAOCgBZqROGXAbCa9MQBAMCGJRMSFMAM1BGHbCgBZCfWAOqROGXAbCa9MQBAMCEJRMSFMAM1BEHbCgBZCdWAOqROGXAbCa9MQBAMCIJRMSFMAM2BIC8cWAOqROAMCLJRMMAOCFrCBAOCFZl9zAQJRQMGXGXAGCG9HQBABAt87FBABCIJAQ87FBABCGJAT87FBSFMAEAtjGBAECNJAQjGBAECIJATjGBMALCoBJAKCEWJHOAQjGBAOATjGIALAICGWJAQjGBALCoBJAKCFJCbZHKCEWJHOAtjGBAOAQjGIAICFJRIAKCFJRKSFMGXAOCDF9
2LQBALAIAcAOCbZJ2BBHbCIrHTlCbZCGWJ8oGBAVCFJHtATyROALAIAblCbZCGWJ8oGBAtAT9FHmJHtAbCbZHTyRbAT9FRTGXGXAGCG9HQBABAV87FBABCIJAb87FBABCGJAO87FBSFMAEAVjGBAECNJAbjGBAECIJAOjGBMALAICGWJAVjGBALCoBJAKCEWJHYAOjGBAYAVjGIALAICFJHICbZCGWJAOjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAIAmJCbZHICGWJAbjGBALCoBJAKCGJCbZHKCEWJHOAVjGBAOAbjGIAKCFJRKAIATJRIAtATJRVSFMAVCBAM2BBHYyHTAOC/+F6HPJROAYCbZRtGXGXAYCIrHmQBAOCFJRbSFMAORbALAIAmlCbZCGWJ8oGBROMGXGXAtQBAbCFJRVSFMAbRVALAIAYlCbZCGWJ8oGBRbMGXGXAP9FQBAMCFJRYSFMAM1BFHYCgFZRTGXGXAYCa9MQBAMCGJRYSFMAM1BGHYCgBZCOWATCgBZqRTGXAYCa9MQBAMCEJRYSFMAM1BEHYCgBZCfWATqRTGXAYCa9MQBAMCIJRYSFMAM1BIHYCgBZCdWATqRTGXAYCa9MQBAMCLJRYSFMAMCKJRYAM2BLC8cWATqRTMATCFrCBATCFZl9zAQJHQRTMGXGXAmCb6QBAYRPSFMAY1BBHMCgFZROGXGXAMCa9MQBAYCFJRPSFMAY1BFHMCgBZCOWAOCgBZqROGXAMCa9MQBAYCGJRPSFMAY1BGHMCgBZCfWAOqROGXAMCa9MQBAYCEJRPSFMAY1BEHMCgBZCdWAOqROGXAMCa9MQBAYCIJRPSFMAYCLJRPAY2BIC8cWAOqROMAOCFrCBAOCFZl9zAQJHQROMGXGXAtCb6QBAPRMSFMAP1BBHMCgFZRbGXGXAMCa9MQBAPCFJRMSFMAP1BFHMCgBZCOWAbCgBZqRbGXAMCa9MQBAPCGJRMSFMAP1BGHMCgBZCfWAbqRbGXAMCa9MQBAPCEJRMSFMAP1BEHMCgBZCdWAbqRbGXAMCa9MQBAPCIJRMSFMAPCLJRMAP2BIC8cWAbqRbMAbCFrCBAbCFZl9zAQJHQRbMGXGXAGCG9HQBABAT87FBABCIJAb87FBABCGJAO87FBSFMAEATjGBAECNJAbjGBAECIJAOjGBMALCoBJAKCEWJHYAOjGBAYATjGIALAICGWJATjGBALCoBJAKCFJCbZCEWJHYAbjGBAYAOjGIALAICFJHICbZCGWJAOjGBALCoBJAKCGJCbZCEWJHOATjGBAOAbjGIALAIAm9FAmCb6qJHICbZCGWJAbjGBAIAt9FAtCb6qJRIAKCEJRKMANCFJRNABCKJRBAECSJREAKCbZRKAICbZRIAfCEJHfAF9JQBMMCBC99AMAc6yRKMALCoFJ8kUUUUBAKM/tIFGa8jUUUUBCTlRLC9+RKGXAFCLJAI9LQBCaRKAE2BBC/+FZC/QF9HQBALhB83ENAECFJRKAEAIJC98JREGXAF9FQBGXAGCG6QBEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMALCNJAICFZCGWqHGAICGrCBAICFrCFZl9zAG8oGBJHIjGBABAIjGBABCIJRBAFCaJHFQBSGMMEXGXAKAE9JQBC9+bMAK1BBHGCgFZRIGXGXAGCa9MQBAKCFJRKSFMAK1BFHGCgBZCOWAICgBZqRIGXAGCa9MQBAKCGJRKSFMAK1BGHGCgBZCfWAIqRIGXAGCa9MQBAKCEJRKSFMAK1BEHGCgBZCdWAIqRIGXAGCa9MQBAKCIJRKSFMAK2BIC8cWAIqRIAKCLJRKMABAICGrCBAICFrCFZl9zALCNJAICFZCGWqHI8oGBJHG87FBAIAGjGBABCGJRBAFCaJHFQBMMCBC99AKAE6yRKMAKM/dLEK97FaF97GXGXAGCI9HQBAF9FQFCBRGEXABABDBBBHECiD+rFCiD+sFD/6FHIAECND+rFCiD+sFD/6FAID/gFAECTD+rFCiD+sFD/6FHLD/gFD/kFD/lFHKCBDtD+2FHOAICUUUU94DtHND9OD9RD/kFHI9DBB/+hDYAIAID/mFAKAKD/mFALAOALAND9OD9RD/kFHIAID/mFD/kFD/kFD/jFD/nFHLD/mF9DBBX9LDYHOD/kFCgFDtD9OAECUUU94DtD9OD9QAIALD/mFAOD/kFCND+rFCU/+EDtD9OD9QAKALD/mFAOD/kFCTD+rFCUU/8ODtD9OD9QDMBBABCTJRBAGCIJHGAF9JQBSGMMAF9FQBCBRGEXABCTJHVAVDBBBHECBDtHOCUU98D8cFCUU98D8cEHND9OABDBBBHKAEDQILKOSQfbPden8c8d8e8fCggFDtD9OD/6FAKAEDQBFGENVcMTtmYi8ZpyHECTD+sFD/6FHID/gFAECTD+rFCTD+sFD/6FHLD/gFD/kFD/lFHE9DB/+g6DYALAEAOD+2FHOALCUUUU94DtHcD9OD9RD/kFHLALD/mFAEAED/mFAIAOAIAcD9OD9RD/kFHEAED/mFD/kFD/kFD/jFD/nFHID/mF9DBBX9LDYHOD/kFCTD+rFALAID/mFAOD/kFCggEDtD9OD9QHLAEAID/mFAOD/kFCaDbCBDnGCBDnECBDnKCBDnOCBDncCBDnMCBDnfCBDnbD9OHEDQNVi8ZcMpySQ8c8dfb8e8fD9QDMBBABAKAND9OALAEDQBFTtGEmYILPdKOenD9QDMBBABCAJRBAGCIJHGAF9JQBMMM/hEIGaF97FaL978jUUUUBCTlREGXAF9FQBCBRIEXAEABDBBBHLABCTJHKDBBBHODQILKOSQfbPden8c8d8e8fHNCTD+sFHVCID+rFDMIBAB9DBBU8/DY9D/zI818/DYAVCEDtD9QD/6FD/nFHVALAODQBFGENVcMTtmYi8ZpyHLCTD+rFCTD+sFD/6FD/mFHOAOD/mFAVALCTD+sFD/6FD/mFHcAcD/mFAVANCTD+rFCTD+sFD/6FD/mFHNAND/mFD/kFD/kFD/lFCBDtD+4FD/jF9DB/+g6DYHVD/mF9DBBX9LDYHLD/kFCggEDtHMD9OAcAVD/mFALD/kFCTD+rFD9QHcANAVD/mFALD/kFCTD+rFAOAVD/mFALD/kFAMD9OD9QHVDQBFTtGEmYILPdKOenHLD8dBAEDBIBDyB+t+J83EBABCNJALD8dFAEDBIBDyF+t+J83EBAKAcAVDQNVi8ZcMpySQ8c8dfb8e8fHVD8dBAEDBIBDyG+t+J83EBABCiJAVD8dFAEDBIBDyE+t+J83EBABCAJRBAICIJHIAF9JQBMMM9jFF97GXAGCGrAF9sHG9FQBCBRFEXABABDBBBHECND+rFCND+sFD/6FAECiD+sFCnD+rFCUUU/8EDtD+uFD/mFDMBBABCTJRBAFCIJHFAG9JQBMMM9TFEaCBCB8oGUkUUBHFABCEJC98ZJHBjGUkUUBGXGXAB8/BCTWHGuQBCaREABAGlCggEJCTrXBCa6QFMAFREMAEMMMFBCUNMIT9tBB");const i=WebAssembly.instantiate(function(e){const n=new Uint8Array(e.length);for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);n[t]=r>96?r-71:r>64?r-65:r>47?r+4:r>46?63:62}let r=0;for(let i=0;i<e.length;++i)n[r++]=n[i]<60?t[n[i]]:64*(n[i]-60)+n[++i];return n.buffer.slice(0,r)}(r),{}).then((e=>{n=e.instance,n.exports.__wasm_call_ctors()}));function a(e,t,r,i,a,o){const u=n.exports.sbrk,s=r+3&-4,l=u(s*i),c=u(a.length),h=new Uint8Array(n.exports.memory.buffer);h.set(a,c);const d=e(l,r,i,c,a.length);if(0===d&&o&&o(l,s,i),t.set(h.subarray(l,l+r*i)),u(l-u(0)),0!==d)throw new Error(`Malformed buffer data: ${d}`)}const o={0:"",1:"meshopt_decodeFilterOct",2:"meshopt_decodeFilterQuat",3:"meshopt_decodeFilterExp",NONE:"",OCTAHEDRAL:"meshopt_decodeFilterOct",QUATERNION:"meshopt_decodeFilterQuat",EXPONENTIAL:"meshopt_decodeFilterExp"},s={0:"meshopt_decodeVertexBuffer",1:"meshopt_decodeIndexBuffer",2:"meshopt_decodeIndexSequence",ATTRIBUTES:"meshopt_decodeVertexBuffer",TRIANGLES:"meshopt_decodeIndexBuffer",INDICES:"meshopt_decodeIndexSequence"};return u={ready:i,supported:!0,decodeVertexBuffer(e,t,r,i,u){a(n.exports.meshopt_decodeVertexBuffer,e,t,r,i,n.exports[o[u]])}
2,decodeIndexBuffer(e,t,r,i){a(n.exports.meshopt_decodeIndexBuffer,e,t,r,i)},decodeIndexSequence(e,t,r,i){a(n.exports.meshopt_decodeIndexSequence,e,t,r,i)},decodeGltfBuffer(e,t,r,i,u,l){a(n.exports[s[u]],e,t,r,i,n.exports[o[l]])}},u};function l(e,t){if(t===r.TrianglesDrawMode)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),e;if(t===r.TriangleFanDrawMode||t===r.TriangleStripDrawMode){let n=e.getIndex();if(null===n){const t=[],r=e.getAttribute("position");if(void 0===r)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),e;for(let e=0;e<r.count;e++)t.push(e);e.setIndex(t),n=e.getIndex()}const i=n.count-2,a=[];if(n)if(t===r.TriangleFanDrawMode)for(let e=1;e<=i;e++)a.push(n.getX(0)),a.push(n.getX(e)),a.push(n.getX(e+1));else for(let e=0;e<i;e++)e%2==0?(a.push(n.getX(e)),a.push(n.getX(e+1)),a.push(n.getX(e+2))):(a.push(n.getX(e+2)),a.push(n.getX(e+1)),a.push(n.getX(e)));a.length/3!==i&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");const o=e.clone();return o.setIndex(a),o.clearGroups(),o}return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",t),e}const c=parseInt(r.REVISION.replace(/\D+/g,""));function h(e){if("undefined"!=typeof TextDecoder)return(new TextDecoder).decode(e);let t="";for(let n=0,r=e.length;n<r;n++)t+=String.fromCharCode(e[n]);try{return decodeURIComponent(escape(t))}catch(e){return t}}const d="srgb",p="srgb-linear";class f extends r.Loader{constructor(e){super(e),this.dracoLoader=null,this.ktx2Loader=null,this.meshoptDecoder=null,this.pluginCallbacks=[],this.register((function(e){return new y(e)})),this.register((function(e){return new E(e)})),this.register((function(e){return new M(e)})),this.register((function(e){return new T(e)})),this.register((function(e){return new P(e)})),this.register((function(e){return new C(e)})),this.register((function(e){return new F(e)})),this.register((function(e){return new b(e)})),this.register((function(e){return new S(e)})),this.register((function(e){return new v(e)})),this.register((function(e){return new x(e)})),this.register((function(e){return new A(e)})),this.register((function(e){return new w(e)})),this.register((function(e){return new B(e)})),this.register((function(e){return new _(e)})),this.register((function(e){return new R(e)})),this.register((function(e){return new I(e)}))}load(e,t,n,i){const a=this;let o;if(""!==this.resourcePath)o=this.resourcePath;else if(""!==this.path){const t=r.LoaderUtils.extractUrlBase(e);o=r.LoaderUtils.resolveURL(t,this.path)}else o=r.LoaderUtils.extractUrlBase(e);this.manager.itemStart(e);const u=function(t){i?i(t):console.error(t),a.manager.itemError(e),a.manager.itemEnd(e)},s=new r.FileLoader(this.manager);s.setPath(this.path),s.setResponseType("arraybuffer"),s.setRequestHeader(this.requestHeader),s.setWithCredentials(this.withCredentials),s.load(e,(function(n){try{a.parse(n,o,(function(n){t(n),a.manager.itemEnd(e)}),u)}catch(e){u(e)}}),n,u)}setDRACOLoader(e){return this.dracoLoader=e,this}setDDSLoader(){throw new Error('THREE.GLTFLoader: "MSFT_texture_dds" no longer supported. Please update to "KHR_texture_basisu".')}setKTX2Loader(e){return this.ktx2Loader=e,this}setMeshoptDecoder(e){return this.meshoptDecoder=e,this}register(e){return-1===this.pluginCallbacks.indexOf(e)&&this.pluginCallbacks.push(e),this}unregister(e){return-1!==this.pluginCallbacks.indexOf(e)&&this.pluginCallbacks.splice(this.pluginCallbacks.indexOf(e),1),this}parse(e,t,n,r){let i;const a={},o={};if("string"==typeof e)i=JSON.parse(e);else if(e instanceof ArrayBuffer){if(h(new Uint8Array(e.slice(0,4)))===N){try{a[g.KHR_BINARY_GLTF]=new k(e)}catch(e){return void(r&&r(e))}i=JSON.parse(a[g.KHR_BINARY_GLTF].content)}else i=JSON.parse(h(new Uint8Array(e)))}else i=e;if(void 0===i.asset||i.asset.version[0]<2)return void(r&&r(new Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported.")));const u=new le(i,{path:t||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});u.fileLoader.setRequestHeader(this.requestHeader);for(let e=0;e<this.pluginCallbacks.length;e++){const t=this.pluginCallbacks[e](u);t.name||console.error("THREE.GLTFLoader: Invalid plugin found: missing name"),o[t.name]=t,a[t.name]=!0}if(i.extensionsUsed)for(let e=0;e<i.extensionsUsed.length;++e){const t=i.extensionsUsed[e],n=i.extensionsRequired||[];
vendor: 13,308 bytes, line 2
2switch(t){case g.KHR_MATERIALS_UNLIT:a[t]=new D;break;case g.KHR_DRACO_MESH_COMPRESSION:a[t]=new U(i,this.dracoLoader);break;case g.KHR_TEXTURE_TRANSFORM:a[t]=new z;break;case g.KHR_MESH_QUANTIZATION:a[t]=new V;break;default:n.indexOf(t)>=0&&void 0===o[t]&&console.warn('THREE.GLTFLoader: Unknown extension "'+t+'".')}}u.setExtensions(a),u.setPlugins(o),u.parse(n,r)}parseAsync(e,t){const n=this;return new Promise((function(r,i){n.parse(e,t,r,i)}))}}function m(){let e={};return{get:function(t){return e[t]},add:function(t,n){e[t]=n},remove:function(t){delete e[t]},removeAll:function(){e={}}}}const g={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_DISPERSION:"KHR_materials_dispersion",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class _{constructor(e){this.parser=e,this.name=g.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){const e=this.parser,t=this.parser.json.nodes||[];for(let n=0,r=t.length;n<r;n++){const r=t[n];r.extensions&&r.extensions[this.name]&&void 0!==r.extensions[this.name].light&&e._addNodeRef(this.cache,r.extensions[this.name].light)}}_loadLight(e){const t=this.parser,n="light:"+e;let i=t.cache.get(n);if(i)return i;const a=t.json,o=((a.extensions&&a.extensions[this.name]||{}).lights||[])[e];let u;const s=new r.Color(16777215);void 0!==o.color&&s.setRGB(o.color[0],o.color[1],o.color[2],p);const l=void 0!==o.range?o.range:0;switch(o.type){case"directional":u=new r.DirectionalLight(s),u.target.position.set(0,0,-1),u.add(u.target);break;case"point":u=new r.PointLight(s),u.distance=l;break;case"spot":u=new r.SpotLight(s),u.distance=l,o.spot=o.spot||{},o.spot.innerConeAngle=void 0!==o.spot.innerConeAngle?o.spot.innerConeAngle:0,o.spot.outerConeAngle=void 0!==o.spot.outerConeAngle?o.spot.outerConeAngle:Math.PI/4,u.angle=o.spot.outerConeAngle,u.penumbra=1-o.spot.innerConeAngle/o.spot.outerConeAngle,u.target.position.set(0,0,-1),u.add(u.target);break;default:throw new Error("THREE.GLTFLoader: Unexpected light type: "+o.type)}return u.position.set(0,0,0),u.decay=2,re(u,o),void 0!==o.intensity&&(u.intensity=o.intensity),u.name=t.createUniqueName(o.name||"light_"+e),i=Promise.resolve(u),t.cache.add(n,i),i}getDependency(e,t){if("light"===e)return this._loadLight(t)}createNodeAttachment(e){const t=this,n=this.parser,r=n.json.nodes[e],i=(r.extensions&&r.extensions[this.name]||{}).light;return void 0===i?null:this._loadLight(i).then((function(e){return n._getNodeRef(t.cache,i,e)}))}}class D{constructor(){this.name=g.KHR_MATERIALS_UNLIT}getMaterialType(){return r.MeshBasicMaterial}extendParams(e,t,n){const i=[];e.color=new r.Color(1,1,1),e.opacity=1;const a=t.pbrMetallicRoughness;if(a){if(Array.isArray(a.baseColorFactor)){const t=a.baseColorFactor;e.color.setRGB(t[0],t[1],t[2],p),e.opacity=t[3]}void 0!==a.baseColorTexture&&i.push(n.assignTexture(e,"map",a.baseColorTexture,d))}return Promise.all(i)}}class v{constructor(e){this.parser=e,this.name=g.KHR_MATERIALS_EMISSIVE_STRENGTH}extendMaterialParams(e,t){const n=this.parser.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const r=n.extensions[this.name].emissiveStrength;return void 0!==r&&(t.emissiveIntensity=r),Promise.resolve()}}class y{constructor(e){this.parser=e,this.name=g.KHR_MATERIALS_CLEARCOAT}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?r.MeshPhysicalMaterial:null}extendMaterialParams(e,t){const n=this.parser,i=n.json.materials[e];if(!i.extensions||!i.extensions[this.name])return Promise.resolve();const a=[],o=i.extensions[this.name];if(void 0!==o.clearcoatFactor&&(t.clearcoat=o.clearcoatFactor),void 0!==o.clearcoatTexture&&a.push(n.assignTexture(t,"clearcoatMap",o.clearcoatTexture)),void 0!==o.clearcoatRoughnessFactor&&(t.clearcoatRoughness=o.clearcoatRoughnessFactor),void 0!==o.clearcoatRoughnessTexture&&a.push(n.assignTexture(t,"clearcoatRoughnessMap",o.clearcoatRoughnessTexture)),void 0!==o.clearcoatNormalTexture&&(a.push(n.assignTexture(t,"clearcoatNormalMap",o.clearcoatNormalTexture)),void 0!==o.clearcoatNormalTexture.scale)){const e=o.clearcoatNormalTexture.scale;t.clearcoatNormalScale=new r.Vector2(e,e)}return Promise.all(a)}}class E{constructor(e){this.parser=e,this.name=g.KHR_MATERIALS_DISPERSION}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?r.MeshPhysicalMaterial:null}extendMaterialParams(e,t){const n=this.parser.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const r=n.extensions[this.name];return t.dispersion=void 0!==r.dispersion?r.dispersion:0,Promise.resolve()}}class A{constructor(e){this.parser=e,this.name=g.KHR_MATERIALS_IRIDESCENCE}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?r.MeshPhysicalMaterial:null}extendMaterialParams(e,t){const n=this.parser,r=n.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const i=[],a=r.extensions[this.name];return void 0!==a.iridescenceFactor&&(t.iridescence=a.iridescenceFactor),void 0!==a.iridescenceTexture&&i.push(n.assignTexture(t,"iridescenceMap",a.iridescenceTexture)),void 0!==a.iridescenceIor&&(t.iridescenceIOR=a.iridescenceIor),void 0===t.iridescenceThicknessRange&&(t.iridescenceThicknessRange=[100,400]),void 0!==a.iridescenceThicknessMinimum&&(t.iridescenceThicknessRange[0]=a.iridescenceThicknessMinimum),void 0!==a.iridescenceThicknessMaximum&&(t.iridescenceThicknessRange[1]=a.iridescenceThicknessMaximum),void 0!==a.iridescenceThicknessTexture&&i.push(n.assignTexture(t,"iridescenceThicknessMap",a.iridescenceThicknessTexture)),Promise.all(i)}}class C{constructor(e){this.parser=e,this.name=g.KHR_MATERIALS_SHEEN}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?r.MeshPhysicalMaterial:null}extendMaterialParams(e,t){const n=this.parser,i=n.json.materials[e];if(!i.extensions||!i.extensions[this.name])return Promise.resolve();const a=[];t.sheenColor=new r.Color(0,0,0),t.sheenRoughness=0,t.sheen=1;const o=i.extensions[this.name];if(void 0!==o.sheenColorFactor){const e=o.sheenColorFactor;t.sheenColor.setRGB(e[0],e[1],e[2],p)}return void 0!==o.sheenRoughnessFactor&&(t.sheenRoughness=o.sheenRoughnessFactor),void 0!==o.sheenColorTexture&&a.push(n.assignTexture(t,"sheenColorMap",o.sheenColorTexture,d)),void 0!==o.sheenRoughnessTexture&&a.push(n.assignTexture(t,"sheenRoughnessMap",o.sheenRoughnessTexture)),Promise.all(a)}}class F{constructor(e){this.parser=e,this.name=g.KHR_MATERIALS_TRANSMISSION}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?r.MeshPhysicalMaterial:null}extendMaterialParams(e,t){const n=this.parser,r=n.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const i=[],a=r.extensions[this.name];return void 0!==a.transmissionFactor&&(t.transmission=a.transmissionFactor),void 0!==a.transmissionTexture&&i.push(n.assignTexture(t,"transmissionMap",a.transmissionTexture)),Promise.all(i)}}class b{constructor(e){this.parser=e,this.name=g.KHR_MATERIALS_VOLUME}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?r.MeshPhysicalMaterial:null}extendMaterialParams(e,t){const n=this.parser,i=n.json.materials[e];if(!i.extensions||!i.extensions[this.name])return Promise.resolve();const a=[],o=i.extensions[this.name];t.thickness=void 0!==o.thicknessFactor?o.thicknessFactor:0,void 0!==o.thicknessTexture&&a.push(n.assignTexture(t,"thicknessMap",o.thicknessTexture)),t.attenuationDistance=o.attenuationDistance||1/0;const u=o.attenuationColor||[1,1,1];return t.attenuationColor=(new r.Color).setRGB(u[0],u[1],u[2],p),Promise.all(a)}}class S{constructor(e){this.parser=e,this.name=g.KHR_MATERIALS_IOR}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?r.MeshPhysicalMaterial:null}extendMaterialParams(e,t){const n=this.parser.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const r=n.extensions[this.name];return t.ior=void 0!==r.ior?r.ior:1.5,Promise.resolve()}}class x{constructor(e){this.parser=e,this.name=g.KHR_MATERIALS_SPECULAR}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?r.MeshPhysicalMaterial:null}extendMaterialParams(e,t){const n=this.parser,i=n.json.materials[e];if(!i.extensions||!i.extensions[this.name])return Promise.resolve();const a=[],o=i.extensions[this.name];t.specularIntensity=void 0!==o.specularFactor?o.specularFactor:1,void 0!==o.specularTexture&&a.push(n.assignTexture(t,"specularIntensityMap",o.specularTexture));const u=o.specularColorFactor||[1,1,1];return t.specularColor=(new r.Color).setRGB(u[0],u[1],u[2],p),void 0!==o.specularColorTexture&&a.push(n.assignTexture(t,"specularColorMap",o.specularColorTexture,d)),Promise.all(a)}}class B{constructor(e){this.parser=e,this.name=g.EXT_MATERIALS_BUMP}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?r.MeshPhysicalMaterial:null}extendMaterialParams(e,t){const n=this.parser,r=n.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const i=[],a=r.extensions[this.name];return t.bumpScale=void 0!==a.bumpFactor?a.bumpFactor:1,void 0!==a.bumpTexture&&i.push(n.assignTexture(t,"bumpMap",a.bumpTexture)),Promise.all(i)}}class w{constructor(e){this.parser=e,this.name=g.KHR_MATERIALS_ANISOTROPY}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?r.MeshPhysicalMaterial:null}extendMaterialParams(e,t){const n=this.parser,r=n.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const i=[],a=r.extensions[this.name];return void 0!==a.anisotropyStrength&&(t.anisotropy=a.anisotropyStrength),void 0!==a.anisotropyRotation&&(t.anisotropyRotation=a.anisotropyRotation),void 0!==a.anisotropyTexture&&i.push(n.assignTexture(t,"anisotropyMap",a.anisotropyTexture)),Promise.all(i)}}class M{constructor(e){this.parser=e,this.name=g.KHR_TEXTURE_BASISU}loadTexture(e){const t=this.parser,n=t.json,r=n.textures[e];if(!r.extensions||!r.extensions[this.name])return null;const i=r.extensions[this.name],a=t.options.ktx2Loader;if(!a){if(n.extensionsRequired&&n.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return t.loadTextureImage(e,i.source,a)}}class T{constructor(e){this.parser=e,this.name=g.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(e){const t=this.name,n=this.parser,r=n.json,i=r.textures[e];if(!i.extensions||!i.extensions[t])return null;const a=i.extensions[t],o=r.images[a.source];let u=n.textureLoader;if(o.uri){const e=n.options.manager.getHandler(o.uri);null!==e&&(u=e)}return this.detectSupport().then((function(i){if(i)return n.loadTextureImage(e,a.source,u);if(r.extensionsRequired&&r.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return n.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(1===t.height)}}))),this.isSupported}}class P{constructor(e){this.parser=e,this.name=g.EXT_TEXTURE_AVIF,this.isSupported=null}loadTexture(e){const t=this.name,n=this.parser,r=n.json,i=r.textures[e];if(!i.extensions||!i.extensions[t])return null;const a=i.extensions[t],o=r.images[a.source];let u=n.textureLoader;if(o.uri){const e=n.options.manager.getHandler(o.uri);null!==e&&(u=e)}return this.detectSupport().then((function(i){if(i)return n.loadTextureImage(e,a.source,u);if(r.extensionsRequired&&r.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: AVIF required by asset but unsupported.");return n.loadTexture(e)}))}detectSupport(){return this.isSupported||(this.isSupported=new Promise((function(e){const t=new Image;t.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdj
2FDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=",t.onload=t.onerror=function(){e(1===t.height)}}))),this.isSupported}}class R{constructor(e){this.name=g.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){const t=this.parser.json,n=t.bufferViews[e];if(n.extensions&&n.extensions[this.name]){const e=n.extensions[this.name],r=this.parser.getDependency("buffer",e.buffer),i=this.parser.options.meshoptDecoder;if(!i||!i.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 r.then((function(t){const n=e.byteOffset||0,r=e.byteLength||0,a=e.count,o=e.byteStride,u=new Uint8Array(t,n,r);return i.decodeGltfBufferAsync?i.decodeGltfBufferAsync(a,o,u,e.mode,e.filter).then((function(e){return e.buffer})):i.ready.then((function(){const t=new ArrayBuffer(a*o);return i.decodeGltfBuffer(new Uint8Array(t),a,o,u,e.mode,e.filter),t}))}))}return null}}class I{constructor(e){this.name=g.EXT_MESH_GPU_INSTANCING,this.parser=e}createNodeMesh(e){const t=this.parser.json,n=t.nodes[e];if(!n.extensions||!n.extensions[this.name]||void 0===n.mesh)return null;const i=t.meshes[n.mesh];for(const e of i.primitives)if(e.mode!==j.TRIANGLES&&e.mode!==j.TRIANGLE_STRIP&&e.mode!==j.TRIANGLE_FAN&&void 0!==e.mode)return null;const a=n.extensions[this.name].attributes,o=[],u={};for(const e in a)o.push(this.parser.getDependency("accessor",a[e]).then((t=>(u[e]=t,u[e]))));return o.length<1?null:(o.push(this.parser.createNodeMesh(e)),Promise.all(o).then((e=>{const t=e.pop(),n=t.isGroup?t.children:[t],i=e[0].count,a=[];for(const e of n){const t=new r.Matrix4,n=new r.Vector3,o=new r.Quaternion,s=new r.Vector3(1,1,1),l=new r.InstancedMesh(e.geometry,e.material,i);for(let e=0;e<i;e++)u.TRANSLATION&&n.fromBufferAttribute(u.TRANSLATION,e),u.ROTATION&&o.fromBufferAttribute(u.ROTATION,e),u.SCALE&&s.fromBufferAttribute(u.SCALE,e),l.setMatrixAt(e,t.compose(n,o,s));for(const t in u)if("_COLOR_0"===t){const e=u[t];l.instanceColor=new r.InstancedBufferAttribute(e.array,e.itemSize,e.normalized)}else"TRANSLATION"!==t&&"ROTATION"!==t&&"SCALE"!==t&&e.geometry.setAttribute(t,u[t]);r.Object3D.prototype.copy.call(l,e),this.parser.assignFinalMaterial(l),a.push(l)}return t.isGroup?(t.clear(),t.add(...a),t):a[0]})))}}const N="glTF",L=1313821514,O=5130562;class k{constructor(e){this.name=g.KHR_BINARY_GLTF,this.content=null,this.body=null;const t=new DataView(e,0,12);if(this.header={magic:h(new Uint8Array(e.slice(0,4))),version:t.getUint32(4,!0),length:t.getUint32(8,!0)},this.header.magic!==N)throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");if(this.header.version<2)throw new Error("THREE.GLTFLoader: Legacy binary file detected.");const n=this.header.length-12,r=new DataView(e,12);let i=0;for(;i<n;){const t=r.getUint32(i,!0);i+=4;const n=r.getUint32(i,!0);if(i+=4,n===L){const n=new Uint8Array(e,12+i,t);this.content=h(n)}else if(n===O){const n=12+i;this.body=e.slice(n,n+t)}i+=t}if(null===this.content)throw new Error("THREE.GLTFLoader: JSON content not found.")}}class U{constructor(e,t){if(!t)throw new Error("THREE.GLTFLoader: No DRACOLoader instance provided.");this.name=g.KHR_DRACO_MESH_COMPRESSION,this.json=e,this.dracoLoader=t,this.dracoLoader.preload()}decodePrimitive(e,t){const n=this.json,r=this.dracoLoader,i=e.extensions[this.name].bufferView,a=e.extensions[this.name].attributes,o={},u={},s={};for(const e in a){const t=Y[e]||e.toLowerCase();o[t]=a[e]}for(const t in e.attributes){const r=Y[t]||t.toLowerCase();if(void 0!==a[t]){const i=n.accessors[e.attributes[t]],a=X[i.componentType];s[r]=a.name,u[r]=!0===i.normalized}}return t.getDependency("bufferView",i).then((function(e){return new Promise((function(t,n){r.decodeDracoFile(e,(function(e){for(const t in e.attributes){const n=e.attributes[t],r=u[t];void 0!==r&&(n.normalized=r)}t(e)}),o,s,p,n)}))}))}}class z{constructor(){this.name=g.KHR_TEXTURE_TRANSFORM}extendTexture(e,t){return void 0!==t.texCoord&&t.texCoord!==e.channel||void 0!==t.offset||void 0!==t.rotation||void 0!==t.scale?(e=e.clone(),void 0!==t.texCoord&&(e.channel=t.texCoord),void 0!==t.offset&&e.offset.fromArray(t.offset),void 0!==t.rotation&&(e.rotation=t.rotation),void 0!==t.scale&&e.repeat.fromArray(t.scale),e.needsUpdate=!0,e):e}}class V{constructor(){this.name=g.KHR_MESH_QUANTIZATION}}
vendor: 4,590 bytes, line 2
2class W extends r.Interpolant{constructor(e,t,n,r){super(e,t,n,r)}copySampleValue_(e){const t=this.resultBuffer,n=this.sampleValues,r=this.valueSize,i=e*r*3+r;for(let e=0;e!==r;e++)t[e]=n[i+e];return t}interpolate_(e,t,n,r){const i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,u=2*o,s=3*o,l=r-t,c=(n-t)/l,h=c*c,d=h*c,p=e*s,f=p-s,m=-2*d+3*h,g=d-h,_=1-m,D=g-h+c;for(let e=0;e!==o;e++){const t=a[f+e+o],n=a[f+e+u]*l,r=a[p+e+o],s=a[p+e]*l;i[e]=_*t+D*n+m*r+g*s}return i}}const H=new r.Quaternion;class G extends W{interpolate_(e,t,n,r){const i=super.interpolate_(e,t,n,r);return H.fromArray(i).normalize().toArray(i),i}}const j={FLOAT:5126,FLOAT_MAT3:35675,FLOAT_MAT4:35676,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,LINEAR:9729,REPEAT:10497,SAMPLER_2D:35678,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123},X={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array},K={9728:r.NearestFilter,9729:r.LinearFilter,9984:r.NearestMipmapNearestFilter,9985:r.LinearMipmapNearestFilter,9986:r.NearestMipmapLinearFilter,9987:r.LinearMipmapLinearFilter},q={33071:r.ClampToEdgeWrapping,33648:r.MirroredRepeatWrapping,10497:r.RepeatWrapping},J={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16},Y={POSITION:"position",NORMAL:"normal",TANGENT:"tangent",...c>=152?{TEXCOORD_0:"uv",TEXCOORD_1:"uv1",TEXCOORD_2:"uv2",TEXCOORD_3:"uv3"}:{TEXCOORD_0:"uv",TEXCOORD_1:"uv2"},COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"},$={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"},Q={CUBICSPLINE:void 0,LINEAR:r.InterpolateLinear,STEP:r.InterpolateDiscrete},Z="OPAQUE",ee="MASK",te="BLEND";function ne(e,t,n){for(const r in n.extensions)void 0===e[r]&&(t.userData.gltfExtensions=t.userData.gltfExtensions||{},t.userData.gltfExtensions[r]=n.extensions[r])}function re(e,t){void 0!==t.extras&&("object"==typeof t.extras?Object.assign(e.userData,t.extras):console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+t.extras))}function ie(e,t){if(e.updateMorphTargets(),void 0!==t.weights)for(let n=0,r=t.weights.length;n<r;n++)e.morphTargetInfluences[n]=t.weights[n];if(t.extras&&Array.isArray(t.extras.targetNames)){const n=t.extras.targetNames;if(e.morphTargetInfluences.length===n.length){e.morphTargetDictionary={};for(let t=0,r=n.length;t<r;t++)e.morphTargetDictionary[n[t]]=t}else console.warn("THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.")}}function ae(e){let t;const n=e.extensions&&e.extensions[g.KHR_DRACO_MESH_COMPRESSION];if(t=n?"draco:"+n.bufferView+":"+n.indices+":"+oe(n.attributes):e.indices+":"+oe(e.attributes)+":"+e.mode,void 0!==e.targets)for(let n=0,r=e.targets.length;n<r;n++)t+=":"+oe(e.targets[n]);return t}function oe(e){let t="";const n=Object.keys(e).sort();for(let r=0,i=n.length;r<i;r++)t+=n[r]+":"+e[n[r]]+";";return t}function ue(e){switch(e){case Int8Array:return 1/127;case Uint8Array:return 1/255;case Int16Array:return 1/32767;case Uint16Array:return 1/65535;default:throw new Error("THREE.GLTFLoader: Unsupported normalized accessor component type.")}}const se=new r.Matrix4;class le{constructor(e={},t={}){this.json=e,this.extensions={},this.plugins={},this.options=t,this.cache=new m,this.associations=new Map,this.primitiveCache={},this.nodeCache={},this.meshCache={refs:{},uses:{}},this.cameraCache={refs:{},uses:{}},this.lightCache={refs:{},uses:{}},this.sourceCache={},this.textureCache={},this.nodeNamesUsed={};let n=!1,i=!1,a=-1;"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(n=!0===/^((?!chrome|android).)*safari/i.test(navigator.userAgent),i=navigator.userAgent.indexOf("Firefox")>-1,a=i?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1),"undefined"==typeof createImageBitmap||n||i&&a<98?this.textureLoader=new r.TextureLoader(this.options.manager):this.textureLoader=new r.ImageBitmapLoader(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new r.FileLoader(this.options.manager),this.fileLoader.setResponseType("arraybuffer"),"use-credentials"===this.options.crossOrigin&&this.fileLoader.setWithCredentials(!0)}setExtensions(e){this.extensions=e}setPlugins(e){this.plugins=e}parse(e,t){const n=this,r=this.json,i=this.extensions;this.cache.removeAll(),this.nodeCache={},this._invokeAll((function(e){return e._markDefs&&e._markDefs()})),Promise.all(this._invokeAll((function(e){return e.beforeRoot&&e.beforeRoot()}
vendor: 4,225 bytes, line 2
2))).then((function(){return Promise.all([n.getDependencies("scene"),n.getDependencies("animation"),n.getDependencies("camera")])})).then((function(t){const a={scene:t[0][r.scene||0],scenes:t[0],animations:t[1],cameras:t[2],asset:r.asset,parser:n,userData:{}};return ne(i,a,r),re(a,r),Promise.all(n._invokeAll((function(e){return e.afterRoot&&e.afterRoot(a)}))).then((function(){for(const e of a.scenes)e.updateMatrixWorld();e(a)}))})).catch(t)}_markDefs(){const e=this.json.nodes||[],t=this.json.skins||[],n=this.json.meshes||[];for(let n=0,r=t.length;n<r;n++){const r=t[n].joints;for(let t=0,n=r.length;t<n;t++)e[r[t]].isBone=!0}for(let t=0,r=e.length;t<r;t++){const r=e[t];void 0!==r.mesh&&(this._addNodeRef(this.meshCache,r.mesh),void 0!==r.skin&&(n[r.mesh].isSkinnedMesh=!0)),void 0!==r.camera&&this._addNodeRef(this.cameraCache,r.camera)}}_addNodeRef(e,t){void 0!==t&&(void 0===e.refs[t]&&(e.refs[t]=e.uses[t]=0),e.refs[t]++)}_getNodeRef(e,t,n){if(e.refs[t]<=1)return n;const r=n.clone(),i=(e,t)=>{const n=this.associations.get(e);null!=n&&this.associations.set(t,n);for(const[n,r]of e.children.entries())i(r,t.children[n])};return i(n,r),r.name+="_instance_"+e.uses[t]++,r}_invokeOne(e){const t=Object.values(this.plugins);t.push(this);for(let n=0;n<t.length;n++){const r=e(t[n]);if(r)return r}return null}_invokeAll(e){const t=Object.values(this.plugins);t.unshift(this);const n=[];for(let r=0;r<t.length;r++){const i=e(t[r]);i&&n.push(i)}return n}getDependency(e,t){const n=e+":"+t;let r=this.cache.get(n);if(!r){switch(e){case"scene":r=this.loadScene(t);break;case"node":r=this._invokeOne((function(e){return e.loadNode&&e.loadNode(t)}));break;case"mesh":r=this._invokeOne((function(e){return e.loadMesh&&e.loadMesh(t)}));break;case"accessor":r=this.loadAccessor(t);break;case"bufferView":r=this._invokeOne((function(e){return e.loadBufferView&&e.loadBufferView(t)}));break;case"buffer":r=this.loadBuffer(t);break;case"material":r=this._invokeOne((function(e){return e.loadMaterial&&e.loadMaterial(t)}));break;case"texture":r=this._invokeOne((function(e){return e.loadTexture&&e.loadTexture(t)}));break;case"skin":r=this.loadSkin(t);break;case"animation":r=this._invokeOne((function(e){return e.loadAnimation&&e.loadAnimation(t)}));break;case"camera":r=this.loadCamera(t);break;default:if(r=this._invokeOne((function(n){return n!=this&&n.getDependency&&n.getDependency(e,t)})),!r)throw new Error("Unknown type: "+e)}this.cache.add(n,r)}return r}getDependencies(e){let t=this.cache.get(e);if(!t){const n=this,r=this.json[e+("mesh"===e?"es":"s")]||[];t=Promise.all(r.map((function(t,r){return n.getDependency(e,r)}))),this.cache.add(e,t)}return t}loadBuffer(e){const t=this.json.buffers[e],n=this.fileLoader;if(t.type&&"arraybuffer"!==t.type)throw new Error("THREE.GLTFLoader: "+t.type+" buffer type is not supported.");if(void 0===t.uri&&0===e)return Promise.resolve(this.extensions[g.KHR_BINARY_GLTF].body);const i=this.options;return new Promise((function(e,a){n.load(r.LoaderUtils.resolveURL(t.uri,i.path),e,void 0,(function(){a(new Error('THREE.GLTFLoader: Failed to load buffer "'+t.uri+'".'))}))}))}loadBufferView(e){const t=this.json.bufferViews[e];return this.getDependency("buffer",t.buffer).then((function(e){const n=t.byteLength||0,r=t.byteOffset||0;return e.slice(r,r+n)}))}loadAccessor(e){const t=this,n=this.json,i=this.json.accessors[e];if(void 0===i.bufferView&&void 0===i.sparse){const e=J[i.type],t=X[i.componentType],n=!0===i.normalized,a=new t(i.count*e);return Promise.resolve(new r.BufferAttribute(a,e,n))}const a=[];return void 0!==i.bufferView?a.push(this.getDependency("bufferView",i.bufferView)):a.push(null),void 0!==i.sparse&&(a.push(this.getDependency("bufferView",i.sparse.indices.bufferView)),a.push(this.getDependency("bufferView",i.sparse.values.bufferView))),Promise.all(a).then((function(e){const a=e[0],o=J[i.type],u=X[i.componentType],s=u.BYTES_PER_ELEMENT,l=s*o,c=i.byteOffset||0,h=void 0!==i.bufferView?n.bufferViews[i.bufferView].byteStride:void 0,d=!0===i.normalized;let p,f;if(h&&h!==l){const e=Math.floor(c/h),n="InterleavedBuffer:"+i.bufferView+":"+i.componentType+":"+e+":"+i.count;let l=t.cache.get(n);l||(p=new u(a,e*h,i.count*h/s),l=new r.InterleavedBuffer(p,h/s),t.cac
vendor: 5,117 bytes, line 2
2he.add(n,l)),f=new r.InterleavedBufferAttribute(l,o,c%h/s,d)}else p=null===a?new u(i.count*o):new u(a,c,i.count*o),f=new r.BufferAttribute(p,o,d);if(void 0!==i.sparse){const t=J.SCALAR,n=X[i.sparse.indices.componentType],s=i.sparse.indices.byteOffset||0,l=i.sparse.values.byteOffset||0,c=new n(e[1],s,i.sparse.count*t),h=new u(e[2],l,i.sparse.count*o);null!==a&&(f=new r.BufferAttribute(f.array.slice(),f.itemSize,f.normalized));for(let e=0,t=c.length;e<t;e++){const t=c[e];if(f.setX(t,h[e*o]),o>=2&&f.setY(t,h[e*o+1]),o>=3&&f.setZ(t,h[e*o+2]),o>=4&&f.setW(t,h[e*o+3]),o>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return f}))}loadTexture(e){const t=this.json,n=this.options,r=t.textures[e].source,i=t.images[r];let a=this.textureLoader;if(i.uri){const e=n.manager.getHandler(i.uri);null!==e&&(a=e)}return this.loadTextureImage(e,r,a)}loadTextureImage(e,t,n){const i=this,a=this.json,o=a.textures[e],u=a.images[t],s=(u.uri||u.bufferView)+":"+o.sampler;if(this.textureCache[s])return this.textureCache[s];const l=this.loadImageSource(t,n).then((function(t){t.flipY=!1,t.name=o.name||u.name||"",""===t.name&&"string"==typeof u.uri&&!1===u.uri.startsWith("data:image/")&&(t.name=u.uri);const n=(a.samplers||{})[o.sampler]||{};return t.magFilter=K[n.magFilter]||r.LinearFilter,t.minFilter=K[n.minFilter]||r.LinearMipmapLinearFilter,t.wrapS=q[n.wrapS]||r.RepeatWrapping,t.wrapT=q[n.wrapT]||r.RepeatWrapping,i.associations.set(t,{textures:e}),t})).catch((function(){return null}));return this.textureCache[s]=l,l}loadImageSource(e,t){const n=this,i=this.json,a=this.options;if(void 0!==this.sourceCache[e])return this.sourceCache[e].then((e=>e.clone()));const o=i.images[e],u=self.URL||self.webkitURL;let s=o.uri||"",l=!1;if(void 0!==o.bufferView)s=n.getDependency("bufferView",o.bufferView).then((function(e){l=!0;const t=new Blob([e],{type:o.mimeType});return s=u.createObjectURL(t),s}));else if(void 0===o.uri)throw new Error("THREE.GLTFLoader: Image "+e+" is missing URI and bufferView");const c=Promise.resolve(s).then((function(e){return new Promise((function(n,i){let o=n;!0===t.isImageBitmapLoader&&(o=function(e){const t=new r.Texture(e);t.needsUpdate=!0,n(t)}),t.load(r.LoaderUtils.resolveURL(e,a.path),o,void 0,i)}))})).then((function(e){var t;return!0===l&&u.revokeObjectURL(s),re(e,o),e.userData.mimeType=o.mimeType||((t=o.uri).search(/\.jpe?g($|\?)/i)>0||0===t.search(/^data\:image\/jpeg/)?"image/jpeg":t.search(/\.webp($|\?)/i)>0||0===t.search(/^data\:image\/webp/)?"image/webp":"image/png"),e})).catch((function(e){throw console.error("THREE.GLTFLoader: Couldn't load texture",s),e}));return this.sourceCache[e]=c,c}assignTexture(e,t,n,r){const i=this;return this.getDependency("texture",n.index).then((function(a){if(!a)return null;if(void 0!==n.texCoord&&n.texCoord>0&&((a=a.clone()).channel=n.texCoord),i.extensions[g.KHR_TEXTURE_TRANSFORM]){const e=void 0!==n.extensions?n.extensions[g.KHR_TEXTURE_TRANSFORM]:void 0;if(e){const t=i.associations.get(a);a=i.extensions[g.KHR_TEXTURE_TRANSFORM].extendTexture(a,e),i.associations.set(a,t)}}return void 0!==r&&("number"==typeof r&&(r=3001===r?d:p),"colorSpace"in a?a.colorSpace=r:a.encoding=r===d?3001:3e3),e[t]=a,a}))}assignFinalMaterial(e){const t=e.geometry;let n=e.material;const i=void 0===t.attributes.tangent,a=void 0!==t.attributes.color,o=void 0===t.attributes.normal;if(e.isPoints){const e="PointsMaterial:"+n.uuid;let t=this.cache.get(e);t||(t=new r.PointsMaterial,r.Material.prototype.copy.call(t,n),t.color.copy(n.color),t.map=n.map,t.sizeAttenuation=!1,this.cache.add(e,t)),n=t}else if(e.isLine){const e="LineBasicMaterial:"+n.uuid;let t=this.cache.get(e);t||(t=new r.LineBasicMaterial,r.Material.prototype.copy.call(t,n),t.color.copy(n.color),t.map=n.map,this.cache.add(e,t)),n=t}if(i||a||o){let e="ClonedMaterial:"+n.uuid+":";i&&(e+="derivative-tangents:"),a&&(e+="vertex-colors:"),o&&(e+="flat-shading:");let t=this.cache.get(e);t||(t=n.clone(),a&&(t.vertexColors=!0),o&&(t.flatShading=!0),i&&(t.normalScale&&(t.normalScale.y*=-1),t.clearcoatNormalScale&&(t.clearcoatNormalScale.y*=-1)),this.cache.add(e,t),this.associations.set(t,this.associations.get(n))),n=t}e.material=n}getMaterialType(){return r.MeshStandardMaterial}loadMaterial(e){const t=this,n=this.json,i=this.extensions,a=n.materials[e];let o;const u={},s=[];if((a.extensions||{})[g.KHR_MATERIALS_UNLIT]){const e=i[g.KHR_MATERIALS_UNLIT];o=e.getMaterialType(),s.push(e.extendParams(u,a,t))}else{const n=a.pbrMetallicRoughness||{};if(u.color=new r.Color(1,1,1),u.opacity=1,Array.isArray(n.baseColorFactor)){const e=n.baseColorFactor;u.color.setRGB(e[0],e[1],e[2],p),u.opacity=e[3]}void 0!==n.baseColorTexture&&s.push(t.assignTexture(u,"map",n.baseColorTexture,d)),u.metalness=void 0!==n.metallicFactor?n.metallicFactor:1,u.roughness=void 0!==n.roughnessFactor?n.roughnessFactor:1,void 0!==n.metallicRoughnessTexture&&(s.push(t.assignTexture(u,"metalnessMap",n.metallicRoughnessTexture)),s.push(t.assignTexture(u,"roughnessMap",n.metallicRoughnessTexture))),o=this._invokeOne((function(t){return t.getMaterialType&&t.getMaterialType(e)}
vendor: 4,519 bytes, line 2
2)),s.push(Promise.all(this._invokeAll((function(t){return t.extendMaterialParams&&t.extendMaterialParams(e,u)}))))}!0===a.doubleSided&&(u.side=r.DoubleSide);const l=a.alphaMode||Z;if(l===te?(u.transparent=!0,u.depthWrite=!1):(u.transparent=!1,l===ee&&(u.alphaTest=void 0!==a.alphaCutoff?a.alphaCutoff:.5)),void 0!==a.normalTexture&&o!==r.MeshBasicMaterial&&(s.push(t.assignTexture(u,"normalMap",a.normalTexture)),u.normalScale=new r.Vector2(1,1),void 0!==a.normalTexture.scale)){const e=a.normalTexture.scale;u.normalScale.set(e,e)}if(void 0!==a.occlusionTexture&&o!==r.MeshBasicMaterial&&(s.push(t.assignTexture(u,"aoMap",a.occlusionTexture)),void 0!==a.occlusionTexture.strength&&(u.aoMapIntensity=a.occlusionTexture.strength)),void 0!==a.emissiveFactor&&o!==r.MeshBasicMaterial){const e=a.emissiveFactor;u.emissive=(new r.Color).setRGB(e[0],e[1],e[2],p)}return void 0!==a.emissiveTexture&&o!==r.MeshBasicMaterial&&s.push(t.assignTexture(u,"emissiveMap",a.emissiveTexture,d)),Promise.all(s).then((function(){const n=new o(u);return a.name&&(n.name=a.name),re(n,a),t.associations.set(n,{materials:e}),a.extensions&&ne(i,n,a),n}))}createUniqueName(e){const t=r.PropertyBinding.sanitizeNodeName(e||"");return t in this.nodeNamesUsed?t+"_"+ ++this.nodeNamesUsed[t]:(this.nodeNamesUsed[t]=0,t)}loadGeometries(e){const t=this,n=this.extensions,i=this.primitiveCache;function a(e){return n[g.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(e,t).then((function(n){return ce(n,e,t)}))}const o=[];for(let n=0,u=e.length;n<u;n++){const u=e[n],s=ae(u),l=i[s];if(l)o.push(l.promise);else{let e;e=u.extensions&&u.extensions[g.KHR_DRACO_MESH_COMPRESSION]?a(u):ce(new r.BufferGeometry,u,t),i[s]={primitive:u,promise:e},o.push(e)}}return Promise.all(o)}loadMesh(e){const t=this,n=this.json,i=this.extensions,a=n.meshes[e],o=a.primitives,u=[];for(let e=0,t=o.length;e<t;e++){const t=void 0===o[e].material?(void 0===(s=this.cache).DefaultMaterial&&(s.DefaultMaterial=new r.MeshStandardMaterial({color:16777215,emissive:0,metalness:1,roughness:1,transparent:!1,depthTest:!0,side:r.FrontSide})),s.DefaultMaterial):this.getDependency("material",o[e].material);u.push(t)}var s;return u.push(t.loadGeometries(o)),Promise.all(u).then((function(n){const u=n.slice(0,n.length-1),s=n[n.length-1],c=[];for(let n=0,h=s.length;n<h;n++){const h=s[n],d=o[n];let p;const f=u[n];if(d.mode===j.TRIANGLES||d.mode===j.TRIANGLE_STRIP||d.mode===j.TRIANGLE_FAN||void 0===d.mode)p=!0===a.isSkinnedMesh?new r.SkinnedMesh(h,f):new r.Mesh(h,f),!0===p.isSkinnedMesh&&p.normalizeSkinWeights(),d.mode===j.TRIANGLE_STRIP?p.geometry=l(p.geometry,r.TriangleStripDrawMode):d.mode===j.TRIANGLE_FAN&&(p.geometry=l(p.geometry,r.TriangleFanDrawMode));else if(d.mode===j.LINES)p=new r.LineSegments(h,f);else if(d.mode===j.LINE_STRIP)p=new r.Line(h,f);else if(d.mode===j.LINE_LOOP)p=new r.LineLoop(h,f);else{if(d.mode!==j.POINTS)throw new Error("THREE.GLTFLoader: Primitive mode unsupported: "+d.mode);p=new r.Points(h,f)}Object.keys(p.geometry.morphAttributes).length>0&&ie(p,a),p.name=t.createUniqueName(a.name||"mesh_"+e),re(p,a),d.extensions&&ne(i,p,d),t.assignFinalMaterial(p),c.push(p)}for(let n=0,r=c.length;n<r;n++)t.associations.set(c[n],{meshes:e,primitives:n});if(1===c.length)return a.extensions&&ne(i,c[0],a),c[0];const h=new r.Group;a.extensions&&ne(i,h,a),t.associations.set(h,{meshes:e});for(let e=0,t=c.length;e<t;e++)h.add(c[e]);return h}))}loadCamera(e){let t;const n=this.json.cameras[e],i=n[n.type];if(i)return"perspective"===n.type?t=new r.PerspectiveCamera(r.MathUtils.radToDeg(i.yfov),i.aspectRatio||1,i.znear||1,i.zfar||2e6):"orthographic"===n.type&&(t=new r.OrthographicCamera(-i.xmag,i.xmag,i.ymag,-i.ymag,i.znear,i.zfar)),n.name&&(t.name=this.createUniqueName(n.name)),re(t,n),Promise.resolve(t);console.warn("THREE.GLTFLoader: Missing camera parameters.")}loadSkin(e){const t=this.json.skins[e],n=[];for(let e=0,r=t.joints.length;e<r;e++)n.push(this._loadNodeShallow(t.joints[e]));return void 0!==t.inverseBindMatrices?n.push(this.getDependency("accessor",t.inverseBindMatrices)):n.push(null),Promise.all(n).then((function(e){const n=e.pop(),i=e,a=[],o=[];for(let e=0,u=i.length;e<u;e++){const u=i[e];if(u){a.push(u);const t=new r.Matrix4;null!==n&&t.fromArray(n.array,16*e),o.push(t)}else console.warn('THREE.GLTFLoader: Joint "%s" could not be found.',t.joints[e])}return new r.Skeleton(a,o)}))}loadAnimation(e){const t=this.json,n=this,i=t.animations[e],a=i.name?i.name:"animation_"+e,o=[],u=[],s=[],l=[],c=[];for(let e=0,t=i.channels.length;e<t;
vendor: 4,130 bytes, line 2
2e++){const t=i.channels[e],n=i.samplers[t.sampler],r=t.target,a=r.node,h=void 0!==i.parameters?i.parameters[n.input]:n.input,d=void 0!==i.parameters?i.parameters[n.output]:n.output;void 0!==r.node&&(o.push(this.getDependency("node",a)),u.push(this.getDependency("accessor",h)),s.push(this.getDependency("accessor",d)),l.push(n),c.push(r))}return Promise.all([Promise.all(o),Promise.all(u),Promise.all(s),Promise.all(l),Promise.all(c)]).then((function(e){const t=e[0],i=e[1],o=e[2],u=e[3],s=e[4],l=[];for(let e=0,r=t.length;e<r;e++){const r=t[e],a=i[e],c=o[e],h=u[e],d=s[e];if(void 0===r)continue;r.updateMatrix&&r.updateMatrix();const p=n._createAnimationTracks(r,a,c,h,d);if(p)for(let e=0;e<p.length;e++)l.push(p[e])}return new r.AnimationClip(a,void 0,l)}))}createNodeMesh(e){const t=this.json,n=this,r=t.nodes[e];return void 0===r.mesh?null:n.getDependency("mesh",r.mesh).then((function(e){const t=n._getNodeRef(n.meshCache,r.mesh,e);return void 0!==r.weights&&t.traverse((function(e){if(e.isMesh)for(let t=0,n=r.weights.length;t<n;t++)e.morphTargetInfluences[t]=r.weights[t]})),t}))}loadNode(e){const t=this,n=this.json.nodes[e],r=t._loadNodeShallow(e),i=[],a=n.children||[];for(let e=0,n=a.length;e<n;e++)i.push(t.getDependency("node",a[e]));const o=void 0===n.skin?Promise.resolve(null):t.getDependency("skin",n.skin);return Promise.all([r,Promise.all(i),o]).then((function(e){const t=e[0],n=e[1],r=e[2];null!==r&&t.traverse((function(e){e.isSkinnedMesh&&e.bind(r,se)}));for(let e=0,r=n.length;e<r;e++)t.add(n[e]);return t}))}_loadNodeShallow(e){const t=this.json,n=this.extensions,i=this;if(void 0!==this.nodeCache[e])return this.nodeCache[e];const a=t.nodes[e],o=a.name?i.createUniqueName(a.name):"",u=[],s=i._invokeOne((function(t){return t.createNodeMesh&&t.createNodeMesh(e)}));return s&&u.push(s),void 0!==a.camera&&u.push(i.getDependency("camera",a.camera).then((function(e){return i._getNodeRef(i.cameraCache,a.camera,e)}))),i._invokeAll((function(t){return t.createNodeAttachment&&t.createNodeAttachment(e)})).forEach((function(e){u.push(e)})),this.nodeCache[e]=Promise.all(u).then((function(t){let u;if(u=!0===a.isBone?new r.Bone:t.length>1?new r.Group:1===t.length?t[0]:new r.Object3D,u!==t[0])for(let e=0,n=t.length;e<n;e++)u.add(t[e]);if(a.name&&(u.userData.name=a.name,u.name=o),re(u,a),a.extensions&&ne(n,u,a),void 0!==a.matrix){const e=new r.Matrix4;e.fromArray(a.matrix),u.applyMatrix4(e)}else void 0!==a.translation&&u.position.fromArray(a.translation),void 0!==a.rotation&&u.quaternion.fromArray(a.rotation),void 0!==a.scale&&u.scale.fromArray(a.scale);return i.associations.has(u)||i.associations.set(u,{}),i.associations.get(u).nodes=e,u})),this.nodeCache[e]}loadScene(e){const t=this.extensions,n=this.json.scenes[e],i=this,a=new r.Group;n.name&&(a.name=i.createUniqueName(n.name)),re(a,n),n.extensions&&ne(t,a,n);const o=n.nodes||[],u=[];for(let e=0,t=o.length;e<t;e++)u.push(i.getDependency("node",o[e]));return Promise.all(u).then((function(e){for(let t=0,n=e.length;t<n;t++)a.add(e[t]);return i.associations=(e=>{const t=new Map;for(const[e,n]of i.associations)(e instanceof r.Material||e instanceof r.Texture)&&t.set(e,n);return e.traverse((e=>{const n=i.associations.get(e);null!=n&&t.set(e,n)})),t})(a),a}))}_createAnimationTracks(e,t,n,i,a){const o=[],u=e.name?e.name:e.uuid,s=[];let l;switch($[a.path]===$.weights?e.traverse((function(e){e.morphTargetInfluences&&s.push(e.name?e.name:e.uuid)})):s.push(u),$[a.path]){case $.weights:l=r.NumberKeyframeTrack;break;case $.rotation:l=r.QuaternionKeyframeTrack;break;case $.position:case $.scale:l=r.VectorKeyframeTrack;break;default:if(1===n.itemSize)l=r.NumberKeyframeTrack;else l=r.VectorKeyframeTrack}const c=void 0!==i.interpolation?Q[i.interpolation]:r.InterpolateLinear,h=this._getArrayFromAccessor(n);for(let e=0,n=s.length;e<n;e++){const n=new l(s[e]+"."+$[a.path],t.array,h,c);"CUBICSPLINE"===i.interpolation&&this._createCubicSplineTrackInterpolant(n),o.push(n)}return o}_getArrayFromAccessor(e){let t=e.array;if(e.normalized){const e=ue(t.constructor),n=new Float32Array(t.length);for(let r=0,i=t.length;r<i;r++)n[r]=t[r]*e;t=n}return t}
2_createCubicSplineTrackInterpolant(e){e.createInterpolant=function(e){return new(this instanceof r.QuaternionKeyframeTrack?G:W)(this.times,this.values,this.getValueSize()/3,e)},e.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline=!0}}function ce(e,t,n){const i=t.attributes,a=[];function o(t,r){return n.getDependency("accessor",t).then((function(t){e.setAttribute(r,t)}))}for(const t in i){const n=Y[t]||t.toLowerCase();n in e.attributes||a.push(o(i[t],n))}if(void 0!==t.indices&&!e.index){const r=n.getDependency("accessor",t.indices).then((function(t){e.setIndex(t)}));a.push(r)}return re(e,t),function(e,t,n){const i=t.attributes,a=new r.Box3;if(void 0===i.POSITION)return;{const e=n.json.accessors[i.POSITION],t=e.min,o=e.max;if(void 0===t||void 0===o)return void console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.");if(a.set(new r.Vector3(t[0],t[1],t[2]),new r.Vector3(o[0],o[1],o[2])),e.normalized){const t=ue(X[e.componentType]);a.min.multiplyScalar(t),a.max.multiplyScalar(t)}}const o=t.targets;if(void 0!==o){const e=new r.Vector3,t=new r.Vector3;for(let r=0,i=o.length;r<i;r++){const i=o[r];if(void 0!==i.POSITION){const r=n.json.accessors[i.POSITION],a=r.min,o=r.max;if(void 0!==a&&void 0!==o){if(t.setX(Math.max(Math.abs(a[0]),Math.abs(o[0]))),t.setY(Math.max(Math.abs(a[1]),Math.abs(o[1]))),t.setZ(Math.max(Math.abs(a[2]),Math.abs(o[2]))),r.normalized){const e=ue(X[r.componentType]);t.multiplyScalar(e)}e.max(t)}else console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.")}}a.expandByVector(e)}e.boundingBox=a;const u=new r.Sphere;a.getCenter(u.center),u.radius=a.min.distanceTo(a.max)/2,e.boundingSphere=u}(e,t,n),Promise.all(a).then((function(){return void 0!==t.targets?function(e,t,n){let r=!1,i=!1,a=!1;for(let e=0,n=t.length;e<n;e++){const n=t[e];if(void 0!==n.POSITION&&(r=!0),void 0!==n.NORMAL&&(i=!0),void 0!==n.COLOR_0&&(a=!0),r&&i&&a)break}if(!r&&!i&&!a)return Promise.resolve(e);const o=[],u=[],s=[];for(let l=0,c=t.length;l<c;l++){const c=t[l];if(r){const t=void 0!==c.POSITION?n.getDependency("accessor",c.POSITION):e.attributes.position;o.push(t)}if(i){const t=void 0!==c.NORMAL?n.getDependency("accessor",c.NORMAL):e.attributes.normal;u.push(t)}if(a){const t=void 0!==c.COLOR_0?n.getDependency("accessor",c.COLOR_0):e.attributes.color;s.push(t)}}return Promise.all([Promise.all(o),Promise.all(u),Promise.all(s)]).then((function(t){const n=t[0],o=t[1],u=t[2];return r&&(e.morphAttributes.position=n),i&&(e.morphAttributes.normal=o),a&&(e.morphAttributes.color=u),e.morphTargetsRelative=!0,e}))}(e,t.targets,n):e}))}var he=n(9949);let de=null,pe="https://www.gstatic.com/draco/versioned/decoders/1.5.5/";function fe(e,t,n){return r=>{n&&n(r),e&&(de||(de=new a),de.setDecoderPath("string"==typeof e?e:pe),r.setDRACOLoader(de)),t&&r.setMeshoptDecoder("function"==typeof s?s():s)}}function me(e,t=!0,n=!0,r){return(0,he.F)(f,e,fe(t,n,r))}me.preload=(e,t=!0,n=!0,r)=>he.F.preload(f,e,fe(t,n,r)),me.clear=e=>he.F.clear(f,e),me.setDecoderPath=e=>{pe=e}},4719:function(e,t,n){"use strict";n.d(t,{u:function(){return s}});var r=n(8168),i=n(6540),a=n(9949),o=n(9437);function u(e,t,n){const r=(0,a.A)((e=>e.size)),u=(0,a.A)((e=>e.viewport)),s="number"==typeof e?e:r.width*u.dpr,l="number"==typeof t?t:r.height*u.dpr,c=("number"==typeof e?n:e)||{},{samples:h=0,depth:d,...p}=c,f=i.useMemo((()=>{const e=new o.WebGLRenderTarget(s,l,{minFilter:o.LinearFilter,magFilter:o.LinearFilter,type:o.HalfFloatType,...p});return d&&(e.depthTexture=new o.DepthTexture(s,l,o.FloatType)),e.samples=h,e}),[]);return i.useLayoutEffect((()=>{f.setSize(s,l),h&&(f.samples=h)}),[h,f,s,l]),i.useEffect((()=>()=>f.dispose()),[]),f}const s=i.forwardRef((({envMap:e,resolution:t=256,frames:n=1/0,makeDefault:o,children:s,...l},c)=>{const h=(0,a.A)((({set:e})=>e)),d=(0,a.A)((({camera:e})=>e)),p=(0,a.A)((({size:e})=>e)),f=i.useRef(null);i.useImperativeHandle(c,(()=>f.current),[]);const m=i.useRef(null),g=u(t);i.useLayoutEffect((()=>{l.manual||(f.current.aspect=p.width/p.height)}),[p,l]),i.useLayoutEffect((()=>{f.current.updateProjectionMatrix()}));let _=0,D=null;const v="function"==typeof s;return(0,a.C)((t=>{v&&(n===1/0||_<n)&&(m.current.visible=!1,t.gl.setRenderTarget(g),D=t.scene.background,e&&(t.scene.background=e),t.gl.render(t.scene,f.current),t.scene.background=D,t.gl.setRenderTarget(null),m.current.visible=!0,_++)})),i.useLayoutEffect((()=>
2{if(o){const e=d;return h((()=>({camera:f.current}))),()=>h((()=>({camera:e})))}}),[f,o,h]),i.createElement(i.Fragment,null,i.createElement("perspectiveCamera",(0,r.A)({ref:f},l),!v&&s),i.createElement("group",{ref:m},v&&s(g.texture)))}))},1608:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(8168),i=n(9437),a=n(6540);const o=a.forwardRef((({children:e,width:t,height:n,depth:o,box3:u,precise:s=!0,...l},c)=>{const h=a.useRef(null),d=a.useRef(null),p=a.useRef(null);return a.useLayoutEffect((()=>{d.current.matrixWorld.identity();let e=u||(new i.Box3).setFromObject(p.current,s);const r=e.max.x-e.min.x,a=e.max.y-e.min.y,l=e.max.z-e.min.z;let c=Math.max(r,a,l);t&&(c=r),n&&(c=a),o&&(c=l),d.current.scale.setScalar(1/c)}),[t,n,o,u,s]),a.useImperativeHandle(c,(()=>h.current),[]),a.createElement("group",(0,r.A)({ref:h},l),a.createElement("group",{ref:d},a.createElement("group",{ref:p},e)))}))},426:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(6540),i=n(9437),a=n(9949);function o(e,t){const n=r.useRef(),[o]=r.useState((()=>t?t instanceof i.Object3D?{current:t}:t:n)),[u]=r.useState((()=>new i.AnimationMixer(void 0)));r.useLayoutEffect((()=>{t&&(o.current=t instanceof i.Object3D?t:t.current),u._root=o.current}));const s=r.useRef({}),l=r.useMemo((()=>{const t={};return e.forEach((e=>Object.defineProperty(t,e.name,{enumerable:!0,get(){if(o.current)return s.current[e.name]||(s.current[e.name]=u.clipAction(e,o.current))},configurable:!0}))),{ref:o,clips:e,actions:t,names:e.map((e=>e.name)),mixer:u}}),[e]);return(0,a.C)(((e,t)=>u.update(t))),r.useEffect((()=>{const e=o.current;return()=>{s.current={},u.stopAllAction(),Object.values(l.actions).forEach((t=>{e&&u.uncacheAction(t,e)}))}}),[e]),l}},9949:function(e,t,n){"use strict";n.d(t,{A:function(){return he},B:function(){return x},C:function(){return de},E:function(){return B},F:function(){return me},a:function(){return b},b:function(){return Ce},c:function(){return Y},d:function(){return be},e:function(){return D},g:function(){return Se},i:function(){return F},j:function(){return ye},u:function(){return S}});var r=n(9437),i=n(6540),a=n(772);function o(e){let t;const n=new Set,r=(e,r)=>{const i="function"==typeof e?e(t):e;if(i!==t){const e=t;t=r?i:Object.assign({},t,i),n.forEach((n=>n(t,e)))}},i=()=>t,a={setState:r,getState:i,subscribe:(e,r,a)=>r||a?((e,r=i,a=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let o=r(t);function u(){const n=r(t);if(!a(o,n)){const t=o;e(o=n,t)}}return n.add(u),()=>n.delete(u)})(e,r,a):(n.add(e),()=>n.delete(e)),destroy:()=>n.clear()};return t=e(r,i,a),a}const u="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?i.useEffect:i.useLayoutEffect;function s(e){const t="function"==typeof e?o(e):e,n=(e=t.getState,n=Object.is)=>{const[,r]=(0,i.useReducer)((e=>e+1),0),a=t.getState(),o=(0,i.useRef)(a),s=(0,i.useRef)(e),l=(0,i.useRef)(n),c=(0,i.useRef)(!1),h=(0,i.useRef)();let d;void 0===h.current&&(h.current=e(a));let p=!1;(o.current!==a||s.current!==e||l.current!==n||c.current)&&(d=e(a),p=!n(h.current,d)),u((()=>{p&&(h.current=d),o.current=a,s.current=e,l.current=n,c.current=!1}));const f=(0,i.useRef)(a);u((()=>{const e=()=>{try{const e=t.getState(),n=s.current(e);l.current(h.current,n)||(o.current=e,h.current=n,r())}catch(e){c.current=!0,r()}},n=t.subscribe(e);return t.getState()!==f.current&&e(),n}),[]);const m=p?d:h.current;return(0,i.useDebugValue)(m),m};return Object.assign(n,t),n[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const e=[n,t];return{next(){const t=e.length<=0;return{value:e.shift(),done:t}}}},n}var l=n(4845),c=n.n(l),h=n(8719);const d=[];function p(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t)return!1;const r=e.length;if(t.length!==r)return!1;for(let i=0;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function f(e,t=null,n=!1,r={}){null===t&&(t=[e]);for(const e of d)if(p(t,e.keys,e.equal)){if(n)return;if(Object.prototype.hasOwnProperty.call(e,"error"))throw e.error;if(Object.prototype.hasOwnProperty.call(e,"response"))return r.lifespan&&r.lifespan>0&&(e.timeout&&clearTimeout(e.timeout),e.timeout=setTimeout(e.remove,r.lifespan)),e.response;if(!n)throw e.promise}const i={keys:t,equal:r.equal,remove:()=>{const e=d.indexOf(i);-1!==e&&d.splice(e,1)},promise:(a=e,"object"==typeof a&&"function"==typeof a.then?e:e(...t)).then((e=>{i.response=e,r.lifespan&&r.lifespan>0&&(i.timeout=setTimeout(i.remove,r.lifespan))})).catch((e=>i.error=e))};var a;if(d.push(i),!n)throw i.promise}
2const m=(e,t,n)=>f(e,t,!1,n);var g=n(4848);const _={},D=e=>{Object.assign(_,e)};var v,y;const E=e=>"colorSpace"in e||"outputColorSpace"in e,A=()=>{var e;return null!=(e=_.ColorManagement)?e:null},C=e=>e&&e.isOrthographicCamera,F=e=>e&&e.hasOwnProperty("current"),b="undefined"!=typeof window&&(null!=(v=window.document)&&v.createElement||"ReactNative"===(null==(y=window.navigator)?void 0:y.product))?i.useLayoutEffect:i.useEffect;function S(e){const t=i.useRef(e);return b((()=>{t.current=e}),[e]),t}function x({set:e}){return b((()=>(e(new Promise((()=>null))),()=>e(!1))),[e]),null}class B extends i.Component{constructor(...e){super(...e),this.state={error:!1}}componentDidCatch(e){this.props.set(e)}render(){return this.state.error?null:this.props.children}}B.getDerivedStateFromError=()=>({error:!0});const w="__default",M=new Map,T=e=>e&&!!e.memoized&&!!e.changes;function P(e){var t;const n="undefined"!=typeof window?null!=(t=window.devicePixelRatio)?t:2:1;return Array.isArray(e)?Math.min(Math.max(e[0],n),e[1]):e}const R=e=>{var t;return null==(t=e.__r3f)?void 0:t.root.getState()};function I(e){let t=e.__r3f.root;for(;t.getState().previousRoot;)t=t.getState().previousRoot;return t}const N={obj:e=>e===Object(e)&&!N.arr(e)&&"function"!=typeof e,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,boo:e=>"boolean"==typeof e,und:e=>void 0===e,arr:e=>Array.isArray(e),equ(e,t,{arrays:n="shallow",objects:r="reference",strict:i=!0}={}){if(typeof e!=typeof t||!!e!=!!t)return!1;if(N.str(e)||N.num(e)||N.boo(e))return e===t;const a=N.obj(e);if(a&&"reference"===r)return e===t;const o=N.arr(e);if(o&&"reference"===n)return e===t;if((o||a)&&e===t)return!0;let u;for(u in e)if(!(u in t))return!1;if(a&&"shallow"===n&&"shallow"===r){for(u in i?t:e)if(!N.equ(e[u],t[u],{strict:i,objects:"reference"}))return!1}else for(u in i?t:e)if(e[u]!==t[u])return!1;if(N.und(u)){if(o&&0===e.length&&0===t.length)return!0;if(a&&0===Object.keys(e).length&&0===Object.keys(t).length)return!0;if(e!==t)return!1}return!0}};function L(e){const t={nodes:{},materials:{}};return e&&e.traverse((e=>{e.name&&(t.nodes[e.name]=e),e.material&&!t.materials[e.material.name]&&(t.materials[e.material.name]=e.material)})),t}function O(e,t){return e.__r3f={type:"",root:null,previousAttach:null,memoizedProps:{},eventCount:0,handlers:{},objects:[],parent:null,...t},e}function k(e,t){let n=e;if(t.includes("-")){const r=t.split("-"),i=r.pop();return n=r.reduce(((e,t)=>e[t]),e),{target:n,key:i}}return{target:n,key:t}}const U=/-\d+$/;function z(e,t,n){if(N.str(n)){if(U.test(n)){const t=n.replace(U,""),{target:r,key:i}=k(e,t);Array.isArray(r[i])||(r[i]=[])}const{target:r,key:i}=k(e,n);t.__r3f.previousAttach=r[i],r[i]=t}else t.__r3f.previousAttach=n(e,t)}function V(e,t,n){var r,i;if(N.str(n)){const{target:r,key:i}=k(e,n),a=t.__r3f.previousAttach;void 0===a?delete r[i]:r[i]=a}else null==(r=t.__r3f)||null==r.previousAttach||r.previousAttach(e,t);null==(i=t.__r3f)||delete i.previousAttach}function W(e,{children:t,key:n,ref:r,...i},{children:a,key:o,ref:u,...s}={},l=!1){const c=e.__r3f,h=Object.entries(i),d=[];if(l){const e=Object.keys(s);for(let t=0;t<e.length;t++)i.hasOwnProperty(e[t])||h.unshift([e[t],w+"remove"])}h.forEach((([t,n])=>{var r;if(null!=(r=e.__r3f)&&r.primitive&&"object"===t)return;if(N.equ(n,s[t]))return;if(/^on(Pointer|Click|DoubleClick|ContextMenu|Wheel)/.test(t))return d.push([t,n,!0,[]]);let a=[];t.includes("-")&&(a=t.split("-")),d.push([t,n,!1,a]);for(const e in i){const n=i[e];e.startsWith(`${t}-`)&&d.push([e,n,!1,e.split("-")])}}));const p={...i};return null!=c&&c.memoizedProps&&null!=c&&c.memoizedProps.args&&(p.args=c.memoizedProps.args),null!=c&&c.memoizedProps&&null!=c&&c.memoizedProps.attach&&(p.attach=c.memoizedProps.attach),{memoized:p,changes:d}}const H="undefined"!=typeof process&&!1;function G(e,t){var n;const i=e.__r3f,a=null==i?void 0:i.root,o=null==a||null==a.getState?void 0:a.getState(),{memoized:u,changes:s}=T(t)?t:W(e,t),l=null==i?void 0:i.eventCount;e.__r3f&&(e.__r3f.memoizedProps=u);for(let t=0;t<s.length;t++){let[n,a,u,l]=s[t];if(E(e)){const e=3001,t="srgb",r="srgb-linear";"encoding"===n?(n="colorSpace",a=a===e?t:r):"outputEncoding"===n&&(n="outputColorSpace",a=a===e?t:r)}let c=e,h=c[n];if(l.length&&(h=l.reduce(((e,t)=>e[t]),e),!h||!h.set)){const[t,...r]=l.reverse();c=r.reverse().reduce(((e,t)=>e[t]),e),n=t}if(a===w+"remove")if(c.constructor){let e=M.get(c.constructor);e||(e=new c.constructor,M.set(c.constructor,e)),a=e[n]}else a=0;if(u&&i)a?i.handlers[n]=a:delete i.handlers[n],i.eventCount=Object.keys(i.handlers).length;else if(h&&h.set&&(h.copy||h instanceof r.Layers)){if(Array.isArray(a))h.fromArray?h.fromArray(a):h.set(...a);else if(h.copy&&a&&a.constructor&&(H?h.constructor.name===a.constructor.name:h.constructor===a.constructor))h.copy(a);else if(void 0!==a){const e=h instanceof r.Color;!e&&h.setScalar?h.setScalar(a):h instanceof r.Layers&&a instanceof r.Layers?h.mask=a.mask:h.set(a),!A()&&o&&!o.linear&&e&&h.convertSRGBToLinear()}}else if(c[n]=a,c[n]instanceof r.Texture&&c[n].format===r.RGBAFormat&&c[n].type===r.UnsignedByteType&&o){const e=c[n];
2E(e)&&E(o.gl)?e.colorSpace=o.gl.outputColorSpace:e.encoding=o.gl.outputEncoding}j(e)}if(i&&i.parent&&e.raycast&&l!==i.eventCount){const t=I(e).getState().internal,n=t.interaction.indexOf(e);n>-1&&t.interaction.splice(n,1),i.eventCount&&t.interaction.push(e)}return!(1===s.length&&"onUpdate"===s[0][0])&&s.length&&null!=(n=e.__r3f)&&n.parent&&X(e),e}function j(e){var t,n;const r=null==(t=e.__r3f)||null==(n=t.root)||null==n.getState?void 0:n.getState();r&&0===r.internal.frames&&r.invalidate()}function X(e){null==e.onUpdate||e.onUpdate(e)}function K(e,t){e.manual||(C(e)?(e.left=t.width/-2,e.right=t.width/2,e.top=t.height/2,e.bottom=t.height/-2):e.aspect=t.width/t.height,e.updateProjectionMatrix(),e.updateMatrixWorld())}function q(e){return(e.eventObject||e.object).uuid+"/"+e.index+e.instanceId}function J(e,t,n,r){const i=n.get(t);i&&(n.delete(t),0===n.size&&(e.delete(r),i.target.releasePointerCapture(r)))}function Y(e){function t(e){return e.filter((e=>["Move","Over","Enter","Out","Leave"].some((t=>{var n;return null==(n=e.__r3f)?void 0:n.handlers["onPointer"+t]}))))}function n(t){const{internal:n}=e.getState();for(const e of n.hovered.values())if(!t.length||!t.find((t=>t.object===e.object&&t.index===e.index&&t.instanceId===e.instanceId))){const r=e.eventObject.__r3f,i=null==r?void 0:r.handlers;if(n.hovered.delete(q(e)),null!=r&&r.eventCount){const n={...e,intersections:t};null==i.onPointerOut||i.onPointerOut(n),null==i.onPointerLeave||i.onPointerLeave(n)}}}function i(e,t){for(let n=0;n<t.length;n++){const r=t[n].__r3f;null==r||null==r.handlers.onPointerMissed||r.handlers.onPointerMissed(e)}}return{handlePointer:function(a){switch(a){case"onPointerLeave":case"onPointerCancel":return()=>n([]);case"onLostPointerCapture":return t=>{const{internal:r}=e.getState();"pointerId"in t&&r.capturedMap.has(t.pointerId)&&requestAnimationFrame((()=>{r.capturedMap.has(t.pointerId)&&(r.capturedMap.delete(t.pointerId),n([]))}))}}return function(o){const{onPointerMissed:u,internal:s}=e.getState();s.lastEvent.current=o;const l="onPointerMove"===a,c="onClick"===a||"onContextMenu"===a||"onDoubleClick"===a,h=function(t,n){const r=e.getState(),i=new Set,a=[],o=n?n(r.internal.interaction):r.internal.interaction;for(let e=0;e<o.length;e++){const t=R(o[e]);t&&(t.raycaster.camera=void 0)}r.previousRoot||null==r.events.compute||r.events.compute(t,r);let u=o.flatMap((function(e){const n=R(e);return n&&n.events.enabled&&null!==n.raycaster.camera?(void 0===n.raycaster.camera&&(null==n.events.compute||n.events.compute(t,n,null==(r=n.previousRoot)?void 0:r.getState()),void 0===n.raycaster.camera&&(n.raycaster.camera=null)),n.raycaster.camera?n.raycaster.intersectObject(e,!0):[]):[];var r})).sort(((e,t)=>{const n=R(e.object),r=R(t.object);return n&&r&&r.events.priority-n.events.priority||e.distance-t.distance})).filter((e=>{const t=q(e);return!i.has(t)&&(i.add(t),!0)}));r.events.filter&&(u=r.events.filter(u,r));for(const e of u){let t=e.object;for(;t;){var s;null!=(s=t.__r3f)&&s.eventCount&&a.push({...e,eventObject:t}),t=t.parent}}if("pointerId"in t&&r.internal.capturedMap.has(t.pointerId))for(let e of r.internal.capturedMap.get(t.pointerId).values())i.has(q(e.intersection))||a.push(e.intersection);return a}(o,l?t:void 0),d=c?function(t){const{internal:n}=e.getState(),r=t.offsetX-n.initialClick[0],i=t.offsetY-n.initialClick[1];return Math.round(Math.sqrt(r*r+i*i))}(o):0;"onPointerDown"===a&&(s.initialClick=[o.offsetX,o.offsetY],s.initialHits=h.map((e=>e.eventObject))),c&&!h.length&&d<=2&&(i(o,s.interaction),u&&u(o)),l&&n(h),function(t,i,a,o){const u=e.getState();if(t.length){const e={stopped:!1};for(const s of t){const l=R(s.object)||u,{raycaster:c,pointer:h,camera:d,internal:p}=l,f=new r.Vector3(h.x,h.y,0).unproject(d),m=e=>{var t,n;return null!=(t=null==(n=p.capturedMap.get(e))?void 0:n.has(s.eventObject))&&t},g=e=>{const t={intersection:s,target:i.target};p.capturedMap.has(e)?p.capturedMap.get(e).set(s.eventObject,t):p.capturedMap.set(e,new Map([[s.eventObject,t]])),i.target.setPointerCapture(e)},_=e=>{const t=p.capturedMap.get(e);t&&J(p.capturedMap,s.eventObject,t,e)};let D={};for(let e in i){let t=i[e];"function"!=typeof t&&(D[e]=t)}let v={...s,...D,pointer:h,intersections:t,stopped:e.stopped,delta:a,unprojectedPoint:f,ray:c.ray,camera:d,stopPropagation(){const r="pointerId"in i&&p.capturedMap.get(i.pointerId);(!r||r.has(s.eventObject))&&(v.stopped=e.stopped=!0,p.hovered.size&&Array.from(p.hovered.values()).find((e=>e.eventObject===s.eventObject)))&&n([...t.slice(0,t.indexOf(s)),s])},target:{hasPointerCapture:m,setPointerCapture:g,releasePointerCapture:_},currentTarget:{hasPointerCapture:m,setPointerCapture:g,releasePointerCapture:_},nativeEvent:i};if(o(v),!0===e.stopped)break}}}(h,o,d,(function(e){const t=e.eventObject,n=t.__r3f,r=null==n?void 0:n.handlers;if(null!=n&&n.eventCount)if(l){if(r.onPointerOver||r.onPointerEnter||r.onPointerOut||r.onPointerLeave){const t=q(e),n=s.hovered.get(t);n?n.stopped&&e.stopPropagation():(s.hovered.set(t,e),null==r.onPointerOver||r.onPointerOver(e),null==r.onPointerEnter||r.onPointerEnter(e))}null==r.onPointerMove||r.onPointerMove(e)}else{const n=r[a];n?c&&!s.initialHits.includes(t)||(i(o,s.interaction.filter((e=>!s.initialHits.includes(e)))),n(e)):c&&s.initialHits.includes(t)&&i(o,s.interaction.filter((e=>!s.initialHits.includes(e))))}}))}}}}const $=["set","get","setSize","setFrameloop","setDpr","events","invali
2date","advance","size","viewport"],Q=e=>!(null==e||!e.render),Z=i.createContext(null),ee=(e,t)=>{const n=s(((n,a)=>{const o=new r.Vector3,u=new r.Vector3,s=new r.Vector3;function l(e=a().camera,t=u,n=a().size){const{width:i,height:l,top:c,left:h}=n,d=i/l;t instanceof r.Vector3?s.copy(t):s.set(...t);const p=e.getWorldPosition(o).distanceTo(s);if(C(e))return{width:i/e.zoom,height:l/e.zoom,top:c,left:h,factor:1,distance:p,aspect:d};{const t=e.fov*Math.PI/180,n=2*Math.tan(t/2)*p,r=n*(i/l);return{width:r,height:n,top:c,left:h,factor:i/r,distance:p,aspect:d}}}let c;const h=e=>n((t=>({performance:{...t.performance,current:e}}))),d=new r.Vector2,p={set:n,get:a,gl:null,camera:null,raycaster:null,events:{priority:1,enabled:!0,connected:!1},xr:null,scene:null,invalidate:(t=1)=>e(a(),t),advance:(e,n)=>t(e,n,a()),legacy:!1,linear:!1,flat:!1,controls:null,clock:new r.Clock,pointer:d,mouse:d,frameloop:"always",onPointerMissed:void 0,performance:{current:1,min:.5,max:1,debounce:200,regress:()=>{const e=a();c&&clearTimeout(c),e.performance.current!==e.performance.min&&h(e.performance.min),c=setTimeout((()=>h(a().performance.max)),e.performance.debounce)}},size:{width:0,height:0,top:0,left:0,updateStyle:!1},viewport:{initialDpr:0,dpr:0,width:0,height:0,top:0,left:0,aspect:0,distance:0,factor:0,getCurrentViewport:l},setEvents:e=>n((t=>({...t,events:{...t.events,...e}}))),setSize:(e,t,r,i,o)=>{const s=a().camera,c={width:e,height:t,top:i||0,left:o||0,updateStyle:r};n((e=>({size:c,viewport:{...e.viewport,...l(s,u,c)}})))},setDpr:e=>n((t=>{const n=P(e);return{viewport:{...t.viewport,dpr:n,initialDpr:t.viewport.initialDpr||n}}})),setFrameloop:(e="always")=>{const t=a().clock;t.stop(),t.elapsedTime=0,"never"!==e&&(t.start(),t.elapsedTime=0),n((()=>({frameloop:e})))},previousRoot:void 0,internal:{active:!1,priority:0,frames:0,lastEvent:i.createRef(),interaction:[],hovered:new Map,subscribers:[],initialClick:[0,0],initialHits:[],capturedMap:new Map,subscribe:(e,t,n)=>{const r=a().internal;return r.priority=r.priority+(t>0?1:0),r.subscribers.push({ref:e,priority:t,store:n}),r.subscribers=r.subscribers.sort(((e,t)=>e.priority-t.priority)),()=>{const n=a().internal;null!=n&&n.subscribers&&(n.priority=n.priority-(t>0?1:0),n.subscribers=n.subscribers.filter((t=>t.ref!==e)))}}}};return p})),a=n.getState();let o=a.size,u=a.viewport.dpr,l=a.camera;return n.subscribe((()=>{const{camera:e,size:t,viewport:r,gl:i,set:a}=n.getState();if(t.width!==o.width||t.height!==o.height||r.dpr!==u){var s;o=t,u=r.dpr,K(e,t),i.setPixelRatio(r.dpr);const n=null!=(s=t.updateStyle)?s:"undefined"!=typeof HTMLCanvasElement&&i.domElement instanceof HTMLCanvasElement;i.setSize(t.width,t.height,n)}e!==l&&(l=e,a((t=>({viewport:{...t.viewport,...t.viewport.getCurrentViewport(e)}}))))})),n.subscribe((t=>e(t))),n};let te,ne=new Set,re=new Set,ie=new Set;function ae(e,t){if(e.size)for(const{callback:n}of e.values())n(t)}function oe(e,t){switch(e){case"before":return ae(ne,t);case"after":return ae(re,t);case"tail":return ae(ie,t)}}let ue,se;function le(e,t,n){let r=t.clock.getDelta();for("never"===t.frameloop&&"number"==typeof e&&(r=e-t.clock.elapsedTime,t.clock.oldTime=t.clock.elapsedTime,t.clock.elapsedTime=e),ue=t.internal.subscribers,te=0;te<ue.length;te++)se=ue[te],se.ref.current(se.store.getState(),r,n);return!t.internal.priority&&t.gl.render&&t.gl.render(t.scene,t.camera),t.internal.frames=Math.max(0,t.internal.frames-1),"always"===t.frameloop?1:t.internal.frames}function ce(){const e=i.useContext(Z);if(!e)throw new Error("R3F: Hooks can only be used within the Canvas component!");return e}function he(e=e=>e,t){return ce()(e,t)}function de(e,t=0){const n=ce(),r=n.getState().internal.subscribe,i=S(e);return b((()=>r(i,t,n)),[t,r,n]),null}const pe=new WeakMap;function fe(e,t){return function(n,...r){let i=pe.get(n);return i||(i=new n,pe.set(n,i)),e&&e(i),Promise.all(r.map((e=>new Promise(((n,r)=>i.load(e,(e=>{e.scene&&Object.assign(e,L(e.scene)),n(e)}),t,(t=>r(new Error(`Could not load ${e}: ${null==t?void 0:t.message}`)))))))))}}function me(e,t,n,r){const i=Array.isArray(t)?t:[t],a=m(fe(n,r),[e,...i],{equal:N.equ});return Array.isArray(t)?a:a[0]}me.preload=function(e,t,n){const r=Array.isArray(t)?t:[t];return((e,t,n)=>{f(e,t,!0,n)})(fe(n),[e,...r])},me.clear=function(e,t){return(e=>{if(void 0===e||0===e.length)d.splice(0,d.length);else{const t=d.find((t=>p(e,t.keys,t.equal)));t&&t.remove()}})([e,...Array.isArray(t)?t:[t]])};const ge=new Map,{invalidate:_e,advance:De}=function(e){let t,n,r,i=!1,a=!1;function o(u){n=requestAnimationFrame(o),i=!0,t=0,oe("before",u),a=!0;for(const n of e.values()){var s;r=n.store.getState(),!r.internal.active||!("always"===r.frameloop||r.internal.frames>0)||null!=(s=r.gl.xr)&&s.isPresenting||(t+=le(u,r))}if(a=!1,oe("after",u),0===t)return oe("tail",u),i=!1,cancelAnimationFrame(n)}return{loop:o,invalidate:function t(n,r=1){var u;if(!n)return e.forEach((e=>t(e.store.getState(),r)));null!=(u=n.gl.xr)&&u.isPresenting||!n.internal.active||"never"===n.frameloop||(n.internal.frames=r>1?Math.min(60,n.internal.frames+r):a?2:1,i||(i=!0,requestAnimationFrame(o)))},advance:function(t,n=!0,r,i){if(n&&oe("before",t),r)le(t,r,i);else for(const n of e.values())le(t,n.store.getState());n&&oe("after",t)}}}
2(ge),{reconciler:ve,applyProps:ye}=function(e,t){function n(e,{args:t=[],attach:n,...i},a){let o,u=`${e[0].toUpperCase()}${e.slice(1)}`;if("primitive"===e){if(void 0===i.object)throw new Error("R3F: Primitives without 'object' are invalid!");o=O(i.object,{type:e,root:a,attach:n,primitive:!0})}else{const r=_[u];if(!r)throw new Error(`R3F: ${u} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);if(!Array.isArray(t))throw new Error("R3F: The args prop must be an array!");o=O(new r(...t),{type:e,root:a,attach:n,memoizedProps:{args:t}})}return void 0===o.__r3f.attach&&(o instanceof r.BufferGeometry?o.__r3f.attach="geometry":o instanceof r.Material&&(o.__r3f.attach="material")),"inject"!==u&&G(o,i),o}function i(e,t){let n=!1;var r,i;t&&(null!=(r=t.__r3f)&&r.attach?z(e,t,t.__r3f.attach):t.isObject3D&&e.isObject3D&&(e.add(t),n=!0),n||null==(i=e.__r3f)||i.objects.push(t),t.__r3f||O(t,{}),t.__r3f.parent=e,X(t),j(t))}function o(e,t,n){let r=!1;if(t){var i,a;if(null!=(i=t.__r3f)&&i.attach)z(e,t,t.__r3f.attach);else if(t.isObject3D&&e.isObject3D){t.parent=e,t.dispatchEvent({type:"added"}),e.dispatchEvent({type:"childadded",child:t});const i=e.children.filter((e=>e!==t)),a=i.indexOf(n);e.children=[...i.slice(0,a),t,...i.slice(a)],r=!0}r||null==(a=e.__r3f)||a.objects.push(t),t.__r3f||O(t,{}),t.__r3f.parent=e,X(t),j(t)}}function u(e,t,n=!1){e&&[...e].forEach((e=>s(t,e,n)))}function s(e,t,n){if(t){var r,i,a;if(t.__r3f&&(t.__r3f.parent=null),null!=(r=e.__r3f)&&r.objects&&(e.__r3f.objects=e.__r3f.objects.filter((e=>e!==t))),null!=(i=t.__r3f)&&i.attach)V(e,t,t.__r3f.attach);else if(t.isObject3D&&e.isObject3D){var o;e.remove(t),null!=(o=t.__r3f)&&o.root&&function(e,t){const{internal:n}=e.getState();n.interaction=n.interaction.filter((e=>e!==t)),n.initialHits=n.initialHits.filter((e=>e!==t)),n.hovered.forEach(((e,r)=>{e.eventObject!==t&&e.object!==t||n.hovered.delete(r)})),n.capturedMap.forEach(((e,r)=>{J(n.capturedMap,t,e,r)}))}(I(t),t)}const l=null==(a=t.__r3f)?void 0:a.primitive,c=!l&&(void 0===n?null!==t.dispose:n);var s;if(!l)u(null==(s=t.__r3f)?void 0:s.objects,t,c),u(t.children,t,c);if(delete t.__r3f,c&&t.dispose&&"Scene"!==t.type){const e=()=>{try{t.dispose()}catch(e){}};"undefined"==typeof IS_REACT_ACT_ENVIRONMENT?(0,h.unstable_scheduleCallback)(h.unstable_IdlePriority,e):e()}j(e)}}const l=()=>console.warn("Text is not allowed in the R3F tree! This could be stray whitespace or characters.");return{reconciler:c()({createInstance:n,removeChild:s,appendChild:i,appendInitialChild:i,insertBefore:o,supportsMutation:!0,isPrimaryRenderer:!1,supportsPersistence:!1,supportsHydration:!1,noTimeout:-1,appendChildToContainer:(e,t)=>{if(!t)return;const n=e.getState().scene;n.__r3f&&(n.__r3f.root=e,i(n,t))},removeChildFromContainer:(e,t)=>{t&&s(e.getState().scene,t)},insertInContainerBefore:(e,t,n)=>{if(!t||!n)return;const r=e.getState().scene;r.__r3f&&o(r,t,n)},getRootHostContext:()=>null,getChildHostContext:e=>e,finalizeInitialChildren(e){var t;const n=null!=(t=null==e?void 0:e.__r3f)?t:{};return Boolean(n.handlers)},prepareUpdate(e,t,n,r){var i;if((null!=(i=null==e?void 0:e.__r3f)?i:{}).primitive&&r.object&&r.object!==e)return[!0];{const{args:t=[],children:i,...a}=r,{args:o=[],children:u,...s}=n;if(!Array.isArray(t))throw new Error("R3F: the args prop must be an array!");if(t.some(((e,t)=>e!==o[t])))return[!0];const l=W(e,a,s,!0);return l.changes.length?[!1,l]:null}},commitUpdate(e,[t,r],a,o,u,l){t?function(e,t,r,a){var o;const u=null==(o=e.__r3f)?void 0:o.parent;if(!u)return;const l=n(t,r,e.__r3f.root);if(e.children){for(const t of e.children)t.__r3f&&i(l,t);e.children=e.children.filter((e=>!e.__r3f))}e.__r3f.objects.forEach((e=>i(l,e))),e.__r3f.objects=[],e.__r3f.autoRemovedBeforeAppend||s(u,e),l.parent&&(l.__r3f.autoRemovedBeforeAppend=!0),i(u,l),l.raycast&&l.__r3f.eventCount&&I(l).getState().internal.interaction.push(l);[a,a.alternate].forEach((e=>{null!==e&&(e.stateNode=l,e.ref&&("function"==typeof e.ref?e.ref(l):e.ref.current=l))}))}(e,a,u,l):G(e,r)},commitMount(e,t,n,r){var i;const a=null!=(i=e.__r3f)?i:{};e.raycast&&a.handlers&&a.eventCount&&I(e).getState().internal.interaction.push(e)},getPublicInstance:e=>e,prepareForCommit:()=>null,preparePortalMount:e=>O(e.getState().scene),resetAfterCommit:()=>{},shouldSetTextContent:()=>!1,clearContainer:()=>!1,hideInstance(e){var t;const{attach:n,parent:r}=null!=(t=e.__r3f)?t:{};n&&r&&V(r,e,n),e.isObject3D&&(e.visible=!1),j(e)},unhideInstance(e,t){var n;const{attach:r,parent:i}=null!=(n=e.__r3f)?n:{};r&&i&&z(i,e,r),(e.isObject3D&&null==t.visible||t.visible)&&(e.visible=!0),j(e)},createTextInstance:l,hideTextInstance:l,unhideTextInstance:l,getCurrentEventPriority:()=>t?t():a.DefaultEventPriority,beforeActiveInstanceBlur:()=>{},afterActiveInstanceBlur:()=>{},detachDeletedInstance:()=>{},now:"undefined"!=typeof performance&&N.fun(performance.now)?performance.now:N.fun(Date.now)?Date.now:()=>0,scheduleTimeout:N.fun(setTimeout)?setTimeout:void 0,cancelTimeout:N.fun(clearTimeout)?clearTimeout:void 0}),applyProps:G}}(0,(function(){var e;const t="undefined"!=typeof self&&self||"undefined"!=typeof window&&window;if(!t)return a.DefaultEventPriority;switch(null==(e=t.event)?void 0:e.type){case"click":case"contextmenu":case"dblclick":case"pointercancel":case"pointerdown":case"pointerup":return a.DiscreteEventPriority;case"pointermove":case"pointerout":case"pointerover":case"pointerenter":case"pointerleave":case"wheel":return a.ContinuousEventPriority;default:return a.DefaultEventPriority}})),Ee={objects:"shallow",strict:!1},Ae=(e,t)=>
2{const n="function"==typeof e?e(t):e;return Q(n)?n:new r.WebGLRenderer({powerPreference:"high-performance",canvas:t,antialias:!0,alpha:!0,...e})};function Ce(e){const t=ge.get(e),n=null==t?void 0:t.fiber,i=null==t?void 0:t.store;t&&console.warn("R3F.createRoot should only be called once!");const o="function"==typeof reportError?reportError:console.error,u=i||ee(_e,De),s=n||ve.createContainer(u,a.ConcurrentRoot,null,!1,null,"",o,null);let l;t||ge.set(e,{fiber:s,store:u});let c,h=!1;return{configure(t={}){let{gl:n,size:i,scene:a,events:o,onCreated:s,shadows:d=!1,linear:p=!1,flat:f=!1,legacy:m=!1,orthographic:g=!1,frameloop:_="always",dpr:D=[1,2],performance:v,raycaster:y,camera:E,onPointerMissed:C}=t,F=u.getState(),b=F.gl;F.gl||F.set({gl:b=Ae(n,e)});let S=F.raycaster;S||F.set({raycaster:S=new r.Raycaster});const{params:x,...B}=y||{};if(N.equ(B,S,Ee)||ye(S,{...B}),N.equ(x,S.params,Ee)||ye(S,{params:{...S.params,...x}}),!F.camera||F.camera===c&&!N.equ(c,E,Ee)){c=E;const e=E instanceof r.Camera,t=e?E:g?new r.OrthographicCamera(0,0,0,0,.1,1e3):new r.PerspectiveCamera(75,0,.1,1e3);e||(t.position.z=5,E&&(ye(t,E),("aspect"in E||"left"in E||"right"in E||"bottom"in E||"top"in E)&&(t.manual=!0,t.updateProjectionMatrix())),F.camera||null!=E&&E.rotation||t.lookAt(0,0,0)),F.set({camera:t}),S.camera=t}if(!F.scene){let e;a instanceof r.Scene?e=a:(e=new r.Scene,a&&ye(e,a)),F.set({scene:O(e)})}if(!F.xr){var w;const e=(e,t)=>{const n=u.getState();"never"!==n.frameloop&&De(e,!0,n,t)},t=()=>{const t=u.getState();t.gl.xr.enabled=t.gl.xr.isPresenting,t.gl.xr.setAnimationLoop(t.gl.xr.isPresenting?e:null),t.gl.xr.isPresenting||_e(t)},n={connect(){const e=u.getState().gl;e.xr.addEventListener("sessionstart",t),e.xr.addEventListener("sessionend",t)},disconnect(){const e=u.getState().gl;e.xr.removeEventListener("sessionstart",t),e.xr.removeEventListener("sessionend",t)}};"function"==typeof(null==(w=b.xr)?void 0:w.addEventListener)&&n.connect(),F.set({xr:n})}if(b.shadowMap){const e=b.shadowMap.enabled,t=b.shadowMap.type;if(b.shadowMap.enabled=!!d,N.boo(d))b.shadowMap.type=r.PCFSoftShadowMap;else if(N.str(d)){var M;const e={basic:r.BasicShadowMap,percentage:r.PCFShadowMap,soft:r.PCFSoftShadowMap,variance:r.VSMShadowMap};b.shadowMap.type=null!=(M=e[d])?M:r.PCFSoftShadowMap}else N.obj(d)&&Object.assign(b.shadowMap,d);e===b.shadowMap.enabled&&t===b.shadowMap.type||(b.shadowMap.needsUpdate=!0)}const T=A();if(T&&("enabled"in T?T.enabled=!m:"legacyMode"in T&&(T.legacyMode=m)),!h){ye(b,{outputEncoding:p?3e3:3001,toneMapping:f?r.NoToneMapping:r.ACESFilmicToneMapping})}F.legacy!==m&&F.set((()=>({legacy:m}))),F.linear!==p&&F.set((()=>({linear:p}))),F.flat!==f&&F.set((()=>({flat:f}))),!n||N.fun(n)||Q(n)||N.equ(n,b,Ee)||ye(b,n),o&&!F.events.handlers&&F.set({events:o(u)});const R=function(e,t){const n="undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement;if(t){const{width:e,height:r,top:i,left:a,updateStyle:o=n}=t;return{width:e,height:r,top:i,left:a,updateStyle:o}}if("undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement&&e.parentElement){const{width:t,height:r,top:i,left:a}=e.parentElement.getBoundingClientRect();return{width:t,height:r,top:i,left:a,updateStyle:n}}return"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?{width:e.width,height:e.height,top:0,left:0,updateStyle:n}:{width:0,height:0,top:0,left:0}}(e,i);return N.equ(R,F.size,Ee)||F.setSize(R.width,R.height,R.updateStyle,R.top,R.left),D&&F.viewport.dpr!==P(D)&&F.setDpr(D),F.frameloop!==_&&F.setFrameloop(_),F.onPointerMissed||F.set({onPointerMissed:C}),v&&!N.equ(v,F.performance,Ee)&&F.set((e=>({performance:{...e.performance,...v}}))),l=s,h=!0,this},render(t){return h||this.configure(),ve.updateContainer((0,g.jsx)(Fe,{store:u,children:t,onCreated:l,rootElement:e}),s,null,(()=>{})),u},unmount(){be(e)}}}function Fe({store:e,children:t,onCreated:n,rootElement:r}){return b((()=>{const t=e.getState();t.set((e=>({internal:{...e.internal,active:!0}}))),n&&n(t),e.getState().events.connected||null==t.events.connect||t.events.connect(r)}),[]),(0,g.jsx)(Z.Provider,{value:e,children:t})}function be(e,t){const n=ge.get(e),r=null==n?void 0:n.fiber;if(r){const i=null==n?void 0:n.store.getState();i&&(i.internal.active=!1),ve.updateContainer(null,r,null,(()=>{i&&setTimeout((()=>{try{var n,r,a,o;null==i.events.disconnect||i.events.disconnect(),null==(n=i.gl)||null==(r=n.renderLists)||null==r.dispose||r.dispose(),null==(a=i.gl)||null==a.forceContextLoss||a.forceContextLoss(),null!=(o=i.gl)&&o.xr&&i.xr.disconnect(),function(e){e.dispose&&"Scene"!==e.type&&e.dispose();for(const t in e)null==t.dispose||t.dispose(),delete e[t]}(i),ge.delete(e),t&&t(e)}catch(e){}}),500)}))}}function Se(e,t,n){return(0,g.jsx)(xe,{children:e,container:t,state:n},t.uuid)}function xe({state:e={},children:t,container:n}){const{events:a,size:o,...u}=e,l=ce(),[c]=i.useState((()=>new r.Raycaster)),[h]=i.useState((()=>new r.Vector2)),d=i.useCallback(((e,t)=>{const i={...e};let s;if(Object.keys(e).forEach((n=>{($.includes(n)||e[n]!==t[n]&&t[n])&&delete i[n]})),t&&o){const n=t.camera;s=e.viewport.getCurrentViewport(n,new r.Vector3,o),n!==e.camera&&K(n,o)}return{...i,scene:n,raycaster:c,pointer:h,mouse:h,previousRoot:l,events:{...e.events,...null==t?void 0:t.events,...a},size:{...e.size,...o},viewport:{...e.viewport,...s},...u}}),[e]),[p]=i.useState((()=>{const e=l.getState(),t=s(((t,r)=>({...e,scene:n,raycaster:c,pointer:h,mouse:h,previousRoot:l,events:{...e.events,...a},size:{...e.size,...o},...u,set:t,get:r,setEvents:e=>t((t=>({...t,events:{...t.events,...e}})))}
2)));return t}));return i.useEffect((()=>{const e=l.subscribe((e=>p.setState((t=>d(e,t)))));return()=>{e()}}),[d]),i.useEffect((()=>{p.setState((e=>d(l.getState(),e)))}),[d]),i.useEffect((()=>()=>{p.destroy()}),[]),(0,g.jsx)(g.Fragment,{children:ve.createPortal((0,g.jsx)(Z.Provider,{value:p,children:t}),p,null)})}ve.injectIntoDevTools({bundleType:0,rendererPackageName:"@react-three/fiber",version:i.version});i.unstable_act},8700:function(e,t,n){"use strict";n.d(t,{Hl:function(){return R}});var r=n(9949),i=n(6540),a=n(9437),o=n(7334),u=n.n(o);function s(e){let{debounce:t,scroll:n,polyfill:r,offsetSize:a}=void 0===e?{debounce:0,scroll:!1,offsetSize:!1}:e;const o=r||("undefined"==typeof window?class{}:window.ResizeObserver);if(!o)throw new Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");const[s,c]=(0,i.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),d=(0,i.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:s}),p=t?"number"==typeof t?t:t.scroll:null,f=t?"number"==typeof t?t:t.resize:null,m=(0,i.useRef)(!1);(0,i.useEffect)((()=>(m.current=!0,()=>{m.current=!1})));const[g,_,D]=(0,i.useMemo)((()=>{const e=()=>{if(!d.current.element)return;const{left:e,top:t,width:n,height:r,bottom:i,right:o,x:u,y:s}=d.current.element.getBoundingClientRect(),l={left:e,top:t,width:n,height:r,bottom:i,right:o,x:u,y:s};d.current.element instanceof HTMLElement&&a&&(l.height=d.current.element.offsetHeight,l.width=d.current.element.offsetWidth),Object.freeze(l),m.current&&!h(d.current.lastBounds,l)&&c(d.current.lastBounds=l)};return[e,f?u()(e,f):e,p?u()(e,p):e]}),[c,a,p,f]);function v(){d.current.scrollContainers&&(d.current.scrollContainers.forEach((e=>e.removeEventListener("scroll",D,!0))),d.current.scrollContainers=null),d.current.resizeObserver&&(d.current.resizeObserver.disconnect(),d.current.resizeObserver=null)}function y(){d.current.element&&(d.current.resizeObserver=new o(D),d.current.resizeObserver.observe(d.current.element),n&&d.current.scrollContainers&&d.current.scrollContainers.forEach((e=>e.addEventListener("scroll",D,{capture:!0,passive:!0}))))}var E,A,C;return E=D,A=Boolean(n),(0,i.useEffect)((()=>{if(A){const e=E;return window.addEventListener("scroll",e,{capture:!0,passive:!0}),()=>{window.removeEventListener("scroll",e,!0)}}}),[E,A]),C=_,(0,i.useEffect)((()=>{const e=C;return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[C]),(0,i.useEffect)((()=>{v(),y()}),[n,D,_]),(0,i.useEffect)((()=>v),[]),[e=>{e&&e!==d.current.element&&(v(),d.current.element=e,d.current.scrollContainers=l(e),y())},s,g]}function l(e){const t=[];if(!e||e===document.body)return t;const{overflow:n,overflowX:r,overflowY:i}=window.getComputedStyle(e);return[n,r,i].some((e=>"auto"===e||"scroll"===e))&&t.push(e),[...t,...l(e.parentElement)]}const c=["x","y","top","bottom","left","right","width","height"],h=(e,t)=>c.every((n=>e[n]===t[n]));var d,p,f=Object.defineProperty,m=Object.defineProperties,g=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,y=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t)=>{for(var n in t||(t={}))D.call(t,n)&&y(e,n,t[n]);if(_)for(var n of _(t))v.call(t,n)&&y(e,n,t[n]);return e};"undefined"==typeof window||!(null==(d=window.document)?void 0:d.createElement)&&"ReactNative"!==(null==(p=window.navigator)?void 0:p.product)?i.useEffect:i.useLayoutEffect;function A(e,t,n){if(!e)return;if(!0===n(e))return e;let r=t?e.return:e.child;for(;r;){const e=A(r,t,n);if(e)return e;r=t?null:r.sibling}}function C(e){try{return Object.defineProperties(e,{_currentRenderer:{get(){return null},set(){}},_currentRenderer2:{get(){return null},set(){}}})}catch(t){return e}}const F=console.error;console.error=function(){const e=[...arguments].join("");if(!(null==e?void 0:e.startsWith("Warning:"))||!e.includes("useContext"))return F.apply(this,arguments);console.error=F};const b=C(i.createContext(null));class S extends i.Component{render(){return i.createElement(b.Provider,{value:this._reactInternals},this.props.children)}}function x(){const e=i.useContext(b);if(null===e)throw new Error("its-fine: useFiber must be called within a <FiberProvider />!");const t=i.useId();return i.useMemo((()=>{for(const n of[e,null==e?void 0:e.alternate]){if(!n)continue;const e=A(n,!1,(e=>{let n=e.memoizedState;for(;n;){if(n.memoizedState===t)return!0;n=n.next}}));if(e)return e}}),[e,t])}function B(){const e=function(){const e=x(),[t]=i.useState((()=>new Map));t.clear();let n=e;for(;n;){if(n.type&&"object"==typeof n.type){const e=void 0===n.type._context&&n.type.Provider===n.type?n.type:n.type._context;e&&e!==b&&!t.has(e)&&t.set(e,i.useContext(C(e)))}n=n.return}return t}();return i.useMemo((()=>Array.from(e.keys()).reduce(((t,n)=>r=>{return i.createElement(t,null,i.createElement(n.Provider,(a=E({},r),o={value:e.get(n)},m(a,g(o)))));var a,o}),(e=>i.createElement(S,E({},e))))),[e])}var w=n(4848);n(772),n(4845),n(8719);
2const M={onClick:["click",!1],onContextMenu:["contextmenu",!1],onDoubleClick:["dblclick",!1],onWheel:["wheel",!0],onPointerDown:["pointerdown",!0],onPointerUp:["pointerup",!0],onPointerLeave:["pointerleave",!0],onPointerMove:["pointermove",!0],onPointerCancel:["pointercancel",!0],onLostPointerCapture:["lostpointercapture",!0]};function T(e){const{handlePointer:t}=(0,r.c)(e);return{priority:1,enabled:!0,compute(e,t,n){t.pointer.set(e.offsetX/t.size.width*2-1,-e.offsetY/t.size.height*2+1),t.raycaster.setFromCamera(t.pointer,t.camera)},connected:void 0,handlers:Object.keys(M).reduce(((e,n)=>({...e,[n]:t(n)})),{}),update:()=>{var t;const{events:n,internal:r}=e.getState();null!=(t=r.lastEvent)&&t.current&&n.handlers&&n.handlers.onPointerMove(r.lastEvent.current)},connect:t=>{var n;const{set:r,events:i}=e.getState();null==i.disconnect||i.disconnect(),r((e=>({events:{...e.events,connected:t}}))),Object.entries(null!=(n=i.handlers)?n:[]).forEach((([e,n])=>{const[r,i]=M[e];t.addEventListener(r,n,{passive:i})}))},disconnect:()=>{const{set:t,events:n}=e.getState();var r;n.connected&&(Object.entries(null!=(r=n.handlers)?r:[]).forEach((([e,t])=>{if(n&&n.connected instanceof HTMLElement){const[r]=M[e];n.connected.removeEventListener(r,t)}})),t((e=>({events:{...e.events,connected:void 0}}))))}}}const P=i.forwardRef((function({children:e,fallback:t,resize:n,style:o,gl:u,events:l=T,eventSource:c,eventPrefix:h,shadows:d,linear:p,flat:f,legacy:m,orthographic:g,frameloop:_,dpr:D,performance:v,raycaster:y,camera:E,scene:A,onPointerMissed:C,onCreated:F,...b},S){i.useMemo((()=>(0,r.e)(a)),[]);const x=B(),[M,P]=s({scroll:!0,debounce:{scroll:50,resize:0},...n}),R=i.useRef(null),I=i.useRef(null);i.useImperativeHandle(S,(()=>R.current));const N=(0,r.u)(C),[L,O]=i.useState(!1),[k,U]=i.useState(!1);if(L)throw L;if(k)throw k;const z=i.useRef(null);(0,r.a)((()=>{const t=R.current;P.width>0&&P.height>0&&t&&(z.current||(z.current=(0,r.b)(t)),z.current.configure({gl:u,events:l,shadows:d,linear:p,flat:f,legacy:m,orthographic:g,frameloop:_,dpr:D,performance:v,raycaster:y,camera:E,scene:A,size:P,onPointerMissed:(...e)=>null==N.current?void 0:N.current(...e),onCreated:e=>{null==e.events.connect||e.events.connect(c?(0,r.i)(c)?c.current:c:I.current),h&&e.setEvents({compute:(e,t)=>{const n=e[h+"X"],r=e[h+"Y"];t.pointer.set(n/t.size.width*2-1,-r/t.size.height*2+1),t.raycaster.setFromCamera(t.pointer,t.camera)}}),null==F||F(e)}}),z.current.render((0,w.jsx)(x,{children:(0,w.jsx)(r.E,{set:U,children:(0,w.jsx)(i.Suspense,{fallback:(0,w.jsx)(r.B,{set:O}),children:e})})})))})),i.useEffect((()=>{const e=R.current;if(e)return()=>(0,r.d)(e)}),[]);const V=c?"none":"auto";return(0,w.jsx)("div",{ref:I,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",pointerEvents:V,...o},...b,children:(0,w.jsx)("div",{ref:M,style:{width:"100%",height:"100%"},children:(0,w.jsx)("canvas",{ref:R,style:{display:"block"},children:t})})})})),R=i.forwardRef((function(e,t){return(0,w.jsx)(S,{children:(0,w.jsx)(P,{...e,ref:t})})}))},3064:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<a(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var u=2*(r+1)-1,s=e[u],l=u+1,c=e[l];if(0>a(s,n))l<i&&0>a(c,s)?(e[r]=c,e[l]=n,r=l):(e[r]=s,e[u]=n,r=u);else{if(!(l<i&&0>a(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var u=Date,s=u.now();t.unstable_now=function(){return u.now()-s}}var l=[],c=[],h=1,d=null,p=3,f=!1,m=!1,g=!1,_="function"==typeof setTimeout?setTimeout:null,D="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(l,t)}t=r(c)}}function E(e){if(g=!1,y(e),!m)if(null!==r(l))m=!0,R(A);else{var t=r(c);null!==t&&I(E,t.startTime-e)}}function A(e,n){m=!1,g&&(g=!1,D(S),S=-1),f=!0;var a=p;try{for(y(n),d=r(l);null!==d&&(!(d.expirationTime>n)||e&&!w());){var o=d.callback;if("function"==typeof o){d.callback=null,p=d.priorityLevel;var u=o(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?d.callback=u:d===r(l)&&i(l),y(n)}else i(l);d=r(l)}if(null!==d)var s=!0;else{var h=r(c);null!==h&&I(E,h.startTime-n),s=!1}return s}finally{d=null,p=a,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,F=!1,b=null,S=-1,x=5,B=-1;function w(){return!(t.unstable_now()-B<x)}function M(){if(null!==b){var e=t.unstable_now();B=e;var n=!0;try{n=b(!0,e)}finally{n?C():(F=!1,b=null)}}else F=!1}if("function"==typeof v)C=function(){v(M)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,P=T.port2;T.port1.onmessage=M,C=function(){P.postMessage(null)}}else C=function(){_(M,0)};function R(e){b=e,F||(F=!0,C())}function I(e,n){S=_((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,R(A))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?o+a:o:a=o,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:h++,callback:i,priorityLevel:e,startTime:a,expirationTime:u=
2a+u,sortIndex:-1},a>o?(e.sortIndex=a,n(c,e),null===r(l)&&e===r(c)&&(g?(D(S),S=-1):g=!0,I(E,a-o))):(e.sortIndex=u,n(l,e),m||f||(m=!0,R(A))),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},8719:function(e,t,n){"use strict";e.exports=n(3064)},4117:function(){document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".cmp-accordion");e&&e.addEventListener("click",(function(t){var n=t.target.closest(".cmp-accordion__button");if(n){var r=document.getElementById(n.getAttribute("aria-controls")),i="true"===n.getAttribute("aria-expanded");e.hasAttribute("data-cmp-single-expansion")&&e.querySelectorAll('.cmp-accordion__button[aria-expanded="true"]').forEach((function(e){if(e!==n){e.setAttribute("aria-expanded","false");var t=document.getElementById(e.getAttribute("aria-controls"));t.style.maxHeight=null,t.classList.add("cmp-accordion__panel--hidden"),t.setAttribute("aria-hidden","true")}})),n.setAttribute("aria-expanded",!i),r.classList.toggle("cmp-accordion__panel--hidden",i),r.setAttribute("aria-hidden",i),r.style.maxHeight=i?null:r.scrollHeight+"px"}}))}))},882:function(){function e(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,o=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw o}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var n=1024;function r(){var t,r=e(document.querySelectorAll(".animated-teaser-container"));try{var s=function(){var e=t.value,r=e.parentElement.parentElement.parentElement,s=e.clientWidth,l=e.querySelector(".excerpt"),c=r.classList.contains("mb-flex"),h=i(l,0);e.parentNode.classList.contains("expand-on-hover")&&r.classList.contains("thin-teaser")&&!c&&(h=u(e,3,s,l,0)),e.parentNode.classList.contains("expand-on-hover")&&r.classList.contains("wide-teaser")&&!c&&(h=u(e,1.5,s,l,0)),c&&(r.classList.contains("expand-to-150")&&(h=u(e,1.5,s,l,0)),r.classList.contains("expand-to-200")&&(h=u(e,2,s,l,0)),r.classList.contains("expand-to-300")&&(h=u(e,3,s,l,0)),e.style.width=""),e.addEventListener("mouseenter",(function(){window.innerWidth>n&&(l.style.height=h+"px",e.parentNode.classList.contains("expand-on-hover")&&!c&&(r.classList.contains("thin-teaser")&&a(e,3,s),r.classList.contains("wide-teaser")&&a(e,1.5,s)))})),e.addEventListener("mouseleave",(function(){window.innerWidth>n&&(l.style.height=0,e.parentNode.classList.contains("expand-on-hover")&&!c&&o(e,s))}))};for(r.s();!(t=r.n()).done;)s()}catch(e){r.e(e)}finally{r.f()}}function i(e,t){e.style.height="auto";var n=e.clientHeight;return e.style.height=t+"px",n}function a(e,t,n){e.style.width=n*t+"px"}function o(e,t){e.style.width=t+"px"}function u(e,t,n,r,u){a(e,t,n);var s=i(r,u);return o(e,n),s}function s(){var t,r=e(document.querySelectorAll(".teaser-slider > .cmp-container"));try{for(r.s();!(t=r.n()).done;){var i=t.value,a=i.querySelectorAll(".animatedTeaser"),o=2;i.parentElement.classList.contains("thin-teaser")&&(o=3),i.parentElement.classList.contains("wide-teaser")&&(o=1.5);var u,s=window.innerWidth>n?a[0].clientWidth*o-a[0].clientWidth:0,l=0,c=e(a);try{for(c.s();!(u=c.n()).done;){var h=u.value,d=h.clientWidth,p=window.getComputedStyle(h);l=l+d+parseFloat(p.marginRight)}}catch(e){c.e(e)}finally{c.f()}var f=l+s;i.style.width=f+"px"}}catch(e){r.e(e)}finally{r.f()}}document.addEventListener("DOMContentLoaded",(function(){!function(){var t,n=e(document.querySelectorAll(".animated-teaser-container .background-img"));try{for(n.s();!(t=n.n()).done;){var r=t.value,i=r.querySelector("img").getAttribute("src");r.style.backgroundImage="url("+i+")"}}catch(e){n.e(e)}finally{n.f()}}(),window.innerWidth>n&&r(),s(),window.addEventListener("resize",(function(t){s(),window.innerWidth>n&&r(),window.innerWidth<=n&&function(){var t,n=e(document.querySelectorAll(".animated-teaser-container"));try{for(n.s();!(t=n.n()).done;){t.value.querySelector(".excerpt").style.height="auto"}}catch(e){n.e(e)}finally{n.f()}}()}),!0)}))},4236:function(){function e(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,o=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw o}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t){new IntersectionObserver((function(e,n){e.forEach((function(e){e.isIntersecting&&(t(e.target),n.unobserve(e.target))}))}),{root:null,rootMargin:"0px",threshold:.2}).observe(e)}!function(){var t,n=e(document.querySelectorAll(".bannerTeaser.main-banner .background-img"));try{for(n.s();!(t=n.n()).done;){var r=t.value,i=r.querySelector("img").getAttribute("src");r.style.backgroundImage="url("+i+")",r.querySelector("img").style.display="none"}}catch(e){n.e(e)}finally{n.f()}}(),function(){var t,r=e(document.querySelectorAll(".bannerTeaser.main-banner.zoom-fx"));try{for(r.s();!(t=r.n()).done;){n(t.value,(function(e){e.querySelector(".background-img").style.transform="scale(1.1)"}))}}catch(e){r.e(e)}finally{r.f()}}(),function(){var e=document.querySelector(".bannerTeaser video");if(!e)return;e.hasAttribute("autoplay")&&e.play().catch((function(e){console.log("Video auto
2play was prevented:",e)}))}()},5799:function(){var e,t="search-active";function n(){var e=document.querySelector(".search .cmp-search__clear");e&&e.addEventListener("click",(function(){document.querySelector("body.search-active")&&document.body.classList.remove(t)}))}(e=document.querySelector(".search .boegl-cmp-search__icon"))&&e.addEventListener("click",(function(){document.querySelector("body."+t)||document.body.classList.add(t),n()}))},7793:function(){if(document.getElementById("socialShareComponent")){var e=document.querySelector(".socialShare"),t=document.querySelector("#socialShareComponent > .header-icon"),n=document.querySelector("#socialShareComponent > .social-icons"),r="show";t&&t.addEventListener("click",(function(){n.classList.toggle(r)})),document.addEventListener("click",(function(t){!e.contains(t.target)&&n.classList.contains(r)&&n.classList.remove(r)}))}},4696:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var r=n(6540),i=n(5880),a=n(6575),o=n(859),u=n(4178),s=n(3369),l=n(5724),c=n(1724);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function p(){var e=h((0,r.useState)(2024),2),t=e[0],n=e[1],i=h((0,r.useState)(0),2),d=i[0],p=i[1],f=(0,r.useRef)(null),m=(0,r.useRef)(null),g=(0,r.useRef)(null),_=(0,c.A)();return(0,r.useEffect)((function(){a.u.create({trigger:"#zoneCardTrigger",start:"top top",end:"center top",onUpdate:function(e){p(e.progress)}})}),[]),r.createElement("div",{className:"app-hybrid animation-component"},r.createElement("main",{ref:m},r.createElement("div",{id:"fixedModelContainer",className:"relative"},r.createElement(u.A,{value:t,ModelRef:f,data:_}),r.createElement("div",{id:"zoneCardTrigger",className:"relative h-1 select-none invisible hidden"}),r.createElement("div",{className:"bg-black_5 md:bg-gradient-to-r from-black_40 via-black_40 via-60% to-black_5 to-60%"},r.createElement("div",{className:"md:max-w-[60%]"},r.createElement(o.A,{opacity:d,data:_}),r.createElement("div",{className:"relative h-96 select-none"}),r.createElement("div",{className:"md:block hidden relative h-96 select-none"}),r.createElement(s.A,{value:t,setValue:n,data:_}),r.createElement("div",{className:"hidden md:block h-[15vh] select-none pointer-events-none"}),r.createElement("div",{className:"md:hidden relative h-96 select-none"}),r.createElement("div",{className:"md:hidden relative h-96 select-none"}),r.createElement("div",{className:"md:hidden relative h-96 select-none"}),r.createElement("div",{className:"md:hidden relative h-96 select-none"})),r.createElement(l.A,{value:t,setValue:n,data:_}),r.createElement("div",{className:"relative h-20"}))),r.createElement("video",{id:"ebene1",autoPlay:!0,muted:!0,playsInline:!0,loop:!0,style:{position:"fixed",top:0,left:0,opacity:0,width:1}},r.createElement("source",{src:"/content/dam/max-boegl-renewables/hybridturm/hybrid-animation/Ebene-1.mp4",type:"video/mp4"})),r.createElement("video",{id:"ebene2",autoPlay:!0,muted:!0,playsInline:!0,loop:!0,style:{position:"fixed",top:0,left:0,opacity:0,width:1}},r.createElement("source",{src:"/content/dam/max-boegl-renewables/hybridturm/hybrid-animation/Ebene-2.mp4",type:"video/mp4"})),r.createElement("video",{id:"ebene3",autoPlay:!0,muted:!0,playsInl
2ine:!0,loop:!0,style:{position:"fixed",top:0,left:0,opacity:0,width:1}},r.createElement("source",{src:"/content/dam/max-boegl-renewables/hybridturm/hybrid-animation/Ebene-3.mp4",type:"video/mp4"})),r.createElement("div",{ref:g,className:"hide-trigger"})))}i.Ay.registerPlugin(a.u)},136:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(6540);function i(e){return r.createElement("div",{className:"relative bg-green_30 text-black_green w-full p-12 border-2 border-green_light"},e.children)}},5313:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(6540),i=n(8823);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e){var t=e.value,n=e.min,o=void 0===n?2016:n,u=e.max,s=void 0===u?2024:u,l=e.data,c=a((0,r.useState)(199),2),h=c[0],d=c[1],p=a((0,r.useState)(7),2),f=p[0],m=p[1];return(0,r.useEffect)((function(){d((0,i.my)(t,o,s,150,199)),m((0,i.my)(t,o,s,4.2,7))}),[t]),r.createElement("div",{className:"relative p-6 bg-white border-2 border-gray-200"},r.createElement("div",{className:"flex justify-between"},r.createElement("div",null,r.createElement("p",{className:"font-body-small"},null==l?void 0:l.heightLabel),r.createElement("p",{className:"font-h3 font-semibold"},h," Meter")),r.createElement("div",{className:"text-right"},r.createElement("p",{className:"font-body-small"},null==l?void 0:l.performanceLabel),r.createElement("p",{className:"font-h3 font-semibold"},f," MW"))))}},9038:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(6540);function i(e){var t=e.value,n=e.setValue,i=e.min,a=void 0===i?0:i,o=e.max,u=void 0===o?100:o,s=e.step,l=void 0===s?1:s,c=(0,r.useRef)(null),h=(0,r.useRef)(null),d=(0,r.useCallback)((function(e){if(!c.current)return a;var t=c.current.getBoundingClientRect(),n=t.left,r=t.width,i=Math.min(Math.max(a,(e-n)/r*(u-a)+a),u);return Math.round(i/l)*l}),[a,u,l]),p=(0,r.useCallback)((function(e){var t=d(e.clientX);n(t)}),[d,n]),f=(0,r.useCallback)((function(){c.current&&(c.current.removeEventListener("mousemove",p),c.current.removeEventListener("mouseup",f))}),[p]),m=(0,r.useCallback)((function(e){var t=e.changedTouches[0];if(t){var r=d(t.clientX);n(r)}}),[d,n]),g=(0,r.useCallback)((function(){c.current&&(c.current.removeEventListener("touchmove",m),c.current.removeEventListener("touchend",f))}),[f,m]),_=(0,r.useCallback)((function(e){var t=d(e.clientX);n(t),c.current&&(c.current.addEventListener("mousemove",p),c.current.addEventListener("mouseup",f))}),[d,n,p,f]),D=(0,r.useCallback)((function(e){var t=e.changedTouches[0];if(t){var r=d(t.clientX);n(r),c.current&&(c.current.addEventListener("touchmove",m),c.current.addEventListener("touchend",g))}}),[d,n,m,g]);return(0,r.useEffect)((function(){var e=c.current;if(e)return e.addEventListener("mousedown",_),e.addEventListener("touchstart",D),function(){e&&(e.removeEventListener("mousedown",_),e.removeEventListener("mousemove",p),e.removeEventListener("touchmove",m),e.removeEventListener("mouseup",f),e.removeEventListener("touchend",g))}}),[_,p,f,D,m,g]),r.createElement(r.Fragment,null,r.createElement("div",{ref:c,className:"grid place-items-center relative select-none mb-20 mx-[22px]"},r.createElement("div",{className:"w-full h-4 bg-black_20"}),r.createElement("div",{ref:h,className:"absolute w-11 h-11 bg-white border-4 border-red",style:{left:"calc(".concat((t-a)/(u-
2a)*100,"%)"),transform:"translateX(-50%)"}}),r.createElement("div",{className:"absolute top-8 font-semibold font-h3 text-red",style:{left:"calc(".concat((t-a)/(u-a)*100,"%)"),transform:"translateX(-50%)"}},r.createElement("p",null,t))))}},5926:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(6540);function i(e){var t=e.title,n=e.boxColor,i=e.distance,a=e.text;return r.createElement("div",{className:"relative p-12 md:max-w-full max-w-[30rem] w-full bg-white drop-shadow-2xl mb-4 md:w-1/2 md:ml-auto"},r.createElement("span",{className:"absolute top-0 right-0 w-12 h-12 ".concat(n)})," ",r.createElement("h3",{className:"font-h3 font-semibold mb-6"},t),r.createElement("p",{className:"font-body font-semibold"},i),r.createElement("p",{className:"font-body"},a))}},1724:function(e,t,n){"use strict";var r=n(6540),i=n(4692),a=n.n(i);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}t.A=function(){var e=o((0,r.useState)(null),2),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=a()("#hybridAnimation").attr("data-hybridAnimationNodePath");fetch(e+".model.json").then((function(e){if(!e.ok)throw new Error("Network response was not ok "+e.statusText);return e.json()})).then((function(e){n(e),console.log("Sling Model Data:",e)})).catch((function(e){console.error("Error fetching the Sling Model JSON:",e)}))}),[]),t}},3369:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(136),i=n(6540),a=n(9038);function o(e){var t=e.value,n=e.setValue,o=e.data;return i.createElement("div",{className:"mx-auto md:mr-40 md:ml-auto md:max-w-[50vw] max-w-[30rem]"},i.createElement("div",{className:"mx-6"},i.createElement("div",{className:"md:hidden"},i.createElement(a.A,{value:t,setValue:n,min:2016,max:2024,step:1})),i.createElement(r.A,null,i.createElement("div",{className:"flex justify-start items-center md:mb-24 mb-6"},i.createElement("div",null,i.createElement("div",{className:"shrink-0"},i.createElement("img",{src:null==o?void 0:o.animationCardIcon,width:48,height:48,alt:"Windenergie"}))),i.createElement("h2",{className:"font-h3 ml-6 font-medium",dangerouslySetInnerHTML:{__html:null==o?void 0:o.animationCardTitle}})),i.createElement("h3",{className:"font-h4 font-medium mb-6"},null==o?void 0:o.animationCardPreTitle),i.createElement("p",{className:"font-h4 font-normal",dangerouslySetInnerHTML:{__html:null==o?void 0:o.animationCardDescription}}))))}},4178:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(9949),i=n(8700),a=n(6540),o=n(3783),u=n(4719),s=n(8784),l=n(9437);function c(e){var t=e.value,n=e.ModelRef,c=e.data,h=function(){var e=(0,r.A)().gl;return(0,a.useEffect)((function(){e.toneMapping=l.NeutralToneMapping,e.toneMappingExposure=1,e.outputColorSpace=l.SRGBColorSpace}),[e]),null};return a.createElement("div",{ref:n,id:"fixed-model",className:"select-none overflow-visible sticky top-0 float-right flex h-screen w-full justify-end items-center"},a.createElement("div",{className:"w-screen h-screen md:w-[60%] md:transform"},a.createElement(i.Hl,null,a.createElement(a.Suspense,{fallback:null},a.createElement(s._,{sliderValue:t}
2),a.createElement(o.OH,{preset:"sunset",files:null==c?void 0:c.animatedHdrImage,background:!1,environmentIntensity:1,backgroundIntensity:0}),a.createElement("ambientLight",{intensity:.1,color:"#fff"}),a.createElement("directionalLight",{position:[10,10,5],intensity:.6}),a.createElement(h,null),a.createElement(u.u,{makeDefault:!0,position:[30,25,30],rotation:[-Math.PI/6,Math.PI/4,0,"YXZ"],zoom:1})))))}},5724:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(9038),i=n(5313),a=n(6540);function o(e){var t=e.value,n=e.setValue,o=e.data;return a.createElement("div",{className:"mx-6 md:ml-auto md:mr-[2.5%] md:w-[35%] mb-12 md:mb-0"},a.createElement(r.A,{value:t,setValue:n,min:2016,max:2024,step:1}),a.createElement(i.A,{value:t,data:o}))}},859:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(5926),i=n(6540);function a(e){var t=e.opacity,n=e.data;return i.createElement(i.Fragment,null,i.createElement("div",{id:"zoneCards",className:"clear-both grid place-items-center mx-6 md:block md:mr-72",style:{opacity:t}},i.createElement(r.A,{title:null==n?void 0:n.linearZoneTitle,boxColor:"bg-green",distance:null==n?void 0:n.linearZoneRange,text:null==n?void 0:n.linearZoneDescription}),i.createElement(r.A,{title:null==n?void 0:n.turbulantZoneTitle,boxColor:"bg-blue_light",distance:null==n?void 0:n.turbulantZoneRange,text:null==n?void 0:n.turbulantZoneDescription}),i.createElement(r.A,{title:null==n?void 0:n.buildingZoneTitle,boxColor:"bg-blue",distance:null==n?void 0:n.buildingZoneRange,text:null==n?void 0:n.buildingZoneDescription})))}},8784:function(e,t,n){"use strict";n.d(t,{_:function(){return p}});var r=n(6540),i=n(2603),a=n(426),o=n(1608),u=n(821),s=n(6575),l=n(9949),c=n(8823);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function p(e){var t=e.sliderValue,n=(0,r.useRef)(),d=(0,i.p)("/content/dam/max-boegl-renewables/hybridturm/hybrid-animation/Different_Zones_LY01-transformed.glb"),p=d.nodes,f=d.materials,m=d.animations,g=(0,a.f)(m,n).actions,_=(0,l.A)().viewport,D=h((0,r.useState)(.5),2),v=D[0],y=D[1],E=h((0,r.useState)(1),2),A=E[0],C=E[1],F=(0,r.useRef)(),b=(0,r.useRef)(),S=(0,r.useRef)(),x=(0,r.useRef)(),B=(0,r.useRef)(),w=(0,r.useRef)(),M=window.innerWidth<=440;(0,l.C)((function(){T.needsUpdate=!0,P.needsUpdate=!0,R.needsUpdate=!0})),(0,r.useEffect)((function(){M||(b.current.transparent=!0,b.current.opacity=0,x.current.transparent=!0,x.current.opacity=0,w.current.transparent=!0,w.current.opacity=0,n.current.position.x=6,y(.5)),null!=g&&g.animation_0&&g.animation_0.play(),M&&(y(2),n.current.position.x=0)}),[M,g,n,b,x,w]),(0,r.useEffect)((function(){null!=g&&g.animation_0&&g.animation_0.setEffectiveTimeScale(.75),M&&(y(2),n.current.position.x=0)}),[g,M,n]),(0,r.useEffect)((function(){C((0,c.my)(t,2016,2024,.7,1))}),[t]);var T=h((0,r.useState)((function(){return document.getElementById("ebene1")})),1)[0],P=h((0,r.useState)((function(){return document.getElementById("ebene2")})),1)[0],R=h((0,r.useState)((function(){return document.getElementById("ebene3")})),1)[0];return(0,u.L)((function(){s.u.create({trigger:"#zoneCardTrigger",start:"top center",end:"bottom center",onUpdate:function(e){var t=M?2
2:.5,r=M?1.4:1.25;y((0,c.my)(e.progress,0,1,t,r)),M||(n.current.position.x=(0,c.my)(e.progress,0,1,6,.25))}}),s.u.create({trigger:"#zoneCards",start:"top center",end:"+=400px",onUpdate:function(e){if(!M){var t=(0,c.my)(e.progress,.2,1,0,.8),n=(0,c.my)(e.progress,0,1,1,-.088);F.current.position.x=n,F.current.position.z=(0,c.my)(e.progress,0,1,-1.5,.88),S.current.position.x=n,S.current.position.z=(0,c.my)(e.progress,0,1,-1,.88),B.current.position.x=n,B.current.position.z=(0,c.my)(e.progress,0,1,-.5,.88),b.current.opacity=t,x.current.opacity=t,w.current.opacity=t}}}),s.u.create({trigger:"#zoneCards",start:"bottom top",end:"+=250px",onUpdate:function(e){M||(y((0,c.my)(e.progress,0,1,1.25,.9)),n.current.position.x=(0,c.my)(e.progress,0,1,.25,0),n.current.position.y=(0,c.my)(e.progress,0,1,.1,.6))}})})),r.createElement(o.r,{depth:!0,scale:.5*_.width*v},r.createElement("group",{ref:n,dispose:null,position:[1,.1,0]},r.createElement("group",null,r.createElement("mesh",{ref:B,name:"Ebene2",position:[-.088,.9,.881],rotation:[-Math.PI/2,0,Math.PI/2]},r.createElement("planeGeometry",null),r.createElement("meshBasicMaterial",{ref:w,transparent:!0,opacity:.8},r.createElement("videoTexture",{attach:"map",args:[R]}))),r.createElement("mesh",{ref:S,name:"Ebene1",geometry:p.Ebene1.geometry,position:[-.088,.6,.881],rotation:[-Math.PI/2,0,Math.PI/2]},r.createElement("planeGeometry",null),r.createElement("meshBasicMaterial",{ref:x,transparent:!0,opacity:.8},r.createElement("videoTexture",{attach:"map",args:[P]}))),r.createElement("mesh",{ref:F,name:"Ebene",geometry:p.Ebene.geometry,position:[-.088,.3,.881],rotation:[-Math.PI/2,0,Math.PI/2]},r.createElement("planeGeometry",null),r.createElement("meshBasicMaterial",{ref:b,transparent:!0,opacity:.8},r.createElement("videoTexture",{attach:"map",args:[T]}))),r.createElement("group",{scale:A},r.createElement("mesh",{name:"Windenergie_Kanzel_1",geometry:p.Windenergie_Kanzel_1.geometry,material:f.Mat,position:[.307,1.04,.577],rotation:[0,.273,0]}),r.createElement("mesh",{name:"Windenergie_KanzelOutline_Cube_1",geometry:p.Windenergie_KanzelOutline_Cube_1.geometry,material:f.ROT,position:[.307,1.04,.577],rotation:[0,.273,0]}),r.createElement("mesh",{name:"Windenergie_Turm_1-Mat",geometry:p["Windenergie_Turm_1-Mat"].geometry,material:f.Mat,position:[.311,.519,.59],rotation:[0,.273,0]}),r.createElement("mesh",{name:"Windenergie_Turm_1-ROT",geometry:p["Windenergie_Turm_1-ROT"].geometry,material:f.ROT,position:[.311,.519,.59],rotation:[0,.273,0]}),r.createElement("mesh",{name:"Windenergie_Turm_Outline_1",geometry:p.Windenergie_Turm_Outline_1.geometry,material:f.ROT,position:[4.63,-.009,3.33],rotation:[0,.273,0]}),r.createElement("group",{name:"Windkraftwerk1",position:[.311,.029,.59],rotation:[0,.273,0]},r.createElement("mesh",{name:"Windenergie_Rotoren_1",geometry:p.Windenergie_Rotoren_1.geometry,material:f.Mat,position:[0,1.009,.115]},r.createElement("group",{name:"Windenergie_Rotoren_Outline_1",position:[3.421,-1.048,3.692]},r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_1_1",geometry:p.Windenergie_Rotoren_Outline_1_1.geometry,material:f.ROT})),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_a_1",geometry:p.Windenergie_Rotoren_Outline_a_1.geometry,material:f.ROT,position:[0,0,.053]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_b_1",geometry:p.Windenergie_Rotoren_Outline_b_1.geometry,material:f.ROT,position:[0,0,.026]})))),r.createElement("group",{name:"Windenergie",position:[-.212,-.01,.139]},r.createElement("group",{name:"Baum_2",position:[-.086,-.019,-.578],rotation:[.013,0,0]},r.createElement("mesh",{name:"Zylinder",geometry:p.Zylinder.geometry,material:f.Mat,position:[0,.111,0]}),r.createElement("mesh",{name:"Kugel1",geometry:p.Kugel1.geometry,material:f.BAUM_MAT,position:[.048,.247,-.007]},r.createElement("mesh",{name:"Ring",geometry:p.Ring.geometry,material:f.Mat,position:[.019,.006,.005],rotation:[-1.019,1.23,.921]})),r.createElement("mesh",{name:"Kugel",geometry:p.Kugel.geometry,material:f.BAUM_MAT,position:[0,.238,0]},r.createElement("mesh",{name:"Ring_1",geometry:p.Ring_1.geometry,material:f.Mat,rotation:[-.485,.88,.385]})),r.createElement("mesh",{name:"Kugel2",geometry:p.Kugel2.geometry,material:f.BAUM_MAT,position:[.049,.208,.035]},r.createElement("mesh",{name:"Ring_2",geometry:p.Ring_2.geometry,material:f.Mat,position:[.02,0,.018],rotation:[.112,.771,.044]})))),r.createElement("mesh",{name:"Haus",geometry:p.Haus.geometry,material:f.Mat,position:[-.018,.129,-.568]}),r.createElement("mesh",{name:"Haus1",geometry:p.Haus1.geometry,material:f.ROT,position:[-.018,.129,-.568]}),r.createElement("mesh",{name:"Würfel",geometry:p.Würfel.geometry,material:f.ROT,position:[-.018,.129,-.568]}),r.createElement("mesh",{name:"Extrudieren",geometry:p.Extrudieren.geometry,material:f.INSEL,position:[0,-.061,0]}))))}i.p.preload("/content/dam/max-boegl-renewables/hybridturm/hybrid-animation/Different_Zones_LY01-transformed.glb")},4821:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return f}});var r=n(6540),i=n(5880),a=n(6575),o=n(8976),u=n(2104),s=n(3727),l=n(9314),c=n(4947),h=n(
25870);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function f(){var e=(0,r.useRef)(),t=(0,r.useRef)(),n=(0,h.A)(),i=d((0,r.useState)("projektierung"),2),p=i[0],f=i[1],m=d((0,r.useState)(-1),2),g=m[0],_=m[1],D=new Event("onCardClosed"),v=function(){document.dispatchEvent(D),_(-1)};return(0,r.useLayoutEffect)((function(){if(e.current&&t.current){var n=["#projektierung","#produkte"].map((function(e){return a.u.create({trigger:e,start:"top center",end:"bottom center",onEnter:function(){return f(e.substring(1))},onEnterBack:function(){return f(e.substring(1))},scrub:!0})}));return function(){n.forEach((function(e){return e.kill()}))}}}),[]),r.createElement("div",{className:"app-leistung animation-component"},r.createElement("main",{className:"scroller bg-black_5 relative",ref:e},r.createElement(s.A,{setActiveCard:_,modelRef:t,refreshScrollTrigger:function(){a.u.refresh()},scrollLink:p,data:n}),r.createElement(u.A,{data:n}),r.createElement(c.A,{data:n}),r.createElement("div",{className:"relative h-72 pointer-events-none"}),r.createElement(l.A,{setActiveCard:_,data:n}),r.createElement("div",{id:"projektierung",className:"min-h-lvh pointer-events-none"}),r.createElement("div",{id:"produkte",className:"min-h-lvh pointer-events-none"}),r.createElement("div",null,r.createElement(o.A,{title:null==n?void 0:n.rooftopTitle,badge:null==n?void 0:n.rooftopCardLabel,badgeColor:"bg-green_light",imgSrc:null==n?void 0:n.rooftopBannerImage,isVisible:0===g,closeCard:v},r.createElement("p",{className:"font-h4 font-medium mb-6",dangerouslySetInnerHTML:{__html:null==n?void 0:n.rooftopPreTitle}}),r.createElement("p",{dangerouslySetInnerHTML:{__html:null==n?void 0:n.rooftopDescription}})),r.createElement(o.A,{title:null==n?void 0:n.windTurbineTitle,badge:null==n?void 0:n.windTurbineCardLabel,badgeColor:"bg-green_light",imgSrc:null==n?void 0:n.windTurbineBannerImage,isVisible:1===g,closeCard:v},r.createElement("div",null,r.createElement("p",{className:"font-h4 font-medium mb-6",dangerouslySetInnerHTML:{__html:null==n?void 0:n.windTurbinePreTitle}}),r.createElement("p",{className:"mb-6",dangerouslySetInnerHTML:{__html:null==n?void 0:n.windTurbineDescription}}),r.createElement("a",{href:null==n?void 0:n.windTurbineButtonRedirection,className:"text-white bg-red py-4 px-8 font-h4 w-full sm:w-auto text-center sm:text-left inline-block"},null==n?void 0:n.windTurbineButtonLabel))),r.createElement(o.A,{title:null==n?void 0:n.airStorageTitle,badge:null==n?void 0:n.airStorageCardLabel,badgeColor:"bg-green_light",imgSrc:null==n?void 0:n.airStorageBannerImage,isVisible:2===g,closeCard:v}," ",r.createElement("div",null,r.createElement("p",{className:"font-h4 font-medium mb-6",dangerouslySetInnerHTML:{__html:null==n?void 0:n.airStoragePreTitle}}),r.createElement("p",{className:"mb-6",dangerouslySetInnerHTML:{__html:null==n?void 0:n.airStorageDescription}}),r.createElement("a",{href:null==n?void 0:n.airStorageButtonRedirection,className:"text-white bg-red py-4 px-8 font-h4 w-full sm:w-auto text-center sm:text-left inline-block"},null==n?void 0:n.airStorageButtonLabel))),r.createElement(o.A,{title:null==n?void 0:n.energyStorageTitle,badge:null==n?void 0:n.energyStorageCardLabel,badgeColor:"bg-green_light",imgSrc:null==n?void 0:n.energyStorageBannerImage,isVisible:3===g,closeCard:v},r.createElement("p",{className:"font-h4 font-medium mb-6",dangerouslySetInnerHTML:{__html:null==n?void 0:n.energyStoragePreTitle}}),r.createElement("p",{dangerouslySetInnerHTML:{__html:null==n?void 0:n.energyStorageDescription}})),r.createElement(o.A,{title:null==n?void 0:n.powerOfXTitle,badge:null==n?void 0:n.powerOfXCardLabel,badgeColor:"bg-green_light",imgSrc:null==n?void 0:n.powerOfXBannerImage,isVisible:4===g,closeCard:v},r.createElement("p",{className:"font-h4 font-medium mb-6",dangerouslySetInnerHTML:{__html:null==n?void 0:n.powerOfXPreTitle}}),r.createElement("p",{dangerouslySetInnerHTML:{__html:null==n?void 0:n.powerOfXDescription}})),r.createElement(o.A,{title:null==n?void 0:n.measurementTitle,badge:null==n?void 0:n.measurementCardLabel,badgeColor:"bg-green_light",imgSrc:null==n?void 0:n.measurementBannerImage,isVisible:5===g,closeCard:v},r.createElement("p",{className:"font-h4 font-medium mb-6",dangerouslySetInnerHTML:{__html:null==n?void 0:n.measurementPreTitle}}),r.createElement("p",{dangerouslySetInnerHTML:{__html:null==n?void 0:n.measurementDescription}})),r.createElement(o.A,{title:null==n?void 0:n.operationManagementTitle,badge:null==n?void 0:n.operationManagementCardLabel,badgeColor:"bg-green_light",imgSrc:null==n?void 0:n.operationManagementBannerImage,isVisible:6===g,closeCard:v},r.createElement("ul",{dangerouslySetInnerHTML:{__html:null==n?void 0:n.operationManagementPreTitle}}),r.createElement("p",{dangerouslySetInnerHTML:{__html:null==n?void 0:n.operationManagementDescription}})))))}i.Ay.registerPlugin(a.u)},4551:function(e,t,n){"use strict";n.d(t,{A:function(){return En}});var r=n(6540),i=n(2603),a=n(426),o=n(1608),u=n(8409),s=n(9949),l=n(821),c=n(6575),h=n(8823),d=n(5880),p=n(9437);const f="none",m="frame",g="render",_="object",D=["x","y","z","w"];function*v(e,t=!1){for(const n in e){if(!0===n.startsWith("_"))continue;const r=e[n];if(!0===Array.isArray(r))for(let e=0;e<r.length;e++){const i=r[e];i&&(!0===i.isNode||t&&"function"==typeof i.toJSON)&&(yield{property:n,index:e,childNode:i})}else if(r&&!0===r.isNode)yield{property:n,childNode:r};else if("object"==typeof r)for(const e in r){const i=r[e];i&&(!0===i.isNode||t&&"function"==typeof i.toJSON)&&(yield{property:n,index:e,childNode:i})}}}function y(e){if(null==e)return null;const t=typeof e;return!0===e.isNode?"node":"number"===t?"float":"boolean"===t?"bool":"string"===t?"string":"function"===t?"shader":!0===e.isVector2?"vec2":!0===e.isVector3?"vec3":!0===e.isVector4?"vec4":!0===e.isMatrix3?"mat3":!0===e.isMatrix4?"mat4":!0===e.isColor?"color":e instanceof ArrayBuffer?"ArrayBuffer":null}function E(e,...t){const n=e?e.slice(-4):void 0;return 1===t.length&&("vec2"===n?t=[t[0],t[0]]:"vec3"===n?t=[t[0],t[0],t[0]]:"vec4"===n&&(t=[t[0],t[0],t[0],t[0]])),"color"===e?new p.Color(...t):"vec2"===n?new p.Vector2(...t):"vec3"===n?new p.Vector3(...t):"vec4"===n?new p.Vector4(...t):"mat3"===n?new p.Matrix3(...t):"mat4"===n?
2new p.Matrix4(...t):"bool"===e?t[0]||!1:"float"===e||"int"===e||"uint"===e?t[0]||0:"string"===e?t[0]||"":"ArrayBuffer"===e?(r=t[0],Uint8Array.from(atob(r),(e=>e.charCodeAt(0))).buffer):null;var r}const A=new Map;let C=0;class F extends p.EventDispatcher{constructor(e=null){super(),this.nodeType=e,this.updateType=f,this.updateBeforeType=f,this.uuid=p.MathUtils.generateUUID(),this.version=0,this._cacheKey=null,this._cacheKeyVersion=0,this.global=!1,this.isNode=!0,Object.defineProperty(this,"id",{value:C++})}set needsUpdate(e){!0===e&&this.version++}get type(){return this.constructor.type}onUpdate(e,t){return this.updateType=t,this.update=e.bind(this.getSelf()),this}onFrameUpdate(e){return this.onUpdate(e,m)}onRenderUpdate(e){return this.onUpdate(e,g)}onObjectUpdate(e){return this.onUpdate(e,_)}onReference(e){return this.updateReference=e.bind(this.getSelf()),this}getSelf(){return this.self||this}updateReference(){return this}isGlobal(){return this.global}*getChildren(){for(const{childNode:e}of v(this))yield e}dispose(){this.dispatchEvent({type:"dispose"})}traverse(e){e(this);for(const t of this.getChildren())t.traverse(e)}getCacheKey(e=!1){return!0!==(e=e||this.version!==this._cacheKeyVersion)&&null!==this._cacheKey||(this._cacheKey=function(e,t=!1){let n="{";!0===e.isNode&&(n+=e.id);for(const{property:r,childNode:i}of v(e))n+=","+r.slice(0,-4)+":"+i.getCacheKey(t);return n+="}",n}(this,e),this._cacheKeyVersion=this.version),this._cacheKey}getHash(){return this.uuid}getUpdateType(){return this.updateType}getUpdateBeforeType(){return this.updateBeforeType}getElementType(e){const t=this.getNodeType(e);return e.getElementType(t)}getNodeType(e){const t=e.getNodeProperties(this);return t.outputNode?t.outputNode.getNodeType(e):this.nodeType}getShared(e){const t=this.getHash(e);return e.getNodeFromHash(t)||this}setup(e){const t=e.getNodeProperties(this);let n=0;for(const e of this.getChildren())t["node"+n++]=e;return null}construct(e){return console.warn("THREE.Node: construct() is deprecated. Use setup() instead."),this.setup(e)}increaseUsage(e){const t=e.getDataFromNode(this);return t.usageCount=void 0===t.usageCount?1:t.usageCount+1,t.usageCount}analyze(e){if(1===this.increaseUsage(e)){const t=e.getNodeProperties(this);for(const n of Object.values(t))n&&!0===n.isNode&&n.build(e)}}generate(e,t){const{outputNode:n}=e.getNodeProperties(this);if(n&&!0===n.isNode)return n.build(e,t)}updateBefore(){console.warn("Abstract function.")}update(){console.warn("Abstract function.")}build(e,t=null){const n=this.getShared(e);if(this!==n)return n.build(e,t);e.addNode(this),e.addChain(this);let r=null;const i=e.getBuildStage();if("setup"===i){this.updateReference(e);const t=e.getNodeProperties(this);if(!0!==t.initialized||!1===e.context.tempRead){const n=e.stack.nodes.length;t.initialized=!0,t.outputNode=this.setup(e),null!==t.outputNode&&e.stack.nodes.length!==n&&(t.outputNode=e.stack);for(const n of Object.values(t))n&&!0===n.isNode&&n.build(e)}}else if("analyze"===i)this.analyze(e);else if("generate"===i){if(1===this.generate.length){const n=this.getNodeType(e),i=e.getDataFromNode(this);r=i.snippet,void 0===r&&(r=this.generate(e)||"",i.snippet=r),r=e.format(r,n,t)}else r=this.generate(e,t)||""}return e.removeChain(this),r}getSerializeChildren(){return v(this)}serialize(e){const t=this.getSerializeChildren(),n={};for(const{property:r,index:i,childNode:a}of t)void 0!==i?(void 0===n[r]&&(n[r]=Number.isInteger(i)?[]:{}),n[r][i]=a.toJSON(e.meta).uuid):n[r]=a.toJSON(e.meta).uuid;Object.keys(n).length>0&&(e.inputNodes=n)}deserialize(e){if(void 0!==e.inputNodes){const t=e.meta.nodes;for(const n in e.inputNodes)if(Array.isArray(e.inputNodes[n])){const r=[];for(const i of e.inputNodes[n])r.push(t[i]);this[n]=r}else if("object"==typeof e.inputNodes[n]){const r={};for(const i in e.inputNodes[n]){const a=e.inputNodes[n][i];r[i]=t[a]}this[n]=r}else{const r=e.inputNodes[n];this[n]=t[r]}}}toJSON(e){const{uuid:t,type:n}=this,r=void 0===e||"string"==typeof e;r&&(e={textures:{},images:{},nodes:{}});let i=e.nodes[t];function a(e){const t=[];for(const n in e){const r=e[n];delete r.metadata,t.push(r)}return t}if(void 0===i&&(i={uuid:t,type:n,meta:e,metadata:{version:4.6,type:"Node",generator:"Node.toJSON"}},!0!==r&&(e.nodes[i.uuid]=i),this.serialize(i),delete i.meta),r){const t=a(e.textures),n=a(e.images),r=a(e.nodes);t.length>0&&(i.textures=t),n.length>0&&(i.images=n),r.length>0&&(i.nodes=r)}return i}}var b=F;function S(e,t){if("function"!=typeof t||!e)throw new Error(`Node 
2class ${e} is not a class`);A.has(e)?console.warn(`Redefinition of node class ${e}`):(A.set(e,t),t.type=e)}class x extends b{constructor(e){super(e),this.isTempNode=!0}hasDependencies(e){return e.getDataFromNode(this).usageCount>1}build(e,t){if("generate"===e.getBuildStage()){const n=e.getVectorType(this.getNodeType(e,t)),r=e.getDataFromNode(this);if(!1!==e.context.tempRead&&void 0!==r.propertyName)return e.format(r.propertyName,n,t);if(!1!==e.context.tempWrite&&"void"!==n&&"void"!==t&&this.hasDependencies(e)){const i=super.build(e,n),a=e.getVarFromNode(this,null,n),o=e.getPropertyName(a);return e.addLineFlowCode(`${o} = ${i}`),r.snippet=i,r.propertyName=o,e.format(r.propertyName,n,t)}}return super.build(e,t)}}var B=x;S("TempNode",x);class w extends b{constructor(e,t){super(),this.node=e,this.indexNode=t,this.isArrayElementNode=!0}getNodeType(e){return this.node.getElementType(e)}generate(e){return`${this.node.build(e)}[ ${this.indexNode.build(e,"uint")} ]`}}var M=w;S("ArrayElementNode",w);class T extends b{constructor(e,t){super(),this.node=e,this.convertTo=t}getNodeType(e){const t=this.node.getNodeType(e);let n=null;for(const r of this.convertTo.split("|"))null!==n&&e.getTypeLength(t)!==e.getTypeLength(r)||(n=r);return n}serialize(e){super.serialize(e),e.convertTo=this.convertTo}deserialize(e){super.deserialize(e),this.convertTo=e.convertTo}generate(e,t){const n=this.node,r=this.getNodeType(e),i=n.build(e,r);return e.format(i,r,t)}}var P=T;S("ConvertNode",T);class R extends B{constructor(e=[],t=null){super(t),this.nodes=e}getNodeType(e){return null!==this.nodeType?e.getVectorType(this.nodeType):e.getTypeFromLength(this.nodes.reduce(((t,n)=>t+e.getTypeLength(n.getNodeType(e))),0))}generate(e,t){const n=this.getNodeType(e),r=this.nodes,i=e.getComponentType(n),a=[];for(const t of r){let n=t.build(e);const r=e.getComponentType(t.getNodeType(e));r!==i&&(n=e.format(n,r,i)),a.push(n)}const o=`${e.getType(n)}( ${a.join(", ")} )`;return e.format(o,n,t)}}var I=R;S("JoinNode",R);const N=D.join("");class L extends b{constructor(e,t="x"){super(),this.node=e,this.components=t,this.isSplitNode=!0}getVectorLength(){let e=this.components.length;for(const t of this.components)e=Math.max(D.indexOf(t)+1,e);return e}getComponentType(e){return e.getComponentType(this.node.getNodeType(e))}getNodeType(e){return e.getTypeFromLength(this.components.length,this.getComponentType(e))}generate(e,t){const n=this.node,r=e.getTypeLength(n.getNodeType(e));let i=null;if(r>1){let a=null;this.getVectorLength()>=r&&(a=e.getTypeFromLength(this.getVectorLength(),this.getComponentType(e)));const o=n.build(e,a);i=this.components.length===r&&this.components===N.slice(0,this.components.length)?e.format(o,a,t):e.format(`${o}.${this.components}`,this.getNodeType(e),t)}else i=n.build(e,t);return i}serialize(e){super.serialize(e),e.components=this.components}deserialize(e){super.deserialize(e),this.components=e.components}}var O=L;S("SplitNode",L);class k extends B{constructor(e,t,n){super(),this.sourceNode=e,this.components=t,this.targetNode=n}getNodeType(e){return this.sourceNode.getNodeType(e)}generate(e){const{sourceNode:t,components:n,targetNode:r}=this,i=this.getNodeType(e),a=e.getTypeFromLength(n.length),o=r.build(e,a),u=t.build(e,i),s=e.getTypeLength(i),l=[];for(let e=0;e<s;e++){const t=D[e];t===n[0]?(l.push(o),e+=n.length-1):l.push(u+"."+t)}return`${e.getType(i)}( ${l.join(", ")} )`}}var U=k;S("SetNode",k);class z extends b{constructor(e,t=null){super(t),this.isInputNode=!0,this.value=e,this.precision=null}getNodeType(){return null===this.nodeType?y(this.value):this.nodeType}getInputType(e){return this.getNodeType(e)}setPrecision(e){return this.precision=e,this}serialize(e){super.serialize(e),e.value=this.value,this.value&&this.value.toArray&&(e.value=this.value.toArray()),e.valueType=y(this.value),e.nodeType=this.nodeType,"ArrayBuffer"===e.valueType&&(e.value=function(e){let t="";const n=new Uint8Array(e);for(let e=0;e<n.length;e++)t+=String.fromCharCode(n[e]);return btoa(t)}(e.value)),e.precision=this.precision}deserialize(e){super.deserialize(e),this.nodeType=e.nodeType,this.value=Array.isArray(e.value)?E(e.valueType,...e.value):e.value,this.precision=e.precision||null,this.value&&this.value.fromArray&&(this.value=this.value.fromArray(e.value))}generate(){console.warn("Abstract function.")}}var V=z;S("InputNode",z);class W extends V{constructor(e,t=null){super(e,t),this.isConstNode=!0}generateConst(e){return e.generateConst(this.getNodeType(e),this.value)}generate(e,t){const n=this.getNodeType(e);return e.format(this.generateConst(e),n,t)}}var H=W;S("ConstNode",W);let G=null;const j=new Map;function X(e,t){if(j.has(e))console.warn(`Redefinition of node element ${e}`);else{if("function"!=typeof t)throw new Error(`Node element ${e} is not a function`);
2j.set(e,t)}}const K=e=>e.replace(/r|s/g,"x").replace(/g|t/g,"y").replace(/b|p/g,"z").replace(/a|q/g,"w"),q={setup(e,t){const n=t.shift();return e(ge(n),...t)},get(e,t,n){if("string"==typeof t&&void 0===e[t]){if(!0!==e.isStackNode&&"assign"===t)return(...e)=>(G.assign(n,...e),n);if(j.has(t)){const r=j.get(t);return e.isStackNode?(...e)=>n.add(r(...e)):(...e)=>r(n,...e)}if("self"===t)return e;if(t.endsWith("Assign")&&j.has(t.slice(0,t.length-6))){const r=j.get(t.slice(0,t.length-6));return e.isStackNode?(...e)=>n.assign(e[0],r(...e)):(...e)=>n.assign(r(n,...e))}if(!0===/^[xyzwrgbastpq]{1,4}$/.test(t))return t=K(t),me(new O(n,t));if(!0===/^set[XYZWRGBASTPQ]{1,4}$/.test(t))return t=(t=K(t.slice(3).toLowerCase())).split("").sort().join(""),n=>me(new U(e,t,n));if("width"===t||"height"===t||"depth"===t)return"width"===t?t="x":"height"===t?t="y":"depth"===t&&(t="z"),me(new O(e,t));if(!0===/^\d+$/.test(t))return me(new M(n,new H(Number(t),"uint")))}return Reflect.get(e,t,n)},set(e,t,n,r){return"string"!=typeof t||void 0!==e[t]||!0!==/^[xyzwrgbastpq]{1,4}$/.test(t)&&"width"!==t&&"height"!==t&&"depth"!==t&&!0!==/^\d+$/.test(t)?Reflect.set(e,t,n,r):(r[t].assign(n),!0)}},J=new WeakMap,Y=new WeakMap,$=function(e,t=null){for(const n in e)e[n]=me(e[n],t);return e},Q=function(e,t=null){const n=e.length;for(let r=0;r<n;r++)e[r]=me(e[r],t);return e},Z=function(e,t=null,n=null,r=null){const i=e=>me(null!==r?Object.assign(e,r):e);return null===t?(...t)=>i(new e(..._e(t))):null!==n?(n=me(n),(...r)=>i(new e(t,..._e(r),n))):(...n)=>i(new e(t,..._e(n)))};class ee extends b{constructor(e,t){super(),this.shaderNode=e,this.inputNodes=t}getNodeType(e){const t=e.getNodeProperties(this);return null===t.outputNode&&(t.outputNode=this.setupOutput(e)),t.outputNode.getNodeType(e)}call(e){const{shaderNode:t,inputNodes:n}=this;if(t.layout){let r=Y.get(e.constructor);void 0===r&&(r=new WeakMap,Y.set(e.constructor,r));let i=r.get(t);return void 0===i&&(i=me(e.buildFunctionNode(t)),r.set(t,i)),null!==e.currentFunctionNode&&e.currentFunctionNode.includes.push(i),me(i.call(n))}const r=t.jsFunc,i=null!==n?r(n,e.stack,e):r(e.stack,e);return me(i)}setup(e){const{outputNode:t}=e.getNodeProperties(this);return t||this.setupOutput(e)}setupOutput(e){return e.addStack(),e.stack.outputNode=this.call(e),e.removeStack()}generate(e,t){const{outputNode:n}=e.getNodeProperties(this);return null===n?this.call(e).build(e,t):super.generate(e,t)}}class te extends b{constructor(e){super(),this.jsFunc=e,this.layout=null}get isArrayInput(){return/^\((\s+)?\[/.test(this.jsFunc.toString())}setLayout(e){return this.layout=e,this}call(e=null){return ge(e),me(new ee(this,e))}setup(){return this.call()}}const ne=[!1,!0],re=[0,1,2,3],ie=[-1,-2],ae=[.5,1.5,1/3,1e-6,1e6,Math.PI,2*Math.PI,1/Math.PI,2/Math.PI,1/(2*Math.PI),Math.PI/2],oe=new Map;for(const e of ne)oe.set(e,new H(e));const ue=new Map;for(const e of re)ue.set(e,new H(e,"uint"));const se=new Map([...ue].map((e=>new H(e.value,"int"))));for(const e of ie)se.set(e,new H(e,"int"));const le=new Map([...se].map((e=>new H(e.value))));for(const e of ae)le.set(e,new H(e));for(const e of ae)le.set(-e,new H(-e));const ce={bool:oe,uint:ue,ints:se,float:le},he=new Map([...oe,...le]),de=(e,t)=>he.has(e)?he.get(e):!0===e.isNode?e:new H(e,t),pe=function(e,t=null){return(...n)=>{if((0===n.length||!["bool","float","int","uint"].includes(e)&&n.every((e=>"object"!=typeof e)))&&(n=[E(e,...n)]),1===n.length&&null!==t&&t.has(n[0]))return me(t.get(n[0]));if(1===n.length){const t=de(n[0],e);return(e=>{try{return e.getNodeType()}catch(e){return}})(t)===e?me(t):me(new P(t,e))}const r=n.map((e=>de(e)));return me(new I(r,e))}};function fe(e){return new Proxy(new te(e),q)}const me=(e,t=null)=>function(e,t=null){const n=y(e);if("node"===n){let t=J.get(e);return void 0===t&&(t=new Proxy(e,q),J.set(e,t),J.set(t,t)),t}return null===t&&("float"===n||"boolean"===n)||n&&"shader"!==n&&"string"!==n?me(de(e,t)):"shader"===n?ve(e):e}(e,t),ge=(e,t=null)=>new $(e,t),_e=(e,t=null)=>new Q(e,t),De=(...e)=>new Z(...e),ve=e=>{const t=new fe(e),n=(...e)=>{let n;return ge(e),n=e[0]&&e[0].isNode?[...e]:e[0],t.call(n)};return n.shaderNode=t,n.setLayout=e=>(t.setLayout(e),n),n};S("ShaderNode",fe),X("toGlobal",(e=>(e.global=!0,e)));X("append",(function(e){return G&&G.add(e),e}));const ye=new pe("color"),Ee=new pe("float",ce.float),Ae=new pe("int",ce.ints),Ce=new pe("uint",ce.uint),Fe=new pe("bool",ce.bool),be=new pe("vec2"),Se=new pe("ivec2"),xe=new pe("uvec2"),Be=new pe("bvec2"),we=new pe("vec3"),Me=new pe("ivec3"),Te=new pe("uvec3"),Pe=new pe("bvec3"),Re=new pe("vec4"),Ie=new pe("ivec4"),Ne=new pe("uvec4"),Le=new pe("bvec4"),Oe=new pe("mat2"),ke=new pe("imat2"),Ue=new pe("umat2"),ze=new pe("bmat2"),Ve=new pe("mat3"),We=new pe("imat3"),He=new pe("umat3"),Ge=new pe("bmat3"),je=new pe("mat4"),Xe=new pe("imat4"),Ke=new pe("umat4"),qe=new pe("bmat4");X("toColor",ye),X("toFloat",Ee),X("toInt",Ae),X("toUint",Ce),X("toBool",Fe),X("toVec2",be),X("toIvec2",Se),X("toUvec2",xe),X("toBvec2",Be),X("toVec3",we),X("toIvec3",Me),X("toUvec3",Te),X("toBvec3",Pe),X("toVec4",Re),X("toIvec4",Ie),X("toUvec4",Ne),X("toBvec4",Le),X("toMat2",Oe),X("toImat2",ke),X("toUmat2",Ue),X("toBmat2",ze),X("toMat3",Ve),X("toImat3",We),X("toUmat3",He),X("toBmat3",Ge),X("toMat4",je),X("toImat4",Xe),X("toUmat4",Ke),X("toBmat4",qe);X("element",De(M)),X("convert",((e,t)=>
2me(new P(me(e),t))));class Je extends B{constructor(e,t,n,...r){if(super(),this.op=e,r.length>0){let t=n;for(let n=0;n<r.length;n++)t=new Je(e,t,r[n]);n=t}this.aNode=t,this.bNode=n}getNodeType(e,t){const n=this.op,r=this.aNode,i=this.bNode,a=r.getNodeType(e),o=void 0!==i?i.getNodeType(e):null;if("void"===a||"void"===o)return"void";if("%"===n)return a;if("~"===n||"&"===n||"|"===n||"^"===n||">>"===n||"<<"===n)return e.getIntegerType(a);if("!"===n||"=="===n||"&&"===n||"||"===n||"^^"===n)return"bool";if("<"===n||">"===n||"<="===n||">="===n){const n=t?e.getTypeLength(t):Math.max(e.getTypeLength(a),e.getTypeLength(o));return n>1?`bvec${n}`:"bool"}return"float"===a&&e.isMatrix(o)?o:e.isMatrix(a)&&e.isVector(o)?e.getVectorFromMatrix(a):e.isVector(a)&&e.isMatrix(o)?e.getVectorFromMatrix(o):e.getTypeLength(o)>e.getTypeLength(a)?o:a}generate(e,t){const n=this.op,r=this.aNode,i=this.bNode,a=this.getNodeType(e,t);let o=null,u=null;"void"!==a?(o=r.getNodeType(e),u=void 0!==i?i.getNodeType(e):null,"<"===n||">"===n||"<="===n||">="===n||"=="===n?e.isVector(o)?u=o:o=u="float":">>"===n||"<<"===n?(o=a,u=e.changeComponentType(u,"uint")):e.isMatrix(o)&&e.isVector(u)?u=e.getVectorFromMatrix(o):o=e.isVector(o)&&e.isMatrix(u)?e.getVectorFromMatrix(u):u=a):o=u=a;const s=r.build(e,o),l=void 0!==i?i.build(e,u):null,c=e.getTypeLength(t),h=e.getFunctionOperator(n);return"void"!==t?"<"===n&&c>1?e.format(`${e.getMethod("lessThan")}( ${s}, ${l} )`,a,t):"<="===n&&c>1?e.format(`${e.getMethod("lessThanEqual")}( ${s}, ${l} )`,a,t):">"===n&&c>1?e.format(`${e.getMethod("greaterThan")}( ${s}, ${l} )`,a,t):">="===n&&c>1?e.format(`${e.getMethod("greaterThanEqual")}( ${s}, ${l} )`,a,t):"!"===n||"~"===n?e.format(`(${n}${s})`,o,t):h?e.format(`${h}( ${s}, ${l} )`,a,t):e.format(`( ${s} ${n} ${l} )`,a,t):"void"!==o?h?e.format(`${h}( ${s}, ${l} )`,a,t):e.format(`${s} ${n} ${l}`,a,t):void 0}serialize(e){super.serialize(e),e.op=this.op}deserialize(e){super.deserialize(e),this.op=e.op}}const Ye=De(Je,"+"),$e=De(Je,"-"),Qe=De(Je,"*"),Ze=De(Je,"/"),et=De(Je,"%"),tt=De(Je,"=="),nt=De(Je,"!="),rt=De(Je,"<"),it=De(Je,">"),at=De(Je,"<="),ot=De(Je,">="),ut=De(Je,"&&"),st=De(Je,"||"),lt=De(Je,"!"),ct=De(Je,"^^"),ht=De(Je,"&"),dt=De(Je,"~"),pt=De(Je,"|"),ft=De(Je,"^"),mt=De(Je,"<<"),gt=De(Je,">>");X("add",Ye),X("sub",$e),X("mul",Qe),X("div",Ze),X("remainder",et),X("equal",tt),X("notEqual",nt),X("lessThan",rt),X("greaterThan",it),X("lessThanEqual",at),X("greaterThanEqual",ot),X("and",ut),X("or",st),X("not",lt),X("xor",ct),X("bitAnd",ht),X("bitNot",dt),X("bitOr",pt),X("bitXor",ft),X("shiftLeft",mt),X("shiftRight",gt),S("OperatorNode",Je);class _t extends B{constructor(e,t,n=null,r=null){super(),this.method=e,this.aNode=t,this.bNode=n,this.cNode=r}getInputType(e){const t=this.aNode.getNodeType(e),n=this.bNode?this.bNode.getNodeType(e):null,r=this.cNode?this.cNode.getNodeType(e):null,i=e.isMatrix(t)?0:e.getTypeLength(t),a=e.isMatrix(n)?0:e.getTypeLength(n),o=e.isMatrix(r)?0:e.getTypeLength(r);return i>a&&i>o?t:a>o?n:o>i?r:t}getNodeType(e){const t=this.method;return t===_t.LENGTH||t===_t.DISTANCE||t===_t.DOT?"float":t===_t.CROSS?"vec3":t===_t.ALL?"bool":t===_t.EQUALS?e.changeComponentType(this.aNode.getNodeType(e),"bool"):t===_t.MOD?this.aNode.getNodeType(e):this.getInputType(e)}generate(e,t){const n=this.method,r=this.getNodeType(e),i=this.getInputType(e),a=this.aNode,o=this.bNode,u=this.cNode,s=!0===e.renderer.isWebGLRenderer;if(n===_t.TRANSFORM_DIRECTION){let n=a,r=o;e.isMatrix(n.getNodeType(e))?r=Re(we(r),0):n=Re(we(n),0);const i=Qe(n,r).xyz;return Tt(i).build(e,t)}if(n===_t.NEGATE)return e.format("( - "+a.build(e,i)+" )",r,t);if(n===_t.ONE_MINUS)return $e(1,a).build(e,t);if(n===_t.RECIPROCAL)return Ze(1,a).build(e,t);if(n===_t.DIFFERENCE)return Ut($e(a,o)).build(e,t);{const l=[];return n===_t.CROSS||n===_t.MOD?l.push(a.build(e,r),o.build(e,r)):n===_t.STEP?l.push(a.build(e,1===e.getTypeLength(a.getNodeType(e))?"float":i),o.build(e,i)):s&&(n===_t.MIN||n===_t.MAX)||n===_t.MOD?l.push(a.build(e,i),o.build(e,1===e.getTypeLength(o.getNodeType(e))?"float":i)):n===_t.REFRACT?l.push(a.build(e,i),o.build(e,i),u.build(e,"float")):n===_t.MIX?l.push(a.build(e,i),o.build(e,i),u.build(e,1===e.getTypeLength(u.getNodeType(e))?"float":i)):(l.push(a.build(e,i)),null!==o&&l.push(o.build(e,i)),null!==u&&l.push(u.build(e,i))),e.format(`${e.getMethod(n,r)}( ${l.join(", ")} )`,r,t)}}serialize(e){super.serialize(e),e.method=this.method}deserialize(e){super.deserialize(e),this.method=e.method}}
2_t.ALL="all",_t.ANY="any",_t.EQUALS="equals",_t.RADIANS="radians",_t.DEGREES="degrees",_t.EXP="exp",_t.EXP2="exp2",_t.LOG="log",_t.LOG2="log2",_t.SQRT="sqrt",_t.INVERSE_SQRT="inversesqrt",_t.FLOOR="floor",_t.CEIL="ceil",_t.NORMALIZE="normalize",_t.FRACT="fract",_t.SIN="sin",_t.COS="cos",_t.TAN="tan",_t.ASIN="asin",_t.ACOS="acos",_t.ATAN="atan",_t.ABS="abs",_t.SIGN="sign",_t.LENGTH="length",_t.NEGATE="negate",_t.ONE_MINUS="oneMinus",_t.DFDX="dFdx",_t.DFDY="dFdy",_t.ROUND="round",_t.RECIPROCAL="reciprocal",_t.TRUNC="trunc",_t.FWIDTH="fwidth",_t.BITCAST="bitcast",_t.ATAN2="atan2",_t.MIN="min",_t.MAX="max",_t.MOD="mod",_t.STEP="step",_t.REFLECT="reflect",_t.DISTANCE="distance",_t.DIFFERENCE="difference",_t.DOT="dot",_t.CROSS="cross",_t.POW="pow",_t.TRANSFORM_DIRECTION="transformDirection",_t.MIX="mix",_t.CLAMP="clamp",_t.REFRACT="refract",_t.SMOOTHSTEP="smoothstep",_t.FACEFORWARD="faceforward";Ee(1e-6),Ee(1e6),Ee(Math.PI),Ee(2*Math.PI);const Dt=De(_t,_t.ALL),vt=De(_t,_t.ANY),yt=De(_t,_t.EQUALS),Et=De(_t,_t.RADIANS),At=De(_t,_t.DEGREES),Ct=De(_t,_t.EXP),Ft=De(_t,_t.EXP2),bt=De(_t,_t.LOG),St=De(_t,_t.LOG2),xt=De(_t,_t.SQRT),Bt=De(_t,_t.INVERSE_SQRT),wt=De(_t,_t.FLOOR),Mt=De(_t,_t.CEIL),Tt=De(_t,_t.NORMALIZE),Pt=De(_t,_t.FRACT),Rt=De(_t,_t.SIN),It=De(_t,_t.COS),Nt=De(_t,_t.TAN),Lt=De(_t,_t.ASIN),Ot=De(_t,_t.ACOS),kt=De(_t,_t.ATAN),Ut=De(_t,_t.ABS),zt=De(_t,_t.SIGN),Vt=De(_t,_t.LENGTH),Wt=De(_t,_t.NEGATE),Ht=De(_t,_t.ONE_MINUS),Gt=De(_t,_t.DFDX),jt=De(_t,_t.DFDY),Xt=De(_t,_t.ROUND),Kt=De(_t,_t.RECIPROCAL),qt=De(_t,_t.TRUNC),Jt=De(_t,_t.FWIDTH),Yt=(De(_t,_t.BITCAST),De(_t,_t.ATAN2)),$t=De(_t,_t.MIN),Qt=De(_t,_t.MAX),Zt=De(_t,_t.MOD),en=De(_t,_t.STEP),tn=De(_t,_t.REFLECT),nn=De(_t,_t.DISTANCE),rn=De(_t,_t.DIFFERENCE),an=De(_t,_t.DOT),on=De(_t,_t.CROSS),un=De(_t,_t.POW),sn=De(_t,_t.POW,2),ln=De(_t,_t.POW,3),cn=De(_t,_t.POW,4),hn=De(_t,_t.TRANSFORM_DIRECTION),dn=De(_t,_t.MIX),pn=(e,t=0,n=1)=>me(new _t(_t.CLAMP,me(e),me(t),me(n))),fn=De(_t,_t.REFRACT),mn=De(_t,_t.SMOOTHSTEP),gn=De(_t,_t.FACEFORWARD);X("all",Dt),X("any",vt),X("equals",yt),X("radians",Et),X("degrees",At),X("exp",Ct),X("exp2",Ft),X("log",bt),X("log2",St),X("sqrt",xt),X("inverseSqrt",Bt),X("floor",wt),X("ceil",Mt),X("normalize",Tt),X("fract",Pt),X("sin",Rt),X("cos",It),X("tan",Nt),X("asin",Lt),X("acos",Ot),X("atan",kt),X("abs",Ut),X("sign",zt),X("length",Vt),X("lengthSq",(e=>an(e,e))),X("negate",Wt),X("oneMinus",Ht),X("dFdx",Gt),X("dFdy",jt),X("round",Xt),X("reciprocal",Kt),X("trunc",qt),X("fwidth",Jt),X("atan2",Yt),X("min",$t),X("max",Qt),X("mod",Zt),X("step",en),X("reflect",tn),X("distance",nn),X("dot",an),X("cross",on),X("pow",un),X("pow2",sn),X("pow3",ln),X("pow4",cn),X("transformDirection",hn),X("mix",((e,t,n)=>dn(t,n,e))),X("clamp",pn),X("refract",fn),X("smoothstep",((e,t,n)=>mn(t,n,e))),X("faceForward",gn),X("difference",rn),X("saturate",(e=>pn(e))),X("cbrt",(e=>Qe(zt(e),un(Ut(e),1/3)))),S("MathNode",_t);class _n extends b{constructor(e,t=null){super(),this.node=e,this.name=t,this.isVarNode=!0}isGlobal(){return!0}getHash(e){return this.name||super.getHash(e)}getNodeType(e){return this.node.getNodeType(e)}generate(e){const{node:t,name:n}=this,r=e.getVarFromNode(this,n,e.getVectorType(this.getNodeType(e))),i=e.getPropertyName(r),a=t.build(e,r.type);return e.addLineFlowCode(`${i} = ${a}`),i}}const Dn=De(_n);function vn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yn(e,t):void 0}}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function En(e){var t=e.setActiveCard,n=e.throttle,p=e.setThrottle,f=e.fokus,m=e.setFokus,g=e.setHoverText,_=e.data,D=r.useRef(),v=(0,i.p)("/content/dam/max-boegl-renewables/energieleistungen/leistung-animation/insel-leistung.glb"),y=v.nodes,E=v.materials,A=v.animations,C=(0,a.f)(A,D).actions,F=(0,s.A)().viewport,b=(0,r.useRef)(),S=(0,r.useRef)(),x=(0,r.useRef)(),B=(0,r.useRef)(),w=(0,r.useRef)(),M=(0,r.useRef)(),T=(0,r.useRef)(),P=(0,r.useRef)(),R=(0,r.useRef)(),I=(0,r.useRef)(),N=(0,r.useRef)(),L=(0,r.useRef)(),O=(0,r.useRef)(),k=vn((0,r.useState)(window.innerWidth<=440?2:1.5),2),U=k[0],z=k[1],V=vn((0,r.useState)(null),2),W=V[0],H=V[1],G=vn((0,r.useState)(!0),2),j=G[0],X=G[1],K=vn((0,r.useState)(!1),2),q=K[0],J=K[1];(0,r.useEffect)((function(){for(var e in C)C[e].setEffectiveTimeScale(.5),C[e].play();window.innerWidth<=440&&(D.current.position.x=2,D.current.position.z=2);var t=function(){m(null)};return document.addEventListener("onCardClosed",t),b.current=document.getRootNode().body,function(){document.removeEventListener("onCardClosed",t)}}),[]),(0,r.useEffect)((function(){var e=b.current;W?e.classList.add("canvas-pointer"):e.classList.remove("canvas-pointer")}),[W]),(0,l.L)((function(){Z(),ee()})),(0,l.L)((function(){if(W&&!f){if((j||q)&&!(window.innerWidth<440))if(q)switch(W.name){case"Power_to_heat":d.Ay.to(w.current.position,{x:-.25,y:0,z:-5}),d.Ay.to(w.current.scale,{x:1.75,y:1.75,z:1.75}),g(null==_?void 0:_.airStorageTitle);break;case"Windkraft":d.Ay.to(B.current.position,{x:5,y:0,z:3.3}),d.Ay.to(B.current.scale,{x:1.75,y:1.75,z:1.75}),g(null==_?void 0:_.windTurbineTitle)}else switch(W.name){case"Power_to_heat":d.Ay.fromTo(w.current.position,{x:0,y:0,z:0},{x:-1.458/3.5,y:-.013,z:-3.918/3.5}),d.Ay.fromTo(w.current.scale,{x:1,y:1,z:1},{x:1.25,y:1.25,z:1.25}),g(null==_?void 0:_.airStorageTitle);break;case"Windkraft":d.Ay.fromTo(B.current.position,{x:0,y:0,z:0},{x:3.162/4.5,y:0,z:.892}),d.Ay.fromTo(B.current.scale,{x:1,y:1,z:1},{x:1.25,y:1.25,z:1.25}),g(null==_?void 0:_.windTurbineTitle);break;case"Freifläche_PV":d.Ay.fromTo(T.current.position,{x:0,y:0,z:0},{x:.5,y:0,z:-.25}),d.Ay.fromTo(T.current.scale,{x:1,y:1,z:1},{x:1.25,y:1.25,z:1.25}),g(null==_?void 0:_.rooftopTitle);break;case"Energiespeicher":d.Ay.fromTo(P.current.position,{x:0,y:0,z:0},{x:-.15,y:0,z:.2}),d.Ay.fromTo(P.current.scale,{x:1,y:1,z:1},{x:1.25,y:1.25,z:1.25}),g(null==_?void 0:_.energyStorageTitle);break;case"Hauptgebäude_Aufdach_PV":d.Ay.fromTo(R.current.position,{x:0,y:0,z:0},{x:0,y:0,z:-.4}),d.Ay.fromTo(R.current.scale,{x:1,y:1,z:1},{x:1.25,y:1.25,z:1.25}),g(null==_?void 0:_.rooftopTitle);break;case"Power_to_X":d.Ay.fromTo(M.current.position,{x:0,y:0,z:0},{x:-.75,y:0,z:0}),d.Ay.fromTo(M.current.scale,{x:1,y:1,z:1},{x:1.25,y:1.25,z:1.25}),g(null==_?void 0:_.powerOfXTitle);break;case"Wartung":d.Ay.fromTo(N.current.position,{x:0,y:0,z:0},{x:.25,y:0,z:.7}),d.Ay.fromTo(N.current.scale,{x:1,y:1,z:1},{x:1.25,y:1.25,z:1.25}),g(null==_?void 0:_.operationManagementTitle);break;case"Diagramm":d.Ay.fromTo(L.current.position,{x:0,y:0,z:0},{x:-.4,y:0,z:.7}),d.Ay.fromTo(L.current.scale,{x:1,y:1,z:1},{x:1.25,y:1.25,z:1.25}),g(null==_?void 0:_.measurementTitle)}}else g(null)}),[W]),(0,l.L)((function(){if(!(window.innerWidth<440)){if(!f&&!q)return d.Ay.to(D.current.scale,{x:1,y:1,z:1}),d.Ay.to(D.current.position,{x:1,y:0,z:-1}),void D.current.traverse((function(e){"Mesh"===e.type&&(e.material.transparent=!0,d.Ay.to(e.material,{opacity:1}))}));if(!f&&q)return B.current.traverse((function(e){"Mesh"===e.type&&(e.material.transparent=!0,d.Ay.to(e.material,{opacity:1}))})),void w.current.traverse((function(e){"Mesh"===e.type&&(e.material.transparent=!0,d.Ay.to(e.material,{opacity:1}))}));if(q)switch(f.name){case"Power_to_heat":te(w);break;case"Windkraft":te(B)}if(j)switch(d.Ay.to(D.current.scale,{x:1.5,y:1.5,z:1.5}),Y(),f.name){case"Power_to_heat":d.Ay.to(D.current.position,{x:-2,y:0,z:-6}),te(w);break;case"Windkraft":d.Ay.to(D.current.position,{x:3,y:0,z:3}),te(B);break;case"Freifläche_PV":d.Ay.to(D.current.position,{x:4,y:0,z:-1}),te(T);break;case"Energiespeicher":d.Ay.to(D.current.position,{x:-2,y:0,z:1}),te(P);break;case"Hauptgebäude_Aufdach_PV":d.Ay.to(D.current.position,{x:-1,y:0,z:-2}
2),te(R);break;case"Netzeinspeisung":d.Ay.to(D.current.position,{x:0,y:0,z:10}),te(I);break;case"Power_to_X":d.Ay.to(D.current.position,{x:-5,y:0,z:-1}),te(M);break;case"Wartung":d.Ay.to(D.current.position,{x:2,y:0,z:5}),te(N);break;case"Diagramm":d.Ay.to(D.current.position,{x:-2,y:0,z:5}),te(L);break;case"Temp":d.Ay.to(D.current.position,{x:-1,y:0,z:5}),te(O)}}}),[f]);var Y=function(){if(q&&W)return d.Ay.to(w.current.position,{x:0,y:0,z:-4}),d.Ay.to(B.current.position,{x:4.2,y:0,z:2.7}),d.Ay.to(W.scale,{x:1.5,y:1.5,z:1.5}),void H(null);j&&W&&(d.Ay.to(W.position,{x:0,y:0,z:0}),d.Ay.to(W.scale,{x:1,y:1,z:1}),H(null))},$=function(e){!q||"Power_to_heat"!==e.name&&"Windkraft"!==e.name?j&&H(e):H(e)},Q=function(e,r){n||(p(!0),window.innerWidth<440&&j||(j&&(m(r),t(e)),q&&(1!==e&&2!==e||(m(r),t(e))),setTimeout((function(){p(!1)}),450)))},Z=function(){c.u.create({trigger:"#hero",start:"top top",end:"bottom center",scrub:!0,preventOverlaps:!0,onUpdate:function(e){var t=window.innerWidth<=440?2:1.5,n=window.innerWidth<=440?1:1.2,r=(0,h.my)(e.progress,0,1,t,n);z(r),window.innerWidth<=440?(D.current.position.x=(0,h.my)(e.progress,0,1,2,0),D.current.position.z=(0,h.my)(e.progress,0,1,2,0)):D.current.position.x=(0,h.my)(e.progress,0,1,1,0)}}),c.u.create({trigger:"#hero",start:"bottom center",end:"bottom top",scrub:!0,preventOverlaps:!0,onUpdate:function(e){if(!(e.progress<.5||window.innerWidth<=440)){D.current.position.z=(0,h.my)(e.progress,.5,1,0,-1),D.current.position.x=(0,h.my)(e.progress,.5,1,0,1);var t=(0,h.my)(e.progress,.5,1,1.2,1);z(t)}}})},ee=function(){c.u.create({trigger:"#projektierung",start:"center center",end:"bottom top",scrub:!0,preventOverlaps:!0,onEnter:function(){X(!1)},onLeaveBack:function(){X(!0)},onEnterBack:function(){J(!1)},onLeave:function(){J(!0)},onUpdate:function(e){if(window.innerWidth>440)D.current.position.z=(0,h.my)(e.progress,0,1,-1,0),D.current.position.x=(0,h.my)(e.progress,0,1,1,0),S.current.position.z=(0,h.my)(e.progress,0,1,0,-1),S.current.position.x=(0,h.my)(e.progress,0,1,0,1),x.current.position.z=(0,h.my)(e.progress,0,1,0,-1),x.current.position.x=(0,h.my)(e.progress,0,1,0,1);else{var t=(0,h.my)(e.progress,0,1,1,2);z(t)}S.current.position.y=(0,h.my)(e.progress,0,1,0,2);(0,h.my)(e.progress,0,1,0,1);var n=(0,h.my)(e.progress,0,1,1,1.5);B.current.position.x=(0,h.my)(e.progress,0,1,0,4.2),B.current.position.z=(0,h.my)(e.progress,0,1,0,2.7),w.current.position.x=(0,h.my)(e.progress,0,1,0,0),w.current.position.z=(0,h.my)(e.progress,0,1,0,-4),w.current.scale.x=n,w.current.scale.y=n,w.current.scale.z=n,B.current.scale.x=n,B.current.scale.y=n,B.current.scale.z=n,S.current.traverse((function(t){"Mesh"===t.type&&(t.material.transparent=!0,t.material.opacity=(0,h.my)(e.progress,0,1,1,0))})),x.current.traverse((function(t){"Mesh"===t.type&&(t.material.transparent=!0,t.material.opacity=(0,h.my)(e.progress,0,1,1,0))}))}})},te=function(e){q?"Power_to_heat"===e.current.name?B.current.traverse((function(e){"Mesh"===e.type&&(e.material.transparent=!0,d.Ay.to(e.material,{opacity:.3}))})):w.current.traverse((function(e){"Mesh"===e.type&&(e.material.transparent=!0,d.Ay.to(e.material,{opacity:.3}))})):(D.current.traverse((function(e){"Mesh"===e.type&&(e.material.transparent=!0,d.Ay.to(e.material,{opacity:.3}))})),e.current.traverse((function(e){"Mesh"===e.type&&(e.material.transparent=!0,d.Ay.to(e.material,{opacity:1}))})))};return r.createElement(o.r,{depth:!0,scale:Math.min(F.width*U,1.5*F.height*U)},r.createElement(u.o,null,r.createElement("group",{ref:D,dispose:null},r.createElement("group",{name:"Scene"},r.createElement("group",{name:"Linien",ref:x},r.createElement("group",{position:[-.138,.019,-1.761]},r.createElement("mesh",{name:"Ebene1",geometry:y.Ebene1.geometry,material:E.BLAU_Linien,position:[.141,.001,-.031]}),r.createElement("mesh",{name:"Ebene10",geometry:y.Ebene10.geometry,material:E.BLAU_Linien,position:[-1.227,.001,2.508],rotation:[0,-1.571,0]}),r.createElement("mesh",{name:"Ebene11",geometry:y.Ebene11.geometry,material:E.BLAU_Linien,position:[-1.227,.001,3.706],rotation:[0,-1.571,0]}),r.createElement("mesh",{name:"Ebene12",geometry:y.Ebene12.geometry,material:E.BLAU_Linien,position:[.554,.001,4.571]}),r.createElement("mesh",{name:"Ebene13",geometry:y.Ebene13.geometry,material:E.BLAU_Linien,position:[.554,.001,1.561]}),r.createElement("mesh",{name:"Ebene14",geometry:y.Ebene14.geometry,material:E.BLAU_Linien,position:[1.68,.001,2.728],rotation:[0,-1.571,0]}),r.createElement("mesh",{name:"Ebene2",geometry:y.Ebene2.geometry,material:E.BLAU_Linien,position:[.141,.001,-1.282],rotation:[0,-1.571,0]}),r.createElement("mesh",{name:"Ebene3",geometry:y.Ebene3.geometry,material:E.ROT_Linien,position:[.141,.001,-2.622]}),r.createElement("mesh",{name:"Ebene4",geometry:y.Ebene4.geometry,material:E.ROT_Linien,position:[-.25,.001,-2.976],rotation:[0,1.571,0]}),r.createElement("mesh",{name:"Ebene5",geometry:y.Ebene5.geometry,material:E.ROT_Linien,position:[-.64,.001,-3.218]}),r.createElement("mesh",{name:"Ebene6",geometry:y.Ebene6.geometry,material:E.ROT_Linien,position:[.484,.001,-2.976],rotation:[0,1.571,0]}),r.createElement("mesh",{name:"Ebene7",geometry:y.Ebene7.geometry,material:E.ROT_Linien,position:[.829,.001,-3.813]}),r.createElement("mesh",{name:"Ebene8",geometry:y.Ebene8.geometry,material:E.BLAU_Linien,position:[-.285,.001,.76]}),r.createElement("mesh",{name:"Ebene9",geometry:y.Ebene9.geometry,material:E.BLAU_Linien,position:[-1.035,.001,-.678],rotation:[0,1.571,0]}))),r.createElement("group",{name:"Power_to_heat",ref:w,onPointerOver:function(){return $(w.current)},onPointerOut:function(){return Y()},onPointerDown:function(){return Q(2,w.current)}},r.createElement("group",{position:[1.012,.225,4.083]},r.createElement("group",{name:"Power_to_heat_Baum_Gruppe",position:[.446,-.212,-.165]},r.createElement("group",{name:"Baum_2",position:[0,0,-.399],rotation:[.013,0,0]},r.createElement("mesh",{name:"Baum_2-BAUM_Power_to_heat",geometry:y["Baum_2-BAUM_Power_to_heat"].geometry,material:E.BAUM_Power_to_heat,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Baum_2-BAUM_Power_to_heat001",geometry:y["Baum_2-BAUM_Power_to_heat001"].geometry,material:E.BAUM_Power_to_heat}),r.createElement("mesh",{name:"Baum_2-BAUM_Power_to_heat002",geometry:y["Baum_2-BAUM_Power_to_heat002"].geometry,material:E.BAUM_Power_to_heat}),r.createElement("mesh",{name:"Baum_2-BAUMSTAMM_Power_to_heat",geometry:y["Baum_2-BAUMSTAMM_Power_to_heat"].geometry,material:E.BAUMSTAMM_Power_to_heat}),r.createElement("mesh",{name:"Baum_2-OUTLINE_WEISS_Power_to_heat",geometry:y["Baum_2-OUTLINE_WEISS_Power_to_heat"].geometry,material:E.OUTLINE_WEISS_Power_to_heat})),r.createElement("group",{name:"Baum_3",position:[0,0,-.133],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Baum_3-BAUM_Power_to_heat",geometry:y["Baum_3-BAUM_Power_to_heat"].geometry,material:E.BAUM_Power_to_heat,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Baum_3-BAUM_Power_to_heat001",geometry:y["Baum_3-BAUM_Power_to_heat001"].geometry,material:E.BAUM_Power_to_heat}),r.createElement("mesh",{name:"Baum_3-BAUMSTAMM_Power_to_heat",geometry:y["Baum_3-BAUMSTAMM_Power_to_heat"].geometry,material:E.BAUMSTAMM_Power_to_heat}),r.createElement("mesh",{name:"Baum_3-OUTLINE_WEISS_Power_to_heat",geometry:y["Baum_3-OUTLINE_WEISS_Power_to_heat"].geometry,material:E.OUTLINE_WEISS_Power_to_heat})),r.createElement("group",{name:"Baum_4",position:[0,0,.133],rotation:[.011,0,0]},r.createElement("mesh",{name:"Baum_4-BAUM_Power_to_heat",geometry:y["Baum_4-BAUM_Power_to_heat"].geometry,material:E.BAUM_Power_to_heat,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Baum_4-BAUM_Power_to_heat001",geometry:y["Baum_4-BAUM_Power_to_heat001"].geometry,material:E.BAUM_Power_to_heat}),r.createElement("mesh",{name:"Baum_4-BAUMSTAMM_Power_to_heat",geometry:y["Baum_4-BAUMSTAMM_Power_to_heat"].geometry,material:E.BAUMSTAMM_Power_to_heat}),r.createElement("mesh",{name:"Baum_4-OUTLINE_WEISS_Power_to_heat",geometry:y["Baum_4-OUTLINE_WEISS_Power_to_heat"].geometry,material:E.OUTLINE_WEISS_Power_to_heat})),r.createElement("group",{name:"Baum_5",position:[0,0,.399],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Baum_5-BAUM_Power_to_heat",geometry:y["Baum_5-BAUM_Power_to_heat"].geometry,material:E.BAUM_Power_to_heat,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Baum_5-BAUM_Power_to_heat001",geometry:y["Baum_5-BAUM_Power_to_heat001"].geometry,material:E.BAUM_Power_to_heat}),r.createElement("mesh",{name:"Baum_5-BAUM_Power_to_heat002",geometry:y["Baum_5-BAUM_Power_to_heat002"].geometry,material:E.BAUM_Power_to_heat}),r.createElement("mesh",{name:"Baum_5-BAUMSTAMM_Power_to_heat",geometry:y["Baum_5-BAUMSTAMM_Power_to_heat"].geometry,material:E.BAUMSTAMM_Power_to_heat}),r.createElement("mesh",{name:"Baum_5-OUTLINE_WEISS_Power_to_heat",geometry:y["Baum_5-OUTLINE_WEISS_Power_to_heat"].geometry,material:E.OUTLINE_WEISS_Power_to_heat}))),r.createElement("group",{name:"Power_to_heat_Haus",position:[-.364,.036,-.153]},r.createElement("group",{name:"Power_to_heat_Zylinder_1",position:[-.02,-.077,.292]},r.createElement("mesh",{name:"Power_to_heat_Zylinder_1-SPEICHER_Power_to_heat",geometry:y["Power_to_heat_Zylinder_1-SPEICHER_Power_to_heat"].geometry,material:E.SPEICHER_Power_to_heat}),r.createElement("mesh",{name:"Power_to_heat_Zylinder_1-WEISS_Power_to_heat",geometry:y["Power_to_heat_Zylinder_1-WEISS_Power_to_heat"].geometry,material:E.WEISS_Power_to_heat})),r.createElement("group",{name:"Power_to_heat_Zylinder_2",position:[.314,-.077,.292]},r.createElement("mesh",{name:"Power_to_heat_Zylinder_2-SPEICHER_Power_to_heat",geometry:y["Power_to_heat_Zylinder_2-SPEICHER_Power_to_heat"].geometry,material:E.SPEICHER_Power_to_heat}),r.createElement("mesh",{name:"Power_to_heat_Zylinder_2-WEISS_Power_to_heat",geometry:y["Power_to_heat_Zylinder_2-WEISS_Power_to_heat"].geometry,material:E.WEISS_Power_to_heat})),r.createElement("mesh",{name:"Power_to_heat_Haus-SCHATTEN_GRAU_Power_to_heat",geometry:y["Power_to_heat_Haus-SCHATTEN_GRAU_Power_to_heat"].geometry,material:E.SCHATTEN_GRAU_Power_to_heat}),r.createElement("mesh",{name:"Power_to_heat_Haus-WEISS_Power_to_heat",geometry:y["Power_to_heat_Haus-WEISS_Power_to_heat"].geometry,material:E.WEISS_Power_to_heat})),r.createElement("group",{name:"Power_to_heat_Signs",position:[-1.012,.471,-4.083]},r.createElement("mesh",{name:"Power_to_heat_Signs-ROT_Power_to_heat",geometry:y["Power_to_heat_Signs-ROT_Power_to_heat"].geometry,material:E.ROT_Power_to_heat}),r.createElement("mesh",{name:"Power_to_heat_Signs-WEISS_Power_to_heat",geometry:y["Power_to_heat_Signs-WEISS_Power_to_heat"].geometry,material:E.WEISS_Power_to_heat})),r.createElement("group",{name:"Power_to_heat_Speicher",position:[.3
262,-.114,.588]},r.createElement("mesh",{name:"Power_to_heat_Speicher-ROT_Power_to_heat",geometry:y["Power_to_heat_Speicher-ROT_Power_to_heat"].geometry,material:E.ROT_Power_to_heat}),r.createElement("mesh",{name:"Power_to_heat_Speicher-WEISS_Power_to_heat",geometry:y["Power_to_heat_Speicher-WEISS_Power_to_heat"].geometry,material:E.WEISS_Power_to_heat})),r.createElement("mesh",{name:"Power_to_heat_Boden",geometry:y.Power_to_heat_Boden.geometry,material:E.BODEN_GRAU_Power_to_heat,position:[-.235,-.189,.02]}))),r.createElement("group",{name:"Windkraft",ref:B,onPointerOver:function(){return $(B.current)},onPointerOut:function(){return Y()},onPointerDown:function(){return Q(1,B.current)}},r.createElement("group",{position:[-3.162,0,-3.122]},r.createElement("group",{name:"Windenergie_Baum_1",position:[-.045,.019,-.529],rotation:[.017,0,0]},r.createElement("mesh",{name:"Windenergie_Baum_1-BAUM_Windenergie",geometry:y["Windenergie_Baum_1-BAUM_Windenergie"].geometry,material:E.BAUM_Windenergie,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Windenergie_Baum_1-BAUM_Windenergie001",geometry:y["Windenergie_Baum_1-BAUM_Windenergie001"].geometry,material:E.BAUM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_1-BAUM_Windenergie002",geometry:y["Windenergie_Baum_1-BAUM_Windenergie002"].geometry,material:E.BAUM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_1-BAUMSTAMM_Windenergie",geometry:y["Windenergie_Baum_1-BAUMSTAMM_Windenergie"].geometry,material:E.BAUMSTAMM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_1-OUTLINE_WEISS_Windenergie",geometry:y["Windenergie_Baum_1-OUTLINE_WEISS_Windenergie"].geometry,material:E.OUTLINE_WEISS_Windenergie})),r.createElement("group",{name:"Windenergie_Baum_2",position:[-.573,.018,-.237],rotation:[.013,0,0]},r.createElement("mesh",{name:"Windenergie_Baum_2-BAUM_Windenergie",geometry:y["Windenergie_Baum_2-BAUM_Windenergie"].geometry,material:E.BAUM_Windenergie,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Windenergie_Baum_2-BAUM_Windenergie001",geometry:y["Windenergie_Baum_2-BAUM_Windenergie001"].geometry,material:E.BAUM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_2-BAUM_Windenergie002",geometry:y["Windenergie_Baum_2-BAUM_Windenergie002"].geometry,material:E.BAUM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_2-BAUMSTAMM_Windenergie",geometry:y["Windenergie_Baum_2-BAUMSTAMM_Windenergie"].geometry,material:E.BAUMSTAMM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_2-OUTLINE_WEISS_Windenergie",geometry:y["Windenergie_Baum_2-OUTLINE_WEISS_Windenergie"].geometry,material:E.OUTLINE_WEISS_Windenergie})),r.createElement("group",{name:"Windenergie_Baum_3",position:[-.532,.046,-.812],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Windenergie_Baum_3-BAUM_Windenergie",geometry:y["Windenergie_Baum_3-BAUM_Windenergie"].geometry,material:E.BAUM_Windenergie,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Windenergie_Baum_3-BAUM_Windenergie001",geometry:y["Windenergie_Baum_3-BAUM_Windenergie001"].geometry,material:E.BAUM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_3-BAUMSTAMM_Windenergie",geometry:y["Windenergie_Baum_3-BAUMSTAMM_Windenergie"].geometry,material:E.BAUMSTAMM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_3-OUTLINE_WEISS_Windenergie",geometry:y["Windenergie_Baum_3-OUTLINE_WEISS_Windenergie"].geometry,material:E.OUTLINE_WEISS_Windenergie})),r.createElement("group",{name:"Windenergie_Baum_4",position:[-.229,.055,-.257],rotation:[.011,0,0]},r.createElement("mesh",{name:"Windenergie_Baum_4-BAUM_Windenergie",geometry:y["Windenergie_Baum_4-BAUM_Windenergie"].geometry,material:E.BAUM_Windenergie,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Windenergie_Baum_4-BAUM_Windenergie001",geometry:y["Windenergie_Baum_4-BAUM_Windenergie001"].geometry,material:E.BAUM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_4-BAUMSTAMM_Windenergie",geometry:y["Windenergie_Baum_4-BAUMSTAMM_Windenergie"].geometry,material:E.BAUMSTAMM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_4-OUTLINE_WEISS_Windenergie",geometry:y["Windenergie_Baum_4-OUTLINE_WEISS_Windenergie"].geometry,material:E.OUTLINE_WEISS_Windenergie})),r.createElement("group",{name:"Windenergie_Baum_5",position:[-.07,.036,-.892],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Windenergie_Baum_5-BAUM_Windenergie",geometry:y["Windenergie_Baum_5-BAUM_Windenergie"].geometry,material:E.BAUM_Windenergie,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Windenergie_Baum_5-BAUM_Windenergie001",geometry:y["Windenergie_Baum_5-BAUM_Windenergie001"].geometry,material:E.BAUM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_5-BAUM_Windenergie002",geometry:y["Windenergie_Baum_5-BAUM_Windenergie002"].geometry,material:E.BAUM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_5-BAUMSTAMM_Windenergie",geometry:y["Windenergie_Baum_5-BAUMSTAMM_Windenergie"].geometry,material:E.BAUMSTAMM_Windenergie}),r.createElement("mesh",{name:"Windenergie_Baum_5-OUTLINE_WEISS_Windenergie",geometry:y["Windenergie_Baum_5-OUTLINE_WEISS_Windenergie"].geometry,material:E.OUTLINE_WEISS_Windenergie})),r.createElement("group",{name:"Windkraftwerk_1",position:[1.041,.083,.76],rotation:[0,.275,0]},r.createElement("group",{name:"Windenergie_Turm_3",position:[0,.409,0]},r.createElement("mesh",{name:"Windenergie_Turm_3-ROT_Windenergie",geometry:y["Windenergie_Turm_3-ROT_Windenergie"].geometry,material:E.ROT_Windenergie}),r.createElement("mesh",{name:"Windenergie_Turm_3-WEISS_Windenergie",geometry:y["Windenergie_Turm_3-WEISS_Windenergie"].geometry,material:E.WEISS_Windenergie})),r.createElement("mesh",{name:"Windenergie_Rotoren_3",geometry:y.Windenergie_Rotoren_3.geometry,material:E.WEISS_Windenergie,position:[0,.841,.096]},r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_3",geometry:y.Windenergie_Rotoren_Outline_3.geometry,material:E.ROT_Windenergie,position:[2.851,-.873,3.077]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_a_3",geometry:y.Windenergie_Rotoren_Outline_a_3.geometry,material:E.ROT_Windenergie,position:[0,0,.044]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_b_3",geometry:y.Windenergie_Rotoren_Outline_b_3.geometry,material:E.ROT_Windenergie,position:[0,0,.021]})),r.createElement("mesh",{name:"Windenergie_Kanzel_3",geometry:y.Windenergie_Kanzel_3.geometry,material:E.WEISS_Windenergie,position:[0,.842,-.011]}),r.createElement("mesh",{name:"Windenergie_KanzelOutline_Cube_3",geometry:y.Windenergie_KanzelOutline_Cube_3.geometry,material:E.ROT_Windenergie,position:[0,.842,-.011]}),r.createElement("mesh",{name:"Windenergie_Turm_Outline_3",geometry:y.Windenergie_Turm_Outline_3.geometry,material:E.ROT_Windenergie,position:[2.851,-.032,3.169]})),r.createElement("group",{name:"Windkraftwerk_2",position:[.002,.083,.578],rotation:[0,.4,0]},r.createElement("group",{name:"Windenergie_Turm_3001",position:[0,.409,0]},r.createElement("mesh",{name:"Windenergie_Turm_3-ROT_Windenergie001",geometry:y["Windenergie_Turm_3-ROT_Windenergie001"].geometry,material:E.ROT_Windenergie}),r.createElement("mesh",{name:"Windenergie_Turm_3-WEISS_Windenergie001",geometry:y["Windenergie_Turm_3-WEISS_Windenergie001"].geometry,material:E.WEISS_Windenergie})),r.createElement("mesh",{name:"Windenergie_Rotoren_3001",geometry:y.Windenergie_Rotoren_3001.geometry,material:E.WEISS_Windenergie,position:[0,.841,.096]},r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_3001",geometry:y.Windenergie_Rotoren_Outline_3001.geometry,material:E.ROT_Windenergie,position:[2.851,-.873,3.077]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_a_3001",geometry:y.Windenergie_Rotoren_Outline_a_3001.geometry,material:E.ROT_Windenergie,position:[0,0,.044]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_b_3001",geometry:y.Windenergie_Rotoren_Outline_b_3001.geometry,material:E.ROT_Windenergie,position:[0,0,.021]})),r.createElement("mesh",{name:"Windenergie_Kanzel_3001",geometry:y.Windenergie_Kanzel_3001.geometry,material:E.WEISS_Windenergie,position:[0,.842,-.011]}),r.createElement("mesh",{name:"Windenergie_KanzelOutline_Cube_3001",geometry:y.Windenergie_KanzelOutline_Cube_3001.geometry,material:E.ROT_Windenergie,position:[0,.842,-.011]}),r.createElement("mesh",{name:"Windenergie_Turm_Outline_3001",geometry:y.Windenergie_Turm_Outline_3001.geometry,material:E.ROT_Windenergie,position:[2.851,-.032,3.169]})),r.createElement("group",{name:"Windkraftwerk_3",position:[.669,.122,-.646],rotation:[0,.275,0]},r.createElement("group",{name:"Windenergie_Turm_3002",position:[0,.409,0]},r.createElement("mesh",{name:"Windenergie_Turm_3-ROT_Windenergie002",geometry:y["Windenergie_Turm_3-ROT_Windenergie002"].geometry,material:E.ROT_Windenergie}),r.createElement("mesh",{name:"Windenergie_Turm_3-WEISS_Windenergie002",geometry:y["Windenergie_Turm_3-WEISS_Windenergie002"].geometry,material:E.WEISS_Windenergie})),r.createElement("mesh",{name:"Windenergie_Rotoren_3002",geometry:y.Windenergie_Rotoren_3002.geometry,material:E.WEISS_Windenergie,position:[0,.841,.096]},r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_3002",geometry:y.Windenergie_Rotoren_Outline_3002.geometry,material:E.ROT_Windenergie,position:[2.851,-.873,3.077]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_a_3002",geometry:y.Windenergie_Rotoren_Outline_a_3002.geometry,material:E.ROT_Windenergie,position:[0,0,.044]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_b_3002",geometry:y.Windenergie_Rotoren_Outline_b_3002.geometry,material:E.ROT_Windenergie,position:[0,0,.021]})),r.createElement("mesh",{name:"Windenergie_Kanzel_3002",geometry:y.Windenergie_Kanzel_3002.geometry,material:E.WEISS_Windenergie,position:[0,.842,-.011]}),r.createElement("mesh",{name:"Windenergie_KanzelOutline_Cube_3002",geometry:y.Windenergie_KanzelOutline_Cube_3002.geometry,material:E.ROT_Windenergie,position:[0,.842,-.011]}),r.createElement("mesh",{name:"Windenergie_Turm_Outline_3002",geometry:y.Windenergie_Turm_Outline_3002.geometry,material:E.ROT_Windenergie,position:[2.851,-.032,3.169]})),r.createElement("mesh",{name:"Windenergie_Land_1",geometry:y.Windenergie_Land_1.geometry,material:E.LAND_3_Windenergie,position:[.212,.02,-.139]}),r.createElement("mesh",{name:"Windenergie_Land_2",geometry:y.Windenergie_Land_2.geometry,material:E.LAND_2_Windenergie,position:[.212,.04,-.139]}),r.createElement("mesh",{name:"Windenergie_Land_3",geometry:y.Windenergie_Land_3.geometry,material:E.LAND_1_Windenergie,position:[.212,.08,-.139]}))),r.createElement("group",{name:"Fade",ref:S},r.createElement("group",{name:"Freifläche_PV",ref:T,onPointerOver:function(e){return $(T.current)},onPointerOut:function(){return Y()},onPointerDown:function(){return Q(0,T.current)}},r.createElement("group",{position:[-3.125,0,.064]},r.createElement("group",{name:"Freifläche_PV_Baum_1",position:[.078,.013,.81],rotation:[.017,0,0]},r.createElement("mesh",{name:"Freifläche_PV_Baum_1-BAUM_Freifläche_PV",geometry:y["Freifläche_PV_Baum_1-BAUM_Freifläche_PV"].geometry,material:E.BAUM_Freifläche_PV,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Freifläche_PV_Baum_1-BAUM_Freifläche_PV001",geometry:y["Freifläche_PV_Baum_1-BAUM_Freifläche_PV001"].geometry,material:E.BAUM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_1-BAUM_Freifläche_PV002",geometry:y["Freifläche_PV_Baum_1-BAUM_Freifläche_PV002"].geometry,material:E.BAUM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_1-BAUMSTAMM_Freifläche_PV",geometry:y["Freifläche_PV_Baum_1-BAUMSTAMM_Freifläche_PV"].geometry,material:E.BAUMSTAMM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_1-OUTLINE_WEISS_Freifläche_PV",geometry:y["Freifläche_PV_Baum_1-OUTLINE_WEISS_Freifläche_PV"].geometry,material:E.OUTLINE_WEISS_Freifläche_PV})),r.createElement("group",{name:"Freifläche_PV_Baum_2",position:[-.544,.051,-.381],rotation:[.013,0,0]},r.createElement("mesh",{name:"Freifläche_PV_Baum_2-BAUM_Freifläche_PV",geometry:y["Freifläche_PV_Baum_2-BAUM_Freifläche_PV"].geometry,material:E.BAUM_Freifläche_PV,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Freifläche_PV_Baum_2-BAUM_Freifläche_PV001",geometry:y["Freifläche_PV_Baum_2-BAUM_Freifläche_PV001"].geometry,material:E.BAUM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_2-BAUM_Freifläche_PV002",geometry:y["Freifläche_PV_Baum_2-BAUM_Freifläche_PV002"].geometry,material:E.BAUM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_2-BAUMSTAMM_Freifläche_PV",geometry:y["Freifläche_PV_Baum_2-BAUMSTAMM_Freifläche_PV"].geometry,material:E.BAUMSTAMM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_2-OUTLINE_WEISS_Freifläche_PV",geometry:y["Freifläche_PV_Baum_2-OUTLINE_WEISS_Freifläche_PV"].geometry,material:E.OUTLINE_WEISS_Freifläche_PV})),r.createElement("group",{name:"Freifläche_PV_Baum_3",position:[-.451,.053,-.812],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Freifläche_PV_Baum_3-BAUM_Freifläche_PV",geometry:y["Freifläche_PV_Baum_3-BAUM_Freifläche_PV"].geometry,material:E.BAUM_Freifläche_PV,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Freifläche_PV_Baum_3-BAUM_Freifläche_PV001",geometry:y["Freifläche_PV_Baum_3-BAUM_Freifläche_PV001"].geometry,material:E.BAUM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_3-BAUMSTAMM_Freifläche_PV",geometry:y["Freifläche_PV_Baum_3-BAUMSTAMM_Freifläche_PV"].geometry,material:E.BAUMSTAMM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_3-OUTLINE_WEISS_Freifläche_PV",geometry:y["Freifläche_PV_Baum_3-OUTLINE_WEISS_Freifläche_PV"].geometry,material:E.OUTLINE_WEISS_Freifläche_PV})),r.createElement("group",{name:"Freifläche_PV_Baum_4",position:[-.473,.044,.528],rotation:[.011,0,0]},r.createElement("mesh",{name:"Freifläche_PV_Baum_4-BAUM_Freifläche_PV",geometry:y["Freifläche_PV_Baum_4-BAUM_Freifläche_PV"].geometry,material:E.BAUM_Freifläche_PV,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Freifläche_PV_Baum_4-BAUM_Freifläche_PV001",geometry:y["Freifläche_PV_Baum_4-BAUM_Freifläche_PV001"].geometry,material:E.BAUM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_4-BAUMSTAMM_Freifläche_PV",geometry:y["Freifläche_PV_Baum_4-BAUMSTAMM_Freifläche_PV"].geometry,material:E.BAUMSTAMM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_4-OUTLINE_WEISS_Freifläche_PV",geometry:y["Freifläche_PV_Baum_4-OUTLINE_WEISS_Freifläche_PV"].geometry,material:E.OUTLINE_WEISS_Freifläche_PV})),r.createElement("group",{name:"Freifläche_PV_Baum_5",position:[1.004,-.026,.719],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Freifläche_PV_Baum_5-BAUM_Freifläche_PV",geometry:y["Freifläche_PV_Baum_5-BAUM_Freifläche_PV"].geometry,material:E.BAUM_Freifläche_PV,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Freifläche_PV_Baum_5-BAUM_Freifläche_PV001",geometry:y["Freifläche_PV_Baum_5-BAUM_Freifläche_PV001"].geometry,material:E.BAUM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_5-BAUM_Freifläche_PV002",geometry:y["Freifläche_PV_Baum_5-BAUM_Freifläche_PV002"].geometry,material:E.BAUM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_5-BAUMSTAMM_Freifläche_PV",geometry:y["Freifläche_PV_Baum_5-BAUMSTAMM_Freifläche_PV"].geometry,material:E.BAUMSTAMM_Freifläche_PV}),r.createElement("mesh",{name:"Freifläche_PV_Baum_5-OUTLINE_WEISS_Freifläche_PV",geometry:y["Freifläche_PV_Baum_5-OUTLINE_WEISS_Freifläche_PV"].geometry,material:E.OUTLINE_WEISS_Freifläche_PV})),r.createElement("group",{name:"PV_Anlage",position:[.295,.081,-.199]},r.createElement("mesh",{name:"PV_Anlage-ROT_Freifläche_PV",geometry:y["PV_Anlage-ROT_Freifläche_PV"].geometry,material:E.ROT_Freifläche_PV}),r.createElement("mesh",{name:"PV_Anlage-WEISS_Freifläche_PV",geometry:y["PV_Anlage-WEISS_Freifläche_PV"].geometry,material:E.WEISS_Freifläche_PV})),r.createElement("mesh",{name:"Freifläche_PV_Land_1",geometry:y.Freifläche_PV_Land_1.geometry,material:E.LAND_3_Freifläche_PV,position:[.212,.02,-.139]}),r.createElement("mesh",{name:"Freifläche_PV_Land_2",geometry:y.Freifläche_PV_Land_2.geometry,material:E.LAND_2_Freifläche_PV,position:[.212,.04,-.139]}),r.createElement("mesh",{name:"Freif
2läche_PV_Land_3",geometry:y.Freifläche_PV_Land_3.geometry,material:E.LAND_1_Freifläche_PV,position:[.212,.08,-.139]})),r.createElement("group",{position:[-3.096,0,2.738]},r.createElement("group",{name:"Floating_PV_Baum_1",position:[-.169,.043,.718],rotation:[.017,0,0]},r.createElement("mesh",{name:"Floating_PV_Baum_1-BAUM_MAT_Floating_PV",geometry:y["Floating_PV_Baum_1-BAUM_MAT_Floating_PV"].geometry,material:E.BAUM_MAT_Floating_PV,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Floating_PV_Baum_1-BAUM_MAT_Floating_PV001",geometry:y["Floating_PV_Baum_1-BAUM_MAT_Floating_PV001"].geometry,material:E.BAUM_MAT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_1-BAUM_MAT_Floating_PV002",geometry:y["Floating_PV_Baum_1-BAUM_MAT_Floating_PV002"].geometry,material:E.BAUM_MAT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_1-BAUMSTAMM_Floating_PV",geometry:y["Floating_PV_Baum_1-BAUMSTAMM_Floating_PV"].geometry,material:E.BAUMSTAMM_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_1-OUTLINE_WEISS_Floating_PV",geometry:y["Floating_PV_Baum_1-OUTLINE_WEISS_Floating_PV"].geometry,material:E.OUTLINE_WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Baum_2",position:[-.387,.043,.362],rotation:[.013,0,0]},r.createElement("mesh",{name:"Floating_PV_Baum_2-BAUM_MAT_Floating_PV",geometry:y["Floating_PV_Baum_2-BAUM_MAT_Floating_PV"].geometry,material:E.BAUM_MAT_Floating_PV,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Floating_PV_Baum_2-BAUM_MAT_Floating_PV001",geometry:y["Floating_PV_Baum_2-BAUM_MAT_Floating_PV001"].geometry,material:E.BAUM_MAT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_2-BAUM_MAT_Floating_PV002",geometry:y["Floating_PV_Baum_2-BAUM_MAT_Floating_PV002"].geometry,material:E.BAUM_MAT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_2-BAUMSTAMM_Floating_PV",geometry:y["Floating_PV_Baum_2-BAUMSTAMM_Floating_PV"].geometry,material:E.BAUMSTAMM_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_2-OUTLINE_WEISS_Floating_PV",geometry:y["Floating_PV_Baum_2-OUTLINE_WEISS_Floating_PV"].geometry,material:E.OUTLINE_WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Baum_3",position:[-.246,.043,.123],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Floating_PV_Baum_3-BAUM_MAT_Floating_PV",geometry:y["Floating_PV_Baum_3-BAUM_MAT_Floating_PV"].geometry,material:E.BAUM_MAT_Floating_PV,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Floating_PV_Baum_3-BAUM_MAT_Floating_PV001",geometry:y["Floating_PV_Baum_3-BAUM_MAT_Floating_PV001"].geometry,material:E.BAUM_MAT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_3-BAUMSTAMM_Floating_PV",geometry:y["Floating_PV_Baum_3-BAUMSTAMM_Floating_PV"].geometry,material:E.BAUMSTAMM_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_3-OUTLINE_WEISS_Floating_PV",geometry:y["Floating_PV_Baum_3-OUTLINE_WEISS_Floating_PV"].geometry,material:E.OUTLINE_WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Baum_4",position:[-.446,.043,-.328],rotation:[.011,0,0]},r.createElement("mesh",{name:"Floating_PV_Baum_4-BAUM_MAT_Floating_PV",geometry:y["Floating_PV_Baum_4-BAUM_MAT_Floating_PV"].geometry,material:E.BAUM_MAT_Floating_PV,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Floating_PV_Baum_4-BAUM_MAT_Floating_PV001",geometry:y["Floating_PV_Baum_4-BAUM_MAT_Floating_PV001"].geometry,material:E.BAUM_MAT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_4-BAUMSTAMM_Floating_PV",geometry:y["Floating_PV_Baum_4-BAUMSTAMM_Floating_PV"].geometry,material:E.BAUMSTAMM_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_4-OUTLINE_WEISS_Floating_PV",geometry:y["Floating_PV_Baum_4-OUTLINE_WEISS_Floating_PV"].geometry,material:E.OUTLINE_WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Baum_5",position:[-.152,.043,-.321],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Floating_PV_Baum_5-BAUM_MAT_Floating_PV",geometry:y["Floating_PV_Baum_5-BAUM_MAT_Floating_PV"].geometry,material:E.BAUM_MAT_Floating_PV,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Floating_PV_Baum_5-BAUM_MAT_Floating_PV001",geometry:y["Floating_PV_Baum_5-BAUM_MAT_Floating_PV001"].geometry,material:E.BAUM_MAT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_5-BAUM_MAT_Floating_PV002",geometry:y["Floating_PV_Baum_5-BAUM_MAT_Floating_PV002"].geometry,material:E.BAUM_MAT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_5-BAUMSTAMM_Floating_PV",geometry:y["Floating_PV_Baum_5-BAUMSTAMM_Floating_PV"].geometry,material:E.BAUMSTAMM_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Baum_5-OUTLINE_WEISS_Floating_PV",geometry:y["Floating_PV_Baum_5-OUTLINE_WEISS_Floating_PV"].geometry,material:E.OUTLINE_WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Anlage",position:[.762,.04,-.139]},r.createElement("group",{name:"Floating_PV_Element_0Floating_PV_Element_0_(Kopie)",position:[-.15,0,.6]},r.createElement("mesh",{name:"Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-WEISS_Floati",geometry:y["Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-WEISS_Floati"].geometry,material:E.WEISS_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-ROT_Floating",geometry:y["Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-ROT_Floating"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-WEISS_Fl",geometry:y["Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-WEISS_Fl"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_10Floating_PV_Element_10_(Kopie)",position:[0,-.007,-.3]},r.createElement("mesh",{name:"Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-WEISS_Floa",geometry:y["Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-WEISS_Floa"].geometry,material:E.WEISS_Floating_PV,position:[0,-.007,0]}),r.createElement("mesh",{name:"Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-ROT_Floati",geometry:y["Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-ROT_Floati"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-WEISS_",geometry:y["Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-WEISS_"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_11Floating_PV_Element_11_(Kopie)",position:[.15,-.008,-.3]},r.createElement("mesh",{name:"Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-WEISS_Floa",geometry:y["Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-WEISS_Floa"].geometry,material:E.WEISS_Floating_PV,position:[0,-.008,0]}),r.createElement("mesh",{name:"Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-ROT_Floati",geometry:y["Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-ROT_Floati"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-WEISS_",geometry:y["Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-WEISS_"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_12Floating_PV_Element_12_(Kopie)",position:[-.15,-.008,-.6]},r.createElement("mesh",{name:"Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-WEISS_Floa",geometry:y["Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-WEISS_Floa"].geometry,material:E.WEISS_Floating_PV,position:[0,-.008,0]}),r.createElement("mesh",{name:"Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-ROT_Floati",geometry:y["Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-ROT_Floati"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-WEISS_",geometry:y["Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-WEISS_"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_13Floating_PV_Element_13_(Kopie)",position:[0,-.006,-.6]},r.createElement("mesh",{name:"Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-WEISS_Floa",geometry:y["Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-WEISS_Floa"].geometry,material:E.WEISS_Floating_PV,position:[0,-.006,0]}),r.createElement("mesh",{name:"Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-ROT_Floati",geometry:y["Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-ROT_Floati"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-WEISS_",geometry:y["Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-WEISS_"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_14Floating_PV_Element_14_(Kopie)",position:[.15,-.003,-.6]},r.createElement("mesh",{name:"Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-WEISS_Floa",geometry:y["Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-WEISS_Floa"].geometry,material:E.WEISS_Floating_PV,position:[0,-.003,0]}),r.createElement("mesh",{name:"Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-ROT_Floati",geometry:y["Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-ROT_Floati"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-WEISS_",geometry:y["Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-WEISS_"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_1Floating_PV_Element_1_(Kopie)",position:[0,.003,.6]},r.createElement("mesh",{name:"Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-WEISS_Floati",geometry:y["Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-WEISS_Floati"].geometry,material:E.WEISS_Floating_PV,position:[0,.003,0]}),r.createElement("mesh",{name:"Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-ROT_Floating",geometry:y["Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-ROT_Floating"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-WEISS_Fl",geometry:y["Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-WEISS_Fl"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_2Floating_PV_Element_2_(Kopie)",position:[.15,.006,.6]},r.createElement("mesh",{name:"Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-WEISS_Floati",geometry:y["Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-WEISS_Floati"].geometry,material:E.WEISS_Floating_PV,position:[0,.006,0]}),r.createElement("mesh",{name:"Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-ROT_Floating",geometry:y["Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-ROT_Floating"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-WEISS_Fl",geometry:y["Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-WEISS_Fl"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_3Floating_PV_Element_3_(Kopie)",position:[-.15,.008,.3]},r.createElement("mesh",{name:"Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-WEISS_Floati",geometry:y["Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-WEISS_Floati"].geometry,material:E.WEISS_Floating_PV,position:[0,.008,0]}),r.createElement("mesh",{name:"Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-ROT_Floating",geometry:y["Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-ROT_Floating"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-WEISS_Fl",geometry:y["Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-WEISS_Fl"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_4Floating_PV_Element_4_(Kopie)",position:[0,.008,.3]},r.createElement("mesh",{name:"Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-WEISS_Floati",geometry:y["Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-WEISS_Floati"].geometry,material:E.WEISS_Floating_PV,position:[0,.008,0]}),r.createElement("mesh",{name:"Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-ROT_Floating",geometry:y["Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-ROT_Floating"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-WEISS_Fl",geometry:y["Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-WEISS_Fl"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_5Floating_PV_Element_5_(Kopie)",position:[.15,.007,.3]},r.createElement("mesh",{name:"Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-WEISS_Floati",geometry:y["Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-WEISS_Floati"].geometry,material:E.WEISS_Floating_PV,position:[0,.007,0]}),r.createElement("mesh",{name:"Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-ROT_Floating",geometry:y["Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-ROT_Floating"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-WEISS_Fl",geometry:y["Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-WEISS_Fl"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_6Floating_PV_Element_6_(Kopie)",position:[-.15,.005,0]},r.createElement("mesh",{name:"Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-WEISS_Floati",geometry:y["Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-WEISS_Floati"].geometry,material:E.WEISS_Floating_PV,position:[0,.005,0]}),r.createElement("mesh",{name:"Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-ROT_Floating",geometry:y["Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-ROT_Floating"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-WEISS_Fl",geometry:y["Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-WEISS_Fl"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_7Floating_PV_Element_7_(Kopie)",position:[0,.002,0]},r.createElement("mesh",{name:"Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-WEISS_Floati",geometry:y["Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-WEISS_Floati"].geometry,material:E.WEISS_Floating_PV,position:[0,.002,0]}),r.createElement("mesh",{name:"Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-ROT_Floating",geometry:y["Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-ROT_Floating"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-WEISS_Fl",geometry:y["Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-WEISS_Fl"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_8Floating_PV_Element_8_(Kopie)",position:[.15,-.002,0]},r.createElement("mesh",{name:"Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-WEISS_Floati",geometry:y["Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-WEISS_Floati"].geometry,material:E.WEISS_Floating_PV,position:[0,-.002,0]}),r.createElement("mesh",{name:"Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-ROT_Floating",geometry:y["Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-ROT_Floating"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-WEISS_Fl",geometry:y["Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-WEISS_Fl"].geometry,material:E.WEISS_Floating_PV})),r.createElement("group",{name:"Floating_PV_Element_9Floating_PV_Element_9_(Kopie)",position:[-.15,-.005,-.3]},r.createElement("mesh",{name:"Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-WEISS_Floati",geometry:y["Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-WEISS_Floati"].geometry,material:E.WEISS_Floating_PV,position:[0,-.005,0]}),r.createElement("mesh",{name:"Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-ROT_Floating",geometry:y["Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-ROT_Floating"].geometry,material:E.ROT_Floating_PV}),r.createElement("mesh",{name:"Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-WEISS_Fl",geometry:y["Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-WEISS_Fl"].geometry,material:E.WEISS_Floating_PV}))),r.createElement("mesh",{name:"Floating_PV_Land",geometry:y.Floating_PV_Land.geometry,material:E.LAND_2_Floating_PV,position:[.212,.08,-.139]}),r.createElement("mesh",{na
2me:"Floating_PV_Ufer",geometry:y.Floating_PV_Ufer.geometry,material:E.UFER_MAT_Floating_PV,position:[.212,.04,-.139]}),r.createElement("mesh",{name:"Floating_PV_Wasser",geometry:y.Floating_PV_Wasser.geometry,material:E.WASSER_Floating_PV,position:[.212,.02,-.139]}))),r.createElement("group",{name:"Hauptgebäude_Aufdach_PV",ref:R,onPointerOver:function(){return $(R.current)},onPointerOut:function(){return Y()},onPointerDown:function(){return Q(0,R.current)}},r.createElement("group",{position:[.169,.154,1.654]},r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_Anlage",position:[-.09,.327,-.414]},r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Anlage-ROT_Hauptgebäude_Aufdach_PV",geometry:y["Hauptgebäude_Aufdach_PV_Anlage-ROT_Hauptgebäude_Aufdach_PV"].geometry,material:E.ROT_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Anlage-WEISS_Hauptgebäude_Aufdach_PV",geometry:y["Hauptgebäude_Aufdach_PV_Anlage-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Anlage001",geometry:y.Hauptgebäude_Aufdach_PV_Anlage001.geometry,material:y.Hauptgebäude_Aufdach_PV_Anlage001.material})),r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_Auto_2",position:[.146,-.01,.585],rotation:[0,1.571,0]},r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_Auto_Räder_2",rotation:[0,-1.571,0]},r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_Räder_2-ROT_Hauptgebäude_Aufdac",geometry:y["Hauptgebäude_Aufdach_PV_Auto_Räder_2-ROT_Hauptgebäude_Aufdac"].geometry,material:E.ROT_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_Räder_2-WEISS_Hauptgebäude_Aufd",geometry:y["Hauptgebäude_Aufdach_PV_Auto_Räder_2-WEISS_Hauptgebäude_Aufd"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV})),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_2-ROT_Hauptgebäude_Aufdach_PV",geometry:y["Hauptgebäude_Aufdach_PV_Auto_2-ROT_Hauptgebäude_Aufdach_PV"].geometry,material:E.ROT_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_2-WEISS_Hauptgebäude_Aufdach_PV",geometry:y["Hauptgebäude_Aufdach_PV_Auto_2-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV})),r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_Auto_21",position:[-.171,-.01,.585],rotation:[0,1.571,0]},r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_Auto_Räder_2001",rotation:[0,-1.571,0]},r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_Räder_2-ROT_Hauptgebäude_Au",geometry:y["Hauptgebäude_Aufdach_PV_Auto_Räder_2-ROT_Hauptgebäude_Au"].geometry,material:E.ROT_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_Räder_2-WEISS_Hauptgebäude_",geometry:y["Hauptgebäude_Aufdach_PV_Auto_Räder_2-WEISS_Hauptgebäude_"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV})),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_21-ROT_Hauptgebäude_Aufdach_PV",geometry:y["Hauptgebäude_Aufdach_PV_Auto_21-ROT_Hauptgebäude_Aufdach_PV"].geometry,material:E.ROT_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_21-WEISS_Hauptgebäude_Aufdach_P",geometry:y["Hauptgebäude_Aufdach_PV_Auto_21-WEISS_Hauptgebäude_Aufdach_P"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV})),r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_Haus",position:[-.236,.107,-.399]},r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_Haus_oben",position:[0,.092,0]},r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Haus_oben-SCHATTEN_GRAU_Hauptgebäude_",geometry:y["Hauptgebäude_Aufdach_PV_Haus_oben-SCHATTEN_GRAU_Hauptgebäude_"].geometry,material:E.SCHATTEN_GRAU_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Haus_oben-WEISS_Hauptgebäude_Aufdach_",geometry:y["Hauptgebäude_Aufdach_PV_Haus_oben-WEISS_Hauptgebäude_Aufdach_"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV})),r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_Haus_unten",position:[0,-.092,0]},r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Haus_unten-SCHATTEN_GRAU_Hauptgebäude",geometry:y["Hauptgebäude_Aufdach_PV_Haus_unten-SCHATTEN_GRAU_Hauptgebäude"].geometry,material:E.SCHATTEN_GRAU_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Haus_unten-WEISS_Hauptgebäude_Aufdach",geometry:y["Hauptgebäude_Aufdach_PV_Haus_unten-WEISS_Hauptgebäude_Aufdach"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV}))),r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_Ladestation",position:[-.272,.006,.291]},r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Ladestation-ROT_Hauptgebäude_Aufdach_",geometry:y["Hauptgebäude_Aufdach_PV_Ladestation-ROT_Hauptgebäude_Aufdach_"].geometry,material:E.ROT_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Ladestation-WEISS_Hauptgebäude_Aufdac",geometry:y["Hauptgebäude_Aufdach_PV_Ladestation-WEISS_Hauptgebäude_Aufdac"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV})),r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_Ladestation_Boden",position:[-.247,-.072,.291],rotation:[0,1.571,0]},r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Ladestation_Boden-ROT_Hauptgebäude_Au",geometry:y["Hauptgebäude_Aufdach_PV_Ladestation_Boden-ROT_Hauptgebäude_Au"].geometry,material:E.ROT_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Ladestation_Boden-WEISS_Hauptgebäude_",geometry:y["Hauptgebäude_Aufdach_PV_Ladestation_Boden-WEISS_Hauptgebäude_"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV})),r.createElement("group",{name:"Hauptgebäude_Aufdach_PV_LKW",position:[.503,.033,-.703]},r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-LKW_GLAS_Hauptgebäude_Aufdach_PV",geometry:y["Hauptgebäude_Aufdach_PV_LKW-LKW_GLAS_Hauptgebäude_Aufdach_PV"].geometry,material:E.LKW_GLAS_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV",geometry:y["Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV"].geometry,material:E.LKW_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV001",geometry:y["Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV001"].geometry,material:E.LKW_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV002",geometry:y["Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV002"].geometry,material:E.LKW_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-WEISS_Hauptgebäude_Aufdach_PV",geometry:y["Hauptgebäude_Aufdach_PV_LKW-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-WEISS_Hauptgebäude_Aufdach_PV001",geometry:y["Hauptgebäude_Aufdach_PV_LKW-WEISS_Hauptgebäude_Aufdach_PV001"].geometry,material:E.WEISS_Hauptgebäude_Aufdach_PV})),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Boden",geometry:y.Hauptgebäude_Aufdach_PV_Boden.geometry,material:E.BODEN_GRAU_Hauptgebäude_Aufdach_PV,position:[.003,-.117,-.237]}))),r.createElement("group",{name:"Netzeinspeisung",ref:I},r.createElement("group",{position:[-.636,.348,-6.016]},r.createElement("group",{name:"Netzeinspeisung_Baumgruppe",position:[0,-.332,-.097]},r.createElement("group",{name:"Netzeinspeisung_Baum_1_4",position:[-.705,0,0],rotation:[.017,0,0]}
2,r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung"].geometry,material:E.BAUM_Netzeinspeisung,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung001",geometry:y["Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung001"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung002",geometry:y["Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung002"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_4-BAUMSTAMM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_1_4-BAUMSTAMM_Netzeinspeisung"].geometry,material:E.BAUMSTAMM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_4-OUTLINE_WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_1_4-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:E.OUTLINE_WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Baum_1_9",position:[.705,0,-.82],rotation:[.017,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung"].geometry,material:E.BAUM_Netzeinspeisung,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung001",geometry:y["Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung001"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung002",geometry:y["Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung002"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_9-BAUMSTAMM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_1_9-BAUMSTAMM_Netzeinspeisung"].geometry,material:E.BAUMSTAMM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_9-OUTLINE_WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_1_9-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:E.OUTLINE_WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Baum_2_3",position:[.705,0,.41],rotation:[.013,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung"].geometry,material:E.BAUM_Netzeinspeisung,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung001",geometry:y["Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung001"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung002",geometry:y["Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung002"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_3-BAUMSTAMM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_2_3-BAUMSTAMM_Netzeinspeisung"].geometry,material:E.BAUMSTAMM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_3-OUTLINE_WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_2_3-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:E.OUTLINE_WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Baum_2_8",position:[-.705,0,-.82],rotation:[.013,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung"].geometry,material:E.BAUM_Netzeinspeisung,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung001",geometry:y["Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung001"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung002",geometry:y["Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung002"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_8-BAUMSTAMM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_2_8-BAUMSTAMM_Netzeinspeisung"].geometry,material:E.BAUMSTAMM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_8-OUTLINE_WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_2_8-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:E.OUTLINE_WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Baum_3_2",position:[-.705,0,.41],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_2-BAUM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_3_2-BAUM_Netzeinspeisung"].geometry,material:E.BAUM_Netzeinspeisung,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_2-BAUM_Netzeinspeisung001",geometry:y["Netzeinspeisung_Baum_3_2-BAUM_Netzeinspeisung001"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_2-BAUMSTAMM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_3_2-BAUMSTAMM_Netzeinspeisung"].geometry,material:E.BAUMSTAMM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_2-OUTLINE_WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_3_2-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:E.OUTLINE_WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Baum_3_7",position:[.705,0,-.41],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_7-BAUM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_3_7-BAUM_Netzeinspeisung"].geometry,material:E.BAUM_Netzeinspeisung,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_7-BAUM_Netzeinspeisung001",geometry:y["Netzeinspeisung_Baum_3_7-BAUM_Netzeinspeisung001"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_7-BAUMSTAMM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_3_7-BAUMSTAMM_Netzeinspeisung"].geometry,material:E.BAUMSTAMM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_7-OUTLINE_WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_3_7-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:E.OUTLINE_WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Baum_4_1",position:[.705,0,.82],rotation:[.011,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_1-BAUM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_4_1-BAUM_Netzeinspeisung"].geometry,material:E.BAUM_Netzeinspeisung,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_1-BAUM_Netzeinspeisung001",geometry:y["Netzeinspeisung_Baum_4_1-BAUM_Netzeinspeisung001"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_1-BAUMSTAMM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_4_1-BAUMSTAMM_Netzeinspeisung"].geometry,material:E.BAUMSTAMM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_1-OUTLINE_WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_4_1-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:E.OUTLINE_WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Baum_4_6",position:[-.705,0,-.41],rotation:[.011,0,0]}
2,r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_6-BAUM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_4_6-BAUM_Netzeinspeisung"].geometry,material:E.BAUM_Netzeinspeisung,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_6-BAUM_Netzeinspeisung001",geometry:y["Netzeinspeisung_Baum_4_6-BAUM_Netzeinspeisung001"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_6-BAUMSTAMM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_4_6-BAUMSTAMM_Netzeinspeisung"].geometry,material:E.BAUMSTAMM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_6-OUTLINE_WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_4_6-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:E.OUTLINE_WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Baum_5_0",position:[-.705,0,.82],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung"].geometry,material:E.BAUM_Netzeinspeisung,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung001",geometry:y["Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung001"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung002",geometry:y["Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung002"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_0-BAUMSTAMM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_5_0-BAUMSTAMM_Netzeinspeisung"].geometry,material:E.BAUMSTAMM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_0-OUTLINE_WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_5_0-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:E.OUTLINE_WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Baum_5_5",position:[.705,0,0],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung"].geometry,material:E.BAUM_Netzeinspeisung,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung001",geometry:y["Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung001"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung002",geometry:y["Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung002"].geometry,material:E.BAUM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_5-BAUMSTAMM_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_5_5-BAUMSTAMM_Netzeinspeisung"].geometry,material:E.BAUMSTAMM_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_5-OUTLINE_WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Baum_5_5-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:E.OUTLINE_WEISS_Netzeinspeisung}))),r.createElement("group",{name:"Netzeinspeisung_Blitz",position:[0,.3,.469]},r.createElement("mesh",{name:"Netzeinspeisung_Blitz-ROT_Netzeinspeisung",geometry:y["Netzeinspeisung_Blitz-ROT_Netzeinspeisung"].geometry,material:E.ROT_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Blitz-WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Blitz-WEISS_Netzeinspeisung"].geometry,material:E.WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Haus_Oben",position:[0,.3,-.097]},r.createElement("mesh",{name:"Netzeinspeisung_Haus_Oben-SCHATTEN_GRAU_Netzeinspeisung",geometry:y["Netzeinspeisung_Haus_Oben-SCHATTEN_GRAU_Netzeinspeisung"].geometry,material:E.SCHATTEN_GRAU_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Haus_Oben-WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Haus_Oben-WEISS_Netzeinspeisung"].geometry,material:E.WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Haus_unten",position:[0,-.225,-.097]},r.createElement("mesh",{name:"Netzeinspeisung_Haus_unten-SCHATTEN_GRAU_Netzeinspeisung",geometry:y["Netzeinspeisung_Haus_unten-SCHATTEN_GRAU_Netzeinspeisung"].geometry,material:E.SCHATTEN_GRAU_Netzeinspeisung}),r.createElement("mesh",{name:"Netzeinspeisung_Haus_unten-WEISS_Netzeinspeisung",geometry:y["Netzeinspeisung_Haus_unten-WEISS_Netzeinspeisung"].geometry,material:E.WEISS_Netzeinspeisung})),r.createElement("group",{name:"Netzeinspeisung_Sign",position:[1.167,-.012,-.767]},r.createElement("mesh",{name:"Netzeinspeisung_Sign_BG",geometry:y.Netzeinspeisung_Sign_BG.geometry,material:E.ROT_Netzeinspeisung,position:[0,0,-.01]}),r.createElement("mesh",{name:"Netzeinspeisung_Sign_Ex",geometry:y.Netzeinspeisung_Sign_Ex.geometry,material:E.WEISS_Netzeinspeisung})),r.createElement("mesh",{name:"Netzeinspeisung_Boden",geometry:y.Netzeinspeisung_Boden.geometry,material:E.BODEN_GRAU_Netzeinspeisung,position:[0,-.307,-.097]},r.createElement("mesh",{name:"Netzeinspeisung_Finanzen_Insel",geometry:y.Netzeinspeisung_Finanzen_Insel.geometry,material:E.SCHATTEN_GRAU_Netzeinspeisung,position:[1,0,-1]})),r.createElement("mesh",{name:"Netzeinspeisung_Outline",geometry:y.Netzeinspeisung_Outline.geometry,material:E.WEISS_Netzeinspeisung,position:[0,.3,.5]}))),r.createElement("group",{name:"Diagramm",ref:L,onPointerOver:function(e){return $(L.current)},onPointerOut:function(){return Y()},onPointerDown:function(){return Q(5,L.current)}},r.createElement("group",{name:"Sign_5",position:[1.329,.335,-3.277]},r.createElement("group",{name:"Sign_5_ex"},r.createElement("mesh",{name:"Sign_5_ex001",geometry:y.Sign_5_ex001.geometry,material:E.SIGN_WEISS_Sign_5})),r.createElement("mesh",{name:"Sign_5_BG",geometry:y.Sign_5_BG.geometry,material:E.ROT_Sign_5,position:[.001,.003,-.01]}),r.createElement("mesh",{name:"Sign_5_Diagramm_1",geometry:y.Sign_5_Diagramm_1.geometry,material:E.DIAGRAMM_1_Sign_5,position:[.218,-.094,.361]}),r.createElement("mesh",{name:"Sign_5_Diagramm_2",geometry:y.Sign_5_Diagramm_2.geometry,material:E.DIAGRAMM_2_Sign_5,position:[.02,-.03,.679],rotation:[-.099,.558,.1]}),r.createElement("mesh",{name:"Sign_5_Diagramm_3",geometry:y.Sign_5_Diagramm_3.geometry,material:E.TASTATUR_Sign_5,position:[.218,-.31,.549]}))),r.createElement("group",{name:"Netzanschluss",ref:O,onPointerOver:function(e){return $(O.current)},onPointerOut:function(){return Y()}},r.createElement("group",{name:"Sign_1",position:[.006,.338,-3.809]},r.createElement("mesh",{name:"Sign_1001",geometry:y.Sign_1001.geometry,material:E.SIGN_WEISS_Sign_1,position:[.021,-.08,0]}),r.createElement("mesh",{name:"Sign_1_BG",geometry:y.Sign_1_BG.geometry,material:E.ROT_Sign_1,position:[.019,-.08,-.01]}),r.createElement("mesh",{name:"Wartung_Boden1",geometry:y.Wartung_Boden1.geometry,material:E.WEISS_Sign_1,position:[.017,-.314,-.016]}))),r.createElement("group",{name:"Wartung",ref:N,onPointerOver:function(e){return $(N.current)},onPointerOut:function(){return Y()},onPointerDown:function(){return Q(6,N.current)}},r.createElement("group",{position:[-1.243,0,-3.084]},r.createElement("group",{name:"Wartung_Boden",position:[0,.024,0]},r.createElement("mesh",{name:"Wartung_Boden-SCHATTEN_GRAU_Wartung",geometry:y["Wartung_Boden-SCHATTEN_GRAU_Wartung"].geometry,material:E.SCHATTEN_GRAU_Wartung}),r.createElement("mesh",{name:"Wartung_Boden-WEISS_Wartung",geometry:y["Wartung_Boden-WEISS_Wartung"].geometry,material:E.WEISS_Wartung})),r.createElement("group",{name:"Wartung_Typ",position:[0,.046,0]},r.createElement("mesh",{name:"Wartung_Tablet",geometry:y.Wartung_Tablet.geometry,material:E.WEISS_Wartung,position:[.02,.235,.063],rotation:[-1.325,0,0]}),r.createElement("mesh",{name:"Wartung_Typ-ROT_Wartung",geometry:y["Wartung_Typ-ROT_Wartung"].geometry,material:E.ROT_Wartung}),r.createElement("mesh",{name:"Wartung_Typ-SCHUHE_Wartung",geometry:y["Wartung_Typ-SCHUHE_Wartung"].geometry,material:E.SCHUHE_Wartung}),r.createElement("mesh",{name:"Wartung_Typ-WARTUNG_TYP_HAUT_Wartung",geometry:y["Wartung_Typ-WARTUNG_TYP_HAUT_Wartung"].geometry,material:E.WARTUNG_TYP_HAUT_Wartung}))),r.createElement("group",{name:"Sign_2",position:[-1.288,.338,-3.532]},r.createElement("group",{name:"Sign_2_ex"},r.createElement("mesh",{name:"Sign_2_ex001",geometry:y.Sign_2_ex001.geometry,material:E.SIGN_WEISS_Sign_2})),r.createElement("mesh",{name:"Sign_2_BG",geometry:y.Sign_2_BG.geometry,material:E.ROT_Sign_2,position:[0,0,-.01]}))),r.createElement("group",{name:"Energiespeicher",ref:P,onPointerOver:function(){return $(P.current)},onPointerOut:function(){return Y()},onPointerDown:function(){return Q(3,P.current)}},r.createElement("group",{position:[.488,.07,-1.18]},r.createElement("group",{name:"Energiespeicher_Batterie_Gruppe",position:[-.095,.075,0]},r.createElement("group",{name:"Energiespeicher_Batterie_0"},r.createElement("mesh",{name:"Energiespeicher_Batterie_0-BATTERIE_BG_Energiespeicher",geometry:y["Energiespeicher_Batterie_0-BATTERIE_BG_Energiespeicher"].geometry,material:E.BATTERIE_BG_Energiespeicher}),r.createElement("mesh",{name:"Energiespeicher_Batterie_0-ROT_Energiespeicher",geometry:y["Energiespeicher_Batterie_0-ROT_Energiespeicher"].geometry,material:E.ROT_Energiespeicher}),r.createElement("mesh",{name:"Energiespeicher_Batterie_0-WEISS_Energiespeicher",geometry:y["Energiespeicher_Batterie_0-WEISS_Energiespeicher"].geometry,material:E.WEISS_Energiespeicher})),r.createElement("group",{name:"Energiespeicher_Batterie_1",position:[.21,0,0]},r.createElement("mesh",{name:"Energiespeicher_Batterie_1-BATTERIE_BG_Energiespeicher",geometry:y["Energiespeicher_Batterie_1-BATTERIE_BG_Energiespeicher"].geometry,material:E.BATTERIE_BG_Energiespeicher}),r.createElement("mesh",{name:"Energiespeicher_Batterie_1-ROT_Energiespeicher",geometry:y["Energiespeicher_Batterie_1-ROT_Energiespeicher"].geometry,material:E.ROT_Energiespeicher}),r.createElement("mesh",{name:"Energiespeicher_Batterie_1-WEISS_Energiespeicher",geometry:y["Energiespeicher_Batterie_1-WEISS_Energiespeicher"].geometry,material:E.WEISS_Energiespeicher})),r.createElement("group",{name:"Energiespeicher_Batterie_2",position:[.42,0,0]},r.createElement("mesh",{name:"Energiespeicher_Batterie_2-BATTERIE_BG_Energiespeicher",geometry:y["Energiespeicher_Batterie_2-BATTERIE_BG_Energiespeicher"].geometry,material:E.BATTERIE_BG_Energiespeicher}),r.createElement("mesh",{name:"Energiespeicher_Batterie_2-ROT_Energiespeicher",geometry:y["Energiespeicher_Batterie_2-ROT_Energiespeicher"].geometry,material:E.ROT_Energiespeicher}),r.createElement("mesh",{name:"Energiespeicher_Batterie_2-WEISS_Energiespeicher",geometry:y["Energiespeicher_Batterie_2-WEISS_Energiespeicher"].geometry,material:E.WEISS_Energiespeicher})),r.createElement("mesh",{name:"Speicher_0",geometry:y.Speicher_0.geometry,material:E.BATTERIE_Energiespeicher,position:[0,.001,-.299],rotation:[0,0,.297],scale:[1,1,.3]}),r.createElement("mesh",{name:"Speicher_1",geometry:y.Speicher_1.geometry,material:E.BATTERIE_Energiespeicher,position:[.21,.001,-.299],rotation:[0,0,.297],scale:[1,1,.069]}),r.createElement("mesh",{name:"Speicher_2",geometry:y.Speicher_2.geometry,material:E.BATTERIE_Energiespeicher,position:[.42,.001,-.299],rotation:[0,0,.297],scale:[1,1,.056]})),r.createElement("group",{name:"Energiespeicher_Boden",position:[.095,-.075,0]},r.createElement("mesh",{name:"Energiespeicher_Boden-ROT_Energiespeicher",geometry:y["Energiespeicher_Boden-ROT_Energiespeicher"].geometry,material:E.ROT_Energiespeicher}),r.createElement("mesh",{name:"Energiespeicher_Boden-WEISS_Energiespeicher",geometry:y["Energiespeicher_Boden-WEISS_Energiespeicher"].geometry,material:E.WEISS_Energiespeicher})))),r.createElement("group",{name:"Power_to_X",ref:M,onPointerOver:function(){return $(M.current)},onPointerOut:function(){return Y()},onPointerDown:function(){return Q(4,M.current)}},r.createElement("group",{position:[3.275,.104,-.167]},r.createElement("group",{name:"Power_to_heat_Baum_1",position:[.636,-.089,.121],rotation:[.017,0,0]},r.createElement("mesh",{name:"Power_to_heat_Baum_1-BAUM_Power_to_X",geometry:y["Power_to_heat_Baum_1-BAUM_Power_to_X"].geometry,material:E.BAUM_Power_to_X,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Power_to_heat_Baum_1-BAUM_Power_to_X001",geometry:y["Power_to_heat_Baum_1-BAUM_Power_to_X001"].geometry,material:E.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_1-BAUM_Power_to_X002",geometry:y["Power_to_heat_Baum_1-BAUM_Power_to_X002"].geometry,material:E.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_1-BAUMSTAMM_Power_to_X",geometry:y["Power_to_heat_Baum_1-BAUMSTAMM_Power_to_X"].geometry,material:E.BAUMSTAMM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_1-OUTLINE_WEISS_Power_to_X",geometry:y["Power_to_heat_Baum_1-OUTLINE_WEISS_Power_to_X"].geometry,material:E.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Power_to_heat_Baum_2",position:[.659,-.089,-.285],rotation:[.013,0,0]},r.createElement("mesh",{name:"Power_to_heat_Baum_2-BAUM_Power_to_X",geometry:y["Power_to_heat_Baum_2-BAUM_Power_to_X"].geometry,material:E.BAUM_Power_to_X,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Power_to_heat_Baum_2-BAUM_Power_to_X001",geometry:y["Power_to_heat_Baum_2-BAUM_Power_to_X001"].geometry,material:E.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_2-BAUM_Power_to_X002",geometry:y["Power_to_heat_Baum_2-BAUM_Power_to_X002"].geometry,material:E.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_2-BAUMSTAMM_Power_to_X",geometry:y["Power_to_heat_Baum_2-BAUMSTAMM_Power_to_X"].geometry,material:E.BAUMSTAMM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_2-OUTLINE_WEISS_Power_to_X",geometry:y["Power_to_heat_Baum_2-OUTLINE_WEISS_Power_to_X"].geometry,material:E.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Power_to_heat_Baum_3",position:[-.036,-.089,-.64],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Power_to_heat_Baum_3-BAUM_Power_to_X",geometry:y["Power_to_heat_Baum_3-BAUM_Power_to_X"].geometry,material:E.BAUM_Power_to_X,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Power_to_heat_Baum_3-BAUM_Power_to_X001",geometry:y["Power_to_heat_Baum_3-BAUM_Power_to_X001"].geometry,material:E.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_3-BAUMSTAMM_Power_to_X",geometry:y["Power_to_heat_Baum_3-BAUMSTAMM_Power_to_X"].geometry,material:E.BAUMSTAMM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_3-OUTLINE_WEISS_Power_to_X",geometry:y["Power_to_heat_Baum_3-OUTLINE_WEISS_Power_to_X"].geometry,material:E.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Power_to_heat_Baum_4",position:[.658,-.089,-.619],rotation:[.011,0,0]},r.createElement("mesh",{name:"Power_to_heat_Baum_4-BAUM_Power_to_X",geometry:y["Power_to_heat_Baum_4-BAUM_Power_to_X"].geometry,material:E.BAUM_Power_to_X,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Power_to_heat_Baum_4-BAUM_Power_to_X001",geometry:y["Power_to_heat_Baum_4-BAUM_Power_to_X001"].geometry,material:E.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_4-BAUMSTAMM_Power_to_X",geometry:y["Power_to_heat_Baum_4-BAUMSTAMM_Power_to_X"].geometry,material:E.BAUMSTAMM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_4-OUTLINE_WEISS_Power_to_X",geometry:y["Power_to_heat_Baum_4-OUTLINE_WEISS_Power_to_X"].geometry,material:E.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Power_to_heat_Baum_5",position:[.252,-.089,-.571],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Power_to_heat_Baum_5-BAUM_Power_to_X",geometry:y["Power_to_heat_Baum_5-BAUM_Power_to_X"].geometry,material:E.BAUM_Power_to_X,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Power_to_heat_Baum_5-BAUM_Power_to_X001",geometry:y["Power_to_heat_Baum_5-BAUM_Power_to_X001"].geometry,material:E.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_5-BAUM_Power_to_X002",geometry:y["Power_to_heat_Baum_5-BAUM_Power_to_X002"].geometry,material:E.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_5-BAUMSTAMM_Power_to_X",geometry:y["Power_to_heat_Baum_5-BAUMSTAMM_Power_to_X"].geometry,material:E.BAUMSTAMM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_5-OUTLINE_WEISS_Power_to_X",geometry:y["Power_to_heat_Baum_5-OUTLINE_WEISS_Power_to_X"].geometry,material:E.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Power_to_X_Haus",position:[-.554,.105,.598]},r.createElement("mesh",{name:"Po
2wer_to_X_Haus-SCHATTEN_GRAU_Power_to_X",geometry:y["Power_to_X_Haus-SCHATTEN_GRAU_Power_to_X"].geometry,material:E.SCHATTEN_GRAU_Power_to_X}),r.createElement("mesh",{name:"Power_to_X_Haus-WEISS_Power_to_X",geometry:y["Power_to_X_Haus-WEISS_Power_to_X"].geometry,material:E.WEISS_Power_to_X})),r.createElement("group",{name:"Power_to_X_LKW",position:[-.477,.092,1.228]},r.createElement("group",{name:"Power_to_X_LKW001"},r.createElement("mesh",{name:"Power_to_X_LKW-LKW_Power_to_X",geometry:y["Power_to_X_LKW-LKW_Power_to_X"].geometry,material:E.LKW_Power_to_X}),r.createElement("mesh",{name:"Power_to_X_LKW-WEISS_Power_to_X",geometry:y["Power_to_X_LKW-WEISS_Power_to_X"].geometry,material:E.WEISS_Power_to_X})),r.createElement("group",{name:"Power_to_X_PV_LKW_FRONT"},r.createElement("mesh",{name:"Power_to_X_PV_LKW_FRONT-LKW_GLAS_Power_to_X",geometry:y["Power_to_X_PV_LKW_FRONT-LKW_GLAS_Power_to_X"].geometry,material:E.LKW_GLAS_Power_to_X}),r.createElement("mesh",{name:"Power_to_X_PV_LKW_FRONT-LKW_Power_to_X",geometry:y["Power_to_X_PV_LKW_FRONT-LKW_Power_to_X"].geometry,material:E.LKW_Power_to_X}),r.createElement("mesh",{name:"Power_to_X_PV_LKW_FRONT-WEISS_Power_to_X",geometry:y["Power_to_X_PV_LKW_FRONT-WEISS_Power_to_X"].geometry,material:E.WEISS_Power_to_X})),r.createElement("group",{name:"Power_to_X_Räder_LKW",position:[.233,-.079,0]},r.createElement("mesh",{name:"Power_to_X_Räder_LKW-LKW_Power_to_X",geometry:y["Power_to_X_Räder_LKW-LKW_Power_to_X"].geometry,material:E.LKW_Power_to_X}),r.createElement("mesh",{name:"Power_to_X_Räder_LKW-WEISS_Power_to_X",geometry:y["Power_to_X_Räder_LKW-WEISS_Power_to_X"].geometry,material:E.WEISS_Power_to_X}))),r.createElement("group",{name:"Power_to_X_Sign",position:[-.15,.18,.402]},r.createElement("mesh",{name:"Power_to_X_Sign-LKW_Power_to_X",geometry:y["Power_to_X_Sign-LKW_Power_to_X"].geometry,material:E.LKW_Power_to_X}),r.createElement("mesh",{name:"Power_to_X_Sign-WEISS_Power_to_X",geometry:y["Power_to_X_Sign-WEISS_Power_to_X"].geometry,material:E.WEISS_Power_to_X})),r.createElement("group",{name:"Power_to_X_Silo",position:[-1.157,.295,.727]},r.createElement("mesh",{name:"Power_to_X_Silo-SCHATTEN_GRAU_Power_to_X",geometry:y["Power_to_X_Silo-SCHATTEN_GRAU_Power_to_X"].geometry,material:E.SCHATTEN_GRAU_Power_to_X}),r.createElement("mesh",{name:"Power_to_X_Silo-WEISS_Power_to_X",geometry:y["Power_to_X_Silo-WEISS_Power_to_X"].geometry,material:E.WEISS_Power_to_X})),r.createElement("mesh",{name:"Power_to_X_Boden",geometry:y.Power_to_X_Boden.geometry,material:E.BODEN_GRAU_Power_to_X,position:[-.554,-.061,.598]}),r.createElement("mesh",{name:"Power_to_X_Boden_Extra",geometry:y.Power_to_X_Boden_Extra.geometry,material:E.LAND_1_Power_to_X,position:[.246,-.061,-.302]}))))))))}X("temp",Dn),X("toVar",((...e)=>Dn(...e).append())),S("VarNode",_n),i.p.preload("/content/dam/max-boegl-renewables/energieleistungen/leistung-animation/untitled.glb")},9314:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(6540);function i(e){var t=e.setActiveCard,n=e.data;return r.createElement("div",{className:"relative flex flex-col gap-4 mx-6 lg:hidden"},r.createElement(a,{text:null==n?void 0:n.rooftopTitle,onClick:function(){t(0)}}),r.createElement(a,{text:null==n?void 0:n.windTurbineTitle,onClick:function(){t(1)}}),r.createElement(a,{text:null==n?void 0:n.airStorageTitle,onClick:function(){t(2)}}),r.createElement(a,{text:null==n?void 0:n.energyStorageTitle,onClick:function(){t(3)}}),r.createElement(a,{text:null==n?void 0:n.powerOfXTitle,onClick:function(){t(4)}}),r.createElement(a,{text:null==n?void 0:n.measurementTitle,onClick:function(){t(5)}}),r.createElement(a,{text:null==n?void 0:n.operationManagementTitle,onClick:function(){t(6)}}))}function a(e){var t=e.text,n=e.onClick;return r.createElement("button",{className:"bg-white border-2 font-body-small py-1 shadow-button",onClick:n},t)}},8976:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(6540);function i(e){var t=e.title,n=e.badge,i=e.badgeColor,a=e.imgSrc,o=e.isVisible,u=e.closeCard,s=e.children;return r.createElement("div",{className:"card-content fixed max-h-[95svh] z-40 bg-white border-black_20 md:max-w-[33vw] top-0 right-0 p-6 md:p-12 m-6 border-2 shadow-card overflow-scroll overscroll-contain transition-all duration-500 ".concat(o?"opacity-100 transform translate-x-0":"opacity-0 transform translate-x-[20%] pointer-events-none")},r.createElement("div",{className:"absolute top-0 right-0 w-12 h-12 bg-red cursor-pointer",onClick:u},r.createElement("svg",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2",width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("rect",{y:"22.627",width:"32",height:"2",transform:"rotate(-45 0 22.627)",fill:"white"}),r.createElement("rect",{x:"1.41406",width:"32",height:"2",transform:"rotate(45 1.41406 0)",fill:"white"}))),r.createElement("div",{className:"flex items-center gap-6 mb-6 md:mb-12"},r.createElement("p",{className:"inline-block px-4 py-2 font-semibold font-body-small ".concat(i," ").concat("bg-green_light"===i?"text-black_green":"text-white")}," ",n," ")),r.createElement("h3",{className:"mb-6 md:mb-12 font-h3 font-medium"}," ",t," "),r.createElement("div",{className:"mb-6 md:mb-12 font-body"},s),r.createElement("img",{src:a,alt:"placeholder"}))}},5870:function(e,t,n){"use strict";var r=n(6540),i=n(4692),a=n.n(i);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;
2!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}t.A=function(){var e=o((0,r.useState)(null),2),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=a()("#leistungAnimation").attr("data-leistungAnimationNodePath");fetch(e+".model.json").then((function(e){if(!e.ok)throw new Error("Network response was not ok "+e.statusText);return e.json()})).then((function(e){n(e),console.log("Sling Model Data:",e)})).catch((function(e){console.error("Error fetching the Sling Model JSON:",e)}))}),[]),t}},3727:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var r=n(9949),i=n(8700),a=n(6540),o=n(3783),u=n(4719),s=n(4551),l=n(9437);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function d(e){var t=e.setActiveCard,n=e.modelRef,h=e.scrollLink,d=e.refreshScrollTrigger,p=e.data,f=c((0,a.useState)(!1),2),m=f[0],g=f[1],_=c((0,a.useState)(null),2),D=_[0],v=_[1],y=c((0,a.useState)(null),2),E=y[0],A=y[1],C=c((0,a.useState)(null),2),F=C[0],b=C[1],S=(0,a.useRef)(),x=(0,a.useRef)();(0,a.useEffect)((function(){return b(h),document.addEventListener("mousemove",B),function(){document.removeEventListener("mousemove",B)}}),[h]);var B=function(e){x.current.style.left="".concat(e.x,"px"),x.current.style.top="".concat(e.y-50,"px")},w=function(){var e=(0,r.A)().gl;return(0,a.useEffect)((function(){e.toneMapping=l.NeutralToneMapping,e.toneMappingExposure=1,e.outputColorSpace=l.SRGBColorSpace}),[e]),null},M=function(e){b(e),d()};return a.createElement("div",{ref:n,id:"model-fixed",className:"sticky top-0 group w-full h-lvh float-left"},a.createElement("ul",{className:"sticky-navigation z-1"},a.createElement("li",{className:"".concat("projektierung"===F?"active border-red text-red":"border-black_80")},a.createElement("a",{href:"#projektierung",className:"scroll-anchor font-body-small",onClick:function(){return M("projektierung")}},null==p?void 0:p.projectPlanningTabName)),a.createElement("li",{className:"".concat("produkte"===F?"active border-red text-red":"border-grey_dark")},a.createElement("a",{href:"#produkte",className:"scroll-anchor font-body-small",onClick:function(){return M("produkte")}},null==p?void 0:p.productsTabName))),a.createElement("div",{className:"hidden md:block"},a.createElement("div",{ref:x,className:"hidden fixed top-0 left-0 z-20 pointer-events-none transform -translate-x-[100%] -translate-y-1/2 font-small shadow-[0px_44px_80px_0px_#64646F29] border-[1px] border-black_20 bg-black_10 px-1.5 py-2 data-[shown=true]:animate-fadein data-[shown=true]:block","data-shown":null!==E},E)),a.createElement(i.Hl,{dpr:[1,2],onPointerMissed:function(){m||(v(null),t(-1))}},a.createElement(a.Suspense,{fallback:null}
2,a.createElement(s.A,{setActiveCard:t,cameraRef:S,throttle:m,setThrottle:g,fokus:D,setFokus:v,setHoverText:A,data:p}),a.createElement(o.OH,{files:null==p?void 0:p.animatedHdrImage,background:!1,environmentIntensity:1,backgroundIntensity:0}),a.createElement("ambientLight",{intensity:.1,color:"#fff"}),a.createElement("directionalLight",{position:[10,10,5],intensity:.6}),a.createElement(w,null),a.createElement(u.u,{name:"Kamera",ref:S,makeDefault:!0,far:1e4,near:.01,fov:20,position:[13,14,17],rotation:[-.744,.525,.433]}))))}},2104:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(6540);function i(e){var t=e.data;return r.createElement("div",{id:"hero",className:"relative pt-24 min-h-[80lvh] pointer-events-none z-10"},r.createElement("div",{className:"bg-red text-white w-fit mx-6 px-4 py-2 clear-both"},r.createElement("h2",{className:"font-h1"},null==t?void 0:t.headerTitle)),r.createElement("h1",{className:"font-h3 mx-6 py-3 text-black_green"},null==t?void 0:t.headerDescription))}},4947:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(6540);function i(e){var t=e.data;return r.createElement("div",{className:"relative min-h-lvh pointer-events-none z-10"},r.createElement("div",{className:"bg-white text-black_green mx-6 mt-12 p-12 border-2 border-black_20 shadow-card md:max-w-[33%]"},r.createElement("div",{className:"flex items-middle gap-6"},r.createElement("h3",{className:"font-h3 font-semibold mb-6 md:mb-12"},null==t?void 0:t.cardTitle)),r.createElement("h4",{className:"font-h4 font-medium mb-6"},null==t?void 0:t.cardPreTitle),r.createElement("p",{dangerouslySetInnerHTML:{__html:null==t?void 0:t.cardDescription}})))}},6179:function(){function e(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,o=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw o}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var n="show",r="opened";(function(){var t,n=e(document.querySelectorAll(".menu .menuIcon"));try{for(n.s();!(t=n.n()).done;){t.value.addEventListener("click",i)}}catch(e){n.e(e)}finally{n.f()}}(),function(){var t,n=e(document.querySelectorAll(".menu img.arrowIcon"));try{var i=function(){var n=t.value;n.addEventListener("click",(function(){if(!n.classList.contains(r)){var t,i=n.parentElement,u=e(n.parentElement.parentElement.children);try{for(u.s();!(t=u.n()).done;){var s=t.value;s!==i&&o(s)}}catch(e){u.e(e)}finally{u.f()}}a(n.nextElementSibling),n.classList.toggle(r)}))};for(n.s();!(t=n.n()).done;)i()}catch(e){n.e(e)}finally{n.f()}}(),function(){var t,n=document.querySelectorAll(".menu nav > ul ul"),r=e(n);try{for(r.s();!(t=r.n()).done;){a(t.value)}}catch(e){r.e(e)}finally{r.f()}var i,o=e(n);try{for(o.s();!(i=o.n()).done;){var u=i.value,s=u.clientHeight+200;u.style.maxHeight=s+"px"}}catch(e){o.e(e)}finally{o.f()}var l,c=e(n);try{for(c.s();!(l=c.n()).done;){a(l.value)}}catch(e){c.e(e)}finally{c.f()}}(),document.body.classList.contains("menu-open"))||document.querySelectorAll(".menu").forEach((function(e){if(!e.querySelector(".after-content")){var t=document.createElement("span");t.className="after-content";var n=document.querySelector(".cmp-navigation"),r=(null==n?void 0:n.getAttribute("data-cmp-i18n-menu"))||"Menu";t.textContent=r,e.appendChild(t)}}));function i(){document.body.classList.toggle("menu-open")}function a(e){e.classList.toggle(n)}function o(t){t.classList.remove(n),t.classList.remove(r);var i,a=e(t.children);try{for(a.s();!(i=a.n()).done;){o(i.value)}}catch(e){a.e(e)}finally{a.f()}}document.querySelector(".menu.navigation").addEventListener("click",(function(){var e=document.querySelector(".menu.navigation"),t=e.querySelector(".menu-opened"),n=document.querySelector(".cmp-navigation"),r=(null==n?void 0:n.getAttribute("data-cmp-i18n-close"))||"Close";if(document.body.classList.contains("menu-open")){if(!t){var i=document.createElement("span");i.className="menu-opened",i.textContent=r,e.append(i)}}else t&&t.remove()}))},3034:function(){function e(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,o=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw o}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n){var r=parseInt(e.textContent);if(!isNaN(r)){var i=t;e.textContent=i,e.style.visibility="visible";var a=r/(n/5),o=setInterval((function(){i+=a,e.textContent=Math.floor(i).toLocaleStr
2ing("de-DE"),i>=r&&(clearInterval(o),e.textContent=r.toLocaleString("de-DE"))}),1)}}function r(e,t){new IntersectionObserver((function(e,n){e.forEach((function(e){e.isIntersecting&&(t(e.target),n.unobserve(e.target))}))}),{root:null,rootMargin:"0px",threshold:1}).observe(e)}!function(){var t,i=e(document.querySelectorAll(".numberCounter .counter-value"));try{for(i.s();!(t=i.n()).done;){var a=t.value;a.style.visibility="hidden",r(a,(function(e){n(e,0,1500)}))}}catch(e){i.e(e)}finally{i.f()}}()},8086:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r=n(6540),i=n(5880),a=n(6575),o=n(16),u=n(9610),s=n(4836),l=n(2915),c=n(857),h=n(7848),d=n(7876);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function m(){var e=(0,d.A)(),t=p((0,r.useState)("Windenergie"),2),n=t[0],i=t[1],f=(0,r.useRef)(null),m=(0,r.useRef)(null),g=(0,r.useRef)(null),_=(0,r.useMemo)((function(){return["Windenergie","Turmkonzept","Fachkompetenz"]}),[]),D=(0,r.useRef)(null),v=(0,r.useRef)(null),y=(0,r.useRef)(null),E=(0,r.useMemo)((function(){return{Windenergie:D,Turmkonzept:v,Fachkompetenz:y}}),[]),A=function(){if(f.current&&m.current){var e=f.current.getBoundingClientRect(),t=m.current.getBoundingClientRect(),n=t.top<e.top||t.bottom>e.bottom;console.log("Model Overlaps:",n),m.current.classList.toggle("hidden",n)}};return(0,r.useLayoutEffect)((function(){if(f.current&&m.current){var e=_.map((function(e){var t=E[e];return a.A.create({trigger:t.current,start:"top center",end:"bottom center",onEnter:function(){return i(e)},onEnterBack:function(){return i(e)}})})),t=a.A.create({trigger:f.current,start:"top top",end:"bottom bottom",scrub:!0,invalidateOnRefresh:!0,onUpdate:function(){A()}});return function(){e.forEach((function(e){return e.kill()})),t.kill()}}}),[_,E]),(0,r.useEffect)((function(){if(f.current&&m.current){A();var e=new ResizeObserver((function(){setTimeout((function(){a.A.refresh(),A()}),100)}));f.current&&e.observe(f.current);var t=document.querySelector(".video-overlay"),n=document.querySelector(".close-button");if(t){var r=function(){var e=document.querySelector(".app-start #introduction.active .text-wrapper");return e?(e.style.display="block",console.log("✓ Text wrapper found and display set to block"),!0):(console.log("Still looking for text wrapper..."),!1)};if(t.click(),console.log("✓ Video clicked automatically"),n&&(n.style.display="none",console.log("✓ Close button hidden")),!r()){var i=setInterval((function(){r()&&clearInterval(i)}),100);setTimeout((function(){clearInterval(i),console.log("❌ Stopped looking for text wrapper after 10 seconds")}),1e4)}}else console.log("❌ Video element not found");return function(){e.disconnect()}}}),[]),r.createElement("div",{className:"app-start animation-component"},r.createElement("main",{className:"relative bg-white",ref:f},r.createElement(o.A,{data:e}),r.createElement(u.A,{activeSection:n,stickyNavRef:g,data:e}),r.createElement("div",{className:"md:flex",id:"model-visibility-id"},r.createElement(s.A,{turmkonzeptRef:E.Turmkonzept,ModelWindratRef:m}),r.createElement("div",{className:"w-full md:w-5/12 sticky-button-wrapper"},r.createElement("section",{ref:E.Windenergie,id:"Windenergie",className:"flex justify-start items-end w-full flex-col px-6 md:px-0 z-10 relative"},r.createElement(l.A,{data:e})),r.createElement("div",{className:"sticky-button"},r.createElement("div",{className:"w-full flex flex-col gap-12 text-left sm:max-w-[472px] md:max-w-full sm:mx-auto  md:transform md:-translate-x-16"},r.createElement("div",{className:"w-full flex sm:justify-center md:justify-end items-center box px-6 md:px-0"},r.createElement("a",{href:null==e?void 0:e.hybridTowerButtonRedirection,className:"text-white bg-red py-4 px-8 font-h4 w-full sm:w-auto text-center sm:text-left"},null==e?void 0:e.hybridTowerButton)))),r.createElement("section",{ref:E.Turmkonzept,id:"Turmkonzept",className:"flex justify-start items-end w-full flex-col px-6 md:px-0 z-10 relative"},r.createElement(c.A,{data:e})))),r.createElement("section",{ref:E.Fachkompetenz,id:"Fachkompetenz"},r.createElement(h.A,null))))}i.Ay.registerPlugin(a.A)},7848:function(e,t,n){"use strict";var r=n(6540),i=n(3783),a=n(5559),o=n(5880),u=n(9949),s=n(8700),l=n(6575),c=n(9437),h=n(7876);o.Ay.registerPlugin(l.u);t.A=function(){var e=(0,r.useRef)(null),t=(0,h.A)(),n=function(){var e=(0,u.A)().gl;return(0,r.useEffect)((function(){e.toneMapping=c.NeutralToneMapping,e.toneMappingExposure=1,e.outputColorSpace
2=c.SRGBColorSpace}),[e]),null};return(0,r.useEffect)((function(){var t=e.current,n=t.querySelectorAll(".box"),r=o.Ay.timeline({scrollTrigger:{trigger:t,scrub:!0,start:"top 50%",end:"bottom 100%"}});n.forEach((function(e,t){r.fromTo(e,{y:200,opacity:0},{y:0,opacity:1,delay:.5*t},0)}))}),[]),r.createElement("div",{className:"relative md:w-screen md:h-screen min-h-screen bg-black_5 overflow-hidden flex flex-col",ref:e},r.createElement("div",{className:"w-full h-[480px] md:h-full md:flex md:justify-center md:items-end"},r.createElement(r.StrictMode,null,r.createElement(s.Hl,{dpr:[1,2],flat:!0,shadows:!0},r.createElement(r.Suspense,{fallback:null},r.createElement(a.A,{data:t}),r.createElement(i.OH,{files:null==t?void 0:t.hdrImage,background:!1,environmentIntensity:1,backgroundIntensity:0,adjustCamera:!1}),r.createElement("ambientLight",{intensity:.1,color:"#fff"}),r.createElement("directionalLight",{position:[10,10,5],intensity:.6}),r.createElement(n,null))))),r.createElement("div",{className:"relative md:absolute w-full px-6 pb-6 md:px-16 md:pb-0 md:left-0 md:bottom-12 bg-black_5 md:bg-transparent"},r.createElement("div",{className:"sm:max-w-[472px] md:max-w-max sm:mx-auto flex flex-col md:flex-row justify-between items-end relative z-50"},r.createElement("div",{className:"bg-white text-black_green border-black_20 border-2 w-full p-6 sm:p-12 box card-shadow"},r.createElement("div",{className:"flex justify-start flex-col items-start sm:flex-row text-left gap-6 mb-6 sm:mb-12"},r.createElement("div",{className:"shrink-0"},r.createElement("img",{src:null==t?void 0:t.expertiseCardIcon,width:48,height:48,alt:"Windenergie"})),r.createElement("h2",{className:"font-h3 font-medium"},null==t?void 0:t.expertiseCardTitle)),r.createElement("h3",{className:"font-h4"},r.createElement("strong",{className:"font-medium"},null==t?void 0:t.expertiseCardPreTitle)),r.createElement("p",{className:"font-h4 pt-4",dangerouslySetInnerHTML:{__html:null==t?void 0:t.expertiseCardDescription}})),r.createElement("div",{className:"text-black_green w-full"},r.createElement("div",{className:"w-full flex sm:justify-center md:justify-end items-center pt-6 md:pt-12 box "},r.createElement("a",{href:null==t?void 0:t.energyServiceButtonRedirection,className:"text-white bg-red py-4 px-8 font-h4 w-full sm:w-auto text-center sm:text-left"},null==t?void 0:t.energyServiceButton))))))}},5559:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(6540),i=n(2603),a=n(426),o=n(4719),u=["data"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function h(e){e.data;var t=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,u),n=r.useRef(),c=(0,i.p)("/content/dam/max-boegl-renewables/startseite/start-animation/insel_start.glb"),h=c.nodes,d=c.materials,p=c.animations,f=(0,a.f)(p,n).actions,m=l((0,r.useState)({fov:75,position:[0,0,5]}),2),g=m[0],_=m[1],D=function(){var e=window.innerWidth;_(e<=440||e<=1440&&e>=440?{fov:22,position:[12.2,14,14.7]}:{fov:25,position:[7.5,12,15]})};return(0,r.useEffect)((function(){return D(),window.addEventListener("resize",D),function(){return window.removeEventListener("resize",D)}}),[]),(0,r.useEffect)((function(){var e;null==f||null===(e=f.animation_0)||void 0===e||e.play()}),[f]),r.createElement("group",s({ref:n},t,{dispose:null}),r.createElement(o.u,{name:"Kamera",makeDefault:!0,far:1e3,near:.01,focus:10,zoom:1,position:g.position,rotation:[-.744,.525,.433],fov:g.fov}),r.createElement("group",null,r.createElement("group",{name:"Power_to_X",position:[3.275,.104,-.167]},r.createElement("group",{name:"Power_to_heat_Baum_5",position:[.252,-.089,-.571],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Power_to_heat_Baum_5-BAUM_Power_to_X",geometry:h["Power_to_heat_Baum_5-BAUM_Power_to_X"].geometry,material:d.BAUM_Power_to_X,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Power_to_heat_Baum_5-BAUM_Power_to_X_1",geometry:h["Power_to_heat_Baum_5-BAUM_Power_to_X_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_5-OUTLINE_WEISS_Power_to_X",geometry:h["Power_to_heat_Baum_5-OUTLINE_WEISS_Power_to_X"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_5-BAUM_Power_to_X_2",geometry:h["Power_to_heat_Baum_5-BAUM_Power_to_X_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_5-BAUMSTAMM_Power_to_X",geometry:h["Power_to_heat_Baum_5-BAUMSTAMM_Power_to_X"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Power_to_heat_Baum_4",position:[.658,-.089,-.619],rotation:[.011,0,0]},r.createElement("mesh",{name:"Power_to_heat_Baum_4-BAUM_Power_to_X",geometry:h["Power_to_heat_Baum_4-BAUM_Power_to_X"].geometry,material:d.BAUM_Power_to_X,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Power_to_heat_Baum_4-BAUM_Power_to_X_1",geometry:h["Power_to_heat_Baum_4-BAUM_Power_to_X_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_4-OUTLINE_WEISS_Power_to_X",geometry:h["Power_to_heat_Baum_4-OUTLINE_WEISS_Power_to_X"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_4-BAUMSTAMM_Power_to_X",geometry:h["Power_to_heat_Baum_4-BAUMSTAMM_Power_to_X"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Power_to_heat_Baum_3",position:[-.036,-.089,-.64],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Power_to_heat_Baum_3-BAUM_Power_to_X",geometry:h["Power_to_heat_Baum_3-BAUM_Power_to_X"].geometry,material:d.BAUM_Power_to_X,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Power_to_heat_Baum_3-BAUM_Power_to_X_1",geometry:h["Power_to_heat_Baum_3-BAUM_Power_to_X_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_3-OUTLINE_WEISS_Power_to_X",geometry:h["Power_to_heat_Baum_3-OUTLINE_WEISS_Power_to_X"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_3-BAUMSTAMM_Power_to_X",geometry:h["Power_to_heat_Baum_3-BAUMSTAMM_Power_to_X"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Power_to_heat_Baum_2",position:[.659,-.089,-.285],rotation:[.013,0,0]},r.createElement("mesh",{name:"Power_to_heat_Baum_2-BAUM_Power_to_X",geometry:h["Power_to_heat_Baum_2-BAUM_Power_to_X"].geometry,material:d.BAUM_Power_to_X,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Power_to_heat_Baum_2-BAUM_Power_to_X_1",geometry:h["Power_to_heat_Baum_2-BAUM_Power_to_X_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_2-OUTLINE_WEISS_Power_to_X",geometry:h["Power_to_heat_Baum_2-OUTLINE_WEISS_Power_to_X"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_2-BAUM_Power_to_X_2",geometry:h["Power_to_heat_Baum_2-BAUM_Power_to_X_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_2-BAUMSTAMM_Power_to_X",geometry:h["Power_to_heat_Baum_2-BAUMSTAMM_Power_to_X"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Power_to_heat_Baum_1",position:[.636,-.089,.121],rotation:[.017,0,0]},r.createElement("mesh",{name:"Power_to_heat_Baum_1-BAUM_Power_to_X",geometry:h["Power_to_heat_Baum_1-BAUM_Power_to_X"].geometry,material:d.BAUM_Power_to_X,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Power_to_heat_Baum_1-BAUM_Power_to_X_1",geometry:h["Power_to_heat_Baum_1-BAUM_Power_to_X_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_1-OUTLINE_WEISS_Power_to_X",geometry:h["Power_to_heat_Baum_1-OUTLINE_WEISS_Power_to_X"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_1-BAUM_Power_to_X_2",geometry:h["Power_to_heat_Baum_1-BAUM_Power_to_X_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Power_to_heat_Baum_1-BAUMSTAMM_Power_to_X",geometry:h["Power_to_heat_Baum_1-BAUMSTAMM_Power_to_X"].geometry,material:d.WEISS_Sign_1}))),r.createElement("group",{name:"Windenergie",position:[-3.162,0,-3.122]},r.createElement("group",{name:"Windenergie_Baum_5",position:[-.07,.036,-.892],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Windenergie_Baum_5-BAUM_Windenergie",geometry:h["Windenergie_Baum_5-BAUM_Windenergie"].geometry,material:d.BAUM_Power_to_X,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Windenergie_Baum_5-BAUM_Windenergie_2",geometry:h["Windenergie_Baum_5-BAUM_Windenergie_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Windenergie_Baum_5-BAUM_Windenergie_1",geometry:h["Windenergie_Baum_5-BAUM_Windenergie_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Windenergie_Baum_5-BAUMSTAMM_Windenergie",geometry:h["Windenergie_Baum_5-BAUMSTAMM_Windenergie"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Windenergie_Baum_5-OUTLINE_WEISS_Windenergie",geometry:h["Windenergie_Baum_5-OUTLINE_WEISS_Windenergie"].geometry,material:d.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Windenergie_Baum_4",position:[-.229,.055,-.257],rotation:[.011,0,0]},r.createElement("mesh",{name:"Windenergie_Baum_4-BAUM_Windenergie_1",geometry:h["Windenergie_Baum_4-BAUM_Windenergie_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Windenergie_Baum_4-BAUM_Windenergie",geometry:h["Windenergie_Baum_4-BAUM_Windenergie"].geometry,material:d.BAUM_Power_to_X,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Windenergie_Baum_4-BAUMSTAMM_Windenergie",geometry:h["Windenergie_Baum_4-BAUMSTAMM_Windenergie"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Windenergie_Baum_4-OUTLINE_WEISS_Windenergie",geometry:h["Windenergie_Baum_4-OUTLINE_WEISS_Windenergie"].geometry,material:d.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Windenergie_Baum_3",position:[-.532,.046,-.812],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Windenergie_Baum_3-BAUM_Windenergie_1",geometry:h["Windenergie_Baum_3-BAUM_Windenergie_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Windenergie_Baum_3-BAUM_Windenergie",geometry:h["Windenergie_Baum_3-BAUM_Windenergie"].geometry,material:d.BAUM_Power_to_X,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Windenergie_Baum_3-BAUMSTAMM_Windenergie",geometry:h["Windenergie_Baum_3-BAUMSTAMM_Windenergie"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Windenergie_Baum_3-OUTLINE_WEISS_Windenergie",geometry:h["Windenergie_Baum_3-OUTLINE_WEISS_Windenergie"].geometry,material:d.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Windenergie_Baum_2",position:[-.573,.018,-.237],rotation:[.013,0,0]},r.createElement("mesh",{name:"Windenergie_Baum_2-BAUM_Windenergie",geometry:h["Windenergie_Baum_2-BAUM_Windenergie"].geometry,material:d.BAUM_Power_to_X,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Windenergie_Baum_2-BAUM_Windenergie_1",geometry:h["Windenergie_Baum_2-BAUM_Windenergie_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Windenergie_Baum_2-OUTLINE_WEISS_Windenergie",geometry:h["Windenergie_Baum_2-OUTLINE_WEISS_Windenergie"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Windenergie_Baum_2-BAUM_Windenergie_2",geometry:h["Windenergie_Baum_2-BAUM_Windenergie_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Windenergie_Baum_2-BAUMSTAMM_Windenergie",geometry:h["Windenergie_Baum_2-BAUMSTAMM_Windenergie"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Windenergie_Baum_1",position:[-.045,.019,-.529],rotation:[.017,0,0]},r.createElement("mesh",{name:"Windenergie_Baum_1-BAUM_Windenergie",geometry:h["Windenergie_Baum_1-BAUM_Windenergie"].geometry,material:d.BAUM_Power_to_X,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Windenergie_Baum_1-BAUM_Windenergie_1",geometry:h["Windenergie_Baum_1-BAUM_Windenergie_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Windenergie_Baum_1-BAUM_Windenergie_2",geometry:h["Windenergie_Baum_1-BAUM_Windenergie_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Windenergie_Baum_1-BAUMSTAMM_Windenergie",geometry:h["Windenergie_Baum_1-BAUMSTAMM_Windenergie"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Windenergie_Baum_1-OUTLINE_WEISS_Windenergie",geometry:h["Windenergie_Baum_1-OUTLINE_WEISS_Windenergie"].geometry,material:d.OUTLINE_WEISS_Power_to_X}))),r.createElement("group",{name:"Freifläche_PV",position:[-3.125,0,.064]},r.createElement("group",{name:"Freifläche_PV_Baum_5",position:[1.004,-.026,.719],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Freifläche_PV_Baum_5-BAUM_Freifläche_PV",geometry:h["Freifläche_PV_Baum_5-BAUM_Freifläche_PV"].geometry,material:d.BAUM_Power_to_X,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Freifläche_PV_Baum_5-BAUM_Freifläche_PV_2",geometry:h["Freifläche_PV_Baum_5-BAUM_Freifläche_PV_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Freifläche_PV_Baum_5-BAUM_Freifläche_PV_1",geometry:h["Freifläche_PV_Baum_5-BAUM_Freifläche_PV_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Freifläche_PV_Baum_5-BAUMSTAMM_Freifläche_PV",geometry:h["Freifläche_PV_Baum_5-BAUMSTAMM_Freifläche_PV"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Freifläche_PV_Baum_5-OUTLINE_WEISS_Freifläche_PV",geometry:h["Freifläche_PV_Baum_5-OUTLINE_WEISS_Freifläche_PV"].geometry,material:d.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Freifläche_PV_Baum_4",position:[-.473,.044,.528],rotation:[.011,0,0]},r.createElement("mesh",{name:"Freifläche_PV_Baum_4-BAUM_Freifläche_PV_1",geometry:h["Freifläche_PV_Baum_4-BAUM_Freifläche_PV_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Freifläche_PV_Baum_4-BAUM_Freifläche_PV",geometry:h["Freifläche_PV_Baum_4-BAUM_Freifläche_PV"].geometry,material:d.BAUM_Power_to_X,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Freifläche_PV_Baum_4-BAUMSTAMM_Freifläche_PV",geometry:h["Freifläche_PV_Baum_4-BAUMSTAMM_Freifläche_PV"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Freifläche_PV_Baum_4-OUTLINE_WEISS_Freifläche_PV",geometry:h["Freifläche_PV_Baum_4-OUTLINE_WEISS_Freifläche_PV"].geometry,material:d.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Freifläche_PV_Baum_3",position:[-.451,.053,-.812],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Freifläche_PV_Baum_3-BAUM_Freifläche_PV_1",geometry:h["Freifläche_PV_Baum_3-BAUM_Freifläche_PV_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Freifläche_PV_Baum_3-BAUM_Freifläche_PV",geometry:h["Freifläche_PV_Baum_3-BAUM_Freifläche_PV"].geometry,material:d.BAUM_Power_to_X,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Freifläche_PV_Baum_3-BAUMSTAMM_Freifläche_PV",geometry:h["Freifläche_PV_Baum_3-BAU
2MSTAMM_Freifläche_PV"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Freifläche_PV_Baum_3-OUTLINE_WEISS_Freifläche_PV",geometry:h["Freifläche_PV_Baum_3-OUTLINE_WEISS_Freifläche_PV"].geometry,material:d.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Freifläche_PV_Baum_2",position:[-.544,.051,-.381],rotation:[.013,0,0]},r.createElement("mesh",{name:"Freifläche_PV_Baum_2-BAUM_Freifläche_PV",geometry:h["Freifläche_PV_Baum_2-BAUM_Freifläche_PV"].geometry,material:d.BAUM_Power_to_X,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Freifläche_PV_Baum_2-BAUM_Freifläche_PV_1",geometry:h["Freifläche_PV_Baum_2-BAUM_Freifläche_PV_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Freifläche_PV_Baum_2-OUTLINE_WEISS_Freifläche_PV",geometry:h["Freifläche_PV_Baum_2-OUTLINE_WEISS_Freifläche_PV"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Freifläche_PV_Baum_2-BAUM_Freifläche_PV_2",geometry:h["Freifläche_PV_Baum_2-BAUM_Freifläche_PV_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Freifläche_PV_Baum_2-BAUMSTAMM_Freifläche_PV",geometry:h["Freifläche_PV_Baum_2-BAUMSTAMM_Freifläche_PV"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Freifläche_PV_Baum_1",position:[.078,.013,.81],rotation:[.017,0,0]},r.createElement("mesh",{name:"Freifläche_PV_Baum_1-BAUM_Freifläche_PV",geometry:h["Freifläche_PV_Baum_1-BAUM_Freifläche_PV"].geometry,material:d.BAUM_Power_to_X,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Freifläche_PV_Baum_1-BAUM_Freifläche_PV_1",geometry:h["Freifläche_PV_Baum_1-BAUM_Freifläche_PV_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Freifläche_PV_Baum_1-BAUM_Freifläche_PV_2",geometry:h["Freifläche_PV_Baum_1-BAUM_Freifläche_PV_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Freifläche_PV_Baum_1-BAUMSTAMM_Freifläche_PV",geometry:h["Freifläche_PV_Baum_1-BAUMSTAMM_Freifläche_PV"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Freifläche_PV_Baum_1-OUTLINE_WEISS_Freifläche_PV",geometry:h["Freifläche_PV_Baum_1-OUTLINE_WEISS_Freifläche_PV"].geometry,material:d.OUTLINE_WEISS_Power_to_X}))),r.createElement("group",{name:"Floating_PV",position:[-3.096,0,2.738]},r.createElement("group",{name:"Floating_PV_Baum_5",position:[-.152,.043,-.321],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Floating_PV_Baum_5-BAUM_MAT_Floating_PV",geometry:h["Floating_PV_Baum_5-BAUM_MAT_Floating_PV"].geometry,material:d.BAUM_Power_to_X,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Floating_PV_Baum_5-BAUM_MAT_Floating_PV_1",geometry:h["Floating_PV_Baum_5-BAUM_MAT_Floating_PV_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_5-OUTLINE_WEISS_Floating_PV",geometry:h["Floating_PV_Baum_5-OUTLINE_WEISS_Floating_PV"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_5-BAUM_MAT_Floating_PV_2",geometry:h["Floating_PV_Baum_5-BAUM_MAT_Floating_PV_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_5-BAUMSTAMM_Floating_PV",geometry:h["Floating_PV_Baum_5-BAUMSTAMM_Floating_PV"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Baum_4",position:[-.446,.043,-.328],rotation:[.011,0,0]},r.createElement("mesh",{name:"Floating_PV_Baum_4-BAUM_MAT_Floating_PV",geometry:h["Floating_PV_Baum_4-BAUM_MAT_Floating_PV"].geometry,material:d.BAUM_Power_to_X,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Floating_PV_Baum_4-BAUM_MAT_Floating_PV_1",geometry:h["Floating_PV_Baum_4-BAUM_MAT_Floating_PV_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_4-OUTLINE_WEISS_Floating_PV",geometry:h["Floating_PV_Baum_4-OUTLINE_WEISS_Floating_PV"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_4-BAUMSTAMM_Floating_PV",geometry:h["Floating_PV_Baum_4-BAUMSTAMM_Floating_PV"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Baum_3",position:[-.246,.043,.123],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Floating_PV_Baum_3-BAUM_MAT_Floating_PV",geometry:h["Floating_PV_Baum_3-BAUM_MAT_Floating_PV"].geometry,material:d.BAUM_Power_to_X,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Floating_PV_Baum_3-BAUM_MAT_Floating_PV_1",geometry:h["Floating_PV_Baum_3-BAUM_MAT_Floating_PV_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_3-OUTLINE_WEISS_Floating_PV",geometry:h["Floating_PV_Baum_3-OUTLINE_WEISS_Floating_PV"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_3-BAUMSTAMM_Floating_PV",geometry:h["Floating_PV_Baum_3-BAUMSTAMM_Floating_PV"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Baum_2",position:[-.387,.043,.362],rotation:[.013,0,0]},r.createElement("mesh",{name:"Floating_PV_Baum_2-BAUM_MAT_Floating_PV",geometry:h["Floating_PV_Baum_2-BAUM_MAT_Floating_PV"].geometry,material:d.BAUM_Power_to_X,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Floating_PV_Baum_2-BAUM_MAT_Floating_PV_1",geometry:h["Floating_PV_Baum_2-BAUM_MAT_Floating_PV_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_2-OUTLINE_WEISS_Floating_PV",geometry:h["Floating_PV_Baum_2-OUTLINE_WEISS_Floating_PV"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_2-BAUM_MAT_Floating_PV_2",geometry:h["Floating_PV_Baum_2-BAUM_MAT_Floating_PV_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_2-BAUMSTAMM_Floating_PV",geometry:h["Floating_PV_Baum_2-BAUMSTAMM_Floating_PV"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Baum_1",position:[-.169,.043,.718],rotation:[.017,0,0]},r.createElement("mesh",{name:"Floating_PV_Baum_1-BAUM_MAT_Floating_PV",geometry:h["Floating_PV_Baum_1-BAUM_MAT_Floating_PV"].geometry,material:d.BAUM_Power_to_X,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Floating_PV_Baum_1-BAUM_MAT_Floating_PV_1",geometry:h["Floating_PV_Baum_1-BAUM_MAT_Floating_PV_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_1-OUTLINE_WEISS_Floating_PV",geometry:h["Floating_PV_Baum_1-OUTLINE_WEISS_Floating_PV"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_1-BAUM_MAT_Floating_PV_2",geometry:h["Floating_PV_Baum_1-BAUM_MAT_Floating_PV_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Floating_PV_Baum_1-BAUMSTAMM_Floating_PV",geometry:h["Floating_PV_Baum_1-BAUMSTAMM_Floating_PV"].geometry,material:d.WEISS_Sign_1}))),r.createElement("group",{name:"Energiespeicher_Batterie_Gruppe",position:[.394,.145,-1.18]},r.createElement("mesh",{name:"Speicher_0",geometry:h.Speicher_0.geometry,material:d.BATTERIE_Energiespeicher,position:[0,.001,-.299],rotation:[0,0,.297],scale:[1,1,.3]}),r.createElement("mesh",{name:"Speicher_1",geometry:h.Speicher_1.geometry,material:d.BATTERIE_Energiespeicher,position:[.21,.001,-.299],rotation:[0,0,.297],scale:[1,1,.069]}),r.createElement("mesh",{name:"Speicher_2",geometry:h.Speicher_2.geometry,material:d.BATTERIE_Energiespeicher,position:[.42,.001,-.299],rotation:[0,0,.297],scale:[1,1,.056]})),r.createElement("group",{name:"Power_to_heat_Baum_Gruppe",position:[1.458,.013,3.918]},r.createElement("group",{name:"Baum_5",position:[0,0,.399],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Baum_5-BAUM_Power_to_heat",geometry:h["Baum_5-BAUM_Power_to_heat"].geometry,material:d.BAUM_Power_to_X,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Baum_5-BAUM_Power_to_heat_1",geometry:h["Baum_5-BAUM_Power_to_heat_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Baum_5-OUTLINE_WEISS_Power_to_heat",geometry:h["Baum_5-OUTLINE_WEISS_Power_to_heat"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Baum_5-BAUM_Power_to_heat_2",geometry:h["Baum_5-BAUM_Power_to_heat_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Baum_5-BAUMSTAMM_Power_to_heat",geometry:h["Baum_5-BAUMSTAMM_Power_to_heat"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Baum_4",position:[0,0,.133],rotation:[.011,0,0]},r.createElement("mesh",{name:"Baum_4-BAUM_Power_to_heat",geometry:h["Baum_4-BAUM_Power_to_heat"].geometry,material:d.BAUM_Power_to_X,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Baum_4-BAUM_Power_to_heat_1",geometry:h["Baum_4-BAUM_Power_to_heat_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Baum_4-OUTLINE_WEISS_Power_to_heat",geometry:h["Baum_4-OUTLINE_WEISS_Power_to_heat"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Baum_4-BAUMSTAMM_Power_to_heat",geometry:h["Baum_4-BAUMSTAMM_Power_to_heat"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Baum_3",position:[0,0,-.133],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Baum_3-BAUM_Power_to_heat",geometry:h["Baum_3-BAUM_Power_to_heat"].geometry,material:d.BAUM_Power_to_X,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Baum_3-BAUM_Power_to_heat_1",geometry:h["Baum_3-BAUM_Power_to_heat_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Baum_3-OUTLINE_WEISS_Power_to_heat",geometry:h["Baum_3-OUTLINE_WEISS_Power_to_heat"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Baum_3-BAUMSTAMM_Power_to_heat",geometry:h["Baum_3-BAUMSTAMM_Power_to_heat"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Baum_2",position:[0,0,-.399],rotation:[.013,0,0]},r.createElement("mesh",{name:"Baum_2-BAUM_Power_to_heat",geometry:h["Baum_2-BAUM_Power_to_heat"].geometry,material:d.BAUM_Power_to_X,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Baum_2-BAUM_Power_to_heat_1",geometry:h["Baum_2-BAUM_Power_to_heat_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Baum_2-OUTLINE_WEISS_Power_to_heat",geometry:h["Baum_2-OUTLINE_WEISS_Power_to_heat"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Baum_2-BAUM_Power_to_heat_2",geometry:h["Baum_2-BAUM_Power_to_heat_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Baum_2-BAUMSTAMM_Power_to_heat",geometry:h["Baum_2-BAUMSTAMM_Power_to_heat"].geometry,material:d.WEISS_Sign_1}))),r.createElement("group",{name:"Netzeinspeisung_Baumgruppe",position:[-.636,.016,-6.113]},r.createElement("group",{name:"Netzeinspeisung_Baum_5_0",position:[-.705,0,.82],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung"].geometry,material:d.BAUM_Power_to_X,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung_2",geometry:h["Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung_1",geometry:h["Netzeinspeisung_Baum_5_0-BAUM_Netzeinspeisung_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_0-BAUMSTAMM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_5_0-BAUMSTAMM_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_0-OUTLINE_WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_5_0-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:d.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Netzeinspeisung_Baum_4_1",position:[.705,0,.82],rotation:[.011,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_1-BAUM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_4_1-BAUM_Netzeinspeisung"].geometry,material:d.BAUM_Power_to_X,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_1-BAUMSTAMM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_4_1-BAUMSTAMM_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_1-OUTLINE_WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_4_1-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_1-BAUM_Netzeinspeisung_1",geometry:h["Netzeinspeisung_Baum_4_1-BAUM_Netzeinspeisung_1"].geometry,material:d.BAUM_Power_to_X})),r.createElement("group",{name:"Netzeinspeisung_Baum_3_2",position:[-.705,0,.41],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_2-BAUM_Netzeinspeisung_1",geometry:h["Netzeinspeisung_Baum_3_2-BAUM_Netzeinspeisung_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_2-BAUM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_3_2-BAUM_Netzeinspeisung"].geometry,material:d.BAUM_Power_to_X,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_2-BAUMSTAMM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_3_2-BAUMSTAMM_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_2-OUTLINE_WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_3_2-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:d.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Netzeinspeisung_Baum_2_3",position:[.705,0,.41],rotation:[.013,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung"].geometry,material:d.BAUM_Power_to_X,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_3-OUTLINE_WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_2_3-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung_2",geometry:h["Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_3-BAUMSTAMM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_2_3-BAUMSTAMM_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung_1",geometry:h["Netzeinspeisung_Baum_2_3-BAUM_Netzeinspeisung_1"].geometry,material:d.BAUM_Power_to_X})),r.createElement("group",{name:"Netzeinspeisung_Baum_1_4",position:[-.705,0,0],rotation:[.017,0,0]}
2,r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung"].geometry,material:d.BAUM_Power_to_X,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung_1",geometry:h["Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung_2",geometry:h["Netzeinspeisung_Baum_1_4-BAUM_Netzeinspeisung_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_4-BAUMSTAMM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_1_4-BAUMSTAMM_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_4-OUTLINE_WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_1_4-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:d.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Netzeinspeisung_Baum_5_5",position:[.705,0,0],rotation:[-.013,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung"].geometry,material:d.BAUM_Power_to_X,rotation:[-.013,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung_1",geometry:h["Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_5-BAUMSTAMM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_5_5-BAUMSTAMM_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_5-OUTLINE_WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_5_5-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung_2",geometry:h["Netzeinspeisung_Baum_5_5-BAUM_Netzeinspeisung_2"].geometry,material:d.BAUM_Power_to_X})),r.createElement("group",{name:"Netzeinspeisung_Baum_4_6",position:[-.705,0,-.41],rotation:[.011,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_6-BAUM_Netzeinspeisung_1",geometry:h["Netzeinspeisung_Baum_4_6-BAUM_Netzeinspeisung_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_6-BAUM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_4_6-BAUM_Netzeinspeisung"].geometry,material:d.BAUM_Power_to_X,rotation:[.011,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_6-BAUMSTAMM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_4_6-BAUMSTAMM_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_4_6-OUTLINE_WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_4_6-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:d.OUTLINE_WEISS_Power_to_X})),r.createElement("group",{name:"Netzeinspeisung_Baum_3_7",position:[.705,0,-.41],rotation:[-.017,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_7-BAUM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_3_7-BAUM_Netzeinspeisung"].geometry,material:d.BAUM_Power_to_X,rotation:[-.017,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_7-BAUMSTAMM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_3_7-BAUMSTAMM_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_7-OUTLINE_WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_3_7-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_3_7-BAUM_Netzeinspeisung_1",geometry:h["Netzeinspeisung_Baum_3_7-BAUM_Netzeinspeisung_1"].geometry,material:d.BAUM_Power_to_X})),r.createElement("group",{name:"Netzeinspeisung_Baum_2_8",position:[-.705,0,-.82],rotation:[.013,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung"].geometry,material:d.BAUM_Power_to_X,rotation:[.013,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung_1",geometry:h["Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung_1"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_8-OUTLINE_WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_2_8-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung_2",geometry:h["Netzeinspeisung_Baum_2_8-BAUM_Netzeinspeisung_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_2_8-BAUMSTAMM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_2_8-BAUMSTAMM_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Netzeinspeisung_Baum_1_9",position:[.705,0,-.82],rotation:[.017,0,0]},r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung"].geometry,material:d.BAUM_Power_to_X,rotation:[.017,0,0]}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung_2",geometry:h["Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung_2"].geometry,material:d.BAUM_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_9-BAUMSTAMM_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_1_9-BAUMSTAMM_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_9-OUTLINE_WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Baum_1_9-OUTLINE_WEISS_Netzeinspeisung"].geometry,material:d.OUTLINE_WEISS_Power_to_X}),r.createElement("mesh",{name:"Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung_1",geometry:h["Netzeinspeisung_Baum_1_9-BAUM_Netzeinspeisung_1"].geometry,material:d.BAUM_Power_to_X}))),r.createElement("group",{name:"Windkraftwerk_1",position:[-2.12,.083,-2.362],rotation:[0,.275,0]},r.createElement("mesh",{name:"Windenergie_Rotoren_3",geometry:h.Windenergie_Rotoren_3.geometry,material:d.WEISS_Sign_1,position:[0,.841,.096]},r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_a_3",geometry:h.Windenergie_Rotoren_Outline_a_3.geometry,material:d.ROT_Linien,position:[0,0,.044]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_b_3",geometry:h.Windenergie_Rotoren_Outline_b_3.geometry,material:d.ROT_Linien,position:[0,0,.021]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_3",geometry:h.Windenergie_Rotoren_Outline_3.geometry,material:d.ROT_Linien,position:[2.851,-.873,3.077]}))),r.createElement("group",{name:"Windkraftwerk_2",position:[-3.16,.083,-2.545],rotation:[0,.4,0]},r.createElement("mesh",{name:"Windenergie_Rotoren_3_1",geometry:h.Windenergie_Rotoren_3_1.geometry,material:d.WEISS_Sign_1,position:[0,.841,.096]},r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_a_3_1",geometry:h.Windenergie_Rotoren_Outline_a_3_1.geometry,material:d.ROT_Linien,position:[0,0,.044]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_b_3_1",geometry:h.Windenergie_Rotoren_Outline_b_3_1.geometry,material:d.ROT_Linien,position:[0,0,.021]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_3_1",geometry:h.Windenergie_Rotoren_Outline_3_1.geometry,material:d.ROT_Linien,position:[2.851,-.873,3.077]}))),r.createElement("group",{name:"Windkraftwerk_3",position:[-2.493,.122,-3.768],rotation:[0,.275,0]},r.createElement("mesh",{name:"Windenergie_Rotoren_3_2",geometry:h.Windenergie_Rotoren_3_2.geometry,material:d.WEISS_Sign_1,position:[0,.841,.096]},r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_a_3_2",geometry:h.Windenergie_Rotoren_Outline_a_3_2.geometry,material:d.ROT_Linien,position:[0,0,.044]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_b_3_2",geometry:h.Windenergie_Rotoren_Outline_b_3_2.geometry,material:d.ROT_Linien,position:[0,0,.021]}),r.createElement("mesh",{name:"Windenergie_Rotoren_Outline_3_2",geometry:h.Windenergie_Rotoren_Outline_3_2.geometry,material:d.ROT_Linien,position:[2.851,-.873,3.077]}))),r.createElement("group",{name:"Floating_PV_Anlage",position:[-2.334,.04,2.6]},r.createElement("group",{name:"Floating_PV_Element_0Floating_PV_Element_0_(Kopie)",position:[-.15,0,.6]},r.createElement("mesh",{name:"Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1}),r.createElement("mesh",{name:"Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_0Floating_PV_Element_0_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_1Floating_PV_Element_1_(Kopie)",position:[0,.003,.6]},r.createElement("mesh",{name:"Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,.003,0]}),r.createElement("mesh",{name:"Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_1Floating_PV_Element_1_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_2Floating_PV_Element_2_(Kopie)",position:[.15,.006,.6]},r.createElement("mesh",{name:"Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,.006,0]}),r.createElement("mesh",{name:"Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_2Floating_PV_Element_2_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_3Floating_PV_Element_3_(Kopie)",position:[-.15,.008,.3]},r.createElement("mesh",{name:"Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,.008,0]}),r.createElement("mesh",{name:"Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_3Floating_PV_Element_3_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_4Floating_PV_Element_4_(Kopie)",position:[0,.008,.3]},r.createElement("mesh",{name:"Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,.008,0]}),r.createElement("mesh",{name:"Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_4Floating_PV_Element_4_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_5Floating_PV_Element_5_(Kopie)",position:[.15,.007,.3]},r.createElement("mesh",{name:"Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,.007,0]}),r.createElement("mesh",{name:"Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_5Floating_PV_Element_5_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_6Floating_PV_Element_6_(Kopie)",position:[-.15,.005,0]},r.createElement("mesh",{name:"Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,.005,0]}),r.createElement("mesh",{name:"Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_6Floating_PV_Element_6_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_7Floating_PV_Element_7_(Kopie)",position:[0,.002,0]},r.createElement("mesh",{name:"Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,.002,0]}),r.createElement("mesh",{name:"Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_7Floating_PV_Element_7_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_8Floating_PV_Element_8_(Kopie)",position:[.15,-.002,0]},r.createElement("mesh",{name:"Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,-.002,0]}),r.createElement("mesh",{name:"Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_8Floating_PV_Element_8_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_9Floating_PV_Element_9_(Kopie)",position:[-.15,-.005,-.3]},r.createElement("mesh",{name:"Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,-.005,0]}),r.createElement("mesh",{name:"Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_9Floating_PV_Element_9_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_10Floating_PV_Element_10_(Kopie)",position:[0,-.007,-.3]},r.createElement("mesh",{name:"Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,-.007,0]}),r.createElement("mesh",{name:"Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-ROT_Floating_PV"].geometry
2,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_10Floating_PV_Element_10_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_11Floating_PV_Element_11_(Kopie)",position:[.15,-.008,-.3]},r.createElement("mesh",{name:"Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,-.008,0]}),r.createElement("mesh",{name:"Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_11Floating_PV_Element_11_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_12Floating_PV_Element_12_(Kopie)",position:[-.15,-.008,-.6]},r.createElement("mesh",{name:"Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,-.008,0]}),r.createElement("mesh",{name:"Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_12Floating_PV_Element_12_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_13Floating_PV_Element_13_(Kopie)",position:[0,-.006,-.6]},r.createElement("mesh",{name:"Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,-.006,0]}),r.createElement("mesh",{name:"Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_13Floating_PV_Element_13_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1})),r.createElement("group",{name:"Floating_PV_Element_14Floating_PV_Element_14_(Kopie)",position:[.15,-.003,-.6]},r.createElement("mesh",{name:"Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-WEISS_Floating_PV",geometry:h["Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-WEISS_Floating_PV"].geometry,material:d.WEISS_Sign_1,position:[0,-.003,0]}),r.createElement("mesh",{name:"Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-ROT_Floating_PV",geometry:h["Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-ROT_Floating_PV"].geometry,material:d.ROT_Linien}),r.createElement("mesh",{name:"Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-WEISS_Floating_PV_1",geometry:h["Floating_PV_Element_14Floating_PV_Element_14_(Kopie)-WEISS_Floating_PV_1"].geometry,material:d.WEISS_Sign_1}))),r.createElement("mesh",{name:"Ebene14",geometry:h.Ebene14.geometry,material:d.BLAU_Linien,position:[1.542,.02,.967],rotation:[0,-Math.PI/2,0]}),r.createElement("mesh",{name:"Ebene13",geometry:h.Ebene13.geometry,material:d.BLAU_Linien,position:[.416,.02,-.2]}),r.createElement("mesh",{name:"Ebene12",geometry:h.Ebene12.geometry,material:d.BLAU_Linien,position:[.416,.02,2.81]}),r.createElement("mesh",{name:"Ebene11",geometry:h.Ebene11.geometry,material:d.BLAU_Linien,position:[-1.365,.02,1.945],rotation:[0,-Math.PI/2,0]}),r.createElement("mesh",{name:"Ebene10",geometry:h.Ebene10.geometry,material:d.BLAU_Linien,position:[-1.365,.02,.747],rotation:[0,-Math.PI/2,0]}),r.createElement("mesh",{name:"Ebene9",geometry:h.Ebene9.geometry,material:d.BLAU_Linien,position:[-1.173,.02,-2.439],rotation:[0,Math.PI/2,0]}),r.createElement("mesh",{name:"Ebene8",geometry:h.Ebene8.geometry,material:d.BLAU_Linien,position:[-.423,.02,-1.001]}),r.createElement("mesh",{name:"Ebene7",geometry:h.Ebene7.geometry,material:d.ROT_Linien,position:[.691,.02,-5.574]}),r.createElement("mesh",{name:"Ebene6",geometry:h.Ebene6.geometry,material:d.ROT_Linien,position:[.346,.02,-4.737],rotation:[0,Math.PI/2,0]}),r.createElement("mesh",{name:"Ebene5",geometry:h.Ebene5.geometry,material:d.ROT_Linien,position:[-.778,.02,-4.979]}),r.createElement("mesh",{name:"Ebene4",geometry:h.Ebene4.geometry,material:d.ROT_Linien,position:[-.388,.02,-4.737],rotation:[0,Math.PI/2,0]}),r.createElement("mesh",{name:"Ebene3",geometry:h.Ebene3.geometry,material:d.ROT_Linien,position:[.003,.02,-4.383]}),r.createElement("mesh",{name:"Ebene2",geometry:h.Ebene2.geometry,material:d.BLAU_Linien,position:[.003,.02,-3.043],rotation:[0,-Math.PI/2,0]}),r.createElement("mesh",{name:"Ebene1",geometry:h.Ebene1.geometry,material:d.BLAU_Linien,position:[.003,.02,-1.792]}),r.createElement("mesh",{name:"Sign_5_BG",geometry:h.Sign_5_BG.geometry,material:d.ROT_Linien,position:[1.33,.338,-3.288]}),r.createElement("mesh",{name:"Sign_2_BG",geometry:h.Sign_2_BG.geometry,material:d.ROT_Linien,position:[-1.288,.338,-3.542]}),r.createElement("mesh",{name:"Sign_1_BG",geometry:h.Sign_1_BG.geometry,material:d.ROT_Linien,position:[.024,.258,-3.819]}),r.createElement("mesh",{name:"Netzeinspeisung_Sign_BG",geometry:h.Netzeinspeisung_Sign_BG.geometry,material:d.ROT_Linien,position:[.531,.336,-6.793]}),r.createElement("mesh",{name:"Sign_5_ex",geometry:h.Sign_5_ex.geometry,material:d.SIGN_WEISS_Sign_5,position:[1.329,.335,-3.277]}),r.createElement("mesh",{name:"Sign_5_Diagramm_1",geometry:h.Sign_5_Diagramm_1.geometry,material:d.DIAGRAMM_1_Sign_5,position:[1.547,.241,-2.917]}),r.createElement("mesh",{name:"Sign_5_Diagramm_2",geometry:h.Sign_5_Diagramm_2.geometry,material:d.DIAGRAMM_2_Sign_5,position:[1.349,.305,-2.599],rotation:[-.099,.558,.1]}),r.createElement("mesh",{name:"Sign_5_Diagramm_3",geometry:h.Sign_5_Diagramm_3.geometry,material:d.TASTATUR_Sign_5,position:[1.547,.025,-2.728]}),r.createElement("mesh",{name:"Sign_2_ex",geometry:h.Sign_2_ex.geometry,material:d.SIGN_WEISS_Sign_5,position:[-1.288,.338,-3.532]}),r.createElement("mesh",{name:"Wartung_Boden1",geometry:h.Wartung_Boden1.geometry,material:d.WEISS_Sign_1,position:[.023,.024,-3.825]}),r.createElement("mesh",{name:"Sign_1",geometry:h.Sign_1.geometry,material:d.SIGN_WEISS_Sign_5,position:[.026,.258,-3.809]}),r.createElement("mesh",{name:"Wartung_Typ-WARTUNG_TYP_HAUT_Wartung",geometry:h["Wartung_Typ-WARTUNG_TYP_HAUT_Wartung"].geometry,material:d.WARTUNG_TYP_HAUT_Wartung,position:[-1.243,.046,-3.084]}),r.createElement("mesh",{name:"Wartung_Typ-SCHUHE_Wartung",geometry:h["Wartung_Typ-SCHUHE_Wartung"].geometry,material:d.SCHUHE_Wartung,position:[-1.243,.046,-3.084]}),r.createElement("mesh",{name:"Wartung_Typ-ROT_Wartung",geometry:h["Wartung_Typ-ROT_Wartung"].geometry,material:d.ROT_Linien,position:[-1.243,.046,-3.084]}),r.createElement("mesh",{name:"Wartung_Tablet",geometry:h.Wartung_Tablet.geometry,material:d.WEISS_Sign_1,position:[-1.223,.281,-3.021],rotation:[-1.325,0,0]}),r.createElement("mesh",{name:"Wartung_Boden-SCHATTEN_GRAU_Wartung",geometry:h["Wartung_Boden-SCHATTEN_GRAU_Wartung"].geometry,material:d.SCHATTEN_GRAU_Wartung,position:[-1.243,.024,-3.084]}),r.createElement("mesh",{name:"Wartung_Boden-WEISS_Wartung",geometry:h["Wartung_Boden-WEISS_Wartung"].geometry,material:d.WEISS_Sign_1,position:[-1.243,.024,-3.084]}),r.createElement("mesh",{name:"Energiespeicher_Batterie_0-BATTERIE_BG_Energiespeicher",geometry:h["Energiespeicher_Batterie_0-BATTERIE_BG_Energiespeicher"].geometry,material:d.BATTERIE_BG_Energiespeicher,position:[.394,.145,-1.18]}),r.createElement("mesh",{name:"Energiespeicher_Batterie_1-BATTERIE_BG_Energiespeicher",geometry:h["Energiespeicher_Batterie_1-BATTERIE_BG_Energiespeicher"].geometry,material:d.BATTERIE_BG_Energiespeicher,position:[.604,.145,-1.18]}),r.createElement("mesh",{name:"Energiespeicher_Batterie_2-BATTERIE_BG_Energiespeicher",geometry:h["Energiespeicher_Batterie_2-BATTERIE_BG_Energiespeicher"].geometry,material:d.BATTERIE_BG_Energiespeicher,position:[.814,.145,-1.18]}),r.createElement("mesh",{name:"Energiespeicher_Batterie_0-WEISS_Energiespeicher",geometry:h["Energiespeicher_Batterie_0-WEISS_Energiespeicher"].geometry,material:d.WEISS_Sign_1,position:[.394,.145,-1.18]}),r.createElement("mesh",{name:"Energiespeicher_Batterie_1-WEISS_Energiespeicher",geometry:h["Energiespeicher_Batterie_1-WEISS_Energiespeicher"].geometry,material:d.WEISS_Sign_1,position:[.604,.145,-1.18]}),r.createElement("mesh",{name:"Energiespeicher_Batterie_2-WEISS_Energiespeicher",geometry:h["Energiespeicher_Batterie_2-WEISS_Energiespeicher"].geometry,material:d.WEISS_Sign_1,position:[.814,.145,-1.18]}),r.createElement("mesh",{name:"Energiespeicher_Batterie_0-ROT_Energiespeicher",geometry:h["Energiespeicher_Batterie_0-ROT_Energiespeicher"].geometry,material:d.ROT_Linien,position:[.394,.145,-1.18]}),r.createElement("mesh",{name:"Energiespeicher_Batterie_1-ROT_Energiespeicher",geometry:h["Energiespeicher_Batterie_1-ROT_Energiespeicher"].geometry,material:d.ROT_Linien,position:[.604,.145,-1.18]}),r.createElement("mesh",{name:"Energiespeicher_Batterie_2-ROT_Energiespeicher",geometry:h["Energiespeicher_Batterie_2-ROT_Energiespeicher"].geometry,material:d.ROT_Linien,position:[.814,.145,-1.18]}),r.createElement("mesh",{name:"Energiespeicher_Boden-WEISS_Energiespeicher",geometry:h["Energiespeicher_Boden-WEISS_Energiespeicher"].geometry,material:d.WEISS_Sign_1,position:[.583,-.005,-1.18]}),r.createElement("mesh",{name:"Energiespeicher_Boden-ROT_Energiespeicher",geometry:h["Energiespeicher_Boden-ROT_Energiespeicher"].geometry,material:d.ROT_Linien,position:[.583,-.005,-1.18]}),r.createElement("mesh",{name:"Power_to_X_Räder_LKW-LKW_Power_to_X",geometry:h["Power_to_X_Räder_LKW-LKW_Power_to_X"].geometry,material:d.LKW_Power_to_X,position:[3.031,.117,1.061]}),r.createElement("mesh",{name:"Power_to_X_Räder_LKW-WEISS_Power_to_X",geometry:h["Power_to_X_Räder_LKW-WEISS_Power_to_X"].geometry,material:d.WEISS_Sign_1,position:[3.031,.117,1.061]}),r.createElement("mesh",{name:"Power_to_X_PV_LKW_FRONT-WEISS_Power_to_X",geometry:h["Power_to_X_PV_LKW_FRONT-WEISS_Power_to_X"].geometry,material:d.WEISS_Sign_1,position:[2.798,.196,1.061]}),r.createElement("mesh",{name:"Power_to_X_PV_LKW_FRONT-LKW_GLAS_Power_to_X",geometry:h["Power_to_X_PV_LKW_FRONT-LKW_GLAS_Power_to_X"].geometry,material:d.BATTERIE_BG_Energiespeicher,position:[2.798,.196,1.061]}),r.createElement("mesh",{name:"Power_to_X_PV_LKW_FRONT-LKW_Power_to_X",geometry:h["Power_to_X_PV_LKW_FRONT-LKW_Power_to_X"].geometry,material:d.LKW_Power_to_X,position:[2.798,.196,1.061]}),r.createElement("mesh",{name:"Power_to_X_LKW-WEISS_Power_to_X",geometry:h["Power_to_X_LKW-WEISS_Power_to_X"].geometry,material:d.WEISS_Sign_1,position:[2.798,.196,1.061]}),r.createElement("mesh",{name:"Power_to_X_LKW-LKW_Power_to_X",geometry:h["Power_to_X_LKW-LKW_Power_to_X"].geometry,material:d.LKW_Power_to_X,position:[2.798,.196,1.061]}),r.createElement("mesh",{name:"Power_to_X_Sign-LKW_Power_to_X",geometry:h["Power_to_X_Sign-LKW_Power_to_X"].geometry,material:d.LKW_Power_to_X,position:[3.125,.284,.235]}),r.createElement("mesh",{name:"Power_to_X_Sign-WEISS_Power_to_X",geometry:h["Power_to_X_Sign-WEISS_Power_to_X"].geometry,material:d.WEISS_Sign_1,position:[3.125,.284,.235]}),r.createElement("mesh",{name:"Power_to_X_Silo-WEISS_Power_to_X",geometry:h["Power_to_X_Silo-WEISS_Power_to_X"].geometry,material:d.WEISS_Sign_1,position:[2.118,.399,.56]}),r.createElement("mesh",{name:"Power_to_X_Silo-SCHATTEN_GRAU_Power_to_X",geometry:h["Power_to_X_Silo-SCHATTEN_GRAU_Power_to_X"].geometry,material:d.SCHATTEN_GRAU_Wartung,position:[2.118,.399,.56]}),r.createElement("mesh",{name:"Power_to_X_Haus-WEISS_Power_to_X",geometry:h["Power_to_X_Haus-WEISS_Power_to_X"].geometry,material:d.WEISS_Sign_1,position:[2.722,.209,.431]}),r.createElement("mesh",{name:"Power_to_X_Haus-SCHATTEN_GRAU_Power_to_X",geometry:h["Power_to_X_Haus-SCHATTEN_GRAU_Power_to_X"].geometry,material:d.SCHATTEN_GRAU_Wartung,position:[2.722,.209,.431]}),r.createElement("mesh",{name:"Power_to_X_Boden_Extra",geometry:h.Power_to_X_Boden_Extra.geometry,material:d.LAND_1_Power_to_X,position:[3.522,.043,-.469]}),r.createElement("mesh",{name:"Netzeinspeisung_Finanzen_Insel",geometry:h.Netzeinspeisung_Finanzen_Insel.geometry,material:d.SCHATTEN_GRAU_Wartung,position:[.3
264,.041,-7.113]}),r.createElement("mesh",{name:"Power_to_X_Boden",geometry:h.Power_to_X_Boden.geometry,material:d.BODEN_GRAU_Power_to_X,position:[2.722,.043,.431]}),r.createElement("mesh",{name:"Power_to_heat_Signs-WEISS_Power_to_heat",geometry:h["Power_to_heat_Signs-WEISS_Power_to_heat"].geometry,material:d.WEISS_Sign_1,position:[0,.696,0]}),r.createElement("mesh",{name:"Power_to_heat_Signs-ROT_Power_to_heat",geometry:h["Power_to_heat_Signs-ROT_Power_to_heat"].geometry,material:d.ROT_Linien,position:[0,.696,0]}),r.createElement("mesh",{name:"Power_to_heat_Haus-WEISS_Power_to_heat",geometry:h["Power_to_heat_Haus-WEISS_Power_to_heat"].geometry,material:d.WEISS_Sign_1,position:[.648,.261,3.93]}),r.createElement("mesh",{name:"Power_to_heat_Haus-SCHATTEN_GRAU_Power_to_heat",geometry:h["Power_to_heat_Haus-SCHATTEN_GRAU_Power_to_heat"].geometry,material:d.SCHATTEN_GRAU_Wartung,position:[.648,.261,3.93]}),r.createElement("mesh",{name:"Power_to_heat_Zylinder_1-SPEICHER_Power_to_heat",geometry:h["Power_to_heat_Zylinder_1-SPEICHER_Power_to_heat"].geometry,material:d.BLAU_Linien,position:[.629,.183,4.222]}),r.createElement("mesh",{name:"Power_to_heat_Zylinder_2-SPEICHER_Power_to_heat",geometry:h["Power_to_heat_Zylinder_2-SPEICHER_Power_to_heat"].geometry,material:d.BLAU_Linien,position:[.962,.183,4.222]}),r.createElement("mesh",{name:"Power_to_heat_Zylinder_1-WEISS_Power_to_heat",geometry:h["Power_to_heat_Zylinder_1-WEISS_Power_to_heat"].geometry,material:d.WEISS_Sign_1,position:[.629,.183,4.222]}),r.createElement("mesh",{name:"Power_to_heat_Zylinder_2-WEISS_Power_to_heat",geometry:h["Power_to_heat_Zylinder_2-WEISS_Power_to_heat"].geometry,material:d.WEISS_Sign_1,position:[.962,.183,4.222]}),r.createElement("mesh",{name:"Power_to_heat_Speicher-ROT_Power_to_heat",geometry:h["Power_to_heat_Speicher-ROT_Power_to_heat"].geometry,material:d.ROT_Linien,position:[1.374,.11,4.671]}),r.createElement("mesh",{name:"Power_to_heat_Speicher-WEISS_Power_to_heat",geometry:h["Power_to_heat_Speicher-WEISS_Power_to_heat"].geometry,material:d.WEISS_Sign_1,position:[1.374,.11,4.671]}),r.createElement("mesh",{name:"Power_to_heat_Boden",geometry:h.Power_to_heat_Boden.geometry,material:d.BODEN_GRAU_Power_to_X,position:[.777,.036,4.103]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Anlage",geometry:h.Hauptgebäude_Aufdach_PV_Anlage.geometry,material:h.Hauptgebäude_Aufdach_PV_Anlage.material,position:[.078,.481,1.24]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Anlage-WEISS_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Anlage-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:d.WEISS_Sign_1,position:[.078,.481,1.24]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Anlage-ROT_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Anlage-ROT_Hauptgebäude_Aufdach_PV"].geometry,material:d.ROT_Linien,position:[.078,.481,1.24]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Ladestation_Boden-WEISS_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Ladestation_Boden-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:d.WEISS_Sign_1,position:[-.078,.082,1.945],rotation:[0,Math.PI/2,0]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Ladestation_Boden-ROT_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Ladestation_Boden-ROT_Hauptgebäude_Aufdach_PV"].geometry,material:d.ROT_Linien,position:[-.078,.082,1.945],rotation:[0,Math.PI/2,0]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Ladestation-WEISS_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Ladestation-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:d.WEISS_Sign_1,position:[-.103,.16,1.945]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Ladestation-ROT_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Ladestation-ROT_Hauptgebäude_Aufdach_PV"].geometry,material:d.ROT_Linien,position:[-.103,.16,1.945]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_2-WEISS_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Auto_2-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:d.WEISS_Sign_1,position:[.314,.144,2.239],rotation:[0,Math.PI/2,0]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_21-WEISS_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Auto_21-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:d.WEISS_Sign_1,position:[-.002,.144,2.239],rotation:[0,Math.PI/2,0]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_2-ROT_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Auto_2-ROT_Hauptgebäude_Aufdach_PV"].geometry,material:d.ROT_Linien,position:[.314,.144,2.239],rotation:[0,Math.PI/2,0]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_21-ROT_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Auto_21-ROT_Hauptgebäude_Aufdach_PV"].geometry,material:d.ROT_Linien,position:[-.002,.144,2.239],rotation:[0,Math.PI/2,0]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_Räder_2-WEISS_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Auto_Räder_2-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:d.WEISS_Sign_1,position:[.314,.144,2.239]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_Räder_2-WEISS_Hauptgebäude_Aufdach_PV_1",geometry:h["Hauptgebäude_Aufdach_PV_Auto_Räder_2-WEISS_Hauptgebäude_Aufdach_PV_1"].geometry,material:d.WEISS_Sign_1,position:[-.002,.144,2.239]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_Räder_2-ROT_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Auto_Räder_2-ROT_Hauptgebäude_Aufdach_PV"].geometry,material:d.ROT_Linien,position:[.314,.144,2.239]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Auto_Räder_2-ROT_Hauptgebäude_Aufdach_PV_1",geometry:h["Hauptgebäude_Aufdach_PV_Auto_Räder_2-ROT_Hauptgebäude_Aufdach_PV_1"].geometry,material:d.ROT_Linien,position:[-.002,.144,2.239]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV"].geometry,material:d.LKW_Power_to_X,position:[.672,.188,.951]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-LKW_GLAS_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_LKW-LKW_GLAS_Hauptgebäude_Aufdach_PV"].geometry,material:d.BATTERIE_BG_Energiespeicher,position:[.672,.188,.951]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV_1",geometry:h["Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV_1"].geometry,material:d.LKW_Power_to_X,position:[.672,.188,.951]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-WEISS_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_LKW-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:d.WEISS_Sign_1,position:[.672,.188,.951]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-WEISS_Hauptgebäude_Aufdach_PV_1",geometry:h["Hauptgebäude_Aufdach_PV_LKW-WEISS_Hauptgebäude_Aufdach_PV_1"].geometry,material:d.WEISS_Sign_1,position:[.672,.188,.951]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV_2",geometry:h["Hauptgebäude_Aufdach_PV_LKW-LKW_Hauptgebäude_Aufdach_PV_2"].geometry,material:d.LKW_Power_to_X,position:[.672,.188,.951]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Haus_oben-WEISS_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Haus_oben-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:d.WEISS_Sign_1,position:[-.068,.353,1.255]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Haus_oben-SCHATTEN_GRAU_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Haus_oben-SCHATTEN_GRAU_Hauptgebäude_Aufdach_PV"].geometry,material:d.SCHATTEN_GRAU_Wartung,position:[-.068,.353,1.255]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Haus_unten-WEISS_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Haus_unten-WEISS_Hauptgebäude_Aufdach_PV"].geometry,material:d.WEISS_Sign_1,position:[-.068,.169,1.255]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Haus_unten-SCHATTEN_GRAU_Hauptgebäude_Aufdach_PV",geometry:h["Hauptgebäude_Aufdach_PV_Haus_unten-SCHATTEN_GRAU_Hauptgebäude_Aufdach_PV"].geometry,material:d.SCHATTEN_GRAU_Wartung,position:[-.068,.169,1.255]}),r.createElement("mesh",{name:"Hauptgebäude_Aufdach_PV_Boden",geometry:h.Hauptgebäude_Aufdach_PV_Boden.geometry,material:d.BODEN_GRAU_Power_to_X,position:[.171,.038,1.417]}),r.createElement("mesh",{name:"Netzeinspeisung_Boden",geometry:h.Netzeinspeisung_Boden.geometry,material:d.BODEN_GRAU_Power_to_X,position:[-.636,.041,-6.113]}),r.createElement("mesh",{name:"Netzeinspeisung_Sign_Ex",geometry:h.Netzeinspeisung_Sign_Ex.geometry,material:d.WEISS_Sign_1,position:[.532,.336,-6.783]}),r.createElement("mesh",{name:"Netzeinspeisung_Outline",geometry:h.Netzeinspeisung_Outline.geometry,material:d.WEISS_Sign_1,position:[-.636,.648,-5.516]}),r.createElement("mesh",{name:"Netzeinspeisung_Blitz-ROT_Netzeinspeisung",geometry:h["Netzeinspeisung_Blitz-ROT_Netzeinspeisung"].geometry,material:d.ROT_Linien,position:[-.636,.648,-5.547]}),r.createElement("mesh",{name:"Netzeinspeisung_Blitz-WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Blitz-WEISS_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1,position:[-.636,.648,-5.547]}),r.createElement("mesh",{name:"Netzeinspeisung_Haus_Oben-WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Haus_Oben-WEISS_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1,position:[-.636,.648,-6.113]}),r.createElement("mesh",{name:"Netzeinspeisung_Haus_Oben-SCHATTEN_GRAU_Netzeinspeisung",geometry:h["Netzeinspeisung_Haus_Oben-SCHATTEN_GRAU_Netzeinspeisung"].geometry,material:d.SCHATTEN_GRAU_Wartung,position:[-.636,.648,-6.113]}),r.createElement("mesh",{name:"Netzeinspeisung_Haus_unten-WEISS_Netzeinspeisung",geometry:h["Netzeinspeisung_Haus_unten-WEISS_Netzeinspeisung"].geometry,material:d.WEISS_Sign_1,position:[-.636,.123,-6.113]}),r.createElement("mesh",{name:"Netzeinspeisung_Haus_unten-SCHATTEN_GRAU_Netzeinspeisung",geometry:h["Netzeinspeisung_Haus_unten-SCHATTEN_GRAU_Netzeinspeisung"].geometry,material:d.SCHATTEN_GRAU_Wartung,position:[-.636,.123,-6.113]}),r.createElement("mesh",{name:"Windenergie_Kanzel_3",geometry:h.Windenergie_Kanzel_3.geometry,material:d.WEISS_Sign_1,position:[-2.123,.925,-2.373],rotation:[0,.275,0]}),r.createElement("mesh",{name:"Windenergie_Kanzel_3_1",geometry:h.Windenergie_Kanzel_3_1.geometry,material:d.WEISS_Sign_1,position:[-3.164,.925,-2.555],rotation:[0,.4,0]}),r.createElement("mesh",{name:"Windenergie_Kanzel_3_2",geometry:h.Windenergie_Kanzel_3_2.geometry,material:d.WEISS_Sign_1,position:[-2.496,.964,-3.779],rotation:[0,.275,0]}),r.createElement("mesh",{name:"Windenergie_KanzelOutline_Cube_3",geometry:h.Windenergie_KanzelOutline_Cube_3.geometry,material:d.ROT_Linien,position:[-2.123,.925,-2.373],rotation:[0,.275,0]}),r.createElement("mesh",{name:"Windenergie_KanzelOutline_Cube_3_1",geometry:h.Windenergie_KanzelOutline_Cube_3_1.geometry,material:d.ROT_Linien,position:[-3.164,.925,-2.555],rotation:[0,.4,0]}),r.createElement("mesh",{name:"Windenergie_KanzelOutline_Cube_3_2",geometry:h.Windenergie_KanzelOutline_Cube_3_2.geometry,material:d.ROT_Linien,position:[-2.496,.964,-3.779],rotation:[0,.275,0]}),r.createElement("mesh",{name:"Windenergie_Turm_Outline_3",geometry:h.Windenergie_Turm_Outline_3.geometry,material:d.ROT_Linien,position:[1.483,.051,-.086],rotation:[0,.275,0]}),r.createElement("mesh",{name:"Windenergie_Turm_Outline_3_1",geometry:h.Windenergie_Turm_Outline_3_1.geometry,material:d.ROT_Linien,position:[.7,.051,-.738],rotation:[0,.4,0]}),r.createElement("mesh",{name:"Windenergie_Turm_Outline_3_2",geometry:h.Windenergie_Turm_Outline_3_2.geometry,material:d.ROT_Linien,position:[1.111,.09,-1.492],rotation:[0,.275,0]}),r.createElement("mesh",{name:"Windenergie_Turm_3-WEISS_Windenergie",geometry:h["Windenergie_Turm_3-WEISS_Windenergie"].geometry,material:d.WEISS_Sign_1,position:[-2.12,.492,-2.362],rotation:[0,.275,0]}),r.createElement("mesh",{name:"Windenergie_Turm_3-WEISS_Windenergie_1",geometry:h["Windenergie_Turm_3-WEISS_Windenergie_1"].geometry,material:d.WEISS_Sign_1,position:[-3.16,.492,-2.545],rotation:[0,.4,0]}),r.createElement("mesh",{name:"Windenergie_Turm_3-WEISS_Windenergie_2",geometry:h["Windenergie_Turm_3-WEISS_Windenergie_2"].geometry,material:d.WEISS_Sign_1,position:[-2.493,.53,-3.768],rotation:[0,.275,0]}),r.createElement("mesh",{name:"Windenergie_Turm_3-ROT_Windenergie",geometry:h["Windenergie_Turm_3-ROT_Windenergie"].geometry,material:d.ROT_Linien,position:[-2.12,.492,-2.362],rotation:[0,.275,0]}),r.createElement("mesh",{name:"Windenergie_Turm_3-ROT_Windenergie_1",geometry:h["Windenergie_Turm_3-ROT_Windenergie_1"].geometry,material:d.ROT_Linien,position:[-3.16,.492,-2.545],rotation:[0,.4,0]}),r.createElement("mesh",{name:"Windenergie_Turm_3-ROT_Windenergie_2",geometry:h["Windenergie_Turm_3-ROT_Windenergie_2"].geometry,material:d.ROT_Linien,position:[-2.493,.53,-3.768],rotation:[0,.275,0]}),r.createElement("mesh",{name:"Windenergie_Land_3",geometry:h.Windenergie_Land_3.geometry,material:d.LAND_1_Power_to_X,position:[-2.949,.08,-3.261]}),r.createElement("mesh",{name:"Windenergie_Land_2",geometry:h.Windenergie_Land_2.geometry,material:d.LAND_2_Windenergie,position:[-2.949,.04,-3.261]}),r.createElement("mesh",{name:"Windenergie_Land_1",geometry:h.Windenergie_Land_1.geometry,material:d.LAND_3_Windenergie,position:[-2.949,.02,-3.261]}),r.createElement("mesh",{name:"Freifläche_PV_Land_1",geometry:h.Freifläche_PV_Land_1.geometry,material:d.LAND_3_Windenergie,position:[-2.913,.02,-.075]}),r.createElement("mesh",{name:"PV_Anlage-ROT_Freifläche_PV",geometry:h["PV_Anlage-ROT_Freifläche_PV"].geometry,material:d.ROT_Linien,position:[-2.83,.081,-.134]}),r.createElement("mesh",{name:"PV_Anlage-WEISS_Freifläche_PV",geometry:h["PV_Anlage-WEISS_Freifläche_PV"].geometry,material:d.WEISS_Sign_1,position:[-2.83,.081,-.134]}),r.createElement("mesh",{name:"Freifläche_PV_Land_3",geometry:h.Freifläche_PV_Land_3.geometry,material:d.LAND_1_Power_to_X,position:[-2.913,.08,-.075]}),r.createElement("mesh",{name:"Freifläche_PV_Land_2",geometry:h.Freifläche_PV_Land_2.geometry,material:d.LAND_2_Windenergie,position:[-2.913,.04,-.075]}),r.createElement("mesh",{name:"Floating_PV_Land",geometry:h.Floating_PV_Land.geometry,material:d.LAND_2_Windenergie,position:[-2.884,.08,2.6]}),r.createElement("mesh",{name:"Floating_PV_Ufer",geometry:h.Floating_PV_Ufer.geometry,material:d.BATTERIE_BG_Energiespeicher,position:[-2.884,.04,2.6]}),r.createElement("mesh",{name:"Floating_PV_Wasser",geometry:h.Floating_PV_Wasser.geometry,material:d.LKW_Power_to_X,position:[-2.884,.02,2.6]})))}i.p.preload("/content/dam/max-boegl-renewables/startseite/start-animation/insel_start.glb")},16:function(e,t,n){"use strict";var r=n(6540);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;
2!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}t.A=function(e){var t,n=e.data,a=i((0,r.useState)(!1),2),o=a[0],u=a[1];return(0,r.useEffect)((function(){return o?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll"),function(){document.body.classList.remove("no-scroll")}}),[o]),r.createElement("section",{id:"introduction",className:"".concat(o?"active":""," m-0 relative z-40 py-12 px-6 pb-32 sm:pb-28 md:px-6 md:pb-20")},r.createElement("div",{className:"close-button absolute top-6 right-6 cursor-pointer z-30 ",onClick:function(){u(!1)}},r.createElement("div",{className:" flex justify-center items-center bg-red w-12 h-12"},r.createElement("img",{width:13,height:13,src:null==n?void 0:n.crossIcon,alt:"close"}))),r.createElement("div",{className:"intro w-full z-4 relative sm:max-w-[596px] mx-auto md:max-w-[1031px]"},r.createElement("div",{className:"sm:pl-32 md:pl-36 video-space"},r.createElement("div",{className:"video-wrapper sm:aspect-[59/90] md:aspect-[11/9]"},r.createElement("video",{src:null==n?void 0:n.bannerVideo,loop:!0,muted:!0,playsInline:!0,className:"video-overlay md:rounded-tr-[250px]",style:{cursor:o?"auto":"url(".concat(null==n?void 0:n.cursorIcon,"), auto")},onClick:function(){window.scrollTo({top:0,behavior:"smooth"}),u(!0)},autoPlay:!0}))),r.createElement("div",{className:"-mt-20 md:-mt-36 text-wrapper"},r.createElement("div",{className:"flex-col justify-start items-start inline-flex"},r.createElement("div",{className:"self-stretch relative"},r.createElement("div",{className:"text-white"},r.createElement("p",{className:"font-h1 leading-snug shadow-headline",dangerouslySetInnerHTML:{__html:(t=null==n?void 0:n.bannerTitle,t?t.replace(/(<p>\s*)(\S[\s\S]*?)(?=<br>|<\/p>)/,"$1<span>$2</span>"):"")}}))),r.createElement("h1",{className:"self-stretch text-black font-h3 text-left mt-2 leading-none font-medium",dangerouslySetInnerHTML:{__html:null==n?void 0:n.bannerDescription}})))))}},9610:function(e,t,n){"use strict";var r=n(6540);t.A=function(e){var t=e.activeSection,n=e.stickyNavRef,i=e.data,a=function(e,t){e.preventDefault();var n=document.querySelector(t);n&&n.scrollIntoView({behavior:"smooth"})};return r.createElement("ul",{ref:n,className:"sticky-navigation w-full md:w-auto"},r.createElement("li",{className:"".concat(t===(null==i?void 0:i.windEnergyTabTitle)?"active border-red text-red":"border-black_20")},r.createElement("a",{href:"#Windenergie",className:"scroll-anchor font-body-small",onClick:function(e){return a(e,"#Windenergie")}},null==i?void 0:i.windEnergyTabTitle)),r.createElement("li",{className:"".concat(t===(null==i?void 0:i.towerConceptTabTitle)?"active border-red text-red":"border-black_20")},r.createElement("a",{href:"#Turmkonzept",className:"scroll-anchor font-body-small",onClick:function(e){return a(e,"#Turmkonzept")}},null==i?void 0:i.towerConceptTabTitle)),r.createElement("li",{className:"".concat(t===(null==i?void 0:i.expertiseTabTitle)?"active border-red text-red":"border-black_20")},r.createElement("a",{href:"#Fachkompetenz",className:"scroll-anchor font-body-small",onClick:function(e){return a(e,"#Fachkompetenz")}},null==i?void 0:i.expertiseTabTitle)))}},857:function(e,t,n){"use strict";var r=n(6540),i=n(5880),a=n(6575);i.Ay.registerPlugin(a.u);t.A=function(e){var t,n=e.data,a=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=a.current,t=e.querySelectorAll(".box"),n=i.Ay.timeline({scrollTrigger:{trigger:e,scrub:!0,start:"top 80%",end:"bottom 100%"}});t.forEach((function(e,t){n.fromTo(e,{y:200,opacity:0}
2,{y:0,opacity:1,delay:.5*t},0)}))}),[]),r.createElement("div",{className:"relative py-28 pb-10 w-full h-auto md:py-14",ref:a},r.createElement("div",{className:"w-full flex flex-col gap-12 sm:max-w-[472px]  md:max-w-full sm:mx-auto md:transform md:-translate-x-16"},r.createElement("div",{className:"p-6 w-full bg-white border-2 text-black_green border-black_20 sm:p-12 box card-shadow"},r.createElement("div",{className:"flex flex-col gap-6 justify-center items-start mb-6 text-left sm:flex-row shrink-0 sm:mb-12"},r.createElement("div",{className:"shrink-0"},r.createElement("img",{src:null==n?void 0:n.towerConceptCardIcon,width:48,height:48,alt:"Windenergie"})),r.createElement("h2",{className:"font-medium font-h3"},null==n?void 0:n.towerConceptCardTitle)),r.createElement("p",{className:"pt-6 font-h4",dangerouslySetInnerHTML:{__html:null==n?void 0:n.towerConceptCardDescription}})),r.createElement("div",{className:"w-full text-black_green"},r.createElement("div",{className:"grid grid-cols-2 gap-6"},null==n||null===(t=n.numberCardDetails)||void 0===t?void 0:t.map((function(e,t){return r.createElement("div",{key:t,className:"p-6 w-full border-2 bg-green_30 text-black_green sm:p-6 xl:p-12 border-green_light box card-shadow"},r.createElement("p",{className:"mb-6 font-medium font-h2-small sm:mb-12"},null==e?void 0:e.towerCounter),r.createElement("p",{className:"font-body"},null==e?void 0:e.towerCounterType))}))))))}},2915:function(e,t,n){"use strict";var r=n(6540),i=n(5880),a=n(6575);i.Ay.registerPlugin(a.u);t.A=function(e){var t,n=e.data,a=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=a.current,t=e.querySelectorAll(".box"),n=i.Ay.timeline({scrollTrigger:{trigger:e,scrub:!0,start:"top 80%",end:"bottom 100%"}});t.forEach((function(e,t){n.fromTo(e,{y:200,opacity:0},{y:0,opacity:1,delay:.5*t},0)}))}),[]),r.createElement("div",{className:"h-auto w-full relative py-28 md:py-14 pb-10",ref:a},r.createElement("div",{className:"w-full flex flex-col gap-12 text-left sm:max-w-[472px] md:max-w-full sm:mx-auto md:transform md:-translate-x-16"},null==n||null===(t=n.windEnergiesCards)||void 0===t?void 0:t.map((function(e,t){return r.createElement("div",{key:t,className:"bg-green_30 border-green_light border-2 text-black_green w-full p-6 sm:p-12 box card-shadow"},r.createElement("div",{className:"flex justify-start flex-col items-start sm:flex-row text-left gap-6 mb-6 sm:mb-12"},r.createElement("div",{className:"shrink-0"},r.createElement("img",{src:null==e?void 0:e.cardIcon,width:48,height:48,alt:"Windenergie"})),r.createElement("h2",{className:"font-h3 font-medium"},null==e?void 0:e.cardTitle)),r.createElement("h3",{className:"font-h4 font-medium"},null==e?void 0:e.cardPreTitle),r.createElement("p",{className:"font-h4 pt-4",dangerouslySetInnerHTML:{__html:null==e?void 0:e.cardDescription}}))}))))}},4836:function(e,t,n){"use strict";n.d(t,{A:function(){return P}});var r=n(6540),i=n(8700),a=n(8168),o=n(3783),u=n(9437),s=n(9949);const l={uniforms:{tDiffuse:{value:null},h:{value:1/512}},vertexShader:"\n      varying vec2 vUv;\n\n      void main() {\n\n        vUv = uv;\n        gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n      }\n  ",fragmentShader:"\n    uniform sampler2D tDiffuse;\n    uniform float h;\n\n    varying vec2 vUv;\n\n    void main() {\n\n    \tvec4 sum = vec4( 0.0 );\n\n    \tsum += texture2D( tDiffuse, vec2( vUv.x - 4.0 * h, vUv.y ) ) * 0.051;\n    \tsum += texture2D( tDiffuse, vec2( vUv.x - 3.0 * h, vUv.y ) ) * 0.0918;\n    \tsum += texture2D( tDiffuse, vec2( vUv.x - 2.0 * h, vUv.y ) ) * 0.12245;\n    \tsum += texture2D( tDiffuse, vec2( vUv.x - 1.0 * h, vUv.y ) ) * 0.1531;\n    \tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y ) ) * 0.1633;\n    \tsum += texture2D( tDiffuse, vec2( vUv.x + 1.0 * h, vUv.y ) ) * 0.1531;\n    \tsum += texture2D( tDiffuse, vec2( vUv.x + 2.0 * h, vUv.y ) ) * 0.12245;\n    \tsum += texture2D( tDiffuse, vec2( vUv.x + 3.0 * h, vUv.y ) ) * 0.0918;\n    \tsum += texture2D( tDiffuse, vec2( vUv.x + 4.0 * h, vUv.y ) ) * 0.051;\n\n    \tgl_FragColor = sum;\n\n    }\n  "},c={uniforms:{tDiffuse:{value:null},v:{value:1/512}},vertexShader:"\n    varying vec2 vUv;\n\n    void main() {\n\n      vUv = uv;\n      gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n    }\n  ",fragmentShader:"\n\n  uniform sampler2D tDiffuse;\n  uniform float v;\n\n  varying vec2 vUv;\n\n  void main() {\n\n    vec4 sum = vec4( 0.0 );\n\n    sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 4.0 * v ) ) * 0.051;\n    sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 3.0 * v ) ) * 0.0918;\n    sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 2.0 * v ) ) * 0.12245;\n    sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 1.0 * v ) ) * 0.1531;\n    sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y ) ) * 0.1633;\n    sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 1.0 * v ) ) * 0.1531;\n    sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 2.0 * v ) ) * 0.12245;\n    sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 3.0 * v ) ) * 0.0918;\n    sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 4.0 * v ) ) * 0.051;\n\n    gl_FragColor = sum;\n\n  }\n  "},h=r.forwardRef((({scale:e=10,frames:t=1/0,opacity:n=1,width:i=1,height:o=1,blur:h=1,near:d=0,far:p=10,resolution:f=512,smooth:m=!0,color:g="#000000",depthWrite:_=!1,renderOrder:D,...v},y)=>{const E=r.useRef(null),A=(0,s.A)((e=>e.scene)),C=(0,s.A)((e=>e.gl)),F=r.useRef(null);i*=Array.isArray(e)?e[0]:e||1,o*=Array.isArray(e)?e[1]:e||1;const[b,S,x,B,w,M,T]=r.useMemo((()=>{const e=new u.WebGLRenderTarget(f,f),t=new u.WebGLRenderTarget(f,f);t.texture.generateMipmaps=e.texture.generateMipmaps=!1;const n=new u.PlaneGeometry(i,o).rotateX(Math.PI/2),r=new u.Mesh(n),a=new u.MeshDepthMaterial;a.depthTest=a.depthWrite=!1,a.onBeforeCompile=e=>{e.uniforms={...e.uniforms,ucolor:{value:new u.Color(g)}},e.fragmentShader=e.fragmentShader.replace("void main() {","uniform vec3 ucolor;\n           void main() {\n          "),e.fragmentShader=e.fragmentShader.replace("vec4( vec3( 1.0 - fragCoordZ ), opacity );","vec4( ucolor * fragCoordZ * 2.0, ( 1.0 - fragCoordZ ) * 1.0 );")};const s=new u.ShaderMaterial(l),h=new u.ShaderMaterial(c);return h.depthTest=s.depthTest=!1,[e,n,a,r,s,h,t]}),[f,i,o,e,g]),P=e=>{B.visible=!0,B.material=w,w.uniforms.tDiffuse.value=b.texture,w.uniforms.h.value=1*e/256,C.setRenderTarget(T),C.render(B,F.current),B.material=M,M.uniforms.tDiffuse.value=T.texture,M.uniforms.v.value=1*e/256,C.setRenderTarget(b),C.render(B,F.current),B.visible=!1};let R,I,N=0;return(0,s.C)((()=>{F.current&&(t===1/0||N<t)&&(N++,R=A.background,I=A.overrideMaterial,E.current.visible=!1,A.background=null,A.overrideMaterial=x,C.setRenderTarget(b),C.render(A,F.current),P(h),m&&P(.4*h),C.setRenderTarget(null),E.current.visible=!0,A.overrideMaterial=I,A.background=R)})),r.useImperativeHandle(y,(()=>E.current),[]),r.createElement("group",(0,a.A)({"rotation-x":Math.PI/2},v,{ref:E}),r.createElement("mesh",{renderOrder:D,geometry:S,scale:[1,-1,1],rotation:[-Math.PI/2,0,0]},r.createElement("meshBasicMaterial",{transparent:!0,map:b.texture,opacity:n,depthWrite:_})),r.createElement("orthographicCamera",{ref:F,args:[-i/2,i/2,o/2,-o/2,d,p]}))}));var d=n(8409);function p(e,t,n,r){const i=class extends u.ShaderMaterial{constructor(i={}){const a=Object.entries(e);super({uniforms:a.reduce(((e,[t,n])=>({...e,...u.UniformsUtils.clone({[t]:{value:n}})})),{}),vertexShader:t,fragmentShader:n}),this.key="",a.forEach((([e])=>Object.defineProperty(this,e,{get:()=>this.uniforms[e].value,set:t=>this.uniforms[e].value=t}))),Object.assign(this,i),r&&r(this)}};return i.key=u.MathUtils.generateUUID(),i}const f=p({},"void main() { }","void main() { gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0); discard;  }"),m=(()=>parseInt(u.REVISION.replace(/\D+/g,"")))();const g=r.createContext(null),_=p({color:new u.Color,blend:2,alphaTest:.75,opacity:0,map:null},"varying vec2 vUv;\n   void main() {\n     gl_Position = projectionMatrix * viewMatrix * modelMatrix * vec4(position, 1.);\n     vUv = uv;\n   }",`varying vec2 vUv;\n   uniform sampler2D map;\n   uniform vec3 color;\n   uniform float opacity;\n   uniform float alphaTest;\n   uniform float blend;\n   void main() {\n     vec4 sampledDiffuseColor = texture2D(map, vUv);\n     gl_FragColor = vec4(color * sampledDiffuseColor.r * blend, max(0.0, (1.
20 - (sampledDiffuseColor.r + sampledDiffuseColor.g + sampledDiffuseColor.b) / alphaTest)) * opacity);\n     #include <tonemapping_fragment>\n     #include <${m>=154?"colorspace_fragment":"encodings_fragment"}>\n   }`),D=r.forwardRef((({children:e,temporal:t,frames:n=40,limit:i=1/0,blend:a=20,scale:o=10,opacity:u=1,alphaTest:l=.75,color:c="black",colorBlend:h=2,resolution:d=1024,toneMapped:p=!0,...f},m)=>{(0,s.e)({SoftShadowMaterial:_});const D=(0,s.A)((e=>e.gl)),v=(0,s.A)((e=>e.scene)),E=(0,s.A)((e=>e.camera)),A=(0,s.A)((e=>e.invalidate)),C=r.useRef(null),F=r.useRef(null),[b]=r.useState((()=>new y(D,v,d)));r.useLayoutEffect((()=>{b.configure(C.current)}),[]);const S=r.useMemo((()=>({lights:new Map,temporal:!!t,frames:Math.max(2,n),blend:Math.max(2,n===1/0?a:n),count:0,getMesh:()=>C.current,reset:()=>{b.clear();const e=C.current.material;e.opacity=0,e.alphaTest=0,S.count=0},update:(e=1)=>{const t=C.current.material;S.temporal?(t.opacity=Math.min(u,t.opacity+u/S.blend),t.alphaTest=Math.min(l,t.alphaTest+l/S.blend)):(t.opacity=u,t.alphaTest=l),F.current.visible=!0,b.prepare();for(let t=0;t<e;t++)S.lights.forEach((e=>e.update())),b.update(E,S.blend);F.current.visible=!1,b.finish()}})),[b,E,v,t,n,a,u,l]);return r.useLayoutEffect((()=>{S.reset(),S.temporal||S.frames===1/0||S.update(S.blend)})),r.useImperativeHandle(m,(()=>S),[S]),(0,s.C)((()=>{(S.temporal||S.frames===1/0)&&S.count<S.frames&&S.count<i&&(A(),S.update(),S.count++)})),r.createElement("group",f,r.createElement("group",{traverse:()=>null,ref:F},r.createElement(g.Provider,{value:S},e)),r.createElement("mesh",{receiveShadow:!0,ref:C,scale:o,rotation:[-Math.PI/2,0,0]},r.createElement("planeGeometry",null),r.createElement("softShadowMaterial",{transparent:!0,depthWrite:!1,toneMapped:p,color:c,blend:h,map:b.progressiveLightMap2.texture})))})),v=r.forwardRef((({castShadow:e=!0,bias:t=.001,mapSize:n=512,size:i=5,near:o=.5,far:s=500,frames:l=1,position:c=[0,0,0],radius:h=1,amount:d=8,intensity:p=(m>=155?Math.PI:1),ambient:f=.5,..._},D)=>{const v=r.useRef(null),y=new u.Vector3(...c).length(),E=r.useContext(g),A=r.useCallback((()=>{let e;if(v.current)for(let t=0;t<v.current.children.length;t++)if(e=v.current.children[t],Math.random()>f)e.position.set(c[0]+u.MathUtils.randFloatSpread(h),c[1]+u.MathUtils.randFloatSpread(h),c[2]+u.MathUtils.randFloatSpread(h));else{let t=Math.acos(2*Math.random()-1)-Math.PI/2,n=2*Math.PI*Math.random();e.position.set(Math.cos(t)*Math.cos(n)*y,Math.abs(Math.cos(t)*Math.sin(n)*y),Math.sin(t)*y)}}),[h,f,y,...c]),C=r.useMemo((()=>({update:A})),[A]);return r.useImperativeHandle(D,(()=>C),[C]),r.useLayoutEffect((()=>{var e;const t=v.current;return E&&(null==(e=E.lights)||e.set(t.uuid,C)),()=>{var e;null==E||null==(e=E.lights)||e.delete(t.uuid)}}),[E,C]),r.createElement("group",(0,a.A)({ref:v},_),Array.from({length:d},((a,u)=>r.createElement("directionalLight",{key:u,castShadow:e,"shadow-bias":t,"shadow-mapSize":[n,n],intensity:p/d},r.createElement("orthographicCamera",{attach:"shadow-camera",args:[-i,i,i,-i,o,s]})))))}));class y{constructor(e,t,n=1024){this.renderer=e,this.res=n,this.scene=t,this.buffer1Active=!1,this.lights=[],this.meshes=[],this.object=null,this.clearColor=new u.Color,this.clearAlpha=0;const r={type:u.HalfFloatType,magFilter:u.NearestFilter,minFilter:u.NearestFilter};this.progressiveLightMap1=new u.WebGLRenderTarget(this.res,this.res,r),this.progressiveLightMap2=new u.WebGLRenderTarget(this.res,this.res,r),this.discardMat=new f,this.targetMat=new u.MeshLambertMaterial({fog:!1}),this.previousShadowMap={value:this.progressiveLightMap1.texture},this.averagingWindow={value:100},this.targetMat.onBeforeCompile=e=>{e.vertexShader="varying vec2 vUv;\n"+e.vertexShader.slice(0,-1)+"vUv = uv; gl_Position = vec4((uv - 0.5) * 2.0, 1.0, 1.0); }";const t=e.fragmentShader.indexOf("void main() {");e.fragmentShader="varying vec2 vUv;\n"+e.fragmentShader.slice(0,t)+"uniform sampler2D previousShadowMap;\n\tuniform float averagingWindow;\n"+e.fragmentShader.slice(t-1,-1)+"\nvec3 texelOld = texture2D(previousShadowMap, vUv).rgb;\n        gl_FragColor.rgb = mix(texelOld, gl_FragColor.rgb, 1.0/ averagingWindow);\n      }",e.uniforms.previousShadowMap=this.previousShadowMap,e.uniforms.averagingWindow=this.averagingWindow}}clear(){this.renderer.getClearColor(this.clearColor),this.clearAlpha=this.renderer.getClearAlpha(),this.renderer.setClearColor("black",1),this.renderer.setRenderTarget(this.progressiveLightMap1),this.renderer.clear(),this.renderer.setRenderTarget(this.progressiveLightMap2),this.renderer.clear(),this.renderer.setRenderTarget(null),this.renderer.setClearColor(this.clearColor,this.clearAlpha),this.lights=[],this.meshes=[],this.scene.traverse((e=>{!function(e){return!!e.geometry}(e)?function(e){return e.isLight}(e)&&this.lights.push({object:e,intensity:e.intensity}):this.meshes.push({object:e,material:e.material})}))}
vendor: 4,274 bytes, line 2
2prepare(){this.lights.forEach((e=>e.object.intensity=0)),this.meshes.forEach((e=>e.object.material=this.discardMat))}finish(){this.lights.forEach((e=>e.object.intensity=e.intensity)),this.meshes.forEach((e=>e.object.material=e.material))}configure(e){this.object=e}update(e,t=100){if(!this.object)return;this.averagingWindow.value=t,this.object.material=this.targetMat;const n=this.buffer1Active?this.progressiveLightMap1:this.progressiveLightMap2,r=this.buffer1Active?this.progressiveLightMap2:this.progressiveLightMap1,i=this.scene.background;this.scene.background=null,this.renderer.setRenderTarget(n),this.previousShadowMap.value=r.texture,this.buffer1Active=!this.buffer1Active,this.renderer.render(this.scene,e),this.renderer.setRenderTarget(null),this.scene.background=i}}var E=function(e){return e[e.NONE=0]="NONE",e[e.START=1]="START",e[e.ACTIVE=2]="ACTIVE",e}(E||{});const A=e=>e&&e.isOrthographicCamera,C=e=>1-Math.exp(-5*e)+.007*e,F=r.createContext(null);function b({children:e,maxDuration:t=1,margin:n=1.2,observe:i,fit:a,clip:o,interpolateFunc:l=C,onFit:c}){const h=r.useRef(null),{camera:d,size:p,invalidate:f}=(0,s.A)(),m=(0,s.A)((e=>e.controls)),g=r.useRef(c);g.current=c;const _=r.useRef({camPos:new u.Vector3,camRot:new u.Quaternion,camZoom:1}),D=r.useRef({camPos:void 0,camRot:void 0,camZoom:void 0,camUp:void 0,target:void 0}),v=r.useRef(E.NONE),y=r.useRef(0),[b]=r.useState((()=>new u.Box3)),S=r.useMemo((()=>{function e(){const e=b.getSize(new u.Vector3),t=b.getCenter(new u.Vector3),r=Math.max(e.x,e.y,e.z),i=A(d)?4*r:r/(2*Math.atan(Math.PI*d.fov/360)),a=A(d)?4*r:i/d.aspect,o=n*Math.max(i,a);return{box:b,size:e,center:t,distance:o}}return{getSize:e,refresh(e){if((t=e)&&t.isBox3)b.copy(e);else{const t=e||h.current;if(!t)return this;t.updateWorldMatrix(!0,!0),b.setFromObject(t)}var t;if(b.isEmpty()){const e=d.position.length()||10;b.setFromCenterAndSize(new u.Vector3,new u.Vector3(e,e,e))}return _.current.camPos.copy(d.position),_.current.camRot.copy(d.quaternion),A(d)&&(_.current.camZoom=d.zoom),D.current.camPos=void 0,D.current.camRot=void 0,D.current.camZoom=void 0,D.current.camUp=void 0,D.current.target=void 0,this},reset(){const{center:t,distance:n}=e(),r=d.position.clone().sub(t).normalize();D.current.camPos=t.clone().addScaledVector(r,n),D.current.target=t.clone();const i=(new u.Matrix4).lookAt(D.current.camPos,D.current.target,d.up);return D.current.camRot=(new u.Quaternion).setFromRotationMatrix(i),v.current=E.START,y.current=0,this},moveTo(e){return D.current.camPos=Array.isArray(e)?new u.Vector3(...e):e.clone(),v.current=E.START,y.current=0,this},lookAt({target:e,up:t}){D.current.target=Array.isArray(e)?new u.Vector3(...e):e.clone(),D.current.camUp=t?Array.isArray(t)?new u.Vector3(...t):t.clone():d.up.clone();const n=(new u.Matrix4).lookAt(D.current.camPos||d.position,D.current.target,D.current.camUp);return D.current.camRot=(new u.Quaternion).setFromRotationMatrix(n),v.current=E.START,y.current=0,this},to({position:e,target:t}){return this.moveTo(e).lookAt({target:t})},fit(){if(!A(d))return this.reset();let e=0,t=0;const r=[new u.Vector3(b.min.x,b.min.y,b.min.z),new u.Vector3(b.min.x,b.max.y,b.min.z),new u.Vector3(b.min.x,b.min.y,b.max.z),new u.Vector3(b.min.x,b.max.y,b.max.z),new u.Vector3(b.max.x,b.max.y,b.max.z),new u.Vector3(b.max.x,b.max.y,b.min.z),new u.Vector3(b.max.x,b.min.y,b.max.z),new u.Vector3(b.max.x,b.min.y,b.min.z)],i=D.current.camPos||d.position,a=D.current.target||(null==m?void 0:m.target),o=D.current.camUp||d.up,s=a?(new u.Matrix4).lookAt(i,a,o).setPosition(i).invert():d.matrixWorldInverse;for(const n of r)n.applyMatrix4(s),e=Math.max(e,Math.abs(n.y)),t=Math.max(t,Math.abs(n.x));e*=2,t*=2;const l=(d.top-d.bottom)/e,c=(d.right-d.left)/t;return D.current.camZoom=Math.min(l,c)/n,v.current=E.START,y.current=0,g.current&&g.current(this.getSize()),this},clip(){const{distance:t}=e();return d.near=t/100,d.far=100*t,d.updateProjectionMatrix(),m&&(m.maxDistance=10*t,m.update()),f(),this}}}),[b,d,m,n,f]);r.useLayoutEffect((()=>{if(m){const e=()=>{if(m&&D.current.target&&v.current!==E.NONE){const e=(new u.Vector3).setFromMatrixColumn(d.matrix,2),t=_.current.camPos.distanceTo(m.target),n=(D.current.camPos||_.current.camPos).distanceTo(D.current.target),r=(1-y.current)*t+y.current*n;
2m.target.copy(d.position).addScaledVector(e,-r),m.update()}v.current=E.NONE};return m.addEventListener("start",e),()=>m.removeEventListener("start",e)}}),[m]);const x=r.useRef(0);return r.useLayoutEffect((()=>{(i||0==x.current++)&&(S.refresh(),a&&S.reset().fit(),o&&S.clip())}),[p,o,a,i,d,m]),(0,s.C)(((e,n)=>{if(v.current===E.START)v.current=E.ACTIVE,f();else if(v.current===E.ACTIVE){if(y.current+=n/t,y.current>=1)D.current.camPos&&d.position.copy(D.current.camPos),D.current.camRot&&d.quaternion.copy(D.current.camRot),D.current.camUp&&d.up.copy(D.current.camUp),D.current.camZoom&&A(d)&&(d.zoom=D.current.camZoom),d.updateMatrixWorld(),d.updateProjectionMatrix(),m&&D.current.target&&(m.target.copy(D.current.target),m.update()),v.current=E.NONE;else{const e=l(y.current);D.current.camPos&&d.position.lerpVectors(_.current.camPos,D.current.camPos,e),D.current.camRot&&d.quaternion.slerpQuaternions(_.current.camRot,D.current.camRot,e),D.current.camUp&&d.up.set(0,1,0).applyQuaternion(d.quaternion),D.current.camZoom&&A(d)&&(d.zoom=(1-e)*_.current.camZoom+e*D.current.camZoom),d.updateMatrixWorld(),d.updateProjectionMatrix()}f()}})),r.createElement("group",{ref:h},r.createElement(F.Provider,{value:S},e))}const S={rembrandt:{main:[1,2,1],fill:[-2,-.5,-2]},portrait:{main:[-1,2,.5],fill:[-1,.5,-1.5]},upfront:{main:[0,2,1],fill:[-1,.5,-1.5]},soft:{main:[-2,4,4],fill:[-1,.5,-1.5]}};function x({radius:e,adjustCamera:t}){const n=r.useContext(F);return r.useEffect((()=>{t&&n.refresh().clip().fit()}),[e,t]),null}function B({children:e,center:t,adjustCamera:n=!0,intensity:i=.5,shadows:u="contact",environment:s="city",preset:l="rembrandt",...c}){var p,f,m,g,_,y,E,A;const C="string"==typeof l?S[l]:l,[{radius:F,height:B},w]=r.useState({radius:0,width:0,height:0,depth:0}),M=null!==(p=null==u?void 0:u.bias)&&void 0!==p?p:-1e-4,T=null!==(f=null==u?void 0:u.normalBias)&&void 0!==f?f:0,P=null!==(m=null==u?void 0:u.size)&&void 0!==m?m:1024,R=null!==(g=null==u?void 0:u.offset)&&void 0!==g?g:0,I="contact"===u||"contact"===(null==u?void 0:u.type),N="accumulative"===u||"accumulative"===(null==u?void 0:u.type),L={..."object"==typeof u?u:{}},O=s?"string"==typeof s?{preset:s}:s:null,k=r.useCallback((e=>{const{width:n,height:r,depth:i,boundingSphere:a}=e;w({radius:a.radius,width:n,height:r,depth:i}),null!=t&&t.onCentered&&t.onCentered(e)}),[]);return r.createElement(r.Fragment,null,r.createElement("ambientLight",{intensity:i/3}),r.createElement("spotLight",{penumbra:1,position:[C.main[0]*F,C.main[1]*F,C.main[2]*F],intensity:2*i,castShadow:!!u,"shadow-bias":M,"shadow-normalBias":T,"shadow-mapSize":P}),r.createElement("pointLight",{position:[C.fill[0]*F,C.fill[1]*F,C.fill[2]*F],intensity:i}),r.createElement(b,(0,a.A)({fit:!!n,clip:!!n,margin:Number(n),observe:!0},c),r.createElement(x,{radius:F,adjustCamera:n}),r.createElement(d.o,(0,a.A)({},t,{position:[0,R/2,0],onCentered:k}),e)),r.createElement("group",{position:[0,-B/2-R/2,0]},I&&r.createElement(h,(0,a.A)({scale:4*F,far:F,blur:2},L)),N&&r.createElement(D,(0,a.A)({temporal:!0,frames:100,alphaTest:.9,toneMapped:!0,scale:4*F},L),r.createElement(v,{amount:null!==(_=L.amount)&&void 0!==_?_:8,radius:null!==(y=L.radius)&&void 0!==y?y:F,ambient:null!==(E=L.ambient)&&void 0!==E?E:.5,intensity:null!==(A=L.intensity)&&void 0!==A?A:1,position:[C.main[0]*F,C.main[1]*F,C.main[2]*F],size:4*F,bias:-M,mapSize:P}))),s&&r.createElement(o.OH,O))}var w=n(8519),M=n(5880),T=n(6575);M.Ay.registerPlugin(T.u);var P=function(e){var t=e.turmkonzeptRef,n=e.ModelWindratRef;return r.createElement("div",{ref:n,className:"fixed md:sticky md:z-0 h-screen w-full md:w-9/12 top-0",id:"model-fixed"},r.createElement("div",{className:"absolute h-full w-full top-0 left-0 wind-overflow"},r.createElement(r.StrictMode,null,r.createElement(i.Hl,{dpr:[1,2]},r.createElement(B,{shadows:"contact",preset:"rembrandt",intensity:1,environment:"city",adjustCamera:!1},r.createElement(w.K,{turmkonzeptRef:t})),r.createElement("ambientLight",{intensity:1})))))}},8519:function(e,t,n){"use strict";n.d(t,{K:function(){return m}});var r=n(5880),i=n(6575),a=n(6540),o=n(2603),u=n(426),s=n(4719);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=["turmkonzeptRef"];function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(null,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?d(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){var t=e.turmkonzeptRef,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,c),i=(0,a.useRef)(),l=(0,a.useRef)(),d=(0,o.p)("/content/dam/max-boegl-renewables/startseite/start-animation/windrat-sockel-animated.glb"),f=d.nodes,m=d.materials,g=d.animations,_=(0,u.f)(g,i).actions,D=t;return(0,a.useEffect)((function(){var e,t;l.current&&D&&(null==_||null===(e=_.Anim_0)||void 0===e||e.play(),console.log("animations activated"),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t(r.Ay.timeline({scrollTrigger:p({trigger:e.current,start:"top bottom",end:"top top",scrub:!0},n),defaults:p({duration:1,ease:"power2.inOut"},i)}))}(D,(function(e){e.fromTo(l.current.position,{y:-13},{y:-2.5,ease:"power1.out"},0),e.fromTo(l.current.scale,{x:35,y:35,z:35},{x:10,y:10,z:10,ease:"power1.out"},0),e.fromTo(l.current.rotation,{x:-Math.PI,y:1.56,z:-Math.PI},{x:-Math.PI,y:-Math.PI,z:-Math.PI,ease:"power1.out"},0)})),console.log(l.current.position),null==_||null===(t=_.Anim_0)||void 0===t||t.play())}),[_,D]),a.createElement("group",h({ref:i},n,{dispose:null}),a.createElement("group",{name:"Scene"},a.createElement("group",{name:"Windkraftwerk1",position:[0,-14,0],rotation:[-Math.PI,1.56,-Math.PI],scale:40,ref:l},a.createElement("mesh",{name:"Kugel",castShadow:!0,receiveShadow:!0,geometry:f.Kugel.geometry,material:m["Mat.1"],position:[0,.35,.026],rotation:[Math.PI/2,-Math.PI/2,0]},a.createElement("group",{name:"Array",position:[0,.003,0]},a.createElement("group",{name:"Rotorblatt131",position:[-.003,0,.002],rotation:[-Math.PI,Math.PI/3,-Math.PI]},a.createElement("group",{name:"Loft-NURBS003",position:[-.002,0,-.002]},a.createElement("mesh",{name:"Deckfläche_1002",castShadow:!0,receiveShadow:!0,geometry:f.Deckfläche_1002.geometry,material:m["Mat.1"],position:[.003,0,-.142],rotation:[0,0,.157]}),a.createElement("mesh",{name:"Deckfläche_2002",castShadow:!0,receiveShadow:!0,geometry:f.Deckfläche_2002.geometry,material:m["Mat.1"],position:[.001,0,0]}),a.createElement("mesh",{name:"Loft-NURBS1-Mat004",castShadow:!0,receiveShadow:!0,geometry:f["Loft-NURBS1-Mat004"].geometry,material:m["Mat.1"]}),a.createElement("mesh",{name:"Loft-NURBS1-Mat005",castShadow:!0,receiveShadow:!0,geometry:f["Loft-NURBS1-Mat005"].geometry,material:m["Mat.7"]})),a.createElement("mesh",{name:"Zylinder003",castShadow:!0,receiveShadow:!0,geometry:f.Zylinder003.geometry,material:m["Mat.1"],rotation:[-Math.PI/2,0,0]})),a.createElement("group",{name:"Rotorblatt132",position:[.003,0,.002],rotation:[Math.PI,-Math.PI/3,Math.PI]},a.createElement("group",{name:"Loft-NURBS002",position:[-.002,0,-.002]},a.createElement("mesh",{name:"Deckfläche_1001",castShadow:!0,receiveShadow:!0,geometry:f.Deckfläche_1001.geometry,material:m["Mat.1"],position:[.003,0,-.142],rotation:[0,0,.157]}),a.createElement("mesh",{name:"Deckfläche_2001",castShadow:!0,receiveShadow:!0,geometry:f.Deckfläche_2001.geometry,material:m["Mat.1"],position:[.001,0,0]}),a.createElement("mesh",{name:"Loft-NURBS1-Mat002",castShadow:!0,receiveShadow:!0,geometry:f["Loft-NURBS1-Mat002"].geometry,material:m["Mat.1"]}),a.createElement("mesh",{name:"Loft-NURBS1-Mat003",castShadow:!0,receiveShadow:!0,geometry:f["Loft-NURBS1-Mat003"].geometry,material:m["Mat.7"]})),a.createElement("mesh",{name:"Zylinder001",castShadow:!0,receiveShadow:!0,geometry:f.Zylinder001.geometry,material:m["Mat.1"],rotation:[-Math.PI/2,0,0]})),a.createElement("group",{name:"Rotorblatt133",position:[0,0,-.004]},a.createElement("group",{name:"Loft-NURBS1",position:[-.002,0,-.002]},a.createElement("mesh",{name:"Deckfläche_1",castShadow:!0,receiveShadow:!0,geometry:f.Deckfläche_1.geometry,material:m["Mat.1"],position:[.003,0,-.142],rotation:[0,0,.157]}),a.createElement("mesh",{name:"Deckfläche_2",castShadow:!0,receiveShadow:!0,geometry:f.Deckfläche_2.geometry,material:m["Mat.1"],position:[.001,0,0]}),a.createElement("mesh",{name:"Loft-NURBS1-Mat1",castShadow:!0,receiveShadow:!0,geometry:f["Loft-NURBS1-Mat1"].geometry,material:m["Mat.1"]}),a.createElement("mesh",{name:"Loft-NURBS1-Mat7",castShadow:!0,receiveShadow:!0,geometry:f["Loft-NURBS1-Mat7"].geometry,material:m["Mat.7"]})),a.createElement("mesh",{name:"Zylinder2",castShadow:!0,receiveShadow:!0,geometry:f.Zylinder2.geometry,material:m["Mat.1"],rotation:[-Math.PI/2,0,0]})))),a.createElement("mesh",{name:"Loft",castShadow:!0,receiveShadow:!0,geometry:f.Loft.geometry,material:m["Mat.1"],position:[0,.351,.026]},a.createElement("mesh",{name:"Rundung_1",castShadow:!0,receiveShadow:!0,geometry:f.Rundung_1.geometry,material:m["Mat.1"],position:[0,.001,-.061],rotation:[-.224,0,0]},a.createElement("mesh",{name:"Deckfläche_1003",castShadow:!0,receiveShadow:!0,geometry:f.Deckfläche_1003.geometry,material:m["Mat.1"]})),a.createElement("mesh",{name:"Rundung_2",castShadow:!0,receiveShadow:!0,geometry:f.Rundung_2.geometry,material:m["Mat.1"]},a.createElement("mesh",{name:"Deckfläche_2003",castShadow:!0,receiveShadow:!0,geometry:f.Deckfläche_2003.geometry,material:m["Mat.1"]}))),a.createElement("mesh",{name:"Sockel",castShadow:!0,receiveShadow:!0,geometry:f.Sockel.geometry,material:f.Sockel.material,position:[0,.004,0],rotation:[0,-1.571,0]}),a.createElement("group",{name:"Turm001",position:[0,.177,0],rotation:[0,-1.571,0]},a.createElement("mesh",{name:"Turm-Mat1",castShadow:!0,receiveShadow:!0,geometry:f["Turm-Mat1"].geometry,material:m["Mat.1"]}),a.createElement("mesh",{name:"Turm-Mat7",castShadow:!0,receiveShadow:!0,geometry:f["Turm-Mat7"].geometry,material:m["Mat.7"]})))),a.createElement(s.u,{name:"CameraFahrt",makeDefault:!0,far:100,near:.1,fov:22.895,position:[7.359,4.958,6.926],rotation:[-.627,.71,.441]}))}r.Ay.registerPlugin(i.u),o.p.preload("/content/dam/max-boegl-renewables/startseite/start-animation/windrat-sockel-animated.glb")},7876:function(e,t,n){"use strict";var r=n(6540),i=n(4692),a=n.n(i);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;
2!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}t.A=function(){var e=o((0,r.useState)(null),2),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=a()("#startAnimation").attr("data-startAnimationNodePath");fetch(e+".model.json").then((function(e){if(!e.ok)throw new Error("Network response was not ok "+e.statusText);return e.json()})).then((function(e){n(e),console.log("Sling Model Data:",e)})).catch((function(e){console.error("Error fetching the Sling Model JSON:",e)}))}),[]),t}},3519:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(6540),i=n(4496),a=n(8161);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(){var e=(0,a.A)(),t=o((0,r.useState)(null),2),n=t[0],u=t[1];(0,r.useEffect)((function(){window.innerWidth<=1440||u((null==e?void 0:e.stahlturmTitle)+"_aktiv")}),[e]);var s=e?[{id:e.fundamentTitle+"_aktiv",title:e.fundamentTitle,image:e.fundamentImage,content:r.createElement("ul",{dangerouslySetInnerHTML:{__html:e.fundamentDescription}})},{id:e.betonturmTitle+"_aktiv",title:e.betonturmTitle,image:e.betonturmImage,content:r.createElement("p",{className:"font-h4",dangerouslySetInnerHTML:{__html:e.betonturmDescription}})},{id:e.vorspanntechnikTitle+"_aktiv",title:e.vorspanntechnikTitle,image:e.vorspanntechnikImage,content:r.createElement("ul",{dangerouslySetInnerHTML:{__html:e.vorspanntechnikDescription}})},{id:e.inneneinbausystemTitle+"_aktiv",title:e.inneneinbausystemTitle,image:e.inneneinbausystemImage,content:r.createElement("ul",{dangerouslySetInnerHTML:{__html:e.inneneinbausystemDescription}})},{id:e.ubergangsstuckTitle+"_aktiv",title:e.ubergangsstuckTitle,image:e.ubergangsstuckImage,content:r.createElement("ul",{dangerouslySetInnerHTML:{__html:e.ubergangsstuckDescription}})},{id:e.stahlturmTitle+"_aktiv",title:e.stahlturmTitle,image:e.stahlturmImage,content:r.createElement("ul",{dangerouslySetInnerHTML:{__html:e.stahlturmDescription}})},{id:e.nachhaltigkeitTitle+"_aktiv",title:e.nachhaltigkeitBannerTitle,image:e.nachhaltigkeitImage,content:r.createElement("p",{className:"font-h4",dangerouslySetInnerHTML:{__html:e.nachhaltigkeitDescription}})}]:[];return r.createElement("div",{className:"app-turm animation-component"},r.createElement("div",{className:"text-black_green md:min-h-screen max-h-screen overflow-hidden"},r.createElement("main",{className:"relative text-left md:grid grid-cols-3 h-full md:max-h-screen overflow-hidden md:min-
2h-screen"},r.createElement("div",{className:"col-span-2 relative slider-container overflow-auto max-h-full"},s.map((function(t){var i=t.id,a=t.title,o=t.image,s=t.content;return r.createElement("div",{key:i,className:"slider-item ".concat(n===i?"visible opacity-100":"invisible opacity-0"),id:i},r.createElement("div",{className:"slider-item-bg"},r.createElement("div",{className:"slider-item-content"},r.createElement("div",{className:"close-button bg-red flex",onClick:function(){u(null)}},r.createElement("img",{width:13,height:13,src:null==e?void 0:e.crossIcon,alt:"close"})),r.createElement("img",{src:o,alt:a,className:"md:object-cover w-full h-full md:absolute"}),r.createElement("div",{className:"card-inner"},r.createElement("h2",{className:"font-h3 mb-12 font-semibold"},a),r.createElement("div",{className:"font-h4 font-normal"},s)))))}))),r.createElement("div",{className:"col-span-1 flex flex-col items-end justify-start relative md:min-h-screen"},r.createElement("div",{className:"w-full h-auto min-h-full"},r.createElement(i.A,{onIconClick:function(e){u(e)},activeSlider:n,data:e}))))))}},8161:function(e,t,n){"use strict";var r=n(6540),i=n(4692),a=n.n(i);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}t.A=function(){var e=o((0,r.useState)(null),2),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=a()("#turmaufbauAnimation").attr("data-turmaufbauNodePath");fetch(e+".model.json").then((function(e){if(!e.ok)throw new Error("Network response was not ok "+e.statusText);return e.json()})).then((function(e){n(e),console.log("Sling Model Data:",e)})).catch((function(e){console.error("Error fetching the Sling Model JSON:",e)}))}),[]),t}},4496:function(e,t,n){"use strict";var r=n(6540),i=n(8063),a=n.n(i),o=n(181),u=n.n(o);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(null,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;
2!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}t.A=function(e){var t=e.onIconClick,n=e.activeSlider,o=e.data,s=p((0,r.useState)(null),2),c=s[0],d=s[1],f=p((0,r.useState)(null),2),m=f[0],g=f[1],_=(0,i.useXarrow)(),D=(0,r.useRef)({}),v=(0,r.useMemo)((function(){return o?[{anchorId:o.stahlturmTitle+"_x5F",buttonId:"btn1"},{anchorId:o.ubergangsstuckTitle+"_x5F",buttonId:"btn2"},{anchorId:o.vorspanntechnikTitle+"_x5F",buttonId:"btn4"},{anchorId:o.inneneinbausystemTitle+"_x5F",buttonId:"btn3"},{anchorId:o.betonturmTitle+"_x5F",buttonId:"btn5"},{anchorId:o.fundamentTitle+"_x5F",buttonId:"btn6"}]:[]}),[o]),y=(0,r.useRef)({showTail:!1,showHead:!1,strokeWidth:2,showXarrow:!0,animateDrawing:!1,curveness:0}),E=function(e,t){var n=c===e;return"active"===t?n?"visible opacity-100":"invisible opacity-0":n?"invisible opacity-0":"visible opacity-100"},A=(0,r.useCallback)(u()((function(){window.innerWidth<=1440||null!==n||C("normal",(null==o?void 0:o.stahlturmTitle)+"_aktiv"),F()}),200),[n]),C=(0,r.useCallback)((function(e,n){"close"===e?(g(c),d(n),t(n)):n===(null==o?void 0:o.stahlturmTitle)+"_aktiv"&&c===(null==o?void 0:o.nachhaltigkeitTitle)+"_aktiv"&&m?(d(m),t(m)):(g(c),d(n),t(n)),setTimeout((function(){_()}),500)}),[m,c,t,_]),F=(0,r.useCallback)((function(){var e=document.querySelector(".svg-container");v.forEach((function(t){var n=t.anchorId,r=t.buttonId,i=document.getElementById(n),a=D.current[r];if(i&&a&&e){var o=i.getBoundingClientRect(),u=e.getBoundingClientRect(),s=a.offsetHeight,l=o.top-u.top;a.style.position="absolute",a.style.top="".concat(l+s-2,"px")}}))}),[v]);return(0,r.useEffect)((function(){return F(),A(),window.addEventListener("resize",A),null===n?(d(null),t(null)):n!==c&&C("normal",n),function(){window.removeEventListener("resize",A),A.cancel()}}),[n,C,c,t,F,A]),r.createElement("div",{className:c===(null==o?void 0:o.nachhaltigkeitTitle)+"_aktiv"?"active-nachhaltigkeit nachhaltigkeit-container md:min-h-screen":"inactive-nachhaltigkeit nachhaltigkeit-container md:min-h-screen"},r.createElement("div",{className:c===(null==o?void 0:o.nachhaltigkeitTitle)+"_aktiv"?"hidden md:flex":"hidden"},r.createElement("div",{className:"close-button bg-black_green hidden md:flex",onClick:function(){return C("close",(null==o?void 0:o.stahlturmTitle)+"_aktiv")}},r.createElement("img",{width:13,height:13,src:null==o?void 0:o.crossIcon,alt:"close"}))),r.createElement("div",{className:"relative mx-auto pt-7 pb-7 transition-all duration-500 svg-animation"},r.createElement("div",{className:"svg-container"},r.createElement("svg",{id:"Ebene_1","data-name":"Ebene 1",viewBox:"0 0 647.64 1468.46",className:"w-full h-full"},r.createElement("defs",null,r.createElement("linearGradient",{id:"Unbenannter_Verlauf","data-name":"Unbenannter Verlauf",x1:"127.42",y1:"2104.45",x2:"131.92",y2:"1068.45",gradientTransform:"translate(0 -450.68)",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:"0",stopColor:"#fff"}),r.createElement("stop",{offset:"1",stopColor:"#ececec"})),r.createElement("linearGradient",{id:"Unbenannter_Verlauf_2","data-name":"Unbenannter Verlauf 2",x1:"128.58",y1:"1878",x2:"128.58",y2:"1124",gradientTransform:"translate(0 -450.68)",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:"0",stopColor:"#fff"}),r.createElement("stop",{offset:"1",stopColor:"#e9e9e9"}))),r.createElement("g",{id:"".concat(null==o?void 0:o.fundamentTitle,"_inaktiv"),className:E((null==o?void 0:o.fundamentTitle)+"_aktiv","inactive")},r.createElement("path",{className:"cls-31",d:"M128.36,1466.27c58.65,0,106.19-29.9,106.19-66.78s-47.54-66.78-106.19-66.78-106.19,29.9-106.19,66.78,47.54,66.78,106.19,66.78Z"})),r.createElement("g",{id:"".concat(null==o?void 0:o.fundamentTitle,"_aktiv"),className:E((null==o?void 0:o.fundamentTitle)+"_aktiv","active")},r.createElement("path",{className:"cls-30",d:"M128.36,1466.27c58.65,0,106.19-29.9,106.19-66.78s-47.54-66.78-106.19-66.78-106.19,29.9-106.19,66.78,47.54,66.78,106.19,66.78Z"})),r.createElement("g",{id:"".concat(null==o?void 0:o.betonturmTitle,"_Inaktiv"),className:E((null==o?void 0:o.betonturmTitle)+"_aktiv","inactive")},r.createElement("path",{className:"cls-23",d:"M106.96,784.93c.52-19.63,1.06-40.13,1.66-61.69.11.
214.23.27.35.41,3.55,3.98,9.87,7.67,20.87,7.67,9.99,0,15.78-3.05,19.06-6.69,0,1.5.03,3.17.05,5.01.11,9.36.31,23.12.71,40.75.8,35.26,2.36,85.98,5.42,147.84,6.12,123.61,18.23,291.73,42.2,469.88-.1.26-.24.63-.44,1.1-.43,1.01-1.11,2.46-2.1,4.22-1.99,3.51-5.22,8.22-10.18,12.94-9.88,9.39-26.77,18.94-54.75,18.94s-45.51-9.56-56.03-18.98c-5.28-4.73-8.82-9.45-11.03-12.98-1.11-1.76-1.88-3.22-2.38-4.23-.22-.45-.38-.81-.5-1.07,38.47-278.01,41.43-389.81,47.07-603.11h.02Z"}),r.createElement("path",{className:"cls-36",d:"M100.83,935.81l2-26.5s5.5,12,25.5,12,26.5-12,26.5-12l2,26.5s-9.8,15.5-27,15.5-29-15.5-29-15.5Z"}),r.createElement("path",{className:"cls-22",d:"M106.96,784.93c.52-19.63,1.06-40.13,1.66-61.69.11.14.23.27.35.41,3.55,3.98,9.87,7.67,20.87,7.67,9.99,0,15.78-3.05,19.06-6.69,0,1.5.03,3.17.05,5.01.11,9.36.31,23.12.71,40.75.8,35.26,2.36,85.98,5.42,147.84,6.12,123.61,18.23,291.73,42.2,469.88-.1.26-.24.63-.44,1.1-.43,1.01-1.11,2.46-2.1,4.22-1.99,3.51-5.22,8.22-10.18,12.94-9.88,9.39-26.77,18.94-54.75,18.94s-45.51-9.56-56.03-18.98c-5.28-4.73-8.82-9.45-11.03-12.98-1.11-1.76-1.88-3.22-2.38-4.23-.22-.45-.38-.81-.5-1.07,38.47-278.01,41.43-389.81,47.07-603.11h.02Z"})),r.createElement("g",{id:"".concat(null==o?void 0:o.betonturmTitle,"_aktiv"),className:E((null==o?void 0:o.betonturmTitle)+"_aktiv","active")},r.createElement("path",{className:"cls-24",d:"M106.96,784.93c.52-19.63,1.06-40.13,1.66-61.69.11.14.23.27.35.41,3.55,3.98,9.87,7.67,20.87,7.67,9.99,0,15.78-3.05,19.06-6.69,0,1.5.03,3.17.05,5.01.11,9.36.31,23.12.71,40.75.8,35.26,2.36,85.98,5.42,147.84,6.12,123.61,18.23,291.73,42.2,469.88-.1.26-.24.63-.44,1.1-.43,1.01-1.11,2.46-2.1,4.22-1.99,3.51-5.22,8.22-10.18,12.94-9.88,9.39-26.77,18.94-54.75,18.94s-45.51-9.56-56.03-18.98c-5.28-4.73-8.82-9.45-11.03-12.98-1.11-1.76-1.88-3.22-2.38-4.23-.22-.45-.38-.81-.5-1.07,38.47-278.01,41.43-389.81,47.07-603.11h.02Z"}),r.createElement("path",{className:"cls-35",d:"M100.83,935.81l2-26.5s5.5,12,25.5,12,26.5-12,26.5-12l2,26.5s-9.8,15.5-27,15.5-29-15.5-29-15.5Z"})),r.createElement("g",{id:"".concat(null==o?void 0:o.inneneinbausystemTitle,"_aktiv"),className:E((null==o?void 0:o.inneneinbausystemTitle)+"_aktiv","active")},r.createElement("path",{className:"cls-28",d:"M106.96,784.93c.52-19.63,1.06-40.13,1.66-61.69.11.14.23.27.35.41,3.55,3.98,9.87,7.67,20.87,7.67,9.99,0,15.78-3.05,19.06-6.69,0,1.5.03,3.17.05,5.01.11,9.36.31,23.12.71,40.75.8,35.26,2.36,85.98,5.42,147.84,6.12,123.61,18.23,291.73,42.2,469.88-.1.26-.24.63-.44,1.1-.43,1.01-1.11,2.46-2.1,4.22-1.99,3.51-5.22,8.22-10.18,12.94-9.88,9.39-26.77,18.94-54.75,18.94s-45.51-9.56-56.03-18.98c-5.28-4.73-8.82-9.45-11.03-12.98-1.11-1.76-1.88-3.22-2.38-4.23-.22-.45-.38-.81-.5-1.07,38.47-278.01,41.43-389.81,47.07-603.11h.02Z"}),r.createElement("path",{className:"cls-21",d:"M114.83,1391.5v-435.08l22.77-18.98v435.08l-22.77,18.98Z"}),r.createElement("path",{className:"cls-21",d:"M138.61,1372.99l39.23,6.88-24.77,20.65-39.23-6.88"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1383.23",x2:"137.97",y2:"1363.96"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1373.6",x2:"137.97",y2:"1354.33"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1354.33",x2:"137.97",y2:"1335.06"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1363.96",x2:"137.97",y2:"1344.7"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1344.69",x2:"137.97",y2:"1325.42"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1335.06",x2:"137.97",y2:"1315.79"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1315.79",x2:"137.97",y2:"1296.52"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1325.43",x2:"137.97",y2:"1306.16"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1306.16",x2:"137.97",y2:"1286.89"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1296.52",x2:"137.97",y2:"1277.25"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1277.25",x2:"137.97",y2:"1257.98"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1286.89",x2:"137.97",y2:"1267.62"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1267.62",x2:"137.97",y2:"1248.35"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1257.99",x2:"137.97",y2:"1238.72"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1238.71",x2:"137.97",y2:"1219.45"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1248.35",x2:"137.97",y2:"1229.08"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1229.08",x2:"137.97",y2:"1209.81"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1219.45",x2:"137.97",y2:"1200.18"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1200.18",x2:"137.97",y2:"1180.91"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1209.81",x2:"137.97",y2:"1190.54"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1190.54",x2:"137.97",y2:"1171.28"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1180.91",x2:"137.97",y2:"1161.64"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1161.64",x2:"137.97",y2:"1142.37"}
2),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1171.27",x2:"137.97",y2:"1152.01"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1152.01",x2:"137.97",y2:"1132.74"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1142.37",x2:"137.97",y2:"1123.1"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1123.1",x2:"137.97",y2:"1103.83"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1132.74",x2:"137.97",y2:"1113.47"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1113.47",x2:"137.97",y2:"1094.2"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1103.83",x2:"137.97",y2:"1084.56"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1084.56",x2:"137.97",y2:"1065.29"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1094.2",x2:"137.97",y2:"1074.93"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1074.93",x2:"137.97",y2:"1055.66"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1065.3",x2:"137.97",y2:"1046.03"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1046.03",x2:"137.97",y2:"1026.76"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1055.66",x2:"137.97",y2:"1036.39"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1036.39",x2:"137.97",y2:"1017.12"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1026.76",x2:"137.97",y2:"1007.49"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1007.49",x2:"137.97",y2:"988.22"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"1017.12",x2:"137.97",y2:"997.85"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"997.85",x2:"137.97",y2:"978.59"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"988.22",x2:"137.97",y2:"968.95"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"968.95",x2:"137.97",y2:"949.68"}),r.createElement("line",{className:"cls-15",x1:"114.58",y1:"978.59",x2:"137.97",y2:"959.32"})),r.createElement("g",{id:"".concat(null==o?void 0:o.vorspanntechnikTitle,"_aktiv"),className:E((null==o?void 0:o.vorspanntechnikTitle)+"_aktiv","active")},r.createElement("path",{className:"cls-27",d:"M106.96,783.93c.52-19.63,1.06-40.13,1.66-61.69.11.14.23.27.35.41,3.55,3.98,9.87,7.67,20.87,7.67,9.99,0,15.78-3.05,19.06-6.69,0,1.5.03,3.17.05,5.01.11,9.36.31,23.12.71,40.75.8,35.26,2.36,85.98,5.42,147.84,6.12,123.61,18.23,291.73,42.2,469.88-.1.26-.24.63-.44,1.1-.43,1.01-1.11,2.46-2.1,4.22-1.99,3.51-5.22,8.22-10.18,12.94-9.88,9.39-26.77,18.94-54.75,18.94s-45.51-9.56-56.03-18.98c-5.28-4.73-8.82-9.45-11.03-12.98-1.11-1.76-1.88-3.22-2.38-4.23-.22-.45-.38-.81-.5-1.07,38.47-278.01,41.43-389.81,47.07-603.11h.02Z"}),r.createElement("path",{className:"cls-4",d:"M164.49,1074.31c0,12.47-15.33,22.58-34.25,22.58s-34.79-10.11-34.79-22.58"}),r.createElement("path",{className:"cls-7",d:"M165.92,1101.11c0,12.4-16,22.95-35.74,22.95s-36.29-10.56-36.29-22.95"}),r.createElement("path",{className:"cls-13",d:"M168.33,1128.16c0,12.32-17.11,23.3-38.2,23.3s-38.8-10.97-38.8-23.3"}),r.createElement("path",{className:"cls-14",d:"M170.31,1154.16c0,12.85-18,24.75-40.2,24.75s-40.82-11.9-40.82-24.75"}),r.createElement("path",{className:"cls-14",d:"M173.25,1180.46c0,13.34-19.33,26.13-43.17,26.13s-43.85-12.79-43.85-26.13"}),r.createElement("path",{className:"cls-14",d:"M176.19,1206.74c0,13.83-20.66,27.5-46.15,27.5s-46.88-13.67-46.88-27.5"}),r.createElement("path",{className:"cls-14",d:"M179.12,1233.04c0,14.31-21.99,28.88-49.13,28.88s-49.89-14.56-49.89-28.88"}),r.createElement("path",{className:"cls-14",d:"M182.07,1259.32c0,14.8-23.32,30.25-52.1,30.25s-52.92-15.45-52.92-30.25"}),r.createElement("path",{className:"cls-14",d:"M185.01,1285.61c0,15.29-24.66,31.63-55.07,31.63s-55.93-16.34-55.93-31.63"}),r.createElement("path",{className:"cls-14",d:"M187.95,1311.89c0,15.77-25.99,33-58.05,33s-58.96-17.23-58.96-33"}),r.createElement("path",{className:"cls-14",d:"M190.89,1338.19c0,16.26-27.32,34.38-61.02,34.38s-61.97-18.12-61.97-34.38"}),r.createElement("path",{className:"cls-14",d:"M193.83,1364.47c0,16.75-28.65,35.75-64,35.75s-65-19-65-35.75"}),r.createElement("path",{className:"cls-8",d:"M149.06,743c0,6.98-8.93,12.64-19.94,12.64s-20.25-5.66-20.25-12.64"}),r.createElement("path",{className:"cls-11",d:"M149.33,766.72c0,7.13-9.07,12.91-20.26,12.91s-20.57-5.78-20.57-12.91"}),r.createElement("path",{className:"cls-8",d:"M150.59,790.12c0,7.62-9.66,13.8-21.57,13.8s-21.9-6.18-21.9-13.8"}),r.createElement("path",{className:"cls-14",d:"M150.36,814.01c0,7.59-9.57,13.75-21.38,13.75s-21.72-6.15-21.72-13.75"}),r.createElement("path",{className:"cls-14",d:"M151.13,837.56c0,7.91-9.94,14.32-22.2,14.32s-22.55-6.41-22.55-14.32"}),r.createElement("path",{className:"cls-14",d:"M151.89,861.12c0,8.23-10.31,14.9-23.01,14.9s-23.37-6.67-23.37-14.9"}),r.createElement("path",{className:"cls-12",d:"M154.16,884.54c0,8.73-10.89,15.8-24.32,15.8s-24.71-7.07-24.71-15.8"}),r.createElement("path",{className:"cls-12",d:"M154.92,908.09c0,9.05-11.26,16.38-25.14,16.38s-25.53-7.33-25.53-16.38"}),r.createElement("path",{className:"cls-12",d:"M155.69,931.65c0,9.37-11.62,16.96-25.95,16.96s-26.36-7.6-26.36-16.96"}),r.createElement("path",{className:"cls-12",d:"M156.47,955.22c0,9.69-11.99,17.55-26.77,17.55s-27.18-7.86-27.18-17.55"}),r.createElement("path",{className:"cls-10",d:"M157.73,978.62c0,10.19-12.56,18.44-28.07,18.44s-28.52-8.26-28.52-18.44"}),r.createElement("path",{className:"cls-5",d:"M159,1002.01c0,10.69-13.16,19.35-29.39,19.35s-29.84-8.67-29.84-19.35"}),r.createElement("path",{className:"cls-6",d:"M160.26,1025.41c0,11.19-13.75,20.26-30.7,20.26s-31.17-9.07-31.17-20.26"}),r.createElement("path",{className:"cls-3",d:"M162.03,1048.65c0,11.88-14.55,21.5-32.5,21.5s-33.02-9.62-33.02-21.5"})),r.createElement("g",{id:"".concat(null==o?void 0:o.stahlturmTitle,"_inaktiv"),className:E((null==o?void 0:o.stahlturmTitle)+"_aktiv","inactive")},r.createElement("path",{className:"cls-23",d:"M148.86,323.7v395.08c-.11.2-.28.51-.53.87-.53.78-1.44,1.87-2.86,2.98-2.83,2.19-7.89,4.58-16.63,4.58s-13.78-2.38-16.61-4.57c-1.42-1.11-2.32-2.2-2.85-2.98-.25-.37-.42-.67-.52-.87v-395.08c.1-.17.25-.41.47-.69.52-.69,1.41-1.67,2.84-2.66,2.83-1.98,7.92-4.14,16.7-4.14s13.86,2.16,16.7,4.14c1.43,1,2.32,1.97,2.84,2.66.21.28.37.52.47.69h-.02Z"}),r.createElement("path",{className:"cls-1",d:"M149.2,522.2c0,5.93-8.95,10.74-19.99,10.74s-20.3-4.8
21-20.3-10.74"}),r.createElement("path",{className:"cls-20",d:"M149.2,522.2c0,5.93-8.95,10.74-19.99,10.74s-20.3-4.81-20.3-10.74"}),r.createElement("path",{className:"cls-34",d:"M148.81,325.2c0,6.07-8.87,11-19.8,11s-20.11-4.93-20.11-11"}),r.createElement("path",{className:"cls-2",d:"M148.81,325.2c0,6.07-8.87,11-19.8,11s-20.11-4.93-20.11-11"})),r.createElement("g",{id:"".concat(null==o?void 0:o.ubergangsstuckTitle,"_aktiv"),className:E((null==o?void 0:o.ubergangsstuckTitle)+"_aktiv","active")},r.createElement("path",{className:"cls-25",d:"M148.69,716.7v15.08c-.11.2-.28.5-.53.87-.53.78-1.44,1.87-2.86,2.98-2.83,2.19-7.89,4.58-16.63,4.58s-13.78-2.38-16.61-4.57c-1.42-1.11-2.32-2.2-2.85-2.98-.25-.37-.42-.67-.52-.87v-15.08c.1-.17.25-.41.47-.69.52-.69,1.41-1.67,2.84-2.66,2.83-1.98,7.92-4.14,16.7-4.14s13.86,2.16,16.7,4.14c1.43,1,2.32,1.97,2.84,2.66.21.28.37.52.47.69h-.02Z"}),r.createElement("path",{className:"cls-17",d:"M148.69,718.2c0,4.97-8.89,9-19.85,9s-20.15-4.03-20.15-9"})),r.createElement("g",{id:"".concat(null==o?void 0:o.stahlturmTitle,"_aktiv"),className:E((null==o?void 0:o.stahlturmTitle)+"_aktiv","active")},r.createElement("path",{className:"cls-29",d:"M148.86,323.7v395.08c-.11.2-.28.51-.53.87-.53.78-1.44,1.87-2.86,2.98-2.83,2.19-7.89,4.58-16.63,4.58s-13.78-2.38-16.61-4.57c-1.42-1.11-2.32-2.2-2.85-2.98-.25-.37-.42-.67-.52-.87v-395.08c.1-.17.25-.41.47-.69.52-.69,1.41-1.67,2.84-2.66,2.83-1.98,7.92-4.14,16.7-4.14s13.86,2.16,16.7,4.14c1.43,1,2.32,1.97,2.84,2.66.21.28.37.52.47.69h-.02Z"}),r.createElement("path",{className:"cls-14",d:"M149.2,522.2c0,5.93-8.95,10.74-19.99,10.74s-20.3-4.81-20.3-10.74"}),r.createElement("path",{className:"cls-18",d:"M148.81,325.2c0,6.07-8.87,11-19.8,11s-20.11-4.93-20.11-11"})),r.createElement("g",{id:"".concat(null==o?void 0:o.nachhaltigkeitTitle,"_aktiv"),className:E((null==o?void 0:o.nachhaltigkeitTitle)+"_aktiv","active")},r.createElement("path",{className:"cls-33",d:"M128.84,1466.46c58.65,0,106.19-29.9,106.19-66.78s-47.54-66.78-106.19-66.78-106.19,29.9-106.19,66.78,47.54,66.78,106.19,66.78Z"}),r.createElement("path",{className:"cls-32",d:"M106.78,784.79c.52-19.64,1.06-40.13,1.66-61.69.11.14.23.27.35.41,3.55,3.98,9.87,7.67,20.87,7.67,9.99,0,15.78-3.05,19.06-6.69,0,1.5.03,3.17.05,5.01.11,9.36.31,23.12.71,40.75.8,35.26,2.36,85.98,5.42,147.84,6.12,123.61,18.23,291.73,42.2,469.88-.1.25-.24.63-.44,1.1-.43,1.01-1.11,2.46-2.1,4.22-1.99,3.51-5.22,8.22-10.18,12.93-9.88,9.4-26.77,18.95-54.75,18.95s-45.51-9.56-56.03-18.99c-5.28-4.72-8.82-9.45-11.03-12.97-1.11-1.76-1.88-3.23-2.38-4.23-.22-.45-.38-.81-.5-1.07,38.47-278.01,41.43-389.81,47.07-603.11h.02Z"}),r.createElement("path",{className:"cls-35",d:"M100.65,935.67l2-26.5s5.5,12,25.5,12,26.5-12,26.5-12l2,26.5s-9.8,15.5-27,15.5-29-15.5-29-15.5Z"}),r.createElement("path",{className:"cls-9",d:"M106.78,784.79c.52-19.64,1.06-40.13,1.66-61.69.11.14.23.27.35.41,3.55,3.98,9.87,7.67,20.87,7.67,9.99,0,15.78-3.05,19.06-6.69,0,1.5.03,3.17.05,5.01.11,9.36.31,23.12.71,40.75.8,35.26,2.36,85.98,5.42,147.84,6.12,123.61,18.23,291.73,42.2,469.88-.1.25-.24.63-.44,1.1-.43,1.01-1.11,2.46-2.1,4.22-1.99,3.51-5.22,8.22-10.18,12.93-9.88,9.4-26.77,18.95-54.75,18.95s-45.51-9.56-56.03-18.99c-5.28-4.72-8.82-9.45-11.03-12.97-1.11-1.76-1.88-3.23-2.38-4.23-.22-.45-.38-.81-.5-1.07,38.47-278.01,41.43-389.81,47.07-603.11h.02Z"}),r.createElement("path",{className:"cls-32",d:"M148.65,323.67v395.08c-.11.2-.28.51-.53.87-.53.78-1.44,1.87-2.86,2.98-2.83,2.19-7.89,4.58-16.62,4.58s-13.78-2.38-16.61-4.57c-1.42-1.11-2.32-2.2-2.85-2.98-.25-.37-.42-.67-.52-.87v-395.08c.1-.17.25-.41.47-.69.52-.69,1.41-1.67,2.84-2.66,2.83-1.98,7.92-4.14,16.7-4.14s13.86,2.16,16.7,4.14c1.43,1,2.32,1.97,2.84,2.66.21.28.37.52.47.69h-.03Z"}),r.createElement("path",{className:"cls-1",d:"M148.99,522.17c0,5.93-8.95,10.74-20,10.74s-20.3-4.81-20.3-10.74"}),r.createElement("path",{className:"cls-16",d:"M148.99,522.17c0,5.93-8.95,10.74-20,10.74s-20.3-4.81-20.3-10.74"}),r.createElement("path",{className:"cls-34",d:"M148.61,325.17c0,6.07-8.87,11-19.8,11s-20.11-4.93-20.11-11"}),r.createElement("path",{className:"cls-19",d:"M148.61,325.17c0,6.07-8.87,11-19.8,11s-20.11-4.93-20.11-11"})),r.createElement("g",{id:"Windmill",className:"cls-37"},r.createElement("path",{className:"cls-26",d:"M270.48,281.62l-87.6,31.67L42.7,231.88l80.54-26.4,147.24,76.14Z"}),r.createElement("path",{className:"cls-26",d:"M182.62,394.62l-122.83-70.92-17.09-91.82,140.18,81.41-.26,81.33Z"}),r.createElement("path",{className:"cls-26",d:"M270.48,281.62l-.28,80.01-87.58,32.99.26-81.33,87.6-31.67h0Z"}),r.createElement("path",{className:"cls-26",d:"M267.41,361.62s294.04-11.43,368.79-25.93c11.71-2.06,13.14-19.33.8-20.24-12.34-.9-241.9-21.71-270.85-22.58s-88.57,24.64-106.26,29.88c-17.69,5.24-18.11,39.44,7.52,38.87h0Z"}),r.createElement("path",{className:"cls-26",d:"M215.13,300.81c3.66-1.85,7.18-1.95,10.3-.65v-.02s34.06,13.94,42.28,31.7c8.23,17.76-2.97,42.27-19.33,45.27-16.36,3.01-25.8-.09-36.22-3.69-35.02-12.77-13.28-68.76,2.97-72.61h0Z"}),r.createElement("path",{className:"cls-26",d:"M269.23,355.41c2.89-11.59-.89-22.5-8.43-24.38-7.55-1.88-16,5.99-18.89,17.57-2.89,11.59.89,22.5,8.43,24.38s16-5.98,18.89-17.57h0Z"}),r.createElement("path",{className:"cls-26",d:"M197.44,375.36s-101.09,276.35-116.06,351.01c-2.54,11.62,12.89,19.5,18.42,8.43,5.52-11.07,111.95-215.54,123.74-241.99,11.8-26.45,10.84-91.29,12.71-109.64s-29.61-31.73-38.81-7.81h0Z"}),r.createElement("path",{className:"cls-26",d:"M240.65,302.96S73.17,61.01,20.81,5.73C12.78-3.05-2.56,5.02,3.3,15.92c5.86,10.9,111.54,215.75,126.35,240.64,14.81,24.89,68.33,61.5,82.25,73.61,13.91,12.11,42.99-5.9,28.76-27.21h0Z"})),r.createElement("g",{id:"".concat(null==o?void 0:o.fundamentTitle,"_x5F"),className:"anchor-point"},r.createElement("ellipse",{className:"cls-34",cx:"246.79",cy:"1399.53",rx:"7.62",ry:"7.38"})),r.createElement("g",{id:"".concat(null==o?void 0:o.betonturmTitle,"_x5F"),className:"anchor-point"},r.createElement("ellipse",{className:"cls-34",cx:"196.29",cy:"1231.04",rx:"7.62",ry:"7.38"})),r.createElement("g",{id:"".concat(null==o?void 0:o.inneneinbausystemTitle,"_x5F"),className:"anchor-point"},r.createElement("ellipse",{className:"cls-34",cx:"180.19",cy:"1062.55",rx:"7.62",ry:"7.38"})),r.createElement("g",{id:"".concat(null==o?void 0:o.vorspanntechnikTitle,"_x5F"),className:"anchor-point"},r.createElement("ellipse",{className:"cls-34",cx:"170.19",cy:"894.06",rx:"7.62",ry:"7.38"})),r.createElement("g",{id:"".concat(null==o?void 0:o.ubergangsstuckTitle,"_x5F"),"data-name":"Übergangsstück_x5F",className:"anchor-point"},r.createElement("ellipse",{className:"cls-34",cx:"165.19",cy:"725.57",rx:"7.62",ry:"7.38"})),r.createElement("g",{id:"".concat(null==o?void 0:o.stahlturmTitle,"_x5F"),className:"anchor-point"},r.createElement("ellipse",{className:"cls-34",cx:"162.19",cy:"557.08",rx:"7.62",ry:"7.38"})))),r.createElement("div",{className:"buttons-container"},v.map((function(e){var t,n=e.buttonId,i=e.anchorId;return r.createElement("button",{key:n,onClick:function(){return C("normal",i.replace("btn","").replace("_x5F","")+"_aktiv")},"data-target":n.replace("btn","")+"_aktiv",id:n,className:(t=i.replace("btn","").replace("_x5F","")+"_aktiv",c===t?"active":""),ref:function(e){return D.current[n]=e}},i.replace("_x5F"," ")," ")})))),r.createElement("button",{className:"bg-green_light text-black w-full p-6 text-center flex flex-row items-center justify-center gap-2 button-nachhaltigkeit cursor-pointer md:absolute md:bottom-0",onClick:function(){return C("normal",(null==o?void 0:o.nachhaltigkeitTitle)+"_aktiv")},"data-target":"".concat(null==o?void 0:o.nachhaltigkeitTitle,"_aktiv")},r.createElement("img",{width:24,height:24,src:null==o?void 0:o.nachhaltigkeitIcon,alt:"close"}),null==o?void 0:o.nachhaltigkeitTitle),r.createElement("div",{className:"arrows"},v.map((function(e){var t,n=e.buttonId,i=e.anchorId;return r.createElement(a(),l({key:n,onResize:_,start:n,end:i},(t=i.replace("btn","").replace("_x5F","")+"_aktiv",h(h({},y.current),{},{color:c===t?"#FF0000":"#BFBFBF"}))))}))))}},7334:function(e){function t(e,t,n){var r,i,a,o,u;function s(){var l=Date.now()-o;l<t&&l>=0?r=setTimeout(s,t-l):(r=null,n||(u=e.apply(a,i),a=i=null))}null==t&&(t=100);var l=function(){a=this,i=arguments,o=Date.now();var l=n&&!r;return r||(r=setTimeout(s,t)),l&&(u=e.apply(a,i),a=i=null),u};return l.clear=function(){r&&(clearTimeout(r),r=null)},l.flush=function(){r&&(u=e.apply(a,i),a=i=null,clearTimeout(r),r=null)},l}t.debounce=t,e.exports=t},6575:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{u:function(){return ln},A:function(){return ln}});var i,a,o,u,s,l,c,h,d,p,f,m,g,_=function(){return i||"undefined"!=typeof window&&(i=window.gsap)&&i.registerPlugin&&i},D=1,v=[],y=[],E=[],A=Date.now,C=function(e,t){return t},F=function(e,t){return~E.indexOf(e)&&E[E.indexOf(e)+1][t]},b=function(e){return!!~p.indexOf(e)},S=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!1!==r,capture:!!i})},x=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},B="scrollLeft",w="scrollTop",M=function(){return f&&f.isPressed||y.cache++},T=function(e,t){var n=function n(r){if(r||0===r){D&&(o.history.scrollRestoration="manual");var i=f&&f.isPressed;r=n.v=Math.round(r)||(f&&f.iOS?1:0),e(r),n.cacheID=y.cache,i&&C("ss",r)}else(t||y.cache!==n.cacheID||C("ref"))&&(n.cacheID=y.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},P={s:B,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:T((function(e){return arguments.length?o.scrollTo(e,R.sc()):o.pageXOffset||u[B]||s[B]||l[B]||0}
vendor: 42,833 bytes, line 2
2))},R={s:w,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:P,sc:T((function(e){return arguments.length?o.scrollTo(P.sc(),e):o.pageYOffset||u[w]||s[w]||l[w]||0}))},I=function(e,t){return(t&&t._ctx&&t._ctx.selector||i.utils.toArray)(e)[0]||("string"==typeof e&&!1!==i.config().nullTargetWarn?console.warn("Element not found:",e):null)},N=function(e,t){var n=t.s,r=t.sc;b(e)&&(e=u.scrollingElement||s);var a=y.indexOf(e),o=r===R.sc?1:2;!~a&&(a=y.push(e)-1),y[a+o]||S(e,"scroll",M);var l=y[a+o],c=l||(y[a+o]=T(F(e,n),!0)||(b(e)?r:T((function(t){return arguments.length?e[n]=t:e[n]}))));return c.target=e,l||(c.smooth="smooth"===i.getProperty(e,"scrollBehavior")),c},L=function(e,t,n){var r=e,i=e,a=A(),o=a,u=t||50,s=Math.max(500,3*u),l=function(e,t){var s=A();t||s-a>u?(i=r,r=e,o=a,a=s):n?r+=e:r=i+(e-i)/(s-o)*(a-o)};return{update:l,reset:function(){i=r=n?0:r,o=a=0},getVelocity:function(e){var t=o,u=i,c=A();return(e||0===e)&&e!==r&&l(e),a===o||c-o>s?0:(r+(n?u:-u))/((n?c:a)-t)*1e3}}},O=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},k=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},U=function(){var e,t,n,r;(d=i.core.globals().ScrollTrigger)&&d.core&&(e=d.core,t=e.bridge||{},n=e._scrollers,r=e._proxies,n.push.apply(n,y),r.push.apply(r,E),y=n,E=r,C=function(e,n){return t[e](n)})},z=function(e){return i=e||_(),!a&&i&&"undefined"!=typeof document&&document.body&&(o=window,u=document,s=u.documentElement,l=u.body,p=[o,u,s,l],i.utils.clamp,g=i.core.context||function(){},h="onpointerenter"in l?"pointer":"mouse",c=V.isTouch=o.matchMedia&&o.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in o||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,m=V.eventTypes=("ontouchstart"in s?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in s?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return D=0}),500),U(),a=1),a};P.op=R,y.cache=0;var V=function(){function e(e){this.init(e)}var t,n,p;return e.prototype.init=function(e){a||z(i)||console.warn("Please gsap.registerPlugin(Observer)"),d||U();var t=e.tolerance,n=e.dragMinimum,r=e.type,p=e.target,_=e.lineHeight,D=e.debounce,y=e.preventDefault,E=e.onStop,C=e.onStopDelay,F=e.ignore,B=e.wheelSpeed,w=e.event,T=e.onDragStart,V=e.onDragEnd,W=e.onDrag,H=e.onPress,G=e.onRelease,j=e.onRight,X=e.onLeft,K=e.onUp,q=e.onDown,J=e.onChangeX,Y=e.onChangeY,$=e.onChange,Q=e.onToggleX,Z=e.onToggleY,ee=e.onHover,te=e.onHoverEnd,ne=e.onMove,re=e.ignoreCheck,ie=e.isNormalizer,ae=e.onGestureStart,oe=e.onGestureEnd,ue=e.onWheel,se=e.onEnable,le=e.onDisable,ce=e.onClick,he=e.scrollSpeed,de=e.capture,pe=e.allowClicks,fe=e.lockAxis,me=e.onLockAxis;this.target=p=I(p)||s,this.vars=e,F&&(F=i.utils.toArray(F)),t=t||1e-9,n=n||0,B=B||1,he=he||1,r=r||"wheel,touch,pointer",D=!1!==D,_||(_=parseFloat(o.getComputedStyle(l).lineHeight)||22);var ge,_e,De,ve,ye,Ee,Ae,Ce=this,Fe=0,be=0,Se=e.passive||!y,xe=N(p,P),Be=N(p,R),we=xe(),Me=Be(),Te=~r.indexOf("touch")&&!~r.indexOf("pointer")&&"pointerdown"===m[0],Pe=b(p),Re=p.ownerDocument||u,Ie=[0,0,0],Ne=[0,0,0],Le=0,Oe=function(){return Le=A()},ke=function(e,t){return(Ce.event=e)&&F&&~F.indexOf(e.target)||t&&Te&&"touch"!==e.pointerType||re&&re(e,t)},Ue=function(){var e=Ce.deltaX=k(Ie),n=Ce.deltaY=k(Ne),r=Math.abs(e)>=t,i=Math.abs(n)>=t;$&&(r||i)&&$(Ce,e,n,Ie,Ne),r&&(j&&Ce.deltaX>0&&j(Ce),X&&Ce.deltaX<0&&X(Ce),J&&J(Ce),Q&&Ce.deltaX<0!=Fe<0&&Q(Ce),Fe=Ce.deltaX,Ie[0]=Ie[1]=Ie[2]=0),i&&(q&&Ce.deltaY>0&&q(Ce),K&&Ce.deltaY<0&&K(Ce),Y&&Y(Ce),Z&&Ce.deltaY<0!=be<0&&Z(Ce),be=Ce.deltaY,Ne[0]=Ne[1]=Ne[2]=0),(ve||De)&&(ne&&ne(Ce),De&&(W(Ce),De=!1),ve=!1),Ee&&!(Ee=!1)&&me&&me(Ce),ye&&(ue(Ce),ye=!1),ge=0},ze=function(e,t,n){Ie[n]+=e,Ne[n]+=t,Ce._vx.update(e),Ce._vy.update(t),D?ge||(ge=requestAnimationFrame(Ue)):Ue()},Ve=function(e,t){fe&&!Ae&&(Ce.axis=Ae=Math.abs(e)>Math.abs(t)?"x":"y",Ee=!0),"y"!==Ae&&(Ie[2]+=e,Ce._vx.update(e,!0)),"x"!==Ae&&(Ne[2]+=t,Ce._vy.update(t,!0)),D?ge||(ge=requestAnimationFrame(Ue)):Ue()},We=function(e){if(!ke(e,1)){var t=(e=O(e,y)).clientX,r=e.clientY,i=t-Ce.x,a=r-Ce.y,o=Ce.isDragging;Ce.x=t,Ce.y=r,(o||Math.abs(Ce.startX-t)>=n||Math.abs(Ce.startY-r)>=n)&&(W&&(De=!0),o||(Ce.isDragging=!0),Ve(i,a),o||T&&T(Ce))}},He=Ce.onPress=function(e){ke(e,1)||e&&e.button||(Ce.axis=Ae=null,_e.pause(),Ce.isPressed=!0,e=O(e),Fe=be=0,Ce.startX=Ce.x=e.clientX,Ce.startY=Ce.y=e.clientY,Ce._vx.reset(),Ce._vy.reset(),S(ie?p:Re,m[1],We,Se,!0),Ce.deltaX=Ce.deltaY=0,H&&H(Ce))},Ge=Ce.onRelease=function(e){if(!ke(e,1)){x(ie?p:Re,m[1],We,!0);var t=!isNaN(Ce.y-Ce.startY),n=Ce.isDragging,r=n&&(Math.abs(Ce.x-Ce.startX)>3||Math.abs(Ce.y-Ce.startY)>3),a=O(e);!r&&t&&(Ce._vx.reset(),Ce._vy.reset(),y&&pe&&i.delayedCall(.08,(function(){if(A()-Le>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(Re.createEvent){var t=Re.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,o,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),Ce.isDragging=Ce.isGesturing=Ce.isPressed=!1,E&&n&&!ie&&_e.restart(!0),V&&n&&V(Ce),G&&G(Ce,r)}},je=function(e){return e.touches&&e.touches.length>1&&(Ce.isGesturing=!0)&&ae(e,Ce.isDragging)},Xe=function(){return(Ce.isGesturing=!1)||oe(Ce)},Ke=function(e){if(!ke(e)){var t=xe(),n=Be();ze((t-we)*he,(n-Me)*he,1),we=t,Me=n,E&&_e.restart(!0)}},qe=function(e){if(!ke(e)){e=O(e,y),ue&&(ye=!0);var t=(1===e.deltaMode?_:2===e.deltaMode?o.innerHeight:1)*B;ze(e.deltaX*t,e.deltaY*t,0),E&&!ie&&_e.restart(!0)}},Je=function(e){if(!ke(e)){var t=e.clientX,n=e.clientY,r=t-Ce.x,i=n-Ce.y;Ce.x=t,Ce.y=n,ve=!0,E&&_e.restart(!0),(r||i)&&Ve(r,i)}},Ye=function(e){Ce.event=e,ee(Ce)},$e=function(e){Ce.event=e,te(Ce)},Qe=function(e){return ke(e)||O(e,y)&&ce(Ce)};_e=Ce._dc=i.delayedCall(C||.25,(function(){Ce._vx.reset(),Ce._vy.reset(),_e.pause(),E&&E(Ce)})).pause(),Ce.deltaX=Ce.deltaY=0,Ce._vx=L(0,50,!0),Ce._vy=L(0,50,!0),Ce.scrollX=xe,Ce.scrollY=Be,Ce.isDragging=Ce.isGesturing=Ce.isPressed=!1,g(this),Ce.enable=function(e){return Ce.isEnabled||(S(Pe?Re:p,"scroll",M),r.indexOf("scroll")>=0&&S(Pe?Re:p,"scroll",Ke,Se,de),r.indexOf("wheel")>=0&&S(p,"wheel",qe,Se,de),(r.indexOf("touch")>=0&&c||r.indexOf("pointer")>=0)&&(S(p,m[0],He,Se,de),S(Re,m[2],Ge),S(Re,m[3],Ge),pe&&S(p,"click",Oe,!0,!0),ce&&S(p,"click",Qe),ae&&S(Re,"gesturestart",je),oe&&S(Re,"gestureend",Xe),ee&&S(p,h+"enter",Ye),te&&S(p,h+"leave",$e),ne&&S(p,h+"move",Je)),Ce.isEnabled=!0,e&&e.type&&He(e),se&&se(Ce)),Ce},Ce.disable=function(){Ce.isEnabled&&(v.filter((function(e){return e!==Ce&&b(e.target)})).length||x(Pe?Re:p,"scroll",M),Ce.isPressed&&(Ce._vx.reset(),Ce._vy.reset(),x(ie?p:Re,m[1],We,!0)),x(Pe?Re:p,"scroll",Ke,de),x(p,"wheel",qe,de),x(p,m[0],He,de),x(Re,m[2],Ge),x(Re,m[3],Ge),x(p,"click",Oe,!0),x(p,"click",Qe),x(Re,"gesturestart",je),x(Re,"gestureend",Xe),x(p,h+"enter",Ye),x(p,h+"leave",$e),x(p,h+"move",Je),Ce.isEnabled=Ce.isPressed=Ce.isDragging=!1,le&&le(Ce))},Ce.kill=Ce.revert=function(){Ce.disable();var e=v.indexOf(Ce);e>=0&&v.splice(e,1),f===Ce&&(f=0)},v.push(Ce),ie&&b(p)&&(f=Ce),Ce.enable(w)},t=e,(n=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&r(t.prototype,n),p&&r(t,p),e}();V.version="3.12.5",V.create=function(e){return new V(e)},V.register=z,V.getAll=function(){return v.slice()},V.getById=function(e){return v.filter((function(t){return t.vars.id===e}))[0]},_()&&i.registerPlugin(V);var W,H,G,j,X,K,q,J,Y,$,Q,Z,ee,te,ne,re,ie,ae,oe,ue,se,le,ce,he,de,pe,fe,me,ge,_e,De,ve,ye,Ee,Ae,Ce,Fe,be,Se=1,xe=Date.now,Be=xe(),we=0,Me=0,Te=function(e,t,n){var r=je(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return n["_"+t+"Clamp"]=r,r?e.substr(6,e.length-7):e},Pe=function(e,t){return!t||je(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"},Re=function e(){return Me&&requestAnimationFrame(e)},Ie=function(){return te=1},Ne=function(){return te=0},Le=function(e){return e},Oe=function(e){return Math.round(1e5*e)/1e5||0},ke=function(){return"undefined"!=typeof window},Ue=function(){return W||ke()&&(W=window.gsap)&&W.registerPlugin&&W},ze=function(e){return!!~q.indexOf(e)},Ve=function(e){return("Height"===e?De:G["inner"+e])||X["client"+e]||K["client"+e]},We=function(e){return F(e,"getBoundingClientRect")||(ze(e)?function(){return tn.width=G.innerWidth,tn.height=De,tn}:function(){return ft(e)})},He=function(e,t){var n=t.s,r=t.d2,i=t.d,a=t.a;return Math.max(0,(n="scroll"+r)&&(a=F(e,n))?a()-We(e)()[i]:ze(e)?(X[n]||K[n])-Ve(r):e[n]-e["offset"+r])},Ge=function(e,t){for(var n=0;n<oe.length;n+=3)(!t||~t.indexOf(oe[n+1]))&&e(oe[n],oe[n+1],oe[n+2])},je=function(e){return"string"==typeof e},Xe=function(e){return"function"==typeof e},Ke=function(e){return"number"==typeof e},qe=function(e){return"object"==typeof e},Je=function(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()},Ye=function(e,t){if(e.enabled){var n=e._ctx?e._ctx.add((function(){return t(e)})):t(e);n&&n.totalTime&&(e.callbackAnimation=n)}},$e=Math.abs,Qe="left",Ze="right",et="bottom",tt="width",nt="height",rt="Right",it="Left",at="Top",ot="Bottom",ut="padding",st="margin",lt="Width",ct="Height",ht="px",dt=function(e){return G.getComputedStyle(e)},pt=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},ft=function(e,t){var n=t&&"matrix(1, 0, 0, 1, 0, 0)"!==dt(e)[ne]&&W.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect();return n&&n.progress(0).kill(),r},mt=function(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0},gt=function(e){var t,n=[],r=e.labels,i=e.duration();for(t in r)n.push(r[t]/i);return n},_t=function(e){var t=W.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort((function(e,t){return e-t}));return n?function(e,r,i){var a;if(void 0===i&&(i=.001),!r)return t(e);if(r>0){for(e-=i,a=0;a<n.length;a++)if(n[a]>=e)return n[a];return n[a-1]}for(a=n.length,e+=i;a--;)if(n[a]<=e)return n[a];return n[0]}:function(n,r,i){void 0===i&&(i=.001);var a=t(n);return!r||Math.abs(a-n)<i||a-n<0==r<0?a:t(r<0?n-e:n+e)}},Dt=function(e,t,n,r){return n.split(",").forEach((function(n){return e(t,n,r)}))},vt=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!r,capture:!!i})},yt=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},Et=function(e,t,n){(n=n&&n.wheelHandler)&&(e(t,"wheel",n),e(t,"touchmove",n))},At={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Ct={toggleActions:"play",anticipatePin:0},Ft={top:0,left:0,center:.5,bottom:1,right:1},bt=function(e,t){if(je(e)){var n=e.indexOf("="),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in Ft?Ft[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},St=function(e,t,n,r,i,a,o,u){var s=i.startColor,l=i.endColor,c=i.fontSize,h=i.indent,d=i.fontWeight,p=j.createElement("div"),f=ze(n)||"fixed"===F(n,"pinType"),m=-1!==e.indexOf("scroller"),g=f?K:n,_=-1!==e.indexOf("start"),D=_?s:l,v="border-color:"+D+";font-size:"+c+";color:"+D+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return v+="position:"+((m||u)&&f?"fixed;":"absolute;"),(m||u||!f)&&(v+=(r===R?Ze:et)+":"+(a+parseFloat(h))+"px;"),o&&(v+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=_,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=v,p.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+r.op.d2],xt(p,0,r,_),p},xt=function(e,t,n,r){var i={display:"block"},a=n[r?"os2":"p2"],o=n[r?"p2":"os2"];e._isFlipped=r,i[n.a+"Percent"]=r?-100:0,i[n.a]=r?"1px":0,i["border"+a+lt]=1,i["border"+o+lt]=0,i[n.p]=t+"px",W.set(e,i)},Bt=[],wt={},Mt=function(){return xe()-we>34&&(Ae||(Ae=requestAnimationFrame(qt)))},Tt=function(){(!ce||!ce.isPressed||ce.startX>K.clientWidth)&&(y.cache++,ce?Ae||(Ae=requestAnimationFrame(qt)):qt(),we||Ot("scrollStart"),we=xe())},Pt=function(){pe=G.innerWidth,de=G.innerHeight},Rt=function(){y.cache++,!ee&&!le&&!j.fullscreenElement&&!j.webkitFullscreenElement&&(!he||pe!==G.innerWidth||Math.abs(G.innerHeight-de)>.25*G.innerHeight)&&J.restart(!0)},It={},Nt=[],Lt=function e(){return yt(ln,"scrollEnd",e)||jt(!0)},Ot=function(e){return It[e]&&It[e].map((function(e){return e()}))||Nt},kt=[],Ut=function(e){for(var t=0;t<kt.length;t+=5)(!e||kt[t+4]&&kt[t+4].query===e)&&(kt[t].style.cssText=kt[t+1],kt[t].getBBox&&kt[t].setAttribute("transform",kt[t+2]||""),kt[t+3].uncache=1)},zt=function(e,t){var n;for(re=0;re<Bt.length;re++)!(n=Bt[re])||t&&n._ctx!==t||(e?n.kill(1):n.revert(!0,!0));ve=!0,t&&Ut(t),t||Ot("revert")},Vt=function(e,t){y.cache++,(t||!Ce)&&y.forEach((function(e){return Xe(e)&&e.cacheID++&&(e.rec=0)})),je(e)&&(G.history.scrollRestoration=ge=e)},Wt=0,Ht=function(){K.appendChild(_e),De=!ce&&_e.offsetHeight||G.innerHeight,K.removeChild(_e)},Gt=function(e){return Y(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach((function(t){return t.style.display=e?"none":"block"}))},jt=function(e,t){if(!we||e||ve){Ht(),Ce=ln.isRefreshing=!0,y.forEach((function(e){return Xe(e)&&++e.cacheID&&(e.rec=e())}));var n=Ot("refreshInit");ue&&ln.sort(),t||zt(),y.forEach((function(e){Xe(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))})),Bt.slice(0).forEach((function(e){return e.refresh()})),ve=!1,Bt.forEach((function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}})),ye=1,Gt(!0),Bt.forEach((function(e){var t=He(e.scroller,e._dir),n="max"===e.vars.end||e._endClamp&&e.end>t,r=e._startClamp&&e.start>=t;(n||r)&&e.setPositions(r?t-1:e.start,n?Math.max(r?t:e.start+1,t):e.end,!0)})),Gt(!1),ye=0,n.forEach((function(e){return e&&e.render&&e.render(-1)})),y.forEach((function(e){Xe(e)&&(e.smooth&&requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&&e(e.rec))})),Vt(ge,1),J.pause(),Wt++,Ce=2,qt(2),Bt.forEach((function(e){return Xe(e.vars.onRefresh)&&e.vars.onRefresh(e)})),Ce=ln.isRefreshing=!1,Ot("refresh")}else vt(ln,"scrollEnd",Lt)},Xt=0,Kt=1,qt=function(e){if(2===e||!Ce&&!ve){ln.isUpdating=!0,be&&be.update(0);var t=Bt.length,n=xe(),r=n-Be>=50,i=t&&Bt[0].scroll();if(Kt=Xt>i?-1:1,Ce||(Xt=i),r&&(we&&!te&&n-we>200&&(we=0,Ot("scrollEnd")),Q=Be,Be=n),Kt<0){for(re=t;re-- >0;)Bt[re]&&Bt[re].update(0,r);Kt=1}else for(re=0;re<t;re++)Bt[re]&&Bt[re].update(0,r);ln.isUpdating=!1}Ae=0},Jt=[Qe,"top",et,Ze,st+ot,st+rt,st+at,st+it,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Yt=Jt.concat([tt,nt,"boxSizing","max"+lt,"max"+ct,"position",st,ut,ut+at,ut+rt,ut+ot,ut+it]),$t=function(e,t,n,r){if(!e._gsap.swappedIn){for(var i,a=Jt.length,o=t.style,u=e.style;a--;)o[i=Jt[a]]=n[i];o.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(o.display="inline-block"),u[et]=u[Ze]="auto",o.flexBasis=n.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[tt]=mt(e,P)+ht,o[nt]=mt(e,R)+ht,o[ut]=u[st]=u.top=u[Qe]="0",Zt(r),u[tt]=u["max"+lt]=n[tt],u[nt]=u["max"+ct]=n[nt],u[ut]=n[ut],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Qt=/([A-Z])/g,Zt=function(e){if(e){var t,n,r=e.t.style,i=e.length,a=0;for((e.t._gsap||W.core.getCache(e.t)).uncache=1;a<i;a+=2)n=e[a+1],t=e[a],n?r[t]=n:r[t]&&r.removeProperty(t.replace(Qt,"-$1").toLowerCase())}},en=function(e){for(var t=Yt.length,n=e.style,r=[],i=0;i<t;i++)r.push(Yt[i],n[Yt[i]]);return r.t=e,r},tn={left:0,top:0},nn=function(e,t,n,r,i,a,o,u,s,l,c,h,d,p){Xe(e)&&(e=e(u)),je(e)&&"max"===e.substr(0,3)&&(e=h+("="===e.charAt(4)?bt("0"+e.substr(3),n):0));var f,m,g,_=d?d.time():0;if(d&&d.seek(0),isNaN(e)||(e=+e),Ke(e))d&&(e=W.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,h,e)),o&&xt(o,n,r,!0);else{Xe(t)&&(t=t(u));var D,v,y,E,A=(e||"0").split(" ");g=I(t,u)||K,(D=ft(g)||{})&&(D.left||D.top)||"none"!==dt(g).display||(E=g.style.display,g.style.display="block",D=ft(g),E?g.style.display=E:g.style.removeProperty("display")),v=bt(A[0],D[r.d]),y=bt(A[1]||"0",n),e=D[r.p]-s[r.p]-l+v+i-y,o&&xt(o,y,r,n-y<20||o._isStart&&y>20),n-=n-y}if(p&&(u[p]=e||-.001,e<0&&(e=0)),a){var C=e+n,F=a._isStart;f="scroll"+r.d2,xt(a,C,r,F&&C>20||!F&&(c?Math.max(K[f],X[f]):a.parentNode[f])<=C+1),c&&(s=ft(o),c&&(a.style[r.op.p]=s[r.op.p]-r.op.m-a._offset+ht))}return d&&g&&(f=ft(g),d.seek(h),m=ft(g),d._caScrollDist=f[r.p]-m[r.p],e=e/d._caScrollDist*h),d&&d.seek(_),d?e:Math.round(e)},rn=/(webkit|moz|length|cssText|inset)/i,an=function(e,t,n,r){if(e.parentNode!==t){var i,a,o=e.style;if(t===K){for(i in e._stOrig=o.cssText,a=dt(e))+i||rn.test(i)||!a[i]||"string"!=typeof o[i]||"0"===i||(o[i]=a[i]);o.top=n,o.left=r}else o.cssText=e._stOrig;W.core.getCache(e).uncache=1,t.appendChild(e)}},on=function(e,t,n){var r=t,i=r;return function(t){var a=Math.round(e());return a!==r&&a!==i&&Math.abs(a-r)>3&&Math.abs(a-i)>3&&(t=a,n&&n()),i=r,r=t,t}},un=function(e,t,n){var r={};r[t.p]="+="+n,W.set(e,r)},sn=function(e,t){var n=N(e,t),r="_scroll"+t.p2,i=function t(i,a,o,u,s){var l=t.tween,c=a.onComplete,h={};o=o||n();var d=on(n,o,(function(){l.kill(),t.tween=0}));return s=u&&s||0,u=u||i-o,l&&l.kill(),a[r]=i,a.inherit=!1,a.modifiers=h,h[r]=function(){return d(o+u*l.ratio+s*l.ratio*l.ratio)},a.onUpdate=function(){y.cache++,t.tween&&qt()},a.onComplete=function(){t.tween=0,c&&c.call(l)},l=t.tween=W.to(e,a)};return e[r]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},vt(e,"wheel",n.wheelHandler),ln.isTouch&&vt(e,"touchmove",n.wheelHandler),i},ln=function(){function e(t,n){H||e.register(W)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),me(this),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Me){var r,i,a,o,u,s,l,c,h,d,p,f,m,g,_,D,v,A,C,b,S,x,B,w,M,T,L,O,k,U,z,V,H,q,J,Z,ne,ie,ae,oe,le,ce,he=t=pt(je(t)||Ke(t)||t.nodeType?{trigger:t}:t,Ct),de=he.onUpdate,pe=he.toggleClass,fe=he.id,me=he.onToggle,ge=he.onRefresh,_e=he.scrub,De=he.trigger,ve=he.pin,Ae=he.pinSpacing,Be=he.invalidateOnRefresh,Re=he.anticipatePin,Ie=he.onScrubComplete,Ne=he.onSnapComplete,ke=he.once,Ue=he.snap,Ge=he.pinReparent,Qe=he.pinSpacer,Ze=he.containerAnimation,et=he.fastScrollEnd,Dt=he.preventOverlaps,Et=t.horizontal||t.containerAnimation&&!1!==t.horizontal?P:R,Ft=!_e&&0!==_e,xt=I(t.scroller||G),Mt=W.core.getCache(xt),Pt=ze(xt),It="fixed"===("pinType"in t?t.pinType:F(xt,"pinType")||Pt&&"fixed"),Nt=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Ot=Ft&&t.toggleActions.split(" "),kt="markers"in t?t.markers:Ct.markers,Ut=Pt?0:parseFloat(dt(xt)["border"+Et.p2+lt])||0,zt=this,Vt=t.onRefreshInit&&function(){return t.onRefreshInit(zt)},Ht=function(e,t,n){var r=n.d,i=n.d2,a=n.a;return(a=F(e,"getBoundingClientRect"))?function(){return a()[r]}:function(){return(t?Ve(i):e["client"+i])||0}}(xt,Pt,Et),Gt=function(e,t){return!t||~E.indexOf(e)?We(e):function(){return tn}}(xt,Pt),Xt=0,qt=0,Jt=0,Yt=N(xt,Et);if(zt._startClamp=zt._endClamp=!1,zt._dir=Et,Re*=45,zt.scroller=xt,zt.scroll=Ze?Ze.time.bind(Ze):Yt,o=Yt(),zt.vars=t,n=n||t.animation,"refreshPriority"in t&&(ue=1,-9999===t.refreshPriority&&(be=zt)),Mt.tweenScroll=Mt.tweenScroll||{top:sn(xt,R),left:sn(xt,P)},zt.tweenTo=r=Mt.tweenScroll[Et.p],zt.scrubDuration=function(e){(H=Ke(e)&&e)?V?V.duration(e):V=W.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:H,paused:!0,onComplete:function(){return Ie&&Ie(zt)}}):(V&&V.progress(1).kill(),V=0)},n&&(n.vars.lazy=!1,n._initted&&!zt.isReverted||!1!==n.vars.immediateRender&&!1!==t.immediateRender&&n.duration()&&n.render(0,!0,!0),zt.animation=n.pause(),n.scrollTrigger=zt,zt.scrubDuration(_e),U=0,fe||(fe=n.vars.id)),Ue&&(qe(Ue)&&!Ue.push||(Ue={snapTo:Ue}),"scrollBehavior"in K.style&&W.set(Pt?[K,X]:xt,{scrollBehavior:"auto"}),y.forEach((function(e){return Xe(e)&&e.target===(Pt?j.scrollingElement||X:xt)&&(e.smooth=!1)})),a=Xe(Ue.snapTo)?Ue.snapTo:"labels"===Ue.snapTo?function(e){return function(t){return W.utils.snap(gt(e),t)}}(n):"labelsDirectional"===Ue.snapTo?(oe=n,function(e,t){return _t(gt(oe))(e,t.direction)}):!1!==Ue.directional?function(e,t){return _t(Ue.snapTo)(e,xe()-qt<500?0:t.direction)}:W.utils.snap(Ue.snapTo),q=Ue.duration||{min:.1,max:2},q=qe(q)?$(q.min,q.max):$(q,q),J=W.delayedCall(Ue.delay||H/2||.1,(function(){var e=Yt(),t=xe()-qt<500,i=r.tween;if(!(t||Math.abs(zt.getVelocity())<10)||i||te||Xt===e)zt.isActive&&Xt!==e&&J.restart(!0);else{var o,u,c=(e-s)/g,h=n&&!Ft?n.totalProgress():c,d=t?0:(h-z)/(xe()-Q)*1e3||0,p=W.utils.clamp(-c,1-c,$e(d/2)*d/.185),f=c+(!1===Ue.inertia?0:p),m=Ue,_=m.onStart,D=m.onInterrupt,v=m.onComplete;if(o=a(f,zt),Ke(o)||(o=f),u=Math.round(s+o*g),e<=l&&e>=s&&u!==e){if(i&&!i._initted&&i.data<=$e(u-e))return;!1===Ue.inertia&&(p=o-c),r(u,{duration:q($e(.185*Math.max($e(f-h),$e(o-h))/d/.05||0)),ease:Ue.ease||"power3",data:$e(u-e),onInterrupt:function(){return J.restart(!0)&&D&&D(zt)},onComplete:function(){zt.update(),Xt=Yt(),n&&(V?V.resetTo("totalProgress",o,n._tTime/n._tDur):n.progress(o)),U=z=n&&!Ft?n.totalProgress():zt.progress,Ne&&Ne(zt),v&&v(zt)}},e,p*g,u-e-p*g),_&&_(zt,r.tween)}}})).pause()),fe&&(wt[fe]=zt),(ae=(De=zt.trigger=I(De||!0!==ve&&ve))&&De._gsap&&De._gsap.stRevert)&&(ae=ae(zt)),ve=!0===ve?De:I(ve),je(pe)&&(pe={targets:De,className:pe}),ve&&(!1===Ae||Ae===st||(Ae=!(!Ae&&ve.parentNode&&ve.parentNode.style&&"flex"===dt(ve.parentNode).display)&&ut),zt.pin=ve,(i=W.core.getCache(ve)).spacer?_=i.pinState:(Qe&&((Qe=I(Qe))&&!Qe.nodeType&&(Qe=Qe.current||Qe.nativeElement),i.spacerIsNative=!!Qe,Qe&&(i.spacerState=en(Qe))),i.spacer=A=Qe||j.createElement("div"),A.classList.add("pin-spacer"),fe&&A.classList.add("pin-spacer-"+fe),i.pinState=_=en(ve)),!1!==t.force3D&&W.set(ve,{force3D:!0}),zt.spacer=A=i.spacer,k=dt(ve),w=k[Ae+Et.os2],b=W.getProperty(ve),S=W.quickSetter(ve,Et.a,ht),$t(ve,A,k),v=en(ve)),kt){f=qe(kt)?pt(kt,At):At,d=St("scroller-start",fe,xt,Et,f,0),p=St("scroller-end",fe,xt,Et,f,0,d),C=d["offset"+Et.op.d2];var Qt=I(F(xt,"content")||xt);c=this.markerStart=St("start",fe,Qt,Et,f,C,0,Ze),h=this.markerEnd=St("end",fe,Qt,Et,f,C,0,Ze),Ze&&(ie=W.quickSetter([c,h],Et.a,ht)),It||E.length&&!0===F(xt,"fixedMarkers")||(ce=dt(le=Pt?K:xt).position,le.style.position="absolute"===ce||"fixed"===ce?ce:"relative",W.set([d,p],{force3D:!0}),T=W.quickSetter(d,Et.a,ht),O=W.quickSetter(p,Et.a,ht))}if(Ze){var rn=Ze.vars.onUpdate,on=Ze.vars.onUpdateParams;Ze.eventCallback("onUpdate",(function(){zt.update(0,0,1),rn&&rn.apply(Ze,on||[])}))}if(zt.previous=function(){return Bt[Bt.indexOf(zt)-1]},zt.next=function(){return Bt[Bt.indexOf(zt)+1]},zt.revert=function(e,t){if(!t)return zt.kill(!0);var r=!1!==e||!zt.enabled,i=ee;r!==zt.isReverted&&(r&&(Z=Math.max(Yt(),zt.scroll.rec||0),Jt=zt.progress,ne=n&&n.progress()),c&&[c,h,d,p].forEach((function(e){return e.style.display=r?"none":"block"})),r&&(ee=zt,zt.update(r)),!ve||Ge&&zt.isActive||(r?function(e,t,n){Zt(n);var r=e._gsap;if(r.spacerIsNative)Zt(r.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1}(ve,A,_):$t(ve,A,dt(ve),M)),r||zt.update(r),ee=i,zt.isReverted=r)},zt.refresh=function(i,a,f,y){if(!ee&&zt.enabled||a)if(ve&&i&&we)vt(e,"scrollEnd",Lt);else{!Ce&&Vt&&Vt(zt),ee=zt,r.tween&&!f&&(r.tween.kill(),r.tween=0),V&&V.pause(),Be&&n&&n.revert({kill:!1}).invalidate(),zt.isReverted||zt.revert(!0,!0),zt._subPinOffset=!1;var E,C,F,S,w,T,O,k,U,z,H,G,q,Y=Ht(),$=Gt(),Q=Ze?Ze.duration():He(xt,Et),te=g<=.01,re=0,ie=y||0,ae=qe(f)?f.end:t.end,oe=t.endTrigger||De,ue=qe(f)?f.start:t.start||(0!==t.start&&De?ve?"0 0":"0 100%":0),le=zt.pinnedContainer=t.pinnedContainer&&I(t.pinnedContainer,zt),ce=De&&Math.max(0,Bt.indexOf(zt))||0,he=ce;for(kt&&qe(f)&&(G=W.getProperty(d,Et.p),q=W.getProperty(p,Et.p));he--;)(T=Bt[he]).end||T.refresh(0,1)||(ee=zt),!(O=T.pin)||O!==De&&O!==ve&&O!==le||T.isReverted||(z||(z=[]),z.unshift(T),T.revert(!0,!0)),T!==Bt[he]&&(ce--,he--);for(Xe(ue)&&(ue=ue(zt)),ue=Te(ue,"start",zt),s=nn(ue,De,Y,Et,Yt(),c,d,zt,$,Ut,It,Q,Ze,zt._startClamp&&"_startClamp")||(ve?-.001:0),Xe(ae)&&(ae=ae(zt)),je(ae)&&!ae.indexOf("+=")&&(~ae.indexOf(" ")?ae=(je(ue)?ue.split(" ")[0]:"")+ae:(re=bt(ae.substr(2),Y),ae=je(ue)?ue:(Ze?W.utils.mapRange(0,Ze.duration(),Ze.scrollTrigger.start,Ze.scrollTrigger.end,s):s)+re,oe=De)),ae=Te(ae,"end",zt),l=Math.max(s,nn(ae||(oe?"100% 0":Q),oe,Y,Et,Yt()+re,h,p,zt,$,Ut,It,Q,Ze,zt._endClamp&&"_endClamp"))||-.001,re=0,he=ce;he--;)(O=(T=Bt[he]).pin)&&T.start-T._pinPush<=s&&!Ze&&T.end>0&&(E=T.end-(zt._startClamp?Math.max(0,T.start):T.start),(O===De&&T.start-T._pinPush<s||O===le)&&isNaN(ue)&&(re+=E*(1-T.progress)),O===ve&&(ie+=E));if(s+=re,l+=re,zt._startClamp&&(zt._startClamp+=re),zt._endClamp&&!Ce&&(zt._endClamp=l||-.001,l=Math.min(l,He(xt,Et))),g=l-s||(s-=.01)&&.001,te&&(Jt=W.utils.clamp(0,1,W.utils.normalize(s,l,Z))),zt._pinPush=ie,c&&re&&((E={})[Et.a]="+="+re,le&&(E[Et.p]="-="+Yt()),W.set([c,h],E)),!ve||ye&&zt.end>=He(xt,Et)){if(De&&Yt()&&!Ze)for(C=De.parentNode;C&&C!==K;)C._pinOffset&&(s-=C._pinOffset,l-=C._pinOffset),C=C.parentNode}else E=dt(ve),S=Et===R,F=Yt(),x=parseFloat(b(Et.a))+ie,!Q&&l>1&&(H={style:H=(Pt?j.scrollingElement||X:xt).style,value:H["overflow"+Et.a.toUpperCase()]},Pt&&"scroll"!==dt(K)["overflow"+Et.a.toUpperCase()]&&(H.style["overflow"+Et.a.toUpperCase()]="scroll")),$t(ve,A,E),v=en(ve),C=ft(ve,!0),k=It&&N(xt,S?P:R)(),Ae?((M=[Ae+Et.os2,g+ie+ht]).t=A,(he=Ae===ut?mt(ve,Et)+g+ie:0)&&(M.push(Et.d,he+ht),"auto"!==A.style.flexBasis&&(A.style.flexBasis=he+ht)),Zt(M),le&&Bt.forEach((function(e){e.pin===le&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)})),It&&Yt(Z)):(he=mt(ve,Et))&&"auto"!==A.style.flexBasis&&(A.style.flexBasis=he+ht),It&&((w={top:C.top+(S?F-s:k)+ht,left:C.left+(S?k:F-s)+ht,boxSizing:"border-box",position:"fixed"})[tt]=w["max"+lt]=Math.ceil(C.width)+ht,w[nt]=w["max"+ct]=Math.ceil(C.height)+ht,w[st]=w[st+at]=w[st+rt]=w[st+ot]=w[st+it]="0",w[ut]=E[ut],w[ut+at]=E[ut+at],w[ut+rt]=E[ut+rt],w[ut+ot]=E[ut+ot],w[ut+it]=E[ut+it],D=function(e,t,n){for(var r,i=[],a=e.length,o=n?8:0;o<a;o+=2)r=e[o],i.push(r,r in t?t[r]:e[o+1]);return i.t=e.t,i}(_,w,Ge),Ce&&Yt(0)),n?(U=n._initted,se(1),n.render(n.duration(),!0,!0),B=b(Et.a)-x+g+ie,L=Math.abs(g-B)>1,It&&L&&D.splice(D.length-2,2),n.render(0,!0,!0),U||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),se(0)):B=g,H&&(H.value?H.style["overflow"+Et.a.toUpperCase()]=H.value:H.style.removeProperty("overflow-"+Et.a));z&&z.forEach((function(e){return e.revert(!1,!0)})),zt.start=s,zt.end=l,o=u=Ce?Z:Yt(),Ze||Ce||(o<Z&&Yt(Z),zt.scroll.rec=0),zt.revert(!1,!0),qt=xe(),J&&(Xt=-1,J.restart(!0)),ee=0,n&&Ft&&(n._initted||ne)&&n.progress()!==ne&&n.progress(ne||0,!0).render(n.time(),!0,!0),(te||Jt!==zt.progress||Ze||Be)&&(n&&!Ft&&n.totalProgress(Ze&&s<-.001&&!Jt?W.utils.normalize(s,l,0):Jt,!0),zt.progress=te||(o-s)/g===Jt?0:Jt),ve&&Ae&&(A._pinOffset=Math.round(zt.progress*B)),V&&V.invalidate(),isNaN(G)||(G-=W.getProperty(d,Et.p),q-=W.getProperty(p,Et.p),un(d,Et,G),un(c,Et,G-(y||0)),un(p,Et,q),un(h,Et,q-(y||0))),te&&!Ce&&zt.update(),!ge||Ce||m||(m=!0,ge(zt),m=!1)}},zt.getVelocity=function(){return(Yt()-u)/(xe()-Q)*1e3||0},zt.endAnimation=function(){Je(zt.callbackAnimation),n&&(V?V.progress(1):n.paused()?Ft||Je(n,zt.direction<0,1):Je(n,n.reversed()))},zt.labelToScroll=function(e){return n&&n.labels&&(s||zt.refresh()||s)+n.labels[e]/n.duration()*g||0},zt.getTrailing=function(e){var t=Bt.indexOf(zt),n=zt.direction>0?Bt.slice(0,t).reverse():Bt.slice(t+1);return(je(e)?n.filter((function(t){return t.vars.preventOverlaps===e})):n).filter((function(e){return zt.direction>0?e.end<=s:e.start>=l}))},zt.update=function(e,t,i){if(!Ze||i||e){var a,c,h,p,f,m,_,y=!0===Ce?Z:zt.scroll(),E=e?0:(y-s)/g,C=E<0?0:E>1?1:E||0,F=zt.progress;if(t&&(u=o,o=Ze?Yt():y,Ue&&(z=U,U=n&&!Ft?n.totalProgress():C)),Re&&ve&&!ee&&!Se&&we&&(!C&&s<y+(y-u)/(xe()-Q)*Re?C=1e-4:1===C&&l>y+(y-u)/(xe()-Q)*Re&&(C=.9999)),C!==F&&zt.enabled){if(p=(f=(a=zt.isActive=!!C&&C<1)!==(!!F&&F<1))||!!C!=!!F,zt.direction=C>F?1:-1,zt.progress=C,p&&!ee&&(c=C&&!F?0:1===C?1:1===F?2:3,Ft&&(h=!f&&"none"!==Ot[c+1]&&Ot[c+1]||Ot[c],_=n&&("complete"===h||"reset"===h||h in n))),Dt&&(f||_)&&(_||_e||!n)&&(Xe(Dt)?Dt(zt):zt.getTrailing(Dt).forEach((function(e){return e.endAnimation()}))),Ft||(!V||ee||Se?n&&n.totalProgress(C,!(!ee||!qt&&!e)):(V._dp._time-V._start!==V._time&&V.render(V._dp._time-V._start),V.resetTo?V.resetTo("totalProgress",C,n._tTime/n._tDur):(V.vars.totalProgress=C,V.invalidate().restart()))),ve)if(e&&Ae&&(A.style[Ae+Et.os2]=w),It){if(p){if(m=!e&&C>F&&l+1>y&&y+1>=He(xt,Et),Ge)if(e||!a&&!m)an(ve,A);else{var b=ft(ve,!0),M=y-s;an(ve,K,b.top+(Et===R?M:0)+ht,b.left+(Et===R?0:M)+ht)}Zt(a||m?D:v),L&&C<1&&a||S(x+(1!==C||m?0:B))}}else S(Oe(x+B*C));Ue&&!r.tween&&!ee&&!Se&&J.restart(!0),pe&&(f||ke&&C&&(C<1||!Ee))&&Y(pe.targets).forEach((function(e){return e.classList[a||ke?"add":"remove"](pe.className)})),de&&!Ft&&!e&&de(zt),p&&!ee?(Ft&&(_&&("complete"===h?n.pause().totalProgress(1):"reset"===h?n.restart(!0).pause():"restart"===h?n.restart(!0):n[h]()),de&&de(zt)),!f&&Ee||(me&&f&&Ye(zt,me),Nt[c]&&Ye(zt,Nt[c]),ke&&(1===C?zt.kill(!1,1):Nt[c]=0),f||Nt[c=1===C?1:3]&&Ye(zt,Nt[c])),et&&!a&&Math.abs(zt.getVelocity())>(Ke(et)?et:2500)&&(Je(zt.callbackAnimation),V?V.progress(1):Je(n,"reverse"===h?1:!C,1))):Ft&&de&&!ee&&de(zt)}if(O){var P=Ze?y/Ze.duration()*(Ze._caScrollDist||0):y;T(P+(d._isFlipped?1:0)),O(P)}ie&&ie(-y/Ze.duration()*(Ze._caScrollDist||0))}},zt.enable=function(t,n){zt.enabled||(zt.enabled=!0,vt(xt,"resize",Rt),Pt||vt(xt,"scroll",Tt),Vt&&vt(e,"refreshInit",Vt),!1!==t&&(zt.progress=Jt=0,o=u=Xt=Yt()),!1!==n&&zt.refresh())},zt.getTween=function(e){return e&&r?r.tween:V},zt.setPositions=function(e,t,n,r){if(Ze){var i=Ze.scrollTrigger,a=Ze.duration(),o=i.end-i.start;e=i.start+o*e/a,t=i.start+o*t/a}zt.refresh(!1,!1,{start:Pe(e,n&&!!zt._startClamp),end:Pe(t,n&&!!zt._endClamp)},r),zt.update()},zt.adjustPinSpacing=function(e){if(M&&e){var t=M.indexOf(Et.d)+1;M[t]=parseFloat(M[t])+e+ht,M[1]=parseFloat(M[1])+e+ht,Zt(M)}},zt.disable=function(t,n){if(zt.enabled&&(!1!==t&&zt.revert(!0,!0),zt.enabled=zt.isActive=!1,n||V&&V.pause(),Z=0,i&&(i.uncache=1),Vt&&yt(e,"refreshInit",Vt),J&&(J.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!Pt)){for(var a=Bt.length;a--;)if(Bt[a].scroller===xt&&Bt[a]!==zt)return;yt(xt,"resize",Rt),Pt||yt(xt,"scroll",Tt)}},zt.kill=function(e,r){zt.disable(e,r),V&&!r&&V.kill(),fe&&delete wt[fe];var a=Bt.indexOf(zt);a>=0&&Bt.splice(a,1),a===re&&Kt>0&&re--,a=0,Bt.forEach((function(e){return e.scroller===zt.scroller&&(a=1)})),a||Ce||(zt.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),c&&[c,h,d,p].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),be===zt&&(be=0),ve&&(i&&(i.uncache=1),a=0,Bt.forEach((function(e){return e.pin===ve&&a++})),a||(i.spacer=0)),t.onKill&&t.onKill(zt)},Bt.push(zt),zt.enable(!1,!1),ae&&ae(zt),n&&n.add&&!g){var ln=zt.update;zt.update=function(){zt.update=ln,s||l||zt.refresh()},W.delayedCall(.01,zt.update),g=.01,s=l=0}else zt.refresh();ve&&function(){if(Fe!==Wt){var e=Fe=Wt;requestAnimationFrame((function(){return e===Wt&&jt(!0)}))}}()}else this.update=this.refresh=this.kill=Le},e.register=function(t){return H||(W=t||Ue(),ke()&&window.document&&e.enable(),H=Me),H},e.defaults=function(e){if(e)for(var t in e)Ct[t]=e[t];return Ct},e.disable=function(e,t){Me=0,Bt.forEach((function(n){return n[t?"kill":"disable"](e)})),yt(G,"wheel",Tt),yt(j,"scroll",Tt),clearInterval(Z),yt(j,"touchcancel",Le),yt(K,"touchstart",Le),Dt(yt,j,"pointerdown,touchstart,mousedown",Ie),Dt(yt,j,"pointerup,touchend,mouseup",Ne),J.kill(),Ge(yt);for(var n=0;n<y.length;n+=3)Et(yt,y[n],y[n+1]),Et(yt,y[n],y[n+2])},e.enable=function(){if(G=window,j=document,X=j.documentElement,K=j.body,W&&(Y=W.utils.toArray,$=W.utils.clamp,me=W.core.context||Le,se=W.core.suppressOverwrites||Le,ge=G.history.scrollRestoration||"auto",Xt=G.pageYOffset,W.core.globals("ScrollTrigger",e),K)){Me=1,(_e=document.createElement("div")).style.height="100vh",_e.style.position="absolute",Ht(),Re(),V.register(W),e.isTouch=V.isTouch,fe=V.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),he=1===V.isTouch,vt(G,"wheel",Tt),q=[G,j,X,K],W.matchMedia?(e.matchMedia=function(e){var t,n=W.matchMedia();for(t in e)n.add(t,e[t]);return n},W.addEventListener("matchMediaInit",(function(){return zt()})),W.addEventListener("matchMediaRevert",(function(){return Ut()})),W.addEventListener("matchMedia",(function(){jt(0,1),Ot("matchMedia")})),W.matchMedia("(orientation: portrait)",(function(){return Pt(),Pt}))):console.warn("Requires GSAP 3.11.0 or later"),Pt(),vt(j,"scroll",Tt);var t,n,r=K.style,i=r.borderTopStyle,a=W.core.Animation.prototype;for(a.revert||Object.defineProperty(a,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",t=ft(K),R.m=Math.round(t.top+R.sc())||0,P.m=Math.round(t.left+P.sc())||0,i?r.borderTopStyle=i:r.removeProperty("border-top-style"),Z=setInterval(Mt,250),W.delayedCall(.5,(function(){return Se=0})),vt(j,"touchcancel",Le),vt(K,"touchstart",Le),Dt(vt,j,"pointerdown,touchstart,mousedown",Ie),Dt(vt,j,"pointerup,touchend,mouseup",Ne),ne=W.utils.checkPrefix("transform"),Yt.push(ne),H=xe(),J=W.delayedCall(.2,jt).pause(),oe=[j,"visibilitychange",function(){var e=G.innerWidth,t=G.innerHeight;j.hidden?(ie=e,ae=t):ie===e&&ae===t||Rt()},j,"DOMContentLoaded",jt,G,"load",jt,G,"resize",Rt],Ge(vt),Bt.forEach((function(e){return e.enable(0,1)})),n=0;n<y.length;n+=3)Et(yt,y[n],y[n+1]),Et(yt,y[n],y[n+2])}},e.config=function(t){"limitCallbacks"in t&&(Ee=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(Z)||(Z=n)&&setInterval(Mt,n),"ignoreMobileResize"in t&&(he=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(Ge(yt)||Ge(vt,t.autoRefreshEvents||"none"),le=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var n=I(e),r=y.indexOf(n),i=ze(n);~r&&y.splice(r,i?6:2),t&&(i?E.unshift(G,t,K,t,X,t):E.unshift(n,t))},e.clearMatchMedia=function(e){Bt.forEach((function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)}))},e.isInViewport=function(e,t,n){var r=(je(e)?I(e):e).getBoundingClientRect(),i=r[n?tt:nt]*t||0;return n?r.right-i>0&&r.left+i<G.innerWidth:r.bottom-i>0&&r.top+i<G.innerHeight},e.positionInViewport=function(e,t,n){je(e)&&(e=I(e));var r=e.getBoundingClientRect(),i=r[n?tt:nt],a=null==t?i/2:t in Ft?Ft[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0;return n?(r.left+a)/G.innerWidth:(r.top+a)/G.innerHeight},e.killAll=function(e){if(Bt.slice(0).forEach((function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()})),!0!==e){var t=It.killAll||[];It={},t.forEach((function(e){return e()}))}},e}();ln.version="3.12.5",ln.saveStyles=function(e){return e?Y(e).forEach((function(e){if(e&&e.style){var t=kt.indexOf(e);t>=0&&kt.splice(t,5),kt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),W.core.getCache(e),me())}})):kt},ln.revert=function(e,t){return zt(!e,t)},ln.create=function(e,t){return new ln(e,t)},ln.refresh=function(e){return e?Rt():(H||ln.register())&&jt(!0)},ln.update=function(e){return++y.cache&&qt(!0===e?2:0)},ln.clearScrollMemory=Vt,ln.maxScroll=function(e,t){return He(e,t?P:R)},ln.getScrollFunc=function(e,t){return N(I(e),t?P:R)},ln.getById=function(e){return wt[e]},ln.getAll=function(){return Bt.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},ln.isScrolling=function(){return!!we},ln.snapDirectional=_t,ln.addEventListener=function(e,t){var n=It[e]||(It[e]=[]);~n.indexOf(t)||n.push(t)},ln.removeEventListener=function(e,t){var n=It[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},ln.batch=function(e,t){var n,r=[],i={},a=t.interval||.016,o=t.batchMax||1e9,u=function(e,t){var n=[],r=[],i=W.delayedCall(a,(function(){t(n,r),n=[],r=[]})).pause();return function(e){n.length||i.restart(!0),n.push(e.trigger),r.push(e),o<=n.length&&i.progress(1)}};for(n in t)i[n]="on"===n.substr(0,2)&&Xe(t[n])&&"onRefreshInit"!==n?u(0,t[n]):t[n];return Xe(o)&&(o=o(),vt(ln,"refresh",(function(){return o=t.batchMax()}))),Y(e).forEach((function(e){var t={};for(n in i)t[n]=i[n];t.trigger=e,r.push(ln.create(t))})),r};var cn,hn=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},dn=function e(t,n){!0===n?t.style.removeProperty("touch-action"):t.style.touchAction=!0===n?"auto":n?"pan-"+n+(V.isTouch?" pinch-zoom":""):"none",t===X&&e(K,n)},pn={auto:1,scroll:1},fn=function(e){var t,n=e.event,r=e.target,i=e.axis,a=(n.changedTouches?n.changedTouches[0]:n).target,o=a._gsap||W.core.getCache(a),u=xe();if(!o._isScrollT||u-o._isScrollT>2e3){for(;a&&a!==K&&(a.scrollHeight<=a.clientHeight&&a.scrollWidth<=a.clientWidth||!pn[(t=dt(a)).overflowY]&&!pn[t.overflowX]);)a=a.parentNode;o._isScroll=a&&a!==r&&!ze(a)&&(pn[(t=dt(a)).overflowY]||pn[t.overflowX]),o._isScrollT=u}(o._isScroll||"x"===i)&&(n.stopPropagation(),n._gsapAllow=!0)},mn=function(e,t,n,r){return V.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&fn,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&vt(j,V.eventTypes[0],_n,!1,!0)},onDisable:function(){return yt(j,V.eventTypes[0],_n,!0)}})},gn=/(input|label|select|textarea)/i,_n=function(e){var t=gn.test(e.target.tagName);(t||cn)&&(e._gsapAllow=!0,cn=t)},Dn=function(e){qe(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,n,r,i,a,o,u,s,l=e,c=l.normalizeScrollX,h=l.momentum,d=l.allowNestedScroll,p=l.onRelease,f=I(e.target)||X,m=W.core.globals().ScrollSmoother,g=m&&m.get(),_=fe&&(e.content&&I(e.content)||g&&!1!==e.content&&!g.smooth()&&g.content()),D=N(f,R),v=N(f,P),E=1,A=(V.isTouch&&G.visualViewport?G.visualViewport.scale*G.visualViewport.width:G.outerWidth)/G.innerWidth,C=0,F=Xe(h)?function(){return h(t)}:function(){return h||2.8},b=mn(f,e.type,!0,d),S=function(){return i=!1},x=Le,B=Le,w=function(){n=He(f,R),B=$(fe?1:0,n),c&&(x=$(0,He(f,P))),r=Wt},M=function(){_._gsap.y=Oe(parseFloat(_._gsap.y)+D.offset)+"px",_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(_._gsap.y)+", 0, 1)",D.offset=D.cacheID=0},T=function(){w(),a.isActive()&&a.vars.scrollY>n&&(D()>n?a.progress(1)&&D(n):a.resetTo("scrollY",n))};return _&&W.set(_,{y:"+=0"}),e.ignoreCheck=function(e){return fe&&"touchmove"===e.type&&function(){if(i){requestAnimationFrame(S);var e=Oe(t.deltaY/2),n=B(D.v-e);if(_&&n!==D.v+D.offset){D.offset=n-D.v;var r=Oe((parseFloat(_&&_._gsap.y)||0)-D.offset);_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",_._gsap.y=r+"px",D.cacheID=y.cache,qt()}return!0}D.offset&&M(),i=!0}()||E>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){i=!1;var e=E;E=Oe((G.visualViewport&&G.visualViewport.scale||1)/A),a.pause(),e!==E&&dn(f,E>1.01||!c&&"x"),o=v(),u=D(),w(),r=Wt},e.onRelease=e.onGestureStart=function(e,t){if(D.offset&&M(),t){y.cache++;var r,i,o=F();c&&(i=(r=v())+.05*o*-e.velocityX/.227,o*=hn(v,r,i,He(f,P)),a.vars.scrollX=x(i)),i=(r=D())+.05*o*-e.velocityY/.227,o*=hn(D,r,i,He(f,R)),a.vars.scrollY=B(i),a.invalidate().duration(o).play(.01),(fe&&a.vars.scrollY>=n||r>=n-1)&&W.to({},{onUpdate:T,duration:o})}else s.restart(!0);p&&p(e)},e.onWheel=function(){a._ts&&a.pause(),xe()-C>1e3&&(r=0,C=xe())},e.onChange=function(e,t,n,i,a){if(Wt!==r&&w(),t&&c&&v(x(i[2]===t?o+(e.startX-e.x):v()+t-i[1])),n){D.offset&&M();var s=a[2]===n,l=s?u+e.startY-e.y:D()+n-a[1],h=B(l);s&&l!==h&&(u+=h-l),D(h)}(n||t)&&qt()},e.onEnable=function(){dn(f,!c&&"x"),ln.addEventListener("refresh",T),vt(G,"resize",T),D.smooth&&(D.target.style.scrollBehavior="auto",D.smooth=v.smooth=!1),b.enable()},e.onDisable=function(){dn(f,!0),yt(G,"resize",T),ln.removeEventListener("refresh",T),b.kill()},e.lockAxis=!1!==e.lockAxis,(t=new V(e)).iOS=fe,fe&&!D()&&D(1),fe&&W.ticker.add(Le),s=t._dc,a=W.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:on(D,D(),(function(){return a.pause()}))},onUpdate:qt,onComplete:s.vars.onComplete}),t};ln.sort=function(e){return Bt.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},ln.observe=function(e){return new V(e)},ln.normalizeScroll=function(e){if(void 0===e)return ce;if(!0===e&&ce)return ce.enable();if(!1===e)return ce&&ce.kill(),void(ce=e);var t=e instanceof V?e:Dn(e);return ce&&ce.target===t.target&&ce.kill(),ze(t.target)&&(ce=t),t},ln.core={_getVelocityProp:L,_inputObserver:mn,_scrollers:y,_proxies:E,bridge:{ss:function(){we||Ot("scrollStart"),we=xe()},ref:function(){return ee}}},Ue()&&W.registerPlugin(ln)},5880:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,{Ay:function(){return Yr}});var a,o,u,s,l,c,h,d,p,f,m,g,_,D,v,y,E,A={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},C={duration:.5,overwrite:!1,delay:0},F=1e8,b=1e-8,S=2*Math.PI,x=S/4,B=0,w=Math.sqrt,M=Math.cos,T=Math.sin,P=function(e){return"string"==typeof e},R=function(e){return"function"==typeof e},I=function(e){return"number"==typeof e},N=function(e){return void 0===e},L=function(e){return"object"==typeof e},O=function(e){return!1!==e},k=function(){return"undefined"!=typeof window},U=function(e){return R(e)||P(e)},z="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},V=Array.isArray,W=/(?:-?\.?\d|\.)+/gi,H=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,G=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,j=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,X=/[+-]=-?[.\d]+/,K=/[^,'"\[\]\s]+/gi,q=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,J={},Y={},$=function(e){return(Y=Se(e,J))&&Bn},Q=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Z=function(e,t){return!t&&console.warn(e)},ee=function(e,t){return e&&(J[e]=t)&&Y&&(Y[e]=t)||J},te=function(){return 0},ne={suppressEvents:!0,isStart:!0,kill:!1},re={suppressEvents:!0,kill:!1},ie={suppressEvents:!0},ae={},oe=[],ue={},se={},le={},ce=30,he=[],de="",pe=function(e){var t,n,r=e[0];if(L(r)||R(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(n=he.length;n--&&!he[n].targetTest(r););t=he[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Vt(e[n],t)))||e.splice(n,1);return e},fe=function(e){return e._gsap||pe(it(e))[0]._gsap},me=function(e,t,n){return(n=e[t])&&R(n)?e[t]():N(n)&&e.getAttribute&&e.getAttribute(t)||n}
vendor: 4,981 bytes, line 2
2,ge=function(e,t){return(e=e.split(",")).forEach(t)||e},_e=function(e){return Math.round(1e5*e)/1e5||0},De=function(e){return Math.round(1e7*e)/1e7||0},ve=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+r:"-"===n?e-r:"*"===n?e*r:e/r},ye=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},Ee=function(){var e,t,n=oe.length,r=oe.slice(0);for(ue={},oe.length=0,e=0;e<n;e++)(t=r[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},Ae=function(e,t,n,r){oe.length&&!o&&Ee(),e.render(t,n,r||o&&t<0&&(e._initted||e._startAt)),oe.length&&!o&&Ee()},Ce=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(K).length<2?t:P(e)?e.trim():e},Fe=function(e){return e},be=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Se=function(e,t){for(var n in t)e[n]=t[n];return e},xe=function e(t,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=L(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Be=function(e,t){var n,r={};for(n in e)n in t||(r[n]=e[n]);return r},we=function(e){var t,n=e.parent||s,r=e.keyframes?(t=V(e.keyframes),function(e,n){for(var r in n)r in e||"duration"===r&&t||"ease"===r||(e[r]=n[r])}):be;if(O(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},Me=function(e,t,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var a,o=e[r];if(i)for(a=t[i];o&&o[i]>a;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=o,t.parent=t._dp=e,t},Te=function(e,t,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},Pe=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Re=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},Ie=function(e,t,n,r){return e._startAt&&(o?e._startAt.revert(re):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Ne=function e(t){return!t||t._ts&&e(t.parent)},Le=function(e){return e._repeat?Oe(e._tTime,e=e.duration()+e._rDelay)*e:0},Oe=function(e,t){var n=Math.floor(e/=t);return e&&n===e?n-1:n},ke=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ue=function(e){return e._end=De(e._start+(e._tDur/Math.abs(e._ts||e._rts||b)||0))},ze=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=De(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ue(e),n._dirty||Re(n,e)),e},Ve=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=ke(e.rawTime(),t),(!t._dur||Ze(0,t.totalDuration(),n)-t._tTime>b)&&t.render(n,!0)),Re(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},We=function(e,t,n,r){return t.parent&&Pe(t),t._start=De((I(n)?n:n||e!==s?Ye(e,n,t):e._time)+t._delay),t._end=De(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Me(e,t,"_first","_last",e._sort?"_start":0),Xe(t)||(e._recent=t),r||Ve(e,t),e._ts<0&&ze(e,e._tTime),e},He=function(e,t){return(J.ScrollTrigger||Q("scrollTrigger",t))&&J.ScrollTrigger.create(t,e)},Ge=function(e,t,n,r,i){return Jt(e,t,i),e._initted?!n&&e._pt&&!o&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&p!==Bt.frame?(oe.push(e),e._lazy=[i,r],1):void 0:1},je=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},Xe=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},Ke=function(e,t,n,r){var i=e._repeat,a=De(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:De(a*(i+1)+e._rDelay*i):a,o>0&&!r&&ze(e,e._tTime=e._tDur*o),e.parent&&Ue(e),n||Re(e.parent,e),e},qe=function(e){return e instanceof Ht?Re(e):Ke(e,e._dur)},Je={_start:0,endTime:te,totalDuration:te},Ye=function e(t,n,r){var i,a,o,u=t.labels,s=t._recent||Je,l=t.duration()>=F?s.endTime(!1):t._dur;return P(n)&&(isNaN(n)||n in u)?(a=n.charAt(0),o="%"===n.substr(-1),i=n.indexOf("="),"<"===a||">"===a?(i>=0&&(n=n.replace(/=/,"")),("<"===a?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0)*(o?(i<0?s:r).totalDuration()/100:1)):i<0?(n in u||(u[n]=l),u[n]):(a=parseFloat(n.charAt(i-1)+n.substr(i+1)),o&&r&&(a=a/100*(V(r)?r[0]:r).totalDuration()),i>1?e(t,n.substr(0,i-1),r)+a:l+a)):null==n?l:+n},$e=function(e,t,n){var r,i,a=I(t[1]),o=(a?2:1)+(e<2?0:1),u=t[o];if(a&&(u.duration=t[1]),u.parent=n,e){for(r=u,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=O(i.vars.inherit)&&i.parent;u.immediateRender=O(r.immediateRender),e<2?u.runBackwards=1:u.startAt=t[o-1]}return new en(t[0],u,t[o+1])},Qe=function(e,t){return e||0===e?t(e):t},Ze=function(e,t,n){return n<e?e:n>t?t:n},et=function(e,t){return P(e)&&(t=q.exec(e))?t[1]:""},tt=[].slice,nt=function(e,t){return e&&L(e)&&"length"in e&&(!t&&!e.length||e.length-1 
vendor: 14,942 bytes, line 2
2in e&&L(e[0]))&&!e.nodeType&&e!==l},rt=function(e,t,n){return void 0===n&&(n=[]),e.forEach((function(e){var r;return P(e)&&!t||nt(e,1)?(r=n).push.apply(r,it(e)):n.push(e)}))||n},it=function(e,t,n){return u&&!t&&u.selector?u.selector(e):!P(e)||n||!c&&wt()?V(e)?rt(e,n):nt(e)?tt.call(e,0):e?[e]:[]:tt.call((t||h).querySelectorAll(e),0)},at=function(e){return e=it(e)[0]||Z("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return it(t,n.querySelectorAll?n:n===e?Z("Invalid scope")||h.createElement("div"):e)}},ot=function(e){return e.sort((function(){return.5-Math.random()}))},ut=function(e){if(R(e))return e;var t=L(e)?e:{each:e},n=Lt(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,u=isNaN(r)||o,s=t.axis,l=r,c=r;return P(r)?l=c={center:.5,edges:.5,end:1}[r]||0:!o&&u&&(l=r[0],c=r[1]),function(e,o,h){var d,p,f,m,g,_,D,v,y,E=(h||t).length,A=a[E];if(!A){if(!(y="auto"===t.grid?0:(t.grid||[1,F])[1])){for(D=-F;D<(D=h[y++].getBoundingClientRect().left)&&y<E;);y<E&&y--}for(A=a[E]=[],d=u?Math.min(y,E)*l-.5:r%y,p=y===F?0:u?E*c/y-.5:r/y|0,D=0,v=F,_=0;_<E;_++)f=_%y-d,m=p-(_/y|0),A[_]=g=s?Math.abs("y"===s?m:f):w(f*f+m*m),g>D&&(D=g),g<v&&(v=g);"random"===r&&ot(A),A.max=D-v,A.min=v,A.v=E=(parseFloat(t.amount)||parseFloat(t.each)*(y>E?E-1:s?"y"===s?E/y:y:Math.max(y,E/y))||0)*("edges"===r?-1:1),A.b=E<0?i-E:i,A.u=et(t.amount||t.each)||0,n=n&&E<0?It(n):n}return E=(A[e]-A.min)/A.max||0,De(A.b+(n?n(E):E)*A.v)+A.u}},st=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=De(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(I(n)?0:et(n))}},lt=function(e,t){var n,r,i=V(e);return!i&&L(e)&&(n=i=e.radius||F,e.values?(e=it(e.values),(r=!I(e[0]))&&(n*=n)):e=st(e.increment)),Qe(t,i?R(e)?function(t){return r=e(t),Math.abs(r-t)<=n?r:t}:function(t){for(var i,a,o=parseFloat(r?t.x:t),u=parseFloat(r?t.y:0),s=F,l=0,c=e.length;c--;)(i=r?(i=e[c].x-o)*i+(a=e[c].y-u)*a:Math.abs(e[c]-o))<s&&(s=i,l=c);return l=!n||s<=n?e[l]:t,r||l===t||I(t)?l:l+et(t)}:st(e))},ct=function(e,t,n,r){return Qe(V(e)?!t:!0===n?!!(n=0):!r,(function(){return V(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*r)/r}))},ht=function(e,t,n){return Qe(n,(function(n){return e[~~t(n)]}))},dt=function(e){for(var t,n,r,i,a=0,o="";~(t=e.indexOf("random(",a));)r=e.indexOf(")",t),i="["===e.charAt(t+7),n=e.substr(t+7,r-t-7).match(i?K:W),o+=e.substr(a,t-a)+ct(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),a=r+1;return o+e.substr(a,e.length-a)},pt=function(e,t,n,r,i){var a=t-e,o=r-n;return Qe(i,(function(t){return n+((t-e)/a*o||0)}))},ft=function(e,t,n){var r,i,a,o=e.labels,u=F;for(r in o)(i=o[r]-t)<0==!!n&&i&&u>(i=Math.abs(i))&&(a=r,u=i);return a},mt=function(e,t,n){var r,i,a,o=e.vars,s=o[t],l=u,c=e._ctx;if(s)return r=o[t+"Params"],i=o.callbackScope||e,n&&oe.length&&Ee(),c&&(u=c),a=r?s.apply(i,r):s.call(i),u=l,a},gt=function(e){return Pe(e),e.scrollTrigger&&e.scrollTrigger.kill(!!o),e.progress()<1&&mt(e,"onInterrupt"),e},_t=[],Dt=function(e){if(e)if(e=!e.name&&e.default||e,k()||e.headless){var t=e.name,n=R(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:te,render:cn,add:Kt,kill:dn,modifier:hn,rawVars:0},a={targetTest:0,get:0,getSetter:on,aliases:{},register:0};if(wt(),e!==r){if(se[t])return;be(r,be(Be(e,i),a)),Se(r.prototype,Se(i,Be(e,a))),se[r.prop=t]=r,e.targetTest&&(he.push(r),ae[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ee(t,r),e.register&&e.register(Bn,r,mn)}else _t.push(e)},vt=255,yt={aqua:[0,vt,vt],lime:[0,vt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,vt],navy:[0,0,128],white:[vt,vt,vt],olive:[128,128,0],yellow:[vt,vt,0],orange:[vt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[vt,0,0],pink:[vt,192,203],cyan:[0,vt,vt],transparent:[vt,vt,vt,0]},Et=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*vt+.5|0},At=function(e,t,n){var r,i,a,o,u,s,l,c,h,d,p=e?I(e)?[e>>16,e>>8&vt,e&vt]:0:yt.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),yt[e])p=yt[e];else if("#"===e.charAt(0)){if(e.length<6&&(r=e.charAt(1),i=e.charAt(2),a=e.charAt(3),e="#"+r+r+i+i+a+a+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&vt,p&vt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&vt,e&vt]}else if("hsl"===e.substr(0,3))if(p=d=e.match(W),t){if(~e.indexOf("="))return p=e.match(H),n&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=+p[1]/100,r=2*(s=+p[2]/100)-(i=s<=.5?s*(u+1):s+u-s*u),p.length>3&&(p[3]*=1),p[0]=Et(o+1/3,r,i),p[1]=Et(o,r,i),p[2]=Et(o-1/3,r,i);else p=e.match(W)||yt.transparent;p=p.map(Number)}return t&&!d&&(r=p[0]/vt,i=p[1]/vt,a=p[2]/vt,s=((l=Math.max(r,i,a))+(c=Math.min(r,i,a)))/2,l===c?o=u=0:(h=l-c,u=s>.5?h/(2-l-c):h/(l+c),o=l===r?(i-a)/h+(i<a?6:0):l===i?(a-r)/h+2:(r-i)/h+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*s+.5)),n&&p.length<4&&(p[3]=1),p},Ct=function(e){var t=[],n=[],r=-1;return e.split(bt).forEach((function(e){var i=e.match(G)||[];t.push.apply(t,i),n.push(r+=i.length+1)})),t.c=n,t},Ft=function(e,t,n){var r,i,a,o,u="",s=(e+u).match(bt),l=t?"hsla(":"rgba(",c=0;if(!s)return e;if(s=s.map((function(e){return(e=At(e,t,1))&&l+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"})),n&&(a=Ct(e),(r=n.c).join(u)!==a.c.join(u)))for(o=(i=e.replace(bt,"1").split(G)).length-1;c<o;c++)u+=i[c]+(~r.indexOf(c)?s.shift()||l+"0,0,0,0)":(a.length?a:s.length?s:n).shift());if(!i)for(o=(i=e.split(bt)).length-1;c<o;c++)u+=i[c]+s[c];return u+i[o]},bt=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in yt)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),St=/hsl[a]?\(/,xt=function(e){var t,n=e.join(" ");if(bt.lastIndex=0,bt.test(n))return t=St.test(n),e[1]=Ft(e[1],t),e[0]=Ft(e[0],t,Ct(e[1])),!0},Bt=function(){var e,t,n,r,i,a,o=Date.now,u=500,s=33,p=o(),f=p,g=1e3/240,_=g,D=[],v=function n(l){var c,h,d,m,v=o()-f,y=!0===l;if((v>u||v<0)&&(p+=v-s),((c=(d=(f+=v)-p)-_)>0||y)&&(m=++r.frame,i=d-1e3*r.time,r.time=d/=1e3,_+=c+(c>=g?4:g-c),h=1),y||(e=t(n)),h)for(a=0;a<D.length;a++)D[a](d,i,m,l)};return r={time:0,frame:0,tick:function(){v(!0)},deltaRatio:function(e){return i/(1e3/(e||60))},wake:function(){d&&(!c&&k()&&(l=c=window,h=l.document||{},J.gsap=Bn,(l.gsapVersions||(l.gsapVersions=[])).push(Bn.version),$(Y||l.GreenSockGlobals||!l.gsap&&l||{}),_t.forEach(Dt)),n="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,e&&r.sleep(),t=n||function(e){return setTimeout(e,_-1e3*r.time+1|0)},m=1,v(2))},sleep:function(){(n?cancelAnimationFrame:clearTimeout)(e),m=0,t=te},lagSmoothing:function(e,t){u=e||1/0,s=Math.min(t||33,u)},fps:function(e){g=1e3/(e||240),_=1e3*r.time+g},add:function(e,t,n){var i=t?function(t,n,a,o){e(t,n,a,o),r.remove(i)}:e;return r.remove(e),D[n?"unshift":"push"](i),wt(),i},remove:function(e,t){~(t=D.indexOf(e))&&D.splice(t,1)&&a>=t&&a--},_listeners:D}}(),wt=function(){return!m&&Bt.wake()},Mt={},Tt=/^[\d.\-M][\d.\-,\s]/,Pt=/["']/g,Rt=function(e){for(var t,n,r,i={},a=e.substr(1,e.length-3).split(":"),o=a[0],u=1,s=a.length;u<s;u++)n=a[u],t=u!==s-1?n.lastIndexOf(","):n.length,r=n.substr(0,t),i[o]=isNaN(r)?r.replace(Pt,"").trim():+r,o=n.substr(t+1).trim();return i},It=function(e){return function(t){return 1-e(1-t)}},Nt=function e(t,n){for(var r,i=t._first;i;)i instanceof Ht?e(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?e(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},Lt=function(e,t){return e&&(R(e)?e:Mt[e]||function(e){var t,n,r,i,a=(e+"").split("("),o=Mt[a[0]];return o&&a.length>1&&o.config?o.config.apply(null,~e.indexOf("{")?[Rt(a[1])]:(t=e,n=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",n),t.substring(n,~i&&i<r?t.indexOf(")",r+1):r)).split(",").map(Ce)):Mt._CE&&Tt.test(e)?Mt._CE("",e):o}(e))||t},Ot=function(e,t,n,r){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===r&&(r=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var i,a={easeIn:t,easeOut:n,easeInOut:r};return ge(e,(function(e){for(var t in Mt[e]=J[e]=a,Mt[i=e.toLowerCase()]=n,a)Mt[i+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=Mt[e+"."+t]=a[t]})),a},kt=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},Ut=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/S*(Math.asin(1/i)||0),u=function(e){return 1===e?1:i*Math.pow(2,-10*e)*T((e-o)*a)+1},s="out"===t?u:"in"===t?function(e){return 1-u(1-e)}:kt(u);return a=S/a,s.config=function(n,r){return e(t,n,r)},s},zt=function e(t,n){void 0===n&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i="out"===t?r:"in"===t?function(e){return 1-r(1-e)}:kt(r);return i.config=function(n){return e(t,n)},i};ge("Linear,Quad,Cubic,Quart,Quint,Strong",(function(e,t){var n=t<5?t+1:t;Ot(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},(function(e){return 1-Math.pow(1-e,n)}),(function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow(2*(1-e),n)/2}))})),Mt.Linear.easeNone=Mt.none=Mt.Linear.easeIn,Ot("Elastic",Ut("in"),Ut("out"),Ut()),g=7.5625,v=2*(D=1/(_=2.75)),y=2.5*D,Ot("Bounce",(function(e){return 1-E(1-e)}),E=function(e){return e<D?g*e*e:e<v?g*Math.pow(e-1.5/_,2)+.75:e<y?g*(e-=2.25/_)*e+.9375:g*Math.pow(e-2.625/_,2)+.984375}),Ot("Expo",(function(e){return e?Math.pow(2,10*(e-1)):0})),Ot("Circ",(function(e){return-(w(1-e*e)-1)})),Ot("Sine",(function(e){return 1===e?1:1-M(e*x)})),Ot("Back",zt("in"),zt("out"),zt()),Mt.SteppedEase=Mt.steps=J.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,r=e+(t?0:1),i=t?1:0;return function(e){return((r*Ze(0,.99999999,e)|0)+i)*n}}},C.ease=Mt["quad.out"],ge("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(e){return de+=e+","+e+"Params,"}));var Vt=function(e,t){this.id=B++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:me,this.set=t?t.getSetter:on},Wt=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Ke(this,+e.duration,1,1),this.data=e.data,u&&(this._ctx=u,u.data.push(this)),m||Bt.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Ke(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(wt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(ze(this,e),!n._dp||n.parent||Ve(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&We(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===b||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),Ae(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Le(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+Le(this),t):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?Oe(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?ke(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(Ze(-Math.abs(this._delay),this._tDur,n),!1!==t),Ue(this),function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e}(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(wt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==b&&(this._tTime-=b)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&We(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+(O(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ke(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=ie);var t=o;return o=e,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),o=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,qe(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,qe(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(Ye(this,e),O(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,O(t))},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-b))},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>
vendor: 4,310 bytes, line 2
21?(t?(r[e]=t,n&&(r[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this;return new Promise((function(n){var r=R(e)?e:Fe,i=function(){var e=t.then;t.then=null,R(r)&&(r=r(t))&&(r.then||r===t)&&(t.then=e),n(r),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?i():t._prom=i}))},t.kill=function(){gt(this)},e}();be(Wt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Ht=function(e){function t(t,n){var i;return void 0===t&&(t={}),(i=e.call(this,t)||this).labels={},i.smoothChildTiming=!!t.smoothChildTiming,i.autoRemoveChildren=!!t.autoRemoveChildren,i._sort=O(t.sortChildren),s&&We(t.parent||s,r(i),n),t.reversed&&i.reverse(),t.paused&&i.paused(!0),t.scrollTrigger&&He(r(i),t.scrollTrigger),i}i(t,e);var n=t.prototype;return n.to=function(e,t,n){return $e(0,arguments,this),this},n.from=function(e,t,n){return $e(1,arguments,this),this},n.fromTo=function(e,t,n,r){return $e(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,we(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new en(e,t,Ye(this,n),1),this},n.call=function(e,t,n){return We(this,en.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new en(e,n,Ye(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,we(n).immediateRender=O(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,u){return r.startAt=n,we(r).immediateRender=O(r.immediateRender),this.staggerTo(e,t,r,i,a,o,u)},n.render=function(e,t,n){var r,i,a,u,l,c,h,d,p,f,m,g,_=this._time,D=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=e<=0?0:De(e),E=this._zTime<0!=e<0&&(this._initted||!v);if(this!==s&&y>D&&e>=0&&(y=D),y!==this._tTime||n||E){if(_!==this._time&&v&&(y+=this._time-_,e+=this._time-_),r=y,p=this._start,c=!(d=this._ts),E&&(v||(_=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(m=this._yoyo,l=v+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*l+e,t,n);if(r=De(y%l),y===D?(u=this._repeat,r=v):((u=~~(y/l))&&u===y/l&&(r=v,u--),r>v&&(r=v)),f=Oe(this._tTime,l),!_&&this._tTime&&f!==u&&this._tTime-f*l-this._dur<=0&&(f=u),m&&1&u&&(r=v-r,g=1),u!==f&&!this._lock){var A=m&&1&f,C=A===(m&&1&u);if(u<f&&(A=!A),_=A?0:y%v?v:y,this._lock=1,this.render(_||(g?0:De(u*l)),t,!v)._lock=0,this._tTime=y,!t&&this.parent&&mt(this,"onRepeat"),this.vars.repeatRefresh&&!g&&(this.invalidate()._lock=1),_&&_!==this._time||c!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,D=this._tDur,C&&(this._lock=2,_=A?v:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!g&&this.invalidate()),this._lock=0,!this._ts&&!c)return this;Nt(this,g)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<t)return r;r=r._prev}}(this,De(_),De(r)),h&&(y-=r-(r=h._start))),this._tTime=y,this._time=r,this._act=!d,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,_=0),!_&&r&&!t&&!u&&(mt(this,"onStart"),this._tTime!==y))return this;if(r>=_&&e>=0)for(i=this._first;i;){if(a=i._next,(i._act||r>=i._start)&&i._ts&&h!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,t,n),r!==this._time||!this._ts&&!c){h=0,a&&(y+=this._zTime=-1e-8);break}}i=a}else{i=this._last;for(var F=e<0?e:r;i;){if(a=i._prev,(i._act||F<=i._end)&&i._ts&&h!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(F-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(F-i._start)*i._ts,t,n||o&&(i._initted||i._startAt)),r!==this._time||!this._ts&&!c){h=0,a&&(y+=this._zTime=F?-1e-8:b);break}}i=a}}if(h&&!t&&(this.pause(),h.render(r>=_?0:-1e-8)._zTime=r>=_?1:-1,this._ts))return this._start=p,Ue(this),this.render(e,t,n);this._onUpdate&&!t&&mt(this,"onUpdate",!0),(y===D&&this._tTime>=this.totalDuration()||!y&&_)&&(p!==this._start&&Math.abs(d)===Math.abs(this._ts
vendor: 41,537 bytes, line 2
2)||this._lock||((e||!v)&&(y===D&&this._ts>0||!y&&this._ts<0)&&Pe(this,1),t||e<0&&!_||!y&&!_&&D||(mt(this,y===D&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<D&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(I(t)||(t=Ye(this,t,e)),!(e instanceof Wt)){if(V(e))return e.forEach((function(e){return n.add(e,t)})),this;if(P(e))return this.addLabel(e,t);if(!R(e))return this;e=en.delayedCall(0,e)}return this!==e?We(this,e,t):this},n.getChildren=function(e,t,n,r){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===r&&(r=-F);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof en?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return P(e)?this.removeLabel(e):R(e)?this.killTweensOf(e):(Te(this,e),e===this._recent&&(this._recent=this._last),Re(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=De(Bt.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=Ye(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=en.delayedCall(0,t||te,n);return r.data="isPause",this._hasPause=1,We(this,r,Ye(this,e))},n.removePause=function(e){var t=this._first;for(e=Ye(this,e);t;)t._start===e&&"isPause"===t.data&&Pe(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)Gt!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,r=[],i=it(e),a=this._first,o=I(t);a;)a instanceof en?ye(a._targets,i)&&(o?(!Gt||a._initted&&a._ts)&&a.globalTime(0)<=t&&a.globalTime(a.totalDuration())>t:!t||a.isActive())&&r.push(a):(n=a.getTweensOf(i,t)).length&&r.push.apply(r,n),a=a._next;return r},n.tweenTo=function(e,t){t=t||{};var n,r=this,i=Ye(r,e),a=t,o=a.startAt,u=a.onStart,s=a.onStartParams,l=a.immediateRender,c=en.to(r,be({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:t.duration||Math.abs((i-(o&&"time"in o?o.time:r._time))/r.timeScale())||b,onStart:function(){if(r.pause(),!n){var e=t.duration||Math.abs((i-(o&&"time"in o?o.time:r._time))/r.timeScale());c._dur!==e&&Ke(c,e,0,1).render(c._time,!0,!0),n=1}u&&u.apply(c,s||[])}},t));return l?c.render(0):c},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,be({startAt:{time:Ye(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),ft(this,Ye(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),ft(this,Ye(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+b)},n.shiftChildren=function(e,t,n){void 0===n&&(n=0);for(var r,i=this._first,a=this.labels;i;)i._start>=n&&(i._start+=e,i._end+=e),i=i._next;if(t)for(r in a)a[r]>=n&&(a[r]+=e);return Re(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Re(this)},n.totalDuration=function(e){var t,n,r,i=0,a=this,o=a._last,u=F;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-e:e));if(a._dirty){for(r=a.parent;o;)t=o._prev,o._dirty&&o.totalDuration(),(n=o._start)>u&&a._sort&&o._ts&&!a._lock?(a._lock=1,We(a,o,n-o._delay,1)._lock=0):u=n,n<0&&o._ts&&(i-=n,(!r&&!a._dp||r&&r.smoothChildTiming)&&(a._start+=n/a._ts,a._time-=n,a._tTime-=n),a.shiftChildren(-n,!1,-Infinity),u=0),o._end>i&&o._ts&&(i=o._end),o=t;Ke(a,a===s&&a._time>i?a._time:i,1,1),a._dirty=0}return a._tDur},t.updateRoot=function(e){if(s._ts&&(Ae(s,ke(e,s)),p=Bt.frame),Bt.frame>=ce){ce+=A.autoSleep||120;var t=s._first;if((!t||!t._ts)&&A.autoSleep&&Bt._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Bt.sleep()}}},t}(Wt);be(Ht.prototype,{_lock:0,_hasPause:0,_forcing:0});var Gt,jt,Xt=function(e,t,n,r,i,a,o){var u,s,l,c,h,d,p,f,m=new mn(this._pt,e,t,0,1,ln,null,i),g=0,_=0;for(m.b=n,m.e=r,n+="",(p=~(r+="").indexOf("random("))&&(r=dt(r)),a&&(a(f=[n,r],e,t),n=f[0],r=f[1]),s=n.match(j)||[];u=j.exec(r);)c=u[0],h=r.substring(g,u.index),l?l=(l+1)%5:"rgba("===h.substr(-5)&&(l=1),c!==s[_++]&&(d=parseFloat(s[_-1])||0,m._pt={_next:m._pt,p:h||1===_?h:",",s:d,c:"="===c.charAt(1)?ve(d,c)-d:parseFloat(c)-d,m:l&&l<4?Math.round:0},g=j.lastIndex);return m.c=g<r.length?r.substring(g,r.length):"",m.fp=o,(X.test(r)||p)&&(m.e=0),this._pt=m,m},Kt=function(e,t,n,r,i,a,o,u,s,l){R(r)&&(r=r(i||0,e,a));var c,h=e[t],d="get"!==n?n:R(h)?s?e[t.indexOf("set")||!R(e["get"+t.substr(3)])?t:"get"+t.substr(3)](s):e[t]():h,p=R(h)?s?rn:nn:tn;if(P(r)&&(~r.indexOf("random(")&&(r=dt(r)),"="===r.charAt(1)&&((c=ve(d,r)+(et(d)||0))||0===c)&&(r=c)),!l||d!==r||jt)return isNaN(d*r)||""===r?(!h&&!(t in e)&&Q(t,r),Xt.call(this,e,t,d,r,p,u||A.stringFilter,s)):(c=new mn(this._pt,e,t,+d||0,r-(d||0),"boolean"==typeof h?sn:un,0,p),s&&(c.fp=s),o&&c.modifier(o,this,e),this._pt=c)},qt=function(e,t,n,r,i,a){var o,u,s,l;if(se[e]&&!1!==(o=new se[e]).init(i,o.rawVars?t[e]:function(e,t,n,r,i){if(R(e)&&(e=$t(e,i,t,n,r)),!L(e)||e.style&&e.nodeType||V(e)||z(e))return P(e)?$t(e,i,t,n,r):e;var a,o={};for(a in e)o[a]=$t(e[a],i,t,n,r);return o}(t[e],r,i,a,n),n,r,a)&&(n._pt=u=new mn(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==f))for(s=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)s[o._props[l]]=u;return o},Jt=function e(t,n,r){var i,u,l,c,h,d,p,f,m,g,_,D,v,y=t.vars,E=y.ease,A=y.startAt,S=y.immediateRender,x=y.lazy,B=y.onUpdate,w=y.runBackwards,M=y.yoyoEase,T=y.keyframes,P=y.autoRevert,R=t._dur,I=t._startAt,N=t._targets,L=t.parent,k=L&&"nested"===L.data?L.vars.targets:N,U="auto"===t._overwrite&&!a,z=t.timeline;if(z&&(!T||!E)&&(E="none"),t._ease=Lt(E,C.ease),t._yEase=M?It(Lt(!0===M?E:M,C.ease)):0,M&&t._yoyo&&!t._repeat&&(M=t._yEase,t._yEase=t._ease,t._ease=M),t._from=!z&&!!y.runBackwards,!z||T&&!y.stagger){if(D=(f=N[0]?fe(N[0]).harness:0)&&y[f.prop],i=Be(y,ae),I&&(I._zTime<0&&I.progress(1),n<0&&w&&S&&!P?I.render(-1,!0):I.revert(w&&R?re:ne),I._lazy=0),A){if(Pe(t._startAt=en.set(N,be({data:"isStart",overwrite:!1,parent:L,immediateRender:!0,lazy:!I&&O(x),startAt:null,delay:0,onUpdate:B&&function(){return mt(t,"onUpdate")},stagger:0},A))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(o||!S&&!P)&&t._startAt.revert(re),S&&R&&n<=0&&r<=0)return void(n&&(t._zTime=n))}else if(w&&R&&!I)if(n&&(S=!1),l=be({overwrite:!1,data:"isFromStart",lazy:S&&!I&&O(x),immediateRender:S,stagger:0,parent:L},i),D&&(l[f.prop]=D),Pe(t._startAt=en.set(N,l)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(o?t._startAt.revert(re):t._startAt.render(-1,!0)),t._zTime=n,S){if(!n)return}else e(t._startAt,b,b);for(t._pt=t._ptCache=0,x=R&&O(x)||x&&!R,u=0;u<N.length;u++){if(p=(h=N[u])._gsap||pe(N)[u]._gsap,t._ptLookup[u]=g={},ue[p.id]&&oe.length&&Ee(),_=k===N?u:k.indexOf(h),f&&!1!==(m=new f).init(h,D||i,t,_,k)&&(t._pt=c=new mn(t._pt,h,m.name,0,1,m.render,m,0,m.priority),m._props.forEach((function(e){g[e]=c})),m.priority&&(d=1)),!f||D)for(l in i)se[l]&&(m=qt(l,i,t,_,h,k))?m.priority&&(d=1):g[l]=c=Kt.call(t,h,l,"get",i[l],_,k,0,y.stringFilter);t._op&&t._op[u]&&t.kill(h,t._op[u]),U&&t._pt&&(Gt=t,s.killTweensOf(h,g,t.globalTime(n)),v=!t.parent,Gt=0),t._pt&&x&&(ue[p.id]=1)}d&&fn(t),t._onInit&&t._onInit(t)}t._onUpdate=B,t._initted=(!t._op||t._pt)&&!v,T&&n<=0&&z.render(F,!0,!0)},Yt=function(e,t,n,r){var i,a,o=t.ease||r||"power1.inOut";if(V(t))a=n[e]||(n[e]=[]),t.forEach((function(e,n){return a.push({t:n/(t.length-1)*100,v:e,e:o})}));else for(i in t)a=n[i]||(n[i]=[]),"ease"===i||a.push({t:parseFloat(e),v:t[i],e:o})},$t=function(e,t,n,r,i){return R(e)?e.call(t,n,r,i):P(e)&&~e.indexOf("random(")?dt(e):e},Qt=de+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Zt={};ge(Qt+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return Zt[e]=1}));var en=function(e){function t(t,n,i,o){var u;"number"==typeof n&&(i.duration=n,n=i,i=null);var l,c,h,d,p,f,m,g,_=(u=e.call(this,o?n:we(n))||this).vars,D=_.duration,v=_.delay,y=_.immediateRender,E=_.stagger,C=_.overwrite,F=_.keyframes,b=_.defaults,S=_.scrollTrigger,x=_.yoyoEase,B=n.parent||s,w=(V(t)||z(t)?I(t[0]):"length"in n)?[t]:it(t);if(u._targets=w.length?pe(w):Z("GSAP target "+t+" not found. https://gsap.com",!A.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=C,F||E||U(D)||U(v)){if(n=u.vars,(l=u.timeline=new Ht({data:"nested",defaults:b||{},targets:B&&"nested"===B.data?B.vars.targets:w})).kill(),l.parent=l._dp=r(u),l._start=0,E||U(D)||U(v)){if(d=w.length,m=E&&ut(E),L(E))for(p in E)~Qt.indexOf(p)&&(g||(g={}),g[p]=E[p]);for(c=0;c<d;c++)(h=Be(n,Zt)).stagger=0,x&&(h.yoyoEase=x),g&&Se(h,g),f=w[c],h.duration=+$t(D,r(u),c,f,w),h.delay=(+$t(v,r(u),c,f,w)||0)-u._delay,!E&&1===d&&h.delay&&(u._delay=v=h.delay,u._start+=v,h.delay=0),l.to(f,h,m?m(c,f,w):0),l._ease=Mt.none;l.duration()?D=v=0:u.timeline=0}else if(F){we(be(l.vars.defaults,{ease:"none"})),l._ease=Lt(F.ease||n.ease||"none");var M,T,P,R=0;if(V(F))F.forEach((function(e){return l.to(w,e,">")})),l.duration();else{for(p in h={},F)"ease"===p||"easeEach"===p||Yt(p,F[p],h,F.easeEach);for(p in h)for(M=h[p].sort((function(e,t){return e.t-t.t})),R=0,c=0;c<M.length;c++)(P={ease:(T=M[c]).e,duration:(T.t-(c?M[c-1].t:0))/100*D})[p]=T.v,l.to(w,P,R),R+=P.duration;l.duration()<D&&l.to({},{duration:D-l.duration()})}}D||u.duration(D=l.duration())}else u.timeline=0;return!0!==C||a||(Gt=r(u),s.killTweensOf(w),Gt=0),We(B,r(u),i),n.reversed&&u.reverse(),n.paused&&u.paused(!0),(y||!D&&!F&&u._start===De(B._time)&&O(y)&&Ne(r(u))&&"nested"!==B.data)&&(u._tTime=-1e-8,u.render(Math.max(0,-v)||0)),S&&He(r(u),S),u}i(t,e);var n=t.prototype;return n.render=function(e,t,n){var r,i,a,u,s,l,c,h,d,p=this._time,f=this._tDur,m=this._dur,g=e<0,_=e>f-b&&!g?f:e<b?0:e;if(m){if(_!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==g){if(r=_,h=this.timeline,this._repeat){if(u=m+this._rDelay,this._repeat<-1&&g)return this.totalTime(100*u+e,t,n);if(r=De(_%u),_===f?(a=this._repeat,r=m):((a=~~(_/u))&&a===De(_/u)&&(r=m,a--),r>m&&(r=m)),(l=this._yoyo&&1&a)&&(d=this._yEase,r=m-r),s=Oe(this._tTime,u),r===p&&!n&&this._initted&&a===s)return this._tTime=_,this;a!==s&&(h&&this._yEase&&Nt(h,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==u&&this._initted&&(this._lock=n=1,this.render(De(u*a),!0).invalidate()._lock=0))}if(!this._initted){if(Ge(this,g?e:r,n,t,_))return this._tTime=0,this;if(!(p===this._time||n&&this.vars.repeatRefresh&&a!==s))return this;if(m!==this._dur)return this.render(e,t,n)}if(this._tTime=_,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(d||this._ease)(r/m),this._from&&(this.ratio=c=1-c),r&&!p&&!t&&!a&&(mt(this,"onStart"),this._tTime!==_))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;h&&h.render(e<0?e:h._dur*h._ease(r/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(g&&Ie(this,e,0,n),mt(this,"onUpdate")),this._repeat&&a!==s&&this.vars.onRepeat&&!t&&this.parent&&mt(this,"onRepeat"),_!==this._tDur&&_||this._tTime!==_||(g&&!this._onUpdate&&Ie(this,e,0,!0),(e||!m)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Pe(this,1),t||g&&!p||!(_||p||l)||(mt(this,_===f?"onComplete":"onReverseComplete",!0),this._prom&&!(_<f&&this.timeScale()>0)&&this._prom()))}}else!function(e,t,n,r){var i,a,u,s=e.ratio,l=t<0||!t&&(!e._start&&je(e)&&(e._initted||!Xe(e))||(e._ts<0||e._dp._ts<0)&&!Xe(e))?0:1,c=e._rDelay,h=0;if(c&&e._repeat&&(h=Ze(0,e._tDur,t),a=Oe(h,c),e._yoyo&&1&a&&(l=1-l),a!==Oe(e._tTime,c)&&(s=1-l,e.vars.repeatRefresh&&e._initted&&e.invalidate())),l!==s||o||r||e._zTime===b||!t&&e._zTime){if(!e._initted&&Ge(e,t,r,n,h))return;for(u=e._zTime,e._zTime=t||(n?b:0),n||(n=t&&!u),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=h,i=e._pt;i;)i.r(l,i.d),i=i._next;t<0&&Ie(e,t,0,!0),e._onUpdate&&!n&&mt(e,"onUpdate"),h&&e._repeat&&!n&&e.parent&&mt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&Pe(e,1),n||o||(mt(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){m||Bt.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Jt(this,a),function(e,t,n,r,i,a,o,u){var s,l,c,h,d=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!d)for(d=e._ptCache[t]=[],c=e._ptLookup,h=e._targets.length;h--;){if((s=c[h][t])&&s.d&&s.d._pt)for(s=s.d._pt;s&&s.p!==t&&s.fp!==t;)s=s._next;if(!s)return jt=1,e.vars[t]="+=0",Jt(e,o),jt=0,u?Z(t+" not eligible for reset"):1;d.push(s)}for(h=d.length;h--;)(s=(l=d[h])._pt||l).s=!r&&0!==r||i?s.s+(r||0)+a*s.c:r,s.c=n-s.s,l.e&&(l.e=_e(n)+et(l.e)),l.b&&(l.b=s.s+et(l.b))}(this,e,t,n,r,this._ease(a/this._dur),a,i)?this.resetTo(e,t,n,r,1):(ze(this,0),this.parent||Me(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t))return this._lazy=this._pt=0,this.parent?gt(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Gt&&!0!==Gt.vars.overwrite)._first||gt(this),this.parent&&n!==this.timeline.totalDuration()&&Ke(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,a,o,u,s,l,c=this._targets,h=e?it(e):c,d=this._ptLookup,p=this._pt;if((!t||"all"===t)&&function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0}(c,h))return"all"===t&&(this._pt=0),gt(this);for(r=this._op=this._op||[],"all"!==t&&(P(t)&&(u={},ge(t,(function(e){return u[e]=1})),t=u),t=function(e,t){var n,r,i,a,o=e[0]?fe(e[0]).harness:0,u=o&&o.aliases;if(!u)return t;for(r in n=Se({},t),u)if(r in n)for(i=(a=u[r].split(",")).length;i--;)n[a[i]]=n[r];return n}(c,t)),l=c.length;l--;)if(~h.indexOf(c[l]))for(u in i=d[l],"all"===t?(r[l]=t,o=i,a={}):(a=r[l]=r[l]||{},o=t),o)(s=i&&i[u])&&("kill"in s.d&&!0!==s.d.kill(u)||Te(this,s,"_pt"),delete i[u]),"all"!==a&&(a[u]=1);return this._initted&&!this._pt&&p&&gt(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return $e(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return $e(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return s.killTweensOf(e,t,n)},t}(Wt);be(en.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ge("staggerTo,staggerFrom,staggerFromTo",(function(e){en[e]=function(){var t=new Ht,n=tt.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}}));var tn=function(e,t,n){return e[t]=n},nn=function(e,t,n){return e[t](n)},rn=function(e,t,n,r){return e[t](r.fp,n)},an=function(e,t,n){return e.setAttribute(t,n)},on=function(e,t){return R(e[t])?nn:N(e[t])&&e.setAttribute?an:tn},un=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},sn=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},ln=function(e,t){var n=t._pt,r="";if(!e&&t.b)r=t.b;else if(1===e&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round(1e4*(n.s+n.c*e))/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},cn=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},hn=function(e,t,n,r){for(var i,a=this._pt;a;)i=a._next,a.p===r&&a.modifier(e,t,n),a=i},dn=function(e){for(var t,n,r=this._pt;r;)n=r._next,r.p===e&&!r.op||r.op===e?Te(this,r,"_pt"):r.dep||(t=1),r=n;return!t},pn=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},fn=function(e){for(var t,n,r,i,a=e._pt;a;){for(t=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:i)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:i=a,a=t}e._pt=r},mn=function(){function e(e,t,n,r,i,a,o,u,s){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||un,this.d=o||this,this.set=u||tn,this.pr=s||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=pn,this.m=e,this.mt=n,this.tween=t},e}();ge(de+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return ae[e]=1})),J.TweenMax=J.TweenLite=en,J.TimelineLite=J.TimelineMax=Ht,s=new Ht({sortChildren:!1,defaults:C,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),A.stringFilter=xt;var gn=[],_n={},Dn=[],vn=0,yn=0,En=function(e){return(_n[e]||Dn).map((function(e){return e()}))},An=function(){var e=Date.now(),t=[];e-vn>2&&(En("matchMediaInit"),gn.forEach((function(e){var n,r,i,a,o=e.queries,u=e.conditions;for(r in o)(n=l.matchMedia(o[r]).matches)&&(i=1),n!==u[r]&&(u[r]=n,a=1);a&&(e.revert(),i&&t.push(e))})),En("matchMediaRevert"),t.forEach((function(e){return e.onMatch(e,(function(t){return e.add(null,t)}))})),vn=e,En("matchMedia"))},Cn=function(){function e(e,t){this.selector=t&&at(t),this.data=[],this._r=[],this.isReverted=!1,this.id=yn++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){R(e)&&(n=t,t=e,e=R);var r=this,i=function(){var e,i=u,a=r.selector;return i&&i!==r&&i.data.push(r),n&&(r.selector=at(n)),u=r,e=t.apply(r,arguments),R(e)&&r._r.push(e),u=i,r.selector=a,r.isReverted=!1,e};return r.last=i,e===R?i(r,(function(e){return r.add(null,e)})):e?r[e]=i:i},t.ignore=function(e){var t=u;u=null,e(this),u=t},t.getTweens=function(){var t=[];return this.data.forEach((function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof en&&!(n.parent&&"nested"===n.parent.data)&&t.push(n)})),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?function(){for(var t,r=n.getTweens(),i=n.data.length;i--;)"isFlip"===(t=n.data[i]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(e){return r.splice(r.indexOf(e),1)})));for(r.map((function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}})).sort((function(e,t){return t.g-e.g||-1/0})).forEach((function(t){return t.t.revert(e)})),i=n.data.length;i--;)(t=n.data[i])instanceof Ht?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):!(t instanceof en)&&t.revert&&t.revert(e);n._r.forEach((function(t){return t(e,n)})),n.isReverted=!0}():this.data.forEach((function(e){return e.kill&&e.kill()})),this.clear(),t)for(var r=gn.length;r--;)gn[r].id===this.id&&gn.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),Fn=function(){function e(e){this.contexts=[],this.scope=e,u&&u.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){L(e)||(e={matches:e});var r,i,a,o=new Cn(0,n||this.scope),s=o.conditions={};for(i in u&&!o.selector&&(o.selector=u.selector),this.contexts.push(o),t=o.add("onMatch",t),o.queries=e,e)"all"===i?a=1:(r=l.matchMedia(e[i]))&&(gn.indexOf(o)<0&&gn.push(o),(s[i]=r.matches)&&(a=1),r.addListener?r.addListener(An):r.addEventListener("change",An));return a&&t(o,(function(e){return o.add(null,e)})),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach((function(t){return t.kill(e,!0)}))},e}(),bn={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach((function(e){return Dt(e)}))},timeline:function(e){return new Ht(e)},getTweensOf:function(e,t){return s.getTweensOf(e,t)},getProperty:function(e,t,n,r){P(e)&&(e=it(e)[0]);var i=fe(e||{}).get,a=n?Fe:Ce;return"native"===n&&(n=""),e?t?a((se[t]&&se[t].get||i)(e,t,n,r)):function(t,n,r){return a((se[t]&&se[t].get||i)(e,t,n,r))}:e},quickSetter:function(e,t,n){if((e=it(e)).length>1){var r=e.map((function(e){return Bn.quickSetter(e,t,n)})),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=se[t],o=fe(e),u=o.harness&&(o.harness.aliases||{})[t]||t,s=a?function(t){var r=new a;f._pt=0,r.init(e,n?t+n:t,f,0,[e]),r.render(1,r),f._pt&&cn(1,f)}:o.set(e,u);return a?s:function(t){return s(e,u,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=Bn.to(e,Se(((r={})[t]="+=0.1",r.paused=!0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return s.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Lt(e.ease,C.ease)),xe(C,e||{})},config:function(e){return xe(A,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||"").split(",").forEach((function(e){return e&&!se[e]&&!J[e]&&Z(t+" effect requires "+e+" plugin.")})),le[t]=function(e,t,r){return n(it(e),be(t||{},i),r)},a&&(Ht.prototype[t]=function(e,n,r){return this.add(le[t](e,L(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Mt[e]=Lt(t)},parseEase:function(e,t){return arguments.length?Lt(e,t):Mt},getById:function(e){return s.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,r,i=new Ht(e);for(i.smoothChildTiming=O(e.smoothChildTiming),s.remove(i),i._dp=0,i._time=i._tTime=s._time,n=s._first;n;)r=n._next,!t&&!n._dur&&n instanceof en&&n.vars.onComplete===n._targets[0]||We(i,n,n._start-n._delay),n=r;return We(s,i,0),i},context:function(e,t){return e?new Cn(e,t):u},matchMedia:function(e){return new Fn(e)},matchMediaRefresh:function(){return gn.forEach((function(e){var t,n,r=e.conditions;for(n in r)r[n]&&(r[n]=!1,t=1);t&&e.revert()}))||An()},addEventListener:function(e,t){var n=_n[e]||(_n[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=_n[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:function e(t,n,r){var i=n-t;return V(t)?ht(t,e(0,t.length),n):Qe(r,(function(e){return(i+(e-t)%i)%i+t}))},wrapYoyo:function e(t,n,r){var i=n-t,a=2*i;return V(t)?ht(t,e(0,t.length-1),n):Qe(r,(function(e){return t+((e=(a+(e-t)%a)%a||0)>i?a-e:e)}))},distribute:ut,random:ct,snap:lt,normalize:function(e,t,n){return pt(e,t,0,1,n)},getUnit:et,clamp:function(e,t,n){return Qe(n,(function(n){return Ze(e,t,n)}))},splitColor:At,toArray:it,selector:at,mapRange:pt,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||et(n))}},interpolate:function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o,u,s,l,c,h=P(t),d={};if(!0===r&&(i=1)&&(r=null),h)t={p:t},n={p:n};else if(V(t)&&!V(n)){for(s=[],l=t.length,c=l-2,u=1;u<l;u++)s.push(e(t[u-1],t[u]));l--,a=function(e){e*=l;var t=Math.min(c,~~e);return s[t](e-t)},r=n}else i||(t=Se(V(t)?[]:{},t));if(!s){for(o in n)Kt.call(d,t,o,"get",n[o]);a=function(e){return cn(e,d)||(h?t.p:t)}}}return Qe(r,a)},shuffle:ot},install:$,effects:le,ticker:Bt,updateRoot:Ht.updateRoot,plugins:se,globalTimeline:s,core:{PropTween:mn,globals:ee,Tween:en,Timeline:Ht,Animation:Wt,getCache:fe,_removeLinkedListItem:Te,reverting:function(){return o},context:function(e){return e&&u&&(u.data.push(e),e._ctx=u),u},suppressOverwrites:function(e){return a=e}}};ge("to,from,fromTo,delayedCall,set,killTweensOf",(function(e){return bn[e]=en[e]})),Bt.add(Ht.updateRoot),f=bn.to({},{duration:0});var Sn=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},xn=function(e,t){return{name:e,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(P(n)&&(r={},ge(n,(function(e){return r[e]=1})),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}!function(e,t){var n,r,i,a=e._targets;for(n in t)for(r=a.length;r--;)(i=e._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=Sn(i,n)),i&&i.modifier&&i.modifier(t[n],e,a[r],n))}(e,n)}}}},Bn=bn.registerPlugin({name:"attr",init:function(e,t,n,r,i){var a,o,u;for(a in this.tween=n,t)u=e.getAttribute(a)||"",(o=this.add(e,"setAttribute",(u||0)+"",t[a],r,i,0,0,a)).op=a,o.b=u,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)o?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},xn("roundProps",st),xn("modifiers"),xn("snap",lt))||bn;en.version=Ht.version=Bn.version="3.12.5",d=1,k()&&wt();Mt.Power0,Mt.Power1,Mt.Power2,Mt.Power3,Mt.Power4,Mt.Linear,Mt.Quad,Mt.Cubic,Mt.Quart,Mt.Quint,Mt.Strong,Mt.Elastic,Mt.Back,Mt.SteppedEase,Mt.Bounce,Mt.Sine,Mt.Expo,Mt.Circ;var wn,Mn,Tn,Pn,Rn,In,Nn,Ln,On={},kn=180/Math.PI,Un=Math.PI/180,zn=Math.atan2,Vn=/([A-Z])/g,Wn=/(left|right|width|margin|padding|x)/i,Hn=/[\s,\(]\S/,Gn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},jn=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Xn=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Kn=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},qn=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},Jn=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Yn=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},$n=function(e,t,n){return e.style[t]=n},Qn=function(e,t,n){return e.style.setProperty(t,n)},Zn=function(e,t,n){return e._gsap[t]=n},er=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},tr=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},nr=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},rr="transform",ir=rr+"Origin",ar=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in On&&a){if(this.tfm=this.tfm||{},"transform"===t)return Gn.transform.split(",").forEach((function(t){return e.call(r,t,n)}));if(~(t=Gn[t]||t).indexOf(",")?t.split(",").forEach((function(e){return r.tfm[e]=Cr(i,e)})):this.tfm[t]=o.x?o[t]:Cr(i,t),t===ir&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(rr)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(ir,n,"")),t=rr}(a||n)&&this.props.push(t,n,a[t])},or=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},ur=function(){var e,t,n=this.props,r=this.target,i=r.style,a=r._gsap;for(e=0;e<n.length;e+=3)n[e+1]?r[n[e]]=n[e+2]:n[e+2]?i[n[e]]=n[e+2]:i.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(Vn,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)a[t]=this.tfm[t];a.svg&&(a.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(e=Nn())&&e.isStart||i[rr]||(or(i),a.zOrigin&&i[ir]&&(i[ir]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1)}},sr=function(e,t){var n={target:e,props:[],revert:ur,save:ar};return e._gsap||Bn.core.getCache(e),t&&t.split(",").forEach((function(e){return n.save(e)})),n},lr=function(e,t){var n=Mn.createElementNS?Mn.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Mn.createElement(e);return n&&n.style?n:Mn.createElement(e)},cr=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(Vn,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&e(t,dr(n)||n,1)||""},hr="O,Moz,ms,Ms,Webkit".split(","),dr=function(e,t,n){var r=(t||Rn).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(hr[i]+e in r););return i<0?null:(3===i?"ms":i>=0?hr[i]:"")+e},pr=function(){"undefined"!=typeof window&&window.document&&(wn=window,Mn=wn.document,Tn=Mn.documentElement,Rn=lr("div")||{style:{}},lr("div"),rr=dr(rr),ir=rr+"Origin",Rn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ln=!!dr("perspective"),Nn=Bn.core.reverting,Pn=1)},fr=function e(t){var n,r=lr("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,a=this.nextSibling,o=this.style.cssText;if(Tn.appendChild(r),r.appendChild(this),this.style.display="block",t)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch(e){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(a?i.insertBefore(this,a):i.appendChild(this)),Tn.removeChild(r),this.style.cssText=o,n},mr=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},gr=function(e){var t;try{t=e.getBBox()}catch(n){t=fr.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===fr||(t=fr.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+mr(e,["x","cx","x1"])||0,y:+mr(e,["y","cy","y1"])||0,width:0,height:0}},_r=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!gr(e))},Dr=function(e,t){if(t){var n,r=e.style;t in On&&t!==ir&&(t=rr),r.removeProperty?("ms"!==(n=t.substr(0,2))&&"webkit"!==t.substr(0,6)||(t="-"+t),r.removeProperty("--"===n?t:t.replace(Vn,"-$1").toLowerCase())):r.removeAttribute(t)}},vr=function(e,t,n,r,i,a){var o=new mn(e._pt,t,n,0,1,a?Yn:Jn);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},yr={deg:1,rad:1,turn:1},Er={grid:1,flex:1},Ar=function e(t,n,r,i){var a,o,u,s,l=parseFloat(r)||0,c=(r+"").trim().substr((l+"").length)||"px",h=Rn.style,d=Wn.test(n),p="svg"===t.tagName.toLowerCase(),f=(p?"client":"offset")+(d?"Width":"Height"),m=100,g="px"===i,_="%"===i;if(i===c||!l||yr[i]||yr[c])return l;if("px"!==c&&!g&&(l=e(t,n,r,"px")),s=t.getCTM&&_r(t),(_||"%"===c)&&(On[n]||~n.indexOf("adius")))return a=s?t.getBBox()[d?"width":"height"]:t[f],_e(_?l/a*m:l/100*a);if(h[d?"width":"height"]=m+(g?c:i),o=~n.indexOf("adius")||"em"===i&&t.appendChild&&!p?t:t.parentNode,s&&(o=(t.ownerSVGElement||{}).parentNode),o&&o!==Mn&&o.appendChild||(o=Mn.body),(u=o._gsap)&&_&&u.width&&d&&u.time===Bt.time&&!u.uncache)return _e(l/u.width*m);if(!_||"height"!==n&&"width"!==n)(_||"%"===c)&&!Er[cr(o,"display")]&&(h.position=cr(t,"position")),o===t&&(h.position="static"),o.appendChild(Rn),a=Rn[f],o.removeChild(Rn),h.position="absolute";else{var D=t.style[n];t.style[n]=m+i,a=t[f],D?t.style[n]=D:Dr(t,n)}return d&&_&&((u=fe(o)).time=Bt.time,u.width=o[f]),_e(g?a*l/m:a&&l?m/a*l:0)},Cr=function(e,t,n,r){var i;return Pn||pr(),t in Gn&&"transform"!==t&&~(t=Gn[t]).indexOf(",")&&(t=t.split(",")[0]),On[t]&&"transform"!==t?(i=Ir(e,r),i="transformOrigin"!==t?i[t]:i.svg?i.origin:Nr(cr(e,ir))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=xr[t]&&xr[t](e,t,n)||cr(e,t)||me(e,t)||("opacity"===t?1:0)),n&&!~(i+"").trim().indexOf(" ")?Ar(e,t,i,n)+n:i},Fr=function(e,t,n,r){if(!n||"none"===n){var i=dr(t,e,1),a=i&&cr(e,i,1);a&&a!==n?(t=i,n=a):"borderColor"===t&&(n=cr(e,"borderTopColor"))}var o,u,s,l,c,h,d,p,f,m,g,_=new mn(this._pt,e.style,t,0,1,ln),D=0,v=0;if(_.b=n,_.e=r,n+="","auto"===(r+="")&&(h=e.style[t],e.style[t]=r,r=cr(e,t)||r,h?e.style[t]=h:Dr(e,t)),xt(o=[n,r]),r=o[1],s=(n=o[0]).match(G)||[],(r.match(G)||[]).length){for(;u=G.exec(r);)d=u[0],f=r.substring(D,u.index),c?c=(c+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(c=1),d!==(h=s[v++]||"")&&(l=parseFloat(h)||0,g=h.substr((l+"").length),"="===d.charAt(1)&&(d=ve(l,d)+g),p=parseFloat(d),m=d.substr((p+"").length),D=G.lastIndex-m.length,m||(m=m||A.units[t]||g,D===r.length&&(r+=m,_.e+=m)),g!==m&&(l=Ar(e,t,h,m)||0),_._pt={_next:_._pt,p:f||1===v?f:",",s:l,c:p-l,m:c&&c<4||"zIndex"===t?Math.round:0});_.c=D<r.length?r.substring(D,r.length):""}else _.r="display"===t&&"none"===r?Yn:Jn;return X.test(r)&&(_.e=0),this._pt=_,_},br={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Sr=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,r,i,a=t.t,o=a.style,u=t.u,s=a._gsap;if("all"===u||!0===u)o.cssText="",r=1;else for(i=(u=u.split(",")).length;--i>-1;)n=u[i],On[n]&&(r=1,n="transformOrigin"===n?ir:rr),Dr(a,n);r&&(Dr(a,rr),s&&(s.svg&&a.removeAttribute("transform"),Ir(a,1),s.uncache=1,or(o)))}},xr={clearProps:function(e,t,n,r,i){if("isFromStart"!==i.data){var a=e._pt=new mn(e._pt,t,n,0,0,Sr);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},Br=[1,0,0,1,0,0],wr={},Mr=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},Tr=function(e){var t=cr(e,rr);return Mr(t)?Br:t.substr(7).match(H).map(_e)},Pr=function(e,t){var n,r,i,a,o=e._gsap||fe(e),u=e.style,s=Tr(e);return o.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(s=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Br:s:(s!==Br||e.offsetParent||e===Tn||o.svg||(i=u.display,u.display="block",(n=e.parentNode)&&e.offsetParent||(a=1,r=e.nextElementSibling,Tn.appendChild(e)),s=Tr(e),i?u.display=i:Dr(e,"display"),a&&(r?n.insertBefore(e,r):n?n.appendChild(e):Tn.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Rr=function(e,t,n,r,i,a){var o,u,s,l=e._gsap,c=i||Pr(e,!0),h=l.xOrigin||0,d=l.yOrigin||0,p=l.xOffset||0,f=l.yOffset||0,m=c[0],g=c[1],_=c[2],D=c[3],v=c[4],y=c[5],E=t.split(" "),A=parseFloat(E[0])||0,C=parseFloat(E[1])||0;n?c!==Br&&(u=m*D-g*_)&&(s=A*(-g/u)+C*(m/u)-(m*y-g*v)/u,A=A*(D/u)+C*(-_/u)+(_*y-D*v)/u,C=s):(A=(o=gr(e)).x+(~E[0].indexOf("%")?A/100*o.width:A),C=o.y+(~(E[1]||E[0]).indexOf("%")?C/100*o.height:C)),r||!1!==r&&l.smooth?(v=A-h,y=C-d,l.xOffset=p+(v*m+y*_)-v,l.yOffset=f+(v*g+y*D)-y):l.xOffset=l.yOffset=0,l.xOrigin=A,l.yOrigin=C,l.smooth=!!r,l.origin=t,l.originIsAbsolute=!!n,e.style[ir]="0px 0px",a&&(vr(a,l,"xOrigin",h,A),vr(a,l,"yOrigin",d,C),vr(a,l,"xOffset",p,l.xOffset),vr(a,l,"yOffset",f,l.yOffset)),e.setAttribute("data-svg-origin",A+" "+C)},Ir=function(e,t){var n=e._gsap||new Vt(e);if("x"in n&&!t&&!n.uncache)return n;var r,i,a,o,u,s,l,c,h,d,p,f,m,g,_,D,v,y,E,C,F,b,S,x,B,w,M,T,P,R,I,N,L=e.style,O=n.scaleX<0,k="px",U="deg",z=getComputedStyle(e),V=cr(e,ir)||"0";return r=i=a=s=l=c=h=d=p=0,o=u=1,n.svg=!(!e.getCTM||!_r(e)),z.translate&&("none"===z.translate&&"none"===z.scale&&"none"===z.rotate||(L[rr]=("none"!==z.translate?"translate3d("+(z.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==z.rotate?"rotate("+z.rotate+") ":"")+("none"!==z.scale?"scale("+z.scale.split(" ").join(",")+") ":"")+("none"!==z[rr]?z[rr]:"")),L.scale=L.rotate=L.translate="none"),g=Pr(e,n.svg),n.svg&&(n.uncache?(B=e.getBBox(),V=n.xOrigin-B.x+"px "+(n.yOrigin-B.y)+"px",x=""):x=!t&&e.getAttribute("data-svg-origin"),Rr(e,x||V,!!x||n.originIsAbsolute,!1!==n.smooth,g)),f=n.xOrigin||0,m=n.yOrigin||0,g!==Br&&(y=g[0],E=g[1],C=g[2],F=g[3],r=b=g[4],i=S=g[5],6===g.length?(o=Math.sqrt(y*y+E*E),u=Math.sqrt(F*F+C*C),s=y||E?zn(E,y)*kn:0,(h=C||F?zn(C,F)*kn+s:0)&&(u*=Math.abs(Math.cos(h*Un))),n.svg&&(r-=f-(f*y+m*C),i-=m-(f*E+m*F))):(N=g[6],R=g[7],M=g[8],T=g[9],P=g[10],I=g[11],r=g[12],i=g[13],a=g[14],l=(_=zn(N,P))*kn,_&&(x=b*(D=Math.cos(-_))+M*(v=Math.sin(-_)),B=S*D+T*v,w=N*D+P*v,M=b*-v+M*D,T=S*-v+T*D,P=N*-v+P*D,I=R*-v+I*D,b=x,S=B,N=w),c=(_=zn(-C,P))*kn,_&&(D=Math.cos(-_),I=F*(v=Math.sin(-_))+I*D,y=x=y*D-M*v,E=B=E*D-T*v,C=w=C*D-P*v),s=(_=zn(E,y))*kn,_&&(x=y*(D=Math.cos(_))+E*(v=Math.sin(_)),B=b*D+S*v,E=E*D-y*v,S=S*D-b*v,y=x,b=B),l&&Math.abs(l)+Math.abs(s)>359.9&&(l=s=0,c=180-c),o=_e(Math.sqrt(y*y+E*E+C*C)),u=_e(Math.sqrt(S*S+N*N)),_=zn(b,S),h=Math.abs(_)>2e-4?_*kn:0,p=I?1/(I<0?-I:I):0),n.svg&&(x=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!Mr(cr(e,rr)),x&&e.setAttribute("transform",x))),Math.abs(h)>90&&Math.abs(h)<270&&(O?(o*=-1,h+=s<=0?180:-180,s+=s<=0?180:-180):(u*=-1,h+=h<=0?180:-180)),t=t||n.uncache,n.x=r-((n.xPercent=r&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+k,n.y=i-((n.yPercent=i&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+k,n.z=a+k,n.scaleX=_e(o),n.scaleY=_e(u),n.rotation=_e(s)+U,n.rotationX=_e(l)+U,n.rotationY=_e(c)+U,n.skewX=h+U,n.skewY=d+U,n.transformPerspective=p+k,(n.zOrigin=parseFloat(V.split(" ")[2])||!t&&n.zOrigin||0)&&(L[ir]=Nr(V)),n.xOffset=n.yOffset=0,n.force3D=A.force3D,n.renderTransform=n.svg?Wr:Ln?Vr:Or,n.uncache=0,n},Nr=function(e){return(e=e.split(" "))[0]+" "+e[1]},Lr=function(e,t,n){var r=et(t);return _e(parseFloat(t)+parseFloat(Ar(e,"x",n+"px",r)))+r},Or=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Vr(e,t)},kr="0deg",Ur="0px",zr=") ",Vr=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,u=n.z,s=n.rotation,l=n.rotationY,c=n.rotationX,h=n.skewX,d=n.skewY,p=n.scaleX,f=n.scaleY,m=n.transformPerspective,g=n.force3D,_=n.target,D=n.zOrigin,v="",y="auto"===g&&e&&1!==e||!0===g;if(D&&(c!==kr||l!==kr)){var E,A=parseFloat(l)*Un,C=Math.sin(A),F=Math.cos(A);A=parseFloat(c)*Un,E=Math.cos(A),a=Lr(_,a,C*E*-D),o=Lr(_,o,-Math.sin(A)*-D),u=Lr(_,u,F*E*-D+D)}m!==Ur&&(v+="perspective("+m+zr),(r||i)&&(v+="translate("+r+"%, "+i+"%) "),(y||a!==Ur||o!==Ur||u!==Ur)&&(v+=u!==Ur||y?"translate3d("+a+", "+o+", "+u+") ":"translate("+a+", "+o+zr),s!==kr&&(v+="rotate("+s+zr),l!==kr&&(v+="rotateY("+l+zr),c!==kr&&(v+="rotateX("+c+zr),h===kr&&d===kr||(v+="skew("+h+", "+d+zr),1===p&&1===f||(v+="scale("+p+", "+f+zr),_.style[rr]=v||"translate(0, 0)"},Wr=function(e,t){var n,r,i,a,o,u=t||this,s=u.xPercent,l=u.yPercent,c=u.x,h=u.y,d=u.rotation,p=u.skewX,f=u.skewY,m=u.scaleX,g=u.scaleY,_=u.target,D=u.xOrigin,v=u.yOrigin,y=u.xOffset,E=u.yOffset,A=u.forceCSS,C=parseFloat(c),F=parseFloat(h);d=parseFloat(d),p=parseFloat(p),(f=parseFloat(f))&&(p+=f=parseFloat(f),d+=f),d||p?(d*=Un,p*=Un,n=Math.cos(d)*m,r=Math.sin(d)*m,i=Math.sin(d-p)*-g,a=Math.cos(d-p)*g,p&&(f*=Un,o=Math.tan(p-f),i*=o=Math.sqrt(1+o*o),a*=o,f&&(o=Math.tan(f),n*=o=Math.sqrt(1+o*o),r*=o)),n=_e(n),r=_e(r),i=_e(i),a=_e(a)):(n=m,a=g,r=i=0),(C&&!~(c+"").indexOf("px")||F&&!~(h+"").indexOf("px"))&&(C=Ar(_,"x",c,"px"),F=Ar(_,"y",h,"px")),(D||v||y||E)&&(C=_e(C+D-(D*n+v*i)+y),F=_e(F+v-(D*r+v*a)+E)),(s||l)&&(o=_.getBBox(),C=_e(C+s/100*o.width),F=_e(F+l/100*o.height)),o="matrix("+n+","+r+","+i+","+a+","+C+","+F+")",_.setAttribute("transform",o),A&&(_.style[rr]=o)},Hr=function(e,t,n,r,i){var a,o,u=360,s=P(i),l=parseFloat(i)*(s&&~i.indexOf("rad")?kn:1)-r,c=r+l+"deg";return s&&("short"===(a=i.split("_")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-360),"cw"===a&&l<0?l=(l+36e9)%u-~~(l/u)*u:"ccw"===a&&l>0&&(l=(l-36e9)%u-~~(l/u)*u)),e._pt=o=new mn(e._pt,t,n,r,l,Xn),o.e=c,o.u="deg",e._props.push(n),o},Gr=function(e,t){for(var n in t)e[n]=t[n];return e},jr=function(e,t,n){var r,i,a,o,u,s,l,c=Gr({},n._gsap),h=n.style;for(i in c.svg?(a=n.getAttribute("transform"),n.setAttribute("transform",""),h[rr]=t,r=Ir(n,1),Dr(n,rr),n.setAttribute("transform",a)):(a=getComputedStyle(n)[rr],h[rr]=t,r=Ir(n,1),h[rr]=a),On)(a=c[i])!==(o=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(u=et(a)!==(l=et(o))?Ar(n,i,a,l):parseFloat(a),s=parseFloat(o),e._pt=new mn(e._pt,r,i,u,s-u,jn),e._pt.u=l||0,e._props.push(i));Gr(r,c)};ge("padding,margin,Width,Radius",(function(e,t){var n="Top",r="Right",i="Bottom",a="Left",o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map((function(n){return t<2?e+n:"border"+n+e}));xr[t>1?"border"+e:e]=function(e,t,n,r,i){var a,u;if(arguments.length<4)return a=o.map((function(t){return Cr(e,t,n)})),5===(u=a.join(" ")).split(a[0]).length?a[0]:u;a=(r+"").split(" "),u={},o.forEach((function(e,t){return u[e]=a[t]=a[t]||a[(t-1)/2|0]})),e.init(t,u,i)}}));var Xr,Kr,qr,Jr={name:"css",register:pr,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a,o,u,s,l,c,h,d,p,f,m,g,_,D,v,y,E,C,F,b,S=this._props,x=e.style,B=n.vars.startAt;for(h in Pn||pr(),this.styles=this.styles||sr(e),y=this.styles.props,this.tween=n,t)if("autoRound"!==h&&(o=t[h],!se[h]||!qt(h,t,n,r,e,i)))if(l=typeof o,c=xr[h],"function"===l&&(l=typeof(o=o.call(n,r,e,i))),"string"===l&&~o.indexOf("random(")&&(o=dt(o)),c)c(this,e,h,o,n)&&(v=1);else if("--"===h.substr(0,2))a=(getComputedStyle(e).getPropertyValue(h)+"").trim(),o+="",bt.lastIndex=0,bt.test(a)||(d=et(a),p=et(o)),p?d!==p&&(a=Ar(e,h,a,p)+p):d&&(o+=d),this.add(x,"setProperty",a,o,r,i,0,0,h),S.push(h),y.push(h,0,x[h]);else if("undefined"!==l){if(B&&h in B?(a="function"==typeof B[h]?B[h].call(n,r,e,i):B[h],P(a)&&~a.indexOf("random(")&&(a=dt(a)),et(a+"")||"auto"===a||(a+=A.units[h]||et(Cr(e,h))||""),"="===(a+"").charAt(1)&&(a=Cr(e,h))):a=Cr(e,h),s=parseFloat(a),(f="string"===l&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),h in Gn&&("autoAlpha"===h&&(1===s&&"hidden"===Cr(e,"visibility")&&u&&(s=0),y.push("visibility",0,x.visibility),vr(this,x,"visibility",s?"inherit":"hidden",u?"inherit":"hidden",!u)),"scale"!==h&&"transform"!==h&&~(h=Gn[h]).indexOf(",")&&(h=h.split(",")[0])),m=h in On)if(this.styles.save(h),g||((_=e._gsap).renderTransform&&!t.parseTransform||Ir(e,t.parseTransform),D=!1!==t.smoothOrigin&&_.smooth,(g=this._pt=new mn(this._pt,x,rr,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===h)this._pt=new mn(this._pt,_,"scaleY",_.scaleY,(f?ve(_.scaleY,f+u):u)-_.scaleY||0,jn),this._pt.u=0,S.push("scaleY",h),h+="X";else{if("transformOrigin"===h){y.push(ir,0,x[ir]),C=void 0,F=void 0,b=void 0,C=(E=o).split(" "),F=C[0],b=C[1]||"50%","top"!==F&&"bottom"!==F&&"left"!==b&&"right"!==b||(E=F,F=b,b=E),C[0]=br[F]||F,C[1]=br[b]||b,o=C.join(" "),_.svg?Rr(e,o,0,D,0,this):((p=parseFloat(o.split(" ")[2])||0)!==_.zOrigin&&vr(this,_,"zOrigin",_.zOrigin,p),vr(this,x,h,Nr(a),Nr(o)));continue}if("svgOrigin"===h){Rr(e,o,1,D,0,this);continue}if(h in wr){Hr(this,_,h,s,f?ve(s,f+o):o);continue}if("smoothOrigin"===h){vr(this,_,"smooth",_.smooth,o);continue}if("force3D"===h){_[h]=o;continue}if("transform"===h){jr(this,o,e);continue}}else h in x||(h=dr(h)||h);if(m||(u||0===u)&&(s||0===s)&&!Hn.test(o)&&h in x)u||(u=0),(d=(a+"").substr((s+"").length))!==(p=et(o
2)||(h in A.units?A.units[h]:d))&&(s=Ar(e,h,a,p)),this._pt=new mn(this._pt,m?_:x,h,s,(f?ve(s,f+u):u)-s,m||"px"!==p&&"zIndex"!==h||!1===t.autoRound?jn:qn),this._pt.u=p||0,d!==p&&"%"!==p&&(this._pt.b=a,this._pt.r=Kn);else if(h in x)Fr.call(this,e,h,a,f?f+o:o);else if(h in e)this.add(e,h,a||e[h],f?f+o:o,r,i);else if("parseTransform"!==h){Q(h,o);continue}m||(h in x?y.push(h,0,x[h]):y.push(h,1,a||e[h])),S.push(h)}v&&fn(this)},render:function(e,t){if(t.tween._time||!Nn())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Cr,aliases:Gn,getSetter:function(e,t,n){var r=Gn[t];return r&&r.indexOf(",")<0&&(t=r),t in On&&t!==ir&&(e._gsap.x||Cr(e,"x"))?n&&In===n?"scale"===t?er:Zn:(In=n||{})&&("scale"===t?tr:nr):e.style&&!N(e.style[t])?$n:~t.indexOf("-")?Qn:on(e,t)},core:{_removeProperty:Dr,_getMatrix:Pr}};Bn.utils.checkPrefix=dr,Bn.core.getStyleSaver=sr,qr=ge((Xr="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Kr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(e){On[e]=1})),ge(Kr,(function(e){A.units[e]="deg",wr[e]=1})),Gn[qr[13]]=Xr+","+Kr,ge("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(e){var t=e.split(":");Gn[t[1]]=qr[t[0]]})),ge("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(e){A.units[e]="px"})),Bn.registerPlugin(Jr);var Yr=Bn.registerPlugin(Jr)||Bn;Yr.core.Tween},639:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(n(261)),a=r(n(2300)),o=n(9027),u=n(1127),s=r(n(6727)),l=r(n(1350)),c=r(n(1148)),h=i.default.create;function d(){var e=h();return e.compile=function(t,n){return u.compile(t,n,e)},e.precompile=function(t,n){return u.precompile(t,n,e)},e.AST=a.default,e.Compiler=u.Compiler,e.JavaScriptCompiler=s.default,e.Parser=o.parser,e.parse=o.parse,e.parseWithoutProcessing=o.parseWithoutProcessing,e}var p=d();p.create=d,c.default(p),p.Visitor=l.default,p.default=p,t.default=p,e.exports=t.default},261:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var a=i(n(2871)),o=r(n(9613)),u=r(n(3769)),s=i(n(2849)),l=i(n(7624)),c=r(n(1148));function h(){var e=new a.HandlebarsEnvironment;return s.extend(e,a),e.SafeString=o.default,e.Exception=u.default,e.Utils=s,e.escapeExpression=s.escapeExpression,e.VM=l,e.template=function(t){return l.template(t,e)},e}var d=h();d.create=h,c.default(d),d.default=d,t.default=d,e.exports=t.default},2871:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=h;var i=n(2849),a=r(n(3769)),o=n(2277),u=n(5940),s=r(n(566)),l=n(3865);t.VERSION="4.7.8";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var c="[object Object]";function h(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},o.registerDefaultHelpers(this),u.registerDefaultDecorators(this)}h.prototype={constructor:h,logger:s.default,log:s.default.log,registerHelper:function(e,t){if(i.toString.call(e)===c){if(t)throw new a.default("Arg not supported with multiple helpers");i.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(i.toString.call(e)===c)i.extend(this.partials,e);else{if(void 0===t)throw new a.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(i.toString.call(e)===c){if(t)throw new a.default("Arg not supported with multiple decorators");i.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){l.resetLoggedProperties()}};var d=s.default.log;t.log=d,t.createFrame=i.createFrame,t.logger=s.default},2300:function(e,t){"use strict";t.__esModule=!0;var n={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!n.helpers.scopedId(e)&&!e.depth}}};t.default=n,e.exports=t.default},9027:function(e,t,n){"use strict";
vendor: 4,606 bytes, line 2
2function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.parseWithoutProcessing=l,t.parse=function(e,t){var n=l(e,t);return new a.default(t).accept(n)};var i=r(n(6201)),a=r(n(915)),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(8425)),u=n(2849);t.parser=i.default;var s={};function l(e,t){return"Program"===e.type?e:(i.default.yy=s,s.locInfo=function(e){return new s.SourceLocation(t&&t.srcName,e)},i.default.parse(e))}u.extend(s,o)},9632:function(e,t,n){"use strict";t.__esModule=!0;var r=n(2849),i=void 0;try{}catch(e){}function a(e,t,n){if(r.isArray(e)){for(var i=[],a=0,o=e.length;a<o;a++)i.push(t.wrap(e[a],n));return i}return"boolean"==typeof e||"number"==typeof e?e+"":e}function o(e){this.srcFile=e,this.source=[]}i||((i=function(e,t,n,r){this.src="",r&&this.add(r)}).prototype={add:function(e){r.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){r.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),o.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var e=this.empty();return this.each((function(t){e.add(["  ",t,"\n"])})),e},each:function(e){for(var t=0,n=this.source.length;t<n;t++)e(this.source[t])},empty:function(){var e=this.currentLocation||{start:{}};return new i(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof i?e:(e=a(e,this,t),new i(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t=this,n=[];Object.keys(e).forEach((function(r){var i=a(e[r],t);"undefined"!==i&&n.push([t.quotedString(r),":",i])}));var r=this.generateList(n);return r.prepend("{"),r.add("}"),r},generateList:function(e){for(var t=this.empty(),n=0,r=e.length;n<r;n++)n&&t.add(","),t.add(a(e[n],this));return t},generateArray:function(e){var t=this.generateList(e);return t.prepend("["),t.add("]"),t}},t.default=o,e.exports=t.default},1127:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.Compiler=s,t.precompile=function(e,t,n){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new i.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);"data"in(t=t||{})||(t.data=!0);t.compat&&(t.useDepths=!0);var r=n.parse(e,t),a=(new n.Compiler).compile(r,t);return(new n.JavaScriptCompiler).compile(a,t)},t.compile=function(e,t,n){void 0===t&&(t={});if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new i.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in(t=a.extend({},t))||(t.data=!0);t.compat&&(t.useDepths=!0);var r=void 0;function o(){var r=n.parse(e,t),i=(new n.Compiler).compile(r,t),a=(new n.JavaScriptCompiler).compile(i,t,void 0,!0);return n.template(a)}function u(e,t){return r||(r=o()),r.call(this,e,t)}return u._setup=function(e){return r||(r=o()),r._setup(e)},u._child=function(e,t,n,i){return r||(r=o()),r._child(e,t,n,i)},u};var i=r(n(3769)),a=n(2849),o=r(n(2300)),u=[].slice;function s(){}function l(e,t){if(e===t)return!0;if(a.isArray(e)&&a.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!l(e[n],t[n]))return!1;return!0}}function c(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}s.prototype={compiler:s,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;n<t;n++){var r=this.opcodes[n],i=e.opcodes[n];if(r.opcode!==i.opcode||!l(r.args,i.args))return!1}t=this.children.length;for(n=0;n<t;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,t){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[],t.knownHelpers=a.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},t.knownHelpers),this.accept(e)}
vendor: 2,675 bytes, line 2
2,compileProgram:function(e){var t=(new this.compiler).compile(e,this.options),n=this.guid++;return this.usePartial=this.usePartial||t.usePartial,this.children[n]=t,this.useDepths=this.useDepths||t.useDepths,n},accept:function(e){if(!this[e.type])throw new i.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var t=this[e.type](e);return this.sourceNode.shift(),t},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,n=t.length,r=0;r<n;r++)this.accept(t[r]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){c(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var r=this.classifySexpr(e);"helper"===r?this.helperSexpr(e,t,n):"simple"===r?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var t=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,t,void 0),r=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,r.original)},PartialStatement:function(e){this.usePartial=!0;var t=e.program;t&&(t=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new i.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var r=e.name.original,a="SubExpression"===e.name.type;a&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var o=e.indent||"";this.options.preventIndent&&o&&(this.opcode("appendContent",o),o=""),this.opcode("invokePartial",a,r,o),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){c(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var r=e.path,i=r.parts[0],a=null!=t||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),r.strict=!0,this.accept(r),this.opcode("invokeAmbiguous",i,a)}
vendor: 4,917 bytes, line 2
2,simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var r=this.setupFullMustacheParams(e,t,n),a=e.path,u=a.parts[0];if(this.options.knownHelpers[u])this.opcode("invokeKnownHelper",r.length,u);else{if(this.options.knownHelpersOnly)throw new i.default("You specified knownHelpersOnly, but used the unknown helper "+u,e);a.strict=!0,a.falsy=!0,this.accept(a),this.opcode("invokeHelper",r.length,a.original,o.default.helpers.simpleId(a))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=o.default.helpers.scopedId(e),r=!e.depth&&!n&&this.blockParamIndex(t);r?this.opcode("lookupBlockParam",r,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,n=0,r=t.length;for(this.opcode("pushHash");n<r;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:u.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=o.default.helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),r=!n&&o.default.helpers.helperExpression(e),i=!n&&(r||t);if(i&&!r){var a=e.path.parts[0],u=this.options;u.knownHelpers[a]?r=!0:u.knownHelpersOnly&&(i=!1)}return r?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;t<n;t++)this.pushParam(e[t])},pushParam:function(e){var t=null!=e.value?e.value:e.original||"";if(this.stringParams)t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",t,e.type),"SubExpression"===e.type&&this.accept(e);else{if(this.trackIds){var n=void 0;if(!e.parts||o.default.helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var r=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,r)}else(t=e.original||t).replace&&(t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,t)}this.accept(e)}},setupFullMustacheParams:function(e,t,n,r){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",r),i},blockParamIndex:function(e){for(var t=0,n=this.options.blockParams.length;t<n;t++){var r=this.options.blockParams[t],i=r&&a.indexOf(r,e);if(r&&i>=0)return[t,i]}}}},8425:function(e,t,n){"use strict";t.__esModule=!0,t.SourceLocation=function(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}},t.id=function(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e},t.stripFlags=function(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}},t.stripComment=function(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},t.preparePath=function(e,t,n){n=this.locInfo(n);for(var r=e?"@":"",i=[],o=0,u=0,s=t.length;u<s;u++){var l=t[u].part,c=t[u].original!==l;if(r+=(t[u].separator||"")+l,c||".."!==l&&"."!==l&&"this"!==l)i.push(l);else{if(i.length>0)throw new a.default("Invalid path: "+r,{loc:n});".."===l&&o++}}return{type:"PathExpression",data:e,depth:o,parts:i,original:r,loc:n}},t.prepareMustache=function(e,t,n,r,i,a){var o=r.charAt(3)||r.charAt(2),u="{"!==o&&"&"!==o;return{type:/\*/.test(r)?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:u,strip:i,loc:this.locInfo(a)}},t.prepareRawBlock=function(e,t,n,r){o(e,n),r=this.locInfo(r);var i={type:"Program",body:t,strip:{},loc:r};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:r}},t.prepareBlock=function(e,t,n,r,i,u){r&&r.path&&o(e,r);var s=/\*/.test(e.open);t.blockParams=e.blockParams;var l=void 0,c=void 0;if(n){if(s)throw new a.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=r.strip),c=n.strip,l=n.program}i&&(i=l,l=t,t=i);return{type:s?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:l,openStrip:e.strip,inverseStrip:c,closeStrip:r&&r.strip,loc:this.locInfo(u)}},t.prepareProgram=function(e,t){if(!t&&e.length){var n=e[0].loc,r=e[e.length-1].loc;n&&r&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:e,strip:{},loc:t}}
vendor: 8,612 bytes, line 2
2,t.preparePartialBlock=function(e,t,n,r){return o(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(r)}};var r,i=n(3769),a=(r=i)&&r.__esModule?r:{default:r};function o(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var n={loc:e.path.loc};throw new a.default(e.path.original+" doesn't match "+t,n)}}},6727:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(2871),a=r(n(3769)),o=n(2849),u=r(n(9632));function s(e){this.value=e}function l(){}l.prototype={nameLookup:function(e,t){return this.internalNameLookup(e,t)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=i.COMPILER_REVISION;return[e,i.REVISION_CHANGES[e]]},appendToBuffer:function(e,t,n){return o.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,t){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(t),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,t,n,r){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!r,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,o=void 0,u=void 0,s=void 0,l=void 0;for(s=0,l=i.length;s<l;s++)o=i[s],this.source.currentLocation=o.loc,u=u||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=u,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new a.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),r?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var c=this.createFunctionContext(r);if(this.isChild)return c;var h={compiler:this.compilerInfo(),main:c};this.decorators&&(h.main_d=this.decorators,h.useDecorators=!0);var d=this.context,p=d.programs,f=d.decorators;for(s=0,l=p.length;s<l;s++)p[s]&&(h[s]=p[s],f[s]&&(h[s+"_d"]=f[s],h.useDecorators=!0));return this.environment.usePartial&&(h.usePartial=!0),this.options.data&&(h.useData=!0),this.useDepths&&(h.useDepths=!0),this.useBlockParams&&(h.useBlockParams=!0),this.options.compat&&(h.compat=!0),r?h.compilerOptions=this.options:(h.compiler=JSON.stringify(h.compiler),this.source.currentLocation={start:{line:1,column:0}},h=this.objectLiteral(h),t.srcName?(h=h.toStringWithSourceMap({file:t.destName})).map=h.map&&h.map.toString():h=h.toString()),h},preamble:function(){this.lastContext=0,this.source=new u.default(this.options.srcName),this.decorators=new u.default(this.options.srcName)},createFunctionContext:function(e){var t=this,n="",r=this.stackVars.concat(this.registers.list);r.length>0&&(n+=", "+r.join(", "));var i=0;Object.keys(this.aliases).forEach((function(e){var r=t.aliases[e];r.children&&r.referenceCount>1&&(n+=", alias"+ ++i+"="+e,r.children[0]="alias"+i)})),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var o=this.mergeSource(n);return e?(a.push(o),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),") {\n  ",o,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,r=void 0,i=void 0,a=void 0,o=void 0;return this.source.each((function(e){e.appendToBuffer?(a?e.prepend("  + "):a=e,o=e):(a&&(i?a.prepend("buffer += "):r=!0,o.add(";"),a=o=void 0),i=!0,t||(n=!1))})),n?a?(a.prepend("return "),o.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(r?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),o.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(r?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n      lookupProperty = container.lookupProperty || function(parent, propertyName) {\n        if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n          return parent[propertyName];\n        }\n        return undefined\n    }\n    ".trim()},blockValue:function(e){var t=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack((function(e){return[" != null ? ",e,' : ""']})),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,r){var i=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[i++])),this.resolvePath("context",e,i,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,n)},resolvePath:function(e,t,n,r,i){var a=this;if(this.options.strict||this.options.assumeObjects)this.push(function(e,t,n,r,i){var a=t.popStack(),o=n.length;e&&o--;for(;r<o;r++)a=t.nameLookup(a,n[r],i);return e?[t.aliasable("container.strict"),"(",a,", ",t.quotedString(n[r]),", ",JSON.stringify(t.source.currentLocation)," )"]:a}(this.options.strict&&i,this,t,n,e));else for(var o=t.length;n<o;n++)this.replaceStack((function(i){var o=a.nameLookup(i,t[n],e);return r?[" && ",o]:[" != null ? ",o," : ",i]}))},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,t){var n=this.nameLookup("decorators",t,"decorator"),r=this.setupHelperArgs(t,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["f
2n","props","container",r])," || fn;"])},invokeHelper:function(e,t,n){var r=this.popStack(),i=this.setupHelper(e,t),a=[];n&&a.push(i.name),a.push(r),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var o=["(",this.itemsSeparatedBy(a,"||"),")"],u=this.source.functionCall(o,"call",i.callParams);this.push(u)},itemsSeparatedBy:function(e,t){var n=[];n.push(e[0]);for(var r=1;r<e.length;r++)n.push(t,e[r]);return n},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,e,t),i=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",e,"helper")," || ",n,")"];this.options.strict||(i[0]="(helper = ",i.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",i,r.paramsInit?["),(",r.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",r.callParams)," : helper))"])},invokePartial:function(e,t,n){var r=[],i=this.setupParams(t,1,r);e&&(t=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",i.decorators="container.decorators",e?r.unshift(t):r.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),r.push(i),this.push(this.source.functionCall("container.invokePartial","",r))},assignToHash:function(e){var t=this.popStack(),n=void 0,r=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),r&&(a.types[e]=r),i&&(a.ids[e]=i),a.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:l,compileChildren:function(e,t){for(var n=e.children,r=void 0,i=void 0,a=0,o=n.length;a<o;a++){r=n[a],i=new this.compiler;var u=this.matchExistingProgram(r);if(null==u){this.context.programs.push("");var s=this.context.programs.length;r.index=s,r.name="program"+s,this.context.programs[s]=i.compile(r,t,this.context,!this.precompile),this.context.decorators[s]=i.decorators,this.context.environments[s]=r,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,r.useDepths=this.useDepths,r.useBlockParams=this.useBlockParams}else r.index=u.index,r.name="program"+u.index,this.useDepths=this.useDepths||u.useDepths,this.useBlockParams=this.useBlockParams||u.useBlockParams}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var r=this.context.environments[t];if(r&&r.equals(e))return r}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof s||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new s(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],n=void 0,r=void 0,i=void 0;if(!this.isInline())throw new a.default("replaceStack on non-inline");var o=this.popStack(!0);if(o instanceof s)t=["(",n=[o.value]],i=!0;else{r=!0;var u=this.incrStack();t=["((",this.push(u)," = ",o,")"],n=this.topStack()}var l=e.call(this,n);i||this.popStack(),r&&this.stackSlot--,this.push(t.concat(l,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot}
vendor: 8,710 bytes, line 2
2,flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r instanceof s)this.compileStack.push(r);else{var i=this.incrStack();this.pushSource([i," = ",r,";"]),this.compileStack.push(i)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof s)return n.value;if(!t){if(!this.stackSlot)throw new a.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof s?t.value:t},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):((t=this.aliases[e]=this.source.wrap(e)).aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,n){var r=[];return{params:r,paramsInit:this.setupHelperArgs(t,e,r,n),name:this.nameLookup("helpers",t,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(r)}},setupParams:function(e,t,n){var r={},i=[],a=[],o=[],u=!n,s=void 0;u&&(n=[]),r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var l=this.popStack(),c=this.popStack();(c||l)&&(r.fn=c||"container.noop",r.inverse=l||"container.noop");for(var h=t;h--;)s=this.popStack(),n[h]=s,this.trackIds&&(o[h]=this.popStack()),this.stringParams&&(a[h]=this.popStack(),i[h]=this.popStack());return u&&(r.args=this.source.generateArray(n)),this.trackIds&&(r.ids=this.source.generateArray(o)),this.stringParams&&(r.types=this.source.generateArray(a),r.contexts=this.source.generateArray(i)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(e,t,n,r){var i=this.setupParams(e,t,n);return i.loc=JSON.stringify(this.source.currentLocation),i=this.objectLiteral(i),r?(this.useRegister("options"),n.push("options"),["options=",i]):n?(n.push(i),""):i}},function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=l.RESERVED_WORDS={},n=0,r=e.length;n<r;n++)t[e[n]]=!0}(),l.isValidJavaScriptVariableName=function(e){return!l.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t.default=l,e.exports=t.default},6201:function(e,t){"use strict";t.__esModule=!0;var n=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(e,t,n,r,i,a,o){var u=a.length-1;switch(i){case 1:return a[u-1];case 2:this.$=r.prepareProgram(a[u]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:case 40:case 41:this.$=a[u];break;case 9:this.$={type:"CommentStatement",value:r.stripComment(a[u]),strip:r.stripFlags(a[u],a[u]),loc:r.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:a[u],value:a[u],loc:r.locInfo(this._$)};break;case 11:this.$=r.prepareRawBlock(a[u-2],a[u-1],a[u],this._$);break;case 12:this.$={path:a[u-3],params:a[u-2],hash:a[u-1]};break;case 13:this.$=r.prepareBlock(a[u-3],a[u-2],a[u-1],a[u],!1,this._$);break;case 14:this.$=r.prepareBlock(a[u-3],a[u-2],a[u-1],a[u],!0,this._$);break;case 15:this.$={open:a[u-5],path:a[u-4],params:a[u-3],hash:a[u-2],blockParams:a[u-1],strip:r.stripFlags(a[u-5],a[u])};break;case 16:case 17:this.$={path:a[u-4],params:a[u-3],hash:a[u-2],blockParams:a[u-1],strip:r.stripFlags(a[u-5],a[u])};break;case 18:this.$={strip:r.stripFlags(a[u-1],a[u-1]),program:a[u]};break;case 19:var s=r.prepareBlock(a[u-2],a[u-1],a[u],a[u],!1,this._$),l=r.prepareProgram([s],a[u-1].loc);l.chained=!0,this.$={strip:a[u-2].strip,program:l,chain:!0};break;case 21:this.$={path:a[u-1],strip:r.stripFlags(a[u-2],a[u])};break;case 22:case 23:this.$=r.prepareMustache(a[u-3],a[u-2],a[u-1],a[u-4],r.stripFlags(a[u-4],a[u]),this._$);break;case 24:this.$={type:"PartialStatement",name:a[u-3],params:a[u-2],hash:a[u-1],indent:"",strip:r.stripFlags(a[u-4],a[u]),loc:r.locInfo(this._$)};break;case 25:this.$=r.preparePartialBlock(a[u-2],a[u-1],a[u],this._$);break;case 26:this.$={path:a[u-3],params:a[u-2],hash:a[u-1],strip:r.stripFlags(a[u-4],a[u])};break;case 29:this.$={type:"SubExpression",path:a[u-3],params:a[u-2],hash:a[u-1],loc:r.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:a[u],loc:r.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:r.id(a[u-2]),value:a[u],loc:r.locInfo(this._$)};break;case 32:this.$=r.id(a[u-1]);break;case 35:this.$={type:"StringLiteral",value:a[u],original:a[u],loc:r.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(a[u]),original:Number(a[u]),loc:r.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===a[u],original:"true"===a[u],loc:r.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:r.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:r.locInfo(this._$)};break;case 42:this.$=r.preparePath(!0,a[u],this._$);break;case 43:this.$=r.preparePath(!1,a[u],this._$);break;case 44:a[u-2].push({part:r.id(a[u]),original:a[u],separator:a[u-1]}),this.$=a[u-2];break;case 45:this.$=[{part:r.id(a[u]),original:a[u]}];break;case 46:case 48:case 50:case 58:case 64:case 70:case 78:case 82:case 86:case 90:case 94:this.$=[];break;case 47:case 49:case 51:case 59:case 65:case 71:case 79:case 83:case 87:case 91:case 95:case 99:case 101:a[u-1].push(a[u]);break;case 98:case 100:this.$=[a[u]]
vendor: 11,480 bytes, line 2
2}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(
vendor: 2,432 bytes, line 2
2e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],a=this.table,o="",u=0,s=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;i.push(c);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,p,f,m,g,_,D,v,y,E,A={};;){if(f=n[n.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null==d&&(E=void 0,"number"!=typeof(E=t.lexer.lex()||1)&&(E=t.symbols_[E]||E),d=E),m=a[f]&&a[f][d]),void 0===m||!m.length||!m[0]){var C="";if(!l){for(_ in y=[],a[f])this.terminals_[_]&&_>2&&y.push("'"+this.terminals_[_]+"'");C=this.lexer.showPosition?"Parse error on line "+(u+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+y.join(", ")+", got '"+(this.terminals_[d]||d)+"'":"Parse error on line "+(u+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(C,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:c,expected:y})}}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+d);switch(m[0]){case 1:n.push(d),r.push(this.lexer.yytext),i.push(this.lexer.yylloc),n.push(m[1]),d=null,p?(d=p,p=null):(s=this.lexer.yyleng,o=this.lexer.yytext,u=this.lexer.yylineno,c=this.lexer.yylloc,l>0&&l--);break;case 2:if(D=this.productions_[m[1]][1],A.$=r[r.length-D],A._$={first_line:i[i.length-(D||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(D||1)].first_column,last_column:i[i.length-1].last_column},h&&(A._$.range=[i[i.length-(D||1)].range[0],i[i.length-1].range[1]]),void 0!==(g=this.performAction.call(A,o,s,u,this.yy,m[1],r,i)))return g;D&&(n=n.slice(0,-1*D*2),r=r.slice(0,-1*D),i=i.slice(0,-1*D)),n.push(this.productions_[m[1]][0]),r.push(A.$),i.push(A._$),v=a[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 7,268 bytes, line 2
2,input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t,n,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),o=0;o<a.length&&(!(n=this._input.match(this.rules[a[o]]))||t&&!(n[0].length>t[0].length)||(t=n,r=o,this.options.flex));o++);return t?((i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,a[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},options:{},performAction:function(e,t,n,r){function i(e,n){return t.yytext=t.yytext.substring(e,t.yyleng-n+e)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(i(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(i(5,9),"END_RAW_BLOCK");case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=i(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=i(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return e}();function n(){this.yy={}}return e.lexer=t,n.prototype=e,e.Parser=n,new n}();t.default=n,e.exports=t.default},1350:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(3769),a=(r=i)&&r.__esModule?r:{default:r};function o(){this.parents=[]}function u(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function s(e){u.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function l(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}o.prototype={constructor:o,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&!o.prototype[n.type])throw new a.default('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type);e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new a.default(e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;t<n;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},accept:function(e){if(e){if(!this[e.type])throw new a.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:!1!==t?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:u,Decorator:u,BlockStatement:s,DecoratorBlock:s,PartialStatement:l,PartialBlockStatement:function(e){l.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:u,PathExpression:function(){}
vendor: 10,758 bytes, line 2
2,StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t.default=o,e.exports=t.default},915:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(1350),a=(r=i)&&r.__esModule?r:{default:r};function o(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function u(e,t,n){void 0===t&&(t=e.length);var r=e[t-1],i=e[t-2];return r?"ContentStatement"===r.type?(i||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function s(e,t,n){void 0===t&&(t=-1);var r=e[t+1],i=e[t+2];return r?"ContentStatement"===r.type?(i||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function l(e,t,n){var r=e[null==t?0:t+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var i=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==i}}function c(e,t,n){var r=e[null==t?e.length-1:t-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var i=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==i,r.leftStripped}}o.prototype=new a.default,o.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var r=e.body,i=0,a=r.length;i<a;i++){var o=r[i],h=this.accept(o);if(h){var d=u(r,i,n),p=s(r,i,n),f=h.openStandalone&&d,m=h.closeStandalone&&p,g=h.inlineStandalone&&d&&p;h.close&&l(r,i,!0),h.open&&c(r,i,!0),t&&g&&(l(r,i),c(r,i)&&"PartialStatement"===o.type&&(o.indent=/([ \t]+$)/.exec(r[i-1].original)[1])),t&&f&&(l((o.program||o.inverse).body),c(r,i)),t&&m&&(l(r,i),c((o.inverse||o.program).body))}}return e},o.prototype.BlockStatement=o.prototype.DecoratorBlock=o.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,r=n,i=n;if(n&&n.chained)for(r=n.body[0].program;i.chained;)i=i.body[i.body.length-1].program;var a={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:s(t.body),closeStandalone:u((r||t).body)};if(e.openStrip.close&&l(t.body,null,!0),n){var o=e.inverseStrip;o.open&&c(t.body,null,!0),o.close&&l(r.body,null,!0),e.closeStrip.open&&c(i.body,null,!0),!this.options.ignoreStandalone&&u(t.body)&&s(r.body)&&(c(t.body),l(r.body))}else e.closeStrip.open&&c(t.body,null,!0);return a},o.prototype.Decorator=o.prototype.MustacheStatement=function(e){return e.strip},o.prototype.PartialStatement=o.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t.default=o,e.exports=t.default},5940:function(e,t,n){"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){a.default(e)};var r,i=n(7430),a=(r=i)&&r.__esModule?r:{default:r}},7430:function(e,t,n){"use strict";t.__esModule=!0;var r=n(2849);t.default=function(e){e.registerDecorator("inline",(function(e,t,n,i){var a=e;return t.partials||(t.partials={},a=function(i,a){var o=n.partials;n.partials=r.extend({},o,t.partials);var u=e(i,a);return n.partials=o,u}),t.partials[i.args[0]]=i.fn,a}))},e.exports=t.default},3769:function(e,t){"use strict";t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(e,t){var i=t&&t.loc,a=void 0,o=void 0,u=void 0,s=void 0;i&&(a=i.start.line,o=i.end.line,u=i.start.column,s=i.end.column,e+=" - "+a+":"+u);for(var l=Error.prototype.constructor.call(this,e),c=0;c<n.length;c++)this[n[c]]=l[n[c]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{i&&(this.lineNumber=a,this.endLineNumber=o,Object.defineProperty?(Object.defineProperty(this,"column",{value:u,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=u,this.endColumn=s))}catch(e){}}r.prototype=new Error,t.default=r,e.exports=t.default},2277:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){i.default(e),a.default(e),o.default(e),u.default(e),s.default(e),l.default(e),c.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var i=r(n(6097)),a=r(n(6785)),o=r(n(4353)),u=r(n(2355)),s=r(n(5300)),l=r(n(7466)),c=r(n(908))},6097:function(e,t,n){"use strict";t.__esModule=!0;var r=n(2849);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,n){var i=n.inverse,a=n.fn;if(!0===t)return a(this);if(!1===t||null==t)return i(this);if(r.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this);if(n.data&&n.ids){var o=r.createFrame(n.data);o.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:o}}return a(t,n)}))},e.exports=t.default},6785:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(2849),a=n(3769),o=(r=a)&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new o.default("Must pass iterator to #each");var n,r=t.fn,a=t.inverse,u=0,s="",l=void 0,c=void 0;function h(t,n,a){l&&(l.key=t,l.index=n,l.first=0===n,l.last=!!a,c&&(l.contextPath=c+t)),s+=r(e[t],{data:l,blockParams:i.blockParams([e[t],t],[c+t,null])})}if(t.data&&t.ids&&(c=i.appendContextPath(t.data.contextPath,t.ids[0])+"."),i.isFunction(e)&&(e=e.call(this)),t.data&&(l=i.createFrame(t.data)),e&&"object"==typeof e)if(i.isArray(e))for(var d=e.length;u<d;u++)u in e&&h(u,u,u===e.length-1);else if("function"==typeof Symbol&&e[Symbol.iterator]){for(var p=[],f=e[Symbol.iterator](),m=f.next();!m.done;m=f.next())p.push(m.value);for(d=(e=p).length;u<d;u++)h(u,u,u===e.length-1)}else n=void 0,Object.keys(e).forEach((function(e){void 0!==n&&h(n,u-1),n=e,u++})),void 0!==n&&h(n,u-1,!0);return 0===u&&(s=a(this)),s}))},e.exports=t.default},4353:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(3769),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new a.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default},2355:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(2849),a=n(3769),o=(r=a)&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new o.default("#if requires exactly one argument");return i.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||i.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,n){if(2!=arguments.length)throw new o.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))},e.exports=t.default},5300:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var i=1;null!=n.hash.level?i=n.hash.level:n.data&&null!=n.data.level&&(i=n.data.level),t[0]=i,e.log.apply(e,t)}))},e.exports=t.default},7466:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,n){return e?n.lookupProperty(e,t):e}))},e.exports=t.default},908:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(2849),a=n(3769),o=(r=a)&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new o.default("#with requires exactly one argument");i.isFunction(e)&&(e=e.call(this));var n=t.fn;if(i.isEmpty(e))return t.inverse(this);var r=t.data;return t.data&&t.ids&&((r=i.createFrame(t.data)).contextPath=i.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:r,blockParams:i.blockParams([e],[r&&r.contextPath])})}))},e.exports=t.default},9726:function(e,t,n){"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.extend.apply(void 0,[Object.create(null)].concat(t))};var r=n(2849)},3865:function(e,t,n){"use strict";t.__esModule=!0,t.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:i.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:i.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,n){return s("function"==typeof e?t.methods:t.properties,n)},t.resetLoggedProperties=function(){Object.keys(u).forEach((function(e){delete u[e]}))};var r,i=n(9726),a=n(566),o=(r=a)&&r.__esModule?r:{default:r},u=Object.create(null);function s(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==u[e]&&(u[e]=!0,o.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}},2614:function(e,t){"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){if("function"!=typeof e)return e;return function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}}},566:function(e,t,n){"use strict";t.__esModule=!0;var r=n(2849),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=r.indexOf(i.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=i.lookupLevel(e),"undefined"!=typeof console&&i.lookupLevel(i.level)<=e){var t=i.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];console[t].apply(console,r)}}};t.default=i,e.exports=t.default},1148:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",(function(){return this})),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var t=globalThis.Handlebars;e.noConflict=function(){return globalThis.Handlebars===e&&(globalThis.Handlebars=t),e}},e.exports=t.default},7624:function(e,t,n){"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=u.COMPILER_REVISION;if(t>=u.LAST_COMPATIBLE_COMPILER_REVISION&&t<=u.COMPILER_REVISION)return;if(t<u.LAST_COMPATIBLE_COMPILER_REVISION){var r=u.REVISION_CHANGES[n],i=u.REVISION_CHANGES[t];throw new o.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your prec
2ompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+i+").")}throw new o.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")},t.template=function(e,t){if(!t)throw new o.default("No environment passed to template");if(!e||!e.main)throw new o.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&7===e.compiler[0];var r={strict:function(e,t,n){if(!e||!(t in e))throw new o.default('"'+t+'" not defined in '+e,{loc:n});return r.lookupProperty(e,t)},lookupProperty:function(e,t){var n=e[t];return null==n||Object.prototype.hasOwnProperty.call(e,t)||c.resultIsAllowed(n,r.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,i=0;i<n;i++){if(null!=(e[i]&&r.lookupProperty(e[i],t)))return e[i][t]}},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:i.escapeExpression,invokePartial:function(n,r,a){a.hash&&(r=i.extend({},r,a.hash),a.ids&&(a.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,r,a);var u=i.extend({},a,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),s=t.VM.invokePartial.call(this,n,r,u);if(null==s&&t.compile&&(a.partials[a.name]=t.compile(n,e.compilerOptions,t),s=a.partials[a.name](r,u)),null!=s){if(a.indent){for(var l=s.split("\n"),c=0,h=l.length;c<h&&(l[c]||c+1!==h);c++)l[c]=a.indent+l[c];s=l.join("\n")}return s}throw new o.default("The partial "+a.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,i){var a=this.programs[e],o=this.fn(e);return t||i||r||n?a=h(this,e,o,t,n,r,i):a||(a=this.programs[e]=h(this,e,o)),a},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=i.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function a(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=n.data;a._setup(n),!n.partial&&e.useData&&(i=function(e,t){t&&"root"in t||((t=t?u.createFrame(t):{}).root=e);return t}(t,i));var o=void 0,s=e.useBlockParams?[]:void 0;function l(t){return""+e.main(r,t,r.helpers,r.partials,i,s,o)}return e.useDepths&&(o=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(l=p(e.main,l,r,n.depths||[],i,s))(t,n)}return a.isTop=!0,a._setup=function(a){if(a.partial)r.protoAccessControl=a.protoAccessControl,r.helpers=a.helpers,r.partials=a.partials,r.decorators=a.decorators,r.hooks=a.hooks;else{var o=i.extend({},t.helpers,a.helpers);!function(e,t){Object.keys(e).forEach((function(n){var r=e[n];e[n]=function(e,t){var n=t.lookupProperty;return l.wrapHelper(e,(function(e){return i.extend({lookupProperty:n},e)}))}(r,t)}))}(o,r),r.helpers=o,e.usePartial&&(r.partials=r.mergeIfNeeded(a.partials,t.partials)),(e.usePartial||e.useDecorators)&&(r.decorators=i.extend({},t.decorators,a.decorators)),r.hooks={},r.protoAccessControl=c.createProtoAccessControl(a);var u=a.allowCallsToHelperMissing||n;s.moveHelperToHooks(r,"helperMissing",u),s.moveHelperToHooks(r,"blockHelperMissing",u)}},a._child=function(t,n,i,a){if(e.useBlockParams&&!i)throw new o.default("must pass block params");if(e.useDepths&&!a)throw new o.default("must pass parent depths");return h(r,t,e[t],n,0,i,a)},a},t.wrapProgram=h,t.resolvePartial=function(e,t,n){e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return e},t.invokePartial=function(e,t,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var a=void 0;n.fn&&n.fn!==d&&function(){n.data=u.createFrame(n.data);var e=n.fn;a=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=u.createFrame(n.data),n.data["partial-block"]=r,e(t,n)},e.partials&&(n.partials=i.extend({},n.partials,e.partials))}();void 0===e&&a&&(e=a);if(void 0===e)throw new o.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=d;
vendor: 6,902 bytes, line 2
2var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(2849)),a=n(3769),o=(r=a)&&r.__esModule?r:{default:r},u=n(2871),s=n(2277),l=n(2614),c=n(3865);function h(e,t,n,r,i,a,o){function u(t){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],u=o;return!o||t==o[0]||t===e.nullContext&&null===o[0]||(u=[t].concat(o)),n(e,t,e.helpers,e.partials,i.data||r,a&&[i.blockParams].concat(a),u)}return(u=p(n,u,e,o,r,a)).program=t,u.depth=o?o.length:0,u.blockParams=i||0,u}function d(){return""}function p(e,t,n,r,a,o){if(e.decorator){var u={};t=e.decorator(t,u,n,r&&r[0],a,o,r),i.extend(t,u)}return t}},9613:function(e,t){"use strict";function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},2849:function(e,t){"use strict";t.__esModule=!0,t.extend=o,t.indexOf=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}if(!i.test(e))return e;return e.replace(r,a)},t.isEmpty=function(e){return!e&&0!==e||!(!l(e)||0!==e.length)},t.createFrame=function(e){var t=o({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},r=/[&<>"'`=]/g,i=/[&<>"'`=]/;function a(e){return n[e]}function o(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var u=Object.prototype.toString;t.toString=u;var s=function(e){return"function"==typeof e};s(/x/)&&(t.isFunction=s=function(e){return"function"==typeof e&&"[object Function]"===u.call(e)}),t.isFunction=s;var l=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===u.call(e)};t.isArray=l},4692:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var a=[],o=Object.getPrototypeOf,u=a.slice,s=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},l=a.push,c=a.indexOf,h={},d=h.toString,p=h.hasOwnProperty,f=p.toString,m=f.call(Object),g={},_=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},D=function(e){return null!=e&&e===e.window},v=r.document,y={type:!0,src:!0,nonce:!0,noModule:!0};function E(e,t,n){var r,i,a=(n=n||v).createElement("script");if(a.text=e,t)for(r in y)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&a.setAttribute(r,i);n.head.appendChild(a).parentNode.removeChild(a)}function A(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?h[d.call(e)]||"object":typeof e}var C="3.7.1",F=/HTML$/i,b=function(e,t){return new b.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=A(e);return!_(e)&&!D(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function x(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}b.fn=b.prototype={jquery:C,constructor:b,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return b.each(this,e)},map:function(e){return this.pushStack(b.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(b.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(b.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:a.sort,splice:a.splice},b.extend=b.fn.extend=function(){var e,t,n,r,i,a,o=arguments[0]||{},u=1,s=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[u]||{},u++),"object"==typeof o||_(o)||(o={}),u===s&&(o=this,u--);u<s;u++)if(null!=(e=arguments[u]))for(t in e)r=e[t],"__proto__"!==t&&o!==r&&(l&&r&&(b.isPlainObject(r)||(i=Array.isArray(r)))?(n=o[t],a=i&&!Array.isArray(n)?[]:i||b.isPlainObject(n)?n:{},i=!1,o[t]=b.extend(l,a,r)):void 0!==r&&(o[t]=r));return o},b.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=o(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&f.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){E(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r++];)n+=b.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?b.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!F.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,a=e.length,o=!n;i<a;i++)!t(e[i],i)!==o&&r.push(e[i]);return r},map:function(e,t,n){var r,i,a=0,o=[];if(S(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&o.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&o.push(i);return s(o)},guid:1,support:g}),"function"==typeof Symbol&&(b.fn[Symbol.iterator]=a[Symbol.iterator]),b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){h["[object "+t+"]"]=t.toLowerCase()}));var B=a.pop,w=a.sort,M=a.splice,T="[\\x20\\t\\r\\n\\f]",P=new RegExp("^"+T+"+|((?:^|[^\\\\])(?:\\\\.)*)"+T+"+$","g");b.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var R=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function I(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}b.escapeSelector=function(e){return(e+"").replace(R,I)};var N=v,L=l;!function(){var e,t,n,i,o,s,l,h,d,f,m=L,_=b.expando,D=0,v=0,y=ee(),E=ee(),A=ee(),
vendor: 45,042 bytes, line 2
2C=ee(),F=function(e,t){return e===t&&(o=!0),0},S="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="(?:\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\["+T+"*("+R+")(?:"+T+"*([*^$|!~]?=)"+T+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+T+"*\\]",O=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",k=new RegExp(T+"+","g"),U=new RegExp("^"+T+"*,"+T+"*"),z=new RegExp("^"+T+"*([>+~]|"+T+")"+T+"*"),V=new RegExp(T+"|>"),W=new RegExp(O),H=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+T+"*(even|odd|(([+-]|)(\\d*)n|)"+T+"*(?:([+-]|)"+T+"*(\\d+)|))"+T+"*\\)|)","i"),bool:new RegExp("^(?:"+S+")$","i"),needsContext:new RegExp("^"+T+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+T+"*((?:-\\d)?\\d*)"+T+"*\\)|)(?=[^-]|$)","i")},j=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,q=/[+~]/,J=new RegExp("\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\([^\\r\\n\\f])","g"),Y=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},$=function(){se()},Q=de((function(e){return!0===e.disabled&&x(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(a=u.call(N.childNodes),N.childNodes),a[N.childNodes.length].nodeType}catch(e){m={apply:function(e,t){L.apply(e,u.call(t))},call:function(e){L.apply(e,u.call(arguments,1))}}}function Z(e,t,n,r){var i,a,o,u,l,c,p,f=t&&t.ownerDocument,D=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==D&&9!==D&&11!==D)return n;if(!r&&(se(t),t=t||s,h)){if(11!==D&&(l=K.exec(e)))if(i=l[1]){if(9===D){if(!(o=t.getElementById(i)))return n;if(o.id===i)return m.call(n,o),n}else if(f&&(o=f.getElementById(i))&&Z.contains(t,o)&&o.id===i)return m.call(n,o),n}else{if(l[2])return m.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(i)),n}if(!(C[e+" "]||d&&d.test(e))){if(p=e,f=t,1===D&&(V.test(e)||z.test(e))){for((f=q.test(e)&&ue(t.parentNode)||t)==t&&g.scope||((u=t.getAttribute("id"))?u=b.escapeSelector(u):t.setAttribute("id",u=_)),a=(c=ce(e)).length;a--;)c[a]=(u?"#"+u:":scope")+" "+he(c[a]);p=c.join(",")}try{return m.apply(n,f.querySelectorAll(p)),n}catch(t){C(e,!0)}finally{u===_&&t.removeAttribute("id")}}}return De(e.replace(P,"$1"),t,n,r)}function ee(){var e=[];return function n(r,i){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=i}}function te(e){return e[_]=!0,e}function ne(e){var t=s.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return x(t,"input")&&t.type===e}}function ie(e){return function(t){return(x(t,"input")||x(t,"button"))&&t.type===e}}function ae(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Q(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function oe(e){return te((function(t){return t=+t,te((function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))}))}))}function ue(e){return e&&void 0!==e.getElementsByTagName&&e}function se(e){var n,r=e?e.ownerDocument||e:N;return r!=s&&9===r.nodeType&&r.documentElement?(l=(s=r).documentElement,h=!b.isXMLDoc(s),f=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,l.msMatchesSelector&&N!=s&&(n=s.defaultView)&&n.top!==n&&n.addEventListener("unload",$),g.getById=ne((function(e){return l.appendChild(e).id=b.expando,!s.getElementsByName||!s.getElementsByName(b.expando).length})),g.disconnectedMatch=ne((function(e){return f.call(e,"*")})),g.scope=ne((function(){return s.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return s.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(J,Y);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(J,Y);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n,r,i,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(i=t.getElementsByName(e),r=0;a=i[r++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&h)return t.getElementsByClassName(e)},d=[],ne((function(e){var t;l.appendChild(e).innerHTML="<a id='"+_+"' href='' disabled='disabled'></a><select id='"+_+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+T+"*(?:value|"+S+")"),e.querySelectorAll("[id~="+_+"-]").length||d.push("~="),e.querySelectorAll("a#"+_+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=s.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),l.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=s.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+T+"*name"+T+"*="+T+"*(?:''|\"\")")})),g.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),F=function(e,t){if(e===t)return o=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===s||e.ownerDocument==N&&Z.contains(N,e)?-1:t===s||t.ownerDocument==N&&Z.contains(N,t)?1:i?c.call(i,e)-c.call(i,t):0:4&n?-1:1)},s):s}for(e in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(se(e),h&&!C[t+" "]&&(!d||!d.test(t)))try{var n=f.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){C(t,!0)}return Z(t,s,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=s&&se(e),b.contains(e,t)},Z.attr=function(e,n){(e.ownerDocument||e)!=s&&se(e);var r=t.attrHandle[n.toLowerCase()],i=r&&p.call(t.attrHandle,n.toLowerCase())?r(e,n,!h):void 0;return void 0!==i?i:e.getAttribute(n)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},b.uniqueSort=function(e){var t,n=[],r=0,a=0;if(o=!g.sortStable,i=!g.sortStable&&u.call(e,0),w.call(e,F),o){for(;t=e[a++];)t===e[a]&&(r=n.push(a));for(;r--;)M.call(e,n[r],1)}return i=null,e},b.fn.uniqueSort=function(){return this.pushStack(b.uniqueSort(u.apply(this)))},t=b.expr={cacheLength:50,createPseudo:te,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(J,Y),e[3]=(e[3]||e[4]||e[5]||"").replace(J,Y),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Z.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Z.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=ce(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,Y).toLowerCase();return"*"===e?function(){return!0}:function(e){return x(e,t)}},CLASS:function(e){var t=y[e+" "];return t||(t=new RegExp("(^|"+T+")"+e+"("+T+"|$)"))&&y(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=Z.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(k," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),u="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,s){var l,c,h,d,p,f=a!==o?"nextSibling":"previousSibling",m=t.parentNode,g=u&&t.nodeName.toLowerCase(),v=!s&&!u,y=!1;if(m){if(a){for(;f;){for(h=t;h=h[f];)if(u?x(h,g):1===h.nodeType)return!1;p=f="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?m.firstChild:m.lastChild],o&&v){for(y=(d=(l=(c=m[_]||(m[_]={}))[e]||[])[0]===D&&l[1])&&l[2],h=d&&m.childNodes[d];h=++d&&h&&h[f]||(y=d=0)||p.pop();)if(1===h.nodeType&&++y&&h===t){c[e]=[D,d,y];break}}else if(v&&(y=d=(l=(c=t[_]||(t[_]={}))[e]||[])[0]===D&&l[1]),!1===y)for(;(h=++d&&h&&h[f]||(y=d=0)||p.pop())&&(!(u?x(h,g):1===h.nodeType)||!++y||(v&&((c=h[_]||(h[_]={}))[e]=[D,y]),h!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,n){var r,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return i[_]?i(n):i.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,a=i(e,n),o=a.length;o--;)e[r=c.call(e,a[o])]=!(t[r]=a[o])})):function(e){return i(e,0,r)}):i}},pseudos:{not:te((function(e){var t=[],n=[],r=_e(e.replace(P,"$1"));return r[_]?te((function(e,t,n,i){for(var a,o=r(e,null,i,[]),u=e.length;u--;)(a=o[u])&&(e[u]=!(t[u]=a))})):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Z(e,t).length>0}})),contains:te((function(e){return e=e.replace(J,Y),function(t){return(t.textContent||b.text(t)).indexOf(e)>-1}})),lang:te((function(e){return H.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(J,Y).toLowerCase(),function(t){var n;do{if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===l},focus:function(e){return e===function(){try{return s.activeElement}catch(e){}}()&&s.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ae(!1),disabled:ae(!0),checked:function(e){return x(e,"input")&&!!e.checked||x(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return j.test(e.nodeName)},button:function(e){return x(e,"input")&&"button"===e.type||x(e,"button")},text:function(e){var t;return x(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:oe((function(){return[0]})),last:oe((function(e,t){return[t-1]})),eq:oe((function(e,t,n){return[n<0?n+t:n]})),even:oe((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:oe((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:oe((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:oe((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ie(e);function le(){}function ce(e,n){var r,i,a,o,u,s,l,c=E[e+" "];if(c)return n?0:c.slice(0);for(u=e,s=[],l=t.preFilter;u;){for(o in r&&!(i=U.exec(u))||(i&&(u=u.slice(i[0].length)||u),s.push(a=[])),r=!1,(i=z.exec(u))&&(r=i.shift(),a.push({value:r,type:i[0].replace(P," ")}),u=u.slice(r.length)),t.filter)!(i=G[o].exec(u))||l[o]&&!(i=l[o](i))||(r=i.shift(),a.push({value:r,type:o,matches:i}),u=u.slice(r.length));if(!r)break}return n?u.length:u?Z.error(e):E(e,s).slice(0)}function he(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function de(e,t,n){var r=t.dir,i=t.next,a=i||r,o=n&&"parentNode"===a,u=v++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i);return!1}:function(t,n,s){var l,c,h=[D,u];if(s){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||o)if(c=t[_]||(t[_]={}),i&&x(t,i))t=t[r]||t;else{if((l=c[a])&&l[0]===D&&l[1]===u)return h[2]=l[2];if(c[a]=h,h[2]=e(t,n,s))return!0}return!1}}function pe(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function fe(e,t,n,r,i){for(var a,o=[],u=0,s=e.length,l=null!=t;u<s;u++)(a=e[u])&&(n&&!n(a,r,i)||(o.push(a),l&&t.push(u)));return o}function me(e,t,n,r,i,a){return r&&!r[_]&&(r=me(r)),i&&!i[_]&&(i=me(i,a)),te((function(a,o,u,s){var l,h,d,p,f=[],g=[],_=o.length,D=a||function(e,t,n){for(var r=0,i=t.length;r<i;r++)Z(e,t[r],n);return n}(t||"*",u.nodeType?[u]:u,[]),v=!e||!a&&t?D:fe(D,f,e,u,s);if(n?n(v,p=i||(a?e:_||r)?[]:o,u,s):p=v,r)for(l=fe(p,g),r(l,[],u,s),h=l.length;h--;)(d=l[h])&&(p[g[h]]=!(v[g[h]]=d));if(a){if(i||e){if(i){for(l=[],h=p.length;h--;)(d=p[h])&&l.push(v[h]=d);i(null,p=[],l,s)}for(h=p.length;h--;)(d=p[h])&&(l=i?c.call(a,d):f[h])>-1&&(a[l]=!(o[l]=d))}}else p=fe(p===o?p.splice(_,p.length):p),i?i(null,o,p,s):m.apply(o,p)}))}function ge(e){for(var r,i,a,o=e.length,u=t.relative[e[0].type],s=u||t.relative[" "],l=u?1:0,h=de((function(e){return e===r}),s,!0),d=de((function(e){return c.call(r,e)>-1}),s,!0),p=[function(e,t,i){var a=!u&&(i||t!=n)||((r=t).nodeType?h(e,t,i):d(e,t,i));return r=null,a}];l<o;l++)if(i=t.relative[e[l].type])p=[de(pe(p),i)];else{if((i=t.filter[e[l].type].apply(null,e[l].matches))[_]){for(a=++l;a<o&&!t.relative[e[a].type];a++);return me(l>1&&pe(p),l>1&&he(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(P,"$1"),i,l<a&&ge(e.slice(l,a)),a<o&&ge(e=e.slice(a)),a<o&&he(e))}p.push(i)}return pe(p)}function _e(e,r){var i,a=[],o=[],u=A[e+" "];if(!u){for(r||(r=ce(e)),i=r.length;i--;)(u=ge(r[i]))[_]?a.push(u):o.push(u);u=A(e,function(e,r){var i=r.length>0,a=e.length>0,o=function(o,u,l,c,d){var p,f,g,_=0,v="0",y=o&&[],E=[],A=n,C=o||a&&t.find.TAG("*",d),F=D+=null==A?1:Math.random()||.1,S=C.length;for(d&&(n=u==s||u||d);v!==S&&null!=(p=C[v]);v++){if(a&&p){for(f=0,u||p.ownerDocument==s||(se(p),l=!h);g=e[f++];)if(g(p,u||s,l)){m.call(c,p);break}d&&(D=F)}i&&((p=!g&&p)&&_--,o&&y.push(p))}if(_+=v,i&&v!==_){for(f=0;g=r[f++];)g(y,E,u,l);if(o){if(_>0)for(;v--;)y[v]||E[v]||(E[v]=B.call(c));E=fe(E)}m.apply(c,E),d&&!o&&E.length>0&&_+r.length>1&&b.uniqueSort(c)}return d&&(D=F,n=A),y};return i?te(o):o}(o,a)),u.selector=e}return u}function De(e,n,r,i){var a,o,u,s,l,c="function"==typeof e&&e,d=!i&&ce(e=c.selector||e);if(r=r||[],1===d.length){if((o=d[0]=d[0].slice(0)).length>2&&"ID"===(u=o[0]).type&&9===n.nodeType&&h&&t.relative[o[1].type]){if(!(n=(t.find.ID(u.matches[0].replace(J,Y),n)||[])[0]))return r;c&&(n=n.parentNode),e=e.slice(o.shift().value.length)}for(a=G.needsContext.test(e)?0:o.length;a--&&(u=o[a],!t.relative[s=u.type]);)if((l=t.find[s])&&(i=l(u.matches[0].replace(J,Y),q.test(o[0].type)&&ue(n.parentNode)||n))){if(o.splice(a,1),!(e=i.length&&he(o)))return m.apply(r,i),r;break}}return(c||_e(e,d))(i,n,!h,r,!n||q.test(e)&&ue(n.parentNode)||n),r}le.prototype=t.filters=t.pseudos,t.setFilters=new le,g.sortStable=_.split("").sort(F).join("")===_,se(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(s.createElement("fieldset"))})),b.find=Z,b.expr[":"]=b.expr.pseudos,b.unique=b.uniqueSort,Z.compile=_e,Z.select=De,Z.setDocument=se,Z.tokenize=ce,Z.escape=b.escapeSelector,Z.getText=b.text,Z.isXML=b.isXMLDoc,Z.selectors=b.expr,Z.support=b.support,Z.uniqueSort=b.uniqueSort}();var O=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&b(e).is(n))break;r.push(e)}return r},k=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},U=b.expr.match.needsContext,z=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V(e,t,n){return _(t)?b.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?b.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?b.grep(e,(function(e){return c.call(t,e)>-1!==n})):b.filter(t,e,n)}b.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?b.find.matchesSelector(r,e)?[r]:[]:b.find.matches(e,b.grep(t,(function(e){return 1===e.nodeType})))},b.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(b(e).filter((function(){for(t=0;t<r;t++)if(b.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)b.find(e,i[t],n);return r>1?b.uniqueSort(n):n},filter:function(e){return this.pushStack(V(this,e||[],!1))},not:function(e){return this.pushStack(V(this,e||[],!0))},is:function(e){return!!V(this,"string"==typeof e&&U.test(e)?b(e):e||[],!1).length}});var W,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(b.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||W,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:H.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof b?t[0]:t,b.merge(this,b.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),z.test(r[1])&&b.isPlainObject(t))for(r in t)_(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=v.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_(e)?void 0!==n.ready?n.ready(e):e(b):b.makeArray(e,this)}).prototype=b.fn,W=b(v);var G=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function X(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}b.fn.extend({has:function(e){var t=b(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(b.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,a=[],o="string"!=typeof e&&b(e);if(!U.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&b.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?b.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?c.call(b(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(b.uniqueSort(b.merge(this.get(),b(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return O(e,"parentNode")},parentsUntil:function(e,t,n){return O(e,"parentNode",n)},next:function(e){return X(e,"nextSibling")},prev:function(e){return X(e,"previousSibling")},nextAll:function(e){return O(e,"nextSibling")},prevAll:function(e){return O(e,"previousSibling")},nextUntil:function(e,t,n){return O(e,"nextSibling",n)},prevUntil:function(e,t,n){return O(e,"previousSibling",n)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(x(e,"template")&&(e=e.content||e),b.merge([],e.childNodes))}},(function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),this.length>1&&(j[e]||b.uniqueSort(i),G.test(e)&&i.reverse()),this.pushStack(i)}}));var K=/[^\x20\t\r\n\f]+/g;function q(e){return e}function J(e){throw e}function Y(e,t,n,r){var i;try{e&&_(i=e.promise)?i.call(e).done(t).fail(n):e&&_(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}b.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return b.each(e.match(K)||[],(function(e,n){t[n]=!0})),t}(e):b.extend({},e);var t,n,r,i,a=[],o=[],u=-1,s=function(){for(i=i||e.once,r=t=!0;o.length;u=-1)for(n=o.shift();++u<a.length;)!1===a[u].apply(n[0],n[1])&&e.stopOnFalse&&(u=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:"")},l={add:function(){return a&&(n&&!t&&(u=a.length-1,o.push(n)),function t(n){b.each(n,(function(n,r){_(r)?e.unique&&l.has(r)||a.push(r):r&&r.length&&"string"!==A(r)&&t(r)}))}(arguments),n&&!t&&s()),this},remove:function(){return b.each(arguments,(function(e,t){for(var n;(n=b.inArray(t,a,n))>-1;)a.splice(n,1),n<=u&&u--})),this},has:function(e){return e?b.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=o=[],n||t||(a=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||s()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},b.extend({Deferred:function(e){var t=[["notify","progress",b.Callbacks("memory"),b.Callbacks("memory"),2],["resolve","done",b.Callbacks("once memory"),b.Callbacks("once memory"),0,"resolved"],["reject","fail",b.Callbacks("once memory"),b.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return b.Deferred((function(n){b.each(t,(function(t,r){var i=_(e[r[4]])&&e[r[4]];a[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&_(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var a=0;function o(e,t,n,i){return function(){var u=this,s=arguments,l=function(){var r,l;if(!(e<a)){if((r=n.apply(u,s))===t.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"==typeof r||"function"==typeof r)&&r.then,_(l)?i?l.call(r,o(a,t,q,i),o(a,t,J,i)):(a++,l.call(r,o(a,t,q,i),o(a,t,J,i),o(a,t,q,t.notifyWith))):(n!==q&&(u=void 0,s=[r]),(i||t.resolveWith)(u,s))}},c=i?l:function(){try{l()}catch(r){b.Deferred.exceptionHook&&b.Deferred.exceptionHook(r,c.error),e+1>=a&&(n!==J&&(u=void 0,s=[r]),t.rejectWith(u,s))}};e?c():(b.Deferred.getErrorHook?c.error=b.Deferred.getErrorHook():b.Deferred.getStackHook&&(c.error=b.Deferred.getStackHook()),r.setTimeout(c))}}return b.Deferred((function(r){t[0][3].add(o(0,r,_(i)?i:q,r.notifyWith)),t[1][3].add(o(0,r,_(e)?e:q)),t[2][3].add(o(0,r,_(n)?n:J))})).promise()},promise:function(e){return null!=e?b.extend(e,i):i}},a={};return b.each(t,(function(e,r){var o=r[2],u=r[5];i[r[1]]=o.add,u&&o.add((function(){n=u}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(r[3].fire),a[r[0]]=function(){return a[r[0]+"With"](this===a?void 0:this,arguments),this},a[r[0]+"With"]=o.fireWith})),i.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=u.call(arguments),a=b.Deferred(),o=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?u.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&(Y(e,a.done(o(n)).resolve,a.reject,!t),"pending"===a.state()||_(i[n]&&i[n].then)))return a.then();for(;n--;)Y(i[n],o(n),a.reject);return a.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&$.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},b.readyException=function(e){r.setTimeout((function(){throw e}))};var Q=b.Deferred();function Z(){v.removeEventListener("DOMContentLoaded",Z),r.removeEventListener("load",Z),b.ready()}b.fn.ready=function(e){return Q.then(e).catch((function(e){b.readyException(e)})),this},b.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--b.readyWait:b.isReady)||(b.isReady=!0,!0!==e&&--b.readyWait>0||Q.resolveWith(v,[b]))}}),b.ready.then=Q.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?r.setTimeout(b.ready):(v.addEventListener("DOMContentLoaded",Z),r.addEventListener("load",Z));var ee=function(e,t,n,r,i,a,o){var u=0,s=e.length,l=null==n;if("object"===A(n))for(u in i=!0,n)ee(e,t,u,n[u],!0,a,o);else if(void 0!==r&&(i=!0,_(r)||(o=!0),l&&(o?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(b(e),n)})),t))for(;u<s;u++)t(e[u],n,o?r:r.call(e[u],u,t(e[u],n)));return i?e:l?t.call(e):s?t(e[0],n):a},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function ie(e){return e.replace(te,"ms-").replace(ne,re)}var ae=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function oe(){this.expando=b.expando+oe.uid++}oe.uid=1,oe.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ae(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[ie(t)]=n;else for(r in t)i[ie(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ie(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(ie):(t=ie(t))in r?[t]:t.match(K)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||b.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!b.isEmptyObject(t)}};var ue=new oe,se=new oe,le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ce=/[A-Z]/g;function he(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ce,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:le.test(e)?JSON.parse(e):e)}(n)}catch(e){}se.set(e,t,n)}else n=void 0;return n}b.extend({hasData:function(e){return se.hasData(e)||ue.hasData(e)},data:function(e,t,n){return se.access(e,t,n)},removeData:function(e,t){se.remove(e,t)},_data:function(e,t,n){return ue.access(e,t,n)},_removeData:function(e,t){ue.remove(e,t)}}),b.fn.extend({data:function(e,t){var n,r,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=se.get(a),1===a.nodeType&&!ue.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(r=o[n].name).indexOf("data-")&&(r=ie(r.slice(5)),he(a,r,i[r]));ue.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){se.set(this,e)})):ee(this,(function(t){var n;if(a&&void 0===t)return void 0!==(n=se.get(a,e))||void 0!==(n=he(a,e))?n:void 0;this.each((function(){se.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){se.remove(this,e)}))}}),b.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ue.get(e,t),n&&(!r||Array.isArray(n)?r=ue.access(e,t,b.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),a=b._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,(function(){b.dequeue(e,t)}),a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ue.get(e,n)||ue.access(e,n,{empty:b.Callbacks("once memory").add((function(){ue.remove(e,[t+"queue",n])}))})}}),b.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?b.queue(this[0],e):void 0===t?this:this.each((function(){var n=b.queue(this,e,t);b._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&b.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){b.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=b.Deferred(),a=this,o=this.length,u=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=ue.get(a[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(u));return u(),i.promise(t)}});var de=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pe=new RegExp("^(?:([+-])=|)("+de+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],me=v.documentElement,ge=function(e){return b.contains(e.ownerDocument,e)},_e={composed:!0};me.getRootNode&&(ge=function(e){return b.contains(e.ownerDocument,e)||e.getRootNode(_e)===e.ownerDocument});var De=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===b.css(e,"display")};function ve(e,t,n,r){var i,a,o=20,u=r?function(){return r.cur()}:function(){return b.css(e,t,"")},s=u(),l=n&&n[3]||(b.cssNumber[t]?"":"px"),c=e.nodeType&&(b.cssNumber[t]||"px"!==l&&+s)&&pe.exec(b.css(e,t));if(c&&c[3]!==l){for(s/=2,l=l||c[3],c=+s||1;o--;)b.style(e,t,c+l),(1-a)*(1-(a=u()/s||.5))<=0&&(o=0),c/=a;c*=2,b.style(e,t,c+l),n=n||[]}return n&&(c=+c||+s||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ye={};function Ee(e){var t,n=e.ownerDocument,r=e.nodeName,i=ye[r];return i||(t=n.body.appendChild(n.createElement(r)),i=b.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ye[r]=i,i)}function Ae(e,t){for(var n,r,i=[],a=0,o=e.length;a<o;a++)(r=e[a]).style&&(n=r.style.display,t?("none"===n&&(i[a]=ue.get(r,"display")||null,i[a]||(r.style.display="")),""===r.style.display&&De(r)&&(i[a]=Ee(r))):"none"!==n&&(i[a]="none",ue.set(r,"display",n)));for(a=0;a<o;a++)null!=i[a]&&(e[a].style.display=i[a]);return e}b.fn.extend({show:function(){return Ae(this,!0)},hide:function(){return Ae(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){De(this)?b(this).show():b(this).hide()}))}});var Ce,Fe,be=/^(?:checkbox|radio)$/i,Se=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,xe=/^$|^module$|\/(?:java|ecma)script/i;Ce=v.createDocumentFragment().appendChild(v.createElement("div")),(Fe=v.createElement("input")).setAttribute("type","radio"),Fe.setAttribute("checked","checked"),Fe.setAttribute("name","t"),Ce.appendChild(Fe),g.checkClone=Ce.cloneNode(!0).cloneNode(!0).lastChild.checked,Ce.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Ce.cloneNode(!0).lastChild.defaultValue,Ce.innerHTML="<option></option>",g.option=!!Ce.lastChild;var Be={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function we(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&x(e,t)?b.merge([e],n):n}function Me(e,t){for(var n=0,r=e.length;n<r;n++)ue.set(e[n],"globalEval",!t||ue.get(t[n],"globalEval"))}Be.tbody=Be.tfoot=Be.colgroup=Be.caption=Be.thead,Be.th=Be.td,g.option||(Be.optgroup=Be.option=[1,"<select multiple='multiple'>","</select>"]);var Te=/<|&#?\w+;/;function Pe(e,t,n,r,i){for(var a,o,u,s,l,c,h=t.createDocumentFragment(),d=[],p=0,f=e.length;p<f;p++)if((a=e[p])||0===a)if("object"===A(a))b.merge(d,a.nodeType?[a]:a);else if(Te.test(a)){for(o=o||h.appendChild(t.createElement("div")),u=(Se.exec(a)||["",""])[1].toLowerCase(),s=Be[u]||Be._default,o.innerHTML=s[1]+b.htmlPrefilter(a)+s[2],c=s[0];c--;)o=o.lastChild;b.merge(d,o.childNodes),(o=h.firstChild).textContent=""}else d.push(t.createTextNode(a));for(h.textContent="",p=0;a=d[p++];)if(r&&b.inArray(a,r)>-1)i&&i.push(a);else if(l=ge(a),o=we(h.appendChild(a),"script"),l&&Me(o),n)for(c=0;a=o[c++];)xe.test(a.type||"")&&n.push(a);return h}var Re=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function Ne(){return!1}function Le(e,t,n,r,i,a){var o,u;if("object"==typeof t){for(u in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,u,n,r,t[u],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ne;else if(!i)return e;return 1===a&&(o=i,i=function(e){return b().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=b.guid++)),e.each((function(){b.event.add(this,t,i,r,n)}))}function Oe(e,t,n){n?(ue.set(e,t,!1),b.event.add(e,t,{namespace:!1,handler:function(e){var n,r=ue.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(b.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=u.call(arguments),ue.set(this,t,r),this[t](),n=ue.get(this,t),ue.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(ue.set(this,t,b.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ie)}})):void 0===ue.get(e,t)&&b.event.add(e,t,Ie)}b.event={global:{},add:function(e,t,n,r,i){var a,o,u,s,l,c,h,d,p,f,m,g=ue.get(e);if(ae(e))for(n.handler&&(n=(a=n).handler,i=a.selector),i&&b.find.matchesSelector(me,i),n.guid||(n.guid=b.guid++),(s=g.events)||(s=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==b&&b.event.triggered!==t.type?b.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(K)||[""]).length;l--;)p=m=(u=Re.exec(t[l])||[])[1],f=(u[2]||"").split(".").sort(),p&&(h=b.event.special[p]||{},p=(i?h.delegateType:h.bindType)||p,h=b.event.special[p]||{},c=b.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&b.expr.match.needsContext.test(i),namespace:f.join(".")},a),(d=s[p])||((d=s[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,r,f,o)||e.addEventListener&&e.addEventListener(p,o)),h.add&&(h.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),b.event.global[p]=!0)},remove:function(e,t,n,r,i){var a,o,u,s,l,c,h,d,p,f,m,g=ue.hasData(e)&&ue.get(e);if(g&&(s=g.events)){for(l=(t=(t||"").match(K)||[""]).length;l--;)if(p=m=(u=Re.exec(t[l])||[])[1],f=(u[2]||"").split(".").sort(),p){for(h=b.event.special[p]||{},d=s[p=(r?h.delegateType:h.bindType)||p]||[],u=u[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=d.length;a--;)c=d[a],!i&&m!==c.origType||n&&n.guid!==c.guid||u&&!u.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(a,1),c.selector&&d.delegateCount--,h.remove&&h.remove.call(e,c));o&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,f,g.handle)||b.removeEvent(e,p,g.handle),delete s[p])}else for(p in s)b.event.remove(e,p+t[l],n,r,!0);b.isEmptyObject(s)&&ue.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,a,o,u=new Array(arguments.length),s=b.event.fix(e),l=(ue.get(this,"events")||Object.create(null))[s.type]||[],c=b.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(o=b.event.handlers.call(this,s,l),t=0;(i=o[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==a.namespace&&!s.rnamespace.test(a.namespace)||(s.handleObj=a,s.data=a.data,void 0!==(r=((b.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,a,o,u=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(a=[],o={},n=0;n<s;n++)void 0===o[i=(r=t[n]).selector+" "]&&(o[i]=r.needsContext?b(i,this).index(l)>-1:b.find(i,this,null,[l]).length),o[i]&&a.push(r);a.length&&u.push({elem:l,handlers:a})}return l=this,s<t.length&&u.push({elem:l,handlers:t.slice(s)}),u},addProp:function(e,t){Object.defineProperty(b.Event.prototype,e,{enumerable:!0,configurable:!0,get:_(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[b.expando]?e:new b.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return be.test(t.type)&&t.click&&x(t,"input")&&Oe(t,"click",!0),!1},trigger:function(e){var t=this||e;return be.test(t.type)&&t.click&&x(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return be.test(t.type)&&t.click&&x(t,"input")&&ue.get(t,"click")||x(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},b.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},b.Event=function(e,t){if(!(this instanceof b.Event))return new b.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ie:Ne,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&b.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[b.expando]=!0},b.Event.prototype={constructor:b.Event,isDefaultPrevented:Ne,isPropagationStopped:Ne,isImmediatePropagationStopped:Ne,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ie,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ie,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ie,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},b.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},b.event.addProp),b.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(v.documentMode){var n=ue.get(this,"handle"),r=b.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else b.event.simulate(t,e.target,b.event.fix(e))}b.event.special[e]={setup:function(){var r;if(Oe(this,e,!0),!v.documentMode)return!1;(r=ue.get(this,t))||this.addEventListener(t,n),ue.set(this,t,(r||0)+1)},trigger:function(){return Oe(this,e),!0},teardown:function(){var e;if(!v.documentMode)return!1;(e=ue.get(this,t)-1)?ue.set(this,t,e):(this.removeEventListener(t,n),ue.remove(this,t))},_default:function(t){return ue.get(t.target,e)},delegateType:t},b.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=v.documentMode?this:r,a=ue.get(i,t);a||(v.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),ue.set(i,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=v.documentMode?this:r,a=ue.get(i,t)-1;a?ue.set(i,t,a):(v.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),ue.remove(i,t))}}})),b.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||b.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),b.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,b(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ne),this.each((function(){b.event.remove(this,e,n,t)}))}});var ke=/<script|<style|<link/i,Ue=/checked\s*(?:[^=]|=\s*.checked.)/i,ze=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ve(e,t){return x(e,"table")&&x(11!==t.nodeType?t:t.firstChild,"tr")&&b(e).children("tbody")[0]||e}function We(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ge(e,t){var n,r,i,a,o,u;if(1===t.nodeType){if(ue.hasData(e)&&(u=ue.get(e).events))for(i in ue.remove(t,"handle events"),u)for(n=0,r=u[i].length;n<r;n++)b.event.add(t,i,u[i][n]);se.hasData(e)&&(a=se.access(e),o=b.extend({},a),se.set(t,o))}}function je(e,t){var n=t.nodeName.toLowerCase();"input"===n&&be.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Xe(e,t,n,r){t=s(t);var i,a,o,u,l,c,h=0,d=e.length,p=d-1,f=t[0],m=_(f);if(m||d>1&&"string"==typeof f&&!g.checkClone&&Ue.test(f))return e.each((function(i){var a=e.eq(i);m&&(t[0]=f.call(this,i,a.html())),Xe(a,t,n,r)}));if(d&&(a=(i=Pe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(u=(o=b.map(we(i,"script"),We)).length;h<d;h++)l=i,h!==p&&(l=b.clone(l,!0,!0),u&&b.merge(o,we(l,"script"))),n.call(e[h],l,h);if(u)for(c=o[o.length-1].ownerDocument,b.map(o,He),h=0;h<u;h++)l=o[h],xe.test(l.type||"")&&!ue.access(l,"globalEval")&&b.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?b._evalUrl&&!l.noModule&&b._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):E(l.textContent.replace(ze,""),l,c))}return e}function Ke(e,t,n){for(var r,i=t?b.filter(t,e):e,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||b.cleanData(we(r)),r.parentNode&&(n&&ge(r)&&Me(we(r,"script")),r.parentNode.removeChild(r));return e}b.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,a,o,u=e.cloneNode(!0),s=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(o=we(u),r=0,i=(a=we(e)).length;r<i;r++)je(a[r],o[r]);if(t)if(n)for(a=a||we(e),o=o||we(u),r=0,i=a.length;r<i;r++)Ge(a[r],o[r]);else Ge(e,u);return(o=we(u,"script")).length>0&&Me(o,!s&&we(e,"script")),u},cleanData:function(e){for(var t,n,r,i=b.event.special,a=0;void 0!==(n=e[a]);a++)if(ae(n)){if(t=n[ue.expando]){if(t.events)for(r in t.events)i[r]?b.event.remove(n,r):b.removeEvent(n,r,t.handle);n[ue.expando]=void 0}n[se.expando]&&(n[se.expando]=void 0)}}}),b.fn.extend({detach:function(e){return Ke(this,e,!0)},remove:function(e){return Ke(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?b.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Xe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ve(this,e).appendChild(e)}))},prepend:function(){return Xe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ve(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Xe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Xe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(b.cleanData(we(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return b.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!Be[(Se.exec(e)||["",""])[1].toLowerCase()]){e=b.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(b.cleanData(we(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Xe(this,arguments,(function(t){var n=this.parentNode;b.inArray(this,e)<0&&(b.cleanData(we(this)),n&&n.replaceChild(t,this))}),e)}}),b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){b.fn[e]=function(e){for(var n,r=[],i=b(e),a=i.length-1,o=0;o<=a;o++)n=o===a?this:this.clone(!0),b(i[o])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var qe=new RegExp("^("+de+")(?!px)[a-z%]+$","i"),Je=/^--/,Ye=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},$e=function(e,t,n){var r,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=a[i];return r},Qe=new RegExp(fe.join("|"),"i");function Ze(e,t,n){var r,i,a,o,u=Je.test(t),s=e.style;return(n=n||Ye(e))&&(o=n.getPropertyValue(t)||n[t],u&&o&&(o=o.replace(P,"$1")||void 0),""!==o||ge(e)||(o=b.style(e,t)),!g.pixelBoxStyles()&&qe.test(o)&&Qe.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a)),void 0!==o?o+"":o}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){l.style.cssText="position:absolute;
2left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(l).appendChild(c);var e=r.getComputedStyle(c);n="1%"!==e.top,s=12===t(e.marginLeft),c.style.right="60%",o=36===t(e.right),i=36===t(e.width),c.style.position="absolute",a=12===t(c.offsetWidth/3),me.removeChild(l),c=null}}function t(e){return Math.round(parseFloat(e))}var n,i,a,o,u,s,l=v.createElement("div"),c=v.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,b.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),a},reliableTrDimensions:function(){var e,t,n,i;return null==u&&(e=v.createElement("table"),t=v.createElement("tr"),n=v.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),u=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),u}}))}();var tt=["Webkit","Moz","ms"],nt=v.createElement("div").style,rt={};function it(e){var t=b.cssProps[e]||rt[e];return t||(e in nt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var at=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},ut={letterSpacing:"0",fontWeight:"400"};function st(e,t,n){var r=pe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function lt(e,t,n,r,i,a){var o="width"===t?1:0,u=0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(l+=b.css(e,n+fe[o],!0,i)),r?("content"===n&&(s-=b.css(e,"padding"+fe[o],!0,i)),"margin"!==n&&(s-=b.css(e,"border"+fe[o]+"Width",!0,i))):(s+=b.css(e,"padding"+fe[o],!0,i),"padding"!==n?s+=b.css(e,"border"+fe[o]+"Width",!0,i):u+=b.css(e,"border"+fe[o]+"Width",!0,i));return!r&&a>=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-s-u-.5))||0),s+l}function ct(e,t,n){var r=Ye(e),i=(!g.boxSizingReliable()||n)&&"border-box"===b.css(e,"boxSizing",!1,r),a=i,o=Ze(e,t,r),u="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(o)){if(!n)return o;o="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&x(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===b.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===b.css(e,"boxSizing",!1,r),(a=u in e)&&(o=e[u])),(o=parseFloat(o)||0)+lt(e,t,n||(i?"border":"content"),a,r,o)+"px"}function ht(e,t,n,r,i){return new ht.prototype.init(e,t,n,r,i)}b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,u=ie(t),s=Je.test(t),l=e.style;if(s||(t=it(u)),o=b.cssHooks[t]||b.cssHooks[u],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:l[t];"string"===(a=typeof n)&&(i=pe.exec(n))&&i[1]&&(n=ve(e,t,i),a="number"),null!=n&&n==n&&("number"!==a||s||(n+=i&&i[3]||(b.cssNumber[u]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(s?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,a,o,u=ie(t);return Je.test(t)||(t=it(u)),(o=b.cssHooks[t]||b.cssHooks[u])&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=Ze(e,t,r)),"normal"===i&&t in ut&&(i=ut[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),b.each(["height","width"],(function(e,t){b.cssHooks[t]={get:function(e,n,r){if(n)return!at.test(b.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,r):$e(e,ot,(function(){return ct(e,t,r)}))},set:function(e,n,r){var i,a=Ye(e),o=!g.scrollboxSize()&&"absolute"===a.position,u=(o||r)&&"border-box"===b.css(e,"boxSizing",!1,a),s=r?lt(e,t,r,u,a):0;return u&&o&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-lt(e,t,"border",!1,a)-.5)),s&&(i=pe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=b.css(e,t)),st(0,n,s)}}})),b.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ze(e,"marginLeft"))||e.getBoundingClientRect().left-$e(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),b.each({margin:"",padding:"",border:"Width"},(function(e,t){b.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+fe[r]+t]=a[r]||a[r-2]||a[0];return i}},"margin"!==e&&(b.cssHooks[e+t].set=st)})),b.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,i,a={},o=0;if(Array.isArray(t)){for(r=Ye(e),i=t.length;o<i;o++)a[t[o]]=b.css(e,t[o],!1,r);return a}return void 0!==n?b.style(e,t,n):b.css(e,t)}),e,t,arguments.length>1)}}),b.Tween=ht,ht.prototype={constructor:ht,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||b.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(b.cssNumber[n]?"":"px")},cur:function(){var e=ht.propHooks[this.prop];return e&&e.get?e.get(this):ht.propHooks._default.get(this)},run:function(e){var t,n=ht.propHooks[this.prop];return this.options.duration?this.pos=t=b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ht.propHooks._default.set(this),this}},ht.prototype.init.prototype=ht.prototype,ht.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=b.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):1!==e.elem.nodeType||!b.cssHooks[e.prop]&&null==e.elem.style[it(e.prop)]?e.elem[e.prop]=e.now:b.style(e.elem,e.prop,e.now+e.unit)}}},ht.propHooks.scrollTop=ht.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},b.fx=ht.prototype.init,b.fx.step={};var dt,pt,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){pt&&(!1===v.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(gt):r.setTimeout(gt,b.fx.interval),b.fx.tick())}function _t(){return r.setTimeout((function(){dt=void 0})),dt=Date.now()}function Dt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=fe[r])]=i["padding"+n]=e;
vendor: 4,908 bytes, line 2
2return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,t,e))return r}function yt(e,t,n){var r,i,a=0,o=yt.prefilters.length,u=b.Deferred().always((function(){delete s.elem})),s=function(){if(i)return!1;for(var t=dt||_t(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),a=0,o=l.tweens.length;a<o;a++)l.tweens[a].run(r);return u.notifyWith(e,[l,r,n]),r<1&&o?n:(o||u.notifyWith(e,[l,1,0]),u.resolveWith(e,[l]),!1)},l=u.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{},easing:b.easing._default},n),originalProperties:t,originalOptions:n,startTime:dt||_t(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(u.notifyWith(e,[l,1,0]),u.resolveWith(e,[l,t])):u.rejectWith(e,[l,t]),this}}),c=l.props;for(!function(e,t){var n,r,i,a,o;for(n in e)if(i=t[r=ie(n)],a=e[n],Array.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),(o=b.cssHooks[r])&&"expand"in o)for(n in a=o.expand(a),delete e[r],a)n in e||(e[n]=a[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);a<o;a++)if(r=yt.prefilters[a].call(l,e,c,l.opts))return _(r.stop)&&(b._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return b.map(c,vt,l),_(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),b.fx.timer(b.extend(s,{elem:e,anim:l,queue:l.opts.queue})),l}b.Animation=b.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ve(n.elem,e,pe.exec(t),n),n}]},tweener:function(e,t){_(e)?(t=e,e=["*"]):e=e.match(K);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,a,o,u,s,l,c,h="width"in t||"height"in t,d=this,p={},f=e.style,m=e.nodeType&&De(e),g=ue.get(e,"fxshow");for(r in n.queue||(null==(o=b._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,u=o.empty.fire,o.empty.fire=function(){o.unqueued||u()}),o.unqueued++,d.always((function(){d.always((function(){o.unqueued--,b.queue(e,"fx").length||o.empty.fire()}))}))),t)if(i=t[r],ft.test(i)){if(delete t[r],a=a||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||b.style(e,r)}if((s=!b.isEmptyObject(t))||!b.isEmptyObject(p))for(r in h&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(l=g&&g.display)&&(l=ue.get(e,"display")),"none"===(c=b.css(e,"display"))&&(l?c=l:(Ae([e],!0),l=e.style.display||l,c=b.css(e,"display"),Ae([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===b.css(e,"float")&&(s||(d.done((function(){f.display=l})),null==l&&(c=f.display,l="none"===c?"":c)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),s=!1,p)s||(g?"hidden"in g&&(m=g.hidden):g=ue.access(e,"fxshow",{display:l}),a&&(g.hidden=!m),m&&Ae([e],!0),d.done((function(){for(r in m||Ae([e]),ue.remove(e,"fxshow"),p)b.style(e,r,p[r])}))),s=vt(m?g[r]:0,r,d),r in g||(g[r]=s.start,m&&(s.end=s.start,s.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),b.speed=function(e,t,n){var r=e&&"object"==typeof e?b.extend({},e):{complete:n||!n&&t||_(e)&&e,duration:e,easing:n&&t||t&&!_(t)&&t};return b.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in b.fx.speeds?r.duration=b.fx.speeds[r.duration]:r.duration=b.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){_(r.old)&&r.old.call(this),r.queue&&b.dequeue(this,r.queue)},r},b.fn.extend({fadeTo:function(e,t,n,r){return this.filter(De).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=b.isEmptyObject(e),a=b.speed(t,n,r),o=function(){var t=yt(this,b.extend({},e),a);(i||ue.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",a=b.timers,o=ue.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&mt.test(i)&&r(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(n),t=!1,a.splice(i,1));!t&&n||b.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=ue.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],a=b.timers,o=r?r.length:0;for(n.finish=!0,b.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1)
vendor: 24,215 bytes, line 2
2);for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),b.each(["toggle","show","hide"],(function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(Dt(t,!0),e,r,i)}})),b.each({slideDown:Dt("show"),slideUp:Dt("hide"),slideToggle:Dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),b.timers=[],b.fx.tick=function(){var e,t=0,n=b.timers;for(dt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||b.fx.stop(),dt=void 0},b.fx.timer=function(e){b.timers.push(e),b.fx.start()},b.fx.interval=13,b.fx.start=function(){pt||(pt=!0,gt())},b.fx.stop=function(){pt=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fn.delay=function(e,t){return e=b.fx&&b.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=v.createElement("input"),t=v.createElement("select").appendChild(v.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=v.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var Et,At=b.expr.attrHandle;b.fn.extend({attr:function(e,t){return ee(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){b.removeAttr(this,e)}))}}),b.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?b.prop(e,t,n):(1===a&&b.isXMLDoc(e)||(i=b.attrHooks[t.toLowerCase()]||(b.expr.match.bool.test(t)?Et:void 0)),void 0!==n?null===n?void b.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=b.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&x(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(K);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),Et={set:function(e,t,n){return!1===t?b.removeAttr(e,n):e.setAttribute(n,n),n}},b.each(b.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=At[t]||b.find.attr;At[t]=function(e,t,r){var i,a,o=t.toLowerCase();return r||(a=At[o],At[o]=i,i=null!=n(e,t,r)?o:null,At[o]=a),i}}));var Ct=/^(?:input|select|textarea|button)$/i,Ft=/^(?:a|area)$/i;function bt(e){return(e.match(K)||[]).join(" ")}function St(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(K)||[]}b.fn.extend({prop:function(e,t){return ee(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[b.propFix[e]||e]}))}}),b.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&b.isXMLDoc(e)||(t=b.propFix[t]||t,i=b.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=b.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||Ft.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(b.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),b.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){b.propFix[this.toLowerCase()]=this})),b.fn.extend({addClass:function(e){var t,n,r,i,a,o;return _(e)?this.each((function(t){b(this).addClass(e.call(this,t,St(this)))})):(t=xt(e)).length?this.each((function(){if(r=St(this),n=1===this.nodeType&&" "+bt(r)+" "){for(a=0;a<t.length;a++)i=t[a],n.indexOf(" "+i+" ")<0&&(n+=i+" ");o=bt(n),r!==o&&this.setAttribute("class",o)}})):this},removeClass:function(e){var t,n,r,i,a,o;return _(e)?this.each((function(t){b(this).removeClass(e.call(this,t,St(this)))})):arguments.length?(t=xt(e)).length?this.each((function(){if(r=St(this),n=1===this.nodeType&&" "+bt(r)+" "){for(a=0;a<t.length;a++)for(i=t[a];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");o=bt(n),r!==o&&this.setAttribute("class",o)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,a,o=typeof e,u="string"===o||Array.isArray(e);return _(e)?this.each((function(n){b(this).toggleClass(e.call(this,n,St(this),t),t)})):"boolean"==typeof t&&u?t?this.addClass(e):this.removeClass(e):(n=xt(e),this.each((function(){if(u)for(a=b(this),i=0;i<n.length;i++)r=n[i],a.hasClass(r)?a.removeClass(r):a.addClass(r);else void 0!==e&&"boolean"!==o||((r=St(this))&&ue.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":ue.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+bt(St(n))+" ").indexOf(t)>-1)return!0;return!1}});var Bt=/\r/g;b.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=_(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,b(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=b.map(i,(function(e){return null==e?"":e+""}))),(t=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=b.valHooks[i.type]||b.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Bt,""):null==n?"":n:void 0}}),b.extend({valHooks:{option:{get:function(e){var t=b.find.attr(e,"value");return null!=t?t:bt(b.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,o="select-one"===e.type,u=o?null:[],s=o?a+1:i.length;for(r=a<0?s:o?a:0;r<s;r++)if(((n=i[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!x(n.parentNode,"optgroup"))){if(t=b(n).val(),o)return t;u.push(t)}return u},set:function(e,t){for(var n,r,i=e.options,a=b.makeArray(t),o=i.length;o--;)((r=i[o]).selected=b.inArray(b.valHooks.option.get(r),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),b.each(["radio","checkbox"],(function(){b.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=b.inArray(b(e).val(),t)>-1}},g.checkOn||(b.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var wt=r.location,Mt={guid:Date.now()},Tt=/\?/;b.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||b.error("Invalid XML: "+(n?b.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Pt=/^(?:focusinfocus|focusoutblur)$/,Rt=function(e){e.stopPropagation()};b.extend(b.event,{trigger:function(e,t,n,i){var a,o,u,s,l,c,h,d,f=[n||v],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(o=d=u=n=n||v,3!==n.nodeType&&8!==n.nodeType&&!Pt.test(m+b.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[b.expando]?e:new b.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:b.makeArray(t,[e]),h=b.event.special[m]||{},i||!h.trigger||!1!==h.trigger.apply(n,t))){if(!i&&!h.noBubble&&!D(n)){for(s=h.delegateType||m,Pt.test(s+m)||(o=o.parentNode);o;o=o.parentNode)f.push(o),u=o;u===(n.ownerDocument||v)&&f.push(u.defaultView||u.parentWindow||r)}for(a=0;(o=f[a++])&&!e.isPropagationStopped();)d=o,e.type=a>1?s:h.bindType||m,(c=(ue.get(o,"events")||Object.create(null))[e.type]&&ue.get(o,"handle"))&&c.apply(o,t),(c=l&&o[l])&&c.apply&&ae(o)&&(e.result=c.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),t)||!ae(n)||l&&_(n[m])&&!D(n)&&((u=n[l])&&(n[l]=null),b.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Rt),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,Rt),b.event.triggered=void 0,u&&(n[l]=u)),e.result}},simulate:function(e,t,n){var r=b.extend(new b.Event,n,{type:e,isSimulated:!0});b.event.trigger(r,null,t)}}),b.fn.extend({trigger:function(e,t){return this.each((function(){b.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return b.event.trigger(e,t,n,!0)}});var It=/\[\]$/,Nt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function kt(e,t,n,r){var i;if(Array.isArray(t))b.each(t,(function(t,i){n||It.test(e)?r(e,i):kt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==A(t))r(e,t);else for(i in t)kt(e+"["+i+"]",t[i],n,r)}b.param=function(e,t){var n,r=[],i=function(e,t){var n=_(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,(function(){i(this.name,this.value)}));else for(n in e)kt(n,e[n],t,i);return r.join("&")},b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&Ot.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!be.test(e))})).map((function(e,t){var n=b(this).val();return null==n?null:Array.isArray(n)?b.map(n,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:n.replace(Nt,"\r\n")}})).get()}});var Ut=/%20/g,zt=/#.*$/,Vt=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:GET|HEAD)$/,Gt=/^\/\//,jt={},Xt={},Kt="*/".concat("*"),qt=v.createElement("a");function Jt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(K)||[];if(_(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Yt(e,t,n,r){var i={},a=e===Xt;function o(u){var s;return i[u]=!0,b.each(e[u]||[],(function(e,u){var l=u(t,n,r);return"string"!=typeof l||a||i[l]?a?!(s=l):void 0:(t.dataTypes.unshift(l),o(l),!1)})),s}return o(t.dataTypes[0])||!i["*"]&&o("*")}function $t(e,t){var n,r,i=b.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&b.extend(!0,e,r),e}qt.href=wt.href,b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,b.ajaxSettings),t):$t(b.ajaxSettings,e)},ajaxPrefilter:Jt(jt),ajaxTransport:Jt(Xt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,a,o,u,s,l,c,h,d,p=b.ajaxSetup({},t),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?b(f):b.event,g=b.Deferred(),_=b.Callbacks("once memory"),D=p.statusCode||{},y={},E={},A="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(l){if(!o)for(o={};t=Wt.exec(a);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(e,t){return null==l&&(e=E[e.toLowerCase()]=E[e.toLowerCase()]||e,y[e]=t),this},overrideMimeType:function(e){return null==l&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)C.always(e[C.status]);else for(t in e)D[t]=[D[t],e[t]];return this},abort:function(e){var t=e||A;return n&&n.abort(t),F(0,t),this}};if(g.promise(C),p.url=((e||p.url||wt.href)+"").replace(Gt,wt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(K)||[""],null==p.crossDomain){s=v.createElement("a");try{s.href=p.url,s.href=s.href,p.crossDomain=qt.protocol+"//"+qt.host!=s.protocol+"//"+s.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=b.param(p.data,p.traditional)),Yt(jt,p,t,C),l)return C;for(h in(c=b.event&&p.global)&&0==b.active++&&b.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ht.test(p.type),i=p.url.replace(zt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ut,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Tt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Vt,"$1"),d=(Tt.test(i)?"&":"?")+"_="+Mt.guid+++d),p.url=i+d),p.ifModified&&(b.lastModified[i]&&C.setRequestHeader("If-Modified-Since",b.lastModified[i]),b.etag[i]&&C.setRequestHeader("If-None-Match",b.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Kt+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(f,C,p)||l))return C.abort();if(A="abort",_.add(p.complete),C.done(p.success),C.fail(p.error),n=Yt(Xt,p,t,C)){if(C.readyState=1,c&&m.trigger("ajaxSend",[C,p]),l)return C;p.async&&p.timeout>0&&(u=r.setTimeout((function(){C.abort("timeout")}),p.timeout));try{l=!1,n.send(y,F)}catch(e){if(l)throw e;F(-1,e)}}else F(-1,"No Transport");function F(e,t,o,s){var h,d,v,y,E,A=t;l||(l=!0,u&&r.clearTimeout(u),n=void 0,a=s||"",C.readyState=e>0?4:0,h=e>=200&&e<300||304===e,o&&(y=function(e,t,n){for(var r,i,a,o,u=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in u)if(u[i]&&u[i].test(r)){s.unshift(i);break}if(s[0]in n)a=s[0];else{for(i in n){if(!s[0]||e.converters[i+" "+s[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==s[0]&&s.unshift(a),n[a]}(p,C,o)),!h&&b.inArray("script",p.dataTypes)>-1&&b.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),y=function(e,t,n,r){var i,a,o,u,s,l={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)l[o.toLowerCase()]=e.converters[o];for(a=c.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!s&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=a,a=c.shift())if("*"===a)a=s;else if("*"!==s&&s!==a){if(!(o=l[s+" "+a]||l["* "+a]))for(i in l)if((u=i.split(" "))[1]===a&&(o=l[s+" "+u[0]]||l["* "+u[0]])){!0===o?o=l[i]:!0!==l[i]&&(a=u[0],c.unshift(u[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+s+" to "+a}}}return{state:"success",data:t}}(p,y,C,h),h?(p.ifModified&&((E=C.getResponseHeader("Last-Modified"))&&(b.lastModified[i]=E),(E=C.getResponseHeader("etag"))&&(b.etag[i]=E)),204===e||"HEAD"===p.type?A="nocontent":304===e?A="notmodified":(A=y.state,d=y.data,h=!(v=y.error))):(v=A,!e&&A||(A="error",e<0&&(e=0))),C.status=e,C.statusText=(t||A)+"",h?g.resolveWith(f,[d,A,C]):g.rejectWith(f,[C,A,v]),C.statusCode(D),D=void 0,c&&m.trigger(h?"ajaxSuccess":"ajaxError",[C,p,h?d:v]),_.fireWith(f,[C,A]),c&&(m.trigger("ajaxComplete",[C,p]),--b.active||b.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return b.get(e,t,n,"json")},getScript:function(e,t){return b.get(e,void 0,t,"script")}}),b.each(["get","post"],(function(e,t){b[t]=function(e,n,r,i){return _(n)&&(i=i||r,r=n,n=void 0),b.ajax(b.extend({url:e,type:t,dataType:i,data:n,success:r},b.isPlainObject(e)&&e))}})),b.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),b._evalUrl=function(e,t,n){return b.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){b.globalEval(e,t,n)}})},b.fn.extend({wrapAll:function(e){var t;return this[0]&&(_(e)&&(e=e.call(this[0])),t=b(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return _(e)?this.each((function(t){b(this).wrapInner(e.call(this,t))})):this.each((function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=_(e);return this.each((function(n){b(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){b(this).replaceWith(this.childNodes)})),this}}),b.expr.pseudos.hidden=function(e){return!b.expr.pseudos.visible(e)},b.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},b.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Zt=b.ajaxSettings.xhr();g.cors=!!Zt&&"withCredentials"in Zt,g.ajax=Zt=!!Zt,b.ajaxTransport((function(e){var t,n;if(g.cors||Zt&&!e.crossDomain)return{send:function(i,a){var o,u=e.xhr();if(u.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)u[o]=e.xhrFields[o];for(o in e.mimeType&&u.overrideMimeType&&u.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(o,i[o]);t=function(e){return function(){t&&(t=n=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===e?u.abort():"error"===e?"number"!=typeof u.status?a(0,"error"):a(u.status,u.statusText):a(Qt[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=t(),n=u.onerror=u.ontimeout=t("error"),void 0!==u.onabort?u.onabort=n:u.onreadystatechange=function(){4===u.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{u.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),b.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),b.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=b("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}}));var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||b.expando+"_"+Mt.guid++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",(function(e,t,n){var i,a,o,u=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(u||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=_(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,u?e[u]=e[u].replace(nn,"$1"+i):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||b.error(i+" was not called"),o[0]},e.dataTypes[0]="json",a=r[i],r[i]=function(){o=arguments},n.always((function(){void 0===a?b(r).removeProp(i):r[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,tn.push(i)),o&&_(a)&&a(o[0]),o=a=void 0})),"script"})),g.createHTMLDocument=((en=v.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),b.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=v.implementation.createHTMLDocument("")).createElement("base")).href=v.location.href,t.head.appendChild(r)):t=v),a=!n&&[],(i=z.exec(e))?[t.createElement(i[1])]:(i=Pe([e],t,a),a&&a.length&&b(a).remove(),b.merge([],i.childNodes)));var r,i,a},b.fn.load=function(e,t,n){var r,i,a,o=this,u=e.indexOf(" ");return u>-1&&(r=bt(e.slice(u)),e=e.slice(0,u)),_(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),o.length>0&&b.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){a=arguments,o.html(r?b("<div>").append(b.parseHTML(e)).find(r):e)})).always(n&&function(e,t){o.each((function(){n.apply(this,a||[e.responseText,t,e])}))}),this},b.expr.pseudos.animated=function(e){return b.grep(b.timers,(function(t){return e===t.elem})).length},b.offset={setOffset:function(e,t,n){var r,i,a,o,u,s,l=b.css(e,"position"),c=b(e),h={};"static"===l&&(e.style.position="relative"),u=c.offset(),a=b.css(e,"top"),s=b.css(e,"left"),("absolute"===l||"fixed"===l)&&(a+s).indexOf("auto")>-1?(o=(r=c.position()).top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(s)||0),_(t)&&(t=t.call(e,n,b.extend({},u))),null!=t.top&&(h.top=t.top-u.top+o),null!=t.left&&(h.left=t.left-u.left+i),"using"in t?t.using.call(e,h):c.css(h)}},b.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){b.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===b.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===b.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=b(e).offset()).top+=b.css(e,"borderTopWidth",!0),i.left+=b.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-b.css(r,"marginTop",!0),left:t.left-i.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===b.css(e,"position");)e=e.offsetParent;return e||me}))}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;b.fn[e]=function(r){return ee(this,(function(e,r,i){var a;if(D(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===i)return a?a[t]:e[r];a?a.scrollTo(n?a.pageXOffset:i,n?i:a.pageYOffset):e[r]=i}),e,r,arguments.length)}})),b.each(["top","left"],(function(e,t){b.cssHooks[t]=et(g.pixelPosition,(function(e,n){if(n)return n=Ze(e,t),qe.test(n)?b(e).position()[t]+"px":n}))})),b.each({Height:"height",Width:"width"},(function(e,t){b.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){b.fn[r]=function(i,a){var o=arguments.length&&(n||"boolean"!=typeof i),u=n||(!0===i||!0===a?"margin":"border");return ee(this,(function(t,n,i){var a;return D(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?b.css(t,n,u):b.style(t,n,i,u)}),t,o?i:void 0,o)}}))})),b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){b.fn[t]=function(e){return this.on(t,e)}})),b.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),b.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));
2var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;b.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),_(e))return r=u.call(arguments,2),i=function(){return e.apply(t||this,r.concat(u.call(arguments)))},i.guid=e.guid=e.guid||b.guid++,i},b.holdReady=function(e){e?b.readyWait++:b.ready(!0)},b.isArray=Array.isArray,b.parseJSON=JSON.parse,b.nodeName=x,b.isFunction=_,b.isWindow=D,b.camelCase=ie,b.type=A,b.now=Date.now,b.isNumeric=function(e){var t=b.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},b.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return b}.apply(t,[]))||(e.exports=n);var an=r.jQuery,on=r.$;return b.noConflict=function(e){return r.$===b&&(r.$=on),e&&r.jQuery===b&&(r.jQuery=an),b},void 0===i&&(r.jQuery=r.$=b),b}))},181:function(e,t,n){var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,u=parseInt,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,c=s||l||Function("return this")(),h=Object.prototype.toString,d=Math.max,p=Math.min,f=function(){return c.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=a.test(e);return n||o.test(e)?u(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,a,o,u,s,l=0,c=!1,h=!1,_=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function D(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n)}function v(e){var n=e-s;return void 0===s||n>=t||n<0||h&&e-l>=a}function y(){var e=f();if(v(e))return E(e);u=setTimeout(y,function(e){var n=t-(e-s);return h?p(n,a-(e-l)):n}(e))}function E(e){return u=void 0,_&&r?D(e):(r=i=void 0,o)}function A(){var e=f(),n=v(e);if(r=arguments,i=this,s=e,n){if(void 0===u)return function(e){return l=e,u=setTimeout(y,t),c?D(e):o}(s);if(h)return u=setTimeout(y,t),D(s)}return void 0===u&&(u=setTimeout(y,t)),o}return t=g(t)||0,m(n)&&(c=!!n.leading,a=(h="maxWait"in n)?d(g(n.maxWait)||0,t):a,_="trailing"in n?!!n.trailing:_),A.cancel=function(){void 0!==u&&clearTimeout(u),l=0,r=s=i=u=void 0},A.flush=function(){return void 0===u?o:E(f())},A}},2543:function(e,t,n){var r;e=n.nmd(e),function(){var i,a="Expected a function",o="__lodash_hash_undefined__",u="__lodash_placeholder__",s=16,l=32,c=64,h=128,d=256,p=1/0,f=9007199254740991,m=NaN,g=4294967295,_=[["ary",h],["bind",1],["bindKey",2],["curry",8],["curryRight",s],["flip",512],["partial",l],["partialRight",c],["rearg",d]],D="[object Arguments]",v="[object Array]",y="[object Boolean]",E="[object Date]",A="[object Error]",C="[object Function]",F="[object GeneratorFunction]",b="[object Map]",S="[object Number]",x="[object Object]",B="[object Promise]",w="[object RegExp]",M="[object Set]",T="[object String]",P="[object Symbol]",R="[object WeakMap]",I="[object ArrayBuffer]",N="[object DataView]",L="[object Float32Array]",O="[object Float64Array]",k="[object Int8Array]",U="[object Int16Array]",z="[object Int32Array]",V="[object Uint8Array]",W="[object Uint8ClampedArray]",H="[object Uint16Array]",G="[object Uint32Array]",j=/\b__p \+= '';/g,X=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,Y=RegExp(q.source),$=RegExp(J.source),Q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,ae=RegExp(ie.source),oe=/^\s+/,ue=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,he=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,_e=/^0b[01]+$/i,De=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,Ee=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 5,848 bytes, line 2
27f]/g,Ae=/($^)/,Ce=/['\n\r\u2028\u2029\\]/g,Fe="\\ud800-\\udfff",be="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",xe="a-z\\xdf-\\xf6\\xf8-\\xff",Be="A-Z\\xc0-\\xd6\\xd8-\\xde",we="\\ufe0e\\ufe0f",Me="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['’]",Pe="["+Fe+"]",Re="["+Me+"]",Ie="["+be+"]",Ne="\\d+",Le="["+Se+"]",Oe="["+xe+"]",ke="[^"+Fe+Me+Ne+Se+xe+Be+"]",Ue="\\ud83c[\\udffb-\\udfff]",ze="[^"+Fe+"]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",We="[\\ud800-\\udbff][\\udc00-\\udfff]",He="["+Be+"]",Ge="\\u200d",je="(?:"+Oe+"|"+ke+")",Xe="(?:"+He+"|"+ke+")",Ke="(?:['’](?:d|ll|m|re|s|t|ve))?",qe="(?:['’](?:D|LL|M|RE|S|T|VE))?",Je="(?:"+Ie+"|"+Ue+")"+"?",Ye="["+we+"]?",$e=Ye+Je+("(?:"+Ge+"(?:"+[ze,Ve,We].join("|")+")"+Ye+Je+")*"),Qe="(?:"+[Le,Ve,We].join("|")+")"+$e,Ze="(?:"+[ze+Ie+"?",Ie,Ve,We,Pe].join("|")+")",et=RegExp(Te,"g"),tt=RegExp(Ie,"g"),nt=RegExp(Ue+"(?="+Ue+")|"+Ze+$e,"g"),rt=RegExp([He+"?"+Oe+"+"+Ke+"(?="+[Re,He,"$"].join("|")+")",Xe+"+"+qe+"(?="+[Re,He+je,"$"].join("|")+")",He+"?"+je+"+"+Ke,He+"+"+qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Qe].join("|"),"g"),it=RegExp("["+Ge+Fe+be+we+"]"),at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ut=-1,st={};st[L]=st[O]=st[k]=st[U]=st[z]=st[V]=st[W]=st[H]=st[G]=!0,st[D]=st[v]=st[I]=st[y]=st[N]=st[E]=st[A]=st[C]=st[b]=st[S]=st[x]=st[w]=st[M]=st[T]=st[R]=!1;var lt={};lt[D]=lt[v]=lt[I]=lt[N]=lt[y]=lt[E]=lt[L]=lt[O]=lt[k]=lt[U]=lt[z]=lt[b]=lt[S]=lt[x]=lt[w]=lt[M]=lt[T]=lt[P]=lt[V]=lt[W]=lt[H]=lt[G]=!0,lt[A]=lt[C]=lt[R]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ht=parseFloat,dt=parseInt,pt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ft="object"==typeof self&&self&&self.Object===Object&&self,mt=pt||ft||Function("return this")(),gt=t&&!t.nodeType&&t,_t=gt&&e&&!e.nodeType&&e,Dt=_t&&_t.exports===gt,vt=Dt&&pt.process,yt=function(){try{var e=_t&&_t.require&&_t.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),Et=yt&&yt.isArrayBuffer,At=yt&&yt.isDate,Ct=yt&&yt.isMap,Ft=yt&&yt.isRegExp,bt=yt&&yt.isSet,St=yt&&yt.isTypedArray;function xt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Bt(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function wt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Mt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Tt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Pt(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Rt(e,t){return!!(null==e?0:e.length)&&Ht(e,t,0)>-1}function It(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Lt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Ot(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function kt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Ut(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var zt=Kt("length");function Vt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Wt(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Ht(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Wt(e,jt,n)}function Gt(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function jt(e){return e!=e}function Xt(e,t){var n=null==e?0:e.length;return n?Yt(e,t)/n:m}function Kt(e){return function(t){return null==t?i:t[e]}}function qt(e){return function(t){return null==e?i:e[t]}}function Jt(e,t,n,r,i){return i(e,(function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)})),n}function Yt(e,t){for(var n,r=-1,a=e.length;++r<a;){var o=t(e[r]);o!==i&&(n=n===i?o:n+o)}return n}function $t(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Qt(e){return e?e.slice(0,gn(e)+1).replace(oe,""):e}function Zt(e){return function(t){return e(t)}}function en(e,t){return Nt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&Ht(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&Ht(t,e[n],0)>-1;);return n}var an=qt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"
2c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),on=qt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function un(e){return"\\"+ct[e]}function sn(e){return it.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function hn(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];o!==t&&o!==u||(e[n]=u,a[i++]=n)}return a}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function fn(e){return sn(e)?function(e){var t=nt.lastIndex=0;for(;nt.test(e);)++t;return t}(e):zt(e)}function mn(e){return sn(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function gn(e){for(var t=e.length;t--&&ue.test(e.charAt(t)););return t}var _n=qt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Dn=function e(t){var n,r=(t=null==t?mt:Dn.defaults(mt.Object(),t,Dn.pick(mt,ot))).Array,ue=t.Date,Fe=t.Error,be=t.Function,Se=t.Math,xe=t.Object,Be=t.RegExp,we=t.String,Me=t.TypeError,Te=r.prototype,Pe=be.prototype,Re=xe.prototype,Ie=t["__core-js_shared__"],Ne=Pe.toString,Le=Re.hasOwnProperty,Oe=0,ke=(n=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ue=Re.toString,ze=Ne.call(xe),Ve=mt._,We=Be("^"+Ne.call(Le).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=Dt?t.Buffer:i,Ge=t.Symbol,je=t.Uint8Array,Xe=He?He.allocUnsafe:i,Ke=cn(xe.getPrototypeOf,xe),qe=xe.create,Je=Re.propertyIsEnumerable,Ye=Te.splice,$e=Ge?Ge.isConcatSpreadable:i,Qe=Ge?Ge.iterator:i,Ze=Ge?Ge.toStringTag:i,nt=function(){try{var e=da(xe,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ct=ue&&ue.now!==mt.Date.now&&ue.now,pt=t.setTimeout!==mt.setTimeout&&t.setTimeout,ft=Se.ceil,gt=Se.floor,_t=xe.getOwnPropertySymbols,vt=He?He.isBuffer:i,yt=t.isFinite,zt=Te.join,qt=cn(xe.keys,xe),vn=Se.max,yn=Se.min,En=ue.now,An=t.parseInt,Cn=Se.random,Fn=Te.reverse,bn=da(t,"DataView"),Sn=da(t,"Map"),xn=da(t,"Promise"),Bn=da(t,"Set"),wn=da(t,"WeakMap"),Mn=da(xe,"create"),Tn=wn&&new wn,Pn={},Rn=ka(bn),In=ka(Sn),Nn=ka(xn),Ln=ka(Bn),On=ka(wn),kn=Ge?Ge.prototype:i,Un=kn?kn.valueOf:i,zn=kn?kn.toString:i;function Vn(e){if(nu(e)&&!jo(e)&&!(e instanceof jn)){if(e instanceof Gn)return e;if(Le.call(e,"__wrapped__"))return Ua(e)}return new Gn(e)}var Wn=function(){function e(){}return function(t){if(!tu(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Hn(){}function Gn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function jn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Jn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new qn;++t<n;)this.add(e[t])}function Yn(e){var t=this.__data__=new Kn(e);this.size=t.size}function $n(e,t){var n=jo(e),r=!n&&Go(e),i=!n&&!r&&Jo(e),a=!n&&!r&&!i&&cu(e),o=n||r||i||a,u=o?$t(e.length,we):[],s=u.length;for(var l in e)!t&&!Le.call(e,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||va(l,s))||u.push(l);return u}function Qn(e){var t=e.length;return t?e[Jr(0,t-1)]:i}function Zn(e,t){return Na(Mi(e),sr(t,0,e.length))}function er(e){return Na(Mi(e))}function tr(e,t,n){(n!==i&&!Vo(e[t],n)||n===i&&!(t in e))&&or(e,t,n)}function nr(e,t,n){var r=e[t];Le.call(e,t)&&Vo(r,n)&&(n!==i||t in e)||or(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(Vo(e[n][0],t))return n;return-1}function ir(e,t,n,r){return pr(e,(function(e,i,a){t(r,e,n(e),a)})),r}function ar(e,t){return e&&Ti(t,Pu(t),e)}
vendor: 7,008 bytes, line 2
2function or(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ur(e,t){for(var n=-1,a=t.length,o=r(a),u=null==e;++n<a;)o[n]=u?i:xu(e,t[n]);return o}function sr(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function lr(e,t,n,r,a,o){var u,s=1&t,l=2&t,c=4&t;if(n&&(u=a?n(e,r,a,o):n(e)),u!==i)return u;if(!tu(e))return e;var h=jo(e);if(h){if(u=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return Mi(e,u)}else{var d=ma(e),p=d==C||d==F;if(Jo(e))return Fi(e,s);if(d==x||d==D||p&&!a){if(u=l||p?{}:_a(e),!s)return l?function(e,t){return Ti(e,fa(e),t)}(e,function(e,t){return e&&Ti(t,Ru(t),e)}(u,e)):function(e,t){return Ti(e,pa(e),t)}(e,ar(u,e))}else{if(!lt[d])return a?e:{};u=function(e,t,n){var r=e.constructor;switch(t){case I:return bi(e);case y:case E:return new r(+e);case N:return function(e,t){var n=t?bi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case O:case k:case U:case z:case V:case W:case H:case G:return Si(e,n);case b:return new r;case S:case T:return new r(e);case w:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case M:return new r;case P:return i=e,Un?xe(Un.call(i)):{}}var i}(e,d,s)}}o||(o=new Yn);var f=o.get(e);if(f)return f;o.set(e,u),uu(e)?e.forEach((function(r){u.add(lr(r,t,n,r,e,o))})):ru(e)&&e.forEach((function(r,i){u.set(i,lr(r,t,n,i,e,o))}));var m=h?i:(c?l?aa:ia:l?Ru:Pu)(e);return wt(m||e,(function(r,i){m&&(r=e[i=r]),nr(u,i,lr(r,t,n,i,e,o))})),u}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=xe(e);r--;){var a=n[r],o=t[a],u=e[a];if(u===i&&!(a in e)||!o(u))return!1}return!0}function hr(e,t,n){if("function"!=typeof e)throw new Me(a);return Ta((function(){e.apply(i,n)}),t)}function dr(e,t,n,r){var i=-1,a=Rt,o=!0,u=e.length,s=[],l=t.length;if(!u)return s;n&&(t=Nt(t,Zt(n))),r?(a=It,o=!1):t.length>=200&&(a=tn,o=!1,t=new Jn(t));e:for(;++i<u;){var c=e[i],h=null==n?c:n(c);if(c=r||0!==c?c:0,o&&h==h){for(var d=l;d--;)if(t[d]===h)continue e;s.push(c)}else a(t,h,r)||s.push(c)}return s}Vn.templateSettings={escape:Q,evaluate:Z,interpolate:ee,variable:"",imports:{_:Vn}},Vn.prototype=Hn.prototype,Vn.prototype.constructor=Vn,Gn.prototype=Wn(Hn.prototype),Gn.prototype.constructor=Gn,jn.prototype=Wn(Hn.prototype),jn.prototype.constructor=jn,Xn.prototype.clear=function(){this.__data__=Mn?Mn(null):{},this.size=0},Xn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Xn.prototype.get=function(e){var t=this.__data__;if(Mn){var n=t[e];return n===o?i:n}return Le.call(t,e)?t[e]:i},Xn.prototype.has=function(e){var t=this.__data__;return Mn?t[e]!==i:Le.call(t,e)},Xn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Mn&&t===i?o:t,this},Kn.prototype.clear=function(){this.__data__=[],this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ye.call(t,n,1),--this.size,!0)},Kn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?i:t[n][1]},Kn.prototype.has=function(e){return rr(this.__data__,e)>-1},Kn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Xn,map:new(Sn||Kn),string:new Xn}},qn.prototype.delete=function(e){var t=ca(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return ca(this,e).get(e)},qn.prototype.has=function(e){return ca(this,e).has(e)},qn.prototype.set=function(e,t){var n=ca(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Jn.prototype.add=Jn.prototype.push=function(e){return this.__data__.set(e,o),this},Jn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.clear=function(){this.__data__=new Kn,this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Yn.prototype.get=function(e){return this.__data__.get(e)},Yn.prototype.has=function(e){return this.__data__.has(e)},Yn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Kn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var pr=Ii(Er),fr=Ii(Ar,!0);function mr(e,t){var n=!0;return pr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function gr(e,t,n){for(var r=-1,a=e.length;++r<a;){var o=e[r],u=t(o);if(null!=u&&(s===i?u==u&&!lu(u):n(u,s)))var s=u,l=o}return l}function _r(e,t){var n=[];return pr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function Dr(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=Da),i||(i=[]);++a<o;){var u=e[a];t>0&&n(u)?t>1?Dr(u,t-1,n,r,i):Lt(i,u):r||(i[i.length]=u)}return i}var vr=Ni(),yr=Ni(!0);function Er(e,t){return e&&vr(e,t,Pu)}function Ar(e,t){return e&&yr(e,t,Pu)}function Cr(e,t){return Pt(t,(function(t){return Qo(e[t])}))}function Fr(e,t){for(var n=0,r=(t=yi(t,e)).length;null!=e&&n<r;)e=e[Oa(t[n++])];return n&&n==r?e:i}function br(e,t,n){var r=t(e);return jo(e)?r:Lt(r,n(e))}function Sr(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in xe(e)?function(e){var t=Le.call(e,Ze),n=e[Ze];try{e[Ze]=i;var r=!0}catch(e){}var a=Ue.call(e);r&&(t?e[Ze]=n:delete e[Ze]);return a}(e):function(e){return Ue.call(e)}(e)}function xr(e,t){return e>t}function Br(e,t){return null!=e&&Le.call(e,t)}function wr(e,t){return null!=e&&t in xe(e)}function Mr(e,t,n){for(var a=n?It:Rt,o=e[0].length,u=e.length,s=u,l=r(u),c=1/0,h=[];s--;){var d=e[s];s&&t&&(d=Nt(d,Zt(t))),c=yn(d.length,c),l[s]=!n&&(t||o>=120&&d.length>=120)?new Jn(s&&d):i}d=e[0];var p=-1,f=l[0];e:for(;++p<o&&h.length<c;){var m=d[p],g=t?t(m):m;if(m=n||0!==m?m:0,!(f?tn(f,g):a(h,g,n))){for(s=u;--s;){var _=l[s];if(!(_?tn(_,g):a(e[s],g,n)))continue e}f&&f.push(g),h.push(m)}}return h}function Tr(e,t,n){var r=null==(e=Ba(e,t=yi(t,e)))?e:e[Oa(Ya(t))];return null==r?i:xt(r,e,n)}function Pr(e){return nu(e)&&Sr(e)==D}function Rr(e,t,n,r,a){return e===t||(null==e||null==t||!nu(e)&&!nu(t)?e!=e&&t!=t:function(e,t,n,r,a,o){var u=jo(e),s=jo(t),l=u?v:ma(e),c=s?v:ma(t),h=(l=l==D?x:l)==x,d=(c=c==D?x:c)==x,p=l==c;if(p&&Jo(e)){if(!Jo(t))return!1;u=!0,h=!1}if(p&&!h)return o||(o=new Yn),u||cu(e)?na(e,t,n,r,a,o):function(e,t,n,r,i,a,o){switch(n){case N:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!a(new je(e),new je(t)));case y:case E:case S:return Vo(+e,+t);case A:return e.name==t.name&&e.message==t.message;case w:case T:return e==t+"";case b:var u=ln;case M:var s=1&r;if(u||(u=dn),e.size!=t.size&&!s)return!1;var l=o.get(e);if(l)return l==t;r|=2,o.set(e,t);var c=na(u(e),u(t),r,i,a,o);return o.delete(e),c;case P:if(Un)return Un.call(e)==Un.call(t)}return!1}(e,t,l,n,r,a,o);if(!(1&n)){var f=h&&Le.call(e,"__wrapped__"),m=d&&Le.call(t,"__wrapped__");
vendor: 5,228 bytes, line 2
2if(f||m){var g=f?e.value():e,_=m?t.value():t;return o||(o=new Yn),a(g,_,n,r,o)}}if(!p)return!1;return o||(o=new Yn),function(e,t,n,r,a,o){var u=1&n,s=ia(e),l=s.length,c=ia(t),h=c.length;if(l!=h&&!u)return!1;var d=l;for(;d--;){var p=s[d];if(!(u?p in t:Le.call(t,p)))return!1}var f=o.get(e),m=o.get(t);if(f&&m)return f==t&&m==e;var g=!0;o.set(e,t),o.set(t,e);var _=u;for(;++d<l;){var D=e[p=s[d]],v=t[p];if(r)var y=u?r(v,D,p,t,e,o):r(D,v,p,e,t,o);if(!(y===i?D===v||a(D,v,n,r,o):y)){g=!1;break}_||(_="constructor"==p)}if(g&&!_){var E=e.constructor,A=t.constructor;E==A||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof A&&A instanceof A||(g=!1)}return o.delete(e),o.delete(t),g}(e,t,n,r,a,o)}(e,t,n,r,Rr,a))}function Ir(e,t,n,r){var a=n.length,o=a,u=!r;if(null==e)return!o;for(e=xe(e);a--;){var s=n[a];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<o;){var l=(s=n[a])[0],c=e[l],h=s[1];if(u&&s[2]){if(c===i&&!(l in e))return!1}else{var d=new Yn;if(r)var p=r(c,h,l,e,t,d);if(!(p===i?Rr(h,c,3,r,d):p))return!1}}return!0}function Nr(e){return!(!tu(e)||(t=e,ke&&ke in t))&&(Qo(e)?We:De).test(ka(e));var t}function Lr(e){return"function"==typeof e?e:null==e?is:"object"==typeof e?jo(e)?Wr(e[0],e[1]):Vr(e):ps(e)}function Or(e){if(!Fa(e))return qt(e);var t=[];for(var n in xe(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function kr(e){if(!tu(e))return function(e){var t=[];if(null!=e)for(var n in xe(e))t.push(n);return t}(e);var t=Fa(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}function Ur(e,t){return e<t}function zr(e,t){var n=-1,i=Ko(e)?r(e.length):[];return pr(e,(function(e,r,a){i[++n]=t(e,r,a)})),i}function Vr(e){var t=ha(e);return 1==t.length&&t[0][2]?Sa(t[0][0],t[0][1]):function(n){return n===e||Ir(n,e,t)}}function Wr(e,t){return Ea(e)&&ba(t)?Sa(Oa(e),t):function(n){var r=xu(n,e);return r===i&&r===t?Bu(n,e):Rr(t,r,3)}}function Hr(e,t,n,r,a){e!==t&&vr(t,(function(o,u){if(a||(a=new Yn),tu(o))!function(e,t,n,r,a,o,u){var s=wa(e,n),l=wa(t,n),c=u.get(l);if(c)return void tr(e,n,c);var h=o?o(s,l,n+"",e,t,u):i,d=h===i;if(d){var p=jo(l),f=!p&&Jo(l),m=!p&&!f&&cu(l);h=l,p||f||m?jo(s)?h=s:qo(s)?h=Mi(s):f?(d=!1,h=Fi(l,!0)):m?(d=!1,h=Si(l,!0)):h=[]:au(l)||Go(l)?(h=s,Go(s)?h=Du(s):tu(s)&&!Qo(s)||(h=_a(l))):d=!1}d&&(u.set(l,h),a(h,l,r,o,u),u.delete(l));tr(e,n,h)}(e,t,u,n,Hr,r,a);else{var s=r?r(wa(e,u),o,u+"",e,t,a):i;s===i&&(s=o),tr(e,u,s)}}),Ru)}function Gr(e,t){var n=e.length;if(n)return va(t+=t<0?n:0,n)?e[t]:i}function jr(e,t,n){t=t.length?Nt(t,(function(e){return jo(e)?function(t){return Fr(t,1===e.length?e[0]:e)}:e})):[is];var r=-1;t=Nt(t,Zt(la()));var i=zr(e,(function(e,n,i){var a=Nt(t,(function(t){return t(e)}));return{criteria:a,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,a=t.criteria,o=i.length,u=n.length;for(;++r<o;){var s=xi(i[r],a[r]);if(s)return r>=u?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Xr(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],u=Fr(e,o);n(u,o)&&ei(a,yi(o,e),u)}return a}function Kr(e,t,n,r){var i=r?Gt:Ht,a=-1,o=t.length,u=e;for(e===t&&(t=Mi(t)),n&&(u=Nt(e,Zt(n)));++a<o;)for(var s=0,l=t[a],c=n?n(l):l;(s=i(u,c,s,r))>-1;)u!==e&&Ye.call(u,s,1),Ye.call(e,s,1);return e}function qr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;va(i)?Ye.call(e,i,1):di(e,i)}}return e}function Jr(e,t){return e+gt(Cn()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function $r(e,t){return Pa(xa(e,t,is),e+"")}function Qr(e){return Qn(Vu(e))}function Zr(e,t){var n=Vu(e);return Na(n,sr(t,0,n.length))}function ei(e,t,n,r){if(!tu(e))return e;for(var a=-1,o=(t=yi(t,e)).length,u=o-1,s=e;null!=s&&++a<o;){var l=Oa(t[a]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(a!=u){var h=s[l];(c=r?r(h,l,s):i)===i&&(c=tu(h)?h:va(t[a+1])?[]:{})}nr(s,l,c),s=s[l]}return e}var ti=Tn?function(e,t){return Tn.set(e,t),e}:is,ni=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:ts(t),writable:!0})}:is;function ri(e){return Na(Vu(e))}function ii(e,t,n){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=r(a);++i<a;)o[i]=e[i+t];return o}function ai(e,t){var n;return pr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function oi(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var a=r+i>>>1,o=e[a];null!==o&&!lu(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return ui(e,t,is,n)}function ui(e,t,n,r){var a=0,o=null==e?0:e.length;if(0===o)return 0;for(var u=(t=n(t))!=t,s=null===t,l=lu(t),c=t===i;a<o;){var h=gt((a+o)/2),d=n(e[h]),p=d!==i,f=null===d,m=d==d,g=lu(d);if(u)var _=r||m;else _=c?m&&(r||p):s?m&&p&&(r||!f):l?m&&p&&!f&&(r||!g):!f&&!g&&(r?d<=t:d<t);_?a=h+1:o=h}return yn(o,4294967294)}function si(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],u=t?t(o):o;if(!n||!Vo(u,s)){var s=u;a[i++]=0===o?0:o}}return a}function li(e){return"number"==typeof e?e:lu(e)?m:+e}function ci(e){if("string"==typeof e)return e;if(jo(e))return Nt(e,ci)+"";
vendor: 4,122 bytes, line 2
2if(lu(e))return zn?zn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function hi(e,t,n){var r=-1,i=Rt,a=e.length,o=!0,u=[],s=u;if(n)o=!1,i=It;else if(a>=200){var l=t?null:Yi(e);if(l)return dn(l);o=!1,i=tn,s=new Jn}else s=t?[]:u;e:for(;++r<a;){var c=e[r],h=t?t(c):c;if(c=n||0!==c?c:0,o&&h==h){for(var d=s.length;d--;)if(s[d]===h)continue e;t&&s.push(h),u.push(c)}else i(s,h,n)||(s!==u&&s.push(h),u.push(c))}return u}function di(e,t){return null==(e=Ba(e,t=yi(t,e)))||delete e[Oa(Ya(t))]}function pi(e,t,n,r){return ei(e,t,n(Fr(e,t)),r)}function fi(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?ii(e,r?0:a,r?a+1:i):ii(e,r?a+1:0,r?i:a)}function mi(e,t){var n=e;return n instanceof jn&&(n=n.value()),Ot(t,(function(e,t){return t.func.apply(t.thisArg,Lt([e],t.args))}),n)}function gi(e,t,n){var i=e.length;if(i<2)return i?hi(e[0]):[];for(var a=-1,o=r(i);++a<i;)for(var u=e[a],s=-1;++s<i;)s!=a&&(o[a]=dr(o[a]||u,e[s],t,n));return hi(Dr(o,1),t,n)}function _i(e,t,n){for(var r=-1,a=e.length,o=t.length,u={};++r<a;){var s=r<o?t[r]:i;n(u,e[r],s)}return u}function Di(e){return qo(e)?e:[]}function vi(e){return"function"==typeof e?e:is}function yi(e,t){return jo(e)?e:Ea(e,t)?[e]:La(vu(e))}var Ei=$r;function Ai(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:ii(e,t,n)}var Ci=it||function(e){return mt.clearTimeout(e)};function Fi(e,t){if(t)return e.slice();var n=e.length,r=Xe?Xe(n):new e.constructor(n);return e.copy(r),r}function bi(e){var t=new e.constructor(e.byteLength);return new je(t).set(new je(e)),t}function Si(e,t){var n=t?bi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function xi(e,t){if(e!==t){var n=e!==i,r=null===e,a=e==e,o=lu(e),u=t!==i,s=null===t,l=t==t,c=lu(t);if(!s&&!c&&!o&&e>t||o&&u&&l&&!s&&!c||r&&u&&l||!n&&l||!a)return 1;if(!r&&!o&&!c&&e<t||c&&n&&a&&!r&&!o||s&&n&&a||!u&&a||!l)return-1}return 0}function Bi(e,t,n,i){for(var a=-1,o=e.length,u=n.length,s=-1,l=t.length,c=vn(o-u,0),h=r(l+c),d=!i;++s<l;)h[s]=t[s];for(;++a<u;)(d||a<o)&&(h[n[a]]=e[a]);for(;c--;)h[s++]=e[a++];return h}function wi(e,t,n,i){for(var a=-1,o=e.length,u=-1,s=n.length,l=-1,c=t.length,h=vn(o-s,0),d=r(h+c),p=!i;++a<h;)d[a]=e[a];for(var f=a;++l<c;)d[f+l]=t[l];for(;++u<s;)(p||a<o)&&(d[f+n[u]]=e[a++]);return d}function Mi(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Ti(e,t,n,r){var a=!n;n||(n={});for(var o=-1,u=t.length;++o<u;){var s=t[o],l=r?r(n[s],e[s],s,n,e):i;l===i&&(l=e[s]),a?or(n,s,l):nr(n,s,l)}return n}function Pi(e,t){return function(n,r){var i=jo(n)?Bt:ir,a=t?t():{};return i(n,e,la(r,2),a)}}function Ri(e){return $r((function(t,n){var r=-1,a=n.length,o=a>1?n[a-1]:i,u=a>2?n[2]:i;for(o=e.length>3&&"function"==typeof o?(a--,o):i,u&&ya(n[0],n[1],u)&&(o=a<3?i:o,a=1),t=xe(t);++r<a;){var s=n[r];s&&e(t,s,r,o)}return t}))}function Ii(e,t){return function(n,r){if(null==n)return n;if(!Ko(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=xe(n);(t?a--:++a<i)&&!1!==r(o[a],a,o););return n}}function Ni(e){return function(t,n,r){for(var i=-1,a=xe(t),o=r(t),u=o.length;u--;){var s=o[e?u:++i];if(!1===n(a[s],s,a))break}return t}}function Li(e){return function(t){var n=sn(t=vu(t))?mn(t):i,r=n?n[0]:t.charAt(0),a=n?Ai(n,1).join(""):t.slice(1);return r[e]()+a}}function Oi(e){return function(t){return Ot(Qu(Gu(t).replace(et,"")),e,"")}}function ki(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Wn(e.prototype),r=e.apply(n,t);return tu(r)?r:n}}function Ui(e){return function(t,n,r){var a=xe(t);if(!Ko(t)){var o=la(n,3);t=Pu(t),n=function(e){return o(a[e],e,a)}}var u=e(t,n,r);return u>-1?a[o?t[u]:u]:i}}function zi(e){return ra((function(t){var n=t.length,r=n,o=Gn.prototype.thru;for(e&&t.reverse();r--;){var u=t[r];if("function"!=typeof u)throw new Me(a);if(o&&!s&&"wrapper"==ua(u))var s=new Gn([],!0)}for(r=s?r:n;++r<n;
vendor: 1,146 bytes, line 2
2){var l=ua(u=t[r]),c="wrapper"==l?oa(u):i;s=c&&Aa(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[ua(c[0])].apply(s,c[3]):1==u.length&&Aa(u)?s[l]():s.thru(u)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&jo(r))return s.plant(r).value();for(var i=0,a=n?t[i].apply(this,e):r;++i<n;)a=t[i].call(this,a);return a}}))}function Vi(e,t,n,a,o,u,s,l,c,d){var p=t&h,f=1&t,m=2&t,g=24&t,_=512&t,D=m?i:ki(e);return function h(){for(var v=arguments.length,y=r(v),E=v;E--;)y[E]=arguments[E];if(g)var A=sa(h),C=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,A);if(a&&(y=Bi(y,a,o,g)),u&&(y=wi(y,u,s,g)),v-=C,g&&v<d){var F=hn(y,A);return qi(e,t,Vi,h.placeholder,n,y,F,l,c,d-v)}var b=f?n:this,S=m?b[e]:e;return v=y.length,l?y=function(e,t){var n=e.length,r=yn(t.length,n),a=Mi(e);for(;r--;){var o=t[r];e[r]=va(o,n)?a[o]:i}return e}(y,l):_&&v>1&&y.reverse(),p&&c<v&&(y.length=c),this&&this!==mt&&this instanceof h&&(S=D||ki(S)),S.apply(b,y)}}function Wi(e,t){return function(n,r){return function(e,t,n,r){return Er(e,(function(e,i,a){t(r,n(e),i,a)})),r}(n,e,t(r),{})}}function Hi(e,t){return function(n,r){var a;if(n===i&&r===i)return t;
vendor: 5,925 bytes, line 2
2if(n!==i&&(a=n),r!==i){if(a===i)return r;"string"==typeof n||"string"==typeof r?(n=ci(n),r=ci(r)):(n=li(n),r=li(r)),a=e(n,r)}return a}}function Gi(e){return ra((function(t){return t=Nt(t,Zt(la())),$r((function(n){var r=this;return e(t,(function(e){return xt(e,r,n)}))}))}))}function ji(e,t){var n=(t=t===i?" ":ci(t)).length;if(n<2)return n?Yr(t,e):t;var r=Yr(t,ft(e/fn(t)));return sn(t)?Ai(mn(r),0,e).join(""):r.slice(0,e)}function Xi(e){return function(t,n,a){return a&&"number"!=typeof a&&ya(t,n,a)&&(n=a=i),t=fu(t),n===i?(n=t,t=0):n=fu(n),function(e,t,n,i){for(var a=-1,o=vn(ft((t-e)/(n||1)),0),u=r(o);o--;)u[i?o:++a]=e,e+=n;return u}(t,n,a=a===i?t<n?1:-1:fu(a),e)}}function Ki(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=_u(t),n=_u(n)),e(t,n)}}function qi(e,t,n,r,a,o,u,s,h,d){var p=8&t;t|=p?l:c,4&(t&=~(p?c:l))||(t&=-4);var f=[e,t,a,p?o:i,p?u:i,p?i:o,p?i:u,s,h,d],m=n.apply(i,f);return Aa(e)&&Ma(m,f),m.placeholder=r,Ra(m,e,t)}function Ji(e){var t=Se[e];return function(e,n){if(e=_u(e),(n=null==n?0:yn(mu(n),292))&&yt(e)){var r=(vu(e)+"e").split("e");return+((r=(vu(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Yi=Bn&&1/dn(new Bn([,-0]))[1]==p?function(e){return new Bn(e)}:ls;function $i(e){return function(t){var n=ma(t);return n==b?ln(t):n==M?pn(t):function(e,t){return Nt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Qi(e,t,n,o,p,f,m,g){var _=2&t;if(!_&&"function"!=typeof e)throw new Me(a);var D=o?o.length:0;if(D||(t&=-97,o=p=i),m=m===i?m:vn(mu(m),0),g=g===i?g:mu(g),D-=p?p.length:0,t&c){var v=o,y=p;o=p=i}var E=_?i:oa(e),A=[e,t,n,o,p,v,y,f,m,g];if(E&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,o=r==h&&8==n||r==h&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!o)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var s=t[3];if(s){var l=e[3];e[3]=l?Bi(l,s,t[4]):s,e[4]=l?hn(e[3],u):t[4]}(s=t[5])&&(l=e[5],e[5]=l?wi(l,s,t[6]):s,e[6]=l?hn(e[5],u):t[6]);(s=t[7])&&(e[7]=s);r&h&&(e[8]=null==e[8]?t[8]:yn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(A,E),e=A[0],t=A[1],n=A[2],o=A[3],p=A[4],!(g=A[9]=A[9]===i?_?0:e.length:vn(A[9]-D,0))&&24&t&&(t&=-25),t&&1!=t)C=8==t||t==s?function(e,t,n){var a=ki(e);return function o(){for(var u=arguments.length,s=r(u),l=u,c=sa(o);l--;)s[l]=arguments[l];var h=u<3&&s[0]!==c&&s[u-1]!==c?[]:hn(s,c);return(u-=h.length)<n?qi(e,t,Vi,o.placeholder,i,s,h,i,i,n-u):xt(this&&this!==mt&&this instanceof o?a:e,this,s)}}(e,t,g):t!=l&&33!=t||p.length?Vi.apply(i,A):function(e,t,n,i){var a=1&t,o=ki(e);return function t(){for(var u=-1,s=arguments.length,l=-1,c=i.length,h=r(c+s),d=this&&this!==mt&&this instanceof t?o:e;++l<c;)h[l]=i[l];for(;s--;)h[l++]=arguments[++u];return xt(d,a?n:this,h)}}(e,t,n,o);else var C=function(e,t,n){var r=1&t,i=ki(e);return function t(){return(this&&this!==mt&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return Ra((E?ti:Ma)(C,A),e,t)}function Zi(e,t,n,r){return e===i||Vo(e,Re[n])&&!Le.call(r,n)?t:e}function ea(e,t,n,r,a,o){return tu(e)&&tu(t)&&(o.set(t,e),Hr(e,t,i,ea,o),o.delete(t)),e}function ta(e){return au(e)?i:e}function na(e,t,n,r,a,o){var u=1&n,s=e.length,l=t.length;if(s!=l&&!(u&&l>s))return!1;var c=o.get(e),h=o.get(t);if(c&&h)return c==t&&h==e;var d=-1,p=!0,f=2&n?new Jn:i;for(o.set(e,t),o.set(t,e);++d<s;){var m=e[d],g=t[d];if(r)var _=u?r(g,m,d,t,e,o):r(m,g,d,e,t,o);if(_!==i){if(_)continue;p=!1;break}if(f){if(!Ut(t,(function(e,t){if(!tn(f,t)&&(m===e||a(m,e,n,r,o)))return f.push(t)}))){p=!1;break}}else if(m!==g&&!a(m,g,n,r,o)){p=!1;break}}return o.delete(e),o.delete(t),p}function ra(e){return Pa(xa(e,i,ja),e+"")}function ia(e){return br(e,Pu,pa)}function aa(e){return br(e,Ru,fa)}var oa=Tn?function(e){return Tn.get(e)}:ls;function ua(e){for(var t=e.name+"",n=Pn[t],r=Le.call(Pn,t)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==e)return i.name}return t}function sa(e){return(Le.call(Vn,"placeholder")?Vn:e).placeholder}function la(){var e=Vn.iteratee||as;return e=e===as?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function ca(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ha(e){for(var t=Pu(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,ba(i)]}return t}function da(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Nr(n)?n:i}var pa=_t?function(e){return null==e?[]:(e=xe(e),Pt(_t(e),(function(t){return Je.call(e,t)})))}:gs,fa=_t?function(e){for(var t=[];e;)Lt(t,pa(e)),e=Ke(e);return t}:gs,ma=Sr;function ga(e,t,n){for(var r=-1,i=(t=yi(t,e)).length,a=!1;++r<i;){var o=Oa(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&eu(i)&&va(o,i)&&(jo(e)||Go(e))}function _a(e){return"function"!=typeof e.constructor||Fa(e)?{}:Wn(Ke(e))}function Da(e){return jo(e)||Go(e)||!!($e&&e&&e[$e])}function va(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&ye.test(e))&&e>-1&&e%1==0&&e<t}function ya(e,t,n){if(!tu(n))return!1;var r=typeof t;return!!("number"==r?Ko(n)&&va(t,n.length):"string"==r&&t in n)&&Vo(n[t],e)}function Ea(e,t){if(jo(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!lu(e))||(ne.test(e)||!te.test(e)||null!=t&&e in xe(t))}function Aa(e){var t=ua(e),n=Vn[t];if("function"!=typeof n||!(t in jn.prototype))return!1;if(e===n)return!0;var r=oa(n);return!!r&&e===r[0]}(bn&&ma(new bn(new ArrayBuffer(1)))!=N||Sn&&ma(new Sn)!=b||xn&&ma(xn.resolve())!=B||Bn&&ma(new Bn)!=M||wn&&ma(new wn)!=R)&&(ma=function(e){var t=Sr(e),n=t==x?e.constructor:i,r=n?ka(n):"";if(r)switch(r){case Rn:return N;case In:return b;case Nn:return B;case Ln:return M;case On:return R}return t});var Ca=Ie?Qo:_s;function Fa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Re)}function ba(e){return e==e&&!tu(e)}function Sa(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==i||e in xe(n)))}}
vendor: 4,894 bytes, line 2
2function xa(e,t,n){return t=vn(t===i?e.length-1:t,0),function(){for(var i=arguments,a=-1,o=vn(i.length-t,0),u=r(o);++a<o;)u[a]=i[t+a];a=-1;for(var s=r(t+1);++a<t;)s[a]=i[a];return s[t]=n(u),xt(e,this,s)}}function Ba(e,t){return t.length<2?e:Fr(e,ii(t,0,-1))}function wa(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ma=Ia(ti),Ta=pt||function(e,t){return mt.setTimeout(e,t)},Pa=Ia(ni);function Ra(e,t,n){var r=t+"";return Pa(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return wt(_,(function(n){var r="_."+n[0];t&n[1]&&!Rt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ce):[]}(r),n)))}function Ia(e){var t=0,n=0;return function(){var r=En(),a=16-(r-n);if(n=r,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Na(e,t){var n=-1,r=e.length,a=r-1;for(t=t===i?r:t;++n<t;){var o=Jr(n,a),u=e[o];e[o]=e[n],e[n]=u}return e.length=t,e}var La=function(e){var t=No(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,i){t.push(r?i.replace(pe,"$1"):n||e)})),t}));function Oa(e){if("string"==typeof e||lu(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ka(e){if(null!=e){try{return Ne.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ua(e){if(e instanceof jn)return e.clone();var t=new Gn(e.__wrapped__,e.__chain__);return t.__actions__=Mi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var za=$r((function(e,t){return qo(e)?dr(e,Dr(t,1,qo,!0)):[]})),Va=$r((function(e,t){var n=Ya(t);return qo(n)&&(n=i),qo(e)?dr(e,Dr(t,1,qo,!0),la(n,2)):[]})),Wa=$r((function(e,t){var n=Ya(t);return qo(n)&&(n=i),qo(e)?dr(e,Dr(t,1,qo,!0),i,n):[]}));function Ha(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:mu(n);return i<0&&(i=vn(r+i,0)),Wt(e,la(t,3),i)}function Ga(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r-1;return n!==i&&(a=mu(n),a=n<0?vn(r+a,0):yn(a,r-1)),Wt(e,la(t,3),a,!0)}function ja(e){return(null==e?0:e.length)?Dr(e,1):[]}function Xa(e){return e&&e.length?e[0]:i}var Ka=$r((function(e){var t=Nt(e,Di);return t.length&&t[0]===e[0]?Mr(t):[]})),qa=$r((function(e){var t=Ya(e),n=Nt(e,Di);return t===Ya(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Mr(n,la(t,2)):[]})),Ja=$r((function(e){var t=Ya(e),n=Nt(e,Di);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Mr(n,i,t):[]}));function Ya(e){var t=null==e?0:e.length;return t?e[t-1]:i}var $a=$r(Qa);function Qa(e,t){return e&&e.length&&t&&t.length?Kr(e,t):e}var Za=ra((function(e,t){var n=null==e?0:e.length,r=ur(e,t);return qr(e,Nt(t,(function(e){return va(e,n)?+e:e})).sort(xi)),r}));function eo(e){return null==e?e:Fn.call(e)}var to=$r((function(e){return hi(Dr(e,1,qo,!0))})),no=$r((function(e){var t=Ya(e);return qo(t)&&(t=i),hi(Dr(e,1,qo,!0),la(t,2))})),ro=$r((function(e){var t=Ya(e);return t="function"==typeof t?t:i,hi(Dr(e,1,qo,!0),i,t)}));function io(e){if(!e||!e.length)return[];var t=0;return e=Pt(e,(function(e){if(qo(e))return t=vn(e.length,t),!0})),$t(t,(function(t){return Nt(e,Kt(t))}))}function ao(e,t){if(!e||!e.length)return[];var n=io(e);return null==t?n:Nt(n,(function(e){return xt(t,i,e)}))}var oo=$r((function(e,t){return qo(e)?dr(e,t):[]})),uo=$r((function(e){return gi(Pt(e,qo))})),so=$r((function(e){var t=Ya(e);return qo(t)&&(t=i),gi(Pt(e,qo),la(t,2))})),lo=$r((function(e){var t=Ya(e);return t="function"==typeof t?t:i,gi(Pt(e,qo),i,t)})),co=$r(io);var ho=$r((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,ao(e,n)}));function po(e){var t=Vn(e);return t.__chain__=!0,t}function fo(e,t){return t(e)}var mo=ra((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return ur(t,e)};return!(t>1||this.__actions__.length)&&r instanceof jn&&va(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:fo,args:[a],thisArg:i}),new Gn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(a)}));var go=Pi((function(e,t,n){Le.call(e,n)?++e[n]:or(e,n,1)}));var _o=Ui(Ha),Do=Ui(Ga);function vo(e,t){return(jo(e)?wt:pr)(e,la(t,3))}function yo(e,t){return(jo(e)?Mt:fr)(e,la(t,3))}var Eo=Pi((function(e,t,n){Le.call(e,n)?e[n].push(t):or(e,n,[t])}));var Ao=$r((function(e,t,n){var i=-1,a="function"==typeof t,o=Ko(e)?r(e.length):[];return pr(e,(function(e){o[++i]=a?xt(t,e,n):Tr(e,t,n)})),o})),Co=Pi((function(e,t,n){or(e,n,t)}));function Fo(e,t){return(jo(e)?Nt:zr)(e,la(t,3))}var bo=Pi((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var So=$r((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ya(e,t[0],t[1])?t=[]:n>2&&ya(t[0],t[1],t[2])&&(t=[t[0]]),jr(e,Dr(t,1),[])})),xo=ct||function(){return mt.Date.now()};
vendor: 2,759 bytes, line 2
2function Bo(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Qi(e,h,i,i,i,i,t)}function wo(e,t){var n;if("function"!=typeof t)throw new Me(a);return e=mu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Mo=$r((function(e,t,n){var r=1;if(n.length){var i=hn(n,sa(Mo));r|=l}return Qi(e,r,t,n,i)})),To=$r((function(e,t,n){var r=3;if(n.length){var i=hn(n,sa(To));r|=l}return Qi(t,r,e,n,i)}));function Po(e,t,n){var r,o,u,s,l,c,h=0,d=!1,p=!1,f=!0;if("function"!=typeof e)throw new Me(a);function m(t){var n=r,a=o;return r=o=i,h=t,s=e.apply(a,n)}function g(e){var n=e-c;return c===i||n>=t||n<0||p&&e-h>=u}function _(){var e=xo();if(g(e))return D(e);l=Ta(_,function(e){var n=t-(e-c);return p?yn(n,u-(e-h)):n}(e))}function D(e){return l=i,f&&r?m(e):(r=o=i,s)}function v(){var e=xo(),n=g(e);if(r=arguments,o=this,c=e,n){if(l===i)return function(e){return h=e,l=Ta(_,t),d?m(e):s}(c);if(p)return Ci(l),l=Ta(_,t),m(c)}return l===i&&(l=Ta(_,t)),s}return t=_u(t)||0,tu(n)&&(d=!!n.leading,u=(p="maxWait"in n)?vn(_u(n.maxWait)||0,t):u,f="trailing"in n?!!n.trailing:f),v.cancel=function(){l!==i&&Ci(l),h=0,r=c=o=l=i},v.flush=function(){return l===i?s:D(xo())},v}var Ro=$r((function(e,t){return hr(e,1,t)})),Io=$r((function(e,t,n){return hr(e,_u(t)||0,n)}));function No(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Me(a);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(No.Cache||qn),n}function Lo(e){if("function"!=typeof e)throw new Me(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}No.Cache=qn;var Oo=Ei((function(e,t){var n=(t=1==t.length&&jo(t[0])?Nt(t[0],Zt(la())):Nt(Dr(t,1),Zt(la()))).length;return $r((function(r){for(var i=-1,a=yn(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return xt(e,this,r)}))})),ko=$r((function(e,t){var n=hn(t,sa(ko));return Qi(e,l,i,t,n)})),Uo=$r((function(e,t){var n=hn(t,sa(Uo));return Qi(e,c,i,t,n)})),zo=ra((function(e,t){return Qi(e,d,i,i,i,t)}));function Vo(e,t){return e===t||e!=e&&t!=t}var Wo=Ki(xr),Ho=Ki((function(e,t){return e>=t})),Go=Pr(function(){return arguments}())?Pr:function(e){return nu(e)&&Le.call(e,"callee")&&!Je.call(e,"callee")},jo=r.isArray,Xo=Et?Zt(Et):function(e){return nu(e)&&Sr(e)==I};function Ko(e){return null!=e&&eu(e.length)&&!Qo(e)}function qo(e){return nu(e)&&Ko(e)}var Jo=vt||_s,Yo=At?Zt(At):function(e){return nu(e)&&Sr(e)==E};function $o(e){if(!nu(e))return!1;var t=Sr(e);return t==A||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!
vendor: 5,257 bytes, line 2
2au(e)}function Qo(e){if(!tu(e))return!1;var t=Sr(e);return t==C||t==F||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Zo(e){return"number"==typeof e&&e==mu(e)}function eu(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function tu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function nu(e){return null!=e&&"object"==typeof e}var ru=Ct?Zt(Ct):function(e){return nu(e)&&ma(e)==b};function iu(e){return"number"==typeof e||nu(e)&&Sr(e)==S}function au(e){if(!nu(e)||Sr(e)!=x)return!1;var t=Ke(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ne.call(n)==ze}var ou=Ft?Zt(Ft):function(e){return nu(e)&&Sr(e)==w};var uu=bt?Zt(bt):function(e){return nu(e)&&ma(e)==M};function su(e){return"string"==typeof e||!jo(e)&&nu(e)&&Sr(e)==T}function lu(e){return"symbol"==typeof e||nu(e)&&Sr(e)==P}var cu=St?Zt(St):function(e){return nu(e)&&eu(e.length)&&!!st[Sr(e)]};var hu=Ki(Ur),du=Ki((function(e,t){return e<=t}));function pu(e){if(!e)return[];if(Ko(e))return su(e)?mn(e):Mi(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=ma(e);return(t==b?ln:t==M?dn:Vu)(e)}function fu(e){return e?(e=_u(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function mu(e){var t=fu(e),n=t%1;return t==t?n?t-n:t:0}function gu(e){return e?sr(mu(e),0,g):0}function _u(e){if("number"==typeof e)return e;if(lu(e))return m;if(tu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=tu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var n=_e.test(e);return n||ve.test(e)?dt(e.slice(2),n?2:8):ge.test(e)?m:+e}function Du(e){return Ti(e,Ru(e))}function vu(e){return null==e?"":ci(e)}var yu=Ri((function(e,t){if(Fa(t)||Ko(t))Ti(t,Pu(t),e);else for(var n in t)Le.call(t,n)&&nr(e,n,t[n])})),Eu=Ri((function(e,t){Ti(t,Ru(t),e)})),Au=Ri((function(e,t,n,r){Ti(t,Ru(t),e,r)})),Cu=Ri((function(e,t,n,r){Ti(t,Pu(t),e,r)})),Fu=ra(ur);var bu=$r((function(e,t){e=xe(e);var n=-1,r=t.length,a=r>2?t[2]:i;for(a&&ya(t[0],t[1],a)&&(r=1);++n<r;)for(var o=t[n],u=Ru(o),s=-1,l=u.length;++s<l;){var c=u[s],h=e[c];(h===i||Vo(h,Re[c])&&!Le.call(e,c))&&(e[c]=o[c])}return e})),Su=$r((function(e){return e.push(i,ea),xt(Nu,i,e)}));function xu(e,t,n){var r=null==e?i:Fr(e,t);return r===i?n:r}function Bu(e,t){return null!=e&&ga(e,t,wr)}var wu=Wi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ue.call(t)),e[t]=n}),ts(is)),Mu=Wi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ue.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),la),Tu=$r(Tr);function Pu(e){return Ko(e)?$n(e):Or(e)}function Ru(e){return Ko(e)?$n(e,!0):kr(e)}var Iu=Ri((function(e,t,n){Hr(e,t,n)})),Nu=Ri((function(e,t,n,r){Hr(e,t,n,r)})),Lu=ra((function(e,t){var n={};if(null==e)return n;var r=!1;t=Nt(t,(function(t){return t=yi(t,e),r||(r=t.length>1),t})),Ti(e,aa(e),n),r&&(n=lr(n,7,ta));for(var i=t.length;i--;)di(n,t[i]);return n}));var Ou=ra((function(e,t){return null==e?{}:function(e,t){return Xr(e,t,(function(t,n){return Bu(e,n)}))}(e,t)}));function ku(e,t){if(null==e)return{};var n=Nt(aa(e),(function(e){return[e]}));return t=la(t),Xr(e,n,(function(e,n){return t(e,n[0])}))}var Uu=$i(Pu),zu=$i(Ru);function Vu(e){return null==e?[]:en(e,Pu(e))}var Wu=Oi((function(e,t,n){return t=t.toLowerCase(),e+(n?Hu(t):t)}));function Hu(e){return $u(vu(e).toLowerCase())}function Gu(e){return(e=vu(e))&&e.replace(Ee,an).replace(tt,"")}var ju=Oi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Xu=Oi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ku=Li("toLowerCase");var qu=Oi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ju=Oi((function(e,t,n){return e+(n?" ":"")+$u(t)}));var Yu=Oi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),$u=Li("toUpperCase");function Qu(e,t,n){return e=vu(e),(t=n?i:t)===i?function(e){return at.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(he)||[]}(e):e.match(t)||[]}var Zu=$r((function(e,t){try{return xt(e,i,t)}catch(e){return $o(e)?e:new Fe(e)}})),es=ra((function(e,t){return wt(t,(function(t){t=Oa(t),or(e,t,Mo(e[t],e))})),e}));function ts(e){return function(){return e}}var ns=zi(),rs=zi(!0);function is(e){return e}function as(e){return Lr("function"==typeof e?e:lr(e,1))}var os=$r((function(e,t){return function(n){return Tr(n,e,t)}})),us=$r((function(e,t){return function(n){return Tr(e,n,t)}}));function ss(e,t,n){var r=Pu(t),i=Cr(t,r);null!=n||tu(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Cr(t,Pu(t)));var a=!(tu(n)&&"chain"in n&&!n.chain),o=Qo(e);return wt(i,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=Mi(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Lt([this.value()],arguments))})})),e}function ls(){}var cs=Gi(Nt),hs=Gi(Tt),ds=Gi(Ut);function ps(e){return Ea(e)?Kt(Oa(e)):function(e){return function(t){return Fr(t,e)}}(e)}var fs=Xi(),ms=Xi(!0);function gs(){return[]}function _s(){return!1}var Ds=Hi((function(e,t){return e+t}),0),vs=Ji("ceil"),ys=Hi((function(e,t){return e/t}),1),Es=Ji("floor");var As,Cs=Hi((function(e,t){return e*t}),1),Fs=Ji("round"),bs=Hi((function(e,t){return e-t}
vendor: 4,837 bytes, line 2
2),0);return Vn.after=function(e,t){if("function"!=typeof t)throw new Me(a);return e=mu(e),function(){if(--e<1)return t.apply(this,arguments)}},Vn.ary=Bo,Vn.assign=yu,Vn.assignIn=Eu,Vn.assignInWith=Au,Vn.assignWith=Cu,Vn.at=Fu,Vn.before=wo,Vn.bind=Mo,Vn.bindAll=es,Vn.bindKey=To,Vn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return jo(e)?e:[e]},Vn.chain=po,Vn.chunk=function(e,t,n){t=(n?ya(e,t,n):t===i)?1:vn(mu(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,u=0,s=r(ft(a/t));o<a;)s[u++]=ii(e,o,o+=t);return s},Vn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i},Vn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Lt(jo(n)?Mi(n):[n],Dr(t,1))},Vn.cond=function(e){var t=null==e?0:e.length,n=la();return e=t?Nt(e,(function(e){if("function"!=typeof e[1])throw new Me(a);return[n(e[0]),e[1]]})):[],$r((function(n){for(var r=-1;++r<t;){var i=e[r];if(xt(i[0],this,n))return xt(i[1],this,n)}}))},Vn.conforms=function(e){return function(e){var t=Pu(e);return function(n){return cr(n,e,t)}}(lr(e,1))},Vn.constant=ts,Vn.countBy=go,Vn.create=function(e,t){var n=Wn(e);return null==t?n:ar(n,t)},Vn.curry=function e(t,n,r){var a=Qi(t,8,i,i,i,i,i,n=r?i:n);return a.placeholder=e.placeholder,a},Vn.curryRight=function e(t,n,r){var a=Qi(t,s,i,i,i,i,i,n=r?i:n);return a.placeholder=e.placeholder,a},Vn.debounce=Po,Vn.defaults=bu,Vn.defaultsDeep=Su,Vn.defer=Ro,Vn.delay=Io,Vn.difference=za,Vn.differenceBy=Va,Vn.differenceWith=Wa,Vn.drop=function(e,t,n){var r=null==e?0:e.length;return r?ii(e,(t=n||t===i?1:mu(t))<0?0:t,r):[]},Vn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?ii(e,0,(t=r-(t=n||t===i?1:mu(t)))<0?0:t):[]},Vn.dropRightWhile=function(e,t){return e&&e.length?fi(e,la(t,3),!0,!0):[]},Vn.dropWhile=function(e,t){return e&&e.length?fi(e,la(t,3),!0):[]},Vn.fill=function(e,t,n,r){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&ya(e,t,n)&&(n=0,r=a),function(e,t,n,r){var a=e.length;for((n=mu(n))<0&&(n=-n>a?0:a+n),(r=r===i||r>a?a:mu(r))<0&&(r+=a),r=n>r?0:gu(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Vn.filter=function(e,t){return(jo(e)?Pt:_r)(e,la(t,3))},Vn.flatMap=function(e,t){return Dr(Fo(e,t),1)},Vn.flatMapDeep=function(e,t){return Dr(Fo(e,t),p)},Vn.flatMapDepth=function(e,t,n){return n=n===i?1:mu(n),Dr(Fo(e,t),n)},Vn.flatten=ja,Vn.flattenDeep=function(e){return(null==e?0:e.length)?Dr(e,p):[]},Vn.flattenDepth=function(e,t){return(null==e?0:e.length)?Dr(e,t=t===i?1:mu(t)):[]},Vn.flip=function(e){return Qi(e,512)},Vn.flow=ns,Vn.flowRight=rs,Vn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Vn.functions=function(e){return null==e?[]:Cr(e,Pu(e))},Vn.functionsIn=function(e){return null==e?[]:Cr(e,Ru(e))},Vn.groupBy=Eo,Vn.initial=function(e){return(null==e?0:e.length)?ii(e,0,-1):[]},Vn.intersection=Ka,Vn.intersectionBy=qa,Vn.intersectionWith=Ja,Vn.invert=wu,Vn.invertBy=Mu,Vn.invokeMap=Ao,Vn.iteratee=as,Vn.keyBy=Co,Vn.keys=Pu,Vn.keysIn=Ru,Vn.map=Fo,Vn.mapKeys=function(e,t){var n={};return t=la(t,3),Er(e,(function(e,r,i){or(n,t(e,r,i),e)})),n},Vn.mapValues=function(e,t){var n={};return t=la(t,3),Er(e,(function(e,r,i){or(n,r,t(e,r,i))})),n},Vn.matches=function(e){return Vr(lr(e,1))},Vn.matchesProperty=function(e,t){return Wr(e,lr(t,1))},Vn.memoize=No,Vn.merge=Iu,Vn.mergeWith=Nu,Vn.method=os,Vn.methodOf=us,Vn.mixin=ss,Vn.negate=Lo,Vn.nthArg=function(e){return e=mu(e),$r((function(t){return Gr(t,e)}))},Vn.omit=Lu,Vn.omitBy=function(e,t){return ku(e,Lo(la(t)))},Vn.once=function(e){return wo(2,e)},Vn.orderBy=function(e,t,n,r){return null==e?[]:(jo(t)||(t=null==t?[]:[t]),jo(n=r?i:n)||(n=null==n?[]:[n]),jr(e,t,n))},Vn.over=cs,Vn.overArgs=Oo,Vn.overEvery=hs,Vn.overSome=ds,Vn.partial=ko,Vn.partialRight=Uo,Vn.partition=bo,Vn.pick=Ou,Vn.pickBy=ku,Vn.property=ps,Vn.propertyOf=function(e){return function(t){return null==e?i:Fr(e,t)}},Vn.pull=$a,Vn.pullAll=Qa,Vn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Kr(e,t,la(n,2)):e},Vn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Kr(e,t,i,n):e},Vn.pullAt=Za,Vn.range=fs,Vn.rangeRight=ms,Vn.rearg=zo,Vn.reject=function(e,t){return(jo(e)?Pt:_r)(e,Lo(la(t,3)))},Vn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],a=e.length;for(t=la(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return qr(e,i),n},Vn.rest=function(e,t){if("function"!=typeof e)throw new Me(a);return $r(e,t=t===i?t:mu(t))},Vn.reverse=eo,Vn.sampleSize=function(e,t,n){return t=(n?ya(e,t,n):t===i)?1:mu(t),(jo(e)?Zn:Zr)(e,t)},Vn.set=function(e,t,n){return null==e?e:ei(e,t,n)},Vn.setWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:ei(e,t,n,r)},Vn.shuffle=function(e){return(jo(e)?er:ri)(e)}
vendor: 4,688 bytes, line 2
2,Vn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ya(e,t,n)?(t=0,n=r):(t=null==t?0:mu(t),n=n===i?r:mu(n)),ii(e,t,n)):[]},Vn.sortBy=So,Vn.sortedUniq=function(e){return e&&e.length?si(e):[]},Vn.sortedUniqBy=function(e,t){return e&&e.length?si(e,la(t,2)):[]},Vn.split=function(e,t,n){return n&&"number"!=typeof n&&ya(e,t,n)&&(t=n=i),(n=n===i?g:n>>>0)?(e=vu(e))&&("string"==typeof t||null!=t&&!ou(t))&&!(t=ci(t))&&sn(e)?Ai(mn(e),0,n):e.split(t,n):[]},Vn.spread=function(e,t){if("function"!=typeof e)throw new Me(a);return t=null==t?0:vn(mu(t),0),$r((function(n){var r=n[t],i=Ai(n,0,t);return r&&Lt(i,r),xt(e,this,i)}))},Vn.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},Vn.take=function(e,t,n){return e&&e.length?ii(e,0,(t=n||t===i?1:mu(t))<0?0:t):[]},Vn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ii(e,(t=r-(t=n||t===i?1:mu(t)))<0?0:t,r):[]},Vn.takeRightWhile=function(e,t){return e&&e.length?fi(e,la(t,3),!1,!0):[]},Vn.takeWhile=function(e,t){return e&&e.length?fi(e,la(t,3)):[]},Vn.tap=function(e,t){return t(e),e},Vn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Me(a);return tu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Po(e,t,{leading:r,maxWait:t,trailing:i})},Vn.thru=fo,Vn.toArray=pu,Vn.toPairs=Uu,Vn.toPairsIn=zu,Vn.toPath=function(e){return jo(e)?Nt(e,Oa):lu(e)?[e]:Mi(La(vu(e)))},Vn.toPlainObject=Du,Vn.transform=function(e,t,n){var r=jo(e),i=r||Jo(e)||cu(e);if(t=la(t,4),null==n){var a=e&&e.constructor;n=i?r?new a:[]:tu(e)&&Qo(a)?Wn(Ke(e)):{}}return(i?wt:Er)(e,(function(e,r,i){return t(n,e,r,i)})),n},Vn.unary=function(e){return Bo(e,1)},Vn.union=to,Vn.unionBy=no,Vn.unionWith=ro,Vn.uniq=function(e){return e&&e.length?hi(e):[]},Vn.uniqBy=function(e,t){return e&&e.length?hi(e,la(t,2)):[]},Vn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?hi(e,i,t):[]},Vn.unset=function(e,t){return null==e||di(e,t)},Vn.unzip=io,Vn.unzipWith=ao,Vn.update=function(e,t,n){return null==e?e:pi(e,t,vi(n))},Vn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:pi(e,t,vi(n),r)},Vn.values=Vu,Vn.valuesIn=function(e){return null==e?[]:en(e,Ru(e))},Vn.without=oo,Vn.words=Qu,Vn.wrap=function(e,t){return ko(vi(t),e)},Vn.xor=uo,Vn.xorBy=so,Vn.xorWith=lo,Vn.zip=co,Vn.zipObject=function(e,t){return _i(e||[],t||[],nr)},Vn.zipObjectDeep=function(e,t){return _i(e||[],t||[],ei)},Vn.zipWith=ho,Vn.entries=Uu,Vn.entriesIn=zu,Vn.extend=Eu,Vn.extendWith=Au,ss(Vn,Vn),Vn.add=Ds,Vn.attempt=Zu,Vn.camelCase=Wu,Vn.capitalize=Hu,Vn.ceil=vs,Vn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=_u(n))==n?n:0),t!==i&&(t=(t=_u(t))==t?t:0),sr(_u(e),t,n)},Vn.clone=function(e){return lr(e,4)},Vn.cloneDeep=function(e){return lr(e,5)},Vn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:i)},Vn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:i)},Vn.conformsTo=function(e,t){return null==t||cr(e,t,Pu(t))},Vn.deburr=Gu,Vn.defaultTo=function(e,t){return null==e||e!=e?t:e},Vn.divide=ys,Vn.endsWith=function(e,t,n){e=vu(e),t=ci(t);var r=e.length,a=n=n===i?r:sr(mu(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},Vn.eq=Vo,Vn.escape=function(e){return(e=vu(e))&&$.test(e)?e.replace(J,on):e},Vn.escapeRegExp=function(e){return(e=vu(e))&&ae.test(e)?e.replace(ie,"\\$&"):e},Vn.every=function(e,t,n){var r=jo(e)?Tt:mr;return n&&ya(e,t,n)&&(t=i),r(e,la(t,3))},Vn.find=_o,Vn.findIndex=Ha,Vn.findKey=function(e,t){return Vt(e,la(t,3),Er)},Vn.findLast=Do,Vn.findLastIndex=Ga,Vn.findLastKey=function(e,t){return Vt(e,la(t,3),Ar)},Vn.floor=Es,Vn.forEach=vo,Vn.forEachRight=yo,Vn.forIn=function(e,t){return null==e?e:vr(e,la(t,3),Ru)},Vn.forInRight=function(e,t){return null==e?e:yr(e,la(t,3),Ru)},Vn.forOwn=function(e,t){return e&&Er(e,la(t,3))},Vn.forOwnRight=function(e,t){return e&&Ar(e,la(t,3))},Vn.get=xu,Vn.gt=Wo,Vn.gte=Ho,Vn.has=function(e,t){return null!=e&&ga(e,t,Br)},Vn.hasIn=Bu,Vn.head=Xa,Vn.identity=is,Vn.includes=function(e,t,n,r){e=Ko(e)?e:Vu(e),n=n&&!r?mu(n):0;var i=e.length;return n<0&&(n=vn(i+n,0)),su(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Ht(e,t,n)>-1},Vn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:mu(n);return i<0&&(i=vn(r+i,0)),Ht(e,t,i)},Vn.inRange=function(e,t,n){return t=fu(t),n===i?(n=t,t=0):n=fu(n),function(e,t,n){return e>=yn(t,n)&&e<vn(t,n)}(e=_u(e),t,n)},Vn.invoke=Tu,Vn.isArguments=Go,Vn.isArray=jo,Vn.isArrayBuffer=Xo,Vn.isArrayLike=Ko,Vn.isArrayLikeObject=qo,Vn.isBoolean=function(e){return!0===e||!1===e||nu(e)&&Sr(e)==y},Vn.isBuffer=Jo,Vn.isDate=Yo,Vn.isElement=function(e){return nu(e)&&1===e.nodeType&&!au(e)},Vn.isEmpty=function(e){if(null==e)return!0;
vendor: 4,364 bytes, line 2
2if(Ko(e)&&(jo(e)||"string"==typeof e||"function"==typeof e.splice||Jo(e)||cu(e)||Go(e)))return!e.length;var t=ma(e);if(t==b||t==M)return!e.size;if(Fa(e))return!Or(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Vn.isEqual=function(e,t){return Rr(e,t)},Vn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?Rr(e,t,i,n):!!r},Vn.isError=$o,Vn.isFinite=function(e){return"number"==typeof e&&yt(e)},Vn.isFunction=Qo,Vn.isInteger=Zo,Vn.isLength=eu,Vn.isMap=ru,Vn.isMatch=function(e,t){return e===t||Ir(e,t,ha(t))},Vn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Ir(e,t,ha(t),n)},Vn.isNaN=function(e){return iu(e)&&e!=+e},Vn.isNative=function(e){if(Ca(e))throw new Fe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(e)},Vn.isNil=function(e){return null==e},Vn.isNull=function(e){return null===e},Vn.isNumber=iu,Vn.isObject=tu,Vn.isObjectLike=nu,Vn.isPlainObject=au,Vn.isRegExp=ou,Vn.isSafeInteger=function(e){return Zo(e)&&e>=-9007199254740991&&e<=f},Vn.isSet=uu,Vn.isString=su,Vn.isSymbol=lu,Vn.isTypedArray=cu,Vn.isUndefined=function(e){return e===i},Vn.isWeakMap=function(e){return nu(e)&&ma(e)==R},Vn.isWeakSet=function(e){return nu(e)&&"[object WeakSet]"==Sr(e)},Vn.join=function(e,t){return null==e?"":zt.call(e,t)},Vn.kebabCase=ju,Vn.last=Ya,Vn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==i&&(a=(a=mu(n))<0?vn(r+a,0):yn(a,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):Wt(e,jt,a,!0)},Vn.lowerCase=Xu,Vn.lowerFirst=Ku,Vn.lt=hu,Vn.lte=du,Vn.max=function(e){return e&&e.length?gr(e,is,xr):i},Vn.maxBy=function(e,t){return e&&e.length?gr(e,la(t,2),xr):i},Vn.mean=function(e){return Xt(e,is)},Vn.meanBy=function(e,t){return Xt(e,la(t,2))},Vn.min=function(e){return e&&e.length?gr(e,is,Ur):i},Vn.minBy=function(e,t){return e&&e.length?gr(e,la(t,2),Ur):i},Vn.stubArray=gs,Vn.stubFalse=_s,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=Cs,Vn.nth=function(e,t){return e&&e.length?Gr(e,mu(t)):i},Vn.noConflict=function(){return mt._===this&&(mt._=Ve),this},Vn.noop=ls,Vn.now=xo,Vn.pad=function(e,t,n){e=vu(e);var r=(t=mu(t))?fn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return ji(gt(i),n)+e+ji(ft(i),n)},Vn.padEnd=function(e,t,n){e=vu(e);var r=(t=mu(t))?fn(e):0;return t&&r<t?e+ji(t-r,n):e},Vn.padStart=function(e,t,n){e=vu(e);var r=(t=mu(t))?fn(e):0;return t&&r<t?ji(t-r,n)+e:e},Vn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),An(vu(e).replace(oe,""),t||0)},Vn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ya(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=fu(e),t===i?(t=e,e=0):t=fu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var a=Cn();return yn(e+a*(t-e+ht("1e-"+((a+"").length-1))),t)}return Jr(e,t)},Vn.reduce=function(e,t,n){var r=jo(e)?Ot:Jt,i=arguments.length<3;return r(e,la(t,4),n,i,pr)},Vn.reduceRight=function(e,t,n){var r=jo(e)?kt:Jt,i=arguments.length<3;return r(e,la(t,4),n,i,fr)},Vn.repeat=function(e,t,n){return t=(n?ya(e,t,n):t===i)?1:mu(t),Yr(vu(e),t)},Vn.replace=function(){var e=arguments,t=vu(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vn.result=function(e,t,n){var r=-1,a=(t=yi(t,e)).length;for(a||(a=1,e=i);++r<a;){var o=null==e?i:e[Oa(t[r])];o===i&&(r=a,o=n),e=Qo(o)?o.call(e):o}return e},Vn.round=Fs,Vn.runInContext=e,Vn.sample=function(e){return(jo(e)?Qn:Qr)(e)},Vn.size=function(e){if(null==e)return 0;if(Ko(e))return su(e)?fn(e):e.length;var t=ma(e);return t==b||t==M?e.size:Or(e).length},Vn.snakeCase=qu,Vn.some=function(e,t,n){var r=jo(e)?Ut:ai;return n&&ya(e,t,n)&&(t=i),r(e,la(t,3))},Vn.sortedIndex=function(e,t){return oi(e,t)},Vn.sortedIndexBy=function(e,t,n){return ui(e,t,la(n,2))},Vn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=oi(e,t);if(r<n&&Vo(e[r],t))return r}return-1},Vn.sortedLastIndex=function(e,t){return oi(e,t,!0)},Vn.sortedLastIndexBy=function(e,t,n){return ui(e,t,la(n,2),!0)},Vn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=oi(e,t,!0)-1;if(Vo(e[n],t))return n}return-1},Vn.startCase=Ju,Vn.startsWith=function(e,t,n){return e=vu(e),n=null==n?0:sr(mu(n),0,e.length),t=ci(t),e.slice(n,n+t.length)==t},Vn.subtract=bs,Vn.sum=function(e){return e&&e.length?Yt(e,is):0}
vendor: 5,258 bytes, line 2
2,Vn.sumBy=function(e,t){return e&&e.length?Yt(e,la(t,2)):0},Vn.template=function(e,t,n){var r=Vn.templateSettings;n&&ya(e,t,n)&&(t=i),e=vu(e),t=Au({},t,r,Zi);var a,o,u=Au({},t.imports,r.imports,Zi),s=Pu(u),l=en(u,s),c=0,h=t.interpolate||Ae,d="__p += '",p=Be((t.escape||Ae).source+"|"+h.source+"|"+(h===ee?fe:Ae).source+"|"+(t.evaluate||Ae).source+"|$","g"),f="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ut+"]")+"\n";e.replace(p,(function(t,n,r,i,u,s){return r||(r=i),d+=e.slice(c,s).replace(Ce,un),n&&(a=!0,d+="' +\n__e("+n+") +\n'"),u&&(o=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=s+t.length,t})),d+="';\n";var m=Le.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new Fe("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(o?d.replace(j,""):d).replace(X,"$1").replace(K,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Zu((function(){return be(s,f+"return "+d).apply(i,l)}));if(g.source=d,$o(g))throw g;return g},Vn.times=function(e,t){if((e=mu(e))<1||e>f)return[];var n=g,r=yn(e,g);t=la(t),e-=g;for(var i=$t(r,t);++n<e;)t(n);return i},Vn.toFinite=fu,Vn.toInteger=mu,Vn.toLength=gu,Vn.toLower=function(e){return vu(e).toLowerCase()},Vn.toNumber=_u,Vn.toSafeInteger=function(e){return e?sr(mu(e),-9007199254740991,f):0===e?e:0},Vn.toString=vu,Vn.toUpper=function(e){return vu(e).toUpperCase()},Vn.trim=function(e,t,n){if((e=vu(e))&&(n||t===i))return Qt(e);if(!e||!(t=ci(t)))return e;var r=mn(e),a=mn(t);return Ai(r,nn(r,a),rn(r,a)+1).join("")},Vn.trimEnd=function(e,t,n){if((e=vu(e))&&(n||t===i))return e.slice(0,gn(e)+1);if(!e||!(t=ci(t)))return e;var r=mn(e);return Ai(r,0,rn(r,mn(t))+1).join("")},Vn.trimStart=function(e,t,n){if((e=vu(e))&&(n||t===i))return e.replace(oe,"");if(!e||!(t=ci(t)))return e;var r=mn(e);return Ai(r,nn(r,mn(t))).join("")},Vn.truncate=function(e,t){var n=30,r="...";if(tu(t)){var a="separator"in t?t.separator:a;n="length"in t?mu(t.length):n,r="omission"in t?ci(t.omission):r}var o=(e=vu(e)).length;if(sn(e)){var u=mn(e);o=u.length}if(n>=o)return e;var s=n-fn(r);if(s<1)return r;var l=u?Ai(u,0,s).join(""):e.slice(0,s);if(a===i)return l+r;if(u&&(s+=l.length-s),ou(a)){if(e.slice(s).search(a)){var c,h=l;for(a.global||(a=Be(a.source,vu(me.exec(a))+"g")),a.lastIndex=0;c=a.exec(h);)var d=c.index;l=l.slice(0,d===i?s:d)}}else if(e.indexOf(ci(a),s)!=s){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+r},Vn.unescape=function(e){return(e=vu(e))&&Y.test(e)?e.replace(q,_n):e},Vn.uniqueId=function(e){var t=++Oe;return vu(e)+t},Vn.upperCase=Yu,Vn.upperFirst=$u,Vn.each=vo,Vn.eachRight=yo,Vn.first=Xa,ss(Vn,(As={},Er(Vn,(function(e,t){Le.call(Vn.prototype,t)||(As[t]=e)})),As),{chain:!1}),Vn.VERSION="4.17.21",wt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Vn[e].placeholder=Vn})),wt(["drop","take"],(function(e,t){jn.prototype[e]=function(n){n=n===i?1:vn(mu(n),0);var r=this.__filtered__&&!t?new jn(this):this.clone();return r.__filtered__?r.__takeCount__=yn(n,r.__takeCount__):r.__views__.push({size:yn(n,g),type:e+(r.__dir__<0?"Right":"")}),r},jn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),wt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;jn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:la(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),wt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");jn.prototype[e]=function(){return this[n](1).value()[0]}})),wt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");jn.prototype[e]=function(){return this.__filtered__?new jn(this):this[n](1)}})),jn.prototype.compact=function(){return this.filter(is)},jn.prototype.find=function(e){return this.filter(e).head()},jn.prototype.findLast=function(e){return this.reverse().find(e)},jn.prototype.invokeMap=$r((function(e,t){return"function"==typeof e?new jn(this):this.map((function(n){return Tr(n,e,t)}))})),jn.prototype.reject=function(e){return this.filter(Lo(la(e)))},jn.prototype.slice=function(e,t){e=mu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new jn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=mu(t))<0?n.dropRight(-t):n.take(t-e)),n)},jn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},jn.prototype.toArray=function(){return this.take(g)},Er(jn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=Vn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);a&&(Vn.prototype[t]=function(){var t=this.__wrapped__,u=r?[1]:arguments,s=t instanceof jn,l=u[0],c=s||jo(t),h=function(e){var t=a.apply(Vn,Lt([e],u));return r&&d?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var d=this.__chain__,p=!!this.__actions__.length,f=o&&!d,m=s&&!p;if(!o&&c){t=m?t:new jn(this);var g=e.apply(t,u);return g.__actions__.push({func:fo,args:[h],thisArg:i}),new Gn(g,d)}return f&&m?e.apply(this,u):(g=this.thru(h),f?r?g.value()[0]:g.value():g)})}
vendor: 3,255 bytes, line 2
2)),wt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Te[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Vn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(jo(i)?i:[],e)}return this[n]((function(n){return t.apply(jo(n)?n:[],e)}))}})),Er(jn.prototype,(function(e,t){var n=Vn[t];if(n){var r=n.name+"";Le.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:t,func:n})}})),Pn[Vi(i,2).name]=[{name:"wrapper",func:i}],jn.prototype.clone=function(){var e=new jn(this.__wrapped__);return e.__actions__=Mi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Mi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Mi(this.__views__),e},jn.prototype.reverse=function(){if(this.__filtered__){var e=new jn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},jn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=jo(e),r=t<0,i=n?e.length:0,a=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var a=n[r],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=yn(t,e+o);break;case"takeRight":e=vn(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,u=a.end,s=u-o,l=r?u:o-1,c=this.__iteratees__,h=c.length,d=0,p=yn(s,this.__takeCount__);if(!n||!r&&i==s&&p==s)return mi(e,this.__actions__);var f=[];e:for(;s--&&d<p;){for(var m=-1,g=e[l+=t];++m<h;){var _=c[m],D=_.iteratee,v=_.type,y=D(g);if(2==v)g=y;else if(!y){if(1==v)continue e;break e}}f[d++]=g}return f},Vn.prototype.at=mo,Vn.prototype.chain=function(){return po(this)},Vn.prototype.commit=function(){return new Gn(this.value(),this.__chain__)},Vn.prototype.next=function(){this.__values__===i&&(this.__values__=pu(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Vn.prototype.plant=function(e){for(var t,n=this;n instanceof Hn;){var r=Ua(n);r.__index__=0,r.__values__=i,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},Vn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof jn){var t=e;return this.__actions__.length&&(t=new jn(this)),(t=t.reverse()).__actions__.push({func:fo,args:[eo],thisArg:i}),new Gn(t,this.__chain__)}return this.thru(eo)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,Qe&&(Vn.prototype[Qe]=function(){return this}),Vn}();mt._=Dn,(r=function(){return Dn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},2694:function(e,t,n){"use strict";var r=n(6925);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
vendor: 4,582 bytes, line 2
2;return n.PropTypes=n,n}},5556:function(e,t,n){e.exports=n(2694)()},6925:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:function(e,t,n){"use strict";var r=n(6540),i=n(9982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,u={};function s(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(u[e]=t,e=0;e<t.length;e++)o.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),h=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},f={};function m(e,t,n,r,i,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var _=/[\-:]([a-z])/g;function D(e){return e[1].toUpperCase()}function v(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!h.call(f,e)||!h.call(p,e)&&(d.test(e)?f[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
2-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(_,D);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(_,D);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(_,D);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=Symbol.for("react.element"),A=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),x=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),P=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function N(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var L,O=Object.assign;function k(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var U=!1;function z(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,u=a.length-1;1<=o&&0<=u&&i[o]!==a[u];)u--;for(;1<=o&&0<=u;o--,u--)if(i[o]!==a[u]){if(1!==o||1!==u)do{if(o--,0>--u||i[o]!==a[u]){var s="\n"+i[o].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=o&&0<=u);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?k(e):""}function V(e){switch(e.tag){case 5:return k(e.type);case 16:return k("Lazy");case 13:return k("Suspense");case 19:return k("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case C:return"Fragment";case A:return"Portal";case b:return"Profiler";case F:return"StrictMode";case w:return"Suspense";case M:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case x:return(e.displayName||"Context")+".Consumer";case S:return(e._context.displayName||"Context")+".Provider";case B:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return W(e(t))}catch(e){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===F?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function G(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function j(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function X(e){e._valueTracker||(e._valueTracker=function(e){var t=j(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)}
vendor: 5,039 bytes, line 2
2,set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=j(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return O({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=G(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function $(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function Q(e,t){$(e,t);var n=G(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,G(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+G(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return O({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:G(n)}}function ae(e,t){var n=G(t.value),r=G(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ue(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ue(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ce,he=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(pe).forEach((function(e){fe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}
vendor: 6,826 bytes, line 2
2))}));var _e=O({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function De(e,t){if(t){if(_e[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ye=null;function Ee(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ae=null,Ce=null,Fe=null;function be(e){if(e=vi(e)){if("function"!=typeof Ae)throw Error(a(280));var t=e.stateNode;t&&(t=Ei(t),Ae(e.stateNode,e.type,t))}}function Se(e){Ce?Fe?Fe.push(e):Fe=[e]:Ce=e}function xe(){if(Ce){var e=Ce,t=Fe;if(Fe=Ce=null,be(e),t)for(e=0;e<t.length;e++)be(t[e])}}function Be(e,t){return e(t)}function we(){}var Me=!1;function Te(e,t,n){if(Me)return e(t,n);Me=!0;try{return Be(e,t,n)}finally{Me=!1,(null!==Ce||null!==Fe)&&(we(),xe())}}function Pe(e,t){var n=e.stateNode;if(null===n)return null;var r=Ei(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Re=!1;if(c)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(ce){Re=!1}function Ne(e,t,n,r,i,a,o,u,s){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var Le=!1,Oe=null,ke=!1,Ue=null,ze={onError:function(e){Le=!0,Oe=e}};function Ve(e,t,n,r,i,a,o,u,s){Le=!1,Oe=null,Ne.apply(ze,arguments)}function We(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ge(e){if(We(e)!==e)throw Error(a(188))}function je(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=We(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Ge(i),e;if(o===r)return Ge(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var u=!1,s=i.child;s;){if(s===n){u=!0,n=i,r=o;break}if(s===r){u=!0,r=i,n=o;break}s=s.sibling}if(!u){for(s=o.child;s;){if(s===n){u=!0,n=o,r=i;break}if(s===r){u=!0,r=o,n=i;break}s=s.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?Xe(e):null}function Xe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Xe(e);if(null!==t)return t;e=e.sibling}return null}var Ke=i.unstable_scheduleCallback,qe=i.unstable_cancelCallback,Je=i.unstable_shouldYield,Ye=i.unstable_requestPaint,$e=i.unstable_now,Qe=i.unstable_getCurrentPriorityLevel,Ze=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,at=null;var ot=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ut(e)/st|0)|0},ut=Math.log,st=Math.LN2;var lt=64,ct=4194304;function ht(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=268435455&n;if(0!==o){var u=o&~i;0!==u?r=ht(u):0!==(a&=o)&&(r=ht(a))}else 0!==(o=n&~i)?r=ht(o):0!==a&&(r=ht(a));if(0===r)return 0;if(0!==t&&t!==r&&!(t&i)&&((i=r&-r)>=(a=t&-t)||16===i&&4194240&a))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-ot(t)),r|=e[n],t&=~i;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=lt;return!(4194240&(lt<<=1))&&(lt=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function _t(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function Dt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var vt=0;function yt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Et,At,Ct,Ft,bt,St=!1,xt=[],Bt=null,wt=null,Mt=null,Tt=new Map,Pt=new Map,Rt=[],It="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Nt(e,t){switch(e){case"focusin":case"focusout":Bt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":Mt=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function Lt(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&(null!==(t=vi(t))&&At(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Ot(e){var t=Di(e.target);if(null!==t){var n=We(t);
vendor: 5,370 bytes, line 2
2if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void bt(e.priority,(function(){Ct(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function kt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=vi(n))&&At(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ye=r,n.target.dispatchEvent(r),ye=null,t.shift()}return!0}function Ut(e,t,n){kt(e)&&n.delete(t)}function zt(){St=!1,null!==Bt&&kt(Bt)&&(Bt=null),null!==wt&&kt(wt)&&(wt=null),null!==Mt&&kt(Mt)&&(Mt=null),Tt.forEach(Ut),Pt.forEach(Ut)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,St||(St=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,zt)))}function Wt(e){function t(t){return Vt(t,e)}if(0<xt.length){Vt(xt[0],e);for(var n=1;n<xt.length;n++){var r=xt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Bt&&Vt(Bt,e),null!==wt&&Vt(wt,e),null!==Mt&&Vt(Mt,e),Tt.forEach(t),Pt.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)Ot(n),null===n.blockedOn&&Rt.shift()}var Ht=y.ReactCurrentBatchConfig,Gt=!0;function jt(e,t,n,r){var i=vt,a=Ht.transition;Ht.transition=null;try{vt=1,Kt(e,t,n,r)}finally{vt=i,Ht.transition=a}}function Xt(e,t,n,r){var i=vt,a=Ht.transition;Ht.transition=null;try{vt=4,Kt(e,t,n,r)}finally{vt=i,Ht.transition=a}}function Kt(e,t,n,r){if(Gt){var i=Jt(e,t,n,r);if(null===i)Gr(e,t,r,qt,n),Nt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Bt=Lt(Bt,e,t,n,r,i),!0;case"dragenter":return wt=Lt(wt,e,t,n,r,i),!0;case"mouseover":return Mt=Lt(Mt,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Tt.set(a,Lt(Tt.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Pt.set(a,Lt(Pt.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Nt(e,r),4&t&&-1<It.indexOf(e)){for(;null!==i;){var a=vi(i);if(null!==a&&Et(a),null===(a=Jt(e,t,n,r))&&Gr(e,t,r,qt,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else Gr(e,t,r,null,n)}}var qt=null;function Jt(e,t,n,r){if(qt=null,null!==(e=Di(e=Ee(r))))if(null===(t=We(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var $t=null,Qt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Qt,r=n.length,i="value"in $t?$t.value:$t.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return Zt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return O(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,un,sn,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(ln),hn=O({},ln,{view:0,detail:0}),dn=an(hn),pn=O({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,346 bytes, line 2
2Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(on=e.screenX-sn.screenX,un=e.screenY-sn.screenY):un=on=0,sn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:un}}),fn=an(pn),mn=an(O({},pn,{dataTransfer:0})),gn=an(O({},hn,{relatedTarget:0})),_n=an(O({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),Dn=O({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(Dn),yn=an(O({},ln,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},An={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cn[e])&&!!t[e]}function bn(){return Fn}var Sn=O({},hn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?An[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),xn=an(Sn),Bn=an(O({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),wn=an(O({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bn})),Mn=an(O({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=O({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Pn=an(Tn),Rn=[9,13,27,32],In=c&&"CompositionEvent"in window,Nn=null;c&&"documentMode"in document&&(Nn=document.documentMode);var Ln=c&&"TextEvent"in window&&!Nn,On=c&&(!In||Nn&&8<Nn&&11>=Nn),kn=String.fromCharCode(32),Un=!1;function zn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function jn(e,t,n,r){Se(r),0<(t=Xr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Xn=null,Kn=null;function qn(e){kr(e,0)}function Jn(e){if(K(yi(e)))return e}function Yn(e,t){if("change"===e)return t}var $n=!1;if(c){var Qn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Qn=Zn}else Qn=!1;$n=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Xn&&(Xn.detachEvent("onpropertychange",nr),Kn=Xn=null)}function nr(e){if("value"===e.propertyName&&Jn(Kn)){var t=[];jn(t,Kn,e,Ee(e)),Te(qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(Xn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Jn(Kn)}function ar(e,t){if("click"===e)return Jn(t)}function or(e,t){if("input"===e||"change"===e)return Jn(t)}var ur="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(ur(e,t))return!0;
vendor: 4,828 bytes, line 2
2if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!h.call(t,i)||!ur(e[i],t[i]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&hr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=void 0===r.end?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=cr(n,a);var o=cr(n,r);i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,_r=null,Dr=null,vr=!1;function yr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==q(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Dr&&sr(Dr,r)||(Dr=r,0<(r=Xr(_r,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function Er(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ar={animationend:Er("Animation","AnimationEnd"),animationiteration:Er("Animation","AnimationIteration"),animationstart:Er("Animation","AnimationStart"),transitionend:Er("Transition","TransitionEnd")},Cr={},Fr={};function br(e){if(Cr[e])return Cr[e];if(!Ar[e])return e;var t,n=Ar[e];for(t in n)if(n.hasOwnProperty(t)&&t in Fr)return Cr[e]=n[t];return e}c&&(Fr=document.createElement("div").style,"AnimationEvent"in window||(delete Ar.animationend.animation,delete Ar.animationiteration.animation,delete Ar.animationstart.animation),"TransitionEvent"in window||delete Ar.transitionend.transition);var Sr=br("animationend"),xr=br("animationiteration"),Br=br("animationstart"),wr=br("transitionend"),Mr=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Pr(e,t){Mr.set(e,t),s(t,[e])}for(var Rr=0;Rr<Tr.length;Rr++){var Ir=Tr[Rr];Pr(Ir.toLowerCase(),"on"+(Ir[0].toUpperCase()+Ir.slice(1)))}Pr(Sr,"onAnimationEnd"),Pr(xr,"onAnimationIteration"),Pr(Br,"onAnimationStart"),Pr("dblclick","onDoubleClick"),Pr("focusin","onFocus"),Pr("focusout","onBlur"),Pr(wr,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focu
2sin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nr));function Or(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,u,s,l){if(Ve.apply(this,arguments),Le){if(!Le)throw Error(a(198));var c=Oe;Le=!1,Oe=null,ke||(ke=!0,Ue=c)}}(r,t,void 0,e),e.currentTarget=null}function kr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var u=r[o],s=u.instance,l=u.currentTarget;if(u=u.listener,s!==a&&i.isPropagationStopped())break e;Or(i,u,l),a=s}else for(o=0;o<r.length;o++){if(s=(u=r[o]).instance,l=u.currentTarget,u=u.listener,s!==a&&i.isPropagationStopped())break e;Or(i,u,l),a=s}}}if(ke)throw e=Ue,ke=!1,Ue=null,e}function Ur(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Vr]){e[Vr]=!0,o.forEach((function(t){"selectionchange"!==t&&(Lr.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vr]||(t[Vr]=!0,zr("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Yt(t)){case 1:var i=jt;break;case 4:i=Xt;break;default:i=Kt}n=i.bind(null,t,n,e),i=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Gr(e,t,n,r,i){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var u=r.stateNode.containerInfo;if(u===i||8===u.nodeType&&u.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var s=o.tag;if((3===s||4===s)&&((s=o.stateNode.containerInfo)===i||8===s.nodeType&&s.parentNode===i))return;o=o.return}for(;null!==u;){if(null===(o=Di(u)))return;if(5===(s=o.tag)||6===s){r=a=o;continue e}u=u.parentNode}}r=r.return}Te((function(){var r=a,i=Ee(n),o=[];e:{var u=Mr.get(e);if(void 0!==u){var s=cn,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=xn;break;case"focusin":l="focus",s=gn;break;case"focusout":l="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=wn;break;case Sr:case xr:case Br:s=_n;break;case wr:s=Mn;break;case"scroll":s=dn;break;case"wheel":s=Pn;break;case"copy":case"cut":case"paste":s=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Bn}var c=!!(4&t),h=!c&&"scroll"===e,d=c?null!==u?u+"Capture":null:u;c=[];for(var p,f=r;null!==f;){var m=(p=f).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&(null!=(m=Pe(f,d))&&c.push(jr(f,m,p)))),h)break;f=f.return}0<c.length&&(u=new s(u,l,null,n,i),o.push({event:u,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||n===ye||!(l=n.relatedTarget||n.fromElement)||!Di(l)&&!l[fi])&&(s||u)&&(u=i.window===i?i:(u=i.ownerDocument)?u.defaultView||u.parentWindow:window,s?(s=r,null!==(l=(l=n.relatedTarget||n.toElement)?Di(l):null)&&(l!==(h=We(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(s=null,l=r),s!==l)){if(c=fn,m="onMouseLeave",d="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(c=Bn,m="onPointerLeave",d="onPointerEnter",f="pointer"),h=null==s?u:yi(s),p=null==l?u:yi(l),(u=new c(m,f+"leave",s,n,i)).target=h,u.relatedTarget=p,m=null,Di(i)===r&&((c=new c(d,f+"enter",l,n,i)).target=p,c.relatedTarget=h,m=c),h=m,s&&l)e:{for(d=l,f=0,p=c=s;p;p=Kr(p))f++;for(p=0,m=d;m;m=Kr(m))p++;for(;0<f-p;)c=Kr(c),f--;for(;0<p-f;)d=Kr(d),p--;for(;f--;){if(c===d||null!==d&&c===d.alternate)break e;c=Kr(c),d=Kr(d)}c=null}else c=null;null!==s&&qr(o,u,s,c,!1),null!==l&&null!==h&&qr(o,h,l,c,!0)}if("select"===(s=(u=r?yi(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===s&&"file"===u.type)var g=Yn;else if(Gn(u))if($n)g=or;else{g=ir;var _=rr}else(s=u.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(g=ar);switch(g&&(g=g(e,r))?jn(o,g,n,i):(_&&_(e,u,r),"focusout"===e&&(_=u._wrapperState)&&_.controlled&&"number"===u.type&&ee(u,"number",u.value)),_=r?yi(r):window,e){case"focusin":(Gn(_)||"true"===_.contentEditable)&&(gr=_,_r=r,Dr=null);break;case"focusout":Dr=_r=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,yr(o,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":yr(o,n,i)}var D;if(In)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Wn?zn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(On&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==v?"onCompositionEnd"===v&&Wn&&(D=en()):(Qt="value"in($t=i)?$t.value:$t.textContent,Wn=!0)),0<(_=Xr(r,v)).length&&(v=new yn(v,e,null,n,i),o.push({event:v,listeners:_}),D?v.data=D:null!==(D=Vn(n))&&(v.data=D))),(D=Ln?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(Un=!0,kn);case"textInput":return(e=t.data)===kn&&Un?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!In&&zn(e,t)?(e=en(),Zt=Qt=$t=null,Wn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return On&&"ko"!==t.locale?null:t.data}}
vendor: 30,327 bytes, line 2
2(e,n))&&(0<(r=Xr(r,"onBeforeInput")).length&&(i=new yn("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=D))}kr(o,t)}))}function jr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Xr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=Pe(e,n))&&r.unshift(jr(e,a,i)),null!=(a=Pe(e,t))&&r.push(jr(e,a,i))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function qr(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var u=n,s=u.alternate,l=u.stateNode;if(null!==s&&s===r)break;5===u.tag&&null!==l&&(u=l,i?null!=(s=Pe(n,a))&&o.unshift(jr(n,s,u)):i||null!=(s=Pe(n,a))&&o.push(jr(n,s,u))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Jr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function $r(e){return("string"==typeof e?e:""+e).replace(Jr,"\n").replace(Yr,"")}function Qr(e,t,n){if(t=$r(t),$r(e)!==t&&n)throw Error(a(425))}function Zr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,ai="function"==typeof Promise?Promise:void 0,oi="function"==typeof queueMicrotask?queueMicrotask:void 0!==ai?function(e){return ai.resolve(null).then(e).catch(ui)}:ri;function ui(e){setTimeout((function(){throw e}))}function si(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Wt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Wt(t)}function li(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ci(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var hi=Math.random().toString(36).slice(2),di="__reactFiber$"+hi,pi="__reactProps$"+hi,fi="__reactContainer$"+hi,mi="__reactEvents$"+hi,gi="__reactListeners$"+hi,_i="__reactHandles$"+hi;function Di(e){var t=e[di];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fi]||n[di]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ci(e);null!==e;){if(n=e[di])return n;e=ci(e)}return t}n=(e=n).parentNode}return null}function vi(e){return!(e=e[di]||e[fi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function yi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Ei(e){return e[pi]||null}var Ai=[],Ci=-1;function Fi(e){return{current:e}}function bi(e){0>Ci||(e.current=Ai[Ci],Ai[Ci]=null,Ci--)}function Si(e,t){Ci++,Ai[Ci]=e.current,e.current=t}var xi={},Bi=Fi(xi),wi=Fi(!1),Mi=xi;function Ti(e,t){var n=e.type.contextTypes;if(!n)return xi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Pi(e){return null!=(e=e.childContextTypes)}function Ri(){bi(wi),bi(Bi)}function Ii(e,t,n){if(Bi.current!==xi)throw Error(a(168));Si(Bi,t),Si(wi,n)}function Ni(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(a(108,H(e)||"Unknown",i));return O({},n,r)}function Li(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xi,Mi=Bi.current,Si(Bi,e),Si(wi,wi.current),!0}function Oi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Ni(e,t,Mi),r.__reactInternalMemoizedMergedChildContext=e,bi(wi),bi(Bi),Si(Bi,e)):bi(wi),Si(wi,n)}var ki=null,Ui=!1,zi=!1;function Vi(e){null===ki?ki=[e]:ki.push(e)}function Wi(){if(!zi&&null!==ki){zi=!0;var e=0,t=vt;try{var n=ki;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}ki=null,Ui=!1}catch(t){throw null!==ki&&(ki=ki.slice(e+1)),Ke(Ze,Wi),t}finally{vt=t,zi=!1}}return null}var Hi=[],Gi=0,ji=null,Xi=0,Ki=[],qi=0,Ji=null,Yi=1,$i="";function Qi(e,t){Hi[Gi++]=Xi,Hi[Gi++]=ji,ji=e,Xi=t}function Zi(e,t,n){Ki[qi++]=Yi,Ki[qi++]=$i,Ki[qi++]=Ji,Ji=e;var r=Yi;e=$i;var i=32-ot(r)-1;r&=~(1<<i),n+=1;var a=32-ot(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Yi=1<<32-ot(t)+i|n<<i|r,$i=a+e}else Yi=1<<a|n<<i|r,$i=e}function ea(e){null!==e.return&&(Qi(e,1),Zi(e,1,0))}function ta(e){for(;e===ji;)ji=Hi[--Gi],Hi[Gi]=null,Xi=Hi[--Gi],Hi[Gi]=null;for(;e===Ji;)Ji=Ki[--qi],Ki[qi]=null,$i=Ki[--qi],Ki[qi]=null,Yi=Ki[--qi],Ki[qi]=null}var na=null,ra=null,ia=!1,aa=null;function oa(e,t){var n=Tl(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ua(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,na=e,ra=li(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,na=e,ra=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ji?{id:Yi,overflow:$i}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Tl(18,null,null,0)).stateNode=t,n.return=e,e.child=n,na=e,ra=null,!0);default:return!1}}function sa(e){return!(!(1&e.mode)||128&e.flags)}function la(e){if(ia){var t=ra;if(t){var n=t;if(!ua(e,t)){if(sa(e))throw Error(a(418));t=li(n.nextSibling);var r=na;t&&ua(e,t)?oa(r,n):(e.flags=-4097&e.flags|2,ia=!1,na=e)}}else{if(sa(e))throw Error(a(418));e.flags=-4097&e.flags|2,ia=!1,na=e}}}function ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;na=e}function ha(e){if(e!==na)return!1;if(!ia)return ca(e),ia=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ra)){if(sa(e))throw da(),Error(a(418));for(;t;)oa(e,t),t=li(t.nextSibling)}if(ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ra=li(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ra=null}}else ra=na?li(e.stateNode.nextSibling):null;return!0}function da(){for(var e=ra;e;)e=li(e.nextSibling)}function pa(){ra=na=null,ia=!1}function fa(e){null===aa?aa=[e]:aa.push(e)}var ma=y.ReactCurrentBatchConfig;function ga(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function _a(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Da(e){return(0,e._init)(e._payload)}function va(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Rl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function u(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Ol(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){var a=n.type;return a===C?h(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===P&&Da(a)===t.type)?((r=i(t,n.props)).ref=ga(e,t,n),r.return=e,r):((r=Il(n.type,n.key,n.props,null,e.mode,r)).ref=ga(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=kl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function h(e,t,n,r,a){return null===t||7!==t.tag?((t=Nl(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Ol(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(n=Il(t.type,t.key,t.props,null,e.mode,n)).ref=ga(e,null,t),n.return=e,n;case A:return(t=kl(t,e.mode,n)).return=e,t;case P:return d(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Nl(t,e.mode,n,null)).return=e,t;_a(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===i?l(e,t,n,r):null;case A:return n.key===i?c(e,t,n,r):null;case P:return p(e,t,(i=n._init)(n._payload),r)}if(te(n)||N(n))return null!==i?null:h(e,t,n,r,null);_a(e,n)}return null}function f(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case A:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case P:return f(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||N(r))return h(t,e=e.get(n)||null,r,i,null);_a(t,r)}return null}function m(i,a,u,s){for(var l=null,c=null,h=a,m=a=0,g=null;null!==h&&m<u.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var _=p(i,h,u[m],s);if(null===_){null===h&&(h=g);break}e&&h&&null===_.alternate&&t(i,h),a=o(_,a,m),null===c?l=_:c.sibling=_,c=_,h=g}if(m===u.length)return n(i,h),ia&&Qi(i,m),l;if(null===h){for(;m<u.length;m++)null!==(h=d(i,u[m],s))&&(a=o(h,a,m),null===c?l=h:c.sibling=h,c=h);return ia&&Qi(i,m),l}for(h=r(i,h);m<u.length;m++)null!==(g=f(h,i,m,u[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=o(g,a,m),null===c?l=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(i,e)})),ia&&Qi(i,m),l}function g(i,u,s,l){var c=N(s);if("function"!=typeof c)throw Error(a(150));if(null==(s=c.call(s)))throw Error(a(151));for(var h=c=null,m=u,g=u=0,_=null,D=s.next();null!==m&&!D.done;g++,D=s.next()){m.index>g?(_=m,m=null):_=m.sibling;var v=p(i,m,D.value,l);if(null===v){null===m&&(m=_);break}e&&m&&null===v.alternate&&t(i,m),u=o(v,u,g),null===h?c=v:h.sibling=v,h=v,m=_}if(D.done)return n(i,m),ia&&Qi(i,g),c;if(null===m){for(;!D.done;g++,D=s.next())null!==(D=d(i,D.value,l))&&(u=o(D,u,g),null===h?c=D:h.sibling=D,h=D);return ia&&Qi(i,g),c}for(m=r(i,m);!D.done;g++,D=s.next())null!==(D=f(m,i,g,D.value,l))&&(e&&null!==D.alternate&&m.delete(null===D.key?g:D.key),u=o(D,u,g),null===h?c=D:h.sibling=D,h=D);return e&&m.forEach((function(e){return t(i,e)})),ia&&Qi(i,g),c}return function e(r,a,o,s){if("object"==typeof o&&null!==o&&o.type===C&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case E:e:{for(var l=o.key,c=a;null!==c;){if(c.key===l){if((l=o.type)===C){if(7===c.tag){n(r,c.sibling),(a=i(c,o.props.children)).return=r,r=a;break e}}else if(c.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===P&&Da(l)===c.type){n(r,c.sibling),(a=i(c,o.props)).ref=ga(r,c,o),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}o.type===C?((a=Nl(o.props.children,r.mode,s,o.key)).return=r,r=a):((s=Il(o.type,o.key,o.props,null,r.mode,s)).ref=ga(r,a,o),s.return=r,r=s)}return u(r);case A:e:{for(c=o.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===o.containerInfo&&a.stateNode.implementation===o.implementation){n(r,a.sibling),(a=i(a,o.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=kl(o,r.mode,s)).return=r,r=a}return u(r);case P:return e(r,a,(c=o._init)(o._payload),s)}if(te(o))return m(r,a,o,s);if(N(o))return g(r,a,o,s);_a(r,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==a&&6===a.tag?(n(r,a.sibling),(a=i(a,o)).return=r,r=a):(n(r,a),(a=Ol(o,r.mode,s)).return=r,r=a),u(r)):n(r,a)}}var ya=va(!0),Ea=va(!1),Aa=Fi(null),Ca=null,Fa=null,ba=null;function Sa(){ba=Fa=Ca=null}function xa(e){var t=Aa.current;bi(Aa),e._currentValue=t}function Ba(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function wa(e,t){Ca=e,ba=Fa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(vu=!0),e.firstContext=null)}function Ma(e){var t=e._currentValue;if(ba!==e)if(e={context:e,memoizedValue:t,next:null},null===Fa){if(null===Ca)throw Error(a(308));Fa=e,Ca.dependencies={lanes:0,firstContext:e}}else Fa=Fa.next=e;return t}var Ta=null;function Pa(e){null===Ta?Ta=[e]:Ta.push(e)}function Ra(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Pa(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ia(e,r)}function Ia(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Na=!1;function La(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Oa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ka(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ua(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Bs){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ia(e,n)}return null===(i=r.interleaved)?(t.next=t,Pa(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ia(e,n)}function za(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Dt(e,n)}}function Va(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Wa(e,t,n,r){var i=e.updateQueue;Na=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,u=i.shared.pending;if(null!==u){i.shared.pending=null;var s=u,l=s.next;s.next=null,null===o?a=l:o.next=l,o=s;var c=e.alternate;null!==c&&((u=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===u?c.firstBaseUpdate=l:u.next=l,c.lastBaseUpdate=s))}if(null!==a){var h=i.baseState;for(o=0,c=l=s=null,u=a;;){var d=u.lane,p=u.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var f=e,m=u;switch(d=t,p=n,m.tag){case 1:if("function"==typeof(f=m.payload)){h=f.call(p,h,d);break e}h=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(d="function"==typeof(f=m.payload)?f.call(p,h,d):f))break e;h=O({},h,d);break e;case 2:Na=!0}}null!==u.callback&&0!==u.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[u]:d.push(u))}else p={eventTime:p,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===c?(l=c=p,s=h):c=c.next=p,o|=d;if(null===(u=u.next)){if(null===(u=i.shared.pending))break;u=(d=u).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===c&&(s=h),i.baseState=s,i.firstBaseUpdate=l,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{o|=i.lane,i=i.next}while(i!==t)}else null===a&&(i.shared.lanes=0);Ls|=o,e.lanes=o,e.memoizedState=h}}function Ha(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(a(191,i));i.call(r)}}}var Ga={},ja=Fi(Ga),Xa=Fi(Ga),Ka=Fi(Ga);function qa(e){if(e===Ga)throw Error(a(174));return e}function Ja(e,t){switch(Si(Ka,t),Si(Xa,e),Si(ja,Ga),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}bi(ja),Si(ja,t)}function Ya(){bi(ja),bi(Xa),bi(Ka)}function $a(e){qa(Ka.current);var t=qa(ja.current),n=se(t,e.type);t!==n&&(Si(Xa,e),Si(ja,n))}function Qa(e){Xa.current===e&&(bi(ja),bi(Xa))}var Za=Fi(0);function eo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var to=[];function no(){for(var e=0;e<to.length;e++)to[e]._workInProgressVersionPrimary=null;to.length=0}var ro=y.ReactCurrentDispatcher,io=y.ReactCurrentBatchConfig,ao=0,oo=null,uo=null,so=null,lo=!1,co=!1,ho=0,po=0;function fo(){throw Error(a(321))}function mo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function go(e,t,n,r,i,o){if(ao=o,oo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ro.current=null===e||null===e.memoizedState?Zo:eu,e=n(r,i),co){o=0;do{if(co=!1,ho=0,25<=o)throw Error(a(301));o+=1,so=uo=null,t.updateQueue=null,ro.current=tu,e=n(r,i)}while(co)}if(ro.current=Qo,t=null!==uo&&null!==uo.next,ao=0,so=uo=oo=null,lo=!1,t)throw Error(a(300));return e}function _o(){var e=0!==ho;return ho=0,e}function Do(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===so?oo.memoizedState=so=e:so=so.next=e,so}function vo(){if(null===uo){var e=oo.alternate;e=null!==e?e.memoizedState:null}else e=uo.next;var t=null===so?oo.memoizedState:so.next;if(null!==t)so=t,uo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(uo=e).memoizedState,baseState:uo.baseState,baseQueue:uo.baseQueue,queue:uo.queue,next:null},null===so?oo.memoizedState=so=e:so=so.next=e}return so}function yo(e,t){return"function"==typeof t?t(e):t}function Eo(e){var t=vo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=uo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var u=i.next;i.next=o.next,o.next=u}r.baseQueue=i=o,n.pending=null}if(null!==i){o=i.next,r=r.baseState;var s=u=null,l=null,c=o;do{var h=c.lane;if((ao&h)===h)null!==l&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:h,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===l?(s=l=d,u=r):l=l.next=d,oo.lanes|=h,Ls|=h}c=c.next}while(null!==c&&c!==o);null===l?u=r:l.next=s,ur(r,t.memoizedState)||(vu=!0),t.memoizedState=r,t.baseState=u,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{o=i.lane,oo.lanes|=o,Ls|=o,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ao(e){var t=vo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var u=i=i.next;do{o=e(o,u.action),u=u.next}while(u!==i);ur(o,t.memoizedState)||(vu=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Co(){}function Fo(e,t){var n=oo,r=vo(),i=t(),o=!ur(r.memoizedState,i);if(o&&(r.memoizedState=i,vu=!0),r=r.queue,Lo(xo.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==so&&1&so.memoizedState.tag){if(n.flags|=2048,To(9,So.bind(null,n,r,i,t),void 0,null),null===ws)throw Error(a(349));30&ao||bo(n,t,i)}return i}function bo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function So(e,t,n,r){t.value=n,t.getSnapshot=r,Bo(t)&&wo(e)}function xo(e,t,n){return n((function(){Bo(t)&&wo(e)}))}function Bo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ur(e,n)}catch(e){return!0}}function wo(e){var t=Ia(e,1);null!==t&&nl(t,e,1,-1)}function Mo(e){var t=Do();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yo,lastRenderedState:e},t.queue=e,e=e.dispatch=qo.bind(null,oo,e),[t.memoizedState,e]}function To(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Po(){return vo().memoizedState}function Ro(e,t,n,r){var i=Do();oo.flags|=e,i.memoizedState=To(1|t,n,void 0,void 0===r?null:r)}function Io(e,t,n,r){var i=vo();r=void 0===r?null:r;var a=void 0;if(null!==uo){var o=uo.memoizedState;if(a=o.destroy,null!==r&&mo(r,o.deps))return void(i.memoizedState=To(t,n,a,r))}oo.flags|=e,i.memoizedState=To(1|t,n,a,r)}function No(e,t){return Ro(8390656,8,e,t)}function Lo(e,t){return Io(2048,8,e,t)}function Oo(e,t){return Io(4,2,e,t)}function ko(e,t){return Io(4,4,e,t)}function Uo(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function zo(e,t,n){return n=null!=n?n.concat([e]):null,Io(4,4,Uo.bind(null,t,e),n)}function Vo(){}function Wo(e,t){var n=vo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ho(e,t){var n=vo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Go(e,t,n){return 21&ao?(ur(n,t)||(n=mt(),oo.lanes|=n,Ls|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,vu=!0),e.memoizedState=n)}function jo(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=io.transition;io.transition={};try{e(!1),t()}finally{vt=n,io.transition=r}}function Xo(){return vo().memoizedState}function Ko(e,t,n){var r=tl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Jo(e))Yo(t,n);else if(null!==(n=Ra(e,t,n,r))){nl(n,e,r,el()),$o(n,t,r)}}function qo(e,t,n){var r=tl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jo(e))Yo(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,u=a(o,n);if(i.hasEagerState=!0,i.eagerState=u,ur(u,o)){var s=t.interleaved;return null===s?(i.next=i,Pa(t)):(i.next=s.next,s.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=Ra(e,t,i,r))&&(nl(n,e,r,i=el()),$o(n,t,r))}}function Jo(e){var t=e.alternate;return e===oo||null!==t&&t===oo}function Yo(e,t){co=lo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $o(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Dt(e,n)}}var Qo={readContext:Ma,useCallback:fo,useContext:fo,useEffect:fo,useImperativeHandle:fo,useInsertionEffect:fo,useLayoutEffect:fo,useMemo:fo,useReducer:fo,useRef:fo,useState:fo,useDebugValue:fo,useDeferredValue:fo,useTransition:fo,useMutableSource:fo,useSyncExternalStore:fo,useId:fo,unstable_isNewReconciler:!1},Zo={readContext:Ma,useCallback:function(e,t){return Do().memoizedState=[e,void 0===t?null:t],e},useContext:Ma,useEffect:No,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ro(4194308,4,Uo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ro(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ro(4,2,e,t)},useMemo:function(e,t){var n=Do();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Do();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ko.bind(null,oo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Do().memoizedState=e},useState:Mo,useDebugValue:Vo,useDeferredValue:function(e){return Do().memoizedState=e},useTransition:function(){var e=Mo(!1),t=e[0];return e=jo.bind(null,e[1]),Do().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=oo,i=Do();if(ia){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===ws)throw Error(a(349));30&ao||bo(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,No(xo.bind(null,r,o,e),[e]),r.flags|=2048,To(9,So.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Do(),t=ws.identifierPrefix;if(ia){var n=$i;t=":"+t+"R"+(n=(Yi&~(1<<32-ot(Yi)-1)).toString(32)+n),0<(n=ho++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=po++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},eu={readContext:Ma,useCallback:Wo,useContext:Ma,useEffect:Lo,useImperativeHandle:zo,useInsertionEffect:Oo,useLayoutEffect:ko,useMemo:Ho,useReducer:Eo,useRef:Po,useState:function(){return Eo(yo)},useDebugValue:Vo,useDeferredValue:function(e){return Go(vo(),uo.memoizedState,e)},useTransition:function(){return[Eo(yo)[0],vo().memoizedState]},useMutableSource:Co,useSyncExternalStore:Fo,useId:Xo,unstable_isNewReconciler:!1},tu={readContext:Ma,useCallback:Wo,useContext:Ma,useEffect:Lo,useImperativeHandle:zo,useInsertionEffect:Oo,useLayoutEffect:ko,useMemo:Ho,useReducer:Ao,useRef:Po,useState:function(){return Ao(yo)},useDebugValue:Vo,useDeferredValue:function(e){var t=vo();return null===uo?t.memoizedState=e:Go(t,uo.memoizedState,e)},useTransition:function(){return[Ao(yo)[0],vo().memoizedState]},useMutableSource:Co,useSyncExternalStore:Fo,useId:Xo,unstable_isNewReconciler:!1};function nu(e,t){if(e&&e.defaultProps){for(var n in t=O({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function ru(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:O({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var iu={isMounted:function(e){return!!(e=e._reactInternals)&&We(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=el(),i=tl(e),a=ka(r,i);a.payload=t,null!=n&&(a.callback=n),null!==(t=Ua(e,a,i))&&(nl(t,e,i,r),za(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=el(),i=tl(e),a=ka(r,i);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Ua(e,a,i))&&(nl(t,e,i,r),za(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=el(),r=tl(e),i=ka(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=Ua(e,i,r))&&(nl(t,e,r,n),za(t,e,r))}};function au(e,t,n,r,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(i,a))}function ou(e,t,n){var r=!1,i=xi,a=t.contextType;return"object"==typeof a&&null!==a?a=Ma(a):(i=Pi(t)?Mi:Bi.current,a=(r=null!=(r=t.contextTypes))?Ti(e,i):xi),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=iu,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function uu(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&iu.enqueueReplaceState(t,t.state,null)}function su(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},La(e);var a=t.contextType;"object"==typeof a&&null!==a?i.context=Ma(a):(a=Pi(t)?Mi:Bi.current,i.context=Ti(e,a)),i.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ru(e,t,a,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&iu.enqueueReplaceState(i,i.state,null),Wa(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function lu(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function cu(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function hu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var du="function"==typeof WeakMap?WeakMap:Map;function pu(e,t,n){(n=ka(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Gs||(Gs=!0,js=r),hu(0,t)},n}function fu(e,t,n){(n=ka(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){hu(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){hu(0,t),"function"!=typeof r&&(null===Xs?Xs=new Set([this]):Xs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function mu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new du;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=bl.bind(null,e,t,n),t.then(e,e))}function gu(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function _u(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=ka(-1,1)).tag=2,Ua(n,t,1))),n.lanes|=1),e)}var Du=y.ReactCurrentOwner,vu=!1;function yu(e,t,n,r){t.child=null===e?Ea(t,null,n,r):ya(t,e.child,n,r)}function Eu(e,t,n,r,i){n=n.render;var a=t.ref;return wa(t,i),r=go(e,t,n,r,a,i),n=_o(),null===e||vu?(ia&&n&&ea(t),t.flags|=1,yu(e,t,r,i
vendor: 19,492 bytes, line 2
2),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Gu(e,t,i))}function Au(e,t,n,r,i){if(null===e){var a=n.type;return"function"!=typeof a||Pl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Il(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Cu(e,t,a,r,i))}if(a=e.child,!(e.lanes&i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(o,r)&&e.ref===t.ref)return Gu(e,t,i)}return t.flags|=1,(e=Rl(a,r)).ref=t.ref,e.return=t,t.child=e}function Cu(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if(sr(a,r)&&e.ref===t.ref){if(vu=!1,t.pendingProps=r=a,!(e.lanes&i))return t.lanes=e.lanes,Gu(e,t,i);131072&e.flags&&(vu=!0)}}return Su(e,t,n,r,i)}function Fu(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Si(Rs,Ps),Ps|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Si(Rs,Ps),Ps|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Si(Rs,Ps),Ps|=n;else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Si(Rs,Ps),Ps|=r;return yu(e,t,i,n),t.child}function bu(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Su(e,t,n,r,i){var a=Pi(n)?Mi:Bi.current;return a=Ti(t,a),wa(t,i),n=go(e,t,n,r,a,i),r=_o(),null===e||vu?(ia&&r&&ea(t),t.flags|=1,yu(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Gu(e,t,i))}function xu(e,t,n,r,i){if(Pi(n)){var a=!0;Li(t)}else a=!1;if(wa(t,i),null===t.stateNode)Hu(e,t),ou(t,n,r),su(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,u=t.memoizedProps;o.props=u;var s=o.context,l=n.contextType;"object"==typeof l&&null!==l?l=Ma(l):l=Ti(t,l=Pi(n)?Mi:Bi.current);var c=n.getDerivedStateFromProps,h="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;h||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==r||s!==l)&&uu(t,o,r,l),Na=!1;var d=t.memoizedState;o.state=d,Wa(t,r,o,i),s=t.memoizedState,u!==r||d!==s||wi.current||Na?("function"==typeof c&&(ru(t,n,c,r),s=t.memoizedState),(u=Na||au(t,n,u,r,d,s,l))?(h||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=l,r=u):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Oa(e,t),u=t.memoizedProps,l=t.type===t.elementType?u:nu(t.type,u),o.props=l,h=t.pendingProps,d=o.context,"object"==typeof(s=n.contextType)&&null!==s?s=Ma(s):s=Ti(t,s=Pi(n)?Mi:Bi.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==h||d!==s)&&uu(t,o,r,s),Na=!1,d=t.memoizedState,o.state=d,Wa(t,r,o,i);var f=t.memoizedState;u!==h||d!==f||wi.current||Na?("function"==typeof p&&(ru(t,n,p,r),f=t.memoizedState),(l=Na||au(t,n,l,r,d,f,s)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,f,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,f,s)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),o.props=r,o.state=f,o.context=s,r=l):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Bu(e,t,n,r,a,i)}function Bu(e,t,n,r,i,a){bu(e,t);var o=!!(128&t.flags);if(!r&&!o)return i&&Oi(t,n,!1),Gu(e,t,a);r=t.stateNode,Du.current=t;var u=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=ya(t,e.child,null,a),t.child=ya(t,null,u,a)):yu(e,t,u,a),t.memoizedState=r.state,i&&Oi(t,n,!0),t.child}function wu(e){var t=e.stateNode;t.pendingContext?Ii(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ii(0,t.context,!1),Ja(e,t.containerInfo)}function Mu(e,t,n,r,i){return pa(),fa(i),t.flags|=256,yu(e,t,n,r),t.child}var Tu,Pu,Ru,Iu,Nu={dehydrated:null,treeContext:null,retryLane:0};function Lu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ou(e,t,n){var r,i=t.pendingProps,o=Za.current,u=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&o)),r?(u=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Si(Za,1&o),null===e)return la(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=i.children,e=i.fallback,u?(i=t.mode,u=t.child,s={mode:"hidden",children:s},1&i||null===u?u=Ll(s,i,0,null):(u.childLanes=0,u.pendingProps=s),e=Nl(e,i,n,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=Lu(n),t.memoizedState=Nu,e):ku(t,s));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,i,o,u){if(n)return 256&t.flags?(t.flags&=-257,Uu(e,t,u,r=cu(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Ll({mode:"visible",children:r.children},i,0,null),(o=Nl(o,i,u,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,1&t.mode&&ya(t,e.child,null,u),t.child.memoizedState=Lu(u),t.memoizedState=Nu,o);if(!(1&t.mode))return Uu(e,t,u,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var s=r.dgst;return r=s,Uu(e,t,u,r=cu(o=Error(a(419)),r,void 0))}if(s=!!(u&e.childLanes),vu||s){if(null!==(r=ws)){switch(u&-u){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=i&(r.suspendedLanes|u)?0:i)&&i!==o.retryLane&&(o.retryLane=i,Ia(e,i),nl(r,e,i,-1))}return ml(),Uu(e,t,u,r=cu(Error(a(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=xl.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ra=li(i.nextSibling),na=t,ia=!0,aa=null,null!==e&&(Ki[qi++]=Yi,Ki[qi++]=$i,Ki[qi++]=Ji,Yi=e.id,$i=e.overflow,Ji=t),t=ku(t,r.children),t.flags|=4096,t)}(e,t,s,i,r,o,n);if(u){u=i.fallback,s=t.mode,r=(o=e.child).sibling;var l={mode:"hidden",children:i.children};return 1&s||t.child===o?(i=Rl(o,l)).subtreeFlags=14680064&o.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=l,t.deletions=null),null!==r?u=Rl(r,u):(u=Nl(u,s,n,null)).flags|=2,u.return=t,i.return=t,i.sibling=u,t.child=i,i=u,u=t.child,s=null===(s=e.child.memoizedState)?Lu(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},u.memoizedState=s,u.childLanes=e.childLanes&~n,t.memoizedState=Nu,i}return e=(u=e.child).sibling,i=Rl(u,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function ku(e,t){return(t=Ll({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Uu(e,t,n,r){return null!==r&&fa(r),ya(t,e.child,null,n),(e=ku(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function zu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ba(e.return,t,n)}function Vu(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function Wu(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(yu(e,t,r.children,n),2&(r=Za.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&zu(e,n,t);else if(19===e.tag)zu(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Si(Za,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===eo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Vu(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===eo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Vu(t,!0,n,null,a);break;case"together":Vu(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Hu(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Gu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ls|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Rl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Rl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ju(e,t){if(!ia)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xu(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ku(e,t,n){var r=t.pendingProps;switch(ta(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xu(t),null;case 1:case 17:return Pi(t.type)&&Ri(),Xu(t),null;case 3:return r=t.stateNode,Ya(),bi(wi),bi(Bi),no(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(ha(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==aa&&(ol(aa),aa=null))),Pu(e,t),Xu(t),null;case 5:Qa(t);var i=qa(Ka.current);if(n=t.type,null!==e&&null!=t.stateNode)Ru(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Xu(t),null}if(e=qa(ja.current),ha(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[di]=t,r[pi]=o,e=!!(1&t.mode),n){case"dialog":Ur("cancel",r),Ur("close",r);break;case"iframe":case"object":case"embed":Ur("load",r);break;case"video":case"audio":for(i=0;i<Nr.length;i++)Ur(Nr[i],r);break;case"source":Ur("error",r);break;case"img":case"image":case"link":Ur("error",r),Ur("load",r);break;case"details":Ur("toggle",r);break;case"input":Y(r,o),Ur("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Ur("invalid",r);break;case"textarea":ie(r,o),Ur("invalid",r)}for(var s in De(n,o),i=null,o)if(o.hasOwnProperty(s)){var l=o[s];"children"===s?"string"==typeof l?r.textContent!==l&&(!0!==o.suppressHydrationWarning&&Qr(r.textContent,l,e),i=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==o.suppressHydrationWarning&&Qr(r.textContent,l,e),i=["children",""+l]):u.hasOwnProperty(s)&&null!=l&&"onScroll"===s&&Ur("scroll",r)}switch(n){case"input":X(r),Z(r,o,!0);break;case"textarea":X(r),oe(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Zr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ue(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[di]=t,e[pi]=r,Tu(e,t,!1,!1),t.stateNode=e;e:{switch(s=ve(n,r),n){case"dialog":Ur("cancel",e),Ur("close",e),i=r;break;case"iframe":case"object":case"embed":Ur("load",e),i=r;break;case"video":case"audio":for(i=0;i<Nr.length;i++)Ur(Nr[i],e);i=r;break;case"source":Ur("error",e),i=r;break;case"img":case"image":case"link":Ur("error",e),Ur("load",e),i=r;break;case"details":Ur("toggle",e),i=r;break;case"input":Y(e,r),i=J(e,r),Ur("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=O({},r,{value:void 0}),Ur("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Ur("invalid",e)}for(o in De(n,i),l=i)if(l.hasOwnProperty(o)){var c=l[o];"style"===o?ge(e,c):"dangerouslySetInnerHTML"===o?null!=(c=c?c.__html:void 0)&&he(e,c):"children"===o?"string"==typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"==typeof c&&de(e,""+c):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(u.hasOwnProperty(o)?null!=c&&"onScroll"===o&&Ur("scroll",e):null!=c&&v(e,o,c,s))}switch(n){case"input":X(e),Z(e,r,!1);break;case"textarea":X(e),oe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+G(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?ne(e,!!r.multiple,o,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Xu(t),null;case 6:if(e&&null!=t.stateNode)Iu(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=qa(Ka.current),qa(ja.current),ha(t)){if(r=t.stateNode,n=t.memoizedProps,r[di]=t,(o=r.nodeValue!==n)&&null!==(e=na))switch(e.tag){case 3:Qr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,!!(1&e.mode))}o&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[di]=t,t.stateNode=r}return Xu(t),null;case 13:if(bi(Za),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ia&&null!==ra&&1&t.mode&&!(128&t.flags))da(),pa(),t.flags|=98560,o=!1;else if(o=ha(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(a(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(a(317));o[di]=t}else pa(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Xu(t),o=!1}else null!==aa&&(ol(aa),aa=null),o=!0;if(!o)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&Za.current?0===Is&&(Is=3):ml())),null!==t.updateQueue&&(t.flags|=4),Xu(t),null);case 4:return Ya(),Pu(e,t),null===e&&Wr(t.stateNode.containerInfo),Xu(t),null;case 10:return xa(t.type._context),Xu(t),null;case 19:if(bi(Za),null===(o=t.memoizedState))return Xu(t),null;if(r=!!(128&t.flags),null===(s=o.rendering))if(r)ju(o,!1);else{if(0!==Is||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=eo(e))){for(t.flags|=128,ju(o,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=14680066,null===(s=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Si(Za,1&Za.current|2),t.child}e=e.sibling}null!==o.tail&&$e()>Ws&&(t.flags|=128,r=!0,ju(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=eo(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ju(o,!0),null===o.tail&&"hidden"===o.tailMode&&!s.alternate&&!ia)return Xu(t),null}else 2*$e()-o.renderingStartTime>Ws&&1073741824!==n&&(t.flags|=128,r=!0,ju(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=o.last)?n.sibling=s:t.child=s,o.last=s)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=$e(),t.sibling=null,n=Za.current,Si(Za,r?1&n|2:1&n),t):(Xu(t),null);case 22:case 23:return hl(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ps)&&(Xu(t),6&t.subtreeFlags&&(t.flags|=8192)):Xu(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function qu(e,t){switch(ta(t),t.tag){case 1:return Pi(t.type)&&Ri(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ya(),bi(wi),bi(Bi),no(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Qa(t),null;case 13:if(bi(Za),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));pa()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return bi(Za),null;case 4:return Ya(),null;case 10:return xa(t.type._context),null;case 22:case 23:return hl(),null;default:return null}}Tu=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Pu=function(){},Ru=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,qa(ja.current);var a,o=null;switch(n){case"input":i=J(e,i),r=J(e,r),o=[];break;case"select":i=O({},i,{value:void 0}),r=O({},r,{value:void 0}),o=[];break;case"textarea":i=re(e,i),r=re(e,r),o=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in De(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var s=i[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(u.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(s=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&l!==s&&(null!=l||null!=s))if("style"===c)if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(c,n)),n=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(o=o||[]).push(c,l)):"children"===c?"string"!=typeof l&&"number"!=typeof l||(o=o||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(u.hasOwnProperty(c)?(null!=l&&"onScroll"===c&&Ur("scroll",e),o||s===l||(
vendor: 9,343 bytes, line 2
2o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}},Iu=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ju=!1,Yu=!1,$u="function"==typeof WeakSet?WeakSet:Set,Qu=null;function Zu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Fl(e,t,n)}else n.current=null}function es(e,t,n){try{n()}catch(n){Fl(e,t,n)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&es(t,n,a)}i=i.next}while(i!==r)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[di],delete t[pi],delete t[mi],delete t[gi],delete t[_i])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function os(e){return 5===e.tag||3===e.tag||4===e.tag}function us(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||os(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ss(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function ls(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ls(e,t,n),e=e.sibling;null!==e;)ls(e,t,n),e=e.sibling}var cs=null,hs=!1;function ds(e,t,n){for(n=n.child;null!==n;)ps(e,t,n),n=n.sibling}function ps(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:Yu||Zu(n,t);case 6:var r=cs,i=hs;cs=null,ds(e,t,n),hs=i,null!==(cs=r)&&(hs?(e=cs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cs.removeChild(n.stateNode));break;case 18:null!==cs&&(hs?(e=cs,n=n.stateNode,8===e.nodeType?si(e.parentNode,n):1===e.nodeType&&si(e,n),Wt(e)):si(cs,n.stateNode));break;case 4:r=cs,i=hs,cs=n.stateNode.containerInfo,hs=!0,ds(e,t,n),cs=r,hs=i;break;case 0:case 11:case 14:case 15:if(!Yu&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,void 0!==o&&(2&a||4&a)&&es(n,t,o),i=i.next}while(i!==r)}ds(e,t,n);break;case 1:if(!Yu&&(Zu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Fl(n,t,e)}ds(e,t,n);break;case 21:ds(e,t,n);break;case 22:1&n.mode?(Yu=(r=Yu)||null!==n.memoizedState,ds(e,t,n),Yu=r):ds(e,t,n);break;default:ds(e,t,n)}}function fs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new $u),t.forEach((function(t){var r=Bl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ms(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,u=t,s=u;e:for(;null!==s;){switch(s.tag){case 5:cs=s.stateNode,hs=!1;break e;case 3:case 4:cs=s.stateNode.containerInfo,hs=!0;break e}s=s.return}if(null===cs)throw Error(a(160));ps(o,u,i),cs=null,hs=!1;var l=i.alternate;null!==l&&(l.return=null),i.return=null}catch(e){Fl(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(t,e),_s(e),4&r){try{ns(3,e,e.return),rs(3,e)}catch(t){Fl(e,e.return,t)}try{ns(5,e,e.return)}catch(t){Fl(e,e.return,t)}}break;case 1:ms(t,e),_s(e),512&r&&null!==n&&Zu(n,n.return);break;case 5:if(ms(t,e),_s(e),512&r&&null!==n&&Zu(n,n.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(t){Fl(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var o=e.memoizedProps,u=null!==n?n.memoizedProps:o,s=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===s&&"radio"===o.type&&null!=o.name&&$(i,o),ve(s,u);var c=ve(s,o);for(u=0;u<l.length;u+=2){var h=l[u],d=l[u+1];"style"===h?ge(i,d):"dangerouslySetInnerHTML"===h?he(i,d):"children"===h?de(i,d):v(i,h,d,c)}switch(s){case"input":Q(i,o);break;case"textarea":ae(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var f=o.value;null!=f?ne(i,!!o.multiple,f,!1):p!==!!o.multiple&&(null!=o.defaultValue?ne(i,!!o.multiple,o.defaultValue,!0):ne(i,!!o.multiple,o.multiple?[]:"",!1))}i[pi]=o}catch(t){Fl(e,e.return,t)}}break;case 6:if(ms(t,e),_s(e),4&r){if(null===e.stateNode)throw Error(a(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(t){Fl(e,e.return,t)}}break;case 3:if(ms(t,e),_s(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Wt(t.containerInfo)}catch(t){Fl(e,e.return,t)}break;case 4:default:ms(t,e),_s(e);break;case 13:ms(t,e),_s(e),8192&(i=e.child).flags&&(o=null!==i.memoizedState,i.stateNode.isHidden=o,!o||null!==i.alternate&&null!==i.alternate.memoizedState||(Vs=$e())),4&r&&fs(e);break;case 22:if(h=null!==n&&null!==n.memoizedState,1&e.mode?(Yu=(c=Yu)||h,ms(t,e),Yu=c):ms(t,e),_s(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!h&&1&e.mode)for(Qu=e,h=e.child;null!==h;){for(d=Qu=h;null!==Qu;){switch(f=(p=Qu).child,p.tag){case 0:case 11:case 14:case 15:ns(4,p,p.return);break;case 1:Zu(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Fl(r,n,e)}}break;case 5:Zu(p,p.return);break;case 22:if(null!==p.memoizedState){Es(d);continue}}null!==f?(f.return=p,Qu=f):Es(d)}h=h.sibling}e:for(h=null,d=e;;){if(5===d.tag){if(null===h){h=d;try{i=d.stateNode,c?"function"==typeof(o=i.style).setProperty?o.setProperty("display","none","important"):o.display="none":(s=d.stateNode,u=null!=(l=d.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,s.style.display=me("display",u))}catch(t){Fl(e,e.return,t)}}}else if(6===d.tag){if(null===h)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){Fl(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;h===d&&(h=null),d=d.return}h===d&&(h=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:ms(t,e),_s(e),4&r&&fs(e);case 21:}}function _s(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(os(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(de(i,""),r.flags&=-33),ls(e,us(e),i);break;case 3:case 4:var o=r.stateNode.containerInfo;ss(e,us(e),o);break;default:throw Error(a(161))}}catch(t){Fl(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ds(e,t,n){Qu=e,vs(e,t,n)}function vs(e,t,n){for(var r=!!(1&e.mode);null!==Qu;){var i=Qu,a=i.child;if(22===i.tag&&r){var o=null!==i.memoizedState||Ju;if(!o){var u=i.alternate,s=null!==u&&null!==u.memoizedState||Yu;u=Ju;var l=Yu;if(Ju=o,(Yu=s)&&!l)for(Qu=i;null!==Qu;)s=(o=Qu).child,22===o.tag&&null!==o.memoizedState?As(i):null!==s?(s.return=o,Qu=s):As(i);for(;null!==a;)Qu=a,vs(a,t,n),a=a.sibling;Qu=i,Ju=u,Yu=l}ys(e)}else 8772&i.subtreeFlags&&null!==a?(a.return=i,Qu=a):ys(e)}}function ys(e){for(;null!==Qu;){var t=Qu;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Yu||rs(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yu)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:nu(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Ha(t,o,r);break;case 3:var u=t.updateQueue;if(null!==u){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ha(t,u,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var h=c.memoizedState;if(null!==h){var d=h.dehydrated;null!==d&&Wt(d)}}}break;default:throw Error(a(163))}Yu||512&t.flags&&is(t)}catch(e){Fl(t,t.return,e)}}if(t===e){Qu=null;break}if(null!==(n=t.sibling)){n.return=t.return,Qu=n;break}Qu=t.return}}function Es(e){for(;null!==Qu;){var t=Qu;if(t===e){Qu=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Qu=n;break}Qu=t.return}}function As(e){for(;null!==Qu;){var t=Qu;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rs(4,t)}catch(e){Fl(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}
vendor: 7,391 bytes, line 2
2catch(e){Fl(t,i,e)}}var a=t.return;try{is(t)}catch(e){Fl(t,a,e)}break;case 5:var o=t.return;try{is(t)}catch(e){Fl(t,o,e)}}}catch(e){Fl(t,t.return,e)}if(t===e){Qu=null;break}var u=t.sibling;if(null!==u){u.return=t.return,Qu=u;break}Qu=t.return}}var Cs,Fs=Math.ceil,bs=y.ReactCurrentDispatcher,Ss=y.ReactCurrentOwner,xs=y.ReactCurrentBatchConfig,Bs=0,ws=null,Ms=null,Ts=0,Ps=0,Rs=Fi(0),Is=0,Ns=null,Ls=0,Os=0,ks=0,Us=null,zs=null,Vs=0,Ws=1/0,Hs=null,Gs=!1,js=null,Xs=null,Ks=!1,qs=null,Js=0,Ys=0,$s=null,Qs=-1,Zs=0;function el(){return 6&Bs?$e():-1!==Qs?Qs:Qs=$e()}function tl(e){return 1&e.mode?2&Bs&&0!==Ts?Ts&-Ts:null!==ma.transition?(0===Zs&&(Zs=mt()),Zs):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function nl(e,t,n,r){if(50<Ys)throw Ys=0,$s=null,Error(a(185));_t(e,n,r),2&Bs&&e===ws||(e===ws&&(!(2&Bs)&&(Os|=n),4===Is&&ul(e,Ts)),rl(e,r),1===n&&0===Bs&&!(1&t.mode)&&(Ws=$e()+500,Ui&&Wi()))}function rl(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-ot(a),u=1<<o,s=i[o];-1===s?u&n&&!(u&r)||(i[o]=pt(u,t)):s<=t&&(e.expiredLanes|=u),a&=~u}}(e,t);var r=dt(e,e===ws?Ts:0);if(0===r)null!==n&&qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&qe(n),1===t)0===e.tag?function(e){Ui=!0,Vi(e)}(sl.bind(null,e)):Vi(sl.bind(null,e)),oi((function(){!(6&Bs)&&Wi()})),n=null;else{switch(yt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=wl(n,il.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function il(e,t){if(Qs=-1,Zs=0,6&Bs)throw Error(a(327));var n=e.callbackNode;if(Al()&&e.callbackNode!==n)return null;var r=dt(e,e===ws?Ts:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=gl(e,r);else{t=r;var i=Bs;Bs|=2;var o=fl();for(ws===e&&Ts===t||(Hs=null,Ws=$e()+500,dl(e,t));;)try{Dl();break}catch(t){pl(e,t)}Sa(),bs.current=o,Bs=i,null!==Ms?t=0:(ws=null,Ts=0,t=Is)}if(0!==t){if(2===t&&(0!==(i=ft(e))&&(r=i,t=al(e,i))),1===t)throw n=Ns,dl(e,0),ul(e,r),rl(e,$e()),n;if(6===t)ul(e,r);else{if(i=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!ur(a(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=gl(e,r),2===t&&(o=ft(e),0!==o&&(r=o,t=al(e,o))),1!==t)))throw n=Ns,dl(e,0),ul(e,r),rl(e,$e()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:El(e,zs,Hs);break;case 3:if(ul(e,r),(130023424&r)===r&&10<(t=Vs+500-$e())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){el(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(El.bind(null,e,zs,Hs),t);break}El(e,zs,Hs);break;case 4:if(ul(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var u=31-ot(r);o=1<<u,(u=t[u])>i&&(i=u),r&=~o}if(r=i,10<(r=(120>(r=$e()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fs(r/1960))-r)){e.timeoutHandle=ri(El.bind(null,e,zs,Hs),r);break}El(e,zs,Hs);break;default:throw Error(a(329))}}}return rl(e,$e()),e.callbackNode===n?il.bind(null,e):null}function al(e,t){var n=Us;return e.current.memoizedState.isDehydrated&&(dl(e,t).flags|=256),2!==(e=gl(e,t))&&(t=zs,zs=n,null!==t&&ol(t)),e}function ol(e){null===zs?zs=e:zs.push.apply(zs,e)}function ul(e,t){for(t&=~ks,t&=~Os,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function sl(e){if(6&Bs)throw Error(a(327));Al();var t=dt(e,0);if(!(1&t))return rl(e,$e()),null;var n=gl(e,t);if(0!==e.tag&&2===n){var r=ft(e);0!==r&&(t=r,n=al(e,r))}if(1===n)throw n=Ns,dl(e,0),ul(e,t),rl(e,$e()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,El(e,zs,Hs),rl(e,$e()),null}function ll(e,t){var n=Bs;Bs|=1;try{return e(t)}finally{0===(Bs=n)&&(Ws=$e()+500,Ui&&Wi())}}function cl(e){null!==qs&&0===qs.tag&&!(6&Bs)&&Al();var t=Bs;Bs|=1;var n=xs.transition,r=vt;try{if(xs.transition=null,vt=1,e)return e()}finally{vt=r,xs.transition=n,!(6&(Bs=t))&&Wi()}}function hl(){Ps=Rs.current,bi(Rs)}function dl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Ms)for(n=Ms.return;null!==n;){var r=n;switch(ta(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ri();break;case 3:Ya(),bi(wi),bi(Bi),no();break;case 5:Qa(r);break;case 4:Ya();break;case 13:case 19:bi(Za);break;case 10:xa(r.type._context);break;case 22:case 23:hl()}n=n.return}if(ws=e,Ms=e=Rl(e.current,null),Ts=Ps=t,Is=0,Ns=null,ks=Os=Ls=0,zs=Us=null,null!==Ta){for(t=0;t<Ta.length;t++)if(null!==(r=(n=Ta[t]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var o=a.next;a.next=i,r.next=o}n.pending=r}Ta=null}return e}function pl(e,t){for(;;){var n=Ms;try{if(Sa(),ro.current=Qo,lo){for(var r=oo.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}lo=!1}if(ao=0,so=uo=oo=null,co=!1,ho=0,Ss.current=null,null===n||null===n.return){Is=1,Ns=t,Ms=null;break}e:{var o=e,u=n.return,s=n,l=t;if(t=Ts,s.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l,h=s,d=h.tag;if(!(1&h.mode||0!==d&&11!==d&&15!==d)){var p=h.alternate;p?(h.updateQueue=p.updateQueue,h.memoizedState=p.memoizedState,h.lanes=p.lanes):(h.updateQueue=null,h.memoizedState=null)}var f=gu(u);if(null!==f){f.flags&=-257,_u(f,u,s,0,t),1&f.mode&&mu(o,c,t),l=c;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(l),t.updateQueue=g}else m.add(l);break e}if(!(1&t)){mu(o,c,t),ml();break e}l=Error(a(426))}else if(ia&&1&s.mode){var _=gu(u);if(null!==_){!(65536&_.flags)&&(_.flags|=256),_u(_,u,s,0,t),fa(lu(l,s));break e}}o=l=lu(l,s),4!==Is&&(Is=2),null===Us?Us=[o]:Us.push(o),o=u;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Va(o,pu(0,l,t));break e;case 1:s=l;var D=o.type,v=o.stateNode;if(!(128&o.flags||"function"!=typeof D.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Xs&&Xs.has(v)))){o.flags|=65536,t&=-t,o.lanes|=t,Va(o,fu(o,s,t));break e}}o=o.return}while(null!==o)}yl(n)}catch(e){t=e,Ms===n&&null!==n&&(Ms=n=n.return);continue}break}}function fl(){var e=bs.current;return bs.current=Qo,null===e?Qo:e}function ml(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===ws||!(268435455&Ls)&&!(268435455&Os)||ul(ws,Ts)}function gl(e,t){var n=Bs;Bs|=2;var r=fl();for(ws===e&&Ts===t||(Hs=null,dl(e,t));;)try{_l();break}catch(t){pl(e,t)}if(Sa(),Bs=n,bs.current=r,null!==Ms)throw Error(a(261));return ws=null,Ts=0,Is}function _l(){for(;null!==Ms;)vl(Ms)}function Dl(){for(;null!==Ms&&!Je();)vl(Ms)}function vl(e){var t=Cs(e.alternate,e,Ps);e.memoizedProps=e.pendingProps,null===t?yl(e):Ms=t,Ss.current=null}function yl(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=qu(n,t)))return n.flags&=32767,void(Ms=n);if(null===e)return Is=6,void(Ms=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ku(n,t,Ps)))return void(Ms=n);if(null!==(t=t.sibling))return void(Ms=t);Ms=t=e}while(null!==t);0===Is&&(Is=5)}function El(e,t,n){var r=vt,i=xs.transition;try{xs.transition=null,vt=1,function(e,t,n,r){do{Al()}while(null!==qs);if(6&Bs)throw Error(a(327));
vendor: 4,804 bytes, line 2
2n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ot(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}(e,o),e===ws&&(Ms=ws=null,Ts=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Ks||(Ks=!0,wl(tt,(function(){return Al(),null}))),o=!!(15990&n.flags),!!(15990&n.subtreeFlags)||o){o=xs.transition,xs.transition=null;var u=vt;vt=1;var s=Bs;Bs|=4,Ss.current=null,function(e,t){if(ei=Gt,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(e){n=null;break e}var u=0,s=-1,l=-1,c=0,h=0,d=e,p=null;t:for(;;){for(var f;d!==n||0!==i&&3!==d.nodeType||(s=u+i),d!==o||0!==r&&3!==d.nodeType||(l=u+r),3===d.nodeType&&(u+=d.nodeValue.length),null!==(f=d.firstChild);)p=d,d=f;for(;;){if(d===e)break t;if(p===n&&++c===i&&(s=u),p===o&&++h===r&&(l=u),null!==(f=d.nextSibling))break;p=(d=p).parentNode}d=f}n=-1===s||-1===l?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Gt=!1,Qu=t;null!==Qu;)if(e=(t=Qu).child,1028&t.subtreeFlags&&null!==e)e.return=t,Qu=e;else for(;null!==Qu;){t=Qu;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,_=m.memoizedState,D=t.stateNode,v=D.getSnapshotBeforeUpdate(t.elementType===t.type?g:nu(t.type,g),_);D.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(a(163))}}catch(e){Fl(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Qu=e;break}Qu=t.return}m=ts,ts=!1}(e,n),gs(n,e),fr(ti),Gt=!!ei,ti=ei=null,e.current=n,Ds(n,e,i),Ye(),Bs=s,vt=u,xs.transition=o}else e.current=n;if(Ks&&(Ks=!1,qs=e,Js=i),o=e.pendingLanes,0===o&&(Xs=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(it,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),rl(e,$e()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Gs)throw Gs=!1,e=js,js=null,e;!!(1&Js)&&0!==e.tag&&Al(),o=e.pendingLanes,1&o?e===$s?Ys++:(Ys=0,$s=e):Ys=0,Wi()}(e,t,n,r)}finally{xs.transition=i,vt=r}return null}function Al(){if(null!==qs){var e=yt(Js),t=xs.transition,n=vt;try{if(xs.transition=null,vt=16>e?16:e,null===qs)var r=!1;else{if(e=qs,qs=null,Js=0,6&Bs)throw Error(a(331));var i=Bs;for(Bs|=4,Qu=e.current;null!==Qu;){var o=Qu,u=o.child;if(16&Qu.flags){var s=o.deletions;if(null!==s){for(var l=0;l<s.length;l++){var c=s[l];for(Qu=c;null!==Qu;){var h=Qu;switch(h.tag){case 0:case 11:case 15:ns(8,h,o)}var d=h.child;if(null!==d)d.return=h,Qu=d;else for(;null!==Qu;){var p=(h=Qu).sibling,f=h.return;if(as(h),h===c){Qu=null;break}if(null!==p){p.return=f,Qu=p;break}Qu=f}}}var m=o.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(null!==g)}}Qu=o}}if(2064&o.subtreeFlags&&null!==u)u.return=o,Qu=u;else e:for(;null!==Qu;){if(2048&(o=Qu).flags)switch(o.tag){case 0:case 11:case 15:ns(9,o,o.return)}var D=o.sibling;if(null!==D){D.return=o.return,Qu=D;break e}Qu=o.return}}var v=e.current;for(Qu=v;null!==Qu;){var y=(u=Qu).child;if(2064&u.subtreeFlags&&null!==y)y.return=u,Qu=y;else e:for(u=v;null!==Qu;){if(2048&(s=Qu).flags)try{switch(s.tag){case 0:case 11:case 15:rs(9,s)}}catch(e){Fl(s,s.return,e)}if(s===u){Qu=null;break e}var E=s.sibling;if(null!==E){E.return=s.return,Qu=E;break e}Qu=s.return}}if(Bs=i,Wi(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{vt=n,xs.transition=t}}return!1}function Cl(e,t,n){e=Ua(e,t=pu(0,t=lu(n,t),1),1),t=el(),null!==e&&(_t(e,1,t),rl(e,t))}function Fl(e,t,n){if(3===e.tag)Cl(e,e,n);else for(;null!==t;){if(3===t.tag){Cl(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Xs||!Xs.has(r))){t=Ua(t,e=fu(t,e=lu(n,e),1),1),e=el(),null!==t&&(_t(t,1,e),rl(t,e));break}}t=t.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=el(),e.pingedLanes|=e.suspendedLanes&n,ws===e&&(Ts&n)===n&&(4===Is||3===Is&&(130023424&Ts)===Ts&&500>
vendor: 10,029 bytes, line 2
2$e()-Vs?dl(e,0):ks|=n),rl(e,t)}function Sl(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=el();null!==(e=Ia(e,t))&&(_t(e,t,n),rl(e,n))}function xl(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Sl(e,n)}function Bl(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Sl(e,n)}function wl(e,t){return Ke(e,t)}function Ml(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tl(e,t,n,r){return new Ml(e,t,n,r)}function Pl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rl(e,t){var n=e.alternate;return null===n?((n=Tl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Il(e,t,n,r,i,o){var u=2;if(r=e,"function"==typeof e)Pl(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case C:return Nl(n.children,i,o,t);case F:u=8,i|=8;break;case b:return(e=Tl(12,n,t,2|i)).elementType=b,e.lanes=o,e;case w:return(e=Tl(13,n,t,i)).elementType=w,e.lanes=o,e;case M:return(e=Tl(19,n,t,i)).elementType=M,e.lanes=o,e;case R:return Ll(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:u=10;break e;case x:u=9;break e;case B:u=11;break e;case T:u=14;break e;case P:u=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Tl(u,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Nl(e,t,n,r){return(e=Tl(7,e,r,t)).lanes=n,e}function Ll(e,t,n,r){return(e=Tl(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function Ol(e,t,n){return(e=Tl(6,e,null,t)).lanes=n,e}function kl(e,t,n){return(t=Tl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ul(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function zl(e,t,n,r,i,a,o,u,s){return e=new Ul(e,t,n,u,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Tl(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},La(a),e}function Vl(e){if(!e)return xi;e:{if(We(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Pi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Pi(n))return Ni(e,n,t)}return t}function Wl(e,t,n,r,i,a,o,u,s){return(e=zl(n,r,!0,e,0,a,0,u,s)).context=Vl(null),n=e.current,(a=ka(r=el(),i=tl(n))).callback=null!=t?t:null,Ua(n,a,i),e.current.lanes=i,_t(e,i,r),rl(e,r),e}function Hl(e,t,n,r){var i=t.current,a=el(),o=tl(i);return n=Vl(n),null===t.context?t.context=n:t.pendingContext=n,(t=ka(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ua(i,t,o))&&(nl(e,i,o,a),za(e,i,o)),o}function Gl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function jl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Xl(e,t){jl(e,t),(e=e.alternate)&&jl(e,t)}Cs=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||wi.current)vu=!0;else{if(!(e.lanes&n||128&t.flags))return vu=!1,function(e,t,n){switch(t.tag){case 3:wu(t),pa();break;case 5:$a(t);break;case 1:Pi(t.type)&&Li(t);break;case 4:Ja(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Si(Aa,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Si(Za,1&Za.current),t.flags|=128,null):n&t.child.childLanes?Ou(e,t,n):(Si(Za,1&Za.current),null!==(e=Gu(e,t,n))?e.sibling:null);Si(Za,1&Za.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Wu(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Si(Za,Za.current),r)break;return null;case 22:case 23:return t.lanes=0,Fu(e,t,n)}return Gu(e,t,n)}(e,t,n);vu=!!(131072&e.flags)}else vu=!1,ia&&1048576&t.flags&&Zi(t,Xi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hu(e,t),e=t.pendingProps;var i=Ti(t,Bi.current);wa(t,n),i=go(null,t,r,e,i,n);var o=_o();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pi(r)?(o=!0,Li(t)):o=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,La(t),i.updater=iu,t.stateNode=i,i._reactInternals=t,su(t,r,e,n),t=Bu(null,t,r,!0,o,n)):(t.tag=0,ia&&o&&ea(t),yu(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hu(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Pl(e)?1:0;if(null!=e){if((e=e.$$typeof)===B)return 11;if(e===T)return 14}return 2}(r),e=nu(r,e),i){case 0:t=Su(null,t,r,e,n);break e;case 1:t=xu(null,t,r,e,n);break e;case 11:t=Eu(null,t,r,e,n);break e;case 14:t=Au(null,t,r,nu(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Su(e,t,r,i=t.elementType===r?i:nu(r,i),n);case 1:return r=t.type,i=t.pendingProps,xu(e,t,r,i=t.elementType===r?i:nu(r,i),n);case 3:e:{if(wu(t),null===e)throw Error(a(387));r=t.pendingProps,i=(o=t.memoizedState).element,Oa(e,t),Wa(t,r,null,n);var u=t.memoizedState;if(r=u.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Mu(e,t,r,n,i=lu(Error(a(423)),t));break e}if(r!==i){t=Mu(e,t,r,n,i=lu(Error(a(424)),t));break e}for(ra=li(t.stateNode.containerInfo.firstChild),na=t,ia=!0,aa=null,n=Ea(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pa(),r===i){t=Gu(e,t,n);break e}yu(e,t,r,n)}t=t.child}return t;case 5:return $a(t),null===e&&la(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,u=i.children,ni(r,i)?u=null:null!==o&&ni(r,o)&&(t.flags|=32),bu(e,t),yu(e,t,u,n),t.child;case 6:return null===e&&la(t),null;case 13:return Ou(e,t,n);case 4:return Ja(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ya(t,null,r,n):yu(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Eu(e,t,r,i=t.elementType===r?i:nu(r,i),n);case 7:return yu(e,t,t.pendingProps,n),t.child;case 8:case 12:return yu(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,u=i.value,Si(Aa,r._currentValue),r._currentValue=u,null!==o)if(ur(o.value,u)){if(o.children===i.children&&!wi.current){t=Gu(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var s=o.dependencies;if(null!==s){u=o.child;for(var l=s.firstContext;null!==l;){if(l.context===r){if(1===o.tag){(l=ka(-1,n&-n)).tag=2;var c=o.updateQueue;if(null!==c){var h=(c=c.shared).pending;null===h?l.next=l:(l.next=h.next,h.next=l),c.pending=l}}o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),Ba(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(10===o.tag)u=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(u=o.return))throw Error(a(341));u.lanes|=n,null!==(s=u.alternate)&&(s.lanes|=n),Ba(u,n,t),u=o.sibling}else u=o.child;if(null!==u)u.return=o;else for(u=o;null!==u;){if(u===t){u=null;break}if(null!==(o=u.sibling)){o.return=u.return,u=o;break}u=u.return}o=u}yu(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,wa(t,n),r=r(i=Ma(i)),t.flags|=1,yu(e,t,r,n),t.child;case 14:return i=nu(r=t.type,t.pendingProps),Au(e,t,r,i=nu(r.type,i),n);case 15:return Cu(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nu(r,i),Hu(e,t),t.tag=1,Pi(r)?(e=!0,Li(t)):e=!1,wa(t,n),ou(t,r,i),su(t,r,i,n),Bu(null,t,r,!0,e,n);case 19:return Wu(e,t,n);case 22:return Fu(e,t,n)}throw Error(a(156,t.tag))};var Kl="function"==typeof reportError?reportError:function(e){console.error(e)};function ql(e){this._internalRoot=e}function Jl(e){this._internalRoot=e}function Yl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function $l(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ql(){}function Zl(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if("function"==typeof i){var u=i;i=function(){var e=Gl(o);u.call(e)}}Hl(t,o,e,i)}else o=function(e,t,n,r,i){if(i){if("function"==typeof r){var a=r;r=function(){var e=Gl(o);a.call(e)}}var o=Wl(t,r,e,0,null,!1,0,"",Ql);return e._reactRootContainer=o,e[fi]=o.current,Wr(8===e.nodeType?e.parentNode:e),cl(),o}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var u=r;r=function(){var e=Gl(s);u.call(e)}}var s=zl(e,0,!1,null,0,!1,0,"",Ql);return e._reactRootContainer=s,e[fi]=s.current,Wr(8===e.nodeType?e.parentNode:e),cl((function(){Hl(t,s,n,r)})),s}(n,t,e,i,r);
vendor: 5,535 bytes, line 2
2return Gl(o)}Jl.prototype.render=ql.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Hl(e,t,null,null)},Jl.prototype.unmount=ql.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cl((function(){Hl(null,e,null,null)})),t[fi]=null}},Jl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ft();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&Ot(e)}},Et=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ht(t.pendingLanes);0!==n&&(Dt(t,1|n),rl(t,$e()),!(6&Bs)&&(Ws=$e()+500,Wi()))}break;case 13:cl((function(){var t=Ia(e,1);if(null!==t){var n=el();nl(t,e,1,n)}})),Xl(e,1)}},At=function(e){if(13===e.tag){var t=Ia(e,134217728);if(null!==t)nl(t,e,134217728,el());Xl(e,134217728)}},Ct=function(e){if(13===e.tag){var t=tl(e),n=Ia(e,t);if(null!==n)nl(n,e,t,el());Xl(e,t)}},Ft=function(){return vt},bt=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},Ae=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Ei(r);if(!i)throw Error(a(90));K(r),Q(r,i)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Be=ll,we=cl;var ec={usingClientEntryPoint:!1,Events:[vi,yi,Ei,Se,xe,ll]},tc={findFiberByHostInstance:Di,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=je(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{it=rc.inject(nc),at=rc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yl(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:A,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yl(e))throw Error(a(299));var n=!1,r="",i=Kl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=zl(e,1,!1,null,0,n,0,r,i),e[fi]=t.current,Wr(8===e.nodeType?e.parentNode:e),new ql(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=je(t))?null:e.stateNode},t.flushSync=function(e){return cl(e)},t.hydrate=function(e,t,n){if(!$l(t))throw Error(a(200));return Zl(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yl(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,i=!1,o="",u=Kl;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(u=n.onRecoverableError)),t=Wl(t,null,e,1,null!=n?n:null,i,0,o,u),e[fi]=t.current,Wr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Jl(t)},t.render=function(e,t,n){if(!$l(t))throw Error(a(200));return Zl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!$l(e))throw Error(a(40));return!!e._reactRootContainer&&(cl((function(){Zl(null,null,e,!1,(function(){e._reactRootContainer=null,e[fi]=null}))})),!0)},t.unstable_batchedUpdates=ll,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!$l(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return Zl(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},5338:function(e,t,n){"use strict";var r=n(961);t.H=r.createRoot,r.hydrateRoot},961:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2551)},735:function(e,t){"use strict";t.ConcurrentRoot=1,t.ContinuousEventPriority=4,t.DefaultEventPriority=16,t.DiscreteEventPriority=1},2935:function(e,t,n){e.exports=function(e){var t={},r=n(6540),i=n(966),a=Object.assign;function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
vendor: 6,709 bytes, line 2
2var u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=Symbol.for("react.element"),l=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),f=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),v=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var y=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var E=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=E&&e[E]||e["@@iterator"])?e:null}function C(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case c:return"Fragment";case l:return"Portal";case d:return"Profiler";case h:return"StrictMode";case g:return"Suspense";case _:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case f:return(e.displayName||"Context")+".Consumer";case p:return(e._context.displayName||"Context")+".Provider";case m:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case D:return null!==(t=e.displayName||null)?t:C(e.type)||"Memo";case v:t=e._payload,e=e._init;try{return C(e(t))}catch(e){}}return null}function F(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return C(t);case 8:return t===h?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function b(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function S(e){if(b(e)!==e)throw Error(o(188))}function x(e){var t=e.alternate;if(!t){if(null===(t=b(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return S(i),e;if(a===r)return S(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var u=!1,s=i.child;s;){if(s===n){u=!0,n=i,r=a;break}if(s===r){u=!0,r=i,n=a;break}s=s.sibling}if(!u){for(s=a.child;s;){if(s===n){u=!0,n=a,r=i;break}if(s===r){u=!0,r=a,n=i;break}s=s.sibling}if(!u)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}function B(e){return null!==(e=x(e))?w(e):null}function w(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=w(e);if(null!==t)return t;e=e.sibling}return null}function M(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){if(4!==e.tag){var t=M(e);if(null!==t)return t}e=e.sibling}return null}var T,P=Array.isArray,R=e.getPublicInstance,I=e.getRootHostContext,N=e.getChildHostContext,L=e.prepareForCommit,O=e.resetAfterCommit,k=e.createInstance,U=e.appendInitialChild,z=e.finalizeInitialChildren,V=e.prepareUpdate,W=e.shouldSetTextContent,H=e.createTextInstance,G=e.scheduleTimeout,j=e.cancelTimeout,X=e.noTimeout,K=e.isPrimaryRenderer,q=e.supportsMutation,J=e.supportsPersistence,Y=e.supportsHydration,$=e.getInstanceFromNode,Q=e.preparePortalMount,Z=e.getCurrentEventPriority,ee=e.detachDeletedInstance,te=e.supportsMicrotasks,ne=e.scheduleMicrotask,re=e.supportsTestSelectors,ie=e.findFiberRoot,ae=e.getBoundingRect,oe=e.getTextContent,ue=e.isHiddenSubtree,se=e.matchAccessibilityRole,le=e.setFocusIfFocusable,ce=e.setupIntersectionObserver,he=e.appendChild,de=e.appendChildToContainer,pe=e.commitTextUpdate,fe=e.commitMount,me=e.commitUpdate,ge=e.insertBefore,_e=e.insertInContainerBefore,De=e.removeChild,ve=e.removeChildFromContainer,ye=e.resetTextContent,Ee=e.hideInstance,Ae=e.hideTextInstance,Ce=e.unhideInstance,Fe=e.unhideTextInstance,be=e.clearContainer,Se=e.cloneInstance,xe=e.createContainerChildSet,Be=e.appendChildToContainerChildSet,we=e.finalizeContainerChildren,Me=e.replaceContainerChildren,Te=e.cloneHiddenInstance,Pe=e.cloneHiddenTextInstance,Re=e.canHydrateInstance,Ie=e.canHydrateTextInstance,Ne=e.canHydrateSuspenseInstance,Le=e.isSuspenseInstancePending,Oe=e.isSuspenseInstanceFallback,ke=e.registerSuspenseInstanceRetry,Ue=e.getNextHydratableSibling,ze=e.getFirstHydratableChild,Ve=e.getFirstHydratableChildWithinContainer,We=e.getFirstHydratableChildWithinSuspenseInstance,He=e.hydrateInstance,Ge=e.hydrateTextInstance,je=e.hydrateSuspenseInstance,Xe=e.getNextHydratableInstanceAfterSuspenseInstance,Ke=e.commitHydratedContainer,qe=e.commitHydratedSuspenseInstance,Je=e.clearSuspenseBoundary,Ye=e.clearSuspenseBoundaryFromContainer,$e=e.shouldDeleteUnhydratedTailInstances,Qe=e.didNotMatchHydratedContainerTextInstance,Ze=e.didNotMatchHydratedTextInstance;function et(e){if(void 0===T)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);T=t&&t[1]||""}return"\n"+T+e}var tt=!1;function nt(e,t){if(!e||tt)return"";tt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,u=a.length-1;1<=o&&0<=u&&i[o]!==a[u];)u--;for(;1<=o&&0<=u;o--,u--)if(i[o]!==a[u]){if(1!==o||1!==u)do{if(o--,0>--u||i[o]!==a[u]){var s="\n"+i[o].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=o&&0<=u);break}}}finally{tt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?et(e):""}var rt=Object.prototype.hasOwnProperty,it=[],at=-1;function ot(e){return{current:e}}function ut(e){0>at||(e.current=it[at],it[at]=null,at--)}function st(e,t){at++,it[at]=e.current,e.current=t}var lt={}
vendor: 4,310 bytes, line 2
2,ct=ot(lt),ht=ot(!1),dt=lt;function pt(e,t){var n=e.type.contextTypes;if(!n)return lt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function ft(e){return null!=(e=e.childContextTypes)}function mt(){ut(ht),ut(ct)}function gt(e,t,n){if(ct.current!==lt)throw Error(o(168));st(ct,t),st(ht,n)}function _t(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,F(e)||"Unknown",i));return a({},n,r)}function Dt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||lt,dt=ct.current,st(ct,e),st(ht,ht.current),!0}function vt(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=_t(e,t,dt),r.__reactInternalMemoizedMergedChildContext=e,ut(ht),ut(ct),st(ct,e)):ut(ht),st(ht,n)}var yt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(Et(e)/At|0)|0},Et=Math.log,At=Math.LN2;var Ct=64,Ft=4194304;function bt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function St(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=268435455&n;if(0!==o){var u=o&~i;0!==u?r=bt(u):0!==(a&=o)&&(r=bt(a))}else 0!==(o=n&~i)?r=bt(o):0!==a&&(r=bt(a));if(0===r)return 0;if(0!==t&&t!==r&&!(t&i)&&((i=r&-r)>=(a=t&-t)||16===i&&4194240&a))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-yt(t)),r|=e[n],t&=~i;return r}function xt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Bt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function wt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-yt(t)]=n}function Tt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-yt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Pt=0;function Rt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var It=i.unstable_scheduleCallback,Nt=i.unstable_cancelCallback,Lt=i.unstable_shouldYield,Ot=i.unstable_requestPaint,kt=i.unstable_now,Ut=i.unstable_ImmediatePriority,zt=i.unstable_UserBlockingPriority,Vt=i.unstable_NormalPriority,Wt=i.unstable_IdlePriority,Ht=null,Gt=null;var jt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Xt=null,Kt=!1,qt=!1;function Jt(e){null===Xt?Xt=[e]:Xt.push(e)}function Yt(){if(!qt&&null!==Xt){qt=!0;var e=0,t=Pt;try{var n=Xt;for(Pt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Xt=null,Kt=!1}catch(t){throw null!==Xt&&(Xt=Xt.slice(e+1)),It(Ut,Yt),t}finally{Pt=t,qt=!1}}return null}var $t=u.ReactCurrentBatchConfig;function Qt(e,t){if(jt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!rt.call(t,i)||!jt(e[i],t[i]))return!1}return!0}function Zt(e){switch(e.tag){case 5:return et(e.type);case 16:return et("Lazy");case 13:return et("Suspense");case 19:return et("SuspenseList");case 0:case 2:case 15:return e=nt(e.type,!1);case 11:return e=nt(e.type.render,!1);case 1:return e=nt(e.type,!0);default:return""}}function en(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var tn=ot(null),nn=null,rn=null,an=null;function on(){an=rn=nn=null}
2function un(e,t,n){K?(st(tn,t._currentValue),t._currentValue=n):(st(tn,t._currentValue2),t._currentValue2=n)}function sn(e){var t=tn.current;ut(tn),K?e._currentValue=t:e._currentValue2=t}function ln(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function cn(e,t){nn=e,an=rn=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(Li=!0),e.firstContext=null)}function hn(e){var t=K?e._currentValue:e._currentValue2;if(an!==e)if(e={context:e,memoizedValue:t,next:null},null===rn){if(null===nn)throw Error(o(308));rn=e,nn.dependencies={lanes:0,firstContext:e}}else rn=rn.next=e;return t}var dn=null,pn=!1;function fn(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function mn(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function gn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function _n(e,t){var n=e.updateQueue;null!==n&&(n=n.shared,null!==qa&&1&e.mode&&!(2&Ka)?(null===(e=n.interleaved)?(t.next=t,null===dn?dn=[n]:dn.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(null===(e=n.pending)?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function Dn(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Tt(e,n)}}function vn(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function yn(e,t,n,r){var i=e.updateQueue;pn=!1;var o=i.firstBaseUpdate,u=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===u?o=c:u.next=c,u=l;var h=e.alternate;null!==h&&((s=(h=h.updateQueue).lastBaseUpdate)!==u&&(null===s?h.firstBaseUpdate=c:s.next=c,h.lastBaseUpdate=l))}if(null!==o){var d=i.baseState;for(u=0,h=c=l=null,s=o;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==h&&(h=h.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=e,g=s;switch(p=t,f=n,g.tag){case 1:if("function"==typeof(m=g.payload)){d=m.call(f,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=g.payload)?m.call(f,d,p):m))break e;d=a({},d,p);break e;case 2:pn=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=i.effects)?i.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===h?(c=h=f,l=d):h=h.next=f,u|=p;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(p=s).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}if(null===h&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=h,null!==(t=i.shared.interleaved)){i=t;do{u|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);to|=u,e.lanes=u,e.memoizedState=d}}function En(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(o(191,i));i.call(r)}}}var An=(new r.Component).refs;function Cn(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Fn={isMounted:function(e){return!!(e=e._reactInternals)&&b(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Eo(),i=Ao(e),a=gn(r,i);a.payload=t,null!=n&&(a.callback=n),_n(e,a),null!==(t=Co(e,i,r))&&Dn(t,e,i)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;
2var r=Eo(),i=Ao(e),a=gn(r,i);a.tag=1,a.payload=t,null!=n&&(a.callback=n),_n(e,a),null!==(t=Co(e,i,r))&&Dn(t,e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Eo(),r=Ao(e),i=gn(n,r);i.tag=2,null!=t&&(i.callback=t),_n(e,i),null!==(t=Co(e,r,n))&&Dn(t,e,r)}};function bn(e,t,n,r,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!Qt(n,r)||!Qt(i,a))}function Sn(e,t,n){var r=!1,i=lt,a=t.contextType;return"object"==typeof a&&null!==a?a=hn(a):(i=ft(t)?dt:ct.current,a=(r=null!=(r=t.contextTypes))?pt(e,i):lt),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Fn,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function xn(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Fn.enqueueReplaceState(t,t.state,null)}function Bn(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=An,fn(e);var a=t.contextType;"object"==typeof a&&null!==a?i.context=hn(a):(a=ft(t)?dt:ct.current,i.context=pt(e,a)),i.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Cn(e,t,a,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Fn.enqueueReplaceState(i,i.state,null),yn(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}var wn=[],Mn=0,Tn=null,Pn=0,Rn=[],In=0,Nn=null,Ln=1,On="";function kn(e,t){wn[Mn++]=Pn,wn[Mn++]=Tn,Tn=e,Pn=t}function Un(e,t,n){Rn[In++]=Ln,Rn[In++]=On,Rn[In++]=Nn,Nn=e;var r=Ln;e=On;var i=32-yt(r)-1;r&=~(1<<i),n+=1;var a=32-yt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ln=1<<32-yt(t)+i|n<<i|r,On=a+e}else Ln=1<<a|n<<i|r,On=e}function zn(e){null!==e.return&&(kn(e,1),Un(e,1,0))}function Vn(e){for(;e===Tn;)Tn=wn[--Mn],wn[Mn]=null,Pn=wn[--Mn],wn[Mn]=null;for(;e===Nn;)Nn=Rn[--In],Rn[In]=null,On=Rn[--In],Rn[In]=null,Ln=Rn[--In],Rn[In]=null}var Wn=null,Hn=null,Gn=!1,jn=!1,Xn=null;function Kn(e,t){var n=Qo(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function qn(e,t){switch(e.tag){case 5:return null!==(t=Re(t,e.type,e.pendingProps))&&(e.stateNode=t,Wn=e,Hn=ze(t),!0);case 6:return null!==(t=Ie(t,e.pendingProps))&&(e.stateNode=t,Wn=e,Hn=null,!0);case 13:if(null!==(t=Ne(t))){var n=null!==Nn?{id:Ln,overflow:On}:null;return e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Qo(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Wn=e,Hn=null,!0}return!1;default:return!1}}function Jn(e){return!(!(1&e.mode)||128&e.flags)}function Yn(e){if(Gn){var t=Hn;if(t){var n=t;if(!qn(e,t)){if(Jn(e))throw Error(o(418));t=Ue(n);var r=Wn;t&&qn(e,t)?Kn(r,n):(e.flags=-4097&e.flags|2,Gn=!1,Wn=e)}}else{if(Jn(e))throw Error(o(418));e.flags=-4097&e.flags|2,Gn=!1,Wn=e}}}function $n(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Wn=e}function Qn(e){if(!Y||e!==Wn)return!1;if(!Gn)return $n(e),Gn=!0,!1;if(3!==e.tag&&(5!==e.tag||$e(e.type)&&!W(e.type,e.memoizedProps))){var t=Hn;if(t){if(Jn(e)){for(e=Hn;e;)e=Ue(e);throw Error(o(418))}for(;t;)Kn(e,t),t=Ue(t)}}if($n(e),13===e.tag){if(!Y)throw Error(o(316));if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));Hn=Xe(e)}else Hn=Wn?Ue(e.stateNode):null;return!0}function Zn(){Y&&(Hn=Wn=null,jn=Gn=!1)}function er(e){null===Xn?Xn=[e]:Xn.push(e)}function tr(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;
vendor: 5,394 bytes, line 2
2t===An&&(t=i.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function nr(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function rr(e){return(0,e._init)(e._payload)}function ir(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=eu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function u(t){return e&&null===t.alternate&&(t.flags|=2),t}function h(e,t,n,r){return null===t||6!==t.tag?((t=iu(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n,r){var a=n.type;return a===c?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===v&&rr(a)===t.type)?((r=i(t,n.props)).ref=tr(e,t,n),r.return=e,r):((r=tu(n.type,n.key,n.props,null,e.mode,r)).ref=tr(e,t,n),r.return=e,r)}function p(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=au(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=nu(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function m(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=iu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case s:return(n=tu(t.type,t.key,t.props,null,e.mode,n)).ref=tr(e,null,t),n.return=e,n;case l:return(t=au(t,e.mode,n)).return=e,t;case v:return m(e,(0,t._init)(t._payload),n)}if(P(t)||A(t))return(t=nu(t,e.mode,n,null)).return=e,t;nr(e,t)}return null}function g(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:h(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case s:return n.key===i?d(e,t,n,r):null;case l:return n.key===i?p(e,t,n,r):null;case v:return g(e,t,(i=n._init)(n._payload),r)}if(P(n)||A(n))return null!==i?null:f(e,t,n,r,null);nr(e,n)}return null}function _(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return h(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case s:return d(t,e=e.get(null===r.key?n:r.key)||null,r,i);case l:return p(t,e=e.get(null===r.key?n:r.key)||null,r,i);case v:return _(e,t,n,(0,r._init)(r._payload),i)}if(P(r)||A(r))return f(t,e=e.get(n)||null,r,i,null);nr(t,r)}return null}function D(i,o,u,s){for(var l=null,c=null,h=o,d=o=0,p=null;null!==h&&d<u.length;d++){h.index>d?(p=h,h=null):p=h.sibling;var f=g(i,h,u[d],s);if(null===f){null===h&&(h=p);break}e&&h&&null===f.alternate&&t(i,h),o=a(f,o,d),null===c?l=f:c.sibling=f,c=f,h=p}if(d===u.length)return n(i,h),Gn&&kn(i,d),l;if(null===h){for(;d<u.length;d++)null!==(h=m(i,u[d],s))&&(o=a(h,o,d),null===c?l=h:c.sibling=h,c=h);return Gn&&kn(i,d),l}for(h=r(i,h);d<u.length;d++)null!==(p=_(h,i,d,u[d],s))&&(e&&null!==p.alternate&&h.delete(null===p.key?d:p.key),o=a(p,o,d),null===c?l=p:c.sibling=p,c=p);return e&&h.forEach((function(e){return t(i,e)})),Gn&&kn(i,d),l}function y(i,u,s,l){var c=A(s);if("function"!=typeof c)throw Error(o(150));if(null==(s=c.call(s)))throw Error(o(151));for(var h=c=null,d=u,p=u=0,f=null,D=s.next();null!==d&&!D.done;p++,D=s.next()){d.index>p?(f=d,d=null):f=d.sibling;var v=g(i,d,D.value,l);if(null===v){null===d&&(d=f);break}e&&d&&null===v.alternate&&t(i,d),u=a(v,u,p),null===h?c=v:h.sibling=v,h=v,d=f}if(D.done)return n(i,d),Gn&&kn(i,p),c;if(null===d){for(;!D.done;p++,D=s.next())null!==(D=m(i,D.value,l))&&(u=a(D,u,p),null===h?c=D:h.sibling=D,h=D);return Gn&&kn(i,p),c}for(d=r(i,d);!D.done;p++,D=s.next())null!==(D=_(d,i,p,D.value,l))&&(e&&null!==D.alternate&&d.delete(null===D.key?p:D.key),u=a(D,u,p),null===h?c=D:h.sibling=D,h=D);return e&&d.forEach((function(e){return t(i,e)})),Gn&&kn(i,p),c}return function e(r,a,o,h){if("object"==typeof o&&null!==o&&o.type===c&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case s:e:{for(var d=o.key,p=a;null!==p;){if(p.key===d){if((d=o.type)===c){if(7===p.tag){n(r,p.sibling),(a=i(p,o.props.children)).return=r,r=a;break e}}else if(p.elementType===d||"object"==typeof d&&null!==d&&d.$$typeof===v&&rr(d)===p.type){n(r,p.sibling),(a=i(p,o.props)).ref=tr(r,p,o),a.return=r,r=a;break e}n(r,p);break}t(r,p),p=p.sibling}o.type===c?((a=nu(o.props.children,r.mode,h,o.key)).return=r,r=a):((h=tu(o.type,o.key,o.props,null,r.mode,h)).ref=tr(r,a,o),h.return=r,r=h)}return u(r);case l:e:{for(p=o.key;null!==a;){if(a.key===p){if(4===a.tag&&a.stateNode.containerInfo===o.containerInfo&&a.stateNode.implementation===o.implementation){n(r,a.sibling),(a=i(a,o.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=au(o,r.mode,h)).return=r,r=a}return u(r);case v:return e(r,a,(p=o._init)(o._payload),h)}if(P(o))return D(r,a,o,h);if(A(o))return y(r,a,o,h);nr(r,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==a&&6===a.tag?(n(r,a.sibling),(a=i(a,o)).return=r,r=a):(n(r,a),(a=iu(o,r.mode,h)).return=r,r=a),u(r)):n(r,a)}}
vendor: 5,885 bytes, line 2
2var ar=ir(!0),or=ir(!1),ur={},sr=ot(ur),lr=ot(ur),cr=ot(ur);function hr(e){if(e===ur)throw Error(o(174));return e}function dr(e,t){st(cr,t),st(lr,e),st(sr,ur),e=I(t),ut(sr),st(sr,e)}function pr(){ut(sr),ut(lr),ut(cr)}function fr(e){var t=hr(cr.current),n=hr(sr.current);n!==(t=N(n,e.type,t))&&(st(lr,e),st(sr,t))}function mr(e){lr.current===e&&(ut(sr),ut(lr))}var gr=ot(0);function _r(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Le(n)||Oe(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Dr=[];function vr(){for(var e=0;e<Dr.length;e++){var t=Dr[e];K?t._workInProgressVersionPrimary=null:t._workInProgressVersionSecondary=null}Dr.length=0}var yr=u.ReactCurrentDispatcher,Er=u.ReactCurrentBatchConfig,Ar=0,Cr=null,Fr=null,br=null,Sr=!1,xr=!1,Br=0,wr=0;function Mr(){throw Error(o(321))}function Tr(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!jt(e[n],t[n]))return!1;return!0}function Pr(e,t,n,r,i,a){if(Ar=a,Cr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,yr.current=null===e||null===e.memoizedState?fi:mi,e=n(r,i),xr){a=0;do{if(xr=!1,Br=0,25<=a)throw Error(o(301));a+=1,br=Fr=null,t.updateQueue=null,yr.current=gi,e=n(r,i)}while(xr)}if(yr.current=pi,t=null!==Fr&&null!==Fr.next,Ar=0,br=Fr=Cr=null,Sr=!1,t)throw Error(o(300));return e}function Rr(){var e=0!==Br;return Br=0,e}function Ir(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===br?Cr.memoizedState=br=e:br=br.next=e,br}function Nr(){if(null===Fr){var e=Cr.alternate;e=null!==e?e.memoizedState:null}else e=Fr.next;var t=null===br?Cr.memoizedState:br.next;if(null!==t)br=t,Fr=e;else{if(null===e)throw Error(o(310));e={memoizedState:(Fr=e).memoizedState,baseState:Fr.baseState,baseQueue:Fr.baseQueue,queue:Fr.queue,next:null},null===br?Cr.memoizedState=br=e:br=br.next=e}return br}function Lr(e,t){return"function"==typeof t?t(e):t}function Or(e){var t=Nr(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=Fr,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var u=i.next;i.next=a.next,a.next=u}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var s=u=null,l=null,c=a;do{var h=c.lane;if((Ar&h)===h)null!==l&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:h,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===l?(s=l=d,u=r):l=l.next=d,Cr.lanes|=h,to|=h}c=c.next}while(null!==c&&c!==a);null===l?u=r:l.next=s,jt(r,t.memoizedState)||(Li=!0),t.memoizedState=r,t.baseState=u,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,Cr.lanes|=a,to|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function kr(e){var t=Nr(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var u=i=i.next;do{a=e(a,u.action),u=u.next}while(u!==i);jt(a,t.memoizedState)||(Li=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ur(){}function zr(e,t){var n=Cr,r=Nr(),i=t(),a=!jt(r.memoizedState,i);if(a&&(r.memoizedState=i,Li=!0),r=r.queue,$r(Hr.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==br&&1&br.memoizedState.tag){if(n.flags|=2048,Xr(9,Wr.bind(null,n,r,i,t),void 0,null),null===qa)throw Error(o(349));30&Ar||Vr(n,t,i)}return i}function Vr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Cr.updateQueue)?(t={lastEffect:null,stores:null},Cr.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Wr(e,t,n,r){t.value=n,t.getSnapshot=r,Gr(t)&&Co(e,1,-1)}function Hr(e,t,n){return n((function(){Gr(t)&&Co(e,1,-1)}))}function Gr(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jt(e,n)}catch(e){return!0}}function jr(e){var t=Ir();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Lr,lastRenderedState:e},t.queue=e,e=e.dispatch=si.bind(null,Cr,e),[t.memoizedState,e]}function Xr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Cr.updateQueue)?(t={lastEffect:null,stores:null},Cr.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Kr(){return Nr().memoizedState}function qr(e,t,n,r){var i=Ir();Cr.flags|=e,i.memoizedState=Xr(1|t,n,void 0,void 0===r?null:r)}function Jr(e,t,n,r){var i=Nr();r=void 0===r?null:r;var a=void 0;if(null!==Fr){var o=Fr.memoizedState;if(a=o.destroy,null!==r&&Tr(r,o.deps))return void(i.memoizedState=Xr(t,n,a,r))}Cr.flags|=e,i.memoizedState=Xr(1|t,n,a,r)}function Yr(e,t){return qr(8390656,8,e,t)}function $r(e,t){return Jr(2048,8,e,t)}function Qr(e,t){return Jr(4,2,e,t)}function Zr(e,t){return Jr(4,4,e,t)}function ei(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ti(e,t,n){return n=null!=n?n.concat([e]):null,Jr(4,4,ei.bind(null,t,e),n)}function ni(){}function ri(e,t){var n=Nr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Tr(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ii(e,t){var n=Nr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Tr(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ai(e,t){var n=Pt;Pt=0!==n&&4>n?n:4,e(!0);var r=Er.transition;Er.transition={};try{e(!1),t()}finally{Pt=n,Er.transition=r}}function oi(){return Nr().memoizedState}
2function ui(e,t,n){var r=Ao(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},li(e)?ci(t,n):(hi(e,t,n),null!==(e=Co(e,r,n=Eo()))&&di(e,t,r))}function si(e,t,n){var r=Ao(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(li(e))ci(t,i);else{hi(e,t,i);var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,u=a(o,n);if(i.hasEagerState=!0,i.eagerState=u,jt(u,o))return}catch(e){}null!==(e=Co(e,r,n=Eo()))&&di(e,t,r)}}function li(e){var t=e.alternate;return e===Cr||null!==t&&t===Cr}function ci(e,t){xr=Sr=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hi(e,t,n){null!==qa&&1&e.mode&&!(2&Ka)?(null===(e=t.interleaved)?(n.next=n,null===dn?dn=[t]:dn.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function di(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Tt(e,n)}}var pi={readContext:hn,useCallback:Mr,useContext:Mr,useEffect:Mr,useImperativeHandle:Mr,useInsertionEffect:Mr,useLayoutEffect:Mr,useMemo:Mr,useReducer:Mr,useRef:Mr,useState:Mr,useDebugValue:Mr,useDeferredValue:Mr,useTransition:Mr,useMutableSource:Mr,useSyncExternalStore:Mr,useId:Mr,unstable_isNewReconciler:!1},fi={readContext:hn,useCallback:function(e,t){return Ir().memoizedState=[e,void 0===t?null:t],e},useContext:hn,useEffect:Yr,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,qr(4194308,4,ei.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qr(4194308,4,e,t)},useInsertionEffect:function(e,t){return qr(4,2,e,t)},useMemo:function(e,t){var n=Ir();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ir();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ui.bind(null,Cr,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ir().memoizedState=e},useState:jr,useDebugValue:ni,useDeferredValue:function(e){var t=jr(e),n=t[0],r=t[1];return Yr((function(){var t=Er.transition;Er.transition={};try{r(e)}finally{Er.transition=t}}),[e]),n},useTransition:function(){var e=jr(!1),t=e[0];return e=ai.bind(null,e[1]),Ir().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Cr,i=Ir();if(Gn){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===qa)throw Error(o(349));30&Ar||Vr(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Yr(Hr.bind(null,r,a,e),[e]),r.flags|=2048,Xr(9,Wr.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ir(),t=qa.identifierPrefix;if(Gn){var n=On;t=":"+t+"R"+(n=(Ln&~(1<<32-yt(Ln)-1)).toString(32)+n),0<(n=Br++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wr++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},mi={readContext:hn,useCallback:ri,useContext:hn,useEffect:$r,useImperativeHandle:ti,useInsertionEffect:Qr,useLayoutEffect:Zr,useMemo:ii,useReducer:Or,useRef:Kr,useState:function(){return Or(Lr)},useDebugValue:ni,useDeferredValue:function(e){var t=Or(Lr),n=t[0],r=t[1];return $r((function(){var t=Er.transition;Er.transition={};try{r(e)}finally{Er.transition=t}}),[e]),n},useTransition:function(){return[Or(Lr)[0],Nr().memoizedState]},useMutableSource:Ur,useSyncExternalStore:zr,useId:oi,unstable_isNewReconciler:!1},gi={readContext:hn,useCallback:ri,useContext:hn,useEffect:$r,useImperativeHandle:ti,useInsertionEffect:Qr,useLayoutEffect:Zr,useMemo:ii,useReducer:kr,useRef:Kr,useState:function(){return kr(Lr)},useDebugValue:ni,useDeferredValue:function(e){var t=kr(Lr),n=t[0],r=t[1];return $r((function(){var t=Er.transition;Er.transition={};try{r(e)}finally{Er.transition=t}}),[e]),n},useTransition:function(){return[kr(Lr)[0],Nr().memoizedState]},useMutableSource:Ur,useSyncExternalStore:zr,useId:oi,unstable_isNewReconciler:!1};function _i(e,t){try{var n="",r=t;do{n+=Zt(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function Di(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var vi,yi,Ei,Ai,Ci="function"==typeof WeakMap?WeakMap:Map;function Fi(e,t,n){(n=gn(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){co||(co=!0,ho=r),Di(0,t)},n}function bi(e,t,n){(n=gn(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Di(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){Di(0,t),"function"!=typeof r&&(null===po?po=new Set([this]):po.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Si(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Ci;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Xo.bind(null,e,t,n),t.then(e,e))}function xi(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Bi(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=gn(-1,1)).tag=2,_n(n,t))),n.lanes|=1),e)}function wi(e){e.flags|=4}function Mi(e,t){if(null!==e&&e.child===t.child)return!0;
2if(16&t.flags)return!1;for(e=t.child;null!==e;){if(12854&e.flags||12854&e.subtreeFlags)return!1;e=e.sibling}return!0}if(q)vi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)U(e,n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},yi=function(){},Ei=function(e,t,n,r,i){if((e=e.memoizedProps)!==r){var a=t.stateNode,o=hr(sr.current);n=V(a,n,e,r,i,o),(t.updateQueue=n)&&wi(t)}},Ai=function(e,t,n,r){n!==r&&wi(t)};else if(J){vi=function(e,t,n,r){for(var i=t.child;null!==i;){if(5===i.tag){var a=i.stateNode;n&&r&&(a=Te(a,i.type,i.memoizedProps,i)),U(e,a)}else if(6===i.tag)a=i.stateNode,n&&r&&(a=Pe(a,i.memoizedProps,i)),U(e,a);else if(4!==i.tag)if(22===i.tag&&null!==i.memoizedState)null!==(a=i.child)&&(a.return=i),vi(e,i,!0,!0);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};var Ti=function(e,t,n,r){for(var i=t.child;null!==i;){if(5===i.tag){var a=i.stateNode;n&&r&&(a=Te(a,i.type,i.memoizedProps,i)),Be(e,a)}else if(6===i.tag)a=i.stateNode,n&&r&&(a=Pe(a,i.memoizedProps,i)),Be(e,a);else if(4!==i.tag)if(22===i.tag&&null!==i.memoizedState)null!==(a=i.child)&&(a.return=i),Ti(e,i,!0,!0);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};yi=function(e,t){var n=t.stateNode;if(!Mi(e,t)){e=n.containerInfo;var r=xe(e);Ti(r,t,!1,!1),n.pendingChildren=r,wi(t),we(e,r)}},Ei=function(e,t,n,r,i){var a=e.stateNode,o=e.memoizedProps;if((e=Mi(e,t))&&o===r)t.stateNode=a;else{var u=t.stateNode,s=hr(sr.current),l=null;o!==r&&(l=V(u,n,o,r,i,s)),e&&null===l?t.stateNode=a:(a=Se(a,l,n,o,r,t,e,u),z(a,n,r,i,s)&&wi(t),t.stateNode=a,e?wi(t):vi(a,t,!1,!1))}},Ai=function(e,t,n,r){n!==r?(e=hr(cr.current),n=hr(sr.current),t.stateNode=H(r,e,n,t),wi(t)):t.stateNode=e.stateNode}}else yi=function(){},Ei=function(){},Ai=function(){};function Pi(e,t){if(!Gn)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ri(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ii(e,t,n){var r=t.pendingProps;switch(Vn(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ri(t),null;case 1:case 17:return ft(t.type)&&mt(),Ri(t),null;case 3:return r=t.stateNode,pr(),ut(ht),ut(ct),vr(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Qn(t)?wi(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==Xn&&(Bo(Xn),Xn=null))),yi(e,t),Ri(t),null;case 5:mr(t),n=hr(cr.current);var i=t.type;if(null!==e&&null!=t.stateNode)Ei(e,t,i,r,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Ri(t),null}if(e=hr(sr.current),Qn(t)){if(!Y)throw Error(o(175));e=He(t.stateNode,t.type,t.memoizedProps,n,e,t,!jn),t.updateQueue=e,null!==e&&wi(t)}else{var a=k(i,r,n,e,t);vi(a,t,!1,!1),t.stateNode=a,z(a,i,r,n,e)&&wi(t)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ri(t),null;case 6:if(e&&null!=t.stateNode)Ai(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(e=hr(cr.current),n=hr(sr.current),Qn(t)){if(!Y)throw Error(o(176));if(e=t.stateNode,r=t.memoizedProps,(n=Ge(e,r,t,!jn))&&null!==(i=Wn))switch(a=!!(1&i.mode),i.tag){case 3:Qe(i.stateNode.containerInfo,e,r,a);break;case 5:Ze(i.type,i.memoizedProps,i.stateNode,e,r,a)}n&&wi(t)}else t.stateNode=H(r,e,n,t)}return Ri(t),null;
2case 13:if(ut(gr),r=t.memoizedState,Gn&&null!==Hn&&1&t.mode&&!(128&t.flags)){for(e=Hn;e;)e=Ue(e);return Zn(),t.flags|=98560,t}if(null!==r&&null!==r.dehydrated){if(r=Qn(t),null===e){if(!r)throw Error(o(318));if(!Y)throw Error(o(344));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(o(317));je(e,t)}else Zn(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;return Ri(t),null}return null!==Xn&&(Bo(Xn),Xn=null),128&t.flags?(t.lanes=n,t):(r=null!==r,n=!1,null===e?Qn(t):n=null!==e.memoizedState,r&&!n&&(t.child.flags|=8192,1&t.mode&&(null===e||1&gr.current?0===Za&&(Za=3):Lo())),null!==t.updateQueue&&(t.flags|=4),Ri(t),null);case 4:return pr(),yi(e,t),null===e&&Q(t.stateNode.containerInfo),Ri(t),null;case 10:return sn(t.type._context),Ri(t),null;case 19:if(ut(gr),null===(i=t.memoizedState))return Ri(t),null;if(r=!!(128&t.flags),null===(a=i.rendering))if(r)Pi(i,!1);else{if(0!==Za||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=_r(e))){for(t.flags|=128,Pi(i,!1),null!==(e=a.updateQueue)&&(t.updateQueue=e,t.flags|=4),t.subtreeFlags=0,e=n,r=t.child;null!==r;)i=e,(n=r).flags&=14680066,null===(a=n.alternate)?(n.childLanes=0,n.lanes=i,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=a.childLanes,n.lanes=a.lanes,n.child=a.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=a.memoizedProps,n.memoizedState=a.memoizedState,n.updateQueue=a.updateQueue,n.type=a.type,i=a.dependencies,n.dependencies=null===i?null:{lanes:i.lanes,firstContext:i.firstContext}),r=r.sibling;return st(gr,1&gr.current|2),t.child}e=e.sibling}null!==i.tail&&kt()>uo&&(t.flags|=128,r=!0,Pi(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=_r(a))){if(t.flags|=128,r=!0,null!==(e=e.updateQueue)&&(t.updateQueue=e,t.flags|=4),Pi(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!Gn)return Ri(t),null}else 2*kt()-i.renderingStartTime>uo&&1073741824!==n&&(t.flags|=128,r=!0,Pi(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=i.last)?e.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=kt(),t.sibling=null,e=gr.current,st(gr,r?1&e|2:1&e),t):(Ri(t),null);case 22:case 23:return Po(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&$a)&&(Ri(t),q&&6&t.subtreeFlags&&(t.flags|=8192)):Ri(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}var Ni=u.ReactCurrentOwner,Li=!1;function Oi(e,t,n,r){t.child=null===e?or(t,null,n,r):ar(t,e.child,n,r)}function ki(e,t,n,r,i){n=n.render;var a=t.ref;return cn(t,i),r=Pr(e,t,n,r,a,i),n=Rr(),null===e||Li?(Gn&&n&&zn(t),t.flags|=1,Oi(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ia(e,t,i))}function Ui(e,t,n,r,i){if(null===e){var a=n.type;return"function"!=typeof a||Zo(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=tu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,zi(e,t,a,r,i))}if(a=e.child,!(e.lanes&i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:Qt)(o,r)&&e.ref===t.ref)return ia(e,t,i)}return t.flags|=1,(e=eu(a,r)).ref=t.ref,e.return=t,t.child=e}function zi(e,t,n,r,i){if(null!==e&&Qt(e.memoizedProps,r)&&e.ref===t.ref){if(Li=!1,!(e.lanes&i))return t.lanes=e.lanes,ia(e,t,i);131072&e.flags&&(Li=!0)}return Hi(e,t,n,r,i)}function Vi(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null},t.updateQueue=null,st(Qa,$a),$a|=e,null;t.memoizedState={baseLanes:0,cachePool:null},r=null!==a?a.baseLanes:n,st(Qa,$a),$a|=r}else t.memoizedState={baseLanes:0,cachePool:null},st(Qa,$a),$a|=n;else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,st(Qa,$a),$a|=r;return Oi(e,t,i,n),t.child}function Wi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Hi(e,t,n,r,i){var a=ft(n)?dt:ct.current;
vendor: 8,249 bytes, line 2
2return a=pt(t,a),cn(t,i),n=Pr(e,t,n,r,a,i),r=Rr(),null===e||Li?(Gn&&r&&zn(t),t.flags|=1,Oi(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ia(e,t,i))}function Gi(e,t,n,r,i){if(ft(n)){var a=!0;Dt(t)}else a=!1;if(cn(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Sn(t,n,r),Bn(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,u=t.memoizedProps;o.props=u;var s=o.context,l=n.contextType;"object"==typeof l&&null!==l?l=hn(l):l=pt(t,l=ft(n)?dt:ct.current);var c=n.getDerivedStateFromProps,h="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;h||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==r||s!==l)&&xn(t,o,r,l),pn=!1;var d=t.memoizedState;o.state=d,yn(t,r,o,i),s=t.memoizedState,u!==r||d!==s||ht.current||pn?("function"==typeof c&&(Cn(t,n,c,r),s=t.memoizedState),(u=pn||bn(t,n,u,r,d,s,l))?(h||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=l,r=u):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,mn(e,t),u=t.memoizedProps,l=t.type===t.elementType?u:en(t.type,u),o.props=l,h=t.pendingProps,d=o.context,"object"==typeof(s=n.contextType)&&null!==s?s=hn(s):s=pt(t,s=ft(n)?dt:ct.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==h||d!==s)&&xn(t,o,r,s),pn=!1,d=t.memoizedState,o.state=d,yn(t,r,o,i);var f=t.memoizedState;u!==h||d!==f||ht.current||pn?("function"==typeof p&&(Cn(t,n,p,r),f=t.memoizedState),(l=pn||bn(t,n,l,r,d,f,s)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,f,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,f,s)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),o.props=r,o.state=f,o.context=s,r=l):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return ji(e,t,n,r,a,i)}function ji(e,t,n,r,i,a){Wi(e,t);var o=!!(128&t.flags);if(!r&&!o)return i&&vt(t,n,!1),ia(e,t,a);r=t.stateNode,Ni.current=t;var u=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=ar(t,e.child,null,a),t.child=ar(t,null,u,a)):Oi(e,t,u,a),t.memoizedState=r.state,i&&vt(t,n,!0),t.child}function Xi(e){var t=e.stateNode;t.pendingContext?gt(0,t.pendingContext,t.pendingContext!==t.context):t.context&&gt(0,t.context,!1),dr(e,t.containerInfo)}function Ki(e,t,n,r,i){return Zn(),er(i),t.flags|=256,Oi(e,t,n,r),t.child}var qi={dehydrated:null,treeContext:null,retryLane:0};function Ji(e){return{baseLanes:e,cachePool:null}}function Yi(e,t,n){var r,i=t.pendingProps,a=gr.current,u=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(u=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),st(gr,1&a),null===e)return Yn(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?Oe(e)?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=i.children,e=i.fallback,u?(i=t.mode,u=t.child,a={mode:"hidden",children:a},1&i||null===u?u=ru(a,i,0,null):(u.childLanes=0,u.pendingProps=a),e=nu(e,i,n,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=Ji(n),t.memoizedState=qi,e):$i(t,a));if(null!==(a=e.memoizedState)){if(null!==(r=a.dehydrated)){if(s)return 256&t.flags?(t.flags&=-257,ea(e,t,n,Error(o(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(u=i.fallback,a=t.mode,i=ru({mode:"visible",children:i.children},a,0,null),(u=nu(u,a,n,null)).flags|=2,i.return=t,u.return=t,i.sibling=u,t.child=i,1&t.mode&&ar(t,e.child,null,n),t.child.memoizedState=Ji(n),t.memoizedState=qi,u);if(1&t.mode)if(Oe(r))t=ea(e,t,n,Error(o(419)));else if(i=!!(n&e.childLanes),Li||i){if(null!==(i=qa)){switch(n&-n){case 4:u=2;break;case 16:u=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:u=32;break;case 536870912:u=268435456;break;default:u=0}0!==(i=u&(i.suspendedLanes|n)?0:u)&&i!==a.retryLane&&(a.retryLane=i,Co(e,i,-1))}Lo(),t=ea(e,t,n,Error(o(421)))}else Le(r)?(t.flags|=128,t.child=e.child,t=qo.bind(null,e),ke(r,t),t=null):(n=a.treeContext,Y&&(Hn=We(r),Wn=t,Gn=!0,Xn=null,jn=!1,null!==n&&(Rn[In++]=Ln,Rn[In++]=On,Rn[In++]=Nn,Ln=n.id,On=n.overflow,Nn=t)),(t=$i(t,t.pendingProps.children)).flags|=4096);else t=ea(e,t,n,null);return t}return u?(i=Zi(e,t,i.children,i.fallback,n),u=t.child,a=e.child.memoizedState,u.memoizedState=null===a?Ji(n):{baseLanes:a.baseLanes|n,cachePool:null},u.childLanes=e.childLanes&~n,t.memoizedState=qi,i):(n=Qi(e,t,i.children,n),t.memoizedState=null,n)}return u?(i=Zi(e,t,i.children,i.fallback,n),u=t.child,a=e.child.memoizedState,u.memoizedState=null===a?Ji(n):{baseLanes:a.baseLanes|n,cachePool:null},u.childLanes=e.childLanes&~n,t.memoizedState=qi,i):(n=Qi(e,t,i.children,n),t.memoizedState=null,n)}function $i(e,t){return(t=ru({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Qi(e,t,n,r){var i=e.child;return e=i.sibling,n=eu(i,{mode:"visible",children:n}),!(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function Zi(e,t,n,r,i){var a=t.mode,o=(e=e.child).sibling,u={mode:"hidden",children:n};return 1&a||t.child===e?(n=eu(e,u)).subtreeFlags=14680064&e.subtreeFlags:((n=t.child).childLanes=0,n.pendingProps=u,t.deletions=null),null!==o?r=eu(o,r):(r=nu(r,a,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function ea(e,t,n,r){return null!==r&&er(r),ar(t,e.child,null,n),(e=$i(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function ta(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ln(e.return,t,n)}function na(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function ra(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Oi(e,t,r.children,n),2&(r=gr.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ta(e,n,t);else if(19===e.tag)ta(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(st(gr,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===_r(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),na(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===_r(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}na(t,!0,n,null,a);break;case"together":na(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function ia(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),to|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=eu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;
2)e=e.sibling,(n=n.sibling=eu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function aa(e,t){switch(Vn(t),t.tag){case 1:return ft(t.type)&&mt(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return pr(),ut(ht),ut(ct),vr(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return mr(t),null;case 13:if(ut(gr),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));Zn()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ut(gr),null;case 4:return pr(),null;case 10:return sn(t.type._context),null;case 22:case 23:return Po(),null;default:return null}}var oa=!1,ua=!1,sa="function"==typeof WeakSet?WeakSet:Set,la=null;function ca(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){jo(e,t,n)}else n.current=null}function ha(e,t,n){try{n()}catch(n){jo(e,t,n)}}var da=!1;function pa(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&ha(t,n,a)}i=i.next}while(i!==r)}}function fa(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ma(e){var t=e.ref;if(null!==t){var n=e.stateNode;if(5===e.tag)e=R(n);else e=n;"function"==typeof t?t(e):t.current=e}}function ga(e,t,n){if(Gt&&"function"==typeof Gt.onCommitFiberUnmount)try{Gt.onCommitFiberUnmount(Ht,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e=e.next;do{var i=r,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&ha(t,n,a),r=r.next}while(r!==e)}break;case 1:if(ca(t,n),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){jo(t,n,e)}break;case 5:ca(t,n);break;case 4:q?Fa(e,t,n):J&&J&&(t=t.stateNode.containerInfo,n=xe(t),Me(t,n))}}function _a(e,t,n){for(var r=t;;)if(ga(e,r,n),null===r.child||q&&4===r.tag){if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}else r.child.return=r,r=r.child}function Da(e){var t=e.alternate;null!==t&&(e.alternate=null,Da(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&ee(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function va(e){return 5===e.tag||3===e.tag||4===e.tag}function ya(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||va(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Ea(e){if(q){e:{for(var t=e.return;null!==t;){if(va(t))break e;t=t.return}throw Error(o(160))}var n=t;switch(n.tag){case 5:t=n.stateNode,32&n.flags&&(ye(t),n.flags&=-33),Ca(e,n=ya(e),t);break;case 3:case 4:t=n.stateNode.containerInfo,Aa(e,n=ya(e),t);break;default:throw Error(o(161))}}}function Aa(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?_e(n,e,t):de(n,e);else if(4!==r&&null!==(e=e.child))for(Aa(e,t,n),e=e.sibling;null!==e;)Aa(e,t,n),e=e.sibling}function Ca(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?ge(n,e,t):he(n,e);else if(4!==r&&null!==(e=e.child))for(Ca(e,t,n),e=e.sibling;null!==e;
2)Ca(e,t,n),e=e.sibling}function Fa(e,t,n){for(var r,i,a=t,u=!1;;){if(!u){u=a.return;e:for(;;){if(null===u)throw Error(o(160));switch(r=u.stateNode,u.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}u=u.return}u=!0}if(5===a.tag||6===a.tag)_a(e,a,n),i?ve(r,a.stateNode):De(r,a.stateNode);else if(18===a.tag)i?Ye(r,a.stateNode):Je(r,a.stateNode);else if(4===a.tag){if(null!==a.child){r=a.stateNode.containerInfo,i=!0,a.child.return=a,a=a.child;continue}}else if(ga(e,a,n),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(u=!1)}a.sibling.return=a.return,a=a.sibling}}function ba(e,t){if(q){switch(t.tag){case 0:case 11:case 14:case 15:return pa(3,t,t.return),fa(3,t),void pa(5,t,t.return);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var i=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&me(n,a,i,e,r,t)}return;case 6:if(null===t.stateNode)throw Error(o(162));return n=t.memoizedProps,void pe(t.stateNode,null!==e?e.memoizedProps:n,n);case 3:return void(Y&&null!==e&&e.memoizedState.isDehydrated&&Ke(t.stateNode.containerInfo));case 13:case 19:return void Sa(t)}throw Error(o(163))}switch(t.tag){case 0:case 11:case 14:case 15:return pa(3,t,t.return),fa(3,t),void pa(5,t,t.return);case 12:case 22:case 23:return;case 13:case 19:return void Sa(t);case 3:Y&&null!==e&&e.memoizedState.isDehydrated&&Ke(t.stateNode.containerInfo)}e:if(J){switch(t.tag){case 1:case 5:case 6:break e;case 3:case 4:t=t.stateNode,Me(t.containerInfo,t.pendingChildren);break e}throw Error(o(163))}}function Sa(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new sa),t.forEach((function(t){var r=Jo.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function xa(e,t,n){la=e,Ba(e,t,n)}function Ba(e,t,n){for(var r=!!(1&e.mode);null!==la;){var i=la,a=i.child;if(22===i.tag&&r){var o=null!==i.memoizedState||oa;if(!o){var u=i.alternate,s=null!==u&&null!==u.memoizedState||ua;u=oa;var l=ua;if(oa=o,(ua=s)&&!l)for(la=i;null!==la;)s=(o=la).child,22===o.tag&&null!==o.memoizedState?Ta(i):null!==s?(s.return=o,la=s):Ta(i);for(;null!==a;)la=a,Ba(a,t,n),a=a.sibling;la=i,oa=u,ua=l}wa(e)}else 8772&i.subtreeFlags&&null!==a?(a.return=i,la=a):wa(e)}}function wa(e){for(;null!==la;){var t=la;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:ua||fa(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!ua)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:en(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&En(t,a,r);break;case 3:var u=t.updateQueue;if(null!==u){if(n=null,null!==t.child)switch(t.child.tag){case 5:n=R(t.child.stateNode);break;case 1:n=t.child.stateNode}En(t,u,n)}break;case 5:var s=t.stateNode;null===n&&4&t.flags&&fe(s,t.type,t.memoizedProps,t);break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:break;case 13:if(Y&&null===t.memoizedState){var l=t.alternate;if(null!==l){var c=l.memoizedState;if(null!==c){var h=c.dehydrated;null!==h&&qe(h)}}}break;default:throw Error(o(163))}ua||512&t.flags&&ma(t)}catch(e){jo(t,t.return,e)}}if(t===e){la=null;break}if(null!==(n=t.sibling)){n.return=t.return,la=n;break}la=t.return}}function Ma(e){for(;null!==la;){var t=la;if(t===e){la=null;break}var n=t.sibling;if(null!==n){n.return=t.return,la=n;break}la=t.return}}function Ta(e){for(;null!==la;){var t=la;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{fa(4,t)}catch(e){jo(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){jo(t,i,e)}}var a=t.return;try{ma(t)}catch(e){jo(t,a,e)}break;case 5:var o=t.return;try{ma(t)}catch(e){jo(t,o,e)}}}catch(e){jo(t,t.return,e)}if(t===e){la=null;break}var u=t.sibling;if(null!==u){u.return=t.return,la=u;break}la=t.return}}var Pa=0,Ra=1,Ia=2,Na=3,La=4;if("function"==typeof Symbol&&Symbol.for){var Oa=Symbol.for;Pa=Oa("selector.component"),Ra=Oa("selector.has_pseudo_class"),Ia=Oa("selector.role"),Na=Oa("selector.test_id"),La=Oa("selector.text")}function ka(e){var t=$(e);
2if(null!=t){if("string"!=typeof t.memoizedProps["data-testname"])throw Error(o(364));return t}if(null===(e=ie(e)))throw Error(o(362));return e.stateNode.current}function Ua(e,t){switch(t.$$typeof){case Pa:if(e.type===t.value)return!0;break;case Ra:e:{t=t.value,e=[e,0];for(var n=0;n<e.length;){var r=e[n++],i=e[n++],a=t[i];if(5!==r.tag||!ue(r)){for(;null!=a&&Ua(r,a);)a=t[++i];if(i===t.length){t=!0;break e}for(r=r.child;null!==r;)e.push(r,i),r=r.sibling}}t=!1}return t;case Ia:if(5===e.tag&&se(e.stateNode,t.value))return!0;break;case La:if((5===e.tag||6===e.tag)&&(null!==(e=oe(e))&&0<=e.indexOf(t.value)))return!0;break;case Na:if(5===e.tag&&("string"==typeof(e=e.memoizedProps["data-testname"])&&e.toLowerCase()===t.value.toLowerCase()))return!0;break;default:throw Error(o(365))}return!1}function za(e){switch(e.$$typeof){case Pa:return"<"+(C(e.value)||"Unknown")+">";case Ra:return":has("+(za(e)||"")+")";case Ia:return'[role="'+e.value+'"]';case La:return'"'+e.value+'"';case Na:return'[data-testname="'+e.value+'"]';default:throw Error(o(365))}}function Va(e,t){var n=[];e=[e,0];for(var r=0;r<e.length;){var i=e[r++],a=e[r++],o=t[a];if(5!==i.tag||!ue(i)){for(;null!=o&&Ua(i,o);)o=t[++a];if(a===t.length)n.push(i);else for(i=i.child;null!==i;)e.push(i,a),i=i.sibling}}return n}function Wa(e,t){if(!re)throw Error(o(363));e=Va(e=ka(e),t),t=[],e=Array.from(e);for(var n=0;n<e.length;){var r=e[n++];if(5===r.tag)ue(r)||t.push(r.stateNode);else for(r=r.child;null!==r;)e.push(r),r=r.sibling}return t}var Ha=Math.ceil,Ga=u.ReactCurrentDispatcher,ja=u.ReactCurrentOwner,Xa=u.ReactCurrentBatchConfig,Ka=0,qa=null,Ja=null,Ya=0,$a=0,Qa=ot(0),Za=0,eo=null,to=0,no=0,ro=0,io=null,ao=null,oo=0,uo=1/0;function so(){uo=kt()+500}var lo,co=!1,ho=null,po=null,fo=!1,mo=null,go=0,_o=0,Do=null,vo=-1,yo=0;function Eo(){return 6&Ka?kt():-1!==vo?vo:vo=kt()}function Ao(e){return 1&e.mode?2&Ka&&0!==Ya?Ya&-Ya:null!==$t.transition?(0===yo&&(e=Ct,!(4194240&(Ct<<=1))&&(Ct=64),yo=e),yo):0!==(e=Pt)?e:Z():1}function Co(e,t,n){if(50<_o)throw _o=0,Do=null,Error(o(185));var r=Fo(e,t);return null===r?null:(Mt(r,t,n),2&Ka&&r===qa||(r===qa&&(!(2&Ka)&&(no|=t),4===Za&&wo(r,Ya)),bo(r,n),1===t&&0===Ka&&!(1&e.mode)&&(so(),Kt&&Yt())),r)}function Fo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function bo(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-yt(a),u=1<<o,s=i[o];-1===s?u&n&&!(u&r)||(i[o]=xt(u,t)):s<=t&&(e.expiredLanes|=u),a&=~u}}(e,t);var r=St(e,e===qa?Ya:0);if(0===r)null!==n&&Nt(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Nt(n),1===t)0===e.tag?function(e){Kt=!0,Jt(e)}(Mo.bind(null,e)):Jt(Mo.bind(null,e)),te?ne((function(){0===Ka&&Yt()})):It(Ut,Yt),n=null;else{switch(Rt(r)){case 1:n=Ut;break;case 4:n=zt;break;case 16:default:n=Vt;break;case 536870912:n=Wt}n=Yo(n,So.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function So(e,t){if(vo=-1,yo=0,6&Ka)throw Error(o(327));var n=e.callbackNode;if(Ho()&&e.callbackNode!==n)return null;var r=St(e,e===qa?Ya:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=Oo(e,r);else{t=r;var i=Ka;Ka|=2;var a=No();for(qa===e&&Ya===t||(so(),Ro(e,t));;)try{Uo();break}catch(t){Io(e,t)}on(),Ga.current=a,Ka=i,null!==Ja?t=0:(qa=null,Ya=0,t=Za)}if(0!==t){if(2===t&&(0!==(i=Bt(e))&&(r=i,t=xo(e,i))),1===t)throw n=eo,Ro(e,0),wo(e,r),bo(e,kt()),n;if(6===t)wo(e,r);else{if(i=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!jt(a(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=Oo(e,r),2===t&&(a=Bt(e),0!==a&&(r=a,t=xo(e,a))),1!==t)))throw n=eo,Ro(e,0),wo(e,r),bo(e,kt()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:Wo(e,ao);break;
vendor: 5,484 bytes, line 2
2case 3:if(wo(e,r),(130023424&r)===r&&10<(t=oo+500-kt())){if(0!==St(e,0))break;if(((i=e.suspendedLanes)&r)!==r){Eo(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=G(Wo.bind(null,e,ao),t);break}Wo(e,ao);break;case 4:if(wo(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var u=31-yt(r);a=1<<u,(u=t[u])>i&&(i=u),r&=~a}if(r=i,10<(r=(120>(r=kt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ha(r/1960))-r)){e.timeoutHandle=G(Wo.bind(null,e,ao),r);break}Wo(e,ao);break;default:throw Error(o(329))}}}return bo(e,kt()),e.callbackNode===n?So.bind(null,e):null}function xo(e,t){var n=io;return e.current.memoizedState.isDehydrated&&(Ro(e,t).flags|=256),2!==(e=Oo(e,t))&&(t=ao,ao=n,null!==t&&Bo(t)),e}function Bo(e){null===ao?ao=e:ao.push.apply(ao,e)}function wo(e,t){for(t&=~ro,t&=~no,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-yt(t),r=1<<n;e[n]=-1,t&=~r}}function Mo(e){if(6&Ka)throw Error(o(327));Ho();var t=St(e,0);if(!(1&t))return bo(e,kt()),null;var n=Oo(e,t);if(0!==e.tag&&2===n){var r=Bt(e);0!==r&&(t=r,n=xo(e,r))}if(1===n)throw n=eo,Ro(e,0),wo(e,t),bo(e,kt()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Wo(e,ao),bo(e,kt()),null}function To(e){null!==mo&&0===mo.tag&&!(6&Ka)&&Ho();var t=Ka;Ka|=1;var n=Xa.transition,r=Pt;try{if(Xa.transition=null,Pt=1,e)return e()}finally{Pt=r,Xa.transition=n,!(6&(Ka=t))&&Yt()}}function Po(){$a=Qa.current,ut(Qa)}function Ro(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==X&&(e.timeoutHandle=X,j(n)),null!==Ja)for(n=Ja.return;null!==n;){var r=n;switch(Vn(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&mt();break;case 3:pr(),ut(ht),ut(ct),vr();break;case 5:mr(r);break;case 4:pr();break;case 13:case 19:ut(gr);break;case 10:sn(r.type._context);break;case 22:case 23:Po()}n=n.return}if(qa=e,Ja=e=eu(e.current,null),Ya=$a=t,Za=0,eo=null,ro=no=to=0,ao=io=null,null!==dn){for(t=0;t<dn.length;t++)if(null!==(r=(n=dn[t]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var o=a.next;a.next=i,r.next=o}n.pending=r}dn=null}return e}function Io(e,t){for(;;){var n=Ja;try{if(on(),yr.current=pi,Sr){for(var r=Cr.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}Sr=!1}if(Ar=0,br=Fr=Cr=null,xr=!1,Br=0,ja.current=null,null===n||null===n.return){Za=1,eo=t,Ja=null;break}e:{var a=e,u=n.return,s=n,l=t;if(t=Ya,s.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l,h=s,d=h.tag;if(!(1&h.mode||0!==d&&11!==d&&15!==d)){var p=h.alternate;p?(h.updateQueue=p.updateQueue,h.memoizedState=p.memoizedState,h.lanes=p.lanes):(h.updateQueue=null,h.memoizedState=null)}var f=xi(u);if(null!==f){f.flags&=-257,Bi(f,u,s,0,t),1&f.mode&&Si(a,c,t),l=c;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(l),t.updateQueue=g}else m.add(l);break e}if(!(1&t)){Si(a,c,t),Lo();break e}l=Error(o(426))}else if(Gn&&1&s.mode){var _=xi(u);if(null!==_){!(65536&_.flags)&&(_.flags|=256),Bi(_,u,s,0,t),er(l);break e}}a=l,4!==Za&&(Za=2),null===io?io=[a]:io.push(a),l=_i(l,s),s=u;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t,vn(s,Fi(0,l,t));break e;case 1:a=l;var D=s.type,v=s.stateNode;if(!(128&s.flags||"function"!=typeof D.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==po&&po.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t,vn(s,bi(s,a,t));break e}}s=s.return}while(null!==s)}Vo(n)}catch(e){t=e,Ja===n&&null!==n&&(Ja=n=n.return);continue}break}}function No(){var e=Ga.current;return Ga.current=pi,null===e?pi:e}function Lo(){0!==Za&&3!==Za&&2!==Za||(Za=4),null===qa||!(268435455&to)&&!(268435455&no)||wo(qa,Ya)}function Oo(e,t){var n=Ka;Ka|=2;var r=No();for(qa===e&&Ya===t||Ro(e,t);;)try{ko();break}catch(t){Io(e,t)}if(on(),Ka=n,Ga.current=r,null!==Ja)throw Error(o(261));return qa=null,Ya=0,Za}function ko(){for(;null!==Ja;)zo(Ja)}function Uo(){for(;null!==Ja&&!Lt();)zo(Ja)}function zo(e){var t=lo(e.alternate,e,$a);e.memoizedProps=e.pendingProps,null===t?Vo(e):Ja=t,ja.current=null}function Vo(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=aa(n,t)))return n.flags&=32767,void(Ja=n);if(null===e)return Za=6,void(Ja=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ii(n,t,$a)))return void(Ja=n);if(null!==(t=t.sibling))return void(Ja=t);Ja=t=e}while(null!==t);0===Za&&(Za=5)}function Wo(e,t){var n=Pt,r=Xa.transition;try{Xa.transition=null,Pt=1,function(e,t,n){do{Ho()}while(null!==mo);if(6&Ka)throw Error(o(327));var r=e.finishedWork,i=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-yt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}(e,a),e===qa&&(Ja=qa=null,Ya=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||fo||(fo=!0,Yo(Vt,(function(){return Ho(),null}))),a=!!(15990&r.flags),!!(15990&r.subtreeFlags)||a){a=Xa.transition,Xa.transition=null;var u=Pt;Pt=1;var s=Ka;Ka|=4,ja.current=null,function(e,t){for(L(e.containerInfo),la=t;null!==la;)if(t=(e=la).child,1028&e.subtreeFlags&&null!==t)t.return=e,la=t;else for(;null!==la;){e=la;try{var n=e.alternate;if(1024&e.flags)switch(e.tag){case 0:case 11:case 15:case 5:case 
26:case 4:case 17:break;case 1:if(null!==n){var r=n.memoizedProps,i=n.memoizedState,a=e.stateNode,u=a.getSnapshotBeforeUpdate(e.elementType===e.type?r:en(e.type,r),i);a.__reactInternalSnapshotBeforeUpdate=u}break;case 3:q&&be(e.stateNode.containerInfo);break;default:throw Error(o(163))}}catch(t){jo(e,e.return,t)}if(null!==(t=e.sibling)){t.return=e.return,la=t;break}la=e.return}n=da,da=!1}(e,r),function(e,t){for(la=t;null!==la;){var n=(t=la).deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e;q?Fa(a,i,t):_a(a,i,t);var o=i.alternate;null!==o&&(o.return=null),i.return=null}catch(e){jo(i,t,e)}}if(n=t.child,12854&t.subtreeFlags&&null!==n)n.return=t,la=n;else for(;null!==la;){t=la;try{var u=t.flags;if(32&u&&q&&ye(t.stateNode),512&u){var s=t.alternate;if(null!==s){var l=s.ref;null!==l&&("function"==typeof l?l(null):l.current=null)}}if(8192&u)switch(t.tag){case 13:if(null!==t.memoizedState){var c=t.alternate;null!==c&&null!==c.memoizedState||(oo=kt())}break;case 22:var h=null!==t.memoizedState,d=t.alternate,p=null!==d&&null!==d.memoizedState;if(n=t,q)e:if(r=n,i=h,a=null,q)for(var f=r;;){if(5===f.tag){if(null===a){a=f;var m=f.stateNode;i?Ee(m):Ce(f.stateNode,f.memoizedProps)}}else if(6===f.tag){if(null===a){var g=f.stateNode;i?Ae(g):Fe(g,f.memoizedProps)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===r)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===r)break;for(;null===f.sibling;){if(null===f.return||f.return===r)break e;a===f&&(a=null),f=f.return}a===f&&(a=null),f.sibling.return=f.return,f=f.sibling}if(h&&!p&&1&n.mode){la=n;for(var _=n.child;null!==_;){for(n=la=_;null!==la;){var D=(r=la).child;switch(r.tag){case 0:case 11:case 14:case 15:pa(4,r,r.return);break;case 1:ca(r,r.return);var v=r.stateNode;if("function"==typeof v.componentWillUnmount){var y=r.return;try{v.props=r.memoizedProps,v.state=r.memoizedState,v.componentWillUnmount()}catch(e){jo(r,y,e)}}break;case 5:ca(r,r.return);break;case 22:if(null!==r.memoizedState){Ma(n);continue}}null!==D?(D.return=r,la=D):Ma(n)}_=_.sibling}}}switch(4102&u){case 2:Ea(t),t.flags&=-3;break;case 6:Ea(t),t.flags&=-3,ba(t.alternate,t);break;case 4096:t.flags&=-4097;break;case 4100:t.flags&=-4097,ba(t.alternate,t);break;case 4:ba(t.alternate,t)}}catch(e){jo(t,t.return,e)}if(null!==(n=t.sibling)){n.return=t.return,la=n;break}la=t.return}}}(e,r),O(e.containerInfo),e.current=r,xa(r,e,i),Ot(),Ka=s,Pt=u,Xa.transition=a}else e.current=r;if(fo&&(fo=!1,mo=e,go=i),a=e.pendingLanes,0===a&&(po=null),function(e){if(Gt&&"function"==typeof Gt.onCommitFiberRoot)try{Gt.onCommitFiberRoot(Ht,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),bo(e,kt()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n(t[r]);if(co)throw co=!1,e=ho,ho=null,e;!!(1&go)&&0!==e.tag&&Ho(),a=e.pendingLanes,1&a?e===Do?_o++:(_o=0,Do=e):_o=0,Yt()}(e,t,n)}finally{Xa.transition=r,Pt=n}return null}function Ho(){if(null!==mo){var e=Rt(go),t=Xa.transition,n=Pt;try{if(Xa.transition=null,Pt=16>e?16:e,null===mo)var r=!1;else{if(e=mo,mo=null,go=0,6&Ka)throw Error(o(331));var i=Ka;for(Ka|=4,la=e.current;null!==la;){var a=la,u=a.child;if(16&la.flags){var s=a.deletions;if(null!==s){for(var l=0;l<s.length;l++){var c=s[l];for(la=c;null!==la;){var h=la;switch(h.tag){case 0:case 11:case 15:pa(8,h,a)}var d=h.child;if(null!==d)d.return=h,la=d;else for(;null!==la;){var p=(h=la).sibling,f=h.return;if(Da(h),h===c){la=null;break}if(null!==p){p.return=f,la=p;break}la=f}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(null!==g)}}la=a}}if(2064&a.subtreeFlags&&null!==u)u.return=a,la=u;else e:for(;null!==la;){if(2048&(a=la).flags)switch(a.tag){case 0:case 11:case 15:pa(9,a,a.return)}var D=a.sibling;if(null!==D){D.return=a.return,la=D;break e}la=a.return}}var v=e.current;for(la=v;null!==la;){var y=(u=la).child;if(2064&u.subtreeFlags&&null!==y)y.return=u,la=y;else e:for(u=v;null!==la;){if(2048&(s=la).flags)try{switch(s.tag){case 0:case 11:case 15:fa(9,s)}}catch(e){jo(s,s.return,e)}if(s===u){la=null;break e}var E=s.sibling;if(null!==E){E.return=s.return,la=E;break e}la=s.return}}if(Ka=i,Yt(),Gt&&"function"==typeof Gt.onPostCommitFiberRoot)try{Gt.onPostCommitFiberRoot(Ht,e)}catch(e){}r=!0}return r}finally{Pt=n,Xa.transition=t}}return!1}function Go(e,t,n){_n(e,t=Fi(0,t=_i(n,t),1)),t=Eo(),null!==(e=Fo(e,1))&&(Mt(e,1,t),bo(e,t))}function jo(e,t,n){if(3===e.tag)Go(e,e,n);else for(;null!==t;){if(3===t.tag){Go(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===po||!po.has(r))){_n(t,e=bi(t,e=_i(n,e),1)),e=Eo(),null!==(t=Fo(t,1))&&(Mt(t,1,e),bo(t,e));break}}t=t.return}}function Xo(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Eo(),e.pingedLanes|=e.suspendedLanes&n,qa===e&&(Ya&n)===n&&(4===Za||3===Za&&(130023424&Ya)===Ya&&500>kt()-oo?Ro(e,0):ro|=n),bo(e,t)}function Ko(e,t){0===t&&(1&e.mode?(t=Ft,!(130023424&(Ft<<=1))&&(Ft=4194304)):t=1);var n=Eo();null!==(e=Fo(e,t))&&(Mt(e,t,n),bo(e,n))}function qo(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ko(e,n)}function Jo(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Ko(e,n)}function Yo(e,t){return It(e,t)}function $o(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 4,323 bytes, line 2
2ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Qo(e,t,n,r){return new $o(e,t,n,r)}function Zo(e){return!(!(e=e.prototype)||!e.isReactComponent)}function eu(e,t){var n=e.alternate;return null===n?((n=Qo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function tu(e,t,n,r,i,a){var u=2;if(r=e,"function"==typeof e)Zo(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case c:return nu(n.children,i,a,t);case h:u=8,i|=8;break;case d:return(e=Qo(12,n,t,2|i)).elementType=d,e.lanes=a,e;case g:return(e=Qo(13,n,t,i)).elementType=g,e.lanes=a,e;case _:return(e=Qo(19,n,t,i)).elementType=_,e.lanes=a,e;case y:return ru(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case p:u=10;break e;case f:u=9;break e;case m:u=11;break e;case D:u=14;break e;case v:u=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Qo(u,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function nu(e,t,n,r){return(e=Qo(7,e,r,t)).lanes=n,e}function ru(e,t,n,r){return(e=Qo(22,e,r,t)).elementType=y,e.lanes=n,e.stateNode={},e}function iu(e,t,n){return(e=Qo(6,e,null,t)).lanes=n,e}function au(e,t,n){return(t=Qo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ou(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=X,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=wt(0),this.expirationTimes=wt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wt(0),this.identifierPrefix=r,this.onRecoverableError=i,Y&&(this.mutableSourceEagerHydrationData=null)}function uu(e,t,n,r,i,a,o,u,s){return e=new ou(e,t,n,u,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Qo(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null},fn(a),e}function su(e){if(!e)return lt;e:{if(b(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ft(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(ft(n))return _t(e,n,t)}return t}function lu(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return null===(e=B(t))?null:e.stateNode}function cu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function hu(e,t){cu(e,t),(e=e.alternate)&&cu(e,t)}function du(e){return null===(e=B(e))?null:e.stateNode}function pu(){return null}return lo=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ht.current)Li=!0;else{if(!(e.lanes&n||128&t.flags))return Li=!1,function(e,t,n){switch(t.tag){case 3:Xi(t),Zn();break;case 5:fr(t);break;case 1:ft(t.type)&&Dt(t);break;case 4:dr(t,t.stateNode.containerInfo);break;case 10:un(0,t.type._context,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(st(gr,1&gr.current),t.flags|=128,null):n&t.child.childLanes?Yi(e,t,n):(st(gr,1&gr.current),null!==(e=ia(e,t,n))?e.sibling:null);st(gr,1&gr.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return ra(e,t,n);t.flags|=128}var i=t.memoizedState;if(null!==i&&(i.rendering=null,i.tail=null,i.lastEffect=null),st(gr,gr.current),r)break;return null;case 22:case 23:return t.lanes=0,Vi(e,t,n)}return ia(e,t,n)}
2(e,t,n);Li=!!(131072&e.flags)}else Li=!1,Gn&&1048576&t.flags&&Un(t,Pn,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var i=pt(t,ct.current);cn(t,n),i=Pr(null,t,r,e,i,n);var a=Rr();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ft(r)?(a=!0,Dt(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,fn(t),i.updater=Fn,t.stateNode=i,i._reactInternals=t,Bn(t,r,e,n),t=ji(null,t,r,!0,a,n)):(t.tag=0,Gn&&a&&zn(t),Oi(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Zo(e)?1:0;if(null!=e){if((e=e.$$typeof)===m)return 11;if(e===D)return 14}return 2}(r),e=en(r,e),i){case 0:t=Hi(null,t,r,e,n);break e;case 1:t=Gi(null,t,r,e,n);break e;case 11:t=ki(null,t,r,e,n);break e;case 14:t=Ui(null,t,r,en(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Hi(e,t,r,i=t.elementType===r?i:en(r,i),n);case 1:return r=t.type,i=t.pendingProps,Gi(e,t,r,i=t.elementType===r?i:en(r,i),n);case 3:e:{if(Xi(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,mn(e,t),yn(t,r,null,n);var u=t.memoizedState;if(r=u.element,Y&&a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:u.cache,transitions:u.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ki(e,t,r,n,i=Error(o(423)));break e}if(r!==i){t=Ki(e,t,r,n,i=Error(o(424)));break e}for(Y&&(Hn=Ve(t.stateNode.containerInfo),Wn=t,Gn=!0,Xn=null,jn=!1),n=or(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Zn(),r===i){t=ia(e,t,n);break e}Oi(e,t,r,n)}t=t.child}return t;case 5:return fr(t),null===e&&Yn(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,u=i.children,W(r,i)?u=null:null!==a&&W(r,a)&&(t.flags|=32),Wi(e,t),Oi(e,t,u,n),t.child;case 6:return null===e&&Yn(t),null;case 13:return Yi(e,t,n);case 4:return dr(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ar(t,null,r,n):Oi(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,ki(e,t,r,i=t.elementType===r?i:en(r,i),n);case 7:return Oi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Oi(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,un(0,r,u=i.value),null!==a)if(jt(a.value,u)){if(a.children===i.children&&!ht.current){t=ia(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){u=a.child;for(var l=s.firstContext;null!==l;){if(l.context===r){if(1===a.tag){(l=gn(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var h=(c=c.shared).pending;null===h?l.next=l:(l.next=h.next,h.next=l),c.pending=l}}a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),ln(a.return,n,t),s.lanes|=n;break}l=l.next}}else if(10===a.tag)u=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(u=a.return))throw Error(o(341));u.lanes|=n,null!==(s=u.alternate)&&(s.lanes|=n),ln(u,n,t),u=a.sibling}else u=a.child;if(null!==u)u.return=a;else for(u=a;null!==u;){if(u===t){u=null;break}if(null!==(a=u.sibling)){a.return=u.return,u=a;break}u=u.return}a=u}Oi(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,cn(t,n),r=r(i=hn(i)),t.flags|=1,Oi(e,t,r,n),t.child;case 14:return i=en(r=t.type,t.pendingProps),Ui(e,t,r,i=en(r.type,i),n);case 15:return zi(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:en(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ft(r)?(e=!0,Dt(t)):e=!1,cn(t,n),Sn(t,r,i),Bn(t,r,i,n),ji(null,t,r,!0,e,n);case 19:return ra(e,t,n);case 22:return Vi(e,t,n)}throw Error(o(156,t.tag))},t.attemptContinuousHydration=function(e){13===e.tag&&(Co(e,134217728,Eo()),hu(e,134217728))},t.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag){var t=Eo(),n=Ao(e);Co(e,n,t),hu(e,n)}},t.attemptSynchronousHydration=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=bt(t.pendingLanes);0!==n&&(Tt(t,1|n),bo(t,kt()),!(6&Ka)&&(so(),Yt()))}break;case 13:var r=Eo();To((function(){return Co(e,1,r)})),hu(e,1)}},t.batchedUpdates=function(e,t){var n=Ka;Ka|=1;try{return e(t)}finally{0===(Ka=n)&&(so(),Kt&&Yt())}},t.createComponentSelector=function(e){return{$$typeof:Pa,value:e}},t.createContainer=function(e,t,n,r,i,a,o){return uu(e,t,!1,null,0,r,0,a,o)},t.createHasPseudoClassSelector=function(e){return{$$typeof:Ra,value:e}},t.createHydrationContainer=function(e,t,n,r,i,a,o,u,s){return(e=uu(n,r,!0,e,0,a,0,u,s)).context=su(null),n=e.current,(a=gn(r=Eo(),i=Ao(n))).callback=null!=t?t:null,_n(n,a),e.current.lanes=i,Mt(e,i,r),bo(e,r),e},t.createPortal=function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:l,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}},t.createRoleSelector=function(e){return{$$typeof:Ia,value:e}},t.createTestNameSelector=function(e){return{$$typeof:Na,value:e}},t.createTextSelector=function(e){return{$$typeof:La,value:e}},t.deferredUpdates=function(e){var t=Pt,n=Xa.transition;try{return Xa.transition=null,Pt=16,e()}finally{Pt=t,Xa.transition=n}},t.discreteUpdates=function(e,t,n,r,i){var a=Pt,o=Xa.transition;try{return Xa.transition=null,Pt=1,e(t,n,r,i)}finally{Pt=a,Xa.transition=o,0===Ka&&so()}},t.findAllNodes=Wa,t.findBoundingRects=function(e,t){if(!re)throw Error(o(363));t=Wa(e,t),e=[];for(var n=0;n<t.length;n++)e.push(ae(t[n]));for(t=e.length-1;0<t;t--)for(var r=(n=e[t]).x,i=r+n.width,a=n.y,u=a+n.height,s=t-1;0<=s;s--)if(t!==s){var l=e[s],c=l.x,h=c+l.width,d=l.y,p=d+l.height;if(r>=c&&a>=d&&i<=h&&u<=p){e.splice(t,1);break}if(!(r!==c||n.width!==l.width||p<a||d>u)){d>a&&(l.height+=d-a,l.y=a),p<u&&(l.height=u-d),e.splice(t,1);break}if(!(a!==d||n.height!==l.height||h<r||c>i)){c>r&&(l.width+=c-r,l.x=r),h<i&&(l.width=i-c),e.splice(t,1);break}}return e},t.findHostInstance=lu,t.findHostInstanceWithNoPortals=function(e){return null===(e=null!==(e=x(e))?M(e):null)?null:e.stateNode},t.findHostInstanceWithWarning=function(e){return lu(e)},t.flushControlled=function(e){var t=Ka;Ka|=1;var n=Xa.transition,r=Pt;try{Xa.transition=null,Pt=1,e()}finally{Pt=r,Xa.transition=n,0===(Ka=t)&&(so(),Yt())}}
2,t.flushPassiveEffects=Ho,t.flushSync=To,t.focusWithin=function(e,t){if(!re)throw Error(o(363));for(t=Va(e=ka(e),t),t=Array.from(t),e=0;e<t.length;){var n=t[e++];if(!ue(n)){if(5===n.tag&&le(n.stateNode))return!0;for(n=n.child;null!==n;)t.push(n),n=n.sibling}}return!1},t.getCurrentUpdatePriority=function(){return Pt},t.getFindAllNodesFailureDescription=function(e,t){if(!re)throw Error(o(363));var n=0,r=[];e=[ka(e),0];for(var i=0;i<e.length;){var a=e[i++],u=e[i++],s=t[u];if((5!==a.tag||!ue(a))&&(Ua(a,s)&&(r.push(za(s)),++u>n&&(n=u)),u<t.length))for(a=a.child;null!==a;)e.push(a,u),a=a.sibling}if(n<t.length){for(e=[];n<t.length;n++)e.push(za(t[n]));return"findAllNodes was able to match part of the selector:\n  "+r.join(" > ")+"\n\nNo matching component was found for:\n  "+e.join(" > ")}return null},t.getPublicRootInstance=function(e){return(e=e.current).child?5===e.child.tag?R(e.child.stateNode):e.child.stateNode:null},t.injectIntoDevTools=function(e){if(e={bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:u.ReactCurrentDispatcher,findHostInstanceByFiber:du,findFiberByHostInstance:e.findFiberByHostInstance||pu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.0.0-fc46dba67-20220329"},"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)e=!1;else{var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)e=!0;else{try{Ht=t.inject(e),Gt=t}catch(e){}e=!!t.checkDCE}}return e},t.isAlreadyRendering=function(){return!1},t.observeVisibleRects=function(e,t,n,r){if(!re)throw Error(o(363));e=Wa(e,t);var i=ce(e,n,r).disconnect;return{disconnect:function(){i()}}},t.registerMutableSourceForHydration=function(e,t){var n=t._getVersion;n=n(t._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)},t.runWithPriority=function(e,t){var n=Pt;try{return Pt=e,t()}finally{Pt=n}},t.shouldError=function(){return null},t.shouldSuspend=function(){return!1},t.updateContainer=function(e,t,n,r){var i=t.current,a=Eo(),o=Ao(i);return n=su(n),null===t.context?t.context=n:t.pendingContext=n,(t=gn(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),_n(i,t),null!==(e=Co(i,o,a))&&Dn(e,i,o),o},t}},772:function(e,t,n){"use strict";e.exports=n(735)},4845:function(e,t,n){"use strict";e.exports=n(2935)},8271:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<a(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var u=2*(r+1)-1,s=e[u],l=u+1,c=e[l];if(0>a(s,n))l<i&&0>a(c,s)?(e[r]=c,e[l]=n,r=l):(e[r]=s,e[u]=n,r=u);else{if(!(l<i&&0>a(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var u=Date,s=u.now();t.unstable_now=function(){return u.now()-s}}var l=[],c=[],h=1,d=null,p=3,f=!1,m=!1,g=!1,_="function"==typeof setTimeout?setTimeout:null,D="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(l,t)}t=r(c)}}function E(e){if(g=!1,y(e),!m)if(null!==r(l))m=!0,R(A);else{var t=r(c);null!==t&&I(E,t.startTime-e)}}function A(e,n){m=!1,g&&(g=!1,D(S),S=-1),f=!0;var a=p;try{for(y(n),d=r(l);null!==d&&(!(d.expirationTime>n)||e&&!w());){var o=d.callback;if("function"==typeof o){d.callback=null,p=d.priorityLevel;var u=o(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?d.callback=u:d===r(l)&&i(l),y(n)}else i(l);d=r(l)}if(null!==d)var s=!0;else{var h=r(c);null!==h&&I(E,h.startTime-n),s=!1}return s}finally{d=null,p=a,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,F=!1,b=null,S=-1,x=5,B=-1;function w(){return!(t.unstable_now()-B<x)}function M(){if(null!==b){var e=t.unstable_now();B=e;var n=!0;try{n=b(!0,e)}finally{n?C():(F=!1,b=null)}}else F=!1}if("function"==typeof v)C=function(){v(M)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,P=T.port2;T.port1.onmessage=M,C=function(){P.postMessage(null)}}else C=function(){_(M,0)};function R(e){b=e,F||(F=!0,C())}function I(e,n){S=_((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,R(A))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?o+a:o:a=o,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:h++,callback:i,priorityLevel:e,startTime:a,expirationTime:u=
vendor: 427 bytes, line 2
2a+u,sortIndex:-1},a>o?(e.sortIndex=a,n(c,e),null===r(l)&&e===r(c)&&(g?(D(S),S=-1):g=!0,I(E,a-o))):(e.sortIndex=u,n(l,e),m||f||(m=!0,R(A))),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},966:function(e,t,n){"use strict";e.exports=n(8271)},8063:function(e,t,n){var r;r=function(e,t,n){return function(){"use strict";var r={
2"./src/Xarrow/utils/buzzier.js":function(e,t,n){n.r(t),n.d(t,{bzFunction:function(){return r},buzzierMinSols:function(){return i}});var r=function(e,t,n,r){return function(i){return Math.pow(1-i,3)*e+3*Math.pow(1-i,2)*i*t+3*(1-i)*Math.pow(i,2)*n+Math.pow(i,3)*r}},i=function(e,t,n,i){var a=r(e,t,n,i),o=-6*e+12*t-6*n,u=Math.pow(-6*e+12*t-6*n,2)-4*(3*t-3*e)*(-3*e+9*t-9*n+3*i),s=2*(-3*e+9*t-9*n+3*i);return[a((o+Math.sqrt(u))/s),a((o-Math.sqrt(u))/s)]}},
2"./src/Xarrow/Xarrow.tsx":function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t},u=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=o(n("react")),c=s(n("./src/Xarrow/useXarrowProps.ts")),h=n("./src/Xwrapper.tsx"),d=s(n("./src/Xarrow/propTypes.ts")),p=n("./src/Xarrow/utils/GetPosition.tsx"),f=(console.log,function(e){var t,n=l.useRef({svgRef:l.useRef(null),lineRef:l.useRef(null),headRef:l.useRef(null),tailRef:l.useRef(null),lineDrawAnimRef:l.useRef(null),lineDashAnimRef:l.useRef(null),headOpacityAnimRef:l.useRef(null)}),i=n.current,a=i.svgRef,o=i.lineRef,s=i.headRef,d=(i.tailRef,i.lineDrawAnimRef),f=i.lineDashAnimRef,m=i.headOpacityAnimRef;l.useContext(h.XarrowContext);var g=c.default(e,n.current),_=g[0],D=_.labels,v=_.lineColor,y=_.headColor,E=_.tailColor,A=_.strokeWidth,C=_.showHead,F=_.showTail,b=_.dashness,S=_.headShape,x=_.tailShape,B=_.showXarrow,w=_.animateDrawing,M=_.zIndex,T=_.passProps,P=_.arrowBodyProps,R=_.arrowHeadProps,I=_.arrowTailProps,N=_.SVGcanvasProps,L=_.divContainerProps,O=_.divContainerStyle,k=_.SVGcanvasStyle,U=_._debug,z=_.shouldUpdatePosition;w=e.animateDrawing;var V=l.useState(!w),W=V[0],H=V[1],G=l.useState({})[1],j=function(){return G({})},X=l.useState({cx0:0,cy0:0,cw:0,ch:0,x1:0,y1:0,x2:0,y2:0,dx:0,dy:0,absDx:0,absDy:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,headOrient:0,tailOrient:0,arrowHeadOffset:{x:0,y:0},arrowTailOffset:{x:0,y:0},headOffset:0,excRight:0,excLeft:0,excUp:0,excDown:0,startPoints:[],endPoints:[],mainDivPos:{x:0,y:0},xSign:1,ySign:1,lineLength:0,fHeadSize:1,fTailSize:1,arrowPath:"",labelStartPos:{x:0,y:0},labelMiddlePos:{x:0,y:0},labelEndPos:{x:0,y:0}}),K=X[0],q=X[1];l.useLayoutEffect((function(){if(z.current){var e=p.getPosition(g,n);q(e),z.current=!1}}));var J=K.x2-K.arrowHeadOffset.x,Y=K.y2-K.arrowHeadOffset.y,$=K.x1-K.arrowTailOffset.x,Q=K.y1-K.arrowTailOffset.y,Z=b.strokeLen+b.nonStrokeLen,ee=1;b.animation<0&&(b.animation*=-1,ee=-1);var te,ne,re,ie,ae=0;return w&&0==W?("boolean"==typeof w&&(w=1),ne=w+"s",te=K.lineLength,ie=K.lineLength,re=1,w<0&&(ie=(t=[ae,ie])[0],ae=t[1],ne=-1*w+"s")):(te=b.strokeLen+" "+b.nonStrokeLen,ne=1/b.animation+"s",ie=Z*ee,re="indefinite",ae=0),l.useLayoutEffect((function(){o.current&&q((function(e){var t,n;return r(r({},e),{lineLength:null!==(n=null===(t=o.current)||void 0===t?void 0:t.getTotalLength())&&void 0!==n?n:0})}))}),[o.current]),l.useEffect((function(){var e=function(){window.addEventListener("resize",j);var e=function(){var e,t;H(!0),null===(e=m.current)||void 0===e||e.beginElement(),null===(t=f.current)||void 0===t||t.beginElement()},t=function(){return s.current.style.opacity="0"};return d.current&&s.current&&(d.current.addEventListener("endEvent",e),d.current.addEventListener("beginEvent",t)),function(){window.removeEventListener("resize",j),d.current&&(d.current.removeEventListener("endEvent",e),s.current&&d.current.removeEventListener("beginEvent",t))}}();return function(){H(!1),e()}}),[B]),l.default.createElement("div",r({},L,{style:r({position:"absolute",zIndex:M},O)}),B?l.default.createElement(l.default.Fragment,null,l.default.createElement("svg",r({ref:a,width:K.cw,height:K.ch,style:r({position:"absolute",left:K.cx0,top:K.cy0,pointerEvents:"none",border:U?"1px dashed yellow":null},k),overflow:"auto"},N),l.default.createElement("path",r({ref:o,d:K.arrowPath,stroke:v,strokeDasharray:te,strokeWidth:A,fill:"transparent",pointerEvents:"visibleStroke"},T,P),l.default.createElement(l.default.Fragment,null,W?l.default.createElement(l.default.Fragment,null,b.animation?l.default.createElement("animate",{ref:f,attributeName:"stroke-dashoffset",values:Z*ee+";
20",dur:1/b.animation+"s",repeatCount:"indefinite"}):null):l.default.createElement(l.default.Fragment,null,w?l.default.createElement("animate",{ref:d,id:"svgEndAnimate",attributeName:"stroke-dashoffset",values:ie+";"+ae,dur:ne,repeatCount:re}):null))),F?l.default.createElement("g",r({fill:E,pointerEvents:"auto",transform:"translate("+$+","+Q+") rotate("+K.tailOrient+") scale("+K.fTailSize+")"},T,I),x.svgElem):null,C?l.default.createElement("g",r({ref:s,fill:y,pointerEvents:"auto",transform:"translate("+J+","+Y+") rotate("+K.headOrient+") scale("+K.fHeadSize+")",opacity:w&&!W?0:1},T,R),l.default.createElement("animate",{ref:m,dur:"0.4",attributeName:"opacity",from:"0",to:"1",begin:"indefinite",repeatCount:"0",fill:"freeze"}),S.svgElem):null,U?l.default.createElement(l.default.Fragment,null,l.default.createElement("circle",{r:"5",cx:K.cpx1,cy:K.cpy1,fill:"green"}),l.default.createElement("circle",{r:"5",cx:K.cpx2,cy:K.cpy2,fill:"blue"}),l.default.createElement("rect",{x:K.excLeft,y:K.excUp,width:K.absDx,height:K.absDy,fill:"none",stroke:"pink",strokeWidth:"2px"})):null),D.start?l.default.createElement("div",{style:{transform:K.dx<0?"translate(-100% , -50%)":"translate(-0% , -50%)",width:"max-content",position:"absolute",left:K.cx0+K.labelStartPos.x,top:K.cy0+K.labelStartPos.y-A-5}},D.start):null,D.middle?l.default.createElement("div",{style:{display:"table",width:"max-content",transform:"translate(-50% , -50%)",position:"absolute",left:K.cx0+K.labelMiddlePos.x,top:K.cy0+K.labelMiddlePos.y}},D.middle):null,D.end?l.default.createElement("div",{style:{transform:K.dx>0?"translate(-100% , -50%)":"translate(-0% , -50%)",width:"max-content",position:"absolute",left:K.cx0+K.labelEndPos.x,top:K.cy0+K.labelEndPos.y+A+5}},D.end):null,U?l.default.createElement(l.default.Fragment,null,u(u([],K.startPoints),K.endPoints).map((function(e,t){return l.default.createElement("div",{key:t,style:{background:"gray",opacity:.5,borderRadius:"50%",transform:"translate(-50%, -50%)",height:5,width:5,position:"absolute",left:e.x-K.mainDivPos.x,top:e.y-K.mainDivPos.y}})}))):null):null)});f.propTypes=d.default,t.default=f},
2"./src/Xarrow/anchors.ts":function(e,t,n){e=n.nmd(e),Object.defineProperty(t,"__esModule",{value:!0}),t.calcAnchors=void 0,t.calcAnchors=function(e,t){return e.map((function(e){var n,r,i=(n=t.right-t.x,r=t.bottom-t.y,{middle:{x:.5*n,y:.5*r},left:{x:0,y:.5*r},right:{x:n,y:.5*r},top:{x:.5*n,y:0},bottom:{x:.5*n,y:r}})[e.position],a=i.x,o=i.y;return{x:t.x+a+e.offset.x,y:t.y+o+e.offset.y,anchor:e}}))},n.c[n.s]},
2"./src/Xarrow/propTypes.ts":function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("prop-types")),a=n("./src/constants.tsx"),o=i.default.oneOf(a.cAnchorEdge),u=i.default.exact({position:o.isRequired,offset:i.default.exact({x:i.default.number,y:i.default.number}).isRequired}),s=i.default.oneOfType([o,u]),l=i.default.oneOfType([s,i.default.arrayOf(s)]),c=i.default.oneOfType([i.default.string,i.default.exact({current:i.default.any})]),h=i.default.oneOfType([i.default.element,i.default.string]),d=i.default.exact({start:h,middle:h,end:h}),p=i.default.oneOf(Object.keys(a.arrowShapes)),f=i.default.any,m=i.default.oneOfType([p,i.default.exact({svgElem:f,offsetForward:i.default.number}).isRequired]),g={start:c.isRequired,end:c.isRequired,startAnchor:l,endAnchor:l,labels:i.default.oneOfType([h,d]),color:i.default.string,lineColor:i.default.string,showHead:i.default.bool,headColor:i.default.string,headSize:i.default.number,tailSize:i.default.number,tailColor:i.default.string,strokeWidth:i.default.number,showTail:i.default.bool,path:i.default.oneOf(a.cPaths),showXarrow:i.default.bool,curveness:i.default.number,gridBreak:i.default.string,dashness:i.default.oneOfType([i.default.bool,i.default.object]),headShape:m,tailShape:m,animateDrawing:i.default.oneOfType([i.default.bool,i.default.number]),zIndex:i.default.number,passProps:i.default.object,arrowBodyProps:i.default.object,arrowHeadProps:i.default.object,arrowTailProps:i.default.object,SVGcanvasProps:i.default.object,divContainerProps:i.default.object,_extendSVGcanvas:i.default.number,_debug:i.default.bool,_cpx1Offset:i.default.number,_cpy1Offset:i.default.number,_cpx2Offset:i.default.number,_cpy2Offset:i.default.number};t.default=g},
2"./src/Xarrow/useXarrowProps.ts":function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=o(n("react")),l=n("./src/Xarrow/utils/index.ts"),c=u(n("lodash")),h=n("./src/constants.tsx"),d=function(e){var t=(Array.isArray(e)?e:[e]).map((function(e){return"string"==typeof e?{position:e}:e}));0==(t=t.filter((function(e){return h.cAnchorEdge.includes(e.position)}))).length&&(t=[{position:"auto"}]);var n=t.filter((function(e){return"auto"===e.position}));n.length>0&&(t=t.filter((function(e){return"auto"!==e.position}))).push.apply(t,n.flatMap((function(e){return["left","right","top","bottom"].map((function(t){return r(r({},e),{position:t})}))})));var i=t.map((function(e){if("object"==typeof e){var t=e;return t.position||(t.position="auto"),t.offset||(t.offset={x:0,y:0}),t.offset.y||(t.offset.y=0),t.offset.x||(t.offset.x=0),t}return e}));return i},p=function(e){return"string"==typeof e&&(e in h.arrowShapes?e=h.arrowShapes[e]:(console.warn("'"+e+"' is not supported arrow shape. the supported arrow shapes is one of "+h.cArrowShapes+".\n           reverting to default shape."),e=h.arrowShapes.arrow1)),void 0===(null==e?void 0:e.offsetForward)&&(e.offsetForward=.25),void 0===(null==e?void 0:e.svgElem)&&(e.svgElem="path"),e},f=function(e,t){return t&&(t.current=!0),e},m=function(e){return e},g=function(e,t,n){return f(e,n)},_=function(e,t,n){return f(Number(e),n)},D={start:function(e){return l.getElementByPropGiven(e)},end:function(e){return l.getElementByPropGiven(e)},startAnchor:function(e,t,n){return f(d(e),n)},endAnchor:function(e,t,n){return f(d(e),n)},labels:function(e){return function(e){var t={start:null,middle:null,end:null};if(e)if("string"==typeof e||s.default.isValidElement(e))t.middle=e;else for(var n in e)t[n]=e[n];return t}(e)},color:m,lineColor:function(e,t){return e||t.color},headColor:function(e,t){return e||t.color},tailColor:function(e,t){return e||t.color},strokeWidth:_,showHead:g,headSize:_,showTail:g,tailSize:_,path:g,curveness:_,gridBreak:function(e,t,n){return f((r=e,(i=l.xStr2absRelative(r))||(i={relative:.5,abs:0}),i),n);var r,i},dashness:function(e,t){return r=t,a=0,o=0,"object"==typeof(n=e)?(a=n.strokeLen||2*r.strokeWidth,o=n.strokeLen?n.nonStrokeLen:r.strokeWidth,i=n.animation?n.animation:null):"boolean"==typeof n&&n&&(a=2*r.strokeWidth,o=r.strokeWidth,i=null),{strokeLen:a,nonStrokeLen:o,animation:i,animDirection:1};var n,r,i,a,o},headShape:function(e){return p(e)},tailShape:function(e){return p(e)},showXarrow:m,animateDrawing:m,zIndex:function(e){return Number(e)},passProps:m,arrowBodyProps:g,arrowHeadProps:g,arrowTailProps:g,SVGcanvasProps:g,divContainerProps:g,divContainerStyle:g,SVGcanvasStyle:g,_extendSVGcanvas:g,_debug:g,_cpx1Offset:g,_cpy1Offset:g,_cpx2Offset:g,_cpy2Offset:g},v={};for(var y in D)v[y]=[y];for(var E=0,A=["lineColor","headColor","tailColor"];E<A.length;E++)v[y=A[E]].push("color");var C={start:null,end:null,startAnchor:"auto",endAnchor:"auto",labels:null,color:"CornflowerBlue",lineColor:null,headColor:null,tailColor:null,strokeWidth:4,showHead:!0,headSize:6,showTail:!1,tailSize:6,path:"smooth",curveness:.8,gridBreak:"50%",dashness:!1,headShape:"arrow1",tailShape:"arrow1",showXarrow:!0,animateDrawing:!1,zIndex:0,passProps:{},arrowBodyProps:{},arrowHeadProps:{},arrowTailProps:{},SVGcanvasProps:{},divContainerProps:{},divContainerStyle:{},SVGcanvasStyle:{},_extendSVGcanvas:0,_debug:!1,_cpx1Offset:0,_cpy1Offset:0,_cpx2Offset:0,_cpy2Offset:0},F={};F=function(e,t){for(var n,r=0,i=Object.entries(e);r<i.length;r++){var a=i[r],o=a[0],u=a[1];t[o]=null===(n=null==D?void 0:D[o])||void 0===n?void 0:n.call(D,u,t)}return t}(C,F);var b={startPos:{x:0,y:0,right:0,bottom:0},endPos:{x:0,y:0,right:0,bottom:0}};function S(e){var t,n,r=s.useRef();return t=e,n=r.current,c.default.isEqual(t,n)||(r.current=e),r.current}function x(e,t){s.useLayoutEffect(e,t.map(S))}t.default=function(e,t){var n=s.useState(F),i=n[0],a=n[1],o=s.useRef(!1);i.shouldUpdatePosition=o;var u=r(r({},C),e),c=function(t){s.useLayoutEffect((function(){var e;i[t]=null===(e=null==D?void 0:D[t])||void 0===e?void 0:e.call(D,u[t],i,o),a(r({},i))}),v[t].map((function(t){return e[t]})))};for(var h in C)c(h);var d=s.useState(b),p=d[0],f=d[1],m=l.getElemPos(i.start);x((function(){p.startPos=m,o.current=!0,f(r({},p))}),[m]);var g=l.getElemPos(i.end);return x((function(){p.endPos=g,o.current=!0,f(r({},p))}),[g]),s.useLayoutEffect((function(){o.current=!0,f(r({},p))}),[i.headShape.svgElem,i.tailShape.svgElem]),[i,p]}},
2"./src/Xarrow/utils/GetPosition.tsx":function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getPosition=void 0;var i=n("./src/Xarrow/anchors.ts"),a=n("./src/Xarrow/utils/index.ts"),o=r(n("lodash")),u=n("./src/constants.tsx"),s=n("./src/Xarrow/utils/buzzier.js");t.getPosition=function(e,t){var n,r,l,c,h=e[0],d=e[1],p=h.startAnchor,f=h.endAnchor,m=h.strokeWidth,g=h.showHead,_=h.headSize,D=h.showTail,v=h.tailSize,y=h.path,E=h.curveness,A=h.gridBreak,C=h.headShape,F=h.tailShape,b=h._extendSVGcanvas,S=h._cpx1Offset,x=h._cpy1Offset,B=h._cpx2Offset,w=h._cpy2Offset,M=d.startPos,T=d.endPos,P=t.current,R=P.svgRef,I=P.lineRef,N=0,L=0,O=i.calcAnchors(p,M),k=i.calcAnchors(f,T),U=a.getShortestLine(O,k),z=U.chosenStart,V=U.chosenEnd,W=z.anchor.position,H=V.anchor.position,G=o.default.pick(z,["x","y"]),j=o.default.pick(V,["x","y"]),X=a.getSvgPos(R),K=Math.min(G.x,j.x)-X.x,q=Math.min(G.y,j.y)-X.y,J=j.x-G.x,Y=j.y-G.y,$=Math.abs(j.x-G.x),Q=Math.abs(j.y-G.y),Z=J>0?1:-1,ee=Y>0?1:-1,te=[C.offsetForward,F.offsetForward],ne=te[0],re=te[1],ie=_*m,ae=v*m,oe=0,ue=0,se=0,le=0,ce=ie*ne,he=ae*re,de=Number(E);u.cPaths.includes(y)||(y="smooth"),"straight"===y&&(de=0,y="smooth");var pe=m+m*(_>v?_:v)/2,fe=pe,me=pe,ge=pe,_e=pe;me+=Number(b),fe+=Number(b),ge+=Number(b),_e+=Number(b);var De=0,ve=$,ye=0,Ee=Q;if(J<0&&(De=(n=[ve,De])[0],ve=n[1]),Y<0&&(ye=(r=[Ee,ye])[0],Ee=r[1]),0===de){var Ae=Math.atan(Q/$);g&&(ve-=ie*(1-ne)*Z*Math.cos(Ae),Ee-=ie*(1-ne)*ee*Math.sin(Ae),Ae*=ee,Z<0&&(Ae=(Math.PI-Ae*Z)*Z),oe=Math.cos(Ae)*ce-Math.sin(Ae)*ie/2,ue=Math.cos(Ae)*ie/2+Math.sin(Ae)*ce,N=180*Ae/Math.PI);var Ce=Math.atan(Q/$);D&&(De+=ae*(1-re)*Z*Math.cos(Ce),ye+=ae*(1-re)*ee*Math.sin(Ce),Ce*=-ee,Z>0&&(Ce=(Math.PI-Ce*Z)*Z),se=Math.cos(Ce)*he-Math.sin(Ce)*ae/2,le=Math.cos(Ce)*ae/2+Math.sin(Ce)*he,L=180*Ce/Math.PI)}else"middle"===H&&(H=$>Q?Z?"left":"right":ee?"top":"bottom"),g&&(["left","right"].includes(H)?(oe+=ce*Z,ve-=ie*(1-ne)*Z,ue+=ie*Z/2,"left"===H?(N=0,Z<0&&(N+=180)):(N=180,Z>0&&(N+=180))):["top","bottom"].includes(H)&&(oe+=ie*-ee/2,Ee-=ie*ee-(ue+=ce*ee),"top"===H?(N=270,ee>0&&(N+=180)):(N=90,ee<0&&(N+=180))));D&&0!==de&&(["left","right"].includes(W)?(De+=ae*Z+(se+=he*-Z),le+=-ae*Z/2,"left"===W?(L=180,Z<0&&(L+=180)):(L=0,Z>0&&(L+=180))):["top","bottom"].includes(W)&&(ye+=ae*ee+(le+=he*-ee),se+=ae*ee/2,"top"===W?(L=90,ee>0&&(L+=180)):(L=270,ee<0&&(L+=180))));var Fe={x:oe,y:ue},be={x:se,y:le},Se=De,xe=ye,Be=ve,we=Ee,Me={};"smooth"===y?Me={hh:function(){Se+=$*de*Z,Be-=$*de*Z},vv:function(){xe+=Q*de*ee,we-=Q*de*ee},hv:function(){Se+=$*de*Z,we-=Q*de*ee},vh:function(){xe+=Q*de*ee,Be-=$*de*Z}}:"grid"===y&&(Me={hh:function(){Se+=($*A.relative+A.abs)*Z,Be-=($*(1-A.relative)-A.abs)*Z,g&&(Se-=ie*(1-ne)/2*Z,Be+=ie*(1-ne)/2*Z),D&&(Se-=ae*(1-re)/2*Z,Be+=ae*(1-re)/2*Z)},vv:function(){xe+=(Q*A.relative+A.abs)*ee,we-=(Q*(1-A.relative)-A.abs)*ee,g&&(xe-=ie*(1-ne)/2*ee,we+=ie*(1-ne)/2*ee),D&&(xe-=ae*(1-re)/2*ee,we+=ae*(1-re)/2*ee)},hv:function(){Se=ve},vh:function(){xe=Ee}});var Te="";["left","right"].includes(W)?Te+="h":["bottom","top"].includes(W)?Te+="v":"middle"===W&&(Te+="m"),["left","right"].includes(H)?Te+="h":["bottom","top"].includes(H)?Te+="v":"middle"===H&&(Te+="m"),Me[Te=$>Q?Te.replace(/m/g,"h"):Te.replace(/m/g,"v")](),Se+=S,xe+=x,Be+=B,we+=w;var Pe=s.buzzierMinSols(De,Se,Be,ve),Re=Pe[0],Ie=Pe[1],Ne=s.buzzierMinSols(ye,xe,we,Ee),Le=Ne[0],Oe=Ne[1];Re<0&&(me+=-Re),Ie>$&&(fe+=Ie-$),Le<0&&(ge+=-Le),Oe>Q&&(_e+=Oe-Q),"grid"===y&&(me+=pe,fe+=pe,ge+=pe,_e+=pe),De+=me,ve+=me,ye+=ge,Ee+=ge,Se+=me,Be+=me,xe+=ge,we+=ge;var ke=$+me+fe,Ue=Q+ge+_e;K-=me,q-=ge;var ze,Ve=s.bzFunction(De,Se,Be,ve),We=s.bzFunction(ye,xe,we,Ee),He={x:Ve(.01),y:We(.01)},Ge={x:Ve(.5),y:We(.5)},je={x:Ve(.99),y:We(.99)};return"grid"===y?ze="M "+De+" "+ye+" L  "+Se+" "+xe+" L "+Be+" "+we+" "+ve+" "+Ee:"smooth"===y&&(ze="M "+De+" "+ye+" C "+Se+" "+xe+", "+Be+" "+we+", "+ve+" "+Ee),{cx0:K,cy0:q,x1:De,x2:ve,y1:ye,y2:Ee,cw:ke,ch:Ue,cpx1:Se,cpy1:xe,cpx2:Be,cpy2:we,dx:J,dy:Y,absDx:$,absDy:Q,headOrient:N,tailOrient:L,labelStartPos:He,labelMiddlePos:Ge,labelEndPos:je,excLeft:me,excRight:fe,excU
2p:ge,excDown:_e,headOffset:ce,arrowHeadOffset:Fe,arrowTailOffset:be,startPoints:O,endPoints:k,mainDivPos:X,xSign:Z,ySign:ee,lineLength:null!==(c=null===(l=I.current)||void 0===l?void 0:l.getTotalLength())&&void 0!==c?c:0,fHeadSize:ie,fTailSize:ae,arrowPath:ze}}},
2"./src/Xarrow/utils/index.ts":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getSvgPos=t.getElemPos=t.getShortestLine=t.xStr2absRelative=t.factorDpathStr=t.getElementByPropGiven=void 0,t.getElementByPropGiven=function(e){return"string"==typeof e?document.getElementById(e):null==e?void 0:e.current},t.factorDpathStr=function(e,t){var n=e.split(/(\d+(?:\.\d+)?)/);return(n=n.map((function(e){return Number(e)?(Number(e)*t).toString():e}))).join("")},t.xStr2absRelative=function(e){if("string"!=typeof e)return{abs:0,relative:.5};var t=e.split("%"),n=0,r=0;if(1==t.length){var i=parseFloat(t[0]);if(!isNaN(i))return{abs:n=i,relative:0}}else if(2==t.length){var a=[parseFloat(t[0]),parseFloat(t[1])],o=a[0],u=a[1];if(isNaN(o)||(r=o/100),isNaN(u)||(n=u),!isNaN(o)||!isNaN(u))return{abs:n,relative:r}}},t.getShortestLine=function(e,t){var n,r=1/0,i=1/0;return e.forEach((function(e){t.forEach((function(t){var a,o;a=e,o=t,(i=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)))<r&&(r=i,n={chosenStart:e,chosenEnd:t})}))})),n},t.getElemPos=function(e){if(!e)return{x:0,y:0,right:0,bottom:0};var t=e.getBoundingClientRect();return{x:t.left,y:t.top,right:t.right,bottom:t.bottom}},t.getSvgPos=function(e){if(!e.current)return{x:0,y:0};var t=e.current.getBoundingClientRect(),n=t.left,r=t.top,i=getComputedStyle(e.current);return{x:n-Number(i.left.slice(0,-2)),y:r-Number(i.top.slice(0,-2))}}},
2"./src/Xwrapper.tsx":function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.XarrowContext=t.XelemContext=void 0;var o=a(n("react"));t.XelemContext=o.default.createContext(null),t.XarrowContext=o.default.createContext(null);var u={},s=0,l=(console.log,function(e){var n=e.children,r=e.instanceCount,i=o.useState({})[1],a=function(){return i({})};return o.useEffect((function(){r.current=s,u[r.current]=a}),[]),o.default.createElement(t.XarrowContext.Provider,{value:a},n)}),c=function(e){var n=e.children,r=e.instanceCount;return o.default.createElement(t.XelemContext.Provider,{value:u[r.current]},n)};t.default=function(e){var t=e.children,n=o.useRef(s),r=o.useState({})[1];return o.useEffect((function(){return s++,r({}),function(){delete u[n.current]}}),[]),o.default.createElement(c,{instanceCount:n},o.default.createElement(l,{instanceCount:n},t))}},
2"./src/constants.tsx":function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.cArrowShapes=t.arrowShapes=t.cSvgElems=t.cPaths=t.cAnchorEdge=void 0;var i=r(n("react"));t.cAnchorEdge=["middle","left","right","top","bottom","auto"],t.cPaths=["smooth","grid","straight"],t.cSvgElems=["circle","ellipse","line","path","polygon","polyline","rect"],t.arrowShapes={arrow1:{svgElem:i.default.createElement("path",{d:"M 0 0 L 1 0.5 L 0 1 L 0.25 0.5 z"}),offsetForward:.25},heart:{svgElem:i.default.createElement("path",{d:"M 0,0.25 A 0.125,0.125 0,0,1 0.5,0.25 A 0.125,0.125 0,0,1 1,0.25 Q 1,0.625 0.5,1 Q 0,0.625 0,0.25 z"}),offsetForward:.1},circle:{svgElem:i.default.createElement("circle",{r:.5,cx:.5,cy:.5}),offsetForward:0}},t.cArrowShapes=Object.keys(t.arrowShapes)},
2"./src/index.tsx":function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useXarrow=t.Xwrapper=t.default=void 0;var o=n("./src/Xarrow/Xarrow.tsx");Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a(o).default}}),i(n("./src/types.ts"),t),i(n("./src/constants.tsx"),t);var u=n("./src/Xwrapper.tsx");Object.defineProperty(t,"Xwrapper",{enumerable:!0,get:function(){return a(u).default}});var s=n("./src/useXarrow.tsx");Object.defineProperty(t,"useXarrow",{enumerable:!0,get:function(){return a(s).default}})},
2"./src/types.ts":function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},
2"./src/useXarrow.tsx":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("react"),i=n("./src/Xwrapper.tsx");t.default=function(){var e=r.useState({})[1],t=r.useContext(i.XelemContext);return t||(t=function(){}),r.useLayoutEffect((function(){t()})),function(){return e({})}}}
vendor: 11,427 bytes, line 2
2,lodash:function(e){e.exports=t},"prop-types":function(e){e.exports=n},react:function(t){t.exports=e}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return r[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}return a.c=i,a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},a(a.s="./src/index.tsx")}()},e.exports=r(n(6540),n(2543),n(5556))},1020:function(e,t,n){"use strict";var r=n(6540),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,a={},l=null,c=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,r)&&!s.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:i,type:e,key:l,ref:c,props:a,_owner:u.current}}t.Fragment=a,t.jsx=l},5287:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function D(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},D.prototype=_.prototype;var y=v.prototype=new D;y.constructor=v,m(y,_.prototype),y.isPureReactComponent=!0;var E=Array.isArray,A=Object.prototype.hasOwnProperty,C={current:null},F={key:!0,ref:!0,__self:!0,__source:!0};function b(e,t,r){var i,a={},o=null,u=null;if(null!=t)for(i in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(o=""+t.key),t)A.call(t,i)&&!F.hasOwnProperty(i)&&(a[i]=t[i]);var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];a.children=l}if(e&&e.defaultProps)for(i in s=e.defaultProps)void 0===a[i]&&(a[i]=s[i]);return{$$typeof:n,type:e,key:o,ref:u,props:a,_owner:C.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var x=/\/+/g;function B(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function w(e,t,i,a,o){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var s=!1;if(null===e)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return o=o(s=e),e=""===a?"."+B(s,0):a,E(o)?(i="",null!=e&&(i=e.replace(x,"$&/")+"/"),w(o,t,i,"",(function(e){return e}))):null!=o&&(S(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,i+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(x,"$&/")+"/")+e)),t.push(o)),1;if(s=0,a=""===a?".":a+":",E(e))for(var l=0;l<e.length;l++){var c=a+B(u=e[l],l);s+=w(u,t,i,c,o)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),l=0;!(u=e.next()).done;)s+=w(u=u.value,t,i,c=a+B(u,l++),o);else if("object"===u)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function M(e,t,n){if(null==e)return e;var r=[],i=0;return w(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},R={transition:null},I={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:R,ReactCurrentOwner:C};function N(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:M,forEach:function(e,t,n){M(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return M(e,(function(){t++})),t},toArray:function(e){return M(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=_,t.Fragment=i,t.Profiler=o,t.PureComponent=v,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.act=N,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),a=e.key,o=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,u=C.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)A.call(t,l)&&!F.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];i.children=s}return{$$typeof:n,type:e.type,key:a,ref:o,props:i,_owner:u}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=b,t.createFactory=function(e){var t=b.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=N,t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return P.current.useTransition()},t.version="18.3.1"},6540:function(e,t,n){"use strict";e.exports=n(5287)},4848:function(e,t,n){"use strict";e.exports=n(1020)},7463:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<a(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var u=2*(r+1)-1,s=e[u],l=u+1,c=e[l];if(0>a(s,n))l<i&&0>a(c,s)?(e[r]=c,e[l]=n,r=l):(e[r]=s,e[u]=n,r=u);else{if(!(l<i&&0>a(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var u=Date,s=u.now();t.unstable_now=function(){return u.now()-s}}var l=[],c=[],h=1,d=null,p=3,f=!1,m=!1,g=!1,_="function"==typeof setTimeout?setTimeout:null,D="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(l,t)}t=r(c)}}function E(e){if(g=!1,y(e),!m)if(null!==r(l))m=!0,R(A);else{var t=r(c);null!==t&&I(E,t.startTime-e)}}function A(e,n){m=!1,g&&(g=!1,D(S),S=-1),f=!0;var a=p;try{for(y(n),d=r(l);null!==d&&(!(d.expirationTime>n)||e&&!w());){var o=d.callback;if("function"==typeof o){d.callback=null,p=d.priorityLevel;var u=o(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?d.callback=u:d===r(l)&&i(l),y(n)}else i(l);d=r(l)}if(null!==d)var s=!0;else{var h=r(c);null!==h&&I(E,h.startTime-n),s=!1}return s}finally{d=null,p=a,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,F=!1,b=null,S=-1,x=5,B=-1;function w(){return!(t.unstable_now()-B<x)}function M(){if(null!==b){var e=t.unstable_now();B=e;var n=!0;try{n=b(!0,e)}finally{n?C():(F=!1,b=null)}}else F=!1}if("function"==typeof v)C=function(){v(M)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,P=T.port2;T.port1.onmessage=M,C=function(){P.postMessage(null)}}else C=function(){_(M,0)};function R(e){b=e,F||(F=!0,C())}function I(e,n){S=_((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,R(A))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?o+a:o:a=o,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:h++,callback:i,priorityLevel:e,startTime:a,expirationTime:u=
2a+u,sortIndex:-1},a>o?(e.sortIndex=a,n(c,e),null===r(l)&&e===r(c)&&(g?(D(S),S=-1):g=!0,I(E,a-o))):(e.sortIndex=u,n(l,e),m||f||(m=!0,R(A))),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},9982:function(e,t,n){"use strict";e.exports=n(7463)},9599:function(e,t,n){var r,i,a;!function(){"use strict";i=[n(4692)],r=function(e){var t=window.Slick||{};(t=function(){var t=0;function n(n,r){var i,a=this;a.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(n),appendDots:e(n),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,n){return e('<button type="button" />').text(n+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},a.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(a,a.initials),a.activeBreakpoint=null,a.animType=null,a.animProp=null,a.breakpoints=[],a.breakpointSettings=[],a.cssTransitions=!1,a.focussed=!1,a.interrupted=!1,a.hidden="hidden",a.paused=!0,a.positionProp=null,a.respondTo=null,a.rowCount=1,a.shouldClick=!0,a.$slider=e(n),a.$slidesCache=null,a.transformType=null,a.transitionType=null,a.visibilityChange="visibilitychange",a.windowWidth=0,a.windowTimer=null,i=e(n).data("slick")||{},a.options=e.extend({},a.defaults,r,i),a.currentSlide=a.options.initialSlide,a.originalSettings=a.options,void 0!==document.mozHidden?(a.hidden="mozHidden",a.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(a.hidden="webkitHidden",a.visibilityChange="webkitvisibilitychange"),a.autoPlay=e.proxy(a.autoPlay,a),a.autoPlayClear=e.proxy(a.autoPlayClear,a),a.autoPlayIterator=e.proxy(a.autoPlayIterator,a),a.changeSlide=e.proxy(a.changeSlide,a),a.clickHandler=e.proxy(a.clickHandler,a),a.selectHandler=e.proxy(a.selectHandler,a),a.setPosition=e.proxy(a.setPosition,a),a.swipeHandler=e.proxy(a.swipeHandler,a),a.dragHandler=e.proxy(a.dragHandler,a),a.keyHandler=e.proxy(a.keyHandler,a),a.instanceUid=t++,a.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,a.registerBreakpoints(),a.init(!0)}return n}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,n,r){var i=this;if("boolean"==typeof n)r=n,n=null;else if(n<0||n>=i.slideCount)return!1;i.unload(),"number"==typeof n?0===n&&0===i.$slides.length?e(t).appendTo(i.$slideTrack):r?e(t).insertBefore(i.$slides.eq(n)):e(t).insertAfter(i.$slides.eq(n)):!0===r?e(t).prependTo(i.$slideTrack):e(t).appendTo(i.$slideTrack),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slides.each((function(t,n){e(n).attr("data-slick-index",t)})),i.$slidesCache=i.$slides,i.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,n){var r={},i=this;i.animateHeight(),!0===i.options.rtl&&!1===i.options.vertical&&(t=-t),!1===i.transformsEnabled?!1===i.options.vertical?i.$slideTrack.animate({left:t},i.options.speed,i.options.easing,n):i.$slideTrack.animate({top:t},i.options.speed,i.options.easing,n):!1===i.cssTransitions?(!0===i.options.rtl&&(i.currentLeft=-i.
2currentLeft),e({animStart:i.currentLeft}).animate({animStart:t},{duration:i.options.speed,easing:i.options.easing,step:function(e){e=Math.ceil(e),!1===i.options.vertical?(r[i.animType]="translate("+e+"px, 0px)",i.$slideTrack.css(r)):(r[i.animType]="translate(0px,"+e+"px)",i.$slideTrack.css(r))},complete:function(){n&&n.call()}})):(i.applyTransition(),t=Math.ceil(t),!1===i.options.vertical?r[i.animType]="translate3d("+t+"px, 0px, 0px)":r[i.animType]="translate3d(0px,"+t+"px, 0px)",i.$slideTrack.css(r),n&&setTimeout((function(){i.disableTransition(),n.call()}),i.options.speed))},t.prototype.getNavTarget=function(){var t=this,n=t.options.asNavFor;return n&&null!==n&&(n=e(n).not(t.$slider)),n},t.prototype.asNavFor=function(t){var n=this.getNavTarget();null!==n&&"object"==typeof n&&n.each((function(){var n=e(this).slick("getSlick");n.unslicked||n.slideHandler(t,!0)}))},t.prototype.applyTransition=function(e){var t=this,n={};!1===t.options.fade?n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,n,r=this;if(!0===r.options.dots&&r.slideCount>r.options.slidesToShow){for(r.$slider.addClass("slick-dotted"),n=e("<ul />").addClass(r.options.dotsClass),t=0;t<=r.getDotCount();t+=1)n.append(e("<li />").append(r.options.customPaging.call(this,r,t)));r.$dots=n.appendTo(r.options.appendDots),r.$dots.find("li").first().addClass("slick-active")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each((function(t,n){e(n).attr("data-slick-index",t).data("originalStyling",e(n).attr("style")||"")})),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,n,r,i,a,o,u=this;if(r=document.createDocumentFragment(),a=u.$slider.children(),u.options.rows>0){for(o=u.options.slidesPerRow*u.options.rows,i=Math.ceil(a.length/o),e=0;e<i;e++){var s=document.createElement("div");for(t=0;t<u.options.rows;t++){var l=document.createElement("div");for(n=0;n<u.options.slidesPerRow;n++){var c=e*o+(t*u.options.slidesPerRow+n);a.get(c)&&l.appendChild(a.get(c))}s.appendChild(l)}r.appendChild(s)}u.$slider.empty().append(r),u.$slider.children().children().children().css({width:100/u.options.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,n){var r,i,a,o=this,u=!1,s=o.$slider.width(),l=window.innerWidth||e(window).width();if("window"===o.respondTo?a=l:"slider"===o.respondTo?a=s:"min"===o.respondTo&&(a=Math.min(l,s)),o.options.responsive&&o.options.responsive.length&&null!==o.options.responsive){for(r in i=null,o.breakpoints)o.breakpoints.hasOwnProperty(r)&&(!1===o.originalSettings.mobileFirst?a<o.breakpoints[r]&&(i=o.breakpoints[r]):a>o.breakpoints[r]&&(i=o.breakpoints[r]));null!==i?null!==o.activeBreakpoint?(i!==o.activeBreakpoint||n)&&(o.activeBreakpoint=i,"unsl
2ick"===o.breakpointSettings[i]?o.unslick(i):(o.options=e.extend({},o.originalSettings,o.breakpointSettings[i]),!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t)),u=i):(o.activeBreakpoint=i,"unslick"===o.breakpointSettings[i]?o.unslick(i):(o.options=e.extend({},o.originalSettings,o.breakpointSettings[i]),!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t)),u=i):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t),u=i),t||!1===u||o.$slider.trigger("breakpoint",[o,u])}},t.prototype.changeSlide=function(t,n){var r,i,a=this,o=e(t.currentTarget);switch(o.is("a")&&t.preventDefault(),o.is("li")||(o=o.closest("li")),r=a.slideCount%a.options.slidesToScroll!=0?0:(a.slideCount-a.currentSlide)%a.options.slidesToScroll,t.data.message){case"previous":i=0===r?a.options.slidesToScroll:a.options.slidesToShow-r,a.slideCount>a.options.slidesToShow&&a.slideHandler(a.currentSlide-i,!1,n);break;case"next":i=0===r?a.options.slidesToScroll:r,a.slideCount>a.options.slidesToShow&&a.slideHandler(a.currentSlide+i,!1,n);break;case"index":var u=0===t.data.index?0:t.data.index||o.index()*a.options.slidesToScroll;a.slideHandler(a.checkNavigable(u),!1,n),o.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,n;if(n=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var r in t){if(e<t[r]){e=n;break}n=t[r]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.
2slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>0&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var n=this;n.autoPlayClear(),n.touchObject={},n.cleanUpEvents(),e(".slick-cloned",n.$slider).detach(),n.$dots&&n.$dots.remove(),n.$prevArrow&&n.$prevArrow.length&&(n.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.remove()),n.$nextArrow&&n.$nextArrow.length&&(n.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.remove()),n.$slides&&(n.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){e(this).attr("style",e(this).data("originalStyling"))})),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.detach(),n.$list.detach(),n.$slider.append(n.$slides)),n.cleanUpRows(),n.$slider.removeClass("slick-slider"),n.$slider.removeClass("slick-initialized"),n.$slider.removeClass("slick-dotted"),n.unslicked=!0,t||n.$slider.trigger("destroy",[n])},t.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.fadeSlide=function(e,t){var n=this;!1===n.cssTransitions?(n.$slides.eq(e).css({zIndex:n.options.zIndex}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex}),t&&setTimeout((function(){n.disableTransition(e),t.call()}),n.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(n){n.stopImmediatePropagation();var r=e(this);setTimeout((function(){t.options.pauseOnFocus&&(t.focussed=r.is(":focus"),t.autoPlay())}),0)}))},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,n=0,r=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++r;else for(;t<e.slideCount;)++r,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)r=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++r,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else r=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return r-1},t.prototype.getLeft=function(e){var t,n,r,i,a=this,o=0;return a.slideOffset=0,n=a.$slides.first().outerHeight(!0),!0===a.options.infinite?(a.slideCount>a.options.slidesToShow&&(a.slideOffset=a.slideWidth*a.options.slidesToShow*-1,i=-1,!0===a.options.vertical&&!0===a.options.centerMode&&(2===a.options.slidesToShow?i=-1.5:1===a.options.slidesToShow&&(i=-2)),o=n*a.options.slidesToShow*i),a.slideCount%a.options.slidesToScroll!=0&&e+a.options.slidesToScroll>a.slideCount&&a.slideCount>a.options.slidesToShow&&(e>a.slideCount?(a.slideOffset=(a.options.slidesToShow-(e-a.slideCount))*a.slideWidth*-1,o=(a.options.slidesToShow-(e-a.slideCount))*n*-1):(a.slideOffset=a.slideCount%a.options.slidesToScroll*a.slideWidth*-1,o=a.slideCount%a.options.slidesToScroll*n*-1))):e+a.options.slidesToShow>a.slideCount&&(a.slideOffset=(e+a.options.slidesToShow-a.slideCount)*a.slideWidth,o=(e+a.options.slidesToShow-a.slideCount)*n),a.slideCount<=a.options.slidesToShow&&(a.slideOffset=0,o=0),!0===a.options.centerMode&&a.slideCount<=a.options.slidesToShow?a.slideOffset=a.slideWidth*Math.floor(a.options.slidesToShow)/2-a.slideWidth*a.slideCount/2:!0===a.options.centerMode&&!0===a.options.infinite?a.slideOffset+=a.slideWidth*Math.floor(a.options.slidesToShow/2)-a.slideWidth:!0===a.options.centerMode&&(a.slideOffset=0,a.slideOffset+=a.slideWidth*Math.floor(a.options.slidesToShow/2)),t=!1===a.options.vertical?e*a.slideWidth*-1+a.slideOffset:e*n*-1+o,!0===a.options.variableWidth&&(r=a.slideCount<=a.options.slidesToShow||!1===a.options.infinite?a.$slideTrack.children(".slick-slide").eq(e):a.$slideTrack.children(".slick-slide").eq(e+a.options.slidesToShow),t=!0===a.options.rtl?r[0]?-1*(a.$slideTrack.width()-r[0].offsetLeft-r.width()):0:r[0]?-1*r[0].offsetLeft:0,!0===a.options.centerMode&&(r=a.slideCount<=a.options.slidesToShow||!1===a.options.infinite?a.$slideTrack.children(".slick-slide").eq(e):a.$slideTrack.children(".slick-slide").eq(e+a.options.slidesToShow+1),t=!0===a.options.rtl?r[0]?-1*(a.$slideTrack.width()-r[0].offsetLeft-r.width()):0:r[0]?-1*r[0].offsetLeft:0,t+=(a.$list.width()-r.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,n=0,r=0,i=[];for(!1===t.options.infinite?e=t.slideCount:(n=-1*t.options.slidesToScroll,r=-1*t.options.slidesToScroll,e=2*t.slideCount);n<e;)i.push(n),n=r+t.options.slidesToScroll,r+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return i},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,n,r=this;return n=!0===r.options.centerMode?r.slideWidth*Math.floor(r.options.slidesToShow/2):0,!0===r.options.swipeToSlide?(r.$slideTrack.find(".slick-slide").each((function(i,a){if(a.offsetLeft-n+e(a).outerWidth()/2>-1*r.swipeLeft)return t=a,!1})),Math.abs(e(t).attr("data-slick-index")-r.currentSlide)||1):r.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
2parseInt(e)}},t)},t.prototype.init=function(t){var n=this;e(n.$slider).hasClass("slick-initialized")||(e(n.$slider).addClass("slick-initialized"),n.buildRows(),n.buildOut(),n.setProps(),n.startLoad(),n.loadSlider(),n.initializeEvents(),n.updateArrows(),n.updateDots(),n.checkResponsive(!0),n.focusHandler()),t&&n.$slider.trigger("init",[n]),!0===n.options.accessibility&&n.initADA(),n.options.autoplay&&(n.paused=!1,n.autoPlay())},t.prototype.initADA=function(){var t=this,n=Math.ceil(t.slideCount/t.options.slidesToShow),r=t.getNavigableIndexes().filter((function(e){return e>=0&&e<t.slideCount}));t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each((function(n){var i=r.indexOf(n);if(e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+n,tabindex:-1}),-1!==i){var a="slick-slide-control"+t.instanceUid+i;e("#"+a).length&&e(this).attr({"aria-describedby":a})}})),t.$dots.attr("role","tablist").find("li").each((function(i){var a=r[i];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+i,"aria-controls":"slick-slide"+t.instanceUid+a,"aria-label":i+1+" of "+n,"aria-selected":null,tabindex:"-1"})})).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var i=t.currentSlide,a=i+t.options.slidesToShow;i<a;i++)t.options.focusOnChange?t.$slides.eq(i).attr({tabindex:"0"}):t.$slides.eq(i).removeAttr("tabindex");t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"}
2,t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},t.prototype.lazyLoad=function(){var t,n,r,i=this;function a(t){e("img[data-lazy]",t).each((function(){var t=e(this),n=e(this).attr("data-lazy"),r=e(this).attr("data-srcset"),a=e(this).attr("data-sizes")||i.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){t.animate({opacity:0}
2,100,(function(){r&&(t.attr("srcset",r),a&&t.attr("sizes",a)),t.attr("src",n).animate({opacity:1},200,(function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),i.$slider.trigger("lazyLoaded",[i,t,n])}))},o.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,t,n])},o.src=n}))}if(!0===i.options.centerMode?!0===i.options.infinite?r=(n=i.currentSlide+(i.options.slidesToShow/2+1))+i.options.slidesToShow+2:(n=Math.max(0,i.currentSlide-(i.options.slidesToShow/2+1)),r=i.options.slidesToShow/2+1+2+i.currentSlide):(n=i.options.infinite?i.options.slidesToShow+i.currentSlide:i.currentSlide,r=Math.ceil(n+i.options.slidesToShow),!0===i.options.fade&&(n>0&&n--,r<=i.slideCount&&r++)),t=i.$slider.find(".slick-slide").slice(n,r),"anticipated"===i.options.lazyLoad)for(var o=n-1,u=r,s=i.$slider.find(".slick-slide"),l=0;l<i.options.slidesToScroll;l++)o<0&&(o=i.slideCount-1),t=(t=t.add(s.eq(o))).add(s.eq(u)),o--,u++;a(t),i.slideCount<=i.options.slidesToShow?a(i.$slider.find(".slick-slide")):i.currentSlide>=i.slideCount-i.options.slidesToShow?a(i.$slider.find(".slick-cloned").slice(0,i.options.slidesToShow)):0===i.currentSlide&&a(i.$slider.find(".slick-cloned").slice(-1*i.options.slidesToShow))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){var e=this;e.checkResponsive(),e.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){var e=this;e.autoPlayClear(),e.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(t){var n=this;n.unslicked||(n.$slider.trigger("afterChange",[n,t]),n.animating=!1,n.slideCount>n.options.slidesToShow&&n.setPosition(),n.swipeLeft=null,n.options.autoplay&&n.autoPlay(),!0===n.options.accessibility&&(n.initADA(),n.options.focusOnChange&&e(n.$slides.get(n.currentSlide)).attr("tabindex",0).focus()))},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var n,r,i,a,o,u=this,s=e("img[data-lazy]",u.$slider);s.length?(n=s.first(),r=n.attr("data-lazy"),i=n.attr("data-srcset"),a=n.attr("data-sizes")||u.$slider.attr("data-sizes"),(o=document.createElement("img")).onload=function(){i&&(n.attr("srcset",i),a&&n.attr("sizes",a)),n.attr("src",r).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===u.options.adaptiveHeight&&u.setPosition(),u.$slider.trigger("lazyLoaded",[u,n,r]),u.progressiveLazyLoad()},o.onerror=function(){t<3?setTimeout((function(){u.progressiveLazyLoad(t+1)}),500):(n.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),u.$slider.trigger("lazyLoadError",[u,n,r]),u.progressiveLazyLoad())},o.src=r):u.$slider.trigger("allImagesLoaded",[u])},t.prototype.refresh=function(t){var n,r,i=this;r=i.slideCount-i.options.slidesToShow,!i.options.infinite&&i.currentSlide>r&&(i.currentSlide=r),i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0),n=i.currentSlide,i.destroy(!0),e.extend(i,i.initials,{currentSlide:n}),i.init(),t||i.changeSlide({data:{message:"index",index:n}},!1)},t.prototype.registerBreakpoints=function(){var t,n,r,i=this,a=i.options.responsive||null;if("array"===e.type(a)&&a.length){for(t in i.respondTo=i.options.respondTo||"window",a)if(r=i.breakpoints.length-1,a.hasOwnProperty(t)){for(n=a[t].breakpoint;r>=0;)i.breakpoints[r]&&i.breakpoints[r]===n&&i.breakpoints.splice(r,1),r--;i.breakpoints.push(n),i.breakpointSettings[n]=a[t].settings}i.breakpoints.sort((function(e,t){return i.options.mobileFirst?e-t:t-e}))}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.o
2ptions.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout((function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()}),50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,n){var r=this;if(e="boolean"==typeof e?!0===(t=e)?0:r.slideCount-1:!0===t?--e:e,r.slideCount<1||e<0||e>r.slideCount-1)return!1;r.unload(),!0===n?r.$slideTrack.children().remove():r.$slideTrack.children(this.options.slide).eq(e).remove(),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),r.$slidesCache=r.$slides,r.reinit()},t.prototype.setCSS=function(e){var t,n,r=this,i={};!0===r.options.rtl&&(e=-e),t="left"==r.positionProp?Math.ceil(e)+"px":"0px",n="top"==r.positionProp?Math.ceil(e)+"px":"0px",i[r.positionProp]=e,!1===r.transformsEnabled?r.$slideTrack.css(i):(i={},!1===r.cssTransitions?(i[r.animType]="translate("+t+", "+n+")",r.$slideTrack.css(i)):(i[r.animType]="translate3d("+t+", "+n+", 0px)",r.$slideTrack.css(i)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,n=this;n.$slides.each((function(r,i){t=n.slideWidth*r*-1,!0===n.options.rtl?e(i).css({position:"relative",right:t,top:0,zIndex:n.options.zIndex-2,opacity:0}
2):e(i).css({position:"relative",left:t,top:0,zIndex:n.options.zIndex-2,opacity:0})})),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,n,r,i,a,o=this,u=!1;if("object"===e.type(arguments[0])?(r=arguments[0],u=arguments[1],a="multiple"):"string"===e.type(arguments[0])&&(r=arguments[0],i=arguments[1],u=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?a="responsive":void 0!==arguments[1]&&(a="single")),"single"===a)o.options[r]=i;else if("multiple"===a)e.each(r,(function(e,t){o.options[e]=t}));else if("responsive"===a)for(n in i)if("array"!==e.type(o.options.responsive))o.options.responsive=[i[n]];else{for(t=o.options.responsive.length-1;t>=0;)o.options.responsive[t].breakpoint===i[n].breakpoint&&o.options.responsive.splice(t,1),t--;o.options.responsive.push(i[n])}u&&(o.unload(),o.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,n,r,i,a=this;if(n=a.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),a.$slides.eq(e).addClass("slick-current"),!0===a.options.centerMode){var o=a.options.slidesToShow%2==0?1:0;t=Math.floor(a.options.slidesToShow/2),!0===a.options.infinite&&(e>=t&&e<=a.slideCount-1-t?a.$slides.slice(e-t+o,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(r=a.options.slidesToShow+e,n.slice(r-t+1+o,r+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?n.eq(n.length-1-a.options.slidesToShow).addClass("slick-center"):e===a.slideCount-1&&n.eq(a.options.slidesToShow).addClass("slick-center")),a.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=a.slideCount-a.options.slidesToShow?a.$slides.slice(e,e+a.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=a.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(i=a.slideCount%a.options.slidesToShow,r=!0===a.options.infinite?a.options.slidesToShow+e:e,a.options.slidesToShow==a.options.slidesToScroll&&a.slideCount-e<a.options.slidesToShow?n.slice(r-(a.options.slidesToShow-i),r+i).addClass("slick-active").attr("aria-hidden","false"):n.slice(r,r+a.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==a.options.lazyLoad&&"anticipated"!==a.options.lazyLoad||a.lazyLoad()},t.prototype.setupInfinite=function(){var t,n,r,i=this;if(!0===i.options.fade&&(i.options.centerMode=!1),!0===i.options.infinite&&!1===i.options.fade&&(n=null,i.slideCount>i.options.slidesToShow)){for(r=!0===i.options.centerMode?i.options.slidesToShow+1:i.options.slidesToShow,t=i.slideCount;t>i.slideCount-r;t-=1)n=t-1,e(i.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-i.slideCount).prependTo(i.$slideTrack).addClass("slick-cloned");for(t=0;t<r+i.slideCount;t+=1)n=t,e(i.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n+i.slideCount).appendTo(i.$slideTrack).addClass("slick-cloned");i.$slideTrack.find(".slick-cloned").find("[id]").each((function(){e(this).attr("id","")}))}},t.prototype.interrupt=function(e){var t=this;e||t.autoPlay(),t.interrupted=e},t.prototype.selectHandler=function(t){var n=this,r=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),i=parseInt(r.attr("data-slick-index"));i||(i=0),n.slideCount<=n.options.slidesToShow?n.slideHandler(i,!1,!0):n.slideHandler(i)},t.prototype.slideHandler=function(e,t,n){var r,i,a,o,u,s=null,l=this;if(t=t||!1,!(!0===l.animating&&!0===l.options.waitForAnimate||!0===l.options.fade&&l.currentSlide===e))if(!1===t&&l.asNavFor(e),r=e,s=l.getLeft(r),o=l.getLeft(l.currentSlide),l.currentLeft=null===l.swipeLeft?o:l.swipeLeft,!1===l.options.infinite&&!1===l.options.centerMode&&(e<0||e>l.getDotCount()*l.options.slidesToScroll))!1===l.options.fade&&(r=l.currentSlide,!0!==n&&l.slideCount>l.options.slidesToShow?l.animateSlide(o,(function(){l.postSlide(r)})):l.postSlide(r));else if(!1===l.options.infinite&&!0===l.options.centerMode&&(e<0||e>l.slideCount-l.options.slidesToScroll))!1===l.options.fade&&(r=l.currentSlide,!0!==n&&l.slideCount>l.options.slidesToShow?l.animateSlide(o,(function(){l.postSlide(r)})):l.postSlide(r));else{if(l.options.autoplay&&clearInterval(l.autoPlayTimer),i=r<0?l.slideCount%l.options.slidesToScroll!=0?l.slideCount-l.slideCount%l.options.slidesToScroll:l.slideCount+r:r>=l.slideCount?l.slideCount%l.options.slidesToScroll!=0?0:r-l.slideCount:r,l.animating=!0,l.$slider.trigger("beforeChange",[l,l.currentSlide,i]),a=l.currentSlide,l.currentSlide=i,l.setSlideClasses(l.currentSlide),l.options.asNavFor&&(u=(u=l.getNavTarget()).slick("getSlick")).slideCount<=u.options.slidesToShow&&u.setSlideClasses(l.currentSlide),l.updateDots(),l.updateArrows(),!0===l.options.fade)return!0!==n?(l.fadeSlideOut(a),l.fadeSlide(i,(function(){l.postSlide(i)}))):l.postSlide(i),void l.animateHeight();!0!==n&&l.slideCount>l.options.slidesToShow?l.animateSlide(s,(function(){l.postSlide(i)})):l.postSlide(i)}},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,n,r,i=this;return e=i.touchObject.startX-i.touchObject.curX,t=i.touchObject.startY-i.touchObject.curY,n=Math.atan2(t,e),(r=Math.round(180*n/Math.PI))<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315?!1===i.options.rtl?"left":"right":r>=135&&r<=225?!1===i.options.rtl?"right":"left":!0===i.options.verticalSwiping?r>=35&&r<=135?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,n,r=this;if(r.dragging=!1,r.swiping=!1,r.scrolling)return r.scrolling=!1,!1;if(r.interrupted=!1,r.shouldClick=!(r.touchObject.swipeLength>10),void 0===r.touchObject.curX)return!1;if(!0===r.touchObject.edgeHit&&r.$slider.trigger("edge",[r,r.swipeDirection()]),r.touchObject.swipeLength>=r.touchObject.minSwipe){switch(n=r.swipeDirection()){case"left":case"down":t=r.options.swipeToSlide?r.checkNavigable(r.currentSlide+r.getSlideCount()):r.currentSlide+r.getSlideCount(),r.currentDirection=0;break;case"right":case"up":t=r.options.swipeToSlide?r.checkNavigable(r.currentSlide-r.getSlideCount()):r.currentSlide-r.getSlideCount(),r.currentDirection=1}"vertical"!=n&&(r.slideHandler(t),r.touchObject={},r.$slider.trigger("swipe",[r,n]))}else r.touchObject.startX!==r.touchObject.curX&&(r.slideHandler(r.currentSlide),r.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mou
2se")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,n,r,i,a,o,u=this;return a=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!u.dragging||u.scrolling||a&&1!==a.length)&&(t=u.getLeft(u.currentSlide),u.touchObject.curX=void 0!==a?a[0].pageX:e.clientX,u.touchObject.curY=void 0!==a?a[0].pageY:e.clientY,u.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(u.touchObject.curX-u.touchObject.startX,2))),o=Math.round(Math.sqrt(Math.pow(u.touchObject.curY-u.touchObject.startY,2))),!u.options.verticalSwiping&&!u.swiping&&o>4?(u.scrolling=!0,!1):(!0===u.options.verticalSwiping&&(u.touchObject.swipeLength=o),n=u.swipeDirection(),void 0!==e.originalEvent&&u.touchObject.swipeLength>4&&(u.swiping=!0,e.preventDefault()),i=(!1===u.options.rtl?1:-1)*(u.touchObject.curX>u.touchObject.startX?1:-1),!0===u.options.verticalSwiping&&(i=u.touchObject.curY>u.touchObject.startY?1:-1),r=u.touchObject.swipeLength,u.touchObject.edgeHit=!1,!1===u.options.infinite&&(0===u.currentSlide&&"right"===n||u.currentSlide>=u.getDotCount()&&"left"===n)&&(r=u.touchObject.swipeLength*u.options.edgeFriction,u.touchObject.edgeHit=!0),!1===u.options.vertical?u.swipeLeft=t+r*i:u.swipeLeft=t+r*(u.$list.height()/u.listWidth)*i,!0===u.options.verticalSwiping&&(u.swipeLeft=t+r*i),!0!==u.options.fade&&!1!==u.options.touchMove&&(!0===u.animating?(u.swipeLeft=null,!1):void u.setCSS(u.swipeLeft))))},t.prototype.swipeStart=function(e){var t,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return n.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==t?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==t?t.pageY:e.clientY,n.dragging=!0},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,n,r=this,i=arguments[0],a=Array.prototype.slice.call(arguments,1),o=r.length;for(e=0;e<o;e++)if("object"==typeof i||void 0===i?r[e].slick=new t(r[e],i):n=r[e].slick[i].apply(r[e].slick,a),void 0!==n)return n;return r}},void 0===(a="function"==typeof r?r.apply(t,i):r)||(e.exports=a)}()},8168:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:function(){return r}})},9437:function(e,t,n){"use strict";n.r(t),n.d(t,{ACESFilmicToneMapping:function(){return ie},AddEquation:function(){return C},AddOperation:function(){return Z},AdditiveAnimationBlendMode:function(){return Vt},AdditiveBlending:function(){return v},AgXToneMapping:function(){return oe},AlphaFormat:function(){return Ve},AlwaysCompare:function(){return Bn},AlwaysDepth:function(){return G},AlwaysStencilFunc:function(){return yn},AmbientLight:function(){return _p},AnimationAction:function(){return uf},AnimationClip:function(){return Vd},AnimationLoader:function(){return Yd},AnimationMixer:function(){return lf},AnimationObjectGroup:function(){return of},AnimationUtils:function(){return Bd},ArcCurve:function(){return Xc},ArrayCamera:function(){return js},ArrowHelper:function(){return tm},AttachedBindMode:function(){return se},Audio:function(){return Gp},AudioAnalyser:function(){return Yp},AudioContext:function(){return Tp},AudioListener:function(){return Hp},AudioLoader:function(){return Pp},AxesHelper:function(){return nm},BackSide:function(){return m},BasicDepthPacking:function(){return jt},BasicShadowMap:function(){return c},BatchedMesh:function(){return gc},Bone:function(){return Ol},BooleanKeyframeTrack:function(){return Id},Box2:function(){return Af},Box3:function(){return Nr},Box3Helper:function(){return Yf},BoxGeometry:function(){return Xa},BoxHelper:function(){return Jf},BufferAttribute:function(){return la},BufferGeometry:function(){return Sa},BufferGeometryLoader:function(){return Fp},ByteType:function(){return Me},Cache:function(){return Hd},Camera:function(){return Qa},CameraHelper:function(){return Xf},CanvasTexture:function(){return Hc},CapsuleGeometry:function(){return ph},CatmullRomCurve3:function(){return Qc},CineonToneMapping:function(){return re},CircleGeometry:function(){return fh},ClampToEdgeWrapping:function(){return _e},Clock:function(){return Op},Color:function(){return $i},ColorKeyframeTrack:function(){return Nd},ColorManagement:function(){return fr},CompressedArrayTexture:function(){return Vc},CompressedCubeTexture:function(){return Wc},CompressedTexture:function(){return zc},CompressedTextureLoader:function(){return $d},ConeGeometry:function(){return gh},ConstantAlphaFactor:function(){return V},ConstantColorFactor:function(){return U},CubeCamera:function(){return io},CubeReflectionMapping:function(){return he},CubeRefractionMapping:function(){return de},CubeTexture:function(){return ao},CubeTextureLoader:function(){return Zd},CubeUVReflectionMapping:function(){return me},CubicBezierCurve:function(){return nh}
2,CubicBezierCurve3:function(){return rh},CubicInterpolant:function(){return Md},CullFaceBack:function(){return u},CullFaceFront:function(){return s},CullFaceFrontBack:function(){return l},CullFaceNone:function(){return o},Curve:function(){return Gc},CurvePath:function(){return ch},CustomBlending:function(){return A},CustomToneMapping:function(){return ae},CylinderGeometry:function(){return mh},Cylindrical:function(){return yf},Data3DTexture:function(){return wr},DataArrayTexture:function(){return xr},DataTexture:function(){return kl},DataTextureLoader:function(){return ep},DataUtils:function(){return oa},DecrementStencilOp:function(){return ln},DecrementWrapStencilOp:function(){return hn},DefaultLoadingManager:function(){return jd},DepthFormat:function(){return Xe},DepthStencilFormat:function(){return Ke},DepthTexture:function(){return tu},DetachedBindMode:function(){return le},DirectionalLight:function(){return gp},DirectionalLightHelper:function(){return Hf},DiscreteInterpolant:function(){return Pd},DisplayP3ColorSpace:function(){return Qt},DodecahedronGeometry:function(){return Dh},DoubleSide:function(){return g},DstAlphaFactor:function(){return I},DstColorFactor:function(){return L},DynamicCopyUsage:function(){return Ln},DynamicDrawUsage:function(){return Mn},DynamicReadUsage:function(){return Rn},EdgesGeometry:function(){return Ch},EllipseCurve:function(){return jc},EqualCompare:function(){return Cn},EqualDepth:function(){return K},EqualStencilFunc:function(){return mn},EquirectangularReflectionMapping:function(){return pe},EquirectangularRefractionMapping:function(){return fe},Euler:function(){return Di},EventDispatcher:function(){return Wn},ExtrudeGeometry:function(){return Zh},FileLoader:function(){return Jd},Float16BufferAttribute:function(){return _a},Float32BufferAttribute:function(){return Da},FloatType:function(){return Ne},Fog:function(){return rl},FogExp2:function(){return nl},FramebufferTexture:function(){return Uc},FrontSide:function(){return f},Frustum:function(){return fo},GLBufferAttribute:function(){return ff},GLSL1:function(){return kn},GLSL3:function(){return Un},GreaterCompare:function(){return bn},GreaterDepth:function(){return J},GreaterEqualCompare:function(){return xn},GreaterEqualDepth:function(){return q},GreaterEqualStencilFunc:function(){return vn},GreaterStencilFunc:function(){return _n},GridHelper:function(){return kf},Group:function(){return Xs},HalfFloatType:function(){return Le},HemisphereLight:function(){return rp},HemisphereLightHelper:function(){return Of},IcosahedronGeometry:function(){return td},ImageBitmapLoader:function(){return wp},ImageLoader:function(){return Qd},ImageUtils:function(){return Dr},IncrementStencilOp:function(){return sn},IncrementWrapStencilOp:function(){return cn},InstancedBufferAttribute:function(){return Wl},InstancedBufferGeometry:function(){return Cp},InstancedInterleavedBuffer:function(){return pf},InstancedMesh:function(){return Yl},Int16BufferAttribute:function(){return pa},Int32BufferAttribute:function(){return ma},Int8BufferAttribute:function(){return ca},IntType:function(){return Re},InterleavedBuffer:function(){return al},InterleavedBufferAttribute:function(){return ul},Interpolant:function(){return wd},InterpolateDiscrete:function(){return It},InterpolateLinear:function(){return Nt},InterpolateSmooth:function(){return Lt},InvertStencilOp:function(){return dn},KeepStencilOp:function(){return on},KeyframeTrack:function(){return Rd},LOD:function(){return Sl},LatheGeometry:function(){return dh},Layers:function(){return vi},LessCompare:function(){return An},LessDepth:function(){return j},LessEqualCompare:function(){return Fn},LessEqualDepth:function(){return X},LessEqualStencilFunc:function(){return gn},LessStencilFunc:function(){return fn},Light:function(){return np},LightProbe:function(){return yp},Line:function(){return bc},Line3:function(){return bf},LineBasicMaterial:function(){return _c},LineCurve:function(){return ih},LineCurve3:function(){return ah},LineDashedMaterial:function(){return Ad},LineLoop:function(){return Mc},LineSegments:function(){return wc},LinearDisplayP3ColorSpace:function(){return Zt},LinearFilter:function(){return Fe},LinearInterpolant:function(){return Td},LinearMipMapLinearFilter:function(){return Be},LinearMipMapNearestFilter:function(){return Se},LinearMipmapLinearFilter:function(){return xe},LinearMipmapNearestFilter:function(){return be},LinearSRGBColorSpace:function(){return $t},LinearToneMapping:function(){return te},LinearTransfer:function(){return en},Loader:function(){return Xd},LoaderUtils:function(){return Ap},LoadingManager:function(){return Gd},LoopOnce:function(){return Tt},LoopPingPong:function(){return Rt},LoopRepeat:function(){return Pt},LuminanceAlphaFormat:function(){return je},LuminanceFormat:function(){return Ge},MOUSE:function(){return i},Material:function(){return ea},MaterialLoader:function(){return Ep},MathUtils:function(){return Zn},Matrix3:function(){return tr},Matrix4:function(){return si}
2,MaxEquation:function(){return x},Mesh:function(){return Ga},MeshBasicMaterial:function(){return ta},MeshDepthMaterial:function(){return Us},MeshDistanceMaterial:function(){return zs},MeshLambertMaterial:function(){return yd},MeshMatcapMaterial:function(){return Ed},MeshNormalMaterial:function(){return vd},MeshPhongMaterial:function(){return _d},MeshPhysicalMaterial:function(){return gd},MeshStandardMaterial:function(){return md},MeshToonMaterial:function(){return Dd},MinEquation:function(){return S},MirroredRepeatWrapping:function(){return De},MixOperation:function(){return Q},MultiplyBlending:function(){return E},MultiplyOperation:function(){return $},NearestFilter:function(){return ve},NearestMipMapLinearFilter:function(){return Ce},NearestMipMapNearestFilter:function(){return Ee},NearestMipmapLinearFilter:function(){return Ae},NearestMipmapNearestFilter:function(){return ye},NeutralToneMapping:function(){return ue},NeverCompare:function(){return En},NeverDepth:function(){return H},NeverStencilFunc:function(){return pn},NoBlending:function(){return _},NoColorSpace:function(){return Jt},NoToneMapping:function(){return ee},NormalAnimationBlendMode:function(){return zt},NormalBlending:function(){return D},NotEqualCompare:function(){return Sn},NotEqualDepth:function(){return Y},NotEqualStencilFunc:function(){return Dn},NumberKeyframeTrack:function(){return Ld},Object3D:function(){return Ni},ObjectLoader:function(){return bp},ObjectSpaceNormalMap:function(){return qt},OctahedronGeometry:function(){return nd},OneFactor:function(){return w},OneMinusConstantAlphaFactor:function(){return W},OneMinusConstantColorFactor:function(){return z},OneMinusDstAlphaFactor:function(){return N},OneMinusDstColorFactor:function(){return O},OneMinusSrcAlphaFactor:function(){return R},OneMinusSrcColorFactor:function(){return T},OrthographicCamera:function(){return Mo},P3Primaries:function(){return rn},PCFShadowMap:function(){return h},PCFSoftShadowMap:function(){return d},PMREMGenerator:function(){return Wo},Path:function(){return hh},PerspectiveCamera:function(){return no},Plane:function(){return co},PlaneGeometry:function(){return _o},PlaneHelper:function(){return $f},PointLight:function(){return fp},PointLightHelper:function(){return Rf},Points:function(){return Lc},PointsMaterial:function(){return Tc},PolarGridHelper:function(){return Uf},PolyhedronGeometry:function(){return _h},PositionalAudio:function(){return Jp},PropertyBinding:function(){return af},PropertyMixer:function(){return $p},QuadraticBezierCurve:function(){return oh},QuadraticBezierCurve3:function(){return uh},Quaternion:function(){return Tr},QuaternionKeyframeTrack:function(){return kd},QuaternionLinearInterpolant:function(){return Od},RED_GREEN_RGTC2_Format:function(){return wt},RED_RGTC1_Format:function(){return xt},REVISION:function(){return r},RGBADepthPacking:function(){return Xt},RGBAFormat:function(){return He},RGBAIntegerFormat:function(){return Qe},RGBA_ASTC_10x10_Format:function(){return Et},RGBA_ASTC_10x5_Format:function(){return Dt},RGBA_ASTC_10x6_Format:function(){return vt},RGBA_ASTC_10x8_Format:function(){return yt},RGBA_ASTC_12x10_Format:function(){return At},RGBA_ASTC_12x12_Format:function(){return Ct},RGBA_ASTC_4x4_Format:function(){return ct},RGBA_ASTC_5x4_Format:function(){return ht},RGBA_ASTC_5x5_Format:function(){return dt},RGBA_ASTC_6x5_Format:function(){return pt},RGBA_ASTC_6x6_Format:function(){return ft},RGBA_ASTC_8x5_Format:function(){return mt},RGBA_ASTC_8x6_Format:function(){return gt},RGBA_ASTC_8x8_Format:function(){return _t},RGBA_BPTC_Format:function(){return Ft},RGBA_ETC2_EAC_Format:function(){return lt},RGBA_PVRTC_2BPPV1_Format:function(){return ot},RGBA_PVRTC_4BPPV1_Format:function(){return at},RGBA_S3TC_DXT1_Format:function(){return et},RGBA_S3TC_DXT3_Format:function(){return tt},RGBA_S3TC_DXT5_Format:function(){return nt},RGBFormat:function(){return We},RGB_BPTC_SIGNED_Format:function(){return bt},RGB_BPTC_UNSIGNED_Format:function(){return St},RGB_ETC1_Format:function(){return ut},RGB_ETC2_Format:function(){return st},RGB_PVRTC_2BPPV1_Format:function(){return it},RGB_PVRTC_4BPPV1_Format:function(){return rt},RGB_S3TC_DXT1_Format:function(){return Ze},RGFormat:function(){return Ye},RGIntegerFormat:function(){return $e},RawShaderMaterial:function(){return fd},Ray:function(){return ui},Raycaster:function(){return gf},Rec709Primaries:function(){return nn},RectAreaLight:function(){return Dp},RedFormat:function(){return qe},RedIntegerFormat:function(){return Je},ReinhardToneMapping:function(){return ne},RenderTarget:function(){return br},RepeatWrapping:function(){return ge},ReplaceStencilOp:function(){return un},ReverseSubtractEquation:function(){return b},RingGeometry:function(){return rd},SIGNED_RED_GREEN_RGTC2_Format:function(){return Mt}
2,SIGNED_RED_RGTC1_Format:function(){return Bt},SRGBColorSpace:function(){return Yt},SRGBTransfer:function(){return tn},Scene:function(){return il},ShaderChunk:function(){return Do},ShaderLib:function(){return yo},ShaderMaterial:function(){return $a},ShadowMaterial:function(){return pd},Shape:function(){return Fh},ShapeGeometry:function(){return id},ShapePath:function(){return rm},ShapeUtils:function(){return Yh},ShortType:function(){return Te},Skeleton:function(){return Vl},SkeletonHelper:function(){return Tf},SkinnedMesh:function(){return Ll},Source:function(){return yr},Sphere:function(){return Zr},SphereGeometry:function(){return ad},Spherical:function(){return vf},SphericalHarmonics3:function(){return vp},SplineCurve:function(){return sh},SpotLight:function(){return lp},SpotLightHelper:function(){return xf},Sprite:function(){return Al},SpriteMaterial:function(){return sl},SrcAlphaFactor:function(){return P},SrcAlphaSaturateFactor:function(){return k},SrcColorFactor:function(){return M},StaticCopyUsage:function(){return Nn},StaticDrawUsage:function(){return wn},StaticReadUsage:function(){return Pn},StereoCamera:function(){return Lp},StreamCopyUsage:function(){return On},StreamDrawUsage:function(){return Tn},StreamReadUsage:function(){return In},StringKeyframeTrack:function(){return Ud},SubtractEquation:function(){return F},SubtractiveBlending:function(){return y},TOUCH:function(){return a},TangentSpaceNormalMap:function(){return Kt},TetrahedronGeometry:function(){return od},Texture:function(){return Cr},TextureLoader:function(){return tp},TorusGeometry:function(){return ud},TorusKnotGeometry:function(){return sd},Triangle:function(){return Xi},TriangleFanDrawMode:function(){return Gt},TriangleStripDrawMode:function(){return Ht},TrianglesDrawMode:function(){return Wt},TubeGeometry:function(){return ld},UVMapping:function(){return ce},Uint16BufferAttribute:function(){return fa},Uint32BufferAttribute:function(){return ga},Uint8BufferAttribute:function(){return ha},Uint8ClampedBufferAttribute:function(){return da},Uniform:function(){return cf},UniformsGroup:function(){return df},UniformsLib:function(){return vo},UniformsUtils:function(){return Ya},UnsignedByteType:function(){return we},UnsignedInt248Type:function(){return Ue},UnsignedInt5999Type:function(){return ze},UnsignedIntType:function(){return Ie},UnsignedShort4444Type:function(){return Oe},UnsignedShort5551Type:function(){return ke},UnsignedShortType:function(){return Pe},VSMShadowMap:function(){return p},Vector2:function(){return er},Vector3:function(){return Pr},Vector4:function(){return Fr},VectorKeyframeTrack:function(){return zd},VideoTexture:function(){return kc},WebGL3DRenderTarget:function(){return Mr},WebGLArrayRenderTarget:function(){return Br},WebGLCoordinateSystem:function(){return zn},WebGLCubeRenderTarget:function(){return oo},WebGLMultipleRenderTargets:function(){return im},WebGLRenderTarget:function(){return Sr},WebGLRenderer:function(){return tl},WebGLUtils:function(){return Gs},WebGPUCoordinateSystem:function(){return Vn},WireframeGeometry:function(){return cd},WrapAroundEnding:function(){return Ut},ZeroCurvatureEnding:function(){return Ot},ZeroFactor:function(){return B},ZeroSlopeEnding:function(){return kt},ZeroStencilOp:function(){return an},createCanvasElement:function(){return ur}});const r="165",i={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},a={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},o=0,u=1,s=2,l=3,c=0,h=1,d=2,p=3,f=0,m=1,g=2,_=0,D=1,v=2,y=3,E=4,A=5,C=100,F=101,b=102,S=103,x=104,B=200,w=201,M=202,T=203,P=204,R=205,I=206,N=207,L=208,O=209,k=210,U=211,z=212,V=213,W=214,H=0,G=1,j=2,X=3,K=4,q=5,J=6,Y=7,$=0,Q=1,Z=2,ee=0,te=1,ne=2,re=3,ie=4,ae=5,oe=6,ue=7,se="attached",le="detached",ce=300,he=301,de=302,pe=303,fe=304,me=306,ge=1e3,_e=1001,De=1002,ve=1003,ye=1004,Ee=1004,Ae=1005,Ce=1005,Fe=1006,be=1007,Se=1007,xe=1008,Be=1008,we=1009,Me=1010,Te=1011,Pe=1012,Re=1013,Ie=1014,Ne=1015,Le=1016,Oe=1017,ke=1018,Ue=1020,ze=35902,Ve=1021,We=1022,He=1023,Ge=1024,je=1025,Xe=1026,Ke=1027,qe=1028,Je=1029,Ye=1030,$e=1031,Qe=1033,Ze=33776,et=33777,tt=33778,nt=33779,rt=35840,it=35841,at=35842,ot=35843,ut=36196,st=37492,lt=37496,ct=37808,ht=37809,dt=37810,pt=37811,ft=37812,mt=37813,gt=37814,_t=37815,Dt=37816,vt=37817,yt=37818,Et=37819,At=37820,Ct=37821,Ft=36492,bt=36494,St=36495,xt=36283,Bt=36284,wt=36285,Mt=36286,Tt=2200,Pt=2201,Rt=2202,It=2300,Nt=2301,Lt=2302,Ot=2400,kt=2401,Ut=2402,zt=2500,Vt=2501,Wt=0,Ht=1,Gt=2,jt=3200,Xt=3201,Kt=0,qt=1,Jt="",Yt="srgb",$t="srgb-linear",Qt="display-p3",Zt="display-p3-linear",en="linear",tn="srgb",nn="rec709",rn="p3",an=0,on=7680,un=7681,sn=7682,ln=7683,cn=34055,hn=34056,dn=5386,pn=512,fn=513,mn=514,gn=515,_n=516,Dn=51
vendor: 9,425 bytes, line 2
27,vn=518,yn=519,En=512,An=513,Cn=514,Fn=515,bn=516,Sn=517,xn=518,Bn=519,wn=35044,Mn=35048,Tn=35040,Pn=35045,Rn=35049,In=35041,Nn=35046,Ln=35050,On=35042,kn="100",Un="300 es",zn=2e3,Vn=2001;class Wn{addEventListener(e,t){void 0===this._listeners&&(this._listeners={});const n=this._listeners;void 0===n[e]&&(n[e]=[]),-1===n[e].indexOf(t)&&n[e].push(t)}hasEventListener(e,t){if(void 0===this._listeners)return!1;const n=this._listeners;return void 0!==n[e]&&-1!==n[e].indexOf(t)}removeEventListener(e,t){if(void 0===this._listeners)return;const n=this._listeners[e];if(void 0!==n){const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}dispatchEvent(e){if(void 0===this._listeners)return;const t=this._listeners[e.type];if(void 0!==t){e.target=this;const n=t.slice(0);for(let t=0,r=n.length;t<r;t++)n[t].call(this,e);e.target=null}}}const Hn=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];let Gn=1234567;const jn=Math.PI/180,Xn=180/Math.PI;function Kn(){const e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,n=4294967295*Math.random()|0,r=4294967295*Math.random()|0;return(Hn[255&e]+Hn[e>>8&255]+Hn[e>>16&255]+Hn[e>>24&255]+"-"+Hn[255&t]+Hn[t>>8&255]+"-"+Hn[t>>16&15|64]+Hn[t>>24&255]+"-"+Hn[63&n|128]+Hn[n>>8&255]+"-"+Hn[n>>16&255]+Hn[n>>24&255]+Hn[255&r]+Hn[r>>8&255]+Hn[r>>16&255]+Hn[r>>24&255]).toLowerCase()}function qn(e,t,n){return Math.max(t,Math.min(n,e))}function Jn(e,t){return(e%t+t)%t}function Yn(e,t,n){return(1-n)*e+n*t}function $n(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return e/4294967295;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int32Array:return Math.max(e/2147483647,-1);case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw new Error("Invalid component type.")}}function Qn(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return Math.round(4294967295*e);case Uint16Array:return Math.round(65535*e);case Uint8Array:return Math.round(255*e);case Int32Array:return Math.round(2147483647*e);case Int16Array:return Math.round(32767*e);case Int8Array:return Math.round(127*e);default:throw new Error("Invalid component type.")}}const Zn={DEG2RAD:jn,RAD2DEG:Xn,generateUUID:Kn,clamp:qn,euclideanModulo:Jn,mapLinear:function(e,t,n,r,i){return r+(e-t)*(i-r)/(n-t)},inverseLerp:function(e,t,n){return e!==t?(n-e)/(t-e):0},lerp:Yn,damp:function(e,t,n,r){return Yn(e,t,1-Math.exp(-n*r))},pingpong:function(e,t=1){return t-Math.abs(Jn(e,2*t)-t)},smoothstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*(3-2*e)},smootherstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*e*(e*(6*e-15)+10)},randInt:function(e,t){return e+Math.floor(Math.random()*(t-e+1))},randFloat:function(e,t){return e+Math.random()*(t-e)},randFloatSpread:function(e){return e*(.5-Math.random())},seededRandom:function(e){void 0!==e&&(Gn=e);let t=Gn+=1831565813;return t=Math.imul(t^t>>>15,1|t),t^=t+Math.imul(t^t>>>7,61|t),((t^t>>>14)>>>0)/4294967296},degToRad:function(e){return e*jn},radToDeg:function(e){return e*Xn},isPowerOfTwo:function(e){return!(e&e-1)&&0!==e},ceilPowerOfTwo:function(e){return Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))},floorPowerOfTwo:function(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))},setQuaternionFromProperEuler:function(e,t,n,r,i){const a=Math.cos,o=Math.sin,u=a(n/2),s=o(n/2),l=a((t+r)/2),c=o((t+r)/2),h=a((t-r)/2),d=o((t-r)/2),p=a((r-t)/2),f=o((r-t)/2);switch(i){case"XYX":e.set(u*c,s*h,s*d,u*l);break;case"YZY":e.set(s*d,u*c,s*h,u*l);break;case"ZXZ":e.set(s*h,s*d,u*c,u*l);break;case"XZX":e.set(u*c,s*f,s*p,u*l);break;case"YXY":e.set(s*p,u*c,s*f,u*l);break;case"ZYZ":e.set(s*f,s*p,u*c,u*l);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+i)}},normalize:Qn,denormalize:$n};class er{constructor(e=0,t=0){er.prototype.isVector2=!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){return 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){return 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=Math.trunc(this.x),this.y=Math.trunc(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}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(0===t)return Math.PI/2;const n=this.dot(e)/t;return Math.acos(qn(n,-1,1))}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){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){const n=Math.cos(t),r=Math.sin(t),i=this.x-e.x,a=this.y-e.y;return this.x=i*n-a*r+e.x,this.y=i*r+a*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class tr{constructor(e,t,n,r,i,a,o,u,s){tr.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],void 0!==e&&this.set(e,t,n,r,i,a,o,u,s)}set(e,t,n,r,i,a,o,u,s){const l=this.elements;return l[0]=e,l[1]=r,l[2]=o,l[3]=t,l[4]=i,l[5]=u,l[6]=n,l[7]=a,l[8]=s,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,i=this.elements,a=n[0],o=n[3],u=n[6],s=n[1],l=n[4],c=n[7],h=n[2],d=n[5
vendor: 17,689 bytes, line 2
2],p=n[8],f=r[0],m=r[3],g=r[6],_=r[1],D=r[4],v=r[7],y=r[2],E=r[5],A=r[8];return i[0]=a*f+o*_+u*y,i[3]=a*m+o*D+u*E,i[6]=a*g+o*v+u*A,i[1]=s*f+l*_+c*y,i[4]=s*m+l*D+c*E,i[7]=s*g+l*v+c*A,i[2]=h*f+d*_+p*y,i[5]=h*m+d*D+p*E,i[8]=h*g+d*v+p*A,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],i=e[3],a=e[4],o=e[5],u=e[6],s=e[7],l=e[8];return t*a*l-t*o*s-n*i*l+n*o*u+r*i*s-r*a*u}invert(){const e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],u=e[6],s=e[7],l=e[8],c=l*a-o*s,h=o*u-l*i,d=s*i-a*u,p=t*c+n*h+r*d;if(0===p)return this.set(0,0,0,0,0,0,0,0,0);const f=1/p;return e[0]=c*f,e[1]=(r*s-l*n)*f,e[2]=(o*n-r*a)*f,e[3]=h*f,e[4]=(l*t-r*u)*f,e[5]=(r*i-o*t)*f,e[6]=d*f,e[7]=(n*u-s*t)*f,e[8]=(a*t-n*i)*f,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,i,a,o){const u=Math.cos(i),s=Math.sin(i);return this.set(n*u,n*s,-n*(u*a+s*o)+a+e,-r*s,r*u,-r*(-s*a+u*o)+o+t,0,0,1),this}scale(e,t){return this.premultiply(nr.makeScale(e,t)),this}rotate(e){return this.premultiply(nr.makeRotation(-e)),this}translate(e,t){return this.premultiply(nr.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){const t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,n,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){const t=this.elements,n=e.elements;for(let e=0;e<9;e++)if(t[e]!==n[e])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)}}const nr=new tr;function rr(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}const ir={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:Uint8ClampedArray,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};function ar(e,t){return new ir[e](t)}function or(e){return document.createElementNS("http://www.w3.org/1999/xhtml",e)}function ur(){const e=or("canvas");return e.style.display="block",e}const sr={};function lr(e){e in sr||(sr[e]=!0,console.warn(e))}const cr=(new tr).set(.8224621,.177538,0,.0331941,.9668058,0,.0170827,.0723974,.9105199),hr=(new tr).set(1.2249401,-.2249404,0,-.0420569,1.0420571,0,-.0196376,-.0786361,1.0982735),dr={[$t]:{transfer:en,primaries:nn,toReference:e=>e,fromReference:e=>e},[Yt]:{transfer:tn,primaries:nn,toReference:e=>e.convertSRGBToLinear(),fromReference:e=>e.convertLinearToSRGB()},[Zt]:{transfer:en,primaries:rn,toReference:e=>e.applyMatrix3(hr),fromReference:e=>e.applyMatrix3(cr)},[Qt]:{transfer:tn,primaries:rn,toReference:e=>e.convertSRGBToLinear().applyMatrix3(hr),fromReference:e=>e.applyMatrix3(cr).convertLinearToSRGB()}},pr=new Set([$t,Zt]),fr={enabled:!0,_workingColorSpace:$t,get workingColorSpace(){return this._workingColorSpace},set workingColorSpace(e){if(!pr.has(e))throw new Error(`Unsupported working color space, "${e}".`);this._workingColorSpace=e},convert:function(e,t,n){if(!1===this.enabled||t===n||!t||!n)return e;const r=dr[t].toReference;return(0,dr[n].fromReference)(r(e))},fromWorkingColorSpace:function(e,t){return this.convert(e,this._workingColorSpace,t)},toWorkingColorSpace:function(e,t){return this.convert(e,t,this._workingColorSpace)},getPrimaries:function(e){return dr[e].primaries},getTransfer:function(e){return e===Jt?en:dr[e].transfer}};function mr(e){return e<.04045?.0773993808*e:Math.pow(.9478672986*e+.0521327014,2.4)}function gr(e){return e<.0031308?12.92*e:1.055*Math.pow(e,.41666)-.055}let _r;class Dr{static getDataURL(e){if(/^data:/i.test(e.src))return e.src;if("undefined"==typeof HTMLCanvasElement)return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{void 0===_r&&(_r=or("canvas")),_r.width=e.width,_r.height=e.height;const n=_r.getContext("2d");e instanceof ImageData?n.putImageData(e,0,0):n.drawImage(e,0,0,e.width,e.height),t=_r}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("undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap){const t=or("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),i=r.data;for(let e=0;e<i.length;e++)i[e]=255*mr(i[e]/255);return n.putImageData(r,0,0),t}if(e.data){const t=e.data.slice(0);for(let e=0;e<t.length;e++)t instanceof Uint8Array||t instanceof Uint8ClampedArray?t[e]=Math.floor(255*mr(t[e]/255)):t[e]=mr(t[e]);return{data:t,width:e.width,height:e.height}}return console.warn("THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),e}}let vr=0;class yr{constructor(e=null){this.isSource=!0,Object.defineProperty(this,"id",{value:vr++}),this.uuid=Kn(),this.data=e,this.dataReady=!0,this.version=0}set needsUpdate(e){!0===e&&this.version++}toJSON(e){const t=void 0===e||"string"==typeof e;if(!t&&void 0!==e.images[this.uuid])return e.images[this.uuid];const n={uuid:this.uuid,url:""},r=this.data;if(null!==r){let e;if(Array.isArray(r)){e=[];for(let t=0,n=r.length;t<n;t++)r[t].isDataTexture?e.push(Er(r[t].image)):e.push(Er(r[t]))}else e=Er(r);n.url=e}return t||(e.images[this.uuid]=n),n}}function Er(e){return"undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap?Dr.getDataURL(e):e.data?{data:Array.from(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let Ar=0;class Cr extends Wn{constructor(e=Cr.DEFAULT_IMAGE,t=Cr.DEFAULT_MAPPING,n=_e,r=_e,i=Fe,a=xe,o=He,u=we,s=Cr.DEFAULT_ANISOTROPY,l=Jt){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:Ar++}),this.uuid=Kn(),this.name="",this.source=new yr(e),this.mipmaps=[],this.mapping=t,this.channel=0,this.wrapS=n,this.wrapT=r,this.magFilter=i,this.minFilter=a,this.anisotropy=s,this.format=o,this.internalFormat=null,this.type=u,this.offset=new er(0,0),this.repeat=new er(1,1),this.center=new er(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new tr,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.colorSpace=l,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.pmremVersion=0}get image(){return this.source.data}set image(e=null){this.source.data=e}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return(new this.constructor).copy(this)}copy(e){return this.name=e.name,this.source=e.source,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.channel=e.channel,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.colorSpace=e.colorSpace,this.userData=JSON.parse(JSON.stringify(e.userData)),this.needsUpdate=!0,this}toJSON(e){const t=void 0===e||"string"==typeof e;if(!t&&void 0!==e.textures[this.uuid])return e.textures[this.uuid];const n={metadata:{version:4.6,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(e).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),t||(e.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(this.mapping!==ce)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case ge:e.x=e.x-Math.floor(e.x);break;case _e:e.x=e.x<0?0:1;break;case De:1===Math.abs(Math.floor(e.x)%2)?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x)}if(e.y<0||e.y>1)switch(this.wrapT){case ge:e.y=e.y-Math.floor(e.y);break;case _e:e.y=e.y<0?0:1;break;case De:1===Math.abs(Math.floor(e.y)%2)?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y)}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){!0===e&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(e){!0===e&&this.pmremVersion++}}Cr.DEFAULT_IMAGE=null,Cr.DEFAULT_MAPPING=ce,Cr.DEFAULT_ANISOTROPY=1;class Fr{constructor(e=0,t=0,n=0,r=1){Fr.prototype.isVector4=!0,this.x=e,this.y=t,this.z=n,this.w=r}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,n,r){return this.x=e,this.y=t,this.z=n,this.w=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=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;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=void 0!==e.w?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const t=this.x,n=this.y,r=this.z,i=this.w,a=e.elements;return this.x=a[0]*t+a[4]*n+a[8]*r+a[12]*i,this.y=a[1]*t+a[5]*n+a[9]*r+a[13]*i,this.z=a[2]*t+a[6]*n+a[10]*r+a[14]*i,this.w=a[3]*t+a[7]*n+a[11]*r+a[15]*i,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,n,r,i;const a=.01,o=.1,u=e.elements,s=u[0],l=u[4],c=u[8],h=u[1],d=u[5],p=u[9],f=u[2],m=u[6],g=u[10];if(Math.abs(l-h)<a&&Math.abs(c-f)<a&&Math.abs(p-m)<a){if(Math.abs(l+h)<o&&Math.abs(c+f)<o&&Math.abs(p+m)<o&&Math.abs(s+d+g-3)<o)return this.set(1,0,0,0),this;t=Math.PI;const e=(s+1)/2,u=(d+1)/2,_=(g+1)/2,D=(l+h)/4,v=(c+f)/4,y=(p+m)/4;return e>u&&e>_?e<a?(n=0,r=.707106781,i=.707106781):(n=Math.sqrt(e),r=D/n,i=v/n):u>_?u<a?(n=.707106781,r=0,i=.707106781):(r=Math.sqrt(u),n=D/r,i=y/r):_<a?(n=.707106781,r=.707106781,i=0):(i=Math.sqrt(_),n=v/i,r=y/i),this.set(n,r,i,t),this}let _=Math.sqrt((m-p)*(m-p)+(c-f)*(c-f)+(h-l)*(h-l));return Math.abs(_)<.001&&(_=1),this.x=(m-p)/_,this.y=(c-f)/_,this.z=(h-l)/_,this.w=Math.acos((s+d+g-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),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.z=Math.max(e.z,Math.min(t.z,this.z)),this.w=Math.max(e.w,Math.min(t.w,this.w)),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.z=Math.max(e,Math.min(t,this.z)),this.w=Math.max(e,Math.min(t,this.w)),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.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}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.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*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.z=e.z+(t.z-e.z)*n,this.w=e.w+(t.w-e.w)*n,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class br extends Wn{constructor(e=1,t=1,n={}){super(),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=1,this.scissor=new Fr(0,0,e,t),this.scissorTest=!1,this.viewport=new Fr(0,0,e,t);const r={width:e,height:t,depth:1};n=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:Fe,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1},n);const i=new Cr(r,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.colorSpace);i.flipY=!1,i.generateMipmaps=n.generateMipmaps,i.internalFormat=n.internalFormat,this.textures=[];const a=n.count;for(let e=0;e<a;e++)this.textures[e]=i.clone(),this.textures[e].isRenderTargetTexture=!0;this.depthBuffer=n.depthBuffer,this.stencilBuffer=n.stencilBuffer,this.resolveDepthBuffer=n.resolveDepthBuffer,this.resolveStencilBuffer=n.resolveStencilBuffer,this.depthTexture=n.depthTexture,this.samples=n.samples}get texture(){return this.textures[0]}set texture(e){this.textures[0]=e}setSize(e,t,n=1){if(this.width!==e||this.height!==t||this.depth!==n){this.width=e,this.height=t,this.depth=n;for(let r=0,i=this.textures.length;r<i;r++)this.textures[r].image.width=e,this.textures[r].image.height=t,this.textures[r].image.depth=n;this.dispose()}this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return(new this.constructor).copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.scissor.copy(e.scissor),this.scissorTest=e.scissorTest,this.viewport.copy(e.viewport),this.textures.length=0;for(let t=0,n=e.textures.length;t<n;t++)this.textures[t]=e.textures[t].clone(),this.textures[t].isRenderTargetTexture=!0;const t=Object.assign({},e.texture.image);return this.texture.source=new yr(t),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,this.resolveDepthBuffer=e.resolveDepthBuffer,this.resolveStencilBuffer=e.resolveStencilBuffer,null!==e.depthTexture&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class Sr extends br{constructor(e=1,t=1,n={}){super(e,t,n),this.isWebGLRenderTarget=!0}}class xr extends Cr{constructor(e=null,t=1,n=1,r=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:t,height:n,depth:r},this.magFilter=ve,this.minFilter=ve,this.wrapR=_e,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1,this.layerUpdates=new Set}addLayerUpdate(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}}class Br extends Sr{constructor(e=1,t=1,n=1,r={}
vendor: 4,061 bytes, line 2
2){super(e,t,r),this.isWebGLArrayRenderTarget=!0,this.depth=n,this.texture=new xr(null,e,t,n),this.texture.isRenderTargetTexture=!0}}class wr extends Cr{constructor(e=null,t=1,n=1,r=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:t,height:n,depth:r},this.magFilter=ve,this.minFilter=ve,this.wrapR=_e,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class Mr extends Sr{constructor(e=1,t=1,n=1,r={}){super(e,t,r),this.isWebGL3DRenderTarget=!0,this.depth=n,this.texture=new wr(null,e,t,n),this.texture.isRenderTargetTexture=!0}}class Tr{constructor(e=0,t=0,n=0,r=1){this.isQuaternion=!0,this._x=e,this._y=t,this._z=n,this._w=r}static slerpFlat(e,t,n,r,i,a,o){let u=n[r+0],s=n[r+1],l=n[r+2],c=n[r+3];const h=i[a+0],d=i[a+1],p=i[a+2],f=i[a+3];if(0===o)return e[t+0]=u,e[t+1]=s,e[t+2]=l,void(e[t+3]=c);if(1===o)return e[t+0]=h,e[t+1]=d,e[t+2]=p,void(e[t+3]=f);if(c!==f||u!==h||s!==d||l!==p){let e=1-o;const t=u*h+s*d+l*p+c*f,n=t>=0?1:-1,r=1-t*t;if(r>Number.EPSILON){const i=Math.sqrt(r),a=Math.atan2(i,t*n);e=Math.sin(e*a)/i,o=Math.sin(o*a)/i}const i=o*n;if(u=u*e+h*i,s=s*e+d*i,l=l*e+p*i,c=c*e+f*i,e===1-o){const e=1/Math.sqrt(u*u+s*s+l*l+c*c);u*=e,s*=e,l*=e,c*=e}}e[t]=u,e[t+1]=s,e[t+2]=l,e[t+3]=c}static multiplyQuaternionsFlat(e,t,n,r,i,a){const o=n[r],u=n[r+1],s=n[r+2],l=n[r+3],c=i[a],h=i[a+1],d=i[a+2],p=i[a+3];return e[t]=o*p+l*c+u*d-s*h,e[t+1]=u*p+l*h+s*c-o*d,e[t+2]=s*p+l*d+o*h-u*c,e[t+3]=l*p-o*c-u*h-s*d,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,n,r){return this._x=e,this._y=t,this._z=n,this._w=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){const n=e._x,r=e._y,i=e._z,a=e._order,o=Math.cos,u=Math.sin,s=o(n/2),l=o(r/2),c=o(i/2),h=u(n/2),d=u(r/2),p=u(i/2);switch(a){case"XYZ":this._x=h*l*c+s*d*p,this._y=s*d*c-h*l*p,this._z=s*l*p+h*d*c,this._w=s*l*c-h*d*p;break;case"YXZ":this._x=h*l*c+s*d*p,this._y=s*d*c-h*l*p,this._z=s*l*p-h*d*c,this._w=s*l*c+h*d*p;break;case"ZXY":this._x=h*l*c-s*d*p,this._y=s*d*c+h*l*p,this._z=s*l*p+h*d*c,this._w=s*l*c-h*d*p;break;case"ZYX":this._x=h*l*c-s*d*p,this._y=s*d*c+h*l*p,this._z=s*l*p-h*d*c,this._w=s*l*c+h*d*p;break;case"YZX":this._x=h*l*c+s*d*p,this._y=s*d*c+h*l*p,this._z=s*l*p-h*d*c,this._w=s*l*c-h*d*p;break;case"XZY":this._x=h*l*c-s*d*p,this._y=s*d*c-h*l*p,this._z=s*l*p+h*d*c,this._w=s*l*c+h*d*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+a)}return!0===t&&this._onChangeCallback(),this}setFromAxisAngle(e,t){const n=t/2,r=Math.sin(n);return this._x=e.x*r,this._y=e.y*r,this._z=e.z*r,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(e){const t=e.elements,n=t[0],r=t[4],i=t[8],a=t[1],o=t[5],u=t[9],s=t[2],l=t[6],c=t[10],h=n+o+c;if(h>0){const e=.5/Math.sqrt(h+1);this._w=.25/e,this._x=(l-u)*e,this._y=(i-s)*e,this._z=(a-r)*e}else if(n>o&&n>c){const e=2*Math.sqrt(1+n-o-c);this._w=(l-u)/e,this._x=.25*e,this._y=(r+a)/e,this._z=(i+s)/e}else if(o>c){const e=2*Math.sqrt(1+o-n-c);this._w=(i-s)/e,this._x=(r+a)/e,this._y=.25*e,this._z=(u+l)/e}else{const e=2*Math.sqrt(1+c-n-o);this._w=(a-r)/e,this._x=(i+s)/e,this._y=(u+l)/e,this._z=.25*e}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let n=e.dot(t)+1;return n<Number.EPSILON?(n=0,Math.abs(e.x)>Math.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=n):(this._x=0,this._y=-e.z,this._z=e.y,this._w=n)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=n),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(qn(this.dot(e),-1,1)))}rotateTowards(e,t){const n=this.angleTo(e);if(0===n)return this;const r=Math.min(1,t/n);return this.slerp(e,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}
vendor: 15,165 bytes, line 2
2conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return 0===e?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){const n=e._x,r=e._y,i=e._z,a=e._w,o=t._x,u=t._y,s=t._z,l=t._w;return this._x=n*l+a*o+r*s-i*u,this._y=r*l+a*u+i*o-n*s,this._z=i*l+a*s+n*u-r*o,this._w=a*l-n*o-r*u-i*s,this._onChangeCallback(),this}slerp(e,t){if(0===t)return this;if(1===t)return this.copy(e);const n=this._x,r=this._y,i=this._z,a=this._w;let o=a*e._w+n*e._x+r*e._y+i*e._z;if(o<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,o=-o):this.copy(e),o>=1)return this._w=a,this._x=n,this._y=r,this._z=i,this;const u=1-o*o;if(u<=Number.EPSILON){const e=1-t;return this._w=e*a+t*this._w,this._x=e*n+t*this._x,this._y=e*r+t*this._y,this._z=e*i+t*this._z,this.normalize(),this}const s=Math.sqrt(u),l=Math.atan2(s,o),c=Math.sin((1-t)*l)/s,h=Math.sin(t*l)/s;return this._w=a*c+this._w*h,this._x=n*c+this._x*h,this._y=r*c+this._y*h,this._z=i*c+this._z*h,this._onChangeCallback(),this}slerpQuaternions(e,t,n){return this.copy(e).slerp(t,n)}random(){const e=2*Math.PI*Math.random(),t=2*Math.PI*Math.random(),n=Math.random(),r=Math.sqrt(1-n),i=Math.sqrt(n);return this.set(r*Math.sin(e),r*Math.cos(e),i*Math.sin(t),i*Math.cos(t))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class Pr{constructor(e=0,t=0,n=0){Pr.prototype.isVector3=!0,this.x=e,this.y=t,this.z=n}set(e,t,n){return void 0===n&&(n=this.z),this.x=e,this.y=t,this.z=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=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;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(Ir.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(Ir.setFromAxisAngle(e,t))}applyMatrix3(e){const t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[3]*n+i[6]*r,this.y=i[1]*t+i[4]*n+i[7]*r,this.z=i[2]*t+i[5]*n+i[8]*r,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const t=this.x,n=this.y,r=this.z,i=e.elements,a=1/(i[3]*t+i[7]*n+i[11]*r+i[15]);return this.x=(i[0]*t+i[4]*n+i[8]*r+i[12])*a,this.y=(i[1]*t+i[5]*n+i[9]*r+i[13])*a,this.z=(i[2]*t+i[6]*n+i[10]*r+i[14])*a,this}applyQuaternion(e){const t=this.x,n=this.y,r=this.z,i=e.x,a=e.y,o=e.z,u=e.w,s=2*(a*r-o*n),l=2*(o*t-i*r),c=2*(i*n-a*t);return this.x=t+u*s+a*c-o*l,this.y=n+u*l+o*s-i*c,this.z=r+u*c+i*l-a*s,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[4]*n+i[8]*r,this.y=i[1]*t+i[5]*n+i[9]*r,this.z=i[2]*t+i[6]*n+i[10]*r,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),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.z=Math.max(e.z,Math.min(t.z,this.z)),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.z=Math.max(e,Math.min(t,this.z)),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.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}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.z+=(e.z-this.z)*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.z=e.z+(t.z-e.z)*n,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){const n=e.x,r=e.y,i=e.z,a=t.x,o=t.y,u=t.z;return this.x=r*u-i*o,this.y=i*a-n*u,this.z=n*o-r*a,this}projectOnVector(e){const t=e.lengthSq();if(0===t)return this.set(0,0,0);const n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)}projectOnPlane(e){return Rr.copy(this).projectOnVector(e),this.sub(Rr)}reflect(e){return this.sub(Rr.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(0===t)return Math.PI/2;const n=this.dot(e)/t;return Math.acos(qn(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,n=this.y-e.y,r=this.z-e.z;return t*t+n*n+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,n){const r=Math.sin(t)*e;return this.x=r*Math.sin(n),this.y=Math.cos(t)*e,this.z=r*Math.cos(n),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){const t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),r=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=r,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,4*t)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,3*t)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=Math.random()*Math.PI*2,t=2*Math.random()-1,n=Math.sqrt(1-t*t);return this.x=n*Math.cos(e),this.y=t,this.z=n*Math.sin(e),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Rr=new Pr,Ir=new Tr;class Nr{constructor(e=new Pr(1/0,1/0,1/0),t=new Pr(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,n=e.length;t<n;t+=3)this.expandByPoint(Or.fromArray(e,t));return this}setFromBufferAttribute(e){this.makeEmpty();for(let t=0,n=e.count;t<n;t++)this.expandByPoint(Or.fromBufferAttribute(e,t));return this}setFromPoints(e){this.makeEmpty();for(let t=0,n=e.length;t<n;t++)this.expandByPoint(e[t]);return this}setFromCenterAndSize(e,t){const n=Or.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(n),this.max.copy(e).add(n),this}setFromObject(e,t=!1){return this.makeEmpty(),this.expandByObject(e,t)}clone(){return(new this.constructor).copy(this)}copy(e){return this.min.copy(e.min),this.max.copy(e.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(e){return this.isEmpty()?e.set(0,0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(e){return this.isEmpty()?e.set(0,0,0):e.subVectors(this.max,this.min)}expandByPoint(e){return this.min.min(e),this.max.max(e),this}expandByVector(e){return this.min.sub(e),this.max.add(e),this}expandByScalar(e){return this.min.addScalar(-e),this.max.addScalar(e),this}expandByObject(e,t=!1){e.updateWorldMatrix(!1,!1);const n=e.geometry;if(void 0!==n){const r=n.getAttribute("position");if(!0===t&&void 0!==r&&!0!==e.isInstancedMesh)for(let t=0,n=r.count;t<n;t++)!0===e.isMesh?e.getVertexPosition(t,Or):Or.fromBufferAttribute(r,t),Or.applyMatrix4(e.matrixWorld),this.expandByPoint(Or);else void 0!==e.boundingBox?(null===e.boundingBox&&e.computeBoundingBox(),kr.copy(e.boundingBox)):(null===n.boundingBox&&n.computeBoundingBox(),kr.copy(n.boundingBox)),kr.applyMatrix4(e.matrixWorld),this.union(kr)}const r=e.children;for(let e=0,n=r.length;e<n;e++)this.expandByObject(r[e],t);return this}containsPoint(e){return!(e.x<this.min.x||e.x>this.max.x||e.y<this.min.y||e.y>this.max.y||e.z<this.min.z||e.z>this.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.x<this.min.x||e.min.x>this.max.x||e.max.y<this.min.y||e.min.y>this.max.y||e.max.z<this.min.z||e.min.z>this.max.z)}intersectsSphere(e){return this.clampPoint(e.center,Or),Or.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(jr),Xr.subVectors(this.max,jr),Ur.subVectors(e.a,jr),zr.subVectors(e.b,jr),Vr.subVectors(e.c,jr),Wr.subVectors(zr,Ur),Hr.subVectors(Vr,zr),Gr.subVectors(Ur,Vr);let t=[0,-Wr.z,Wr.y,0,-Hr.z,Hr.y,0,-Gr.z,Gr.y,Wr.z,0,-Wr.x,Hr.z,0,-Hr.x,Gr.z,0,-Gr.x,-Wr.y,Wr.x,0,-Hr.y,Hr.x,0,-Gr.y,Gr.x,0];return!!Jr(t,Ur,zr,Vr,Xr)&&(t=[1,0,0,0,1,0,0,0,1],!!Jr(t,Ur,zr,Vr,Xr)&&(Kr.crossVectors(Wr,Hr),t=[Kr.x,Kr.y,Kr.z],Jr(t,Ur,zr,Vr,Xr)))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,Or).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=.5*this.getSize(Or).length()),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()||(Lr[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),Lr[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),Lr[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),Lr[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),Lr[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),Lr[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),Lr[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),Lr[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(Lr)),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const Lr=[new Pr,new Pr,new Pr,new Pr,new Pr,new Pr,new Pr,new Pr],Or=new Pr,kr=new Nr,Ur=new Pr,zr=new Pr,Vr=new Pr,Wr=new Pr,Hr=new Pr,Gr=new Pr,jr=new Pr,Xr=new Pr,Kr=new Pr,qr=new Pr;function Jr(e,t,n,r,i){for(let a=0,o=e.length-3;a<=o;a+=3){qr.fromArray(e,a);const o=i.x*Math.abs(qr.x)+i.y*Math.abs(qr.y)+i.z*Math.abs(qr.z),u=t.dot(qr),s=n.dot(qr),l=r.dot(qr);if(Math.max(-Math.max(u,s,l),Math.min(u,s,l))>o)return!1}return!0}const Yr=new Nr,$r=new Pr,Qr=new Pr;class Zr{constructor(e=new Pr,t=-1){this.isSphere=!0,this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){const n=this.center;void 0!==t?n.copy(t):Yr.setFromPoints(e).getCenter(n);let r=0;for(let t=0,i=e.length;t<i;t++)r=Math.max(r,n.distanceToSquared(e[t]));return this.radius=Math.sqrt(r),this}copy(e){return this.center.copy(e.center),this.radius=e.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(e){return e.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(e){return e.distanceTo(this.center)-this.radius}intersectsSphere(e){const t=this.radius+e.radius;return e.center.distanceToSquared(this.center)<=t*t}intersectsBox(e){return e.intersectsSphere(this)}intersectsPlane(e){return Math.abs(e.distanceToPoint(this.center))<=this.radius}clampPoint(e,t){const n=this.center.distanceToSquared(e);return t.copy(e),n>this.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}
vendor: 4,240 bytes, line 2
2applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;$r.subVectors(e,this.center);const t=$r.lengthSq();if(t>this.radius*this.radius){const e=Math.sqrt(t),n=.5*(e-this.radius);this.center.addScaledVector($r,n/e),this.radius+=n}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(!0===this.center.equals(e.center)?this.radius=Math.max(this.radius,e.radius):(Qr.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint($r.copy(e.center).add(Qr)),this.expandByPoint($r.copy(e.center).sub(Qr))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return(new this.constructor).copy(this)}}const ei=new Pr,ti=new Pr,ni=new Pr,ri=new Pr,ii=new Pr,ai=new Pr,oi=new Pr;class ui{constructor(e=new Pr,t=new Pr(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,ei)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);const n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const t=ei.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(ei.copy(this.origin).addScaledVector(this.direction,t),ei.distanceToSquared(e))}distanceSqToSegment(e,t,n,r){ti.copy(e).add(t).multiplyScalar(.5),ni.copy(t).sub(e).normalize(),ri.copy(this.origin).sub(ti);const i=.5*e.distanceTo(t),a=-this.direction.dot(ni),o=ri.dot(this.direction),u=-ri.dot(ni),s=ri.lengthSq(),l=Math.abs(1-a*a);let c,h,d,p;if(l>0)if(c=a*u-o,h=a*o-u,p=i*l,c>=0)if(h>=-p)if(h<=p){const e=1/l;c*=e,h*=e,d=c*(c+a*h+2*o)+h*(a*c+h+2*u)+s}else h=i,c=Math.max(0,-(a*h+o)),d=-c*c+h*(h+2*u)+s;else h=-i,c=Math.max(0,-(a*h+o)),d=-c*c+h*(h+2*u)+s;else h<=-p?(c=Math.max(0,-(-a*i+o)),h=c>0?-i:Math.min(Math.max(-i,-u),i),d=-c*c+h*(h+2*u)+s):h<=p?(c=0,h=Math.min(Math.max(-i,-u),i),d=h*(h+2*u)+s):(c=Math.max(0,-(a*i+o)),h=c>0?i:Math.min(Math.max(-i,-u),i),d=-c*c+h*(h+2*u)+s);else h=a>0?-i:i,c=Math.max(0,-(a*h+o)),d=-c*c+h*(h+2*u)+s;return n&&n.copy(this.origin).addScaledVector(this.direction,c),r&&r.copy(ti).addScaledVector(ni,h),d}intersectSphere(e,t){ei.subVectors(e.center,this.origin);const n=ei.dot(this.direction),r=ei.dot(ei)-n*n,i=e.radius*e.radius;if(r>i)return null;const a=Math.sqrt(i-r),o=n-a,u=n+a;return u<0?null:o<0?this.at(u,t):this.at(o,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const t=e.normal.dot(this.direction);if(0===t)return 0===e.distanceToPoint(this.origin)?0:null;const n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null}intersectPlane(e,t){const n=this.distanceToPlane(e);return null===n?null:this.at(n,t)}intersectsPlane(e){const t=e.distanceToPoint(this.origin);if(0===t)return!0;return e.normal.dot(this.direction)*t<0}intersectBox(e,t){let n,r,i,a,o,u;const s=1/this.direction.x,l=1/this.direction.y,c=1/this.direction.z,h=this.origin;return s>=0?(n=(e.min.x-h.x)*s,r=(e.max.x-h.x)*s):(n=(e.max.x-h.x)*s,r=(e.min.x-h.x)*s),l>=0?(i=(e.min.y-h.y)*l,a=(e.max.y-h.y)*l):(i=(e.max.y-h.y)*l,a=(e.min.y-h.y)*l),n>a||i>r?null:((i>n||isNaN(n))&&(n=i),(a<r||isNaN(r))&&(r=a),c>=0?(o=(e.min.z-h.z)*c,u=(e.max.z-h.z)*c):(o=(e.max.z-h.z)*c,u=(e.min.z-h.z)*c),n>u||o>r?null:((o>n||n!=n)&&(n=o),(u<r||r!=r)&&(r=u),r<0?null:this.at(n>=0?n:r,t)))}intersectsBox(e){return null!==this.intersectBox(e,ei)}intersectTriangle(e,t,n,r,i){ii.subVectors(t,e),ai.subVectors(n,e),oi.crossVectors(ii,ai);let a,o=this.direction.dot(oi);if(o>0){if(r)return null;a=1}else{if(!(o<0))return null;a=-1,o=-o}ri.subVectors(this.origin,e);const u=a*this.direction.dot(ai.crossVectors(ri,ai));if(u<0)return null;const s=a*this.direction.dot(ii.cross(ri));if(s<0)return null;if(u+s>
vendor: 5,783 bytes, line 2
2o)return null;const l=-a*ri.dot(oi);return l<0?null:this.at(l/o,i)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return(new this.constructor).copy(this)}}class si{constructor(e,t,n,r,i,a,o,u,s,l,c,h,d,p,f,m){si.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],void 0!==e&&this.set(e,t,n,r,i,a,o,u,s,l,c,h,d,p,f,m)}set(e,t,n,r,i,a,o,u,s,l,c,h,d,p,f,m){const g=this.elements;return g[0]=e,g[4]=t,g[8]=n,g[12]=r,g[1]=i,g[5]=a,g[9]=o,g[13]=u,g[2]=s,g[6]=l,g[10]=c,g[14]=h,g[3]=d,g[7]=p,g[11]=f,g[15]=m,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return(new si).fromArray(this.elements)}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],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],this}copyPosition(e){const t=this.elements,n=e.elements;return t[12]=n[12],t[13]=n[13],t[14]=n[14],this}setFromMatrix3(e){const t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,n){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(e,t,n){return this.set(e.x,t.x,n.x,0,e.y,t.y,n.y,0,e.z,t.z,n.z,0,0,0,0,1),this}extractRotation(e){const t=this.elements,n=e.elements,r=1/li.setFromMatrixColumn(e,0).length(),i=1/li.setFromMatrixColumn(e,1).length(),a=1/li.setFromMatrixColumn(e,2).length();return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=0,t[4]=n[4]*i,t[5]=n[5]*i,t[6]=n[6]*i,t[7]=0,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){const t=this.elements,n=e.x,r=e.y,i=e.z,a=Math.cos(n),o=Math.sin(n),u=Math.cos(r),s=Math.sin(r),l=Math.cos(i),c=Math.sin(i);if("XYZ"===e.order){const e=a*l,n=a*c,r=o*l,i=o*c;t[0]=u*l,t[4]=-u*c,t[8]=s,t[1]=n+r*s,t[5]=e-i*s,t[9]=-o*u,t[2]=i-e*s,t[6]=r+n*s,t[10]=a*u}else if("YXZ"===e.order){const e=u*l,n=u*c,r=s*l,i=s*c;t[0]=e+i*o,t[4]=r*o-n,t[8]=a*s,t[1]=a*c,t[5]=a*l,t[9]=-o,t[2]=n*o-r,t[6]=i+e*o,t[10]=a*u}else if("ZXY"===e.order){const e=u*l,n=u*c,r=s*l,i=s*c;t[0]=e-i*o,t[4]=-a*c,t[8]=r+n*o,t[1]=n+r*o,t[5]=a*l,t[9]=i-e*o,t[2]=-a*s,t[6]=o,t[10]=a*u}else if("ZYX"===e.order){const e=a*l,n=a*c,r=o*l,i=o*c;t[0]=u*l,t[4]=r*s-n,t[8]=e*s+i,t[1]=u*c,t[5]=i*s+e,t[9]=n*s-r,t[2]=-s,t[6]=o*u,t[10]=a*u}else if("YZX"===e.order){const e=a*u,n=a*s,r=o*u,i=o*s;t[0]=u*l,t[4]=i-e*c,t[8]=r*c+n,t[1]=c,t[5]=a*l,t[9]=-o*l,t[2]=-s*l,t[6]=n*c+r,t[10]=e-i*c}else if("XZY"===e.order){const e=a*u,n=a*s,r=o*u,i=o*s;t[0]=u*l,t[4]=-c,t[8]=s*l,t[1]=e*c+i,t[5]=a*l,t[9]=n*c-r,t[2]=r*c-n,t[6]=o*l,t[10]=i*c+e}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(hi,e,di)}lookAt(e,t,n){const r=this.elements;return mi.subVectors(e,t),0===mi.lengthSq()&&(mi.z=1),mi.normalize(),pi.crossVectors(n,mi),0===pi.lengthSq()&&(1===Math.abs(n.z)?mi.x+=1e-4:mi.z+=1e-4,mi.normalize(),pi.crossVectors(n,mi)),pi.normalize(),fi.crossVectors(mi,pi),r[0]=pi.x,r[4]=fi.x,r[8]=mi.x,r[1]=pi.y,r[5]=fi.y,r[9]=mi.y,r[2]=pi.z,r[6]=fi.z,r[10]=mi.z,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,i=this.elements,a=n[0],o=n[4],u=n[8],s=n[12],l=n[1],c=n[5],h=n[9],d=n[13],p=n[2],f=n[6],m=n[10],g=n[14],_=n[3],D=n[7],v=n[11],y=n[15],E=r[0],A=r[4],C=r[8],F=r[12],b=r[1],S=r[5],x=r[9],B=r[13],w=r[2],M=r[6],T=r[10],P=r[14],R=r[3],I=r[7],N=r[11],L=r[15];return i[0]=a*E+o*b+u*w+s*R,i[4]=a*A+o*S+u*M+s*I,i[8]=a*C+o*x+u*T+s*N,i[12]=a*F+o*B+u*P+s*L,i[1]=l*E+c*b+h*w+d*R,i[5]=l*A+c*S+h*M+d*I,i[9]=l*C+c*x+h*T+d*N,i[13]=l*F+c*B+h*P+d*L,i[2]=p*E+f*b+m*w+g*R,i[6]=p*A+f*S+m*M+g*I,i[10]=p*C+f*x+m*T+g*N,i[14]=p*F+f*B+m*P+g*L,i[3]=_*E+D*b+v*w+y*R,i[7]=_*A+D*S+v*M+y*I,i[11]=_*C+D*x+v*T+y*N,i[15]=_*F+D*B+v*P+y*L,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){const e=this.elements,t=e[0],n=e[4],r=e[8],i=e[12],a=e[1],o=e[5],u=e[9],s=e[13],l=e[2],c=e[6],h=e[10],d=e[14];return e[3]*(+i*u*c-r*s*c-i*o*h+n*s*h+r*o*d-n*u*d)+e[7]*(+t*u*d-t*s*h+i*a*h-r*a*d+r*s*l-i*u*l)+e[11]*(+t*s*c-t*o*d-i*a*c+n*a*d+i*o*l-n*s*l)+e[15]*(-r*o*l-t*u*c+t*o*h+r*a*c-n*a*h+n*u*l)}transpose(){const e=this.elements;let t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,n){const r=this.elements;return e.isVector3?(r[12]=e.x,r[13]=e.y,r[14]=e.z):(r[12]=e,r[13]=t,r[14]=n),this}invert(){const e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],u=e[6],s=e[7],l=e[8],c=e[9],h=e[10],d=e[11],p=e[12],f=e[13],m=e[14],g=e[15],_=c*m*s-f*h*s+f*u*d-o*m*d-c*u*g+o*h*g,D=p*h*s-l*m*s-p*u*d+a*m*d+l*u*g-a*h*g,v=l*f*s-p*c*s+p*o*d-a*f*d-l*o*g+a*c*g,y=p*c*u-l*f*u-p*o*h+a*f*h+l*o*m-a*c*m,E=t*_+n*D+r*v+i*y;if(0===E)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const A=1/E;return e[0]=_*A,e[1]=(f*h*i-c*m*i-f*r*d+n*m*d+c*r*g-n*h*g)*A,e[2]=(o*m*i-f*u*i+f*r*s-n*m*s-o*r*g+n*u*g)*A,e[3]=(c*u*i-o*h*i-c*r*s+n*h*s+o*r*d-n*u*d)*A,e[4]=D*A,e[5]=(l*m*i-p*h*i+p*r*d-t*m*d-l*r*g+t*h*g)*A,e[6]=(p*u*i-a*m*i-p*r*s+t*m*s+a*r*g-t*u*g)*A,e[7]=(a*h*i-l*u*i+l*r*s-t*h*s-a*r*d+t*u*d)*A,e[8]=v*A,e[9]=(p*c*i-l*f*i-p*n*d+t*f*d+l*n*g-t*c*g)*A,e[10]=(a*f*i-p*o*i+p*n*s-t*f*s-a*n*g+t*o*g)*A,e[11]=(l*o*i-a*c*i-l*n*s+t*c*s+a*n*d-t*o*d)*A,e[12]=y*A,e[13]=(l*f*r-p*c*r+p*n*h-t*f*h-l*n*m+t*c*m)*A,e[14]=(p*o*r-a*f*r-p*n*u+t*f*u+a*n*m
vendor: 7,888 bytes, line 2
2-t*o*m)*A,e[15]=(a*c*r-l*o*r+l*n*u-t*c*u-a*n*h+t*o*h)*A,this}scale(e){const t=this.elements,n=e.x,r=e.y,i=e.z;return t[0]*=n,t[4]*=r,t[8]*=i,t[1]*=n,t[5]*=r,t[9]*=i,t[2]*=n,t[6]*=r,t[10]*=i,t[3]*=n,t[7]*=r,t[11]*=i,this}getMaxScaleOnAxis(){const e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],n=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],r=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,n,r))}makeTranslation(e,t,n){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,n,0,0,0,1),this}makeRotationX(e){const t=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1),this}makeRotationY(e){const t=Math.cos(e),n=Math.sin(e);return this.set(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1),this}makeRotationZ(e){const t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){const n=Math.cos(t),r=Math.sin(t),i=1-n,a=e.x,o=e.y,u=e.z,s=i*a,l=i*o;return this.set(s*a+n,s*o-r*u,s*u+r*o,0,s*o+r*u,l*o+n,l*u-r*a,0,s*u-r*o,l*u+r*a,i*u*u+n,0,0,0,0,1),this}makeScale(e,t,n){return this.set(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1),this}makeShear(e,t,n,r,i,a){return this.set(1,n,i,0,e,1,a,0,t,r,1,0,0,0,0,1),this}compose(e,t,n){const r=this.elements,i=t._x,a=t._y,o=t._z,u=t._w,s=i+i,l=a+a,c=o+o,h=i*s,d=i*l,p=i*c,f=a*l,m=a*c,g=o*c,_=u*s,D=u*l,v=u*c,y=n.x,E=n.y,A=n.z;return r[0]=(1-(f+g))*y,r[1]=(d+v)*y,r[2]=(p-D)*y,r[3]=0,r[4]=(d-v)*E,r[5]=(1-(h+g))*E,r[6]=(m+_)*E,r[7]=0,r[8]=(p+D)*A,r[9]=(m-_)*A,r[10]=(1-(h+f))*A,r[11]=0,r[12]=e.x,r[13]=e.y,r[14]=e.z,r[15]=1,this}decompose(e,t,n){const r=this.elements;let i=li.set(r[0],r[1],r[2]).length();const a=li.set(r[4],r[5],r[6]).length(),o=li.set(r[8],r[9],r[10]).length();this.determinant()<0&&(i=-i),e.x=r[12],e.y=r[13],e.z=r[14],ci.copy(this);const u=1/i,s=1/a,l=1/o;return ci.elements[0]*=u,ci.elements[1]*=u,ci.elements[2]*=u,ci.elements[4]*=s,ci.elements[5]*=s,ci.elements[6]*=s,ci.elements[8]*=l,ci.elements[9]*=l,ci.elements[10]*=l,t.setFromRotationMatrix(ci),n.x=i,n.y=a,n.z=o,this}makePerspective(e,t,n,r,i,a,o=zn){const u=this.elements,s=2*i/(t-e),l=2*i/(n-r),c=(t+e)/(t-e),h=(n+r)/(n-r);let d,p;if(o===zn)d=-(a+i)/(a-i),p=-2*a*i/(a-i);else{if(o!==Vn)throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+o);d=-a/(a-i),p=-a*i/(a-i)}return u[0]=s,u[4]=0,u[8]=c,u[12]=0,u[1]=0,u[5]=l,u[9]=h,u[13]=0,u[2]=0,u[6]=0,u[10]=d,u[14]=p,u[3]=0,u[7]=0,u[11]=-1,u[15]=0,this}makeOrthographic(e,t,n,r,i,a,o=zn){const u=this.elements,s=1/(t-e),l=1/(n-r),c=1/(a-i),h=(t+e)*s,d=(n+r)*l;let p,f;if(o===zn)p=(a+i)*c,f=-2*c;else{if(o!==Vn)throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+o);p=i*c,f=-1*c}return u[0]=2*s,u[4]=0,u[8]=0,u[12]=-h,u[1]=0,u[5]=2*l,u[9]=0,u[13]=-d,u[2]=0,u[6]=0,u[10]=f,u[14]=-p,u[3]=0,u[7]=0,u[11]=0,u[15]=1,this}equals(e){const t=this.elements,n=e.elements;for(let e=0;e<16;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<16;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[t+9]=n[9],e[t+10]=n[10],e[t+11]=n[11],e[t+12]=n[12],e[t+13]=n[13],e[t+14]=n[14],e[t+15]=n[15],e}}const li=new Pr,ci=new si,hi=new Pr(0,0,0),di=new Pr(1,1,1),pi=new Pr,fi=new Pr,mi=new Pr,gi=new si,_i=new Tr;class Di{constructor(e=0,t=0,n=0,r=Di.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=n,this._order=r}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,n,r=this._order){return this._x=e,this._y=t,this._z=n,this._order=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,n=!0){const r=e.elements,i=r[0],a=r[4],o=r[8],u=r[1],s=r[5],l=r[9],c=r[2],h=r[6],d=r[10];switch(t){case"XYZ":this._y=Math.asin(qn(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(-l,d),this._z=Math.atan2(-a,i)):(this._x=Math.atan2(h,s),this._z=0);break;case"YXZ":this._x=Math.asin(-qn(l,-1,1)),Math.abs(l)<.9999999?(this._y=Math.atan2(o,d),this._z=Math.atan2(u,s)):(this._y=Math.atan2(-c,i),this._z=0);break;case"ZXY":this._x=Math.asin(qn(h,-1,1)),Math.abs(h)<.9999999?(this._y=Math.atan2(-c,d),this._z=Math.atan2(-a,s)):(this._y=0,this._z=Math.atan2(u,i));break;case"ZYX":this._y=Math.asin(-qn(c,-1,1)),Math.abs(c)<.9999999?(this._x=Math.atan2(h,d),this._z=Math.atan2(u,i)):(this._x=0,this._z=Math.atan2(-a,s));break;case"YZX":this._z=Math.asin(qn(u,-1,1)),Math.abs(u)<.9999999?(this._x=Math.atan2(-l,s),this._y=Math.atan2(-c,i)):(this._x=0,this._y=Math.atan2(o,d));break;case"XZY":this._z=Math.asin(-qn(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(h,s),this._y=Math.atan2(o,i)):(this._x=Math.atan2(-l,d),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,!0===n&&this._onChangeCallback(),this}setFromQuaternion(e,t,n){return gi.makeRotationFromQuaternion(e),this.setFromRotationMatrix(gi,t,n)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return _i.setFromEuler(this),this.setFromQuaternion(_i,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],void 0!==e[3]&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}Di.DEFAULT_ORDER="XYZ";class vi{constructor(){this.mask=1}set(e){this.mask=1<<e>>>0}enable(e){this.mask|=1<<e}enableAll(){this.mask=-1}toggle(e){this.mask^=1<<e}disable(e){this.mask&=~(1<<e)}disableAll(){this.mask=0}test(e){return!!(this.mask&e.mask)}isEnabled(e){return!!(this.mask&1<<e)}}let yi=0;const Ei=new Pr,Ai=new Tr,Ci=new si,Fi=new Pr,bi=new Pr,Si=new Pr,xi=new Tr,Bi=new Pr(1,0,0),wi=new Pr(0,1,0),Mi=new Pr(0,0,1),Ti={type:"added"},Pi={type:"removed"},Ri={type:"childadded",child:null},Ii={type:"childremoved",child:null};class Ni extends Wn{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:yi++}),this.uuid=Kn(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=Ni.DEFAULT_UP.clone();const e=new Pr,t=new Di,n=new Tr,r=new Pr(1,1,1);t._onChange((function(){n.setFromEuler(t,!1)})),n._onChange((function(){t.setFromQuaternion(n,void 0,!1)})),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:e},rotation:{configurable:!0,enumerable:!0,value:t},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:r},modelViewMatrix:{value:new si},normalMatrix:{value:new tr}}),this.matrix=new si,this.matrixWorld=new si,this.matrixAutoUpdate=Ni.DEFAULT_MATRIX_AUTO_UPDATE,this.matrixWorldAutoUpdate=Ni.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,this.matrixWorldNeedsUpdate=!1,this.layers=new vi,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.userData={}}onBeforeShadow(){}onAfterShadow(){}onBeforeRender(){}onAfterRender(){}applyMatrix4(e){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(e),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(e){return this.quaternion.premultiply(e),this}setRotationFromAxisAngle(e,t){this.quaternion.setFromAxisAngle(e,t)}setRotationFromEuler(e){this.quaternion.setFromEuler(e,!0)}
vendor: 11,812 bytes, line 2
2setRotationFromMatrix(e){this.quaternion.setFromRotationMatrix(e)}setRotationFromQuaternion(e){this.quaternion.copy(e)}rotateOnAxis(e,t){return Ai.setFromAxisAngle(e,t),this.quaternion.multiply(Ai),this}rotateOnWorldAxis(e,t){return Ai.setFromAxisAngle(e,t),this.quaternion.premultiply(Ai),this}rotateX(e){return this.rotateOnAxis(Bi,e)}rotateY(e){return this.rotateOnAxis(wi,e)}rotateZ(e){return this.rotateOnAxis(Mi,e)}translateOnAxis(e,t){return Ei.copy(e).applyQuaternion(this.quaternion),this.position.add(Ei.multiplyScalar(t)),this}translateX(e){return this.translateOnAxis(Bi,e)}translateY(e){return this.translateOnAxis(wi,e)}translateZ(e){return this.translateOnAxis(Mi,e)}localToWorld(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(this.matrixWorld)}worldToLocal(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(Ci.copy(this.matrixWorld).invert())}lookAt(e,t,n){e.isVector3?Fi.copy(e):Fi.set(e,t,n);const r=this.parent;this.updateWorldMatrix(!0,!1),bi.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?Ci.lookAt(bi,Fi,this.up):Ci.lookAt(Fi,bi,this.up),this.quaternion.setFromRotationMatrix(Ci),r&&(Ci.extractRotation(r.matrixWorld),Ai.setFromRotationMatrix(Ci),this.quaternion.premultiply(Ai.invert()))}add(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.add(arguments[e]);return this}return e===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",e),this):(e&&e.isObject3D?(e.removeFromParent(),e.parent=this,this.children.push(e),e.dispatchEvent(Ti),Ri.child=e,this.dispatchEvent(Ri),Ri.child=null):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",e),this)}remove(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.remove(arguments[e]);return this}const t=this.children.indexOf(e);return-1!==t&&(e.parent=null,this.children.splice(t,1),e.dispatchEvent(Pi),Ii.child=e,this.dispatchEvent(Ii),Ii.child=null),this}removeFromParent(){const e=this.parent;return null!==e&&e.remove(this),this}clear(){return this.remove(...this.children)}attach(e){return this.updateWorldMatrix(!0,!1),Ci.copy(this.matrixWorld).invert(),null!==e.parent&&(e.parent.updateWorldMatrix(!0,!1),Ci.multiply(e.parent.matrixWorld)),e.applyMatrix4(Ci),e.removeFromParent(),e.parent=this,this.children.push(e),e.updateWorldMatrix(!1,!0),e.dispatchEvent(Ti),Ri.child=e,this.dispatchEvent(Ri),Ri.child=null,this}getObjectById(e){return this.getObjectByProperty("id",e)}getObjectByName(e){return this.getObjectByProperty("name",e)}getObjectByProperty(e,t){if(this[e]===t)return this;for(let n=0,r=this.children.length;n<r;n++){const r=this.children[n].getObjectByProperty(e,t);if(void 0!==r)return r}}getObjectsByProperty(e,t,n=[]){this[e]===t&&n.push(this);const r=this.children;for(let i=0,a=r.length;i<a;i++)r[i].getObjectsByProperty(e,t,n);return n}getWorldPosition(e){return this.updateWorldMatrix(!0,!1),e.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(bi,e,Si),e}getWorldScale(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(bi,xi,e),e}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const t=this.matrixWorld.elements;return e.set(t[8],t[9],t[10]).normalize()}raycast(){}traverse(e){e(this);const t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].traverse(e)}traverseVisible(e){if(!1===this.visible)return;e(this);const t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].traverseVisible(e)}traverseAncestors(e){const t=this.parent;null!==t&&(e(t),t.traverseAncestors(e))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(e){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||e)&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,e=!0);const t=this.children;for(let n=0,r=t.length;n<r;n++){const r=t[n];!0!==r.matrixWorldAutoUpdate&&!0!==e||r.updateMatrixWorld(e)}}updateWorldMatrix(e,t){const n=this.parent;if(!0===e&&null!==n&&!0===n.matrixWorldAutoUpdate&&n.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),!0===t){const e=this.children;for(let t=0,n=e.length;t<n;t++){const n=e[t];!0===n.matrixWorldAutoUpdate&&n.updateWorldMatrix(!1,!0)}}}toJSON(e){const t=void 0===e||"string"==typeof e,n={};t&&(e={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.6,type:"Object",generator:"Object3D.toJSON"});const r={};function i(t,n){return void 0===t[n.uuid]&&(t[n.uuid]=n.toJSON(e)),n.uuid}if(r.uuid=this.uuid,r.type=this.type,""!==this.name&&(r.name=this.name),!0===this.castShadow&&(r.castShadow=!0),!0===this.receiveShadow&&(r.receiveShadow=!0),!1===this.visible&&(r.visible=!1),!1===this.frustumCulled&&(r.frustumCulled=!1),0!==this.renderOrder&&(r.renderOrder=this.renderOrder),Object.keys(this.userData).length>0&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),r.up=this.up.toArray(),!1===this.matrixAutoUpdate&&(r.matrixAutoUpdate=!1),this.isInstancedMesh&&(r.type="InstancedMesh",r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(r.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(r.type="BatchedMesh",r.perObjectFrustumCulled=this.perObjectFrustumCulled,r.sortObjects=this.sortObjects,r.drawRanges=this._drawRanges,r.reservedRanges=this._reservedRanges,r.visibility=this._visibility,r.active=this._active,r.bounds=this._bounds.map((e=>({boxInitialized:e.boxInitialized,boxMin:e.box.min.toArray(),boxMax:e.box.max.toArray(),sphereInitialized:e.sphereInitialized,sphereRadius:e.sphere.radius,sphereCenter:e.sphere.center.toArray()}))),r.maxGeometryCount=this._maxGeometryCount,r.maxVertexCount=this._maxVertexCount,r.maxIndexCount=this._maxIndexCount,r.geometryInitialized=this._geometryInitialized,r.geometryCount=this._geometryCount,r.matricesTexture=this._matricesTexture.toJSON(e),null!==this._colorsTexture&&(r.colorsTexture=this._colorsTexture.toJSON(e)),null!==this.boundingSphere&&(r.boundingSphere={center:r.boundingSphere.center.toArray(),radius:r.boundingSphere.radius}),null!==this.boundingBox&&(r.boundingBox={min:r.boundingBox.min.toArray(),max:r.boundingBox.max.toArray()})),this.isScene)this.background&&(this.background.isColor?r.background=this.background.toJSON():this.background.isTexture&&(r.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(r.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=i(e.geometries,this.geometry);const t=this.geometry.parameters;if(void 0!==t&&void 0!==t.shapes){const n=t.shapes;if(Array.isArray(n))for(let t=0,r=n.length;t<r;t++){const r=n[t];i(e.shapes,r)}else i(e.shapes,n)}}if(this.isSkinnedMesh&&(r.bindMode=this.bindMode,r.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(i(e.skeletons,this.skeleton),r.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){const t=[];for(let n=0,r=this.material.length;n<r;n++)t.push(i(e.materials,this.material[n]));r.material=t}else r.material=i(e.materials,this.material);if(this.children.length>0){r.children=[];for(let t=0;t<this.children.length;t++)r.children.push(this.children[t].toJSON(e).object)}if(this.animations.length>0){r.animations=[];for(let t=0;t<this.animations.length;t++){const n=this.animations[t];r.animations.push(i(e.animations,n))}}if(t){const t=a(e.geometries),r=a(e.materials),i=a(e.textures),o=a(e.images),u=a(e.shapes),s=a(e.skeletons),l=a(e.animations),c=a(e.nodes);t.length>0&&(n.geometries=t),r.length>0&&(n.materials=r),i.length>0&&(n.textures=i),o.length>0&&(n.images=o),u.length>0&&(n.shapes=u),s.length>0&&(n.skeletons=s),l.length>0&&(n.animations=l),c.length>0&&(n.nodes=c)}return n.object=r,n;function a(e){const t=[];for(const n in e){const r=e[n];delete r.metadata,t.push(r)}return t}}clone(e){return(new this.constructor).copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),!0===t)for(let t=0;t<e.children.length;t++){const n=e.children[t];this.add(n.clone())}return this}}Ni.DEFAULT_UP=new Pr(0,1,0),Ni.DEFAULT_MATRIX_AUTO_UPDATE=!0,Ni.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0;const Li=new Pr,Oi=new Pr,ki=new Pr,Ui=new Pr,zi=new Pr,Vi=new Pr,Wi=new Pr,Hi=new Pr,Gi=new Pr,ji=new Pr;class Xi{constructor(e=new Pr,t=new Pr,n=new Pr){this.a=e,this.b=t,this.c=n}static getNormal(e,t,n,r){r.subVectors(n,t),Li.subVectors(e,t),r.cross(Li);const i=r.lengthSq();return i>0?r.multiplyScalar(1/Math.sqrt(i)):r.set(0,0,0)}static getBarycoord(e,t,n,r,i){Li.subVectors(r,t),Oi.subVectors(n,t),ki.subVectors(e,t);const a=Li.dot(Li),o=Li.dot(Oi),u=Li.dot(ki),s=Oi.dot(Oi),l=Oi.dot(ki),c=a*s-o*o;if(0===c)return i.set(0,0,0),null;const h=1/c,d=(s*u-o*l)*h,p=(a*l-o*u)*h;return i.set(1-d-p,p,d)}static containsPoint(e,t,n,r){return null!==this.getBarycoord(e,t,n,r,Ui)&&(Ui.x>=0&&Ui.y>=0&&Ui.x+Ui.y<=1)}static getInterpolation(e,t,n,r,i,a,o,u){return null===this.getBarycoord(e,t,n,r,Ui)?(u.x=0,u.y=0,"z"in u&&(u.z=0),"w"in u&&(u.w=0),null):(u.setScalar(0),u.addScaledVector(i,Ui.x),u.addScaledVector(a,Ui.y),u.addScaledVector(o,Ui.z),u)}static isFrontFacing(e,t,n,r){return Li.subVectors(n,t),Oi.subVectors(e,t),Li.cross(Oi).dot(r)<0}set(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this}setFromPointsAndIndices(e,t,n,r){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[r]),this}setFromAttributeAndIndices(e,t,n,r){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,n),this.c.fromBufferAttribute(e,r),this}clone(){return(new this.constructor).copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return Li.subVectors(this.c,this.b),Oi.subVectors(this.a,this.b),.5*Li.cross(Oi).length()}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return Xi.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return Xi.getBarycoord(e,this.a,this.b,this.c,t)}getInterpolation(e,t,n,r,i){return Xi.getInterpolation(e,this.a,this.b,this.c,t,n,r,i)}containsPoint(e){return Xi.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return Xi.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){const n=this.a,r=this.b,i=this.c;let a,o;zi.subVectors(r,n),Vi.subVectors(i,n),Hi.subVectors(e,n);const u=zi.dot(Hi),s=Vi.dot(Hi);if(u<=0&&s<=0)return t.copy(n);Gi.subVectors(e,r);const l=zi.dot(Gi),c=Vi.dot(Gi);if(l>=0&&c<=l)return t.copy(r);const h=u*c-l*s;if(h<=0&&u>=0&&l<=0)return a=u/(u-l),t.copy(n).addScaledVector(zi,a);ji.subVectors(e,i);const d=zi.dot(ji),p=Vi.dot(ji);if(p>=0&&d<=p)return t.copy(i);const f=d*s-u*p;if(f<=0&&s>=0&&p<=0)return o=s/(s-p),t.copy(n).addScaledVector(Vi,o);const m=l*p-d*c;if(m<=0&&c-l>=0&&d-p>
vendor: 9,935 bytes, line 2
2=0)return Wi.subVectors(i,r),o=(c-l)/(c-l+(d-p)),t.copy(r).addScaledVector(Wi,o);const g=1/(m+f+h);return a=f*g,o=h*g,t.copy(n).addScaledVector(zi,a).addScaledVector(Vi,o)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}const Ki={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},qi={h:0,s:0,l:0},Ji={h:0,s:0,l:0};function Yi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+6*(t-e)*(2/3-n):e}class $i{constructor(e,t,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,n)}set(e,t,n){if(void 0===t&&void 0===n){const t=e;t&&t.isColor?this.copy(t):"number"==typeof t?this.setHex(t):"string"==typeof t&&this.setStyle(t)}else this.setRGB(e,t,n);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=Yt){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(255&e)/255,fr.toWorkingColorSpace(this,t),this}setRGB(e,t,n,r=fr.workingColorSpace){return this.r=e,this.g=t,this.b=n,fr.toWorkingColorSpace(this,r),this}setHSL(e,t,n,r=fr.workingColorSpace){if(e=Jn(e,1),t=qn(t,0,1),n=qn(n,0,1),0===t)this.r=this.g=this.b=n;else{const r=n<=.5?n*(1+t):n+t-n*t,i=2*n-r;this.r=Yi(i,r,e+1/3),this.g=Yi(i,r,e),this.b=Yi(i,r,e-1/3)}return fr.toWorkingColorSpace(this,r),this}setStyle(e,t=Yt){function n(t){void 0!==t&&parseFloat(t)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let r;if(r=/^(\w+)\(([^\)]*)\)/.exec(e)){let i;const a=r[1],o=r[2];switch(a){case"rgb":case"rgba":if(i=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return n(i[4]),this.setRGB(Math.min(255,parseInt(i[1],10))/255,Math.min(255,parseInt(i[2],10))/255,Math.min(255,parseInt(i[3],10))/255,t);if(i=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return n(i[4]),this.setRGB(Math.min(100,parseInt(i[1],10))/100,Math.min(100,parseInt(i[2],10))/100,Math.min(100,parseInt(i[3],10))/100,t);break;case"hsl":case"hsla":if(i=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return n(i[4]),this.setHSL(parseFloat(i[1])/360,parseFloat(i[2])/100,parseFloat(i[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(r=/^\#([A-Fa-f\d]+)$/.exec(e)){const n=r[1],i=n.length;if(3===i)return this.setRGB(parseInt(n.charAt(0),16)/15,parseInt(n.charAt(1),16)/15,parseInt(n.charAt(2),16)/15,t);if(6===i)return this.setHex(parseInt(n,16),t);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=Yt){const n=Ki[e.toLowerCase()];return void 0!==n?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=mr(e.r),this.g=mr(e.g),this.b=mr(e.b),this}copyLinearToSRGB(e){return this.r=gr(e.r),this.g=gr(e.g),this.b=gr(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=Yt){return fr.fromWorkingColorSpace(Qi.copy(this),e),65536*Math.round(qn(255*Qi.r,0,255))+256*Math.round(qn(255*Qi.g,0,255))+Math.round(qn(255*Qi.b,0,255))}getHexString(e=Yt){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=fr.workingColorSpace){fr.fromWorkingColorSpace(Qi.copy(this),t);const n=Qi.r,r=Qi.g,i=Qi.b,a=Math.max(n,r,i),o=Math.min(n,r,i);let u,s;const l=(o+a)/2;if(o===a)u=0,s=0;else{const e=a-o;switch(s=l<=.5?e/(a+o):e/(2-a-o),a){case n:u=(r-i)/e+(r<i?6:0);break;case r:u=(i-n)/e+2;break;case i:u=(n-r)/e+4}u/=6}return e.h=u,e.s=s,e.l=l,e}getRGB(e,t=fr.workingColorSpace){return fr.fromWorkingColorSpace(Qi.copy(this),t),e.r=Qi.r,e.g=Qi.g,e.b=Qi.b,e}getStyle(e=Yt){fr.fromWorkingColorSpace(Qi.copy(this),e);const t=Qi.r,n=Qi.g,r=Qi.b;return e!==Yt?`color(${e} ${t.toFixed(3)} ${n.toFixed(3)} ${r.toFixed(3)})`:`rgb(${Math.round(255*t)},${Math.round(255*n)},${Math.round(255*r)})`}offsetHSL(e,t,n){return this.getHSL(qi),this.setHSL(qi.h+e,qi.s+t,qi.l+n)}add(e){return this.r+=e.r,this.g+=e.g,this.b+=e.b,this}addColors(e,t){return this.r=e.r+t.r,this.g=e.g+t.g,this.b=e.b+t.b,this}addScalar(e){return this.r+=e,this.g+=e,this.b+=e,this}sub(e){return this.r=Math.max(0,this.r-e.r),this.g=Math.max(0,this.g-e.g),this.b=Math.max(0,this.b-e.b),this}multiply(e){return this.r*=e.r,this.g*=e.g,this.b*=e.b,this}multiplyScalar(e){return this.r*=e,this.g*=e,this.b*=e,this}lerp(e,t){return this.r+=(e.r-this.r)*t,this.g+=(e.g-this.g)*t,this.b+=(e.b-this.b)*t,this}lerpColors(e,t,n){return this.r=e.r+(t.r-e.r)*n,this.g=e.g+(t.g-e.g)*n,this.b=e.b+(t.b-e.b)*n,this}lerpHSL(e,t){this.getHSL(qi),e.getHSL(Ji);const n=Yn(qi.h,Ji.h,t),r=Yn(qi.s,Ji.s,t),i=Yn(qi.l,Ji.l,t);return this.setHSL(n,r,i),this}setFromVector3(e){return this.r=e.x,this.g=e.y,this.b=e.z,this}applyMatrix3(e){const t=this.r,n=this.g,r=this.b,i=e.elements;return this.r=i[0]*t+i[3]*n+i[6]*r,this.g=i[1]*t+i[4]*n+i[7]*r,this.b=i[2]*t+i[5]*n+i[8]*r,this}equals(e){return e.r===this.r&&e.g===this.g&&e.b===this.b}fromArray(e,t=0){return this.r=e[t],this.g=e[t+1],this.b=e[t+2],this}toArray(e=[],t=0){return e[t]=this.r,e[t+1]=this.g,e[t+2]=this.b,e}fromBufferAttribute(e,t){return this.r=e.getX(t),this.g=e.getY(t),this.b=e.getZ(t),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}const Qi=new $i;$i.NAMES=Ki;let Zi=0;class ea extends Wn{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:Zi++}),this.uuid=Kn(),this.name="",this.type="Material",this.blending=D,this.side=f,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.alphaHash=!1,this.blendSrc=P,this.blendDst=R,this.blendEquation=C,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.blendColor=new $i(0,0,0),this.blendAlpha=0,this.depthFunc=X,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=yn,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=on,this.stencilZFail=on,this.stencilZPass=on,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.forceSinglePass=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(e){this._alphaTest>0!=e>0&&this.version++,this._alphaTest=e}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(void 0!==e)for(const t in e){const n=e[t];if(void 0===n){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}const r=this[t];void 0!==r?r&&r.isColor?r.set(n):r&&r.isVector3&&n&&n.isVector3?r.copy(n):this[t]=n:console.warn(`THREE.Material: '${t}' is not a property of THREE.${this.type}.`)}}toJSON(e){const t=void 0===e||"string"==typeof e;t&&(e={textures:{},images:{}});const n={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};function r(e){const t=[];for(const n in e){const r=e[n];delete r.metadata,t.push(r)}return t}
vendor: 5,422 bytes, line 2
2if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),void 0!==this.sheen&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),void 0!==this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.dispersion&&(n.dispersion=this.dispersion),void 0!==this.iridescence&&(n.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(n.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),void 0!==this.anisotropy&&(n.anisotropy=this.anisotropy),void 0!==this.anisotropyRotation&&(n.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(n.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(e).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(e).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(e).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(e).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(e).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(e).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapRotation&&(n.envMapRotation=this.envMapRotation.toArray()),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),void 0!==this.transmission&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(e).uuid),void 0!==this.thickness&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(e).uuid),void 0!==this.attenuationDistance&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(n.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==D&&(n.blending=this.blending),this.side!==f&&(n.side=this.side),!0===this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=!0),this.blendSrc!==P&&(n.blendSrc=this.blendSrc),this.blendDst!==R&&(n.blendDst=this.blendDst),this.blendEquation!==C&&(n.blendEquation=this.blendEquation),null!==this.blendSrcAlpha&&(n.blendSrcAlpha=this.blendSrcAlpha),null!==this.blendDstAlpha&&
vendor: 14,208 bytes, line 2
2(n.blendDstAlpha=this.blendDstAlpha),null!==this.blendEquationAlpha&&(n.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(n.blendColor=this.blendColor.getHex()),0!==this.blendAlpha&&(n.blendAlpha=this.blendAlpha),this.depthFunc!==X&&(n.depthFunc=this.depthFunc),!1===this.depthTest&&(n.depthTest=this.depthTest),!1===this.depthWrite&&(n.depthWrite=this.depthWrite),!1===this.colorWrite&&(n.colorWrite=this.colorWrite),255!==this.stencilWriteMask&&(n.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==yn&&(n.stencilFunc=this.stencilFunc),0!==this.stencilRef&&(n.stencilRef=this.stencilRef),255!==this.stencilFuncMask&&(n.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==on&&(n.stencilFail=this.stencilFail),this.stencilZFail!==on&&(n.stencilZFail=this.stencilZFail),this.stencilZPass!==on&&(n.stencilZPass=this.stencilZPass),!0===this.stencilWrite&&(n.stencilWrite=this.stencilWrite),void 0!==this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaHash&&(n.alphaHash=!0),!0===this.alphaToCoverage&&(n.alphaToCoverage=!0),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=!0),!0===this.forceSinglePass&&(n.forceSinglePass=!0),!0===this.wireframe&&(n.wireframe=!0),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(n.flatShading=!0),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),!1===this.fog&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData),t){const t=r(e.textures),i=r(e.images);t.length>0&&(n.textures=t),i.length>0&&(n.images=i)}return n}clone(){return(new this.constructor).copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const t=e.clippingPlanes;let n=null;if(null!==t){const e=t.length;n=new Array(e);for(let r=0;r!==e;++r)n[r]=t[r].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){!0===e&&this.version++}}class ta extends ea{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new $i(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Di,this.combine=$,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const na=ra();function ra(){const e=new ArrayBuffer(4),t=new Float32Array(e),n=new Uint32Array(e),r=new Uint32Array(512),i=new Uint32Array(512);for(let e=0;e<256;++e){const t=e-127;t<-27?(r[e]=0,r[256|e]=32768,i[e]=24,i[256|e]=24):t<-14?(r[e]=1024>>-t-14,r[256|e]=1024>>-t-14|32768,i[e]=-t-1,i[256|e]=-t-1):t<=15?(r[e]=t+15<<10,r[256|e]=t+15<<10|32768,i[e]=13,i[256|e]=13):t<128?(r[e]=31744,r[256|e]=64512,i[e]=24,i[256|e]=24):(r[e]=31744,r[256|e]=64512,i[e]=13,i[256|e]=13)}const a=new Uint32Array(2048),o=new Uint32Array(64),u=new Uint32Array(64);for(let e=1;e<1024;++e){let t=e<<13,n=0;for(;!(8388608&t);)t<<=1,n-=8388608;t&=-8388609,n+=947912704,a[e]=t|n}for(let e=1024;e<2048;++e)a[e]=939524096+(e-1024<<13);for(let e=1;e<31;++e)o[e]=e<<23;o[31]=1199570944,o[32]=2147483648;for(let e=33;e<63;++e)o[e]=2147483648+(e-32<<23);o[63]=3347054592;for(let e=1;e<64;++e)32!==e&&(u[e]=1024);return{floatView:t,uint32View:n,baseTable:r,shiftTable:i,mantissaTable:a,exponentTable:o,offsetTable:u}}function ia(e){Math.abs(e)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),e=qn(e,-65504,65504),na.floatView[0]=e;const t=na.uint32View[0],n=t>>23&511;return na.baseTable[n]+((8388607&t)>>na.shiftTable[n])}function aa(e){const t=e>>10;return na.uint32View[0]=na.mantissaTable[na.offsetTable[t]+(1023&e)]+na.exponentTable[t],na.floatView[0]}const oa={toHalfFloat:ia,fromHalfFloat:aa},ua=new Pr,sa=new er;class la{constructor(e,t,n=!1){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=t,this.count=void 0!==e?e.length/t:0,this.normalized=n,this.usage=wn,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.gpuType=Ne,this.version=0}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}get updateRange(){return lr("THREE.BufferAttribute: updateRange() is deprecated and will be removed in r169. Use addUpdateRange() instead."),this._updateRange}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,n){e*=this.itemSize,n*=t.itemSize;for(let r=0,i=this.itemSize;r<i;r++)this.array[e+r]=t.array[n+r];return this}copyArray(e){return this.array.set(e),this}applyMatrix3(e){if(2===this.itemSize)for(let t=0,n=this.count;t<n;t++)sa.fromBufferAttribute(this,t),sa.applyMatrix3(e),this.setXY(t,sa.x,sa.y);else if(3===this.itemSize)for(let t=0,n=this.count;t<n;t++)ua.fromBufferAttribute(this,t),ua.applyMatrix3(e),this.setXYZ(t,ua.x,ua.y,ua.z);return this}applyMatrix4(e){for(let t=0,n=this.count;t<n;t++)ua.fromBufferAttribute(this,t),ua.applyMatrix4(e),this.setXYZ(t,ua.x,ua.y,ua.z);return this}applyNormalMatrix(e){for(let t=0,n=this.count;t<n;t++)ua.fromBufferAttribute(this,t),ua.applyNormalMatrix(e),this.setXYZ(t,ua.x,ua.y,ua.z);return this}transformDirection(e){for(let t=0,n=this.count;t<n;t++)ua.fromBufferAttribute(this,t),ua.transformDirection(e),this.setXYZ(t,ua.x,ua.y,ua.z);return this}set(e,t=0){return this.array.set(e,t),this}getComponent(e,t){let n=this.array[e*this.itemSize+t];return this.normalized&&(n=$n(n,this.array)),n}setComponent(e,t,n){return this.normalized&&(n=Qn(n,this.array)),this.array[e*this.itemSize+t]=n,this}getX(e){let t=this.array[e*this.itemSize];return this.normalized&&(t=$n(t,this.array)),t}setX(e,t){return this.normalized&&(t=Qn(t,this.array)),this.array[e*this.itemSize]=t,this}getY(e){let t=this.array[e*this.itemSize+1];return this.normalized&&(t=$n(t,this.array)),t}setY(e,t){return this.normalized&&(t=Qn(t,this.array)),this.array[e*this.itemSize+1]=t,this}getZ(e){let t=this.array[e*this.itemSize+2];return this.normalized&&(t=$n(t,this.array)),t}setZ(e,t){return this.normalized&&(t=Qn(t,this.array)),this.array[e*this.itemSize+2]=t,this}getW(e){let t=this.array[e*this.itemSize+3];return this.normalized&&(t=$n(t,this.array)),t}setW(e,t){return this.normalized&&(t=Qn(t,this.array)),this.array[e*this.itemSize+3]=t,this}setXY(e,t,n){return e*=this.itemSize,this.normalized&&(t=Qn(t,this.array),n=Qn(n,this.array)),this.array[e+0]=t,this.array[e+1]=n,this}setXYZ(e,t,n,r){return e*=this.itemSize,this.normalized&&(t=Qn(t,this.array),n=Qn(n,this.array),r=Qn(r,this.array)),this.array[e+0]=t,this.array[e+1]=n,this.array[e+2]=r,this}setXYZW(e,t,n,r,i){return e*=this.itemSize,this.normalized&&(t=Qn(t,this.array),n=Qn(n,this.array),r=Qn(r,this.array),i=Qn(i,this.array)),this.array[e+0]=t,this.array[e+1]=n,this.array[e+2]=r,this.array[e+3]=i,this}onUpload(e){return this.onUploadCallback=e,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const e={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return""!==this.name&&(e.name=this.name),this.usage!==wn&&(e.usage=this.usage),e}}class ca extends la{constructor(e,t,n){super(new Int8Array(e),t,n)}}class ha extends la{constructor(e,t,n){super(new Uint8Array(e),t,n)}}class da extends la{constructor(e,t,n){super(new Uint8ClampedArray(e),t,n)}}class pa extends la{constructor(e,t,n){super(new Int16Array(e),t,n)}}class fa extends la{constructor(e,t,n){super(new Uint16Array(e),t,n)}}class ma extends la{constructor(e,t,n){super(new Int32Array(e),t,n)}}class ga extends la{constructor(e,t,n){super(new Uint32Array(e),t,n)}}class _a extends la{constructor(e,t,n){super(new Uint16Array(e),t,n),this.isFloat16BufferAttribute=!0}getX(e){let t=aa(this.array[e*this.itemSize]);return this.normalized&&(t=$n(t,this.array)),t}setX(e,t){return this.normalized&&(t=Qn(t,this.array)),this.array[e*this.itemSize]=ia(t),this}getY(e){let t=aa(this.array[e*this.itemSize+1]);return this.normalized&&(t=$n(t,this.array)),t}setY(e,t){return this.normalized&&(t=Qn(t,this.array)),this.array[e*this.itemSize+1]=ia(t),this}getZ(e){let t=aa(this.array[e*this.itemSize+2]);return this.normalized&&(t=$n(t,this.array)),t}setZ(e,t){return this.normalized&&(t=Qn(t,this.array)),this.array[e*this.itemSize+2]=ia(t),this}getW(e){let t=aa(this.array[e*this.itemSize+3]);return this.normalized&&(t=$n(t,this.array)),t}setW(e,t){return this.normalized&&(t=Qn(t,this.array)),this.array[e*this.itemSize+3]=ia(t),this}setXY(e,t,n){return e*=this.itemSize,this.normalized&&(t=Qn(t,this.array),n=Qn(n,this.array)),this.array[e+0]=ia(t),this.array[e+1]=ia(n),this}setXYZ(e,t,n,r){return e*=this.itemSize,this.normalized&&(t=Qn(t,this.array),n=Qn(n,this.array),r=Qn(r,this.array)),this.array[e+0]=ia(t),this.array[e+1]=ia(n),this.array[e+2]=ia(r),this}setXYZW(e,t,n,r,i){return e*=this.itemSize,this.normalized&&(t=Qn(t,this.array),n=Qn(n,this.array),r=Qn(r,this.array),i=Qn(i,this.array)),this.array[e+0]=ia(t),this.array[e+1]=ia(n),this.array[e+2]=ia(r),this.array[e+3]=ia(i),this}}class Da extends la{constructor(e,t,n){super(new Float32Array(e),t,n)}}let va=0;const ya=new si,Ea=new Ni,Aa=new Pr,Ca=new Nr,Fa=new Nr,ba=new Pr;class Sa extends Wn{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:va++}),this.uuid=Kn(),this.name="",this.type="BufferGeometry",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(e){return Array.isArray(e)?this.index=new(rr(e)?ga:fa)(e,1):this.index=e,this}getAttribute(e){return this.attributes[e]}setAttribute(e,t){return this.attributes[e]=t,this}deleteAttribute(e){return delete this.attributes[e],this}hasAttribute(e){return void 0!==this.attributes[e]}addGroup(e,t,n=0){this.groups.push({start:e,count:t,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(e,t){this.drawRange.start=e,this.drawRange.count=t}applyMatrix4(e){const t=this.attributes.position;void 0!==t&&(t.applyMatrix4(e),t.needsUpdate=!0);const n=this.attributes.normal;if(void 0!==n){const t=(new tr).getNormalMatrix(e);n.applyNormalMatrix(t),n.needsUpdate=!0}const r=this.attributes.tangent;return void 0!==r&&(r.transformDirection(e),r.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}applyQuaternion(e){return ya.makeRotationFromQuaternion(e),this.applyMatrix4(ya),this}rotateX(e){return ya.makeRotationX(e),this.applyMatrix4(ya),this}rotateY(e){return ya.makeRotationY(e),this.applyMatrix4(ya),this}rotateZ(e){return ya.makeRotationZ(e),this.applyMatrix4(ya),this}translate(e,t,n){return ya.makeTranslation(e,t,n),this.applyMatrix4(ya),this}scale(e,t,n){return ya.makeScale(e,t,n),this.applyMatrix4(ya),this}lookAt(e){return Ea.lookAt(e),Ea.updateMatrix(),this.applyMatrix4(Ea.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(Aa).negate(),this.translate(Aa.x,Aa.y,Aa.z),this}setFromPoints(e){const t=[];for(let n=0,r=e.length;n<r;n++){const r=e[n];t.push(r.x,r.y,r.z||0)}return this.setAttribute("position",new Da(t,3)),this}
vendor: 5,974 bytes, line 2
2computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new Nr);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),void this.boundingBox.set(new Pr(-1/0,-1/0,-1/0),new Pr(1/0,1/0,1/0));if(void 0!==e){if(this.boundingBox.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e<n;e++){const n=t[e];Ca.setFromBufferAttribute(n),this.morphTargetsRelative?(ba.addVectors(this.boundingBox.min,Ca.min),this.boundingBox.expandByPoint(ba),ba.addVectors(this.boundingBox.max,Ca.max),this.boundingBox.expandByPoint(ba)):(this.boundingBox.expandByPoint(Ca.min),this.boundingBox.expandByPoint(Ca.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new Zr);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere.",this),void this.boundingSphere.set(new Pr,1/0);if(e){const n=this.boundingSphere.center;if(Ca.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e<n;e++){const n=t[e];Fa.setFromBufferAttribute(n),this.morphTargetsRelative?(ba.addVectors(Ca.min,Fa.min),Ca.expandByPoint(ba),ba.addVectors(Ca.max,Fa.max),Ca.expandByPoint(ba)):(Ca.expandByPoint(Fa.min),Ca.expandByPoint(Fa.max))}Ca.getCenter(n);let r=0;for(let t=0,i=e.count;t<i;t++)ba.fromBufferAttribute(e,t),r=Math.max(r,n.distanceToSquared(ba));if(t)for(let i=0,a=t.length;i<a;i++){const a=t[i],o=this.morphTargetsRelative;for(let t=0,i=a.count;t<i;t++)ba.fromBufferAttribute(a,t),o&&(Aa.fromBufferAttribute(e,t),ba.add(Aa)),r=Math.max(r,n.distanceToSquared(ba))}this.boundingSphere.radius=Math.sqrt(r),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}}computeTangents(){const e=this.index,t=this.attributes;if(null===e||void 0===t.position||void 0===t.normal||void 0===t.uv)return void console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");const n=t.position,r=t.normal,i=t.uv;!1===this.hasAttribute("tangent")&&this.setAttribute("tangent",new la(new Float32Array(4*n.count),4));const a=this.getAttribute("tangent"),o=[],u=[];for(let e=0;e<n.count;e++)o[e]=new Pr,u[e]=new Pr;const s=new Pr,l=new Pr,c=new Pr,h=new er,d=new er,p=new er,f=new Pr,m=new Pr;function g(e,t,r){s.fromBufferAttribute(n,e),l.fromBufferAttribute(n,t),c.fromBufferAttribute(n,r),h.fromBufferAttribute(i,e),d.fromBufferAttribute(i,t),p.fromBufferAttribute(i,r),l.sub(s),c.sub(s),d.sub(h),p.sub(h);const a=1/(d.x*p.y-p.x*d.y);isFinite(a)&&(f.copy(l).multiplyScalar(p.y).addScaledVector(c,-d.y).multiplyScalar(a),m.copy(c).multiplyScalar(d.x).addScaledVector(l,-p.x).multiplyScalar(a),o[e].add(f),o[t].add(f),o[r].add(f),u[e].add(m),u[t].add(m),u[r].add(m))}let _=this.groups;0===_.length&&(_=[{start:0,count:e.count}]);for(let t=0,n=_.length;t<n;++t){const n=_[t],r=n.start;for(let t=r,i=r+n.count;t<i;t+=3)g(e.getX(t+0),e.getX(t+1),e.getX(t+2))}const D=new Pr,v=new Pr,y=new Pr,E=new Pr;function A(e){y.fromBufferAttribute(r,e),E.copy(y);const t=o[e];D.copy(t),D.sub(y.multiplyScalar(y.dot(t))).normalize(),v.crossVectors(E,t);const n=v.dot(u[e])<0?-1:1;a.setXYZW(e,D.x,D.y,D.z,n)}for(let t=0,n=_.length;t<n;++t){const n=_[t],r=n.start;for(let t=r,i=r+n.count;t<i;t+=3)A(e.getX(t+0)),A(e.getX(t+1)),A(e.getX(t+2))}}computeVertexNormals(){const e=this.index,t=this.getAttribute("position");if(void 0!==t){let n=this.getAttribute("normal");if(void 0===n)n=new la(new Float32Array(3*t.count),3),this.setAttribute("normal",n);else for(let e=0,t=n.count;e<t;e++)n.setXYZ(e,0,0,0);const r=new Pr,i=new Pr,a=new Pr,o=new Pr,u=new Pr,s=new Pr,l=new Pr,c=new Pr;if(e)for(let h=0,d=e.count;h<d;h+=3){const d=e.getX(h+0),p=e.getX(h+1),f=e.getX(h+2);r.fromBufferAttribute(t,d),i.fromBufferAttribute(t,p),a.fromBufferAttribute(t,f),l.subVectors(a,i),c.subVectors(r,i),l.cross(c),o.fromBufferAttribute(n,d),u.fromBufferAttribute(n,p),s.fromBufferAttribute(n,f),o.add(l),u.add(l),s.add(l),n.setXYZ(d,o.x,o.y,o.z),n.setXYZ(p,u.x,u.y,u.z),n.setXYZ(f,s.x,s.y,s.z)}else for(let e=0,o=t.count;e<o;e+=3)r.fromBufferAttribute(t,e+0),i.fromBufferAttribute(t,e+1),a.fromBufferAttribute(t,e+2),l.subVectors(a,i),c.subVectors(r,i),l.cross(c),n.setXYZ(e+0,l.x,l.y,l.z),n.setXYZ(e+1,l.x,l.y,l.z),n.setXYZ(e+2,l.x,l.y,l.z);this.normalizeNormals(),n.needsUpdate=!0}}normalizeNormals(){const e=this.attributes.normal;for(let t=0,n=e.count;t<n;t++)ba.fromBufferAttribute(e,t),ba.normalize(),e.setXYZ(t,ba.x,ba.y,ba.z)}toNonIndexed(){function e(e,t){const n=e.array,r=e.itemSize,i=e.normalized,a=new n.constructor(t.length*r);let o=0,u=0;for(let i=0,s=t.length;i<s;i++){o=e.isInterleavedBufferAttribute?t[i]*e.data.stride+e.offset:t[i]*r;for(let e=0;e<r;e++)a[u++]=n[o++]}return new la(a,r,i)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;const t=new Sa,n=this.index.array,r=this.attributes;for(const i in r){const a=e(r[i],n);t.setAttribute(i,a)}const i=this.morphAttributes;for(const r in i){const a=[],o=i[r];for(let t=0,r=o.length;t<r;t++){const r=e(o[t],n);a.push(r)}t.morphAttributes[r]=a}t.morphTargetsRelative=this.morphTargetsRelative;const a=this.groups;for(let e=0,n=a.length;e<n;e++){const n=a[e];t.addGroup(n.start,n.count,n.materialIndex)}return t}toJSON(){const e={metadata:{version:4.6,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};
vendor: 11,528 bytes, line 2
2if(e.uuid=this.uuid,e.type=this.type,""!==this.name&&(e.name=this.name),Object.keys(this.userData).length>0&&(e.userData=this.userData),void 0!==this.parameters){const t=this.parameters;for(const n in t)void 0!==t[n]&&(e[n]=t[n]);return e}e.data={attributes:{}};const t=this.index;null!==t&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const n=this.attributes;for(const t in n){const r=n[t];e.data.attributes[t]=r.toJSON(e.data)}const r={};let i=!1;for(const t in this.morphAttributes){const n=this.morphAttributes[t],a=[];for(let t=0,r=n.length;t<r;t++){const r=n[t];a.push(r.toJSON(e.data))}a.length>0&&(r[t]=a,i=!0)}i&&(e.data.morphAttributes=r,e.data.morphTargetsRelative=this.morphTargetsRelative);const a=this.groups;a.length>0&&(e.data.groups=JSON.parse(JSON.stringify(a)));const o=this.boundingSphere;return null!==o&&(e.data.boundingSphere={center:o.center.toArray(),radius:o.radius}),e}clone(){return(new this.constructor).copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const t={};this.name=e.name;const n=e.index;null!==n&&this.setIndex(n.clone(t));const r=e.attributes;for(const e in r){const n=r[e];this.setAttribute(e,n.clone(t))}const i=e.morphAttributes;for(const e in i){const n=[],r=i[e];for(let e=0,i=r.length;e<i;e++)n.push(r[e].clone(t));this.morphAttributes[e]=n}this.morphTargetsRelative=e.morphTargetsRelative;const a=e.groups;for(let e=0,t=a.length;e<t;e++){const t=a[e];this.addGroup(t.start,t.count,t.materialIndex)}const o=e.boundingBox;null!==o&&(this.boundingBox=o.clone());const u=e.boundingSphere;return null!==u&&(this.boundingSphere=u.clone()),this.drawRange.start=e.drawRange.start,this.drawRange.count=e.drawRange.count,this.userData=e.userData,this}dispose(){this.dispatchEvent({type:"dispose"})}}const xa=new si,Ba=new ui,wa=new Zr,Ma=new Pr,Ta=new Pr,Pa=new Pr,Ra=new Pr,Ia=new Pr,Na=new Pr,La=new er,Oa=new er,ka=new er,Ua=new Pr,za=new Pr,Va=new Pr,Wa=new Pr,Ha=new Pr;class Ga extends Ni{constructor(e=new Sa,t=new ta){super(),this.isMesh=!0,this.type="Mesh",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),void 0!==e.morphTargetInfluences&&(this.morphTargetInfluences=e.morphTargetInfluences.slice()),void 0!==e.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},e.morphTargetDictionary)),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}updateMorphTargets(){const e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){const n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;e<t;e++){const t=n[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}getVertexPosition(e,t){const n=this.geometry,r=n.attributes.position,i=n.morphAttributes.position,a=n.morphTargetsRelative;t.fromBufferAttribute(r,e);const o=this.morphTargetInfluences;if(i&&o){Na.set(0,0,0);for(let n=0,r=i.length;n<r;n++){const r=o[n],u=i[n];0!==r&&(Ia.fromBufferAttribute(u,e),a?Na.addScaledVector(Ia,r):Na.addScaledVector(Ia.sub(t),r))}t.add(Na)}return t}raycast(e,t){const n=this.geometry,r=this.material,i=this.matrixWorld;if(void 0!==r){if(null===n.boundingSphere&&n.computeBoundingSphere(),wa.copy(n.boundingSphere),wa.applyMatrix4(i),Ba.copy(e.ray).recast(e.near),!1===wa.containsPoint(Ba.origin)){if(null===Ba.intersectSphere(wa,Ma))return;if(Ba.origin.distanceToSquared(Ma)>(e.far-e.near)**2)return}xa.copy(i).invert(),Ba.copy(e.ray).applyMatrix4(xa),null!==n.boundingBox&&!1===Ba.intersectsBox(n.boundingBox)||this._computeIntersections(e,t,Ba)}}_computeIntersections(e,t,n){let r;const i=this.geometry,a=this.material,o=i.index,u=i.attributes.position,s=i.attributes.uv,l=i.attributes.uv1,c=i.attributes.normal,h=i.groups,d=i.drawRange;if(null!==o)if(Array.isArray(a))for(let i=0,u=h.length;i<u;i++){const u=h[i],p=a[u.materialIndex];for(let i=Math.max(u.start,d.start),a=Math.min(o.count,Math.min(u.start+u.count,d.start+d.count));i<a;i+=3){r=ja(this,p,e,n,s,l,c,o.getX(i),o.getX(i+1),o.getX(i+2)),r&&(r.faceIndex=Math.floor(i/3),r.face.materialIndex=u.materialIndex,t.push(r))}}else{for(let i=Math.max(0,d.start),u=Math.min(o.count,d.start+d.count);i<u;i+=3){r=ja(this,a,e,n,s,l,c,o.getX(i),o.getX(i+1),o.getX(i+2)),r&&(r.faceIndex=Math.floor(i/3),t.push(r))}}else if(void 0!==u)if(Array.isArray(a))for(let i=0,o=h.length;i<o;i++){const o=h[i],p=a[o.materialIndex];for(let i=Math.max(o.start,d.start),a=Math.min(u.count,Math.min(o.start+o.count,d.start+d.count));i<a;i+=3){r=ja(this,p,e,n,s,l,c,i,i+1,i+2),r&&(r.faceIndex=Math.floor(i/3),r.face.materialIndex=o.materialIndex,t.push(r))}}else{for(let i=Math.max(0,d.start),o=Math.min(u.count,d.start+d.count);i<o;i+=3){r=ja(this,a,e,n,s,l,c,i,i+1,i+2),r&&(r.faceIndex=Math.floor(i/3),t.push(r))}}}}function ja(e,t,n,r,i,a,o,u,s,l){e.getVertexPosition(u,Ta),e.getVertexPosition(s,Pa),e.getVertexPosition(l,Ra);const c=function(e,t,n,r,i,a,o,u){let s;if(s=t.side===m?r.intersectTriangle(o,a,i,!0,u):r.intersectTriangle(i,a,o,t.side===f,u),null===s)return null;Ha.copy(u),Ha.applyMatrix4(e.matrixWorld);const l=n.ray.origin.distanceTo(Ha);return l<n.near||l>n.far?null:{distance:l,point:Ha.clone(),object:e}}(e,t,n,r,Ta,Pa,Ra,Wa);if(c){i&&(La.fromBufferAttribute(i,u),Oa.fromBufferAttribute(i,s),ka.fromBufferAttribute(i,l),c.uv=Xi.getInterpolation(Wa,Ta,Pa,Ra,La,Oa,ka,new er)),a&&(La.fromBufferAttribute(a,u),Oa.fromBufferAttribute(a,s),ka.fromBufferAttribute(a,l),c.uv1=Xi.getInterpolation(Wa,Ta,Pa,Ra,La,Oa,ka,new er)),o&&(Ua.fromBufferAttribute(o,u),za.fromBufferAttribute(o,s),Va.fromBufferAttribute(o,l),c.normal=Xi.getInterpolation(Wa,Ta,Pa,Ra,Ua,za,Va,new Pr),c.normal.dot(r.direction)>0&&c.normal.multiplyScalar(-1));const e={a:u,b:s,c:l,normal:new Pr,materialIndex:0};Xi.getNormal(Ta,Pa,Ra,e.normal),c.face=e}return c}class Xa extends Sa{constructor(e=1,t=1,n=1,r=1,i=1,a=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:n,widthSegments:r,heightSegments:i,depthSegments:a};const o=this;r=Math.floor(r),i=Math.floor(i),a=Math.floor(a);const u=[],s=[],l=[],c=[];let h=0,d=0;function p(e,t,n,r,i,a,p,f,m,g,_){const D=a/m,v=p/g,y=a/2,E=p/2,A=f/2,C=m+1,F=g+1;let b=0,S=0;const x=new Pr;for(let a=0;a<F;a++){const o=a*v-E;for(let u=0;u<C;u++){const h=u*D-y;x[e]=h*r,x[t]=o*i,x[n]=A,s.push(x.x,x.y,x.z),x[e]=0,x[t]=0,x[n]=f>0?1:-1,l.push(x.x,x.y,x.z),c.push(u/m),c.push(1-a/g),b+=1}}for(let e=0;e<g;e++)for(let t=0;t<m;t++){const n=h+t+C*e,r=h+t+C*(e+1),i=h+(t+1)+C*(e+1),a=h+(t+1)+C*e;u.push(n,r,a),u.push(r,i,a),S+=6}o.addGroup(d,S,_),d+=S,h+=b}p("z","y","x",-1,-1,n,t,e,a,i,0),p("z","y","x",1,-1,n,t,-e,a,i,1),p("x","z","y",1,1,e,n,t,r,a,2),p("x","z","y",1,-1,e,n,-t,r,a,3),p("x","y","z",1,-1,e,t,n,r,i,4),p("x","y","z",-1,-1,e,t,-n,r,i,5),this.setIndex(u),this.setAttribute("position",new Da(s,3)),this.setAttribute("normal",new Da(l,3)),this.setAttribute("uv",new Da(c,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new Xa(e.width,e.height,e.depth,e.widthSegments,e.heightSegments,e.depthSegments)}}function Ka(e){const t={};for(const n in e){t[n]={};for(const r in e[n]){const i=e[n][r];i&&(i.isColor||i.isMatrix3||i.isMatrix4||i.isVector2||i.isVector3||i.isVector4||i.isTexture||i.isQuaternion)?i.isRenderTargetTexture?(console.warn("UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms()."),t[n][r]=null):t[n][r]=i.clone():Array.isArray(i)?t[n][r]=i.slice():t[n][r]=i}}return t}function qa(e){const t={};for(let n=0;n<e.length;n++){const r=Ka(e[n]);for(const e in r)t[e]=r[e]}return t}function Ja(e){const t=e.getRenderTarget();return null===t?e.outputColorSpace:!0===t.isXRRenderTarget?t.texture.colorSpace:fr.workingColorSpace}const Ya={clone:Ka,merge:qa};class $a extends ea{constructor(e){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",this.fragmentShader="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}",this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.forceSinglePass=!0,this.extensions={clipCullDistance:!1,multiDraw:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv1:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,void 0!==e&&this.setValues(e)}copy(e){return super.copy(e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=Ka(e.uniforms),this.uniformsGroups=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n].clone());return t}(e.uniformsGroups),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 n in this.uniforms){const r=this.uniforms[n].value;r&&r.isTexture?t.uniforms[n]={type:"t",value:r.toJSON(e).uuid}:r&&r.isColor?t.uniforms[n]={type:"c",value:r.getHex()}:r&&r.isVector2?t.uniforms[n]={type:"v2",value:r.toArray()}:r&&r.isVector3?t.uniforms[n]={type:"v3",value:r.toArray()}:r&&r.isVector4?t.uniforms[n]={type:"v4",value:r.toArray()}:r&&r.isMatrix3?t.uniforms[n]={type:"m3",value:r.toArray()}:r&&r.isMatrix4?t.uniforms[n]={type:"m4",value:r.toArray()}:t.uniforms[n]={value:r}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;const n={};for(const e in this.extensions)!0===this.extensions[e]&&(n[e]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}}class Qa extends Ni{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new si,this.projectionMatrix=new si,this.projectionMatrixInverse=new si,this.coordinateSystem=zn}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}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)}}const Za=new Pr,eo=new er,to=new er;class no extends Qa{constructor(e=50,t=1,n=.1,r=2e3){super(),this.isPerspectiveCamera=!0,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=null===e.view?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=2*Xn*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(.5*jn*this.fov);return.5*this.getFilmHeight()/e}
vendor: 4,365 bytes, line 2
2getEffectiveFOV(){return 2*Xn*Math.atan(Math.tan(.5*jn*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(e,t,n){Za.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),t.set(Za.x,Za.y).multiplyScalar(-e/Za.z),Za.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),n.set(Za.x,Za.y).multiplyScalar(-e/Za.z)}getViewSize(e,t){return this.getViewBounds(e,eo,to),t.subVectors(to,eo)}setViewOffset(e,t,n,r,i,a){this.aspect=e/t,null===this.view&&(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=i,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(.5*jn*this.fov)/this.zoom,n=2*t,r=this.aspect*n,i=-.5*r;const a=this.view;if(null!==this.view&&this.view.enabled){const e=a.fullWidth,o=a.fullHeight;i+=a.offsetX*r/e,t-=a.offsetY*n/o,r*=a.width/e,n*=a.height/o}const o=this.filmOffset;0!==o&&(i+=e*o/this.getFilmWidth()),this.projectionMatrix.makePerspective(i,i+r,t,t-n,e,this.far,this.coordinateSystem),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,null!==this.view&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}const ro=-90;class io extends Ni{constructor(e,t,n){super(),this.type="CubeCamera",this.renderTarget=n,this.coordinateSystem=null,this.activeMipmapLevel=0;const r=new no(ro,1,e,t);r.layers=this.layers,this.add(r);const i=new no(ro,1,e,t);i.layers=this.layers,this.add(i);const a=new no(ro,1,e,t);a.layers=this.layers,this.add(a);const o=new no(ro,1,e,t);o.layers=this.layers,this.add(o);const u=new no(ro,1,e,t);u.layers=this.layers,this.add(u);const s=new no(ro,1,e,t);s.layers=this.layers,this.add(s)}updateCoordinateSystem(){const e=this.coordinateSystem,t=this.children.concat(),[n,r,i,a,o,u]=t;for(const e of t)this.remove(e);if(e===zn)n.up.set(0,1,0),n.lookAt(1,0,0),r.up.set(0,1,0),r.lookAt(-1,0,0),i.up.set(0,0,-1),i.lookAt(0,1,0),a.up.set(0,0,1),a.lookAt(0,-1,0),o.up.set(0,1,0),o.lookAt(0,0,1),u.up.set(0,1,0),u.lookAt(0,0,-1);else{if(e!==Vn)throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);n.up.set(0,-1,0),n.lookAt(-1,0,0),r.up.set(0,-1,0),r.lookAt(1,0,0),i.up.set(0,0,1),i.lookAt(0,1,0),a.up.set(0,0,-1),a.lookAt(0,-1,0),o.up.set(0,-1,0),o.lookAt(0,0,1),u.up.set(0,-1,0),u.lookAt(0,0,-1)}for(const e of t)this.add(e),e.updateMatrixWorld()}update(e,t){null===this.parent&&this.updateMatrixWorld();const{renderTarget:n,activeMipmapLevel:r}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());const[i,a,o,u,s,l]=this.children,c=e.getRenderTarget(),h=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),p=e.xr.enabled;e.xr.enabled=!1;const f=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,e.setRenderTarget(n,0,r),e.render(t,i),e.setRenderTarget(n,1,r),e.render(t,a),e.setRenderTarget(n,2,r),e.render(t,o),e.setRenderTarget(n,3,r),e.render(t,u),e.setRenderTarget(n,4,r),e.render(t,s),n.texture.generateMipmaps=f,e.setRenderTarget(n,5,r),e.render(t,l),e.setRenderTarget(c,h,d),e.xr.enabled=p,n.texture.needsPMREMUpdate=!0}}class ao extends Cr{constructor(e,t,n,r,i,a,o,u,s,l){super(e=void 0!==e?e:[],t=void 0!==t?t:he,n,r,i,a,o,u,s,l),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class oo extends Sr{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const n={width:e,height:e,depth:1},r=[n,n,n,n,n,n];this.texture=new ao(r,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=void 0!==t.generateMipmaps&&t.generateMipmaps,this.texture.minFilter=void 0!==t.minFilter?t.minFilter:Fe}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace
vendor: 5,753 bytes, line 2
2=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const n={uniforms:{tEquirect:{value:null}},vertexShader:"\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n\t\t\t\t\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t\t\t\t\t#include <begin_vertex>\n\t\t\t\t\t#include <project_vertex>\n\n\t\t\t\t}\n\t\t\t",fragmentShader:"\n\n\t\t\t\tuniform sampler2D tEquirect;\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\t#include <common>\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvec3 direction = normalize( vWorldDirection );\n\n\t\t\t\t\tvec2 sampleUV = equirectUv( direction );\n\n\t\t\t\t\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\n\t\t\t\t}\n\t\t\t"},r=new Xa(5,5,5),i=new $a({name:"CubemapFromEquirect",uniforms:Ka(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:m,blending:_});i.uniforms.tEquirect.value=t;const a=new Ga(r,i),o=t.minFilter;t.minFilter===xe&&(t.minFilter=Fe);return new io(1,10,this).update(e,a),t.minFilter=o,a.geometry.dispose(),a.material.dispose(),this}clear(e,t,n,r){const i=e.getRenderTarget();for(let i=0;i<6;i++)e.setRenderTarget(this,i),e.clear(t,n,r);e.setRenderTarget(i)}}const uo=new Pr,so=new Pr,lo=new tr;class co{constructor(e=new Pr(1,0,0),t=0){this.isPlane=!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=uo.subVectors(n,t).cross(so.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(e).addScaledVector(this.normal,-this.distanceToPoint(e))}intersectLine(e,t){const n=e.delta(uo),r=this.normal.dot(n);if(0===r)return 0===this.distanceToPoint(e.start)?t.copy(e.start):null;const i=-(e.start.dot(this.normal)+this.constant)/r;return i<0||i>1?null:t.copy(e.start).addScaledVector(n,i)}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||lo.getNormalMatrix(e),r=this.coplanarPoint(uo).applyMatrix4(e),i=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(i),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)}}const ho=new Zr,po=new Pr;class fo{constructor(e=new co,t=new co,n=new co,r=new co,i=new co,a=new co){this.planes=[e,t,n,r,i,a]}set(e,t,n,r,i,a){const o=this.planes;return o[0].copy(e),o[1].copy(t),o[2].copy(n),o[3].copy(r),o[4].copy(i),o[5].copy(a),this}copy(e){const t=this.planes;for(let n=0;n<6;n++)t[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e,t=zn){const n=this.planes,r=e.elements,i=r[0],a=r[1],o=r[2],u=r[3],s=r[4],l=r[5],c=r[6],h=r[7],d=r[8],p=r[9],f=r[10],m=r[11],g=r[12],_=r[13],D=r[14],v=r[15];if(n[0].setComponents(u-i,h-s,m-d,v-g).normalize(),n[1].setComponents(u+i,h+s,m+d,v+g).normalize(),n[2].setComponents(u+a,h+l,m+p,v+_).normalize(),n[3].setComponents(u-a,h-l,m-p,v-_).normalize(),n[4].setComponents(u-o,h-c,m-f,v-D).normalize(),t===zn)n[5].setComponents(u+o,h+c,m+f,v+D).normalize();else{if(t!==Vn)throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+t);n[5].setComponents(o,c,f,D).normalize()}return this}intersectsObject(e){if(void 0!==e.boundingSphere)null===e.boundingSphere&&e.computeBoundingSphere(),ho.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{const t=e.geometry;null===t.boundingSphere&&t.computeBoundingSphere(),ho.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(ho)}intersectsSprite(e){return ho.center.set(0,0,0),ho.radius=.7071067811865476,ho.applyMatrix4(e.matrixWorld),this.intersectsSphere(ho)}intersectsSphere(e){const t=this.planes,n=e.center,r=-e.radius;for(let e=0;e<6;e++){if(t[e].distanceToPoint(n)<r)return!1}return!0}intersectsBox(e){const t=this.planes;for(let n=0;n<6;n++){const r=t[n];if(po.x=r.normal.x>0?e.max.x:e.min.x,po.y=r.normal.y>0?e.max.y:e.min.y,po.z=r.normal.z>0?e.max.z:e.min.z,r.distanceToPoint(po)<0)return!1}return!0}containsPoint(e){const t=this.planes;for(let n=0;n<6;n++)if(t[n].distanceToPoint(e)<0)return!1;return!0}clone(){return(new this.constructor).copy(this)}}function mo(){let e=null,t=!1,n=null,r=null;function i(t,a){n(t,a),r=e.requestAnimationFrame(i)}return{start:function(){!0!==t&&null!==n&&(r=e.requestAnimationFrame(i),t=!0)},stop:function(){e.cancelAnimationFrame(r),t=!1},setAnimationLoop:function(e){n=e},setContext:function(t){e=t}}}function go(e){const t=new WeakMap;return{get:function(e){return e.isInterleavedBufferAttribute&&(e=e.data),t.get(e)},remove:function(n){n.isInterleavedBufferAttribute&&(n=n.data);const r=t.get(n);r&&(e.deleteBuffer(r.buffer),t.delete(n))},update:function(n,r){if(n.isGLBufferAttribute){const e=t.get(n);
vendor: 4,861 bytes, line 2
2return void((!e||e.version<n.version)&&t.set(n,{buffer:n.buffer,type:n.type,bytesPerElement:n.elementSize,version:n.version}))}n.isInterleavedBufferAttribute&&(n=n.data);const i=t.get(n);if(void 0===i)t.set(n,function(t,n){const r=t.array,i=t.usage,a=r.byteLength,o=e.createBuffer();let u;if(e.bindBuffer(n,o),e.bufferData(n,r,i),t.onUploadCallback(),r instanceof Float32Array)u=e.FLOAT;else if(r instanceof Uint16Array)u=t.isFloat16BufferAttribute?e.HALF_FLOAT:e.UNSIGNED_SHORT;else if(r instanceof Int16Array)u=e.SHORT;else if(r instanceof Uint32Array)u=e.UNSIGNED_INT;else if(r instanceof Int32Array)u=e.INT;else if(r instanceof Int8Array)u=e.BYTE;else if(r instanceof Uint8Array)u=e.UNSIGNED_BYTE;else{if(!(r instanceof Uint8ClampedArray))throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+r);u=e.UNSIGNED_BYTE}return{buffer:o,type:u,bytesPerElement:r.BYTES_PER_ELEMENT,version:t.version,size:a}}(n,r));else if(i.version<n.version){if(i.size!==n.array.byteLength)throw new Error("THREE.WebGLAttributes: The size of the buffer attribute's array buffer does not match the original size. Resizing buffer attributes is not supported.");!function(t,n,r){const i=n.array,a=n._updateRange,o=n.updateRanges;if(e.bindBuffer(r,t),-1===a.count&&0===o.length&&e.bufferSubData(r,0,i),0!==o.length){for(let t=0,n=o.length;t<n;t++){const n=o[t];e.bufferSubData(r,n.start*i.BYTES_PER_ELEMENT,i,n.start,n.count)}n.clearUpdateRanges()}-1!==a.count&&(e.bufferSubData(r,a.offset*i.BYTES_PER_ELEMENT,i,a.offset,a.count),a.count=-1),n.onUploadCallback()}(i.buffer,n,r),i.version=n.version}}}}class _o extends Sa{constructor(e=1,t=1,n=1,r=1){super(),this.type="PlaneGeometry",this.parameters={width:e,height:t,widthSegments:n,heightSegments:r};const i=e/2,a=t/2,o=Math.floor(n),u=Math.floor(r),s=o+1,l=u+1,c=e/o,h=t/u,d=[],p=[],f=[],m=[];for(let e=0;e<l;e++){const t=e*h-a;for(let n=0;n<s;n++){const r=n*c-i;p.push(r,-t,0),f.push(0,0,1),m.push(n/o),m.push(1-e/u)}}for(let e=0;e<u;e++)for(let t=0;t<o;t++){const n=t+s*e,r=t+s*(e+1),i=t+1+s*(e+1),a=t+1+s*e;d.push(n,r,a),d.push(r,i,a)}this.setIndex(d),this.setAttribute("position",new Da(p,3)),this.setAttribute("normal",new Da(f,3)),this.setAttribute("uv",new Da(m,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new _o(e.width,e.height,e.widthSegments,e.heightSegments)}}const Do={alphahash_fragment:"#ifdef USE_ALPHAHASH\n\tif ( diffuseColor.a < getAlphaHashThreshold( vPosition ) ) discard;\n#endif",alphahash_pars_fragment:"#ifdef USE_ALPHAHASH\n\tconst float ALPHA_HASH_SCALE = 0.05;\n\tfloat hash2D( vec2 value ) {\n\t\treturn fract( 1.0e4 * sin( 17.0 * value.x + 0.1 * value.y ) * ( 0.1 + abs( sin( 13.0 * value.y + value.x ) ) ) );\n\t}\n\tfloat hash3D( vec3 value ) {\n\t\treturn hash2D( vec2( hash2D( value.xy ), value.z ) );\n\t}\n\tfloat getAlphaHashThreshold( vec3 position ) {\n\t\tfloat maxDeriv = max(\n\t\t\tlength( dFdx( position.xyz ) ),\n\t\t\tlength( dFdy( position.xyz ) )\n\t\t);\n\t\tfloat pixScale = 1.0 / ( ALPHA_HASH_SCALE * maxDeriv );\n\t\tvec2 pixScales = vec2(\n\t\t\texp2( floor( log2( pixScale ) ) ),\n\t\t\texp2( ceil( log2( pixScale ) ) )\n\t\t);\n\t\tvec2 alpha = vec2(\n\t\t\thash3D( floor( pixScales.x * position.xyz ) ),\n\t\t\thash3D( floor( pixScales.y * position.xyz ) )\n\t\t);\n\t\tfloat lerpFactor = fract( log2( pixScale ) );\n\t\tfloat x = ( 1.0 - lerpFactor ) * alpha.x + lerpFactor * alpha.y;\n\t\tfloat a = min( lerpFactor, 1.0 - lerpFactor );\n\t\tvec3 cases = vec3(\n\t\t\tx * x / ( 2.0 * a * ( 1.0 - a ) ),\n\t\t\t( x - 0.5 * a ) / ( 1.0 - a ),\n\t\t\t1.0 - ( ( 1.0 - x ) * ( 1.0 - x ) / ( 2.0 * a * ( 1.0 - a ) ) )\n\t\t);\n\t\tfloat threshold = ( x < ( 1.0 - a ) )\n\t\t\t? ( ( x < a ) ? cases.x : cases.y )\n\t\t\t: cases.z;\n\t\treturn clamp( threshold , 1.0e-6, 1.0 );\n\t}\n#endif",alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vAlphaMapUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef USE_ALPHATEST\n\t#ifdef ALPHA_TO_COVERAGE\n\tdiffuseColor.a = smoothstep( alphaTest, alphaTest + fwidth( diffuseColor.a ), diffuseColor.a );\n\tif ( diffuseColor.a == 0.0 ) discard;\n\t#else\n\tif ( diffuseColor.a < alphaTest ) discard;\n\t#endif\n#endif",alphatest_pars_fragment:"#ifdef USE_ALPHATEST\n\tuniform float alphaTest;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vAoMapUv ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_CLEARCOAT ) \n\t\tclearcoatSpecularIndirect *= ambientOcclusion;\n\t#endif\n\t#if defined( USE_SHEEN ) \n\t\tsheenSpecularIndirect *= ambientOcclusion;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD )\n\t\tfloat dotNV = saturate( dot
2( geometryNormal, geometryViewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n\t#endif\n#endif",aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",batching_pars_vertex:"#ifdef USE_BATCHING\n\tattribute float batchId;\n\tuniform highp sampler2D batchingTexture;\n\tmat4 getBatchingMatrix( const in float i ) {\n\t\tint size = textureSize( batchingTexture, 0 ).x;\n\t\tint j = int( i ) * 4;\n\t\tint x = j % size;\n\t\tint y = j / size;\n\t\tvec4 v1 = texelFetch( batchingTexture, ivec2( x, y ), 0 );\n\t\tvec4 v2 = texelFetch( batchingTexture, ivec2( x + 1, y ), 0 );\n\t\tvec4 v3 = texelFetch( batchingTexture, ivec2( x + 2, y ), 0 );\n\t\tvec4 v4 = texelFetch( batchingTexture, ivec2( x + 3, y ), 0 );\n\t\treturn mat4( v1, v2, v3, v4 );\n\t}\n#endif\n#ifdef USE_BATCHING_COLOR\n\tuniform sampler2D batchingColorTexture;\n\tvec3 getBatchingColor( const in float i ) {\n\t\tint size = textureSize( batchingColorTexture, 0 ).x;\n\t\tint j = int( i );\n\t\tint x = j % size;\n\t\tint y = j / size;\n\t\treturn texelFetch( batchingColorTexture, ivec2( x, y ), 0 ).rgb;\n\t}\n#endif",batching_vertex:"#ifdef USE_BATCHING\n\tmat4 batchingMatrix = getBatchingMatrix( batchId );\n#endif",begin_vertex:"vec3 transformed = vec3( position );\n#ifdef USE_ALPHAHASH\n\tvPosition = vec3( position );\n#endif",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"float G_BlinnPhong_Implicit( ) {\n\treturn 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, 1.0, dotVH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n} // validated",iridescence_fragment:"#ifdef USE_IRIDESCENCE\n\tconst mat3 XYZ_TO_REC709 = mat3(\n\t\t 3.2404542, -0.9692660,  0.0556434,\n\t\t-1.5371385,  1.8760108, -0.2040259,\n\t\t-0.4985314,  0.0415560,  1.0572252\n\t);\n\tvec3 Fresnel0ToIor( vec3 fresnel0 ) {\n\t\tvec3 sqrtF0 = sqrt( fresnel0 );\n\t\treturn ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\n\t}\n\tvec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\n\t}\n\tfloat IorToFresnel0( float transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\n\t}\n\tvec3 evalSensitivity( float OPD, vec3 shift ) {\n\t\tfloat phase = 2.0 * PI * OPD * 1.0e-9;\n\t\tvec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\n\t\tvec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\n\t\tvec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\n\t\tvec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\n\t\txyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\n\t\txyz /= 1.0685e-7;\n\t\tvec3 rgb = XYZ_TO_REC709 * xyz;\n\t\treturn rgb;\n\t}\n\tvec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\n\t\tvec3 I;\n\t\tfloat iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\n\t\tfloat sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\n\t\tfloat cosTheta2Sq = 1.0 - sinTheta2Sq;\n\t\tif ( cosTheta2Sq < 0.0 ) {\n\t\t\treturn vec3( 1.0 );\n\t\t}\n\t\tfloat cosTheta2 = sqrt( cosTheta2Sq );\n\t\tfloat R0 = IorToFresnel0( iridescenceIOR, outsideIOR );
2\n\t\tfloat R12 = F_Schlick( R0, 1.0, cosTheta1 );\n\t\tfloat T121 = 1.0 - R12;\n\t\tfloat phi12 = 0.0;\n\t\tif ( iridescenceIOR < outsideIOR ) phi12 = PI;\n\t\tfloat phi21 = PI - phi12;\n\t\tvec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) );\t\tvec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\n\t\tvec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\n\t\tvec3 phi23 = vec3( 0.0 );\n\t\tif ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\n\t\tif ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\n\t\tif ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\n\t\tfloat OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\n\t\tvec3 phi = vec3( phi21 ) + phi23;\n\t\tvec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\n\t\tvec3 r123 = sqrt( R123 );\n\t\tvec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\n\t\tvec3 C0 = R12 + Rs;\n\t\tI = C0;\n\t\tvec3 Cm = Rs - T121;\n\t\tfor ( int m = 1; m <= 2; ++ m ) {\n\t\t\tCm *= r123;\n\t\t\tvec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\n\t\t\tI += Cm * Sm;\n\t\t}\n\t\treturn max( I, vec3( 0.0 ) );\n\t}\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\tvec2 dHdxy_fwd() {\n\t\tvec2 dSTdx = dFdx( vBumpMapUv );\n\t\tvec2 dSTdy = dFdy( vBumpMapUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vBumpMapUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n\t\tvec3 vSigmaX = normalize( dFdx( surf_pos.xyz ) );\n\t\tvec3 vSigmaY = normalize( dFdy( surf_pos.xyz ) );\n\t\tvec3 vN = surf_norm;\n\t\tvec3 R1 = cross( vSigmaY, vN );\n\t\tvec3 R2 = cross( vN, vSigmaX );\n\t\tfloat fDet = dot( vSigmaX, R1 ) * faceDirection;\n\t\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n\t\treturn normalize( abs( fDet ) * surf_norm - vGrad );\n\t}\n#endif",clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvec4 plane;\n\t#ifdef ALPHA_TO_COVERAGE\n\t\tfloat distanceToPlane, distanceGradient;\n\t\tfloat clipOpacity = 1.0;\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tdistanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n\t\t\tdistanceGradient = fwidth( distanceToPlane ) / 2.0;\n\t\t\tclipOpacity *= smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n\t\t\tif ( clipOpacity == 0.0 ) discard;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\t\tfloat unionClipOpacity = 1.0;\n\t\t\t#pragma unroll_loop_start\n\t\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\t\tplane = clippingPlanes[ i ];\n\t\t\t\tdistanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n\t\t\t\tdistanceGradient = fwidth( distanceToPlane ) / 2.0;\n\t\t\t\tunionClipOpacity *= 1.0 - smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n\t\t\t}\n\t\t\t#pragma unroll_loop_end\n\t\t\tclipOpacity *= 1.0 - unionClipOpacity;\n\t\t#endif\n\t\tdiffuseColor.a *= clipOpacity;\n\t\tif ( diffuseColor.a == 0.0 ) discard;\n\t#else\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\t\tbool clipped = true;\n\t\t\t#pragma unroll_loop_start\n\t\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\t\tplane = clippingPlanes[ i ];\n\t\t\t\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n\t\t\t}\n\t\t\t#pragma unroll_loop_end\n\t\t\tif ( clipped ) discard;\n\t\t#endif\n\t#endif\n#endif",clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvClipPosition = - mvPosition.xyz;\n#endif",color_fragment:"#if defined( USE_COLOR_ALPHA )\n\tdiffuseColor *= vColor;\n#elif defined( USE_COLOR )\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR )\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )\n\tvarying vec3 vColor;\n#endif",color_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )\n\tvColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n\tvColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n\tvColor.xyz *= instanceColor.xyz;\n#endif\n#ifdef USE_BATCHING_COLOR\n\tvec3 batchingColor = getBatchingColor( batchId );\n\tvColor.xyz *= batching
vendor: 13,297 bytes, line 2
2Color.xyz;\n#endif",common:"#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nvec3 pow2( const in vec3 x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\nhighp float rand( const in vec2 uv ) {\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\treturn fract( sin( sn ) * c );\n}\n#ifdef HIGH_PRECISION\n\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n\tfloat precisionSafeLength( vec3 v ) {\n\t\tfloat maxComponent = max3( abs( v ) );\n\t\treturn length( v / maxComponent ) * maxComponent;\n\t}\n#endif\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\n#ifdef USE_ALPHAHASH\n\tvarying vec3 vPosition;\n#endif\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nmat3 transposeMat3( const in mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat luminance( const in vec3 rgb ) {\n\tconst vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 );\n\treturn dot( weights, rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n\treturn m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\treturn vec2( u, v );\n}\nvec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n} // validated",cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n\t#define cubeUV_minMipLevel 4.0\n\t#define cubeUV_minTileSize 16.0\n\tfloat getFace( vec3 direction ) {\n\t\tvec3 absDirection = abs( direction );\n\t\tfloat face = - 1.0;\n\t\tif ( absDirection.x > absDirection.z ) {\n\t\t\tif ( absDirection.x > absDirection.y )\n\t\t\t\tface = direction.x > 0.0 ? 0.0 : 3.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t} else {\n\t\t\tif ( absDirection.z > absDirection.y )\n\t\t\t\tface = direction.z > 0.0 ? 2.0 : 5.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t}\n\t\treturn face;\n\t}\n\tvec2 getUV( vec3 direction, float face ) {\n\t\tvec2 uv;\n\t\tif ( face == 0.0 ) {\n\t\t\tuv = vec2( direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 1.0 ) {\n\t\t\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n\t\t} else if ( face == 2.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.y ) / abs( direction.z );\n\t\t} else if ( face == 3.0 ) {\n\t\t\tuv = vec2( - direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 4.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.z ) / abs( direction.y );\n\t\t} else {\n\t\t\tuv = vec2( direction.x, direction.y ) / abs( direction.z );\n\t\t}\n\t\treturn 0.5 * ( uv + 1.0 );\n\t}\n\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n\t\tfloat face = getFace( direction );\n\t\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n\t\tmipInt = max( mipInt, cubeUV_minMipLevel );\n\t\tfloat faceSize = exp2( mipInt );\n\t\thighp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\n\t\tif ( face > 2.0 ) {\n\t\t\tuv.y += faceSize;\n\t\t\tface -= 3.0;\n\t\t}\n\t\tuv.x += face * faceSize;\n\t\tuv.x += filterInt * 3.0 * cubeUV_minTileSize;\n\t\tuv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\n\t\tuv.x *= CUBEUV_TEXEL_WIDTH;\n\t\tuv.y *= CUBEUV_TEXEL_HEIGHT;\n\t\t#ifdef texture2DGradEXT\n\t\t\treturn texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\n\t\t#else\n\t\t\treturn texture2D( envMap, uv ).rgb;\n\t\t#endif\n\t}\n\t#define cubeUV_r0 1.0\n\t#define cubeUV_m0 - 2.0\n\t#define cubeUV_r1 0.8\n\t#define cubeUV_m1 - 1.0\n\t#define cubeUV_r4 0.4\n\t#define cubeUV_m4 2.0\n\t#define cubeUV_r5 0.305\n\t#define cubeUV_m5 3.0\n\t#define cubeUV_r6 0.21\n\t#define cubeUV_m6 4.0\n\tfloat roughnessToMip( float roughness ) {\n\t\tfloat mip = 0.0;\n\t\tif ( roughness >= cubeUV_r1 ) {\n\t\t\tmip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;\n\t\t} else if ( roughness >= cubeUV_r4 ) {\n\t\t\tmip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;\n\t\t} else if ( roughness >= cubeUV_r5 ) {\n\t\t\tmip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;\n\t\t} else if ( roughness >= cubeUV_r6 ) {\n\t\t\tmip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;\n\t\t} else {\n\t\t\tmip = - 2.0 * log2( 1.16 * roughness );\t\t}\n\t\treturn mip;\n\t}\n\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n\t\tfloat mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );\n\t\tfloat mipF = fract( mip );\n\t\tfloat mipInt = floor( mip );\n\t\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n\t\tif ( mipF == 0.0 ) {\n\t\t\treturn vec4( color0, 1.0 );\n\t\t} else {\n\t\t\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n\t\t\treturn vec4( mix( color0, color1, mipF ), 1.0 );\n\t\t}\n\t}\n#endif",defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_TANGENT\n\tvec3 transformedTangent = objectTangent;\n#endif\n#ifdef USE_BATCHING\n\tmat3 bm = mat3( batchingMatrix );\n\ttransformedNormal /= vec3( dot( bm[ 0 ], bm[ 0 ] ), dot( bm[ 1 ], bm[ 1 ] ), dot( bm[ 2 ], bm[ 2 ] ) );\n\ttransformedNormal = bm * transformedNormal;\n\t#ifdef USE_TANGENT\n\t\ttransformedTangent = bm * transformedTangent;\n\t#endif\n#endif\n#ifdef USE_INSTANCING\n\tmat3 im = mat3( instanceMatrix );\n\ttransformedNormal /= vec3( dot( im[ 0 ], im[ 0 ] ), dot( im[ 1 ], im[ 1 ] ), dot( im[ 2 ], im[ 2 ] ) );\n\ttransformedNormal = im * transformedNormal;\n\t#ifdef USE_TANGENT\n\t\ttransformedTangent = im * transformedTangent;\n\t#endif\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n\ttransformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n\ttransformedTangent = ( modelViewMatrix * vec4( transformedTangent, 0.0 ) ).xyz;\n\t#ifdef FLIP_SIDED\n\t\ttransformedTangent = - transformedTangent;\n\t#endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif",colorspace_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",colorspace_pars_fragment:"\nconst mat3 LINEAR_SRGB_TO_LINEAR_DISPLAY_P3 = mat3(\n\tvec3( 0.8224621, 0.177538, 0.0 ),\n\tvec3( 0.0331941, 0.9668058, 0.0 ),\n\tvec3( 0.0170827, 0.0723974, 0.9105199 )\n);\nconst mat3 LINEAR_DISPLAY_P3_TO_LINEAR_SRGB = mat3(\n\tvec3( 1.2249401, - 0.2249404, 0.0 ),\n\tvec3( - 0.0420569, 1.0420571, 0.0 ),\n\tvec3( - 0.0196376, - 0.0786361, 1.0982735 )\n);\nvec4 LinearSRGBToLinearDisplayP3( in vec4 value ) {\n\treturn vec4( value.rgb * LINEAR_SRGB_TO_LINEAR_DISPLAY_P3, value.a );\n}\nvec4 LinearDisplayP3ToLinearSRGB( in vec4 value ) {\n\treturn vec4( value.rgb * LINEAR_DISPLAY_P3_TO_LINEAR_SRGB, value.a );\n}\nvec4 LinearTransferOETF( in vec4 value ) {\n\treturn value;\n}\nvec4 sRGBTransferOETF( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}\nvec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn sRGBTransferOETF( value );\n}",envmap_fragment:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToFrag;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n\t\t#endif\n\t#else\n\t\tvec3 reflectVec = vReflect;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 envColor = textureCube( envMap, envMapRotation * vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\t#endif\n#endif",envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\tuniform mat3 envMapRotation;\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\tvarying vec3 vWorldPosition;\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n#endif",envmap_pars_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\t\n\t\tvarying vec3 vWorldPosition;\n\t#else\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\t#endif\n#endif",envmap_physical_pars_fragment:"#ifdef USE_ENVMAP\n\tvec3 getIBLIrradiance( const in vec3 normal ) {\n\t\t#ifdef ENVMAP_TYPE_CUBE_UV\n\t\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, envMapRotation * worldNormal, 1.0 );\n\t\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n\tvec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\n\t\t#ifdef ENVMAP_TYPE_CUBE_UV\n\t\t\tvec3 reflectVec = reflect( - viewDir, normal );\n\t\t\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, envMapRotation * reflectVec, roughness );\n\t\t\treturn envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n\t#ifdef USE_ANISOTROPY\n\t\tvec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) {\n\t\t\t#ifdef ENVMAP_TYPE_CUBE_UV\n\t\t\t\tvec3 bentNormal = cross( bitangent, viewDir );\n\t\t\t\tbentNormal = normalize( cross( bentNormal, bitangent ) );\n\t\t\t\tbentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) );\n\t\t\t\treturn getIBLRadiance( viewDir, bentNormal, roughness );\n\t\t\t#else\n\t\t\t\treturn vec3( 0.0 );\n\t\t\t#endif\n\t\t}\n\t#endif\n#endif",envmap_vertex:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t}
vendor: 5,673 bytes, line 2
2 else {\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif",fog_vertex:"#ifdef USE_FOG\n\tvFogDepth = - mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float vFogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float vFogDepth;\n\t#ifdef FOG_EXP2\n\t\tuniform float fogDensity;\n\t#else\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\t#endif\n#endif",gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n\tuniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\tfloat dotNL = dot( normal, lightDirection );\n\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\t#ifdef USE_GRADIENTMAP\n\t\treturn vec3( texture2D( gradientMap, coord ).r );\n\t#else\n\t\tvec2 fw = fwidth( coord ) * 0.5;\n\t\treturn mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );\n\t#endif\n}",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_fragment:"LambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;",lights_lambert_pars_fragment:"varying vec3 vViewPosition;\nstruct LambertMaterial {\n\tvec3 diffuseColor;\n\tfloat specularStrength;\n};\nvoid RE_Direct_Lambert( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Lambert\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Lambert",lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\n#if defined( USE_LIGHT_PROBES )\n\tuniform vec3 lightProbe[ 9 ];\n#endif\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\treturn result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\n\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\treturn irradiance;\n}\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\tif ( cutoffDistance > 0.0 ) {\n\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t}\n\treturn distanceFalloff;\n}\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\n\treturn smoothstep( coneCosine, penumbraCosine, angleCosine );\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalLightInfo( const in DirectionalLight directionalLight, out IncidentLight light ) {\n\t\tlight.color = directionalLight.color;\n\t\tlight.direction = directionalLight.direction;\n\t\tlight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS > 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointLightInfo( const in PointLight pointLight, const in vec3 geometryPosition, out IncidentLight light ) {\n\t\tvec3 lVector = pointLight.position - geometryPosition;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tlight.color = pointLight.color;\n\t\tlight.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\n\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t}
vendor: 5,966 bytes, line 2
2\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotLightInfo( const in SpotLight spotLight, const in vec3 geometryPosition, out IncidentLight light ) {\n\t\tvec3 lVector = spotLight.position - geometryPosition;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat angleCos = dot( light.direction, spotLight.direction );\n\t\tfloat spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\tif ( spotAttenuation > 0.0 ) {\n\t\t\tfloat lightDistance = length( lVector );\n\t\t\tlight.color = spotLight.color * spotAttenuation;\n\t\t\tlight.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t\t} else {\n\t\t\tlight.color = vec3( 0.0 );\n\t\t\tlight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\n\t\tfloat dotNL = dot( normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\treturn irradiance;\n\t}\n#endif",lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\nstruct ToonMaterial {\n\tvec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\tvec3 irradiance = getGradientIrradiance( geometryNormal, directLight.direction ) * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon",lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\nstruct BlinnPhongMaterial {\n\tvec3 diffuseColor;\n\tvec3 specularColor;\n\tfloat specularShininess;\n\tfloat specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometryViewDir, geometryNormal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong",lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\nmaterial.roughness = min( material.roughness, 1.0 );\n#ifdef IOR\n\tmaterial.ior = ior;\n\t#ifdef USE_SPECULAR\n\t\tfloat specularIntensityFactor = specularIntensity;\n\t\tvec3 specularColorFactor = specularColor;\n\t\t#ifdef USE_SPECULAR_COLORMAP\n\t\t\tspecularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb;\n\t\t#endif\n\t\t#ifdef USE_SPECULAR_INTENSITYMAP\n\t\t\tspecularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a;\n\t\t#endif\n\t\tmaterial.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\n\t#else\n\t\tfloat specularIntensityFactor = 1.0;\n\t\tvec3 specularColorFactor = vec3( 1.0 );\n\t\tmaterial.specularF90 = 1.0;\n\t#endif\n\tmaterial.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\n\tmaterial.specularF90 = 1.0;\n#endif\n#ifdef USE_CLEARCOAT\n\tmaterial.clearcoat = clearcoat;
vendor: 4,695 bytes, line 2
2\n\tmaterial.clearcoatRoughness = clearcoatRoughness;\n\tmaterial.clearcoatF0 = vec3( 0.04 );\n\tmaterial.clearcoatF90 = 1.0;\n\t#ifdef USE_CLEARCOATMAP\n\t\tmaterial.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x;\n\t#endif\n\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\t\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y;\n\t#endif\n\tmaterial.clearcoat = saturate( material.clearcoat );\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n\tmaterial.clearcoatRoughness += geometryRoughness;\n\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_DISPERSION\n\tmaterial.dispersion = dispersion;\n#endif\n#ifdef USE_IRIDESCENCE\n\tmaterial.iridescence = iridescence;\n\tmaterial.iridescenceIOR = iridescenceIOR;\n\t#ifdef USE_IRIDESCENCEMAP\n\t\tmaterial.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r;\n\t#endif\n\t#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\t\tmaterial.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum;\n\t#else\n\t\tmaterial.iridescenceThickness = iridescenceThicknessMaximum;\n\t#endif\n#endif\n#ifdef USE_SHEEN\n\tmaterial.sheenColor = sheenColor;\n\t#ifdef USE_SHEEN_COLORMAP\n\t\tmaterial.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb;\n\t#endif\n\tmaterial.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\n\t#ifdef USE_SHEEN_ROUGHNESSMAP\n\t\tmaterial.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a;\n\t#endif\n#endif\n#ifdef USE_ANISOTROPY\n\t#ifdef USE_ANISOTROPYMAP\n\t\tmat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x );\n\t\tvec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb;\n\t\tvec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b;\n\t#else\n\t\tvec2 anisotropyV = anisotropyVector;\n\t#endif\n\tmaterial.anisotropy = length( anisotropyV );\n\tif( material.anisotropy == 0.0 ) {\n\t\tanisotropyV = vec2( 1.0, 0.0 );\n\t} else {\n\t\tanisotropyV /= material.anisotropy;\n\t\tmaterial.anisotropy = saturate( material.anisotropy );\n\t}\n\tmaterial.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) );\n\tmaterial.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y;\n\tmaterial.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y;\n#endif",lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3 diffuseColor;\n\tfloat roughness;\n\tvec3 specularColor;\n\tfloat specularF90;\n\tfloat dispersion;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat clearcoat;\n\t\tfloat clearcoatRoughness;\n\t\tvec3 clearcoatF0;\n\t\tfloat clearcoatF90;\n\t#endif\n\t#ifdef USE_IRIDESCENCE\n\t\tfloat iridescence;\n\t\tfloat iridescenceIOR;\n\t\tfloat iridescenceThickness;\n\t\tvec3 iridescenceFresnel;\n\t\tvec3 iridescenceF0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tvec3 sheenColor;\n\t\tfloat sheenRoughness;\n\t#endif\n\t#ifdef IOR\n\t\tfloat ior;\n\t#endif\n\t#ifdef USE_TRANSMISSION\n\t\tfloat transmission;\n\t\tfloat transmissionAlpha;\n\t\tfloat thickness;\n\t\tfloat attenuationDistance;\n\t\tvec3 attenuationColor;\n\t#endif\n\t#ifdef USE_ANISOTROPY\n\t\tfloat anisotropy;\n\t\tfloat alphaT;\n\t\tvec3 anisotropyT;\n\t\tvec3 anisotropyB;\n\t#endif\n};\nvec3 clearcoatSpecularDirect = vec3( 0.0 );\nvec3 clearcoatSpecularIndirect = vec3( 0.0 );\nvec3 sheenSpecularDirect = vec3( 0.0 );\nvec3 sheenSpecularIndirect = vec3(0.0 );\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\n    float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\n    float x2 = x * x;\n    float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\n    return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\n}\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\treturn 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\tfloat a2 = pow2( alpha );\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n}\n#ifdef USE_ANISOTROPY\n\tfloat V_GGX_SmithCorrelated_Anisotropic( const in float alphaT, const in float alphaB, const in float dotTV, const in float dotBV, const in float dotTL, const in float dotBL, const in float dotNV, const in float dotNL ) {\n\t\tfloat gv = dotNL * length( vec3( alphaT * dotTV, alph
vendor: 11,921 bytes, line 2
2aB * dotBV, dotNV ) );\n\t\tfloat gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) );\n\t\tfloat v = 0.5 / ( gv + gl );\n\t\treturn saturate(v);\n\t}\n\tfloat D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) {\n\t\tfloat a2 = alphaT * alphaB;\n\t\thighp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH );\n\t\thighp float v2 = dot( v, v );\n\t\tfloat w2 = a2 / v2;\n\t\treturn RECIPROCAL_PI * a2 * pow2 ( w2 );\n\t}\n#endif\n#ifdef USE_CLEARCOAT\n\tvec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) {\n\t\tvec3 f0 = material.clearcoatF0;\n\t\tfloat f90 = material.clearcoatF90;\n\t\tfloat roughness = material.clearcoatRoughness;\n\t\tfloat alpha = pow2( roughness );\n\t\tvec3 halfDir = normalize( lightDir + viewDir );\n\t\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\t\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\t\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\t\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\t\tvec3 F = F_Schlick( f0, f90, dotVH );\n\t\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\t\tfloat D = D_GGX( alpha, dotNH );\n\t\treturn F * ( V * D );\n\t}\n#endif\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {\n\tvec3 f0 = material.specularColor;\n\tfloat f90 = material.specularF90;\n\tfloat roughness = material.roughness;\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( f0, f90, dotVH );\n\t#ifdef USE_IRIDESCENCE\n\t\tF = mix( F, material.iridescenceFresnel, material.iridescence );\n\t#endif\n\t#ifdef USE_ANISOTROPY\n\t\tfloat dotTL = dot( material.anisotropyT, lightDir );\n\t\tfloat dotTV = dot( material.anisotropyT, viewDir );\n\t\tfloat dotTH = dot( material.anisotropyT, halfDir );\n\t\tfloat dotBL = dot( material.anisotropyB, lightDir );\n\t\tfloat dotBV = dot( material.anisotropyB, viewDir );\n\t\tfloat dotBH = dot( material.anisotropyB, halfDir );\n\t\tfloat V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL );\n\t\tfloat D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH );\n\t#else\n\t\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\t\tfloat D = D_GGX( alpha, dotNH );\n\t#endif\n\treturn F * ( V * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\tfloat dotNV = saturate( dot( N, V ) );\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\treturn uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\tfloat l = length( f );\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\tfloat x = dot( v1, v2 );\n\tfloat y = abs( x );\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie( float roughness, float dotNH ) {\n\tfloat alpha = pow2( roughness );\n\tfloat invAlpha = 1.0 / alpha;\n\tfloat cos2h = dotNH * dotNH;\n\tfloat sin2h = max( 1.0 - cos2h, 0.0078125 );\n\treturn ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\n}\nfloat V_Neubelt( float dotNV, float dotNL ) {\n\treturn saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\n}\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat D = D_Charlie( sheenRoughness, dotNH );\n\tfloat V = V_Neubelt( dotNV, dotNL );\n\treturn sheenColor * ( D * V );\n}\n#endif\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat r2 = roughness * roughness;\n\tfloat a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n\tfloat b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\n\tfloat DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\n\treturn saturate( DG * RECIPROCAL_PI );\n}\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\tvec4 r = roughness * c0 + c1;\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\tvec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\n\treturn fab;\n}\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\treturn specularColor * fab.x + specularF90 * fab.y;\n}\n#ifdef USE_IRIDESCENCE\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#else\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#endif\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\t#ifdef USE_IRIDESCENCE\n\t\tvec3 Fr = mix( specularColor, iridescenceF0, iridescence );\n\t#else\n\t\tvec3 Fr = specularColor;\n\t#endif\n\tvec3 FssEss = Fr * fab.x + specularF90 * fab.y;\n\tfloat Ess = fab.x + fab.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometryNormal;\n\t\tvec3 viewDir = geometryViewDir;\n\t\tvec3 position = geometryPosition;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.roughness;\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3(    0, 1,    0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\t}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNLcc = saturate( dot( geometryClearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = dotNLcc * directLight.color;\n\t\tclearcoatSpecularDirect += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometryViewDir, geometryClearcoatNormal, material );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecularDirect += irradiance * BRDF_Sheen( directLight.direction, geometryViewDir, geometryNormal, material.sheenColor, material.sheenRoughness );\n\t#endif\n\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometryViewDir, geometryNormal, material );\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatSpecularIndirect += clearcoatRadiance * EnvironmentBRDF( geometryClearcoatNormal, geometryViewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecularIndirect += irradiance * material.sheenColor * IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness );\n\t#endif\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;
vendor: 8,389 bytes, line 2
2\n\t#ifdef USE_IRIDESCENCE\n\t\tcomputeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n\t#else\n\t\tcomputeMultiscattering( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\n\t#endif\n\tvec3 totalScattering = singleScattering + multiScattering;\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\n\treflectedLight.indirectSpecular += radiance * singleScattering;\n\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",lights_fragment_begin:"\nvec3 geometryPosition = - vViewPosition;\nvec3 geometryNormal = normal;\nvec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\nvec3 geometryClearcoatNormal = vec3( 0.0 );\n#ifdef USE_CLEARCOAT\n\tgeometryClearcoatNormal = clearcoatNormal;\n#endif\n#ifdef USE_IRIDESCENCE\n\tfloat dotNVi = saturate( dot( normal, geometryViewDir ) );\n\tif ( material.iridescenceThickness == 0.0 ) {\n\t\tmaterial.iridescence = 0.0;\n\t} else {\n\t\tmaterial.iridescence = saturate( material.iridescence );\n\t}\n\tif ( material.iridescence > 0.0 ) {\n\t\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n\t\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n\t}\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointLightInfo( pointLight, geometryPosition, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tpointLightShadow = pointLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\tvec4 spotColor;\n\tvec3 spotLightCoord;\n\tbool inSpotLightMap;\n\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotLightInfo( spotLight, geometryPosition, directLight );\n\t\t#if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n\t\t#elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t#define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n\t\t#else\n\t\t#define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#endif\n\t\t#if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )\n\t\t\tspotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n\t\t\tinSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n\t\t\tspotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n\t\t\tdirectLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n\t\t#endif\n\t\t#undef SPOT_LIGHT_MAP_INDEX\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalLightInfo( directionalLight, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\t#if defined( USE_LIGHT_PROBES )\n\t\tirradiance += getLightProbeIrradiance( lightProbe, geometryNormal );\n\t#endif\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal );\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if defined( RE_IndirectSpecular )\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n#endif",lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\t\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getIBLIrradiance( geometryNormal );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\t#ifdef USE_ANISOTROPY\n\t\tradiance += getIBLAnisotropyRadiance( geometryViewDir, geometryNormal, material.roughness, material.anisotropyB, material.anisotropy );\n\t#else\n\t\tradiance += getIBLRadiance( geometryViewDir, geometryNormal, material.roughness );\n\t#endif\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness );\n\t#endif\n#endif",lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF )
2\n\tgl_FragDepth = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n\tvFragDepth = 1.0 + gl_Position.w;\n\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n#endif",map_fragment:"#ifdef USE_MAP\n\tvec4 sampledDiffuseColor = texture2D( map, vMapUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\tsampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w );\n\t\n\t#endif\n\tdiffuseColor *= sampledDiffuseColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\t#if defined( USE_POINTS_UV )\n\t\tvec2 uv = vUv;\n\t#else\n\t\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n\t#endif\n#endif\n#ifdef USE_MAP\n\tdiffuseColor *= texture2D( map, uv );\n#endif\n#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",map_particle_pars_fragment:"#if defined( USE_POINTS_UV )\n\tvarying vec2 vUv;\n#else\n\t#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\t\tuniform mat3 uvTransform;\n\t#endif\n#endif\n#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",morphinstance_vertex:"#ifdef USE_INSTANCING_MORPH\n\tfloat morphTargetInfluences[ MORPHTARGETS_COUNT ];\n\tfloat morphTargetBaseInfluence = texelFetch( morphTexture, ivec2( 0, gl_InstanceID ), 0 ).r;\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\tmorphTargetInfluences[i] =  texelFetch( morphTexture, ivec2( i + 1, gl_InstanceID ), 0 ).r;\n\t}\n#endif",morphcolor_vertex:"#if defined( USE_MORPHCOLORS )\n\tvColor *= morphTargetBaseInfluence;\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\t#if defined( USE_COLOR_ALPHA )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\n\t\t#elif defined( USE_COLOR )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\n\t\t#endif\n\t}\n#endif",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\tif ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\n\t}\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\t#ifndef USE_INSTANCING_MORPH\n\t\tuniform float morphTargetBaseInfluence;\n\t\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n\t#endif\n\tuniform sampler2DArray morphTargetsTexture;\n\tuniform ivec2 morphTargetsTextureSize;\n\tvec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\n\t\tint texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\n\t\tint y = texelIndex / morphTargetsTextureSize.x;\n\t\tint x = texelIndex - y * morphTargetsTextureSize.x;\n\t\tivec3 morphUV = ivec3( x, y, morphTargetIndex );\n\t\treturn texelFetch( morphTargetsTexture, morphUV, 0 );\n\t}\n#endif",morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\t\tif ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\n\t}
vendor: 12,389 bytes, line 2
2\n#endif",normal_fragment_begin:"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n\tvec3 fdx = dFdx( vViewPosition );\n\tvec3 fdy = dFdy( vViewPosition );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal *= faceDirection;\n\t#endif\n#endif\n#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY )\n\t#ifdef USE_TANGENT\n\t\tmat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n\t#else\n\t\tmat3 tbn = getTangentFrame( - vViewPosition, normal,\n\t\t#if defined( USE_NORMALMAP )\n\t\t\tvNormalMapUv\n\t\t#elif defined( USE_CLEARCOAT_NORMALMAP )\n\t\t\tvClearcoatNormalMapUv\n\t\t#else\n\t\t\tvUv\n\t\t#endif\n\t\t);\n\t#endif\n\t#if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n\t\ttbn[0] *= faceDirection;\n\t\ttbn[1] *= faceDirection;\n\t#endif\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\t#ifdef USE_TANGENT\n\t\tmat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n\t#else\n\t\tmat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );\n\t#endif\n\t#if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n\t\ttbn2[0] *= faceDirection;\n\t\ttbn2[1] *= faceDirection;\n\t#endif\n#endif\nvec3 nonPerturbedNormal = normal;",normal_fragment_maps:"#ifdef USE_NORMALMAP_OBJECTSPACE\n\tnormal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n\t#ifdef FLIP_SIDED\n\t\tnormal = - normal;\n\t#endif\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * faceDirection;\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( USE_NORMALMAP_TANGENTSPACE )\n\tvec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\tnormal = normalize( tbn * mapN );\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",normal_pars_fragment:"#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif",normal_pars_vertex:"#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif",normal_vertex:"#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif",normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef USE_NORMALMAP_OBJECTSPACE\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) )\n\tmat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) {\n\t\tvec3 q0 = dFdx( eye_pos.xyz );\n\t\tvec3 q1 = dFdy( eye_pos.xyz );\n\t\tvec2 st0 = dFdx( uv.st );\n\t\tvec2 st1 = dFdy( uv.st );\n\t\tvec3 N = surf_norm;\n\t\tvec3 q1perp = cross( q1, N );\n\t\tvec3 q0perp = cross( N, q0 );\n\t\tvec3 T = q1perp * st0.x + q0perp * st1.x;\n\t\tvec3 B = q1perp * st0.y + q0perp * st1.y;\n\t\tfloat det = max( dot( T, T ), dot( B, B ) );\n\t\tfloat scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );\n\t\treturn mat3( T * scale, B * scale, N );\n\t}\n#endif",clearcoat_normal_fragment_begin:"#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal = nonPerturbedNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\tclearcoatNormal = normalize( tbn2 * clearcoatMapN );\n#endif",clearcoat_pars_fragment:"#ifdef USE_CLEARCOATMAP\n\tuniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform sampler2D clearcoatRoughnessMap;\n#endif",iridescence_pars_fragment:"#ifdef USE_IRIDESCENCEMAP\n\tuniform sampler2D iridescenceMap;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform sampler2D iridescenceThicknessMap;\n#endif",opaque_fragment:"#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha;\n#endif\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );",packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nvec2 packDepthToRG( in highp float v ) {\n\treturn packDepthToRGBA( v ).yx;\n}\nfloat unpackRGToDepth( const in highp vec2 v ) {\n\treturn unpackRGBAToDepth( vec4( v.xy, 0.0, 0.0 ) );\n}\nvec4 pack2HalfToRGBA( vec2 v ) {\n\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\n\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\n}\nvec2 unpackRGBATo2Half( vec4 v ) {\n\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) {\n\treturn depth * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * depth - far );\n}",premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_BATCHING\n\tmvPosition = batchingMatrix * mvPosition;\n#endif\n#ifdef USE_INSTANCING\n\tmvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif",roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#if NUM_SPOT_LIGHT_COORDS > 0\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#if NUM_SPOT_LIGHT_MAPS > 0\n\tuniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n\t\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n\t}\n\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n\t\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\n\t}\n\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n\t\tfloat occlusion = 1.0;\n\t\tvec2 distribution = texture2DDistribution( shadow, uv );\n\t\tfloat hard_shadow = step( compare , distribution.x );\n\t\tif (hard_shadow != 1.0 ) {\n\t\t\tfloat distance = compare - distribution.x ;\n\t\t\tfloat variance = max( 0.00000, distribution.y * distribution.y );\n\t\t\tfloat softness_probability = variance / (variance + distance * distance );\t\t\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\t\t\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n\t\t}\n\t\treturn occlusion;\n\t}\n\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n\t\tfloat shadow = 1.0;\n\t\tshadowCoord.xyz /= shadowCoord.w;\n\t\tshadowCoord.z += shadowBias;\n\t\tbool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;\n\t\tbool frustumTest = inFrustum && shadowCoord.z <= 1.0;\n\t\tif ( frustumTest ) {\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tfloat dx2 = dx0 / 2.0;\n\t\t\tfloat dy2 = dy0 / 2.0;\n\t\t\tfloat dx3 = dx1 / 2.0;\n\t\t\tfloat dy3 = dy1 / 2.0;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 17.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx = texelSize.x;\n\t\t\tfloat dy = texelSize.y;\n\t\t\tvec2 uv = shadowCoord.xy;
vendor: 4,455 bytes, line 2
2\n\t\t\tvec2 f = fract( uv * shadowMapSize + 0.5 );\n\t\t\tuv -= f * texelSize;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t f.y )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_VSM )\n\t\t\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#else\n\t\t\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}\n\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\n\t\tvec3 absV = abs( v );\n\t\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n\t\tabsV *= scaleToCube;\n\t\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n\t\tvec2 planar = v.xy;\n\t\tfloat almostATexel = 1.5 * texelSizeY;\n\t\tfloat almostOne = 1.0 - almostATexel;\n\t\tif ( absV.z >= almostOne ) {\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x >= almostOne ) {\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\t\t} else if ( absV.y >= almostOne ) {\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\t\t}\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\t}\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\t\tfloat shadow = 1.0;\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\t\n\t\tfloat lightToPositionLength = length( lightToPosition );\n\t\tif ( lightToPositionLength - shadowCameraFar <= 0.0 && lightToPositionLength - shadowCameraNear >= 0.0 ) {\n\t\t\tfloat dp = ( lightToPositionLength - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\t\tdp += shadowBias;\n\t\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\t\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\t\tshadow = (\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t\t) * ( 1.0 / 9.0 );\n\t\t\t#else\n\t\t\t\tshadow = texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}
vendor: 6,631 bytes, line 2
2\n#endif",shadowmap_pars_vertex:"#if NUM_SPOT_LIGHT_COORDS > 0\n\tuniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n#endif",shadowmap_vertex:"#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )\n\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\tvec4 shadowWorldPosition;\n#endif\n#if defined( USE_SHADOWMAP )\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n\t\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n\t\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if NUM_SPOT_LIGHT_COORDS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition;\n\t\t#if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t\tshadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;\n\t\t#endif\n\t\tvSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n#endif",shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tdirectionalLight = directionalLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tspotLight = spotLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tpointLight = pointLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#endif\n\treturn shadow;\n}",skinbase_vertex:"#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\tuniform highp sampler2D boneTexture;\n\tmat4 getBoneMatrix( const in float i ) {\n\t\tint size = textureSize( boneTexture, 0 ).x;\n\t\tint j = int( i ) * 4;\n\t\tint x = j % size;\n\t\tint y = j / size;\n\t\tvec4 v1 = texelFetch( boneTexture, ivec2( x, y ), 0 );\n\t\tvec4 v2 = texelFetch( boneTexture, ivec2( x + 1, y ), 0 );\n\t\tvec4 v3 = texelFetch( boneTexture, ivec2( x + 2, y ), 0 );\n\t\tvec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 );\n\t\treturn mat4( v1, v2, v3, v4 );\n\t}\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;
vendor: 2,014 bytes, line 2
2\nvec3 LinearToneMapping( vec3 color ) {\n\treturn saturate( toneMappingExposure * color );\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\n}\nvec3 OptimizedCineonToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\tcolor = max( vec3( 0.0 ), color - 0.004 );\n\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 RRTAndODTFit( vec3 v ) {\n\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n\treturn a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n\tconst mat3 ACESInputMat = mat3(\n\t\tvec3( 0.59719, 0.07600, 0.02840 ),\t\tvec3( 0.35458, 0.90834, 0.13383 ),\n\t\tvec3( 0.04823, 0.01566, 0.83777 )\n\t);\n\tconst mat3 ACESOutputMat = mat3(\n\t\tvec3(  1.60475, -0.10208, -0.00327 ),\t\tvec3( -0.53108,  1.10813, -0.07276 ),\n\t\tvec3( -0.07367, -0.00605,  1.07602 )\n\t);\n\tcolor *= toneMappingExposure / 0.6;\n\tcolor = ACESInputMat * color;\n\tcolor = RRTAndODTFit( color );\n\tcolor = ACESOutputMat * color;\n\treturn saturate( color );\n}\nconst mat3 LINEAR_REC2020_TO_LINEAR_SRGB = mat3(\n\tvec3( 1.6605, - 0.1246, - 0.0182 ),\n\tvec3( - 0.5876, 1.1329, - 0.1006 ),\n\tvec3( - 0.0728, - 0.0083, 1.1187 )\n);\nconst mat3 LINEAR_SRGB_TO_LINEAR_REC2020 = mat3(\n\tvec3( 0.6274, 0.0691, 0.0164 ),\n\tvec3( 0.3293, 0.9195, 0.0880 ),\n\tvec3( 0.0433, 0.0113, 0.8956 )\n);\nvec3 agxDefaultContrastApprox( vec3 x ) {\n\tvec3 x2 = x * x;\n\tvec3 x4 = x2 * x2;\n\treturn + 15.5 * x4 * x2\n\t\t- 40.14 * x4 * x\n\t\t+ 31.96 * x4\n\t\t- 6.868 * x2 * x\n\t\t+ 0.4298 * x2\n\t\t+ 0.1191 * x\n\t\t- 0.00232;\n}\nvec3 AgXToneMapping( vec3 color ) {\n\tconst mat3 AgXInsetMatrix = mat3(\n\t\tvec3( 0.856627153315983, 0.137318972929847, 0.11189821299995 ),\n\t\tvec3( 0.0951212405381588, 0.761241990602591, 0.0767994186031903 ),\n\t\tvec3( 0.0482516061458583, 0.101439036467562, 0.811302368396859 )\n\t);
vendor: 9,135 bytes, line 2
2\n\tconst mat3 AgXOutsetMatrix = mat3(\n\t\tvec3( 1.1271005818144368, - 0.1413297634984383, - 0.14132976349843826 ),\n\t\tvec3( - 0.11060664309660323, 1.157823702216272, - 0.11060664309660294 ),\n\t\tvec3( - 0.016493938717834573, - 0.016493938717834257, 1.2519364065950405 )\n\t);\n\tconst float AgxMinEv = - 12.47393;\tconst float AgxMaxEv = 4.026069;\n\tcolor *= toneMappingExposure;\n\tcolor = LINEAR_SRGB_TO_LINEAR_REC2020 * color;\n\tcolor = AgXInsetMatrix * color;\n\tcolor = max( color, 1e-10 );\tcolor = log2( color );\n\tcolor = ( color - AgxMinEv ) / ( AgxMaxEv - AgxMinEv );\n\tcolor = clamp( color, 0.0, 1.0 );\n\tcolor = agxDefaultContrastApprox( color );\n\tcolor = AgXOutsetMatrix * color;\n\tcolor = pow( max( vec3( 0.0 ), color ), vec3( 2.2 ) );\n\tcolor = LINEAR_REC2020_TO_LINEAR_SRGB * color;\n\tcolor = clamp( color, 0.0, 1.0 );\n\treturn color;\n}\nvec3 NeutralToneMapping( vec3 color ) {\n\tconst float StartCompression = 0.8 - 0.04;\n\tconst float Desaturation = 0.15;\n\tcolor *= toneMappingExposure;\n\tfloat x = min( color.r, min( color.g, color.b ) );\n\tfloat offset = x < 0.08 ? x - 6.25 * x * x : 0.04;\n\tcolor -= offset;\n\tfloat peak = max( color.r, max( color.g, color.b ) );\n\tif ( peak < StartCompression ) return color;\n\tfloat d = 1. - StartCompression;\n\tfloat newPeak = 1. - d * d / ( peak + d - StartCompression );\n\tcolor *= newPeak / peak;\n\tfloat g = 1. - 1. / ( Desaturation * ( peak - newPeak ) + 1. );\n\treturn mix( color, vec3( newPeak ), g );\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }",transmission_fragment:"#ifdef USE_TRANSMISSION\n\tmaterial.transmission = transmission;\n\tmaterial.transmissionAlpha = 1.0;\n\tmaterial.thickness = thickness;\n\tmaterial.attenuationDistance = attenuationDistance;\n\tmaterial.attenuationColor = attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tmaterial.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tmaterial.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g;\n\t#endif\n\tvec3 pos = vWorldPosition;\n\tvec3 v = normalize( cameraPosition - pos );\n\tvec3 n = inverseTransformDirection( normal, viewMatrix );\n\tvec4 transmitted = getIBLVolumeRefraction(\n\t\tn, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,\n\t\tpos, modelMatrix, viewMatrix, projectionMatrix, material.dispersion, material.ior, material.thickness,\n\t\tmaterial.attenuationColor, material.attenuationDistance );\n\tmaterial.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission );\n\ttotalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission );\n#endif",transmission_pars_fragment:"#ifdef USE_TRANSMISSION\n\tuniform float transmission;\n\tuniform float thickness;\n\tuniform float attenuationDistance;\n\tuniform vec3 attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tuniform sampler2D transmissionMap;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tuniform sampler2D thicknessMap;\n\t#endif\n\tuniform vec2 transmissionSamplerSize;\n\tuniform sampler2D transmissionSamplerMap;\n\tuniform mat4 modelMatrix;\n\tuniform mat4 projectionMatrix;\n\tvarying vec3 vWorldPosition;\n\tfloat w0( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 );\n\t}\n\tfloat w1( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a *  a * ( 3.0 * a - 6.0 ) + 4.0 );\n\t}\n\tfloat w2( float a ){\n\t\treturn ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 );\n\t}\n\tfloat w3( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a * a * a );\n\t}\n\tfloat g0( float a ) {\n\t\treturn w0( a ) + w1( a );\n\t}\n\tfloat g1( float a ) {\n\t\treturn w2( a ) + w3( a );\n\t}\n\tfloat h0( float a ) {\n\t\treturn - 1.0 + w1( a ) / ( w0( a ) + w1( a ) );\n\t}\n\tfloat h1( float a ) {\n\t\treturn 1.0 + w3( a ) / ( w2( a ) + w3( a ) );\n\t}\n\tvec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) {\n\t\tuv = uv * texelSize.zw + 0.5;\n\t\tvec2 iuv = floor( uv );\n\t\tvec2 fuv = fract( uv );\n\t\tfloat g0x = g0( fuv.x );\n\t\tfloat g1x = g1( fuv.x );\n\t\tfloat h0x = h0( fuv.x );\n\t\tfloat h1x = h1( fuv.x );\n\t\tfloat h0y = h0( fuv.y );\n\t\tfloat h1y = h1( fuv.y );\n\t\tvec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n\t\treturn g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) +\n\t\t\tg1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) );\n\t}\n\tvec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) {\n\t\tvec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) );\n\t\tvec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) );\n\t\tvec2 fLodSizeInv = 1.0 / fLodSize;\n\t\tvec2 cLodSizeInv = 1.0 / cLodSize;\n\t\tvec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) );\n\t\tvec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) );\n\t\treturn mix( fSample, cSample, fract( lod ) );\n\t}\n\tvec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\n\t\tvec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\n\t\tvec3 modelScale;\n\t\tmodelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\n\t\tmodelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\n\t\tmodelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\n\t\treturn normalize( refractionVector ) * thickness * modelScale;\n\t}\n\tfloat applyIorToRoughness( const in float roughness, const in float ior ) {\n\t\treturn roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\n\t}\n\tvec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\n\t\tfloat lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\n\t\treturn textureBicubic( transmissionSamplerMap, fragCoord.xy, lod );\n\t}\n\tvec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tif ( isinf( attenuationDistance ) ) {\n\t\t\treturn vec3( 1.0 );\n\t\t} else {\n\t\t\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n\t\t\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance );\t\t\treturn transmittance;\n\t\t}\n\t}\n\tvec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\n\t\tconst in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\n\t\tconst in mat4 viewMatrix, const in mat4 projMatrix, const in float dispersion, const in float ior, const in float thickness,\n\t\tconst in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tvec4 transmittedLight;\n\t\tvec3 transmittance;\n\t\t#ifdef USE_DISPERSION\n\t\t\tfloat halfSpread = ( ior - 1.0 ) * 0.025 * dispersion;\n\t\t\tvec3 iors = vec3( ior - halfSpread, ior, ior + halfSpread );\n\t\t\tfor ( int i = 0; i < 3; i ++ ) {\n\t\t\t\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, iors[ i ], modelMatrix );\n\t\t\t\tvec3 refractedRayExit = position + transmissionRay;\n\t\t\n\t\t\t\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n\t\t\t\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\n\t\t\t\trefractionCoords += 1.0;\n\t\t\t\trefractionCoords /= 2.0;\n\t\t\n\t\t\t\tvec4 transmissionSample = getTransmissionSample( refractionCoords, roughness, iors[ i ] );\n\t\t\t\ttransmittedLight[ i ] = transmissionSample[ i ];\n\t\t\t\ttransmittedLight.a += transmissionSample.a;\n\t\t\t\ttransmittance[ i ] = diffuseColor[ i ] * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance )[ i ];\n\t\t\t}\n\t\t\ttransmittedLight.a /= 3.0;\n\t\t\n\t\t#else\n\t\t\n\t\t\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\n\t\t\tvec3 refractedRayExit = position + transmissionRay;\n\t\t\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n\t\t\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\n\t\t\trefractionCoords += 1.0;\n\t\t\trefractionCoords /= 2.0;\n\t\t\ttransmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\n\t\t\ttransmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance );\n\t\t\n\t\t#endif\n\t\tvec3 attenuatedColor = transmittance * transmittedLight.rgb;\n\t\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n\t\tfloat transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0;\n\t\treturn vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor );\n\t}\n#endif",uv_pars_fragment:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n\tvarying vec2 vUv;\n#endif\n#ifdef USE_MAP\n\tvarying vec2 vMapUv;
vendor: 5,728 bytes, line 2
2\n#endif\n#ifdef USE_ALPHAMAP\n\tvarying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n\tvarying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n\tvarying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n\tvarying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n\tvarying vec2 vNormalMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tvarying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n\tvarying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tvarying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_ANISOTROPYMAP\n\tvarying vec2 vAnisotropyMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tvarying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tvarying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tvarying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tvarying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tvarying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tvarying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tvarying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n\tvarying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tvarying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tvarying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tuniform mat3 transmissionMapTransform;\n\tvarying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n\tuniform mat3 thicknessMapTransform;\n\tvarying vec2 vThicknessMapUv;\n#endif",uv_pars_vertex:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n\tvarying vec2 vUv;\n#endif\n#ifdef USE_MAP\n\tuniform mat3 mapTransform;\n\tvarying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform mat3 alphaMapTransform;\n\tvarying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n\tuniform mat3 lightMapTransform;\n\tvarying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n\tuniform mat3 aoMapTransform;\n\tvarying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n\tuniform mat3 bumpMapTransform;\n\tvarying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n\tuniform mat3 normalMapTransform;\n\tvarying vec2 vNormalMapUv;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n\tuniform mat3 displacementMapTransform;\n\tvarying vec2 vDisplacementMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tuniform mat3 emissiveMapTransform;\n\tvarying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n\tuniform mat3 metalnessMapTransform;\n\tvarying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tuniform mat3 roughnessMapTransform;\n\tvarying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_ANISOTROPYMAP\n\tuniform mat3 anisotropyMapTransform;\n\tvarying vec2 vAnisotropyMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tuniform mat3 clearcoatMapTransform;\n\tvarying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform mat3 clearcoatNormalMapTransform;\n\tvarying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform mat3 clearcoatRoughnessMapTransform;\n\tvarying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tuniform mat3 sheenColorMapTransform;\n\tvarying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tuniform mat3 sheenRoughnessMapTransform;\n\tvarying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tuniform mat3 iridescenceMapTransform;\n\tvarying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform mat3 iridescenceThicknessMapTransform;\n\tvarying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n\tuniform mat3 specularMapTransform;\n\tvarying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tuniform mat3 specularColorMapTransform;\n\tvarying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tuniform mat3 specularIntensityMapTransform;\n\tvarying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tuniform mat3 transmissionMapTransform;\n\tvarying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n\tuniform mat3 thicknessMapTransform;\n\tvarying vec2 vThicknessMapUv;\n#endif",uv_vertex:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n\tvUv = vec3( uv, 1 ).xy;\n#endif\n#ifdef USE_MAP\n\tvMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ALPHAMAP\n\tvAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_LIGHTMAP\n\tvLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_AOMAP\n\tvAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_BUMPMAP\n\tvBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_NORMALMAP\n\tvNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n\tvDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tvEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_METALNESSMAP\n\tvMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tvRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ANISOTROPYMAP\n\tvAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tvClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tvClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tvClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy;
vendor: 25,357 bytes, line 2
2\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tvIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tvIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tvSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tvSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULARMAP\n\tvSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tvSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tvSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tvTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_THICKNESSMAP\n\tvThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\t#ifdef USE_BATCHING\n\t\tworldPosition = batchingMatrix * worldPosition;\n\t#endif\n\t#ifdef USE_INSTANCING\n\t\tworldPosition = instanceMatrix * worldPosition;\n\t#endif\n\tworldPosition = modelMatrix * worldPosition;\n#endif",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}",background_frag:"uniform sampler2D t2D;\nuniform float backgroundIntensity;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texColor = texture2D( t2D, vUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\ttexColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w );\n\t#endif\n\ttexColor.rgb *= backgroundIntensity;\n\tgl_FragColor = texColor;\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n}",backgroundCube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",backgroundCube_frag:"#ifdef ENVMAP_TYPE_CUBE\n\tuniform samplerCube envMap;\n#elif defined( ENVMAP_TYPE_CUBE_UV )\n\tuniform sampler2D envMap;\n#endif\nuniform float flipEnvMap;\nuniform float backgroundBlurriness;\nuniform float backgroundIntensity;\nuniform mat3 backgroundRotation;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 texColor = textureCube( envMap, backgroundRotation * vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) );\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 texColor = textureCubeUV( envMap, backgroundRotation * vWorldDirection, backgroundBlurriness );\n\t#else\n\t\tvec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t#endif\n\ttexColor.rgb *= backgroundIntensity;\n\tgl_FragColor = texColor;\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n}",cube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",cube_frag:"uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldDirection;\nvoid main() {\n\tvec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );\n\tgl_FragColor = texColor;\n\tgl_FragColor.a *= opacity;\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n}",depth_vert:"#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <uv_vertex>\n\t#include <batching_vertex>\n\t#include <skinbase_vertex>\n\t#include <morphinstance_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvHighPrecisionZW = gl_Position.zw;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <clipping_planes_fragment>\n\t#if DEPTH_PACKING == 3200\n\t\tdiffuseColor.a = opacity;\n\t#endif\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <logdepthbuf_fragment>\n\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n\t#if DEPTH_PACKING == 3200\n\t\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n\t#elif DEPTH_PACKING == 3201\n\t\tgl_FragColor = packDepthToRGBA( fragCoordZ );\n\t#endif\n}",distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <batching_vertex>\n\t#include <skinbase_vertex>\n\t#include <morphinstance_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\tvWorldPosition = worldPosition.xyz;\n}",distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main () {\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <clipping_planes_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist );\n\tgl_FragColor = packDepthToRGBA( dist );\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV = equirectUv( direction );\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n}",linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\tvLineDistance = scale * lineDistance;\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",meshbasic_vert:"#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinbase_vertex>\n\t\t#include <skinnormal_vertex>\n\t\t#include <defaultnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n}",meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <specularmap_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\t\treflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include <aomap_fragment>\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include <envmap_fragment>\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshlambert_vert:"#define LAMBERT\nvarying vec3 vViewPosition;\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshlambert_frag:"#define LAMBERT\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_lambert_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_lambert_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\tvViewPosition = - mvPosition.xyz;\n}",meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <fog_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n\t#ifdef USE_MATCAP\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\t#else\n\t\tvec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshnormal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvarying vec3 vViewPosition;\n#endif\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <batching_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}",meshnormal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvarying vec3 vViewPosition;\n#endif\n#include <packing>\n#include <uv_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\tvec4 diffuseColor = vec4( 0.0, 0.0, 0.0, opacity );\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tgl_FragColor = vec4( packNormalToRGB( normal ), diffuseColor.a );\n\t#ifdef OPAQUE\n\t\tgl_FragColor.a = 1.0;\n\t#endif\n}",meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_phong_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifdef USE_TRANSMISSION\n\tvarying vec3 vWorldPosition;\n#endif\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n#ifdef USE_TRANSMISSION\n\tvWorldPosition = worldPosition.xyz;\n#endif\n}",meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n\t#define IOR\n\t#define USE_SPECULAR\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef IOR\n\tuniform float ior;\n#endif\n#ifdef USE_SPECULAR\n\tuniform float specularIntensity;\n\tuniform vec3 specularColor;\n\t#ifdef USE_SPECULAR_COLORMAP\n\t\tuniform sampler2D specularColorMap;\n\t#endif\n\t#ifdef USE_SPECULAR_INTENSITYMAP\n\t\tuniform sampler2D specularIntensityMap;\n\t#endif\n#endif\n#ifdef USE_CLEARCOAT\n\tuniform float clearcoat;
vendor: 10,003 bytes, line 2
2\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_DISPERSION\n\tuniform float dispersion;\n#endif\n#ifdef USE_IRIDESCENCE\n\tuniform float iridescence;\n\tuniform float iridescenceIOR;\n\tuniform float iridescenceThicknessMinimum;\n\tuniform float iridescenceThicknessMaximum;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheenColor;\n\tuniform float sheenRoughness;\n\t#ifdef USE_SHEEN_COLORMAP\n\t\tuniform sampler2D sheenColorMap;\n\t#endif\n\t#ifdef USE_SHEEN_ROUGHNESSMAP\n\t\tuniform sampler2D sheenRoughnessMap;\n\t#endif\n#endif\n#ifdef USE_ANISOTROPY\n\tuniform vec2 anisotropyVector;\n\t#ifdef USE_ANISOTROPYMAP\n\t\tuniform sampler2D anisotropyMap;\n\t#endif\n#endif\nvarying vec3 vViewPosition;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <iridescence_fragment>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_physical_pars_fragment>\n#include <transmission_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_pars_fragment>\n#include <iridescence_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <roughnessmap_fragment>\n\t#include <metalnessmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <clearcoat_normal_fragment_begin>\n\t#include <clearcoat_normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_physical_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n\t#include <transmission_fragment>\n\tvec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n\t#ifdef USE_SHEEN\n\t\tfloat sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\n\t\toutgoingLight = outgoingLight * sheenEnergyComp + sheenSpecularDirect + sheenSpecularIndirect;\n\t#endif\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNVcc = saturate( dot( geometryClearcoatNormal, geometryViewDir ) );\n\t\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n\t\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + ( clearcoatSpecularDirect + clearcoatSpecularIndirect ) * material.clearcoat;\n\t#endif\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_toon_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",points_vert:"uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n#ifdef USE_POINTS_UV\n\tvarying vec2 vUv;\n\tuniform mat3 uvTransform;\n#endif\nvoid main() {\n\t#ifdef USE_POINTS_UV\n\t\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\t#endif\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\tgl_PointSize = size;\n\t#ifdef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\t#endif\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <fog_vertex>\n}",points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",shadow_vert:"#include <common>\n#include <batching_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <batching_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <logdepthbuf_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\t#include <logdepthbuf_fragment>\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n}",sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\tvec4 mvPosition = modelViewMatrix
2 * vec4( 0.0, 0.0, 0.0, 1.0 );\n\tvec2 scale;\n\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n\t#ifndef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\t#endif\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\tmvPosition.xy += rotatedPosition;\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n}"},vo={common:{diffuse:{value:new $i(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new tr},alphaMap:{value:null},alphaMapTransform:{value:new tr},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new tr}},envmap:{envMap:{value:null},envMapRotation:{value:new tr},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new tr}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new tr}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new tr},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new tr},normalScale:{value:new er(1,1)}}
vendor: 14,673 bytes, line 2
2,displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new tr},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new tr}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new tr}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new tr}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new $i(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:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{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 $i(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new tr},alphaTest:{value:0},uvTransform:{value:new tr}},sprite:{diffuse:{value:new $i(16777215)},opacity:{value:1},center:{value:new er(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new tr},alphaMap:{value:null},alphaMapTransform:{value:new tr},alphaTest:{value:0}}},yo={basic:{uniforms:qa([vo.common,vo.specularmap,vo.envmap,vo.aomap,vo.lightmap,vo.fog]),vertexShader:Do.meshbasic_vert,fragmentShader:Do.meshbasic_frag},lambert:{uniforms:qa([vo.common,vo.specularmap,vo.envmap,vo.aomap,vo.lightmap,vo.emissivemap,vo.bumpmap,vo.normalmap,vo.displacementmap,vo.fog,vo.lights,{emissive:{value:new $i(0)}}]),vertexShader:Do.meshlambert_vert,fragmentShader:Do.meshlambert_frag},phong:{uniforms:qa([vo.common,vo.specularmap,vo.envmap,vo.aomap,vo.lightmap,vo.emissivemap,vo.bumpmap,vo.normalmap,vo.displacementmap,vo.fog,vo.lights,{emissive:{value:new $i(0)},specular:{value:new $i(1118481)},shininess:{value:30}}]),vertexShader:Do.meshphong_vert,fragmentShader:Do.meshphong_frag},standard:{uniforms:qa([vo.common,vo.envmap,vo.aomap,vo.lightmap,vo.emissivemap,vo.bumpmap,vo.normalmap,vo.displacementmap,vo.roughnessmap,vo.metalnessmap,vo.fog,vo.lights,{emissive:{value:new $i(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Do.meshphysical_vert,fragmentShader:Do.meshphysical_frag},toon:{uniforms:qa([vo.common,vo.aomap,vo.lightmap,vo.emissivemap,vo.bumpmap,vo.normalmap,vo.displacementmap,vo.gradientmap,vo.fog,vo.lights,{emissive:{value:new $i(0)}}]),vertexShader:Do.meshtoon_vert,fragmentShader:Do.meshtoon_frag},matcap:{uniforms:qa([vo.common,vo.bumpmap,vo.normalmap,vo.displacementmap,vo.fog,{matcap:{value:null}}]),vertexShader:Do.meshmatcap_vert,fragmentShader:Do.meshmatcap_frag},points:{uniforms:qa([vo.points,vo.fog]),vertexShader:Do.points_vert,fragmentShader:Do.points_frag},dashed:{uniforms:qa([vo.common,vo.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Do.linedashed_vert,fragmentShader:Do.linedashed_frag},depth:{uniforms:qa([vo.common,vo.displacementmap]),vertexShader:Do.depth_vert,fragmentShader:Do.depth_frag},normal:{uniforms:qa([vo.common,vo.bumpmap,vo.normalmap,vo.displacementmap,{opacity:{value:1}}]),vertexShader:Do.meshnormal_vert,fragmentShader:Do.meshnormal_frag},sprite:{uniforms:qa([vo.sprite,vo.fog]),vertexShader:Do.sprite_vert,fragmentShader:Do.sprite_frag},background:{uniforms:{uvTransform:{value:new tr},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:Do.background_vert,fragmentShader:Do.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new tr}},vertexShader:Do.backgroundCube_vert,fragmentShader:Do.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:Do.cube_vert,fragmentShader:Do.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Do.equirect_vert,fragmentShader:Do.equirect_frag},distanceRGBA:{uniforms:qa([vo.common,vo.displacementmap,{referencePosition:{value:new Pr},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Do.distanceRGBA_vert,fragmentShader:Do.distanceRGBA_frag},shadow:{uniforms:qa([vo.lights,vo.fog,{color:{value:new $i(0)},opacity:{value:1}}]),vertexShader:Do.shadow_vert,fragmentShader:Do.shadow_frag}};yo.physical={uniforms:qa([yo.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new tr},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new tr},clearcoatNormalScale:{value:new er(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new tr},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new tr},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new tr},sheen:{value:0},sheenColor:{value:new $i(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new tr},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new tr},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new tr},transmissionSamplerSize:{value:new er},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new tr},attenuationDistance:{value:0},attenuationColor:{value:new $i(0)},specularColor:{value:new $i(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new tr},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new tr},anisotropyVector:{value:new er},anisotropyMap:{value:null},anisotropyMapTransform:{value:new tr}}]),vertexShader:Do.meshphysical_vert,fragmentShader:Do.meshphysical_frag};const Eo={r:0,b:0,g:0},Ao=new Di,Co=new si;function Fo(e,t,n,r,i,a,o){const u=new $i(0);let s,l,c=!0===a?0:1,h=null,d=0,p=null;function g(e){let r=!0===e.isScene?e.background:null;if(r&&r.isTexture){r=(e.backgroundBlurriness>0?n:t).get(r)}return r}function _(t,n){t.getRGB(Eo,Ja(e)),r.buffers.color.setClear(Eo.r,Eo.g,Eo.b,n,o)}return{getClearColor:function(){return u},setClearColor:function(e,t=1){u.set(e),c=t,_(u,c)},getClearAlpha:function(){return c},setClearAlpha:function(e){c=e,_(u,c)},render:function(t){let n=!1;const i=g(t);null===i?_(u,c):i&&i.isColor&&(_(i,1),n=!0);const a=e.xr.getEnvironmentBlendMode();"additive"===a?r.buffers.color.setClear(0,0,0,1,o):"alpha-blend"===a&&r.buffers.color.setClear(0,0,0,0,o),(e.autoClear||n)&&(r.buffers.depth.setTest(!0),r.buffers.depth.setMask(!0),r.buffers.color.setMask(!0),e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil))},addToRenderList:function(t,n){const r=g(n);r&&(r.isCubeTexture||r.mapping===me)?(void 0===l&&(l=new Ga(new Xa(1,1,1),new $a({name:"BackgroundCubeMaterial",uniforms:Ka(yo.backgroundCube.uniforms),vertexShader:yo.backgroundCube.vertexShader,fragmentShader:yo.backgroundCube.fragmentShader,side:m,depthTest:!1,depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),l.geometry.deleteAttribute("uv"),l.onBeforeRender=function(e,t,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),i.update(l)),Ao.copy(n.backgroundRotation),Ao.x*=-1,Ao.y*=-1,Ao.z*=-1,r.isCubeTexture&&!1===r.isRenderTargetTexture&&(Ao.y*=-1,Ao.z*=-1),l.material.uniforms.envMap.value=r,l.material.uniforms.flipEnvMap.value=r.isCubeTexture&&!1===r.isRenderTargetTexture?-1:1,l.material.uniforms.backgroundBlurriness.value=n.backgroundBlurriness,l.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,l.material.uniforms.backgroundRotation.value.setFromMatrix4(Co.makeRotationFromEuler(Ao)),l.material.toneMapped=fr.getTransfer(r.colorSpace)!==tn,h===r&&d===r.version&&p===e.toneMapping||(l.material.needsUpdate=!0,h=r,d=r.version,p=e.toneMapping),l.layers.enableAll(),t.unshift(l,l.geometry,l.material,0,0,null)):r&&r.isTexture&&(void 0===s&&(s=new Ga(new _o(2,2),new $a({name:"BackgroundMaterial",uniforms:Ka(yo.background.uniforms),vertexShader:yo.background.vertexShader,fragmentShader:yo.background.fragmentShader,side:f,depthTest:!1,depthWrite:!1,fog:!1})),s.geometry.deleteAttribute("normal"),Object.defineProperty(s.material,"map",{get:function(){return this.uniforms.t2D.value}}),i.update(s)),s.material.uniforms.t2D.value=r,s.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,s.material.toneMapped=fr.getTransfer(r.colorSpace)!==tn,!0===r.matrixAutoUpdate&&r.updateMatrix(),s.material.uniforms.uvTransform.value.copy(r.matrix),h===r&&d===r.version&&p===e.toneMapping||(s.material.needsUpdate=!0,h=r,d=r.version,p=e.toneMapping),s.layers.enableAll(),t.unshift(s,s.geometry,s.material,0,0,null))}}}function bo(e,t){const n=e.getParameter(e.MAX_VERTEX_ATTRIBS),r={},i=l(null);let a=i,o=!1;function u(t){return e.bindVertexArray(t)}function s(t){return e.deleteVertexArray(t)}function l(e){const t=[],r=[],i=[];for(let e=0;e<n;e++)t[e]=0,r[e]=0,i[e]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:t,enabledAttributes:r,attributeDivisors:i,object:e,attributes:{},index:null}}function c(){const e=a.newAttributes;for(let t=0,n=e.length;t<n;t++)e[t]=0}function h(e){d(e,0)}function d(t,n){const r=a.newAttributes,i=a.enabledAttributes,o=a.attributeDivisors;r[t]=1,0===i[t]&&(e.enableVertexAttribArray(t),i[t]=1),o[t]!==n&&(e.vertexAttribDivisor(t,n),o[t]=n)}function p(){const t=a.newAttributes,n=a.enabledAttributes;for(let r=0,i=n.length;r<i;r++)n[r]!==t[r]&&(e.disableVertexAttribArray(r),n[r]=0)}function f(t,n,r,i,a,o,u){!0===u?e.vertexAttribIPointer(t,n,r,a,o):e.vertexAttribPointer(t,n,r,i,a,o)}function m(){g(),o=!0,a!==i&&(a=i,u(a.object))}function g(){i.geometry=null,i.program=null,i.wireframe=!1}return{setup:function(n,i,s,m,g){let _=!1;const D=function(t,n,i){const a=!0===i.wireframe;let o=r[t.id];void 0===o&&(o={},r[t.id]=o);let u=o[n.id];void 0===u&&(u={},o[n.id]=u);let s=u[a];void 0===s&&(s=l(e.createVertexArray()),u[a]=s);return s}(m,s,i);a!==D&&(a=D,u(a.object)),_=function(e,t,n,r){const i=a.attributes,o=t.attributes;let u=0;const s=n.getAttributes();for(const t in s){if(s[t].location>=0){const n=i[t];let r=o[t];if(void 0===r&&("instanceMatrix"===t&&e.instanceMatrix&&(r=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(r=e.instanceColor)),void 0===n)return!0;if(n.attribute!==r)return!0;if(r&&n.data!==r.data)return!0;u++}}return a.attributesNum!==u||a.index!==r}(n,m,s,g),_&&function(e,t,n,r){const i={},o=t.attributes;let u=0;const s=n.getAttributes();for(const t in s){if(s[t].location>=0){let n=o[t];void 0===n&&("instanceMatrix"===t&&e.instanceMatrix&&(n=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(n=e.instanceColor));const r={};r.attribute=n,n&&n.data&&(r.data=n.data),i[t]=r,u++}}a.attributes=i,a.attributesNum=u,a.index=r}(n,m,s,g),null!==g&&t.update(g,e.ELEMENT_ARRAY_BUFFER),(_||o)&&(o=!1,function(n,r,i,a){c();const o=a.attributes,u=i.getAttributes(),s=r.defaultAttributeValues;for(const r in u){const i=u[r];if(i.location>=0){let u=o[r];if(void 0===u&&("instanceMatrix"===r&&n.instanceMatrix&&(u=n.instanceMatrix),"instanceColor"===r&&n.instanceColor&&(u=n.instanceColor)),void 0!==u){const r=u.normalized,o=u.itemSize,s=t.get(u);if(void 0===s)continue;const l=s.buffer,c=s.type,p=s.bytesPerElement,m=c===e.INT||c===e.UNSIGNED_INT||u.gpuType===Re;if(u.isInterleavedBufferAttribute){const t=u.data,s=t.stride,g=u.offset;if(t.isInstancedInterleavedBuffer){for(let e=0;e<i.locationSize;e++)d(i.location+e,t.meshPerAttribute);!0!==n.isInstancedMesh&&void 0===a._maxInstanceCount&&(a._maxInstanceCount=t.meshPerAttribute*t.count)}else for(let e=0;e<i.locationSize;e++)h(i.location+e);e.bindBuffer(e.ARRAY_BUFFER,l);for(let e=0;e<i.locationSize;e++)f(i.location+e,o/i.locationSize,c,r,s*p,(g+o/i.locationSize*e)*p,m)}else{if(u.isInstancedBufferAttribute){for(let e=0;e<i.locationSize;e++)d(i.location+e,u.meshPerAttribute);!0!==n.isInstancedMesh&&void 0===a._maxInstanceCount&&(a._maxInstanceCount=u.meshPerAttribute*u.count)}else for(let e=0;e<i.locationSize;e++)h(i.location+e);e.bindBuffer(e.ARRAY_BUFFER,l);for(let e=0;e<i.locationSize;e++)f(i.location+e,o/i.locationSize,c,r,o*p,o/i.locationSize*e*p,m)}}else if(void 0!==s){const t=s[r];if(void 0!==t)switch(t.length){case 2:e.vertexAttrib2fv(i.location,t);break;case 3:e.vertexAttrib3fv(i.location,t);break;case 4:e.vertexAttrib4fv(i.location,t);break;default:e.vertexAttrib1fv(i.location,t)}}}}p()}(n,i,s,m),null!==g&&e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t.get(g).buffer))},reset:m,resetDefaultState:g,dispose:function(){m();for(const e in r){const t=r[e];for(const e in t){const n=t[e];for(const e in n)s(n[e].object),delete n[e];delete t[e]}delete r[e]}},releaseStatesOfGeometry:function(e){if(void 0===r[e.id])return;const t=r[e.id];for(const e in t){const n=t[e];for(const e in n)s(n[e].object),delete n[e];delete t[e]}delete r[e.id]},releaseStatesOfProgram:function(e){for(const t in r){const n=r[t];if(void 0===n[e.id])continue;const i=n[e.id];for(const e in i)s(i[e].object),delete i[e];delete n[e.id]}},initAttributes:c,enableAttribute:h,disableUnusedAttributes:p}}function So(e,t,n){let r;function i(t,i,a){0!==a&&(e.drawArraysInstanced(r,t,i,a),n.update(i,r,a))}this.setMode=function(e){r=e},this.render=function(t,i){e.drawArrays(r,t,i),n.update(i,r,1)},this.renderInstances=i,this.renderMultiDraw=function(e,i,a){if(0===a)return;const o=t.get("WEBGL_multi_draw");if(null===o)for(let t=0;t<a;t++)this.render(e[t],i[t]);else{o.multiDrawArraysWEBGL(r,e,0,i,0,a);let t=0;for(let e=0;e<a;e++)t+=i[e];n.update(t,r,1)}},this.renderMultiDrawInstances=function(e,a,o,u){if(0===o)return;const s=t.get("WEBGL_multi_draw");if(null===s)for(let t=0;t<e.length;t++)i(e[t],a[t],u[t]);
vendor: 4,941 bytes, line 2
2else{s.multiDrawArraysInstancedWEBGL(r,e,0,a,0,u,0,o);let t=0;for(let e=0;e<o;e++)t+=a[e];for(let e=0;e<u.length;e++)n.update(t,r,u[e])}}}function xo(e,t,n,r){let i;function a(t){if("highp"===t){if(e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision>0)return"highp";t="mediump"}return"mediump"===t&&e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}let o=void 0!==n.precision?n.precision:"highp";const u=a(o);u!==o&&(console.warn("THREE.WebGLRenderer:",o,"not supported, using",u,"instead."),o=u);const s=!0===n.logarithmicDepthBuffer,l=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS),c=e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS);return{isWebGL2:!0,getMaxAnisotropy:function(){if(void 0!==i)return i;if(!0===t.has("EXT_texture_filter_anisotropic")){const n=t.get("EXT_texture_filter_anisotropic");i=e.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else i=0;return i},getMaxPrecision:a,textureFormatReadable:function(t){return t===He||r.convert(t)===e.getParameter(e.IMPLEMENTATION_COLOR_READ_FORMAT)},textureTypeReadable:function(n){const i=n===Le&&(t.has("EXT_color_buffer_half_float")||t.has("EXT_color_buffer_float"));return!(n!==we&&r.convert(n)!==e.getParameter(e.IMPLEMENTATION_COLOR_READ_TYPE)&&n!==Ne&&!i)},precision:o,logarithmicDepthBuffer:s,maxTextures:l,maxVertexTextures:c,maxTextureSize:e.getParameter(e.MAX_TEXTURE_SIZE),maxCubemapSize:e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE),maxAttributes:e.getParameter(e.MAX_VERTEX_ATTRIBS),maxVertexUniforms:e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS),maxVaryings:e.getParameter(e.MAX_VARYING_VECTORS),maxFragmentUniforms:e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS),vertexTextures:c>0,maxSamples:e.getParameter(e.MAX_SAMPLES)}}function Bo(e){const t=this;let n=null,r=0,i=!1,a=!1;const o=new co,u=new tr,s={value:null,needsUpdate:!1};function l(e,n,r,i){const a=null!==e?e.length:0;let l=null;if(0!==a){if(l=s.value,!0!==i||null===l){const t=r+4*a,i=n.matrixWorldInverse;u.getNormalMatrix(i),(null===l||l.length<t)&&(l=new Float32Array(t));for(let t=0,n=r;t!==a;++t,n+=4)o.copy(e[t]).applyMatrix4(i,u),o.normal.toArray(l,n),l[n+3]=o.constant}s.value=l,s.needsUpdate=!0}return t.numPlanes=a,t.numIntersection=0,l}this.uniform=s,this.numPlanes=0,this.numIntersection=0,this.init=function(e,t){const n=0!==e.length||t||0!==r||i;return i=t,r=e.length,n},this.beginShadows=function(){a=!0,l(null)},this.endShadows=function(){a=!1},this.setGlobalState=function(e,t){n=l(e,t,0)},this.setState=function(o,u,c){const h=o.clippingPlanes,d=o.clipIntersection,p=o.clipShadows,f=e.get(o);if(!i||null===h||0===h.length||a&&!p)a?l(null):function(){s.value!==n&&(s.value=n,s.needsUpdate=r>0);t.numPlanes=r,t.numIntersection=0}();else{const e=a?0:r,t=4*e;let i=f.clippingState||null;s.value=i,i=l(h,u,t,c);for(let e=0;e!==t;++e)i[e]=n[e];f.clippingState=i,this.numIntersection=d?this.numPlanes:0,this.numPlanes+=e}}}function wo(e){let t=new WeakMap;function n(e,t){return t===pe?e.mapping=he:t===fe&&(e.mapping=de),e}function r(e){const n=e.target;n.removeEventListener("dispose",r);const i=t.get(n);void 0!==i&&(t.delete(n),i.dispose())}return{get:function(i){if(i&&i.isTexture){const a=i.mapping;if(a===pe||a===fe){if(t.has(i)){return n(t.get(i).texture,i.mapping)}{const a=i.image;if(a&&a.height>0){const o=new oo(a.height);return o.fromEquirectangularTexture(e,i),t.set(i,o),i.addEventListener("dispose",r),n(o.texture,i.mapping)}return null}}}return i},dispose:function(){t=new WeakMap}}}class Mo extends Qa{constructor(e=-1,t=1,n=1,r=-1,i=.1,a=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=n,this.bottom=r,this.near=i,this.far=a,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=null===e.view?null:Object.assign({},e.view),this}setViewOffset(e,t,n,r,i,a){null===this.view&&(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=i,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,r=(this.top+this.bottom)/2;let i=n-e,a=n+e,o=r+t,u=r-t;if(null!==this.view&&this.view.enabled){const e=(this.right-this.left)/this.view.fullWidth/this.zoom,t=(this.top-this.bottom)/this.view.fullHeight/this.zoom;i+=e*this.view.offsetX,a=i+e*this.view.width,o-=t*this.view.offsetY,u=o-t*this.view.height}
vendor: 26,198 bytes, line 2
2this.projectionMatrix.makeOrthographic(i,a,o,u,this.near,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,null!==this.view&&(t.object.view=Object.assign({},this.view)),t}}const To=[.125,.215,.35,.446,.526,.582],Po=20,Ro=new Mo,Io=new $i;let No=null,Lo=0,Oo=0,ko=!1;const Uo=(1+Math.sqrt(5))/2,zo=1/Uo,Vo=[new Pr(-Uo,zo,0),new Pr(Uo,zo,0),new Pr(-zo,0,Uo),new Pr(zo,0,Uo),new Pr(0,Uo,-zo),new Pr(0,Uo,zo),new Pr(-1,1,-1),new Pr(1,1,-1),new Pr(-1,1,1),new Pr(1,1,1)];class Wo{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,n=.1,r=100){No=this._renderer.getRenderTarget(),Lo=this._renderer.getActiveCubeFace(),Oo=this._renderer.getActiveMipmapLevel(),ko=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(256);const i=this._allocateTargets();return i.depthBuffer=!0,this._sceneToCubeUV(e,n,r,i),t>0&&this._blur(i,0,0,t),this._applyPMREM(i),this._cleanup(i),i}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=Xo(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=jo(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let e=0;e<this._lodPlanes.length;e++)this._lodPlanes[e].dispose()}_cleanup(e){this._renderer.setRenderTarget(No,Lo,Oo),this._renderer.xr.enabled=ko,e.scissorTest=!1,Go(e,0,0,e.width,e.height)}_fromTexture(e,t){e.mapping===he||e.mapping===de?this._setSize(0===e.image.length?16:e.image[0].width||e.image[0].image.width):this._setSize(e.image.width/4),No=this._renderer.getRenderTarget(),Lo=this._renderer.getActiveCubeFace(),Oo=this._renderer.getActiveMipmapLevel(),ko=this._renderer.xr.enabled,this._renderer.xr.enabled=!1;const n=t||this._allocateTargets();return this._textureToCubeUV(e,n),this._applyPMREM(n),this._cleanup(n),n}_allocateTargets(){const e=3*Math.max(this._cubeSize,112),t=4*this._cubeSize,n={magFilter:Fe,minFilter:Fe,generateMipmaps:!1,type:Le,format:He,colorSpace:$t,depthBuffer:!1},r=Ho(e,t,n);if(null===this._pingPongRenderTarget||this._pingPongRenderTarget.width!==e||this._pingPongRenderTarget.height!==t){null!==this._pingPongRenderTarget&&this._dispose(),this._pingPongRenderTarget=Ho(e,t,n);const{_lodMax:r}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=function(e){const t=[],n=[],r=[];let i=e;const a=e-4+1+To.length;for(let o=0;o<a;o++){const a=Math.pow(2,i);n.push(a);let u=1/a;o>e-4?u=To[o-e+4-1]:0===o&&(u=0),r.push(u);const s=1/(a-2),l=-s,c=1+s,h=[l,l,c,l,c,c,l,l,c,c,l,c],d=6,p=6,f=3,m=2,g=1,_=new Float32Array(f*p*d),D=new Float32Array(m*p*d),v=new Float32Array(g*p*d);for(let e=0;e<d;e++){const t=e%3*2/3-1,n=e>2?0:-1,r=[t,n,0,t+2/3,n,0,t+2/3,n+1,0,t,n,0,t+2/3,n+1,0,t,n+1,0];_.set(r,f*p*e),D.set(h,m*p*e);const i=[e,e,e,e,e,e];v.set(i,g*p*e)}const y=new Sa;y.setAttribute("position",new la(_,f)),y.setAttribute("uv",new la(D,m)),y.setAttribute("faceIndex",new la(v,g)),t.push(y),i>4&&i--}return{lodPlanes:t,sizeLods:n,sigmas:r}}(r)),this._blurMaterial=function(e,t,n){const r=new Float32Array(Po),i=new Pr(0,1,0),a=new $a({name:"SphericalGaussianBlur",defines:{n:Po,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${e}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:r},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:Ko(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\t\t\tuniform int samples;\n\t\t\tuniform float weights[ n ];\n\t\t\tuniform bool latitudinal;\n\t\t\tuniform float dTheta;\n\t\t\tuniform float mipInt;\n\t\t\tuniform vec3 poleAxis;\n\n\t\t\t#define ENVMAP_TYPE_CUBE_UV\n\t\t\t#include <cube_uv_reflection_fragment>\n\n\t\t\tvec3 getSample( float theta, vec3 axis ) {\n\n\t\t\t\tfloat cosTheta = cos( theta );\n\t\t\t\t// Rodrigues' axis-angle rotation\n\t\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross( axis, vOutputDirection ) * sin( theta )\n\t\t\t\t\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n\n\t\t\t\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\n\n\t\t\t}\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n\n\t\t\t\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n\n\t\t\t\t\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n\n\t\t\t\t}\n\n\t\t\t\taxis = normalize( axis );\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t\t\t\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n\n\t\t\t\tfor ( int i = 1; i < n; i++ ) {\n\n\t\t\t\t\tif ( i >= samples ) {\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfloat theta = dTheta * float( i );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t",blending:_,depthTest:!1,depthWrite:!1});return a}(r,e,t)}return r}_compileMaterial(e){const t=new Ga(this._lodPlanes[0],e);this._renderer.compile(t,Ro)}_sceneToCubeUV(e,t,n,r){const i=new no(90,1,t,n),a=[1,-1,1,1,1,1],o=[1,1,1,-1,-1,-1],u=this._renderer,s=u.autoClear,l=u.toneMapping;u.getClearColor(Io),u.toneMapping=ee,u.autoClear=!1;const c=new ta({name:"PMREM.Background",side:m,depthWrite:!1,depthTest:!1}),h=new Ga(new Xa,c);let d=!1;const p=e.background;p?p.isColor&&(c.color.copy(p),e.background=null,d=!0):(c.color.copy(Io),d=!0);for(let t=0;t<6;t++){const n=t%3;0===n?(i.up.set(0,a[t],0),i.lookAt(o[t],0,0)):1===n?(i.up.set(0,0,a[t]),i.lookAt(0,o[t],0)):(i.up.set(0,a[t],0),i.lookAt(0,0,o[t]));const s=this._cubeSize;Go(r,n*s,t>2?s:0,s,s),u.setRenderTarget(r),d&&u.render(h,i),u.render(e,i)}h.geometry.dispose(),h.material.dispose(),u.toneMapping=l,u.autoClear=s,e.background=p}_textureToCubeUV(e,t){const n=this._renderer,r=e.mapping===he||e.mapping===de;r?(null===this._cubemapMaterial&&(this._cubemapMaterial=Xo()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===e.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=jo());const i=r?this._cubemapMaterial:this._equirectMaterial,a=new Ga(this._lodPlanes[0],i);i.uniforms.envMap.value=e;const o=this._cubeSize;Go(t,0,0,3*o,2*o),n.setRenderTarget(t),n.render(a,Ro)}_applyPMREM(e){const t=this._renderer,n=t.autoClear;t.autoClear=!1;const r=this._lodPlanes.length;for(let t=1;t<r;t++){const n=Math.sqrt(this._sigmas[t]*this._sigmas[t]-this._sigmas[t-1]*this._sigmas[t-1]),i=Vo[(r-t-1)%Vo.length];this._blur(e,t-1,t,n,i)}t.autoClear=n}_blur(e,t,n,r,i){const a=this._pingPongRenderTarget;this._halfBlur(e,a,t,n,r,"latitudinal",i),this._halfBlur(a,e,n,n,r,"longitudinal",i)}_halfBlur(e,t,n,r,i,a,o){const u=this._renderer,s=this._blurMaterial;"latitudinal"!==a&&"longitudinal"!==a&&console.error("blur direction must be either latitudinal or longitudinal!");const l=new Ga(this._lodPlanes[r],s),c=s.uniforms,h=this._sizeLods[n]-1,d=isFinite(i)?Math.PI/(2*h):2*Math.PI/39,p=i/d,f=isFinite(i)?1+Math.floor(3*p):Po;f>Po&&console.warn(`sigmaRadians, ${i}, is too large and will clip, as it requested ${f} samples when the maximum is set to 20`);const m=[];let g=0;for(let e=0;e<Po;++e){const t=e/p,n=Math.exp(-t*t/2);m.push(n),0===e?g+=n:e<f&&(g+=2*n)}for(let e=0;e<m.length;e++)m[e]=m[e]/g;c.envMap.value=e.texture,c.samples.value=f,c.weights.value=m,c.latitudinal.value="latitudinal"===a,o&&(c.poleAxis.value=o);const{_lodMax:_}=this;c.dTheta.value=d,c.mipInt.value=_-n;const D=this._sizeLods[r];Go(t,3*D*(r>_-4?r-_+4:0),4*(this._cubeSize-D),3*D,2*D),u.setRenderTarget(t),u.render(l,Ro)}}function Ho(e,t,n){const r=new Sr(e,t,n);return r.texture.mapping=me,r.texture.name="PMREM.cubeUv",r.scissorTest=!0,r}function Go(e,t,n,r,i){e.viewport.set(t,n,r,i),e.scissor.set(t,n,r,i)}function jo(){return new $a({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:Ko(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\n\t\t\t#include <common>\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 outputDirection = normalize( vOutputDirection );\n\t\t\t\tvec2 uv = equirectUv( outputDirection );\n\n\t\t\t\tgl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );\n\n\t\t\t}\n\t\t",blending:_,depthTest:!1,depthWrite:!1})}function Xo(){return new $a({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:Ko(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tuniform float flipEnvMap;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform samplerCube envMap;\n\n\t\t\tvoid main() {\n\n\t\t\t\tgl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );\n\n\t\t\t}\n\t\t",blending:_,depthTest:!1,depthWrite:!1})}function Ko(){return"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t"}function qo(e){let t=new WeakMap,n=null;function r(e){const n=e.target;n.removeEventListener("dispose",r);const i=t.get(n);void 0!==i&&(t.delete(n),i.dispose())}return{get:function(i){if(i&&i.isTexture){const a=i.mapping,o=a===pe||a===fe,u=a===he||a===de;if(o||u){let a=t.get(i);const s=void 0!==a?a.texture.pmremVersion:0;if(i.isRenderTargetTexture&&i.pmremVersion!==s)return null===n&&(n=new Wo(e)),a=o?n.fromEquirectangular(i,a):n.fromCubemap(i,a),a.texture.pmremVersion=i.pmremVersion,t.set(i,a),a.texture;if(void 0!==a)return a.texture;{const s=i.image;return o&&s&&s.height>0||u&&s&&function(e){let t=0;const n=6;for(let r=0;r<n;r++)void 0!==e[r]&&t++;return t===n}(s)?(null===n&&(n=new Wo(e)),a=o?n.fromEquirectangular(i):n.fromCubemap(i),a.texture.pmremVersion=i.pmremVersion,t.set(i,a),i.addEventListener("dispose",r),a.texture):null}}}return i},dispose:function(){t=new WeakMap,null!==n&&(n.dispose(),n=null)}}}function Jo(e){const t={};function n(n){if(void 0!==t[n])return t[n];let r;switch(n){case"WEBGL_depth_texture":r=e.getExtension("WEBGL_depth_texture")||e.getExtension("MOZ_WEBGL_depth_texture")||e.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":r=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":r=e.getExtension("WEBGL_compressed_texture_s3tc")||e.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":r=e.getExtension("WEBGL_compressed_texture_pvrtc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:r=e.getExtension(n)}return t[n]=r,r}return{has:function(e){return null!==n(e)},init:function(){n("EXT_color_buffer_float"),n("WEBGL_clip_cull_distance"),n("OES_texture_float_linear"),n("EXT_color_buffer_half_float"),n("WEBGL_multisampled_render_to_texture"),n("WEBGL_render_shared_exponent")},get:function(e){const t=n(e);return null===t&&lr("THREE.WebGLRenderer: "+e+" extension not supported."),t}}}function Yo(e,t,n,r){const i={},a=new WeakMap;function o(e){const u=e.target;null!==u.index&&t.remove(u.index);for(const e in u.attributes)t.remove(u.attributes[e]);for(const e in u.morphAttributes){const n=u.morphAttributes[e];for(let e=0,r=n.length;e<r;e++)t.remove(n[e])}u.removeEventListener("dispose",o),delete i[u.id];const s=a.get(u);s&&(t.remove(s),a.delete(u)),r.releaseStatesOfGeometry(u),!0===u.isInstancedBufferGeometry&&delete u._maxInstanceCount,n.memory.geometries--}function u(e){const n=[],r=e.index,i=e.attributes.position;let o=0;if(null!==r){const e=r.array;o=r.version;for(let t=0,r=e.length;t<r;t+=3){const r=e[t+0],i=e[t+1],a=e[t+2];n.push(r,i,i,a,a,r)}}else{if(void 0===i)return;{const e=i.array;o=i.version;for(let t=0,r=e.length/3-1;t<r;t+=3){const e=t+0,r=t+1,i=t+2;n.push(e,r,r,i,i,e)}}}const u=new(rr(n)?ga:fa)(n,1);u.version=o;const s=a.get(e);s&&t.remove(s),a.set(e,u)}return{get:function(e,t){return!0===i[t.id]||(t.addEventListener("dispose",o),i[t.id]=!0,n.memory.geometries++),t},update:function(n){const r=n.attributes;for(const n in r)t.update(r[n],e.ARRAY_BUFFER);const i=n.morphAttributes;for(const n in i){const r=i[n];for(let n=0,i=r.length;n<i;n++)t.update(r[n],e.ARRAY_BUFFER)}},getWireframeAttribute:function(e){const t=a.get(e);if(t){const n=e.index;null!==n&&t.version<n.version&&u(e)}else u(e);return a.get(e)}}}function $o(e,t,n){let r,i,a;function o(t,o,u){0!==u&&(e.drawElementsInstanced(r,o,i,t*a,u),n.update(o,r,u))}this.setMode=function(e){r=e},this.setIndex=function(e){i=e.type,a=e.bytesPerElement},this.render=function(t,o){e.drawElements(r,o,i,t*a),n.update(o,r,1)},this.renderInstances=o,this.renderMultiDraw=function(e,o,u){if(0===u)return;const s=t.get("WEBGL_multi_draw");if(null===s)for(let t=0;t<u;t++)this.render(e[t]/a,o[t]);else{s.multiDrawElementsWEBGL(r,o,0,i,e,0,u);let t=0;for(let e=0;e<u;e++)t+=o[e];n.update(t,r,1)}},this.renderMultiDrawInstances=function(e,u,s,l){if(0===s)return;const c=t.get("WEBGL_multi_draw");if(null===c)for(let t=0;t<e.length;t++)o(e[t]/a,u[t],l[t]);else{c.multiDrawElementsInstancedWEBGL(r,u,0,i,e,0,l,0,s);let t=0;for(let e=0;e<s;e++)t+=u[e];for(let e=0;e<l.length;e++)n.update(t,r,l[e])}}}function Qo(e){const t={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:t,programs:null,autoReset:!0,reset:function(){t.calls=0,t.triangles=0,t.points=0,t.lines=0},update:function(n,r,i){switch(t.calls++,r){case e.TRIANGLES:t.triangles+=i*(n/3);break;case e.LINES:t.lines+=i*(n/2);break;case e.LINE_STRIP:t.lines+=i*(n-1);break;case e.LINE_LOOP:t.lines+=i*n;break;case e.POINTS:t.points+=i*n;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",r)}}}}function Zo(e,t,n){const r=new WeakMap,i=new Fr;return{update:function(a,o,u){const s=a.morphTargetInfluences,l=o.morphAttributes.position||o.morphAttributes.normal||o.morphAttributes.color,c=void 0!==l?l.length:0;let h=r.get(o);if(void 0===h||h.count!==c){void 0!==h&&h.texture.dispose();const d=void 0!==o.morphAttributes.position,p=void 0!==o.morphAttributes.normal,f=void 0!==o.morphAttributes.color,m=o.morphAttributes.position||[],g=o.morphAttributes.normal||[],_=o.morphAttributes.color||[];let D=0;!0===d&&(D=1),!0===p&&(D=2),!0===f&&(D=3);let v=o.attributes.position.count*D,y=1;v>t.maxTextureSize&&(y=Math.ceil(v/t.maxTextureSize),v=t.maxTextureSize);const E=new Float32Array(v*y*4*c),A=new xr(E,v,y,c);A.type=Ne,A.needsUpdate=!0;const C=4*D;for(let b=0;b<c;b++){const S=m[b],x=g[b],B=_[b],w=v*y*4*b;for(let M=0;M<S.count;M++){const T=M*C;!0===d&&(i.fromBufferAttribute(S,M),E[w+T+0]=i.x,E[w+T+1]=i.y,E[w+T+2]=i.z,E[w+T+3]=0),!0===p&&(i.fromBufferAttribute(x,M),E[w+T+4]=i.x,E[w+T+5]=i.y,E[w+T+6]=i.z,E[w+T+7]=0),!0===f&&(i.fromBufferAttribute(B,M),E[w+T+8]=i.x,E[w+T+9]=i.y,E[w+T+10]=i.z,E[w+T+11]=4===B.itemSize?i.w:1)}}function F(){A.dispose(),r.delete(o),o.removeEventListener("dispose",F)}h={count:c,texture:A,size:new er(v,y)},r.set(o,h),o.addEventListener("dispose",F)}if(!0===a.isInstancedMesh&&null!==a.morphTexture)u.getUniforms().setValue(e,"morphTexture",a.morphTexture,n);else{let P=0;for(let I=0;I<s.length;I++)P+=s[I];const R=o.morphTargetsRelative?1:1-P;u.getUniforms().setValue(e,"morphTargetBaseInfluence",R),u.getUniforms().setValue(e,"morphTargetInfluences",s)}u.getUniforms().setValue(e,"morphTargetsTexture",h.texture,n),u.getUniforms().setValue(e,"morphTargetsTextureSize",h.size)}}}function eu(e,t,n,r){let i=new WeakMap;function a(e){const t=e.target;t.removeEventListener("dispose",a),n.remove(t.instanceMatrix),null!==t.instanceColor&&n.remove(t.instanceColor)}return{update:function(o){const u=r.render.frame,s=o.geometry,l=t.get(o,s);if(i.get(l)!==u&&(t.update(l),i.set(l,u)),o.isInstancedMesh&&(!1===o.hasEventListener("dispose",a)&&o.addEventListener("dispose",a),i.get(o)!==u&&(n.update(o.instanceMatrix,e.ARRAY_BUFFER),null!==o.instanceColor&&n.update(o.instanceColor,e.ARRAY_BUFFER),i.set(o,u))),o.isSkinnedMesh){const e=o.skeleton;i.get(e)!==u&&(e.update(),i.set(e,u))}return l},dispose:function(){i=new WeakMap}}}class tu extends Cr{constructor(e,t,n,r,i,a,o,u,s,l=Xe){if(l!==Xe&&l!==Ke)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===n&&l===Xe&&(n=Ie),void 0===n&&l===Ke&&(n=Ue),super(null,r,i,a,o,u,l,n,s),this.isDepthTexture=!0,this.image={width:e,height:t},this.magFilter=void 0!==o?o:ve,this.minFilter=void 0!==u?u:ve,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.compareFunction=e.compareFunction,this}toJSON(e){const t=super.toJSON(e);return null!==this.compareFunction&&(t.compareFunction=this.compareFunction),t}}const nu=new Cr,ru=new tu(1,1);ru.compareFunction=Fn;const iu=new xr,au=new wr,ou=new ao,uu=[],su=[],lu=new Float32Array(16),cu=new Float32Array(9),hu=new Float32Array(4);function du(e,t,n){const r=e[0];if(r<=0||r>0)return e;const i=t*n;let a=uu[i];if(void 0===a&&(a=new Float32Array(i),uu[i]=a),0!==t){r.toArray(a,0);for(let r=1,i=0;r!==t;++r)i+=n,e[r].toArray(a,i)}return a}function pu(e,t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function fu(e,t){for(let n=0,r=t.length;n<r;n++)e[n]=t[n]}function mu(e,t){let n=su[t];void 0===n&&(n=new Int32Array(t),su[t]=n);for(let r=0;r!==t;++r)n[r]=e.allocateTextureUnit();return n}function gu(e,t){const n=this.cache;n[0]!==t&&(e.uniform1f(this.addr,t),n[0]=t)}function _u(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y||(e.uniform2f(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(pu(n,t))return;e.uniform2fv(this.addr,t),fu(n,t)}}function Du(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z||(e.uniform3f(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else if(void 0!==t.r)n[0]===t.r&&n[1]===t.g&&n[2]===t.b||(e.uniform3f(this.addr,t.r,t.g,t.b),n[0]=t.r,n[1]=t.g,n[2]=t.b);else{if(pu(n,t))return;e.uniform3fv(this.addr,t),fu(n,t)}}function vu(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z&&n[3]===t.w||(e.uniform4f(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(pu(n,t))return;e.uniform4fv(this.addr,t),fu(n,t)}}function yu(e,t){const n=this.cache,r=t.elements;if(void 0===r){if(pu(n,t))return;e.uniformMatrix2fv(this.addr,!1,t),fu(n,t)}else{if(pu(n,r))return;hu.set(r),e.uniformMatrix2fv(this.addr,!1,hu),fu(n,r)}}function Eu(e,t){const n=this.cache,r=t.elements;if(void 0===r){if(pu(n,t))return;e.uniformMatrix3fv(this.addr,!1,t),fu(n,t)}else{if(pu(n,r))return;cu.set(r),e.uniformMatrix3fv(this.addr,!1,cu),fu(n,r)}}function Au(e,t){const n=this.cache,r=t.elements;if(void 0===r){if(pu(n,t))return;e.uniformMatrix4fv(this.addr,!1,t),fu(n,t)}else{if(pu(n,r))return;lu.set(r),e.uniformMatrix4fv(this.addr,!1,lu),fu(n,r)}}function Cu(e,t){const n=this.cache;n[0]!==t&&(e.uniform1i(this.addr,t),n[0]=t)}function Fu(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y||(e.uniform2i(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(pu(n,t))return;e.uniform2iv(this.addr,t),fu(n,t)}}function bu(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z||(e.uniform3i(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else{if(pu(n,t))return;e.uniform3iv(this.addr,t),fu(n,t)}}function Su(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z&&n[3]===t.w||(e.uniform4i(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(pu(n,t))return;e.uniform4iv(this.addr,t),fu(n,t)}}function xu(e,t){const n=this.cache;n[0]!==t&&(e.uniform1ui(this.addr,t),n[0]=t)}function Bu(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y||(e.uniform2ui(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(pu(n,t))return;e.uniform2uiv(this.addr,t),fu(n,t)}}function wu(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z||(e.uniform3ui(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else{if(pu(n,t))return;e.uniform3uiv(this.addr,t),fu(n,t)}}function Mu(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z&&n[3]===t.w||(e.uniform4ui(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(pu(n,t))return;e.uniform4uiv(this.addr,t),fu(n,t)}}function Tu(e,t,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i);const a=this.type===e.SAMPLER_2D_SHADOW?ru:nu;n.setTexture2D(t||a,i)}function Pu(e,t,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture3D(t||au,i)}function Ru(e,t,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTextureCube(t||ou,i)}function Iu(e,t,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture2DArray(t||iu,i)}function Nu(e,t){e.uniform1fv(this.addr,t)}function Lu(e,t){const n=du(t,this.size,2);e.uniform2fv(this.addr,n)}function Ou(e,t){const n=du(t,this.size,3);e.uniform3fv(this.addr,n)}function ku(e,t){const n=du(t,this.size,4);e.uniform4fv(this.addr,n)}function Uu(e,t){const n=du(t,this.size,4);e.uniformMatrix2fv(this.addr,!1,n)}function zu(e,t){const n=du(t,this.size,9);e.uniformMatrix3fv(this.addr,!1,n)}function Vu(e,t){const n=du(t,this.size,16);e.uniformMatrix4fv(this.addr,!1,n)}function Wu(e,t){e.uniform1iv(this.addr,t)}function Hu(e,t){e.uniform2iv(this.addr,t)}function Gu(e,t){e.uniform3iv(this.addr,t)}function ju(e,t){e.uniform4iv(this.addr,t)}function Xu(e,t){e.uniform1uiv(this.addr,t)}function Ku(e,t){e.uniform2uiv(this.addr,t)}function qu(e,t){e.uniform3uiv(this.addr,t)}function Ju(e,t){e.uniform4uiv(this.addr,t)}function Yu(e,t,n){const r=this.cache,i=t.length,a=mu(n,i);pu(r,a)||(e.uniform1iv(this.addr,a),fu(r,a));for(let e=0;e!==i;++e)n.setTexture2D(t[e]||nu,a[e])}function $u(e,t,n){const r=this.cache,i=t.length,a=mu(n,i);pu(r,a)||(e.uniform1iv(this.addr,a),fu(r,a));for(let e=0;e!==i;++e)n.setTexture3D(t[e]||au,a[e])}function Qu(e,t,n){const r=this.cache,i=t.length,a=mu(n,i);pu(r,a)||(e.uniform1iv(this.addr,a),fu(r,a));for(let e=0;e!==i;++e)n.setTextureCube(t[e]||ou,a[e])}function Zu(e,t,n){const r=this.cache,i=t.length,a=mu(n,i);pu(r,a)||(e.uniform1iv(this.addr,a),fu(r,a));for(let e=0;e!==i;++e)n.setTexture2DArray(t[e]||iu,a[e])}class es{constructor(e,t,n){this.id=e,this.addr=n,this.cache=[],this.type=t.type,this.setValue=function(e){switch(e){case 5126:return gu;case 35664:return _u;case 35665:return Du;case 35666:return vu;case 35674:return yu;case 35675:return Eu;case 35676:return Au;case 5124:case 35670:return Cu;case 35667:case 35671:return Fu;case 35668:case 35672:return bu;case 35669:case 35673:return Su;case 5125:return xu;case 36294:return Bu;case 36295:return wu;case 36296:return Mu;case 35678:case 36198:case 36298:case 36306:case 35682:return Tu;case 35679:case 36299:case 36307:return Pu;case 35680:case 36300:case 36308:case 36293:return Ru;case 36289:case 36303:case 36311:case 36292:return Iu}}(t.type)}}class ts{constructor(e,t,n){this.id=e,this.addr=n,this.cache=[],this.type=t.type,this.size=t.size,this.setValue=function(e){switch(e){case 5126:return Nu;case 35664:return Lu;case 35665:return Ou;case 35666:return ku;case 35674:return Uu;case 35675:return zu;case 35676:return Vu;case 5124:case 35670:return Wu;case 35667:case 35671:return Hu;case 35668:case 35672:return Gu;case 35669:case 35673:return ju;case 5125:return Xu;case 36294:return Ku;case 36295:return qu;case 36296:return Ju;case 35678:case 36198:case 36298:case 36306:case 35682:return Yu;case 35679:case 36299:case 36307:return $u;case 35680:case 36300:case 36308:case 36293:return Qu;case 36289:case 36303:case 36311:case 36292:return Zu}}(t.type)}}class ns{constructor(e){this.id=e,this.seq=[],this.map={}}setValue(e,t,n){const r=this.seq;for(let i=0,a=r.length;i!==a;++i){const a=r[i];a.setValue(e,t[a.id],n)}}}const rs=/(\w+)(\])?(\[|\.)?/g;function is(e,t){e.seq.push(t),e.map[t.id]=t}function as(e,t,n){const r=e.name,i=r.length;for(rs.lastIndex=0;;){const a=rs.exec(r),o=rs.lastIndex;let u=a[1];const s="]"===a[2],l=a[3];
vendor: 5,502 bytes, line 2
2if(s&&(u|=0),void 0===l||"["===l&&o+2===i){is(n,void 0===l?new es(u,e,t):new ts(u,e,t));break}{let e=n.map[u];void 0===e&&(e=new ns(u),is(n,e)),n=e}}}class os{constructor(e,t){this.seq=[],this.map={};const n=e.getProgramParameter(t,e.ACTIVE_UNIFORMS);for(let r=0;r<n;++r){const n=e.getActiveUniform(t,r);as(n,e.getUniformLocation(t,n.name),this)}}setValue(e,t,n,r){const i=this.map[t];void 0!==i&&i.setValue(e,n,r)}setOptional(e,t,n){const r=t[n];void 0!==r&&this.setValue(e,n,r)}static upload(e,t,n,r){for(let i=0,a=t.length;i!==a;++i){const a=t[i],o=n[a.id];!1!==o.needsUpdate&&a.setValue(e,o.value,r)}}static seqWithValue(e,t){const n=[];for(let r=0,i=e.length;r!==i;++r){const i=e[r];i.id in t&&n.push(i)}return n}}function us(e,t,n){const r=e.createShader(t);return e.shaderSource(r,n),e.compileShader(r),r}let ss=0;function ls(e,t,n){const r=e.getShaderParameter(t,e.COMPILE_STATUS),i=e.getShaderInfoLog(t).trim();if(r&&""===i)return"";const a=/ERROR: 0:(\d+)/.exec(i);if(a){const r=parseInt(a[1]);return n.toUpperCase()+"\n\n"+i+"\n\n"+function(e,t){const n=e.split("\n"),r=[],i=Math.max(t-6,0),a=Math.min(t+6,n.length);for(let e=i;e<a;e++){const i=e+1;r.push(`${i===t?">":" "} ${i}: ${n[e]}`)}return r.join("\n")}(e.getShaderSource(t),r)}return i}function cs(e,t){const n=function(e){const t=fr.getPrimaries(fr.workingColorSpace),n=fr.getPrimaries(e);let r;switch(t===n?r="":t===rn&&n===nn?r="LinearDisplayP3ToLinearSRGB":t===nn&&n===rn&&(r="LinearSRGBToLinearDisplayP3"),e){case $t:case Zt:return[r,"LinearTransferOETF"];case Yt:case Qt:return[r,"sRGBTransferOETF"];default:return console.warn("THREE.WebGLProgram: Unsupported color space:",e),[r,"LinearTransferOETF"]}}(t);return`vec4 ${e}( vec4 value ) { return ${n[0]}( ${n[1]}( value ) ); }`}function hs(e,t){let n;switch(t){case te:n="Linear";break;case ne:n="Reinhard";break;case re:n="OptimizedCineon";break;case ie:n="ACESFilmic";break;case oe:n="AgX";break;case ue:n="Neutral";break;case ae:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",t),n="Linear"}return"vec3 "+e+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}function ds(e){return""!==e}function ps(e,t){const n=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,n).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function fs(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}const ms=/^[ \t]*#include +<([\w\d./]+)>/gm;function gs(e){return e.replace(ms,Ds)}const _s=new Map;function Ds(e,t){let n=Do[t];if(void 0===n){const e=_s.get(t);if(void 0===e)throw new Error("Can not resolve #include <"+t+">");n=Do[e],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',t,e)}return gs(n)}const vs=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function ys(e){return e.replace(vs,Es)}function Es(e,t,n,r){let i="";for(let e=parseInt(t);e<parseInt(n);e++)i+=r.replace(/\[\s*i\s*\]/g,"[ "+e+" ]").replace(/UNROLLED_LOOP_INDEX/g,e);return i}function As(e){let t=`precision ${e.precision} float;\n\tprecision ${e.precision} int;\n\tprecision ${e.precision} sampler2D;\n\tprecision ${e.precision} samplerCube;\n\tprecision ${e.precision} sampler3D;\n\tprecision ${e.precision} sampler2DArray;\n\tprecision ${e.precision} sampler2DShadow;\n\tprecision ${e.precision} samplerCubeShadow;\n\tprecision ${e.precision} sampler2DArrayShadow;\n\tprecision ${e.precision} isampler2D;\n\tprecision ${e.precision} isampler3D;\n\tprecision ${e.precision} isamplerCube;\n\tprecision ${e.precision} isampler2DArray;\n\tprecision ${e.precision} usampler2D;\n\tprecision ${e.precision} usampler3D;\n\tprecision ${e.precision} usamplerCube;\n\tprecision ${e.precision} usampler2DArray;\n\t`;return"highp"===e.precision?t+="\n#define HIGH_PRECISION":"mediump"===e.precision?t+="\n#define MEDIUM_PRECISION":"lowp"===e.precision&&(t+="\n#define LOW_PRECISION"),t}function Cs(e,t,n,r){const i=e.getContext(),a=n.defines;let o=n.vertexShader,u=n.fragmentShader;const s=function(e){let t="SHADOWMAP_TYPE_BASIC";return e.shadowMapType===h?t="SHADOWMAP_TYPE_PCF":e.shadowMapType===d?t="SHADOWMAP_TYPE_PCF_SOFT":e.shadowMapType===p&&(t="SHADOWMAP_TYPE_VSM"),t}(n),l=function(e){let t="ENVMAP_TYPE_CUBE";if(e.envMap)switch(e.envMapMode){case he:case de:t="ENVMAP_TYPE_CUBE";break;case me:t="ENVMAP_TYPE_CUBE_UV"}return t}(n),c=function(e){let t="ENVMAP_MODE_REFLECTION";e.envMap&&e.envMapMode===de&&(t="ENVMAP_MODE_REFRACTION");return t}(n),f=function(e){let t="ENVMAP_BLENDING_NONE";if(e.envMap)switch(e.combine){case $:t="ENVMAP_BLENDING_MULTIPLY";break;case Q:t="ENVMAP_BLENDING_MIX";break;case Z:t="ENVMAP_BLENDING_ADD"}return t}(n),m=function(e){const t=e.envMapCubeUVHeight;if(null===t)return null;const n=Math.log2(t)-2,r=1/t;return{texelWidth:1/(3*Math.max(Math.pow(2,n),112)),texelHeight:r,max
vendor: 6,150 bytes, line 2
2Mip:n}}(n),g=function(e){return[e.extensionClipCullDistance?"#extension GL_ANGLE_clip_cull_distance : require":"",e.extensionMultiDraw?"#extension GL_ANGLE_multi_draw : require":""].filter(ds).join("\n")}(n),_=function(e){const t=[];for(const n in e){const r=e[n];!1!==r&&t.push("#define "+n+" "+r)}return t.join("\n")}(a),D=i.createProgram();let v,y,E=n.glslVersion?"#version "+n.glslVersion+"\n":"";n.isRawShaderMaterial?(v=["#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,_].filter(ds).join("\n"),v.length>0&&(v+="\n"),y=["#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,_].filter(ds).join("\n"),y.length>0&&(y+="\n")):(v=[As(n),"#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,_,n.extensionClipCullDistance?"#define USE_CLIP_DISTANCE":"",n.batching?"#define USE_BATCHING":"",n.batchingColor?"#define USE_BATCHING_COLOR":"",n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.instancingMorph?"#define USE_INSTANCING_MORPH":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+c:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.displacementMap?"#define USE_DISPLACEMENTMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.anisotropy?"#define USE_ANISOTROPY":"",n.anisotropyMap?"#define USE_ANISOTROPYMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaHash?"#define USE_ALPHAHASH":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.mapUv?"#define MAP_UV "+n.mapUv:"",n.alphaMapUv?"#define ALPHAMAP_UV "+n.alphaMapUv:"",n.lightMapUv?"#define LIGHTMAP_UV "+n.lightMapUv:"",n.aoMapUv?"#define AOMAP_UV "+n.aoMapUv:"",n.emissiveMapUv?"#define EMISSIVEMAP_UV "+n.emissiveMapUv:"",n.bumpMapUv?"#define BUMPMAP_UV "+n.bumpMapUv:"",n.normalMapUv?"#define NORMALMAP_UV "+n.normalMapUv:"",n.displacementMapUv?"#define DISPLACEMENTMAP_UV "+n.displacementMapUv:"",n.metalnessMapUv?"#define METALNESSMAP_UV "+n.metalnessMapUv:"",n.roughnessMapUv?"#define ROUGHNESSMAP_UV "+n.roughnessMapUv:"",n.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+n.anisotropyMapUv:"",n.clearcoatMapUv?"#define CLEARCOATMAP_UV "+n.clearcoatMapUv:"",n.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+n.clearcoatNormalMapUv:"",n.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+n.clearcoatRoughnessMapUv:"",n.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+n.iridescenceMapUv:"",n.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+n.iridescenceThicknessMapUv:"",n.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+n.sheenColorMapUv:"",n.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+n.sheenRoughnessMapUv:"",n.specularMapUv?"#define SPECULARMAP_UV "+n.specularMapUv:"",n.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+n.specularColorMapUv:"",n.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+n.specularIntensityMapUv:"",n.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+n.transmissionMapUv:"",n.thicknessMapUv?"#define THICKNESSMAP_UV "+n.thicknessMapUv:"",n.vertexTangents&&!1===n.flatShading?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUv1s?"#define USE_UV1":"",n.vertexUv2s?"#define USE_UV2":"",n.vertexUv3s?"#define USE_UV3":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&!1===n.flatShading?"#define USE_MORPHNORMALS":"",n.morphColors?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+s:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.numLightProbes>0?"#define USE_LIGHT_PROBES":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING","\tattribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR","\tattribute vec3 instanceColor;","#endif","#ifdef USE_INSTANCING_MORPH","\tuniform sampler2D morphTexture;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1","\tattribute vec2 uv1;","#endif","#ifdef USE_UV2","\tattribute vec2 uv2;","#endif","#ifdef USE_UV3","\tattribute vec2 uv3;","#endif","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )","\tattribute vec4 color;","#elif defined( USE_COLOR )","\tattribute vec3 color;","#endif","#ifdef USE_SKINNING","\tattribute vec4 skinIndex;","\tattribute vec4 skinWeight;","#endif","\n"].filter(ds).join("\n"),y=[As(n),"#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,_,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.alph
vendor: 4,136 bytes, line 2
2aToCoverage?"#define ALPHA_TO_COVERAGE":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+l:"",n.envMap?"#define "+c:"",n.envMap?"#define "+f:"",m?"#define CUBEUV_TEXEL_WIDTH "+m.texelWidth:"",m?"#define CUBEUV_TEXEL_HEIGHT "+m.texelHeight:"",m?"#define CUBEUV_MAX_MIP "+m.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.anisotropy?"#define USE_ANISOTROPY":"",n.anisotropyMap?"#define USE_ANISOTROPYMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.dispersion?"#define USE_DISPERSION":"",n.iridescence?"#define USE_IRIDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.alphaHash?"#define USE_ALPHAHASH":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.vertexTangents&&!1===n.flatShading?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor||n.batchingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUv1s?"#define USE_UV1":"",n.vertexUv2s?"#define USE_UV2":"",n.vertexUv3s?"#define USE_UV3":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+s:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.numLightProbes>0?"#define USE_LIGHT_PROBES":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",n.toneMapping!==ee?"#define TONE_MAPPING":"",n.toneMapping!==ee?Do.tonemapping_pars_fragment:"",n.toneMapping!==ee?hs("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",Do.colorspace_pars_fragment,cs("linearToOutputTexel",n.outputColorSpace),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"","\n"].filter(ds).join("\n")),o=gs(o),o=ps(o,n),o=fs(o,n),u=gs(u),u=ps(u,n),u=fs(u,n),o=ys(o),u=ys(u),!0!==n.isRawShaderMaterial&&(E="#version 300 es\n",v=[g,"#define attribute in","#define varying out","#define texture2D texture"].join("\n")+"\n"+v,y=["#define varying in",n.glslVersion===Un?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===Un?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+y);const A=E+v+o,C=E+y+u,F=us(i,i.VERTEX_SHADER,A),b=us(i,i.FRAGMENT_SHADER,C);function S(t){if(e.debug.checkShaderErrors){const n=i.getProgramInfoLog(D).trim(),r=i.getShaderInfoLog(F).trim(),a=i.getShaderInfoLog(b).trim();let o=!0,u=!0;if(!1===i.getProgramParameter(D,i.LINK_STATUS))if(o=!1,"function"==typeof e.debug.onSha
vendor: 4,676 bytes, line 2
2derError)e.debug.onShaderError(i,D,F,b);else{const e=ls(i,F,"vertex"),r=ls(i,b,"fragment");console.error("THREE.WebGLProgram: Shader Error "+i.getError()+" - VALIDATE_STATUS "+i.getProgramParameter(D,i.VALIDATE_STATUS)+"\n\nMaterial Name: "+t.name+"\nMaterial Type: "+t.type+"\n\nProgram Info Log: "+n+"\n"+e+"\n"+r)}else""!==n?console.warn("THREE.WebGLProgram: Program Info Log:",n):""!==r&&""!==a||(u=!1);u&&(t.diagnostics={runnable:o,programLog:n,vertexShader:{log:r,prefix:v},fragmentShader:{log:a,prefix:y}})}i.deleteShader(F),i.deleteShader(b),x=new os(i,D),B=function(e,t){const n={},r=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES);for(let i=0;i<r;i++){const r=e.getActiveAttrib(t,i),a=r.name;let o=1;r.type===e.FLOAT_MAT2&&(o=2),r.type===e.FLOAT_MAT3&&(o=3),r.type===e.FLOAT_MAT4&&(o=4),n[a]={type:r.type,location:e.getAttribLocation(t,a),locationSize:o}}return n}(i,D)}let x,B;i.attachShader(D,F),i.attachShader(D,b),void 0!==n.index0AttributeName?i.bindAttribLocation(D,0,n.index0AttributeName):!0===n.morphTargets&&i.bindAttribLocation(D,0,"position"),i.linkProgram(D),this.getUniforms=function(){return void 0===x&&S(this),x},this.getAttributes=function(){return void 0===B&&S(this),B};let w=!1===n.rendererExtensionParallelShaderCompile;return this.isReady=function(){return!1===w&&(w=i.getProgramParameter(D,37297)),w},this.destroy=function(){r.releaseStatesOfProgram(this),i.deleteProgram(D),this.program=void 0},this.type=n.shaderType,this.name=n.shaderName,this.id=ss++,this.cacheKey=t,this.usedTimes=1,this.program=D,this.vertexShader=F,this.fragmentShader=b,this}let Fs=0;class bs{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const t=e.vertexShader,n=e.fragmentShader,r=this._getShaderStage(t),i=this._getShaderStage(n),a=this._getShaderCacheForMaterial(e);return!1===a.has(r)&&(a.add(r),r.usedTimes++),!1===a.has(i)&&(a.add(i),i.usedTimes++),this}remove(e){const t=this.materialCache.get(e);for(const e of t)e.usedTimes--,0===e.usedTimes&&this.shaderCache.delete(e.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const t=this.materialCache;let n=t.get(e);return void 0===n&&(n=new Set,t.set(e,n)),n}_getShaderStage(e){const t=this.shaderCache;let n=t.get(e);return void 0===n&&(n=new Ss(e),t.set(e,n)),n}}class Ss{constructor(e){this.id=Fs++,this.code=e,this.usedTimes=0}}function xs(e,t,n,r,i,a,o){const u=new vi,s=new bs,l=new Set,c=[],h=i.logarithmicDepthBuffer,d=i.vertexTextures;let p=i.precision;const f={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function _(e){return l.add(e),0===e?"uv":`uv${e}`}return{getParameters:function(a,u,c,v,y){const E=v.fog,A=y.geometry,C=a.isMeshStandardMaterial?v.environment:null,F=(a.isMeshStandardMaterial?n:t).get(a.envMap||C),b=F&&F.mapping===me?F.image.height:null,S=f[a.type];null!==a.precision&&(p=i.getMaxPrecision(a.precision),p!==a.precision&&console.warn("THREE.WebGLProgram.getParameters:",a.precision,"not supported, using",p,"instead."));const x=A.morphAttributes.position||A.morphAttributes.normal||A.morphAttributes.color,B=void 0!==x?x.length:0;let w,M,T,P,R=0;if(void 0!==A.morphAttributes.position&&(R=1),void 0!==A.morphAttributes.normal&&(R=2),void 0!==A.morphAttributes.color&&(R=3),S){const e=yo[S];w=e.vertexShader,M=e.fragmentShader}else w=a.vertexShader,M=a.fragmentShader,s.update(a),T=s.getVertexShaderID(a),P=s.getFragmentShaderID(a);const I=e.getRenderTarget(),N=!0===y.isInstancedMesh,L=!0===y.isBatchedMesh,O=!!a.map,k=!!a.matcap,U=!!F,z=!!a.aoMap,V=!!a.lightMap,W=!!a.bumpMap,H=!!a.normalMap,G=!!a.displacementMap,j=!!a.emissiveMap,X=!!a.metalnessMap,K=!!a.roughnessMap,q=a.anisotropy>0,J=a.clearcoat>0,Y=a.dispersion>0,$=a.iridescence>0,Q=a.sheen>0,Z=a.transmission>0,te=q&&!!a.anisotropyMap,ne=J&&!!a.clearcoatMap,re=J&&!!a.clearcoatNormalMap,ie=J&&!!a.clearcoatRoughnessMap,ae=$&&!!a.iridescenceMap,oe=$&&!!a.iridescenceThicknessMap,ue=Q&&!!a.sheenColorMap,se=Q&&!!a.sheenRoughnessMap,le=!!a.specularMap,ce=!!a.specularColorMap,he=!!a.specularIntensityMap,de=Z&&!!a.transmissionMap,pe=Z&&!!a.thicknessMap,fe=!!a.gradientMap,ge=!!a.alphaMap,_e=a.alph
vendor: 6,029 bytes, line 2
2aTest>0,De=!!a.alphaHash,ve=!!a.extensions;let ye=ee;a.toneMapped&&(null!==I&&!0!==I.isXRRenderTarget||(ye=e.toneMapping));const Ee={shaderID:S,shaderType:a.type,shaderName:a.name,vertexShader:w,fragmentShader:M,defines:a.defines,customVertexShaderID:T,customFragmentShaderID:P,isRawShaderMaterial:!0===a.isRawShaderMaterial,glslVersion:a.glslVersion,precision:p,batching:L,batchingColor:L&&null!==y._colorsTexture,instancing:N,instancingColor:N&&null!==y.instanceColor,instancingMorph:N&&null!==y.morphTexture,supportsVertexTextures:d,outputColorSpace:null===I?e.outputColorSpace:!0===I.isXRRenderTarget?I.texture.colorSpace:$t,alphaToCoverage:!!a.alphaToCoverage,map:O,matcap:k,envMap:U,envMapMode:U&&F.mapping,envMapCubeUVHeight:b,aoMap:z,lightMap:V,bumpMap:W,normalMap:H,displacementMap:d&&G,emissiveMap:j,normalMapObjectSpace:H&&a.normalMapType===qt,normalMapTangentSpace:H&&a.normalMapType===Kt,metalnessMap:X,roughnessMap:K,anisotropy:q,anisotropyMap:te,clearcoat:J,clearcoatMap:ne,clearcoatNormalMap:re,clearcoatRoughnessMap:ie,dispersion:Y,iridescence:$,iridescenceMap:ae,iridescenceThicknessMap:oe,sheen:Q,sheenColorMap:ue,sheenRoughnessMap:se,specularMap:le,specularColorMap:ce,specularIntensityMap:he,transmission:Z,transmissionMap:de,thicknessMap:pe,gradientMap:fe,opaque:!1===a.transparent&&a.blending===D&&!1===a.alphaToCoverage,alphaMap:ge,alphaTest:_e,alphaHash:De,combine:a.combine,mapUv:O&&_(a.map.channel),aoMapUv:z&&_(a.aoMap.channel),lightMapUv:V&&_(a.lightMap.channel),bumpMapUv:W&&_(a.bumpMap.channel),normalMapUv:H&&_(a.normalMap.channel),displacementMapUv:G&&_(a.displacementMap.channel),emissiveMapUv:j&&_(a.emissiveMap.channel),metalnessMapUv:X&&_(a.metalnessMap.channel),roughnessMapUv:K&&_(a.roughnessMap.channel),anisotropyMapUv:te&&_(a.anisotropyMap.channel),clearcoatMapUv:ne&&_(a.clearcoatMap.channel),clearcoatNormalMapUv:re&&_(a.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:ie&&_(a.clearcoatRoughnessMap.channel),iridescenceMapUv:ae&&_(a.iridescenceMap.channel),iridescenceThicknessMapUv:oe&&_(a.iridescenceThicknessMap.channel),sheenColorMapUv:ue&&_(a.sheenColorMap.channel),sheenRoughnessMapUv:se&&_(a.sheenRoughnessMap.channel),specularMapUv:le&&_(a.specularMap.channel),specularColorMapUv:ce&&_(a.specularColorMap.channel),specularIntensityMapUv:he&&_(a.specularIntensityMap.channel),transmissionMapUv:de&&_(a.transmissionMap.channel),thicknessMapUv:pe&&_(a.thicknessMap.channel),alphaMapUv:ge&&_(a.alphaMap.channel),vertexTangents:!!A.attributes.tangent&&(H||q),vertexColors:a.vertexColors,vertexAlphas:!0===a.vertexColors&&!!A.attributes.color&&4===A.attributes.color.itemSize,pointsUvs:!0===y.isPoints&&!!A.attributes.uv&&(O||ge),fog:!!E,useFog:!0===a.fog,fogExp2:!!E&&E.isFogExp2,flatShading:!0===a.flatShading,sizeAttenuation:!0===a.sizeAttenuation,logarithmicDepthBuffer:h,skinning:!0===y.isSkinnedMesh,morphTargets:void 0!==A.morphAttributes.position,morphNormals:void 0!==A.morphAttributes.normal,morphColors:void 0!==A.morphAttributes.color,morphTargetsCount:B,morphTextureStride:R,numDirLights:u.directional.length,numPointLights:u.point.length,numSpotLights:u.spot.length,numSpotLightMaps:u.spotLightMap.length,numRectAreaLights:u.rectArea.length,numHemiLights:u.hemi.length,numDirLightShadows:u.directionalShadowMap.length,numPointLightShadows:u.pointShadowMap.length,numSpotLightShadows:u.spotShadowMap.length,numSpotLightShadowsWithMaps:u.numSpotLightShadowsWithMaps,numLightProbes:u.numLightProbes,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:a.dithering,shadowMapEnabled:e.shadowMap.enabled&&c.length>0,shadowMapType:e.shadowMap.type,toneMapping:ye,decodeVideoTexture:O&&!0===a.map.isVideoTexture&&fr.getTransfer(a.map.colorSpace)===tn,premultipliedAlpha:a.premultipliedAlpha,doubleSided:a.side===g,flipSided:a.side===m,useDepthPacking:a.depthPacking>=0,depthPacking:a.depthPacking||0,index0AttributeName:a.index0AttributeName,extensionClipCullDistance:ve&&!0===a.extensions.clipCullDistance&&r.has("WEBGL_clip_cull_distance"),extensionMultiDraw:ve&&!0===a.extensions.multiDraw&&r.has("WEBGL_multi_draw"),rendererExtensionParallelShaderCompile:r.has("KHR_parallel_shader_compile"),customProgramCacheKey:a.customProgramCacheKey()};return Ee.vertexUv1s=l.has(1),Ee.vertexUv2s=l.has(2),Ee.vertexUv3s=l.has(3),l.clear(),Ee},getProgramCacheKey:function(t){const n=[];if(t.shaderID?n.push(t.shaderID):(n.push(t.customVertexShaderID),n.push(t.customFragmentShaderID)),void 0!==t.defines)for(const e in t.defines)n.push(e),n.push(t.defines[e]);return!1===t.isRawShaderMaterial&&(!function(e,t){e.push(t.precision),e.push(t.outputColorSpace),e.push(t.envMapMode),e.push(t.envMapCubeUVHeight),e.push(t.mapUv),e.push(t.alphaMapUv),e.push(t.lightMapUv),e.push(t.aoMapUv),e.push(t.bumpMapUv),e.push(t.normalMapUv),e.push(t.displacementMapUv),e.push(t.emissiveMapUv),e.push(t.metalnessMapUv),e.push(t.roughnessMapUv),e.push(t.anisotropyMapUv),e.push(t.clearcoatMapUv),e.push(t.clearcoatNormalMapUv),e.push(t.clearcoatRoughnessMapUv),e.push(t.iridescenceMapUv),e.push(t.iridescenceThicknessMapUv),e.push(t.sheenColorMapUv),e.push(t.sheenRoughnessMapUv),e.push(t.specularMapUv),e.push(t.specularColorMapUv),e.push(t.specularIntensityMapUv),e.push(t.transmissionMapUv),e.push(t.thicknessMapUv),e.push(t.combine),e.push(t.fogExp2),e.push(t.sizeAttenuation),e.push(t.morphTargetsCount),e.push(t.morphAttributeCount),e.push(t.numDirLights),e.push(t.numPointLights),e.push(t.numSpotLights),e.push(t.numSpotLightMaps),e.push(t.numHemiLights),e.push(t.numRectAreaLights),e.push(t.numDirLightShadows),e.push(t.numPointLightShadows),e.push(t.numSpotLightShadows),e.push(t.numSpotLightShadowsWithMaps),e.push(t.numLightProbes),e.push(t.shadowMapType),e.push(t.toneMapping),e.push(t.numClippingPlanes),e.push(t.numClipIntersection),e.push(t.depthPacking)}(n,t),function(e,t){u.disableAll(),t.supportsVertexTextures&&u.enable(0);t.instancing&&u.enable(1);t.instancingColor&&u.enable(2);t.instancingMorph&&u.enable(3);t.matcap&&u.enable(4);t.envMap&&u.enable(5);
vendor: 11,099 bytes, line 2
2t.normalMapObjectSpace&&u.enable(6);t.normalMapTangentSpace&&u.enable(7);t.clearcoat&&u.enable(8);t.iridescence&&u.enable(9);t.alphaTest&&u.enable(10);t.vertexColors&&u.enable(11);t.vertexAlphas&&u.enable(12);t.vertexUv1s&&u.enable(13);t.vertexUv2s&&u.enable(14);t.vertexUv3s&&u.enable(15);t.vertexTangents&&u.enable(16);t.anisotropy&&u.enable(17);t.alphaHash&&u.enable(18);t.batching&&u.enable(19);t.dispersion&&u.enable(20);t.batchingColor&&u.enable(21);e.push(u.mask),u.disableAll(),t.fog&&u.enable(0);t.useFog&&u.enable(1);t.flatShading&&u.enable(2);t.logarithmicDepthBuffer&&u.enable(3);t.skinning&&u.enable(4);t.morphTargets&&u.enable(5);t.morphNormals&&u.enable(6);t.morphColors&&u.enable(7);t.premultipliedAlpha&&u.enable(8);t.shadowMapEnabled&&u.enable(9);t.doubleSided&&u.enable(10);t.flipSided&&u.enable(11);t.useDepthPacking&&u.enable(12);t.dithering&&u.enable(13);t.transmission&&u.enable(14);t.sheen&&u.enable(15);t.opaque&&u.enable(16);t.pointsUvs&&u.enable(17);t.decodeVideoTexture&&u.enable(18);t.alphaToCoverage&&u.enable(19);e.push(u.mask)}(n,t),n.push(e.outputColorSpace)),n.push(t.customProgramCacheKey),n.join()},getUniforms:function(e){const t=f[e.type];let n;if(t){const e=yo[t];n=Ya.clone(e.uniforms)}else n=e.uniforms;return n},acquireProgram:function(t,n){let r;for(let e=0,t=c.length;e<t;e++){const t=c[e];if(t.cacheKey===n){r=t,++r.usedTimes;break}}return void 0===r&&(r=new Cs(e,n,t,a),c.push(r)),r},releaseProgram:function(e){if(0==--e.usedTimes){const t=c.indexOf(e);c[t]=c[c.length-1],c.pop(),e.destroy()}},releaseShaderCache:function(e){s.remove(e)},programs:c,dispose:function(){s.dispose()}}}function Bs(){let e=new WeakMap;return{get:function(t){let n=e.get(t);return void 0===n&&(n={},e.set(t,n)),n},remove:function(t){e.delete(t)},update:function(t,n,r){e.get(t)[n]=r},dispose:function(){e=new WeakMap}}}function ws(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.material.id!==t.material.id?e.material.id-t.material.id:e.z!==t.z?e.z-t.z:e.id-t.id}function Ms(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.z!==t.z?t.z-e.z:e.id-t.id}function Ts(){const e=[];let t=0;const n=[],r=[],i=[];function a(n,r,i,a,o,u){let s=e[t];return void 0===s?(s={id:n.id,object:n,geometry:r,material:i,groupOrder:a,renderOrder:n.renderOrder,z:o,group:u},e[t]=s):(s.id=n.id,s.object=n,s.geometry=r,s.material=i,s.groupOrder=a,s.renderOrder=n.renderOrder,s.z=o,s.group=u),t++,s}return{opaque:n,transmissive:r,transparent:i,init:function(){t=0,n.length=0,r.length=0,i.length=0},push:function(e,t,o,u,s,l){const c=a(e,t,o,u,s,l);o.transmission>0?r.push(c):!0===o.transparent?i.push(c):n.push(c)},unshift:function(e,t,o,u,s,l){const c=a(e,t,o,u,s,l);o.transmission>0?r.unshift(c):!0===o.transparent?i.unshift(c):n.unshift(c)},finish:function(){for(let n=t,r=e.length;n<r;n++){const t=e[n];if(null===t.id)break;t.id=null,t.object=null,t.geometry=null,t.material=null,t.group=null}},sort:function(e,t){n.length>1&&n.sort(e||ws),r.length>1&&r.sort(t||Ms),i.length>1&&i.sort(t||Ms)}}}function Ps(){let e=new WeakMap;return{get:function(t,n){const r=e.get(t);let i;return void 0===r?(i=new Ts,e.set(t,[i])):n>=r.length?(i=new Ts,r.push(i)):i=r[n],i},dispose:function(){e=new WeakMap}}}function Rs(){const e={};return{get:function(t){if(void 0!==e[t.id])return e[t.id];let n;switch(t.type){case"DirectionalLight":n={direction:new Pr,color:new $i};break;case"SpotLight":n={position:new Pr,direction:new Pr,color:new $i,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new Pr,color:new $i,distance:0,decay:0};break;case"HemisphereLight":n={direction:new Pr,skyColor:new $i,groundColor:new $i};break;case"RectAreaLight":n={color:new $i,position:new Pr,halfWidth:new Pr,halfHeight:new Pr}}return e[t.id]=n,n}}}let Is=0;function Ns(e,t){return(t.castShadow?2:0)-(e.castShadow?2:0)+(t.map?1:0)-(e.map?1:0)}function Ls(e){const t=new Rs,n=function(){const e={};return{get:function(t){if(void 0!==e[t.id])return e[t.id];let n;switch(t.type){case"DirectionalLight":case"SpotLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new er};break;case"PointLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new er,shadowCameraNear:1,shadowCameraFar:1e3}}return e[t.id]=n,n}}}(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let e=0;e<9;e++)r.probe.push(new Pr);const i=new Pr,a=new si,o=new si;return{setup:function(i){let a=0,o=0,u=0;for(let e=0;e<9;e++)r.probe[e].set(0,0,0);let s=0,l=0,c=0,h=0,d=0,p=0,f=0,m=0,g=0,_=0,D=0;i.sort(Ns);for(let e=0,v=i.length;e<v;e++){const v=i[e],y=v.color,E=v.intensity,A=v.distance,C=v.shadow&&v.shadow.map?v.shadow.map.texture:null;if(v.isAmbientLight)a+=y.r*E,o+=y.g*E,u+=y.b*E;else if(v.isLightProbe){for(let e=0;e<9;e++)r.probe[e].addScaledVector(v.sh.coefficients[e],E);D++}else if(v.isDirectionalLight){const e=t.get(v);if(e.color.copy(v.color).multiplyScalar(v.intensity),v.castShadow){const e=v.shadow,t=n.get(v);t.shadowBias=e.bias,t.shadowNormalBias=e.normalBias,t.shadowRadius=e.radius,t.shadowMapSize=e.mapSize,r.directionalShadow[s]=t,r.directionalShadowMap[s]=C,r.directionalShadowMatrix[s]=v.shadow.matrix,p++}r.directional[s]=e,s++}else if(v.isSpotLight){const e=t.get(v);e.position.setFromMatrixPosition(v.matrixWorld),e.color.copy(y).multiplyScalar(E),e.distance=A,e.coneCos=Math.cos(v.angle),e.penumbraCos=Math.cos(v.angle*(1-v.penumbra)),e.decay=v.decay,r.spot[c]=e;const i=v.shadow;if(v.map&&(r.spotLightMap[g]=v.map,g++,i.updateMatrices(v),v.castShadow&&_++),r.spotLightMatrix[c]=i.matrix,v.castShadow){const e=n.get(v);e.shadowBias=i.bias,e.shadowNormalBias=i.normalBias,e.shadowRadius=i.radius,e.shadowMapSize=i.mapSize,r.spotShadow[c]=e,r.spotShadowMap[c]=C,m++}c++}else if(v.isRectAreaLight){const e=t.get(v);e.color.copy(y).multiplyScalar(E),e.halfWidth.set(.5*v.width,0,0),e.halfHeight.set(0,.5*v.height,0),r.rectArea[h]=e,h++}else if(v.isPointLight){const e=t.get(v);if(e.color.copy(v.color).multiplyScalar(v.intensity),e.distance=v.distance,e.decay=v.decay,v.castShadow){const e=v.shadow,t=n.get(v);t.shadowBias=e.bias,t.shadowNormalBias=e.normalBias,t.shadowRadius=e.radius,t.shadowMapSize=e.mapSize,t.shadowCameraNear=e.camera.near,t.shadowCameraFar=e.camera.far,r.pointShadow[l]=t,r.pointShadowMap[l]=C,r.pointShadowMatrix[l]=v.shadow.matrix,f++}r.point[l]=e,l++}else if(v.isHemisphereLight){const e=t.get(v);e.skyColor.copy(v.color).multiplyScalar(E),e.groundColor.copy(v.groundColor).multiplyScalar(E),r.hemi[d]=e,d++}}h>0&&(!0===e.has("OES_texture_float_linear")?(r.rectAreaLTC1=vo.LTC_FLOAT_1,r.rectAreaLTC2=vo.LTC_FLOAT_2):(r.rectAreaLTC1=vo.LTC_HALF_1,r.rectAreaLTC2=vo.LTC_HALF_2)),r.ambient[0]=a,r.ambient[1]=o,r.ambient[2]=u;const v=r.hash;v.directionalLength===s&&v.pointLength===l&&v.spotLength===c&&v.rectAreaLength===h&&v.hemiLength===d&&v.numDirectionalShadows===p&&v.numPointShadows===f&&v.numSpotShadows===m&&v.numSpotMaps===g&&v.numLightProbes===D||(r.directional.length=s,r.spot.length=c,r.rectArea.length=h,r.point.length=l,r.hemi.length=d,r.directionalShadow.length=p,r.directionalShadowMap.length=p,r.pointShadow.length=f,r.pointShadowMap.length=f,r.spotShadow.length=m,r.spotShadowMap.length=m,r.directionalShadowMatrix.length=p,r.pointShadowMatrix.length=f,r.spotLightMatrix.length=m+g-_,r.spotLightMap.length=g,r.numSpotLightShadowsWithMaps=_,r.numLightProbes=D,v.directionalLength=s,v.pointLength=l,v.spotLength=c,v.rectAreaLength=h,v.hemiLength=d,v.numDirectionalShadows=p,v.numPointShadows=f,v.numSpotShadows=m,v.numSpotMaps=g,v.numLightProbes=D,r.version=Is++)},setupView:function(e,t){let n=0,u=0,s=0,l=0,c=0;const h=t.matrixWorldInverse;for(let t=0,d=e.length;t<d;t++){const d=e[t];if(d.isDirectionalLight){const e=r.directional[n];e.direction.setFromMatrixPosition(d.matrixWorld),i.setFromMatrixPosition(d.target.matrixWorld),e.direction.sub(i),e.direction.transformDirection(h),n++}else if(d.isSpotLight){const e=r.spot[s];e.position.setFromMatrixPosition(d.matrixWorld),e.position.applyMatrix4(h),e.direction.setFromMatrixPosition(d.matrixWorld),i.setFromMatrixPosition(d.target.matrixWorld),e.direction.sub(i),e.direction.transformDirection(h),s++}else if(d.isRectAreaLight){const e=r.rectArea[l];e.position.setFromMatrixPosition(d.matrixWorld),e.position.applyMatrix4(h),o.identity(),a.copy(d.matrixWorld),a.premultiply(h),o.extractRotation(a),e.halfWidth.set(.5*d.width,0,0),e.halfHeight.set(0,.5*d.height,0),e.halfWidth.applyMatrix4(o),e.halfHeight.applyMatrix4(o),l++}else if(d.isPointLight){const e=r.point[u];e.position.setFromMatrixPosition(d.matrixWorld),e.position.applyMatrix4(h),u++}else if(d.isHemisphereLight){const e=r.hemi[c];e.direction.setFromMatrixPosition(d.matrixWorld),e.direction.transformDirection(h),c++}}},state:r}}function Os(e){const t=new Ls(e),n=[],r=[];const i={lightsArray:n,shadowsArray:r,camera:null,lights:t,transmissionRenderTarget:{}};return{init:function(e){i.camera=e,n.length=0,r.length=0},state:i,setupLights:function(){t.setup(n)},setupLightsView:function(e){t.setupView(n,e)},pushLight:function(e){n.push(e)},pushShadow:function(e){r.push(e)}}}function ks(e){let t=new WeakMap;return{get:function(n,r=0){const i=t.get(n);let a;return void 0===i?(a=new Os(e),t.set(n,[a])):r>=i.length?(a=new Os(e),i.push(a)):a=i[r],a},dispose:function(){t=new WeakMap}}}class Us extends ea{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=jt,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class zs extends ea{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}function Vs(e,t,n){let r=new fo;const i=new er,a=new er,o=new Fr,u=new Us({depthPacking:Xt}),s=new zs,l={},c=n.maxTextureSize,d={[f]:m,[m]:f,[g]:g}
vendor: 8,096 bytes, line 2
2,D=new $a({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new er},radius:{value:4}},vertexShader:"void main() {\n\tgl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>\nvoid main() {\n\tconst float samples = float( VSM_SAMPLES );\n\tfloat mean = 0.0;\n\tfloat squared_mean = 0.0;\n\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n\tfor ( float i = 0.0; i < samples; i ++ ) {\n\t\tfloat uvOffset = uvStart + i * uvStride;\n\t\t#ifdef HORIZONTAL_PASS\n\t\t\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\n\t\t\tmean += distribution.x;\n\t\t\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n\t\t#else\n\t\t\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\n\t\t\tmean += depth;\n\t\t\tsquared_mean += depth * depth;\n\t\t#endif\n\t}\n\tmean = mean / samples;\n\tsquared_mean = squared_mean / samples;\n\tfloat std_dev = sqrt( squared_mean - mean * mean );\n\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),v=D.clone();v.defines.HORIZONTAL_PASS=1;const y=new Sa;y.setAttribute("position",new la(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const E=new Ga(y,D),A=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=h;let C=this.type;function F(n,r){const a=t.update(E);D.defines.VSM_SAMPLES!==n.blurSamples&&(D.defines.VSM_SAMPLES=n.blurSamples,v.defines.VSM_SAMPLES=n.blurSamples,D.needsUpdate=!0,v.needsUpdate=!0),null===n.mapPass&&(n.mapPass=new Sr(i.x,i.y)),D.uniforms.shadow_pass.value=n.map.texture,D.uniforms.resolution.value=n.mapSize,D.uniforms.radius.value=n.radius,e.setRenderTarget(n.mapPass),e.clear(),e.renderBufferDirect(r,null,a,D,E,null),v.uniforms.shadow_pass.value=n.mapPass.texture,v.uniforms.resolution.value=n.mapSize,v.uniforms.radius.value=n.radius,e.setRenderTarget(n.map),e.clear(),e.renderBufferDirect(r,null,a,v,E,null)}function b(t,n,r,i){let a=null;const o=!0===r.isPointLight?t.customDistanceMaterial:t.customDepthMaterial;if(void 0!==o)a=o;else if(a=!0===r.isPointLight?s:u,e.localClippingEnabled&&!0===n.clipShadows&&Array.isArray(n.clippingPlanes)&&0!==n.clippingPlanes.length||n.displacementMap&&0!==n.displacementScale||n.alphaMap&&n.alphaTest>0||n.map&&n.alphaTest>0){const e=a.uuid,t=n.uuid;let r=l[e];void 0===r&&(r={},l[e]=r);let i=r[t];void 0===i&&(i=a.clone(),r[t]=i,n.addEventListener("dispose",x)),a=i}if(a.visible=n.visible,a.wireframe=n.wireframe,a.side=i===p?null!==n.shadowSide?n.shadowSide:n.side:null!==n.shadowSide?n.shadowSide:d[n.side],a.alphaMap=n.alphaMap,a.alphaTest=n.alphaTest,a.map=n.map,a.clipShadows=n.clipShadows,a.clippingPlanes=n.clippingPlanes,a.clipIntersection=n.clipIntersection,a.displacementMap=n.displacementMap,a.displacementScale=n.displacementScale,a.displacementBias=n.displacementBias,a.wireframeLinewidth=n.wireframeLinewidth,a.linewidth=n.linewidth,!0===r.isPointLight&&!0===a.isMeshDistanceMaterial){e.properties.get(a).light=r}return a}function S(n,i,a,o,u){if(!1===n.visible)return;if(n.layers.test(i.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&u===p)&&(!n.frustumCulled||r.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(a.matrixWorldInverse,n.matrixWorld);const r=t.update(n),s=n.material;if(Array.isArray(s)){const t=r.groups;for(let l=0,c=t.length;l<c;l++){const c=t[l],h=s[c.materialIndex];if(h&&h.visible){const t=b(n,h,o,u);n.onBeforeShadow(e,n,i,a,r,t,c),e.renderBufferDirect(a,null,r,t,n,c),n.onAfterShadow(e,n,i,a,r,t,c)}}}else if(s.visible){const t=b(n,s,o,u);n.onBeforeShadow(e,n,i,a,r,t,null),e.renderBufferDirect(a,null,r,t,n,null),n.onAfterShadow(e,n,i,a,r,t,null)}}const s=n.children;for(let e=0,t=s.length;e<t;e++)S(s[e],i,a,o,u)}function x(e){e.target.removeEventListener("dispose",x);for(const t in l){const n=l[t],r=e.target.uuid;if(r in n){n[r].dispose(),delete n[r]}}}this.render=function(t,n,u){if(!1===A.enabled)return;if(!1===A.autoUpdate&&!1===A.needsUpdate)return;if(0===t.length)return;const s=e.getRenderTarget(),l=e.getActiveCubeFace(),h=e.getActiveMipmapLevel(),d=e.state;d.setBlending(_),d.buffers.color.setClear(1,1,1,1),d.buffers.depth.setTest(!0),d.setScissorTest(!1);const f=C!==p&&this.type===p,m=C===p&&this.type!==p;for(let s=0,l=t.length;s<l;s++){const l=t[s],h=l.shadow;if(void 0===h){console.warn("THREE.WebGLShadowMap:",l,"has no shadow.");continue}if(!1===h.autoUpdate&&!1===h.needsUpdate)continue;i.copy(h.mapSize);const g=h.getFrameExtents();if(i.multiply(g),a.copy(h.mapSize),(i.x>c||i.y>c)&&(i.x>c&&(a.x=Math.floor(c/g.x),i.x=a.x*g.x,h.mapSize.x=a.x),i.y>c&&(a.y=Math.floor(c/g.y),i.y=a.y*g.y,h.mapSize.y=a.y)),null===h.map||!0===f||!0===m){const e=this.type!==p?{minFilter:ve,magFilter:ve}:{};null!==h.map&&h.map.dispose(),h.map=new Sr(i.x,i.y,e),h.map.texture.name=l.name+".shadowMap",h.camera.updateProjectionMatrix()}e.setRenderTarget(h.map),e.clear();const _=h.getViewportCount();for(let e=0;e<_;e++){const t=h.getViewport(e);o.set(a.x*t.x,a.y*t.y,a.x*t.z,a.y*t.w),d.viewport(o),h.updateMatrices(l,e),r=h.getFrustum(),S(n,u,h.camera,l,this.type)}!0!==h.isPointLightShadow&&this.type===p&&F(h,u),h.needsUpdate=!1}C=this.type,A.needsUpdate=!1,e.setRenderTarget(s,l,h)}}function Ws(e){const t=new function(){let t=!1;const n=new Fr;let r=null;const i=new Fr(0,0,0,0);return{setMask:function(n){r===n||t||(e.colorMask(n,n,n,n),r=n)},setLocked:function(e){t=e},setClear:function(t,r,a,o,u){!0===u&&(t*=o,r*=o,a*=o),n.set(t,r,a,o),!1===i.equals(n)&&(e.clearColor(t,r,a,o),i.copy(n))},reset:function(){t=!1,r=null,i.set(-1,0,0,0)}}},n=new function(){let t=!1,n=null,r=null,i=null;return{setTest:function(t){t?Fe(e.DEPTH_TEST):be(e.DEPTH_TEST)},setMask:function(r){n===r||t||(e.depthMask(r),n=r)},setFunc:function(t){if(r!==t){switch(t){case H:e.depthFunc(e.NEVER);break;case G:e.depthFunc(e.ALWAYS);break;case j:e.depthFunc(e.LESS);break;case X:e.depthFunc(e.LEQUAL);break;case K:e.depthFunc(e.EQUAL);break;case q:e.depthFunc(e.GEQUAL);break;case J:e.depthFunc(e.GREATER);break;case Y:e.depthFunc(e.NOTEQUAL);break;default:e.depthFunc(e.LEQUAL)}r=t}},setLocked:function(e){t=e},setClear:function(t){i!==t&&(e.clearDepth(t),i=t)},reset:function(){t=!1,n=null,r=null,i=null}}},r=new function(){let t=!1,n=null,r=null,i=null,a=null,o=null,u=null,s=null,l=null;return{setTest:function(n){t||(n?Fe(e.STENCIL_TEST):be(e.STENCIL_TEST))},setMask:function(r){n===r||t||(e.stencilMask(r),n=r)},setFunc:function(t,n,o){r===t&&i===n&&a===o||(e.stencilFunc(t,n,o),r=t,i=n,a=o)},setOp:function(t,n,r){o===t&&u===n&&s===r||(e.stencilOp(t,n,r),o=t,u=n,s=r)},setLocked:function(e){t=e},setClear:function(t){l!==t&&(e.clearStencil(t),l=t)},reset:function(){t=!1,n=null,r=null,i=null,a=null,o=null,u=null,s=null,l=null}}},i=new WeakMap,a=new WeakMap;let l={},c={},h=new WeakMap,d=[],p=null,f=!1,$=null,Q=null,Z=null,ee=null,te=null,ne=null,re=null,ie=new $i(0,0,0),ae=0,oe=!1,ue=null,se=null,le=null,ce=null,he=null;const de=e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS);let pe=!1,fe=0;const me=e.getParameter(e.VERSION);-1!==me.indexOf("WebGL")?(fe=parseFloat(/^WebGL (\d)/.exec(me)[1]),pe=fe>=1):-1!==me.indexOf("OpenGL ES")&&(fe=parseFloat(/^OpenGL ES (\d)/.exec(me)[1]),pe=fe>=2);let ge=null,_e={};const De=e.getParameter(e.SCISSOR_BOX),ve=e.getParameter(e.VIEWPORT),ye=(new Fr).fromArray(De),Ee=(new Fr).fromArray(ve);function Ae(t,n,r,i){const a=new Uint8Array(4),o=e.createTexture();e.bindTexture(t,o),e.texParameteri(t,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(t,e.TEXTURE_MAG_FILTER,e.NEAREST);for(let o=0;o<r;o++)t===e.TEXTURE_3D||t===e.TEXTURE_2D_ARRAY?e.texImage3D(n,0,e.RGBA,1,1,i,0,e.RGBA,e.UNSIGNED_BYTE,a):e.texImage2D(n+o,0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,a);return o}const Ce={};function Fe(t){!0!==l[t]&&(e.enable(t),l[t]=!0)}function be(t){!1!==l[t]&&(e.disable(t),l[t]=!1)}
vendor: 2,212 bytes, line 2
2Ce[e.TEXTURE_2D]=Ae(e.TEXTURE_2D,e.TEXTURE_2D,1),Ce[e.TEXTURE_CUBE_MAP]=Ae(e.TEXTURE_CUBE_MAP,e.TEXTURE_CUBE_MAP_POSITIVE_X,6),Ce[e.TEXTURE_2D_ARRAY]=Ae(e.TEXTURE_2D_ARRAY,e.TEXTURE_2D_ARRAY,1,1),Ce[e.TEXTURE_3D]=Ae(e.TEXTURE_3D,e.TEXTURE_3D,1,1),t.setClear(0,0,0,1),n.setClear(1),r.setClear(0),Fe(e.DEPTH_TEST),n.setFunc(X),we(!1),Me(u),Fe(e.CULL_FACE),Be(_);const Se={[C]:e.FUNC_ADD,[F]:e.FUNC_SUBTRACT,[b]:e.FUNC_REVERSE_SUBTRACT};Se[S]=e.MIN,Se[x]=e.MAX;const xe={[B]:e.ZERO,[w]:e.ONE,[M]:e.SRC_COLOR,[P]:e.SRC_ALPHA,[k]:e.SRC_ALPHA_SATURATE,[L]:e.DST_COLOR,[I]:e.DST_ALPHA,[T]:e.ONE_MINUS_SRC_COLOR,[R]:e.ONE_MINUS_SRC_ALPHA,[O]:e.ONE_MINUS_DST_COLOR,[N]:e.ONE_MINUS_DST_ALPHA,[U]:e.CONSTANT_COLOR,[z]:e.ONE_MINUS_CONSTANT_COLOR,[V]:e.CONSTANT_ALPHA,[W]:e.ONE_MINUS_CONSTANT_ALPHA};function Be(t,n,r,i,a,o,u,s,l,c){if(t!==_){if(!1===f&&(Fe(e.BLEND),f=!0),t===A)a=a||n,o=o||r,u=u||i,n===Q&&a===te||(e.blendEquationSeparate(Se[n],Se[a]),Q=n,te=a),r===Z&&i===ee&&o===ne&&u===re||(e.blendFuncSeparate(xe[r],xe[i],xe[o],xe[u]),Z=r,ee=i,ne=o,re=u),!1!==s.equals(ie)&&l===ae||(e.blendColor(s.r,s.g,s.b,l),ie.copy(s),ae=l),$=t,oe=!1;else if(t!==$||c!==oe){if(Q===C&&te===C||(e.blendEquation(e.FUNC_ADD),Q=C,te=C),c)switch(t){case D:e.blendFuncSeparate(e.ONE,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA);break;case v:e.blendFunc(e.ONE,e.ONE);break;case y:e.blendFuncSeparate(e.ZERO,e.ONE_MINUS_SRC_COLOR,e.ZERO,e.ONE);break;case E:e.blendFuncSeparate(e.ZERO,e.SRC_COLOR,e.ZERO,e.SRC_ALPHA);break;default:console.error("THREE.WebGLState: Invalid blending: ",t)}else switch(t){case D:e.blendFuncSeparate(e.SRC_ALPHA,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA);break;case v:e.blendFunc(e.SRC_ALPHA,e.ONE);break;case y:e.blendFuncSeparate(e.ZERO,e.ONE_MINUS_SRC_COLOR,e.ZERO,e.ONE);break;case E:e.blendFunc(e.ZERO,e.SRC_COLOR);break;default:console.error("THREE.WebGLState: Invalid blending: ",t)}Z=null,ee=null,ne=null,re=null,ie.set(0,0,0),ae=0,$=t,oe=c}}else!0===f&&(be(e.BLEND),f=!1)}function we(t){ue!==t&&(t?e.frontFace(e.CW):e.frontFace(e.CCW),ue=t)}function Me(t){t!==o?(Fe(e.CULL_FACE),t!==se&&(t===u?e.cullFace(e.BACK):t===s?e.cullFace(e.FRONT):e.cullFace(e.FRONT_AND_BACK))):be(e.CULL_FACE),se=t}
vendor: 5,987 bytes, line 2
2function Te(t,n,r){t?(Fe(e.POLYGON_OFFSET_FILL),ce===n&&he===r||(e.polygonOffset(n,r),ce=n,he=r)):be(e.POLYGON_OFFSET_FILL)}return{buffers:{color:t,depth:n,stencil:r},enable:Fe,disable:be,bindFramebuffer:function(t,n){return c[t]!==n&&(e.bindFramebuffer(t,n),c[t]=n,t===e.DRAW_FRAMEBUFFER&&(c[e.FRAMEBUFFER]=n),t===e.FRAMEBUFFER&&(c[e.DRAW_FRAMEBUFFER]=n),!0)},drawBuffers:function(t,n){let r=d,i=!1;if(t){r=h.get(n),void 0===r&&(r=[],h.set(n,r));const a=t.textures;if(r.length!==a.length||r[0]!==e.COLOR_ATTACHMENT0){for(let t=0,n=a.length;t<n;t++)r[t]=e.COLOR_ATTACHMENT0+t;r.length=a.length,i=!0}}else r[0]!==e.BACK&&(r[0]=e.BACK,i=!0);i&&e.drawBuffers(r)},useProgram:function(t){return p!==t&&(e.useProgram(t),p=t,!0)},setBlending:Be,setMaterial:function(i,a){i.side===g?be(e.CULL_FACE):Fe(e.CULL_FACE);let o=i.side===m;a&&(o=!o),we(o),i.blending===D&&!1===i.transparent?Be(_):Be(i.blending,i.blendEquation,i.blendSrc,i.blendDst,i.blendEquationAlpha,i.blendSrcAlpha,i.blendDstAlpha,i.blendColor,i.blendAlpha,i.premultipliedAlpha),n.setFunc(i.depthFunc),n.setTest(i.depthTest),n.setMask(i.depthWrite),t.setMask(i.colorWrite);const u=i.stencilWrite;r.setTest(u),u&&(r.setMask(i.stencilWriteMask),r.setFunc(i.stencilFunc,i.stencilRef,i.stencilFuncMask),r.setOp(i.stencilFail,i.stencilZFail,i.stencilZPass)),Te(i.polygonOffset,i.polygonOffsetFactor,i.polygonOffsetUnits),!0===i.alphaToCoverage?Fe(e.SAMPLE_ALPHA_TO_COVERAGE):be(e.SAMPLE_ALPHA_TO_COVERAGE)},setFlipSided:we,setCullFace:Me,setLineWidth:function(t){t!==le&&(pe&&e.lineWidth(t),le=t)},setPolygonOffset:Te,setScissorTest:function(t){t?Fe(e.SCISSOR_TEST):be(e.SCISSOR_TEST)},activeTexture:function(t){void 0===t&&(t=e.TEXTURE0+de-1),ge!==t&&(e.activeTexture(t),ge=t)},bindTexture:function(t,n,r){void 0===r&&(r=null===ge?e.TEXTURE0+de-1:ge);let i=_e[r];void 0===i&&(i={type:void 0,texture:void 0},_e[r]=i),i.type===t&&i.texture===n||(ge!==r&&(e.activeTexture(r),ge=r),e.bindTexture(t,n||Ce[t]),i.type=t,i.texture=n)},unbindTexture:function(){const t=_e[ge];void 0!==t&&void 0!==t.type&&(e.bindTexture(t.type,null),t.type=void 0,t.texture=void 0)},compressedTexImage2D:function(){try{e.compressedTexImage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},compressedTexImage3D:function(){try{e.compressedTexImage3D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texImage2D:function(){try{e.texImage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texImage3D:function(){try{e.texImage3D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},updateUBOMapping:function(t,n){let r=a.get(n);void 0===r&&(r=new WeakMap,a.set(n,r));let i=r.get(t);void 0===i&&(i=e.getUniformBlockIndex(n,t.name),r.set(t,i))},uniformBlockBinding:function(t,n){const r=a.get(n).get(t);i.get(n)!==r&&(e.uniformBlockBinding(n,r,t.__bindingPointIndex),i.set(n,r))},texStorage2D:function(){try{e.texStorage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texStorage3D:function(){try{e.texStorage3D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texSubImage2D:function(){try{e.texSubImage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texSubImage3D:function(){try{e.texSubImage3D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},compressedTexSubImage2D:function(){try{e.compressedTexSubImage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},compressedTexSubImage3D:function(){try{e.compressedTexSubImage3D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},scissor:function(t){!1===ye.equals(t)&&(e.scissor(t.x,t.y,t.z,t.w),ye.copy(t))},viewport:function(t){!1===Ee.equals(t)&&(e.viewport(t.x,t.y,t.z,t.w),Ee.copy(t))},reset:function(){e.disable(e.BLEND),e.disable(e.CULL_FACE),e.disable(e.DEPTH_TEST),e.disable(e.POLYGON_OFFSET_FILL),e.disable(e.SCISSOR_TEST),e.disable(e.STENCIL_TEST),e.disable(e.SAMPLE_ALPHA_TO_COVERAGE),e.blendEquation(e.FUNC_ADD),e.blendFunc(e.ONE,e.ZERO),e.blendFuncSeparate(e.ONE,e.ZERO,e.ONE,e.ZERO),e.blendColor(0,0,0,0),e.colorMask(!0,!0,!0,!0),e.clearColor(0,0,0,0),e.depthMask(!0),e.depthFunc(e.LESS),e.clearDepth(1),e.stencilMask(4294967295),e.stencilFunc(e.ALWAYS,0,4294967295),e.stencilOp(e.KEEP,e.KEEP,e.KEEP),e.clearStencil(0),e.cullFace(e.BACK),e.frontFace(e.CCW),e.polygonOffset(0,0),e.activeTexture(e.TEXTURE0),e.bindFramebuffer(e.FRAMEBUFFER,null),e.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),e.bindFramebuffer(e.READ_FRAMEBUFFER,null),e.useProgram(null),e.lineWidth(1),e.scissor(0,0,e.canvas.width,e.canvas.height),e.viewport(0,0,e.canvas.width,e.canvas.height),l={},ge=null,_e={},c={},h=new WeakMap,d=[],p=null,f=!1,$=null,Q=null,Z=null,ee=null,te=null,ne=null,re=null,ie=new $i(0,0,0),ae=0,oe=!1,ue=null,se=null,le=null,ce=null,he=null,ye.set(0,0,e.canvas.width,e.canvas.height),Ee.set(0,0,e.canvas.width,e.canvas.height),t.reset(),n.reset(),r.reset()}}}function Hs(e,t,n,r,i,a,o){const u=t.has("WEBGL_multisampled_render_to_texture")?t.get("WEBGL_multisampled_render_to_texture"):null,s="undefined"!=typeof navigator&&/OculusBrowser/g.test(navigator.userAgent),l=new er,c=new WeakMap;let h;const d=new WeakMap;let p=!1;try{p="undefined"!=typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(e){}function f(e,t){return p?new OffscreenCanvas(e,t):or("canvas")}function m(e,t,n){let r=1;const i=z(e);if((i.width>n||i.height>n)&&(r=n/Math.max(i.width,i.height)),r<1){if("undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap||"undefined"!=typeof VideoFrame&&e instanceof VideoFrame){const n=Math.floor(r*i.width),a=Math.floor(r*i.height);void 0===h&&(h=f(n,a));const o=t?f(n,a):h;o.width=n,o.height=a;return o.getContext("2d").drawImage(e,0,0,n,a),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+i.width+"x"+i.height+") to ("+n+"x"+a+")."),o}
vendor: 40,796 bytes, line 2
2return"data"in e&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+i.width+"x"+i.height+")."),e}return e}function g(e){return e.generateMipmaps&&e.minFilter!==ve&&e.minFilter!==Fe}function _(t){e.generateMipmap(t)}function D(n,r,i,a,o=!1){if(null!==n){if(void 0!==e[n])return e[n];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+n+"'")}let u=r;if(r===e.RED&&(i===e.FLOAT&&(u=e.R32F),i===e.HALF_FLOAT&&(u=e.R16F),i===e.UNSIGNED_BYTE&&(u=e.R8)),r===e.RED_INTEGER&&(i===e.UNSIGNED_BYTE&&(u=e.R8UI),i===e.UNSIGNED_SHORT&&(u=e.R16UI),i===e.UNSIGNED_INT&&(u=e.R32UI),i===e.BYTE&&(u=e.R8I),i===e.SHORT&&(u=e.R16I),i===e.INT&&(u=e.R32I)),r===e.RG&&(i===e.FLOAT&&(u=e.RG32F),i===e.HALF_FLOAT&&(u=e.RG16F),i===e.UNSIGNED_BYTE&&(u=e.RG8)),r===e.RG_INTEGER&&(i===e.UNSIGNED_BYTE&&(u=e.RG8UI),i===e.UNSIGNED_SHORT&&(u=e.RG16UI),i===e.UNSIGNED_INT&&(u=e.RG32UI),i===e.BYTE&&(u=e.RG8I),i===e.SHORT&&(u=e.RG16I),i===e.INT&&(u=e.RG32I)),r===e.RGB&&i===e.UNSIGNED_INT_5_9_9_9_REV&&(u=e.RGB9_E5),r===e.RGBA){const t=o?en:fr.getTransfer(a);i===e.FLOAT&&(u=e.RGBA32F),i===e.HALF_FLOAT&&(u=e.RGBA16F),i===e.UNSIGNED_BYTE&&(u=t===tn?e.SRGB8_ALPHA8:e.RGBA8),i===e.UNSIGNED_SHORT_4_4_4_4&&(u=e.RGBA4),i===e.UNSIGNED_SHORT_5_5_5_1&&(u=e.RGB5_A1)}return u!==e.R16F&&u!==e.R32F&&u!==e.RG16F&&u!==e.RG32F&&u!==e.RGBA16F&&u!==e.RGBA32F||t.get("EXT_color_buffer_float"),u}function v(t,n){let r;return t?null===n||n===Ie||n===Ue?r=e.DEPTH24_STENCIL8:n===Ne?r=e.DEPTH32F_STENCIL8:n===Pe&&(r=e.DEPTH24_STENCIL8,console.warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")):null===n||n===Ie||n===Ue?r=e.DEPTH_COMPONENT24:n===Ne?r=e.DEPTH_COMPONENT32F:n===Pe&&(r=e.DEPTH_COMPONENT16),r}function y(e,t){return!0===g(e)||e.isFramebufferTexture&&e.minFilter!==ve&&e.minFilter!==Fe?Math.log2(Math.max(t.width,t.height))+1:void 0!==e.mipmaps&&e.mipmaps.length>0?e.mipmaps.length:e.isCompressedTexture&&Array.isArray(e.image)?t.mipmaps.length:1}function E(e){const t=e.target;t.removeEventListener("dispose",E),function(e){const t=r.get(e);if(void 0===t.__webglInit)return;const n=e.source,i=d.get(n);if(i){const r=i[t.__cacheKey];r.usedTimes--,0===r.usedTimes&&C(e),0===Object.keys(i).length&&d.delete(n)}r.remove(e)}(t),t.isVideoTexture&&c.delete(t)}function A(t){const n=t.target;n.removeEventListener("dispose",A),function(t){const n=r.get(t);t.depthTexture&&t.depthTexture.dispose();if(t.isWebGLCubeRenderTarget)for(let t=0;t<6;t++){if(Array.isArray(n.__webglFramebuffer[t]))for(let r=0;r<n.__webglFramebuffer[t].length;r++)e.deleteFramebuffer(n.__webglFramebuffer[t][r]);else e.deleteFramebuffer(n.__webglFramebuffer[t]);n.__webglDepthbuffer&&e.deleteRenderbuffer(n.__webglDepthbuffer[t])}else{if(Array.isArray(n.__webglFramebuffer))for(let t=0;t<n.__webglFramebuffer.length;t++)e.deleteFramebuffer(n.__webglFramebuffer[t]);else e.deleteFramebuffer(n.__webglFramebuffer);if(n.__webglDepthbuffer&&e.deleteRenderbuffer(n.__webglDepthbuffer),n.__webglMultisampledFramebuffer&&e.deleteFramebuffer(n.__webglMultisampledFramebuffer),n.__webglColorRenderbuffer)for(let t=0;t<n.__webglColorRenderbuffer.length;t++)n.__webglColorRenderbuffer[t]&&e.deleteRenderbuffer(n.__webglColorRenderbuffer[t]);n.__webglDepthRenderbuffer&&e.deleteRenderbuffer(n.__webglDepthRenderbuffer)}const i=t.textures;for(let t=0,n=i.length;t<n;t++){const n=r.get(i[t]);n.__webglTexture&&(e.deleteTexture(n.__webglTexture),o.memory.textures--),r.remove(i[t])}r.remove(t)}(n)}function C(t){const n=r.get(t);e.deleteTexture(n.__webglTexture);const i=t.source;delete d.get(i)[n.__cacheKey],o.memory.textures--}let F=0;function b(t,i){const a=r.get(t);if(t.isVideoTexture&&function(e){const t=o.render.frame;c.get(e)!==t&&(c.set(e,t),e.update())}(t),!1===t.isRenderTargetTexture&&t.version>0&&a.__version!==t.version){const e=t.image;if(null===e)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else{if(!1!==e.complete)return void T(a,t,i);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}n.bindTexture(e.TEXTURE_2D,a.__webglTexture,e.TEXTURE0+i)}const S={[ge]:e.REPEAT,[_e]:e.CLAMP_TO_EDGE,[De]:e.MIRRORED_REPEAT},x={[ve]:e.NEAREST,[ye]:e.NEAREST_MIPMAP_NEAREST,[Ae]:e.NEAREST_MIPMAP_LINEAR,[Fe]:e.LINEAR,[be]:e.LINEAR_MIPMAP_NEAREST,[xe]:e.LINEAR_MIPMAP_LINEAR},B={[En]:e.NEVER,[Bn]:e.ALWAYS,[An]:e.LESS,[Fn]:e.LEQUAL,[Cn]:e.EQUAL,[xn]:e.GEQUAL,[bn]:e.GREATER,[Sn]:e.NOTEQUAL};function w(n,a){if(a.type!==Ne||!1!==t.has("OES_texture_float_linear")||a.magFilter!==Fe&&a.magFilter!==be&&a.magFilter!==Ae&&a.magFilter!==xe&&a.minFilter!==Fe&&a.minFilter!==be&&a.minFilter!==Ae&&a.minFilter!==xe||console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."),e.texParameteri(n,e.TEXTURE_WRAP_S,S[a.wrapS]),e.texParameteri(n,e.TEXTURE_WRAP_T,S[a.wrapT]),n!==e.TEXTURE_3D&&n!==e.TEXTURE_2D_ARRAY||e.texParameteri(n,e.TEXTURE_WRAP_R,S[a.wrapR]),e.texParameteri(n,e.TEXTURE_MAG_FILTER,x[a.magFilter]),e.texParameteri(n,e.TEXTURE_MIN_FILTER,x[a.minFilter]),a.compareFunction&&(e.texParameteri(n,e.TEXTURE_COMPARE_MODE,e.COMPARE_REF_TO_TEXTURE),e.texParameteri(n,e.TEXTURE_COMPARE_FUNC,B[a.compareFunction])),!0===t.has("EXT_texture_filter_anisotropic")){if(a.magFilter===ve)return;if(a.minFilter!==Ae&&a.minFilter!==xe)return;if(a.type===Ne&&!1===t.has("OES_texture_float_linear"))return;if(a.anisotropy>1||r.get(a).__currentAnisotropy){const o=t.get("EXT_texture_filter_anisotropic");e.texParameterf(n,o.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(a.anisotropy,i.getMaxAnisotropy())),r.get(a).__currentAnisotropy=a.anisotropy}}}function M(t,n){let r=!1;void 0===t.__webglInit&&(t.__webglInit=!0,n.addEventListener("dispose",E));const i=n.source;let a=d.get(i);void 0===a&&(a={},d.set(i,a));const u=function(e){const t=[];return t.push(e.wrapS),t.push(e.wrapT),t.push(e.wrapR||0),t.push(e.magFilter),t.push(e.minFilter),t.push(e.anisotropy),t.push(e.internalFormat),t.push(e.format),t.push(e.type),t.push(e.generateMipmaps),t.push(e.premultiplyAlpha),t.push(e.flipY),t.push(e.unpackAlignment),t.push(e.colorSpace),t.join()}(n);if(u!==t.__cacheKey){void 0===a[u]&&(a[u]={texture:e.createTexture(),usedTimes:0},o.memory.textures++,r=!0),a[u].usedTimes++;const i=a[t.__cacheKey];void 0!==i&&(a[t.__cacheKey].usedTimes--,0===i.usedTimes&&C(n)),t.__cacheKey=u,t.__webglTexture=a[u].texture}return r}function T(t,o,u){let s=e.TEXTURE_2D;(o.isDataArrayTexture||o.isCompressedArrayTexture)&&(s=e.TEXTURE_2D_ARRAY),o.isData3DTexture&&(s=e.TEXTURE_3D);const l=M(t,o),c=o.source;n.bindTexture(s,t.__webglTexture,e.TEXTURE0+u);const h=r.get(c);if(c.version!==h.__version||!0===l){n.activeTexture(e.TEXTURE0+u);const t=fr.getPrimaries(fr.workingColorSpace),r=o.colorSpace===Jt?null:fr.getPrimaries(o.colorSpace),d=o.colorSpace===Jt||t===r?e.NONE:e.BROWSER_DEFAULT_WEBGL;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,o.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,o.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,o.unpackAlignment),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,d);let p=m(o.image,!1,i.maxTextureSize);p=U(o,p);const f=a.convert(o.format,o.colorSpace),E=a.convert(o.type);let A,C=D(o.internalFormat,f,E,o.colorSpace,o.isVideoTexture);w(s,o);const F=o.mipmaps,b=!0!==o.isVideoTexture,S=void 0===h.__version||!0===l,x=c.dataReady,B=y(o,p);if(o.isDepthTexture)C=v(o.format===Ke,o.type),S&&(b?n.texStorage2D(e.TEXTURE_2D,1,C,p.width,p.height):n.texImage2D(e.TEXTURE_2D,0,C,p.width,p.height,0,f,E,null));else if(o.isDataTexture)if(F.length>0){b&&S&&n.texStorage2D(e.TEXTURE_2D,B,C,F[0].width,F[0].height);for(let t=0,r=F.length;t<r;t++)A=F[t],b?x&&n.texSubImage2D(e.TEXTURE_2D,t,0,0,A.width,A.height,f,E,A.data):n.texImage2D(e.TEXTURE_2D,t,C,A.width,A.height,0,f,E,A.data);o.generateMipmaps=!1}else b?(S&&n.texStorage2D(e.TEXTURE_2D,B,C,p.width,p.height),x&&n.texSubImage2D(e.TEXTURE_2D,0,0,0,p.width,p.height,f,E,p.data)):n.texImage2D(e.TEXTURE_2D,0,C,p.width,p.height,0,f,E,p.data);else if(o.isCompressedTexture)if(o.isCompressedArrayTexture){b&&S&&n.texStorage3D(e.TEXTURE_2D_ARRAY,B,C,F[0].width,F[0].height,p.depth);for(let t=0,r=F.length;t<r;t++)if(A=F[t],o.format!==He)if(null!==f)if(b){if(x)if(o.layerUpdates.size>0){for(const r of o.layerUpdates){const i=A.width*A.height;n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,t,0,0,r,A.width,A.height,1,f,A.data.slice(i*r,i*(r+1)),0,0)}o.clearLayerUpdates()}else n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,t,0,0,0,A.width,A.height,p.depth,f,A.data,0,0)}else n.compressedTexImage3D(e.TEXTURE_2D_ARRAY,t,C,A.width,A.height,p.depth,0,A.data,0,0);else console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()");else b?x&&n.texSubImage3D(e.TEXTURE_2D_ARRAY,t,0,0,0,A.width,A.height,p.depth,f,E,A.data):n.texImage3D(e.TEXTURE_2D_ARRAY,t,C,A.width,A.height,p.depth,0,f,E,A.data)}else{b&&S&&n.texStorage2D(e.TEXTURE_2D,B,C,F[0].width,F[0].height);for(let t=0,r=F.length;t<r;t++)A=F[t],o.format!==He?null!==f?b?x&&n.compressedTexSubImage2D(e.TEXTURE_2D,t,0,0,A.width,A.height,f,A.data):n.compressedTexImage2D(e.TEXTURE_2D,t,C,A.width,A.height,0,A.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):b?x&&n.texSubImage2D(e.TEXTURE_2D,t,0,0,A.width,A.height,f,E,A.data):n.texImage2D(e.TEXTURE_2D,t,C,A.width,A.height,0,f,E,A.data)}else if(o.isDataArrayTexture)if(b){if(S&&n.texStorage3D(e.TEXTURE_2D_ARRAY,B,C,p.width,p.height,p.depth),x)if(o.layerUpdates.size>0){let t;switch(E){case e.UNSIGNED_BYTE:switch(f){case e.ALPHA:case e.LUMINANCE:t=1;break;case e.LUMINANCE_ALPHA:t=2;break;case e.RGB:t=3;break;case e.RGBA:t=4;break;default:throw new Error(`Unknown texel size for format ${f}.`)}break;case e.UNSIGNED_SHORT_4_4_4_4:case e.UNSIGNED_SHORT_5_5_5_1:case e.UNSIGNED_SHORT_5_6_5:t=1;break;default:throw new Error(`Unknown texel size for type ${E}.`)}const r=p.width*p.height*t;for(const t of o.layerUpdates)n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,t,p.width,p.height,1,f,E,p.data.slice(r*t,r*(t+1)));o.clearLayerUpdates()}else n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,0,p.width,p.height,p.depth,f,E,p.data)}else n.texImage3D(e.TEXTURE_2D_ARRAY,0,C,p.width,p.height,p.depth,0,f,E,p.data);else if(o.isData3DTexture)b?(S&&n.texStorage3D(e.TEXTURE_3D,B,C,p.width,p.height,p.depth),x&&n.texSubImage3D(e.TEXTURE_3D,0,0,0,0,p.width,p.height,p.depth,f,E,p.data)):n.texImage3D(e.TEXTURE_3D,0,C,p.width,p.height,p.depth,0,f,E,p.data);else if(o.isFramebufferTexture){if(S)if(b)n.texStorage2D(e.TEXTURE_2D,B,C,p.width,p.height);else{let t=p.width,r=p.height;for(let i=0;i<B;i++)n.texImage2D(e.TEXTURE_2D,i,C,t,r,0,f,E,null),t>>=1,r>>=1}}else if(F.length>0){if(b&&S){const t=z(F[0]);n.texStorage2D(e.TEXTURE_2D,B,C,t.width,t.height)}for(let t=0,r=F.length;t<r;t++)A=F[t],b?x&&n.texSubImage2D(e.TEXTURE_2D,t,0,0,f,E,A):n.texImage2D(e.TEXTURE_2D,t,C,f,E,A);o.generateMipmaps=!1}else if(b){if(S){const t=z(p);n.texStorage2D(e.TEXTURE_2D,B,C,t.width,t.height)}x&&n.texSubImage2D(e.TEXTURE_2D,0,0,0,f,E,p)}else n.texImage2D(e.TEXTURE_2D,0,C,f,E,p);g(o)&&_(s),h.__version=c.version,o.onUpdate&&o.onUpdate(o)}t.__version=o.version}function P(t,i,o,s,l,c){const h=a.convert(o.format,o.colorSpace),d=a.convert(o.type),p=D(o.internalFormat,h,d,o.colorSpace);if(!r.get(i).__hasExternalTextures){const t=Math.max(1,i.width>>c),r=Math.max(1,i.height>>c);l===e.TEXTURE_3D||l===e.TEXTURE_2D_ARRAY?n.texImage3D(l,c,p,t,r,i.depth,0,h,d,null):n.texImage2D(l,c,p,t,r,0,h,d,null)}n.bindFramebuffer(e.FRAMEBUFFER,t),k(i)?u.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,s,l,r.get(o).__webglTexture,0,O(i)):(l===e.TEXTURE_2D||l>=e.TEXTURE_CUBE_MAP_POSITIVE_X&&l<=e.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&e.framebufferTexture2D(e.FRAMEBUFFER,s,l,r.get(o).__webglTexture,c),n.bindFramebuffer(e.FRAMEBUFFER,null)}function R(t,n,r){if(e.bindRenderbuffer(e.RENDERBUFFER,t),n.depthBuffer){const i=n.depthTexture,a=i&&i.isDepthTexture?i.type:null,o=v(n.stencilBuffer,a),s=n.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,l=O(n);k(n)?u.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,l,o,n.width,n.height):r?e.renderbufferStorageMultisample(e.RENDERBUFFER,l,o,n.width,n.height):e.renderbufferStorage(e.RENDERBUFFER,o,n.width,n.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,s,e.RENDERBUFFER,t)}else{const t=n.textures;for(let i=0;i<t.length;i++){const o=t[i],s=a.convert(o.format,o.colorSpace),l=a.convert(o.type),c=D(o.internalFormat,s,l,o.colorSpace),h=O(n);r&&!1===k(n)?e.renderbufferStorageMultisample(e.RENDERBUFFER,h,c,n.width,n.height):k(n)?u.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,h,c,n.width,n.height):e.renderbufferStorage(e.RENDERBUFFER,c,n.width,n.height)}}e.bindRenderbuffer(e.RENDERBUFFER,null)}function I(t){const i=r.get(t),a=!0===t.isWebGLCubeRenderTarget;if(t.depthTexture&&!i.__autoAllocateDepthBuffer){if(a)throw new Error("target.depthTexture not supported in Cube render targets");!function(t,i){if(i&&i.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(n.bindFramebuffer(e.FRAMEBUFFER,t),!i.depthTexture||!i.depthTexture.isDepthTexture)throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");r.get(i.depthTexture).__webglTexture&&i.depthTexture.image.width===i.width&&i.depthTexture.image.height===i.height||(i.depthTexture.image.width=i.width,i.depthTexture.image.height=i.height,i.depthTexture.needsUpdate=!0),b(i.depthTexture,0);const a=r.get(i.depthTexture).__webglTexture,o=O(i);if(i.depthTexture.format===Xe)k(i)?u.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,a,0,o):e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,a,0);else{if(i.depthTexture.format!==Ke)throw new Error("Unknown depthTexture format");k(i)?u.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.TEXTURE_2D,a,0,o):e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.TEXTURE_2D,a,0)}}(i.__webglFramebuffer,t)}else if(a){i.__webglDepthbuffer=[];for(let r=0;r<6;r++)n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer[r]),i.__webglDepthbuffer[r]=e.createRenderbuffer(),R(i.__webglDepthbuffer[r],t,!1)}else n.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer),i.__webglDepthbuffer=e.createRenderbuffer(),R(i.__webglDepthbuffer,t,!1);n.bindFramebuffer(e.FRAMEBUFFER,null)}const N=[],L=[];function O(e){return Math.min(i.maxSamples,e.samples)}function k(e){const n=r.get(e);return e.samples>0&&!0===t.has("WEBGL_multisampled_render_to_texture")&&!1!==n.__useRenderToTexture}function U(e,t){const n=e.colorSpace,r=e.format,i=e.type;return!0===e.isCompressedTexture||!0===e.isVideoTexture||n!==$t&&n!==Jt&&(fr.getTransfer(n)===tn?r===He&&i===we||console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",n)),t}function z(e){return"undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement?(l.width=e.naturalWidth||e.width,l.height=e.naturalHeight||e.height):"undefined"!=typeof VideoFrame&&e instanceof VideoFrame?(l.width=e.displayWidth,l.height=e.displayHeight):(l.width=e.width,l.height=e.height),l}this.allocateTextureUnit=function(){const e=F;return e>=i.maxTextures&&console.warn("THREE.WebGLTextures: Trying to use "+e+" texture units while this GPU supports only "+i.maxTextures),F+=1,e},this.resetTextureUnits=function(){F=0},this.setTexture2D=b,this.setTexture2DArray=function(t,i){const a=r.get(t);t.version>0&&a.__version!==t.version?T(a,t,i):n.bindTexture(e.TEXTURE_2D_ARRAY,a.__webglTexture,e.TEXTURE0+i)},this.setTexture3D=function(t,i){const a=r.get(t);t.version>0&&a.__version!==t.version?T(a,t,i):n.bindTexture(e.TEXTURE_3D,a.__webglTexture,e.TEXTURE0+i)},this.setTextureCube=function(t,o){const u=r.get(t);t.version>0&&u.__version!==t.version?function(t,o,u){if(6!==o.image.length)return;const s=M(t,o),l=o.source;n.bindTexture(e.TEXTURE_CUBE_MAP,t.__webglTexture,e.TEXTURE0+u);const c=r.get(l);if(l.version!==c.__version||!0===s){n.activeTexture(e.TEXTURE0+u);const t=fr.getPrimaries(fr.workingColorSpace),r=o.colorSpace===Jt?null:fr.getPrimaries(o.colorSpace),h=o.colorSpace===Jt||t===r?e.NONE:e.BROWSER_DEFAULT_WEBGL;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,o.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,o.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,o.unpackAlignment),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,h);const d=o.isCompressedTexture||o.image[0].isCompressedTexture,p=o.image[0]&&o.image[0].isDataTexture,f=[];for(let e=0;e<6;e++)f[e]=d||p?p?o.image[e].image:o.image[e]:m(o.image[e],!0,i.maxCubemapSize),f[e]=U(o,f[e]);const v=f[0],E=a.convert(o.format,o.colorSpace),A=a.convert(o.type),C=D(o.internalFormat,E,A,o.colorSpace),F=!0!==o.isVideoTexture,b=void 0===c.__version||!0===s,S=l.dataReady;let x,B=y(o,v);if(w(e.TEXTURE_CUBE_MAP,o),d){F&&b&&n.texStorage2D(e.TEXTURE_CUBE_MAP,B,C,v.width,v.height);for(let t=0;t<6;t++){x=f[t].mipmaps;for(let r=0;r<x.length;r++){const i=x[r];o.format!==He?null!==E?F?S&&n.compressedTexSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,0,0,i.width,i.height,E,i.data):n.compressedTexImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,C,i.width,i.height,0,i.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):F?S&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,0,0,i.width,i.height,E,A,i.data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r,C,i.width,i.height,0,E,A,i.data)}}}else{if(x=o.mipmaps,F&&b){x.length>0&&B++;const t=z(f[0]);n.texStorage2D(e.TEXTURE_CUBE_MAP,B,C,t.width,t.height)}for(let t=0;t<6;t++)if(p){F?S&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,0,0,f[t].width,f[t].height,E,A,f[t].data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,C,f[t].width,f[t].height,0,E,A,f[t].data);for(let r=0;r<x.length;r++){const i=x[r].image[t].image;F?S&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,0,0,i.width,i.height,E,A,i.data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,C,i.width,i.height,0,E,A,i.data)}}else{F?S&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,0,0,E,A,f[t]):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,C,E,A,f[t]);for(let r=0;r<x.length;r++){const i=x[r];F?S&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,0,0,E,A,i.image[t]):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,r+1,C,E,A,i.image[t])}}}g(o)&&_(e.TEXTURE_CUBE_MAP),c.__version=l.version,o.onUpdate&&o.onUpdate(o)}t.__version=o.version}(u,t,o):n.bindTexture(e.TEXTURE_CUBE_MAP,u.__webglTexture,e.TEXTURE0+o)},this.rebindTextures=function(t,n,i){const a=r.get(t);void 0!==n&&P(a.__webglFramebuffer,t,t.texture,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,0),void 0!==i&&I(t)},this.setupRenderTarget=function(t){const i=t.texture,u=r.get(t),s=r.get(i);t.addEventListener("dispose",A);const l=t.textures,c=!0===t.isWebGLCubeRenderTarget,h=l.length>1;if(h||(void 0===s.__webglTexture&&(s.__webglTexture=e.createTexture()),s.__version=i.version,o.memory.textures++),c){u.__webglFramebuffer=[];for(let t=0;t<6;t++)if(i.mipmaps&&i.mipmaps.length>0){u.__webglFramebuffer[t]=[];for(let n=0;n<i.mipmaps.length;n++)u.__webglFramebuffer[t][n]=e.createFramebuffer()}else u.__webglFramebuffer[t]=e.createFramebuffer()}else{if(i.mipmaps&&i.mipmaps.length>0){u.__webglFramebuffer=[];for(let t=0;t<i.mipmaps.length;t++)u.__webglFramebuffer[t]=e.createFramebuffer()}else u.__webglFramebuffer=e.createFramebuffer();if(h)for(let t=0,n=l.length;t<n;t++){const n=r.get(l[t]);void 0===n.__webglTexture&&(n.__webglTexture=e.createTexture(),o.memory.textures++)}if(t.samples>0&&!1===k(t)){u.__webglMultisampledFramebuffer=e.createFramebuffer(),u.__webglColorRenderbuffer=[],n.bindFramebuffer(e.FRAMEBUFFER,u.__webglMultisampledFramebuffer);for(let n=0;n<l.length;n++){const r=l[n];u.__webglColorRenderbuffer[n]=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,u.__webglColorRenderbuffer[n]);const i=a.convert(r.format,r.colorSpace),o=a.convert(r.type),s=D(r.internalFormat,i,o,r.colorSpace,!0===t.isXRRenderTarget),c=O(t);e.renderbufferStorageMultisample(e.RENDERBUFFER,c,s,t.width,t.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+n,e.RENDERBUFFER,u.__webglColorRenderbuffer[n])}e.bindRenderbuffer(e.RENDERBUFFER,null),t.depthBuffer&&(u.__webglDepthRenderbuffer=e.createRenderbuffer(),R(u.__webglDepthRenderbuffer,t,!0)),n.bindFramebuffer(e.FRAMEBUFFER,null)}}if(c){n.bindTexture(e.TEXTURE_CUBE_MAP,s.__webglTexture),w(e.TEXTURE_CUBE_MAP,i);for(let n=0;n<6;n++)if(i.mipmaps&&i.mipmaps.length>0)for(let r=0;r<i.mipmaps.length;r++)P(u.__webglFramebuffer[n][r],t,i,e.COLOR_ATTACHMENT0,e.TEXTURE_CUBE_MAP_POSITIVE_X+n,r);else P(u.__webglFramebuffer[n],t,i,e.COLOR_ATTACHMENT0,e.TEXTURE_CUBE_MAP_POSITIVE_X+n,0);g(i)&&_(e.TEXTURE_CUBE_MAP),n.unbindTexture()}else if(h){for(let i=0,a=l.length;i<a;i++){const a=l[i],o=r.get(a);n.bindTexture(e.TEXTURE_2D,o.__webglTexture),w(e.TEXTURE_2D,a),P(u.__webglFramebuffer,t,a,e.COLOR_ATTACHMENT0+i,e.TEXTURE_2D,0),g(a)&&_(e.TEXTURE_2D)}n.unbindTexture()}else{let r=e.TEXTURE_2D;if((t.isWebGL3DRenderTarget||t.isWebGLArrayRenderTarget)&&(r=t.isWebGL3DRenderTarget?e.TEXTURE_3D:e.TEXTURE_2D_ARRAY),n.bindTexture(r,s.__webglTexture),w(r,i),i.mipmaps&&i.mipmaps.length>0)for(let n=0;n<i.mipmaps.length;n++)P(u.__webglFramebuffer[n],t,i,e.COLOR_ATTACHMENT0,r,n);else P(u.__webglFramebuffer,t,i,e.COLOR_ATTACHMENT0,r,0);g(i)&&_(r),n.unbindTexture()}t.depthBuffer&&I(t)},this.updateRenderTargetMipmap=function(t){const i=t.textures;for(let a=0,o=i.length;a<o;a++){const o=i[a];if(g(o)){const i=t.isWebGLCubeRenderTarget?e.TEXTURE_CUBE_MAP:e.TEXTURE_2D,a=r.get(o).__webglTexture;n.bindTexture(i,a),_(i),n.unbindTexture()}}},this.updateMultisampleRenderTarget=function(t){if(t.samples>0)if(!1===k(t)){const i=t.textures,a=t.width,o=t.height;let u=e.COLOR_BUFFER_BIT;const l=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,c=r.get(t),h=i.length>1;if(h)for(let t=0;t<i.length;t++)n.bindFramebuffer(e.FRAMEBUFFER,c.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.RENDERBUFFER,null),n.bindFramebuffer(e.FRAMEBUFFER,c.__webglFramebuffer),e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.TEXTURE_2D,null,0);n.bindFramebuffer(e.READ_FRAMEBUFFER,c.__webglMultisampledFramebuffer),n.bindFramebuffer(e.DRAW_FRAMEBUFFER,c.__webglFramebuffer);for(let n=0;n<i.length;n++){if(t.resolveDepthBuffer&&(t.depthBuffer&&(u|=e.DEPTH_BUFFER_BIT),t.stencilBuffer&&t.resolveStencilBuffer&&(u|=e.STENCIL_BUFFER_BIT)),h){e.framebufferRenderbuffer(e.READ_FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.RENDERBUFFER,c.__webglColorRenderbuffer[n]);const t=r.get(i[n]).__webglTexture;e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0)}e.blitFramebuffer(0,0,a,o,0,0,a,o,u,e.NEAREST),!0===s&&(N.length=0,L.length=0,N.push(e.COLOR_ATTACHMENT0+n),t.depthBuffer&&!1===t.resolveDepthBuffer&&(N.push(l),L.push(l),e.invalidateFramebuffer(e.DRAW_FRAMEBUFFER,L)),e.invalidateFramebuffer(e.READ_FRAMEBUFFER,N))}if(n.bindFramebuffer(e.READ_FRAMEBUFFER,null),n.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),h)for(let t=0;t<i.length;t++){n.bindFramebuffer(e.FRAMEBUFFER,c.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.RENDERBUFFER,c.__webglColorRenderbuffer[t]);const a=r.get(i[t]).__webglTexture;n.bindFramebuffer(e.FRAMEBUFFER,c.__webglFramebuffer),e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.TEXTURE_2D,a,0)}n.bindFramebuffer(e.DRAW_FRAMEBUFFER,c.__webglMultisampledFramebuffer)}else if(t.depthBuffer&&!1===t.resolveDepthBuffer&&s){const n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;e.invalidateFramebuffer(e.DRAW_FRAMEBUFFER,[n])}},this.setupDepthRenderbuffer=I,this.setupFrameBufferTexture=P,this.useMultisampledRTT=k}function Gs(e,t){return{convert:function(n,r=Jt){let i;const a=fr.getTransfer(r);if(n===we)return e.UNSIGNED_BYTE;if(n===Oe)return e.UNSIGNED_SHORT_4_4_4_4;if(n===ke)return e.UNSIGNED_SHORT_5_5_5_1;if(n===ze)return e.UNSIGNED_INT_5_9_9_9_REV;if(n===Me)return e.BYTE;if(n===Te)return e.SHORT;if(n===Pe)return e.UNSIGNED_SHORT;if(n===Re)return e.INT;if(n===Ie)return e.UNSIGNED_INT;if(n===Ne)return e.FLOAT;if(n===Le)return e.HALF_FLOAT;if(n===Ve)return e.ALPHA;if(n===We)return e.RGB;if(n===He)return e.RGBA;if(n===Ge)return e.LUMINANCE;if(n===je)return e.LUMINANCE_ALPHA;if(n===Xe)return e.DEPTH_COMPONENT;if(n===Ke)return e.DEPTH_STENCIL;if(n===qe)return e.RED;if(n===Je)return e.RED_INTEGER;if(n===Ye)return e.RG;if(n===$e)return e.RG_INTEGER;if(n===Qe)return e.RGBA_INTEGER;if(n===Ze||n===et||n===tt||n===nt)if(a===tn){if(i=t.get("WEBGL_compressed_texture_s3tc_srgb"),null===i)return null;if(n===Ze)return i.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===et)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===tt)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===nt)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else{if(i=t.get("WEBGL_compressed_texture_s3tc"),null===i)return null;if(n===Ze)return i.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===et)return i.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===tt)return i.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===nt)return i.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(n===rt||n===it||n===at||n===ot){if(i=t.get("WEBGL_compressed_texture_pvrtc"),null===i)return null;if(n===rt)return i.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(n===it)return i.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(n===at)return i.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(n===ot)return i.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(n===ut||n===st||n===lt){if(i=t.get("WEBGL_compressed_texture_etc"),null===i)return null;if(n===ut||n===st)return a===tn?i.COMPRESSED_SRGB8_ETC2:i.COMPRESSED_RGB8_ETC2;if(n===lt)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:i.COMPRESSED_RGBA8_ETC2_EAC}if(n===ct||n===ht||n===dt||n===pt||n===ft||n===mt||n===gt||n===_t||n===Dt||n===vt||n===yt||n===Et||n===At||n===Ct){if(i=t.get("WEBGL_compressed_texture_astc"),null===i)return null;if(n===ct)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:i.COMPRESSED_RGBA_ASTC_4x4_KHR;if(n===ht)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:i.COMPRESSED_RGBA_ASTC_5x4_KHR;if(n===dt)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:i.COMPRESSED_RGBA_ASTC_5x5_KHR;if(n===pt)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:i.COMPRESSED_RGBA_ASTC_6x5_KHR;if(n===ft)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:i.COMPRESSED_RGBA_ASTC_6x6_KHR;if(n===mt)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:i.COMPRESSED_RGBA_ASTC_8x5_KHR;if(n===gt)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:i.COMPRESSED_RGBA_ASTC_8x6_KHR;if(n===_t)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:i.COMPRESSED_RGBA_ASTC_8x8_KHR;if(n===Dt)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:i.COMPRESSED_RGBA_ASTC_10x5_KHR;if(n===vt)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:i.COMPRESSED_RGBA_ASTC_10x6_KHR;if(n===yt)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:i.COMPRESSED_RGBA_ASTC_10x8_KHR;if(n===Et)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:i.COMPRESSED_RGBA_ASTC_10x10_KHR;if(n===At)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:i.COMPRESSED_RGBA_ASTC_12x10_KHR;if(n===Ct)return a===tn?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:i.COMPRESSED_RGBA_ASTC_12x12_KHR}if(n===Ft||n===bt||n===St){if(i=t.get("EXT_texture_compression_bptc"),null===i)return null;if(n===Ft)return a===tn?i.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:i.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(n===bt)return i.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(n===St)return i.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}if(n===xt||n===Bt||n===wt||n===Mt){if(i=t.get("EXT_texture_compression_rgtc"),null===i)return null;if(n===Ft)return i.COMPRESSED_RED_RGTC1_EXT;if(n===Bt)return i.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(n===wt)return i.COMPRESSED_RED_GREEN_RGTC2_EXT;if(n===Mt)return i.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}return n===Ue?e.UNSIGNED_INT_24_8:void 0!==e[n]?e[n]:null}}}class js extends no{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class Xs extends Ni{constructor(){super(),this.isGroup=!0,this.type="Group"}}const Ks={type:"move"};class qs{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return null===this._hand&&(this._hand=new Xs,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return null===this._targetRay&&(this._targetRay=new Xs,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new Pr,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new Pr),this._targetRay}getGripSpace(){return null===this._grip&&(this._grip=new Xs,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new Pr,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new Pr),this._grip}dispatchEvent(e){return null!==this._targetRay&&this._targetRay.dispatchEvent(e),null!==this._grip&&this._grip.dispatchEvent(e),null!==this._hand&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){const t=this._hand;if(t)for(const n of e.hand.values())this._getHandJoint(t,n)}return this.dispatchEvent({type:"connected",data:e}),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),null!==this._targetRay&&(this._targetRay.visible=!1),null!==this._grip&&(this._grip.visible=!1),null!==this._hand&&(this._hand.visible=!1),this}update(e,t,n){let r=null,i=null,a=null;const o=this._targetRay,u=this._grip,s=this._hand;if(e&&"visible-blurred"!==t.session.visibilityState){if(s&&e.hand){a=!0;for(const r of e.hand.values()){const e=t.getJointPose(r,n),i=this._getHandJoint(s,r);null!==e&&(i.matrix.fromArray(e.transform.matrix),i.matrix.decompose(i.position,i.rotation,i.scale),i.matrixWorldNeedsUpdate=!0,i.jointRadius=e.radius),i.visible=null!==e}const r=s.joints["index-finger-tip"],i=s.joints["thumb-tip"],o=r.position.distanceTo(i.position),u=.02,l=.005;s.inputState.pinching&&o>u+l?(s.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!s.inputState.pinching&&o<=u-l&&(s.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else null!==u&&e.gripSpace&&(i=t.getPose(e.gripSpace,n),null!==i&&(u.matrix.fromArray(i.transform.matrix),u.matrix.decompose(u.position,u.rotation,u.scale),u.matrixWorldNeedsUpdate=!0,i.linearVelocity?(u.hasLinearVelocity=!0,u.linearVelocity.copy(i.linearVelocity)):u.hasLinearVelocity=!1,i.angularVelocity?(u.hasAngularVelocity=!0,u.angularVelocity.copy(i.angularVelocity)):u.hasAngularVelocity=!1));null!==o&&(r=t.getPose(e.targetRaySpace,n),null===r&&null!==i&&(r=i),null!==r&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),o.matrixWorldNeedsUpdate=!0,r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1,this.dispatchEvent(Ks)))}return null!==o&&(o.visible=null!==r),null!==u&&(u.visible=null!==i),null!==s&&(s.visible=null!==a),this}_getHandJoint(e,t){if(void 0===e.joints[t.jointName]){const n=new Xs;n.matrixAutoUpdate=!1,n.visible=!1,e.joints[t.jointName]=n,e.add(n)}return e.joints[t.jointName]}}class Js{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(e,t,n){if(null===this.texture){const r=new Cr;e.properties.get(r).__webglTexture=t.texture,t.depthNear==n.depthNear&&t.depthFar==n.depthFar||(this.depthNear=t.depthNear,this.depthFar=t.depthFar),this.texture=r}}getMesh(e){if(null!==this.texture&&null===this.mesh){const t=e.cameras[0].viewport,n=new $a({vertexShader:"\nvoid main() {\n\n\tgl_Position = vec4( position, 1.0 );\n\n}",fragmentShader:"\nuniform sampler2DArray depthColor;\nuniform float depthWidth;\nuniform float depthHeight;\n\nvoid main() {\n\n\tvec2 coord = vec2( gl_FragCoord.x / depthWidth, gl_FragCoord.y / depthHeight );\n\n\tif ( coord.x >= 1.0 ) {\n\n\t\tgl_FragDepth = texture( depthColor, vec3( coord.x - 1.0, coord.y, 1 ) ).r;\n\n\t} else {\n\n\t\tgl_FragDepth = texture( depthColor, vec3( coord.x, coord.y, 0 ) ).r;\n\n\t}\n\n}",uniforms:{depthColor:{value:this.texture},depthWidth:{value:t.z},depthHeight:{value:t.w}}});this.mesh=new Ga(new _o(20,20),n)}return this.mesh}reset(){this.texture=null,this.mesh=null}}class Ys extends Wn{constructor(e,t){super();const n=this;let r=null,i=1,a=null,o="local-floor",u=1,s=null,l=null,c=null,h=null,d=null,p=null;const f=new Js,m=t.getContextAttributes();let g=null,_=null;const D=[],v=[],y=new er;let E=null;const A=new no;A.layers.enable(1),A.viewport=new Fr;const C=new no;C.layers.enable(2),C.viewport=new Fr;const F=[A,C],b=new js;b.layers.enable(1),b.layers.enable(2);let S=null,x=null;function B(e){const t=v.indexOf(e.inputSource);if(-1===t)return;const n=D[t];void 0!==n&&(n.update(e.inputSource,e.frame,s||a),n.dispatchEvent({type:e.type,data:e.inputSource}))}function w(){r.removeEventListener("select",B),r.removeEventListener("selectstart",B),r.removeEventListener("selectend",B),r.removeEventListener("squeeze",B),r.removeEventListener("squeezestart",B),r.removeEventListener("squeezeend",B),r.removeEventListener("end",w),r.removeEventListener("inputsourceschange",M);for(let e=0;e<D.length;e++){const t=v[e];null!==t&&(v[e]=null,D[e].disconnect(t))}S=null,x=null,f.reset(),e.setRenderTarget(g),d=null,h=null,c=null,r=null,_=null,N.stop(),n.isPresenting=!1,e.setPixelRatio(E),e.setSize(y.width,y.height,!1),n.dispatchEvent({type:"sessionend"})}function M(e){for(let t=0;t<e.removed.length;t++){const n=e.removed[t],r=v.indexOf(n);r>=0&&(v[r]=null,D[r].disconnect(n))}for(let t=0;t<e.added.length;t++){const n=e.added[t];let r=v.indexOf(n);if(-1===r){for(let e=0;e<D.length;e++){if(e>=v.length){v.push(n),r=e;break}if(null===v[e]){v[e]=n,r=e;break}}if(-1===r)break}const i=D[r];i&&i.connect(n)}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(e){let t=D[e];return void 0===t&&(t=new qs,D[e]=t),t.getTargetRaySpace()},this.getControllerGrip=function(e){let t=D[e];return void 0===t&&(t=new qs,D[e]=t),t.getGripSpace()},this.getHand=function(e){let t=D[e];return void 0===t&&(t=new qs,D[e]=t),t.getHandSpace()},this.setFramebufferScaleFactor=function(e){i=e,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(e){o=e,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return s||a},this.setReferenceSpace=function(e){s=e},this.getBaseLayer=function(){return null!==h?h:d},this.getBinding=function(){return c},this.getFrame=function(){return p},this.getSession=function(){return r},this.setSession=async function(l){if(r=l,null!==r){if(g=e.getRenderTarget(),r.addEventListener("select",B),r.addEventListener("selectstart",B),r.addEventListener("selectend",B),r.addEventListener("squeeze",B),r.addEventListener("squeezestart",B),r.addEventListener("squeezeend",B),r.addEventListener("end",w),r.addEventListener("inputsourceschange",M),!0!==m.xrCompatible&&await t.makeXRCompatible(),E=e.getPixelRatio(),e.getSize(y),void 0===r.renderState.layers){const n={antialias:m.antialias,alpha:!0,depth:m.depth,stencil:m.stencil,framebufferScaleFactor:i};d=new XRWebGLLayer(r,t,n),r.updateRenderState({baseLayer:d}),e.setPixelRatio(1),e.setSize(d.framebufferWidth,d.framebufferHeight,!1),_=new Sr(d.framebufferWidth,d.framebufferHeight,{format:He,type:we,colorSpace:e.outputColorSpace,stencilBuffer:m.stencil})}else{let n=null,a=null,o=null;m.depth&&(o=m.stencil?t.DEPTH24_STENCIL8:t.DEPTH_COMPONENT24,n=m.stencil?Ke:Xe,a=m.stencil?Ue:Ie);const u={colorFormat:t.RGBA8,depthFormat:o,scaleFactor:i};c=new XRWebGLBinding(r,t),h=c.createProjectionLayer(u),r.updateRenderState({layers:[h]}),e.setPixelRatio(1),e.setSize(h.textureWidth,h.textureHeight,!1),_=new Sr(h.textureWidth,h.textureHeight,{format:He,type:we,depthTexture:new tu(h.textureWidth,h.textureHeight,a,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:m.stencil,colorSpace:e.outputColorSpace,samples:m.antialias?4:0,resolveDepthBuffer:!1===h.ignoreDepthValues})}_.isXRRenderTarget=!0,this.setFoveation(u),s=null,a=await r.requestReferenceSpace(o),N.setContext(r),N.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}},this.getEnvironmentBlendMode=function(){if(null!==r)return r.environmentBlendMode};const T=new Pr,P=new Pr;function R(e,t){null===t?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}this.updateCamera=function(e){if(null===r)return;null!==f.texture&&(e.near=f.depthNear,e.far=f.depthFar),b.near=C.near=A.near=e.near,b.far=C.far=A.far=e.far,S===b.near&&x===b.far||(r.updateRenderState({depthNear:b.near,depthFar:b.far}),S=b.near,x=b.far,A.near=S,A.far=x,C.near=S,C.far=x,A.updateProjectionMatrix(),C.updateProjectionMatrix(),e.updateProjectionMatrix());const t=e.parent,n=b.cameras;R(b,t);for(let e=0;e<n.length;e++)R(n[e],t);2===n.length?function(e,t,n){T.setFromMatrixPosition(t.matrixWorld),P.setFromMatrixPosition(n.matrixWorld);const r=T.distanceTo(P),i=t.projectionMatrix.elements,a=n.projectionMatrix.elements,o=i[14]/(i[10]-1),u=i[14]/(i[10]+1),s=(i[9]+1)/i[5],l=(i[9]-1)/i[5],c=(i[8]-1)/i[0],h=(a[8]+1)/a[0],d=o*c,p=o*h,f=r/(-c+h),m=f*-c;t.matrixWorld.decompose(e.position,e.quaternion,e.scale),e.translateX(m),e.translateZ(f),e.matrixWorld.compose(e.position,e.quaternion,e.scale),e.matrixWorldInverse.copy(e.matrixWorld).invert();const g=o+f,_=u+f,D=d-m,v=p+(r-m),y=s*u/_*g,E=l*u/_*g;e.projectionMatrix.makePerspective(D,v,y,E,g,_),e.projectionMatrixInverse.copy(e.projectionMatrix).invert()}(b,A,C):b.projectionMatrix.copy(A.projectionMatrix),function(e,t,n){null===n?e.matrix.copy(t.matrixWorld):(e.matrix.copy(n.matrixWorld),e.matrix.invert(),e.matrix.multiply(t.matrixWorld));e.matrix.decompose(e.position,e.quaternion,e.scale),e.updateMatrixWorld(!0),e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse),e.isPerspectiveCamera&&(e.fov=2*Xn*Math.atan(1/e.projectionMatrix.elements[5]),e.zoom=1)}(e,b,t)},this.getCamera=function(){return b},this.getFoveation=function(){if(null!==h||null!==d)return u},this.setFoveation=function(e){u=e,null!==h&&(h.fixedFoveation=e),null!==d&&void 0!==d.fixedFoveation&&(d.fixedFoveation=e)},this.hasDepthSensing=function(){return null!==f.texture},this.getDepthSensingMesh=function(){return f.getMesh(b)};let I=null;const N=new mo;N.setAnimationLoop((function(t,i){if(l=i.getViewerPose(s||a),p=i,null!==l){const t=l.views;null!==d&&(e.setRenderTargetFramebuffer(_,d.framebuffer),e.setRenderTarget(_));let n=!1;t.length!==b.cameras.length&&(b.cameras.length=0,n=!0);for(let r=0;r<t.length;r++){const i=t[r];let a=null;if(null!==d)a=d.getViewport(i);else{const t=c.getViewSubImage(h,i);a=t.viewport,0===r&&(e.setRenderTargetTextures(_,t.colorTexture,h.ignoreDepthValues?void 0:t.depthStencilTexture),e.setRenderTarget(_))}let o=F[r];void 0===o&&(o=new no,o.layers.enable(r),o.viewport=new Fr,F[r]=o),o.matrix.fromArray(i.transform.matrix),o.matrix.decompose(o.position,o.quaternion,o.scale),o.projectionMatrix.fromArray(i.projectionMatrix),o.projectionMatrixInverse.copy(o.projectionMatrix).invert(),o.viewport.set(a.x,a.y,a.width,a.height),0===r&&(b.matrix.copy(o.matrix),b.matrix.decompose(b.position,b.quaternion,b.scale)),!0===n&&b.cameras.push(o)}const i=r.enabledFeatures;if(i&&i.includes("depth-sensing")){const n=c.getDepthInformation(t[0]);n&&n.isValid&&n.texture&&f.init(e,n,r.renderState)}}for(let e=0;e<D.length;e++){const t=v[e],n=D[e];null!==t&&void 0!==n&&n.update(t,i,s||a)}I&&I(t,i),i.detectedPlanes&&n.dispatchEvent({type:"planesdetected",data:i}),p=null})),this.setAnimationLoop=function(e){I=e},this.dispose=function(){}}}const $s=new Di,Qs=new si;function Zs(e,t){function n(e,t){!0===e.matrixAutoUpdate&&e.updateMatrix(),t.value.copy(e.matrix)}function r(e,r){e.opacity.value=r.opacity,r.color&&e.diffuse.value.copy(r.color),r.emissive&&e.emissive.value.copy(r.emissive).multiplyScalar(r.emissiveIntensity),r.map&&(e.map.value=r.map,n(r.map,e.mapTransform)),r.alphaMap&&(e.alphaMap.value=r.alphaMap,n(r.alphaMap,e.alphaMapTransform)),r.bumpMap&&(e.bumpMap.value=r.bumpMap,n(r.bumpMap,e.bumpMapTransform),e.bumpScale.value=r.bumpScale,r.side===m&&(e.bumpScale.value*=-1)),r.normalMap&&(e.normalMap.value=r.normalMap,n(r.
vendor: 4,605 bytes, line 2
2normalMap,e.normalMapTransform),e.normalScale.value.copy(r.normalScale),r.side===m&&e.normalScale.value.negate()),r.displacementMap&&(e.displacementMap.value=r.displacementMap,n(r.displacementMap,e.displacementMapTransform),e.displacementScale.value=r.displacementScale,e.displacementBias.value=r.displacementBias),r.emissiveMap&&(e.emissiveMap.value=r.emissiveMap,n(r.emissiveMap,e.emissiveMapTransform)),r.specularMap&&(e.specularMap.value=r.specularMap,n(r.specularMap,e.specularMapTransform)),r.alphaTest>0&&(e.alphaTest.value=r.alphaTest);const i=t.get(r),a=i.envMap,o=i.envMapRotation;a&&(e.envMap.value=a,$s.copy(o),$s.x*=-1,$s.y*=-1,$s.z*=-1,a.isCubeTexture&&!1===a.isRenderTargetTexture&&($s.y*=-1,$s.z*=-1),e.envMapRotation.value.setFromMatrix4(Qs.makeRotationFromEuler($s)),e.flipEnvMap.value=a.isCubeTexture&&!1===a.isRenderTargetTexture?-1:1,e.reflectivity.value=r.reflectivity,e.ior.value=r.ior,e.refractionRatio.value=r.refractionRatio),r.lightMap&&(e.lightMap.value=r.lightMap,e.lightMapIntensity.value=r.lightMapIntensity,n(r.lightMap,e.lightMapTransform)),r.aoMap&&(e.aoMap.value=r.aoMap,e.aoMapIntensity.value=r.aoMapIntensity,n(r.aoMap,e.aoMapTransform))}return{refreshFogUniforms:function(t,n){n.color.getRGB(t.fogColor.value,Ja(e)),n.isFog?(t.fogNear.value=n.near,t.fogFar.value=n.far):n.isFogExp2&&(t.fogDensity.value=n.density)},refreshMaterialUniforms:function(e,i,a,o,u){i.isMeshBasicMaterial||i.isMeshLambertMaterial?r(e,i):i.isMeshToonMaterial?(r(e,i),function(e,t){t.gradientMap&&(e.gradientMap.value=t.gradientMap)}(e,i)):i.isMeshPhongMaterial?(r(e,i),function(e,t){e.specular.value.copy(t.specular),e.shininess.value=Math.max(t.shininess,1e-4)}(e,i)):i.isMeshStandardMaterial?(r(e,i),function(e,t){e.metalness.value=t.metalness,t.metalnessMap&&(e.metalnessMap.value=t.metalnessMap,n(t.metalnessMap,e.metalnessMapTransform));e.roughness.value=t.roughness,t.roughnessMap&&(e.roughnessMap.value=t.roughnessMap,n(t.roughnessMap,e.roughnessMapTransform));t.envMap&&(e.envMapIntensity.value=t.envMapIntensity)}(e,i),i.isMeshPhysicalMaterial&&function(e,t,r){e.ior.value=t.ior,t.sheen>0&&(e.sheenColor.value.copy(t.sheenColor).multiplyScalar(t.sheen),e.sheenRoughness.value=t.sheenRoughness,t.sheenColorMap&&(e.sheenColorMap.value=t.sheenColorMap,n(t.sheenColorMap,e.sheenColorMapTransform)),t.sheenRoughnessMap&&(e.sheenRoughnessMap.value=t.sheenRoughnessMap,n(t.sheenRoughnessMap,e.sheenRoughnessMapTransform)));t.clearcoat>0&&(e.clearcoat.value=t.clearcoat,e.clearcoatRoughness.value=t.clearcoatRoughness,t.clearcoatMap&&(e.clearcoatMap.value=t.clearcoatMap,n(t.clearcoatMap,e.clearcoatMapTransform)),t.clearcoatRoughnessMap&&(e.clearcoatRoughnessMap.value=t.clearcoatRoughnessMap,n(t.clearcoatRoughnessMap,e.clearcoatRoughnessMapTransform)),t.clearcoatNormalMap&&(e.clearcoatNormalMap.value=t.clearcoatNormalMap,n(t.clearcoatNormalMap,e.clearcoatNormalMapTransform),e.clearcoatNormalScale.value.copy(t.clearcoatNormalScale),t.side===m&&e.clearcoatNormalScale.value.negate()));t.dispersion>0&&(e.dispersion.value=t.dispersion);t.iridescence>0&&(e.iridescence.value=t.iridescence,e.iridescenceIOR.value=t.iridescenceIOR,e.iridescenceThicknessMinimum.value=t.iridescenceThicknessRange[0],e.iridescenceThicknessMaximum.value=t.iridescenceThicknessRange[1],t.iridescenceMap&&(e.iridescenceMap.value=t.iridescenceMap,n(t.iridescenceMap,e.iridescenceMapTransform)),t.iridescenceThicknessMap&&(e.iridescenceThicknessMap.value=t.iridescenceThicknessMap,n(t.iridescenceThicknessMap,e.iridescenceThicknessMapTransform)));t.transmission>0&&(e.transmission.value=t.transmission,e.transmissionSamplerMap.value=r.texture,e.transmissionSamplerSize.value.set(r.width,r.height),t.transmissionMap&&(e.transmissionMap.value=t.transmissionMap,n(t.transmissionMap,e.transmissionMapTransform)),e.thickness.value=t.thickness,t.thicknessMap&&(e.thicknessMap.value=t.thicknessMap,n(t.thicknessMap,e.thicknessMapTransform)),e.attenuationDistance.value=t.attenuationDistance,e.attenuationColor.value.copy(t.attenuationColor));t.anisotropy>0&&(e.anisotropyVector.value.set(t.anisotropy*Math.cos(t.anisotropyRotation),t.anisotropy*Math.sin(t.anisotropyRotation)),t.anisotropyMap&&(e.anisotropyMap.value=t.anisotropyMap,n(t.anisotropyMap,e.anisotropyMapTransform)));e.specularIntensity.value=t.specularIntensity,e.specularColor.value.copy(t.specularColor),t.specularColorMap&&(e.specularColorMap.value=t.specularColorMap,n(t.specularColorMap,e.specularColorMapTransform));t.specularIntensityMap&&(e.specularIntensityMap.value=t.specularIntensityMap,n(t.specularIntensityMap,e.specularIntensityMapTransform))}
vendor: 4,780 bytes, line 2
2(e,i,u)):i.isMeshMatcapMaterial?(r(e,i),function(e,t){t.matcap&&(e.matcap.value=t.matcap)}(e,i)):i.isMeshDepthMaterial?r(e,i):i.isMeshDistanceMaterial?(r(e,i),function(e,n){const r=t.get(n).light;e.referencePosition.value.setFromMatrixPosition(r.matrixWorld),e.nearDistance.value=r.shadow.camera.near,e.farDistance.value=r.shadow.camera.far}(e,i)):i.isMeshNormalMaterial?r(e,i):i.isLineBasicMaterial?(function(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,t.map&&(e.map.value=t.map,n(t.map,e.mapTransform))}(e,i),i.isLineDashedMaterial&&function(e,t){e.dashSize.value=t.dashSize,e.totalSize.value=t.dashSize+t.gapSize,e.scale.value=t.scale}(e,i)):i.isPointsMaterial?function(e,t,r,i){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.size.value=t.size*r,e.scale.value=.5*i,t.map&&(e.map.value=t.map,n(t.map,e.uvTransform));t.alphaMap&&(e.alphaMap.value=t.alphaMap,n(t.alphaMap,e.alphaMapTransform));t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}(e,i,a,o):i.isSpriteMaterial?function(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.rotation.value=t.rotation,t.map&&(e.map.value=t.map,n(t.map,e.mapTransform));t.alphaMap&&(e.alphaMap.value=t.alphaMap,n(t.alphaMap,e.alphaMapTransform));t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}(e,i):i.isShadowMaterial?(e.color.value.copy(i.color),e.opacity.value=i.opacity):i.isShaderMaterial&&(i.uniformsNeedUpdate=!1)}}}function el(e,t,n,r){let i={},a={},o=[];const u=e.getParameter(e.MAX_UNIFORM_BUFFER_BINDINGS);function s(e,t,n,r){const i=e.value,a=t+"_"+n;if(void 0===r[a])return r[a]="number"==typeof i||"boolean"==typeof i?i:i.clone(),!0;{const e=r[a];if("number"==typeof i||"boolean"==typeof i){if(e!==i)return r[a]=i,!0}else if(!1===e.equals(i))return e.copy(i),!0}return!1}function l(e){const t={boundary:0,storage:0};return"number"==typeof e||"boolean"==typeof e?(t.boundary=4,t.storage=4):e.isVector2?(t.boundary=8,t.storage=8):e.isVector3||e.isColor?(t.boundary=16,t.storage=12):e.isVector4?(t.boundary=16,t.storage=16):e.isMatrix3?(t.boundary=48,t.storage=48):e.isMatrix4?(t.boundary=64,t.storage=64):e.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",e),t}function c(t){const n=t.target;n.removeEventListener("dispose",c);const r=o.indexOf(n.__bindingPointIndex);o.splice(r,1),e.deleteBuffer(i[n.id]),delete i[n.id],delete a[n.id]}return{bind:function(e,t){const n=t.program;r.uniformBlockBinding(e,n)},update:function(n,h){let d=i[n.id];void 0===d&&(!function(e){const t=e.uniforms;let n=0;const r=16;for(let e=0,i=t.length;e<i;e++){const i=Array.isArray(t[e])?t[e]:[t[e]];for(let e=0,t=i.length;e<t;e++){const t=i[e],a=Array.isArray(t.value)?t.value:[t.value];for(let e=0,i=a.length;e<i;e++){const i=l(a[e]),o=n%r;0!==o&&r-o<i.boundary&&(n+=r-o),t.__data=new Float32Array(i.storage/Float32Array.BYTES_PER_ELEMENT),t.__offset=n,n+=i.storage}}}const i=n%r;i>0&&(n+=r-i);e.__size=n,e.__cache={}}(n),d=function(t){const n=function(){for(let e=0;e<u;e++)if(-1===o.indexOf(e))return o.push(e),e;return console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}();t.__bindingPointIndex=n;const r=e.createBuffer(),i=t.__size,a=t.usage;return e.bindBuffer(e.UNIFORM_BUFFER,r),e.bufferData(e.UNIFORM_BUFFER,i,a),e.bindBuffer(e.UNIFORM_BUFFER,null),e.bindBufferBase(e.UNIFORM_BUFFER,n,r),r}(n),i[n.id]=d,n.addEventListener("dispose",c));const p=h.program;r.updateUBOMapping(n,p);const f=t.render.frame;a[n.id]!==f&&(!function(t){const n=i[t.id],r=t.uniforms,a=t.__cache;e.bindBuffer(e.UNIFORM_BUFFER,n);for(let t=0,n=r.length;t<n;t++){const n=Array.isArray(r[t])?r[t]:[r[t]];for(let r=0,i=n.length;r<i;r++){const i=n[r];if(!0===s(i,t,r,a)){const t=i.__offset,n=Array.isArray(i.value)?i.value:[i.value];let r=0;for(let a=0;a<n.length;a++){const o=n[a],u=l(o);"number"==typeof o||"boolean"==typeof o?(i.__data[0]=o,e.bufferSubData(e.UNIFORM_BUFFER,t+r,i.__data)):o.isMatrix3?(i.__data[0]=o.elements[0],i.__data[1]=o.elements[1],i.__data[2]=o.elements[2],i.__data[3]=0,i.__data[4]=o.elements[3],i.__data[5]=o.elements[4],i.__data[6]=o.elements[5],i.__data[7]=0,i.__data[8]=o.elements[6],i.__data[9]=o.elements[7],i.__data[10]=o.elements[8],i.__data[11]=0):(o.toArray(i.__data,r),r+=u.storage/Float32Array.BYTES_PER_ELEMENT)}e.bufferSubData(e.UNIFORM_BUFFER,t,i.__data)}}}e.bindBuffer(e.UNIFORM_BUFFER,null)}(n),a[n.id]=f)},dispose:function(){for(const t in i)e.deleteBuffer(i[t]);o=[],i={},a={}}}}class tl{constructor(e={}){const{canvas:t=ur(),context:n=null,depth:i=!0,stencil:a=!1,alpha:o=!1,antialias:u=!1,premultipliedAlpha:s=!0,preserveDrawingBuffer:l=!1,powerPreference:c="default",failIfMajorPerformanceCaveat:h=!1}=e;let d;
vendor: 7,302 bytes, line 2
2if(this.isWebGLRenderer=!0,null!==n){if("undefined"!=typeof WebGLRenderingContext&&n instanceof WebGLRenderingContext)throw new Error("THREE.WebGLRenderer: WebGL 1 is not supported since r163.");d=n.getContextAttributes().alpha}else d=o;const p=new Uint32Array(4),_=new Int32Array(4);let D=null,v=null;const y=[],E=[];this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=Yt,this.toneMapping=ee,this.toneMappingExposure=1;const A=this;let C=!1,F=0,b=0,S=null,x=-1,B=null;const w=new Fr,M=new Fr;let T=null;const P=new $i(0);let R=0,I=t.width,N=t.height,L=1,O=null,k=null;const U=new Fr(0,0,I,N),z=new Fr(0,0,I,N);let V=!1;const W=new fo;let H=!1,G=!1;const j=new si,X=new Pr,K={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};let q=!1;function J(){return null===S?L:1}let Y,$,Q,Z,te,ne,re,ie,ae,oe,ue,se,le,ce,he,de,pe,fe,me,ge,_e,De,ve,ye,Ee=n;function Ae(e,n){return t.getContext(e,n)}try{const e={alpha:!0,depth:i,stencil:a,antialias:u,premultipliedAlpha:s,preserveDrawingBuffer:l,powerPreference:c,failIfMajorPerformanceCaveat:h};if("setAttribute"in t&&t.setAttribute("data-engine",`three.js r${r}`),t.addEventListener("webglcontextlost",be,!1),t.addEventListener("webglcontextrestored",Se,!1),t.addEventListener("webglcontextcreationerror",Be,!1),null===Ee){const t="webgl2";if(Ee=Ae(t,e),null===Ee)throw Ae(t)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}}catch(e){throw console.error("THREE.WebGLRenderer: "+e.message),e}function Ce(){Y=new Jo(Ee),Y.init(),De=new Gs(Ee,Y),$=new xo(Ee,Y,e,De),Q=new Ws(Ee),Z=new Qo(Ee),te=new Bs,ne=new Hs(Ee,Y,Q,te,$,De,Z),re=new wo(A),ie=new qo(A),ae=new go(Ee),ve=new bo(Ee,ae),oe=new Yo(Ee,ae,Z,ve),ue=new eu(Ee,oe,ae,Z),me=new Zo(Ee,$,ne),de=new Bo(te),se=new xs(A,re,ie,Y,$,ve,de),le=new Zs(A,te),ce=new Ps,he=new ks(Y),fe=new Fo(A,re,ie,Q,ue,d,s),pe=new Vs(A,ue,$),ye=new el(Ee,Z,$,Q),ge=new So(Ee,Y,Z),_e=new $o(Ee,Y,Z),Z.programs=se.programs,A.capabilities=$,A.extensions=Y,A.properties=te,A.renderLists=ce,A.shadowMap=pe,A.state=Q,A.info=Z}Ce();const Fe=new Ys(A,Ee);function be(e){e.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),C=!0}function Se(){console.log("THREE.WebGLRenderer: Context Restored."),C=!1;const e=Z.autoReset,t=pe.enabled,n=pe.autoUpdate,r=pe.needsUpdate,i=pe.type;Ce(),Z.autoReset=e,pe.enabled=t,pe.autoUpdate=n,pe.needsUpdate=r,pe.type=i}function Be(e){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",e.statusMessage)}function Me(e){const t=e.target;t.removeEventListener("dispose",Me),function(e){(function(e){const t=te.get(e).programs;void 0!==t&&(t.forEach((function(e){se.releaseProgram(e)})),e.isShaderMaterial&&se.releaseShaderCache(e))})(e),te.remove(e)}(t)}function Te(e,t,n){!0===e.transparent&&e.side===g&&!1===e.forceSinglePass?(e.side=m,e.needsUpdate=!0,Ke(e,t,n),e.side=f,e.needsUpdate=!0,Ke(e,t,n),e.side=g):Ke(e,t,n)}this.xr=Fe,this.getContext=function(){return Ee},this.getContextAttributes=function(){return Ee.getContextAttributes()},this.forceContextLoss=function(){const e=Y.get("WEBGL_lose_context");e&&e.loseContext()},this.forceContextRestore=function(){const e=Y.get("WEBGL_lose_context");e&&e.restoreContext()},this.getPixelRatio=function(){return L},this.setPixelRatio=function(e){void 0!==e&&(L=e,this.setSize(I,N,!1))},this.getSize=function(e){return e.set(I,N)},this.setSize=function(e,n,r=!0){Fe.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(I=e,N=n,t.width=Math.floor(e*L),t.height=Math.floor(n*L),!0===r&&(t.style.width=e+"px",t.style.height=n+"px"),this.setViewport(0,0,e,n))},this.getDrawingBufferSize=function(e){return e.set(I*L,N*L).floor()},this.setDrawingBufferSize=function(e,n,r){I=e,N=n,L=r,t.width=Math.floor(e*r),t.height=Math.floor(n*r),this.setViewport(0,0,e,n)},this.getCurrentViewport=function(e){return e.copy(w)},this.getViewport=function(e){return e.copy(U)},this.setViewport=function(e,t,n,r){e.isVector4?U.set(e.x,e.y,e.z,e.w):U.set(e,t,n,r),Q.viewport(w.copy(U).multiplyScalar(L).round())},this.getScissor=function(e){return e.copy(z)},this.setScissor=function(e,t,n,r){e.isVector4?z.set(e.x,e.y,e.z,e.w):z.set(e,t,n,r),Q.scissor(M.copy(z).multiplyScalar(L).round())},this.getScissorTest=function(){return V},this.setScissorTest=function(e){Q.setScissorTest(V=e)},this.setOpaqueSort=function(e){O=e},this.setTransparentSort=function(e){k=e},this.getClearColor=function(e){return e.copy(fe.getClearColor())},this.setClearColor=function(){fe.setClearColor.apply(fe,arguments)},this.getClearAlpha=function(){return fe.getClearAlpha()},this.setClearAlpha=function(){fe.setClearAlpha.apply(fe,arguments)},this.clear=function(e=!0,t=!0,n=!0){let r=0;if(e){let e=!1;if(null!==S){const t=S.texture.format;e=t===Qe||t===$e||t===Je}if(e){const e=S.texture.type,t=e===we||e===Ie||e===Pe||e===Ue||e===Oe||e===ke,n=fe.getClearColor(),r=fe.getClearAlpha(),i=n.r,a=n.g,o=n.b;t?(p[0]=i,p[1]=a,p[2]=o,p[3]=r,Ee.clearBufferuiv(Ee.COLOR,0,p)):(_[0]=i,_[1]=a,_[2]=o,_[3]=r,Ee.clearBufferiv(Ee.COLOR,0,_))}else r|=Ee.COLOR_BUFFER_BIT}t&&(r|=Ee.DEPTH_BUFFER_BIT),n&&(r|=Ee.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(4294967295)),Ee.clear(r)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){t.removeEventListener("webglcontextlost",be,!1),t.removeEventListener("webglcontextrestored",Se,!1),t.removeEventListener("webglcontextcreationerror",Be,!1),ce.dispose(),he.dispose(),te.dispose(),re.dispose(),ie.dispose(),ue.dispose(),ve.dispose(),ye.dispose(),se.dispose(),Fe.dispose(),Fe.removeEventListener("sessionstart",Ne),Fe.removeEventListener("sessionend",ze),Ve.stop()},this.renderBufferDirect=function(e,t,n,r,i,a){null===t&&(t=K);const o=i.isMesh&&i.matrixWorld.determinant()<0,u=function(e,t,n,r,i){!0!==t.isScene&&(t=K);ne.resetTextureUnits();const a=t.fog,o=r.isMeshStandardMaterial?t.environment:null,u=null===S?A.outputColorSpace:!0===S.isXRRenderTarget?S.texture.colorSpace:$t,s=(r.isMeshStandardMaterial?ie:re).get(r.envMap||o),l=!0===r.vertexColors&&!!n.attributes.color&&4===n.attributes.color.itemSize,c=!!n.attributes.tangent&&(!!r.normalMap||r.anisotropy>0),h=!!n.morphAttributes.position,d=!!n.morphAttributes.normal,p=!!n.morphAttributes.color;let f=ee;r.toneMapped&&(null!==S&&!0!==S.isXRRenderTarget||(f=A.toneMapping));const m=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,g=void 0!==m?m.length:0,_=te.get(r),D=v.state.lights;if(!0===H&&(!0===G||e!==B)){const t=e===B&&r.id===x;de.setState(r,e,t)}let y=!1;r.version===_.__version?_.needsLights&&_.lightsStateVersion!==D.state.version||_.outputColorSpace!==u||i.isBatchedMesh&&!1===_.batching?y=!0:i.isBatchedMesh||!0!==_.batching?i.isBatchedMesh&&!0===_.batchingColor&&null===i.colorTexture||i.isBatchedMesh&&!1===_.batchingColor&&null!==i.colorTexture||i.isInstancedMesh&&!1===_.instancing?y=!0:i.isInstancedMesh||!0!==_.instancing?i.isSkinnedMesh&&
vendor: 8,929 bytes, line 2
2!1===_.skinning?y=!0:i.isSkinnedMesh||!0!==_.skinning?i.isInstancedMesh&&!0===_.instancingColor&&null===i.instanceColor||i.isInstancedMesh&&!1===_.instancingColor&&null!==i.instanceColor||i.isInstancedMesh&&!0===_.instancingMorph&&null===i.morphTexture||i.isInstancedMesh&&!1===_.instancingMorph&&null!==i.morphTexture||_.envMap!==s||!0===r.fog&&_.fog!==a?y=!0:void 0===_.numClippingPlanes||_.numClippingPlanes===de.numPlanes&&_.numIntersection===de.numIntersection?(_.vertexAlphas!==l||_.vertexTangents!==c||_.morphTargets!==h||_.morphNormals!==d||_.morphColors!==p||_.toneMapping!==f||_.morphTargetsCount!==g)&&(y=!0):y=!0:y=!0:y=!0:y=!0:(y=!0,_.__version=r.version);let E=_.currentProgram;!0===y&&(E=Ke(r,t,i));let C=!1,F=!1,b=!1;const w=E.getUniforms(),M=_.uniforms;Q.useProgram(E.program)&&(C=!0,F=!0,b=!0);r.id!==x&&(x=r.id,F=!0);if(C||B!==e){w.setValue(Ee,"projectionMatrix",e.projectionMatrix),w.setValue(Ee,"viewMatrix",e.matrixWorldInverse);const t=w.map.cameraPosition;void 0!==t&&t.setValue(Ee,X.setFromMatrixPosition(e.matrixWorld)),$.logarithmicDepthBuffer&&w.setValue(Ee,"logDepthBufFC",2/(Math.log(e.far+1)/Math.LN2)),(r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshLambertMaterial||r.isMeshBasicMaterial||r.isMeshStandardMaterial||r.isShaderMaterial)&&w.setValue(Ee,"isOrthographic",!0===e.isOrthographicCamera),B!==e&&(B=e,F=!0,b=!0)}if(i.isSkinnedMesh){w.setOptional(Ee,i,"bindMatrix"),w.setOptional(Ee,i,"bindMatrixInverse");const e=i.skeleton;e&&(null===e.boneTexture&&e.computeBoneTexture(),w.setValue(Ee,"boneTexture",e.boneTexture,ne))}i.isBatchedMesh&&(w.setOptional(Ee,i,"batchingTexture"),w.setValue(Ee,"batchingTexture",i._matricesTexture,ne),w.setOptional(Ee,i,"batchingColorTexture"),null!==i._colorsTexture&&w.setValue(Ee,"batchingColorTexture",i._colorsTexture,ne));const T=n.morphAttributes;void 0===T.position&&void 0===T.normal&&void 0===T.color||me.update(i,n,E);(F||_.receiveShadow!==i.receiveShadow)&&(_.receiveShadow=i.receiveShadow,w.setValue(Ee,"receiveShadow",i.receiveShadow));r.isMeshGouraudMaterial&&null!==r.envMap&&(M.envMap.value=s,M.flipEnvMap.value=s.isCubeTexture&&!1===s.isRenderTargetTexture?-1:1);r.isMeshStandardMaterial&&null===r.envMap&&null!==t.environment&&(M.envMapIntensity.value=t.environmentIntensity);F&&(w.setValue(Ee,"toneMappingExposure",A.toneMappingExposure),_.needsLights&&(R=b,(P=M).ambientLightColor.needsUpdate=R,P.lightProbe.needsUpdate=R,P.directionalLights.needsUpdate=R,P.directionalLightShadows.needsUpdate=R,P.pointLights.needsUpdate=R,P.pointLightShadows.needsUpdate=R,P.spotLights.needsUpdate=R,P.spotLightShadows.needsUpdate=R,P.rectAreaLights.needsUpdate=R,P.hemisphereLights.needsUpdate=R),a&&!0===r.fog&&le.refreshFogUniforms(M,a),le.refreshMaterialUniforms(M,r,L,N,v.state.transmissionRenderTarget[e.id]),os.upload(Ee,qe(_),M,ne));var P,R;r.isShaderMaterial&&!0===r.uniformsNeedUpdate&&(os.upload(Ee,qe(_),M,ne),r.uniformsNeedUpdate=!1);r.isSpriteMaterial&&w.setValue(Ee,"center",i.center);if(w.setValue(Ee,"modelViewMatrix",i.modelViewMatrix),w.setValue(Ee,"normalMatrix",i.normalMatrix),w.setValue(Ee,"modelMatrix",i.matrixWorld),r.isShaderMaterial||r.isRawShaderMaterial){const e=r.uniformsGroups;for(let t=0,n=e.length;t<n;t++){const n=e[t];ye.update(n,E),ye.bind(n,E)}}return E}(e,t,n,r,i);Q.setMaterial(r,o);let s=n.index,l=1;if(!0===r.wireframe){if(s=oe.getWireframeAttribute(n),void 0===s)return;l=2}const c=n.drawRange,h=n.attributes.position;let d=c.start*l,p=(c.start+c.count)*l;null!==a&&(d=Math.max(d,a.start*l),p=Math.min(p,(a.start+a.count)*l)),null!==s?(d=Math.max(d,0),p=Math.min(p,s.count)):null!=h&&(d=Math.max(d,0),p=Math.min(p,h.count));const f=p-d;if(f<0||f===1/0)return;let m;ve.setup(i,r,u,n,s);let g=ge;if(null!==s&&(m=ae.get(s),g=_e,g.setIndex(m)),i.isMesh)!0===r.wireframe?(Q.setLineWidth(r.wireframeLinewidth*J()),g.setMode(Ee.LINES)):g.setMode(Ee.TRIANGLES);else if(i.isLine){let e=r.linewidth;void 0===e&&(e=1),Q.setLineWidth(e*J()),i.isLineSegments?g.setMode(Ee.LINES):i.isLineLoop?g.setMode(Ee.LINE_LOOP):g.setMode(Ee.LINE_STRIP)}else i.isPoints?g.setMode(Ee.POINTS):i.isSprite&&g.setMode(Ee.TRIANGLES);if(i.isBatchedMesh)null!==i._multiDrawInstances?g.renderMultiDrawInstances(i._multiDrawStarts,i._multiDrawCounts,i._multiDrawCount,i._multiDrawInstances):g.renderMultiDraw(i._multiDrawStarts,i._multiDrawCounts,i._multiDrawCount);else if(i.isInstancedMesh)g.renderInstances(d,f,i.count);else if(n.isInstancedBufferGeometry){const e=void 0!==n._maxInstanceCount?n._maxInstanceCount:1/0,t=Math.min(n.instanceCount,e);g.renderInstances(d,f,t)}else g.render(d,f)},this.compile=function(e,t,n=null){null===n&&(n=e),v=he.get(n),v.init(t),E.push(v),n.traverseVisible((function(e){e.isLight&&e.layers.test(t.layers)&&(v.pushLight(e),e.castShadow&&v.pushShadow(e))})),e!==n&&e.traverseVisible((function(e){e.isLight&&e.layers.test(t.layers)&&(v.pushLight(e),e.castShadow&&v.pushShadow(e))})),v.setupLights();const r=new Set;return e.traverse((function(e){const t=e.material;if(t)if(Array.isArray(t))for(let i=0;i<t.length;i++){const a=t[i];Te(a,n,e),r.add(a)}else Te(t,n,e),r.add(t)})),E.pop(),v=null,r},this.compileAsync=function(e,t,n=null){const r=this.compile(e,t,n);return new Promise((t=>{function n(){r.forEach((function(e){te.get(e).currentProgram.isReady()&&r.delete(e)})),0!==r.size?setTimeout(n,10):t(e)}null!==Y.get("KHR_parallel_shader_compile")?n():setTimeout(n,10)}))};let Re=null;function Ne(){Ve.stop()}function ze(){Ve.start()}const Ve=new mo;function We(e,t,n,r){if(!1===e.visible)return;if(e.layers.test(t.layers))if(e.isGroup)n=e.renderOrder;else if(e.isLOD)!0===e.autoUpdate&&e.update(t);else if(e.isLight)v.pushLight(e),e.castShadow&&v.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||W.intersectsSprite(e)){r&&X.setFromMatrixPosition(e.matrixWorld).applyMatrix4(j);const t=ue.update(e),i=e.material;i.visible&&D.push(e,t,i,n,X.z,null)}}else if((e.isMesh||e.isLine||e.isPoints)&&(!e.frustumCulled||W.intersectsObject(e))){const t=ue.update(e),i=e.material;if(r&&(void 0!==e.boundingSphere?(null===e.boundingSphere&&e.computeBoundingSphere(),X.copy(e.boundingSphere.center)):(null===t.boundingSphere&&t.computeBoundingSphere(),X.copy(t.boundingSphere.center)),X.applyMatrix4(e.matrixWorld).applyMatrix4(j)),Array.isArray(i)){const r=t.groups;for(let a=0,o=r.length;a<o;a++){const o=r[a],u=i[o.materialIndex];u&&u.visible&&D.push(e,t,u,n,X.z,o)}}else i.visible&&D.push(e,t,i,n,X.z,null)}const i=e.children;for(let e=0,a=i.length;e<a;e++)We(i[e],t,n,r)}function He(e,t,n,r){const i=e.opaque,a=e.transmissive,o=e.transparent;v.setupLightsView(n),!0===H&&de.setGlobalState(A.clippingPlanes,n),r&&Q.viewport(w.copy(r)),i.length>0&&je(i,t,n),a.length>0&&je(a,t,n),o.length>0&&je(o,t,n),Q.buffers.depth.setTest(!0),Q.buffers.depth.setMask(!0),Q.buffers.color.setMask(!0),Q.setPolygonOffset(!1)}function Ge(e,t,n,r){if(null!==(!0===n.isScene?n.overrideMaterial:null))return;void 0===v.state.transmissionRenderTarget[r.id]&&(v.state.transmissionRenderTarget[r.id]=new Sr(1,1,{generateMipmaps:!0,type:Y.has("EXT_color_buffer_half_float")||Y.has("EXT_color_buffer_float")?Le:we,minFilter:xe,samples:4,stencilBuffer:a,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:fr.workingColorSpace}));const i=v.state.transmissionRenderTarget[r.id],o=r.viewport||w;i.setSize(o.z,o.w);const u=A.getRenderTarget();A.setRenderTarget(i),A.getClearColor(P),R=A.getClearAlpha(),R<1&&A.setClearColor(16777215,.5),q?fe.render(n):A.clear();const s=A.toneMapping;A.toneMapping=ee;const l=r.viewport;if(void 0!==r.viewport&&(r.viewport=void 0),v.setupLightsView(r),!0===H&&de.setGlobalState(A.clippingPlanes,r),je(e,n,r),ne.updateMultisampleRenderTarget(i),ne.updateRenderTargetMipmap(i),!1===Y.has("WEBGL_multisampled_render_to_texture")){let e=!1;for(let i=0,a=t.length;i<a;i++){const a=t[i],o=a.object,u=a.geometry,s=a.material,l=a.group;if(s.side===g&&o.layers.test(r.layers)){const t=s.side;s.side=m,s.needsUpdate=!0,Xe(o,n,r,u,s,l),s.side=t,s.needsUpdate=!0,e=!0}}!0===e&&(ne.updateMultisampleRenderTarget(i),ne.updateRenderTargetMipmap(i))}A.setRenderTarget(u),A.setClearColor(P,R),void 0!==l&&(r.viewport=l),A.toneMapping=s}function je(e,t,n){const r=!0===t.isScene?t.overrideMaterial:null;for(let i=0,a=e.length;i<a;i++){const a=e[i],o=a.object,u=a.geometry,s=null===r?a.material:r,l=a.group;o.layers.test(n.layers)&&Xe(o,t,n,u,s,l)}}function Xe(e,t,n,r,i,a){e.onBeforeRender(A,t,n,r,i,a),e.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,e.matrixWorld),e.normalMatrix.getNormalMatrix(e.modelViewMatrix),i.onBeforeRender(A,t,n,r,e,a),!0===i.transparent&&i.side===g&&!1===i.forceSinglePass?(i.side=m,i.needsUpdate=!0,A.renderBufferDirect(n,t,r,i,e,a),i.side=f,i.needsUpdate=!0,A.renderBufferDirect(n,t,r,i,e,a),i.side=g):A.renderBufferDirect(n,t,r,i,e,a),e.onAfterRender(A,t,n,r,i,a)}function Ke(e,t,n){!0!==t.isScene&&(t=K);const r=te.get(e),i=v.state.lights,a=v.state.shadowsArray,o=i.state.ver
vendor: 17,365 bytes, line 2
2sion,u=se.getParameters(e,i.state,a,t,n),s=se.getProgramCacheKey(u);let l=r.programs;r.environment=e.isMeshStandardMaterial?t.environment:null,r.fog=t.fog,r.envMap=(e.isMeshStandardMaterial?ie:re).get(e.envMap||r.environment),r.envMapRotation=null!==r.environment&&null===e.envMap?t.environmentRotation:e.envMapRotation,void 0===l&&(e.addEventListener("dispose",Me),l=new Map,r.programs=l);let c=l.get(s);if(void 0!==c){if(r.currentProgram===c&&r.lightsStateVersion===o)return Ye(e,u),c}else u.uniforms=se.getUniforms(e),e.onBuild(n,u,A),e.onBeforeCompile(u,A),c=se.acquireProgram(u,s),l.set(s,c),r.uniforms=u.uniforms;const h=r.uniforms;return(e.isShaderMaterial||e.isRawShaderMaterial)&&!0!==e.clipping||(h.clippingPlanes=de.uniform),Ye(e,u),r.needsLights=function(e){return e.isMeshLambertMaterial||e.isMeshToonMaterial||e.isMeshPhongMaterial||e.isMeshStandardMaterial||e.isShadowMaterial||e.isShaderMaterial&&!0===e.lights}(e),r.lightsStateVersion=o,r.needsLights&&(h.ambientLightColor.value=i.state.ambient,h.lightProbe.value=i.state.probe,h.directionalLights.value=i.state.directional,h.directionalLightShadows.value=i.state.directionalShadow,h.spotLights.value=i.state.spot,h.spotLightShadows.value=i.state.spotShadow,h.rectAreaLights.value=i.state.rectArea,h.ltc_1.value=i.state.rectAreaLTC1,h.ltc_2.value=i.state.rectAreaLTC2,h.pointLights.value=i.state.point,h.pointLightShadows.value=i.state.pointShadow,h.hemisphereLights.value=i.state.hemi,h.directionalShadowMap.value=i.state.directionalShadowMap,h.directionalShadowMatrix.value=i.state.directionalShadowMatrix,h.spotShadowMap.value=i.state.spotShadowMap,h.spotLightMatrix.value=i.state.spotLightMatrix,h.spotLightMap.value=i.state.spotLightMap,h.pointShadowMap.value=i.state.pointShadowMap,h.pointShadowMatrix.value=i.state.pointShadowMatrix),r.currentProgram=c,r.uniformsList=null,c}function qe(e){if(null===e.uniformsList){const t=e.currentProgram.getUniforms();e.uniformsList=os.seqWithValue(t.seq,e.uniforms)}return e.uniformsList}function Ye(e,t){const n=te.get(e);n.outputColorSpace=t.outputColorSpace,n.batching=t.batching,n.batchingColor=t.batchingColor,n.instancing=t.instancing,n.instancingColor=t.instancingColor,n.instancingMorph=t.instancingMorph,n.skinning=t.skinning,n.morphTargets=t.morphTargets,n.morphNormals=t.morphNormals,n.morphColors=t.morphColors,n.morphTargetsCount=t.morphTargetsCount,n.numClippingPlanes=t.numClippingPlanes,n.numIntersection=t.numClipIntersection,n.vertexAlphas=t.vertexAlphas,n.vertexTangents=t.vertexTangents,n.toneMapping=t.toneMapping}Ve.setAnimationLoop((function(e){Re&&Re(e)})),"undefined"!=typeof self&&Ve.setContext(self),this.setAnimationLoop=function(e){Re=e,Fe.setAnimationLoop(e),null===e?Ve.stop():Ve.start()},Fe.addEventListener("sessionstart",Ne),Fe.addEventListener("sessionend",ze),this.render=function(e,t){if(void 0!==t&&!0!==t.isCamera)return void console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");if(!0===C)return;if(!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),null===t.parent&&!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),!0===Fe.enabled&&!0===Fe.isPresenting&&(!0===Fe.cameraAutoUpdate&&Fe.updateCamera(t),t=Fe.getCamera()),!0===e.isScene&&e.onBeforeRender(A,e,t,S),v=he.get(e,E.length),v.init(t),E.push(v),j.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),W.setFromProjectionMatrix(j),G=this.localClippingEnabled,H=de.init(this.clippingPlanes,G),D=ce.get(e,y.length),D.init(),y.push(D),!0===Fe.enabled&&!0===Fe.isPresenting){const e=A.xr.getDepthSensingMesh();null!==e&&We(e,t,-1/0,A.sortObjects)}We(e,t,0,A.sortObjects),D.finish(),!0===A.sortObjects&&D.sort(O,k),q=!1===Fe.enabled||!1===Fe.isPresenting||!1===Fe.hasDepthSensing(),q&&fe.addToRenderList(D,e),this.info.render.frame++,!0===H&&de.beginShadows();const n=v.state.shadowsArray;pe.render(n,e,t),!0===H&&de.endShadows(),!0===this.info.autoReset&&this.info.reset();const r=D.opaque,i=D.transmissive;if(v.setupLights(),t.isArrayCamera){const n=t.cameras;if(i.length>0)for(let t=0,a=n.length;t<a;t++){Ge(r,i,e,n[t])}q&&fe.render(e);for(let t=0,r=n.length;t<r;t++){const r=n[t];He(D,e,r,r.viewport)}}else i.length>0&&Ge(r,i,e,t),q&&fe.render(e),He(D,e,t);null!==S&&(ne.updateMultisampleRenderTarget(S),ne.updateRenderTargetMipmap(S)),!0===e.isScene&&e.onAfterRender(A,e,t),ve.resetDefaultState(),x=-1,B=null,E.pop(),E.length>0?(v=E[E.length-1],!0===H&&de.setGlobalState(A.clippingPlanes,v.state.camera)):v=null,y.pop(),D=y.length>0?y[y.length-1]:null},this.getActiveCubeFace=function(){return F},this.getActiveMipmapLevel=function(){return b},this.getRenderTarget=function(){return S},this.setRenderTargetTextures=function(e,t,n){te.get(e.texture).__webglTexture=t,te.get(e.depthTexture).__webglTexture=n;const r=te.get(e);r.__hasExternalTextures=!0,r.__autoAllocateDepthBuffer=void 0===n,r.__autoAllocateDepthBuffer||!0===Y.has("WEBGL_multisampled_render_to_texture")&&(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),r.__useRenderToTexture=!1)},this.setRenderTargetFramebuffer=function(e,t){const n=te.get(e);n.__webglFramebuffer=t,n.__useDefaultFramebuffer=void 0===t},this.setRenderTarget=function(e,t=0,n=0){S=e,F=t,b=n;let r=!0,i=null,a=!1,o=!1;if(e){const u=te.get(e);void 0!==u.__useDefaultFramebuffer?(Q.bindFramebuffer(Ee.FRAMEBUFFER,null),r=!1):void 0===u.__webglFramebuffer?ne.setupRenderTarget(e):u.__hasExternalTextures&&ne.rebindTextures(e,te.get(e.texture).__webglTexture,te.get(e.depthTexture).__webglTexture);const s=e.texture;(s.isData3DTexture||s.isDataArrayTexture||s.isCompressedArrayTexture)&&(o=!0);const l=te.get(e).__webglFramebuffer;e.isWebGLCubeRenderTarget?(i=Array.isArray(l[t])?l[t][n]:l[t],a=!0):i=e.samples>0&&!1===ne.useMultisampledRTT(e)?te.get(e).__webglMultisampledFramebuffer:Array.isArray(l)?l[n]:l,w.copy(e.viewport),M.copy(e.scissor),T=e.scissorTest}else w.copy(U).multiplyScalar(L).floor(),M.copy(z).multiplyScalar(L).floor(),T=V;if(Q.bindFramebuffer(Ee.FRAMEBUFFER,i)&&r&&Q.drawBuffers(e,i),Q.viewport(w),Q.scissor(M),Q.setScissorTest(T),a){const r=te.get(e.texture);Ee.framebufferTexture2D(Ee.FRAMEBUFFER,Ee.COLOR_ATTACHMENT0,Ee.TEXTURE_CUBE_MAP_POSITIVE_X+t,r.__webglTexture,n)}else if(o){const r=te.get(e.texture),i=t||0;Ee.framebufferTextureLayer(Ee.FRAMEBUFFER,Ee.COLOR_ATTACHMENT0,r.__webglTexture,n||0,i)}x=-1},this.readRenderTargetPixels=function(e,t,n,r,i,a,o){if(!e||!e.isWebGLRenderTarget)return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let u=te.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==o&&(u=u[o]),u){Q.bindFramebuffer(Ee.FRAMEBUFFER,u);try{const o=e.texture,u=o.format,s=o.type;if(!$.textureFormatReadable(u))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");if(!$.textureTypeReadable(s))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");t>=0&&t<=e.width-r&&n>=0&&n<=e.height-i&&Ee.readPixels(t,n,r,i,De.convert(u),De.convert(s),a)}finally{const e=null!==S?te.get(S).__webglFramebuffer:null;Q.bindFramebuffer(Ee.FRAMEBUFFER,e)}}},this.readRenderTargetPixelsAsync=async function(e,t,n,r,i,a,o){if(!e||!e.isWebGLRenderTarget)throw new Error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let u=te.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==o&&(u=u[o]),u){Q.bindFramebuffer(Ee.FRAMEBUFFER,u);try{const o=e.texture,u=o.format,s=o.type;if(!$.textureFormatReadable(u))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.");if(!$.textureTypeReadable(s))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.");if(t>=0&&t<=e.width-r&&n>=0&&n<=e.height-i){const e=Ee.createBuffer();Ee.bindBuffer(Ee.PIXEL_PACK_BUFFER,e),Ee.bufferData(Ee.PIXEL_PACK_BUFFER,a.byteLength,Ee.STREAM_READ),Ee.readPixels(t,n,r,i,De.convert(u),De.convert(s),0),Ee.flush();const o=Ee.fenceSync(Ee.SYNC_GPU_COMMANDS_COMPLETE,0);await function(e,t,n){return new Promise((function(r,i){setTimeout((function a(){switch(e.clientWaitSync(t,e.SYNC_FLUSH_COMMANDS_BIT,0)){case e.WAIT_FAILED:i();break;case e.TIMEOUT_EXPIRED:setTimeout(a,n);break;default:r()}}),n)}))}(Ee,o,4);try{Ee.bindBuffer(Ee.PIXEL_PACK_BUFFER,e),Ee.getBufferSubData(Ee.PIXEL_PACK_BUFFER,0,a)}finally{Ee.deleteBuffer(e),Ee.deleteSync(o)}return a}}finally{const e=null!==S?te.get(S).__webglFramebuffer:null;Q.bindFramebuffer(Ee.FRAMEBUFFER,e)}}},this.copyFramebufferToTexture=function(e,t=null,n=0){!0!==e.isTexture&&(console.warn("WebGLRenderer: copyFramebufferToTexture function signature has changed."),t=arguments[0]||null,e=arguments[1]);const r=Math.pow(2,-n),i=Math.floor(e.image.width*r),a=Math.floor(e.image.height*r),o=null!==t?t.x:0,u=null!==t?t.y:0;ne.setTexture2D(e,0),Ee.copyTexSubImage2D(Ee.TEXTURE_2D,n,0,0,o,u,i,a),Q.unbindTexture()},this.copyTextureToTexture=function(e,t,n=null,r=null,i=0){let a,o,u,s,l,c;!0!==e.isTexture&&(console.warn("WebGLRenderer: copyTextureToTexture function signature has changed."),r=arguments[0]||null,e=arguments[1],t=arguments[2],i=arguments[3]||0,n=null),null!==n?(a=n.max.x-n.min.x,o=n.max.y-n.min.y,u=n.min.x,s=n.min.y):(a=e.image.width,o=e.image.height,u=0,s=0),null!==r?(l=r.x,c=r.y):(l=0,c=0);const h=De.convert(t.format),d=De.convert(t.type);ne.setTexture2D(t,0),Ee.pixelStorei(Ee.UNPACK_FLIP_Y_WEBGL,t.flipY),Ee.pixelStorei(Ee.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.premultiplyAlpha),Ee.pixelStorei(Ee.UNPACK_ALIGNMENT,t.unpackAlignment);const p=Ee.getParameter(Ee.UNPACK_ROW_LENGTH),f=Ee.getParameter(Ee.UNPACK_IMAGE_HEIGHT),m=Ee.getParameter(Ee.UNPACK_SKIP_PIXELS),g=Ee.getParameter(Ee.UNPACK_SKIP_ROWS),_=Ee.getParameter(Ee.UNPACK_SKIP_IMAGES),D=e.isCompressedTexture?e.mipmaps[i]:e.image;Ee.pixelStorei(Ee.UNPACK_ROW_LENGTH,D.width),Ee.pixelStorei(Ee.UNPACK_IMAGE_HEIGHT,D.height),Ee.pixelStorei(Ee.UNPACK_SKIP_PIXELS,u),Ee.pixelStorei(Ee.UNPACK_SKIP_ROWS,s),e.isDataTexture?Ee.texSubImage2D(Ee.TEXTURE_2D,i,l,c,a,o,h,d,D.data):e.isCompressedTexture?Ee.compressedTexSubImage2D(Ee.TEXTURE_2D,i,l,c,D.width,D.height,h,D.data):Ee.texSubImage2D(Ee.TEXTURE_2D,i,l,c,h,d,D),Ee.pixelStorei(Ee.UNPACK_ROW_LENGTH,p),Ee.pixelStorei(Ee.UNPACK_IMAGE_HEIGHT,f),Ee.pixelStorei(Ee.UNPACK_SKIP_PIXELS,m),Ee.pixelStorei(Ee.UNPACK_SKIP_ROWS,g),Ee.pixelStorei(Ee.UNPACK_SKIP_IMAGES,_),0===i&&t.generateMipmaps&&Ee.generateMipmap(Ee.TEXTURE_2D),Q.unbindTexture()},this.copyTextureToTexture3D=function(e,t,n=null,r=null,i=0){let a,o,u,s,l,c,h,d,p;!0!==e.isTexture&&(console.warn("WebGLRenderer: copyTextureToTexture3D function signature has changed."),n=arguments[0]||null,r=arguments[1]||null,e=arguments[2],t=arguments[3],i=arguments[4]||0);const f=e.isCompressedTexture?e.mipmaps[i]:e.image;null!==n?(a=n.max.x-n.min.x,o=n.max.y-n.min.y,u=n.max.z-n.min.z,s=n.min.x,l=n.min.y,c=n.min.z):(a=f.width,o=f.height,u=f.depth,s=0,l=0,c=0),null!==r?(h=r.x,d=r.y,p=r.z):(h=0,d=0,p=0);const m=De.convert(t.format),g=De.convert(t.type);let _;if(t.isData3DTexture)ne.setTexture3D(t,0),_=Ee.TEXTURE_3D;else{if(!t.isDataArrayTexture&&!t.isCompressedArrayTexture)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");ne.setTexture2DArray(t,0),_=Ee.TEXTURE_2D_ARRAY}Ee.pixelStorei(Ee.UNPACK_FLIP_Y_WEBGL,t.flipY),Ee.pixelStorei(Ee.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.premultiplyAlpha),Ee.pixelStorei(Ee.UNPACK_ALIGNMENT,t.unpackAlignment);const D=Ee.getParameter(Ee.UNPACK_ROW_LENGTH),v=Ee.getParameter(Ee.UNPACK_IMAGE_HEIGHT),y=Ee.getParameter(Ee.UNPACK_SKIP_PIXELS),E=Ee.getParameter(Ee.UNPACK_SKIP_ROWS),A=Ee.getParameter(Ee.UNPACK_SKIP_IMAGES);Ee.pixelStorei(Ee.UNPACK_ROW_LENGTH,f.width),Ee.pixelStorei(Ee.UNPACK_IMAGE_HEIGHT,f.height),Ee.pixelStorei(Ee.UNPACK_SKIP_PIXELS,s),Ee.pixelStorei(Ee.UNPACK_SKIP_ROWS,l),Ee.pixelStorei(Ee.UNPACK_SKIP_IMAGES,c),e.isDataTexture||e.isData3DTexture?Ee.texSubImage3D(_,i,h,d,p,a,o,u,m,g,f.data):t.isCompressedArrayTexture?Ee.compressedTexSubImage3D(_,i,h,d,p,a,o,u,m,f.data):Ee.texSubImage3D(_,i,h,d,p,a,o,u,m,g,f),Ee.pixelStorei(Ee.UNPACK_ROW_LENGTH,D),Ee.pixelStorei(Ee.UNPACK_IMAGE_HEIGHT,v),Ee.pixelStorei(Ee.UNPACK_SKIP_PIXELS,y),Ee.pixelStorei(Ee.UNPACK_SKIP_ROWS,E),Ee.pixelStorei(Ee.UNPACK_SKIP_IMAGES,A),0===i&&t.generateMipmaps&&Ee.generateMipmap(_),Q.unbindTexture()},this.initRenderTarget=function(e){void 0===te.get(e).__webglFramebuffer&&ne.setupRenderTarget(e)},this.initTexture=function(e){e.isCubeTexture?ne.setTextureCube(e,0):e.isData3DTexture?ne.setTexture3D(e,0):e.isDataArrayTexture||e.isCompressedArrayTexture?ne.setTexture2DArray(e,0):ne.setTexture2D(e,0),Q.unbindTexture()},this.resetState=function(){F=0,b=0,S=null,Q.reset(),ve.reset()},"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return zn}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;const t=this.getContext();t.drawingBufferColorSpace=e===Qt?"display-p3":"srgb",t.unpackColorSpace=fr.workingColorSpace===Zt?"display-p3":"srgb"}}class nl{constructor(e,t=25e-5){this.isFogExp2=!0,this.name="",this.color=new $i(e),this.density=t}clone(){return new nl(this.color,this.density)}toJSON(){return{type:"FogExp2",name:this.name,color:this.color.getHex(),density:this.density}}}class rl{constructor(e,t=1,n=1e3){this.isFog=!0,this.name="",this.color=new $i(e),this.near=t,this.far=n}clone(){return new rl(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}}class il extends Ni{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new Di,this.environmentIntensity=1,this.environmentRotation=new Di,this.overrideMaterial=null,"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),null!==e.background&&(this.background=e.background.clone()),null!==e.environment&&(this.environment=e.environment.clone()),null!==e.fog&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,this.backgroundRotation.copy(e.backgroundRotation),this.environmentIntensity=e.environmentIntensity,this.environmentRotation.copy(e.environmentRotation),null!==e.overrideMaterial&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const t=super.toJSON(e);return null!==this.fog&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),1!==this.backgroundIntensity&&(t.object.backgroundIntensity=this.backgroundIntensity),t.object.backgroundRotation=this.backgroundRotation.toArray(),1!==this.environmentIntensity&&(t.object.environmentIntensity=this.environmentIntensity),t.object.environmentRotation=this.environmentRotation.toArray(),t}}class al{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=void 0!==e?e.length/t:0,this.usage=wn,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.version=0,this.uuid=Kn()}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}get updateRange(){return lr("THREE.InterleavedBuffer: updateRange() is deprecated and will be removed in r169. Use addUpdateRange() instead."),this._updateRange}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,n){e*=this.stride,n*=t.stride;for(let r=0,i=this.stride;r<i;r++)this.array[e+r]=t.array[n+r];return this}set(e,t=0){return this.array.set(e,t),this}clone(e){void 0===e.arrayBuffers&&(e.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=Kn()),void 0===e.arrayBuffers[this.array.buffer._uuid]&&(e.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const t=new this.array.constructor(e.arrayBuffers[this.array.buffer._uuid]),n=new this.constructor(t,this.stride);return n.setUsage(this.usage),n}onUpload(e){return this.onUploadCallback=e,this}toJSON(e){return void 0===e.arrayBuffers&&(e.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=Kn()),void 0===e.arrayBuffers[this.array.buffer._uuid]&&(e.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const ol=new Pr;class ul{constructor(e,t,n,r=!1){this.isInterleavedBufferAttribute=!0,this.name="",this.data=e,this.itemSize=t,this.offset=n,this.normalized=r}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(e){this.data.needsUpdate=e}applyMatrix4(e){for(let t=0,n=this.data.count;t<n;
vendor: 5,098 bytes, line 2
2t++)ol.fromBufferAttribute(this,t),ol.applyMatrix4(e),this.setXYZ(t,ol.x,ol.y,ol.z);return this}applyNormalMatrix(e){for(let t=0,n=this.count;t<n;t++)ol.fromBufferAttribute(this,t),ol.applyNormalMatrix(e),this.setXYZ(t,ol.x,ol.y,ol.z);return this}transformDirection(e){for(let t=0,n=this.count;t<n;t++)ol.fromBufferAttribute(this,t),ol.transformDirection(e),this.setXYZ(t,ol.x,ol.y,ol.z);return this}getComponent(e,t){let n=this.array[e*this.data.stride+this.offset+t];return this.normalized&&(n=$n(n,this.array)),n}setComponent(e,t,n){return this.normalized&&(n=Qn(n,this.array)),this.data.array[e*this.data.stride+this.offset+t]=n,this}setX(e,t){return this.normalized&&(t=Qn(t,this.array)),this.data.array[e*this.data.stride+this.offset]=t,this}setY(e,t){return this.normalized&&(t=Qn(t,this.array)),this.data.array[e*this.data.stride+this.offset+1]=t,this}setZ(e,t){return this.normalized&&(t=Qn(t,this.array)),this.data.array[e*this.data.stride+this.offset+2]=t,this}setW(e,t){return this.normalized&&(t=Qn(t,this.array)),this.data.array[e*this.data.stride+this.offset+3]=t,this}getX(e){let t=this.data.array[e*this.data.stride+this.offset];return this.normalized&&(t=$n(t,this.array)),t}getY(e){let t=this.data.array[e*this.data.stride+this.offset+1];return this.normalized&&(t=$n(t,this.array)),t}getZ(e){let t=this.data.array[e*this.data.stride+this.offset+2];return this.normalized&&(t=$n(t,this.array)),t}getW(e){let t=this.data.array[e*this.data.stride+this.offset+3];return this.normalized&&(t=$n(t,this.array)),t}setXY(e,t,n){return e=e*this.data.stride+this.offset,this.normalized&&(t=Qn(t,this.array),n=Qn(n,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=n,this}setXYZ(e,t,n,r){return e=e*this.data.stride+this.offset,this.normalized&&(t=Qn(t,this.array),n=Qn(n,this.array),r=Qn(r,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=n,this.data.array[e+2]=r,this}setXYZW(e,t,n,r,i){return e=e*this.data.stride+this.offset,this.normalized&&(t=Qn(t,this.array),n=Qn(n,this.array),r=Qn(r,this.array),i=Qn(i,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=n,this.data.array[e+2]=r,this.data.array[e+3]=i,this}clone(e){if(void 0===e){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will de-interleave buffer data.");const e=[];for(let t=0;t<this.count;t++){const n=t*this.data.stride+this.offset;for(let t=0;t<this.itemSize;t++)e.push(this.data.array[n+t])}return new la(new this.array.constructor(e),this.itemSize,this.normalized)}return void 0===e.interleavedBuffers&&(e.interleavedBuffers={}),void 0===e.interleavedBuffers[this.data.uuid]&&(e.interleavedBuffers[this.data.uuid]=this.data.clone(e)),new ul(e.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(e){if(void 0===e){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will de-interleave buffer data.");const e=[];for(let t=0;t<this.count;t++){const n=t*this.data.stride+this.offset;for(let t=0;t<this.itemSize;t++)e.push(this.data.array[n+t])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:e,normalized:this.normalized}}return void 0===e.interleavedBuffers&&(e.interleavedBuffers={}),void 0===e.interleavedBuffers[this.data.uuid]&&(e.interleavedBuffers[this.data.uuid]=this.data.toJSON(e)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}class sl extends ea{constructor(e){super(),this.isSpriteMaterial=!0,this.type="SpriteMaterial",this.color=new $i(16777215),this.map=null,this.alphaMap=null,this.rotation=0,this.sizeAttenuation=!0,this.transparent=!0,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.rotation=e.rotation,this.sizeAttenuation=e.sizeAttenuation,this.fog=e.fog,this}}let ll;const cl=new Pr,hl=new Pr,dl=new Pr,pl=new er,fl=new er,ml=new si,gl=new Pr,_l=new Pr,Dl=new Pr,vl=new er,yl=new er,El=new er;class Al extends Ni{constructor(e=new sl){if(super(),this.isSprite=!0,this.type="Sprite",void 0===ll){ll=new Sa;const e=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]),t=new al(e,5);ll.setIndex([0,1,2,0,2,3]),ll.setAttribute("position",new ul(t,3,0,!1)),ll.setAttribute("uv",new ul(t,2,3,!1))}this.geometry=ll,this.material=e,this.center=new er(.5,.5)}raycast(e,t){null===e.camera&&console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.'),hl.setFromMatrixScale(this.matrixWorld),ml.copy(e.camera.matrixWorld),this.modelViewMatrix.multiplyMatrices(e.camera.matrixWorldInverse,this.matrixWorld),dl.setFromMatrixPosition(this.modelViewMatrix),e.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&hl.multiplyScalar(-dl.z);const n=this.material.rotation;let r,i;0!==n&&(i=Math.cos(n),r=Math.sin(n));const a=this.center;Cl(gl.set(-.5,-.5,0),dl,a,hl,r,i),Cl(_l.set(.5,-.5,0),dl,a,hl,r,i),Cl(Dl.set(.5,.5,0),dl,a,hl,r,i),vl.set(0,0),yl.set(1,0),El.set(1,1);let o=e.ray.intersectTriangle(gl,_l,Dl,!1,cl);
vendor: 4,517 bytes, line 2
2if(null===o&&(Cl(_l.set(-.5,.5,0),dl,a,hl,r,i),yl.set(0,1),o=e.ray.intersectTriangle(gl,Dl,_l,!1,cl),null===o))return;const u=e.ray.origin.distanceTo(cl);u<e.near||u>e.far||t.push({distance:u,point:cl.clone(),uv:Xi.getInterpolation(cl,gl,_l,Dl,vl,yl,El,new er),face:null,object:this})}copy(e,t){return super.copy(e,t),void 0!==e.center&&this.center.copy(e.center),this.material=e.material,this}}function Cl(e,t,n,r,i,a){pl.subVectors(e,n).addScalar(.5).multiply(r),void 0!==i?(fl.x=a*pl.x-i*pl.y,fl.y=i*pl.x+a*pl.y):fl.copy(pl),e.copy(t),e.x+=fl.x,e.y+=fl.y,e.applyMatrix4(ml)}const Fl=new Pr,bl=new Pr;class Sl extends Ni{constructor(){super(),this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),this.autoUpdate=!0}copy(e){super.copy(e,!1);const t=e.levels;for(let e=0,n=t.length;e<n;e++){const n=t[e];this.addLevel(n.object.clone(),n.distance,n.hysteresis)}return this.autoUpdate=e.autoUpdate,this}addLevel(e,t=0,n=0){t=Math.abs(t);const r=this.levels;let i;for(i=0;i<r.length&&!(t<r[i].distance);i++);return r.splice(i,0,{distance:t,hysteresis:n,object:e}),this.add(e),this}getCurrentLevel(){return this._currentLevel}getObjectForDistance(e){const t=this.levels;if(t.length>0){let n,r;for(n=1,r=t.length;n<r;n++){let r=t[n].distance;if(t[n].object.visible&&(r-=r*t[n].hysteresis),e<r)break}return t[n-1].object}return null}raycast(e,t){if(this.levels.length>0){Fl.setFromMatrixPosition(this.matrixWorld);const n=e.ray.origin.distanceTo(Fl);this.getObjectForDistance(n).raycast(e,t)}}update(e){const t=this.levels;if(t.length>1){Fl.setFromMatrixPosition(e.matrixWorld),bl.setFromMatrixPosition(this.matrixWorld);const n=Fl.distanceTo(bl)/e.zoom;let r,i;for(t[0].object.visible=!0,r=1,i=t.length;r<i;r++){let e=t[r].distance;if(t[r].object.visible&&(e-=e*t[r].hysteresis),!(n>=e))break;t[r-1].object.visible=!1,t[r].object.visible=!0}for(this._currentLevel=r-1;r<i;r++)t[r].object.visible=!1}}toJSON(e){const t=super.toJSON(e);!1===this.autoUpdate&&(t.object.autoUpdate=!1),t.object.levels=[];const n=this.levels;for(let e=0,r=n.length;e<r;e++){const r=n[e];t.object.levels.push({object:r.object.uuid,distance:r.distance,hysteresis:r.hysteresis})}return t}}const xl=new Pr,Bl=new Fr,wl=new Fr,Ml=new Pr,Tl=new si,Pl=new Pr,Rl=new Zr,Il=new si,Nl=new ui;class Ll extends Ga{constructor(e,t){super(e,t),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode=se,this.bindMatrix=new si,this.bindMatrixInverse=new si,this.boundingBox=null,this.boundingSphere=null}computeBoundingBox(){const e=this.geometry;null===this.boundingBox&&(this.boundingBox=new Nr),this.boundingBox.makeEmpty();const t=e.getAttribute("position");for(let e=0;e<t.count;e++)this.getVertexPosition(e,Pl),this.boundingBox.expandByPoint(Pl)}computeBoundingSphere(){const e=this.geometry;null===this.boundingSphere&&(this.boundingSphere=new Zr),this.boundingSphere.makeEmpty();const t=e.getAttribute("position");for(let e=0;e<t.count;e++)this.getVertexPosition(e,Pl),this.boundingSphere.expandByPoint(Pl)}copy(e,t){return super.copy(e,t),this.bindMode=e.bindMode,this.bindMatrix.copy(e.bindMatrix),this.bindMatrixInverse.copy(e.bindMatrixInverse),this.skeleton=e.skeleton,null!==e.boundingBox&&(this.boundingBox=e.boundingBox.clone()),null!==e.boundingSphere&&(this.boundingSphere=e.boundingSphere.clone()),this}raycast(e,t){const n=this.material,r=this.matrixWorld;void 0!==n&&(null===this.boundingSphere&&this.computeBoundingSphere(),Rl.copy(this.boundingSphere),Rl.applyMatrix4(r),!1!==e.ray.intersectsSphere(Rl)&&(Il.copy(r).invert(),Nl.copy(e.ray).applyMatrix4(Il),null!==this.boundingBox&&!1===Nl.intersectsBox(this.boundingBox)||this._computeIntersections(e,t,Nl)))}getVertexPosition(e,t){return super.getVertexPosition(e,t),this.applyBoneTransform(e,t),t}bind(e,t){this.skeleton=e,void 0===t&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),t=this.matrixWorld),this.bindMatrix.copy(t),this.bindMatrixInverse.copy(t).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const e=new Fr,t=this.geometry.attributes.skinWeight;for(let n=0,r=t.count;n<r;n++){e.fromBufferAttribute(t,n);const r=1/e.manhattanLength();r!==1/0?e.multiplyScalar(r):e.set(1,0,0,0),t.setXYZW(n,e.x,e.y,e.z,e.w)}}updateMatrixWorld(e){super.updateMatrixWorld(e),this.bindMode===se?this.bindMatrixInverse.copy(this.matrixWorld).invert():this.bindMode===le?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}
vendor: 4,654 bytes, line 2
2applyBoneTransform(e,t){const n=this.skeleton,r=this.geometry;Bl.fromBufferAttribute(r.attributes.skinIndex,e),wl.fromBufferAttribute(r.attributes.skinWeight,e),xl.copy(t).applyMatrix4(this.bindMatrix),t.set(0,0,0);for(let e=0;e<4;e++){const r=wl.getComponent(e);if(0!==r){const i=Bl.getComponent(e);Tl.multiplyMatrices(n.bones[i].matrixWorld,n.boneInverses[i]),t.addScaledVector(Ml.copy(xl).applyMatrix4(Tl),r)}}return t.applyMatrix4(this.bindMatrixInverse)}}class Ol extends Ni{constructor(){super(),this.isBone=!0,this.type="Bone"}}class kl extends Cr{constructor(e=null,t=1,n=1,r,i,a,o,u,s=ve,l=ve,c,h){super(null,a,o,u,s,l,r,i,c,h),this.isDataTexture=!0,this.image={data:e,width:t,height:n},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}const Ul=new si,zl=new si;class Vl{constructor(e=[],t=[]){this.uuid=Kn(),this.bones=e.slice(0),this.boneInverses=t,this.boneMatrices=null,this.boneTexture=null,this.init()}init(){const e=this.bones,t=this.boneInverses;if(this.boneMatrices=new Float32Array(16*e.length),0===t.length)this.calculateInverses();else if(e.length!==t.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let e=0,t=this.bones.length;e<t;e++)this.boneInverses.push(new si)}}calculateInverses(){this.boneInverses.length=0;for(let e=0,t=this.bones.length;e<t;e++){const t=new si;this.bones[e]&&t.copy(this.bones[e].matrixWorld).invert(),this.boneInverses.push(t)}}pose(){for(let e=0,t=this.bones.length;e<t;e++){const t=this.bones[e];t&&t.matrixWorld.copy(this.boneInverses[e]).invert()}for(let e=0,t=this.bones.length;e<t;e++){const t=this.bones[e];t&&(t.parent&&t.parent.isBone?(t.matrix.copy(t.parent.matrixWorld).invert(),t.matrix.multiply(t.matrixWorld)):t.matrix.copy(t.matrixWorld),t.matrix.decompose(t.position,t.quaternion,t.scale))}}update(){const e=this.bones,t=this.boneInverses,n=this.boneMatrices,r=this.boneTexture;for(let r=0,i=e.length;r<i;r++){const i=e[r]?e[r].matrixWorld:zl;Ul.multiplyMatrices(i,t[r]),Ul.toArray(n,16*r)}null!==r&&(r.needsUpdate=!0)}clone(){return new Vl(this.bones,this.boneInverses)}computeBoneTexture(){let e=Math.sqrt(4*this.bones.length);e=4*Math.ceil(e/4),e=Math.max(e,4);const t=new Float32Array(e*e*4);t.set(this.boneMatrices);const n=new kl(t,e,e,He,Ne);return n.needsUpdate=!0,this.boneMatrices=t,this.boneTexture=n,this}getBoneByName(e){for(let t=0,n=this.bones.length;t<n;t++){const n=this.bones[t];if(n.name===e)return n}}dispose(){null!==this.boneTexture&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(e,t){this.uuid=e.uuid;for(let n=0,r=e.bones.length;n<r;n++){const r=e.bones[n];let i=t[r];void 0===i&&(console.warn("THREE.Skeleton: No bone found with UUID:",r),i=new Ol),this.bones.push(i),this.boneInverses.push((new si).fromArray(e.boneInverses[n]))}return this.init(),this}toJSON(){const e={metadata:{version:4.6,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};e.uuid=this.uuid;const t=this.bones,n=this.boneInverses;for(let r=0,i=t.length;r<i;r++){const i=t[r];e.bones.push(i.uuid);const a=n[r];e.boneInverses.push(a.toArray())}return e}}class Wl extends la{constructor(e,t,n,r=1){super(e,t,n),this.isInstancedBufferAttribute=!0,this.meshPerAttribute=r}copy(e){return super.copy(e),this.meshPerAttribute=e.meshPerAttribute,this}toJSON(){const e=super.toJSON();return e.meshPerAttribute=this.meshPerAttribute,e.isInstancedBufferAttribute=!0,e}}const Hl=new si,Gl=new si,jl=[],Xl=new Nr,Kl=new si,ql=new Ga,Jl=new Zr;class Yl extends Ga{constructor(e,t,n){super(e,t),this.isInstancedMesh=!0,this.instanceMatrix=new Wl(new Float32Array(16*n),16),this.instanceColor=null,this.morphTexture=null,this.count=n,this.boundingBox=null,this.boundingSphere=null;for(let e=0;e<n;e++)this.setMatrixAt(e,Kl)}computeBoundingBox(){const e=this.geometry,t=this.count;null===this.boundingBox&&(this.boundingBox=new Nr),null===e.boundingBox&&e.computeBoundingBox(),this.boundingBox.makeEmpty();for(let n=0;n<t;n++)this.getMatrixAt(n,Hl),Xl.copy(e.boundingBox).applyMatrix4(Hl),this.boundingBox.union(Xl)}computeBoundingSphere(){const e=this.geometry,t=this.count;null===this.boundingSphere&&(this.boundingSphere=new Zr),null===e.boundingSphere&&e.computeBoundingSphere(),this.boundingSphere.makeEmpty();for(let n=0;n<t;n++)this.getMatrixAt(n,Hl),Jl.copy(e.boundingSphere).applyMatrix4(Hl),this.boundingSphere.union(Jl)}copy(e,t){return super.copy(e,t),this.instanceMatrix.copy(e.instanceMatrix),null!==e.morphTexture&&(this.morphTexture=e.morphTexture.clone()),null!==e.instanceColor&&(this.instanceColor=e.instanceColor.clone()),this.count=e.count,null!==e.boundingBox&&
2(this.boundingBox=e.boundingBox.clone()),null!==e.boundingSphere&&(this.boundingSphere=e.boundingSphere.clone()),this}getColorAt(e,t){t.fromArray(this.instanceColor.array,3*e)}getMatrixAt(e,t){t.fromArray(this.instanceMatrix.array,16*e)}getMorphAt(e,t){const n=t.morphTargetInfluences,r=this.morphTexture.source.data.data,i=e*(n.length+1)+1;for(let e=0;e<n.length;e++)n[e]=r[i+e]}raycast(e,t){const n=this.matrixWorld,r=this.count;if(ql.geometry=this.geometry,ql.material=this.material,void 0!==ql.material&&(null===this.boundingSphere&&this.computeBoundingSphere(),Jl.copy(this.boundingSphere),Jl.applyMatrix4(n),!1!==e.ray.intersectsSphere(Jl)))for(let i=0;i<r;i++){this.getMatrixAt(i,Hl),Gl.multiplyMatrices(n,Hl),ql.matrixWorld=Gl,ql.raycast(e,jl);for(let e=0,n=jl.length;e<n;e++){const n=jl[e];n.instanceId=i,n.object=this,t.push(n)}jl.length=0}}setColorAt(e,t){null===this.instanceColor&&(this.instanceColor=new Wl(new Float32Array(3*this.instanceMatrix.count),3)),t.toArray(this.instanceColor.array,3*e)}setMatrixAt(e,t){t.toArray(this.instanceMatrix.array,16*e)}setMorphAt(e,t){const n=t.morphTargetInfluences,r=n.length+1;null===this.morphTexture&&(this.morphTexture=new kl(new Float32Array(r*this.count),r,this.count,qe,Ne));const i=this.morphTexture.source.data.data;let a=0;for(let e=0;e<n.length;e++)a+=n[e];const o=this.geometry.morphTargetsRelative?1:1-a,u=r*e;i[u]=o,i.set(n,u+1)}updateMorphTargets(){}dispose(){return this.dispatchEvent({type:"dispose"}),null!==this.morphTexture&&(this.morphTexture.dispose(),this.morphTexture=null),this}}function $l(e,t){return e.z-t.z}function Ql(e,t){return t.z-e.z}class Zl{constructor(){this.index=0,this.pool=[],this.list=[]}push(e,t){const n=this.pool,r=this.list;this.index>=n.length&&n.push({start:-1,count:-1,z:-1});const i=n[this.index];r.push(i),this.index++,i.start=e.start,i.count=e.count,i.z=t}reset(){this.list.length=0,this.index=0}}const ec="batchId",tc=new si,nc=new si,rc=new si,ic=new $i(1,1,1),ac=new si,oc=new fo,uc=new Nr,sc=new Zr,lc=new Pr,cc=new Pr,hc=new Pr,dc=new Zl,pc=new Ga,fc=[];function mc(e,t,n=0){const r=t.itemSize;if(e.isInterleavedBufferAttribute||e.array.constructor!==t.array.constructor){const i=e.count;for(let a=0;a<i;a++)for(let i=0;i<r;i++)t.setComponent(a+n,i,e.getComponent(a,i))}else t.array.set(e.array,n*r);t.needsUpdate=!0}class gc extends Ga{get maxGeometryCount(){return this._maxGeometryCount}constructor(e,t,n=2*t,r){super(new Sa,r),this.isBatchedMesh=!0,this.perObjectFrustumCulled=!0,this.sortObjects=!0,this.boundingBox=null,this.boundingSphere=null,this.customSort=null,this._drawRanges=[],this._reservedRanges=[],this._visibility=[],this._active=[],this._bounds=[],this._maxGeometryCount=e,this._maxVertexCount=t,this._maxIndexCount=n,this._geometryInitialized=!1,this._geometryCount=0,this._multiDrawCounts=new Int32Array(e),this._multiDrawStarts=new Int32Array(e),this._multiDrawCount=0,this._multiDrawInstances=null,this._visibilityChanged=!0,this._matricesTexture=null,this._initMatricesTexture(),this._colorsTexture=null}_initMatricesTexture(){let e=Math.sqrt(4*this._maxGeometryCount);e=4*Math.ceil(e/4),e=Math.max(e,4);const t=new Float32Array(e*e*4),n=new kl(t,e,e,He,Ne);this._matricesTexture=n}_initColorsTexture(){let e=Math.sqrt(this._maxGeometryCount);e=Math.ceil(e);const t=new Float32Array(e*e*4).fill(1),n=new kl(t,e,e,He,Ne);
2n.colorSpace=fr.workingColorSpace,this._colorsTexture=n}_initializeGeometry(e){const t=this.geometry,n=this._maxVertexCount,r=this._maxGeometryCount,i=this._maxIndexCount;if(!1===this._geometryInitialized){for(const r in e.attributes){const i=e.getAttribute(r),{array:a,itemSize:o,normalized:u}=i,s=new a.constructor(n*o),l=new la(s,o,u);t.setAttribute(r,l)}if(null!==e.getIndex()){const e=n>65536?new Uint32Array(i):new Uint16Array(i);t.setIndex(new la(e,1))}const a=r>65536?new Uint32Array(n):new Uint16Array(n);t.setAttribute(ec,new la(a,1)),this._geometryInitialized=!0}}_validateGeometry(e){if(e.getAttribute(ec))throw new Error(`BatchedMesh: Geometry cannot use attribute "${ec}"`);const t=this.geometry;if(Boolean(e.getIndex())!==Boolean(t.getIndex()))throw new Error('BatchedMesh: All geometries must consistently have "index".');for(const n in t.attributes){if(n===ec)continue;if(!e.hasAttribute(n))throw new Error(`BatchedMesh: Added geometry missing "${n}". All geometries must have consistent attributes.`);const r=e.getAttribute(n),i=t.getAttribute(n);if(r.itemSize!==i.itemSize||r.normalized!==i.normalized)throw new Error("BatchedMesh: All attributes must have a consistent itemSize and normalized value.")}}setCustomSort(e){return this.customSort=e,this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new Nr);const e=this._geometryCount,t=this.boundingBox,n=this._active;t.makeEmpty();for(let r=0;r<e;r++)!1!==n[r]&&(this.getMatrixAt(r,tc),this.getBoundingBoxAt(r,uc).applyMatrix4(tc),t.union(uc))}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new Zr);const e=this._geometryCount,t=this.boundingSphere,n=this._active;t.makeEmpty();for(let r=0;r<e;r++)!1!==n[r]&&(this.getMatrixAt(r,tc),this.getBoundingSphereAt(r,sc).applyMatrix4(tc),t.union(sc))}addGeometry(e,t=-1,n=-1){if(this._initializeGeometry(e),this._validateGeometry(e),this._geometryCount>=this._maxGeometryCount)throw new Error("BatchedMesh: Maximum geometry count reached.");const r={vertexStart:-1,vertexCount:-1,indexStart:-1,indexCount:-1};let i=null;const a=this._reservedRanges,o=this._drawRanges,u=this._bounds;0!==this._geometryCount&&(i=a[a.length-1]),r.vertexCount=-1===t?e.getAttribute("position").count:t,r.vertexStart=null===i?0:i.vertexStart+i.vertexCount;const s=e.getIndex(),l=null!==s;if(l&&(r.indexCount=-1===n?s.count:n,r.indexStart=null===i?0:i.indexStart+i.indexCount),-1!==r.indexStart&&r.indexStart+r.indexCount>this._maxIndexCount||r.vertexStart+r.vertexCount>this._maxVertexCount)throw new Error("BatchedMesh: Reserved space request exceeds the maximum buffer size.");const c=this._visibility,h=this._active,d=this._matricesTexture,p=this._matricesTexture.image.data,f=this._colorsTexture;c.push(!0),h.push(!0);const m=this._geometryCount;this._geometryCount++,rc.toArray(p,16*m),d.needsUpdate=!0,null!==f&&(ic.toArray(f.image.data,4*m),f.needsUpdate=!0),a.push(r),o.push({start:l?r.indexStart:r.vertexStart,count:-1}),u.push({boxInitialized:!1,box:new Nr,sphereInitialized:!1,sphere:new Zr});const g=this.geometry.getAttribute(ec);for(let e=0;e<r.vertexCount;e++)g.setX(r.vertexStart+e,m);return g.needsUpdate=!0,this.setGeometryAt(m,e),m}setGeometryAt(e,t){if(e>=this._geometryCount)throw new Error("BatchedMesh: Maximum geometry count reached.");this._validateGeometry(t);const n=this.geometry,r=null!==n.getIndex(),i=n.getIndex(),a=t.getIndex(),o=this._reservedRanges[e];if(r&&a.count>o.indexCount||t.attributes.position.count>o.vertexCount)throw new Error("BatchedMesh: Reserved space not large enough for provided geometry.");const u=o.vertexStart,s=o.vertexCount;for(const e in n.attributes){if(e===ec)continue;const r=t.getAttribute(e),i=n.getAttribute(e);mc(r,i,u);const a=r.itemSize;for(let e=r.count,t=s;e<t;e++){const t=u+e;for(let e=0;e<a;e++)i.setComponent(t,e,0)}i.needsUpdate=!0,i.addUpdateRange(u*a,s*a)}if(r){const e=o.indexStart;for(let t=0;t<a.count;t++)i.setX(e+t,u+a.getX(t));for(let t=a.count,n=o.indexCount;t<n;t++)i.setX(e+t,u);i.needsUpdate=!0,i.addUpdateRange(e,o.indexCount)}const l=this._bounds[e];null!==t.boundingBox?(l.box.copy(t.boundingBox),l.boxInitialized=!0):l.boxInitialized=!1,null!==t.boundingSphere?(l.sphere.copy(t.boundingSphere),l.sphereInitialized=!0):l.sphereInitialized=!1;const c=this._drawRanges[e],h=t.getAttribute("position");return c.count=r?a.count:h.count,this._visibilityChanged=!0,e}deleteGeometry(e){const t=this._active;return e>=t.length||!1===t[e]||(t[e]=!1,this._visibilityChanged=!0),this}getInstanceCountAt(e){return null===this._multiDrawInstances?null:this._multiDrawInstances[e]}setInstanceCountAt(e,t){return null===this._multiDrawInstances&&(this._multiDrawInstances=new Int32Array(this._maxGeometryCount).fill(1)),this._multiDrawInstances[e]=t,e}getBoundingBoxAt(e,t){if(!1===this._active[e])return null;const n=this._bounds[e],r=n.box,i=this.geometry;if(!1===n.boxInitialized){r.makeEmpty();const t=i.index,a=i.attributes.position,o=this._drawRanges[e];for(let e=o.start,n=o.start+o.count;e<n;e++){let n=e;t&&(n=t.getX(n)),r.expandByPoint(lc.fromBufferAttribute(a,n))}n.boxInitialized=!0}return t.copy(r),t}getBoundingSphereAt(e,t){if(!1===this._active[e])return null;const n=this._bounds[e],r=n.sphere,i=this.geometry;if(!1===n.sphereInitialized){r.makeEmpty(),this.getBoundingBoxAt(e,uc),uc.getCenter(r.center);const t=i.index,a=i.attributes.position,o=this._drawRanges[e];let u=0;for(let e=o.start,n=o.start+o.count;e<n;e++){let n=e;t&&(n=t.getX(n)),lc.fromBufferAttribute(a,n),u=Math.max(u,r.center.distanceToSquared(lc))}r.radius=Math.sqrt(u),n.sphereInitialized=!0}return t.copy(r),t}setMatrixAt(e,t){const n=this._active,r=this._matricesTexture,i=this._matricesTexture.image.data;return e>=this._geometryCount||!1===n[e]||(t.toArray(i,16*e),r.needsUpdate=!0),this}getMatrixAt(e,t){const n=this._active,r=this._matricesTexture.image.data;return e>=this._geometryCount||!1===n[e]?null:t.fromArray(r,16*e)}setColorAt(e,t){null===this._colorsTexture&&this._initColorsTexture();const n=this._active,r=this._colorsTexture,i=this._colorsTexture.image.data;return e>=this._geometryCount||!1===n[e]||(t.toArray(i,4*e),r.needsUpdate=!0),this}getColorAt(e,t){const n=this._active,r=this._colorsTexture.image.data;return e>=this._geometryCount||!1===n[e]?null:t.fromArray(r,4*e)}setVisibleAt(e,t){const n=this._visibility,r=this._active;return e>=this._geometryCount||!1===r[e]||n[e]===t||(n[e]=t,this._visibilityChanged=!0),this}getVisibleAt(e){const t=this._visibility,n=this._active;return!(e>=this._geometryCount||!1===n[e])&&t[e]}raycast(e,t){const n=this._visibility,r=this._active,i=this._drawRanges,a=this._geometryCount,o=this.matrixWorld,u=this.geometry;pc.material=this.material,pc.geometry.index=u.index,pc.geometry.attributes=u.attributes,null===pc.geometry.boundingBox&&
2(pc.geometry.boundingBox=new Nr),null===pc.geometry.boundingSphere&&(pc.geometry.boundingSphere=new Zr);for(let u=0;u<a;u++){if(!n[u]||!r[u])continue;const a=i[u];pc.geometry.setDrawRange(a.start,a.count),this.getMatrixAt(u,pc.matrixWorld).premultiply(o),this.getBoundingBoxAt(u,pc.geometry.boundingBox),this.getBoundingSphereAt(u,pc.geometry.boundingSphere),pc.raycast(e,fc);for(let e=0,n=fc.length;e<n;e++){const n=fc[e];n.object=this,n.batchId=u,t.push(n)}fc.length=0}pc.material=null,pc.geometry.index=null,pc.geometry.attributes={},pc.geometry.setDrawRange(0,1/0)}copy(e){return super.copy(e),this.geometry=e.geometry.clone(),this.perObjectFrustumCulled=e.perObjectFrustumCulled,this.sortObjects=e.sortObjects,this.boundingBox=null!==e.boundingBox?e.boundingBox.clone():null,this.boundingSphere=null!==e.boundingSphere?e.boundingSphere.clone():null,this._drawRanges=e._drawRanges.map((e=>({...e}))),this._reservedRanges=e._reservedRanges.map((e=>({...e}))),this._visibility=e._visibility.slice(),this._active=e._active.slice(),this._bounds=e._bounds.map((e=>({boxInitialized:e.boxInitialized,box:e.box.clone(),sphereInitialized:e.sphereInitialized,sphere:e.sphere.clone()}))),this._maxGeometryCount=e._maxGeometryCount,this._maxVertexCount=e._maxVertexCount,this._maxIndexCount=e._maxIndexCount,this._geometryInitialized=e._geometryInitialized,this._geometryCount=e._geometryCount,this._multiDrawCounts=e._multiDrawCounts.slice(),this._multiDrawStarts=e._multiDrawStarts.slice(),this._matricesTexture=e._matricesTexture.clone(),this._matricesTexture.image.data=this._matricesTexture.image.slice(),null!==this._colorsTexture&&(this._colorsTexture=e._colorsTexture.clone(),this._colorsTexture.image.data=this._colorsTexture.image.slice()),this}dispose(){return this.geometry.dispose(),this._matricesTexture.dispose(),this._matricesTexture=null,null!==this._colorsTexture&&(this._colorsTexture.dispose(),this._colorsTexture=null),this}onBeforeRender(e,t,n,r,i){if(!this._visibilityChanged&&!this.perObjectFrustumCulled&&!this.sortObjects)return;const a=r.getIndex(),o=null===a?1:a.array.BYTES_PER_ELEMENT,u=this._active,s=this._visibility,l=this._multiDrawStarts,c=this._multiDrawCounts,h=this._drawRanges,d=this.perObjectFrustumCulled;d&&(ac.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse).multiply(this.matrixWorld),oc.setFromProjectionMatrix(ac,e.coordinateSystem));let p=0;if(this.sortObjects){nc.copy(this.matrixWorld).invert(),lc.setFromMatrixPosition(n.matrixWorld).applyMatrix4(nc),cc.set(0,0,-1).transformDirection(n.matrixWorld).transformDirection(nc);for(let e=0,t=s.length;e<t;e++)if(s[e]&&u[e]){this.getMatrixAt(e,tc),this.getBoundingSphereAt(e,sc).applyMatrix4(tc);let t=!1;if(d&&(t=!oc.intersectsSphere(sc)),!t){const t=hc.subVectors(sc.center,lc).dot(cc);dc.push(h[e],t)}}const e=dc.list,t=this.customSort;null===t?e.sort(i.transparent?Ql:$l):t.call(this,e,n);for(let t=0,n=e.length;t<n;t++){const n=e[t];l[p]=n.start*o,c[p]=n.count,p++}dc.reset()}else for(let e=0,t=s.length;e<t;e++)if(s[e]&&u[e]){let t=!1;if(d&&(this.getMatrixAt(e,tc),this.getBoundingSphereAt(e,sc).applyMatrix4(tc),t=!oc.intersectsSphere(sc)),!t){const t=h[e];l[p]=t.start*o,c[p]=t.count,p++}}this._multiDrawCount=p,this._visibilityChanged=!1}onBeforeShadow(e,t,n,r,i,a){this.onBeforeRender(e,null,r,i,a)}}class _c extends ea{constructor(e){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new $i(16777215),this.map=null,this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this}}const Dc=new Pr,vc=new Pr,yc=new si,Ec=new ui,Ac=new Zr,Cc=new Pr,Fc=new Pr;class bc extends Ni{constructor(e=new Sa,t=new _c){super(),this.isLine=!0,this.type="Line",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}computeLineDistances(){const e=this.geometry;if(null===e.index){const t=e.attributes.position,n=[0];for(let e=1,r=t.count;e<r;e++)Dc.fromBufferAttribute(t,e-1),vc.fromBufferAttribute(t,e),n[e]=n[e-1],n[e]+=Dc.distanceTo(vc);e.setAttribute("lineDistance",new Da(n,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(e,t){const n=this.geometry,r=this.matrixWorld,i=e.params.Line.threshold,a=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),Ac.copy(n.boundingSphere),Ac.applyMatrix4(r),Ac.radius+=i,!1===e.ray.intersectsSphere(Ac))return;yc.copy(r).invert(),Ec.copy(e.ray).applyMatrix4(yc);const o=i/((this.scale.x+this.scale.y+this.scale.z)/3),u=o*o,s=this.isLineSegments?2:1,l=n.index,c=n.attributes.position;if(null!==l){const n=Math.max(0,a.start),r=Math.min(l.count,a.start+a.count);for(let i=n,a=r-1;i<a;i+=s){const n=l.getX(i),r=l.getX(i+1),a=Sc(this,e,Ec,u,n,r);a&&t.push(a)}if(this.isLineLoop){const i=l.getX(r-1),a=l.getX(n),o=Sc(this,e,Ec,u,i,a);o&&t.push(o)}}else{const n=Math.max(0,a.start),r=Math.min(c.count,a.start+a.count);for(let i=n,a=r-1;i<a;i+=s){const n=Sc(this,e,Ec,u,i,i+1);
2n&&t.push(n)}if(this.isLineLoop){const i=Sc(this,e,Ec,u,r-1,n);i&&t.push(i)}}}updateMorphTargets(){const e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){const n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;e<t;e++){const t=n[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}}function Sc(e,t,n,r,i,a){const o=e.geometry.attributes.position;Dc.fromBufferAttribute(o,i),vc.fromBufferAttribute(o,a);if(n.distanceSqToSegment(Dc,vc,Cc,Fc)>r)return;Cc.applyMatrix4(e.matrixWorld);const u=t.ray.origin.distanceTo(Cc);return u<t.near||u>t.far?void 0:{distance:u,point:Fc.clone().applyMatrix4(e.matrixWorld),index:i,face:null,faceIndex:null,object:e}}const xc=new Pr,Bc=new Pr;class wc extends bc{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const e=this.geometry;if(null===e.index){const t=e.attributes.position,n=[];for(let e=0,r=t.count;e<r;e+=2)xc.fromBufferAttribute(t,e),Bc.fromBufferAttribute(t,e+1),n[e]=0===e?0:n[e-1],n[e+1]=n[e]+xc.distanceTo(Bc);e.setAttribute("lineDistance",new Da(n,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}class Mc extends bc{constructor(e,t){super(e,t),this.isLineLoop=!0,this.type="LineLoop"}}class Tc extends ea{constructor(e){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new $i(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.size=e.size,this.sizeAttenuation=e.sizeAttenuation,this.fog=e.fog,this}}const Pc=new si,Rc=new ui,Ic=new Zr,Nc=new Pr;class Lc extends Ni{constructor(e=new Sa,t=new Tc){super(),this.isPoints=!0,this.type="Points",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}raycast(e,t){const n=this.geometry,r=this.matrixWorld,i=e.params.Points.threshold,a=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),Ic.copy(n.boundingSphere),Ic.applyMatrix4(r),Ic.radius+=i,!1===e.ray.intersectsSphere(Ic))return;Pc.copy(r).invert(),Rc.copy(e.ray).applyMatrix4(Pc);const o=i/((this.scale.x+this.scale.y+this.scale.z)/3),u=o*o,s=n.index,l=n.attributes.position;if(null!==s){for(let n=Math.max(0,a.start),i=Math.min(s.count,a.start+a.count);n<i;n++){const i=s.getX(n);Nc.fromBufferAttribute(l,i),Oc(Nc,i,u,r,e,t,this)}}else{for(let n=Math.max(0,a.start),i=Math.min(l.count,a.start+a.count);n<i;n++)Nc.fromBufferAttribute(l,n),Oc(Nc,n,u,r,e,t,this)}}updateMorphTargets(){const e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){const n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;e<t;e++){const t=n[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}}function Oc(e,t,n,r,i,a,o){const u=Rc.distanceSqToPoint(e);if(u<n){const n=new Pr;Rc.closestPointToPoint(e,n),n.applyMatrix4(r);const s=i.ray.origin.distanceTo(n);if(s<i.near||s>i.far)return;a.push({distance:s,distanceToRay:Math.sqrt(u),point:n,index:t,face:null,object:o})}}class kc extends Cr{constructor(e,t,n,r,i,a,o,u,s){super(e,t,n,r,i,a,o,u,s),this.isVideoTexture=!0,this.minFilter=void 0!==a?a:Fe,this.magFilter=void 0!==i?i:Fe,this.generateMipmaps=!1;const l=this;"requestVideoFrameCallback"in e&&e.requestVideoFrameCallback((function t(){l.needsUpdate=!0,e.requestVideoFrameCallback(t)}))}clone(){return new this.constructor(this.image).copy(this)}update(){const e=this.image;!1==="requestVideoFrameCallback"in e&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}}class Uc extends Cr{constructor(e,t){super({width:e,height:t}),this.isFramebufferTexture=!0,this.magFilter=ve,this.minFilter=ve,this.generateMipmaps=!1,this.needsUpdate=!0}}class zc extends Cr{constructor(e,t,n,r,i,a,o,u,s,l,c,h){super(null,a,o,u,s,l,r,i,c,h),this.isCompressedTexture=!0,this.image={width:t,height:n},this.mipmaps=e,this.flipY=!1,this.generateMipmaps=!1}}class Vc extends zc{constructor(e,t,n,r,i,a){super(e,t,n,i,a),this.isCompressedArrayTexture=!0,this.image.depth=r,this.wrapR=_e,this.layerUpdates=new Set}addLayerUpdates(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}}class Wc extends zc{constructor(e,t,n){super(void 0,e[0].width,e[0].height,t,n,he),this.isCompressedCubeTexture=!0,this.isCubeTexture=!0,this.image=e}}class Hc extends Cr{constructor(e,t,n,r,i,a,o,u,s){super(e,t,n,r,i,a,o,u,s),this.isCanvasTexture=!0,this.needsUpdate=!0}}class Gc{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(e,t){const n=this.getUtoTmapping(e);return this.getPoint(n,t)}getPoints(e=5){const t=[];for(let n=0;n<=e;n++)t.push(this.getPoint(n/e));return t}getSpacedPoints(e=5){const t=[];for(let n=0;n<=e;n++)t.push(this.getPointAt(n/e));return t}getLength(){const e=this.getLengths();return e[e.length-1]}getLengths(e=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const t=[];let n,r=this.getPoint(0),i=0;t.push(0);for(let a=1;a<=e;a++)n=this.getPoint(a/e),i+=n.distanceTo(r),t.push(i),r=n;return this.cacheArcLengths=t,t}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(e,t){const n=this.getLengths();let r=0;const i=n.length;let a;a=t||e*n[i-1];let o,u=0,s=i-1;for(;u<=s;
vendor: 8,218 bytes, line 2
2)if(r=Math.floor(u+(s-u)/2),o=n[r]-a,o<0)u=r+1;else{if(!(o>0)){s=r;break}s=r-1}if(r=s,n[r]===a)return r/(i-1);const l=n[r];return(r+(a-l)/(n[r+1]-l))/(i-1)}getTangent(e,t){const n=1e-4;let r=e-n,i=e+n;r<0&&(r=0),i>1&&(i=1);const a=this.getPoint(r),o=this.getPoint(i),u=t||(a.isVector2?new er:new Pr);return u.copy(o).sub(a).normalize(),u}getTangentAt(e,t){const n=this.getUtoTmapping(e);return this.getTangent(n,t)}computeFrenetFrames(e,t){const n=new Pr,r=[],i=[],a=[],o=new Pr,u=new si;for(let t=0;t<=e;t++){const n=t/e;r[t]=this.getTangentAt(n,new Pr)}i[0]=new Pr,a[0]=new Pr;let s=Number.MAX_VALUE;const l=Math.abs(r[0].x),c=Math.abs(r[0].y),h=Math.abs(r[0].z);l<=s&&(s=l,n.set(1,0,0)),c<=s&&(s=c,n.set(0,1,0)),h<=s&&n.set(0,0,1),o.crossVectors(r[0],n).normalize(),i[0].crossVectors(r[0],o),a[0].crossVectors(r[0],i[0]);for(let t=1;t<=e;t++){if(i[t]=i[t-1].clone(),a[t]=a[t-1].clone(),o.crossVectors(r[t-1],r[t]),o.length()>Number.EPSILON){o.normalize();const e=Math.acos(qn(r[t-1].dot(r[t]),-1,1));i[t].applyMatrix4(u.makeRotationAxis(o,e))}a[t].crossVectors(r[t],i[t])}if(!0===t){let t=Math.acos(qn(i[0].dot(i[e]),-1,1));t/=e,r[0].dot(o.crossVectors(i[0],i[e]))>0&&(t=-t);for(let n=1;n<=e;n++)i[n].applyMatrix4(u.makeRotationAxis(r[n],t*n)),a[n].crossVectors(r[n],i[n])}return{tangents:r,normals:i,binormals:a}}clone(){return(new this.constructor).copy(this)}copy(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}toJSON(){const e={metadata:{version:4.6,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}fromJSON(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}}class jc extends Gc{constructor(e=0,t=0,n=1,r=1,i=0,a=2*Math.PI,o=!1,u=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=e,this.aY=t,this.xRadius=n,this.yRadius=r,this.aStartAngle=i,this.aEndAngle=a,this.aClockwise=o,this.aRotation=u}getPoint(e,t=new er){const n=t,r=2*Math.PI;let i=this.aEndAngle-this.aStartAngle;const a=Math.abs(i)<Number.EPSILON;for(;i<0;)i+=r;for(;i>r;)i-=r;i<Number.EPSILON&&(i=a?0:r),!0!==this.aClockwise||a||(i===r?i=-r:i-=r);const o=this.aStartAngle+e*i;let u=this.aX+this.xRadius*Math.cos(o),s=this.aY+this.yRadius*Math.sin(o);if(0!==this.aRotation){const e=Math.cos(this.aRotation),t=Math.sin(this.aRotation),n=u-this.aX,r=s-this.aY;u=n*e-r*t+this.aX,s=n*t+r*e+this.aY}return n.set(u,s)}copy(e){return super.copy(e),this.aX=e.aX,this.aY=e.aY,this.xRadius=e.xRadius,this.yRadius=e.yRadius,this.aStartAngle=e.aStartAngle,this.aEndAngle=e.aEndAngle,this.aClockwise=e.aClockwise,this.aRotation=e.aRotation,this}toJSON(){const e=super.toJSON();return e.aX=this.aX,e.aY=this.aY,e.xRadius=this.xRadius,e.yRadius=this.yRadius,e.aStartAngle=this.aStartAngle,e.aEndAngle=this.aEndAngle,e.aClockwise=this.aClockwise,e.aRotation=this.aRotation,e}fromJSON(e){return super.fromJSON(e),this.aX=e.aX,this.aY=e.aY,this.xRadius=e.xRadius,this.yRadius=e.yRadius,this.aStartAngle=e.aStartAngle,this.aEndAngle=e.aEndAngle,this.aClockwise=e.aClockwise,this.aRotation=e.aRotation,this}}class Xc extends jc{constructor(e,t,n,r,i,a){super(e,t,n,n,r,i,a),this.isArcCurve=!0,this.type="ArcCurve"}}function Kc(){let e=0,t=0,n=0,r=0;function i(i,a,o,u){e=i,t=o,n=-3*i+3*a-2*o-u,r=2*i-2*a+o+u}return{initCatmullRom:function(e,t,n,r,a){i(t,n,a*(n-e),a*(r-t))},initNonuniformCatmullRom:function(e,t,n,r,a,o,u){let s=(t-e)/a-(n-e)/(a+o)+(n-t)/o,l=(n-t)/o-(r-t)/(o+u)+(r-n)/u;s*=o,l*=o,i(t,n,s,l)},calc:function(i){const a=i*i;return e+t*i+n*a+r*(a*i)}}}const qc=new Pr,Jc=new Kc,Yc=new Kc,$c=new Kc;class Qc extends Gc{constructor(e=[],t=!1,n="centripetal",r=.5){super(),this.isCatmullRomCurve3=!0,this.type="CatmullRomCurve3",this.points=e,this.closed=t,this.curveType=n,this.tension=r}getPoint(e,t=new Pr){const n=t,r=this.points,i=r.length,a=(i-(this.closed?0:1))*e;let o,u,s=Math.floor(a),l=a-s;this.closed?s+=s>0?0:(Math.floor(Math.abs(s)/i)+1)*i:0===l&&s===i-1&&(s=i-2,l=1),this.closed||s>0?o=r[(s-1)%i]:(qc.subVectors(r[0],r[1]).add(r[0]),o=qc);const c=r[s%i],h=r[(s+1)%i];if(this.closed||s+2<i?u=r[(s+2)%i]:(qc.subVectors(r[i-1],r[i-2]).add(r[i-1]),u=qc),"centripetal"===this.curveType||"chordal"===this.curveType){const e="chordal"===this.curveType?.5:.25;let t=Math.pow(o.distanceToSquared(c),e),n=Math.pow(c.distanceToSquared(h),e),r=Math.pow(h.distanceToSquared(u),e);n<1e-4&&(n=1),t<1e-4&&(t=n),r<1e-4&&(r=n),Jc.initNonuniformCatmullRom(o.x,c.x,h.x,u.x,t,n,r),Yc.initNonuniformCatmullRom(o.y,c.y,h.y,u.y,t,n,r),$c.initNonuniformCatmullRom(o.z,c.z,h.z,u.z,t,n,r)}else"catmullrom"===this.curveType&&(Jc.initCatmullRom(o.x,c.x,h.x,u.x,this.tension),Yc.initCatmullRom(o.y,c.y,h.y,u.y,this.tension),$c.initCatmullRom(o.z,c.z,h.z,u.z,this.tension));return n.set(Jc.calc(l),Yc.calc(l),$c.calc(l)),n}copy(e){super.copy(e),this.points=[];for(let t=0,n=e.points.length;t<n;t++){const n=e.points[t];this.points.push(n.clone())}return this.closed=e.closed,this.curveType=e.curveType,this.tension=e.tension,this}toJSON(){const e=super.toJSON();e.points=[];for(let t=0,n=this.points.length;t<n;t++){const n=this.points[t];e.points.push(n.toArray())}return e.closed=this.closed,e.curveType=this.curveType,e.tension=this.tension,e}fromJSON(e){super.fromJSON(e),this.points=[];for(let t=0,n=e.points.length;t<n;t++){const n=e.points[t];this.points.push((new Pr).fromArray(n))}return this.closed=e.closed,this.curveType=e.curveType,this.tension=e.tension,this}}function Zc(e,t,n,r,i){const a=.5*(r-t),o=.5*(i-n),u=e*e;return(2*n-2*r+a+o)*(e*u)+(-3*n+3*r-2*a-o)*u+a*e+n}function eh(e,t,n,r){return function(e,t){const n=1-e;return n*n*t}(e,t)+function(e,t){return 2*(1-e)*e*t}(e,n)+function(e,t){return e*e*t}(e,r)}function th(e,t,n,r,i){return function(e,t){const n=1-e;return n*n*n*t}(e,t)+function(e,t){const n=1-e;return 3*n*n*e*t}(e,n)+function(e,t){return 3*(1-e)*e*e*t}(e,r)+function(e,t){return e*e*e*t}(e,i)}class nh extends Gc{constructor(e=new er,t=new er,n=new er,r=new er){super(),this.isCubicBezierCurve=!0,this.type="CubicBezierCurve",this.v0=e,this.v1=t,this.v2=n,this.v3=r}getPoint(e,t=new er){const n=t,r=this.v0,i=this.v1,a=this.v2,o=this.v3;return n.set(th(e,r.x,i.x,a.x,o.x),th(e,r.y,i.y,a.y,o.y)),n}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this.v3.copy(e.v3),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e.v3=this.v3.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this.v3.fromArray(e.v3),this}}class rh extends Gc{constructor(e=new Pr,t=new Pr,n=new Pr,r=new Pr){super(),this.isCubicBezierCurve3=!0,this.type="CubicBezierCurve3",this.v0=e,this.v1=t,this.v2=n,this.v3=r}getPoint(e,t=new Pr){const n=t,r=this.v0,i=this.v1,a=this.v2,o=this.v3;return n.set(th(e,r.x,i.x,a.x,o.x),th(e,r.y,i.y,a.y,o.y),th(e,r.z,i.z,a.z,o.z)),n}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this.v3.copy(e.v3),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e.v3=this.v3.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this.v3.fromArray(e.v3),this}}class ih extends Gc{constructor(e=new er,t=new er){super(),this.isLineCurve=!0,this.type="LineCurve",this.v1=e,this.v2=t}getPoint(e,t=new er){const n=t;return 1===e?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(e).add(this.v1)),n}getPointAt(e,t){return this.getPoint(e,t)}getTangent(e,t=new er){return t.subVectors(this.v2,this.v1).normalize()}getTangentAt(e,t){return this.getTangent(e,t)}copy(e){return super.copy(e),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}class ah extends Gc{constructor(e=new Pr,t=new Pr){super(),this.isLineCurve3=!0,this.type="LineCurve3",this.v1=e,this.v2=t}getPoint(e,t=new Pr){const n=t;return 1===e?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(e).add(this.v1)),n}getPointAt(e,t){return this.getPoint(e,t)}
vendor: 3,763 bytes, line 2
2getTangent(e,t=new Pr){return t.subVectors(this.v2,this.v1).normalize()}getTangentAt(e,t){return this.getTangent(e,t)}copy(e){return super.copy(e),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}class oh extends Gc{constructor(e=new er,t=new er,n=new er){super(),this.isQuadraticBezierCurve=!0,this.type="QuadraticBezierCurve",this.v0=e,this.v1=t,this.v2=n}getPoint(e,t=new er){const n=t,r=this.v0,i=this.v1,a=this.v2;return n.set(eh(e,r.x,i.x,a.x),eh(e,r.y,i.y,a.y)),n}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}class uh extends Gc{constructor(e=new Pr,t=new Pr,n=new Pr){super(),this.isQuadraticBezierCurve3=!0,this.type="QuadraticBezierCurve3",this.v0=e,this.v1=t,this.v2=n}getPoint(e,t=new Pr){const n=t,r=this.v0,i=this.v1,a=this.v2;return n.set(eh(e,r.x,i.x,a.x),eh(e,r.y,i.y,a.y),eh(e,r.z,i.z,a.z)),n}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}class sh extends Gc{constructor(e=[]){super(),this.isSplineCurve=!0,this.type="SplineCurve",this.points=e}getPoint(e,t=new er){const n=t,r=this.points,i=(r.length-1)*e,a=Math.floor(i),o=i-a,u=r[0===a?a:a-1],s=r[a],l=r[a>r.length-2?r.length-1:a+1],c=r[a>r.length-3?r.length-1:a+2];return n.set(Zc(o,u.x,s.x,l.x,c.x),Zc(o,u.y,s.y,l.y,c.y)),n}copy(e){super.copy(e),this.points=[];for(let t=0,n=e.points.length;t<n;t++){const n=e.points[t];this.points.push(n.clone())}return this}toJSON(){const e=super.toJSON();e.points=[];for(let t=0,n=this.points.length;t<n;t++){const n=this.points[t];e.points.push(n.toArray())}return e}fromJSON(e){super.fromJSON(e),this.points=[];for(let t=0,n=e.points.length;t<n;t++){const n=e.points[t];this.points.push((new er).fromArray(n))}return this}}var lh=Object.freeze({__proto__:null,ArcCurve:Xc,CatmullRomCurve3:Qc,CubicBezierCurve:nh,CubicBezierCurve3:rh,EllipseCurve:jc,LineCurve:ih,LineCurve3:ah,QuadraticBezierCurve:oh,QuadraticBezierCurve3:uh,SplineCurve:sh});class ch extends Gc{constructor(){super(),this.type="CurvePath",this.curves=[],this.autoClose=!1}add(e){this.curves.push(e)}closePath(){const e=this.curves[0].getPoint(0),t=this.curves[this.curves.length-1].getPoint(1);if(!e.equals(t)){const n=!0===e.isVector2?"LineCurve":"LineCurve3";this.curves.push(new lh[n](t,e))}return this}getPoint(e,t){const n=e*this.getLength(),r=this.getCurveLengths();let i=0;for(;i<r.length;){if(r[i]>=n){const e=r[i]-n,a=this.curves[i],o=a.getLength(),u=0===o?0:1-e/o;return a.getPointAt(u,t)}i++}return null}getLength(){const e=this.getCurveLengths();return e[e.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const e=[];let t=0;for(let n=0,r=this.curves.length;n<r;n++)t+=this.curves[n].getLength(),e.push(t);return this.cacheLengths=e,e}getSpacedPoints(e=40){const t=[];for(let n=0;n<=e;n++)t.push(this.getPoint(n/e));return this.autoClose&&t.push(t[0]),t}getPoints(e=12){const t=[];let n;for(let r=0,i=this.curves;r<i.length;r++){const a=i[r],o=a.isEllipseCurve?2*e:a.isLineCurve||a.isLineCurve3?1:a.isS
vendor: 4,160 bytes, line 2
2plineCurve?e*a.points.length:e,u=a.getPoints(o);for(let e=0;e<u.length;e++){const r=u[e];n&&n.equals(r)||(t.push(r),n=r)}}return this.autoClose&&t.length>1&&!t[t.length-1].equals(t[0])&&t.push(t[0]),t}copy(e){super.copy(e),this.curves=[];for(let t=0,n=e.curves.length;t<n;t++){const n=e.curves[t];this.curves.push(n.clone())}return this.autoClose=e.autoClose,this}toJSON(){const e=super.toJSON();e.autoClose=this.autoClose,e.curves=[];for(let t=0,n=this.curves.length;t<n;t++){const n=this.curves[t];e.curves.push(n.toJSON())}return e}fromJSON(e){super.fromJSON(e),this.autoClose=e.autoClose,this.curves=[];for(let t=0,n=e.curves.length;t<n;t++){const n=e.curves[t];this.curves.push((new lh[n.type]).fromJSON(n))}return this}}class hh extends ch{constructor(e){super(),this.type="Path",this.currentPoint=new er,e&&this.setFromPoints(e)}setFromPoints(e){this.moveTo(e[0].x,e[0].y);for(let t=1,n=e.length;t<n;t++)this.lineTo(e[t].x,e[t].y);return this}moveTo(e,t){return this.currentPoint.set(e,t),this}lineTo(e,t){const n=new ih(this.currentPoint.clone(),new er(e,t));return this.curves.push(n),this.currentPoint.set(e,t),this}quadraticCurveTo(e,t,n,r){const i=new oh(this.currentPoint.clone(),new er(e,t),new er(n,r));return this.curves.push(i),this.currentPoint.set(n,r),this}bezierCurveTo(e,t,n,r,i,a){const o=new nh(this.currentPoint.clone(),new er(e,t),new er(n,r),new er(i,a));return this.curves.push(o),this.currentPoint.set(i,a),this}splineThru(e){const t=[this.currentPoint.clone()].concat(e),n=new sh(t);return this.curves.push(n),this.currentPoint.copy(e[e.length-1]),this}arc(e,t,n,r,i,a){const o=this.currentPoint.x,u=this.currentPoint.y;return this.absarc(e+o,t+u,n,r,i,a),this}absarc(e,t,n,r,i,a){return this.absellipse(e,t,n,n,r,i,a),this}ellipse(e,t,n,r,i,a,o,u){const s=this.currentPoint.x,l=this.currentPoint.y;return this.absellipse(e+s,t+l,n,r,i,a,o,u),this}absellipse(e,t,n,r,i,a,o,u){const s=new jc(e,t,n,r,i,a,o,u);if(this.curves.length>0){const e=s.getPoint(0);e.equals(this.currentPoint)||this.lineTo(e.x,e.y)}this.curves.push(s);const l=s.getPoint(1);return this.currentPoint.copy(l),this}copy(e){return super.copy(e),this.currentPoint.copy(e.currentPoint),this}toJSON(){const e=super.toJSON();return e.currentPoint=this.currentPoint.toArray(),e}fromJSON(e){return super.fromJSON(e),this.currentPoint.fromArray(e.currentPoint),this}}class dh extends Sa{constructor(e=[new er(0,-.5),new er(.5,0),new er(0,.5)],t=12,n=0,r=2*Math.PI){super(),this.type="LatheGeometry",this.parameters={points:e,segments:t,phiStart:n,phiLength:r},t=Math.floor(t),r=qn(r,0,2*Math.PI);const i=[],a=[],o=[],u=[],s=[],l=1/t,c=new Pr,h=new er,d=new Pr,p=new Pr,f=new Pr;let m=0,g=0;for(let t=0;t<=e.length-1;t++)switch(t){case 0:m=e[t+1].x-e[t].x,g=e[t+1].y-e[t].y,d.x=1*g,d.y=-m,d.z=0*g,f.copy(d),d.normalize(),u.push(d.x,d.y,d.z);break;case e.length-1:u.push(f.x,f.y,f.z);break;default:m=e[t+1].x-e[t].x,g=e[t+1].y-e[t].y,d.x=1*g,d.y=-m,d.z=0*g,p.copy(d),d.x+=f.x,d.y+=f.y,d.z+=f.z,d.normalize(),u.push(d.x,d.y,d.z),f.copy(p)}for(let i=0;i<=t;i++){const d=n+i*l*r,p=Math.sin(d),f=Math.cos(d);for(let n=0;n<=e.length-1;n++){c.x=e[n].x*p,c.y=e[n].y,c.z=e[n].x*f,a.push(c.x,c.y,c.z),h.x=i/t,h.y=n/(e.length-1),o.push(h.x,h.y);const r=u[3*n+0]*p,l=u[3*n+1],d=u[3*n+0]*f;s.push(r,l,d)}}for(let n=0;n<t;n++)for(let t=0;t<e.length-1;t++){const r=t+n*e.length,a=r,o=r+e.length,u=r+e.length+1,s=r+1;i.push(a,o,s),i.push(u,s,o)}this.setIndex(i),this.setAttribute("position",new Da(a,3)),this.setAttribute("uv",new Da(o,2)),this.setAttribute("normal",new Da(s,3))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new dh(e.points,e.segments,e.phiStart,e.phiLength)}}class ph extends dh{constructor(e=1,t=1,n=4,r=8){const i=new hh;i.absarc(0,-t/2,e,1.5*Math.PI,0),i.absarc(0,t/2,e,0,.5*Math.PI),super(i.getPoints(n),r),this.type="CapsuleGeometry",this.parameters={radius:e,length:t,capSegments:n,radialSegments:r}}static fromJSON(e){return new ph(e.radius,e.length,e.capSegments,e.radialSegments)}}class fh extends Sa{constructor(e=1,t=32,n=0,r=2*Math.PI){super(),this.type="CircleGeometry",this.parameters={radiu
vendor: 2,400 bytes, line 2
2s:e,segments:t,thetaStart:n,thetaLength:r},t=Math.max(3,t);const i=[],a=[],o=[],u=[],s=new Pr,l=new er;a.push(0,0,0),o.push(0,0,1),u.push(.5,.5);for(let i=0,c=3;i<=t;i++,c+=3){const h=n+i/t*r;s.x=e*Math.cos(h),s.y=e*Math.sin(h),a.push(s.x,s.y,s.z),o.push(0,0,1),l.x=(a[c]/e+1)/2,l.y=(a[c+1]/e+1)/2,u.push(l.x,l.y)}for(let e=1;e<=t;e++)i.push(e,e+1,0);this.setIndex(i),this.setAttribute("position",new Da(a,3)),this.setAttribute("normal",new Da(o,3)),this.setAttribute("uv",new Da(u,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new fh(e.radius,e.segments,e.thetaStart,e.thetaLength)}}class mh extends Sa{constructor(e=1,t=1,n=1,r=32,i=1,a=!1,o=0,u=2*Math.PI){super(),this.type="CylinderGeometry",this.parameters={radiusTop:e,radiusBottom:t,height:n,radialSegments:r,heightSegments:i,openEnded:a,thetaStart:o,thetaLength:u};const s=this;r=Math.floor(r),i=Math.floor(i);const l=[],c=[],h=[],d=[];let p=0;const f=[],m=n/2;let g=0;function _(n){const i=p,a=new er,f=new Pr;let _=0;const D=!0===n?e:t,v=!0===n?1:-1;for(let e=1;e<=r;e++)c.push(0,m*v,0),h.push(0,v,0),d.push(.5,.5),p++;const y=p;for(let e=0;e<=r;e++){const t=e/r*u+o,n=Math.cos(t),i=Math.sin(t);f.x=D*i,f.y=m*v,f.z=D*n,c.push(f.x,f.y,f.z),h.push(0,v,0),a.x=.5*n+.5,a.y=.5*i*v+.5,d.push(a.x,a.y),p++}for(let e=0;e<r;e++){const t=i+e,r=y+e;!0===n?l.push(r,r+1,t):l.push(r+1,r,t),_+=3}s.addGroup(g,_,!0===n?1:2),g+=_}!function(){const a=new Pr,_=new Pr;let D=0;const v=(t-e)/n;for(let s=0;s<=i;s++){const l=[],g=s/i,D=g*(t-e)+e;for(let e=0;e<=r;e++){const t=e/r,i=t*u+o,s=Math.sin(i),f=Math.cos(i);_.x=D*s,_.y=-g*n+m,_.z=D*f,c.push(_.x,_.y,_.z),a.set(s,v,f).normalize(),h.push(a.x,a.y,a.z),d.push(t,1-g),l.push(p++)}f.push(l)}for(let e=0;e<r;e++)for(let t=0;t<i;t++){const n=f[t][e],r=f[t+1][e],i=f[t+1][e+1],a=f[t][e+1];l.push(n,r,a),l.push(r,i,a),D+=6}s.addGroup(g,D,0),g+=D}(),!1===a&&(e>0&&_(!0),t>0&&_(!1)),this.setIndex(l),this.setAttribute("position",new Da(c,3)),this.setAttribute("normal",new Da(h,3)),this.setAttribute("uv",new Da(d,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new mh(e.radiusTop,e.radiusBottom,e.height,e.radialSegments,e.heightSegments,e.openEnded,e.thetaStart,e.thetaLength)}}class gh extends mh{constructor(e=1,t=1,n=32,r=1,i=!1,a=0,o=2*Math.PI){super(0,e,t,n,r,i,a,o),this.type="C
2oneGeometry",this.parameters={radius:e,height:t,radialSegments:n,heightSegments:r,openEnded:i,thetaStart:a,thetaLength:o}}static fromJSON(e){return new gh(e.radius,e.height,e.radialSegments,e.heightSegments,e.openEnded,e.thetaStart,e.thetaLength)}}class _h extends Sa{constructor(e=[],t=[],n=1,r=0){super(),this.type="PolyhedronGeometry",this.parameters={vertices:e,indices:t,radius:n,detail:r};const i=[],a=[];function o(e,t,n,r){const i=r+1,a=[];for(let r=0;r<=i;r++){a[r]=[];const o=e.clone().lerp(n,r/i),u=t.clone().lerp(n,r/i),s=i-r;for(let e=0;e<=s;e++)a[r][e]=0===e&&r===i?o:o.clone().lerp(u,e/s)}for(let e=0;e<i;e++)for(let t=0;t<2*(i-e)-1;t++){const n=Math.floor(t/2);t%2==0?(u(a[e][n+1]),u(a[e+1][n]),u(a[e][n])):(u(a[e][n+1]),u(a[e+1][n+1]),u(a[e+1][n]))}}function u(e){i.push(e.x,e.y,e.z)}function s(t,n){const r=3*t;n.x=e[r+0],n.y=e[r+1],n.z=e[r+2]}function l(e,t,n,r){r<0&&1===e.x&&(a[t]=e.x-1),0===n.x&&0===n.z&&(a[t]=r/2/Math.PI+.5)}function c(e){return Math.atan2(e.z,-e.x)}!function(e){const n=new Pr,r=new Pr,i=new Pr;for(let a=0;a<t.length;a+=3)s(t[a+0],n),s(t[a+1],r),s(t[a+2],i),o(n,r,i,e)}(r),function(e){const t=new Pr;for(let n=0;n<i.length;n+=3)t.x=i[n+0],t.y=i[n+1],t.z=i[n+2],t.normalize().multiplyScalar(e),i[n+0]=t.x,i[n+1]=t.y,i[n+2]=t.z}(n),function(){const e=new Pr;for(let n=0;n<i.length;n+=3){e.x=i[n+0],e.y=i[n+1],e.z=i[n+2];const r=c(e)/2/Math.PI+.5,o=(t=e,Math.atan2(-t.y,Math.sqrt(t.x*t.x+t.z*t.z))/Math.PI+.5);a.push(r,1-o)}var t;(function(){const e=new Pr,t=new Pr,n=new Pr,r=new Pr,o=new er,u=new er,s=new er;for(let h=0,d=0;h<i.length;h+=9,d+=6){e.set(i[h+0],i[h+1],i[h+2]),t.set(i[h+3],i[h+4],i[h+5]),n.set(i[h+6],i[h+7],i[h+8]),o.set(a[d+0],a[d+1]),u.set(a[d+2],a[d+3]),s.set(a[d+4],a[d+5]),r.copy(e).add(t).add(n).divideScalar(3);const p=c(r);l(o,d+0,e,p),l(u,d+2,t,p),l(s,d+4,n,p)}})(),function(){for(let e=0;e<a.length;e+=6){const t=a[e+0],n=a[e+2],r=a[e+4],i=Math.max(t,n,r),o=Math.min(t,n,r);i>.9&&o<.1&&(t<.2&&(a[e+0]+=1),n<.2&&(a[e+2]+=1),r<.2&&(a[e+4]+=1))}}()}(),this.setAttribute("position",new Da(i,3)),this.setAttribute("normal",new Da(i.slice(),3)),this.setAttribute("uv",new Da(a,2)),0===r?this.computeVertexNormals():this.normalizeNormals()}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new _h(e.vertices,e.indices,e.radius,e.details)}}class Dh extends _h{constructor(e=1,t=0){const n=(1+Math.sqrt(5))/2,r=1/n;super([-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-r,-n,0,-r,n,0,r,-n,0,r,n,-r,-n,0,-r,n,0,r,-n,0,r,n,0,-n,0,-r,n,0,-r,-n,0,r,n,0,r],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,
vendor: 4,358 bytes, line 2
219,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],e,t),this.type="DodecahedronGeometry",this.parameters={radius:e,detail:t}}static fromJSON(e){return new Dh(e.radius,e.detail)}}const vh=new Pr,yh=new Pr,Eh=new Pr,Ah=new Xi;class Ch extends Sa{constructor(e=null,t=1){if(super(),this.type="EdgesGeometry",this.parameters={geometry:e,thresholdAngle:t},null!==e){const n=4,r=Math.pow(10,n),i=Math.cos(jn*t),a=e.getIndex(),o=e.getAttribute("position"),u=a?a.count:o.count,s=[0,0,0],l=["a","b","c"],c=new Array(3),h={},d=[];for(let e=0;e<u;e+=3){a?(s[0]=a.getX(e),s[1]=a.getX(e+1),s[2]=a.getX(e+2)):(s[0]=e,s[1]=e+1,s[2]=e+2);const{a:t,b:n,c:u}=Ah;if(t.fromBufferAttribute(o,s[0]),n.fromBufferAttribute(o,s[1]),u.fromBufferAttribute(o,s[2]),Ah.getNormal(Eh),c[0]=`${Math.round(t.x*r)},${Math.round(t.y*r)},${Math.round(t.z*r)}`,c[1]=`${Math.round(n.x*r)},${Math.round(n.y*r)},${Math.round(n.z*r)}`,c[2]=`${Math.round(u.x*r)},${Math.round(u.y*r)},${Math.round(u.z*r)}`,c[0]!==c[1]&&c[1]!==c[2]&&c[2]!==c[0])for(let e=0;e<3;e++){const t=(e+1)%3,n=c[e],r=c[t],a=Ah[l[e]],o=Ah[l[t]],u=`${n}_${r}`,p=`${r}_${n}`;p in h&&h[p]?(Eh.dot(h[p].normal)<=i&&(d.push(a.x,a.y,a.z),d.push(o.x,o.y,o.z)),h[p]=null):u in h||(h[u]={index0:s[e],index1:s[t],normal:Eh.clone()})}}for(const e in h)if(h[e]){const{index0:t,index1:n}=h[e];vh.fromBufferAttribute(o,t),yh.fromBufferAttribute(o,n),d.push(vh.x,vh.y,vh.z),d.push(yh.x,yh.y,yh.z)}this.setAttribute("position",new Da(d,3))}}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}}class Fh extends hh{constructor(e){super(e),this.uuid=Kn(),this.type="Shape",this.holes=[]}getPointsHoles(e){const t=[];for(let n=0,r=this.holes.length;n<r;n++)t[n]=this.holes[n].getPoints(e);return t}extractPoints(e){return{shape:this.getPoints(e),holes:this.getPointsHoles(e)}}copy(e){super.copy(e),this.holes=[];for(let t=0,n=e.holes.length;t<n;t++){const n=e.holes[t];this.holes.push(n.clone())}return this}toJSON(){const e=super.toJSON();e.uuid=this.uuid,e.holes=[];for(let t=0,n=this.holes.length;t<n;t++){const n=this.holes[t];e.holes.push(n.toJSON())}return e}fromJSON(e){super.fromJSON(e),this.uuid=e.uuid,this.holes=[];for(let t=0,n=e.holes.length;t<n;t++){const n=e.holes[t];this.holes.push((new hh).fromJSON(n))}return this}}const bh=function(e,t,n=2){const r=t&&t.length,i=r?t[0]*n:e.length;let a=Sh(e,0,i,n,!0);const o=[];if(!a||a.next===a.prev)return o;let u,s,l,c,h,d,p;if(r&&(a=function(e,t,n,r){const i=[];let a,o,u,s,l;for(a=0,o=t.length;a<o;a++)u=t[a]*r,s=a<o-1?t[a+1]*r:e.length,l=Sh(e,u,s,r,!1),l===l.next&&(l.steiner=!0),i.push(Oh(l));for(i.sort(Rh),a=0;a<i.length;a++)n=Ih(i[a],n);return n}(e,t,a,n)),e.length>80*n){u=l=e[0],s=c=e[1];for(let t=n;t<i;t+=n)h=e[t],d=e[t+1],h<u&&(u=h),d<s&&(s=d),h>l&&(l=h),d>c&&(c=d);p=Math.max(l-u,c-s),p=0!==p?32767/p:0}return Bh(a,o,n,u,s,p,0),o};function Sh(e,t,n,r,i){let a,o;if(i===function(e,t,n,r){let i=0;for(let a=t,o=n-r;a<n;a+=r)i+=(e[o]-e[a])*(e[a+1]+e[o+1]),o=a;return i}(e,t,n,r)>0)for(a=t;a<n;a+=r)o=Kh(a,e[a],e[a+1],o);else for(a=n-r;a>=t;a-=r)o=Kh(a,e[a],e[a+1],o);return o&&Vh(o,o.next)&&(qh(o),o=o.next),o}function xh(e,t){if(!e)return e;t||(t=e);let n,r=e;do{if(n=!1,r.steiner||!Vh(r,r.next)&&0!==zh(r.prev,r,r.next))r=r.next;else{if(qh(r),r=t=r.prev,r===r.next)break;n=!0}}while(n||r!==t);return t}function Bh(e,t,n,r,i,a,o){if(!e)return;!o&&a&&function(e,t,n,r){let i=e;do{0===i.z&&(i.z=Lh(i.x,i.y,t,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){let t,n,r,i,a,o,u,s,l=1;do{for(n=e,e=null,a=null,o=0;n;){for(o++,r=n,u=0,t=0;t<l&&(u++,r=r.nextZ,r);t++);for(s=l;u>0||s>0&&r;)0!==u&&(0===s||!r||n.z<=r.z)?(i=n,n=n.nextZ,u--):(i=r,r=r.nextZ,s--),a?a.nextZ=i:e=i,i.prevZ=a,a=i;n=r}a.nextZ=null,l*=2}while(o>1)}(i)}(e,r,i,a);let u,s,l=e;for(;e.prev!==e.next;)if(u=e.prev,s=e.next,a?Mh(e,r,i,a):wh(e))t.push(u.i/n|0),t.push(e.i/n|0),t.push(s.i/n|0),qh(e),e=s.next,l=s.next;else if((e=s)===l){o?1===o?Bh(e=Th(xh(e),t,n),t,n,r,i,a,2):2===o&&Ph(e,t,n,r,i,a):Bh(xh(e),t,n,r,i,a,1);break}}function wh(e){const t=e.prev,n=e,r=e.next;if(zh(t,n,r)>=0)return!1;const i=t.x,a=n.x,o=r.x,u=t.y,s=n.y,l=r.y,c=i<a?i<o?i:o:a<o?a:o,h=u<s?u<l?u:l:s<l?s:l,d=i>a?i>o?i:o:a>o?a:o,p=u>s?u>l?u:l:s>l?s:l;let f=r.next;for(;f!==t;){if(f.x>=c&&f.x<=d&&f.y>=h&&f.y<=p&&kh(i,u,a,s,o,l,f.x,f.y)&&zh(f.prev,f,f.next)>=0)return!1;
vendor: 1,441 bytes, line 2
2f=f.next}return!0}function Mh(e,t,n,r){const i=e.prev,a=e,o=e.next;if(zh(i,a,o)>=0)return!1;const u=i.x,s=a.x,l=o.x,c=i.y,h=a.y,d=o.y,p=u<s?u<l?u:l:s<l?s:l,f=c<h?c<d?c:d:h<d?h:d,m=u>s?u>l?u:l:s>l?s:l,g=c>h?c>d?c:d:h>d?h:d,_=Lh(p,f,t,n,r),D=Lh(m,g,t,n,r);let v=e.prevZ,y=e.nextZ;for(;v&&v.z>=_&&y&&y.z<=D;){if(v.x>=p&&v.x<=m&&v.y>=f&&v.y<=g&&v!==i&&v!==o&&kh(u,c,s,h,l,d,v.x,v.y)&&zh(v.prev,v,v.next)>=0)return!1;if(v=v.prevZ,y.x>=p&&y.x<=m&&y.y>=f&&y.y<=g&&y!==i&&y!==o&&kh(u,c,s,h,l,d,y.x,y.y)&&zh(y.prev,y,y.next)>=0)return!1;y=y.nextZ}for(;v&&v.z>=_;){if(v.x>=p&&v.x<=m&&v.y>=f&&v.y<=g&&v!==i&&v!==o&&kh(u,c,s,h,l,d,v.x,v.y)&&zh(v.prev,v,v.next)>=0)return!1;v=v.prevZ}for(;y&&y.z<=D;){if(y.x>=p&&y.x<=m&&y.y>=f&&y.y<=g&&y!==i&&y!==o&&kh(u,c,s,h,l,d,y.x,y.y)&&zh(y.prev,y,y.next)>=0)return!1;y=y.nextZ}return!0}function Th(e,t,n){let r=e;do{const i=r.prev,a=r.next.next;!Vh(i,a)&&Wh(i,r,r.next,a)&&jh(i,a)&&jh(a,i)&&(t.push(i.i/n|0),t.push(r.i/n|0),t.push(a.i/n|0),qh(r),qh(r.next),r=e=a),r=r.next}while(r!==e);return xh(r)}function Ph(e,t,n,r,i,a){let o=e;do{let e=o.next.next;for(;e!==o.prev;){if(o.i!==e.i&&Uh(o,e)){let u=Xh(o,e);return o=xh(o,o.next),u=xh(u,u.next),Bh(o,t,n,r,i,a,0),void Bh(u,t,n,r,i,a,0)}e=e.next}o=o.next}while(o!==e)}function Rh(e,t){return e.x-t.x}function Ih(e,t){const n=function(e,t){let n,r=t,i=-1/0;const a=e.x,o=e.y;do{if(o<=r.y&&o>=r.next.y&&r.next.y!==r.y){const e=r.x+(o-r.y)*(r.next.x-r.x)/(r.next.y-r.y
vendor: 8,839 bytes, line 2
2);if(e<=a&&e>i&&(i=e,n=r.x<r.next.x?r:r.next,e===a))return n}r=r.next}while(r!==t);if(!n)return null;const u=n,s=n.x,l=n.y;let c,h=1/0;r=n;do{a>=r.x&&r.x>=s&&a!==r.x&&kh(o<l?a:i,o,s,l,o<l?i:a,o,r.x,r.y)&&(c=Math.abs(o-r.y)/(a-r.x),jh(r,e)&&(c<h||c===h&&(r.x>n.x||r.x===n.x&&Nh(n,r)))&&(n=r,h=c)),r=r.next}while(r!==u);return n}(e,t);if(!n)return t;const r=Xh(n,e);return xh(r,r.next),xh(n,n.next)}function Nh(e,t){return zh(e.prev,e,t.prev)<0&&zh(t.next,e,e.next)<0}function Lh(e,t,n,r,i){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-n)*i|0)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-r)*i|0)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function Oh(e){let t=e,n=e;do{(t.x<n.x||t.x===n.x&&t.y<n.y)&&(n=t),t=t.next}while(t!==e);return n}function kh(e,t,n,r,i,a,o,u){return(i-o)*(t-u)>=(e-o)*(a-u)&&(e-o)*(r-u)>=(n-o)*(t-u)&&(n-o)*(a-u)>=(i-o)*(r-u)}function Uh(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){let n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&Wh(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(e,t)&&(jh(e,t)&&jh(t,e)&&function(e,t){let n=e,r=!1;const i=(e.x+t.x)/2,a=(e.y+t.y)/2;do{n.y>a!=n.next.y>a&&n.next.y!==n.y&&i<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}(e,t)&&(zh(e.prev,e,t.prev)||zh(e,t.prev,t))||Vh(e,t)&&zh(e.prev,e,e.next)>0&&zh(t.prev,t,t.next)>0)}function zh(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function Vh(e,t){return e.x===t.x&&e.y===t.y}function Wh(e,t,n,r){const i=Gh(zh(e,t,n)),a=Gh(zh(e,t,r)),o=Gh(zh(n,r,e)),u=Gh(zh(n,r,t));return i!==a&&o!==u||(!(0!==i||!Hh(e,n,t))||(!(0!==a||!Hh(e,r,t))||(!(0!==o||!Hh(n,e,r))||!(0!==u||!Hh(n,t,r)))))}function Hh(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function Gh(e){return e>0?1:e<0?-1:0}function jh(e,t){return zh(e.prev,e,e.next)<0?zh(e,t,e.next)>=0&&zh(e,e.prev,t)>=0:zh(e,t,e.prev)<0||zh(e,e.next,t)<0}function Xh(e,t){const n=new Jh(e.i,e.x,e.y),r=new Jh(t.i,t.x,t.y),i=e.next,a=t.prev;return e.next=t,t.prev=e,n.next=i,i.prev=n,r.next=n,n.prev=r,a.next=r,r.prev=a,r}function Kh(e,t,n,r){const i=new Jh(e,t,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function qh(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function Jh(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}class Yh{static area(e){const t=e.length;let n=0;for(let r=t-1,i=0;i<t;r=i++)n+=e[r].x*e[i].y-e[i].x*e[r].y;return.5*n}static isClockWise(e){return Yh.area(e)<0}static triangulateShape(e,t){const n=[],r=[],i=[];$h(e),Qh(n,e);let a=e.length;t.forEach($h);for(let e=0;e<t.length;e++)r.push(a),a+=t[e].length,Qh(n,t[e]);const o=bh(n,r);for(let e=0;e<o.length;e+=3)i.push(o.slice(e,e+3));return i}}function $h(e){const t=e.length;t>2&&e[t-1].equals(e[0])&&e.pop()}function Qh(e,t){for(let n=0;n<t.length;n++)e.push(t[n].x),e.push(t[n].y)}class Zh extends Sa{constructor(e=new Fh([new er(.5,.5),new er(-.5,.5),new er(-.5,-.5),new er(.5,-.5)]),t={}){super(),this.type="ExtrudeGeometry",this.parameters={shapes:e,options:t},e=Array.isArray(e)?e:[e];const n=this,r=[],i=[];for(let t=0,n=e.length;t<n;t++){a(e[t])}function a(e){const a=[],o=void 0!==t.curveSegments?t.curveSegments:12,u=void 0!==t.steps?t.steps:1,s=void 0!==t.depth?t.depth:1;let l=void 0===t.bevelEnabled||t.bevelEnabled,c=void 0!==t.bevelThickness?t.bevelThickness:.2,h=void 0!==t.bevelSize?t.bevelSize:c-.1,d=void 0!==t.bevelOffset?t.bevelOffset:0,p=void 0!==t.bevelSegments?t.bevelSegments:3;const f=t.extrudePath,m=void 0!==t.UVGenerator?t.UVGenerator:ed;let g,_,D,v,y,E=!1;f&&(g=f.getSpacedPoints(u),E=!0,l=!1,_=f.computeFrenetFrames(u,!1),D=new Pr,v=new Pr,y=new Pr),l||(p=0,c=0,h=0,d=0);const A=e.extractPoints(o);let C=A.shape;const F=A.holes;if(!Yh.isClockWise(C)){C=C.reverse();for(let e=0,t=F.length;e<t;e++){const t=F[e];Yh.isClockWise(t)&&(F[e]=t.reverse())}}const b=Yh.triangulateShape(C,F),S=C;for(let e=0,t=F.length;e<t;e++){const t=F[e];C=C.concat(t)}function x(e,t,n){return t||console.error("THREE.ExtrudeGeometry: vec does not exist"),e.clone().addScaledVector(t,n)}const B=C.length,w=b.length;function M(e,t,n){let r,i,a;const o=e.x-t.x,u=e.y-t.y,s=n.x-e.x,l=n.y-e.y,c=o*o+u*u,h=o*l-u*s;if(Math.abs(h)>Number.EPSILON){const h=Math.sqrt(c),d=Math.sqrt(s*s+l*l),p=t.x-u/h,f=t.y+o/h,m=((n.x-l/d-p)*l-(n.y+s/d-f)*s)/(o*l-u*s);r=p+o*m-e.x,i=f+u*m-e.y;const g=r*r+i*i;if(g<=2)return new er(r,i);a=Math.sqrt(g/2)}else{let e=!1;o>Number.EPSILON?s>Number.EPSILON&&(e=!0):o<-Number.EPSILON?s<-Number.EPSILON&&(e=!0):Math.sign(u)===Math.sign(l)&&(e=!0),e?(r=-u,i=o,a=Math.sqrt(c)):(r=o,i=u,a=Math.sqrt(c/2))}return new er(r/a,i/a)}const T=[];for(let e=0,t=S.length,n=t-1,r=e+1;e<t;e++,n++,r++)n===t&&(n=0),r===t&&(r=0),T[e]=M(S[e],S[n],S[r]);const P=[];let R,I=T.concat();for(let e=0,t=F.length;e<t;e++){const t=F[e];R=[];for(let e=0,n=t.length,r=n-1,i=e+1;e<n;e++,r++,i++)r===n&&(r=0),i===n&&(i=0),R[e]=M(t[e],t[r],t[i]);P.push(R),I=I.concat(R)}for(let e=0;e<p;e++){const t=e/p,n=c*Math.cos(t*Math.PI/2),r=h*Math.sin(t*Math.PI/2)+d;for(let e=0,t=S.length;e<t;e++){const t=x(S[e],T[e],r);O(t.x,t.y,-n)}for(let e=0,t=F.length;e<t;e++){const t=F[e];R=P[e];for(let e=0,i=t.length;e<i;e++){const i=x(t[e],R[e],r);O(i.x,i.y,-n)}}}const N=h+d;for(let e=0;e<B;e++){const t=l?x(C[e],I[e],N):C[e];E?(v.copy(_.normals[0]).multiplyScalar(t.x),D.copy(_.binormals[0]).multiplyScalar(t.y),y.copy(g[0]).add(v).add(D),O(y.x,y.y,y.z)):O(t.x,t.y,0)}for(let e=1;e<=u;e++)for(let t=0;t<B;t++){const n=l?x(C[t],I[t],N):C[t];E?(v.copy(_.normals[e]).multiplyScalar(n.x),D.copy(_.binormals[e]).multiplyScalar(n.y),y.copy(g[e]).add(v).add(D),O(y.x,y.y,y.z)):O(n.x,n.y,s/u*e)}for(let e=p-1;e>=0;e--){const t=e/p,n=c*Math.cos(t*Math.PI/2),r=h*Math.sin(t*Math.PI/2)+d;for(let e=0,t=S.length;e<t;e++){const t=x(S[e],T[e],r);O(t.x,t.y,s+n)}for(let e=0,t=F.length;e<t;e++){const t=F[e];R=P[e];for(let e=0,i=t.length;e<i;e++){const i=x(t[e],R[e],r);E?O(i.x,i.y+g[u-1].y,g[u-1].x+n):O(i.x,i.y,s+n)}}}function L(e,t){let n=e.length;for(;--n>=0;){const r=n;let i=n-1;i<0&&(i=e.length-1);for(let e=0,n=u+2*p;e<n;e++){const n=B*e,a=B*(e+1);U(t+r+n,t+i+n,t+i+a,t+r+a)}}}function O(e,t,n){a.push(e),a.push(t),a.push(n)}function k(e,t,i){z(e),z(t),z(i);const a=r.length/3,o=m.generateTopUV(n,r,a-3,a-2,a-1);V(o[0]),V(o[1]),V(o[2])}function U(e,t,i,a){z(e),z(t),z(a),z(t),z(i),z(a);const o=r.length/3,u=m.generateSideWallUV(n,r,o-6,o-3,o-2,o-1);V(u[0]),V(u[1]),V(u[3]),V(u[1]),V(u[2]),V(u[3])}function z(e){r.push(a[3*e+0]),r.push(a[3*e+1]),r.push(a[3*e+2])}function V(e){i.push(e.x),i.push(e.y)}!function(){const e=r.length/3;if(l){let e=0,t=B*e;for(let e=0;e<w;e++){const n=b[e];k(n[2]+t,n[1]+t,n[0]+t)}e=u+2*p,t=B*e;for(let e=0;e<w;e++){const n=b[e];k(n[0]+t,n[1]+t,n[2]+t)}}else{for(let e=0;e<w;e++){const t=b[e];k(t[2],t[1],t[0])}for(let e=0;e<w;e++){const t=b[e];k(t[0]+B*u,t[1]+B*u,t[2]+B*u)}}n.addGroup(e,r.length/3-e,0)}(),function(){const e=r.length/3;let t=0;L(S,t),t+=S.length;for(let e=0,n=F.length;e<n;e++){const n=F[e];L(n,t),t+=n.length}n.addGroup(e,r.length/3-e,1)}()}this.setAttribute("position",new Da(r,3)),this.setAttribute("uv",new Da(i,2)),this.computeVertexNormals()}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}toJSON(){const e=super.toJSON();return function(e,t,n){if(n.shapes=[],Array.isArray(e))for(let t=0,r=e.length;t<r;t++){const r=e[t];n.shapes.push(r.uuid)}else n.shapes.push(e.uuid);n.options=Object.assign({},t),void 0!==t.extrudePath&&(n.options.extrudePath=t.extrudePath.toJSON());return n}(this.parameters.shapes,this.parameters.options,e)}static fromJSON(e,t){const n=[];for(let r=0,i=e.shapes.length;r<i;r++){const i=t[e.shapes[r]];n.push(i)}const r=e.options.extrudePath;return void 0!==r&&(e.options.extrudePath=(new lh[r.type]).fromJSON(r)),new Zh(n,e.options)}}const ed={generateTopUV:function(e,t,n,r,i){const a=t[3*n],o=t[3*n+1],u=t[3*r],s=t[3*r+1],l=t[3*i],c=t[3*i+1];return[new er(a,o),new er(u,s),new er(l,c)]},generateSideWallUV:function(e,t,n,r,i,a){const o=t[3*n],u=t[3*n+1],s=t[3*n+2],l=t[3*r],c=t[3*r+1],h=t[3*r+2],d=t[3*i],p=t[3*i+1],f=t[3*i+2],m=t[3*a],g=t[3*a+1],_=t[3*a+2];return Math.abs(u-c)<Math.abs(o-l)?[new er(o,1-s),new er(l,1-h),new er(d,1-f),new er(m,1-_)]:[new er(u,1-s),new er(c,1-h),new er(p,1-f),new er(g,1-_)]}};class td extends _h{constructor(e=1,t=0){const n=(1+Math.sqrt(5))/2;super([-1,n,0,1,n,0,-1,-n,0,1,-n,0,0,-1,n,0,1,n,0,-1,-n,0,1,-n,n,0,-1,n,0,1,-n,0,-1,-n,0,1],[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],e,t),this.type="IcosahedronGeometry",this.parameters={radiu
vendor: 20,501 bytes, line 2
2s:e,detail:t}}static fromJSON(e){return new td(e.radius,e.detail)}}class nd extends _h{constructor(e=1,t=0){super([1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],e,t),this.type="OctahedronGeometry",this.parameters={radius:e,detail:t}}static fromJSON(e){return new nd(e.radius,e.detail)}}class rd extends Sa{constructor(e=.5,t=1,n=32,r=1,i=0,a=2*Math.PI){super(),this.type="RingGeometry",this.parameters={innerRadius:e,outerRadius:t,thetaSegments:n,phiSegments:r,thetaStart:i,thetaLength:a},n=Math.max(3,n);const o=[],u=[],s=[],l=[];let c=e;const h=(t-e)/(r=Math.max(1,r)),d=new Pr,p=new er;for(let e=0;e<=r;e++){for(let e=0;e<=n;e++){const r=i+e/n*a;d.x=c*Math.cos(r),d.y=c*Math.sin(r),u.push(d.x,d.y,d.z),s.push(0,0,1),p.x=(d.x/t+1)/2,p.y=(d.y/t+1)/2,l.push(p.x,p.y)}c+=h}for(let e=0;e<r;e++){const t=e*(n+1);for(let e=0;e<n;e++){const r=e+t,i=r,a=r+n+1,u=r+n+2,s=r+1;o.push(i,a,s),o.push(a,u,s)}}this.setIndex(o),this.setAttribute("position",new Da(u,3)),this.setAttribute("normal",new Da(s,3)),this.setAttribute("uv",new Da(l,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new rd(e.innerRadius,e.outerRadius,e.thetaSegments,e.phiSegments,e.thetaStart,e.thetaLength)}}class id extends Sa{constructor(e=new Fh([new er(0,.5),new er(-.5,-.5),new er(.5,-.5)]),t=12){super(),this.type="ShapeGeometry",this.parameters={shapes:e,curveSegments:t};const n=[],r=[],i=[],a=[];let o=0,u=0;if(!1===Array.isArray(e))s(e);else for(let t=0;t<e.length;t++)s(e[t]),this.addGroup(o,u,t),o+=u,u=0;function s(e){const o=r.length/3,s=e.extractPoints(t);let l=s.shape;const c=s.holes;!1===Yh.isClockWise(l)&&(l=l.reverse());for(let e=0,t=c.length;e<t;e++){const t=c[e];!0===Yh.isClockWise(t)&&(c[e]=t.reverse())}const h=Yh.triangulateShape(l,c);for(let e=0,t=c.length;e<t;e++){const t=c[e];l=l.concat(t)}for(let e=0,t=l.length;e<t;e++){const t=l[e];r.push(t.x,t.y,0),i.push(0,0,1),a.push(t.x,t.y)}for(let e=0,t=h.length;e<t;e++){const t=h[e],r=t[0]+o,i=t[1]+o,a=t[2]+o;n.push(r,i,a),u+=3}}this.setIndex(n),this.setAttribute("position",new Da(r,3)),this.setAttribute("normal",new Da(i,3)),this.setAttribute("uv",new Da(a,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}toJSON(){const e=super.toJSON();return function(e,t){if(t.shapes=[],Array.isArray(e))for(let n=0,r=e.length;n<r;n++){const r=e[n];t.shapes.push(r.uuid)}else t.shapes.push(e.uuid);return t}(this.parameters.shapes,e)}static fromJSON(e,t){const n=[];for(let r=0,i=e.shapes.length;r<i;r++){const i=t[e.shapes[r]];n.push(i)}return new id(n,e.curveSegments)}}class ad extends Sa{constructor(e=1,t=32,n=16,r=0,i=2*Math.PI,a=0,o=Math.PI){super(),this.type="SphereGeometry",this.parameters={radius:e,widthSegments:t,heightSegments:n,phiStart:r,phiLength:i,thetaStart:a,thetaLength:o},t=Math.max(3,Math.floor(t)),n=Math.max(2,Math.floor(n));const u=Math.min(a+o,Math.PI);let s=0;const l=[],c=new Pr,h=new Pr,d=[],p=[],f=[],m=[];for(let d=0;d<=n;d++){const g=[],_=d/n;let D=0;0===d&&0===a?D=.5/t:d===n&&u===Math.PI&&(D=-.5/t);for(let n=0;n<=t;n++){const u=n/t;c.x=-e*Math.cos(r+u*i)*Math.sin(a+_*o),c.y=e*Math.cos(a+_*o),c.z=e*Math.sin(r+u*i)*Math.sin(a+_*o),p.push(c.x,c.y,c.z),h.copy(c).normalize(),f.push(h.x,h.y,h.z),m.push(u+D,1-_),g.push(s++)}l.push(g)}for(let e=0;e<n;e++)for(let r=0;r<t;r++){const t=l[e][r+1],i=l[e][r],o=l[e+1][r],s=l[e+1][r+1];(0!==e||a>0)&&d.push(t,i,s),(e!==n-1||u<Math.PI)&&d.push(i,o,s)}this.setIndex(d),this.setAttribute("position",new Da(p,3)),this.setAttribute("normal",new Da(f,3)),this.setAttribute("uv",new Da(m,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new ad(e.radius,e.widthSegments,e.heightSegments,e.phiStart,e.phiLength,e.thetaStart,e.thetaLength)}}class od extends _h{constructor(e=1,t=0){super([1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],e,t),this.type="TetrahedronGeometry",this.parameters={radius:e,detail:t}}static fromJSON(e){return new od(e.radius,e.detail)}}class ud extends Sa{constructor(e=1,t=.4,n=12,r=48,i=2*Math.PI){super(),this.type="TorusGeometry",this.parameters={radius:e,tube:t,radialSegments:n,tubularSegments:r,arc:i},n=Math.floor(n),r=Math.floor(r);const a=[],o=[],u=[],s=[],l=new Pr,c=new Pr,h=new Pr;for(let a=0;a<=n;a++)for(let d=0;d<=r;d++){const p=d/r*i,f=a/n*Math.PI*2;c.x=(e+t*Math.cos(f))*Math.cos(p),c.y=(e+t*Math.cos(f))*Math.sin(p),c.z=t*Math.sin(f),o.push(c.x,c.y,c.z),l.x=e*Math.cos(p),l.y=e*Math.sin(p),h.subVectors(c,l).normalize(),u.push(h.x,h.y,h.z),s.push(d/r),s.push(a/n)}for(let e=1;e<=n;e++)for(let t=1;t<=r;t++){const n=(r+1)*e+t-1,i=(r+1)*(e-1)+t-1,o=(r+1)*(e-1)+t,u=(r+1)*e+t;a.push(n,i,u),a.push(i,o,u)}this.setIndex(a),this.setAttribute("position",new Da(o,3)),this.setAttribute("normal",new Da(u,3)),this.setAttribute("uv",new Da(s,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new ud(e.radius,e.tube,e.radialSegments,e.tubularSegments,e.arc)}}class sd extends Sa{constructor(e=1,t=.4,n=64,r=8,i=2,a=3){super(),this.type="TorusKnotGeometry",this.parameters={radius:e,tube:t,tubularSegments:n,radialSegments:r,p:i,q:a},n=Math.floor(n),r=Math.floor(r);const o=[],u=[],s=[],l=[],c=new Pr,h=new Pr,d=new Pr,p=new Pr,f=new Pr,m=new Pr,g=new Pr;for(let o=0;o<=n;++o){const D=o/n*i*Math.PI*2;_(D,i,a,e,d),_(D+.01,i,a,e,p),m.subVectors(p,d),g.addVectors(p,d),f.crossVectors(m,g),g.crossVectors(f,m),f.normalize(),g.normalize();for(let e=0;e<=r;++e){const i=e/r*Math.PI*2,a=-t*Math.cos(i),p=t*Math.sin(i);c.x=d.x+(a*g.x+p*f.x),c.y=d.y+(a*g.y+p*f.y),c.z=d.z+(a*g.z+p*f.z),u.push(c.x,c.y,c.z),h.subVectors(c,d).normalize(),s.push(h.x,h.y,h.z),l.push(o/n),l.push(e/r)}}for(let e=1;e<=n;e++)for(let t=1;t<=r;t++){const n=(r+1)*(e-1)+(t-1),i=(r+1)*e+(t-1),a=(r+1)*e+t,u=(r+1)*(e-1)+t;o.push(n,i,u),o.push(i,a,u)}function _(e,t,n,r,i){const a=Math.cos(e),o=Math.sin(e),u=n/t*e,s=Math.cos(u);i.x=r*(2+s)*.5*a,i.y=r*(2+s)*o*.5,i.z=r*Math.sin(u)*.5}this.setIndex(o),this.setAttribute("position",new Da(u,3)),this.setAttribute("normal",new Da(s,3)),this.setAttribute("uv",new Da(l,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new sd(e.radius,e.tube,e.tubularSegments,e.radialSegments,e.p,e.q)}}class ld extends Sa{constructor(e=new uh(new Pr(-1,-1,0),new Pr(-1,1,0),new Pr(1,1,0)),t=64,n=1,r=8,i=!1){super(),this.type="TubeGeometry",this.parameters={path:e,tubularSegments:t,radius:n,radialSegments:r,closed:i};const a=e.computeFrenetFrames(t,i);this.tangents=a.tangents,this.normals=a.normals,this.binormals=a.binormals;const o=new Pr,u=new Pr,s=new er;let l=new Pr;const c=[],h=[],d=[],p=[];function f(i){l=e.getPointAt(i/t,l);const s=a.normals[i],d=a.binormals[i];for(let e=0;e<=r;e++){const t=e/r*Math.PI*2,i=Math.sin(t),a=-Math.cos(t);u.x=a*s.x+i*d.x,u.y=a*s.y+i*d.y,u.z=a*s.z+i*d.z,u.normalize(),h.push(u.x,u.y,u.z),o.x=l.x+n*u.x,o.y=l.y+n*u.y,o.z=l.z+n*u.z,c.push(o.x,o.y,o.z)}}!function(){for(let e=0;e<t;e++)f(e);f(!1===i?t:0),function(){for(let e=0;e<=t;e++)for(let n=0;n<=r;n++)s.x=e/t,s.y=n/r,d.push(s.x,s.y)}(),function(){for(let e=1;e<=t;e++)for(let t=1;t<=r;t++){const n=(r+1)*(e-1)+(t-1),i=(r+1)*e+(t-1),a=(r+1)*e+t,o=(r+1)*(e-1)+t;p.push(n,i,o),p.push(i,a,o)}}()}(),this.setIndex(p),this.setAttribute("position",new Da(c,3)),this.setAttribute("normal",new Da(h,3)),this.setAttribute("uv",new Da(d,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}toJSON(){const e=super.toJSON();return e.path=this.parameters.path.toJSON(),e}static fromJSON(e){return new ld((new lh[e.path.type]).fromJSON(e.path),e.tubularSegments,e.radius,e.radialSegments,e.closed)}}class cd extends Sa{constructor(e=null){if(super(),this.type="WireframeGeometry",this.parameters={geometry:e},null!==e){const t=[],n=new Set,r=new Pr,i=new Pr;if(null!==e.index){const a=e.attributes.position,o=e.index;let u=e.groups;0===u.length&&(u=[{start:0,count:o.count,materialIndex:0}]);for(let e=0,s=u.length;e<s;++e){const s=u[e],l=s.start;for(let e=l,u=l+s.count;e<u;e+=3)for(let u=0;u<3;u++){const s=o.getX(e+u),l=o.getX(e+(u+1)%3);r.fromBufferAttribute(a,s),i.fromBufferAttribute(a,l),!0===hd(r,i,n)&&(t.push(r.x,r.y,r.z),t.push(i.x,i.y,i.z))}}}else{const a=e.attributes.position;for(let e=0,o=a.count/3;e<o;e++)for(let o=0;o<3;o++){const u=3*e+o,s=3*e+(o+1)%3;r.fromBufferAttribute(a,u),i.fromBufferAttribute(a,s),!0===hd(r,i,n)&&(t.push(r.x,r.y,r.z),t.push(i.x,i.y,i.z))}}this.setAttribute("position",new Da(t,3))}}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}}function hd(e,t,n){const r=`${e.x},${e.y},${e.z}-${t.x},${t.y},${t.z}`,i=`${t.x},${t.y},${t.z}-${e.x},${e.y},${e.z}`;return!0!==n.has(r)&&!0!==n.has(i)&&(n.add(r),n.add(i),!0)}var dd=Object.freeze({__proto__:null,BoxGeometry:Xa,CapsuleGeometry:ph,CircleGeometry:fh,ConeGeometry:gh,CylinderGeometry:mh,DodecahedronGeometry:Dh,EdgesGeometry:Ch,ExtrudeGeometry:Zh,IcosahedronGeometry:td,LatheGeometry:dh,OctahedronGeometry:nd,PlaneGeometry:_o,PolyhedronGeometry:_h,RingGeometry:rd,ShapeGeometry:id,SphereGeometry:ad,TetrahedronGeometry:od,TorusGeometry:ud,TorusKnotGeometry:sd,TubeGeometry:ld,WireframeGeometry:cd});class pd extends ea{constructor(e){super(),this.isShadowMaterial=!0,this.type="ShadowMaterial",this.color=new $i(0),this.transparent=!0,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.fog=e.fog,this}}class fd extends $a{constructor(e){super(e),this.isRawShaderMaterial=!0,this.type="RawShaderMaterial"}}class md extends ea{constructor(e){super(),this.isMeshStandardMaterial=!0,this.defines={STANDARD:""},this.type="MeshStandardMaterial",this.color=new $i(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new $i(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Kt,this.normalScale=new er(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Di,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={STANDARD:""},this.color.copy(e.color),this.roughness=e.roughness,this.metalness=e.metalness,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.roughnessMap=e.roughnessMap,this.metalnessMap=e.metalnessMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.envMapIntensity=e.envMapIntensity,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class gd extends md{constructor(e){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.anisotropyRotation=0,this.anisotropyMap=null,this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new er(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return qn(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(e){this.ior=(1+.4*e)/(1-.4*e)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new $i(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=1/0,this.attenuationColor=new $i(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new $i(1,1,1),this.specularColorMap=null,this._anisotropy=0,this._clearcoat=0,this._dispersion=0,this._iridescence=0,this._sheen=0,this._transmission=0,this.setValues(e)}get anisotropy(){return this._anisotropy}set anisotropy(e){this._anisotropy>0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get dispersion(){return this._dispersion}set dispersion(e){this._dispersion>0!=e>0&&this.version++,this._dispersion=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.dispersion=e.dispersion,this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}class _d extends ea{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new $i(16777215),this.specular=new $i(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new $i(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Kt,this.normalScale=new er(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Di,this.combine=$,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class Dd extends ea{constructor(e){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new $i(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new $i(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Kt,this.normalScale=new er(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.gradientMap=e.gradientMap,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}class vd extends ea{constructor(e){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Kt,this.normalScale=new er(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.flatShading=e.flatShading,this}}class yd extends ea{constructor(e){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new $i(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new $i(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Kt,this.normalScale=new er(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Di,this.combine=$,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}
vendor: 5,970 bytes, line 2
2class Ed extends ea{constructor(e){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new $i(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Kt,this.normalScale=new er(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={MATCAP:""},this.color.copy(e.color),this.matcap=e.matcap,this.map=e.map,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.flatShading=e.flatShading,this.fog=e.fog,this}}class Ad extends _c{constructor(e){super(),this.isLineDashedMaterial=!0,this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(e)}copy(e){return super.copy(e),this.scale=e.scale,this.dashSize=e.dashSize,this.gapSize=e.gapSize,this}}function Cd(e,t,n){return!e||!n&&e.constructor===t?e:"number"==typeof t.BYTES_PER_ELEMENT?new t(e):Array.prototype.slice.call(e)}function Fd(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function bd(e){const t=e.length,n=new Array(t);for(let e=0;e!==t;++e)n[e]=e;return n.sort((function(t,n){return e[t]-e[n]})),n}function Sd(e,t,n){const r=e.length,i=new e.constructor(r);for(let a=0,o=0;o!==r;++a){const r=n[a]*t;for(let n=0;n!==t;++n)i[o++]=e[r+n]}return i}function xd(e,t,n,r){let i=1,a=e[0];for(;void 0!==a&&void 0===a[r];)a=e[i++];if(void 0===a)return;let o=a[r];if(void 0!==o)if(Array.isArray(o))do{o=a[r],void 0!==o&&(t.push(a.time),n.push.apply(n,o)),a=e[i++]}while(void 0!==a);else if(void 0!==o.toArray)do{o=a[r],void 0!==o&&(t.push(a.time),o.toArray(n,n.length)),a=e[i++]}while(void 0!==a);else do{o=a[r],void 0!==o&&(t.push(a.time),n.push(o)),a=e[i++]}while(void 0!==a)}const Bd={convertArray:Cd,isTypedArray:Fd,getKeyframeOrder:bd,sortedArray:Sd,flattenJSON:xd,subclip:function(e,t,n,r,i=30){const a=e.clone();a.name=t;const o=[];for(let e=0;e<a.tracks.length;++e){const t=a.tracks[e],u=t.getValueSize(),s=[],l=[];for(let e=0;e<t.times.length;++e){const a=t.times[e]*i;if(!(a<n||a>=r)){s.push(t.times[e]);for(let n=0;n<u;++n)l.push(t.values[e*u+n])}}0!==s.length&&(t.times=Cd(s,t.times.constructor),t.values=Cd(l,t.values.constructor),o.push(t))}a.tracks=o;let u=1/0;for(let e=0;e<a.tracks.length;++e)u>a.tracks[e].times[0]&&(u=a.tracks[e].times[0]);for(let e=0;e<a.tracks.length;++e)a.tracks[e].shift(-1*u);return a.resetDuration(),a},makeClipAdditive:function(e,t=0,n=e,r=30){r<=0&&(r=30);const i=n.tracks.length,a=t/r;for(let t=0;t<i;++t){const r=n.tracks[t],i=r.ValueTypeName;if("bool"===i||"string"===i)continue;const o=e.tracks.find((function(e){return e.name===r.name&&e.ValueTypeName===i}));if(void 0===o)continue;let u=0;const s=r.getValueSize();r.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(u=s/3);let l=0;const c=o.getValueSize();o.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(l=c/3);const h=r.times.length-1;let d;if(a<=r.times[0]){const e=u,t=s-u;d=r.values.slice(e,t)}else if(a>=r.times[h]){const e=h*s+u,t=e+s-u;d=r.values.slice(e,t)}else{const e=r.createInterpolant(),t=u,n=s-u;e.evaluate(a),d=e.resultBuffer.slice(t,n)}if("quaternion"===i){(new Tr).fromArray(d).normalize().conjugate().toArray(d)}const p=o.times.length;for(let e=0;e<p;++e){const t=e*c+l;if("quaternion"===i)Tr.multiplyQuaternionsFlat(o.values,t,d,0,o.values,t);else{const e=c-2*l;for(let n=0;n<e;++n)o.values[t+n]-=d[n]}}}return e.blendMode=Vt,e}};class wd{constructor(e,t,n,r){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=void 0!==r?r:new t.constructor(n),this.sampleValues=t,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(e){const t=this.parameterPositions;let n=this._cachedIndex,r=t[n],i=t[n-1];e:{t:{let a;n:{r:if(!(e<r)){for(let a=n+2;;){if(void 0===r){if(e<i)break r;return n=t.length,this._cachedIndex=n,this.copySampleValue_(n-1)}if(n===a)break;if(i=r,r=t[++n],e<r)break t}a=t.length;break n}if(e>=i)break e;{const o=t[1];e<o&&(n=2,i=o);for(let a=n-2;;){if(void 0===i)return this._cachedIndex=0,this.copySampleValue_(0);if(n===a)break;if(r=i,i=t[--n-1],e>=i)break t}a=n,n=0}}for(;n<a;){const r=n+a>>>1;e<t[r]?a=r:n=r+1}if(r=t[n],i=t[n-1],void 0===i)return this._cachedIndex=0,this.copySampleValue_(0);if(void 0===r)return n=t.length,this._cachedIndex=n,this.copySampleValue_(n-1)}this._cachedIndex=n,this.intervalChanged_(n,i,r)}return this.interpolate_(n,i,e,r)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(e){const t=this.resultBuffer,n=this.sampleValues,r=this.valueSize,i=e*r;for(let e=0;e!==r;++e)t[e]=n[i+e];return t}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}}class Md extends wd{constructor(e,t,n,r){super(e,t,n,r),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:Ot,endingEnd:Ot}}intervalChanged_(e,t,n){const r=this.parameterPositions;let i=e-2,a=e+1,o=r[i],u=r[a];if(void 0===o)switch(this.getSettings_().endingStart){case kt:i=e,o=2*t-n;break;case Ut:i=r.length-2,o=t+r[i]-r[i+1];break;default:i=e,o=n}if(void 0===u)switch(this.getSettings_().endingEnd){case kt:a=e,u=2*n-t;break;case Ut:a=1,u=n+r[1]-r[0];break;default:a=e-1,u=t}const s=.5*(n-t),l=this.valueSize;this._weightPrev=s/(t-o),this._weightNext=s/(u-n),this._offsetPrev=i*l,this._offsetNext=a*l}interpolate_(e,t,n,r){const i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,u=e*o,s=u-o,l=this._offsetPrev,c=this._offsetNext,h=this._weightPrev,d=this._weightNext,p=(n-t)/(r-t),f=p*p,m=f*p,g=-h*m+2*h*f-h*p,_=(1+h)*m+(-1.5-2*h)*f+(-.5+h)*p+1,D=(-1-d)*m+(1.5+d)*f+.5*p,v=d*m-d*f;for(let e=0;e!==o;
vendor: 8,327 bytes, line 2
2++e)i[e]=g*a[l+e]+_*a[s+e]+D*a[u+e]+v*a[c+e];return i}}class Td extends wd{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e,t,n,r){const i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,u=e*o,s=u-o,l=(n-t)/(r-t),c=1-l;for(let e=0;e!==o;++e)i[e]=a[s+e]*c+a[u+e]*l;return i}}class Pd extends wd{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e){return this.copySampleValue_(e-1)}}class Rd{constructor(e,t,n,r){if(void 0===e)throw new Error("THREE.KeyframeTrack: track name is undefined");if(void 0===t||0===t.length)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+e);this.name=e,this.times=Cd(t,this.TimeBufferType),this.values=Cd(n,this.ValueBufferType),this.setInterpolation(r||this.DefaultInterpolation)}static toJSON(e){const t=e.constructor;let n;if(t.toJSON!==this.toJSON)n=t.toJSON(e);else{n={name:e.name,times:Cd(e.times,Array),values:Cd(e.values,Array)};const t=e.getInterpolation();t!==e.DefaultInterpolation&&(n.interpolation=t)}return n.type=e.ValueTypeName,n}InterpolantFactoryMethodDiscrete(e){return new Pd(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodLinear(e){return new Td(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodSmooth(e){return new Md(this.times,this.values,this.getValueSize(),e)}setInterpolation(e){let t;switch(e){case It:t=this.InterpolantFactoryMethodDiscrete;break;case Nt:t=this.InterpolantFactoryMethodLinear;break;case Lt:t=this.InterpolantFactoryMethodSmooth}if(void 0===t){const t="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(void 0===this.createInterpolant){if(e===this.DefaultInterpolation)throw new Error(t);this.setInterpolation(this.DefaultInterpolation)}return console.warn("THREE.KeyframeTrack:",t),this}return this.createInterpolant=t,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return It;case this.InterpolantFactoryMethodLinear:return Nt;case this.InterpolantFactoryMethodSmooth:return Lt}}getValueSize(){return this.values.length/this.times.length}shift(e){if(0!==e){const t=this.times;for(let n=0,r=t.length;n!==r;++n)t[n]+=e}return this}scale(e){if(1!==e){const t=this.times;for(let n=0,r=t.length;n!==r;++n)t[n]*=e}return this}trim(e,t){const n=this.times,r=n.length;let i=0,a=r-1;for(;i!==r&&n[i]<e;)++i;for(;-1!==a&&n[a]>t;)--a;if(++a,0!==i||a!==r){i>=a&&(a=Math.max(a,1),i=a-1);const e=this.getValueSize();this.times=n.slice(i,a),this.values=this.values.slice(i*e,a*e)}return this}validate(){let e=!0;const t=this.getValueSize();t-Math.floor(t)!=0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);const n=this.times,r=this.values,i=n.length;0===i&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let a=null;for(let t=0;t!==i;t++){const r=n[t];if("number"==typeof r&&isNaN(r)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,t,r),e=!1;break}if(null!==a&&a>r){console.error("THREE.KeyframeTrack: Out of order keys.",this,t,r,a),e=!1;break}a=r}if(void 0!==r&&Fd(r))for(let t=0,n=r.length;t!==n;++t){const n=r[t];if(isNaN(n)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,t,n),e=!1;break}}return e}optimize(){const e=this.times.slice(),t=this.values.slice(),n=this.getValueSize(),r=this.getInterpolation()===Lt,i=e.length-1;let a=1;for(let o=1;o<i;++o){let i=!1;const u=e[o];if(u!==e[o+1]&&(1!==o||u!==e[0]))if(r)i=!0;else{const e=o*n,r=e-n,a=e+n;for(let o=0;o!==n;++o){const n=t[e+o];if(n!==t[r+o]||n!==t[a+o]){i=!0;break}}}if(i){if(o!==a){e[a]=e[o];const r=o*n,i=a*n;for(let e=0;e!==n;++e)t[i+e]=t[r+e]}++a}}if(i>0){e[a]=e[i];for(let e=i*n,r=a*n,o=0;o!==n;++o)t[r+o]=t[e+o];++a}return a!==e.length?(this.times=e.slice(0,a),this.values=t.slice(0,a*n)):(this.times=e,this.values=t),this}clone(){const e=this.times.slice(),t=this.values.slice(),n=new(0,this.constructor)(this.name,e,t);return n.createInterpolant=this.createInterpolant,n}}Rd.prototype.TimeBufferType=Float32Array,Rd.prototype.ValueBufferType=Float32Array,Rd.prototype.DefaultInterpolation=Nt;class Id extends Rd{constructor(e,t,n){super(e,t,n)}}Id.prototype.ValueTypeName="bool",Id.prototype.ValueBufferType=Array,Id.prototype.DefaultInterpolation=It,Id.prototype.InterpolantFactoryMethodLinear=void 0,Id.prototype.InterpolantFactoryMethodSmooth=void 0;class Nd extends Rd{}Nd.prototype.ValueTypeName="color";class Ld extends Rd{}Ld.prototype.ValueTypeName="number";class Od extends wd{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e,t,n,r){const i=this.resultBuffer,a=this.sampleValues,o=this.valueSize,u=(n-t)/(r-t);let s=e*o;for(let e=s+o;s!==e;s+=4)Tr.slerpFlat(i,0,a,s-o,a,s,u);return i}}class kd extends Rd{InterpolantFactoryMethodLinear(e){return new Od(this.times,this.values,this.getValueSize(),e)}}kd.prototype.ValueTypeName="quaternion",kd.prototype.InterpolantFactoryMethodSmooth=void 0;class Ud extends Rd{constructor(e,t,n){super(e,t,n)}}Ud.prototype.ValueTypeName="string",Ud.prototype.ValueBufferType=Array,Ud.prototype.DefaultInterpolation=It,Ud.prototype.InterpolantFactoryMethodLinear=void 0,Ud.prototype.InterpolantFactoryMethodSmooth=void 0;class zd extends Rd{}zd.prototype.ValueTypeName="vector";class Vd{constructor(e="",t=-1,n=[],r=zt){this.name=e,this.tracks=n,this.duration=t,this.blendMode=r,this.uuid=Kn(),this.duration<0&&this.resetDuration()}static parse(e){const t=[],n=e.tracks,r=1/(e.fps||1);for(let e=0,i=n.length;e!==i;++e)t.push(Wd(n[e]).scale(r));const i=new this(e.name,e.duration,t,e.blendMode);return i.uuid=e.uuid,i}static toJSON(e){const t=[],n=e.tracks,r={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let e=0,r=n.length;e!==r;++e)t.push(Rd.toJSON(n[e]));return r}static CreateFromMorphTargetSequence(e,t,n,r){const i=t.length,a=[];for(let e=0;e<i;e++){let o=[],u=[];o.push((e+i-1)%i,e,(e+1)%i),u.push(0,1,0);const s=bd(o);o=Sd(o,1,s),u=Sd(u,1,s),r||0!==o[0]||(o.push(i),u.push(u[0])),a.push(new Ld(".morphTargetInfluences["+t[e].name+"]",o,u).scale(1/n))}return new this(e,-1,a)}static findByName(e,t){let n=e;if(!Array.isArray(e)){const t=e;n=t.geometry&&t.geometry.animations||t.animations}for(let e=0;e<n.length;e++)if(n[e].name===t)return n[e];return null}static CreateClipsFromMorphTargetSequences(e,t,n){const r={},i=/^([\w-]*?)([\d]+)$/;for(let t=0,n=e.length;t<n;t++){const n=e[t],a=n.name.match(i);if(a&&a.length>1){const e=a[1];let t=r[e];t||(r[e]=t=[]),t.push(n)}}const a=[];for(const e in r)a.push(this.CreateFromMorphTargetSequence(e,r[e],t,n));return a}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const n=function(e,t,n,r,i){if(0!==n.length){const a=[],o=[];xd(n,a,o,r),0!==a.length&&i.push(new e(t,a,o))}},r=[],i=e.name||"default",a=e.fps||30,o=e.blendMode;let u=e.length||-1;const s=e.hierarchy||[];for(let e=0;e<s.length;e++){const i=s[e].keys;if(i&&0!==i.length)if(i[0].morphTargets){const e={};let t;for(t=0;t<i.length;t++)if(i[t].morphTargets)for(let n=0;n<i[t].morphTargets.length;n++)e[i[t].morphTargets[n]]=-1;for(const n in e){const e=[],a=[];for(let r=0;r!==i[t].morphTargets.length;++r){const r=i[t];e.push(r.time),a.push(r.morphTarget===n?1:0)}r.push(new Ld(".morphTargetInfluence["+n+"]",e,a))}u=e.length*a}else{const a=".bones["+t[e].name+"]";n(zd,a+".position",i,"pos",r),n(kd,a+".quaternion",i,"rot",r),n(zd,a+".scale",i,"scl",r)}}if(0===r.length)return null;return new this(i,u,r,o)}resetDuration(){let e=0;for(let t=0,n=this.tracks.length;t!==n;++t){const n=this.tracks[t];e=Math.max(e,n.times[n.times.length-1])}return this.duration=e,this}trim(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].trim(0,this.duration);return this}validate(){let e=!0;for(let t=0;t<this.tracks.length;t++)e=e&&this.tracks[t].validate();return e}optimize(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].optimize();return this}clone(){const e=[];for(let t=0;t<this.tracks.length;t++)e.push(this.tracks[t].clone());return new this.constructor(this.name,this.duration,e,this.blendMode)}toJSON(){return this.constructor.toJSON(this)}}function Wd(e){if(void 0===e.type)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");const t=function(e){switch(e.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return Ld;
vendor: 18,753 bytes, line 2
2case"vector":case"vector2":case"vector3":case"vector4":return zd;case"color":return Nd;case"quaternion":return kd;case"bool":case"boolean":return Id;case"string":return Ud}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+e)}(e.type);if(void 0===e.times){const t=[],n=[];xd(e.keys,t,n,"value"),e.times=t,e.values=n}return void 0!==t.parse?t.parse(e):new t(e.name,e.times,e.values,e.interpolation)}const Hd={enabled:!1,files:{},add:function(e,t){!1!==this.enabled&&(this.files[e]=t)},get:function(e){if(!1!==this.enabled)return this.files[e]},remove:function(e){delete this.files[e]},clear:function(){this.files={}}};class Gd{constructor(e,t,n){const r=this;let i,a=!1,o=0,u=0;const s=[];this.onStart=void 0,this.onLoad=e,this.onProgress=t,this.onError=n,this.itemStart=function(e){u++,!1===a&&void 0!==r.onStart&&r.onStart(e,o,u),a=!0},this.itemEnd=function(e){o++,void 0!==r.onProgress&&r.onProgress(e,o,u),o===u&&(a=!1,void 0!==r.onLoad&&r.onLoad())},this.itemError=function(e){void 0!==r.onError&&r.onError(e)},this.resolveURL=function(e){return i?i(e):e},this.setURLModifier=function(e){return i=e,this},this.addHandler=function(e,t){return s.push(e,t),this},this.removeHandler=function(e){const t=s.indexOf(e);return-1!==t&&s.splice(t,2),this},this.getHandler=function(e){for(let t=0,n=s.length;t<n;t+=2){const n=s[t],r=s[t+1];if(n.global&&(n.lastIndex=0),n.test(e))return r}return null}}}const jd=new Gd;class Xd{constructor(e){this.manager=void 0!==e?e:jd,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}load(){}loadAsync(e,t){const n=this;return new Promise((function(r,i){n.load(e,r,t,i)}))}parse(){}setCrossOrigin(e){return this.crossOrigin=e,this}setWithCredentials(e){return this.withCredentials=e,this}setPath(e){return this.path=e,this}setResourcePath(e){return this.resourcePath=e,this}setRequestHeader(e){return this.requestHeader=e,this}}Xd.DEFAULT_MATERIAL_NAME="__DEFAULT";const Kd={};class qd extends Error{constructor(e,t){super(e),this.response=t}}class Jd extends Xd{constructor(e){super(e)}load(e,t,n,r){void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const i=Hd.get(e);if(void 0!==i)return this.manager.itemStart(e),setTimeout((()=>{t&&t(i),this.manager.itemEnd(e)}),0),i;if(void 0!==Kd[e])return void Kd[e].push({onLoad:t,onProgress:n,onError:r});Kd[e]=[],Kd[e].push({onLoad:t,onProgress:n,onError:r});const a=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),o=this.mimeType,u=this.responseType;fetch(a).then((t=>{if(200===t.status||0===t.status){if(0===t.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),"undefined"==typeof ReadableStream||void 0===t.body||void 0===t.body.getReader)return t;const n=Kd[e],r=t.body.getReader(),i=t.headers.get("X-File-Size")||t.headers.get("Content-Length"),a=i?parseInt(i):0,o=0!==a;let u=0;const s=new ReadableStream({start(e){!function t(){r.read().then((({done:r,value:i})=>{if(r)e.close();else{u+=i.byteLength;const r=new ProgressEvent("progress",{lengthComputable:o,loaded:u,total:a});for(let e=0,t=n.length;e<t;e++){const t=n[e];t.onProgress&&t.onProgress(r)}e.enqueue(i),t()}}),(t=>{e.error(t)}))}()}});return new Response(s)}throw new qd(`fetch for "${t.url}" responded with ${t.status}: ${t.statusText}`,t)})).then((e=>{switch(u){case"arraybuffer":return e.arrayBuffer();case"blob":return e.blob();case"document":return e.text().then((e=>(new DOMParser).parseFromString(e,o)));case"json":return e.json();default:if(void 0===o)return e.text();{const t=/charset="?([^;"\s]*)"?/i.exec(o),n=t&&t[1]?t[1].toLowerCase():void 0,r=new TextDecoder(n);return e.arrayBuffer().then((e=>r.decode(e)))}}})).then((t=>{Hd.add(e,t);const n=Kd[e];delete Kd[e];for(let e=0,r=n.length;e<r;e++){const r=n[e];r.onLoad&&r.onLoad(t)}})).catch((t=>{const n=Kd[e];if(void 0===n)throw this.manager.itemError(e),t;delete Kd[e];for(let e=0,r=n.length;e<r;e++){const r=n[e];r.onError&&r.onError(t)}this.manager.itemError(e)})).finally((()=>{this.manager.itemEnd(e)})),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class Yd extends Xd{constructor(e){super(e)}load(e,t,n,r){const i=this,a=new Jd(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,(function(n){try{t(i.parse(JSON.parse(n)))}catch(t){r?r(t):console.error(t),i.manager.itemError(e)}}),n,r)}parse(e){const t=[];for(let n=0;n<e.length;n++){const r=Vd.parse(e[n]);t.push(r)}return t}}class $d extends Xd{constructor(e){super(e)}load(e,t,n,r){const i=this,a=[],o=new zc,u=new Jd(this.manager);u.setPath(this.path),u.setResponseType("arraybuffer"),u.setRequestHeader(this.requestHeader),u.setWithCredentials(i.withCredentials);let s=0;function l(l){u.load(e[l],(function(e){const n=i.parse(e,!0);a[l]={width:n.width,height:n.height,format:n.format,mipmaps:n.mipmaps},s+=1,6===s&&(1===n.mipmapCount&&(o.minFilter=Fe),o.image=a,o.format=n.format,o.needsUpdate=!0,t&&t(o))}),n,r)}if(Array.isArray(e))for(let t=0,n=e.length;t<n;++t)l(t);else u.load(e,(function(e){const n=i.parse(e,!0);if(n.isCubemap){const e=n.mipmaps.length/n.mipmapCount;for(let t=0;t<e;t++){a[t]={mipmaps:[]};for(let e=0;e<n.mipmapCount;e++)a[t].mipmaps.push(n.mipmaps[t*n.mipmapCount+e]),a[t].format=n.format,a[t].width=n.width,a[t].height=n.height}o.image=a}else o.image.width=n.width,o.image.height=n.height,o.mipmaps=n.mipmaps;1===n.mipmapCount&&(o.minFilter=Fe),o.format=n.format,o.needsUpdate=!0,t&&t(o)}),n,r);return o}}class Qd extends Xd{constructor(e){super(e)}load(e,t,n,r){void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const i=this,a=Hd.get(e);if(void 0!==a)return i.manager.itemStart(e),setTimeout((function(){t&&t(a),i.manager.itemEnd(e)}),0),a;const o=or("img");function u(){l(),Hd.add(e,this),t&&t(this),i.manager.itemEnd(e)}function s(t){l(),r&&r(t),i.manager.itemError(e),i.manager.itemEnd(e)}function l(){o.removeEventListener("load",u,!1),o.removeEventListener("error",s,!1)}return o.addEventListener("load",u,!1),o.addEventListener("error",s,!1),"data:"!==e.slice(0,5)&&void 0!==this.crossOrigin&&(o.crossOrigin=this.crossOrigin),i.manager.itemStart(e),o.src=e,o}}class Zd extends Xd{constructor(e){super(e)}load(e,t,n,r){const i=new ao;i.colorSpace=Yt;const a=new Qd(this.manager);a.setCrossOrigin(this.crossOrigin),a.setPath(this.path);let o=0;function u(n){a.load(e[n],(function(e){i.images[n]=e,o++,6===o&&(i.needsUpdate=!0,t&&t(i))}),void 0,r)}for(let t=0;t<e.length;++t)u(t);return i}}class ep extends Xd{constructor(e){super(e)}load(e,t,n,r){const i=this,a=new kl,o=new Jd(this.manager);return o.setResponseType("arraybuffer"),o.setRequestHeader(this.requestHeader),o.setPath(this.path),o.setWithCredentials(i.withCredentials),o.load(e,(function(e){let n;try{n=i.parse(e)}catch(e){if(void 0===r)return void console.error(e);r(e)}void 0!==n.image?a.image=n.image:void 0!==n.data&&(a.image.width=n.width,a.image.height=n.height,a.image.data=n.data),a.wrapS=void 0!==n.wrapS?n.wrapS:_e,a.wrapT=void 0!==n.wrapT?n.wrapT:_e,a.magFilter=void 0!==n.magFilter?n.magFilter:Fe,a.minFilter=void 0!==n.minFilter?n.minFilter:Fe,a.anisotropy=void 0!==n.anisotropy?n.anisotropy:1,void 0!==n.colorSpace&&(a.colorSpace=n.colorSpace),void 0!==n.flipY&&(a.flipY=n.flipY),void 0!==n.format&&(a.format=n.format),void 0!==n.type&&(a.type=n.type),void 0!==n.mipmaps&&(a.mipmaps=n.mipmaps,a.minFilter=xe),1===n.mipmapCount&&(a.minFilter=Fe),void 0!==n.generateMipmaps&&(a.generateMipmaps=n.generateMipmaps),a.needsUpdate=!0,t&&t(a,n)}),n,r),a}}class tp extends Xd{constructor(e){super(e)}load(e,t,n,r){const i=new Cr,a=new Qd(this.manager);return a.setCrossOrigin(this.crossOrigin),a.setPath(this.path),a.load(e,(function(e){i.image=e,i.needsUpdate=!0,void 0!==t&&t(i)}),n,r),i}}class np extends Ni{constructor(e,t=1){super(),this.isLight=!0,this.type="Light",this.color=new $i(e),this.intensity=t}dispose(){}copy(e,t){return super.copy(e,t),this.color.copy(e.color),this.intensity=e.intensity,this}toJSON(e){const t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,void 0!==this.groundColor&&(t.object.groundColor=this.groundColor.getHex()),void 0!==this.distance&&(t.object.distance=this.distance),void 0!==this.angle&&(t.object.angle=this.angle),void 0!==this.decay&&(t.object.decay=this.decay),void 0!==this.penumbra&&(t.object.penumbra=this.penumbra),void 0!==this.shadow&&(t.object.shadow=this.shadow.toJSON()),t}}class rp extends np{constructor(e,t,n){super(e,n),this.isHemisphereLight=!0,this.type="HemisphereLight",this.position.copy(Ni.DEFAULT_UP),this.updateMatrix(),this.groundColor=new $i(t)}copy(e,t){return super.copy(e,t),this.groundColor.copy(e.groundColor),this}}const ip=new si,ap=new Pr,op=new Pr;class up{constructor(e){this.camera=e,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new er(512,512),this.map=null,this.mapPass=null,this.matrix=new si,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new fo,this._frameExtents=new er(1,1),this._viewportCount=1,this._viewports=[new Fr(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(e){const t=this.camera,n=this.matrix;ap.setFromMatrixPosition(e.matrixWorld),t.position.copy(ap),op.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(op),t.updateMatrixWorld(),ip.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(ip),n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(ip)}getViewport(e){return this._viewports[e]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(e){return this.camera=e.camera.clone(),this.bias=e.bias,this.radius=e.radius,this.mapSize.copy(e.mapSize),this}clone(){return(new this.constructor).copy(this)}toJSON(){const e={};return 0!==this.bias&&(e.bias=this.bias),0!==this.normalBias&&(e.normalBias=this.normalBias),1!==this.radius&&(e.radius=this.radius),512===this.mapSize.x&&512===this.mapSize.y||(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}}class sp extends up{constructor(){super(new no(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(e){const t=this.camera,n=2*Xn*e.angle*this.focus,r=this.mapSize.width/this.mapSize.height,i=e.distance||t.far;n===t.fov&&r===t.aspect&&i===t.far||(t.fov=n,t.aspect=r,t.far=i,t.updateProjectionMatrix()),super.updateMatrices(e)}copy(e){return super.copy(e),this.focus=e.focus,this}}class lp extends np{constructor(e,t,n=0,r=Math.PI/3,i=0,a=2){super(e,t),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(Ni.DEFAULT_UP),this.updateMatrix(),this.target=new Ni,this.distance=n,this.angle=r,this.penumbra=i,this.decay=a,this.map=null,this.shadow=new sp}get power(){return this.intensity*Math.PI}set power(e){this.intensity=e/Math.PI}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.angle=e.angle,this.penumbra=e.penumbra,this.decay=e.decay,this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}const cp=new si,hp=new Pr,dp=new Pr;class pp extends up{constructor(){super(new no(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new er(4,2),this._viewportCount=6,this._viewports=[new Fr(2,1,1,1),new Fr(0,1,1,1),new Fr(3,1,1,1),new Fr(1,1,1,1),new Fr(3,0,1,1),new Fr(1,0,1,1)],this._cubeDirections=[new Pr(1,0,0),new Pr(-1,0,0),new Pr(0,0,1),new Pr(0,0,-1),new Pr(0,1,0),new Pr(0,-1,0)],this._cubeUps=[new Pr(0,1,0),new Pr(0,1,0),new Pr(0,1,0),new Pr(0,1,0),new Pr(0,0,1),new Pr(0,0,-1)]}updateMatrices(e,t=0){const n=this.camera,r=this.matrix,i=e.distance||n.far;i!==n.far&&(n.far=i,n.updateProjectionMatrix()),hp.setFromMatrixPosition(e.matrixWorld),n.position.copy(hp),dp.copy(n.position),dp.add(this._cubeDirections[t]),n.up.copy(this._cubeUps[t]),n.lookAt(dp),n.updateMatrixWorld(),r.makeTranslation(-hp.x,-hp.y,-hp.z),cp.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse),this._frustum.setFromProjectionMatrix(cp)}}class fp extends np{constructor(e,t,n=0,r=2){super(e,t),this.isPointLight=!0,this.type="PointLight",this.distance=n,this.decay=r,this.shadow=new pp}get power(){return 4*this.intensity*Math.PI}set power(e){this.intensity=e/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.decay=e.decay,this.shadow=e.shadow.clone(),this}}class mp extends up{constructor(){super(new Mo(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class gp extends np{constructor(e,t){super(e,t),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(Ni.DEFAULT_UP),this.updateMatrix(),this.target=new Ni,this.shadow=new mp}dispose(){this.shadow.dispose()}copy(e){return super.copy(e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}class _p extends np{constructor(e,t){super(e,t),this.isAmbientLight=!0,this.type="AmbientLight"}}class Dp extends np{constructor(e,t,n=10,r=10){super(e,t),this.isRectAreaLight=!0,this.type="RectAreaLight",this.width=n,this.height=r}get power(){return this.intensity*this.width*this.height*Math.PI}set power(e){this.intensity=e/(this.width*this.height*Math.PI)}copy(e){return super.copy(e),this.width=e.width,this.height=e.height,this}toJSON(e){const t=super.toJSON(e);return t.object.width=this.width,t.object.height=this.height,t}}class vp{constructor(){this.isSphericalHarmonics3=!0,this.coefficients=[];for(let e=0;e<9;e++)this.coefficients.push(new Pr)}set(e){for(let t=0;t<9;t++)this.coefficients[t].copy(e[t]);return this}zero(){for(let e=0;e<9;e++)this.coefficients[e].set(0,0,0);return this}getAt(e,t){const n=e.x,r=e.y,i=e.z,a=this.coefficients;return t.copy(a[0]).multiplyScalar(.282095),t.addScaledVector(a[1],.488603*r),t.addScaledVector(a[2],.488603*i),t.addScaledVector(a[3],.488603*n),t.addScaledVector(a[4],n*r*1.092548),t.addScaledVector(a[5],r*i*1.092548),t.addScaledVector(a[6],.315392*(3*i*i-1)),t.addScaledVector(a[7],n*i*1.092548),t.addScaledVector(a[8],.546274*(n*n-r*r)),t}getIrradianceAt(e,t){const n=e.x,r=e.y,i=e.z,a=this.coefficients;return t.copy(a[0]).multiplyScalar(.886227),t.addScaledVector(a[1],1.023328*r),t.addScaledVector(a[2],1.023328*i),t.addScaledVector(a[3],1.023328*n),t.addScaledVector(a[4],.858086*n*r),t.addScaledVector(a[5],.858086*r*i),t.addScaledVector(a[6],.743125*i*i-.247708),t.addScaledVector(a[7],.858086*n*i),t.addScaledVector(a[8],.429043*(n*n-r*r)),t}add(e){for(let t=0;t<9;t++)this.coefficients[t].add(e.coefficients[t]);return this}addScaledSH(e,t){for(let n=0;n<9;n++)this.coefficients[n].addScaledVector(e.coefficients[n],t);return this}scale(e){for(let t=0;t<9;t++)this.coefficients[t].multiplyScalar(e);return this}lerp(e,t){for(let n=0;n<9;n++)this.coefficients[n].lerp(e.coefficients[n],t);return this}equals(e){for(let t=0;t<9;t++)if(!this.coefficients[t].equals(e.coefficients[t]))return!1;return!0}copy(e){return this.set(e.coefficients)}clone(){return(new this.constructor).copy(this)}fromArray(e,t=0){const n=this.coefficients;for(let r=0;r<9;r++)n[r].fromArray(e,t+3*r);return this}toArray(e=[],t=0){const n=this.coefficients;for(let r=0;r<9;r++)n[r].toArray(e,t+3*r);return e}static getBasisAt(e,t){const n=e.x,r=e.y,i=e.z;t[0]=.282095,t[1]=.488603*r,t[2]=.488603*i,t[3]=.488603*n,t[4]=1.092548*n*r,t[5]=1.092548*r*i,t[6]=.315392*(3*i*i-1),t[7]=1.092548*n*i,t[8]=.546274*(n*n-r*r)}}class yp extends np{constructor(e=new vp,t=1){super(void 0,t),this.isLightProbe=!0,this.sh=e}copy(e){return super.copy(e),this.sh.copy(e.sh),this}fromJSON(e){return this.intensity=e.intensity,this.sh.fromArray(e.sh),this}toJSON(e){const t=super.toJSON(e);return t.object.sh=this.sh.toArray(),t}}class Ep extends Xd{constructor(e){super(e),this.textures={}}load(e,t,n,r){const i=this,a=new Jd(i.manager);a.setPath(i.path),a.setRequestHeader(i.requestHeader),a.setWithCredentials(i.withCredentials),a.load(e,(function(n){try{t(i.parse(JSON.parse(n)))}catch(t){r?r(t):console.error(t),i.manager.itemError(e)}}),n,r)}parse(e){const t=this.textures;function n(e){return void 0===t[e]&&console.warn("THREE.MaterialLoader: Undefined texture",e),t[e]}const r=Ep.createMaterialFromType(e.type);if(void 0!==e.uuid&&(r.uuid=e.uuid),void 0!==e.name&&(r.name=e.name),void 0!==e.color&&void 0!==r.color&&r.color.setHex(e.color),void 0!==e.roughness&&(r.roughness=e.roughness),void 0!==e.metalness&&(r.metalness=e.metalness),void 0!==e.sheen&&(r.sheen=e.sheen),void 0!==e.sheenColor&&(r.sheenColor=(new $i).setHex(e.sheenColor)),void 0!==e.sheenRoughness&&(r.sheenRoughness=e.sheenRoughness),void 0!==e.emissive&&void 0!==r.emissive&&r.emissive.setHex(e.emissive),void 0!==e.specular&&void 0!==r.specular&&r.specular.setHex(e.specular),void 0!==e.specularIntensity&&(r.specularIntensity=e.specularIntensity),void 0!==e.specularColor&&void 0!==r.specularColor&&r.specularColor.setHex(e.specularColor),void 0!==e.shininess&&(r.shininess=e.shininess),void 0!==e.clearcoat&&(r.clearcoat=e.clearcoat),void 0!==e.clearcoatRoughness&&(r.clearcoatRoughness=e.clearcoatRoughness),void 0!==e.dispersion&&(r.dispersion=e.dispersion),void 0!==e.iridescence&&(r.iridescence=e.iridescence),void 0!==e.iridescenceIOR&&(r.iridescenceIOR=e.iridescenceIOR),void 0!==e.iridescenceThicknessRange&&(r.iridescenceThicknessRange=e.iridescenceThicknessRange),void 0!==e.transmission&&(r.transmission=e.transmission),void 0!==e.thickness&&(r.thickness=e.thickness),void 0!==e.attenuationDistance&&(r.attenuationDistance=e.attenuationDistance),void 0!==e.attenuationColor&&void 0!==r.attenuationColor&&r.attenuationColor.setHex(e.attenuationColor),void 0!==e.anisotropy&&(r.anisotropy=e.anisotropy),void 0!==e.anisotropyRotation&&(r.anisotropyRotation=e.anisotropyRotation),void 0!==e.fog&&(r.fog=e.fog),void 0!==e.flatShading&&(r.flatShading=e.flatShading),void 0!==e.blending&&(r.blending=e.blending),void 0!==e.combine&&(r.combine=e.combine),void 0!==e.side&&(r.side=e.side),void 0!==e.shadowSide&&(r.shadowSide=e.shadowSide),void 0!==e.opacity&&(r.opacity=e.opacity),void 0!==e.transparent&&(r.transparent=e.transparent),void 0!==e.alphaTest&&(r.alphaTest=e.alphaTest),void 0!==e.alphaHash&&(r.alphaHash=e.alphaHash),void 0!==e.depthFunc&&(r.depthFunc=e.depthFunc),void 0!==e.depthTest&&(r.depthTest=e.depthTest),void 0!==e.depthWrite&&(r.depthWrite=e.depthWrite),void 0!==e.colorWrite&&(r.colorWrite=e.colorWrite),void 0!==e.blendSrc&&(r.blendSrc=e.blendSrc),void 0!==e.blendDst&&(r.blendDst=e.blendDst),void 0!==e.blendEquation&&(r.blendEquation=e.blendEquation),void 0!==e.blendSrcAlpha&&(r.blendSrcAlpha=e.blendSrcAlpha),void 0!==e.blendDstAlpha&&
vendor: 2,369 bytes, line 2
2(r.blendDstAlpha=e.blendDstAlpha),void 0!==e.blendEquationAlpha&&(r.blendEquationAlpha=e.blendEquationAlpha),void 0!==e.blendColor&&void 0!==r.blendColor&&r.blendColor.setHex(e.blendColor),void 0!==e.blendAlpha&&(r.blendAlpha=e.blendAlpha),void 0!==e.stencilWriteMask&&(r.stencilWriteMask=e.stencilWriteMask),void 0!==e.stencilFunc&&(r.stencilFunc=e.stencilFunc),void 0!==e.stencilRef&&(r.stencilRef=e.stencilRef),void 0!==e.stencilFuncMask&&(r.stencilFuncMask=e.stencilFuncMask),void 0!==e.stencilFail&&(r.stencilFail=e.stencilFail),void 0!==e.stencilZFail&&(r.stencilZFail=e.stencilZFail),void 0!==e.stencilZPass&&(r.stencilZPass=e.stencilZPass),void 0!==e.stencilWrite&&(r.stencilWrite=e.stencilWrite),void 0!==e.wireframe&&(r.wireframe=e.wireframe),void 0!==e.wireframeLinewidth&&(r.wireframeLinewidth=e.wireframeLinewidth),void 0!==e.wireframeLinecap&&(r.wireframeLinecap=e.wireframeLinecap),void 0!==e.wireframeLinejoin&&(r.wireframeLinejoin=e.wireframeLinejoin),void 0!==e.rotation&&(r.rotation=e.rotation),void 0!==e.linewidth&&(r.linewidth=e.linewidth),void 0!==e.dashSize&&(r.dashSize=e.dashSize),void 0!==e.gapSize&&(r.gapSize=e.gapSize),void 0!==e.scale&&(r.scale=e.scale),void 0!==e.polygonOffset&&(r.polygonOffset=e.polygonOffset),void 0!==e.polygonOffsetFactor&&(r.polygonOffsetFactor=e.polygonOffsetFactor),void 0!==e.polygonOffsetUnits&&(r.polygonOffsetUnits=e.polygonOffsetUnits),void 0!==e.dithering&&(r.dithering=e.dithering),void 0!==e.alphaToCoverage&&(r.alphaToCoverage=e.alphaToCoverage),void 0!==e.premultipliedAlpha&&(r.premultipliedAlpha=e.premultipliedAlpha),void 0!==e.forceSinglePass&&(r.forceSinglePass=e.forceSinglePass),void 0!==e.visible&&(r.visible=e.visible),void 0!==e.toneMapped&&(r.toneMapped=e.toneMapped),void 0!==e.userData&&(r.userData=e.userData),void 0!==e.vertexColors&&("number"==typeof e.vertexColors?r.vertexColors=e.vertexColors>0:r.vertexColors=e.vertexColors),void 0!==e.uniforms)for(const t in e.uniforms){const i=e.uniforms[t];switch(r.uniforms[t]={},i.type){case"t":r.uniforms[t].value=n(i.value);break;case"c":r.uniforms[t].value=(new $i).setHex(i.value);break;case"v2":r.uniforms[t].value=(new er).fromArray(i.value);break;case"v3":r.uniforms[t].value=(new Pr).fromArray(i.value);break;case"v4":r.uniforms[t].value=(new Fr).fromArray(i.value);break;case"m3":r.uniforms[t].value=(new tr).fromArray(i.value);break;
vendor: 17,798 bytes, line 2
2case"m4":r.uniforms[t].value=(new si).fromArray(i.value);break;default:r.uniforms[t].value=i.value}}if(void 0!==e.defines&&(r.defines=e.defines),void 0!==e.vertexShader&&(r.vertexShader=e.vertexShader),void 0!==e.fragmentShader&&(r.fragmentShader=e.fragmentShader),void 0!==e.glslVersion&&(r.glslVersion=e.glslVersion),void 0!==e.extensions)for(const t in e.extensions)r.extensions[t]=e.extensions[t];if(void 0!==e.lights&&(r.lights=e.lights),void 0!==e.clipping&&(r.clipping=e.clipping),void 0!==e.size&&(r.size=e.size),void 0!==e.sizeAttenuation&&(r.sizeAttenuation=e.sizeAttenuation),void 0!==e.map&&(r.map=n(e.map)),void 0!==e.matcap&&(r.matcap=n(e.matcap)),void 0!==e.alphaMap&&(r.alphaMap=n(e.alphaMap)),void 0!==e.bumpMap&&(r.bumpMap=n(e.bumpMap)),void 0!==e.bumpScale&&(r.bumpScale=e.bumpScale),void 0!==e.normalMap&&(r.normalMap=n(e.normalMap)),void 0!==e.normalMapType&&(r.normalMapType=e.normalMapType),void 0!==e.normalScale){let t=e.normalScale;!1===Array.isArray(t)&&(t=[t,t]),r.normalScale=(new er).fromArray(t)}return void 0!==e.displacementMap&&(r.displacementMap=n(e.displacementMap)),void 0!==e.displacementScale&&(r.displacementScale=e.displacementScale),void 0!==e.displacementBias&&(r.displacementBias=e.displacementBias),void 0!==e.roughnessMap&&(r.roughnessMap=n(e.roughnessMap)),void 0!==e.metalnessMap&&(r.metalnessMap=n(e.metalnessMap)),void 0!==e.emissiveMap&&(r.emissiveMap=n(e.emissiveMap)),void 0!==e.emissiveIntensity&&(r.emissiveIntensity=e.emissiveIntensity),void 0!==e.specularMap&&(r.specularMap=n(e.specularMap)),void 0!==e.specularIntensityMap&&(r.specularIntensityMap=n(e.specularIntensityMap)),void 0!==e.specularColorMap&&(r.specularColorMap=n(e.specularColorMap)),void 0!==e.envMap&&(r.envMap=n(e.envMap)),void 0!==e.envMapRotation&&r.envMapRotation.fromArray(e.envMapRotation),void 0!==e.envMapIntensity&&(r.envMapIntensity=e.envMapIntensity),void 0!==e.reflectivity&&(r.reflectivity=e.reflectivity),void 0!==e.refractionRatio&&(r.refractionRatio=e.refractionRatio),void 0!==e.lightMap&&(r.lightMap=n(e.lightMap)),void 0!==e.lightMapIntensity&&(r.lightMapIntensity=e.lightMapIntensity),void 0!==e.aoMap&&(r.aoMap=n(e.aoMap)),void 0!==e.aoMapIntensity&&(r.aoMapIntensity=e.aoMapIntensity),void 0!==e.gradientMap&&(r.gradientMap=n(e.gradientMap)),void 0!==e.clearcoatMap&&(r.clearcoatMap=n(e.clearcoatMap)),void 0!==e.clearcoatRoughnessMap&&(r.clearcoatRoughnessMap=n(e.clearcoatRoughnessMap)),void 0!==e.clearcoatNormalMap&&(r.clearcoatNormalMap=n(e.clearcoatNormalMap)),void 0!==e.clearcoatNormalScale&&(r.clearcoatNormalScale=(new er).fromArray(e.clearcoatNormalScale)),void 0!==e.iridescenceMap&&(r.iridescenceMap=n(e.iridescenceMap)),void 0!==e.iridescenceThicknessMap&&(r.iridescenceThicknessMap=n(e.iridescenceThicknessMap)),void 0!==e.transmissionMap&&(r.transmissionMap=n(e.transmissionMap)),void 0!==e.thicknessMap&&(r.thicknessMap=n(e.thicknessMap)),void 0!==e.anisotropyMap&&(r.anisotropyMap=n(e.anisotropyMap)),void 0!==e.sheenColorMap&&(r.sheenColorMap=n(e.sheenColorMap)),void 0!==e.sheenRoughnessMap&&(r.sheenRoughnessMap=n(e.sheenRoughnessMap)),r}setTextures(e){return this.textures=e,this}static createMaterialFromType(e){return new{ShadowMaterial:pd,SpriteMaterial:sl,RawShaderMaterial:fd,ShaderMaterial:$a,PointsMaterial:Tc,MeshPhysicalMaterial:gd,MeshStandardMaterial:md,MeshPhongMaterial:_d,MeshToonMaterial:Dd,MeshNormalMaterial:vd,MeshLambertMaterial:yd,MeshDepthMaterial:Us,MeshDistanceMaterial:zs,MeshBasicMaterial:ta,MeshMatcapMaterial:Ed,LineDashedMaterial:Ad,LineBasicMaterial:_c,Material:ea}[e]}}class Ap{static decodeText(e){if(console.warn("THREE.LoaderUtils: decodeText() has been deprecated with r165 and will be removed with r175. Use TextDecoder instead."),"undefined"!=typeof TextDecoder)return(new TextDecoder).decode(e);let t="";for(let n=0,r=e.length;n<r;n++)t+=String.fromCharCode(e[n]);try{return decodeURIComponent(escape(t))}catch(e){return t}}static extractUrlBase(e){const t=e.lastIndexOf("/");return-1===t?"./":e.slice(0,t+1)}static resolveURL(e,t){return"string"!=typeof e||""===e?"":(/^https?:\/\//i.test(t)&&/^\//.test(e)&&(t=t.replace(/(^https?:\/\/[^\/]+).*/i,"$1")),/^(https?:)?\/\//i.test(e)||/^data:.*,.*$/i.test(e)||/^blob:.*$/i.test(e)?e:t+e)}}class Cp extends Sa{constructor(){super(),this.isInstancedBufferGeometry=!0,this.type="InstancedBufferGeometry",this.instanceCount=1/0}copy(e){return super.copy(e),this.instanceCount=e.instanceCount,this}toJSON(){const e=super.toJSON();return e.instanceCount=this.instanceCount,e.isInstancedBufferGeometry=!0,e}}class Fp extends Xd{constructor(e){super(e)}load(e,t,n,r){const i=this,a=new Jd(i.manager);a.setPath(i.path),a.setRequestHeader(i.requestHeader),a.setWithCredentials(i.withCredentials),a.load(e,(function(n){try{t(i.parse(JSON.parse(n)))}catch(t){r?r(t):console.error(t),i.manager.itemError(e)}}),n,r)}parse(e){const t={},n={};function r(e,r){if(void 0!==t[r])return t[r];const i=e.interleavedBuffers[r],a=function(e,t){if(void 0!==n[t])return n[t];const r=e.arrayBuffers,i=r[t],a=new Uint32Array(i).buffer;return n[t]=a,a}(e,i.buffer),o=ar(i.type,a),u=new al(o,i.stride);return u.uuid=i.uuid,t[r]=u,u}const i=e.isInstancedBufferGeometry?new Cp:new Sa,a=e.data.index;if(void 0!==a){const e=ar(a.type,a.array);i.setIndex(new la(e,1))}const o=e.data.attributes;for(const t in o){const n=o[t];let a;if(n.isInterleavedBufferAttribute){const t=r(e.data,n.data);a=new ul(t,n.itemSize,n.offset,n.normalized)}else{const e=ar(n.type,n.array);a=new(n.isInstancedBufferAttribute?Wl:la)(e,n.itemSize,n.normalized)}void 0!==n.name&&(a.name=n.name),void 0!==n.usage&&a.setUsage(n.usage),i.setAttribute(t,a)}const u=e.data.morphAttributes;if(u)for(const t in u){const n=u[t],a=[];for(let t=0,i=n.length;t<i;t++){const i=n[t];let o;if(i.isInterleavedBufferAttribute){const t=r(e.data,i.data);o=new ul(t,i.itemSize,i.offset,i.normalized)}else{const e=ar(i.type,i.array);o=new la(e,i.itemSize,i.normalized)}void 0!==i.name&&(o.name=i.name),a.push(o)}i.morphAttributes[t]=a}e.data.morphTargetsRelative&&(i.morphTargetsRelative=!0);const s=e.data.groups||e.data.drawcalls||e.data.offsets;if(void 0!==s)for(let e=0,t=s.length;e!==t;++e){const t=s[e];i.addGroup(t.start,t.count,t.materialIndex)}const l=e.data.boundingSphere;if(void 0!==l){const e=new Pr;void 0!==l.center&&e.fromArray(l.center),i.boundingSphere=new Zr(e,l.radius)}return e.name&&(i.name=e.name),e.userData&&(i.userData=e.userData),i}}class bp extends Xd{constructor(e){super(e)}load(e,t,n,r){const i=this,a=""===this.path?Ap.extractUrlBase(e):this.path;this.resourcePath=this.resourcePath||a;const o=new Jd(this.manager);o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,(function(n){let a=null;try{a=JSON.parse(n)}catch(t){return void 0!==r&&r(t),void console.error("THREE:ObjectLoader: Can't parse "+e+".",t.message)}const o=a.metadata;if(void 0===o||void 0===o.type||"geometry"===o.type.toLowerCase())return void 0!==r&&r(new Error("THREE.ObjectLoader: Can't load "+e)),void console.error("THREE.ObjectLoader: Can't load "+e);i.parse(a,t)}),n,r)}async loadAsync(e,t){const n=""===this.path?Ap.extractUrlBase(e):this.path;this.resourcePath=this.resourcePath||n;const r=new Jd(this.manager);r.setPath(this.path),r.setRequestHeader(this.requestHeader),r.setWithCredentials(this.withCredentials);const i=await r.loadAsync(e,t),a=JSON.parse(i),o=a.metadata;if(void 0===o||void 0===o.type||"geometry"===o.type.toLowerCase())throw new Error("THREE.ObjectLoader: Can't load "+e);return await this.parseAsync(a)}parse(e,t){const n=this.parseAnimations(e.animations),r=this.parseShapes(e.shapes),i=this.parseGeometries(e.geometries,r),a=this.parseImages(e.images,(function(){void 0!==t&&t(s)})),o=this.parseTextures(e.textures,a),u=this.parseMaterials(e.materials,o),s=this.parseObject(e.object,i,u,o,n),l=this.parseSkeletons(e.skeletons,s);if(this.bindSkeletons(s,l),void 0!==t){let e=!1;for(const t in a)if(a[t].data instanceof HTMLImageElement){e=!0;break}!1===e&&t(s)}return s}async parseAsync(e){const t=this.parseAnimations(e.animations),n=this.parseShapes(e.shapes),r=this.parseGeometries(e.geometries,n),i=await this.parseImagesAsync(e.images),a=this.parseTextures(e.textures,i),o=this.parseMaterials(e.materials,a),u=this.parseObject(e.object,r,o,a,t),s=this.parseSkeletons(e.skeletons,u);return this.bindSkeletons(u,s),u}parseShapes(e){const t={};if(void 0!==e)for(let n=0,r=e.length;n<r;n++){const r=(new Fh).fromJSON(e[n]);t[r.uuid]=r}return t}parseSkeletons(e,t){const n={},r={};if(t.traverse((function(e){e.isBone&&(r[e.uuid]=e)})),void 0!==e)for(let t=0,i=e.length;t<i;t++){const i=(new Vl).fromJSON(e[t],r);n[i.uuid]=i}return n}parseGeometries(e,t){const n={};if(void 0!==e){const r=new Fp;for(let i=0,a=e.length;i<a;i++){let a;const o=e[i];switch(o.type){case"BufferGeometry":case"InstancedBufferGeometry":a=r.parse(o);break;default:o.type in dd?a=dd[o.type].fromJSON(o,t):console.warn(`THREE.ObjectLoader: Unsupported geometry type "${o.type}"`)}a.uuid=o.uuid,void 0!==o.name&&(a.name=o.name),void 0!==o.userData&&(a.userData=o.userData),n[o.uuid]=a}}return n}parseMaterials(e,t){const n={},r={};if(void 0!==e){const i=new Ep;i.setTextures(t);for(let t=0,a=e.length;t<a;t++){const a=e[t];void 0===n[a.uuid]&&(n[a.uuid]=i.parse(a)),r[a.uuid]=n[a.uuid]}}return r}parseAnimations(e){const t={};if(void 0!==e)for(let n=0;n<e.length;n++){const r=e[n],i=Vd.parse(r);t[i.uuid]=i}return t}parseImages(e,t){const n=this,r={};let i;function a(e){if("string"==typeof e){const t=e;return function(e){return n.manager.itemStart(e),i.load(e,(function(){n.manager.itemEnd(e)}),void 0,(function(){n.manager.itemError(e),n.manager.itemEnd(e)}))}(/^(\/\/)|([a-z]+:(\/\/)?)/i.test(t)?t:n.resourcePath+t)}return e.data?{data:ar(e.type,e.data),width:e.width,height:e.height}:null}if(void 0!==e&&e.length>0){const n=new Gd(t);i=new Qd(n),i.setCrossOrigin(this.crossOrigin);for(let t=0,n=e.length;t<n;t++){const n=e[t],i=n.url;if(Array.isArray(i)){const e=[];for(let t=0,n=i.length;t<n;t++){const n=a(i[t]);null!==n&&(n instanceof HTMLImageElement?e.push(n):e.push(new kl(n.data,n.width,n.height)))}r[n.uuid]=new yr(e)}else{const e=a(n.url);r[n.uuid]=new yr(e)}}}return r}async parseImagesAsync(e){const t=this,n={};let r;async function i(e){if("string"==typeof e){const n=e,i=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(n)?n:t.resourcePath+n;return await r.loadAsync(i)}return e.data?{data:ar(e.type,e.data),width:e.width,height:e.height}:null}if(void 0!==e&&e.length>0){r=new Qd(this.manager),r.setCrossOrigin(this.crossOrigin);for(let t=0,r=e.length;t<r;t++){const r=e[t],a=r.url;if(Array.isArray(a)){const e=[];for(let t=0,n=a.length;t<n;t++){const n=a[t],r=await i(n);null!==r&&(r instanceof HTMLImageElement?e.push(r):e.push(new kl(r.data,r.width,r.height)))}n[r.uuid]=new yr(e)}else{const e=await i(r.url);n[r.uuid]=new yr(e)}}}return n}parseTextures(e,t){function n(e,t){return"number"==typeof e?e:(console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",e),t[e])}const r={};if(void 0!==e)for(let i=0,a=e.length;i<a;i++){const a=e[i];void 0===a.image&&console.warn('THREE.ObjectLoader: No "image" specified for',a.uuid),void 0===t[a.image]&&console.warn("THREE.ObjectLoader: Undefined image",a.image);const o=t[a.image],u=o.data;let s;Array.isArray(u)?(s=new ao,6===u.length&&(s.needsUpdate=!0)):(s=u&&u.data?new kl:new Cr,u&&(s.needsUpdate=!0)),s.source=o,s.uuid=a.uuid,void 0!==a.name&&(s.name=a.name),void 0!==a.mapping&&(s.mapping=n(a.mapping,Sp)),void 0!==a.channel&&(s.channel=a.channel),void 0!==a.offset&&s.offset.fromArray(a.offset),void 0!==a.repeat&&s.repeat.fromArray(a.repeat),void 0!==a.center&&s.center.fromArray(a.center),void 0!==a.rotation&&(s.rotation=a.rotation),void 0!==a.wrap&&(s.wrapS=n(a.wrap[0],xp),s.wrapT=n(a.wrap[1],xp)),void 0!==a.format&&(s.format=a.format),void 0!==a.internalFormat&&(s.internalFormat=a.internalFormat),void 0!==a.type&&(s.type=a.type),void 0!==a.colorSpace&&(s.colorSpace=a.colorSpace),void 0!==a.minFilter&&(s.minFilter=n(a.minFilter,Bp)),void 0!==a.magFilter&&(s.magFilter=n(a.magFilter,Bp)),void 0!==a.anisotropy&&(s.anisotropy=a.anisotropy),void 0!==a.flipY&&(s.flipY=a.flipY),void 0!==a.generateMipmaps&&(s.generateMipmaps=a.generateMipmaps),void 0!==a.premultiplyAlpha&&(s.premultiplyAlpha=a.premultiplyAlpha),void 0!==a.unpackAlignment&&(s.unpackAlignment=a.unpackAlignment),void 0!==a.compareFunction&&(s.compareFunction=a.compareFunction),void 0!==a.userData&&(s.userData=a.userData),r[a.uuid]=s}return r}parseObject(e,t,n,r,i){let a,o,u;function s(e){return void 0===t[e]&&console.warn("THREE.ObjectLoader: Undefined geometry",e),t[e]}function l(e){if(void 0!==e){if(Array.isArray(e)){const t=[];for(let r=0,i=e.length;r<i;r++){const i=e[r];void 0===n[i]&&console.warn("THREE.ObjectLoader: Undefined material",i),t.push(n[i])}return t}return void 0===n[e]&&console.warn("THREE.ObjectLoader: Undefined material",e),n[e]}}function c(e){return void 0===r[e]&&console.warn("THREE.ObjectLoader: Undefined texture",e),r[e]}switch(e.type){case"Scene":a=new il,void 0!==e.background&&(Number.isInteger(e.background)?a.background=new $i(e.background):a.background=c(e.background)),void 0!==e.environment&&(a.environment=c(e.environment)),void 0!==e.fog&&("Fog"===e.fog.type?a.fog=new rl(e.fog.color,e.fog.near,e.fog.far):"FogExp2"===e.fog.type&&(a.fog=new nl(e.fog.color,e.fog.density)),""!==e.fog.name&&(a.fog.name=e.fog.name)),void 0!==e.backgroundBlurriness&&(a.backgroundBlurriness=e.backgroundBlurriness),void 0!==e.backgroundIntensity&&(a.backgroundIntensity=e.backgroundIntensity),void 0!==e.backgroundRotation&&a.backgroundRotation.fromArray(e.backgroundRotation),void 0!==e.environmentIntensity&&(a.environmentIntensity=e.environmentIntensity),void 0!==e.environmentRotation&&a.environmentRotation.fromArray(e.environmentRotation);break;case"PerspectiveCamera":a=new no(e.fov,e.aspect,e.near,e.far),void 0!==e.focus&&(a.focus=e.focus),void 0!==e.zoom&&(a.zoom=e.zoom),void 0!==e.filmGauge&&(a.filmGauge=e.filmGauge),void 0!==e.filmOffset&&(a.filmOffset=e.filmOffset),void 0!==e.view&&(a.view=Object.assign({},e.view));break;case"OrthographicCamera":a=new Mo(e.left,e.right,e.top,e.bottom,e.near,e.far),void 0!==e.zoom&&(a.zoom=e.zoom),void 0!==e.view&&(a.view=Object.assign({},e.view));break;case"AmbientLight":a=new _p(e.color,e.intensity);break;case"DirectionalLight":a=new gp(e.color,e.intensity);break;case"PointLight":a=new fp(e.color,e.intensity,e.distance,e.decay);break;case"RectAreaLight":a=new Dp(e.color,e.intensity,e.width,e.height);break;case"SpotLight":a=new lp(e.color,e.intensity,e.distance,e.angle,e.penumbra,e.decay);break;case"HemisphereLight":a=new rp(e.color,e.groundColor,e.intensity);break;case"LightProbe":a=(new yp).fromJSON(e);break;case"SkinnedMesh":o=s(e.geometry),u=l(e.material),a=new Ll(o,u),void 0!==e.bindMode&&(a.bindMode=e.bindMode),void 0!==e.bindMatrix&&a.bindMatrix.fromArray(e.bindMatrix),void 0!==e.skeleton&&(a.skeleton=e.skeleton);break;case"Mesh":o=s(e.geometry),u=l(e.material),a=new Ga(o,u);break;case"InstancedMesh":o=s(e.geometry),u=l(e.material);const t=e.count,n=e.instanceMatrix,r=e.instanceColor;a=new Yl(o,u,t),a.instanceMatrix=new Wl(new Float32Array(n.array),16),void 0!==r&&(a.instanceColor=new Wl(new Float32Array(r.array),r.itemSize));break;case"BatchedMesh":o=s(e.geometry),u=l(e.material),a=new gc(e.maxGeometryCount,e.maxVertexCount,e.maxIndexCount,u),a.geometry=o,a.perObjectFrustumCulled=e.perObjectFrustumCulled,a.sortObjects=e.sortObjects,a._drawRanges=e.drawRanges,a._reservedRanges=e.reservedRanges,a._visibility=e.visibility,a._active=e.active,a._bounds=e.bounds.map((e=>{const t=new Nr;t.min.fromArray(e.boxMin),t.max.fromArray(e.boxMax);const n=new Zr;return n.radius=e.sphereRadius,n.center.fromArray(e.sphereCenter),{boxInitialized:e.boxInitialized,box:t,sphereInitialized:e.sphereInitialized,sphere:n}})),a._maxGeometryCount=e.maxGeometryCount,a._maxVertexCount=e.maxVertexCount,a._maxIndexCount=e.maxIndexCount,a._geometryInitialized=e.geometryInitialized,a._geometryCount=e.geometryCount,a._matricesTexture=c(e.matricesTexture.uuid),void 0!==e.colorsTexture&&(a._colorsTexture=c(e.colorsTexture.uuid));break;case"LOD":a=new Sl;break;case"Line":a=new bc(s(e.geometry),l(e.material));break;case"LineLoop":a=new Mc(s(e.geometry),l(e.material));break;case"LineSegments":a=new wc(s(e.geometry),l(e.material));break;case"PointCloud":case"Points":a=new Lc(s(e.geometry),l(e.material));break;case"Sprite":a=new Al(l(e.material));break;case"Group":a=new Xs;break;case"Bone":a=new Ol;break;default:a=new Ni}if(a.uuid=e.uuid,void 0!==e.name&&(a.name=e.name),void 0!==e.matrix?(a.matrix.fromArray(e.matrix),void 0!==e.matrixAutoUpdate&&(a.matrixAutoUpdate=e.matrixAutoUpdate),a.matrixAutoUpdate&&a.matrix.decompose(a.position,a.quaternion,a.scale)):(void 0!==e.position&&a.position.fromArray(e.position),void 0!==e.rotation&&a.rotation.fromArray(e.rotation),void 0!==e.quaternion&&a.quaternion.fromArray(e.quaternion),void 0!==e.scale&&a.scale.fromArray(e.scale)),void 0!==e.up&&a.up.fromArray(e.up),void 0!==e.castShadow&&(a.castShadow=e.castShadow),void 0!==e.receiveShadow&&(a.receiveShadow=e.receiveShadow),e.shadow&&(void 0!==e.shadow.bias&&(a.shadow.bias=e.shadow.bias),void 0!==e.shadow.normalBias&&(a.shadow.normalBias=e.shadow.normalBias),void 0!==e.shadow.radius&&(a.shadow.radius=e.shadow.radius),void 0!==e.shadow.mapSize&&a.shadow.mapSize.fromArray(e.shadow.mapSize),void 0!==e.shadow.camera&&(a.shadow.camera=this.parseObject(e.shadow.camera))),void 0!==e.visible&&(a.visible=e.visible),void 0!==e.frustumCulled&&(a.frustumCulled=e.frustumCulled),void 0!==e.renderOrder&&(a.renderOrder=e.renderOrder),void 0!==e.userData&&(a.userData=e.userData),void 0!==e.layers&&(a.layers.mask=e.layers
2),void 0!==e.children){const o=e.children;for(let e=0;e<o.length;e++)a.add(this.parseObject(o[e],t,n,r,i))}if(void 0!==e.animations){const t=e.animations;for(let e=0;e<t.length;e++){const n=t[e];a.animations.push(i[n])}}if("LOD"===e.type){void 0!==e.autoUpdate&&(a.autoUpdate=e.autoUpdate);const t=e.levels;for(let e=0;e<t.length;e++){const n=t[e],r=a.getObjectByProperty("uuid",n.object);void 0!==r&&a.addLevel(r,n.distance,n.hysteresis)}}return a}bindSkeletons(e,t){0!==Object.keys(t).length&&e.traverse((function(e){if(!0===e.isSkinnedMesh&&void 0!==e.skeleton){const n=t[e.skeleton];void 0===n?console.warn("THREE.ObjectLoader: No skeleton found with UUID:",e.skeleton):e.bind(n,e.bindMatrix)}}))}}const Sp={UVMapping:ce,CubeReflectionMapping:he,CubeRefractionMapping:de,EquirectangularReflectionMapping:pe,EquirectangularRefractionMapping:fe,CubeUVReflectionMapping:me},xp={RepeatWrapping:ge,ClampToEdgeWrapping:_e,MirroredRepeatWrapping:De},Bp={NearestFilter:ve,NearestMipmapNearestFilter:ye,NearestMipmapLinearFilter:Ae,LinearFilter:Fe,LinearMipmapNearestFilter:be,LinearMipmapLinearFilter:xe};class wp extends Xd{constructor(e){super(e),this.isImageBitmapLoader=!0,"undefined"==typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),"undefined"==typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,n,r){void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const i=this,a=Hd.get(e);if(void 0!==a)return i.manager.itemStart(e),a.then?void a.then((n=>{t&&t(n),i.manager.itemEnd(e)})).catch((e=>{r&&r(e)})):(setTimeout((function(){t&&t(a),i.manager.itemEnd(e)}),0),a);const o={};o.credentials="anonymous"===this.crossOrigin?"same-origin":"include",o.headers=this.requestHeader;const u=fetch(e,o).then((function(e){return e.blob()})).then((function(e){return createImageBitmap(e,Object.assign(i.options,{colorSpaceConversion:"none"}))})).then((function(n){return Hd.add(e,n),t&&t(n),i.manager.itemEnd(e),n})).catch((function(t){r&&r(t),Hd.remove(e),i.manager.itemError(e),i.manager.itemEnd(e)}));Hd.add(e,u),i.manager.itemStart(e)}}let Mp;class Tp{static getContext(){return void 0===Mp&&(Mp=new(window.AudioContext||window.webkitAudioContext)),Mp}static setContext(e){Mp=e}}class Pp extends Xd{constructor(e){super(e)}load(e,t,n,r){const i=this,a=new Jd(this.manager);function o(t){r?r(t):console.error(t),i.manager.itemError(e)}a.setResponseType("arraybuffer"),a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,(function(e){try{const n=e.slice(0);Tp.getContext().decodeAudioData(n,(function(e){t(e)})).catch(o)}catch(e){o(e)}}),n,r)}}const Rp=new si,Ip=new si,Np=new si;class Lp{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new no,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new no,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(e){const t=this._cache;if(t.focus!==e.focus||t.fov!==e.fov||t.aspect!==e.aspect*this.aspect||t.near!==e.near||t.far!==e.far||t.zoom!==e.zoom||t.eyeSep!==this.eyeSep){t.focus=e.focus,t.fov=e.fov,t.aspect=e.aspect*this.aspect,t.near=e.near,t.far=e.far,t.zoom=e.zoom,t.eyeSep=this.eyeSep,Np.copy(e.projectionMatrix);const n=t.eyeSep/2,r=n*t.near/t.focus,i=t.near*Math.tan(jn*t.fov*.5)/t.zoom;let a,o;Ip.elements[12]=-n,Rp.elements[12]=n,a=-i*t.aspect+r,o=i*t.aspect+r,Np.elements[0]=2*t.near/(o-a),Np.elements[8]=(o+a)/(o-a),this.cameraL.projectionMatrix.copy(Np),a=-i*t.aspect-r,o=i*t.aspect-r,Np.elements[0]=2*t.near/(o-a),Np.elements[8]=(o+a)/(o-a),this.cameraR.projectionMatrix.copy(Np)}this.cameraL.matrixWorld.copy(e.matrixWorld).multiply(Ip),this.cameraR.matrixWorld.copy(e.matrixWorld).multiply(Rp)}}class Op{constructor(e=!0){this.autoStart=e,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=kp(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const t=kp();e=(t-this.oldTime)/1e3,this.oldTime=t,this.elapsedTime+=e}return e}}function kp(){return("undefined"==typeof performance?Date:performance).now()}const Up=new Pr,zp=new Tr,Vp=new Pr,Wp=new Pr;class Hp extends Ni{constructor(){super(),this.type="AudioListener",this.context=Tp.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new Op}getInput(){return this.gain}removeFilter(){return null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(e){return null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=e,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}updateMatrixWorld(e){super.updateMatrixWorld(e);const t=this.context.listener,n=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(Up,zp,Vp),Wp.set(0,0,-1).applyQuaternion(zp),t.positionX){const e=this.context.currentTime+this.timeDelta;t.positionX.linearRampToValueAtTime(Up.x,e),t.positionY.linearRampToValueAtTime(Up.y,e),t.positionZ.linearRampToValueAtTime(Up.z,e),t.forwardX.linearRampToValueAtTime(Wp.x,e),t.forwardY.linearRampToValueAtTime(Wp.y,e),t.forwardZ.linearRampToValueAtTime(Wp.z,e),t.upX.linearRampToValueAtTime(n.x,e),t.upY.linearRampToValueAtTime(n.y,e),t.upZ.linearRampToValueAtTime(n.z,e)}else t.setPosition(Up.x,Up.y,Up.z),t.setOrientation(Wp.x,Wp.y,Wp.z,n.x,n.y,n.z)}}class Gp extends Ni{constructor(e){super(),this.type="Audio",this.listener=e,this.context=e.context,this.gain=this.context.createGain(),this.gain.connect(e.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl
vendor: 10,805 bytes, line 2
2=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this}setMediaElementSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this}setMediaStreamSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this}setBuffer(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this}play(e=0){if(!0===this.isPlaying)return void console.warn("THREE.Audio: Audio is already playing.");if(!1===this.hasPlaybackControl)return void console.warn("THREE.Audio: this Audio has no playback control.");this._startedAt=this.context.currentTime+e;const t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(!1!==this.hasPlaybackControl)return!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this;console.warn("THREE.Audio: this Audio has no playback control.")}stop(){if(!1!==this.hasPlaybackControl)return this._progress=0,null!==this.source&&(this.source.stop(),this.source.onended=null),this.isPlaying=!1,this;console.warn("THREE.Audio: this Audio has no playback control.")}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let e=1,t=this.filters.length;e<t;e++)this.filters[e-1].connect(this.filters[e]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this._connected=!0,this}disconnect(){if(!1!==this._connected){if(this.filters.length>0){this.source.disconnect(this.filters[0]);for(let e=1,t=this.filters.length;e<t;e++)this.filters[e-1].disconnect(this.filters[e]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this._connected=!1,this}}getFilters(){return this.filters}setFilters(e){return e||(e=[]),!0===this._connected?(this.disconnect(),this.filters=e.slice(),this.connect()):this.filters=e.slice(),this}setDetune(e){return this.detune=e,!0===this.isPlaying&&void 0!==this.source.detune&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this}getDetune(){return this.detune}getFilter(){return this.getFilters()[0]}setFilter(e){return this.setFilters(e?[e]:[])}setPlaybackRate(e){if(!1!==this.hasPlaybackControl)return this.playbackRate=e,!0===this.isPlaying&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this;console.warn("THREE.Audio: this Audio has no playback control.")}getPlaybackRate(){return this.playbackRate}onEnded(){this.isPlaying=!1}getLoop(){return!1===this.hasPlaybackControl?(console.warn("THREE.Audio: this Audio has no playback control."),!1):this.loop}setLoop(e){if(!1!==this.hasPlaybackControl)return this.loop=e,!0===this.isPlaying&&(this.source.loop=this.loop),this;console.warn("THREE.Audio: this Audio has no playback control.")}setLoopStart(e){return this.loopStart=e,this}setLoopEnd(e){return this.loopEnd=e,this}getVolume(){return this.gain.gain.value}setVolume(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}}const jp=new Pr,Xp=new Tr,Kp=new Pr,qp=new Pr;class Jp extends Gp{constructor(e){super(e),this.panner=this.context.createPanner(),this.panner.panningModel="HRTF",this.panner.connect(this.gain)}connect(){super.connect(),this.panner.connect(this.gain)}disconnect(){super.disconnect(),this.panner.disconnect(this.gain)}getOutput(){return this.panner}getRefDistance(){return this.panner.refDistance}setRefDistance(e){return this.panner.refDistance=e,this}getRolloffFactor(){return this.panner.rolloffFactor}setRolloffFactor(e){return this.panner.rolloffFactor=e,this}getDistanceModel(){return this.panner.distanceModel}setDistanceModel(e){return this.panner.distanceModel=e,this}getMaxDistance(){return this.panner.maxDistance}setMaxDistance(e){return this.panner.maxDistance=e,this}setDirectionalCone(e,t,n){return this.panner.coneInnerAngle=e,this.panner.coneOuterAngle=t,this.panner.coneOuterGain=n,this}updateMatrixWorld(e){if(super.updateMatrixWorld(e),!0===this.hasPlaybackControl&&!1===this.isPlaying)return;this.matrixWorld.decompose(jp,Xp,Kp),qp.set(0,0,1).applyQuaternion(Xp);const t=this.panner;if(t.positionX){const e=this.context.currentTime+this.listener.timeDelta;t.positionX.linearRampToValueAtTime(jp.x,e),t.positionY.linearRampToValueAtTime(jp.y,e),t.positionZ.linearRampToValueAtTime(jp.z,e),t.orientationX.linearRampToValueAtTime(qp.x,e),t.orientationY.linearRampToValueAtTime(qp.y,e),t.orientationZ.linearRampToValueAtTime(qp.z,e)}else t.setPosition(jp.x,jp.y,jp.z),t.setOrientation(qp.x,qp.y,qp.z)}}class Yp{constructor(e,t=2048){this.analyser=e.context.createAnalyser(),this.analyser.fftSize=t,this.data=new Uint8Array(this.analyser.frequencyBinCount),e.getOutput().connect(this.analyser)}getFrequencyData(){return this.analyser.getByteFrequencyData(this.data),this.data}getAverageFrequency(){let e=0;const t=this.getFrequencyData();for(let n=0;n<t.length;n++)e+=t[n];return e/t.length}}class $p{constructor(e,t,n){let r,i,a;switch(this.binding=e,this.valueSize=n,t){case"quaternion":r=this._slerp,i=this._slerpAdditive,a=this._setAdditiveIdentityQuaternion,this.buffer=new Float64Array(6*n),this._workIndex=5;break;case"string":case"bool":r=this._select,i=this._select,a=this._setAdditiveIdentityOther,this.buffer=new Array(5*n);break;default:r=this._lerp,i=this._lerpAdditive,a=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(5*n)}this._mixBufferRegion=r,this._mixBufferRegionAdditive=i,this._setIdentity=a,this._origIndex=3,this._addIndex=4,this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,this.useCount=0,this.referenceCount=0}accumulate(e,t){const n=this.buffer,r=this.valueSize,i=e*r+r;let a=this.cumulativeWeight;if(0===a){for(let e=0;e!==r;++e)n[i+e]=n[e];a=t}else{a+=t;const e=t/a;this._mixBufferRegion(n,i,0,e,r)}this.cumulativeWeight=a}accumulateAdditive(e){const t=this.buffer,n=this.valueSize,r=n*this._addIndex;0===this.cumulativeWeightAdditive&&this._setIdentity(),this._mixBufferRegionAdditive(t,r,0,e,n),this.cumulativeWeightAdditive+=e}apply(e){const t=this.valueSize,n=this.buffer,r=e*t+t,i=this.cumulativeWeight,a=this.cumulativeWeightAdditive,o=this.binding;if(this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,i<1){const e=t*this._origIndex;this._mixBufferRegion(n,r,e,1-i,t)}a>0&&this._mixBufferRegionAdditive(n,r,this._addIndex*t,1,t);for(let e=t,i=t+t;e!==i;++e)if(n[e]!==n[e+t]){o.setValue(n,r);break}}saveOriginalState(){const e=this.binding,t=this.buffer,n=this.valueSize,r=n*this._origIndex;e.getValue(t,r);for(let e=n,i=r;e!==i;++e)t[e]=t[r+e%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){const e=3*this.valueSize;this.binding.setValue(this.buffer,e)}_setAdditiveIdentityNumeric(){const e=this._addIndex*this.valueSize,t=e+this.valueSize;for(let n=e;n<t;n++)this.buffer[n]=0}_setAdditiveIdentityQuaternion(){this._setAdditiveIdentityNumeric(),this.buffer[this._addIndex*this.valueSize+3]=1}_setAdditiveIdentityOther(){const e=this._origIndex*this.valueSize,t=this._addIndex*this.valueSize;for(let n=0;n<this.valueSize;n++)this.buffer[t+n]=this.buffer[e+n]}_select(e,t,n,r,i){if(r>=.5)for(let r=0;r!==i;++r)e[t+r]=e[n+r]}_slerp(e,t,n,r){Tr.slerpFlat(e,t,e,t,e,n,r)}_slerpAdditive(e,t,n,r,i){const a=this._workIndex*i;Tr.multiplyQuaternionsFlat(e,a,e,t,e,n),Tr.slerpFlat(e,t,e,t,e,a,r)}_lerp(e,t,n,r,i){const a=1-r;for(let o=0;o!==i;++o){const i=t+o;e[i]=e[i]*a+e[n+o]*r}}_lerpAdditive(e,t,n,r,i){for(let a=0;a!==i;++a){const i=t+a;e[i]=e[i]+e[n+a]*r}}}const Qp="\\[\\]\\.:\\/",Zp=new RegExp("["+Qp+"]","g"),ef="[^"+Qp+"]",tf="[^"+Qp.replace("\\.","")+"]",nf=new RegExp("^"+/((?:WC+[\/:])*)/.source.replace("WC",ef)+/(WCOD+)?/.source.replace("WCOD",tf)+/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",ef)+/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",ef)+"$"),rf=["material","materials","bones","map"];class af{constructor(e,t,n){this.path=t,this.parsedPath=n||af.parseTrackName(t),this.node=af.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,n){return e&&e.isAnimationObjectGroup?new af.Composite(e,t,n):new af(e,t,n)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(Zp,"")}static parseTrackName(e){const t=nf.exec(e);if(null===t)throw new Error("PropertyBinding: Cannot parse trackName: "+e);const n={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},r=n.nodeName&&n.nodeName.lastIndexOf(".");if(void 0!==r&&-1!==r){const e=n.nodeName.substring(r+1);-1!==rf.indexOf(e)&&(n.nodeName=n.nodeName.substring(0,r),n.objectName=e)}if(null===n.propertyName||0===n.propertyName.length)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return n}static findNode(e,t){if(void 0===t||""===t||"."===t||-1===t||t===e.name||t===e.uuid)return e;if(e.skeleton){const n=e.skeleton.getBoneByName(t);if(void 0!==n)return n}if(e.children){const n=function(e){for(let r=0;r<e.length;r++){const i=e[r];if(i.name===t||i.uuid===t)return i;const a=n(i.children);if(a)return a}return null},r=n(e.children);if(r)return r}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(e,t){e[t]=this.targetObject[this.propertyName]}_getValue_array(e,t){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)e[t++]=n[r]}_getValue_arrayElement(e,t){e[t]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(e,t){this.resolvedProperty.toArray(e,t)}_setValue_direct(e,t){this.targetObject[this.propertyName]=e[t]}_setValue_direct_setNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(e,t){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++]}_setValue_array_setNeedsUpdate(e,t){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++];this.targetObject.needsUpdate=!0}
vendor: 4,981 bytes, line 2
2_setValue_array_setMatrixWorldNeedsUpdate(e,t){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(e,t){this.resolvedProperty[this.propertyIndex]=e[t]}_setValue_arrayElement_setNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(e,t){this.resolvedProperty.fromArray(e,t)}_setValue_fromArray_setNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(e,t){this.bind(),this.getValue(e,t)}_setValue_unbound(e,t){this.bind(),this.setValue(e,t)}bind(){let e=this.node;const t=this.parsedPath,n=t.objectName,r=t.propertyName;let i=t.propertyIndex;if(e||(e=af.findNode(this.rootNode,t.nodeName),this.node=e),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!e)return void console.warn("THREE.PropertyBinding: No target node found for track: "+this.path+".");if(n){let r=t.objectIndex;switch(n){case"materials":if(!e.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!e.material.materials)return void console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);e=e.material.materials;break;case"bones":if(!e.skeleton)return void console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);e=e.skeleton.bones;for(let t=0;t<e.length;t++)if(e[t].name===r){r=t;break}break;case"map":if("map"in e){e=e.map;break}if(!e.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!e.material.map)return void console.error("THREE.PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);e=e.material.map;break;default:if(void 0===e[n])return void console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);e=e[n]}if(void 0!==r){if(void 0===e[r])return void console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,e);e=e[r]}}const a=e[r];if(void 0===a){const n=t.nodeName;return void console.error("THREE.PropertyBinding: Trying to update property for track: "+n+"."+r+" but it wasn't found.",e)}let o=this.Versioning.None;this.targetObject=e,void 0!==e.needsUpdate?o=this.Versioning.NeedsUpdate:void 0!==e.matrixWorldNeedsUpdate&&(o=this.Versioning.MatrixWorldNeedsUpdate);let u=this.BindingType.Direct;if(void 0!==i){if("morphTargetInfluences"===r){if(!e.geometry)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);if(!e.geometry.morphAttributes)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);void 0!==e.morphTargetDictionary[i]&&(i=e.morphTargetDictionary[i])}u=this.BindingType.ArrayElement,this.resolvedProperty=a,this.propertyIndex=i}else void 0!==a.fromArray&&void 0!==a.toArray?(u=this.BindingType.HasFromToArray,this.resolvedProperty=a):Array.isArray(a)?(u=this.BindingType.EntireArray,this.resolvedProperty=a):this.propertyName=r;this.getValue=this.GetterByBindingType[u],this.setValue=this.SetterByBindingTypeAndVersioning[u][o]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}af.Composite=class{constructor(e,t,n){const r=n||af.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,r)}getValue(e,t){this.bind();const n=this._targetGroup.nCachedObjects_,r=this._bindings[n];void 0!==r&&r.getValue(e,t)}setValue(e,t){const n=this._bindings;for(let r=this._targetGroup.nCachedObjects_,i=n.length;r!==i;++r)n[r].setValue(e,t)}bind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].bind()}unbind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].unbind()}},af.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},af.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},af.prototype.GetterByBindingType=[af.prototype._getValue_direct,af.prototype._getValue_array,af.prototype._getValue_arrayElement,af.prototype._getValue_toArray],af.prototype.SetterByBindingTypeAndVersioning=[[af.prototype._setValue_direct,af.prototype._setValue_direct_setNeedsUpdate,af.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[af.prototype._setValue_array,af.prototype._setValue_array_setNeedsUpdate,af.prototype._setValue_array_setMatr
vendor: 4,365 bytes, line 2
2ixWorldNeedsUpdate],[af.prototype._setValue_arrayElement,af.prototype._setValue_arrayElement_setNeedsUpdate,af.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[af.prototype._setValue_fromArray,af.prototype._setValue_fromArray_setNeedsUpdate,af.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];class of{constructor(){this.isAnimationObjectGroup=!0,this.uuid=Kn(),this._objects=Array.prototype.slice.call(arguments),this.nCachedObjects_=0;const e={};this._indicesByUUID=e;for(let t=0,n=arguments.length;t!==n;++t)e[arguments[t].uuid]=t;this._paths=[],this._parsedPaths=[],this._bindings=[],this._bindingsIndicesByPath={};const t=this;this.stats={objects:{get total(){return t._objects.length},get inUse(){return this.total-t.nCachedObjects_}},get bindingsPerObject(){return t._bindings.length}}}add(){const e=this._objects,t=this._indicesByUUID,n=this._paths,r=this._parsedPaths,i=this._bindings,a=i.length;let o,u=e.length,s=this.nCachedObjects_;for(let l=0,c=arguments.length;l!==c;++l){const c=arguments[l],h=c.uuid;let d=t[h];if(void 0===d){d=u++,t[h]=d,e.push(c);for(let e=0,t=a;e!==t;++e)i[e].push(new af(c,n[e],r[e]))}else if(d<s){o=e[d];const u=--s,l=e[u];t[l.uuid]=d,e[d]=l,t[h]=u,e[u]=c;for(let e=0,t=a;e!==t;++e){const t=i[e],a=t[u];let o=t[d];t[d]=a,void 0===o&&(o=new af(c,n[e],r[e])),t[u]=o}}else e[d]!==o&&console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.")}this.nCachedObjects_=s}remove(){const e=this._objects,t=this._indicesByUUID,n=this._bindings,r=n.length;let i=this.nCachedObjects_;for(let a=0,o=arguments.length;a!==o;++a){const o=arguments[a],u=o.uuid,s=t[u];if(void 0!==s&&s>=i){const a=i++,l=e[a];t[l.uuid]=s,e[s]=l,t[u]=a,e[a]=o;for(let e=0,t=r;e!==t;++e){const t=n[e],r=t[a],i=t[s];t[s]=r,t[a]=i}}}this.nCachedObjects_=i}uncache(){const e=this._objects,t=this._indicesByUUID,n=this._bindings,r=n.length;let i=this.nCachedObjects_,a=e.length;for(let o=0,u=arguments.length;o!==u;++o){const u=arguments[o].uuid,s=t[u];if(void 0!==s)if(delete t[u],s<i){const o=--i,u=e[o],l=--a,c=e[l];t[u.uuid]=s,e[s]=u,t[c.uuid]=o,e[o]=c,e.pop();for(let e=0,t=r;e!==t;++e){const t=n[e],r=t[o],i=t[l];t[s]=r,t[o]=i,t.pop()}}else{const i=--a,o=e[i];i>0&&(t[o.uuid]=s),e[s]=o,e.pop();for(let e=0,t=r;e!==t;++e){const t=n[e];t[s]=t[i],t.pop()}}}this.nCachedObjects_=i}subscribe_(e,t){const n=this._bindingsIndicesByPath;let r=n[e];const i=this._bindings;if(void 0!==r)return i[r];const a=this._paths,o=this._parsedPaths,u=this._objects,s=u.length,l=this.nCachedObjects_,c=new Array(s);r=i.length,n[e]=r,a.push(e),o.push(t),i.push(c);for(let n=l,r=u.length;n!==r;++n){const r=u[n];c[n]=new af(r,e,t)}return c}unsubscribe_(e){const t=this._bindingsIndicesByPath,n=t[e];if(void 0!==n){const r=this._paths,i=this._parsedPaths,a=this._bindings,o=a.length-1,u=a[o];t[e[o]]=n,a[n]=u,a.pop(),i[n]=i[o],i.pop(),r[n]=r[o],r.pop()}}}class uf{constructor(e,t,n=null,r=t.blendMode){this._mixer=e,this._clip=t,this._localRoot=n,this.blendMode=r;const i=t.tracks,a=i.length,o=new Array(a),u={endingStart:Ot,endingEnd:Ot};for(let e=0;e!==a;++e){const t=i[e].createInterpolant(null);o[e]=t,t.settings=u}this._interpolantSettings=u,this._interpolants=o,this._propertyBindings=new Array(a),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=Pt,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(e){return this._startTime=e,this}setLoop(e,t){return this.loop=e,this.repetitions=t,this}setEffectiveWeight(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}
vendor: 4,611 bytes, line 2
2fadeIn(e){return this._scheduleFading(e,0,1)}fadeOut(e){return this._scheduleFading(e,1,0)}crossFadeFrom(e,t,n){if(e.fadeOut(t),this.fadeIn(t),n){const n=this._clip.duration,r=e._clip.duration,i=r/n,a=n/r;e.warp(1,i,t),this.warp(a,1,t)}return this}crossFadeTo(e,t,n){return e.crossFadeFrom(this,t,n)}stopFading(){const e=this._weightInterpolant;return null!==e&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}setEffectiveTimeScale(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}halt(e){return this.warp(this._effectiveTimeScale,0,e)}warp(e,t,n){const r=this._mixer,i=r.time,a=this.timeScale;let o=this._timeScaleInterpolant;null===o&&(o=r._lendControlInterpolant(),this._timeScaleInterpolant=o);const u=o.parameterPositions,s=o.sampleValues;return u[0]=i,u[1]=i+n,s[0]=e/a,s[1]=t/a,this}stopWarping(){const e=this._timeScaleInterpolant;return null!==e&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(e,t,n,r){if(!this.enabled)return void this._updateWeight(e);const i=this._startTime;if(null!==i){const r=(e-i)*n;r<0||0===n?t=0:(this._startTime=null,t=n*r)}t*=this._updateTimeScale(e);const a=this._updateTime(t),o=this._updateWeight(e);if(o>0){const e=this._interpolants,t=this._propertyBindings;if(this.blendMode===Vt)for(let n=0,r=e.length;n!==r;++n)e[n].evaluate(a),t[n].accumulateAdditive(o);else for(let n=0,i=e.length;n!==i;++n)e[n].evaluate(a),t[n].accumulate(r,o)}}_updateWeight(e){let t=0;if(this.enabled){t=this.weight;const n=this._weightInterpolant;if(null!==n){const r=n.evaluate(e)[0];t*=r,e>n.parameterPositions[1]&&(this.stopFading(),0===r&&(this.enabled=!1))}}return this._effectiveWeight=t,t}_updateTimeScale(e){let t=0;if(!this.paused){t=this.timeScale;const n=this._timeScaleInterpolant;if(null!==n){t*=n.evaluate(e)[0],e>n.parameterPositions[1]&&(this.stopWarping(),0===t?this.paused=!0:this.timeScale=t)}}return this._effectiveTimeScale=t,t}_updateTime(e){const t=this._clip.duration,n=this.loop;let r=this.time+e,i=this._loopCount;const a=n===Rt;if(0===e)return-1===i||!a||1&~i?r:t-r;if(n===Tt){-1===i&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(r>=t)r=t;else{if(!(r<0)){this.time=r;break e}r=0}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=r,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(-1===i&&(e>=0?(i=0,this._setEndings(!0,0===this.repetitions,a)):this._setEndings(0===this.repetitions,!0,a)),r>=t||r<0){const n=Math.floor(r/t);r-=t*n,i+=Math.abs(n);const o=this.repetitions-i;if(o<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,r=e>0?t:0,this.time=r,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(1===o){const t=e<0;this._setEndings(t,!t,a)}else this._setEndings(!1,!1,a);this._loopCount=i,this.time=r,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:n})}}else this.time=r;if(a&&!(1&~i))return t-r}return r}_setEndings(e,t,n){const r=this._interpolantSettings;n?(r.endingStart=kt,r.endingEnd=kt):(r.endingStart=e?this.zeroSlopeAtStart?kt:Ot:Ut,r.endingEnd=t?this.zeroSlopeAtEnd?kt:Ot:Ut)}_scheduleFading(e,t,n){const r=this._mixer,i=r.time;let a=this._weightInterpolant;null===a&&(a=r._lendControlInterpolant(),this._weightInterpolant=a);const o=a.parameterPositions,u=a.sampleValues;return o[0]=i,u[0]=t,o[1]=i+e,u[1]=n,this}}const sf=new Float32Array(1);class lf extends Wn{constructor(e){super(),this._root=e,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(e,t){const n=e._localRoot||this._root,r=e._clip.tracks,i=r.length,a=e._propertyBindings,o=e._interpolants,u=n.uuid,s=this._bindingsByRootAndName;let l=s[u];void 0===l&&(l={},s[u]=l);for(let e=0;e!==i;++e){const i=r[e],s=i.name;let c=l[s];if(void 0!==c)++c.referenceCount,a[e]=c;else{if(c=a[e],void 0!==c){null===c._cacheIndex&&(++c.referenceCount,this._addInactiveBinding(c,u,s));continue}const r=t&&t._propertyBindings[e].binding.parsedPath;c=new $p(af.create(n,s,r),i.ValueTypeName,i.getValueSize()),++c.referenceCount,this._addInactiveBinding(c,u,s),a[e]=c}o[e].resultBuffer=c.buffer}}_activateAction(e){if(!this._isActiveAction(e)){if(null===e._cacheIndex){const t=(e._localRoot||this._root).uuid,n=e._clip.uuid,r
vendor: 7,402 bytes, line 2
2=this._actionsByClip[n];this._bindAction(e,r&&r.knownActions[0]),this._addInactiveAction(e,n,t)}const t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){const n=t[e];0==n.useCount++&&(this._lendBinding(n),n.saveOriginalState())}this._lendAction(e)}}_deactivateAction(e){if(this._isActiveAction(e)){const t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){const n=t[e];0==--n.useCount&&(n.restoreOriginalState(),this._takeBackBinding(n))}this._takeBackAction(e)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;const e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}_isActiveAction(e){const t=e._cacheIndex;return null!==t&&t<this._nActiveActions}_addInactiveAction(e,t,n){const r=this._actions,i=this._actionsByClip;let a=i[t];if(void 0===a)a={knownActions:[e],actionByRoot:{}},e._byClipCacheIndex=0,i[t]=a;else{const t=a.knownActions;e._byClipCacheIndex=t.length,t.push(e)}e._cacheIndex=r.length,r.push(e),a.actionByRoot[n]=e}_removeInactiveAction(e){const t=this._actions,n=t[t.length-1],r=e._cacheIndex;n._cacheIndex=r,t[r]=n,t.pop(),e._cacheIndex=null;const i=e._clip.uuid,a=this._actionsByClip,o=a[i],u=o.knownActions,s=u[u.length-1],l=e._byClipCacheIndex;s._byClipCacheIndex=l,u[l]=s,u.pop(),e._byClipCacheIndex=null;delete o.actionByRoot[(e._localRoot||this._root).uuid],0===u.length&&delete a[i],this._removeInactiveBindingsForAction(e)}_removeInactiveBindingsForAction(e){const t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){const n=t[e];0==--n.referenceCount&&this._removeInactiveBinding(n)}}_lendAction(e){const t=this._actions,n=e._cacheIndex,r=this._nActiveActions++,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}_takeBackAction(e){const t=this._actions,n=e._cacheIndex,r=--this._nActiveActions,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}_addInactiveBinding(e,t,n){const r=this._bindingsByRootAndName,i=this._bindings;let a=r[t];void 0===a&&(a={},r[t]=a),a[n]=e,e._cacheIndex=i.length,i.push(e)}_removeInactiveBinding(e){const t=this._bindings,n=e.binding,r=n.rootNode.uuid,i=n.path,a=this._bindingsByRootAndName,o=a[r],u=t[t.length-1],s=e._cacheIndex;u._cacheIndex=s,t[s]=u,t.pop(),delete o[i],0===Object.keys(o).length&&delete a[r]}_lendBinding(e){const t=this._bindings,n=e._cacheIndex,r=this._nActiveBindings++,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}_takeBackBinding(e){const t=this._bindings,n=e._cacheIndex,r=--this._nActiveBindings,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}_lendControlInterpolant(){const e=this._controlInterpolants,t=this._nActiveControlInterpolants++;let n=e[t];return void 0===n&&(n=new Td(new Float32Array(2),new Float32Array(2),1,sf),n.__cacheIndex=t,e[t]=n),n}_takeBackControlInterpolant(e){const t=this._controlInterpolants,n=e.__cacheIndex,r=--this._nActiveControlInterpolants,i=t[r];e.__cacheIndex=r,t[r]=e,i.__cacheIndex=n,t[n]=i}clipAction(e,t,n){const r=t||this._root,i=r.uuid;let a="string"==typeof e?Vd.findByName(r,e):e;const o=null!==a?a.uuid:e,u=this._actionsByClip[o];let s=null;if(void 0===n&&(n=null!==a?a.blendMode:zt),void 0!==u){const e=u.actionByRoot[i];if(void 0!==e&&e.blendMode===n)return e;s=u.knownActions[0],null===a&&(a=s._clip)}if(null===a)return null;const l=new uf(this,a,t,n);return this._bindAction(l,s),this._addInactiveAction(l,o,i),l}existingAction(e,t){const n=t||this._root,r=n.uuid,i="string"==typeof e?Vd.findByName(n,e):e,a=i?i.uuid:e,o=this._actionsByClip[a];return void 0!==o&&o.actionByRoot[r]||null}stopAllAction(){const e=this._actions;for(let t=this._nActiveActions-1;t>=0;--t)e[t].stop();return this}update(e){e*=this.timeScale;const t=this._actions,n=this._nActiveActions,r=this.time+=e,i=Math.sign(e),a=this._accuIndex^=1;for(let o=0;o!==n;++o){t[o]._update(r,e,i,a)}const o=this._bindings,u=this._nActiveBindings;for(let e=0;e!==u;++e)o[e].apply(a);return this}setTime(e){this.time=0;for(let e=0;e<this._actions.length;e++)this._actions[e].time=0;return this.update(e)}getRoot(){return this._root}uncacheClip(e){const t=this._actions,n=e.uuid,r=this._actionsByClip,i=r[n];if(void 0!==i){const e=i.knownActions;for(let n=0,r=e.length;n!==r;++n){const r=e[n];this._deactivateAction(r);const i=r._cacheIndex,a=t[t.length-1];r._cacheIndex=null,r._byClipCacheIndex=null,a._cacheIndex=i,t[i]=a,t.pop(),this._removeInactiveBindingsForAction(r)}delete r[n]}}uncacheRoot(e){const t=e.uuid,n=this._actionsByClip;for(const e in n){const r=n[e].actionByRoot[t];void 0!==r&&(this._deactivateAction(r),this._removeInactiveAction(r))}const r=this._bindingsByRootAndName[t];if(void 0!==r)for(const e in r){const t=r[e];t.restoreOriginalState(),this._removeInactiveBinding(t)}}uncacheAction(e,t){const n=this.existingAction(e,t);null!==n&&(this._deactivateAction(n),this._removeInactiveAction(n))}}class cf{constructor(e){this.value=e}clone(){return new cf(void 0===this.value.clone?this.value:this.value.clone())}}let hf=0;class df extends Wn{constructor(){super(),this.isUniformsGroup=!0,Object.defineProperty(this,"id",{value:hf++}),this.name="",this.usage=wn,this.uniforms=[]}add(e){return this.uniforms.push(e),this}remove(e){const t=this.uniforms.indexOf(e);return-1!==t&&this.uniforms.splice(t,1),this}setName(e){return this.name=e,this}setUsage(e){return this.usage=e,this}dispose(){return this.dispatchEvent({type:"dispose"}),this}copy(e){this.name=e.name,this.usage=e.usage;const t=e.uniforms;this.uniforms.length=0;for(let e=0,n=t.length;e<n;e++){const n=Array.isArray(t[e])?t[e]:[t[e]];for(let e=0;e<n.length;e++)this.uniforms.push(n[e].clone())}return this}clone(){return(new this.constructor).copy(this)}}class pf extends al{constructor(e,t,n=1){super(e,t),this.isInstancedInterleavedBuffer=!0,this.meshPerAttribute=n}copy(e){return super.copy(e),this.meshPerAttribute=e.meshPerAttribute,this}clone(e){const t=super.clone(e);return t.meshPerAttribute=this.meshPerAttribute,t}toJSON(e){const t=super.toJSON(e);return t.isInstancedInterleavedBuffer=!0,t.meshPerAttribute=this.meshPerAttribute,t}}class ff{constructor(e,t,n,r,i){this.isGLBufferAttribute=!0,this.name="",this.buffer=e,this.type=t,this.itemSize=n,this.elementSize=r,this.count=i,this.version=0}set needsUpdate(e){!0===e&&this.version++}setBuffer(e){return this.buffer=e,this}setType(e,t){return this.type=e,this.elementSize=t,this}setItemSize(e){return this.itemSize=e,this}setCount(e){return this.count=e,this}}const mf=new si;class gf{constructor(e,t,n=0,r=1/0){this.ray=new ui(e,t),this.near=n,this.far=r,this.camera=null,this.layers=new vi,this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}set(e,t){this.ray.set(e,t)}setFromCamera(e,t){t.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(t.matrixWorld),this.ray.direction.set(e.x,e.y,.5).unproject(t).sub(this.ray.origin).normalize(),this.camera=t):t.isOrthographicCamera?(this.ray.origin.set(e.x,e.y,(t.near+t.far)/(t.near-t.far)).unproject(t),this.ray.direction.set(0,0,-1).transformDirection(t.matrixWorld),this.camera=t):console.error("THREE.Raycaster: 
2Unsupported camera type: "+t.type)}setFromXRController(e){return mf.identity().extractRotation(e.matrixWorld),this.ray.origin.setFromMatrixPosition(e.matrixWorld),this.ray.direction.set(0,0,-1).applyMatrix4(mf),this}intersectObject(e,t=!0,n=[]){return Df(e,this,n,t),n.sort(_f),n}intersectObjects(e,t=!0,n=[]){for(let r=0,i=e.length;r<i;r++)Df(e[r],this,n,t);return n.sort(_f),n}}function _f(e,t){return e.distance-t.distance}function Df(e,t,n,r){let i=!0;if(e.layers.test(t.layers)){!1===e.raycast(t,n)&&(i=!1)}if(!0===i&&!0===r){const r=e.children;for(let e=0,i=r.length;e<i;e++)Df(r[e],t,n,!0)}}class vf{constructor(e=1,t=0,n=0){return this.radius=e,this.phi=t,this.theta=n,this}set(e,t,n){return this.radius=e,this.phi=t,this.theta=n,this}copy(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}makeSafe(){const e=1e-6;return this.phi=Math.max(e,Math.min(Math.PI-e,this.phi)),this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,t,n){return this.radius=Math.sqrt(e*e+t*t+n*n),0===this.radius?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,n),this.phi=Math.acos(qn(t/this.radius,-1,1))),this}clone(){return(new this.constructor).copy(this)}}class yf{constructor(e=1,t=0,n=0){return this.radius=e,this.theta=t,this.y=n,this}set(e,t,n){return this.radius=e,this.theta=t,this.y=n,this}copy(e){return this.radius=e.radius,this.theta=e.theta,this.y=e.y,this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,t,n){return this.radius=Math.sqrt(e*e+n*n),this.theta=Math.atan2(e,n),this.y=t,this}clone(){return(new this.constructor).copy(this)}}const Ef=new er;class Af{constructor(e=new er(1/0,1/0),t=new er(-1/0,-1/0)){this.isBox2=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromPoints(e){this.makeEmpty();for(let t=0,n=e.length;t<n;t++)this.expandByPoint(e[t]);return this}setFromCenterAndSize(e,t){const n=Ef.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(n),this.max.copy(e).add(n),this}clone(){return(new this.constructor).copy(this)}copy(e){return this.min.copy(e.min),this.max.copy(e.max),this}makeEmpty(){return this.min.x=this.min.y=1/0,this.max.x=this.max.y=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y}getCenter(e){return this.isEmpty()?e.set(0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(e){return this.isEmpty()?e.set(0,0):e.subVectors(this.max,this.min)}expandByPoint(e){return this.min.min(e),this.max.max(e),this}expandByVector(e){return this.min.sub(e),this.max.add(e),this}expandByScalar(e){return this.min.addScalar(-e),this.max.addScalar(e),this}containsPoint(e){return!(e.x<this.min.x||e.x>this.max.x||e.y<this.min.y||e.y>this.max.y)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(e){return!(e.max.x<this.min.x||e.min.x>this.max.x||e.max.y<this.min.y||e.min.y>this.max.y)}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,Ef).distanceTo(e)}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const Cf=new Pr,Ff=new Pr;class bf{constructor(e=new Pr,t=new Pr){this.start=e,this.end=t}set(e,t){return this.start.copy(e),this.end.copy(t),this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this}getCenter(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}delta(e){return e.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(e,t){return this.delta(t).multiplyScalar(e).add(this.start)}closestPointToPointParameter(e,t){Cf.subVectors(e,this.start),Ff.subVectors(this.end,this.start);const n=Ff.dot(Ff);let r=Ff.dot(Cf)/n;return t&&(r=qn(r,0,1)),r}closestPointToPoint(e,t,n){const r=this.closestPointToPointParameter(e,t);return this.delta(n).multiplyScalar(r).add(this.start)}
vendor: 4,619 bytes, line 2
2applyMatrix4(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}equals(e){return e.start.equals(this.start)&&e.end.equals(this.end)}clone(){return(new this.constructor).copy(this)}}const Sf=new Pr;class xf extends Ni{constructor(e,t){super(),this.light=e,this.matrixAutoUpdate=!1,this.color=t,this.type="SpotLightHelper";const n=new Sa,r=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let e=0,t=1,n=32;e<n;e++,t++){const i=e/n*Math.PI*2,a=t/n*Math.PI*2;r.push(Math.cos(i),Math.sin(i),1,Math.cos(a),Math.sin(a),1)}n.setAttribute("position",new Da(r,3));const i=new _c({fog:!1,toneMapped:!1});this.cone=new wc(n,i),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),this.parent?(this.parent.updateWorldMatrix(!0),this.matrix.copy(this.parent.matrixWorld).invert().multiply(this.light.matrixWorld)):this.matrix.copy(this.light.matrixWorld),this.matrixWorld.copy(this.light.matrixWorld);const e=this.light.distance?this.light.distance:1e3,t=e*Math.tan(this.light.angle);this.cone.scale.set(t,t,e),Sf.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(Sf),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}}const Bf=new Pr,wf=new si,Mf=new si;class Tf extends wc{constructor(e){const t=Pf(e),n=new Sa,r=[],i=[],a=new $i(0,0,1),o=new $i(0,1,0);for(let e=0;e<t.length;e++){const n=t[e];n.parent&&n.parent.isBone&&(r.push(0,0,0),r.push(0,0,0),i.push(a.r,a.g,a.b),i.push(o.r,o.g,o.b))}n.setAttribute("position",new Da(r,3)),n.setAttribute("color",new Da(i,3));super(n,new _c({vertexColors:!0,depthTest:!1,depthWrite:!1,toneMapped:!1,transparent:!0})),this.isSkeletonHelper=!0,this.type="SkeletonHelper",this.root=e,this.bones=t,this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1}updateMatrixWorld(e){const t=this.bones,n=this.geometry,r=n.getAttribute("position");Mf.copy(this.root.matrixWorld).invert();for(let e=0,n=0;e<t.length;e++){const i=t[e];i.parent&&i.parent.isBone&&(wf.multiplyMatrices(Mf,i.matrixWorld),Bf.setFromMatrixPosition(wf),r.setXYZ(n,Bf.x,Bf.y,Bf.z),wf.multiplyMatrices(Mf,i.parent.matrixWorld),Bf.setFromMatrixPosition(wf),r.setXYZ(n+1,Bf.x,Bf.y,Bf.z),n+=2)}n.getAttribute("position").needsUpdate=!0,super.updateMatrixWorld(e)}dispose(){this.geometry.dispose(),this.material.dispose()}}function Pf(e){const t=[];!0===e.isBone&&t.push(e);for(let n=0;n<e.children.length;n++)t.push.apply(t,Pf(e.children[n]));return t}class Rf extends Ga{constructor(e,t,n){super(new ad(t,4,2),new ta({wireframe:!0,fog:!1,toneMapped:!1})),this.light=e,this.color=n,this.type="PointLightHelper",this.matrix=this.light.matrixWorld,this.matrixAutoUpdate=!1,this.update()}dispose(){this.geometry.dispose(),this.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)}}const If=new Pr,Nf=new $i,Lf=new $i;class Of extends Ni{constructor(e,t,n){super(),this.light=e,this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,this.type="HemisphereLightHelper";const r=new nd(t);r.rotateY(.5*Math.PI),this.material=new ta({wireframe:!0,fog:!1,toneMapped:!1}),void 0===this.color&&(this.material.vertexColors=!0);const i=r.getAttribute("position"),a=new Float32Array(3*i.count);r.setAttribute("color",new la(a,3)),this.add(new Ga(r,this.material)),this.update()}dispose(){this.children[0].geometry.dispose(),this.children[0].material.dispose()}update(){const e=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{const t=e.geometry.getAttribute("color");Nf.copy(this.light.color),Lf.copy(this.light.groundColor);for(let e=0,n=t.count;e<n;e++){const r=e<n/2?Nf:Lf;t.setXYZ(e,r.r,r.g,r.b)}t.needsUpdate=!0}this.light.updateWorldMatrix(!0,!1),e.lookAt(If.setFromMatrixPosition(this.light.matrixWorld).negate())}}class kf extends wc{constructor(e=10,t=10,n=4473924,r=8947848){n=new $i(n),r=new $i(r);const i=t/2,a=e/t,o=e/2,u=[],s=[];for(let e=0,l=0,c=-o;e<=t;e++,c+=a){u.push(-o,0,c,o,0,c),u.push(c,0,-o,c,0,o);const t=e===i?n:r;t.toArray(s,l),l+=3,t.toArray(s,l),l+=3,t.toArray(s,l),l+=3,t.toArray(s,l),l+=3}const l=new Sa;l.setAttribute("position",new Da(u,3)),l.setAttribute("color",new Da(s,3));super(l,new _c({vertexColors:!0,toneMapped:!1})),this.type="GridHelper"}dispose(){this.geometry.dispose(),this.material.dispose()}}class Uf extends wc{constructor(e=10,t=16,n=8,r=64,i=4473924,a=8947848){i=new $i(i),a=new $i(a);const o=[],u=[];
vendor: 5,295 bytes, line 2
2if(t>1)for(let n=0;n<t;n++){const r=n/t*(2*Math.PI),s=Math.sin(r)*e,l=Math.cos(r)*e;o.push(0,0,0),o.push(s,0,l);const c=1&n?i:a;u.push(c.r,c.g,c.b),u.push(c.r,c.g,c.b)}for(let t=0;t<n;t++){const s=1&t?i:a,l=e-e/n*t;for(let e=0;e<r;e++){let t=e/r*(2*Math.PI),n=Math.sin(t)*l,i=Math.cos(t)*l;o.push(n,0,i),u.push(s.r,s.g,s.b),t=(e+1)/r*(2*Math.PI),n=Math.sin(t)*l,i=Math.cos(t)*l,o.push(n,0,i),u.push(s.r,s.g,s.b)}}const s=new Sa;s.setAttribute("position",new Da(o,3)),s.setAttribute("color",new Da(u,3));super(s,new _c({vertexColors:!0,toneMapped:!1})),this.type="PolarGridHelper"}dispose(){this.geometry.dispose(),this.material.dispose()}}const zf=new Pr,Vf=new Pr,Wf=new Pr;class Hf extends Ni{constructor(e,t,n){super(),this.light=e,this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,this.type="DirectionalLightHelper",void 0===t&&(t=1);let r=new Sa;r.setAttribute("position",new Da([-t,t,0,t,t,0,t,-t,0,-t,-t,0,-t,t,0],3));const i=new _c({fog:!1,toneMapped:!1});this.lightPlane=new bc(r,i),this.add(this.lightPlane),r=new Sa,r.setAttribute("position",new Da([0,0,0,0,0,1],3)),this.targetLine=new bc(r,i),this.add(this.targetLine),this.update()}dispose(){this.lightPlane.geometry.dispose(),this.lightPlane.material.dispose(),this.targetLine.geometry.dispose(),this.targetLine.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),zf.setFromMatrixPosition(this.light.matrixWorld),Vf.setFromMatrixPosition(this.light.target.matrixWorld),Wf.subVectors(Vf,zf),this.lightPlane.lookAt(Vf),void 0!==this.color?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),this.targetLine.material.color.copy(this.light.color)),this.targetLine.lookAt(Vf),this.targetLine.scale.z=Wf.length()}}const Gf=new Pr,jf=new Qa;class Xf extends wc{constructor(e){const t=new Sa,n=new _c({color:16777215,vertexColors:!0,toneMapped:!1}),r=[],i=[],a={};function o(e,t){u(e),u(t)}function u(e){r.push(0,0,0),i.push(0,0,0),void 0===a[e]&&(a[e]=[]),a[e].push(r.length/3-1)}o("n1","n2"),o("n2","n4"),o("n4","n3"),o("n3","n1"),o("f1","f2"),o("f2","f4"),o("f4","f3"),o("f3","f1"),o("n1","f1"),o("n2","f2"),o("n3","f3"),o("n4","f4"),o("p","n1"),o("p","n2"),o("p","n3"),o("p","n4"),o("u1","u2"),o("u2","u3"),o("u3","u1"),o("c","t"),o("p","c"),o("cn1","cn2"),o("cn3","cn4"),o("cf1","cf2"),o("cf3","cf4"),t.setAttribute("position",new Da(r,3)),t.setAttribute("color",new Da(i,3)),super(t,n),this.type="CameraHelper",this.camera=e,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=a,this.update();const s=new $i(16755200),l=new $i(16711680),c=new $i(43775),h=new $i(16777215),d=new $i(3355443);this.setColors(s,l,c,h,d)}setColors(e,t,n,r,i){const a=this.geometry.getAttribute("color");a.setXYZ(0,e.r,e.g,e.b),a.setXYZ(1,e.r,e.g,e.b),a.setXYZ(2,e.r,e.g,e.b),a.setXYZ(3,e.r,e.g,e.b),a.setXYZ(4,e.r,e.g,e.b),a.setXYZ(5,e.r,e.g,e.b),a.setXYZ(6,e.r,e.g,e.b),a.setXYZ(7,e.r,e.g,e.b),a.setXYZ(8,e.r,e.g,e.b),a.setXYZ(9,e.r,e.g,e.b),a.setXYZ(10,e.r,e.g,e.b),a.setXYZ(11,e.r,e.g,e.b),a.setXYZ(12,e.r,e.g,e.b),a.setXYZ(13,e.r,e.g,e.b),a.setXYZ(14,e.r,e.g,e.b),a.setXYZ(15,e.r,e.g,e.b),a.setXYZ(16,e.r,e.g,e.b),a.setXYZ(17,e.r,e.g,e.b),a.setXYZ(18,e.r,e.g,e.b),a.setXYZ(19,e.r,e.g,e.b),a.setXYZ(20,e.r,e.g,e.b),a.setXYZ(21,e.r,e.g,e.b),a.setXYZ(22,e.r,e.g,e.b),a.setXYZ(23,e.r,e.g,e.b),a.setXYZ(24,t.r,t.g,t.b),a.setXYZ(25,t.r,t.g,t.b),a.setXYZ(26,t.r,t.g,t.b),a.setXYZ(27,t.r,t.g,t.b),a.setXYZ(28,t.r,t.g,t.b),a.setXYZ(29,t.r,t.g,t.b),a.setXYZ(30,t.r,t.g,t.b),a.setXYZ(31,t.r,t.g,t.b),a.setXYZ(32,n.r,n.g,n.b),a.setXYZ(33,n.r,n.g,n.b),a.setXYZ(34,n.r,n.g,n.b),a.setXYZ(35,n.r,n.g,n.b),a.setXYZ(36,n.r,n.g,n.b),a.setXYZ(37,n.r,n.g,n.b),a.setXYZ(38,r.r,r.g,r.b),a.setXYZ(39,r.r,r.g,r.b),a.setXYZ(40,i.r,i.g,i.b),a.setXYZ(41,i.r,i.g,i.b),a.setXYZ(42,i.r,i.g,i.b),a.setXYZ(43,i.r,i.g,i.b),a.setXYZ(44,i.r,i.g,i.b),a.setXYZ(45,i.r,i.g,i.b),a.setXYZ(46,i.r,i.g,i.b),a.setXYZ(47,i.r,i.g,i.b),a.setXYZ(48,i.r,i.g,i.b),a.setXYZ(49,i.r,i.g,i.b),a.needsUpdate=!0}update(){const e=this.geometry,t=this.pointMap;jf.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse),Kf("c",t,e,jf,0,0,-1),Kf("t",t,e,jf,0,0,1),Kf("n1",t,e,jf,-1,-1,-1),Kf("n2",t,e,jf,1,-1,-1),Kf("n3",t,e,jf,-1,1,-1),Kf("n4",t,e,jf,1,1,-1),Kf("f1",t,e,jf,-1,-1,1),Kf("f2",t,e,jf,1,-1,1),Kf("f3",t,e,jf,-1,1,1),Kf("f4",t,e,jf,1,1,1),Kf("u1",t,e,jf,.7,1.1,-1),Kf("u2",t,e,jf,-.7,1.1,-1),Kf("u3",t,e,jf,0,2,-1),Kf("cf1",t,e,jf,-1,0,1),Kf("cf2",t,e,jf,1,0,1),Kf("cf3",t,e,jf,0,-1,1),Kf("cf4",t,e,jf,0,1,1),Kf("cn1",t,e,jf,-1,0,-1),Kf("cn2",t,e,jf,1,0,-1),Kf("cn3",t,e,jf,0,-1,-1),Kf("cn4",t,e,jf,0,1,-1),e.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}}function Kf(e,t,n,r,i,a,o){Gf.set(i,a,o).unproject(r);const u=t[e];if(void 0!==u){const e=n.getAttribute("position");for(let t=0,n=u.length;t<n;t++)e.setXYZ(u[t],Gf.x,Gf.y,Gf.z)}}const qf=new Nr;class Jf extends wc{constructor(e,t=16776960){const n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),r=new Float32Array(24),i=new Sa;i.setIndex(new la(n,1)),i.setAttribute("position",new la(r,3)),super(i,new _
vendor: 4,597 bytes, line 2
2c({color:t,toneMapped:!1})),this.object=e,this.type="BoxHelper",this.matrixAutoUpdate=!1,this.update()}update(e){if(void 0!==e&&console.warn("THREE.BoxHelper: .update() has no longer arguments."),void 0!==this.object&&qf.setFromObject(this.object),qf.isEmpty())return;const t=qf.min,n=qf.max,r=this.geometry.attributes.position,i=r.array;i[0]=n.x,i[1]=n.y,i[2]=n.z,i[3]=t.x,i[4]=n.y,i[5]=n.z,i[6]=t.x,i[7]=t.y,i[8]=n.z,i[9]=n.x,i[10]=t.y,i[11]=n.z,i[12]=n.x,i[13]=n.y,i[14]=t.z,i[15]=t.x,i[16]=n.y,i[17]=t.z,i[18]=t.x,i[19]=t.y,i[20]=t.z,i[21]=n.x,i[22]=t.y,i[23]=t.z,r.needsUpdate=!0,this.geometry.computeBoundingSphere()}setFromObject(e){return this.object=e,this.update(),this}copy(e,t){return super.copy(e,t),this.object=e.object,this}dispose(){this.geometry.dispose(),this.material.dispose()}}class Yf extends wc{constructor(e,t=16776960){const n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),r=new Sa;r.setIndex(new la(n,1)),r.setAttribute("position",new Da([1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],3)),super(r,new _c({color:t,toneMapped:!1})),this.box=e,this.type="Box3Helper",this.geometry.computeBoundingSphere()}updateMatrixWorld(e){const t=this.box;t.isEmpty()||(t.getCenter(this.position),t.getSize(this.scale),this.scale.multiplyScalar(.5),super.updateMatrixWorld(e))}dispose(){this.geometry.dispose(),this.material.dispose()}}class $f extends bc{constructor(e,t=1,n=16776960){const r=n,i=new Sa;i.setAttribute("position",new Da([1,-1,0,-1,1,0,-1,-1,0,1,1,0,-1,1,0,-1,-1,0,1,-1,0,1,1,0],3)),i.computeBoundingSphere(),super(i,new _c({color:r,toneMapped:!1})),this.type="PlaneHelper",this.plane=e,this.size=t;const a=new Sa;a.setAttribute("position",new Da([1,1,0,-1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,-1,0],3)),a.computeBoundingSphere(),this.add(new Ga(a,new ta({color:r,opacity:.2,transparent:!0,depthWrite:!1,toneMapped:!1})))}updateMatrixWorld(e){this.position.set(0,0,0),this.scale.set(.5*this.size,.5*this.size,1),this.lookAt(this.plane.normal),this.translateZ(-this.plane.constant),super.updateMatrixWorld(e)}dispose(){this.geometry.dispose(),this.material.dispose(),this.children[0].geometry.dispose(),this.children[0].material.dispose()}}const Qf=new Pr;let Zf,em;class tm extends Ni{constructor(e=new Pr(0,0,1),t=new Pr(0,0,0),n=1,r=16776960,i=.2*n,a=.2*i){super(),this.type="ArrowHelper",void 0===Zf&&(Zf=new Sa,Zf.setAttribute("position",new Da([0,0,0,0,1,0],3)),em=new mh(0,.5,1,5,1),em.translate(0,-.5,0)),this.position.copy(t),this.line=new bc(Zf,new _c({color:r,toneMapped:!1})),this.line.matrixAutoUpdate=!1,this.add(this.line),this.cone=new Ga(em,new ta({color:r,toneMapped:!1})),this.cone.matrixAutoUpdate=!1,this.add(this.cone),this.setDirection(e),this.setLength(n,i,a)}setDirection(e){if(e.y>.99999)this.quaternion.set(0,0,0,1);else if(e.y<-.99999)this.quaternion.set(1,0,0,0);else{Qf.set(e.z,0,-e.x).normalize();const t=Math.acos(e.y);this.quaternion.setFromAxisAngle(Qf,t)}}setLength(e,t=.2*e,n=.2*t){this.line.scale.set(1,Math.max(1e-4,e-t),1),this.line.updateMatrix(),this.cone.scale.set(n,t,n),this.cone.position.y=e,this.cone.updateMatrix()}setColor(e){this.line.material.color.set(e),this.cone.material.color.set(e)}copy(e){return super.copy(e,!1),this.line.copy(e.line),this.cone.copy(e.cone),this}dispose(){this.line.geometry.dispose(),this.line.material.dispose(),this.cone.geometry.dispose(),this.cone.material.dispose()}}class nm extends wc{constructor(e=1){const t=[0,0,0,e,0,0,0,0,0,0,e,0,0,0,0,0,0,e],n=new Sa;n.setAttribute("position",new Da(t,3)),n.setAttribute("color",new Da([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3));super(n,new _c({vertexColors:!0,toneMapped:!1})),this.type="AxesHelper"}setColors(e,t,n){const r=new $i,i=this.geometry.attributes.color.array;return r.set(e),r.toArray(i,0),r.toArray(i,3),r.set(t),r.toArray(i,6),r.toArray(i,9),r.set(n),r.toArray(i,12),r.toArray(i,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}}class rm{constructor(){this.type="ShapePath",this.color=new $i,this.subPaths=[],this.currentPath=null}moveTo(e,t){return this.currentPath=new hh,this.subPaths.push(this.currentPath),this.currentPath.moveTo(e,t),this}lineTo(e,t){return this.currentPath.lineTo(e,t),this}quadraticCurveTo(e,t,n,r){return this.currentPath.quadraticCurveTo(e,t,n,r),this}bezierCurveTo(e,t,n,r,i,a){return this.currentPath.bezierCurveTo(e,t,n,r,i,a),this}splineThru(e){return this.currentPath.splineThru(e),this}toShapes(e){function t(e,t){const n=t.length;let r=!1;for(let i=n-1,a=0;a<n;i=a++){let n=t[i],o=t[a],u=o.x-n.x,s=o.y-n.y;
2if(Math.abs(s)>Number.EPSILON){if(s<0&&(n=t[a],u=-u,o=t[i],s=-s),e.y<n.y||e.y>o.y)continue;if(e.y===n.y){if(e.x===n.x)return!0}else{const t=s*(e.x-n.x)-u*(e.y-n.y);if(0===t)return!0;if(t<0)continue;r=!r}}else{if(e.y!==n.y)continue;if(o.x<=e.x&&e.x<=n.x||n.x<=e.x&&e.x<=o.x)return!0}}return r}const n=Yh.isClockWise,r=this.subPaths;if(0===r.length)return[];let i,a,o;const u=[];if(1===r.length)return a=r[0],o=new Fh,o.curves=a.curves,u.push(o),u;let s=!n(r[0].getPoints());s=e?!s:s;const l=[],c=[];let h,d,p=[],f=0;c[f]=void 0,p[f]=[];for(let t=0,o=r.length;t<o;t++)a=r[t],h=a.getPoints(),i=n(h),i=e?!i:i,i?(!s&&c[f]&&f++,c[f]={s:new Fh,p:h},c[f].s.curves=a.curves,s&&f++,p[f]=[]):p[f].push({h:a,p:h[0]});if(!c[0])return function(e){const t=[];for(let n=0,r=e.length;n<r;n++){const r=e[n],i=new Fh;i.curves=r.curves,t.push(i)}return t}(r);if(c.length>1){let e=!1,n=0;for(let e=0,t=c.length;e<t;e++)l[e]=[];for(let r=0,i=c.length;r<i;r++){const i=p[r];for(let a=0;a<i.length;a++){const o=i[a];let u=!0;for(let i=0;i<c.length;i++)t(o.p,c[i].p)&&(r!==i&&n++,u?(u=!1,l[i].push(o)):e=!0);u&&l[r].push(o)}}n>0&&!1===e&&(p=l)}for(let e=0,t=c.length;e<t;e++){o=c[e].s,u.push(o),d=p[e];for(let e=0,t=d.length;e<t;e++)o.holes.push(d[e].h)}return u}}class im extends Sr{constructor(e=1,t=1,n=1,r={}){console.warn('THREE.WebGLMultipleRenderTargets has been deprecated and will be removed in r172. Use THREE.WebGLRenderTarget and set the "count" parameter to enable MRT.'),super(e,t,{...r,count:n}),this.isWebGLMultipleRenderTargets=!0}get texture(){return this.textures}}"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:r}})),"undefined"!=typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=r)},8823:function(e,t,n){"use strict";n.d(t,{my:function(){return r}});Math.PI,Math.PI;function r(e,t,n,r,i){return r+(e-t)*(i-r)/(n-t)}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){"use strict";var e=n(6540),t=n(5338);function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function o(e,t,n){return t=c(t),function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,s()?Reflect.construct(t,n||[],c(e).constructor):t.apply(e,n))}function u(e){var t="function"==typeof Map?new Map:void 0;return u=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(s())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&l(i,n.prototype),i}(e,arguments,c(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l(n,e)},u(e)}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}
2function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var h={hybridAnimation:(0,e.lazy)((function(){return Promise.resolve().then(n.bind(n,4696))})),leistungAnimation:(0,e.lazy)((function(){return Promise.resolve().then(n.bind(n,4821))})),startAnimation:(0,e.lazy)((function(){return Promise.resolve().then(n.bind(n,8086))})),turmaufbauAnimation:(0,e.lazy)((function(){return Promise.resolve().then(n.bind(n,3519))}))},d=function(n){function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),o(this,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(r,n),a=r,(u=[{key:"connectedCallback",value:function(){var n=this.dataset,r=h[n.component];void 0!==r&&(0,t.H)(this).render(e.createElement(e.Suspense,{fallback:null},e.createElement(r,n)))}}])&&i(a.prototype,u),s&&i(a,s),Object.defineProperty(a,"prototype",{writable:!1}),a;var a,u,s}(u(HTMLElement));customElements.define("react-component",d);n(4117),n(882),n(4236);var p,f,m,g,_=n(4692),D=n.n(_),v=n(639),y=n.n(v);function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,C(r.key),r)}}function C(e){var t=function(e,t){if("object"!=E(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=E(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==E(t)?t:t+""}D()(document).ready((function(){var e=D()("#brochurenMagazineComponentMainDiv");if(0!=e.length){var t=e.attr("data-currentComponentPath"),n=e.attr("data-detailPagePath");p=e.attr("data-error400Message"),f=e.attr("data-error404Message"),D()("#brochurenMagazineCategories").on("change",(function(){!function(e,t,n){D().ajax({url:t+".broschurenFilter.json?tags="+e+"&detailPageParentPath="+n,method:"GET",headers:{"Content-Type":"application/json"},success:function(e){200==e.statusCode?(D()(".no-result-found").hide(),function(e){D()("#brouscherAndMagazineList").html("");var t=D()("#brouscher-magazine-template").html(),n=y().compile(t);D()("#brouscherAndMagazineList").html(n(e))}(e.data)):400==e.statusCode?(D()("#brouscherAndMagazineList").html(""),D()("#negative-result-message").text(p),D()(".no-result-found").show()):404==e.statusCode&&(D()("#brouscherAndMagazineList").html(""),D()("#negative-result-message").text(f),D()(".no-result-found").show())},error:function(e){console.log("error",e)}})}(D()(this).val(),t,n)}))}})),D()(document).ready((function(){var e=D()("#maxBoeglCerticateComponent");if(0!=e.length){console.log("certificates js called");var t=e.attr("data-certificateComponentPath");m=e.attr("data-error400Message"),g=e.attr("data-error404Message"),D()(".certificatesCategories").on("change",(function(){var e=D()(this).attr("data-detailPagePath"),n=D()(this).val(),r=D()(this).attr("data-categoryLabel");!function(e,t,n,r){D().ajax({url:t+".certificateFilter.json?selectedFilter="+e+"&cfParentPath="+n,method:"GET",headers:{"Content-Type":"application/json"},success:function(e){200==e.statusCode?(console.log("response",e),D()("."+r+"-no-result-found").hide(),function(e,t){D()("#"+t+"certificatesMainContainer").html("");var n=D()("#certificates-template").html(),r=y().compile(n);D()("#"+t+"certificatesMainContainer").html(r(e))}(e.data,r)):400==e.statusCode?(D()("#"+r+"certificatesMainContainer").html(""),D()(".negative-result-message").text(m),D()("."+r+"-no-result-found").show()):404==e.statusCode&&(D()("#"+r+"certificatesMainContainer").html(""),D()(".negative-result-message").text(g),D()("."+r+"-no-result-found").show())},error:function(e){console.log("error",e)}})}(n,t,e,r)}))}}));var F=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"validateFields",value:function(e,t,n){var r=this;try{var i=e.querySelectorAll("input, select, textarea"),a={},o=!0;
2return i.forEach((function(e){var i=e.name,u=e.value,s=n[i];if(s){if(!new RegExp(s).test(u)){var l=t[i];return r.showError(e,l),o=!1,!1}r.clearError(e),a[i]=u}else if("SELECT"===e.tagName){if(""===u){var c=t[i];return r.showError(e,c),o=!1,!1}r.clearError(e),a[i]=u}else if("checkbox"===e.type){if(!e.checked){var h=t[i];return r.showError(e,h),o=!1,!1}r.clearError(e),a[i]=!0}})),o?a:null}catch(e){return console.debug("Error in validateFields method:",e),null}}},{key:"showError",value:function(e,t){var n=e.parentElement;if(n){var r=n.querySelector(".warning-hint");r||((r=document.createElement("span")).classList.add("warning-hint"),n.appendChild(r),r.style.display="block"),r.textContent=t,r.style.display="block"}}},{key:"clearError",value:function(e){var t=e.parentElement.querySelector(".warning-hint");t&&(t.textContent="",t.style.display="none")}}],t&&A(e.prototype,t),n&&A(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();function b(e,t){var n={};return Object.keys(t).forEach((function(e){var r=t[e];n[e]=null==r?"":r})),new Promise((function(e){D().ajax({url:"/libs/granite/csrf/token.json",type:"GET",cache:!1}).done((function(t){e(t&&t.token?t.token:null)})).fail((function(){e(null)}))})).then((function(t){return new Promise((function(r){D().ajax({url:e,type:"POST",data:n,dataType:"json",headers:t?{"CSRF-Token":t}:{}}).done((function(e,t,n){r({status:n.status,body:e||{}})})).fail((function(e){r({status:e.status,body:e.responseJSON||{}})}))}))}))}function S(e,t){e.find("p").text(t||""),e.show()}function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function B(){B=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof _?t:_,o=Object.create(a.prototype),u=new P(r||[]);return i(o,"_invoke",{value:S(e,n,u)}),o}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function _(){}function D(){}function v(){}var y={};l(y,o,(function(){return this}));var E=Object.getPrototypeOf,A=E&&E(E(R([])));A&&A!==n&&r.call(A,o)&&(y=A);var C=v.prototype=_.prototype=Object.create(y);function F(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(i,a,o,u){var s=h(e[i],e,a);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==x(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(c).then((function(e){l.value=e,o(l)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return a=a?a.then(i,i):i()}})}function S(t,n,r){var i=d;return function(a,o){if(i===f)throw Error("Generator is already running");if(i===m){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=w(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=f;var l=h(t,n,r);if("normal"===l.type){if(i=r.done?m:p,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=m,r.method="throw",r.arg=l.arg)}}}function w(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,w(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=h(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;
vendor: 4,212 bytes, line 2
2return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function R(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(x(t)+" is not iterable")}return D.prototype=v,i(C,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:D,configurable:!0}),D.displayName=l(v,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===D||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},F(b.prototype),l(b.prototype,u,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new b(c(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},F(C),l(C,s,"Generator"),l(C,o,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=R,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function w(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,i)}function M(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);
2function o(e){w(a,r,i,o,u,"next",e)}function u(e){w(a,r,i,o,u,"throw",e)}o(void 0)}))}}var T,P=new F;function R(){return I.apply(this,arguments)}function I(){return(I=M(B().mark((function e(){return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,t){D().ajax({url:"/bin/captchaSecurity.captcha.json",type:"GET",cache:!1,success:function(t){var n=document.createElement("img");n.src="data:image/png;base64,"+t.captchaImage,n.setAttribute("alt",""),D()("#canvasContainer").empty().append(n),D()("#captchaToken").val(t.captchaToken),D()("#captchaAnswer").val(""),e()},error:function(e,n,r){console.error("Unable to load CAPTCHA: "+r),t(r)}})})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function N(){return L.apply(this,arguments)}function L(){return(L=M(B().mark((function e(){var t,n,r,i,a;return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=D()(".ContactUsFormAttributes").attr("data-currentNodePath"),n={userEmail:D()("#userEmail").val(),firstName:D()("input[name='firstName']").val(),lastName:D()("input[name='lastName']").val(),scopeOfApplication:D()("select[name='scopeOfApplicationDropdown']").val(),company:D()("input[name='company']").val(),street:D()("input[name='street']").val(),zipcode:D()("input[name='zipcode']").val(),city:D()("input[name='city']").val(),phone:D()("input[name='phone']").val(),senderMessage:D()("textarea[name='senderMessage']").val(),terms:D()("input[name='terms']").is(":checked")?"true":"false",captchaToken:D()("#captchaToken").val(),captchaAnswer:D()("#captchaAnswer").val(),contactReference:D()("input[name='contactReference']").val()},e.prev=2,e.next=5,b(t+".contactForm.json",n);case 5:if(r=e.sent,i=r.status,a=r.body,200!==i){e.next=14;break}return S(D()(".emailSuccessMessage"),T.emailSuccessMessage),document.getElementById("ContactUsFormModel").reset(),e.next=13,R();case 13:return e.abrupt("return");case 14:return"CAPTCHA_INVALID"===a.message?D()(".captcha-error").text(T.errorMsgCaptcha).show():S(D()(".emailErrorMessage"),404===i?T.error404Message:T.error400Message),e.next=17,R();case 17:e.next=25;break;case 19:return e.prev=19,e.t0=e.catch(2),console.error("Contact form submission failed",e.t0),S(D()(".emailErrorMessage"),T.error400Message),e.next=25,R();case 25:case"end":return e.stop()}}),e,null,[[2,19]])})))).apply(this,arguments)}function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function k(){k=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof _?t:_,o=Object.create(a.prototype),u=new M(r||[]);return i(o,"_invoke",{value:S(e,n,u)}),o}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function _(){}function D(){}function v(){}var y={};l(y,o,(function(){return this}));var E=Object.getPrototypeOf,A=E&&E(E(T([])));A&&A!==n&&r.call(A,o)&&(y=A);var C=v.prototype=_.prototype=Object.create(y);function F(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(i,a,o,u){var s=h(e[i],e,a);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==O(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(c).then((function(e){l.value=e,o(l)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return a=a?a.then(i,i):i()}})}function S(t,n,r){var i=d;return function(a,o){if(i===f)throw Error("Generator is already running");if(i===m){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=x(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=f;var l=h(t,n,r);if("normal"===l.type){if(i=r.done?m:p,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=m,r.method="throw",r.arg=l.arg)}}}function x(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&
vendor: 4,486 bytes, line 2
2(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=h(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(O(t)+" is not iterable")}return D.prototype=v,i(C,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:D,configurable:!0}),D.displayName=l(v,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===D||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},F(b.prototype),l(b.prototype,u,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new b(c(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},F(C),l(C,s,"Generator"),l(C,o,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(w),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function U(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,i)}function z(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);
2function o(e){U(a,r,i,o,u,"next",e)}function u(e){U(a,r,i,o,u,"throw",e)}o(void 0)}))}}D()(document).ready(M(B().mark((function e(){return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0==D()("#ContactUsFormModel").length){e.next=7;break}return T=JSON.parse(D()(".ContactUsFormAttributes").attr("data-errorMessageMap")),e.next=5,R();case 5:D()("select, input, textarea").on("input",(function(){D()(this).parent().find(".warning-hint").hide()})),D()("#contactFormSubmittion").on("click",function(){var e=M(B().mark((function e(t){var n,r,i;return B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),D()(".emailSuccessMessage").hide(),D()(".emailErrorMessage").hide(),D()(".captcha-error").hide(),n=document.getElementById("ContactUsFormModel"),r={firstName:/^(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])(?:[\t-\r '\x2D\.A-Za-z\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3000\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])+$/,lastName:/^(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])(?:[\t-\r '\x2D\.A-Za-z\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3000\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])+$/,email:/^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,street:/^(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])(?:[\t-\r ',-9A-Za-z\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3000\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF]){2,}
2$/,city:/^(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])(?:[\t-\r '\x2D\.A-Za-z\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3000\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])+$/,zipcode:/^[A-Za-z0-9][A-Za-z0-9\s\-]{1,}$/,senderMessage:/^(?:[\t-\r -#%-;\?-\[\]_a-z\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u201C\u201E\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3000\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF]){3,}$/},i={firstName:T.errorMsgFirstName,lastName:T.errorMsgLastName,email:T.errorMsgEmailAddress,street:T.errorMsgStreet,city:T.errorMsgCity,zipcode:T.errorMsgPostCo
2de,senderMessage:T.errorMessageDescription,scopeOfApplicationDropdown:T.errorMsgScopeOfApplication,terms:T.errorMsgTnc},!P.validateFields(n,i,r)){e.next=14;break}if(D()("#captchaAnswer").val()){e.next=12;break}return D()(".captcha-error").text(T.errorMsgCaptcha).show(),e.abrupt("return");case 12:return e.next=14,N();case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 7:case"end":return e.stop()}}),e)})))),D()(".message .close").on("click",(function(){D()(this).parent().hide()})),D()(document).ready(z(k().mark((function e(){var t,n,r,i,a,o,u,s;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s=function(e){D()("#videoCardsGallery").html("");var t=D()("#video-download-template").html(),n=y().compile(t);D()("#videoCardsGallery").html(n(e))},u=function(e){var t=D()("#downloadVideoComponent").attr("data-cfParentPath"),n=D()("#downloadVideoComponent").attr("data-cardsPerPage");D().ajax({url:"/bin/downloadVideoServlet.videoDownload.json?cfParentPath="+t+"&offset="+e+"&totalCardOnPage="+n,method:"GET",headers:{"Content-Type":"application/json"},success:function(e){200==e.statusCode?s(e.data):(400==e.statusCode||404==e.statusCode)&&console.log("response",e)},error:function(e){console.log("error",e)}})},o=function(e,t,n){n||u(t);for(var r=document.querySelector(".pagination-list");r.children.length>4;)r.removeChild(r.children[2]);for(var i=function(n){var i=document.createElement("li");i.classList.add("pagination-item");var a=document.createElement("a");a.href="#",a.classList.add("pagination-link"),n===t&&(a.classList.add("is-active"),a.setAttribute("aria-current","page")),a.innerText=n,a.onclick=function(t){t.preventDefault(),o(e,n)},i.appendChild(a),r.insertBefore(i,r.querySelector(".next").parentElement)},a=1;a<=e;a++)i(a);var s=r.querySelector(".first"),l=r.querySelector(".previous");s.onclick=l.onclick=function(t){t.preventDefault(),o(e,1)},s.disabled=1===t,l.disabled=1===t,l.onclick=function(n){n.preventDefault(),t>1&&o(e,t-1)};var c=r.querySelector(".next"),h=r.querySelector(".last");c.onclick=h.onclick=function(t){t.preventDefault(),o(e,e)},c.disabled=t===e,h.disabled=t===e,c.onclick=function(n){n.preventDefault(),t<e&&o(e,t+1)}},0!=D()("#downloadVideoComponent").length&&((t=D()(".gallery")).children().length>0&&(n=t.children().first(),r=n.attr("data-videoListSize"),i=D()("#downloadVideoComponent").attr("data-cardsPerPage"),a=Math.round(Number(r)/i),o(a,1,!0)),D()(document).on("click",".youtube-thumbnail",(function(){var e=D()(this).attr("data-video-id");D()(".youtube-video-iframe").attr("src","https://www.youtube.com/embed/".concat(e,"?autoplay=1&mute=1")),D()(".youtube-modal").css("display","block")})),D()(".youtube-modal-close").on("click",(function(){D()(".youtube-modal").css("display","none"),D()(".youtube-video-iframe").attr("src","")})));case 5:case"end":return e.stop()}}),e)}))));n(5799),n(7793);D()(document).ready((function(){var e=D()("#historyFilters");if(0!=e.length){D()(".no-result-found").hide(),console.log("locationFilter Component exists");var t=e.attr("data-parentPagePath"),n=e.attr("data-currentNodePath"),r=e.attr("data-readLessText"),i=e.attr("data-readMoreText"),a=e.attr("data-minus"),o=e.attr("data-plus");console.log(r),console.log(i),console.log(a),console.log(o),D()("select.historybtn").on("change",(function(){console.log("hii"),console.log(D()(this));var e=D()(this).val();console.log(e),console.log(t),function(e,t,n){D().ajax({url:"".concat(n,".history.json?historyTags=").concat(e,"&articleParentPath=").concat(t),method:"GET",headers:{"Content-Type":"application/json"},success:function(e){200===e.statusCode?(D()(".history-no-result-found").hide(),console.log(e.data),function(e){D()(".tabcontent").html("");var t=D()("#history-article-template").html(),n=y().compile(t);D()(".tabcontent").html(n(e))}(e.data)):(400===e.statusCode||e.statusCode,D()(".tabcontent").html(""),D()(".history-no-result-found").show())},error:function(e){D()(".tabcontent").html(""),D()(".history-no-result-found").show(),console.log("error",e)}})}(e,t,n)})),D()(document).on("click",".timeline_readmore",(function(){var e=D()(this).siblings(".timeline-desc"),t=D()(this).closest(".timeline-info").siblings(".timeline-control").find("img");"block"===e.css("display")?(e.css("display","none"),t.attr("src",o),D()(this).text(i)):(e.css("display","block"),t.attr("src",a),D()(this).text(r))})),D()(document).on("click",".timeline-control",(function(){var e=D()(this).siblings(".timeline-info").children(".button"),t=D()(this).siblings(".timeline-info").children(".timeline-desc");"block"===t.css("display")?(t.css("display","none"),D()(this).find("img").attr("src",o),e.text(i)):(t.css("display","block"),D()(this).find("img").attr("src",a),e.text(r))}))}})),y().registerHelper("oddOrEven",(function(e,t){return e%2==0?t.fn(this):t.inverse(this)}));n(4696),n(136);n(5313),n(9038),n(5926),n(1724),n(3369);n(4178),n(5724),n(859),n(8784),n(9599);function V(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
vendor: 4,407 bytes, line 2
2if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return W(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function H(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return G(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function X(){X=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof _?t:_,o=Object.create(a.prototype),u=new M(r||[]);return i(o,"_invoke",{value:S(e,n,u)}),o}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function _(){}function D(){}function v(){}var y={};l(y,o,(function(){return this}));var E=Object.getPrototypeOf,A=E&&E(E(T([])));A&&A!==n&&r.call(A,o)&&(y=A);var C=v.prototype=_.prototype=Object.create(y);function F(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(i,a,o,u){var s=h(e[i],e,a);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==j(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(c).then((function(e){l.value=e,o(l)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return a=a?a.then(i,i):i()}})}function S(t,n,r){var i=d;return function(a,o){if(i===f)throw Error("Generator is already running");if(i===m){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=x(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=f;var l=h(t,n,r);if("normal"===l.type){if(i=r.done?m:p,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=m,r.method="throw",r.arg=l.arg)}}}function x(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&
vendor: 4,486 bytes, line 2
2(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=h(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(j(t)+" is not iterable")}return D.prototype=v,i(C,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:D,configurable:!0}),D.displayName=l(v,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===D||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},F(b.prototype),l(b.prototype,u,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new b(c(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},F(C),l(C,s,"Generator"),l(C,o,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(w),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function K(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,i)}function q(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);
2function o(e){K(a,r,i,o,u,"next",e)}function u(e){K(a,r,i,o,u,"throw",e)}o(void 0)}))}}D()(document).ready((function(){function e(){D()(".image-gallery-slick-slider").slick({infinite:!1,dots:!0,arrows:!1,slidesToShow:1,slidesToScroll:1,adaptiveHeight:!0})}function t(){var e,t=V(document.querySelectorAll(".imageGallery"));try{for(t.s();!(e=t.n()).done;){var n,r=e.value,a=r.querySelectorAll("img"),o=r.querySelectorAll("ul.slick-dots li"),u=0,s=V(o);try{for(s.s();!(n=s.n()).done;){i(n.value,a[u].getAttribute("src")),u++}}catch(e){s.e(e)}finally{s.f()}}}catch(e){t.e(e)}finally{t.f()}}function n(){var e,t=V(document.querySelectorAll(".imageGallery"));try{for(t.s();!(e=t.n()).done;){var n,r=V(e.value.querySelectorAll(".gallery-item"));try{for(r.s();!(n=r.n()).done;){var a=n.value,o=a.querySelector("img").getAttribute("src");i(a,o)}}catch(e){r.e(e)}finally{r.f()}}}catch(e){t.e(e)}finally{t.f()}}function r(){var e,t=V(document.querySelectorAll(".imageGallery"));try{for(t.s();!(e=t.n()).done;){var n,r=e.value,i=r.clientWidth,a=V(r.querySelectorAll(".gallery-item"));try{for(a.s();!(n=a.n()).done;){n.value.style.width=i+"px"}}catch(e){a.e(e)}finally{a.f()}}}catch(e){t.e(e)}finally{t.f()}}function i(e,t){e.style.backgroundImage="url("+t+")"}e(),t(),n(),r(),window.addEventListener("resize",(function(i){D()(".image-gallery-slick-slider").slick("unslick"),e(),r(),t(),n()}),!0)})),D()(document).ready((function(){function e(e,t){e.style.backgroundImage="url("+t+")"}function t(e,t){var n=e.cloneNode(!0);t.appendChild(n)}D()(".image-tab-slick-slider").slick({infinite:!1,dots:!0,arrows:!1,slidesToShow:1,slidesToScroll:1,adaptiveHeight:!0}),function(){var n,r=H(document.querySelectorAll(".imageTabSwitcher"));try{for(r.s();!(n=r.n()).done;){var i,a=n.value,o=a.querySelectorAll("img"),u=a.querySelectorAll(".name"),s=a.querySelectorAll(".position"),l=a.querySelectorAll("ul.slick-dots li"),c=0,h=H(l);try{for(h.s();!(i=h.n()).done;){var d=i.value,p=o[c].getAttribute("src");e(d.querySelector("button"),p),t(u[c],d),t(s[c],d),c++}}catch(e){h.e(e)}finally{h.f()}}}catch(e){r.e(e)}finally{r.f()}}()})),D()(document).ready((function(){var e=window.location.pathname;D()(".header_navigation_variation option").each((function(){if(D()(this).attr("href")==e)return D()(this).attr("selected","selected"),!1})),D()(document).on("change",".header_navigation_variation select",(function(e){e.preventDefault();var t=D()(this).find("option:selected").attr("href");t&&t.length&&(window.location.href=t)}))})),D()(document).ready(q(X().mark((function e(){var t,n,r,i,a;return X().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:0!=(t=D()(".legatText")).length&&(n=function(){var e=q(X().mark((function e(){return X().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:D().ajax({url:a+".legalTerms.json?textType="+r+"&projectType="+i,type:"GET",headers:{"Content-Type":"text/html"},success:function(e){try{var n=(new DOMParser).parseFromString(e,"text/html").body.innerHTML;if(null!=n){var r=JSON.stringify({legalText:n}),i=JSON.parse(r);console.log(i.legalText),t.html(i.legalText)}else console.error("Error: Legal text is null or undefined.")}catch(e){t.html(e),console.error("Error parsing response: ",e)}},error:function(e){function t(t,n,r){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,n,r){try{var i=(new DOMParser).parseFromString(e.responseText,"text/html").body.innerHTML;if(null!=i){var a=JSON.stringify({legalText:i}),o=JSON.parse(a);t.html(o.legalText)}else t.html(r),console.error("Error: Legal text is null or undefined.")}catch(r){t.html(r),console.error("Error parsing response: ",r)}}))});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),r=t.attr("data-textType"),i=t.attr("data-projectType"),a=t.attr("data-currentNodePath"),r?n():(console.error("Error: ",error),t.html(error)));case 2:case"end":return e.stop()}}),e)}))));n(4821);n(8976),n(9314),n(4551),n(5870);n(2603).p.preload("/content/dam/max-boegl-renewables/energieleistungen/leistung-animation/MAXB-24009_3D%20Welt_Insel_LY10_separierte_MATS-transformed.glb");n(2104),n(3727),n(4947);console.log("location filter");var J,Y,$,Q,Z,ee=D()("#locationFilter");if(0!=ee.length){D()(".no-result-found").hide(),console.log("locationFilter Component exists");var te=ee.attr("data-parentPagePath"),ne=ee.attr("data-currentNodePath");D()("select.locationBtn").on("change",(function(){console.log("hi");var e=D()(this).val();console.log(e),console.log(te),function(e,t,n){D().ajax({url:"".concat(n,".json?locationTags=").concat(e,"&articleParentPath=").concat(t),method:"GET",headers:{"Content-Type":"application/json"},success:function(e){200===e.statusCode?(D()(".no-result-found").hide(),console.log(e.data),function(e){D()(".location-cards").html("");var t=D()("#location-article-template").html(),n=y().compile(t);D()(".location-cards").html(n(e))}(e.data)):400!==e.statusCode&&404!==e.statusCode||(D()(".locations").html(""),D()(".no-result-found").show())},error:function(e){console.log("error",e)}})}(e,te,ne)})),D()(document).on("click",".route-button",(function(){console.log("hi");var e=D()(this).attr("data-lat"),t=D()(this).attr("data-long");D()("#popup").show(),function(e,t){var n={lat:Number(e),lng:Number(t)};navigator.geolocation?navigator.geolocation.getCurrentPosition((function(e){var t={lat:e.co
2ords.latitude,lng:e.coords.longitude};J=new google.maps.Map(document.getElementById("map"),{zoom:7,center:t}),Y=new google.maps.DirectionsService,$=new google.maps.DirectionsService,Q=new google.maps.DirectionsRenderer({map:J,polylineOptions:{strokeColor:"#FF0000"},suppressMarkers:!1}),Z=new google.maps.DirectionsRenderer({map:J,polylineOptions:{strokeColor:"#0000FF"},suppressMarkers:!1}),re("DRIVING",Y,Q,t,n,"Car Route","https://maps.gstatic.com/consumer/images/icons/1x/directions_car_grey800_24dp.png"),re("TRANSIT",$,Z,t,n,"Train Route","https://maps.gstatic.com/consumer/images/icons/1x/directions_transit_grey800_24dp.png"),function(e,t){var n=new google.maps.Polyline({path:[e,t],geodesic:!0,strokeColor:"#5B99C2",strokeOpacity:1,strokeWeight:4});n.setMap(J);var r=new google.maps.Marker({position:e,map:J,title:"Origin",icon:{path:google.maps.SymbolPath.CIRCLE,scale:7,fillColor:"#5B99C2",fillOpacity:1,strokeWeight:.5}}),i=(new google.maps.Marker({position:t,map:J,title:"Destination",icon:{path:google.maps.SymbolPath.CIRCLE,scale:7,fillColor:"#5B99C2",fillOpacity:1,strokeWeight:.5}}),e.lat,t.lat,e.lng,t.lng,'\n        <div style="display: flex; align-items: center;">\n            <img src="https://maps.gstatic.com/consumer/images/icons/1x/flight_blue900_24dp.png" alt="Midway Icon" style="width: 20px; height: 20px; margin-right: 5px;">\n            <span>Flight route</span>\n        </div>\n    '),a=new google.maps.InfoWindow({content:i});new google.maps.Marker({position:e,map:J,title:"Midway",icon:{path:google.maps.SymbolPath.CIRCLE,scale:5,fillColor:"#5B99C2",fillOpacity:.8,strokeWeight:.5}});a.open(J,r),document.querySelector("#popup .close").addEventListener("click",(function(){var e=this.closest(".popup");e&&(e.style.display="none")}))}(t,n)})):alert("Geolocation is not supported by this browser.")}(e,t)}))}function re(e,t,n,r,i,a,o){var u={origin:r,destination:i,travelMode:e};t.route(u,(function(e,t){if(t==google.maps.DirectionsStatus.OK){n.setDirections(e);var r=e.routes[0].legs[0].steps,i=r[Math.floor(r.length/2)].end_location,u='\n            <div style="display: flex; align-items: center;">\n                <img src="'.concat(o,'" alt="Midway Icon" style="width: 20px; height: 20px; margin-right: 5px;">\n                <span>').concat(a,"</span>\n            </div>\n    ");new google.maps.InfoWindow({content:u,position:i}).open(J)}else console.error("Could not display route due to: "+t)}))}n(6179);function ie(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ae(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ae(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}D()(document).ready((function(){function e(){D()(".news-slick-slider .slick-slide").removeClass("news-slide-last-active"),D()(".news-slick-slider .slick-slide.slick-active").last().addClass("news-slide-last-active")}function t(){if(D()(window).width()>=600&&D()(window).width()<=1024){var e=0;D()(".newsFeed .cmp-teaser__content .heading-container").css("height","auto"),D()(".newsFeed .cmp-teaser__content .heading-container").each((function(){var t=D()(this).outerHeight();t>e&&(e=t)})),D()(".newsFeed .cmp-teaser__content .heading-container").css("height",e)}else D()(".newsFeed .cmp-teaser__content .heading-container").css("height","auto")}D()(".news-slick-slider").on("afterChange breakpoint",(function(){e()})),D()(".news-slick-slider").slick({infinite:!1,dots:!0,arrows:!1,slidesToShow:3,slidesToScroll:3,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1}}]}),e(),D()(document).ready((function(){function e(){D()(".news-slick-slider .cmp-teaser__description > p").each((function(){var e=D()(this),t=e.text().trim(),n=D()(window).width()>=600&&D()(window).width()<=1024?65:165;if(t.length>n){var r=t.substring(0,n).trim();e.text(r+"...")}}))}e(),D()(window).resize((function(){e()}))})),D()(document).ready((function(){function e(){D()(".news-slick-slider .cmp-teaser__description > p").each((function(){var e=D()(this),t=e.text().trim(),n=D()(window).width()<=1024?65:165;if(t.length>n){var r=t.substring(0,n).trim();e.text(r+"...")}}))}e(),D()(window).resize((function(){e()}))})),t(),D()(window).resize((function(){t()}))})),D()(document).ready((function(){var e=D()("#newsFiltersComponent"),t=e.attr("data-parentPath"),n=e.attr("data-error400Message"),r=e.attr("data-error404Message");if(D()(".no-result-found").hide(),0!=e.length){var i=function(t,i,a){D()(".no-result-found-msg").hide();var u=e.attr("data-currentNodePath");D().ajax({url:u+".newsFilter.json?tags="+t+"&years="+i+"&articleParentPath="+a,method:"GET",headers:{"Content-Type":"application/json"},success:function(e){if(200==e.statusCode){console.log("response",e);var t=e.data;D()(".news-slick-slider").slick("unslick"),D()(".no-result-found").hide(),o(t)}else 400==e.statusCode?(D()("#newsArticleHandlebarData").html(""),D()(".negative-result-message").text(n),D()(".no-result-found").show()):404==e.statusCode&&(D()("#newsArticleHandlebarData").html(""),D()(".negative-result-message").text(r),D()(".no-result-found").show())},error:function(e){console.log("error",e)}})},a=function(e,t){var n,r=ie(e.querySelectorAll(t));try{for(r.s();!(n=r.n()).done;){n.value.classList.remove("active")}}catch(e){r.e(e)}finally{r.f()}},o=function(e){D()("#newsArticleHandlebarData").html("");var t=D()("#news-article-template").html(),n=y().compile(t);D()("#newsArticleHandlebarData").html(n(e))},u="",s="";D()(".tags").on("click","button",(function(){u=D()(this).val(),console.log("tagsArray",u),i(u,s,t)})),D()("#yearsDropdown").on("change",(function(){s=D()(this).val(),console.log("yearsArray",s),i(u,s,t)})),function(){var e,t=ie(document.querySelector("#newsFiltersComponent .tags").querySelectorAll("button"));try{var n=function(){var t=e.value;t.addEventListener("click",(function(){var e=t.parentElement;a(e,"button"),t.classList.add("active")}))};for(t.s();!(e=t.n()).done;)n()}catch(e){t.e(e)}finally{t.f()}}()}}));n(3034);function oe(e){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(e)}function ue(){ue=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}
vendor: 4,165 bytes, line 2
2try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof _?t:_,o=Object.create(a.prototype),u=new M(r||[]);return i(o,"_invoke",{value:S(e,n,u)}),o}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function _(){}function D(){}function v(){}var y={};l(y,o,(function(){return this}));var E=Object.getPrototypeOf,A=E&&E(E(T([])));A&&A!==n&&r.call(A,o)&&(y=A);var C=v.prototype=_.prototype=Object.create(y);function F(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(i,a,o,u){var s=h(e[i],e,a);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==oe(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(c).then((function(e){l.value=e,o(l)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return a=a?a.then(i,i):i()}})}function S(t,n,r){var i=d;return function(a,o){if(i===f)throw Error("Generator is already running");if(i===m){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=x(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=f;var l=h(t,n,r);if("normal"===l.type){if(i=r.done?m:p,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=m,r.method="throw",r.arg=l.arg)}}}function x(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=h(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(oe(t)+" is not iterable")}return D.prototype=v,i(C,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:D,configurable:!0}),D.displayName=l(v,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===D||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},F(b.prototype),l(b.prototype,u,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new b(c(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},F(C),l(C,s,"Generator"),l(C,o,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
2h(w),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function se(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,i)}function le(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){se(a,r,i,o,u,"next",e)}function u(e){se(a,r,i,o,u,"throw",e)}o(void 0)}))}}function ce(e,t,n){var r=!0;return D()(e).find("input, textarea").each((function(){var e=D()(this).attr("name"),i=D()(this).val().trim();e in n&&(new RegExp(n[e]).test(i)||(D()(this).siblings("span").text(t[e]).show(),r=!1));"datenschutz"!==e||this.checked||(D()(this).siblings("span").text(t[e]).show(),r=!1)})),r}function he(e,t,n,r,i,a,o,u,s,l){return de.apply(this,arguments)}function de(){return de=le(ue().mark((function e(t,n,r,i,a,o,u,s,l,c){var h,d,p,f,m;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=D()(".renewable-ContactUsFormAttributes").attr("data-currentNodePath"),d=r.closest("form"),p=d.siblings(".emailErrorMessage"),f=d.siblings(".emailSuccessMessage"),p.find("p").text(""),f.find("p").text(""),p.hide(),f.hide(),e.prev=8,e.next=11,b(h+".renewablesContactForm.json",{userEmail:i,userName:a,userCompany:o,userPhone:u,userMessage:s,formType:n,datenschutz:c?"true":"false",contactReference:l});case 11:200===(m=e.sent).status?(S(f,t.emailSuccessMessage),d[0].reset()):404===m.status?S(p,t.error404Message):S(p,t.error400Message),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(8),console.error("Renewables form submission failed",e.t0),S(p,t.error400Message);case 19:case"end":return e.stop()}}),e,null,[[8,15]])}))),de.apply(this,arguments)}D()(document).ready(le(ue().mark((function e(){var t,n;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:0!=D()(".renewable-ContactUsFormAttributes").length&&(t=JSON.parse(D()(".renewable-ContactUsFormAttributes").attr("data-errorMessageMap")),n=D()(".renewable-ContactUsFormAttributes").attr("data-formType"),D()("select, input, textarea").on("input",(function(){D()(this).parent().find(".warning-hint").hide()})),D()("input, textarea").on("input",(function(){D()(this).parent().find("span").hide()})),D()("input[type='checkbox']").on("change",(function(){D()(this).siblings("span").hide()})),D()(".submit-btn").on("click",function(){var e=le(ue().mark((function e(r){var i,a,o,u,s,l,c,h,d,p;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.preventDefault(),i=D()(this).closest("form"),n=D()(this).attr("data-formType"),a=i.find("#email").val(),o=i.find("#name").val(),u=i.find("#firma").val(),s=i.find("#telefon").val(),l=i.find("#nachricht").val(),c=i.find("input[name='contactReference']").val(),h=i.find("input[name='datenschutz']").is(":checked"),!i){e.next=17;break}if(d={name:/^(?:[\t-\r '\x2DA-Za-z\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3000\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])+$/,firma:/^(?:[\t-\r '\x2DA-Za-z\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3000\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])*$/,email:/^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,telefon:/^$|^\+?[0-9]{1,4}[-\s]?[0-9]{10}
2$/,nachricht:/^(?:[\t-\r !'-\),-\.0-9\?A-Za-z\xA0\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2000-\u200A\u2028\u2029\u202F\u205F\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3000\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
2D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEFD-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])+$/},p={name:t.errorMsgFirstName,firma:t.errorCompanyAddress,email:t.errorMsgEmailAddress,telefon:t.errorMsgPhoneNumber,nachricht:t.errorMessageDescription,datenschutz:t.errorMsgTnc}
2,!ce(i,p,d)){e.next=17;break}return e.next=17,he(t,n,D()(this),a,o,u,s,l,c,h);case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()));case 2:case"end":return e.stop()}}),e)})))),D()("input, textarea").on("input",(function(){D()(this).siblings(".warning-hint").hide()})),D()(".renewable-banner-title-overlapped .font-h1").html((function(e,t){var n=t.split(/<br\s*\/?>/i);if(n.length>1){var r=n.pop().trim().split(/\s+/);return r.length>0&&(r[0]='<span class="last-word">'+r[0]+"</span>"),n.push(r.join(" ")),n.join("<br>")}return t}));n(8086),n(7848),n(5559),n(16),n(9610),n(857),n(2915),n(4836),n(8519),n(7876),n(3519),n(8161),n(4496)}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.