PageSourceSearch

https://www.sperottospa.com/_next/static/chunks/8354.cecb5e893ae1372e.js

js sperottospa.com collected 2026-10-06 13:35:59 UTC 60,235 bytes, 169 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8354],{7140:function(e,t,r){r.d(t,{q:function(){return i}});var n=r(7776),o=r(2265),a=r(6986);function i({all:e,scene:t,camera:r}){let i=(0,a.A)(({gl:e})=>e),l=(0,a.A)(({camera:e})=>e),s=(0,a.A)(({scene:e})=>e);return o.useLayoutEffect(()=>{let o=[];e&&(t||s).traverse(e=>{!1===e.visible&&(o.push(e),e.visible=!0)}),i.compile(t||s,r||l);let a=new n.WebGLCubeRenderTarget(128);new n.CubeCamera(.01,1e5,a).update(i,t||s),a.dispose(),o.forEach(e=>e.visible=!1)},[]),null}},4379:function(e,t,r){r.d(t,{x:function(){return s}});var n=r(2988),o=r(2265),a=r(5212),i=r(6986),l=r(9429);let s=o.forwardRef(({sdfGlyphSize:e=64,anchorX:t="center",anchorY:r="middle",font:s,fontSize:u=1,children:f,characters:c,onSync:d,...v},h)=>{let p=(0,i.A)(({invalidate:e})=>e),[m]=o.useState(()=>new a.xv),[g,y]=o.useMemo(()=>{let e=[],t="";return o.Children.forEach(f,r=>{"string"==typeof r||"number"==typeof r?t+=r:e.push(r)}),[e,t]},[f]);return(0,l.Rq)(()=>new Promise(e=>(0,a.C5)({font:s,characters:c},e)),["troika-text",s,c]),o.useLayoutEffect(()=>void m.sync(()=>{p(),d&&d(m)})),o.useEffect(()=>()=>m.dispose(),[m]),o.createElement("primitive",(0,n.Z)({object:m,ref:h,font:s,text:y,anchorX:t,anchorY:r,fontSize:u,sdfGlyphSize:e},v),g)})},9012:function(e,t,r){r.d(t,{v:function(){return m}});var n=r(2988),o=r(2265),a=r(7776),i=r(6986),l=r(7188);let s={uniforms:{strokeOpacity:1,fillOpacity:.25,fillMix:0,thickness:.05,colorBackfaces:!1,dashInvert:!0,dash:!1,dashRepeats:4,dashLength:.5,squeeze:!1,squeezeMin:.2,squeezeMax:1,stroke:new a.Color("#ff0000"),backfaceStroke:new a.Color("#0000ff"),fill:new a.Color("#00ff00")},vertex:`
2	  attribute vec3 barycentric;
3	
4		varying vec3 v_edges_Barycentric;
5		varying vec3 v_edges_Position;
6
7		void initWireframe() {
8			v_edges_Barycentric = barycentric;
9			v_edges_Position = position.xyz;
10		}
11	  `,fragment:`
12		#ifndef PI
13	  	#define PI 3.1415926535897932384626433832795
14		#endif
15  
16	  varying vec3 v_edges_Barycentric;
17	  varying vec3 v_edges_Position;
18  
19	  uniform float strokeOpacity;
20	  uniform float fillOpacity;
21	  uniform float fillMix;
22	  uniform float thickness;
23	  uniform bool colorBackfaces;
24  
25	  // Dash
26	  uniform bool dashInvert;
27	  uniform bool dash;
28	  uniform bool dashOnly;
29	  uniform float dashRepeats;
30	  uniform float dashLength;
31  
32	  // Squeeze
33	  uniform bool squeeze;
34	  uniform float squeezeMin;
35	  uniform float squeezeMax;
36  
37	  // Colors
38	  uniform vec3 stroke;
39	  uniform vec3 backfaceStroke;
40	  uniform vec3 fill;
41  
42	  // This is like
43	  float wireframe_aastep(float threshold, float dist) {
44		  float afwidth = fwidth(dist) * 0.5;
45		  return smoothstep(threshold - afwidth, threshold + afwidth, dist);
46	  }
47  
48	  float wireframe_map(float value, float min1, float max1, float min2, float max2) {
49		  return min2 + (value - min1) * (max2 - min2) / (max1 - min1);
50	  }
51  
52	  float getWireframe() {
53			vec3 barycentric = v_edges_Barycentric;
54		
55			// Distance from center of each triangle to its edges.
56			float d = min(min(barycentric.x, barycentric.y), barycentric.z);
57
58			// for dashed rendering, we can use this to get the 0 .. 1 value of the line length
59			float positionAlong = max(barycentric.x, barycentric.y);
60			if (barycentric.y < barycentric.x && barycentric.y < barycentric.z) {
61				positionAlong = 1.0 - positionAlong;
62			}
63
64			// the thickness of the stroke
65			float computedThickness = wireframe_map(thickness, 0.0, 1.0, 0.0, 0.34);
66
67			// if we want to shrink the thickness toward the center of the line segment
68			if (squeeze) {
69				computedThickness *= mix(squeezeMin, squeezeMax, (1.0 - sin(positionAlong * PI)));
70			}
71
72			// Create dash pattern
73			if (dash) {
74				// here we offset the stroke position depending on whether it
75				// should overlap or not
76				float offset = 1.0 / dashRepeats * dashLength / 2.0;
77				if (!dashInvert) {
78					offset += 1.0 / dashRepeats / 2.0;
79				}
80
81				// if we should animate the dash or not
82				// if (dashAnimate) {
83				// 	offset += time * 0.22;
84				// }
85
86				// create the repeating dash pattern
87				float pattern = fract((positionAlong + offset) * dashRepeats);
88				computedThickness *= 1.0 - wireframe_aastep(dashLength, pattern);
89			}
90
91			// compute the anti-aliased stroke edge  
92			float edge = 1.0 - wireframe_aastep(computedThickness, d);
93
94			return edge;
95	  }
96	  `},u=(0,l.g)(s.uniforms,s.vertex+`
97  	void main() {
98		initWireframe();
99		gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
100	}
101  `,s.fragment+`
102  void main () {
103		// Compute color
104
105		float edge = getWireframe();
106		vec4 colorStroke = vec4(stroke, edge);
107
108		#ifdef FLIP_SIDED
109			colorStroke.rgb = backfaceStroke;
110		#endif
111    
112		vec4 colorFill = vec4(fill, fillOpacity);
113		vec4 outColor = mix(colorFill, colorStroke, edge * strokeOpacity);
114
115		gl_FragColor = outColor;
116	}
117  `);function f(e){return(null==e?void 0:e.current)!==void 0}function c(e){return"WireframeGeometry"===e.type}function d(e){let t=null!=e&&e.current?e.current:e;if(null!=t&&t.isBufferGeometry)return t;{if(c(t))throw Error("Wireframe: WireframeGeometry is not supported.");let e=t.parent;if(null!=e&&e.geometry){if(c(e.geometry))throw Error("Wireframe: WireframeGeometry is not supported.");return e.geometry}}}function v(e,t){if(e.index){console.warn("Wireframe: Requires non-indexed geometry, converting to non-indexed geometry.");let t=e.toNonIndexed();e.copy(t),e.setIndex(null)}let r=function(e,t){let r=e.getAttribute("position").count,n=[];for(let e=0;e<r;e++){let r=t?1:0;e%2==0?n.push(0,0,1,0,1,0,1,0,r):n.push(0,1,0,0,0,1,1,0,r)}return new a.BufferAttribute(Float32Array.from(n),3)}(e,t);e.setAttribute("barycentric",r)}function h({geometry:e,simplify:t=!1,...r}){(0,i.e)({MeshWireframeMaterial:u});let[l,s]=o.useState(null);o.useLayoutEffect(()=>{let r=d(e);if(!r)throw Error("Wireframe: geometry prop must be a BufferGeometry or a ref to a BufferGeometry.");v(r,t),f(e)&&s(r)},[t,e]);let c=f(e)?l:e;return o.createElement(o.Fragment,null,c&&o.createElement("mesh",{geometry:c},o.createElement("meshWireframeMaterial",(0,n.Z)({attach:"material",transparent:!0,side:a.DoubleSide,polygonOffset:!0,polygonOffsetFactor:-4},r,{extensions:{derivatives:!0,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1}}))))}function p({simplify:e=!1,...t}){let r=o.useRef(null),n=o.useMemo(()=>(function(){let e={};for(let t in s.uniforms)e[t]={value:s.uniforms[t]};return e})(),[s.uniforms]);return o.useEffect(()=>{var e;n.fillOpacity.value=null!==(e=t.fillOpacity)&&void 0!==e?e:n.fillOpacity.value},[t.fillOpacity]),o.useEffect(()=>{var e;n.fillMix.value=null!==(e=t.fillMix)&&void 0!==e?e:n.fillMix.value},[t.fillMix]),o.useEffect(()=>{var e;n.strokeOpacity.value=null!==(e=t.strokeOpacity)&&void 0!==e?e:n.strokeOpacity.value},[t.strokeOpacity]),o.useEffect(()=>{var e;n.thickness.value=null!==(e=t.thickness)&&void 0!==e?e:n.thickness.value},[t.thickness]),o.useEffect(()=>void(n.colorBackfaces.value=!!t.colorBackfaces),[t.colorBackfaces]),o.useEffect(()=>void(n.dash.value=!!t.dash),[t.dash]),o.useEffect(()=>void(n.dashInvert.value=!!t.dashInvert),[t.dashInvert]),o.useEffect(()=>{var e;n.dashRepeats.value=null!==(e=t.dashRepeats)&&void 0!==e?e:n.dashRepeats.value},[t.dashRepeats]),o.useEffect(()=>{var e;n.dashLength.value=null!==(e=t.dashLength)&&void 0!==e?e:n.dashLength.value},[t.dashLength]),o.useEffect(()=>void(n.squeeze.value=!!t.squeeze),[t.squeeze]),o.useEffect(()=>{var e;n.squeezeMin.value=null!==(e=t.squeezeMin)&&void 0!==e?e:n.squeezeMin.value},[t.squeezeMin]),o.useEffect(()=>{var e;n.squeezeMax.value=null!==(e=t.squeezeMax)&&void 0!==e?e:n.squeezeMax.value},[t.squeezeMax]),o.useEffect(()=>void(n.stroke.value=t.stroke?new a.Color(t.stroke):n.stroke.value),[t.stroke]),o.useEffect(()=>void(n.fill.value=t.fill?new a.Color(t.fill):n.fill.value),[t.fill]),o.useEffect(()=>void(n.backfaceStroke.value=t.backfaceStroke?new a.Color(t.backfaceStroke):n.backfaceStroke.value),[t.backfaceStroke]),o.useLayoutEffect(()=>{let t=d(r);if(!t)throw Error("Wireframe: Must be a child of a Mesh, Line or Points object or specify a geometry prop.");let n=t.clone();return v(t,e),()=>{t.copy(n),n.dispose()}},[e]),o.useLayoutEffect(()=>{var e;let t=r.current.parent,o=t.material.clone();return(e=t.material).onBeforeCompile=e=>{e.uniforms={...e.uniforms,...n},e.vertexShader=e.vertexShader.replace("void main() {",`
118		  ${s.vertex}
119		  void main() {
120			initWireframe();
121		`),e.fragmentShader=e.fragmentShader.replace("void main() {",`
122		  ${s.fragment}
123		  void main() {
124		`),e.fragmentShader=e.fragmentShader.replace("#include <color_fragment>",`
125		  #include <color_fragment>
126			  float edge = getWireframe();
127		  vec4 colorStroke = vec4(stroke, edge);
128		  #ifdef FLIP_SIDED
129			colorStroke.rgb = backfaceStroke;
130		  #endif
131		  vec4 colorFill = vec4(mix(diffuseColor.rgb, fill, fillMix), mix(diffuseColor.a, fillOpacity, fillMix));
132		  vec4 outColor = mix(colorFill, colorStroke, edge * strokeOpacity);
133
134		  diffuseColor.rgb = outColor.rgb;
135		  diffuseColor.a *= outColor.a;
136		`)},e.side=a.DoubleSide,e.transparent=!0,()=>{t.material.dispose(),t.material=o}},[]),o.createElement("object3D",{ref:r})}function m({geometry:e,...t}){return e?o.createElement(h,(0,n.Z)({geometry:e},t)):o.createElement(p,t)}},748:function(e,t,r){r.d(t,{l:function(){return s}});var n=r(7776);
136let o=new n.Matrix4,a=new n.Ray,i=new n.Sphere,l=new n.Vector3;function s(e,t){let r=this.geometry,n=this.material,s=this.matrixWorld;void 0!==n&&(null===r.boundingSphere&&r.computeBoundingSphere(),i.copy(r.boundingSphere),i.applyMatrix4(s),!1!==e.ray.intersectsSphere(i)&&(o.copy(s).invert(),a.copy(e.ray).applyMatrix4(o),(null===r.boundingBox||null!==a.intersectBox(r.boundingBox,l))&&t.push({distance:l.distanceTo(e.ray.origin),point:l.clone(),object:this})))}},7188:function(e,t,r){r.d(t,{g:function(){return o}});var n=r(7776);function o(e,t,r,o){let a=class extends n.ShaderMaterial{constructor(a={}){let i=Object.entries(e);super({uniforms:i.reduce((e,[t,r])=>{let o=n.UniformsUtils.clone({[t]:{value:r}});return{...e,...o}},{}),vertexShader:t,fragmentShader:r}),this.key="",i.forEach(([e])=>Object.defineProperty(this,e,{get:()=>this.uniforms[e].value,set:t=>this.uniforms[e].value=t})),Object.assign(this,a),o&&o(this)}};return a.key=n.MathUtils.generateUUID(),a}},7871:function(e,t,r){r.d(t,{m:function(){return l}});var n=r(7776),o=r(6986),a=r(2265);let i=e=>e===Object(e)&&!Array.isArray(e)&&"function"!=typeof e;function l(e,t){let r=(0,o.A)(e=>e.gl),l=(0,o.F)(n.TextureLoader,i(e)?Object.values(e):e);return(0,a.useLayoutEffect)(()=>{null==t||t(l)},[t]),(0,a.useEffect)(()=>{if("initTexture"in r){let e=[];Array.isArray(l)?e=l:l instanceof n.Texture?e=[l]:i(l)&&(e=Object.values(l)),e.forEach(e=>{e instanceof n.Texture&&r.initTexture(e)})}},[r,l]),(0,a.useMemo)(()=>{if(!i(e))return l;{let t={},r=0;for(let n in e)t[n]=l[r++];return t}},[e,l])}l.preload=e=>o.F.preload(n.TextureLoader,e),l.clear=e=>o.F.clear(n.TextureLoader,e)},4325:function(e,t,r){r.d(t,{Xs:function(){return e_},Fq:function(){return ey},vO:function(){return eg}});var n,o,a,i,l,s,u,f,c,d,v,h,p,m,g,y,b,w,_,x,E,M,k,S,A,R=r(2988),L=r(2265),I=r(4040),T=r(6986);function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var O=r(7776);function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function j(e,t){if(e){if("string"==typeof e)return U(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return U(e,t)}}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw n}}return a}}(e,t)||j(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}new O.Vector2,new O.Vector2;var F=function e(t,r,n){var o=this;B(this,e),C(this,"dot2",function(e,t){return o.x*e+o.y*t}),C(this,"dot3",function(e,t,r){return o.x*e+o.y*t+o.z*r}),this.x=t,this.y=r,this.z=n},z=[new F(1,1,0),new F(-1,1,0),new F(1,-1,0),new F(-1,-1,0),new F(1,0,1),new F(-1,0,1),new F(1,0,-1),new F(-1,0,-1),new F(0,1,1),new F(0,-1,1),new F(0,1,-1),new F(0,-1,-1)],q=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,
136127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],W=Array(512),N=Array(512);function G(e){var t=function(e){if("number"==typeof e)e=Math.abs(e);else if("string"==typeof e){var t=e;e=0;for(var r=0;r<t.length;r++)e=(e+t.charCodeAt(r)%96*(r+1))%2147483647}return 0===e&&(e=311),e}(e);return function(){var e=48271*t%2147483647;return t=e,e/2147483647}}!function(e){e>0&&e<1&&(e*=65536),(e=Math.floor(e))<256&&(e|=e<<8);for(var t,r=0;r<256;r++)t=1&r?q[r]^255&e:q[r]^e>>8&255,W[r]=W[r+256]=t,N[r]=N[r+256]=z[t%12]}(0),new function e(t){var r=this;B(this,e),C(this,"seed",0),C(this,"init",function(e){r.seed=e,r.value=G(e)}),C(this,"value",G(this.seed)),this.init(t)}(Math.random());var $=function(e){return 1/(1+e+.48*e*e+.235*e*e*e)};function V(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.01,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1/0,i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:$,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:.001,s="velocity_"+t;if(void 0===e.__damp&&(e.__damp={}),void 0===e.__damp[s]&&(e.__damp[s]=0),Math.abs(e[t]-r)<=l)return e[t]=r,!1;var u=2/(n=Math.max(1e-4,n)),f=i(u*o),c=e[t]-r,d=r,v=a*n;c=Math.min(Math.max(c,-v),v),r=e[t]-c;var h=(e.__damp[s]+u*c)*o;e.__damp[s]=(e.__damp[s]-u*h)*f;var p=r+(c+h)*f;return d-e[t]>0==p>d&&(p=d,e.__damp[s]=(p-d)/o),e[t]=p,!0}var X=new O.Vector3,Y=new O.Quaternion,H=new O.Quaternion,K=new O.Matrix4,Q=new O.Vector3;function Z(e,t,r,n,o,a,i,l){var s,u,f,c;return V(e,t,e[t]+(f=(s=r-e[t])-Math.floor(s/(u=2*Math.PI))*u,(c=Math.max(0,Math.min(u,f)))>Math.PI&&(c-=2*Math.PI),c),n,o,a,i,l)}var J=new O.Vector2,ee=new O.Vector3;function et(e,t,r,n,o,s,u){return"number"==typeof t?ee.setScalar(t):Array.isArray(t)?ee.set(t[0],t[1],t[2]):ee.copy(t),a=V(e,"x",ee.x,r,n,o,s,u),i=V(e,"y",ee.y,r,n,o,s,u),l=V(e,"z",ee.z,r,n,o,s,u),a||i||l}var er=new O.Vector4,en=new O.Euler,eo=new O.Color,ea=new O.Quaternion,ei=new O.Vector4,el=new O.Vector4,es=new O.Vector4;function eu(e,t,r,n,o,a,i){Array.isArray(t)?ea.set(t[0],t[1],t[2],t[3]):ea.copy(t);var l=e.dot(ea)>0?1:-1;return ea.x*=l,ea.y*=l,ea.z*=l,ea.w*=l,y=V(e,"x",ea.x,r,n,o,a,i),b=V(e,"y",ea.y,r,n,o,a,i),w=V(e,"z",ea.z,r,n,o,a,i),_=V(e,"w",ea.w,r,n,o,a,i),ei.set(e.x,e.y,e.z,e.w).normalize(),el.set(e.__damp.velocity_x,e.__damp.velocity_y,e.__damp.velocity_z,e.__damp.velocity_w),es.copy(ei).multiplyScalar(el.dot(ei)/ei.dot(ei)),e.__damp.velocity_x-=es.x,e.__damp.velocity_y-=es.y,e.__damp.velocity_z-=es.z,e.__damp.velocity_w-=es.w,e.set(ei.x,ei.y,ei.z,ei.w),y||b||w||_}var ef=new O.Spherical,ec=new O.Matrix4,ed=new O.Vector3,ev=new O.Quaternion,eh=new O.Vector3,ep=Object.freeze({__proto__:null,rsqw:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.01,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/(2*Math.PI);return r/Math.atan(1/t)*Math.atan(Math.sin(2*Math.PI*e*n)/t)},exp:$,linear:function(e){return e},sine:{in:function(e){return 1-Math.cos(e*Math.PI/2)},out:function(e){return Math.sin(e*Math.PI/2)},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{in:function(e){return e*e*e},out:function(e){return 1-Math.pow(1-e,3)},inOut:function(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2}},quint:{in:function(e){return e*e*e*e*e},out:function(e){return 1-Math.pow(1-e,5)},inOut:function(e){return e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2}},circ:{in:function(e){return 1-Math.sqrt(1-Math.pow(e,2))},out:function(e){return Math.sqrt(1-Math.pow(e-1,2))},inOut:function(e){return e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2}},quart:{in:function(e){return e*e*e*e},out:function(e){return 1- --e*e*e*e},inOut:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e}},expo:{in:function(e){return 0===e?0:Math.pow(2,10*e-10)},out:function(e){return 1===e?1:1-Math.pow(2,-10*e)},inOut:function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}},damp:V,dampLookAt:function(e,t,r,n,o,a,i){"number"==typeof t?X.setScalar(t):Array.isArray(t)?X.set(t[0],t[1],t[2]):X.copy(t);var l=e.parent;(e.updateWorldMatrix(!0,!1),Q.setFromMatrixPosition(e.matrixWorld),e&&e.isCamera||e&&e.isLight)?K.lookAt(Q,X,e.up):K.lookAt(X,Q,e.up),eu(e.quaternion,H.setFromRotationMatrix(K),r,n,o,a,i),l&&(K.extractRotation(l.matrixWorld),Y.
136setFromRotationMatrix(K),eu(e.quaternion,H.copy(e.quaternion).premultiply(Y.invert()),r,n,o,a,i))},dampAngle:Z,damp2:function(e,t,r,a,i,l,s){return"number"==typeof t?J.setScalar(t):Array.isArray(t)?J.set(t[0],t[1]):J.copy(t),n=V(e,"x",J.x,r,a,i,l,s),o=V(e,"y",J.y,r,a,i,l,s),n||o},damp3:et,damp4:function(e,t,r,n,o,a,i){return"number"==typeof t?er.setScalar(t):Array.isArray(t)?er.set(t[0],t[1],t[2],t[3]):er.copy(t),s=V(e,"x",er.x,r,n,o,a,i),u=V(e,"y",er.y,r,n,o,a,i),f=V(e,"z",er.z,r,n,o,a,i),c=V(e,"w",er.w,r,n,o,a,i),s||u||f||c},dampE:function(e,t,r,n,o,a,i){return Array.isArray(t)?en.set(t[0],t[1],t[2],t[3]):en.copy(t),d=Z(e,"x",en.x,r,n,o,a,i),v=Z(e,"y",en.y,r,n,o,a,i),h=Z(e,"z",en.z,r,n,o,a,i),d||v||h},dampC:function(e,t,r,n,o,a,i){return t instanceof O.Color?eo.copy(t):Array.isArray(t)?eo.setRGB(t[0],t[1],t[2]):eo.set(t),p=V(e,"r",eo.r,r,n,o,a,i),m=V(e,"g",eo.g,r,n,o,a,i),g=V(e,"b",eo.b,r,n,o,a,i),p||m||g},dampQ:eu,dampS:function(e,t,r,n,o,a,i){return Array.isArray(t)?ef.set(t[0],t[1],t[2]):ef.copy(t),x=V(e,"radius",ef.radius,r,n,o,a,i),E=Z(e,"phi",ef.phi,r,n,o,a,i),M=Z(e,"theta",ef.theta,r,n,o,a,i),x||E||M},dampM:function(e,t,r,n,o,a,i){var l;return void 0===e.__damp&&(e.__damp={position:new O.Vector3,rotation:new O.Quaternion,scale:new O.Vector3},e.decompose(e.__damp.position,e.__damp.rotation,e.__damp.scale)),Array.isArray(t)?ec.set.apply(ec,function(e){if(Array.isArray(e))return U(e)}(l=t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||j(l)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):ec.copy(t),ec.decompose(ed,ev,eh),k=et(e.__damp.position,ed,r,n,o,a,i),S=eu(e.__damp.rotation,ev,r,n,o,a,i),A=et(e.__damp.scale,eh,r,n,o,a,i),e.compose(e.__damp.position,e.__damp.rotation,e.__damp.scale),k||S||A}});O.BufferGeometry;let em=L.createContext(null);function eg(){return L.useContext(em)}function ey({eps:e=1e-5,enabled:t=!0,infinite:r,horizontal:n,pages:o=1,distance:a=1,damping:i=.25,maxSpeed:l=1/0,prepend:s=!1,style:u={},children:f}){let{get:c,setEvents:d,gl:v,size:h,invalidate:p,events:m}=(0,T.A)(),[g]=L.useState(()=>document.createElement("div")),[y]=L.useState(()=>document.createElement("div")),[b]=L.useState(()=>document.createElement("div")),w=v.domElement.parentNode,_=L.useRef(0),x=L.useMemo(()=>({el:g,eps:e,fill:y,fixed:b,horizontal:n,damping:i,offset:0,delta:0,scroll:_,pages:o,range(e,t,r=0){let n=e-r,o=n+t+2*r;return this.offset<n?0:this.offset>o?1:(this.offset-n)/(o-n)},curve(e,t,r=0){return Math.sin(this.range(e,t,r)*Math.PI)},visible(e,t,r=0){let n=e-r;return this.offset>=n&&this.offset<=n+t+2*r}}),[e,i,n,o]);L.useEffect(()=>{for(let e in g.style.position="absolute",g.style.width="100%",g.style.height="100%",g.style[n?"overflowX":"overflowY"]="auto",g.style[n?"overflowY":"overflowX"]="hidden",g.style.top="0px",g.style.left="0px",u)g.style[e]=u[e];b.style.position="sticky",b.style.top="0px",b.style.left="0px",b.style.width="100%",b.style.height="100%",b.style.overflow="hidden",g.appendChild(b),y.style.height=n?"100%":`${o*a*100}%`,y.style.width=n?`${o*a*100}%`:"100%",y.style.pointerEvents="none",g.appendChild(y),s?w.prepend(g):w.appendChild(g),g[n?"scrollLeft":"scrollTop"]=1;let e=m.connected||v.domElement;requestAnimationFrame(()=>null==m.connect?void 0:m.connect(g));let t=c().events.compute;return d({compute(e,t){let{left:r,top:n}=w.getBoundingClientRect(),o=e.clientX-r,a=e.clientY-n;t.pointer.set(o/t.size.width*2-1,-(a/t.size.height*2)+1),t.raycaster.setFromCamera(t.pointer,t.camera)}}),()=>{w.removeChild(g),d({compute:t}),null==m.connect||m.connect(e)}},[o,a,n,g,y,b,w]),L.useEffect(()=>{if(m.connected===g){let e=h[n?"width":"height"],o=g[n?"scrollWidth":"scrollHeight"],a=o-e,i=0,l=!0,s=!0,u=()=>{if(t&&!s&&(p(),i=g[n?"scrollLeft":"scrollTop"],_.current=i/a,r)){if(!l){if(i>=a){let e=1-x.offset;g[n?"scrollLeft":"scrollTop"]=1,_.current=x.offset=-e,l=!0}else if(i<=0){let e=1+x.offset;g[n?"scrollLeft":"scrollTop"]=o,_.current=x.offset=e,l=!0}}l&&setTimeout(()=>l=!1,40)}};g.addEventListener("scroll",u,{passive:!0}),requestAnimationFrame(()=>s=!1);let f=e=>g.scrollLeft+=e.deltaY/2;return n&&g.addEventListener("wheel",f,{passive:!0}),()=>{g.removeEventListener("scroll",u),n&&g.removeEventListener("wheel",f)}}},[g,m,h,r,x,p,n,t]);let E=0;return(0,T.C)((t,r)=>{E=x.offset,ep.damp(x,"offset",_.current,i,r,l,void 0,e),ep.damp(x,"delta",Math.abs(E-x.offset),i,r,l,void 0,e),x.delta>e&&p()}),L.createElement(em.Provider,{value:x},f)}let eb=L.forwardRef(({children:e},t)=>{let r=L.useRef(null);L.useImperativeHandle(t,()=>r.current,[]);let n=eg(),{width:o,height:a}=(0,T.A)(e=>e.viewport);return(0,T.C)(()=>{r.current.position.x=n.horizontal?-o*(n.pages-1)*n.offset:0,r.current.position.y=n.horizontal?0:a*(n.pages-1)*n.offset}),L.createElement("group",{ref:r},e)}),ew=L.forwardRef(({children:e,style:t,...r},n)=>{let o=eg(),a=L.useRef(null);L.useImperativeHandle(n,()=>a.current,[]);let{width:i,height:l}=(0,T.A)(e=>e.size),s=L.useContext(T.f),u=L.useMemo(()=>I.createRoot(o.fixed),[o.fixed]);return(0,T.C)(()=>{o.delta>o.eps&&(a.current.style.transform=`translate3d(${o.horizontal?-i*(o.pages-1)*o.offset:0}px,${o.horizontal?0:-(l*(o.pages-1)*o.offset)}px,0)`)}
136),u.render(L.createElement("div",(0,R.Z)({ref:a,style:{...t,position:"absolute",top:0,left:0,willChange:"transform"}},r),L.createElement(em.Provider,{value:o},L.createElement(T.f.Provider,{value:s},e)))),null}),e_=L.forwardRef(({html:e,...t},r)=>L.createElement(e?ew:eb,(0,R.Z)({ref:r},t)))},7502:function(e,t,r){r.d(t,{B$:function(){return function e(t,r){let o=function(e){let t=JSON.stringify(e,v),r=p.get(t);return null==r&&p.set(t,r=++h),r}(r),m=u.get(t);if(m||u.set(t,m=Object.create(null)),m[o])return new m[o];let g=`_onBeforeCompile${o}`,y=function(e,n){t.onBeforeCompile.call(this,e,n);let i=this.customProgramCacheKey()+"|"+e.vertexShader+"|"+e.fragmentShader,u=f[i];if(!u){let t=function(e,{vertexShader:t,fragmentShader:r},n,o){let{vertexDefs:i,vertexMainIntro:l,vertexMainOutro:s,vertexTransform:u,fragmentDefs:f,fragmentMainIntro:c,fragmentMainOutro:v,fragmentColorTransform:h,customRewriter:p,timeUniform:m}=n;if(i=i||"",l=l||"",s=s||"",f=f||"",c=c||"",v=v||"",(u||p)&&(t=a(t)),(h||p)&&(r=a(r=r.replace(/^[ \t]*#include <((?:tonemapping|encodings|fog|premultiplied_alpha|dithering)_fragment)>/gm,"\n//!BEGIN_POST_CHUNK $1\n$&\n//!END_POST_CHUNK\n"))),p){let e=p({vertexShader:t,fragmentShader:r});t=e.vertexShader,r=e.fragmentShader}if(h){let e=[];r=r.replace(/^\/\/!BEGIN_POST_CHUNK[^]+?^\/\/!END_POST_CHUNK/gm,t=>(e.push(t),"")),v=`${h}
137${e.join("\n")}
138${v}`}if(m){let e=`
139uniform float ${m};
140`;i=e+i,f=e+f}return u&&(t=`vec3 troika_position_${o};
141vec3 troika_normal_${o};
142vec2 troika_uv_${o};
143${t}
144`,i=`${i}
145void troikaVertexTransform${o}(inout vec3 position, inout vec3 normal, inout vec2 uv) {
146  ${u}
147}
148`,l=`
149troika_position_${o} = vec3(position);
150troika_normal_${o} = vec3(normal);
151troika_uv_${o} = vec2(uv);
152troikaVertexTransform${o}(troika_position_${o}, troika_normal_${o}, troika_uv_${o});
153${l}
154`,t=t.replace(/\b(position|normal|uv)\b/g,(e,t,r,n)=>
154/\battribute\s+vec[23]\s+$/.test(n.substr(0,r))?t:`troika_${t}_${o}`),e.map&&e.map.channel>0||(t=t.replace(/\bMAP_UV\b/g,`troika_uv_${o}`))),{vertexShader:t=d(t,o,i,l,s),fragmentShader:r=d(r,o,f,c,v)}}(this,e,r,o);u=f[i]=t}e.vertexShader=u.vertexShader,e.fragmentShader=u.fragmentShader,l(e.uniforms,this.uniforms),r.timeUniform&&(e.uniforms[r.timeUniform]={get value(){return Date.now()-s}}),this[g]&&this[g](e)},b=function(){return w(r.chained?t:t.clone())},w=function(e){let n=Object.create(e,_);return Object.defineProperty(n,"baseMaterial",{value:t}),Object.defineProperty(n,"id",{value:c++}),n.uuid=function(){let e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,r=4294967295*Math.random()|0,n=4294967295*Math.random()|0;return(i[255&e]+i[e>>8&255]+i[e>>16&255]+i[e>>24&255]+"-"+i[255&t]+i[t>>8&255]+"-"+i[t>>16&15|64]+i[t>>24&255]+"-"+i[63&r|128]+i[r>>8&255]+"-"+i[r>>16&255]+i[r>>24&255]+i[255&n]+i[n>>8&255]+i[n>>16&255]+i[n>>24&255]).toUpperCase()}(),n.uniforms=l({},e.uniforms,r.uniforms),n.defines=l({},e.defines,r.defines),n.defines[`TROIKA_DERIVED_MATERIAL_${o}`]="",n.extensions=l({},e.extensions,r.extensions),n._listeners=void 0,n},_={constructor:{value:b},isDerivedMaterial:{value:!0},customProgramCacheKey:{writable:!0,configurable:!0,value:function(){return t.customProgramCacheKey()+"|"+o}},onBeforeCompile:{get:()=>y,set(e){this[g]=e}},copy:{writable:!0,configurable:!0,value:function(e){return t.copy.call(this,e),t.isShaderMaterial||t.isDerivedMaterial||(l(this.extensions,e.extensions),l(this.defines,e.defines),l(this.uniforms,n.UniformsUtils.clone(e.uniforms))),this}},clone:{writable:!0,configurable:!0,value:function(){return w(new t.constructor).copy(this)}},getDepthMaterial:{writable:!0,configurable:!0,value:function(){let o=this._depthMaterial;return o||((o=this._depthMaterial=e(t.isDerivedMaterial?t.getDepthMaterial():new n.MeshDepthMaterial({depthPacking:n.RGBADepthPacking}),r)).defines.IS_DEPTH_MATERIAL="",o.uniforms=this.uniforms),o}},getDistanceMaterial:{writable:!0,configurable:!0,value:function(){let o=this._distanceMaterial;return o||((o=this._distanceMaterial=e(t.isDerivedMaterial?t.getDistanceMaterial():new n.MeshDistanceMaterial,r)).defines.IS_DISTANCE_MATERIAL="",o.uniforms=this.uniforms),o}},dispose:{writable:!0,configurable:!0,value(){let{_depthMaterial:e,_distanceMaterial:r}=this;e&&e.dispose(),r&&r.dispose(),t.dispose.call(this)}}};return m[o]=b,new b}},MW:function(){return o}});var n=r(7776);let o=/\bvoid\s+main\s*\(\s*\)\s*{/g;function a(e){return e.replace(/^[ \t]*#include +<([\w\d./]+)>/gm,function(e,t){let r=n.ShaderChunk[t];return r?a(r):e})}let i=[];for(let e=0;e<256;e++)i[e]=(e<16?"0":"")+e.toString(16);let l=Object.assign||function(){let e=arguments[0];for(let t=1,r=arguments.length;t<r;t++){let r=arguments[t];if(r)for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},s=Date.now(),u=new WeakMap,f=new Map,c=1e10;function d(e,t,r,n,a){return(n||a||r)&&(e=e.replace(o,`
155${r}
156void troikaOrigMain${t}() {`)+`
157void main() {
158  ${n}
159  troikaOrigMain${t}();
160  ${a}
161}`),e}function v(e,t){return"uniforms"===e?void 0:"function"==typeof t?t.toString():t}let h=0,p=new Map;n.DoubleSide},1640:function(e,t,r){function n(){var e=Object.create(null);function t(e,t){var r=void 0;self.troikaDefine=function(e){return r=e};var n=URL.createObjectURL(new Blob(["/** "+e.replace(/\*/g,"")+" **/\n\ntroikaDefine(\n"+t+"\n)"],{type:"application/javascript"}));try{importScripts(n)}catch(e){console.error(e)}return URL.revokeObjectURL(n),delete self.troikaDefine,r}self.addEventListener("message",function(r){var n=r.data,o=n.messageId,a=n.action,i=n.data;try{"registerModule"===a&&function r(n,o){var a=n.id,i=n.name,l=n.dependencies;void 0===l&&(l=[]);var s=n.init;void 0===s&&(s=function(){});var u=n.getTransferables;if(void 0===u&&(u=null),!e[a])try{l=l.map(function(t){return t&&t.isWorkerModule&&(r(t,function(e){if(e instanceof Error)throw e}),t=e[t.id].value),t}),s=t("<"+i+">.init",s),u&&(u=t("<"+i+">.getTransferables",u));var f=null;"function"==typeof s?f=s.apply(void 0,l):console.error("worker module init function failed to rehydrate"),e[a]={id:a,value:f,getTransferables:u},o(f)}catch(e){e&&e.noLog||console.error(e),o(e)}}(i,function(e){e instanceof Error?postMessage({messageId:o,success:!1,error:e.message}):postMessage({messageId:o,success:!0,result:{isCallable:"function"==typeof e}})}),"callModule"===a&&function(t,r){var n,o=t.id,a=t.args;e[o]&&"function"==typeof e[o].value||r(Error("Worker module "+o+": not found or its 'init' did not return a function"));try{var i=(n=e[o]).value.apply(n,a);i&&"function"==typeof i.then?i.then(l,function(e){return r(e instanceof Error?e:Error(""+e))}):l(i)}catch(e){r(e)}function l(t){try{var n=e[o].getTransferables&&e[o].getTransferables(t);n&&Array.isArray(n)&&n.length||(n=void 0),r(t,n)}catch(e){console.error(e),r(e)}}}(i,function(e,t){e instanceof Error?postMessage({messageId:o,success:!1,error:e.message}):postMessage({messageId:o,success:!0,result:e},t||void 0)})}catch(e){postMessage({messageId:o,success:!1,error:e.stack})}})}r.d(t,{Ae:function(){return c},Ch:function(){return function e(t){if((!t||"function"!=typeof t.init)&&!l)throw Error("requires `options.init` function");var r,n=t.dependencies,i=t.init,s=t.getTransferables,f=t.workerId;if(!o())return(r=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return r._getInitResult().then(function(t){if("function"==typeof t)return t.apply(void 0,e);
161throw Error("Worker module function was called but `init` did not return a callable function")})})._getInitResult=function(){var e=t.dependencies,n=t.init,o=Promise.all(e=Array.isArray(e)?e.map(function(e){return e&&e._getInitResult?e._getInitResult():e}):[]).then(function(e){return n.apply(null,e)});return r._getInitResult=function(){return o},o},r;null==f&&(f="#default");var c="workerModule"+ ++a,h=t.name||c,p=null;function m(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(!p){p=v(f,"registerModule",m.workerModuleData);var r=function(){p=null,u[f].delete(r)};(u[f]||(u[f]=new Set)).add(r)}return p.then(function(t){if(t.isCallable)return v(f,"callModule",{id:c,args:e});throw Error("Worker module function was called but `init` did not return a callable function")})}return n=n&&n.map(function(t){return"function"!=typeof t||t.workerModuleData||(l=!0,t=e({workerId:f,name:"<"+h+"> function dependency: "+t.name,init:"function(){return (\n"+d(t)+"\n)}"}),l=!1),t&&t.workerModuleData&&(t=t.workerModuleData),t}),m.workerModuleData={isWorkerModule:!0,id:c,name:h,dependencies:n,init:d(i),getTransferables:s&&d(s)},m}}}),r(5566);var o=function(){var e=!1;if("undefined"!=typeof window&&void 0!==window.document)try{new Worker(URL.createObjectURL(new Blob([""],{type:"application/javascript"}))).terminate(),e=!0}catch(e){console.log("Troika createWorkerModule: web workers not allowed; falling back to main thread execution. Cause: ["+e.message+"]")}return o=function(){return e},e},a=0,i=0,l=!1,s=Object.create(null),u=Object.create(null),f=Object.create(null);function c(e){u[e]&&u[e].forEach(function(e){e()}),s[e]&&(s[e].terminate(),delete s[e])}function d(e){var t=e.toString();return!/^function/.test(t)&&/^\w+\s*\(/.test(t)&&(t="function "+t),t}function v(e,t,r){return new Promise(function(o,a){var l=++i;f[l]=function(e){e.success?o(e.result):a(Error("Error in worker "+t+" call: "+e.error))},(function(e){var t=s[e];if(!t){var r=d(n);(t=s[e]=new Worker(URL.createObjectURL(new Blob(["/** Worker Module Bootstrap: "+e.replace(/\*/g,"")+" **/\n\n;("+r+")()"],{type:"application/javascript"})))).onmessage=function(e){var t=e.data,r=t.messageId,n=f[r];if(!n)throw Error("WorkerModule response with empty or unknown messageId");delete f[r],n(t)}}return t})(e).postMessage({messageId:l,action:t,data:r})})}},4492:function(e,t,r){/**
162 * @license React
163 * use-sync-external-store-shim.production.min.js
164 *
165 * Copyright (c) Facebook, Inc. and its affiliates.
166 *
167 * This source code is licensed under the MIT license found in the
168 * LICENSE file in the root directory of this source tree.
169 */var n=r(2265),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,i=n.useEffect,l=n.useLayoutEffect,s=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var f="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),o=n[0].inst,f=n[1];return l(function(){o.value=r,o.getSnapshot=t,u(o)&&f({inst:o})},[e,r,t]),i(function(){return u(o)&&f({inst:o}),e(function(){u(o)&&f({inst:o})})},[e]),s(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:f},554:function(e,t,r){e.exports=r(4492)},5097:function(e,t){t.Z=function(){return function(e){var t,r,n,o,a={R:"13k,1a,2,3,3,2+1j,ch+16,a+1,5+2,2+n,5,a,4,6+16,4+3,h+1b,4mo,179q,2+9,2+11,2i9+7y,2+68,4,3+4,5+13,4+3,2+4k,3+29,8+cf,1t+7z,w+17,3+3m,1t+3z,16o1+5r,8+30,8+mc,29+1r,29+4v,75+73",EN:"1c+9,3d+1,6,187+9,513,4+5,7+9,sf+j,175h+9,qw+q,161f+1d,4xt+a,25i+9",ES:"17,2,6dp+1,f+1,av,16vr,mx+1,4o,2",ET:"z+2,3h+3,b+1,ym,3e+1,2o,p4+1,8,6u,7c,g6,1wc,1n9+4,30+1b,2n,6d,qhx+1,h0m,a+1,49+2,63+1,4+1,6bb+3,12jj",AN:"16o+5,2j+9,2+1,35,ed,1ff2+9,87+u",CS:"18,2+1,b,2u,12k,55v,l,17v0,2,3,53,2+1,b",B:"a,3,f+2,2v,690",S:"9,2,k",WS:"c,k,4f4,1vk+a,u,1j,335",ON:"x+1,4+4,h+5,r+5,r+3,z,5+3,2+1,2+1,5,2+2,3+4,o,w,ci+1,8+d,3+d,6+8,2+g,39+1,9,6+1,2,33,b8,3+1,3c+1,7+1,5r,b,7h+3,sa+5,2,3i+6,jg+3,ur+9,2v,ij+1,9g+9,7+a,8m,4+1,49+x,14u,2+2,c+2,e+2,e+2,e+1,i+n,e+e,2+p,u+2,e+2,36+1,2+3,2+1,b,2+2,6+5,2,2,2,h+1,5+4,6+3,3+f,16+2,5+3l,3+81,1y+p,2+40,q+a,m+13,2r+ch,2+9e,75+hf,3+v,2+2w,6e+5,f+6,75+2a,1a+p,2+2g,d+5x,r+b,6+3,4+o,g,6+1,6+2,2k+1,4,2j,5h+z,1m+1,1e+f,t+2,1f+e,d+3,4o+3,2s+1,w,535+1r,h3l+1i,93+2,2s,b+1,3l+x,2v,4g+3,21+3,kz+1,g5v+1,5a,j+9,n+v,2,3,2+8,2+1,3+2,2,3,46+1,4+4,h+5,r+5,r+a,3h+2,4+6,b+4,78,1r+24,4+c,4,1hb,ey+6,103+j,16j+c,1ux+7,5+g,fsh,jdq+1t,4,57+2e,p1,1m,1m,1m,1m,4kt+1,7j+17,5+2r,d+e,3+e,2+e,2+10,m+4,w,1n+5,1q,4z+5,4b+rb,9+c,4+c,4+37,d+2g,8+b,l+b,5+1j,9+9,7+13,9+t,3+1,27+3c,2+29,2+3q,d+d,3+4,4+2,6+6,a+o,8+6,a+2,e+6,16+42,2+1i",BN:"0+8,6+d,2s+5,2+p,e,4m9,1kt+2,2b+5,5+5,17q9+v,7k,6p+8,6+1,
169119d+3,440+7,96s+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+75,6p+2rz,1ben+1,1ekf+1,1ekf+1",NSM:"lc+33,7o+6,7c+18,2,2+1,2+1,2,21+a,1d+k,h,2u+6,3+5,3+1,2+3,10,v+q,2k+a,1n+8,a,p+3,2+8,2+2,2+4,18+2,3c+e,2+v,1k,2,5+7,5,4+6,b+1,u,1n,5+3,9,l+1,r,3+1,1m,5+1,5+1,3+2,4,v+1,4,c+1,1m,5+4,2+1,5,l+1,n+5,2,1n,3,2+3,9,8+1,c+1,v,1q,d,1f,4,1m+2,6+2,2+3,8+1,c+1,u,1n,g+1,l+1,t+1,1m+1,5+3,9,l+1,u,21,8+2,2,2j,3+6,d+7,2r,3+8,c+5,23+1,s,2,2,1k+d,2+4,2+1,6+a,2+z,a,2v+3,2+5,2+1,3+1,q+1,5+2,h+3,e,3+1,7,g,jk+2,qb+2,u+2,u+1,v+1,1t+1,2+6,9,3+a,a,1a+2,3c+1,z,3b+2,5+1,a,7+2,64+1,3,1n,2+6,2,2,3+7,7+9,3,1d+g,1s+3,1d,2+4,2,6,15+8,d+1,x+3,3+1,2+2,1l,2+1,4,2+2,1n+7,3+1,49+2,2+c,2+6,5,7,4+1,5j+1l,2+4,k1+w,2db+2,3y,2p+v,ff+3,30+1,n9x+3,2+9,x+1,29+1,7l,4,5,q+1,6,48+1,r+h,e,13+7,q+a,1b+2,1d,3+3,3+1,14,1w+5,3+1,3+1,d,9,1c,1g,2+2,3+1,6+1,2,17+1,9,6n,3,5,fn5,ki+f,h+f,r2,6b,46+4,1af+2,2+1,6+3,15+2,5,4m+1,fy+3,as+1,4a+a,4x,1j+e,1l+2,1e+3,3+1,1y+2,11+4,2+7,1r,d+1,1h+8,b+3,3,2o+2,3,2+1,7,4h,4+7,m+1,1m+1,4,12+6,4+4,5g+7,3+2,2,o,2d+5,2,5+1,2+1,6n+3,7+1,2+1,s+1,2e+7,3,2+1,2z,2,3+5,2,2u+2,3+3,2+4,78+8,2+1,75+1,2,5,41+3,3+1,5,x+5,3+1,15+5,3+3,9,a+5,3+2,1b+c,2+1,bb+6,2+5,2d+l,3+6,2+1,2+1,3f+5,4,2+1,2+6,2,21+1,4,2,9o+1,f0c+4,1o+6,t5,1s+3,2a,f5l+1,43t+2,i+7,3+6,v+3,45+2,1j0+1i,5+1d,9,f,n+4,2+e,11t+6,2+g,3+6,2+1,2+4,7a+6,c6+3,15t+6,32+6,gzhy+6n",AL:"16w,3,2,e+1b,z+2,2+2s,g+1,8+1,b+m,2+t,s+2i,c+e,4h+f,1d+1e,1bwe+dp,3+3z,x+c,2+1,35+3y,2rm+z,5+7,b+5,dt+l,c+u,17nl+27,1t+27,4x+6n,3+d",LRO:"6ct",RLO:"6cu",LRE:"6cq",RLE:"6cr",PDF:"6cs",LRI:"6ee",RLI:"6ef",FSI:"6eg",PDI:"6eh"},i={},l={};i.L=1,l[1]="L",Object.keys(a).forEach(function(e,t){i[e]=1<<t+1,l[i[e]]=e}),Object.freeze(i);var s=i.LRI|i.RLI|i.FSI,u=i.L|i.R|i.AL,f=i.B|i.S|i.WS|i.ON|i.FSI|i.LRI|i.RLI|i.PDI,c=i.BN|i.RLE|i.LRE|i.RLO|i.LRO|i.PDF,d=i.S|i.WS|i.B|s|i.PDI|c,v=null;function h(e){return!function(){if(!v){v=new Map;var e=function(e){if(a.hasOwnProperty(e)){var t=0;a[e].split(",").forEach(function(r){var n=r.split("+"),o=n[0],a=n[1];o=parseInt(o,36),a=a?parseInt(a,36):0,v.set(t+=o,i[e]);for(var l=0;l<a;l++)v.set(++t,i[e])})}};for(var t in a)e(t)}}(),v.get(e.codePointAt(0))||i.L}var p={pairs:"14>1,1e>2,u>2,2wt>1,1>1,1ge>1,1wp>1,1j>1,f>1,hm>1,1>1,u>1,u6>1,1>1,+5,28>1,w>1,1>1,+3,b8>1,1>1,+3,1>3,-1>-1,3>1,1>1,+2,1s>1,1>1,x>1,th>1,1>1,+2,db>1,1>1,+3,3>1,1>1,+2,14qm>1,1>1,+1,4q>1,1e>2,u>2,2>1,+1",canonical:"6f1>-6dx,6dy>-6dx,6ec>-6ed,6ee>-6ed,6ww>2jj,-2ji>2jj,14r4>-1e7l,1e7m>-1e7l,1e7m>-1e5c,1e5d>-1e5b,1e5c>-14qx,14qy>-14qx,14vn>-1ecg,1ech>-1ecg,1edu>-1ecg,1eci>-1ecg,1eda>-1ecg,1eci>-1ecg,1eci>-168q,168r>-168q,168s>-14ye,14yf>-14ye"};function m(e,t){var r,n=0,o=new Map,a=t&&new Map;return e.split(",").forEach(function e(i){if(-1!==i.indexOf("+"))for(var l=+i;l--;)e(r);else{r=i;var s=i.split(">"),u=s[0],f=s[1];u=String.fromCodePoint(n+=parseInt(u,36)),f=String.fromCodePoint(n+=parseInt(f,36)),o.set(u,f),t&&a.set(f,u)}}),{map:o,reverseMap:a}}function g(){if(!t){var e=m(p.pairs,!0),o=e.map,a=e.reverseMap;t=o,r=a,n=m(p.canonical,!1).map}}function y(e){return g(),t.get(e)||null}function b(e){return g(),r.get(e)||null}function w(e){return g(),n.get(e)||null}var _=i.L,x=i.R,E=i.EN,M=i.ES,k=i.ET,S=i.AN,A=i.CS,R=i.B,L=i.S,I=i.ON,T=i.BN,C=i.NSM,D=i.AL,O=i.LRO,U=i.RLO,j=i.LRE,P=i.RLE,B=i.PDF,F=i.LRI,z=i.RLI,q=i.FSI,W=i.PDI;function N(e){return!function(){if(!o){var e=m("14>1,j>2,t>2,u>2,1a>g,2v3>
1691,1>1,1ge>1,1wd>1,b>1,1j>1,f>1,ai>3,-2>3,+1,8>1k0,-1jq>1y7,-1y6>1hf,-1he>1h6,-1h5>1ha,-1h8>1qi,-1pu>1,6>3u,-3s>7,6>1,1>1,f>1,1>1,+2,3>1,1>1,+13,4>1,1>1,6>1eo,-1ee>1,3>1mg,-1me>1mk,-1mj>1mi,-1mg>1mi,-1md>1,1>1,+2,1>10k,-103>1,1>1,4>1,5>1,1>1,+10,3>1,1>8,-7>8,+1,-6>7,+1,a>1,1>1,u>1,u6>1,1>1,+5,26>1,1>1,2>1,2>2,8>1,7>1,4>1,1>1,+5,b8>1,1>1,+3,1>3,-2>1,2>1,1>1,+2,c>1,3>1,1>1,+2,h>1,3>1,a>1,1>1,2>1,3>1,1>1,d>1,f>1,3>1,1a>1,1>1,6>1,7>1,13>1,k>1,1>1,+19,4>1,1>1,+2,2>1,1>1,+18,m>1,a>1,1>1,lk>1,1>1,4>1,2>1,f>1,3>1,1>1,+3,db>1,1>1,+3,3>1,1>1,+2,14qm>1,1>1,+1,6>1,4j>1,j>2,t>2,u>2,2>1,+1",!0),t=e.map;e.reverseMap.forEach(function(e,r){t.set(r,e)}),o=t}}(),o.get(e)||null}function G(e,t,r,n){var o=e.length;r=Math.max(0,null==r?0:+r),n=Math.min(o-1,null==n?o-1:+n);var a=[];return t.paragraphs.forEach(function(o){var i=Math.max(r,o.start),l=Math.min(n,o.end);if(i<l){for(var s=t.levels.slice(i,l+1),u=l;u>=i&&h(e[u])&d;u--)s[u]=o.level;for(var f=o.level,c=1/0,v=0;v<s.length;v++){var p=s[v];p>f&&(f=p),p<c&&(c=1|p)}for(var m=f;m>=c;m--)for(var g=0;g<s.length;g++)if(s[g]>=m){for(var y=g;g+1<s.length&&s[g+1]>=m;)g++;g>
vendor: 4,220 bytes, line 169
169y&&a.push([y+i,g+i])}}}),a}function $(e,t,r,n){for(var o=G(e,t,r,n),a=[],i=0;i<e.length;i++)a[i]=i;return o.forEach(function(e){for(var t=e[0],r=e[1],n=a.slice(t,r+1),o=n.length;o--;)a[r-o]=n[o]}),a}return e.closingToOpeningBracket=b,e.getBidiCharType=h,e.getBidiCharTypeName=function(e){return l[h(e)]},e.getCanonicalBracket=w,e.getEmbeddingLevels=function(e,t){for(var r=new Uint32Array(e.length),n=0;n<e.length;n++)r[n]=h(e[n]);var o=new Map;function a(e,t){var n=r[e];r[e]=t,o.set(n,o.get(n)-1),n&f&&o.set(f,o.get(f)-1),o.set(t,(o.get(t)||0)+1),t&f&&o.set(f,(o.get(f)||0)+1)}for(var i=new Uint8Array(e.length),l=new Map,v=[],p=null,m=0;m<e.length;m++)p||v.push(p={start:m,end:e.length-1,level:"rtl"===t?1:"ltr"===t?0:tI(m,!1)}),r[m]&R&&(p.end=m,p=null);for(var g=P|j|U|O|s|W|B|R,N=function(e){return e+(1&e?1:2)},G=function(e){return e+(1&e?2:1)},$=0;$<v.length;$++){var V=[{_level:(p=v[$]).level,_override:0,_isolate:0}],X=void 0,Y=0,H=0,K=0;o.clear();for(var Q=p.start;Q<=p.end;Q++){var Z=r[Q];if(X=V[V.length-1],o.set(Z,(o.get(Z)||0)+1),Z&f&&o.set(f,(o.get(f)||0)+1),Z&g){if(Z&(P|j)){i[Q]=X._level;var J=(Z===P?G:N)(X._level);!(J<=125)||Y||H?!Y&&H++:V.push({_level:J,_override:0,_isolate:0})}else if(Z&(U|O)){i[Q]=X._level;var ee=(Z===U?G:N)(X._level);!(ee<=125)||Y||H?!Y&&H++:V.push({_level:ee,_override:Z&U?x:_,_isolate:0})}else if(Z&s){Z&q&&(Z=1===tI(Q+1,!0)?z:F),i[Q]=X._level,X._override&&a(Q,X._override);var et=(Z===z?G:N)(X._level);et<=125&&0===Y&&0===H?(K++,V.push({_level:et,_override:0,_isolate:1,_isolInitIndex:Q})):Y++}else if(Z&W){if(Y>0)Y--;else if(K>0){for(H=0;!V[V.length-1]._isolate;)V.pop();var er=V[V.length-1]._isolInitIndex;null!=er&&(l.set(er,Q),l.set(Q,er)),V.pop(),K--}X=V[V.length-1],i[Q]=X._level,X._override&&a(Q,X._override)}else Z&B?(0===Y&&(H>0?H--:!X._isolate&&V.length>1&&(V.pop(),X=V[V.length-1])),i[Q]=X._level):Z&R&&(i[Q]=p.level)}else i[Q]=X._level,X._override&&Z!==T&&a(Q,X._override)}for(var en=[],eo=null,ea=p.start;ea<=p.end;ea++){var ei=r[ea];if(!(ei&c)){var el=i[ea],es=ei&s,eu=ei===W;eo&&el===eo._level?(eo._end=ea,eo._endsWithIsolInit=es):en.push(eo={_start:ea,_end:ea,_level:el,_startsWithPDI:eu,_endsWithIsolInit:es})}}for(var ef=[],ec=0;ec<en.length;ec++){var ed=en[ec];if(!ed._startsWithPDI||ed._startsWithPDI&&!l.has(ed._start)){for(var ev=[eo=ed],eh=void 0;eo&&eo._endsWithIsolInit&&null!=(eh=l.get(eo._end));)for(var ep=ec+1;ep<en.length;ep++)if(en[ep]._start===eh){ev.push(eo=en[ep]);break}for(var em=[],eg=0;eg<ev.length;eg++)for(var ey=ev[eg],eb=ey._start;eb<=ey._end;eb++)em.push(eb);for(var ew=i[em[0]],e_=p.level,ex=em[0]-1;ex>=0;ex--)if(!(r[ex]&c)){e_=i[ex];break}var eE=em[em.length-1],eM=i[eE],ek=p.level;if(!(r[eE]&s)){for(var eS=eE+1;eS<=p.end;eS++)if(!(r[eS]&c)){ek=i[eS];break}}ef.push({_seqIndices:em,_sosType:Math.max(e_,ew)%2?x:_,_eosType:Math.max(ek,eM)%2?x:_})}}for(var eA=0;eA<ef.length;eA++){var eR=ef[eA],eL=eR._seqIndices,eI=eR._sosType,eT=eR._eosType,eC=1&i[eL[0]]?x:_;if(o.get(C))for(var eD=0;eD<eL.length;eD++){var eO=eL[eD];if(r[eO]&C){for(var eU=eI,ej=eD-1;ej>=0;ej--)if(!(r[eL[ej]]&c)){eU=r[eL[ej]];break}a(eO,eU&(s|W)?I:eU)}}if(o.get(E))for(var eP=0;eP<eL.length;eP++){var eB=eL[eP];if(r[eB]&E)for(var eF=eP-1;eF>=-1;eF--){var ez=-1===eF?eI:r[eL[eF]];if(ez&u){ez===D&&a(eB,S);break}}}if(o.get(D))for(var eq=0;eq<eL.length;eq++){var eW=eL[eq];r[eW]&D&&a(eW,x)}if(o.get(M)||o.get(A))for(var eN=1;eN<eL.length-1;eN++){var eG=eL[eN];if(r[eG]&(M|A)){for(var e$=0,eV=0,eX=eN-1;eX>=0&&(e$=r[eL[eX]])&c;eX--);for(var eY=eN+1;eY<eL.length&&(eV=r[eL[eY]])&c;eY++);e$===eV&&(r[eG]===M?e$===E:e$&(E|S))&&a(eG,e$)}}if(o.get(E)){for(var eH=0;eH<eL.length;eH++)if(r[eL[eH]]&E){for(var eK=eH-1;eK>=0&&r[eL[eK]]&(k|c);eK--)a(eL[eK],E);for(eH++;eH<eL.length&&r[eL[eH]]&(k|c|E);eH++)r[eL[eH]]!==E&&a(eL[eH],E)}}if(o.get(k)||o.get(M)||o.get(A))for(var eQ=0;eQ<eL.length;eQ++){var eZ=eL[eQ];if(r[eZ]&(k|M|A)){a(eZ,I);for(var eJ=eQ-1;eJ>=0&&r[eL[eJ]]&c;eJ--)a(eL[eJ],I);for(var e1=eQ+1;e1<eL.length&&r[eL[e1]]&c;e1++)a(eL[e1],I)}}if(o.get(E))for(var e2=0,e0=eI;e2<eL.length;e2++){var e3=eL[e2],e4=r[e3];e4&E?e0===_&&a(e3,_):e4&u&&(e0=e4)}if(o.get(f)){for(var e5=x|E|S,e6=e5|_,e7=[],e8=[],e9=0;e9<eL.length;e9++)if(r[eL[e9]]&f){var te=e[eL[e9]],tt=void 0;
169if(null!==y(te)){if(e8.length<63)e8.push({char:te,seqIndex:e9});else break}else if(null!==(tt=b(te)))for(var tr=e8.length-1;tr>=0;tr--){var tn=e8[tr].char;if(tn===tt||tn===b(w(te))||y(w(tn))===te){e7.push([e8[tr].seqIndex,e9]),e8.length=tr;break}}}e7.sort(function(e,t){return e[0]-t[0]});for(var to=0;to<e7.length;to++){for(var ta=e7[to],ti=ta[0],tl=ta[1],ts=!1,tu=0,tf=ti+1;tf<tl;tf++){var tc=eL[tf];if(r[tc]&e6){ts=!0;var td=r[tc]&e5?x:_;if(td===eC){tu=td;break}}}if(ts&&!tu){tu=eI;for(var tv=ti-1;tv>=0;tv--){var th=eL[tv];if(r[th]&e6){var tp=r[th]&e5?x:_;tu=tp!==eC?tp:eC;break}}}if(tu){if(r[eL[ti]]=r[eL[tl]]=tu,tu!==eC){for(var tm=ti+1;tm<eL.length;tm++)if(!(r[eL[tm]]&c)){h(e[eL[tm]])&C&&(r[eL[tm]]=tu);break}}if(tu!==eC){for(var tg=tl+1;tg<eL.length;tg++)if(!(r[eL[tg]]&c)){h(e[eL[tg]])&C&&(r[eL[tg]]=tu);break}}}}for(var ty=0;ty<eL.length;ty++)if(r[eL[ty]]&f){for(var tb=ty,tw=ty,t_=eI,tx=ty-1;tx>=0;tx--)if(r[eL[tx]]&c)tb=tx;else{t_=r[eL[tx]]&e5?x:_;break}for(var tE=eT,tM=ty+1;tM<eL.length;tM++)if(r[eL[tM]]&(f|c))tw=tM;else{tE=r[eL[tM]]&e5?x:_;break}for(var tk=tb;tk<=tw;tk++)r[eL[tk]]=t_===tE?t_:eC;ty=tw}}}for(var tS=p.start;tS<=p.end;tS++){var tA=i[tS],tR=r[tS];if(1&tA?tR&(_|E|S)&&i[tS]++:tR&x?i[tS]++:tR&(S|E)&&(i[tS]+=2),tR&c&&(i[tS]=0===tS?p.level:i[tS-1]),tS===p.end||h(e[tS])&(L|R))for(var tL=tS;tL>=0&&h(e[tL])&d;tL--)i[tL]=p.level}}return{levels:i,paragraphs:v};function tI(t,n){for(var o=t;o<e.length;o++){var a=r[o];if(a&(x|D))return 1;if(a&(R|_)||n&&a===W)break;if(a&s){var i=function(t){for(var n=1,o=t+1;o<e.length;o++){var a=r[o];if(a&R)break;if(a&W){if(0==--n)return o}else a&s&&n++}return -1}(o);o=-1===i?e.length:i}}return 0}},e.getMirroredCharacter=N,e.getMirroredCharactersMap=function(e,t,r,n){var o=e.length;r=Math.max(0,null==r?0:+r),n=Math.min(o-1,null==n?o-1:+n);for(var a=new Map,i=r;i<=n;i++)if(1&t[i]){var l=N(e[i]);null!==l&&a.set(i,l)}return a},e.getReorderSegments=G,e.getReorderedIndices=$,e.getReorderedString=function(e,t,r,n){var o=$(e,t,r,n),a=[].concat(e);return o.forEach(function(r,n){a[n]=(1&t.levels[r]?N(e[r]):null)||e[r]}),a.join("")},e.openingToClosingBracket=y,Object.defineProperty(e,"__esModule",{value:!0}),e}({})}},3502:function(e,t,r){r.d(t,{Z:function(){return n}});function n(){return function(e){function t(e,t){for(var r,n,o,a,i,l=/([MLQCZ])([^MLQCZ]*)/g;r=l.exec(e);){var s=r[2].replace(/^\s*|\s*$/g,"").split(/[,\s]+/).map(function(e){return parseFloat(e)});switch(r[1]){case"M":a=n=s[0],i=o=s[1];break;case"L":(s[0]!==a||s[1]!==i)&&t("L",a,i,a=s[0],i=s[1]);break;case"Q":t("Q",a,i,a=s[2],i=s[3],s[0],s[1]);break;case"C":t("C",a,i,a=s[4],i=s[5],s[0],s[1],s[2],s[3]);break;case"Z":(a!==n||i!==o)&&t("L",a,i,n,o)}}}function r(e,r,n){void 0===n&&(n=16);var o={x:0,y:0};t(e,function(e,t,a,i,l,s,u,f,c){switch(e){case"L":r(t,a,i,l);break;case"Q":for(var d=t,v=a,h=1;h<n;h++)!function(e,t,r,n,o,a,i,l){var s=1-i;l.x=s*s*e+2*s*i*r+i*i*o,l.y=s*s*t+2*s*i*n+i*i*a}(t,a,s,u,i,l,h/(n-1),o),r(d,v,o.x,o.y),d=o.x,v=o.y;break;case"C":for(var p=t,m=a,g=1;g<n;g++)!function(e,t,r,n,o,a,i,l,s,u){var f=1-s;u.x=f*f*f*e+3*f*f*s*r+3*f*s*s*o+s*s*s*i,u.y=f*f*f*t+3*f*f*s*n+3*f*s*s*a+s*s*s*l}(t,a,s,u,f,c,i,l,g/(n-1),o),r(p,m,o.x,o.y),p=o.x,m=o.y}})}var n="precision highp float;attribute vec2 aUV;varying vec2 vUV;void main(){vUV=aUV;gl_Position=vec4(mix(vec2(-1.0),vec2(1.0),aUV),0.0,1.0);}",o=new WeakMap,a={premultipliedAlpha:!1,preserveDrawingBuffer:!0,antialias:!1,depth:!1};function i(e,t){var r=e.getContext?e.getContext("webgl",a):e,n=o.get(r);if(!n){var i="undefined"!=typeof WebGL2RenderingContext&&r instanceof WebGL2RenderingContext,l={},s={},u={},f=-1,c=[];function d(e){var t=l[e];if(!t&&!(t=l[e]=r.getExtension(e)))throw Error(e+" not supported");return t}function v(e,t){var n=r.createShader(t);return r.shaderSource(n,e),r.compileShader(n),n}function h(){l={},s={},u={},f=-1,c.length=0}r.canvas.addEventListener("webglcontextlost",function(e){h(),e.preventDefault()},!1),o.set(r,n={gl:r,isWebGL2:i,getExtension:d,withProgram:function(e,t,n,o){if(!s[e]){var a={},l={},u=r.createProgram();r.attachShader(u,v(t,r.VERTEX_SHADER)),r.attachShader(u,v(n,r.FRAGMENT_SHADER)),r.linkProgram(u),s[e]={program:u,transaction:function(e){r.useProgram(u),e({setUniform:function(e,t){for(var n=[],o=arguments.length-2;o-- >0;)n[o]=arguments[o+2];var a=l[t]||(l[t]=r.getUniformLocation(u,t));r["uniform"+e].apply(r,[a].concat(n))},setAttribute:function(e,t,n,o,l){var s=a[e];s||(s=a[e]={buf:r.createBuffer(),loc:r.getAttribLocation(u,e),data:null}),r.bindBuffer(r.ARRAY_BUFFER,s.buf),r.vertexAttribPointer(s.loc,t,r.FLOAT,!1,0,0),r.enableVertexAttribArray(s.loc),i?r.vertexAttribDivisor(s.loc,o):d("ANGLE_instanced_arrays").vertexAttribDivisorANGLE(s.loc,o),l!==s.data&&(r.bufferData(r.ARRAY_BUFFER,l,n),s.data=l)}})}}}s[e].transaction(o)},withTexture:function(e,t){f++;try{r.activeTexture(r.TEXTURE0+f);var n=u[e];n||(n=u[e]=r.createTexture(),r.bindTexture(r.TEXTURE_2D,n),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.NEAREST),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.NEAREST)),r.bindTexture(r.TEXTURE_2D,n),t(n,f)}finally{f--}},withTextureFramebuffer:function(e,t,n){var o=r.createFramebuffer();c.push(o),r.bindFramebuffer(r.FRAMEBUFFER,o),r.activeTexture(r.TEXTURE0+t),r.bindTexture(r.TEXTURE_2D,e),r.framebufferTexture2D(r.FRAMEBUFFER,r.COLOR_ATTACHMENT0,r.TEXTURE_2D,e,0);try{n(o)}
169finally{r.deleteFramebuffer(o),r.bindFramebuffer(r.FRAMEBUFFER,c[--c.length-1]||null)}},handleContextLoss:h})}t(n)}function l(e,t,r,o,a,l,s,u){void 0===s&&(s=15),void 0===u&&(u=null),i(e,function(e){var i=e.gl,f=e.withProgram;(0,e.withTexture)("copy",function(e,c){i.texImage2D(i.TEXTURE_2D,0,i.RGBA,a,l,0,i.RGBA,i.UNSIGNED_BYTE,t),f("copy",n,"precision highp float;uniform sampler2D tex;varying vec2 vUV;void main(){gl_FragColor=texture2D(tex,vUV);}",function(e){var t=e.setUniform;(0,e.setAttribute)("aUV",2,i.STATIC_DRAW,0,new Float32Array([0,0,2,0,0,2])),t("1i","image",c),i.bindFramebuffer(i.FRAMEBUFFER,u||null),i.disable(i.BLEND),i.colorMask(8&s,4&s,2&s,1&s),i.viewport(r,o,a,l),i.scissor(r,o,a,l),i.drawArrays(i.TRIANGLES,0,3)})})})}var s=Object.freeze({__proto__:null,withWebGLContext:i,renderImageData:l,resizeWebGLCanvasWithoutClearing:function(e,t,r){var n=e.width,o=e.height;i(e,function(a){var i=a.gl,s=new Uint8Array(n*o*4);i.readPixels(0,0,n,o,i.RGBA,i.UNSIGNED_BYTE,s),e.width=t,e.height=r,l(i,s,0,0,n,o)})}});function u(e,t,n,o,a,i){void 0===i&&(i=1);var l=new Uint8Array(e*t),s=o[2]-o[0],u=o[3]-o[1],f=[];r(n,function(e,t,r,n){f.push({x1:e,y1:t,x2:r,y2:n,minX:Math.min(e,r),minY:Math.min(t,n),maxX:Math.max(e,r),maxY:Math.max(t,n)})}),f.sort(function(e,t){return e.maxX-t.maxX});for(var c=0;c<e;c++)for(var d=0;d<t;d++){var v=function(e,t){for(var r=1/0,n=1/0,o=f.length;o--;){var a=f[o];if(a.maxX+n<=e)break;if(e+n>a.minX&&t-n<a.maxY&&t+n>a.minY){var i=function(e,t,r,n,o,a){var i=o-r,l=a-n,s=i*i+l*l,u=s?Math.max(0,Math.min(1,((e-r)*i+(t-n)*l)/s)):0,f=e-(r+u*i),c=t-(n+u*l);return f*f+c*c}(e,t,a.x1,a.y1,a.x2,a.y2);i<r&&(n=Math.sqrt(r=i))}}return function(e,t){for(var r=0,n=f.length;n--;){var o=f[n];if(o.maxX<=e)break;o.y1>t!=o.y2>t&&e<(o.x2-o.x1)*(t-o.y1)/(o.y2-o.y1)+o.x1&&(r+=o.y1<o.y2?1:-1)}return 0!==r}(e,t)&&(n=-n),n}(o[0]+s*(c+.5)/e,o[1]+u*(d+.5)/t),h=Math.pow(1-Math.abs(v)/a,i)/2;v<0&&(h=1-h),h=Math.max(0,Math.min(255,Math.round(255*h))),l[d*e+c]=h}return l}function f(e,t,r,n,o,a,i,l,s,u){void 0===a&&(a=1),void 0===l&&(l=0),void 0===s&&(s=0),void 0===u&&(u=0),c(e,t,r,n,o,a,i,null,l,s,u)}function c(e,t,r,n,o,a,i,s,f,c,d){void 0===a&&(a=1),void 0===f&&(f=0),void 0===c&&(c=0),void 0===d&&(d=0);for(var v=u(e,t,r,n,o,a),h=new Uint8Array(4*v.length),p=0;p<v.length;p++)h[4*p+d]=v[p];l(i,h,f,c,e,t,1<<3-d,s)}var d=Object.freeze({__proto__:null,generate:u,generateIntoCanvas:f,generateIntoFramebuffer:c}),v=new Float32Array([0,0,2,0,0,2]),h=null,p=!1,m={},g=new WeakMap;function y(e){if(!p&&!x(e))throw Error("WebGL generation not supported")}function b(e,t,r,n,o,a,l){if(void 0===a&&(a=1),void 0===l&&(l=null),!l&&!(l=h)){var s="function"==typeof OffscreenCanvas?new OffscreenCanvas(1,1):"undefined"!=typeof document?document.createElement("canvas"):null;if(!s)throw Error("OffscreenCanvas or DOM canvas not supported");l=h=s.getContext("webgl",{depth:!1})}y(l);var u=new Uint8Array(e*t*4);i(l,function(i){var l=i.gl,s=i.withTexture,f=i.withTextureFramebuffer;s("readable",function(i,s){l.texImage2D(l.TEXTURE_2D,0,l.RGBA,e,t,0,l.RGBA,l.UNSIGNED_BYTE,null),f(i,s,function(i){_(e,t,r,n,o,a,l,i,0,0,0),l.readPixels(0,0,e,t,l.RGBA,l.UNSIGNED_BYTE,u)})})});for(var f=new Uint8Array(e*t),c=0,d=0;c<u.length;c+=4)f[d++]=u[c];return f}function w(e,t,r,n,o,a,i,l,s,u){void 0===a&&(a=1),void 0===l&&(l=0),void 0===s&&(s=0),void 0===u&&(u=0),_(e,t,r,n,o,a,i,null,l,s,u)}function _(e,t,o,a,l,s,u,f,c,d,h){void 0===s&&(s=1),void 0===c&&(c=0),void 0===d&&(d=0),void 0===h&&(h=0),y(u);var p=[];r(o,function(e,t,r,n){p.push(e,t,r,n)}
169),p=new Float32Array(p),i(u,function(r){var o=r.gl,i=r.isWebGL2,u=r.getExtension,m=r.withProgram,g=r.withTexture,y=r.withTextureFramebuffer,b=r.handleContextLoss;if(g("rawDistances",function(r,g){(e!==r._lastWidth||t!==r._lastHeight)&&o.texImage2D(o.TEXTURE_2D,0,o.RGBA,r._lastWidth=e,r._lastHeight=t,0,o.RGBA,o.UNSIGNED_BYTE,null),m("main","precision highp float;uniform vec4 uGlyphBounds;attribute vec2 aUV;attribute vec4 aLineSegment;varying vec4 vLineSegment;varying vec2 vGlyphXY;void main(){vLineSegment=aLineSegment;vGlyphXY=mix(uGlyphBounds.xy,uGlyphBounds.zw,aUV);gl_Position=vec4(mix(vec2(-1.0),vec2(1.0),aUV),0.0,1.0);}","precision highp float;uniform vec4 uGlyphBounds;uniform float uMaxDistance;uniform float uExponent;varying vec4 vLineSegment;varying vec2 vGlyphXY;float absDistToSegment(vec2 point,vec2 lineA,vec2 lineB){vec2 lineDir=lineB-lineA;float lenSq=dot(lineDir,lineDir);float t=lenSq==0.0 ? 0.0 : clamp(dot(point-lineA,lineDir)/lenSq,0.0,1.0);vec2 linePt=lineA+t*lineDir;return distance(point,linePt);}void main(){vec4 seg=vLineSegment;vec2 p=vGlyphXY;float dist=absDistToSegment(p,seg.xy,seg.zw);float val=pow(1.0-clamp(dist/uMaxDistance,0.0,1.0),uExponent)*0.5;bool crossing=(seg.y>p.y!=seg.w>p.y)&&(p.x<(seg.z-seg.x)*(p.y-seg.y)/(seg.w-seg.y)+seg.x);bool crossingUp=crossing&&vLineSegment.y<vLineSegment.w;gl_FragColor=vec4(crossingUp ? 1.0/255.0 : 0.0,crossing&&!crossingUp ? 1.0/255.0 : 0.0,0.0,val);}",function(n){var f=n.setAttribute,c=n.setUniform,d=!i&&u("ANGLE_instanced_arrays"),h=!i&&u("EXT_blend_minmax");f("aUV",2,o.STATIC_DRAW,0,v),f("aLineSegment",4,o.DYNAMIC_DRAW,1,p),c.apply(void 0,["4f","uGlyphBounds"].concat(a)),c("1f","uMaxDistance",l),c("1f","uExponent",s),y(r,g,function(r){o.enable(o.BLEND),o.colorMask(!0,!0,!0,!0),o.viewport(0,0,e,t),o.scissor(0,0,e,t),o.blendFunc(o.ONE,o.ONE),o.blendEquationSeparate(o.FUNC_ADD,i?o.MAX:h.MAX_EXT),o.clear(o.COLOR_BUFFER_BIT),i?o.drawArraysInstanced(o.TRIANGLES,0,3,p.length/4):d.drawArraysInstancedANGLE(o.TRIANGLES,0,3,p.length/4)})}),m("post",n,"precision highp float;uniform sampler2D tex;varying vec2 vUV;void main(){vec4 color=texture2D(tex,vUV);bool inside=color.r!=color.g;float val=inside ? 1.0-color.a : color.a;gl_FragColor=vec4(val);}",function(r){r.setAttribute("aUV",2,o.STATIC_DRAW,0,v),r.setUniform("1i","tex",g),o.bindFramebuffer(o.FRAMEBUFFER,f),o.disable(o.BLEND),o.colorMask(0===h,1===h,2===h,3===h),o.viewport(c,d,e,t),o.scissor(c,d,e,t),o.drawArrays(o.TRIANGLES,0,3)})}),o.isContextLost())throw b(),Error("webgl context lost")})}function x(e){var t=e&&e!==h?e.canvas||e:m,r=g.get(t);if(void 0===r){p=!0;var n=null;try{var o=[97,106,97,61,99,137,118,80,80,118,137,99,61,97,106,97],a=b(4,4,"M8,8L16,8L24,24L16,24Z",[0,0,32,32],24,1,e);(r=a&&o.length===a.length&&a.every(function(e,t){return e===o[t]}))||(n="bad trial run results",console.info(o,a))}catch(e){r=!1,n=e.message}n&&console.warn("WebGL SDF generation not supported:",n),p=!1,g.set(t,r)}return r}var E=Object.freeze({__proto__:null,generate:b,generateIntoCanvas:w,generateIntoFramebuffer:_,isSupported:x});return e.forEachPathCommand=t,e.generate=function(e,t,r,n,o,a){void 0===o&&(o=Math.max(n[2]-n[0],n[3]-n[1])/2),void 0===a&&(a=1);try{return b.apply(E,arguments)}catch(e){return console.info("WebGL SDF generation failed, falling back to JS",e),u.apply(d,arguments)}},e.generateIntoCanvas=function(e,t,r,n,o,a,i,l,s,u){void 0===o&&(o=Math.max(n[2]-n[0],n[3]-n[1])/2),void 0===a&&(a=1),void 0===l&&(l=0),void 0===s&&(s=0),void 0===u&&(u=0);try{return w.apply(E,arguments)}catch(e){return console.info("WebGL SDF generation failed, falling back to JS",e),f.apply(d,arguments)}},e.javascript=d,e.pathToLineSegments=r,e.webgl=E,e.webglUtils=s,Object.defineProperty(e,"__esModule",{value:!0}),e}({})}},6261:function(e,t,r){r.d(t,{AW:function(){return T}});var n=r(2265),o=r.t(n,2),a=r(554);let i=o.useInsertionEffect,l="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect,s=i||l,u=e=>{let t=n.useRef([e,(...e)=>t[0](...e)]).current;return s(()=>{t[0]=e}),t[1]},f="pushState",c="replaceState",d=["popstate",f,c,"hashchange"],v=e=>{for(let t of d)addEventListener(t,e);return()=>{for(let t of d)removeEventListener(t,e)}},h=(e,t)=>(0,a.useSyncExternalStore)(v,e,t),p=()=>location.search,m=()=>location.pathname,g=({ssrPath:e}={})=>h(m,e?()=>e:m),y=(e,{replace:t=!1,state:r=null}={})=>history[t?c:f](r,"",e),b=Symbol.for("wouter_v3");if("undefined"!=typeof history&&void 0===window[b]){for(let e of[f,c]){let t=history[e];history[e]=function(){let r=t.apply(this,arguments),n=new Event(e);return n.arguments=arguments,dispatchEvent(n),r}}Object.defineProperty(window,b,{value:!0})}let w=(e="",t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",_=(e,t="")=>"~"===e[0]?e.slice(1):t+e,x=e=>{try{return decodeURI(e)}catch(t){return e}},E={hook:(e={})=>[g(e),y],searchHook:({ssrSearch:e=""}={})=>h(p,()=>e),parser:function(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var r,n,o,a,i=[],l="",s=e.split("/");for(s[0]||s.shift();o=s.shift();)"*"===(r=o[0])?(i.push(r),l+="?"===o[1]?"(?:/(.*))?":"/(.*)"):":"===r?(n=o.indexOf("?",1),a=o.indexOf(".",1),i.push(o.substring(1,~n?n:~a?a:o.length)),l+=~n&&!~a?"(?:/([^/]+?))?":"/([^/]+?)",~a&&(l+=(~n?"?":"")+"\\"+o.substring(a))):l+="/"+o;return{keys:i,pattern:RegExp("^"+l+(t?"(?=$|/)":"/?$"),"i")}},base:"",ssrPath:void 0,ssrSearch:void 0,hrefs:e=>e},M=(0,n.createContext)(E),k=()=>(0,n.useContext)(M),S=(0,n.createContext)({}),A=e=>{let[t,r]=e.hook(e);return[x(w(e.base,t)),u((t,n)=>r(_(t,e.base),n))]},R=(e,t,r,n)=>{let{pattern:o,keys:a}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",n),i=o.exec(r)||[],[l,...s]=i;return void 0!==l?[!0,(()=>{let e=!1!==a?Object.fromEntries(a.map((e,t)=>[e,s[t]])):i.groups,t={...s};return e&&Object.assign(t,e),t})(),...n?[l]:[]]:[!1,null]},L=({children:e,...t})=>{let r=k(),o=t.hook?E:r,a=o,[i,l]=t.ssrPath?.split("?")??[];l&&(t.ssrSearch=l,t.ssrPath=i),t.hrefs=t.hrefs??t.hook?.hrefs;let s=(0,n.useRef)({}),u=s.current,f=u;for(let e in o){let r="base"===e?o[e]+(t[e]||""):t[e]||o[e];u===f&&r!==f[e]&&(s.current=f={...f}),f[e]=r,r!==o[e]&&(a=f)}return(0,n.createElement)(M.Provider,{value:a,children:e})},I=({children:e,component:t},r)=>t?(0,n.createElement)(t,{params:r}):"function"==typeof e?e(r):e,T=({path:e,nest:t,match:r,...o}
169)=>{let a=k(),[i]=A(a),[l,s,u]=r??R(a.parser,e,i,t);if(!l)return null;let f=u?(0,n.createElement)(L,{base:u},I(o,s)):I(o,s);return(0,n.createElement)(S.Provider,{value:s,children:f})};(0,n.forwardRef)((e,t)=>{let r=k(),[o,a]=A(r),{to:i,href:l=i,onClick:s,asChild:f,children:c,className:d,replace:v,state:h,...p}=e,m=u(t=>{t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||0!==t.button||(s?.(t),t.defaultPrevented||(t.preventDefault(),a(l,e)))}),g=r.hrefs("~"===l[0]?l.slice(1):r.base+l,r);return f&&(0,n.isValidElement)(c)?(0,n.cloneElement)(c,{onClick:m,href:g}):(0,n.createElement)("a",{...p,onClick:m,href:g,className:d?.call?d(o===l):d,children:c,ref:t})})}}]);

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