diff --git a/assets/index-ce45c78e.js b/assets/index-ce45c78e.js new file mode 100644 index 0000000..99c271b --- /dev/null +++ b/assets/index-ce45c78e.js @@ -0,0 +1,3634 @@ +var r1=Object.defineProperty;var a1=(t,e,i)=>e in t?r1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var Xi=(t,e,i)=>(a1(t,typeof e!="symbol"?e+"":e,i),i);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function i(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(r){if(r.ep)return;r.ep=!0;const a=i(r);fetch(r.href,a)}})();var r0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Np(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var a0={exports:{}},Lc={},o0={exports:{}},Je={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Il=Symbol.for("react.element"),o1=Symbol.for("react.portal"),s1=Symbol.for("react.fragment"),l1=Symbol.for("react.strict_mode"),u1=Symbol.for("react.profiler"),c1=Symbol.for("react.provider"),h1=Symbol.for("react.context"),d1=Symbol.for("react.forward_ref"),p1=Symbol.for("react.suspense"),f1=Symbol.for("react.memo"),m1=Symbol.for("react.lazy"),im=Symbol.iterator;function g1(t){return t===null||typeof t!="object"?null:(t=im&&t[im]||t["@@iterator"],typeof t=="function"?t:null)}var s0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},l0=Object.assign,u0={};function ms(t,e,i){this.props=t,this.context=e,this.refs=u0,this.updater=i||s0}ms.prototype.isReactComponent={};ms.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)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,t,e,"setState")};ms.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function c0(){}c0.prototype=ms.prototype;function Op(t,e,i){this.props=t,this.context=e,this.refs=u0,this.updater=i||s0}var Fp=Op.prototype=new c0;Fp.constructor=Op;l0(Fp,ms.prototype);Fp.isPureReactComponent=!0;var nm=Array.isArray,h0=Object.prototype.hasOwnProperty,zp={current:null},d0={key:!0,ref:!0,__self:!0,__source:!0};function p0(t,e,i){var n,r={},a=null,o=null;if(e!=null)for(n in e.ref!==void 0&&(o=e.ref),e.key!==void 0&&(a=""+e.key),e)h0.call(e,n)&&!d0.hasOwnProperty(n)&&(r[n]=e[n]);var s=arguments.length-2;if(s===1)r.children=i;else if(1>>1,$=z[F];if(0>>1;Fr(pe,k))xe<$&&0>r(Pe,pe)?(z[F]=Pe,z[xe]=k,F=xe):(z[F]=pe,z[se]=k,F=se);else if(xe<$&&0>r(Pe,k))z[F]=Pe,z[xe]=k,F=xe;else break e}}return J}function r(z,J){var k=z.sortIndex-J.sortIndex;return k!==0?k:z.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();t.unstable_now=function(){return o.now()-s}}var u=[],c=[],h=1,p=null,d=3,g=!1,v=!1,M=!1,_=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(z){for(var J=i(c);J!==null;){if(J.callback===null)n(c);else if(J.startTime<=z)n(c),J.sortIndex=J.expirationTime,e(u,J);else break;J=i(c)}}function w(z){if(M=!1,y(z),!v)if(i(u)!==null)v=!0,ie(T);else{var J=i(c);J!==null&&Z(w,J.startTime-z)}}function T(z,J){v=!1,M&&(M=!1,f(I),I=-1),g=!0;var k=d;try{for(y(J),p=i(u);p!==null&&(!(p.expirationTime>J)||z&&!Y());){var F=p.callback;if(typeof F=="function"){p.callback=null,d=p.priorityLevel;var $=F(p.expirationTime<=J);J=t.unstable_now(),typeof $=="function"?p.callback=$:p===i(u)&&n(u),y(J)}else n(u);p=i(u)}if(p!==null)var re=!0;else{var se=i(c);se!==null&&Z(w,se.startTime-J),re=!1}return re}finally{p=null,d=k,g=!1}}var R=!1,A=null,I=-1,E=5,C=-1;function Y(){return!(t.unstable_now()-Cz||125F?(z.sortIndex=k,e(c,z),i(u)===null&&z===i(c)&&(M?(f(I),I=-1):M=!0,Z(w,k-F))):(z.sortIndex=$,e(u,z),v||g||(v=!0,ie(T))),z},t.unstable_shouldYield=Y,t.unstable_wrapCallback=function(z){var J=d;return function(){var k=d;d=J;try{return z.apply(this,arguments)}finally{d=k}}}})(v0);g0.exports=v0;var b1=g0.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var y0=Mi,Qi=b1;function ae(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,i=1;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yd=Object.prototype.hasOwnProperty,A1=/^[: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]*$/,am={},om={};function C1(t){return yd.call(om,t)?!0:yd.call(am,t)?!1:A1.test(t)?om[t]=!0:(am[t]=!0,!1)}function L1(t,e,i,n){if(i!==null&&i.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return n?!1:i!==null?!i.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function P1(t,e,i,n){if(e===null||typeof e>"u"||L1(t,e,i,n))return!0;if(n)return!1;if(i!==null)switch(i.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function mi(t,e,i,n,r,a,o){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=n,this.attributeNamespace=r,this.mustUseProperty=i,this.propertyName=t,this.type=e,this.sanitizeURL=a,this.removeEmptyString=o}var $t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){$t[t]=new mi(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];$t[e]=new mi(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){$t[t]=new mi(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){$t[t]=new mi(t,2,!1,t,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(t){$t[t]=new mi(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){$t[t]=new mi(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){$t[t]=new mi(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){$t[t]=new mi(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){$t[t]=new mi(t,5,!1,t.toLowerCase(),null,!1,!1)});var Gp=/[\-:]([a-z])/g;function Hp(t){return t[1].toUpperCase()}"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-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(t){var e=t.replace(Gp,Hp);$t[e]=new mi(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Gp,Hp);$t[e]=new mi(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Gp,Hp);$t[e]=new mi(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){$t[t]=new mi(t,1,!1,t.toLowerCase(),null,!1,!1)});$t.xlinkHref=new mi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){$t[t]=new mi(t,1,!1,t.toLowerCase(),null,!0,!0)});function Xp(t,e,i,n){var r=$t.hasOwnProperty(e)?$t[e]:null;(r!==null?r.type!==0:n||!(2s||r[o]!==a[s]){var u=` +`+r[o].replace(" at new "," at ");return t.displayName&&u.includes("")&&(u=u.replace("",t.displayName)),u}while(1<=o&&0<=s);break}}}finally{ah=!1,Error.prepareStackTrace=i}return(t=t?t.displayName||t.name:"")?Fs(t):""}function I1(t){switch(t.tag){case 5:return Fs(t.type);case 16:return Fs("Lazy");case 13:return Fs("Suspense");case 19:return Fs("SuspenseList");case 0:case 2:case 15:return t=oh(t.type,!1),t;case 11:return t=oh(t.type.render,!1),t;case 1:return t=oh(t.type,!0),t;default:return""}}function Sd(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Ao:return"Fragment";case bo:return"Portal";case _d:return"Profiler";case Wp:return"StrictMode";case xd:return"Suspense";case Md:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case M0:return(t.displayName||"Context")+".Consumer";case x0:return(t._context.displayName||"Context")+".Provider";case Vp:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case jp:return e=t.displayName||null,e!==null?e:Sd(t.type)||"Memo";case Or:e=t._payload,t=t._init;try{return Sd(t(e))}catch{}}return null}function D1(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Sd(e);case 8:return e===Wp?"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(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function la(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function E0(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function k1(t){var e=E0(t)?"checked":"value",i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,a=i.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return r.call(this)},set:function(o){n=""+o,a.call(this,o)}}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Zl(t){t._valueTracker||(t._valueTracker=k1(t))}function w0(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var i=e.getValue(),n="";return t&&(n=E0(t)?t.checked?"true":"false":t.value),t=n,t!==i?(e.setValue(t),!0):!1}function qu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Ed(t,e){var i=e.checked;return Et({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??t._wrapperState.initialChecked})}function lm(t,e){var i=e.defaultValue==null?"":e.defaultValue,n=e.checked!=null?e.checked:e.defaultChecked;i=la(e.value!=null?e.value:i),t._wrapperState={initialChecked:n,initialValue:i,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function T0(t,e){e=e.checked,e!=null&&Xp(t,"checked",e,!1)}function wd(t,e){T0(t,e);var i=la(e.value),n=e.type;if(i!=null)n==="number"?(i===0&&t.value===""||t.value!=i)&&(t.value=""+i):t.value!==""+i&&(t.value=""+i);else if(n==="submit"||n==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Td(t,e.type,i):e.hasOwnProperty("defaultValue")&&Td(t,e.type,la(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function um(t,e,i){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!(n!=="submit"&&n!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,i||e===t.value||(t.value=e),t.defaultValue=e}i=t.name,i!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,i!==""&&(t.name=i)}function Td(t,e,i){(e!=="number"||qu(t.ownerDocument)!==t)&&(i==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+i&&(t.defaultValue=""+i))}var zs=Array.isArray;function Ho(t,e,i,n){if(t=t.options,e){e={};for(var r=0;r"+e.valueOf().toString()+"",e=Kl.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function ol(t,e){if(e){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=e;return}}t.textContent=e}var js={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},U1=["Webkit","ms","Moz","O"];Object.keys(js).forEach(function(t){U1.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),js[e]=js[t]})});function C0(t,e,i){return e==null||typeof e=="boolean"||e===""?"":i||typeof e!="number"||e===0||js.hasOwnProperty(t)&&js[t]?(""+e).trim():e+"px"}function L0(t,e){t=t.style;for(var i in e)if(e.hasOwnProperty(i)){var n=i.indexOf("--")===0,r=C0(i,e[i],n);i==="float"&&(i="cssFloat"),n?t.setProperty(i,r):t[i]=r}}var N1=Et({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 Ad(t,e){if(e){if(N1[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(ae(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(ae(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(ae(61))}if(e.style!=null&&typeof e.style!="object")throw Error(ae(62))}}function Cd(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){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 Ld=null;function Yp(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Pd=null,Xo=null,Wo=null;function dm(t){if(t=Ul(t)){if(typeof Pd!="function")throw Error(ae(280));var e=t.stateNode;e&&(e=Uc(e),Pd(t.stateNode,t.type,e))}}function P0(t){Xo?Wo?Wo.push(t):Wo=[t]:Xo=t}function I0(){if(Xo){var t=Xo,e=Wo;if(Wo=Xo=null,dm(t),e)for(t=0;t>>=0,t===0?32:31-(Y1(t)/J1|0)|0}var ql=64,Ql=4194304;function Bs(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function tc(t,e){var i=t.pendingLanes;if(i===0)return 0;var n=0,r=t.suspendedLanes,a=t.pingedLanes,o=i&268435455;if(o!==0){var s=o&~r;s!==0?n=Bs(s):(a&=o,a!==0&&(n=Bs(a)))}else o=i&~r,o!==0?n=Bs(o):a!==0&&(n=Bs(a));if(n===0)return 0;if(e!==0&&e!==n&&!(e&r)&&(r=n&-n,a=e&-e,r>=a||r===16&&(a&4194240)!==0))return e;if(n&4&&(n|=i&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=n;0i;i++)e.push(t);return e}function Dl(t,e,i){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Un(e),t[e]=i}function Q1(t,e){var i=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var n=t.eventTimes;for(t=t.expirationTimes;0=Js),Mm=String.fromCharCode(32),Sm=!1;function Q0(t,e){switch(t){case"keyup":return RM.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $0(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Co=!1;function AM(t,e){switch(t){case"compositionend":return $0(e);case"keypress":return e.which!==32?null:(Sm=!0,Mm);case"textInput":return t=e.data,t===Mm&&Sm?null:t;default:return null}}function CM(t,e){if(Co)return t==="compositionend"||!tf&&Q0(t,e)?(t=K0(),Ou=Qp=Gr=null,Co=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:i,offset:e-t};t=n}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Rm(i)}}function ny(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?ny(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function ry(){for(var t=window,e=qu();e instanceof t.HTMLIFrameElement;){try{var i=typeof e.contentWindow.location.href=="string"}catch{i=!1}if(i)t=e.contentWindow;else break;e=qu(t.document)}return e}function nf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function FM(t){var e=ry(),i=t.focusedElem,n=t.selectionRange;if(e!==i&&i&&i.ownerDocument&&ny(i.ownerDocument.documentElement,i)){if(n!==null&&nf(i)){if(e=n.start,t=n.end,t===void 0&&(t=e),"selectionStart"in i)i.selectionStart=e,i.selectionEnd=Math.min(t,i.value.length);else if(t=(e=i.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var r=i.textContent.length,a=Math.min(n.start,r);n=n.end===void 0?a:Math.min(n.end,r),!t.extend&&a>n&&(r=n,n=a,a=r),r=bm(i,a);var o=bm(i,n);r&&o&&(t.rangeCount!==1||t.anchorNode!==r.node||t.anchorOffset!==r.offset||t.focusNode!==o.node||t.focusOffset!==o.offset)&&(e=e.createRange(),e.setStart(r.node,r.offset),t.removeAllRanges(),a>n?(t.addRange(e),t.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),t.addRange(e)))}}for(e=[],t=i;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i=document.documentMode,Lo=null,Od=null,Ks=null,Fd=!1;function Am(t,e,i){var n=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Fd||Lo==null||Lo!==qu(n)||(n=Lo,"selectionStart"in n&&nf(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Ks&&dl(Ks,n)||(Ks=n,n=rc(Od,"onSelect"),0Do||(t.current=Wd[Do],Wd[Do]=null,Do--)}function ut(t,e){Do++,Wd[Do]=t.current,t.current=e}var ua={},ui=fa(ua),Ri=fa(!1),Va=ua;function es(t,e){var i=t.type.contextTypes;if(!i)return ua;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var r={},a;for(a in i)r[a]=e[a];return n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=r),r}function bi(t){return t=t.childContextTypes,t!=null}function oc(){pt(Ri),pt(ui)}function Um(t,e,i){if(ui.current!==ua)throw Error(ae(168));ut(ui,e),ut(Ri,i)}function py(t,e,i){var n=t.stateNode;if(e=e.childContextTypes,typeof n.getChildContext!="function")return i;n=n.getChildContext();for(var r in n)if(!(r in e))throw Error(ae(108,D1(t)||"Unknown",r));return Et({},i,n)}function sc(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||ua,Va=ui.current,ut(ui,t),ut(Ri,Ri.current),!0}function Nm(t,e,i){var n=t.stateNode;if(!n)throw Error(ae(169));i?(t=py(t,e,Va),n.__reactInternalMemoizedMergedChildContext=t,pt(Ri),pt(ui),ut(ui,t)):pt(Ri),ut(Ri,i)}var mr=null,Nc=!1,xh=!1;function fy(t){mr===null?mr=[t]:mr.push(t)}function KM(t){Nc=!0,fy(t)}function ma(){if(!xh&&mr!==null){xh=!0;var t=0,e=it;try{var i=mr;for(it=1;t>=o,r-=o,_r=1<<32-Un(e)+r|i<I?(E=A,A=null):E=A.sibling;var C=d(f,A,y[I],w);if(C===null){A===null&&(A=E);break}t&&A&&C.alternate===null&&e(f,A),x=a(C,x,I),R===null?T=C:R.sibling=C,R=C,A=E}if(I===y.length)return i(f,A),gt&&wa(f,I),T;if(A===null){for(;II?(E=A,A=null):E=A.sibling;var Y=d(f,A,C.value,w);if(Y===null){A===null&&(A=E);break}t&&A&&Y.alternate===null&&e(f,A),x=a(Y,x,I),R===null?T=Y:R.sibling=Y,R=Y,A=E}if(C.done)return i(f,A),gt&&wa(f,I),T;if(A===null){for(;!C.done;I++,C=y.next())C=p(f,C.value,w),C!==null&&(x=a(C,x,I),R===null?T=C:R.sibling=C,R=C);return gt&&wa(f,I),T}for(A=n(f,A);!C.done;I++,C=y.next())C=g(A,f,I,C.value,w),C!==null&&(t&&C.alternate!==null&&A.delete(C.key===null?I:C.key),x=a(C,x,I),R===null?T=C:R.sibling=C,R=C);return t&&A.forEach(function(ne){return e(f,ne)}),gt&&wa(f,I),T}function _(f,x,y,w){if(typeof y=="object"&&y!==null&&y.type===Ao&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Jl:e:{for(var T=y.key,R=x;R!==null;){if(R.key===T){if(T=y.type,T===Ao){if(R.tag===7){i(f,R.sibling),x=r(R,y.props.children),x.return=f,f=x;break e}}else if(R.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Or&&Xm(T)===R.type){i(f,R.sibling),x=r(R,y.props),x.ref=As(f,R,y),x.return=f,f=x;break e}i(f,R);break}else e(f,R);R=R.sibling}y.type===Ao?(x=Ua(y.props.children,f.mode,w,y.key),x.return=f,f=x):(w=Vu(y.type,y.key,y.props,null,f.mode,w),w.ref=As(f,x,y),w.return=f,f=w)}return o(f);case bo:e:{for(R=y.key;x!==null;){if(x.key===R)if(x.tag===4&&x.stateNode.containerInfo===y.containerInfo&&x.stateNode.implementation===y.implementation){i(f,x.sibling),x=r(x,y.children||[]),x.return=f,f=x;break e}else{i(f,x);break}else e(f,x);x=x.sibling}x=Ah(y,f.mode,w),x.return=f,f=x}return o(f);case Or:return R=y._init,_(f,x,R(y._payload),w)}if(zs(y))return v(f,x,y,w);if(Es(y))return M(f,x,y,w);au(f,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,x!==null&&x.tag===6?(i(f,x.sibling),x=r(x,y),x.return=f,f=x):(i(f,x),x=bh(y,f.mode,w),x.return=f,f=x),o(f)):i(f,x)}return _}var is=Sy(!0),Ey=Sy(!1),Nl={},qn=fa(Nl),gl=fa(Nl),vl=fa(Nl);function Ia(t){if(t===Nl)throw Error(ae(174));return t}function df(t,e){switch(ut(vl,e),ut(gl,t),ut(qn,Nl),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:bd(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=bd(e,t)}pt(qn),ut(qn,e)}function ns(){pt(qn),pt(gl),pt(vl)}function wy(t){Ia(vl.current);var e=Ia(qn.current),i=bd(e,t.type);e!==i&&(ut(gl,t),ut(qn,i))}function pf(t){gl.current===t&&(pt(qn),pt(gl))}var _t=fa(0);function pc(t){for(var e=t;e!==null;){if(e.tag===13){var i=e.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Mh=[];function ff(){for(var t=0;ti?i:4,t(!0);var n=Sh.transition;Sh.transition={};try{t(!1),e()}finally{it=i,Sh.transition=n}}function By(){return xn().memoizedState}function eS(t,e,i){var n=ta(t);if(i={lane:n,action:i,hasEagerState:!1,eagerState:null,next:null},Gy(t))Hy(e,i);else if(i=yy(t,e,i,n),i!==null){var r=pi();Nn(i,t,n,r),Xy(i,e,n)}}function tS(t,e,i){var n=ta(t),r={lane:n,action:i,hasEagerState:!1,eagerState:null,next:null};if(Gy(t))Hy(e,r);else{var a=t.alternate;if(t.lanes===0&&(a===null||a.lanes===0)&&(a=e.lastRenderedReducer,a!==null))try{var o=e.lastRenderedState,s=a(o,i);if(r.hasEagerState=!0,r.eagerState=s,zn(s,o)){var u=e.interleaved;u===null?(r.next=r,cf(e)):(r.next=u.next,u.next=r),e.interleaved=r;return}}catch{}finally{}i=yy(t,e,r,n),i!==null&&(r=pi(),Nn(i,t,n,r),Xy(i,e,n))}}function Gy(t){var e=t.alternate;return t===St||e!==null&&e===St}function Hy(t,e){qs=fc=!0;var i=t.pending;i===null?e.next=e:(e.next=i.next,i.next=e),t.pending=e}function Xy(t,e,i){if(i&4194240){var n=e.lanes;n&=t.pendingLanes,i|=n,e.lanes=i,Zp(t,i)}}var mc={readContext:_n,useCallback:ti,useContext:ti,useEffect:ti,useImperativeHandle:ti,useInsertionEffect:ti,useLayoutEffect:ti,useMemo:ti,useReducer:ti,useRef:ti,useState:ti,useDebugValue:ti,useDeferredValue:ti,useTransition:ti,useMutableSource:ti,useSyncExternalStore:ti,useId:ti,unstable_isNewReconciler:!1},iS={readContext:_n,useCallback:function(t,e){return Vn().memoizedState=[t,e===void 0?null:e],t},useContext:_n,useEffect:Vm,useImperativeHandle:function(t,e,i){return i=i!=null?i.concat([t]):null,Gu(4194308,4,Uy.bind(null,e,t),i)},useLayoutEffect:function(t,e){return Gu(4194308,4,t,e)},useInsertionEffect:function(t,e){return Gu(4,2,t,e)},useMemo:function(t,e){var i=Vn();return e=e===void 0?null:e,t=t(),i.memoizedState=[t,e],t},useReducer:function(t,e,i){var n=Vn();return e=i!==void 0?i(e):e,n.memoizedState=n.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},n.queue=t,t=t.dispatch=eS.bind(null,St,t),[n.memoizedState,t]},useRef:function(t){var e=Vn();return t={current:t},e.memoizedState=t},useState:Wm,useDebugValue:_f,useDeferredValue:function(t){return Vn().memoizedState=t},useTransition:function(){var t=Wm(!1),e=t[0];return t=$M.bind(null,t[1]),Vn().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,i){var n=St,r=Vn();if(gt){if(i===void 0)throw Error(ae(407));i=i()}else{if(i=e(),Vt===null)throw Error(ae(349));Ya&30||by(n,e,i)}r.memoizedState=i;var a={value:i,getSnapshot:e};return r.queue=a,Vm(Cy.bind(null,n,a,t),[t]),n.flags|=2048,xl(9,Ay.bind(null,n,a,i,e),void 0,null),i},useId:function(){var t=Vn(),e=Vt.identifierPrefix;if(gt){var i=xr,n=_r;i=(n&~(1<<32-Un(n)-1)).toString(32)+i,e=":"+e+"R"+i,i=yl++,0<\/script>",t=t.removeChild(t.firstChild)):typeof n.is=="string"?t=o.createElement(i,{is:n.is}):(t=o.createElement(i),i==="select"&&(o=t,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):t=o.createElementNS(t,i),t[Yn]=e,t[ml]=n,Qy(t,e,!1,!1),e.stateNode=t;e:{switch(o=Cd(i,n),i){case"dialog":dt("cancel",t),dt("close",t),r=n;break;case"iframe":case"object":case"embed":dt("load",t),r=n;break;case"video":case"audio":for(r=0;ras&&(e.flags|=128,n=!0,Cs(a,!1),e.lanes=4194304)}else{if(!n)if(t=pc(o),t!==null){if(e.flags|=128,n=!0,i=t.updateQueue,i!==null&&(e.updateQueue=i,e.flags|=4),Cs(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!gt)return ii(e),null}else 2*Pt()-a.renderingStartTime>as&&i!==1073741824&&(e.flags|=128,n=!0,Cs(a,!1),e.lanes=4194304);a.isBackwards?(o.sibling=e.child,e.child=o):(i=a.last,i!==null?i.sibling=o:e.child=o,a.last=o)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Pt(),e.sibling=null,i=_t.current,ut(_t,n?i&1|2:i&1),e):(ii(e),null);case 22:case 23:return Tf(),n=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==n&&(e.flags|=8192),n&&e.mode&1?ji&1073741824&&(ii(e),e.subtreeFlags&6&&(e.flags|=8192)):ii(e),null;case 24:return null;case 25:return null}throw Error(ae(156,e.tag))}function cS(t,e){switch(af(e),e.tag){case 1:return bi(e.type)&&oc(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return ns(),pt(Ri),pt(ui),ff(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return pf(e),null;case 13:if(pt(_t),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(ae(340));ts()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return pt(_t),null;case 4:return ns(),null;case 10:return uf(e.type._context),null;case 22:case 23:return Tf(),null;case 24:return null;default:return null}}var su=!1,ai=!1,hS=typeof WeakSet=="function"?WeakSet:Set,_e=null;function Oo(t,e){var i=t.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(n){bt(t,e,n)}else i.current=null}function ip(t,e,i){try{i()}catch(n){bt(t,e,n)}}var eg=!1;function dS(t,e){if(zd=ic,t=ry(),nf(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var n=i.getSelection&&i.getSelection();if(n&&n.rangeCount!==0){i=n.anchorNode;var r=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{i.nodeType,a.nodeType}catch{i=null;break e}var o=0,s=-1,u=-1,c=0,h=0,p=t,d=null;t:for(;;){for(var g;p!==i||r!==0&&p.nodeType!==3||(s=o+r),p!==a||n!==0&&p.nodeType!==3||(u=o+n),p.nodeType===3&&(o+=p.nodeValue.length),(g=p.firstChild)!==null;)d=p,p=g;for(;;){if(p===t)break t;if(d===i&&++c===r&&(s=o),d===a&&++h===n&&(u=o),(g=p.nextSibling)!==null)break;p=d,d=p.parentNode}p=g}i=s===-1||u===-1?null:{start:s,end:u}}else i=null}i=i||{start:0,end:0}}else i=null;for(Bd={focusedElem:t,selectionRange:i},ic=!1,_e=e;_e!==null;)if(e=_e,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,_e=t;else for(;_e!==null;){e=_e;try{var v=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var M=v.memoizedProps,_=v.memoizedState,f=e.stateNode,x=f.getSnapshotBeforeUpdate(e.elementType===e.type?M:Cn(e.type,M),_);f.__reactInternalSnapshotBeforeUpdate=x}break;case 3:var y=e.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ae(163))}}catch(w){bt(e,e.return,w)}if(t=e.sibling,t!==null){t.return=e.return,_e=t;break}_e=e.return}return v=eg,eg=!1,v}function Qs(t,e,i){var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do{if((r.tag&t)===t){var a=r.destroy;r.destroy=void 0,a!==void 0&&ip(e,i,a)}r=r.next}while(r!==n)}}function zc(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var i=e=e.next;do{if((i.tag&t)===t){var n=i.create;i.destroy=n()}i=i.next}while(i!==e)}}function np(t){var e=t.ref;if(e!==null){var i=t.stateNode;switch(t.tag){case 5:t=i;break;default:t=i}typeof e=="function"?e(t):e.current=t}}function t_(t){var e=t.alternate;e!==null&&(t.alternate=null,t_(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Yn],delete e[ml],delete e[Xd],delete e[JM],delete e[ZM])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function i_(t){return t.tag===5||t.tag===3||t.tag===4}function tg(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||i_(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function rp(t,e,i){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?i.nodeType===8?i.parentNode.insertBefore(t,e):i.insertBefore(t,e):(i.nodeType===8?(e=i.parentNode,e.insertBefore(t,i)):(e=i,e.appendChild(t)),i=i._reactRootContainer,i!=null||e.onclick!==null||(e.onclick=ac));else if(n!==4&&(t=t.child,t!==null))for(rp(t,e,i),t=t.sibling;t!==null;)rp(t,e,i),t=t.sibling}function ap(t,e,i){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?i.insertBefore(t,e):i.appendChild(t);else if(n!==4&&(t=t.child,t!==null))for(ap(t,e,i),t=t.sibling;t!==null;)ap(t,e,i),t=t.sibling}var Zt=null,Ln=!1;function Ir(t,e,i){for(i=i.child;i!==null;)n_(t,e,i),i=i.sibling}function n_(t,e,i){if(Kn&&typeof Kn.onCommitFiberUnmount=="function")try{Kn.onCommitFiberUnmount(Pc,i)}catch{}switch(i.tag){case 5:ai||Oo(i,e);case 6:var n=Zt,r=Ln;Zt=null,Ir(t,e,i),Zt=n,Ln=r,Zt!==null&&(Ln?(t=Zt,i=i.stateNode,t.nodeType===8?t.parentNode.removeChild(i):t.removeChild(i)):Zt.removeChild(i.stateNode));break;case 18:Zt!==null&&(Ln?(t=Zt,i=i.stateNode,t.nodeType===8?_h(t.parentNode,i):t.nodeType===1&&_h(t,i),cl(t)):_h(Zt,i.stateNode));break;case 4:n=Zt,r=Ln,Zt=i.stateNode.containerInfo,Ln=!0,Ir(t,e,i),Zt=n,Ln=r;break;case 0:case 11:case 14:case 15:if(!ai&&(n=i.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){r=n=n.next;do{var a=r,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&ip(i,e,o),r=r.next}while(r!==n)}Ir(t,e,i);break;case 1:if(!ai&&(Oo(i,e),n=i.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=i.memoizedProps,n.state=i.memoizedState,n.componentWillUnmount()}catch(s){bt(i,e,s)}Ir(t,e,i);break;case 21:Ir(t,e,i);break;case 22:i.mode&1?(ai=(n=ai)||i.memoizedState!==null,Ir(t,e,i),ai=n):Ir(t,e,i);break;default:Ir(t,e,i)}}function ig(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var i=t.stateNode;i===null&&(i=t.stateNode=new hS),e.forEach(function(n){var r=MS.bind(null,t,n);i.has(n)||(i.add(n),n.then(r,r))})}}function wn(t,e){var i=e.deletions;if(i!==null)for(var n=0;nr&&(r=o),n&=~a}if(n=r,n=Pt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*fS(n/1960))-n,10t?16:t,Hr===null)var n=!1;else{if(t=Hr,Hr=null,yc=0,qe&6)throw Error(ae(331));var r=qe;for(qe|=4,_e=t.current;_e!==null;){var a=_e,o=a.child;if(_e.flags&16){var s=a.deletions;if(s!==null){for(var u=0;uPt()-Ef?ka(t,0):Sf|=i),Ai(t,e)}function h_(t,e){e===0&&(t.mode&1?(e=Ql,Ql<<=1,!(Ql&130023424)&&(Ql=4194304)):e=1);var i=pi();t=Tr(t,e),t!==null&&(Dl(t,e,i),Ai(t,i))}function xS(t){var e=t.memoizedState,i=0;e!==null&&(i=e.retryLane),h_(t,i)}function MS(t,e){var i=0;switch(t.tag){case 13:var n=t.stateNode,r=t.memoizedState;r!==null&&(i=r.retryLane);break;case 19:n=t.stateNode;break;default:throw Error(ae(314))}n!==null&&n.delete(e),h_(t,i)}var d_;d_=function(t,e,i){if(t!==null)if(t.memoizedProps!==e.pendingProps||Ri.current)Ti=!0;else{if(!(t.lanes&i)&&!(e.flags&128))return Ti=!1,lS(t,e,i);Ti=!!(t.flags&131072)}else Ti=!1,gt&&e.flags&1048576&&my(e,uc,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;Hu(t,e),t=e.pendingProps;var r=es(e,ui.current);jo(e,i),r=gf(null,e,n,t,r,i);var a=vf();return e.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,bi(n)?(a=!0,sc(e)):a=!1,e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,hf(e),r.updater=Oc,e.stateNode=r,r._reactInternals=e,Zd(e,n,t,i),e=Qd(null,e,n,!0,a,i)):(e.tag=0,gt&&a&&rf(e),hi(null,e,r,i),e=e.child),e;case 16:n=e.elementType;e:{switch(Hu(t,e),t=e.pendingProps,r=n._init,n=r(n._payload),e.type=n,r=e.tag=ES(n),t=Cn(n,t),r){case 0:e=qd(null,e,n,t,i);break e;case 1:e=qm(null,e,n,t,i);break e;case 11:e=Zm(null,e,n,t,i);break e;case 14:e=Km(null,e,n,Cn(n.type,t),i);break e}throw Error(ae(306,n,""))}return e;case 0:return n=e.type,r=e.pendingProps,r=e.elementType===n?r:Cn(n,r),qd(t,e,n,r,i);case 1:return n=e.type,r=e.pendingProps,r=e.elementType===n?r:Cn(n,r),qm(t,e,n,r,i);case 3:e:{if(Zy(e),t===null)throw Error(ae(387));n=e.pendingProps,a=e.memoizedState,r=a.element,_y(t,e),dc(e,n,null,i);var o=e.memoizedState;if(n=o.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=a,e.memoizedState=a,e.flags&256){r=rs(Error(ae(423)),e),e=Qm(t,e,n,i,r);break e}else if(n!==r){r=rs(Error(ae(424)),e),e=Qm(t,e,n,i,r);break e}else for(Zi=Qr(e.stateNode.containerInfo.firstChild),Ki=e,gt=!0,Pn=null,i=Ey(e,null,n,i),e.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(ts(),n===r){e=Rr(t,e,i);break e}hi(t,e,n,i)}e=e.child}return e;case 5:return wy(e),t===null&&jd(e),n=e.type,r=e.pendingProps,a=t!==null?t.memoizedProps:null,o=r.children,Gd(n,r)?o=null:a!==null&&Gd(n,a)&&(e.flags|=32),Jy(t,e),hi(t,e,o,i),e.child;case 6:return t===null&&jd(e),null;case 13:return Ky(t,e,i);case 4:return df(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=is(e,null,n,i):hi(t,e,n,i),e.child;case 11:return n=e.type,r=e.pendingProps,r=e.elementType===n?r:Cn(n,r),Zm(t,e,n,r,i);case 7:return hi(t,e,e.pendingProps,i),e.child;case 8:return hi(t,e,e.pendingProps.children,i),e.child;case 12:return hi(t,e,e.pendingProps.children,i),e.child;case 10:e:{if(n=e.type._context,r=e.pendingProps,a=e.memoizedProps,o=r.value,ut(cc,n._currentValue),n._currentValue=o,a!==null)if(zn(a.value,o)){if(a.children===r.children&&!Ri.current){e=Rr(t,e,i);break e}}else for(a=e.child,a!==null&&(a.return=e);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var u=s.firstContext;u!==null;){if(u.context===n){if(a.tag===1){u=Sr(-1,i&-i),u.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?u.next=u:(u.next=h.next,h.next=u),c.pending=u}}a.lanes|=i,u=a.alternate,u!==null&&(u.lanes|=i),Yd(a.return,i,e),s.lanes|=i;break}u=u.next}}else if(a.tag===10)o=a.type===e.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(ae(341));o.lanes|=i,s=o.alternate,s!==null&&(s.lanes|=i),Yd(o,i,e),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===e){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}hi(t,e,r.children,i),e=e.child}return e;case 9:return r=e.type,n=e.pendingProps.children,jo(e,i),r=_n(r),n=n(r),e.flags|=1,hi(t,e,n,i),e.child;case 14:return n=e.type,r=Cn(n,e.pendingProps),r=Cn(n.type,r),Km(t,e,n,r,i);case 15:return jy(t,e,e.type,e.pendingProps,i);case 17:return n=e.type,r=e.pendingProps,r=e.elementType===n?r:Cn(n,r),Hu(t,e),e.tag=1,bi(n)?(t=!0,sc(e)):t=!1,jo(e,i),My(e,n,r),Zd(e,n,r,i),Qd(null,e,n,!0,t,i);case 19:return qy(t,e,i);case 22:return Yy(t,e,i)}throw Error(ae(156,e.tag))};function p_(t,e){return z0(t,e)}function SS(t,e,i,n){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fn(t,e,i,n){return new SS(t,e,i,n)}function bf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ES(t){if(typeof t=="function")return bf(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Vp)return 11;if(t===jp)return 14}return 2}function ia(t,e){var i=t.alternate;return i===null?(i=fn(t.tag,e,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=e,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&14680064,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,e=t.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i}function Vu(t,e,i,n,r,a){var o=2;if(n=t,typeof t=="function")bf(t)&&(o=1);else if(typeof t=="string")o=5;else e:switch(t){case Ao:return Ua(i.children,r,a,e);case Wp:o=8,r|=8;break;case _d:return t=fn(12,i,e,r|2),t.elementType=_d,t.lanes=a,t;case xd:return t=fn(13,i,e,r),t.elementType=xd,t.lanes=a,t;case Md:return t=fn(19,i,e,r),t.elementType=Md,t.lanes=a,t;case S0:return Gc(i,r,a,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case x0:o=10;break e;case M0:o=9;break e;case Vp:o=11;break e;case jp:o=14;break e;case Or:o=16,n=null;break e}throw Error(ae(130,t==null?t:typeof t,""))}return e=fn(o,i,e,r),e.elementType=t,e.type=n,e.lanes=a,e}function Ua(t,e,i,n){return t=fn(7,t,n,e),t.lanes=i,t}function Gc(t,e,i,n){return t=fn(22,t,n,e),t.elementType=S0,t.lanes=i,t.stateNode={isHidden:!1},t}function bh(t,e,i){return t=fn(6,t,null,e),t.lanes=i,t}function Ah(t,e,i){return e=fn(4,t.children!==null?t.children:[],t.key,e),e.lanes=i,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function wS(t,e,i,n,r){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=lh(0),this.expirationTimes=lh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lh(0),this.identifierPrefix=n,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Af(t,e,i,n,r,a,o,s,u){return t=new wS(t,e,i,s,u),e===1?(e=1,a===!0&&(e|=8)):e=0,a=fn(3,null,null,e),t.current=a,a.stateNode=t,a.memoizedState={element:n,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},hf(a),t}function TS(t,e,i){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(v_)}catch(t){console.error(t)}}v_(),m0.exports=en;var LS=m0.exports,cg=LS;vd.createRoot=cg.createRoot,vd.hydrateRoot=cg.hydrateRoot;const PS=({changeRoute:t,isSignedIn:e})=>e===!0?Ee.jsx("div",{className:"navi flex justify-end rounded-xl",children:Ee.jsx("nav",{onClick:()=>t("signin"),className:"cursor-pointer bg-gradient-to-r from-purple-500 to-pink-500 rounded-xl p-3 shadow-inner shadow-sky-400",children:Ee.jsx("p",{className:"text-2xl text-amber-50 font-bold ",children:"Sign Out"})})}):Ee.jsx("div",{});function IS(t,e,i,n){return new(i||(i=Promise))(function(r,a){function o(c){try{u(n.next(c))}catch(h){a(h)}}function s(c){try{u(n.throw(c))}catch(h){a(h)}}function u(c){var h;c.done?r(c.value):(h=c.value,h instanceof i?h:new i(function(p){p(h)})).then(o,s)}u((n=n.apply(t,e||[])).next())})}const hg=(t,e,i,n)=>{t.style.transition=`${e} ${i}ms ${n}`},gr=(t,e,i)=>Math.min(Math.max(t,e),i);class DS{constructor(e,i){this.glareAngle=0,this.glareOpacity=0,this.calculateGlareSize=o=>{const{width:s,height:u}=o,c=Math.sqrt(Math.pow(s,2)+Math.pow(u,2));return{width:c,height:c}},this.setSize=o=>{const s=this.calculateGlareSize(o);this.glareEl.style.width=`${s.width}px`,this.glareEl.style.height=`${s.height}px`},this.update=(o,s,u,c)=>{this.updateAngle(o,s.glareReverse),this.updateOpacity(o,s,u,c)},this.updateAngle=(o,s)=>{const{xPercentage:u,yPercentage:c}=o,h=180/Math.PI,p=u?Math.atan2(c,-u)*h:0;this.glareAngle=p-(s?180:0)},this.updateOpacity=(o,s,u,c)=>{const{xPercentage:h,yPercentage:p}=o,{glarePosition:d,glareReverse:g,glareMaxOpacity:v}=s,M=u?-1:1,_=c?-1:1,f=g?-1:1;let x=0;switch(d){case"top":x=-h*M*f;break;case"right":x=p*_*f;break;case"bottom":case void 0:x=h*M*f;break;case"left":x=-p*_*f;break;case"all":x=Math.hypot(h,p)}const y=gr(x,0,100);this.glareOpacity=y*v/100},this.render=o=>{const{glareColor:s}=o;this.glareEl.style.transform=`rotate(${this.glareAngle}deg) translate(-50%, -50%)`,this.glareEl.style.opacity=this.glareOpacity.toString(),this.glareEl.style.background=`linear-gradient(0deg, rgba(255,255,255,0) 0%, ${s} 100%)`},this.glareWrapperEl=document.createElement("div"),this.glareEl=document.createElement("div"),this.glareWrapperEl.appendChild(this.glareEl),this.glareWrapperEl.className="glare-wrapper",this.glareEl.className="glare";const n={position:"absolute",top:"0",left:"0",width:"100%",height:"100%",overflow:"hidden",borderRadius:i,WebkitMaskImage:"-webkit-radial-gradient(white, black)",pointerEvents:"none"},r=this.calculateGlareSize(e),a={position:"absolute",top:"50%",left:"50%",transformOrigin:"0% 0%",pointerEvents:"none",width:`${r.width}px`,height:`${r.height}px`};Object.assign(this.glareWrapperEl.style,n),Object.assign(this.glareEl.style,a)}}class kS{constructor(){this.glareAngle=0,this.glareOpacity=0,this.tiltAngleX=0,this.tiltAngleY=0,this.tiltAngleXPercentage=0,this.tiltAngleYPercentage=0,this.update=(e,i)=>{this.updateTilt(e,i),this.updateTiltManualInput(e,i),this.updateTiltReverse(i),this.updateTiltLimits(i)},this.updateTilt=(e,i)=>{const{xPercentage:n,yPercentage:r}=e,{tiltMaxAngleX:a,tiltMaxAngleY:o}=i;this.tiltAngleX=n*a/100,this.tiltAngleY=r*o/100*-1},this.updateTiltManualInput=(e,i)=>{const{tiltAngleXManual:n,tiltAngleYManual:r,tiltMaxAngleX:a,tiltMaxAngleY:o}=i;(n!==null||r!==null)&&(this.tiltAngleX=n!==null?n:0,this.tiltAngleY=r!==null?r:0,e.xPercentage=100*this.tiltAngleX/a,e.yPercentage=100*this.tiltAngleY/o)},this.updateTiltReverse=e=>{const i=e.tiltReverse?-1:1;this.tiltAngleX=i*this.tiltAngleX,this.tiltAngleY=i*this.tiltAngleY},this.updateTiltLimits=e=>{const{tiltAxis:i}=e;this.tiltAngleX=gr(this.tiltAngleX,-90,90),this.tiltAngleY=gr(this.tiltAngleY,-90,90),i&&(this.tiltAngleX=i==="x"?this.tiltAngleX:0,this.tiltAngleY=i==="y"?this.tiltAngleY:0)},this.updateTiltAnglesPercentage=e=>{const{tiltMaxAngleX:i,tiltMaxAngleY:n}=e;this.tiltAngleXPercentage=this.tiltAngleX/i*100,this.tiltAngleYPercentage=this.tiltAngleY/n*100},this.render=e=>{e.style.transform+=`rotateX(${this.tiltAngleX}deg) rotateY(${this.tiltAngleY}deg) `}}}const US=Object.assign(Object.assign({scale:1,perspective:1e3,flipVertically:!1,flipHorizontally:!1,reset:!0,transitionEasing:"cubic-bezier(.03,.98,.52,.99)",transitionSpeed:400,trackOnWindow:!1,gyroscope:!1},{tiltEnable:!0,tiltReverse:!1,tiltAngleXInitial:0,tiltAngleYInitial:0,tiltMaxAngleX:20,tiltMaxAngleY:20,tiltAxis:void 0,tiltAngleXManual:null,tiltAngleYManual:null}),{glareEnable:!1,glareMaxOpacity:.7,glareColor:"#ffffff",glarePosition:"bottom",glareReverse:!1,glareBorderRadius:"0"});class y_ extends Mi.PureComponent{constructor(){super(...arguments),this.wrapperEl={node:null,size:{width:0,height:0,left:0,top:0},clientPosition:{x:null,y:null,xPercentage:0,yPercentage:0},updateAnimationId:null,scale:1},this.tilt=null,this.glare=null,this.addDeviceOrientationEventListener=()=>IS(this,void 0,void 0,function*(){if(!window.DeviceOrientationEvent)return;const e=DeviceOrientationEvent.requestPermission;typeof e=="function"?(yield e())==="granted"&&window.addEventListener("deviceorientation",this.onMove):window.addEventListener("deviceorientation",this.onMove)}),this.setSize=()=>{this.setWrapperElSize(),this.glare&&this.glare.setSize(this.wrapperEl.size)},this.mainLoop=e=>{this.wrapperEl.updateAnimationId!==null&&cancelAnimationFrame(this.wrapperEl.updateAnimationId),this.processInput(e),this.update(e.type),this.wrapperEl.updateAnimationId=requestAnimationFrame(this.renderFrame)},this.onEnter=e=>{const{onEnter:i}=this.props;this.setSize(),this.wrapperEl.node.style.willChange="transform",this.setTransitions(),i&&i(e.type)},this.onMove=e=>{this.mainLoop(e),this.emitOnMove(e)},this.onLeave=e=>{const{onLeave:i}=this.props;if(this.setTransitions(),i&&i(e.type),this.props.reset){const n=new CustomEvent("autoreset");this.onMove(n)}},this.processInput=e=>{const{scale:i}=this.props;switch(e.type){case"mousemove":this.wrapperEl.clientPosition.x=e.pageX,this.wrapperEl.clientPosition.y=e.pageY,this.wrapperEl.scale=i;break;case"touchmove":this.wrapperEl.clientPosition.x=e.touches[0].pageX,this.wrapperEl.clientPosition.y=e.touches[0].pageY,this.wrapperEl.scale=i;break;case"deviceorientation":this.processInputDeviceOrientation(e),this.wrapperEl.scale=i;break;case"autoreset":const{tiltAngleXInitial:n,tiltAngleYInitial:r,tiltMaxAngleX:a,tiltMaxAngleY:o}=this.props,s=r/o*100;this.wrapperEl.clientPosition.xPercentage=gr(n/a*100,-100,100),this.wrapperEl.clientPosition.yPercentage=gr(s,-100,100),this.wrapperEl.scale=1}},this.processInputDeviceOrientation=e=>{if(!e.gamma||!e.beta||!this.props.gyroscope)return;const{tiltMaxAngleX:i,tiltMaxAngleY:n}=this.props,r=e.gamma;this.wrapperEl.clientPosition.xPercentage=e.beta/i*100,this.wrapperEl.clientPosition.yPercentage=r/n*100,this.wrapperEl.clientPosition.xPercentage=gr(this.wrapperEl.clientPosition.xPercentage,-100,100),this.wrapperEl.clientPosition.yPercentage=gr(this.wrapperEl.clientPosition.yPercentage,-100,100)},this.update=e=>{const{tiltEnable:i,flipVertically:n,flipHorizontally:r}=this.props;e!=="autoreset"&&e!=="deviceorientation"&&e!=="propChange"&&this.updateClientInput(),i&&this.tilt.update(this.wrapperEl.clientPosition,this.props),this.updateFlip(),this.tilt.updateTiltAnglesPercentage(this.props),this.glare&&this.glare.update(this.wrapperEl.clientPosition,this.props,n,r)},this.updateClientInput=()=>{const{trackOnWindow:e}=this.props;let i,n;if(e){const{x:r,y:a}=this.wrapperEl.clientPosition;i=a/window.innerHeight*200-100,n=r/window.innerWidth*200-100}else{const{size:{width:r,height:a,left:o,top:s},clientPosition:{x:u,y:c}}=this.wrapperEl;i=(c-s)/a*200-100,n=(u-o)/r*200-100}this.wrapperEl.clientPosition.xPercentage=gr(i,-100,100),this.wrapperEl.clientPosition.yPercentage=gr(n,-100,100)},this.updateFlip=()=>{const{flipVertically:e,flipHorizontally:i}=this.props;e&&(this.tilt.tiltAngleX+=180,this.tilt.tiltAngleY*=-1),i&&(this.tilt.tiltAngleY+=180)},this.renderFrame=()=>{this.resetWrapperElTransform(),this.renderPerspective(),this.tilt.render(this.wrapperEl.node),this.renderScale(),this.glare&&this.glare.render(this.props)}}componentDidMount(){if(this.tilt=new kS,this.initGlare(),this.addEventListeners(),typeof CustomEvent>"u")return;const e=new CustomEvent("autoreset");this.mainLoop(e);const i=new CustomEvent("initial");this.emitOnMove(i)}componentWillUnmount(){this.wrapperEl.updateAnimationId!==null&&cancelAnimationFrame(this.wrapperEl.updateAnimationId),this.removeEventListeners()}componentDidUpdate(){const e=new CustomEvent("propChange");this.mainLoop(e),this.emitOnMove(e)}addEventListeners(){const{trackOnWindow:e,gyroscope:i}=this.props;window.addEventListener("resize",this.setSize),e&&(window.addEventListener("mouseenter",this.onEnter),window.addEventListener("mousemove",this.onMove),window.addEventListener("mouseout",this.onLeave),window.addEventListener("touchstart",this.onEnter),window.addEventListener("touchmove",this.onMove),window.addEventListener("touchend",this.onLeave)),i&&this.addDeviceOrientationEventListener()}removeEventListeners(){const{trackOnWindow:e,gyroscope:i}=this.props;window.removeEventListener("resize",this.setSize),e&&(window.removeEventListener("mouseenter",this.onEnter),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseout",this.onLeave),window.removeEventListener("touchstart",this.onEnter),window.removeEventListener("touchmove",this.onMove),window.removeEventListener("touchend",this.onLeave)),i&&window.DeviceOrientationEvent&&window.removeEventListener("deviceorientation",this.onMove)}setWrapperElSize(){const e=this.wrapperEl.node.getBoundingClientRect();this.wrapperEl.size.width=this.wrapperEl.node.offsetWidth,this.wrapperEl.size.height=this.wrapperEl.node.offsetHeight,this.wrapperEl.size.left=e.left+window.scrollX,this.wrapperEl.size.top=e.top+window.scrollY}initGlare(){const{glareEnable:e,glareBorderRadius:i}=this.props;e&&(this.glare=new DS(this.wrapperEl.size,i),this.wrapperEl.node.appendChild(this.glare.glareWrapperEl))}emitOnMove(e){const{onMove:i}=this.props;if(!i)return;let n=0,r=0;this.glare&&(n=this.glare.glareAngle,r=this.glare.glareOpacity),i({tiltAngleX:this.tilt.tiltAngleX,tiltAngleY:this.tilt.tiltAngleY,tiltAngleXPercentage:this.tilt.tiltAngleXPercentage,tiltAngleYPercentage:this.tilt.tiltAngleYPercentage,glareAngle:n,glareOpacity:r,eventType:e.type})}resetWrapperElTransform(){this.wrapperEl.node.style.transform=""}renderPerspective(){const{perspective:e}=this.props;this.wrapperEl.node.style.transform+=`perspective(${e}px) `}renderScale(){const{scale:e}=this.wrapperEl;this.wrapperEl.node.style.transform+=`scale3d(${e},${e},${e})`}setTransitions(){const{transitionSpeed:e,transitionEasing:i}=this.props;hg(this.wrapperEl.node,"all",e,i),this.glare&&hg(this.glare.glareEl,"opacity",e,i)}render(){const{children:e,className:i,style:n}=this.props;return Ae.createElement("div",{ref:r=>this.wrapperEl.node=r,onMouseEnter:this.onEnter,onMouseMove:this.onMove,onMouseLeave:this.onLeave,onTouchStart:this.onEnter,onTouchMove:this.onMove,onTouchEnd:this.onLeave,className:i,style:n},e)}}y_.defaultProps=US;const NS=()=>Ee.jsx(y_,{className:"w-fit bg-gradient-to-r from-cyan-500 to-blue-500 rounded-xl",children:Ee.jsx("div",{className:"logo p-2 flex rounded-xl border-4 border-teal-500 w-fit shadow-lg shadow-slate-400",children:Ee.jsx("img",{className:"",src:"https://cdn-icons-png.flaticon.com/128/900/900961.png"})})});const OS=({imglink:t,boxpos:e,concept:i})=>Ee.jsx("div",{className:"flex w-auto h-[33vh] justify-center items-center",children:Ee.jsxs("div",{className:"absolute",children:[Ee.jsx("img",{className:" inputimg rounded-xl shadow-2xl w-auto h-[33vh]",alt:"",src:t}),Ee.jsx("div",{style:{top:e.top_row,bottom:e.bottom_row,right:e.right_col,left:e.left_col},className:"bounding_box absolute z-20 border-[3px] translate-x-[-10%] border-blue-400",children:Ee.jsx("p",{className:" bg-blue-500 text-[12px] p-1 rounded-xl w-fit translate-x-[-100%]",children:i})})]})}),FS=({onInputChange:t,onDetect:e})=>Ee.jsxs("div",{className:"grid-rows-2 pt-5 p-4 rounded-xl",children:[Ee.jsx("p",{className:"text-3xl w-full font-bold",children:"Upload an Image URL, TRY ME !"}),Ee.jsxs("div",{className:"flex p-4 justify-center items-center shadow-sm shadow-slate-400",children:[Ee.jsx("input",{onChange:t,className:" text-center rounded-xl w-50 h-10 m-2",type:"text"}),Ee.jsx("button",{onClick:e,className:"rounded-md w-20 h-10 bg-slate-500",children:"Detect"})]})]}),zS=({name:t,entries:e})=>Ee.jsxs("div",{className:"flex justify-center items-center rounded-xl text-xl",children:[t," your current entry count is ",e]});class BS extends Ae.Component{constructor(i){super(i);Xi(this,"onregisterNameChange",i=>{this.setState({registerName:i.target.value})});Xi(this,"onregisterEmailChange",i=>{this.setState({registerEmail:i.target.value})});Xi(this,"onregisterPasswordChange",i=>{this.setState({registerPassword:i.target.value})});Xi(this,"onsignInEmailChange",i=>{this.setState({signInEmail:i.target.value})});Xi(this,"onsignInPasswordChange",i=>{this.setState({signInPassword:i.target.value})});Xi(this,"onSubmitSignIn",()=>{fetch("https://image-detection-backend.onrender.com/signin",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:this.state.signInEmail,password:this.state.signInPassword})}).then(i=>i.json()).then(i=>{i.id&&(this.props.loadUser(i),this.props.changeRoute("home"))})});Xi(this,"onSubmitRegister",()=>{fetch("https://image-detection-backend.onrender.com/register",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:this.state.registerName,email:this.state.registerEmail,password:this.state.registerPassword})}).then(i=>i.json()).then(i=>{console.log(i),i.email&&i.name&&(this.props.loadUser(i),this.props.changeRoute("home"))})});this.state={signInEmail:"",signInPassword:"",registerEmail:"",registerPassword:"",registerName:""}}render(){return Ee.jsx("div",{className:"flex justify-center items-center",children:Ee.jsx("div",{className:"log b-transparent w-fit",children:Ee.jsxs("div",{className:"flex flip h-auto justify-center items-center",children:[Ee.jsxs("div",{className:"grid signincard p-2 m-4 h-auto min-w-[350px] bg-white bg-opacity-20 backdrop-blur-4xl rounded-xl shadow-2xl grid-rows-5",children:[Ee.jsx("div",{className:"flex justify-center items-center",children:Ee.jsx("div",{className:"w-fit bg-gradient-to-r from-purple-500 to-pink-500 rounded-xl flex justify-center items-center",children:Ee.jsx("p",{className:"bg-slate-300 rounded-xl p-2 text-black mix-blend-screen text-2xl",children:"SignIn"})})}),Ee.jsx("div",{className:"flex justify-center items-center",children:Ee.jsx("input",{onChange:this.onsignInEmailChange,className:"rounded-xl shadow-2xl p-3",type:"email",placeholder:"Email"})}),Ee.jsx("div",{className:"flex justify-center items-center",children:Ee.jsx("input",{onChange:this.onsignInPasswordChange,className:"rounded-xl shadow-2xl p-3 m-2",type:"password",placeholder:"Password"})}),Ee.jsxs("div",{className:"flex justify-center items-center gap-8",children:[Ee.jsx("button",{onClick:this.onSubmitSignIn,className:"rounded-xl shadow-2xl p-3 w-fit bg-black",children:"SignIn"}),Ee.jsx("button",{onClick:this.props.flip,className:"rounded-xl shadow-2xl p-3 w-fit bg-black",children:"Register"})]})]}),Ee.jsxs("div",{className:"grid absolute register p-2 m-4 min-w-[350px] rounded-xl shadow-2xl grid-rows-5",children:[Ee.jsx("div",{className:"flex justify-center items-center",children:Ee.jsx("div",{className:"w-fit bg-gradient-to-r from-indigo-500 from-10% via-sky-500 via-30% to-emerald-500 to-90% rounded-xl flex justify-center items-center",children:Ee.jsx("p",{className:"bg-slate-300 rounded-xl p-2 text-black mix-blend-screen text-2xl",children:"Register"})})}),Ee.jsx("div",{className:"flex justify-center items-center",children:Ee.jsx("input",{onChange:this.onregisterNameChange,className:"rounded-xl shadow-2xl p-3 m-2",type:"text",placeholder:"Name"})}),Ee.jsx("div",{className:"flex justify-center items-center",children:Ee.jsx("input",{onChange:this.onregisterEmailChange,className:"rounded-xl shadow-2xl p-3",type:"email",placeholder:"Email"})}),Ee.jsx("div",{className:"flex justify-center items-center",children:Ee.jsx("input",{onChange:this.onregisterPasswordChange,className:"rounded-xl shadow-2xl p-3 m-2",type:"password",placeholder:"Password"})}),Ee.jsxs("div",{className:"flex justify-center items-center gap-8",children:[Ee.jsx("button",{onClick:this.props.flip,className:"rounded-xl shadow-2xl p-3 w-fit bg-black",children:"SignIn"}),Ee.jsx("button",{onClick:this.onSubmitRegister,className:"rounded-xl shadow-2xl p-3 w-fit bg-black",children:"Register"})]})]})]})})})}}var __={exports:{}};/*! +* RAFManager v0.1.0 +* +* Copyright 2018-2018, ajiemath +* Licensed under the MIT license +* http://www.opensource.org/licenses/mit-license +* +*/(function(t,e){(function(i,n){t.exports=n()})(r0,function(){return function(){for(var i=["ms","moz","webkit","o"],n=0;n1&&arguments[1]!==void 0?arguments[1]:60,r={callback:i,fps:n,n:60/n,param:arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i:0};return this.animations.push(r),this.animations.length>=1&&this.start(),this},getIndex:function(i){for(var n=0;n=r.n&&(a(o),r.i=0)}}}})})(__);var GS=__.exports;const wt=Np(GS);var x_={exports:{}};/*! +* Proton v4.2.1 +* https://github.com/drawcall/Proton +* +* Copyright 2013-2020, A-JIE +* Licensed under the MIT license +* http://www.opensource.org/licenses/mit-license +* +*/(function(t,e){(function(i,n){t.exports=n()})(r0,function(){var i=3.1415926,n={PI:i,PIx2:2*i,PI_2:i/2,PI_180:i/180,N180_PI:180/i,Infinity:-999,isInfinity:function(l){return l===this.Infinity||l===1/0},randomAToB:function(l,m,S){return 2>m;return l+1},v=function(l,m){return[1,0,0,0,1,0,l,m,1]},M=function(S){var m=Math.cos(S),S=Math.sin(S);return[m,-S,0,S,m,0,0,0,1]},_=function(l,m){return[l,0,0,0,m,0,0,0,1]},f=function(Gi,Hi){var S=Gi[0],L=Gi[1],N=Gi[2],oe=Gi[3],It=Gi[4],Bi=Gi[5],Gt=Gi[6],Ht=Gi[7],Pr=Gi[8],vi=Hi[0],Xn=Hi[1],ao=Hi[2],oo=Hi[3],yi=Hi[4],_i=Hi[5],ih=Hi[6],Gi=Hi[7],Hi=Hi[8];return[S*vi+L*oo+N*ih,S*Xn+L*yi+N*Gi,S*ao+L*_i+N*Hi,oe*vi+It*oo+Bi*ih,oe*Xn+It*yi+Bi*Gi,oe*ao+It*_i+Bi*Hi,Gt*vi+Ht*oo+Pr*ih,Gt*Xn+Ht*yi+Pr*Gi,Gt*ao+Ht*_i+Pr*Hi]},x={createCanvas:function(l,m,S,oe){var N=3",S&&(N+="em speed:"+S.emitSpeed+"
"),S&&(N+="pos:"+this.getEmitterPos(S));break;case 3:S&&(N+="initializes:"+S.initializes.length+"
"),S&&(N+=''+this.concatArr(S.initializes)+"
"),S&&(N+="behaviours:"+S.behaviours.length+"
"),S&&(N+=''+this.concatArr(S.behaviours)+"
");break;case 4:L&&(N+=L.name+"
"),L&&(N+="body:"+this.getCreatedNumber(L)+"
");break;default:N+="particles:"+this.proton.getCount()+"
",N+="pool:"+this.proton.pool.getCount()+"
",N+="total:"+this.proton.pool.total}this.container.innerHTML=N}},{key:"add",value:function(l,m){var S=this;if(!this.container){this.type=1,this.container=document.createElement("div"),this.container.style.cssText=["position:absolute;bottom:0px;left:0;cursor:pointer;","opacity:0.9;z-index:10000;padding:10px;font-size:12px;font-family:Helvetica,Arial,sans-serif;","width:120px;height:50px;background-color:#002;color:#0ff;"].join(""),this.container.addEventListener("click",function(oe){S.type++,4this._interval&&(this.dispatchEvent(F.PROTON_UPDATE),this.emittersUpdate(this._interval),this.then=this.now-this.elapsed%this._interval*1e3,this.dispatchEvent(F.PROTON_UPDATE_AFTER)))}},{key:"emittersUpdate",value:function(l){for(var m=this.emitters.length;m--;)this.emitters[m].update(l)}},{key:"amendChangeTabsBug",value:function(){F.amendChangeTabsBug&&.5=this.x&&m<=this.bottom&&m>=this.y}}]),Ue);function Ue(l,m,S,L){a(this,Ue),this.x=l,this.y=m,this.width=S,this.height=L,this.bottom=this.y+this.height,this.right=this.x+this.width}var st=(o(Ve,[{key:"init",value:function(){this.startTime=0,this.nextTime=this.timePan.getValue()}},{key:"getValue",value:function(l){return this.startTime+=l,this.startTime>=this.nextTime?(this.startTime=0,this.nextTime=this.timePan.getValue(),this.numPan.b===1?.5=this.life||this.dead?(this.energy=0,this.dead=!0,this.destroy()):(l=this.easing(l.age/l.life),this.energy=Math.max(1-l,0))}},{key:"destroy",value:function(){for(var l=this.parents.length;l--;)this.parents[l].removeBehaviour(this);this.parents.length=0}}]),$e);function $e(l,m){a(this,$e),this.life=E.initValue(l,1/0),this.easing=se.getEasing(m),this.age=0,this.energy=1,this.dead=!1,this.parents=[],this.id="Behaviour_"+$e.id++,this.name="Behaviour"}De.id=0;var O=(c(fe,De),o(fe,[{key:"reset",value:function(l,m,S,L){this.force=this.normalizeForce(new pe(l,m)),S&&u(fe.prototype.__proto__||Object.getPrototypeOf(fe.prototype),"reset",this).call(this,S,L)}},{key:"applyBehaviour",value:function(l,m,S){this.calculate(l,m,S),l.a.add(this.force)}}]),fe);function fe(l,m,S,L){return a(this,fe),L=h(this,(fe.__proto__||Object.getPrototypeOf(fe)).call(this,S,L)),L.force=L.normalizeForce(new pe(l,m)),L.name="Force",L}var K=(c(de,De),o(de,[{key:"reset",value:function(l,m,S,L,N){this.targetPosition=E.initValue(l,new pe),this.radius=E.initValue(S,1e3),this.force=E.initValue(this.normalizeValue(m),100),this.radiusSq=this.radius*this.radius,this.attractionForce=new pe,this.lengthSq=0,L&&u(de.prototype.__proto__||Object.getPrototypeOf(de.prototype),"reset",this).call(this,L,N)}},{key:"applyBehaviour",value:function(l,m,S){this.calculate(l,m,S),this.attractionForce.copy(this.targetPosition),this.attractionForce.sub(l.p),this.lengthSq=this.attractionForce.lengthSq(),4e-5=this.delay&&(l.a.addXY(n.randomAToB(-this.panFoce.x,this.panFoce.x),n.randomAToB(-this.panFoce.y,this.panFoce.y)),l.data.time=0)}}]),Ke);function Ke(l,m,S,L,N){return a(this,Ke),N=h(this,(Ke.__proto__||Object.getPrototypeOf(Ke)).call(this,L,N)),N.reset(l,m,S),N.time=0,N.name="RandomDrift",N}var ct=(c(tt,O),o(tt,[{key:"reset",value:function(l,m,S){u(tt.prototype.__proto__||Object.getPrototypeOf(tt.prototype),"reset",this).call(this,0,l,m,S)}}]),tt);function tt(l,m,S){return a(this,tt),S=h(this,(tt.__proto__||Object.getPrototypeOf(tt)).call(this,0,l,m,S)),S.name="Gravity",S}var an=(c(et,De),o(et,[{key:"reset",value:function(l,m,S,L,N){this.emitter=E.initValue(l,null),this.mass=E.initValue(m,!0),this.callback=E.initValue(S,null),this.collisionPool=[],this.delta=new pe,L&&u(et.prototype.__proto__||Object.getPrototypeOf(et.prototype),"reset",this).call(this,L,N)}},{key:"applyBehaviour",value:function(l,m,S){for(var L,N,oe,It,Bi,Gt,Ht=(this.emitter?this.emitter.particles:this.pool).slice(S),Pr=Ht.length,vi=void 0,Xn=void 0,Xn=0;Xn=this.life||this.dead)&&this.destroy(),this.emitting(l),this.integrate(l)}},{key:"integrate",value:function(l){if(this.parent){var m=1-this.damping;this.parent.integrator.calculate(this,l,m);for(var L=void 0,S=void 0,L=this.particles.length-1;0<=L;L--)(S=this.particles[L]).update(l,L),this.parent.integrator.calculate(S,l,m),this.dispatch("PARTICLE_UPDATE",S),S.dead&&(this.dispatch("PARTICLE_DEAD",S),this.parent.pool.expire(S),this.particles.splice(L,1))}}},{key:"dispatch",value:function(l,m){this.parent&&this.parent.dispatchEvent(l,m),this.bindEvent&&this.dispatchEvent(l,m)}},{key:"emitting",value:function(l){if(this.totalTime==="once"){var m=void 0,S=this.rate.getValue(99999);for(0this.element.width||S<0||S>this.elementwidth||(m=4*((S>>0)*l.width+(m>>0)),l.data[m]=N.r,l.data[1+m]=N.g,l.data[2+m]=N.b,l.data[3+m]=255*L.alpha)}},{key:"onParticleDead",value:function(){}}]),ir);function ir(l,m){return a(this,ir),l=h(this,(ir.__proto__||Object.getPrototypeOf(ir)).call(this,l)),l.context=l.element.getContext("2d"),l.imageData=null,l.rectangle=null,l.rectangle=m,l.createImageData(m),l.name="PixelRenderer",l}var En=void 0,Ss=(c(mt,nt),o(mt,[{key:"setPIXI",value:function(l){try{En=l||{Sprite:{}},this.createFromImage=En.Sprite.from||En.Sprite.fromImage}catch{}}},{key:"onProtonUpdate",value:function(){}},{key:"onParticleCreated",value:function(l){l.body?l.body=this.pool.get(l.body,l):l.body=this.pool.get(this.circleConf,l),this.blendMode&&(l.body.blendMode=this.blendMode),this.element.addChild(l.body)}},{key:"onParticleUpdate",value:function(l){this.transform(l,l.body),this.setColor!==!0&&this.color!==!0||(l.body.tint=Ye.getHex16FromParticle(l))}},{key:"onParticleDead",value:function(l){this.element.removeChild(l.body),this.pool.expire(l.body),l.body=null}},{key:"destroy",value:function(l){u(mt.prototype.__proto__||Object.getPrototypeOf(mt.prototype),"destroy",this).call(this),this.pool.destroy();for(var m=l.length;m--;){var S=l[m];S.body&&this.element.removeChild(S.body)}}},{key:"transform",value:function(l,m){m.x=l.p.x,m.y=l.p.y,m.alpha=l.alpha,m.scale.x=l.scale,m.scale.y=l.scale,m.rotation=l.rotation*n.PI_180}},{key:"createBody",value:function(l,m){return l.isCircle?this.createCircle(m):this.createSprite(l)}},{key:"createSprite",value:function(l){return l=l.isInner?this.createFromImage(l.src):new En.Sprite(l),l.anchor.x=.5,l.anchor.y=.5,l}},{key:"createCircle",value:function(l){var m,S=new En.Graphics;return this.stroke&&(m=this.stroke instanceof String?this.stroke:0,S.beginStroke(m)),S.beginFill(l.color||36077),S.drawCircle(0,0,l.radius),S.endFill(),S}}]),mt);function mt(l,m){a(this,mt);var S=h(this,(mt.__proto__||Object.getPrototypeOf(mt)).call(this,l));return S.stroke=m,S.color=!1,S.setColor=!1,S.blendMode=null,S.pool.create=function(L,N){return S.createBody(L,N)},S.setPIXI(window.PIXI),S.name="PixiRenderer",S}var nr=(o(va,[{key:"set",value:function(l,m){m===0?G.set(l,this.mats[0]):G.multiply(this.mats[m-1],l,this.mats[m]),this.size=Math.max(this.size,m+1)}},{key:"push",value:function(l){this.size===0?G.set(l,this.mats[0]):G.multiply(this.mats[this.size-1],l,this.mats[this.size]),this.size++}},{key:"pop",value:function(){0=this.minx)return!0}else if(l.p.y<=this.maxy&&l.p.y>=this.miny)return!0;return!1}},{key:"getLength",value:function(){return Math.sqrt(this.dx*this.dx+this.dy*this.dy)}},{key:"crossing",value:function(l){this.crossType==="dead"?this.direction===">"||this.direction==="R"||this.direction==="right"||this.direction==="down"?this.rangeOut(l)&&this.getDirection(l.p.x,l.p.y)&&(l.dead=!0):this.rangeOut(l)&&(this.getDirection(l.p.x,l.p.y)||(l.dead=!0)):this.crossType==="bound"?this.rangeOut(l)&&this.getDistance(l.p.x,l.p.y)<=l.radius&&(this.dx===0?l.v.x*=-1:this.dy===0?l.v.y*=-1:this.getSymmetric(l.v)):this.crossType==="cross"&&this.alert&&(console.error("Sorry, LineZone does not support cross method!"),this.alert=!1)}}]),ar);function ar(l,m,S,L,N){a(this,ar);var oe=h(this,(ar.__proto__||Object.getPrototypeOf(ar)).call(this));return 0<=S-l?(oe.x1=l,oe.y1=m,oe.x2=S,oe.y2=L):(oe.x1=S,oe.y1=L,oe.x2=l,oe.y2=m),oe.dx=oe.x2-oe.x1,oe.dy=oe.y2-oe.y1,oe.minx=Math.min(oe.x1,oe.x2),oe.miny=Math.min(oe.y1,oe.y2),oe.maxx=Math.max(oe.x1,oe.x2),oe.maxy=Math.max(oe.y1,oe.y2),oe.dot=oe.x2*oe.y1-oe.x1*oe.y2,oe.xxyy=oe.dx*oe.dx+oe.dy*oe.dy,oe.gradient=oe.getGradient(),oe.length=oe.getLength(),oe.direction=E.initValue(N,">"),oe}var em=(c(io,D),o(io,[{key:"getPosition",value:function(){return this.angle=n.PIx2*Math.random(),this.randomRadius=Math.random()*this.radius,this.vector.x=this.x+this.randomRadius*Math.cos(this.angle),this.vector.y=this.y+this.randomRadius*Math.sin(this.angle),this.vector}},{key:"setCenter",value:function(l,m){this.center.x=l,this.center.y=m}},{key:"crossing",value:function(l){var m=l.p.distanceTo(this.center);this.crossType==="dead"?m-l.radius>this.radius&&(l.dead=!0):this.crossType==="bound"?m+l.radius>=this.radius&&this.getSymmetric(l):this.crossType==="cross"&&this.alert&&(console.error("Sorry, CircleZone does not support cross method!"),this.alert=!1)}},{key:"getSymmetric",value:function(l){var L=l.v.getGradient(),m=2*(this.getGradient(l)-L),S=l.v.x,L=l.v.y;l.v.x=S*Math.cos(m)-L*Math.sin(m),l.v.y=S*Math.sin(m)+L*Math.cos(m)}},{key:"getGradient",value:function(l){return-n.PI_2+Math.atan2(l.p.y-this.center.y,l.p.x-this.center.x)}}]),io);function io(l,m,S){a(this,io);var L=h(this,(io.__proto__||Object.getPrototypeOf(io)).call(this));return L.x=l,L.y=m,L.radius=S,L.angle=0,L.center={x:l,y:m},L}var tm=(c(no,D),o(no,[{key:"getPosition",value:function(){return this.vector.x=this.x+Math.random()*this.width,this.vector.y=this.y+Math.random()*this.height,this.vector}},{key:"crossing",value:function(l){this.crossType==="dead"?((l.p.x+l.radiusthis.x+this.width)&&(l.dead=!0),(l.p.y+l.radiusthis.y+this.height)&&(l.dead=!0)):this.crossType==="bound"?(l.p.x-l.radiusthis.x+this.width&&(l.p.x=this.x+this.width-l.radius,l.v.x*=-1),l.p.y-l.radiusthis.y+this.height&&(l.p.y=this.y+this.height-l.radius,l.v.y*=-1)):this.crossType==="cross"&&(l.p.x+l.radiusthis.x+this.width&&0<=l.v.x&&(l.p.x=this.x-l.radius),l.p.y+l.radiusthis.y+this.height&&0<=l.v.y&&(l.p.y=this.y-l.radius))}}]),no);function no(l,m,S,L){a(this,no);var N=h(this,(no.__proto__||Object.getPrototypeOf(no)).call(this));return N.x=l,N.y=m,N.width=S,N.height=L,N}c(ro,D),o(ro,[{key:"reset",value:function(l,m,S,L){this.imageData=l,this.x=E.initValue(m,0),this.y=E.initValue(S,0),this.d=E.initValue(L,2),this.vectors=[],this.setVectors()}},{key:"setVectors",value:function(){for(var L=void 0,l=void 0,m=this.imageData.width,S=this.imageData.height,L=0;L>0)*m+(L>>0));0>0)*this.imageData.width+(l>>0)),0>0)*this.imageData.width+(l>>0)),{r:this.imageData.data[l],g:this.imageData.data[1+l],b:this.imageData.data[2+l],a:this.imageData.data[3+l]}}},{key:"crossing",value:function(l){this.crossType==="dead"?this.getBound(l.p.x-this.x,l.p.y-this.y)?l.dead=!0:l.dead=!1:this.crossType==="bound"&&(this.getBound(l.p.x-this.x,l.p.y-this.y)||l.v.negate())}}]),c=ro;function ro(l,m,S,L){a(this,ro);var N=h(this,(ro.__proto__||Object.getPrototypeOf(ro)).call(this));return N.reset(l,m,S,L),N}return o={addEventListener:function(l,m){l.addEventListener("PROTON_UPDATE_AFTER",function(){return m()})},getStyle:function(l){return l=Ye.hexToRgb(0r.a)return r.target}return this.list[0].target}}]),t}(),Bn=function(t){nn(e,t);function e(i){Ni(this,e);var n=rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i));return n._iid=0,n._oid=0,n.size={width:0,height:0},n.canvasRef=Ae.createRef(),n}return Oi(e,[{key:"componentDidMount",value:function(){var n=this;this._oid=setTimeout(function(){n.initCanvas(),n.resize=n.resize.bind(n),window.addEventListener("resize",n.resize)},100);var r=this.getCanvas();this.props.onCanvasDidMount&&this.props.onCanvasDidMount(r)}},{key:"initCanvas",value:function(){var n=this.getCanvas();if(this.props.globalCompositeOperation){var r=n.getContext("2d");r.globalCompositeOperation=this.props.globalCompositeOperation}var a=this.setCanvasSize(n),o=a.width,s=a.height;this.heartbeatDetectionCanvasSize(n),this.props.onCanvasInited(n,o,s)}},{key:"getCanvas",value:function(){var n=this.canvasRef.current;return n}},{key:"heartbeatDetectionCanvasSize",value:function(n){var r=this;this._iid=setInterval(function(){if(r.canvasRef.current){var a=r.canvasRef.current.clientHeight;if(a!==r.size.height){var o=r.setCanvasSize(n),s=o.width,u=o.height;r.props.onResize&&r.props.onResize(s,u)}}},1e3/10)}},{key:"componentWillUnmount",value:function(){try{window.removeEventListener("resize",this.resize),clearInterval(this._iid),clearTimeout(this._oid)}catch{}}},{key:"resize",value:function(){var n=this.getCanvas(),r=this.setCanvasSize(n),a=r.width,o=r.height;this.props.onResize&&this.props.onResize(a,o)}},{key:"setCanvasSize",value:function(n){var r=this.canvasRef.current.clientWidth,a=this.canvasRef.current.clientHeight;return this.size.width=r,this.size.height=a,n.width=r,n.height=a,{width:r,height:a}}},{key:"handleWaypointEnter",value:function(){wt.start()}},{key:"handleWaypointLeave",value:function(){wt.stop()}},{key:"getStyle",value:function(){var n=this.props.bg,r={width:"100%",height:"100%"};return n===!0?r=Object.assign(r,{position:"absolute",zIndex:-1,top:0,left:0}):n&&(typeof n>"u"?"undefined":M_(n))==="object"&&(r=Object.assign(r,n)),r}},{key:"handleMouseDown",value:function(n){this.props.onMouseDown&&this.props.onMouseDown(n)}},{key:"render",value:function(){return Ae.createElement("canvas",{className:"particles-bg-canvas-self",ref:this.canvasRef,onMouseDown:this.handleMouseDown.bind(this),style:this.getStyle()})}}]),e}(Ae.Component);function WS(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:{}}function jc(t,e){var i=void 0;return t?(i=WS(t),"rgba("+i.r+","+i.g+","+i.b+", "+e+")"):null}var dg=function(t){nn(e,t);function e(i){Ni(this,e);var n=rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i));return n.renderProton=n.renderProton.bind(n),n}return Oi(e,[{key:"onCanvasInited",value:function(n,r,a){this.createProton(n,r,a),this.createMiniEmitter(n),wt.add(this.renderProton)}},{key:"componentWillUnmount",value:function(){try{wt.remove(this.renderProton),this.proton.destroy()}catch{}}},{key:"onResize",value:function(){}},{key:"createProton",value:function(n,r,a){var o=this,s=n.getContext("2d");this.proton=new U;var u=new U.Emitter;u.rate=new U.Rate(this.props.num?new U.Span(this.props.num):new U.Span(4,9),new U.Span(.8,1.3)),u.addInitialize(new U.Mass(1)),u.addInitialize(new U.Radius(1,50)),u.addInitialize(new U.Life(5,6)),u.addInitialize(new U.Velocity(new U.Span(5,8),new U.Span(30,70),"polar")),u.addBehaviour(new U.Alpha(1,0)),u.addBehaviour(new U.Color(["#36aaf3","#fd769c","#94ff22","#ffa545","#ffffff"])),u.addBehaviour(new U.Scale(.7,1)),u.addBehaviour(new U.Gravity(3)),u.addBehaviour(new U.Collision(u)),u.addBehaviour(this.customDeadBehaviour(n)),u.addBehaviour(new U.CrossZone(new U.RectZone(0,0,n.width,n.height),"bound")),u.p.x=Math.min(500,Math.max(n.width/2-400,50)),u.p.y=n.height/2+50,u.emit(),this.proton.addEmitter(u);var c=new U.CanvasRenderer(n);c.onProtonUpdate=function(){s.fillStyle=jc(o.props.color,.2)||"rgba(255, 255, 255, 0.2)",s.fillRect(0,0,n.width,n.height)},this.proton.addRenderer(c)}},{key:"customDeadBehaviour",value:function(n){var r=this;return{initialize:function(o){},applyBehaviour:function(o){o.p.y+o.radius>=n.height&&o.radius>9&&(r.miniEmitteing(o),o.dead=!0)}}}},{key:"createMiniEmitter",value:function(n){var r=new U.Emitter;r.rate=new U.Rate(new U.Span(3,6),new U.Span(1,2)),r.addInitialize(new U.Mass(1)),r.radiusInitialize=new U.Radius,r.addInitialize(r.radiusInitialize),r.addInitialize(new U.Life(.5,1)),r.addInitialize(new U.V(new U.Span(1.5,3),new U.Span(0,70,!0),"polar")),r.colorBehaviour=new U.Color("#ffffff"),r.addBehaviour(new U.Alpha(1,0)),r.addBehaviour(r.colorBehaviour),r.addBehaviour(new U.Gravity(4)),r.addBehaviour(new U.Collision(r)),r.addBehaviour(new U.CrossZone(new U.RectZone(0,0,n.width,n.height),"bound")),this.proton.addEmitter(r),this.miniEmitter=r}},{key:"miniEmitteing",value:function(n){var r=this.miniEmitter;r.radiusInitialize.reset(n.radius*.05,n.radius*.2),r.colorBehaviour.reset(n.color),r.p.x=n.p.x,r.p.y=n.p.y,r.emit("once")}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return Ae.createElement(Bn,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(Ae.Component),Ch=function(t){nn(e,t);function e(i){Ni(this,e);var n=rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i));return n.colors=["#529B88","#CDD180","#FFFA32","#FB6255","#FB4A53","#FF4E50","#F9D423"],n.renderProton=n.renderProton.bind(n),n}return Oi(e,[{key:"componentWillUnmount",value:function(){try{wt.remove(this.renderProton),this.proton.destroy()}catch{}}},{key:"onCanvasInited",value:function(n,r,a){this.createProton(n,r,a),wt.add(this.renderProton)}},{key:"onResize",value:function(){}},{key:"createProton",value:function(n,r,a){this.proton=new U;var o=new U.Emitter;o.rate=new U.Rate(this.props.num?new U.Span(this.props.num):new U.Span(5,8),new U.Span(.1,.25)),o.addInitialize(new U.Mass(1)),o.addInitialize(new U.Radius(20,200)),o.addInitialize(new U.Life(2,4)),o.addInitialize(new U.Position(new U.RectZone(0,0,r,a))),o.addBehaviour(new U.Alpha(0,1,1/0,U.easeOutCubic)),o.addBehaviour(new U.Scale(1,0,1/0,U.easeOutCubic)),o.addBehaviour(new U.Color(this.colors,"random")),o.emit(),this.proton.addEmitter(o);var s=new U.CanvasRenderer(n);this.proton.addRenderer(s)}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return Ae.createElement(Bn,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(Ae.Component),VS=function(t){nn(e,t);function e(i){Ni(this,e);var n=rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i));return n.colors=["#529B88","#CDD180","#FFFA32","#FB6255","#FB4A53","#FF4E50","#F9D423"],n.renderProton=n.renderProton.bind(n),n}return Oi(e,[{key:"componentWillUnmount",value:function(){try{wt.remove(this.renderProton),this.proton.destroy()}catch{}}},{key:"onCanvasInited",value:function(n,r,a){this.createProton(n,r,a),wt.add(this.renderProton)}},{key:"onResize",value:function(n,r){this.crossZoneBehaviour.zone.width=n,this.crossZoneBehaviour.zone.height=r,this.proton.renderers[0].resize(n,r)}},{key:"getProp",value:function(n,r){var a=this.props.config||{},o=a[n]||r;return Array.isArray(o)?new U.Span(o[0],o[1]):o}},{key:"getArrProp",value:function(n,r){var a=this.props.config||{},o=a[n]||r;return o?Array.isArray(o)?o:[o,o]:null}},{key:"createProton",value:function(n,r,a){var o=this.getProp("num",[5,8]),s=this.getProp("rps",[.1,.2]),u=this.getProp("mass",1),c=this.getProp("radius",[10,30]),h=this.getProp("life",[2,3]),p=this.getProp("body"),d=this.getProp("position"),g=this.getProp("v",[2,3]),v=this.getProp("tha",[-15,15]),M=this.getArrProp("alpha"),_=this.getArrProp("scale"),f=this.getArrProp("color"),x=this.getProp("cross","dead"),y=this.getProp("random"),w=this.getArrProp("rotate"),T=this.getProp("g"),R=this.getArrProp("f"),A=this.getProp("emitter");this.proton=new U;var I=void 0;A==="follow"?I=new U.FollowEmitter:I=new U.Emitter,I.rate=new U.Rate(o,s),I.addInitialize(new U.Mass(u)),I.addInitialize(new U.Radius(c)),I.addInitialize(new U.Life(h)),I.addInitialize(new U.Velocity(g,v,"polar")),p&&I.addInitialize(new U.Body(p));var E=void 0;d==="all"||d==="screen"?E=new U.Position(new U.RectZone(0,0,n.width,n.height)):(typeof d>"u"?"undefined":M_(d))==="object"?E=new U.Position(new U.RectZone(d.x,d.y,d.width,d.height)):(I.p.x=n.width/2,I.p.y=n.height/2),I.addInitialize(E);var C=M?new U.Alpha(M[0],M[1]):new U.Alpha(0,1),Y=_?new U.Scale(_[0],_[1]):new U.Scale(1,.2),ne=f?new U.Color(f[0],f[1]):new U.Color(this.colors);I.addBehaviour(C),I.addBehaviour(Y),p||I.addBehaviour(ne),w&&(w[0]===!0||w[0]==="rotate"?I.addBehaviour(new U.Rotate):I.addBehaviour(new U.Rotate(w[0],w[1])));var H=new U.RectZone(0,0,n.width,n.height),V=new U.CrossZone(H,x);I.addBehaviour(V),y&&I.addBehaviour(new U.RandomDrift(y,y,.05)),T&&I.addBehaviour(new U.G(T)),R&&I.addBehaviour(new U.F(R[0],R[1])),I.emit(),this.proton.addEmitter(I);var X=this.createRenderer(n);this.proton.addRenderer(X),this.emitter=I,this.crossZoneBehaviour=V}},{key:"createRenderer",value:function(n){var r=n.width,a=n.height,o=n.getContext("2d"),s=new U.CanvasRenderer(n),u=this.getProp("onUpdate");u&&(s.onProtonUpdate=function(){u(o,r,a)});var c=this.getProp("onParticleCreated");c&&(s.onParticleCreated=function(p){c(o,p)});var h=this.getProp("onParticleUpdate");return h&&(s.onParticleUpdate=function(p){h(o,p)}),s}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"handleMouseDown",value:function(n){var r=this.getProp("onMouseDown");r&&r(n)}},{key:"render",value:function(){var n=this.props.globalCompositeOperation||this.props.operation||"source-over";return Ae.createElement(Bn,{bg:this.props.bg,onMouseDown:this.handleMouseDown.bind(this),globalCompositeOperation:n,onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(Ae.Component),pg=function(t){nn(e,t);function e(i){Ni(this,e);var n=rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i));return n.renderProton=n.renderProton.bind(n),n}return Oi(e,[{key:"onCanvasDidMount",value:function(n){this.props.color&&(n.style.backgroundColor=this.props.color)}},{key:"componentWillUnmount",value:function(){try{wt.remove(this.renderProton),this.proton.destroy()}catch{}}},{key:"onCanvasInited",value:function(n,r,a){this.createProton(n,r,a),wt.add(this.renderProton)}},{key:"onResize",value:function(n,r){this.crossZoneBehaviour.zone.width=n,this.crossZoneBehaviour.zone.height=r,this.proton.renderers[0].resize(n,r)}},{key:"createProton",value:function(n,r,a){this.proton=new U;var o=new U.Emitter;o.damping=.008,o.rate=new U.Rate(this.props.num?this.props.num:250),o.addInitialize(new U.Mass(1)),o.addInitialize(new U.Radius(4)),o.addInitialize(new U.Velocity(new U.Span(1.5),new U.Span(0,360),"polar"));var s={x:r/2,y:a/2},u=new U.Attraction(s,0,0),c=new U.CrossZone(new U.RectZone(0,0,n.width,n.height),"cross");o.addBehaviour(new U.Color("random")),o.addBehaviour(u,c),o.addBehaviour(new U.RandomDrift(10,10,.05)),o.p.x=n.width/2,o.p.y=n.height/2,o.emit("once"),this.proton.addEmitter(o),this.proton.addRenderer(this.createRenderer(n)),this.crossZoneBehaviour=c}},{key:"createRenderer",value:function(n){var r=this,a=n.getContext("2d"),o=new U.CanvasRenderer(n);return o.onProtonUpdate=function(){a.fillStyle=jc(r.props.color,.02)||"rgba(0, 0, 0, 0.02)",a.fillRect(0,0,n.width,n.height)},o.onParticleUpdate=function(s){a.beginPath(),a.strokeStyle=s.color,a.lineWidth=1,a.moveTo(s.old.p.x,s.old.p.y),a.lineTo(s.p.x,s.p.y),a.closePath(),a.stroke()},o}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return Ae.createElement(Bn,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasDidMount:this.onCanvasDidMount.bind(this),onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(Ae.Component),fg=function(t){nn(e,t);function e(i){Ni(this,e);var n=rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i));return n.hue=0,n.index=0,n.colorTemplate="hsla(hue,80%,50%, 0.75)",n.renderProton=n.renderProton.bind(n),n}return Oi(e,[{key:"onCanvasDidMount",value:function(n){this.props.color&&(n.style.backgroundColor=this.props.color)}},{key:"onCanvasInited",value:function(n,r,a){this.canvas=n,this.createProton(n,r,a),wt.add(this.renderProton)}},{key:"onResize",value:function(n,r){this.crossZoneBehaviour.zone.width=n,this.crossZoneBehaviour.zone.height=r,this.proton.renderers[0].resize(n,r)}},{key:"createProton",value:function(n,r,a){this.proton=new U;var o=new U.Emitter;o.damping=.008,o.rate=new U.Rate(this.props.num?this.props.num:150),o.addInitialize(new U.Mass(1)),o.addInitialize(new U.Radius(8)),o.addInitialize(new U.V(new U.Span(.1,.5),new U.Span(0,360),"polar")),o.addInitialize(new U.Position(new U.CircleZone(n.width/2,n.height/2,100)));var s=new U.CrossZone(new U.RectZone(0,0,n.width,n.height),"cross");o.addBehaviour(s),this.repulsion=new U.Repulsion({x:n.width/2,y:n.height/2-100},3,300),this.attraction=new U.Attraction({x:n.width/2,y:n.height/2},3,200),o.addBehaviour(this.attraction,this.repulsion),o.addBehaviour(new U.Color("random")),o.addBehaviour(new U.RandomDrift(20,15,.15)),o.emit("once"),this.proton.addEmitter(o),this.proton.addRenderer(this.createRenderer(n)),this.crossZoneBehaviour=s}},{key:"createRenderer",value:function(n){var r=this,a=n.getContext("2d"),o=new U.CanvasRenderer(n);return o.onProtonUpdate=function(){r.hue+=1,a.fillStyle=jc(r.props.color,.02)||"rgba(0, 0, 0, 0.02)",a.fillRect(0,0,n.width,n.height)},o.onParticleCreated=function(s){s.data.begin=U.MathUtil.randomAToB(1,120),s.data.tha=U.MathUtil.randomAToB(0,Math.PI*2)},o.onParticleUpdate=function(s){var u=s.data.begin+r.hue;s.color=r.colorTemplate.replace("hue",u%360);var c=3/4,h=s.radius*(1-c)*Math.cos(s.data.tha+=.01)+s.radius*c;a.beginPath(),a.fillStyle=s.color,a.arc(s.p.x,s.p.y,h,0,Math.PI*2,!0),a.closePath(),a.fill()},o}},{key:"componentWillUnmount",value:function(){try{wt.remove(this.renderProton),this.proton.destroy()}catch{}}},{key:"renderProton",value:function(){var n=this.canvas;this.proton.update(),this.index%200===0&&(this.attraction.targetPosition.x=Math.random()*n.width,this.attraction.targetPosition.y=Math.random()*n.height,this.repulsion.targetPosition.x=Math.random()*n.width,this.repulsion.targetPosition.y=Math.random()*n.height),this.index++}},{key:"render",value:function(){return Ae.createElement(Bn,{bg:this.props.bg,onCanvasDidMount:this.onCanvasDidMount.bind(this),onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(Ae.Component),mg=function(t){nn(e,t);function e(i){Ni(this,e);var n=rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i));return n.colors=["#fad390","#81ecec","#ffffff","#badc58","#f9ca24","#FEA47F"],n.renderProton=n.renderProton.bind(n),n}return Oi(e,[{key:"componentWillUnmount",value:function(){try{wt.remove(this.renderProton),this.proton.destroy()}catch{}}},{key:"onCanvasDidMount",value:function(n){}},{key:"onCanvasInited",value:function(n,r,a){this.createProton(n,r,a),wt.add(this.renderProton)}},{key:"onResize",value:function(n,r){var a=150;this.crossZoneBehaviour.zone.width=n+2*a,this.crossZoneBehaviour.zone.height=r+2*a,this.proton.renderers[0].resize(n,r)}},{key:"createProton",value:function(n,r,a){this.proton=new U;var o=new U.Emitter;o.rate=new U.Rate(this.props.num?this.props.num:50),o.damping=0,o.addInitialize(new U.Mass(1)),o.addInitialize(new U.Radius(4,70)),o.addInitialize(new U.Velocity(new U.Span(2,10),new U.Span(0),"polar")),o.addInitialize(new U.Position(new U.LineZone(0,n.height,n.width,n.height)));var s=150,u=new U.CrossZone(new U.RectZone(0-s,0-s,n.width+2*s,n.height+2*s),"cross");o.addBehaviour(u),o.addBehaviour(new U.Alpha(U.getSpan(.1,.55))),o.addBehaviour(new U.Color(this.colors)),o.emit("once"),this.proton.addEmitter(o);var c=this.createRenderer(n);this.proton.addRenderer(c),this.crossZoneBehaviour=u,o.preEmit(2)}},{key:"createRenderer",value:function(n){var r=n.getContext("2d"),a=new U.CustomRenderer;return a.onProtonUpdate=function(){r.clearRect(0,0,n.width,n.height)},a.onParticleCreated=function(o){var s=o.radius||60,u=U.MathUtil.randomAToB(100,200,"int");o.data.w=s,o.data.h=u},a.onParticleUpdate=function(o){var s=o.data.w,u=o.data.h;r.save(),r.globalAlpha=o.alpha,r.fillStyle=o.color,r.translate(o.p.x,o.p.y),r.rotate(U.MathUtil.degreeTransform(o.rotation)),r.translate(-o.p.x,-o.p.y),r.beginPath(),r.rect(o.p.x-s/2,o.p.y-u/2,s,u),r.closePath(),r.fill(),r.globalAlpha=1,r.restore()},a}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return Ae.createElement(Bn,{bg:this.props.bg,globalCompositeOperation:"lighter",onCanvasDidMount:this.onCanvasDidMount.bind(this),onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(Ae.Component),gg=function(t){nn(e,t);function e(i){Ni(this,e);var n=rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i));return n.renderProton=n.renderProton.bind(n),n}return Oi(e,[{key:"onCanvasInited",value:function(n,r,a){this.createProton(n,r,a),wt.add(this.renderProton)}},{key:"componentWillUnmount",value:function(){try{wt.remove(this.renderProton),this.proton.destroy()}catch{}}},{key:"onResize",value:function(n,r){this.crossZoneBehaviour.zone.width=n,this.crossZoneBehaviour.zone.height=r,this.proton.renderers[0].resize(n,r)}},{key:"createProton",value:function(n,r,a){this.proton=new U;var o=new U.Emitter;o.rate=new U.Rate(this.props.num?new U.Span(this.props.num):new U.Span(100),new U.Span(.05,.2)),o.addInitialize(new U.Mass(1)),o.addInitialize(new U.Radius(1,4)),o.addInitialize(new U.Life(1/0));var s=new U.Position(new U.RectZone(0,0,r,a));o.addInitialize(s),o.addInitialize(new U.Velocity(new U.Span(.3,.6),new U.Span(0,360),"polar")),o.addBehaviour(new U.Alpha(U.getSpan(.2,.9))),o.addBehaviour(new U.Color(this.props.color||"#333")),this.crossZoneBehaviour=new U.CrossZone(new U.RectZone(0,0,r,a),"cross"),o.addBehaviour(this.crossZoneBehaviour),o.emit("once"),o.damping=0,this.proton.addEmitter(o),this.proton.addRenderer(this.createRenderer(n,o))}},{key:"createRenderer",value:function(n,r){var a=this,o=n.getContext("2d"),s=new U.CanvasRenderer(n),u=140;return s.onProtonUpdateAfter=function(){for(var c=r.particles,h=0;hr&&(g.data.points.pop(),g.data.points.pop())},c=function(g){o.fillStyle=g.color,o.beginPath(),o.arc(g.p.x,g.p.y,g.radius,0,Math.PI*2,!0),o.closePath(),o.fill()},h=function(g){o.beginPath(),o.strokeStyle=g.color,o.moveTo(g.p.x,g.p.y);for(var v=g.data.points.length,M=0;M>0,y};return s}},{key:"renderProton",value:function(){var n=this;wt.add(function(){n.proton.update()})}},{key:"render",value:function(){return Ae.createElement(Bn,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasDidMount:this.onCanvasDidMount.bind(this),onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(Ae.Component),jS=["#f6b93b","#18dcff","#cd84f1","#ED4C67","#ffffff","#b71540","#32ff7e","#ff3838"],_g=function(t){nn(e,t);function e(i){Ni(this,e);var n=rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i));return n.renderProton=n.renderProton.bind(n),n}return Oi(e,[{key:"onCanvasInited",value:function(n,r,a){this.createProton(n),this.createEmitter({canvas:n,x:r/2,y:a/2,mainEmitter:!0,zone:"bound"}),wt.add(this.renderProton)}},{key:"componentWillUnmount",value:function(){try{wt.remove(this.renderProton),this.proton.destroy()}catch{}}},{key:"onResize",value:function(){}},{key:"createProton",value:function(n){this.proton=new U;var r=this.createRenderer(n);this.proton.addRenderer(r)}},{key:"createRenderer",value:function(n){var r=n.getContext("2d"),a=new U.CustomRenderer;a.onProtonUpdate=function(){r.clearRect(0,0,n.width,n.height)},a.onParticleCreated=function(s){s.data.count=U.MathUtil.randomAToB(3,10,!0)},a.onParticleUpdate=function(s){r.save(),r.globalAlpha=s.alpha,r.fillStyle=s.color,r.translate(s.p.x,s.p.y),r.rotate(U.MathUtil.degreeTransform(s.rotation)),r.translate(-s.p.x,-s.p.y),r.beginPath(),o(s,s.data.count),r.closePath(),r.fill(),r.globalAlpha=1,r.restore()},a.onParticleDead=function(s){};var o=function(u,c){if(c>=7)r.arc(u.p.x,u.p.y,u.radius,0,Math.PI*2,!0);else for(var h=u.radius,p=0;p<=c;p++){var d=u.p.x+h*Math.cos(Math.PI/180*360/c*p),g=u.p.y+h*Math.sin(Math.PI/180*360/c*p);p===0?r.moveTo(d,g):r.lineTo(d,g)}};return a}},{key:"createEmitter",value:function(n){var r=n.mainEmitter,a=n.canvas,o=n.x,s=n.y,u=n.radius,c=n.color,h=c===void 0?jS:c,p=n.zone,d=p===void 0?"dead":p,g=n.once,v=g===void 0?"all":g,M=n.alpha,_=M===void 0?.85:M,f=n.gravity,x=f===void 0?3.5:f,y=this.proton.pool.get(U.Emitter);if(!y.completed){y.rate=new U.Rate(this.props.num?new U.Span(this.props.num):new U.Span(4,9),new U.Span(1.6,2.2));var w=r?new U.Radius(10,110):new U.Radius(3,u);y.addInitialize(new U.Mass(1)),y.addInitialize(w),y.addInitialize(new U.Life(3,6)),y.addInitialize(new U.Velocity(new U.Span(4,6),new U.Span(-90,90),"polar")),y.addBehaviour(new U.Alpha(_,.2)),y.addBehaviour(new U.Color(h)),y.addBehaviour(new U.Scale(1,.3)),y.addBehaviour(new U.Rotate),y.addBehaviour(new U.Gravity(x)),y.addBehaviour(this.customDeadBehaviour(a)),y.addBehaviour(new U.CrossZone(new U.RectZone(0,0,a.width,a.height),d))}y.p.x=o,y.p.y=s,v==="once"?y.emit("once"):y.emit(),this.proton.addEmitter(y)}},{key:"expireEmitter",value:function(n){var r=this;setTimeout(function(){n.completed=!0,r.proton.pool.expire(n),r.proton.removeEmitter(n)},500)}},{key:"customDeadBehaviour",value:function(n){var r=this;return{initialize:function(o){o.data=o.data||{},o.data.oldRadius=o.radius,o.data.emitterCount=0},applyBehaviour:function(o){o.radius<5||o.data.emitterCount>=2||o.radius<=1/3*o.data.oldRadius&&(o.data.emitterCount++,r.createEmitter({canvas:n,x:o.p.x,y:o.p.y,radius:o.radius*(1/2),alpha:.5,gravity:5,color:o.color,once:"once"}))}}}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return Ae.createElement(Bn,{bg:this.props.bg,globalCompositeOperation:"darker",onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(Ae.Component),xg=function(t){nn(e,t);function e(i){Ni(this,e);var n=rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i));return n.colors=["#529B88","#CDD180","#FFFA32","#FB6255","#FB4A53","#FF4E50","#F9D423"],n.renderProton=n.renderProton.bind(n),n}return Oi(e,[{key:"componentWillUnmount",value:function(){try{wt.remove(this.renderProton),this.proton.destroy()}catch{}}},{key:"onCanvasInited",value:function(n,r,a){this.createProton(n,r,a),wt.add(this.renderProton)}},{key:"onResize",value:function(){}},{key:"createProton",value:function(n,r,a){this.proton=new U;var o=new U.Emitter;o.rate=new U.Rate(this.props.num?new U.Span(this.props.num):new U.Span(4,8),new U.Span(.1,.25)),o.addInitialize(new U.Mass(1)),o.addInitialize(new U.Radius(20,200)),o.addInitialize(new U.Life(2,4)),o.addInitialize(new U.Velocity(new U.Span(4,7),new U.Span(0,360),"polar")),o.addInitialize(new U.Position(new U.CircleZone(r/2,a/2,100))),o.addBehaviour(new U.Alpha(1,0)),o.addBehaviour(new U.Scale(.2,1)),o.addBehaviour(this.createCustomBehaviour()),o.addBehaviour(new U.Color(this.colors,"random")),o.emit(),this.proton.addEmitter(o);var s=new U.CanvasRenderer(n);this.proton.addRenderer(s)}},{key:"createCustomBehaviour",value:function(){var n=1e3;return{initialize:function(a){a.f=new U.Vector2D(0,0)},applyBehaviour:function(a){var o=a.v.length()/1e3,s=a.v.getGradient();s+=3.14/2,a.f.x=n*o*Math.cos(s),a.f.y=n*o*Math.sin(s),a.a.add(a.f)}}}},{key:"renderProton",value:function(){this.proton&&this.proton.update()}},{key:"render",value:function(){return Ae.createElement(Bn,{bg:this.props.bg,globalCompositeOperation:"xor",onCanvasInited:this.onCanvasInited.bind(this),onResize:this.onResize.bind(this)})}}]),e}(Ae.Component),YS=function(t){nn(e,t);function e(i){return Ni(this,e),rn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i))}return Oi(e,[{key:"getRandom",value:function(){var n=this.props,r=n.num,a=n.bg,o=n.color;return this.random||(this.random=new XS,this.random.set(.25,Ae.createElement(Ch,{num:r,bg:a,color:o})),this.random.set(.2,Ae.createElement(dg,{num:r,bg:a,color:o})),this.random.set(.2,Ae.createElement(pg,{num:r,bg:a,color:o})),this.random.set(.16,Ae.createElement(fg,{num:r,bg:a,color:o})),this.random.set(.18,Ae.createElement(vg,{num:r,bg:a,color:o})),this.random.set(.04,Ae.createElement(gg,{num:r,bg:a,color:o})),this.random.set(.1,Ae.createElement(_g,{num:r,bg:a,color:o})),this.random.set(.08,Ae.createElement(mg,{num:r,bg:a,color:o})),this.random.set(.18,Ae.createElement(yg,{num:r,bg:a,color:o})),this.random.set(.15,Ae.createElement(xg,{num:r,bg:a,color:o}))),this.random.getResult()}},{key:"getBgParticles",value:function(){var n=this.props,r=n.type,a=n.num,o=n.bg,s=n.color,u=n.config,c=void 0;switch(String(r).toLowerCase()){case"color":c=Ae.createElement(Ch,{num:a,bg:o,color:s});break;case"ball":c=Ae.createElement(dg,{num:a,bg:o,color:s});break;case"lines":c=Ae.createElement(pg,{num:a,bg:o,color:s});break;case"thick":c=Ae.createElement(fg,{num:a,bg:o,color:s});break;case"circle":c=Ae.createElement(vg,{num:a,bg:o,color:s});break;case"cobweb":c=Ae.createElement(gg,{num:a,bg:o,color:s});break;case"polygon":c=Ae.createElement(_g,{num:a,bg:o,color:s});break;case"square":c=Ae.createElement(mg,{num:a,bg:o,color:s});break;case"tadpole":c=Ae.createElement(yg,{num:a,bg:o,color:s});break;case"fountain":c=Ae.createElement(xg,{num:a,bg:o,color:s});break;case"custom":c=Ae.createElement(VS,{bg:o,config:u});break;case"random":c=this.getRandom(a);break;default:c=Ae.createElement(Ch,{num:a,bg:o,color:s});break}return c}},{key:"render",value:function(){var n=this.getBgParticles();return Ae.createElement(Ae.Fragment,null,n)}}]),e}(Mi.Component);function JS(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var S_={exports:{}},Ps={};/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Mg;function ZS(){if(Mg)return Ps;Mg=1;var t=Ae,e=Symbol.for("react.element"),i=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,r=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(s,u,c){var h,p={},d=null,g=null;c!==void 0&&(d=""+c),u.key!==void 0&&(d=""+u.key),u.ref!==void 0&&(g=u.ref);for(h in u)n.call(u,h)&&!a.hasOwnProperty(h)&&(p[h]=u[h]);if(s&&s.defaultProps)for(h in u=s.defaultProps,u)p[h]===void 0&&(p[h]=u[h]);return{$$typeof:e,type:s,key:d,ref:g,props:p,_owner:r.current}}return Ps.Fragment=i,Ps.jsx=o,Ps.jsxs=o,Ps}S_.exports=ZS();var cu=S_.exports;/** + * @license + * Copyright 2010-2023 Three.js Authors + * SPDX-License-Identifier: MIT + */const If="155",KS=0,Sg=1,qS=2,E_=1,QS=2,dr=3,ca=0,Ci=1,yr=2,na=0,Jo=1,cp=2,Eg=3,wg=4,$S=5,Ro=100,eE=101,tE=102,Tg=103,Rg=104,iE=200,nE=201,rE=202,aE=203,w_=204,T_=205,oE=206,sE=207,lE=208,uE=209,cE=210,hE=0,dE=1,pE=2,hp=3,fE=4,mE=5,gE=6,vE=7,R_=0,yE=1,_E=2,ra=0,xE=1,ME=2,SE=3,EE=4,wE=5,b_=300,os=301,ss=302,dp=303,pp=304,Yc=306,fp=1e3,Dn=1001,mp=1002,di=1003,bg=1004,Lh=1005,dn=1006,TE=1007,Sl=1008,aa=1009,RE=1010,bE=1011,Df=1012,A_=1013,Xr=1014,Wr=1015,El=1016,C_=1017,L_=1018,Na=1020,AE=1021,kn=1023,CE=1024,LE=1025,Oa=1026,ls=1027,PE=1028,P_=1029,IE=1030,I_=1031,D_=1033,Ph=33776,Ih=33777,Dh=33778,kh=33779,Ag=35840,Cg=35841,Lg=35842,Pg=35843,DE=36196,Ig=37492,Dg=37496,kg=37808,Ug=37809,Ng=37810,Og=37811,Fg=37812,zg=37813,Bg=37814,Gg=37815,Hg=37816,Xg=37817,Wg=37818,Vg=37819,jg=37820,Yg=37821,Uh=36492,kE=36283,Jg=36284,Zg=36285,Kg=36286,k_=3e3,Fa=3001,UE=3200,NE=3201,OE=0,FE=1,za="",We="srgb",$n="srgb-linear",U_="display-p3",Nh=7680,zE=519,BE=512,GE=513,HE=514,XE=515,WE=516,VE=517,jE=518,YE=519,qg=35044,Qg="300 es",gp=1035,Mr=2e3,Mc=2001;class ys{addEventListener(e,i){this._listeners===void 0&&(this._listeners={});const n=this._listeners;n[e]===void 0&&(n[e]=[]),n[e].indexOf(i)===-1&&n[e].push(i)}hasEventListener(e,i){if(this._listeners===void 0)return!1;const n=this._listeners;return n[e]!==void 0&&n[e].indexOf(i)!==-1}removeEventListener(e,i){if(this._listeners===void 0)return;const n=this._listeners[e];if(n!==void 0){const r=n.indexOf(i);r!==-1&&n.splice(r,1)}}dispatchEvent(e){if(this._listeners===void 0)return;const i=this._listeners[e.type];if(i!==void 0){e.target=this;const n=i.slice(0);for(let r=0,a=n.length;r>8&255]+ni[t>>16&255]+ni[t>>24&255]+"-"+ni[e&255]+ni[e>>8&255]+"-"+ni[e>>16&15|64]+ni[e>>24&255]+"-"+ni[i&63|128]+ni[i>>8&255]+"-"+ni[i>>16&255]+ni[i>>24&255]+ni[n&255]+ni[n>>8&255]+ni[n>>16&255]+ni[n>>24&255]).toLowerCase()}function Ei(t,e,i){return Math.max(e,Math.min(i,t))}function JE(t,e){return(t%e+e)%e}function Fh(t,e,i){return(1-i)*t+i*e}function $g(t){return(t&t-1)===0&&t!==0}function yp(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}function Is(t,e){switch(e.constructor){case Float32Array:return t;case Uint32Array:return t/4294967295;case Uint16Array:return t/65535;case Uint8Array:return t/255;case Int32Array:return Math.max(t/2147483647,-1);case Int16Array:return Math.max(t/32767,-1);case Int8Array:return Math.max(t/127,-1);default:throw new Error("Invalid component type.")}}function xi(t,e){switch(e.constructor){case Float32Array:return t;case Uint32Array:return Math.round(t*4294967295);case Uint16Array:return Math.round(t*65535);case Uint8Array:return Math.round(t*255);case Int32Array:return Math.round(t*2147483647);case Int16Array:return Math.round(t*32767);case Int8Array:return Math.round(t*127);default:throw new Error("Invalid component type.")}}class ot{constructor(e=0,i=0){ot.prototype.isVector2=!0,this.x=e,this.y=i}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,i){return this.x=e,this.y=i,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,i){switch(e){case 0:this.x=i;break;case 1:this.y=i;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,i){return this.x=e.x+i.x,this.y=e.y+i.y,this}addScaledVector(e,i){return this.x+=e.x*i,this.y+=e.y*i,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,i){return this.x=e.x-i.x,this.y=e.y-i.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 i=this.x,n=this.y,r=e.elements;return this.x=r[0]*i+r[3]*n+r[6],this.y=r[1]*i+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,i){return this.x=Math.max(e.x,Math.min(i.x,this.x)),this.y=Math.max(e.y,Math.min(i.y,this.y)),this}clampScalar(e,i){return this.x=Math.max(e,Math.min(i,this.x)),this.y=Math.max(e,Math.min(i,this.y)),this}clampLength(e,i){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(i,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){const i=Math.sqrt(this.lengthSq()*e.lengthSq());if(i===0)return Math.PI/2;const n=this.dot(e)/i;return Math.acos(Ei(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const i=this.x-e.x,n=this.y-e.y;return i*i+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,i){return this.x+=(e.x-this.x)*i,this.y+=(e.y-this.y)*i,this}lerpVectors(e,i,n){return this.x=e.x+(i.x-e.x)*n,this.y=e.y+(i.y-e.y)*n,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,i=0){return this.x=e[i],this.y=e[i+1],this}toArray(e=[],i=0){return e[i]=this.x,e[i+1]=this.y,e}fromBufferAttribute(e,i){return this.x=e.getX(i),this.y=e.getY(i),this}rotateAround(e,i){const n=Math.cos(i),r=Math.sin(i),a=this.x-e.x,o=this.y-e.y;return this.x=a*n-o*r+e.x,this.y=a*r+o*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class je{constructor(e,i,n,r,a,o,s,u,c){je.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],e!==void 0&&this.set(e,i,n,r,a,o,s,u,c)}set(e,i,n,r,a,o,s,u,c){const h=this.elements;return h[0]=e,h[1]=r,h[2]=s,h[3]=i,h[4]=a,h[5]=u,h[6]=n,h[7]=o,h[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const i=this.elements,n=e.elements;return i[0]=n[0],i[1]=n[1],i[2]=n[2],i[3]=n[3],i[4]=n[4],i[5]=n[5],i[6]=n[6],i[7]=n[7],i[8]=n[8],this}extractBasis(e,i,n){return e.setFromMatrix3Column(this,0),i.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const i=e.elements;return this.set(i[0],i[4],i[8],i[1],i[5],i[9],i[2],i[6],i[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,i){const n=e.elements,r=i.elements,a=this.elements,o=n[0],s=n[3],u=n[6],c=n[1],h=n[4],p=n[7],d=n[2],g=n[5],v=n[8],M=r[0],_=r[3],f=r[6],x=r[1],y=r[4],w=r[7],T=r[2],R=r[5],A=r[8];return a[0]=o*M+s*x+u*T,a[3]=o*_+s*y+u*R,a[6]=o*f+s*w+u*A,a[1]=c*M+h*x+p*T,a[4]=c*_+h*y+p*R,a[7]=c*f+h*w+p*A,a[2]=d*M+g*x+v*T,a[5]=d*_+g*y+v*R,a[8]=d*f+g*w+v*A,this}multiplyScalar(e){const i=this.elements;return i[0]*=e,i[3]*=e,i[6]*=e,i[1]*=e,i[4]*=e,i[7]*=e,i[2]*=e,i[5]*=e,i[8]*=e,this}determinant(){const e=this.elements,i=e[0],n=e[1],r=e[2],a=e[3],o=e[4],s=e[5],u=e[6],c=e[7],h=e[8];return i*o*h-i*s*c-n*a*h+n*s*u+r*a*c-r*o*u}invert(){const e=this.elements,i=e[0],n=e[1],r=e[2],a=e[3],o=e[4],s=e[5],u=e[6],c=e[7],h=e[8],p=h*o-s*c,d=s*u-h*a,g=c*a-o*u,v=i*p+n*d+r*g;if(v===0)return this.set(0,0,0,0,0,0,0,0,0);const M=1/v;return e[0]=p*M,e[1]=(r*c-h*n)*M,e[2]=(s*n-r*o)*M,e[3]=d*M,e[4]=(h*i-r*u)*M,e[5]=(r*a-s*i)*M,e[6]=g*M,e[7]=(n*u-c*i)*M,e[8]=(o*i-n*a)*M,this}transpose(){let e;const i=this.elements;return e=i[1],i[1]=i[3],i[3]=e,e=i[2],i[2]=i[6],i[6]=e,e=i[5],i[5]=i[7],i[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const i=this.elements;return e[0]=i[0],e[1]=i[3],e[2]=i[6],e[3]=i[1],e[4]=i[4],e[5]=i[7],e[6]=i[2],e[7]=i[5],e[8]=i[8],this}setUvTransform(e,i,n,r,a,o,s){const u=Math.cos(a),c=Math.sin(a);return this.set(n*u,n*c,-n*(u*o+c*s)+o+e,-r*c,r*u,-r*(-c*o+u*s)+s+i,0,0,1),this}scale(e,i){return this.premultiply(zh.makeScale(e,i)),this}rotate(e){return this.premultiply(zh.makeRotation(-e)),this}translate(e,i){return this.premultiply(zh.makeTranslation(e,i)),this}makeTranslation(e,i){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,i,0,0,1),this}makeRotation(e){const i=Math.cos(e),n=Math.sin(e);return this.set(i,-n,0,n,i,0,0,0,1),this}makeScale(e,i){return this.set(e,0,0,0,i,0,0,0,1),this}equals(e){const i=this.elements,n=e.elements;for(let r=0;r<9;r++)if(i[r]!==n[r])return!1;return!0}fromArray(e,i=0){for(let n=0;n<9;n++)this.elements[n]=e[n+i];return this}toArray(e=[],i=0){const n=this.elements;return e[i]=n[0],e[i+1]=n[1],e[i+2]=n[2],e[i+3]=n[3],e[i+4]=n[4],e[i+5]=n[5],e[i+6]=n[6],e[i+7]=n[7],e[i+8]=n[8],e}clone(){return new this.constructor().fromArray(this.elements)}}const zh=new je;function N_(t){for(let e=t.length-1;e>=0;--e)if(t[e]>=65535)return!0;return!1}function wl(t){return document.createElementNS("http://www.w3.org/1999/xhtml",t)}const ev={};function tl(t){t in ev||(ev[t]=!0,console.warn(t))}function Zo(t){return t<.04045?t*.0773993808:Math.pow(t*.9478672986+.0521327014,2.4)}function Bh(t){return t<.0031308?t*12.92:1.055*Math.pow(t,.41666)-.055}const ZE=new je().fromArray([.8224621,.0331941,.0170827,.177538,.9668058,.0723974,-1e-7,1e-7,.9105199]),KE=new je().fromArray([1.2249401,-.0420569,-.0196376,-.2249404,1.0420571,-.0786361,1e-7,0,1.0982735]);function qE(t){return t.convertSRGBToLinear().applyMatrix3(KE)}function QE(t){return t.applyMatrix3(ZE).convertLinearToSRGB()}const $E={[$n]:t=>t,[We]:t=>t.convertSRGBToLinear(),[U_]:qE},ew={[$n]:t=>t,[We]:t=>t.convertLinearToSRGB(),[U_]:QE},Tn={enabled:!0,get legacyMode(){return console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),!this.enabled},set legacyMode(t){console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),this.enabled=!t},get workingColorSpace(){return $n},set workingColorSpace(t){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(t,e,i){if(this.enabled===!1||e===i||!e||!i)return t;const n=$E[e],r=ew[i];if(n===void 0||r===void 0)throw new Error(`Unsupported color space conversion, "${e}" to "${i}".`);return r(n(t))},fromWorkingColorSpace:function(t,e){return this.convert(t,this.workingColorSpace,e)},toWorkingColorSpace:function(t,e){return this.convert(t,e,this.workingColorSpace)}};let lo;class O_{static getDataURL(e){if(/^data:/i.test(e.src)||typeof HTMLCanvasElement>"u")return e.src;let i;if(e instanceof HTMLCanvasElement)i=e;else{lo===void 0&&(lo=wl("canvas")),lo.width=e.width,lo.height=e.height;const n=lo.getContext("2d");e instanceof ImageData?n.putImageData(e,0,0):n.drawImage(e,0,0,e.width,e.height),i=lo}return i.width>2048||i.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),i.toDataURL("image/jpeg",.6)):i.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){const i=wl("canvas");i.width=e.width,i.height=e.height;const n=i.getContext("2d");n.drawImage(e,0,0,e.width,e.height);const r=n.getImageData(0,0,e.width,e.height),a=r.data;for(let o=0;o0&&(n.userData=this.userData),i||(e.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(this.mapping!==b_)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case fp:e.x=e.x-Math.floor(e.x);break;case Dn:e.x=e.x<0?0:1;break;case mp:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case fp:e.y=e.y-Math.floor(e.y);break;case Dn:e.y=e.y<0?0:1;break;case mp:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}get encoding(){return tl("THREE.Texture: Property .encoding has been replaced by .colorSpace."),this.colorSpace===We?Fa:k_}set encoding(e){tl("THREE.Texture: Property .encoding has been replaced by .colorSpace."),this.colorSpace=e===Fa?We:za}}Li.DEFAULT_IMAGE=null;Li.DEFAULT_MAPPING=b_;Li.DEFAULT_ANISOTROPY=1;class qt{constructor(e=0,i=0,n=0,r=1){qt.prototype.isVector4=!0,this.x=e,this.y=i,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,i,n,r){return this.x=e,this.y=i,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,i){switch(e){case 0:this.x=i;break;case 1:this.y=i;break;case 2:this.z=i;break;case 3:this.w=i;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=e.w!==void 0?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,i){return this.x=e.x+i.x,this.y=e.y+i.y,this.z=e.z+i.z,this.w=e.w+i.w,this}addScaledVector(e,i){return this.x+=e.x*i,this.y+=e.y*i,this.z+=e.z*i,this.w+=e.w*i,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,i){return this.x=e.x-i.x,this.y=e.y-i.y,this.z=e.z-i.z,this.w=e.w-i.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 i=this.x,n=this.y,r=this.z,a=this.w,o=e.elements;return this.x=o[0]*i+o[4]*n+o[8]*r+o[12]*a,this.y=o[1]*i+o[5]*n+o[9]*r+o[13]*a,this.z=o[2]*i+o[6]*n+o[10]*r+o[14]*a,this.w=o[3]*i+o[7]*n+o[11]*r+o[15]*a,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const i=Math.sqrt(1-e.w*e.w);return i<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/i,this.y=e.y/i,this.z=e.z/i),this}setAxisAngleFromRotationMatrix(e){let i,n,r,a;const o=e.elements,s=o[0],u=o[4],c=o[8],h=o[1],p=o[5],d=o[9],g=o[2],v=o[6],M=o[10];if(Math.abs(u-h)<.01&&Math.abs(c-g)<.01&&Math.abs(d-v)<.01){if(Math.abs(u+h)<.1&&Math.abs(c+g)<.1&&Math.abs(d+v)<.1&&Math.abs(s+p+M-3)<.1)return this.set(1,0,0,0),this;i=Math.PI;const f=(s+1)/2,x=(p+1)/2,y=(M+1)/2,w=(u+h)/4,T=(c+g)/4,R=(d+v)/4;return f>x&&f>y?f<.01?(n=0,r=.707106781,a=.707106781):(n=Math.sqrt(f),r=w/n,a=T/n):x>y?x<.01?(n=.707106781,r=0,a=.707106781):(r=Math.sqrt(x),n=w/r,a=R/r):y<.01?(n=.707106781,r=.707106781,a=0):(a=Math.sqrt(y),n=T/a,r=R/a),this.set(n,r,a,i),this}let _=Math.sqrt((v-d)*(v-d)+(c-g)*(c-g)+(h-u)*(h-u));return Math.abs(_)<.001&&(_=1),this.x=(v-d)/_,this.y=(c-g)/_,this.z=(h-u)/_,this.w=Math.acos((s+p+M-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,i){return this.x=Math.max(e.x,Math.min(i.x,this.x)),this.y=Math.max(e.y,Math.min(i.y,this.y)),this.z=Math.max(e.z,Math.min(i.z,this.z)),this.w=Math.max(e.w,Math.min(i.w,this.w)),this}clampScalar(e,i){return this.x=Math.max(e,Math.min(i,this.x)),this.y=Math.max(e,Math.min(i,this.y)),this.z=Math.max(e,Math.min(i,this.z)),this.w=Math.max(e,Math.min(i,this.w)),this}clampLength(e,i){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(i,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=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(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,i){return this.x+=(e.x-this.x)*i,this.y+=(e.y-this.y)*i,this.z+=(e.z-this.z)*i,this.w+=(e.w-this.w)*i,this}lerpVectors(e,i,n){return this.x=e.x+(i.x-e.x)*n,this.y=e.y+(i.y-e.y)*n,this.z=e.z+(i.z-e.z)*n,this.w=e.w+(i.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,i=0){return this.x=e[i],this.y=e[i+1],this.z=e[i+2],this.w=e[i+3],this}toArray(e=[],i=0){return e[i]=this.x,e[i+1]=this.y,e[i+2]=this.z,e[i+3]=this.w,e}fromBufferAttribute(e,i){return this.x=e.getX(i),this.y=e.getY(i),this.z=e.getZ(i),this.w=e.getW(i),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 nw extends ys{constructor(e=1,i=1,n={}){super(),this.isRenderTarget=!0,this.width=e,this.height=i,this.depth=1,this.scissor=new qt(0,0,e,i),this.scissorTest=!1,this.viewport=new qt(0,0,e,i);const r={width:e,height:i,depth:1};n.encoding!==void 0&&(tl("THREE.WebGLRenderTarget: option.encoding has been replaced by option.colorSpace."),n.colorSpace=n.encoding===Fa?We:za),this.texture=new Li(r,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=n.generateMipmaps!==void 0?n.generateMipmaps:!1,this.texture.internalFormat=n.internalFormat!==void 0?n.internalFormat:null,this.texture.minFilter=n.minFilter!==void 0?n.minFilter:dn,this.depthBuffer=n.depthBuffer!==void 0?n.depthBuffer:!0,this.stencilBuffer=n.stencilBuffer!==void 0?n.stencilBuffer:!1,this.depthTexture=n.depthTexture!==void 0?n.depthTexture:null,this.samples=n.samples!==void 0?n.samples:0}setSize(e,i,n=1){(this.width!==e||this.height!==i||this.depth!==n)&&(this.width=e,this.height=i,this.depth=n,this.texture.image.width=e,this.texture.image.height=i,this.texture.image.depth=n,this.dispose()),this.viewport.set(0,0,e,i),this.scissor.set(0,0,e,i)}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.texture=e.texture.clone(),this.texture.isRenderTargetTexture=!0;const i=Object.assign({},e.texture.image);return this.texture.source=new F_(i),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,e.depthTexture!==null&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class Ka extends nw{constructor(e=1,i=1,n={}){super(e,i,n),this.isWebGLRenderTarget=!0}}class z_ extends Li{constructor(e=null,i=1,n=1,r=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:i,height:n,depth:r},this.magFilter=di,this.minFilter=di,this.wrapR=Dn,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class rw extends Li{constructor(e=null,i=1,n=1,r=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:i,height:n,depth:r},this.magFilter=di,this.minFilter=di,this.wrapR=Dn,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class Fl{constructor(e=0,i=0,n=0,r=1){this.isQuaternion=!0,this._x=e,this._y=i,this._z=n,this._w=r}static slerpFlat(e,i,n,r,a,o,s){let u=n[r+0],c=n[r+1],h=n[r+2],p=n[r+3];const d=a[o+0],g=a[o+1],v=a[o+2],M=a[o+3];if(s===0){e[i+0]=u,e[i+1]=c,e[i+2]=h,e[i+3]=p;return}if(s===1){e[i+0]=d,e[i+1]=g,e[i+2]=v,e[i+3]=M;return}if(p!==M||u!==d||c!==g||h!==v){let _=1-s;const f=u*d+c*g+h*v+p*M,x=f>=0?1:-1,y=1-f*f;if(y>Number.EPSILON){const T=Math.sqrt(y),R=Math.atan2(T,f*x);_=Math.sin(_*R)/T,s=Math.sin(s*R)/T}const w=s*x;if(u=u*_+d*w,c=c*_+g*w,h=h*_+v*w,p=p*_+M*w,_===1-s){const T=1/Math.sqrt(u*u+c*c+h*h+p*p);u*=T,c*=T,h*=T,p*=T}}e[i]=u,e[i+1]=c,e[i+2]=h,e[i+3]=p}static multiplyQuaternionsFlat(e,i,n,r,a,o){const s=n[r],u=n[r+1],c=n[r+2],h=n[r+3],p=a[o],d=a[o+1],g=a[o+2],v=a[o+3];return e[i]=s*v+h*p+u*g-c*d,e[i+1]=u*v+h*d+c*p-s*g,e[i+2]=c*v+h*g+s*d-u*p,e[i+3]=h*v-s*p-u*d-c*g,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,i,n,r){return this._x=e,this._y=i,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,i){const n=e._x,r=e._y,a=e._z,o=e._order,s=Math.cos,u=Math.sin,c=s(n/2),h=s(r/2),p=s(a/2),d=u(n/2),g=u(r/2),v=u(a/2);switch(o){case"XYZ":this._x=d*h*p+c*g*v,this._y=c*g*p-d*h*v,this._z=c*h*v+d*g*p,this._w=c*h*p-d*g*v;break;case"YXZ":this._x=d*h*p+c*g*v,this._y=c*g*p-d*h*v,this._z=c*h*v-d*g*p,this._w=c*h*p+d*g*v;break;case"ZXY":this._x=d*h*p-c*g*v,this._y=c*g*p+d*h*v,this._z=c*h*v+d*g*p,this._w=c*h*p-d*g*v;break;case"ZYX":this._x=d*h*p-c*g*v,this._y=c*g*p+d*h*v,this._z=c*h*v-d*g*p,this._w=c*h*p+d*g*v;break;case"YZX":this._x=d*h*p+c*g*v,this._y=c*g*p+d*h*v,this._z=c*h*v-d*g*p,this._w=c*h*p-d*g*v;break;case"XZY":this._x=d*h*p-c*g*v,this._y=c*g*p-d*h*v,this._z=c*h*v+d*g*p,this._w=c*h*p+d*g*v;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+o)}return i!==!1&&this._onChangeCallback(),this}setFromAxisAngle(e,i){const n=i/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 i=e.elements,n=i[0],r=i[4],a=i[8],o=i[1],s=i[5],u=i[9],c=i[2],h=i[6],p=i[10],d=n+s+p;if(d>0){const g=.5/Math.sqrt(d+1);this._w=.25/g,this._x=(h-u)*g,this._y=(a-c)*g,this._z=(o-r)*g}else if(n>s&&n>p){const g=2*Math.sqrt(1+n-s-p);this._w=(h-u)/g,this._x=.25*g,this._y=(r+o)/g,this._z=(a+c)/g}else if(s>p){const g=2*Math.sqrt(1+s-n-p);this._w=(a-c)/g,this._x=(r+o)/g,this._y=.25*g,this._z=(u+h)/g}else{const g=2*Math.sqrt(1+p-n-s);this._w=(o-r)/g,this._x=(a+c)/g,this._y=(u+h)/g,this._z=.25*g}return this._onChangeCallback(),this}setFromUnitVectors(e,i){let n=e.dot(i)+1;return nMath.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*i.z-e.z*i.y,this._y=e.z*i.x-e.x*i.z,this._z=e.x*i.y-e.y*i.x,this._w=n),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(Ei(this.dot(e),-1,1)))}rotateTowards(e,i){const n=this.angleTo(e);if(n===0)return this;const r=Math.min(1,i/n);return this.slerp(e,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){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 e===0?(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,i){const n=e._x,r=e._y,a=e._z,o=e._w,s=i._x,u=i._y,c=i._z,h=i._w;return this._x=n*h+o*s+r*c-a*u,this._y=r*h+o*u+a*s-n*c,this._z=a*h+o*c+n*u-r*s,this._w=o*h-n*s-r*u-a*c,this._onChangeCallback(),this}slerp(e,i){if(i===0)return this;if(i===1)return this.copy(e);const n=this._x,r=this._y,a=this._z,o=this._w;let s=o*e._w+n*e._x+r*e._y+a*e._z;if(s<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,s=-s):this.copy(e),s>=1)return this._w=o,this._x=n,this._y=r,this._z=a,this;const u=1-s*s;if(u<=Number.EPSILON){const g=1-i;return this._w=g*o+i*this._w,this._x=g*n+i*this._x,this._y=g*r+i*this._y,this._z=g*a+i*this._z,this.normalize(),this._onChangeCallback(),this}const c=Math.sqrt(u),h=Math.atan2(c,s),p=Math.sin((1-i)*h)/c,d=Math.sin(i*h)/c;return this._w=o*p+this._w*d,this._x=n*p+this._x*d,this._y=r*p+this._y*d,this._z=a*p+this._z*d,this._onChangeCallback(),this}slerpQuaternions(e,i,n){return this.copy(e).slerp(i,n)}random(){const e=Math.random(),i=Math.sqrt(1-e),n=Math.sqrt(e),r=2*Math.PI*Math.random(),a=2*Math.PI*Math.random();return this.set(i*Math.cos(r),n*Math.sin(a),n*Math.cos(a),i*Math.sin(r))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,i=0){return this._x=e[i],this._y=e[i+1],this._z=e[i+2],this._w=e[i+3],this._onChangeCallback(),this}toArray(e=[],i=0){return e[i]=this._x,e[i+1]=this._y,e[i+2]=this._z,e[i+3]=this._w,e}fromBufferAttribute(e,i){return this._x=e.getX(i),this._y=e.getY(i),this._z=e.getZ(i),this._w=e.getW(i),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 q{constructor(e=0,i=0,n=0){q.prototype.isVector3=!0,this.x=e,this.y=i,this.z=n}set(e,i,n){return n===void 0&&(n=this.z),this.x=e,this.y=i,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,i){switch(e){case 0:this.x=i;break;case 1:this.y=i;break;case 2:this.z=i;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,i){return this.x=e.x+i.x,this.y=e.y+i.y,this.z=e.z+i.z,this}addScaledVector(e,i){return this.x+=e.x*i,this.y+=e.y*i,this.z+=e.z*i,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,i){return this.x=e.x-i.x,this.y=e.y-i.y,this.z=e.z-i.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,i){return this.x=e.x*i.x,this.y=e.y*i.y,this.z=e.z*i.z,this}applyEuler(e){return this.applyQuaternion(tv.setFromEuler(e))}applyAxisAngle(e,i){return this.applyQuaternion(tv.setFromAxisAngle(e,i))}applyMatrix3(e){const i=this.x,n=this.y,r=this.z,a=e.elements;return this.x=a[0]*i+a[3]*n+a[6]*r,this.y=a[1]*i+a[4]*n+a[7]*r,this.z=a[2]*i+a[5]*n+a[8]*r,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const i=this.x,n=this.y,r=this.z,a=e.elements,o=1/(a[3]*i+a[7]*n+a[11]*r+a[15]);return this.x=(a[0]*i+a[4]*n+a[8]*r+a[12])*o,this.y=(a[1]*i+a[5]*n+a[9]*r+a[13])*o,this.z=(a[2]*i+a[6]*n+a[10]*r+a[14])*o,this}applyQuaternion(e){const i=this.x,n=this.y,r=this.z,a=e.x,o=e.y,s=e.z,u=e.w,c=u*i+o*r-s*n,h=u*n+s*i-a*r,p=u*r+a*n-o*i,d=-a*i-o*n-s*r;return this.x=c*u+d*-a+h*-s-p*-o,this.y=h*u+d*-o+p*-a-c*-s,this.z=p*u+d*-s+c*-o-h*-a,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const i=this.x,n=this.y,r=this.z,a=e.elements;return this.x=a[0]*i+a[4]*n+a[8]*r,this.y=a[1]*i+a[5]*n+a[9]*r,this.z=a[2]*i+a[6]*n+a[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,i){return this.x=Math.max(e.x,Math.min(i.x,this.x)),this.y=Math.max(e.y,Math.min(i.y,this.y)),this.z=Math.max(e.z,Math.min(i.z,this.z)),this}clampScalar(e,i){return this.x=Math.max(e,Math.min(i,this.x)),this.y=Math.max(e,Math.min(i,this.y)),this.z=Math.max(e,Math.min(i,this.z)),this}clampLength(e,i){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(i,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=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(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,i){return this.x+=(e.x-this.x)*i,this.y+=(e.y-this.y)*i,this.z+=(e.z-this.z)*i,this}lerpVectors(e,i,n){return this.x=e.x+(i.x-e.x)*n,this.y=e.y+(i.y-e.y)*n,this.z=e.z+(i.z-e.z)*n,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,i){const n=e.x,r=e.y,a=e.z,o=i.x,s=i.y,u=i.z;return this.x=r*u-a*s,this.y=a*o-n*u,this.z=n*s-r*o,this}projectOnVector(e){const i=e.lengthSq();if(i===0)return this.set(0,0,0);const n=e.dot(this)/i;return this.copy(e).multiplyScalar(n)}projectOnPlane(e){return Hh.copy(this).projectOnVector(e),this.sub(Hh)}reflect(e){return this.sub(Hh.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const i=Math.sqrt(this.lengthSq()*e.lengthSq());if(i===0)return Math.PI/2;const n=this.dot(e)/i;return Math.acos(Ei(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const i=this.x-e.x,n=this.y-e.y,r=this.z-e.z;return i*i+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,i,n){const r=Math.sin(i)*e;return this.x=r*Math.sin(n),this.y=Math.cos(i)*e,this.z=r*Math.cos(n),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,i,n){return this.x=e*Math.sin(i),this.y=n,this.z=e*Math.cos(i),this}setFromMatrixPosition(e){const i=e.elements;return this.x=i[12],this.y=i[13],this.z=i[14],this}setFromMatrixScale(e){const i=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),r=this.setFromMatrixColumn(e,2).length();return this.x=i,this.y=n,this.z=r,this}setFromMatrixColumn(e,i){return this.fromArray(e.elements,i*4)}setFromMatrix3Column(e,i){return this.fromArray(e.elements,i*3)}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,i=0){return this.x=e[i],this.y=e[i+1],this.z=e[i+2],this}toArray(e=[],i=0){return e[i]=this.x,e[i+1]=this.y,e[i+2]=this.z,e}fromBufferAttribute(e,i){return this.x=e.getX(i),this.y=e.getY(i),this.z=e.getZ(i),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=(Math.random()-.5)*2,i=Math.random()*Math.PI*2,n=Math.sqrt(1-e**2);return this.x=n*Math.cos(i),this.y=n*Math.sin(i),this.z=e,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Hh=new q,tv=new Fl;class zl{constructor(e=new q(1/0,1/0,1/0),i=new q(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=i}set(e,i){return this.min.copy(e),this.max.copy(i),this}setFromArray(e){this.makeEmpty();for(let i=0,n=e.length;ithis.max.x||e.ythis.max.y||e.zthis.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,i){return i.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.xthis.max.x||e.max.ythis.max.y||e.max.zthis.max.z)}intersectsSphere(e){return this.clampPoint(e.center,sr),sr.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let i,n;return e.normal.x>0?(i=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(i=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(i+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(i+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(i+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(i+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),i<=-e.constant&&n>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(Ds),hu.subVectors(this.max,Ds),co.subVectors(e.a,Ds),ho.subVectors(e.b,Ds),po.subVectors(e.c,Ds),Dr.subVectors(ho,co),kr.subVectors(po,ho),ya.subVectors(co,po);let i=[0,-Dr.z,Dr.y,0,-kr.z,kr.y,0,-ya.z,ya.y,Dr.z,0,-Dr.x,kr.z,0,-kr.x,ya.z,0,-ya.x,-Dr.y,Dr.x,0,-kr.y,kr.x,0,-ya.y,ya.x,0];return!Xh(i,co,ho,po,hu)||(i=[1,0,0,0,1,0,0,0,1],!Xh(i,co,ho,po,hu))?!1:(du.crossVectors(Dr,kr),i=[du.x,du.y,du.z],Xh(i,co,ho,po,hu))}clampPoint(e,i){return i.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,sr).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=this.getSize(sr).length()*.5),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()?this:(or[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),or[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),or[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),or[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),or[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),or[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),or[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),or[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(or),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 or=[new q,new q,new q,new q,new q,new q,new q,new q],sr=new q,uo=new zl,co=new q,ho=new q,po=new q,Dr=new q,kr=new q,ya=new q,Ds=new q,hu=new q,du=new q,_a=new q;function Xh(t,e,i,n,r){for(let a=0,o=t.length-3;a<=o;a+=3){_a.fromArray(t,a);const s=r.x*Math.abs(_a.x)+r.y*Math.abs(_a.y)+r.z*Math.abs(_a.z),u=e.dot(_a),c=i.dot(_a),h=n.dot(_a);if(Math.max(-Math.max(u,c,h),Math.min(u,c,h))>s)return!1}return!0}const aw=new zl,ks=new q,Wh=new q;class Jc{constructor(e=new q,i=-1){this.center=e,this.radius=i}set(e,i){return this.center.copy(e),this.radius=i,this}setFromPoints(e,i){const n=this.center;i!==void 0?n.copy(i):aw.setFromPoints(e).getCenter(n);let r=0;for(let a=0,o=e.length;athis.radius*this.radius&&(i.sub(this.center).normalize(),i.multiplyScalar(this.radius).add(this.center)),i}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(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;ks.subVectors(e,this.center);const i=ks.lengthSq();if(i>this.radius*this.radius){const n=Math.sqrt(i),r=(n-this.radius)*.5;this.center.addScaledVector(ks,r/n),this.radius+=r}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(this.center.equals(e.center)===!0?this.radius=Math.max(this.radius,e.radius):(Wh.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(ks.copy(e.center).add(Wh)),this.expandByPoint(ks.copy(e.center).sub(Wh))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}const lr=new q,Vh=new q,pu=new q,Ur=new q,jh=new q,fu=new q,Yh=new q;class B_{constructor(e=new q,i=new q(0,0,-1)){this.origin=e,this.direction=i}set(e,i){return this.origin.copy(e),this.direction.copy(i),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,i){return i.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,lr)),this}closestPointToPoint(e,i){i.subVectors(e,this.origin);const n=i.dot(this.direction);return n<0?i.copy(this.origin):i.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const i=lr.subVectors(e,this.origin).dot(this.direction);return i<0?this.origin.distanceToSquared(e):(lr.copy(this.origin).addScaledVector(this.direction,i),lr.distanceToSquared(e))}distanceSqToSegment(e,i,n,r){Vh.copy(e).add(i).multiplyScalar(.5),pu.copy(i).sub(e).normalize(),Ur.copy(this.origin).sub(Vh);const a=e.distanceTo(i)*.5,o=-this.direction.dot(pu),s=Ur.dot(this.direction),u=-Ur.dot(pu),c=Ur.lengthSq(),h=Math.abs(1-o*o);let p,d,g,v;if(h>0)if(p=o*u-s,d=o*s-u,v=a*h,p>=0)if(d>=-v)if(d<=v){const M=1/h;p*=M,d*=M,g=p*(p+o*d+2*s)+d*(o*p+d+2*u)+c}else d=a,p=Math.max(0,-(o*d+s)),g=-p*p+d*(d+2*u)+c;else d=-a,p=Math.max(0,-(o*d+s)),g=-p*p+d*(d+2*u)+c;else d<=-v?(p=Math.max(0,-(-o*a+s)),d=p>0?-a:Math.min(Math.max(-a,-u),a),g=-p*p+d*(d+2*u)+c):d<=v?(p=0,d=Math.min(Math.max(-a,-u),a),g=d*(d+2*u)+c):(p=Math.max(0,-(o*a+s)),d=p>0?a:Math.min(Math.max(-a,-u),a),g=-p*p+d*(d+2*u)+c);else d=o>0?-a:a,p=Math.max(0,-(o*d+s)),g=-p*p+d*(d+2*u)+c;return n&&n.copy(this.origin).addScaledVector(this.direction,p),r&&r.copy(Vh).addScaledVector(pu,d),g}intersectSphere(e,i){lr.subVectors(e.center,this.origin);const n=lr.dot(this.direction),r=lr.dot(lr)-n*n,a=e.radius*e.radius;if(r>a)return null;const o=Math.sqrt(a-r),s=n-o,u=n+o;return u<0?null:s<0?this.at(u,i):this.at(s,i)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const i=e.normal.dot(this.direction);if(i===0)return e.distanceToPoint(this.origin)===0?0:null;const n=-(this.origin.dot(e.normal)+e.constant)/i;return n>=0?n:null}intersectPlane(e,i){const n=this.distanceToPlane(e);return n===null?null:this.at(n,i)}intersectsPlane(e){const i=e.distanceToPoint(this.origin);return i===0||e.normal.dot(this.direction)*i<0}intersectBox(e,i){let n,r,a,o,s,u;const c=1/this.direction.x,h=1/this.direction.y,p=1/this.direction.z,d=this.origin;return c>=0?(n=(e.min.x-d.x)*c,r=(e.max.x-d.x)*c):(n=(e.max.x-d.x)*c,r=(e.min.x-d.x)*c),h>=0?(a=(e.min.y-d.y)*h,o=(e.max.y-d.y)*h):(a=(e.max.y-d.y)*h,o=(e.min.y-d.y)*h),n>o||a>r||((a>n||isNaN(n))&&(n=a),(o=0?(s=(e.min.z-d.z)*p,u=(e.max.z-d.z)*p):(s=(e.max.z-d.z)*p,u=(e.min.z-d.z)*p),n>u||s>r)||((s>n||n!==n)&&(n=s),(u=0?n:r,i)}intersectsBox(e){return this.intersectBox(e,lr)!==null}intersectTriangle(e,i,n,r,a){jh.subVectors(i,e),fu.subVectors(n,e),Yh.crossVectors(jh,fu);let o=this.direction.dot(Yh),s;if(o>0){if(r)return null;s=1}else if(o<0)s=-1,o=-o;else return null;Ur.subVectors(this.origin,e);const u=s*this.direction.dot(fu.crossVectors(Ur,fu));if(u<0)return null;const c=s*this.direction.dot(jh.cross(Ur));if(c<0||u+c>o)return null;const h=-s*Ur.dot(Yh);return h<0?null:this.at(h/o,a)}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 jt{constructor(e,i,n,r,a,o,s,u,c,h,p,d,g,v,M,_){jt.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],e!==void 0&&this.set(e,i,n,r,a,o,s,u,c,h,p,d,g,v,M,_)}set(e,i,n,r,a,o,s,u,c,h,p,d,g,v,M,_){const f=this.elements;return f[0]=e,f[4]=i,f[8]=n,f[12]=r,f[1]=a,f[5]=o,f[9]=s,f[13]=u,f[2]=c,f[6]=h,f[10]=p,f[14]=d,f[3]=g,f[7]=v,f[11]=M,f[15]=_,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 jt().fromArray(this.elements)}copy(e){const i=this.elements,n=e.elements;return i[0]=n[0],i[1]=n[1],i[2]=n[2],i[3]=n[3],i[4]=n[4],i[5]=n[5],i[6]=n[6],i[7]=n[7],i[8]=n[8],i[9]=n[9],i[10]=n[10],i[11]=n[11],i[12]=n[12],i[13]=n[13],i[14]=n[14],i[15]=n[15],this}copyPosition(e){const i=this.elements,n=e.elements;return i[12]=n[12],i[13]=n[13],i[14]=n[14],this}setFromMatrix3(e){const i=e.elements;return this.set(i[0],i[3],i[6],0,i[1],i[4],i[7],0,i[2],i[5],i[8],0,0,0,0,1),this}extractBasis(e,i,n){return e.setFromMatrixColumn(this,0),i.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(e,i,n){return this.set(e.x,i.x,n.x,0,e.y,i.y,n.y,0,e.z,i.z,n.z,0,0,0,0,1),this}extractRotation(e){const i=this.elements,n=e.elements,r=1/fo.setFromMatrixColumn(e,0).length(),a=1/fo.setFromMatrixColumn(e,1).length(),o=1/fo.setFromMatrixColumn(e,2).length();return i[0]=n[0]*r,i[1]=n[1]*r,i[2]=n[2]*r,i[3]=0,i[4]=n[4]*a,i[5]=n[5]*a,i[6]=n[6]*a,i[7]=0,i[8]=n[8]*o,i[9]=n[9]*o,i[10]=n[10]*o,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,this}makeRotationFromEuler(e){const i=this.elements,n=e.x,r=e.y,a=e.z,o=Math.cos(n),s=Math.sin(n),u=Math.cos(r),c=Math.sin(r),h=Math.cos(a),p=Math.sin(a);if(e.order==="XYZ"){const d=o*h,g=o*p,v=s*h,M=s*p;i[0]=u*h,i[4]=-u*p,i[8]=c,i[1]=g+v*c,i[5]=d-M*c,i[9]=-s*u,i[2]=M-d*c,i[6]=v+g*c,i[10]=o*u}else if(e.order==="YXZ"){const d=u*h,g=u*p,v=c*h,M=c*p;i[0]=d+M*s,i[4]=v*s-g,i[8]=o*c,i[1]=o*p,i[5]=o*h,i[9]=-s,i[2]=g*s-v,i[6]=M+d*s,i[10]=o*u}else if(e.order==="ZXY"){const d=u*h,g=u*p,v=c*h,M=c*p;i[0]=d-M*s,i[4]=-o*p,i[8]=v+g*s,i[1]=g+v*s,i[5]=o*h,i[9]=M-d*s,i[2]=-o*c,i[6]=s,i[10]=o*u}else if(e.order==="ZYX"){const d=o*h,g=o*p,v=s*h,M=s*p;i[0]=u*h,i[4]=v*c-g,i[8]=d*c+M,i[1]=u*p,i[5]=M*c+d,i[9]=g*c-v,i[2]=-c,i[6]=s*u,i[10]=o*u}else if(e.order==="YZX"){const d=o*u,g=o*c,v=s*u,M=s*c;i[0]=u*h,i[4]=M-d*p,i[8]=v*p+g,i[1]=p,i[5]=o*h,i[9]=-s*h,i[2]=-c*h,i[6]=g*p+v,i[10]=d-M*p}else if(e.order==="XZY"){const d=o*u,g=o*c,v=s*u,M=s*c;i[0]=u*h,i[4]=-p,i[8]=c*h,i[1]=d*p+M,i[5]=o*h,i[9]=g*p-v,i[2]=v*p-g,i[6]=s*h,i[10]=M*p+d}return i[3]=0,i[7]=0,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,this}makeRotationFromQuaternion(e){return this.compose(ow,e,sw)}lookAt(e,i,n){const r=this.elements;return Wi.subVectors(e,i),Wi.lengthSq()===0&&(Wi.z=1),Wi.normalize(),Nr.crossVectors(n,Wi),Nr.lengthSq()===0&&(Math.abs(n.z)===1?Wi.x+=1e-4:Wi.z+=1e-4,Wi.normalize(),Nr.crossVectors(n,Wi)),Nr.normalize(),mu.crossVectors(Wi,Nr),r[0]=Nr.x,r[4]=mu.x,r[8]=Wi.x,r[1]=Nr.y,r[5]=mu.y,r[9]=Wi.y,r[2]=Nr.z,r[6]=mu.z,r[10]=Wi.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,i){const n=e.elements,r=i.elements,a=this.elements,o=n[0],s=n[4],u=n[8],c=n[12],h=n[1],p=n[5],d=n[9],g=n[13],v=n[2],M=n[6],_=n[10],f=n[14],x=n[3],y=n[7],w=n[11],T=n[15],R=r[0],A=r[4],I=r[8],E=r[12],C=r[1],Y=r[5],ne=r[9],H=r[13],V=r[2],X=r[6],ie=r[10],Z=r[14],z=r[3],J=r[7],k=r[11],F=r[15];return a[0]=o*R+s*C+u*V+c*z,a[4]=o*A+s*Y+u*X+c*J,a[8]=o*I+s*ne+u*ie+c*k,a[12]=o*E+s*H+u*Z+c*F,a[1]=h*R+p*C+d*V+g*z,a[5]=h*A+p*Y+d*X+g*J,a[9]=h*I+p*ne+d*ie+g*k,a[13]=h*E+p*H+d*Z+g*F,a[2]=v*R+M*C+_*V+f*z,a[6]=v*A+M*Y+_*X+f*J,a[10]=v*I+M*ne+_*ie+f*k,a[14]=v*E+M*H+_*Z+f*F,a[3]=x*R+y*C+w*V+T*z,a[7]=x*A+y*Y+w*X+T*J,a[11]=x*I+y*ne+w*ie+T*k,a[15]=x*E+y*H+w*Z+T*F,this}multiplyScalar(e){const i=this.elements;return i[0]*=e,i[4]*=e,i[8]*=e,i[12]*=e,i[1]*=e,i[5]*=e,i[9]*=e,i[13]*=e,i[2]*=e,i[6]*=e,i[10]*=e,i[14]*=e,i[3]*=e,i[7]*=e,i[11]*=e,i[15]*=e,this}determinant(){const e=this.elements,i=e[0],n=e[4],r=e[8],a=e[12],o=e[1],s=e[5],u=e[9],c=e[13],h=e[2],p=e[6],d=e[10],g=e[14],v=e[3],M=e[7],_=e[11],f=e[15];return v*(+a*u*p-r*c*p-a*s*d+n*c*d+r*s*g-n*u*g)+M*(+i*u*g-i*c*d+a*o*d-r*o*g+r*c*h-a*u*h)+_*(+i*c*p-i*s*g-a*o*p+n*o*g+a*s*h-n*c*h)+f*(-r*s*h-i*u*p+i*s*d+r*o*p-n*o*d+n*u*h)}transpose(){const e=this.elements;let i;return i=e[1],e[1]=e[4],e[4]=i,i=e[2],e[2]=e[8],e[8]=i,i=e[6],e[6]=e[9],e[9]=i,i=e[3],e[3]=e[12],e[12]=i,i=e[7],e[7]=e[13],e[13]=i,i=e[11],e[11]=e[14],e[14]=i,this}setPosition(e,i,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]=i,r[14]=n),this}invert(){const e=this.elements,i=e[0],n=e[1],r=e[2],a=e[3],o=e[4],s=e[5],u=e[6],c=e[7],h=e[8],p=e[9],d=e[10],g=e[11],v=e[12],M=e[13],_=e[14],f=e[15],x=p*_*c-M*d*c+M*u*g-s*_*g-p*u*f+s*d*f,y=v*d*c-h*_*c-v*u*g+o*_*g+h*u*f-o*d*f,w=h*M*c-v*p*c+v*s*g-o*M*g-h*s*f+o*p*f,T=v*p*u-h*M*u-v*s*d+o*M*d+h*s*_-o*p*_,R=i*x+n*y+r*w+a*T;if(R===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const A=1/R;return e[0]=x*A,e[1]=(M*d*a-p*_*a-M*r*g+n*_*g+p*r*f-n*d*f)*A,e[2]=(s*_*a-M*u*a+M*r*c-n*_*c-s*r*f+n*u*f)*A,e[3]=(p*u*a-s*d*a-p*r*c+n*d*c+s*r*g-n*u*g)*A,e[4]=y*A,e[5]=(h*_*a-v*d*a+v*r*g-i*_*g-h*r*f+i*d*f)*A,e[6]=(v*u*a-o*_*a-v*r*c+i*_*c+o*r*f-i*u*f)*A,e[7]=(o*d*a-h*u*a+h*r*c-i*d*c-o*r*g+i*u*g)*A,e[8]=w*A,e[9]=(v*p*a-h*M*a-v*n*g+i*M*g+h*n*f-i*p*f)*A,e[10]=(o*M*a-v*s*a+v*n*c-i*M*c-o*n*f+i*s*f)*A,e[11]=(h*s*a-o*p*a-h*n*c+i*p*c+o*n*g-i*s*g)*A,e[12]=T*A,e[13]=(h*M*r-v*p*r+v*n*d-i*M*d-h*n*_+i*p*_)*A,e[14]=(v*s*r-o*M*r-v*n*u+i*M*u+o*n*_-i*s*_)*A,e[15]=(o*p*r-h*s*r+h*n*u-i*p*u-o*n*d+i*s*d)*A,this}scale(e){const i=this.elements,n=e.x,r=e.y,a=e.z;return i[0]*=n,i[4]*=r,i[8]*=a,i[1]*=n,i[5]*=r,i[9]*=a,i[2]*=n,i[6]*=r,i[10]*=a,i[3]*=n,i[7]*=r,i[11]*=a,this}getMaxScaleOnAxis(){const e=this.elements,i=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(i,n,r))}makeTranslation(e,i,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,i,0,0,1,n,0,0,0,1),this}makeRotationX(e){const i=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,i,-n,0,0,n,i,0,0,0,0,1),this}makeRotationY(e){const i=Math.cos(e),n=Math.sin(e);return this.set(i,0,n,0,0,1,0,0,-n,0,i,0,0,0,0,1),this}makeRotationZ(e){const i=Math.cos(e),n=Math.sin(e);return this.set(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,i){const n=Math.cos(i),r=Math.sin(i),a=1-n,o=e.x,s=e.y,u=e.z,c=a*o,h=a*s;return this.set(c*o+n,c*s-r*u,c*u+r*s,0,c*s+r*u,h*s+n,h*u-r*o,0,c*u-r*s,h*u+r*o,a*u*u+n,0,0,0,0,1),this}makeScale(e,i,n){return this.set(e,0,0,0,0,i,0,0,0,0,n,0,0,0,0,1),this}makeShear(e,i,n,r,a,o){return this.set(1,n,a,0,e,1,o,0,i,r,1,0,0,0,0,1),this}compose(e,i,n){const r=this.elements,a=i._x,o=i._y,s=i._z,u=i._w,c=a+a,h=o+o,p=s+s,d=a*c,g=a*h,v=a*p,M=o*h,_=o*p,f=s*p,x=u*c,y=u*h,w=u*p,T=n.x,R=n.y,A=n.z;return r[0]=(1-(M+f))*T,r[1]=(g+w)*T,r[2]=(v-y)*T,r[3]=0,r[4]=(g-w)*R,r[5]=(1-(d+f))*R,r[6]=(_+x)*R,r[7]=0,r[8]=(v+y)*A,r[9]=(_-x)*A,r[10]=(1-(d+M))*A,r[11]=0,r[12]=e.x,r[13]=e.y,r[14]=e.z,r[15]=1,this}decompose(e,i,n){const r=this.elements;let a=fo.set(r[0],r[1],r[2]).length();const o=fo.set(r[4],r[5],r[6]).length(),s=fo.set(r[8],r[9],r[10]).length();this.determinant()<0&&(a=-a),e.x=r[12],e.y=r[13],e.z=r[14],Rn.copy(this);const u=1/a,c=1/o,h=1/s;return Rn.elements[0]*=u,Rn.elements[1]*=u,Rn.elements[2]*=u,Rn.elements[4]*=c,Rn.elements[5]*=c,Rn.elements[6]*=c,Rn.elements[8]*=h,Rn.elements[9]*=h,Rn.elements[10]*=h,i.setFromRotationMatrix(Rn),n.x=a,n.y=o,n.z=s,this}makePerspective(e,i,n,r,a,o,s=Mr){const u=this.elements,c=2*a/(i-e),h=2*a/(n-r),p=(i+e)/(i-e),d=(n+r)/(n-r);let g,v;if(s===Mr)g=-(o+a)/(o-a),v=-2*o*a/(o-a);else if(s===Mc)g=-o/(o-a),v=-o*a/(o-a);else throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+s);return u[0]=c,u[4]=0,u[8]=p,u[12]=0,u[1]=0,u[5]=h,u[9]=d,u[13]=0,u[2]=0,u[6]=0,u[10]=g,u[14]=v,u[3]=0,u[7]=0,u[11]=-1,u[15]=0,this}makeOrthographic(e,i,n,r,a,o,s=Mr){const u=this.elements,c=1/(i-e),h=1/(n-r),p=1/(o-a),d=(i+e)*c,g=(n+r)*h;let v,M;if(s===Mr)v=(o+a)*p,M=-2*p;else if(s===Mc)v=a*p,M=-1*p;else throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+s);return u[0]=2*c,u[4]=0,u[8]=0,u[12]=-d,u[1]=0,u[5]=2*h,u[9]=0,u[13]=-g,u[2]=0,u[6]=0,u[10]=M,u[14]=-v,u[3]=0,u[7]=0,u[11]=0,u[15]=1,this}equals(e){const i=this.elements,n=e.elements;for(let r=0;r<16;r++)if(i[r]!==n[r])return!1;return!0}fromArray(e,i=0){for(let n=0;n<16;n++)this.elements[n]=e[n+i];return this}toArray(e=[],i=0){const n=this.elements;return e[i]=n[0],e[i+1]=n[1],e[i+2]=n[2],e[i+3]=n[3],e[i+4]=n[4],e[i+5]=n[5],e[i+6]=n[6],e[i+7]=n[7],e[i+8]=n[8],e[i+9]=n[9],e[i+10]=n[10],e[i+11]=n[11],e[i+12]=n[12],e[i+13]=n[13],e[i+14]=n[14],e[i+15]=n[15],e}}const fo=new q,Rn=new jt,ow=new q(0,0,0),sw=new q(1,1,1),Nr=new q,mu=new q,Wi=new q,iv=new jt,nv=new Fl;class Zc{constructor(e=0,i=0,n=0,r=Zc.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=i,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,i,n,r=this._order){return this._x=e,this._y=i,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,i=this._order,n=!0){const r=e.elements,a=r[0],o=r[4],s=r[8],u=r[1],c=r[5],h=r[9],p=r[2],d=r[6],g=r[10];switch(i){case"XYZ":this._y=Math.asin(Ei(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-h,g),this._z=Math.atan2(-o,a)):(this._x=Math.atan2(d,c),this._z=0);break;case"YXZ":this._x=Math.asin(-Ei(h,-1,1)),Math.abs(h)<.9999999?(this._y=Math.atan2(s,g),this._z=Math.atan2(u,c)):(this._y=Math.atan2(-p,a),this._z=0);break;case"ZXY":this._x=Math.asin(Ei(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-p,g),this._z=Math.atan2(-o,c)):(this._y=0,this._z=Math.atan2(u,a));break;case"ZYX":this._y=Math.asin(-Ei(p,-1,1)),Math.abs(p)<.9999999?(this._x=Math.atan2(d,g),this._z=Math.atan2(u,a)):(this._x=0,this._z=Math.atan2(-o,c));break;case"YZX":this._z=Math.asin(Ei(u,-1,1)),Math.abs(u)<.9999999?(this._x=Math.atan2(-h,c),this._y=Math.atan2(-p,a)):(this._x=0,this._y=Math.atan2(s,g));break;case"XZY":this._z=Math.asin(-Ei(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(d,c),this._y=Math.atan2(s,a)):(this._x=Math.atan2(-h,g),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+i)}return this._order=i,n===!0&&this._onChangeCallback(),this}setFromQuaternion(e,i,n){return iv.makeRotationFromQuaternion(e),this.setFromRotationMatrix(iv,i,n)}setFromVector3(e,i=this._order){return this.set(e.x,e.y,e.z,i)}reorder(e){return nv.setFromEuler(this),this.setFromQuaternion(nv,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],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],i=0){return e[i]=this._x,e[i+1]=this._y,e[i+2]=this._z,e[i+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}}Zc.DEFAULT_ORDER="XYZ";class G_{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let i=0;i1){for(let n=0;n0&&(n=n.concat(o))}return n}getWorldPosition(e){return this.updateWorldMatrix(!0,!1),e.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Us,e,uw),e}getWorldScale(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Us,cw,e),e}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const i=this.matrixWorld.elements;return e.set(i[8],i[9],i[10]).normalize()}raycast(){}traverse(e){e(this);const i=this.children;for(let n=0,r=i.length;n0&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),r.up=this.up.toArray(),this.matrixAutoUpdate===!1&&(r.matrixAutoUpdate=!1),this.isInstancedMesh&&(r.type="InstancedMesh",r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(r.instanceColor=this.instanceColor.toJSON()));function a(s,u){return s[u.uuid]===void 0&&(s[u.uuid]=u.toJSON(e)),u.uuid}if(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&&this.environment.isRenderTargetTexture!==!0&&(r.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=a(e.geometries,this.geometry);const s=this.geometry.parameters;if(s!==void 0&&s.shapes!==void 0){const u=s.shapes;if(Array.isArray(u))for(let c=0,h=u.length;c0){r.children=[];for(let s=0;s0){r.animations=[];for(let s=0;s0&&(n.geometries=s),u.length>0&&(n.materials=u),c.length>0&&(n.textures=c),h.length>0&&(n.images=h),p.length>0&&(n.shapes=p),d.length>0&&(n.skeletons=d),g.length>0&&(n.animations=g),v.length>0&&(n.nodes=v)}return n.object=r,n;function o(s){const u=[];for(const c in s){const h=s[c];delete h.metadata,u.push(h)}return u}}clone(e){return new this.constructor().copy(this,e)}copy(e,i=!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.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,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)),i===!0)for(let n=0;n0?r.multiplyScalar(1/Math.sqrt(a)):r.set(0,0,0)}static getBarycoord(e,i,n,r,a){bn.subVectors(r,i),cr.subVectors(n,i),Jh.subVectors(e,i);const o=bn.dot(bn),s=bn.dot(cr),u=bn.dot(Jh),c=cr.dot(cr),h=cr.dot(Jh),p=o*c-s*s;if(p===0)return a.set(-2,-1,-1);const d=1/p,g=(c*u-s*h)*d,v=(o*h-s*u)*d;return a.set(1-g-v,v,g)}static containsPoint(e,i,n,r){return this.getBarycoord(e,i,n,r,hr),hr.x>=0&&hr.y>=0&&hr.x+hr.y<=1}static getUV(e,i,n,r,a,o,s,u){return vu===!1&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),vu=!0),this.getInterpolation(e,i,n,r,a,o,s,u)}static getInterpolation(e,i,n,r,a,o,s,u){return this.getBarycoord(e,i,n,r,hr),u.setScalar(0),u.addScaledVector(a,hr.x),u.addScaledVector(o,hr.y),u.addScaledVector(s,hr.z),u}static isFrontFacing(e,i,n,r){return bn.subVectors(n,i),cr.subVectors(e,i),bn.cross(cr).dot(r)<0}set(e,i,n){return this.a.copy(e),this.b.copy(i),this.c.copy(n),this}setFromPointsAndIndices(e,i,n,r){return this.a.copy(e[i]),this.b.copy(e[n]),this.c.copy(e[r]),this}setFromAttributeAndIndices(e,i,n,r){return this.a.fromBufferAttribute(e,i),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 bn.subVectors(this.c,this.b),cr.subVectors(this.a,this.b),bn.cross(cr).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return In.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,i){return In.getBarycoord(e,this.a,this.b,this.c,i)}getUV(e,i,n,r,a){return vu===!1&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),vu=!0),In.getInterpolation(e,this.a,this.b,this.c,i,n,r,a)}getInterpolation(e,i,n,r,a){return In.getInterpolation(e,this.a,this.b,this.c,i,n,r,a)}containsPoint(e){return In.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return In.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,i){const n=this.a,r=this.b,a=this.c;let o,s;go.subVectors(r,n),vo.subVectors(a,n),Zh.subVectors(e,n);const u=go.dot(Zh),c=vo.dot(Zh);if(u<=0&&c<=0)return i.copy(n);Kh.subVectors(e,r);const h=go.dot(Kh),p=vo.dot(Kh);if(h>=0&&p<=h)return i.copy(r);const d=u*p-h*c;if(d<=0&&u>=0&&h<=0)return o=u/(u-h),i.copy(n).addScaledVector(go,o);qh.subVectors(e,a);const g=go.dot(qh),v=vo.dot(qh);if(v>=0&&g<=v)return i.copy(a);const M=g*c-u*v;if(M<=0&&c>=0&&v<=0)return s=c/(c-v),i.copy(n).addScaledVector(vo,s);const _=h*v-g*p;if(_<=0&&p-h>=0&&g-v>=0)return uv.subVectors(a,r),s=(p-h)/(p-h+(g-v)),i.copy(r).addScaledVector(uv,s);const f=1/(_+M+d);return o=M*f,s=d*f,i.copy(n).addScaledVector(go,o).addScaledVector(vo,s)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}let dw=0;class Bl extends ys{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:dw++}),this.uuid=Ol(),this.name="",this.type="Material",this.blending=Jo,this.side=ca,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.alphaHash=!1,this.blendSrc=w_,this.blendDst=T_,this.blendEquation=Ro,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=hp,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=zE,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=Nh,this.stencilZFail=Nh,this.stencilZPass=Nh,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(e!==void 0)for(const i in e){const n=e[i];if(n===void 0){console.warn(`THREE.Material: parameter '${i}' has value of undefined.`);continue}const r=this[i];if(r===void 0){console.warn(`THREE.Material: '${i}' is not a property of THREE.${this.type}.`);continue}r&&r.isColor?r.set(n):r&&r.isVector3&&n&&n.isVector3?r.copy(n):this[i]=n}}toJSON(e){const i=e===void 0||typeof e=="string";i&&(e={textures:{},images:{}});const n={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};n.uuid=this.uuid,n.type=this.type,this.name!==""&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),this.roughness!==void 0&&(n.roughness=this.roughness),this.metalness!==void 0&&(n.metalness=this.metalness),this.sheen!==void 0&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(n.shininess=this.shininess),this.clearcoat!==void 0&&(n.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(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()),this.iridescence!==void 0&&(n.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(n.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(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),this.anisotropy!==void 0&&(n.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(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,this.combine!==void 0&&(n.combine=this.combine)),this.envMapIntensity!==void 0&&(n.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(n.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(n.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(n.size=this.size),this.shadowSide!==null&&(n.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==Jo&&(n.blending=this.blending),this.side!==ca&&(n.side=this.side),this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),this.transparent===!0&&(n.transparent=this.transparent),n.depthFunc=this.depthFunc,n.depthTest=this.depthTest,n.depthWrite=this.depthWrite,n.colorWrite=this.colorWrite,n.stencilWrite=this.stencilWrite,n.stencilWriteMask=this.stencilWriteMask,n.stencilFunc=this.stencilFunc,n.stencilRef=this.stencilRef,n.stencilFuncMask=this.stencilFuncMask,n.stencilFail=this.stencilFail,n.stencilZFail=this.stencilZFail,n.stencilZPass=this.stencilZPass,this.rotation!==void 0&&this.rotation!==0&&(n.rotation=this.rotation),this.polygonOffset===!0&&(n.polygonOffset=!0),this.polygonOffsetFactor!==0&&(n.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(n.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(n.linewidth=this.linewidth),this.dashSize!==void 0&&(n.dashSize=this.dashSize),this.gapSize!==void 0&&(n.gapSize=this.gapSize),this.scale!==void 0&&(n.scale=this.scale),this.dithering===!0&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),this.alphaHash===!0&&(n.alphaHash=this.alphaHash),this.alphaToCoverage===!0&&(n.alphaToCoverage=this.alphaToCoverage),this.premultipliedAlpha===!0&&(n.premultipliedAlpha=this.premultipliedAlpha),this.forceSinglePass===!0&&(n.forceSinglePass=this.forceSinglePass),this.wireframe===!0&&(n.wireframe=this.wireframe),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(n.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(n.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(n.flatShading=this.flatShading),this.visible===!1&&(n.visible=!1),this.toneMapped===!1&&(n.toneMapped=!1),this.fog===!1&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData);function r(a){const o=[];for(const s in a){const u=a[s];delete u.metadata,o.push(u)}return o}if(i){const a=r(e.textures),o=r(e.images);a.length>0&&(n.textures=a),o.length>0&&(n.images=o)}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.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 i=e.clippingPlanes;let n=null;if(i!==null){const r=i.length;n=new Array(r);for(let a=0;a!==r;++a)n[a]=i[a].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){e===!0&&this.version++}}const H_={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},An={h:0,s:0,l:0},yu={h:0,s:0,l:0};function Qh(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<1/2?e:i<2/3?t+(e-t)*6*(2/3-i):t}class lt{constructor(e,i,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,i,n)}set(e,i,n){if(i===void 0&&n===void 0){const r=e;r&&r.isColor?this.copy(r):typeof r=="number"?this.setHex(r):typeof r=="string"&&this.setStyle(r)}else this.setRGB(e,i,n);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,i=We){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,Tn.toWorkingColorSpace(this,i),this}setRGB(e,i,n,r=Tn.workingColorSpace){return this.r=e,this.g=i,this.b=n,Tn.toWorkingColorSpace(this,r),this}setHSL(e,i,n,r=Tn.workingColorSpace){if(e=JE(e,1),i=Ei(i,0,1),n=Ei(n,0,1),i===0)this.r=this.g=this.b=n;else{const a=n<=.5?n*(1+i):n+i-n*i,o=2*n-a;this.r=Qh(o,a,e+1/3),this.g=Qh(o,a,e),this.b=Qh(o,a,e-1/3)}return Tn.toWorkingColorSpace(this,r),this}setStyle(e,i=We){function n(a){a!==void 0&&parseFloat(a)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let r;if(r=/^(\w+)\(([^\)]*)\)/.exec(e)){let a;const o=r[1],s=r[2];switch(o){case"rgb":case"rgba":if(a=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return n(a[4]),this.setRGB(Math.min(255,parseInt(a[1],10))/255,Math.min(255,parseInt(a[2],10))/255,Math.min(255,parseInt(a[3],10))/255,i);if(a=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return n(a[4]),this.setRGB(Math.min(100,parseInt(a[1],10))/100,Math.min(100,parseInt(a[2],10))/100,Math.min(100,parseInt(a[3],10))/100,i);break;case"hsl":case"hsla":if(a=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return n(a[4]),this.setHSL(parseFloat(a[1])/360,parseFloat(a[2])/100,parseFloat(a[3])/100,i);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(r=/^\#([A-Fa-f\d]+)$/.exec(e)){const a=r[1],o=a.length;if(o===3)return this.setRGB(parseInt(a.charAt(0),16)/15,parseInt(a.charAt(1),16)/15,parseInt(a.charAt(2),16)/15,i);if(o===6)return this.setHex(parseInt(a,16),i);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,i);return this}setColorName(e,i=We){const n=H_[e.toLowerCase()];return n!==void 0?this.setHex(n,i):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=Zo(e.r),this.g=Zo(e.g),this.b=Zo(e.b),this}copyLinearToSRGB(e){return this.r=Bh(e.r),this.g=Bh(e.g),this.b=Bh(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=We){return Tn.fromWorkingColorSpace(ri.copy(this),e),Math.round(Ei(ri.r*255,0,255))*65536+Math.round(Ei(ri.g*255,0,255))*256+Math.round(Ei(ri.b*255,0,255))}getHexString(e=We){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,i=Tn.workingColorSpace){Tn.fromWorkingColorSpace(ri.copy(this),i);const n=ri.r,r=ri.g,a=ri.b,o=Math.max(n,r,a),s=Math.min(n,r,a);let u,c;const h=(s+o)/2;if(s===o)u=0,c=0;else{const p=o-s;switch(c=h<=.5?p/(o+s):p/(2-o-s),o){case n:u=(r-a)/p+(r0&&(e.userData=this.userData),this.parameters!==void 0){const u=this.parameters;for(const c in u)u[c]!==void 0&&(e[c]=u[c]);return e}e.data={attributes:{}};const i=this.index;i!==null&&(e.data.index={type:i.array.constructor.name,array:Array.prototype.slice.call(i.array)});const n=this.attributes;for(const u in n){const c=n[u];e.data.attributes[u]=c.toJSON(e.data)}const r={};let a=!1;for(const u in this.morphAttributes){const c=this.morphAttributes[u],h=[];for(let p=0,d=c.length;p0&&(r[u]=h,a=!0)}a&&(e.data.morphAttributes=r,e.data.morphTargetsRelative=this.morphTargetsRelative);const o=this.groups;o.length>0&&(e.data.groups=JSON.parse(JSON.stringify(o)));const s=this.boundingSphere;return s!==null&&(e.data.boundingSphere={center:s.center.toArray(),radius:s.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 i={};this.name=e.name;const n=e.index;n!==null&&this.setIndex(n.clone(i));const r=e.attributes;for(const c in r){const h=r[c];this.setAttribute(c,h.clone(i))}const a=e.morphAttributes;for(const c in a){const h=[],p=a[c];for(let d=0,g=p.length;d0){const n=e[i[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let r=0,a=n.length;r(e.far-e.near)**2))&&(cv.copy(a).invert(),xa.copy(e.ray).applyMatrix4(cv),!(n.boundingBox!==null&&xa.intersectsBox(n.boundingBox)===!1)&&this._computeIntersections(e,i,xa)))}_computeIntersections(e,i,n){let r;const a=this.geometry,o=this.material,s=a.index,u=a.attributes.position,c=a.attributes.uv,h=a.attributes.uv1,p=a.attributes.normal,d=a.groups,g=a.drawRange;if(s!==null)if(Array.isArray(o))for(let v=0,M=d.length;vi.far?null:{distance:c,point:Ru.clone(),object:t}}function bu(t,e,i,n,r,a,o,s,u,c){t.getVertexPosition(s,_o),t.getVertexPosition(u,xo),t.getVertexPosition(c,Mo);const h=fw(t,e,i,n,_o,xo,Mo,Tu);if(h){r&&(Su.fromBufferAttribute(r,s),Eu.fromBufferAttribute(r,u),wu.fromBufferAttribute(r,c),h.uv=In.getInterpolation(Tu,_o,xo,Mo,Su,Eu,wu,new ot)),a&&(Su.fromBufferAttribute(a,s),Eu.fromBufferAttribute(a,u),wu.fromBufferAttribute(a,c),h.uv1=In.getInterpolation(Tu,_o,xo,Mo,Su,Eu,wu,new ot),h.uv2=h.uv1),o&&(dv.fromBufferAttribute(o,s),pv.fromBufferAttribute(o,u),fv.fromBufferAttribute(o,c),h.normal=In.getInterpolation(Tu,_o,xo,Mo,dv,pv,fv,new q),h.normal.dot(n.direction)>0&&h.normal.multiplyScalar(-1));const p={a:s,b:u,c,normal:new q,materialIndex:0};In.getNormal(_o,xo,Mo,p.normal),h.face=p}return h}class Gl extends Lr{constructor(e=1,i=1,n=1,r=1,a=1,o=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:i,depth:n,widthSegments:r,heightSegments:a,depthSegments:o};const s=this;r=Math.floor(r),a=Math.floor(a),o=Math.floor(o);const u=[],c=[],h=[],p=[];let d=0,g=0;v("z","y","x",-1,-1,n,i,e,o,a,0),v("z","y","x",1,-1,n,i,-e,o,a,1),v("x","z","y",1,1,e,n,i,r,o,2),v("x","z","y",1,-1,e,n,-i,r,o,3),v("x","y","z",1,-1,e,i,n,r,a,4),v("x","y","z",-1,-1,e,i,-n,r,a,5),this.setIndex(u),this.setAttribute("position",new Ba(c,3)),this.setAttribute("normal",new Ba(h,3)),this.setAttribute("uv",new Ba(p,2));function v(M,_,f,x,y,w,T,R,A,I,E){const C=w/A,Y=T/I,ne=w/2,H=T/2,V=R/2,X=A+1,ie=I+1;let Z=0,z=0;const J=new q;for(let k=0;k0?1:-1,h.push(J.x,J.y,J.z),p.push($/A),p.push(1-k/I),Z+=1}}for(let k=0;k0&&(i.defines=this.defines),i.vertexShader=this.vertexShader,i.fragmentShader=this.fragmentShader,i.lights=this.lights,i.clipping=this.clipping;const n={};for(const r in this.extensions)this.extensions[r]===!0&&(n[r]=!0);return Object.keys(n).length>0&&(i.extensions=n),i}}class Y_ extends Pi{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new jt,this.projectionMatrix=new jt,this.projectionMatrixInverse=new jt,this.coordinateSystem=Mr}copy(e,i){return super.copy(e,i),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const i=this.matrixWorld.elements;return e.set(-i[8],-i[9],-i[10]).normalize()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,i){super.updateWorldMatrix(e,i),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}class pn extends Y_{constructor(e=50,i=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=i,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,i){return super.copy(e,i),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const i=.5*this.getFilmHeight()/e;this.fov=vp*2*Math.atan(i),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(Oh*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return vp*2*Math.atan(Math.tan(Oh*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,i,n,r,a,o){this.aspect=e/i,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=i,this.view.offsetX=n,this.view.offsetY=r,this.view.width=a,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let i=e*Math.tan(Oh*.5*this.fov)/this.zoom,n=2*i,r=this.aspect*n,a=-.5*r;const o=this.view;if(this.view!==null&&this.view.enabled){const u=o.fullWidth,c=o.fullHeight;a+=o.offsetX*r/u,i-=o.offsetY*n/c,r*=o.width/u,n*=o.height/c}const s=this.filmOffset;s!==0&&(a+=e*s/this.getFilmWidth()),this.projectionMatrix.makePerspective(a,a+r,i,i-n,e,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const i=super.toJSON(e);return i.object.fov=this.fov,i.object.zoom=this.zoom,i.object.near=this.near,i.object.far=this.far,i.object.focus=this.focus,i.object.aspect=this.aspect,this.view!==null&&(i.object.view=Object.assign({},this.view)),i.object.filmGauge=this.filmGauge,i.object.filmOffset=this.filmOffset,i}}const So=-90,Eo=1;class _w extends Pi{constructor(e,i,n){super(),this.type="CubeCamera",this.renderTarget=n,this.coordinateSystem=null;const r=new pn(So,Eo,e,i);r.layers=this.layers,this.add(r);const a=new pn(So,Eo,e,i);a.layers=this.layers,this.add(a);const o=new pn(So,Eo,e,i);o.layers=this.layers,this.add(o);const s=new pn(So,Eo,e,i);s.layers=this.layers,this.add(s);const u=new pn(So,Eo,e,i);u.layers=this.layers,this.add(u);const c=new pn(So,Eo,e,i);c.layers=this.layers,this.add(c)}updateCoordinateSystem(){const e=this.coordinateSystem,i=this.children.concat(),[n,r,a,o,s,u]=i;for(const c of i)this.remove(c);if(e===Mr)n.up.set(0,1,0),n.lookAt(1,0,0),r.up.set(0,1,0),r.lookAt(-1,0,0),a.up.set(0,0,-1),a.lookAt(0,1,0),o.up.set(0,0,1),o.lookAt(0,-1,0),s.up.set(0,1,0),s.lookAt(0,0,1),u.up.set(0,1,0),u.lookAt(0,0,-1);else if(e===Mc)n.up.set(0,-1,0),n.lookAt(-1,0,0),r.up.set(0,-1,0),r.lookAt(1,0,0),a.up.set(0,0,1),a.lookAt(0,1,0),o.up.set(0,0,-1),o.lookAt(0,-1,0),s.up.set(0,-1,0),s.lookAt(0,0,1),u.up.set(0,-1,0),u.lookAt(0,0,-1);else throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);for(const c of i)this.add(c),c.updateMatrixWorld()}update(e,i){this.parent===null&&this.updateMatrixWorld();const n=this.renderTarget;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());const[r,a,o,s,u,c]=this.children,h=e.getRenderTarget(),p=e.xr.enabled;e.xr.enabled=!1;const d=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,e.setRenderTarget(n,0),e.render(i,r),e.setRenderTarget(n,1),e.render(i,a),e.setRenderTarget(n,2),e.render(i,o),e.setRenderTarget(n,3),e.render(i,s),e.setRenderTarget(n,4),e.render(i,u),n.texture.generateMipmaps=d,e.setRenderTarget(n,5),e.render(i,c),e.setRenderTarget(h),e.xr.enabled=p,n.texture.needsPMREMUpdate=!0}}class J_ extends Li{constructor(e,i,n,r,a,o,s,u,c,h){e=e!==void 0?e:[],i=i!==void 0?i:os,super(e,i,n,r,a,o,s,u,c,h),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class xw extends Ka{constructor(e=1,i={}){super(e,e,i),this.isWebGLCubeRenderTarget=!0;const n={width:e,height:e,depth:1},r=[n,n,n,n,n,n];i.encoding!==void 0&&(tl("THREE.WebGLCubeRenderTarget: option.encoding has been replaced by option.colorSpace."),i.colorSpace=i.encoding===Fa?We:za),this.texture=new J_(r,i.mapping,i.wrapS,i.wrapT,i.magFilter,i.minFilter,i.format,i.type,i.anisotropy,i.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=i.generateMipmaps!==void 0?i.generateMipmaps:!1,this.texture.minFilter=i.minFilter!==void 0?i.minFilter:dn}fromEquirectangularTexture(e,i){this.texture.type=i.type,this.texture.colorSpace=i.colorSpace,this.texture.generateMipmaps=i.generateMipmaps,this.texture.minFilter=i.minFilter,this.texture.magFilter=i.magFilter;const n={uniforms:{tEquirect:{value:null}},vertexShader:` + + varying vec3 vWorldDirection; + + vec3 transformDirection( in vec3 dir, in mat4 matrix ) { + + return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); + + } + + void main() { + + vWorldDirection = transformDirection( position, modelMatrix ); + + #include + #include + + } + `,fragmentShader:` + + uniform sampler2D tEquirect; + + varying vec3 vWorldDirection; + + #include + + void main() { + + vec3 direction = normalize( vWorldDirection ); + + vec2 sampleUV = equirectUv( direction ); + + gl_FragColor = texture2D( tEquirect, sampleUV ); + + } + `},r=new Gl(5,5,5),a=new qa({name:"CubemapFromEquirect",uniforms:us(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:Ci,blending:na});a.uniforms.tEquirect.value=i;const o=new Vr(r,a),s=i.minFilter;return i.minFilter===Sl&&(i.minFilter=dn),new _w(1,10,this).update(e,o),i.minFilter=s,o.geometry.dispose(),o.material.dispose(),this}clear(e,i,n,r){const a=e.getRenderTarget();for(let o=0;o<6;o++)e.setRenderTarget(this,o),e.clear(i,n,r);e.setRenderTarget(a)}}const td=new q,Mw=new q,Sw=new je;class Ra{constructor(e=new q(1,0,0),i=0){this.isPlane=!0,this.normal=e,this.constant=i}set(e,i){return this.normal.copy(e),this.constant=i,this}setComponents(e,i,n,r){return this.normal.set(e,i,n),this.constant=r,this}setFromNormalAndCoplanarPoint(e,i){return this.normal.copy(e),this.constant=-i.dot(this.normal),this}setFromCoplanarPoints(e,i,n){const r=td.subVectors(n,i).cross(Mw.subVectors(e,i)).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,i){return i.copy(e).addScaledVector(this.normal,-this.distanceToPoint(e))}intersectLine(e,i){const n=e.delta(td),r=this.normal.dot(n);if(r===0)return this.distanceToPoint(e.start)===0?i.copy(e.start):null;const a=-(e.start.dot(this.normal)+this.constant)/r;return a<0||a>1?null:i.copy(e.start).addScaledVector(n,a)}intersectsLine(e){const i=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return i<0&&n>0||n<0&&i>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,i){const n=i||Sw.getNormalMatrix(e),r=this.coplanarPoint(td).applyMatrix4(e),a=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(a),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 Ma=new Jc,Au=new q;class Z_{constructor(e=new Ra,i=new Ra,n=new Ra,r=new Ra,a=new Ra,o=new Ra){this.planes=[e,i,n,r,a,o]}set(e,i,n,r,a,o){const s=this.planes;return s[0].copy(e),s[1].copy(i),s[2].copy(n),s[3].copy(r),s[4].copy(a),s[5].copy(o),this}copy(e){const i=this.planes;for(let n=0;n<6;n++)i[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e,i=Mr){const n=this.planes,r=e.elements,a=r[0],o=r[1],s=r[2],u=r[3],c=r[4],h=r[5],p=r[6],d=r[7],g=r[8],v=r[9],M=r[10],_=r[11],f=r[12],x=r[13],y=r[14],w=r[15];if(n[0].setComponents(u-a,d-c,_-g,w-f).normalize(),n[1].setComponents(u+a,d+c,_+g,w+f).normalize(),n[2].setComponents(u+o,d+h,_+v,w+x).normalize(),n[3].setComponents(u-o,d-h,_-v,w-x).normalize(),n[4].setComponents(u-s,d-p,_-M,w-y).normalize(),i===Mr)n[5].setComponents(u+s,d+p,_+M,w+y).normalize();else if(i===Mc)n[5].setComponents(s,p,M,y).normalize();else throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+i);return this}intersectsObject(e){if(e.boundingSphere!==void 0)e.boundingSphere===null&&e.computeBoundingSphere(),Ma.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{const i=e.geometry;i.boundingSphere===null&&i.computeBoundingSphere(),Ma.copy(i.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(Ma)}intersectsSprite(e){return Ma.center.set(0,0,0),Ma.radius=.7071067811865476,Ma.applyMatrix4(e.matrixWorld),this.intersectsSphere(Ma)}intersectsSphere(e){const i=this.planes,n=e.center,r=-e.radius;for(let a=0;a<6;a++)if(i[a].distanceToPoint(n)0?e.max.x:e.min.x,Au.y=r.normal.y>0?e.max.y:e.min.y,Au.z=r.normal.z>0?e.max.z:e.min.z,r.distanceToPoint(Au)<0)return!1}return!0}containsPoint(e){const i=this.planes;for(let n=0;n<6;n++)if(i[n].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function K_(){let t=null,e=!1,i=null,n=null;function r(a,o){i(a,o),n=t.requestAnimationFrame(r)}return{start:function(){e!==!0&&i!==null&&(n=t.requestAnimationFrame(r),e=!0)},stop:function(){t.cancelAnimationFrame(n),e=!1},setAnimationLoop:function(a){i=a},setContext:function(a){t=a}}}function Ew(t,e){const i=e.isWebGL2,n=new WeakMap;function r(c,h){const p=c.array,d=c.usage,g=t.createBuffer();t.bindBuffer(h,g),t.bufferData(h,p,d),c.onUploadCallback();let v;if(p instanceof Float32Array)v=t.FLOAT;else if(p instanceof Uint16Array)if(c.isFloat16BufferAttribute)if(i)v=t.HALF_FLOAT;else throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");else v=t.UNSIGNED_SHORT;else if(p instanceof Int16Array)v=t.SHORT;else if(p instanceof Uint32Array)v=t.UNSIGNED_INT;else if(p instanceof Int32Array)v=t.INT;else if(p instanceof Int8Array)v=t.BYTE;else if(p instanceof Uint8Array)v=t.UNSIGNED_BYTE;else if(p instanceof Uint8ClampedArray)v=t.UNSIGNED_BYTE;else throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+p);return{buffer:g,type:v,bytesPerElement:p.BYTES_PER_ELEMENT,version:c.version}}function a(c,h,p){const d=h.array,g=h.updateRange;t.bindBuffer(p,c),g.count===-1?t.bufferSubData(p,0,d):(i?t.bufferSubData(p,g.offset*d.BYTES_PER_ELEMENT,d,g.offset,g.count):t.bufferSubData(p,g.offset*d.BYTES_PER_ELEMENT,d.subarray(g.offset,g.offset+g.count)),g.count=-1),h.onUploadCallback()}function o(c){return c.isInterleavedBufferAttribute&&(c=c.data),n.get(c)}function s(c){c.isInterleavedBufferAttribute&&(c=c.data);const h=n.get(c);h&&(t.deleteBuffer(h.buffer),n.delete(c))}function u(c,h){if(c.isGLBufferAttribute){const d=n.get(c);(!d||d.version 0 + vec4 plane; + #pragma unroll_loop_start + for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { + plane = clippingPlanes[ i ]; + if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard; + } + #pragma unroll_loop_end + #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES + bool clipped = true; + #pragma unroll_loop_start + for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) { + plane = clippingPlanes[ i ]; + clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped; + } + #pragma unroll_loop_end + if ( clipped ) discard; + #endif +#endif`,Fw=`#if NUM_CLIPPING_PLANES > 0 + varying vec3 vClipPosition; + uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ]; +#endif`,zw=`#if NUM_CLIPPING_PLANES > 0 + varying vec3 vClipPosition; +#endif`,Bw=`#if NUM_CLIPPING_PLANES > 0 + vClipPosition = - mvPosition.xyz; +#endif`,Gw=`#if defined( USE_COLOR_ALPHA ) + diffuseColor *= vColor; +#elif defined( USE_COLOR ) + diffuseColor.rgb *= vColor; +#endif`,Hw=`#if defined( USE_COLOR_ALPHA ) + varying vec4 vColor; +#elif defined( USE_COLOR ) + varying vec3 vColor; +#endif`,Xw=`#if defined( USE_COLOR_ALPHA ) + varying vec4 vColor; +#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) + varying vec3 vColor; +#endif`,Ww=`#if defined( USE_COLOR_ALPHA ) + vColor = vec4( 1.0 ); +#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) + vColor = vec3( 1.0 ); +#endif +#ifdef USE_COLOR + vColor *= color; +#endif +#ifdef USE_INSTANCING_COLOR + vColor.xyz *= instanceColor.xyz; +#endif`,Vw=`#define PI 3.141592653589793 +#define PI2 6.283185307179586 +#define PI_HALF 1.5707963267948966 +#define RECIPROCAL_PI 0.3183098861837907 +#define RECIPROCAL_PI2 0.15915494309189535 +#define EPSILON 1e-6 +#ifndef saturate +#define saturate( a ) clamp( a, 0.0, 1.0 ) +#endif +#define whiteComplement( a ) ( 1.0 - saturate( a ) ) +float pow2( const in float x ) { return x*x; } +vec3 pow2( const in vec3 x ) { return x*x; } +float pow3( const in float x ) { return x*x*x; } +float pow4( const in float x ) { float x2 = x*x; return x2*x2; } +float max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); } +float average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); } +highp float rand( const in vec2 uv ) { + const highp float a = 12.9898, b = 78.233, c = 43758.5453; + highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI ); + return fract( sin( sn ) * c ); +} +#ifdef HIGH_PRECISION + float precisionSafeLength( vec3 v ) { return length( v ); } +#else + float precisionSafeLength( vec3 v ) { + float maxComponent = max3( abs( v ) ); + return length( v / maxComponent ) * maxComponent; + } +#endif +struct IncidentLight { + vec3 color; + vec3 direction; + bool visible; +}; +struct ReflectedLight { + vec3 directDiffuse; + vec3 directSpecular; + vec3 indirectDiffuse; + vec3 indirectSpecular; +}; +struct GeometricContext { + vec3 position; + vec3 normal; + vec3 viewDir; +#ifdef USE_CLEARCOAT + vec3 clearcoatNormal; +#endif +}; +#ifdef USE_ALPHAHASH + varying vec3 vPosition; +#endif +vec3 transformDirection( in vec3 dir, in mat4 matrix ) { + return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); +} +vec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) { + return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz ); +} +mat3 transposeMat3( const in mat3 m ) { + mat3 tmp; + tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x ); + tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y ); + tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z ); + return tmp; +} +float luminance( const in vec3 rgb ) { + const vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 ); + return dot( weights, rgb ); +} +bool isPerspectiveMatrix( mat4 m ) { + return m[ 2 ][ 3 ] == - 1.0; +} +vec2 equirectUv( in vec3 dir ) { + float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5; + float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5; + return vec2( u, v ); +} +vec3 BRDF_Lambert( const in vec3 diffuseColor ) { + return RECIPROCAL_PI * diffuseColor; +} +vec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) { + float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH ); + return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel ); +} +float F_Schlick( const in float f0, const in float f90, const in float dotVH ) { + float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH ); + return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel ); +} // validated`,jw=`#ifdef ENVMAP_TYPE_CUBE_UV + #define cubeUV_minMipLevel 4.0 + #define cubeUV_minTileSize 16.0 + float getFace( vec3 direction ) { + vec3 absDirection = abs( direction ); + float face = - 1.0; + if ( absDirection.x > absDirection.z ) { + if ( absDirection.x > absDirection.y ) + face = direction.x > 0.0 ? 0.0 : 3.0; + else + face = direction.y > 0.0 ? 1.0 : 4.0; + } else { + if ( absDirection.z > absDirection.y ) + face = direction.z > 0.0 ? 2.0 : 5.0; + else + face = direction.y > 0.0 ? 1.0 : 4.0; + } + return face; + } + vec2 getUV( vec3 direction, float face ) { + vec2 uv; + if ( face == 0.0 ) { + uv = vec2( direction.z, direction.y ) / abs( direction.x ); + } else if ( face == 1.0 ) { + uv = vec2( - direction.x, - direction.z ) / abs( direction.y ); + } else if ( face == 2.0 ) { + uv = vec2( - direction.x, direction.y ) / abs( direction.z ); + } else if ( face == 3.0 ) { + uv = vec2( - direction.z, direction.y ) / abs( direction.x ); + } else if ( face == 4.0 ) { + uv = vec2( - direction.x, direction.z ) / abs( direction.y ); + } else { + uv = vec2( direction.x, direction.y ) / abs( direction.z ); + } + return 0.5 * ( uv + 1.0 ); + } + vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) { + float face = getFace( direction ); + float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 ); + mipInt = max( mipInt, cubeUV_minMipLevel ); + float faceSize = exp2( mipInt ); + highp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0; + if ( face > 2.0 ) { + uv.y += faceSize; + face -= 3.0; + } + uv.x += face * faceSize; + uv.x += filterInt * 3.0 * cubeUV_minTileSize; + uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize ); + uv.x *= CUBEUV_TEXEL_WIDTH; + uv.y *= CUBEUV_TEXEL_HEIGHT; + #ifdef texture2DGradEXT + return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb; + #else + return texture2D( envMap, uv ).rgb; + #endif + } + #define cubeUV_r0 1.0 + #define cubeUV_v0 0.339 + #define cubeUV_m0 - 2.0 + #define cubeUV_r1 0.8 + #define cubeUV_v1 0.276 + #define cubeUV_m1 - 1.0 + #define cubeUV_r4 0.4 + #define cubeUV_v4 0.046 + #define cubeUV_m4 2.0 + #define cubeUV_r5 0.305 + #define cubeUV_v5 0.016 + #define cubeUV_m5 3.0 + #define cubeUV_r6 0.21 + #define cubeUV_v6 0.0038 + #define cubeUV_m6 4.0 + float roughnessToMip( float roughness ) { + float mip = 0.0; + if ( roughness >= cubeUV_r1 ) { + mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0; + } else if ( roughness >= cubeUV_r4 ) { + mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1; + } else if ( roughness >= cubeUV_r5 ) { + mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4; + } else if ( roughness >= cubeUV_r6 ) { + mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5; + } else { + mip = - 2.0 * log2( 1.16 * roughness ); } + return mip; + } + vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) { + float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP ); + float mipF = fract( mip ); + float mipInt = floor( mip ); + vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt ); + if ( mipF == 0.0 ) { + return vec4( color0, 1.0 ); + } else { + vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 ); + return vec4( mix( color0, color1, mipF ), 1.0 ); + } + } +#endif`,Yw=`vec3 transformedNormal = objectNormal; +#ifdef USE_INSTANCING + mat3 m = mat3( instanceMatrix ); + transformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) ); + transformedNormal = m * transformedNormal; +#endif +transformedNormal = normalMatrix * transformedNormal; +#ifdef FLIP_SIDED + transformedNormal = - transformedNormal; +#endif +#ifdef USE_TANGENT + vec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz; + #ifdef FLIP_SIDED + transformedTangent = - transformedTangent; + #endif +#endif`,Jw=`#ifdef USE_DISPLACEMENTMAP + uniform sampler2D displacementMap; + uniform float displacementScale; + uniform float displacementBias; +#endif`,Zw=`#ifdef USE_DISPLACEMENTMAP + transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias ); +#endif`,Kw=`#ifdef USE_EMISSIVEMAP + vec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv ); + totalEmissiveRadiance *= emissiveColor.rgb; +#endif`,qw=`#ifdef USE_EMISSIVEMAP + uniform sampler2D emissiveMap; +#endif`,Qw="gl_FragColor = linearToOutputTexel( gl_FragColor );",$w=`vec4 LinearToLinear( in vec4 value ) { + return value; +} +vec4 LinearTosRGB( in vec4 value ) { + return 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 ); +}`,eT=`#ifdef USE_ENVMAP + #ifdef ENV_WORLDPOS + vec3 cameraToFrag; + if ( isOrthographic ) { + cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); + } else { + cameraToFrag = normalize( vWorldPosition - cameraPosition ); + } + vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); + #ifdef ENVMAP_MODE_REFLECTION + vec3 reflectVec = reflect( cameraToFrag, worldNormal ); + #else + vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio ); + #endif + #else + vec3 reflectVec = vReflect; + #endif + #ifdef ENVMAP_TYPE_CUBE + vec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) ); + #else + vec4 envColor = vec4( 0.0 ); + #endif + #ifdef ENVMAP_BLENDING_MULTIPLY + outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity ); + #elif defined( ENVMAP_BLENDING_MIX ) + outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity ); + #elif defined( ENVMAP_BLENDING_ADD ) + outgoingLight += envColor.xyz * specularStrength * reflectivity; + #endif +#endif`,tT=`#ifdef USE_ENVMAP + uniform float envMapIntensity; + uniform float flipEnvMap; + #ifdef ENVMAP_TYPE_CUBE + uniform samplerCube envMap; + #else + uniform sampler2D envMap; + #endif + +#endif`,iT=`#ifdef USE_ENVMAP + uniform float reflectivity; + #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) + #define ENV_WORLDPOS + #endif + #ifdef ENV_WORLDPOS + varying vec3 vWorldPosition; + uniform float refractionRatio; + #else + varying vec3 vReflect; + #endif +#endif`,nT=`#ifdef USE_ENVMAP + #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) + #define ENV_WORLDPOS + #endif + #ifdef ENV_WORLDPOS + + varying vec3 vWorldPosition; + #else + varying vec3 vReflect; + uniform float refractionRatio; + #endif +#endif`,rT=`#ifdef USE_ENVMAP + #ifdef ENV_WORLDPOS + vWorldPosition = worldPosition.xyz; + #else + vec3 cameraToVertex; + if ( isOrthographic ) { + cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); + } else { + cameraToVertex = normalize( worldPosition.xyz - cameraPosition ); + } + vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); + #ifdef ENVMAP_MODE_REFLECTION + vReflect = reflect( cameraToVertex, worldNormal ); + #else + vReflect = refract( cameraToVertex, worldNormal, refractionRatio ); + #endif + #endif +#endif`,aT=`#ifdef USE_FOG + vFogDepth = - mvPosition.z; +#endif`,oT=`#ifdef USE_FOG + varying float vFogDepth; +#endif`,sT=`#ifdef USE_FOG + #ifdef FOG_EXP2 + float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth ); + #else + float fogFactor = smoothstep( fogNear, fogFar, vFogDepth ); + #endif + gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor ); +#endif`,lT=`#ifdef USE_FOG + uniform vec3 fogColor; + varying float vFogDepth; + #ifdef FOG_EXP2 + uniform float fogDensity; + #else + uniform float fogNear; + uniform float fogFar; + #endif +#endif`,uT=`#ifdef USE_GRADIENTMAP + uniform sampler2D gradientMap; +#endif +vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) { + float dotNL = dot( normal, lightDirection ); + vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 ); + #ifdef USE_GRADIENTMAP + return vec3( texture2D( gradientMap, coord ).r ); + #else + vec2 fw = fwidth( coord ) * 0.5; + return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) ); + #endif +}`,cT=`#ifdef USE_LIGHTMAP + vec4 lightMapTexel = texture2D( lightMap, vLightMapUv ); + vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; + reflectedLight.indirectDiffuse += lightMapIrradiance; +#endif`,hT=`#ifdef USE_LIGHTMAP + uniform sampler2D lightMap; + uniform float lightMapIntensity; +#endif`,dT=`LambertMaterial material; +material.diffuseColor = diffuseColor.rgb; +material.specularStrength = specularStrength;`,pT=`varying vec3 vViewPosition; +struct LambertMaterial { + vec3 diffuseColor; + float specularStrength; +}; +void RE_Direct_Lambert( const in IncidentLight directLight, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { + float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); + vec3 irradiance = dotNL * directLight.color; + reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +void RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { + reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +#define RE_Direct RE_Direct_Lambert +#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert`,fT=`uniform bool receiveShadow; +uniform vec3 ambientLightColor; +uniform vec3 lightProbe[ 9 ]; +vec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) { + float x = normal.x, y = normal.y, z = normal.z; + vec3 result = shCoefficients[ 0 ] * 0.886227; + result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y; + result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z; + result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x; + result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y; + result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z; + result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 ); + result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z; + result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y ); + return result; +} +vec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) { + vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); + vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe ); + return irradiance; +} +vec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) { + vec3 irradiance = ambientLightColor; + return irradiance; +} +float getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) { + #if defined ( LEGACY_LIGHTS ) + if ( cutoffDistance > 0.0 && decayExponent > 0.0 ) { + return pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent ); + } + return 1.0; + #else + float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 ); + if ( cutoffDistance > 0.0 ) { + distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) ); + } + return distanceFalloff; + #endif +} +float getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) { + return smoothstep( coneCosine, penumbraCosine, angleCosine ); +} +#if NUM_DIR_LIGHTS > 0 + struct DirectionalLight { + vec3 direction; + vec3 color; + }; + uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ]; + void getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) { + light.color = directionalLight.color; + light.direction = directionalLight.direction; + light.visible = true; + } +#endif +#if NUM_POINT_LIGHTS > 0 + struct PointLight { + vec3 position; + vec3 color; + float distance; + float decay; + }; + uniform PointLight pointLights[ NUM_POINT_LIGHTS ]; + void getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) { + vec3 lVector = pointLight.position - geometry.position; + light.direction = normalize( lVector ); + float lightDistance = length( lVector ); + light.color = pointLight.color; + light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay ); + light.visible = ( light.color != vec3( 0.0 ) ); + } +#endif +#if NUM_SPOT_LIGHTS > 0 + struct SpotLight { + vec3 position; + vec3 direction; + vec3 color; + float distance; + float decay; + float coneCos; + float penumbraCos; + }; + uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ]; + void getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) { + vec3 lVector = spotLight.position - geometry.position; + light.direction = normalize( lVector ); + float angleCos = dot( light.direction, spotLight.direction ); + float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos ); + if ( spotAttenuation > 0.0 ) { + float lightDistance = length( lVector ); + light.color = spotLight.color * spotAttenuation; + light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay ); + light.visible = ( light.color != vec3( 0.0 ) ); + } else { + light.color = vec3( 0.0 ); + light.visible = false; + } + } +#endif +#if NUM_RECT_AREA_LIGHTS > 0 + struct RectAreaLight { + vec3 color; + vec3 position; + vec3 halfWidth; + vec3 halfHeight; + }; + uniform sampler2D ltc_1; uniform sampler2D ltc_2; + uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ]; +#endif +#if NUM_HEMI_LIGHTS > 0 + struct HemisphereLight { + vec3 direction; + vec3 skyColor; + vec3 groundColor; + }; + uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ]; + vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) { + float dotNL = dot( normal, hemiLight.direction ); + float hemiDiffuseWeight = 0.5 * dotNL + 0.5; + vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight ); + return irradiance; + } +#endif`,mT=`#ifdef USE_ENVMAP + vec3 getIBLIrradiance( const in vec3 normal ) { + #ifdef ENVMAP_TYPE_CUBE_UV + vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); + vec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 ); + return PI * envMapColor.rgb * envMapIntensity; + #else + return vec3( 0.0 ); + #endif + } + vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) { + #ifdef ENVMAP_TYPE_CUBE_UV + vec3 reflectVec = reflect( - viewDir, normal ); + reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) ); + reflectVec = inverseTransformDirection( reflectVec, viewMatrix ); + vec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness ); + return envMapColor.rgb * envMapIntensity; + #else + return vec3( 0.0 ); + #endif + } + #ifdef USE_ANISOTROPY + vec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) { + #ifdef ENVMAP_TYPE_CUBE_UV + vec3 bentNormal = cross( bitangent, viewDir ); + bentNormal = normalize( cross( bentNormal, bitangent ) ); + bentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) ); + return getIBLRadiance( viewDir, bentNormal, roughness ); + #else + return vec3( 0.0 ); + #endif + } + #endif +#endif`,gT=`ToonMaterial material; +material.diffuseColor = diffuseColor.rgb;`,vT=`varying vec3 vViewPosition; +struct ToonMaterial { + vec3 diffuseColor; +}; +void RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { + vec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color; + reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { + reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +#define RE_Direct RE_Direct_Toon +#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon`,yT=`BlinnPhongMaterial material; +material.diffuseColor = diffuseColor.rgb; +material.specularColor = specular; +material.specularShininess = shininess; +material.specularStrength = specularStrength;`,_T=`varying vec3 vViewPosition; +struct BlinnPhongMaterial { + vec3 diffuseColor; + vec3 specularColor; + float specularShininess; + float specularStrength; +}; +void RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { + float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); + vec3 irradiance = dotNL * directLight.color; + reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); + reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength; +} +void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { + reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +#define RE_Direct RE_Direct_BlinnPhong +#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong`,xT=`PhysicalMaterial material; +material.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor ); +vec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) ); +float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z ); +material.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness; +material.roughness = min( material.roughness, 1.0 ); +#ifdef IOR + material.ior = ior; + #ifdef USE_SPECULAR + float specularIntensityFactor = specularIntensity; + vec3 specularColorFactor = specularColor; + #ifdef USE_SPECULAR_COLORMAP + specularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb; + #endif + #ifdef USE_SPECULAR_INTENSITYMAP + specularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a; + #endif + material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor ); + #else + float specularIntensityFactor = 1.0; + vec3 specularColorFactor = vec3( 1.0 ); + material.specularF90 = 1.0; + #endif + material.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor ); +#else + material.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor ); + material.specularF90 = 1.0; +#endif +#ifdef USE_CLEARCOAT + material.clearcoat = clearcoat; + material.clearcoatRoughness = clearcoatRoughness; + material.clearcoatF0 = vec3( 0.04 ); + material.clearcoatF90 = 1.0; + #ifdef USE_CLEARCOATMAP + material.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x; + #endif + #ifdef USE_CLEARCOAT_ROUGHNESSMAP + material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y; + #endif + material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 ); + material.clearcoatRoughness += geometryRoughness; + material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 ); +#endif +#ifdef USE_IRIDESCENCE + material.iridescence = iridescence; + material.iridescenceIOR = iridescenceIOR; + #ifdef USE_IRIDESCENCEMAP + material.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r; + #endif + #ifdef USE_IRIDESCENCE_THICKNESSMAP + material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum; + #else + material.iridescenceThickness = iridescenceThicknessMaximum; + #endif +#endif +#ifdef USE_SHEEN + material.sheenColor = sheenColor; + #ifdef USE_SHEEN_COLORMAP + material.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb; + #endif + material.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 ); + #ifdef USE_SHEEN_ROUGHNESSMAP + material.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a; + #endif +#endif +#ifdef USE_ANISOTROPY + #ifdef USE_ANISOTROPYMAP + mat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x ); + vec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb; + vec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b; + #else + vec2 anisotropyV = anisotropyVector; + #endif + material.anisotropy = length( anisotropyV ); + anisotropyV /= material.anisotropy; + material.anisotropy = saturate( material.anisotropy ); + material.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) ); + material.anisotropyT = tbn[ 0 ] * anisotropyV.x - tbn[ 1 ] * anisotropyV.y; + material.anisotropyB = tbn[ 1 ] * anisotropyV.x + tbn[ 0 ] * anisotropyV.y; +#endif`,MT=`struct PhysicalMaterial { + vec3 diffuseColor; + float roughness; + vec3 specularColor; + float specularF90; + #ifdef USE_CLEARCOAT + float clearcoat; + float clearcoatRoughness; + vec3 clearcoatF0; + float clearcoatF90; + #endif + #ifdef USE_IRIDESCENCE + float iridescence; + float iridescenceIOR; + float iridescenceThickness; + vec3 iridescenceFresnel; + vec3 iridescenceF0; + #endif + #ifdef USE_SHEEN + vec3 sheenColor; + float sheenRoughness; + #endif + #ifdef IOR + float ior; + #endif + #ifdef USE_TRANSMISSION + float transmission; + float transmissionAlpha; + float thickness; + float attenuationDistance; + vec3 attenuationColor; + #endif + #ifdef USE_ANISOTROPY + float anisotropy; + float alphaT; + vec3 anisotropyT; + vec3 anisotropyB; + #endif +}; +vec3 clearcoatSpecular = vec3( 0.0 ); +vec3 sheenSpecular = vec3( 0.0 ); +vec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) { + float x = clamp( 1.0 - dotVH, 0.0, 1.0 ); + float x2 = x * x; + float x5 = clamp( x * x2 * x2, 0.0, 0.9999 ); + return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 ); +} +float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) { + float a2 = pow2( alpha ); + float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) ); + float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) ); + return 0.5 / max( gv + gl, EPSILON ); +} +float D_GGX( const in float alpha, const in float dotNH ) { + float a2 = pow2( alpha ); + float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0; + return RECIPROCAL_PI * a2 / pow2( denom ); +} +#ifdef USE_ANISOTROPY + float 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 ) { + float gv = dotNL * length( vec3( alphaT * dotTV, alphaB * dotBV, dotNV ) ); + float gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) ); + float v = 0.5 / ( gv + gl ); + return saturate(v); + } + float D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) { + float a2 = alphaT * alphaB; + highp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH ); + highp float v2 = dot( v, v ); + float w2 = a2 / v2; + return RECIPROCAL_PI * a2 * pow2 ( w2 ); + } +#endif +#ifdef USE_CLEARCOAT + vec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) { + vec3 f0 = material.clearcoatF0; + float f90 = material.clearcoatF90; + float roughness = material.clearcoatRoughness; + float alpha = pow2( roughness ); + vec3 halfDir = normalize( lightDir + viewDir ); + float dotNL = saturate( dot( normal, lightDir ) ); + float dotNV = saturate( dot( normal, viewDir ) ); + float dotNH = saturate( dot( normal, halfDir ) ); + float dotVH = saturate( dot( viewDir, halfDir ) ); + vec3 F = F_Schlick( f0, f90, dotVH ); + float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV ); + float D = D_GGX( alpha, dotNH ); + return F * ( V * D ); + } +#endif +vec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) { + vec3 f0 = material.specularColor; + float f90 = material.specularF90; + float roughness = material.roughness; + float alpha = pow2( roughness ); + vec3 halfDir = normalize( lightDir + viewDir ); + float dotNL = saturate( dot( normal, lightDir ) ); + float dotNV = saturate( dot( normal, viewDir ) ); + float dotNH = saturate( dot( normal, halfDir ) ); + float dotVH = saturate( dot( viewDir, halfDir ) ); + vec3 F = F_Schlick( f0, f90, dotVH ); + #ifdef USE_IRIDESCENCE + F = mix( F, material.iridescenceFresnel, material.iridescence ); + #endif + #ifdef USE_ANISOTROPY + float dotTL = dot( material.anisotropyT, lightDir ); + float dotTV = dot( material.anisotropyT, viewDir ); + float dotTH = dot( material.anisotropyT, halfDir ); + float dotBL = dot( material.anisotropyB, lightDir ); + float dotBV = dot( material.anisotropyB, viewDir ); + float dotBH = dot( material.anisotropyB, halfDir ); + float V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL ); + float D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH ); + #else + float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV ); + float D = D_GGX( alpha, dotNH ); + #endif + return F * ( V * D ); +} +vec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) { + const float LUT_SIZE = 64.0; + const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE; + const float LUT_BIAS = 0.5 / LUT_SIZE; + float dotNV = saturate( dot( N, V ) ); + vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) ); + uv = uv * LUT_SCALE + LUT_BIAS; + return uv; +} +float LTC_ClippedSphereFormFactor( const in vec3 f ) { + float l = length( f ); + return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 ); +} +vec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) { + float x = dot( v1, v2 ); + float y = abs( x ); + float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y; + float b = 3.4175940 + ( 4.1616724 + y ) * y; + float v = a / b; + float theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v; + return cross( v1, v2 ) * theta_sintheta; +} +vec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) { + vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ]; + vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ]; + vec3 lightNormal = cross( v1, v2 ); + if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 ); + vec3 T1, T2; + T1 = normalize( V - N * dot( V, N ) ); + T2 = - cross( N, T1 ); + mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) ); + vec3 coords[ 4 ]; + coords[ 0 ] = mat * ( rectCoords[ 0 ] - P ); + coords[ 1 ] = mat * ( rectCoords[ 1 ] - P ); + coords[ 2 ] = mat * ( rectCoords[ 2 ] - P ); + coords[ 3 ] = mat * ( rectCoords[ 3 ] - P ); + coords[ 0 ] = normalize( coords[ 0 ] ); + coords[ 1 ] = normalize( coords[ 1 ] ); + coords[ 2 ] = normalize( coords[ 2 ] ); + coords[ 3 ] = normalize( coords[ 3 ] ); + vec3 vectorFormFactor = vec3( 0.0 ); + vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] ); + vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] ); + vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] ); + vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] ); + float result = LTC_ClippedSphereFormFactor( vectorFormFactor ); + return vec3( result ); +} +#if defined( USE_SHEEN ) +float D_Charlie( float roughness, float dotNH ) { + float alpha = pow2( roughness ); + float invAlpha = 1.0 / alpha; + float cos2h = dotNH * dotNH; + float sin2h = max( 1.0 - cos2h, 0.0078125 ); + return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI ); +} +float V_Neubelt( float dotNV, float dotNL ) { + return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) ); +} +vec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) { + vec3 halfDir = normalize( lightDir + viewDir ); + float dotNL = saturate( dot( normal, lightDir ) ); + float dotNV = saturate( dot( normal, viewDir ) ); + float dotNH = saturate( dot( normal, halfDir ) ); + float D = D_Charlie( sheenRoughness, dotNH ); + float V = V_Neubelt( dotNV, dotNL ); + return sheenColor * ( D * V ); +} +#endif +float IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { + float dotNV = saturate( dot( normal, viewDir ) ); + float r2 = roughness * roughness; + float a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95; + float b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72; + float DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) ); + return saturate( DG * RECIPROCAL_PI ); +} +vec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { + float dotNV = saturate( dot( normal, viewDir ) ); + const vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 ); + const vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 ); + vec4 r = roughness * c0 + c1; + float a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y; + vec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw; + return fab; +} +vec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) { + vec2 fab = DFGApprox( normal, viewDir, roughness ); + return specularColor * fab.x + specularF90 * fab.y; +} +#ifdef USE_IRIDESCENCE +void 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 ) { +#else +void 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 ) { +#endif + vec2 fab = DFGApprox( normal, viewDir, roughness ); + #ifdef USE_IRIDESCENCE + vec3 Fr = mix( specularColor, iridescenceF0, iridescence ); + #else + vec3 Fr = specularColor; + #endif + vec3 FssEss = Fr * fab.x + specularF90 * fab.y; + float Ess = fab.x + fab.y; + float Ems = 1.0 - Ess; + vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg ); + singleScatter += FssEss; + multiScatter += Fms * Ems; +} +#if NUM_RECT_AREA_LIGHTS > 0 + void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { + vec3 normal = geometry.normal; + vec3 viewDir = geometry.viewDir; + vec3 position = geometry.position; + vec3 lightPos = rectAreaLight.position; + vec3 halfWidth = rectAreaLight.halfWidth; + vec3 halfHeight = rectAreaLight.halfHeight; + vec3 lightColor = rectAreaLight.color; + float roughness = material.roughness; + vec3 rectCoords[ 4 ]; + rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight; + rectCoords[ 2 ] = lightPos - halfWidth + halfHeight; + rectCoords[ 3 ] = lightPos + halfWidth + halfHeight; + vec2 uv = LTC_Uv( normal, viewDir, roughness ); + vec4 t1 = texture2D( ltc_1, uv ); + vec4 t2 = texture2D( ltc_2, uv ); + mat3 mInv = mat3( + vec3( t1.x, 0, t1.y ), + vec3( 0, 1, 0 ), + vec3( t1.z, 0, t1.w ) + ); + vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y ); + reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords ); + reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords ); + } +#endif +void RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { + float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); + vec3 irradiance = dotNL * directLight.color; + #ifdef USE_CLEARCOAT + float dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) ); + vec3 ccIrradiance = dotNLcc * directLight.color; + clearcoatSpecular += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material ); + #endif + #ifdef USE_SHEEN + sheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness ); + #endif + reflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material ); + reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +void RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { + reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) { + #ifdef USE_CLEARCOAT + clearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); + #endif + #ifdef USE_SHEEN + sheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness ); + #endif + vec3 singleScattering = vec3( 0.0 ); + vec3 multiScattering = vec3( 0.0 ); + vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI; + #ifdef USE_IRIDESCENCE + computeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering ); + #else + computeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering ); + #endif + vec3 totalScattering = singleScattering + multiScattering; + vec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) ); + reflectedLight.indirectSpecular += radiance * singleScattering; + reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance; + reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance; +} +#define RE_Direct RE_Direct_Physical +#define RE_Direct_RectArea RE_Direct_RectArea_Physical +#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical +#define RE_IndirectSpecular RE_IndirectSpecular_Physical +float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) { + return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion ); +}`,ST=` +GeometricContext geometry; +geometry.position = - vViewPosition; +geometry.normal = normal; +geometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition ); +#ifdef USE_CLEARCOAT + geometry.clearcoatNormal = clearcoatNormal; +#endif +#ifdef USE_IRIDESCENCE + float dotNVi = saturate( dot( normal, geometry.viewDir ) ); + if ( material.iridescenceThickness == 0.0 ) { + material.iridescence = 0.0; + } else { + material.iridescence = saturate( material.iridescence ); + } + if ( material.iridescence > 0.0 ) { + material.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor ); + material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi ); + } +#endif +IncidentLight directLight; +#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct ) + PointLight pointLight; + #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0 + PointLightShadow pointLightShadow; + #endif + #pragma unroll_loop_start + for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) { + pointLight = pointLights[ i ]; + getPointLightInfo( pointLight, geometry, directLight ); + #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS ) + pointLightShadow = pointLightShadows[ i ]; + directLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0; + #endif + RE_Direct( directLight, geometry, material, reflectedLight ); + } + #pragma unroll_loop_end +#endif +#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct ) + SpotLight spotLight; + vec4 spotColor; + vec3 spotLightCoord; + bool inSpotLightMap; + #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0 + SpotLightShadow spotLightShadow; + #endif + #pragma unroll_loop_start + for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) { + spotLight = spotLights[ i ]; + getSpotLightInfo( spotLight, geometry, directLight ); + #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) + #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX + #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) + #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS + #else + #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) + #endif + #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS ) + spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w; + inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) ); + spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy ); + directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color; + #endif + #undef SPOT_LIGHT_MAP_INDEX + #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) + spotLightShadow = spotLightShadows[ i ]; + directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; + #endif + RE_Direct( directLight, geometry, material, reflectedLight ); + } + #pragma unroll_loop_end +#endif +#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct ) + DirectionalLight directionalLight; + #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0 + DirectionalLightShadow directionalLightShadow; + #endif + #pragma unroll_loop_start + for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) { + directionalLight = directionalLights[ i ]; + getDirectionalLightInfo( directionalLight, geometry, directLight ); + #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS ) + directionalLightShadow = directionalLightShadows[ i ]; + directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; + #endif + RE_Direct( directLight, geometry, material, reflectedLight ); + } + #pragma unroll_loop_end +#endif +#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea ) + RectAreaLight rectAreaLight; + #pragma unroll_loop_start + for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) { + rectAreaLight = rectAreaLights[ i ]; + RE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight ); + } + #pragma unroll_loop_end +#endif +#if defined( RE_IndirectDiffuse ) + vec3 iblIrradiance = vec3( 0.0 ); + vec3 irradiance = getAmbientLightIrradiance( ambientLightColor ); + irradiance += getLightProbeIrradiance( lightProbe, geometry.normal ); + #if ( NUM_HEMI_LIGHTS > 0 ) + #pragma unroll_loop_start + for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) { + irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal ); + } + #pragma unroll_loop_end + #endif +#endif +#if defined( RE_IndirectSpecular ) + vec3 radiance = vec3( 0.0 ); + vec3 clearcoatRadiance = vec3( 0.0 ); +#endif`,ET=`#if defined( RE_IndirectDiffuse ) + #ifdef USE_LIGHTMAP + vec4 lightMapTexel = texture2D( lightMap, vLightMapUv ); + vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; + irradiance += lightMapIrradiance; + #endif + #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV ) + iblIrradiance += getIBLIrradiance( geometry.normal ); + #endif +#endif +#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular ) + #ifdef USE_ANISOTROPY + radiance += getIBLAnisotropyRadiance( geometry.viewDir, geometry.normal, material.roughness, material.anisotropyB, material.anisotropy ); + #else + radiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness ); + #endif + #ifdef USE_CLEARCOAT + clearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness ); + #endif +#endif`,wT=`#if defined( RE_IndirectDiffuse ) + RE_IndirectDiffuse( irradiance, geometry, material, reflectedLight ); +#endif +#if defined( RE_IndirectSpecular ) + RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight ); +#endif`,TT=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) + gl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5; +#endif`,RT=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) + uniform float logDepthBufFC; + varying float vFragDepth; + varying float vIsPerspective; +#endif`,bT=`#ifdef USE_LOGDEPTHBUF + #ifdef USE_LOGDEPTHBUF_EXT + varying float vFragDepth; + varying float vIsPerspective; + #else + uniform float logDepthBufFC; + #endif +#endif`,AT=`#ifdef USE_LOGDEPTHBUF + #ifdef USE_LOGDEPTHBUF_EXT + vFragDepth = 1.0 + gl_Position.w; + vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) ); + #else + if ( isPerspectiveMatrix( projectionMatrix ) ) { + gl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0; + gl_Position.z *= gl_Position.w; + } + #endif +#endif`,CT=`#ifdef USE_MAP + diffuseColor *= texture2D( map, vMapUv ); +#endif`,LT=`#ifdef USE_MAP + uniform sampler2D map; +#endif`,PT=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) + #if defined( USE_POINTS_UV ) + vec2 uv = vUv; + #else + vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy; + #endif +#endif +#ifdef USE_MAP + diffuseColor *= texture2D( map, uv ); +#endif +#ifdef USE_ALPHAMAP + diffuseColor.a *= texture2D( alphaMap, uv ).g; +#endif`,IT=`#if defined( USE_POINTS_UV ) + varying vec2 vUv; +#else + #if defined( USE_MAP ) || defined( USE_ALPHAMAP ) + uniform mat3 uvTransform; + #endif +#endif +#ifdef USE_MAP + uniform sampler2D map; +#endif +#ifdef USE_ALPHAMAP + uniform sampler2D alphaMap; +#endif`,DT=`float metalnessFactor = metalness; +#ifdef USE_METALNESSMAP + vec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv ); + metalnessFactor *= texelMetalness.b; +#endif`,kT=`#ifdef USE_METALNESSMAP + uniform sampler2D metalnessMap; +#endif`,UT=`#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE ) + vColor *= morphTargetBaseInfluence; + for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { + #if defined( USE_COLOR_ALPHA ) + if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ]; + #elif defined( USE_COLOR ) + if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ]; + #endif + } +#endif`,NT=`#ifdef USE_MORPHNORMALS + objectNormal *= morphTargetBaseInfluence; + #ifdef MORPHTARGETS_TEXTURE + for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { + if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ]; + } + #else + objectNormal += morphNormal0 * morphTargetInfluences[ 0 ]; + objectNormal += morphNormal1 * morphTargetInfluences[ 1 ]; + objectNormal += morphNormal2 * morphTargetInfluences[ 2 ]; + objectNormal += morphNormal3 * morphTargetInfluences[ 3 ]; + #endif +#endif`,OT=`#ifdef USE_MORPHTARGETS + uniform float morphTargetBaseInfluence; + #ifdef MORPHTARGETS_TEXTURE + uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ]; + uniform sampler2DArray morphTargetsTexture; + uniform ivec2 morphTargetsTextureSize; + vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) { + int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset; + int y = texelIndex / morphTargetsTextureSize.x; + int x = texelIndex - y * morphTargetsTextureSize.x; + ivec3 morphUV = ivec3( x, y, morphTargetIndex ); + return texelFetch( morphTargetsTexture, morphUV, 0 ); + } + #else + #ifndef USE_MORPHNORMALS + uniform float morphTargetInfluences[ 8 ]; + #else + uniform float morphTargetInfluences[ 4 ]; + #endif + #endif +#endif`,FT=`#ifdef USE_MORPHTARGETS + transformed *= morphTargetBaseInfluence; + #ifdef MORPHTARGETS_TEXTURE + for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { + if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ]; + } + #else + transformed += morphTarget0 * morphTargetInfluences[ 0 ]; + transformed += morphTarget1 * morphTargetInfluences[ 1 ]; + transformed += morphTarget2 * morphTargetInfluences[ 2 ]; + transformed += morphTarget3 * morphTargetInfluences[ 3 ]; + #ifndef USE_MORPHNORMALS + transformed += morphTarget4 * morphTargetInfluences[ 4 ]; + transformed += morphTarget5 * morphTargetInfluences[ 5 ]; + transformed += morphTarget6 * morphTargetInfluences[ 6 ]; + transformed += morphTarget7 * morphTargetInfluences[ 7 ]; + #endif + #endif +#endif`,zT=`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0; +#ifdef FLAT_SHADED + vec3 fdx = dFdx( vViewPosition ); + vec3 fdy = dFdy( vViewPosition ); + vec3 normal = normalize( cross( fdx, fdy ) ); +#else + vec3 normal = normalize( vNormal ); + #ifdef DOUBLE_SIDED + normal *= faceDirection; + #endif +#endif +#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) + #ifdef USE_TANGENT + mat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal ); + #else + mat3 tbn = getTangentFrame( - vViewPosition, normal, + #if defined( USE_NORMALMAP ) + vNormalMapUv + #elif defined( USE_CLEARCOAT_NORMALMAP ) + vClearcoatNormalMapUv + #else + vUv + #endif + ); + #endif + #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED ) + tbn[0] *= faceDirection; + tbn[1] *= faceDirection; + #endif +#endif +#ifdef USE_CLEARCOAT_NORMALMAP + #ifdef USE_TANGENT + mat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal ); + #else + mat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv ); + #endif + #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED ) + tbn2[0] *= faceDirection; + tbn2[1] *= faceDirection; + #endif +#endif +vec3 geometryNormal = normal;`,BT=`#ifdef USE_NORMALMAP_OBJECTSPACE + normal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0; + #ifdef FLIP_SIDED + normal = - normal; + #endif + #ifdef DOUBLE_SIDED + normal = normal * faceDirection; + #endif + normal = normalize( normalMatrix * normal ); +#elif defined( USE_NORMALMAP_TANGENTSPACE ) + vec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0; + mapN.xy *= normalScale; + normal = normalize( tbn * mapN ); +#elif defined( USE_BUMPMAP ) + normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection ); +#endif`,GT=`#ifndef FLAT_SHADED + varying vec3 vNormal; + #ifdef USE_TANGENT + varying vec3 vTangent; + varying vec3 vBitangent; + #endif +#endif`,HT=`#ifndef FLAT_SHADED + varying vec3 vNormal; + #ifdef USE_TANGENT + varying vec3 vTangent; + varying vec3 vBitangent; + #endif +#endif`,XT=`#ifndef FLAT_SHADED + vNormal = normalize( transformedNormal ); + #ifdef USE_TANGENT + vTangent = normalize( transformedTangent ); + vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); + #endif +#endif`,WT=`#ifdef USE_NORMALMAP + uniform sampler2D normalMap; + uniform vec2 normalScale; +#endif +#ifdef USE_NORMALMAP_OBJECTSPACE + uniform mat3 normalMatrix; +#endif +#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) ) + mat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) { + vec3 q0 = dFdx( eye_pos.xyz ); + vec3 q1 = dFdy( eye_pos.xyz ); + vec2 st0 = dFdx( uv.st ); + vec2 st1 = dFdy( uv.st ); + vec3 N = surf_norm; + vec3 q1perp = cross( q1, N ); + vec3 q0perp = cross( N, q0 ); + vec3 T = q1perp * st0.x + q0perp * st1.x; + vec3 B = q1perp * st0.y + q0perp * st1.y; + float det = max( dot( T, T ), dot( B, B ) ); + float scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det ); + return mat3( T * scale, B * scale, N ); + } +#endif`,VT=`#ifdef USE_CLEARCOAT + vec3 clearcoatNormal = geometryNormal; +#endif`,jT=`#ifdef USE_CLEARCOAT_NORMALMAP + vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0; + clearcoatMapN.xy *= clearcoatNormalScale; + clearcoatNormal = normalize( tbn2 * clearcoatMapN ); +#endif`,YT=`#ifdef USE_CLEARCOATMAP + uniform sampler2D clearcoatMap; +#endif +#ifdef USE_CLEARCOAT_NORMALMAP + uniform sampler2D clearcoatNormalMap; + uniform vec2 clearcoatNormalScale; +#endif +#ifdef USE_CLEARCOAT_ROUGHNESSMAP + uniform sampler2D clearcoatRoughnessMap; +#endif`,JT=`#ifdef USE_IRIDESCENCEMAP + uniform sampler2D iridescenceMap; +#endif +#ifdef USE_IRIDESCENCE_THICKNESSMAP + uniform sampler2D iridescenceThicknessMap; +#endif`,ZT=`#ifdef OPAQUE +diffuseColor.a = 1.0; +#endif +#ifdef USE_TRANSMISSION +diffuseColor.a *= material.transmissionAlpha; +#endif +gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,KT=`vec3 packNormalToRGB( const in vec3 normal ) { + return normalize( normal ) * 0.5 + 0.5; +} +vec3 unpackRGBToNormal( const in vec3 rgb ) { + return 2.0 * rgb.xyz - 1.0; +} +const float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.; +const vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. ); +const vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. ); +const float ShiftRight8 = 1. / 256.; +vec4 packDepthToRGBA( const in float v ) { + vec4 r = vec4( fract( v * PackFactors ), v ); + r.yzw -= r.xyz * ShiftRight8; return r * PackUpscale; +} +float unpackRGBAToDepth( const in vec4 v ) { + return dot( v, UnpackFactors ); +} +vec2 packDepthToRG( in highp float v ) { + return packDepthToRGBA( v ).yx; +} +float unpackRGToDepth( const in highp vec2 v ) { + return unpackRGBAToDepth( vec4( v.xy, 0.0, 0.0 ) ); +} +vec4 pack2HalfToRGBA( vec2 v ) { + vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) ); + return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w ); +} +vec2 unpackRGBATo2Half( vec4 v ) { + return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) ); +} +float viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) { + return ( viewZ + near ) / ( near - far ); +} +float orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) { + return depth * ( near - far ) - near; +} +float viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) { + return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ ); +} +float perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) { + return ( near * far ) / ( ( far - near ) * depth - far ); +}`,qT=`#ifdef PREMULTIPLIED_ALPHA + gl_FragColor.rgb *= gl_FragColor.a; +#endif`,QT=`vec4 mvPosition = vec4( transformed, 1.0 ); +#ifdef USE_INSTANCING + mvPosition = instanceMatrix * mvPosition; +#endif +mvPosition = modelViewMatrix * mvPosition; +gl_Position = projectionMatrix * mvPosition;`,$T=`#ifdef DITHERING + gl_FragColor.rgb = dithering( gl_FragColor.rgb ); +#endif`,eR=`#ifdef DITHERING + vec3 dithering( vec3 color ) { + float grid_position = rand( gl_FragCoord.xy ); + vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 ); + dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position ); + return color + dither_shift_RGB; + } +#endif`,tR=`float roughnessFactor = roughness; +#ifdef USE_ROUGHNESSMAP + vec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv ); + roughnessFactor *= texelRoughness.g; +#endif`,iR=`#ifdef USE_ROUGHNESSMAP + uniform sampler2D roughnessMap; +#endif`,nR=`#if NUM_SPOT_LIGHT_COORDS > 0 + varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; +#endif +#if NUM_SPOT_LIGHT_MAPS > 0 + uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ]; +#endif +#ifdef USE_SHADOWMAP + #if NUM_DIR_LIGHT_SHADOWS > 0 + uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ]; + varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; + struct DirectionalLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + }; + uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; + #endif + #if NUM_SPOT_LIGHT_SHADOWS > 0 + uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ]; + struct SpotLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + }; + uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; + #endif + #if NUM_POINT_LIGHT_SHADOWS > 0 + uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ]; + varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; + struct PointLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + float shadowCameraNear; + float shadowCameraFar; + }; + uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; + #endif + float texture2DCompare( sampler2D depths, vec2 uv, float compare ) { + return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) ); + } + vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) { + return unpackRGBATo2Half( texture2D( shadow, uv ) ); + } + float VSMShadow (sampler2D shadow, vec2 uv, float compare ){ + float occlusion = 1.0; + vec2 distribution = texture2DDistribution( shadow, uv ); + float hard_shadow = step( compare , distribution.x ); + if (hard_shadow != 1.0 ) { + float distance = compare - distribution.x ; + float variance = max( 0.00000, distribution.y * distribution.y ); + float softness_probability = variance / (variance + distance * distance ); softness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); occlusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 ); + } + return occlusion; + } + float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) { + float shadow = 1.0; + shadowCoord.xyz /= shadowCoord.w; + shadowCoord.z += shadowBias; + bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0; + bool frustumTest = inFrustum && shadowCoord.z <= 1.0; + if ( frustumTest ) { + #if defined( SHADOWMAP_TYPE_PCF ) + vec2 texelSize = vec2( 1.0 ) / shadowMapSize; + float dx0 = - texelSize.x * shadowRadius; + float dy0 = - texelSize.y * shadowRadius; + float dx1 = + texelSize.x * shadowRadius; + float dy1 = + texelSize.y * shadowRadius; + float dx2 = dx0 / 2.0; + float dy2 = dy0 / 2.0; + float dx3 = dx1 / 2.0; + float dy3 = dy1 / 2.0; + shadow = ( + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z ) + ) * ( 1.0 / 17.0 ); + #elif defined( SHADOWMAP_TYPE_PCF_SOFT ) + vec2 texelSize = vec2( 1.0 ) / shadowMapSize; + float dx = texelSize.x; + float dy = texelSize.y; + vec2 uv = shadowCoord.xy; + vec2 f = fract( uv * shadowMapSize + 0.5 ); + uv -= f * texelSize; + shadow = ( + texture2DCompare( shadowMap, uv, shadowCoord.z ) + + texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) + + texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) + + mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ), + f.x ) + + mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ), + f.x ) + + mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ), + f.y ) + + mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ), + f.y ) + + mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ), + f.x ), + mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ), + f.x ), + f.y ) + ) * ( 1.0 / 9.0 ); + #elif defined( SHADOWMAP_TYPE_VSM ) + shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z ); + #else + shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ); + #endif + } + return shadow; + } + vec2 cubeToUV( vec3 v, float texelSizeY ) { + vec3 absV = abs( v ); + float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) ); + absV *= scaleToCube; + v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY ); + vec2 planar = v.xy; + float almostATexel = 1.5 * texelSizeY; + float almostOne = 1.0 - almostATexel; + if ( absV.z >= almostOne ) { + if ( v.z > 0.0 ) + planar.x = 4.0 - v.x; + } else if ( absV.x >= almostOne ) { + float signX = sign( v.x ); + planar.x = v.z * signX + 2.0 * signX; + } else if ( absV.y >= almostOne ) { + float signY = sign( v.y ); + planar.x = v.x + 2.0 * signY + 2.0; + planar.y = v.z * signY - 2.0; + } + return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 ); + } + float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) { + vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) ); + vec3 lightToPosition = shadowCoord.xyz; + float dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); dp += shadowBias; + vec3 bd3D = normalize( lightToPosition ); + #if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM ) + vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y; + return ( + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp ) + ) * ( 1.0 / 9.0 ); + #else + return texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ); + #endif + } +#endif`,rR=`#if NUM_SPOT_LIGHT_COORDS > 0 + uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ]; + varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; +#endif +#ifdef USE_SHADOWMAP + #if NUM_DIR_LIGHT_SHADOWS > 0 + uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ]; + varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; + struct DirectionalLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + }; + uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; + #endif + #if NUM_SPOT_LIGHT_SHADOWS > 0 + struct SpotLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + }; + uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; + #endif + #if NUM_POINT_LIGHT_SHADOWS > 0 + uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ]; + varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; + struct PointLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + float shadowCameraNear; + float shadowCameraFar; + }; + uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; + #endif +#endif`,aR=`#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 ) + vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); + vec4 shadowWorldPosition; +#endif +#if defined( USE_SHADOWMAP ) + #if NUM_DIR_LIGHT_SHADOWS > 0 + #pragma unroll_loop_start + for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { + shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 ); + vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition; + } + #pragma unroll_loop_end + #endif + #if NUM_POINT_LIGHT_SHADOWS > 0 + #pragma unroll_loop_start + for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { + shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 ); + vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition; + } + #pragma unroll_loop_end + #endif +#endif +#if NUM_SPOT_LIGHT_COORDS > 0 + #pragma unroll_loop_start + for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) { + shadowWorldPosition = worldPosition; + #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) + shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias; + #endif + vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition; + } + #pragma unroll_loop_end +#endif`,oR=`float getShadowMask() { + float shadow = 1.0; + #ifdef USE_SHADOWMAP + #if NUM_DIR_LIGHT_SHADOWS > 0 + DirectionalLightShadow directionalLight; + #pragma unroll_loop_start + for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { + directionalLight = directionalLightShadows[ i ]; + shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; + } + #pragma unroll_loop_end + #endif + #if NUM_SPOT_LIGHT_SHADOWS > 0 + SpotLightShadow spotLight; + #pragma unroll_loop_start + for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) { + spotLight = spotLightShadows[ i ]; + shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; + } + #pragma unroll_loop_end + #endif + #if NUM_POINT_LIGHT_SHADOWS > 0 + PointLightShadow pointLight; + #pragma unroll_loop_start + for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { + pointLight = pointLightShadows[ i ]; + shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0; + } + #pragma unroll_loop_end + #endif + #endif + return shadow; +}`,sR=`#ifdef USE_SKINNING + mat4 boneMatX = getBoneMatrix( skinIndex.x ); + mat4 boneMatY = getBoneMatrix( skinIndex.y ); + mat4 boneMatZ = getBoneMatrix( skinIndex.z ); + mat4 boneMatW = getBoneMatrix( skinIndex.w ); +#endif`,lR=`#ifdef USE_SKINNING + uniform mat4 bindMatrix; + uniform mat4 bindMatrixInverse; + uniform highp sampler2D boneTexture; + uniform int boneTextureSize; + mat4 getBoneMatrix( const in float i ) { + float j = i * 4.0; + float x = mod( j, float( boneTextureSize ) ); + float y = floor( j / float( boneTextureSize ) ); + float dx = 1.0 / float( boneTextureSize ); + float dy = 1.0 / float( boneTextureSize ); + y = dy * ( y + 0.5 ); + vec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) ); + vec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) ); + vec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) ); + vec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) ); + mat4 bone = mat4( v1, v2, v3, v4 ); + return bone; + } +#endif`,uR=`#ifdef USE_SKINNING + vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 ); + vec4 skinned = vec4( 0.0 ); + skinned += boneMatX * skinVertex * skinWeight.x; + skinned += boneMatY * skinVertex * skinWeight.y; + skinned += boneMatZ * skinVertex * skinWeight.z; + skinned += boneMatW * skinVertex * skinWeight.w; + transformed = ( bindMatrixInverse * skinned ).xyz; +#endif`,cR=`#ifdef USE_SKINNING + mat4 skinMatrix = mat4( 0.0 ); + skinMatrix += skinWeight.x * boneMatX; + skinMatrix += skinWeight.y * boneMatY; + skinMatrix += skinWeight.z * boneMatZ; + skinMatrix += skinWeight.w * boneMatW; + skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix; + objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz; + #ifdef USE_TANGENT + objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz; + #endif +#endif`,hR=`float specularStrength; +#ifdef USE_SPECULARMAP + vec4 texelSpecular = texture2D( specularMap, vSpecularMapUv ); + specularStrength = texelSpecular.r; +#else + specularStrength = 1.0; +#endif`,dR=`#ifdef USE_SPECULARMAP + uniform sampler2D specularMap; +#endif`,pR=`#if defined( TONE_MAPPING ) + gl_FragColor.rgb = toneMapping( gl_FragColor.rgb ); +#endif`,fR=`#ifndef saturate +#define saturate( a ) clamp( a, 0.0, 1.0 ) +#endif +uniform float toneMappingExposure; +vec3 LinearToneMapping( vec3 color ) { + return saturate( toneMappingExposure * color ); +} +vec3 ReinhardToneMapping( vec3 color ) { + color *= toneMappingExposure; + return saturate( color / ( vec3( 1.0 ) + color ) ); +} +vec3 OptimizedCineonToneMapping( vec3 color ) { + color *= toneMappingExposure; + color = max( vec3( 0.0 ), color - 0.004 ); + return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) ); +} +vec3 RRTAndODTFit( vec3 v ) { + vec3 a = v * ( v + 0.0245786 ) - 0.000090537; + vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081; + return a / b; +} +vec3 ACESFilmicToneMapping( vec3 color ) { + const mat3 ACESInputMat = mat3( + vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ), + vec3( 0.04823, 0.01566, 0.83777 ) + ); + const mat3 ACESOutputMat = mat3( + vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ), + vec3( -0.07367, -0.00605, 1.07602 ) + ); + color *= toneMappingExposure / 0.6; + color = ACESInputMat * color; + color = RRTAndODTFit( color ); + color = ACESOutputMat * color; + return saturate( color ); +} +vec3 CustomToneMapping( vec3 color ) { return color; }`,mR=`#ifdef USE_TRANSMISSION + material.transmission = transmission; + material.transmissionAlpha = 1.0; + material.thickness = thickness; + material.attenuationDistance = attenuationDistance; + material.attenuationColor = attenuationColor; + #ifdef USE_TRANSMISSIONMAP + material.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r; + #endif + #ifdef USE_THICKNESSMAP + material.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g; + #endif + vec3 pos = vWorldPosition; + vec3 v = normalize( cameraPosition - pos ); + vec3 n = inverseTransformDirection( normal, viewMatrix ); + vec4 transmitted = getIBLVolumeRefraction( + n, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90, + pos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness, + material.attenuationColor, material.attenuationDistance ); + material.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission ); + totalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission ); +#endif`,gR=`#ifdef USE_TRANSMISSION + uniform float transmission; + uniform float thickness; + uniform float attenuationDistance; + uniform vec3 attenuationColor; + #ifdef USE_TRANSMISSIONMAP + uniform sampler2D transmissionMap; + #endif + #ifdef USE_THICKNESSMAP + uniform sampler2D thicknessMap; + #endif + uniform vec2 transmissionSamplerSize; + uniform sampler2D transmissionSamplerMap; + uniform mat4 modelMatrix; + uniform mat4 projectionMatrix; + varying vec3 vWorldPosition; + float w0( float a ) { + return ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 ); + } + float w1( float a ) { + return ( 1.0 / 6.0 ) * ( a * a * ( 3.0 * a - 6.0 ) + 4.0 ); + } + float w2( float a ){ + return ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 ); + } + float w3( float a ) { + return ( 1.0 / 6.0 ) * ( a * a * a ); + } + float g0( float a ) { + return w0( a ) + w1( a ); + } + float g1( float a ) { + return w2( a ) + w3( a ); + } + float h0( float a ) { + return - 1.0 + w1( a ) / ( w0( a ) + w1( a ) ); + } + float h1( float a ) { + return 1.0 + w3( a ) / ( w2( a ) + w3( a ) ); + } + vec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) { + uv = uv * texelSize.zw + 0.5; + vec2 iuv = floor( uv ); + vec2 fuv = fract( uv ); + float g0x = g0( fuv.x ); + float g1x = g1( fuv.x ); + float h0x = h0( fuv.x ); + float h1x = h1( fuv.x ); + float h0y = h0( fuv.y ); + float h1y = h1( fuv.y ); + vec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy; + vec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy; + vec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy; + vec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy; + return g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) + + g1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) ); + } + vec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) { + vec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) ); + vec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) ); + vec2 fLodSizeInv = 1.0 / fLodSize; + vec2 cLodSizeInv = 1.0 / cLodSize; + vec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) ); + vec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) ); + return mix( fSample, cSample, fract( lod ) ); + } + vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) { + vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior ); + vec3 modelScale; + modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) ); + modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) ); + modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) ); + return normalize( refractionVector ) * thickness * modelScale; + } + float applyIorToRoughness( const in float roughness, const in float ior ) { + return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 ); + } + vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) { + float lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior ); + return textureBicubic( transmissionSamplerMap, fragCoord.xy, lod ); + } + vec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) { + if ( isinf( attenuationDistance ) ) { + return vec3( 1.0 ); + } else { + vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance; + vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance; + } + } + vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor, + const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix, + const in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness, + const in vec3 attenuationColor, const in float attenuationDistance ) { + vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix ); + vec3 refractedRayExit = position + transmissionRay; + vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 ); + vec2 refractionCoords = ndcPos.xy / ndcPos.w; + refractionCoords += 1.0; + refractionCoords /= 2.0; + vec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior ); + vec3 transmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance ); + vec3 attenuatedColor = transmittance * transmittedLight.rgb; + vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness ); + float transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0; + return vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor ); + } +#endif`,vR=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) + varying vec2 vUv; +#endif +#ifdef USE_MAP + varying vec2 vMapUv; +#endif +#ifdef USE_ALPHAMAP + varying vec2 vAlphaMapUv; +#endif +#ifdef USE_LIGHTMAP + varying vec2 vLightMapUv; +#endif +#ifdef USE_AOMAP + varying vec2 vAoMapUv; +#endif +#ifdef USE_BUMPMAP + varying vec2 vBumpMapUv; +#endif +#ifdef USE_NORMALMAP + varying vec2 vNormalMapUv; +#endif +#ifdef USE_EMISSIVEMAP + varying vec2 vEmissiveMapUv; +#endif +#ifdef USE_METALNESSMAP + varying vec2 vMetalnessMapUv; +#endif +#ifdef USE_ROUGHNESSMAP + varying vec2 vRoughnessMapUv; +#endif +#ifdef USE_ANISOTROPYMAP + varying vec2 vAnisotropyMapUv; +#endif +#ifdef USE_CLEARCOATMAP + varying vec2 vClearcoatMapUv; +#endif +#ifdef USE_CLEARCOAT_NORMALMAP + varying vec2 vClearcoatNormalMapUv; +#endif +#ifdef USE_CLEARCOAT_ROUGHNESSMAP + varying vec2 vClearcoatRoughnessMapUv; +#endif +#ifdef USE_IRIDESCENCEMAP + varying vec2 vIridescenceMapUv; +#endif +#ifdef USE_IRIDESCENCE_THICKNESSMAP + varying vec2 vIridescenceThicknessMapUv; +#endif +#ifdef USE_SHEEN_COLORMAP + varying vec2 vSheenColorMapUv; +#endif +#ifdef USE_SHEEN_ROUGHNESSMAP + varying vec2 vSheenRoughnessMapUv; +#endif +#ifdef USE_SPECULARMAP + varying vec2 vSpecularMapUv; +#endif +#ifdef USE_SPECULAR_COLORMAP + varying vec2 vSpecularColorMapUv; +#endif +#ifdef USE_SPECULAR_INTENSITYMAP + varying vec2 vSpecularIntensityMapUv; +#endif +#ifdef USE_TRANSMISSIONMAP + uniform mat3 transmissionMapTransform; + varying vec2 vTransmissionMapUv; +#endif +#ifdef USE_THICKNESSMAP + uniform mat3 thicknessMapTransform; + varying vec2 vThicknessMapUv; +#endif`,yR=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) + varying vec2 vUv; +#endif +#ifdef USE_MAP + uniform mat3 mapTransform; + varying vec2 vMapUv; +#endif +#ifdef USE_ALPHAMAP + uniform mat3 alphaMapTransform; + varying vec2 vAlphaMapUv; +#endif +#ifdef USE_LIGHTMAP + uniform mat3 lightMapTransform; + varying vec2 vLightMapUv; +#endif +#ifdef USE_AOMAP + uniform mat3 aoMapTransform; + varying vec2 vAoMapUv; +#endif +#ifdef USE_BUMPMAP + uniform mat3 bumpMapTransform; + varying vec2 vBumpMapUv; +#endif +#ifdef USE_NORMALMAP + uniform mat3 normalMapTransform; + varying vec2 vNormalMapUv; +#endif +#ifdef USE_DISPLACEMENTMAP + uniform mat3 displacementMapTransform; + varying vec2 vDisplacementMapUv; +#endif +#ifdef USE_EMISSIVEMAP + uniform mat3 emissiveMapTransform; + varying vec2 vEmissiveMapUv; +#endif +#ifdef USE_METALNESSMAP + uniform mat3 metalnessMapTransform; + varying vec2 vMetalnessMapUv; +#endif +#ifdef USE_ROUGHNESSMAP + uniform mat3 roughnessMapTransform; + varying vec2 vRoughnessMapUv; +#endif +#ifdef USE_ANISOTROPYMAP + uniform mat3 anisotropyMapTransform; + varying vec2 vAnisotropyMapUv; +#endif +#ifdef USE_CLEARCOATMAP + uniform mat3 clearcoatMapTransform; + varying vec2 vClearcoatMapUv; +#endif +#ifdef USE_CLEARCOAT_NORMALMAP + uniform mat3 clearcoatNormalMapTransform; + varying vec2 vClearcoatNormalMapUv; +#endif +#ifdef USE_CLEARCOAT_ROUGHNESSMAP + uniform mat3 clearcoatRoughnessMapTransform; + varying vec2 vClearcoatRoughnessMapUv; +#endif +#ifdef USE_SHEEN_COLORMAP + uniform mat3 sheenColorMapTransform; + varying vec2 vSheenColorMapUv; +#endif +#ifdef USE_SHEEN_ROUGHNESSMAP + uniform mat3 sheenRoughnessMapTransform; + varying vec2 vSheenRoughnessMapUv; +#endif +#ifdef USE_IRIDESCENCEMAP + uniform mat3 iridescenceMapTransform; + varying vec2 vIridescenceMapUv; +#endif +#ifdef USE_IRIDESCENCE_THICKNESSMAP + uniform mat3 iridescenceThicknessMapTransform; + varying vec2 vIridescenceThicknessMapUv; +#endif +#ifdef USE_SPECULARMAP + uniform mat3 specularMapTransform; + varying vec2 vSpecularMapUv; +#endif +#ifdef USE_SPECULAR_COLORMAP + uniform mat3 specularColorMapTransform; + varying vec2 vSpecularColorMapUv; +#endif +#ifdef USE_SPECULAR_INTENSITYMAP + uniform mat3 specularIntensityMapTransform; + varying vec2 vSpecularIntensityMapUv; +#endif +#ifdef USE_TRANSMISSIONMAP + uniform mat3 transmissionMapTransform; + varying vec2 vTransmissionMapUv; +#endif +#ifdef USE_THICKNESSMAP + uniform mat3 thicknessMapTransform; + varying vec2 vThicknessMapUv; +#endif`,_R=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) + vUv = vec3( uv, 1 ).xy; +#endif +#ifdef USE_MAP + vMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy; +#endif +#ifdef USE_ALPHAMAP + vAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_LIGHTMAP + vLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_AOMAP + vAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_BUMPMAP + vBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_NORMALMAP + vNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_DISPLACEMENTMAP + vDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_EMISSIVEMAP + vEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_METALNESSMAP + vMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_ROUGHNESSMAP + vRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_ANISOTROPYMAP + vAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_CLEARCOATMAP + vClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_CLEARCOAT_NORMALMAP + vClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_CLEARCOAT_ROUGHNESSMAP + vClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_IRIDESCENCEMAP + vIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_IRIDESCENCE_THICKNESSMAP + vIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_SHEEN_COLORMAP + vSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_SHEEN_ROUGHNESSMAP + vSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_SPECULARMAP + vSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_SPECULAR_COLORMAP + vSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_SPECULAR_INTENSITYMAP + vSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_TRANSMISSIONMAP + vTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy; +#endif +#ifdef USE_THICKNESSMAP + vThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy; +#endif`,xR=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0 + vec4 worldPosition = vec4( transformed, 1.0 ); + #ifdef USE_INSTANCING + worldPosition = instanceMatrix * worldPosition; + #endif + worldPosition = modelMatrix * worldPosition; +#endif`;const MR=`varying vec2 vUv; +uniform mat3 uvTransform; +void main() { + vUv = ( uvTransform * vec3( uv, 1 ) ).xy; + gl_Position = vec4( position.xy, 1.0, 1.0 ); +}`,SR=`uniform sampler2D t2D; +uniform float backgroundIntensity; +varying vec2 vUv; +void main() { + vec4 texColor = texture2D( t2D, vUv ); + texColor.rgb *= backgroundIntensity; + gl_FragColor = texColor; + #include + #include +}`,ER=`varying vec3 vWorldDirection; +#include +void main() { + vWorldDirection = transformDirection( position, modelMatrix ); + #include + #include + gl_Position.z = gl_Position.w; +}`,wR=`#ifdef ENVMAP_TYPE_CUBE + uniform samplerCube envMap; +#elif defined( ENVMAP_TYPE_CUBE_UV ) + uniform sampler2D envMap; +#endif +uniform float flipEnvMap; +uniform float backgroundBlurriness; +uniform float backgroundIntensity; +varying vec3 vWorldDirection; +#include +void main() { + #ifdef ENVMAP_TYPE_CUBE + vec4 texColor = textureCube( envMap, vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) ); + #elif defined( ENVMAP_TYPE_CUBE_UV ) + vec4 texColor = textureCubeUV( envMap, vWorldDirection, backgroundBlurriness ); + #else + vec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 ); + #endif + texColor.rgb *= backgroundIntensity; + gl_FragColor = texColor; + #include + #include +}`,TR=`varying vec3 vWorldDirection; +#include +void main() { + vWorldDirection = transformDirection( position, modelMatrix ); + #include + #include + gl_Position.z = gl_Position.w; +}`,RR=`uniform samplerCube tCube; +uniform float tFlip; +uniform float opacity; +varying vec3 vWorldDirection; +void main() { + vec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) ); + gl_FragColor = texColor; + gl_FragColor.a *= opacity; + #include + #include +}`,bR=`#include +#include +#include +#include +#include +#include +#include +varying vec2 vHighPrecisionZW; +void main() { + #include + #include + #ifdef USE_DISPLACEMENTMAP + #include + #include + #include + #endif + #include + #include + #include + #include + #include + #include + #include + vHighPrecisionZW = gl_Position.zw; +}`,AR=`#if DEPTH_PACKING == 3200 + uniform float opacity; +#endif +#include +#include +#include +#include +#include +#include +#include +#include +#include +varying vec2 vHighPrecisionZW; +void main() { + #include + vec4 diffuseColor = vec4( 1.0 ); + #if DEPTH_PACKING == 3200 + diffuseColor.a = opacity; + #endif + #include + #include + #include + #include + #include + float fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5; + #if DEPTH_PACKING == 3200 + gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity ); + #elif DEPTH_PACKING == 3201 + gl_FragColor = packDepthToRGBA( fragCoordZ ); + #endif +}`,CR=`#define DISTANCE +varying vec3 vWorldPosition; +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #ifdef USE_DISPLACEMENTMAP + #include + #include + #include + #endif + #include + #include + #include + #include + #include + #include + #include + vWorldPosition = worldPosition.xyz; +}`,LR=`#define DISTANCE +uniform vec3 referencePosition; +uniform float nearDistance; +uniform float farDistance; +varying vec3 vWorldPosition; +#include +#include +#include +#include +#include +#include +#include +#include +void main () { + #include + vec4 diffuseColor = vec4( 1.0 ); + #include + #include + #include + #include + float dist = length( vWorldPosition - referencePosition ); + dist = ( dist - nearDistance ) / ( farDistance - nearDistance ); + dist = saturate( dist ); + gl_FragColor = packDepthToRGBA( dist ); +}`,PR=`varying vec3 vWorldDirection; +#include +void main() { + vWorldDirection = transformDirection( position, modelMatrix ); + #include + #include +}`,IR=`uniform sampler2D tEquirect; +varying vec3 vWorldDirection; +#include +void main() { + vec3 direction = normalize( vWorldDirection ); + vec2 sampleUV = equirectUv( direction ); + gl_FragColor = texture2D( tEquirect, sampleUV ); + #include + #include +}`,DR=`uniform float scale; +attribute float lineDistance; +varying float vLineDistance; +#include +#include +#include +#include +#include +#include +#include +void main() { + vLineDistance = scale * lineDistance; + #include + #include + #include + #include + #include + #include + #include + #include + #include +}`,kR=`uniform vec3 diffuse; +uniform float opacity; +uniform float dashSize; +uniform float totalSize; +varying float vLineDistance; +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + if ( mod( vLineDistance, totalSize ) > dashSize ) { + discard; + } + vec3 outgoingLight = vec3( 0.0 ); + vec4 diffuseColor = vec4( diffuse, opacity ); + #include + #include + #include + outgoingLight = diffuseColor.rgb; + #include + #include + #include + #include + #include +}`,UR=`#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING ) + #include + #include + #include + #include + #include + #endif + #include + #include + #include + #include + #include + #include + #include + #include + #include +}`,NR=`uniform vec3 diffuse; +uniform float opacity; +#ifndef FLAT_SHADED + varying vec3 vNormal; +#endif +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + #include + #include + #include + #include + #include + #include + #include + ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); + #ifdef USE_LIGHTMAP + vec4 lightMapTexel = texture2D( lightMap, vLightMapUv ); + reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI; + #else + reflectedLight.indirectDiffuse += vec3( 1.0 ); + #endif + #include + reflectedLight.indirectDiffuse *= diffuseColor.rgb; + vec3 outgoingLight = reflectedLight.indirectDiffuse; + #include + #include + #include + #include + #include + #include + #include +}`,OR=`#define LAMBERT +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vViewPosition = - mvPosition.xyz; + #include + #include + #include + #include +}`,FR=`#define LAMBERT +uniform vec3 diffuse; +uniform vec3 emissive; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); + vec3 totalEmissiveRadiance = emissive; + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; + #include + #include + #include + #include + #include + #include + #include +}`,zR=`#define MATCAP +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vViewPosition = - mvPosition.xyz; +}`,BR=`#define MATCAP +uniform vec3 diffuse; +uniform float opacity; +uniform sampler2D matcap; +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + #include + #include + #include + #include + #include + #include + #include + #include + vec3 viewDir = normalize( vViewPosition ); + vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) ); + vec3 y = cross( viewDir, x ); + vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5; + #ifdef USE_MATCAP + vec4 matcapColor = texture2D( matcap, uv ); + #else + vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 ); + #endif + vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb; + #include + #include + #include + #include + #include + #include +}`,GR=`#define NORMAL +#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) + varying vec3 vViewPosition; +#endif +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include +#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) + vViewPosition = - mvPosition.xyz; +#endif +}`,HR=`#define NORMAL +uniform float opacity; +#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) + varying vec3 vViewPosition; +#endif +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + gl_FragColor = vec4( packNormalToRGB( normal ), opacity ); + #ifdef OPAQUE + gl_FragColor.a = 1.0; + #endif +}`,XR=`#define PHONG +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vViewPosition = - mvPosition.xyz; + #include + #include + #include + #include +}`,WR=`#define PHONG +uniform vec3 diffuse; +uniform vec3 emissive; +uniform vec3 specular; +uniform float shininess; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); + vec3 totalEmissiveRadiance = emissive; + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance; + #include + #include + #include + #include + #include + #include + #include +}`,VR=`#define STANDARD +varying vec3 vViewPosition; +#ifdef USE_TRANSMISSION + varying vec3 vWorldPosition; +#endif +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vViewPosition = - mvPosition.xyz; + #include + #include + #include +#ifdef USE_TRANSMISSION + vWorldPosition = worldPosition.xyz; +#endif +}`,jR=`#define STANDARD +#ifdef PHYSICAL + #define IOR + #define USE_SPECULAR +#endif +uniform vec3 diffuse; +uniform vec3 emissive; +uniform float roughness; +uniform float metalness; +uniform float opacity; +#ifdef IOR + uniform float ior; +#endif +#ifdef USE_SPECULAR + uniform float specularIntensity; + uniform vec3 specularColor; + #ifdef USE_SPECULAR_COLORMAP + uniform sampler2D specularColorMap; + #endif + #ifdef USE_SPECULAR_INTENSITYMAP + uniform sampler2D specularIntensityMap; + #endif +#endif +#ifdef USE_CLEARCOAT + uniform float clearcoat; + uniform float clearcoatRoughness; +#endif +#ifdef USE_IRIDESCENCE + uniform float iridescence; + uniform float iridescenceIOR; + uniform float iridescenceThicknessMinimum; + uniform float iridescenceThicknessMaximum; +#endif +#ifdef USE_SHEEN + uniform vec3 sheenColor; + uniform float sheenRoughness; + #ifdef USE_SHEEN_COLORMAP + uniform sampler2D sheenColorMap; + #endif + #ifdef USE_SHEEN_ROUGHNESSMAP + uniform sampler2D sheenRoughnessMap; + #endif +#endif +#ifdef USE_ANISOTROPY + uniform vec2 anisotropyVector; + #ifdef USE_ANISOTROPYMAP + uniform sampler2D anisotropyMap; + #endif +#endif +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); + vec3 totalEmissiveRadiance = emissive; + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse; + vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular; + #include + vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance; + #ifdef USE_SHEEN + float sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor ); + outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular; + #endif + #ifdef USE_CLEARCOAT + float dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) ); + vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc ); + outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat; + #endif + #include + #include + #include + #include + #include + #include +}`,YR=`#define TOON +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vViewPosition = - mvPosition.xyz; + #include + #include + #include +}`,JR=`#define TOON +uniform vec3 diffuse; +uniform vec3 emissive; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); + vec3 totalEmissiveRadiance = emissive; + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; + #include + #include + #include + #include + #include + #include +}`,ZR=`uniform float size; +uniform float scale; +#include +#include +#include +#include +#include +#include +#ifdef USE_POINTS_UV + varying vec2 vUv; + uniform mat3 uvTransform; +#endif +void main() { + #ifdef USE_POINTS_UV + vUv = ( uvTransform * vec3( uv, 1 ) ).xy; + #endif + #include + #include + #include + #include + #include + gl_PointSize = size; + #ifdef USE_SIZEATTENUATION + bool isPerspective = isPerspectiveMatrix( projectionMatrix ); + if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z ); + #endif + #include + #include + #include + #include +}`,KR=`uniform vec3 diffuse; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec3 outgoingLight = vec3( 0.0 ); + vec4 diffuseColor = vec4( diffuse, opacity ); + #include + #include + #include + #include + #include + outgoingLight = diffuseColor.rgb; + #include + #include + #include + #include + #include +}`,qR=`#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include +}`,QR=`uniform vec3 color; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) ); + #include + #include + #include +}`,$R=`uniform float rotation; +uniform vec2 center; +#include +#include +#include +#include +#include +void main() { + #include + vec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 ); + vec2 scale; + scale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) ); + scale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) ); + #ifndef USE_SIZEATTENUATION + bool isPerspective = isPerspectiveMatrix( projectionMatrix ); + if ( isPerspective ) scale *= - mvPosition.z; + #endif + vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale; + vec2 rotatedPosition; + rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y; + rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y; + mvPosition.xy += rotatedPosition; + gl_Position = projectionMatrix * mvPosition; + #include + #include + #include +}`,eb=`uniform vec3 diffuse; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec3 outgoingLight = vec3( 0.0 ); + vec4 diffuseColor = vec4( diffuse, opacity ); + #include + #include + #include + #include + #include + outgoingLight = diffuseColor.rgb; + #include + #include + #include + #include +}`,Xe={alphahash_fragment:ww,alphahash_pars_fragment:Tw,alphamap_fragment:Rw,alphamap_pars_fragment:bw,alphatest_fragment:Aw,alphatest_pars_fragment:Cw,aomap_fragment:Lw,aomap_pars_fragment:Pw,begin_vertex:Iw,beginnormal_vertex:Dw,bsdfs:kw,iridescence_fragment:Uw,bumpmap_pars_fragment:Nw,clipping_planes_fragment:Ow,clipping_planes_pars_fragment:Fw,clipping_planes_pars_vertex:zw,clipping_planes_vertex:Bw,color_fragment:Gw,color_pars_fragment:Hw,color_pars_vertex:Xw,color_vertex:Ww,common:Vw,cube_uv_reflection_fragment:jw,defaultnormal_vertex:Yw,displacementmap_pars_vertex:Jw,displacementmap_vertex:Zw,emissivemap_fragment:Kw,emissivemap_pars_fragment:qw,colorspace_fragment:Qw,colorspace_pars_fragment:$w,envmap_fragment:eT,envmap_common_pars_fragment:tT,envmap_pars_fragment:iT,envmap_pars_vertex:nT,envmap_physical_pars_fragment:mT,envmap_vertex:rT,fog_vertex:aT,fog_pars_vertex:oT,fog_fragment:sT,fog_pars_fragment:lT,gradientmap_pars_fragment:uT,lightmap_fragment:cT,lightmap_pars_fragment:hT,lights_lambert_fragment:dT,lights_lambert_pars_fragment:pT,lights_pars_begin:fT,lights_toon_fragment:gT,lights_toon_pars_fragment:vT,lights_phong_fragment:yT,lights_phong_pars_fragment:_T,lights_physical_fragment:xT,lights_physical_pars_fragment:MT,lights_fragment_begin:ST,lights_fragment_maps:ET,lights_fragment_end:wT,logdepthbuf_fragment:TT,logdepthbuf_pars_fragment:RT,logdepthbuf_pars_vertex:bT,logdepthbuf_vertex:AT,map_fragment:CT,map_pars_fragment:LT,map_particle_fragment:PT,map_particle_pars_fragment:IT,metalnessmap_fragment:DT,metalnessmap_pars_fragment:kT,morphcolor_vertex:UT,morphnormal_vertex:NT,morphtarget_pars_vertex:OT,morphtarget_vertex:FT,normal_fragment_begin:zT,normal_fragment_maps:BT,normal_pars_fragment:GT,normal_pars_vertex:HT,normal_vertex:XT,normalmap_pars_fragment:WT,clearcoat_normal_fragment_begin:VT,clearcoat_normal_fragment_maps:jT,clearcoat_pars_fragment:YT,iridescence_pars_fragment:JT,opaque_fragment:ZT,packing:KT,premultiplied_alpha_fragment:qT,project_vertex:QT,dithering_fragment:$T,dithering_pars_fragment:eR,roughnessmap_fragment:tR,roughnessmap_pars_fragment:iR,shadowmap_pars_fragment:nR,shadowmap_pars_vertex:rR,shadowmap_vertex:aR,shadowmask_pars_fragment:oR,skinbase_vertex:sR,skinning_pars_vertex:lR,skinning_vertex:uR,skinnormal_vertex:cR,specularmap_fragment:hR,specularmap_pars_fragment:dR,tonemapping_fragment:pR,tonemapping_pars_fragment:fR,transmission_fragment:mR,transmission_pars_fragment:gR,uv_pars_fragment:vR,uv_pars_vertex:yR,uv_vertex:_R,worldpos_vertex:xR,background_vert:MR,background_frag:SR,backgroundCube_vert:ER,backgroundCube_frag:wR,cube_vert:TR,cube_frag:RR,depth_vert:bR,depth_frag:AR,distanceRGBA_vert:CR,distanceRGBA_frag:LR,equirect_vert:PR,equirect_frag:IR,linedashed_vert:DR,linedashed_frag:kR,meshbasic_vert:UR,meshbasic_frag:NR,meshlambert_vert:OR,meshlambert_frag:FR,meshmatcap_vert:zR,meshmatcap_frag:BR,meshnormal_vert:GR,meshnormal_frag:HR,meshphong_vert:XR,meshphong_frag:WR,meshphysical_vert:VR,meshphysical_frag:jR,meshtoon_vert:YR,meshtoon_frag:JR,points_vert:ZR,points_frag:KR,shadow_vert:qR,shadow_frag:QR,sprite_vert:$R,sprite_frag:eb},ve={common:{diffuse:{value:new lt(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new je},alphaMap:{value:null},alphaMapTransform:{value:new je},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new je}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new je}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new je}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new je},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new je},normalScale:{value:new ot(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new je},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new je}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new je}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new je}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new lt(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 lt(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new je},alphaTest:{value:0},uvTransform:{value:new je}},sprite:{diffuse:{value:new lt(16777215)},opacity:{value:1},center:{value:new ot(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new je},alphaMap:{value:null},alphaMapTransform:{value:new je},alphaTest:{value:0}}},jn={basic:{uniforms:ci([ve.common,ve.specularmap,ve.envmap,ve.aomap,ve.lightmap,ve.fog]),vertexShader:Xe.meshbasic_vert,fragmentShader:Xe.meshbasic_frag},lambert:{uniforms:ci([ve.common,ve.specularmap,ve.envmap,ve.aomap,ve.lightmap,ve.emissivemap,ve.bumpmap,ve.normalmap,ve.displacementmap,ve.fog,ve.lights,{emissive:{value:new lt(0)}}]),vertexShader:Xe.meshlambert_vert,fragmentShader:Xe.meshlambert_frag},phong:{uniforms:ci([ve.common,ve.specularmap,ve.envmap,ve.aomap,ve.lightmap,ve.emissivemap,ve.bumpmap,ve.normalmap,ve.displacementmap,ve.fog,ve.lights,{emissive:{value:new lt(0)},specular:{value:new lt(1118481)},shininess:{value:30}}]),vertexShader:Xe.meshphong_vert,fragmentShader:Xe.meshphong_frag},standard:{uniforms:ci([ve.common,ve.envmap,ve.aomap,ve.lightmap,ve.emissivemap,ve.bumpmap,ve.normalmap,ve.displacementmap,ve.roughnessmap,ve.metalnessmap,ve.fog,ve.lights,{emissive:{value:new lt(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Xe.meshphysical_vert,fragmentShader:Xe.meshphysical_frag},toon:{uniforms:ci([ve.common,ve.aomap,ve.lightmap,ve.emissivemap,ve.bumpmap,ve.normalmap,ve.displacementmap,ve.gradientmap,ve.fog,ve.lights,{emissive:{value:new lt(0)}}]),vertexShader:Xe.meshtoon_vert,fragmentShader:Xe.meshtoon_frag},matcap:{uniforms:ci([ve.common,ve.bumpmap,ve.normalmap,ve.displacementmap,ve.fog,{matcap:{value:null}}]),vertexShader:Xe.meshmatcap_vert,fragmentShader:Xe.meshmatcap_frag},points:{uniforms:ci([ve.points,ve.fog]),vertexShader:Xe.points_vert,fragmentShader:Xe.points_frag},dashed:{uniforms:ci([ve.common,ve.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Xe.linedashed_vert,fragmentShader:Xe.linedashed_frag},depth:{uniforms:ci([ve.common,ve.displacementmap]),vertexShader:Xe.depth_vert,fragmentShader:Xe.depth_frag},normal:{uniforms:ci([ve.common,ve.bumpmap,ve.normalmap,ve.displacementmap,{opacity:{value:1}}]),vertexShader:Xe.meshnormal_vert,fragmentShader:Xe.meshnormal_frag},sprite:{uniforms:ci([ve.sprite,ve.fog]),vertexShader:Xe.sprite_vert,fragmentShader:Xe.sprite_frag},background:{uniforms:{uvTransform:{value:new je},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:Xe.background_vert,fragmentShader:Xe.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1}},vertexShader:Xe.backgroundCube_vert,fragmentShader:Xe.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:Xe.cube_vert,fragmentShader:Xe.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Xe.equirect_vert,fragmentShader:Xe.equirect_frag},distanceRGBA:{uniforms:ci([ve.common,ve.displacementmap,{referencePosition:{value:new q},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Xe.distanceRGBA_vert,fragmentShader:Xe.distanceRGBA_frag},shadow:{uniforms:ci([ve.lights,ve.fog,{color:{value:new lt(0)},opacity:{value:1}}]),vertexShader:Xe.shadow_vert,fragmentShader:Xe.shadow_frag}};jn.physical={uniforms:ci([jn.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new je},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new je},clearcoatNormalScale:{value:new ot(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new je},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new je},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new je},sheen:{value:0},sheenColor:{value:new lt(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new je},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new je},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new je},transmissionSamplerSize:{value:new ot},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new je},attenuationDistance:{value:0},attenuationColor:{value:new lt(0)},specularColor:{value:new lt(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new je},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new je},anisotropyVector:{value:new ot},anisotropyMap:{value:null},anisotropyMapTransform:{value:new je}}]),vertexShader:Xe.meshphysical_vert,fragmentShader:Xe.meshphysical_frag};const Cu={r:0,b:0,g:0};function tb(t,e,i,n,r,a,o){const s=new lt(0);let u=a===!0?0:1,c,h,p=null,d=0,g=null;function v(_,f){let x=!1,y=f.isScene===!0?f.background:null;switch(y&&y.isTexture&&(y=(f.backgroundBlurriness>0?i:e).get(y)),y===null?M(s,u):y&&y.isColor&&(M(y,1),x=!0),t.xr.getEnvironmentBlendMode()){case"opaque":x=!0;break;case"additive":n.buffers.color.setClear(0,0,0,1,o),x=!0;break;case"alpha-blend":n.buffers.color.setClear(0,0,0,0,o),x=!0;break}(t.autoClear||x)&&t.clear(t.autoClearColor,t.autoClearDepth,t.autoClearStencil),y&&(y.isCubeTexture||y.mapping===Yc)?(h===void 0&&(h=new Vr(new Gl(1,1,1),new qa({name:"BackgroundCubeMaterial",uniforms:us(jn.backgroundCube.uniforms),vertexShader:jn.backgroundCube.vertexShader,fragmentShader:jn.backgroundCube.fragmentShader,side:Ci,depthTest:!1,depthWrite:!1,fog:!1})),h.geometry.deleteAttribute("normal"),h.geometry.deleteAttribute("uv"),h.onBeforeRender=function(w,T,R){this.matrixWorld.copyPosition(R.matrixWorld)},Object.defineProperty(h.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(h)),h.material.uniforms.envMap.value=y,h.material.uniforms.flipEnvMap.value=y.isCubeTexture&&y.isRenderTargetTexture===!1?-1:1,h.material.uniforms.backgroundBlurriness.value=f.backgroundBlurriness,h.material.uniforms.backgroundIntensity.value=f.backgroundIntensity,h.material.toneMapped=y.colorSpace!==We,(p!==y||d!==y.version||g!==t.toneMapping)&&(h.material.needsUpdate=!0,p=y,d=y.version,g=t.toneMapping),h.layers.enableAll(),_.unshift(h,h.geometry,h.material,0,0,null)):y&&y.isTexture&&(c===void 0&&(c=new Vr(new kf(2,2),new qa({name:"BackgroundMaterial",uniforms:us(jn.background.uniforms),vertexShader:jn.background.vertexShader,fragmentShader:jn.background.fragmentShader,side:ca,depthTest:!1,depthWrite:!1,fog:!1})),c.geometry.deleteAttribute("normal"),Object.defineProperty(c.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(c)),c.material.uniforms.t2D.value=y,c.material.uniforms.backgroundIntensity.value=f.backgroundIntensity,c.material.toneMapped=y.colorSpace!==We,y.matrixAutoUpdate===!0&&y.updateMatrix(),c.material.uniforms.uvTransform.value.copy(y.matrix),(p!==y||d!==y.version||g!==t.toneMapping)&&(c.material.needsUpdate=!0,p=y,d=y.version,g=t.toneMapping),c.layers.enableAll(),_.unshift(c,c.geometry,c.material,0,0,null))}function M(_,f){_.getRGB(Cu,j_(t)),n.buffers.color.setClear(Cu.r,Cu.g,Cu.b,f,o)}return{getClearColor:function(){return s},setClearColor:function(_,f=1){s.set(_),u=f,M(s,u)},getClearAlpha:function(){return u},setClearAlpha:function(_){u=_,M(s,u)},render:v}}function ib(t,e,i,n){const r=t.getParameter(t.MAX_VERTEX_ATTRIBS),a=n.isWebGL2?null:e.get("OES_vertex_array_object"),o=n.isWebGL2||a!==null,s={},u=_(null);let c=u,h=!1;function p(V,X,ie,Z,z){let J=!1;if(o){const k=M(Z,ie,X);c!==k&&(c=k,g(c.object)),J=f(V,Z,ie,z),J&&x(V,Z,ie,z)}else{const k=X.wireframe===!0;(c.geometry!==Z.id||c.program!==ie.id||c.wireframe!==k)&&(c.geometry=Z.id,c.program=ie.id,c.wireframe=k,J=!0)}z!==null&&i.update(z,t.ELEMENT_ARRAY_BUFFER),(J||h)&&(h=!1,I(V,X,ie,Z),z!==null&&t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,i.get(z).buffer))}function d(){return n.isWebGL2?t.createVertexArray():a.createVertexArrayOES()}function g(V){return n.isWebGL2?t.bindVertexArray(V):a.bindVertexArrayOES(V)}function v(V){return n.isWebGL2?t.deleteVertexArray(V):a.deleteVertexArrayOES(V)}function M(V,X,ie){const Z=ie.wireframe===!0;let z=s[V.id];z===void 0&&(z={},s[V.id]=z);let J=z[X.id];J===void 0&&(J={},z[X.id]=J);let k=J[Z];return k===void 0&&(k=_(d()),J[Z]=k),k}function _(V){const X=[],ie=[],Z=[];for(let z=0;z=0){const re=z[$];let se=J[$];if(se===void 0&&($==="instanceMatrix"&&V.instanceMatrix&&(se=V.instanceMatrix),$==="instanceColor"&&V.instanceColor&&(se=V.instanceColor)),re===void 0||re.attribute!==se||se&&re.data!==se.data)return!0;k++}return c.attributesNum!==k||c.index!==Z}function x(V,X,ie,Z){const z={},J=X.attributes;let k=0;const F=ie.getAttributes();for(const $ in F)if(F[$].location>=0){let re=J[$];re===void 0&&($==="instanceMatrix"&&V.instanceMatrix&&(re=V.instanceMatrix),$==="instanceColor"&&V.instanceColor&&(re=V.instanceColor));const se={};se.attribute=re,re&&re.data&&(se.data=re.data),z[$]=se,k++}c.attributes=z,c.attributesNum=k,c.index=Z}function y(){const V=c.newAttributes;for(let X=0,ie=V.length;X=0){let re=z[F];if(re===void 0&&(F==="instanceMatrix"&&V.instanceMatrix&&(re=V.instanceMatrix),F==="instanceColor"&&V.instanceColor&&(re=V.instanceColor)),re!==void 0){const se=re.normalized,pe=re.itemSize,xe=i.get(re);if(xe===void 0)continue;const Pe=xe.buffer,Ie=xe.type,Ye=xe.bytesPerElement,Jt=n.isWebGL2===!0&&(Ie===t.INT||Ie===t.UNSIGNED_INT||re.gpuType===A_);if(re.isInterleavedBufferAttribute){const ze=re.data,G=ze.stride,vt=re.offset;if(ze.isInstancedInterleavedBuffer){for(let we=0;we<$.locationSize;we++)T($.location+we,ze.meshPerAttribute);V.isInstancedMesh!==!0&&Z._maxInstanceCount===void 0&&(Z._maxInstanceCount=ze.meshPerAttribute*ze.count)}else for(let we=0;we<$.locationSize;we++)w($.location+we);t.bindBuffer(t.ARRAY_BUFFER,Pe);for(let we=0;we<$.locationSize;we++)A($.location+we,pe/$.locationSize,Ie,se,G*Ye,(vt+pe/$.locationSize*we)*Ye,Jt)}else{if(re.isInstancedBufferAttribute){for(let ze=0;ze<$.locationSize;ze++)T($.location+ze,re.meshPerAttribute);V.isInstancedMesh!==!0&&Z._maxInstanceCount===void 0&&(Z._maxInstanceCount=re.meshPerAttribute*re.count)}else for(let ze=0;ze<$.locationSize;ze++)w($.location+ze);t.bindBuffer(t.ARRAY_BUFFER,Pe);for(let ze=0;ze<$.locationSize;ze++)A($.location+ze,pe/$.locationSize,Ie,se,pe*Ye,pe/$.locationSize*ze*Ye,Jt)}}else if(k!==void 0){const se=k[F];if(se!==void 0)switch(se.length){case 2:t.vertexAttrib2fv($.location,se);break;case 3:t.vertexAttrib3fv($.location,se);break;case 4:t.vertexAttrib4fv($.location,se);break;default:t.vertexAttrib1fv($.location,se)}}}}R()}function E(){ne();for(const V in s){const X=s[V];for(const ie in X){const Z=X[ie];for(const z in Z)v(Z[z].object),delete Z[z];delete X[ie]}delete s[V]}}function C(V){if(s[V.id]===void 0)return;const X=s[V.id];for(const ie in X){const Z=X[ie];for(const z in Z)v(Z[z].object),delete Z[z];delete X[ie]}delete s[V.id]}function Y(V){for(const X in s){const ie=s[X];if(ie[V.id]===void 0)continue;const Z=ie[V.id];for(const z in Z)v(Z[z].object),delete Z[z];delete ie[V.id]}}function ne(){H(),h=!0,c!==u&&(c=u,g(c.object))}function H(){u.geometry=null,u.program=null,u.wireframe=!1}return{setup:p,reset:ne,resetDefaultState:H,dispose:E,releaseStatesOfGeometry:C,releaseStatesOfProgram:Y,initAttributes:y,enableAttribute:w,disableUnusedAttributes:R}}function nb(t,e,i,n){const r=n.isWebGL2;let a;function o(c){a=c}function s(c,h){t.drawArrays(a,c,h),i.update(h,a,1)}function u(c,h,p){if(p===0)return;let d,g;if(r)d=t,g="drawArraysInstanced";else if(d=e.get("ANGLE_instanced_arrays"),g="drawArraysInstancedANGLE",d===null){console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");return}d[g](a,c,h,p),i.update(h,a,p)}this.setMode=o,this.render=s,this.renderInstances=u}function rb(t,e,i){let n;function r(){if(n!==void 0)return n;if(e.has("EXT_texture_filter_anisotropic")===!0){const A=e.get("EXT_texture_filter_anisotropic");n=t.getParameter(A.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else n=0;return n}function a(A){if(A==="highp"){if(t.getShaderPrecisionFormat(t.VERTEX_SHADER,t.HIGH_FLOAT).precision>0&&t.getShaderPrecisionFormat(t.FRAGMENT_SHADER,t.HIGH_FLOAT).precision>0)return"highp";A="mediump"}return A==="mediump"&&t.getShaderPrecisionFormat(t.VERTEX_SHADER,t.MEDIUM_FLOAT).precision>0&&t.getShaderPrecisionFormat(t.FRAGMENT_SHADER,t.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}const o=typeof WebGL2RenderingContext<"u"&&t.constructor.name==="WebGL2RenderingContext";let s=i.precision!==void 0?i.precision:"highp";const u=a(s);u!==s&&(console.warn("THREE.WebGLRenderer:",s,"not supported, using",u,"instead."),s=u);const c=o||e.has("WEBGL_draw_buffers"),h=i.logarithmicDepthBuffer===!0,p=t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS),d=t.getParameter(t.MAX_VERTEX_TEXTURE_IMAGE_UNITS),g=t.getParameter(t.MAX_TEXTURE_SIZE),v=t.getParameter(t.MAX_CUBE_MAP_TEXTURE_SIZE),M=t.getParameter(t.MAX_VERTEX_ATTRIBS),_=t.getParameter(t.MAX_VERTEX_UNIFORM_VECTORS),f=t.getParameter(t.MAX_VARYING_VECTORS),x=t.getParameter(t.MAX_FRAGMENT_UNIFORM_VECTORS),y=d>0,w=o||e.has("OES_texture_float"),T=y&&w,R=o?t.getParameter(t.MAX_SAMPLES):0;return{isWebGL2:o,drawBuffers:c,getMaxAnisotropy:r,getMaxPrecision:a,precision:s,logarithmicDepthBuffer:h,maxTextures:p,maxVertexTextures:d,maxTextureSize:g,maxCubemapSize:v,maxAttributes:M,maxVertexUniforms:_,maxVaryings:f,maxFragmentUniforms:x,vertexTextures:y,floatFragmentTextures:w,floatVertexTextures:T,maxSamples:R}}function ab(t){const e=this;let i=null,n=0,r=!1,a=!1;const o=new Ra,s=new je,u={value:null,needsUpdate:!1};this.uniform=u,this.numPlanes=0,this.numIntersection=0,this.init=function(p,d){const g=p.length!==0||d||n!==0||r;return r=d,n=p.length,g},this.beginShadows=function(){a=!0,h(null)},this.endShadows=function(){a=!1},this.setGlobalState=function(p,d){i=h(p,d,0)},this.setState=function(p,d,g){const v=p.clippingPlanes,M=p.clipIntersection,_=p.clipShadows,f=t.get(p);if(!r||v===null||v.length===0||a&&!_)a?h(null):c();else{const x=a?0:n,y=x*4;let w=f.clippingState||null;u.value=w,w=h(v,d,y,g);for(let T=0;T!==y;++T)w[T]=i[T];f.clippingState=w,this.numIntersection=M?this.numPlanes:0,this.numPlanes+=x}};function c(){u.value!==i&&(u.value=i,u.needsUpdate=n>0),e.numPlanes=n,e.numIntersection=0}function h(p,d,g,v){const M=p!==null?p.length:0;let _=null;if(M!==0){if(_=u.value,v!==!0||_===null){const f=g+M*4,x=d.matrixWorldInverse;s.getNormalMatrix(x),(_===null||_.length0){const c=new xw(u.height/2);return c.fromEquirectangularTexture(t,o),e.set(o,c),o.addEventListener("dispose",r),i(c.texture,o.mapping)}else return null}}return o}function r(o){const s=o.target;s.removeEventListener("dispose",r);const u=e.get(s);u!==void 0&&(e.delete(s),u.dispose())}function a(){e=new WeakMap}return{get:n,dispose:a}}class sb extends Y_{constructor(e=-1,i=1,n=1,r=-1,a=.1,o=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=i,this.top=n,this.bottom=r,this.near=a,this.far=o,this.updateProjectionMatrix()}copy(e,i){return super.copy(e,i),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=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,i,n,r,a,o){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=i,this.view.offsetX=n,this.view.offsetY=r,this.view.width=a,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),i=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,r=(this.top+this.bottom)/2;let a=n-e,o=n+e,s=r+i,u=r-i;if(this.view!==null&&this.view.enabled){const c=(this.right-this.left)/this.view.fullWidth/this.zoom,h=(this.top-this.bottom)/this.view.fullHeight/this.zoom;a+=c*this.view.offsetX,o=a+c*this.view.width,s-=h*this.view.offsetY,u=s-h*this.view.height}this.projectionMatrix.makeOrthographic(a,o,s,u,this.near,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const i=super.toJSON(e);return i.object.zoom=this.zoom,i.object.left=this.left,i.object.right=this.right,i.object.top=this.top,i.object.bottom=this.bottom,i.object.near=this.near,i.object.far=this.far,this.view!==null&&(i.object.view=Object.assign({},this.view)),i}}const zo=4,mv=[.125,.215,.35,.446,.526,.582],Ca=20,id=new sb,gv=new lt;let nd=null;const ba=(1+Math.sqrt(5))/2,wo=1/ba,vv=[new q(1,1,1),new q(-1,1,1),new q(1,1,-1),new q(-1,1,-1),new q(0,ba,wo),new q(0,ba,-wo),new q(wo,0,ba),new q(-wo,0,ba),new q(ba,wo,0),new q(-ba,wo,0)];class yv{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,i=0,n=.1,r=100){nd=this._renderer.getRenderTarget(),this._setSize(256);const a=this._allocateTargets();return a.depthBuffer=!0,this._sceneToCubeUV(e,n,r,a),i>0&&this._blur(a,0,0,i),this._applyPMREM(a),this._cleanup(a),a}fromEquirectangular(e,i=null){return this._fromTexture(e,i)}fromCubemap(e,i=null){return this._fromTexture(e,i)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=Mv(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=xv(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e2?f:0,f,f),u.setRenderTarget(r),g&&u.render(d,a),u.render(e,a)}d.geometry.dispose(),d.material.dispose(),u.toneMapping=h,u.autoClear=c,e.background=v}_textureToCubeUV(e,i){const n=this._renderer,r=e.mapping===os||e.mapping===ss;r?(this._cubemapMaterial===null&&(this._cubemapMaterial=Mv()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=xv());const a=r?this._cubemapMaterial:this._equirectMaterial,o=new Vr(this._lodPlanes[0],a),s=a.uniforms;s.envMap.value=e;const u=this._cubeSize;Lu(i,0,0,3*u,2*u),n.setRenderTarget(i),n.render(o,id)}_applyPMREM(e){const i=this._renderer,n=i.autoClear;i.autoClear=!1;for(let r=1;rCa&&console.warn(`sigmaRadians, ${a}, is too large and will clip, as it requested ${_} samples when the maximum is set to ${Ca}`);const f=[];let x=0;for(let A=0;Ay-zo?r-y+zo:0),R=4*(this._cubeSize-w);Lu(i,T,R,3*w,2*w),u.setRenderTarget(i),u.render(p,id)}}function lb(t){const e=[],i=[],n=[];let r=t;const a=t-zo+1+mv.length;for(let o=0;ot-zo?u=mv[o-t+zo-1]:o===0&&(u=0),n.push(u);const c=1/(s-2),h=-c,p=1+c,d=[h,h,p,h,p,p,h,h,p,p,h,p],g=6,v=6,M=3,_=2,f=1,x=new Float32Array(M*v*g),y=new Float32Array(_*v*g),w=new Float32Array(f*v*g);for(let R=0;R2?0:-1,E=[A,I,0,A+2/3,I,0,A+2/3,I+1,0,A,I,0,A+2/3,I+1,0,A,I+1,0];x.set(E,M*v*R),y.set(d,_*v*R);const C=[R,R,R,R,R,R];w.set(C,f*v*R)}const T=new Lr;T.setAttribute("position",new On(x,M)),T.setAttribute("uv",new On(y,_)),T.setAttribute("faceIndex",new On(w,f)),e.push(T),r>zo&&r--}return{lodPlanes:e,sizeLods:i,sigmas:n}}function _v(t,e,i){const n=new Ka(t,e,i);return n.texture.mapping=Yc,n.texture.name="PMREM.cubeUv",n.scissorTest=!0,n}function Lu(t,e,i,n,r){t.viewport.set(e,i,n,r),t.scissor.set(e,i,n,r)}function ub(t,e,i){const n=new Float32Array(Ca),r=new q(0,1,0);return new qa({name:"SphericalGaussianBlur",defines:{n:Ca,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/i,CUBEUV_MAX_MIP:`${t}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:n},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:Uf(),fragmentShader:` + + precision mediump float; + precision mediump int; + + varying vec3 vOutputDirection; + + uniform sampler2D envMap; + uniform int samples; + uniform float weights[ n ]; + uniform bool latitudinal; + uniform float dTheta; + uniform float mipInt; + uniform vec3 poleAxis; + + #define ENVMAP_TYPE_CUBE_UV + #include + + vec3 getSample( float theta, vec3 axis ) { + + float cosTheta = cos( theta ); + // Rodrigues' axis-angle rotation + vec3 sampleDirection = vOutputDirection * cosTheta + + cross( axis, vOutputDirection ) * sin( theta ) + + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta ); + + return bilinearCubeUV( envMap, sampleDirection, mipInt ); + + } + + void main() { + + vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection ); + + if ( all( equal( axis, vec3( 0.0 ) ) ) ) { + + axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x ); + + } + + axis = normalize( axis ); + + gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 ); + gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis ); + + for ( int i = 1; i < n; i++ ) { + + if ( i >= samples ) { + + break; + + } + + float theta = dTheta * float( i ); + gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis ); + gl_FragColor.rgb += weights[ i ] * getSample( theta, axis ); + + } + + } + `,blending:na,depthTest:!1,depthWrite:!1})}function xv(){return new qa({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:Uf(),fragmentShader:` + + precision mediump float; + precision mediump int; + + varying vec3 vOutputDirection; + + uniform sampler2D envMap; + + #include + + void main() { + + vec3 outputDirection = normalize( vOutputDirection ); + vec2 uv = equirectUv( outputDirection ); + + gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 ); + + } + `,blending:na,depthTest:!1,depthWrite:!1})}function Mv(){return new qa({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:Uf(),fragmentShader:` + + precision mediump float; + precision mediump int; + + uniform float flipEnvMap; + + varying vec3 vOutputDirection; + + uniform samplerCube envMap; + + void main() { + + gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) ); + + } + `,blending:na,depthTest:!1,depthWrite:!1})}function Uf(){return` + + precision mediump float; + precision mediump int; + + attribute float faceIndex; + + varying vec3 vOutputDirection; + + // RH coordinate system; PMREM face-indexing convention + vec3 getDirection( vec2 uv, float face ) { + + uv = 2.0 * uv - 1.0; + + vec3 direction = vec3( uv, 1.0 ); + + if ( face == 0.0 ) { + + direction = direction.zyx; // ( 1, v, u ) pos x + + } else if ( face == 1.0 ) { + + direction = direction.xzy; + direction.xz *= -1.0; // ( -u, 1, -v ) pos y + + } else if ( face == 2.0 ) { + + direction.x *= -1.0; // ( -u, v, 1 ) pos z + + } else if ( face == 3.0 ) { + + direction = direction.zyx; + direction.xz *= -1.0; // ( -1, v, -u ) neg x + + } else if ( face == 4.0 ) { + + direction = direction.xzy; + direction.xy *= -1.0; // ( -u, -1, v ) neg y + + } else if ( face == 5.0 ) { + + direction.z *= -1.0; // ( u, v, -1 ) neg z + + } + + return direction; + + } + + void main() { + + vOutputDirection = getDirection( uv, faceIndex ); + gl_Position = vec4( position, 1.0 ); + + } + `}function cb(t){let e=new WeakMap,i=null;function n(s){if(s&&s.isTexture){const u=s.mapping,c=u===dp||u===pp,h=u===os||u===ss;if(c||h)if(s.isRenderTargetTexture&&s.needsPMREMUpdate===!0){s.needsPMREMUpdate=!1;let p=e.get(s);return i===null&&(i=new yv(t)),p=c?i.fromEquirectangular(s,p):i.fromCubemap(s,p),e.set(s,p),p.texture}else{if(e.has(s))return e.get(s).texture;{const p=s.image;if(c&&p&&p.height>0||h&&p&&r(p)){i===null&&(i=new yv(t));const d=c?i.fromEquirectangular(s):i.fromCubemap(s);return e.set(s,d),s.addEventListener("dispose",a),d.texture}else return null}}}return s}function r(s){let u=0;const c=6;for(let h=0;he.maxTextureSize&&(Y=Math.ceil(C/e.maxTextureSize),C=e.maxTextureSize);const ne=new Float32Array(C*Y*4*v),H=new z_(ne,C,Y,v);H.type=Wr,H.needsUpdate=!0;const V=E*4;for(let X=0;X0)return t;const r=e*i;let a=Sv[r];if(a===void 0&&(a=new Float32Array(r),Sv[r]=a),e!==0){n.toArray(a,0);for(let o=1,s=0;o!==e;++o)s+=i,t[o].toArray(a,s)}return a}function zt(t,e){if(t.length!==e.length)return!1;for(let i=0,n=t.length;i":" "} ${s}: ${i[o]}`)}return n.join(` +`)}function hA(t){switch(t){case $n:return["Linear","( value )"];case We:return["sRGB","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported color space:",t),["Linear","( value )"]}}function Cv(t,e,i){const n=t.getShaderParameter(e,t.COMPILE_STATUS),r=t.getShaderInfoLog(e).trim();if(n&&r==="")return"";const a=/ERROR: 0:(\d+)/.exec(r);if(a){const o=parseInt(a[1]);return i.toUpperCase()+` + +`+r+` + +`+cA(t.getShaderSource(e),o)}else return r}function dA(t,e){const i=hA(e);return"vec4 "+t+"( vec4 value ) { return LinearTo"+i[0]+i[1]+"; }"}function pA(t,e){let i;switch(e){case xE:i="Linear";break;case ME:i="Reinhard";break;case SE:i="OptimizedCineon";break;case EE:i="ACESFilmic";break;case wE:i="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",e),i="Linear"}return"vec3 "+t+"( vec3 color ) { return "+i+"ToneMapping( color ); }"}function fA(t){return[t.extensionDerivatives||t.envMapCubeUVHeight||t.bumpMap||t.normalMapTangentSpace||t.clearcoatNormalMap||t.flatShading||t.shaderID==="physical"?"#extension GL_OES_standard_derivatives : enable":"",(t.extensionFragDepth||t.logarithmicDepthBuffer)&&t.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",t.extensionDrawBuffers&&t.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(t.extensionShaderTextureLOD||t.envMap||t.transmission)&&t.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(Hs).join(` +`)}function mA(t){const e=[];for(const i in t){const n=t[i];n!==!1&&e.push("#define "+i+" "+n)}return e.join(` +`)}function gA(t,e){const i={},n=t.getProgramParameter(e,t.ACTIVE_ATTRIBUTES);for(let r=0;r/gm;function _p(t){return t.replace(vA,_A)}const yA=new Map([["encodings_fragment","colorspace_fragment"],["encodings_pars_fragment","colorspace_pars_fragment"],["output_fragment","opaque_fragment"]]);function _A(t,e){let i=Xe[e];if(i===void 0){const n=yA.get(e);if(n!==void 0)i=Xe[n],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',e,n);else throw new Error("Can not resolve #include <"+e+">")}return _p(i)}const xA=/#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 Iv(t){return t.replace(xA,MA)}function MA(t,e,i,n){let r="";for(let a=parseInt(e);a0&&(_+=` +`),f=[g,"#define SHADER_TYPE "+i.shaderType,"#define SHADER_NAME "+i.shaderName,v].filter(Hs).join(` +`),f.length>0&&(f+=` +`)):(_=[Dv(i),"#define SHADER_TYPE "+i.shaderType,"#define SHADER_NAME "+i.shaderName,v,i.instancing?"#define USE_INSTANCING":"",i.instancingColor?"#define USE_INSTANCING_COLOR":"",i.useFog&&i.fog?"#define USE_FOG":"",i.useFog&&i.fogExp2?"#define FOG_EXP2":"",i.map?"#define USE_MAP":"",i.envMap?"#define USE_ENVMAP":"",i.envMap?"#define "+h:"",i.lightMap?"#define USE_LIGHTMAP":"",i.aoMap?"#define USE_AOMAP":"",i.bumpMap?"#define USE_BUMPMAP":"",i.normalMap?"#define USE_NORMALMAP":"",i.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",i.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",i.displacementMap?"#define USE_DISPLACEMENTMAP":"",i.emissiveMap?"#define USE_EMISSIVEMAP":"",i.anisotropyMap?"#define USE_ANISOTROPYMAP":"",i.clearcoatMap?"#define USE_CLEARCOATMAP":"",i.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",i.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",i.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",i.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",i.specularMap?"#define USE_SPECULARMAP":"",i.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",i.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",i.roughnessMap?"#define USE_ROUGHNESSMAP":"",i.metalnessMap?"#define USE_METALNESSMAP":"",i.alphaMap?"#define USE_ALPHAMAP":"",i.alphaHash?"#define USE_ALPHAHASH":"",i.transmission?"#define USE_TRANSMISSION":"",i.transmissionMap?"#define USE_TRANSMISSIONMAP":"",i.thicknessMap?"#define USE_THICKNESSMAP":"",i.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",i.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",i.mapUv?"#define MAP_UV "+i.mapUv:"",i.alphaMapUv?"#define ALPHAMAP_UV "+i.alphaMapUv:"",i.lightMapUv?"#define LIGHTMAP_UV "+i.lightMapUv:"",i.aoMapUv?"#define AOMAP_UV "+i.aoMapUv:"",i.emissiveMapUv?"#define EMISSIVEMAP_UV "+i.emissiveMapUv:"",i.bumpMapUv?"#define BUMPMAP_UV "+i.bumpMapUv:"",i.normalMapUv?"#define NORMALMAP_UV "+i.normalMapUv:"",i.displacementMapUv?"#define DISPLACEMENTMAP_UV "+i.displacementMapUv:"",i.metalnessMapUv?"#define METALNESSMAP_UV "+i.metalnessMapUv:"",i.roughnessMapUv?"#define ROUGHNESSMAP_UV "+i.roughnessMapUv:"",i.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+i.anisotropyMapUv:"",i.clearcoatMapUv?"#define CLEARCOATMAP_UV "+i.clearcoatMapUv:"",i.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+i.clearcoatNormalMapUv:"",i.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+i.clearcoatRoughnessMapUv:"",i.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+i.iridescenceMapUv:"",i.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+i.iridescenceThicknessMapUv:"",i.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+i.sheenColorMapUv:"",i.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+i.sheenRoughnessMapUv:"",i.specularMapUv?"#define SPECULARMAP_UV "+i.specularMapUv:"",i.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+i.specularColorMapUv:"",i.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+i.specularIntensityMapUv:"",i.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+i.transmissionMapUv:"",i.thicknessMapUv?"#define THICKNESSMAP_UV "+i.thicknessMapUv:"",i.vertexTangents&&i.flatShading===!1?"#define USE_TANGENT":"",i.vertexColors?"#define USE_COLOR":"",i.vertexAlphas?"#define USE_COLOR_ALPHA":"",i.vertexUv1s?"#define USE_UV1":"",i.vertexUv2s?"#define USE_UV2":"",i.vertexUv3s?"#define USE_UV3":"",i.pointsUvs?"#define USE_POINTS_UV":"",i.flatShading?"#define FLAT_SHADED":"",i.skinning?"#define USE_SKINNING":"",i.morphTargets?"#define USE_MORPHTARGETS":"",i.morphNormals&&i.flatShading===!1?"#define USE_MORPHNORMALS":"",i.morphColors&&i.isWebGL2?"#define USE_MORPHCOLORS":"",i.morphTargetsCount>0&&i.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",i.morphTargetsCount>0&&i.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+i.morphTextureStride:"",i.morphTargetsCount>0&&i.isWebGL2?"#define MORPHTARGETS_COUNT "+i.morphTargetsCount:"",i.doubleSided?"#define DOUBLE_SIDED":"",i.flipSided?"#define FLIP_SIDED":"",i.shadowMapEnabled?"#define USE_SHADOWMAP":"",i.shadowMapEnabled?"#define "+u:"",i.sizeAttenuation?"#define USE_SIZEATTENUATION":"",i.useLegacyLights?"#define LEGACY_LIGHTS":"",i.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",i.logarithmicDepthBuffer&&i.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1"," attribute vec2 uv1;","#endif","#ifdef USE_UV2"," attribute vec2 uv2;","#endif","#ifdef USE_UV3"," attribute vec2 uv3;","#endif","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )"," attribute vec3 morphTarget0;"," attribute vec3 morphTarget1;"," attribute vec3 morphTarget2;"," attribute vec3 morphTarget3;"," #ifdef USE_MORPHNORMALS"," attribute vec3 morphNormal0;"," attribute vec3 morphNormal1;"," attribute vec3 morphNormal2;"," attribute vec3 morphNormal3;"," #else"," attribute vec3 morphTarget4;"," attribute vec3 morphTarget5;"," attribute vec3 morphTarget6;"," attribute vec3 morphTarget7;"," #endif","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif",` +`].filter(Hs).join(` +`),f=[g,Dv(i),"#define SHADER_TYPE "+i.shaderType,"#define SHADER_NAME "+i.shaderName,v,i.useFog&&i.fog?"#define USE_FOG":"",i.useFog&&i.fogExp2?"#define FOG_EXP2":"",i.map?"#define USE_MAP":"",i.matcap?"#define USE_MATCAP":"",i.envMap?"#define USE_ENVMAP":"",i.envMap?"#define "+c:"",i.envMap?"#define "+h:"",i.envMap?"#define "+p:"",d?"#define CUBEUV_TEXEL_WIDTH "+d.texelWidth:"",d?"#define CUBEUV_TEXEL_HEIGHT "+d.texelHeight:"",d?"#define CUBEUV_MAX_MIP "+d.maxMip+".0":"",i.lightMap?"#define USE_LIGHTMAP":"",i.aoMap?"#define USE_AOMAP":"",i.bumpMap?"#define USE_BUMPMAP":"",i.normalMap?"#define USE_NORMALMAP":"",i.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",i.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",i.emissiveMap?"#define USE_EMISSIVEMAP":"",i.anisotropy?"#define USE_ANISOTROPY":"",i.anisotropyMap?"#define USE_ANISOTROPYMAP":"",i.clearcoat?"#define USE_CLEARCOAT":"",i.clearcoatMap?"#define USE_CLEARCOATMAP":"",i.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",i.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",i.iridescence?"#define USE_IRIDESCENCE":"",i.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",i.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",i.specularMap?"#define USE_SPECULARMAP":"",i.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",i.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",i.roughnessMap?"#define USE_ROUGHNESSMAP":"",i.metalnessMap?"#define USE_METALNESSMAP":"",i.alphaMap?"#define USE_ALPHAMAP":"",i.alphaTest?"#define USE_ALPHATEST":"",i.alphaHash?"#define USE_ALPHAHASH":"",i.sheen?"#define USE_SHEEN":"",i.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",i.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",i.transmission?"#define USE_TRANSMISSION":"",i.transmissionMap?"#define USE_TRANSMISSIONMAP":"",i.thicknessMap?"#define USE_THICKNESSMAP":"",i.vertexTangents&&i.flatShading===!1?"#define USE_TANGENT":"",i.vertexColors||i.instancingColor?"#define USE_COLOR":"",i.vertexAlphas?"#define USE_COLOR_ALPHA":"",i.vertexUv1s?"#define USE_UV1":"",i.vertexUv2s?"#define USE_UV2":"",i.vertexUv3s?"#define USE_UV3":"",i.pointsUvs?"#define USE_POINTS_UV":"",i.gradientMap?"#define USE_GRADIENTMAP":"",i.flatShading?"#define FLAT_SHADED":"",i.doubleSided?"#define DOUBLE_SIDED":"",i.flipSided?"#define FLIP_SIDED":"",i.shadowMapEnabled?"#define USE_SHADOWMAP":"",i.shadowMapEnabled?"#define "+u:"",i.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",i.useLegacyLights?"#define LEGACY_LIGHTS":"",i.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",i.logarithmicDepthBuffer&&i.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",i.toneMapping!==ra?"#define TONE_MAPPING":"",i.toneMapping!==ra?Xe.tonemapping_pars_fragment:"",i.toneMapping!==ra?pA("toneMapping",i.toneMapping):"",i.dithering?"#define DITHERING":"",i.opaque?"#define OPAQUE":"",Xe.colorspace_pars_fragment,dA("linearToOutputTexel",i.outputColorSpace),i.useDepthPacking?"#define DEPTH_PACKING "+i.depthPacking:"",` +`].filter(Hs).join(` +`)),o=_p(o),o=Lv(o,i),o=Pv(o,i),s=_p(s),s=Lv(s,i),s=Pv(s,i),o=Iv(o),s=Iv(s),i.isWebGL2&&i.isRawShaderMaterial!==!0&&(x=`#version 300 es +`,_=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join(` +`)+` +`+_,f=["#define varying in",i.glslVersion===Qg?"":"layout(location = 0) out highp vec4 pc_fragColor;",i.glslVersion===Qg?"":"#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(` +`)+` +`+f);const y=x+_+o,w=x+f+s,T=Av(r,r.VERTEX_SHADER,y),R=Av(r,r.FRAGMENT_SHADER,w);if(r.attachShader(M,T),r.attachShader(M,R),i.index0AttributeName!==void 0?r.bindAttribLocation(M,0,i.index0AttributeName):i.morphTargets===!0&&r.bindAttribLocation(M,0,"position"),r.linkProgram(M),t.debug.checkShaderErrors){const E=r.getProgramInfoLog(M).trim(),C=r.getShaderInfoLog(T).trim(),Y=r.getShaderInfoLog(R).trim();let ne=!0,H=!0;if(r.getProgramParameter(M,r.LINK_STATUS)===!1)if(ne=!1,typeof t.debug.onShaderError=="function")t.debug.onShaderError(r,M,T,R);else{const V=Cv(r,T,"vertex"),X=Cv(r,R,"fragment");console.error("THREE.WebGLProgram: Shader Error "+r.getError()+" - VALIDATE_STATUS "+r.getProgramParameter(M,r.VALIDATE_STATUS)+` + +Program Info Log: `+E+` +`+V+` +`+X)}else E!==""?console.warn("THREE.WebGLProgram: Program Info Log:",E):(C===""||Y==="")&&(H=!1);H&&(this.diagnostics={runnable:ne,programLog:E,vertexShader:{log:C,prefix:_},fragmentShader:{log:Y,prefix:f}})}r.deleteShader(T),r.deleteShader(R);let A;this.getUniforms=function(){return A===void 0&&(A=new ju(r,M)),A};let I;return this.getAttributes=function(){return I===void 0&&(I=gA(r,M)),I},this.destroy=function(){n.releaseStatesOfProgram(this),r.deleteProgram(M),this.program=void 0},this.type=i.shaderType,this.name=i.shaderName,this.id=uA++,this.cacheKey=e,this.usedTimes=1,this.program=M,this.vertexShader=T,this.fragmentShader=R,this}let AA=0;class CA{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const i=e.vertexShader,n=e.fragmentShader,r=this._getShaderStage(i),a=this._getShaderStage(n),o=this._getShaderCacheForMaterial(e);return o.has(r)===!1&&(o.add(r),r.usedTimes++),o.has(a)===!1&&(o.add(a),a.usedTimes++),this}remove(e){const i=this.materialCache.get(e);for(const n of i)n.usedTimes--,n.usedTimes===0&&this.shaderCache.delete(n.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 i=this.materialCache;let n=i.get(e);return n===void 0&&(n=new Set,i.set(e,n)),n}_getShaderStage(e){const i=this.shaderCache;let n=i.get(e);return n===void 0&&(n=new LA(e),i.set(e,n)),n}}class LA{constructor(e){this.id=AA++,this.code=e,this.usedTimes=0}}function PA(t,e,i,n,r,a,o){const s=new G_,u=new CA,c=[],h=r.isWebGL2,p=r.logarithmicDepthBuffer,d=r.vertexTextures;let g=r.precision;const v={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 M(E){return E===0?"uv":`uv${E}`}function _(E,C,Y,ne,H){const V=ne.fog,X=H.geometry,ie=E.isMeshStandardMaterial?ne.environment:null,Z=(E.isMeshStandardMaterial?i:e).get(E.envMap||ie),z=Z&&Z.mapping===Yc?Z.image.height:null,J=v[E.type];E.precision!==null&&(g=r.getMaxPrecision(E.precision),g!==E.precision&&console.warn("THREE.WebGLProgram.getParameters:",E.precision,"not supported, using",g,"instead."));const k=X.morphAttributes.position||X.morphAttributes.normal||X.morphAttributes.color,F=k!==void 0?k.length:0;let $=0;X.morphAttributes.position!==void 0&&($=1),X.morphAttributes.normal!==void 0&&($=2),X.morphAttributes.color!==void 0&&($=3);let re,se,pe,xe;if(J){const an=jn[J];re=an.vertexShader,se=an.fragmentShader}else re=E.vertexShader,se=E.fragmentShader,u.update(E),pe=u.getVertexShaderID(E),xe=u.getFragmentShaderID(E);const Pe=t.getRenderTarget(),Ie=H.isInstancedMesh===!0,Ye=!!E.map,Jt=!!E.matcap,ze=!!Z,G=!!E.aoMap,vt=!!E.lightMap,we=!!E.bumpMap,Be=!!E.normalMap,Ue=!!E.displacementMap,st=!!E.emissiveMap,Ve=!!E.metalnessMap,Ne=!!E.roughnessMap,Qe=E.anisotropy>0,Nt=E.clearcoat>0,yt=E.iridescence>0,D=E.sheen>0,b=E.transmission>0,j=Qe&&!!E.anisotropyMap,ce=Nt&&!!E.clearcoatMap,ue=Nt&&!!E.clearcoatNormalMap,le=Nt&&!!E.clearcoatRoughnessMap,Te=yt&&!!E.iridescenceMap,he=yt&&!!E.iridescenceThicknessMap,ee=D&&!!E.sheenColorMap,Se=D&&!!E.sheenRoughnessMap,be=!!E.specularMap,Re=!!E.specularColorMap,Me=!!E.specularIntensityMap,ye=b&&!!E.transmissionMap,De=b&&!!E.thicknessMap,$e=!!E.gradientMap,O=!!E.alphaMap,fe=E.alphaTest>0,K=!!E.alphaHash,de=!!E.extensions,me=!!X.attributes.uv1,Ke=!!X.attributes.uv2,ct=!!X.attributes.uv3;let tt=ra;return E.toneMapped&&(Pe===null||Pe.isXRRenderTarget===!0)&&(tt=t.toneMapping),{isWebGL2:h,shaderID:J,shaderType:E.type,shaderName:E.name,vertexShader:re,fragmentShader:se,defines:E.defines,customVertexShaderID:pe,customFragmentShaderID:xe,isRawShaderMaterial:E.isRawShaderMaterial===!0,glslVersion:E.glslVersion,precision:g,instancing:Ie,instancingColor:Ie&&H.instanceColor!==null,supportsVertexTextures:d,outputColorSpace:Pe===null?t.outputColorSpace:Pe.isXRRenderTarget===!0?Pe.texture.colorSpace:$n,map:Ye,matcap:Jt,envMap:ze,envMapMode:ze&&Z.mapping,envMapCubeUVHeight:z,aoMap:G,lightMap:vt,bumpMap:we,normalMap:Be,displacementMap:d&&Ue,emissiveMap:st,normalMapObjectSpace:Be&&E.normalMapType===FE,normalMapTangentSpace:Be&&E.normalMapType===OE,metalnessMap:Ve,roughnessMap:Ne,anisotropy:Qe,anisotropyMap:j,clearcoat:Nt,clearcoatMap:ce,clearcoatNormalMap:ue,clearcoatRoughnessMap:le,iridescence:yt,iridescenceMap:Te,iridescenceThicknessMap:he,sheen:D,sheenColorMap:ee,sheenRoughnessMap:Se,specularMap:be,specularColorMap:Re,specularIntensityMap:Me,transmission:b,transmissionMap:ye,thicknessMap:De,gradientMap:$e,opaque:E.transparent===!1&&E.blending===Jo,alphaMap:O,alphaTest:fe,alphaHash:K,combine:E.combine,mapUv:Ye&&M(E.map.channel),aoMapUv:G&&M(E.aoMap.channel),lightMapUv:vt&&M(E.lightMap.channel),bumpMapUv:we&&M(E.bumpMap.channel),normalMapUv:Be&&M(E.normalMap.channel),displacementMapUv:Ue&&M(E.displacementMap.channel),emissiveMapUv:st&&M(E.emissiveMap.channel),metalnessMapUv:Ve&&M(E.metalnessMap.channel),roughnessMapUv:Ne&&M(E.roughnessMap.channel),anisotropyMapUv:j&&M(E.anisotropyMap.channel),clearcoatMapUv:ce&&M(E.clearcoatMap.channel),clearcoatNormalMapUv:ue&&M(E.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:le&&M(E.clearcoatRoughnessMap.channel),iridescenceMapUv:Te&&M(E.iridescenceMap.channel),iridescenceThicknessMapUv:he&&M(E.iridescenceThicknessMap.channel),sheenColorMapUv:ee&&M(E.sheenColorMap.channel),sheenRoughnessMapUv:Se&&M(E.sheenRoughnessMap.channel),specularMapUv:be&&M(E.specularMap.channel),specularColorMapUv:Re&&M(E.specularColorMap.channel),specularIntensityMapUv:Me&&M(E.specularIntensityMap.channel),transmissionMapUv:ye&&M(E.transmissionMap.channel),thicknessMapUv:De&&M(E.thicknessMap.channel),alphaMapUv:O&&M(E.alphaMap.channel),vertexTangents:!!X.attributes.tangent&&(Be||Qe),vertexColors:E.vertexColors,vertexAlphas:E.vertexColors===!0&&!!X.attributes.color&&X.attributes.color.itemSize===4,vertexUv1s:me,vertexUv2s:Ke,vertexUv3s:ct,pointsUvs:H.isPoints===!0&&!!X.attributes.uv&&(Ye||O),fog:!!V,useFog:E.fog===!0,fogExp2:V&&V.isFogExp2,flatShading:E.flatShading===!0,sizeAttenuation:E.sizeAttenuation===!0,logarithmicDepthBuffer:p,skinning:H.isSkinnedMesh===!0,morphTargets:X.morphAttributes.position!==void 0,morphNormals:X.morphAttributes.normal!==void 0,morphColors:X.morphAttributes.color!==void 0,morphTargetsCount:F,morphTextureStride:$,numDirLights:C.directional.length,numPointLights:C.point.length,numSpotLights:C.spot.length,numSpotLightMaps:C.spotLightMap.length,numRectAreaLights:C.rectArea.length,numHemiLights:C.hemi.length,numDirLightShadows:C.directionalShadowMap.length,numPointLightShadows:C.pointShadowMap.length,numSpotLightShadows:C.spotShadowMap.length,numSpotLightShadowsWithMaps:C.numSpotLightShadowsWithMaps,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:E.dithering,shadowMapEnabled:t.shadowMap.enabled&&Y.length>0,shadowMapType:t.shadowMap.type,toneMapping:tt,useLegacyLights:t._useLegacyLights,premultipliedAlpha:E.premultipliedAlpha,doubleSided:E.side===yr,flipSided:E.side===Ci,useDepthPacking:E.depthPacking>=0,depthPacking:E.depthPacking||0,index0AttributeName:E.index0AttributeName,extensionDerivatives:de&&E.extensions.derivatives===!0,extensionFragDepth:de&&E.extensions.fragDepth===!0,extensionDrawBuffers:de&&E.extensions.drawBuffers===!0,extensionShaderTextureLOD:de&&E.extensions.shaderTextureLOD===!0,rendererExtensionFragDepth:h||n.has("EXT_frag_depth"),rendererExtensionDrawBuffers:h||n.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:h||n.has("EXT_shader_texture_lod"),customProgramCacheKey:E.customProgramCacheKey()}}function f(E){const C=[];if(E.shaderID?C.push(E.shaderID):(C.push(E.customVertexShaderID),C.push(E.customFragmentShaderID)),E.defines!==void 0)for(const Y in E.defines)C.push(Y),C.push(E.defines[Y]);return E.isRawShaderMaterial===!1&&(x(C,E),y(C,E),C.push(t.outputColorSpace)),C.push(E.customProgramCacheKey),C.join()}function x(E,C){E.push(C.precision),E.push(C.outputColorSpace),E.push(C.envMapMode),E.push(C.envMapCubeUVHeight),E.push(C.mapUv),E.push(C.alphaMapUv),E.push(C.lightMapUv),E.push(C.aoMapUv),E.push(C.bumpMapUv),E.push(C.normalMapUv),E.push(C.displacementMapUv),E.push(C.emissiveMapUv),E.push(C.metalnessMapUv),E.push(C.roughnessMapUv),E.push(C.anisotropyMapUv),E.push(C.clearcoatMapUv),E.push(C.clearcoatNormalMapUv),E.push(C.clearcoatRoughnessMapUv),E.push(C.iridescenceMapUv),E.push(C.iridescenceThicknessMapUv),E.push(C.sheenColorMapUv),E.push(C.sheenRoughnessMapUv),E.push(C.specularMapUv),E.push(C.specularColorMapUv),E.push(C.specularIntensityMapUv),E.push(C.transmissionMapUv),E.push(C.thicknessMapUv),E.push(C.combine),E.push(C.fogExp2),E.push(C.sizeAttenuation),E.push(C.morphTargetsCount),E.push(C.morphAttributeCount),E.push(C.numDirLights),E.push(C.numPointLights),E.push(C.numSpotLights),E.push(C.numSpotLightMaps),E.push(C.numHemiLights),E.push(C.numRectAreaLights),E.push(C.numDirLightShadows),E.push(C.numPointLightShadows),E.push(C.numSpotLightShadows),E.push(C.numSpotLightShadowsWithMaps),E.push(C.shadowMapType),E.push(C.toneMapping),E.push(C.numClippingPlanes),E.push(C.numClipIntersection),E.push(C.depthPacking)}function y(E,C){s.disableAll(),C.isWebGL2&&s.enable(0),C.supportsVertexTextures&&s.enable(1),C.instancing&&s.enable(2),C.instancingColor&&s.enable(3),C.matcap&&s.enable(4),C.envMap&&s.enable(5),C.normalMapObjectSpace&&s.enable(6),C.normalMapTangentSpace&&s.enable(7),C.clearcoat&&s.enable(8),C.iridescence&&s.enable(9),C.alphaTest&&s.enable(10),C.vertexColors&&s.enable(11),C.vertexAlphas&&s.enable(12),C.vertexUv1s&&s.enable(13),C.vertexUv2s&&s.enable(14),C.vertexUv3s&&s.enable(15),C.vertexTangents&&s.enable(16),C.anisotropy&&s.enable(17),E.push(s.mask),s.disableAll(),C.fog&&s.enable(0),C.useFog&&s.enable(1),C.flatShading&&s.enable(2),C.logarithmicDepthBuffer&&s.enable(3),C.skinning&&s.enable(4),C.morphTargets&&s.enable(5),C.morphNormals&&s.enable(6),C.morphColors&&s.enable(7),C.premultipliedAlpha&&s.enable(8),C.shadowMapEnabled&&s.enable(9),C.useLegacyLights&&s.enable(10),C.doubleSided&&s.enable(11),C.flipSided&&s.enable(12),C.useDepthPacking&&s.enable(13),C.dithering&&s.enable(14),C.transmission&&s.enable(15),C.sheen&&s.enable(16),C.opaque&&s.enable(17),C.pointsUvs&&s.enable(18),E.push(s.mask)}function w(E){const C=v[E.type];let Y;if(C){const ne=jn[C];Y=gw.clone(ne.uniforms)}else Y=E.uniforms;return Y}function T(E,C){let Y;for(let ne=0,H=c.length;ne0?n.push(f):g.transparent===!0?r.push(f):i.push(f)}function u(p,d,g,v,M,_){const f=o(p,d,g,v,M,_);g.transmission>0?n.unshift(f):g.transparent===!0?r.unshift(f):i.unshift(f)}function c(p,d){i.length>1&&i.sort(p||DA),n.length>1&&n.sort(d||kv),r.length>1&&r.sort(d||kv)}function h(){for(let p=e,d=t.length;p=a.length?(o=new Uv,a.push(o)):o=a[r],o}function i(){t=new WeakMap}return{get:e,dispose:i}}function UA(){const t={};return{get:function(e){if(t[e.id]!==void 0)return t[e.id];let i;switch(e.type){case"DirectionalLight":i={direction:new q,color:new lt};break;case"SpotLight":i={position:new q,direction:new q,color:new lt,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":i={position:new q,color:new lt,distance:0,decay:0};break;case"HemisphereLight":i={direction:new q,skyColor:new lt,groundColor:new lt};break;case"RectAreaLight":i={color:new lt,position:new q,halfWidth:new q,halfHeight:new q};break}return t[e.id]=i,i}}}function NA(){const t={};return{get:function(e){if(t[e.id]!==void 0)return t[e.id];let i;switch(e.type){case"DirectionalLight":i={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new ot};break;case"SpotLight":i={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new ot};break;case"PointLight":i={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new ot,shadowCameraNear:1,shadowCameraFar:1e3};break}return t[e.id]=i,i}}}let OA=0;function FA(t,e){return(e.castShadow?2:0)-(t.castShadow?2:0)+(e.map?1:0)-(t.map?1:0)}function zA(t,e){const i=new UA,n=NA(),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-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};for(let h=0;h<9;h++)r.probe.push(new q);const a=new q,o=new jt,s=new jt;function u(h,p){let d=0,g=0,v=0;for(let Y=0;Y<9;Y++)r.probe[Y].set(0,0,0);let M=0,_=0,f=0,x=0,y=0,w=0,T=0,R=0,A=0,I=0;h.sort(FA);const E=p===!0?Math.PI:1;for(let Y=0,ne=h.length;Y0&&(e.isWebGL2||t.has("OES_texture_float_linear")===!0?(r.rectAreaLTC1=ve.LTC_FLOAT_1,r.rectAreaLTC2=ve.LTC_FLOAT_2):t.has("OES_texture_half_float_linear")===!0?(r.rectAreaLTC1=ve.LTC_HALF_1,r.rectAreaLTC2=ve.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),r.ambient[0]=d,r.ambient[1]=g,r.ambient[2]=v;const C=r.hash;(C.directionalLength!==M||C.pointLength!==_||C.spotLength!==f||C.rectAreaLength!==x||C.hemiLength!==y||C.numDirectionalShadows!==w||C.numPointShadows!==T||C.numSpotShadows!==R||C.numSpotMaps!==A)&&(r.directional.length=M,r.spot.length=f,r.rectArea.length=x,r.point.length=_,r.hemi.length=y,r.directionalShadow.length=w,r.directionalShadowMap.length=w,r.pointShadow.length=T,r.pointShadowMap.length=T,r.spotShadow.length=R,r.spotShadowMap.length=R,r.directionalShadowMatrix.length=w,r.pointShadowMatrix.length=T,r.spotLightMatrix.length=R+A-I,r.spotLightMap.length=A,r.numSpotLightShadowsWithMaps=I,C.directionalLength=M,C.pointLength=_,C.spotLength=f,C.rectAreaLength=x,C.hemiLength=y,C.numDirectionalShadows=w,C.numPointShadows=T,C.numSpotShadows=R,C.numSpotMaps=A,r.version=OA++)}function c(h,p){let d=0,g=0,v=0,M=0,_=0;const f=p.matrixWorldInverse;for(let x=0,y=h.length;x=s.length?(u=new Nv(t,e),s.push(u)):u=s[o],u}function r(){i=new WeakMap}return{get:n,dispose:r}}class GA extends Bl{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=UE,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 HA extends Bl{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}}const XA=`void main() { + gl_Position = vec4( position, 1.0 ); +}`,WA=`uniform sampler2D shadow_pass; +uniform vec2 resolution; +uniform float radius; +#include +void main() { + const float samples = float( VSM_SAMPLES ); + float mean = 0.0; + float squared_mean = 0.0; + float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 ); + float uvStart = samples <= 1.0 ? 0.0 : - 1.0; + for ( float i = 0.0; i < samples; i ++ ) { + float uvOffset = uvStart + i * uvStride; + #ifdef HORIZONTAL_PASS + vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) ); + mean += distribution.x; + squared_mean += distribution.y * distribution.y + distribution.x * distribution.x; + #else + float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) ); + mean += depth; + squared_mean += depth * depth; + #endif + } + mean = mean / samples; + squared_mean = squared_mean / samples; + float std_dev = sqrt( squared_mean - mean * mean ); + gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) ); +}`;function VA(t,e,i){let n=new Z_;const r=new ot,a=new ot,o=new qt,s=new GA({depthPacking:NE}),u=new HA,c={},h=i.maxTextureSize,p={[ca]:Ci,[Ci]:ca,[yr]:yr},d=new qa({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new ot},radius:{value:4}},vertexShader:XA,fragmentShader:WA}),g=d.clone();g.defines.HORIZONTAL_PASS=1;const v=new Lr;v.setAttribute("position",new On(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const M=new Vr(v,d),_=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=E_;let f=this.type;this.render=function(T,R,A){if(_.enabled===!1||_.autoUpdate===!1&&_.needsUpdate===!1||T.length===0)return;const I=t.getRenderTarget(),E=t.getActiveCubeFace(),C=t.getActiveMipmapLevel(),Y=t.state;Y.setBlending(na),Y.buffers.color.setClear(1,1,1,1),Y.buffers.depth.setTest(!0),Y.setScissorTest(!1);const ne=f!==dr&&this.type===dr,H=f===dr&&this.type!==dr;for(let V=0,X=T.length;Vh||r.y>h)&&(r.x>h&&(a.x=Math.floor(h/z.x),r.x=a.x*z.x,Z.mapSize.x=a.x),r.y>h&&(a.y=Math.floor(h/z.y),r.y=a.y*z.y,Z.mapSize.y=a.y)),Z.map===null||ne===!0||H===!0){const k=this.type!==dr?{minFilter:di,magFilter:di}:{};Z.map!==null&&Z.map.dispose(),Z.map=new Ka(r.x,r.y,k),Z.map.texture.name=ie.name+".shadowMap",Z.camera.updateProjectionMatrix()}t.setRenderTarget(Z.map),t.clear();const J=Z.getViewportCount();for(let k=0;k0||R.map&&R.alphaTest>0){const Y=E.uuid,ne=R.uuid;let H=c[Y];H===void 0&&(H={},c[Y]=H);let V=H[ne];V===void 0&&(V=E.clone(),H[ne]=V),E=V}if(E.visible=R.visible,E.wireframe=R.wireframe,I===dr?E.side=R.shadowSide!==null?R.shadowSide:R.side:E.side=R.shadowSide!==null?R.shadowSide:p[R.side],E.alphaMap=R.alphaMap,E.alphaTest=R.alphaTest,E.map=R.map,E.clipShadows=R.clipShadows,E.clippingPlanes=R.clippingPlanes,E.clipIntersection=R.clipIntersection,E.displacementMap=R.displacementMap,E.displacementScale=R.displacementScale,E.displacementBias=R.displacementBias,E.wireframeLinewidth=R.wireframeLinewidth,E.linewidth=R.linewidth,A.isPointLight===!0&&E.isMeshDistanceMaterial===!0){const Y=t.properties.get(E);Y.light=A}return E}function w(T,R,A,I,E){if(T.visible===!1)return;if(T.layers.test(R.layers)&&(T.isMesh||T.isLine||T.isPoints)&&(T.castShadow||T.receiveShadow&&E===dr)&&(!T.frustumCulled||n.intersectsObject(T))){T.modelViewMatrix.multiplyMatrices(A.matrixWorldInverse,T.matrixWorld);const Y=e.update(T),ne=T.material;if(Array.isArray(ne)){const H=Y.groups;for(let V=0,X=H.length;V=1):z.indexOf("OpenGL ES")!==-1&&(Z=parseFloat(/^OpenGL ES (\d)/.exec(z)[1]),ie=Z>=2);let J=null,k={};const F=t.getParameter(t.SCISSOR_BOX),$=t.getParameter(t.VIEWPORT),re=new qt().fromArray(F),se=new qt().fromArray($);function pe(O,fe,K,de){const me=new Uint8Array(4),Ke=t.createTexture();t.bindTexture(O,Ke),t.texParameteri(O,t.TEXTURE_MIN_FILTER,t.NEAREST),t.texParameteri(O,t.TEXTURE_MAG_FILTER,t.NEAREST);for(let ct=0;ct"u"?!1:/OculusBrowser/g.test(navigator.userAgent),v=new WeakMap;let M;const _=new WeakMap;let f=!1;try{f=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch{}function x(D,b){return f?new OffscreenCanvas(D,b):wl("canvas")}function y(D,b,j,ce){let ue=1;if((D.width>ce||D.height>ce)&&(ue=ce/Math.max(D.width,D.height)),ue<1||b===!0)if(typeof HTMLImageElement<"u"&&D instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&D instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&D instanceof ImageBitmap){const le=b?yp:Math.floor,Te=le(ue*D.width),he=le(ue*D.height);M===void 0&&(M=x(Te,he));const ee=j?x(Te,he):M;return ee.width=Te,ee.height=he,ee.getContext("2d").drawImage(D,0,0,Te,he),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+D.width+"x"+D.height+") to ("+Te+"x"+he+")."),ee}else return"data"in D&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+D.width+"x"+D.height+")."),D;return D}function w(D){return $g(D.width)&&$g(D.height)}function T(D){return s?!1:D.wrapS!==Dn||D.wrapT!==Dn||D.minFilter!==di&&D.minFilter!==dn}function R(D,b){return D.generateMipmaps&&b&&D.minFilter!==di&&D.minFilter!==dn}function A(D){t.generateMipmap(D)}function I(D,b,j,ce,ue=!1){if(s===!1)return b;if(D!==null){if(t[D]!==void 0)return t[D];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+D+"'")}let le=b;return b===t.RED&&(j===t.FLOAT&&(le=t.R32F),j===t.HALF_FLOAT&&(le=t.R16F),j===t.UNSIGNED_BYTE&&(le=t.R8)),b===t.RED_INTEGER&&(j===t.UNSIGNED_BYTE&&(le=t.R8UI),j===t.UNSIGNED_SHORT&&(le=t.R16UI),j===t.UNSIGNED_INT&&(le=t.R32UI),j===t.BYTE&&(le=t.R8I),j===t.SHORT&&(le=t.R16I),j===t.INT&&(le=t.R32I)),b===t.RG&&(j===t.FLOAT&&(le=t.RG32F),j===t.HALF_FLOAT&&(le=t.RG16F),j===t.UNSIGNED_BYTE&&(le=t.RG8)),b===t.RGBA&&(j===t.FLOAT&&(le=t.RGBA32F),j===t.HALF_FLOAT&&(le=t.RGBA16F),j===t.UNSIGNED_BYTE&&(le=ce===We&&ue===!1?t.SRGB8_ALPHA8:t.RGBA8),j===t.UNSIGNED_SHORT_4_4_4_4&&(le=t.RGBA4),j===t.UNSIGNED_SHORT_5_5_5_1&&(le=t.RGB5_A1)),(le===t.R16F||le===t.R32F||le===t.RG16F||le===t.RG32F||le===t.RGBA16F||le===t.RGBA32F)&&e.get("EXT_color_buffer_float"),le}function E(D,b,j){return R(D,j)===!0||D.isFramebufferTexture&&D.minFilter!==di&&D.minFilter!==dn?Math.log2(Math.max(b.width,b.height))+1:D.mipmaps!==void 0&&D.mipmaps.length>0?D.mipmaps.length:D.isCompressedTexture&&Array.isArray(D.image)?b.mipmaps.length:1}function C(D){return D===di||D===bg||D===Lh?t.NEAREST:t.LINEAR}function Y(D){const b=D.target;b.removeEventListener("dispose",Y),H(b),b.isVideoTexture&&v.delete(b)}function ne(D){const b=D.target;b.removeEventListener("dispose",ne),X(b)}function H(D){const b=n.get(D);if(b.__webglInit===void 0)return;const j=D.source,ce=_.get(j);if(ce){const ue=ce[b.__cacheKey];ue.usedTimes--,ue.usedTimes===0&&V(D),Object.keys(ce).length===0&&_.delete(j)}n.remove(D)}function V(D){const b=n.get(D);t.deleteTexture(b.__webglTexture);const j=D.source,ce=_.get(j);delete ce[b.__cacheKey],o.memory.textures--}function X(D){const b=D.texture,j=n.get(D),ce=n.get(b);if(ce.__webglTexture!==void 0&&(t.deleteTexture(ce.__webglTexture),o.memory.textures--),D.depthTexture&&D.depthTexture.dispose(),D.isWebGLCubeRenderTarget)for(let ue=0;ue<6;ue++){if(Array.isArray(j.__webglFramebuffer[ue]))for(let le=0;le=u&&console.warn("THREE.WebGLTextures: Trying to use "+D+" texture units while this GPU supports only "+u),ie+=1,D}function J(D){const b=[];return b.push(D.wrapS),b.push(D.wrapT),b.push(D.wrapR||0),b.push(D.magFilter),b.push(D.minFilter),b.push(D.anisotropy),b.push(D.internalFormat),b.push(D.format),b.push(D.type),b.push(D.generateMipmaps),b.push(D.premultiplyAlpha),b.push(D.flipY),b.push(D.unpackAlignment),b.push(D.colorSpace),b.join()}function k(D,b){const j=n.get(D);if(D.isVideoTexture&&Nt(D),D.isRenderTargetTexture===!1&&D.version>0&&j.__version!==D.version){const ce=D.image;if(ce===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if(ce.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{Ye(j,D,b);return}}i.bindTexture(t.TEXTURE_2D,j.__webglTexture,t.TEXTURE0+b)}function F(D,b){const j=n.get(D);if(D.version>0&&j.__version!==D.version){Ye(j,D,b);return}i.bindTexture(t.TEXTURE_2D_ARRAY,j.__webglTexture,t.TEXTURE0+b)}function $(D,b){const j=n.get(D);if(D.version>0&&j.__version!==D.version){Ye(j,D,b);return}i.bindTexture(t.TEXTURE_3D,j.__webglTexture,t.TEXTURE0+b)}function re(D,b){const j=n.get(D);if(D.version>0&&j.__version!==D.version){Jt(j,D,b);return}i.bindTexture(t.TEXTURE_CUBE_MAP,j.__webglTexture,t.TEXTURE0+b)}const se={[fp]:t.REPEAT,[Dn]:t.CLAMP_TO_EDGE,[mp]:t.MIRRORED_REPEAT},pe={[di]:t.NEAREST,[bg]:t.NEAREST_MIPMAP_NEAREST,[Lh]:t.NEAREST_MIPMAP_LINEAR,[dn]:t.LINEAR,[TE]:t.LINEAR_MIPMAP_NEAREST,[Sl]:t.LINEAR_MIPMAP_LINEAR},xe={[BE]:t.NEVER,[YE]:t.ALWAYS,[GE]:t.LESS,[XE]:t.LEQUAL,[HE]:t.EQUAL,[jE]:t.GEQUAL,[WE]:t.GREATER,[VE]:t.NOTEQUAL};function Pe(D,b,j){if(j?(t.texParameteri(D,t.TEXTURE_WRAP_S,se[b.wrapS]),t.texParameteri(D,t.TEXTURE_WRAP_T,se[b.wrapT]),(D===t.TEXTURE_3D||D===t.TEXTURE_2D_ARRAY)&&t.texParameteri(D,t.TEXTURE_WRAP_R,se[b.wrapR]),t.texParameteri(D,t.TEXTURE_MAG_FILTER,pe[b.magFilter]),t.texParameteri(D,t.TEXTURE_MIN_FILTER,pe[b.minFilter])):(t.texParameteri(D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),(D===t.TEXTURE_3D||D===t.TEXTURE_2D_ARRAY)&&t.texParameteri(D,t.TEXTURE_WRAP_R,t.CLAMP_TO_EDGE),(b.wrapS!==Dn||b.wrapT!==Dn)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),t.texParameteri(D,t.TEXTURE_MAG_FILTER,C(b.magFilter)),t.texParameteri(D,t.TEXTURE_MIN_FILTER,C(b.minFilter)),b.minFilter!==di&&b.minFilter!==dn&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),b.compareFunction&&(t.texParameteri(D,t.TEXTURE_COMPARE_MODE,t.COMPARE_REF_TO_TEXTURE),t.texParameteri(D,t.TEXTURE_COMPARE_FUNC,xe[b.compareFunction])),e.has("EXT_texture_filter_anisotropic")===!0){const ce=e.get("EXT_texture_filter_anisotropic");if(b.magFilter===di||b.minFilter!==Lh&&b.minFilter!==Sl||b.type===Wr&&e.has("OES_texture_float_linear")===!1||s===!1&&b.type===El&&e.has("OES_texture_half_float_linear")===!1)return;(b.anisotropy>1||n.get(b).__currentAnisotropy)&&(t.texParameterf(D,ce.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(b.anisotropy,r.getMaxAnisotropy())),n.get(b).__currentAnisotropy=b.anisotropy)}}function Ie(D,b){let j=!1;D.__webglInit===void 0&&(D.__webglInit=!0,b.addEventListener("dispose",Y));const ce=b.source;let ue=_.get(ce);ue===void 0&&(ue={},_.set(ce,ue));const le=J(b);if(le!==D.__cacheKey){ue[le]===void 0&&(ue[le]={texture:t.createTexture(),usedTimes:0},o.memory.textures++,j=!0),ue[le].usedTimes++;const Te=ue[D.__cacheKey];Te!==void 0&&(ue[D.__cacheKey].usedTimes--,Te.usedTimes===0&&V(b)),D.__cacheKey=le,D.__webglTexture=ue[le].texture}return j}function Ye(D,b,j){let ce=t.TEXTURE_2D;(b.isDataArrayTexture||b.isCompressedArrayTexture)&&(ce=t.TEXTURE_2D_ARRAY),b.isData3DTexture&&(ce=t.TEXTURE_3D);const ue=Ie(D,b),le=b.source;i.bindTexture(ce,D.__webglTexture,t.TEXTURE0+j);const Te=n.get(le);if(le.version!==Te.__version||ue===!0){i.activeTexture(t.TEXTURE0+j),t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,b.flipY),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,b.premultiplyAlpha),t.pixelStorei(t.UNPACK_ALIGNMENT,b.unpackAlignment),t.pixelStorei(t.UNPACK_COLORSPACE_CONVERSION_WEBGL,t.NONE);const he=T(b)&&w(b.image)===!1;let ee=y(b.image,he,!1,h);ee=yt(b,ee);const Se=w(ee)||s,be=a.convert(b.format,b.colorSpace);let Re=a.convert(b.type),Me=I(b.internalFormat,be,Re,b.colorSpace);Pe(ce,b,Se);let ye;const De=b.mipmaps,$e=s&&b.isVideoTexture!==!0,O=Te.__version===void 0||ue===!0,fe=E(b,ee,Se);if(b.isDepthTexture)Me=t.DEPTH_COMPONENT,s?b.type===Wr?Me=t.DEPTH_COMPONENT32F:b.type===Xr?Me=t.DEPTH_COMPONENT24:b.type===Na?Me=t.DEPTH24_STENCIL8:Me=t.DEPTH_COMPONENT16:b.type===Wr&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),b.format===Oa&&Me===t.DEPTH_COMPONENT&&b.type!==Df&&b.type!==Xr&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),b.type=Xr,Re=a.convert(b.type)),b.format===ls&&Me===t.DEPTH_COMPONENT&&(Me=t.DEPTH_STENCIL,b.type!==Na&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),b.type=Na,Re=a.convert(b.type))),O&&($e?i.texStorage2D(t.TEXTURE_2D,1,Me,ee.width,ee.height):i.texImage2D(t.TEXTURE_2D,0,Me,ee.width,ee.height,0,be,Re,null));else if(b.isDataTexture)if(De.length>0&&Se){$e&&O&&i.texStorage2D(t.TEXTURE_2D,fe,Me,De[0].width,De[0].height);for(let K=0,de=De.length;K>=1,de>>=1}}else if(De.length>0&&Se){$e&&O&&i.texStorage2D(t.TEXTURE_2D,fe,Me,De[0].width,De[0].height);for(let K=0,de=De.length;K0&&O++,i.texStorage2D(t.TEXTURE_CUBE_MAP,O,ye,ee[0].width,ee[0].height));for(let K=0;K<6;K++)if(he){De?i.texSubImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+K,0,0,0,ee[K].width,ee[K].height,Re,Me,ee[K].data):i.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+K,0,ye,ee[K].width,ee[K].height,0,Re,Me,ee[K].data);for(let de=0;de>le),be=Math.max(1,b.height>>le);ue===t.TEXTURE_3D||ue===t.TEXTURE_2D_ARRAY?i.texImage3D(ue,le,ee,Se,be,b.depth,0,Te,he,null):i.texImage2D(ue,le,ee,Se,be,0,Te,he,null)}i.bindFramebuffer(t.FRAMEBUFFER,D),Qe(b)?d.framebufferTexture2DMultisampleEXT(t.FRAMEBUFFER,ce,ue,n.get(j).__webglTexture,0,Ne(b)):(ue===t.TEXTURE_2D||ue>=t.TEXTURE_CUBE_MAP_POSITIVE_X&&ue<=t.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&t.framebufferTexture2D(t.FRAMEBUFFER,ce,ue,n.get(j).__webglTexture,le),i.bindFramebuffer(t.FRAMEBUFFER,null)}function G(D,b,j){if(t.bindRenderbuffer(t.RENDERBUFFER,D),b.depthBuffer&&!b.stencilBuffer){let ce=t.DEPTH_COMPONENT16;if(j||Qe(b)){const ue=b.depthTexture;ue&&ue.isDepthTexture&&(ue.type===Wr?ce=t.DEPTH_COMPONENT32F:ue.type===Xr&&(ce=t.DEPTH_COMPONENT24));const le=Ne(b);Qe(b)?d.renderbufferStorageMultisampleEXT(t.RENDERBUFFER,le,ce,b.width,b.height):t.renderbufferStorageMultisample(t.RENDERBUFFER,le,ce,b.width,b.height)}else t.renderbufferStorage(t.RENDERBUFFER,ce,b.width,b.height);t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,D)}else if(b.depthBuffer&&b.stencilBuffer){const ce=Ne(b);j&&Qe(b)===!1?t.renderbufferStorageMultisample(t.RENDERBUFFER,ce,t.DEPTH24_STENCIL8,b.width,b.height):Qe(b)?d.renderbufferStorageMultisampleEXT(t.RENDERBUFFER,ce,t.DEPTH24_STENCIL8,b.width,b.height):t.renderbufferStorage(t.RENDERBUFFER,t.DEPTH_STENCIL,b.width,b.height),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_STENCIL_ATTACHMENT,t.RENDERBUFFER,D)}else{const ce=b.isWebGLMultipleRenderTargets===!0?b.texture:[b.texture];for(let ue=0;ue0){j.__webglFramebuffer[he]=[];for(let ee=0;ee0){j.__webglFramebuffer=[];for(let he=0;he0&&Qe(D)===!1){const he=le?b:[b];j.__webglMultisampledFramebuffer=t.createFramebuffer(),j.__webglColorRenderbuffer=[],i.bindFramebuffer(t.FRAMEBUFFER,j.__webglMultisampledFramebuffer);for(let ee=0;ee0)for(let ee=0;ee0)for(let ee=0;ee0&&Qe(D)===!1){const b=D.isWebGLMultipleRenderTargets?D.texture:[D.texture],j=D.width,ce=D.height;let ue=t.COLOR_BUFFER_BIT;const le=[],Te=D.stencilBuffer?t.DEPTH_STENCIL_ATTACHMENT:t.DEPTH_ATTACHMENT,he=n.get(D),ee=D.isWebGLMultipleRenderTargets===!0;if(ee)for(let Se=0;Se0&&e.has("WEBGL_multisampled_render_to_texture")===!0&&b.__useRenderToTexture!==!1}function Nt(D){const b=o.render.frame;v.get(D)!==b&&(v.set(D,b),D.update())}function yt(D,b){const j=D.colorSpace,ce=D.format,ue=D.type;return D.isCompressedTexture===!0||D.format===gp||j!==$n&&j!==za&&(j===We?s===!1?e.has("EXT_sRGB")===!0&&ce===kn?(D.format=gp,D.minFilter=dn,D.generateMipmaps=!1):b=O_.sRGBToLinear(b):(ce!==kn||ue!==aa)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",j)),b}this.allocateTextureUnit=z,this.resetTextureUnits=Z,this.setTexture2D=k,this.setTexture2DArray=F,this.setTexture3D=$,this.setTextureCube=re,this.rebindTextures=Be,this.setupRenderTarget=Ue,this.updateRenderTargetMipmap=st,this.updateMultisampleRenderTarget=Ve,this.setupDepthRenderbuffer=we,this.setupFrameBufferTexture=ze,this.useMultisampledRTT=Qe}function JA(t,e,i){const n=i.isWebGL2;function r(a,o=za){let s;if(a===aa)return t.UNSIGNED_BYTE;if(a===C_)return t.UNSIGNED_SHORT_4_4_4_4;if(a===L_)return t.UNSIGNED_SHORT_5_5_5_1;if(a===RE)return t.BYTE;if(a===bE)return t.SHORT;if(a===Df)return t.UNSIGNED_SHORT;if(a===A_)return t.INT;if(a===Xr)return t.UNSIGNED_INT;if(a===Wr)return t.FLOAT;if(a===El)return n?t.HALF_FLOAT:(s=e.get("OES_texture_half_float"),s!==null?s.HALF_FLOAT_OES:null);if(a===AE)return t.ALPHA;if(a===kn)return t.RGBA;if(a===CE)return t.LUMINANCE;if(a===LE)return t.LUMINANCE_ALPHA;if(a===Oa)return t.DEPTH_COMPONENT;if(a===ls)return t.DEPTH_STENCIL;if(a===gp)return s=e.get("EXT_sRGB"),s!==null?s.SRGB_ALPHA_EXT:null;if(a===PE)return t.RED;if(a===P_)return t.RED_INTEGER;if(a===IE)return t.RG;if(a===I_)return t.RG_INTEGER;if(a===D_)return t.RGBA_INTEGER;if(a===Ph||a===Ih||a===Dh||a===kh)if(o===We)if(s=e.get("WEBGL_compressed_texture_s3tc_srgb"),s!==null){if(a===Ph)return s.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(a===Ih)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(a===Dh)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(a===kh)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(s=e.get("WEBGL_compressed_texture_s3tc"),s!==null){if(a===Ph)return s.COMPRESSED_RGB_S3TC_DXT1_EXT;if(a===Ih)return s.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(a===Dh)return s.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(a===kh)return s.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(a===Ag||a===Cg||a===Lg||a===Pg)if(s=e.get("WEBGL_compressed_texture_pvrtc"),s!==null){if(a===Ag)return s.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(a===Cg)return s.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(a===Lg)return s.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(a===Pg)return s.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(a===DE)return s=e.get("WEBGL_compressed_texture_etc1"),s!==null?s.COMPRESSED_RGB_ETC1_WEBGL:null;if(a===Ig||a===Dg)if(s=e.get("WEBGL_compressed_texture_etc"),s!==null){if(a===Ig)return o===We?s.COMPRESSED_SRGB8_ETC2:s.COMPRESSED_RGB8_ETC2;if(a===Dg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:s.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(a===kg||a===Ug||a===Ng||a===Og||a===Fg||a===zg||a===Bg||a===Gg||a===Hg||a===Xg||a===Wg||a===Vg||a===jg||a===Yg)if(s=e.get("WEBGL_compressed_texture_astc"),s!==null){if(a===kg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:s.COMPRESSED_RGBA_ASTC_4x4_KHR;if(a===Ug)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:s.COMPRESSED_RGBA_ASTC_5x4_KHR;if(a===Ng)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:s.COMPRESSED_RGBA_ASTC_5x5_KHR;if(a===Og)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:s.COMPRESSED_RGBA_ASTC_6x5_KHR;if(a===Fg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:s.COMPRESSED_RGBA_ASTC_6x6_KHR;if(a===zg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:s.COMPRESSED_RGBA_ASTC_8x5_KHR;if(a===Bg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:s.COMPRESSED_RGBA_ASTC_8x6_KHR;if(a===Gg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:s.COMPRESSED_RGBA_ASTC_8x8_KHR;if(a===Hg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:s.COMPRESSED_RGBA_ASTC_10x5_KHR;if(a===Xg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:s.COMPRESSED_RGBA_ASTC_10x6_KHR;if(a===Wg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:s.COMPRESSED_RGBA_ASTC_10x8_KHR;if(a===Vg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:s.COMPRESSED_RGBA_ASTC_10x10_KHR;if(a===jg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:s.COMPRESSED_RGBA_ASTC_12x10_KHR;if(a===Yg)return o===We?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:s.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(a===Uh)if(s=e.get("EXT_texture_compression_bptc"),s!==null){if(a===Uh)return o===We?s.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:s.COMPRESSED_RGBA_BPTC_UNORM_EXT}else return null;if(a===kE||a===Jg||a===Zg||a===Kg)if(s=e.get("EXT_texture_compression_rgtc"),s!==null){if(a===Uh)return s.COMPRESSED_RED_RGTC1_EXT;if(a===Jg)return s.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(a===Zg)return s.COMPRESSED_RED_GREEN_RGTC2_EXT;if(a===Kg)return s.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return a===Na?n?t.UNSIGNED_INT_24_8:(s=e.get("WEBGL_depth_texture"),s!==null?s.UNSIGNED_INT_24_8_WEBGL:null):t[a]!==void 0?t[a]:null}return{convert:r}}class ZA extends pn{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class Xs extends Pi{constructor(){super(),this.isGroup=!0,this.type="Group"}}const KA={type:"move"};class ad{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new Xs,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new Xs,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new q,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new q),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new Xs,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new q,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new q),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){const i=this._hand;if(i)for(const n of e.hand.values())this._getHandJoint(i,n)}return this.dispatchEvent({type:"connected",data:e}),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,i,n){let r=null,a=null,o=null;const s=this._targetRay,u=this._grip,c=this._hand;if(e&&i.session.visibilityState!=="visible-blurred"){if(c&&e.hand){o=!0;for(const M of e.hand.values()){const _=i.getJointPose(M,n),f=this._getHandJoint(c,M);_!==null&&(f.matrix.fromArray(_.transform.matrix),f.matrix.decompose(f.position,f.rotation,f.scale),f.matrixWorldNeedsUpdate=!0,f.jointRadius=_.radius),f.visible=_!==null}const h=c.joints["index-finger-tip"],p=c.joints["thumb-tip"],d=h.position.distanceTo(p.position),g=.02,v=.005;c.inputState.pinching&&d>g+v?(c.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!c.inputState.pinching&&d<=g-v&&(c.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else u!==null&&e.gripSpace&&(a=i.getPose(e.gripSpace,n),a!==null&&(u.matrix.fromArray(a.transform.matrix),u.matrix.decompose(u.position,u.rotation,u.scale),u.matrixWorldNeedsUpdate=!0,a.linearVelocity?(u.hasLinearVelocity=!0,u.linearVelocity.copy(a.linearVelocity)):u.hasLinearVelocity=!1,a.angularVelocity?(u.hasAngularVelocity=!0,u.angularVelocity.copy(a.angularVelocity)):u.hasAngularVelocity=!1));s!==null&&(r=i.getPose(e.targetRaySpace,n),r===null&&a!==null&&(r=a),r!==null&&(s.matrix.fromArray(r.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),s.matrixWorldNeedsUpdate=!0,r.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(r.linearVelocity)):s.hasLinearVelocity=!1,r.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(r.angularVelocity)):s.hasAngularVelocity=!1,this.dispatchEvent(KA)))}return s!==null&&(s.visible=r!==null),u!==null&&(u.visible=a!==null),c!==null&&(c.visible=o!==null),this}_getHandJoint(e,i){if(e.joints[i.jointName]===void 0){const n=new Xs;n.matrixAutoUpdate=!1,n.visible=!1,e.joints[i.jointName]=n,e.add(n)}return e.joints[i.jointName]}}class qA extends Li{constructor(e,i,n,r,a,o,s,u,c,h){if(h=h!==void 0?h:Oa,h!==Oa&&h!==ls)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");n===void 0&&h===Oa&&(n=Xr),n===void 0&&h===ls&&(n=Na),super(null,r,a,o,s,u,h,n,c),this.isDepthTexture=!0,this.image={width:e,height:i},this.magFilter=s!==void 0?s:di,this.minFilter=u!==void 0?u:di,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.compareFunction=e.compareFunction,this}toJSON(e){const i=super.toJSON(e);return this.compareFunction!==null&&(i.compareFunction=this.compareFunction),i}}class QA extends ys{constructor(e,i){super();const n=this;let r=null,a=1,o=null,s="local-floor",u=1,c=null,h=null,p=null,d=null,g=null,v=null;const M=i.getContextAttributes();let _=null,f=null;const x=[],y=[],w=new pn;w.layers.enable(1),w.viewport=new qt;const T=new pn;T.layers.enable(2),T.viewport=new qt;const R=[w,T],A=new ZA;A.layers.enable(1),A.layers.enable(2);let I=null,E=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(F){let $=x[F];return $===void 0&&($=new ad,x[F]=$),$.getTargetRaySpace()},this.getControllerGrip=function(F){let $=x[F];return $===void 0&&($=new ad,x[F]=$),$.getGripSpace()},this.getHand=function(F){let $=x[F];return $===void 0&&($=new ad,x[F]=$),$.getHandSpace()};function C(F){const $=y.indexOf(F.inputSource);if($===-1)return;const re=x[$];re!==void 0&&(re.update(F.inputSource,F.frame,c||o),re.dispatchEvent({type:F.type,data:F.inputSource}))}function Y(){r.removeEventListener("select",C),r.removeEventListener("selectstart",C),r.removeEventListener("selectend",C),r.removeEventListener("squeeze",C),r.removeEventListener("squeezestart",C),r.removeEventListener("squeezeend",C),r.removeEventListener("end",Y),r.removeEventListener("inputsourceschange",ne);for(let F=0;F=0&&(y[se]=null,x[se].disconnect(re))}for(let $=0;$=y.length){y.push(re),se=xe;break}else if(y[xe]===null){y[xe]=re,se=xe;break}if(se===-1)break}const pe=x[se];pe&&pe.connect(re)}}const H=new q,V=new q;function X(F,$,re){H.setFromMatrixPosition($.matrixWorld),V.setFromMatrixPosition(re.matrixWorld);const se=H.distanceTo(V),pe=$.projectionMatrix.elements,xe=re.projectionMatrix.elements,Pe=pe[14]/(pe[10]-1),Ie=pe[14]/(pe[10]+1),Ye=(pe[9]+1)/pe[5],Jt=(pe[9]-1)/pe[5],ze=(pe[8]-1)/pe[0],G=(xe[8]+1)/xe[0],vt=Pe*ze,we=Pe*G,Be=se/(-ze+G),Ue=Be*-ze;$.matrixWorld.decompose(F.position,F.quaternion,F.scale),F.translateX(Ue),F.translateZ(Be),F.matrixWorld.compose(F.position,F.quaternion,F.scale),F.matrixWorldInverse.copy(F.matrixWorld).invert();const st=Pe+Be,Ve=Ie+Be,Ne=vt-Ue,Qe=we+(se-Ue),Nt=Ye*Ie/Ve*st,yt=Jt*Ie/Ve*st;F.projectionMatrix.makePerspective(Ne,Qe,Nt,yt,st,Ve),F.projectionMatrixInverse.copy(F.projectionMatrix).invert()}function ie(F,$){$===null?F.matrixWorld.copy(F.matrix):F.matrixWorld.multiplyMatrices($.matrixWorld,F.matrix),F.matrixWorldInverse.copy(F.matrixWorld).invert()}this.updateCamera=function(F){if(r===null)return;A.near=T.near=w.near=F.near,A.far=T.far=w.far=F.far,(I!==A.near||E!==A.far)&&(r.updateRenderState({depthNear:A.near,depthFar:A.far}),I=A.near,E=A.far);const $=F.parent,re=A.cameras;ie(A,$);for(let se=0;se0&&(_.alphaTest.value=f.alphaTest);const x=e.get(f).envMap;if(x&&(_.envMap.value=x,_.flipEnvMap.value=x.isCubeTexture&&x.isRenderTargetTexture===!1?-1:1,_.reflectivity.value=f.reflectivity,_.ior.value=f.ior,_.refractionRatio.value=f.refractionRatio),f.lightMap){_.lightMap.value=f.lightMap;const y=t._useLegacyLights===!0?Math.PI:1;_.lightMapIntensity.value=f.lightMapIntensity*y,i(f.lightMap,_.lightMapTransform)}f.aoMap&&(_.aoMap.value=f.aoMap,_.aoMapIntensity.value=f.aoMapIntensity,i(f.aoMap,_.aoMapTransform))}function o(_,f){_.diffuse.value.copy(f.color),_.opacity.value=f.opacity,f.map&&(_.map.value=f.map,i(f.map,_.mapTransform))}function s(_,f){_.dashSize.value=f.dashSize,_.totalSize.value=f.dashSize+f.gapSize,_.scale.value=f.scale}function u(_,f,x,y){_.diffuse.value.copy(f.color),_.opacity.value=f.opacity,_.size.value=f.size*x,_.scale.value=y*.5,f.map&&(_.map.value=f.map,i(f.map,_.uvTransform)),f.alphaMap&&(_.alphaMap.value=f.alphaMap,i(f.alphaMap,_.alphaMapTransform)),f.alphaTest>0&&(_.alphaTest.value=f.alphaTest)}function c(_,f){_.diffuse.value.copy(f.color),_.opacity.value=f.opacity,_.rotation.value=f.rotation,f.map&&(_.map.value=f.map,i(f.map,_.mapTransform)),f.alphaMap&&(_.alphaMap.value=f.alphaMap,i(f.alphaMap,_.alphaMapTransform)),f.alphaTest>0&&(_.alphaTest.value=f.alphaTest)}function h(_,f){_.specular.value.copy(f.specular),_.shininess.value=Math.max(f.shininess,1e-4)}function p(_,f){f.gradientMap&&(_.gradientMap.value=f.gradientMap)}function d(_,f){_.metalness.value=f.metalness,f.metalnessMap&&(_.metalnessMap.value=f.metalnessMap,i(f.metalnessMap,_.metalnessMapTransform)),_.roughness.value=f.roughness,f.roughnessMap&&(_.roughnessMap.value=f.roughnessMap,i(f.roughnessMap,_.roughnessMapTransform)),e.get(f).envMap&&(_.envMapIntensity.value=f.envMapIntensity)}function g(_,f,x){_.ior.value=f.ior,f.sheen>0&&(_.sheenColor.value.copy(f.sheenColor).multiplyScalar(f.sheen),_.sheenRoughness.value=f.sheenRoughness,f.sheenColorMap&&(_.sheenColorMap.value=f.sheenColorMap,i(f.sheenColorMap,_.sheenColorMapTransform)),f.sheenRoughnessMap&&(_.sheenRoughnessMap.value=f.sheenRoughnessMap,i(f.sheenRoughnessMap,_.sheenRoughnessMapTransform))),f.clearcoat>0&&(_.clearcoat.value=f.clearcoat,_.clearcoatRoughness.value=f.clearcoatRoughness,f.clearcoatMap&&(_.clearcoatMap.value=f.clearcoatMap,i(f.clearcoatMap,_.clearcoatMapTransform)),f.clearcoatRoughnessMap&&(_.clearcoatRoughnessMap.value=f.clearcoatRoughnessMap,i(f.clearcoatRoughnessMap,_.clearcoatRoughnessMapTransform)),f.clearcoatNormalMap&&(_.clearcoatNormalMap.value=f.clearcoatNormalMap,i(f.clearcoatNormalMap,_.clearcoatNormalMapTransform),_.clearcoatNormalScale.value.copy(f.clearcoatNormalScale),f.side===Ci&&_.clearcoatNormalScale.value.negate())),f.iridescence>0&&(_.iridescence.value=f.iridescence,_.iridescenceIOR.value=f.iridescenceIOR,_.iridescenceThicknessMinimum.value=f.iridescenceThicknessRange[0],_.iridescenceThicknessMaximum.value=f.iridescenceThicknessRange[1],f.iridescenceMap&&(_.iridescenceMap.value=f.iridescenceMap,i(f.iridescenceMap,_.iridescenceMapTransform)),f.iridescenceThicknessMap&&(_.iridescenceThicknessMap.value=f.iridescenceThicknessMap,i(f.iridescenceThicknessMap,_.iridescenceThicknessMapTransform))),f.transmission>0&&(_.transmission.value=f.transmission,_.transmissionSamplerMap.value=x.texture,_.transmissionSamplerSize.value.set(x.width,x.height),f.transmissionMap&&(_.transmissionMap.value=f.transmissionMap,i(f.transmissionMap,_.transmissionMapTransform)),_.thickness.value=f.thickness,f.thicknessMap&&(_.thicknessMap.value=f.thicknessMap,i(f.thicknessMap,_.thicknessMapTransform)),_.attenuationDistance.value=f.attenuationDistance,_.attenuationColor.value.copy(f.attenuationColor)),f.anisotropy>0&&(_.anisotropyVector.value.set(f.anisotropy*Math.cos(f.anisotropyRotation),f.anisotropy*Math.sin(f.anisotropyRotation)),f.anisotropyMap&&(_.anisotropyMap.value=f.anisotropyMap,i(f.anisotropyMap,_.anisotropyMapTransform))),_.specularIntensity.value=f.specularIntensity,_.specularColor.value.copy(f.specularColor),f.specularColorMap&&(_.specularColorMap.value=f.specularColorMap,i(f.specularColorMap,_.specularColorMapTransform)),f.specularIntensityMap&&(_.specularIntensityMap.value=f.specularIntensityMap,i(f.specularIntensityMap,_.specularIntensityMapTransform))}function v(_,f){f.matcap&&(_.matcap.value=f.matcap)}function M(_,f){const x=e.get(f).light;_.referencePosition.value.setFromMatrixPosition(x.matrixWorld),_.nearDistance.value=x.shadow.camera.near,_.farDistance.value=x.shadow.camera.far}return{refreshFogUniforms:n,refreshMaterialUniforms:r}}function eC(t,e,i,n){let r={},a={},o=[];const s=i.isWebGL2?t.getParameter(t.MAX_UNIFORM_BUFFER_BINDINGS):0;function u(x,y){const w=y.program;n.uniformBlockBinding(x,w)}function c(x,y){let w=r[x.id];w===void 0&&(v(x),w=h(x),r[x.id]=w,x.addEventListener("dispose",_));const T=y.program;n.updateUBOMapping(x,T);const R=e.render.frame;a[x.id]!==R&&(d(x),a[x.id]=R)}function h(x){const y=p();x.__bindingPointIndex=y;const w=t.createBuffer(),T=x.__size,R=x.usage;return t.bindBuffer(t.UNIFORM_BUFFER,w),t.bufferData(t.UNIFORM_BUFFER,T,R),t.bindBuffer(t.UNIFORM_BUFFER,null),t.bindBufferBase(t.UNIFORM_BUFFER,y,w),w}function p(){for(let x=0;x0){R=w%T;const ne=T-R;R!==0&&ne-C.boundary<0&&(w+=T-R,E.__offset=w)}w+=C.storage}return R=w%T,R>0&&(w+=T-R),x.__size=w,x.__cache={},this}function M(x){const y={boundary:0,storage:0};return typeof x=="number"?(y.boundary=4,y.storage=4):x.isVector2?(y.boundary=8,y.storage=8):x.isVector3||x.isColor?(y.boundary=16,y.storage=12):x.isVector4?(y.boundary=16,y.storage=16):x.isMatrix3?(y.boundary=48,y.storage=48):x.isMatrix4?(y.boundary=64,y.storage=64):x.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",x),y}function _(x){const y=x.target;y.removeEventListener("dispose",_);const w=o.indexOf(y.__bindingPointIndex);o.splice(w,1),t.deleteBuffer(r[y.id]),delete r[y.id],delete a[y.id]}function f(){for(const x in r)t.deleteBuffer(r[x]);o=[],r={},a={}}return{bind:u,update:c,dispose:f}}function tC(){const t=wl("canvas");return t.style.display="block",t}class tx{constructor(e={}){const{canvas:i=tC(),context:n=null,depth:r=!0,stencil:a=!0,alpha:o=!1,antialias:s=!1,premultipliedAlpha:u=!0,preserveDrawingBuffer:c=!1,powerPreference:h="default",failIfMajorPerformanceCaveat:p=!1}=e;this.isWebGLRenderer=!0;let d;n!==null?d=n.getContextAttributes().alpha:d=o;const g=new Uint32Array(4),v=new Int32Array(4);let M=null,_=null;const f=[],x=[];this.domElement=i,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=We,this._useLegacyLights=!1,this.toneMapping=ra,this.toneMappingExposure=1;const y=this;let w=!1,T=0,R=0,A=null,I=-1,E=null;const C=new qt,Y=new qt;let ne=null;const H=new lt(0);let V=0,X=i.width,ie=i.height,Z=1,z=null,J=null;const k=new qt(0,0,X,ie),F=new qt(0,0,X,ie);let $=!1;const re=new Z_;let se=!1,pe=!1,xe=null;const Pe=new jt,Ie=new ot,Ye=new q,Jt={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function ze(){return A===null?Z:1}let G=n;function vt(P,W){for(let te=0;te0?_=x[x.length-1]:_=null,f.pop(),f.length>0?M=f[f.length-1]:M=null};function Xl(P,W,te,B){if(P.visible===!1)return;if(P.layers.test(W.layers)){if(P.isGroup)te=P.renderOrder;else if(P.isLOD)P.autoUpdate===!0&&P.update(W);else if(P.isLight)_.pushLight(P),P.castShadow&&_.pushShadow(P);else if(P.isSprite){if(!P.frustumCulled||re.intersectsSprite(P)){B&&Ye.setFromMatrixPosition(P.matrixWorld).applyMatrix4(Pe);const ge=b.update(P),Ce=P.material;Ce.visible&&M.push(P,ge,Ce,te,Ye.z,null)}}else if((P.isMesh||P.isLine||P.isPoints)&&(!P.frustumCulled||re.intersectsObject(P))){const ge=b.update(P),Ce=P.material;if(B&&(P.boundingSphere!==void 0?(P.boundingSphere===null&&P.computeBoundingSphere(),Ye.copy(P.boundingSphere.center)):(ge.boundingSphere===null&&ge.computeBoundingSphere(),Ye.copy(ge.boundingSphere.center)),Ye.applyMatrix4(P.matrixWorld).applyMatrix4(Pe)),Array.isArray(Ce)){const Le=ge.groups;for(let Oe=0,Fe=Le.length;Oe0&&eh(Q,ge,W,te),B&&Ue.viewport(C.copy(B)),Q.length>0&&Fi(Q,W,te),ge.length>0&&Fi(ge,W,te),Ce.length>0&&Fi(Ce,W,te),Ue.buffers.depth.setTest(!0),Ue.buffers.depth.setMask(!0),Ue.buffers.color.setMask(!0),Ue.setPolygonOffset(!1)}function eh(P,W,te,B){const Q=Be.isWebGL2;xe===null&&(xe=new Ka(1,1,{generateMipmaps:!0,type:we.has("EXT_color_buffer_half_float")?El:aa,minFilter:Sl,samples:Q?4:0})),y.getDrawingBufferSize(Ie),Q?xe.setSize(Ie.x,Ie.y):xe.setSize(yp(Ie.x),yp(Ie.y));const ge=y.getRenderTarget();y.setRenderTarget(xe),y.getClearColor(H),V=y.getClearAlpha(),V<1&&y.setClearColor(16777215,.5),y.clear();const Ce=y.toneMapping;y.toneMapping=ra,Fi(P,te,B),Ne.updateMultisampleRenderTarget(xe),Ne.updateRenderTargetMipmap(xe);let Le=!1;for(let Oe=0,Fe=W.length;Oe0),ke=!!te.morphAttributes.position,nt=!!te.morphAttributes.normal,ht=!!te.morphAttributes.color;let gi=ra;B.toneMapped&&(A===null||A.isXRRenderTarget===!0)&&(gi=y.toneMapping);const ei=te.morphAttributes.position||te.morphAttributes.normal||te.morphAttributes.color,Tt=ei!==void 0?ei.length:0,Ge=Ve.get(B),Ms=_.state.lights;if(se===!0&&(pe===!0||P!==E)){const Rt=P===E&&B.id===I;Te.setState(B,P,Rt)}let Hn=!1;B.version===Ge.__version?(Ge.needsLights&&Ge.lightsStateVersion!==Ms.state.version||Ge.outputColorSpace!==Le||Q.isInstancedMesh&&Ge.instancing===!1||!Q.isInstancedMesh&&Ge.instancing===!0||Q.isSkinnedMesh&&Ge.skinning===!1||!Q.isSkinnedMesh&&Ge.skinning===!0||Q.isInstancedMesh&&Ge.instancingColor===!0&&Q.instanceColor===null||Q.isInstancedMesh&&Ge.instancingColor===!1&&Q.instanceColor!==null||Ge.envMap!==Oe||B.fog===!0&&Ge.fog!==ge||Ge.numClippingPlanes!==void 0&&(Ge.numClippingPlanes!==Te.numPlanes||Ge.numIntersection!==Te.numIntersection)||Ge.vertexAlphas!==Fe||Ge.vertexTangents!==He||Ge.morphTargets!==ke||Ge.morphNormals!==nt||Ge.morphColors!==ht||Ge.toneMapping!==gi||Be.isWebGL2===!0&&Ge.morphTargetsCount!==Tt)&&(Hn=!0):(Hn=!0,Ge.__version=B.version);let tr=Ge.currentProgram;Hn===!0&&(tr=zi(B,W,Q));let ir=!1,En=!1,Ss=!1;const mt=tr.getUniforms(),nr=Ge.uniforms;if(Ue.useProgram(tr.program)&&(ir=!0,En=!0,Ss=!0),B.id!==I&&(I=B.id,En=!0),ir||E!==P){if(mt.setValue(G,"projectionMatrix",P.projectionMatrix),Be.logarithmicDepthBuffer&&mt.setValue(G,"logDepthBufFC",2/(Math.log(P.far+1)/Math.LN2)),E!==P&&(E=P,En=!0,Ss=!0),B.isShaderMaterial||B.isMeshPhongMaterial||B.isMeshToonMaterial||B.isMeshStandardMaterial||B.envMap){const Rt=mt.map.cameraPosition;Rt!==void 0&&Rt.setValue(G,Ye.setFromMatrixPosition(P.matrixWorld))}(B.isMeshPhongMaterial||B.isMeshToonMaterial||B.isMeshLambertMaterial||B.isMeshBasicMaterial||B.isMeshStandardMaterial||B.isShaderMaterial)&&mt.setValue(G,"isOrthographic",P.isOrthographicCamera===!0),(B.isMeshPhongMaterial||B.isMeshToonMaterial||B.isMeshLambertMaterial||B.isMeshBasicMaterial||B.isMeshStandardMaterial||B.isShaderMaterial||B.isShadowMaterial||Q.isSkinnedMesh)&&mt.setValue(G,"viewMatrix",P.matrixWorldInverse)}if(Q.isSkinnedMesh){mt.setOptional(G,Q,"bindMatrix"),mt.setOptional(G,Q,"bindMatrixInverse");const Rt=Q.skeleton;Rt&&(Be.floatVertexTextures?(Rt.boneTexture===null&&Rt.computeBoneTexture(),mt.setValue(G,"boneTexture",Rt.boneTexture,Ne),mt.setValue(G,"boneTextureSize",Rt.boneTextureSize)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}const va=te.morphAttributes;if((va.position!==void 0||va.normal!==void 0||va.color!==void 0&&Be.isWebGL2===!0)&&Se.update(Q,te,tr),(En||Ge.receiveShadow!==Q.receiveShadow)&&(Ge.receiveShadow=Q.receiveShadow,mt.setValue(G,"receiveShadow",Q.receiveShadow)),B.isMeshGouraudMaterial&&B.envMap!==null&&(nr.envMap.value=Oe,nr.flipEnvMap.value=Oe.isCubeTexture&&Oe.isRenderTargetTexture===!1?-1:1),En&&(mt.setValue(G,"toneMappingExposure",y.toneMappingExposure),Ge.needsLights&&xs(nr,Ss),ge&&B.fog===!0&&ce.refreshFogUniforms(nr,ge),ce.refreshMaterialUniforms(nr,B,Z,ie,xe),ju.upload(G,Ge.uniformsList,nr,Ne)),B.isShaderMaterial&&B.uniformsNeedUpdate===!0&&(ju.upload(G,Ge.uniformsList,nr,Ne),B.uniformsNeedUpdate=!1),B.isSpriteMaterial&&mt.setValue(G,"center",Q.center),mt.setValue(G,"modelViewMatrix",Q.modelViewMatrix),mt.setValue(G,"normalMatrix",Q.normalMatrix),mt.setValue(G,"modelMatrix",Q.matrixWorld),B.isShaderMaterial||B.isRawShaderMaterial){const Rt=B.uniformsGroups;for(let rr=0,jl=Rt.length;rr0&&Ne.useMultisampledRTT(P)===!1?Q=Ve.get(P).__webglMultisampledFramebuffer:Array.isArray(Fe)?Q=Fe[te]:Q=Fe,C.copy(P.viewport),Y.copy(P.scissor),ne=P.scissorTest}else C.copy(k).multiplyScalar(Z).floor(),Y.copy(F).multiplyScalar(Z).floor(),ne=$;if(Ue.bindFramebuffer(G.FRAMEBUFFER,Q)&&Be.drawBuffers&&B&&Ue.drawBuffers(P,Q),Ue.viewport(C),Ue.scissor(Y),Ue.setScissorTest(ne),ge){const Le=Ve.get(P.texture);G.framebufferTexture2D(G.FRAMEBUFFER,G.COLOR_ATTACHMENT0,G.TEXTURE_CUBE_MAP_POSITIVE_X+W,Le.__webglTexture,te)}else if(Ce){const Le=Ve.get(P.texture),Oe=W||0;G.framebufferTextureLayer(G.FRAMEBUFFER,G.COLOR_ATTACHMENT0,Le.__webglTexture,te||0,Oe)}I=-1},this.readRenderTargetPixels=function(P,W,te,B,Q,ge,Ce){if(!(P&&P.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let Le=Ve.get(P).__webglFramebuffer;if(P.isWebGLCubeRenderTarget&&Ce!==void 0&&(Le=Le[Ce]),Le){Ue.bindFramebuffer(G.FRAMEBUFFER,Le);try{const Oe=P.texture,Fe=Oe.format,He=Oe.type;if(Fe!==kn&&Me.convert(Fe)!==G.getParameter(G.IMPLEMENTATION_COLOR_READ_FORMAT)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const ke=He===El&&(we.has("EXT_color_buffer_half_float")||Be.isWebGL2&&we.has("EXT_color_buffer_float"));if(He!==aa&&Me.convert(He)!==G.getParameter(G.IMPLEMENTATION_COLOR_READ_TYPE)&&!(He===Wr&&(Be.isWebGL2||we.has("OES_texture_float")||we.has("WEBGL_color_buffer_float")))&&!ke){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}W>=0&&W<=P.width-B&&te>=0&&te<=P.height-Q&&G.readPixels(W,te,B,Q,Me.convert(Fe),Me.convert(He),ge)}finally{const Oe=A!==null?Ve.get(A).__webglFramebuffer:null;Ue.bindFramebuffer(G.FRAMEBUFFER,Oe)}}},this.copyFramebufferToTexture=function(P,W,te=0){const B=Math.pow(2,-te),Q=Math.floor(W.image.width*B),ge=Math.floor(W.image.height*B);Ne.setTexture2D(W,0),G.copyTexSubImage2D(G.TEXTURE_2D,te,0,0,P.x,P.y,Q,ge),Ue.unbindTexture()},this.copyTextureToTexture=function(P,W,te,B=0){const Q=W.image.width,ge=W.image.height,Ce=Me.convert(te.format),Le=Me.convert(te.type);Ne.setTexture2D(te,0),G.pixelStorei(G.UNPACK_FLIP_Y_WEBGL,te.flipY),G.pixelStorei(G.UNPACK_PREMULTIPLY_ALPHA_WEBGL,te.premultiplyAlpha),G.pixelStorei(G.UNPACK_ALIGNMENT,te.unpackAlignment),W.isDataTexture?G.texSubImage2D(G.TEXTURE_2D,B,P.x,P.y,Q,ge,Ce,Le,W.image.data):W.isCompressedTexture?G.compressedTexSubImage2D(G.TEXTURE_2D,B,P.x,P.y,W.mipmaps[0].width,W.mipmaps[0].height,Ce,W.mipmaps[0].data):G.texSubImage2D(G.TEXTURE_2D,B,P.x,P.y,Ce,Le,W.image),B===0&&te.generateMipmaps&&G.generateMipmap(G.TEXTURE_2D),Ue.unbindTexture()},this.copyTextureToTexture3D=function(P,W,te,B,Q=0){if(y.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const ge=P.max.x-P.min.x+1,Ce=P.max.y-P.min.y+1,Le=P.max.z-P.min.z+1,Oe=Me.convert(B.format),Fe=Me.convert(B.type);let He;if(B.isData3DTexture)Ne.setTexture3D(B,0),He=G.TEXTURE_3D;else if(B.isDataArrayTexture)Ne.setTexture2DArray(B,0),He=G.TEXTURE_2D_ARRAY;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}G.pixelStorei(G.UNPACK_FLIP_Y_WEBGL,B.flipY),G.pixelStorei(G.UNPACK_PREMULTIPLY_ALPHA_WEBGL,B.premultiplyAlpha),G.pixelStorei(G.UNPACK_ALIGNMENT,B.unpackAlignment);const ke=G.getParameter(G.UNPACK_ROW_LENGTH),nt=G.getParameter(G.UNPACK_IMAGE_HEIGHT),ht=G.getParameter(G.UNPACK_SKIP_PIXELS),gi=G.getParameter(G.UNPACK_SKIP_ROWS),ei=G.getParameter(G.UNPACK_SKIP_IMAGES),Tt=te.isCompressedTexture?te.mipmaps[0]:te.image;G.pixelStorei(G.UNPACK_ROW_LENGTH,Tt.width),G.pixelStorei(G.UNPACK_IMAGE_HEIGHT,Tt.height),G.pixelStorei(G.UNPACK_SKIP_PIXELS,P.min.x),G.pixelStorei(G.UNPACK_SKIP_ROWS,P.min.y),G.pixelStorei(G.UNPACK_SKIP_IMAGES,P.min.z),te.isDataTexture||te.isData3DTexture?G.texSubImage3D(He,Q,W.x,W.y,W.z,ge,Ce,Le,Oe,Fe,Tt.data):te.isCompressedArrayTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),G.compressedTexSubImage3D(He,Q,W.x,W.y,W.z,ge,Ce,Le,Oe,Tt.data)):G.texSubImage3D(He,Q,W.x,W.y,W.z,ge,Ce,Le,Oe,Fe,Tt),G.pixelStorei(G.UNPACK_ROW_LENGTH,ke),G.pixelStorei(G.UNPACK_IMAGE_HEIGHT,nt),G.pixelStorei(G.UNPACK_SKIP_PIXELS,ht),G.pixelStorei(G.UNPACK_SKIP_ROWS,gi),G.pixelStorei(G.UNPACK_SKIP_IMAGES,ei),Q===0&&B.generateMipmaps&&G.generateMipmap(He),Ue.unbindTexture()},this.initTexture=function(P){P.isCubeTexture?Ne.setTextureCube(P,0):P.isData3DTexture?Ne.setTexture3D(P,0):P.isDataArrayTexture||P.isCompressedArrayTexture?Ne.setTexture2DArray(P,0):Ne.setTexture2D(P,0),Ue.unbindTexture()},this.resetState=function(){T=0,R=0,A=null,Ue.reset(),ye.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return Mr}get physicallyCorrectLights(){return console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),!this.useLegacyLights}set physicallyCorrectLights(e){console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),this.useLegacyLights=!e}get outputEncoding(){return console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace===We?Fa:k_}set outputEncoding(e){console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace=e===Fa?We:$n}get useLegacyLights(){return console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights}set useLegacyLights(e){console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights=e}}class iC extends tx{}iC.prototype.isWebGL1Renderer=!0;class nC extends Pi{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,i){return super.copy(e,i),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const i=super.toJSON(e);return this.fog!==null&&(i.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(i.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(i.object.backgroundIntensity=this.backgroundIntensity),i}}class ix extends Bl{constructor(e){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new lt(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 Ov=new jt,xp=new B_,Pu=new Jc,Iu=new q;class rC extends Pi{constructor(e=new Lr,i=new ix){super(),this.isPoints=!0,this.type="Points",this.geometry=e,this.material=i,this.updateMorphTargets()}copy(e,i){return super.copy(e,i),this.material=e.material,this.geometry=e.geometry,this}raycast(e,i){const n=this.geometry,r=this.matrixWorld,a=e.params.Points.threshold,o=n.drawRange;if(n.boundingSphere===null&&n.computeBoundingSphere(),Pu.copy(n.boundingSphere),Pu.applyMatrix4(r),Pu.radius+=a,e.ray.intersectsSphere(Pu)===!1)return;Ov.copy(r).invert(),xp.copy(e.ray).applyMatrix4(Ov);const s=a/((this.scale.x+this.scale.y+this.scale.z)/3),u=s*s,c=n.index,h=n.attributes.position;if(c!==null){const p=Math.max(0,o.start),d=Math.min(c.count,o.start+o.count);for(let g=p,v=d;g0){const n=e[i[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let r=0,a=n.length;rr.far)return;a.push({distance:c,distanceToRay:Math.sqrt(s),point:u,index:e,face:null,object:o})}}const zv={enabled:!1,files:{},add:function(t,e){this.enabled!==!1&&(this.files[t]=e)},get:function(t){if(this.enabled!==!1)return this.files[t]},remove:function(t){delete this.files[t]},clear:function(){this.files={}}};class aC{constructor(e,i,n){const r=this;let a=!1,o=0,s=0,u;const c=[];this.onStart=void 0,this.onLoad=e,this.onProgress=i,this.onError=n,this.itemStart=function(h){s++,a===!1&&r.onStart!==void 0&&r.onStart(h,o,s),a=!0},this.itemEnd=function(h){o++,r.onProgress!==void 0&&r.onProgress(h,o,s),o===s&&(a=!1,r.onLoad!==void 0&&r.onLoad())},this.itemError=function(h){r.onError!==void 0&&r.onError(h)},this.resolveURL=function(h){return u?u(h):h},this.setURLModifier=function(h){return u=h,this},this.addHandler=function(h,p){return c.push(h,p),this},this.removeHandler=function(h){const p=c.indexOf(h);return p!==-1&&c.splice(p,2),this},this.getHandler=function(h){for(let p=0,d=c.length;p"u"},er=function(t){return typeof t=="object"},Ii=function(t){return t!==!1},zf=function(){return typeof window<"u"},Du=function(t){return Ct(t)||Yt(t)},ax=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},li=Array.isArray,Sp=/(?:-?\.?\d|\.)+/gi,ox=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Bo=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,od=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,sx=/[+-]=-?[.\d]+/,lx=/[^,'"\[\]\s]+/gi,pC=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,xt,un,Ep,Bf,$i={},Sc={},ux,cx=function(t){return(Sc=Qa(t,$i))&&Ui},Gf=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Ec=function(t,e){return!e&&console.warn(t)},hx=function(t,e){return t&&($i[t]=e)&&Sc&&(Sc[t]=e)||$i},Tl=function(){return 0},fC={suppressEvents:!0,isStart:!0,kill:!1},Yu={suppressEvents:!0,kill:!1},mC={suppressEvents:!0},Hf={},oa=[],wp={},dx,Yi={},sd={},Bv=30,Ju=[],Xf="",Wf=function(t){var e=t[0],i,n;if(er(e)||Ct(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(n=Ju.length;n--&&!Ju[n].targetTest(e););i=Ju[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new Nx(t[n],i)))||t.splice(n,1);return t},Ga=function(t){return t._gsap||Wf(gn(t))[0]._gsap},px=function(t,e,i){return(i=t[e])&&Ct(i)?t[e]():Ff(i)&&t.getAttribute&&t.getAttribute(e)||i},Di=function(t,e){return(t=t.split(",")).forEach(e)||t},Lt=function(t){return Math.round(t*1e5)/1e5||0},Kt=function(t){return Math.round(t*1e7)/1e7||0},Ko=function(t,e){var i=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+n:i==="-"?t-n:i==="*"?t*n:t/n},gC=function(t,e){for(var i=e.length,n=0;t.indexOf(e[n])<0&&++no;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[n]=e,e._prev=a,e.parent=e._dp=t,e},qc=function(t,e,i,n){i===void 0&&(i="_first"),n===void 0&&(n="_last");var r=e._prev,a=e._next;r?r._next=a:t[i]===e&&(t[i]=a),a?a._prev=r:t[n]===e&&(t[n]=r),e._next=e._prev=e.parent=null},ha=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Ha=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},_C=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Tp=function(t,e,i,n){return t._startAt&&(si?t._startAt.revert(Yu):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},xC=function t(e){return!e||e._ts&&t(e.parent)},Hv=function(t){return t._repeat?hs(t._tTime,t=t.duration()+t._rDelay)*t:0},hs=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},Rc=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Qc=function(t){return t._end=Kt(t._start+(t._tDur/Math.abs(t._ts||t._rts||at)||0))},$c=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=Kt(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Qc(t),i._dirty||Ha(i,t)),t},yx=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._startat)&&e.render(i,!0)),Ha(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-at}},Jn=function(t,e,i,n){return e.parent&&ha(e),e._start=Kt((br(i)?i:i||t!==xt?ln(t,i,e):t._time)+e._delay),e._end=Kt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),vx(t,e,"_first","_last",t._sort?"_start":0),Rp(e)||(t._recent=e),n||yx(t,e),t._ts<0&&$c(t,t._tTime),t},_x=function(t,e){return($i.ScrollTrigger||Gf("scrollTrigger",e))&&$i.ScrollTrigger.create(e,t)},xx=function(t,e,i,n,r){if(jf(t,e,r),!t._initted)return 1;if(!i&&t._pt&&!si&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&dx!==Ji.frame)return oa.push(t),t._lazy=[r,n],1},MC=function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||t(i))},Rp=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},SC=function(t,e,i,n){var r=t.ratio,a=e<0||!e&&(!t._start&&MC(t)&&!(!t._initted&&Rp(t))||(t._ts<0||t._dp._ts<0)&&!Rp(t))?0:1,o=t._rDelay,s=0,u,c,h;if(o&&t._repeat&&(s=Hl(0,t._tDur,e),c=hs(s,o),t._yoyo&&c&1&&(a=1-a),c!==hs(t._tTime,o)&&(r=1-a,t.vars.repeatRefresh&&t._initted&&t.invalidate())),a!==r||si||n||t._zTime===at||!e&&t._zTime){if(!t._initted&&xx(t,e,n,i,s))return;for(h=t._zTime,t._zTime=e||(i?at:0),i||(i=e&&!h),t.ratio=a,t._from&&(a=1-a),t._time=0,t._tTime=s,u=t._pt;u;)u.r(a,u.d),u=u._next;e<0&&Tp(t,e,i,!0),t._onUpdate&&!i&&vn(t,"onUpdate"),s&&t._repeat&&!i&&t.parent&&vn(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===a&&(a&&ha(t,1),!i&&!si&&(vn(t,a?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},EC=function(t,e,i){var n;if(i>e)for(n=t._first;n&&n._start<=i;){if(n.data==="isPause"&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=i;){if(n.data==="isPause"&&n._start0&&!n&&$c(t,t._tTime=t._tDur*o),t.parent&&Qc(t),i||Ha(t.parent,t),t},Xv=function(t){return t instanceof wi?Ha(t):ds(t,t._dur)},wC={_start:0,endTime:Tl,totalDuration:Tl},ln=function t(e,i,n){var r=e.labels,a=e._recent||wC,o=e.duration()>=mn?a.endTime(!1):e._dur,s,u,c;return Yt(i)&&(isNaN(i)||i in r)?(u=i.charAt(0),c=i.substr(-1)==="%",s=i.indexOf("="),u==="<"||u===">"?(s>=0&&(i=i.replace(/=/,"")),(u==="<"?a._start:a.endTime(a._repeat>=0))+(parseFloat(i.substr(1))||0)*(c?(s<0?a:n).totalDuration()/100:1)):s<0?(i in r||(r[i]=o),r[i]):(u=parseFloat(i.charAt(s-1)+i.substr(s+1)),c&&n&&(u=u/100*(li(n)?n[0]:n).totalDuration()),s>1?t(e,i.substr(0,s-1),n)+u:o+u)):i==null?o:+i},nl=function(t,e,i){var n=br(e[1]),r=(n?2:1)+(t<2?0:1),a=e[r],o,s;if(n&&(a.duration=e[1]),a.parent=i,t){for(o=a,s=i;s&&!("immediateRender"in o);)o=s.vars.defaults||{},s=Ii(s.vars.inherit)&&s.parent;a.immediateRender=Ii(o.immediateRender),t<2?a.runBackwards=1:a.startAt=e[r-1]}return new kt(e[0],a,e[r+1])},ga=function(t,e){return t||t===0?e(t):e},Hl=function(t,e,i){return ie?e:i},oi=function(t,e){return!Yt(t)||!(e=pC.exec(t))?"":e[1]},TC=function(t,e,i){return ga(i,function(n){return Hl(t,e,n)})},bp=[].slice,Mx=function(t,e){return t&&er(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&er(t[0]))&&!t.nodeType&&t!==un},RC=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(n){var r;return Yt(n)&&!e||Mx(n,1)?(r=i).push.apply(r,gn(n)):i.push(n)})||i},gn=function(t,e,i){return At&&!e&&At.selector?At.selector(t):Yt(t)&&!i&&(Ep||!ps())?bp.call((e||Bf).querySelectorAll(t),0):li(t)?RC(t,i):Mx(t)?bp.call(t,0):t?[t]:[]},Ap=function(t){return t=gn(t)[0]||Ec("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return gn(e,i.querySelectorAll?i:i===t?Ec("Invalid scope")||Bf.createElement("div"):t)}},Sx=function(t){return t.sort(function(){return .5-Math.random()})},Ex=function(t){if(Ct(t))return t;var e=er(t)?t:{each:t},i=Xa(e.ease),n=e.from||0,r=parseFloat(e.base)||0,a={},o=n>0&&n<1,s=isNaN(n)||o,u=e.axis,c=n,h=n;return Yt(n)?c=h={center:.5,edges:.5,end:1}[n]||0:!o&&s&&(c=n[0],h=n[1]),function(p,d,g){var v=(g||e).length,M=a[v],_,f,x,y,w,T,R,A,I;if(!M){if(I=e.grid==="auto"?0:(e.grid||[1,mn])[1],!I){for(R=-mn;R<(R=g[I++].getBoundingClientRect().left)&&IR&&(R=w),wv?v-1:u?u==="y"?v/I:I:Math.max(I,v/I))||0)*(n==="edges"?-1:1),M.b=v<0?r-v:r,M.u=oi(e.amount||e.each)||0,i=i&&v<0?Dx(i):i}return v=(M[p]-M.min)/M.max||0,Kt(M.b+(i?i(v):v)*M.v)+M.u}},Cp=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var n=Kt(Math.round(parseFloat(i)/t)*t*e);return(n-n%1)/e+(br(i)?0:oi(i))}},wx=function(t,e){var i=li(t),n,r;return!i&&er(t)&&(n=i=t.radius||mn,t.values?(t=gn(t.values),(r=!br(t[0]))&&(n*=n)):t=Cp(t.increment)),ga(e,i?Ct(t)?function(a){return r=t(a),Math.abs(r-a)<=n?r:a}:function(a){for(var o=parseFloat(r?a.x:a),s=parseFloat(r?a.y:0),u=mn,c=0,h=t.length,p,d;h--;)r?(p=t[h].x-o,d=t[h].y-s,p=p*p+d*d):p=Math.abs(t[h]-o),pr?a-o:o)})},Rl=function(t){for(var e=0,i="",n,r,a,o;~(n=t.indexOf("random(",e));)a=t.indexOf(")",n),o=t.charAt(n+7)==="[",r=t.substr(n+7,a-n-7).match(o?lx:Sp),i+=t.substr(e,n-e)+Tx(o?r:+r[0],o?0:+r[1],+r[2]||1e-5),e=a+1;return i+t.substr(e,t.length-e)},bx=function(t,e,i,n,r){var a=e-t,o=n-i;return ga(r,function(s){return i+((s-t)/a*o||0)})},IC=function t(e,i,n,r){var a=isNaN(e+i)?0:function(g){return(1-g)*e+g*i};if(!a){var o=Yt(e),s={},u,c,h,p,d;if(n===!0&&(r=1)&&(n=null),o)e={p:e},i={p:i};else if(li(e)&&!li(i)){for(h=[],p=e.length,d=p-2,c=1;c(o=Math.abs(o))&&(s=a,r=o);return s},vn=function(t,e,i){var n=t.vars,r=n[e],a=At,o=t._ctx,s,u,c;if(r)return s=n[e+"Params"],u=n.callbackScope||t,i&&oa.length&&wc(),o&&(At=o),c=s?r.apply(u,s):r.call(u),At=a,c},Ws=function(t){return ha(t),t.scrollTrigger&&t.scrollTrigger.kill(!!si),t.progress()<1&&vn(t,"onInterrupt"),t},Go,Ax=[],Cx=function(t){if(zf()&&t){t=!t.name&&t.default||t;var e=t.name,i=Ct(t),n=e&&!i&&t.init?function(){this._props=[]}:t,r={init:Tl,render:Zf,add:Vf,kill:JC,modifier:YC,rawVars:0},a={targetTest:0,get:0,getSetter:Jf,aliases:{},register:0};if(ps(),t!==n){if(Yi[e])return;Mn(n,Mn(Tc(t,r),a)),Qa(n.prototype,Qa(r,Tc(t,a))),Yi[n.prop=e]=n,t.targetTest&&(Ju.push(n),Hf[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}hx(e,n),t.register&&t.register(Ui,n,ki)}else t&&Ax.push(t)},rt=255,Vs={aqua:[0,rt,rt],lime:[0,rt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,rt],navy:[0,0,128],white:[rt,rt,rt],olive:[128,128,0],yellow:[rt,rt,0],orange:[rt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[rt,0,0],pink:[rt,192,203],cyan:[0,rt,rt],transparent:[rt,rt,rt,0]},ld=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*rt+.5|0},Lx=function(t,e,i){var n=t?br(t)?[t>>16,t>>8&rt,t&rt]:0:Vs.black,r,a,o,s,u,c,h,p,d,g;if(!n){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),Vs[t])n=Vs[t];else if(t.charAt(0)==="#"){if(t.length<6&&(r=t.charAt(1),a=t.charAt(2),o=t.charAt(3),t="#"+r+r+a+a+o+o+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return n=parseInt(t.substr(1,6),16),[n>>16,n>>8&rt,n&rt,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),n=[t>>16,t>>8&rt,t&rt]}else if(t.substr(0,3)==="hsl"){if(n=g=t.match(Sp),!e)s=+n[0]%360/360,u=+n[1]/100,c=+n[2]/100,a=c<=.5?c*(u+1):c+u-c*u,r=c*2-a,n.length>3&&(n[3]*=1),n[0]=ld(s+1/3,r,a),n[1]=ld(s,r,a),n[2]=ld(s-1/3,r,a);else if(~t.indexOf("="))return n=t.match(ox),i&&n.length<4&&(n[3]=1),n}else n=t.match(Sp)||Vs.transparent;n=n.map(Number)}return e&&!g&&(r=n[0]/rt,a=n[1]/rt,o=n[2]/rt,h=Math.max(r,a,o),p=Math.min(r,a,o),c=(h+p)/2,h===p?s=u=0:(d=h-p,u=c>.5?d/(2-h-p):d/(h+p),s=h===r?(a-o)/d+(ae&&(n+=f-i),r+=f,T=r-n,y=T-o,(y>0||x)&&(R=++p.frame,d=T-p.time*1e3,p.time=T=T/1e3,o+=y+(y>=a?4:a-y),w=1),x||(u=c(M)),w)for(g=0;g=_&&g--},_listeners:s},p}(),ps=function(){return!bl&&Ji.wake()},Ze={},kC=/^[\d.\-M][\d.\-,\s]/,UC=/["']/g,NC=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),n=i[0],r=1,a=i.length,o,s,u;r1&&i.config?i.config.apply(null,~t.indexOf("{")?[NC(e[1])]:OC(t).split(",").map(mx)):Ze._CE&&kC.test(t)?Ze._CE("",t):i},Dx=function(t){return function(e){return 1-t(1-e)}},kx=function t(e,i){for(var n=e._first,r;n;)n instanceof wi?t(n,i):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==i&&(n.timeline?t(n.timeline,i):(r=n._ease,n._ease=n._yEase,n._yEase=r,n._yoyo=i)),n=n._next},Xa=function(t,e){return t&&(Ct(t)?t:Ze[t]||FC(t))||e},to=function(t,e,i,n){i===void 0&&(i=function(o){return 1-e(1-o)}),n===void 0&&(n=function(o){return o<.5?e(o*2)/2:1-e((1-o)*2)/2});var r={easeIn:e,easeOut:i,easeInOut:n},a;return Di(t,function(o){Ze[o]=$i[o]=r,Ze[a=o.toLowerCase()]=i;for(var s in r)Ze[a+(s==="easeIn"?".in":s==="easeOut"?".out":".inOut")]=Ze[o+"."+s]=r[s]}),r},Ux=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},ud=function t(e,i,n){var r=i>=1?i:1,a=(n||(e?.3:.45))/(i<1?i:1),o=a/Mp*(Math.asin(1/r)||0),s=function(c){return c===1?1:r*Math.pow(2,-10*c)*dC((c-o)*a)+1},u=e==="out"?s:e==="in"?function(c){return 1-s(1-c)}:Ux(s);return a=Mp/a,u.config=function(c,h){return t(e,c,h)},u},cd=function t(e,i){i===void 0&&(i=1.70158);var n=function(a){return a?--a*a*((i+1)*a+i)+1:0},r=e==="out"?n:e==="in"?function(a){return 1-n(1-a)}:Ux(n);return r.config=function(a){return t(e,a)},r};Di("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var i=e<5?e+1:e;to(t+",Power"+(i-1),e?function(n){return Math.pow(n,i)}:function(n){return n},function(n){return 1-Math.pow(1-n,i)},function(n){return n<.5?Math.pow(n*2,i)/2:1-Math.pow((1-n)*2,i)/2})});Ze.Linear.easeNone=Ze.none=Ze.Linear.easeIn;to("Elastic",ud("in"),ud("out"),ud());(function(t,e){var i=1/e,n=2*i,r=2.5*i,a=function(o){return o0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},e.totalDuration=function(i){return arguments.length?(this._dirty=0,ds(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(i,n){if(ps(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for($c(this,i),!r._dp||r.parent||yx(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i0||!this._tDur&&!i)&&Jn(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===at||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),fx(this,i,n)),this},e.time=function(i,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Hv(this))%(this._dur+this._rDelay)||(i?this._dur:0),n):this._time},e.totalProgress=function(i,n){return arguments.length?this.totalTime(this.totalDuration()*i,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(i,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Hv(this),n):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(i,n){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*r,n):this._repeat?hs(this._tTime,r)+1:1},e.timeScale=function(i){if(!arguments.length)return this._rts===-at?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?Rc(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-at?0:this._rts,this.totalTime(Hl(-Math.abs(this._delay),this._tDur,n),!0),Qc(this),_C(this)},e.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ps(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==at&&(this._tTime-=at)))),this):this._ps},e.startTime=function(i){if(arguments.length){this._start=i;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&Jn(n,this,i-this._delay),this}return this._start},e.endTime=function(i){return this._start+(Ii(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(i){var n=this.parent||this._dp;return n?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Rc(n.rawTime(i),this):this._tTime:this._tTime},e.revert=function(i){i===void 0&&(i=mC);var n=si;return si=i,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),si=n,this},e.globalTime=function(i){for(var n=this,r=arguments.length?i:n.rawTime();n;)r=n._start+r/(n._ts||1),n=n._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(i):r},e.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,Xv(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(i){if(arguments.length){var n=this._time;return this._rDelay=i,Xv(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},e.seek=function(i,n){return this.totalTime(ln(this,i),Ii(n))},e.restart=function(i,n){return this.play().totalTime(i?-this._delay:0,Ii(n))},e.play=function(i,n){return i!=null&&this.seek(i,n),this.reversed(!1).paused(!1)},e.reverse=function(i,n){return i!=null&&this.seek(i||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(i,n){return i!=null&&this.seek(i,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-at:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-at,this},e.isActive=function(){var i=this.parent||this._dp,n=this._start,r;return!!(!i||this._ts&&this._initted&&i.isActive()&&(r=i.rawTime(!0))>=n&&r1?(n?(a[i]=n,r&&(a[i+"Params"]=r),i==="onUpdate"&&(this._onUpdate=n)):delete a[i],this):a[i]},e.then=function(i){var n=this;return new Promise(function(r){var a=Ct(i)?i:gx,o=function(){var s=n.then;n.then=null,Ct(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=s),r(a),n.then=s};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?o():n._prom=o})},e.kill=function(){Ws(this)},t}();Mn(Al.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:-at,_prom:0,_ps:!1,_rts:1});var wi=function(t){nx(e,t);function e(n,r){var a;return n===void 0&&(n={}),a=t.call(this,n)||this,a.labels={},a.smoothChildTiming=!!n.smoothChildTiming,a.autoRemoveChildren=!!n.autoRemoveChildren,a._sort=Ii(n.sortChildren),xt&&Jn(n.parent||xt,fr(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),n.scrollTrigger&&_x(fr(a),n.scrollTrigger),a}var i=e.prototype;return i.to=function(n,r,a){return nl(0,arguments,this),this},i.from=function(n,r,a){return nl(1,arguments,this),this},i.fromTo=function(n,r,a,o){return nl(2,arguments,this),this},i.set=function(n,r,a){return r.duration=0,r.parent=this,il(r).repeatDelay||(r.repeat=0),r.immediateRender=!!r.immediateRender,new kt(n,r,ln(this,a),1),this},i.call=function(n,r,a){return Jn(this,kt.delayedCall(0,n,r),a)},i.staggerTo=function(n,r,a,o,s,u,c){return a.duration=r,a.stagger=a.stagger||o,a.onComplete=u,a.onCompleteParams=c,a.parent=this,new kt(n,a,ln(this,s)),this},i.staggerFrom=function(n,r,a,o,s,u,c){return a.runBackwards=1,il(a).immediateRender=Ii(a.immediateRender),this.staggerTo(n,r,a,o,s,u,c)},i.staggerFromTo=function(n,r,a,o,s,u,c,h){return o.startAt=a,il(o).immediateRender=Ii(o.immediateRender),this.staggerTo(n,r,o,s,u,c,h)},i.render=function(n,r,a){var o=this._time,s=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=n<=0?0:Kt(n),h=this._zTime<0!=n<0&&(this._initted||!u),p,d,g,v,M,_,f,x,y,w,T,R;if(this!==xt&&c>s&&n>=0&&(c=s),c!==this._tTime||a||h){if(o!==this._time&&u&&(c+=this._time-o,n+=this._time-o),p=c,y=this._start,x=this._ts,_=!x,h&&(u||(o=this._zTime),(n||!r)&&(this._zTime=n)),this._repeat){if(T=this._yoyo,M=u+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(M*100+n,r,a);if(p=Kt(c%M),c===s?(v=this._repeat,p=u):(v=~~(c/M),v&&v===c/M&&(p=u,v--),p>u&&(p=u)),w=hs(this._tTime,M),!o&&this._tTime&&w!==v&&this._tTime-w*M-this._dur<=0&&(w=v),T&&v&1&&(p=u-p,R=1),v!==w&&!this._lock){var A=T&&w&1,I=A===(T&&v&1);if(v=o&&n>=0)for(d=this._first;d;){if(g=d._next,(d._act||p>=d._start)&&d._ts&&f!==d){if(d.parent!==this)return this.render(n,r,a);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,r,a),p!==this._time||!this._ts&&!_){f=0,g&&(c+=this._zTime=-at);break}}d=g}else{d=this._last;for(var E=n<0?n:p;d;){if(g=d._prev,(d._act||E<=d._end)&&d._ts&&f!==d){if(d.parent!==this)return this.render(n,r,a);if(d.render(d._ts>0?(E-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(E-d._start)*d._ts,r,a||si&&(d._initted||d._startAt)),p!==this._time||!this._ts&&!_){f=0,g&&(c+=this._zTime=E?-at:at);break}}d=g}}if(f&&!r&&(this.pause(),f.render(p>=o?0:-at)._zTime=p>=o?1:-1,this._ts))return this._start=y,Qc(this),this.render(n,r,a);this._onUpdate&&!r&&vn(this,"onUpdate",!0),(c===s&&this._tTime>=this.totalDuration()||!c&&o)&&(y===this._start||Math.abs(x)!==Math.abs(this._ts))&&(this._lock||((n||!u)&&(c===s&&this._ts>0||!c&&this._ts<0)&&ha(this,1),!r&&!(n<0&&!o)&&(c||o||!s)&&(vn(this,c===s&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom())))}return this},i.add=function(n,r){var a=this;if(br(r)||(r=ln(this,r,n)),!(n instanceof Al)){if(li(n))return n.forEach(function(o){return a.add(o,r)}),this;if(Yt(n))return this.addLabel(n,r);if(Ct(n))n=kt.delayedCall(0,n);else return this}return this!==n?Jn(this,n,r):this},i.getChildren=function(n,r,a,o){n===void 0&&(n=!0),r===void 0&&(r=!0),a===void 0&&(a=!0),o===void 0&&(o=-mn);for(var s=[],u=this._first;u;)u._start>=o&&(u instanceof kt?r&&s.push(u):(a&&s.push(u),n&&s.push.apply(s,u.getChildren(!0,r,a)))),u=u._next;return s},i.getById=function(n){for(var r=this.getChildren(1,1,1),a=r.length;a--;)if(r[a].vars.id===n)return r[a]},i.remove=function(n){return Yt(n)?this.removeLabel(n):Ct(n)?this.killTweensOf(n):(qc(this,n),n===this._recent&&(this._recent=this._last),Ha(this))},i.totalTime=function(n,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Kt(Ji.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),t.prototype.totalTime.call(this,n,r),this._forcing=0,this):this._tTime},i.addLabel=function(n,r){return this.labels[n]=ln(this,r),this},i.removeLabel=function(n){return delete this.labels[n],this},i.addPause=function(n,r,a){var o=kt.delayedCall(0,r||Tl,a);return o.data="isPause",this._hasPause=1,Jn(this,o,ln(this,n))},i.removePause=function(n){var r=this._first;for(n=ln(this,n);r;)r._start===n&&r.data==="isPause"&&ha(r),r=r._next},i.killTweensOf=function(n,r,a){for(var o=this.getTweensOf(n,a),s=o.length;s--;)jr!==o[s]&&o[s].kill(n,r);return this},i.getTweensOf=function(n,r){for(var a=[],o=gn(n),s=this._first,u=br(r),c;s;)s instanceof kt?gC(s._targets,o)&&(u?(!jr||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&a.push(s):(c=s.getTweensOf(o,r)).length&&a.push.apply(a,c),s=s._next;return a},i.tweenTo=function(n,r){r=r||{};var a=this,o=ln(a,n),s=r,u=s.startAt,c=s.onStart,h=s.onStartParams,p=s.immediateRender,d,g=kt.to(a,Mn({ease:r.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:r.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale())||at,onStart:function(){if(a.pause(),!d){var v=r.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale());g._dur!==v&&ds(g,v,0,1).render(g._time,!0,!0),d=1}c&&c.apply(g,h||[])}},r));return p?g.render(0):g},i.tweenFromTo=function(n,r,a){return this.tweenTo(r,Mn({startAt:{time:ln(this,n)}},a))},i.recent=function(){return this._recent},i.nextLabel=function(n){return n===void 0&&(n=this._time),Wv(this,ln(this,n))},i.previousLabel=function(n){return n===void 0&&(n=this._time),Wv(this,ln(this,n),1)},i.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+at)},i.shiftChildren=function(n,r,a){a===void 0&&(a=0);for(var o=this._first,s=this.labels,u;o;)o._start>=a&&(o._start+=n,o._end+=n),o=o._next;if(r)for(u in s)s[u]>=a&&(s[u]+=n);return Ha(this)},i.invalidate=function(n){var r=this._first;for(this._lock=0;r;)r.invalidate(n),r=r._next;return t.prototype.invalidate.call(this,n)},i.clear=function(n){n===void 0&&(n=!0);for(var r=this._first,a;r;)a=r._next,this.remove(r),r=a;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Ha(this)},i.totalDuration=function(n){var r=0,a=this,o=a._last,s=mn,u,c,h;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-n:n));if(a._dirty){for(h=a.parent;o;)u=o._prev,o._dirty&&o.totalDuration(),c=o._start,c>s&&a._sort&&o._ts&&!a._lock?(a._lock=1,Jn(a,o,c-o._delay,1)._lock=0):s=c,c<0&&o._ts&&(r-=c,(!h&&!a._dp||h&&h.smoothChildTiming)&&(a._start+=c/a._ts,a._time-=c,a._tTime-=c),a.shiftChildren(-c,!1,-1/0),s=0),o._end>r&&o._ts&&(r=o._end),o=u;ds(a,a===xt&&a._time>r?a._time:r,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(n){if(xt._ts&&(fx(xt,Rc(n,xt)),dx=Ji.frame),Ji.frame>=Bv){Bv+=qi.autoSleep||120;var r=xt._first;if((!r||!r._ts)&&qi.autoSleep&&Ji._listeners.length<2){for(;r&&!r._ts;)r=r._next;r||Ji.sleep()}}},e}(Al);Mn(wi.prototype,{_lock:0,_hasPause:0,_forcing:0});var zC=function(t,e,i,n,r,a,o){var s=new ki(this._pt,t,e,0,1,Hx,null,r),u=0,c=0,h,p,d,g,v,M,_,f;for(s.b=i,s.e=n,i+="",n+="",(_=~n.indexOf("random("))&&(n=Rl(n)),a&&(f=[i,n],a(f,t,e),i=f[0],n=f[1]),p=i.match(od)||[];h=od.exec(n);)g=h[0],v=n.substring(u,h.index),d?d=(d+1)%5:v.substr(-5)==="rgba("&&(d=1),g!==p[c++]&&(M=parseFloat(p[c-1])||0,s._pt={_next:s._pt,p:v||c===1?v:",",s:M,c:g.charAt(1)==="="?Ko(M,g)-M:parseFloat(g)-M,m:d&&d<4?Math.round:0},u=od.lastIndex);return s.c=u")}),w.duration();else{R={};for(I in v)I==="ease"||I==="easeEach"||XC(I,v[I],R,v.easeEach);for(I in R)for(H=R[I].sort(function(ie,Z){return ie.t-Z.t}),ne=0,T=0;Ts-at&&!c?s:nu&&(p=u)),_=this._yoyo&&g&1,_&&(y=this._yEase,p=u-p),M=hs(this._tTime,v),p===o&&!a&&this._initted)return this._tTime=h,this;g!==M&&(x&&this._yEase&&kx(x,_),this.vars.repeatRefresh&&!_&&!this._lock&&(this._lock=a=1,this.render(Kt(v*g),!0).invalidate()._lock=0))}if(!this._initted){if(xx(this,c?n:p,a,r,h))return this._tTime=0,this;if(o!==this._time)return this;if(u!==this._dur)return this.render(n,r,a)}if(this._tTime=h,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=f=(y||this._ease)(p/u),this._from&&(this.ratio=f=1-f),p&&!o&&!r&&!g&&(vn(this,"onStart"),this._tTime!==h))return this;for(d=this._pt;d;)d.r(f,d.d),d=d._next;x&&x.render(n<0?n:!p&&_?-at:x._dur*x._ease(p/this._dur),r,a)||this._startAt&&(this._zTime=n),this._onUpdate&&!r&&(c&&Tp(this,n,r,a),vn(this,"onUpdate")),this._repeat&&g!==M&&this.vars.onRepeat&&!r&&this.parent&&vn(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(c&&!this._onUpdate&&Tp(this,n,!0,!0),(n||!u)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&ha(this,1),!r&&!(c&&!o)&&(h||o||_)&&(vn(this,h===s?"onComplete":"onReverseComplete",!0),this._prom&&!(h0)&&this._prom()))}return this},i.targets=function(){return this._targets},i.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),t.prototype.invalidate.call(this,n)},i.resetTo=function(n,r,a,o){bl||Ji.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||jf(this,s),u=this._ease(s/this._dur),GC(this,n,r,a,o,u,s)?this.resetTo(n,r,a,o):($c(this,0),this.parent||vx(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(n,r){if(r===void 0&&(r="all"),!n&&(!r||r==="all"))return this._lazy=this._pt=0,this.parent?Ws(this):this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(n,r,jr&&jr.vars.overwrite!==!0)._first||Ws(this),this.parent&&a!==this.timeline.totalDuration()&&ds(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,s=n?gn(n):o,u=this._ptLookup,c=this._pt,h,p,d,g,v,M,_;if((!r||r==="all")&&yC(o,s))return r==="all"&&(this._pt=0),Ws(this);for(h=this._op=this._op||[],r!=="all"&&(Yt(r)&&(v={},Di(r,function(f){return v[f]=1}),r=v),r=HC(o,r)),_=o.length;_--;)if(~s.indexOf(o[_])){p=u[_],r==="all"?(h[_]=r,g=p,d={}):(d=h[_]=h[_]||{},g=r);for(v in g)M=p&&p[v],M&&((!("kill"in M.d)||M.d.kill(v)===!0)&&qc(this,M,"_pt"),delete p[v]),d!=="all"&&(d[v]=1)}return this._initted&&!this._pt&&c&&Ws(this),this},e.to=function(n,r){return new e(n,r,arguments[2])},e.from=function(n,r){return nl(1,arguments)},e.delayedCall=function(n,r,a,o){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:r,onReverseComplete:r,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(n,r,a){return nl(2,arguments)},e.set=function(n,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(n,r)},e.killTweensOf=function(n,r,a){return xt.killTweensOf(n,r,a)},e}(Al);Mn(kt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Di("staggerTo,staggerFrom,staggerFromTo",function(t){kt[t]=function(){var e=new wi,i=bp.call(arguments,0);return i.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,i)}});var Yf=function(t,e,i){return t[e]=i},Bx=function(t,e,i){return t[e](i)},WC=function(t,e,i,n){return t[e](n.fp,i)},VC=function(t,e,i){return t.setAttribute(e,i)},Jf=function(t,e){return Ct(t[e])?Bx:Ff(t[e])&&t.setAttribute?VC:Yf},Gx=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},jC=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Hx=function(t,e){var i=e._pt,n="";if(!t&&e.b)n=e.b;else if(t===1&&e.e)n=e.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+n,i=i._next;n+=e.c}e.set(e.t,e.p,n,e)},Zf=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},YC=function(t,e,i,n){for(var r=this._pt,a;r;)a=r._next,r.p===n&&r.modifier(t,e,i),r=a},JC=function(t){for(var e=this._pt,i,n;e;)n=e._next,e.p===t&&!e.op||e.op===t?qc(this,e,"_pt"):e.dep||(i=1),e=n;return!i},ZC=function(t,e,i,n){n.mSet(t,e,n.m.call(n.tween,i,n.mt),n)},Xx=function(t){for(var e=t._pt,i,n,r,a;e;){for(i=e._next,n=r;n&&n.pr>e.pr;)n=n._next;(e._prev=n?n._prev:a)?e._prev._next=e:r=e,(e._next=n)?n._prev=e:a=e,e=i}t._pt=r},ki=function(){function t(i,n,r,a,o,s,u,c,h){this.t=n,this.s=a,this.c=o,this.p=r,this.r=s||Gx,this.d=u||this,this.set=c||Yf,this.pr=h||0,this._next=i,i&&(i._prev=this)}var e=t.prototype;return e.modifier=function(i,n,r){this.mSet=this.mSet||this.set,this.set=ZC,this.m=i,this.mt=r,this.tween=n},t}();Di(Xf+"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(t){return Hf[t]=1});$i.TweenMax=$i.TweenLite=kt;$i.TimelineLite=$i.TimelineMax=wi;xt=new wi({sortChildren:!1,defaults:cs,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});qi.stringFilter=Ix;var Wa=[],Zu={},KC=[],jv=0,qC=0,hd=function(t){return(Zu[t]||KC).map(function(e){return e()})},Pp=function(){var t=Date.now(),e=[];t-jv>2&&(hd("matchMediaInit"),Wa.forEach(function(i){var n=i.queries,r=i.conditions,a,o,s,u;for(o in n)a=un.matchMedia(n[o]).matches,a&&(s=1),a!==r[o]&&(r[o]=a,u=1);u&&(i.revert(),s&&e.push(i))}),hd("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i)}),jv=t,hd("matchMedia"))},Wx=function(){function t(i,n){this.selector=n&&Ap(n),this.data=[],this._r=[],this.isReverted=!1,this.id=qC++,i&&this.add(i)}var e=t.prototype;return e.add=function(i,n,r){Ct(i)&&(r=n,n=i,i=Ct);var a=this,o=function(){var s=At,u=a.selector,c;return s&&s!==a&&s.data.push(a),r&&(a.selector=Ap(r)),At=a,c=n.apply(a,arguments),Ct(c)&&a._r.push(c),At=s,a.selector=u,a.isReverted=!1,c};return a.last=o,i===Ct?o(a):i?a[i]=o:o},e.ignore=function(i){var n=At;At=null,i(this),At=n},e.getTweens=function(){var i=[];return this.data.forEach(function(n){return n instanceof t?i.push.apply(i,n.getTweens()):n instanceof kt&&!(n.parent&&n.parent.data==="nested")&&i.push(n)}),i},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(i,n){var r=this;if(i){var a=this.getTweens();this.data.forEach(function(s){s.data==="isFlip"&&(s.revert(),s.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}))}),a.map(function(s){return{g:s.globalTime(0),t:s}}).sort(function(s,u){return u.g-s.g||-1/0}).forEach(function(s){return s.t.revert(i)}),this.data.forEach(function(s){return!(s instanceof kt)&&s.revert&&s.revert(i)}),this._r.forEach(function(s){return s(i,r)}),this.isReverted=!0}else this.data.forEach(function(s){return s.kill&&s.kill()});if(this.clear(),n)for(var o=Wa.length;o--;)Wa[o].id===this.id&&Wa.splice(o,1)},e.revert=function(i){this.kill(i||{})},t}(),QC=function(){function t(i){this.contexts=[],this.scope=i}var e=t.prototype;return e.add=function(i,n,r){er(i)||(i={matches:i});var a=new Wx(0,r||this.scope),o=a.conditions={},s,u,c;At&&!a.selector&&(a.selector=At.selector),this.contexts.push(a),n=a.add("onMatch",n),a.queries=i;for(u in i)u==="all"?c=1:(s=un.matchMedia(i[u]),s&&(Wa.indexOf(a)<0&&Wa.push(a),(o[u]=s.matches)&&(c=1),s.addListener?s.addListener(Pp):s.addEventListener("change",Pp)));return c&&n(a),this},e.revert=function(i){this.kill(i||{})},e.kill=function(i){this.contexts.forEach(function(n){return n.kill(i,!0)})},t}(),bc={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i1){var n=t.map(function(c){return Ui.quickSetter(c,e,i)}),r=n.length;return function(c){for(var h=r;h--;)n[h](c)}}t=t[0]||{};var a=Yi[e],o=Ga(t),s=o.harness&&(o.harness.aliases||{})[e]||e,u=a?function(c){var h=new a;Go._pt=0,h.init(t,i?c+i:c,Go,0,[t]),h.render(1,h),Go._pt&&Zf(1,Go)}:o.set(t,s);return a?u:function(c){return u(t,s,i?c+i:c,o,1)}},quickTo:function(t,e,i){var n,r=Ui.to(t,Qa((n={},n[e]="+=0.1",n.paused=!0,n),i||{})),a=function(o,s,u){return r.resetTo(e,o,s,u)};return a.tween=r,a},isTweening:function(t){return xt.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Xa(t.ease,cs.ease)),Gv(cs,t||{})},config:function(t){return Gv(qi,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,n=t.plugins,r=t.defaults,a=t.extendTimeline;(n||"").split(",").forEach(function(o){return o&&!Yi[o]&&!$i[o]&&Ec(e+" effect requires "+o+" plugin.")}),sd[e]=function(o,s,u){return i(gn(o),Mn(s||{},r),u)},a&&(wi.prototype[e]=function(o,s,u){return this.add(sd[e](o,er(s)?s:(u=s)&&{},this),u)})},registerEase:function(t,e){Ze[t]=Xa(e)},parseEase:function(t,e){return arguments.length?Xa(t,e):Ze},getById:function(t){return xt.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new wi(t),n,r;for(i.smoothChildTiming=Ii(t.smoothChildTiming),xt.remove(i),i._dp=0,i._time=i._tTime=xt._time,n=xt._first;n;)r=n._next,(e||!(!n._dur&&n instanceof kt&&n.vars.onComplete===n._targets[0]))&&Jn(i,n,n._start-n._delay),n=r;return Jn(xt,i,0),i},context:function(t,e){return t?new Wx(t,e):At},matchMedia:function(t){return new QC(t)},matchMediaRefresh:function(){return Wa.forEach(function(t){var e=t.conditions,i,n;for(n in e)e[n]&&(e[n]=!1,i=1);i&&t.revert()})||Pp()},addEventListener:function(t,e){var i=Zu[t]||(Zu[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=Zu[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},utils:{wrap:LC,wrapYoyo:PC,distribute:Ex,random:Tx,snap:wx,normalize:CC,getUnit:oi,clamp:TC,splitColor:Lx,toArray:gn,selector:Ap,mapRange:bx,pipe:bC,unitize:AC,interpolate:IC,shuffle:Sx},install:cx,effects:sd,ticker:Ji,updateRoot:wi.updateRoot,plugins:Yi,globalTimeline:xt,core:{PropTween:ki,globals:hx,Tween:kt,Timeline:wi,Animation:Al,getCache:Ga,_removeLinkedListItem:qc,reverting:function(){return si},context:function(t){return t&&At&&(At.data.push(t),t._ctx=At),At},suppressOverwrites:function(t){return Of=t}}};Di("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return bc[t]=kt[t]});Ji.add(wi.updateRoot);Go=bc.to({},{duration:0});var $C=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},eL=function(t,e){var i=t._targets,n,r,a;for(n in e)for(r=i.length;r--;)a=t._ptLookup[r][n],a&&(a=a.d)&&(a._pt&&(a=$C(a,n)),a&&a.modifier&&a.modifier(e[n],t,i[r],n))},dd=function(t,e){return{name:t,rawVars:1,init:function(i,n,r){r._onInit=function(a){var o,s;if(Yt(n)&&(o={},Di(n,function(u){return o[u]=1}),n=o),e){o={};for(s in n)o[s]=e(n[s]);n=o}eL(a,n)}}}},Ui=bc.registerPlugin({name:"attr",init:function(t,e,i,n,r){var a,o,s;this.tween=i;for(a in e)s=t.getAttribute(a)||"",o=this.add(t,"setAttribute",(s||0)+"",e[a],n,r,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(t,e){for(var i=e._pt;i;)si?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},dd("roundProps",Cp),dd("modifiers"),dd("snap",wx))||bc;kt.version=wi.version=Ui.version="3.12.2";ux=1;zf()&&ps();Ze.Power0;Ze.Power1;Ze.Power2;Ze.Power3;Ze.Power4;Ze.Linear;Ze.Quad;Ze.Cubic;Ze.Quart;Ze.Quint;Ze.Strong;Ze.Elastic;Ze.Back;Ze.SteppedEase;Ze.Bounce;Ze.Sine;Ze.Expo;Ze.Circ;/*! + * CSSPlugin 3.12.2 + * https://greensock.com + * + * Copyright 2008-2023, GreenSock. All rights reserved. + * Subject to the terms at https://greensock.com/standard-license or for + * Club GreenSock members, the agreement issued with that membership. + * @author: Jack Doyle, jack@greensock.com +*/var Yv,Yr,qo,Kf,Da,Jv,qf,tL=function(){return typeof window<"u"},Ar={},Aa=180/Math.PI,Qo=Math.PI/180,To=Math.atan2,Zv=1e8,Qf=/([A-Z])/g,iL=/(left|right|width|margin|padding|x)/i,nL=/[\s,\(]\S/,Zn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ip=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},rL=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},aL=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},oL=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Vx=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},jx=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},sL=function(t,e,i){return t.style[e]=i},lL=function(t,e,i){return t.style.setProperty(e,i)},uL=function(t,e,i){return t._gsap[e]=i},cL=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},hL=function(t,e,i,n,r){var a=t._gsap;a.scaleX=a.scaleY=i,a.renderTransform(r,a)},dL=function(t,e,i,n,r){var a=t._gsap;a[e]=i,a.renderTransform(r,a)},Mt="transform",Fn=Mt+"Origin",pL=function t(e,i){var n=this,r=this.target,a=r.style;if(e in Ar&&a){if(this.tfm=this.tfm||{},e!=="transform")e=Zn[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return n.tfm[o]=vr(r,o)}):this.tfm[e]=r._gsap.x?r._gsap[e]:vr(r,e);else return Zn.transform.split(",").forEach(function(o){return t.call(n,o,i)});if(this.props.indexOf(Mt)>=0)return;r._gsap.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(Fn,i,"")),e=Mt}(a||i)&&this.props.push(e,i,a[e])},Yx=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},fL=function(){var t=this.props,e=this.target,i=e.style,n=e._gsap,r,a;for(r=0;r=0?Kv[a]:"")+t},kp=function(){tL()&&window.document&&(Yv=window,Yr=Yv.document,qo=Yr.documentElement,Da=Dp("div")||{style:{}},Dp("div"),Mt=fs(Mt),Fn=Mt+"Origin",Da.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Zx=!!fs("perspective"),qf=Ui.core.reverting,Kf=1)},pd=function t(e){var i=Dp("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,r=this.nextSibling,a=this.style.cssText,o;if(qo.appendChild(i),i.appendChild(this),this.style.display="block",e)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(o=this._gsapBBox());return n&&(r?n.insertBefore(this,r):n.appendChild(this)),qo.removeChild(i),this.style.cssText=a,o},qv=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Kx=function(t){var e;try{e=t.getBBox()}catch{e=pd.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===pd||(e=pd.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+qv(t,["x","cx","x1"])||0,y:+qv(t,["y","cy","y1"])||0,width:0,height:0}:e},qx=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Kx(t))},Cl=function(t,e){if(e){var i=t.style;e in Ar&&e!==Fn&&(e=Mt),i.removeProperty?((e.substr(0,2)==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(e.replace(Qf,"-$1").toLowerCase())):i.removeAttribute(e)}},Jr=function(t,e,i,n,r,a){var o=new ki(t._pt,e,i,0,1,a?jx:Vx);return t._pt=o,o.b=n,o.e=r,t._props.push(i),o},Qv={deg:1,rad:1,turn:1},mL={grid:1,flex:1},da=function t(e,i,n,r){var a=parseFloat(n)||0,o=(n+"").trim().substr((a+"").length)||"px",s=Da.style,u=iL.test(i),c=e.tagName.toLowerCase()==="svg",h=(c?"client":"offset")+(u?"Width":"Height"),p=100,d=r==="px",g=r==="%",v,M,_,f;return r===o||!a||Qv[r]||Qv[o]?a:(o!=="px"&&!d&&(a=t(e,i,n,"px")),f=e.getCTM&&qx(e),(g||o==="%")&&(Ar[i]||~i.indexOf("adius"))?(v=f?e.getBBox()[u?"width":"height"]:e[h],Lt(g?a/v*p:a/100*v)):(s[u?"width":"height"]=p+(d?o:r),M=~i.indexOf("adius")||r==="em"&&e.appendChild&&!c?e:e.parentNode,f&&(M=(e.ownerSVGElement||{}).parentNode),(!M||M===Yr||!M.appendChild)&&(M=Yr.body),_=M._gsap,_&&g&&_.width&&u&&_.time===Ji.time&&!_.uncache?Lt(a/_.width*p):((g||o==="%")&&!mL[Qn(M,"display")]&&(s.position=Qn(e,"position")),M===e&&(s.position="static"),M.appendChild(Da),v=Da[h],M.removeChild(Da),s.position="absolute",u&&g&&(_=Ga(M),_.time=Ji.time,_.width=M[h]),Lt(d?v*a/p:v&&a?p/v*a:0))))},vr=function(t,e,i,n){var r;return Kf||kp(),e in Zn&&e!=="transform"&&(e=Zn[e],~e.indexOf(",")&&(e=e.split(",")[0])),Ar[e]&&e!=="transform"?(r=Pl(t,n),r=e!=="transformOrigin"?r[e]:r.svg?r.origin:Cc(Qn(t,Fn))+" "+r.zOrigin+"px"):(r=t.style[e],(!r||r==="auto"||n||~(r+"").indexOf("calc("))&&(r=Ac[e]&&Ac[e](t,e,i)||Qn(t,e)||px(t,e)||(e==="opacity"?1:0))),i&&!~(r+"").trim().indexOf(" ")?da(t,e,r,i)+i:r},gL=function(t,e,i,n){if(!i||i==="none"){var r=fs(e,t,1),a=r&&Qn(t,r,1);a&&a!==i?(e=r,i=a):e==="borderColor"&&(i=Qn(t,"borderTopColor"))}var o=new ki(this._pt,t.style,e,0,1,Hx),s=0,u=0,c,h,p,d,g,v,M,_,f,x,y,w;if(o.b=i,o.e=n,i+="",n+="",n==="auto"&&(t.style[e]=n,n=Qn(t,e)||n,t.style[e]=i),c=[i,n],Ix(c),i=c[0],n=c[1],p=i.match(Bo)||[],w=n.match(Bo)||[],w.length){for(;h=Bo.exec(n);)M=h[0],f=n.substring(s,h.index),g?g=(g+1)%5:(f.substr(-5)==="rgba("||f.substr(-5)==="hsla(")&&(g=1),M!==(v=p[u++]||"")&&(d=parseFloat(v)||0,y=v.substr((d+"").length),M.charAt(1)==="="&&(M=Ko(d,M)+y),_=parseFloat(M),x=M.substr((_+"").length),s=Bo.lastIndex-x.length,x||(x=x||qi.units[e]||y,s===n.length&&(n+=x,o.e+=x)),y!==x&&(d=da(t,e,v,x)||0),o._pt={_next:o._pt,p:f||u===1?f:",",s:d,c:_-d,m:g&&g<4||e==="zIndex"?Math.round:0});o.c=s-1;)o=r[u],Ar[o]&&(s=1,o=o==="transformOrigin"?Fn:Mt),Cl(i,o);s&&(Cl(i,Mt),a&&(a.svg&&i.removeAttribute("transform"),Pl(i,1),a.uncache=1,Yx(n)))}},Ac={clearProps:function(t,e,i,n,r){if(r.data!=="isFromStart"){var a=t._pt=new ki(t._pt,e,i,0,0,yL);return a.u=n,a.pr=-10,a.tween=r,t._props.push(i),1}}},Ll=[1,0,0,1,0,0],Qx={},$x=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},e0=function(t){var e=Qn(t,Mt);return $x(e)?Ll:e.substr(7).match(ox).map(Lt)},$f=function(t,e){var i=t._gsap||Ga(t),n=t.style,r=e0(t),a,o,s,u;return i.svg&&t.getAttribute("transform")?(s=t.transform.baseVal.consolidate().matrix,r=[s.a,s.b,s.c,s.d,s.e,s.f],r.join(",")==="1,0,0,1,0,0"?Ll:r):(r===Ll&&!t.offsetParent&&t!==qo&&!i.svg&&(s=n.display,n.display="block",a=t.parentNode,(!a||!t.offsetParent)&&(u=1,o=t.nextElementSibling,qo.appendChild(t)),r=e0(t),s?n.display=s:Cl(t,"display"),u&&(o?a.insertBefore(t,o):a?a.appendChild(t):qo.removeChild(t))),e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r)},Up=function(t,e,i,n,r,a){var o=t._gsap,s=r||$f(t,!0),u=o.xOrigin||0,c=o.yOrigin||0,h=o.xOffset||0,p=o.yOffset||0,d=s[0],g=s[1],v=s[2],M=s[3],_=s[4],f=s[5],x=e.split(" "),y=parseFloat(x[0])||0,w=parseFloat(x[1])||0,T,R,A,I;i?s!==Ll&&(R=d*M-g*v)&&(A=y*(M/R)+w*(-v/R)+(v*f-M*_)/R,I=y*(-g/R)+w*(d/R)-(d*f-g*_)/R,y=A,w=I):(T=Kx(t),y=T.x+(~x[0].indexOf("%")?y/100*T.width:y),w=T.y+(~(x[1]||x[0]).indexOf("%")?w/100*T.height:w)),n||n!==!1&&o.smooth?(_=y-u,f=w-c,o.xOffset=h+(_*d+f*v)-_,o.yOffset=p+(_*g+f*M)-f):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=w,o.smooth=!!n,o.origin=e,o.originIsAbsolute=!!i,t.style[Fn]="0px 0px",a&&(Jr(a,o,"xOrigin",u,y),Jr(a,o,"yOrigin",c,w),Jr(a,o,"xOffset",h,o.xOffset),Jr(a,o,"yOffset",p,o.yOffset)),t.setAttribute("data-svg-origin",y+" "+w)},Pl=function(t,e){var i=t._gsap||new Nx(t);if("x"in i&&!e&&!i.uncache)return i;var n=t.style,r=i.scaleX<0,a="px",o="deg",s=getComputedStyle(t),u=Qn(t,Fn)||"0",c,h,p,d,g,v,M,_,f,x,y,w,T,R,A,I,E,C,Y,ne,H,V,X,ie,Z,z,J,k,F,$,re,se;return c=h=p=v=M=_=f=x=y=0,d=g=1,i.svg=!!(t.getCTM&&qx(t)),s.translate&&((s.translate!=="none"||s.scale!=="none"||s.rotate!=="none")&&(n[Mt]=(s.translate!=="none"?"translate3d("+(s.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(s.rotate!=="none"?"rotate("+s.rotate+") ":"")+(s.scale!=="none"?"scale("+s.scale.split(" ").join(",")+") ":"")+(s[Mt]!=="none"?s[Mt]:"")),n.scale=n.rotate=n.translate="none"),R=$f(t,i.svg),i.svg&&(i.uncache?(Z=t.getBBox(),u=i.xOrigin-Z.x+"px "+(i.yOrigin-Z.y)+"px",ie=""):ie=!e&&t.getAttribute("data-svg-origin"),Up(t,ie||u,!!ie||i.originIsAbsolute,i.smooth!==!1,R)),w=i.xOrigin||0,T=i.yOrigin||0,R!==Ll&&(C=R[0],Y=R[1],ne=R[2],H=R[3],c=V=R[4],h=X=R[5],R.length===6?(d=Math.sqrt(C*C+Y*Y),g=Math.sqrt(H*H+ne*ne),v=C||Y?To(Y,C)*Aa:0,f=ne||H?To(ne,H)*Aa+v:0,f&&(g*=Math.abs(Math.cos(f*Qo))),i.svg&&(c-=w-(w*C+T*ne),h-=T-(w*Y+T*H))):(se=R[6],$=R[7],J=R[8],k=R[9],F=R[10],re=R[11],c=R[12],h=R[13],p=R[14],A=To(se,F),M=A*Aa,A&&(I=Math.cos(-A),E=Math.sin(-A),ie=V*I+J*E,Z=X*I+k*E,z=se*I+F*E,J=V*-E+J*I,k=X*-E+k*I,F=se*-E+F*I,re=$*-E+re*I,V=ie,X=Z,se=z),A=To(-ne,F),_=A*Aa,A&&(I=Math.cos(-A),E=Math.sin(-A),ie=C*I-J*E,Z=Y*I-k*E,z=ne*I-F*E,re=H*E+re*I,C=ie,Y=Z,ne=z),A=To(Y,C),v=A*Aa,A&&(I=Math.cos(A),E=Math.sin(A),ie=C*I+Y*E,Z=V*I+X*E,Y=Y*I-C*E,X=X*I-V*E,C=ie,V=Z),M&&Math.abs(M)+Math.abs(v)>359.9&&(M=v=0,_=180-_),d=Lt(Math.sqrt(C*C+Y*Y+ne*ne)),g=Lt(Math.sqrt(X*X+se*se)),A=To(V,X),f=Math.abs(A)>2e-4?A*Aa:0,y=re?1/(re<0?-re:re):0),i.svg&&(ie=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!$x(Qn(t,Mt)),ie&&t.setAttribute("transform",ie))),Math.abs(f)>90&&Math.abs(f)<270&&(r?(d*=-1,f+=v<=0?180:-180,v+=v<=0?180:-180):(g*=-1,f+=f<=0?180:-180)),e=e||i.uncache,i.x=c-((i.xPercent=c&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-c)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+a,i.y=h-((i.yPercent=h&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-h)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+a,i.z=p+a,i.scaleX=Lt(d),i.scaleY=Lt(g),i.rotation=Lt(v)+o,i.rotationX=Lt(M)+o,i.rotationY=Lt(_)+o,i.skewX=f+o,i.skewY=x+o,i.transformPerspective=y+a,(i.zOrigin=parseFloat(u.split(" ")[2])||0)&&(n[Fn]=Cc(u)),i.xOffset=i.yOffset=0,i.force3D=qi.force3D,i.renderTransform=i.svg?xL:Zx?e1:_L,i.uncache=0,i},Cc=function(t){return(t=t.split(" "))[0]+" "+t[1]},fd=function(t,e,i){var n=oi(e);return Lt(parseFloat(e)+parseFloat(da(t,"x",i+"px",n)))+n},_L=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,e1(t,e)},Sa="0deg",Os="0px",Ea=") ",e1=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,a=i.x,o=i.y,s=i.z,u=i.rotation,c=i.rotationY,h=i.rotationX,p=i.skewX,d=i.skewY,g=i.scaleX,v=i.scaleY,M=i.transformPerspective,_=i.force3D,f=i.target,x=i.zOrigin,y="",w=_==="auto"&&t&&t!==1||_===!0;if(x&&(h!==Sa||c!==Sa)){var T=parseFloat(c)*Qo,R=Math.sin(T),A=Math.cos(T),I;T=parseFloat(h)*Qo,I=Math.cos(T),a=fd(f,a,R*I*-x),o=fd(f,o,-Math.sin(T)*-x),s=fd(f,s,A*I*-x+x)}M!==Os&&(y+="perspective("+M+Ea),(n||r)&&(y+="translate("+n+"%, "+r+"%) "),(w||a!==Os||o!==Os||s!==Os)&&(y+=s!==Os||w?"translate3d("+a+", "+o+", "+s+") ":"translate("+a+", "+o+Ea),u!==Sa&&(y+="rotate("+u+Ea),c!==Sa&&(y+="rotateY("+c+Ea),h!==Sa&&(y+="rotateX("+h+Ea),(p!==Sa||d!==Sa)&&(y+="skew("+p+", "+d+Ea),(g!==1||v!==1)&&(y+="scale("+g+", "+v+Ea),f.style[Mt]=y||"translate(0, 0)"},xL=function(t,e){var i=e||this,n=i.xPercent,r=i.yPercent,a=i.x,o=i.y,s=i.rotation,u=i.skewX,c=i.skewY,h=i.scaleX,p=i.scaleY,d=i.target,g=i.xOrigin,v=i.yOrigin,M=i.xOffset,_=i.yOffset,f=i.forceCSS,x=parseFloat(a),y=parseFloat(o),w,T,R,A,I;s=parseFloat(s),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,s+=c),s||u?(s*=Qo,u*=Qo,w=Math.cos(s)*h,T=Math.sin(s)*h,R=Math.sin(s-u)*-p,A=Math.cos(s-u)*p,u&&(c*=Qo,I=Math.tan(u-c),I=Math.sqrt(1+I*I),R*=I,A*=I,c&&(I=Math.tan(c),I=Math.sqrt(1+I*I),w*=I,T*=I)),w=Lt(w),T=Lt(T),R=Lt(R),A=Lt(A)):(w=h,A=p,T=R=0),(x&&!~(a+"").indexOf("px")||y&&!~(o+"").indexOf("px"))&&(x=da(d,"x",a,"px"),y=da(d,"y",o,"px")),(g||v||M||_)&&(x=Lt(x+g-(g*w+v*R)+M),y=Lt(y+v-(g*T+v*A)+_)),(n||r)&&(I=d.getBBox(),x=Lt(x+n/100*I.width),y=Lt(y+r/100*I.height)),I="matrix("+w+","+T+","+R+","+A+","+x+","+y+")",d.setAttribute("transform",I),f&&(d.style[Mt]=I)},ML=function(t,e,i,n,r){var a=360,o=Yt(r),s=parseFloat(r)*(o&&~r.indexOf("rad")?Aa:1),u=s-n,c=n+u+"deg",h,p;return o&&(h=r.split("_")[1],h==="short"&&(u%=a,u!==u%(a/2)&&(u+=u<0?a:-a)),h==="cw"&&u<0?u=(u+a*Zv)%a-~~(u/a)*a:h==="ccw"&&u>0&&(u=(u-a*Zv)%a-~~(u/a)*a)),t._pt=p=new ki(t._pt,e,i,n,u,rL),p.e=c,p.u="deg",t._props.push(i),p},t0=function(t,e){for(var i in e)t[i]=e[i];return t},SL=function(t,e,i){var n=t0({},i._gsap),r="perspective,force3D,transformOrigin,svgOrigin",a=i.style,o,s,u,c,h,p,d,g;n.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),a[Mt]=e,o=Pl(i,1),Cl(i,Mt),i.setAttribute("transform",u)):(u=getComputedStyle(i)[Mt],a[Mt]=e,o=Pl(i,1),a[Mt]=u);for(s in Ar)u=n[s],c=o[s],u!==c&&r.indexOf(s)<0&&(d=oi(u),g=oi(c),h=d!==g?da(i,s,u,g):parseFloat(u),p=parseFloat(c),t._pt=new ki(t._pt,o,s,h,p-h,Ip),t._pt.u=g||0,t._props.push(s));t0(o,n)};Di("padding,margin,Width,Radius",function(t,e){var i="Top",n="Right",r="Bottom",a="Left",o=(e<3?[i,n,r,a]:[i+a,i+n,r+n,r+a]).map(function(s){return e<2?t+s:"border"+s+t});Ac[e>1?"border"+t:t]=function(s,u,c,h,p){var d,g;if(arguments.length<4)return d=o.map(function(v){return vr(s,v,c)}),g=d.join(" "),g.split(d[0]).length===5?d[0]:g;d=(h+"").split(" "),g={},o.forEach(function(v,M){return g[v]=d[M]=d[M]||d[(M-1)/2|0]}),s.init(u,g,p)}});var t1={name:"css",register:kp,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,n,r){var a=this._props,o=t.style,s=i.vars.startAt,u,c,h,p,d,g,v,M,_,f,x,y,w,T,R,A;Kf||kp(),this.styles=this.styles||Jx(t),A=this.styles.props,this.tween=i;for(v in e)if(v!=="autoRound"&&(c=e[v],!(Yi[v]&&Ox(v,e,i,n,t,r)))){if(d=typeof c,g=Ac[v],d==="function"&&(c=c.call(i,n,t,r),d=typeof c),d==="string"&&~c.indexOf("random(")&&(c=Rl(c)),g)g(this,t,v,c,i)&&(R=1);else if(v.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(v)+"").trim(),c+="",sa.lastIndex=0,sa.test(u)||(M=oi(u),_=oi(c)),_?M!==_&&(u=da(t,v,u,_)+_):M&&(c+=M),this.add(o,"setProperty",u,c,n,r,0,0,v),a.push(v),A.push(v,0,o[v]);else if(d!=="undefined"){if(s&&v in s?(u=typeof s[v]=="function"?s[v].call(i,n,t,r):s[v],Yt(u)&&~u.indexOf("random(")&&(u=Rl(u)),oi(u+"")||(u+=qi.units[v]||oi(vr(t,v))||""),(u+"").charAt(1)==="="&&(u=vr(t,v))):u=vr(t,v),p=parseFloat(u),f=d==="string"&&c.charAt(1)==="="&&c.substr(0,2),f&&(c=c.substr(2)),h=parseFloat(c),v in Zn&&(v==="autoAlpha"&&(p===1&&vr(t,"visibility")==="hidden"&&h&&(p=0),A.push("visibility",0,o.visibility),Jr(this,o,"visibility",p?"inherit":"hidden",h?"inherit":"hidden",!h)),v!=="scale"&&v!=="transform"&&(v=Zn[v],~v.indexOf(",")&&(v=v.split(",")[0]))),x=v in Ar,x){if(this.styles.save(v),y||(w=t._gsap,w.renderTransform&&!e.parseTransform||Pl(t,e.parseTransform),T=e.smoothOrigin!==!1&&w.smooth,y=this._pt=new ki(this._pt,o,Mt,0,1,w.renderTransform,w,0,-1),y.dep=1),v==="scale")this._pt=new ki(this._pt,w,"scaleY",w.scaleY,(f?Ko(w.scaleY,f+h):h)-w.scaleY||0,Ip),this._pt.u=0,a.push("scaleY",v),v+="X";else if(v==="transformOrigin"){A.push(Fn,0,o[Fn]),c=vL(c),w.svg?Up(t,c,0,T,0,this):(_=parseFloat(c.split(" ")[2])||0,_!==w.zOrigin&&Jr(this,w,"zOrigin",w.zOrigin,_),Jr(this,o,v,Cc(u),Cc(c)));continue}else if(v==="svgOrigin"){Up(t,c,1,T,0,this);continue}else if(v in Qx){ML(this,w,v,p,f?Ko(p,f+c):c);continue}else if(v==="smoothOrigin"){Jr(this,w,"smooth",w.smooth,c);continue}else if(v==="force3D"){w[v]=c;continue}else if(v==="transform"){SL(this,c,t);continue}}else v in o||(v=fs(v)||v);if(x||(h||h===0)&&(p||p===0)&&!nL.test(c)&&v in o)M=(u+"").substr((p+"").length),h||(h=0),_=oi(c)||(v in qi.units?qi.units[v]:M),M!==_&&(p=da(t,v,u,_)),this._pt=new ki(this._pt,x?w:o,v,p,(f?Ko(p,f+h):h)-p,!x&&(_==="px"||v==="zIndex")&&e.autoRound!==!1?oL:Ip),this._pt.u=_||0,M!==_&&_!=="%"&&(this._pt.b=u,this._pt.r=aL);else if(v in o)gL.call(this,t,v,u,f?f+c:c);else if(v in t)this.add(t,v,u||t[v],f?f+c:c,n,r);else if(v!=="parseTransform"){Gf(v,c);continue}x||(v in o?A.push(v,0,o[v]):A.push(v,1,u||t[v])),a.push(v)}}R&&Xx(this)},render:function(t,e){if(e.tween._time||!qf())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:vr,aliases:Zn,getSetter:function(t,e,i){var n=Zn[e];return n&&n.indexOf(",")<0&&(e=n),e in Ar&&e!==Fn&&(t._gsap.x||vr(t,"x"))?i&&Jv===i?e==="scale"?cL:uL:(Jv=i||{})&&(e==="scale"?hL:dL):t.style&&!Ff(t.style[e])?sL:~e.indexOf("-")?lL:Jf(t,e)},core:{_removeProperty:Cl,_getMatrix:$f}};Ui.utils.checkPrefix=fs;Ui.core.getStyleSaver=Jx;(function(t,e,i,n){var r=Di(t+","+e+","+i,function(a){Ar[a]=1});Di(e,function(a){qi.units[a]="deg",Qx[a]=1}),Zn[r[13]]=t+","+e,Di(n,function(a){var o=a.split(":");Zn[o[1]]=r[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Di("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){qi.units[t]="px"});Ui.registerPlugin(t1);var Ku=Ui.registerPlugin(t1)||Ui;Ku.core.Tween;const EL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAi8AAAImCAMAAACsBZq+AAAACXBIWXMAAAsTAAALEwEAmpwYAAADAFBMVEUjHFIwK3UvKXAoImAmIFwtJ2sqI2NHcEwhHFEuJ2stJ2wsJ2ozLXsyLHgvKnM0KHY8N5MxK3Q7MoU9N5IvKnIzLHk+OJU+OZY0LXtSRaU9NpI4MYU6J4JLPp0+N5ZJQq1BOZxNRbNBPKBKQqwxLHc+KYtNRrc/OppCNZ0yJXRKRbNFN6RBO59IPatKRLM9L49JQ7BVS7JAMpdNN7A5LoZML6dWUcpJRK9aT7yIbcxLRbZCPaIzLns0MH9DPqZRTMNMQLNSObo5M4hZT8leUMpVT8peWdhYTcdvYOpNRrtGPqk1L4CQcc45MoliVtJuV7BPQ71LQrROSbpVUcZpWeRDO6JXUs07NJBVRslfWNpRQ79cVtgtImpWTMpKQLGOgf1FPaiphuRPMa6Kf/1VTcU6NI01KntIPKtkXeFRSr+Gef5WRsw+NJRdWdeEd/xEOqSAdvlhWtpRSMBeVtJ/dvlKQrJMQrWJa8Y/Npl3bfJZVcqPgf1PSbqBdftgVtpxYM5JP69ZU8xJQbFXPMWXiP5lXdtvX+93bvBaS9JrZeheWtNST8ViXdpyavNVS8drY+N+dfpqYuRkXttzbO1oX+ZpYuF4b/dlX9mdgeGHePh0bOxZUchEPaVSRcVeVNRWR8pDO6NuZ+piUt9PQrtpWulqY+JBN5yZiv5xa/J1VvxaU9JuaO09NZR5c/hzae57cvdDOJ9WR82EbdtcTNlxY+2Devqkkv6CdvlfR9o7M4+CevxUT8JeStxcVMw5L4ppYdl0WvZ4ZPtxZ+t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f9Tx88t7DdbUvITL8cfmZOOLjGNxMoJBcsJxkvBxNQNzXFF5cSj5UTjpV7I1A7NcUPlBITlROSlnsjkpOa4kHKCwnKC8lJvYnKNM6WlsvlS1IDfRUnJT7ycMMhks4hOq54cNVBOaFhOZF4ajkxmu16i2tbokPwYYDnBeWk8ZI7VU3LCPyf+H+EnWH7i5UfHTMmP5fnR/El+guUnXn4EzJT8yJ4f3x/oJ1Z+4uXEY6bkR/r8eP9gP7HyEy9NHpqSH/vz4/8TlvyEyk+8NClqSv6Knr+qP2xjY1Py1/f8Nf6ZG8xNyV/v89f8Zy8Enp8+Sfb8/+RvY+DA/TlbAAAAAElFTkSuQmCC";var i1={exports:{}},md,i0;function wL(){if(i0)return md;i0=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return md=t,md}var gd,n0;function TL(){if(n0)return gd;n0=1;var t=wL();function e(){}function i(){}return i.resetWarningCache=e,gd=function(){function n(o,s,u,c,h,p){if(p!==t){var d=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 d.name="Invariant Violation",d}}n.isRequired=n;function r(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:e};return a.PropTypes=a,a},gd}i1.exports=TL()();var RL=i1.exports;const bL=JS(RL),n1=({children:t})=>{const e=Mi.useRef(null),i=Mi.useRef(0),n=Mi.useRef(0),r=Mi.useRef(!1),a=Mi.useRef(!1),o=Mi.useRef(null),s=Mi.useRef(null),u=.1,c=1e-4;Mi.useEffect(()=>{var p;const d=new nC;o.current=new pn(75,window.innerWidth/window.innerHeight,.1,1e3),o.current.position.z=5;const g=new tx({antialias:!1});g.setSize(window.innerWidth,window.innerHeight),(p=e.current)==null||p.appendChild(g.domElement);const v=260;s.current=new Xs;const M=new lC().load(EL),_=new Lr,f=new Float32Array(v*3);for(let E=0;E{const C=window.innerWidth/2,Y=window.innerHeight/2;i.current=(E.clientX-C)/C,n.current=(E.clientY-Y)/Y,i.current=Math.min(Math.max(i.current,-u),u),n.current=Math.min(Math.max(n.current,-u),u),r.current=!0};(()=>{const E=new MouseEvent("mousemove",{clientX:window.innerWidth/2,clientY:window.innerHeight/2});w(E)})();const T=()=>{a.current||(r.current=!1),a.current=!1},R=()=>{r.current||s.current&&(Math.abs(s.current.rotation.x)>c||Math.abs(s.current.rotation.y)>c)&&(s.current.rotation.x&&(s.current.rotation.x*=.55),s.current.rotation.y&&(s.current.rotation.y*=.55))},A=()=>{requestAnimationFrame(A),o.current&&(o.current.position.x+=(i.current*5-o.current.position.x)*.05,o.current.position.y+=(-n.current*5-o.current.position.y)*.05,o.current&&o.current.lookAt(d.position),R(),(r.current||s.current&&(Math.abs(s.current.rotation.x)>c||Math.abs(s.current.rotation.y)>c))&&g.render(d,o.current))};A();const I=()=>{const E=window.innerWidth,C=window.innerHeight;o.current&&(o.current.aspect=E/C,o.current.updateProjectionMatrix(),g.setSize(E,C))};return window.addEventListener("resize",I),window.addEventListener("mousemove",w),()=>{var E;window.removeEventListener("resize",I),window.removeEventListener("mousemove",w),window.removeEventListener("mouseup",T),(E=e.current)==null||E.removeChild(g.domElement)}},[]),Mi.useEffect(()=>{const p=s.current,d={x:-.5,y:-.5};p&&(Ku.set(p.rotation,d),Ku.from(o.current.position,{z:20,duration:3,ease:"power1.inOut",onComplete:()=>{const g=()=>{Ku.to(p.rotation,{x:d.x+.001,y:d.y+.001,ease:"power1.out",onComplete:g})};g()}}))},[]);const h={position:"fixed",top:"0",left:"0",right:"0",bottom:"0",zIndex:-1};return cu.jsxs(cu.Fragment,{children:[cu.jsx("div",{children:t}),cu.jsx("div",{ref:e,style:h})]})};n1.propTypes={children:bL.node};const AL={input:"",bounding_box:"",concept:"",route:"signin",isSignedIn:!1,user:{id:"",name:"",email:"",entries:0,joined:""}};class CL extends Ae.Component{constructor(){super();Xi(this,"loadUser",i=>{this.setState({user:{id:i.id,name:i.name,email:i.email,entries:i.entries,joined:i.joined}})});Xi(this,"onInputChange",i=>{this.setState({input:i.target.value})});Xi(this,"onDetect",()=>{fetch("https://image-detection-backend.onrender.com/ApiCall",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({input:this.state.input})}).then(i=>i.json()).then(i=>{fetch("https://image-detection-backend.onrender.com/images",{method:"put",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:this.state.user.id})}).then(u=>u.json()).then(u=>{this.setState(Object.assign(this.state.user,{entries:Number(u)}))}).catch(u=>{console.log("Cannot find")});let n=document.getElementsByClassName("inputimg")[0],r=Number(n.width),a=Number(n.height),o=i.outputs[0].data.regions[0].data.concepts[0].name,s=i.outputs[0].data.regions[0].region_info.bounding_box;s.left_col=s.left_col*r,s.left_col=r-s.right_col*r,s.top_row=s.top_row*a,s.bottom_row=a-s.bottom_row*a,this.setState({bounding_box:s}),this.setState({concept:o+"-->"})}).catch(i=>{this.setState({bounding_box:"error"})})});Xi(this,"onChangeRoute",i=>{this.setState({route:i}),i==="signin"?this.setState(AL):this.setState({isSignedIn:!0})});Xi(this,"flip",()=>{let i=document.getElementsByClassName("log")[0];document.getElementsByClassName("flip")[0].classList.toggle("flippable"),i.classList.toggle("flippable")});this.state={input:"",bounding_box:"",concept:"",route:"signin",isSignedIn:!1,user:{id:"",name:"",email:"",entries:0,joined:""}}}render(){return Ee.jsxs("div",{className:"App",children:[Ee.jsxs(n1,{children:[this.state.isSignedIn===!0?Ee.jsx(PS,{changeRoute:this.onChangeRoute,isSignedIn:this.state.isSignedIn}):"",Ee.jsx(NS,{}),this.state.route==="signin"?Ee.jsx(BS,{changeRoute:this.onChangeRoute,loadUser:this.loadUser,flip:this.flip}):Ee.jsxs("div",{children:[Ee.jsx(zS,{name:this.state.user.name,entries:this.state.user.entries}),Ee.jsx(FS,{onInputChange:this.onInputChange,onDetect:this.onDetect}),this.state.bounding_box==="error"?"URL is too long Please try another url":Ee.jsx(OS,{imglink:this.state.input,boxpos:this.state.bounding_box,concept:this.state.concept})]})]}),Ee.jsx(YS,{color:"#ffffff",type:"cobweb",bg:!0})]})}}vd.createRoot(document.getElementById("root")).render(Ee.jsx(Ae.StrictMode,{children:Ee.jsx(CL,{})}));