PageSourceSearch

https://www.miyoushe.com/assets/index-DnlaPlzA.js

js miyoushe.com collected 2026-10-02 04:19:02 UTC 1,793,053 bytes, 60 lines download raw bytes

1import{_ as dg,o as Jn,a as ta,p as $t,I as Xc,O as Lv,P as Pv,Q as vg,R as mg,v as Dc,D as pg,A as Dv,B as gg,x as yg,S as bg,H as _g,E as xg,L as wg,r as Sg,b as Iv,w as Fv,F as Gu,q as Vu,t as w0,m as n2,T as Mg,d as Tg,N as Eg,n as kg}from"./index-D0sPnHR5.js";import{g as d5,c as Vs,a as Ag}from"./veplayer-BKz3GPVI.js";import{o as Cg}from"./openInApp-Cc0Mh9cR.js";import"./quill-C0hTHJiC.js";import{_ as Rg}from"./_plugin-vue_export-helper-BQQ2BbRH.js";import{D as Og}from"./index-wQDXrGSY.js";import{f as Lg}from"./flexible-t3CoaQNs.js";function wS(){import.meta.url,import("_").catch(()=>1),async function*(){}().next()}function Pg(b){if(Array.isArray(b))return b}function Dg(b,u){var o=b==null?null:typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(o!=null){var h,v,k,O,z=[],C=!0,B=!1;try{if(k=(o=o.call(b)).next,u!==0)for(;!(C=(h=k.call(o)).done)&&(z.push(h.value),z.length!==u);C=!0);}catch(H){B=!0,v=H}finally{try{if(!C&&o.return!=null&&(O=o.return(),Object(O)!==O))return}finally{if(B)throw v}}return z}}function tf(b,u){(u==null||u>b.length)&&(u=b.length);for(var o=0,h=Array(u);o<u;o++)h[o]=b[o];return h}function v5(b,u){if(b){if(typeof b=="string")return tf(b,u);var o={}.toString.call(b).slice(8,-1);return o==="Object"&&b.constructor&&(o=b.constructor.name),o==="Map"||o==="Set"?Array.from(b):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?tf(b,u):void 0}}function Ig(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m5(b,u){return Pg(b)||Dg(b,u)||v5(b,u)||Ig()}function Fg(b){if(Array.isArray(b))return tf(b)}function Bg(b){if(typeof Symbol<"u"&&b[Symbol.iterator]!=null||b["@@iterator"]!=null)return Array.from(b)}function Ng(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ug(b){return Fg(b)||Bg(b)||v5(b)||Ng()}function Bv(b,u,o,h,v,k,O){try{var z=b[k](O),C=z.value}catch(B){return void o(B)}z.done?u(C):Promise.resolve(C).then(h,v)}function j0(b){return function(){var u=this,o=arguments;return new Promise(function(h,v){var k=b.apply(u,o);function O(C){Bv(k,h,v,O,z,"next",C)}function z(C){Bv(k,h,v,O,z,"throw",C)}O(void 0)})}}var p5={exports:{}},g5={exports:{}};(function(b){function u(o,h){this.v=o,this.k=h}b.exports=u,b.exports.__esModule=!0,b.exports.default=b.exports})(g5);var y5=g5.exports,b5={exports:{}},_5={exports:{}};(function(b){function u(o,h,v,k){var O=Object.defineProperty;try{O({},"",{})}catch(z){O=0}b.exports=u=function(C,B,H,g){function A(S,V){u(C,S,function(L){return this._invoke(S,V,L)})}B?O?O(C,B,{value:H,enumerable:!g,configurable:!g,writable:!g}):C[B]=H:(A("next",0),A("throw",1),A("return",2))},b.exports.__esModule=!0,b.exports.default=b.exports,u(o,h,v,k)}b.exports=u,b.exports.__esModule=!0,b.exports.default=b.exports})(_5);var x5=_5.exports;(function(b){var u=x5;function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var h,v,k=typeof Symbol=="function"?Symbol:{},O=k.iterator||"@@iterator",z=k.toStringTag||"@@toStringTag";function C(F,T,M,w){var _=T&&T.prototype instanceof H?T:H,E=Object.create(_.prototype);return u(E,"_invoke",function(U,$,te){var se,Se,be,me=0,ke=te||[],he=!1,X={p:0,n:0,v:h,a:re,f:re.bind(h,4),d:function(ue,ge){return se=ue,Se=0,be=h,X.n=ge,B}};function re(ae,ue){for(Se=ae,be=ue,v=0;!he&&me&&!ge&&v<ke.length;v++){var ge,Ce=ke[v],fe=X.p,Le=Ce[2];ae>3?(ge=Le===ue)&&(be=Ce[(Se=Ce[4])?5:(Se=3,3)],Ce[4]=Ce[5]=h):Ce[0]<=fe&&((ge=ae<2&&fe<Ce[1])?(Se=0,X.v=ue,X.n=Ce[1]):fe<Le&&(ge=ae<3||Ce[0]>ue||ue>Le)&&(Ce[4]=ae,Ce[5]=ue,X.n=Le,Se=0))}if(ge||ae>1)return B;throw he=!0,ue}return function(ae,ue,ge){if(me>1)throw TypeError("Generator is already running");for(he&&ue===1&&re(ue,ge),Se=ue,be=ge;(v=Se<2?h:be)||!he;){se||(Se?Se<3?(Se>1&&(X.n=-1),re(Se,be)):X.n=be:X.v=be);try{if(me=2,se){if(Se||(ae="next"),v=se[ae]){if(!(v=v.call(se,be)))throw TypeError("iterator result is not an object");
1if(!v.done)return v;be=v.value,Se<2&&(Se=0)}else Se===1&&(v=se.return)&&v.call(se),Se<2&&(be=TypeError("The iterator does not provide a '"+ae+"' method"),Se=1);se=h}else if((v=(he=X.n<0)?be:U.call($,X))!==B)break}catch(Ce){se=h,Se=1,be=Ce}finally{me=1}}return{value:v,done:he}}}(F,M,w),!0),E}var B={};function H(){}function g(){}function A(){}v=Object.getPrototypeOf;var S=[][O]?v(v([][O]())):(u(v={},O,function(){return this}),v),V=A.prototype=H.prototype=Object.create(S);function L(F){return Object.setPrototypeOf?Object.setPrototypeOf(F,A):(F.__proto__=A,u(F,z,"GeneratorFunction")),F.prototype=Object.create(V),F}return g.prototype=A,u(V,"constructor",A),u(A,"constructor",g),g.displayName="GeneratorFunction",u(A,z,"GeneratorFunction"),u(V),u(V,z,"Generator"),u(V,O,function(){return this}),u(V,"toString",function(){return"[object Generator]"}),(b.exports=o=function(){return{w:C,m:L}},b.exports.__esModule=!0,b.exports.default=b.exports)()}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports})(b5);var w5=b5.exports,S5={exports:{}},M5={exports:{}},T5={exports:{}};(function(b){var u=y5,o=x5;function h(v,k){function O(C,B,H,g){try{var A=v[C](B),S=A.value;return S instanceof u?k.resolve(S.v).then(function(V){O("next",V,H,g)},function(V){O("throw",V,H,g)}):k.resolve(S).then(function(V){A.value=V,H(A)},function(V){return O("throw",V,H,g)})}catch(V){g(V)}}var z;this.next||(o(h.prototype),o(h.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(C,B,H){function g(){return new k(function(A,S){O(C,H,A,S)})}return z=z?z.then(g,g):g()},!0)}b.exports=h,b.exports.__esModule=!0,b.exports.default=b.exports})(T5);var E5=T5.exports;(function(b){var u=w5,o=E5;function h(v,k,O,z,C){return new o(u().w(v,k,O,z),C||Promise)}b.exports=h,b.exports.__esModule=!0,b.exports.default=b.exports})(M5);var k5=M5.exports;(function(b){var u=k5;function o(h,v,k,O,z){var C=u(h,v,k,O,z);return C.next().then(function(B){return B.done?B.value:C.next()})}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports})(S5);var zg=S5.exports,A5={exports:{}};(function(b){function u(o){var h=Object(o),v=[];for(var k in h)v.unshift(k);return function O(){for(;v.length;)if((k=v.pop())in h)return O.value=k,O.done=!1,O;return O.done=!0,O}}b.exports=u,b.exports.__esModule=!0,b.exports.default=b.exports})(A5);var Gg=A5.exports,C5={exports:{}},R5={exports:{}};(function(b){function u(o){"@babel/helpers - typeof";return b.exports=u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},b.exports.__esModule=!0,b.exports.default=b.exports,u(o)}b.exports=u,b.exports.__esModule=!0,b.exports.default=b.exports})(R5);var Vg=R5.exports;(function(b){var u=Vg.default;function o(h){if(h!=null){var v=h[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],k=0;if(v)return v.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length))return{next:function(){return h&&k>=h.length&&(h=void 0),{value:h&&h[k++],done:!h}}}}throw new TypeError(u(h)+" is not iterable")}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports})(C5);var Hg=C5.exports;(function(b){var u=y5,o=w5,h=zg,v=k5,k=E5,O=Gg,z=Hg;function C(){var B=o(),H=B.m(C),g=(Object.getPrototypeOf?Object.getPrototypeOf(H):H.__proto__).constructor;function A(L){var F=typeof L=="function"&&L.constructor;return!!F&&(F===g||(F.displayName||F.name)==="GeneratorFunction")}var S={throw:1,return:2,break:3,continue:3};function V(L){var F,T;return function(M){F||(F={stop:function(){return T(M.a,2)},catch:function(){return M.v},abrupt:function(_,E){return T(M.a,S[_],E)},delegateYield:function(_,E,U){return F.resultName=E,T(M.d,z(_),U)},finish:function(_){return T(M.f,_)}},T=function(_,E,U){M.p=F.prev,M.n=F.next;try{return _(E,U)}finally{F.next=M.n}}),F.resultName&&(F[F.resultName]=M.v,F.resultName=void 0),F.sent=M.v,F.next=M.n;try{return L.call(this,F)}finally{M.p=F.prev,M.n=F.next}}}return(b.exports=C=function(){return{wrap:function(T,M,w,_){return B.w(V(T),M,w,_&&_.reverse())},isGeneratorFunction:A,mark:B.m,awrap:function(T,M){return new u(T,M)},AsyncIterator:k,async:function(T,M,w,_,E){return(A(M)?v:h)(V(T),M,w,_,E)},keys:O,values:z}},b.exports.__esModule=!0,b.exports.default=b.exports)()}b.exports=C,b.exports.__esModule=!0,b.exports.default=b.exports})(p5);var Xg=p5.exports,Wc=Xg(),Wg=Wc;try{regeneratorRuntime=Wc}catch(b){typeof globalThis=="object"?globalThis.regeneratorRuntime=Wc:Function("r","regeneratorRuntime = r")(Wc)}const ti=d5(Wg);var O5={exports:{}},Ic={exports:{}};/**
2 * @license
3 * Copyright 2010-2021 Three.js Authors
4 * SPDX-License-Identifier: MIT
5 */var Nv;function L5(){return Nv||(Nv=1,function(b,u){(function(o,h){h(u)})(Vs,function(o){var h="130",v={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},k={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},O=0,z=1,C=2,B=3,H=0,g=1,A=2,S=3,V=0,L=1,F=2,T=1,M=2,w=0,_=1,E=2,U=3,$=4,te=5,se=100,Se=101,be=102,me=103,ke=104,he=200,X=201,re=202,ae
5=203,ue=204,ge=205,Ce=206,fe=207,Le=208,qe=209,de=210,Be=0,Ue=1,Ke=2,yt=3,pt=4,mt=5,Mt=6,Dt=7,gt=0,ft=1,Wt=2,or=0,xr=1,wr=2,kr=3,Tn=4,qr=5,Bn=300,Oa=301,Rn=302,en=303,ua=304,pr=306,wa=307,pa=1e3,dr=1001,La=1002,un=1003,Bi=1004,to=1004,es=1005,ki=1005,Wn=1006,Ao=1007,na=1007,ro=1008,n1=1008,Ni=1009,A0=1010,Ms=1011,Ui=1012,Ys=1013,Ts=1014,ni=1015,Zn=1016,k2=1017,a1=1018,Y1=1019,Es=1020,i1=1021,ts=1022,ai=1023,fl=1024,dl=1025,q1=ai,Co=1026,ks=1027,hi=1028,no=1029,vl=1030,A2=1031,ml=1032,C2=1033,j1=33776,o1=33777,qs=33778,js=33779,J1=35840,Kr=35841,pl=35842,s1=35843,Pn=36196,u1=37492,Js=37496,R2=37808,gl=37809,Z1=37810,K1=37811,yl=37812,$1=37813,Q1=37814,zi=37815,la=37816,rs=37817,Zs=37818,O2=37819,bl=37820,_l=37821,Ks=36492,ao=37840,xl=37841,eu=37842,tu=37843,l1=37844,ru=37845,Ro=37846,nu=37847,L2=37848,wl=37849,P2=37850,D2=37851,Oo=37852,Ga=37853,au=2200,tn=2201,iu=2202,c1=2300,h1=2301,ou=2302,$s=2400,Qs=2401,f1=2402,su=2500,Sl=2501,I2=0,b3=1,_3=2,ii=3e3,d1=3001,uu=3007,lu=3002,F2=3003,Ml=3004,Tl=3005,El=3006,B2=3200,N2=3201,e0=0,U2=1,x3=0,cu=7680,w3=7681,S3=7682,M3=7683,T3=34055,E3=34056,Lo=5386,Po=512,k3=513,z2=514,G2=515,A3=516,C3=517,io=518,hu=519,Gr=35044,Xe=35048,R3=35040,V2=35045,kl=35049,H2=35041,Do=35046,Al=35050,O3=35042,t0="100",Cl="300 es";function X2(i,s){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(i);s&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable})),e.push.apply(e,r)}return e}function L3(i){for(var s=1;s<arguments.length;s++){var e=arguments[s]!=null?arguments[s]:{};s%2?X2(Object(e),!0).forEach(function(r){bn(i,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):X2(Object(e)).forEac
5h(function(r){Object.defineProperty(i,r,Object.getOwnPropertyDescriptor(e,r))})}return i}function Ge(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}function W2(i,s){for(var e=0;e<s.length;e++){var r=s[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(i,r.key,r)}}function rt(i,s,e){return s&&W2(i.prototype,s),e&&W2(i,e),i}function bn(i,s,e){return s in i?Object.defineProperty(i,s,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[s]=e,i}function ut(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),s&&Rl(i,s)}function Ct(i){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ct(i)}function Rl(i,s){return Rl=Object.setPrototypeOf||function(r,t){return r.__proto__=t,r},Rl(i,s)}function P3(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(i){return!1}}function fi(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function r0(i,s){return s&&(typeof s=="object"||typeof s=="function")?s:fi(i)}function at(i){var s=P3();return function(){var r=Ct(i),t;if(s){var a=Ct(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return r0(this,t)}}function j(i,s){for(;!Object.prototype.hasOwnProperty.call(i,s)&&(i=Ct(i),i!==null););return i}function n(i,s,e){return typeof Reflect<"u"&&Reflect.get?n=Reflect.get:n=function(t,a,l){var f=j(t,a);if(f){var m=Object.getOwnPropertyDescriptor(f,a);return m.get?m.get.call(l):m.value}},n(i,s,e||i)}function c(i,s){return d(i)||p(i,s)||y(i,s)||G()}function d(i){if(Array.isArray(i))return i}function p(i,s){var e=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(e!=null){var r=[],t=!0,a=!1,l,f;try{for(e=e.call(i);!(t=(l=e.next()).done)&&(r.push(l.value),!(s&&r.length===s));t=!0);}catch(m){a=!0,f=m}finally{try{!t&&e.return!=null&&e.return()}finally{if(a)throw f}}return r}}function y(i,s){if(i){if(typeof i=="string")return R(i,s);var e=Object.prototype.toString.call(i).slice(8,-1);if(e==="Object"&&i.constructor&&(e=i.constructor.name),e==="Map"||e==="Set")return Array.from(i);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return R(i,s)}}function R(i,s){(s==null||s>i.length)&&(s=i.length);for(var e=0,r=new Array(s);e<s;e++)r[e]=i[e];return r}function G(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}for(var q=function(){function i(){Ge(this,i)}return rt(i,[{key:"addEventListener",value:function(e,r){this._listeners===void 0&&(this._listeners={});var t=this._listeners;t[e]===void 0&&(t[e]=[]),t[e].indexOf(r)===-1&&t[e].push(r)}},{key:"hasEventListener",value:function(e,r){if(this._listeners===void 0)return!1;var t=this._listeners;return t[e]!==void 0&&t[e].indexOf(r)!==-1}},{key:"removeEventListener",value:function(e,r){if(this._listeners!==void 0){var t=this._listeners,a=t[e];if(a!==void 0){var l=a.indexOf(r);l!==-1&&a.splice(l,1)}}}},{key:"dispatchEvent",value:function(e){if(this._listeners!==void 0){var r=this._listeners,t=r[e.type];if(t!==void 0){e.target=this;for(var a=t.slice(0),l=0,f=a.length;l<f;l++)a[l].call(this,e);e.target=null}}}}]),i}(),P=[],Y=0;Y<256;Y++)P[Y]=(Y<16?"0":"")+Y.toString(16);var ee=1234567,ne=Math.PI/180,ce=180/Math.PI;function le(){var i=Math.random()*4294967295|0,s=Math.random()*4294967295|0,e=Math.random()*4294967295|0,r=Math.random()*4294967295|0,t="".concat(P[i&255]+P[i>>8&255]+P[i>>16&255]+P[i>>24&255],"-").concat(P[s&255]).concat(P[s>>8&255],"-").concat(P[s>>16&15|64]).concat(P[s>>24&255],"-").concat(P[e&63|128]).concat(P[e>>8&255],"-").concat(P[e>>16&255]).concat(P[e>>24&255]).concat(P[r&255]).concat(P[r>>8&255]).concat(P[r>>16&255]).concat(P[r>>24&255]);return t.toUpperCase()}function ve(i,s,e){return Math.max(s,Math.min(e,i))}function ye(i,s){return(i%s+s)%s}function xe(i,s,e,r,t){return r+(i-s)*(t-r)/(e-s)}function Re(i,s,e){return i!==s?(e-i)/(s-i):0}function Pe(i,s,e){return(1-e)*i+e*s}function De(i,s,e,r){return Pe(i,s,1-Math.exp(-e*r))}function Ne(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return s-Math.abs(ye(i,s*2)-s)}function Ve(i,s,e){return i<=s?0:i>=e?1:(i=(i-s)/(e-s),i*i*(3-2*i))}function ct(i){return i<0?-1:i>0?1:0}function He(i,s){return s<=i?0:1}function tt(i,s,e){return i<=s?0:i>=e?1:(i=(i-s)/(e-s),i*i*i*(i*(i*6-15)+10))}function et(i,s){return i+Math.floor(Math.random()*(s-i+1))}function xt(i,s){return i+Math.random()*(s-i)}function wt(i){return i*(.5-Math.random())}function Tt(i){return i!==void 0&&(ee=i%2147483647),ee=ee*16807%2147483647,(ee-1)/2147483646}function St(i){return i*ne}function je(i){return i*ce}function Qe(i){return(i&i-1)===0&&i!==0}function Lt(i){return Math.pow(2,Math.ceil(Math.log(i)/Math.LN2))}function Rt(i){return Math.pow(2,Math.floor(Math.log(i)/Math.LN2))}function Ht(i,s,e,r,t){var a=Math.cos,l=Math.sin,f=a(e/2),m=l(e/2),x=a((s+r)/2),D=l((s+r)/2),I=a((s-r)/2),N=l((s-r)/2),W=a((r-s)/2),Z=l((r-s)/2);switch(t){case"XYX":i.set(f*D,m*I,m*N,f*x);break;case"YZY":i.set(m*N,f*D,m*I,f*x);break;case"ZXZ":i.set(m*I,m*N,f*D,f*x);break;case"XZX":i.set(f*D,m*Z,m*W,f*x);break;case"YXY":i.set(m*W,f*D,m*Z,f*x);break;case"ZYZ":i.set(m*Z,m*W,f*D,f*x);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: ".concat(t))}}var Ft=Object.freeze({__proto__:null,DEG2RAD:ne,RAD2DEG:ce,generateUUID:le,clamp:ve,euclideanModulo:ye,mapLinear:xe,inverseLerp:Re,lerp:Pe,damp:De,pingpong:Ne,smoothstep:Ve,smootherstep:tt,randInt:et,randFloat:xt,randFloatSpread:wt,seededRandom:Tt,degToRad:St,radToDeg:je,isPowerOfTwo:Qe,ceilPowerOfTwo:Lt,floorPowerOfTwo:Rt,setQuaternionFromProperEuler:Ht,sign:ct,step:He}),Je=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ge(this,i),this.x=s,this.y=e}return rt(i,[{key:"width",get:function(){return this.x},set:function(e){this.x=e}},{key:"height",get:function(){return this.y},set:function(e){this.y=e}},{key:"set",value:function(e,r){return this.x=e,this.y=r,this}},{key:"setScalar",value:function(e){return this.x=e,this.y=e,this}},{key:"setX",value:function(e){return this.x=e,this}},{key:"setY",value:function(e){return this.y=e,this}},{key:"setComponent",value:function(e,r){switch(e){case 0:this.x=r;break;case 1:this.y=r;break;default:throw new Error("index is out of range: ".concat(e))}return this}},{key:"getComponent",value:function(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: ".concat(e))}}},{key:"clone",value:function(){return new this.constructor(this.x,this.y)}},{key:"copy",value:function(e){return this.x=e.x,this.y=e.y,this}},{key:"add",value:function(e,r){return r!==void 0?(console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,r)):(this.x+=e.x,this.y+=e.y,this)}},{key:"addScalar",value:function(e){return this.x+=e,this.y+=e,this}},{key:"addVectors",value:function(e,r){return this.x=e.x+r.x,this.y=e.y+r.y,this}},{key:"addScaledVector",value:function(e,r){return this.x+=e.x*r,this.y+=e.y*r,this}},{key:"sub",value:function(e,r){return r!==void 0?(console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,r)):(this.x-=e.x,this.y-=e.
5y,this)}},{key:"subScalar",value:function(e){return this.x-=e,this.y-=e,this}},{key:"subVectors",value:function(e,r){return this.x=e.x-r.x,this.y=e.y-r.y,this}},{key:"multiply",value:function(e){return this.x*=e.x,this.y*=e.y,this}},{key:"multiplyScalar",value:function(e){return this.x*=e,this.y*=e,this}},{key:"divide",value:function(e){return this.x/=e.x,this.y/=e.y,this}},{key:"divideScalar",value:function(e){return this.multiplyScalar(1/e)}},{key:"applyMatrix3",value:function(e){var r=this.x,t=this.y,a=e.elements;return this.x=a[0]*r+a[3]*t+a[6],this.y=a[1]*r+a[4]*t+a[7],this}},{key:"min",value:function(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}},{key:"max",value:function(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}},{key:"clamp",value:function(e,r){return this.x=Math.max(e.x,Math.min(r.x,this.x)),this.y=Math.max(e.y,Math.min(r.y,this.y)),this}},{key:"clampScalar",value:function(e,r){return this.x=Math.max(e,Math.min(r,this.x)),this.y=Math.max(e,Math.min(r,this.y)),this}},{key:"clampLength",value:function(e,r){var t=this.length();return this.divideScalar(t||1).multiplyScalar(Math.max(e,Math.min(r,t)))}},{key:"floor",value:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}},{key:"ceil",value:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}},{key:"round",value:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},{key:"roundToZero",value:function(){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}},{key:"negate",value:function(){return this.x=-this.x,this.y=-this.y,this}},{key:"dot",value:function(e){return this.x*e.x+this.y*e.y}},{key:"cross",value:function(e){return this.x*e.y-this.y*e.x}},{key:"lengthSq",value:function(){return this.x*this.x+this.y*this.y}},{key:"length",value:function(){return Math.sqrt(this.x*this.x+this.y*this.y)}},{key:"manhattanLength",value:function(){return Math.abs(this.x)+Math.abs(this.y)}},{key:"normalize",value:function(){return this.divideScalar(this.length()||1)}},{key:"angle",value:function(){var e=Math.atan2(-this.y,-this.x)+Math.PI;return e}},{key:"distanceTo",value:function(e){return Math.sqrt(this.distanceToSquared(e))}},{key:"distanceToSquared",value:function(e){var r=this.x-e.x,t=this.y-e.y;return r*r+t*t}},{key:"manhattanDistanceTo",value:function(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}},{key:"setLength",value:function(e){return this.normalize().multiplyScalar(e)}},{key:"lerp",value:function(e,r){return this.x+=(e.x-this.x)*r,this.y+=(e.y-this.y)*r,this}},{key:"lerpVectors",value:function(e,r,t){return this.x=e.x+(r.x-e.x)*t,this.y=e.y+(r.y-e.y)*t,this}},{key:"equals",value:function(e){return e.x===this.x&&e.y===this.y}},{key:"fromArray",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this.x=e[r],this.y=e[r+1],this}},{key:"toArray",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e[r]=this.x,e[r+1]=this.y,e}},{key:"fromBufferAttribute",value:function(e,r,t){return t!==void 0&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(r),this.y=e.getY(r),this}},{key:"rotateAround",value:function(e,r){var t=Math.cos(r),a=Math.sin(r),l=this.x-e.x,f=this.y-e.y;return this.x=l*t-f*a+e.x,this.y=l*a+f*t+e.y,this}},{key:"random",value:function(){return this.x=Math.random(),this.y=Math.random(),this}}]),i}();Je.prototype.isVector2=!0;var st=function(){function i(){Ge(this,i),this.elements=[1,0,0,0,1,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}return rt(i,[{key:"set",value:function(e,r,t,a,l,f,m,x,D){var I=this.elements;return I[0]=e,I[1]=a,I[2]=m,I[3]=r,I[4]=l,I[5]=x,I[6]=t,I[7]=f,I[8]=D,this}},{key:"identity",value:function(){return this.set(1,0,0,0,1,0,0,0,1),this}},{key:"copy",value:function(e){var r=this.elements,t=e.elements;return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r[6]=t[6],r[7]=t[7],r[8]=t[8],this}},{key:"extractBasis",value:function(e,r,t){return e.setFromMatrix3Column(this,0),r.setFromMatrix3Column(this,1),t.setFromMatrix3Column(this,2),this}},{key:"setFromMatrix4",value:function(e){var r=e.elements;return this.set(r[0],r[4],r[8],r[1],r[5],r[9],r[2],r[6],r[10]),this}},{key:"multiply",value:function(e){return this.multiplyMatrices(this,e)}},{key:"premultiply",value:function(e){return this.multiplyMatrices(e,this)}},{key:"multiplyMatrices",value:function(e,r){var t=e.elements,a=r.elements,l=this.elements,f=t[0],m=t[3],x=t[6],D=t[1],I=t[4],N=t[7],W=t[2],Z=t[5],Q=t[8],oe=a[0],K=a[3],J=a[6],_e=a[1],Me=a[4],Ae=a[7],ie=a[2],we=a[5],Te=a[8];return l[0]=f*oe+m*_e+x*ie,l[3]=f*K+m*Me+x*we,l[6]=f*J+m*Ae+x*Te,l[1]=D*oe+I*_e+N*ie,l[4]=D*K+I*Me+N*we,l[7]=D*J+I*Ae+N*Te,l[2]=W*oe+Z*_e+Q*ie,l[5]=W*K+Z*Me+Q*we,l[8]=W*J+Z*Ae+Q*Te,this}},{key:"multiplyScalar",value:function(e){var r=this.elements;return r[0]*=e,r[3]*=e,r[6]*=e,r[1]*=e,r[4]*=e,r[7]*=e,r[2]*=e,r[5]*=e,r[8]*=e,this}},{key:"determinant",value:function(){var e=this.elements,r=e[0],t=e[1],a=e[2],l=e[3],f=e[4],m=e[5],x=e[6],D=e[7],I=e[8];return r*f*I-r*m*D-t*l*I+t*m*x+a*l*D-a*f*x}},{key:"invert",value:function(){var e=this.elements,r=e[0],t=e[1],a=e[2],l=e[3],f=e[4],m=e[5],x=e[6],D=e[7],I=e[8],N=I*f-m*D,W=m*x-I*l,Z=D*l-f*x,Q=r*N+t*W+a*Z;if(Q===0)return this.set(0,0,0,0,0,0,0,0,0);var oe=1/Q;return e[0]=N*oe,e[1]=(a*D-I*t)*oe,e[2]=(m*t-a*f)*oe,e[3]=W*oe,e[4]=(I*r-a*x)*oe,e[5]=(a*l-m*r)*oe,e[6]=Z*oe,e[7]=(t*x-D*r)*oe,e[8]=(f*r-t*l)*oe,this}},{key:"transpose",value:function(){var e,r=this.elements;return e=r[1],r[1]=r[3],r[3]=e,e=r[2],r[2]=r[6],r[6]=e,e=r[5],r[5]=r[7],r[7]=e,this}},{key:"getNormalMatrix",value:function(e){return this.setFromMatrix4(e).invert().transpose()}},{key:"transposeIntoArray",value:function(e){var r=this.elements;return e[0]=r[0],e[1]=r[3],e[2]=r[6],e[3]=r[1],e[4]=r[4],e[5]=r[7],e[6]=r[2],e[7]=r[5],e[8]=r[8],this}},{key:"setUvTransform",value:function(e,r,t,a,l,f,m){var x=Math.cos(l),D=Math.sin(l);return this.set(t*x,t*D,-t*(x*f+D*m)+f+e,-a*D,a*x,-a*(-D*f+x*m)+m+r,0,0,1),this}},{key:"scale",value:function(e,r){var t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=r,t[4]*=r,t[7]*=r,this}},{key:"rotate",value:function(e){var r=Math.cos(e),t=Math.sin(e),a=this.elements,l=a[0],f=a[3],m=a[6],x=a[1],D=a[4],I=a[7];return a[0]=r*l+t*x,a[3]=r*f+t*D,a[6]=r*m+t*I,a[1]=-t*l+r*x,a[4]=-t*f+r*D,a[7]=-t*m+r*I,this}},{key:"translate",value:function(e,r){var t=this.elements;return t[0]+=e*t[2],t[3]+=e*t[5],t[6]+=e*t[8],t[1]+=r*t[2],t[4]+=r*t[5],t[7]+=r*t[8],this}},{key:"equals",value:function(e){for(var r=this.elements,t=e.elements,a=0;a<9;a++)if(r[a]!==t[a])return!1;return!0}},{key:"fromArray",value:function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=0;t<9;t++)this.elements[t]=e[t+r];return this}},{key:"toArray",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=this.elements;return e[r]=t[0],e[r+1]=t[1],e[r+2]=t[2],e[r+3]=t[3],e[r+4]=t[4],e[r+5]=t[5],e[r+6]=t[6],e[r+7]=t[7],e[r+8]=t[8],e}},{key:"clone",value:function(){return new this.constructor().fromArray(this.elements)}}]),i}();st.prototype.isMatrix3=!0;var _t,At=function(){function i(){Ge(this,i)}return rt(i,null,[{key:"getDataURL",value:function(e){if(/^data:/i.test(e.src)||typeof HTMLCanvasElement>"u")return e.src;var r;if(e instanceof HTMLCanvasElement)r=e;else{_t===void 0&&(_t=document.createElementNS("http://www.w3.org/1999/xhtml","canvas")),_t.width=e.width,_t.height=e.height;var t=_t.getContext("2d");e instanceof ImageData?t.putImageData(e,0,0):t.drawImage(e,0,0,e.width,e.height),r=_t}return r.width>2048||r.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),r.toDataURL("image/jpeg",.6)):r.toDataURL("image/png")}}]),i}(),jt=0,Nt=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.DEFAULT_IMAGE,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.DEFAULT_MAPPING,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:dr,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:dr,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:Wn,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:ro,D=arguments.length>6&&arguments[6]!==void 0?arguments[6]:ai,I=arguments.length>7&&arguments[7]!==void 0?arguments[7]:Ni,N=arguments.length>8&&arguments[8]!==void 0?arguments[8]:1,W=arguments.length>9&&arguments[9]!==void 0?arguments[9]:ii;
5return Ge(this,e),r=s.call(this),Object.defineProperty(fi(r),"id",{value:jt++}),r.uuid=le(),r.name="",r.image=t,r.mipmaps=[],r.mapping=a,r.wrapS=l,r.wrapT=f,r.magFilter=m,r.minFilter=x,r.anisotropy=N,r.format=D,r.internalFormat=null,r.type=I,r.offset=new Je(0,0),r.repeat=new Je(1,1),r.center=new Je(0,0),r.rotation=0,r.matrixAutoUpdate=!0,r.matrix=new st,r.generateMipmaps=!0,r.premultiplyAlpha=!1,r.flipY=!0,r.unpackAlignment=4,r.encoding=W,r.version=0,r.onUpdate=null,r}return rt(e,[{key:"updateMatrix",value:function(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}},{key:"clone",value:function(){return new this.constructor().copy(this)}},{key:"copy",value:function(t){return this.name=t.name,this.image=t.image,this.mipmaps=t.mipmaps.slice(0),this.mapping=t.mapping,this.wrapS=t.wrapS,this.wrapT=t.wrapT,this.magFilter=t.magFilter,this.minFilter=t.minFilter,this.anisotropy=t.anisotropy,this.format=t.format,this.internalFormat=t.internalFormat,this.type=t.type,this.offset.copy(t.offset),this.repeat.copy(t.repeat),this.center.copy(t.center),this.rotation=t.rotation,this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrix.copy(t.matrix),this.generateMipmaps=t.generateMipmaps,this.premultiplyAlpha=t.premultiplyAlpha,this.flipY=t.flipY,this.unpackAlignment=t.unpackAlignment,this.encoding=t.encoding,this}},{key:"toJSON",value:function(t){var a=t===void 0||typeof t=="string";if(!a&&t.textures[this.uuid]!==void 0)return t.textures[this.uuid];var l={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,mapping:this.mapping,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};if(this.image!==void 0){var f=this.image;if(f.uuid===void 0&&(f.uuid=le()),!a&&t.images[f.uuid]===void 0){var m;if(Array.isArray(f)){m=[];for(var x=0,D=f.length;x<D;x++)f[x].isDataTexture?m.push(Pt(f[x].image)):m.push(Pt(f[x]))}else m=Pt(f);t.images[f.uuid]={uuid:f.uuid,url:m}}l.image=f.uuid}return a||(t.textures[this.uuid]=l),l}},{key:"dispose",value:function(){this.dispatchEvent({type:"dispose"})}},{key:"transformUv",value:function(t){if(this.mapping!==Bn)return t;if(t.applyMatrix3(this.matrix),t.x<0||t.x>1)switch(this.wrapS){case pa:t.x-=Math.floor(t.x);break;case dr:t.x=t.x<0?0:1;break;case La:Math.abs(Math.floor(t.x)%2)===1?t.x=Math.ceil(t.x)-t.x:t.x-=Math.floor(t.x);break}if(t.y<0||t.y>1)switch(this.wrapT){case pa:t.y-=Math.floor(t.y);break;case dr:t.y=t.y<0?0:1;break;case La:Math.abs(Math.floor(t.y)%2)===1?t.y=Math.ceil(t.y)-t.y:t.y-=Math.floor(t.y);break}return this.flipY&&(t.y=1-t.y),t}},{key:"needsUpdate",set:function(t){t===!0&&this.version++}}]),e}(q);Nt.DEFAULT_IMAGE=void 0,Nt.DEFAULT_MAPPING=Bn,Nt.prototype.isTexture=!0;function Pt(i){return typeof HTMLImageElement<"u"&&i instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&i instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&i instanceof ImageBitmap?At.getDataURL(i):i.data?{data:Array.prototype.slice.call(i.data),width:i.width,height:i.height,type:i.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}var kt=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;Ge(this,i),this.x=s,this.y=e,this.z=r,this.w=t}return rt(i,[{key:"width",get:function(){return this.z},set:function(e){this.z=e}},{key:"height",get:function(){return this.w},set:function(e){this.w=e}},{key:"set",value:function(e,r,t,a){return this.x=e,this.y=r,this.z=t,this.w=a,this}},{key:"setScalar",value:function(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}},{key:"setX",value:function(e){return this.x=e,this}},{key:"setY",value:function(e){return this.y=e,this}},{key:"setZ",value:function(e){return this.z=e,this}},{key:"setW",value:function(e){return this.w=e,this}},{key:"setComponent",value:function(e,r){switch(e){case 0:this.x=r;break;case 1:this.y=r;break;case 2:this.z=r;break;case 3:this.w=r;break;default:throw new Error("index is out of range: ".concat(e))}return this}},{key:"getComponent",value:function(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: ".concat(e))}}},{key:"clone",value:function(){return new this.constructor(this.x,this.y,this.z,this.w)}},{key:"copy",value:function(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}},{key:"add",value:function(e,r){return r!==void 0?(console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,r)):(this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this)}},{key:"addScalar",value:function(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}},{key:"addVectors",value:function(e,r){return this.x=e.x+r.x,this.y=e.y+r.y,this.z=e.z+r.z,this.w=e.w+r.w,this}},{key:"addScaledVector",value:function(e,r){return this.x+=e.x*r,this.y+=e.y*r,this.z+=e.z*r,this.w+=e.w*r,this}},{key:"sub",value:function(e,r){return r!==void 0?(console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,r)):(this.x-=e.x,this.y-=e.
5y,this.z-=e.z,this.w-=e.w,this)}},{key:"subScalar",value:function(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}},{key:"subVectors",value:function(e,r){return this.x=e.x-r.x,this.y=e.y-r.y,this.z=e.z-r.z,this.w=e.w-r.w,this}},{key:"multiply",value:function(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}},{key:"multiplyScalar",value:function(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}},{key:"applyMatrix4",value:function(e){var r=this.x,t=this.y,a=this.z,l=this.w,f=e.elements;return this.x=f[0]*r+f[4]*t+f[8]*a+f[12]*l,this.y=f[1]*r+f[5]*t+f[9]*a+f[13]*l,this.z=f[2]*r+f[6]*t+f[10]*a+f[14]*l,this.w=f[3]*r+f[7]*t+f[11]*a+f[15]*l,this}},{key:"divideScalar",value:function(e){return this.multiplyScalar(1/e)}},{key:"setAxisAngleFromQuaternion",value:function(e){this.w=2*Math.acos(e.w);var r=Math.sqrt(1-e.w*e.w);return r<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/r,this.y=e.y/r,this.z=e.z/r),this}},{key:"setAxisAngleFromRotationMatrix",value:function(e){var r,t,a,l,f=.01,m=.1,x=e.elements,D=x[0],I=x[4],N=x[8],W=x[1],Z=x[5],Q=x[9],oe=x[2],K=x[6],J=x[10];if(Math.abs(I-W)<f&&Math.abs(N-oe)<f&&Math.abs(Q-K)<f){if(Math.abs(I+W)<m&&Math.abs(N+oe)<m&&Math.abs(Q+K)<m&&Math.abs(D+Z+J-3)<m)return this.set(1,0,0,0),this;r=Math.PI;var _e=(D+1)/2,Me=(Z+1)/2,Ae=(J+1)/2,ie=(I+W)/4,we=(N+oe)/4,Te=(Q+K)/4;return _e>Me&&_e>Ae?_e<f?(t=0,a=.707106781,l=.707106781):(t=Math.sqrt(_e),a=ie/t,l=we/t):Me>Ae?Me<f?(t=.707106781,a=0,l=.707106781):(a=Math.sqrt(Me),t=ie/a,l=Te/a):Ae<f?(t=.707106781,a=.707106781,l=0):(l=Math.sqrt(Ae),t=we/l,a=Te/l),this.set(t,a,l,r),this}var Ye=Math.sqrt((K-Q)*(K-Q)+(N-oe)*(N-oe)+(W-I)*(W-I));return Math.abs(Ye)<.001&&(Ye=1),this.x=(K-Q)/Ye,this.y=(N-oe)/Ye,this.z=(W-I)/Ye,this.w=Math.acos((D+Z+J-1)/2),this}},{key:"min",value:function(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}},{key:"max",value:function(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}},{key:"clamp",value:function(e,r){return this.x=Math.max(e.x,Math.min(r.x,this.x)),this.y=Math.max(e.y,Math.min(r.y,this.y)),this.z=Math.max(e.z,Math.min(r.z,this.z)),this.w=Math.max(e.w,Math.min(r.w,this.w)),this}},{key:"clampScalar",value:function(e,r){return this.x=Math.max(e,Math.min(r,this.x)),this.y=Math.max(e,Math.min(r,this.y)),this.z=Math.max(e,Math.min(r,this.z)),this.w=Math.max(e,Math.min(r,this.w)),this}},{key:"clampLength",value:function(e,r){var t=this.length();return this.divideScalar(t||1).multiplyScalar(Math.max(e,Math.min(r,t)))}},{key:"floor",value:function(){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}},{key:"ceil",value:function(){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}},{key:"round",value:function(){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}},{key:"roundToZero",value:function(){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}},{key:"negate",value:function(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}},{key:"dot",value:function(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}},{key:"lengthSq",value:function(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}},{key:"length",value:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}},{key:"manhattanLength",value:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}},{key:"normalize",value:function(){return this.divideScalar(this.length()||1)}},{key:"setLength",value:function(e){return this.normalize().multiplyScalar(e)}},{key:"lerp",value:function(e,r){return this.x+=(e.x-this.x)*r,this.y+=(e.y-this.y)*r,this.z+=(e.z-this.z)*r,this.w+=(e.w-this.w)*r,this}},{key:"lerpVectors",value:function(e,r,t){return this.x=e.x+(r.x-e.x)*t,this.y=e.y+(r.y-e.y)*t,this.z=e.z+(r.z-e.z)*t,this.w=e.w+(r.w-e.w)*t,this}},{key:"equals",value:function(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}},{key:"fromArray",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this.x=e[r],this.y=e[r+1],this.z=e[r+2],this.w=e[r+3],this}},{key:"toArray",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e[r]=this.x,e[r+1]=this.y,e[r+2]=this.z,e[r+3]=this.w,e}},{key:"fromBufferAttribute",value:function(e,r,t){return t!==void 0&&console.warn("THREE.Vector4: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(r),this.y=e.getY(r),this.z=e.getZ(r),this.w=e.getW(r),this}},{key:"random",value:function(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}}]),i}();kt.prototype.isVector4=!0;var qt=function(i){ut(e,i);var s=at(e);function e(r,t){var a,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ge(this,e),a=s.call(this),a.width=r,a.height=t,a.depth=1,a.scissor=new kt(0,0,r,t),a.scissorTest=!1,a.viewport=new kt(0,0,r,t),a.texture=new Nt(void 0,l.mapping,l.wrapS,l.wrapT,l.magFilter,l.minFilter,l.format,l.type,l.anisotropy,l.encoding),a.texture.image={width:r,height:t,depth:1},a.texture.generateMipmaps=l.generateMipmaps!==void 0?l.generateMipmaps:!1,a.texture.minFilter=l.minFilter!==void 0?l.minFilter:Wn,a.depthBuffer=l.depthBuffer!==void 0?l.depthBuffer:!0,a.stencilBuffer=l.stencilBuffer!==void 0?l.stencilBuffer:!1,a.depthTexture=l.depthTexture!==void 0?l.depthTexture:null,a}return rt(e,[{key:"setTexture",value:function(t){t.image={width:this.width,height:this.height,depth:this.depth},this.texture=t}},{key:"setSize",value:function(t,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;(this.width!==t||this.height!==a||this.depth!==l)&&(this.width=t,this.height=a,this.depth=l,this.texture.image.width=t,this.texture.image.height=a,this.texture.image.depth=l,this.dispose()),this.viewport.set(0,0,t,a),this.scissor.set(0,0,t,a)}},{key:"clone",value:function(){return new this.constructor().copy(this)}},{key:"copy",value:function(t){return this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.copy(t.viewport),this.texture=t.texture.clone(),this.texture.image=L3({},this.texture.image),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,this.depthTexture=t.depthTexture,this}},{key:"dispose",value:function(){this.dispatchEvent({type:"dispose"})}}]),e}(q);qt.prototype.isWebGLRenderTarget=!0;var It=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l;Ge(this,e),l=s.call(this,r,t);var f=fi(l),m=f.texture;l.texture=[];for(var x=0;x<a;x++)l.texture[x]=m.clone();return l}return rt(e,[{key:"setSize",value:function(t,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;if(this.width!==t||this.height!==a||this.depth!==l){this.width=t,this.height=a,this.depth=l;for(var f=0,m=this.texture.length;f<m;f++)this.texture[f].image.width=t,this.texture[f].image.height=a,this.texture[f].image.depth=l;this.dispose()}return this.viewport.set(0,0,t,a),this.scissor.set(0,0,t,a),this}},{key:"copy",value:function(t){this.dispose(),this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.set(0,0,this.width,this.height),this.scissor.set(0,0,this.width,this.height),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,this.depthTexture=t.depthTexture,this.texture.length=0;for(var a=0,l=t.texture.length;a<l;a++)this.texture[a]=t.texture[a].clone();return this}}]),e}(qt);It.prototype.isWebGLMultipleRenderTargets=!0;var Yt=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l;return Ge(this,e),l=s.call(this,r,t,a),l.samples=4,l}
5return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.samples=t.samples,this}}]),e}(qt);Yt.prototype.isWebGLMultisampleRenderTarget=!0;var ar=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;Ge(this,i),this._x=s,this._y=e,this._z=r,this._w=t}return rt(i,[{key:"x",get:function(){return this._x},set:function(e){this._x=e,this._onChangeCallback()}},{key:"y",get:function(){return this._y},set:function(e){this._y=e,this._onChangeCallback()}},{key:"z",get:function(){return this._z},set:function(e){this._z=e,this._onChangeCallback()}},{key:"w",get:function(){return this._w},set:function(e){this._w=e,this._onChangeCallback()}},{key:"set",value:function(e,r,t,a){return this._x=e,this._y=r,this._z=t,this._w=a,this._onChangeCallback(),this}},{key:"clone",value:function(){return new this.constructor(this._x,this._y,this._z,this._w)}},{key:"copy",value:function(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}},{key:"setFromEuler",value:function(e,r){if(!(e&&e.isEuler))throw new Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");var t=e._x,a=e._y,l=e._z,f=e._order,m=Math.cos,x=Math.sin,D=m(t/2),I=m(a/2),N=m(l/2),W=x(t/2),Z=x(a/2),Q=x(l/2);switch(f){case"XYZ":this._x=W*I*N+D*Z*Q,this._y=D*Z*N-W*I*Q,this._z=D*I*Q+W*Z*N,this._w=D*I*N-W*Z*Q;break;case"YXZ":this._x=W*I*N+D*Z*Q,this._y=D*Z*N-W*I*Q,this._z=D*I*Q-W*Z*N,this._w=D*I*N+W*Z*Q;break;case"ZXY":this._x=W*I*N-D*Z*Q,this._y=D*Z*N+W*I*Q,this._z=D*I*Q+W*Z*N,this._w=D*I*N-W*Z*Q;break;case"ZYX":this._x=W*I*N-D*Z*Q,this._y=D*Z*N+W*I*Q,this._z=D*I*Q-W*Z*N,this._w=D*I*N+W*Z*Q;break;case"YZX":this._x=W*I*N+D*Z*Q,this._y=D*Z*N+W*I*Q,this._z=D*I*Q-W*Z*N,this._w=D*I*N-W*Z*Q;break;case"XZY":this._x=W*I*N-D*Z*Q,this._y=D*Z*N-W*I*Q,this._z=D*I*Q+W*Z*N,this._w=D*I*N+W*Z*Q;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: ".concat(f))}return r!==!1&&this._onChangeCallback(),this}},{key:"setFromAxisAngle",value:function(e,r){var t=r/2,a=Math.sin(t);return this._x=e.x*a,this._y=e.y*a,this._z=e.z*a,this._w=Math.cos(t),this._onChangeCallback(),this}},{key:"setFromRotationMatrix",value:function(e){var r=e.elements,t=r[0],a=r[4],l=r[8],f=r[1],m=r[5],x=r[9],D=r[2],I=r[6],N=r[10],W=t+m+N;if(W>0){var Z=.5/Math.sqrt(W+1);this._w=.25/Z,this._x=(I-x)*Z,this._y=(l-D)*Z,this._z=(f-a)*Z}else if(t>m&&t>N){var Q=2*Math.sqrt(1+t-m-N);this._w=(I-x)/Q,this._x=.25*Q,this._y=(a+f)/Q,this._z=(l+D)/Q}else if(m>N){var oe=2*Math.sqrt(1+m-t-N);this._w=(l-D)/oe,this._x=(a+f)/oe,this._y=.25*oe,this._z=(x+I)/oe}else{var K=2*Math.sqrt(1+N-t-m);this._w=(f-a)/K,this._x=(l+D)/K,this._y=(x+I)/K,this._z=.25*K}return this._onChangeCallback(),this}},{key:"setFromUnitVectors",value:function(e,r){var t=e.dot(r)+1;return t<Number.EPSILON?(t=0,Math.abs(e.x)>Math.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=t):(this._x=0,this._y=-e.z,this._z=e.y,this._w=t)):(this._x=e.y*r.z-e.z*r.y,this._y=e.z*r.x-e.x*r.z,this._z=e.x*r.y-e.y*r.x,this._w=t),this.normalize()}},{key:"angleTo",value:function(e){return 2*Math.acos(Math.abs(ve(this.dot(e),-1,1)))}},{key:"rotateTowards",value:function(e,r){var t=this.angleTo(e);if(t===0)return this;var a=Math.min(1,r/t);return this.slerp(e,a),this}},{key:"identity",value:function(){return this.set(0,0,0,1)}},{key:"invert",value:function(){return this.conjugate()}},{key:"conjugate",value:function(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}},{key:"dot",value:function(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}},{key:"lengthSq",value:function(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}},{key:"length",value:function(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}},{key:"normalize",value:function(){var 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}},{key:"multiply",value:function(e,r){return r!==void 0?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(e,r)):this.multiplyQuaternions(this,e)}},{key:"premultiply",value:function(e){return this.multiplyQuaternions(e,this)}},{key:"multiplyQuaternions",value:function(e,r){var t=e._x,a=e._y,l=e._z,f=e._w,m=r._x,x=r._y,D=r._z,I=r._w;return this._x=t*I+f*m+a*D-l*x,this._y=a*I+f*x+l*m-t*D,this._z=l*I+f*D+t*x-a*m,this._w=f*I-t*m-a*x-l*D,this._onChangeCallback(),this}},{key:"slerp",value:function(e,r){if(r===0)return this;if(r===1)return this.copy(e);var t=this._x,a=this._y,l=this._z,f=this._w,m=f*e._w+t*e._x+a*e._y+l*e._z;if(m<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,m=-m):this.copy(e),m>=1)return this._w=f,this._x=t,this._y=a,this._z=l,this;var x=1-m*m;if(x<=Number.EPSILON){var D=1-r;return this._w=D*f+r*this._w,this._x=D*t+r*this._x,this._y=D*a+r*this._y,this._z=D*l+r*this._z,this.normalize(),this._onChangeCallback(),this}var I=Math.sqrt(x),N=Math.atan2(I,m),W=Math.sin((1-r)*N)/I,Z=Math.sin(r*N)/I;return this._w=f*W+this._w*Z,this._x=t*W+this._x*Z,this._y=a*W+this._y*Z,this._z=l*W+this._z*Z,this._onChangeCallback(),this}},{key:"slerpQuaternions",value:function(e,r,t){this.copy(e).slerp(r,t)}},{key:"equals",value:function(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}},{key:"fromArray",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._x=e[r],this._y=e[r+1],this._z=e[r+2],this._w=e[r+3],this._onChangeCallback(),this}},{key:"toArray",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e[r]=this._x,e[r+1]=this._y,e[r+2]=this._z,e[r+3]=this._w,e}},{key:"fromBufferAttribute",value:function(e,r){return this._x=e.getX(r),this._y=e.getY(r),this._z=e.getZ(r),this._w=e.getW(r),this}},{key:"_onChange",value:function(e){return this._onChangeCallback=e,this}},{key:"_onChangeCallback",value:function(){}}],[{key:"slerp",value:function(e,r,t,a){return console.warn("THREE.Quaternion: Static .slerp() has been deprecated. Use qm.slerpQuaternions( qa, qb, t ) instead."),t.slerpQuaternions(e,r,a)}},{key:"slerpFlat",value:function(e,r,t,a,l,f,m){var x=t[a+0],D=t[a+1],I=t[a+2],N=t[a+3],W=l[f+0],Z=l[f+1],Q=l[f+2],oe=l[f+3];if(m===0){e[r+0]=x,e[r+1]=D,e[r+2]=I,e[r+3]=N;return}if(m===1){e[r+0]=W,e[r+1]=Z,e[r+2]=Q,e[r+3]=oe;return}if(N!==oe||x!==W||D!==Z||I!==Q){var K=1-m,J=x*W+D*Z+I*Q+N*oe,_e=J>=0?1:-1,Me=1-J*J;if(Me>Number.EPSILON){var Ae=Math.sqrt(Me),ie=Math.atan2(Ae,J*_e);K=Math.sin(K*ie)/Ae,m=Math.sin(m*ie)/Ae}var we=m*_e;if(x=x*K+W*we,D=D*K+Z*we,I=I*K+Q*we,N=N*K+oe*we,K===1-m){var Te=1/Math.sqrt(x*x+D*D+I*I+N*N);x*=Te,D*=Te,I*=Te,N*=Te}}e[r]=x,e[r+1]=D,e[r+2]=I,e[r+3]=N}},{key:"multiplyQuaternionsFlat",value:function(e,r,t,a,l,f){var m=t[a],x=t[a+1],D=t[a+2],I=t[a+3],N=l[f],W=l[f+1],Z=l[f+2],Q=l[f+3];return e[r]=m*Q+I*N+x*Z-D*W,e[r+1]=x*Q+I*W+D*N-m*Z,e[r+2]=D*Q+I*Z+m*W-x*N,e[r+3]=I*Q-m*N-x*W-D*Z,e}}]),i}();ar.prototype.isQuaternion=!0;var pe=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ge(this,i),this.x=s,this.y=e,this.z=r}return rt(i,[{key:"set",value:function(e,r,t){return t===void 0&&(t=this.z),this.x=e,this.y=r,this.z=t,this}},{key:"setScalar",value:function(e){return this.x=e,this.y=e,this.z=e,this}},{key:"setX",value:function(e){return this.x=e,this}},{key:"setY",value:function(e){return this.y=e,this}},{key:"setZ",value:function(e){return this.z=e,this}},{key:"setComponent",value:function(e,r){switch(e){case 0:this.x=r;break;case 1:this.y=r;break;case 2:this.z=r;break;default:throw new Error("index is out of range: ".concat(e))}return this}},{key:"getComponent",value:function(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: ".concat(e))}}},{key:"clone",value:function(){return new this.constructor(this.x,this.y,this.z)}},{key:"copy",value:function(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}},{key:"add",value:function(e,r){return r!==void 0?(console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,r)):(this.x+=e.x,this.y+=e.y,this.z+=e.z,this)}},{key:"addScalar",value:function(e){return this.x+=e,this.y+=e,this.z+=e,this}},{key:"addVectors",value:function(e,r){return this.x=e.x+r.x,this.y=e.y+r.y,this.z=e.z+r.z,this}},{key:"addScaledVector",value:function(e,r){return this.x+=e.x*r,this.y+=e.y*r,this.z+=e.z*r,this}},{key:"sub",value:function(e,r){return r!==void 0?(console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,r)):(this.x-=e.x,this.y-=e.
5y,this.z-=e.z,this)}},{key:"subScalar",value:function(e){return this.x-=e,this.y-=e,this.z-=e,this}},{key:"subVectors",value:function(e,r){return this.x=e.x-r.x,this.y=e.y-r.y,this.z=e.z-r.z,this}},{key:"multiply",value:function(e,r){return r!==void 0?(console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(e,r)):(this.x*=e.x,this.y*=e.y,this.z*=e.z,this)}},{key:"multiplyScalar",value:function(e){return this.x*=e,this.y*=e,this.z*=e,this}},{key:"multiplyVectors",value:function(e,r){return this.x=e.x*r.x,this.y=e.y*r.y,this.z=e.z*r.z,this}},{key:"applyEuler",value:function(e){return e&&e.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order."),this.applyQuaternion(Vt.setFromEuler(e))}},{key:"applyAxisAngle",value:function(e,r){return this.applyQuaternion(Vt.setFromAxisAngle(e,r))}},{key:"applyMatrix3",value:function(e){var r=this.x,t=this.y,a=this.z,l=e.elements;return this.x=l[0]*r+l[3]*t+l[6]*a,this.y=l[1]*r+l[4]*t+l[7]*a,this.z=l[2]*r+l[5]*t+l[8]*a,this}},{key:"applyNormalMatrix",value:function(e){return this.applyMatrix3(e).normalize()}},{key:"applyMatrix4",value:function(e){var r=this.x,t=this.y,a=this.z,l=e.elements,f=1/(l[3]*r+l[7]*t+l[11]*a+l[15]);return this.x=(l[0]*r+l[4]*t+l[8]*a+l[12])*f,this.y=(l[1]*r+l[5]*t+l[9]*a+l[13])*f,this.z=(l[2]*r+l[6]*t+l[10]*a+l[14])*f,this}},{key:"applyQuaternion",value:function(e){var r=this.x,t=this.y,a=this.z,l=e.x,f=e.y,m=e.z,x=e.w,D=x*r+f*a-m*t,I=x*t+m*r-l*a,N=x*a+l*t-f*r,W=-l*r-f*t-m*a;return this.x=D*x+W*-l+I*-m-N*-f,this.y=I*x+W*-f+N*-l-D*-m,this.z=N*x+W*-m+D*-f-I*-l,this}},{key:"project",value:function(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}},{key:"unproject",value:function(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}},{key:"transformDirection",value:function(e){var r=this.x,t=this.y,a=this.z,l=e.elements;return this.x=l[0]*r+l[4]*t+l[8]*a,this.y=l[1]*r+l[5]*t+l[9]*a,this.z=l[2]*r+l[6]*t+l[10]*a,this.normalize()}},{key:"divide",value:function(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}},{key:"divideScalar",value:function(e){return this.multiplyScalar(1/e)}},{key:"min",value:function(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}},{key:"max",value:function(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}},{key:"clamp",value:function(e,r){return this.x=Math.max(e.x,Math.min(r.x,this.x)),this.y=Math.max(e.y,Math.min(r.y,this.y)),this.z=Math.max(e.z,Math.min(r.z,this.z)),this}},{key:"clampScalar",value:function(e,r){return this.x=Math.max(e,Math.min(r,this.x)),this.y=Math.max(e,Math.min(r,this.y)),this.z=Math.max(e,Math.min(r,this.z)),this}},{key:"clampLength",value:function(e,r){var t=this.length();return this.divideScalar(t||1).multiplyScalar(Math.max(e,Math.min(r,t)))}},{key:"floor",value:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}},{key:"ceil",value:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}},{key:"round",value:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}},{key:"roundToZero",value:function(){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}},{key:"negate",value:function(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}},{key:"dot",value:function(e){return this.x*e.x+this.y*e.y+this.z*e.z}},{key:"lengthSq",value:function(){return this.x*this.x+this.y*this.y+this.z*this.z}},{key:"length",value:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}},{key:"manhattanLength",value:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}},{key:"normalize",value:function(){return this.divideScalar(this.length()||1)}},{key:"setLength",value:function(e){return this.normalize().multiplyScalar(e)}},{key:"lerp",value:function(e,r){return this.x+=(e.x-this.x)*r,this.y+=(e.y-this.y)*r,this.z+=(e.z-this.z)*r,this}},{key:"lerpVectors",value:function(e,r,t){return this.x=e.x+(r.x-e.x)*t,this.y=e.y+(r.y-e.y)*t,this.z=e.z+(r.z-e.z)*t,this}},{key:"cross",value:function(e,r){return r!==void 0?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(e,r)):this.crossVectors(this,e)}}
5,{key:"crossVectors",value:function(e,r){var t=e.x,a=e.y,l=e.z,f=r.x,m=r.y,x=r.z;return this.x=a*x-l*m,this.y=l*f-t*x,this.z=t*m-a*f,this}},{key:"projectOnVector",value:function(e){var r=e.lengthSq();if(r===0)return this.set(0,0,0);var t=e.dot(this)/r;return this.copy(e).multiplyScalar(t)}},{key:"projectOnPlane",value:function(e){return Sr.copy(this).projectOnVector(e),this.sub(Sr)}},{key:"reflect",value:function(e){return this.sub(Sr.copy(e).multiplyScalar(2*this.dot(e)))}},{key:"angleTo",value:function(e){var r=Math.sqrt(this.lengthSq()*e.lengthSq());if(r===0)return Math.PI/2;var t=this.dot(e)/r;return Math.acos(ve(t,-1,1))}},{key:"distanceTo",value:function(e){return Math.sqrt(this.distanceToSquared(e))}},{key:"distanceToSquared",value:function(e){var r=this.x-e.x,t=this.y-e.y,a=this.z-e.z;return r*r+t*t+a*a}},{key:"manhattanDistanceTo",value:function(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}},{key:"setFromSpherical",value:function(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}},{key:"setFromSphericalCoords",value:function(e,r,t){var a=Math.sin(r)*e;return this.x=a*Math.sin(t),this.y=Math.cos(r)*e,this.z=a*Math.cos(t),this}},{key:"setFromCylindrical",value:function(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}},{key:"setFromCylindricalCoords",value:function(e,r,t){return this.x=e*Math.sin(r),this.y=t,this.z=e*Math.cos(r),this}},{key:"setFromMatrixPosition",value:function(e){var r=e.elements;return this.x=r[12],this.y=r[13],this.z=r[14],this}},{key:"setFromMatrixScale",value:function(e){var r=this.setFromMatrixColumn(e,0).length(),t=this.setFromMatrixColumn(e,1).length(),a=this.setFromMatrixColumn(e,2).length();return this.x=r,this.y=t,this.z=a,this}},{key:"setFromMatrixColumn",value:function(e,r){return this.fromArray(e.elements,r*4)}},{key:"setFromMatrix3Column",value:function(e,r){return this.fromArray(e.elements,r*3)}},{key:"equals",value:function(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}},{key:"fromArray",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this.x=e[r],this.y=e[r+1],this.z=e[r+2],this}},{key:"toArray",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e[r]=this.x,e[r+1]=this.y,e[r+2]=this.z,e}},{key:"fromBufferAttribute",value:function(e,r,t){return t!==void 0&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(r),this.y=e.getY(r),this.z=e.getZ(r),this}},{key:"random",value:function(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}},{key:"abs",value:function(){return this.x=Math.abs(this.x),this.y=Math.abs(this.y),this.z=Math.abs(this.z),this}},{key:"sign",value:function(){return this.x=ct(this.x),this.y=ct(this.y),this.z=ct(this.z),this}},{key:"step",value:function(e){return this.x=He(e.x,this.x),this.y=He(e.y,this.y),this.z=He(e.z,this.z),this}},{key:"stepScalar",value:function(e){return this.x=He(e,this.x),this.y=He(e,this.y),this.z=He(e,this.z),this}},{key:"maxScalar",value:function(e){return this.x=Math.max(this.x,e),this.y=Math.max(this.y,e),this.z=Math.max(this.z,e),this}},{key:"minScalar",value:function(e){return this.x=Math.min(this.x,e),this.y=Math.min(this.y,e),this.z=Math.min(this.z,e),this}}]),i}();pe.prototype.isVector3=!0;var Sr=new pe,Vt=new ar,Jt=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new pe(1/0,1/0,1/0),e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe(-1/0,-1/0,-1/0);Ge(this,i),this.min=s,this.max=e}return rt(i,[{key:"set",value:function(e,r){return this.min.copy(e),this.max.copy(r),this}},{key:"setFromArray",value:function(e){for(var r=1/0,t=1/0,a=1/0,l=-1/0,f=-1/0,m=-1/0,x=0,D=e.length;x<D;x+=3){var I=e[x],N=e[x+1],W=e[x+2];I<r&&(r=I),N<t&&(t=N),W<a&&(a=W),I>l&&(l=I),N>f&&(f=N),W>m&&(m=W)}return this.min.set(r,t,a),this.max.set(l,f,m),this}},{key:"setFromBufferAttribute",value:function(e){for(var r=1/0,t=1/0,a=1/0,l=-1/0,f=-1/0,m=-1/0,x=0,D=e.count;x<D;x++){var I=e.getX(x),N=e.getY(x),W=e.getZ(x);I<r&&(r=I),N<t&&(t=N),W<a&&(a=W),I>l&&(l=I),N>f&&(f=N),W>m&&(m=W)}return this.min.set(r,t,a),this.max.set(l,f,m),this}},{key:"setFromPoints",value:function(e){this.makeEmpty();for(var r=0,t=e.length;r<t;r++)this.expandByPoint(e[r]);return this}},{key:"setFromCenterAndSize",value:function(e,r){var t=ir.copy(r).multiplyScalar(.5);return this.min.copy(e).sub(t),this.max.copy(e).add(t),this}},{key:"setFromObject",value:function(e){return this.makeEmpty(),this.expandByObject(e)}},{key:"clone",value:function(){return new this.constructor().copy(this)}},{key:"copy",value:function(e){return this.min.copy(e.min),this.max.copy(e.max),this}},{key:"makeEmpty",value:function(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}},{key:"isEmpty",value:function(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}},{key:"getCenter",value:function(e){return this.isEmpty()?e.set(0,0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}},{key:"getSize",value:function(e){return this.isEmpty()?e.set(0,0,0):e.subVectors(this.max,this.min)}},{key:"expandByPoint",value:function(e){return this.min.min(e),this.max.max(e),this}},{key:"expandByVector",value:function(e){return this.min.sub(e),this.max.add(e),this}},{key:"expandByScalar",value:function(e){return this.min.addScalar(-e),this.max.addScalar(e),this}},{key:"expandByObject",value:function(e){e.updateWorldMatrix(!1,!1);var r=e.geometry;r!==void 0&&(r.boundingBox===null&&r.computeBoundingBox(),Vr.copy(r.boun
5dingBox),Vr.applyMatrix4(e.matrixWorld),this.union(Vr));for(var t=e.children,a=0,l=t.length;a<l;a++)this.expandByObject(t[a]);return this}},{key:"containsPoint",value:function(e){return!(e.x<this.min.x||e.x>this.max.x||e.y<this.min.y||e.y>this.max.y||e.z<this.min.z||e.z>this.max.z)}},{key:"containsBox",value:function(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}},{key:"getParameter",value:function(e,r){return r.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))}},{key:"intersectsBox",value:function(e){return!(e.max.x<this.min.x||e.min.x>this.max.x||e.max.y<this.min.y||e.min.y>this.max.y||e.max.z<this.min.z||e.min.z>this.max.z)}},{key:"intersectsSphere",value:function(e){return this.clampPoint(e.center,ir),ir.distanceToSquared(e.center)<=e.radius*e.radius}},{key:"intersectsPlane",value:function(e){var r,t;return e.normal.x>0?(r=e.normal.x*this.min.x,t=e.normal.x*this.max.x):(r=e.normal.x*this.max.x,t=e.normal.x*this.min.x),e.normal.y>0?(r+=e.normal.y*this.min.y,t+=e.normal.y*this.max.y):(r+=e.normal.y*this.max.y,t+=e.normal.y*this.min.y),e.normal.z>0?(r+=e.normal.z*this.min.z,t+=e.normal.z*this.max.z):(r+=e.normal.z*this.max.z,t+=e.normal.z*this.min.z),r<=-e.constant&&t>=-e.constant}},{key:"intersectsTriangle",value:function(e){if(this.isEmpty())return!1;this.getCenter(aa),vn.subVectors(this.max,aa),br.subVectors(e.a,aa),Wr.subVectors(e.b,aa),Pr.subVectors(e.c,aa),Fr.subVectors(Wr,br),$r.subVectors(Pr,Wr),Kn.subVectors(br,Pr);var r=[0,-Fr.z,Fr.y,0,-$r.z,$r.y,0,-Kn.z,Kn.y,Fr.z,0,-Fr.x,$r.z,0,-$r.x,Kn.z,0,-Kn.x,-Fr.y,Fr.x,0,-$r.y,$r.x,0,-Kn.y,Kn.x,0];return!rn(r,br,Wr,Pr,vn)||(r=[1,0,0,0,1,0,0,0,1],!rn(r,br,Wr,Pr,vn))?!1:(jr.crossVectors(Fr,$r),r=[jr.x,jr.y,jr.z],rn(r,br,Wr,Pr,vn))}},{key:"clampPoint",value:function(e,r){return r.copy(e).clamp(this.min,this.max)}},{key:"distanceToPoint",value:function(e){var r=ir.copy(e).clamp(this.min,this.max);return r.sub(e).length()}},{key:"getBoundingSphere",value:function(e){return this.getCenter(e.center),e.radius=this.getSize(ir).length()*.5,e}},{key:"intersect",value:function(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}},{key:"union",value:function(e){return this.min.min(e.min),this.max.max(e.max),this}},{key:"applyMatrix4",value:function(e){return this.isEmpty()?this:(vr[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),vr[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),vr[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),vr[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),vr[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),vr[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),vr[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),vr[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(vr),this)}},{key:"translate",value:function(e){return this.min.add(e),this.max.add(e),this}},{key:"equals",value:function(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}]),i}();Jt.prototype.isBox3=!0;var vr=[new pe,new pe,new pe,new pe,new pe,new pe,new pe,new pe],ir=new pe,Vr=new Jt,br=new pe,Wr=new pe,Pr=new pe,Fr=new pe,$r=new pe,Kn=new pe,aa=new pe,vn=new pe,jr=new pe,_n=new pe;function rn(i,s,e,r,t){for(var a=0,l=i.length-3;a<=l;a+=3){_n.fromArray(i,a);var f=t.x*Math.abs(_n.x)+t.y*Math.abs(_n.y)+t.z*Math.abs(_n.z),m=s.dot(_n),x=e.dot(_n),D=r.dot(_n);if(Math.max(-Math.max(m,x,D),Math.min(m,x,D))>f)return!1}return!0}var Gi=new Jt,Ai=new pe,Ci=new pe,Ri=new pe,Nn=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new pe,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;Ge(this,i),this.center=s,this.radius=e}return rt(i,[{key:"set",value:function(e,r){return this.center.copy(e),this.radius=r,this}},{key:"setFromPoints",value:function(e,r){var t=this.center;r!==void 0?t.copy(r):Gi.setFromPoints(e).getCenter(t);for(var a=0,l=0,f=e.length;l<f;l++)a=Math.max(a,t.distanceToSquared(e[l]));return this.radius=Math.sqrt(a),this}},{key:"copy",value:function(e){return this.center.copy(e.center),this.radius=e.radius,this}},{key:"isEmpty",value:function(){return this.radius<0}},{key:"makeEmpty",value:function(){return this.center.set(0,0,0),this.radius=-1,this}},{key:"containsPoint",value:function(e){return e.distanceToSquared(this.center)<=this.radius*this.radius}},{key:"distanceToPoint",value:function(e){return e.distanceTo(this.center)-this.radius}},{key:"intersectsSphere",value:function(e){var r=this.radius+e.radius;return e.center.distanceToSquared(this.center)<=r*r}},{key:"intersectsBox",value:function(e){return e.intersectsSphere(this)}},{key:"intersectsPlane",value:function(e){return Math.abs(e.distanceToPoint(this.center))<=this.radius}},{key:"clampPoint",value:function(e,r){var t=this.center.distanceToSquared(e);return r.copy(e),t>this.radius*this.radius&&(r.sub(this.center).normalize(),r.multiplyScalar(this.radius).add(this.center)),r}},{key:"getBoundingBox",value:function(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}},{key:"applyMatrix4",value:function(e){return this.center.applyM
5atrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}},{key:"translate",value:function(e){return this.center.add(e),this}},{key:"expandByPoint",value:function(e){Ri.subVectors(e,this.center);var r=Ri.lengthSq();if(r>this.radius*this.radius){var t=Math.sqrt(r),a=(t-this.radius)*.5;this.center.add(Ri.multiplyScalar(a/t)),this.radius+=a}return this}},{key:"union",value:function(e){return Ci.subVectors(e.center,this.center).normalize().multiplyScalar(e.radius),this.expandByPoint(Ai.copy(e.center).add(Ci)),this.expandByPoint(Ai.copy(e.center).sub(Ci)),this}},{key:"equals",value:function(e){return e.center.equals(this.center)&&e.radius===this.radius}},{key:"clone",value:function(){return new this.constructor().copy(this)}}]),i}(),ia=new pe,Va=new pe,Vi=new pe,Dn=new pe,Io=new pe,di=new pe,Fo=new pe,ga=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new pe,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe(0,0,-1);Ge(this,i),this.origin=s,this.direction=e}return rt(i,[{key:"set",value:function(e,r){return this.origin.copy(e),this.direction.copy(r),this}},{key:"copy",value:function(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}},{key:"at",value:function(e,r){return r.copy(this.direction).multiplyScalar(e).add(this.origin)}},{key:"lookAt",value:function(e){return this.direction.copy(e).sub(this.origin).normalize(),this}},{key:"recast",value:function(e){return this.origin.copy(this.at(e,ia)),this}},{key:"closestPointToPoint",value:function(e,r){r.subVectors(e,this.origin);var t=r.dot(this.direction);return t<0?r.copy(this.origin):r.copy(this.direction).multiplyScalar(t).add(this.origin)}},{key:"distanceToPoint",value:function(e){return Math.sqrt(this.distanceSqToPoint(e))}},{key:"distanceSqToPoint",value:function(e){var r=ia.subVectors(e,this.origin).dot(this.direction);return r<0?this.origin.distanceToSquared(e):(ia.copy(this.direction).multiplyScalar(r).add(this.origin),ia.distanceToSquared(e))}},{key:"distanceSqToSegment",value:function(e,r,t,a){Va.copy(e).add(r).multiplyScalar(.5),Vi.copy(r).sub(e).normalize(),Dn.copy(this.origin).sub(Va);var l=e.distanceTo(r)*.5,f=-this.direction.dot(Vi),m=Dn.dot(this.direction),x=-Dn.dot(Vi),D=Dn.lengthSq(),I=Math.abs(1-f*f),N,W,Z,Q;if(I>0)if(N=f*x-m,W=f*m-x,Q=l*I,N>=0)if(W>=-Q)if(W<=Q){var oe=1/I;N*=oe,W*=oe,Z=N*(N+f*W+2*m)+W*(f*N+W+2*x)+D}else W=l,N=Math.max(0,-(f*W+m)),Z=-N*N+W*(W+2*x)+D;else W=-l,N=Math.max(0,-(f*W+m)),Z=-N*N+W*(W+2*x)+D;else W<=-Q?(N=Math.max(0,-(-f*l+m)),W=N>0?-l:Math.min(Math.max(-l,-x),l),Z=-N*N+W*(W+2*x)+D):W<=Q?(N=0,W=Math.min(Math.max(-l,-x),l),Z=W*(W+2*x)+D):(N=Math.max(0,-(f*l+m)),W=N>0?l:Math.min(Math.max(-l,-x),l),Z=-N*N+W*(W+2*x)+D);else W=f>0?-l:l,N=Math.max(0,-(f*W+m)),Z=-N*N+W*(W+2*x)+D;return t&&t.copy(this.direction).multiplyScalar(N).add(this.origin),a&&a.copy(Vi).multiplyScalar(W).add(Va),Z}},{key:"intersectSphere",value:function(e,r){ia.subVectors(e.center,this.origin);var t=ia.dot(this.direction),a=ia.dot(ia)-t*t,l=e.radius*e.radius;if(a>l)return null;var f=Math.sqrt(l-a),m=t-f,x=t+f;return m<0&&x<0?null:m<0?this.at(x,r):this.at(m,r)}},{key:"intersectsSphere",value:function(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}},{key:"distanceToPlane",value:function(e){var r=e.normal.dot(this.direction);if(r===0)return e.distanceToPoint(this.origin)===0?0:null;var t=-(this.origin.dot(e.normal)+e.constant)/r;return t>=0?t:null}},{key:"intersectPlane",value:function(e,r){var t=this.distanceToPlane(e);return t===null?null:this.at(t,r)}},{key:"intersectsPlane",value:function(e){var r=e.distanceToPoint(this.origin);if(r===0)return!0;var t=e.normal.dot(this.direction);return t*r<0}},{key:"intersectBox",value:function(e,r){var t,a,l,f,m,x,D=1/this.direction.x,I=1/this.direction.y,N=1/this.direction.z,W=this.origin;return D>=0?(t=(e.min.x-W.x)*D,a=(e.max.x-W.x)*D):(t=(e.max.x-W.x)*D,a=(e.min.x-W.x)*D),I>=0?(l=(e.min.y-W.y)*I,f=(e.max.y-W.y)*I):(l=(e.max.y-W.y)*I,f=(e.min.y-W.y)*I),t>f||l>a||((l>t||t!==t)&&(t=l),(f<a||a!==a)&&(a=f),N>=0?(m=(e.min.z-W.z)*N,x=(e.max.z-W.z)*N):(m=(e.max.z-W.z)*N,x=(e.min.z-W.z)*N),t>x||m>a)||((m>t||t!==t)&&(t=m),(x<a||a!==a)&&(a=x),a<0)?null:this.at(t>=0?t:a,r)}},{key:"intersectsBox",value:function(e){return this.intersectBox(e,ia)!==null}},{key:"intersectTriangle",value:function(e,r,t,a,l){Io.subVectors(r,e),di.subVectors(t,e),Fo.crossVectors(Io,di);var f=this.direction.dot(Fo),m;if(f>0){if(a)return null;m=1}else if(f<0)m=-1,f=-f;else return null;Dn.subVectors(this.origin,e);var x=m*this.direction.dot(di.crossVectors(Dn,di));if(x<0)return null;var D=m*this.direction.dot(Io.cross(Dn));if(D<0||x+D>f)return null;var I=-m*Dn.dot(Fo);return I<0?null:this.at(I/f,l)}},{key:"applyMatrix4",value:function(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}},{key:"equals",value:function(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}},{key:"clone",value:function(){return new this.constructor().copy(this)}}]),i}(),tr=function(){function i(){Ge(this,i),this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix4: the constructor no longer reads arguments. use .set() instead.")}return rt(i,[{key:"set",value:function(e,r,t,a,l,f,m,x,D,I,N,W,Z,Q,oe,K){var J=this.elements;return J[0]=e,J[4]=r,J[8]=t,J[12]=a,J[1]=l,J[5]=f,J[9]=m,J[13]=x,J[2]=D,J[6]=I,J[10]=N,J[14]=W,J[3]=Z,J[7]=
vendor: 5,638 bytes, line 5
5Q,J[11]=oe,J[15]=K,this}},{key:"identity",value:function(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}},{key:"clone",value:function(){return new i().fromArray(this.elements)}},{key:"copy",value:function(e){var r=this.elements,t=e.elements;return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r[6]=t[6],r[7]=t[7],r[8]=t[8],r[9]=t[9],r[10]=t[10],r[11]=t[11],r[12]=t[12],r[13]=t[13],r[14]=t[14],r[15]=t[15],this}},{key:"copyPosition",value:function(e){var r=this.elements,t=e.elements;return r[12]=t[12],r[13]=t[13],r[14]=t[14],this}},{key:"setFromMatrix3",value:function(e){var r=e.elements;return this.set(r[0],r[3],r[6],0,r[1],r[4],r[7],0,r[2],r[5],r[8],0,0,0,0,1),this}},{key:"extractBasis",value:function(e,r,t){return e.setFromMatrixColumn(this,0),r.setFromMatrixColumn(this,1),t.setFromMatrixColumn(this,2),this}},{key:"makeBasis",value:function(e,r,t){return this.set(e.x,r.x,t.x,0,e.y,r.y,t.y,0,e.z,r.z,t.z,0,0,0,0,1),this}},{key:"extractRotation",value:function(e){var r=this.elements,t=e.elements,a=1/ca.setFromMatrixColumn(e,0).length(),l=1/ca.setFromMatrixColumn(e,1).length(),f=1/ca.setFromMatrixColumn(e,2).length();return r[0]=t[0]*a,r[1]=t[1]*a,r[2]=t[2]*a,r[3]=0,r[4]=t[4]*l,r[5]=t[5]*l,r[6]=t[6]*l,r[7]=0,r[8]=t[8]*f,r[9]=t[9]*f,r[10]=t[10]*f,r[11]=0,r[12]=0,r[13]=0,r[14]=0,r[15]=1,this}},{key:"makeRotationFromEuler",value:function(e){e&&e.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");var r=this.elements,t=e.x,a=e.y,l=e.z,f=Math.cos(t),m=Math.sin(t),x=Math.cos(a),D=Math.sin(a),I=Math.cos(l),N=Math.sin(l);if(e.order==="XYZ"){var W=f*I,Z=f*N,Q=m*I,oe=m*N;r[0]=x*I,r[4]=-x*N,r[8]=D,r[1]=Z+Q*D,r[5]=W-oe*D,r[9]=-m*x,r[2]=oe-W*D,r[6]=Q+Z*D,r[10]=f*x}else if(e.order==="YXZ"){var K=x*I,J=x*N,_e=D*I,Me=D*N;r[0]=K+Me*m,r[4]=_e*m-J,r[8]=f*D,r[1]=f*N,r[5]=f*I,r[9]=-m,r[2]=J*m-_e,r[6]=Me+K*m,r[10]=f*x}else if(e.order==="ZXY"){var Ae=x*I,ie=x*N,we=D*I,Te=D*N;r[0]=Ae-Te*m,r[4]=-f*N,r[8]=we+ie*m,r[1]=ie+we*m,r[5]=f*I,r[9]=Te-Ae*m,r[2]=-f*D,r[6]=m,r[10]=f*x}else if(e.order==="ZYX"){var Ye=f*I,Ie=f*N,nt=m*I,dt=m*N;r[0]=x*I,r[4]=nt*D-Ie,r[8]=Ye*D+dt,r[1]=x*N,r[5]=dt*D+Ye,r[9]=Ie*D-nt,r[2]=-D,r[6]=m*x,r[10]=f*x}else if(e.order==="YZX"){var We=f*x,it=f*D,ht=m*x,Ze=m*D;r[0]=x*I,r[4]=Ze-We*N,r[8]=ht*N+it,r[1]=N,r[5]=f*I,r[9]=-m*I,r[2]=-D*I,r[6]=it*N+ht,r[10]=We-Ze*N}else if(e.order==="XZY"){var lt=f*x,Et=f*D,Xt=m*x,Bt=m*D;r[0]=x*I,r[4]=-N,r[8]=D*I,r[1]=lt*N+Bt,r[5]=f*I,r[9]=Et*N-Xt,r[2]=Xt*N-Et,r[6]=m*I,r[10]=Bt*N+lt}return r[3]=0,r[7]=0,r[11]=0,r[12]=0,r[13]=0,r[14]=0,r[15]=1,this}},{key:"makeRotationFromQuaternion",value:function(e){return this.compose(n0,e,a0)}},{key:"lookAt",value:function(e,r,t){var a=this.elements;return Da.subVectors(e,r),Da.lengthSq()===0&&(Da.z=1),Da.normalize(),vi.crossVectors(t,Da),vi.lengthSq()===0&&(Math.abs(t.z)===1?Da.x+=1e-4:Da.z+=1e-4,Da.normalize(),vi.crossVectors(t,Da)),vi.normalize(),ns.crossVectors(Da,vi),a[0]=vi.x,a[4]=ns.x,a[8]=Da.x,a[1]=vi.y,a[5]=ns.y,a[9]=Da.y,a[2]=vi.z,a[6]=ns.z,a[10]=Da.z,this}},{key:"multiply",value:function(e,r){return r!==void 0?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."),this.multiplyMatrices(e,r)):this.multiplyMatrices(this,e)}},{key:"premultiply",value:function(e){return this.multiplyMatrices(e,this)}},{key:"multiplyMatrices",value:function(e,r){var t=e.elements,a=r.elements,l=this.elements,f=t[0],m=t[4],x=t[8],D=t[12],I=t[1],N=t[5],W=t[9],Z=t[13],Q=t[2],oe=t[6],K=t[10],J=t[14],_e=t[3],Me=t[7],Ae=t[11],ie=t[15],we=a[0],Te=a[4],Ye=a[8],Ie=a[12],nt=a[1],dt=a[5],We=a[9],it=a[13],ht=a[2],Ze=a[6],lt=a[10],Et=a[14],Xt=a[3],Bt=a[7],Ot=a[11],Gt=a[15];return l[0]=f*we+m*nt+x*ht+D*Xt,l[4]=f*Te+m*dt+x*Ze+D*Bt,l[8]=f*Ye+m*We+x*lt+D*Ot,l[12]=f*Ie+m*it+x*Et+D*Gt,l[1]=I*we+N*nt+W*ht+Z*Xt,l[5]=I*Te+N*dt+W*Ze+Z*Bt,l[9]=I*Ye+N*We+W*lt+Z*Ot,l[13]=I*Ie+N*it+W*Et+Z*Gt,l[2]=Q*we+oe*nt+K*ht+J*Xt,l[6]=Q*Te+oe*dt+K*Ze+J*Bt,l[10]=Q*Ye+oe*We+K*lt+J*Ot,l[14]=Q*Ie+oe*it+K*Et+J*Gt,l[3]=_e*we+Me*nt+Ae*ht+ie*Xt,l[7]=_e*Te+Me*dt+Ae*Ze+ie*Bt,l[11]=_e*Ye+Me*We+Ae*lt+ie*Ot,l[15]=_e*Ie+Me*it+Ae*Et+ie*Gt,this}},{key:"multiplyScalar",value:function(e){var r=this.elements;return r[0]*=e,r[4]*=e,r[8]*=e,r[12]*=e,r[1]*=e,r[5]*=e,r[9]*=e,r[13]*=e,r[2]*=e,r[6]*=e,r[10]*=e,r[14]*=e,r[3]*=e,r[7]*=e,r[11]*=e,r[15]*=e,this}},{key:"determinant",value:function(){var e=this.elements,r=e[0],t=e[4],a=e[8],l=e[12],f=e[1],m=e[5],x=e[9],D=e[13],I=e[2],N=e[6],W=e[10],Z=e[14],Q=e[3],oe=e[7],K=e[11],J=e[15];return Q*(+l*x*N-a*D*N-l*m*W+t*D*W+a*m*Z-t*x*Z)+oe*(+r*x*Z-r*D*W+l*f*W-a*f*Z+a*D*I-l*x*I)+K*(+r*D*N-r*m*Z-l*f*N+t*f*Z+l*m*I-t*D*I)+J*(-a*m*I-r*x*N+r*m*W+a*f*N-t*f*W+t*x*I)}},{key:"transpose",value:function(){var e=this.elements,r;return r=e[1],e[1]=e[4],e[4]=r,r=e[2],e[2]=e[8],e[8]=r,r=e[6],e[6]=e[9],e[9]=r,r=e[3],e[3]=e[12],e[12]=r,r=e[7],e[7]=e[13],e[13]=r,r=e[11],e[11]=e[14],e[14]=r,this}},{key:"setPosition",value:function(e,r,t){var a=this.elements;return e.isVector3?(a[12]=e.x,a[13]=e.y,a[14]=e.z):(a[12]=e,a[13]=r,a[14]=t),this}},{key:"invert",value:function(){var e=this.elements,r=e[0],t=e[1],a=e[2],l=e[3],f=e[4],m=e[5],x=e[6],D=e[7],I=e[8],N=e[9],W=e[10],Z=e[11],Q=e[12],oe=e[13],K=e[14],J=e[15],_e=N*K*D-oe*W*D+oe*x*Z-m*K*Z-N*x*J+m*W*J,Me=Q*W*D-I*K*D-Q*x*Z+f*K*Z+I*x*J-f*W*J,Ae=I*oe*D-Q*N*D+Q*m*Z-f*oe*Z-I*m*J+f*N*J,ie=Q*N*x-I*oe*x-Q*m*W+f*oe*W+I*m*K-f*N*K,we=r*_e+t*Me+a*Ae+l*ie;if(we===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);var Te=1/we;return e[0]=_e*Te,e[1]=(oe*W*l-N*K*l-oe*a*Z+t*K*Z+N*a*J-t*W*J)*Te,e[2]=(m*K*l-oe*x*l+oe*a*D-t*K*D-m*a*J+t*x*J)*Te,e[3]=(N*x*l
5-m*W*l-N*a*D+t*W*D+m*a*Z-t*x*Z)*Te,e[4]=Me*Te,e[5]=(I*K*l-Q*W*l+Q*a*Z-r*K*Z-I*a*J+r*W*J)*Te,e[6]=(Q*x*l-f*K*l-Q*a*D+r*K*D+f*a*J-r*x*J)*Te,e[7]=(f*W*l-I*x*l+I*a*D-r*W*D-f*a*Z+r*x*Z)*Te,e[8]=Ae*Te,e[9]=(Q*N*l-I*oe*l-Q*t*Z+r*oe*Z+I*t*J-r*N*J)*Te,e[10]=(f*oe*l-Q*m*l+Q*t*D-r*oe*D-f*t*J+r*m*J)*Te,e[11]=(I*m*l-f*N*l-I*t*D+r*N*D+f*t*Z-r*m*Z)*Te,e[12]=ie*Te,e[13]=(I*oe*a-Q*N*a+Q*t*W-r*oe*W-I*t*K+r*N*K)*Te,e[14]=(Q*m*a-f*oe*a-Q*t*x+r*oe*x+f*t*K-r*m*K)*Te,e[15]=(f*N*a-I*m*a+I*t*x-r*N*x-f*t*W+r*m*W)*Te,this}},{key:"scale",value:function(e){var r=this.elements,t=e.x,a=e.y,l=e.z;return r[0]*=t,r[4]*=a,r[8]*=l,r[1]*=t,r[5]*=a,r[9]*=l,r[2]*=t,r[6]*=a,r[10]*=l,r[3]*=t,r[7]*=a,r[11]*=l,this}},{key:"getMaxScaleOnAxis",value:function(){var e=this.elements,r=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],t=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],a=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(r,t,a))}},{key:"makeTranslation",value:function(e,r,t){return this.set(1,0,0,e,0,1,0,r,0,0,1,t,0,0,0,1),this}},{key:"makeRotationX",value:function(e){var r=Math.cos(e),t=Math.sin(e);return this.set(1,0,0,0,0,r,-t,0,0,t,r,0,0,0,0,1),this}},{key:"makeRotationY",value:function(e){var r=Math.cos(e),t=Math.sin(e);return this.set(r,0,t,0,0,1,0,0,-t,0,r,0,0,0,0,1),this}},{key:"makeRotationZ",value:function(e){var r=Math.cos(e),t=Math.sin(e);return this.set(r,-t,0,0,t,r,0,0,0,0,1,0,0,0,0,1),this}},{key:"makeRotationAxis",value:function(e,r){var t=Math.cos(r),a=Math.sin(r),l=1-t,f=e.x,m=e.y,x=e.z,D=l*f,I=l*m;return this.set(D*f+t,D*m-a*x,D*x+a*m,0,D*m+a*x,I*m+t,I*x-a*f,0,D*x-a*m,I*x+a*f,l*x*x+t,0,0,0,0,1),this}},{key:"makeScale",value:function(e,r,t){return this.set(e,0,0,0,0,r,0,0,0,0,t,0,0,0,0,1),this}},{key:"makeShear",value:function(e,r,t,a,l,f){return this.set(1,t,l,0,e,1,f,0,r,a,1,0,0,0,0,1),this}},{key:"compose",value:function(e,r,t){var a=this.elements,l=r._x,f=r._y,m=r._z,x=r._w,D=l+l,I=f+f,N=m+m,W=l*D,Z=l*I,Q=l*N,oe=f*I,K=f*N,J=m*N,_e=x*D,Me=x*I,Ae=x*N,ie=t.x,we=t.y,Te=t.z;return a[0]=(1-(oe+J))*ie,a[1]=(Z+Ae)*ie,a[2]=(Q-Me)*ie,a[3]=0,a[4]=(Z-Ae)*we,a[5]=(1-(W+J))*we,a[6]=(K+_e)*we,a[7]=0,a[8]=(Q+Me)*Te,a[9]=(K-_e)*Te,a[10]=(1-(W+oe))*Te,a[11]=0,a[12]=e.x,a[13]=e.y,a[14]=e.z,a[15]=1,this}},{key:"decompose",value:function(e,r,t){var a=this.elements,l=ca.set(a[0],a[1],a[2]).length(),f=ca.set(a[4],a[5],a[6]).length(),m=ca.set(a[8],a[9],a[10]).length(),x=this.determinant();x<0&&(l=-l),e.x=a[12],e.y=a[13],e.z=a[14],Pa.copy(this);var D=1/l,I=1/f,N=1/m;return Pa.elements[0]*=D,Pa.elements[1]*=D,Pa.elements[2]*=D,Pa.elements[4]*=I,Pa.elements[5]*=I,Pa.elements[6]*=I,Pa.elements[8]*=N,Pa.elements[9]*=N,Pa.elements[10]*=N,r.setFromRotationMatrix(Pa),t.x=l,t.y=f,t.z=m,this}},{key:"makePerspective",value:function(e,r,t,a,l,f){f===void 0&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.");var m=this.elements,x=2*l/(r-e),D=2*l/(t-a),I=(r+e)/(r-e),N=(t+a)/(t-a),W=-(f+l)/(f-l),Z=-2*f*l/(f-l);return m[0]=x,m[4]=0,m[8]=I,m[12]=0,m[1]=0,m[5]=D,m[9]=N,m[13]=0,m[2]=0,m[6]=0,m[10]=W,m[14]=Z,m[3]=0,m[7]=0,m[11]=-1,m[15]=0,this}},{key:"makeOrthographic",value:function(e,r,t,a,l,f){var m=this.elements,x=1/(r-e),D=1/(t-a),I=1/(f-l),N=(r+e)*x,W=(t+a)*D,Z=(f+l)*I;return m[0]=2*x,m[4]=0,m[8]=0,m[12]=-N,m[1]=0,m[5]=2*D,m[9]=0,m[13]=-W,m[2]=0,m[6]=0,m[10]=-2*I,m[14]=-Z,m[3]=0,m[7]=0,m[11]=0,m[15]=1,this}},{key:"equals",value:function(e){for(var r=this.elements,t=e.elements,a=0;a<16;a++)if(r[a]!==t[a])return!1;return!0}},{key:"fromArray",value:function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=0;t<16;t++)this.elements[t]=e[t+r];return this}},{key:"toArray",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=this.elements;return e[r]=t[0],e[r+1]=t[1],e[r+2]=t[2],e[r+3]=t[3],e[r+4]=t[4],e[r+5]=t[5],e[r+6]=t[6],e[r+7]=t[7],e[r+8]=t[8],e[r+9]=t[9],e[r+10]=t[10],e[r+11]=t[11],e[r+12]=t[12],e[r+13]=t[13],e[r+14]=t[14],e[r+15]=t[15],e}}]),i}();tr.prototype.isMatrix4=!0;var ca=new pe,Pa=new tr,n0=new pe(0,0,0),a0=new pe(1,1,1),vi=new pe,ns=new pe,Da=new pe,As=new tr,Ia=new ar,Hi=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:i.DefaultOrder;Ge(this,i),this._x=s,this._y=e,this._z=r,this._order=t}return rt(i,[{key:"x",get:function(){return this._x},set:function(e){this._x=e,this._onChangeCallback()}},{key:"y",get:function(){return this._y},set:function(e){this._y=e,this._onChangeCallback()}},{key:"z",get:function(){return this._z},set:function(e){this._z=e,this._onChangeCallback()}},{key:"order",get:function(){return this._order},set:function(e){this._order=e,this._onChangeCallback()}},{key:"set",value:function(e,r,t){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this._order;return this._x=e,this._y=r,this._z=t,this._order=a,this._onChangeCallback(),this}},{key:"clone",value:function(){return new this.constructor(this._x,this._y,this._z,this._order)}},{key:"copy",value:function(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}},{key:"setFromRotationMatrix",value:function(e){var r=arguments.length>
51&&arguments[1]!==void 0?arguments[1]:this._order,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=e.elements,l=a[0],f=a[4],m=a[8],x=a[1],D=a[5],I=a[9],N=a[2],W=a[6],Z=a[10];switch(r){case"XYZ":this._y=Math.asin(ve(m,-1,1)),Math.abs(m)<.9999999?(this._x=Math.atan2(-I,Z),this._z=Math.atan2(-f,l)):(this._x=Math.atan2(W,D),this._z=0);break;case"YXZ":this._x=Math.asin(-ve(I,-1,1)),Math.abs(I)<.9999999?(this._y=Math.atan2(m,Z),this._z=Math.atan2(x,D)):(this._y=Math.atan2(-N,l),this._z=0);break;case"ZXY":this._x=Math.asin(ve(W,-1,1)),Math.abs(W)<.9999999?(this._y=Math.atan2(-N,Z),this._z=Math.atan2(-f,D)):(this._y=0,this._z=Math.atan2(x,l));break;case"ZYX":this._y=Math.asin(-ve(N,-1,1)),Math.abs(N)<.9999999?(this._x=Math.atan2(W,Z),this._z=Math.atan2(x,l)):(this._x=0,this._z=Math.atan2(-f,D));break;case"YZX":this._z=Math.asin(ve(x,-1,1)),Math.abs(x)<.9999999?(this._x=Math.atan2(-I,D),this._y=Math.atan2(-N,l)):(this._x=0,this._y=Math.atan2(m,Z));break;case"XZY":this._z=Math.asin(-ve(f,-1,1)),Math.abs(f)<.9999999?(this._x=Math.atan2(W,D),this._y=Math.atan2(m,l)):(this._x=Math.atan2(-I,Z),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: ".concat(r))}return this._order=r,t===!0&&this._onChangeCallback(),this}},{key:"setFromQuaternion",value:function(e,r,t){return As.makeRotationFromQuaternion(e),this.setFromRotationMatrix(As,r,t)}},{key:"setFromVector3",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._order;return this.set(e.x,e.y,e.z,r)}},{key:"reorder",value:function(e){return Ia.setFromEuler(this),this.setFromQuaternion(Ia,e)}},{key:"equals",value:function(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}},{key:"fromArray",value:function(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}},{key:"toArray",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e[r]=this._x,e[r+1]=this._y,e[r+2]=this._z,e[r+3]=this._order,e}},{key:"toVector3",value:function(e){return e?e.set(this._x,this._y,this._z):new pe(this._x,this._y,this._z)}},{key:"_onChange",value:function(e){return this._onChangeCallback=e,this}},{key:"_onChangeCallback",value:function(){}}]),i}();Hi.prototype.isEuler=!0,Hi.DefaultOrder="XYZ",Hi.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];var i0=function(){function i(){Ge(this,i),this.mask=1}return rt(i,[{key:"set",value:function(e){this.mask=1<<e|0}},{key:"enable",value:function(e){this.mask|=1<<e|0}},{key:"enableAll",value:function(){this.mask=-1}},{key:"toggle",value:function(e){this.mask^=1<<e|0}},{key:"disable",value:function(e){this.mask&=~(1<<e|0)}},{key:"disableAll",value:function(){this.mask=0}},{key:"test",value:function(e){return(this.mask&e.mask)!==0}}]),i}(),v1=0,Ka=new pe,Sa=new ar,mi=new tr,oo=new pe,Ha=new pe,fu=new pe,Ol=new ar,Oi=new pe(1,0,0),so=new pe(0,1,0),Bo=new pe(0,0,1),Xa={type:"added"},as={type:"removed"},uo={type:"childadded",child:null},is={type:"childremoved",child:null},Ur=function(i){ut(e,i);var s=at(e);function e(){var r;Ge(this,e),r=s.call(this),Object.defineProperty(fi(r),"id",{value:v1++}),r.uuid=le(),r.name="",r.type="Object3D",r.parent=null,r.children=[],r.up=e.DefaultUp.clone();var t=new pe,a=new Hi,l=new ar,f=new pe(1,1,1);function m(){l.setFromEuler(a,!1)}function x(){a.setFromQuaternion(l,void 0,!1)}return a._onChange(m),l._onChange(x),Object.defineProperties(fi(r),{position:{configurable:!0,enumerable:!0,value:t},rotation:{configurable:!0,enumerable:!0,value:a},quaternion:{configurable:!0,enumerable:!0,value:l},scale:{configurable:!0,enumerable:!0,value:f},modelViewMatrix:{value:new tr},normalMatrix:{value:new st}}),r.matrix=new tr,r.matrixWorld=new tr,r.matrixAutoUpdate=e.DefaultMatrixAutoUpdate,r.matrixWorldNeedsUpdate=!1,r.layers=new i0,r.visible=!0,r.castShadow=!1,r.receiveShadow=!1,r.frustumCulled=!0,r.renderOrder=0,r.animations=[],r.userData={},r}return rt(e,[{key:"onBeforeRender",value:function(){}},{key:"onAfterRender",value:function(){}},{key:"applyMatrix4",value:function(t){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(t),this.matrix.decompose(this.position,this.quaternion,this.scale)}},{key:"applyQuaternion",value:function(t){return this.quaternion.premultiply(t),this}},{key:"setRotationFromAxisAngle",value:function(t,a){this.quaternion.setFromAxisAngle(t,a)}},{key:"setRotationFromEuler",value:function(t){this.quaternion.setFromEuler(t,!0)}}
5,{key:"setRotationFromMatrix",value:function(t){this.quaternion.setFromRotationMatrix(t)}},{key:"setRotationFromQuaternion",value:function(t){this.quaternion.copy(t)}},{key:"rotateOnAxis",value:function(t,a){return Sa.setFromAxisAngle(t,a),this.quaternion.multiply(Sa),this}},{key:"rotateOnWorldAxis",value:function(t,a){return Sa.setFromAxisAngle(t,a),this.quaternion.premultiply(Sa),this}},{key:"rotateX",value:function(t){return this.rotateOnAxis(Oi,t)}},{key:"rotateY",value:function(t){return this.rotateOnAxis(so,t)}},{key:"rotateZ",value:function(t){return this.rotateOnAxis(Bo,t)}},{key:"translateOnAxis",value:function(t,a){return Ka.copy(t).applyQuaternion(this.quaternion),this.position.add(Ka.multiplyScalar(a)),this}},{key:"translateX",value:function(t){return this.translateOnAxis(Oi,t)}},{key:"translateY",value:function(t){return this.translateOnAxis(so,t)}},{key:"translateZ",value:function(t){return this.translateOnAxis(Bo,t)}},{key:"localToWorld",value:function(t){return t.applyMatrix4(this.matrixWorld)}},{key:"worldToLocal",value:function(t){return t.applyMatrix4(mi.copy(this.matrixWorld).invert())}},{key:"lookAt",value:function(t,a,l){t.isVector3?oo.copy(t):oo.set(t,a,l);var f=this.parent;this.updateWorldMatrix(!0,!1),Ha.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?mi.lookAt(Ha,oo,this.up):mi.lookAt(oo,Ha,this.up),this.quaternion.setFromRotationMatrix(mi),f&&(mi.extractRotation(f.matrixWorld),Sa.setFromRotationMatrix(mi),this.quaternion.premultiply(Sa.invert()))}},{key:"add",value:function(t){if(arguments.length>1){for(var a=0;a<arguments.length;a++)this.add(arguments[a]);return this}return t===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",t),this):(t&&t.isObject3D?(t.parent!==null&&t.parent.remove(t),t.parent=this,this.children.push(t),t.dispatchEvent(Xa),uo.child=t,this.dispatchEvent(uo),uo.child=null):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",t),this)}},{key:"remove",value:function(t){if(arguments.length>1){for(var a=0;a<arguments.length;a++)this.remove(arguments[a]);return this}var l=this.children.indexOf(t);return l!==-1&&(t.parent=null,this.children.splice(l,1),t.dispatchEvent(as),is.child=t,this.dispatchEvent(is),is.child=null),this}},{key:"removeFromParent",value:function(){var t=this.parent;return t!==null&&t.remove(this),this}},{key:"clear",value:function(){for(var t=0;t<this.children.length;t++){var a=this.children[t];a.parent=null,a.dispatchEvent(as)}return this.children.length=0,this}},{key:"attach",value:function(t){return this.updateWorldMatrix(!0,!1),mi.copy(this.matrixWorld).invert(),t.parent!==null&&(t.parent.updateWorldMatrix(!0,!1),mi.multiply(t.parent.matrixWorld)),t.applyMatrix4(mi),this.add(t),t.updateWorldMatrix(!1,!0),this}},{key:"getObjectById",value:function(t){return this.getObjectByProperty("id",t)}},{key:"getObjectByName",value:function(t){return this.getObjectByProperty("name",t)}},{key:"getObjectByProperty",value:function(t,a){if(this[t]===a)return this;for(var l=0,f=this.children.length;l<f;l++){var m=this.children[l],x=m.getObjectByProperty(t,a);if(x!==void 0)return x}}},{key:"getWorldPosition",value:function(t){return this.updateWorldMatrix(!0,!1),t.setFromMatrixPosition(this.matrixWorld)}},{key:"getWorldQuaternion",value:function(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Ha,t,fu),t}},{key:"getWorldScale",value:function(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Ha,Ol,t),t}},{key:"getWorldDirection",value:function(t){this.updateWorldMatrix(!0,!1);var a=this.matrixWorld.elements;return t.set(a[8],a[9],a[10]).normalize()}},{key:"raycast",value:function(){}},{key:"traverse",value:function(t){t(this);for(var a=this.children,l=0,f=a.length;l<f;l++)a[l].traverse(t)}},{key:"traverseVisible",value:function(t){if(this.visible!==!1){t(this);for(var a=this.children,l=0,f=a.length;l<f;l++)a[l].traverseVisible(t)}}},{key:"traverseAncestors",value:function(t){var a=this.parent;a!==null&&(t(a),a.traverseAncestors(t))}},{key:"updateMatrix",value:function(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}},{key:"updateMatrixWorld",value:function(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||t)&&(this.parent===null?this.matrixWorld.copy(this.matrix
5):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,t=!0);for(var a=this.children,l=0,f=a.length;l<f;l++)a[l].updateMatrixWorld(t)}},{key:"updateWorldMatrix",value:function(t,a){var l=this.parent;if(t===!0&&l!==null&&l.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),a===!0)for(var f=this.children,m=0,x=f.length;m<x;m++)f[m].updateWorldMatrix(!1,!0)}},{key:"toJSON",value:function(t){var a=t===void 0||typeof t=="string",l={};a&&(t={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{}},l.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});var f={};f.uuid=this.uuid,f.type=this.type,this.name!==""&&(f.name=this.name),this.castShadow===!0&&(f.castShadow=!0),this.receiveShadow===!0&&(f.receiveShadow=!0),this.visible===!1&&(f.visible=!1),this.frustumCulled===!1&&(f.frustumCulled=!1),this.renderOrder!==0&&(f.renderOrder=this.renderOrder),JSON.stringify(this.userData)!=="{}"&&(f.userData=this.userData),f.layers=this.layers.mask,f.matrix=this.matrix.toArray(),this.matrixAutoUpdate===!1&&(f.matrixAutoUpdate=!1),this.isInstancedMesh&&(f.type="InstancedMesh",f.count=this.count,f.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(f.instanceColor=this.instanceColor.toJSON()));function m(dt,We){return dt[We.uuid]===void 0&&(dt[We.uuid]=We.toJSON(t)),We.uuid}if(this.isScene)this.background&&(this.background.isColor?f.background=this.background.toJSON():this.background.isTexture&&(f.background=this.background.toJSON(t).uuid)),this.environment&&this.environment.isTexture&&(f.environment=this.environment.toJSON(t).uuid);else if(this.isMesh||this.isLine||this.isPoints){f.geometry=m(t.geometries,this.geometry);var x=this.geometry.parameters;if(x!==void 0&&x.shapes!==void 0){var D=x.shapes;if(Array.isArray(D))for(var I=0,N=D.length;I<N;I++){var W=D[I];m(t.shapes,W)}else m(t.shapes,D)}}if(this.isSkinnedMesh&&(f.bindMode=this.bindMode,f.bindMatrix=this.bindMatrix.toArray(),this.skeleton!==void 0&&(m(t.skeletons,this.skeleton),f.skeleton=this.skeleton.uuid)),this.material!==void 0)if(Array.isArray(this.material)){for(var Z=[],Q=0,oe=this.material.length;Q<oe;Q++)Z.push(m(t.materials,this.material[Q]));f.material=Z}else f.material=m(t.materials,this.material);if(this.children.length>0){f.children=[];for(var K=0;K<this.children.length;K++)f.children.push(this.children[K].toJSON(t).object)}if(this.animations.length>0){f.animations=[];for(var J=0;J<this.animations.length;J++){var _e=this.animations[J];f.animations.push(m(t.animations,_e))}}if(a){var Me=nt(t.geometries),Ae=nt(t.materials),ie=nt(t.textures),we=nt(t.images),Te=nt(t.shapes),Ye=nt(t.skeletons),Ie=nt(t.animations);Me.length>0&&(l.geometries=Me),Ae.length>0&&(l.materials=Ae),ie.length>0&&(l.textures=ie),we.length>0&&(l.images=we),Te.length>0&&(l.shapes=Te),Ye.length>0&&(l.skeletons=Ye),Ie.length>0&&(l.animations=Ie)}return l.object=f,l;function nt(dt){var We=[];for(var it in dt){var ht=dt[it];delete ht.metadata,We.push(ht)}return We}}},{key:"clone",value:function(t){return new this.constructor().copy(this,t)}},{key:"copy",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(this.name=t.name,this.up.copy(t.up),this.position.copy(t.position),this.rotation.order=t.rotation.order,this.quaternion.copy(t.quaternion),this.scale.copy(t.scale),this.matrix.copy(t.matrix),this.matrixWorld.copy(t.matrixWorld),this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.layers.mask=t.layers.mask,this.visible=t.visible,this.castShadow=t.castShadow,this.receiveShadow=t.receiveShadow,this.frustumCulled=t.frustumCulled,this.renderOrder=t.renderOrder,this.userData=JSON.parse(JSON.stringify(t.userData)),a===!0)for(var l=0;l<t.children.length;l++){var f=t.children[l];this.add(f.clone())}return this}}]),e}(q);Ur.DefaultUp=new pe(0,1,0),Ur.DefaultMatrixAutoUpdate=!0,Ur.prototype.isObject3D=!0;var oa=new pe,Un=new pe,pi=new pe,Fa=new pe,No=new pe,Uo=new pe,m1=new pe,os=new pe,C0=new pe,Li=new pe,xn=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new pe,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new pe;Ge(this,i),this.a=s,this.b=e,this.c=r}return rt(i,[{key:"set",value:function(e,r,t){return this.a.copy(e),this.b.copy(r),this.c.copy(t),this}},{key:"setFromPointsAndIndices",value:function(e,r,t,a){return this.a.copy(e[r]),this.b.copy(e[t]),this.c.copy(e[a]),this}},{key:"clone",value:function(){return new this.constructor().copy(this)}},{key:"copy",value:function(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}},{key:"getArea",value:function(){return oa.subVectors(this.c,this.b),Un.subVectors(this.a,this.b),oa.cross(Un).length()*.5}},{key:"getMidpoint",value:function(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}},{key:"getNormal",value:function(e){return i.getNormal(this.a,this.b,this.c,e)}},{key:"getPlane",value:function(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}},{key:"getBarycoord",value:function(e,r){return i.getBarycoord(e,this.a,this.b,this.c,r)}},{key:"getUV",value:function(e,r,t,a,l){return i.getUV(e,this.a,this.b,this.c,r,t,a,l)}},{key:"containsPoint",value:function(e){return i.containsPoint(e,this.a,this.b,this.c)}},{key:"isFrontFacing",value:function(e){return i.isFrontFacing(this.a,this.b,this.c,e)}},{key:"intersectsBox",value:function(e){return e.intersectsTriangle(this)}},{key:"closestPointToPoint",value:function(e,r){var t=this.a,a=this.b,l=this.c,f,m;No.subVectors(a,t),Uo.subVectors(l,t),os.subVectors(e,t);var x=No.dot(os),D=Uo.dot(os);if(x<=0&&D<=0)return r.copy(t);C0.subVectors(e,a);var I=No.dot(C0),N=Uo.dot(C0);if(I>=0&&N<=I)return r.copy(a);var W=x*N-I*D;if(W<=0&&x>=0&&I<=0)return f=x/(x-I),r.copy(t).addScaledVector(No,f);Li.subVectors(e,l);var Z=No.dot(Li),Q=Uo.dot(Li);if(Q>=0&&Z<=Q)return r.copy(l);var oe=Z*D-x*Q;if(oe<=0&&D>=0&&Q<=0)return m=D/(D-Q),r.copy(t).addScaledVector(Uo,m);var K=I*Q-Z*N;if(K<=0&&N-I>=0&&Z-Q>=0)return m1.subVectors(l,a),m=(N-I)/(N-I+(Z-Q)),r.copy(a).addScaledVector(m1,m);var J=1/(K+oe+W);return f=oe*J,m=W*J,r.copy(t).addScaledVector(No,f).addScaledVector(Uo,m)}},{key:"equals",value:function(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}],[{key:"getNormal",value:function(e,r,t,a){a.subVectors(t,r),oa.subVectors(e,r),a.cross(oa);var l=a.lengthSq();return l>0?a.multiplyScalar(1/Math.sqrt(l)):a.set(0,0,0)}},{key:"getBarycoord",value:function(e,r,t,a,l){oa.subVectors(a,r),Un.subVectors(t,r),pi.subVectors(e,r);var f=oa.dot(oa),m=oa.dot(Un),x=oa.dot(pi),D=Un.dot(Un),I=Un.dot(pi),N=f*D-m*m;if(N===0)return l.set(-2,-1,-1);var W=1/N,Z=(D*x-m*I)*W,Q=(f*I-m*x)*W;return l.set(1-Z-Q,Q,Z)}},{key:"containsPoint",value:function(e,r,t,a){return this.getBarycoord(e,r,t,a,Fa),Fa.x>=0&&Fa.y>=0&&Fa.x+Fa.y<=1}},{key:"getUV",value:function(e,r,t,a,l,f,m,x){return this.getBarycoord(e,r,t,a,Fa),x.set(0,0),x.addScaledVector(l,Fa.x),x.addScaledVector(f,Fa.y),x.addScaledVector(m,Fa.z),x}},{key:"isFrontFacing",value:function(e,r,t,a){return oa.subVectors(t,r),Un.subVectors(e,r),oa.cross(Un).dot(a)<0}}]),i}(),o0=0,$n=function(i){ut(e,i);var s=at(e);function e(){var r;
5return Ge(this,e),r=s.call(this),Object.defineProperty(fi(r),"id",{value:o0++}),r.uuid=le(),r.name="",r.type="Material",r.fog=!0,r.blending=_,r.side=V,r.vertexColors=!1,r.opacity=1,r.transparent=!1,r.blendSrc=ue,r.blendDst=ge,r.blendEquation=se,r.blendSrcAlpha=null,r.blendDstAlpha=null,r.blendEquationAlpha=null,r.depthFunc=yt,r.depthTest=!0,r.depthWrite=!0,r.stencilWriteMask=255,r.stencilFunc=hu,r.stencilRef=0,r.stencilFuncMask=255,r.stencilFail=cu,r.stencilZFail=cu,r.stencilZPass=cu,r.stencilWrite=!1,r.clippingPlanes=null,r.clipIntersection=!1,r.clipShadows=!1,r.shadowSide=null,r.colorWrite=!0,r.precision=null,r.polygonOffset=!1,r.polygonOffsetFactor=0,r.polygonOffsetUnits=0,r.dithering=!1,r.alphaTest=0,r.alphaToCoverage=!1,r.premultipliedAlpha=!1,r.visible=!0,r.toneMapped=!0,r.userData={},r.version=0,r}return rt(e,[{key:"onBuild",value:function(){}},{key:"onBeforeCompile",value:function(){}},{key:"customProgramCacheKey",value:function(){return this.onBeforeCompile.toString()}},{key:"setValues",value:function(t){if(t!==void 0)for(var a in t){var l=t[a];if(l===void 0){console.warn("THREE.Material: '".concat(a,"' parameter is undefined."));continue}if(a==="shading"){console.warn("THREE.".concat(this.type,": .shading has been removed. Use the boolean .flatShading instead.")),this.flatShading=l===T;continue}var f=this[a];if(f===void 0){console.warn("THREE.".concat(this.type,": '").concat(a,"' is not a property of this material."));continue}f&&f.isColor?f.set(l):f&&f.isVector3&&l&&l.isVector3?f.copy(l):this[a]=l}}},{key:"toJSON",value:function(t){var a=t===void 0||typeof t=="string";a&&(t={textures:{},images:{}});var l={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};l.uuid=this.uuid,l.type=this.type,this.name!==""&&(l.name=this.name),this.color&&this.color.isColor&&(l.color=this.color.getHex()),this.roughness!==void 0&&(l.roughness=this.roughness),this.metalness!==void 0&&(l.metalness=this.metalness),this.sheen&&this.sheen.isColor&&(l.sheen=this.sheen.getHex()),this.emissive&&this.emissive.isColor&&(l.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(l.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(l.specular=this.specular.getHex()),this.shininess!==void 0&&(l.shininess=this.shininess),this.clearcoat!==void 0&&(l.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(l.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(l.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(l.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(l.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,l.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.map&&this.map.isTexture&&(l.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(l.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(l.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(l.lightMap=this.lightMap.toJSON(t).uuid,l.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(l.aoMap=this.aoMap.toJSON(t).uuid,l.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(l.bumpMap=this.bumpMap.toJSON(t).uuid,l.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(l.normalMap=this.normalMap.toJSON(t).uuid,l.normalMapType=this.normalMapType,l.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(l.displacementMap=this.displacementMap.toJSON(t).uuid,l.displacementScale=this.displacementScale,l.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(l.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(l.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(l.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(l.specularMap=this.specularMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(l.envMap=this.envMap.toJSON(t).uuid,this.combine!==void 0&&(l.combine=this.combine)),this.envMapIntensity!==void 0&&(l.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(l.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(l.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(l.gradientMap=this.gradientMap.toJSON(t).uuid),this.transmission!==void 0&&(l.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(l.transmissionMap=this.transmissionMap.toJSON(t).uuid),this.thickness!==void 0&&(l.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(l.thicknessMap=this.thicknessMap.toJSON(t).uuid),this.attenuationDistance!==void 0&&(l.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(l.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(l.size=this.size),this.shadowSide!==null&&(l.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(l.sizeAttenuation=this.sizeAttenuation),this.blending!==_&&(l.blending=this.blending),this.side!==V&&(l.side=this.side),this.vertexColors&&(l.vertexColors=!0),this.opacity<1&&(l.opacity=this.opacity),this.transparent===!0&&(l.transparent=this.transparent),l.depthFunc=this.depthFunc,l.depthTest=this.depthTest,l.depthWrite=this.depthWrite,l.colorWrite=this.colorWrite,l.stencilWrite=this.stencilWrite,l.stencilWriteMask=this.stencilWriteMask,l.stencilFunc=this.stencilFunc,l.stencilRef=this.stencilRef,l.stencilFuncMask=this.stencilFuncMask,l.stencilFail=this.stencilFail,l.stencilZFail=this.stencilZFail,l.stencilZPass=this.stencilZPass,this.rotation&&this.rotation!==0&&(l.rotation=this.rotation),this.polygonOffset===!0&&(l.polygonOffset=!0),this.polygonOffsetFactor!==0&&(l.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(l.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth&&this.linewidth!==1&&(l.line
5width=this.linewidth),this.dashSize!==void 0&&(l.dashSize=this.dashSize),this.gapSize!==void 0&&(l.gapSize=this.gapSize),this.scale!==void 0&&(l.scale=this.scale),this.dithering===!0&&(l.dithering=!0),this.alphaTest>0&&(l.alphaTest=this.alphaTest),this.alphaToCoverage===!0&&(l.alphaToCoverage=this.alphaToCoverage),this.premultipliedAlpha===!0&&(l.premultipliedAlpha=this.premultipliedAlpha),this.wireframe===!0&&(l.wireframe=this.wireframe),this.wireframeLinewidth>1&&(l.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(l.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(l.wireframeLinejoin=this.wireframeLinejoin),this.morphTargets===!0&&(l.morphTargets=!0),this.morphNormals===!0&&(l.morphNormals=!0),this.flatShading===!0&&(l.flatShading=this.flatShading),this.visible===!1&&(l.visible=!1),this.toneMapped===!1&&(l.toneMapped=!1),JSON.stringify(this.userData)!=="{}"&&(l.userData=this.userData);function f(D){var I=[];for(var N in D){var W=D[N];delete W.metadata,I.push(W)}return I}if(a){var m=f(t.textures),x=f(t.images);m.length>0&&(l.textures=m),x.length>0&&(l.images=x)}return l}},{key:"clone",value:function(){return new this.constructor().copy(this)}},{key:"copy",value:function(t){this.name=t.name,this.fog=t.fog,this.blending=t.blending,this.side=t.side,this.vertexColors=t.vertexColors,this.opacity=t.opacity,this.transparent=t.transparent,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.depthFunc=t.depthFunc,this.depthTest=t.depthTest,this.depthWrite=t.depthWrite,this.stencilWriteMask=t.stencilWriteMask,this.stencilFunc=t.stencilFunc,this.stencilRef=t.stencilRef,this.stencilFuncMask=t.stencilFuncMask,this.stencilFail=t.stencilFail,this.stencilZFail=t.stencilZFail,this.stencilZPass=t.stencilZPass,this.stencilWrite=t.stencilWrite;var a=t.clippingPlanes,l=null;if(a!==null){var f=a.length;l=new Array(f);for(var m=0;m!==f;++m)l[m]=a[m].clone()}return this.clippingPlanes=l,this.clipIntersection=t.clipIntersection,this.clipShadows=t.clipShadows,this.shadowSide=t.shadowSide,this.colorWrite=t.colorWrite,this.precision=t.precision,this.polygonOffset=t.polygonOffset,this.polygonOffsetFactor=t.polygonOffsetFactor,this.polygonOffsetUnits=t.polygonOffsetUnits,this.dithering=t.dithering,this.alphaTest=t.alphaTest,this.alphaToCoverage=t.alphaToCoverage,this.premultipliedAlpha=t.premultipliedAlpha,this.visible=t.visible,this.toneMapped=t.toneMapped,this.userData=JSON.parse(JSON.stringify(t.userData)),this}},{key:"dispose",value:function(){this.dispatchEvent({type:"dispose"})}},{key:"needsUpdate",set:function(t){t===!0&&this.version++}}]),e}(q);$n.prototype.isMaterial=!0;var zo={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},Wa={h:0,s:0,l:0},lo={h:0,s:0,l:0};function co(i,s,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?i+(s-i)*6*e:e<1/2?s:e<2/3?i+(s-i)*6*(2/3-e):i}function ya(i){return i<.04045?i*.0773993808:Math.pow(i*.9478672986+.0521327014,2.4)}
5function oi(i){return i<.0031308?i*12.92:1.055*Math.pow(i,.41666)-.055}var Zt=function(){function i(s,e,r){return Ge(this,i),e===void 0&&r===void 0?this.set(s):this.setRGB(s,e,r)}return rt(i,[{key:"set",value:function(e){return e&&e.isColor?this.copy(e):typeof e=="number"?this.setHex(e):typeof e=="string"&&this.setStyle(e),this}},{key:"setScalar",value:function(e){return this.r=e,this.g=e,this.b=e,this}},{key:"setHex",value:function(e){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,this}},{key:"setRGB",value:function(e,r,t){return this.r=e,this.g=r,this.b=t,this}},{key:"setHSL",value:function(e,r,t){if(e=ye(e,1),r=ve(r,0,1),t=ve(t,0,1),r===0)this.r=this.g=this.b=t;else{var a=t<=.5?t*(1+r):t+r-t*r,l=2*t-a;this.r=co(l,a,e+1/3),this.g=co(l,a,e),this.b=co(l,a,e-1/3)}return this}},{key:"setStyle",value:function(e){function r(W){W!==void 0&&parseFloat(W)<1&&console.warn("THREE.Color: Alpha component of ".concat(e," will be ignored."))}var t;if(t=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(e)){var a,l=t[1],f=t[2];switch(l){case"rgb":case"rgba":if(a=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(f))return this.r=Math.min(255,parseInt(a[1],10))/255,this.g=Math.min(255,parseInt(a[2],10))/255,this.b=Math.min(255,parseInt(a[3],10))/255,r(a[4]),this;if(a=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(f))return this.r=Math.min(100,parseInt(a[1],10))/100,this.g=Math.min(100,parseInt(a[2],10))/100,this.b=Math.min(100,parseInt(a[3],10))/100,r(a[4]),this;break;case"hsl":case"hsla":if(a=/^\s*(\d*\.?\d+)\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(f)){var m=parseFloat(a[1])/360,x=parseInt(a[2],10)/100,D=parseInt(a[3],10)/100;return r(a[4]),this.setHSL(m,x,D)}break}}else if(t=/^\#([A-Fa-f\d]+)$/.exec(e)){var I=t[1],N=I.length;if(N===3)return this.r=parseInt(I.charAt(0)+I.charAt(0),16)/255,this.g=parseInt(I.charAt(1)+I.charAt(1),16)/255,this.b=parseInt(I.charAt(2)+I.charAt(2),16)/255,this;if(N===6)return this.r=parseInt(I.charAt(0)+I.charAt(1),16)/255,this.g=parseInt(I.charAt(2)+I.charAt(3),16)/255,this.b=parseInt(I.charAt(4)+I.charAt(5),16)/255,this}return e&&e.length>0?this.setColorName(e):this}},{key:"setColorName",value:function(e){var r=zo[e.toLowerCase()];return r!==void 0?this.setHex(r):console.warn("THREE.Color: Unknown color ".concat(e)),this}},{key:"clone",value:function(){return new this.constructor(this.r,this.g,this.b)}},{key:"copy",value:function(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}},{key:"copyGammaToLinear",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return this.r=Math.pow(e.r,r),this.g=Math.pow(e.g,r),this.b=Math.pow(e.b,r),this}},{key:"copyLinearToGamma",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,t=r>0?1/r:1;return this.r=Math.pow(e.r,t),this.g=Math.pow(e.g,t),this.b=Math.pow(e.b,t),this}},{key:"convertGammaToLinear",value:function(e){return this.copyGammaToLinear(this,e),this}},{key:"convertLinearToGamma",value:function(e){return this.copyLinearToGamma(this,e),this}},{key:"copySRGBToLinear",value:function(e){return this.r=ya(e.r),this.g=ya(e.g),this.b=ya(e.b),this}},{key:"copyLinearToSRGB",value:function(e){return this.r=oi(e.r),this.g=oi(e.g),this.b=oi(e.b),this}},{key:"convertSRGBToLinear",value:function(){return this.copySRGBToLinear(this),this}},{key:"convertLinearToSRGB",value:function(){return this.copyLinearToSRGB(this),this}},{key:"getHex",value:function(){return this.r*255<<16^this.g*255<<8^this.b*255<<0}},{key:"getHexString",value:function(){return"000000".concat(this.getHex().toString(16)).slice(-6)}},{key:"getHSL",value:function(e){var r=this.r,t=this.g,a=this.b,l=Math.max(r,t,a),f=Math.min(r,t,a),m,x,D=(f+l)/2;if(f===l)m=0,x=0;else{var I=l-f;switch(x=D<=.5?I/(l+f):I/(2-l-f),l){case r:m=(t-a)/I+(t<a?6:0);break;case t:m=(a-r)/I+2;break;case a:m=(r-t)/I+4;break}m/=6}return e.h=m,e.s=x,e.l=D,e}},{key:"getStyle",value:function(){return"rgb(".concat(this.r*255|0,",").concat(this.g*255|0,",").concat(this.b*255|0,")")}},{key:"offsetHSL",value:function(e,r,t){return this.getHSL(Wa),Wa.h+=e,Wa.s+=r,Wa.l+=t,this.setHSL(Wa.h,Wa.s,Wa.l),this}},{key:"add",value:function(e){return this.r+=e.r,this.g+=e.g,this.b+=e.b,this}},{key:"addColors",value:function(e,r){return this.r=e.r+r.r,this.g=e.g+r.g,this.b=e.b+r.b,this}},{key:"addScalar",value:function(e){return this.r+=e,this.g+=e,this.b+=e,this}},{key:"sub",value:function(e){return this.r=Math.max(0,this.r-e.r),this.g=Math.max(0,this.g-e.g),this.b=Math.max(0,this.b-e.b),this}},{key:"multiply",value:function(e){return this.r*=e.r,this.g*=e.g,this.b*=e.b,this}},{key:"multiplyScalar",value:function(e){return this.r*=e,this.g*=e,this.b*=e,this}},{key:"lerp",value:function(e,r){return this.r+=(e.r-this.r)*r,this.g+=(e.g-this.g)*r,this.b+=(e.b-this.b)*r,this}},{key:"lerpColors",value:function(e,r,t){return this.r=e.r+(r.r-e.r)*t,this.g=e.g+(r.g-e.g)*t,this.b=e.b+(r.b-e.b)*t,this}},{key:"lerpHSL",value:function(e,r){this.getHSL(Wa),e.getHSL(lo);var t=Pe(Wa.h,lo.h,r),a=Pe(Wa.s,lo.s,r),l=Pe(Wa.l,lo.l,r);return this.setHSL(t,a,l),this}},{key:"equals",value:function(e){return e.r===this.r&&e.g===this.g&&e.b===this.b}},{key:"fromArray",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this.r=e[r],this.g=e[r+1],this.b=e[r+2],this}},{key:"toArray",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e[r]=this.r,e[r+1]=this.g,e[r+2]=this.b,e}},{key:"fromBufferAttribute",value:function(e,r){return this.r=e.getX(r),this.g=e.getY(r),this.b=e.getZ(r),e.normalized===!0&&(this.r/=255,this.g/=255,this.b/=255),this}},{key:"toJSON",value:function(){return this.getHex()}},{key:"value",get:function(){return this.getHex()},set:function(e){this.setHex(e)}}]),i}();Zt.NAMES=zo,Zt.prototype.isColor=!0,Zt.prototype.r=1,Zt.prototype.g=1,Zt.prototype.b=1;var Xi=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="MeshBasicMaterial",t.color=new Zt(16777215),t.map=null,t.lightMap=null,t.lightMapIntensity=1,t.aoMap=null,t.aoMapIntensity=1,t.specularMap=null,t.alphaMap=null,t.envMap=null,t.comb
5ine=gt,t.reflectivity=1,t.refractionRatio=.98,t.wireframe=!1,t.wireframeLinewidth=1,t.wireframeLinecap="round",t.wireframeLinejoin="round",t.morphTargets=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.morphTargets=t.morphTargets,this}}]),e}($n);Xi.prototype.isMeshBasicMaterial=!0;var ln=new pe,ho=new Je,Hr=function(){function i(s,e,r){if(Ge(this,i),Array.isArray(s))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.name="",this.array=s,this.itemSize=e,this.count=s!==void 0?s.length/e:0,this.normalized=r===!0,this.usage=Gr,this.updateRange={offset:0,count:-1},this.version=0}return rt(i,[{key:"onUploadCallback",value:function(){}},{key:"needsUpdate",set:function(e){e===!0&&this.version++}},{key:"setUsage",value:function(e){return this.usage=e,this}},{key:"copy",value:function(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this}},{key:"copyAt",value:function(e,r,t){e*=this.itemSize,t*=r.itemSize;for(var a=0,l=this.itemSize;a<l;a++)this.array[e+a]=r.array[t+a];return this}},{key:"copyArray",value:function(e){return this.array.set(e),this}},{key:"copyColorsArray",value:function(e){for(var r=this.array,t=0,a=0,l=e.length;a<l;a++){var f=e[a];f===void 0&&(console.warn("THREE.BufferAttribute.copyColorsArray(): color is undefined",a),f=new Zt),r[t++]=f.r,r[t++]=f.g,r[t++]=f.b}return this}},{key:"copyVector2sArray",value:function(e){for(var r=this.array,t=0,a=0,l=e.length;a<l;a++){var f=e[a];f===void 0&&(console.warn("THREE.BufferAttribute.copyVector2sArray(): vector is undefined",a),f=new Je),r[t++]=f.x,r[t++]=f.y}return this}},{key:"copyVector3sArray",value:function(e){for(var r=this.array,t=0,a=0,l=e.length;a<l;a++){var f=e[a];f===void 0&&(console.warn("THREE.BufferAttribute.copyVector3sArray(): vector is undefined",a),f=new pe),r[t++]=f.x,r[t++]=f.y,r[t++]=f.z}return this}},{key:"copyVector4sArray",value:function(e){for(var r=this.array,t=0,a=0,l=e.length;a<l;a++){var f=e[a];f===void 0&&(console.warn("THREE.BufferAttribute.copyVector4sArray(): vector is undefined",a),f=new kt),r[t++]=f.x,r[t++]=f.y,r[t++]=f.z,r[t++]=f.w}return this}},{key:"applyMatrix3",value:function(e){if(this.itemSize===2)for(var r=0,t=this.count;r<t;r++)ho.fromBufferAttribute(this,r),ho.applyMatrix3(e),this.setXY(r,ho.x,ho.y);else if(this.itemSize===3)for(var a=0,l=this.count;a<l;a++)ln.fromBufferAttribute(this,a),ln.applyMatrix3(e),this.setXYZ(a,ln.x,ln.y,ln.z);return this}},{key:"applyMatrix4",value:function(e){for(var r=0,t=this.count;r<t;r++)ln.x=this.getX(r),ln.y=this.getY(r),ln.z=this.getZ(r),ln.applyMatrix4(e),this.setXYZ(r,ln.x,ln.y,ln.z);return this}},{key:"applyNormalMatrix",value:function(e){for(var r=0,t=this.count;r<t;r++)ln.x=this.getX(r),ln.y=this.getY(r),ln.z=this.getZ(r),ln.applyNormalMatrix(e),this.setXYZ(r,ln.x,ln.y,ln.z);return this}},{key:"transformDirection",value:function(e){for(var r=0,t=this.count;r<t;r++)ln.x=this.getX(r),ln.y=this.getY(r),ln.z=this.getZ(r),ln.transformDirection(e),this.setXYZ(r,ln.x,ln.y,ln.z);return this}},{key:"set",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this.array.set(e,r),this}},{key:"getX",value:function(e){return this.array[e*this.itemSize]}},{key:"setX",value:function(e,r){return this.array[e*this.itemSize]=r,this}},{key:"getY",value:function(e){return this.array[e*this.itemSize+1]}},{key:"setY",value:function(e,r){return this.array[e*this.itemSize+1]=r,this}},{key:"getZ",value:function(e){return this.array[e*this.itemSize+2]}},{key:"setZ",value:function(e,r){return this.array[e*this.itemSize+2]=r,this}},{key:"getW",value:function(e){return this.array[e*this.itemSize+3]}},{key:"setW",value:function(e,r){return this.array[e*this.itemSize+3]=r,this}},{key:"setXY",value:function(e,r,t){return e*=this.itemSize,this.array[e+0]=r,this.array[e+1]=t,this}},{key:"setXYZ",value:function(e,r,t,a){return e*=this.itemSize,this.array[e+0]=r,this.array[e+1]=t,this.array[e+2]=a,this}},{key:"setXYZW",value:function(e,r,t,a,l){return e*=this.itemSize,this.array[e+0]=r,this.array[e+1]=t,this.array[e+2]=a,this.array[e+3]=l,this}},{key:"onUpload",value:function(e){return this.onUploadCallback=e,this}},{key:"clone",value:function(){return new this.constructor(this.array,this.itemSize).copy(this)}},{key:"toJSON",value:function(){var e={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.prototype.slice.call(this.array),normalized:this.normalized};return this.name!==""&&(e.name=this.name),this.usage!==Gr&&(e.usage=this.usage),(this.updateRange.offset!==0||this.updateRange.count!==-1)&&(e.updateRange=this.updateRange),e}}]),i}();Hr.prototype.isBufferAttribute=!0;var Cs=function(i){ut(e,i);var s=at(e);function e(r,t,a){return Ge(this,e),s.call(this,new Int8Array(r),t,a)}return e}(Hr),s0=function(i){ut(e,i);var s=at(e);function e(r,t,a){return Ge(this,e),s.call(this,new Uint8Array(r),t,a)}return e}(Hr),Go=function(i){ut(e,i);var s=at(e);function e(r,t,a){return Ge(this,e),s.call(this,new Uint8ClampedArray(r),t,a)}return e}(Hr),Vo=function(i){ut(e,i);var s=at(e);function e(r,t,a){return Ge(this,e),s.call(this,new Int16Array(r),t,a)}return e}(Hr),gi=function(i){ut(e,i);var s=at(e);function e(r,t,a){return Ge(this,e),s.call(this,new Uint16Array(r),t,a)}return e}(Hr),ss=function(i){ut(e,i);var s=at(e);function e(r,t,a){return Ge(this,e),s.call(this,new Int32Array(r),t,a)}return e}(Hr),Rs=function(i){ut(e,i);var s=at(e);function e(r,t,a){return Ge(this,e),s.call(this,new Uint32Array(r),t,a)}return e}(Hr),R0=function(i){ut(e,i);var s=at(e);function e(r,t,a){return Ge(this,e),s.call(this,new Uint16Array(r),t,a)}return e}(Hr);R0.prototype.isFloat16BufferAttribute=!0;var ur=function(i){ut(e,i);var s=at(e);function e(r,t,a){return Ge(this,e),s.call(this,new Float32Array(r),t,a)}return e}(Hr),us=function(i){ut(e,i);var s=at(e);function e(r,t,a){return Ge(this,e),s.call(this,new Float64Array(r),t,a)}return e}(Hr);function ls(i){if(i.length===0)return-1/0;for(var s=i[0],e=1,r=i.length;e<r;++e)i[e]>s&&(s=i[e]);return s}var Ho={Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array};function Ba(i,s){return new Ho[i](s)}var O0=0,Yn=new tr,fo=new Ur,Ya=new pe,wn=new Jt,yi=new Jt,qn=new pe,mr=function(i){ut(e,i);var s=at(e);function e(){var r;
5return Ge(this,e),r=s.call(this),Object.defineProperty(fi(r),"id",{value:O0++}),r.uuid=le(),r.name="",r.type="BufferGeometry",r.index=null,r.attributes={},r.morphAttributes={},r.morphTargetsRelative=!1,r.groups=[],r.boundingBox=null,r.boundingSphere=null,r.drawRange={start:0,count:1/0},r.userData={},r}return rt(e,[{key:"getIndex",value:function(){return this.index}},{key:"setIndex",value:function(t){return Array.isArray(t)?this.index=new(ls(t)>65535?Rs:gi)(t,1):this.index=t,this}},{key:"getAttribute",value:function(t){return this.attributes[t]}},{key:"setAttribute",value:function(t,a){return this.attributes[t]=a,this}},{key:"deleteAttribute",value:function(t){return delete this.attributes[t],this}},{key:"hasAttribute",value:function(t){return this.attributes[t]!==void 0}},{key:"addGroup",value:function(t,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;this.groups.push({start:t,count:a,materialIndex:l})}},{key:"clearGroups",value:function(){this.groups=[]}},{key:"setDrawRange",value:function(t,a){this.drawRange.start=t,this.drawRange.count=a}},{key:"applyMatrix4",value:function(t){var a=this.attributes.position;a!==void 0&&(a.applyMatrix4(t),a.needsUpdate=!0);var l=this.attributes.normal;if(l!==void 0){var f=new st().getNormalMatrix(t);l.applyNormalMatrix(f),l.needsUpdate=!0}var m=this.attributes.tangent;return m!==void 0&&(m.transformDirection(t),m.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}},{key:"applyQuaternion",value:function(t){return Yn.makeRotationFromQuaternion(t),this.applyMatrix4(Yn),this}},{key:"rotateX",value:function(t){return Yn.makeRotationX(t),this.applyMatrix4(Yn),this}},{key:"rotateY",value:function(t){return Yn.makeRotationY(t),this.applyMatrix4(Yn),this}},{key:"rotateZ",value:function(t){return Yn.makeRotationZ(t),this.applyMatrix4(Yn),this}},{key:"translate",value:function(t,a,l){return Yn.makeTranslation(t,a,l),this.applyMatrix4(Yn),this}},{key:"scale",value:function(t,a,l){return Yn.makeScale(t,a,l),this.applyMatrix4(Yn),this}},{key:"lookAt",value:function(t){return fo.lookAt(t),fo.updateMatrix(),this.applyMatrix4(fo.matrix),this}},{key:"center",value:function(){return this.computeBoundingBox(),this.boundingBox.getCenter(Ya).negate(),this.translate(Ya.x,Ya.y,Ya.z),this}},{key:"setFromPoints",value:function(t){for(var a=[],l=0,f=t.length;l<f;l++){var m=t[l];a.push(m.x,m.y,m.z||0)}return this.setAttribute("position",new ur(a,3)),this}},{key:"computeBoundingBox",value:function(){this.boundingBox===null&&(this.boundingBox=new Jt);var t=this.attributes.position,a=this.morphAttributes.position;if(t&&t.isGLBufferAttribute){console.error('THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set "mesh.frustumCulled" to "fal
5se".',this),this.boundingBox.set(new pe(-1/0,-1/0,-1/0),new pe(1/0,1/0,1/0));return}if(t!==void 0){if(this.boundingBox.setFromBufferAttribute(t),a)for(var l=0,f=a.length;l<f;l++){var m=a[l];wn.setFromBufferAttribute(m),this.morphTargetsRelative?(qn.addVectors(this.boundingBox.min,wn.min),this.boundingBox.expandByPoint(qn),qn.addVectors(this.boundingBox.max,wn.max),this.boundingBox.expandByPoint(qn)):(this.boundingBox.expandByPoint(wn.min),this.boundingBox.expandByPoint(wn.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)}},{key:"computeBoundingSphere",value:function(){this.boundingSphere===null&&(this.boundingSphere=new Nn);var t=this.attributes.position,a=this.morphAttributes.position;if(t&&t.isGLBufferAttribute){console.error('THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set "mesh.frustumCulled" to "fal
5se".',this),this.boundingSphere.set(new pe,1/0);return}if(t){var l=this.boundingSphere.center;if(wn.setFromBufferAttribute(t),a)for(var f=0,m=a.length;f<m;f++){var x=a[f];yi.setFromBufferAttribute(x),this.morphTargetsRelative?(qn.addVectors(wn.min,yi.min),wn.expandByPoint(qn),qn.addVectors(wn.max,yi.max),wn.expandByPoint(qn)):(wn.expandByPoint(yi.min),wn.expandByPoint(yi.max))}wn.getCenter(l);for(var D=0,I=0,N=t.count;I<N;I++)qn.fromBufferAttribute(t,I),D=Math.max(D,l.distanceToSquared(qn));if(a)for(var W=0,Z=a.length;W<Z;W++)for(var Q=a[W],oe=this.morphTargetsRelative,K=0,J=Q.count;K<J;K++)qn.fromBufferAttribute(Q,K),oe&&(Ya.fromBufferAttribute(t,K),qn.add(Ya)),D=Math.max(D,l.distanceToSquared(qn));this.boundingSphere.radius=Math.sqrt(D),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}}},{key:"computeFaceNormals",value:function(){}},{key:"computeTangents",value:function(){var t=this.index,a=this.attributes;if(t===null||a.position===void 0||a.normal===void 0||a.uv===void 0){console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");return}var l=t.array,f=a.position.array,m=a.normal.array,x=a.uv.array,D=f.length/3;a.tangent===void 0&&this.setAttribute("tangent",new Hr(new Float32Array(4*D),4));for(var I=a.tangent.array,N=[],W=[],Z=0;Z<D;Z++)N[Z]=new pe,W[Z]=new pe;var Q=new pe,oe=new pe,K=new pe,J=new Je,_e=new Je,Me=new Je,Ae=new pe,ie=new pe;function we(zr,on,Xr){Q.fromArray(f,zr*3),oe.fromArray(f,on*3),K.fromArray(f,Xr*3),J.fromArray(x,zr*2),_e.fromArray(x,on*2),Me.fromArray(x,Xr*2),oe.sub(Q),K.sub(Q),_e.sub(J),Me.sub(J);var Rr=1/(_e.x*Me.y-Me.x*_e.y);isFinite(Rr)&&(Ae.copy(oe).multiplyScalar(Me.y).addScaledVector(K,-_e.y).multiplyScalar(Rr),ie.copy(K).multiplyScalar(_e.x).addScaledVector(oe,-Me.x).multiplyScalar(Rr),N[zr].add(Ae),N[on].add(Ae),N[Xr].add(Ae),W[zr].add(ie),W[on].add(ie),W[Xr].add(ie))}var Te=this.groups;Te.length===0&&(Te=[{start:0,count:l.length}]);for(var Ye=0,Ie=Te.length;Ye<Ie;++Ye)for(var nt=Te[Ye],dt=nt.start,We=nt.count,it=dt,ht=dt+We;it<ht;it+=3)we(l[it+0],l[it+1],l[it+2]);var Ze=new pe,lt=new pe,Et=new pe,Xt=new pe;function Bt(zr){Et.fromArray(m,zr*3),Xt.copy(Et);var on=N[zr];Ze.copy(on),Ze.sub(Et.multiplyScalar(Et.dot(on))).normalize(),lt.crossVectors(Xt,on);var Xr=lt.dot(W[zr]),Rr=Xr<0?-1:1;I[zr*4]=Ze.x,I[zr*4+1]=Ze.y,I[zr*4+2]=Ze.z,I[zr*4+3]=Rr}for(var Ot=0,Gt=Te.length;Ot<Gt;++Ot)for(var lr=Te[Ot],Dr=lr.start,Ar=lr.count,Fe=Dr,fr=Dr+Ar;Fe<fr;Fe+=3)Bt(l[Fe+0]),Bt(l[Fe+1]),Bt(l[Fe+2])}},{key:"computeVertexNormals",value:function(){var t=this.index,a=this.getAttribute("position");if(a!==void 0){var l=this.getAttribute("normal");if(l===void 0)l=new Hr(new Float32Array(a.count*3),3),this.setAttribute("normal",l);else for(var f=0,m=l.count;f<m;f++)l.setXYZ(f,0,0,0);var x=new pe,D=new pe,I=new pe,N=new pe,W=new pe,Z=new pe,Q=new pe,oe=new pe;if(t)for(var K=0,J=t.count;K<J;K+=3){var _e=t.getX(K+0),Me=t.getX(K+1),Ae=t.getX(K+2);x.fromBufferAttribute(a,_e),D.fromBufferAttribute(a,Me),I.fromBufferAttribute(a,Ae),Q.subVectors(I,D),oe.subVectors(x,D),Q.cross(oe),N.fromBufferAttribute(l,_e),W.fromBufferAttribute(l,Me),Z.fromBufferAttribute(l,Ae),N.add(Q),W.add(Q),Z.add(Q),l.setXYZ(_e,N.x,N.y,N.z),l.setXYZ(Me,W.x,W.y,W.z),l.setXYZ(Ae,Z.x,Z.y,Z.z)}else for(var ie=0,we=a.count;ie<we;ie+=3)x.fromBufferAttribute(a,ie+0),D.fromBufferAttribute(a,ie+1),I.fromBufferAttribute(a,ie+2),Q.subVectors(I,D),oe.subVectors(x,D),Q.cross(oe),l.setXYZ(ie+0,Q.x,Q.y,Q.z),l.setXYZ(ie+1,Q.x,Q.y,Q.z),l.setXYZ(ie+2,Q.x,Q.y,Q.z);this.normalizeNormals(),l.needsUpdate=!0}}},{key:"merge",value:function(t,a){if(!(t&&t.isBufferGeometry)){console.error("THREE.BufferGeometry.merge(): geometry not an instance of THREE.BufferGeometry.",t);return}a===void 0&&(a=0,console.warn("THREE.BufferGeometry.merge(): Overwriting original geometry, starting at offset=0. Use BufferGeometryUtils.mergeBufferGeometries() for lossless merge."));var l=this.attributes;for(var f in l)if(t.attributes[f]!==void 0)for(var m=l[f],x=m.array,D=t.attributes[f],I=D.array,N=D.itemSize*a,W=Math.min(I.length,x.length-N),Z=0,Q=N;Z<W;Z++,Q++)x[Q]=I[Z];return this}},{key:"normalizeNormals",value:function(){for(var t=this.attributes.normal,a=0,l=t.count;a<l;a++)qn.fromBufferAttribute(t,a),qn.normalize(),t.setXYZ(a,qn.x,qn.y,qn.z)}},{key:"toNonIndexed",value:function(){function t(we,Te){for(var Ye=we.array,Ie=we.itemSize,nt=we.normalized,dt=new Ye.constructor(Te.length*Ie),We=0,it=0,ht=0,Ze=Te.length;ht<Ze;ht++){we.isInterleavedBufferAttribute?We=Te[ht]*we.data.stride+we.offset:We=Te[ht]*Ie;for(var lt=0;lt<Ie;lt++)dt[it++]=Ye[We++]}return new Hr(dt,Ie,nt)}if(this.index===null)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;var a=new e,l=this.index.array,f=this.attributes;for(var m in f){var x=f[m],D=t(x,l);a.setAttribute(m,D)}var I=this.morphAttributes;for(var N in I){for(var W=[],Z=I[N],Q=0,oe=Z.length;Q<oe;Q++){var K=Z[Q],J=t(K,l);W.push(J)}a.morphAttributes[N]=W}a.morphTargetsRelative=this.morphTargetsRelative;for(var _e=this.groups,Me=0,Ae=_e.length;Me<Ae;Me++){var ie=_e[Me];a.addGroup(ie.start,ie.count,ie.materialIndex)}return a}},{key:"toJSON",value:function(){var t={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};
5if(t.uuid=this.uuid,t.type=this.type,this.name!==""&&(t.name=this.name),Object.keys(this.userData).length>0&&(t.userData=this.userData),this.parameters!==void 0){var a=this.parameters;for(var l in a)a[l]!==void 0&&(t[l]=a[l]);return t}t.data={attributes:{}};var f=this.index;f!==null&&(t.data.index={type:f.array.constructor.name,array:Array.prototype.slice.call(f.array)});var m=this.attributes;for(var x in m){var D=m[x];t.data.attributes[x]=D.toJSON(t.data)}var I={},N=!1;for(var W in this.morphAttributes){for(var Z=this.morphAttributes[W],Q=[],oe=0,K=Z.length;oe<K;oe++){var J=Z[oe];Q.push(J.toJSON(t.data))}Q.length>0&&(I[W]=Q,N=!0)}N&&(t.data.morphAttributes=I,t.data.morphTargetsRelative=this.morphTargetsRelative);var _e=this.groups;_e.length>0&&(t.data.groups=JSON.parse(JSON.stringify(_e)));var Me=this.boundingSphere;return Me!==null&&(t.data.boundingSphere={center:Me.center.toArray(),radius:Me.radius}),t}},{key:"clone",value:function(){return new e().copy(this)}},{key:"copy",value:function(t){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;var a={};this.name=t.name;var l=t.index;l!==null&&this.setIndex(l.clone(a));var f=t.attributes;for(var m in f){var x=f[m];this.setAttribute(m,x.clone(a))}var D=t.morphAttributes;for(var I in D){for(var N=[],W=D[I],Z=0,Q=W.length;Z<Q;Z++)N.push(W[Z].clone(a));this.morphAttributes[I]=N}this.morphTargetsRelative=t.morphTargetsRelative;for(var oe=t.groups,K=0,J=oe.length;K<J;K++){var _e=oe[K];this.addGroup(_e.start,_e.count,_e.materialIndex)}var Me=t.boundingBox;Me!==null&&(this.boundingBox=Me.clone());var Ae=t.boundingSphere;return Ae!==null&&(this.boundingSphere=Ae.clone()),this.drawRange.start=t.drawRange.start,this.drawRange.count=t.drawRange.count,this.userData=t.userData,this}},{key:"dispose",value:function(){this.dispatchEvent({type:"dispose"})}}]),e}(q);mr.prototype.isBufferGeometry=!0;var u0=new tr,Xo=new ga,l0=new Nn,Wi=new pe,Na=new pe,Yi=new pe,c0=new pe,h0=new pe,bi=new pe,si=new pe,cs=new pe,_i=new pe,qa=new Je,Os=new Je,hs=new Je,Ls=new pe,fs=new pe,zn=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new mr,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Xi;return Ge(this,e),r=s.call(this),r.type="Mesh",r.geometry=t,r.material=a,r.updateMorphTargets(),r}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),t.morphTargetInfluences!==void 0&&(this.morphTargetInfluences=t.morphTargetInfluences.slice()),t.morphTargetDictionary!==void 0&&(this.morphTargetDictionary=Object.assign({},t.morphTargetDictionary)),this.material=t.material,this.geometry=t.geometry,this}},{key:"updateMorphTargets",value:function(){var t=this.geometry;if(t.isBufferGeometry){var a=t.morphAttributes,l=Object.keys(a);if(l.length>0){var f=a[l[0]];if(f!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(var m=0,x=f.length;m<x;m++){var D=f[m].name||String(m);this.morphTargetInfluences.push(0),this.morphTargetDictionary[D]=m}}}}else{var I=t.morphTargets;I!==void 0&&I.length>0&&console.error("THREE.Mesh.updateMorphTargets() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}}},{key:"raycast",value:function(t,a){var l=this.geometry,f=this.material,m=this.matrixWorld;if(f!==void 0&&(l.boundingSphere===null&&l.computeBoundingSphere(),l0.copy(l.boundingSphere),l0.applyMatrix4(m),t.ray.intersectsSphere(l0)!==!1&&(u0.copy(m).invert(),Xo.copy(t.ray).applyMatrix4(u0),!(l.boundingBox!==null&&Xo.intersectsBox(l.boundingBox)===!1)))){var x;if(l.isBufferGeometry){var D=l.index,I=l.attributes.position,N=l.morphAttributes.position,W=l.morphTargetsRelative,Z=l.attributes.uv,Q=l.attributes.uv2,oe=l.groups,K=l.drawRange;if(D!==null)if(Array.isArray(f))for(var J=0,_e=oe.length;J<_e;J++)for(var Me=oe[J],Ae=f[Me.materialIndex],ie=Math.max(Me.start,K.start),we=Math.min(Me.start+Me.count,K.start+K.count),Te=ie,Ye=we;Te<Ye;Te+=3){var Ie=D.getX(Te),nt=D.getX(Te+1),dt=D.getX(Te+2);x=Ps(this,Ae,t,Xo,I,N,W,Z,Q,Ie,nt,dt),x&&(x.faceIndex=Math.floor(Te/3),x.face.materialIndex=Me.materialIndex,a.push(x))}else for(var We=Math.max(0,K.start),it=Math.min(D.count,K.start+K.count),ht=We,Ze=it;ht<Ze;ht+=3){var lt=D.getX(ht),Et=D.getX(ht+1),Xt=D.getX(ht+2);x=Ps(this,f,t,Xo,I,N,W,Z,Q,lt,Et,Xt),x&&(x.faceIndex=Math.floor(ht/3),a.push(x))}else if(I!==void 0)if(Array.isArray(f))for(var Bt=0,Ot=oe.length;Bt<Ot;Bt++)for(var Gt=oe[Bt],lr=f[Gt.materialIndex],Dr=Math.max(Gt.start,K.start),Ar=Math.min(Gt.start+Gt.count,K.start+K.count),Fe=Dr,fr=Ar;Fe<fr;Fe+=3){var zr=Fe,on=Fe+1,Xr=Fe+2;x=Ps(this,lr,t,Xo,I,N,W,Z,Q,zr,on,Xr),x&&(x.faceIndex=Math.floor(Fe/3),x.face.materialIndex=Gt.materialIndex,a.push(x))}else for(var Rr=Math.max(0,K.start),Mr=Math.min(I.count,K.start+K.count),cn=Rr,nn=Mr;cn<nn;cn+=3){var En=cn,Aa=cn+1,fa=cn+2;x=Ps(this,f,t,Xo,I,N,W,Z,Q,En,Aa,fa),x&&(x.faceIndex=Math.floor(cn/3),a.push(x))}}else l.isGeometry&&console.error("THREE.Mesh.raycast() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}}}]),e}(Ur);zn.prototype.isMesh=!0;function f0(i,s,e,r,t,a,l,f){var m;if(s.side===L?m=r.intersectTriangle(l,a,t,!0,f):m=r.intersectTriangle(t,a,l,s.side!==F,f),m===null)return null;fs.copy(f),fs.applyMatrix4(i.matrixWorld);var x=e.ray.origin.distanceTo(fs);return x<e.near||x>e.far?null:{distance:x,point:fs.clone(),object:i}}function Ps(i,s,e,r,t,a,l,f,m,x,D,I){Wi.fromBufferAttribute(t,x),Na.fromBufferAttribute(t,D),Yi.fromBufferAttribute(t,I);var N=i.morphTargetInfluences;if(s.morphTargets&&a&&N){si.set(0,0,0),cs.set(0,0,0),_i.set(0,0,0);for(var W=0,Z=a.length;W<Z;W++){var Q=N[W],oe=a[W];Q!==0&&(c0.fromBufferAttribute(oe,x),h0.fromBufferAttribute(oe,D),bi.fromBufferAttribute(oe,I),l?(si.addScaledVector(c0,Q),cs.addScaledVector(h0,Q),_i.addScaledVector(bi,Q)):(si.addScaledVector(c0.sub(Wi),Q),cs.addScaledVector(h0.sub(Na),Q),_i.addScaledVector(bi.sub(Yi),Q)))}Wi.add(si),Na.add(cs),Yi.add(_i)}i.isSkinnedMesh&&(i.boneTransform(x,Wi),i.boneTransform(D,Na),i.boneTransform(I,Yi));var K=f0(i,s,e,r,Wi,Na,Yi,Ls);if(K){f&&(qa.fromBufferAttribute(f,x),Os.fromBufferAttribute(f,D),hs.fromBufferAttribute(f,I),K.uv=xn.getUV(Ls,Wi,Na,Yi,qa,Os,hs,new Je)),m&&(qa.fromBufferAttribute(m,x),Os.fromBufferAttribute(m,D),hs.fromBufferAttribute(m,I),K.uv2=xn.getUV(Ls,Wi,Na,Yi,qa,Os,hs,new Je));var J={a:x,b:D,c:I,normal:new pe,materialIndex:0};xn.getNormal(Wi,Na,Yi,J.normal),K.face=J}return K}var Pi=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:1;Ge(this,e),r=s.call(this),r.type="BoxGeometry",r.parameters={width:t,height:a,depth:l,widthSegments:f,heightSegments:m,depthSegments:x};var D=fi(r);f=Math.floor(f),m=Math.floor(m),x=Math.floor(x);var I=[],N=[],W=[],Z=[],Q=0,oe=0;K("z","y","x",-1,-1,l,a,t,x,m,0),K("z","y","x",1,-1,l,a,-t,x,m,1),K("x","z","y",1,1,t,l,a,f,x,2),K("x","z","y",1,-1,t,l,-a,f,x,3),K("x","y","z",1,-1,t,a,l,f,m,4),K("x","y","z",-1,-1,t,a,-l,f,m,5),r.setIndex(I),r.setAttribute("position",new ur(N,3)),r.setAttribute("normal",new ur(W,3)),r.setAttribute("uv",new ur(Z,2));function K(J,_e,Me,Ae,ie,we,Te,Ye,Ie,nt,dt){for(var We=we/Ie,it=Te/nt,ht=we/2,Ze=Te/2,lt=Ye/2,Et=Ie+1,Xt=nt
5+1,Bt=0,Ot=0,Gt=new pe,lr=0;lr<Xt;lr++)for(var Dr=lr*it-Ze,Ar=0;Ar<Et;Ar++){var Fe=Ar*We-ht;Gt[J]=Fe*Ae,Gt[_e]=Dr*ie,Gt[Me]=lt,N.push(Gt.x,Gt.y,Gt.z),Gt[J]=0,Gt[_e]=0,Gt[Me]=Ye>0?1:-1,W.push(Gt.x,Gt.y,Gt.z),Z.push(Ar/Ie),Z.push(1-lr/nt),Bt+=1}for(var fr=0;fr<nt;fr++)for(var zr=0;zr<Ie;zr++){var on=Q+zr+Et*fr,Xr=Q+zr+Et*(fr+1),Rr=Q+(zr+1)+Et*(fr+1),Mr=Q+(zr+1)+Et*fr;I.push(on,Xr,Mr),I.push(Xr,Rr,Mr),Ot+=6}D.addGroup(oe,Ot,dt),oe+=Ot,Q+=Bt}return r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.width,t.height,t.depth,t.widthSegments,t.heightSegments,t.depthSegments)}}]),e}(mr);function qi(i){var s={};for(var e in i){s[e]={};for(var r in i[e]){var t=i[e][r];t&&(t.isColor||t.isMatrix3||t.isMatrix4||t.isVector2||t.isVector3||t.isVector4||t.isQuaternion)?s[e][r]=t.clone():Array.isArray(t)?s[e][r]=t.slice():s[e][r]=t}}return s}function Ma(i){for(var s={},e=0;e<i.length;e++){var r=qi(i[e]);for(var t in r)s[t]=r[t]}return s}var Wo={clone:qi,merge:Ma},Ll="void main() {\n	gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",Ds="void main() {\n	gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}",ui=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="ShaderMaterial",t.defines={},t.uniforms={},t.vertexShader=Ll,t.fragmentShader=Ds,t.linewidth=1,t.wireframe=!1,t.wireframeLinewidth=1,t.fog=!1,t.lights=!1,t.clipping=!1,t.morphTargets=!1,t.morphNormals=!1,t.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},t.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},t.index0AttributeName=void 0,t.uniformsNeedUpdate=!1,t.glslVersion=null,r!==void 0&&(r.attributes!==void 0&&console.error("THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead."),t.setValues(r)),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.fragmentShader=t.fragmentShader,this.vertexShader=t.vertexShader,this.uniforms=qi(t.uniforms),this.defines=Object.assign({},t.defines),this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.lights=t.lights,this.clipping=t.clipping,this.morphTargets=t.morphTargets,this.morphNormals=t.morphNormals,this.extensions=Object.assign({},t.extensions),this.glslVersion=t.glslVersion,this}},{key:"toJSON",value:function(t){var a=n(Ct(e.prototype),"toJSON",this).call(this,t);a.glslVersion=this.glslVersion,a.uniforms={};for(var l in this.uniforms){var f=this.uniforms[l],m=f.value;m&&m.isTexture?a.uniforms[l]={type:"t",value:m.toJSON(t).uuid}:m&&m.isColor?a.uniforms[l]={type:"c",value:m.getHex()}:m&&m.isVector2?a.uniforms[l]={type:"v2",value:m.toArray()}:m&&m.isVector3?a.uniforms[l]={type:"v3",value:m.toArray()}:m&&m.isVector4?a.uniforms[l]={type:"v4",value:m.toArray()}:m&&m.isMatrix3?a.uniforms[l]={type:"m3",value:m.toArray()}:m&&m.isMatrix4?a.uniforms[l]={type:"m4",value:m.toArray()}:a.uniforms[l]={value:m}}Object.keys(this.defines).length>0&&(a.defines=this.defines),a.vertexShader=this.vertexShader,a.fragmentShader=this.fragmentShader;var x={};for(var D in this.extensions)this.extensions[D]===!0&&(x[D]=!0);return Object.keys(x).length>0&&(a.extensions=x),a}}]),e}($n);ui.prototype.isShaderMaterial=!0;var vo=function(i){ut(e,i);var s=at(e);function e(){var r;return Ge(this,e),r=s.call(this),r.type="Camera",r.matrixWorldInverse=new tr,r.projectionMatrix=new tr,r.projectionMatrixInverse=new tr,r}return rt(e,[{key:"copy",value:function(t,a){return n(Ct(e.prototype),"copy",this).call(this,t,a),this.matrixWorldInverse.copy(t.matrixWorldInverse),this.projectionMatrix.copy(t.projectionMatrix),this.projectionMatrixInverse.copy(t.projectionMatrixInverse),this}},{key:"getWorldDirection",value:function(t){this.updateWorldMatrix(!0,!1);var a=this.matrixWorld.elements;return t.set(-a[8],-a[9],-a[10]).normalize()}},{key:"updateMatrixWorld",value:function(t){n(Ct(e.prototype),"updateMatrixWorld",this).call(this,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}},{key:"updateWorldMatrix",value:function(t,a){n(Ct(e.prototype),"updateWorldMatrix",this).call(this,t,a),this.matrixWorldInverse.copy(this.matrixWorld).invert()}},{key:"clone",value:function(){return new this.constructor().copy(this)}}]),e}(Ur);vo.prototype.isCamera=!0;var Ta=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:50,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2e3;return Ge(this,e),r=s.call(this),r.type="PerspectiveCamera",r.fov=t,r.zoom=1,r.near=l,r.far=f,r.focus=10,r.aspect=a,r.view=null,r.filmGauge=35,r.f
5ilmOffset=0,r.updateProjectionMatrix(),r}return rt(e,[{key:"copy",value:function(t,a){return n(Ct(e.prototype),"copy",this).call(this,t,a),this.fov=t.fov,this.zoom=t.zoom,this.near=t.near,this.far=t.far,this.focus=t.focus,this.aspect=t.aspect,this.view=t.view===null?null:Object.assign({},t.view),this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this}},{key:"setFocalLength",value:function(t){var a=.5*this.getFilmHeight()/t;this.fov=ce*2*Math.atan(a),this.updateProjectionMatrix()}},{key:"getFocalLength",value:function(){var t=Math.tan(ne*.5*this.fov);return .5*this.getFilmHeight()/t}},{key:"getEffectiveFOV",value:function(){return ce*2*Math.atan(Math.tan(ne*.5*this.fov)/this.zoom)}},{key:"getFilmWidth",value:function(){return this.filmGauge*Math.min(this.aspect,1)}},{key:"getFilmHeight",value:function(){return this.filmGauge/Math.max(this.aspect,1)}},{key:"setViewOffset",value:function(t,a,l,f,m,x){this.aspect=t/a,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=t,this.view.fullHeight=a,this.view.offsetX=l,this.view.offsetY=f,this.view.width=m,this.view.height=x,this.updateProjectionMatrix()}},{key:"clearViewOffset",value:function(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}},{key:"updateProjectionMatrix",value:function(){var t=this.near,a=t*Math.tan(ne*.5*this.fov)/this.zoom,l=2*a,f=this.aspect*l,m=-.5*f,x=this.view;if(this.view!==null&&this.view.enabled){var D=x.fullWidth,I=x.fullHeight;m+=x.offsetX*f/D,a-=x.offsetY*l/I,f*=x.width/D,l*=x.height/I}var N=this.filmOffset;N!==0&&(m+=t*N/this.getFilmWidth()),this.projectionMatrix.makePerspective(m,m+f,a,a-l,t,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}},{key:"toJSON",value:function(t){var a=n(Ct(e.prototype),"toJSON",this).call(this,t);return a.object.fov=this.fov,a.object.zoom=this.zoom,a.object.near=this.near,a.object.far=this.far,a.object.focus=this.focus,a.object.aspect=this.aspect,this.view!==null&&(a.object.view=Object.assign({},this.view)),a.object.filmGauge=this.filmGauge,a.object.filmOffset=this.filmOffset,a}}]),e}(vo);Ta.prototype.isPerspectiveCamera=!0;var ds=90,ji=1,mo=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l;if(Ge(this,e),l=s.call(this),l.type="CubeCamera",a.isWebGLCubeRenderTarget!==!0)return console.error("THREE.CubeCamera: The constructor now expects an instance of WebGLCubeRenderTarget as third parameter."),r0(l);l.renderTarget=a;var f=new Ta(ds,ji,r,t);f.layers=l.layers,f.up.set(0,-1,0),f.lookAt(new pe(1,0,0)),l.add(f);var m=new Ta(ds,ji,r,t);m.layers=l.layers,m.up.set(0,-1,0),m.lookAt(new pe(-1,0,0)),l.add(m);var x=new Ta(ds,ji,r,t);x.layers=l.layers,x.up.set(0,0,1),x.lookAt(new pe(0,1,0)),l.add(x);var D=new Ta(ds,ji,r,t);D.layers=l.layers,D.up.set(0,0,-1),D.lookAt(new pe(0,-1,0)),l.add(D);var I=new Ta(ds,ji,r,t);I.layers=l.layers,I.up.set(0,-1,0),I.lookAt(new pe(0,0,1)),l.add(I);var N=new Ta(ds,ji,r,t);return N.layers=l.layers,N.up.set(0,-1,0),N.lookAt(new pe(0,0,-1)),l.add(N),l}return rt(e,[{key:"update",value:function(t,a){this.parent===null&&this.updateMatrixWorld();var l=this.renderTarget,f=c(this.children,6),m=f[0],x=f[1],D=f[2],I=f[3],N=f[4],W=f[5],Z=t.xr.enabled,Q=t.getRenderTarget();t.xr.enabled=!1;var oe=l.texture.generateMipmaps;l.texture.generateMipmaps=!1,t.setRenderTarget(l,0),t.render(a,m),t.setRenderTarget(l,1),t.render(a,x),t.setRenderTarget(l,2),t.render(a,D),t.setRenderTarget(l,3),t.render(a,I),t.setRenderTarget(l,4),t.render(a,N),l.texture.generateMipmaps=oe,t.setRenderTarget(l,5),t.render(a,W),t.setRenderTarget(Q),t.xr.enabled=Z}}]),e}(Ur),Ji=function(i){ut(e,i);var s=at(e);function e(r,t,a,l,f,m,x,D,I,N){var W;return Ge(this,e),r=r!==void 0?r:[],t=t!==void 0?t:Oa,x=x!==void 0?x:ts,W=s.call(this,r,t,a,l,f,m,x,D,I,N),W._needsFlipEnvMap=!0,W.flipY=!1,W}return rt(e,[{key:"images",get:function(){return this.image},set:function(t){this.image=t}}]),e}(Nt);Ji.prototype.isCubeTexture=!0;var L0=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l;return Ge(this,e),Number.isInteger(t)&&(console.warn("THREE.WebGLCubeRen
5derTarget: constructor signature is now WebGLCubeRenderTarget( size, options )"),t=a),l=s.call(this,r,r,t),t=t||{},l.texture=new Ji(void 0,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.encoding),l.texture.generateMipmaps=t.generateMipmaps!==void 0?t.generateMipmaps:!1,l.texture.minFilter=t.minFilter!==void 0?t.minFilter:Wn,l.texture._needsFlipEnvMap=!1,l}return rt(e,[{key:"fromEquirectangularTexture",value:function(t,a){this.texture.type=a.type,this.texture.format=ai,this.texture.encoding=a.encoding,this.texture.generateMipmaps=a.generateMipmaps,this.texture.minFilter=a.minFilter,this.texture.magFilter=a.magFilter;var l={uniforms:{tEquirect:{value:null}},vertexShader:"\n\n				varying vec3 vWorldDirection;\n\n				vec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n					return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n				}\n\n				void main() {\n\n					vWorldDirection = transformDirection( position, modelMatrix );\n\n					#include <begin_vertex>\n					#include <project_vertex>\n\n				}\n			",fragmentShader:"\n\n				uniform sampler2D tEquirect;\n\n				varying vec3 vWorldDirection;\n\n				#include <common>\n\n				void main() {\n\n					vec3 direction = normalize( vWorldDirection );\n\n					vec2 sampleUV = equirectUv( direction );\n\n					gl_FragColor = texture2D( tEquirect, sampleUV );\n\n				}\n			"},f=new Pi(5,5,5),m=new ui({name:"CubemapFromEquirect",uniforms:qi(l.uniforms),vertexShader:l.vertexShader,fragmentShader:l.fragmentShader,side:L,blending:w});m.uniforms.tEquirect.value=a;var x=new zn(f,m),D=a.minFilter;a.minFilter===ro&&(a.minFilter=Wn);var I=new mo(1,10,this);return I.update(t,x),a.minFilter=D,x.geometry.dispose(),x.material.dispose(),this}},{key:"clear",value:function(t,a,l,f){for(var m=t.getRenderTarget(),x=0;x<6;x++)t.setRenderTarget(this,x),t.clear(a,l,f);t.setRenderTarget(m)}}]),e}(qt);L0.prototype.isWebGLCubeRenderTarget=!0;var po=new pe,P0=new pe,D0=new st,ja=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new pe(1,0,0),e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ge(this,i),this.normal=s,this.constant=e}return rt(i,[{key:"set",value:function(e,r){return this.normal.copy(e),this.constant=r,this}},{key:"setComponents",value:function(e,r,t,a){return this.normal.set(e,r,t),this.constant=a,this}},{key:"setFromNormalAndCoplanarPoint",value:function(e,r){return this.normal.copy(e),this.constant=-r.dot(this.normal),this}},{key:"setFromCoplanarPoints",value:function(e,r,t){var a=po.subVectors(t,r).cross(P0.subVectors(e,r)).normalize();return this.setFromNormalAndCoplanarPoint(a,e),this}},{key:"copy",value:function(e){return this.normal.copy(e.normal),this.constant=e.constant,this}},{key:"normalize",value:function(){var e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}},{key:"negate",value:function(){return this.constant*=-1,this.normal.negate(),this}},{key:"distanceToPoint",value:function(e){return this.normal.dot(e)+this.constant}},{key:"distanceToSphere",value:function(e){return this.distanceToPoint(e.center)-e.radius}},{key:"projectPoint",value:function(e,r){return r.copy(this.normal).multiplyScalar(-this.distanceToPoint(e)).add(e)}},{key:"intersectLine",value:function(e,r){var t=e.delta(po),a=this.normal.dot(t);if(a===0)return this.distanceToPoint(e.start)===0?r.copy(e.start):null;var l=-(e.start.dot(this.normal)+this.constant)/a;return l<0||l>1?null:r.copy(t).multiplyScalar(l).add(e.start)}},{key:"intersectsLine",value:function(e){var r=this.distanceToPoint(e.start),t=this.distanceToPoint(e.end);return r<0&&t>0||t<0&&r>0}},{key:"intersectsBox",value:function(e){return e.intersectsPlane(this)}},{key:"intersectsSphere",value:function(e){return e.intersectsPlane(this)}},{key:"coplanarPoint",value:function(e){return e.copy(this.normal).multiplyScalar(-this.constant)}},{key:"applyMatrix4",value:function(e,r){var t=r||D0.getNormalMatrix(e),a=this.coplanarPoint(po).applyMatrix4(e),l=this.normal.applyMatrix3(t).normalize();return this.constant=-a.dot(l),this}},{key:"translate",value:function(e){return this.constant-=e.dot(this.normal),this}},{key:"equals",value:function(e){return e.normal.equals(this.normal)&&e.constant===this.constant}},{key:"clone",value:function(){return new this.constructor().copy(this)}}]),i}();ja.prototype.isPlane=!0;var go=new Nn,yo=new pe,Is=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new ja,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new ja,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new ja,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:new ja,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:new ja,l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:new ja;Ge(this,i),this.planes=[s,e,r,t,a,l]}return rt(i,[{key:"set",value:function(e,r,t,a,l,f){var m=this.planes;return m[0].copy(e),m[1].copy(r),m[2].copy(t),m[3].copy(a),m[4].copy(l),m[5].copy(f),this}},{key:"copy",value:function(e){for(var r=this.planes,t=0;t<6;
5t++)r[t].copy(e.planes[t]);return this}},{key:"setFromProjectionMatrix",value:function(e){var r=this.planes,t=e.elements,a=t[0],l=t[1],f=t[2],m=t[3],x=t[4],D=t[5],I=t[6],N=t[7],W=t[8],Z=t[9],Q=t[10],oe=t[11],K=t[12],J=t[13],_e=t[14],Me=t[15];return r[0].setComponents(m-a,N-x,oe-W,Me-K).normalize(),r[1].setComponents(m+a,N+x,oe+W,Me+K).normalize(),r[2].setComponents(m+l,N+D,oe+Z,Me+J).normalize(),r[3].setComponents(m-l,N-D,oe-Z,Me-J).normalize(),r[4].setComponents(m-f,N-I,oe-Q,Me-_e).normalize(),r[5].setComponents(m+f,N+I,oe+Q,Me+_e).normalize(),this}},{key:"intersectsObject",value:function(e){var r=e.geometry;return r.boundingSphere===null&&r.computeBoundingSphere(),go.copy(r.boundingSphere).applyMatrix4(e.matrixWorld),this.intersectsSphere(go)}},{key:"intersectsSprite",value:function(e){return go.center.set(0,0,0),go.radius=.7071067811865476,go.applyMatrix4(e.matrixWorld),this.intersectsSphere(go)}},{key:"intersectsSphere",value:function(e){for(var r=this.planes,t=e.center,a=-e.radius,l=0;l<6;l++){var f=r[l].distanceToPoint(t);if(f<a)return!1}return!0}},{key:"intersectsBox",value:function(e){for(var r=this.planes,t=0;t<6;t++){var a=r[t];if(yo.x=a.normal.x>0?e.max.x:e.min.x,yo.y=a.normal.y>0?e.max.y:e.min.y,yo.z=a.normal.z>0?e.max.z:e.min.z,a.distanceToPoint(yo)<0)return!1}return!0}},{key:"containsPoint",value:function(e){for(var r=this.planes,t=0;t<6;t++)if(r[t].distanceToPoint(e)<0)return!1;return!0}},{key:"clone",value:function(){return new this.constructor().copy(this)}}]),i}();function Fs(){var i=null,s=!1,e=null,r=null;function t(a,l){e(a,l),r=i.requestAnimationFrame(t)}return{start:function(){s!==!0&&e!==null&&(r=i.requestAnimationFrame(t),s=!0)},stop:function(){i.cancelAnimationFrame(r),s=!1},setAnimationLoop:function(l){e=l},setContext:function(l){i=l}}}function d0(i,s){var e=s.isWebGL2,r=new WeakMap;function t(x,D){var I=x.array,N=x.usage,W=i.createBuffer();i.bindBuffer(D,W),i.bufferData(D,I,N),x.onUploadCallback();var Z=i.FLOAT;return I instanceof Float32Array?Z=i.FLOAT:I instanceof Float64Array?console.warn("THREE.WebGLAttributes: Unsupported data buffer format: Float64Array."):I instanceof Uint16Array?x.isFloat16BufferAttribute?e?Z=i.HALF_FLOAT:console.warn("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2."):Z=i.UNSIGNED_SHORT:I instanceof Int16Array?Z=i.SHORT:I instanceof Uint32Array?Z=i.UNSIGNED_INT:I instanceof Int32Array?Z=i.INT:I instanceof Int8Array?Z=i.BYTE:(I instanceof Uint8Array||I instanceof Uint8ClampedArray)&&(Z=i.UNSIGNED_BYTE),{buffer:W,type:Z,bytesPerElement:I.BYTES_PER_ELEMENT,version:x.version}}function a(x,D,I){var N=D.array,W=D.updateRange;i.bindBuffer(I,x),W.count===-1?i.bufferSubData(I,0,N):(e?i.bufferSubData(I,W.offset*N.BYTES_PER_ELEMENT,N,W.offset,W.count):i.bufferSubData(I,W.offset*N.BYTES_PER_ELEMENT,N.subarray(W.offset,W.offset+W.count)),W.count=-1)}function l(x){return x.isInterleavedBufferAttribute&&(x=x.data),r.get(x)}function f(x){x.isInterleavedBufferAttribute&&(x=x.data);var D=r.get(x);D&&(i.deleteBuffer(D.buffer),r.delete(x))}function m(x,D){if(x.isGLBufferAttribute){var I=r.get(x);(!I||I.version<x.version)&&r.set(x,{buffer:x.buffer,type:x.type,bytesPerElement:x.elementSize,version:x.version});return}x.isInterleavedBufferAttribute&&(x=x.data);var N=r.get(x);N===void 0?r.set(x,t(x,D)):N.version<x.version&&(a(N.buffer,x,D),N.version=x.version)}return{get:l,remove:f,update:m}}var vs=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;Ge(this,e),r=s.call(this),r.type="PlaneGeometry",r.parameters={width:t,height:a,widthSegments:l,heightSegments:f};for(var m=t/2,x=a/2,D=Math.floor(l),I=Math.floor(f),N=D+1,W=I+1,Z=t/D,Q=a/I,oe=[],K=[],J=[],_e=[],Me=0;Me<W;Me++)for(var Ae=Me*Q-x,ie=0;ie<N;ie++){var we=ie*Z-m;K.push(we,-Ae,0),J.push(0,0,1),_e.push(ie/D),_e.push(1-Me/I)}for(var Te=0;Te<I;Te++)for(var Ye=0;Ye<D;Ye++){var Ie=Ye+N*Te,nt=Ye+N*(Te+1),dt=Ye+1+N*(Te+1),We=Ye+1+N*Te;oe.push(Ie,nt,We),oe.push(nt,dt,We)}return r.setIndex(oe),r.setAttribute("position",new ur(K,3)),r.setAttribute("normal",new ur(J,3)),r.setAttribute("uv",new ur(_e,2)),r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.width,t.height,t.widthSegments,t.heightSegments)}}]),e}(mr),Bs="#ifdef USE_ALPHAMAP\n	diffuseColor.a *= texture2D( alphaMap, vUv ).g;\n#endif",I0="#ifdef USE_ALPHAMAP\n	uniform sampler2D alphaMap;\n#endif",v0="#ifdef ALPHATEST\n	if ( diffuseColor.a < ALPHATEST ) discard;\n#endif",p1="#ifdef USE_AOMAP\n	float ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\n	reflectedLight.indirectDiffuse *= ambientOcclusion;\n	#if defined( USE_ENVMAP ) && defined( STANDARD )\n		float dotNV = saturate( dot
5( geometry.normal, geometry.viewDir ) );\n		reflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.specularRoughness );\n	#endif\n#endif",ms="#ifdef USE_AOMAP\n	uniform sampler2D aoMap;\n	uniform float aoMapIntensity;\n#endif",g1="vec3 transformed = vec3( position );",F0="vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n	vec3 objectTangent = vec3( tangent.xyz );\n#endif",y1="vec2 integrateSpecularBRDF( const in float dotNV, const in float roughness ) {\n	const vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n	const vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n	vec4 r = roughness * c0 + c1;\n	float a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n	return vec2( -1.04, 1.04 ) * a004 + r.zw;\n}\nfloat punctualLightIntensityToIrradianceFactor( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n#if defined ( PHYSICALLY_CORRECT_LIGHTS )\n	float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n	if( cutoffDistance > 0.0 ) {\n		distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n	}\n	return distanceFalloff;\n#else\n	if( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n		return pow( saturate( -lightDistance / cutoffDistance + 1.0 ), decayExponent );\n	}\n	return 1.0;\n#endif\n}\nvec3 BRDF_Diffuse_Lambert( const in vec3 diffuseColor ) {\n	return RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 specularColor, const in float dotVH ) {\n	float fresnel = exp2( ( -5.55473 * dotVH - 6.98316 ) * dotVH );\n	return ( 1.0 - specularColor ) * fresnel + specularColor;\n}\nvec3 F_Schlick_RoughnessDependent( const in vec3 F0, const in float dotNV, const in float roughness ) {\n	float fresnel = exp2( ( -5.55473 * dotNV - 6.98316 ) * dotNV );\n	vec3 Fr = max( vec3( 1.0 - roughness ), F0 ) - F0;\n	return Fr * fresnel + F0;\n}\nfloat G_GGX_Smith( const in float alpha, const in float dotNL, const in float dotNV ) {\n	float a2 = pow2( alpha );\n	float gl = dotNL + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n	float gv = dotNV + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n	return 1.0 / ( gl * gv );\n}\nfloat G_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n	float a2 = pow2( alpha );\n	float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n	float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n	return 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n	float a2 = pow2( alpha );\n	float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n	return RECIPROCAL_PI * a2 / pow2( denom );\n}\nvec3 BRDF_Specular_GGX( const in IncidentLight incidentLight, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n	float alpha = pow2( roughness );\n	vec3 halfDir = normalize( incidentLight.direction + viewDir );\n	float dotNL = saturate( dot( normal, incidentLight.direction ) );\n	float dotNV = saturate( dot( normal, viewDir ) );\n	float dotNH = saturate( dot( normal, halfDir ) );\n	float dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n	vec3 F = F_Schlick( specularColor, dotLH );
5\n	float G = G_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n	float D = D_GGX( alpha, dotNH );\n	return F * ( G * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n	const float LUT_SIZE = 64.0;\n	const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n	const float LUT_BIAS = 0.5 / LUT_SIZE;\n	float dotNV = saturate( dot( N, V ) );\n	vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n	uv = uv * LUT_SCALE + LUT_BIAS;\n	return uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n	float l = length( f );\n	return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n	float x = dot( v1, v2 );\n	float y = abs( x );\n	float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n	float b = 3.4175940 + ( 4.1616724 + y ) * y;\n	float v = a / b;\n	float theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n	return cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n	vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n	vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n	vec3 lightNormal = cross( v1, v2 );\n	if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n	vec3 T1, T2;\n	T1 = normalize( V - N * dot( V, N ) );\n	T2 = - cross( N, T1 );\n	mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n	vec3 coords[ 4 ];\n	coords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n	coords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n	coords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n	coords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n	coords[ 0 ] = normalize( coords[ 0 ] );\n	coords[ 1 ] = normalize( coords[ 1 ] );\n	coords[ 2 ] = normalize( coords[ 2 ] );\n	coords[ 3 ] = normalize( coords[ 3 ] );\n	vec3 vectorFormFactor = vec3( 0.0 );\n	vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n	vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n	vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n	vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n	float result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n	return vec3( result );\n}\nvec3 BRDF_Specular_GGX_Environment( const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n	float dotNV = saturate( dot( normal, viewDir ) );\n	vec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n	return specularColor * brdf.x + brdf.y;\n}\nvoid BRDF_Specular_Multiscattering_Environment( const in GeometricContext geometry, const in vec3 specularColor, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n	float dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n	vec3 F = F_Schlick_RoughnessDependent( specularColor, dotNV, roughness );\n	vec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n	vec3 FssEss = F * brdf.x + brdf.y;\n	float Ess = brdf.x + brdf.y;\n	float Ems = 1.0 - Ess;\n	vec3 Favg = specularColor + ( 1.0 - specularColor ) * 0.047619;	vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n	singleScatter += FssEss;\n	multiScatter += Fms * Ems;\n}\nfloat G_BlinnPhong_Implicit( ) {\n	return 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n	return RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_Specular_BlinnPhong( const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float shininess ) {\n	vec3 halfDir = normalize( incidentLight.direction + geometry.viewDir );\n	float dotNH = saturate( dot( geometry.normal, halfDir ) );\n	float dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n	vec3 F = F_Schlick( specularColor, dotLH );\n	float G = G_BlinnPhong_Implicit( );\n	float D = D_BlinnPhong( shininess, dotNH );\n	return F * ( G * D );\n}\nfloat GGXRoughnessToBlinnExponent( const in float ggxRoughness ) {\n	return ( 2.0 / pow2( ggxRoughness + 0.0001 ) - 2.0 );\n}\nfloat BlinnExponentToGGXRoughness( const in float blinnExponent ) {\n	return sqrt( 2.0 / ( blinnExponent + 2.0 ) );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie(float roughness, float NoH) {\n	float invAlpha = 1.0 / roughness;\n	float cos2h = NoH * NoH;\n	float sin2h = max(1.0 - cos2h, 0.0078125);	return (2.0 + invAlpha) * pow(sin2h, invAlpha * 0.5) / (2.0 * PI);\n}
5\nfloat V_Neubelt(float NoV, float NoL) {\n	return saturate(1.0 / (4.0 * (NoL + NoV - NoL * NoV)));\n}\nvec3 BRDF_Specular_Sheen( const in float roughness, const in vec3 L, const in GeometricContext geometry, vec3 specularColor ) {\n	vec3 N = geometry.normal;\n	vec3 V = geometry.viewDir;\n	vec3 H = normalize( V + L );\n	float dotNH = saturate( dot( N, H ) );\n	return specularColor * D_Charlie( roughness, dotNH ) * V_Neubelt( dot(N, V), dot(N, L) );\n}\n#endif",Ns="#ifdef USE_BUMPMAP\n	uniform sampler2D bumpMap;\n	uniform float bumpScale;\n	vec2 dHdxy_fwd() {\n		vec2 dSTdx = dFdx( vUv );\n		vec2 dSTdy = dFdy( vUv );\n		float Hll = bumpScale * texture2D( bumpMap, vUv ).x;\n		float dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\n		float dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\n		return vec2( dBx, dBy );\n	}\n	vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n		vec3 vSigmaX = vec3( dFdx( surf_pos.x ), dFdx( surf_pos.y ), dFdx( surf_pos.z ) );\n		vec3 vSigmaY = vec3( dFdy( surf_pos.x ), dFdy( surf_pos.y ), dFdy( surf_pos.z ) );\n		vec3 vN = surf_norm;\n		vec3 R1 = cross( vSigmaY, vN );\n		vec3 R2 = cross( vN, vSigmaX );\n		float fDet = dot( vSigmaX, R1 ) * faceDirection;\n		vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n		return normalize( abs( fDet ) * surf_norm - vGrad );\n	}\n#endif",m0="#if NUM_CLIPPING_PLANES > 0\n	vec4 plane;\n	#pragma unroll_loop_start\n	for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n		plane = clippingPlanes[ i ];\n		if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n	}\n	#pragma unroll_loop_end\n	#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n		bool clipped = true;\n		#pragma unroll_loop_start\n		for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n			plane = clippingPlanes[ i ];\n			clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n		}\n		#pragma unroll_loop_end\n		if ( clipped ) discard;\n	#endif\n#endif",Zi="#if NUM_CLIPPING_PLANES > 0\n	varying vec3 vClipPosition;\n	uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",Ki="#if NUM_CLIPPING_PLANES > 0\n	varying vec3 vClipPosition;\n#endif",bo="#if NUM_CLIPPING_PLANES > 0\n	vClipPosition = - mvPosition.xyz;\n#endif",b1="#if defined( USE_COLOR_ALPHA )\n	diffuseColor *= vColor;\n#elif defined( USE_COLOR )\n	diffuseColor.rgb *= vColor;\n#endif",du="#if defined( USE_COLOR_ALPHA )\n	varying vec4 vColor;\n#elif defined( USE_COLOR )\n	varying vec3 vColor;\n#endif",B0="#if defined( USE_COLOR_ALPHA )\n	varying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n	varying vec3 vColor;\n#endif",p0="#if defined( USE_COLOR_ALPHA )\n	vColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n	vColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n	vColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n	vColor.xyz *= instanceColor.xyz;\n#endif",_1="#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate(a) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement(a) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat average( const in vec3 color ) { return dot( color, vec3( 0.3333 ) ); }\nhighp float rand( const in vec2 uv ) {\n	const highp float a = 12.9898, b = 78.233, c = 43758.5453;\n	highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n	return fract(sin(sn) * c);\n}\n#ifdef HIGH_PRECISION\n	float precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n	float max3( vec3 v ) { return max( max( v.x, v.y ), v.z ); }\n	float precisionSafeLength( vec3 v ) {\n		float maxComponent = max3( abs( v ) );\n		return length( v / maxComponent ) * maxComponent;\n	}\n#endif\nstruct IncidentLight {\n	vec3 color;\n	vec3 direction;\n	bool visible;\n};\nstruct ReflectedLight {\n	vec3 directDiffuse;\n	vec3 directSpecular;\n	vec3 indirectDiffuse;\n	vec3 indirectSpecular;\n};\nstruct GeometricContext {\n	vec3 position;\n	vec3 normal;\n	vec3 viewDir;\n#ifdef CLEARCOAT\n	vec3 clearcoatNormal;\n#endif\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n	return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n	return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nvec3 projectOnPlane(in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n	float distance = dot( planeNormal, point - pointOnPlane );\n	return - distance * planeNormal + point;\n}\nfloat sideOfPlane( in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n	return sign( dot( point - pointOnPlane, planeNormal ) );\n}\nvec3 linePlaneIntersect( in vec3 pointOnLine, in vec3 lineDirection, in vec3 pointOnPlane, in vec3 planeNormal ) {\n	return lineDirection * ( dot( planeNormal, pointOnPlane - pointOnLine ) / dot( planeNormal, lineDirection ) ) + pointOnLine;\n}\nmat3 transposeMat3( const in mat3 m ) {\n	mat3 tmp;\n	tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n	tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n	tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n	return tmp;\n}\nfloat linearToRelativeLuminance( const in vec3 color ) {\n	vec3 weights = vec3( 0.2126, 0.7152, 0.0722 );\n	return dot( weights, color.rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n	return m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n	float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n	float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n	return vec2( u, v );\n}",N0="#ifdef ENVMAP_TYPE_CUBE_UV\n	#define cubeUV_maxMipLevel 8.0\n	#define cubeUV_minMipLevel 4.0\n	#define cubeUV_maxTileSize 256.0\n	#define cubeUV_minTileSize 16.0\n	float getFace( vec3 direction ) {\n		vec3 absDirection = abs( direction );\n		float face = - 1.0;\n		if ( absDirection.x > absDirection.z ) {\n			if ( absDirection.x > absDirection.y )\n				face = direction.x > 0.0 ? 0.0 : 3.0;\n			else\n				face = direction.y > 0.0 ? 1.0 : 4.0;\n		} else {\n			if ( absDirection.z > absDirection.y )\n				face = direction.z > 0.0 ? 2.0 : 5.0;\n			else\n				face = direction.y > 0.0 ? 1.0 : 4.0;\n		}\n		return face;\n	}\n	vec2 getUV( vec3 direction, float face ) {\n		vec2 uv;\n		if ( face == 0.0 ) {\n			uv = vec2( direction.z, direction.y ) / abs( direction.x );\n		} else if ( face == 1.0 ) {\n			uv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n		} else if ( face == 2.0 ) {\n			uv = vec2( - direction.x, direction.y ) / abs( direction.z );\n		} else if ( face == 3.0 ) {\n			uv = vec2( - direction.z, direction.y ) / abs( direction.x );\n		} else if ( face == 4.0 ) {\n			uv = vec2( - direction.x, direction.z ) / abs( direction.y );\n		} else {\n			uv = vec2( direction.x, direction.y ) / abs( direction.z );\n		}\n		return 0.5 * ( uv + 1.0 );\n	}\n	vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n		float face = getFace( direction );\n		float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n		mipInt = max( mipInt, cubeUV_minMipLevel );\n		float faceSize = exp2( mipInt );\n		float texelSize = 1.0 / ( 3.0 * cubeUV_maxTileSize );\n		vec2 uv = getUV( direction, face ) * ( faceSize - 1.0 );\n		vec2 f = fract( uv );\n		uv += 0.5 - f;\n		if ( face > 2.0 ) {\n			uv.y += faceSize;\n			face -= 3.0;\n		}\n		uv.x += face * faceSize;\n		if ( mipInt < cubeUV_maxMipLevel ) {\n			uv.y += 2.0 * cubeUV_maxTileSize;\n		}\n		uv.y += filterInt * 2.0 * cubeUV_minTileSize;\n		uv.x += 3.0 * max( 0.0, cubeUV_maxTileSize - 2.0 * faceSize );\n		uv *= texelSize;\n		vec3 tl = envMapTexelToLinear( texture2D( envMap, uv ) ).rgb;\n		uv.x += texelSize;\n		vec3 tr = envMapTexelToLinear( texture2D( envMap, uv ) ).rgb;\n		uv.y += texelSize;\n		vec3 br = envMapTexelToLinear( texture2D( envMap, uv ) ).rgb;\n		uv.x -= texelSize;\n		vec3 bl = envMapTexelToLinear( texture2D( envMap, uv ) ).rgb;\n		vec3 tm = mix( tl, tr, f.x );\n		vec3 bm = mix( bl, br, f.x );\n		return mix( tm, bm, f.y );\n	}\n	#define r0 1.0\n	#define v0 0.339\n	#define m0 - 2.0\n	#define r1 0.8\n	#define v1 0.276\n	#define m1 - 1.0\n	#define r4 0.4\n	#define v4 0.046\n	#define m4 2.0\n	#define r5 0.305\n	#define v5 0.016\n	#define m5 3.0\n	#define r6 0.21\n	#define v6 0.0038\n	#define m6 4.0\n	float roughnessToMip( float roughness ) {\n		float mip = 0.0;\n		if ( roughness >= r1 ) {\n			mip = ( r0 - roughness ) * ( m1 - m0 ) / ( r0 - r1 ) + m0;\n		} else if ( roughness >= r4 ) {\n			mip = ( r1 - roughness ) * ( m4 - m1 ) / ( r1 - r4 ) + m1;\n		} else if ( roughness >= r5 ) {\n			mip = ( r4 - roughness ) * ( m5 - m4 ) / ( r4 - r5 ) + m4;\n		} else if ( roughness >= r6 ) {\n			mip = ( r5 - roughness ) * ( m6 - m5 ) / ( r5 - r6 ) + m5;\n		} else {\n			mip = - 2.0 * log2( 1.16 * roughness );		}\n		return mip;\n	}\n	vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n		float mip = clamp( roughnessToMip( roughness ), m0, cubeUV_maxMipLevel );\n		float mipF = fract( mip );\n		float mipInt = floor( mip );\n		vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n		if ( mipF == 0.0 ) {\n			return vec4( color0, 1.0 );\n		} else {\n			vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n			return vec4( mix( color0, color1, mipF ), 1.0 );\n		}\n	}\n#endif",vu="vec3 transformedNormal = objectNormal;\n#ifdef USE_INSTANCING\n	mat3 m = mat3( instanceMatrix );\n	transformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) );\n	transformedNormal = m * transformedNormal;\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n	transformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n	vec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n	#ifdef FLIP_SIDED\n		transformedTangent = - transformedTangent;\n	#endif\n#endif",x1="#ifdef USE_DISPLACEMENTMAP\n	uniform sampler2D displacementMap;\n	uniform float displacementScale;\n	uniform float displacementBias;\n#endif",xi="#ifdef USE_DISPLACEMENTMAP\n	transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + dis
5placementBias );\n#endif",Yo="#ifdef USE_EMISSIVEMAP\n	vec4 emissiveColor = texture2D( emissiveMap, vUv );\n	emissiveColor.rgb = emissiveMapTexelToLinear( emissiveColor ).rgb;\n	totalEmissiveRadiance *= emissiveColor.rgb;\n#endif",g0="#ifdef USE_EMISSIVEMAP\n	uniform sampler2D emissiveMap;\n#endif",w1="gl_FragColor = linearToOutputTexel( gl_FragColor );",mu="\nvec4 LinearToLinear( in vec4 value ) {\n	return value;\n}\nvec4 GammaToLinear( in vec4 value, in float gammaFactor ) {\n	return vec4( pow( value.rgb, vec3( gammaFactor ) ), value.a );\n}\nvec4 LinearToGamma( in vec4 value, in float gammaFactor ) {\n	return vec4( pow( value.rgb, vec3( 1.0 / gammaFactor ) ), value.a );\n}\nvec4 sRGBToLinear( in vec4 value ) {\n	return vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );\n}\nvec4 LinearTosRGB( in vec4 value ) {\n	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 );\n}\nvec4 RGBEToLinear( in vec4 value ) {\n	return vec4( value.rgb * exp2( value.a * 255.0 - 128.0 ), 1.0 );\n}\nvec4 LinearToRGBE( in vec4 value ) {\n	float maxComponent = max( max( value.r, value.g ), value.b );\n	float fExp = clamp( ceil( log2( maxComponent ) ), -128.0, 127.0 );\n	return vec4( value.rgb / exp2( fExp ), ( fExp + 128.0 ) / 255.0 );\n}\nvec4 RGBMToLinear( in vec4 value, in float maxRange ) {\n	return vec4( value.rgb * value.a * maxRange, 1.0 );\n}\nvec4 LinearToRGBM( in vec4 value, in float maxRange ) {\n	float maxRGB = max( value.r, max( value.g, value.b ) );\n	float M = clamp( maxRGB / maxRange, 0.0, 1.0 );\n	M = ceil( M * 255.0 ) / 255.0;\n	return vec4( value.rgb / ( M * maxRange ), M );\n}\nvec4 RGBDToLinear( in vec4 value, in float maxRange ) {\n	return vec4( value.rgb * ( ( maxRange / 255.0 ) / value.a ), 1.0 );\n}\nvec4 LinearToRGBD( in vec4 value, in float maxRange ) {\n	float maxRGB = max( value.r, max( value.g, value.b ) );\n	float D = max( maxRange / maxRGB, 1.0 );\n	D = clamp( floor( D ) / 255.0, 0.0, 1.0 );\n	return vec4( value.rgb * ( D * ( 255.0 / maxRange ) ), D );\n}\nconst mat3 cLogLuvM = mat3( 0.2209, 0.3390, 0.4184, 0.1138, 0.6780, 0.7319, 0.0102, 0.1130, 0.2969 );\nvec4 LinearToLogLuv( in vec4 value ) {\n	vec3 Xp_Y_XYZp = cLogLuvM * value.rgb;\n	Xp_Y_XYZp = max( Xp_Y_XYZp, vec3( 1e-6, 1e-6, 1e-6 ) );\n	vec4 vResult;\n	vResult.xy = Xp_Y_XYZp.xy / Xp_Y_XYZp.z;\n	float Le = 2.0 * log2(Xp_Y_XYZp.y) + 127.0;\n	vResult.w = fract( Le );\n	vResult.z = ( Le - ( floor( vResult.w * 255.0 ) ) / 255.0 ) / 255.0;\n	return vResult;\n}\nconst mat3 cLogLuvInverseM = mat3( 6.0014, -2.7008, -1.7996, -1.3320, 3.1029, -5.7721, 0.3008, -1.0882, 5.6268 );\nvec4 LogLuvToLinear( in vec4 value ) {\n	float Le = value.z * 255.0 + value.w;\n	vec3 Xp_Y_XYZp;\n	Xp_Y_XYZp.y = exp2( ( Le - 127.0 ) / 2.0 );\n	Xp_Y_XYZp.z = Xp_Y_XYZp.y / value.y;\n	Xp_Y_XYZp.x = value.x * Xp_Y_XYZp.z;\n	vec3 vRGB = cLogLuvInverseM * Xp_Y_XYZp.rgb;\n	return vec4( max( vRGB, 0.0 ), 1.0 );\n}",Pl="#ifdef USE_ENVMAP\n	#ifdef ENV_WORLDPOS\n		vec3 cameraToFrag;\n		if ( isOrthographic ) {\n			cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n		} else {\n			cameraToFrag = normalize( vWorldPosition - cameraPosition );\n		}\n		vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n		#ifdef ENVMAP_MODE_REFLECTION\n			vec3 reflectVec = reflect( cameraToFrag, worldNormal );\n		#else\n			vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n		#endif\n	#else\n		vec3 reflectVec = vReflect;\n	#endif\n	#ifdef ENVMAP_TYPE_CUBE\n		vec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n	#elif defined( ENVMAP_TYPE_CUBE_UV )\n		vec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 );\n	#else\n		vec4 envColor = vec4( 0.0 );\n	#endif\n	#ifndef ENVMAP_TYPE_CUBE_UV\n		envColor = envMapTexelToLinear( envColor );\n	#endif\n	#ifdef ENVMAP_BLENDING_MULTIPLY\n		outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n	#elif defined( ENVMAP_BLENDING_MIX )\n		outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n	#elif defined( ENVMAP_BLENDING_ADD )\n		outgoingLight += envColor.xyz * specularStrength * reflectivity;\n	#endif\n#endif",pu="#ifdef USE_ENVMAP\n	uniform float envMapIntensity;\n	uniform float flipEnvMap;\n	uniform int maxMipLevel;\n	#ifdef ENVMAP_TYPE_CUBE\n		uniform samplerCube envMap;\n	#else\n		uniform sampler2D envMap;
5\n	#endif\n	\n#endif",Dl="#ifdef USE_ENVMAP\n	uniform float reflectivity;\n	#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\n		#define ENV_WORLDPOS\n	#endif\n	#ifdef ENV_WORLDPOS\n		varying vec3 vWorldPosition;\n		uniform float refractionRatio;\n	#else\n		varying vec3 vReflect;\n	#endif\n#endif",gu="#ifdef USE_ENVMAP\n	#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) ||defined( PHONG )\n		#define ENV_WORLDPOS\n	#endif\n	#ifdef ENV_WORLDPOS\n		\n		varying vec3 vWorldPosition;\n	#else\n		varying vec3 vReflect;\n		uniform float refractionRatio;\n	#endif\n#endif",Il="#ifdef USE_ENVMAP\n	#ifdef ENV_WORLDPOS\n		vWorldPosition = worldPosition.xyz;\n	#else\n		vec3 cameraToVertex;\n		if ( isOrthographic ) {\n			cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n		} else {\n			cameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n		}\n		vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n		#ifdef ENVMAP_MODE_REFLECTION\n			vReflect = reflect( cameraToVertex, worldNormal );\n		#else\n			vReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n		#endif\n	#endif\n#endif",U0="#ifdef USE_FOG\n	fogDepth = - mvPosition.z;\n#endif",yu="#ifdef USE_FOG\n	varying float fogDepth;\n#endif",Y2="#ifdef USE_FOG\n	#ifdef FOG_EXP2\n		float fogFactor = 1.0 - exp( - fogDensity * fogDensity * fogDepth * fogDepth );\n	#else\n		float fogFactor = smoothstep( fogNear, fogFar, fogDepth );\n	#endif\n	gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",bu="#ifdef USE_FOG\n	uniform vec3 fogColor;\n	varying float fogDepth;\n	#ifdef FOG_EXP2\n		uniform float fogDensity;\n	#else\n		uniform float fogNear;\n		uniform float fogFar;\n	#endif\n#endif",D3="#ifdef USE_GRADIENTMAP\n	uniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n	float dotNL = dot( normal, lightDirection );\n	vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n	#ifdef USE_GRADIENTMAP\n		return texture2D( gradientMap, coord ).rgb;\n	#else\n		return ( coord.x < 0.7 ) ? vec3( 0.7 ) : vec3( 1.0 );\n	#endif\n}",_u="#ifdef USE_LIGHTMAP\n	vec4 lightMapTexel= texture2D( lightMap, vUv2 );\n	reflectedLight.indirectDiffuse += PI * lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n#endif",Fl="#ifdef USE_LIGHTMAP\n	uniform sampler2D lightMap;\n	uniform float lightMapIntensity;\n#endif",q2="vec3 diffuse = vec3( 1.0 );\nGeometricContext geometry;\ngeometry.position = mvPosition.xyz;\ngeometry.normal = normalize( transformedNormal );\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( -mvPosition.xyz );\nGeometricContext backGeometry;\nbackGeometry.position = geometry.position;\nbackGeometry.normal = -geometry.normal;\nbackGeometry.viewDir = geometry.viewDir;\nvLightFront = vec3( 0.0 );\nvIndirectFront = vec3( 0.0 );\n#ifdef DOUBLE_SIDED\n	vLightBack = vec3( 0.0 );\n	vIndirectBack = vec3( 0.0 );\n#endif\nIncidentLight directLight;\nfloat dotNL;\nvec3 directLightColor_Diffuse;\nvIndirectFront += getAmbientLightIrradiance( ambientLightColor );\nvIndirectFront += getLightProbeIrradiance( lightProbe, geometry );\n#ifdef DOUBLE_SIDED\n	vIndirectBack += getAmbientLightIrradiance( ambientLightColor );\n	vIndirectBack += getLightProbeIrradiance( lightProbe, backGeometry );\n#endif\n#if NUM_POINT_LIGHTS > 0\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n		getPointDirectLightIrradiance( pointLights[ i ], geometry, directLight );\n		dotNL = dot( geometry.normal, directLight.direction );\n		directLightColor_Diffuse = PI * directLight.color;\n		vLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n		#ifdef DOUBLE_SIDED\n			vLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n		#endif\n	}\n	#pragma unroll_loop_end\n#endif\n#if NUM_SPOT_LIGHTS > 0\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n		getSpotDirectLightIrradiance( spotLights[ i ], geometry, directLight );\n		dotNL = dot( geometry.normal, directLight.direction );\n		directLightColor_Diffuse = PI * directLight.color;\n		vLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n		#ifdef DOUBLE_SIDED\n			vLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n		#endif\n	}\n	#pragma unroll_loop_end\n#endif\n#if NUM_DIR_LIGHTS > 0\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n		getDirectionalDirectLightIrradiance( directionalLights[ i ], geometry, directLight );\n		dotNL = dot( geometry.normal, directLight.direction );\n		directLightColor_Diffuse = PI * directLight.color;\n		vLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n		#ifdef DOUBLE_SIDED\n			vLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n		#endif\n	}\n	#pragma unroll_loop_end\n#endif\n#if NUM_HEMI_LIGHTS > 0\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n		vIndirectFront += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n		#ifdef DOUBLE_SIDED\n			vIndirectBack += getHemisphereLightIrradiance( hemisphereLights[ i ], backGeometry );\n		#endif\n	}\n	#pragma unroll_loop_end\n#endif",j2="uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\nuniform vec3 lightProbe[ 9 ];\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n	float x = normal.x, y = normal.y, z = normal.z;\n	vec3 result = shCoefficients[ 0 ] * 0.886227;\n	result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n	result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n	result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n	result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n	result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n	result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n	result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n	result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n	return result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in GeometricContext geometry ) {\n	vec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n	vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n	return irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n	vec3 irradiance = ambientLightColor;\n	#ifndef PHYSICALLY_CORRECT_LIGHTS\n		irradiance *= PI;\n	#endif\n	return irradiance;\n}\n#if NUM_DIR_LIGHTS > 0\n	struct DirectionalLight {\n		vec3 direction;\n		vec3 color;\n	};\n	uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n	void getDirectionalDirectLightIrradiance( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n		directLight.color = directionalLight.color;\n		directLight.direction = directionalLight.direction;\n		directLight.visible = true;\n	}\n#endif\n#if NUM_POINT_LIGHTS > 0\n	struct PointLight {\n		vec3 position;\n		vec3 color;\n		float distance;\n		float decay;\n	};\n	uniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n	void getPointDirectLightIrradiance( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n		vec3 lVector = pointLight.position - geometry.position;\n		directLight.direction = normalize( lVector );\n		float lightDistance = length( lVector );\n		directLight.color = pointLight.color;\n		directLight.color *= punctualLightIntensityToIrradianceFactor( lightDistance, pointLight.distance, pointLight.decay );\n		directLight.visible = ( directLight.color != vec3( 0.0 ) );\n	}
5\n#endif\n#if NUM_SPOT_LIGHTS > 0\n	struct SpotLight {\n		vec3 position;\n		vec3 direction;\n		vec3 color;\n		float distance;\n		float decay;\n		float coneCos;\n		float penumbraCos;\n	};\n	uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n	void getSpotDirectLightIrradiance( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n		vec3 lVector = spotLight.position - geometry.position;\n		directLight.direction = normalize( lVector );\n		float lightDistance = length( lVector );\n		float angleCos = dot( directLight.direction, spotLight.direction );\n		if ( angleCos > spotLight.coneCos ) {\n			float spotEffect = smoothstep( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n			directLight.color = spotLight.color;\n			directLight.color *= spotEffect * punctualLightIntensityToIrradianceFactor( lightDistance, spotLight.distance, spotLight.decay );\n			directLight.visible = true;\n		} else {\n			directLight.color = vec3( 0.0 );\n			directLight.visible = false;\n		}\n	}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n	struct RectAreaLight {\n		vec3 color;\n		vec3 position;\n		vec3 halfWidth;\n		vec3 halfHeight;\n	};\n	uniform sampler2D ltc_1;	uniform sampler2D ltc_2;\n	uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n	struct HemisphereLight {\n		vec3 direction;\n		vec3 skyColor;\n		vec3 groundColor;\n	};\n	uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n	vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in GeometricContext geometry ) {\n		float dotNL = dot( geometry.normal, hemiLight.direction );\n		float hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n		vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n		#ifndef PHYSICALLY_CORRECT_LIGHTS\n			irradiance *= PI;\n		#endif\n		return irradiance;\n	}\n#endif",Bl="#if defined( USE_ENVMAP )\n	#ifdef ENVMAP_MODE_REFRACTION\n		uniform float refractionRatio;\n	#endif\n	vec3 getLightProbeIndirectIrradiance( const in GeometricContext geometry, const in int maxMIPLevel ) {\n		vec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n		#ifdef ENVMAP_TYPE_CUBE\n			vec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n			#ifdef TEXTURE_LOD_EXT\n				vec4 envMapColor = textureCubeLodEXT( envMap, queryVec, float( maxMIPLevel ) );\n			#else\n				vec4 envMapColor = textureCube( envMap, queryVec, float( maxMIPLevel ) );\n			#endif\n			envMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n		#elif defined( ENVMAP_TYPE_CUBE_UV )\n			vec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );\n		#else\n			vec4 envMapColor = vec4( 0.0 );\n		#endif\n		return PI * envMapColor.rgb * envMapIntensity;\n	}\n	float getSpecularMIPLevel( const in float roughness, const in int maxMIPLevel ) {\n		float maxMIPLevelScalar = float( maxMIPLevel );\n		float sigma = PI * roughness * roughness / ( 1.0 + roughness );\n		float desiredMIPLevel = maxMIPLevelScalar + log2( sigma );\n		return clamp( desiredMIPLevel, 0.0, maxMIPLevelScalar );\n	}\n	vec3 getLightProbeIndirectRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in int maxMIPLevel ) {\n		#ifdef ENVMAP_MODE_REFLECTION\n			vec3 reflectVec = reflect( -viewDir, normal );\n			reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n		#else\n			vec3 reflectVec = refract( -viewDir, normal, refractionRatio );\n		#endif\n		reflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n		float specularMIPLevel = getSpecularMIPLevel( roughness, maxMIPLevel );\n		#ifdef ENVMAP_TYPE_CUBE\n			vec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n			#ifdef TEXTURE_LOD_EXT\n				vec4 envMapColor = textureCubeLodEXT( envMap, queryReflectVec, specularMIPLevel );\n			#else\n				vec4 envMapColor = textureCube( envMap, queryReflectVec, specularMIPLevel );\n			#endif\n			envMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n		#elif defined( ENVMAP_TYPE_CUBE_UV )\n			vec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );\n		#endif\n		return envMapColor.rgb * envMapIntensity;\n	}\n#endif",Nl="ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",I3="varying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n#endif\nstruct ToonMaterial {\n	vec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n	vec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n	#ifndef PHYSICALLY_CORRECT_LIGHTS\n		irradiance *= PI;\n	#endif\n	reflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n	reflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct				RE_Direct_Toon\n#define RE_IndirectDiffuse		RE_IndirectDiffuse_Toon\n#define Material_LightProbeLOD( material )	(0)",J6="BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",Z6="varying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n#endif\nstruct BlinnPhongMaterial {\n	vec3 diffuseColor;\n	vec3 specularColor;\n	float specularShininess;\n	float specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n	float dotNL = saturate( dot
5( geometry.normal, directLight.direction ) );\n	vec3 irradiance = dotNL * directLight.color;\n	#ifndef PHYSICALLY_CORRECT_LIGHTS\n		irradiance *= PI;\n	#endif\n	reflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n	reflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n	reflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct				RE_Direct_BlinnPhong\n#define RE_IndirectDiffuse		RE_IndirectDiffuse_BlinnPhong\n#define Material_LightProbeLOD( material )	(0)",K6="PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.specularRoughness = max( roughnessFactor, 0.0525 );material.specularRoughness += geometryRoughness;\nmaterial.specularRoughness = min( material.specularRoughness, 1.0 );\n#ifdef REFLECTIVITY\n	material.specularColor = mix( vec3( MAXIMUM_SPECULAR_COEFFICIENT * pow2( reflectivity ) ), diffuseColor.rgb, metalnessFactor );\n#else\n	material.specularColor = mix( vec3( DEFAULT_SPECULAR_COEFFICIENT ), diffuseColor.rgb, metalnessFactor );\n#endif\n#ifdef CLEARCOAT\n	material.clearcoat = clearcoat;
5\n	material.clearcoatRoughness = clearcoatRoughness;\n	#ifdef USE_CLEARCOATMAP\n		material.clearcoat *= texture2D( clearcoatMap, vUv ).x;\n	#endif\n	#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n		material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y;\n	#endif\n	material.clearcoat = saturate( material.clearcoat );	material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n	material.clearcoatRoughness += geometryRoughness;\n	material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_SHEEN\n	material.sheenColor = sheen;\n#endif",$6="struct PhysicalMaterial {\n	vec3 diffuseColor;\n	float specularRoughness;\n	vec3 specularColor;\n#ifdef CLEARCOAT\n	float clearcoat;\n	float clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n	vec3 sheenColor;\n#endif\n};\n#define MAXIMUM_SPECULAR_COEFFICIENT 0.16\n#define DEFAULT_SPECULAR_COEFFICIENT 0.04\nfloat clearcoatDHRApprox( const in float roughness, const in float dotNL ) {\n	return DEFAULT_SPECULAR_COEFFICIENT + ( 1.0 - DEFAULT_SPECULAR_COEFFICIENT ) * ( pow( 1.0 - dotNL, 5.0 ) * pow( 1.0 - roughness, 2.0 ) );\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n	void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n		vec3 normal = geometry.normal;\n		vec3 viewDir = geometry.viewDir;\n		vec3 position = geometry.position;\n		vec3 lightPos = rectAreaLight.position;\n		vec3 halfWidth = rectAreaLight.halfWidth;\n		vec3 halfHeight = rectAreaLight.halfHeight;\n		vec3 lightColor = rectAreaLight.color;\n		float roughness = material.specularRoughness;\n		vec3 rectCoords[ 4 ];\n		rectCoords[ 0 ] = lightPos + halfWidth - halfHeight;		rectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n		rectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n		rectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n		vec2 uv = LTC_Uv( normal, viewDir, roughness );\n		vec4 t1 = texture2D( ltc_1, uv );\n		vec4 t2 = texture2D( ltc_2, uv );\n		mat3 mInv = mat3(\n			vec3( t1.x, 0, t1.y ),\n			vec3(		0, 1,		0 ),\n			vec3( t1.z, 0, t1.w )\n		);\n		vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n		reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n		reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n	}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n	float dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n	vec3 irradiance = dotNL * directLight.color;\n	#ifndef PHYSICALLY_CORRECT_LIGHTS\n		irradiance *= PI;\n	#endif\n	#ifdef CLEARCOAT\n		float ccDotNL = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n		vec3 ccIrradiance = ccDotNL * directLight.color;\n		#ifndef PHYSICALLY_CORRECT_LIGHTS\n			ccIrradiance *= PI;\n		#endif\n		float clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n		reflectedLight.directSpecular += ccIrradiance * material.clearcoat * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n	#else\n		float clearcoatDHR = 0.0;\n	#endif\n	#ifdef USE_SHEEN\n		reflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_Sheen(\n			material.specularRoughness,\n			directLight.direction,\n			geometry,\n			material.sheenColor\n		);\n	#else\n		reflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.normal, material.specularColor, material.specularRoughness);\n	#endif\n	reflectedLight.directDiffuse += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n	reflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid 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) {\n	#ifdef CLEARCOAT\n		float ccDotNV = saturate( dot
5( geometry.clearcoatNormal, geometry.viewDir ) );\n		reflectedLight.indirectSpecular += clearcoatRadiance * material.clearcoat * BRDF_Specular_GGX_Environment( geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n		float ccDotNL = ccDotNV;\n		float clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n	#else\n		float clearcoatDHR = 0.0;\n	#endif\n	float clearcoatInv = 1.0 - clearcoatDHR;\n	vec3 singleScattering = vec3( 0.0 );\n	vec3 multiScattering = vec3( 0.0 );\n	vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n	BRDF_Specular_Multiscattering_Environment( geometry, material.specularColor, material.specularRoughness, singleScattering, multiScattering );\n	vec3 diffuse = material.diffuseColor * ( 1.0 - ( singleScattering + multiScattering ) );\n	reflectedLight.indirectSpecular += clearcoatInv * radiance * singleScattering;\n	reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n	reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct				RE_Direct_Physical\n#define RE_Direct_RectArea		RE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse		RE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular		RE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n	return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",Q6="\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n#ifdef CLEARCOAT\n	geometry.clearcoatNormal = clearcoatNormal;\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n	PointLight pointLight;\n	#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n	PointLightShadow pointLightShadow;\n	#endif\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n		pointLight = pointLights[ i ];\n		getPointDirectLightIrradiance( pointLight, geometry, directLight );\n		#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n		pointLightShadow = pointLightShadows[ i ];\n		directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n		#endif\n		RE_Direct( directLight, geometry, material, reflectedLight );\n	}\n	#pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n	SpotLight spotLight;\n	#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n	SpotLightShadow spotLightShadow;\n	#endif\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n		spotLight = spotLights[ i ];\n		getSpotDirectLightIrradiance( spotLight, geometry, directLight );\n		#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n		spotLightShadow = spotLightShadows[ i ];\n		directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n		#endif\n		RE_Direct( directLight, geometry, material, reflectedLight );\n	}\n	#pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n	DirectionalLight directionalLight;\n	#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n	DirectionalLightShadow directionalLightShadow;\n	#endif\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n		directionalLight = directionalLights[ i ];\n		getDirectionalDirectLightIrradiance( directionalLight, geometry, directLight );\n		#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n		directionalLightShadow = directionalLightShadows[ i ];\n		directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n		#endif\n		RE_Direct( directLight, geometry, material, reflectedLight );\n	}\n	#pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n	RectAreaLight rectAreaLight;\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n		rectAreaLight = rectAreaLights[ i ];\n		RE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\n	}\n	#pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n	vec3 iblIrradiance = vec3( 0.0 );\n	vec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n	irradiance += getLightProbeIrradiance( lightProbe, geometry );\n	#if ( NUM_HEMI_LIGHTS > 0 )\n		#pragma unroll_loop_start\n		for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n			irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n		}\n		#pragma unroll_loop_end\n	#endif\n#endif\n#if defined( RE_IndirectSpecular )\n	vec3 radiance = vec3( 0.0 );\n	vec3 clearcoatRadiance = vec3( 0.0 );\n#endif",em="#if defined( RE_IndirectDiffuse )\n	#ifdef USE_LIGHTMAP\n		vec4 lightMapTexel= texture2D( lightMap, vUv2 );\n		vec3 lightMapIrradiance = lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n		#ifndef PHYSICALLY_CORRECT_LIGHTS\n			lightMapIrradiance *= PI;\n		#endif\n		irradiance += lightMapIrradiance;\n	#endif\n	#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n		iblIrradiance += getLightProbeIndirectIrradiance( geometry, maxMipLevel );\n	#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n	radiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.normal, material.specularRoughness, maxMipLevel );\n	#ifdef CLEARCOAT\n		clearcoatRadiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness, maxMipLevel );\n	#endif\n#endif",tm="#if defined( RE_IndirectDiffuse )\n	RE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n	RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\n#endif",rm="#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n	gl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",nm="#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n	uniform float logDepthBufFC;\n	varying float vFragDepth;\n	varying float vIsPerspective;\n#endif",am="#ifdef USE_LOGDEPTHBUF\n	#ifdef USE_LOGDEPTHBUF_EXT\n		varying float vFragDepth;\n		varying float vIsPerspective;\n	#else\n		uniform float logDepthBufFC;\n	#endif\n#endif",im="#ifdef USE_LOGDEPTHBUF\n	#ifdef USE_LOGDEPTHBUF_EXT\n		vFragDepth = 1.0 + gl_Position.w;\n		vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n	#else\n		if ( isPerspectiveMatrix( projectionMatrix ) ) {\n			gl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\n			gl_Position.z *= gl_Position.w;\n		}\n	#endif\n#endif",om="#ifdef USE_MAP\n	vec4 texelColor = texture2D( map, vUv );\n	texelColor = mapTexelToLinear( texelColor );\n	diffuseColor *= texelColor;\n#endif",sm="#ifdef USE_MAP\n	uniform sampler2D map;\n#endif",um="#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n	vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n#endif\n#ifdef USE_MAP\n	vec4 mapTexel = texture2D( map, uv );\n	diffuseColor *= mapTexelToLinear( mapTexel );\n#endif\n#ifdef USE_ALPHAMAP\n	diffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",lm="#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n	uniform mat3 uvTransform;\n#endif\n#ifdef USE_MAP\n	uniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n	uniform sampler2D alphaMap;\n#endif",cm="float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n	vec4 texelMetalness = texture2D( metalnessMap, vUv );\n	metalnessFactor *= texelMetalness.b;\n#endif",hm="#ifdef USE_METALNESSMAP\n	uniform sampler2D metalnessMap;\n#endif",fm="#ifdef USE_MORPHNORMALS\n	objectNormal *= morphTargetBaseInfluence;\n	objectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\n	objectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\n	objectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\n	objectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\n#endif",dm="#ifdef USE_MORPHTARGETS\n	uniform float morphTargetBaseInfluence;\n	#ifndef USE_MORPHNORMALS\n		uniform float morphTargetInfluences[ 8 ];\n	#else\n		uniform float morphTargetInfluences[ 4 ];\n	#endif\n#endif",vm="#ifdef USE_MORPHTARGETS\n	transformed *= morphTargetBaseInfluence;\n	transformed += morphTarget0 * morphTargetInfluences[ 0 ];\n	transformed += morphTarget1 * morphTargetInfluences[ 1 ];\n	transformed += morphTarget2 * morphTargetInfluences[ 2 ];\n	transformed += morphTarget3 * morphTargetInfluences[ 3 ];\n	#ifndef USE_MORPHNORMALS\n		transformed += morphTarget4 * morphTargetInfluences[ 4 ];\n		transformed += morphTarget5 * morphTargetInfluences[ 5 ];\n		transformed += morphTarget6 * morphTargetInfluences[ 6 ];\n		transformed += morphTarget7 * morphTargetInfluences[ 7 ];\n	#endif\n#endif",mm="float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n	vec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\n	vec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\n	vec3 normal = normalize( cross( fdx, fdy ) );\n#else\n	vec3 normal = normalize( vNormal );\n	#ifdef DOUBLE_SIDED\n		normal = normal * faceDirection;\n	#endif\n	#ifdef USE_TANGENT\n		vec3 tangent = normalize( vTangent );\n		vec3 bitangent = normalize( vBitangent );\n		#ifdef DOUBLE_SIDED\n			tangent = tangent * faceDirection;\n			bitangent = bitangent * faceDirection;\n		#endif\n		#if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP )\n			mat3 vTBN = mat3( tangent, bitangent, normal );\n		#endif\n	#endif\n#endif\nvec3 geometryNormal = normal;",pm="#ifdef OBJECTSPACE_NORMALMAP\n	normal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n	#ifdef FLIP_SIDED\n		normal = - normal;\n	#endif\n	#ifdef DOUBLE_SIDED\n		normal = normal * faceDirection;\n	#endif\n	normal = normalize( normalMatrix * normal );\n#elif defined( TANGENTSPACE_NORMALMAP )\n	vec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n	mapN.xy *= normalScale;\n	#ifdef USE_TANGENT\n		normal = normalize( vTBN * mapN );
5\n	#else\n		normal = perturbNormal2Arb( -vViewPosition, normal, mapN, faceDirection );\n	#endif\n#elif defined( USE_BUMPMAP )\n	normal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",gm="#ifdef USE_NORMALMAP\n	uniform sampler2D normalMap;\n	uniform vec2 normalScale;\n#endif\n#ifdef OBJECTSPACE_NORMALMAP\n	uniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\n	vec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) {\n		vec3 q0 = vec3( dFdx( eye_pos.x ), dFdx( eye_pos.y ), dFdx( eye_pos.z ) );\n		vec3 q1 = vec3( dFdy( eye_pos.x ), dFdy( eye_pos.y ), dFdy( eye_pos.z ) );\n		vec2 st0 = dFdx( vUv.st );\n		vec2 st1 = dFdy( vUv.st );\n		vec3 N = surf_norm;\n		vec3 q1perp = cross( q1, N );\n		vec3 q0perp = cross( N, q0 );\n		vec3 T = q1perp * st0.x + q0perp * st1.x;\n		vec3 B = q1perp * st0.y + q0perp * st1.y;\n		float det = max( dot( T, T ), dot( B, B ) );\n		float scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det );\n		return normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z );\n	}\n#endif",ym="#ifdef CLEARCOAT\n	vec3 clearcoatNormal = geometryNormal;\n#endif",bm="#ifdef USE_CLEARCOAT_NORMALMAP\n	vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;\n	clearcoatMapN.xy *= clearcoatNormalScale;\n	#ifdef USE_TANGENT\n		clearcoatNormal = normalize( vTBN * clearcoatMapN );\n	#else\n		clearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection );\n	#endif\n#endif",_m="#ifdef USE_CLEARCOATMAP\n	uniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n	uniform sampler2D clearcoatRoughnessMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n	uniform sampler2D clearcoatNormalMap;\n	uniform vec2 clearcoatNormalScale;\n#endif",xm="vec3 packNormalToRGB( const in vec3 normal ) {\n	return normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n	return 2.0 * rgb.xyz - 1.0;\n}\nconst float pakX_ = 1.0/255.0;\nconst float pakY_ = 1./65025.0;\nconst float pakZ_ = 1./160581375.0;\nvec4 packDepthToRGBA( const in float v ) {\n	vec4 enc = vec4(1.0, 255.0, 65025.0, 160581375.0) * v;\n	enc = fract(enc);\n	enc -= enc.yzww * vec4(pakX_,pakX_,pakX_,0.0);\n	return vec4(enc.xyz,1.);\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n	return dot( v, vec4(1.0, pakX_, pakY_, pakZ_) );\n}\nvec4 pack2HalfToRGBA( vec2 v ) {\n	vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ));\n	return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w);\n}\nvec2 unpackRGBATo2Half( vec4 v ) {\n	return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n	return ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\n	return linearClipZ * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n	return (( near + viewZ ) * far ) / (( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\n	return ( near * far ) / ( ( far - near ) * invClipZ - far );\n}",wm="#ifdef PREMULTIPLIED_ALPHA\n	gl_FragColor.rgb *= gl_FragColor.a;\n#endif",Sm="vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_INSTANCING\n	mvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",Mm="#ifdef DITHERING\n	gl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",Tm="#ifdef DITHERING\n	vec3 dithering( vec3 color ) {\n		float grid_position = rand( gl_FragCoord.xy );\n		vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n		dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n		return color + dither_shift_RGB;\n	}\n#endif",Em="float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n	vec4 texelRoughness = texture2D( roughnessMap, vUv );\n	roughnessFactor *= texelRoughness.g;
5\n#endif",km="#ifdef USE_ROUGHNESSMAP\n	uniform sampler2D roughnessMap;\n#endif",Am="#ifdef USE_SHADOWMAP\n	#if NUM_DIR_LIGHT_SHADOWS > 0\n		uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n		varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n		struct DirectionalLightShadow {\n			float shadowBias;\n			float shadowNormalBias;\n			float shadowRadius;\n			vec2 shadowMapSize;\n		};\n		uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n	#endif\n	#if NUM_SPOT_LIGHT_SHADOWS > 0\n		uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n		varying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\n		struct SpotLightShadow {\n			float shadowBias;\n			float shadowNormalBias;\n			float shadowRadius;\n			vec2 shadowMapSize;\n		};\n		uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n	#endif\n	#if NUM_POINT_LIGHT_SHADOWS > 0\n		uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n		varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n		struct PointLightShadow {\n			float shadowBias;\n			float shadowNormalBias;\n			float shadowRadius;\n			vec2 shadowMapSize;\n			float shadowCameraNear;\n			float shadowCameraFar;\n		};\n		uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n	#endif\n	float texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n		return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n	}\n	vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n		return unpackRGBATo2Half( texture2D( shadow, uv ) );\n	}\n	float VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n		float occlusion = 1.0;\n		vec2 distribution = texture2DDistribution( shadow, uv );\n		float hard_shadow = step( compare , distribution.x );\n		if (hard_shadow != 1.0 ) {\n			float distance = compare - distribution.x ;\n			float variance = max( 0.00000, distribution.y * distribution.y );\n			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 );\n		}\n		return occlusion;\n	}\n	float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n		float shadow = 1.0;\n		shadowCoord.xyz /= shadowCoord.w;\n		shadowCoord.z += shadowBias;\n		bvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\n		bool inFrustum = all( inFrustumVec );\n		bvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n		bool frustumTest = all( frustumTestVec );\n		if ( frustumTest ) {\n		#if defined( SHADOWMAP_TYPE_PCF )\n			vec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n			float dx0 = - texelSize.x * shadowRadius;\n			float dy0 = - texelSize.y * shadowRadius;\n			float dx1 = + texelSize.x * shadowRadius;\n			float dy1 = + texelSize.y * shadowRadius;\n			float dx2 = dx0 / 2.0;\n			float dy2 = dy0 / 2.0;\n			float dx3 = dx1 / 2.0;\n			float dy3 = dy1 / 2.0;\n			shadow = (\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n			) * ( 1.0 / 17.0 );\n		#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n			vec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n			float dx = texelSize.x;\n			float dy = texelSize.y;\n			vec2 uv = shadowCoord.xy;
5\n			vec2 f = fract( uv * shadowMapSize + 0.5 );\n			uv -= f * texelSize;\n			shadow = (\n				texture2DCompare( shadowMap, uv, shadowCoord.z ) +\n				texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n				texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n				mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), \n					 texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n					 f.x ) +\n				mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), \n					 texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n					 f.x ) +\n				mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), \n					 texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n					 f.y ) +\n				mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), \n					 texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n					 f.y ) +\n				mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), \n							texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n							f.x ),\n					 mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), \n							texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n							f.x ),\n					 f.y )\n			) * ( 1.0 / 9.0 );\n		#elif defined( SHADOWMAP_TYPE_VSM )\n			shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n		#else\n			shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n		#endif\n		}\n		return shadow;\n	}\n	vec2 cubeToUV( vec3 v, float texelSizeY ) {\n		vec3 absV = abs( v );\n		float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n		absV *= scaleToCube;\n		v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n		vec2 planar = v.xy;\n		float almostATexel = 1.5 * texelSizeY;\n		float almostOne = 1.0 - almostATexel;\n		if ( absV.z >= almostOne ) {\n			if ( v.z > 0.0 )\n				planar.x = 4.0 - v.x;\n		} else if ( absV.x >= almostOne ) {\n			float signX = sign( v.x );\n			planar.x = v.z * signX + 2.0 * signX;\n		} else if ( absV.y >= almostOne ) {\n			float signY = sign( v.y );\n			planar.x = v.x + 2.0 * signY + 2.0;\n			planar.y = v.z * signY - 2.0;\n		}\n		return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n	}\n	float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n		vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n		vec3 lightToPosition = shadowCoord.xyz;\n		float dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );		dp += shadowBias;\n		vec3 bd3D = normalize( lightToPosition );\n		#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n			vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n			return (\n				texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n				texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n				texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n				texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n				texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n				texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n				texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n				texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n				texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n			) * ( 1.0 / 9.0 );\n		#else\n			return texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n		#endif\n	}\n#endif",Cm="#ifdef USE_SHADOWMAP\n	#if NUM_DIR_LIGHT_SHADOWS > 0\n		uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n		varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n		struct DirectionalLightShadow {\n			float shadowBias;\n			float shadowNormalBias;\n			float shadowRadius;\n			vec2 shadowMapSize;\n		};\n		uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];
5\n	#endif\n	#if NUM_SPOT_LIGHT_SHADOWS > 0\n		uniform mat4 spotShadowMatrix[ NUM_SPOT_LIGHT_SHADOWS ];\n		varying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\n		struct SpotLightShadow {\n			float shadowBias;\n			float shadowNormalBias;\n			float shadowRadius;\n			vec2 shadowMapSize;\n		};\n		uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n	#endif\n	#if NUM_POINT_LIGHT_SHADOWS > 0\n		uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n		varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n		struct PointLightShadow {\n			float shadowBias;\n			float shadowNormalBias;\n			float shadowRadius;\n			vec2 shadowMapSize;\n			float shadowCameraNear;\n			float shadowCameraFar;\n		};\n		uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n	#endif\n#endif",Rm="#ifdef USE_SHADOWMAP\n	#if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0\n		vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n		vec4 shadowWorldPosition;\n	#endif\n	#if NUM_DIR_LIGHT_SHADOWS > 0\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n		shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n		vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n	}\n	#pragma unroll_loop_end\n	#endif\n	#if NUM_SPOT_LIGHT_SHADOWS > 0\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n		shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias, 0 );\n		vSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * shadowWorldPosition;\n	}\n	#pragma unroll_loop_end\n	#endif\n	#if NUM_POINT_LIGHT_SHADOWS > 0\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n		shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n		vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n	}\n	#pragma unroll_loop_end\n	#endif\n#endif",Om="float getShadowMask() {\n	float shadow = 1.0;\n	#ifdef USE_SHADOWMAP\n	#if NUM_DIR_LIGHT_SHADOWS > 0\n	DirectionalLightShadow directionalLight;\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n		directionalLight = directionalLightShadows[ i ];\n		shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n	}\n	#pragma unroll_loop_end\n	#endif\n	#if NUM_SPOT_LIGHT_SHADOWS > 0\n	SpotLightShadow spotLight;\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n		spotLight = spotLightShadows[ i ];\n		shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n	}\n	#pragma unroll_loop_end\n	#endif\n	#if NUM_POINT_LIGHT_SHADOWS > 0\n	PointLightShadow pointLight;\n	#pragma unroll_loop_start\n	for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n		pointLight = pointLightShadows[ i ];\n		shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n	}\n	#pragma unroll_loop_end\n	#endif\n	#endif\n	return shadow;\n}",Lm="#ifdef USE_SKINNING\n	mat4 boneMatX = getBoneMatrix( skinIndex.x );\n	mat4 boneMatY = getBoneMatrix( skinIndex.y );\n	mat4 boneMatZ = getBoneMatrix( skinIndex.z );\n	mat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",Pm="#ifdef USE_SKINNING\n	uniform mat4 bindMatrix;\n	uniform mat4 bindMatrixInverse;\n	#ifdef BONE_TEXTURE\n		uniform highp sampler2D boneTexture;\n		uniform int boneTextureSize;\n		mat4 getBoneMatrix( const in float i ) {\n			float j = i * 4.0;\n			float x = mod( j, float( boneTextureSize ) );\n			float y = floor( j / float( boneTextureSize ) );\n			float dx = 1.0 / float( boneTextureSize );\n			float dy = 1.0 / float( boneTextureSize );\n			y = dy * ( y + 0.5 );\n			vec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n			vec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n			vec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n			vec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n			mat4 bone = mat4( v1, v2, v3, v4 );\n			return bone;\n		}\n	#else\n		uniform mat4 boneMatrices[ MAX_BONES ];\n		mat4 getBoneMatrix( const in float i ) {\n			mat4 bone = boneMatrices[ int(i) ];\n			return bone;\n		}\n	#endif\n#endif",Dm="#ifdef USE_SKINNING\n	vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n	vec4 skinned = vec4( 0.0 );\n	skinned += boneMatX * skinVertex * skinWeight.x;\n	skinned += boneMatY * skinVertex * skinWeight.y;\n	skinned += boneMatZ * skinVertex * skinWeight.z;\n	skinned += boneMatW * skinVertex * skinWeight.w;\n	transformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",Im="#ifdef USE_SKINNING\n	mat4 skinMatrix = mat4( 0.0 );\n	skinMatrix += skinWeight.x * boneMatX;\n	skinMatrix += skinWeight.y * boneMatY;\n	skinMatrix += skinWeight.z * boneMatZ;\n	skinMatrix += skinWeight.w * boneMatW;\n	skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n	objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n	#ifdef USE_TANGENT\n		objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n	#endif\n#endif",Fm="float specularStrength;\n#ifdef USE_SPECULARMAP\n	vec4 texelSpecular = texture2D( specularMap, vUv );\n	specularStrength = texelSpecular.r;\n#else\n	specularStrength = 1.0;\n#endif",Bm="#ifdef USE_SPECULARMAP\n	uniform sampler2D specularMap;\n#endif",Nm="#if defined( TONE_MAPPING )\n	gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",Um="#ifndef saturate\n#define saturate(a) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;
5\nvec3 LinearToneMapping( vec3 color ) {\n	return toneMappingExposure * color;\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n	color *= toneMappingExposure;\n	return saturate( color / ( vec3( 1.0 ) + color ) );\n}\nvec3 OptimizedCineonToneMapping( vec3 color ) {\n	color *= toneMappingExposure;\n	color = max( vec3( 0.0 ), color - 0.004 );\n	return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 RRTAndODTFit( vec3 v ) {\n	vec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n	vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n	return a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n	const mat3 ACESInputMat = mat3(\n		vec3( 0.59719, 0.07600, 0.02840 ),		vec3( 0.35458, 0.90834, 0.13383 ),\n		vec3( 0.04823, 0.01566, 0.83777 )\n	);\n	const mat3 ACESOutputMat = mat3(\n		vec3(	1.60475, -0.10208, -0.00327 ),		vec3( -0.53108,	1.10813, -0.07276 ),\n		vec3( -0.07367, -0.00605,	1.07602 )\n	);\n	color *= toneMappingExposure / 0.6;\n	color = ACESInputMat * color;\n	color = RRTAndODTFit( color );\n	color = ACESOutputMat * color;\n	return saturate( color );\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }",zm="#ifdef USE_TRANSMISSION\n	float transmissionFactor = transmission;\n	float thicknessFactor = thickness;\n	#ifdef USE_TRANSMISSIONMAP\n		transmissionFactor *= texture2D( transmissionMap, vUv ).r;\n	#endif\n	#ifdef USE_THICKNESSNMAP\n		thicknessFactor *= texture2D( thicknessMap, vUv ).g;\n	#endif\n	vec3 pos = vWorldPosition.xyz / vWorldPosition.w;\n	vec3 v = normalize( cameraPosition - pos );\n	float ior = ( 1.0 + 0.4 * reflectivity ) / ( 1.0 - 0.4 * reflectivity );\n	vec3 transmission = transmissionFactor * getIBLVolumeRefraction(\n		normal, v, roughnessFactor, material.diffuseColor, totalSpecular,\n		pos, modelMatrix, viewMatrix, projectionMatrix, ior, thicknessFactor,\n		attenuationColor, attenuationDistance );\n	totalDiffuse = mix( totalDiffuse, transmission, transmissionFactor );\n#endif",Gm="#ifdef USE_TRANSMISSION\n	#ifdef USE_TRANSMISSIONMAP\n		uniform sampler2D transmissionMap;\n	#endif\n	#ifdef USE_THICKNESSMAP\n		uniform sampler2D thicknessMap;\n	#endif\n	uniform vec2 transmissionSamplerSize;\n	uniform sampler2D transmissionSamplerMap;\n	uniform mat4 modelMatrix;\n	uniform mat4 projectionMatrix;\n	varying vec4 vWorldPosition;\n	vec3 getVolumeTransmissionRay(vec3 n, vec3 v, float thickness, float ior, mat4 modelMatrix) {\n		vec3 refractionVector = refract(-v, normalize(n), 1.0 / ior);\n		vec3 modelScale;\n		modelScale.x = length(vec3(modelMatrix[0].xyz));\n		modelScale.y = length(vec3(modelMatrix[1].xyz));\n		modelScale.z = length(vec3(modelMatrix[2].xyz));\n		return normalize(refractionVector) * thickness * modelScale;\n	}\n	float applyIorToRoughness(float roughness, float ior) {\n		return roughness * clamp(ior * 2.0 - 2.0, 0.0, 1.0);\n	}\n	vec3 getTransmissionSample(vec2 fragCoord, float roughness, float ior) {\n		float framebufferLod = log2(transmissionSamplerSize.x) * applyIorToRoughness(roughness, ior);\n		return texture2DLodEXT(transmissionSamplerMap, fragCoord.xy, framebufferLod).rgb;\n	}\n	vec3 applyVolumeAttenuation(vec3 radiance, float transmissionDistance, vec3 attenuationColor, float attenuationDistance) {\n		if (attenuationDistance == 0.0) {\n			return radiance;\n		} else {\n			vec3 attenuationCoefficient = -log(attenuationColor) / attenuationDistance;\n			vec3 transmittance = exp(-attenuationCoefficient * transmissionDistance);			return transmittance * radiance;\n		}\n	}\n	vec3 getIBLVolumeRefraction(vec3 n, vec3 v, float perceptualRoughness, vec3 baseColor, vec3 specularColor,\n		vec3 position, mat4 modelMatrix, mat4 viewMatrix, mat4 projMatrix, float ior, float thickness,\n		vec3 attenuationColor, float attenuationDistance) {\n		vec3 transmissionRay = getVolumeTransmissionRay(n, v, thickness, ior, modelMatrix);\n		vec3 refractedRayExit = position + transmissionRay;\n		vec4 ndcPos = projMatrix * viewMatrix * vec4(refractedRayExit, 1.0);\n		vec2 refractionCoords = ndcPos.xy / ndcPos.w;\n		refractionCoords += 1.0;\n		refractionCoords /= 2.0;\n		vec3 transmittedLight = getTransmissionSample(refractionCoords, perceptualRoughness, ior);\n		vec3 attenuatedColor = applyVolumeAttenuation(transmittedLight, length(transmissionRay), attenuationColor, attenuationDistance);\n		return (1.0 - specularColor) * attenuatedColor * baseColor;\n	}\n#endif",Vm="#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) )\n	varying vec2 vUv;\n#endif",Hm="#ifdef USE_UV\n	#ifdef UVS_VERTEX_ONLY\n		vec2 vUv;\n	#else\n		varying vec2 vUv;\n	#endif\n	uniform mat3 uvTransform;\n#endif",Xm="#ifdef USE_UV\n	vUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n#endif",Wm="#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n	varying vec2 vUv2;\n#endif",Ym="#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n	attribute vec2 uv2;\n	varying vec2 vUv2;\n	uniform mat3 uv2Transform;\n#endif",qm="#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n	vUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\n#endif",jm="#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION )\n	vec4 worldPosition = vec4( transformed, 1.0 );\n	#ifdef USE_INSTANCING\n		worldPosition = instanceMatrix * worldPosition;\n	#endif\n	worldPosition = modelMatrix * worldPosition;\n#endif",Jm="uniform sampler2D t2D;\nvarying vec2 vUv;\nvoid main() {\n	vec4 texColor = texture2D( t2D, vUv );\n	gl_FragColor = mapTexelToLinear( texColor );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n}",Zm="varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n	vUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n	gl_Position = vec4( position.xy, 1.0, 1.0 );\n}",Km="#include <envmap_common_pars_fragment>\nuniform float opacity;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n	vec3 vReflect = vWorldDirection;\n	#include <envmap_fragment>\n	gl_FragColor = envColor;\n	gl_FragColor.a *= opacity;\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n}",$m="varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n	vWorldDirection = transformDirection( position, modelMatrix );\n	#include <begin_vertex>\n	#include <project_vertex>\n	gl_Position.z = gl_Position.w;\n}",Qm="#if DEPTH_PACKING == 3200\n	uniform float opacity;\n#endif\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n	#include <clipping_planes_fragment>\n	vec4 diffuseColor = vec4( 1.0 );\n	#if DEPTH_PACKING == 3200\n		diffuseColor.a = opacity;\n	#endif\n	#include <map_fragment>\n	#include <alphamap_fragment>\n	#include <alphatest_fragment>\n	#include <logdepthbuf_fragment>\n	float fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n	#if DEPTH_PACKING == 3200\n		gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n	#elif DEPTH_PACKING == 3201\n		gl_FragColor = packDepthToRGBA( fragCoordZ );\n	#endif\n}",ep="#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n	#include <uv_vertex>\n	#include <skinbase_vertex>\n	#ifdef USE_DISPLACEMENTMAP\n		#include <beginnormal_vertex>\n		#include <morphnormal_vertex>\n		#include <skinnormal_vertex>\n	#endif\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <skinning_vertex>\n	#include <displacementmap_vertex>\n	#include <project_vertex>\n	#include <logdepthbuf_vertex>\n	#include <clipping_planes_vertex>\n	vHighPrecisionZW = gl_Position.zw;\n}",tp="#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main () {\n	#include <clipping_planes_fragment>\n	vec4 diffuseColor = vec4( 1.0 );\n	#include <map_fragment>\n	#include <alphamap_fragment>\n	#include <alphatest_fragment>\n	float dist = length( vWorldPosition - referencePosition );\n	dist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n	dist = saturate( dist );\n	gl_FragColor = packDepthToRGBA( dist );\n}",rp="#define DISTANCE\nvarying vec3 vWorldPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	#include <uv_vertex>\n	#include <skinbase_vertex>\n	#ifdef USE_DISPLACEMENTMAP\n		#include <beginnormal_vertex>\n		#include <morphnormal_vertex>\n		#include <skinnormal_vertex>\n	#endif\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <skinning_vertex>\n	#include <displacementmap_vertex>\n	#include <project_vertex>\n	#include <worldpos_vertex>\n	#include <clipping_planes_vertex>\n	vWorldPosition = worldPosition.xyz;\n}",np="uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n	vec3 direction = normalize( vWorldDirection );\n	vec2 sampleUV = equirectUv( direction );\n	vec4 texColor = texture2D( tEquirect, sampleUV );\n	gl_FragColor = mapTexelToLinear( texColor );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n}
5",ap="varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n	vWorldDirection = transformDirection( position, modelMatrix );\n	#include <begin_vertex>\n	#include <project_vertex>\n}",ip="uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n	#include <clipping_planes_fragment>\n	if ( mod( vLineDistance, totalSize ) > dashSize ) {\n		discard;\n	}\n	vec3 outgoingLight = vec3( 0.0 );\n	vec4 diffuseColor = vec4( diffuse, opacity );\n	#include <logdepthbuf_fragment>\n	#include <color_fragment>\n	outgoingLight = diffuseColor.rgb;\n	gl_FragColor = vec4( outgoingLight, diffuseColor.a );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n	#include <fog_fragment>\n	#include <premultiplied_alpha_fragment>\n}",op="uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	vLineDistance = scale * lineDistance;\n	#include <color_vertex>\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <project_vertex>\n	#include <logdepthbuf_vertex>\n	#include <clipping_planes_vertex>\n	#include <fog_vertex>\n}",sp="uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n#endif\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n	#include <clipping_planes_fragment>\n	vec4 diffuseColor = vec4( diffuse, opacity );\n	#include <logdepthbuf_fragment>\n	#include <map_fragment>\n	#include <color_fragment>\n	#include <alphamap_fragment>\n	#include <alphatest_fragment>\n	#include <specularmap_fragment>\n	ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n	#ifdef USE_LIGHTMAP\n	\n		vec4 lightMapTexel= texture2D( lightMap, vUv2 );\n		reflectedLight.indirectDiffuse += lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n	#else\n		reflectedLight.indirectDiffuse += vec3( 1.0 );\n	#endif\n	#include <aomap_fragment>\n	reflectedLight.indirectDiffuse *= diffuseColor.rgb;\n	vec3 outgoingLight = reflectedLight.indirectDiffuse;\n	#include <envmap_fragment>\n	gl_FragColor = vec4( outgoingLight, diffuseColor.a );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n	#include <fog_fragment>\n	#include <premultiplied_alpha_fragment>\n	#include <dithering_fragment>\n}",up="#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	#include <uv_vertex>\n	#include <uv2_vertex>\n	#include <color_vertex>\n	#include <skinbase_vertex>\n	#ifdef USE_ENVMAP\n	#include <beginnormal_vertex>\n	#include <morphnormal_vertex>\n	#include <skinnormal_vertex>\n	#include <defaultnormal_vertex>\n	#endif\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <skinning_vertex>\n	#include <project_vertex>\n	#include <logdepthbuf_vertex>\n	#include <worldpos_vertex>\n	#include <clipping_planes_vertex>\n	#include <envmap_vertex>\n	#include <fog_vertex>\n}",lp="uniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n	varying vec3 vLightBack;\n	varying vec3 vIndirectBack;\n#endif\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <fog_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n	#include <clipping_planes_fragment>\n	vec4 diffuseColor = vec4( diffuse, opacity );\n	ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n	vec3 totalEmissiveRadiance = emissive;\n	#include <logdepthbuf_fragment>\n	#include <map_fragment>\n	#include <color_fragment>\n	#include <alphamap_fragment>\n	#include <alphatest_fragment>\n	#include <specularmap_fragment>\n	#include <emissivemap_fragment>\n	#ifdef DOUBLE_SIDED\n		reflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack;\n	#else\n		reflectedLight.indirectDiffuse += vIndirectFront;\n	#endif\n	#include <lightmap_fragment>\n	reflectedLight.indirectDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb );\n	#ifdef DOUBLE_SIDED\n		reflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;\n	#else\n		reflectedLight.directDiffuse = vLightFront;\n	#endif\n	reflectedLight.directDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb ) * getShadowMask();\n	#include <aomap_fragment>\n	vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n	#include <envmap_fragment>\n	gl_FragColor = vec4( outgoingLight, diffuseColor.a );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n	#include <fog_fragment>\n	#include <premultiplied_alpha_fragment>\n	#include <dithering_fragment>\n}",cp="#define LAMBERT\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n	varying vec3 vLightBack;\n	varying vec3 vIndirectBack;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	#include <uv_vertex>\n	#include <uv2_vertex>\n	#include <color_vertex>\n	#include <beginnormal_vertex>\n	#include <morphnormal_vertex>\n	#include <skinbase_vertex>\n	#include <skinnormal_vertex>\n	#include <defaultnormal_vertex>\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <skinning_vertex>\n	#include <project_vertex>\n	#include <logdepthbuf_vertex>\n	#include <clipping_planes_vertex>\n	#include <worldpos_vertex>\n	#include <envmap_vertex>\n	#include <lights_lambert_vertex>\n	#include <shadowmap_vertex>\n	#include <fog_vertex>\n}",hp="#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n#endif\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n	#include <clipping_planes_fragment>\n	vec4 diffuseColor = vec4( diffuse, opacity );\n	#include <logdepthbuf_fragment>\n	#include <map_fragment>\n	#include <color_fragment>\n	#include <alphamap_fragment>\n	#include <alphatest_fragment>\n	#include <normal_fragment_begin>\n	#include <normal_fragment_maps>\n	vec3 viewDir = normalize( vViewPosition );\n	vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n	vec3 y = cross( viewDir, x );\n	vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;
5\n	#ifdef USE_MATCAP\n		vec4 matcapColor = texture2D( matcap, uv );\n		matcapColor = matcapTexelToLinear( matcapColor );\n	#else\n		vec4 matcapColor = vec4( 1.0 );\n	#endif\n	vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n	gl_FragColor = vec4( outgoingLight, diffuseColor.a );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n	#include <fog_fragment>\n	#include <premultiplied_alpha_fragment>\n	#include <dithering_fragment>\n}",fp="#define MATCAP\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	#include <uv_vertex>\n	#include <color_vertex>\n	#include <beginnormal_vertex>\n	#include <morphnormal_vertex>\n	#include <skinbase_vertex>\n	#include <skinnormal_vertex>\n	#include <defaultnormal_vertex>\n	#ifndef FLAT_SHADED\n		vNormal = normalize( transformedNormal );\n	#endif\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <skinning_vertex>\n	#include <displacementmap_vertex>\n	#include <project_vertex>\n	#include <logdepthbuf_vertex>\n	#include <clipping_planes_vertex>\n	#include <fog_vertex>\n	vViewPosition = - mvPosition.xyz;\n}",dp="#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n	#include <clipping_planes_fragment>\n	vec4 diffuseColor = vec4( diffuse, opacity );\n	ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n	vec3 totalEmissiveRadiance = emissive;\n	#include <logdepthbuf_fragment>\n	#include <map_fragment>\n	#include <color_fragment>\n	#include <alphamap_fragment>\n	#include <alphatest_fragment>\n	#include <normal_fragment_begin>\n	#include <normal_fragment_maps>\n	#include <emissivemap_fragment>\n	#include <lights_toon_fragment>\n	#include <lights_fragment_begin>\n	#include <lights_fragment_maps>\n	#include <lights_fragment_end>\n	#include <aomap_fragment>\n	vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n	gl_FragColor = vec4( outgoingLight, diffuseColor.a );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n	#include <fog_fragment>\n	#include <premultiplied_alpha_fragment>\n	#include <dithering_fragment>\n}",vp="#define TOON\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	#include <uv_vertex>\n	#include <uv2_vertex>\n	#include <color_vertex>\n	#include <beginnormal_vertex>\n	#include <morphnormal_vertex>\n	#include <skinbase_vertex>\n	#include <skinnormal_vertex>\n	#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n	vNormal = normalize( transformedNormal );\n#endif\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <skinning_vertex>\n	#include <displacementmap_vertex>\n	#include <project_vertex>\n	#include <logdepthbuf_vertex>\n	#include <clipping_planes_vertex>\n	vViewPosition = - mvPosition.xyz;\n	#include <worldpos_vertex>\n	#include <shadowmap_vertex>\n	#include <fog_vertex>\n}",mp="#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n	#include <clipping_planes_fragment>\n	vec4 diffuseColor = vec4( diffuse, opacity );\n	ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n	vec3 totalEmissiveRadiance = emissive;\n	#include <logdepthbuf_fragment>\n	#include <map_fragment>\n	#include <color_fragment>\n	#include <alphamap_fragment>\n	#include <alphatest_fragment>\n	#include <specularmap_fragment>\n	#include <normal_fragment_begin>\n	#include <normal_fragment_maps>\n	#include <emissivemap_fragment>\n	#include <lights_phong_fragment>\n	#include <lights_fragment_begin>\n	#include <lights_fragment_maps>\n	#include <lights_fragment_end>\n	#include <aomap_fragment>\n	vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n	#include <envmap_fragment>\n	gl_FragColor = vec4( outgoingLight, diffuseColor.a );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n	#include <fog_fragment>\n	#include <premultiplied_alpha_fragment>\n	#include <dithering_fragment>\n}",pp="#define PHONG\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	#include <uv_vertex>\n	#include <uv2_vertex>\n	#include <color_vertex>\n	#include <beginnormal_vertex>\n	#include <morphnormal_vertex>\n	#include <skinbase_vertex>\n	#include <skinnormal_vertex>\n	#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n	vNormal = normalize( transformedNormal );\n#endif\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <skinning_vertex>\n	#include <displacementmap_vertex>\n	#include <project_vertex>\n	#include <logdepthbuf_vertex>\n	#include <clipping_planes_vertex>\n	vViewPosition = - mvPosition.xyz;\n	#include <worldpos_vertex>\n	#include <envmap_vertex>\n	#include <shadowmap_vertex>\n	#include <fog_vertex>\n}",gp="#define STANDARD\n#ifdef PHYSICAL\n	#define REFLECTIVITY\n	#define CLEARCOAT\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef USE_TRANSMISSION\n	uniform float transmission;\n	uniform float thickness;\n	uniform vec3 attenuationColor;\n	uniform float attenuationDistance;\n#endif\n#ifdef REFLECTIVITY\n	uniform float reflectivity;\n#endif\n#ifdef CLEARCOAT\n	uniform float clearcoat;
5\n	uniform float clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n	uniform vec3 sheen;\n#endif\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n	#ifdef USE_TANGENT\n		varying vec3 vTangent;\n		varying vec3 vBitangent;\n	#endif\n#endif\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <bsdfs>\n#include <transmission_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <lights_physical_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n	#include <clipping_planes_fragment>\n	vec4 diffuseColor = vec4( diffuse, opacity );\n	ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n	vec3 totalEmissiveRadiance = emissive;\n	#include <logdepthbuf_fragment>\n	#include <map_fragment>\n	#include <color_fragment>\n	#include <alphamap_fragment>\n	#include <alphatest_fragment>\n	#include <roughnessmap_fragment>\n	#include <metalnessmap_fragment>\n	#include <normal_fragment_begin>\n	#include <normal_fragment_maps>\n	#include <clearcoat_normal_fragment_begin>\n	#include <clearcoat_normal_fragment_maps>\n	#include <emissivemap_fragment>\n	#include <lights_physical_fragment>\n	#include <lights_fragment_begin>\n	#include <lights_fragment_maps>\n	#include <lights_fragment_end>\n	#include <aomap_fragment>\n	vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n	vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n	#include <transmission_fragment>\n	vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n	gl_FragColor = vec4( outgoingLight, diffuseColor.a );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n	#include <fog_fragment>\n	#include <premultiplied_alpha_fragment>\n	#include <dithering_fragment>\n}",yp="#define STANDARD\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n	#ifdef USE_TANGENT\n		varying vec3 vTangent;\n		varying vec3 vBitangent;\n	#endif\n#endif\n#ifdef USE_TRANSMISSION\n	varying vec4 vWorldPosition;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	#include <uv_vertex>\n	#include <uv2_vertex>\n	#include <color_vertex>\n	#include <beginnormal_vertex>\n	#include <morphnormal_vertex>\n	#include <skinbase_vertex>\n	#include <skinnormal_vertex>\n	#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n	vNormal = normalize( transformedNormal );\n	#ifdef USE_TANGENT\n		vTangent = normalize( transformedTangent );\n		vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n	#endif\n#endif\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <skinning_vertex>\n	#include <displacementmap_vertex>\n	#include <project_vertex>\n	#include <logdepthbuf_vertex>\n	#include <clipping_planes_vertex>\n	vViewPosition = - mvPosition.xyz;\n	#include <worldpos_vertex>\n	#include <shadowmap_vertex>\n	#include <fog_vertex>\n#ifdef USE_TRANSMISSION\n	vWorldPosition = worldPosition;\n#endif\n}",bp="#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n	varying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n	#ifdef USE_TANGENT\n		varying vec3 vTangent;\n		varying vec3 vBitangent;\n	#endif\n#endif\n#include <packing>\n#include <uv_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n	#include <clipping_planes_fragment>\n	#include <logdepthbuf_fragment>\n	#include <normal_fragment_begin>\n	#include <normal_fragment_maps>\n	gl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n}",_p="#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n	varying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n	varying vec3 vNormal;\n	#ifdef USE_TANGENT\n		varying vec3 vTangent;\n		varying vec3 vBitangent;\n	#endif\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	#include <uv_vertex>\n	#include <beginnormal_vertex>\n	#include <morphnormal_vertex>\n	#include <skinbase_vertex>\n	#include <skinnormal_vertex>\n	#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n	vNormal = normalize( transformedNormal );\n	#ifdef USE_TANGENT\n		vTangent = normalize( transformedTangent );\n		vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n	#endif\n#endif\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <skinning_vertex>\n	#include <displacementmap_vertex>\n	#include <project_vertex>\n	#include <logdepthbuf_vertex>\n	#include <clipping_planes_vertex>\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n	vViewPosition = - mvPosition.xyz;\n#endif\n}",xp="uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n	#include <clipping_planes_fragment>\n	vec3 outgoingLight = vec3( 0.0 );\n	vec4 diffuseColor = vec4( diffuse, opacity );\n	#include <logdepthbuf_fragment>\n	#include <map_particle_fragment>\n	#include <color_fragment>\n	#include <alphatest_fragment>\n	outgoingLight = diffuseColor.rgb;\n	gl_FragColor = vec4( outgoingLight, diffuseColor.a );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n	#include <fog_fragment>\n	#include <premultiplied_alpha_fragment>\n}",wp="uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	#include <color_vertex>\n	#include <begin_vertex>\n	#include <morphtarget_vertex>\n	#include <project_vertex>\n	gl_PointSize = size;\n	#ifdef USE_SIZEATTENUATION\n		bool isPerspective = isPerspectiveMatrix( projectionMatrix );\n		if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n	#endif\n	#include <logdepthbuf_vertex>\n	#include <clipping_planes_vertex>\n	#include <worldpos_vertex>\n	#include <fog_vertex>\n}",Sp="uniform vec3 color;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n	gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n	#include <fog_fragment>\n}",Mp="#include <common>\n#include <fog_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n	#include <begin_vertex>\n	#include <project_vertex>\n	#include <worldpos_vertex>\n	#include <beginnormal_vertex>\n	#include <morphnormal_vertex>\n	#include <skinbase_vertex>\n	#include <skinnormal_vertex>\n	#include <defaultnormal_vertex>\n	#include <shadowmap_vertex>\n	#include <fog_vertex>\n}",Tp="uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n	#include <clipping_planes_fragment>\n	vec3 outgoingLight = vec3( 0.0 );\n	vec4 diffuseColor = vec4( diffuse, opacity );\n	#include <logdepthbuf_fragment>\n	#include <map_fragment>\n	#include <alphamap_fragment>\n	#include <alphatest_fragment>\n	outgoingLight = diffuseColor.rgb;\n	gl_FragColor = vec4( outgoingLight, diffuseColor.a );\n	#include <tonemapping_fragment>\n	#include <encodings_fragment>\n	#include <fog_fragment>\n}",Ep="uniform float rotation;\nuniform vec2 center;\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n	#include <uv_vertex>\n	vec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\n	vec2 scale;\n	scale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n	scale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n	#ifndef USE_SIZEATTENUATION\n		bool isPerspective = isPerspectiveMatrix( projectionMatrix );\n		if ( isPerspective ) scale *= - mvPosition.z;\n	#endif\n	vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n	vec2 rotatedPosition;\n	rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n	rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n	mvPosition.xy += rotatedPosition;\n	gl_Position = projectionMatrix * mvPosition;\n	#include <logdepthbuf_vertex>\n	#include <clipping_planes_vertex>\n	#include <fog_vertex>\n}",an={alphamap_fragment:Bs,alphamap_pars_fragment:I0,alphatest_fragment:v0,aomap_fragment:p1,aomap_pars_fragment:ms,begin_vertex:g1,beginnormal_vertex:F0,bsdfs:y1,bumpmap_pars_fragment:Ns,clipping_planes_fragment:m0,clipping_planes_pars_fragment:Zi,clipping_planes_pars_vertex:Ki,clipping_planes_vertex:bo,color_fragment:b1,color_pars_fragment:du,color_pars_vertex:B0,color_vertex:p0,common:_1,cube_uv_reflection_fragment:N0,defaultnormal_vertex:vu,displacementmap_pars_vertex:x1,displacementmap_vertex:xi,emissivemap_fragment:Yo,emissivemap_pars_fragment:g0,encodings_fragment:w1,encodings_pars_fragment:mu,envmap_fragment:Pl,envmap_common_pars_fragment:pu,envmap_pars_fragment:Dl,envmap_pars_vertex:gu,envmap_physical_pars_fragment:Bl,envmap_vertex:Il,fog_vertex:U0,fog_pars_vertex:yu,fog_fragment:Y2,fog_pars_fragment:bu,gradientmap_pars_fragment:D3,lightmap_fragment:_u,lightmap_pars_fragment:Fl,lights_lambert_vertex:q2,lights_pars_begin:j2,lights_toon_fragment:Nl,lights_toon_pars_fragment:I3,lights_phong_fragment:J6,lights_phong_pars_fragment:Z6,lights_physical_fragment:K6,lights_physical_pars_fragment:$6,lights_fragment_begin:Q6,lights_fragment_maps:em,lights_fragment_end:tm,logdepthbuf_fragment:rm,logdepthbuf_pars_fragment:nm,logdepthbuf_pars_vertex:am,logdepthbuf_vertex:im,map_fragment:om,map_pars_fragment:sm,map_particle_fragment:um,map_particle_pars_fragment:lm,metalnessmap_fragment:cm,metalnessmap_pars_fragment:hm,morphnormal_vertex:fm,morphtarget_pars_vertex:dm,morphtarget_vertex:vm,normal_fragment_begin:mm,normal_fragment_maps:pm,normalmap_pars_fragment:gm,clearcoat_normal_fragment_begin:ym,clearcoat_normal_fragment_maps:bm,clearcoat_pars_fragment:_m,packing:xm,premultiplied_alpha_fragment:wm,project_vertex:Sm,dithering_fragment:Mm,dithering_pars_fragment:Tm,roughnessmap_fragment:Em,roughnessmap_pars_fragment:km,shadowmap_pars_fragment:Am,shadowmap_pars_vertex:Cm,shadowmap_vertex:Rm,shadowmask_pars_fragment:Om,skinbase_vertex:Lm,skinning_pars_vertex:Pm,skinning_vertex:Dm,skinnormal_vertex:Im,specularmap_fragment:Fm,specularmap_pars_fragment:Bm,tonemapping_fragment:Nm,tonemapping_pars_fragment:Um,transmission_fragment:zm,transmission_pars_fragment:Gm,uv_pars_fragment:Vm,uv_pars_vertex:Hm,uv_vertex:Xm,uv2_pars_fragment:Wm,uv2_pars_vertex:Ym,uv2_vertex:qm,worldpos_vertex:jm,background_frag:Jm,background_vert:Zm,cube_frag:Km,cube_vert:$m,depth_frag:Qm,depth_vert:ep,distanceRGBA_frag:tp,distanceRGBA_vert:rp,equirect_frag:np,equirect_vert:ap,linedashed_frag:ip,linedashed_vert:op,meshbasic_frag:sp,meshbasic_vert:up,meshlambert_frag:lp,meshlambert_vert:cp,meshmatcap_frag:hp,meshmatcap_vert:fp,meshtoon_frag:dp,meshtoon_vert:vp,meshphong_frag:mp,meshphong_vert:pp,meshphysical_frag:gp,meshphysical_vert:yp,normal_frag:bp,normal_vert:_p,points_frag:xp,points_vert:wp,shadow_frag:Sp,shadow_vert:Mp,sprite_frag:Tp,sprite_vert:Ep,object_forceField_pars:"",force_project_vertex:"",particle_info_pars:"",particle_info_fragment:"",particle_point_rotation_uv_fragment:""},rr={common:{diffuse:{value:new Zt(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new st},uv2Transform:{value:new st},alphaMap:{value:null}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},refractionRatio:{value:.98},maxMipLevel:{value:0}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new Je(1,1)}}
vendor: 5,402 bytes, line 5
5,displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Zt(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new Zt(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},uvTransform:{value:new st}},sprite:{diffuse:{value:new Zt(16777215)},opacity:{value:1},center:{value:new Je(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},uvTransform:{value:new st}}},ps={basic:{uniforms:Ma([rr.common,rr.specularmap,rr.envmap,rr.aomap,rr.lightmap,rr.fog]),vertexShader:an.meshbasic_vert,fragmentShader:an.meshbasic_frag},lambert:{uniforms:Ma([rr.common,rr.specularmap,rr.envmap,rr.aomap,rr.lightmap,rr.emissivemap,rr.fog,rr.lights,{emissive:{value:new Zt(0)}}]),vertexShader:an.meshlambert_vert,fragmentShader:an.meshlambert_frag},phong:{uniforms:Ma([rr.common,rr.specularmap,rr.envmap,rr.aomap,rr.lightmap,rr.emissivemap,rr.bumpmap,rr.normalmap,rr.displacementmap,rr.fog,rr.lights,{emissive:{value:new Zt(0)},specular:{value:new Zt(1118481)},shininess:{value:30}}]),vertexShader:an.meshphong_vert,fragmentShader:an.meshphong_frag},standard:{uniforms:Ma([rr.common,rr.envmap,rr.aomap,rr.lightmap,rr.emissivemap,rr.bumpmap,rr.normalmap,rr.displacementmap,rr.roughnessmap,rr.metalnessmap,rr.fog,rr.lights,{emissive:{value:new Zt(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:an.meshphysical_vert,fragmentShader:an.meshphysical_frag},toon:{uniforms:Ma([rr.common,rr.aomap,rr.lightmap,rr.emissivemap,rr.bumpmap,rr.normalmap,rr.displacementmap,rr.gradientmap,rr.fog,rr.lights,{emissive:{value:new Zt(0)}}]),vertexShader:an.meshtoon_vert,fragmentShader:an.meshtoon_frag},matcap:{uniforms:Ma([rr.common,rr.bumpmap,rr.normalmap,rr.displacementmap,rr.fog,{matcap:{value:null}}]),vertexShader:an.meshmatcap_vert,fragmentShader:an.meshmatcap_frag},points:{uniforms:Ma([rr.points,rr.fog]),vertexShader:an.points_vert,fragmentShader:an.points_frag},dashed:{uniforms:Ma([rr.common,rr.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:an.linedashed_vert,fragmentShader:an.linedashed_frag},depth:{uniforms:Ma([rr.common,rr.displacementmap]),vertexShader:an.depth_vert,fragmentShader:an.depth_frag},normal:{uniforms:Ma([rr.common,rr.bumpmap,rr.normalmap,rr.displacementmap,{opacity:{value:1}}]),vertexShader:an.normal_vert,fragmentShader:an.normal_frag},sprite:{uniforms:Ma([rr.sprite,rr.fog]),vertexShader:an.sprite_vert,fragmentShader:an.sprite_frag},background:{uniforms:{uvTransform:{value:new st},t2D:{value:null}},vertexShader:an.background_vert,fragmentShader:an.background_frag},cube:{uniforms:Ma([rr.envmap,{opacity:{value:1}}]),vertexShader:an.cube_vert,fragmentShader:an.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:an.equirect_vert,fragmentShader:an.equirect_frag},distanceRGBA:{uniforms:Ma([rr.common,rr.displacementmap,{referencePosition:{value:new pe},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:an.distanceRGBA_vert,fragmentShader:an.distanceRGBA_frag},shadow:{uniforms:Ma([rr.lights,rr.fog,{color:{value:new Zt(0)},opacity:{value:1}}]),vertexShader:an.shadow_vert,fragmentShader:an.shadow_frag}};ps.physical={uniforms:Ma([ps.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new Je(1,1)},clearcoatNormalMap:{value:null},sheen:{value:new Zt(0)},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new Je},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new Zt(0)}}]),vertexShader:an.meshphysical_vert,fragmentShader:an.meshphysical_frag};function kp(i,s,e,r,t){var a=new Zt(0),l=0,f,m,x=null,D=0,I=null;function N(Z,Q){var oe=!1,K=Q.isScene===!0?Q.background:null;K&&K.isTexture&&(K=s.get(K)),K===null?W(a,l):K&&K.isColor&&(W(K,1),oe=!0),(i.autoClear||oe)&&i.clear(i.autoClearColor,i.autoClearDepth,i.autoClearStencil),K&&(K.isCubeTexture||K.mapping===pr)?(m===void 0&&(m=new zn(new Pi(1,1,1),new ui({name:"Backgroun
5dCubeMaterial",uniforms:qi(ps.cube.uniforms),vertexShader:ps.cube.vertexShader,fragmentShader:ps.cube.fragmentShader,side:L,depthTest:!1,depthWrite:!1,fog:!1})),m.geometry.deleteAttribute("normal"),m.geometry.deleteAttribute("uv"),m.onBeforeRender=function(J,_e,Me){this.matrixWorld.copyPosition(Me.matrixWorld)},Object.defineProperty(m.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(m)),m.material.uniforms.envMap.value=K,m.material.uniforms.flipEnvMap.value=K.isCubeTexture&&K._needsFlipEnvMap?-1:1,(x!==K||D!==K.version||I!==i.toneMapping)&&(m.material.needsUpdate=!0,x=K,D=K.version,I=i.toneMapping),Z.unshift(m,m.geometry,m.material,0,0,null)):K&&K.isTexture&&(f===void 0&&(f=new zn(new vs(2,2),new ui({name:"BackgroundMaterial",uniforms:qi(ps.background.uniforms),vertexShader:ps.background.vertexShader,fragmentShader:ps.background.fragmentShader,side:V,depthTest:!1,depthWrite:!1,fog:!1})),f.geometry.deleteAttribute("normal"),Object.defineProperty(f.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(f)),f.material.uniforms.t2D.value=K,K.matrixAutoUpdate===!0&&K.updateMatrix(),f.material.uniforms.uvTransform.value.copy(K.matrix),(x!==K||D!==K.version||I!==i.toneMapping)&&(f.material.needsUpdate=!0,x=K,D=K.version,I=i.toneMapping),Z.unshift(f,f.geometry,f.material,0,0,null))}function W(Z,Q){e.buffers.color.setClear(Z.r,Z.g,Z.b,Q,t)}return{getClearColor:function(){return a},setClearColor:function(Q){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;a.set(Q),l=oe,W(a,l)},getClearAlpha:function(){return l},setClearAlpha:function(Q){l=Q,W(a,l)},render:N}}function Ap(i,s,e,r){var t=i.getParameter(i.MAX_VERTEX_ATTRIBS),a=r.isWebGL2?null:s.get("OES_vertex_array_object"),l=r.isWebGL2||a!==null,f={},m=Q(null),x=m;function D(We,it,ht,Ze,lt){var Et=!1;if(l){var Xt=Z(Ze,ht,it);x!==Xt&&(x=Xt,N(x.object)),Et=oe(Ze,lt),Et&&K(Ze,lt)}else{var Bt=it.wireframe===!0;(x.geometry!==Ze.id||x.program!==ht.id||x.wireframe!==Bt)&&(x.geometry=Ze.id,x.program=ht.id,x.wireframe=Bt,Et=!0)}We.isInstancedMesh===!0&&(Et=!0),lt!==null&&e.update(lt,i.ELEMENT_ARRAY_BUFFER),Et&&(we(We,it,ht,Ze),lt!==null&&i.bindBuffer(i.ELEMENT_ARRAY_BUFFER,e.get(lt).buffer))}function I(){return r.isWebGL2?i.createVertexArray():a.createVertexArrayOES()}function N(We){return r.isWebGL2?i.bindVertexArray(We):a.bindVertexArrayOES(We)}function W(We){return r.isWebGL2?i.deleteVertexArray(We):a.deleteVertexArrayOES(We)}function Z(We,it,ht){var Ze=ht.wireframe===!0,lt=f[We.id];lt===void 0&&(lt={},f[We.id]=lt);var Et=lt[it.id];Et===void 0&&(Et={},lt[it.id]=Et);var Xt=Et[Ze];return Xt===void 0&&(Xt=Q(I()),Et[Ze]=Xt),Xt}function Q(We){for(var it=[],ht=[],Ze=[],lt=0;lt<t;lt++)it[lt]=0,ht[lt]=0,Ze[lt]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:it,enabledAttributes:ht,attributeDivisors:Ze,object:We,attributes:{},index:null}}
5function oe(We,it){var ht=x.attributes,Ze=We.attributes,lt=0;for(var Et in Ze){var Xt=ht[Et],Bt=Ze[Et];if(Xt===void 0||Xt.attribute!==Bt||Xt.data!==Bt.data)return!0;lt++}return x.attributesNum!==lt||x.index!==it}function K(We,it){var ht={},Ze=We.attributes,lt=0;for(var Et in Ze){var Xt=Ze[Et],Bt={};Bt.attribute=Xt,Xt.data&&(Bt.data=Xt.data),ht[Et]=Bt,lt++}x.attributes=ht,x.attributesNum=lt,x.index=it}function J(){for(var We=x,it=We.newAttributes,ht=0,Ze=it.length;ht<Ze;ht++)it[ht]=0}function _e(We){Me(We,0)}function Me(We,it){var ht=x,Ze=ht.newAttributes,lt=x,Et=lt.enabledAttributes,Xt=x,Bt=Xt.attributeDivisors;if(Ze[We]=1,Et[We]===0&&(i.enableVertexAttribArray(We),Et[We]=1),Bt[We]!==it){var Ot=r.isWebGL2?i:s.get("ANGLE_instanced_arrays");Ot[r.isWebGL2?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](We,it),Bt[We]=it}}function Ae(){for(var We=x,it=We.newAttributes,ht=x,Ze=ht.enabledAttributes,lt=0,Et=Ze.length;lt<Et;lt++)Ze[lt]!==it[lt]&&(i.disableVertexAttribArray(lt),Ze[lt]=0)}function ie(We,it,ht,Ze,lt,Et){r.isWebGL2===!0&&(ht===i.INT||ht===i.UNSIGNED_INT)?i.vertexAttribIPointer(We,it,ht,lt,Et):i.vertexAttribPointer(We,it,ht,Ze,lt,Et)}function we(We,it,ht,Ze){if(!(r.isWebGL2===!1&&(We.isInstancedMesh||Ze.isInstancedBufferGeometry)&&s.get("ANGLE_instanced_arrays")===null)){J();var lt=Ze.attributes,Et=ht.getAttributes(),Xt=it.defaultAttributeValues;for(var Bt in Et){var Ot=Et[Bt];if(Ot>=0){var Gt=lt[Bt];if(Gt!==void 0){var lr=Gt.normalized,Dr=Gt.itemSize,Ar=e.get(Gt);if(Ar===void 0)continue;var Fe=Ar.buffer,fr=Ar.type,zr=Ar.bytesPerElement;if(Gt.isInterleavedBufferAttribute){var on=Gt.data,Xr=on.stride,Rr=Gt.offset;on&&on.isInstancedInterleavedBuffer?(Me(Ot,on.meshPerAttribute),Ze._maxInstanceCount===void 0&&(Ze._maxInstanceCount=on.meshPerAttribute*on.count)):_e(Ot),i.bindBuffer(i.ARRAY_BUFFER,Fe),ie(Ot,Dr,fr,lr,Xr*zr,Rr*zr)}else Gt.isInstancedBufferAttribute?(Me(Ot,Gt.meshPerAttribute),Ze._maxInstanceCount===void 0&&(Ze._maxInstanceCount=Gt.meshPerAttribute*Gt.count)):_e(Ot),i.bindBuffer(i.ARRAY_BUFFER,Fe),ie(Ot,Dr,fr,lr,0,0)}else if(Bt==="instanceMatrix"){var Mr=e.get(We.instanceMatrix);if(Mr===void 0)continue;var cn=Mr.buffer,nn=Mr.type;Me(Ot+0,1),Me(Ot+1,1),Me(Ot+2,1),Me(Ot+3,1),i.bindBuffer(i.ARRAY_BUFFER,cn),i.vertexAttribPointer(Ot+0,4,nn,!1,64,0),i.vertexAttribPointer(Ot+1,4,nn,!1,64,16),i.vertexAttribPointer(Ot+2,4,nn,!1,64,32),i.vertexAttribPointer(Ot+3,4,nn,!1,64,48)}else if(Bt==="instanceColor"){var En=e.get(We.instanceColor);if(En===void 0)continue;var Aa=En.buffer,fa=En.type;Me(Ot,1),i.bindBuffer(i.ARRAY_BUFFER,Aa),i.vertexAttribPointer(Ot,3,fa,!1,12,0)}else if(Xt!==void 0){var Ja=Xt[Bt];if(Ja!==void 0)switch(Ja.length){case 2:i.vertexAttrib2fv(Ot,Ja);break;case 3:i.vertexAttrib3fv(Ot,Ja);break;case 4:i.vertexAttrib4fv(Ot,Ja);break;default:i.vertexAttrib1fv(Ot,Ja)}}}}Ae()}}function Te(){nt();for(var We in f){var it=f[We];for(var ht in it){var Ze=it[ht];for(var lt in Ze)W(Ze[lt].object),delete Ze[lt];delete it[ht]}delete f[We]}}function Ye(We){if(f[We.id]!==void 0){var it=f[We.id];for(var ht in it){var Ze=it[ht];for(var lt in Ze)W(Ze[lt].object),delete Ze[lt];delete it[ht]}delete f[We.id]}}function Ie(We){for(var it in f){var ht=f[it];if(ht[We.id]!==void 0){var Ze=ht[We.id];for(var lt in Ze)W(Ze[lt].object),delete Ze[lt];delete ht[We.id]}}}function nt(){dt(),x!==m&&(x=m,N(x.object))}function dt(){m.geometry=null,m.program=null,m.wireframe=!1}return{setup:D,reset:nt,resetDefaultState:dt,dispose:Te,releaseStatesOfGeometry:Ye,releaseStatesOfProgram:Ie,initAttributes:J,enableAttribute:_e,disableUnusedAttributes:Ae}}function Cp(i,s,e,r){var t=r.isWebGL2,a;function l(x){a=x}function f(x,D){i.drawArrays(a,x,D),e.update(D,a,1)}function m(x,D,I){if(I!==0){var N,W;if(t)N=i,W="drawArraysInstanced";else if(N=s.get("ANGLE_instanced_arrays"),W="drawArraysInstancedANGLE",N===null){console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");return}N[W](a,x,D,I),e.update(D,a,I)}}this.setMode=l,this.render=f,this.renderInstances=m}function Rp(i,s,e){var r;function t(){if(r!==void 0)return r;if(s.has("EXT_texture_filter_anisotropic")===!0){var we=s.get("EXT_texture_filter_anisotropic");r=i.getParameter(we.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else r=0;return r}function a(we){if(we==="highp"){if(i.getShaderPrecisionFormat(i.VERTEX_SHADER,i.HIGH_FLOAT).precision>0&&i.getShaderPrecisionFormat(i.FRAGMENT_SHADER,i.HIGH_FLOAT).precision>0)return"highp";we="mediump"}return we==="mediump"&&i.getShaderPrecisionFormat(i.VERTEX_SHADER,i.MEDIUM_FLOAT).precision>0&&i.getShaderPrecisionFormat(i.FRAGMENT_SHADER,i.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}var l=typeof WebGL2RenderingContext<"u"&&i instanceof WebGL2RenderingContext||typeof WebGL2ComputeRenderingContext<"u"&&i instanceof WebGL2ComputeRenderingContext,f
5=e.precision!==void 0?e.precision:"highp",m=a(f);m!==f&&(console.warn("THREE.WebGLRenderer:",f,"not supported, using",m,"instead."),f=m);var x=l||s.has("WEBGL_draw_buffers"),D=e.logarithmicDepthBuffer===!0,I=i.getParameter(i.MAX_TEXTURE_IMAGE_UNITS),N=i.getParameter(i.MAX_VERTEX_TEXTURE_IMAGE_UNITS),W=i.getParameter(i.MAX_TEXTURE_SIZE),Z=i.getParameter(i.MAX_CUBE_MAP_TEXTURE_SIZE),Q=i.getParameter(i.MAX_VERTEX_ATTRIBS),oe=i.getParameter(i.MAX_VERTEX_UNIFORM_VECTORS),K=i.getParameter(i.MAX_VARYING_VECTORS),J=i.getParameter(i.MAX_FRAGMENT_UNIFORM_VECTORS),_e=N>0,Me=l||s.has("OES_texture_float"),Ae=_e&&Me,ie=l?i.getParameter(i.MAX_SAMPLES):0;return{isWebGL2:l,drawBuffers:x,getMaxAnisotropy:t,getMaxPrecision:a,precision:f,logarithmicDepthBuffer:D,maxTextures:I,maxVertexTextures:N,maxTextureSize:W,maxCubemapSize:Z,maxAttributes:Q,maxVertexUniforms:oe,maxVaryings:K,maxFragmentUniforms:J,vertexTextures:_e,floatFragmentTextures:Me,floatVertexTextures:Ae,maxSamples:ie}}function Op(i){var s=this,e=null,r=0,t=!1,a=!1,l=new ja,f=new st,m={value:null,needsUpdate:!1};this.uniform=m,this.numPlanes=0,this.numIntersection=0,this.init=function(I,N,W){var Z=I.length!==0||N||r!==0||t;return t=N,e=D(I,W,0),r=I.length,Z},this.beginShadows=function(){a=!0,D(null)},this.endShadows=function(){a=!1,x()},this.setState=function(I,N,W){var Z=I.clippingPlanes,Q=I.clipIntersection,oe=I.clipShadows,K=i.get(I);if(!t||Z===null||Z.length===0||a&&!oe)a?D(null):x();else{var J=a?0:r,_e=J*4,Me=K.clippingState||null;m.value=Me,Me=D(Z,N,_e,W);for(var Ae=0;Ae!==_e;++Ae)Me[Ae]=e[Ae];K.clippingState=Me,this.numIntersection=Q?this.numPlanes:0,this.numPlanes+=J}};function x(){m.value!==e&&(m.value=e,m.needsUpdate=r>0),s.numPlanes=r,s.numIntersection=0}function D(I,N,W,Z){var Q=I!==null?I.length:0,oe=null;if(Q!==0){if(oe=m.value,Z!==!0||oe===null){var K=W+Q*4,J=N.matrixWorldInverse;f.getNormalMatrix(J),(oe===null||oe.length<K)&&(oe=new Float32Array(K));for(var _e=0,Me=W;_e!==Q;++_e,Me+=4)l.copy(I[_e]).applyMatrix4(J,f),l.normal.toArray(oe,Me),oe[Me+3]=l.constant}m.value=oe,m.needsUpdate=!0}return s.numPlanes=Q,s.numIntersection=0,oe}}function Lp(i){var s=new WeakMap;function e(l,f){return f===en?l.mapping=Oa:f===ua&&(l.mapping=Rn),l}function r(l){if(l&&l.isTexture){var f=l.mapping;if(f===en||f===ua){if(s.has(l)){var m=s.get(l).texture;return e(m,l.mapping)}var x=l.image;if(x&&x.height>0){var D=i.getRenderTarget(),I=new L0(x.height/2);return I.fromEquirectangularTexture(i,l),s.set(l,I),i.setRenderTarget(D),l.addEventListener("dispose",t),e(I.texture,l.mapping)}return null}}return l}function t(l){var f=l.target;f.removeEventListener("dispose",t);var m=s.get(f);m!==void 0&&(s.delete(f),m.dispose())}function a(){s=new WeakMap}return{get:r,dispose:a}}function Pp(i){var s={};function e(r){if(s[r]!==void 0)return s[r];var t;switch(r){case"WEBGL_depth_texture":t=i.getExtension("WEBGL_depth_texture")||i.getExtension("MOZ_WEBGL_depth_texture")||i.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":t=i.getExtension("EXT_texture_filter_anisotropic")||i.getExtension("MOZ_EXT_texture_filter_anisotropic")||i.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":t=i.getExtension("WEBGL_compressed_texture_s3tc")||i.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||i.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":t=i.getExtension("WEBGL_compressed_texture_pvrtc")||i.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:t=i.getExtension(r)}return s[r]=t,t}return{has:function(t){return e(t)!==null},init:function(t){t.isWebGL2?e("EXT_color_buffer_float"):(e("WEBGL_depth_texture"),e("OES_texture_float"),e("OES_texture_half_float"),e("OES_texture_half_float_linear"),e("OES_standard_derivatives"),e("OES_element_index_uint"),e("OES_vertex_array_object"),e("ANGLE_instanced_arrays")),e("OES_texture_float_linear"),e("EXT_color_buffer_half_float")},get:function(t){var a=e(t);return a===null&&console.warn("THREE.WebGLRenderer: ".concat(t," extension not supported.")),a}}}function Dp(i,s,e,r){var t={},a=new WeakMap;
5function l(I){var N=I.target;N.index!==null&&s.remove(N.index);for(var W in N.attributes)s.remove(N.attributes[W]);N.removeEventListener("dispose",l),delete t[N.id];var Z=a.get(N);Z&&(s.remove(Z),a.delete(N)),r.releaseStatesOfGeometry(N),N.isInstancedBufferGeometry===!0&&delete N._maxInstanceCount,e.memory.geometries--}function f(I,N){return t[N.id]===!0||(N.addEventListener("dispose",l),t[N.id]=!0,e.memory.geometries++),N}function m(I){var N=I.attributes;for(var W in N)s.update(N[W],i.ARRAY_BUFFER);var Z=I.morphAttributes;for(var Q in Z)for(var oe=Z[Q],K=0,J=oe.length;K<J;K++)s.update(oe[K],i.ARRAY_BUFFER)}function x(I){var N=[],W=I.index,Z=I.attributes.position,Q=0;if(W!==null){var oe=W.array;Q=W.version;for(var K=0,J=oe.length;K<J;K+=3){var _e=oe[K+0],Me=oe[K+1],Ae=oe[K+2];N.push(_e,Me,Me,Ae,Ae,_e)}}else{var ie=Z.array;Q=Z.version;for(var we=0,Te=ie.length/3-1;we<Te;we+=3){var Ye=we+0,Ie=we+1,nt=we+2;N.push(Ye,Ie,Ie,nt,nt,Ye)}}var dt=new(ls(N)>65535?Rs:gi)(N,1);dt.version=Q;var We=a.get(I);We&&s.remove(We),a.set(I,dt)}function D(I){var N=a.get(I);if(N){var W=I.index;W!==null&&N.version<W.version&&x(I)}else x(I);return a.get(I)}return{get:f,update:m,getWireframeAttribute:D}}function Ip(i,s,e,r){var t=r.isWebGL2,a;function l(N){a=N}var f,m;function x(N){f=N.type,m=N.bytesPerElement}function D(N,W){i.drawElements(a,W,f,N*m),e.update(W,a,1)}function I(N,W,Z){if(Z!==0){var Q,oe;if(t)Q=i,oe="drawElementsInstanced";else if(Q=s.get("ANGLE_instanced_arrays"),oe="drawElementsInstancedANGLE",Q===null){console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");return}Q[oe](a,W,f,N*m,Z),e.update(W,a,Z)}}this.setMode=l,this.setIndex=x,this.render=D,this.renderInstances=I}function Fp(i){var s={geometries:0,textures:0},e={frame:0,calls:0,triangles:0,points:0,lines:0};function r(a,l,f){switch(e.calls++,l){case i.TRIANGLES:e.triangles+=f*(a/3);break;case i.LINES:e.lines+=f*(a/2);break;case i.LINE_STRIP:e.lines+=f*(a-1);break;case i.LINE_LOOP:e.lines+=f*a;break;case i.POINTS:e.points+=f*a;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",l);break}}function t(){e.frame++,e.calls=0,e.triangles=0,e.points=0,e.lines=0}return{memory:s,render:e,programs:null,autoReset:!0,reset:t,update:r}}function Bp(i,s){return i[0]-s[0]}function Np(i,s){return Math.abs(s[1])-Math.abs(i[1])}function Up(i){for(var s={},e=new Float32Array(8),r=[],t=0;t<8;t++)r[t]=[t,0];function a(l,f,m,x){var D=l.morphTargetInfluences,I=D===void 0?0:D.length,N=s[f.id];if(N===void 0||N.length!==I){N=[];for(var W=0;W<I;W++)N[W]=[W,0];s[f.id]=N}for(var Z=0;Z<I;Z++){var Q=N[Z];Q[0]=Z,Q[1]=D[Z]}N.sort(Np);for(var oe=0;oe<8;oe++)oe<I&&N[oe][1]?(r[oe][0]=N[oe][0],r[oe][1]=N[oe][1]):(r[oe][0]=Number.MAX_SAFE_INTEGER,r[oe][1]=0);r.sort(Bp);for(var K=m.morphTargets&&f.morphAttributes.position,J=m.morphNormals&&f.morphAttributes.normal,_e=0,Me=0;Me<8;Me++){var Ae=r[Me],ie=Ae[0],we=Ae[1];ie!==Number.MAX_SAFE_INTEGER&&we?(K&&f.getAttribute("morphTarget".concat(Me))!==K[ie]&&f.setAttribute("morphTarget".concat(Me),K[ie]),J&&f.getAttribute("morphNormal".concat(Me))!==J[ie]&&f.setAttribute("morphNormal".concat(Me),J[ie]),e[Me]=we,_e+=we):(K&&f.hasAttribute("morphTarget".concat(Me))===!0&&f.deleteAttribute("morphTarget".concat(Me)),J&&f.hasAttribute("morphNormal".concat(Me))===!0&&f.deleteAttribute("morphNormal".concat(Me)),e[Me]=0)}var Te=f.morphTargetsRelative?1:1-_e;x.getUniforms().setValue(i,"morphTargetBaseInfluence",Te),x.getUniforms().setValue(i,"morphTargetInfluences",e)}return{update:a}}function zp(i,s,e,r){var t=new WeakMap;function a(m){var x=r.render.frame,D=m.geometry,I=s.get(m,D);return t.get(I)!==x&&(s.update(I),t.set(I,x)),m.isInstancedMesh&&(m.hasEventListener("dispose",f)===!1&&m.addEventListener("dispose",f),e.update(m.instanceMatrix,i.ARRAY_BUFFER),m.instanceColor!==null&&e.update(m.instanceColor,i.ARRAY_BUFFER)),I}function l(){t=new WeakMap}function f(m){var x=m.target;x.removeEventListener("dispose",f),e.remove(x.instanceMatrix),x.instanceColor!==null&&e.remove(x.instanceColor)}return{update:a,dispose:l}}var F3=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return Ge(this,e),r=s.call(this,null),r.image={data:t,width:a,height:l,depth:f},r.magFilter=un,r.minFilter=un,r.wrapR=dr,r.generateMipmaps=!1,r.flipY=!1,r.unpackAlignment=1,r.needsUpdate=!0,r}return e}(Nt);F3.prototype.isDataTexture2DArray=!0;var B3=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return Ge(this,e),r=s.call(this,null),r.image={data:t,width:a,height:l,depth:f},r.magFilter=un,r.minFilter=un,r.wrapR=dr,r.generateMipmaps=!1,r.flipY=!1,r.unpackAlignment=1,r.needsUpdate=!0,r}return e}(Nt);B3.prototype.isDataTexture3D=!0;var jf=new Nt,Gp=new F3,Vp=new B3,Jf=new Ji,Zf=[],Kf=[],$f=new Float32Array(16),Qf=new Float32Array(9),e4=new Float32Array(4);function xu(i,s,e){var r=i[0];if(r<=0||r>0)return i;var t=s*e,a=Zf[t];if(a===void 0&&(a=new Float32Array(t),Zf[t]=a),s!==0){r.toArray(a,0);for(var l=1,f=0;l!==s;++l)f+=e,i[l].toArray(a,f)}return a}function Di(i,s){if(i.length!==s.length)return!1;for(var e=0,r=i.length;e<r;e++)if(i[e]!==s[e])return!1;return!0}function wi(i,s){for(var e=0,r=s.length;e<r;e++)i[e]=s[e]}function t4(i,s){var e=Kf[s];e===void 0&&(e=new Int32Array(s),Kf[s]=e);for(var r=0;r!==s;++r)e[r]=i.allocateTextureUnit();return e}function Hp(i,s){var e=this.cache;e[0]!==s&&(i.uniform1f(this.addr,s),e[0]=s)}function Xp(i,s){var e=this.cache;if(s.x!==void 0)(e[0]!==s.x||e[1]!==s.y)&&(i.uniform2f(this.addr,s.x,s.y),e[0]=s.x,e[1]=s.y);else{if(Di(e,s))return;i.uniform2fv(this.addr,s),wi(e,s)}}function Wp(i,s){var e=this.cache;if(s.x!==void 0)(e[0]!==s.x||e[1]!==s.y||e[2]!==s.z)&&(i.uniform3f(this.addr,s.x,s.y,s.z),e[0]=s.x,e[1]=s.y,e[2]=s.z);else if(s.r!==void 0)(e[0]!==s.r||e[1]!==s.g||e[2]!==s.b)&&(i.uniform3f(this.addr,s.r,s.g,s.b),e[0]=s.r,e[1]=s.g,e[2]=s.b);else{if(Di(e,s))return;i.uniform3fv(this.addr,s),wi(e,s)}}function Yp(i,s){var e=this.cache;if(s.x!==void 0)(e[0]!==s.x||e[1]!==s.y||e[2]!==s.z||e[3]!==s.w)&&(i.uniform4f(this.addr,s.x,s.y,s.z,s.w),e[0]=s.x,e[1]=s.y,e[2]=s.z,e[3]=s.w);else{if(Di(e,s))return;i.uniform4fv(this.addr,s),wi(e,s)}}function qp(i,s){var e=this.cache,r=s.elements;if(r===void 0){if(Di(e,s))return;i.uniformMatrix2fv(this.addr,!1,s),wi(e,s)}else{if(Di(e,r))return;e4.set(r),i.uniformMatrix2fv(this.addr,!1,e4),wi(e,r)}}function jp(i,s){var e=this.cache,r=s.elements;if(r===void 0){if(Di(e,s))return;i.uniformMatrix3fv(this.addr,!1,s),wi(e,s)}else{if(Di(e,r))return;Qf.set(r),i.uniformMatrix3fv(this.addr,!1,Qf),wi(e,r)}}function Jp(i,s){var e=this.cache,r=s.elements;if(r===void 0){if(Di(e,s))return;i.uniformMatrix4fv(this.addr,!1,s),wi(e,s)}else{if(Di(e,r))return;$f.set(r),i.uniformMatrix4fv(this.addr,!1,$f),wi(e,r)}}function Zp(i,s){var e=this.cache;e[0]!==s&&(i.uniform1i(this.addr,s),e[0]=s)}function Kp(i,s){var e=this.cache;Di(e,s)||(i.uniform2iv(this.addr,s),wi(e,s))}function $p(i,s){var e=this.cache;Di(e,s)||(i.uniform3iv(this.addr,s),wi(e,s))}function Qp(i,s){var e=this.cache;Di(e,s)||(i.uniform4iv(this.addr,s),wi(e,s))}function e8(i,s){var e=this.cache;e[0]!==s&&(i.uniform1ui(this.addr,s),e[0]=s)}function t8(i,s){var e=this.cache;Di(e,s)||(i.uniform2uiv(this.addr,s),wi(e,s))}function r8(i,s){var e=this.cache;Di(e,s)||(i.uniform3uiv(this.addr,s),wi(e,s))}function n8(i,s){var e=this.cache;Di(e,s)||(i.uniform4uiv(this.addr,s),wi(e,s))}function a8(i,s,e){var r=this.cache,t=e.allocateTextureUnit();r[0]!==t&&(i.uniform1i(this.addr,t),r[0]=t),e.safeSetTexture2D(s||jf,t)}function i8(i,s,e){var r=this.cache,t=e.allocateTextureUnit();r[0]!==t&&(i.uniform1i(this.addr,t),r[0]=t),e.setTexture3D(s||Vp,t)}function o8(i,s,e){var r=this.cache,t=e.allocateTextureUnit();r[0]!==t&&(i.uniform1i(this.addr,t),r[0]=t),e.safeSetTextureCube(s||Jf,t)}function s8(i,s,e){var r=this.cache,t=e.allocateTextureUnit();r[0]!==t&&(i.uniform1i(this.addr,t),r[0]=t),e.setTexture2DArray(s||Gp,t)}function u8(i){switch(i){case 5126:return Hp;case 35664:return Xp;case 35665:return Wp;case 35666:return Yp;case 35674:return qp;case 35675:return jp;case 35676:return Jp;case 5124:case 35670:return Zp;case 35667:case 35671:return Kp;case 35668:case 35672:return $p;case 35669:case 35673:return Qp;case 5125:return e8;case 36294:return t8;case 36295:return r8;case 36296:return n8;case 35678:case 36198:case 36298:case 36306:case 35682:return a8;case 35679:case 36299:case 36307:return i8;case 35680:case 36300:case 36308:case 36293:return o8;case 36289:case 36303:case 36311:case 36292:return s8}}function l8(i,s){i.uniform1fv(this.addr,s)}function c8(i,s){var e=xu(s,this.size,2);i.uniform2fv(this.addr,e)}function h8(i,s){var e=xu(s,this.size,3);i.uniform3fv(this.addr,e)}function f8(i,s){var e=xu(s,this.size,4);i.uniform4fv(this.addr,e)}function d8(i,s){var e=xu(s,this.size,4);i.uniformMatrix2fv(this.addr,!1,e)}function v8(i,s){var e=xu(s,this.size,9);i.uniformMatrix3fv(this.addr,!1,e)}function m8(i,s){var e=xu(s,this.size,16);i.uniformMatrix4fv(this.addr,!1,e)}function p8(i,s){i.uniform1iv(this.addr,s)}function g8(i,s){i.uniform2iv(this.addr,s)}function y8(i,s){i.uniform3iv(this.addr,s)}function b8(i,s){i.uniform4iv(this.addr,s)}function _8(i,s){i.uniform1uiv(this.addr,s)}function x8(i,s){i.uniform2uiv(this.addr,s)}function w8(i,s){i.uniform3uiv(this.addr,s)}function S8(i,s){i.uniform4uiv(this.addr,s)}function M8(i,s,e){var r=s.length,t=t4(e,r);i.uniform1iv(this.addr,t);for(var a=0;a!==r;++a)e.safeSetTexture2D(s[a]||jf,t[a])}function T8(i,s,e){var r=s.length,t=t4(e,r);i.uniform1iv(this.addr,t);for(var a=0;a!==r;++a)e.safeSetTextureCube(s[a]||Jf,t[a])}function E8(i){switch(i){case 5126:return l8;
5case 35664:return c8;case 35665:return h8;case 35666:return f8;case 35674:return d8;case 35675:return v8;case 35676:return m8;case 5124:case 35670:return p8;case 35667:case 35671:return g8;case 35668:case 35672:return y8;case 35669:case 35673:return b8;case 5125:return _8;case 36294:return x8;case 36295:return w8;case 36296:return S8;case 35678:case 36198:case 36298:case 36306:case 35682:return M8;case 35680:case 36300:case 36308:case 36293:return T8}}function k8(i,s,e){this.id=i,this.addr=e,this.cache=[],this.setValue=u8(s.type)}function r4(i,s,e){this.id=i,this.addr=e,this.cache=[],this.size=s.size,this.setValue=E8(s.type)}r4.prototype.updateCache=function(i){var s=this.cache;i instanceof Float32Array&&s.length!==i.length&&(this.cache=new Float32Array(i.length)),wi(s,i)};function n4(i){this.id=i,this.seq=[],this.map={}}n4.prototype.setValue=function(i,s,e){for(var r=this.seq,t=0,a=r.length;t!==a;++t){var l=r[t];l.setValue(i,s[l.id],e)}};var N3=/(\w+)(\])?(\[|\.)?/g;function a4(i,s){i.seq.push(s),i.map[s.id]=s}function A8(i,s,e){var r=i.name,t=r.length;for(N3.lastIndex=0;;){var a=N3.exec(r),l=N3.lastIndex,f=a[1],m=a[2]==="]",x=a[3];if(m&&(f|=0),x===void 0||x==="["&&l+2===t){a4(e,x===void 0?new k8(f,i,s):new r4(f,i,s));break}else{var D=e,I=D.map,N=I[f];N===void 0&&(N=new n4(f),a4(e,N)),e=N}}}function z0(i,s){this.seq=[],this.map={};for(var e=i.getProgramParameter(s,i.ACTIVE_UNIFORMS),r=0;r<e;++r){var t=i.getActiveUniform(s,r),a=i.getUniformLocation(s,t.name);A8(t,a,this)}}z0.prototype.setValue=function(i,s,e,r){var t=this.map[s];t!==void 0&&t.setValue(i,e,r)},z0.prototype.setOptional=function(i,s,e){var r=s[e];r!==void 0&&this.setValue(i,e,r)},z0.upload=function(i,s,e,r){for(var t=0,a=s.length;t!==a;++t){var l=s[t],f=e[l.id];f.needsUpdate!==!1&&l.setValue(i,f.value,r)}},z0.seqWithValue=function(i,s){for(var e=[],r=0,t=i.length;r!==t;++r){var a=i[r];a.id in s&&e.push(a)}return e};function i4(i,s,e){var r=i.createShader(s);return i.shaderSource(r,e),i.compileShader(r),r}var C8=0;function R8(i){for(var s=i.split("\n"),e=0;e<s.length;e++)s[e]="".concat(e+1,": ").concat(s[e]);return s.join("\n")}function o4(i){switch(i){case ii:return["Linear","( value )"];case d1:return["sRGB","( value )"];case lu:return["RGBE","( value )"];case Ml:return["RGBM","( value, 7.0 )"];case Tl:return["RGBM","( value, 16.0 )"];case El:return["RGBD","( value, 256.0 )"];case uu:return["Gamma","( value, float( GAMMA_FACTOR ) )"];case F2:return["LogLuv","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",i),["Linear","( value )"]}}function s4(i,s,e){var r=i.getShaderParameter(s,i.COMPILE_STATUS),t=i.getShaderInfoLog(s).trim();if(r&&t==="")return"";var a=i.getShaderSource(s);return"THREE.WebGLShader: gl.getShaderInfoLog() ".concat(e,"\n").concat(t).concat(R8(a))}function Ul(i,s){var e=o4(s);return"vec4 ".concat(i,"( vec4 value ) { return ").concat(e[0],"ToLinear").concat(e[1],"; }")}function O8(i,s){var e=o4(s);return"vec4 ".concat(i,"( vec4 value ) { return LinearTo").concat(e[0]).concat(e[1],"; }")}function L8(i,s){var e;switch(s){case xr:e="Linear";break;case wr:e="Reinhard";break;case kr:e="OptimizedCineon";break;case Tn:e="ACESFilmic";break;case qr:e="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",s),e="Linear"}return"vec3 ".concat(i,"( vec3 color ) { return ").concat(e,"ToneMapping( color ); }")}function P8(i){var s=[i.extensionDerivatives||i.envMapCubeUV||i.bumpMap||i.tangentSpaceNormalMap||i.clearcoatNormalMap||i.flatShading||i.shaderID==="physical"?"#extension GL_OES_standard_derivatives : enable":"",(i.extensionFragDepth||i.logarithmicDepthBuffer)&&i.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",i.extensionDrawBuffers&&i.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(i.extensionShaderTextureLOD||i.envMap||i.transmission>0)&&i.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""];return s.filter(zl).join("\n")}function D8(i){var s=[];for(var e in i){var r=i[e];r!==!1&&s.push("#define ".concat(e," ").concat(r))}return s.join("\n")}function I8(i,s){for(var e={},r=i.getProgramParameter(s,i.ACTIVE_ATTRIBUTES),t=0;t<r;t++){var a=i.getActiveAttrib(s,t),l=a.name;e[l]=i.getAttribLocation(s,l)}return e}function zl(i){return i!==""}function u4(i,s){return i.replace(/NUM_DIR_LIGHTS/g,s.numDirLights).replace(/NUM_SPOT_L
5IGHTS/g,s.numSpotLights).replace(/NUM_RECT_AREA_LIGHTS/g,s.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,s.numPointLights).replace(/NUM_HEMI_LIGHTS/g,s.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,s.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS/g,s.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,s.numPointLightShadows)}function l4(i,s){return i.replace(/NUM_CLIPPING_PLANES/g,s.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,s.numClippingPlanes-s.numClipIntersection)}var F8=/^[ \t]*#include +<([\w\d./]+)>/gm;function J2(i){return i.replace(F8,B8)}function B8(i,s){var e=an[s];return e===void 0?(console.warn("Can not resolve #include <".concat(s,">")),J2("")):J2(e)}var N8=/#pragma unroll_loop[\s]+?for \( int i \= (\d+)\; i < (\d+)\; i \+\+ \) \{([\s\S]+?)(?=\})\}/g,U8=/#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 c4(i){return i.replace(U8,h4).replace(N8,z8)}function z8(i,s,e,r){return console.warn("WebGLProgram: #pragma unroll_loop shader syntax is deprecated. Please use #pragma unroll_loop_start syntax instead."),h4(i,s,e,r)}function h4(i,s,e,r){for(var t="",a=parseInt(s);a<parseInt(e);a++)t+=r.replace(/\[\s*i\s*\]/g,"[ ".concat(a," ]")).replace(/UNROLLED_LOOP_INDEX/g,a);return t}function f4(i){var s="precision ".concat(i.precision," float;\nprecision ").concat(i.precision," int;");return i.precision==="highp"?s+="\n#define HIGH_PRECISION":i.precision==="mediump"?s+="\n#define MEDIUM_PRECISION":i.precision==="lowp"&&(s+="\n#define LOW_PRECISION"),s}function G8(i){var s="SHADOWMAP_TYPE_BASIC";return i.shadowMapType===g?s="SHADOWMAP_TYPE_PCF":i.shadowMapType===A?s="SHADOWMAP_TYPE_PCF_SOFT":i.shadowMapType===S&&(s="SHADOWMAP_TYPE_VSM"),s}function V8(i){var s="ENVMAP_TYPE_CUBE";if(i.envMap)switch(i.envMapMode){case Oa:case Rn:s="ENVMAP_TYPE_CUBE";break;case pr:case wa:s="ENVMAP_TYPE_CUBE_UV";break}return s}function H8(i){var s="ENVMAP_MODE_REFLECTION";if(i.envMap)switch(i.envMapMode){case Rn:case wa:s="ENVMAP_MODE_REFRACTION";break}return s}function X8(i){var s="ENVMAP_BLENDING_NONE";if(i.envMap)switch(i.combine){case gt:s="ENVMAP_BLENDING_MULTIPLY";break;case ft:s="ENVMAP_BLENDING_MIX";break;case Wt:s="ENVMAP_BLENDING_ADD";break}return s}function W8(i,s,e,r){var t=i.getContext(),a=e.defines,l=e.vertexShader,f=e.fragmentShader,m=G8(e),x=V8(e),D=H8(e),I=X8(e),N=i.gammaFactor>0?i.gammaFactor:1,W=e.isWebGL2?"":P8(e),Z=D8(a),Q=t.createProgram(),oe,K,J=e.glslVersion?"#version ".concat(e.glslVersion,"\n"):"";e.isRawShaderMaterial?(oe=[Z].filter(zl).join("\n"),oe.length>0&&(oe+="\n"),K=[W,Z].filter(zl).join("\n"),K.length>0&&(K+="\n")):(oe=[f4(e),"#define SHADER_NAME ".concat(e.shaderName),Z,e.instancing?"#define USE_INSTANCING":"",e.instancingColor?"#define USE_INSTANCING_COLOR":"",e.supportsVertexTextures?"#define VERTEX_TEXTURES":"","#define GAMMA_FACTOR ".concat(N),"#define MAX_BONES ".concat(e.maxBones),e.useFog&&e.fog?"#define USE_FOG":"",e.useFog&&e.fogExp2?"#define FOG_EXP2":"",e.map?"#define USE_MAP":"",e.envMap?"#define USE_ENVMAP":"",e.envMap?"#define ".concat(D):"",e.lightMap?"#define USE_LIGHTMAP":"",e.aoMap?"#define USE_AOMAP":"",e.emissiveMap?"#define USE_EMISSIVEMAP":"",e.bumpMap?"#define USE_BUMPMAP":"",e.normalMap?"#define USE_NORMALMAP":"",e.normalMap&&e.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",e.normalMap&&e.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",e.clearcoatMap?"#define USE_CLEARCOATMAP":"",e.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",e.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",e.displacementMap&&e.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",e.specularMap?"#define USE_SPECULARMAP":"",e.roughnessMap?"#define USE_ROUGHNESSMAP":"",e.metalnessMap?"#define USE_METALNESSMAP":"",e.alphaMap?"#define USE_ALPHAMAP":"",e.transmission?"#define USE_TRANSMISSION":"",e.transmissionMap?"#define USE_TRANSMISSIONMAP":"",e.thicknessMap?"#define USE_THICKNESSMAP":"",e.vertexTangents?"#define USE_TANGENT":"",e.vertexColors?"#define USE_COLOR":"",e.vertexAlphas?"#define USE_COLOR_ALPHA":"",e.vertexUvs?"#define USE_UV":"",e.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",e.flatShading?"#define FLAT_SHADED":"",e.skinning?"#define USE_SKINNING":"",e.useVertexTexture?"#define BONE_TEXTURE":"",e.morphTargets?"#define USE_MORPHTARGETS":"",e.morphNormals&&e.flatShading===!1?"#define USE_MORPHNORMALS":"",e.doubleSided?"#define DOUBLE_SIDED":"",e.flipSided?"#define FLIP_SIDED":"",e.shadowMapEnabled?"#define USE_SHADOWMAP":"",e.shadowMapEnabled?"#define ".concat(m):"",e.sizeAttenuation?"#define USE_SIZEATTENUATION":"",e.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",e.logarithmicDepthBuffer&&e.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_TANGENT","	attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )","	attribute vec4 color;","#elif defined( USE_COLOR )","	attribute vec3 color;","#endif","#ifdef USE_MORPHTARGETS","	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","\n"].filter(zl).join("\n"),K=[W,f4(e),"#define SHADER_NAME ".concat(e.shaderName),Z,e.alphaTest?"#define ALPHATEST ".concat(e.alphaTest).concat(e.alphaTest%1?"":".0"):"","#define GAMMA_FACTOR ".concat(N),e.useFog&&e.fog?"#define USE_FOG":"",e.useFog&&e.fogExp2?"#define FOG_EXP2":"",e.map?"#define USE_MAP":"",e.matcap?"#define USE_MATCAP":"",e.envMap?"#define USE_ENVMAP":"",e.envMap?"#define ".concat(x):"",e.envMap?"#define ".concat(D):"",e.envMap?"#define ".concat(I
5):"",e.lightMap?"#define USE_LIGHTMAP":"",e.aoMap?"#define USE_AOMAP":"",e.emissiveMap?"#define USE_EMISSIVEMAP":"",e.bumpMap?"#define USE_BUMPMAP":"",e.normalMap?"#define USE_NORMALMAP":"",e.normalMap&&e.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",e.normalMap&&e.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",e.clearcoatMap?"#define USE_CLEARCOATMAP":"",e.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",e.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",e.specularMap?"#define USE_SPECULARMAP":"",e.roughnessMap?"#define USE_ROUGHNESSMAP":"",e.metalnessMap?"#define USE_METALNESSMAP":"",e.alphaMap?"#define USE_ALPHAMAP":"",e.sheen?"#define USE_SHEEN":"",e.transmission?"#define USE_TRANSMISSION":"",e.transmissionMap?"#define USE_TRANSMISSIONMAP":"",e.thicknessMap?"#define USE_THICKNESSMAP":"",e.vertexTangents?"#define USE_TANGENT":"",e.vertexColors||e.instancingColor?"#define USE_COLOR":"",e.vertexAlphas?"#define USE_COLOR_ALPHA":"",e.vertexUvs?"#define USE_UV":"",e.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",e.gradientMap?"#define USE_GRADIENTMAP":"",e.flatShading?"#define FLAT_SHADED":"",e.doubleSided?"#define DOUBLE_SIDED":"",e.flipSided?"#define FLIP_SIDED":"",e.shadowMapEnabled?"#define USE_SHADOWMAP":"",e.shadowMapEnabled?"#define ".concat(m):"",e.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",e.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",e.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",e.logarithmicDepthBuffer&&e.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"",(e.extensionShaderTextureLOD||e.envMap)&&e.rendererExtensionShaderTextureLod?"#define TEXTURE_LOD_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",e.toneMapping!==or?"#define TONE_MAPPING":"",e.toneMapping!==or?an.tonemapping_pars_fragment:"",e.toneMapping!==or?L8("toneMapping",e.toneMapping):"",e.dithering?"#define DITHERING":"",an.encodings_pars_fragment,e.map?Ul("mapTexelToLinear",e.mapEncoding):"",e.matcap?Ul("matcapTexelToLinear",e.matcapEncoding):"",e.envMap?Ul("envMapTexelToLinear",e.envMapEncoding):"",e.emissiveMap?Ul("emissiveMapTexelToLinear",e.emissiveMapEncoding):"",e.lightMap?Ul("lightMapTexelToLinear",e.lightMapEncoding):"",O8("linearToOutputTexel",e.outputEncoding),e.depthPacking?"#define DEPTH_PACKING ".concat(e.depthPacking):"","\n"].filter(zl).join("\n")),l=J2(l),l=u4(l,e),l=l4(l,e),f=J2(f),f=u4(f,e),f=l4(f,e),l=c4(l),f=c4(f),e.isWebGL2&&e.isRawShaderMaterial!==!0&&(J="#version 300 es\n",oe="".concat(["#define attribute in","#define varying out","#define texture2D texture"].join("\n"),"\n").concat(oe),K="".concat(["#define varying in",e.glslVersion===Cl?"":"out highp vec4 pc_fragColor;",e.glslVersion===Cl?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join("\n"),"\n").concat(K));var _e=J+oe+l,Me=J+K+f,Ae=i4(t,t.VERTEX_SHADER,_e),ie=i4(t,t.FRAGMENT_SHADER,Me);if(t.attachShader(Q,Ae),t.attachShader(Q,ie),e.index0AttributeName!==void 0?t.bindAttribLocation(Q,0,e.index0AttributeName):e.morphTargets===!0&&t.bindAttribLocation(Q,0,"position"),t.linkProgram(Q),i.debug.checkShaderErrors){var we=t.getProgramInfoLog(Q).trim(),Te=t.getShaderInfoLog(Ae).trim(),Ye=t.getShaderInfoLog(ie).trim(),Ie=!0,nt=!0;if(t.getProgramParameter(Q,t.LINK_STATUS)===!1){Ie=!1;var dt=s4(t,Ae,"vertex"),We=s4(t,ie,"fragment");console.error("THREE.WebGLProgram: shader error: ",t.getError(),"gl.VALIDATE_STATUS",t.getProgramParameter(Q,t.VALIDATE_STATUS),"gl.getProgramInfoLog",we,dt,We)}else we!==""?console.warn("THREE.WebGLProgram: gl.getProgramInfoLog()",we):(Te===""||Ye==="")&&(nt=!1);nt&&(this.diagnostics={runnable:Ie,programLog:we,vertexShader:{log:Te,prefix:oe},fragmentShader:{log:Ye,prefix:K}})}t.deleteShader(Ae),t.deleteShader(ie);var it;this.getUniforms=function(){return it===void 0&&(it=new z0(t,Q)),it};var ht;return this.getAttributes=function(){return ht===void 0&&(ht=I8(t,Q)),ht},this.destroy=function(){r.releaseStatesOfProgram(this),t.deleteProgram(Q),this.program=void 0},this.name=e.shaderName,this.id=C8++,this.cacheKey=s,this.usedTimes=1,this.program=Q,this.vertexShader=Ae,this.fragmentShader=ie,this}function Y8(i,s,e,r,t,a){var l=[],f=r.isWebGL2,m=r.logarithmicDepthBuffer,x=r.floatVertexTextures,D=r.maxVertexUniforms,I=r.vertexTextures,N=r.precision,W={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"},Z=["precision","isWebGL2","supportsVertexTextures","outputEncoding","instancing","instancingColor","map","mapEncoding","matcap","matcapEncoding","envMap","envMapMode","envMapEncoding","envMapCubeUV","lightMap","lightMapEncoding","aoMap","emissiveMap","emissiveMapEncoding","bumpMap","normalMap","objectSpaceNormalMap","tangentSpaceNormalMap","clearcoatMap","clearcoatRoughnessMap","clearcoatNormalMap","displacementMap","specularMap","roughnessMap","metalnessMap","gradientMap","alphaMap","combine","vertexColors","vertexAlphas","vertexTangents","vertexUvs","uvsVertexOnly","fog","useFog","fogExp2","flatShading","sizeAttenuation","logarithmicDepthBuffer","skinning","maxBones","useVertexTexture","morphTargets","morphNormals","premultipliedAlpha","numDirLights","numPointLights","numSpotLights","numHemiLights","numRectAreaLights","numDirLightShadows","numPointLightShadows","numSpotLightShadows","shadowMapEnabled","shadowMapType","toneMapping","physicallyCorrectLights","alphaTest","doubleSided","flipSided","numClippingPlanes","numClipIntersection","depthPacking","dithering","sheen","transmission","transmissionMap","thicknessMap"];function Q(ie){var we=ie.skeleton,Te=we.bones;if(x)return 1024;var Ye=D,Ie=Math.floor((Ye-20)/4),nt=Math.min(Ie,Te.length);return nt<Te.length?(console.warn("THREE.WebGLRenderer: Skeleton has ".concat(Te.length," bones. This GPU supports ").concat(nt,".")),0):nt}function oe(ie){var we;return ie&&ie.isTexture?we=ie.encoding:ie&&ie.isWebGLRenderTarget?(console.warn("THREE.WebGLPrograms.getTextureEncodingFromMap: don't use render targets as textures. Use their .texture property instead."),we=ie.texture.encoding):we=ii,we}function K(ie,we,Te,Ye,Ie){var nt=Ye.fog,dt=ie.isMeshStandardMaterial?Ye.environment:null,We=s.get(ie.envMap||dt),it=W[ie.type],ht=Ie.isSkinnedMesh?Q(Ie):0;ie.precision!==null&&(N=r.getMaxPrecision(ie.precision),N!==ie.precision&&console.warn("THREE.WebGLProgram.getParameters:",ie.precision,"not supported, using",N,"instead."));var Ze,lt;if(it){var Et=ps[it];Ze=Et.vertexShader,lt=Et.fragmentShader}else Ze=ie.vertexShader,lt=ie.fragmentShader;var Xt=i.getRenderTarget(),Bt={isWebGL2:f,shaderID:it,shaderName:ie.type,vertexShader:Ze,fragmentShader:lt,defines:ie.defines,isRawShaderMaterial:ie.isRawShaderMaterial===!0,glslVersion:ie.glslVersion,precision:N,instancing:Ie.isInstancedMesh===!0,instancingColor:Ie.isInstancedMesh===!0&&Ie.instanceColor!==null,supportsVertexTextures:I,outputEncoding:Xt!==null?oe(Xt.texture):i.outputEncoding,map:!!ie.map,mapEncoding:oe(ie.map),matcap:!!ie.matcap,matc
5apEncoding:oe(ie.matcap),envMap:!!We,envMapMode:We&&We.mapping,envMapEncoding:oe(We),envMapCubeUV:!!We&&(We.mapping===pr||We.mapping===wa),lightMap:!!ie.lightMap,lightMapEncoding:oe(ie.lightMap),aoMap:!!ie.aoMap,emissiveMap:!!ie.emissiveMap,emissiveMapEncoding:oe(ie.emissiveMap),bumpMap:!!ie.bumpMap,normalMap:!!ie.normalMap,objectSpaceNormalMap:ie.normalMapType===U2,tangentSpaceNormalMap:ie.normalMapType===e0,clearcoatMap:!!ie.clearcoatMap,clearcoatRoughnessMap:!!ie.clearcoatRoughnessMap,clearcoatNormalMap:!!ie.clearcoatNormalMap,displacementMap:!!ie.displacementMap,roughnessMap:!!ie.roughnessMap,metalnessMap:!!ie.metalnessMap,specularMap:!!ie.specularMap,alphaMap:!!ie.alphaMap,gradientMap:!!ie.gradientMap,sheen:!!ie.sheen,transmission:!!ie.transmission,transmissionMap:!!ie.transmissionMap,thicknessMap:!!ie.thicknessMap,combine:ie.combine,vertexTangents:ie.normalMap&&ie.vertexTangents,vertexColors:ie.vertexColors,vertexAlphas:ie.vertexColors===!0&&Ie.geometry&&Ie.geometry.attributes.color&&Ie.geometry.attributes.color.itemSize===4,vertexUvs:!!ie.map||!!ie.bumpMap||!!ie.normalMap||!!ie.specularMap||!!ie.alphaMap||!!ie.emissiveMap||!!ie.roughnessMap||!!ie.metalnessMap||!!ie.clearcoatMap||!!ie.clearcoatRoughnessMap||!!ie.clearcoatNormalMap||!!ie.displacementMap||!!ie.transmissionMap||!!ie.thicknessMap,uvsVertexOnly:!(ie.map||ie.bumpMap||ie.normalMap||ie.specularMap||ie.alphaMap||ie.emissiveMap||ie.roughnessMap||ie.metalnessMap||ie.clearcoatNormalMap||ie.transmission||ie.transmissionMap||ie.thicknessMap)&&!!ie.displacementMap,fog:!!nt,useFog:ie.fog,fogExp2:nt&&nt.isFogExp2,flatShading:!!ie.flatShading,sizeAttenuation:ie.sizeAttenuation,logarithmicDepthBuffer:m,skinning:Ie.isSkinnedMesh===!0&&ht>0,maxBones:ht,useVertexTexture:x,morphTargets:ie.morphTargets,morphNormals:ie.morphNormals,numDirLights:we.directional.length,numPointLights:we.point.length,numSpotLights:we.spot.length,numRectAreaLights:we.rectArea.length,numHemiLights:we.hemi.length,numDirLightShadows:we.directionalShadowMap.length,numPointLightShadows:we.pointShadowMap.length,numSpotLightShadows:we.spotShadowMap.length,numClippingPlanes:a.numPlanes,numClipIntersection:a.numIntersection,dithering:ie.dithering,shadowMapEnabled:i.shadowMap.enabled&&Te.length>0,shadowMapType:i.shadowMap.type,toneMapping:ie.toneMapped?i.toneMapping:or,physicallyCorrectLights:i.physicallyCorrectLights,premultipliedAlpha:ie.premultipliedAlpha,alphaTest:ie.alphaTest,doubleSided:ie.side===F,flipSided:ie.side===L,depthPacking:ie.depthPacking!==void 0?ie.depthPacking:!1,index0AttributeName:ie.index0AttributeName,extensionDerivatives:ie.extensions&&ie.extensions.derivatives,extensionFragDepth:ie.extensions&&ie.extensions.fragDepth,extensionDrawBuffers:ie.extensions&&ie.extensions.drawBuffers,extensionShaderTextureLOD:ie.extensions&&ie.extensions.shaderTextureLOD,rendererExtensionFragDepth:f||e.has("EXT_frag_depth"),rendererExtensionDrawBuffers:f||e.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:f||e.has("EXT_shader_texture_lod"),customProgramCacheKey:ie.customProgramCacheKey()};return Bt}function J(ie){var we=[];if(ie.shaderID?we.push(ie.shaderID):(we.push(ie.fragmentShader),we.push(ie.vertexShader)),ie.defines!==void 0)for(var Te in ie.defines)we.push(Te),we.push(ie.defines[Te]);if(ie.isRawShaderMaterial===!1){for(var Ye=0;Ye<Z.length;Ye++)we.push(ie[Z[Ye]]);we.push(i.outputEncoding),we.push(i.gammaFactor)}return we.push(ie.customProgramCacheKey),we.join()}function _e(ie){var we=W[ie.type],Te;if(we){var Ye=ps[we];Te=Wo.clone(Ye.uniforms)}else Te=ie.uniforms;return Te}function Me(ie,we){for(var Te,Ye=0,Ie=l.length;Ye<Ie;Ye++){var nt=l[Ye];if(nt.cacheKey===we){Te=nt,++Te.usedTimes;break}}return Te===void 0&&(Te=new W8(i,we,ie,t),l.push(Te)),Te}function Ae(ie){if(--ie.usedTimes===0){var we=l.indexOf(ie);l[we]=l[l.length-1],l.pop(),ie.destroy()}}return{getParameters:K,getProgramCacheKey:J,getUniforms:_e,acquireProgram:Me,releaseProgram:Ae,programs:l}}function q8(){var i=new WeakMap;function s(a){var l=i.get(a);return l===void 0&&(l={},i.set(a,l)),l}function e(a){i.delete(a)}function r(a,l,f){i.get(a)[l]=f}function t(){i=new WeakMap}return{get:s,remove:e,update:r,dispose:t}}function j8(i,s){return i.groupOrder!==s.groupOrder?i.groupOrder-s.groupOrder:i.renderOrder!==s.renderOrder?i.renderOrder-s.renderOrder:i.program!==s.program?i.program.id-s.program.id:i.material.id!==s.material.id?i.material.id-s.material.id:i.z!==s.z?i.z-s.z:i.id-s.id}function d4(i,s){return i.groupOrder!==s.groupOrder?i.groupOrder-s.groupOrder:i.renderOrder!==s.renderOrder?i.renderOrder-s.renderOrder:i.z!==s.z?s.z-i.z:i.id-s.id}function v4(i){var s=[],e=0,r=[],t=[],a=[],l={id:-1};function f(){e=0,r.length=0,t.length=0,a.length=0}function m(W,Z,Q,oe,K,J){var _e=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,Me=s[e],Ae=i.get(Q);return Me===void 0?(Me={id:W.id*10+_e,object:W,geometry:Z,material:Q,program:Ae.program||l,groupOrder:oe,renderOrder:W.renderOrder,z:K,group:J},s[e]=Me):(Me.id=W.id*10+_e,Me.object=W,Me.geometry=Z,Me.material=Q,Me.program=Ae.program||l,Me.groupOrder=oe,Me.renderOrder=W.renderOrder,Me.z=K,Me.group=J),e++,Me}function x(W,Z,Q,oe,K,J,_e){var Me=m(W,Z,Q,oe,K,J,_e);Q.transmission>0?t.push(Me):Q.transparent===!0?a.push(Me):r.push(Me)}function D(W,Z,Q,oe,K,J,_e){var Me=m(W,Z,Q,oe,K,J,_e);Q.transmission>0?t.unshift(Me):Q.transparent===!0?a.unshift(Me):r.unshift(Me)}function I(W,Z){r.length>1&&r.sort(W||j8),t.length>1&&t.sort(Z||d4),a.length>1&&a.sort(Z||d4)}function N(){for(var W=e,Z=s.length;W<Z;W++){var Q=s[W];if(Q.id===null)break;Q.id=null,Q.object=null,Q.geometry=null,Q.material=null,Q.program=null,Q.group=null}}return{opaque:r,transmissive:t,transparent:a,init:f,push:x,unshift:D,finish:N,sort:I}}function J8(i){var s=new WeakMap;function e(t,a){var l;return s.has(t)===!1?(l=new v4(i),s.set(t,[l])):a>=s.get(t).length?(l=new v4(i),s.get(t).push(l)):l=s.get(t)[a],l}function r(){s=new WeakMap}return{get:e,dispose:r}}function Z8(){var i={};return{get:function(e){if(i[e.id]!==void 0)return i[e.id];var r;switch(e.type){case"DirectionalLight":r={direction:new pe,color:new Zt};break;case"SpotLight":r={position:new pe,direction:new pe,color:new Zt,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":r={position:new pe,color:new Zt,distance:0,decay:0};break;case"HemisphereLight":r={direction:new pe,skyColor:new Zt,groundColor:new Zt};break;case"RectAreaLight":r={color:new Zt,position:new pe,halfWidth:new pe,halfHeight:new pe};break}return i[e.id]=r,r}}}function K8(){var i={};return{get:function(e){if(i[e.id]!==void 0)return i[e.id];var r;switch(e.type){case"DirectionalLight":r={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Je};break;case"SpotLight":r={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Je};break;case"PointLight":r={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Je,shadowCameraNear:1,shadowCameraFar:1e3};break}return i[e.id]=r,r}}}var $8=0;function Q8(i,s){return(s.castShadow?1:0)-(i.castShadow?1:0)}function e7(i,s){for(var e=new Z8,r=K8(),t={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotShadow:[],spotShadowMap:[],spotShadowMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[]},a=0;a<9;a++)t.probe.push(new pe);var l=new pe,f=new tr,m=new tr;function x(I){for(var N=0,W=0,Z=0,Q=0;Q<9;Q++)t.probe[Q].set(0,0,0);var oe=0,K=0,J=0,_e=0,Me=0,Ae=0,ie=0,we=0;I.sort(Q8);
5for(var Te=0,Ye=I.length;Te<Ye;Te++){var Ie=I[Te],nt=Ie.color,dt=Ie.intensity,We=Ie.distance,it=Ie.shadow&&Ie.shadow.map?Ie.shadow.map.texture:null;if(Ie.isAmbientLight)N+=nt.r*dt,W+=nt.g*dt,Z+=nt.b*dt;else if(Ie.isLightProbe)for(var ht=0;ht<9;ht++)t.probe[ht].addScaledVector(Ie.sh.coefficients[ht],dt);else if(Ie.isDirectionalLight){var Ze=e.get(Ie);if(Ze.color.copy(Ie.color).multiplyScalar(Ie.intensity),Ie.castShadow){var lt=Ie.shadow,Et=r.get(Ie);Et.shadowBias=lt.bias,Et.shadowNormalBias=lt.normalBias,Et.shadowRadius=lt.radius,Et.shadowMapSize=lt.mapSize,t.directionalShadow[oe]=Et,t.directionalShadowMap[oe]=it,t.directionalShadowMatrix[oe]=Ie.shadow.matrix,Ae++}t.directional[oe]=Ze,oe++}else if(Ie.isSpotLight){var Xt=e.get(Ie);if(Xt.position.setFromMatrixPosition(Ie.matrixWorld),Xt.color.copy(nt).multiplyScalar(dt),Xt.distance=We,Xt.coneCos=Math.cos(Ie.angle),Xt.penumbraCos=Math.cos(Ie.angle*(1-Ie.penumbra)),Xt.decay=Ie.decay,Ie.castShadow){var Bt=Ie.shadow,Ot=r.get(Ie);Ot.shadowBias=Bt.bias,Ot.shadowNormalBias=Bt.normalBias,Ot.shadowRadius=Bt.radius,Ot.shadowMapSize=Bt.mapSize,t.spotShadow[J]=Ot,t.spotShadowMap[J]=it,t.spotShadowMatrix[J]=Ie.shadow.matrix,we++}t.spot[J]=Xt,J++}else if(Ie.isRectAreaLight){var Gt=e.get(Ie);Gt.color.copy(nt).multiplyScalar(dt),Gt.halfWidth.set(Ie.width*.5,0,0),Gt.halfHeight.set(0,Ie.height*.5,0),t.rectArea[_e]=Gt,_e++}else if(Ie.isPointLight){var lr=e.get(Ie);if(lr.color.copy(Ie.color).multiplyScalar(Ie.intensity),lr.distance=Ie.distance,lr.decay=Ie.decay,Ie.castShadow){var Dr=Ie.shadow,Ar=r.get(Ie);Ar.shadowBias=Dr.bias,Ar.shadowNormalBias=Dr.normalBias,Ar.shadowRadius=Dr.radius,Ar.shadowMapSize=Dr.mapSize,Ar.shadowCameraNear=Dr.camera.near,Ar.shadowCameraFar=Dr.camera.far,t.pointShadow[K]=Ar,t.pointShadowMap[K]=it,t.pointShadowMatrix[K]=Ie.shadow.matrix,ie++}t.point[K]=lr,K++}else if(Ie.isHemisphereLight){var Fe=e.get(Ie);Fe.skyColor.copy(Ie.color).multiplyScalar(dt),Fe.groundColor.copy(Ie.groundColor).multiplyScalar(dt),t.hemi[Me]=Fe,Me++}}_e>0&&(s.isWebGL2||i.has("OES_texture_float_linear")===!0?(t.rectAreaLTC1=rr.LTC_FLOAT_1,t.rectAreaLTC2=rr.LTC_FLOAT_2):i.has("OES_texture_half_float_linear")===!0?(t.rectAreaLTC1=rr.LTC_HALF_1,t.rectAreaLTC2=rr.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),t.ambient[0]=N,t.ambient[1]=W,t.ambient[2]=Z;var fr=t.hash;(fr.directionalLength!==oe||fr.pointLength!==K||fr.spotLength!==J||fr.rectAreaLength!==_e||fr.hemiLength!==Me||fr.numDirectionalShadows!==Ae||fr.numPointShadows!==ie||fr.numSpotShadows!==we)&&(t.directional.length=oe,t.spot.length=J,t.rectArea.length=_e,t.point.length=K,t.hemi.length=Me,t.directionalShadow.length=Ae,t.directionalShadowMap.length=Ae,t.pointShadow.length=ie,t.pointShadowMap.length=ie,t.spotShadow.length=we,t.spotShadowMap.length=we,t.directionalShadowMatrix.length=Ae,t.pointShadowMatrix.length=ie,t.spotShadowMatrix.length=we,fr.directionalLength=oe,fr.pointLength=K,fr.spotLength=J,fr.rectAreaLength=_e,fr.hemiLength=Me,fr.numDirectionalShadows=Ae,fr.numPointShadows=ie,fr.numSpotShadows=we,t.version=$8++)}function D(I,N){for(var W=0,Z=0,Q=0,oe=0,K=0,J=N.matrixWorldInverse,_e=0,Me=I.length;_e<Me;_e++){var Ae=I[_e];if(Ae.isDirectionalLight){var ie=t.directional[W];ie.direction.setFromMatrixPosition(Ae.matrixWorld),l.setFromMatrixPosition(Ae.target.matrixWorld),ie.direction.sub(l),ie.direction.transformDirection(J),W++}else if(Ae.isSpotLight){var we=t.spot[Q];we.position.setFromMatrixPosition(Ae.matrixWorld),we.position.applyMatrix4(J),we.direction.setFromMatrixPosition(Ae.matrixWorld),l.setFromMatrixPosition(Ae.target.matrixWorld),we.direction.sub(l),we.direction.transformDirection(J),Q++}else if(Ae.isRectAreaLight){var Te=t.rectArea[oe];Te.position.setFromMatrixPosition(Ae.matrixWorld),Te.position.applyMatrix4(J),m.identity(),f.copy(Ae.matrixWorld),f.premultiply(J),m.extractRotation(f),Te.halfWidth.set(Ae.width*.5,0,0),Te.halfHeight.set(0,Ae.height*.5,0),Te.halfWidth.applyMatrix4(m),Te.halfHeight.applyMatrix4(m),oe++}else if(Ae.isPointLight){var Ye=t.point[Z];Ye.position.setFromMatrixPosition(Ae.matrixWorld),Ye.position.applyMatrix4(J),Z++}else if(Ae.isHemisphereLight){var Ie=t.hemi[K];Ie.direction.setFromMatrixPosition(Ae.matrixWorld),Ie.direction.transformDirection(J),Ie.direction.normalize(),K++}}}return{setup:x,setupView:D,state:t}}function m4(i,s){var e=new e7(i,s),r=[],t=[];function a(){r.length=0,t.length=0}
5function l(I){r.push(I)}function f(I){t.push(I)}function m(){e.setup(r)}function x(I){e.setupView(r,I)}var D={lightsArray:r,shadowsArray:t,lights:e};return{init:a,state:D,setupLights:m,setupLightsView:x,pushLight:l,pushShadow:f}}function t7(i,s){var e=new WeakMap;function r(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,f;return e.has(a)===!1?(f=new m4(i,s),e.set(a,[f])):l>=e.get(a).length?(f=new m4(i,s),e.get(a).push(f)):f=e.get(a)[l],f}function t(){e=new WeakMap}return{get:r,dispose:t}}var Z2=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="MeshDepthMaterial",t.depthPacking=B2,t.morphTargets=!1,t.map=null,t.alphaMap=null,t.displacementMap=null,t.displacementScale=1,t.displacementBias=0,t.wireframe=!1,t.wireframeLinewidth=1,t.fog=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.depthPacking=t.depthPacking,this.morphTargets=t.morphTargets,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this}}]),e}($n);Z2.prototype.isMeshDepthMaterial=!0;var K2=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="MeshDistanceMaterial",t.referencePosition=new pe,t.nearDistance=1,t.farDistance=1e3,t.morphTargets=!1,t.map=null,t.alphaMap=null,t.displacementMap=null,t.displacementScale=1,t.displacementBias=0,t.fog=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.referencePosition.copy(t.referencePosition),this.nearDistance=t.nearDistance,this.farDistance=t.farDistance,this.morphTargets=t.morphTargets,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this}}]),e}($n);K2.prototype.isMeshDistanceMaterial=!0;var r7="uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>\nvoid main() {\n	float mean = 0.0;\n	float squared_mean = 0.0;\n	float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy ) / resolution ) );\n	for ( float i = -1.0; i < 1.0 ; i += SAMPLE_RATE) {\n		#ifdef HORIZONTAL_PASS\n			vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( i, 0.0 ) * radius ) / resolution ) );\n			mean += distribution.x;\n			squared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n		#else\n			float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, i ) * radius ) / resolution ) );\n			mean += depth;\n			squared_mean += depth * depth;\n		#endif\n	}\n	mean = mean * HALF_SAMPLE_RATE;\n	squared_mean = squared_mean * HALF_SAMPLE_RATE;\n	float std_dev = sqrt( squared_mean - mean * mean );\n	gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}",n7="void main() {\n	gl_Position = vec4( position, 1.0 );\n}";function p4(i,s,e){var r=new Is,t=new Je,a=new Je,l=new kt,f=[],m=[],x={},D=e.maxTextureSize,I={0:L,1:V,2:F},N=new ui({defines:{SAMPLE_RATE:2/8,HALF_SAMPLE_RATE:1/8},uniforms:{shadow_pass:{value:null},resolution:{value:new Je},radius:{value:4}},vertexShader:n7,fragmentShader:r7}),W=N.clone();W.defines.HORIZONTAL_PASS=1;var Z=new mr;Z.setAttribute("position",new Hr(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));var Q=new zn(Z,N),oe=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=g,this.render=function(ie,we,Te){if(oe.enabled!==!1&&!(oe.autoUpdate===!1&&oe.needsUpdate===!1)&&ie.length!==0){var Ye=i.getRenderTarget(),Ie=i.getActiveCubeFace(),nt=i.getActiveMipmapLevel(),dt=i.state;dt.setBlending(w),dt.buffers.color.setClear(1,1,1,1),dt.buffers.depth.setTest(!0),dt.setScissorTest(!1);for(var We=0,it=ie.length;We<it;We++){var ht=ie[We],Ze=ht.shadow;if(Ze===void 0){console.warn("THREE.WebGLShadowMap:",ht,"has no shadow.");continue}if(!(Ze.autoUpdate===!1&&Ze.needsUpdate===!1)){t.copy(Ze.mapSize);var lt=Ze.getFrameExtents();if(t.multiply(lt),a.copy(Ze.mapSize),(t.x>D||t.y>D)&&(t.x>D&&(a.x=Math.floor(D/lt.x),t.x=a.x*lt.x,Ze.mapSize.x=a.x),t.y>
5D&&(a.y=Math.floor(D/lt.y),t.y=a.y*lt.y,Ze.mapSize.y=a.y)),Ze.map===null&&!Ze.isPointLightShadow&&this.type===S){var Et={minFilter:Wn,magFilter:Wn,format:ai};Ze.map=new qt(t.x,t.y,Et),Ze.map.texture.name="".concat(ht.name,".shadowMap"),Ze.mapPass=new qt(t.x,t.y,Et),Ze.camera.updateProjectionMatrix()}if(Ze.map===null){var Xt={minFilter:un,magFilter:un,format:ai};Ze.map=new qt(t.x,t.y,Xt),Ze.map.texture.name="".concat(ht.name,".shadowMap"),Ze.camera.updateProjectionMatrix()}i.setRenderTarget(Ze.map),i.clear();for(var Bt=Ze.getViewportCount(),Ot=0;Ot<Bt;Ot++){var Gt=Ze.getViewport(Ot);l.set(a.x*Gt.x,a.y*Gt.y,a.x*Gt.z,a.y*Gt.w),dt.viewport(l),Ze.updateMatrices(ht,Ot),r=Ze.getFrustum(),Ae(we,Te,Ze.camera,ht,this.type)}!Ze.isPointLightShadow&&this.type===S&&K(Ze,Te),Ze.needsUpdate=!1,we.onAfterShadow&&we.onAfterShadow(ht)}}oe.needsUpdate=!1,i.setRenderTarget(Ye,Ie,nt)}};function K(ie,we){var Te=s.update(Q);N.uniforms.shadow_pass.value=ie.map.texture,N.uniforms.resolution.value=ie.mapSize,N.uniforms.radius.value=ie.radius,i.setRenderTarget(ie.mapPass),i.clear(),i.renderBufferDirect(we,null,Te,N,Q,null),W.uniforms.shadow_pass.value=ie.mapPass.texture,W.uniforms.resolution.value=ie.mapSize,W.uniforms.radius.value=ie.radius,i.setRenderTarget(ie.map),i.clear(),i.renderBufferDirect(we,null,Te,W,Q,null)}function J(ie){var we=ie<<0,Te=f[we];return Te===void 0&&(Te=new Z2({depthPacking:N2,morphTargets:ie}),f[we]=Te),Te}function _e(ie){var we=ie<<0,Te=m[we];return Te===void 0&&(Te=new K2({morphTargets:ie}),m[we]=Te),Te}function Me(ie,we,Te,Ye,Ie,nt,dt){var We=null,it=J,ht=ie.customDepthMaterial;if(Ye.isPointLight===!0&&(it=_e,ht=ie.customDistanceMaterial),ht===void 0){var Ze=!1;Te.morphTargets===!0&&(Ze=we.morphAttributes&&we.morphAttributes.position&&we.morphAttributes.position.length>0),We=it(Ze)}else We=ht;if(i.localClippingEnabled&&Te.clipShadows===!0&&Te.clippingPlanes.length!==0){var lt=We.uuid,Et=Te.uuid,Xt=x[lt];Xt===void 0&&(Xt={},x[lt]=Xt);var Bt=Xt[Et];Bt===void 0&&(Bt=We.clone(),Xt[Et]=Bt),We=Bt}return We.visible=Te.visible,We.wireframe=Te.wireframe,We.side=Te.shadowSide!==null?Te.shadowSide:I[Te.side],We.clipShadows=Te.clipShadows,We.clippingPlanes=Te.clippingPlanes,We.clipIntersection=Te.clipIntersection,We.wireframeLinewidth=Te.wireframeLinewidth,We.linewidth=Te.linewidth,Ye.isPointLight===!0&&We.isMeshDistanceMaterial===!0&&(We.referencePosition.setFromMatrixPosition(Ye.matrixWorld),We.nearDistance=Ie,We.farDistance=nt),We}function Ae(ie,we,Te,Ye,Ie){if(ie.visible!==!1){var nt=ie.layers.test(we.layers);if(nt&&(ie.isMesh||ie.isLine||ie.isPoints)&&(ie.castShadow||ie.receiveShadow&&Ie===S)&&(!ie.frustumCulled||r.intersectsObject(ie))){ie.modelViewMatrix.multiplyMatrices(Te.matrixWorldInverse,ie.matrixWorld);var dt=s.update(ie),We=ie.material;if(Array.isArray(We))for(var it=dt.groups,ht=0,Ze=it.length;ht<Ze;ht++){var lt=it[ht],Et=We[lt.materialIndex];if(Et&&Et.visible){var Xt=Me(ie,dt,Et,Ye,Te.near,Te.far);i.renderBufferDirect(Te,null,dt,Xt,ie,lt)}}else if(We.visible){var Bt=Me(ie,dt,We,Ye,Te.near,Te.far);i.renderBufferDirect(Te,null,dt,Bt,ie,null)}}for(var Ot=ie.children,Gt=0,lr=Ot.length;Gt<lr;Gt++)Ae(Ot[Gt],we,Te,Ye,Ie)}}}function a7(i,s,e){var r,t,a=e.isWebGL2;function l(){var $e=!1,sr=new kt,_r=null,Yr=new kt(0,0,0,0);return{setMask:function(cr){_r!==cr&&!$e&&(i.colorMask(cr,cr,cr,cr),_r=cr)},setLocked:function(cr){$e=cr},setClear:function(cr,On,_a,Ca,ea){ea===!0&&(cr*=Ca,On*=Ca,_a*=Ca),sr.set(cr,On,_a,Ca),Yr.equals(sr)===!1&&(i.clearColor(cr,On,_a,Ca),Yr.copy(sr))},reset:function(){$e=!1,_r=null,Yr.set(-1,0,0,0)}}}function f(){var $e=!1,sr=null,_r=null,Yr=null;return{setTest:function(cr){cr?Fe(i.DEPTH_TEST):fr(i.DEPTH_TEST)},setMask:function(cr){sr!==cr&&!$e&&(i.depthMask(cr),sr=cr)},setFunc:function(cr){if(_r!==cr){if(cr)switch(cr){case Be:i.depthFunc(i.NEVER);break;case Ue:i.depthFunc(i.ALWAYS);break;case Ke:i.depthFunc(i.LESS);break;case yt:i.depthFunc(i.LEQUAL);break;case pt:i.depthFunc(i.EQUAL);break;case mt:i.depthFunc(i.GEQUAL);break;case Mt:i.depthFunc(i.GREATER);break;case Dt:i.depthFunc(i.NOTEQUAL);break;default:i.depthFunc(i.LEQUAL)}else i.depthFunc(i.LEQUAL);_r=cr}},setLocked:function(cr){$e=cr},setClear:function(cr){Yr!==cr&&(i.clearDepth(cr),Yr=cr)},reset:function(){$e=!1,sr=null,_r=null,Yr=null}}}function m(){var $e=!1,sr=null,_r=null,Yr=null,sn=null,cr=null,On=null,_a=null,Ca=null;return{setTest:function(kn){$e||(kn?Fe(i.STENCIL_TEST):fr(i.STENCIL_TEST))},setMask:function(kn){sr!==kn&&!$e&&(i.stencilMask(kn),sr=kn)},setFunc:function(kn,sa,Za){(_r!==kn||Yr!==sa||sn!==Za)&&(i.stencilFunc(kn,sa,Za),_r=kn,Yr=sa,sn=Za)},setOp:function(kn,sa,Za){(cr!==kn||On!==sa||_a!==Za)&&(i.stencilOp(kn,sa,Za),cr=kn,On=sa,_a=Za)},setLocked:function(kn){$e=kn},setClear:function(kn){Ca!==kn&&(i.clearStencil(kn),Ca=kn)},reset:function(){$e=!1,sr=null,_r=null,Yr=null,sn=null,cr=null,On=null,_a=null,Ca=null}}}var x=new l,D=new f,I=new m,N={},W=null,Z={},Q=null,oe=!1,K=null,J=null,_e=null,Me=null,Ae=null,ie=null,we=null,Te=!1,Ye=null,Ie=null,nt=null,dt=null,We=null,it=i.getParameter(i.MAX_COMBINED_TEXTURE_IMAGE_UNITS),ht=!1,Ze=0,lt=i.getParameter(i.VERSION);lt.indexOf("WebGL")!==-1?(Ze=parseFloat(/^WebGL (\d)/.exec(lt)[1]),ht=Ze>=1):lt.indexOf("OpenGL ES")!==-1&&(Ze=parseFloat(/^OpenGL ES (\d)/.exec(lt)[1]),ht=Ze>=2);var Et=null,Xt={},Bt=i.getParameter(i.SCISSOR_BOX),Ot=i.getParameter(i.VIEWPORT),Gt=new kt().fromArray(Bt),lr=new kt().fromArray(Ot);function Dr($e,sr,_r){var Yr=new Uint8Array(4),sn=i.createTexture();i.bindTexture($e,sn),i.texParameteri($e,i.TEXTURE_MIN_FILTER,i.NEAREST),i.texParameteri($e,i.TEXTURE_MAG_FILTER,i.NEAREST);for(var cr=0;cr<_r;cr++)i.texImage2D(sr+cr,0,i.RGBA,1,1,0,i.RGBA,i.UNSIGNED_BYTE,Yr);return sn}var Ar={};Ar[i.TEXTURE_2D]=Dr(i.TEXTURE_2D,i.TEXTURE_2D,1),Ar[i.TEXTURE_CUBE_MAP]=Dr(i.TEXTURE_CUBE_MAP,i.TEXTURE_CUBE_MAP_POSITIVE_X,6),x.setClear(0,0,0,1),D.setClear(1),I.setClear(0),Fe(i.DEPTH_TEST),D.setFunc(yt),Aa(!1),fa(z),Fe(i.CULL_FACE),nn(w);function Fe($e){N[$e]!==!0&&(i.enable($e),N[$e]=!0)}function fr($e){N[$e]!==!1&&(i.disable($e),N[$e]=!1)}function zr($e){$e!==W&&(i.bindFramebuffer(i.FRAMEBUFFER,$e),W=$e)}function on($e,sr){return sr===null&&W!==null&&(sr=W),Z[$e]!==sr?(i.bindFramebuffer($e,sr),Z[$e]=sr,a&&($e===i.DRAW_FRAMEBUFFER&&(Z[i.FRAMEBUFFER]=sr),$e===i.FRAMEBUFFER&&(Z[i.DRAW_FRAMEBUFFER]=sr)),!0):!1}function Xr($e){return Q!==$e?(i.useProgram($e),Q=$e,!0):!1}var Rr=(r={},bn(r,se,i.FUNC_ADD),bn(r,Se,i.FUNC_SUBTRACT),bn(r,be,i.FUNC_REVERSE_SUBTRACT),r);if(a)Rr[me]=i.MIN,Rr[ke]=i.MAX;else{var Mr=s.get("EXT_blend_minmax");Mr!==null&&(Rr[me]=Mr.MIN_EXT,Rr[ke]=Mr.MAX_EXT)}var cn=(t={},bn(t,he,i.ZERO),bn(t,X,i.ONE),bn(t,re,i.SRC_COLOR),bn(t,ue,i.SRC_ALPHA),bn(t,de,i.SRC_ALPHA_SATURATE),bn(t,Le,i.DST_COLOR),bn(t,Ce,i.DST_ALPHA),bn(t,ae,i.ONE_MINUS_SRC_COLOR),bn(t,ge,i.ONE_MINUS_SRC_ALPHA),bn(t,qe,i.ONE_MINUS_DST_COLOR),bn(t,fe,i.ONE_MINUS_DST_ALPHA),t);function nn($e,sr,_r,Yr,sn,cr,On,_a){if($e===w){oe===!0&&(fr(i.BLEND),oe=!1);return}if(oe===!1&&(Fe(i.BLEND),oe=!0),$e!==te){if($e!==K||_a!==Te){if((J!==se||Ae!==se)&&(i.blendEquation(i.FUNC_ADD),J=se,Ae=se),_a)switch($e){case _:i.blendFuncSeparate(i.ONE,i.ONE_MINUS_SRC_ALPHA,i.ONE,i.ONE_MINUS_SRC_ALPHA);break;case E:i.blendFunc(i.ONE,i.ONE);break;case U:i.blendFuncSeparate(i.ZERO,i.ZERO,i.ONE_MINUS_SRC_COLOR,i.ONE_MINUS_SRC_ALPHA);break;case $:i.blendFuncSeparate(i.ZERO,i.SRC_COLOR,i.ZERO,i.SRC_ALPHA);break;default:console.error("THREE.WebGLState: Invalid blending: ",$e);break}else switch($e){case _:i.blendFuncSeparate(i.SRC_ALPHA,i.ONE_MINUS_SRC_ALPHA,i.ONE,i.ONE_MINUS_SRC_ALPHA);break;case E:i.blendFunc(i.SRC_ALPHA,i.ONE);break;case U:i.blendFunc(i.ZERO,i.ONE_MINUS_SRC_COLOR);break;case $:i.blendFunc(i.ZERO,i.SRC_COLOR);break;default:console.error("THREE.WebGLState: Invalid blending: ",$e);break}_e=null,Me=null,ie=null,we=null,K=$e,Te=_a}return}sn=sn||sr,cr=cr||_r,On=On||Yr,(sr!==J||sn!==Ae)&&(i.blendEquationSeparate(Rr[sr],Rr[sn]),J=sr,Ae=sn),(_r!==_e||Yr!==Me||cr!==ie||On!==we)&&(i.blendFuncSeparate(cn[_r],cn[Yr],cn[cr],cn[On]),_e=_r,Me=Yr,ie=cr,we=On),K=$e,Te=null}function En($e,sr){$e.side===F?fr(i.CULL_FACE):Fe(i.CULL_FACE);var _r=$e.side===L;sr&&(_r=!_r),Aa(_r),$e.blending===_&&$e.transparent===!1?nn(w):nn($e.blending,$e.blendEquation,$e.blendSrc,$e.blendDst,$e.blendEquationAlpha,$e.blendSrcAlpha,$e.blendDstAlpha,$e.premultipliedAlpha),D.setFunc($e.depthFunc),D.setTest($e.depthTest),D.setMask($e.depthWrite),x.setMask($e.colorWrite);var Yr=$e.stencilWrite;I.setTest(Yr),Yr&&(I.setMask($e.stencilWriteMask),I.setFunc($e.stencilFunc,$e.stencilRef,$e.stencilFuncMask),I.setOp($e.stencilFail,$e.stencilZFail,$e.stencilZPass)),ze($e.polygonOffset,$e.polygonOffsetFactor,$e.polygonOffsetUnits),$e.alphaToCoverage===!0?Fe(i.SAMPLE_ALPHA_TO_COVERAGE):fr(i.SAMPLE_ALPHA_TO_COVERAGE)}function Aa($e){Ye!==$e&&($e?i.frontFace(i.CW):i.frontFace(i.CCW),Ye=$e)}function fa($e){$e!==O?(Fe(i.CULL_FACE),$e!==Ie&&($e===z?i.cullFace(i.BACK):$e===C?i.cullFace(i.FRONT):i.cullFace(i.FRONT_AND_BACK))):fr(i.CULL_FACE),Ie=$e}function Ja($e){$e!==nt&&(ht&&i.lineWidth($e),nt=$e)}function ze($e,sr,_r){$e?(Fe(i.POLYGON_OFFSET_FILL),(dt!==sr||We!==_r)&&(i.polygonOffset(sr,_r),dt=sr,We=_r)):fr(i.POLYGON_OFFSET_FILL)}function Oe($e){$e?Fe(i.SCISSOR_TEST):fr(i.SCISSOR_TEST)}function Ut($e){$e===void 0&&($e=i.TEXTURE0+it-1),Et!==$e&&(i.activeTexture($e),Et=$e)}function Kt($e,sr){Et===null&&Ut();var _r=Xt[Et];_r===void 0&&(_r={type:void 0,texture:void 0},Xt[Et]=_r),(_r.type!==$e||_r.texture!==sr)&&(i.bindTexture($e,sr||Ar[$e]),_r.type=$e,_r.texture=sr)}function Tr(){var $e=Xt[Et];$e!==void 0&&$e.type!==void 0&&(i.bindTexture($e.type,null),$e.type=void 0,$e.texture=void 0)}function hr(){try{i.compressedTexImage2D.apply(i,arguments)}catch($e){console.error("THREE.WebGLState:",$e)}}function gr(){try{i.texImage2D.apply(i,arguments)}catch($e){console.error("THREE.WebGLState:",$e)}}function Er(){try{i.texImage3D.apply(i,arguments)}catch($e){console.error("THREE.WebGLState:",$e)}}function hn($e){Gt.equals($e)===!1&&(i.scissor($e.x,$e.y,$e.z,$e.w),Gt.copy($e))}function Jr($e){lr.equals($e)===!1&&(i.viewport($e.x,$e.y,$e.z,$e.w),lr.copy($e))}function gn(){i.disable(i.BLEND),i.disable(i.CULL_FACE),i.disable(i.DEPTH_TEST),i.disable(i.POLYGON_OFFSET_FILL),i.disable(i.SCISSOR_TEST),i.disable(i.STENCIL_TEST),i.disable(i.SAMPLE_ALPHA_TO_COVERAGE),i.blendEquation(i.FUNC_ADD),i.blendFunc(i.ONE,i.ZERO),i.blendFuncSeparate(i.ONE,i.ZERO,i.ONE,i.ZERO),i.colorMask(!0,!0,
5!0,!0),i.clearColor(0,0,0,0),i.depthMask(!0),i.depthFunc(i.LESS),i.clearDepth(1),i.stencilMask(4294967295),i.stencilFunc(i.ALWAYS,0,4294967295),i.stencilOp(i.KEEP,i.KEEP,i.KEEP),i.clearStencil(0),i.cullFace(i.BACK),i.frontFace(i.CCW),i.polygonOffset(0,0),i.activeTexture(i.TEXTURE0),i.bindFramebuffer(i.FRAMEBUFFER,null),a===!0&&(i.bindFramebuffer(i.DRAW_FRAMEBUFFER,null),i.bindFramebuffer(i.READ_FRAMEBUFFER,null)),i.useProgram(null),i.lineWidth(1),i.scissor(0,0,i.canvas.width,i.canvas.height),i.viewport(0,0,i.canvas.width,i.canvas.height),N={},Et=null,Xt={},W=null,Z={},Q=null,oe=!1,K=null,J=null,_e=null,Me=null,Ae=null,ie=null,we=null,Te=!1,Ye=null,Ie=null,nt=null,dt=null,We=null,Gt.set(0,0,i.canvas.width,i.canvas.height),lr.set(0,0,i.canvas.width,i.canvas.height),x.reset(),D.reset(),I.reset()}return{buffers:{color:x,depth:D,stencil:I},enable:Fe,disable:fr,bindFramebuffer:on,bindXRFramebuffer:zr,useProgram:Xr,setBlending:nn,setMaterial:En,setFlipSided:Aa,setCullFace:fa,setLineWidth:Ja,setPolygonOffset:ze,setScissorTest:Oe,activeTexture:Ut,bindTexture:Kt,unbindTexture:Tr,compressedTexImage2D:hr,texImage2D:gr,texImage3D:Er,scissor:hn,viewport:Jr,reset:gn}}function i7(i,s,e,r,t,a,l){var f,m,x=t.isWebGL2,D=t.maxTextures,I=t.maxCubemapSize,N=t.maxTextureSize,W=t.maxSamples,Z=new WeakMap,Q,oe=!1;try{oe=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch(ze){}function K(ze,Oe){return oe?new OffscreenCanvas(ze,Oe):document.createElementNS("http://www.w3.org/1999/xhtml","canvas")}function J(ze,Oe,Ut,Kt){var Tr=1;if((ze.width>Kt||ze.height>Kt)&&(Tr=Kt/Math.max(ze.width,ze.height)),Tr<1||Oe===!0){if(typeof HTMLImageElement<"u"&&ze instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&ze instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&ze instanceof ImageBitmap){var hr=Oe?Rt:Math.floor,gr=hr(Tr*ze.width),Er=hr(Tr*ze.height);Q===void 0&&(Q=K(gr,Er));var hn=Ut?K(gr,Er):Q;hn.width=gr,hn.height=Er;var Jr=hn.getContext("2d");return Jr.drawImage(ze,0,0,gr,Er),console.warn("THREE.WebGLRenderer: Texture has been resized from (".concat(ze.width,"x").concat(ze.height,") to (").concat(gr,"x").concat(Er,").")),hn}return"data"in ze&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big (".concat(ze.width,"x").concat(ze.height,").")),ze}return ze}function _e(ze){return Qe(ze.width)&&Qe(ze.height)}function Me(ze){return x?!1:ze.wrapS!==dr||ze.wrapT!==dr||ze.minFilter!==un&&ze.minFilter!==Wn}function Ae(ze,Oe){return ze.generateMipmaps&&Oe&&ze.minFilter!==un&&ze.minFilter!==Wn}function ie(ze,Oe,Ut,Kt){i.generateMipmap(ze);var Tr=r.get(Oe);Tr.__maxMipLevel=Math.log2(Math.max(Ut,Kt))}function we(ze,Oe,Ut){if(x===!1)return Oe;if(ze!==null){if(i[ze]!==void 0)return i[ze];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '".concat(ze,"'"))}var Kt=Oe;return Oe===i.RED&&(Ut===i.FLOAT&&(Kt=i.R32F),Ut===i.HALF_FLOAT&&(Kt=i.R16F),Ut===i.UNSIGNED_BYTE&&(Kt=i.R8)),Oe===i.RGB&&(Ut===i.FLOAT&&(Kt=i.RGB32F),Ut===i.HALF_FLOAT&&(Kt=i.RGB16F),Ut===i.UNSIGNED_BYTE&&(Kt=i.RGB8)),Oe===i.RGBA&&(Ut===i.FLOAT&&(Kt=i.RGBA32F),Ut===i.HALF_FLOAT&&(Kt=i.RGBA16F),Ut===i.UNSIGNED_BYTE&&(Kt=i.RGBA8)),(Kt===i.R16F||Kt===i.R32F||Kt===i.RGBA16F||Kt===i.RGBA32F)&&s.get("EXT_color_buffer_float"),Kt}function Te(ze){return ze===un||ze===Bi||ze===es?i.NEAREST:i.LINEAR}function Ye(ze){var Oe=ze.target;Oe.removeEventListener("dispose",Ye),nt(Oe),Oe.isVideoTexture&&Z.delete(Oe),l.memory.textures--}function Ie(ze){var Oe=ze.target;Oe.removeEventListener("dispose",Ie),dt(Oe)}function nt(ze){var Oe=r.get(ze);Oe.__webglInit!==void 0&&(i.deleteTexture(Oe.__webglTexture),r.remove(ze))}function dt(ze){var Oe=ze.texture,Ut=r.get(ze),Kt=r.get(Oe);if(ze){if(Kt.__webglTexture!==void 0&&(i.deleteTexture(Kt.__webglTexture),l.memory.textures--),ze.depthTexture&&ze.depthTexture.dispose(),ze.isWebGLCubeRenderTarget)for(var Tr=0;Tr<6;Tr++)i.deleteFramebuffer(Ut.__webglFramebuffer[Tr]),Ut.__webglDepthbuffer&&i.deleteRenderbuffer(Ut.__webglDepthbuffer[Tr]);else i.deleteFramebuffer(Ut.__webglFramebuffer),Ut.__webglDepthbuffer&&i.deleteRenderbuffer(Ut.__webglDepthbuffer),Ut.__webglMultisampledFramebuffer&&i.deleteFramebuffer(Ut.__webglMultisampledFramebuffer),Ut.__webglColorRen
5derbuffer&&i.deleteRenderbuffer(Ut.__webglColorRenderbuffer),Ut.__webglDepthRenderbuffer&&i.deleteRenderbuffer(Ut.__webglDepthRenderbuffer);if(ze.isWebGLMultipleRenderTargets)for(var hr=0,gr=Oe.length;hr<gr;hr++){var Er=r.get(Oe[hr]);Er.__webglTexture&&(i.deleteTexture(Er.__webglTexture),l.memory.textures--),r.remove(Oe[hr])}r.remove(Oe),r.remove(ze)}}var We=0;function it(){We=0}function ht(){var ze=We;return ze>=D&&console.warn("THREE.WebGLTextures: Trying to use ".concat(ze," texture units while this GPU supports only ").concat(D)),We+=1,ze}function Ze(ze,Oe){var Ut=r.get(ze);if(ze.isVideoTexture&&nn(ze),ze.version>0&&Ut.__version!==ze.version){var Kt=ze.image;if(Kt===void 0)console.warn("THREE.WebGLRenderer: Texture marked for update but image is undefined");else if(Kt.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{Dr(Ut,ze,Oe);return}}e.activeTexture(i.TEXTURE0+Oe),e.bindTexture(i.TEXTURE_2D,Ut.__webglTexture)}function lt(ze,Oe){var Ut=r.get(ze);if(ze.version>0&&Ut.__version!==ze.version){Dr(Ut,ze,Oe);return}e.activeTexture(i.TEXTURE0+Oe),e.bindTexture(i.TEXTURE_2D_ARRAY,Ut.__webglTexture)}function Et(ze,Oe){var Ut=r.get(ze);if(ze.version>0&&Ut.__version!==ze.version){Dr(Ut,ze,Oe);return}e.activeTexture(i.TEXTURE0+Oe),e.bindTexture(i.TEXTURE_3D,Ut.__webglTexture)}function Xt(ze,Oe){var Ut=r.get(ze);if(ze.version>0&&Ut.__version!==ze.version){Ar(Ut,ze,Oe);return}e.activeTexture(i.TEXTURE0+Oe),e.bindTexture(i.TEXTURE_CUBE_MAP,Ut.__webglTexture)}var Bt=(f={},bn(f,pa,i.REPEAT),bn(f,dr,i.CLAMP_TO_EDGE),bn(f,La,i.MIRRORED_REPEAT),f),Ot=(m={},bn(m,un,i.NEAREST),bn(m,Bi,i.NEAREST_MIPMAP_NEAREST),bn(m,es,i.NEAREST_MIPMAP_LINEAR),bn(m,Wn,i.LINEAR),bn(m,Ao,i.LINEAR_MIPMAP_NEAREST),bn(m,ro,i.LINEAR_MIPMAP_LINEAR),m);function Gt(ze,Oe,Ut){if(Ut?(i.texParameteri(ze,i.TEXTURE_WRAP_S,Bt[Oe.wrapS]),i.texParameteri(ze,i.TEXTURE_WRAP_T,Bt[Oe.wrapT]),(ze===i.TEXTURE_3D||ze===i.TEXTURE_2D_ARRAY)&&i.texParameteri(ze,i.TEXTURE_WRAP_R,Bt[Oe.wrapR]),i.texParameteri(ze,i.TEXTURE_MAG_FILTER,Ot[Oe.magFilter]),i.texParameteri(ze,i.TEXTURE_MIN_FILTER,Ot[Oe.minFilter])):(i.texParameteri(ze,i.TEXTURE_WRAP_S,i.CLAMP_TO_EDGE),i.texParameteri(ze,i.TEXTURE_WRAP_T,i.CLAMP_TO_EDGE),(ze===i.TEXTURE_3D||ze===i.TEXTURE_2D_ARRAY)&&i.texParameteri(ze,i.TEXTURE_WRAP_R,i.CLAMP_TO_EDGE),(Oe.wrapS!==dr||Oe.wrapT!==dr)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),i.texParameteri(ze,i.TEXTURE_MAG_FILTER,Te(Oe.magFilter)),i.texParameteri(ze,i.TEXTURE_MIN_FILTER,Te(Oe.minFilter)),Oe.minFilter!==un&&Oe.minFilter!==Wn&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),s.has("EXT_texture_filter_anisotropic")===!0){var Kt=s.get("EXT_texture_filter_anisotropic");if(Oe.type===ni&&s.has("OES_texture_float_linear")===!1||x===!1&&Oe.type===Zn&&s.has("OES_texture_half_float_linear")===!1)return;(Oe.anisotropy>1||r.get(Oe).__currentAnisotropy)&&(i.texParameterf(ze,Kt.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(Oe.anisotropy,t.getMaxAnisotropy())),r.get(Oe).__currentAnisotropy=Oe.anisotropy)}}function lr(ze,Oe){ze.__webglInit===void 0&&(ze.__webglInit=!0,Oe.addEventListener("dispose",Ye),ze.__webglTexture=i.createTexture(),l.memory.textures++)}function Dr(ze,Oe,Ut){var Kt=i.TEXTURE_2D;Oe.isDataTexture2DArray&&(Kt=i.TEXTURE_2D_ARRAY),Oe.isDataTexture3D&&(Kt=i.TEXTURE_3D),lr(ze,Oe),e.activeTexture(i.TEXTURE0+Ut),e.bindTexture(Kt,ze.__webglTexture),i.pixelStorei(i.UNPACK_FLIP_Y_WEBGL,Oe.flipY),i.pixelStorei(i.UNPACK_PREMULTIPLY_ALPHA_WEBGL,Oe.premultiplyAlpha),i.pixelStorei(i.UNPACK_ALIGNMENT,Oe.unpackAlignment),i.pixelStorei(i.UNPACK_COLORSPACE_CONVERSION_WEBGL,i.NONE);var Tr=Me(Oe)&&_e(Oe.image)===!1,hr=J(Oe.image,Tr,!1,N),gr=_e(hr)||x,Er=a.convert(Oe.format),hn=a.convert(Oe.type),Jr=we(Oe.internalFormat,Er,hn);Gt(Kt,Oe,gr);var gn,$e=Oe.mipmaps;if(Oe.isDepthTexture)Jr=i.DEPTH_COMPONENT,x?Oe.type===ni?Jr=i.DEPTH_COMPONENT32F:Oe.type===Ts?Jr=i.DEPTH_COMPONENT24:Oe.type===Es?Jr=i.DEPTH24_STENCIL8:Jr=i.DEPTH_COMPONENT16:Oe.type===ni&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),Oe.format===Co&&Jr===i.DEPTH_COMPONENT&&Oe.type!==Ui&&Oe.type!==Ts&&
5(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),Oe.type=Ui,hn=a.convert(Oe.type)),Oe.format===ks&&Jr===i.DEPTH_COMPONENT&&(Jr=i.DEPTH_STENCIL,Oe.type!==Es&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),Oe.type=Es,hn=a.convert(Oe.type))),e.texImage2D(i.TEXTURE_2D,0,Jr,hr.width,hr.height,0,Er,hn,null);else if(Oe.isDataTexture)if($e.length>0&&gr){for(var sr=0,_r=$e.length;sr<_r;sr++)gn=$e[sr],e.texImage2D(i.TEXTURE_2D,sr,Jr,gn.width,gn.height,0,Er,hn,gn.data);Oe.generateMipmaps=!1,ze.__maxMipLevel=$e.length-1}else e.texImage2D(i.TEXTURE_2D,0,Jr,hr.width,hr.height,0,Er,hn,hr.data),ze.__maxMipLevel=0;else if(Oe.isCompressedTexture){for(var Yr=0,sn=$e.length;Yr<sn;Yr++)gn=$e[Yr],Oe.format!==ai&&Oe.format!==ts?Er!==null?e.compressedTexImage2D(i.TEXTURE_2D,Yr,Jr,gn.width,gn.height,0,gn.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):e.texImage2D(i.TEXTURE_2D,Yr,Jr,gn.width,gn.height,0,Er,hn,gn.data);ze.__maxMipLevel=$e.length-1}else if(Oe.isDataTexture2DArray)e.texImage3D(i.TEXTURE_2D_ARRAY,0,Jr,hr.width,hr.height,hr.depth,0,Er,hn,hr.data),ze.__maxMipLevel=0;else if(Oe.isDataTexture3D)e.texImage3D(i.TEXTURE_3D,0,Jr,hr.width,hr.height,hr.depth,0,Er,hn,hr.data),ze.__maxMipLevel=0;else if($e.length>0&&gr){for(var cr=0,On=$e.length;cr<On;cr++)gn=$e[cr],e.texImage2D(i.TEXTURE_2D,cr,Jr,Er,hn,gn);Oe.generateMipmaps=!1,ze.__maxMipLevel=$e.length-1}else e.texImage2D(i.TEXTURE_2D,0,Jr,Er,hn,hr),ze.__maxMipLevel=0;Ae(Oe,gr)&&ie(Kt,Oe,hr.width,hr.height),ze.__version=Oe.version,Oe.onUpdate&&Oe.onUpdate(Oe)}function Ar(ze,Oe,Ut){if(Oe.image.length===6){lr(ze,Oe),e.activeTexture(i.TEXTURE0+Ut),e.bindTexture(i.TEXTURE_CUBE_MAP,ze.__webglTexture),i.pixelStorei(i.UNPACK_FLIP_Y_WEBGL,Oe.flipY),i.pixelStorei(i.UNPACK_PREMULTIPLY_ALPHA_WEBGL,Oe.premultiplyAlpha),i.pixelStorei(i.UNPACK_ALIGNMENT,Oe.unpackAlignment),i.pixelStorei(i.UNPACK_COLORSPACE_CONVERSION_WEBGL,i.NONE);for(var Kt=Oe&&(Oe.isCompressedTexture||Oe.image[0].isCompressedTexture),Tr=Oe.image[0]&&Oe.image[0].isDataTexture,hr=[],gr=0;gr<6;gr++)!Kt&&!Tr?hr[gr]=J(Oe.image[gr],!1,!0,I):hr[gr]=Tr?Oe.image[gr].image:Oe.image[gr];var Er=hr[0],hn=_e(Er)||x,Jr=a.convert(Oe.format),gn=a.convert(Oe.type),$e=we(Oe.internalFormat,Jr,gn);Gt(i.TEXTURE_CUBE_MAP,Oe,hn);var sr;if(Kt){for(var _r=0;_r<6;_r++){sr=hr[_r].mipmaps;for(var Yr=0;Yr<sr.length;Yr++){var sn=sr[Yr];Oe.format!==ai&&Oe.format!==ts?Jr!==null?e.compressedTexImage2D(i.TEXTURE_CUBE_MAP_POSITIVE_X+_r,Yr,$e,sn.width,sn.height,0,sn.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):e.texImage2D(i.TEXTURE_CUBE_MAP_POSITIVE_X+_r,Yr,$e,sn.width,sn.height,0,Jr,gn,sn.data)}}ze.__maxMipLevel=sr.length-1}else{sr=Oe.mipmaps;for(var cr=0;cr<6;cr++)if(Tr){e.texImage2D(i.TEXTURE_CUBE_MAP_POSITIVE_X+cr,0,$e,hr[cr].width,hr[cr].height,0,Jr,gn,hr[cr].data);for(var On=0;On<sr.length;On++){var _a=sr[On],Ca=_a.image[cr].image;e.texImage2D(i.TEXTURE_CUBE_MAP_POSITIVE_X+cr,On+1,$e,Ca.width,Ca.height,0,Jr,gn,Ca.data)}}else{e.texImage2D(i.TEXTURE_CUBE_MAP_POSITIVE_X+cr,0,$e,Jr,gn,hr[cr]);for(var ea=0;ea<sr.length;ea++){var kn=sr[ea];e.texImage2D(i.TEXTURE_CUBE_MAP_POSITIVE_X+cr,ea+1,$e,Jr,gn,kn.image[cr])}}ze.__maxMipLevel=sr.length}Ae(Oe,hn)&&ie(i.TEXTURE_CUBE_MAP,Oe,Er.width,Er.height),ze.__version=Oe.version,Oe.onUpdate&&Oe.onUpdate(Oe)}}function Fe(ze,Oe,Ut,Kt,Tr){var hr=a.convert(Ut.format),gr=a.convert(Ut.type),Er=we(Ut.internalFormat,hr,gr);Tr===i.TEXTURE_3D||Tr===i.TEXTURE_2D_ARRAY?e.texImage3D(Tr,0,Er,Oe.width,Oe.height,Oe.depth,0,hr,gr,null):e.texImage2D(Tr,0,Er,Oe.width,Oe.height,0,hr,gr,null),e.bindFramebuffer(i.FRAMEBUFFER,ze),i.framebufferTexture2D(i.FRAMEBUFFER,Kt,Tr,r.get(Ut).__webglTexture,0),e.bindFramebuffer(i.FRAMEBUFFER,null)}function fr(ze,Oe,Ut){if(i.bindRenderbuffer(i.RENDERBUFFER,ze),Oe.depthBuffer&&!Oe.stencilBuffer){var Kt=i.DEPTH_COMPONENT16;if(Ut){var Tr=Oe.depthTexture;Tr&&Tr.isDepthTexture&&(Tr.type===ni?Kt=i.DEPTH_COMPONENT32F:Tr.type===Ts&&(Kt=i.DEPTH_COMPONENT24));var hr=cn(Oe);i.renderbufferStorageMultisample(i.RENDERBUFFER,hr,Kt,Oe.width,Oe.height)}else i.renderbufferStorage(i.RENDERBUFFER,Kt,Oe.width,Oe.height);i.framebufferRenderbuffer(i.FRAMEBUFFER,i.DEPTH_ATTACHMENT,i.RENDERBUFFER,ze)}
5else if(Oe.depthBuffer&&Oe.stencilBuffer){if(Ut){var gr=cn(Oe);i.renderbufferStorageMultisample(i.RENDERBUFFER,gr,i.DEPTH24_STENCIL8,Oe.width,Oe.height)}else i.renderbufferStorage(i.RENDERBUFFER,i.DEPTH_STENCIL,Oe.width,Oe.height);i.framebufferRenderbuffer(i.FRAMEBUFFER,i.DEPTH_STENCIL_ATTACHMENT,i.RENDERBUFFER,ze)}else{var Er=Oe.isWebGLMultipleRenderTargets===!0?Oe.texture[0]:Oe.texture,hn=a.convert(Er.format),Jr=a.convert(Er.type),gn=we(Er.internalFormat,hn,Jr);if(Ut){var $e=cn(Oe);i.renderbufferStorageMultisample(i.RENDERBUFFER,$e,gn,Oe.width,Oe.height)}else i.renderbufferStorage(i.RENDERBUFFER,gn,Oe.width,Oe.height)}i.bindRenderbuffer(i.RENDERBUFFER,null)}function zr(ze,Oe){var Ut=Oe&&Oe.isWebGLCubeRenderTarget;if(Ut)throw new Error("Depth Texture with cube render targets is not supported");if(e.bindFramebuffer(i.FRAMEBUFFER,ze),!(Oe.depthTexture&&Oe.depthTexture.isDepthTexture))throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");(!r.get(Oe.depthTexture).__webglTexture||Oe.depthTexture.image.width!==Oe.width||Oe.depthTexture.image.height!==Oe.height)&&(Oe.depthTexture.image.width=Oe.width,Oe.depthTexture.image.height=Oe.height,Oe.depthTexture.needsUpdate=!0),Ze(Oe.depthTexture,0);var Kt=r.get(Oe.depthTexture).__webglTexture;if(Oe.depthTexture.format===Co)i.framebufferTexture2D(i.FRAMEBUFFER,i.DEPTH_ATTACHMENT,i.TEXTURE_2D,Kt,0);else if(Oe.depthTexture.format===ks)i.framebufferTexture2D(i.FRAMEBUFFER,i.DEPTH_STENCIL_ATTACHMENT,i.TEXTURE_2D,Kt,0);else throw new Error("Unknown depthTexture format")}function on(ze){var Oe=r.get(ze),Ut=ze.isWebGLCubeRenderTarget===!0;if(ze.depthTexture){if(Ut)throw new Error("target.depthTexture not supported in Cube render targets");zr(Oe.__webglFramebuffer,ze)}else if(Ut){Oe.__webglDepthbuffer=[];for(var Kt=0;Kt<6;Kt++)e.bindFramebuffer(i.FRAMEBUFFER,Oe.__webglFramebuffer[Kt]),Oe.__webglDepthbuffer[Kt]=i.createRenderbuffer(),fr(Oe.__webglDepthbuffer[Kt],ze,!1)}else e.bindFramebuffer(i.FRAMEBUFFER,Oe.__webglFramebuffer),Oe.__webglDepthbuffer=i.createRenderbuffer(),fr(Oe.__webglDepthbuffer,ze,!1);e.bindFramebuffer(i.FRAMEBUFFER,null)}function Xr(ze){var Oe=ze.texture,Ut=r.get(ze),Kt=r.get(Oe);ze.addEventListener("dispose",Ie),ze.isWebGLMultipleRenderTargets!==!0&&(Kt.__webglTexture=i.createTexture(),Kt.__version=Oe.version,l.memory.textures++);var Tr=ze.isWebGLCubeRenderTarget===!0,hr=ze.isWebGLMultipleRenderTargets===!0,gr=ze.isWebGLMultisampleRenderTarget===!0,Er=Oe.isDataTexture3D||Oe.isDataTexture2DArray,hn=_e(ze)||x;if(x&&Oe.format===ts&&(Oe.type===ni||Oe.type===Zn)&&(Oe.format=ai,console.warn("THREE.WebGLRenderer: Rendering to textures with RGB format is not supported. Using RGBA format instead.")),Tr){Ut.__webglFramebuffer=[];for(var Jr=0;Jr<6;Jr++)Ut.__webglFramebuffer[Jr]=i.createFramebuffer()}else if(Ut.__webglFramebuffer=i.createFramebuffer(),hr)if(t.drawBuffers)for(var gn=ze.texture,$e=0,sr=gn.length;$e<sr;$e++){var _r=r.get(gn[$e]);_r.__webglTexture===void 0&&(_r.__webglTexture=i.createTexture(),l.memory.textures++)}else console.warn("THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.");else if(gr)if(x){Ut.__webglMultisampledFramebuffer=i.createFramebuffer(),Ut.__webglColorRenderbuffer=i.createRenderbuffer(),i.bindRenderbuffer(i.RENDERBUFFER,Ut.__webglColorRenderbuffer);var Yr=a.convert(Oe.format),sn=a.convert(Oe.type),cr=we(Oe.internalFormat,Yr,sn),On=cn(ze);i.renderbufferStorageMultisample(i.RENDERBUFFER,On,cr,ze.width,ze.height),e.bindFramebuffer(i.FRAMEBUFFER,Ut.__webglMultisampledFramebuffer),i.framebufferRenderbuffer(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.RENDERBUFFER,Ut.__webglColorRenderbuffer),i.bindRenderbuffer(i.RENDERBUFFER,null),ze.depthBuffer&&(Ut.__webglDepthRenderbuffer=i.createRenderbuffer(),fr(Ut.__webglDepthRenderbuffer,ze,!0)),e.bindFramebuffer(i.FRAMEBUFFER,null)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.");if(Tr){e.bindTexture(i.TEXTURE_CUBE_MAP,Kt.__webglTexture),Gt(i.TEXTURE_CUBE_MAP,Oe,hn);for(var _a=0;_a<6;_a++)Fe(Ut.__webglFramebuffer[_a],ze,Oe,i.COLOR_ATTACHMENT0,i.TEXTURE_CUBE_MAP_POSITIVE_X+_a);Ae(Oe,hn)&&ie(i.TEXTURE_CUBE_MAP,Oe,ze.width,ze.height),e.bindTexture(i.TEXTURE_CUBE_MAP,null)}else if(hr){for(var Ca=ze.texture,ea=0,kn=Ca.length;ea<kn;ea++){var sa=Ca[ea],Za=r.get(sa);e.bindTexture(i.TEXTURE_2D,Za.__webglTexture),Gt(i.TEXTURE_2D,sa,hn),Fe(Ut.__webglFramebuffer,ze,sa,i.COLOR_ATTACHMENT0+ea,i.TEXTURE_2D),Ae(sa,hn)&&ie(i.TEXTURE_2D,sa,ze.width,ze.height)}e.bindTexture(i.TEXTURE_2D,null)}else{var qo=i.TEXTURE_2D;if(Er)if(x){var _s=Oe.isDataTexture3D;qo=_s?i.TEXTURE_3D:i.TEXTURE_2D_ARRAY}else console.warn("THREE.DataTexture3D and THREE.DataTexture2DArray only supported with WebGL2.");e.bindTexture(qo,Kt.__webglTexture),Gt(qo,Oe,hn),Fe(Ut.__webglFramebuffer,ze,Oe,i.COLOR_ATTACHMENT0,qo),Ae(Oe,hn)&&ie(i.TEXTURE_2D,Oe,ze.width,ze.height),e.bindTexture(i.TEXTURE_2D,null)}ze.depthBuffer&&on(ze)}function Rr(ze){for(var Oe=_e(ze)||x,Ut=ze.isWebGLMultipleRenderTargets===!0?ze.texture:[ze.texture],Kt=0,Tr=Ut.length;Kt<Tr;Kt++){var hr=Ut[Kt];
5if(Ae(hr,Oe)){var gr=ze.isWebGLCubeRenderTarget?i.TEXTURE_CUBE_MAP:i.TEXTURE_2D,Er=r.get(hr).__webglTexture;e.bindTexture(gr,Er),ie(gr,hr,ze.width,ze.height),e.bindTexture(gr,null)}}}function Mr(ze){if(ze.isWebGLMultisampleRenderTarget)if(x){var Oe=ze.width,Ut=ze.height,Kt=i.COLOR_BUFFER_BIT;ze.depthBuffer&&(Kt|=i.DEPTH_BUFFER_BIT),ze.stencilBuffer&&(Kt|=i.STENCIL_BUFFER_BIT);var Tr=r.get(ze);e.bindFramebuffer(i.READ_FRAMEBUFFER,Tr.__webglMultisampledFramebuffer),e.bindFramebuffer(i.DRAW_FRAMEBUFFER,Tr.__webglFramebuffer),i.blitFramebuffer(0,0,Oe,Ut,0,0,Oe,Ut,Kt,i.NEAREST),e.bindFramebuffer(i.READ_FRAMEBUFFER,null),e.bindFramebuffer(i.DRAW_FRAMEBUFFER,Tr.__webglMultisampledFramebuffer)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.")}function cn(ze){return x&&ze.isWebGLMultisampleRenderTarget?Math.min(W,ze.samples):0}function nn(ze){var Oe=l.render.frame;Z.get(ze)!==Oe&&(Z.set(ze,Oe),ze.update())}var En=!1,Aa=!1;function fa(ze,Oe){ze&&ze.isWebGLRenderTarget&&(En===!1&&(console.warn("THREE.WebGLTextures.safeSetTexture2D: don't use render targets as textures. Use their .texture property instead."),En=!0),ze=ze.texture),Ze(ze,Oe)}function Ja(ze,Oe){ze&&ze.isWebGLCubeRenderTarget&&(Aa===!1&&(console.warn("THREE.WebGLTextures.safeSetTextureCube: don't use cube render targets as textures. Use their .texture property instead."),Aa=!0),ze=ze.texture),Xt(ze,Oe)}this.allocateTextureUnit=ht,this.resetTextureUnits=it,this.setTexture2D=Ze,this.setTexture2DArray=lt,this.setTexture3D=Et,this.setTextureCube=Xt,this.setupRenderTarget=Xr,this.updateRenderTargetMipmap=Rr,this.updateMultisampleRenderTarget=Mr,this.safeSetTexture2D=fa,this.safeSetTextureCube=Ja}function g4(i,s,e){var r=e.isWebGL2;function t(a){var l;if(a===Ni)return i.UNSIGNED_BYTE;if(a===k2)return i.UNSIGNED_SHORT_4_4_4_4;if(a===a1)return i.UNSIGNED_SHORT_5_5_5_1;if(a===Y1)return i.UNSIGNED_SHORT_5_6_5;if(a===A0)return i.BYTE;if(a===Ms)return i.SHORT;if(a===Ui)return i.UNSIGNED_SHORT;if(a===Ys)return i.INT;if(a===Ts)return i.UNSIGNED_INT;if(a===ni)return i.FLOAT;if(a===Zn)return r?i.HALF_FLOAT:(l=s.get("OES_texture_half_float"),l!==null?l.HALF_FLOAT_OES:null);if(a===i1)return i.ALPHA;if(a===ts)return i.RGB;if(a===ai)return i.RGBA;if(a===fl)return i.LUMINANCE;if(a===dl)return i.LUMINANCE_ALPHA;if(a===Co)return i.DEPTH_COMPONENT;if(a===ks)return i.DEPTH_STENCIL;if(a===hi)return i.RED;if(a===no)return i.RED_INTEGER;if(a===vl)return i.RG;if(a===A2)return i.RG_INTEGER;if(a===ml)return i.RGB_INTEGER;if(a===C2)return i.RGBA_INTEGER;if(a===j1||a===o1||a===qs||a===js)if(l=s.get("WEBGL_compressed_texture_s3tc"),l!==null){if(a===j1)return l.COMPRESSED_RGB_S3TC_DXT1_EXT;if(a===o1)return l.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(a===qs)return l.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(a===js)return l.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(a===J1||a===Kr||a===pl||a===s1)if(l=s.get("WEBGL_compressed_texture_pvrtc"),l!==null){if(a===J1)return l.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(a===Kr)return l.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(a===pl)return l.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(a===s1)return l.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(a===Pn)return l=s.get("WEBGL_compressed_texture_etc1"),l!==null?l.COMPRESSED_RGB_ETC1_WEBGL:null;if((a===u1||a===Js)&&(l=s.get("WEBGL_compressed_texture_etc"),l!==null)){if(a===u1)return l.COMPRESSED_RGB8_ETC2;if(a===Js)return l.COMPRESSED_RGBA8_ETC2_EAC}if(a===R2||a===gl||a===Z1||a===K1||a===yl||a===$1||a===Q1||a===zi||a===la||a===rs||a===Zs||a===O2||a===bl||a===_l||a===ao||a===xl||a===eu||a===tu||a===l1||a===ru||a===Ro||a===nu||a===L2||a===wl||a===P2||a===D2||a===Oo||a===Ga)return l=s.get("WEBGL_compressed_texture_astc"),l!==null?a:null;if(a===Ks)return l=s.get("EXT_texture_compression_bptc"),l!==null?a:null;if(a===Es)return r?i.UNSIGNED_INT_24_8:(l=s.get("WEBGL_depth_texture"),l!==null?l.UNSIGNED_INT_24_8_WEBGL:null)}return{convert:t}}function o7(i){function s(K,J){K.fogColor.value.copy(J.color),J.isFog?(K.fogNear.value=J.near,K.fogFar.value=J.far):J.isFogExp2&&(K.fogDensity.value=J.density)}function e(K,J,_e,Me,Ae){J.isMeshBasicMaterial?r(K,J):J.isMeshLambertMaterial?(r(K,J),m(K,J)):J.isMeshToonMaterial?(r(K,J),D(K,J)):J.isMeshPhongMaterial?(r(K,J),x(K,J)):J.isMeshStandardMaterial?(r(K,J),J.isMeshPhysicalMaterial?N(K,J,Ae):I(K,J)):J.isMeshMat
5capMaterial?(r(K,J),W(K,J)):J.isMeshDepthMaterial?(r(K,J),Z(K,J)):J.isMeshDistanceMaterial?(r(K,J),Q(K,J)):J.isMeshNormalMaterial?(r(K,J),oe(K,J)):J.isLineBasicMaterial?(t(K,J),J.isLineDashedMaterial&&a(K,J)):J.isPointsMaterial?l(K,J,_e,Me):J.isSpriteMaterial?f(K,J):J.isShadowMaterial?(K.color.value.copy(J.color),K.opacity.value=J.opacity):J.isShaderMaterial&&(J.uniformsNeedUpdate=!1)}function r(K,J){K.opacity.value=J.opacity,J.color&&K.diffuse.value.copy(J.color),J.emissive&&K.emissive.value.copy(J.emissive).multiplyScalar(J.emissiveIntensity),J.map&&(K.map.value=J.map),J.alphaMap&&(K.alphaMap.value=J.alphaMap),J.specularMap&&(K.specularMap.value=J.specularMap);var _e=i.get(J),Me=_e.envMap;if(Me){K.envMap.value=Me,K.flipEnvMap.value=Me.isCubeTexture&&Me._needsFlipEnvMap?-1:1,K.reflectivity.value=J.reflectivity,K.refractionRatio.value=J.refractionRatio;var Ae=i.get(Me).__maxMipLevel;Ae!==void 0&&(K.maxMipLevel.value=Ae)}J.lightMap&&(K.lightMap.value=J.lightMap,K.lightMapIntensity.value=J.lightMapIntensity),J.aoMap&&(K.aoMap.value=J.aoMap,K.aoMapIntensity.value=J.aoMapIntensity);var ie;J.map?ie=J.map:J.specularMap?ie=J.specularMap:J.displacementMap?ie=J.displacementMap:J.normalMap?ie=J.normalMap:J.bumpMap?ie=J.bumpMap:J.roughnessMap?ie=J.roughnessMap:J.metalnessMap?ie=J.metalnessMap:J.alphaMap?ie=J.alphaMap:J.emissiveMap?ie=J.emissiveMap:J.clearcoatMap?ie=J.clearcoatMap:J.clearcoatNormalMap?ie=J.clearcoatNormalMap:J.clearcoatRoughnessMap&&(ie=J.clearcoatRoughnessMap),ie!==void 0&&(ie.isWebGLRenderTarget&&(ie=ie.texture),ie.matrixAutoUpdate===!0&&ie.updateMatrix(),K.uvTransform.value.copy(ie.matrix));var we;J.aoMap?we=J.aoMap:J.lightMap&&(we=J.lightMap),we!==void 0&&(we.isWebGLRenderTarget&&(we=we.texture),we.matrixAutoUpdate===!0&&we.updateMatrix(),K.uv2Transform.value.copy(we.matrix))}function t(K,J){K.diffuse.value.copy(J.color),K.opacity.value=J.opacity}function a(K,J){K.dashSize.value=J.dashSize,K.totalSize.value=J.dashSize
5+J.gapSize,K.scale.value=J.scale}function l(K,J,_e,Me){K.diffuse.value.copy(J.color),K.opacity.value=J.opacity,K.size.value=J.size*_e,K.scale.value=Me*.5,J.map&&(K.map.value=J.map),J.alphaMap&&(K.alphaMap.value=J.alphaMap);var Ae;J.map?Ae=J.map:J.alphaMap&&(Ae=J.alphaMap),Ae!==void 0&&(Ae.matrixAutoUpdate===!0&&Ae.updateMatrix(),K.uvTransform.value.copy(Ae.matrix))}function f(K,J){K.diffuse.value.copy(J.color),K.opacity.value=J.opacity,K.rotation.value=J.rotation,J.map&&(K.map.value=J.map),J.alphaMap&&(K.alphaMap.value=J.alphaMap);var _e;J.map?_e=J.map:J.alphaMap&&(_e=J.alphaMap),_e!==void 0&&(_e.matrixAutoUpdate===!0&&_e.updateMatrix(),K.uvTransform.value.copy(_e.matrix))}function m(K,J){J.emissiveMap&&(K.emissiveMap.value=J.emissiveMap)}function x(K,J){K.specular.value.copy(J.specular),K.shininess.value=Math.max(J.shininess,1e-4),J.emissiveMap&&(K.emissiveMap.value=J.emissiveMap),J.bumpMap&&(K.bumpMap.value=J.bumpMap,K.bumpScale.value=J.bumpScale,J.side===L&&(K.bumpScale.value*=-1)),J.normalMap&&(K.normalMap.value=J.normalMap,K.normalScale.value.copy(J.normalScale),J.side===L&&K.normalScale.value.negate()),J.displacementMap&&(K.displacementMap.value=J.displacementMap,K.displacementScale.value=J.displacementScale,K.displacementBias.value=J.displacementBias)}function D(K,J){J.gradientMap&&(K.gradientMap.value=J.gradientMap),J.emissiveMap&&(K.emissiveMap.value=J.emissiveMap),J.bumpMap&&(K.bumpMap.value=J.bumpMap,K.bumpScale.value=J.bumpScale,J.side===L&&(K.bumpScale.value*=-1)),J.normalMap&&(K.normalMap.value=J.normalMap,K.normalScale.value.copy(J.normalScale),J.side===L&&K.normalScale.value.negate()),J.displacementMap&&(K.displacementMap.value=J.displacementMap,K.displacementScale.value=J.displacementScale,K.displacementBias.value=J.displacementBias)}function I(K,J){K.roughness.value=J.roughness,K.metalness.value=J.metalness,J.roughnessMap&&(K.roughnessMap.value=J.roughnessMap),J.metalnessMap&&(K.metalnessMap.value=J.metalnessMap),J.emissiveMap&&(K.emissiveMap.value=J.emissiveMap),J.bumpMap&&(K.bumpMap.value=J.bumpMap,K.bumpScale.value=J.bumpScale,J.side===L&&(K.bumpScale.value*=-1)),J.normalMap&&(K.normalMap.value=J.normalMap,K.normalScale.value.copy(J.normalScale),J.side===L&&K.normalScale.value.negate()),J.displacementMap&&(K.displacementMap.value=J.displacementMap,K.displacementScale.value=J.displacementScale,K.displacementBias.value=J.displacementBias);var _e=i.get(J),Me=_e.envMap;Me&&(K.envMapIntensity.value=J.envMapIntensity)}function N(K,J,_e){I(K,J),K.reflectivity.value=J.reflectivity,K.clearcoat.value=J.clearcoat,K.clearcoatRoughness.value=J.clearcoatRoughness,J.sheen&&K.sheen.value.copy(J.sheen),J.clearcoatMap&&(K.clearcoatMap.value=J.clearcoatMap),J.clearcoatRoughnessMap&&(K.clearcoatRoughnessMap.value=J.clearcoatRoughnessMap),J.clearcoatNormalMap&&(K.clearcoatNormalScale.value.copy(J.clearcoatNormalScale),K.clearcoatNormalMap.value=J.clearcoatNormalMap,J.side===L&&K.clearcoatNormalScale.value.negate()),K.transmission.value=J.transmission,J.transmissionMap&&(K.transmissionMap.value=J.transmissionMap),J.transmission>0&&(K.transmissionSamplerMap.value=_e.texture,K.transmissionSamplerSize.value.set(_e.width,_e.height)),K.thickness.value=J.thickness,J.thicknessMap&&(K.thicknessMap.value=J.thicknessMap),K.attenuationDistance.value=J.attenuationDistance,K.attenuationColor.value.copy(J.attenuationColor)}function W(K,J){J.matcap&&(K.matcap.value=J.matcap),J.bumpMap&&(K.bumpMap.value=J.bumpMap,K.bumpScale.value=J.bumpScale,J.side===L&&(K.bumpScale.value*=-1)),J.normalMap&&(K.normalMap.value=J.normalMap,K.normalScale.value.copy(J.normalScale),J.side===L&&K.normalScale.value.negate()),J.displacementMap&&(K.displacementMap.value=J.displacementMap,K.displacementScale.value=J.displacementScale,K.displacementBias.value=J.displacementBias)}function Z(K,J){J.displacementMap&&(K.displacementMap.value=J.displacementMap,K.displacementScale.value=J.displacementScale,K.displacementBias.value=J.displacementBias)}function Q(K,J){J.displacementMap&&(K.displacementMap.value=J.displacementMap,K.displacementScale.value=J.displacementScale,K.displacementBias.value=J.dis
5placementBias),K.referencePosition.value.copy(J.referencePosition),K.nearDistance.value=J.nearDistance,K.farDistance.value=J.farDistance}function oe(K,J){J.bumpMap&&(K.bumpMap.value=J.bumpMap,K.bumpScale.value=J.bumpScale,J.side===L&&(K.bumpScale.value*=-1)),J.normalMap&&(K.normalMap.value=J.normalMap,K.normalScale.value.copy(J.normalScale),J.side===L&&K.normalScale.value.negate()),J.displacementMap&&(K.displacementMap.value=J.displacementMap,K.displacementScale.value=J.displacementScale,K.displacementBias.value=J.displacementBias)}return{refreshFogUniforms:s,refreshMaterialUniforms:e}}function s7(){var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");return i.style.display="block",i}function In(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=i.canvas!==void 0?i.canvas:s7(),e=i.context!==void 0?i.context:null,r=i.alpha!==void 0?i.alpha:!1,t=i.depth!==void 0?i.depth:!0,a=i.stencil!==void 0?i.stencil:!0,l=i.antialias!==void 0?i.antialias:!1,f=i.premultipliedAlpha!==void 0?i.premultipliedAlpha:!0,m=i.preserveDrawingBuffer!==void 0?i.preserveDrawingBuffer:!1,x=i.powerPreference!==void 0?i.powerPreference:"default",D=i.failIfMajorPerformanceCaveat!==void 0?i.failIfMajorPerformanceCaveat:!1,I=null,N=null,W=[],Z=[];this.domElement=s,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.gammaFactor=2,this.outputEncoding=ii,this.physicallyCorrectLights=!1,this.toneMapping=or,this.toneMappingExposure=1;var Q=this,oe=!1,K=0,J=0,_e=null,Me=-1,Ae=null,ie=new kt,we=new kt,Te=null,Ye=s.width,Ie=s.height,nt=1,dt=null,We=null,it=new kt(0,0,Ye,Ie),ht=new kt(0,0,Ye,Ie),Ze=!1,lt=[],Et=new Is,Xt=!1,Bt=!1,Ot=null,Gt=new tr,lr=new pe,Dr={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function Ar(){return _e===null?nt:1}var Fe=e;function fr(Ee,vt){for(var ot=0;ot<Ee.length;ot++){var bt=Ee[ot],zt=s.getContext(bt,vt);if(zt!==null)return zt}return null}try{var zr={alpha:r,depth:t,stencil:a,antialias:l,premultipliedAlpha:f,preserveDrawingBuffer:m,powerPreference:x,failIfMajorPerformanceCaveat:D};if(Fe===null){var on=["webgl2","webgl","experimental-webgl"];if(Q.isWebGL1Renderer===!0&&on.shift(),Fe=fr(on,zr),Fe===null)throw fr(on)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}Fe.getShaderPrecisionFormat===void 0&&(Fe.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(Ee){throw console.error("THREE.WebGLRenderer: ".concat(Ee.message)),Ee}var Xr,Rr,Mr,cn,nn,En,Aa,fa,Ja,ze,Oe,Ut,Kt,Tr,hr,gr,Er,hn,Jr,gn,$e,sr;function _r(){Xr=new Pp(Fe),Rr=new Rp(Fe,Xr,i),Xr.init(Rr),$e=new g4(Fe,Xr,Rr),Mr=new a7(Fe,Xr,Rr),lt[0]=Fe.BACK,cn=new Fp(Fe),nn=new q8,En=new i7(Fe,Xr,Mr,nn,Rr,$e,cn),Aa=new Lp(Q),fa=new d0(Fe,Rr),sr=new Ap(Fe,Xr,fa,Rr),Ja=new Dp(Fe,fa,cn,sr),ze=new zp(Fe,Ja,fa,cn),hn=new Up(Fe),hr=new Op(nn),Oe=new Y8(Q,Aa,Xr,Rr,sr,hr),Ut=new o7(nn),Kt=new J8(nn),Tr=new t7(Xr,Rr),Er=new kp(Q,Aa,Mr,ze,f),gr=new p4(Q,ze,Rr),Jr=new Cp(Fe,Xr,cn,Rr),gn=new Ip(Fe,Xr,cn,Rr),cn.programs=Oe.programs,Q.capabilities=Rr,Q.extensions=Xr,Q.properties=nn,Q.renderLists=Kt,Q.shadowMap=gr,Q.state=Mr,Q.info=cn}_r(),this.getContext=function(){return Fe},this.getContextAttributes=function(){return Fe.getContextAttributes()},this.forceContextLoss=function(){var Ee=Xr.get("WEBGL_lose_context");Ee&&Ee.loseContext()},this.forceContextRestore=function(){var Ee=Xr.get("WEBGL_lose_context");Ee&&Ee.restoreContext()},this.getPixelRatio=function(){return nt},this.setPixelRatio=function(Ee){Ee!==void 0&&(nt=Ee,this.setSize(Ye,Ie,!1))},this.getSize=function(Ee){return Ee.set(Ye,Ie)},this.setSize=function(Ee,vt,ot){Ye=Ee,Ie=vt,s.width=Math.floor(Ee*nt),s.height=Math.floor(vt*nt),ot!==!1&&(s.style.width="".concat(Ee,"px"),s.style.height="".concat(vt,"px")),this.setViewport(0,0,Ee,vt)},this.getDrawingBufferSize=function(Ee){return Ee.set(Ye*nt,Ie*nt).floor()},this.setDrawingBufferSize=function(Ee,vt,ot){Ye=Ee,Ie=vt,nt=ot,s.width=Math.floor(Ee*ot),s.height=Math.floor(vt*ot),this.setViewport(0,0,Ee,vt)},this.getCurrentViewport=function(Ee){return Ee.copy(ie)},this.getViewport=function(Ee){return Ee.copy(it)},this.setViewport=function(Ee,vt,ot,bt){Ee.isVector4?it.set(Ee.x,Ee.y,Ee.z,Ee.w):it.set(Ee,vt,ot,bt),Mr.viewport(ie.copy(it).multiplyScalar(nt).floor())}
5,this.getScissor=function(Ee){return Ee.copy(ht)},this.setScissor=function(Ee,vt,ot,bt){Ee.isVector4?ht.set(Ee.x,Ee.y,Ee.z,Ee.w):ht.set(Ee,vt,ot,bt),Mr.scissor(we.copy(ht).multiplyScalar(nt).floor())},this.getScissorTest=function(){return Ze},this.setScissorTest=function(Ee){Mr.setScissorTest(Ze=Ee)},this.setOpaqueSort=function(Ee){dt=Ee},this.setTransparentSort=function(Ee){We=Ee},this.getClearColor=function(Ee){return Ee.copy(Er.getClearColor())},this.setClearColor=function(){Er.setClearColor.apply(Er,arguments)},this.getClearAlpha=function(){return Er.getClearAlpha()},this.setClearAlpha=function(){Er.setClearAlpha.apply(Er,arguments)},this.clear=function(Ee,vt,ot){var bt=0;(Ee===void 0||Ee)&&(bt|=Fe.COLOR_BUFFER_BIT),(vt===void 0||vt)&&(bt|=Fe.DEPTH_BUFFER_BIT),(ot===void 0||ot)&&(bt|=Fe.STENCIL_BUFFER_BIT),Fe.clear(bt)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){s.removeEventListener("webglcontextlost",Yr,!1),s.removeEventListener("webglcontextrestored",sn,!1),Kt.dispose(),Tr.dispose(),nn.dispose(),Aa.dispose(),ze.dispose(),sr.dispose(),Ot&&(Ot.dispose(),Ot=null),sa.stop()};function Yr(Ee){Ee.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),oe=!0}function sn(){console.log("THREE.WebGLRenderer: Context Restored."),oe=!1;var Ee=cn.autoReset,vt=gr.enabled,ot=gr.autoUpdate,bt=gr.needsUpdate,zt=gr.type;_r(),cn.autoReset=Ee,gr.enabled=vt,gr.autoUpdate=ot,gr.needsUpdate=bt,gr.type=zt}function cr(Ee){var vt=Ee.target;vt.removeEventListener("dispose",cr),On(vt)}function On(Ee){_a(Ee),nn.remove(Ee)}function _a(Ee){var vt=nn.get(Ee),ot=vt.programs;ot!==void 0&&ot.forEach(function(bt){Oe.releaseProgram(bt)})}function Ca(Ee,vt){Ee.render(function(ot){Q.renderBufferImmediate(ot,vt)})}this.renderBufferImmediate=function(Ee,vt){sr.initAttributes();var ot=nn.get(Ee);Ee.hasPositions&&!ot.position&&(ot.position=Fe.createBuffer()),Ee.hasNormals&&!ot.normal&&(ot.normal=Fe.createBuffer()),Ee.hasUvs&&!ot.uv&&(ot.uv=Fe.createBuffer()),Ee.hasColors&&!ot.color&&(ot.color=Fe.createBuffer());var bt=vt.getAttributes();Ee.hasPositions&&(Fe.bindBuffer(Fe.ARRAY_BUFFER,ot.position),Fe.bufferData(Fe.ARRAY_BUFFER,Ee.positionArray,Fe.DYNAMIC_DRAW),sr.enableAttribute(bt.position),Fe.vertexAttribPointer(bt.position,3,Fe.FLOAT,!1,0,0)),Ee.hasNormals&&
5(Fe.bindBuffer(Fe.ARRAY_BUFFER,ot.normal),Fe.bufferData(Fe.ARRAY_BUFFER,Ee.normalArray,Fe.DYNAMIC_DRAW),sr.enableAttribute(bt.normal),Fe.vertexAttribPointer(bt.normal,3,Fe.FLOAT,!1,0,0)),Ee.hasUvs&&(Fe.bindBuffer(Fe.ARRAY_BUFFER,ot.uv),Fe.bufferData(Fe.ARRAY_BUFFER,Ee.uvArray,Fe.DYNAMIC_DRAW),sr.enableAttribute(bt.uv),Fe.vertexAttribPointer(bt.uv,2,Fe.FLOAT,!1,0,0)),Ee.hasColors&&(Fe.bindBuffer(Fe.ARRAY_BUFFER,ot.color),Fe.bufferData(Fe.ARRAY_BUFFER,Ee.colorArray,Fe.DYNAMIC_DRAW),sr.enableAttribute(bt.color),Fe.vertexAttribPointer(bt.color,3,Fe.FLOAT,!1,0,0)),sr.disableUnusedAttributes(),Fe.drawArrays(Fe.TRIANGLES,0,Ee.count),Ee.count=0},this.renderBufferDirect=function(Ee,vt,ot,bt,zt,Ir){vt===null&&(vt=Dr);var Br=zt.isMesh&&zt.matrixWorld.determinant()<0,yr=r2(Ee,vt,bt,zt);Mr.setMaterial(bt,Br);var Qr=ot.index,Sn=ot.attributes.position;if(Qr===null){if(Sn===void 0||Sn.count===0)return}else if(Qr.count===0)return;var nr=1;bt.wireframe===!0&&(Qr=Ja.getWireframeAttribute(ot),nr=2),(bt.morphTargets||bt.morphNormals)&&hn.update(zt,ot,bt,yr),sr.setup(zt,bt,yr,ot,Qr);var Or,fn=Jr;Qr!==null&&(Or=fa.get(Qr),fn=gn,fn.setIndex(Or));var Zr=Qr!==null?Qr.count:Sn.count,jn=ot.drawRange.start*nr,Cr=ot.drawRange.count*nr,Lr=Ir!==null?Ir.start*nr:0,yn=Ir!==null?Ir.count*nr:1/0,Nr=Math.max(jn,Lr),dn=Math.min(Zr,jn+Cr,Lr+yn)-1,Ln=Math.max(0,dn-Nr+1);if(Ln!==0){if(zt.isMesh)bt.wireframe===!0?(Mr.setLineWidth(bt.wireframeLinewidth*Ar()),fn.setMode(Fe.LINES)):fn.setMode(Fe.TRIANGLES);else if(zt.isLine){var Vn=bt.linewidth;Vn===void 0&&(Vn=1),Mr.setLineWidth(Vn*Ar()),zt.isLineSegments?fn.setMode(Fe.LINES):zt.isLineLoop?fn.setMode(Fe.LINE_LOOP):fn.setMode(Fe.LINE_STRIP)}else zt.isPoints?fn.setMode(Fe.POINTS):zt.isSprite&&fn.setMode(Fe.TRIANGLES);if(zt.isInstancedMesh)fn.renderInstances(Nr,Ln,zt.count);else if(ot.isInstancedBufferGeometry){var Qa=Math.min(ot.instanceCount,ot._maxInstanceCount);fn.renderInstances(Nr,Ln,Qa)}else fn.render(Nr,Ln)}},this.compile=function(Ee,vt){N=Tr.get(Ee),N.init(),Ee.traverseVisible(function(ot){ot.isLight&&ot.layers.test(vt.layers)&&(N.pushLight(ot),ot.castShadow&&N.pushShadow(ot))}),N.setupLights(),Ee.traverse(function(ot){var bt=ot.material;if(bt)if(Array.isArray(bt))for(var zt=0;zt<bt.length;zt++){var Ir=bt[zt];Nu(Ir,Ee,ot)}else Nu(bt,Ee,ot)})};var ea=null;function kn(Ee){ea&&ea(Ee)}var sa=new Fs;sa.setAnimationLoop(kn),typeof window<"u"&&sa.setContext(window),this.setAnimationLoop=function(Ee){ea=Ee,Ee===null?sa.stop():sa.start()},this.render=function(Ee,vt,ot){var bt=ot||{},zt=bt.needsClear,Ir=zt===void 0?!0:zt,Br=bt.needsUpdate,yr=Br===void 0?!0:Br,Qr=bt.sortObjects,Sn=Qr===void 0?!0:Qr;if(vt!==void 0&&vt.isCamera!==!0){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(oe!==!0){Ee.autoUpdate===!0&&yr&&Ee.updateMatrixWorld(),vt.parent===null&&yr&&vt.updateMatrixWorld(),Ee.isScene===!0&&yr&&(Ee.dispatchEvent({type:"beforeRender",renderer:Q,buffer:_e,camera:vt}),Ee.onBeforeRender(Q,Ee,vt,_e)),yr&&(N=Tr.get(Ee,Z.length),N.init(),Z.push(N),Gt.multiplyMatrices(vt.projectionMatrix,vt.matrixWorldInverse),Et.setFromProjectionMatrix(Gt),Bt=this.localClippingEnabled,Xt=hr.init(this.clippingPlanes,Bt,vt),I=Kt.get(Ee,W.length),I.init(),W.push(I),Za(Ee,vt,0,Sn),I.finish(),Sn===!0&&I.sort(dt,We)),Xt===!0&&hr.beginShadows();var nr=N.state.shadowsArray;gr.render(nr,Ee,vt),yr&&(N.setupLights(),N.setupLightsView(vt)),Xt===!0&&hr.endShadows(),this.info.autoReset===!0&&this.info.reset(),Er.render(I,Ee);var Or=I.opaque,fn=I.transmissive,Zr=I.transparent;Or.length>0&&_s(Or,Ee,vt,yr),fn.length>0&&qo(Or,fn,Ee,vt,yr),Zr.length>0&&_s(Zr,Ee,vt,yr),_e!==null&&(En.updateMultisampleRenderTarget(_e),En.updateRenderTargetMipmap(_e)),Ee.isScene===!0&&yr&&(Ee.dispatchEvent({type:"afterRender",renderer:Q,camera:vt}),Ee.onAfterRender(Q,Ee,vt)),Mr.buffers.depth.setTest(!0),Mr.buffers.depth.setMask(!0),Mr.buffers.color.setMask(!0),Mr.setPolygonOffset(!1),sr.resetDefaultState(),Me=-1,Ae=null,Ir&&(Z.pop(),Z.length>0?N=Z[Z.length-1]:N=null,W.pop(),W.length>0?I=W[W.length-1]:I=null)}};function Za(Ee,vt,ot,bt){if(Ee.visible!==!1){var zt=Ee.layers.test(vt.layers
5);if(zt){if(Ee.isGroup)ot=Ee.renderOrder;else if(Ee.isLOD)Ee.autoUpdate===!0&&Ee.update(vt);else if(Ee.isLight)N.pushLight(Ee),Ee.castShadow&&N.pushShadow(Ee);else if(Ee.isSprite){if(!Ee.frustumCulled||Et.intersectsSprite(Ee)){bt&&lr.setFromMatrixPosition(Ee.matrixWorld).applyMatrix4(Gt);var Ir=ze.update(Ee),Br=Ee.material;Br.visible&&I.push(Ee,Ir,Br,ot,lr.z,null)}}else if(Ee.isImmediateRenderObject)bt&&lr.setFromMatrixPosition(Ee.matrixWorld).applyMatrix4(Gt),I.push(Ee,null,Ee.material,ot,lr.z,null);else if((Ee.isMesh||Ee.isLine||Ee.isPoints)&&(Ee.isSkinnedMesh&&Ee.skeleton.frame!==cn.render.frame&&(Ee.skeleton.update(),Ee.skeleton.frame=cn.render.frame),!Ee.frustumCulled||Et.intersectsObject(Ee))){bt&&lr.setFromMatrixPosition(Ee.matrixWorld).applyMatrix4(Gt);var yr=ze.update(Ee),Qr=Ee.material;if(Array.isArray(Qr))for(var Sn=yr.groups,nr=0,Or=Sn.length;nr<Or;nr++){var fn=Sn[nr],Zr=Qr[fn.materialIndex];Zr&&Zr.visible&&I.push(Ee,yr,Zr,ot,lr.z,fn,nr)}else Qr.visible&&I.push(Ee,yr,Qr,ot,lr.z,null)}Ee.dispatchEvent({type:"tick",renderer:Q,camera:vt}),Ee.onTick&&Ee.onTick(this,vt)}for(var jn=Ee.children,Cr=0,Lr=jn.length;Cr<Lr;Cr++)Za(jn[Cr],vt,ot,bt)}}function qo(Ee,vt,ot,bt){var zt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(Ot===null){var Ir=l===!0&&Rr.isWebGL2===!0,Br=Ir?Yt:qt;Ot=new Br(1024,1024,{generateMipmaps:!0,type:$e.convert(Zn)!==null?Zn:Ni,minFilter:ro,magFilter:un,wrapS:dr,wrapT:dr})}var yr=Q.getRenderTarget();Q.setRenderTarget(Ot),Q.clear();var Qr=Q.toneMapping;Q.toneMapping=or,_s(Ee,ot,bt,zt),Q.toneMapping=Qr,En.updateMultisampleRenderTarget(Ot),En.updateRenderTargetMipmap(Ot),Q.setRenderTarget(yr),_s(vt,ot,bt,zt)}function _s(Ee,vt,ot,bt){for(var zt=vt.isScene===!0?vt.overrideMaterial:null,Ir=0,Br=Ee.length;Ir<Br;Ir++){var yr=Ee[Ir],Qr=yr.object,Sn=yr.geometry,nr=zt===null?yr.material:zt,Or=yr.group;if(ot.isArrayCamera)for(var fn=ot.cameras,Zr=0,jn=fn.length;Zr<jn;Zr++){var Cr=fn[Zr];Qr.layers.test(Cr.layers)&&(Mr.viewport(ie.copy(Cr.viewport)),N.setupLightsView(Cr),Bu(Qr,vt,Cr,Sn,nr,Or,bt))}else Bu(Qr,vt,ot,Sn,nr,Or,bt)}}function Bu(Ee,vt,ot,bt,zt,Ir){var Br=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!0;if(Br&&(Ee.onBeforeRender(Q,vt,ot,bt,zt,Ir),Ee.dispatchEvent({type:"beforeRender",renderer:Q,scene:vt,camera:ot,geometry:bt,material:zt,group:Ir})),(gr.enabled||Br)&&(Ee.modelViewMatrix.multiplyMatrices(ot.matrixWorldInverse,Ee.matrixWorld),Ee.normalMatrix.getNormalMatrix(Ee.modelViewMatrix)),Ee.isImmediateRenderObject){var yr=r2(ot,vt,zt,Ee);Mr.setMaterial(zt),sr.reset(),Ca(Ee,yr)}else zt.transparent===!0&&zt.side===F?Ee.isFlatRenderObject?Q.renderBufferDirect(ot,vt,bt,zt,Ee,Ir):(zt.side=L,zt.needsUpdate=!0,Q.renderBufferDirect(ot,vt,bt,zt,Ee,Ir),zt.side=V,zt.needsUpdate=!0,Q.renderBufferDirect(ot,vt,bt,zt,Ee,Ir),zt.side=F):Q.renderBufferDirect(ot,vt,bt,zt,Ee,Ir);Br&&(Ee.onAfterRender(Q,vt,ot,bt,zt,Ir),Ee.dispatchEvent({type:"afterRender",renderer:Q,scene:vt,camera:ot,geometry:bt,material:zt,group:Ir}))}function Nu(Ee,vt,ot){vt.isScene!==!0&&(vt=Dr);var bt=nn.get(Ee),zt=N.state.lights,Ir=N.state.shadowsArray,Br=zt.state.version,yr=Oe.getParameters(Ee,zt.state,Ir,vt,ot),Qr=Oe.getProgramCacheKey(yr),Sn=bt.programs;bt.environment=Ee.isMeshStandardMaterial?vt.environment:null,bt.fog=vt.fog,bt.envMap=Aa.get(Ee.envMap||bt.environment),Sn===void 0&&(Ee.addEventListener("dispose",cr),Sn=new Map,bt.programs=Sn);var nr=Sn.get(Qr);if(nr!==void 0){if(bt.currentProgram===nr&&bt.lightsStateVersion===Br)return Uu(Ee,yr),nr}else yr.uniforms=Oe.getUniforms(Ee),Ee.onBuild(yr,Q),Ee.onBeforeCompile(yr,Q),nr=Oe.acquireProgram(yr,Qr),Sn.set(Qr,nr),bt.uniforms=yr.uniforms;var Or=bt.uniforms;(!Ee.isShaderMaterial&&!Ee.isRawShaderMaterial||Ee.clipping===!0)&&(Or.clippingPlanes=hr.uniform),Uu(Ee,yr),bt.needsLights=Nh(Ee),bt.lightsStateVersion=Br,bt.needsLights&&(Or.ambientLightColor.value=zt.state.ambient,Or.lightProbe.value=zt.state.probe,Or.directionalLights.value=zt.state.directional,Or.directionalLightShadows.value=zt.state.directionalShadow,Or.spotLights.value=zt.state.spot,Or.spotLightShadows.value=zt.state.spotShadow,Or.rectAreaLights.value=zt.state.rectArea,Or.ltc_1.value=zt.state.rectAreaLTC1,Or.ltc_2.value=zt.state.rectAreaLTC2,Or.pointLights.value=zt.state.point,Or.pointLightShadows.value=zt.state.pointShadow,Or.hemisphereLights.value=zt.state.hemi,Or.directionalShadowMap.value=zt.state.directionalShadowMap,Or.directionalShadowMatrix.value=zt.state.directionalShadowMatrix,Or.spotShadowMap.value=zt.state.spotShadowMap,Or.spotShadowMatrix.value=zt.state.spotShadowMatrix,Or.pointShadowMap.value=zt.state.pointShadowMap,Or.pointShadowMatrix.value=zt.state.pointShadowMatrix);var fn=nr.getUniforms(),Zr=z0.seqWithValue(fn.seq,Or);return bt.currentProgram=nr,bt.uniformsList=Zr,nr}function Uu(Ee,vt){var ot=nn.get(Ee);ot.outputEncoding=vt.outputEncoding,ot.instancing=vt.instancing,ot.skinning=vt.skinning,ot.numClippingPlanes=vt.numClippingPlanes,ot.numIntersection=vt.numClipIntersection,ot.vertexAlphas=vt.vertexAlphas}
5function r2(Ee,vt,ot,bt){vt.isScene!==!0&&(vt=Dr),En.resetTextureUnits();var zt=vt,Ir=zt.fog,Br=ot.isMeshStandardMaterial?vt.environment:null,yr=_e===null?Q.outputEncoding:_e.texture.encoding,Qr=Aa.get(ot.envMap||Br),Sn=ot.vertexColors===!0&&bt.geometry&&bt.geometry.attributes.color&&bt.geometry.attributes.color.itemSize===4,nr=nn.get(ot),Or=N.state.lights;if(Xt===!0&&(Bt===!0||Ee!==Ae)){var fn=Ee===Ae&&ot.id===Me;hr.setState(ot,Ee,fn)}var Zr=!1;ot.version===nr.__version?(nr.needsLights&&nr.lightsStateVersion!==Or.state.version||nr.outputEncoding!==yr||bt.isInstancedMesh&&nr.instancing===!1||!bt.isInstancedMesh&&nr.instancing===!0||bt.isSkinnedMesh&&nr.skinning===!1||!bt.isSkinnedMesh&&nr.skinning===!0||nr.envMap!==Qr||ot.fog&&nr.fog!==Ir||nr.numClippingPlanes!==void 0&&(nr.numClippingPlanes!==hr.numPlanes||nr.numIntersection!==hr.numIntersection)||nr.vertexAlphas!==Sn)&&(Zr=!0):(Zr=!0,nr.__version=ot.version);var jn=nr.currentProgram;Zr===!0&&(jn=Nu(ot,vt,bt));var Cr=!1,Lr=!1,yn=!1,Nr=jn.getUniforms(),dn=nr.uniforms;if(Mr.useProgram(jn.program)&&(Cr=!0,Lr=!0,yn=!0),ot.id!==Me&&(Me=ot.id,Lr=!0),Cr||Ae!==Ee){if(Nr.setValue(Fe,"projectionMatrix",Ee.projectionMatrix),Rr.logarithmicDepthBuffer&&Nr.setValue(Fe,"logDepthBufFC",2/(Math.log(Ee.far+1)/Math.LN2)),Ae!==Ee&&(Ae=Ee,Lr=!0,yn=!0),ot.isShaderMaterial||ot.isMeshPhongMaterial||ot.isMeshToonMaterial||ot.isMeshStandardMaterial||ot.envMap){var Ln=Nr.map.cameraPosition;Ln!==void 0&&Ln.setValue(Fe,lr.setFromMatrixPosition(Ee.matrixWorld))}(ot.isMeshPhongMaterial||ot.isMeshToonMaterial||ot.isMeshLambertMaterial||ot.isMeshBasicMaterial||ot.isMeshStandardMaterial||ot.isShaderMaterial)&&Nr.setValue(Fe,"isOrthographic",Ee.isOrthographicCamera===!0),(ot.isMeshPhongMaterial||ot.isMeshToonMaterial||ot.isMeshLambertMaterial||ot.isMeshBasicMaterial||ot.isMeshStandardMaterial||ot.isShaderMaterial||ot.isShadowMaterial||bt.isSkinnedMesh)&&Nr.setValue(Fe,"viewMatrix",Ee.matrixWorldInverse)}if(bt.isSkinnedMesh){Nr.setOptional(Fe,bt,"bindMatrix"),Nr.setOptional(Fe,bt,"bindMatrixInverse");var Vn=bt.skeleton;Vn&&(Rr.floatVertexTextures?(Vn.boneTexture===null&&Vn.computeBoneTexture(),Nr.setValue(Fe,"boneTexture",Vn.boneTexture,En),Nr.setValue(Fe,"boneTextureSize",Vn.boneTextureSize)):Nr.setOptional(Fe,Vn,"boneMatrices"))}return(Lr||nr.receiveShadow!==bt.receiveShadow)&&(nr.receiveShadow=bt.receiveShadow,Nr.setValue(Fe,"receiveShadow",bt.receiveShadow)),Lr&&(Nr.setValue(Fe,"toneMappingExposure",Q.toneMappingExposure),nr.needsLights&&zu(dn,yn),Ir&&ot.fog&&Ut.refreshFogUniforms(dn,Ir),Ut.refreshMaterialUniforms(dn,ot,nt,Ie,Ot),z0.upload(Fe,nr.uniformsList,dn,En)),ot.isShaderMaterial&&ot.uniformsNeedUpdate===!0&&(z0.upload(Fe,nr.uniformsList,dn,En),ot.uniformsNeedUpdate=!1),ot.isSpriteMaterial&&Nr.setValue(Fe,"center",bt.center),Nr.setValue(Fe,"modelViewMatrix",bt.modelViewMatrix),Nr.setValue(Fe,"normalMatrix",bt.normalMatrix),Nr.setValue(Fe,"modelMatrix",bt.matrixWorld),jn}function zu(Ee,vt){Ee.ambientLightColor.needsUpdate=vt,Ee.lightProbe.needsUpdate=vt,Ee.directionalLights.needsUpdate=vt,Ee.directionalLightShadows.needsUpdate=vt,Ee.pointLights.needsUpdate=vt,Ee.pointLightShadows.needsUpdate=vt,Ee.spotLights.needsUpdate=vt,Ee.spotLightShadows.needsUpdate=vt,Ee.rectAreaLights.needsUpdate=vt,Ee.hemisphereLights.needsUpdate=vt}function Nh(Ee){return Ee.isMeshLambertMaterial||Ee.isMeshToonMaterial||Ee.isMeshPhongMaterial||Ee.isMeshStandardMaterial||Ee.isShadowMaterial||Ee.isShaderMaterial&&Ee.lights===!0}this.getActiveCubeFace=function(){return K},this.getActiveMipmapLevel=function(){return J},this.getRenderTarget=function(){return _e},this.setRenderTarget=function(Ee){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;_e=Ee,K=vt,J=ot,Ee&&nn.get(Ee).__webglFramebuffer===void 0&&En.setupRenderTarget(Ee);var bt=null,zt=!1,Ir=!1;if(Ee){var Br=Ee.texture;(Br.isDataTexture3D||Br.isDataTexture2DArray)&&(Ir=!0);var yr=nn.get(Ee),Qr=yr.__webglFramebuffer;Ee.isWebGLCubeRenderTarget?(bt=Qr[vt],zt=!0):Ee.isWebGLMultisampleRenderTarget?bt=nn.get(Ee).__webglMultisampledFramebuffer:bt=Qr,ie.copy(Ee.viewport),we.copy(Ee.scissor),Te=Ee.scissorTest}else ie.copy(it).multiplyScalar(nt).floor(),we.copy(ht).multiplyScalar(nt).floor(),Te=Ze;var Sn=Mr.bindFramebuffer(Fe.FRAMEBUFFER,bt);if(Sn&&Rr.drawBuffers){var nr=!1;if(Ee)if(Ee.isWebGLMultipleRenderTargets){var Or=Ee.texture;if(lt.length!==Or.length||lt[0]!==Fe.COLOR_ATTACHMENT0){for(var fn=0,Zr=Or.length;fn<Zr;fn++)lt[fn]=Fe.COLOR_ATTACHMENT0+fn;lt.length=Or.length,nr=!0}}else(lt.length!==1||lt[0]!==Fe.COLOR_ATTACHMENT0)&&(lt[0]=Fe.COLOR_ATTACHMENT0,lt.length=1,nr=!0);else(lt.length!==1||lt[0]!==Fe.BACK)&&(lt[0]=Fe.BACK,lt.length=1,nr=!0);nr&&(Rr.isWebGL2?Fe.drawBuffers(lt):Xr.get("WEBGL_draw_buffers").drawBuffersWEBGL(lt))}if(Mr.viewport(ie),Mr.scissor(we),Mr.setScissorTest(Te),zt){var jn=nn.get(Ee.texture);Fe.framebufferTexture2D(Fe.FRAMEBUFFER,Fe.COLOR_ATTACHMENT0,Fe.TEXTURE_CUBE_MAP_POSITIVE_X+vt,jn.__webglTexture,ot)}else if(Ir){var Cr=nn.get(Ee.texture),Lr=vt||0;Fe.framebufferTextureLayer(Fe.FRAMEBUFFER,Fe.COLOR_ATTACHMENT0,Cr.__webglTexture,ot||0,Lr)}},this.readRenderTargetPixels=function(Ee,vt,ot,bt,zt,Ir,Br){if(!(Ee&&Ee.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}var yr=nn.get(Ee).__webglFramebuffer;
5if(Ee.isWebGLCubeRenderTarget&&Br!==void 0&&(yr=yr[Br]),yr){Mr.bindFramebuffer(Fe.FRAMEBUFFER,yr);try{var Qr=Ee.texture,Sn=Qr.format,nr=Qr.type;if(Sn!==ai&&$e.convert(Sn)!==Fe.getParameter(Fe.IMPLEMENTATION_COLOR_READ_FORMAT)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}var Or=nr===Zn&&(Xr.has("EXT_color_buffer_half_float")||Rr.isWebGL2&&Xr.has("EXT_color_buffer_float"));if(nr!==Ni&&$e.convert(nr)!==Fe.getParameter(Fe.IMPLEMENTATION_COLOR_READ_TYPE)&&!(nr===ni&&(Rr.isWebGL2||Xr.has("OES_texture_float")||Xr.has("WEBGL_color_buffer_float")))&&!Or){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}Fe.checkFramebufferStatus(Fe.FRAMEBUFFER)===Fe.FRAMEBUFFER_COMPLETE?vt>=0&&vt<=Ee.width-bt&&ot>=0&&ot<=Ee.height-zt&&Fe.readPixels(vt,ot,bt,zt,$e.convert(Sn),$e.convert(nr),Ir):console.error("THREE.WebGLRenderer.readRenderTargetPixels: readPixels from renderTarget failed. Framebuffer not complete.")}finally{var fn=_e!==null?nn.get(_e).__webglFramebuffer:null;Mr.bindFramebuffer(Fe.FRAMEBUFFER,fn)}}},this.copyFramebufferToTexture=function(Ee,vt){var ot=arguments.length>
52&&arguments[2]!==void 0?arguments[2]:0,bt=Math.pow(2,-ot),zt=Math.floor(vt.image.width*bt),Ir=Math.floor(vt.image.height*bt),Br=$e.convert(vt.format);Rr.isWebGL2&&(Br===Fe.RGB&&(Br=Fe.RGB8),Br===Fe.RGBA&&(Br=Fe.RGBA8)),En.setTexture2D(vt,0),Fe.copyTexImage2D(Fe.TEXTURE_2D,ot,Br,Ee.x,Ee.y,zt,Ir,0),Mr.unbindTexture()},this.copyTextureToTexture=function(Ee,vt,ot){var bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,zt=vt.image.width,Ir=vt.image.height,Br=$e.convert(ot.format),yr=$e.convert(ot.type);En.setTexture2D(ot,0),Fe.pixelStorei(Fe.UNPACK_FLIP_Y_WEBGL,ot.flipY),Fe.pixelStorei(Fe.UNPACK_PREMULTIPLY_ALPHA_WEBGL,ot.premultiplyAlpha),Fe.pixelStorei(Fe.UNPACK_ALIGNMENT,ot.unpackAlignment),vt.isDataTexture?Fe.texSubImage2D(Fe.TEXTURE_2D,bt,Ee.x,Ee.y,zt,Ir,Br,yr,vt.image.data):vt.isCompressedTexture?Fe.compressedTexSubImage2D(Fe.TEXTURE_2D,bt,Ee.x,Ee.y,vt.mipmaps[0].width,vt.mipmaps[0].height,Br,vt.mipmaps[0].data):Fe.texSubImage2D(Fe.TEXTURE_2D,bt,Ee.x,Ee.y,Br,yr,vt.image),bt===0&&ot.generateMipmaps&&Fe.generateMipmap(Fe.TEXTURE_2D),Mr.unbindTexture()},this.copyTextureToTexture3D=function(Ee,vt,ot,bt){var zt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(Q.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}var Ir=Ee.max.x-Ee.min.x+1,Br=Ee.max.y-Ee.min.y+1,yr=Ee.max.z-Ee.min.z+1,Qr=$e.convert(bt.format),Sn=$e.convert(bt.type),nr;if(bt.isDataTexture3D)En.setTexture3D(bt,0),nr=Fe.TEXTURE_3D;else if(bt.isDataTexture2DArray)En.setTexture2DArray(bt,0),nr=Fe.TEXTURE_2D_ARRAY;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}Fe.pixelStorei(Fe.UNPACK_FLIP_Y_WEBGL,bt.flipY),Fe.pixelStorei(Fe.UNPACK_PREMULTIPLY_ALPHA_WEBGL,bt.premultiplyAlpha),Fe.pixelStorei(Fe.UNPACK_ALIGNMENT,bt.unpackAlignment);var Or=Fe.getParameter(Fe.UNPACK_ROW_LENGTH),fn=Fe.getParameter(Fe.UNPACK_IMAGE_HEIGHT),Zr=Fe.getParameter(Fe.UNPACK_SKIP_PIXELS),jn=Fe.getParameter(Fe.UNPACK_SKIP_ROWS),Cr=Fe.getParameter(Fe.UNPACK_SKIP_IMAGES),Lr=ot.isCompressedTexture?ot.mipmaps[0]:ot.image;Fe.pixelStorei(Fe.UNPACK_ROW_LENGTH,Lr.width),Fe.pixelStorei(Fe.UNPACK_IMAGE_HEIGHT,Lr.height),Fe.pixelStorei(Fe.UNPACK_SKIP_PIXELS,Ee.min.x),Fe.pixelStorei(Fe.UNPACK_SKIP_ROWS,Ee.min.y),Fe.pixelStorei(Fe.UNPACK_SKIP_IMAGES,Ee.min.z),ot.isDataTexture||ot.isDataTexture3D?Fe.texSubImage3D(nr,zt,vt.x,vt.y,vt.z,Ir,Br,yr,Qr,Sn,Lr.data):ot.isCompressedTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),Fe.compressedTexSubImage3D(nr,zt,vt.x,vt.y,vt.z,Ir,Br,yr,Qr,Lr.data)):Fe.texSubImage3D(nr,zt,vt.x,vt.y,vt.z,Ir,Br,yr,Qr,Sn,Lr),Fe.pixelStorei(Fe.UNPACK_ROW_LENGTH,Or),Fe.pixelStorei(Fe.UNPACK_IMAGE_HEIGHT,fn),Fe.pixelStorei(Fe.UNPACK_SKIP_PIXELS,Zr),Fe.pixelStorei(Fe.UNPACK_SKIP_ROWS,jn),Fe.pixelStorei(Fe.UNPACK_SKIP_IMAGES,Cr),zt===0&&bt.generateMipmaps&&Fe.generateMipmap(nr),Mr.unbindTexture()},this.initTexture=function(Ee){En.setTexture2D(Ee,0),Mr.unbindTexture()},this.resetState=function(){K=0,J=0,_e=null,Mr.reset(),sr.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}var y4=function(i){ut(e,i);var s=at(e);function e(){return Ge(this,e),s.apply(this,arguments)}return e}(In);y4.prototype.isWebGL1Renderer=!0;var b4=function(){function i(s){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:25e-5;Ge(this,i),this.name="",this.color=new Zt(s),this.density=e}return rt(i,[{key:"clone",value:function(){return new i(this.color,this.density)}},{key:"toJSON",value:function(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}}]),i}();b4.prototype.isFogExp2=!0;var _4=function(){function i(s){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1e3;Ge(this,i),this.name="",this.color=new Zt(s),this.near=e,this.far=r}return rt(i,[{key:"clone",value:function(){return new i(this.color,this.near,this.far)}},{key:"toJSON",value:function(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}}]),i}();_4.prototype.isFog=!0;var U3=function(i){ut(e,i);var s=at(e);function e(){var r;return Ge(this,e),r=s.call(this),r.type="Scene",r.background=null,r.environment=null,r.fog=null,r.overrideMaterial=null,r.autoUpdate=!0,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:fi(r)})),r}
5return rt(e,[{key:"copy",value:function(t,a){return n(Ct(e.prototype),"copy",this).call(this,t,a),t.background!==null&&(this.background=t.background.clone()),t.environment!==null&&(this.environment=t.environment.clone()),t.fog!==null&&(this.fog=t.fog.clone()),t.overrideMaterial!==null&&(this.overrideMaterial=t.overrideMaterial.clone()),this.autoUpdate=t.autoUpdate,this.matrixAutoUpdate=t.matrixAutoUpdate,this}},{key:"toJSON",value:function(t){var a=n(Ct(e.prototype),"toJSON",this).call(this,t);return this.fog!==null&&(a.object.fog=this.fog.toJSON()),a}}]),e}(Ur);U3.prototype.isScene=!0;var S1=function(){function i(s,e){Ge(this,i),this.array=s,this.stride=e,this.count=s!==void 0?s.length/e:0,this.usage=Gr,this.updateRange={offset:0,count:-1},this.version=0,this.uuid=le()}return rt(i,[{key:"onUploadCallback",value:function(){}},{key:"needsUpdate",set:function(e){e===!0&&this.version++}},{key:"setUsage",value:function(e){return this.usage=e,this}},{key:"copy",value:function(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}},{key:"copyAt",value:function(e,r,t){e*=this.stride,t*=r.stride;for(var a=0,l=this.stride;a<l;a++)this.array[e+a]=r.array[t+a];return this}},{key:"set",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this.array.set(e,r),this}},{key:"clone",value:function(e){e.arrayBuffers===void 0&&(e.arrayBuffers={}),this.array.buffer._uuid===void 0&&(this.array.buffer._uuid=le()),e.arrayBuffers[this.array.buffer._uuid]===void 0&&(e.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);var r=new this.array.constructor(e.arrayBuffers[this.array.buffer._uuid]),t=new this.constructor(r,this.stride);return t.setUsage(this.usage),t}},{key:"onUpload",value:function(e){return this.onUploadCallback=e,this}},{key:"toJSON",value:function(e){return e.arrayBuffers===void 0&&(e.arrayBuffers={}),this.array.buffer._uuid===void 0&&(this.array.buffer._uuid=le()),e.arrayBuffers[this.array.buffer._uuid]===void 0&&(e.arrayBuffers[this.array.buffer._uuid]=Array.prototype.slice.call(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}]),i}();S1.prototype.isInterleavedBuffer=!0;var Ea=new pe,wu=function(){function i(s,e,r){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Ge(this,i),this.name="",this.data=s,this.itemSize=e,this.offset=r,this.normalized=t===!0}return rt(i,[{key:"count",get:function(){return this.data.count}},{key:"array",get:function(){return this.data.array}},{key:"needsUpdate",set:function(e){this.data.needsUpdate=e}},{key:"applyMatrix4",value:function(e){for(var r=0,t=this.data.count;r<t;r++)Ea.x=this.getX(r),Ea.y=this.getY(r),Ea.z=this.getZ(r),Ea.applyMatrix4(e),this.setXYZ(r,Ea.x,Ea.y,Ea.z);return this}},{key:"applyNormalMatrix",value:function(e){for(var r=0,t=this.count;r<t;r++)Ea.x=this.getX(r),Ea.y=this.getY(r),Ea.z=this.getZ(r),Ea.applyNormalMatrix(e),this.setXYZ(r,Ea.x,Ea.y,Ea.z);return this}},{key:"transformDirection",value:function(e){for(var r=0,t=this.count;r<t;r++)Ea.x=this.getX(r),Ea.y=this.getY(r),Ea.z=this.getZ(r),Ea.transformDirection(e),this.setXYZ(r,Ea.x,Ea.y,Ea.z);return this}},{key:"setX",value:function(e,r){return this.data.array[e*this.data.stride+this.offset]=r,this}},{key:"setY",value:function(e,r){return this.data.array[e*this.data.stride+this.offset+1]=r,this}},{key:"setZ",value:function(e,r){return this.data.array[e*this.data.stride+this.offset+2]=r,this}},{key:"setW",value:function(e,r){return this.data.array[e*this.data.stride+this.offset+3]=r,this}},{key:"getX",value:function(e){return this.data.array[e*this.data.stride+this.offset]}},{key:"getY",value:function(e){return this.data.array[e*this.data.stride+this.offset+1]}},{key:"getZ",value:function(e){return this.data.array[e*this.data.stride+this.offset+2]}},{key:"getW",value:function(e){return this.data.array[e*this.data.stride+this.offset+3]}},{key:"setXY",value:function(e,r,t){return e=e*this.data.stride+this.offset,this.data.array[e+0]=r,this.data.array[e+1]=t,this}},{key:"setXYZ",value:function(e,r,t,a){return e=e*this.data.stride+this.offset,this.data.array[e+0]=r,this.data.array[e+1]=t,this.data.array[e+2]=a,this}},{key:"setXYZW",value:function(e,r,t,a,l){return e=e*this.data.stride+this.offset,this.data.array[e+0]=r,this.data.array[e+1]=t,this.data.array[e+2]=a,this.data.array[e+3]=l,this}},{key:"clone",value:function(e){if(e===void 0){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interlaved buffer attribute will deinterleave buffer data.");for(var r=[],t=0;t<this.count;t++)for(var a=t*this.data.stride+this.offset,l=0;l<this.itemSize;l++)r.push(this.data.array[a+l]);return new Hr(new this.array.constructor(r),this.itemSize,this.normalized)}return e.interleavedBuffers===void 0&&(e.interleavedBuffers={}),e.interleavedBuffers[this.data.uuid]===void 0&&(e.interleavedBuffers[this.data.uuid]=this.data.clone(e)),new i(e.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}},{key:"toJSON",value:function(e){if(e===void 0){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interlaved buffer attribute will deinterleave buffer data.");for(var r=[],t=0;t<this.count;t++)for(var a=t*this.data.stride+this.offset,l=0;l<this.itemSize;l++)r.push(this.data.array[a+l]);return{itemSize:this.itemSize,type:this.array.constructor.name,array:r,normalized:this.normalized}}return e.interleavedBuffers===void 0&&(e.interleavedBuffers={}),e.interleavedBuffers[this.data.uuid]===void 0&&(e.interleavedBuffers[this.data.uuid]=this.data.toJSON(e)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}]),i}();wu.prototype.isInterleavedBufferAttribute=!0;var $2=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="SpriteMaterial",t.color=new Zt(16777215),t.map=null,t.alphaMap=null,t.rotation=0,t.sizeAttenuation=!0,t.transparent=!0,t.setValues(r),t}
5return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.rotation=t.rotation,this.sizeAttenuation=t.sizeAttenuation,this}}]),e}($n);$2.prototype.isSpriteMaterial=!0;var Su,Gl=new pe,Mu=new pe,Tu=new pe,Eu=new Je,Vl=new Je,x4=new tr,Q2=new pe,Hl=new pe,ec=new pe,w4=new Je,z3=new Je,S4=new Je,G3=function(i){ut(e,i);var s=at(e);function e(r){var t;if(Ge(this,e),t=s.call(this),t.type="Sprite",Su===void 0){Su=new mr;var a=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]),l=new S1(a,5);Su.setIndex([0,1,2,0,2,3]),Su.setAttribute("position",new wu(l,3,0,!1)),Su.setAttribute("uv",new wu(l,2,3,!1))}return t.geometry=Su,t.material=r!==void 0?r:new $2,t.center=new Je(.5,.5),t}return rt(e,[{key:"raycast",value:function(t,a){t.camera===null&&console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.'),Mu.setFromMatrixScale(this.matrixWorld),x4.copy(t.camera.matrixWorld),this.modelViewMatrix.multiplyMatrices(t.camera.matrixWorldInverse,this.matrixWorld),Tu.setFromMatrixPosition(this.modelViewMatrix),t.camera.isPerspectiveCamera&&this.material.sizeAttenuation===!1&&Mu.multiplyScalar(-Tu.z);var l=this.material.rotation,f,m;l!==0&&(m=Math.cos(l),f=Math.sin(l));var x=this.center;tc(Q2.set(-.5,-.5,0),Tu,x,Mu,f,m),tc(Hl.set(.5,-.5,0),Tu,x,Mu,f,m),tc(ec.set(.5,.5,0),Tu,x,Mu,f,m),w4.set(0,0),z3.set(1,0),S4.set(1,1);var D=t.ray.intersectTriangle(Q2,Hl,ec,!1,Gl);if(!(D===null&&(tc(Hl.set(-.5,.5,0),Tu,x,Mu,f,m),z3.set(0,1),D=t.ray.intersectTriangle(Q2,ec,Hl,!1,Gl),D===null))){var I=t.ray.origin.distanceTo(Gl);I<t.near||I>t.far||a.push({distance:I,point:Gl.clone(),uv:xn.getUV(Gl,Q2,Hl,ec,w4,z3,S4,new Je),face:null,object:this})}}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),t.center!==void 0&&this.center.copy(t.center),this.material=t.material,this}}]),e}(Ur);G3.prototype.isSprite=!0;function tc(i,s,e,r,t,a){Eu.subVectors(i,e).addScalar(.5).multiply(r),t!==void 0?(Vl.x=a*Eu.x-t*Eu.y,Vl.y=t*Eu.x+a*Eu.y):Vl.copy(Eu),i.copy(s),i.x+=Vl.x,i.y+=Vl.y,i.applyMatrix4(x4)}var rc=new pe,M4=new pe,u7=function(i){ut(e,i);var s=at(e);function e(){var r;return Ge(this,e),r=s.call(this),r._currentLevel=0,r.type="LOD",Object.defineProperties(fi(r),{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),r.autoUpdate=!0,r}return rt(e,[{key:"copy",value:function(t){n(Ct(e.prototype),"copy",this).call(this,t,!1);for(var a=t.levels,l=0,f=a.length;l<f;l++){var m=a[l];this.addLevel(m.object.clone(),m.distance)}return this.autoUpdate=t.autoUpdate,this}},{key:"addLevel",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;a=Math.abs(a);var l=this.levels,f;for(f=0;f<l.length&&!(a<l[f].distance);f++);return l.splice(f,0,{distance:a,object:t}),this.add(t),this}},{key:"getCurrentLevel",value:function(){return this._currentLevel}},{key:"getObjectForDistance",value:function(t){var a=this.levels;if(a.length>0){var l,f;for(l=1,f=a.length;l<f&&!(t<a[l].distance);l++);return a[l-1].object}return null}},{key:"raycast",value:function(t,a){var l=this.levels;if(l.length>0){rc.setFromMatrixPosition(this.matrixWorld);var f=t.ray.origin.distanceTo(rc);this.getObjectForDistance(f).raycast(t,a)}}},{key:"update",value:function(t){var a=this.levels;if(a.length>1){rc.setFromMatrixPosition(t.matrixWorld),M4.setFromMatrixPosition(this.matrixWorld);var l=rc.distanceTo(M4)/t.zoom;a[0].object.visible=!0;var f,m;for(f=1,m=a.length;f<m&&l>=a[f].distance;f++)a[f-1].object.visible=!1,a[f].object.visible=!0;for(this._currentLevel=f-1;f<m;f++)a[f].object.visible=!1}}},{key:"toJSON",value:function(t){var a=n(Ct(e.prototype),"toJSON",this).call(this,t);this.autoUpdate===!1&&(a.object.autoUpdate=!1),a.object.levels=[];for(var l=this.levels,f=0,m=l.length;f<m;f++){var x=l[f];a.object.levels.push({object:x.object.uuid,distance:x.distance})}return a}}]),e}(Ur),T4=new pe,E4=new kt,k4=new kt,l7=new pe,A4=new tr,V3=function(i){ut(e,i);var s=at(e);function e(r,t){var a;return Ge(this,e),a=s.call(this,r,t),a.type="SkinnedMesh",a.bindMode="attached",a.bindMatrix=new tr,a.bindMatrixInverse=new tr,a}
5return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.bindMode=t.bindMode,this.bindMatrix.copy(t.bindMatrix),this.bindMatrixInverse.copy(t.bindMatrixInverse),this.skeleton=t.skeleton,this}},{key:"bind",value:function(t,a){this.skeleton=t,a===void 0&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),a=this.matrixWorld),this.bindMatrix.copy(a),this.bindMatrixInverse.copy(a).invert()}},{key:"pose",value:function(){this.skeleton.pose()}},{key:"normalizeSkinWeights",value:function(){for(var t=new kt,a=this.geometry.attributes.skinWeight,l=0,f=a.count;l<f;l++){t.x=a.getX(l),t.y=a.getY(l),t.z=a.getZ(l),t.w=a.getW(l);var m=1/t.manhattanLength();m!==1/0?t.multiplyScalar(m):t.set(1,0,0,0),a.setXYZW(l,t.x,t.y,t.z,t.w)}}},{key:"updateMatrixWorld",value:function(t){n(Ct(e.prototype),"updateMatrixWorld",this).call(this,t),this.bindMode==="attached"?this.bindMatrixInverse.copy(this.matrixWorld).invert():this.bindMode==="detached"?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: ".concat(this.bindMode))}},{key:"boneTransform",value:function(t,a){var l=this.skeleton,f=this.geometry;E4.fromBufferAttribute(f.attributes.skinIndex,t),k4.fromBufferAttribute(f.attributes.skinWeight,t),T4.fromBufferAttribute(f.attributes.position,t).applyMatrix4(this.bindMatrix),a.set(0,0,0);for(var m=0;m<4;m++){var x=k4.getComponent(m);if(x!==0){var D=E4.getComponent(m);A4.multiplyMatrices(l.bones[D].matrixWorld,l.boneInverses[D]),a.addScaledVector(l7.copy(T4).applyMatrix4(A4),x)}}return a.applyMatrix4(this.bindMatrixInverse)}}]),e}(zn);V3.prototype.isSkinnedMesh=!0;var H3=function(i){ut(e,i);var s=at(e);function e(){var r;return Ge(this,e),r=s.call(this),r.type="Bone",r}return e}(Ur);H3.prototype.isBone=!0;var nc=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3?arguments[3]:void 0,m=arguments.length>4?arguments[4]:void 0,x=arguments.length>5?arguments[5]:void 0,D=arguments.length>6?arguments[6]:void 0,I=arguments.length>7?arguments[7]:void 0,N=arguments.length>8&&arguments[8]!==void 0?arguments[8]:un,W=arguments.length>9&&arguments[9]!==void 0?arguments[9]:un,Z=arguments.length>10?arguments[10]:void 0,Q=arguments.length>11?arguments[11]:void 0;return Ge(this,e),r=s.call(this,null,x,D,I,N,W,f,m,Z,Q),r.image={data:t,width:a,height:l},r.magFilter=N,r.minFilter=W,r.generateMipmaps=!1,r.flipY=!1,r.unpackAlignment=1,r.needsUpdate=!0,r}return e}(Nt);nc.prototype.isDataTexture=!0;var C4=new tr,c7=new tr,h7=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];Ge(this,i),this.uuid=le(),this.bones=s.slice(0),this.boneInverses=e,this.boneMatrices=null,this.boneTexture=null,this.boneTextureSize=0,this.frame=-1,this.init()}return rt(i,[{key:"init",value:function(){var e=this.bones,r=this.boneInverses;if(this.boneMatrices=new Float32Array(e.length*16),r.length===0)this.calculateInverses();else if(e.length!==r.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(var t=0,a=this.bones.length;t<a;t++)this.boneInverses.push(new tr)}}},{key:"calculateInverses",value:function(){this.boneInverses.length=0;for(var e=0,r=this.bones.length;e<r;e++){var t=new tr;this.bones[e]&&t.copy(this.bones[e].matrixWorld).invert(),this.boneInverses.push(t)}}},{key:"pose",value:function(){for(var e=0,r=this.bones.length;e<r;e++){var t=this.bones[e];t&&t.matrixWorld.copy(this.boneInverses[e]).invert()}for(var a=0,l=this.bones.length;a<l;a++){var f=this.bones[a];f&&(f.parent&&f.parent.isBone?(f.matrix.copy(f.parent.matrixWorld).invert(),f.matrix.multiply(f.matrixWorld)):f.matrix.copy(f.matrixWorld),f.matrix.decompose(f.position,f.quaternion,f.scale))}}},{key:"update",value:function(){for(var e=this.bones,r=this.boneInverses,t=this.boneMatrices,a=this.boneTexture,l=0,f=e.length;l<f;l++){var m=e[l]?e[l].matrixWorld:c7;C4.multiplyMatrices(m,r[l]),C4.toArray(t,l*16)}a!==null&&(a.needsUpdate=!0)}},{key:"clone",value:function(){return new i(this.bones,this.boneInverses)}},{key:"computeBoneTexture",value:function(){var e=Math.sqrt(this.bones.length*4);e=Lt(e),e=Math.max(e,4);var r=new Float32Array(e*e*4);r.set(this.boneMatrices);var t=new nc(r,e,e,ai,ni);return this.boneMatrices=r,this.boneTexture=t,this.boneTextureSize=e,this}},{key:"getBoneByName",value:function(e){for(var r=0,t=this.bones.length;r<t;r++){var a=this.bones[r];if(a.name===e)return a}}},{key:"dispose",value:function(){this.boneTexture!==null&&(this.boneTexture.dispose(),this.boneTexture=null)}},{key:"fromJSON",value:function(e,r){this.uuid=e.uuid;for(var t=0,a=e.bones.length;t<a;t++){var l=e.bones[t],f=r[l];f===void 0&&(console.warn("THREE.Skeleton: No bone found with UUID:",l),f=new H3),this.bones.push(f),this.boneInverses.push(new tr().fromArray(e.boneInverses[t]))}return this.init(),this}},{key:"toJSON",value:function(){var e={metadata:{version:4.5,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};e.uuid=this.uuid;for(var r=this.bones,t=this.boneInverses,a=0,l=r.length;a<l;a++){var f=r[a];e.bones.push(f.uuid);var m=t[a];e.boneInverses.push(m.toArray())}return e}}]),i}(),R4=new tr,O4=new tr,ac=[],Xl=new zn,L4=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l;return Ge(this,e),l=s.call(this,r,t),l.instanceMatrix=new Hr(new Float32Array(a*16),16),l.instanceColor=null,l.count=a,l.frustumCulled=!1,l}
5return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.instanceMatrix.copy(t.instanceMatrix),t.instanceColor!==null&&(this.instanceColor=t.instanceColor.clone()),this.count=t.count,this}},{key:"getColorAt",value:function(t,a){a.fromArray(this.instanceColor.array,t*3)}},{key:"getMatrixAt",value:function(t,a){a.fromArray(this.instanceMatrix.array,t*16)}},{key:"raycast",value:function(t,a){var l=this.matrixWorld,f=this.count;if(Xl.geometry=this.geometry,Xl.material=this.material,Xl.material!==void 0)for(var m=0;m<f;m++){this.getMatrixAt(m,R4),O4.multiplyMatrices(l,R4),Xl.matrixWorld=O4,Xl.raycast(t,ac);for(var x=0,D=ac.length;x<D;x++){var I=ac[x];I.instanceId=m,I.object=this,a.push(I)}ac.length=0}}},{key:"setColorAt",value:function(t,a){this.instanceColor===null&&(this.instanceColor=new Hr(new Float32Array(this.count*3),3)),a.toArray(this.instanceColor.array,t*3)}},{key:"setMatrixAt",value:function(t,a){a.toArray(this.instanceMatrix.array,t*16)}},{key:"updateMorphTargets",value:function(){}},{key:"dispose",value:function(){this.dispatchEvent({type:"dispose"})}}]),e}(zn);L4.prototype.isInstancedMesh=!0;var $a=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="LineBasicMaterial",t.color=new Zt(16777215),t.linewidth=1,t.linecap="round",t.linejoin="round",t.morphTargets=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.color.copy(t.color),this.linewidth=t.linewidth,this.linecap=t.linecap,this.linejoin=t.linejoin,this.morphTargets=t.morphTargets,this}}]),e}($n);$a.prototype.isLineBasicMaterial=!0;var P4=new pe,D4=new pe,I4=new tr,X3=new ga,ic=new Nn,G0=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new mr,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new $a;return Ge(this,e),r=s.call(this),r.type="Line",r.geometry=t,r.material=a,r.updateMorphTargets(),r}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.material=t.material,this.geometry=t.geometry,this}},{key:"computeLineDistances",value:function(){var t=this.geometry;if(t.isBufferGeometry)if(t.index===null){for(var a=t.attributes.position,l=[0],f=1,m=a.count;f<m;f++)P4.fromBufferAttribute(a,f-1),D4.fromBufferAttribute(a,f),l[f]=l[f-1],l[f]+=P4.distanceTo(D4);t.setAttribute("lineDistance",new ur(l,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else t.isGeometry&&console.error("THREE.Line.computeLineDistances() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.");return this}},{key:"raycast",value:function(t,a){var l=this.geometry,f=this.matrixWorld,m=t.params.Line.threshold,x=l.drawRange;if(l.boundingSphere===null&&l.computeBoundingSphere(),ic.copy(l.boundingSphere),ic.applyMatrix4(f),ic.radius+=m,t.ray.intersectsSphere(ic)!==!1){I4.copy(f).invert(),X3.copy(t.ray).applyMatrix4(I4);var D=m/((this.scale.x+this.scale.y+this.scale.z)/3),I=D*D,N=new pe,W=new pe,Z=new pe,Q=new pe,oe=this.isLineSegments?2:1;if(l.isBufferGeometry){var K=l.index,J=l.attributes,_e=J.position;if(K!==null)for(var Me=Math.max(0,x.start),Ae=Math.min(K.count,x.start+x.count),ie=Me,we=Ae-1;ie<we;ie+=oe){var Te=K.getX(ie),Ye=K.getX(ie+1);N.fromBufferAttribute(_e,Te),W.fromBufferAttribute(_e,Ye);var Ie=X3.distanceSqToSegment(N,W,Q,Z);if(!(Ie>I)){Q.applyMatrix4(this.matrixWorld);var nt=t.ray.origin.distanceTo(Q);nt<t.near||nt>t.far||a.push({distance:nt,point:Z.clone().applyMatrix4(this.matrixWorld),index:ie,face:null,faceIndex:null,object:this})}}else for(var dt=Math.max(0,x.start),We=Math.min(_e.count,x.start+x.count),it=dt,ht=We-1;it<ht;it+=oe){N.fromBufferAttribute(_e,it),W.fromBufferAttribute(_e,it+1);var Ze=X3.distanceSqToSegment(N,W,Q,Z);if(!(Ze>I)){Q.applyMatrix4(this.matrixWorld);var lt=t.ray.origin.distanceTo(Q);lt<t.near||lt>t.far||a.push({distance:lt,point:Z.clone().applyMatrix4(this.matrixWorld),index:it,face:null,faceIndex:null,object:this})}}}else l.isGeometry&&console.error("THREE.Line.raycast() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}}},{key:"updateMorphTargets",value:function(){var t=this.geometry;if(t.isBufferGeometry){var a=t.morphAttributes,l=Object.keys(a);if(l.length>0){var f=a[l[0]];if(f!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(var m=0,x=f.length;m<x;m++){var D=f[m].name||String(m);this.morphTargetInfluences.push(0),this.morphTargetDictionary[D]=m}}}}else{var I=t.morphTargets;I!==void 0&&I.length>0&&console.error("THREE.Line.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}}}]),e}(Ur);G0.prototype.isLine=!0;var F4=new pe,B4=new pe,_o=function(i){ut(e,i);var s=at(e);function e(r,t){var a;return Ge(this,e),a=s.call(this,r,t),a.type="LineSegments",a}
5return rt(e,[{key:"computeLineDistances",value:function(){var t=this.geometry;if(t.isBufferGeometry)if(t.index===null){for(var a=t.attributes.position,l=[],f=0,m=a.count;f<m;f+=2)F4.fromBufferAttribute(a,f),B4.fromBufferAttribute(a,f+1),l[f]=f===0?0:l[f-1],l[f+1]=l[f]+F4.distanceTo(B4);t.setAttribute("lineDistance",new ur(l,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else t.isGeometry&&console.error("THREE.LineSegments.computeLineDistances() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.");return this}}]),e}(G0);_o.prototype.isLineSegments=!0;var N4=function(i){ut(e,i);var s=at(e);function e(r,t){var a;return Ge(this,e),a=s.call(this,r,t),a.type="LineLoop",a}return e}(G0);N4.prototype.isLineLoop=!0;var M1=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="PointsMaterial",t.color=new Zt(16777215),t.map=null,t.alphaMap=null,t.size=1,t.sizeAttenuation=!0,t.morphTargets=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.size=t.size,this.sizeAttenuation=t.sizeAttenuation,this.morphTargets=t.morphTargets,this}}]),e}($n);M1.prototype.isPointsMaterial=!0;var U4=new tr,W3=new ga,oc=new Nn,sc=new pe,uc=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new mr,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new M1;return Ge(this,e),r=s.call(this),r.type="Points",r.geometry=t,r.material=a,r.updateMorphTargets(),r}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.material=t.material,this.geometry=t.geometry,this}},{key:"raycast",value:function(t,a){var l=this.geometry,f=this.matrixWorld,m=t.params.Points.threshold,x=l.drawRange;if(l.boundingSphere===null&&l.computeBoundingSphere(),oc.copy(l.boundingSphere),oc.applyMatrix4(f),oc.radius+=m,t.ray.intersectsSphere(oc)!==!1){U4.copy(f).invert(),W3.copy(t.ray).applyMatrix4(U4);var D=m/((this.scale.x+this.scale.y+this.scale.z)/3),I=D*D;if(l.isBufferGeometry){var N=l.index,W=l.attributes,Z=W.position;if(N!==null)for(var Q=Math.max(0,x.start),oe=Math.min(N.count,x.start+x.count),K=Q,J=oe;K<J;K++){var _e=N.getX(K);sc.fromBufferAttribute(Z,_e),z4(sc,_e,I,f,t,a,this)}else for(var Me=Math.max(0,x.start),Ae=Math.min(Z.count,x.start+x.count),ie=Me,we=Ae;ie<we;ie++)sc.fromBufferAttribute(Z,ie),z4(sc,ie,I,f,t,a,this)}else console.error("THREE.Points.raycast() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}}},{key:"updateMorphTargets",value:function(){var t=this.geometry;if(t.isBufferGeometry){var a=t.morphAttributes,l=Object.keys(a);if(l.length>0){var f=a[l[0]];if(f!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(var m=0,x=f.length;m<x;m++){var D=f[m].name||String(m);this.morphTargetInfluences.push(0),this.morphTargetDictionary[D]=m}}}}else{var I=t.morphTargets;I!==void 0&&I.length>0&&console.error("THREE.Points.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}}}]),e}(Ur);uc.prototype.isPoints=!0;function z4(i,s,e,r,t,a,l){var f=W3.distanceSqToPoint(i);if(f<e){var m=new pe;W3.closestPointToPoint(i,m),m.applyMatrix4(r);var x=t.ray.origin.distanceTo(m);if(x<t.near||x>t.far)return;a.push({distance:x,distanceToRay:Math.sqrt(f),point:m,index:s,face:null,object:l})}}var G4=function(i){ut(e,i);var s=at(e);function e(){var r;return Ge(this,e),r=s.call(this),r.type="Group",r}return e}(Ur);G4.prototype.isGroup=!0;var V4=function(i){ut(e,i);var s=at(e);function e(r,t,a,l,f,m,x,D,I){var N;Ge(this,e),N=s.call(this,r,t,a,l,f,m,x,D,I),N.format=x!==void 0?x:ts,N.minFilter=m!==void 0?m:Wn,N.magFilter=f!==void 0?f:Wn,N.generateMipmaps=!1;var W=fi(N);function Z(){W.needsUpdate=!0,r.requestVideoFrameCallback(Z)}return"requestVideoFrameCallback"in r&&r.requestVideoFrameCallback(Z),N}return rt(e,[{key:"clone",value:function(){return new this.constructor(this.image).copy(this)}},{key:"update",value:function(){var t=this.image,a="requestVideoFrameCallback"in t;a===!1&&t.readyState>=t.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}}]),e}(Nt);V4.prototype.isVideoTexture=!0;var Y3=function(i){ut(e,i);var s=at(e);function e(r,t,a,l,f,m,x,D,I,N,W,Z){var Q;return Ge(this,e),Q=s.call(this,null,m,x,D,I,N,l,f,W,Z),Q.image={width:t,height:a},Q.mipmaps=r,Q.flipY=!1,Q.generateMipmaps=!1,Q}return e}(Nt);Y3.prototype.isCompressedTexture=!0;var H4=function(i){ut(e,i);var s=at(e);function e(r,t,a,l,f,m,x,D,I){var N;return Ge(this,e),N=s.call(this,r,t,a,l,f,m,x,D,I),N.needsUpdate=!0,N}return e}(Nt);H4.prototype.isCanvasTexture=!0;var X4=function(i){ut(e,i);var s=at(e);function e(r,t,a,l,f,m,x,D,I,N){var W;if(Ge(this,e),N=N!==void 0?N:Co,N!==Co&&N!==ks)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");return a===void 0&&N===Co&&(a=Ui),a===void 0&&N===ks&&(a=Es),W=s.call(this,null,l,f,m,x,D,N,a,I),W.image={width:r,height:t},W.magFilter=x!==void 0?x:un,W.minFilter=D!==void 0?D:un,W.flipY=!1,W.generateMipmaps=!1,W}return e}(Nt);X4.prototype.isDepthTexture=!0;var W4=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:8,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Math.PI*2;Ge(this,e),r=s.call(this),r.type="CircleGeometry",r.parameters={radiu
5s:t,segments:a,thetaStart:l,thetaLength:f},a=Math.max(3,a);var m=[],x=[],D=[],I=[],N=new pe,W=new Je;x.push(0,0,0),D.push(0,0,1),I.push(.5,.5);for(var Z=0,Q=3;Z<=a;Z++,Q+=3){var oe=l+Z/a*f;N.x=t*Math.cos(oe),N.y=t*Math.sin(oe),x.push(N.x,N.y,N.z),D.push(0,0,1),W.x=(x[Q]/t+1)/2,W.y=(x[Q+1]/t+1)/2,I.push(W.x,W.y)}for(var K=1;K<=a;K++)m.push(K,K+1,0);return r.setIndex(m),r.setAttribute("position",new ur(x,3)),r.setAttribute("normal",new ur(D,3)),r.setAttribute("uv",new ur(I,2)),r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radius,t.segments,t.thetaStart,t.thetaLength)}}]),e}(mr),xo=function(){function i(){Ge(this,i),this.type="Curve",this.arcLengthDivisions=200}return rt(i,[{key:"getPoint",value:function(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}},{key:"getPointAt",value:function(e,r){var t=this.getUtoTmapping(e);return this.getPoint(t,r)}},{key:"getPoints",value:function(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5,r=[],t=0;t<=e;t++)r.push(this.getPoint(t/e));return r}},{key:"getSpacedPoints",value:function(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5,r=[],t=0;t<=e;t++)r.push(this.getPointAt(t/e));return r}},{key:"getLength",value:function(){var e=this.getLengths();return e[e.length-1]}},{key:"getLengths",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.arcLengthDivisions;if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;var r=[],t,a=this.getPoint(0),l=0;r.push(0);for(var f=1;f<=e;f++)t=this.getPoint(f/e),l+=t.distanceTo(a),r.push(l),a=t;return this.cacheArcLengths=r,r}},{key:"updateArcLengths",value:function(){this.needsUpdate=!0,this.getLengths()}},{key:"getUtoTmapping",value:function(e,r){var t=this.getLengths(),a=0,l=t.length,f;r?f=r:f=e*t[l-1];for(var m=0,x=l-1,D;m<=x;)if(a=Math.floor(m+(x-m)/2),D=t[a]-f,D<0)m=a+1;else if(D>0)x=a-1;else{x=a;break}if(a=x,t[a]===f)return a/(l-1);var I=t[a],N=t[a+1],W=N-I,Z=(f-I)/W,Q=(a+Z)/(l-1);return Q}},{key:"getTangent",value:function(e,r){var t=1e-4,a=e-t,l=e+t;a<0&&(a=0),l>1&&(l=1);var f=this.getPoint(a),m=this.getPoint(l),x=r||(f.isVector2?new Je:new pe);return x.copy(m).sub(f).normalize(),x}},{key:"getTangentAt",value:function(e,r){var t=this.getUtoTmapping(e);return this.getTangent(t,r)}},{key:"computeFrenetFrames",value:function(e,r){for(var t=new pe,a=[],l=[],f=[],m=new pe,x=new tr,D=0;D<=e;D++){var I=D/e;a[D]=this.getTangentAt(I,new pe),a[D].normalize()}l[0]=new pe,f[0]=new pe;var N=Number.MAX_VALUE,W=Math.abs(a[0].x),Z=Math.abs(a[0].y),Q=Math.abs(a[0].z);W<=N&&(N=W,t.set(1,0,0)),Z<=N&&(N=Z,t.set(0,1,0)),Q<=N&&t.set(0,0,1),m.crossVectors(a[0],t).normalize(),l[0].crossVectors(a[0],m),f[0].crossVectors(a[0],l[0]);for(var oe=1;oe<=e;oe++){if(l[oe]=l[oe-1].clone(),f[oe]=f[oe-1].clone(),m.crossVectors(a[oe-1],a[oe]),m.length()>Number.EPSILON){m.normalize();var K=Math.acos(ve(a[oe-1].dot(a[oe]),-1,1));l[oe].applyMatrix4(x.makeRotationAxis(m,K))}f[oe].crossVectors(a[oe],l[oe])}if(r===!0){var J=Math.acos(ve(l[0].dot(l[e]),-1,1));J/=e,a[0].dot(m.crossVectors(l[0],l[e]))>0&&(J=-J);for(var _e=1;_e<=e;_e++)l[_e].applyMatrix4(x.makeRotationAxis(a[_e],J*_e)),f[_e].crossVectors(a[_e],l[_e])}return{tangents:a,normals:l,binormals:f}}},{key:"clone",value:function(){return new this.constructor().copy(this)}},{key:"copy",value:function(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}},{key:"toJSON",value:function(){var e={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}},{key:"fromJSON",value:function(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}}]),i}(),Wl=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:Math.PI*2,D=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,I=arguments.length>7&&arguments[7]!==void 0?arguments[7]:0;return Ge(this,e),r=s.call(this),r.type="EllipseCurve",r.aX=t,r.aY=a,r.xRadius=l,r.yRadius=f,r.aStartAngle=m,r.aEndAngle=x,r.aClockwise=D,r.aRotation=I,r}return rt(e,[{key:"getPoint",value:function(t,a){for(var l=a||new Je,f=Math.PI*2,m=this.aEndAngle-this.aStartAngle,x=Math.abs(m)<Number.EPSILON;m<0;)m+=f;for(;m>f;)m-=f;m<Number.EPSILON&&(x?m=0:m=f),this.aClockwise===!0&&!x&&(m===f?m=-f:m-=f);var D=this.aStartAngle+t*m,I=this.aX+this.xRadius*Math.cos(D),N=this.aY+this.yRadius*Math.sin(D);if(this.aRotation!==0){var W=Math.cos(this.aRotation),Z=Math.sin(this.aRotation),Q=I-this.aX,oe=N-this.aY;I=Q*W-oe*Z+this.aX,N=Q*Z+oe*W+this.aY}return l.set(I,N)}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);return t.aX=this.aX,t.aY=this.aY,t.xRadius=this.xRadius,t.yRadius=this.yRadius,t.aStartAngle=this.aStartAngle,t.aEndAngle=this.aEndAngle,t.aClockwise=this.aClockwise,t.aRotation=this.aRotation,t}},{key:"fromJSON",value:function(t){return n(Ct(e.prototype),"fromJSON",this).call(this,t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}}]),e}(xo);Wl.prototype.isEllipseCurve=!0;var q3=function(i){ut(e,i);var s=at(e);function e(r,t,a,l,f,m){var x;return Ge(this,e),x=s.call(this,r,t,a,a,l,f,m),x.type="ArcCurve",x}return e}(Wl);q3.prototype.isArcCurve=!0;function j3(){var i=0,s=0,e=0,r=0;function t(a,l,f,m){i=a,s=f,e=-3*a+3*l-2*f-m,r=2*a-2*l+f+m}return{initCatmullRom:function(l,f,m,x,D){t(f,m,D*(m-l),D*(x-f))},initNonuniformCatmullRom:function(l,f,m,x,D,I,N){var W=(f-l)/D-(m-l)/(D+I)+(m-f)/I,Z=(m-f)/I-(x-f)/(I+N)+(x-m)/N;W*=I,Z*=I,t(f,m,W,Z)},calc:function(l){var f=l*l,m=f*l;return i+s*l+e*f+r*m}}}var lc=new pe,J3=new j3,Z3=new j3,K3=new j3,$3=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"centripetal",f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5;return Ge(this,e),r=s.call(this),r.type="CatmullRomCurve3",r.points=t,r.closed=a,r.curveType=l,r.tension=f,r}return rt(e,[{key:"getPoint",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe,l=a,f=this.points,m=f.length,x=(m-(this.closed?0:1))*t,D=Math.floor(x),I=x-D;this.closed?D+=D>0?0:(Math.floor(Math.abs(D)/m)+1)*m:I===0&&D===m-1&&(D=m-2,I=1);var N,W;this.closed||D>0?N=f[(D-1)%m]:(lc.subVectors(f[0],f[1]).add(f[0]),N=lc);var Z=f[D%m],Q=f[(D+1)%m];if(this.closed||D+2<m?W=f[(D+2)%m]:(lc.subVectors(f[m-1],f[m-2]).add(f[m-1]),W=lc),this.curveType==="centripetal"||this.curveType==="chordal"){var oe=this.curveType==="chordal"?.5:.25,K=Math.pow(N.distanceToSquared(Z),oe),J=Math.pow(Z.distanceToSquared(Q),oe),_e=Math.pow(Q.distanceToSquared(W),oe);J<1e-4&&(J=1),K<1e-4&&(K=J),_e<1e-4&&(_e=J),J3.initNonuniformCatmullRom(N.x,Z.x,Q.x,W.x,K,J,_e),Z3.initNonuniformCatmullRom(N.y,Z.y,Q.y,W.y,K,J,_e),K3.initNonuniformCatmullRom(N.z,Z.z,Q.z,W.z,K,J,_e)}else this.curveType==="catmullrom"&&(J3.initCatmullRom(N.x,Z.x,Q.x,W.x,this.tension),Z3.initCatmullRom(N.y,Z.y,Q.y,W.y,this.tension),K3.initCatmullRom(N.z,Z.z,Q.z,W.z,this.tension));return l.set(J3.calc(I),Z3.calc(I),K3.calc(I)),l}},{key:"copy",value:function(t){n(Ct(e.prototype),"copy",this).call(this,t),this.points=[];for(var a=0,l=t.points.length;a<l;a++){var f=t.points[a];this.points.push(f.clone())}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);t.points=[];for(var a=0,l=this.points.length;a<l;a++){var f=this.points[a];t.points.push(f.toArray())}return t.closed=this.closed,t.curveType=this.curveType,t.tension=this.tension,t}},{key:"fromJSON",value:function(t){n(Ct(e.prototype),"fromJSON",this).call(this,t),this.points=[];for(var a=0,l=t.points.length;a<l;a++){var f=t.points[a];this.points.push(new pe().fromArray(f))}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}}]),e}(xo);$3.prototype.isCatmullRomCurve3=!0;function Y4(i,s,e,r,t){var a=(r-s)*.5,l=(t-e)*.5,f=i*i,m=i*f;return(2*e-2*r+a+l)*m+(-3*e+3*r-2*a-l)*f+a*i+e}function f7(i,s){var e=1-i;return e*e*s}function d7(i,s){return 2*(1-i)*i*s}function v7(i,s){return i*i*s}function Yl(i,s,e,r){return f7(i,s)+d7(i,e)+v7(i,r)}function m7(i,s){var e=1-i;return e*e*e*s}function p7(i,s){var e=1-i;return 3*e*e*i*s}function g7(i,s){return 3*(1-i)*i*i*s}function y7(i,s){return i*i*i*s}function ql(i,s,e,r,t){return m7(i,s)+p7(i,e)+g7(i,r)+y7(i,t)}var cc=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Je,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Je,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Je,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:new Je;return Ge(this,e),r=s.call(this),r.type="CubicBezierCurve",r.v0=t,r.v1=a,r.v2=l,r.v3=f,r}return rt(e,[{key:"getPoint",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Je,l=a,f=this.v0,m=this.v1,x=this.v2,D=this.v3;return l.set(ql(t,f.x,m.x,x.x,D.x),ql(t,f.y,m.y,x.y,D.y)),l}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}},{key:"fromJSON",value:function(t){return n(Ct(e.prototype),"fromJSON",this).call(this,t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}}]),e}(xo);cc.prototype.isCubicBezierCurve=!0;var Q3=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new pe,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new pe,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:new pe;return Ge(this,e),r=s.call(this),r.type="CubicBezierCurve3",r.v0=t,r.v1=a,r.v2=l,r.v3=f,r}return rt(e,[{key:"getPoint",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe,l=a,f=this.v0,m=this.v1,x=this.v2,D=this.v3;return l.set(ql(t,f.x,m.x,x.x,D.x),ql(t,f.y,m.y,x.y,D.y),ql(t,f.z,m.z,x.z,D.z)),l}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}},{key:"fromJSON",value:function(t){return n(Ct(e.prototype),"fromJSON",this).call(this,t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}}]),e}(xo);Q3.prototype.isCubicBezierCurve3=!0;var jl=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Je,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Je;return Ge(this,e),r=s.call(this),r.type="LineCurve",r.v1=t,r.v2=a,r}return rt(e,[{key:"getPoint",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Je,l=a;return t===1?l.copy(this.v2):(l.copy(this.v2).sub(this.v1),l.multiplyScalar(t).add(this.v1)),l}},{key:"getPointAt",value:function(t,a){return this.getPoint(t,a)}},{key:"getTangent",value:function(t,a){var l=a||new Je;return l.copy(this.v2).sub(this.v1).normalize(),l}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}},{key:"fromJSON",value:function(t){return n(Ct(e.prototype),"fromJSON",this).call(this,t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}]),e}(xo);jl.prototype.isLineCurve=!0;var q4=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new pe,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe;return Ge(this,e),r=s.call(this),r.type="LineCurve3",r.isLineCurve3=!0,r.v1=t,r.v2=a,r}return rt(e,[{key:"getPoint",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe,l=a;return t===1?l.copy(this.v2):(l.copy(this.v2).sub(this.v1),l.multiplyScalar(t).add(this.v1)),l}},{key:"getPointAt",value:function(t,a){return this.getPoint(t,a)}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}},{key:"fromJSON",value:function(t){return n(Ct(e.prototype),"fromJSON",this).call(this,t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}]),e}(xo),hc=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Je,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Je,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Je;return Ge(this,e),r=s.call(this),r.type="QuadraticBezierCurve",r.v0=t,r.v1=a,r.v2=l,r}return rt(e,[{key:"getPoint",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Je,l=a,f=this.v0,m=this.v1,x=this.v2;return l.set(Yl(t,f.x,m.x,x.x),Yl(t,f.y,m.y,x.y)),l}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}},{key:"fromJSON",value:function(t){return n(Ct(e.prototype),"fromJSON",this).call(this,t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}]),e}(xo);hc.prototype.isQuadraticBezierCurve=!0;var eh=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new pe,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new pe;return Ge(this,e),r=s.call(this),r.type="QuadraticBezierCurve3",r.v0=t,r.v1=a,r.v2=l,r}return rt(e,[{key:"getPoint",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe,l=a,f=this.v0,m=this.v1,x=this.v2;return l.set(Yl(t,f.x,m.x,x.x),Yl(t,f.y,m.y,x.y),Yl(t,f.z,m.z,x.z)),l}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}},{key:"fromJSON",value:function(t){return n(Ct(e.prototype),"fromJSON",this).call(this,t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}]),e}(xo);eh.prototype.isQuadraticBezierCurve3=!0;var fc=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ge(this,e),r=s.call(this),r.type="SplineCurve",r.points=t,r}return rt(e,[{key:"getPoint",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Je,l=a,f=this.points,m=(f.length-1)*t,x=Math.floor(m),D=m-x,I=f[x===0?x:x-1],N=f[x],W=f[x>f.length-2?f.length-1:x+1],Z=f[x>f.length-3?f.length-1:x+2];return l.set(Y4(D,I.x,N.x,W.x,Z.x),Y4(D,
5I.y,N.y,W.y,Z.y)),l}},{key:"copy",value:function(t){n(Ct(e.prototype),"copy",this).call(this,t),this.points=[];for(var a=0,l=t.points.length;a<l;a++){var f=t.points[a];this.points.push(f.clone())}return this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);t.points=[];for(var a=0,l=this.points.length;a<l;a++){var f=this.points[a];t.points.push(f.toArray())}return t}},{key:"fromJSON",value:function(t){n(Ct(e.prototype),"fromJSON",this).call(this,t),this.points=[];for(var a=0,l=t.points.length;a<l;a++){var f=t.points[a];this.points.push(new Je().fromArray(f))}return this}}]),e}(xo);fc.prototype.isSplineCurve=!0;var th=Object.freeze({__proto__:null,ArcCurve:q3,CatmullRomCurve3:$3,CubicBezierCurve:cc,CubicBezierCurve3:Q3,EllipseCurve:Wl,LineCurve:jl,LineCurve3:q4,QuadraticBezierCurve:hc,QuadraticBezierCurve3:eh,SplineCurve:fc}),j4=function(i){ut(e,i);var s=at(e);function e(){var r;return Ge(this,e),r=s.call(this),r.type="CurvePath",r.curves=[],r.autoClose=!1,r}return rt(e,[{key:"add",value:function(t){this.curves.push(t)}},{key:"closePath",value:function(){var t=this.curves[0].getPoint(0),a=this.curves[this.curves.length-1].getPoint(1);t.equals(a)||this.curves.push(new jl(a,t))}},{key:"getPoint",value:function(t){for(var a=t*this.getLength(),l=this.getCurveLengths(),f=0;f<l.length;){if(l[f]>=a){var m=l[f]-a,x=this.curves[f],D=x.getLength(),I=D===0?0:1-m/D;return x.getPointAt(I)}f++}return null}},{key:"getLength",value:function(){var t=this.getCurveLengths();return t[t.length-1]}},{key:"updateArcLengths",value:function(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}},{key:"getCurveLengths",value:function(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;for(var t=[],a=0,l=0,f=this.curves.length;l<f;l++)a+=this.curves[l].getLength(),t.push(a);return this.cacheLengths=t,t}},{key:"getSpacedPoints",value:function(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:40,a=[],l=0;l<=t;l++)a.push(this.getPoint(l/t));return this.autoClose&&a.push(a[0]),a}},{key:"getPoints",value:function(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:12,a=[],l,f=0,m=this.curves;f<m.length;f++)for(var x=m[f],D=x&&x.isEllipseCurve?t*2:x&&(x.isLineCurve||x.isLineCurve3)?1:x&&x.isSplineCurve?t*x.points.length:t,I=x.getPoints(D),N=0;N<I.length;N++){var W=I[N];l&&l.equals(W)||(a.push(W),l=W)}return this.autoClose&&a.length>1&&!a[a.length-1].equals(a[0])&&a.push(a[0]),a}},{key:"copy",value:function(t){n(Ct(e.prototype),"copy",this).call(this,t),this.curves=[];for(var a=0,l=t.curves.length;a<l;a++){var f=t.curves[a];this.curves.push(f.clone())}return this.autoClose=t.autoClose,this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);t.autoClose=this.autoClose,t.curves=[];for(var a=0,l=this.curves.length;a<l;a++){var f=this.curves[a];t.curves.push(f.toJSON())}return t}},{key:"fromJSON",value:function(t){n(Ct(e.prototype),"fromJSON",this).call(this,t),this.autoClose=t.autoClose,this.curves=[];for(var a=0,l=t.curves.length;a<l;a++){var f=t.curves[a];this.curves.push(new th[f.type]().fromJSON(f))}return this}}]),e}(xo),ku=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="Path",t.currentPoint=new Je,r&&t.setFromPoints(r),t}return rt(e,[{key:"setFromPoints",value:function(t){this.moveTo(t[0].x,t[0].y);for(var a=1,l=t.length;a<l;a++)this.lineTo(t[a].x,t[a].y);return this}},{key:"moveTo",value:function(t,a){return this.currentPoint.set(t,a),this}},{key:"lineTo",value:function(t,a){var l=new jl(this.currentPoint.clone(),new Je(t,a));return this.curves.push(l),this.currentPoint.set(t,a),this}},{key:"quadraticCurveTo",value:function(t,a,l,f){var m=new hc(this.currentPoint.clone(),new Je(t,a),new Je(l,f));return this.curves.push(m),this.currentPoint.set(l,f),this}},{key:"bezierCurveTo",value:function(t,a,l,f,m,x){var D=new cc(this.currentPoint.clone(),new Je(t,a),new Je(l,f),new Je(m,x));return this.curves.push(D),this.currentPoint.set(m,x),this}},{key:"splineThru",value:function(t){var a=[this.currentPoint.clone()].concat(t),l=new fc(a);return this.curves.push(l),this.currentPoint.copy(t[t.length-1]),this}},{key:"arc",value:function(t,a,l,f,m,x){var D=this.currentPoint.x,I=this.currentPoint.y;return this.absarc(t+D,a+I,l,f,m,x),this}},{key:"absarc",value:function(t,a,l,f,m,x){return this.absellipse(t,a,l,l,f,m,x),this}},{key:"ellipse",value:function(t,a,l,f,m,x,D,I){var N=this.currentPoint.x,W=this.currentPoint.y;return this.absellipse(t+N,a+W,l,f,m,x,D,I),this}},{key:"absellipse",value:function(t,a,l,f,m,x,D,I){var N=new Wl(t,a,l,f,m,x,D,I);if(this.curves.length>0){var W=N.getPoint(0);W.equals(this.currentPoint)||this.lineTo(W.x,W.y)}this.curves.push(N);var Z=N.getPoint(1);return this.currentPoint.copy(Z),this}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.currentPoint.copy(t.currentPoint),this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);return t.currentPoint=this.currentPoint.toArray(),t}},{key:"fromJSON",value:function(t){return n(Ct(e.prototype),"fromJSON",this).call(this,t),this.currentPoint.fromArray(t.currentPoint),this}}]),e}(j4),rh=function(i){ut(e,i);var s=at(e);function e(r){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:12,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Math.PI*2;Ge(this,e),t=s.call(this),t.type="LatheGeometry",t.parameters={points:r,segments:a,phiStart:l,phiLength:f},a=Math.floor(a),f=ve(f,0,Math.PI*2);for(var m=[],x=[],D=[],I=1/a,N=new pe,W=new Je,Z=0;Z<=a;Z++)for(var Q=l+Z*I*f,oe=Math.sin(Q),K=Math.cos(Q),J=0;J<=r.length-1;J++)N.x=r[J].x*oe,N.y=r[J].y,N.z=r[J].x*K,x.push(N.x,N.y,N.z),W.x=Z/a,W.y=J/(r.length-1),D.push(W.x,W.y);for(var _e=0;_e<a;_e++)for(var Me=0;Me<r.length-1;Me++){var Ae=Me+_e*r.length,ie=Ae,we=Ae+r.length,Te=Ae+r.length+1,Ye=Ae+1;m.push(ie,we,Ye),m.push(we,Te,Ye)}if(t.setIndex(m),t.setAttribute("position",new ur(x,3)),t.setAttribute("uv",new ur(D,2)),t.computeVertexNormals(),f===Math.PI*2)for(var Ie=t.attributes.normal.array,nt=new pe,dt=new pe,We=new pe,it=a*r.length*3,ht=0,Ze=0;ht<r.length;ht++,Ze+=3)nt.x=Ie[Ze+0],nt.y=Ie[Ze+1],nt.z=Ie[Ze+2],dt.x=Ie[it+Ze+0],dt.y=Ie[it+Ze+1],dt.z=Ie[it+Ze+2],We.addVectors(nt,dt).normalize(),Ie[Ze+0]=Ie[it+Ze+0]=We.x,Ie[Ze+1]=Ie[it+Ze+1]=We.y,Ie[Ze+2]=Ie[it+Ze+2]=We.z;return t}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.points,t.segments,t.phiStart,t.phiLength)}}]),e}(mr),J4=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:4,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8;Ge(this,e);var m=new ku;return m.absarc(0,-a/2,t,Math.PI*1.5,0),m.absarc(0,a/2,t,0,Math.PI*.5),r=s.call(this,m.getPoints(l),f),r.type="CapsuleGeometry",r.parameters={radiu
5s:t,height:a,capSegments:l,radialSegments:f},r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radius,t.length,t.capSegments,t.radialSegments)}}]),e}(rh),dc=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,D=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,I=arguments.length>7&&arguments[7]!==void 0?arguments[7]:Math.PI*2;Ge(this,e),r=s.call(this),r.type="CylinderGeometry",r.parameters={radiusTop:t,radiusBottom:a,height:l,radialSegments:f,heightSegments:m,openEnded:x,thetaStart:D,thetaLength:I};var N=fi(r);f=Math.floor(f),m=Math.floor(m);var W=[],Z=[],Q=[],oe=[],K=0,J=[],_e=l/2,Me=0;Ae(),x===!1&&(t>0&&ie(!0),a>0&&ie(!1)),r.setIndex(W),r.setAttribute("position",new ur(Z,3)),r.setAttribute("normal",new ur(Q,3)),r.setAttribute("uv",new ur(oe,2));function Ae(){for(var we=new pe,Te=new pe,Ye=0,Ie=(a-t)/l,nt=0;nt<=m;nt++){for(var dt=[],We=nt/m,it=We*(a-t)+t,ht=0;ht<=f;ht++){var Ze=ht/f,lt=Ze*I+D,Et=Math.sin(lt),Xt=Math.cos(lt);Te.x=it*Et,Te.y=-We*l+_e,Te.z=it*Xt,Z.push(Te.x,Te.y,Te.z),we.set(Et,Ie,Xt).normalize(),Q.push(we.x,we.y,we.z),oe.push(Ze,1-We),dt.push(K++)}J.push(dt)}for(var Bt=0;Bt<f;Bt++)for(var Ot=0;Ot<m;Ot++){var Gt=J[Ot][Bt],lr=J[Ot+1][Bt],Dr=J[Ot+1][Bt+1],Ar=J[Ot][Bt+1];W.push(Gt,lr,Ar),W.push(lr,Dr,Ar),Ye+=6}N.addGroup(Me,Ye,0),Me+=Ye}function ie(we){for(var Te=K,Ye=new Je,Ie=new pe,nt=0,dt=we===!0?t:a,We=we===!0?1:-1,it=1;it<=f;it++)Z.push(0,_e*We,0),Q.push(0,We,0),oe.push(.5,.5),K++;for(var ht=K,Ze=0;Ze<=f;Ze++){var lt=Ze/f,Et=lt*I+D,Xt=Math.cos(Et),Bt=Math.sin(Et);Ie.x=dt*Bt,Ie.y=_e*We,Ie.z=dt*Xt,Z.push(Ie.x,Ie.y,Ie.z),Q.push(0,We,0),Ye.x=Xt*.5+.5,Ye.y=Bt*.5*We+.5,oe.push(Ye.x,Ye.y),K++}for(var Ot=0;Ot<f;Ot++){var Gt=Te+Ot,lr=ht+Ot;we===!0?W.push(lr,lr+1,Gt):W.push(lr+1,lr,Gt),nt+=3}N.addGroup(Me,nt,we===!0?1:2),Me+=nt}return r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radiusTop,t.radiusBottom,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}}]),e}(mr),Z4=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:8,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,D=arguments.length>6&&arguments[6]!==void 0?arguments[6]:Math.PI*2;return Ge(this,e),r=s.call(this,0,t,a,l,f,m,x,D),r.type="ConeGeometry",r.parameters={radius:t,height:a,radialSegments:l,heightSegments:f,openEnded:m,thetaStart:x,thetaLength:D},r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radius,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}}]),e}(dc),Au=function(i){ut(e,i);var s=at(e);function e(r,t){var a,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;Ge(this,e),a=s.call(this),a.type="PolyhedronGeometry",a.parameters={vertices:r,indices:t,radius:l,detail:f};var m=[],x=[];D(f),N(l),W(),a.setAttribute("position",new ur(m,3)),a.setAttribute("normal",new ur(m.slice(),3)),a.setAttribute("uv",new ur(x,2)),f===0?a.computeVertexNormals():a.normalizeNormals();function D(Ae){for(var ie=new pe,we=new pe,Te=new pe,Ye=0;Ye<t.length;Ye+=3)oe(t[Ye+0],ie),oe(t[Ye+1],we),oe(t[Ye+2],Te),I(ie,we,Te,Ae)}function I(Ae,ie,we,Te){for(var Ye=Te+1,Ie=[],nt=0;nt<=Ye;nt++){Ie[nt]=[];for(var dt=Ae.clone().lerp(we,nt/Ye),We=ie.clone().lerp(we,nt/Ye),it=Ye-nt,ht=0;ht<=it;ht++)ht===0&&nt===Ye?Ie[nt][ht]=dt:Ie[nt][ht]=dt.clone().lerp(We,ht/it)}for(var Ze=0;Ze<Ye;Ze++)for(var lt=0;lt<2*(Ye-Ze)-1;lt++){var Et=Math.floor(lt/2);lt%2===0?(Q(Ie[Ze][Et+1]),Q(Ie[Ze+1][Et]),Q(Ie[Ze][Et])):(Q(Ie[Ze][Et+1]),Q(Ie[Ze+1][Et+1]),Q(Ie[Ze+1][Et]))}}function N(Ae){for(var ie=new pe,we=0;we<m.length;we+=3)ie.x=m[we+0],ie.y=m[we+1],ie.z=m[we+2],ie.normalize().multiplyScalar(Ae),m[we+0]=ie.x,m[we+1]=ie.y,m[we+2]=ie.z}function W(){for(var Ae=new pe,ie=0;ie<m.length;ie+=3){Ae.x=m[ie+0],Ae.y=m[ie+1],Ae.z=m[ie+2];var we=_e(Ae)/2/Math.PI+.5,Te=Me(Ae)/Math.PI+.5;x.push(we,1-Te)}K(),Z()}function Z(){for(var Ae=0;Ae<x.length;Ae+=6){var ie=x[Ae+0],we=x[Ae+2],Te=x[Ae+4],Ye=Math.max(ie,we,Te),Ie=Math.min(ie,we,Te);Ye>.9&&Ie<.1&&(ie<.2&&(x[Ae+0]+=1),we<.2&&(x[Ae+2]+=1),Te<.2&&(x[Ae+4]+=1))}}function Q(Ae){m.push(Ae.x,Ae.y,Ae.z)}function oe(Ae,ie){var we=Ae*3;ie.x=r[we+0],ie.y=r[we+1],ie.z=r[we+2]}function K(){for(var Ae=new pe,ie=new pe,we=new pe,Te=new pe,Ye=new Je,Ie=new Je,nt=new Je,dt=0,We=0;dt<m.length;dt+=9,We+=6){Ae.set(m[dt+0],m[dt+1],m[dt+2]),ie.set(m[dt+3],m[dt+4],m[dt+5]),we.set(m[dt+6],m[dt+7],m[dt+8]),Ye.set(x[We+0],x[We+1]),Ie.set(x[We+2],x[We+3]),nt.set(x[We+4],x[We+5]),Te.copy(Ae).add(ie).add(we).divideScalar(3);var it=_e(Te);J(Ye,We+0,Ae,it),J(Ie,We+2,ie,it),J(nt,We+4,we,it)}}function J(Ae,ie,we,Te){Te<0&&Ae.x===1&&(x[ie]=Ae.x-1),we.x===0&&we.z===0&&(x[ie]=Te/2/Math.PI+.5)}function _e(Ae){return Math.atan2(Ae.z,-Ae.x)}function Me(Ae){return Math.atan2(-Ae.y,Math.sqrt(Ae.x*Ae.x+Ae.z*Ae.z))}return a}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.vertices,t.indices,t.radiu
5s,t.details)}}]),e}(mr),K4=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ge(this,e);var l=(1+Math.sqrt(5))/2,f=1/l,m=[-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-f,-l,0,-f,l,0,f,-l,0,f,l,-f,-l,0,-f,l,0,f,-l,0,f,l,0,-l,0,-f,l,0,-f,-l,0,f,l,0,f],x=[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9];return r=s.call(this,m,x,t,a),r.type="DodecahedronGeometry",r.parameters={radius:t,detail:a},r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radius,t.detail)}}]),e}(Au),vc=new pe,mc=new pe,nh=new pe,Cu=new xn,$4=function(i){ut(e,i);var s=at(e);function e(r,t){var a;if(Ge(this,e),a=s.call(this),a.type="EdgesGeometry",a.parameters={thresholdAngle:t},t=t!==void 0?t:1,r.isGeometry===!0)return console.error("THREE.EdgesGeometry no longer supports THREE.Geometry. Use THREE.BufferGeometry instead."),r0(a);for(var l=4,f=Math.pow(10,l),m=Math.cos(ne*t),x=r.getIndex(),D=r.getAttribute("position"),I=x?x.count:D.count,N=[0,0,0],W=["a","b","c"],Z=new Array(3),Q={},oe=[],K=0;K<I;K+=3){x?(N[0]=x.getX(K),N[1]=x.getX(K+1),N[2]=x.getX(K+2)):(N[0]=K,N[1]=K+1,N[2]=K+2);var J=Cu.a,_e=Cu.b,Me=Cu.c;if(J.fromBufferAttribute(D,N[0]),_e.fromBufferAttribute(D,N[1]),Me.fromBufferAttribute(D,N[2]),Cu.getNormal(nh),Z[0]="".concat(Math.round(J.x*f),",").concat(Math.round(J.y*f),",").concat(Math.round(J.z*f)),Z[1]="".concat(Math.round(_e.x*f),",").concat(Math.round(_e.y*f),",").concat(Math.round(_e.z*f)),Z[2]="".concat(Math.round(Me.x*f),",").concat(Math.round(Me.y*f),",").concat(Math.round(Me.z*f)),!(Z[0]===Z[1]||Z[1]===Z[2]||Z[2]===Z[0]))for(var Ae=0;Ae<3;Ae++){var ie=(Ae+1)%3,we=Z[Ae],Te=Z[ie],Ye=Cu[W[Ae]],Ie=Cu[W[ie]],nt="".concat(we,"_").concat(Te),dt="".concat(Te,"_").concat(we);dt in Q&&Q[dt]?(nh.dot(Q[dt].normal)<=m&&(oe.push(Ye.x,Ye.y,Ye.z),oe.push(Ie.x,Ie.y,Ie.z)),Q[dt]=null):nt in Q||(Q[nt]={index0:N[Ae],index1:N[ie],normal:nh.clone()})}}for(var We in Q)if(Q[We]){var it=Q[We],ht=it.index0,Ze=it.index1;vc.fromBufferAttribute(D,ht),mc.fromBufferAttribute(D,Ze),oe.push(vc.x,vc.y,vc.z),oe.push(mc.x,mc.y,mc.z)}return a.setAttribute("position",new ur(oe,3)),a}return e}(mr),b7={triangulate:function(s,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:2,t=e&&e.length,a=t?e[0]*r:s.length,l=Q4(s,0,a,r,!0),f=[];if(!l||l.next===l.prev)return f;var m,x,D,I,N,W,Z;if(t&&(l=M7(s,e,l,r)),s.length>80*r){m=D=s[0],x=I=s[1];for(var Q=r;Q<a;Q+=r)N=s[Q],W=s[Q+1],N<m&&(m=N),W<x&&(x=W),N>D&&(D=N),W>I&&(I=W);Z=Math.max(D-m,I-x),Z=Z!==0?1/Z:0}return Jl(l,f,r,m,x,Z),f}};function Q4(i,s,e,r,t){var a,l;if(t===I7(i,s,e,r)>0)for(a=s;a<e;a+=r)l=rd(a,i[a],i[a+1],l);else for(a=e-r;a>=s;a-=r)l=rd(a,i[a],i[a+1],l);return l&&pc(l,l.next)&&(Kl(l),l=l.next),l}function V0(i,s){if(!i)return i;s||(s=i);var e=i,r;do if(r=!1,!e.steiner&&(pc(e,e.next)||ha(e.prev,e,e.next)===0)){if(Kl(e),e=s=e.prev,e===e.next)break;r=!0}else e=e.next;while(r||e!==s);return s}function Jl(i,s,e,r,t,a,l){if(i){!l&&a&&C7(i,r,t,a);for(var f=i,m,x;i.prev!==i.next;){if(m=i.prev,x=i.next,a?x7(i,r,t,a):_7(i)){s.push(m.i/e),s.push(i.i/e),s.push(x.i/e),Kl(i),i=x.next,f=x.next;continue}if(i=x,i===f){l?l===1?(i=w7(V0(i),s,e),Jl(i,s,e,r,t,a,2)):l===2&&S7(i,s,e,r,t,a):Jl(V0(i),s,e,r,t,a,1);break}}}}function _7(i){var s=i.prev,e=i,r=i.next;if(ha(s,e,r)>=0)return!1;for(var t=i.next.next;t!==i.prev;){if(Ru(s.x,s.y,e.x,e.y,r.x,r.y,t.x,t.y)&&ha(t.prev,t,t.next)>=0)return!1;t=t.next}return!0}function x7(i,s,e,r){var t=i.prev,a=i,l=i.next;if(ha(t,a,l)>=0)return!1;for(var f=t.x<a.x?t.x<l.x?t.x:l.x:a.x<l.x?a.x:l.x,m=t.y<a.y?t.y<l.y?t.y:l.y:a.y<l.y?a.y:l.y,x=t.x>a.x?t.x>l.x?t.x:l.x:a.x>l.x?a.x:l.x,D=t.y>a.y?t.y>l.y?t.y:l.y:a.y>l.y?a.y:l.y,I=ah(f,m,s,e,r),N=ah(x,D,s,e,r),W=i.prevZ,Z=i.nextZ;W&&W.z>=I&&Z&&Z.z<=N;){if(W!==i.prev&&W!==i.next&&Ru(t.x,t.y,a.x,a.y,l.x,l.y,W.x,W.y)&&ha(W.prev,W,W.next)>=0||(W=W.prevZ,Z!==i.prev&&Z!==i.next&&Ru(t.x,t.y,a.x,a.y,l.x,l.y,Z.x,Z.y)&&ha(Z.prev,Z,Z.next)>=0))return!1;Z=Z.nextZ}for(;W&&W.z>=I;){if(W!==i.prev&&W!==i.next&&Ru(t.x,t.y,a.x,a.y,l.x,l.y,W.x,W.y)&&ha(W.prev,W,W.next)>=0)return!1;W=W.prevZ}for(;Z&&Z.z<=N;){if(Z!==i.prev&&Z!==i.next&&Ru(t.x,t.y,a.x,a.y,l.x,l.y,Z.x,Z.y)&&ha(Z.prev,Z,Z.next)>=0)return!1;Z=Z.nextZ}return!0}function w7(i,s,e){var r=i;do{var t=r.prev,a=r.next.next;!pc(t,a)&&ed(t,r,r.next,a)&&Zl(t,a)&&Zl(a,t)&&(s.push(t.i/e),s.push(r.i/e),s.push(a.i/e),Kl(r),Kl(r.next),r=i=a),r=r.next}
5while(r!==i);return V0(r)}function S7(i,s,e,r,t,a){var l=i;do{for(var f=l.next.next;f!==l.prev;){if(l.i!==f.i&&L7(l,f)){var m=td(l,f);l=V0(l,l.next),m=V0(m,m.next),Jl(l,s,e,r,t,a),Jl(m,s,e,r,t,a);return}f=f.next}l=l.next}while(l!==i)}function M7(i,s,e,r){var t=[],a,l,f,m,x;for(a=0,l=s.length;a<l;a++)f=s[a]*r,m=a<l-1?s[a+1]*r:i.length,x=Q4(i,f,m,r,!1),x===x.next&&(x.steiner=!0),t.push(O7(x));for(t.sort(T7),a=0;a<t.length;a++)E7(t[a],e),e=V0(e,e.next);return e}function T7(i,s){return i.x-s.x}function E7(i,s){if(s=k7(i,s),s){var e=td(s,i);V0(s,s.next),V0(e,e.next)}}function k7(i,s){var e=s,r=i.x,t=i.y,a=-1/0,l;do{if(t<=e.y&&t>=e.next.y&&e.next.y!==e.y){var f=e.x+(t-e.y)*(e.next.x-e.x)/(e.next.y-e.y);if(f<=r&&f>a){if(a=f,f===r){if(t===e.y)return e;if(t===e.next.y)return e.next}l=e.x<e.next.x?e:e.next}}e=e.next}while(e!==s);if(!l)return null;if(r===a)return l;var m=l,x=l.x,D=l.y,I=1/0,N;e=l;do r>=e.x&&e.x>=x&&r!==e.x&&Ru(t<D?r:a,t,x,D,t<D?a:r,t,e.x,e.y)&&(N=Math.abs(t-e.y)/(r-e.x),Zl(e,i)&&(N<I||N===I&&(e.x>l.x||e.x===l.x&&A7(l,e)))&&(l=e,I=N)),e=e.next;while(e!==m);return l}function A7(i,s){return ha(i.prev,i,s.prev)<0&&ha(s.next,i,i.next)<0}function C7(i,s,e,r){var t=i;do t.z===null&&(t.z=ah(t.x,t.y,s,e,r)),t.prevZ=t.prev,t.nextZ=t.next,t=t.next;while(t!==i);t.prevZ.nextZ=null,t.prevZ=null,R7(t)}function R7(i){var s,e,r,t,a,l,f,m,x=1;do{for(e=i,i=null,a=null,l=0;e;){for(l++,r=e,f=0,s=0;s<x&&(f++,r=r.nextZ,!!r);s++);for(m=x;f>0||m>0&&r;)f!==0&&(m===0||!r||e.z<=r.z)?(t=e,e=e.nextZ,f--):(t=r,r=r.nextZ,m--),a?a.nextZ=t:i=t,t.prevZ=a,a=t;e=r}a.nextZ=null,x*=2}while(l>1);return i}function ah(i,s,e,r,t){return i=32767*(i-e)*t,s=32767*(s-r)*t,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,s=(s|s<<8)&16711935,s=(s|s<<4)&252645135,s=(s|s<<2)&858993459,s=(s|s<<1)&1431655765,i|s<<1}function O7(i){var s=i,e=i;do(s.x<e.x||s.x===e.x&&s.y<e.y)&&(e=s),s=s.next;while(s!==i);return e}function Ru(i,s,e,r,t,a,l,f){return(t-l)*(s-f)-(i-l)*(a-f)>=0&&(i-l)*(r-f)-(e-l)*(s-f)>=0&&(e-l)*(a-f)-(t-l)*(r-f)>=0}function L7(i,s){return i.next.i!==s.i&&i.prev.i!==s.i&&!P7(i,s)&&(Zl(i,s)&&Zl(s,i)&&D7(i,s)&&(ha(i.prev,i,s.prev)||ha(i,s.prev,s))||pc(i,s)&&ha(i.prev,i,i.next)>0&&ha(s.prev,s,s.next)>0)}function ha(i,s,e){return(s.y-i.y)*(e.x-s.x)-(s.x-i.x)*(e.y-s.y)}function pc(i,s){return i.x===s.x&&i.y===s.y}function ed(i,s,e,r){var t=yc(ha(i,s,e)),a=yc(ha(i,s,r)),l=yc(ha(e,r,i)),f=yc(ha(e,r,s));return!!(t!==a&&l!==f||t===0&&gc(i,e,s)||a===0&&gc(i,r,s)||l===0&&gc(e,i,r)||f===0&&gc(e,s,r))}function gc(i,s,e){return s.x<=Math.max(i.x,e.x)&&s.x>=Math.min(i.x,e.x)&&s.y<=Math.max(i.y,e.y)&&s.y>=Math.min(i.y,e.y)}function yc(i){return i>0?1:i<0?-1:0}function P7(i,s){var e=i;do{if(e.i!==i.i&&e.next.i!==i.i&&e.i!==s.i&&e.next.i!==s.i&&ed(e,e.next,i,s))return!0;e=e.next}while(e!==i);return!1}function Zl(i,s){return ha(i.prev,i,i.next)<0?ha(i,s,i.next)>=0&&ha(i,i.prev,s)>=0:ha(i,s,i.prev)<0||ha(i,i.next,s)<0}function D7(i,s){var e=i,r=!1,t=(i.x+s.x)/2,a=(i.y+s.y)/2;do e.y>a!=e.next.y>a&&e.next.y!==e.y&&t<(e.next.x-e.x)*(a-e.y)/(e.next.y-e.y)+e.x&&(r=!r),e=e.next;while(e!==i);return r}function td(i,s){var e=new ih(i.i,i.x,i.y),r=new ih(s.i,s.x,s.y),t=i.next,a=s.prev;return i.next=s,s.prev=i,e.next=t,t.prev=e,r.next=e,e.prev=r,a.next=r,r.prev=a,r}function rd(i,s,e,r){var t=new ih(i,s,e);return r?(t.next=r.next,t.prev=r,r.next.prev=t,r.next=t):(t.prev=t,t.next=t),t}function Kl(i){i.next.prev=i.prev,i.prev.next=i.next,i.prevZ&&(i.prevZ.nextZ=i.nextZ),i.nextZ&&(i.nextZ.prevZ=i.prevZ)}function ih(i,s,e){this.i=i,this.x=s,this.y=e,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function I7(i,s,e,r){for(var t=0,a=s,l=e-r;a<e;a+=r)t+=(i[l]-i[a])*(i[a+1]+i[l+1]),l=a;return t}var H0=function(){function i(){Ge(this,i)}return rt(i,null,[{key:"area",value:function(e){for(var r=e.length,t=0,a=r-1,l=0;l<r;a=l++)t+=e[a].x*e[l].y-e[l].x*e[a].y;return t*.5}},{key:"isClockWise",value:function(e){return i.area(e)<0}},{key:"triangulateShape",value:function(e,r){var t=[],a=[],l=[];nd(e),ad(t,e);var f=e.length;r.forEach(nd);for(var m=0;m<r.length;m++)a.push(f),f+=r[m].length,ad(t,r[m]);for(var x=b7.triangulate(t,a),D=0;D<x.length;D+=3)l.push(x.slice(D,D+3));return l}}]),i}();
5function nd(i){var s=i.length;s>2&&i[s-1].equals(i[0])&&i.pop()}function ad(i,s){for(var e=0;e<s.length;e++)i.push(s[e].x),i.push(s[e].y)}var T1=function(i){ut(e,i);var s=at(e);function e(r,t){var a;Ge(this,e),a=s.call(this),a.type="ExtrudeGeometry",a.parameters={shapes:r,options:t},r=Array.isArray(r)?r:[r];for(var l=fi(a),f=[],m=[],x=0,D=r.length;x<D;x++){var I=r[x];N(I)}a.setAttribute("position",new ur(f,3)),a.setAttribute("uv",new ur(m,2)),a.computeVertexNormals();function N(W){var Z=[],Q=t.curveSegments!==void 0?t.curveSegments:12,oe=t.steps!==void 0?t.steps:1,K=t.depth!==void 0?t.depth:100,J=t.bevelEnabled!==void 0?t.bevelEnabled:!0,_e=t.bevelThickness!==void 0?t.bevelThickness:6,Me=t.bevelSize!==void 0?t.bevelSize:_e-2,Ae=t.bevelOffset!==void 0?t.bevelOffset:0,ie=t.bevelSegments!==void 0?t.bevelSegments:3,we=t.extrudePath,Te=t.UVGenerator!==void 0?t.UVGenerator:F7;t.amount!==void 0&&(console.warn("THREE.ExtrudeBufferGeometry: amount has been renamed to depth."),K=t.amount);var Ye,Ie=!1,nt,dt,We,it;we&&(Ye=we.getSpacedPoints(oe),Ie=!0,J=!1,nt=we.computeFrenetFrames(oe,!1),dt=new pe,We=new pe,it=new pe),J||(ie=0,_e=0,Me=0,Ae=0);var ht=W.extractPoints(Q),Ze=ht.shape,lt=ht.holes,Et=!H0.isClockWise(Ze);if(Et){Ze=Ze.reverse();for(var Xt=0,Bt=lt.length;Xt<Bt;Xt++){var Ot=lt[Xt];H0.isClockWise(Ot)&&(lt[Xt]=Ot.reverse())}}for(var Gt=H0.triangulateShape(Ze,lt),lr=Ze,Dr=0,Ar=lt.length;Dr<Ar;Dr++){var Fe=lt[Dr];Ze=Ze.concat(Fe)}function fr(Cr,Lr,yn){return Lr||console.error("THREE.ExtrudeGeometry: vec does not exist"),Lr.clone().multiplyScalar(yn).add(Cr)}var zr=Ze.length,on=Gt.length;function Xr(Cr,Lr,yn){var Nr,dn,Ln,Vn=Cr.x-Lr.x,Qa=Cr.y-Lr.y,Fi=yn.x-Cr.x,wo=yn.y-Cr.y,x0=Vn*Vn+Qa*Qa,Uh=Vn*wo-Qa*Fi;if(Math.abs(Uh)>Number.EPSILON){var Lc=Math.sqrt(x0),kv=Math.sqrt(Fi*Fi+wo*wo),Av=Lr.x-Qa/Lc,Cv=Lr.y+Vn/Lc,hg=yn.x-wo/kv,fg=yn.y+Fi/kv,Rv=((hg-Av)*wo-(fg-Cv)*Fi)/(Vn*wo-Qa*Fi);Nr=Av+Vn*Rv-Cr.x,dn=Cv+Qa*Rv-Cr.y;var Ov=Nr*Nr+dn*dn;if(Ov<=2)return new Je(Nr,dn);Ln=Math.sqrt(Ov/2)}else{var Pc=!1;Vn>Number.EPSILON?Fi>Number.EPSILON&&(Pc=!0):Vn<-Number.EPSILON?Fi<-Number.EPSILON&&(Pc=!0):Math.sign(Qa)===Math.sign(wo)&&(Pc=!0),Pc?(Nr=-Qa,dn=Vn,Ln=Math.sqrt(x0)):(Nr=Vn,dn=Qa,Ln=Math.sqrt(x0/2))}return new Je(Nr/Ln,dn/Ln)}for(var Rr=[],Mr=0,cn=lr.length,nn=cn-1,En=Mr+1;Mr<cn;Mr++,nn++,En++)nn===cn&&(nn=0),En===cn&&(En=0),Rr[Mr]=Xr(lr[Mr],lr[nn],lr[En]);for(var Aa=[],fa,Ja=Rr.concat(),ze=0,Oe=lt.length;ze<Oe;ze++){var Ut=lt[ze];fa=[];for(var Kt=0,Tr=Ut.length,hr=Tr-1,gr=Kt+1;Kt<Tr;Kt++,hr++,gr++)hr===Tr&&(hr=0),gr===Tr&&(gr=0),fa[Kt]=Xr(Ut[Kt],Ut[hr],Ut[gr]);Aa.push(fa),Ja=Ja.concat(fa)}for(var Er=0;Er<ie;Er++){for(var hn=Er/ie,Jr=_e*Math.cos(hn*Math.PI/2),gn=Me*Math.sin(hn*Math.PI/2)+Ae,$e=0,sr=lr.length;$e<sr;$e++){var _r=fr(lr[$e],Rr[$e],gn);nr(_r.x,_r.y,-Jr)}for(var Yr=0,sn=lt.length;Yr<sn;Yr++){var cr=lt[Yr];fa=Aa[Yr];for(var On=0,_a=cr.length;On<_a;On++){var Ca=fr(cr[On],fa[On],gn);nr(Ca.x,Ca.y,-Jr)}}}for(var ea=Me+Ae,kn=0;kn<zr;kn++){var sa=J?fr(Ze[kn],Ja[kn],ea):Ze[kn];Ie?(We.copy(nt.normals[0]).multiplyScalar(sa.x),dt.copy(nt.binormals[0]).multiplyScalar(sa.y),it.copy(Ye[0]).add(We).add(dt),nr(it.x,it.y,it.z)):nr(sa.x,sa.y,0)}for(var Za=1;Za<=oe;Za++)for(var qo=0;qo<zr;qo++){var _s=J?fr(Ze[qo],Ja[qo],ea):Ze[qo];Ie?(We.copy(nt.normals[Za]).multiplyScalar(_s.x),dt.copy(nt.binormals[Za]).multiplyScalar(_s.y),it.copy(Ye[Za]).add(We).add(dt),nr(it.x,it.y,it.z)):nr(_s.x,_s.y,K/oe*Za)}for(var Bu=ie-1;Bu>=0;Bu--){for(var Nu=Bu/ie,Uu=_e*Math.cos(Nu*Math.PI/2),r2=Me*Math.sin(Nu*Math.PI/2)+Ae,zu=0,Nh=lr.length;zu<Nh;zu++){var Ee=fr(lr[zu],Rr[zu],r2);nr(Ee.x,Ee.y,K+Uu)}for(var vt=0,ot=lt.length;vt<ot;vt++){var bt=lt[vt];fa=Aa[vt];for(var zt=0,Ir=bt.length;zt<Ir;zt++){var Br=fr(bt[zt],fa[zt],r2);Ie?nr(Br.x,Br.y+Ye[oe-1].y,Ye[oe-1].x+Uu):nr(Br.x,Br.y,K+Uu)}}}yr(),Qr();function yr(){var Cr=f.length/3;if(J){for(var Lr=0,yn=zr*Lr,Nr=0;Nr<on;Nr++){var dn=Gt[Nr];Or(dn[2]+yn,dn[1]+yn,dn[0]+yn)}Lr=oe+ie*2,yn=zr*Lr;for(var Ln=0;Ln<on;Ln++){var Vn=Gt[Ln];Or(Vn[0]+yn,Vn[1]+yn,Vn[2]+yn)}}else{for(var Qa=0;Qa<on;Qa++){var Fi=Gt[Qa];Or(Fi[2],Fi[1],Fi[0])}for(var wo=0;wo<on;wo++){var x0=Gt[wo];Or(x0[0]+zr*oe,x0[1]+zr*oe,x0[2]+zr*oe)}}l.addGroup(Cr,f.length/3-Cr,0)}function Qr(){var Cr=f.length/3,Lr=0;Sn(lr,Lr),Lr+=lr.length;for(var yn=0,Nr=lt.length;yn<Nr;yn++){var dn=lt[yn];
5Sn(dn,Lr),Lr+=dn.length}l.addGroup(Cr,f.length/3-Cr,1)}function Sn(Cr,Lr){for(var yn=Cr.length;--yn>=0;){var Nr=yn,dn=yn-1;dn<0&&(dn=Cr.length-1);for(var Ln=0,Vn=oe+ie*2;Ln<Vn;Ln++){var Qa=zr*Ln,Fi=zr*(Ln+1),wo=Lr+Nr+Qa,x0=Lr+dn+Qa,Uh=Lr+dn+Fi,Lc=Lr+Nr+Fi;fn(wo,x0,Uh,Lc)}}}function nr(Cr,Lr,yn){Z.push(Cr),Z.push(Lr),Z.push(yn)}function Or(Cr,Lr,yn){Zr(Cr),Zr(Lr),Zr(yn);var Nr=f.length/3,dn=Te.generateTopUV(l,f,Nr-3,Nr-2,Nr-1);jn(dn[0]),jn(dn[1]),jn(dn[2])}function fn(Cr,Lr,yn,Nr){Zr(Cr),Zr(Lr),Zr(Nr),Zr(Lr),Zr(yn),Zr(Nr);var dn=f.length/3,Ln=Te.generateSideWallUV(l,f,dn-6,dn-3,dn-2,dn-1);jn(Ln[0]),jn(Ln[1]),jn(Ln[3]),jn(Ln[1]),jn(Ln[2]),jn(Ln[3])}function Zr(Cr){f.push(Z[Cr*3+0]),f.push(Z[Cr*3+1]),f.push(Z[Cr*3+2])}function jn(Cr){m.push(Cr.x),m.push(Cr.y)}}return a}return rt(e,[{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this),a=this.parameters.shapes,l=this.parameters.options;return B7(a,l,t)}}],[{key:"fromJSON",value:function(t,a){for(var l=[],f=0,m=t.shapes.length;f<m;f++){var x=a[t.shapes[f]];l.push(x)}var D=t.options.extrudePath;return D!==void 0&&(t.options.extrudePath=new th[D.type]().fromJSON(D)),new e(l,t.options)}}]),e}(mr),F7={generateTopUV:function(s,e,r,t,a){var l=e[r*3],f=e[r*3+1],m=e[t*3],x=e[t*3+1],D=e[a*3],I=e[a*3+1];return[new Je(l,f),new Je(m,x),new Je(D,I)]},generateSideWallUV:function(s,e,r,t,a,l){var f=e[r*3],m=e[r*3+1],x=e[r*3+2],D=e[t*3],I=e[t*3+1],N=e[t*3+2],W=e[a*3],Z=e[a*3+1],Q=e[a*3+2],oe=e[l*3],K=e[l*3+1],J=e[l*3+2];return Math.abs(m-I)<Math.abs(f-D)?[new Je(f,1-x),new Je(D,1-N),new Je(W,1-Q),new Je(oe,1-J)]:[new Je(m,1-x),new Je(I,1-N),new Je(Z,1-Q),new Je(K,1-J)]}};function B7(i,s,e){if(e.shapes=[],Array.isArray(i))for(var r=0,t=i.length;r<t;r++){var a=i[r];e.shapes.push(a.uuid)}else e.shapes.push(i.uuid);return s.extrudePath!==void 0&&(e.options.extrudePath=s.extrudePath.toJSON()),e}var id=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ge(this,e);var l=(1+Math.sqrt(5))/2,f=[-1,l,0,1,l,0,-1,-l,0,1,-l,0,0,-1,l,0,1,l,0,-1,-l,0,1,-l,l,0,-1,l,0,1,-l,0,-1,-l,0,1],m=[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1];return r=s.call(this,f,m,t,a),r.type="IcosahedronGeometry",r.parameters={radius:t,detail:a},r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radius,t.detail)}}]),e}(Au),oh=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ge(this,e);var l=[1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],f=[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2];return r=s.call(this,l,f,t,a),r.type="OctahedronGeometry",r.parameters={radius:t,detail:a},r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radius,t.detail)}}]),e}(Au),od=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l;Ge(this,e),l=s.call(this),l.type="ParametricGeometry",l.parameters={func:r,slices:t,stacks:a};var f=[],m=[],x=[],D=[],I=1e-5,N=new pe,W=new pe,Z=new pe,Q=new pe,oe=new pe;r.length<3&&console.error("THREE.ParametricGeometry: Function must now modify a Vector3 as third parameter.");for(var K=t+1,J=0;J<=a;J++)for(var _e=J/a,Me=0;Me<=t;Me++){var Ae=Me/t;r(Ae,_e,W),m.push(W.x,W.y,W.z),Ae-I>=0?(r(Ae-I,_e,Z),Q.subVectors(W,Z)):(r(Ae+I,_e,Z),Q.subVectors(Z,W)),_e-I>=0?(r(Ae,_e-I,Z),oe.subVectors(W,Z)):(r(Ae,_e+I,Z),oe.subVectors(Z,W)),N.crossVectors(Q,oe).normalize(),x.push(N.x,N.y,N.z),D.push(Ae,_e)}for(var ie=0;ie<a;ie++)for(var we=0;we<t;we++){var Te=ie*K+we,Ye=ie*K+we+1,Ie=(ie+1)*K+we+1,nt=(ie+1)*K+we;f.push(Te,Ye,nt),f.push(Ye,Ie,nt)}return l.setIndex(f),l.setAttribute("position",new ur(m,3)),l.setAttribute("normal",new ur(x,3)),l.setAttribute("uv",new ur(D,2)),l}return e}(mr),sd=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:.5,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:8,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:Math.PI*2;Ge(this,e),r=s.call(this),r.type="RingGeometry",r.parameters={innerRadius:t,outerRadius:a,thetaSegments:l,phiSegments:f,thetaStart:m,thetaLength:x},l=Math.max(3,l),f=Math.max(1,f);for(var D=[],I=[],N=[],W=[],Z=t,Q=(a-t)/f,oe=new pe,K=new Je,J=0;J<=f;J++){for(var _e=0;_e<=l;_e++){var Me=m+_e/l*x;oe.x=Z*Math.cos(Me),oe.y=Z*Math.sin(Me),I.push(oe.x,oe.y,oe.z),N.push(0,0,1),K.x=(oe.x/a+1)/2,K.y=(oe.y/a+1)/2,W.push(K.x,K.y)}Z+=Q}for(var Ae=0;Ae<f;Ae++)for(var ie=Ae*(l+1),we=0;we<l;we++){var Te=we+ie,Ye=Te,Ie=Te+l+1,nt=Te+l+2,dt=Te+1;D.push(Ye,Ie,dt),D.push(Ie,nt,dt)}return r.setIndex(D),r.setAttribute("position",new ur(I,3)),r.setAttribute("normal",new ur(N,3)),r.setAttribute("uv",new ur(W,2)),r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.innerRadius,t.outerRadius,t.thetaSegments,t.phiSegments,t.thetaStart,t.thetaLength)}}]),e}(mr),sh=function(i){ut(e,i);var s=at(e);function e(r){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:12;Ge(this,e),t=s.call(this),t.type="ShapeGeometry",t.parameters={shapes:r,curveSegments:a};var l=[],f=[],m=[],x=[],D=0,I=0;if(Array.isArray(r)===!1)W(r);else for(var N=0;N<r.length;N++)W(r[N]),t.addGroup(D,I,N),D+=I,I=0;t.setIndex(l),t.setAttribute("position",new ur(f,3)),t.setAttribute("normal",new ur(m,3)),t.setAttribute("uv",new ur(x,2));function W(Z){var Q=f.length/3,oe=Z.extractPoints(a),K=oe.shape,J=oe.holes;H0.isClockWise(K)===!1&&(K=K.reverse());for(var _e=0,Me=J.length;_e<Me;_e++){var Ae=J[_e];H0.isClockWise(Ae)===!0&&(J[_e]=Ae.reverse())}for(var ie=H0.triangulateShape(K,J),we=0,Te=J.length;we<Te;we++){var Ye=J[we];K=K.concat(Ye)}for(var Ie=0,nt=K.length;Ie<nt;Ie++){var dt=K[Ie];f.push(dt.x,dt.y,0),m.push(0,0,1),x.push(dt.x,dt.y)}for(var We=0,it=ie.length;We<it;We++){var ht=ie[We],Ze=ht[0]+Q,lt=ht[1]+Q,Et=ht[2]+Q;l.push(Ze,lt,Et),I+=3}}return t}return rt(e,[{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this),a=this.parameters.shapes;return N7(a,t)}}],[{key:"fromJSON",value:function(t,a){for(var l=[],f=0,m=t.shapes.length;f<m;f++){var x=a[t.shapes[f]];l.push(x)}return new e(l,t.curveSegments)}}]),e}(mr);function N7(i,s){if(s.shapes=[],Array.isArray(i))for(var e=0,r=i.length;e<r;e++){var t=i[e];s.shapes.push(t.uuid)}else s.shapes.push(i.uuid);return s}var uh=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:8,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:6,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:Math.PI*2,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,D=arguments.length>6&&arguments[6]!==void 0?arguments[6]:Math.PI;Ge(this,e),r=s.call(this),r.type="SphereGeometry",r.parameters={radiu
5s:t,widthSegments:a,heightSegments:l,phiStart:f,phiLength:m,thetaStart:x,thetaLength:D},a=Math.max(3,Math.floor(a)),l=Math.max(2,Math.floor(l));for(var I=Math.min(x+D,Math.PI),N=0,W=[],Z=new pe,Q=new pe,oe=[],K=[],J=[],_e=[],Me=0;Me<=l;Me++){var Ae=[],ie=Me/l,we=0;Me===0&&x===0?we=.5/a:Me===l&&I===Math.PI&&(we=-.5/a);for(var Te=0;Te<=a;Te++){var Ye=Te/a;Z.x=-t*Math.cos(f+Ye*m)*Math.sin(x+ie*D),Z.y=t*Math.cos(x+ie*D),Z.z=t*Math.sin(f+Ye*m)*Math.sin(x+ie*D),K.push(Z.x,Z.y,Z.z),Q.copy(Z).normalize(),J.push(Q.x,Q.y,Q.z),_e.push(Ye+we,1-ie),Ae.push(N++)}W.push(Ae)}for(var Ie=0;Ie<l;Ie++)for(var nt=0;nt<a;nt++){var dt=W[Ie][nt+1],We=W[Ie][nt],it=W[Ie+1][nt],ht=W[Ie+1][nt+1];(Ie!==0||x>0)&&oe.push(dt,We,ht),(Ie!==l-1||I<Math.PI)&&oe.push(We,it,ht)}return r.setIndex(oe),r.setAttribute("position",new ur(K,3)),r.setAttribute("normal",new ur(J,3)),r.setAttribute("uv",new ur(_e,2)),r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radius,t.widthSegments,t.heightSegments,t.phiStart,t.phiLength,t.thetaStart,t.thetaLength)}}]),e}(mr),ud=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ge(this,e);var l=[1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],f=[2,1,0,0,3,2,1,3,0,2,3,1];return r=s.call(this,l,f,t,a),r.type="TetrahedronGeometry",r.parameters={radius:t,detail:a},r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radius,t.detail)}}]),e}(Au),ld=function(i){ut(e,i);var s=at(e);function e(r){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ge(this,e);var l=a.font;if(!(l&&l.isFont))return console.error("THREE.TextGeometry: font parameter is not an instance of THREE.Font."),r0(t,new mr);var f=l.generateShapes(r,a.size);return a.depth=a.height!==void 0?a.height:50,a.bevelThickness===void 0&&(a.bevelThickness=10),a.bevelSize===void 0&&(a.bevelSize=8),a.bevelEnabled===void 0&&(a.bevelEnabled=!1),t=s.call(this,f,a),t.type="TextGeometry",t}return e}(T1),cd=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.4,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:8,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:6,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:Math.PI*2;Ge(this,e),r=s.call(this),r.type="TorusGeometry",r.parameters={radius:t,tube:a,radialSegments:l,tubularSegments:f,arc:m},l=Math.floor(l),f=Math.floor(f);for(var x=[],D=[],I=[],N=[],W=new pe,Z=new pe,Q=new pe,oe=0;oe<=l;oe++)for(var K=0;K<=f;K++){var J=K/f*m,_e=oe/l*Math.PI*2;Z.x=(t+a*Math.cos(_e))*Math.cos(J),Z.y=(t+a*Math.cos(_e))*Math.sin(J),Z.z=a*Math.sin(_e),D.push(Z.x,Z.y,Z.z),W.x=t*Math.cos(J),W.y=t*Math.sin(J),Q.subVectors(Z,W).normalize(),I.push(Q.x,Q.y,Q.z),N.push(K/f),N.push(oe/l)}for(var Me=1;Me<=l;Me++)for(var Ae=1;Ae<=f;Ae++){var ie=(f+1)*Me+Ae-1,we=(f+1)*(Me-1)+Ae-1,Te=(f+1)*(Me-1)+Ae,Ye=(f+1)*Me+Ae;x.push(ie,we,Ye),x.push(we,Te,Ye)}return r.setIndex(x),r.setAttribute("position",new ur(D,3)),r.setAttribute("normal",new ur(I,3)),r.setAttribute("uv",new ur(N,2)),r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radius,t.tube,t.radialSegments,t.tubularSegments,t.arc)}}]),e}(mr),hd=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.4,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:64,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:2,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:3;Ge(this,e),r=s.call(this),r.type="TorusKnotGeometry",r.parameters={radius:t,tube:a,tubularSegments:l,radialSegments:f,p:m,q:x},l=Math.floor(l),f=Math.floor(f);for(var D=[],I=[],N=[],W=[],Z=new pe,Q=new pe,oe=new pe,K=new pe,J=new pe,_e=new pe,Me=new pe,Ae=0;Ae<=l;++Ae){var ie=Ae/l*m*Math.PI*2;lt(ie,m,x,t,oe),lt(ie+.01,m,x,t,K),_e.subVectors(K,oe),Me.addVectors(K,oe),J.crossVectors(_e,Me),Me.crossVectors(J,_e),J.normalize(),Me.normalize();for(var we=0;we<=f;++we){var Te=we/f*Math.PI*2,Ye=-a*Math.cos(Te),Ie=a*Math.sin(Te);Z.x=oe.x+(Ye*Me.x+Ie*J.x),Z.y=oe.y+(Ye*Me.y+Ie*J.y),Z.z=oe.z+(Ye*Me.z+Ie*J.z),I.push(Z.x,Z.y,Z.z),Q.subVectors(Z,oe).normalize(),N.push(Q.x,Q.y,Q.z),W.push(Ae/l),W.push(we/f)}}for(var nt=1;nt<=l;nt++)for(var dt=1;dt<=f;dt++){var We=(f+1)*(nt-1)+(dt-1),it=(f+1)*nt+(dt-1),ht=(f+1)*nt+dt,Ze=(f+1)*(nt-1)+dt;D.push(We,it,Ze),D.push(it,ht,Ze)}r.setIndex(D),r.setAttribute("position",new ur(I,3)),r.setAttribute("normal",new ur(N,3)),r.setAttribute("uv",new ur(W,2));function lt(Et,Xt,Bt,Ot,Gt){var lr=Math.cos(Et),Dr=Math.sin(Et),Ar=Bt/Xt*Et,Fe=Math.cos(Ar);Gt.x=Ot*(2+Fe)*.5*lr,Gt.y=Ot*(2+Fe)*Dr*.5,Gt.z=Ot*Math.sin(Ar)*.5}return r}return rt(e,null,[{key:"fromJSON",value:function(t){return new e(t.radius,t.tube,t.tubularSegments,t.radialSegments,t.p,t.q)}}]),e}(mr),fd=function(i){ut(e,i);var s=at(e);function e(r){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:64,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;Ge(this,e),t=s.call(this),t.type="TubeGeometry",t.parameters={path:r,tubularSegments:a,radius:l,radialSegments:f,closed:m};var x=r.computeFrenetFrames(a,m);t.tangents=x.tangents,t.normals=x.normals,t.binormals=x.binormals;var D=new pe,I=new pe,N=new Je,W=new pe,Z=[],Q=[],oe=[],K=[];J(),t.setIndex(K),t.setAttribute("position",new ur(Z,3)),t.setAttribute("normal",new ur(Q,3)),t.setAttribute("uv",new ur(oe,2));function J(){for(var ie=0;ie<a;ie++)_e(ie);_e(m===!1?a:0),Ae(),Me()}function _e(ie){W=r.getPointAt(ie/a,W);for(var we=x.normals[ie],Te=x.binormals[ie],Ye=0;Ye<=f;Ye++){var Ie=Ye/f*Math.PI*2,nt=Math.sin(Ie),dt=-Math.cos(Ie);I.x=dt*we.x+nt*Te.x,I.y=dt*we.y+nt*Te.y,I.z=dt*we.z+nt*Te.z,I.normalize(),Q.push(I.x,I.y,I.z),D.x=W.x+l*I.x,D.y=W.y+l*I.y,D.z=W.z+l*I.z,Z.push(D.x,D.y,D.z)}}function Me(){for(var ie=1;ie<=a;ie++)for(var we=1;we<=f;we++){var Te=(f+1)*(ie-1)+(we-1),Ye=(f+1)*ie+(we-1),Ie=(f+1)*ie+we,nt=(f+1)*(ie-1)+we;K.push(Te,Ye,nt),K.push(Ye,Ie,nt)}}function Ae(){for(var ie=0;ie<=a;ie++)for(var we=0;we<=f;we++)N.x=ie/a,N.y=we/f,oe.push(N.x,N.y)}return t}return rt(e,[{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);return t.path=this.parameters.path.toJSON(),t}}],[{key:"fromJSON",value:function(t){return new e(new th[t.path.type]().fromJSON(t.path),t.tubularSegments,t.radiu
5s,t.radialSegments,t.closed)}}]),e}(mr),dd=function(i){ut(e,i);var s=at(e);function e(r){var t;if(Ge(this,e),t=s.call(this),t.type="WireframeGeometry",r.isGeometry===!0)return console.error("THREE.WireframeGeometry no longer supports THREE.Geometry. Use THREE.BufferGeometry instead."),r0(t);var a=[],l=[0,0],f={},m=new pe;if(r.index!==null){var x=r.attributes.position,D=r.index,I=r.groups;I.length===0&&(I=[{start:0,count:D.count,materialIndex:0}]);for(var N=0,W=I.length;N<W;++N)for(var Z=I[N],Q=Z.start,oe=Z.count,K=Q,J=Q+oe;K<J;K+=3)for(var _e=0;_e<3;_e++){var Me=D.getX(K+_e),Ae=D.getX(K+(_e+1)%3);l[0]=Math.min(Me,Ae),l[1]=Math.max(Me,Ae);var ie="".concat(l[0],",").concat(l[1]);f[ie]===void 0&&(f[ie]={index1:l[0],index2:l[1]})}for(var we in f){var Te=f[we];m.fromBufferAttribute(x,Te.index1),a.push(m.x,m.y,m.z),m.fromBufferAttribute(x,Te.index2),a.push(m.x,m.y,m.z)}}else for(var Ye=r.attributes.position,Ie=0,nt=Ye.count/3;Ie<nt;Ie++)for(var dt=0;dt<3;dt++){var We=3*Ie+dt;m.fromBufferAttribute(Ye,We),a.push(m.x,m.y,m.z);var it=3*Ie+(dt+1)%3;m.fromBufferAttribute(Ye,it),a.push(m.x,m.y,m.z)}return t.setAttribute("position",new ur(a,3)),t}return e}(mr),lh=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="ShadowMaterial",t.color=new Zt(0),t.transparent=!0,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.color.copy(t.color),this}}]),e}($n);lh.prototype.isShadowMaterial=!0;var Ou=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this,r),t.type="RawShaderMaterial",t}return e}(ui);Ou.prototype.isRawShaderMaterial=!0;var bc=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.defines={STANDARD:""},t.type="MeshStandardMaterial",t.color=new Zt(16777215),t.roughness=1,t.metalness=0,t.map=null,t.lightMap=null,t.lightMapIntensity=1,t.aoMap=null,t.aoMapIntensity=1,t.emissive=new Zt(0),t.emissiveIntensity=1,t.emissiveMap=null,t.bumpMap=null,t.bumpScale=1,t.normalMap=null,t.normalMapType=e0,t.normalScale=new Je(1,1),t.displacementMap=null,t.displacementScale=1,t.displacementBias=0,t.roughnessMap=null,t.metalnessMap=null,t.alphaMap=null,t.envMap=null,t.envMapIntensity=1,t.refractionRatio=.98,t.wireframe=!1,t.wireframeLinewidth=1,t.wireframeLinecap="round",t.wireframeLinejoin="round",t.morphTargets=!1,t.morphNormals=!1,t.flatShading=!1,t.vertexTangents=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.defines={STANDARD:""},this.color.copy(t.color),this.roughness=t.roughness,this.metalness=t.metalness,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.roughnessMap=t.roughnessMap,this.metalnessMap=t.metalnessMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapIntensity=t.envMapIntensity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.morphTargets=t.morphTargets,this.morphNormals=t.morphNormals,this.flatShading=t.flatShading,this.vertexTangents=t.vertexTangents,this}}]),e}($n);bc.prototype.isMeshStandardMaterial=!0;var ch=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.defines={STANDARD:"",PHYSICAL:""},t.type="MeshPhysicalMaterial",t.clearcoat=0,t.clearcoatMap=null,t.clearcoatRoughness=0,t.clearcoatRoughnessMap=null,t.clearcoatNormalScale=new Je(1,1),t.clearcoatNormalMap=null,t.reflectivity=.5,Object.defineProperty(fi(t),"ior",{get:function(){return(1+.4*this.reflectivity)/(1-.4*this.reflectivity)},set:function(l){this.reflectivity=ve(2.5*(l-1)/(l+1),0,1)}}),t.sheen=null,t.transmission=0,t.transmissionMap=null,t.thickness=.01,t.thicknessMap=null,t.attenuationDistance=0,t.attenuationColor=new Zt(1,1,1),t.setValues(r),t}
5return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.defines={STANDARD:"",PHYSICAL:""},this.clearcoat=t.clearcoat,this.clearcoatMap=t.clearcoatMap,this.clearcoatRoughness=t.clearcoatRoughness,this.clearcoatRoughnessMap=t.clearcoatRoughnessMap,this.clearcoatNormalMap=t.clearcoatNormalMap,this.clearcoatNormalScale.copy(t.clearcoatNormalScale),this.reflectivity=t.reflectivity,t.sheen?this.sheen=(this.sheen||new Zt).copy(t.sheen):this.sheen=null,this.transmission=t.transmission,this.transmissionMap=t.transmissionMap,this.thickness=t.thickness,this.thicknessMap=t.thicknessMap,this.attenuationDistance=t.attenuationDistance,this.attenuationColor.copy(t.attenuationColor),this}}]),e}(bc);ch.prototype.isMeshPhysicalMaterial=!0;var hh=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="MeshPhongMaterial",t.color=new Zt(16777215),t.specular=new Zt(1118481),t.shininess=30,t.map=null,t.lightMap=null,t.lightMapIntensity=1,t.aoMap=null,t.aoMapIntensity=1,t.emissive=new Zt(0),t.emissiveIntensity=1,t.emissiveMap=null,t.bumpMap=null,t.bumpScale=1,t.normalMap=null,t.normalMapType=e0,t.normalScale=new Je(1,1),t.displacementMap=null,t.displacementScale=1,t.displacementBias=0,t.specularMap=null,t.alphaMap=null,t.envMap=null,t.combine=gt,t.reflectivity=1,t.refractionRatio=.98,t.wireframe=!1,t.wireframeLinewidth=1,t.wireframeLinecap="round",t.wireframeLinejoin="round",t.morphTargets=!1,t.morphNormals=!1,t.flatShading=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.color.copy(t.color),this.specular.copy(t.specular),this.shininess=t.shininess,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.morphTargets=t.morphTargets,this.morphNormals=t.morphNormals,this.flatShading=t.flatShading,this}}]),e}($n);hh.prototype.isMeshPhongMaterial=!0;var fh=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.defines={TOON:""},t.type="MeshToonMaterial",t.color=new Zt(16777215),t.map=null,t.gradientMap=null,t.lightMap=null,t.lightMapIntensity=1,t.aoMap=null,t.aoMapIntensity=1,t.emissive=new Zt(0),t.emissiveIntensity=1,t.emissiveMap=null,t.bumpMap=null,t.bumpScale=1,t.normalMap=null,t.normalMapType=e0,t.normalScale=new Je(1,1),t.displacementMap=null,t.displacementScale=1,t.displacementBias=0,t.alphaMap=null,t.wireframe=!1,t.wireframeLinewidth=1,t.wireframeLinecap="round",t.wireframeLinejoin="round",t.morphTargets=!1,t.morphNormals=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.color.copy(t.color),this.map=t.map,this.gradientMap=t.gradientMap,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.morphTargets=t.morphTargets,this.morphNormals=t.morphNormals,this}}]),e}($n);fh.prototype.isMeshToonMaterial=!0;var dh=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="MeshNormalMaterial",t.bumpMap=null,t.bumpScale=1,t.normalMap=null,t.normalMapType=e0,t.normalScale=new Je(1,1),t.dis
5placementMap=null,t.displacementScale=1,t.displacementBias=0,t.wireframe=!1,t.wireframeLinewidth=1,t.fog=!1,t.morphTargets=!1,t.morphNormals=!1,t.flatShading=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.morphTargets=t.morphTargets,this.morphNormals=t.morphNormals,this.flatShading=t.flatShading,this}}]),e}($n);dh.prototype.isMeshNormalMaterial=!0;var vh=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="MeshLambertMaterial",t.color=new Zt(16777215),t.map=null,t.lightMap=null,t.lightMapIntensity=1,t.aoMap=null,t.aoMapIntensity=1,t.emissive=new Zt(0),t.emissiveIntensity=1,t.emissiveMap=null,t.specularMap=null,t.alphaMap=null,t.envMap=null,t.combine=gt,t.reflectivity=1,t.refractionRatio=.98,t.wireframe=!1,t.wireframeLinewidth=1,t.wireframeLinecap="round",t.wireframeLinejoin="round",t.morphTargets=!1,t.morphNormals=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.morphTargets=t.morphTargets,this.morphNormals=t.morphNormals,this}}]),e}($n);vh.prototype.isMeshLambertMaterial=!0;var mh=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.defines={MATCAP:""},t.type="MeshMatcapMaterial",t.color=new Zt(16777215),t.matcap=null,t.map=null,t.bumpMap=null,t.bumpScale=1,t.normalMap=null,t.normalMapType=e0,t.normalScale=new Je(1,1),t.displacementMap=null,t.displacementScale=1,t.displacementBias=0,t.alphaMap=null,t.morphTargets=!1,t.morphNormals=!1,t.flatShading=!1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.defines={MATCAP:""},this.color.copy(t.color),this.matcap=t.matcap,this.map=t.map,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.morphTargets=t.morphTargets,this.morphNormals=t.morphNormals,this.flatShading=t.flatShading,this}}]),e}($n);mh.prototype.isMeshMatcapMaterial=!0;var ph=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="LineDashedMaterial",t.scale=1,t.dashSize=3,t.gapSize=1,t.setValues(r),t}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.scale=t.scale,this.dashSize=t.dashSize,this.gapSize=t.gapSize,this}}]),e}($a);ph.prototype.isLineDashedMaterial=!0;var U7=Object.freeze({__proto__:null,ShadowMaterial:lh,SpriteMaterial:$2,RawShaderMaterial:Ou,ShaderMaterial:ui,PointsMaterial:M1,MeshPhysicalMaterial:ch,MeshStandardMaterial:bc,MeshPhongMaterial:hh,MeshToonMaterial:fh,MeshNormalMaterial:dh,MeshLambertMaterial:vh,MeshDepthMaterial:Z2,MeshDistanceMaterial:K2,MeshBasicMaterial:Xi,MeshMatcapMaterial:mh,LineDashedMaterial:ph,LineBasicMaterial:$a,Material:$n}),Qn={arraySlice:function(s,e,r){return Qn.isTypedArray(s)?new s.constructor(s.subarray(e,r!==void 0?r:s.length)):s.slice(e,r)},convertArray:function(s,e,r){return!s||!r&&s.constructor===e?s:typeof e.BYTES_PER_ELEMENT=="number"?new e(s):Array.prototype.slice.call(s)},isTypedArray:function(s){return ArrayBuffer.isView(s)&&!(s instanceof DataView)},getKeyframeOrder:function(s){function e(l,f){return s[l]-s[f]}for(var r=s.length,t=new Array(r),a=0;a!==r;++a)t[a]=a;return t.sort(e),t},sortedArray:function(s,e,r){for(var t=s.length,a=new s.constructor(t),l=0,f=0;f!==t;++l)for(var m=r[l]*e,x=0;x!==e;++x)a[f++]=s[m+x];return a},flattenJSON:function(s,e,r,t){for(var a=1,l=s[0];l!==void 0&&l[t]===void 0;)l=s[a++];if(l!==void 0){var f=l[t];if(f!==void 0)if(Array.isArray(f))do f=l[t],f!==void 0&&(e.push(l.time),r.push.apply(r,f)),l=s[a++];while(l!==void 0);else if(f.toArray!==void 0)do f=l[t],f!==void 0&&(e.push(l.time),f.toArray(r,r.length)),l=s[a++];while(l!==void 0);else do f=l[t],f!==void 0&&(e.push(l.time),r.push(f)),l=s[a++];while(l!==void 0)}},subclip:function(s,e,r,t){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:30,l=s.clone();l.name=e;for(var f=[],m=0;m<l.tracks.length;++m){for(var x=l.tracks[m],D=x.getValueSize(),I=[],N=[],W=0;W<x.times.length;++W){var Z=x.times[W]*a;if(!(Z<r||Z>=t)){I.push(x.times[W]);for(var Q=0;Q<D;++Q)N.push(x.values[W*D+Q])}}I.length!==0&&(x.times=Qn.convertArray(I,x.times.constructor),x.values=Qn.convertArray(N,x.values.constructor),f.push(x))}l.tracks=f;for(var oe=1/0,K=0;K<l.tracks.length;++K)oe>l.tracks[K].times[0]&&(oe=l.tracks[K].times[0]);for(var J=0;J<l.tracks.length;++J)l.tracks[J].shift(-1*oe);return l.resetDuration(),l},makeClipAdditive:function(s){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:s,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:30;t<=0&&(t=30);for(var a=r.tracks.length,l=e/t,f=function(I){var N=r.tracks[I],W=N.ValueTypeName;if(W==="bool"||W==="string")return"continue";var Z=s.tracks.find(function(Et){return Et.name===N.name&&Et.ValueTypeName===W});if(Z===void 0)return"continue";var Q=0,oe=N.getValueSize();N.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(Q=oe/3);var K=0,J=Z.getValueSize();Z.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(K=J/3);var _e=N.times.length-1,Me=void 0;
5if(l<=N.times[0]){var Ae=Q,ie=oe-Q;Me=Qn.arraySlice(N.values,Ae,ie)}else if(l>=N.times[_e]){var we=_e*oe+Q,Te=we+oe-Q;Me=Qn.arraySlice(N.values,we,Te)}else{var Ye=N.createInterpolant(),Ie=Q,nt=oe-Q;Ye.evaluate(l),Me=Qn.arraySlice(Ye.resultBuffer,Ie,nt)}if(W==="quaternion"){var dt=new ar().fromArray(Me).normalize().conjugate();dt.toArray(Me)}for(var We=Z.times.length,it=0;it<We;++it){var ht=it*J+K;if(W==="quaternion")ar.multiplyQuaternionsFlat(Z.values,ht,Me,0,Z.values,ht);else for(var Ze=J-K*2,lt=0;lt<Ze;++lt)Z.values[ht+lt]-=Me[lt]}},m=0;m<a;++m)var x=f(m);return s.blendMode=Sl,s}},y0=function(){function i(s,e,r,t){Ge(this,i),this.parameterPositions=s,this._cachedIndex=0,this.resultBuffer=t!==void 0?t:new e.constructor(r),this.sampleValues=e,this.valueSize=r,this.settings=null,this.DefaultSettings_={}}return rt(i,[{key:"evaluate",value:function(e){var r=this.parameterPositions,t=this._cachedIndex,a=r[t],l=r[t-1];e:{t:{var f;r:{n:if(!(e<a)){for(var m=t+2;;){if(a===void 0){if(e<l)break n;return t=r.length,this._cachedIndex=t,this.after
5End_(t-1,e,l)}if(t===m)break;if(l=a,a=r[++t],e<a)break t}f=r.length;break r}if(!(e>=l)){var x=r[1];e<x&&(t=2,l=x);for(var D=t-2;;){if(l===void 0)return this._cachedIndex=0,this.beforeStart_(0,e,a);if(t===D)break;if(a=l,l=r[--t-1],e>=l)break t}f=t,t=0;break r}break e}for(;t<f;){var I=t+f>>>1;e<r[I]?f=I:t=I+1}if(a=r[t],l=r[t-1],l===void 0)return this._cachedIndex=0,this.beforeStart_(0,e,a);if(a===void 0)return t=r.length,this._cachedIndex=t,this.afterEnd_(t-1,l,e)}this._cachedIndex=t,this.intervalChanged_(t,l,a)}return this.interpolate_(t,l,e,a)}},{key:"getSettings_",value:function(){return this.settings||this.DefaultSettings_}},{key:"copySampleValue_",value:function(e){for(var r=this.resultBuffer,t=this.sampleValues,a=this.valueSize,l=e*a,f=0;f!==a;++f)r[f]=t[l+f];return r}},{key:"interpolate_",value:function(){throw new Error("call to abstract method")}},{key:"intervalChanged_",value:function(){}}]),i}();y0.prototype.beforeStart_=y0.prototype.copySampleValue_,y0.prototype.afterEnd_=y0.prototype.copySampleValue_;var vd=function(i){ut(e,i);var s=at(e);function e(r,t,a,l){var f;return Ge(this,e),f=s.call(this,r,t,a,l),f._weightPrev=-0,f._offsetPrev=-0,f._weightNext=-0,f._offsetNext=-0,f.DefaultSettings_={endingStart:$s,endingEnd:$s},f}return rt(e,[{key:"intervalChanged_",value:function(t,a,l){var f=this.parameterPositions,m=t-2,x=t+1,D=f[m],I=f[x];if(D===void 0)switch(this.getSettings_().endingStart){case Qs:m=t,D=2*a-l;break;case f1:m=f.length-2,D=a+f[m]-f[m+1];break;default:m=t,D=l}if(I===void 0)switch(this.getSettings_().endingEnd){case Qs:x=t,I=2*l-a;break;case f1:x=1,I=l+f[1]-f[0];break;default:x=t-1,I=a}var N=(l-a)*.5,W=this.valueSize;this._weightPrev=N/(a-D),this._weightNext=N/(I-l),this._offsetPrev=m*W,this._offsetNext=x*W}},{key:"interpolate_",value:function(t,a,l,f){for(var m=this.resultBuffer,x=this.sampleValues,D=this.valueSize,I=t*D,N=I-D,W=this._offsetPrev,Z=this._offsetNext,Q=this._weightPrev,oe=this._weightNext,K=(l-a)/(f-a),J=K*K,_e=J*K,Me=-Q*_e+2*Q*J-Q*K,Ae=(1+Q)*_e+(-1.5-2*Q)*J+(-.5+Q)*K+1,ie=(-1-oe)*_e+(1.5+oe)*J+.5*K,we=oe*_e-oe*J,Te=0;Te!==D;++Te)m[Te]=Me*x[W+Te]+Ae*x[N+Te]+ie*x[I+Te]+we*x[Z+Te];return m}}]),e}(y0),gh=function(i){ut(e,i);var s=at(e);function e(r,t,a,l){return Ge(this,e),s.call(this,r,t,a,l)}return rt(e,[{key:"interpolate_",value:function(t,a,l,f){for(var m=this.resultBuffer,x=this.sampleValues,D=this.valueSize,I=t*D,N=I-D,W=(l-a)/(f-a),Z=1-W,Q=0;Q!==D;++Q)m[Q]=x[N+Q]*Z+x[I+Q]*W;return m}}]),e}(y0),md=function(i){ut(e,i);var s=at(e);function e(r,t,a,l){return Ge(this,e),s.call(this,r,t,a,l)}return rt(e,[{key:"interpolate_",value:function(t){return this.copySampleValue_(t-1)}}]),e}(y0),gs=function(){function i(s,e,r,t){if(Ge(this,i),s===void 0)throw new Error("THREE.KeyframeTrack: track name is undefined");if(e===void 0||e.length===0)throw new Error("THREE.KeyframeTrack: no keyframes in track named ".concat(s));this.name=s,this.times=Qn.convertArray(e,this.TimeBufferType),this.values=Qn.convertArray(r,this.ValueBufferType),this.setInterpolation(t||this.DefaultInterpolation)}return rt(i,[{key:"InterpolantFactoryMethodDiscrete",value:function(e){return new md(this.times,this.values,this.getValueSize(),e)}},{key:"InterpolantFactoryMethodLinear",value:function(e){return new gh(this.times,this.values,this.getValueSize(),e)}},{key:"InterpolantFactoryMethodSmooth",value:function(e){return new vd(this.times,this.values,this.getValueSize(),e)}},{key:"setInterpolation",value:function(e){var r;switch(e){case c1:r=this.InterpolantFactoryMethodDiscrete;break;case h1:r=this.InterpolantFactoryMethodLinear;break;case ou:r=this.InterpolantFactoryMethodSmooth;break}if(r===void 0){var t="unsupported interpolation for ".concat(this.ValueTypeName," keyframe track named ").concat(this.name);if(this.createInterpolant===void 0)if(e!==this.DefaultInterpolation)this.setInterpolation(this.DefaultInterpolation);else throw new Error(t);return console.warn("THREE.KeyframeTrack:",t),this}return this.createInterpolant=r,this}},{key:"getInterpolation",value:function(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return c1;case this.InterpolantFactoryMethodLinear:return h1;case this.InterpolantFactoryMethodSmooth:return ou}}},{key:"getValueSize",value:function(){return this.values.length/this.times.length}},{key:"shift",value:function(e){if(e!==0)for(var r=this.times,t=0,a=r.length;t!==a;++t)r[t]+=e;return this}},{key:"scale",value:function(e){if(e!==1)for(var r=this.times,t=0,a=r.length;t!==a;++t)r[t]*=e;return this}},{key:"trim",value:function(e,r){for(var t=this.times,a=t.length,l=0,f=a-1;l!==a&&t[l]<e;)++l;for(;f!==-1&&t[f]>r;)--f;if(++f,l!==0||f!==a){l>=f&&(f=Math.max(f,1),l=f-1);var m=this.getValueSize();this.times=Qn.arraySlice(t,l,f),this.values=Qn.arraySlice(this.values,l*m,f*m)}return this}},{key:"validate",value:function(){var e=!0,r=this.getValueSize();r-Math.floor(r)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);var t=this.times,a=this.values,l=t.length;l===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);for(var f=null,m=0;m!==l;m++){var x=t[m];if(typeof x=="number"&&isNaN(x)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,m,x),e=!1;break}if(f!==null&&f>x){console.error("THREE.KeyframeTrack: Out of order keys.",this,m,x,f),e=!1;break}f=x}if(a!==void 0&&Qn.isTypedArray(a))for(var D=0,I=a.length;D!==I;++D){var N=a[D];if(isNaN(N)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,D,N),e=!1;break}}return e}},{key:"optimize",value:function(){for(var e=Qn.arraySlice(this.times),r=Qn.arraySlice(this.values),t=this.getValueSize(),a=this.getInterpolation()===ou,l=e.length-1,f=1,m=1;m<l;++m){var x=!1,D=e[m],I=e[m+1];if(D!==I&&(m!==1||D!==e[0]))if(a)x=!0;else for(var N=m*t,W=N-t,Z=N+t,Q=0;Q!==t;++Q){var oe=r[N+Q];if(oe!==r[W+Q]||oe!==r[Z+Q]){x=!0;break}}if(x){if(m!==f){e[f]=e[m];for(var K=m*t,J=f*t,_e=0;_e!==t;++_e)r[J+_e]=r[K+_e]}++f}}if(l>0){e[f]=e[l];for(var Me=l*t,Ae=f*t,ie=0;ie!==t;++ie)r[Ae+ie]=r[Me+ie];++f}return f!==e.length?(this.times=Qn.arraySlice(e,0,f),this.values=Qn.arraySlice(r,0,f*t)):(this.times=e,this.values=r),this}},{key:"clone",value:function(){var e=Qn.arraySlice(this.times,0),r=Qn.arraySlice(this.values,0),t=this.constructor,a=new t(this.name,e,r);return a.createInterpolant=this.createInterpolant,a}}],[{key:"toJSON",value:function(e){var r=e.constructor,t;if(r.toJSON!==this.toJSON)t=r.toJSON(e);else{t={name:e.name,times:Qn.convertArray(e.times,Array),values:Qn.convertArray(e.values,Array)};var a=e.getInterpolation();a!==e.DefaultInterpolation&&(t.interpolation=a)}return t.type=e.ValueTypeName,t}}]),i}();gs.prototype.TimeBufferType=Float32Array,gs.prototype.ValueBufferType=Float32Array,gs.prototype.DefaultInterpolation=h1;var E1=function(i){ut(e,i);var s=at(e);function e(){return Ge(this,e),s.apply(this,arguments)}return e}(gs);E1.prototype.ValueTypeName="bool",E1.prototype.ValueBufferType=Array,E1.prototype.DefaultInterpolation=c1,E1.prototype.InterpolantFactoryMethodLinear=void 0,E1.prototype.InterpolantFactoryMethodSmooth=void 0;var yh=function(i){ut(e,i);var s=at(e);function e(){return Ge(this,e),s.apply(this,arguments)}return e}(gs);yh.prototype.ValueTypeName="color";var $l=function(i){ut(e,i);var s=at(e);function e(){return Ge(this,e),s.apply(this,arguments)}return e}(gs);$l.prototype.ValueTypeName="number";var pd=function(i){ut(e,i);var s=at(e);function e(r,t,a,l){return Ge(this,e),s.call(this,r,t,a,l)}return rt(e,[{key:"interpolate_",value:function(t,a,l,f){for(var m=this.resultBuffer,x=this.sampleValues,D=this.valueSize,I=(l-a)/(f-a),N=t*D,W=N+D;N!==W;N+=4)ar.slerpFlat(m,0,x,N-D,x,N,I);return m}}]),e}(y0),Lu=function(i){ut(e,i);var s=at(e);function e(){return Ge(this,e),s.apply(this,arguments)}return rt(e,[{key:"InterpolantFactoryMethodLinear",value:function(t){return new pd(this.times,this.values,this.getValueSize(),t)}}]),e}(gs);Lu.prototype.ValueTypeName="quaternion",Lu.prototype.DefaultInterpolation=h1,Lu.prototype.InterpolantFactoryMethodSmooth=void 0;var k1=function(i){ut(e,i);var s=at(e);function e(){return Ge(this,e),s.apply(this,arguments)}return e}(gs);k1.prototype.ValueTypeName="string",k1.prototype.ValueBufferType=Array,k1.prototype.DefaultInterpolation=c1,k1.prototype.InterpolantFactoryMethodLinear=void 0,k1.prototype.InterpolantFactoryMethodSmooth=void 0;var Ql=function(i){ut(e,i);var s=at(e);function e(){return Ge(this,e),s.apply(this,arguments)}return e}(gs);Ql.prototype.ValueTypeName="vector";var _c=function(){function i(s){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,r=arguments.length>2?arguments[2]:void 0,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:su;Ge(this,i),this.name=s,this.tracks=r,this.duration=e,this.blendMode=t,this.uuid=le(),this.duration<0&&this.resetDuration()}return rt(i,[{key:"resetDuration",value:function(){for(var e=this.tracks,r=0,t=0,a=e.length;t!==a;++t){var l=this.tracks[t];r=Math.max(r,l.times[l.times.length-1])}return this.duration=r,this}},{key:"trim",value:function(){for(var e=0;e<this.tracks.length;e++)this.tracks[e].trim(0,this.duration);return this}},{key:"validate",value:function(){for(var e=!0,r=0;r<this.tracks.length;r++)e=e&&this.tracks[r].validate();return e}},{key:"optimize",value:function(){for(var e=0;e<this.tracks.length;e++)this.tracks[e].optimize();return this}},{key:"clone",value:function(){for(var e=[],r=0;r<this.tracks.length;r++)e.push(this.tracks[r].clone());return new this.constructor(this.name,this.duration,e,this.blendMode)}},{key:"toJSON",value:function(){return this.constructor.toJSON(this)}}],[{key:"parse",value:function(e){for(var r=[],t=e.tracks,a=1/(e.fps||1),l=0,f=t.length;l!==f;++l)r.push(G7(t[l]).scale(a));var m=new this(e.name,e.duration,r,e.blendMode);return m.uuid=e.uuid,m}},{key:"toJSON",value:function(e){for(var r=[],t=e.tracks,a={name:e.name,duration:e.duration,tracks:r,uuid:e.uuid,blendMode:e.blendMode},l=0,f=t.length;l!==f;++l)r.push(gs.toJSON(t[l]));return a}},{key:"CreateFromMorphTargetSequence",value:function(e,r,t,a){for(var l=r.length,f=[],m=0;m<l;m++){var x=[],D=[];x.push((m+l-1)%l,m,(m+1)%l),D.push(0,1,0);var I=Qn.getKeyframeOrder(x);x=Qn.sortedArray(x,1,I),D=Qn.sortedArray(D,1,I),!a&&x[0]===0&&(x.push(l),D.push(D[0])),f.pu
5sh(new $l(".morphTargetInfluences[".concat(r[m].name,"]"),x,D).scale(1/t))}return new this(e,-1,f)}},{key:"findByName",value:function(e,r){var t=e;if(!Array.isArray(e)){var a=e;t=a.geometry&&a.geometry.animations||a.animations}for(var l=0;l<t.length;l++)if(t[l].name===r)return t[l];return null}},{key:"CreateClipsFromMorphTargetSequences",value:function(e,r,t){for(var a={},l=/^([\w-]*?)([\d]+)$/,f=0,m=e.length;f<m;f++){var x=e[f],D=x.name.match(l);if(D&&D.length>1){var I=D[1],N=a[I];N||(a[I]=N=[]),N.push(x)}}var W=[];for(var Z in a)W.push(this.CreateFromMorphTargetSequence(Z,a[Z],r,t));return W}},{key:"parseAnimation",value:function(e,r){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;for(var t=function(Te,Ye,Ie,nt,dt){if(Ie.length!==0){var We=[],it=[];Qn.flattenJSON(Ie,We,it,nt),We.length!==0&&dt.push(new Te(Ye,We,it))}},a=[],l=e.name||"default",f=e.fps||30,m=e.blendMode,x=e.length||-1,D=e.hierarchy||[],I=0;I<D.length;I++){var N=D[I].keys;if(!(!N||N.length===0))if(N[0].morphTargets){var W={},Z=void 0;for(Z=0;Z<N.length;Z++)if(N[Z].morphTargets)for(var Q=0;Q<N[Z].morphTargets.length;Q++)W[N[Z].morphTargets[Q]]=-1;for(var oe in W){for(var K=[],J=[],_e=0;_e!==N[Z].morphTargets.length;++_e){var Me=N[Z];K.push(Me.time),J.push(Me.morphTarget===oe?1:0)}a.push(new $l(".morphTargetInfluence[".concat(oe,"]"),K,J))}x=W.length*f}else{var Ae=".bones[".concat(r[I].name,"]");t(Ql,"".concat(Ae,".position"),N,"pos",a),t(Lu,"".concat(Ae,".quaternion"),N,"rot",a),t(Ql,"".concat(Ae,".scale"),N,"scl",a)}}if(a.length===0)return null;var ie=new this(l,x,a,m);return ie}}]),i}();function z7(i){switch(i.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return $l;case"vector":case"vector2":case"vector3":case"vector4":return Ql;case"color":return yh;case"quaternion":return Lu;case"bool":case"boolean":return E1;case"string":return k1}throw new Error("THREE.KeyframeTrack: Unsupported typeName: ".concat(i))}function G7(i){if(i.type===void 0)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");var s=z7(i.type);if(i.times===void 0){var e=[],r=[];Qn.flattenJSON(i.keys,e,r,"value"),i.times=e,i.values=r}return s.parse!==void 0?s.parse(i):new s(i.name,i.times,i.values,i.interpolation)}var A1={enabled:!1,files:{},add:function(s,e){this.enabled!==!1&&(this.files[s]=e)},get:function(s){if(this.enabled!==!1)return this.files[s]},remove:function(s){delete this.files[s]},clear:function(){this.files={}}},gd=function i(s,e,r){Ge(this,i);var t=this,a=!1,l=0,f=0,m,x=[];this.onStart=void 0,this.onLoad=s,this.onProgress=e,this.onError=r,this.itemStart=function(D){f++,a===!1&&t.onStart!==void 0&&t.onStart(D,l,f),a=!0},this.itemEnd=function(D){l++,t.onProgress!==void 0&&t.onProgress(D,l,f),l===f&&(a=!1,t.onLoad!==void 0&&t.onLoad())},this.itemError=function(D){t.onError!==void 0&&t.onError(D)},this.resolveURL=function(D){return m?m(D):D},this.setURLModifier=function(D){return m=D,this},this.addHandler=function(D,I){return x.push(D,I),this},this.removeHandler=function(D){var I=x.indexOf(D);return I!==-1&&x.splice(I,2),this},this.getHandler=function(D){for(var I=0,N=x.length;I<N;I+=2){var W=x[I],Z=x[I+1];if(W.global&&(W.lastIndex=0),W.test(D))return Z}return null}},yd=new gd,Ii=function(){function i(s){Ge(this,i),this.manager=s!==void 0?s:yd,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}return rt(i,[{key:"load",value:function(){}},{key:"loadAsync",value:function(e,r){var t=this;return new Promise(function(a,l){t.load(e,a,r,l)})}},{key:"parse",value:function(){}},{key:"setCrossOrigin",value:function(e){return this.crossOrigin=e,this}},{key:"setWithCredentials",value:function(e){return this.withCredentials=e,this}},{key:"setPath",value:function(e){return this.path=e,this}},{key:"setResourcePath",value:function(e){return this.resourcePath=e,this}},{key:"setRequestHeader",value:function(e){return this.requestHeader=e,this}}]),i}(),ys={},b0=function(i){ut(e,i);var s=at(e);function e(r){return Ge(this,e),s.call(this,r)}return rt(e,[{key:"load",value:function(t,a,l,f){t===void 0&&(t=""),this.path!==void 0&&(t=this.path+t),t=this.manager.resolveURL(t);var m=this,x=A1.get(t);if(x!==void 0)return m.manager.itemStart(t),setTimeout(function(){a&&a(x),m.manager.itemEnd(t)},0),x;if(ys[t]!==void 0){ys[t].push({onLoad:a,onProgress:l,onError:f});return}var D=/^data:(.*?)(;base64)?,(.*)$/,I=t.match(D),N;
vendor: 7,000 bytes, line 5
5if(I){var W=I[1],Z=!!I[2],Q=I[3];Q=decodeURIComponent(Q),Z&&(Q=atob(Q));try{var oe,K=(this.responseType||"").toLowerCase();switch(K){case"arraybuffer":case"blob":for(var J=new Uint8Array(Q.length),_e=0;_e<Q.length;_e++)J[_e]=Q.charCodeAt(_e);K==="blob"?oe=new Blob([J.buffer],{type:W}):oe=J.buffer;break;case"document":var Me=new DOMParser;oe=Me.parseFromString(Q,W);break;case"json":oe=JSON.parse(Q);break;default:oe=Q;break}setTimeout(function(){a&&a(oe),m.manager.itemEnd(t)},0)}catch(ie){setTimeout(function(){f&&f(ie),m.manager.itemError(t),m.manager.itemEnd(t)},0)}}else{ys[t]=[],ys[t].push({onLoad:a,onProgress:l,onError:f}),N=new XMLHttpRequest,N.open("GET",t,!0),N.addEventListener("load",function(ie){var we=this.response,Te=ys[t];if(delete ys[t],this.status===200||this.status===0){this.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),A1.add(t,we);for(var Ye=0,Ie=Te.length;Ye<Ie;Ye++){var nt=Te[Ye];nt.onLoad&&nt.onLoad(we)}m.manager.itemEnd(t)}else{for(var dt=0,We=Te.length;dt<We;dt++){var it=Te[dt];it.onError&&it.onError(ie)}m.manager.itemError(t),m.manager.itemEnd(t)}},!1),N.addEventListener("progress",function(ie){for(var we=ys[t],Te=0,Ye=we.length;Te<Ye;Te++){var Ie=we[Te];Ie.onProgress&&Ie.onProgress(ie)}},!1),N.addEventListener("error",function(ie){var we=ys[t];delete ys[t];for(var Te=0,Ye=we.length;Te<Ye;Te++){var Ie=we[Te];Ie.onError&&Ie.onError(ie)}m.manager.itemError(t),m.manager.itemEnd(t)},!1),N.addEventListener("abort",function(ie){var we=ys[t];delete ys[t];for(var Te=0,Ye=we.length;Te<Ye;Te++){var Ie=we[Te];Ie.onError&&Ie.onError(ie)}m.manager.itemError(t),m.manager.itemEnd(t)},!1),this.responseType!==void 0&&(N.responseType=this.responseType),this.withCredentials!==void 0&&(N.withCredentials=this.withCredentials),N.overrideMimeType&&N.overrideMimeType(this.mimeType!==void 0?this.mimeType:"text/plain");for(var Ae in this.requestHeader)N.setRequestHeader(Ae,this.requestHeader[Ae]);N.send(null)}return m.manager.itemStart(t),N}},{key:"setResponseType",value:function(t){return this.responseType=t,this}},{key:"setMimeType",value:function(t){return this.mimeType=t,this}}]),e}(Ii),V7=function(i){ut(e,i);var s=at(e);function e(r){return Ge(this,e),s.call(this,r)}return rt(e,[{key:"load",value:function(t,a,l,f){var m=this,x=new b0(this.manager);x.setPath(this.path),x.setRequestHeader(this.requestHeader),x.setWithCredentials(this.withCredentials),x.load(t,function(D){try{a(m.parse(JSON.parse(D)))}catch(I){f?f(I):console.error(I),m.manager.itemError(t)}},l,f)}},{key:"parse",value:function(t){for(var a=[],l=0;l<t.length;l++){var f=_c.parse(t[l]);a.push(f)}return a}}]),e}(Ii),H7=function(i){ut(e,i);var s=at(e);function e(r){return Ge(this,e),s.call(this,r)}return rt(e,[{key:"load",value:function(t,a,l,f){var m=this,x=[],D=new Y3,I=new b0(this.manager);I.setPath(this.path),I.setResponseType("arraybuffer"),I.setRequestHeader(this.requestHeader),I.setWithCredentials(m.withCredentials);var N=0;function W(oe){I.load(t[oe],function(K){var J=m.parse(K,!0);x[oe]={width:J.width,height:J.height,format:J.format,mipmaps:J.mipmaps},N+=1,N===6&&(J.mipmapCount===1&&(D.minFilter=Wn),D.image=x,D.format=J.format,D.needsUpdate=!0,a&&a(D))},l,f)}if(Array.isArray(t))for(var Z=0,Q=t.length;Z<Q;++Z)W(Z);else I.load(t,function(oe){var K=m.parse(oe,!0);if(K.isCubemap){for(var J=K.mipmaps.length/K.mipmapCount,_e=0;_e<J;_e++){x[_e]={mipmaps:[]};for(var Me=0;Me<K.mipmapCount;Me++)x[_e].mipmaps.push(K.mipmaps[_e*K.mipmapCount+Me]),x[_e].format=K.format,x[_e].width=K.width,x[_e].height=K.height}D.image=x}else D.image.width=K.width,D.image.height=K.height,D.mipmaps=K.mipmaps;K.mipmapCount===1&&(D.minFilter=Wn),D.format=K.format,D.needsUpdate=!0,a&&a(D)},l,f);return D}}]),e}(Ii),bh=function(i){ut(e,i);var s=at(e);function e(r){return Ge(this,e),s.call(this,r)}return rt(e,[{key:"load",value:function(t,a,l,f){this.path!==void 0&&(t=this.path+t),t=this.manager.resolveURL(t);var m=this,x=A1.get(t);if(x!==void 0)return m.manager.itemStart(t),setTimeout(function(){a&&a(x),m.manager.itemEnd(t)},0),x;var D=document.createElementNS("http://www.w3.org/1999/xhtml","img");function I(){D.removeEventListener("load",I,!1),D.removeEventListener("error",N,!1),A1.add(t,this),a&&a(this),m.manager.itemEnd(t)}function N(W){D.removeEventListener("load",I,!1),D.removeEventListener("error",N,!1),f&&f(W),m.manager.itemError(t),m.manager.itemEnd(t)}return D.addEventListener("load",I,!1),D.addEventListener("error",N,!1),t.substr(0,5)!=="data:"&&this.crossOrigin!==void 0&&(D.crossOrigin=this.crossOrigin),m.manager.itemStart(t),D.src=t,D}}]),e}(Ii),bd=function(i){ut(e,i);var s=at(e);function e(r){return Ge(this,e),s.call(this,r)}return rt(e,[{key:"load",value:function(t,a,l,f){var m=new Ji,x=new bh(this.manager);x.setCrossOrigin(this.crossOrigin),x.setPath(this.path);var D=0;function I(W){x.load(t[W],function(Z){m.images[W]=Z,D++,D===6&&(m.needsUpdate=!0,a&&a(m))},void 0,f)}for(var N=0;N<t.length;++N)I(N);return m}}]),e}(Ii),_d=function(i){ut(e,i);var s=at(e);function e(r){return Ge(this,e),s.call(this,r)}return rt(e,[{key:"load",value:function(t,a,l,f){var m=this,x=new nc,D=new b0(this.manager);return D.setResponseType("arraybuffer"),D.setRequestHeader(this.requestHeader),D.setPath(this.path),D.setWithCredentials(m.withCredentials),D.load(t,function(I){var N=m.parse(I);N&&(N.image!==void 0?x.image=N.image:N.data!==void 0&&(x.image.width=N.width,x.image.height=N.height,x.image.data=N.data),x.wrapS=N.wrapS!==void 0?N.wrapS:dr,x.wrapT=N.wrapT!==void 0?N.wrapT:dr,x.magFilter=N.magFilter!==void 0?N.magFilter:Wn,x.minFilter=N.minFilter!==void 0?N.minFilter:Wn,x.anisotropy=N.anisotropy!==void 0?N.anisotropy:1,N.encoding!==void 0&&(x.encoding=N.encoding),N.flipY!==void 0&&(x.flipY=N.flipY),N.format!==void 0&&(x.format=N.format),N.type!==void 0&&(x.type=N.type),N.mipmaps!==void 0&&(x.mipmaps=N.mipmaps,x.minFilter=ro),N.mipmapCount===1&&(x.minFilter=Wn),N.generateMipmaps!==void 0&&(x.generateMipmaps=N.generateMipmaps),x.needsUpdate=!0,a&&a(x,N))},l,f),x}}]),e}(Ii),xd=function(i){ut(e,i);var s=at(e);function e(r){return Ge(this,e),s.call(this,r)}return rt(e,[{key:"load",value:function(t,a,l,f){var m=new Nt,x=new bh(this.manager);return x.setCrossOrigin(this.crossOrigin),x.setPath(this.path),x.load(t,function(D){m.image=D;var I=t.search(/\.jpe?g($|\?)/i)>0||t.search(/^data\:image\/jpeg/)===0;m.format=I?ts:ai,m.needsUpdate=!0,a!==void 0&&a(m)},l,f),m}}]),e}(Ii),X7=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this,r),t.textures={},t}return rt(e,[{key:"load",value:function(t,a,l,f){var m=this,x=new b0(m.manager);x.setPath(m.path),x.setRequestHeader(m.requestHeader),x.setWithCredentials(m.withCredentials),x.load(t,function(D){try{a(m.parse(JSON.parse(D)))}catch(I){f?f(I):console.error(I),m.manager.itemError(t)}},l,f)}},{key:"parse",value:function(t){var a=this.textures;function l(N){return a[N]===void 0&&console.warn("THREE.MaterialLoader: Undefined texture",N),a[N]}var f=new U7[t.type];
vendor: 3,660 bytes, line 5
5if(t.uuid!==void 0&&(f.uuid=t.uuid),t.name!==void 0&&(f.name=t.name),t.color!==void 0&&f.color!==void 0&&f.color.setHex(t.color),t.roughness!==void 0&&(f.roughness=t.roughness),t.metalness!==void 0&&(f.metalness=t.metalness),t.sheen!==void 0&&(f.sheen=new Zt().setHex(t.sheen)),t.emissive!==void 0&&f.emissive!==void 0&&f.emissive.setHex(t.emissive),t.specular!==void 0&&f.specular!==void 0&&f.specular.setHex(t.specular),t.shininess!==void 0&&(f.shininess=t.shininess),t.clearcoat!==void 0&&(f.clearcoat=t.clearcoat),t.clearcoatRoughness!==void 0&&(f.clearcoatRoughness=t.clearcoatRoughness),t.transmission!==void 0&&(f.transmission=t.transmission),t.thickness!==void 0&&(f.thickness=t.thickness),t.attenuationDistance!==void 0&&(f.attenuationDistance=t.attenuationDistance),t.attenuationColor!==void 0&&f.attenuationColor!==void 0&&f.attenuationColor.setHex(t.attenuationColor),t.fog!==void 0&&(f.fog=t.fog),t.flatShading!==void 0&&(f.flatShading=t.flatShading),t.blending!==void 0&&(f.blending=t.blending),t.combine!==void 0&&(f.combine=t.combine),t.side!==void 0&&(f.side=t.side),t.shadowSide!==void 0&&(f.shadowSide=t.shadowSide),t.opacity!==void 0&&(f.opacity=t.opacity),t.transparent!==void 0&&(f.transparent=t.transparent),t.alphaTest!==void 0&&(f.alphaTest=t.alphaTest),t.depthTest!==void 0&&(f.depthTest=t.depthTest),t.depthWrite!==void 0&&(f.depthWrite=t.depthWrite),t.colorWrite!==void 0&&(f.colorWrite=t.colorWrite),t.stencilWrite!==void 0&&(f.stencilWrite=t.stencilWrite),t.stencilWriteMask!==void 0&&(f.stencilWriteMask=t.stencilWriteMask),t.stencilFunc!==void 0&&(f.stencilFunc=t.stencilFunc),t.stencilRef!==void 0&&(f.stencilRef=t.stencilRef),t.stencilFuncMask!==void 0&&(f.stencilFuncMask=t.stencilFuncMask),t.stencilFail!==void 0&&(f.stencilFail=t.stencilFail),t.stencilZFail!==void 0&&(f.stencilZFail=t.stencilZFail),t.stencilZPass!==void 0&&(f.stencilZPass=t.stencilZPass),t.wireframe!==void 0&&(f.wireframe=t.wireframe),t.wireframeLinewidth!==void 0&&(f.wireframeLinewidth=t.wireframeLinewidth),t.wireframeLinecap!==void 0&&(f.wireframeLinecap=t.wireframeLinecap),t.wireframeLinejoin!==void 0&&(f.wireframeLinejoin=t.wireframeLinejoin),t.rotation!==void 0&&(f.rotation=t.rotation),t.linewidth!==1&&(f.linewidth=t.linewidth),t.dashSize!==void 0&&(f.dashSize=t.dashSize),t.gapSize!==void 0&&(f.gapSize=t.gapSize),t.scale!==void 0&&(f.scale=t.scale),t.polygonOffset!==void 0&&(f.polygonOffset=t.polygonOffset),t.polygonOffsetFactor!==void 0&&(f.polygonOffsetFactor=t.polygonOffsetFactor),t.polygonOffsetUnits!==void 0&&(f.polygonOffsetUnits=t.polygonOffsetUnits),t.morphTargets!==void 0&&(f.morphTargets=t.morphTargets),t.morphNormals!==void 0&&(f.morphNormals=t.morphNormals),t.dithering!==void 0&&(f.dithering=t.dithering),t.alphaToCoverage!==void 0&&(f.alphaToCoverage=t.alphaToCoverage),t.premultipliedAlpha!==void 0&&(f.premultipliedAlpha=t.premultipliedAlpha),t.vertexTangents!==void 0&&(f.vertexTangents=t.vertexTangents),t.visible!==void 0&&(f.visible=t.visible),t.toneMapped!==void 0&&(f.toneMapped=t.toneMapped),t.userData!==void 0&&(f.userData=t.userData),t.vertexColors!==void 0&&(typeof t.vertexColors=="number"?f.vertexColors=t.vertexColors>0:f.vertexColors=t.vertexColors),t.uniforms!==void 0)for(var m in t.uniforms){var x=t.uniforms[m];switch(f.uniforms[m]={},x.type){case"t":f.uniforms[m].value=l(x.value);break;case"c":f.uniforms[m].value=new Zt().setHex(x.value);break;case"v2":f.uniforms[m].value=new Je().fromArray(x.value);break;case"v3":f.uniforms[m].value=new pe().fromArray(x.value);break;case"v4":f.uniforms[m].value=new kt().fromArray(x.value);break;case"m3":f.uniforms[m].value=new st().fromArray(x.value);break;
5case"m4":f.uniforms[m].value=new tr().fromArray(x.value);break;default:f.uniforms[m].value=x.value}}if(t.defines!==void 0&&(f.defines=t.defines),t.vertexShader!==void 0&&(f.vertexShader=t.vertexShader),t.fragmentShader!==void 0&&(f.fragmentShader=t.fragmentShader),t.extensions!==void 0)for(var D in t.extensions)f.extensions[D]=t.extensions[D];if(t.shading!==void 0&&(f.flatShading=t.shading===1),t.size!==void 0&&(f.size=t.size),t.sizeAttenuation!==void 0&&(f.sizeAttenuation=t.sizeAttenuation),t.map!==void 0&&(f.map=l(t.map)),t.matcap!==void 0&&(f.matcap=l(t.matcap)),t.alphaMap!==void 0&&(f.alphaMap=l(t.alphaMap)),t.bumpMap!==void 0&&(f.bumpMap=l(t.bumpMap)),t.bumpScale!==void 0&&(f.bumpScale=t.bumpScale),t.normalMap!==void 0&&(f.normalMap=l(t.normalMap)),t.normalMapType!==void 0&&(f.normalMapType=t.normalMapType),t.normalScale!==void 0){var I=t.normalScale;Array.isArray(I)===!1&&(I=[I,I]),f.normalScale=new Je().fromArray(I)}return t.displacementMap!==void 0&&(f.displacementMap=l(t.displacementMap)),t.displacementScale!==void 0&&(f.displacementScale=t.displacementScale),t.displacementBias!==void 0&&(f.displacementBias=t.displacementBias),t.roughnessMap!==void 0&&(f.roughnessMap=l(t.roughnessMap)),t.metalnessMap!==void 0&&(f.metalnessMap=l(t.metalnessMap)),t.emissiveMap!==void 0&&(f.emissiveMap=l(t.emissiveMap)),t.emissiveIntensity!==void 0&&(f.emissiveIntensity=t.emissiveIntensity),t.specularMap!==void 0&&(f.specularMap=l(t.specularMap)),t.envMap!==void 0&&(f.envMap=l(t.envMap)),t.envMapIntensity!==void 0&&(f.envMapIntensity=t.envMapIntensity),t.reflectivity!==void 0&&(f.reflectivity=t.reflectivity),t.refractionRatio!==void 0&&(f.refractionRatio=t.refractionRatio),t.lightMap!==void 0&&(f.lightMap=l(t.lightMap)),t.lightMapIntensity!==void 0&&(f.lightMapIntensity=t.lightMapIntensity),t.aoMap!==void 0&&(f.aoMap=l(t.aoMap)),t.aoMapIntensity!==void 0&&(f.aoMapIntensity=t.aoMapIntensity),t.gradientMap!==void 0&&(f.gradientMap=l(t.gradientMap)),t.clearcoatMap!==void 0&&(f.clearcoatMap=l(t.clearcoatMap)),t.clearcoatRoughnessMap!==void 0&&(f.clearcoatRoughnessMap=l(t.clearcoatRoughnessMap)),t.clearcoatNormalMap!==void 0&&(f.clearcoatNormalMap=l(t.clearcoatNormalMap)),t.clearcoatNormalScale!==void 0&&(f.clearcoatNormalScale=new Je().fromArray(t.clearcoatNormalScale)),t.transmissionMap!==void 0&&(f.transmissionMap=l(t.transmissionMap)),t.thicknessMap!==void 0&&(f.thicknessMap=l(t.thicknessMap)),f}},{key:"setTextures",value:function(t){return this.textures=t,this}}]),e}(Ii),_h=function(i){ut(e,i);var s=at(e);function e(){var r;return Ge(this,e),r=s.call(this),r.type="InstancedBufferGeometry",r.instanceCount=1/0,r}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.instanceCount=t.instanceCount||1/0,this}},{key:"clone",value:function(){return new this.constructor().copy(this)}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this,this);return t.instanceCount=this.instanceCount,t.isInstancedBufferGeometry=!0,t}}]),e}(mr);_h.prototype.isInstancedBufferGeometry=!0;var xh=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return Ge(this,e),typeof a=="number"&&(f=a,a=!1,console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument.")),l=s.call(this,r,t,a),l.meshPerAttribute=f,l}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.meshPerAttribute=t.meshPerAttribute,this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);return t.meshPerAttribute=this.meshPerAttribute,t.isInstancedBufferAttribute=!0,t}}]),e}(Hr);xh.prototype.isInstancedBufferAttribute=!0;var W7=function(i){ut(e,i);var s=at(e);function e(r){return Ge(this,e),s.call(this,r)}return rt(e,[{key:"load",value:function(t,a,l,f){var m=this,x=new b0(m.manager);x.setPath(m.path),x.setRequestHeader(m.requestHeader),x.setWithCredentials(m.withCredentials),x.load(t,function(D){try{a(m.parse(JSON.parse(D)))}catch(I){f?f(I):console.error(I),m.manager.itemError(t)}},l,f)}},{key:"parse",value:function(t){var a={},l={};function f(Bt,Ot){if(a[Ot]!==void 0)return a[Ot];var Gt=Bt.interleavedBuffers,lr=Gt[Ot],Dr=m(Bt,lr.buffer),Ar=Ba(lr.type,Dr),Fe=new S1(Ar,lr.stride);return Fe.uuid=lr.uuid,a[Ot]=Fe,Fe}function m(Bt,Ot){if(l[Ot]!==void 0)return l[Ot];var Gt=Bt.arrayBuffers,lr=Gt[Ot],Dr=new Uint32Array(lr).buffer;return l[Ot]=Dr,Dr}var x=t.isInstancedBufferGeometry?new _h:new mr,D=t.data.index;if(D!==void 0){var I=Ba(D.type,D.array);x.setIndex(new Hr(I,1))}var N=t.data.attributes;for(var W in N){var Z=N[W],Q=void 0;if(Z.isInterleavedBufferAttribute){var oe=f(t.data,Z.data);Q=new wu(oe,Z.itemSize,Z.offset,Z.normalized)}else{var K=Ba(Z.type,Z.array),J=Z.isInstancedBufferAttribute?xh:Hr;Q=new J(K,Z.itemSize,Z.normalized)}Z.name!==void 0&&(Q.name=Z.name),Z.usage!==void 0&&Q.setUsage(Z.usage),Z.updateRange!==void 0&&(Q.updateRange.offset=Z.updateRange.offset,Q.updateRange.count=Z.updateRange.count),x.setAttribute(W,Q)}var _e=t.data.morphAttributes;if(_e)for(var Me in _e){for(var Ae=_e[Me],ie=[],we=0,Te=Ae.length;we<Te;we++){var Ye=Ae[we],Ie=void 0;if(Ye.isInterleavedBufferAttribute){var nt=f(t.data,Ye.data);Ie=new wu(nt,Ye.itemSize,Ye.offset,Ye.normalized)}else{var dt=Ba(Ye.type,Ye.array);
5Ie=new Hr(dt,Ye.itemSize,Ye.normalized)}Ye.name!==void 0&&(Ie.name=Ye.name),ie.push(Ie)}x.morphAttributes[Me]=ie}var We=t.data.morphTargetsRelative;We&&(x.morphTargetsRelative=!0);var it=t.data.groups||t.data.drawcalls||t.data.offsets;if(it!==void 0)for(var ht=0,Ze=it.length;ht!==Ze;++ht){var lt=it[ht];x.addGroup(lt.start,lt.count,lt.materialIndex)}var Et=t.data.boundingSphere;if(Et!==void 0){var Xt=new pe;Et.center!==void 0&&Xt.fromArray(Et.center),x.boundingSphere=new Nn(Xt,Et.radius)}return t.name&&(x.name=t.name),t.userData&&(x.userData=t.userData),x}}]),e}(Ii),wd=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this,r),typeof createImageBitmap>"u"&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),t.options={premultiplyAlpha:"none"},t}return rt(e,[{key:"setOptions",value:function(t){return this.options=t,this}},{key:"load",value:function(t,a,l,f){t===void 0&&(t=""),this.path!==void 0&&(t=this.path+t),t=this.manager.resolveURL(t);var m=this,x=A1.get(t);if(x!==void 0)return m.manager.itemStart(t),setTimeout(function(){a&&a(x),m.manager.itemEnd(t)},0),x;var D={};D.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",D.headers=this.requestHeader,fetch(t,D).then(function(I){return I.blob()}).then(function(I){return createImageBitmap(I,Object.assign(m.options,{colorSpaceConversion:"none"}))}).then(function(I){A1.add(t,I),a&&a(I),m.manager.itemEnd(t)}
5).catch(function(I){f&&f(I),m.manager.itemError(t),m.manager.itemEnd(t)}),m.manager.itemStart(t)}}]),e}(Ii);wd.prototype.isImageBitmapLoader=!0;var C1=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this,r),t.uuid=le(),t.type="Shape",t.holes=[],t}return rt(e,[{key:"getPointsHoles",value:function(t){for(var a=[],l=0,f=this.holes.length;l<f;l++)a[l]=this.holes[l].getPoints(t);return a}},{key:"extractPoints",value:function(t){return{shape:this.getPoints(t),holes:this.getPointsHoles(t)}}},{key:"copy",value:function(t){n(Ct(e.prototype),"copy",this).call(this,t),this.holes=[];for(var a=0,l=t.holes.length;a<l;a++){var f=t.holes[a];this.holes.push(f.clone())}return this}},{key:"toJSON",value:function(){var t=n(Ct(e.prototype),"toJSON",this).call(this);t.uuid=this.uuid,t.holes=[];for(var a=0,l=this.holes.length;a<l;a++){var f=this.holes[a];t.holes.push(f.toJSON())}return t}},{key:"fromJSON",value:function(t){n(Ct(e.prototype),"fromJSON",this).call(this,t),this.uuid=t.uuid,this.holes=[];for(var a=0,l=t.holes.length;a<l;a++){var f=t.holes[a];this.holes.push(new ku().fromJSON(f))}return this}}]),e}(ku),Sd=function(){function i(){Ge(this,i),this.type="ShapePath",this.color=new Zt,this.subPaths=[],this.currentPath=null}return rt(i,[{key:"moveTo",value:function(e,r){return this.currentPath=new ku,this.subPaths.push(this.currentPath),this.currentPath.moveTo(e,r),this}},{key:"lineTo",value:function(e,r){return this.currentPath.lineTo(e,r),this}},{key:"quadraticCurveTo",value:function(e,r,t,a){return this.currentPath.quadraticCurveTo(e,r,t,a),this}},{key:"bezierCurveTo",value:function(e,r,t,a,l,f){return this.currentPath.bezierCurveTo(e,r,t,a,l,f),this}},{key:"splineThru",value:function(e){return this.currentPath.splineThru(e),this}},{key:"toShapes",value:function(e,r){function t(Bt){for(var Ot=[],Gt=0,lr=Bt.length;Gt<lr;Gt++){var Dr=Bt[Gt],Ar=new C1;Ar.curves=Dr.curves,Ot.push(Ar)}return Ot}function a(Bt,Ot){for(var Gt=Ot.length,lr=!1,Dr=Gt-1,Ar=0;Ar<Gt;Dr=Ar++){var Fe=Ot[Dr],fr=Ot[Ar],zr=fr.x-Fe.x,on=fr.y-Fe.y;if(Math.abs(on)>Number.EPSILON){if(on<0&&(Fe=Ot[Ar],zr=-zr,fr=Ot[Dr],on=-on),Bt.y<Fe.y||Bt.y>fr.y)continue;if(Bt.y===Fe.y){if(Bt.x===Fe.x)return!0}else{var Xr=on*(Bt.x-Fe.x)-zr*(Bt.y-Fe.y);if(Xr===0)return!0;if(Xr<0)continue;lr=!lr}}else{if(Bt.y!==Fe.y)continue;if(fr.x<=Bt.x&&Bt.x<=Fe.x||Fe.x<=Bt.x&&Bt.x<=fr.x)return!0}}return lr}var l=H0.isClockWise,f=this.subPaths;if(f.length===0)return[];if(r===!0)return t(f);var m,x,D,I=[];if(f.length===1)return x=f[0],D=new C1,D.curves=x.curves,I.push(D),I;var N=!l(f[0].getPoints());N=e?!N:N;var W=[],Z=[],Q=[],oe=0,K;Z[oe]=void 0,Q[oe]=[];for(var J=0,_e=f.length;J<_e;J++)x=f[J],K=x.getPoints(),m=l(K),m=e?!m:m,m?(!N&&Z[oe]&&oe++,Z[oe]={s:new C1,p:K},Z[oe].s.curves=x.curves,N&&oe++,Q[oe]=[]):Q[oe].push({h:x,p:K[0]});if(!Z[0])return t(f);if(Z.length>1){for(var Me=!1,Ae=[],ie=0,we=Z.length;ie<we;ie++)W[ie]=[];for(var Te=0,Ye=Z.length;Te<Ye;Te++)for(var Ie=Q[Te],nt=0;nt<Ie.length;nt++){for(var dt=Ie[nt],We=!0,it=0;it<Z.length;it++)a(dt.p,Z[it].p)&&(Te!==it&&Ae.push({froms:Te,tos:it,hole:nt}),We?(We=!1,W[it].push(dt)):Me=!0);We&&W[Te].push(dt)}Ae.length>0&&(Me||(Q=W))}for(var ht,Ze=0,lt=Z.length;Ze<lt;Ze++){D=Z[Ze].s,I.push(D),ht=Q[Ze];for(var Et=0,Xt=ht.length;Et<Xt;Et++)D.holes.push(ht[Et].h)}return I}}]),i}(),wh=function(){function i(s){Ge(this,i),this.type="Font",this.data=s}return rt(i,[{key:"generateShapes",value:function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100,t=[],a=Y7(e,r,this.data),l=0,f=a.length;l<f;l++)Array.prototype.push.apply(t,a[l].toShapes());return t}}]),i}();function Y7(i,s,e){for(var r=Array.from(i),t=s/e.resolution,a=(e.boundingBox.yMax-e.boundingBox.yMin+e.underlineThickness)*t,l=[],f=0,m=0,x=0;x<r.length;x++){var D=r[x];if(D==="\n")f=0,m-=a;else{var I=q7(D,t,f,m,e);f+=I.offsetX,l.push(I.path)}}return l}function q7(i,s,e,r,t){var a=t.glyphs[i]||t.glyphs["?"];if(!a){console.error('THREE.Font: character "'.concat(i,'" does not exists in font family ').concat(t.familyName,"."));return}var l=new Sd,f,m,x,D,I,N,W,Z;if(a.o)for(var Q=a._cachedOutline||(a._cachedOutline=a.o.split(" ")),oe=0,K=Q.length;oe<K;){var J=Q[oe++];switch(J){case"m":f=Q[oe++]*s+e,m=Q[oe++]*s+r,l.moveTo(f,m);break;case"l":f=Q[oe++]*s+e,m=Q[oe++]*s+r,l.lineTo(f,m);break;case"q":x=Q[oe++]*s+e,D=Q[oe++]*s+r,I=Q[oe++]*s+e,N=Q[oe++]*s+r,l.quadraticCurveTo(I,N,x,D);break;case"b":x=Q[oe++]*s+e,D=Q[oe++]*s+r,I=Q[oe++]*s+e,N=Q[oe++]*s+r,W=Q[oe++]*s+e,Z=Q[oe++]*s+r,l.bezierCurveTo(I,N,W,Z,x,D);break}}return{offsetX:a.ha*s,path:l}}wh.prototype.isFont=!0;var j7=function(i){ut(e,i);var s=at(e);function e(r){return Ge(this,e),s.call(this,r)}return rt(e,[{key:"load",value:function(t,a,l,f){var m=this,x=new b0(this.manager);x.setPath(this.path),x.setRequestHeader(this.requestHeader),x.setWithCredentials(m.withCredentials),x.load(t,function(D){var I;try{I=JSON.parse(D)}catch(W){console.warn("THREE.FontLoader: typeface.js support is being deprecated. Use typeface.json instead."),I=JSON.parse(D.substring(65,D.length-2))}var N=m.parse(I);a&&a(N)},l,f)}},{key:"parse",value:function(t){return new wh(t)}}]),e}(Ii),Md=function(){function i(){Ge(this,i)}return rt(i,null,[{key:"decodeText",value:function(e){if(typeof TextDecoder<"u")return new TextDecoder().decode(e);
5for(var r="",t=0,a=e.length;t<a;t++)r+=String.fromCharCode(e[t]);try{return decodeURIComponent(escape(r))}catch(l){return r}}},{key:"extractUrlBase",value:function(e){var r=e.lastIndexOf("/");return r===-1?"./":e.substr(0,r+1)}}]),i}(),xc,Sh={getContext:function(){return xc===void 0&&(xc=new(window.AudioContext||window.webkitAudioContext)),xc},setContext:function(s){xc=s}},Td=function(i){ut(e,i);var s=at(e);function e(r){return Ge(this,e),s.call(this,r)}return rt(e,[{key:"load",value:function(t,a,l,f){var m=this,x=new b0(this.manager);x.setResponseType("arraybuffer"),x.setPath(this.path),x.setRequestHeader(this.requestHeader),x.setWithCredentials(this.withCredentials),x.load(t,function(D){try{var I=D.slice(0),N=Sh.getContext();N.decodeAudioData(I,function(W){a(W)})}catch(W){f?f(W):console.error(W),m.manager.itemError(t)}},l,f)}}]),e}(Ii),bs=function(i){ut(e,i);var s=at(e);function e(r){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Ge(this,e),t=s.call(this),t.type="Light",t.color=new Zt(r),t.intensity=a,t}return rt(e,[{key:"dispose",value:function(){}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.color.copy(t.color),this.intensity=t.intensity,this}},{key:"toJSON",value:function(t){var a=n(Ct(e.prototype),"toJSON",this).call(this,t);return a.object.color=this.color.getHex(),a.object.intensity=this.intensity,this.groundColor!==void 0&&(a.object.groundColor=this.groundColor.getHex()),this.distance!==void 0&&(a.object.distance=this.distance),this.angle!==void 0&&(a.object.angle=this.angle),this.decay!==void 0&&(a.object.decay=this.decay),this.penumbra!==void 0&&(a.object.penumbra=this.penumbra),this.shadow!==void 0&&(a.object.shadow=this.shadow.toJSON()),a}}]),e}(Ur);bs.prototype.isLight=!0;var Ed=new tr,kd=new pe,Ad=new pe,Mh=function(){function i(s){Ge(this,i),this.camera=s,this.bias=0,this.normalBias=0,this.radius=1,this.mapSize=new Je(512,512),this.map=null,this.mapPass=null,this.matrix=new tr,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new Is,this._frameExtents=new Je(1,1),this._viewportCount=1,this._viewports=[new kt(0,0,1,1)]}return rt(i,[{key:"getViewportCount",value:function(){return this._viewportCount}},{key:"getFrustum",value:function(){return this._frustum}},{key:"updateMatrices",value:function(e){var r=this.camera,t=this.matrix;kd.setFromMatrixPosition(e.matrixWorld),r.position.copy(kd),Ad.setFromMatrixPosition(e.target.matrixWorld),r.lookAt(Ad),r.updateMatrixWorld(),Ed.multiplyMatrices(r.projectionMatrix,r.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Ed),t.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),t.multiply(r.projectionMatrix),t.multiply(r.matrixWorldInverse)}},{key:"getViewport",value:function(e){return this._viewports[e]}},{key:"getFrameExtents",value:function(){return this._frameExtents}},{key:"dispose",value:function(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}},{key:"copy",value:function(e){return this.camera=e.camera.clone(),this.bias=e.bias,this.radius=e.radius,this.mapSize.copy(e.mapSize),this}},{key:"clone",value:function(){return new this.constructor().copy(this)}},{key:"toJSON",value:function(){var e={};return this.bias!==0&&(e.bias=this.bias),this.normalBias!==0&&(e.normalBias=this.normalBias),this.radius!==1&&(e.radius=this.radius),(this.mapSize.x!==512||this.mapSize.y!==512)&&(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}}]),i}(),Cd=function(i){ut(e,i);var s=at(e);function e(){var r;return Ge(this,e),r=s.call(this,new Ta(50,1,.5,500)),r.focus=1,r}return rt(e,[{key:"updateMatrices",value:function(t){var a=this.camera,l=ce*2*t.angle*this.focus,f=this.mapSize.width/this.mapSize.height,m=t.distance||a.far;(l!==a.fov||f!==a.aspect||m!==a.far)&&(a.fov=l,a.aspect=f,a.far=m,a.updateProjectionMatrix()),n(Ct(e.prototype),"updateMatrices",this).call(this,t)}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.focus=t.focus,this}}]),e}(Mh);Cd.prototype.isSpotLightShadow=!0;var Rd=function(i){ut(e,i);var s=at(e);function e(r,t){var a,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Math.PI/3,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:1;return Ge(this,e),a=s.call(this,r,t),a.type="SpotLight",a.position.copy(Ur.DefaultUp),a.updateMatrix(),a.target=new Ur,a.distance=l,a.angle=f,a.penumbra=m,a.decay=x,a.shadow=new Cd,a}return rt(e,[{key:"power",get:function(){return this.intensity*Math.PI},set:function(t){this.intensity=t/Math.PI}},{key:"dispose",value:function(){this.shadow.dispose()}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.distance=t.distance,this.angle=t.angle,this.penumbra=t.penumbra,this.decay=t.decay,this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}]),e}(bs);Rd.prototype.isSpotLight=!0;var Od=new tr,e2=new pe,Th=new pe,Ld=function(i){ut(e,i);var s=at(e);function e(){var r;return Ge(this,e),r=s.call(this,new Ta(90,1,.5,500)),r._frameExtents=new Je(4,2),r._viewportCount=6,r._viewports=[new kt(2,1,1,1),new kt(0,1,1,1),new kt(3,1,1,1),new kt(1,1,1,1),new kt(3,0,1,1),new kt(1,0,1,1)],r._cubeDirections=[new pe(1,0,0),new pe(-1,0,0),new pe(0,0,1),new pe(0,0,-1),new pe(0,1,0),new pe(0,-1,0)],r._cubeUps=[new pe(0,1,0),new pe(0,1,0),new pe(0,1,0),new pe(0,1,0),new pe(0,0,1),new pe(0,0,-1)],r}return rt(e,[{key:"updateMatrices",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=this.camera,f=this.matrix,m=t.distance||l.far;m!==l.far&&(l.far=m,l.updateProjectionMatrix()),e2.setFromMatrixPosition(t.matrixWorld),l.position.copy(e2),Th.copy(l.position),Th.add(this._cubeDirections[a]),l.up.copy(this._cubeUps[a]),l.lookAt(Th),l.updateMatrixWorld(),f.makeTranslation(-e2.x,-e2.y,-e2.z),Od.multiplyMatrices(l.projectionMatrix,l.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Od)}}]),e}(Mh);Ld.prototype.isPointLightShadow=!0;var Pd=function(i){ut(e,i);var s=at(e);function e(r,t){var a,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return Ge(this,e),a=s.call(this,r,t),a.type="PointLight",a.distance=l,a.decay=f,a.shadow=new Ld,a}return rt(e,[{key:"power",get:function(){return this.intensity*4*Math.PI},set:function(t){this.intensity=t/(4*Math.PI)}},{key:"dispose",value:function(){this.shadow.dispose()}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.distance=t.distance,this.decay=t.decay,this.shadow=t.shadow.clone(),this}}]),e}(bs);Pd.prototype.isPointLight=!0;var Dd=function(i){ut(e,i);var s=at(e);function e(r,t){var a,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:10;return Ge(this,e),a=s.call(this,r,t),a.type="RectAreaLight",a.width=l,a.height=f,a}
5return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.width=t.width,this.height=t.height,this}},{key:"toJSON",value:function(t){var a=n(Ct(e.prototype),"toJSON",this).call(this,t);return a.object.width=this.width,a.object.height=this.height,a}}]),e}(bs);Dd.prototype.isRectAreaLight=!0;var Id=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l;return Ge(this,e),l=s.call(this,r,a),l.type="HemisphereLight",l.position.copy(Ur.DefaultUp),l.updateMatrix(),l.groundColor=new Zt(t),l}return rt(e,[{key:"copy",value:function(t){return bs.prototype.copy.call(this,t),this.groundColor.copy(t.groundColor),this}}]),e}(bs);Id.prototype.isHemisphereLight=!0;var Eh=function(){function i(){Ge(this,i),this.coefficients=[];for(var s=0;s<9;s++)this.coefficients.push(new pe)}return rt(i,[{key:"set",value:function(e){for(var r=0;r<9;r++)this.coefficients[r].copy(e[r]);return this}},{key:"zero",value:function(){for(var e=0;e<9;e++)this.coefficients[e].set(0,0,0);return this}},{key:"getAt",value:function(e,r){var t=e.x,a=e.y,l=e.z,f=this.coefficients;return r.copy(f[0]).multiplyScalar(.282095),r.addScaledVector(f[1],.488603*a),r.addScaledVector(f[2],.488603*l),r.addScaledVector(f[3],.488603*t),r.addScaledVector(f[4],1.092548*(t*a)),r.addScaledVector(f[5],1.092548*(a*l)),r.addScaledVector(f[6],.315392*(3*l*l-1)),r.addScaledVector(f[7],1.092548*(t*l)),r.addScaledVector(f[8],.546274*(t*t-a*a)),r}},{key:"getIrradianceAt",value:function(e,r){var t=e.x,a=e.y,l=e.z,f=this.coefficients;return r.copy(f[0]).multiplyScalar(.886227),r.addScaledVector(f[1],2*.511664*a),r.addScaledVector(f[2],2*.511664*l),r.addScaledVector(f[3],2*.511664*t),r.addScaledVector(f[4],2*.429043*t*a),r.addScaledVector(f[5],2*.429043*a*l),r.addScaledVector(f[6],.743125*l*l-.247708),r.addScaledVector(f[7],2*.429043*t*l),r.addScaledVector(f[8],.429043*(t*t-a*a)),r}},{key:"add",value:function(e){for(var r=0;r<9;r++)this.coefficients[r].add(e.coefficients[r]);return this}},{key:"addScaledSH",value:function(e,r){for(var t=0;t<9;t++)this.coefficients[t].addScaledVector(e.coefficients[t],r);return this}},{key:"scale",value:function(e){for(var r=0;r<9;r++)this.coefficients[r].multiplyScalar(e);return this}},{key:"lerp",value:function(e,r){for(var t=0;t<9;t++)this.coefficients[t].lerp(e.coefficients[t],r);return this}},{key:"equals",value:function(e){for(var r=0;r<9;r++)if(!this.coefficients[r].equals(e.coefficients[r]))return!1;return!0}},{key:"copy",value:function(e){return this.set(e.coefficients)}},{key:"clone",value:function(){return new this.constructor().copy(this)}},{key:"fromArray",value:function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=this.coefficients,a=0;a<9;a++)t[a].fromArray(e,r+a*3);return this}},{key:"toArray",value:function(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=this.coefficients,a=0;a<9;a++)t[a].toArray(e,r+a*3);return e}}],[{key:"getBasisAt",value:function(e,r){var t=e.x,a=e.y,l=e.z;r[0]=.282095,r[1]=.488603*a,r[2]=.488603*l,r[3]=.488603*t,r[4]=1.092548*t*a,r[5]=1.092548*a*l,r[6]=.315392*(3*l*l-1),r[7]=1.092548*t*l,r[8]=.546274*(t*t-a*a)}}]),i}();Eh.prototype.isSphericalHarmonics3=!0;var wc=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Eh,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Ge(this,e),r=s.call(this,void 0,a),r.sh=t,r}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.sh.copy(t.sh),this}},{key:"fromJSON",value:function(t){return this.intensity=t.intensity,this.sh.fromArray(t.sh),this}},{key:"toJSON",value:function(t){var a=n(Ct(e.prototype),"toJSON",this).call(this,t);return a.object.sh=this.sh.toArray(),a}}]),e}(bs);wc.prototype.isLightProbe=!0;var Fd=function(i){ut(e,i);var s=at(e);function e(r,t){var a,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;Ge(this,e),a=s.call(this,void 0,l);var f=new Zt().set(r),m=new Zt().set(t),x=new pe(f.r,f.g,f.b),D=new pe(m.r,m.g,m.b),I=Math.sqrt(Math.PI),N=I*Math.sqrt(.75);return a.sh.coefficients[0].copy(x).add(D).multiplyScalar(I),a.sh.coefficients[1].copy(x).sub(D).multiplyScalar(N),a}return e}(wc);Fd.prototype.isHemisphereLightProbe=!0;var Sc=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:.1,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2e3;
5return Ge(this,e),r=s.call(this),r.type="OrthographicCamera",r.zoom=1,r.view=null,r.left=t,r.right=a,r.top=l,r.bottom=f,r.near=m,r.far=x,r.updateProjectionMatrix(),r}return rt(e,[{key:"copy",value:function(t,a){return n(Ct(e.prototype),"copy",this).call(this,t,a),this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.near=t.near,this.far=t.far,this.zoom=t.zoom,this.view=t.view===null?null:Object.assign({},t.view),this}},{key:"setViewOffset",value:function(t,a,l,f,m,x){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=t,this.view.fullHeight=a,this.view.offsetX=l,this.view.offsetY=f,this.view.width=m,this.view.height=x,this.updateProjectionMatrix()}},{key:"clearViewOffset",value:function(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}},{key:"updateProjectionMatrix",value:function(){var t=(this.right-this.left)/(2*this.zoom),a=(this.top-this.bottom)/(2*this.zoom),l=(this.right+this.left)/2,f=(this.top+this.bottom)/2,m=l-t,x=l+t,D=f+a,I=f-a;if(this.view!==null&&this.view.enabled){var N=(this.right-this.left)/this.view.fullWidth/this.zoom,W=(this.top-this.bottom)/this.view.fullHeight/this.zoom;m+=N*this.view.offsetX,x=m+N*this.view.width,D-=W*this.view.offsetY,I=D-W*this.view.height}this.projectionMatrix.makeOrthographic(m,x,D,I,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}},{key:"toJSON",value:function(t){var a=n(Ct(e.prototype),"toJSON",this).call(this,t);return a.object.zoom=this.zoom,a.object.left=this.left,a.object.right=this.right,a.object.top=this.top,a.object.bottom=this.bottom,a.object.near=this.near,a.object.far=this.far,this.view!==null&&(a.object.view=Object.assign({},this.view)),a}}]),e}(vo);Sc.prototype.isOrthographicCamera=!0;var Bd=function(i){ut(e,i);var s=at(e);function e(){return Ge(this,e),s.call(this,new Sc(-5,5,5,-5,.5,500))}return e}(Mh);Bd.prototype.isDirectionalLightShadow=!0;var Nd=function(i){ut(e,i);var s=at(e);function e(r,t){var a;return Ge(this,e),a=s.call(this,r,t),a.type="DirectionalLight",a.position.copy(Ur.DefaultUp),a.updateMatrix(),a.target=new Ur,a.shadow=new Bd,a}return rt(e,[{key:"dispose",value:function(){this.shadow.dispose()}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}]),e}(bs);Nd.prototype.isDirectionalLight=!0;var Ud=function(i){ut(e,i);var s=at(e);function e(r,t){var a;return Ge(this,e),a=s.call(this,r,t),a.type="AmbientLight",a}return e}(bs);Ud.prototype.isAmbientLight=!0;var zd=function(i){ut(e,i);var s=at(e);function e(r){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ge(this,e),t=s.call(this,void 0,a);var l=new Zt().set(r);return t.sh.coefficients[0].set(l.r,l.g,l.b).multiplyScalar(2*Math.sqrt(Math.PI)),t}return e}(wc);zd.prototype.isAmbientLightProbe=!0;var Gd=new tr,Vd=new tr,J7=function(){function i(){Ge(this,i),this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new Ta,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new Ta,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}return rt(i,[{key:"update",value:function(e){var r=this._cache,t=r.focus!==e.focus||r.fov!==e.fov||r.aspect!==e.aspect*this.aspect||r.near!==e.near||r.far!==e.far||r.zoom!==e.zoom||r.eyeSep!==this.eyeSep;if(t){r.focus=e.focus,r.fov=e.fov,r.aspect=e.aspect*this.aspect,r.near=e.near,r.far=e.far,r.zoom=e.zoom,r.eyeSep=this.eyeSep;var a=e.projectionMatrix.clone(),l=r.eyeSep/2,f=l*r.near/r.focus,m=r.near*Math.tan(ne*r.fov*.5)/r.zoom,x,D;Vd.elements[12]=-l,Gd.elements[12]=l,x=-m*r.aspect+f,D=m*r.aspect+f,a.elements[0]=2*r.near/(D-x),a.elements[8]=(D+x)/(D-x),this.cameraL.projectionMatrix.copy(a),x=-m*r.aspect-f,D=m*r.aspect-f,a.elements[0]=2*r.near/(D-x),a.elements[8]=(D+x)/(D-x),this.cameraR.projectionMatrix.copy(a)}this.cameraL.matrixWorld.copy(e.matrixWorld).multiply(Vd),this.cameraR.matrixWorld.copy(e.matrixWorld).multiply(Gd)}}]),i}(),Hd=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ge(this,e),r=s.call(this),r.cameras=t,r}return e}(Ta);Hd.prototype.isArrayCamera=!0;var Xd=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;Ge(this,i),this.autoStart=s,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}return rt(i,[{key:"start",value:function(){this.startTime=Wd(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}},{key:"stop",value:function(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}},{key:"getElapsedTime",value:function(){return this.getDelta(),this.elapsedTime}},{key:"getDelta",value:function(){var e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){var r=Wd();e=(r-this.oldTime)/1e3,this.oldTime=r,this.elapsedTime+=e}return e}}]),i}();function Wd(){return(typeof performance>"u"?Date:performance).now()}var R1=new pe,Yd=new ar,Z7=new pe,O1=new pe,K7=function(i){ut(e,i);var s=at(e);function e(){var r;return Ge(this,e),r=s.call(this),r.type="AudioListener",r.context=Sh.getContext(),r.gain=r.context.createGain(),r.gain.connect(r.context.destination),r.filter=null,r.timeDelta=0,r._clock=new Xd,r}return rt(e,[{key:"getInput",value:function(){return this.gain}},{key:"removeFilter",value:function(){return this.filter!==null&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}},{key:"getFilter",value:function(){return this.filter}},{key:"setFilter",value:function(t){return this.filter!==null?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=t,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}},{key:"getMasterVolume",value:function(){return this.gain.gain.value}},{key:"setMasterVolume",value:function(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}},{key:"updateMatrixWorld",value:function(t){n(Ct(e.prototype),"updateMatrixWorld",this).call(this,t);var a=this.context.listener,l=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(R1,Yd,Z7),O1.set(0,0,-1).applyQuaternion(Yd),a.positionX){var f=this.context.currentTime+this.timeDelta;a.positionX.linearRampToValueAtTime(R1.x,f),a.positionY.linearRampToValueAtTime(R1.y,f),a.positionZ.linearRampToValueAtTime(R1.z,f),a.forwardX.linearRampToValueAtTime(O1.x,f),a.forwardY.linearRampToValueAtTime(O1.y,f),a.forwardZ.linearRampToValueAtTime(O1.z,f),a.upX.linearRampToValueAtTime(l.x,f),a.upY.linearRampToValueAtTime(l.y,f),a.upZ.linearRampToValueAtTime(l.z,f)}else a.setPosition(R1.x,R1.y,R1.z),a.setOrientation(O1.x,O1.y,O1.z,l.x,l.y,l.z)}}]),e}(Ur),kh=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.type="Audio",t.listener=r,t.context=r.context,t.gain=t.context.createGain(),t.gain.connect(r.getInput()),t.autoplay=!1,t.buffer=null,t.detune=0,t.loop=!1,t.loopStart=0,t.loopEnd=0,t.offset=0,t.duration=void 0,t.playbackRate=1,t.isPlaying=!1,t.hasPlaybackControl
5=!0,t.source=null,t.sourceType="empty",t._startedAt=0,t._progress=0,t._connected=!1,t.filters=[],t}return rt(e,[{key:"getOutput",value:function(){return this.gain}},{key:"setNodeSource",value:function(t){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=t,this.connect(),this}},{key:"setMediaElementSource",value:function(t){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(t),this.connect(),this}},{key:"setMediaStreamSource",value:function(t){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(t),this.connect(),this}},{key:"setBuffer",value:function(t){return this.buffer=t,this.sourceType="buffer",this.autoplay&&this.play(),this}},{key:"play",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;if(this.isPlaying===!0){console.warn("THREE.Audio: Audio is already playing.");return}if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}this._startedAt=this.context.currentTime+t;var a=this.context.createBufferSource();return a.buffer=this.buffer,a.loop=this.loop,a.loopStart=this.loopStart,a.loopEnd=this.loopEnd,a.onended=this.onEnded.bind(this),a.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=a,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}},{key:"pause",value:function(){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this.isPlaying===!0&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,this.loop===!0&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this}},{key:"stop",value:function(){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this._progress=0,this.source.stop(),this.source.onended=null,this.isPlaying=!1,this}},{key:"connect",value:function(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(var t=1,a=this.filters.length;t<a;t++)this.filters[t-1].connect(this.filters[t]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this._connected=!0,this}},{key:"disconnect",value:function(){if(this.filters.length>0){this.source.disconnect(this.filters[0]);for(var t=1,a=this.filters.length;t<a;t++)this.filters[t-1].disconnect(this.filters[t]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this._connected=!1,this}},{key:"getFilters",value:function(){return this.filters}},{key:"setFilters",value:function(t){return t||(t=[]),this._connected===!0?(this.disconnect(),this.filters=t.slice(),this.connect()):this.filters=t.slice(),this}},{key:"setDetune",value:function(t){if(this.detune=t,this.source.detune!==void 0)return this.isPlaying===!0&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this}},{key:"getDetune",value:function(){return this.detune}},{key:"getFilter",value:function(){return this.getFilters()[0]}},{key:"setFilter",value:function(t){return this.setFilters(t?[t]:[])}},{key:"setPlaybackRate",value:function(t){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this.playbackRate=t,this.isPlaying===!0&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this}},{key:"getPlaybackRate",value:function(){return this.playbackRate}},{key:"onEnded",value:function(){this.isPlaying=!1}},{key:"getLoop",value:function(){return this.hasPlaybackControl===!1?(console.warn("THREE.Audio: this Audio has no playback control."),!1):this.loop}},{key:"setLoop",value:function(t){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this.loop=t,this.isPlaying===!0&&(this.source.loop=this.loop),this}},{key:"setLoopStart",value:function(t){return this.loopStart=t,this}},{key:"setLoopEnd",value:function(t){return this.loopEnd=t,this}},{key:"getVolume",value:function(){return this.gain.gain.value}},{key:"setVolume",value:function(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}}]),e}(Ur),L1=new pe,qd=new ar,$7=new pe,P1=new pe,Q7=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this,r),t.panner=t.context.createPanner(),t.panner.panningModel="HRTF",t.panner.connect(t.gain),t}return rt(e,[{key:"getOutput",value:function(){return this.panner}},{key:"getRefDistance",value:function(){return this.panner.refDistance}},{key:"setRefDistance",value:function(t){return this.panner.refDistance=t,this}},{key:"getRolloffFactor",value:function(){return this.panner.rolloffFactor}},{key:"setRolloffFactor",value:function(t){return this.panner.rolloffFactor=t,this}},{key:"getDistanceModel",value:function(){return this.panner.distanceModel}},{key:"setDistanceModel",value:function(t){return this.panner.distanceModel=t,this}},{key:"getMaxDistance",value:function(){return this.panner.maxDistance}},{key:"setMaxDistance",value:function(t){return this.panner.maxDistance=t,this}},{key:"setDirectionalCone",value:function(t,a,l){return this.panner.coneInnerAngle=t,this.panner.coneOuterAngle=a,this.panner.coneOuterGain=l,this}},{key:"updateMatrixWorld",value:function(t){if(n(Ct(e.prototype),"updateMatrixWorld",this).call(this,t),!(this.hasPlaybackControl
5===!0&&this.isPlaying===!1)){this.matrixWorld.decompose(L1,qd,$7),P1.set(0,0,1).applyQuaternion(qd);var a=this.panner;if(a.positionX){var l=this.context.currentTime+this.listener.timeDelta;a.positionX.linearRampToValueAtTime(L1.x,l),a.positionY.linearRampToValueAtTime(L1.y,l),a.positionZ.linearRampToValueAtTime(L1.z,l),a.orientationX.linearRampToValueAtTime(P1.x,l),a.orientationY.linearRampToValueAtTime(P1.y,l),a.orientationZ.linearRampToValueAtTime(P1.z,l)}else a.setPosition(L1.x,L1.y,L1.z),a.setOrientation(P1.x,P1.y,P1.z)}}}]),e}(kh),jd=function(){function i(s){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2048;Ge(this,i),this.analyser=s.context.createAnalyser(),this.analyser.fftSize=e,this.data=new Uint8Array(this.analyser.frequencyBinCount),s.getOutput().connect(this.analyser)}return rt(i,[{key:"getFrequencyData",value:function(){return this.analyser.getByteFrequencyData(this.data),this.data}},{key:"getAverageFrequency",value:function(){for(var e=0,r=this.getFrequencyData(),t=0;t<r.length;t++)e+=r[t];return e/r.length}}]),i}(),Jd=function(){function i(s,e,r){Ge(this,i),this.binding=s,this.valueSize=r;var t,a,l;switch(e){case"quaternion":t=this._slerp,a=this._slerpAdditive,l=this._setAdditiveIdentityQuaternion,this.buffer=new Float64Array(r*6),this._workIndex=5;break;case"string":case"bool":t=this._select,a=this._select,l=this._setAdditiveIdentityOther,this.buffer=new Array(r*5);break;default:t=this._lerp,a=this._lerpAdditive,l=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(r*5)}this._mixBufferRegion=t,this._mixBufferRegionAdditive=a,this._setIdentity=l,this._origIndex=3,this._addIndex=4,this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,this.useCount=0,this.referenceCount=0}return rt(i,[{key:"accumulate",value:function(e,r){var t=this.buffer,a=this.valueSize,l=e*a+a,f=this.cumulativeWeight;if(f===0){for(var m=0;m!==a;++m)t[l+m]=t[m];f=r}else{f+=r;var x=r/f;this._mixBufferRegion(t,l,0,x,a)}this.cumulativeWeight=f}},{key:"accumulateAdditive",value:function(e){var r=this.buffer,t=this.valueSize,a=t*this._addIndex;this.cumulativeWeightAdditive===0&&this._setIdentity(),this._mixBufferRegionAdditive(r,a,0,e,t),this.cumulativeWeightAdditive+=e}},{key:"apply",value:function(e){var r=this.valueSize,t=this.buffer,a=e*r+r,l=this.cumulativeWeight,f=this.cumulativeWeightAdditive,m=this.binding;if(this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,l<1){var x=r*this._origIndex;this._mixBufferRegion(t,a,x,1-l,r)}f>0&&this._mixBufferRegionAdditive(t,a,this._addIndex*r,1,r);for(var D=r,I=r+r;D!==I;++D)if(t[D]!==t[D+r]){m.setValue(t,a);break}}},{key:"saveOriginalState",value:function(){var e=this.binding,r=this.buffer,t=this.valueSize,a=t*this._origIndex;e.getValue(r,a);for(var l=t,f=a;l!==f;++l)r[l]=r[a+l%t];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}},{key:"restoreOriginalState",value:function(){var e=this.valueSize*3;this.binding.setValue(this.buffer,e)}},{key:"_setAdditiveIdentityNumeric",value:function(){for(var e=this._addIndex*this.valueSize,r=e+this.valueSize,t=e;t<r;t++)this.buffer[t]=0}},{key:"_setAdditiveIdentityQuaternion",value:function(){this._setAdditiveIdentityNumeric(),this.buffer[this._addIndex*this.valueSize+3]=1}},{key:"_setAdditiveIdentityOther",value:function(){for(var e=this._origIndex*this.valueSize,r=this._addIndex*this.valueSize,t=0;t<this.valueSize;t++)this.buffer[r+t]=this.buffer[e+t]}},{key:"_select",value:function(e,r,t,a,l){if(a>=.5)for(var f=0;f!==l;++f)e[r+f]=e[t+f]}},{key:"_slerp",value:function(e,r,t,a){ar.slerpFlat(e,r,e,r,e,t,a)}},{key:"_slerpAdditive",value:function(e,r,t,a,l){var f=this._workIndex*l;ar.multiplyQuaternionsFlat(e,f,e,r,e,t),ar.slerpFlat(e,r,e,r,e,f,a)}},{key:"_lerp",value:function(e,r,t,a,l){for(var f=1-a,m=0;m!==l;++m){var x=r+m;e[x]=e[x]*f+e[t+m]*a}}},{key:"_lerpAdditive",value:function(e,r,t,a,l){for(var f=0;f!==l;++f){var m=r+f;e[m]=e[m]+e[t+f]*a}}}]),i}(),Ah="\\[\\]\\.:\\/",e9=new RegExp("[".concat(Ah,"]"),"g"),Ch="[^".concat(Ah,"]"),t9="[^".concat(Ah.replace("\\.",""),"]"),r9=/((?:WC+[\/:])*)/.source.replace("WC",Ch),n9=/(WCOD+)?/.source.replace("WCOD",t9),a9=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",Ch),i9=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",Ch),o9=new RegExp("".concat("^").concat(r9).concat(n9).concat(a9).concat(i9,"$")),s9=["material","materials","bones"],u9=function(){function i(s,e,r){Ge
5(this,i);var t=r||Gn.parseTrackName(e);this._targetGroup=s,this._bindings=s.subscribe_(e,t)}return rt(i,[{key:"getValue",value:function(e,r){this.bind();var t=this._targetGroup.nCachedObjects_,a=this._bindings[t];a!==void 0&&a.getValue(e,r)}},{key:"setValue",value:function(e,r){for(var t=this._bindings,a=this._targetGroup.nCachedObjects_,l=t.length;a!==l;++a)t[a].setValue(e,r)}},{key:"bind",value:function(){for(var e=this._bindings,r=this._targetGroup.nCachedObjects_,t=e.length;r!==t;++r)e[r].bind()}},{key:"unbind",value:function(){for(var e=this._bindings,r=this._targetGroup.nCachedObjects_,t=e.length;r!==t;++r)e[r].unbind()}}]),i}(),Gn=function(){function i(s,e,r){Ge(this,i),this.path=e,this.parsedPath=r||i.parseTrackName(e),this.node=i.findNode(s,this.parsedPath.nodeName)||s,this.rootNode=s,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}return rt(i,[{key:"_getValue_unavailable",value:function(){}},{key:"_setValue_unavailable",value:function(){}},{key:"_getValue_direct",value:function(e,r){e[r]=this.node[this.propertyName]}},{key:"_getValue_array",value:function(e,r){for(var t=this.resolvedProperty,a=0,l=t.length;a!==l;++a)e[r++]=t[a]}},{key:"_getValue_arrayElement",value:function(e,r){e[r]=this.resolvedProperty[this.propertyIndex]}},{key:"_getValue_toArray",value:function(e,r){this.resolvedProperty.toArray(e,r)}},{key:"_setValue_direct",value:function(e,r){this.targetObject[this.propertyName]=e[r]}},{key:"_setValue_direct_setNeedsUpdate",value:function(e,r){this.targetObject[this.propertyName]=e[r],this.targetObject.needsUpdate=!0}},{key:"_setValue_direct_setMatrixWorldNeedsUpdate",value:function(e,r){this.targetObject[this.propertyName]=e[r],this.targetObject.matrixWorldNeedsUpdate=!0}},{key:"_setValue_array",value:function(e,r){for(var t=this.resolvedProperty,a=0,l=t.length;a!==l;++a)t[a]=e[r++]}},{key:"_setValue_array_setNeedsUpdate",value:function(e,r){for(var t=this.resolvedProperty,a=0,l=t.length;a!==l;++a)t[a]=e[r++];this.targetObject.needsUpdate=!0}},{key:"_setValue_array_setMatrixWorldNeedsUpdate",value:function(e,r){for(var t=this.resolvedProperty,a=0,l=t.length;a!==l;++a)t[a]=e[r++];this.targetObject.matrixWorldNeedsUpdate=!0}},{key:"_setValue_arrayElement",value:function(e,r){this.resolvedProperty[this.propertyIndex]=e[r]}},{key:"_setValue_arrayElement_setNeedsUpdate",value:function(e,r){this.resolvedProperty[this.propertyIndex]=e[r],this.targetObject.needsUpdate=!0}},{key:"_setValue_arrayElement_setMatrixWorldNeedsUpdate",value:function(e,r){this.resolvedProperty[this.propertyIndex]=e[r],this.targetObject.matrixWorldNeedsUpdate=!0}},{key:"_setValue_fromArray",value:function(e,r){this.resolvedProperty.fromArray(e,r)}},{key:"_setValue_fromArray_setNeedsUpdate",value:function(e,r){this.resolvedProperty.fromArray(e,r),this.targetObject.needsUpdate=!0}},{key:"_setValue_fromArray_setMatrixWorldNeedsUpdate",value:function(e,r){this.resolvedProperty.fromArray(e,r),this.targetObject.matrixWorldNeedsUpdate=!0}},{key:"_getValue_unbound",value:function(e,r){this.bind(),this.getValue(e,r)}},{key:"_setValue_unbound",value:function(e,r){this.bind(),this.setValue(e,r)}},{key:"bind",value:function(){var e=this.node,r=this.parsedPath,t=r.objectName,a=r.propertyName,l=r.propertyIndex;if(e||(e=i.findNode(this.rootNode,r.nodeName)||this.rootNode,this.node=e),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!e){console.error("THREE.PropertyBinding: Trying to update node for track: ".concat(this.path," but it wasn't found."));return}if(t){var f=r.objectIndex;switch(t){case"materials":if(!e.material){console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!e.material.materials){console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);return}e=e.material.materials;break;case"bones":if(!e.skeleton){console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);return}e=e.skeleton.bones;for(var m=0;m<e.length;m++)if(e[m].name===f){f=m;break}break;default:if(e[t]===void 0){console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);return}e=e[t]}if(f!==void 0){if(e[f]===void 0){console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,e);return}e=e[f]}}var x=e[a];if(x===void 0){var D=r.nodeName;console.error("THREE.PropertyBinding: Trying to update property for track: ".concat(D,".").concat(a," but it wasn't found."),e);return}var I=this.Versioning.None;this.targetObject=e,e.needsUpdate!==void 0?I=this.Versioning.NeedsUpdate:e.matrixWorldNeedsUpdate!==void 0&&(I=this.Versioning.MatrixWorldNeedsUpdate);var N=this.BindingType.Direct;if(l!==void 0){if(a==="morphTargetInfluences"){if(!e.geometry){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);return}if(e.geometry.isBufferGeometry){if(!e.geometry.morphAttributes){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);return}e.morphTargetDictionary[l]!==void 0&&(l=e.morphTargetDictionary[l])}else{console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences on THREE.Geometry. Use THREE.BufferGeometry instead.",this);return}}N=this.BindingType.ArrayElement,this.resolvedProperty=x,this.propertyIndex=l}else x.fromArray!==void 0&&x.toArray!==void 0?(N=this.BindingType.HasFromToArray,this.resolvedProperty=x):Array.isArray(x)?(N=this.BindingType.EntireArray,this.resolvedProperty=x):this.propertyName=a;this.getValue=this.GetterByBindingType[N],this.setValue=this.SetterByBindingTypeAndVersioning[N][I]}},{key:"unbind",value:function(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}],[{key:"create",value:function(e,r,t){return e&&e.isAnimationObjectGroup?new i.Composite(e,r,t):new i(e,r,t)}},{key:"sanitizeNodeName",value:function(e){return e.replace(/\s/g,"_").replace(e9,"")}},{key:"parseTrackName",value:function(e){var r=o9.exec(e);if(!r)throw new Error("PropertyBinding: Cannot parse trackName: ".concat(e));
5var t={nodeName:r[2],objectName:r[3],objectIndex:r[4],propertyName:r[5],propertyIndex:r[6]},a=t.nodeName&&t.nodeName.lastIndexOf(".");if(a!==void 0&&a!==-1){var l=t.nodeName.substring(a+1);s9.indexOf(l)!==-1&&(t.nodeName=t.nodeName.substring(0,a),t.objectName=l)}if(t.propertyName===null||t.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: ".concat(e));return t}},{key:"findNode",value:function(e,r){if(!r||r===""||r==="."||r===-1||r===e.name||r===e.uuid)return e;if(e.skeleton){var t=e.skeleton.getBoneByName(r);if(t!==void 0)return t}if(e.children){var a=function f(m){for(var x=0;x<m.length;x++){var D=m[x];if(D.name===r||D.uuid===r)return D;var I=f(D.children);if(I)return I}return null},l=a(e.children);if(l)return l}return null}}]),i}();Gn.Composite=u9,Gn.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Gn.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},Gn.prototype.GetterByBindingType=[Gn.prototype._getValue_direct,Gn.prototype._getValue_array,Gn.prototype._getValue_arrayElement,Gn.prototype._getValue_toArray],Gn.prototype.SetterByBindingTypeAndVersioning=[[Gn.prototype._setValue_direct,Gn.prototype._setValue_direct_setNeedsUpdate,Gn.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[Gn.prototype._setValue_array,Gn.prototype._setValue_array_setNeedsUpdate,Gn.prototype._setValue_array_setMatrixWorldNeedsUpdate],[Gn.prototype._setValue_arrayElement,Gn.prototype._setValue_arrayElement_setNeedsUpdate,Gn.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[Gn.prototype._setValue_fromArray,Gn.prototype._setValue_fromArray_setNeedsUpdate,Gn.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];var Zd=function(){function i(){Ge(this,i),this.uuid=le(),this._objects=Array.prototype.slice.call(arguments),this.nCachedObjects_=0;var s={};this._indicesByUUID=s;for(var e=0,r=arguments.length;e!==r;++e)s[arguments[e].uuid]=e;this._paths=[],this._parsedPaths=[],this._bindings=[],this._bindingsIndicesByPath={};var t=this;this.stats={objects:{get total(){return t._objects.length},get inUse(){return this.total-t.nCachedObjects_}},get bindingsPerObject(){return t._bindings.length}}}return rt(i,[{key:"add",value:function(){for(var e=this._objects,r=this._indicesByUUID,t=this._paths,a=this._parsedPaths,l=this._bindings,f=l.length,m,x=e.length,D=this.nCachedObjects_,I=0,N=arguments.length;I!==N;++I){var W=arguments[I],Z=W.uuid,Q=r[Z];if(Q===void 0){Q=x++,r[Z]=Q,e.push(W);for(var oe=0,K=f;oe!==K;++oe)l[oe].push(new Gn(W,t[oe],a[oe]))}else if(Q<D){m=e[Q];var J=--D,_e=e[J];r[_e.uuid]=Q,e[Q]=_e,r[Z]=J,e[J]=W;for(var Me=0,Ae=f;Me!==Ae;++Me){var ie=l[Me],we=ie[J],Te=ie[Q];ie[Q]=we,Te===void 0&&(Te=new Gn(W,t[Me],a[Me])),ie[J]=Te}}else e[Q]!==m&&console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.")}this.nCachedObjects_=D}},{key:"remove",value:function(){for(var e=this._objects,r=this._indicesByUUID,t=this._bindings,a=t.length,l=this.nCachedObjects_,f=0,m=arguments.length;f!==m;++f){var x=arguments[f],D=x.uuid,I=r[D];if(I!==void 0&&I>=l){var N=l++,W=e[N];r[W.uuid]=I,e[I]=W,r[D]=N,e[N]=x;for(var Z=0,Q=a;Z!==Q;++Z){var oe=t[Z],K=oe[N],J=oe[I];oe[I]=K,oe[N]=J}}}this.nCachedObjects_=l}},{key:"uncache",value:function(){for(var e=this._objects,r=this._indicesByUUID,t=this._bindings,a=t.length,l=this.nCachedObjects_,f=e.length,m=0,x=arguments.length;m!==x;++m){var D=arguments[m],I=D.uuid,N=r[I];if(N!==void 0)if(delete r[I],N<l){var W=--l,Z=e[W],Q=--f,oe=e[Q];r[Z.uuid]=N,e[N]=Z,r[oe.uuid]=W,e[W]=oe,e.pop();for(var K=0,J=a;K!==J;++K){var _e=t[K],Me=_e[W],Ae=_e[Q];_e[N]=Me,_e[W]=Ae,_e.pop()}}else{var ie=--f,we=e[ie];ie>0&&(r[we.uuid]=N),e[N]=we,e.pop();for(var Te=0,Ye=a;Te!==Ye;++Te){var Ie=t[Te];Ie[N]=Ie[ie],Ie.pop()}}}this.nCachedObjects_=l}},{key:"subscribe_",value:function(e,r){var t=this._bindingsIndicesByPath,a=t[e],l=this._bindings;if(a!==void 0)return l[a];var f=this._paths,m=this._parsedPaths,x=this._objects,D=x.length,I=this.nCachedObjects_,N=new Array(D);a=l.length,t[e]=a,f.push(e),m.push(r),l.push(N);for(var W=I,Z=x.length;W!==Z;++W){var Q=x[W];N[W]=new Gn(Q,e,r)}return N}},{key:"unsubscribe_",value:function(e){var r=this._bindingsIndicesByPath,t=r[e];if(t!==void 0){var a=this._paths,l=this._parsedPaths,f=this._bindings,m=f.length-1,x=f[m],D=e[m];r[D]=t,f[t]=x,f.pop(),l[t]=l[m],l.pop(),a[t]=a[m],a.pop()}}}]),i}();Zd.prototype.isAnimationObjectGroup=!0;var l9=function(){function i(s,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:e.blendMode;Ge(this,i),this._mixer=s,this._clip=e,this._localRoot=r,this.blendMode=t;for(var a=e.tracks,l=a.length,f=new Array(l),m={endingStart:$s,endingEnd:$s},x=0;x!==l;++x){var D=a[x].createInterpolant(null);f[x]=D,D.settings=m}this._interpolantSettings=m,this._interpolants=f,this._propertyBindings=new Array(l),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=tn,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}return rt(i,[{key:"play",value:function(){return this._mixer._activateAction(this),this}},{key:"stop",value:function(){return this._mixer._deactivateAction(this),this.reset()}},{key:"reset",value:function(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}},{key:"isRunning",value:function(){return this.enabled&&!this.paused&&this.timeScale!==0&&this._startTime===null&&this._mixer._isActiveAction(this)}},{key:"isScheduled",value:function(){return this._mixer._isActiveAction(this)}},{key:"startAt",value:function(e){return this._startTime=e,this}},{key:"setLoop",value:function(e,r){return this.loop=e,this.repetitions=r,this}},{key:"setEffectiveWeight",value:function(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}},{key:"getEffectiveWeight",value:function(){return this._effectiveWeight}},{key:"fadeIn",value:function(e){return this._scheduleFading(e,0,1
vendor: 8,953 bytes, line 5
5)}},{key:"fadeOut",value:function(e){return this._scheduleFading(e,1,0)}},{key:"crossFadeFrom",value:function(e,r,t){if(e.fadeOut(r),this.fadeIn(r),t){var a=this._clip.duration,l=e._clip.duration,f=l/a,m=a/l;e.warp(1,f,r),this.warp(m,1,r)}return this}},{key:"crossFadeTo",value:function(e,r,t){return e.crossFadeFrom(this,r,t)}},{key:"stopFading",value:function(){var e=this._weightInterpolant;return e!==null&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}},{key:"setEffectiveTimeScale",value:function(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}},{key:"getEffectiveTimeScale",value:function(){return this._effectiveTimeScale}},{key:"setDuration",value:function(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}},{key:"syncWith",value:function(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}},{key:"halt",value:function(e){return this.warp(this._effectiveTimeScale,0,e)}},{key:"warp",value:function(e,r,t){var a=this._mixer,l=a.time,f=this.timeScale,m=this._timeScaleInterpolant;m===null&&(m=a._lendControlInterpolant(),this._timeScaleInterpolant=m);var x=m.parameterPositions,D=m.sampleValues;return x[0]=l,x[1]=l+t,D[0]=e/f,D[1]=r/f,this}},{key:"stopWarping",value:function(){var e=this._timeScaleInterpolant;return e!==null&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}},{key:"getMixer",value:function(){return this._mixer}},{key:"getClip",value:function(){return this._clip}},{key:"getRoot",value:function(){return this._localRoot||this._mixer._root}},{key:"_update",value:function(e,r,t,a){if(!this.enabled){this._updateWeight(e);return}var l=this._startTime;if(l!==null){var f=(e-l)*t;if(f<0||t===0)return;this._startTime=null,r=t*f}r*=this._updateTimeScale(e);var m=this._updateTime(r),x=this._updateWeight(e);if(x>0){var D=this._interpolants,I=this._propertyBindings;switch(this.blendMode){case Sl:for(var N=0,W=D.length;N!==W;++N)D[N].evaluate(m),I[N].accumulateAdditive(x);break;case su:default:for(var Z=0,Q=D.length;Z!==Q;++Z)D[Z].evaluate(m),I[Z].accumulate(a,x)}}}},{key:"_updateWeight",value:function(e){var r=0;if(this.enabled){r=this.weight;var t=this._weightInterpolant;if(t!==null){var a=t.evaluate(e)[0];r*=a,e>t.parameterPositions[1]&&(this.stopFading(),a===0&&(this.enabled=!1))}}return this._effectiveWeight=r,r}},{key:"_updateTimeScale",value:function(e){var r=0;if(!this.paused){r=this.timeScale;var t=this._timeScaleInterpolant;if(t!==null){var a=t.evaluate(e)[0];r*=a,e>t.parameterPositions[1]&&(this.stopWarping(),r===0?this.paused=!0:this.timeScale=r)}}return this._effectiveTimeScale=r,r}},{key:"_updateTime",value:function(e){var r=this._clip.duration,t=this.loop,a=this.time+e,l=this._loopCount,f=t===iu;if(e===0)return l===-1?a:f&&(l&1)===1?r-a:a;if(t===au){l===-1&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(a>=r)a=r;else if(a<0)a=0;else{this.time=a;break e}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=a,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(l===-1&&(e>=0?(l=0,this._setEndings(!0,this.repetitions===0,f)):this._setEndings(this.repetitions===0,!0,f)),a>=r||a<0){var m=Math.floor(a/r);a-=r*m,l+=Math.abs(m);var x=this.repetitions-l;if(x<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,a=e>0?r:0,this.time=a,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(x===1){var D=e<0;this._setEndings(D,!D,f)}else this._setEndings(!1,!1,f);this._loopCount=l,this.time=a,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:m})}}else this.time=a;if(f&&(l&1)===1)return r-a}return a}},{key:"_setEndings",value:function(e,r,t){var a=this._interpolantSettings;t?(a.endingStart=Qs,a.endingEnd=Qs):(e?a.endingStart=this.zeroSlopeAtStart?Qs:$s:a.endingStart=f1,r?a.endingEnd=this.zeroSlopeAtEnd?Qs:$s:a.endingEnd=f1)}},{key:"_scheduleFading",value:function(e,r,t){var a=this._mixer,l=a.time,f=this._weightInterpolant;f===null&&(f=a._lendControlInterpolant(),this._weightInterpolant=f);var m=f.parameterPositions,x=f.sampleValues;return m[0]=l,x[0]=r,m[1]=l+e,x[1]=t,this}}]),i}(),Kd=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t._root=r,t._initMemoryManager(),t._accuIndex=0,t.time=0,t.timeScale=1,t}return rt(e,[{key:"_bindAction",value:function(t,a){var l=t._localRoot||this._root,f=t._clip.tracks,m=f.length,x=t._propertyBindings,D=t._interpolants,I=l.uuid,N=this._bindingsByRootAndName,W=N[I];W===void 0&&(W={},N[I]=W);for(var Z=0;Z!==m;++Z){var Q=f[Z],oe=Q.name,K=W[oe];if(K!==void 0)x[Z]=K;else{if(K=x[Z],K!==void 0){K._cacheIndex===null&&(++K.referenceCount,this._addInactiveBinding(K,I,oe));continue}var J=a&&a._propertyBindings[Z].binding.parsedPath;K=new Jd(Gn.create(l,oe,J),Q.ValueTypeName,Q.getValueSize()),++K.referenceCount,this._addInactiveBinding(K,I,oe),x[Z]=K}D[Z].resultBuffer=K.buffer}}},{key:"_activateAction",value:function(t){if(!this._isActiveAction(t)){if(t._cacheIndex===null){var a=(t._localRoot||this._root).uuid,l=t._clip.uuid,f=this._actionsByClip[l];this._bindAction(t,f&&f.knownActions[0]),this._addInactiveAction(t,l,a)}for(var m=t._propertyBindings,x=0,D=m.length;x!==D;++x){var I=m[x];I.useCount++===0&&(this._lendBinding(I),I.saveOriginalState())}this._lendAction(t)}}},{key:"_deactivateAction",value:function(t){if(this._isActiveAction(t)){for(var a=t._propertyBindings,l=0,f=a.length;l!==f;++l){var m=a[l];--m.useCount===0&&(m.restoreOriginalState(),this._takeBackBinding(m))}this._takeBackAction(t)}}},{key:"_initMemoryManager",value:function(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;var t=this;this.stats={actions:{get total(){return t._actions.length},get inUse(){return t._nActiveActions}},bindings:{get total(){return t._bindings.length},get inUse(){return t._nActiveBindings}},controlInterpolants:{get total(){return t._controlInterpolants.length},get inUse(){return t._nActiveControlInterpolants}}}}},{key:"_isActiveAction",value:function(t){var a=t._cacheIndex;return a!==null&&a<this._nActiveActions}},{key:"_addInactiveAction",value:function(t,a,l){var f=this._actions,m=this._actionsByClip,x=m[a];if(x===void 0)x={knownActions:[t],actionByRoot:{}},t._byClipCacheIndex=0,m[a]=x;else{var D=x,I=D.knownActions;t._byClipCacheIndex=I.length,I.push(t)}t._cacheIndex=f.length,f.push(t),x.actionByRoot[l]=t}},{key:"_removeInactiveAction",value:function(t){var a=this._actions,l=a[a.length-1],f=t._cacheIndex;l._cacheIndex=f,a[f]=l,a.pop(),t._cacheIndex=null;var m=t._clip.uuid,x=this._actionsByClip,D=x[m],I=D.knownActions,N=I[I.length-1],W=t._byClipCacheIndex;N._byClipCacheIndex=W,I[W]=N,I.pop(),t._byClipCacheIndex=null;var Z=D.actionByRoot,Q=(t._localRoot||this._root).uuid;delete Z[Q],I.length===0&&delete x[m],this._removeInactiveBindingsForAction(t)}},{key:"_removeInactiveBindingsForAction",value:function(t){for(var a=t._propertyBindings,l=0,f=a.length;l!==f;++l){var m=a[l];--m.referenceCount===0&&this._removeInactiveBinding(m)}}},{key:"_lendAction",value:function(t){var a=this._actions,l=t._cacheIndex,f=this._nActiveActions++,m=a[f];t._cacheIndex=f,a[f]=t,m._cacheIndex=l,a[l]=m}},{key:"_takeBackAction",value:function(t){var a=this._actions,l=t._cacheIndex,f=--this._nActiveActions,m=a[f];t._cacheIndex=f,a[f]=t,m._cacheIndex=l,a[l]=m}},{key:"_addInactiveBinding",value:function(t,a,l){var f=this._bindingsByRootAndName,m=this._bindings,x=f[a];x===void 0&&(x={},f[a]=x),x[l]=t,t._cacheIndex=m.length,m.push(t)}},{key:"_removeInactiveBinding",value:function(t){var a=this._bindings,l=t.binding,f=l.rootNode.uuid,m=l.path,x=this._bindingsByRootAndName,D=x[f],I=a[a.length-1],N=t._cacheIndex;I._cacheIndex=N,a[N]=I,a.pop(),delete D[m],Object.keys(D).length===0&&delete x[f]}},{key:"_lendBinding",value:function(t){var a=this._bindings,l=t._cacheIndex,f=this._nActiveBindings++,m=a[f];t._cacheIndex=f,a[f]=t,m._cacheIndex=l,a[l]=m}},{key:"_takeBackBinding",value:function(t){var a=this._bindings,l=t._cacheIndex,f=--this._nActiveBindings,m=a[f];t._cacheIndex=f,a[f]=t,m._cacheIndex=l,a[l]=m}},{key:"_lendControlInterpolant",value:function(){var t=this._controlInterpolants,a=this._nActiveControlInterpolants++,l=t[a];return l===void 0&&(l=new gh(new Float32Array(2),new Float32Array(2),1,this._controlInterpolantsResultBuffer),l.__cacheIndex=a,t[a]=l),l}},{key:"_takeBackControlInterpolant",value:function(t){var a=this._controlInterpolants,l=t.__cacheIndex,f=--this._nActiveControlInterpolants,m=a[f];t.__cacheIndex=f,a[f]=t,m.__cacheIndex=l,a[l]=m}},{key:"clipAction",value:function(t,a,l){var f=a||this._root,m=f.uuid,x=typeof t=="string"?_c.findByName(f,t):t,D=x!==null?x.uuid:t,I=this._actionsByClip[D],N=null;if(l===void 0&&(x!==null?l=x.blendMode:l=su),I!==void 0){var W=I.actionByRoot[m];
5if(W!==void 0&&W.blendMode===l)return W;N=I.knownActions[0],x===null&&(x=N._clip)}if(x===null)return null;var Z=new l9(this,x,a,l);return this._bindAction(Z,N),this._addInactiveAction(Z,D,m),Z}},{key:"existingAction",value:function(t,a){var l=a||this._root,f=l.uuid,m=typeof t=="string"?_c.findByName(l,t):t,x=m?m.uuid:t,D=this._actionsByClip[x];return D!==void 0&&D.actionByRoot[f]||null}},{key:"stopAllAction",value:function(){for(var t=this._actions,a=this._nActiveActions,l=a-1;l>=0;--l)t[l].stop();return this}},{key:"update",value:function(t){t*=this.timeScale;for(var a=this._actions,l=this._nActiveActions,f=this.time+=t,m=Math.sign(t),x=this._accuIndex^=1,D=0;D!==l;++D){var I=a[D];I._update(f,t,m,x)}for(var N=this._bindings,W=this._nActiveBindings,Z=0;Z!==W;++Z)N[Z].apply(x);return this}},{key:"setTime",value:function(t){this.time=0;for(var a=0;a<this._actions.length;a++)this._actions[a].time=0;return this.update(t)}},{key:"getRoot",value:function(){return this._root}},{key:"uncacheClip",value:function(t){var a=this._actions,l=t.uuid,f=this._actionsByClip,m=f[l];if(m!==void 0){for(var x=m.knownActions,D=0,I=x.length;D!==I;++D){var N=x[D];this._deactivateAction(N);var W=N._cacheIndex,Z=a[a.length-1];N._cacheIndex=null,N._byClipCacheIndex=null,Z._cacheIndex=W,a[W]=Z,a.pop(),this._removeInactiveBindingsForAction(N)}delete f[l]}}},{key:"uncacheRoot",value:function(t){var a=t.uuid,l=this._actionsByClip;for(var f in l){var m=l[f].actionByRoot,x=m[a];x!==void 0&&(this._deactivateAction(x),this._removeInactiveAction(x))}var D=this._bindingsByRootAndName,I=D[a];if(I!==void 0)for(var N in I){var W=I[N];W.restoreOriginalState(),this._removeInactiveBinding(W)}}},{key:"uncacheAction",value:function(t,a){var l=this.existingAction(t,a);l!==null&&(this._deactivateAction(l),this._removeInactiveAction(l))}}]),e}(q);Kd.prototype._controlInterpolantsResultBuffer=new Float32Array(1);var $d=function(){function i(s){Ge(this,i),typeof s=="string"&&(console.warn("THREE.Uniform: Type parameter is no longer needed."),s=arguments[1]),this.value=s}return rt(i,[{key:"clone",value:function(){return new i(this.value.clone===void 0?this.value:this.value.clone())}}]),i}(),Qd=function(i){ut(e,i);var s=at(e);function e(r,t){var a,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Ge(this,e),a=s.call(this,r,t),a.meshPerAttribute=l,a}return rt(e,[{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t),this.meshPerAttribute=t.meshPerAttribute,this}},{key:"clone",value:function(t){var a=n(Ct(e.prototype),"clone",this).call(this,t);return a.meshPerAttribute=this.meshPerAttribute,a}},{key:"toJSON",value:function(t){var a=n(Ct(e.prototype),"toJSON",this).call(this,t);return a.isInstancedInterleavedBuffer=!0,a.meshPerAttribute=this.meshPerAttribute,a}}]),e}(S1);Qd.prototype.isInstancedInterleavedBuffer=!0;var ev=function(){function i(s,e,r,t,a){Ge(this,i),this.buffer=s,this.type=e,this.itemSize=r,this.elementSize=t,this.count=a,this.version=0}return rt(i,[{key:"needsUpdate",set:function(e){e===!0&&this.version++}},{key:"setBuffer",value:function(e){return this.buffer=e,this}},{key:"setType",value:function(e,r){return this.type=e,this.elementSize=r,this}},{key:"setItemSize",value:function(e){return this.itemSize=e,this}},{key:"setCount",value:function(e){return this.count=e,this}}]),i}();ev.prototype.isGLBufferAttribute=!0;var c9=function(){function i(s,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1/0;Ge(this,i),this.ray=new ga(s,e),this.near=r,this.far=t,this.camera=null,this.layers=new i0,this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}return rt(i,[{key:"set",value:function(e,r){this.ray.set(e,r)}},{key:"setFromCamera",value:function(e,r){r&&r.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(r.matrixWorld),this.ray.direction.set(e.x,e.y,.5).unproject(r).sub(this.ray.origin).normalize(),this.camera=r):r&&r.isOrthographicCamera?(this.ray.origin.set(e.x,e.y,(r.near+r.far)/(r.near-r.far)).unproject(r),this.ray.direction.set(0,0,-1).transformDirection(r.matrixWorld),this.camera=r):console.error("THREE.Raycaster: 
5Unsupported camera type: ".concat(r.type))}},{key:"intersectObject",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Rh(e,this,t,r),t.sort(tv),t}},{key:"intersectObjects",value:function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],a=0,l=e.length;a<l;a++)Rh(e[a],this,t,r);return t.sort(tv),t}}]),i}();function tv(i,s){return i.distance-s.distance}function Rh(i,s,e,r){if(i.layers.test(s.layers)&&i.raycast(s,e),r===!0)for(var t=i.children,a=0,l=t.length;a<l;a++)Rh(t[a],s,e,!0)}var h9=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return Ge(this,i),this.radius=s,this.phi=e,this.theta=r,this}return rt(i,[{key:"set",value:function(e,r,t){return this.radius=e,this.phi=r,this.theta=t,this}},{key:"copy",value:function(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}},{key:"makeSafe",value:function(){var e=1e-6;return this.phi=Math.max(e,Math.min(Math.PI-e,this.phi)),this}},{key:"setFromVector3",value:function(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}},{key:"setFromCartesianCoords",value:function(e,r,t){return this.radius=Math.sqrt(e*e+r*r+t*t),this.radius===0?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,t),this.phi=Math.acos(ve(r/this.radius,-1,1))),this}},{key:"clone",value:function(){return new this.constructor().copy(this)}}]),i}(),f9=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return Ge(this,i),this.radius=s,this.theta=e,this.y=r,this}return rt(i,[{key:"set",value:function(e,r,t){return this.radius=e,this.theta=r,this.y=t,this}},{key:"copy",value:function(e){return this.radius=e.radius,this.theta=e.theta,this.y=e.y,this}},{key:"setFromVector3",value:function(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}},{key:"setFromCartesianCoords",value:function(e,r,t){return this.radius=Math.sqrt(e*e+t*t),this.theta=Math.atan2(e,t),this.y=r,this}},{key:"clone",value:function(){return new this.constructor().copy(this)}}]),i}(),rv=new Je,Pu=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Je(1/0,1/0),e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Je(-1/0,-1/0);Ge(this,i),this.min=s,this.max=e}return rt(i,[{key:"set",value:function(e,r){return this.min.copy(e),this.max.copy(r),this}},{key:"setFromPoints",value:function(e){this.makeEmpty();for(var r=0,t=e.length;r<t;r++)this.expandByPoint(e[r]);return this}},{key:"setFromCenterAndSize",value:function(e,r){var t=rv.copy(r).multiplyScalar(.5);return this.min.copy(e).sub(t),this.max.copy(e).add(t),this}},{key:"clone",value:function(){return new this.constructor().copy(this)}},{key:"copy",value:function(e){return this.min.copy(e.min),this.max.copy(e.max),this}},{key:"makeEmpty",value:function(){return this.min.x=this.min.y=1/0,this.max.x=this.max.y=-1/0,this}},{key:"isEmpty",value:function(){return this.max.x<this.min.x||this.max.y<this.min.y}},{key:"getCenter",value:function(e){return this.isEmpty()?e.set(0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}},{key:"getSize",value:function(e){return this.isEmpty()?e.set(0,0):e.subVectors(this.max,this.min)}},{key:"expandByPoint",value:function(e){return this.min.min(e),this.max.max(e),this}},{key:"expandByVector",value:function(e){return this.min.sub(e),this.max.add(e),this}},{key:"expandByScalar",value:function(e){return this.min.addScalar(-e),this.max.addScalar(e),this}},{key:"containsPoint",value:function(e){return!(e.x<this.min.x||e.x>this.max.x||e.y<this.min.y||e.y>this.max.y)}},{key:"containsBox",value:function(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}},{key:"getParameter",value:function(e,r){return r.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}},{key:"intersectsBox",value:function(e){return!(e.max.x<this.min.x||e.min.x>this.max.x||e.max.y<this.min.y||e.min.y>this.max.y)}},{key:"clampPoint",value:function(e,r){return r.copy(e).clamp(this.min,this.max)}},{key:"distanceToPoint",value:function(e){var r=rv.copy(e).clamp(this.min,this.max);return r.sub(e).length()}},{key:"intersect",value:function(e){return this.min.max(e.min),this.max.min(e.max),this}},{key:"union",value:function(e){return this.min.min(e.min),this.max.max(e.max),this}},{key:"translate",value:function(e){return this.min.add(e),this.max.add(e),this}},{key:"equals",value:function(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}]),i}();Pu.prototype.isBox2=!0;var nv=new pe,Mc=new pe,av=function(){function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new pe,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe;Ge(this,i),this.start=s,this.end=e}return rt(i,[{key:"set",value:function(e,r){return this.start.copy(e),this.end.copy(r),this}},{key:"copy",value:function(e){return this.start.copy(e.start),this.end.copy(e.end),this}},{key:"getCenter",value:function(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}},{key:"delta",value:function(e){return e.subVectors(this.end,this.start)}},{key:"distanceSq",value:function(){return this.start.distanceToSquared(this.end)}},{key:"distance",value:function(){return this.start.distanceTo(this.end)}},{key:"at",value:function(e,r){return this.delta(r).multiplyScalar(e).add(this.start)}},{key:"closestPointToPointParameter",value:function(e,r){nv.subVectors(e,this.start),Mc.subVectors(this.end,this.start);var t=Mc.dot(Mc),a=Mc.dot(nv),l=a/t;return r&&(l=ve(l,0,1)),l}},{key:"closestPointToPoint",value:function(e,r,t){var a=this.closestPointToPointParameter(e,r);return this.delta(t).multiplyScalar(a).add(this.start)}}
5,{key:"applyMatrix4",value:function(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}},{key:"equals",value:function(e){return e.start.equals(this.start)&&e.end.equals(this.end)}},{key:"clone",value:function(){return new this.constructor().copy(this)}}]),i}(),iv=function(i){ut(e,i);var s=at(e);function e(r){var t;return Ge(this,e),t=s.call(this),t.material=r,t.render=function(){},t.hasPositions=!1,t.hasNormals=!1,t.hasColors=!1,t.hasUvs=!1,t.positionArray=null,t.normalArray=null,t.colorArray=null,t.uvArray=null,t.count=0,t}return e}(Ur);iv.prototype.isImmediateRenderObject=!0;var ov=new pe,d9=function(i){ut(e,i);var s=at(e);function e(r,t){var a;Ge(this,e),a=s.call(this),a.light=r,a.light.updateMatrixWorld(),a.matrix=r.matrixWorld,a.matrixAutoUpdate=!1,a.color=t;for(var l=new mr,f=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1],m=0,x=1,D=32;m<D;m++,x++){var I=m/D*Math.PI*2,N=x/D*Math.PI*2;f.push(Math.cos(I),Math.sin(I),1,Math.cos(N),Math.sin(N),1)}l.setAttribute("position",new ur(f,3));var W=new $a({fog:!1,toneMapped:!1});return a.cone=new _o(l,W),a.add(a.cone),a.update(),a}return rt(e,[{key:"dispose",value:function(){this.cone.geometry.dispose(),this.cone.material.dispose()}},{key:"update",value:function(){this.light.updateMatrixWorld();var t=this.light.distance?this.light.distance:1e3,a=t*Math.tan(this.light.angle);this.cone.scale.set(a,a,t),ov.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(ov),this.color!==void 0?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}}]),e}(Ur),X0=new pe,Tc=new tr,Oh=new tr,sv=function(i){ut(e,i);var s=at(e);function e(r){var t;Ge(this,e);for(var a=uv(r),l=new mr,f=[],m=[],x=new Zt(0,0,1),D=new Zt(0,1,0),I=0;I<a.length;I++){var N=a[I];N.parent&&N.parent.isBone&&(f.push(0,0,0),f.push(0,0,0),m.push(x.r,x.g,x.b),m.push(D.r,D.g,D.b))}l.setAttribute("position",new ur(f,3)),l.setAttribute("color",new ur(m,3));var W=new $a({vertexColors:!0,depthTest:!1,depthWrite:!1,toneMapped:!1,transparent:!0});return t=s.call(this,l,W),t.type="SkeletonHelper",t.isSkeletonHelper=!0,t.root=r,t.bones=a,t.matrix=r.matrixWorld,t.matrixAutoUpdate=!1,t}return rt(e,[{key:"updateMatrixWorld",value:function(t){var a=this.bones,l=this.geometry,f=l.getAttribute("position");Oh.copy(this.root.matrixWorld).invert();for(var m=0,x=0;m<a.length;m++){var D=a[m];D.parent&&D.parent.isBone&&(Tc.multiplyMatrices(Oh,D.matrixWorld),X0.setFromMatrixPosition(Tc),f.setXYZ(x,X0.x,X0.y,X0.z),Tc.multiplyMatrices(Oh,D.parent.matrixWorld),X0.setFromMatrixPosition(Tc),f.setXYZ(x+1,X0.x,X0.y,X0.z),x+=2)}l.getAttribute("position").needsUpdate=!0,n(Ct(e.prototype),"updateMatrixWorld",this).call(this,t)}}]),e}(_o);function uv(i){var s=[];i&&i.isBone&&s.push(i);for(var e=0;e<i.children.length;e++)s.push.apply(s,uv(i.children[e]));return s}var v9=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l;Ge(this,e);var f=new uh(t,4,2),m=new Xi({wireframe:!0,fog:!1,toneMapped:!1});return l=s.call(this,f,m),l.light=r,l.light.updateMatrixWorld(),l.color=a,l.type="PointLightHelper",l.matrix=l.light.matrixWorld,l.matrixAutoUpdate=!1,l.update(),l}return rt(e,[{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}},{key:"update",value:function(){this.color!==void 0?this.material.color.set(this.color):this.material.color.copy(this.light.color)}}]),e}(zn),m9=new pe,lv=new Zt,cv=new Zt,p9=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l;Ge(this,e),l=s.call(this),l.light=r,l.light.updateMatrixWorld(),l.matrix=r.matrixWorld,l.matrixAutoUpdate=!1,l.color=a;var f=new oh(t);f.rotateY(Math.PI*.5),l.material=new Xi({wireframe:!0,fog:!1,toneMapped:!1}),l.color===void 0&&(l.material.vertexColors=!0);var m=f.getAttribute("position"),x=new Float32Array(m.count*3);return f.setAttribute("color",new Hr(x,3)),l.add(new zn(f,l.material)),l.update(),l}return rt(e,[{key:"dispose",value:function(){this.children[0].geometry.dispose(),this.children[0].material.dispose()}},{key:"update",value:function(){var t=this.children[0];if(this.color!==void 0)this.material.color.set(this.color);else{var a=t.geometry.getAttribute("color");lv.copy(this.light.color),cv.copy(this.light.groundColor);for(var l=0,f=a.count;l<f;l++){var m=l<f/2?lv:cv;a.setXYZ(l,m.r,m.g,m.b)}a.needsUpdate=!0}t.lookAt(m9.setFromMatrixPosition(this.light.matrixWorld).negate())}}]),e}(Ur),hv=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:10,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:4473924,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8947848;Ge(this,e),l=new Zt(l),f=new Zt(f);for(var m=a/2,x=t/a,D=t/2,I=[],N=[],W=0,Z=0,Q=-D;W<=a;W++,Q+=x){I.push(-D,0,Q,D,0,Q),I.push(Q,0,-D,Q,0,D);var oe=W===m?l:f;oe.toArray(N,Z),Z+=3,oe.toArray(N,Z),Z+=3,oe.toArray(N,Z),Z+=3,oe.toArray(N,Z),Z+=3}var K=new mr;K.setAttribute("position",new ur(I,3)),K.setAttribute("color",new ur(N,3));var J=new $a({vertexColors:!0,toneMapped:!1});return r=s.call(this,K,J),r.type="GridHelper",r}return e}(_o),g9=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:16,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:8,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:64,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:4473924,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:8947848;Ge(this,e),m=new Zt(m),x=new Zt(x);for(var D=[],I=[],N=0;N<=a;N++){var W=N/a*(Math.PI*2),Z=Math.sin(W)*t,Q=Math.cos(W)*t;D.push(0,0,0),D.push(Z,0,Q);var oe=N&1?m:x;I.push(oe.r,oe.g,oe.b),I.push(oe.r,oe.g,oe.b)}for(var K=0;K<=l;K++)for(var J=K&1?m:x,_e=t-t/l*K,Me=0;Me<f;Me++){var Ae=Me/f*(Math.PI*2),ie=Math.sin(Ae)*_e,we=Math.cos(Ae)*_e;D.push(ie,0,we),I.push(J.r,J.g,J.b),Ae=(Me+1)/f*(Math.PI*2),ie=Math.sin(Ae)*_e,we=Math.cos(Ae)*_e,D.push(ie,0,we),I.push(J.r,J.g,J.b)}var Te=new mr;Te.setAttribute("position",new ur(D,3)),Te.setAttribute("color",new ur(I,3));var Ye=new $a({vertexColors:!0,toneMapped:!1});return r=s.call(this,Te,Ye),r.type="PolarGridHelper",r}return e}(_o),fv=new pe,Ec=new pe,dv=new pe,y9=function(i){ut(e,i);var s=at(e);function e(r,t,a){var l;Ge(this,e),l=s.call(this),l.light=r,l.light.updateMatrixWorld(),l.matrix=r.matrixWorld,l.matrixAutoUpdate=!1,l.color=a,t===void 0&&(t=1);var f=new mr;f.setAttribute("position",new ur([-t,t,0,t,t,0,t,-t,0,-t,-t,0,-t,t,0],3));var m=new $a({fog:!1,toneMapped:!1});return l.lightPlane=new G0(f,m),l.add(l.lightPlane),f=new mr,f.setAttribute("position",new ur([0,0,0,0,0,1],3)),l.targetLine=new G0(f,m),l.add(l.targetLine),l.update(
5),l}return rt(e,[{key:"dispose",value:function(){this.lightPlane.geometry.dispose(),this.lightPlane.material.dispose(),this.targetLine.geometry.dispose(),this.targetLine.material.dispose()}},{key:"update",value:function(){fv.setFromMatrixPosition(this.light.matrixWorld),Ec.setFromMatrixPosition(this.light.target.matrixWorld),dv.subVectors(Ec,fv),this.lightPlane.lookAt(Ec),this.color!==void 0?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),this.targetLine.material.color.copy(this.light.color)),this.targetLine.lookAt(Ec),this.targetLine.scale.z=dv.length()}}]),e}(Ur),kc=new pe,ba=new vo,b9=function(i){ut(e,i);var s=at(e);function e(r){var t;Ge(this,e);var a=new mr,l=new $a({color:16777215,vertexColors:!0,toneMapped:!1}),f=[],m=[],x={},D=new Zt(16755200),I=new Zt(16711680),N=new Zt(43775),W=new Zt(16777215),Z=new Zt(3355443);Q("n1","n2",D),Q("n2","n4",D),Q("n4","n3",D),Q("n3","n1",D),Q("f1","f2",D),Q("f2","f4",D),Q("f4","f3",D),Q("f3","f1",D),Q("n1","f1",D),Q("n2","f2",D),Q("n3","f3",D),Q("n4","f4",D),Q("p","n1",I),Q("p","n2",I),Q("p","n3",I),Q("p","n4",I),Q("u1","u2",N),Q("u2","u3",N),Q("u3","u1",N),Q("c","t",W),Q("p","c",Z),Q("cn1","cn2",Z),Q("cn3","cn4",Z),Q("cf1","cf2",Z),Q("cf3","cf4",Z);function Q(K,J,_e){oe(K,_e),oe(J,_e)}function oe(K,J){f.push(0,0,0),m.push(J.r,J.g,J.b),x[K]===void 0&&(x[K]=[]),x[K].push(f.length/3-1)}return a.setAttribute("position",new ur(f,3)),a.setAttribute("color",new ur(m,3)),t=s.call(this,a,l),t.type="CameraHelper",t.camera=r,t.camera.updateProjectionMatrix&&t.camera.updateProjectionMatrix(),t.matrix=r.matrixWorld,t.matrixAutoUpdate=!1,t.pointMap=x,t.update(),t}return rt(e,[{key:"update",value:function(){var t=this.geometry,a=this.pointMap,l=1,f=1;ba.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse),ka("c",a,t,ba,0,0,-1),ka("t",a,t,ba,0,0,1),ka("n1",a,t,ba,-l,-f,-1),ka("n2",a,t,ba,l,-f,-1),ka("n3",a,t,ba,-l,f,-1),ka("n4",a,t,ba,l,f,-1),ka("f1",a,t,ba,-l,-f,1),ka("f2",a,t,ba,l,-f,1),ka("f3",a,t,ba,-l,f,1),ka("f4",a,t,ba,l,f,1),ka("u1",a,t,ba,l*.7,f*1.1,-1),ka("u2",a,t,ba,-l*.7,f*1.1,-1),ka("u3",a,t,ba,0,f*2,-1),ka("cf1",a,t,ba,-l,0,1),ka("cf2",a,t,ba,l,0,1),ka("cf3",a,t,ba,0,-f,1),ka("cf4",a,t,ba,0,f,1),ka("cn1",a,t,ba,-l,0,-1),ka("cn2",a,t,ba,l,0,-1),ka("cn3",a,t,ba,0,-f,-1),ka("cn4",a,t,ba,0,f,-1),t.getAttribute("position").needsUpdate=!0}},{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}}]),e}(_o);function ka(i,s,e,r,t,a,l){kc.set(t,a,l).unproject(r);var f=s[i];if(f!==void 0)for(var m=e.getAttribute("position"),x=0,D=f.length;x<D;x++)m.setXYZ(f[x],kc.x,kc.y,kc.z)}var Ac=new Jt,vv=function(i){ut(e,i);var s=at(e);function e(r){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:16776960;Ge(this,e);var l=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),f=new Float32Array(8*3),m=new mr;return m.setIndex(new Hr(l,1)),m.setAttribute("position",new Hr(f,3)),t=s.call(this,m,new $a({color:a,toneMapped:!1})),t.object=r,t.type="BoxHelper",t.matrixAutoUpdate=!1,t.update(),t}return rt(e,[{key:"update",value:function(t){if(t!==void 0&&console.warn("THREE.BoxHelper: .update() has no longer arguments."),this.object!==void 0&&Ac.setFromObject(this.object),!Ac.isEmpty()){var a=Ac.min,l=Ac.max,f=this.geometry.attributes.position,m=f.array;m[0]=l.x,m[1]=l.y,m[2]=l.z,m[3]=a.x,m[4]=l.y,m[5]=l.z,m[6]=a.x,m[7]=a.y,m[8]=l.z,m[9]=l.x,m[10]=a.y,m[11]=l.z,m[12]=l.x,m[13]=l.y,m[14]=a.z,m[15]=a.x,m[16]=l.y,m[17]=a.z,m[18]=a.x,m[19]=a.y,m[20]=a.z,m[21]=l.x,m[22]=a.y,m[23]=a.z,f.needsUpdate=!0,this.geometry.computeBoundingSphere()}}},{key:"setFromObject",value:function(t){return this.object=t,this.update(),this}},{key:"copy",value:function(t){return _o.prototype.copy.call(this,t),this.object=t.object,this}}]),e}(_o),_9=function(i){ut(e,i);var s=at(e);function e(r){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:16776960;Ge(this,e);var l=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),f=[1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],m=new mr;return m.setIndex(new Hr(l,1)),m.setAttribute("position",new ur(f,3)),t=s.call(this,m,new $a({color:a,toneMapped:!1})),t.box=r,t.type="Box3Helper",t.geometry.computeBoundingSphere(),t}return rt(e,[{key:"updateMatrixWorld",value:function(t){var a=this.box;a.isEmpty()||(a.getCenter(this.position),a.getSize(this.scale),this.scale.multiplyScalar(.5),n(Ct(e.prototype),"updateMatrixWorld",this).call(this,t))}}]),e}(_o),x9=function(i){ut(e,i);var s=at(e);function e(r){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:16776960;Ge(this,e);var f=l,m=[1,-1,1,-1,1,1,-1,-1,1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,1,0,0,1,0,0,0],x=new mr;x.setAttribute("position",new ur(m,3)),x.computeBoundingSphere(),t=s.call(this,x,new $a({color:f,toneMapped:!1})),t.type="PlaneHelper",t.plane=r,t.size=a;var D=[1,1,1,-1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,-1,1],I=new mr;return I.setAttribute("position",new ur(D,3)),I.computeBoundingSphere(),t.add(new zn(I,new Xi({color:f,opacity:.2,transparent:!0,depthWrite:!1,toneMapped:!1}))),t}return rt(e,[{key:"updateMatrixWorld",value:function(t){var a=-this.plane.constant;Math.abs(a)<1e-8&&(a=1e-8),this.scale.set(.5*this.size,.5*this.size,a),this.children[0].material.side=a<0?L:V,this.lookAt(this.plane.normal),n(Ct(e.prototype),"updateMatrixWorld",this).call(this,t)}}]),e}(G0),mv=new pe,Cc,Lh,w9=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new pe(0,0,1),a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new pe(0,0,0),l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:16776960,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:l*.2,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:m*.2;return Ge(this,e),r=s.call(this),r.type="ArrowHelper",Cc===void 0&&(Cc=new mr,Cc.setAttribute("position",new ur([0,0,0,0,1,0],3)),Lh=new dc(0,.5,1,5,1),Lh.translate(0,-.5,0)),r.position.copy(a),r.line=new G0(Cc,new $a({color:f,toneMapped:!1})),r.line.matrixAutoUpdate=!1,r.add(r.line),r.cone=new zn(Lh,new Xi({color:f,toneMapped:!1})),r.cone.matrixAutoUpdate=!1,r.add(r.cone),r.setDirection(t),r.setLength(l,m,x),r}return rt(e,[{key:"setDirection",value:function(t){if(t.y>.99999)this.quaternion.set(0,0,0,1);else if(t.y<-.99999)this.quaternion.set(1,0,0,0);else{mv.set(t.z,0,-t.x).normalize();var a=Math.acos(t.y);this.quaternion.setFromAxisAngle(mv,a)}}},{key:"setLength",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t*.2,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a*.2;this.line.scale.set(1,Math.max(1e-4,t-a),1),this.line.updateMatrix(),this.cone.scale.set(l,a,l),this.cone.position.y=t,this.cone.updateMatrix()}},{key:"setColor",value:function(t){this.line.material.color.set(t),this.cone.material.color.set(t)}},{key:"copy",value:function(t){return n(Ct(e.prototype),"copy",this).call(this,t,!1),this.line.copy(t.line),this.cone.copy(t.cone),this}}]),e}(Ur),pv=function(i){ut(e,i);var s=at(e);function e(){var r,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;Ge(this,e);var a=[0,0,0,t,0,0,0,0,0,0,t,0,0,0,0,0,0,t],l=[1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],f=new mr;f.setAttribute("position",new ur(a,3)),f.setAttribute("color",new ur(l,3));var m=new $a({vertexColors:!0,toneMapped:!1});return r=s.call(this,f,m),r.type="AxesHelper",r}return rt(e,[{key:"setColors",value:function(t,a,l){var f=new Zt,m=this.geometry.attributes.color.array;return f.set(t),f.toArray(m,0),f.toArray(m,3),f.set(a),f.toArray(m,6),f.toArray(m,9),f.set(l),f.toArray(m,12),f.toArray(m,15),this.geometry.attributes.color.needsUpdate=!0,this}},{key:"dispose",value:function(){this.geometry.dispose(),this.material.dispose()}}]),e}(_o),gv=new Float32Array(1),S9=new Int32Array(gv.buffer),M9=function(){function i(){Ge(this,i)}return rt(i,null,[{key:"toHalfFloat",value:function(e){gv[0]=e;var r=S9[0],t=r>>16&32768,a=r>>12&2047,l=r>>23&255;return l<103?t:l>142?(t|=31744,t|=(l===255?0:1)&&r&8388607,t):l<113?(a|=2048,t|=(a>>114-l)+(a>>113-l&1),t):(t|=l-112<<10|a>>1,t+=a&1,t)}}]),i}(),_0,Du=4,W0=8,Us=Math.pow(2,W0),yv=[.125,.215,.35,.446,.526,.582],bv=W0-Du+1+yv.length,Iu=20,zs=(_0={},bn(_0,ii,0),bn(_0,d1,1),bn(_0,lu,2),bn(_0,Ml,3),bn(_0,Tl,4),bn(_0,El,5),bn(_0,uu,6),_0),D1=new Xi({side:L,depthWrite:!1,depthTest:!1}
5),T9=new zn(new Pi,D1),Ph=new Sc,Dh=A9(),t2=Dh._lodPlanes,_v=Dh._sizeLods,Rc=Dh._sigmas,xv=new Zt,Ih=null,I1=(1+Math.sqrt(5))/2,Fu=1/I1,wv=[new pe(1,1,1),new pe(-1,1,1),new pe(1,1,-1),new pe(-1,1,-1),new pe(0,I1,Fu),new pe(0,I1,-Fu),new pe(Fu,0,I1),new pe(-Fu,0,I1),new pe(I1,Fu,0),new pe(-I1,Fu,0)];function Sv(i){var s=Math.max(i.r,i.g,i.b),e=Math.min(Math.max(Math.ceil(Math.log2(s)),-128),127);i.multiplyScalar(Math.pow(2,-e));var r=(e+128)/255;return r}var E9=function(){function i(s){Ge(this,i),this._renderer=s,this._pingPongRenderTarget=null,this._blurMaterial=C9(Iu),this._equirectShader=null,this._cubemapShader=null,this._compileMaterial(this._blurMaterial)}return rt(i,[{key:"fromScene",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:100;Ih=this._renderer.getRenderTarget();var l=this._allocateTargets();return this._sceneToCubeUV(e,t,a,l),r>0&&this._blur(l,0,0,r),this._applyPMREM(l),this._cleanup(l),l}},{key:"fromEquirectangular",value:function(e){return this._fromTexture(e)}},{key:"fromCubemap",value:function(e){return this._fromTexture(e)}},{key:"compileCubemapShader",value:function(){this._cubemapShader===null&&(this._cubemapShader=Ev(),this._compileMaterial(this._cubemapShader))}},{key:"compileEquirectangularShader",value:function(){this._equirectShader===null&&(this._equirectShader=Tv(),this._compileMaterial(this._equirectShader))}},{key:"dispose",value:function(){this._blurMaterial.dispose(),this._cubemapShader!==null&&this._cubemapShader.dispose(),this._equirectShader!==null&&this._equirectShader.dispose();for(var e=0;e<t2.length;e++)t2[e].dispose()}},{key:"_cleanup",value:function(e){this._pingPongRenderTarget.dispose(),this._renderer.setRenderTarget(Ih),e.scissorTest=!1,Oc(e,0,0,e.width,e.height)}},{key:"_fromTexture",value:function(e){Ih=this._renderer.getRenderTarget();var r=this._allocateTargets(e);return this._textureToCubeUV(e,r),this._applyPMREM(r),this._cleanup(r),r}},{key:"_allocateTargets",value:function(e){var r={magFilter:un,minFilter:un,generateMipmaps:!1,type:Ni,format:q1,encoding:k9(e)?e.encoding:lu,depthBuffer:!1},t=Mv(r);return t.depthBuffer=!e,this._pingPongRenderTarget=Mv(r),t}},{key:"_compileMaterial",value:function(e){var r=new zn(t2[0],e);this._renderer.compile(r,Ph)}},{key:"_sceneToCubeUV",value:function(e,r,t,a){var l=90,f=1,m=new Ta(l,f,r,t),x=[1,-1,1,1,1,1],D=[1,1,1,-1,-1,-1],I=this._renderer,N=I.autoClear,W=I.outputEncoding,Z=I.toneMapping;I.getClearColor(xv),I.toneMapping=or,I.outputEncoding=ii,I.autoClear=!1;var Q=!1,oe=e.background;if(oe){if(oe.isColor){D1.color.copy(oe).convertSRGBToLinear(),e.background=null;var K=Sv(D1.color);D1.opacity=K,Q=!0}}else{D1.color.copy(xv).convertSRGBToLinear();var J=Sv(D1.color);D1.opacity=J,Q=!0}for(var _e=0;_e<6;_e++){var Me=_e%3;Me===0?(m.up.set(0,x[_e],0),m.lookAt(D[_e],0,0)):Me===1?(m.up.set(0,0,x[_e]),m.lookAt(0,D[_e],0)):(m.up.set(0,x[_e],0),m.lookAt(0,0,D[_e])),Oc(a,Me*Us,_e>2?Us:0,Us,Us),I.setRenderTarget(a),Q&&I.render(T9,m),I.render(e,m)}I.toneMapping=Z,I.outputEncoding=W,I.autoClear=N}},{key:"_textureToCubeUV",value:function(e,r){var t=this._renderer;e.isCubeTexture?this._cubemapShader==null&&(this._cubemapShader=Ev()):this._equirectShader==null&&(this._equirectShader=Tv());var a=e.isCubeTexture?this._cubemapShader:this._equirectShader,l=new zn(t2[0],a),f=a.uniforms;f.envMap.value=e,e.isCubeTexture||f.texelSize.value.set(1/e.image.width,1/e.image.height),f.inputEncoding.value=zs[e.encoding],f.outputEncoding.value=zs[r.texture.encoding],Oc(r,0,0,3*Us,2*Us),t.setRenderTarget(r),t.render(l,Ph)}},{key:"_applyPMREM",value:function(e){var r=this._renderer,t=r.autoClear;r.autoClear=!1;for(var a=1;a<bv;a++){var l=Math.sqrt(Rc[a]*Rc[a]-Rc[a-1]*Rc[a-1]),f=wv[(a-1)%wv.length];this._blur(e,a-1,a,l,f)}r.autoClear=t}},{key:"_blur",value:function(e,r,t,a,l){var f=this._pingPongRenderTarget;this._halfBlur(e,f,r,t,a,"latitudinal",l),this._halfBlur(f,e,t,t,a,"longitudinal",l)}},{key:"_halfBlur",value:function(e,r,t,a,l,f,m){var x=this._renderer,D=this._blurMaterial;f!=="latitudinal"&&f!=="longitudinal"&&console.error("blur direction must be either latitudinal or longitudinal!");var I=3,N=new zn(t2[a],D),W=D.uniforms,Z=_v[t]-1,Q=isFinite(l)?Math.PI/(2*Z):2*Math.PI/(2*Iu-1),oe=l/Q,K=isFinite(l)?1+Math.floor(I*oe):Iu;K>Iu&&console.warn("sigmaRadians, ".concat(l,", is too large and will clip, as it requested ").concat(K," samples when the maximum is set to ").concat(Iu));for(var J=[],_e=0,Me=0;Me<Iu;++Me){var Ae=Me/oe,ie=Math.exp(-Ae*Ae/2);J.push(ie),Me===0?_e+=ie:Me<K&&(_e+=2*ie)}for(var we=0;we<J.length;we++)J[we]=J[we]/_e;W.envMap.value=e.texture,W.samples.value=K,W.weights.value=J,W.latitudinal.value=f==="latitudinal",m&&(W.poleAxis.value=m),W.dTheta.value=Q,W.mipInt.value=W0-t,W.inputEncoding.value=zs[e.texture.encoding],W.outputEncoding.value=zs[e.texture.encoding];var Te=_v[a],Ye=3*Math.max(0,Us-2*Te),Ie=(a===0?0:2*Us)+2*Te*(a>W0-Du?a-W0+Du:0);Oc(r,Ye,Ie,3*Te,2*Te),x.setRenderTarget(r),x.render(N,Ph)}}]),i}();function k9(i){return i===void 0||i.type!==Ni?!1:i.encoding===ii||i.encoding===d1||i.encoding===uu}function A9(){for(var i=[],s=[],e=[],r=W0,t=0;t<bv;t++){var a=Math.pow(2,r);s.push(a);var l=1/a;t>W0-Du?l=yv[t-W0+Du-1]:t===0&&(l=0),e.push(l);for(var f=1/(a-1),m=-f/2,x=1+f/2,D=[m,m,x,m,x,x,m,m,x,x,m,x],I=6,N=6,W=3,Z=2,Q=1,oe=new Float32Array(W*N*I),K=new Float32Array(Z*N*
5I),J=new Float32Array(Q*N*I),_e=0;_e<I;_e++){var Me=_e%3*2/3-1,Ae=_e>2?0:-1,ie=[Me,Ae,0,Me+2/3,Ae,0,Me+2/3,Ae+1,0,Me,Ae,0,Me+2/3,Ae+1,0,Me,Ae+1,0];oe.set(ie,W*N*_e),K.set(D,Z*N*_e);var we=[_e,_e,_e,_e,_e,_e];J.set(we,Q*N*_e)}var Te=new mr;Te.setAttribute("position",new Hr(oe,W)),Te.setAttribute("uv",new Hr(K,Z)),Te.setAttribute("faceIndex",new Hr(J,Q)),i.push(Te),r>Du&&r--}return{_lodPlanes:i,_sizeLods:s,_sigmas:e}}function Mv(i){var s=new qt(3*Us,3*Us,i);return s.texture.mapping=pr,s.texture.name="PMREM.cubeUv",s.scissorTest=!0,s}function Oc(i,s,e,r,t){i.viewport.set(s,e,r,t),i.scissor.set(s,e,r,t)}function C9(i){var s=new Float32Array(i),e=new pe(0,1,0),r=new Ou({name:"SphericalGaussianBlur",defines:{n:i},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:s},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:e},inputEncoding:{value:zs[ii]},outputEncoding:{value:zs[ii]}},vertexShader:Fh(),fragmentShader:"\n\n			precision mediump float;\n			precision mediump int;\n\n			varying vec3 vOutputDirection;\n\n			uniform sampler2D envMap;\n			uniform int samples;\n			uniform float weights[ n ];\n			uniform bool latitudinal;\n			uniform float dTheta;\n			uniform float mipInt;\n			uniform vec3 poleAxis;\n\n			".concat(Bh(),"\n\n			#define ENVMAP_TYPE_CUBE_UV\n			#include <cube_uv_reflection_fragment>\n\n			vec3 getSample( float theta, vec3 axis ) {\n\n				float cosTheta = cos( theta );\n				// Rodrigues' axis-angle rotation\n				vec3 sampleDirection = vOutputDirection * cosTheta\n					+ cross( axis, vOutputDirection ) * sin( theta )\n					+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n\n				return bilinearCubeUV( envMap, sampleDirection, mipInt );\n\n			}\n\n			void main() {\n\n				vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n\n				if ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n\n					axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n\n				}\n\n				axis = normalize( axis );\n\n				gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n				gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n\n				for ( int i = 1; i < n; i++ ) {\n\n					if ( i >= samples ) {\n\n						break;\n\n					}\n\n					float theta = dTheta * float( i );\n					gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n					gl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n\n				}\n\n				gl_FragColor = linearToOutputTexel( gl_FragColor );\n\n			}\n		"),blending:w,depthTest:!1,depthWrite:!1});return r}function Tv(){var i=new Je(1,1),s=new Ou({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null},texelSize:{value:i},inputEncoding:{value:zs[ii]},outputEncoding:{value:zs[ii]}},vertexShader:Fh(),fragmentShader:"\n\n			precision mediump float;\n			precision mediump int;\n\n			varying vec3 vOutputDirection;\n\n			uniform sampler2D envMap;\n			uniform vec2 texelSize;\n\n			".concat(Bh(),"\n\n			#include <common>\n\n			void main() {\n\n				gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\n				vec3 outputDirection = normalize( vOutputDirection );\n				vec2 uv = equirectUv( outputDirection );\n\n				vec2 f = fract( uv / texelSize - 0.5 );\n				uv -= f * texelSize;\n				vec3 tl = envMapTexelToLinear( texture2D ( envMap, uv ) ).rgb;\n				uv.x += texelSize.x;\n				vec3 tr = envMapTexelToLinear( texture2D ( envMap, uv ) ).rgb;\n				uv.y += texelSize.y;\n				vec3 br = envMapTexelToLinear( texture2D ( envMap, uv ) ).rgb;\n				uv.x -= texelSize.x;\n				vec3 bl = envMapTexelToLinear( texture2D ( envMap, uv ) ).rgb;\n\n				vec3 tm = mix( tl, tr, f.x );\n				vec3 bm = mix( bl, br, f.x );\n				gl_FragColor.rgb = mix( tm, bm, f.y );\n\n				gl_FragColor = linearToOutputTexel( gl_FragColor );\n\n			}\n		"),blending:w,depthTest:!1,depthWrite:!1});return s}function Ev(){var i=new Ou({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},inputEncoding:{value:zs[ii]},outputEncoding:{value:zs[ii]}},vertexShader:Fh(),fragmentShader:"\n\n			precision mediump float;\n			precision mediump int;\n\n			varying vec3 vOutputDirection;\n\n			uniform samplerCube envMap;\n\n			".concat(Bh(),"\n\n			void main() {\n\n				gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n				gl_FragColor.rgb = envMapTexelToLinear( textureCube( envMap, vec3( - vOutputDirection.x, vOutputDirection.yz ) ) ).rgb;\n				gl_FragColor = linearToOutputTexel( gl_FragColor );\n\n			}\n		"),blending:w,depthTest:!1,depthWrite:!1});return i}function Fh(){return"\n\n		precision mediump float;\n		precision mediump int;\n\n		attribute vec3 position;\n		attribute vec2 uv;\n		attribute float faceIndex;\n\n		varying vec3 vOutputDirection;\n\n		// RH coordinate system; PMREM face-indexing convention\n		vec3 getDirection( vec2 uv, float face ) {\n\n			uv = 2.0 * uv - 1.0;\n\n			vec3 direction = vec3( uv, 1.0 );\n\n			if ( face == 0.0 ) {\n\n				direction = direction.zyx; // ( 1, v, u ) pos x\n\n			} else if ( face == 1.0 ) {\n\n				direction = direction.xzy;\n				direction.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n			} else if ( face == 2.0 ) {\n\n				direction.x *= -1.0; // ( -u, v, 1 ) pos z\n\n			} else if ( face == 3.0 ) {\n\n				direction = direction.zyx;\n				direction.xz *= -1.0; // ( -1, v, -u ) neg x\n\n			} else if ( face == 4.0 ) {\n\n				direction = direction.xzy;\n				direction.xy *= -1.0; // ( -u, -1, v ) neg y\n\n			} else if ( face == 5.0 ) {\n\n				direction.z *= -1.0; // ( u, v, -1 ) neg z\n\n			}\n\n			return direction;\n\n		}\n\n		void main() {\n\n			vOutputDirection = getDirection( uv, faceIndex );\n			gl_Position = vec4( position, 1.0 );\n\n		}\n	"}function Bh(){return"\n\n		uniform int inputEncoding;\n		uniform int outputEncoding;\n\n		#include <encodings_pars_fragment>\n\n		vec4 inputTexelToLinear( vec4 value ) {\n\n			if ( inputEncoding == 0 ) {\n\n				return value;\n\n			} else if ( inputEncoding == 1 ) {\n\n				return sRGBToLinear( value );\n\n			} else if ( inputEncoding == 2 ) {\n\n				return RGBEToLinear( value );\n\n			} else if ( inputEncoding == 3 ) {\n\n				return RGBMToLinear( value, 7.0 );\n\n			} else if ( inputEncoding == 4 ) {\n\n				return RGBMToLinear( value, 16.0 );\n\n			} else if ( inputEncoding == 5 ) {\n\n				return RGBDToLinear( value, 256.0 );\n\n			} else {\n\n				return GammaToLinear( value, 2.2 );\n\n			}\n\n		}\n\n		vec4 linearToOutputTexel( vec4 value ) {\n\n			if ( outputEncoding == 0 ) {\n\n				return value;\n\n			} else if ( outputEncoding == 1 ) {\n\n				return LinearTosRGB( value );\n\n			} else if ( outputEncoding == 2 ) {\n\n				return LinearToRGBE( value );\n\n			} else if ( outputEncoding == 3 ) {\n\n				return LinearToRGBM( value, 7.0 );\n\n			} else if ( outputEncoding == 4 ) {\n\n				return LinearToRGBM( value, 16.0 );\n\n			} else if ( outputEncoding == 5 ) {\n\n				return LinearToRGBD( value, 256.0 );\n\n			} else {\n\n				return LinearToGamma( value, 2.2 );\n\n			}\n\n		}\n\n		vec4 envMapTexelToLinear( vec4 color ) {\n\n			return inputTexelToLinear( color );\n\n		}\n	"}var R9=0,O9=1,L9=0,P9=1,D9=2;function I9(i){return console.warn("THREE.MeshFaceMaterial has been removed. Use an Array instead."),i}function F9(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return console.warn("THREE.MultiMaterial has been removed. Use an Array instead."),i.isMultiMaterial=!0,i.materials=i,i.clone=function(){return i.slice()},i}function B9(i,s){return console.warn("THREE.PointCloud has been renamed to THREE.Points."),new uc(i,s)}function N9(i){return console.warn("THREE.Particle has been renamed to THREE.Sprite."),new G3(i)}function U9(i,s){return console.warn("THREE.ParticleSystem has been renamed to THREE.Points."),new uc(i,s)}function z9(i){return console.warn("THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial."),new M1(i)}function G9(i){return console.warn("THREE.ParticleBasicMaterial has been renamed to THREE.PointsMaterial."),new M1(i)}function V9(i){return console.warn("THREE.ParticleSystemMaterial has been renamed to THREE.PointsMaterial."),new M1(i)}function H9(i,s,e){return console.warn("THREE.Vertex has been removed. Use THREE.Vector3 instead."),new pe(i,s,e)}function X9(i,s){return console.warn("THREE.DynamicBufferAttribute has been removed. Use new THREE.BufferAttribute().setUsage( THREE.DynamicDrawUsage ) instead."),new Hr(i,s).setUsage(Xe)}function W9(i,s){return console.warn("THREE.Int8Attribute has been removed. Use new THREE.Int8BufferAttribute() instead."),new Cs(i,s)}function Y9(i,s){return console.warn("THREE.Uint8Attribute has been removed. Use new THREE.Uint8BufferAttribute() instead."),new s0(i,s)}function q9(i,s){return console.warn("THREE.Uint8ClampedAttribute has been removed. Use new THREE.Uint8ClampedBufferAttribute() instead."),new Go(i,s)}function j9(i,s){return console.warn("THREE.Int16Attribute has been removed. Use new THREE.Int16BufferAttribute() instead."),new Vo(i,s)}function J9(i,s){return console.warn("THREE.Uint16Attribute has been removed. Use new THREE.Uint16BufferAttribute() instead."),new gi(i,s)}function Z9(i,s){return console.warn("THREE.Int32Attribute has been removed. Use new THREE.Int32BufferAttribute() instead."),new ss(i,s)}function K9(i,s){return console.warn("THREE.Uint32Attribute has been removed. Use new THREE.Uint32BufferAttribute() instead."),new Rs(i,s)}function $9(i,s){return console.warn("THREE.Float32Attribute has been removed. Use new THREE.Float32BufferAttribute() instead."),new ur(i,s)}function Q9(i,s){return console.warn("THREE.Float64Attribute has been removed. Use new THREE.Float64BufferAttribute() instead."),new us(i,s)}xo.create=function(i,s){return console.log("THREE.Curve.create() has been deprecated"),i.prototype=Object.create(xo.prototype),i.prototype.constructor=i,i.prototype.getPoint=s,i},ku.prototype.fromPoints=function(i){return console.warn("THREE.Path: .fromPoints() has been renamed to .setFromPoints()."),this.setFromPoints(i)};function eg(i){return console.warn("THREE.AxisHelper has been renamed to THREE.AxesHelper."),new pv(i)}function tg(i,s){return console.warn("THREE.BoundingBoxHelper has been deprecated. Creating a THREE.BoxHelper instead."),new vv(i,s)}function rg(i,s){return console.warn("THREE.EdgesHelper has been removed. Use THREE.EdgesGeometry instead."),new _o(new $4(i.geometry),new $a({color:s!==void 0?s:16777215}))}hv.prototype.setColors=function(){console.error("THREE.GridHelper: setColors() has been deprecated, pass them in the constructor instead.")},sv.prototype.update=function(){console.error("THREE.SkeletonHelper: update(
5) no longer needs to be called.")};function ng(i,s){return console.warn("THREE.WireframeHelper has been removed. Use THREE.WireframeGeometry instead."),new _o(new dd(i.geometry),new $a({color:s!==void 0?s:16777215}))}Ii.prototype.extractUrlBase=function(i){return console.warn("THREE.Loader: .extractUrlBase() has been deprecated. Use THREE.LoaderUtils.extractUrlBase() instead."),Md.extractUrlBase(i)},Ii.Handlers={add:function(){console.error("THREE.Loader: Handlers.add() has been removed. Use LoadingManager.addHandler() instead.")},get:function(){console.error("THREE.Loader: Handlers.get() has been removed. Use LoadingManager.getHandler() instead.")}};function ag(i){return console.warn("THREE.XHRLoader has been renamed to THREE.FileLoader."),new b0(i)}function ig(i){return console.warn("THREE.BinaryTextureLoader has been renamed to THREE.DataTextureLoader."),new _d(i)}Pu.prototype.center=function(i){return console.warn("THREE.Box2: .center() has been renamed to .getCenter()."),this.getCenter(i)},Pu.prototype.empty=function(){return console.warn("THREE.Box2: .empty() has been renamed to .isEmpty()."),this.isEmpty()},Pu.prototype.isIntersectionBox=function(i){return console.warn("THREE.Box2: .isIntersectionBox() has been renamed to .intersectsBox()."),this.intersectsBox(i)},Pu.prototype.size=function(i){return console.warn("THREE.Box2: .size() has been renamed to .getSize()."),this.getSize(i)},Jt.prototype.center=function(i){return console.warn("THREE.Box3: .center() has been renamed to .getCenter()."),this.getCenter(i)},Jt.prototype.empty=function(){return console.warn("THREE.Box3: .empty() has been renamed to .isEmpty()."),this.isEmpty()},Jt.prototype.isIntersectionBox=function(i){return console.warn("THREE.Box3: .isIntersectionBox() has been renamed to .intersectsBox()."),this.intersectsBox(i)},Jt.prototype.isIntersectionSphere=function(i){return console.warn("THREE.Box3: .isIntersectionSphere() has been renamed to .intersectsSphere()."),this.intersectsSphere(i)},Jt.prototype.size=function(i){return console.warn("THREE.Box3: .size() has been renamed to .getSize()."),this.getSize(i)},Nn.prototype.empty=function(){return console.warn("THREE.Sphere: .empty() has been renamed to .isEmpty()."),this.isEmpty()},Is.prototype.setFromMatrix=function(i){return console.warn("THREE.Frustum: .setFromMatrix() has been renamed to .setFromProjectionMatrix()."),this.setFromProjectionMatrix(i)},av.prototype.center=function(i){return console.warn("THREE.Line3: .center() has been renamed to .getCenter()."),this.getCenter(i)},st.prototype.flattenToArrayOffset=function(i,s){return console.warn("THREE.Matrix3: .flattenToArrayOffset() has been deprecated. Use .toArray() instead."),this.toArray(i,s)},st.prototype.multiplyVector3=function(i){return console.warn("THREE.Matrix3: .multiplyVector3(
5) has been removed. Use vector.applyMatrix3( matrix ) instead."),i.applyMatrix3(this)},st.prototype.multiplyVector3Array=function(){console.error("THREE.Matrix3: .multiplyVector3Array() has been removed.")},st.prototype.applyToBufferAttribute=function(i){return console.warn("THREE.Matrix3: .applyToBufferAttribute() has been removed. Use attribute.applyMatrix3( matrix ) instead."),i.applyMatrix3(this)},st.prototype.applyToVector3Array=function(){console.error("THREE.Matrix3: .applyToVector3Array() has been removed.")},st.prototype.getInverse=function(i){return console.warn("THREE.Matrix3: .getInverse() has been removed. Use matrixInv.copy( matrix ).invert(); instead."),this.copy(i).invert()},tr.prototype.extractPosition=function(i){return console.warn("THREE.Matrix4: .extractPosition() has been renamed to .copyPosition()."),this.copyPosition(i)},tr.prototype.flattenToArrayOffset=function(i,s){return console.warn("THREE.Matrix4: .flattenToArrayOffset() has been deprecated. Use .toArray() instead."),this.toArray(i,s)},tr.prototype.getPosition=function(){return console.warn("THREE.Matrix4: .getPosition() has been removed. Use Vector3.setFromMatrixPosition( matrix ) instead."),new pe().setFromMatrixColumn(this,3)},tr.prototype.setRotationFromQuaternion=function(i){return console.warn("THREE.Matrix4: .setRotationFromQuaternion() has been renamed to .makeRotationFromQuaternion()."),this.makeRotationFromQuaternion(i)},tr.prototype.multiplyToArray=function(){console.warn("THREE.Matrix4: .multiplyToArray() has been removed.")},tr.prototype.multiplyVector3=function(i){return console.warn("THREE.Matrix4: .multiplyVector3(
5) has been removed. Use vector.applyMatrix4( matrix ) instead."),i.applyMatrix4(this)},tr.prototype.multiplyVector4=function(i){return console.warn("THREE.Matrix4: .multiplyVector4() has been removed. Use vector.applyMatrix4( matrix ) instead."),i.applyMatrix4(this)},tr.prototype.multiplyVector3Array=function(){console.error("THREE.Matrix4: .multiplyVector3Array() has been removed.")},tr.prototype.rotateAxis=function(i){console.warn("THREE.Matrix4: .rotateAxis() has been removed. Use Vector3.transformDirection( matrix ) instead."),i.transformDirection(this)},tr.prototype.crossVector=function(i){return console.warn("THREE.Matrix4: .crossVector() has been removed. Use vector.applyMatrix4( matrix ) instead."),i.applyMatrix4(this)},tr.prototype.translate=function(){console.error("THREE.Matrix4: .translate() has been removed.")},tr.prototype.rotateX=function(){console.error("THREE.Matrix4: .rotateX() has been removed.")},tr.prototype.rotateY=function(){console.error("THREE.Matrix4: .rotateY() has been removed.")},tr.prototype.rotateZ=function(){console.error("THREE.Matrix4: .rotateZ() has been removed.")},tr.prototype.rotateByAxis=function(){console.error("THREE.Matrix4: .rotateByAxis() has been removed.")},tr.prototype.applyToBufferAttribute=function(i){return console.warn("THREE.Matrix4: .applyToBufferAttribute() has been removed. Use attribute.applyMatrix4( matrix ) instead."),i.applyMatrix4(this)},tr.prototype.applyToVector3Array=function(){console.error("THREE.Matrix4: .applyToVector3Array() has been removed.")},tr.prototype.makeFrustum=function(i,s,e,r,t,a){return console.warn("THREE.Matrix4: .makeFrustum() has been removed. Use .makePerspective( left, right, top, bottom, near, far ) instead."),this.makePerspective(i,s,r,e,t,a)},tr.prototype.getInverse=function(i){return console.warn("THREE.Matrix4: .getInverse() has been removed. Use matrixInv.copy( matrix ).invert(); instead."),this.copy(i).invert()},ja.prototype.isIntersectionLine=function(i){return console.warn("THREE.Plane: .isIntersectionLine() has been renamed to .intersectsLine()."),this.intersectsLine(i)},ar.prototype.multiplyVector3=function(i){return console.warn("THREE.Quaternion: .multiplyVector3(
5) has been removed. Use is now vector.applyQuaternion( quaternion ) instead."),i.applyQuaternion(this)},ar.prototype.inverse=function(){return console.warn("THREE.Quaternion: .inverse() has been renamed to invert()."),this.invert()},ga.prototype.isIntersectionBox=function(i){return console.warn("THREE.Ray: .isIntersectionBox() has been renamed to .intersectsBox()."),this.intersectsBox(i)},ga.prototype.isIntersectionPlane=function(i){return console.warn("THREE.Ray: .isIntersectionPlane() has been renamed to .intersectsPlane()."),this.intersectsPlane(i)},ga.prototype.isIntersectionSphere=function(i){return console.warn("THREE.Ray: .isIntersectionSphere() has been renamed to .intersectsSphere()."),this.intersectsSphere(i)},xn.prototype.area=function(){return console.warn("THREE.Triangle: .area() has been renamed to .getArea()."),this.getArea()},xn.prototype.barycoordFromPoint=function(i,s){return console.warn("THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord()."),this.getBarycoord(i,s)},xn.prototype.midpoint=function(i){return console.warn("THREE.Triangle: .midpoint() has been renamed to .getMidpoint()."),this.getMidpoint(i)},xn.prototypenormal=function(i){return console.warn("THREE.Triangle: .normal() has been renamed to .getNormal()."),this.getNormal(i)},xn.prototype.plane=function(i){return console.warn("THREE.Triangle: .plane() has been renamed to .getPlane()."),this.getPlane(i)},xn.barycoordFromPoint=function(i,s,e,r,t){return console.warn("THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord()."),xn.getBarycoord(i,s,e,r,t)},xn.normal=function(i,s,e,r){return console.warn("THREE.Triangle: .normal() has been renamed to .getNormal()."),xn.getNormal(i,s,e,r)},C1.prototype.extractAllPoints=function(i){return console.warn("THREE.Shape: .extractAllPoints() has been removed. Use .extractPoints() instead."),this.extractPoints(i)},C1.prototype.extrude=function(i){return console.warn("THREE.Shape: .extrude() has been removed. Use ExtrudeGeometry() instead."),new T1(this,i)},C1.prototype.makeGeometry=function(i){return console.warn("THREE.Shape: .makeGeometry() has been removed. Use ShapeGeometry() instead."),new sh(this,i)},Je.prototype.fromAttribute=function(i,s,e){return console.warn("THREE.Vector2: .fromAttribute() has been renamed to .fromBufferAttribute()."),this.fromBufferAttribute(i,s,e)},Je.prototype.distanceToManhattan=function(i){return console.warn("THREE.Vector2: .distanceToManhattan() has been renamed to .manhattanDistanceTo()."),this.manhattanDistanceTo(i)},Je.prototype.lengthManhattan=function(){return console.warn("THREE.Vector2: .lengthManhattan() has been renamed to .manhattanLength()."),this.manhattanLength()},pe.prototype.setEulerFromRotationMatrix=function(){console.error("THREE.Vector3: .setEulerFromRotationMatrix() has been removed. Use Euler.setFromRotationMatrix() instead.")},pe.prototype.setEulerFromQuaternion=function(){console.error("THREE.Vector3: .setEulerFromQuaternion() has been removed. Use Euler.setFromQuaternion() instead.")},pe.prototype.getPositionFromMatrix=function(i){return console.warn("THREE.Vector3: .getPositionFromMatrix() has been renamed to .setFromMatrixPosition()."),this.setFromMatrixPosition(i)},pe.prototype.getScaleFromMatrix=function(i){return console.warn("THREE.Vector3: .getScaleFromMatrix() has been renamed to .setFromMatrixScale()."),this.setFromMatrixScale(i)},pe.prototype.getColumnFromMatrix=function(i,s){return console.warn("THREE.Vector3: .getColumnFromMatrix() has been renamed to .setFromMatrixColumn()."),this.setFromMatrixColumn(s,i)},pe.prototype.applyProjection=function(i){return console.warn("THREE.Vector3: .applyProjection() has been removed. Use .applyMatrix4( m ) instead."),this.applyMatrix4(i)},pe.prototype.fromAttribute=function(i,s,e){return console.warn("THREE.Vector3: .fromAttribute() has been renamed to .fromBufferAttribute()."),this.fromBufferAttribute(i,s,e)},pe.prototype.distanceToManhattan=function(i){return console.warn("THREE.Vector3: .distanceToManhattan() has been renamed to .manhattanDistanceTo()."),this.manhattanDistanceTo(i)},pe.prototype.lengthManhattan=function(){return console.warn("THREE.Vector3: .lengthManhattan() has been renamed to .manhattanLength()."),this.manhattanLength()},kt.prototype.fromAttribute=function(i,s,e){return console.warn("THREE.Vector4: .fromAttribute() has been renamed to .fromBufferAttribute()."),this.fromBufferAttribute(i,s,e)},kt.prototype.lengthManhattan=function(){return console.warn("THREE.Vector4: .lengthManhattan() has been renamed to .manhattanLength()."),this.manhattanLength()},Ur.prototype.getChildByName=function(i){return console.warn("THREE.Object3D: .getChildByName() has been renamed to .getObjectByName()."),this.getObjectByName(i)},Ur.prototype.renderDepth=function(){console.warn("THREE.Object3D: .renderDepth has been removed. Use .renderOrder, instead.")},Ur.prototype.translate=function(i,s){return console.warn("THREE.Object3D: .translate() has been removed. Use .translateOnAxis( axis, distance ) instead."),this.translateOnAxis(s,i)},Ur.prototype.getWorldRotation=function(){console.error("THREE.Object3D: .getWorldRotation() has been removed. Use THREE.Object3D.getWorldQuaternion( target ) instead.")}
5,Ur.prototype.applyMatrix=function(i){return console.warn("THREE.Object3D: .applyMatrix() has been renamed to .applyMatrix4()."),this.applyMatrix4(i)},Object.defineProperties(Ur.prototype,{eulerOrder:{get:function(){return console.warn("THREE.Object3D: .eulerOrder is now .rotation.order."),this.rotation.order},set:function(s){console.warn("THREE.Object3D: .eulerOrder is now .rotation.order."),this.rotation.order=s}},useQuaternion:{get:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")},set:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")}}}),zn.prototype.setDrawMode=function(){console.error("THREE.Mesh: .setDrawMode() has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.")},Object.defineProperties(zn.prototype,{drawMode:{get:function(){return console.error("THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode."),I2},set:function(){console.error("THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.")}}}),V3.prototype.initBones=function(){console.error("THREE.SkinnedMesh: initBones() has been removed.")},Ta.prototype.setLens=function(i,s){console.warn("THREE.PerspectiveCamera.setLens is deprecated. Use .setFocalLength and .filmGauge for a photographic setup."),s!==void 0&&(this.filmGauge=s),this.setFocalLength(i)},Object.defineProperties(bs.prototype,{onlyShadow:{set:function(){console.warn("THREE.Light: .onlyShadow has been removed.")}},shadowCameraFov:{set:function(s){console.warn("THREE.Light: .shadowCameraFov is now .shadow.camera.fov."),this.shadow.camera.fov=s}},shadowCameraLeft:{set:function(s){console.warn("THREE.Light: .shadowCameraLeft is now .shadow.camera.left."),this.shadow.camera.left=s}},shadowCameraRight:{set:function(s){console.warn("THREE.Light: .shadowCameraRight is now .shadow.camera.right."),this.shadow.camera.right=s}},shadowCameraTop:{set:function(s){console.warn("THREE.Light: .shadowCameraTop is now .shadow.camera.top."),this.shadow.camera.top=s}},shadowCameraBottom:{set:function(s){console.warn("THREE.Light: .shadowCameraBottom is now .shadow.camera.bottom."),this.shadow.camera.bottom=s}},shadowCameraNear:{set:function(s){console.warn("THREE.Light: .shadowCameraNear is now .shadow.camera.near."),this.shadow.camera.near=s}},shadowCameraFar:{set:function(s){console.warn("THREE.Light: .shadowCameraFar is now .shadow.camera.far."),this.shadow.camera.far=s}},shadowCameraVisible:{set:function(){console.warn("THREE.Light: .shadowCameraVisible has been removed. Use new THREE.CameraHelper( light.shadow.camera ) instead.")}},shadowBias:{set:function(s){console.warn("THREE.Light: .shadowBias is now .shadow.bias."),this.shadow.bias=s}},shadowDarkness:{set:function(){console.warn("THREE.Light: .shadowDarkness has been removed.")}},shadowMapWidth:{set:function(s){console.warn("THREE.Light: .shadowMapWidth is now .shadow.mapSize.width."),this.shadow.mapSize.width=s}},shadowMapHeight:{set:function(s){console.warn("THREE.Light: .shadowMapHeight is now .shadow.mapSize.height."),this.shadow.mapSize.height=s}}}),Object.defineProperties(Hr.prototype,{length:{get:function(){return console.warn("THREE.BufferAttribute: .length has been deprecated. Use .count instead."),this.array.length}},dynamic:{get:function(){return console.warn("THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead."),this.usage===Xe},set:function(){console.warn("THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead."),this.setUsage(Xe)}}}),Hr.prototype.setDynamic=function(i){return console.warn("THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead."),this.setUsage(i===!0?Xe:Gr),this},Hr.prototype.copyIndicesArray=function(){console.error("THREE.BufferAttribute: .copyIndicesArray() has been removed.")},Hr.prototype.setArray=function(){console.error("THREE.BufferAttribute: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers")},mr.prototype.addIndex=function(i){console.warn("THREE.BufferGeometry: .addIndex() has been renamed to .setIndex()."),this.setIndex(i)},mr.prototype.addAttribute=function(i,s){return console.warn("THREE.BufferGeometry: .addAttribute() has been renamed to .setAttribute()."),!(s&&s.isBufferAttribute)&&!(s&&s.isInterleavedBufferAttribute)?(console.warn("THREE.BufferGeometry: .addAttribute() now expects ( name, attribute )."),this.setAttribute(i,new Hr(arguments[1],arguments[2]))):i==="index"?(console.warn("THREE.BufferGeometry.addAttribute: Use .setIndex() for index attribute."),this.setIndex(s),this):this.setAttribute(i,s)},mr.prototype.addDrawCall=function(i,s,e){e!==void 0&&console.warn("THREE.BufferGeometry: .addDrawCall() no longer supports indexOffset."),console.warn("THREE.BufferGeometry: .addDrawCall() is now .addGroup()."),this.addGroup(i,s)},mr.prototype.clearDrawCalls=function(){console.warn("THREE.BufferGeometry: .clearDrawCalls() is now .clearGroups()."),this.clearGroups()},mr.prototype.computeOffsets=function(){console.warn("THREE.BufferGeometry: .computeOffsets() has been removed.")},mr.prototype.removeAttribute=function(i){return console.warn("THREE.BufferGeometry: .removeAttribute() has been renamed to .deleteAttribute()."),this.deleteAttribute(i)}
5,mr.prototype.applyMatrix=function(i){return console.warn("THREE.BufferGeometry: .applyMatrix() has been renamed to .applyMatrix4()."),this.applyMatrix4(i)},Object.defineProperties(mr.prototype,{drawcalls:{get:function(){return console.error("THREE.BufferGeometry: .drawcalls has been renamed to .groups."),this.groups}},offsets:{get:function(){return console.warn("THREE.BufferGeometry: .offsets has been renamed to .groups."),this.groups}}}),S1.prototype.setDynamic=function(i){return console.warn("THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead."),this.setUsage(i===!0?Xe:Gr),this},S1.prototype.setArray=function(){console.error("THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers")},T1.prototype.getArrays=function(){console.error("THREE.ExtrudeGeometry: .getArrays() has been removed.")},T1.prototype.addShapeList=function(){console.error("THREE.ExtrudeGeometry: .addShapeList() has been removed.")},T1.prototype.addShape=function(){console.error("THREE.ExtrudeGeometry: .addShape() has been removed.")},U3.prototype.dispose=function(){console.error("THREE.Scene: .dispose() has been removed.")},$d.prototype.onUpdate=function(){return console.warn("THREE.Uniform: .onUpdate() has been removed. Use object.onBeforeRender() instead."),this},Object.defineProperties($n.prototype,{wrapAround:{get:function(){console.warn("THREE.Material: .wrapAround has been removed.")}
5,set:function(){console.warn("THREE.Material: .wrapAround has been removed.")}},overdraw:{get:function(){console.warn("THREE.Material: .overdraw has been removed.")},set:function(){console.warn("THREE.Material: .overdraw has been removed.")}},wrapRGB:{get:function(){return console.warn("THREE.Material: .wrapRGB has been removed."),new Zt}},shading:{get:function(){console.error("THREE.".concat(this.type,": .shading has been removed. Use the boolean .flatShading instead."))},set:function(s){console.warn("THREE.".concat(this.type,": .shading has been removed. Use the boolean .flatShading instead.")),this.flatShading=s===T}},stencilMask:{get:function(){return console.warn("THREE.".concat(this.type,": .stencilMask has been removed. Use .stencilFuncMask instead.")),this.stencilFuncMask},set:function(s){console.warn("THREE.".concat(this.type,": .stencilMask has been removed. Use .stencilFuncMask instead.")),this.stencilFuncMask=s}}}),Object.defineProperties(ui.prototype,{derivatives:{get:function(){return console.warn("THREE.ShaderMaterial: .derivatives has been moved to .extensions.derivatives."),this.extensions.derivatives},set:function(s){console.warn("THREE. ShaderMaterial: .derivatives has been moved to .extensions.derivatives."),this.extensions.derivatives=s}}}),In.prototype.clearTarget=function(i,s,e,r){console.warn("THREE.WebGLRenderer: .clearTarget() has been deprecated. Use .setRenderTarget() and .clear() instead."),this.setRenderTarget(i),this.clear(s,e,r)},In.prototype.animate=function(i){console.warn("THREE.WebGLRenderer: .animate() is now .setAnimationLoop()."),this.setAnimationLoop(i)},In.prototype.getCurrentRenderTarget=function(){return console.warn("THREE.WebGLRenderer: .getCurrentRenderTarget() is now .getRenderTarget()."),this.getRenderTarget()},In.prototype.getMaxAnisotropy=function(){return console.warn("THREE.WebGLRenderer: .getMaxAnisotropy() is now .capabilities.getMaxAnisotropy()."),this.capabilities.getMaxAnisotropy()},In.prototype.getPrecision=function(){return console.warn("THREE.WebGLRenderer: .getPrecision() is now .capabilities.precision."),this.capabilities.precision},In.prototype.resetGLState=function(){return console.warn("THREE.WebGLRenderer: .resetGLState() is now .state.reset()."),this.state.reset()},In.prototype.supportsFloatTextures=function(){return console.warn("THREE.WebGLRenderer: .supportsFloatTextures() is now .extensions.get( 'OES_texture_float' )."),this.extensions.get("OES_texture_float")},In.prototype.supportsHalfFloatTextures=function(){return console.warn("THREE.WebGLRenderer: .supportsHalfFloatTextures() is now .extensions.get( 'OES_texture_half_float' )."),this.extensions.get("OES_texture_half_float")},In.prototype.supportsStandardDerivatives=function(){return console.warn("THREE.WebGLRenderer: .supportsStandardDerivatives() is now .extensions.get( 'OES_standard_derivatives' )."),this.extensions.get("OES_standard_derivatives")},In.prototype.supportsCompressedTextureS3TC=function(){return console.warn("THREE.WebGLRenderer: .supportsCompressedTextureS3TC() is now .extensions.get( 'WEBGL_compressed_texture_s3tc' )."),this.extensions.get("WEBGL_compressed_texture_s3tc")},In.prototype.supportsCompressedTexturePVRTC=function(){return console.warn("THREE.WebGLRenderer: .supportsCompressedTexturePVRTC() is now .extensions.get( 'WEBGL_compressed_texture_pvrtc' )."),this.extensions.get("WEBGL_compressed_texture_pvrtc")},In.prototype.supportsBlendMinMax=function(){return console.warn("THREE.WebGLRenderer: .supportsBlendMinMax() is now .extensions.get( 'EXT_blend_minmax' )."),this.extensions.get("EXT_blend_minmax")},In.prototype.supportsVertexTextures=function(){return console.warn("THREE.WebGLRenderer: .supportsVertexTextures() is now .capabilities.vertexTextures."),this.capabilities.vertexTextures},In.prototype.supportsInstancedArrays=function(){return console.warn("THREE.WebGLRenderer: .supportsInstancedArrays() is now .extensions.get( 'ANGLE_instanced_arrays' )."),this.extensions.get("ANGLE_instanced_arrays")},In.prototype.enableScissorTest=function(i){console.warn("THREE.WebGLRenderer: .enableScissorTest() is now .setScissorTest()."),this.setScissorTest(i)},In.prototype.initMaterial=function(){console.warn("THREE.WebGLRenderer: .initMaterial() has been removed.")},In.prototype.addPrePlugin=function(){console.warn("THREE.WebGLRenderer: .addPrePlugin() has been removed.")},In.prototype.addPostPlugin=function(){console.warn("THREE.WebGLRenderer: .addPostPlugin() has been removed.")},In.prototype.updateShadowMap=function(){console.warn("THREE.WebGLRenderer: .updateShadowMap() has been removed.")},In.prototype.setFaceCulling=function(){console.warn("THREE.WebGLRenderer: .setFaceCulling(
5) has been removed.")},In.prototype.allocTextureUnit=function(){console.warn("THREE.WebGLRenderer: .allocTextureUnit() has been removed.")},In.prototype.setTexture=function(){console.warn("THREE.WebGLRenderer: .setTexture() has been removed.")},In.prototype.setTexture2D=function(){console.warn("THREE.WebGLRenderer: .setTexture2D() has been removed.")},In.prototype.setTextureCube=function(){console.warn("THREE.WebGLRenderer: .setTextureCube() has been removed.")},In.prototype.getActiveMipMapLevel=function(){return console.warn("THREE.WebGLRenderer: .getActiveMipMapLevel() is now .getActiveMipmapLevel()."),this.getActiveMipmapLevel()},Object.defineProperties(In.prototype,{shadowMapEnabled:{get:function(){return this.shadowMap.enabled},set:function(s){console.warn("THREE.WebGLRenderer: .shadowMapEnabled is now .shadowMap.enabled."),this.shadowMap.enabled=s}},shadowMapType:{get:function(){return this.shadowMap.type},set:function(s){console.warn("THREE.WebGLRenderer: .shadowMapType is now .shadowMap.type."),this.shadowMap.type=s}},shadowMapCullFace:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.")}},context:{get:function(){return console.warn("THREE.WebGLRenderer: .context has been removed. Use .getContext() instead."),this.getContext()}},vr:{get:function(){return console.warn("THREE.WebGLRenderer: .vr has been renamed to .xr"),this.xr}},gammaInput:{get:function(){return console.warn("THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead."),!1},set:function(){console.warn("THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead.")}},gammaOutput:{get:function(){return console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead."),!1},set:function(s){console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead."),this.outputEncoding=s===!0?d1:ii}},toneMappingWhitePoint:{get:function(){return console.warn("THREE.WebGLRenderer: .toneMappingWhitePoint has been removed."),1},set:function(){console.warn("THREE.WebGLRenderer: .toneMappingWhitePoint has been removed.")}}}),Object.defineProperties(p4.prototype,{cullFace:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.")}},renderReverseSided:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.")}},renderSingleSided:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.")}}});function og(i,s,e){return console.warn("THREE.WebGLRenderTargetCube( width, height, options ) is now WebGLCubeRenderTarget( size, options )."),new L0(i,e)}Object.defineProperties(qt.prototype,{wrapS:{get:function(){return console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS."),this.texture.wrapS},set:function(s){console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS."),this.texture.wrapS=s}},wrapT:{get:function(){return console.warn("THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT."),this.texture.wrapT},set:function(s){console.warn("THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT."),this.texture.wrapT=s}},magFilter:{get:function(){return console.warn("THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter."),this.texture.magFilter},set:function(s){console.warn("THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter."),this.texture.magFilter=s}},minFilter:{get:function(){return console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter."),this.texture.minFilter},set:function(s){console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter."),this.texture.minFilter=s}},anisotropy:{get:function(){return console.warn("THREE.WebGLRenderTarget: .anisotropy 
5is now .texture.anisotropy."),this.texture.anisotropy},set:function(s){console.warn("THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy."),this.texture.anisotropy=s}},offset:{get:function(){return console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset."),this.texture.offset},set:function(s){console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset."),this.texture.offset=s}},repeat:{get:function(){return console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat."),this.texture.repeat},set:function(s){console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat."),this.texture.repeat=s}},format:{get:function(){return console.warn("THREE.WebGLRenderTarget: .format is now .texture.format."),this.texture.format},set:function(s){console.warn("THREE.WebGLRenderTarget: .format is now .texture.format."),this.texture.format=s}},type:{get:function(){return console.warn("THREE.WebGLRenderTarget: .type is now .texture.type."),this.texture.type},set:function(s){console.warn("THREE.WebGLRenderTarget: .type is now .texture.type."),this.texture.type=s}},generateMipmaps:{get:function(){return console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps."),this.texture.generateMipmaps},set:function(s){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps."),this.texture.generateMipmaps=s}}}),kh.prototype.load=function(i){console.warn("THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.");var s=this,e=new Td;return e.load(i,function(r){s.setBuffer(r)}),this},jd.prototype.getData=function(){return console.warn("THREE.AudioAnalyser: .getData() is now .getFrequencyData()."),this.getFrequencyData()},mo.prototype.updateCubeMap=function(i,s){return console.warn("THREE.CubeCamera: .updateCubeMap() is now .update(
5)."),this.update(i,s)},mo.prototype.clear=function(i,s,e,r){return console.warn("THREE.CubeCamera: .clear() is now .renderTarget.clear()."),this.renderTarget.clear(i,s,e,r)},At.crossOrigin=void 0,At.loadTexture=function(i,s,e,r){console.warn("THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.");var t=new xd;t.setCrossOrigin(this.crossOrigin);var a=t.load(i,e,void 0,r);return s&&(a.mapping=s),a},At.loadTextureCube=function(i,s,e,r){console.warn("THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.");var t=new bd;t.setCrossOrigin(this.crossOrigin);var a=t.load(i,e,void 0,r);return s&&(a.mapping=s),a},At.loadCompressedTexture=function(){console.error("THREE.ImageUtils.loadCompressedTexture has been removed. Use THREE.DDSLoader instead.")},At.loadCompressedTextureCube=function(){console.error("THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead.")};function sg(){console.error("THREE.CanvasRenderer has been removed")}function ug(){console.error("THREE.JSONLoader has been removed.")}var lg={createMultiMaterialObject:function(){console.error("THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js")},detach:function(){console.error("THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js")},attach:function(){console.error("THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js")}};function cg(){console.error("THREE.LensFlare has been moved to /examples/jsm/objects/Lensflare.js")}typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:h}})),typeof window<"u"&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=h),o.ACESFilmicToneMapping=Tn,o.AddEquation=se,o.AddOperation=Wt,o.AdditiveAnimationBlendMode=Sl,o.AdditiveBlending=E,o.AlphaFormat=i1,o.AlwaysDepth=Ue,o.AlwaysStencilFunc=hu,o.AmbientLight=Ud,o.AmbientLightProbe=zd,o.AnimationClip=_c,o.AnimationLoader=V7,o.AnimationMixer=Kd,o.AnimationObjectGroup=Zd,o.AnimationUtils=Qn,o.ArcCurve=q3,o.ArrayCamera=Hd,o.ArrowHelper=w9,o.Audio=kh,o.AudioAnalyser=jd,o.AudioContext=Sh,o.AudioListener=K7,o.AudioLoader=Td,o.AxesHelper=pv,o.AxisHelper=eg,o.BackSide=L,o.BasicDepthPacking=B2,o.BasicShadowMap=H,o.BinaryTextureLoader=ig,o.Bone=H3,o.BooleanKeyframeTrack=E1,o.BoundingBoxHelper=tg,o.Box2=Pu,o.Box3=Jt,o.Box3Helper=_9,o.BoxBufferGeometry=Pi,o.BoxGeometry=Pi,o.BoxHelper=vv,o.BufferAttribute=Hr,o.BufferGeometry=mr,o.BufferGeometryLoader=W7,o.ByteType=A0,o.Cache=A1,o.Camera=vo,o.CameraHelper=b9,o.CanvasRenderer=sg,o.CanvasTexture=H4,o.CapsuleBufferGeometry=J4,o.CapsuleGeometry=J4,o.CatmullRomCurve3=$3,o.CineonToneMapping=kr,o.CircleBufferGeometry=W4,o.CircleGeometry=W4,o.ClampToEdgeWrapping=dr,o.Clock=Xd,o.Color=Zt,o.ColorKeyframeTrack=yh,o.CompressedTexture=Y3,o.CompressedTextureLoader=H7,o.ConeBufferGeometry=Z4,o.ConeGeometry=Z4,o.CubeCamera=mo,o.CubeReflectionMapping=Oa,o.CubeRefractionMapping=Rn,o.CubeTexture=Ji,o.CubeTextureLoader=bd,o.CubeUVReflectionMapping=pr,o.CubeUVRefractionMapping=wa,o.CubicBezierCurve=cc,o.CubicBezierCurve3=Q3,o.CubicInterpolant=vd,o.CullFaceBack=z,o.CullFaceFront=C,o.CullFaceFrontBack=B,o.CullFaceNone=O,o.Curve=xo,o.CurvePath=j4,o.CustomBlending=te,o.CustomToneMapping=qr,o.CylinderBufferGeometry=dc,o.CylinderGeometry=dc,o.Cylindrical=f9,o.DataTexture=nc,o.DataTexture2DArray=F3,o.DataTexture3D=B3,o.DataTextureLoader=_d,o.DataUtils=M9,o.DecrementStencilOp=M3,o.DecrementWrapStencilOp=E3,o.DefaultLoadingManager=yd,o.DepthFormat=Co,o.DepthStencilFormat=ks,o.DepthTexture=X4,o.DirectionalLight=Nd,o.DirectionalLightHelper=y9,o.DiscreteInterpolant=md,o.DodecahedronBufferGeometry=K4,o.DodecahedronGeometry=K4,o.DoubleSide=F,o.DstAlphaFactor=Ce,o.DstColorFactor=Le,o.DynamicBufferAttribute=X9,o.DynamicCopyUsage=Al,o.DynamicDrawUsage=Xe,o.DynamicReadUsage=kl,o.EdgesGeometry=$4,o.EdgesHelper=rg,o.EllipseCurve=Wl,o.EqualDepth=pt,o.EqualStencilFunc=z2,o.EquirectangularReflectionMapping=en,o.EquirectangularRefractionMapping=ua,o.Euler=Hi,o.EventDispatcher=q,o.ExtrudeBufferGeometry=T1,o.ExtrudeGeometry=T1,o.FaceColors=P9,o.FileLoader=b0,o.FlatShading=T,o.Float16BufferAttribute=R0,o.Float32Attribute=$9,o.Float32BufferAttribute=ur,o.Float64Attribute=Q9,o.Float64BufferAttribute=us,o.FloatType=ni,o.Fog=_4,o.FogExp2=b4,o.Font=wh,o.FontLoader=j7,o.FrontSide=V,o.Frustum=Is,o.GLBufferAttribute=ev,o.GLSL1=t0,o.GLSL3=Cl,o.GammaEncoding=uu,o.GreaterDepth=Mt,o.GreaterEqualDepth=mt,o.GreaterEqualStencilFunc=io,o.GreaterStencilFunc=A3,o.GridHelper=hv,o.Group=G4,o.HalfFloatType=Zn,o.HemisphereLight=Id,o.HemisphereLightHelper=p9,o.HemisphereLightProbe=Fd,o.IcosahedronBufferGeometry=id,o.IcosahedronGeometry=id,o.ImageBitmapLoader=wd,o.ImageLoader=bh,o.ImageUtils=At,o.ImmediateRenderObject=iv,o.IncrementStencilOp=S3,o.IncrementWrapStencilOp=T3,o.InstancedBufferAttribute=xh,o.InstancedBufferGeometry=_h,o.InstancedInterleavedBuffer=Qd,o.InstancedMesh=L4,o.Int16Attribute=j9,o.Int16BufferAttribute=Vo,o.Int32Attribute=Z9,o.Int32BufferAttribute=ss,o.Int8Attribute=W9,o.Int8BufferAttribute=Cs,o.IntType=Ys,o.InterleavedBuffer=S1,o.InterleavedBufferAttribute=wu,o.Interpolant=y0,o.InterpolateDiscrete=c1,o.InterpolateLinear=h1,o.InterpolateSmooth=ou,o.InvertStencilOp=Lo,o.JSONLoader=ug,o.KeepStencilOp=cu,o.KeyframeTrack=gs,o.LOD=u7,o.LatheBufferGeometry=rh,o.LatheGeometry=rh,o.Layers=i0,o.LensFlare=cg,o.LessDepth=Ke,o.LessEqualDepth=yt,o.LessEqualStencilFunc=G2,o.LessStencilFunc=k3,o.Light=bs,o.LightProbe=wc,o.Line=G0,o.Line3=av,o.LineBasicMaterial=$a,o.LineCurve=jl,o.LineCurve3=q4,o.LineDashedMaterial=ph,o.LineLoop=N4,o.LinePieces=O9,o.LineSegments=_o,o.LineStrip=R9,o.LinearEncoding=ii,o.LinearFilter=Wn,o.LinearInterpolant=gh,o.LinearMipMapLinearFilter=n1,o.LinearMipMapNearestFilter=na,o.LinearMipmapLinearFilter=ro,o.LinearMipmapNearestFilter=Ao,o.LinearToneMapping=xr,o.Loader=Ii,o.LoaderUtils=Md,o.LoadingManager=gd,o.LogLuvEncoding=F2,o.LoopOnce=au,o.Lo
5opPingPong=iu,o.LoopRepeat=tn,o.LuminanceAlphaFormat=dl,o.LuminanceFormat=fl,o.MOUSE=v,o.Material=$n,o.MaterialLoader=X7,o.Math=Ft,o.MathUtils=Ft,o.Matrix3=st,o.Matrix4=tr,o.MaxEquation=ke,o.Mesh=zn,o.MeshBasicMaterial=Xi,o.MeshDepthMaterial=Z2,o.MeshDistanceMaterial=K2,o.MeshFaceMaterial=I9,o.MeshLambertMaterial=vh,o.MeshMatcapMaterial=mh,o.MeshNormalMaterial=dh,o.MeshPhongMaterial=hh,o.MeshPhysicalMaterial=ch,o.MeshStandardMaterial=bc,o.MeshToonMaterial=fh,o.MinEquation=me,o.MirroredRepeatWrapping=La,o.MixOperation=ft,o.MultiMaterial=F9,o.MultiplyBlending=$,o.MultiplyOperation=gt,o.NearestFilter=un,o.NearestMipMapLinearFilter=ki,o.NearestMipMapNearestFilter=to,o.NearestMipmapLinearFilter=es,o.NearestMipmapNearestFilter=Bi,o.NeverDepth=Be,o.NeverStencilFunc=Po,o.NoBlending=w,o.NoColors=L9,o.NoToneMapping=or,o.NormalAnimationBlendMode=su,o.NormalBlending=_,o.NotEqualDepth=Dt,o.NotEqualStencilFunc=C3,o.NumberKeyframeTrack=$l,o.Object3D=Ur,o.ObjectSpaceNormalMap=U2,o.OctahedronBufferGeometry=oh,o.OctahedronGeometry=oh,o.OneFactor=X,o.OneMinusDstAlphaFactor=fe,o.OneMinusDstColorFactor=qe,o.OneMinusSrcAlphaFactor=ge,o.OneMinusSrcColorFactor=ae,o.OrthographicCamera=Sc,o.PCFShadowMap=g,o.PCFSoftShadowMap=A,o.PMREMGenerator=E9,o.ParametricBufferGeometry=od,o.ParametricGeometry=od,o.Particle=N9,o.ParticleBasicMaterial=G9,o.ParticleSystem=U9,o.ParticleSystemMaterial=V9,o.Path=ku,o.PerspectiveCamera=Ta,o.Plane=ja,o.PlaneBufferGeometry=vs,o.PlaneGeometry=vs,o.PlaneHelper=x9,o.PointCloud=B9,o.PointCloudMaterial=z9,o.PointLight=Pd,o.PointLightHelper=v9,o.Points=uc,o.PointsMaterial=M1,o.PolarGridHelper=g9,o.PolyhedronBufferGeometry=Au,o.PolyhedronGeometry=Au,o.PositionalAudio=Q7,o.PropertyBinding=Gn,o.PropertyMixer=Jd,o.QuadraticBezierCurve=hc,o.QuadraticBezierCurve3=eh,o.Quaternion=ar,o.QuaternionKeyframeTrack=Lu,o.QuaternionLinearInterpolant=pd,o.REVISION=h,o.RGBADepthPacking=N2,o.RGBAFormat=ai,o.RGBAIntegerFormat=C2,o.RGBA_ASTC_10x10_Format=O2,o.RGBA_ASTC_10x5_Format=la,o.RGBA_ASTC_10x6_Format=rs,o.RGBA_ASTC_10x8_Format=Zs,o.RGBA_ASTC_12x10_Format=bl,o.RGBA_ASTC_12x12_Format=_l,o.RGBA_ASTC_4x4_Format=R2,o.RGBA_ASTC_5x4_Format=gl,o.RGBA_ASTC_5x5_Format=Z1,o.RGBA_ASTC_6x5_Format=K1,o.RGBA_ASTC_6x6_Format=yl,o.RGBA_ASTC_8x5_Format=$1,o.RGBA_ASTC_8x6_Format=Q1,o.RGBA_ASTC_8x8_Format=zi,o.RGBA_BPTC_Format=Ks,o.RGBA_ETC2_EAC_Format=Js,o.RGBA_PVRTC_2BPPV1_Format=s1,o.RGBA_PVRTC_4BPPV1_Format=pl,o.RGBA_S3TC_DXT1_Format=o1,o.RGBA_S3TC_DXT3_Format=qs,o.RGBA_S3TC_DXT5_Format=js,o.RGBDEncoding=El,o.RGBEEncoding=lu,o.RGBEFormat=q1,o.RGBFormat=ts,o.RGBIntegerFormat=ml,o.RGBM16Encoding=Tl,o.RGBM7Encoding=Ml,o.RGB_ETC1_Format=Pn,o.RGB_ETC2_Format=u1,o.RGB_PVRTC_2BPPV1_Format=Kr,o.RGB_PVRTC_4BPPV1_Format=J1,o.RGB_S3TC_DXT1_Format=j1,o.RGFormat=vl,o.RGIntegerFormat=A2,o.RawShaderMaterial=Ou,o.Ray=ga,o.Raycaster=c9,o.RectAreaLight=Dd,o.RedFormat=hi,o.RedIntegerFormat=no,o.ReinhardToneMapping=wr,o.RepeatWrapping=pa,o.ReplaceStencilOp=w3,o.ReverseSubtractEquation=be,o.RingBufferGeometry=sd,o.RingGeometry=sd,o.SRGB8_ALPHA8_ASTC_10x10_Format=D2,o.SRGB8_ALPHA8_ASTC_10x5_Format=L2,o.SRGB8_ALPHA8_ASTC_10x6_Format=wl,o.SRGB8_ALPHA8_ASTC_10x8_Format=P2,o.SRGB8_ALPHA8_ASTC_12x10_Format=Oo,o.SRGB8_ALPHA8_ASTC_12x12_Format=Ga,o.SRGB8_ALPHA8_ASTC_4x4_Format=ao,o.SRGB8_ALPHA8_ASTC_5x4_Format=xl,o.SRGB8_ALPHA8_ASTC_5x5_Format=eu,o.SRGB8_ALPHA8_ASTC_6x5_Format=tu,o.SRGB8_ALPHA8_ASTC_6x6_Format=l1,o.SRGB8_ALPHA8_ASTC_8x5_Format=ru,o.SRGB8_ALPHA8_ASTC_8x6_Format=Ro,o.SRGB8_ALPHA8_ASTC_8x8_Format=nu,o.Scene=U3,o.SceneUtils=lg,o.ShaderChunk=an,o.ShaderLib=ps,o.ShaderMaterial=ui,o.ShadowMaterial=lh,o.Shape=C1,o.ShapeBufferGeometry=sh,o.ShapeGeometry=sh,o.ShapePath=Sd,o.ShapeUtils=H0,o.ShortType=Ms,o.Skeleton=h7,o.SkeletonHelper=sv,o.SkinnedMesh=V3,o.SmoothShading=M,o.Sphere=Nn,o.SphereBufferGeometry=uh,o.SphereGeometry=uh,o.Spherical=h9,o.SphericalHarmonics3=Eh,o.SplineCurve=fc,o.SpotLight=Rd,o.SpotLightHelper=d9,o.Sprite=G3,o.SpriteMaterial=$2,o.SrcAlphaFactor=ue,o.SrcAlphaSaturateFactor=de,o.SrcColorFactor=re,o.StaticCopyUsage=Do,o.StaticDrawUsage=Gr,o.StaticReadUsage=V2,o.StereoCamera=J7,o.StreamCopyUsage=O3,o.StreamDrawUsage=R3,o.StreamReadUsage=H2,o.StringKeyframeTrack=k1,o.SubtractEquation=Se,o.SubtractiveBlending=U,o.TOUCH=k,o.TangentSpaceNormalMap=e0,o.TetrahedronBufferGeometry=ud,o.TetrahedronGeometry=ud,o.TextBufferGeometry=ld,o.TextGeometry=ld,o.Texture=Nt,o.TextureLoader=xd,o.TorusBufferGeometry=cd,o.TorusGeometry=cd,o.TorusKnotBufferGeometry=hd,o.TorusKnotGeometry=hd,o.Triangle=xn,o.TriangleFanDrawMode=_3,o.TriangleStripDrawMode=b3,o.TrianglesDrawMode=I2,o.TubeBufferGeometry=fd,o.TubeGeometry=fd,o.UVMapping=Bn,o.Uint16Attribute=J9,o.Uint16BufferAttribute=gi,o.Uint32Attribute=K9,o.Uint32BufferAttribute=Rs,o.Uint8Attribute=Y9,o.Uint8BufferAttribute=s0,o.Uint8ClampedAttribute=q9,o.Uint8ClampedBufferAttribute=Go,o.Uniform=$d,o.UniformsLib=rr,o.UniformsUtils=Wo,o.UnsignedByteType=Ni,o.UnsignedInt248Type=Es,o.UnsignedIntType=Ts,o.UnsignedShort4444Type=k2,o.UnsignedShort5551Type=a1,o.UnsignedShort565Type=Y1,o.UnsignedShortType=Ui,o.VSMShadowMap=S,o.Vector2=Je,o.Vector3=pe,o.Vector4=kt,o.VectorKeyframeTrack=Ql,o.Vertex=H9,o.VertexColors=D9,o.VideoTexture=V4,o.WebGL1Renderer=y4,o.WebGLCubeRen
vendor: 5,989 bytes, lines 5-13
5derTarget=L0,o.WebGLMultipleRenderTargets=It,o.WebGLMultisampleRenderTarget=Yt,o.WebGLRenderTarget=qt,o.WebGLRenderTargetCube=og,o.WebGLRenderer=In,o.WebGLUtils=g4,o.WireframeGeometry=dd,o.WireframeHelper=ng,o.WrapAroundEnding=f1,o.XHRLoader=ag,o.ZeroCurvatureEnding=$s,o.ZeroFactor=he,o.ZeroSlopeEnding=Qs,o.ZeroStencilOp=x3,o.sRGBEncoding=d1,Object.defineProperty(o,"__esModule",{value:!0})})}(Ic,Ic.exports)),Ic.exports}function S0(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function P5(b,u){b.prototype=Object.create(u.prototype),b.prototype.constructor=b,b.__proto__=u}/*!
6 * GSAP 3.11.4
7 * https://greensock.com
8 *
9 * @license Copyright 2008-2022, GreenSock. All rights reserved.
10 * Subject to the terms at https://greensock.com/standard-license or for
11 * Club GreenSock members, the agreement issued with that membership.
12 * @author: Jack Doyle, [email protected]
13*/var To={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},tl={duration:.5,overwrite:!1,delay:0},Ef,Ti,za,Zo=1e8,Xn=1/Zo,rf=Math.PI*2,Yg=rf/4,qg=0,D5=Math.sqrt,jg=Math.cos,Jg=Math.sin,ri=function(u){return typeof u=="string"},xa=function(u){return typeof u=="function"},E0=function(u){return typeof u=="number"},kf=function(u){return typeof u>"u"},Ws=function(u){return typeof u=="object"},$i=function(u){return u!==!1},I5=function(){return typeof window<"u"},Fc=function(u){return xa(u)||ri(u)},F5=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ei=Array.isArray,nf=/(?:-?\.?\d|\.)+/gi,B5=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ju=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,zh=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,N5=/[+-]=-?[.\d]+/,U5=/[^,'"\[\]\s]+/gi,Zg=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,va,Jo,af,Af,Eo={},t3={},z5,G5=function(u){return(t3=H1(u,Eo))&&ko},Cf=function(u,o){return console.warn("Invalid property",u,"set to",o,"Missing plugin? gsap.registerPlugin()")},r3=function(u,o){return!o&&console.warn(u)},V5=function(u,o){return u&&(Eo[u]=o)&&t3&&(t3[u]=o)||Eo},g2=function(){return 0},Kg={suppressEvents:!0,isStart:!0,kill:!1},Yc={suppressEvents:!0,kill:!1},$g={suppressEvents:!0},Rf={},$0=[],of={},H5,So={},Gh={},Uv=30,qc=[],Of="",Lf=function(u){var o=u[0],h,v;if(Ws(o)||xa(o)||(u=[u]),!(h=(o._gsap||{}).harness)){for(v=qc.length;v--&&!qc[v].targetTest(o););h=qc[v]}for(v=u.length;v--;)u[v]&&(u[v]._gsap||(u[v]._gsap=new h6(u[v],h)))||u.splice(v,1);return u},z1=function(u){return u._gsap||Lf(Ko(u))[0]._gsap},X5=function(u,o,h){return(h=u[o])&&xa(h)?u[o]():kf(h)&&u.getAttribute&&u.getAttribute(o)||h},Qi=function(u,o){return(u=u.split(",")).forEach(o)||u},Ra=function(u){return Math.round(u*1e5)/1e5||0},ci=function(u){return Math.round(u*1e7)/1e7||0},Ku=function(u,o){var h=o.charAt(0),v=parseFloat(o.substr(2));return u=parseFloat(u),h==="+"?u+v:h==="-"?u-v:h==="*"?u*v:u/v},Qg=function(u,o){for(var h=o.length,v=0;u.indexOf(o[v])<0&&++v<h;);return v<h},n3=function(){var u=$0.length,o=$0.slice(0),h,v;for(of={},$0.length=0,h=0;h<u;h++)v=o[h],v&&v._lazy&&(v.render(v._lazy[0],v._lazy[1],!0)._lazy=0)},W5=function(u,o,h,v){$0.length&&!Ti&&n3(),u.render(o,h,Ti&&o<0&&(u._initted||u._startAt)),$0.length&&!Ti&&n3()},Y5=function(u){var o=parseFloat(u);return(o||o===0)&&(u+"").match(U5).length<2?o:ri(u)?u.trim():u},q5=function(u){return u},Qo=function(u,o){for(var h in o)h in u||(u[h]=o[h]);return u},ey=function(u){return function(o,h){for(var v in h)v in o||v==="duration"&&u||v==="ease"||(o[v]=h[v])}},H1=function(u,o){for(var h in o)u[h]=o[h];return u},zv=function b(u,o){for(var h in o)h!=="__proto__"&&h!=="constructor"&&h!=="prototype"&&(u[h]=Ws(o[h])?b(u[h]||(u[h]={}),o[h]):o[h]);return u},a3=function(u,o){var h={},v;for(v in u)v in o||(h[v]=u[v]);return h},d2=function(u){var o=u.parent||va,h=u.keyframes?ey(Ei(u.keyframes)):Qo;if($i(u.inherit))for(;o;)h(u,o.vars.defaults),o=o.parent||o._dp;return u},ty=function(u,o){for(var h=u.length,v=h===o.length;v&&h--&&u[h]===o[h];);return h<0},j5=function(u,o,h,v,k){var O=u[v],z;if(k)for(z=o[k];O&&O[k]>z;)O=O._prev;return O?(o._next=O._next,O._next=o):(o._next=u[h],u[h]=o),o._next?o._next._prev=o:u[v]=o,o._prev=O,o.parent=o._dp=u,o},v3=function(u,o,h,v){h===void 0&&(h="_first"),v===void 0&&(v="_last");var k=o._prev,O=o._next;k?k._next=O:u[h]===o&&(u[h]=O),O?O._prev=k:u[v]===o&&(u[v]=k),o._next=o._prev=o.parent=null},e1=function(u,o){u.parent&&(!o||u.parent.autoRemoveChildren)&&u.parent.remove(u),u._act=0},G1=function(u,o){if(u&&(!o||o._end>u._dur||o._start<0))for(var h=u;h;)h._dirty=1,h=h.parent;return u},ry=function(u){for(var o=u.parent;o&&o.parent;)o._dirty=1,o.totalDuration(),o=o.parent;return u},sf=function(u,o,h,v){return u._startAt&&(Ti?u._startAt.revert(Yc):u.vars.immediateRender&&!u.vars.autoRevert||u._startAt.render(o,!0,v))},ny=function b(u){return!u||u._ts&&b(u.parent)},Gv=function(u){return u._repeat?rl(u._tTime,u=u.duration()+u._rDelay)*u:0},rl=function(u,o){var h=Math.floor(u/=o);return u&&h===u?h-1:h},i3=function(u,o){return(u-o._start)*o._ts+(o._ts>=0?0:o._dirty?o.totalDuration():o._tDur)},m3=function(u){return u._end=ci(u._start+(u._tDur/Math.abs(u._ts||u._rts||Xn)||0))},p3=function(u,o){var h=u._dp;return h&&h.smoothChildTiming&&u._ts&&(u._start=ci(h._time-(u._ts>0?o/u._ts:((u._dirty?u.totalDuration():u._tDur)-o)/-u._ts)),m3(u),h._dirty||G1(h,u)),u},J5=function(u,o){var h;if((o._time||o._initted&&!o._dur)&&(h=i3(u.rawTime(),o),(!o._dur||T2(0,o.totalDuration(),h)-o._tTime>Xn)&&o.render(h,!0)),G1(u,o)._dp&&u._initted&&u._time>=u._dur&&u._ts){if(u._dur<u.duration())for(h=u;h._dp;)h.rawTime()>=0&&h.totalTime(h._tTime),h=h._dp;u._zTime=-Xn}},Hs=function(u,o,h,v){return o.parent&&e1(o),o._start=ci((E0(h)?h:h||u!==va?jo(u,h,o):u._time)+o._delay),o._end=ci(o._start+(o.totalDuration()/Math.abs(o.timeScale())||0)),j5(u,o,"_first","_last",u._sort?"_start":0),uf(o)||(u._recent=o),v||J5(u,o),u._ts<0&&p3(u,u._tTime),u},Z5=function(u,o){return(Eo.ScrollTrigger||Cf("scrollTrigger",o))&&Eo.ScrollTrigger.create(o,u)}
vendor: 4,137 bytes, line 13
13,K5=function(u,o,h,v,k){if(Df(u,o,k),!u._initted)return 1;if(!h&&u._pt&&!Ti&&(u._dur&&u.vars.lazy!==!1||!u._dur&&u.vars.lazy)&&H5!==Mo.frame)return $0.push(u),u._lazy=[k,v],1},ay=function b(u){var o=u.parent;return o&&o._ts&&o._initted&&!o._lock&&(o.rawTime()<0||b(o))},uf=function(u){var o=u.data;return o==="isFromStart"||o==="isStart"},iy=function(u,o,h,v){var k=u.ratio,O=o<0||!o&&(!u._start&&ay(u)&&!(!u._initted&&uf(u))||(u._ts<0||u._dp._ts<0)&&!uf(u))?0:1,z=u._rDelay,C=0,B,H,g;if(z&&u._repeat&&(C=T2(0,u._tDur,o),H=rl(C,z),u._yoyo&&H&1&&(O=1-O),H!==rl(u._tTime,z)&&(k=1-O,u.vars.repeatRefresh&&u._initted&&u.invalidate())),O!==k||Ti||v||u._zTime===Xn||!o&&u._zTime){if(!u._initted&&K5(u,o,v,h,C))return;for(g=u._zTime,u._zTime=o||(h?Xn:0),h||(h=o&&!g),u.ratio=O,u._from&&(O=1-O),u._time=0,u._tTime=C,B=u._pt;B;)B.r(O,B.d),B=B._next;o<0&&sf(u,o,h,!0),u._onUpdate&&!h&&$o(u,"onUpdate"),C&&u._repeat&&!h&&u.parent&&$o(u,"onRepeat"),(o>=u._tDur||o<0)&&u.ratio===O&&(O&&e1(u,1),!h&&!Ti&&($o(u,O?"onComplete":"onReverseComplete",!0),u._prom&&u._prom()))}else u._zTime||(u._zTime=o)},oy=function(u,o,h){var v;if(h>o)for(v=u._first;v&&v._start<=h;){if(v.data==="isPause"&&v._start>o)return v;v=v._next}else for(v=u._last;v&&v._start>=h;){if(v.data==="isPause"&&v._start<o)return v;v=v._prev}},nl=function(u,o,h,v){var k=u._repeat,O=ci(o)||0,z=u._tTime/u._tDur;return z&&!v&&(u._time*=O/u._dur),u._dur=O,u._tDur=k?k<0?1e10:ci(O*(k+1)+u._rDelay*k):O,z>0&&!v&&p3(u,u._tTime=u._tDur*z),u.parent&&m3(u),h||G1(u.parent,u),u},Vv=function(u){return u instanceof Mi?G1(u):nl(u,u._dur)},sy={_start:0,endTime:g2,totalDuration:g2},jo=function b(u,o,h){var v=u.labels,k=u._recent||sy,O=u.duration()>=Zo?k.endTime(!1):u._dur,z,C,B;return ri(o)&&(isNaN(o)||o in v)?(C=o.charAt(0),B=o.substr(-1)==="%",z=o.indexOf("="),C==="<"||C===">"?(z>=0&&(o=o.replace(/=/,"")),(C==="<"?k._start:k.endTime(k._repeat>=0))+(parseFloat(o.substr(1))||0)*(B?(z<0?k:h).totalDuration()/100:1)):z<0?(o in v||(v[o]=O),v[o]):(C=parseFloat(o.charAt(z-1)+o.substr(z+1)),B&&h&&(C=C/100*(Ei(h)?h[0]:h).totalDuration()),z>1?b(u,o.substr(0,z-1),h)+C:O+C)):o==null?O:+o},v2=function(u,o,h){var v=E0(o[1]),k=(v?2:1)+(u<2?0:1),O=o[k],z,C;if(v&&(O.duration=o[1]),O.parent=h,u){for(z=O,C=h;C&&!("immediateRender"in z);)z=C.vars.defaults||{},C=$i(C.vars.inherit)&&C.parent;O.immediateRender=$i(z.immediateRender),u<2?O.runBackwards=1:O.startAt=o[k-1]}return new Ua(o[0],O,o[k+1])},r1=function(u,o){return u||u===0?o(u):o},T2=function(u,o,h){return h<u?u:h>o?o:h},Si=function(u,o){return!ri(u)||!(o=Zg.exec(u))?"":o[1]},uy=function(u,o,h){return r1(h,function(v){return T2(u,o,v)})},lf=[].slice,$5=function(u,o){return u&&Ws(u)&&"length"in u&&(!o&&!u.length||u.length-1 in u&&Ws(u[0]))&&!u.nodeType&&u!==Jo},ly=function(u,o,h){return h===void 0&&(h=[]),u.forEach(function(v){var k;return ri(v)&&!o||$5(v,1)?(k=h).push.apply(k,Ko(v)):h.push(v)})||h},Ko=function(u,o,h){return za&&!o&&za.selector?za.selector(u):ri(u)&&!h&&(af||!al())?lf.call((o||Af).querySelectorAll(u),0):Ei(u)?ly(u,h):$5(u)?lf.call(u,0):u?[u]:[]},cf=function(u){return u=Ko(u)[0]||r3("Invalid scope")||{},function(o){var h=u.current||u.nativeElement||u;return Ko(o,h.querySelectorAll?h:h===u?r3("Invalid scope")||Af.createElement("div"):u)}},Q5=function(u){return u.sort(function(){return .5-Math.random()})},e6=function(u){if(xa(u))return u;var o=Ws(u)?u:{each:u},h=V1(o.ease),v=o.from||0,k=parseFloat(o.base)||0,O={},z=v>0&&v<1,C=isNaN(v)||z,B=o.axis,H=v,g=v;return ri(v)?H=g={center:.5,edges:.5,end:1}[v]||0:!z&&C&&(H=v[0],g=v[1]),function(A,S,V){var L=(V||o).length,F=O[L],T,M,w,_,E,U,$,te,se;if(!F){if(se=o.grid==="auto"?0:(o.grid||[1,Zo])[1],!se){for($=-Zo;$<($=V[se++].getBoundingClientRect().left)&&se<L;);se--}for(F=O[L]=[],T=C?Math.min(se,L)*H-.5:v%se,M=se===Zo?0:C?L*g/se-.5:v/se|0,$=0,te=Zo,U=0;U<L;U++)w=U%se-T,_=M-(U/se|0),F[U]=E=B?Math.abs(B==="y"?_:w):D5(w*w+_*_),E>$&&($=E),E<te&&(te=E);v==="random"&&Q5(F),F.max=$-te,F.min=te,F.v=L=(parseFloat(o.amount)||parseFloat(o.each)*(se>L?L-1:B?B==="y"?L/se:se:Math.max(se,L/se))||0)*(v==="edges"?-1:1),F.b=L<0?k-L:k,F.u=Si(o.amount||o.each)||0,h=h&&L<0?u6(h):h}
vendor: 4,405 bytes, line 13
13return L=(F[A]-F.min)/F.max||0,ci(F.b+(h?h(L):L)*F.v)+F.u}},hf=function(u){var o=Math.pow(10,((u+"").split(".")[1]||"").length);return function(h){var v=ci(Math.round(parseFloat(h)/u)*u*o);return(v-v%1)/o+(E0(h)?0:Si(h))}},t6=function(u,o){var h=Ei(u),v,k;return!h&&Ws(u)&&(v=h=u.radius||Zo,u.values?(u=Ko(u.values),(k=!E0(u[0]))&&(v*=v)):u=hf(u.increment)),r1(o,h?xa(u)?function(O){return k=u(O),Math.abs(k-O)<=v?k:O}:function(O){for(var z=parseFloat(k?O.x:O),C=parseFloat(k?O.y:0),B=Zo,H=0,g=u.length,A,S;g--;)k?(A=u[g].x-z,S=u[g].y-C,A=A*A+S*S):A=Math.abs(u[g]-z),A<B&&(B=A,H=g);return H=!v||B<=v?u[H]:O,k||H===O||E0(O)?H:H+Si(O)}:hf(u))},r6=function(u,o,h,v){return r1(Ei(u)?!o:h===!0?!!(h=0):!v,function(){return Ei(u)?u[~~(Math.random()*u.length)]:(h=h||1e-5)&&(v=h<1?Math.pow(10,(h+"").length-2):1)&&Math.floor(Math.round((u-h/2+Math.random()*(o-u+h*.99))/h)*h*v)/v})},cy=function(){for(var u=arguments.length,o=new Array(u),h=0;h<u;h++)o[h]=arguments[h];return function(v){return o.reduce(function(k,O){return O(k)},v)}},hy=function(u,o){return function(h){return u(parseFloat(h))+(o||Si(h))}},fy=function(u,o,h){return a6(u,o,0,1,h)},n6=function(u,o,h){return r1(h,function(v){return u[~~o(v)]})},dy=function b(u,o,h){var v=o-u;return Ei(u)?n6(u,b(0,u.length),o):r1(h,function(k){return(v+(k-u)%v)%v+u})},vy=function b(u,o,h){var v=o-u,k=v*2;return Ei(u)?n6(u,b(0,u.length-1),o):r1(h,function(O){return O=(k+(O-u)%k)%k||0,u+(O>v?k-O:O)})},y2=function(u){for(var o=0,h="",v,k,O,z;~(v=u.indexOf("random(",o));)O=u.indexOf(")",v),z=u.charAt(v+7)==="[",k=u.substr(v+7,O-v-7).match(z?U5:nf),h+=u.substr(o,v-o)+r6(z?k:+k[0],z?0:+k[1],+k[2]||1e-5),o=O+1;return h+u.substr(o,u.length-o)},a6=function(u,o,h,v,k){var O=o-u,z=v-h;return r1(k,function(C){return h+((C-u)/O*z||0)})},my=function b(u,o,h,v){var k=isNaN(u+o)?0:function(S){return(1-S)*u+S*o};if(!k){var O=ri(u),z={},C,B,H,g,A;if(h===!0&&(v=1)&&(h=null),O)u={p:u},o={p:o};else if(Ei(u)&&!Ei(o)){for(H=[],g=u.length,A=g-2,B=1;B<g;B++)H.push(b(u[B-1],u[B]));g--,k=function(V){V*=g;var L=Math.min(A,~~V);return H[L](V-L)},h=o}else v||(u=H1(Ei(u)?[]:{},u));if(!H){for(C in o)Pf.call(z,u,C,"get",o[C]);k=function(V){return Bf(V,z)||(O?u.p:u)}}}return r1(h,k)},Hv=function(u,o,h){var v=u.labels,k=Zo,O,z,C;for(O in v)z=v[O]-o,z<0==!!h&&z&&k>(z=Math.abs(z))&&(C=O,k=z);return C},$o=function(u,o,h){var v=u.vars,k=v[o],O=za,z=u._ctx,C,B,H;if(k)return C=v[o+"Params"],B=v.callbackScope||u,h&&$0.length&&n3(),z&&(za=z),H=C?k.apply(B,C):k.call(B),za=O,H},s2=function(u){return e1(u),u.scrollTrigger&&u.scrollTrigger.kill(!!Ti),u.progress()<1&&$o(u,"onInterrupt"),u},Zu,py=function(u){u=!u.name&&u.default||u;var o=u.name,h=xa(u),v=o&&!h&&u.init?function(){this._props=[]}:u,k={init:g2,render:Bf,add:Pf,kill:Ly,modifier:Oy,rawVars:0},O={targetTest:0,get:0,getSetter:Ff,aliases:{},register:0};if(al(),u!==v){if(So[o])return;Qo(v,Qo(a3(u,k),O)),H1(v.prototype,H1(k,a3(u,O))),So[v.prop=o]=v,u.targetTest&&(qc.push(v),Rf[o]=1),o=(o==="css"?"CSS":o.charAt(0).toUpperCase()+o.substr(1))+"Plugin"}V5(o,v),u.register&&u.register(ko,v,eo)},Hn=255,u2={aqua:[0,Hn,Hn],lime:[0,Hn,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Hn],navy:[0,0,128],white:[Hn,Hn,Hn],olive:[128,128,0],yellow:[Hn,Hn,0],orange:[Hn,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Hn,0,0],pink:[Hn,192,203],cyan:[0,Hn,Hn],transparent:[Hn,Hn,Hn,0]},Vh=function(u,o,h){return u+=u<0?1:u>1?-1:0,(u*6<1?o+(h-o)*u*6:u<.5?h:u*3<2?o+(h-o)*(2/3-u)*6:o)*Hn+.5|0},i6=function(u,o,h){var v=u?E0(u)?[u>>16,u>>8&Hn,u&Hn]:0:u2.black,k,O,z,C,B,H,g,A,S,V;if(!v){if(u.substr(-1)===","&&(u=u.substr(0,u.length-1)),u2[u])v=u2[u];else if(u.charAt(0)==="#"){if(u.length<6&&(k=u.charAt(1),O=u.charAt(2),z=u.charAt(3),u="#"+k+k+O+O+z+z+(u.length===5?u.charAt(4)+u.charAt(4):"")),u.length===9)return v=parseInt(u.substr(1,6),16),[v>>16,v>>8&Hn,v&Hn,parseInt(u.substr(7),16)/255];u=parseInt(u.substr(1),16),v=[u>>16,u>>8&Hn,u&Hn]}else if(u.substr(0,3)==="hsl"){if(v=V=u.match(nf),!o)C=+v[0]%360/360,B=+v[1]/100,H=+v[2]/100,O=H<=.5?H*(B+1):H+B-H*B,k=H*2-O,v.length>3&&(v[3]*=1),v[0]=Vh(C+1/3,k,O),v[1]=Vh(C,k,O),v[2]=Vh(C-1/3,k,O);else if(~u.indexOf("="))return v=u.match(B5),h&&v.length<4&&(v[3]=1),v}else v=u.match(nf)||u2.transparent;v=v.map(Number)}return o&&!V&&(k=v[0]/Hn,O=v[1]/Hn,z=v[2]/Hn,g=Math.max(k,O,z),A=Math.min(k,O,z),H=(g+A)/2,g===A?C=B=0:(S=g-A,B=H>
vendor: 4,972 bytes, line 13
13.5?S/(2-g-A):S/(g+A),C=g===k?(O-z)/S+(O<z?6:0):g===O?(z-k)/S+2:(k-O)/S+4,C*=60),v[0]=~~(C+.5),v[1]=~~(B*100+.5),v[2]=~~(H*100+.5)),h&&v.length<4&&(v[3]=1),v},o6=function(u){var o=[],h=[],v=-1;return u.split(Q0).forEach(function(k){var O=k.match(Ju)||[];o.push.apply(o,O),h.push(v+=O.length+1)}),o.c=h,o},Xv=function(u,o,h){var v="",k=(u+v).match(Q0),O=o?"hsla(":"rgba(",z=0,C,B,H,g;if(!k)return u;if(k=k.map(function(A){return(A=i6(A,o,1))&&O+(o?A[0]+","+A[1]+"%,"+A[2]+"%,"+A[3]:A.join(","))+")"}),h&&(H=o6(u),C=h.c,C.join(v)!==H.c.join(v)))for(B=u.replace(Q0,"1").split(Ju),g=B.length-1;z<g;z++)v+=B[z]+(~C.indexOf(z)?k.shift()||O+"0,0,0,0)":(H.length?H:k.length?k:h).shift());if(!B)for(B=u.split(Q0),g=B.length-1;z<g;z++)v+=B[z]+k[z];return v+B[g]},Q0=function(){var b="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",u;for(u in u2)b+="|"+u+"\\b";return new RegExp(b+")","gi")}(),gy=/hsl[a]?\(/,s6=function(u){var o=u.join(" "),h;if(Q0.lastIndex=0,Q0.test(o))return h=gy.test(o),u[1]=Xv(u[1],h),u[0]=Xv(u[0],h,o6(u[1])),!0},b2,Mo=function(){var b=Date.now,u=500,o=33,h=b(),v=h,k=1e3/240,O=k,z=[],C,B,H,g,A,S,V=function L(F){var T=b()-v,M=F===!0,w,_,E,U;if(T>u&&(h+=T-o),v+=T,E=v-h,w=E-O,(w>0||M)&&(U=++g.frame,A=E-g.time*1e3,g.time=E=E/1e3,O+=w+(w>=k?4:k-w),_=1),M||(C=B(L)),_)for(S=0;S<z.length;S++)z[S](E,A,U,F)};return g={time:0,frame:0,tick:function(){V(!0)},deltaRatio:function(F){return A/(1e3/(F||60))},wake:function(){z5&&(!af&&I5()&&(Jo=af=window,Af=Jo.document||{},Eo.gsap=ko,(Jo.gsapVersions||(Jo.gsapVersions=[])).push(ko.version),G5(t3||Jo.GreenSockGlobals||!Jo.gsap&&Jo||{}),H=Jo.requestAnimationFrame),C&&g.sleep(),B=H||function(F){return setTimeout(F,O-g.time*1e3+1|0)},b2=1,V(2))},sleep:function(){(H?Jo.cancelAnimationFrame:clearTimeout)(C),b2=0,B=g2},lagSmoothing:function(F,T){u=F||1/0,o=Math.min(T||33,u)},fps:function(F){k=1e3/(F||240),O=g.time*1e3+k},add:function(F,T,M){var w=T?function(_,E,U,$){F(_,E,U,$),g.remove(w)}:F;return g.remove(F),z[M?"unshift":"push"](w),al(),w},remove:function(F,T){~(T=z.indexOf(F))&&z.splice(T,1)&&S>=T&&S--},_listeners:z},g}(),al=function(){return!b2&&Mo.wake()},pn={},yy=/^[\d.\-M][\d.\-,\s]/,by=/["']/g,_y=function(u){for(var o={},h=u.substr(1,u.length-3).split(":"),v=h[0],k=1,O=h.length,z,C,B;k<O;k++)C=h[k],z=k!==O-1?C.lastIndexOf(","):C.length,B=C.substr(0,z),o[v]=isNaN(B)?B.replace(by,"").trim():+B,v=C.substr(z+1).trim();return o},xy=function(u){var o=u.indexOf("(")+1,h=u.indexOf(")"),v=u.indexOf("(",o);return u.substring(o,~v&&v<h?u.indexOf(")",h+1):h)},wy=function(u){var o=(u+"").split("("),h=pn[o[0]];return h&&o.length>1&&h.config?h.config.apply(null,~u.indexOf("{")?[_y(o[1])]:xy(u).split(",").map(Y5)):pn._CE&&yy.test(u)?pn._CE("",u):h},u6=function(u){return function(o){return 1-u(1-o)}},l6=function b(u,o){for(var h=u._first,v;h;)h instanceof Mi?b(h,o):h.vars.yoyoEase&&(!h._yoyo||!h._repeat)&&h._yoyo!==o&&(h.timeline?b(h.timeline,o):(v=h._ease,h._ease=h._yEase,h._yEase=v,h._yoyo=o)),h=h._next},V1=function(u,o){return u&&(xa(u)?u:pn[u]||wy(u))||o},W1=function(u,o,h,v){h===void 0&&(h=function(C){return 1-o(1-C)}),v===void 0&&(v=function(C){return C<.5?o(C*2)/2:1-o((1-C)*2)/2});var k={easeIn:o,easeOut:h,easeInOut:v},O;return Qi(u,function(z){pn[z]=Eo[z]=k,pn[O=z.toLowerCase()]=h;for(var C in k)pn[O+(C==="easeIn"?".in":C==="easeOut"?".out":".inOut")]=pn[z+"."+C]=k[C]}),k},c6=function(u){return function(o){return o<.5?(1-u(1-o*2))/2:.5+u((o-.5)*2)/2}},Hh=function b(u,o,h){var v=o>=1?o:1,k=(h||(u?.3:.45))/(o<1?o:1),O=k/rf*(Math.asin(1/v)||0),z=function(H){return H===1?1:v*Math.pow(2,-10*H)*Jg((H-O)*k)+1},C=u==="out"?z:u==="in"?function(B){return 1-z(1-B)}:c6(z);return k=rf/k,C.config=function(B,H){return b(u,B,H)},C},Xh=function b(u,o){o===void 0&&(o=1.70158);var h=function(O){return O?--O*O*((o+1)*O+o)+1:0},v=u==="out"?h:u==="in"?function(k){return 1-h(1-k)}:c6(h);return v.config=function(k){return b(u,k)},v};Qi("Linear,Quad,Cubic,Quart,Quint,Strong",function(b,u){var o=u<5?u+1:u;W1(b+",Power"+(o-1),u?function(h){return Math.pow(h,o)}:function(h){return h},function(h){return 1-Math.pow(1-h,o)},function(h){return h<.5?Math.pow(h*2,o)/2:1-Math.pow((1-h)*2,o)/2})});pn.Linear.easeNone=pn.none=pn.Linear.easeIn;W1("Elastic",Hh("in"),Hh("out"),Hh());(function(b,u){var o=1/u,h=2*o,v=2.5*o,k=function(z){return z<o?b*z*z:z<h?b*Math.pow(z-1.5/u,2)+.75:z<v?b*(z-=2.25/u)*z+.9375:b*Math.pow(z-2.625/u,2)+.984375};W1("Bounce",function(O){return 1-k(1-O)},k)})(7.5625,2.75);W1("Expo",function(b){return b?Math.pow(2,10*(b-1)):0});W1("Circ",function(b){return-(D5(1-b*b)-1)});W1("Sine",function(b){return b===1?1:-jg(b*Yg)+1});W1("Back",Xh("in"),Xh("out"),Xh());pn.SteppedEase=pn.steps=Eo.SteppedEase={config:function(u,o){u===void 0&&(u=1);var h=1/u,v=u+(o?0:1),k=o?1:0,O=1-Xn;return function(z){return((v*T2(0,O,z)|0)+k)*h}}};tl.ease=pn["quad.out"];Qi("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(b){return Of+=b+","+b+"Param
13s,"});var h6=function(u,o){this.id=qg++,u._gsap=this,this.target=u,this.harness=o,this.get=o?o.get:X5,this.set=o?o.getSetter:Ff},il=function(){function b(o){this.vars=o,this._delay=+o.delay||0,(this._repeat=o.repeat===1/0?-2:o.repeat||0)&&(this._rDelay=o.repeatDelay||0,this._yoyo=!!o.yoyo||!!o.yoyoEase),this._ts=1,nl(this,+o.duration,1,1),this.data=o.data,za&&(this._ctx=za,za.data.push(this)),b2||Mo.wake()}var u=b.prototype;return u.delay=function(h){return h||h===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+h-this._delay),this._delay=h,this):this._delay},u.duration=function(h){return arguments.length?this.totalDuration(this._repeat>0?h+(h+this._rDelay)*this._repeat:h):this.totalDuration()&&this._dur},u.totalDuration=function(h){return arguments.length?(this._dirty=0,nl(this,this._repeat<0?h:(h-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},u.totalTime=function(h,v){if(al(),!arguments.length)return this._tTime;var k=this._dp;if(k&&k.smoothChildTiming&&this._ts){for(p3(this,h),!k._dp||k.parent||J5(k,this);k&&k.parent;)k.parent._time!==k._start+(k._ts>=0?k._tTime/k._ts:(k.totalDuration()-k._tTime)/-k._ts)&&k.totalTime(k._tTime,!0),k=k.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&h<this._tDur||this._ts<0&&h>0||!this._tDur&&!h)&&Hs(this._dp,this,this._start-this._delay)}return(this._tTime!==h||!this._dur&&!v||this._initted&&Math.abs(this._zTime)===Xn||!h&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=h),W5(this,h,v)),this},u.time=function(h,v){return arguments.length?this.totalTime(Math.min(this.totalDuration(),h+Gv(this))%(this._dur+this._rDelay)||(h?this._dur:0),v):this._time},u.totalProgress=function(h,v){return arguments.length?this.totalTime(this.totalDuration()*h,v):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},u.progress=function(h,v){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-h:h)+Gv(this),v):this.duration()?Math.min(1,this._time/this._dur):this.ratio},u.iteration=function(h,v){var k=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(h-1)*k,v):this._repeat?rl(this._tTime,k)+1:1},u.timeScale=function(h){if(!arguments.length)return this._rts===-Xn?0:this._rts;if(this._rts===h)return this;var v=this.parent&&this._ts?i3(this.parent._time,this):this._tTime;return this._rts=+h||0,this._ts=this._ps||h===-Xn?0:this._rts,this.totalTime(T2(-this._delay,this._tDur,v),!0),m3(this),ry(this)},u.paused=function(h){return arguments.length?(this._ps!==h&&(this._ps=h,h?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(al(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Xn&&(this._tTime-=Xn)))),this):this._ps},u.startTime=function(h){if(arguments.length){this._start=h;var v=this.parent||this._dp;return v&&(v._sort||!this.parent)&&Hs(v,this,h-this._delay),this}return this._start},u.endTime=function(h){return this._start+($i(h)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},u.rawTime=function(h){var v=this.parent||this._dp;return v?h&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?i3(v.rawTime(h),this):this._tTime:this._tTime},u.revert=function(h){h===void 0&&(h=$g);var v=Ti;return Ti=h,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(h),this.totalTime(-.01,h.suppressEvents)),this.data!=="nested"&&h.kill!==!1&&this.kill(),Ti=v,this},u.globalTime=function(h){for(var v=this,k=arguments.length?h:v.rawTime();v;)k=v._start+k/(v._ts||1),v=v._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1:this._sat.globalTime(h):k},u.repeat=function(h){return arguments.length?(this._repeat=h===1/0?-2:h,Vv(this)):this._repeat===-2?1/0:this._repeat},u.repeatDelay=function(h){if(arguments.length){var v=this._time;return this._rDelay=h,Vv(this),v?this.time(v):this}return this._rDelay},u.yoyo=function(h){return arguments.length?(this._yoyo=h,this):this._yoyo},u.seek=function(h,v){return this.totalTime(jo(this,h),$i(v))},u.restart=function(h,v){return this.play().totalTime(h?-this._delay:0,$i(v))},u.play=function(h,v){return h!=null&&this.seek(h,v),this.reversed(!1).paused(!1)},u.reverse=function(h,v){return h!=null&&this.seek(h||this.totalDuration(),v),this.reversed(!0).paused(!1)},u.pause=function(h,v){return h!=null&&this.seek(h,v),this.paused(!0)},u.resume=function(){return this.paused(!1)},u.reversed=function(h){return arguments.length?(!!h!==this.reversed()&&this.timeScale(-this._rts||(h?-Xn:0)),this):this._rts<0}
vendor: 8,646 bytes, line 13
13,u.invalidate=function(){return this._initted=this._act=0,this._zTime=-Xn,this},u.isActive=function(){var h=this.parent||this._dp,v=this._start,k;return!!(!h||this._ts&&this._initted&&h.isActive()&&(k=h.rawTime(!0))>=v&&k<this.endTime(!0)-Xn)},u.eventCallback=function(h,v,k){var O=this.vars;return arguments.length>1?(v?(O[h]=v,k&&(O[h+"Params"]=k),h==="onUpdate"&&(this._onUpdate=v)):delete O[h],this):O[h]},u.then=function(h){var v=this;return new Promise(function(k){var O=xa(h)?h:q5,z=function(){var B=v.then;v.then=null,xa(O)&&(O=O(v))&&(O.then||O===v)&&(v.then=B),k(O),v.then=B};v._initted&&v.totalProgress()===1&&v._ts>=0||!v._tTime&&v._ts<0?z():v._prom=z})},u.kill=function(){s2(this)},b}();Qo(il.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:-Xn,_prom:0,_ps:!1,_rts:1});var Mi=function(b){P5(u,b);function u(h,v){var k;return h===void 0&&(h={}),k=b.call(this,h)||this,k.labels={},k.smoothChildTiming=!!h.smoothChildTiming,k.autoRemoveChildren=!!h.autoRemoveChildren,k._sort=$i(h.sortChildren),va&&Hs(h.parent||va,S0(k),v),h.reversed&&k.reverse(),h.paused&&k.paused(!0),h.scrollTrigger&&Z5(S0(k),h.scrollTrigger),k}var o=u.prototype;return o.to=function(v,k,O){return v2(0,arguments,this),this},o.from=function(v,k,O){return v2(1,arguments,this),this},o.fromTo=function(v,k,O,z){return v2(2,arguments,this),this},o.set=function(v,k,O){return k.duration=0,k.parent=this,d2(k).repeatDelay||(k.repeat=0),k.immediateRender=!!k.immediateRender,new Ua(v,k,jo(this,O),1),this},o.call=function(v,k,O){return Hs(this,Ua.delayedCall(0,v,k),O)},o.staggerTo=function(v,k,O,z,C,B,H){return O.duration=k,O.stagger=O.stagger||z,O.onComplete=B,O.onCompleteParams=H,O.parent=this,new Ua(v,O,jo(this,C)),this},o.staggerFrom=function(v,k,O,z,C,B,H){return O.runBackwards=1,d2(O).immediateRender=$i(O.immediateRender),this.staggerTo(v,k,O,z,C,B,H)},o.staggerFromTo=function(v,k,O,z,C,B,H,g){return z.startAt=O,d2(z).immediateRender=$i(z.immediateRender),this.staggerTo(v,k,z,C,B,H,g)},o.render=function(v,k,O){var z=this._time,C=this._dirty?this.totalDuration():this._tDur,B=this._dur,H=v<=0?0:ci(v),g=this._zTime<0!=v<0&&(this._initted||!B),A,S,V,L,F,T,M,w,_,E,U,$;if(this!==va&&H>C&&v>=0&&(H=C),H!==this._tTime||O||g){if(z!==this._time&&B&&(H+=this._time-z,v+=this._time-z),A=H,_=this._start,w=this._ts,T=!w,g&&(B||(z=this._zTime),(v||!k)&&(this._zTime=v)),this._repeat){if(U=this._yoyo,F=B+this._rDelay,this._repeat<-1&&v<0)return this.totalTime(F*100+v,k,O);if(A=ci(H%F),H===C?(L=this._repeat,A=B):(L=~~(H/F),L&&L===H/F&&(A=B,L--),A>B&&(A=B)),E=rl(this._tTime,F),!z&&this._tTime&&E!==L&&(E=L),U&&L&1&&(A=B-A,$=1),L!==E&&!this._lock){var te=U&&E&1,se=te===(U&&L&1);if(L<E&&(te=!te),z=te?0:B,this._lock=1,this.render(z||($?0:ci(L*F)),k,!B)._lock=0,this._tTime=H,!k&&this.parent&&$o(this,"onRepeat"),this.vars.repeatRefresh&&!$&&(this.invalidate()._lock=1),z&&z!==this._time||T!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(B=this._dur,C=this._tDur,se&&(this._lock=2,z=te?B:-1e-4,this.render(z,!0),this.vars.repeatRefresh&&!$&&this.invalidate()),this._lock=0,!this._ts&&!T)return this;l6(this,$)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(M=oy(this,ci(z),ci(A)),M&&(H-=A-(A=M._start))),this._tTime=H,this._time=A,this._act=!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=v,z=0),!z&&A&&!k&&($o(this,"onStart"),this._tTime!==H))return this;if(A>=z&&v>=0)for(S=this._first;S;){if(V=S._next,(S._act||A>=S._start)&&S._ts&&M!==S){if(S.parent!==this)return this.render(v,k,O);if(S.render(S._ts>0?(A-S._start)*S._ts:(S._dirty?S.totalDuration():S._tDur)+(A-S._start)*S._ts,k,O),A!==this._time||!this._ts&&!T){M=0,V&&(H+=this._zTime=-Xn);break}}S=V}else{S=this._last;for(var Se=v<0?v:A;S;){if(V=S._prev,(S._act||Se<=S._end)&&S._ts&&M!==S){if(S.parent!==this)return this.render(v,k,O);if(S.render(S._ts>0?(Se-S._start)*S._ts:(S._dirty?S.totalDuration():S._tDur)+(Se-S._start)*S._ts,k,O||Ti&&(S._initted||S._startAt)),A!==this._time||!this._ts&&!T){M=0,V&&(H+=this._zTime=Se?-Xn:Xn);break}}S=V}}if(M&&!k&&(this.pause(),M.render(A>=z?0:-Xn)._zTime=A>=z?1:-1,this._ts))return this._start=_,m3(this),this.render(v,k,O);this._onUpdate&&!k&&$o(this,"onUpdate",!0),(H===C&&this._tTime>=this.totalDuration()||!H&&z)&&(_===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((v||!B)&&(H===C&&this._ts>0||!H&&this._ts<0)&&e1(this,1),!k&&!(v<0&&!z)&&(H||z||!C)&&($o(this,H===C&&v>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(H<C&&this.timeScale()>0)&&this._prom())))}return this},o.add=function(v,k){var O=this;if(E0(k)||(k=jo(this,k,v)),!(v instanceof il)){if(Ei(v))return v.forEach(function(z){return O.add(z,k)}),this;if(ri(v))return this.addLabel(v,k);if(xa(v))v=Ua.delayedCall(0,v);else return this}return this!==v?Hs(this,v,k):this},o.getChildren=function(v,k,O,z){v===void 0&&(v=!0),k===void 0&&(k=!0),O===void 0&&(O=!0),z===void 0&&(z=-Zo);for(var C=[],B=this._first;B;)B._start>=z&&(B instanceof Ua?k&&C.push(B):(O&&C.push(B),v&&C.push.apply(C,B.getChildren(!0,k,O)))),B=B._next;return C},o.getById=function(v){for(var k=this.getChildren(1,1,1),O=k.length;O--;)if(k[O].vars.id===v)return k[O]},o.remove=function(v){return ri(v)?this.removeLabel(v):xa(v)?this.killTweensOf(v):(v3(this,v),v===this._recent&&(this._recent=this._last),G1(this))},o.totalTime=function(v,k){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ci(Mo.time-(this._ts>0?v/this._ts:(this.totalDuration()-v)/-this._ts))),b.prototype.totalTime.call(this,v,k),this._forcing=0,this):this._tTime},o.addLabel=function(v,k){return this.labels[v]=jo(this,k),this},o.removeLabel=function(v){return delete this.labels[v],this},o.addPause=function(v,k,O){var z=Ua.delayedCall(0,k||g2,O);return z.data="isPause",this._hasPause=1,Hs(this,z,jo(this,v))},o.removePause=function(v){var k=this._first;for(v=jo(this,v);k;)k._start===v&&k.data==="isPause"&&e1(k),k=k._next},o.killTweensOf=function(v,k,O){for(var z=this.getTweensOf(v,O),C=z.length;C--;)J0!==z[C]&&z[C].kill(v,k);return this},o.getTweensOf=function(v,k){for(var O=[],z=Ko(v),C=this._first,B=E0(k),H;C;)C instanceof Ua?Qg(C._targets,z)&&(B?(!J0||C._initted&&C._ts)&&C.globalTime(0)<=k&&C.globalTime(C.totalDuration())>k:!k||C.isActive())&&O.push(C):(H=C.getTweensOf(z,k)).length&&O.push.apply(O,H),C=C._next;return O},o.tweenTo=function(v,k){k=k||{};var O=this,z=jo(O,v),C=k,B=C.startAt,H=C.onStart,g=C.onStartParams,A=C.immediateRender,S,V=Ua.to(O,Qo({ease:k.ease||"none",lazy:!1,immediateRender:!1,time:z,overwrite:"auto",duration:k.duration||Math.abs((z-(B&&"time"in B?B.time:O._time))/O.timeScale())||Xn,onStart:function(){if(O.pause(),!S){var F=k.duration||Math.abs((z-(B&&"time"in B?B.time:O._time))/O.timeScale());V._dur!==F&&nl(V,F,0,1).render(V._time,!0,!0),S=1}H&&H.apply(V,g||[])}},k));return A?V.render(0):V},o.tweenFromTo=function(v,k,O){return this.tweenTo(k,Qo({startAt:{time:jo(this,v)}},O))},o.recent=function(){return this._recent},o.nextLabel=function(v){return v===void 0&&(v=this._time),Hv(this,jo(this,v))},o.previousLabel=function(v){return v===void 0&&(v=this._time),Hv(this,jo(this,v),1)},o.currentLabel=function(v){return arguments.length?this.seek(v,!0):this.previousLabel(this._time+Xn)},o.shiftChildren=function(v,k,O){O===void 0&&(O=0);for(var z=this._first,C=this.labels,B;z;)z._start>=O&&(z._start+=v,z._end+=v),z=z._next;if(k)for(B in C)C[B]>=O&&(C[B]+=v);return G1(this)},o.invalidate=function(v){var k=this._first;for(this._lock=0;k;)k.invalidate(v),k=k._next;return b.prototype.invalidate.call(this,v)},o.clear=function(v){v===void 0&&(v=!0);for(var k=this._first,O;k;)O=k._next,this.remove(k),k=O;return this._dp&&(this._time=this._tTime=this._pTime=0),v&&(this.labels={}),G1(this)},o.totalDuration=function(v){var k=0,O=this,z=O._last,C=Zo,B,H,g;if(arguments.length)return O.timeScale((O._repeat<0?O.duration():O.totalDuration())/(O.reversed()?-v:v));if(O._dirty){for(g=O.parent;z;)B=z._prev,z._dirty&&z.totalDuration(),H=z._start,H>C&&O._sort&&z._ts&&!O._lock?(O._lock=1,Hs(O,z,H-z._delay,1)._lock=0):C=H,H<0&&z._ts&&(k-=H,(!g&&!O._dp||g&&g.smoothChildTiming)&&(O._start+=H/O._ts,O._time-=H,O._tTime-=H),O.shiftChildren(-H,!1,-1/0),C=0),z._end>k&&z._ts&&(k=z._end),z=B;nl(O,O===va&&O._time>k?O._time:k,1,1),O._dirty=0}return O._tDur},u.updateRoot=function(v){if(va._ts&&(W5(va,i3(v,va)),H5=Mo.frame),Mo.frame>=Uv){Uv+=To.autoSleep||120;var k=va._first;if((!k||!k._ts)&&To.autoSleep&&Mo._listeners.length<2){for(;k&&!k._ts;)k=k._next;k||Mo.sleep()}}},u}(il);Qo(Mi.prototype,{_lock:0,_hasPause:0,_forcing:0});
vendor: 23,741 bytes, lines 13-21
13var Sy=function(u,o,h,v,k,O,z){var C=new eo(this._pt,u,o,0,1,g6,null,k),B=0,H=0,g,A,S,V,L,F,T,M;for(C.b=h,C.e=v,h+="",v+="",(T=~v.indexOf("random("))&&(v=y2(v)),O&&(M=[h,v],O(M,u,o),h=M[0],v=M[1]),A=h.match(zh)||[];g=zh.exec(v);)V=g[0],L=v.substring(B,g.index),S?S=(S+1)%5:L.substr(-5)==="rgba("&&(S=1),V!==A[H++]&&(F=parseFloat(A[H-1])||0,C._pt={_next:C._pt,p:L||H===1?L:",",s:F,c:V.charAt(1)==="="?Ku(F,V)-F:parseFloat(V)-F,m:S&&S<4?Math.round:0},B=zh.lastIndex);return C.c=B<v.length?v.substring(B,v.length):"",C.fp=z,(N5.test(v)||T)&&(C.e=0),this._pt=C,C},Pf=function(u,o,h,v,k,O,z,C,B,H){xa(v)&&(v=v(k||0,u,O));var g=u[o],A=h!=="get"?h:xa(g)?B?u[o.indexOf("set")||!xa(u["get"+o.substr(3)])?o:"get"+o.substr(3)](B):u[o]():g,S=xa(g)?B?Ay:m6:If,V;if(ri(v)&&(~v.indexOf("random(")&&(v=y2(v)),v.charAt(1)==="="&&(V=Ku(A,v)+(Si(A)||0),(V||V===0)&&(v=V))),!H||A!==v||ff)return!isNaN(A*v)&&v!==""?(V=new eo(this._pt,u,o,+A||0,v-(A||0),typeof g=="boolean"?Ry:p6,0,S),B&&(V.fp=B),z&&V.modifier(z,this,u),this._pt=V):(!g&&!(o in u)&&Cf(o,v),Sy.call(this,u,o,A,v,S,C||To.stringFilter,B))},My=function(u,o,h,v,k){if(xa(u)&&(u=m2(u,k,o,h,v)),!Ws(u)||u.style&&u.nodeType||Ei(u)||F5(u))return ri(u)?m2(u,k,o,h,v):u;var O={},z;for(z in u)O[z]=m2(u[z],k,o,h,v);return O},f6=function(u,o,h,v,k,O){var z,C,B,H;if(So[u]&&(z=new So[u]).init(k,z.rawVars?o[u]:My(o[u],v,k,O,h),h,v,O)!==!1&&(h._pt=C=new eo(h._pt,k,u,0,1,z.render,z,0,z.priority),h!==Zu))for(B=h._ptLookup[h._targets.indexOf(k)],H=z._props.length;H--;)B[z._props[H]]=C;return z},J0,ff,Df=function b(u,o,h){var v=u.vars,k=v.ease,O=v.startAt,z=v.immediateRender,C=v.lazy,B=v.onUpdate,H=v.onUpdateParams,g=v.callbackScope,A=v.runBackwards,S=v.yoyoEase,V=v.keyframes,L=v.autoRevert,F=u._dur,T=u._startAt,M=u._targets,w=u.parent,_=w&&w.data==="nested"?w.vars.targets:M,E=u._overwrite==="auto"&&!Ef,U=u.timeline,$,te,se,Se,be,me,ke,he,X,re,ae,ue,ge;if(U&&(!V||!k)&&(k="none"),u._ease=V1(k,tl.ease),u._yEase=S?u6(V1(S===!0?k:S,tl.ease)):0,S&&u._yoyo&&!u._repeat&&(S=u._yEase,u._yEase=u._ease,u._ease=S),u._from=!U&&!!v.runBackwards,!U||V&&!v.stagger){if(he=M[0]?z1(M[0]).harness:0,ue=he&&v[he.prop],$=a3(v,Rf),T&&(T._zTime<0&&T.progress(1),o<0&&A&&z&&!L?T.render(-1,!0):T.revert(A&&F?Yc:Kg),T._lazy=0),O){if(e1(u._startAt=Ua.set(M,Qo({data:"isStart",overwrite:!1,parent:w,immediateRender:!0,lazy:!T&&$i(C),startAt:null,delay:0,onUpdate:B,onUpdateParams:H,callbackScope:g,stagger:0},O))),u._startAt._dp=0,u._startAt._sat=u,o<0&&(Ti||!z&&!L)&&u._startAt.revert(Yc),z&&F&&o<=0&&h<=0){o&&(u._zTime=o);return}}else if(A&&F&&!T){if(o&&(z=!1),se=Qo({overwrite:!1,data:"isFromStart",lazy:z&&!T&&$i(C),immediateRender:z,stagger:0,parent:w},$),ue&&(se[he.prop]=ue),e1(u._startAt=Ua.set(M,se)),u._startAt._dp=0,u._startAt._sat=u,o<0&&(Ti?u._startAt.revert(Yc):u._startAt.render(-1,!0)),u._zTime=o,!z)b(u._startAt,Xn,Xn);else if(!o)return}for(u._pt=u._ptCache=0,C=F&&$i(C)||C&&!F,te=0;te<M.length;te++){if(be=M[te],ke=be._gsap||Lf(M)[te]._gsap,u._ptLookup[te]=re={},of[ke.id]&&$0.length&&n3(),ae=_===M?te:_.indexOf(be),he&&(X=new he).init(be,ue||$,u,ae,_)!==!1&&(u._pt=Se=new eo(u._pt,be,X.name,0,1,X.render,X,0,X.priority),X._props.forEach(function(Ce){re[Ce]=Se}),X.priority&&(me=1)),!he||ue)for(se in $)So[se]&&(X=f6(se,$,u,ae,be,_))?X.priority&&(me=1):re[se]=Se=Pf.call(u,be,se,"get",$[se],ae,_,0,v.stringFilter);u._op&&u._op[te]&&u.kill(be,u._op[te]),E&&u._pt&&(J0=u,va.killTweensOf(be,re,u.globalTime(o)),ge=!u.parent,J0=0),u._pt&&C&&(of[ke.id]=1)}me&&y6(u),u._onInit&&u._onInit(u)}u._onUpdate=B,u._initted=(!u._op||u._pt)&&!ge,V&&o<=0&&U.render(Zo,!0,!0)},Ty=function(u,o,h,v,k,O,z){var C=(u._pt&&u._ptCache||(u._ptCache={}))[o],B,H,g,A;if(!C)for(C=u._ptCache[o]=[],g=u._ptLookup,A=u._targets.length;A--;){if(B=g[A][o],B&&B.d&&B.d._pt)for(B=B.d._pt;B&&B.p!==o&&B.fp!==o;)B=B._next;if(!B)return ff=1,u.vars[o]="+=0",Df(u,z),ff=0,1;C.push(B)}for(A=C.length;A--;)H=C[A],B=H._pt||H,B.s=(v||v===0)&&!k?v:B.s+(v||0)+O*B.c,B.c=h-B.s,H.e&&(H.e=Ra(h)+Si(H.e)),H.b&&(H.b=B.s+Si(H.b))},Ey=function(u,o){var h=u[0]?z1(u[0]).harness:0,v=h&&h.aliases,k,O,z,C;if(!v)return o;k=H1({},o);for(O in v)if(O in k)for(C=v[O].split(","),z=C.length;z--;)k[C[z]]=k[O];return k},ky=function(u,o,h,v){var k=o.ease||v||"power1.inOut",O,z;if(Ei(o))z=h[u]||(h[u]=[]),o.forEach(function(C,B){return z.push({t:B/(o.length-1)*100,v:C,e:k})});else for(O in o)z=h[O]||(h[O]=[]),O==="ease"||z.push({t:parseFloat(u),v:o[O],e:k})},m2=function(u,o,h,v,k){return xa(u)?u.call(o,h,v,k):ri(u)&&~u.indexOf("random(")?y2(u):u},d6=Of+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",v6={};Qi(d6+",id,stagger,delay,duration,paused,scrollTrigger",function(b){return v6[b]=1});var Ua=function(b){P5(u,b);function u(h,v,k,O){var z;typeof v=="number"&&(k.duration=v,v=k,k=null),z=b.call(this,O?v:d2(v))||this;var C=z.vars,B=C.duration,H=C.delay,g=C.immediateRender,A=C.stagger,S=C.overwrite,V=C.keyframes,L=C.defaults,F=C.scrollTrigger,T=C.yoyoEase,M=v.parent||va,w=(Ei(h)||F5(h)?E0(h[0]):"length"in v)?[h]:Ko(h),_,E,U,$,te,se,Se,be;if(z._targets=w.length?Lf(w):r3("GSAP target "+h+" not found. https://greensock.com",!To.nullTargetWarn)||[],z._ptLookup=[],z._overwrite=S,V||A||Fc(B)||Fc(H)){if(v=z.vars,_=z.timeline=new Mi({data:"nested",defaults:L||{},targets:M&&M.data==="nested"?M.vars.targets:w}),_.kill(),_.parent=_._dp=S0(z),_._start=0,A||Fc(B)||Fc(H)){if($=w.length,Se=A&&e6(A),Ws(A))for(te in A)~d6.indexOf(te)&&(be||(be={}),be[te]=A[te]);for(E=0;E<$;E++)U=a3(v,v6),U.stagger=0,T&&(U.yoyoEase=T),be&&H1(U,be),se=w[E],U.duration=+m2(B,S0(z),E,se,w),U.delay=(+m2(H,S0(z),E,se,w)||0)-z._delay,!A&&$===1&&U.delay&&(z._delay=H=U.delay,z._start+=H,U.delay=0),_.to(se,U,Se?Se(E,se,w):0),_._ease=pn.none;_.duration()?B=H=0:z.timeline=0}else if(V){d2(Qo(_.vars.defaults,{ease:"none"})),_._ease=V1(V.ease||v.ease||"none");var me=0,ke,he,X;if(Ei(V))V.forEach(function(re){return _.to(w,re,">")}),_.duration();else{U={};for(te in V)te==="ease"||te==="easeEach"||ky(te,V[te],U,V.easeEach);for(te in U)for(ke=U[te].sort(function(re,ae){return re.t-ae.t}),me=0,E=0;E<ke.length;E++)he=ke[E],X={ease:he.e,duration:(he.t-(E?ke[E-1].t:0))/100*B},X[te]=he.v,_.to(w,X,me),me+=X.duration;_.duration()<B&&_.to({},{duration:B-_.duration()})}}B||z.duration(B=_.duration())}else z.timeline=0;return S===!0&&!Ef&&(J0=S0(z),va.killTweensOf(w),J0=0),Hs(M,S0(z),k),v.reversed&&z.reverse(),v.paused&&z.paused(!0),(g||!B&&!V&&z._start===ci(M._time)&&$i(g)&&ny(S0(z))&&M.data!=="nested")&&(z._tTime=-Xn,z.render(Math.max(0,-H)||0)),F&&Z5(S0(z),F),z}var o=u.prototype;return o.render=function(v,k,O){var z=this._time,C=this._tDur,B=this._dur,H=v<0,g=v>C-Xn&&!H?C:v<Xn?0:v,A,S,V,L,F,T,M,w,_;if(!B)iy(this,v,k,O);else if(g!==this._tTime||!v||O||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==H){if(A=g,w=this.timeline,this._repeat){if(L=B+this._rDelay,this._repeat<-1&&H)return this.totalTime(L*100+v,k,O);if(A=ci(g%L),g===C?(V=this._repeat,A=B):(V=~~(g/L),V&&V===g/L&&(A=B,V--),A>B&&(A=B)),T=this._yoyo&&V&1,T&&(_=this._yEase,A=B-A),F=rl(this._tTime,L),A===z&&!O&&this._initted)return this._tTime=g,this;V!==F&&(w&&this._yEase&&l6(w,T),this.vars.repeatRefresh&&!T&&!this._lock&&(this._lock=O=1,this.render(ci(L*V),!0).invalidate()._lock=0))}if(!this._initted){if(K5(this,H?v:A,O,k,g))return this._tTime=0,this;if(z!==this._time)return this;if(B!==this._dur)return this.render(v,k,O)}if(this._tTime=g,this._time=A,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=M=(_||this._ease)(A/B),this._from&&(this.ratio=M=1-M),A&&!z&&!k&&($o(this,"onStart"),this._tTime!==g))return this;for(S=this._pt;S;)S.r(M,S.d),S=S._next;w&&w.render(v<0?v:!A&&T?-Xn:w._dur*w._ease(A/this._dur),k,O)||this._startAt&&(this._zTime=v),this._onUpdate&&!k&&(H&&sf(this,v,k,O),$o(this,"onUpdate")),this._repeat&&V!==F&&this.vars.onRepeat&&!k&&this.parent&&$o(this,"onRepeat"),(g===this._tDur||!g)&&this._tTime===g&&(H&&!this._onUpdate&&sf(this,v,!0,!0),(v||!B)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&e1(this,1),!k&&!(H&&!z)&&(g||z||T)&&($o(this,g===C?"onComplete":"onReverseComplete",!0),this._prom&&!(g<C&&this.timeScale()>0)&&this._prom()))}return this},o.targets=function(){return this._targets},o.invalidate=function(v){return(!v||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(v),b.prototype.invalidate.call(this,v)},o.resetTo=function(v,k,O,z){b2||Mo.wake(),this._ts||this.play();var C=Math.min(this._dur,(this._dp._time-this._start)*this._ts),B;return this._initted||Df(this,C),B=this._ease(C/this._dur),Ty(this,v,k,O,z,B,C)?this.resetTo(v,k,O,z):(p3(this,0),this.parent||j5(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},o.kill=function(v,k){if(k===void 0&&(k="all"),!v&&(!k||k==="all"))return this._lazy=this._pt=0,this.parent?s2(this):this;if(this.timeline){var O=this.timeline.totalDuration();return this.timeline.killTweensOf(v,k,J0&&J0.vars.overwrite!==!0)._first||s2(this),this.parent&&O!==this.timeline.totalDuration()&&nl(this,this._dur*this.timeline._tDur/O,0,1),this}var z=this._targets,C=v?Ko(v):z,B=this._ptLookup,H=this._pt,g,A,S,V,L,F,T;if((!k||k==="all")&&ty(z,C))return k==="all"&&(this._pt=0),s2(this);for(g=this._op=this._op||[],k!=="all"&&(ri(k)&&(L={},Qi(k,function(M){return L[M]=1}),k=L),k=Ey(z,k)),T=z.length;T--;)if(~C.indexOf(z[T])){A=B[T],k==="all"?(g[T]=k,V=A,S={}):(S=g[T]=g[T]||{},V=k);for(L in V)F=A&&A[L],F&&((!("kill"in F.d)||F.d.kill(L)===!0)&&v3(this,F,"_pt"),delete A[L]),S!=="all"&&(S[L]=1)}return this._initted&&!this._pt&&H&&s2(this),this},u.to=function(v,k){return new u(v,k,arguments[2])},u.from=function(v,k){return v2(1,arguments)},u.delayedCall=function(v,k,O,z){return new u(k,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:v,onComplete:k,onReverseComplete:k,onCompleteParams:O,onReverseCompleteParams:O,callbackScope:z})},u.fromTo=function(v,k,O){return v2(2,arguments)},u.set=function(v,k){return k.duration=0,k.repeatDelay||(k.repeat=0),new u(v,k)},u.killTweensOf=function(v,k,O){return va.killTweensOf(v,k,O)},u}(il);Qo(Ua.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Qi("staggerTo,staggerFrom,staggerFromTo",function(b){Ua[b]=function(){var u=new Mi,o=lf.call(arguments,0);return o.splice(b==="staggerFromTo"?5:4,0,0),u[b].apply(u,o)}});var If=function(u,o,h){return u[o]=h},m6=function(u,o,h){return u[o](h)},Ay=function(u,o,h,v){return u[o](v.fp,h)},Cy=function(u,o,h){return u.setAttribute(o,h)},Ff=function(u,o){return xa(u[o])?m6:kf(u[o])&&u.setAttribute?Cy:If},p6=function(u,o){return o.set(o.t,o.p,Math.round((o.s+o.c*u)*1e6)/1e6,o)},Ry=function(u,o){return o.set(o.t,o.p,!!(o.s+o.c*u),o)},g6=function(u,o){var h=o._pt,v="";if(!u&&o.b)v=o.b;else if(u===1&&o.e)v=o.e;else{for(;h;)v=h.p+(h.m?h.m(h.s+h.c*u):Math.round((h.s+h.c*u)*1e4)/1e4)+v,h=h._next;v+=o.c}o.set(o.t,o.p,v,o)},Bf=function(u,o){for(var h=o._pt;h;)h.r(u,h.d),h=h._next},Oy=function(u,o,h,v){for(var k=this._pt,O;k;)O=k._next,k.p===v&&k.modifier(u,o,h),k=O},Ly=function(u){for(var o=this._pt,h,v;o;)v=o._next,o.p===u&&!o.op||o.op===u?v3(this,o,"_pt"):o.dep||(h=1),o=v;return!h},Py=function(u,o,h,v){v.mSet(u,o,v.m.call(v.tween,h,v.mt),v)},y6=function(u){for(var o=u._pt,h,v,k,O;o;){for(h=o._next,v=k;v&&v.pr>o.pr;)v=v._next;(o._prev=v?v._prev:O)?o._prev._next=o:k=o,(o._next=v)?v._prev=o:O=o,o=h}u._pt=k},eo=function(){function b(o,h,v,k,O,z,C,B,H){this.t=h,this.s=k,this.c=O,this.p=v,this.r=z||p6,this.d=C||this,this.set=B||If,this.pr=H||0,this._next=o,o&&(o._prev=this)}var u=b.prototype;return u.modifier=function(h,v,k){this.mSet=this.mSet||this.set,this.set=Py,this.m=h,this.mt=k,this.tween=v},b}();Qi(Of+"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(b){return Rf[b]=1});Eo.TweenMax=Eo.TweenLite=Ua;Eo.TimelineLite=Eo.TimelineMax=Mi;va=new Mi({sortChildren:!1,defaults:tl,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});To.stringFilter=s6;var ol=[],jc={},Dy=[],Wv=0,Wh=function(u){return(jc[u]||Dy).map(function(o){return o()})},df=function(){var u=Date.now(),o=[];u-Wv>2&&(Wh("matchMediaInit"),ol.forEach(function(h){var v=h.queries,k=h.conditions,O,z,C,B;for(z in v)O=Jo.matchMedia(v[z]).matches,O&&(C=1),O!==k[z]&&(k[z]=O,B=1);B&&(h.revert(),C&&o.push(h))}),Wh("matchMediaRevert"),o.forEach(function(h){return h.onMatch(h)}),Wv=u,Wh("matchMedia"))},b6=function(){function b(o,h){this.selector=h&&cf(h),this.data=[],this._r=[],this.isReverted=!1,o&&this.add(o)}var u=b.prototype;return u.add=function(h,v,k){xa(h)&&(k=v,v=h,h=xa);var O=this,z=function(){var B=za,H=O.selector,g;return B&&B!==O&&B.data.push(O),k&&(O.selector=cf(k)),za=O,g=v.apply(O,arguments),xa(g)&&O._r.push(g),za=B,O.selector=H,O.isReverted=!1,g};return O.last=z,h===xa?z(O):h?O[h]=z:z},u.ignore=function(h){var v=za;za=null,h(this),za=v},u.getTweens=function(){var h=[];return this.data.forEach(function(v){return v instanceof b?h.push.apply(h,v.getTweens()):v instanceof Ua&&!(v.parent&&v.parent.data==="nested")&&h.push(v)}),h},u.clear=function(){this._r.length=this.data.length=0},u.kill=function(h,v){var k=this;if(h){var O=this.getTweens();this.data.forEach(function(C){C.data==="isFlip"&&(C.revert(),C.getChildren(!0,!0,!1).forEach(function(B){return O.splice(O.indexOf(B),1)}))}),O.map(function(C){return{g:C.globalTime(0),t:C}}).sort(function(C,B){return B.g-C.g||-1}).forEach(function(C){return C.t.revert(h)}),this.data.forEach(function(C){return!(C instanceof il)&&C.revert&&C.revert(h)}),this._r.forEach(function(C){return C(h,k)}),this.isReverted=!0}else this.data.forEach(function(C){return C.kill&&C.kill()});if(this.clear(),v){var z=ol.indexOf(this);~z&&ol.splice(z,1)}},u.revert=function(h){this.kill(h||{})},b}(),Iy=function(){function b(o){this.contexts=[],this.scope=o}var u=b.prototype;return u.add=function(h,v,k){Ws(h)||(h={matches:h});var O=new b6(0,k||this.scope),z=O.conditions={},C,B,H;this.contexts.push(O),v=O.add("onMatch",v),O.queries=h;for(B in h)B==="all"?H=1:(C=Jo.matchMedia(h[B]),C&&(ol.indexOf(O)<0&&ol.push(O),(z[B]=C.matches)&&(H=1),C.addListener?C.addListener(df):C.addEventListener("change",df)));return H&&v(O),this},u.revert=function(h){this.kill(h||{})},u.kill=function(h){this.contexts.forEach(function(v){return v.kill(h,!0)})},b}(),o3={registerPlugin:function(){for(var u=arguments.length,o=new Array(u),h=0;h<u;h++)o[h]=arguments[h];o.forEach(function(v){return py(v)})},timeline:function(u){return new Mi(u)},getTweensOf:function(u,o){return va.getTweensOf(u,o)},getProperty:function(u,o,h,v){ri(u)&&(u=Ko(u)[0]);var k=z1(u||{}).get,O=h?q5:Y5;return h==="native"&&(h=""),u&&(o?O((So[o]&&So[o].get||k)(u,o,h,v)):function(z,C,B){return O((So[z]&&So[z].get||k)(u,z,C,B))})},quickSetter:function(u,o,h){if(u=Ko(u),u.length>1){var v=u.map(function(H){return ko.quickSetter(H,o,h)}),k=v.length;return function(H){for(var g=k;g--;)v[g](H)}}u=u[0]||{};var O=So[o],z=z1(u),C=z.harness&&(z.harness.aliases||{})[o]||o,B=O?function(H){var g=new O;Zu._pt=0,g.init(u,h?H+h:H,Zu,0,[u]),g.render(1,g),Zu._pt&&Bf(1,Zu)}:z.set(u,C);return O?B:function(H){return B(u,C,h?H+h:H,z,1)}},quickTo:function(u,o,h){var v,k=ko.to(u,H1((v={},v[o]="+=0.1",v.paused=!0,v),h||{})),O=function(C,B,H){return k.resetTo(o,C,B,H)};return O.tween=k,O},isTweening:function(u){return va.getTweensOf(u,!0).length>0},defaults:function(u){return u&&u.ease&&(u.ease=V1(u.ease,tl.ease)),zv(tl,u||{})},config:function(u){return zv(To,u||{})},registerEffect:function(u){var o=u.name,h=u.effect,v=u.plugins,k=u.defaults,O=u.extendTimeline;(v||"").split(",").forEach(function(z){return z&&!So[z]&&!Eo[z]&&r3(o+" effect requires "+z+" plugin.")}),Gh[o]=function(z,C,B){return h(Ko(z),Qo(C||{},k),B)},O&&(Mi.prototype[o]=function(z,C,B){return this.add(Gh[o](z,Ws(C)?C:(B=C)&&{},this),B)})},registerEase:function(u,o){pn[u]=V1(o)},parseEase:function(u,o){return arguments.length?V1(u,o):pn},getById:function(u){return va.getById(u)},exportRoot:function(u,o){u===void 0&&(u={});var h=new Mi(u),v,k;for(h.smoothChildTiming=$i(u.smoothChildTiming),va.remove(h),h._dp=0,h._time=h._tTime=va._time,v=va._first;v;)k=v._next,(o||!(!v._dur&&v instanceof Ua&&v.vars.onComplete===v._targets[0]))&&Hs(h,v,v._start-v._delay),v=k;return Hs(va,h,0),h},context:function(u,o){return u?new b6(u,o):za},matchMedia:function(u){return new Iy(u)},matchMediaRefresh:function(){return ol.forEach(function(u){var o=u.conditions,h,v;for(v in o)o[v]&&(o[v]=!1,h=1);h&&u.revert()})||df()},addEventListener:function(u,o){var h=jc[u]||(jc[u]=[]);~h.indexOf(o)||h.push(o)},removeEventListener:function(u,o){var h=jc[u],v=h&&h.indexOf(o);v>=0&&h.splice(v,1)},utils:{wrap:dy,wrapYoyo:vy,distribute:e6,random:r6,snap:t6,normalize:fy,getUnit:Si,clamp:uy,splitColor:i6,toArray:Ko,selector:cf,mapRange:a6,pipe:cy,unitize:hy,interpolate:my,shuffle:Q5},install:G5,effects:Gh,ticker:Mo,updateRoot:Mi.updateRoot,plugins:So,globalTimeline:va,core:{PropTween:eo,globals:V5,Tween:Ua,Timeline:Mi,Animation:il,getCache:z1,_removeLinkedListItem:v3,reverting:function(){return Ti},context:function(u){return u&&za&&(za.data.push(u),u._ctx=za),za},suppressOverwrites:function(u){return Ef=u}}};Qi("to,from,fromTo,delayedCall,set,killTweensOf",function(b){return o3[b]=Ua[b]});Mo.add(Mi.updateRoot);Zu=o3.to({},{duration:0});var Fy=function(u,o){for(var h=u._pt;h&&h.p!==o&&h.op!==o&&h.fp!==o;)h=h._next;return h},By=function(u,o){var h=u._targets,v,k,O;for(v in o)for(k=h.length;k--;)O=u._ptLookup[k][v],O&&(O=O.d)&&(O._pt&&(O=Fy(O,v)),O&&O.modifier&&O.modifier(o[v],u,h[k],v))},Yh=function(u,o){return{name:u,rawVars:1,init:function(v,k,O){O._onInit=function(z){var C,B;if(ri(k)&&(C={},Qi(k,function(H){return C[H]=1}),k=C),o){C={};for(B in k)C[B]=o(k[B]);k=C}By(z,k)}}}},ko=o3.registerPlugin({name:"attr",init:function(u,o,h,v,k){var O,z,C;this.tween=h;for(O in o)C=u.getAttribute(O)||"",z=this.add(u,"setAttribute",(C||0)+"",o[O],v,k,0,0,O),z.op=O,z.b=C,this._props.push(O)},render:function(u,o){for(var h=o._pt;h;)Ti?h.set(h.t,h.p,h.b,h):h.r(u,h.d),h=h._next}},{name:"endArray",init:function(u,o){for(var h=o.length;h--;)this.add(u,h,u[h]||0,o[h],0,0,0,0,0,1)}},Yh("roundProps",hf),Yh("modifiers"),Yh("snap",t6))||o3;Ua.version=Mi.version=ko.version="3.11.4";z5=1;I5()&&al();var Ny=pn.Power0,Uy=pn.Power1,zy=pn.Power2,Gy=pn.Power3,Vy=pn.Power4,Hy=pn.Linear,Xy=pn.Quad,Wy=pn.Cubic,Yy=pn.Quart,qy=pn.Quint,jy=pn.Strong,Jy=pn.Elastic,Zy=pn.Back,Ky=pn.SteppedEase,$y=pn.Bounce,Qy=pn.Sine,eb=pn.Expo,tb=pn.Circ;/*!
14 * CSSPlugin 3.11.4
15 * https://greensock.com
16 *
17 * Copyright 2008-2022, GreenSock. All rights reserved.
18 * Subject to the terms at https://greensock.com/standard-license or for
19 * Club GreenSock members, the agreement issued with that membership.
20 * @author: Jack Doyle, [email protected]
21*/var Yv,Z0,$u,Nf,U1,qv,Uf,rb=function(){return typeof window<"u"},k0={},N1=180/Math.PI,Qu=Math.PI/180,Hu=Math.atan2,jv=1e8,zf=/([A-Z])/g,nb=/(left|right|width|margin|padding|x)/i,ab=/[\s,\(]\S/,T0={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},vf=function(u,o){return o.set(o.t,o.p,Math.round((o.s+o.c*u)*1e4)/1e4+o.u,o)},ib=function(u,o){return o.set(o.t,o.p,u===1?o.e:Math.round((o.s+o.c*u)*1e4)/1e4+o.u,o)},ob=function(u,o){return o.set(o.t,o.p,u?Math.round((o.s+o.c*u)*1e4)/1e4+o.u:o.b,o)},sb=function(u,o){var h=o.s+o.c*u;o.set(o.t,o.p,~~(h+(h<0?-.5:.5))+o.u,o)},_6=function(u,o){return o.set(o.t,o.p,u?o.e:o.b,o)},x6=function(u,o){return o.set(o.t,o.p,u!==1?o.b:o.e,o)},ub=function(u,o,h){return u.style[o]=h},lb=function(u,o,h){return u.style.setProperty(o,h)},cb=function(u,o,h){return u._gsap[o]=h},hb=function(u,o,h){return u._gsap.scaleX=u._gsap.scaleY=h},fb=function(u,o,h,v,k){var O=u._gsap;O.scaleX=O.scaleY=h,O.renderTransform(k,O)},db=function(u,o,h,v,k){var O=u._gsap;O[o]=h,O.renderTransform(k,O)},ma="transform",Ss=ma+"Origin",vb=function(u,o){var h=this,v=this.target,k=v.style;if(u in k0){if(this.tfm=this.tfm||{},u!=="transform"&&(u=T0[u]||u,~u.indexOf(",")?u.split(",").forEach(function(O){return h.tfm[O]=M0(v,O)}):this.tfm[u]=v._gsap.x?v._gsap[u]:M0(v,u)),this.props.indexOf(ma)>=0)return;v._gsap.svg&&(this.svgo=v.getAttribute("data-svg-origin"),this.props.push(Ss,o,"")),u=ma}(k||o)&&this.props.push(u,o,k[u])},w6=function(u){u.translate&&(u.removeProperty("translate"),u.removeProperty("scale"),u.removeProperty("rotate"))},mb=function(){var u=this.props,o=this.target,h=o.style,v=o._gsap,k,O;for(k=0;k<u.length;k+=3)u[k+1]?o[u[k]]=u[k+2]:u[k+2]?h[u[k]]=u[k+2]:h.removeProperty(u[k].replace(zf,"-$1").toLowerCase());if(this.tfm){for(O in this.tfm)v[O]=this.tfm[O];v.svg&&(v.renderTransform(),o.setAttribute("data-svg-origin",this.svgo||"")),k=Uf(),k&&!k.isStart&&!h[ma]&&(w6(h),v.uncache=1)}},S6=function(u,o){var h={target:u,props:[],revert:mb,save:vb};return o&&o.split(",").forEach(function(v){return h.save(v)}),h},M6,mf=function(u,o){var h=Z0.createElementNS?Z0.createElementNS((o||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),u):Z0.createElement(u);return h.style?h:Z0.createElement(u)},Xs=function b(u,o,h){var v=getComputedStyle(u);return v[o]||v.getPropertyValue(o.replace(zf,"-$1").toLowerCase())||v.getPropertyValue(o)||!h&&b(u,sl(o)||o,1)||""},Jv="O,Moz,ms,Ms,Webkit".split(","),sl=function(u,o,h){var v=o||U1,k=v.style,O=5;if(u in k&&!h)return u;for(u=u.charAt(0).toUpperCase()+u.substr(1);O--&&!(Jv[O]+u in k););return O<0?null:(O===3?"ms":O>=0?Jv[O]:"")+u},pf=function(){rb()&&window.document&&(Yv=window,Z0=Yv.document,$u=Z0.documentElement,U1=mf("div")||{style:{}},mf("div"),ma=sl(ma),Ss=ma+"Origin",U1.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",M6=!!sl("perspective"),Uf=ko.core.reverting,Nf=1)},qh=function b(u){var o=mf("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),h=this.parentNode,v=this.nextSibling,k=this.style.cssText,O;if($u.appendChild(o),o.appendChild(this),this.style.display="block",u)try{O=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=b}catch(z){}else this._gsapBBox&&(O=this._gsapBBox());return h&&(v?h.insertBefore(this,v):h.appendChild(this)),$u.removeChild(o),this.style.cssText=k,O},Zv=function(u,o){for(var h=o.length;h--;)if(u.hasAttribute(o[h]))return u.getAttribute(o[h])},T6=function(u){var o;try{o=u.getBBox()}catch(h){o=qh.call(u,!0)}return o&&(o.width||o.height)||u.getBBox===qh||(o=qh.call(u,!0)),o&&!o.width&&!o.x&&!o.y?{x:+Zv(u,["x","cx","x1"])||0,y:+Zv(u,["y","cy","y1"])||0,width:0,height:0}:o},E6=function(u){return!!(u.getCTM&&(!u.parentNode||u.ownerSVGElement)&&T6(u))},_2=function(u,o){if(o){var h=u.style;o in k0&&o!==Ss&&(o=ma),h.removeProperty?((o.substr(0,2)==="ms"||o.substr(0,6)==="webkit")&&(o="-"+o),h.removeProperty(o.replace(zf,"-$1").toLowerCase())):h.removeAttribute(o)}},K0=function(u,o,h,v,k,O){var z=new eo(u._pt,o,h,0,1,O?x6:_6);return u._pt=z,z.b=v,z.e=k,u._props.push(h),z},Kv={deg:1,rad:1,turn:1},pb={grid:1,flex:1},t1=function b(u,o,h,v){var k=parseFloat(h)||0,O=(h+"").trim().substr((k+"").length)||"px",z=U1.style,C=nb.test(o),B=u.tagName.toLowerCase()==="svg",H=(B?"client":"offset")+(C?"Width":"Height"),g=100,A=v==="px",S=v==="%",V,L,F,T;return v===O||!k||Kv[v]||Kv[O]?k:(O!=="px"&&!A&&(k=b(u,o,h,"px")),T=u.getCTM&&E6(u),(S||O==="%")&&(k0[o]||~o.indexOf("adius"))?(V=T?u.getBBox()[C?"width":"height"]:u[H],Ra(S?k/V*g:k/100*V)):(z[C?"width":"height"]=g+(A?O:v),L=~o.indexOf("adius")||v==="em"&&u.appendChild&&!B?u:u.parentNode,T&&(L=(u.ownerSVGElement||{}).parentNode),(!L||L===Z0||!L.appendChild)&&(L=Z0.body),F=L._gsap,F&&S&&F.width&&C&&F.time===Mo.time&&!F.uncache?Ra(k/F.width*g):((S||O==="%")&&!pb[Xs(L,"dis
21play")]&&(z.position=Xs(u,"position")),L===u&&(z.position="static"),L.appendChild(U1),V=U1[H],L.removeChild(U1),z.position="absolute",C&&S&&(F=z1(L),F.time=Mo.time,F.width=L[H]),Ra(A?V*k/g:V&&k?g/V*k:0))))},M0=function(u,o,h,v){var k;return Nf||pf(),o in T0&&o!=="transform"&&(o=T0[o],~o.indexOf(",")&&(o=o.split(",")[0])),k0[o]&&o!=="transform"?(k=w2(u,v),k=o!=="transformOrigin"?k[o]:k.svg?k.origin:u3(Xs(u,Ss))+" "+k.zOrigin+"px"):(k=u.style[o],(!k||k==="auto"||v||~(k+"").indexOf("calc("))&&(k=s3[o]&&s3[o](u,o,h)||Xs(u,o)||X5(u,o)||(o==="opacity"?1:0))),h&&!~(k+"").trim().indexOf(" ")?t1(u,o,k,h)+h:k},gb=function(u,o,h,v){if(!h||h==="none"){var k=sl(o,u,1),O=k&&Xs(u,k,1);O&&O!==h?(o=k,h=O):o==="borderColor"&&(h=Xs(u,"borderTopColor"))}var z=new eo(this._pt,u.style,o,0,1,g6),C=0,B=0,H,g,A,S,V,L,F,T,M,w,_,E;if(z.b=h,z.e=v,h+="",v+="",v==="auto"&&(u.style[o]=v,v=Xs(u,o)||v,u.style[o]=h),H=[h,v],s6(H),h=H[0],v=H[1],A=h.match(Ju)||[],E=v.match(Ju)||[],E.length){for(;g=Ju.exec(v);)F=g[0],M=v.substring(C,g.index),V?V=(V+1)%5:(M.substr(-5)==="rgba("||M.substr(-5)==="hsla(")&&(V=1),F!==(L=A[B++]||"")&&(S=parseFloat(L)||0,_=L.substr((S+"").length),F.charAt(1)==="="&&(F=Ku(S,F)+_),T=parseFloat(F),w=F.substr((T+"").length),C=Ju.lastIndex-w.length,w||(w=w||To.units[o]||_,C===v.length&&(v+=w,z.e+=w)),_!==w&&(S=t1(u,o,L,w)||0),z._pt={_next:z._pt,p:M||B===1?M:",",s:S,c:T-S,m:V&&V<4||o==="zIndex"?Math.round:0});z.c=C<v.length?v.substring(C,v.length):""}else z.r=o==="display"&&v==="none"?x6:_6;return N5.test(v)&&(z.e=0),this._pt=z,z},$v={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},yb=function(u){var o=u.split(" "),h=o[0],v=o[1]||"50%";return(h==="top"||h==="bottom"||v==="left"||v==="right")&&(u=h,h=v,v=u),o[0]=$v[h]||h,o[1]=$v[v]||v,o.join(" ")},bb=function(u,o){if(o.tween&&o.tween._time===o.tween._dur){var h=o.t,v=h.style,k=o.u,O=h._gsap,z,C,B;if(k==="all"||k===!0)v.cssText="",C=1;else for(k=k.split(","),B=k.length;--B>-1;)z=k[B],k0[z]&&(C=1,z=z==="transformOrigin"?Ss:ma),_2(h,z);C&&(_2(h,ma),O&&(O.svg&&h.removeAttribute("transform"),w2(h,1),O.uncache=1,w6(v)))}},s3={clearProps:function(u,o,h,v,k){if(k.data!=="isFromStart"){var O=u._pt=new eo(u._pt,o,h,0,0,bb);return O.u=v,O.pr=-10,O.tween=k,u._props.push(h),1}}},x2=[1,0,0,1,0,0],k6={},A6=function(u){return u==="matrix(1, 0, 0, 1, 0, 0)"||u==="none"||!u},Qv=function(u){var o=Xs(u,ma);return A6(o)?x2:o.substr(7).match(B5).map(Ra)},Gf=function(u,o){var h=u._gsap||z1(u),v=u.style,k=Qv(u),O,z,C,B;return h.svg&&u.getAttribute("transform")?(C=u.transform.baseVal.consolidate().matrix,k=[C.a,C.b,C.c,C.d,C.e,C.f],k.join(",")==="1,0,0,1,0,0"?x2:k):(k===x2&&!u.offsetParent&&u!==$u&&!h.svg&&(C=v.display,v.display="block",O=u.parentNode,(!O||!u.offsetParent)&&(B=1,z=u.nextElementSibling,$u.appendChild(u)),k=Qv(u),C?v.display=C:_2(u,"display"),B&&(z?O.insertBefore(u,z):O?O.appendChild(u):$u.removeChild(u))),o&&k.length>6?[k[0],k[1],k[4],k[5],k[12],k[13]]:k)},gf=function(u,o,h,v,k,O){var z=u._gsap,C=k||Gf(u,!0),B=z.xOrigin||0,H=z.yOrigin||0,g=z.xOffset||0,A=z.yOffset||0,S=C[0],V=C[1],L=C[2],F=C[3],T=C[4],M=C[5],w=o.split(" "),_=parseFloat(w[0])||0,E=parseFloat(w[1])||0,U,$,te,se;h?C!==x2&&($=S*F-V*L)&&(te=_*(F/$)+E*(-L/$)+(L*M-F*T)/$,se=_*(-V/$)+E*(S/$)-(S*M-V*T)/$,_=te,E=se):(U=T6(u),_=U.x+(~w[0].indexOf("%")?_/100*U.width:_),E=U.y+(~(w[1]||w[0]).indexOf("%")?E/100*U.height:E)),v||v!==!1&&z.smooth?(T=_-B,M=E-H,z.xOffset=g+(T*S+M*L)-T,z.yOffset=A+(T*V+M*F)-M):z.xOffset=z.yOffset=0,z.xOrigin=_,z.yOrigin=E,z.smooth=!!v,z.origin=o,z.originIsAbsolute=!!h,u.style[Ss]="0px 0px",O&&(K0(O,z,"xOrigin",B,_),K0(O,z,"yOrigin",H,E),K0(O,z,"xOffset",g,z.xOffset),K0(O,z,"yOffset",A,z.yOffset)),u.setAttribute("data-svg-origin",_+" "+E)},w2=function(u,o){var h=u._gsap||new h6(u);if("x"in h&&!o&&!h.uncache)return h;var v=u.style,k=h.scaleX<0,O="px",z="deg",C=getComputedStyle(u),B=Xs(u,Ss)||"0",H,g,A,S,V,L,F,T,M,w,_,E,U,$,te,se,Se,be,me,ke,he,X,re,ae,ue,ge,Ce,fe,Le,qe,de,Be;return H=g=A=L=F=T=M=w=_=0,S=V=1,h.svg=!!(u.getCTM&&E6(u)),C.translate&&((C.translate!=="none"||C.scale!=="none"||C.rotate!=="none")&&(v[ma]=(C.translate!=="none"?"translate3d("+(C.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(C.rotate!=="none"?"rotate("+C.rotate+") ":"")+(C.scale!=="none"?"scale("+C.scale.split(" ").join(",")+") ":"")+(C[ma]!=="none"?C[ma]:"")),v.scale=v.rotate=v.translate="none"),$=Gf(u,h.svg),h.svg&&(h.uncache?(ue=u.getBBox(),B=h.xOrigin-ue.x+"px "+(h.yOrigin-ue.y)+"px",ae=""):ae=!o&&u.getAttribute("data-svg-origin"),gf(u,ae||B,!!ae||h.originIsAbsolute,h.smooth!==!1,$)),E=h.xOrigin||0,U=h.yOrigin||0,$!==x2&&(be=$[0],me=$[1],ke=$[2],he=$[3],H=X=$[4],g=re=$[5],$.length===6?(S=Math.sqrt(be*be+me*me),V=Math.sqrt(he*he+ke*ke),L=be||me?Hu(me,be)*N1:0,M=ke||he?Hu(ke,he)*N1+L:0,M&&(V*=Math.abs(Math.cos(M*Qu))),h.svg&&(H-=E-(E*be+U*ke),g-=U-(E*me+U*he))):(Be=$[6],qe=$[7],Ce=$[8],fe=$[9],Le=$[10],de=$[11],H=$[12],g=$[13],A=$[14],te=Hu(Be,Le),F=te*N1,te&&(se=Math.cos(-te),Se=Math.sin(-te),ae=X*se+Ce*Se,ue=re*se+fe*Se,ge=Be*se+Le*Se,Ce=X*-Se+Ce*se,fe=re*-Se+fe*se,Le=Be*-Se+Le*se,de=qe*-Se+de*se,X=ae,re=ue,Be=ge),te=Hu(-ke,Le),T=te*N1,te&&(se=Math.cos(-te),Se=Math.sin(-te),ae=be*se-Ce*Se,ue=me*se-fe*Se,ge=ke*se-Le*Se,de=he*Se+de*se,be=ae,me=ue,ke=ge),te=Hu(me,be),L=te*N1,te&&(se=Math.cos(te),Se=Math.sin(te),ae=be*se+me*Se,ue=X*se+re*Se,me=me*se-be*Se,re=re*se-X*Se,be=ae,X=ue),F&&Math.abs(F)+Math.abs(L)>359.9&&(F=L=0,T=180-T),S=Ra(Math.sqrt(be*be+me*me+ke*ke)),V=Ra(Math.sqrt(re*re+Be*Be)),te=Hu(X,re),M=Math.abs(te)>2e-4?te*N1:0,_=de?1/(de<0?-de:de):0),h.svg&&(ae=u.getAttribute("transform"),h.forceCSS=u.setAttribute("transform","")||!A6(Xs(u,ma)),ae&&u.setAttribute("transform",ae))),Math.abs(M)>90&&Math.abs(M)<270&&(k?(S*=-1,M+=L<=0?180:-180,L+=L<=0?180:-180):(V*=-1,M+=M<=0?180:-180)),o=o||h.uncache,h.x=H-((h.xPercent=H&&(!o&&h.xPercent||(Math.round(u.offsetWidth/2)===Math.round(-H)?-50:0)))?u.offsetWidth*h.xPercent/100:0)+O,h.y=g-((h.yPercent=g&&(!o&&h.yPercent||(Math.round(u.offsetHeight/2)===Math.round(-g)?-50:0)))?u.offsetHeight*h.yPercent/100:0)+O,h.z=A+O,h.scaleX=Ra(S),h.scaleY=Ra(V),h.rotation=Ra(L)+z,h.rotationX=Ra(F)+z,h.rotationY=Ra(T)+z,h.skewX=M+z,h.skewY=w+z,h.transformPerspective=_+O,(h.zOrigin=parseFloat(B.split(" ")[2])||0)&&(v[Ss]=u3(B)),h.xOffset=h.yOffset=0,h.force3D=To.force3D,h.renderTransform=h.svg?xb:M6?C6:_b,h.uncache=0,h},u3=function(u){return(u=u.split(" "))[0]+" "+u[1]},jh=function(u,o,h){var v=Si(o);return Ra(parseFloat(o)+parseFloat(t1(u,"x",h+"px",v)))+v},_b=function(u,o){o.z="0px",o.rotationY=o.rotationX="0deg",o.force3D=0,C6(u,o)},F1="0deg",a2="0px",B1=") ",C6=function(u,o){var h=o||this,v=h.xPercent,k=h.yPercent,O=h.x,z=h.y,C=h.z,B=h.rotation,H=h.rotationY,g=h.rotationX,A=h.skewX,S=h.skewY,V=h.scaleX,L=h.scaleY,F=h.transformPerspective,T=h.force3D,M=h.target,w=h.zOrigin,_="",E=T==="auto"&&u&&u!==1||T===!0;if(w&&(g!==F1||H!==F1)){var U=parseFloat(H)*Qu,$=Math.sin(U),te=Math.cos(U),se;U=parseFloat(g)*Qu,se=Math.cos(U),O=jh(M,O,$*se*-w),z=jh(M,z,-Math.sin(U)*-w),C=jh(M,C,te*se*-w+w)}
vendor: 4,059 bytes, line 21
21F!==a2&&(_+="perspective("+F+B1),(v||k)&&(_+="translate("+v+"%, "+k+"%) "),(E||O!==a2||z!==a2||C!==a2)&&(_+=C!==a2||E?"translate3d("+O+", "+z+", "+C+") ":"translate("+O+", "+z+B1),B!==F1&&(_+="rotate("+B+B1),H!==F1&&(_+="rotateY("+H+B1),g!==F1&&(_+="rotateX("+g+B1),(A!==F1||S!==F1)&&(_+="skew("+A+", "+S+B1),(V!==1||L!==1)&&(_+="scale("+V+", "+L+B1),M.style[ma]=_||"translate(0, 0)"},xb=function(u,o){var h=o||this,v=h.xPercent,k=h.yPercent,O=h.x,z=h.y,C=h.rotation,B=h.skewX,H=h.skewY,g=h.scaleX,A=h.scaleY,S=h.target,V=h.xOrigin,L=h.yOrigin,F=h.xOffset,T=h.yOffset,M=h.forceCSS,w=parseFloat(O),_=parseFloat(z),E,U,$,te,se;C=parseFloat(C),B=parseFloat(B),H=parseFloat(H),H&&(H=parseFloat(H),B+=H,C+=H),C||B?(C*=Qu,B*=Qu,E=Math.cos(C)*g,U=Math.sin(C)*g,$=Math.sin(C-B)*-A,te=Math.cos(C-B)*A,B&&(H*=Qu,se=Math.tan(B-H),se=Math.sqrt(1+se*se),$*=se,te*=se,H&&(se=Math.tan(H),se=Math.sqrt(1+se*se),E*=se,U*=se)),E=Ra(E),U=Ra(U),$=Ra($),te=Ra(te)):(E=g,te=A,U=$=0),(w&&!~(O+"").indexOf("px")||_&&!~(z+"").indexOf("px"))&&(w=t1(S,"x",O,"px"),_=t1(S,"y",z,"px")),(V||L||F||T)&&(w=Ra(w+V-(V*E+L*$)+F),_=Ra(_+L-(V*U+L*te)+T)),(v||k)&&(se=S.getBBox(),w=Ra(w+v/100*se.width),_=Ra(_+k/100*se.height)),se="matrix("+E+","+U+","+$+","+te+","+w+","+_+")",S.setAttribute("transform",se),M&&(S.style[ma]=se)},wb=function(u,o,h,v,k){var O=360,z=ri(k),C=parseFloat(k)*(z&&~k.indexOf("rad")?N1:1),B=C-v,H=v+B+"deg",g,A;return z&&(g=k.split("_")[1],g==="short"&&(B%=O,B!==B%(O/2)&&(B+=B<0?O:-O)),g==="cw"&&B<0?B=(B+O*jv)%O-~~(B/O)*O:g==="ccw"&&B>0&&(B=(B-O*jv)%O-~~(B/O)*O)),u._pt=A=new eo(u._pt,o,h,v,B,ib),A.e=H,A.u="deg",u._props.push(h),A},e5=function(u,o){for(var h in o)u[h]=o[h];return u},Sb=function(u,o,h){var v=e5({},h._gsap),k="perspective,force3D,transformOrigin,svgOrigin",O=h.style,z,C,B,H,g,A,S,V;v.svg?(B=h.getAttribute("transform"),h.setAttribute("transform",""),O[ma]=o,z=w2(h,1),_2(h,ma),h.setAttribute("transform",B)):(B=getComputedStyle(h)[ma],O[ma]=o,z=w2(h,1),O[ma]=B);for(C in k0)B=v[C],H=z[C],B!==H&&k.indexOf(C)<0&&(S=Si(B),V=Si(H),g=S!==V?t1(h,C,B,V):parseFloat(B),A=parseFloat(H),u._pt=new eo(u._pt,z,C,g,A-g,vf),u._pt.u=V||0,u._props.push(C));e5(z,v)};Qi("padding,margin,Width,Radius",function(b,u){var o="Top",h="Right",v="Bottom",k="Left",O=(u<3?[o,h,v,k]:[o+k,o+h,v+h,v+k]).map(function(z){return u<2?b+z:"border"+z+b});s3[u>1?"border"+b:b]=function(z,C,B,H,g){var A,S;if(arguments.length<4)return A=O.map(function(V){return M0(z,V,B)}),S=A.join(" "),S.split(A[0]).length===5?A[0]:S;A=(H+"").split(" "),S={},O.forEach(function(V,L){return S[V]=A[L]=A[L]||A[(L-1)/2|0]}),z.init(C,S,g)}});var Vf={name:"css",register:pf,targetTest:function(u){return u.style&&u.nodeType},init:function(u,o,h,v,k){var O=this._props,z=u.style,C=h.vars.startAt,B,H,g,A,S,V,L,F,T,M,w,_,E,U,$,te;Nf||pf(),this.styles=this.styles||S6(u),te=this.styles.props,this.tween=h;for(L in o)if(L!=="autoRound"&&(H=o[L],!(So[L]&&f6(L,o,h,v,u,k)))){if(S=typeof H,V=s3[L],S==="function"&&(H=H.call(h,v,u,k),S=typeof H),S==="string"&&~H.indexOf("random(")&&(H=y2(H)),V)V(this,u,L,H,h)&&($=1);else if(L.substr(0,2)==="--")B=(getComputedStyle(u).getPropertyValue(L)+"").trim(),H+="",Q0.lastIndex=0,Q0.test(B)||(F=Si(B),T=Si(H)),T?F!==T&&(B=t1(u,L,B,T)+T):F&&(H+=F),this.add(z,"setProperty",B,H,v,k,0,0,L),O.push(L),te.push(L,0,z[L]);else if(S!=="undefined"){if(C&&L in C?(B=typeof C[L]=="function"?C[L].call(h,v,u,k):C[L],ri(B)&&~B.indexOf("random(")&&(B=y2(B)),Si(B+"")||(B+=To.units[L]||Si(M0(u,L))||""),(B+"").charAt(1)==="="&&(B=M0(u,L))):B=M0(u,L),A=parseFloat(B),M=S==="string"&&H.charAt(1)==="="&&H.substr(0,2),M&&(H=H.substr(2)),g=parseFloat(H),L in T0&&(L==="autoAlpha"&&(A===1&&M0(u,"visibility")==="hidden"&&g&&(A=0),te.push("visibility",0,z.visibility),K0(this,z,"visibility",A?"inherit":"hidden",g?"inherit":"hidden",!g)),L!=="scale"&&L!=="transform"&&(L=T0[L],~L.indexOf(",")&&(L=L.split(",")[0]))),w=L in k0,w){if(this.styles.save(L),_||(E=u._gsap,E.renderTransform&&!o.parseTransform||w2(u,o.parseTransform),U=o.smoothOrigin!==!1&&E.smooth,_=this._pt=new eo(this._pt,z,ma,
vendor: 4,727 bytes, line 21
210,1,E.renderTransform,E,0,-1),_.dep=1),L==="scale")this._pt=new eo(this._pt,E,"scaleY",E.scaleY,(M?Ku(E.scaleY,M+g):g)-E.scaleY||0,vf),this._pt.u=0,O.push("scaleY",L),L+="X";else if(L==="transformOrigin"){te.push(Ss,0,z[Ss]),H=yb(H),E.svg?gf(u,H,0,U,0,this):(T=parseFloat(H.split(" ")[2])||0,T!==E.zOrigin&&K0(this,E,"zOrigin",E.zOrigin,T),K0(this,z,L,u3(B),u3(H)));continue}else if(L==="svgOrigin"){gf(u,H,1,U,0,this);continue}else if(L in k6){wb(this,E,L,A,M?Ku(A,M+H):H);continue}else if(L==="smoothOrigin"){K0(this,E,"smooth",E.smooth,H);continue}else if(L==="force3D"){E[L]=H;continue}else if(L==="transform"){Sb(this,H,u);continue}}else L in z||(L=sl(L)||L);if(w||(g||g===0)&&(A||A===0)&&!ab.test(H)&&L in z)F=(B+"").substr((A+"").length),g||(g=0),T=Si(H)||(L in To.units?To.units[L]:F),F!==T&&(A=t1(u,L,B,T)),this._pt=new eo(this._pt,w?E:z,L,A,(M?Ku(A,M+g):g)-A,!w&&(T==="px"||L==="zIndex")&&o.autoRound!==!1?sb:vf),this._pt.u=T||0,F!==T&&T!=="%"&&(this._pt.b=B,this._pt.r=ob);else if(L in z)gb.call(this,u,L,B,M?M+H:H);else if(L in u)this.add(u,L,B||u[L],M?M+H:H,v,k);else if(L!=="parseTransform"){Cf(L,H);continue}w||(L in z?te.push(L,0,z[L]):te.push(L,1,B||u[L])),O.push(L)}}$&&y6(this)},render:function(u,o){if(o.tween._time||!Uf())for(var h=o._pt;h;)h.r(u,h.d),h=h._next;else o.styles.revert()},get:M0,aliases:T0,getSetter:function(u,o,h){var v=T0[o];return v&&v.indexOf(",")<0&&(o=v),o in k0&&o!==Ss&&(u._gsap.x||M0(u,"x"))?h&&qv===h?o==="scale"?hb:cb:(qv=h||{})&&(o==="scale"?fb:db):u.style&&!kf(u.style[o])?ub:~o.indexOf("-")?lb:Ff(u,o)},core:{_removeProperty:_2,_getMatrix:Gf}};ko.utils.checkPrefix=sl;ko.core.getStyleSaver=S6;(function(b,u,o,h){var v=Qi(b+","+u+","+o,function(k){k0[k]=1});Qi(u,function(k){To.units[k]="deg",k6[k]=1}),T0[v[13]]=b+","+u,Qi(h,function(k){var O=k.split(":");T0[O[1]]=v[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");Qi("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(b){To.units[b]="px"});ko.registerPlugin(Vf);var X1=ko.registerPlugin(Vf)||ko,Mb=X1.core.Tween;const Tb=Object.freeze(Object.defineProperty({__proto__:null,Back:Zy,Bounce:$y,CSSPlugin:Vf,Circ:tb,Cubic:Wy,Elastic:Jy,Expo:eb,Linear:Hy,Power0:Ny,Power1:Uy,Power2:zy,Power3:Gy,Power4:Vy,Quad:Xy,Quart:Yy,Quint:qy,Sine:Qy,SteppedEase:Ky,Strong:jy,TimelineLite:Mi,TimelineMax:Mi,TweenLite:Ua,TweenMax:Mb,default:X1,gsap:X1},Symbol.toStringTag,{value:"Module"})),Eb=Ag(Tb);var Bc={exports:{}},t5;function kb(){return t5||(t5=1,function(b,u){(function(o,h){h(u)})(Vs,function(o){var h=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,v=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,k=Math.PI/180,O=Math.sin,z=Math.cos,C=Math.abs,B=Math.sqrt,H=function(he){return typeof he=="number"},g=1e5,A=function(he){return Math.round(he*g)/g||0};function S(ke,he,X,re,ae,ue,ge){for(var Ce=ke.length,fe,Le,qe,de,Be;--Ce>-1;)for(fe=ke[Ce],Le=fe.length,qe=0;qe<Le;qe+=2)de=fe[qe],Be=fe[qe+1],fe[qe]=de*he+Be*re+ue,fe[qe+1]=de*X+Be*ae+ge;return ke._dirty=1,ke}function V(ke,he,X,re,ae,ue,ge,Ce,fe){if(!(ke===Ce&&he===fe)){X=C(X),re=C(re);var Le=ae%360*k,qe=z(Le),de=O(Le),Be=Math.PI,Ue=Be*2,Ke=(ke-Ce)/2,yt=(he-fe)/2,pt=qe*Ke+de*yt,mt=-de*Ke+qe*yt,Mt=pt*pt,Dt=mt*mt,gt=Mt/(X*X)+Dt/(re*re);gt>1&&(X=B(gt)*X,re=B(gt)*re);var ft=X*X,Wt=re*re,or=(ft*Wt-ft*Dt-Wt*Mt)/(ft*Dt+Wt*Mt);or<0&&(or=0);var xr=(ue===ge?-1:1)*B(or),wr=xr*(X*mt/re),kr=xr*-(re*pt/X),Tn=(ke+Ce)/2,qr=(he+fe)/2,Bn=Tn+(qe*wr-de*kr),Oa=qr+(de*wr+qe*kr),Rn=(pt-wr)/X,en=(mt-kr)/re,ua=(-pt-wr)/X,pr=(-mt-kr)/re,wa=Rn*Rn+en*en,pa=(en<0?-1:1)*Math.acos(Rn/B(wa)),dr=(Rn*pr-en*ua<0?-1:1)*Math.acos((Rn*ua+en*pr)/B(wa*(ua*ua+pr*pr)));isNaN(dr)&&(dr=Be),!ge&&dr>0?dr-=Ue:ge&&dr<0&&(dr+=Ue),pa%=Ue,dr%=Ue;var La=Math.ceil(C(dr)/(Ue/4)),un=[],Bi=dr/La,to=4/3*O(Bi/2)/(1+z(Bi/2)),es=qe*X,ki=de*X,Wn=de*-re,Ao=qe*re,na;for(na=0;na<La;na++)ae=pa+na*Bi,pt=z(ae),mt=O(ae),Rn=z(ae+=Bi),en=O(ae),un.push(pt-to*mt,mt+to*pt,Rn+to*en,en-to*Rn,Rn,en);for(na=0;na<un.length;na+=2)pt=un[na],mt=un[na+1],un[na]=pt*es+mt*Wn+Bn,un[na+1]=pt*ki+mt*Ao+Oa;return un[na-2]=Ce,un[na-1]=fe,un}}function L(ke){var he=(ke+"").replace(v,function(wr){var kr=+wr;return kr<1e-4&&kr>-1e-4?0:kr}).match(h)||[],X=[],re=0,ae=0,ue=2/3,ge=he.length,Ce=0,fe="ERROR: malformed path: "+ke,Le,qe,de,Be,Ue,Ke,yt,pt,mt,Mt,Dt,gt,ft,Wt,or,xr=function(kr,Tn,qr,Bn){Mt=(qr-kr)/3,Dt=(Bn-Tn)/3,yt.push(kr+Mt,Tn+Dt,qr-Mt,Bn-Dt,qr,Bn)};if(!ke||!isNaN(he[0])||isNaN(he[1]))return console.log(fe),X;for(Le=0;Le<ge;Le++)if(ft=Ue,isNaN(he[Le])?(Ue=he[Le].toUpperCase(),Ke=Ue!==he[
21Le]):Le--,de=+he[Le+1],Be=+he[Le+2],Ke&&(de+=re,Be+=ae),Le||(pt=de,mt=Be),Ue==="M")yt&&(yt.length<8?X.length-=1:Ce+=yt.length),re=pt=de,ae=mt=Be,yt=[de,Be],X.push(yt),Le+=2,Ue="L";else if(Ue==="C")yt||(yt=[0,0]),Ke||(re=ae=0),yt.push(de,Be,re+he[Le+3]*1,ae+he[Le+4]*1,re+=he[Le+5]*1,ae+=he[Le+6]*1),Le+=6;else if(Ue==="S")Mt=re,Dt=ae,(ft==="C"||ft==="S")&&(Mt+=re-yt[yt.length-4],Dt+=ae-yt[yt.length-3]),Ke||(re=ae=0),yt.push(Mt,Dt,de,Be,re+=he[Le+3]*1,ae+=he[Le+4]*1),Le+=4;else if(Ue==="Q")Mt=re+(de-re)*ue,Dt=ae+(Be-ae)*ue,Ke||(re=ae=0),re+=he[Le+3]*1,ae+=he[Le+4]*1,yt.push(Mt,Dt,re+(de-re)*ue,ae+(Be-ae)*ue,re,ae),Le+=4;else if(Ue==="T")Mt=re-yt[yt.length-4],Dt=ae-yt[yt.length-3],yt.push(re+Mt,ae+Dt,de+(re+Mt*1.5-de)*ue,Be+(ae+Dt*1.5-Be)*ue,re=de,ae=Be),Le+=2;else if(Ue==="H")xr(re,ae,re=de,ae),Le+=1;else if(Ue==="V")xr(re,ae,re,ae=de+(Ke?ae-re:0)),Le+=1;else if(Ue==="L"||Ue==="Z")Ue==="Z"&&(de=pt,Be=mt,yt.closed=!0),(Ue==="L"||C(re-de)>.5||C(ae-Be)>.5)&&(xr(re,ae,de,Be),Ue==="L"&&(Le+=2)),re=de,ae=Be;else if(Ue==="A"){if(Wt=he[Le+4],or=he[Le+5],Mt=he[Le+6],Dt=he[Le+7],qe=7,Wt.length>1&&(Wt.length<3?(Dt=Mt,Mt=or,qe--):(Dt=or,Mt=Wt.substr(2),qe-=2),or=Wt.charAt(1),Wt=Wt.charAt(0)),gt=V(re,ae,+he[Le+1],+he[Le+2],+he[Le+3],+Wt,+or,(Ke?re:0)+Mt*1,(Ke?ae:0)+Dt*1),Le+=qe,gt)for(qe=0;qe<gt.length;qe++)yt.push(gt[qe]);re=yt[yt.length-2],ae=yt[yt.length-1]}else console.log(fe);return Le=yt.length,Le<6?(X.pop(),Le=0):yt[0]===yt[Le-2]&&yt[1]===yt[Le-1]&&(yt.closed=!0),X.totalPoints=Ce+Le,X}function F(ke){H(ke[0])&&(ke=[ke]);var he="",X=ke.length,re,ae,ue,ge;for(ae=0;ae<X;ae++){for(ge=ke[ae],he+="M"+A(ge[0])+","+A(ge[1])+" C",re=ge.length,ue=2;ue<re;ue++)he+=A(ge[ue++])+","+A(ge[ue++])+" "+A(ge[ue++])+","+A(ge[ue++])+" "+A(ge[ue++])+","+A(ge[ue])+" ";ge.closed&&(he+="z")}return he}/*!
22 * CustomEase 3.11.4
23 * https://greensock.com
24 *
25 * @license Copyright 2008-2022, GreenSock. All rights reserved.
26 * Subject to the terms at https://greensock.com/standard-license or for
27 * Club GreenSock members, the agreement issued with that membership.
28 * @author: Jack Doyle, [email protected]
29*/var T,M,w=function(){return T||typeof window<"u"&&(T=window.gsap)&&T.registerPlugin&&T},_=function(){T=w(),T?(T.registerEase("_CE",me.create),M=1):console.warn("Please gsap.registerPlugin(CustomEase)")},E=1e20,U=function(he){return~~(he*1e3+(he<0?-.5:.5))/1e3},$=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,te=/[cLlsSaAhHvVtTqQ]/g,se=function(he){var X=he.length,re=E,ae;for(ae=1;ae<X;ae+=6)+he[ae]<re&&(re=+he[ae]);return re},Se=function(he,X,re){!re&&re!==0&&(re=Math.max(+he[he.length-1],+he[1]));var ae=+he[0]*-1,ue=-re,ge=he.length,Ce=1/(+he[ge-2]+ae),fe=-X||(Math.abs(+he[ge-1]-+he[1])<.01*(+he[ge-2]-+he[0])?se(he)+ue:+he[ge-1]+ue),Le;for(fe?fe=1/fe:fe=-Ce,Le=0;Le<ge;Le+=2)he[Le]=(+he[Le]+ae)*Ce,he[Le+1]=(+he[Le+1]+ue)*fe},be=function ke(he,X,re,ae,ue,ge,Ce,fe,Le,qe,de){var Be=(he+re)/2,Ue=(X+ae)/2,Ke=(re+ue)/2,yt=(ae+ge)/2,pt=(ue+Ce)/2,mt=(ge+fe)/2,Mt=(Be+Ke)/2,Dt=(Ue+yt)/2,gt=(Ke+pt)/2,ft=(yt+mt)/2,Wt=(Mt+gt)/2,or=(Dt+ft)/2,xr=Ce-he,wr=fe-X,kr=Math.abs((re-Ce)*wr-(ae-fe)*xr),Tn=Math.abs((ue-Ce)*wr-(ge-fe)*xr),qr;return qe||(qe=[{x:he,y:X},{x:Ce,y:fe}],de=1),qe.splice(de||qe.length-1,0,{x:Wt,y:or}),(kr+Tn)*(kr+Tn)>Le*(xr*xr+wr*wr)&&(qr=qe.length,ke(he,X,Be,Ue,Mt,Dt,Wt,or,Le,qe,de),ke(Wt,or,gt,ft,pt,mt,Ce,fe,Le,qe,de+1+(qe.length-qr))),qe},me=function(){function ke(X,re,ae){M||_(),this.id=X,this.setData(re,ae)}var he=ke.prototype;return he.setData=function(re,ae){ae=ae||{},re=re||"0,0,1,1";var ue=re.match($),ge=1,Ce=[],fe=[],Le=ae.precision||1,qe=Le<=1,de,Be,Ue,Ke,yt,pt,mt,Mt,Dt;if(this.data=re,(te.test(re)||~re.indexOf("M")&&re.indexOf("C")<0)&&(ue=L(re)[0]),de=ue.length,de===4)ue.unshift(0,0),ue.push(1,1),de=8;else if((de-2)%6)throw"Invalid CustomEase";for((+ue[0]!=0||+ue[de-2]!=1)&&Se(ue,ae.height,ae.originY),this.segment=ue,Ke=2;Ke<de;Ke+=6)Be={x:+ue[Ke-2],y:+ue[Ke-1]},Ue={x:+ue[Ke+4],y:+ue[Ke+5]},Ce.push(Be,Ue),be(Be.x,Be.y,+ue[Ke],+ue[Ke+1],+ue[Ke+2],+ue[Ke+3],Ue.x,Ue.y,1/(Le*2e5),Ce,Ce.length-1);for(de=Ce.length,Ke=0;Ke<de;Ke++)mt=Ce[Ke],Mt=Ce[Ke-1]||mt,(mt.x>Mt.x||Mt.y!==mt.y&&Mt.x===mt.x||mt===Mt)&&mt.x<=1?(Mt.cx=mt.x-Mt.x,Mt.cy=mt.y-Mt.y,Mt.n=mt,Mt.nx=mt.x,qe&&Ke>1&&Math.abs(Mt.cy/Mt.cx-Ce[Ke-2].cy/Ce[Ke-2].cx)>2&&(qe=0),Mt.cx<ge&&(Mt.cx?ge=Mt.cx:(Mt.cx=.001,Ke===de-1&&(Mt.x-=.001,ge=Math.min(ge,.001),qe=0)))):(Ce.splice(Ke--,1),de--);if(de=1/ge+1|0,yt=1/de,pt=0,mt=Ce[0],qe){for(Ke=0;Ke<de;Ke++)Dt=Ke*yt,mt.nx<Dt&&(mt=Ce[++pt]),Be=mt.y+(Dt-mt.x)/mt.cx*mt.cy,fe[Ke]={x:Dt,cx:yt,y:Be,cy:0,nx:9},Ke&&(fe[Ke-1].cy=Be-fe[Ke-1].y);fe[de-1].cy=Ce[Ce.length-1].y-Be}else{for(Ke=0;Ke<de;Ke++)mt.nx<Ke*yt&&(mt=Ce[++pt]),fe[Ke]=mt;pt<Ce.length-1&&(fe[Ke-1]=Ce[Ce.length-2])}return this.ease=function(gt){var ft=fe[gt*de|0]||fe[de-1];return ft.nx<gt&&(ft=ft.n),ft.y+(gt-ft.x)/ft.cx*ft.cy},this.ease.custom=this,this.id&&T&&T.registerEase(this.id,this.ease),this},he.getSVGData=function(re){return ke.getSVGData(this,re)},ke.create=function(re,ae,ue){return new ke(re,ae,ue).ease},ke.register=function(re){T=re,_()},ke.get=function(re){return T.parseEase(re)},ke.getSVGData=function(re,ae){ae=ae||{};var ue=ae.width||100,ge=ae.height||100,Ce=ae.x||0,fe=(ae.y||0)+ge,Le=T.utils.toArray(ae.path)[0],qe,de,Be,Ue,Ke,yt,pt,mt,Mt,Dt;if(ae.invert&&(ge=-ge,fe=0),typeof re=="string"&&(re=T.parseEase(re)),re.custom&&(re=re.custom),re instanceof ke)qe=F(S([re.segment],ue,0,0,-ge,Ce,fe));else{for(qe=[Ce,fe],pt=Math.max(5,(ae.precision||1)*200),Ue=1/pt,pt+=2,mt=5/pt,Mt=U(Ce+Ue*ue),Dt=U(fe+re(Ue)*-ge),de=(Dt-fe)/(Mt-Ce),Be=2;Be<pt;Be++)Ke=U(Ce+Be*Ue*ue),yt=U(fe+re(Be*Ue)*-ge),(Math.abs((yt-Dt)/(Ke-Mt)-de)>mt||Be===pt-1)&&(qe.push(Mt,Dt),de=(yt-Dt)/(Ke-Mt)),Mt=Ke,Dt=yt;qe="M"+qe.join(",")}return Le&&Le.setAttribute("d",qe),qe},ke}();
29w()&&T.registerPlugin(me),me.version="3.11.4",o.CustomEase=me,o.default=me,Object.defineProperty(o,"__esModule",{value:!0})})}(Bc,Bc.exports)),Bc.exports}var Jh={exports:{}};/*! Copyright © 2011 - 2025 miHoYo. All Rights Reserved */var r5;function Ab(){return r5||(r5=1,function(b,u){(function(o,h){b.exports=h()})(typeof self<"u"?self:Vs,function(){return function(){var o={673:function(O,z,C){function B(M){return B=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},B(M)}function H(M,w){for(var _=0;_<w.length;_++){var E=w[_];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(M,A(E.key),E)}}function g(M,w,_){return(w=A(w))in M?Object.defineProperty(M,w,{value:_,enumerable:!0,configurable:!0,writable:!0}):M[w]=_,M}function A(M){var w=function(_,E){if(B(_)!=="object"||_===null)return _;var U=_[Symbol.toPrimitive];if(U!==void 0){var $=U.call(_,E);if(B($)!=="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(_)}(M,"string");return B(w)==="symbol"?w:String(w)}var S,V;C.d(z,{default:function(){return T}}),function(M){M.desktop="desktop",M.tablet="tablet",M.mobile="mobile"}(S||(S={})),function(M){M.pc="pc",M.mobile="mobile",M.ps4="ps4",M.ps5="ps5"}(V||(V={}));var L=[V.pc,V.mobile,V.ps4,V.ps5],F={queryString:function(M,w){var _=M.replace(/[\[\]]/g,"\\$&"),E=new RegExp("[?&]".concat(_,"(=([^&#]*)|&|#|$)")).exec(w);return E?E[2]?decodeURIComponent(E[2].replace(/\+/g," ")):"":null},formatParams:function(M){var w=M||{};return Object.keys(w).reduce(function(_,E){return _.push("".concat(encodeURIComponent(E),"=").concat(encodeURIComponent(w[E]))),_},[]).join("&")},getType:function(M){return Object.prototype.toString.call(M).slice(8,-1).toLowerCase()},isEmpty:function(M){var w=!0;return M&&typeof M=="string"&&String(M).trim()&&(w=!1),w},dealStr:function(M,w){var _=String(M).trim()||"";return _=w==="lower"?_.toLowerCase():w==="upper"?_.toUpperCase():_},includes:function(M,w){return M.indexOf(w)!==-1},find:function(M,w){return this.includes(w,M)},findIndex:function(M,w,_){for(var E=0;E<M.length;E++){var U=M[E];if(w.call(_,U,E,M))return E}return-1}},T=function(){function M(E){var U=E.window,$=E.userAgent,te=E.url,se=E.language;(function(Se,be){if(!(Se instanceof be))throw new TypeError("Cannot call a class as a function")})(this,M),g(this,"userAgent",void 0),g(this,"url",void 0),g(this,"window",void 0),g(this,"lang",void 0),this.userAgent=$.toLowerCase(),this.url=te,this.window=U,this.lang=se}var w,_;return w=M,_=[{key:"mobile",value:function(){return this.platform()==="ios"||this.platform()==="android"||this.iphone()||this.iwatch()||this.ipod()||this.androidPhone()||this.blackberryPhone()||this.windowsPhone()||this.fxosPhone()||this.meego()||this.samsungPhone()||this.isHarmonyPhone()||this.othersMobile()}},{key:"tablet",value:function(){return this.ipad()||this.androidTablet()||this.blackberryTablet()||this.windowsTablet()||this.fxosTablet()||this.samsungTablet()||this.isHarmonyTablet()}},{key:"desktop",value:function(){var E=this;return["pc","mac"].some(function(U){return U===E.platform()})||!this.tablet()&&!this.mobile()}},{key:"portrait",value:function(){var E=this.window;return E?E.screen.orientation&&Object.prototype.hasOwnProperty.call(E,"onorientationchange")?this.includes(E.screen.orientation.type,"portrait"):this.ios()&&Object.prototype.hasOwnProperty.call(E,"orientation")?Math.abs(E.orientation)!==90:E.innerHeight/E.innerWidth>1:this.getDeviceType()==="mobile"}},{key:"landscape",value:function(){var E=this.window;return E?E.screen.orientation&&Object.prototype.hasOwnProperty.call(E,"onorientationchange")?this.includes(E.screen.orientation.type,"landscape"):this.ios()&&Object.prototype.hasOwnProperty.call(E,"orientation")?Math.abs(E.orientation)===90:E.innerHeight/E.innerWidth<1:!this.portrait()}},{key:"getOrient",value:function(){return this.portrait()?"portrait":this.landscape()?"landscape":""}},{key:"getDeviceEnd",value:function(){var E;return this.desktop()?E=S.desktop:this.tablet()?E=S.tablet:this.mobile()?E=S.mobile:console.warn("unknown device end"),E}},{key:"getDeviceType",value:function(){var E=this.desktop()?V.pc:this.tablet()||this.mobile()?V.mobile:void 0;if(!E){var U=F.dealStr(this.queryString("device_type"));if(!F.isEmpty(U)){var $=F.findIndex(L,function(te){return U.search(te)!==-1});E=$!==-1?L[$]:void 0}E||console.warn("unknown device type")}return E}},{key:"platform",value:function(){var E=F.dealStr(this.queryString("plat_type"),"lower"),U=F.dealStr(this.queryString("web_type"),"lower");return E==="ios"&&U==="mac"?"mac":F.dealStr(this.queryString("plat_type"),"lower")}},{key:"trident",value:function(){return this.find("trident")}},{key:"presto",value:function(){return this.find("presto")}},{key:"webkit",value:function(){return this.find("applewebkit")}},{key:"gecko",value:function(){return this.find("gecko")&&this.find("firefox")}},{key:"language",value:function(){return this.lang}},{key:"isWindows",value:function(){return this.find("windows")}},{key:"windowsPhone",value:function(){return this.isWindows()&&this.find("phone")}},{key:"windowsTablet",value:function(){return this.isWindows()&&this.find("touch")&&!this.windowsPhone()}},{key:"isNode",value:function(){return typeof window>"u"&&C.g!==void 0}},{key:"iphone",value:function(){return!this.isWindows()&&this.find("iphone")}},{key:"iwatch",value:function(){return this.find("iwatch")}},{key:"ipod",value:function(){return this.find("ipod")}},{key:"ipad",value:function(){return this.find("ipad")||!!(this.window&&this.window.navigator.platform==="MacIntel"&&this.window.navigator.maxTouchPoints>1)}},{key:"macos",value:function(){return this.platform()==="mac"||this.find("mac")}},{key:"ios",value:function(){return this.platform()==="ios"||this.iphone()||this.iwatch()||this.ipod()||this.ipad()}},{key:"android",value:function(){return!this.isWindows()&&(this.platform()==="android"||this.find("android"))}},{key:"androidPhone",value:function(){return this.android()&&this.find("mobile")}},{key:"androidTablet",value:function(){return this.android()&&!this.find("mobile")}},{key:"blackberry",value:function(){return this.find("blackberry")||this.find("bb10")}},{key:"blackberryPhone",value:function(){return this.blackberry()&&!this.find("tablet")}},{key:"blackberryTablet",value:function(){return this.blackberry()&&this.find("tablet")}},{key:"meego",value:function(){return this.find("meego")}},{key:"fxos",value:function(){return(this.find("(mobile")||this.find("(tablet"))&&this.find(" rv:")}},{key:"fxosPhone",value:function(){return this.fxos()&&this.find("mobile")}},{key:"fxosTablet",value:function(){return this.fxos()&&this.find("tablet")}},{key:"mumu",value:function(){return this.find("mumu")||this.find("build/v417ir;wv")}},{key:"u3d",value:function(){return!!this.userAgent.match(/unity 3d/)}},{key:"ps",value:function(){return this.includes(this.platform(),"ps")||this.find("playstation")}},{key:"wxwork",value:function(){return this.find("wxwork")}},{key:"harmony",value:function(){return console.warn("Warning: The 'harmony' is currently unsafe and will no longer be maintained. Please use the 'isHarmony' method instead."),this.find("harmonyos")}},{key:"harmonyPhone",value:function(){return console.warn("Warning: The 'harmonyPhone' is currently unsafe and will no longer be maintained."),console.warn("Please use the 'isHarmonyPhone' method instead"),this.harmony()&&this.find("mobile")}},{key:"huaweiBrowser",value:function(){return this.find("huaweibrowser")}},{key:"isHarmony",value:function(){return this.isHarmonyOS()||this.isOpenHarmony()||this.find("harmony")}},{key:"isHarmonyOS",value:function(){return this.find("harmonyos")}},{key:"isOpenHarmony",value:function(){return this.find("openharmony")}},{key:"isHarmonyPhone",value:function(){return this.isHarmony()&&this.huaweiBrowser()&&this.find("phone")}},{key:"isHarmonyTablet",value:function(){return this.isHarmony()&&this.huaweiBrowser()&&this.find("tablet")}},{key:"isHarmonyPC",value:function(){return console.warn("This method is experimental. Please use with caution."),this.isHarmony()&&this.huaweiBrowser()&&this.find("pc")}},{key:"bbs",value:function(){return this.find("mihoyobbs")}},{key:"game",value:function(){return this.find("mihoyo")&&!this.bbs()}},{key:"wx",value:function(){return this.find("micromessenger")}},{key:"weibo",value:function(){return this.find("weibo")}},{key:"safari",value:function(){return this.find("safari")&&!this.find("chrome")&&!this.find("browser")}},{key:"edge",value:function(){return this.find("edge")}},{key:"qqb",value:function(){return this.find("mqqbrowser")}},{key:"samsungbrowser",value:function(){return this.find("samsungbrowser")}},{key:"samsungPhone",value:function(){return this.android()&&this.find("sm-")}},{key:"samsungTablet",value:function(){return this.samsungbrowser()&&!this.samsungPhone()}},{key:"othersMobile",value:function(){return console.warn("The detection for HarmonyOS devices has been adjusted. This method now only includes HarmonyOS mobile devices. Tablets and PCs are no longer supported since v2.1.0."),!!this.userAgent.match(/mobile|iemobile|mqqbrowser|juc|fennec|wosbrowser|browserng|webos|symbian|samsungbrowser/i)}},{key:"includes",value:function(E,U){return F.includes(E,U)}},{key:"find",value:function(E){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return U?F.includes(U,E):F.find(E,this.userAgent)}},{key:"queryString",value:function(E){function U($){return E.apply(this,arguments)}return U.toString=function(){return E.toString()},U}(function(E){return F.queryString(E,this.url)})}],_&&H(w.prototype,_),Object.defineProperty(w,"prototype",{writable:!1}),M}()}},h={};function v(O){var z=h[O];if(z!==void 0)return z.exports;var C=h[O]={exports:{}};return o[O](C,C.exports,v),C.exports}v.d=function(O,z){for(var C in z)v.o(z,C)&&!v.o(O,C)&&Object.defineProperty(O,C,{enumerable:!0,get:z[C]})},v.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(O){if(typeof window=="object")return window}
29}(),v.o=function(O,z){return Object.prototype.hasOwnProperty.call(O,z)};var k={};return function(){function O(A){return O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},O(A)}function z(A,S){return z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(V,L){return V.__proto__=L,V},z(A,S)}function C(A){var S=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(V){return!1}}();return function(){var V,L=H(A);if(S){var F=H(this).constructor;V=Reflect.construct(L,arguments,F)}else V=L.apply(this,arguments);return B(this,V)}}function B(A,S){if(S&&(O(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(A)}function H(A){return H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(S){return S.__proto__||Object.getPrototypeOf(S)},H(A)}v.d(k,{default:function(){return g}});var g=function(A){(function(F,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(T&&T.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),Object.defineProperty(F,"prototype",{writable:!1}),T&&z(F,T)})(L,A);var S,V=C(L);function L(F){var T;if(function(te,se){if(!(te instanceof se))throw new TypeError("Cannot call a class as a function")}(this,L),F){var M=F.headers,w=F.url||"",_=M["user-agent"]||"",E=M["accept-language"]||"",U=/([a-z0-9_-]+)(\s|,|;|$)/i.exec(E),$=(U&&U[1]||"").toLowerCase();T=V.call(this,{url:w,userAgent:_,language:$})}else{if(typeof window>"u")throw new TypeError('The "req" parameter is required on the server side');T=V.call(this,{window,url:window.location.href,userAgent:window.navigator.userAgent,language:(navigator.browserLanguage||window.navigator.language).toLowerCase()})}return B(T)}return S=L,Object.defineProperty(S,"prototype",{writable:!1}),S}(v(673).default)}(),k=k.default}()})}(Jh)),Jh.exports}var Zh={};/*!
30 *  howler.js v2.2.4
31 *  howlerjs.com
32 *
33 *  (c) 2013-2020, James Simpson of GoldFire Studios
34 *  goldfirestudios.com
35 *
36 *  MIT License
37 */var n5;function Cb(){return n5||(n5=1,function(b){(function(){var u=function(){this.init()};u.prototype={init:function(){var g=this||o;return g._counter=1e3,g._html5AudioPool=[],g.html5PoolSize=10,g._codecs={},g._howls=[],g._muted=!1,g._volume=1,g._canPlayEvent="canplaythrough",g._navigator=typeof window<"u"&&window.navigator?window.navigator:null,g.masterGain=null,g.noAudio=!1,g.usingWebAudio=!0,g.autoSuspend=!0,g.ctx=null,g.autoUnlock=!0,g._setup(),g},volume:function(g){var A=this||o;if(g=parseFloat(g),A.ctx||H(),typeof g<"u"&&g>=0&&g<=1){if(A._volume=g,A._muted)return A;A.usingWebAudio&&A.masterGain.gain.setValueAtTime(g,o.ctx.currentTime);for(var S=0;S<A._howls.length;S++)if(!A._howls[S]._webAudio)for(var V=A._howls[S]._getSoundIds(),L=0;L<V.length;L++){var F=A._howls[S]._soundById(V[L]);F&&F._node&&(F._node.volume=F._volume*g)}return A}return A._volume},mute:function(g){var A=this||o;A.ctx||H(),A._muted=g,A.usingWebAudio&&A.masterGain.gain.setValueAtTime(g?0:A._volume,o.ctx.currentTime);for(var S=0;S<A._howls.length;S++)if(!A._howls[S]._webAudio)for(var V=A._howls[S]._getSoundIds(),L=0;L<V.length;L++){var F=A._howls[S]._soundById(V[L]);F&&F._node&&(F._node.muted=g?!0:F._muted)}return A},stop:function(){for(var g=this||o,A=0;A<g._howls.length;A++)g._howls[A].stop();return g},unload:function(){for(var g=this||o,A=g._howls.length-1;A>=0;A--)g._howls[A].unload();return g.usingWebAudio&&g.ctx&&typeof g.ctx.close<"u"&&(g.ctx.close(),g.ctx=null,H()),g},codecs:function(g){return(this||o)._codecs[g.replace(/^x-/,"")]},_setup:function(){var g=this||o;if(g.state=g.ctx&&g.ctx.state||"suspended",g._autoSuspend(),!g.usingWebAudio)if(typeof Audio<"u")try{var A=new Audio;typeof A.oncanplaythrough>"u"&&(g._canPlayEvent="canplay")}
vendor: 29,331 bytes, lines 37-47
37catch(S){g.noAudio=!0}else g.noAudio=!0;try{var A=new Audio;A.muted&&(g.noAudio=!0)}catch(S){}return g.noAudio||g._setupCodecs(),g},_setupCodecs:function(){var g=this||o,A=null;try{A=typeof Audio<"u"?new Audio:null}catch(_){return g}if(!A||typeof A.canPlayType!="function")return g;var S=A.canPlayType("audio/mpeg;").replace(/^no$/,""),V=g._navigator?g._navigator.userAgent:"",L=V.match(/OPR\/(\d+)/g),F=L&&parseInt(L[0].split("/")[1],10)<33,T=V.indexOf("Safari")!==-1&&V.indexOf("Chrome")===-1,M=V.match(/Version\/(.*?) /),w=T&&M&&parseInt(M[1],10)<15;return g._codecs={mp3:!!(!F&&(S||A.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!S,opus:!!A.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!A.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!A.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(A.canPlayType('audio/wav; codecs="1"')||A.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!A.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!A.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(A.canPlayType("audio/x-m4a;")||A.canPlayType("audio/m4a;")||A.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(A.canPlayType("audio/x-m4b;")||A.canPlayType("audio/m4b;")||A.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(A.canPlayType("audio/x-mp4;")||A.canPlayType("audio/mp4;")||A.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!w&&A.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!w&&A.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!A.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(A.canPlayType("audio/x-flac;")||A.canPlayType("audio/flac;")).replace(/^no$/,"")},g},_unlockAudio:function(){var g=this||o;if(!(g._audioUnlocked||!g.ctx)){g._audioUnlocked=!1,g.autoUnlock=!1,!g._mobileUnloaded&&g.ctx.sampleRate!==44100&&(g._mobileUnloaded=!0,g.unload()),g._scratchBuffer=g.ctx.createBuffer(1,1,22050);var A=function(S){for(;g._html5AudioPool.length<g.html5PoolSize;)try{var V=new Audio;V._unlocked=!0,g._releaseHtml5Audio(V)}catch(_){g.noAudio=!0;break}for(var L=0;L<g._howls.length;L++)if(!g._howls[L]._webAudio)for(var F=g._howls[L]._getSoundIds(),T=0;T<F.length;T++){var M=g._howls[L]._soundById(F[T]);M&&M._node&&!M._node._unlocked&&(M._node._unlocked=!0,M._node.load())}g._autoResume();var w=g.ctx.createBufferSource();w.buffer=g._scratchBuffer,w.connect(g.ctx.destination),typeof w.start>"u"?w.noteOn(0):w.start(0),typeof g.ctx.resume=="function"&&g.ctx.resume(),w.onended=function(){w.disconnect(0),g._audioUnlocked=!0,document.removeEventListener("touchstart",A,!0),document.removeEventListener("touchend",A,!0),document.removeEventListener("click",A,!0),document.removeEventListener("keydown",A,!0);for(var _=0;_<g._howls.length;_++)g._howls[_]._emit("unlock")}};return document.addEventListener("touchstart",A,!0),document.addEventListener("touchend",A,!0),document.addEventListener("click",A,!0),document.addEventListener("keydown",A,!0),g}},_obtainHtml5Audio:function(){var g=this||o;if(g._html5AudioPool.length)return g._html5AudioPool.pop();var A=new Audio().play();return A&&typeof Promise<"u"&&(A instanceof Promise||typeof A.then=="function")&&A.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio},_releaseHtml5Audio:function(g){var A=this||o;return g._unlocked&&A._html5AudioPool.push(g),A},_autoSuspend:function(){var g=this;if(!(!g.autoSuspend||!g.ctx||typeof g.ctx.suspend>"u"||!o.usingWebAudio)){for(var A=0;A<g._howls.length;A++)if(g._howls[A]._webAudio){for(var S=0;S<g._howls[A]._sounds.length;S++)if(!g._howls[A]._sounds[S]._paused)return g}return g._suspendTimer&&clearTimeout(g._suspendTimer),g._suspendTimer=setTimeout(function(){if(g.autoSuspend){g._suspendTimer=null,g.state="suspending";var V=function(){g.state="suspended",g._resumeAfterSuspend&&(delete g._resumeAfterSuspend,g._autoResume())};g.ctx.suspend().then(V,V)}},3e4),g}},_autoResume:function(){var g=this;if(!(!g.ctx||typeof g.ctx.resume>"u"||!o.usingWebAudio))return g.state==="running"&&g.ctx.state!=="interrupted"&&g._suspendTimer?(clearTimeout(g._suspendTimer),g._suspendTimer=null):g.state==="suspended"||g.state==="running"&&g.ctx.state==="interrupted"?(g.ctx.resume().then(function(){g.state="running";for(var A=0;A<g._howls.length;A++)g._howls[A]._emit("resume")}),g._suspendTimer&&(clearTimeout(g._suspendTimer),g._suspendTimer=null)):g.state==="suspending"&&(g._resumeAfterSuspend=!0),g}};var o=new u,h=function(g){var A=this;if(!g.src||g.src.length===0){console.error("An array of source files must be passed with any new Howl.");return}A.init(g)};h.prototype={init:function(g){var A=this;return o.ctx||H(),A._autoplay=g.autoplay||!1,A._format=typeof g.format!="string"?g.format:[g.format],A._html5=g.html5||!1,A._muted=g.mute||!1,A._loop=g.loop||!1,A._pool=g.pool||5,A._preload=typeof g.preload=="boolean"||g.preload==="metadata"?g.preload:!0,A._rate=g.rate||1,A._sprite=g.sprite||{},A._src=typeof g.src!="string"?g.src:[g.src],A._volume=g.volume!==void 0?g.volume:1,A._xhr={method:g.xhr&&g.xhr.method?g.xhr.method:"GET",headers:g.xhr&&g.xhr.headers?g.xhr.headers:null,withCredentials:g.xhr&&g.xhr.withCredentials?g.xhr.withCredentials:!1},A._duration=0,A._state="unloaded",A._sounds=[],A._endTimers={},A._queue=[],A._playLock=!1,A._onend=g.onend?[{fn:g.onend}]:[],A._onfade=g.onfade?[{fn:g.onfade}]:[],A._onload=g.onload?[{fn:g.onload}]:[],A._onloaderror=g.onloaderror?[{fn:g.onloaderror}]:[],A._onplayerror=g.onplayerror?[{fn:g.onplayerror}]:[],A._onpause=g.onpause?[{fn:g.onpause}]:[],A._onplay=g.onplay?[{fn:g.onplay}]:[],A._onstop=g.onstop?[{fn:g.onstop}]:[],A._onmute=g.onmute?[{fn:g.onmute}]:[],A._onvolume=g.onvolume?[{fn:g.onvolume}]:[],A._onrate=g.onrate?[{fn:g.onrate}]:[],A._onseek=g.onseek?[{fn:g.onseek}]:[],A._onunlock=g.onunlock?[{fn:g.onunlock}]:[],A._onresume=[],A._webAudio=o.usingWebAudio&&!A._html5,typeof o.ctx<"u"&&o.ctx&&o.autoUnlock&&o._unlockAudio(),o._howls.push(A),A._autoplay&&A._queue.push({event:"play",action:function(){A.play()}}),A._preload&&A._preload!=="none"&&A.load(),A},load:function(){var g=this,A=null;if(o.noAudio){g._emit("loaderror",null,"No audio support.");return}typeof g._src=="string"&&(g._src=[g._src]);for(var S=0;S<g._src.length;S++){var V,L;if(g._format&&g._format[S])V=g._format[S];else{if(L=g._src[S],typeof L!="string"){g._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}V=/^data:audio\/([^;,]+);/i.exec(L),V||(V=/\.([^.]+)$/.exec(L.split("?",1)[0])),V&&(V=V[1].toLowerCase())}if(V||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),V&&o.codecs(V)){A=g._src[S];break}}if(!A){g._emit("loaderror",null,"No codec support for selected audio sources.");return}return g._src=A,g._state="loading",window.location.protocol==="https:"&&A.slice(0,5)==="http:"&&(g._html5=!0,g._webAudio=!1),new v(g),g._webAudio&&O(g),g},play:function(g,A){var S=this,V=null;if(typeof g=="number")V=g,g=null;else{if(typeof g=="string"&&S._state==="loaded"&&!S._sprite[g])return null;if(typeof g>"u"&&(g="__default",!S._playLock)){for(var L=0,F=0;F<S._sounds.length;F++)S._sounds[F]._paused&&!S._sounds[F]._ended&&(L++,V=S._sounds[F]._id);L===1?g=null:V=null}}var T=V?S._soundById(V):S._inactiveSound();if(!T)return null;if(V&&!g&&(g=T._sprite||"__default"),S._state!=="loaded"){T._sprite=g,T._ended=!1;var M=T._id;return S._queue.push({event:"play",action:function(){S.play(M)}}),M}if(V&&!T._paused)return A||S._loadQueue("play"),T._id;S._webAudio&&o._autoResume();var w=Math.max(0,T._seek>0?T._seek:S._sprite[g][0]/1e3),_=Math.max(0,(S._sprite[g][0]+S._sprite[g][1])/1e3-w),E=_*1e3/Math.abs(T._rate),U=S._sprite[g][0]/1e3,$=(S._sprite[g][0]+S._sprite[g][1])/1e3;T._sprite=g,T._ended=!1;var te=function(){T._paused=!1,T._seek=w,T._start=U,T._stop=$,T._loop=!!(T._loop||S._sprite[g][2])};if(w>=$){S._ended(T);return}var se=T._node;if(S._webAudio){var Se=function(){S._playLock=!1,te(),S._refreshBuffer(T);var he=T._muted||S._muted?0:T._volume;se.gain.setValueAtTime(he,o.ctx.currentTime),T._playStart=o.ctx.currentTime,typeof se.bufferSource.start>"u"?T._loop?se.bufferSource.noteGrainOn(0,w,86400):se.bufferSource.noteGrainOn(0,w,_):T._loop?se.bufferSource.start(0,w,86400):se.bufferSource.start(0,w,_),E!==1/0&&(S._endTimers[T._id]=setTimeout(S._ended.bind(S,T),E)),A||setTimeout(function(){S._emit("play",T._id),S._loadQueue()},0)};o.state==="running"&&o.ctx.state!=="interrupted"?Se():(S._playLock=!0,S.once("resume",Se),S._clearTimer(T._id))}else{var be=function(){se.currentTime=w,se.muted=T._muted||S._muted||o._muted||se.muted,se.volume=T._volume*o.volume(),se.playbackRate=T._rate;try{var he=se.play();if(he&&typeof Promise<"u"&&(he instanceof Promise||typeof he.then=="function")?(S._playLock=!0,te(),he.then(function(){S._playLock=!1,se._unlocked=!0,A?S._loadQueue():S._emit("play",T._id)}).catch(function(){S._playLock=!1,S._emit("playerror",T._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),T._ended=!0,T._paused=!0})):A||(S._playLock=!1,te(),S._emit("play",T._id)),se.playbackRate=T._rate,se.paused){S._emit("playerror",T._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");return}g!=="__default"||T._loop?S._endTimers[T._id]=setTimeout(S._ended.bind(S,T),E):(S._endTimers[T._id]=function(){S._ended(T),se.removeEventListener("ended",S._endTimers[T._id],!1)},se.addEventListener("ended",S._endTimers[T._id],!1))}catch(X){S._emit("playerror",T._id,X)}};se.src==="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"&&(se.src=S._src,se.load());var me=window&&window.ejecta||!se.readyState&&o._navigator.isCocoonJS;if(se.readyState>=3||me)be();else{S._playLock=!0,S._state="loading";var ke=function(){S._state="loaded",be(),se.removeEventListener(o._canPlayEvent,ke,!1)};se.addEventListener(o._canPlayEvent,ke,!1),S._clearTimer(T._id)}}return T._id},pause:function(g){var A=this;if(A._state!=="loaded"||A._playLock)return A._queue.push({event:"pause",action:function(){A.pause(g)}}),A;for(var S=A._getSoundIds(g),V=0;V<S.length;V++){A._clearTimer(S[V]);var L=A._soundById(S[V]);if(L&&!L._paused&&(L._seek=A.seek(S[V]),L._rateSeek=0,L._paused=!0,A._stopFade(S[V]),L._node))if(A._webAudio){if(!L._node.bufferSource)continue;typeof L._node.bufferSource.stop>"u"?L._node.bufferSource.noteOff(0):L._node.bufferSource.stop(0),A._cleanBuffer(L._node)}else(!isNaN(L._node.duration)||L._node.duration===1/0)&&L._node.pause();arguments[1]||A._emit("pause",L?L._id:null)}return A},stop:function(g,A){var S=this;if(S._state!=="loaded"||S._playLock)return S._queue.push({event:"stop",action:function(){S.stop(g)}}),S;for(var V=S._getSoundIds(g),L=0;L<V.length;L++){S._clearTimer(V[L]);var F=S._soundById(V[L]);F&&(F._seek=F._start||0,F._rateSeek=0,F._paused=!0,F._ended=!0,S._stopFade(V[L]),F._node&&(S._webAudio?F._node.bufferSource&&(typeof F._node.bufferSource.stop>"u"?F._node.bufferSource.noteOff(0):F._node.bufferSource.stop(0),S._cleanBuffer(F._node)):(!isNaN(F._node.duration)||F._node.duration===1/0)&&(F._node.currentTime=F._start||0,F._node.pause(),F._node.duration===1/0&&S._clearSound(F._node))),A||S._emit("stop",F._id))}return S},mute:function(g,A){var S=this;if(S._state!=="loaded"||S._playLock)return S._queue.push({event:"mute",action:function(){S.mute(g,A)}}),S;if(typeof A>"u")if(typeof g=="boolean")S._muted=g;else return S._muted;for(var V=S._getSoundIds(A),L=0;L<V.length;L++){var F=S._soundById(V[L]);F&&(F._muted=g,F._interval&&S._stopFade(F._id),S._webAudio&&F._node?F._node.gain.setValueAtTime(g?0:F._volume,o.ctx.currentTime):F._node&&(F._node.muted=o._muted?!0:g),S._emit("mute",F._id))}return S},volume:function(){var g=this,A=arguments,S,V;if(A.length===0)return g._volume;if(A.length===1||A.length===2&&typeof A[1]>"u"){var L=g._getSoundIds(),F=L.indexOf(A[0]);F>=0?V=parseInt(A[0],10):S=parseFloat(A[0])}else A.length>=2&&(S=parseFloat(A[0]),V=parseInt(A[1],10));var T;if(typeof S<"u"&&S>=0&&S<=1){if(g._state!=="loaded"||g._playLock)return g._queue.push({event:"volume",action:function(){g.volume.apply(g,A)}}),g;typeof V>"u"&&(g._volume=S),V=g._getSoundIds(V);for(var M=0;M<V.length;M++)T=g._soundById(V[M]),T&&(T._volume=S,A[2]||g._stopFade(V[M]),g._webAudio&&T._node&&!T._muted?T._node.gain.setValueAtTime(S,o.ctx.currentTime):T._node&&!T._muted&&(T._node.volume=S*o.volume()),g._emit("volume",T._id))}else return T=V?g._soundById(V):g._sounds[0],T?T._volume:0;return g},fade:function(g,A,S,V){var L=this;if(L._state!=="loaded"||L._playLock)return L._queue.push({event:"fade",action:function(){L.fade(g,A,S,V)}}),L;g=Math.min(Math.max(0,parseFloat(g)),1),A=Math.min(Math.max(0,parseFloat(A)),1),S=parseFloat(S),L.volume(g,V);for(var F=L._getSoundIds(V),T=0;T<F.length;T++){var M=L._soundById(F[T]);if(M){if(V||L._stopFade(F[T]),L._webAudio&&!M._muted){var w=o.ctx.currentTime,_=w+S/1e3;M._volume=g,M._node.gain.setValueAtTime(g,w),M._node.gain.linearRampToValueAtTime(A,_)}L._startFadeInterval(M,g,A,S,F[T],typeof V>"u")}}return L},_startFadeInterval:function(g,A,S,V,L,F){var T=this,M=A,w=S-A,_=Math.abs(w/.01),E=Math.max(4,_>0?V/_:V),U=Date.now();g._fadeTo=S,g._interval=setInterval(function(){var $=(Date.now()-U)/V;U=Date.now(),M+=w*$,M=Math.round(M*100)/100,w<0?M=Math.max(S,M):M=Math.min(S,M),T._webAudio?g._volume=M:T.volume(M,g._id,!0),F&&(T._volume=M),(S<A&&M<=S||S>A&&M>=S)&&(clearInterval(g._interval),g._interval=null,g._fadeTo=null,T.volume(S,g._id),T._emit("fade",g._id))},E)},_stopFade:function(g){var A=this,S=A._soundById(g);return S&&S._interval&&(A._webAudio&&S._node.gain.cancelScheduledValues(o.ctx.currentTime),clearInterval(S._interval),S._interval=null,A.volume(S._fadeTo,g),S._fadeTo=null,A._emit("fade",g)),A},loop:function(){var g=this,A=arguments,S,V,L;if(A.length===0)return g._loop;if(A.length===1)if(typeof A[0]=="boolean")S=A[0],g._loop=S;else return L=g._soundById(parseInt(A[0],10)),L?L._loop:!1;else A.length===2&&(S=A[0],V=parseInt(A[1],10));for(var F=g._getSoundIds(V),T=0;T<F.length;T++)L=g._soundById(F[T]),L&&(L._loop=S,g._webAudio&&L._node&&L._node.bufferSource&&(L._node.bufferSource.loop=S,S&&(L._node.bufferSource.loopStart=L._start||0,L._node.bufferSource.loopEnd=L._stop,g.playing(F[T])&&(g.pause(F[T],!0),g.play(F[T],!0)))));return g},rate:function(){var g=this,A=arguments,S,V;if(A.length===0)V=g._sounds[0]._id;else if(A.length===1){var L=g._getSoundIds(),F=L.indexOf(A[0]);F>=0?V=parseInt(A[0],10):S=parseFloat(A[0])}else A.length===2&&(S=parseFloat(A[0]),V=parseInt(A[1],10));var T;if(typeof S=="number"){if(g._state!=="loaded"||g._playLock)return g._queue.push({event:"rate",action:function(){g.rate.apply(g,A)}}),g;typeof V>"u"&&(g._rate=S),V=g._getSoundIds(V);for(var M=0;M<V.length;M++)if(T=g._soundById(V[M]),T){g.playing(V[M])&&(T._rateSeek=g.seek(V[M]),T._playStart=g._webAudio?o.ctx.currentTime:T._playStart),T._rate=S,g._webAudio&&T._node&&T._node.bufferSource?T._node.bufferSource.playbackRate.setValueAtTime(S,o.ctx.currentTime):T._node&&(T._node.playbackRate=S);var w=g.seek(V[M]),_=(g._sprite[T._sprite][0]+g._sprite[T._sprite][1])/1e3-w,E=_*1e3/Math.abs(T._rate);(g._endTimers[V[M]]||!T._paused)&&(g._clearTimer(V[M]),g._endTimers[V[M]]=setTimeout(g._ended.bind(g,T),E)),g._emit("rate",T._id)}}else return T=g._soundById(V),T?T._rate:g._rate;return g},seek:function(){var g=this,A=arguments,S,V;if(A.length===0)g._sounds.length&&(V=g._sounds[0]._id);else if(A.length===1){var L=g._getSoundIds(),F=L.indexOf(A[0]);F>=0?V=parseInt(A[0],10):g._sounds.length&&(V=g._sounds[0]._id,S=parseFloat(A[0]))}else A.length===2&&(S=parseFloat(A[0]),V=parseInt(A[1],10));if(typeof V>"u")return 0;if(typeof S=="number"&&(g._state!=="loaded"||g._playLock))return g._queue.push({event:"seek",action:function(){g.seek.apply(g,A)}}),g;var T=g._soundById(V);if(T)if(typeof S=="number"&&S>=0){var M=g.playing(V);M&&g.pause(V,!0),T._seek=S,T._ended=!1,g._clearTimer(V),!g._webAudio&&T._node&&!isNaN(T._node.duration)&&(T._node.currentTime=S);var w=function(){M&&g.play(V,!0),g._emit("seek",V)};if(M&&!g._webAudio){var _=function(){g._playLock?setTimeout(_,0):w()};setTimeout(_,0)}else w()}else if(g._webAudio){var E=g.playing(V)?o.ctx.currentTime-T._playStart:0,U=T._rateSeek?T._rateSeek-T._seek:0;return T._seek+(U+E*Math.abs(T._rate))}else return T._node.currentTime;return g},playing:function(g){var A=this;if(typeof g=="number"){var S=A._soundById(g);return S?!S._paused:!1}for(var V=0;V<A._sounds.length;V++)if(!A._sounds[V]._paused)return!0;return!1},duration:function(g){var A=this,S=A._duration,V=A._soundById(g);return V&&(S=A._sprite[V._sprite][1]/1e3),S},state:function(){return this._state},unload:function(){for(var g=this,A=g._sounds,S=0;S<A.length;S++)A[S]._paused||g.stop(A[S]._id),g._webAudio||(g._clearSound(A[S]._node),A[S]._node.removeEventListener("error",A[S]._errorFn,!1),A[S]._node.removeEventListener(o._canPlayEvent,A[S]._loadFn,!1),A[S]._node.removeEventListener("ended",A[S]._endFn,!1),o._releaseHtml5Audio(A[S]._node)),delete A[S]._node,g._clearTimer(A[S]._id);var V=o._howls.indexOf(g);V>=0&&o._howls.splice(V,1);var L=!0;for(S=0;S<o._howls.length;S++)if(o._howls[S]._src===g._src||g._src.indexOf(o._howls[S]._src)>=0){L=!1;break}return k&&L&&delete k[g._src],o.noAudio=!1,g._state="unloaded",g._sounds=[],g=null,null},on:function(g,A,S,V){var L=this,F=L["_on"+g];return typeof A=="function"&&F.push(V?{id:S,fn:A,once:V}:{id:S,fn:A}),L},off:function(g,A,S){var V=this,L=V["_on"+g],F=0;if(typeof A=="number"&&(S=A,A=null),A||S)for(F=0;F<L.length;F++){var T=S===L[F].id;if(A===L[F].fn&&T||!A&&T){L.splice(F,1);break}}else if(g)V["_on"+g]=[];else{var M=Object.keys(V);for(F=0;F<M.length;F++)M[F].indexOf("_on")===0&&Array.isArray(V[M[F]])&&(V[M[F]]=[])}return V},once:function(g,A,S){var V=this;return V.on(g,A,S,1),V},_emit:function(g,A,S){for(var V=this,L=V["_on"+g],F=L.length-1;F>=0;F--)(!L[F].id||L[F].id===A||g==="load")&&(setTimeout((function(T){T.call(this,A,S)}).bind(V,L[F].fn),0),L[F].once&&V.off(g,L[F].fn,L[F].id));return V._loadQueue(g),V},_loadQueue:function(g){var A=this;if(A._queue.length>0){var S=A._queue[0];S.event===g&&(A._queue.shift(),A._loadQueue()),g||S.action()}return A},_ended:function(g){var A=this,S=g._sprite;if(!A._webAudio&&g._node&&!g._node.paused&&!g._node.ended&&g._node.currentTime<g._stop)return setTimeout(A._ended.bind(A,g),100),A;var V=!!(g._loop||A._sprite[S][2]);if(A._emit("end",g._id),!A._webAudio&&V&&A.stop(g._id,!0).play(g._id),A._webAudio&&V){A._emit("play",g._id),g._seek=g._start||0,g._rateSeek=0,g._playStart=o.ctx.currentTime;var L=(g._stop-g._start)*1e3/Math.abs(g._rate);A._endTimers[g._id]=setTimeout(A._ended.bind(A,g),L)}return A._webAudio&&!V&&(g._paused=!0,g._ended=!0,g._seek=g._start||0,g._rateSeek=0,A._clearTimer(g._id),A._cleanBuffer(g._node),o._autoSuspend()),!A._webAudio&&!V&&A.stop(g._id,!0),A},_clearTimer:function(g){var A=this;if(A._endTimers[g]){if(typeof A._endTimers[g]!="function")clearTimeout(A._endTimers[g]);else{var S=A._soundById(g);S&&S._node&&S._node.removeEventListener("ended",A._endTimers[g],!1)}delete A._endTimers[g]}return A},_soundById:function(g){for(var A=this,S=0;S<A._sounds.length;S++)if(g===A._sounds[S]._id)return A._sounds[S];return null},_inactiveSound:function(){var g=this;g._drain();for(var A=0;A<g._sounds.length;A++)if(g._sounds[A]._ended)return g._sounds[A].reset();return new v(g)},_drain:function(){var g=this,A=g._pool,S=0,V=0;if(!(g._sounds.length<A)){for(V=0;V<g._sounds.length;V++)g._sounds[V]._ended&&S++;for(V=g._sounds.length-1;V>=0;V--){if(S<=A)return;g._sounds[V]._ended&&(g._webAudio&&g._sounds[V]._node&&g._sounds[V]._node.disconnect(0),g._sounds.splice(V,1),S--)}}},_getSoundIds:function(g){var A=this;if(typeof g>"u"){for(var S=[],V=0;V<A._sounds.length;V++)S.push(A._sounds[V]._id);return S}else return[g]},_refreshBuffer:function(g){var A=this;return g._node.bufferSource=o.ctx.createBufferSource(),g._node.bufferSource.buffer=k[A._src],g._panner?g._node.bufferSource.connect(g._panner):g._node.bufferSource.connect(g._node),g._node.bufferSource.loop=g._loop,g._loop&&(g._node.bufferSource.loopStart=g._start||0,g._node.bufferSource.loopEnd=g._stop||0),g._node.bufferSource.playbackRate.setValueAtTime(g._rate,o.ctx.currentTime),A},_cleanBuffer:function(g){var A=this,S=o._navigator&&o._navigator.vendor.indexOf("Apple")>=0;if(!g.bufferSource)return A;if(o._scratchBuffer&&g.bufferSource&&(g.bufferSource.onended=null,g.bufferSource.disconnect(0),S))try{g.bufferSource.buffer=o._scratchBuffer}catch(V){}return g.bufferSource=null,A},_clearSound:function(g){var A=/MSIE |Trident\//.test(o._navigator&&o._navigator.userAgent);A||(g.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var v=function(g){this._parent=g,this.init()};v.prototype={init:function(){var g=this,A=g._parent;return g._muted=A._muted,g._loop=A._loop,g._volume=A._volume,g._rate=A._rate,g._seek=0,g._paused=!0,g._ended=!0,g._sprite="__default",g._id=++o._counter,A._sounds.push(g),g.create(),g},create:function(){var g=this,A=g._parent,S=o._muted||g._muted||g._parent._muted?0:g._volume;return A._webAudio?(g._node=typeof o.ctx.createGain>"u"?o.ctx.createGainNode():o.ctx.createGain(),g._node.gain.setValueAtTime(S,o.ctx.currentTime),g._node.paused=!0,g._node.connect(o.masterGain)):o.noAudio||(g._node=o._obtainHtml5Audio(),g._errorFn=g._errorListener.bind(g),g._node.addEventListener("error",g._errorFn,!1),g._loadFn=g._loadListener.bind(g),g._node.addEventListener(o._canPlayEvent,g._loadFn,!1),g._endFn=g._endListener.bind(g),g._node.addEventListener("ended",g._endFn,!1),g._node.src=A._src,g._node.preload=A._preload===!0?"auto":A._preload,g._node.volume=S*o.volume(),g._node.load()),g},reset:function(){var g=this,A=g._parent;return g._muted=A._muted,g._loop=A._loop,g._volume=A._volume,g._rate=A._rate,g._seek=0,g._rateSeek=0,g._paused=!0,g._ended=!0,g._sprite="__default",g._id=++o._counter,g},_errorListener:function(){var g=this;g._parent._emit("loaderror",g._id,g._node.error?g._node.error.code:0),g._node.removeEventListener("error",g._errorFn,!1)},_loadListener:function(){var g=this,A=g._parent;A._duration=Math.ceil(g._node.duration*10)/10,Object.keys(A._sprite).length===0&&(A._sprite={__default:[0,A._duration*1e3]}),A._state!=="loaded"&&(A._state="loaded",A._emit("load"),A._loadQueue()),g._node.removeEventListener(o._canPlayEvent,g._loadFn,!1)},_endListener:function(){var g=this,A=g._parent;A._duration===1/0&&(A._duration=Math.ceil(g._node.duration*10)/10,A._sprite.__default[1]===1/0&&(A._sprite.__default[1]=A._duration*1e3),A._ended(g)),g._node.removeEventListener("ended",g._endFn,!1)}};var k={},O=function(g){var A=g._src;if(k[A]){g._duration=k[A].duration,B(g);return}if(/^data:[^;]+;base64,/.test(A)){for(var S=atob(A.split(",")[1]),V=new Uint8Array(S.length),L=0;L<S.length;++L)V[L]=S.charCodeAt(L);C(V.buffer,g)}else{var F=new XMLHttpRequest;F.open(g._xhr.method,A,!0),F.withCredentials=g._xhr.withCredentials,F.responseType="arraybuffer",g._xhr.headers&&Object.keys(g._xhr.headers).forEach(function(T){F.setRequestHeader(T,g._xhr.headers[T])}),F.onload=function(){var T=(F.status+"")[0];if(T!=="0"&&T!=="2"&&T!=="3"){g._emit("loaderror",null,"Failed loading audio file with status: "+F.status+".");return}C(F.response,g)},F.onerror=function(){g._webAudio&&(g._html5=!0,g._webAudio=!1,g._sounds=[],delete k[A],g.load())},z(F)}},z=function(g){try{g.send()}catch(A){g.onerror()}},C=function(g,A){var S=function(){A._emit("loaderror",null,"Decoding audio data failed.")},V=function(L){L&&A._sounds.length>0?(k[A._src]=L,B(A,L)):S()};typeof Promise<"u"&&o.ctx.decodeAudioData.length===1?o.ctx.decodeAudioData(g).then(V).catch(S):o.ctx.decodeAudioData(g,V,S)},B=function(g,A){A&&!g._duration&&(g._duration=A.duration),Object.keys(g._sprite).length===0&&(g._sprite={__default:[0,g._duration*1e3]}),g._state!=="loaded"&&(g._state="loaded",g._emit("load"),g._loadQueue())},H=function(){if(o.usingWebAudio){try{typeof AudioContext<"u"?o.ctx=new AudioContext:typeof webkitAudioContext<"u"?o.ctx=new webkitAudioContext:o.usingWebAudio=!1}catch(L){o.usingWebAudio=!1}o.ctx||(o.usingWebAudio=!1);var g=/iP(hone|od|ad)/.test(o._navigator&&o._navigator.platform),A=o._navigator&&o._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),S=A?parseInt(A[1],10):null;if(g&&S&&S<9){var V=/safari/.test(o._navigator&&o._navigator.userAgent.toLowerCase());o._navigator&&!V&&(o.usingWebAudio=!1)}o.usingWebAudio&&(o.masterGain=typeof o.ctx.createGain>"u"?o.ctx.createGainNode():o.ctx.createGain(),o.masterGain.gain.setValueAtTime(o._muted?0:o._volume,o.ctx.currentTime),o.masterGain.connect(o.ctx.destination)),o._setup()}};b.Howler=o,b.Howl=h,typeof Vs<"u"?(Vs.HowlerGlobal=u,Vs.Howler=o,Vs.Howl=h,Vs.Sound=v):typeof window<"u"&&(window.HowlerGlobal=u,window.Howler=o,window.Howl=h,window.Sound=v)})();/*!
38 *  Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
39 *  
40 *  howler.js v2.2.4
41 *  howlerjs.com
42 *
43 *  (c) 2013-2020, James Simpson of GoldFire Studios
44 *  goldfirestudios.com
45 *
46 *  MIT License
47 */(function(){HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(o){var h=this;if(!h.ctx||!h.ctx.listener)return h;for(var v=h._howls.length-1;v>=0;v--)h._howls[v].stereo(o);return h},HowlerGlobal.prototype.pos=function(o,h,v){var k=this;if(!k.ctx||!k.ctx.listener)return k;if(h=typeof h!="number"?k._pos[1]:h,v=typeof v!="number"?k._pos[2]:v,typeof o=="number")k._pos=[o,h,v],typeof k.ctx.listener.positionX<"u"?(k.ctx.listener.positionX.setTargetAtTime(k._pos[0],Howler.ctx.currentTime,.1),k.ctx.listener.positionY.setTargetAtTime(k._pos[1],Howler.ctx.currentTime,.1),k.ctx.listener.positionZ.setTargetAtTime(k._pos[2],Howler.ctx.currentTime,.1)):k.ctx.listener.setPosition(k._pos[0],k._pos[1],k._pos[2]);else return k._pos;return k},HowlerGlobal.prototype.orientation=function(o,h,v,k,O,z){var C=this;if(!C.ctx||!C.ctx.listener)return C;var B=C._orientation;if(h=typeof h!="number"?B[1]:h,v=typeof v!="number"?B[2]:v,k=typeof k!="number"?B[3]:k,O=typeof O!="number"?B[4]:O,z=typeof z!="number"?B[5]:z,typeof o=="number")C._orientation=[o,h,v,k,O,z],typeof C.ctx.listener.forwardX<"u"?(C.ctx.listener.forwardX.setTargetAtTime(o,Howler.ctx.currentTime,.1),C.ctx.listener.forwardY.setTargetAtTime(h,Howler.ctx.currentTime,.1),C.ctx.listener.forwardZ.setTargetAtTime(v,Howler.ctx.currentTime,.1),C.ctx.listener.upX.setTargetAtTime(k,Howler.ctx.currentTime,.1),C.ctx.listener.upY.setTargetAtTime(O,Howler.ctx.currentTime,.1),C.ctx.listener.upZ.setTargetAtTime(z,Howler.ctx.currentTime,.1)):C.ctx.listener.setOrientation(o,h,v,k,O,z);else return B;return C},Howl.prototype.init=function(o){return function(h){var v=this;return v._orientation=h.orientation||[1,0,0],v._stereo=h.stereo||null,v._pos=h.pos||null,v._pannerAttr={coneInnerAngle:typeof h.coneInnerAngle<"u"?h.coneInnerAngle:360,coneOuterAngle:typeof h.coneOuterAngle<"u"?h.coneOuterAngle:360,coneOuterGain:typeof h.coneOuterGain<"u"?h.coneOuterGain:0,distanceModel:typeof h.distanceModel<"u"?h.distanceModel:"inverse",maxDistance:typeof h.maxDistance<"u"?h.maxDistance:1e4,panningModel:typeof h.panningModel<"u"?h.panningModel:"HRTF",refDistance:typeof h.refDistance<"u"?h.refDistance:1,rolloffFactor:typeof h.rolloffFactor<"u"?h.rolloffFactor:1},v._onstereo=h.onstereo?[{fn:h.onstereo}]:[],v._onpos=h.onpos?[{fn:h.onpos}]:[],v._onorientation=h.onorientation?[{fn:h.onorientation}]:[],o.call(this,h)}}(Howl.prototype.init),Howl.prototype.stereo=function(o,h){var v=this;if(!v._webAudio)return v;if(v._state!=="loaded")return v._queue.push({event:"stereo",action:function(){v.stereo(o,h)}}),v;var k=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof h>"u")if(typeof o=="number")v._stereo=o,v._pos=[o,0,0];else return v._stereo;for(var O=v._getSoundIds(h),z=0;z<O.length;z++){var C=v._soundById(O[z]);if(C)if(typeof o=="number")C._stereo=o,C._pos=[o,0,0],C._node&&(C._pannerAttr.panningModel="equalpower",(!C._panner||!C._panner.pan)&&u(C,k),k==="spatial"?typeof C._panner.positionX<"u"?(C._panner.positionX.setValueAtTime(o,Howler.ctx.currentTime),C._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),C._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):C._panner.setPosition(o,0,0):C._panner.pan.setValueAtTime(o,Howler.ctx.currentTime)),v._emit("stereo",C._id);else return C._stereo}return v},Howl.prototype.pos=function(o,h,v,k){var O=this;if(!O._webAudio)return O;if(O._state!=="loaded")return O._queue.push({event:"pos",action:function(){O.pos(o,h,v,k)}}),O;if(h=typeof h!="number"?0:h,v=typeof v!="number"?-.5:v,typeof k>"u")if(typeof o=="number")O._pos=[o,h,v];else return O._pos;for(var z=O._getSoundIds(k),C=0;C<z.length;C++){var B=O._soundById(z[C]);if(B)if(typeof o=="number")B._pos=[o,h,v],B._node&&((!B._panner||B._panner.pan)&&u(B,"spatial"),typeof B._panner.positionX<"u"?(B._panner.positionX.setValueAtTime(o,Howler.ctx.currentTime),B._panner.positionY.setValueAtTime(h,Howler.ctx.currentTime),B._panner.positionZ.setValueAtTime(v,Howler.ctx.currentTime)):B._panner.setPosition(o,h,v)),O._emit
47("pos",B._id);else return B._pos}return O},Howl.prototype.orientation=function(o,h,v,k){var O=this;if(!O._webAudio)return O;if(O._state!=="loaded")return O._queue.push({event:"orientation",action:function(){O.orientation(o,h,v,k)}}),O;if(h=typeof h!="number"?O._orientation[1]:h,v=typeof v!="number"?O._orientation[2]:v,typeof k>"u")if(typeof o=="number")O._orientation=[o,h,v];else return O._orientation;for(var z=O._getSoundIds(k),C=0;C<z.length;C++){var B=O._soundById(z[C]);if(B)if(typeof o=="number")B._orientation=[o,h,v],B._node&&(B._panner||(B._pos||(B._pos=O._pos||[0,0,-.5]),u(B,"spatial")),typeof B._panner.orientationX<"u"?(B._panner.orientationX.setValueAtTime(o,Howler.ctx.currentTime),B._panner.orientationY.setValueAtTime(h,Howler.ctx.currentTime),B._panner.orientationZ.setValueAtTime(v,Howler.ctx.currentTime)):B._panner.setOrientation(o,h,v)),O._emit("orientation",B._id);else return B._orientation}return O},Howl.prototype.pannerAttr=function(){var o=this,h=arguments,v,k,O;if(!o._webAudio)return o;if(h.length===0)return o._pannerAttr;if(h.length===1)if(typeof h[0]=="object")v=h[0],typeof k>"u"&&(v.pannerAttr||(v.pannerAttr={coneInnerAngle:v.coneInnerAngle,coneOuterAngle:v.coneOuterAngle,coneOuterGain:v.coneOuterGain,distanceModel:v.distanceModel,maxDistance:v.maxDistance,refDistance:v.refDistance,rolloffFactor:v.rolloffFactor,panningModel:v.panningModel}),o._pannerAttr={coneInnerAngle:typeof v.pannerAttr.coneInnerAngle<"u"?v.pannerAttr.coneInnerAngle:o._coneInnerAngle,coneOuterAngle:typeof v.pannerAttr.coneOuterAngle<"u"?v.pannerAttr.coneOuterAngle:o._coneOuterAngle,coneOuterGain:typeof v.pannerAttr.coneOuterGain<"u"?v.pannerAttr.coneOuterGain:o._coneOuterGain,distanceModel:typeof v.pannerAttr.distanceModel<"u"?v.pannerAttr.distanceModel:o._distanceModel,maxDistance:typeof v.pannerAttr.maxDistance<"u"?v.pannerAttr.maxDistance:o._maxDistance,refDistance:typeof v.pannerAttr.refDistance<"u"?v.pannerAttr.refDistance:o._refDistance,rolloffFactor:typeof v.pannerAttr.rolloffFactor<"u"?v.pannerAttr.rolloffFactor:o._rolloffFactor,panningModel:typeof v.pannerAttr.panningModel<"u"?v.pannerAttr.panningModel:o._panningModel});else return O=o._soundById(parseInt(h[0],10)),O?O._pannerAttr:o._pannerAttr;else h.length===2&&(v=h[0],k=parseInt(h[1],10));for(var z=o._getSoundIds(k),C=0;C<z.length;C++)if(O=o._soundById(z[C]),O){var B=O._pannerAttr;B={coneInnerAngle:typeof v.coneInnerAngle<"u"?v.coneInnerAngle:B.coneInnerAngle,coneOuterAngle:typeof v.coneOuterAngle<"u"?v.coneOuterAngle:B.coneOuterAngle,coneOuterGain:typeof v.coneOuterGain<"u"?v.coneOuterGain:B.coneOuterGain,distanceModel:typeof v.distanceModel<"u"?v.distanceModel:B.distanceModel,maxDistance:typeof v.maxDistance<"u"?v.maxDistance:B.maxDistance,refDistance:typeof v.refDistance<"u"?v.refDistance:B.refDistance,rolloffFactor:typeof v.rolloffFactor<"u"?v.rolloffFactor:B.rolloffFactor,panningModel:typeof v.panningModel<"u"?v.panningModel:B.panningModel};var H=O._panner;H||(O._pos||(O._pos=o._pos||[0,0,-.5]),u(O,"spatial"),H=O._panner),H.coneInnerAngle=B.coneInnerAngle,H.coneOuterAngle=B.coneOuterAngle,H.coneOuterGain=B.coneOuterGain,H.distanceModel=B.distanceModel,H.maxDistance=B.maxDistance,H.refDistance=B.refDistance,H.rolloffFactor=B.rolloffFactor,H.panningModel=B.panningModel}return o},Sound.prototype.init=function(o){return function(){var h=this,v=h._parent;h._orientation=v._orientation,h._stereo=v._stereo,h._pos=v._pos,h._pannerAttr=v._pannerAttr,o.call(this),h._stereo?v.stereo(h._stereo):h._pos&&v.pos(h._pos[0],h._pos[1],h._pos[2],h._id)}}(Sound.prototype.init),Sound.prototype.reset=function(o){return function(){var h=this,v=h._parent;return h._orientation=v._orientation,h._stereo=v._stereo,h._pos=v._pos,h._pannerAttr=v._pannerAttr,h._stereo?v.stereo(h._stereo):h._pos?v.pos(h._pos[0],h._pos[1],h._pos[2],h._id):h._panner&&(h._panner.disconnect(0),h._panner=void 0,v._refreshBuffer(h)),o.call(this)}}(Sound.prototype.reset);var u=function(o,h){h=h||"spatial",h==="spatial"?(o._panner=Howler.ctx.createPanner(),o._panner.coneInnerAngle=o._pannerAttr.coneInnerAngle,o._panner.coneOuterAngle=o._pannerAttr.coneOuterAngle,o._panner.coneOuterGain=o._pannerAttr.coneOuterGain,o._panner.distanceModel=o._pannerAttr.distanceModel,o._panner.maxDistance=o._pannerAttr.maxDistance,o._panner.refDistance=o._pannerAttr.refDistance,o._panner.rolloffFactor=o._pannerAttr.rolloffFactor,o._panner.panningModel=o._pannerAttr.panningModel,typeof o._panner.positionX<"u"?(o._panner.positionX.setValueAtTime(o._pos[0],Howler.ctx.currentTime),o._panner.positionY.setValueAtTime(o._pos[1],Howler.ctx.currentTime),o._panner.positionZ.setValueAtTime(o._pos[2],Howler.ctx.currentTime)):o._panner.setPosition(o._pos[0],o._pos[1],o._pos[2]),typeof o._panner.orientationX<"u"?(o._panner.orientationX.setValueAtTime(o._orientation[0],Howler.ctx.currentTime),o._panner.orientationY.setValueAtTime(o._orientation[1],Howler.ctx.currentTime),o._panner.orientationZ.setValueAtTime(o._orientation[2],Howler.ctx.currentTime)):o._panner.setOrientation(o._orientation[0],o._orientation[1],o._orientation[2])):(o._panner=Howler.ctx.createStereoPanner(),o._panner.pan.setValueAtTime(o._stereo,Howler.ctx.currentTime)),o._panner.connect(o._node),o._paused||o._parent.pause(o._id,!0).play(o._id,!0)}})()}(Zh)),Zh}/*! Copyright © 2011 - 2025 miHoYo. All Rights Reserved */(function(b,u){(function(o,h){b.exports=h(L5(),Eb,kb(),Ab(),Cb())})(typeof self<"u"?self:Vs,function(o,h,v,k,O){return function(z){var C={};function B(H){if(C[H])return C[H].exports;var g=C[H]={i:H,l:!1,exports:{}};return z[H].call(g.exports,g,g.exports,B),g.l=!0,g.exports}return B.m=z,B.c=C,B.d=function(H,g,A){B.o(H,g)||Object.defineProperty(H,g,{enumerable:!0,get:A})},B.r=function(H){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(H,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(H,"__esModule",{value:!0})},B.t=function(H,g){if(1&g&&(H=B(H)),8&g||4&g&&typeof H=="object"&&H&&H.__esModule)return H;var A=Object.create(null);if(B.r(A),Object.defineProperty(A,"default",{enumerable:!0,value:H}),2&g&&typeof H!="string")for(var S in H)B.d(A,S,(function(V){return H[V]}).bind(null,S));return A},B.n=function(H){var g=H&&H.__esModule?function(){return H.default}:function(){return H};return B.d(g,"a",g),g},B.o=function(H,g){return Object.prototype.hasOwnProperty.call(H,g)},B.p="",B(B.s=28)}([function(z,C){z.exports=o},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.matrixMatch=void 0;var H=function(){function w(_,E){for(var U=0;U<E.length;U++){var $=E[U];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(_,$.key,$)}}return function(_,E,U){return E&&w(_.prototype,E),U&&w(_,U),_}}(),g=V(B(0)),A=V(B(6)),S=B(29);
47function V(w){if(w&&w.__esModule)return w;var _={};if(w!=null)for(var E in w)Object.prototype.hasOwnProperty.call(w,E)&&(_[E]=w[E]);return _.default=w,_}var L={sine:A.Sine,linear:A.Linear,power2:A.Power2,power3:A.Power3,power4:A.Power4,back:A.Back,elastic:A.Elastic,bounce:A.Bounce},F={in:"easeIn",out:"easeOut",inout:"easeInOut",none:"easeNone"},T={},M=function(){function w(){(function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")})(this,w)}return H(w,null,[{key:"getConstructor",value:function(_){switch(_){case"v2":return g.Vector2;case"v3":return g.Vector3;case"v4":return g.Vector4;case"q":return g.Quaternion;case"c":return g.Color;default:return}}},{key:"easeFunction",value:function(_){if(_.indexOf("custom ")===0){var E=_.substring(7);return T[E]||(T[E]=S.CustomEase.create(E,E)),T[E]}var U=_.toLowerCase().split("."),$=U[0],te=F[U[1]]||F.none;return L[$]?L[$][te]:A.Linear.easeNone}},{key:"parseValueType",value:function(_){var E=void 0,U=void 0;return Array.isArray(_)?(E="a",U=_.length):_.isQuaternion?(E="q",U=4):_.isVector3?(E="v3",U=3):_.isVector4?(E="v4",U=4):_.isEuler?(E="r",U=3):_.isVector2?(E="v2",U=2):_.isColor?(E="c",U=3):_.isTexture?(E="t",U=1):typeof _=="string"?(E="str",U=1):typeof _=="boolean"?(E="b",U=1):(E="f",U=1),{valueType:E,valueLength:U}}},{key:"parsePath",value:function(_,E){var U=E.split("."),$=void 0,te=void 0;if(_&&_.isObject3D?te=$=_.getObjectByName(U[0]):$=_,!$)return null;for(var se=U.length-1,Se=1;Se<se;Se++)if(!($=$[U[Se]]))return null;return{target:$,object:te,prop:U[se]}}},{key:"parseData",value:function(_,E){for(var U=_.length/E,$=new Array(U),te=0;te<U;te++)$[te]=Array.from(_.slice(E*te,E*(te+1))).map(function(se){return parseFloat(se.toFixed(4))});return $}},{key:"check",value:function(_,E){if(_.length/E%1!=0)throw new Error("item size incorrect:"+E+"==>"+_)}},{key:"initializeArray",value:function(_,E,U){E[U+"_frame"]!==_&&(E[U+"_frame"]=_,E[U].forEach(function($,te){E[U][te]=0}))}},{key:"initializeFloat",value:function(_,E,U){E[U+"_frame"]!==_&&(E[U+"_frame"]=_,E[U]=0)}},{key:"initializeColor",value:function(_,E,U){E[U+"_frame"]!==_&&(E[U+"_frame"]=_,E[U].setRGB(0,0,0))}},{key:"initializeVector",value:function(_,E,U){E[U+"_frame"]!==_&&(E[U+"_frame"]=_,E[U].set(0,0,0,0))}},{key:"initializeQuaternion",value:function(_,E,U){E[U+"_frame"]!==_&&(E[U+"_frame"]=_,E[U].set(0,0,0,1))}}]),w}();C.matrixMatch=["position","scale","quaternion","rotation"],C.default=M},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=Object.assign||function(w){for(var _=1;_<arguments.length;_++){var E=arguments[_];for(var U in E)Object.prototype.hasOwnProperty.call(E,U)&&(w[U]=E[U])}return w},g=function(){function w(_,E){for(var U=0;U<E.length;U++){var $=E[U];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(_,$.key,$)}}return function(_,E,U){return E&&w(_.prototype,E),U&&w(_,U),_}}(),A=function(w){if(w&&w.__esModule)return w;var _={};if(w!=null)for(var E in w)Object.prototype.hasOwnProperty.call(w,E)&&(_[E]=w[E]);return _.default=w,_}(B(0)),S=T(B(4)),V=B(1),L=T(V),F=T(B(8));function T(w){return w&&w.__esModule?w:{default:w}}var M=function(w){function _(E){(function($,te){if(!($ instanceof te))throw new TypeError("Cannot call a class as a function")})(this,_);var U=function($,te){if(!$)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!te||typeof te!="object"&&typeof te!="function"?$:te}(this,(_.__proto__||Object.getPrototypeOf(_)).call(this,E));return U.copy(E),U}return function(E,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof U);E.prototype=Object.create(U&&U.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),U&&(Object.setPrototypeOf?Object.setPrototypeOf(E,U):E.__proto__=U)}(_,w),g(_,[{key:"copy",value:function(E){var U=this,$=E||{},te=$.root,se=te===void 0?null:te,Se=$.data,be=Se===void 0?[]:Se,me=$.valueType,ke=me===void 0?"f":me,he=$.clipStart,X=he===void 0?be[0].start:he,re=$.clipEnd,ae=re===void 0?be[be.length-1].end:re;this.type=3,this.valueType=ke,this.data=be.map(function(gt){return new F.default(gt)});var ue=L.default.parsePath(se,this.name),ge=ue.object,Ce=ue.target,fe=ue.prop;switch(ge&&(ge.matrixAutoUpdate=ge.matrixAutoUpdate||V.matrixMatch.includes(fe)),this.getObject=function(){return ge},this.getValue=function(){return Ce[fe]},ke.charAt(0)){case"a":this.getFrame=function(gt){var ft=U.getBlock(gt);if(ft.duration===0)return ft.frames[0];var Wt=(gt-ft.start)/ft.duration,or=ft.easeFunc(Wt),xr=ft.frames[0],wr=ft.frames[1],kr=[];return xr.forEach(function(Tn,qr){kr[qr]=xr[qr]+(wr[qr]-xr[qr])*or}),kr}
47,this.updateValue=function(gt,ft){U.getFrame(gt).forEach(function(Wt,or){ft===1?Ce[fe][or]=Wt:Ce[fe][or]+=(Wt-Ce[fe][or])*ft})};break;case"f":this.getFrame=function(gt){var ft=U.getBlock(gt);if(ft.duration===0)return ft.frames[0];var Wt=ft.easeFunc((gt-ft.start)/ft.duration),or=ft.frames[0];return or+(ft.frames[1]-or)*Wt},this.updateValue=function(gt,ft){ft===1?Ce[fe]=U.getFrame(gt):Ce[fe]+=(U.getFrame(gt)-Ce[fe])*ft};break;case"r":var Le=new A.Vector3,qe=new A.Vector3,de=new A.Euler(0,0,0,"XYZ"),Be=new A.Quaternion;this.getFrame=function(gt){var ft=U.getBlock(gt);if(ft.duration===0)return de.set(ft.frames[0][0],ft.frames[0][1],ft.frames[0][2],"XYZ");var Wt=ft.easeFunc((gt-ft.start)/ft.duration);return Le.fromArray(ft.frames[0]),qe.fromArray(ft.frames[1]),Le.lerp(qe,Wt),de.set(Le.x,Le.y,Le.z,"XYZ")},this.updateValue=function(gt,ft){Ce.quaternion&&ft!==1?(Be.setFromEuler(U.getFrame(gt)),Ce.quaternion.slerp(Be,ft)):Ce[fe].copy(U.getFrame(gt))};break;case"c":var Ue=new A.Color,Ke=new A.Color().setHex(be[1]);this.getFrame=function(gt){var ft=U.getBlock(gt);if(ft.duration===0)return Ue.setHex(ft.frames[0]);var Wt=ft.easeFunc((gt-ft.start)/ft.duration);return Ue.setHex(ft.frames[0]),Ke.setHex(ft.frames[1]),Ue.lerp(Ke,Wt)},this.updateValue=function(gt,ft){ft===1?Ce[fe].copy(U.getFrame(gt)):Ce[fe].lerp(U.getFrame(gt),ft)};break;case"v":var yt=L.default.getConstructor(ke);if(!yt)throw new Error("type is incorrect:"+ke);var pt=new yt,mt=new yt;this.getFrame=function(gt){var ft=U.getBlock(gt);if(ft.duration===0)return pt.fromArray(ft.frames[0]);var Wt=ft.easeFunc((gt-ft.start)/ft.duration);return pt.fromArray(ft.frames[0]),mt.fromArray(ft.frames[1]),pt.lerp(mt,Wt)},this.updateValue=function(gt,ft){ft===1?Ce[fe].copy(U.getFrame(gt)):Ce[fe].lerp(U.getFrame(gt),ft)};break;case"q":var Mt=new A.Quaternion,Dt=new A.Quaternion;this.getFrame=function(gt){var ft=U.getBlock(gt);if(ft.duration===0)return Mt.fromArray(ft.frames[0]);var Wt=ft.easeFunc((gt-ft.start)/ft.duration);return Mt.fromArray(ft.frames[0]),Dt.fromArray(ft.frames[1]),Mt.slerp(Dt,Wt)},this.updateValue=function(gt,ft){ft===1?Ce[fe].copy(U.getFrame(gt)):Ce[fe].slerp(U.getFrame(gt),ft)};break;default:throw new Error("type is incorrect:"+ke)}this.clipEnd=ae,this.clipStart=X}},{key:"getBlock",value:function(E){for(var U=this.data.length-1;U>-1;U--)if(this.data[U].start<=E)return this.data[U];return this.data[0]}},{key:"exportData",value:function(){var E=[],U=this.getBlock(this.clipStart),$=this.data.indexOf(U),te=this.getBlock(this.clipEnd),se=this.data.indexOf(te);U=U.clone(),(te=se===$?U:te.clone()).start-=this.clipStart,U.end=U.end-this.clipStart+U.start+1,U.start=0,te.end=this.clipEnd-this.clipStart,E.push(U);for(var Se=$+1;Se<se;Se++){var be=this.data[Se].clone();be.start=Math.max(0,be.start-this.clipStart),E.push(be)}return se!==$&&E.push(te),E}},{key:"update",value:function(E,U,$,te){if(this.weight!==0){var se=U-this.start;this.duration&&(this.loop||te)&&(se%=this.duration),se>=0&&se<=this.duration?(this.percent=this.duration?se/this.duration:0,this.updateValue(se+this.clipStart,this.weight*$)):this.percent!==0&&se<0?(this.percent=0,this.updateValue(this.clipStart,this.weight*$)):this.percent!==1&&se>this.duration&&(this.percent=1,this.updateValue(this.clipEnd,this.weight*$))}}},{key:"clone",value:function(){return new _(this)}},{key:"toJSON",value:function(){var E=H({},function U($,te,se){$===null&&($=Function.prototype);var Se=Object.getOwnPropertyDescriptor($,te);if(Se===void 0){var be=Object.getPrototypeOf($);return be===null?void 0:U(be,te,se)}if("value"in Se)return Se.value;var me=Se.get;return me!==void 0?me.call(se):void 0}(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"toJSON",this).call(this),{data:this.data.map(function(U){return U.toJSON()}),clipStart:this.clipStart,clipEnd:this.clipEnd});return this.valueType!==void 0&&(E.valueType=this.valueType),E}},{key:"duration",get:function(){return this.clipEnd-this.clipStart}},{key:"totalFrame",get:function(){return this.data[this.data.length-1].end}}]),_}(S.default);C.default=M},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.default=function H(g){(function(T,M){if(!(T instanceof M))throw new TypeError("Cannot call a class as a function")})(this,H);var A=g||{},S=A.start,V=S===void 0?0:S,L=A.end,F=L===void 0?1:L;this.start=V,this.end=F,this.duration=F-V}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(){function A(S,V){for(var L=0;L<V.length;L++){var F=V[L];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(S,F.key,F)}}return function(S,V,L){return V&&A(S.prototype,V),L&&A(S,L),S}}(),g=function(){function A(S){(function(be,me){if(!(be instanceof me))throw new TypeError("Cannot call a class as a function")})(this,A);var V=S||{},L=V.type,F=L===void 0?1:L,T=V.start,M=T===void 0?0:T,w=V.end,_=w===void 0?0:w,E=V.loop,U=E!==void 0&&E,$=V.weight,te=$===void 0?1:$,se=V.name,Se=se===void 0?"":se;this.type=F,this.start=M,this.end=_,this.name=Se,this.loop=U,this.weight=te}return H(A,[{key:"seek",value:function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.time;this.time=S,this.update(S,S,1)}}
47,{key:"toJSON",value:function(){return{type:this.type,start:this.start,name:this.name,loop:this.loop}}},{key:"rootClip",get:function(){for(var S=this.parent;S;){if(!S.parent)return S;S=S.parent}return this}},{key:"realStartTime",get:function(){for(var S=this.start,V=this.parent;V;)S+=V.start,V=V.parent;return S}}]),A}();C.default=g},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H,g=function(){function V(L,F){for(var T=0;T<F.length;T++){var M=F[T];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(L,M.key,M)}}return function(L,F,T){return F&&V(L.prototype,F),T&&V(L,T),L}}(),A=B(3),S=function(V){function L(F){(function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")})(this,L);var T=(F||{}).value,M=T===void 0?0:T,w=function(_,E){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||typeof E!="object"&&typeof E!="function"?_:E}(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,F));return w.value=M,w}return function(F,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);F.prototype=Object.create(T&&T.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(F,T):F.__proto__=T)}(L,V),g(L,[{key:"clone",value:function(){return new L(this)}},{key:"toJSON",value:function(){return{start:this.start,end:this.end,value:this.value}}}]),L}(((H=A)&&H.__esModule?H:{default:H}).default);C.default=S},function(z,C){z.exports=h},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=me(B(31)),g=me(B(4)),A=me(B(32)),S=me(B(2)),V=me(B(33)),L=me(B(34)),F=me(B(35)),T=me(B(36)),M=me(B(37)),w=me(B(38)),_=me(B(13)),E=me(B(14)),U=me(B(8)),$=me(B(15)),te=me(B(5)),se=me(B(16)),Se=me(B(1)),be=me(B(17));function me(ke){return ke&&ke.__esModule?ke:{default:ke}}C.default={createTimeline:function(ke){switch(ke.type){case 1:return new H.default(ke);case 2:return new A.default(ke);case 3:return new S.default(ke);case 4:return new V.default(ke);case 5:return new L.default(ke);case 6:return new F.default(ke);case 7:return new T.default(ke);case 8:return new M.default(ke);case 9:return new w.default(ke);default:throw new Error("unknown timeline type:"+ke.type)}},createBlock:function(ke){switch(ke.type){case 1:return new H.default(ke);case 2:return new E.default(ke);case 3:return new U.default(ke);case 4:return new $.default(ke);case 5:return new te.default(ke);case 6:return new se.default(ke);case 7:return new be.default(ke);default:throw new Error("unknown block type:"+ke.type)}},BaseTimeline:g.default,GroupTimeline:H.default,KeyFrameTimeline:A.default,TweenTimeline:S.default,SpineTimeline:V.default,StepTimeline:L.default,SkinTimeline:F.default,TextureTimeline:T.default,MovieTimeline:M.default,GradientTimeline:w.default,Cue:_.default,KeyframeBlock:E.default,TweenBlock:U.default,SpineBlock:$.default,StepBlock:te.default,SkinBlock:se.default,GradientBlock:be.default,utils:Se.default}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(){function V(L,F){for(var T=0;T<F.length;T++){var M=F[T];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(L,M.key,M)}}return function(L,F,T){return F&&V(L.prototype,F),T&&V(L,T),L}}(),g=A(B(1));function A(V){return V&&V.__esModule?V:{default:V}}var S=function(V){function L(F){(function($,te){if(!($ instanceof te))throw new TypeError("Cannot call a class as a function")})(this,L);var T=F||{},M=T.frames,w=M===void 0?[]:M,_=T.ease,E=_===void 0?"":_,U=function($,te){if(!$)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!te||typeof te!="object"&&typeof te!="function"?$:te}(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,F));return U.frames=w,U.ease=E,U.easeFunc=g.default.easeFunction(E),U}return function(F,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);F.prototype=Object.create(T&&T.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(F,T):F.__proto__=T)}(L,V),H(L,[{key:"clone",value:function(){return new L(this)}},{key:"toJSON",value:function(){return{start:this.start,end:this.end,frames:this.frames,ease:this.ease}}}]),L}(A(B(3)).default);C.default=S},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.createGradient=V,C.createGradientTexture=function(L){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:16,T=new H.DataTexture(V(L,F),F,1,H.RGBAFormat,H.UnsignedByteType,H.DEFAULT_MAPPING,L.wrap,H.ClampToEdgeWrapping,H.LinearFilter,H.LinearFilter);return T.needsUpdate=!0,T};var H=function(L){if(L&&L.__esModule)return L;var F={};if(L!=null)for(var T in L)Object.prototype.hasOwnProperty.call(L,T)&&(F[T]=L[T]);return F.default=L,F}(B(0));function g(L,F){if(!(L instanceof F))throw new TypeError("Cannot call a class as a function")}var A=function L(F,T){g(this,L);var M=F||{},w=M.value,_=w===void 0?100:w,E=M.percent,U=E===void 0?0:E;this.value=Math.round(2.55*_),this.percent=U/100*T},S=function L(F,T){g(this,L);var M=F||{},w=M.value,_=w===void 0?16777215:w,E=M.percent,U=E===void 0?0:E;this.r=_>>16&255,this.g=_>>8&255,this.b=255&_,this.percent=U/100*T};function V(L,F){var T=L.color,M=T===void 0?[]:T,w=L.alpha,_=w===void 0?[]:w,E=F-1;M=M.map(function(X){return new S(X,E)}),_=_.map(function(X){return new A(X,E)});var U=new Uint8Array(4*F),$=M[0].percent,te=0,se=0,Se=0,be=0,me=0,ke=0,he=0;return M.forEach(function(X,re){var ae=X.r,ue=X.g,ge=X.b;if(re===0)for(;te<=$;)U[4*te]=ae,U[4*te+1]=ue,U[4*te+2]=ge,te++;else if(re<M.length)for(;te<=$;){var Ce=($-te)/he;U[4*te]=ae+Ce*Se,U[4*te+1]=ue+Ce*be,U[4*te+2]=ge+Ce*me,te++}if(re===M.length-1)for(;te<F;)U[4*te]=ae,U[4*te+1]=ue,U[4*te+2]=ge,te++;else{var fe=M[re+1],Le=fe.r,qe=fe.g,de=fe.b,Be=fe.percent;se=$,Se=ae-Le,be=ue-qe,me=ge-de,he=($=Be)-se}}),$=_[0].percent,te=0,_.forEach(function(X,re){var ae=X.value;if(re===0)for(;te<$;)U[4*te+3]=ae,te++;else if(re<_.length)for(;te<=$;){var ue=($-te)/he;U[4*te+3]=ae+ue*ke,te++}if(re===_.length-1)for(;te<F;)U[4*te+3]=ae,te++;else{var ge=_[re+1],Ce=ge.value,fe=ge.percent;se=$,ke=ae-Ce,he=($=fe)-se}}),U}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(L){return typeof L}:function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},g=function(){function L(F,T){for(var M=0;M<T.length;M++){var w=T[M];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(F,w.key,w)}}return function(F,T,M){return T&&L(F.prototype,T),M&&L(F,M),F}}(),A=function(L){if(L&&L.__esModule)return L;var F={};if(L!=null)for(var T in L)Object.prototype.hasOwnProperty.call(L,T)&&(F[T]=L[T]);return F.default=L,F}(B(0)),S=new A.Raycaster,V=function(){function L(){(function(F,T){if(!(F instanceof T))throw new TypeError("Cannot call a class as a function")})(this,L)}return g(L,null,[{key:"sceneHitTest",value:function(F,T,M,w,_,E){if(T){S.setFromCamera(F,M);for(var U=[],$=T.filter(function(be){return be.userData.isMouseOver&&be.userData.mouseEnabled&&be.userData.onRollOut&&w==="onMouseMove"}),te=function(be){var me=T[be];if(me.userData.mouseEnabled&&me.userData[w]&&(me.visible||me.updateMatrixWorld(),U.length=0,me.raycast(S,U),U.length>0&&(w==="onMouseMove"&&($.forEach(function(ke){me!==ke&&ke.userData.isMouseOver&&(ke.userData.onRollOut(),ke.userData.buttonMode&&(_.style.cursor="default"),ke.userData.isMouseOver=!1)}),$.length=0,me.userData.onRollOver&&!me.userData.isMouseOver&&(me.userData.onRollOver(),me.userData.buttonMode&&(_.style.cursor="pointer"),me.userData.isMouseOver=!0)),!me.userData[w](E,U[0]))))return{v:void 0}},se=T.length-1;se>-1;se--){var Se=te(se);if((Se===void 0?"undefined":H(Se))==="object")return Se.v}$.length>0&&$.forEach(function(be){be.userData.mouseEnabled&&be.userData.isMouseOver&&(be.userData.onRollOut&&be.userData.onRollOut(),_.style.cursor="default",be.userData.isMouseOver=!1)})}}},{key:"proxyHitTest",value:function(F,T,M,w,_,E){var U=new A.Vector2(2*(F.uv.x-.5),2*(F.uv.y-.5));L.sceneHitTest(U,T,M,w,_,E)}},{key:"hashUUID",value:function(F,T){return(F.uuid||"")+(T.uuid||"")}},{key:"getClick",value:function(F){return F?F.clicks?F.clicks:Array.isArray(F)?F:[F]:[]}},{key:"getMouseXYByRect",value:function(F,T){var M=F.target.getBoundingClientRect();return{offsetX:(T?F.touches[0].clientX:F.clientX)-M.left,offsetY:(T?F.touches[0].clientY:F.clientY)-M.top,width:M.width,height:M.height}}}]),L}();C.default=V},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H,g=Object.assign||function(j){for(var n=1;n<arguments.length;n++){var c=arguments[n];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(j[d]=c[d])}return j},A=function(j,n){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(c,d){var p=[],y=!0,R=!1,G=void 0;try{for(var q,P=c[Symbol.iterator]();!(y=(q=P.next()).done)&&(p.push(q.value),!d||p.length!==d);y=!0);}catch(Y){R=!0,G=Y}finally{try{!y&&P.return&&P.return()}finally{if(R)throw G}}return p}(j,n);
47throw new TypeError("Invalid attempt to destructure non-iterable instance")},S=function(){function j(n,c){for(var d=0;d<c.length;d++){var p=c[d];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(n,p.key,p)}}return function(n,c,d){return c&&j(n.prototype,c),d&&j(n,d),n}}(),V=B(0),L=B(1),F=(H=L)&&H.__esModule?H:{default:H},T=B(30);function M(j,n){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||typeof n!="object"&&typeof n!="function"?j:n}function w(j,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);j.prototype=Object.create(n&&n.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(j,n):j.__proto__=n)}function _(j,n){if(!(j instanceof n))throw new TypeError("Cannot call a class as a function")}var E=function(){function j(){_(this,j),this.array=new Array}return S(j,[{key:"add",value:function(n){var c=this.contains(n);return this.array[0|n]=0|n,!c}},{key:"contains",value:function(n){return this.array[0|n]!=null}},{key:"remove",value:function(n){this.array[0|n]=void 0}},{key:"clear",value:function(){this.array.length=0}}]),j}(),U=function(){function j(){_(this,j),this.entries={},this.size=0}return S(j,[{key:"add",value:function(n){var c=this.entries[n];return this.entries[n]=!0,!c&&(this.size++,!0)}},{key:"addAll",value:function(n){for(var c=this.size,d=0,p=n.length;d<p;d++)this.add(n[d]);return c!=this.size}},{key:"contains",value:function(n){return this.entries[n]}},{key:"clear",value:function(){this.entries={},this.size=0}}]),j}(),$=function(){function j(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;_(this,j),this.r=n,this.g=c,this.b=d,this.a=p}return S(j,[{key:"set",value:function(n,c,d,p){return this.r=n,this.g=c,this.b=d,this.a=p,this.clamp()}},{key:"setFromColor",value:function(n){return this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this}},{key:"setFromString",value:function(n){return n=n.charAt(0)=="#"?n.substr(1):n,this.r=parseInt(n.substr(0,2),16)/255,this.g=parseInt(n.substr(2,2),16)/255,this.b=parseInt(n.substr(4,2),16)/255,this.a=n.length!=8?1:parseInt(n.substr(6,2),16)/255,this}},{key:"add",value:function(n,c,d,p){return this.r+=n,this.g+=c,this.b+=d,this.a+=p,this.clamp()}},{key:"clamp",value:function(){return this.r<0?this.r=0:this.r>1&&(this.r=1),this.g<0?this.g=0:this.g>1&&(this.g=1),this.b<0?this.b=0:this.b>1&&(this.b=1),this.a<0?this.a=0:this.a>1&&(this.a=1),this}}],[{key:"rgba8888ToColor",value:function(n,c){n.r=((4278190080&c)>>>24)/255,n.g=((16711680&c)>>>16)/255,n.b=((65280&c)>>>8)/255,n.a=(255&c)/255}},{key:"rgb888ToColor",value:function(n,c){n.r=((16711680&c)>>>16)/255,n.g=((65280&c)>>>8)/255,n.b=(255&c)/255}},{key:"fromString",value:function(n){return new j().setFromString(n)}}]),j}();$.WHITE=new $(1,1,1,1),$.RED=new $(1,0,0,1),$.GREEN=new $(0,1,0,1),$.BLUE=new $(0,0,1,1),$.MAGENTA=new $(1,0,1,1);var te=function(){function j(){_(this,j)}return S(j,null,[{key:"clamp",value:function(n,c,d){return n<c?c:n>d?d:n}},{key:"cosDeg",value:function(n){return Math.cos(n*j.degRad)}},{key:"sinDeg",value:function(n){return Math.sin(n*j.degRad)}},{key:"atan2Deg",value:function(n,c){return Math.atan2(n,c)*j.degRad}},{key:"signum",value:function(n){return n>0?1:n<0?-1:0}},{key:"toInt",value:function(n){return n>0?Math.floor(n):Math.ceil(n)}},{key:"cbrt",value:function(n){var c=Math.pow(Math.abs(n),.3333333333333333);return n<0?-c:c}},{key:"randomTriangular",value:function(n,c){return j.randomTriangularWith(n,c,.5*(n+c))}},{key:"randomTriangularWith",value:function(n,c,d){var p=Math.random(),y=c-n;return p<=(d-n)/y?n+Math.sqrt(p*y*(d-n)):c-Math.sqrt((1-p)*y*(c-d))}},{key:"isPowerOfTwo",value:function(n){return n&&(n&n-1)==0}}]),j}();te.PI=3.1415927,te.PI2=2*te.PI,te.invPI2=1/te.PI2,te.radiansToDegrees=180/te.PI,te.radDeg=te.radiansToDegrees,te.degreesToRadians=te.PI/180,te.degRad=te.degreesToRadians;var se=function(){function j(){_(this,j)}return S(j,[{key:"apply",value:function(n,c,d){return n+(c-n)*this.applyInternal(d)}}]),j}(),Se=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return d.power=2,d.power=c,d}return w(n,j),S(n,[{key:"applyInternal",value:function(c){return c<=.5?Math.pow(2*c,this.power)/2:Math.pow(2*(c-1),this.power)/(this.power%2==0?-2:2)+1}}]),n}(se),be=function(j){function n(c){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c))}return w(n,j),S(n,[{key:"applyInternal",value:function(c){return Math.pow(c-1,this.power)*(this.power%2==0?-1:1)+1}}]),n}(Se),me=function(){function j(){_(this,j)}return S(j,null,[{key:"arrayCopy",value:function(n,c,d,p,y){for(var R=c,G=p;R<c+y;R++,G++)d[G]=n[R]}},{key:"arrayFill",value:function(n,c,d,p){for(var y=c;y<d;y++)n[y]=p}},{key:"setArraySize",value:function(n,c){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,p=n.length;if(p==c)return n;if(n.length=c,p<c)for(var y=p;y<c;y++)n[y]=d;return n}},{key:"ensureArrayCapacity",value:function(n,c){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return n.length>=c?n:j.setArraySize(n,c,d)}},{key:"newArray",value:function(n,c){for(var d=new Array(n),p=0;p<n;p++)d[p]=c;return d}},{key:"newFloatArray",value:function(n){if(j.SUPPORTS_TYPED_ARRAYS)return new Float32Array(n);for(var c=new Array(n),d=0;d<c.length;d++)c[d]=0;return c}},{key:"newShortArray",value:function(n){if(j.SUPPORTS_TYPED_ARRAYS)return new Int16Array(n);for(var c=new Array(n),d=0;d<c.length;d++)c[d]=0;return c}},{key:"toFloatArray",value:function(n){return j.SUPPORTS_TYPED_ARRAYS?new Float32Array(n):n}},{key:"toSinglePrecision",value:function(n){return j.SUPPORTS_TYPED_ARRAYS?Math.fround(n):n}},{key:"webkit602BugfixHelper",value:function(n,c){}},{key:"contains",value:function(n,c){for(var d=0;d<n.length;d++)if(n[d]==c)return!0;return!1}},{key:"enumValue",value:function(n,c){return n[c[0].toUpperCase()+c.slice(1)]}}]),j}();me.SUPPORTS_TYPED_ARRAYS=typeof Float32Array<"u";var ke=function(){function j(){_(this,j)}return S(j,null,[{key:"logBones",value:function(n){for(var c=0;c<n.bones.length;c++){var d=n.bones[c];console.log(d.data.name+", "+d.a+", "+d.b+", "+d.c+", "+d.d+", "+d.worldX+", "+d.worldY)}}}]),j}(),he=function(){function j(n){_(this,j),this.items=new Array,this.instantiator=n}return S(j,[{key:"obtain",value:function(){return this.items.length>0?this.items.pop():this.instantiator()}},{key:"free",value:function(n){n.reset&&n.reset(),this.items.push(n)}},{key:"freeAll",value:function(n){for(var c=0;c<n.length;c++)this.free(n[c])}},{key:"clear",value:function(){this.items.length=0}}]),j}(),X=function(){function j(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;_(this,j),this.x=n,this.y=c}
47return S(j,[{key:"set",value:function(n,c){return this.x=n,this.y=c,this}},{key:"length",value:function(){var n=this.x,c=this.y;return Math.sqrt(n*n+c*c)}},{key:"normalize",value:function(){var n=this.length();return n!=0&&(this.x/=n,this.y/=n),this}}]),j}(),re=function(){function j(){_(this,j),this.maxDelta=.064,this.framesPerSecond=0,this.delta=0,this.totalTime=0,this.lastTime=Date.now()/1e3,this.frameCount=0,this.frameTime=0}return S(j,[{key:"update",value:function(){var n=Date.now()/1e3;this.delta=n-this.lastTime,this.frameTime+=this.delta,this.totalTime+=this.delta,this.delta>this.maxDelta&&(this.delta=this.maxDelta),this.lastTime=n,this.frameCount++,this.frameTime>1&&(this.framesPerSecond=this.frameCount/this.frameTime,this.frameTime=0,this.frameCount=0)}}]),j}(),ae=function(){function j(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:32;_(this,j),this.addedValues=0,this.lastValue=0,this.mean=0,this.dirty=!0,this.values=new Array(n)}return S(j,[{key:"hasEnoughData",value:function(){return this.addedValues>=this.values.length}},{key:"addValue",value:function(n){this.addedValues<this.values.length&&this.addedValues++,this.values[this.lastValue++]=n,this.lastValue>this.values.length-1&&(this.lastValue=0),this.dirty=!0}},{key:"getMean",value:function(){if(this.hasEnoughData()){if(this.dirty){for(var n=0,c=0;c<this.values.length;c++)n+=this.values[c];this.mean=n/this.values.length,this.dirty=!1}return this.mean}return 0}}]),j}
47(),ue=function j(n){if(_(this,j),!n)throw new Error("name cannot be null.");this.name=n},ge=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.id=n.nextID++,d.bones=null,d.vertices=[],d.worldVerticesLength=0,d.timelineAttachment=d,d}return w(n,j),S(n,[{key:"computeWorldVertices",value:function(c,d,p,y,R,G){p=R+(p>>1)*G;var q=c.bone.skeleton,P=c.deform,Y=this.vertices,ee=this.bones;if(ee){for(var ne=0,ce=0,le=0;le<d;le+=2){var ve=ee[ne];ne+=ve+1,ce+=ve}var ye=q.bones;if(P.length==0)for(var xe=R,Re=3*ce;xe<p;xe+=G){var Pe=0,De=0,Ne=ee[ne++];for(Ne+=ne;ne<Ne;ne++,Re+=3){var Ve=ye[ee[ne]],ct=Y[Re],He=Y[Re+1],tt=Y[Re+2];Pe+=(ct*Ve.a+He*Ve.b+Ve.worldX)*tt,De+=(ct*Ve.c+He*Ve.d+Ve.worldY)*tt}y[xe]=Pe,y[xe+1]=De}else for(var et=P,xt=R,wt=3*ce,Tt=ce<<1;xt<p;xt+=G){var St=0,je=0,Qe=ee[ne++];for(Qe+=ne;ne<Qe;ne++,wt+=3,Tt+=2){var Lt=ye[ee[ne]],Rt=Y[wt]+et[Tt],Ht=Y[wt+1]+et[Tt+1],Ft=Y[wt+2];St+=(Rt*Lt.a+Ht*Lt.b+Lt.worldX)*Ft,je+=(Rt*Lt.c+Ht*Lt.d+Lt.worldY)*Ft}y[xt]=St,y[xt+1]=je}}else{P.length>0&&(Y=P);for(var Je=c.bone,st=Je.worldX,_t=Je.worldY,At=Je.a,jt=Je.b,Nt=Je.c,Pt=Je.d,kt=d,qt=R;qt<p;kt+=2,qt+=G){var It=Y[kt],Yt=Y[kt+1];y[qt]=It*At+Yt*jt+st,y[qt+1]=It*Nt+Yt*Pt+_t}}}},{key:"copyTo",value:function(c){this.bones?(c.bones=new Array(this.bones.length),me.arrayCopy(this.bones,0,c.bones,0,this.bones.length)):c.bones=null,this.vertices&&(c.vertices=me.newFloatArray(this.vertices.length),me.arrayCopy(this.vertices,0,c.vertices,0,this.vertices.length)),c.worldVerticesLength=this.worldVerticesLength,c.timelineAttachment=this.timelineAttachment}}]),n}(ue);ge.nextID=0;var Ce=function(){function j(n){_(this,j),this.id=j.nextID(),this.start=0,this.digits=0,this.setupIndex=0,this.regions=new Array(n)}return S(j,[{key:"copy",value:function(){var n=new j(this.regions.length);return me.arrayCopy(this.regions,0,n.regions,0,this.regions.length),n.start=this.start,n.digits=this.digits,n.setupIndex=this.setupIndex,n}},{key:"apply",value:function(n,c){var d=n.sequenceIndex;d==-1&&(d=this.setupIndex),d>=this.regions.length&&(d=this.regions.length-1);var p=this.regions[d];c.region!=p&&(c.region=p,c.updateRegion())}},{key:"getPath",value:function(n,c){for(var d=n,p=(this.start+c).toString(),y=this.digits-p.length;y>0;y--)d+="0";return d+=p}}],[{key:"nextID",value:function(){return j._nextID++}}]),j}();Ce._nextID=0;var fe=void 0;(function(j){j[j.hold=0]="hold",j[j.once=1]="once",j[j.loop=2]="loop",j[j.pingpong=3]="pingpong",j[j.onceReverse=4]="onceReverse",j[j.loopReverse=5]="loopReverse",j[j.pingpongReverse=6]="pingpongReverse"})(fe||(fe={}));var Le=[fe.hold,fe.once,fe.loop,fe.pingpong,fe.onceReverse,fe.loopReverse,fe.pingpongReverse],qe=function(){function j(n,c,d){if(_(this,j),this.timelines=[],this.timelineIds=new U,!n)throw new Error("name cannot be null.");this.name=n,this.setTimelines(c),this.duration=d}return S(j,[{key:"setTimelines",value:function(n){if(!n)throw new Error("timelines cannot be null.");this.timelines=n,this.timelineIds.clear();for(var c=0;c<n.length;c++)this.timelineIds.addAll(n[c].getPropertyIds())}},{key:"hasTimeline",value:function(n){for(var c=0;c<n.length;c++)if(this.timelineIds.contains(n[c]))return!0;return!1}},{key:"apply",value:function(n,c,d,p,y,R,G,q){if(!n)throw new Error("skeleton cannot be null.");p&&this.duration!=0&&(d%=this.duration,c>0&&(c%=this.duration));for(var P=this.timelines,Y=0,ee=P.length;Y<ee;Y++)P[Y].apply(n,c,d,y,R,G,q)}}]),j}(),de=void 0;(function(j){j[j.setup=0]="setup",j[j.first=1]="first",j[j.replace=2]="replace",j[j.add=3]="add"})(de||(de={}));var Be=void 0;(function(j){j[j.mixIn=0]="mixIn",j[j.mixOut=1]="mixOut"})(Be||(Be={}));var Ue={rotate:0,x:1,y:2,scaleX:3,scaleY:4,shearX:5,shearY:6,inherit:7,rgb:8,alpha:9,rgb2:10,attachment:11,deform:12,event:13,drawOrder:14,ikConstraint:15,transformConstraint:16,pathConstraintPosition:17,pathConstraintSpacing:18,pathConstraintMix:19,physicsConstraintInertia:20,physicsConstraintStrength:21,physicsConstraintDamping:22,physicsConstraintMass:23,physicsConstraintWind:24,physicsConstraintGravity:25,physicsConstraintMix:26,physicsConstraintReset:27,sequence:28},Ke=function(){function j(n,c){_(this,j),this.propertyIds=c,this.frames=me.newFloatArray(n*this.getFrameEntries())}return S(j,[{key:"getPropertyIds",value:function(){return this.propertyIds}},{key:"getFrameEntries",value:function(){return 1}},{key:"getFrameCount",value:function(){return this.frames.length/this.getFrameEntries()}},{key:"getDuration",value:function(){return this.frames[this.frames.length-this.getFrameEntries()]}}],[{key:"search1",value:function(n,c){for(var d=n.length,p=1;p<d;p++)if(n[p]>c)return p-1;return d-1}},{key:"search",value:function(n,c,d){for(var p=n.length,y=d;y<p;y+=d)if(n[y]>c)return y-d;return p-d}}]),j}(),yt=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,p));return y.curves=me.newFloatArray(c+18*d),y.curves[c-1]=1,y}return w(n,j),S(n,[{key:"setLinear",value:function(c){this.curves[c]=0}},{key:"setStepped",value:function(c){this.curves[c]=1}},{key:"shrink",value:function(c){var d=this.getFrameCount()+18*c;if(this.curves.length>d){var p=me.newFloatArray(d);me.arrayCopy(this.curves,0,p,0,d),this.curves=p}}},{key:"setBezier",value:function(c,d,p,y,R,G,q,P,Y,ee,ne){var ce=this.curves,le=this.getFrameCount()+18*c;p==0&&(ce[d]=2+le);for(var ve=.03*(y-2*G+P),ye=.03*(R-2*q+Y),xe=.006*(3*(G-P)-y+ee),Re=.006*(3*(q-Y)-R+ne),Pe=2*ve+xe,De=2*ye+Re,Ne=.3*(G-y)+ve+.16666667*xe,Ve=.3*(q-R)+ye+.16666667*Re,ct=y+Ne,He=R+Ve,tt=le+18;le<tt;le+=2)ce[le]=ct,ce[le+1]=He,Ne+=Pe,Ve+=De,Pe+=xe,De+=Re,ct+=Ne,He+=Ve}},{key:"getBezierValue",value:function(c,d,p,y){var R=this.curves;if(R[y]>c){var G=this.frames[d],q=this.frames[d+p];return q+(c-G)/(R[y]-G)*(R[y+1]-q)}var P=y+18;for(y+=2;y<P;y+=2)if(R[y]>=c){var Y=R[y-2],ee=R[y-1];return ee+(c-Y)/(R[y]-Y)*(R[y+1]-ee)}d+=this.getFrameEntries();var ne=R[P-2],ce=R[P-1];return ce+(c-ne)/(this.frames[d]-ne)*(this.frames[d+p]-ce)}}]),n}(Ke),pt=function(j){function n(c,d,p){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,[p]))}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return 2}},{key:"setFrame",value:function(c,d,p){c<<=1,this.frames[c]=d,this.frames[c+1]=p}},{key:"getCurveValue",value:function(c){for(var d=this.frames,p=d.length-2,y=2;y<=p;y+=2)if(d[y]>c){p=y-2;break}var R=this.curves[p>>1];switch(R){case 0:var G=d[p],q=d[p+1];return q+(c-G)/(d[p+2]-G)*(d[p+2+1]-q);case 1:return d[p+1]}return this.getBezierValue(c,p,1,R-2)}},{key:"getRelativeValue",value:function(c,d,p,y,R){if(c<this.frames[0]){switch(p){case de.setup:return R;case de.first:return y+(R-y)*d}return y}var G=this.getCurveValue(c);switch(p){case de.setup:return R+G*d;case de.first:case de.replace:G+=R-y}return y+G*d}},{key:"getAbsoluteValue",value:function(c,d,p,y,R){if(c<this.frames[0]){switch(p){case de.setup:return R;case de.first:return y+(R-y)*d}return y}var G=this.getCurveValue(c);return p==de.setup?R+(G-R)*d:y+(G-y)*d}},{key:"getAbsoluteValue2",value:function(c,d,p,y,R,G){if(c<this.frames[0]){switch(p){case de.setup:return R;case de.first:return y+(R-y)*d}return y}return p==de.setup?R+(G-R)*d:y+(G-y)*d}},{key:"getScaleValue",value:function(c,d,p,y,R,G){if(c<this.frames[0]){switch(p){case de.setup:return G;case de.first:return R+(G-R)*d}return R}var q=this.getCurveValue(c)*G;if(d==1)return p==de.add?R+q-G:q;if(y==Be.mixOut)switch(p){case de.setup:return G+(Math.abs(q)*te.signum(G)-G)*d;case de.first:case de.replace:return R+(Math.abs(q)*te.signum(R)-R)*d}else{var P=0;switch(p){case de.setup:return(P=Math.abs(G)*te.signum(q))+(q-P)*d;case de.first:case de.replace:return(P=Math.abs(R)*te.signum(q))+(q-P)*d}}return R+(q-G)*d}}]),n}(yt),mt=function(j){function n(c,d,p,y){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,[p,y]))}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return 3}},{key:"setFrame",value:function(c,d,p,y){c*=3,this.frames[c]=d,this.frames[c+1]=p,this.frames[c+2]=y}}]),n}(yt),Mt=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.rotate+"|"+p));return y.boneIndex=0,y.boneIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];P.active&&(P.rotation=this.getRelativeValue(p,R,G,P.rotation,P.data.rotation))}}]),n}(pt),Dt=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.x+"|"+p,Ue.y+"|"+p));return y.boneIndex=0,y.boneIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];if(P.active){var Y=this.frames;if(p<Y[0])switch(G){case de.setup:return P.x=P.data.x,void(P.y=P.data.y);case de.first:P.x+=(P.data.x-P.x)*R,P.y+=(P.data.y-P.y)*R}else{var ee=0,ne=0,ce=Ke.search(Y,p,3),le=this.curves[ce/3];switch(le){case 0:var ve=Y[ce];ee=Y[ce+1],ne=Y[ce+2];var ye=(p-ve)/(Y[ce+3]-ve);ee+=(Y[ce+3+1]-ee)*ye,ne+=(Y[ce+3+2]-ne)*ye;break;case 1:ee=Y[ce+1],ne=Y[ce+2];break;default:ee=this.getBezierValue(p,ce,1,le-2),ne=this.getBezierValue(p,ce,2,le+18-2)}switch(G){case de.setup:P.x=P.data.x+ee*R,P.y=P.data.y+ne*R;break;case de.first:case de.replace:P.x+=(P.data.x+ee-P.x)*R,P.y+=(P.data.y+ne-P.y
47)*R;break;case de.add:P.x+=ee*R,P.y+=ne*R}}}}}]),n}(mt),gt=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.x+"|"+p));return y.boneIndex=0,y.boneIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];P.active&&(P.x=this.getRelativeValue(p,R,G,P.x,P.data.x))}}]),n}(pt),ft=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.y+"|"+p));return y.boneIndex=0,y.boneIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];P.active&&(P.y=this.getRelativeValue(p,R,G,P.y,P.data.y))}}]),n}(pt),Wt=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.scaleX+"|"+p,Ue.scaleY+"|"+p));return y.boneIndex=0,y.boneIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];if(P.active){var Y=this.frames;if(p<Y[0])switch(G){case de.setup:return P.scaleX=P.data.scaleX,void(P.scaleY=P.data.scaleY);case de.first:P.scaleX+=(P.data.scaleX-P.scaleX)*R,P.scaleY+=(P.data.scaleY-P.scaleY)*R}else{var ee=void 0,ne=void 0,ce=Ke.search(Y,p,3),le=this.curves[ce/3];switch(le){case 0:var ve=Y[ce];ee=Y[ce+1],ne=Y[ce+2];var ye=(p-ve)/(Y[ce+3]-ve);ee+=(Y[ce+3+1]-ee)*ye,ne+=(Y[ce+3+2]-ne)*ye;break;case 1:ee=Y[ce+1],ne=Y[ce+2];break;default:ee=this.getBezierValue(p,ce,1,le-2),ne=this.getBezierValue(p,ce,2,le+18-2)}if(ee*=P.data.scaleX,ne*=P.data.scaleY,R==1)G==de.add?(P.scaleX+=ee-P.data.scaleX,P.scaleY+=ne-P.data.scaleY):(P.scaleX=ee,P.scaleY=ne);else{var xe=0,Re=0;if(q==Be.mixOut)switch(G){case de.setup:xe=P.data.scaleX,Re=P.data.scaleY,P.scaleX=xe+(Math.abs(ee)*te.signum(xe)-xe)*R,P.scaleY=Re+(Math.abs(ne)*te.signum(Re)-Re)*R;break;case de.first:case de.replace:xe=P.scaleX,Re=P.scaleY,P.scaleX=xe+(Math.abs(ee)*te.signum(xe)-xe)*R,P.scaleY=Re+(Math.abs(ne)*te.signum(Re)-Re)*R;break;case de.add:P.scaleX+=(ee-P.data.scaleX)*R,P.scaleY+=(ne-P.data.scaleY)*R}else switch(G){case de.setup:xe=Math.abs(P.data.scaleX)*te.signum(ee),Re=Math.abs(P.data.scaleY)*te.signum(ne),P.scaleX=xe+(ee-xe)*R,P.scaleY=Re+(ne-Re)*R;break;case de.first:case de.replace:xe=Math.abs(P.scaleX)*te.signum(ee),Re=Math.abs(P.scaleY)*te.signum(ne),P.scaleX=xe+(ee-xe)*R,P.scaleY=Re+(ne-Re)*R;break;case de.add:P.scaleX+=(ee-P.data.scaleX)*R,P.scaleY+=(ne-P.data.scaleY)*R}}}}}}]),n}(mt),or=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.scaleX+"|"+p));return y.boneIndex=0,y.boneIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];P.active&&(P.scaleX=this.getScaleValue(p,R,G,q,P.scaleX,P.data.scaleX))}}]),n}(pt),xr=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.scaleY+"|"+p));return y.boneIndex=0,y.boneIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];P.active&&(P.scaleY=this.getScaleValue(p,R,G,q,P.scaleY,P.data.scaleY))}}]),n}(pt),wr=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.shearX+"|"+p,Ue.shearY+"|"+p));return y.boneIndex=0,y.boneIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];if(P.active){var Y=this.frames;if(p<Y[0])switch(G){case de.setup:return P.shearX=P.data.shearX,void(P.shearY=P.data.shearY);case de.first:P.shearX+=(P.data.shearX-P.shearX)*R,P.shearY+=(P.data.shearY-P.
47shearY)*R}else{var ee=0,ne=0,ce=Ke.search(Y,p,3),le=this.curves[ce/3];switch(le){case 0:var ve=Y[ce];ee=Y[ce+1],ne=Y[ce+2];var ye=(p-ve)/(Y[ce+3]-ve);ee+=(Y[ce+3+1]-ee)*ye,ne+=(Y[ce+3+2]-ne)*ye;break;case 1:ee=Y[ce+1],ne=Y[ce+2];break;default:ee=this.getBezierValue(p,ce,1,le-2),ne=this.getBezierValue(p,ce,2,le+18-2)}switch(G){case de.setup:P.shearX=P.data.shearX+ee*R,P.shearY=P.data.shearY+ne*R;break;case de.first:case de.replace:P.shearX+=(P.data.shearX+ee-P.shearX)*R,P.shearY+=(P.data.shearY+ne-P.shearY)*R;break;case de.add:P.shearX+=ee*R,P.shearY+=ne*R}}}}}]),n}(mt),kr=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.shearX+"|"+p));return y.boneIndex=0,y.boneIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];P.active&&(P.shearX=this.getRelativeValue(p,R,G,P.shearX,P.data.shearX))}}]),n}(pt),Tn=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.shearY+"|"+p));return y.boneIndex=0,y.boneIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];P.active&&(P.shearY=this.getRelativeValue(p,R,G,P.shearY,P.data.shearY))}}]),n}(pt),qr=function(j){function n(c,d){_(this,n);var p=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,[Ue.inherit+"|"+d]));return p.boneIndex=0,p.boneIndex=d,p}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return 2}},{key:"setFrame",value:function(c,d,p){c*=2,this.frames[c]=d,this.frames[c+1]=p}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.bones[this.boneIndex];if(P.active){var Y=this.frames;p<Y[0]?G!=de.setup&&G!=de.first||(P.inherit=P.data.inherit):P.inherit=this.frames[Ke.search(Y,p,2)+1]}}}]),n}(Ke),Bn=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,[Ue.rgb+"|"+p,Ue.alpha+"|"+p]));return y.slotIndex=0,y.slotIndex=p,y}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return 5}},{key:"setFrame",value:function(c,d,p,y,R,G){c*=5,this.frames[c]=d,this.frames[c+1]=p,this.frames[c+2]=y,this.frames[c+3]=R,this.frames[c+4]=G}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.slots[this.slotIndex];if(P.bone.active){var Y=this.frames,ee=P.color;if(p<Y[0]){var ne=P.data.color;switch(G){case de.setup:return void ee.setFromColor(ne);case de.first:ee.add((ne.r-ee.r)*R,(ne.g-ee.g)*R,(ne.b-ee.b)*R,(ne.a-ee.a)*R)}}else{var ce=0,le=0,ve=0,ye=0,xe=Ke.search(Y,p,5),Re=this.curves[xe/5];switch(Re){case 0:var Pe=Y[xe];ce=Y[xe+1],le=Y[xe+2],ve=Y[xe+3],ye=Y[xe+4];var De=(p-Pe)/(Y[xe+5]-Pe);ce+=(Y[xe+5+1]-ce)*De,le+=(Y[xe+5+2]-le)*De,ve+=(Y[xe+5+3]-ve)*De,ye+=(Y[xe+5+4]-ye)*De;break;case 1:ce=Y[xe+1],le=Y[xe+2],ve=Y[xe+3],ye=Y[xe+4];break;default:ce=this.getBezierValue(p,xe,1,Re-2),le=this.getBezierValue(p,xe,2,Re+18-2),ve=this.getBezierValue(p,xe,3,Re+36-2),ye=this.getBezierValue(p,xe,4,Re+54-2)}R==1?ee.set(ce,le,ve,ye):(G==de.setup&&ee.setFromColor(P.data.color),ee.add((ce-ee.r)*R,(le-ee.g)*R,(ve-ee.b)*R,(ye-ee.a)*R))}}}}]),n}(yt),Oa=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,[Ue.rgb+"|"+p]));return y.slotIndex=0,y.slotIndex=p,y}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return 4}},{key:"setFrame",value:function(c,d,p,y,R){c<<=2,this.frames[c]=d,this.frames[c+1]=p,this.frames[c+2]=y,this.frames[c+3]=R}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.slots[this.slotIndex];if(P.bone.active){var Y=this.frames,ee=P.color;if(p<Y[0]){var ne=P.data.color;switch(G){case de.setup:return ee.r=ne.r,ee.g=ne.g,void(ee.b=ne.b);case de.first:ee.r+=(ne.r-ee.r)*R,ee.g+=(ne.g-ee.g)*R,ee.b+=(ne.b-ee.b)*R}}else{var ce=0,le=0,ve=0,ye=Ke.search(Y,p,4),xe=this.curves[ye>>2];switch(xe){case 0:var Re=Y[ye];ce=Y[ye+1],le=Y[ye+2],ve=Y[ye+3];var Pe=(p-Re)/(Y[ye+4]-Re);ce+=(Y[ye+4+1]-ce)*Pe,le+=(Y[ye+4+2]-le)*Pe,ve+=(Y[ye+4+3]-ve)*Pe;break;case 1:ce=Y[ye+1],le=Y[ye+2],ve=Y[ye+3];break;default:ce=this.getBezierValue(p,ye,1,xe-2),le=this.getBezierValue(p,ye,2,xe+18-2),ve=this.getBezierValue(p,ye,3,xe+36-2)}if(R==1)ee.r=ce,ee.g=le,ee.b=ve;else{if(G==de.setup){var De=P.data.color;ee.r=De.r,ee.g=De.g,ee.b=De.b}ee.r+=(ce-ee.r)*R,ee.g+=(le-ee.g)*R,ee.b+=(ve-ee.b)*R}}}}}]),n}(yt),Rn=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.alpha+"|"+p));return y.slotIndex=0,y.slotIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.slots[this.slotIndex];if(P.bone.active){var Y=P.color;if(p<this.frames[0]){var ee=P.data.color;switch(G){case de.setup:return void(Y.a=ee.a);case de.first:Y.a+=(ee.a-Y.a)*R}}else{var ne=this.getCurveValue(p);R==1?Y.a=ne:(G==de.setup&&(Y.a=P.data.color.a),Y.a+=(ne-Y.a)*R)}}}}]),n}(pt),en=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,[Ue.rgb+"|"+p,Ue.alpha+"|"+p,Ue.rgb2+"|"+p]));return y.slotIndex=0,y.slotIndex=p,y}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return 8}},{key:"setFrame",value:function(c,d,p,y,R,G,q,P,Y){c<<=3,this.frames[c]=d,this.frames[c+1]=p,this.frames[c+2]=y,this.frames[c+3]=R,this.frames[c+4]=G,this.frames[c+5]=q,this.frames[c+6]=P,this.frames[c+7]=Y}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.slots[this.slotIndex];if(P.bone.active){var Y=this.frames,ee=P.color,ne=P.darkColor;if(p<Y[0]){var ce=P.data.color,le=P.data.darkColor;switch(G){case de.setup:return ee.setFromColor(ce),ne.r=le.r,ne.g=le.g,void(ne.b=le.b);case de.first:ee.add((ce.r-ee.r)*R,(ce.g-ee.g)*R,(ce.b-ee.b)*R,(ce.a-ee.a)*R),ne.r+=(le.r-ne.r)*R,ne.g+=(le.g-ne.g)*R,ne.b+=(le.b-ne.b)*R}}else{var ve=0,ye=0,xe=0,Re=0,Pe=0,De=0,Ne=0,Ve=Ke.search(Y,p,8),ct=this.curves[Ve>>3];switch(ct){case 0:var He=Y[Ve];ve=Y[Ve+1],ye=Y[Ve+2],xe=Y[Ve+3],Re=Y[Ve+4],Pe=Y[Ve+5],De=Y[Ve+6],Ne=Y[Ve+7];var tt=(p-He)/(Y[Ve+8]-He);ve+=(Y[Ve+8+1]-ve)*tt,ye+=(Y[Ve+8+2]-ye)*tt,xe+=(Y[Ve+8+3]-xe)*tt,Re+=(Y[Ve+8+4]-Re)*tt,Pe+=(Y[Ve+8+5]-Pe)*tt,De+=(Y[Ve+8+6]-De)*tt,Ne+=(Y[Ve+8+7]-Ne)*tt;break;case 1:ve=Y[Ve+1],ye=Y[Ve+2],xe=Y[Ve+3],Re=Y[Ve+4],Pe=Y[Ve+5],De=Y[Ve+6],Ne=Y[Ve+7];break;default:ve=this.getBezierValue(p,Ve,1,ct-2),ye=this.getBezierValue(p,Ve,2,ct+18-2),xe=this.getBezierValue(p,Ve,3,ct+36-2),Re=this.getBezierValue(p,Ve,4,ct+54-2),Pe=this.getBezierValue(p,Ve,5,ct+72-2),De=this.getBezierValue(p,Ve,6,ct+90-2),Ne=this.getBezierValue(p,Ve,7,ct+108-2)}if(R==1)ee.set(ve,ye,xe,Re),ne.r=Pe,ne.g=De,ne.b=Ne;else{if(G==de.setup){ee.setFromColor(P.data.color);var et=P.data.darkColor;ne.r=et.r,ne.g=et.g,ne.b=et.b}ee.add((ve-ee.r)*R,(ye-ee.g)*R,(xe-ee.b)*R,(Re-ee.a)*R),ne.r+=(Pe-ne.r)*R,ne.g+=(De-ne.g)*R,ne.b+=(Ne-ne.b)*R}}}}}]),n}(yt),ua=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,[Ue.rgb+"|"+p,Ue.rgb2+"|"+p]));return y.slotIndex=0,y.slotIndex=p,y}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return 7}},{key:"setFrame",value:function(c,d,p,y,R,G,q,P){c*=7,this.frames[c]=d,this.frames[c+1]=p,this.frames[c+2]=y,this.frames[c+3]=R,this.frames[c+4]=G,this.frames[c+5]=q,this.frames[c+6]=P}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.slots[this.slotIndex];if(P.bone.active){var Y=this.frames,ee=P.color,ne=P.darkColor;if(p<Y[0]){var ce=P.data.color,le=P.data.darkColor;switch(G){case de.setup:return ee.r=ce.r,ee.g=ce.g,ee.b=ce.b,ne.r=le.r,ne.g=le.g,void(ne.b=le.b);case de.first:ee.r+=(ce.r-ee.r)*R,ee.g+=(ce.g-ee.g)*R,ee.b+=(ce.b-ee.b)*R,ne.r+=(le.r-ne.r)*R,ne.g+=(le.g-ne.g)*R,ne.b+=(le.b-ne.b)*R}}else{var ve=0,ye=0,xe=0,Re=0,Pe=0,De=0,Ne=Ke.search(Y,p,7),Ve=this.curves[Ne/7];switch(Ve){case 0:var ct=Y[Ne];ve=Y[Ne+1],ye=Y[Ne+2],xe=Y[Ne+3],Re=Y[Ne+4],Pe=Y[Ne+5],De=Y[Ne+6];var He=(p-ct)/(Y[Ne+7]-ct);ve+=(Y[Ne+7+1]-ve)*He,ye+=(Y[Ne+7+2]-ye)*He,xe+=(Y[Ne+7+3]-xe)*He,Re+=(Y[Ne+7+4]-Re)*He,Pe+=(Y[Ne+7+5]-Pe)*He,De+=(Y[Ne+7+6]-De)*He;break;case 1:ve=Y[Ne+1],ye=Y[Ne+2],xe=Y[Ne+3],Re=Y[Ne+4],Pe=Y[Ne+5],De=Y[Ne+6];break;default:ve=this.getBezierValue(p,Ne,1,Ve-2),ye=this.getBezierValue(p,Ne,2,Ve+18-2),xe=this.getBezierValue(p,Ne,3,Ve+36-2),Re=this.getBezierValue(p,Ne,4,Ve+54-2),Pe=this.getBezierValue(p,Ne,5,Ve+72-2),De=this.getBezierValue(p,Ne,6,Ve+90-2)}if(R==1)ee.r=ve,ee.g=ye,ee.b=xe,ne.r=Re,ne.g=Pe,ne.b=De;else{if(G==de.setup){var tt=P.data.color,et=P.data.darkColor;ee.r=tt.r,ee.g=tt.g,ee.b=tt.b,ne.r=et.r,ne.g=et.g,ne.b=et.b}ee.r+=(ve-ee.r)*R,ee.g+=(ye-ee.g)*R,ee.b+=(xe-ee.b)*R,ne.r+=(Re-ne.r)*R,ne.g+=(Pe-ne.g)*R,ne.b+=(De-ne.b)*R}}}}}]),n}(yt),pr=function(j){function n(c,d){_(this,n);var p=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,[Ue.attachment+"|"+d]));return p.slotIndex=0,p.slotIndex=d,p.attachmentNames=new Array(c),p}return w(n,j),S(n,[{key:"getFrameCount",value:function(){return this.frames.length}},{key:"setFrame",value:function(c,d,p){this.frames[c]=d,this.attachmentNames[c]=p}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.slots[this.slotIndex];P.bone.active&&(q!=Be.mixOut?p<this.frames[0]?G!=de.setup&&G!=de.first||this.setAttachment(c,P,P.data.attachmentName):this.setAttachment(c,P,this.attachmentNames[Ke.search1(this.frames,p)]):G==de.setup&&this.setAttachment(c,P,P.data.attachmentName))}},{key:"setAttachment",value:function(c,d,p){d.setAttachment(p?c.getAttachment(this.slotIndex,p):null)}}]),n}(Ke),wa=function(j){function n(c,d,p,y){_(this,n);var R=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,[Ue.deform+"|"+p+"|"+y.id]));return R.slotIndex=0,R.slotIndex=p,R.attachment=y,R.vertices=new Array(c),R}return w(n,j),S(n,[{key:"getFrameCount",value:function(){return this.frames.length}},{key:"setFrame",value:function(c,d,p){this.frames[c]=d,this.vertices[c]=p}},{key:"setBezier",value:function(c,d,p,y,R,G,q,P,Y,ee,ne){var ce=this.curves,le=this.getFrameCount()+18*c;p==0&&(ce[d]=2+le);for(var ve=.03*(y-2*G+P),ye=.03*Y-.06*q,xe=.006*(3*(G-P)-y+ee),Re=.018*(q-Y+.33333333),Pe=2*ve+xe,De=2*ye+Re,Ne=.3*(G-y)+ve+.16666667*xe,Ve=.3*q+ye+.16666667*Re,ct=y+Ne,He=Ve,tt=le+18;le<tt;le+=2)ce[le]=ct,ce[le+1]=He,Ne+=Pe,Ve+=De,Pe+=xe,De+=Re,ct+=Ne,He+=Ve}},{key:"getCurvePercent",value:function(c,d){var p=this.curves,y=p[d];switch(y){case 0:var R=this.frames[d];return(c-R)/(this.frames[d+this.getFrameEntries()]-R);case 1:return 0}if(p[y-=2]>c){var G=this.frames[d];return p[y+1]*(c-G)/(p[y]-G)}var q=y+18;for(y+=2;y<q;y+=2)if(p[y]>=c){var P=p[y-2],Y=p[y-1];return Y+(c-P)/(p[y]-P)*(p[y+1]-Y)}var ee=p[q-2],ne=p[q-1];return ne+(1-ne)*(c-ee)/(this.frames[d+this.getFrameEntries()]-ee)}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.slots[this.slotIndex];if(P.bone.active){var Y=P.getAttachment();if(Y&&Y instanceof ge&&Y.timelineAttachment==this.attachment){var ee=P.deform;ee.length==0&&(G=de.setup);var ne=this.vertices,ce=ne[0].length,le=this.frames;if(p<le[0])switch(G){case de.setup:return void(ee.length=0);case de.first:if(R==1)return void(ee.length=0);ee.length=ce;var ve=Y;if(ve.bones)for(R=1-R,xe=0;xe<ce;xe++)ee[xe]*=R;else for(var ye=ve.vertices,xe=0;xe<ce;xe++)ee[xe]+=(ye[xe]-ee[xe])*R}else if(ee.length=ce,p>=le[le.length-1]){var Re=ne[le.length-1];if(R==1)if(G==de.add){var Pe=Y;if(Pe.bones)for(var De=0;De<ce;De++)ee[De]+=Re[De];else for(var Ne=Pe.vertices,Ve=0;Ve<ce;Ve++)ee[Ve]+=Re[Ve]-Ne[Ve]}else me.arrayCopy(Re,0,ee,0,ce);else switch(G){case de.setup:var ct=Y;if(ct.bones)for(var He=0;He<ce;He++)ee[He]=Re[He]*R;else for(var tt=ct.vertices,et=0;et<ce;et++){var xt=tt[et];ee[et]=xt+(Re[et]-xt)*R}break;case de.first:case de.replace:for(var wt=0;wt<ce;wt++)ee[wt]+=(Re[wt]-ee[wt])*R;break;case de.add:var Tt=Y;if(Tt.bones)for(var St=0;St<ce;St++)ee[St]+=Re[St]*R;else for(var je=Tt.vertices,Qe=0;Qe<ce;Qe++)ee[Qe]+=(Re[Qe]-je[Qe])*R}}else{var Lt=Ke.search1(le,p),Rt=this.getCurvePercent(p,Lt),Ht=ne[Lt],Ft=ne[Lt+1];if(R==1)if(G==de.add){var Je=Y;if(Je.bones)for(var st=0;st<ce;st++){var _t=Ht[st];ee[st]+=_t+(Ft[st]-_t)*Rt}else for(var At=Je.vertices,jt=0;jt<ce;jt++){var Nt=Ht[jt];ee[jt]+=Nt+(Ft[jt]-Nt)*Rt-At[jt]}}else for(var Pt=0;Pt<ce;Pt++){var kt=Ht[Pt];ee[Pt]=kt+(Ft[Pt]-kt)*Rt}else switch(G){case de.setup:var qt=Y;if(qt.bones)for(var It=0;It<ce;It++){var Yt=Ht[It];ee[It]=(Yt+(Ft[It]-Yt)*Rt)*R}else for(var ar=qt.vertices,pe=0;pe<ce;pe++){var Sr=Ht[pe],Vt=ar[pe];ee[pe]=Vt+(Sr+(Ft[pe]-Sr)*Rt-Vt)*R}break;case de.first:case de.replace:for(var Jt=0;Jt<ce;Jt++){var vr=Ht[Jt];ee[Jt]+=(vr+(Ft[Jt]-vr)*Rt-ee[Jt])*R}break;case de.add:var ir=Y;if(ir.bones)for(var Vr=0;Vr<ce;Vr++){var br=Ht[Vr];ee[Vr]+=(br+(Ft[Vr]-br)*Rt)*R}else for(var Wr=ir.vertices,Pr=0;Pr<ce;Pr++){var Fr=Ht[Pr];ee[Pr]+=(Fr+(Ft[Pr]-Fr)*Rt-Wr[Pr])*R}}}}}}}]),n}(yt),pa=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,n.propertyIds));return d.events=new Array(c),d}return w(n,j),S(n,[{key:"getFrameCount",value:function(){return this.frames.length}},{key:"setFrame",value:function(c,d){this.frames[c]=d.time,this.events[c]=d}},{key:"apply",value:function(c,d,p,y,R,G,q){if(y){var P=this.frames,Y=this.frames.length;if(d>p)this.apply(c,d,Number.MAX_VALUE,y,R,G,q),d=-1;else if(d>=P[Y-1])return;if(!(p<P[0])){var ee=0;if(d<P[0])ee=0;else for(var ne=P[ee=Ke.search1(P,d)+1];ee>
470&&P[ee-1]==ne;)ee--;for(;ee<Y&&p>=P[ee];ee++)y.push(this.events[ee])}}}}]),n}(Ke);pa.propertyIds=[""+Ue.event];var dr=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,n.propertyIds));return d.drawOrders=new Array(c),d}return w(n,j),S(n,[{key:"getFrameCount",value:function(){return this.frames.length}},{key:"setFrame",value:function(c,d,p){this.frames[c]=d,this.drawOrders[c]=p}},{key:"apply",value:function(c,d,p,y,R,G,q){if(q!=Be.mixOut)if(p<this.frames[0])G!=de.setup&&G!=de.first||me.arrayCopy(c.slots,0,c.drawOrder,0,c.slots.length);else{var P=Ke.search1(this.frames,p),Y=this.drawOrders[P];if(Y)for(var ee=c.drawOrder,ne=c.slots,ce=0,le=Y.length;ce<le;ce++)ee[ce]=ne[Y[ce]];else me.arrayCopy(c.slots,0,c.drawOrder,0,c.slots.length)}else G==de.setup&&me.arrayCopy(c.slots,0,c.drawOrder,0,c.slots.length)}}]),n}(Ke);dr.propertyIds=[""+Ue.drawOrder];var La=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,[Ue.ikConstraint+"|"+p]));return y.constraintIndex=0,y.constraintIndex=p,y}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return 6}},{key:"setFrame",value:function(c,d,p,y,R,G,q){c*=6,this.frames[c]=d,this.frames[c+1]=p,this.frames[c+2]=y,this.frames[c+3]=R,this.frames[c+4]=G?1:0,this.frames[c+5]=q?1:0}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.ikConstraints[this.constraintIndex];if(P.active){var Y=this.frames;if(p<Y[0])switch(G){case de.setup:return P.mix=P.data.mix,P.softness=P.data.softness,P.bendDirection=P.data.bendDirection,P.compress=P.data.compress,void(P.stretch=P.data.stretch);case de.first:P.mix+=(P.data.mix-P.mix)*R,P.softness+=(P.data.softness-P.softness)*R,P.bendDirection=P.data.bendDirection,P.compress=P.data.compress,P.stretch=P.data.stretch}else{var ee=0,ne=0,ce=Ke.search(Y,p,6),le=this.curves[ce/6];switch(le){case 0:var ve=Y[ce];ee=Y[ce+1],ne=Y[ce+2];var ye=(p-ve)/(Y[ce+6]-ve);ee+=(Y[ce+6+1]-ee)*ye,ne+=(Y[ce+6+2]-ne)*ye;break;case 1:ee=Y[ce+1],ne=Y[ce+2];break;default:ee=this.getBezierValue(p,ce,1,le-2),ne=this.getBezierValue(p,ce,2,le+18-2)}G==de.setup?(P.mix=P.data.mix+(ee-P.data.mix)*R,P.softness=P.data.softness+(ne-P.data.softness)*R,q==Be.mixOut?(P.bendDirection=P.data.bendDirection,P.compress=P.data.compress,P.stretch=P.data.stretch):(P.bendDirection=Y[ce+3],P.compress=Y[ce+4]!=0,P.stretch=Y[ce+5]!=0)):(P.mix+=(ee-P.mix)*R,P.softness+=(ne-P.softness)*R,q==Be.mixIn&&(P.bendDirection=Y[ce+3],P.compress=Y[ce+4]!=0,P.stretch=Y[ce+5]!=0))}}}}]),n}(yt),un=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,[Ue.transformConstraint+"|"+p]));return y.constraintIndex=0,y.constraintIndex=p,y}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return 7}},{key:"setFrame",value:function(c,d,p,y,R,G,q,P){var Y=this.frames;Y[c*=7]=d,Y[c+1]=p,Y[c+2]=y,Y[c+3]=R,Y[c+4]=G,Y[c+5]=q,Y[c+6]=P}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.transformConstraints[this.constraintIndex];if(P.active){var Y=this.frames;if(p<Y[0]){var ee=P.data;switch(G){case de.setup:return P.mixRotate=ee.mixRotate,P.mixX=ee.mixX,P.mixY=ee.mixY,P.mixScaleX=ee.mixScaleX,P.mixScaleY=ee.mixScaleY,void(P.mixShearY=ee.mixShearY);case de.first:P.mixRotate+=(ee.mixRotate-P.mixRotate)*R,P.mixX+=(ee.mixX-P.mixX)*R,P.mixY+=(ee.mixY-P.mixY)*R,P.mixScaleX+=(ee.mixScaleX-P.mixScaleX)*R,P.mixScaleY+=(ee.mixScaleY-P.mixScaleY)*R,P.mixShearY+=(ee.mixShearY-P.mixShearY)*R}}else{var ne=void 0,ce=void 0,le=void 0,ve=void 0,ye=void 0,xe=void 0,Re=Ke.search(Y,p,7),Pe=this.curves[Re/7];switch(Pe){case 0:var De=Y[Re];ne=Y[Re+1],ce=Y[Re+2],le=Y[Re+3],ve=Y[Re+4],ye=Y[Re+5],xe=Y[Re+6];var Ne=(p-De)/(Y[Re+7]-De);ne+=(Y[Re+7+1]-ne)*Ne,ce+=(Y[Re+7+2]-ce)*Ne,le+=(Y[Re+7+3]-le)*Ne,ve+=(Y[Re+7+4]-ve)*Ne,ye+=(Y[Re+7+5]-ye)*Ne,xe+=(Y[Re+7+6]-xe)*Ne;break;case 1:ne=Y[Re+1],ce=Y[Re+2],le=Y[Re+3],ve=Y[Re+4],ye=Y[Re+5],xe=Y[Re+6];break;default:ne=this.getBezierValue(p,Re,1,Pe-2),ce=this.getBezierValue(p,Re,2,Pe+18-2),le=this.getBezierValue(p,Re,3,Pe+36-2),ve=this.getBezierValue(p,Re,4,Pe+54-2),ye=this.getBezierValue(p,Re,5,Pe+72-2),xe=this.getBezierValue(p,Re,6,Pe+90-2)}if(G==de.setup){var Ve=P.data;P.mixRotate=Ve.mixRotate+(ne-Ve.mixRotate)*R,P.mixX=Ve.mixX+(ce-Ve.mixX)*R,P.mixY=Ve.mixY+(le-Ve.mixY)*R,P.mixScaleX=Ve.mixScaleX+(ve-Ve.mixScaleX)*R,P.mixScaleY=Ve.mixScaleY+(ye-Ve.mixScaleY)*R,P.mixShearY=Ve.mixShearY+(xe-Ve.mixShearY)*R}else P.mixRotate+=(ne-P.mixRotate)*R,P.mixX+=(ce-P.mixX)*R,P.mixY+=(le-P.mixY)*R,P.mixScaleX+=(ve-P.mixScaleX)*R,P.mixScaleY+=(ye-P.mixScaleY)*R,P.mixShearY+=(xe-P.mixShearY)*R}}}}]),n}(yt),Bi=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.pathConstraintPosition+"|"+p));return y.constraintIndex=0,y.constraintIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.pathConstraints[this.constraintIndex];P.active&&(P.position=this.getAbsoluteValue(p,R,G,P.position,P.data.position))}}]),n}(pt),to=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,Ue.pathConstraintSpacing+"|"+p));return y.constraintIndex=0,y.constraintIndex=p,y}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.pathConstraints[this.constraintIndex];P.active&&(P.spacing=this.getAbsoluteValue(p,R,G,P.spacing,P.data.spacing))}}]),n}(pt),es=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,[Ue.pathConstraintMix+"|"+p]));return y.constraintIndex=0,y.constraintIndex=p,y}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return 4}},{key:"setFrame",value:function(c,d,p,y,R){var G=this.frames;G[c<<=2]=d,G[c+1]=p,G[c+2]=y,G[c+3]=R}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.pathConstraints[this.constraintIndex];if(P.active){var Y=this.frames;if(p<Y[0])switch(G){case de.setup:return P.mixRotate=P.data.mixRotate,P.mixX=P.data.mixX,void(P.mixY=P.data.mixY);case de.first:P.mixRotate+=(P.data.mixRotate-P.mixRotate)*R,P.mixX+=(P.data.mixX-P.mixX)*R,P.mixY+=(P.data.mixY-P.mixY)*R}else{var ee=void 0,ne=void 0,ce=void 0,le=Ke.search(Y,p,4),ve=this.curves[le>>2];switch(ve){case 0:var ye=Y[le];ee=Y[le+1],ne=Y[le+2],ce=Y[le+3];var xe=(p-ye)/(Y[le+4]-ye);ee+=(Y[le+4+1]-ee)*xe,ne+=(Y[le+4+2]-ne)*xe,ce+=(Y[le+4+3]-ce)*xe;break;case 1:ee=Y[le+1],ne=Y[le+2],ce=Y[le+3];break;default:ee=this.getBezierValue(p,le,1,ve-2),ne=this.getBezierValue(p,le,2,ve+18-2),ce=this.getBezierValue(p,le,3,ve+36-2)}if(G==de.setup){var Re=P.data;P.mixRotate=Re.mixRotate+(ee-Re.mixRotate)*R,P.mixX=Re.mixX+(ne-Re.mixX)*R,P.mixY=Re.mixY+(ce-Re.mixY)*R}else P.mixRotate+=(ee-P.mixRotate)*R,P.mixX+=(ne-P.mixX)*R,P.mixY+=(ce-P.mixY)*R}}}}]),n}(yt),ki=function(j){function n(c,d,p,y){_(this,n);var R=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,y+"|"+p));return R.constraintIndex=0,R.constraintIndex=p,R}return w(n,j),S(n,[{key:"apply",value:function(c,d,p,y,R,G,q){var P=void 0;if(this.constraintIndex==-1){var Y=p>=this.frames[0]?this.getCurveValue(p):0,ee=!0,ne=!1,ce=void 0;try{for(var le,ve=c.physicsConstraints[Symbol.iterator]();!(ee=(le=ve.next()).done);ee=!0){var ye=le.value;ye.active&&this.global(ye.data)&&this.set(ye,this.getAbsoluteValue2(p,R,G,this.get(ye),this.setup(ye),Y))}}catch(xe){ne=!0,ce=xe}finally{try{!ee&&ve.return&&ve.return()}finally{if(ne)throw ce}}}else(P=c.physicsConstraints[this.constraintIndex]).active&&this.set(P,this.getAbsoluteValue(p,R,G,this.get(P),this.setup(P)))}}]),n}(pt),Wn=function(j){function n(c,d,p){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,p,Ue.physicsConstraintInertia))}return w(n,j),S(n,[{key:"setup",value:function(c){return c.data.inertia}},{key:"get",value:function(c){return c.inertia}},{key:"set",value:function(c,d){c.inertia=d}},{key:"global",value:function(c){return c.inertiaGlobal}}]),n}(ki),Ao=function(j){function n(c,d,p){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,p,Ue.physicsConstraintStrength))}return w(n,j),S(n,[{key:"setup",value:function(c){return c.data.strength}},{key:"get",value:function(c){return c.strength}},{key:"set",value:function(c,d){c.strength=d}},{key:"global",value:function(c){return c.strengthGlobal}}]),n}(ki),na=function(j){function n(c,d,p){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,p,Ue.physicsConstraintDamping))}return w(n,j),S(n,[{key:"setup",value:function(c){return c.data.damping}},{key:"get",value:function(c){return c.damping}},{key:"set",value:function(c,d){c.damping=d}},{key:"global",value:function(c){return c.dampingGlobal}}]),n}(ki),ro=function(j){function n(c,d,p){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,p,Ue.physicsConstraintMass))}return w(n,j),S(n,[{key:"setup",value:function(c){return 1/c.data.massInverse}},{key:"get",value:function(c){return 1/c.massInverse}},{key:"set",value:function(c,d){c.massInverse=1/d}},{key:"global",value:function(c){return c.massGlobal}}]),n}(ki),n1=function(j){function n(c,d,p){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,p,Ue.physicsConstraintWind))}return w(n,j),S(n,[{key:"setup",value:function(c){return c.data.wind}},{key:"get",value:function(c){return c.wind}},{key:"set",value:function(c,d){c.wind=d}},{key:"global",value:function(c){return c.windGlobal}}]),n}(ki),Ni=function(j){function n(c,d,p){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,p,Ue.physicsConstraintGravity))}return w(n,j),S(n,[{key:"setup",value:function(c){return c.data.gravity}},{key:"get",value:function(c){return c.gravity}},{key:"set",value:function(c,d){c.gravity=d}},{key:"global",value:function(c){return c.gravityGlobal}}]),n}(ki),A0=function(j){function n(c,d,p){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,d,p,Ue.physicsConstraintMix))}return w(n,j),S(n,[{key:"setup",value:function(c){return c.data.mix}},{key:"get",value:function(c){return c.mix}},{key:"set",value:function(c,d){c.mix=d}},{key:"global",value:function(c){return c.mixGlobal}}]),n}(ki),Ms=function(j){function n(c,d){_(this,n);var p=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,n.propertyIds));return p.constraintIndex=d,p}return w(n,j),S(n,[{key:"getFrameCount",value:function(){return this.frames.length}},{key:"setFrame",value:function(c,d){this.frames[c]=d}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=void 0;if(this.constraintIndex==-1||(P=c.physicsConstraints[this.constraintIndex]).active){var Y=this.frames;if(d>p)this.apply(c,d,Number.MAX_VALUE,[],R,G,q),d=-1;else if(d>=Y[Y.length-1])return;if(!(p<Y[0])&&(d<Y[0]||p>=Y[Ke.search1(Y,d)+1]))if(P!=null)P.reset();else{var ee=!0,ne=!1,ce=void 0;try{for(var le,ve=c.physicsConstraints[Symbol.iterator]();!(ee=(le=ve.next()).done);ee=!0){var ye=le.value;ye.active&&ye.reset()}}catch(xe){ne=!0,ce=xe}finally{try{!ee&&ve.return&&ve.return()}finally{if(ne)throw ce}}}}}}]),n}(Ke);Ms.propertyIds=[Ue.physicsConstraintReset.toString()];var Ui=function(j){function n(c,d,p){_(this,n);var y=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,[Ue.sequence+"|"+d+"|"+p.sequence.id]));return y.slotIndex=d,y.attachment=p,y}return w(n,j),S(n,[{key:"getFrameEntries",value:function(){return n.ENTRIES}},{key:"getSlotIndex",value:function(){return this.slotIndex}},{key:"getAttachment",value:function(){return this.attachment}},{key:"setFrame",value:function(c,d,p,y,R){var G=this.frames;G[c*=n.ENTRIES]=d,G[c+n.MODE]=p|y<<4,G[c+n.DELAY]=R}},{key:"apply",value:function(c,d,p,y,R,G,q){var P=c.slots[this.slotIndex];if(P.bone.active){var Y=P.attachment,ee=this.attachment;if(Y==ee||Y instanceof ge&&Y.timelineAttachment==ee){var ne=this.frames;if(p<ne[0])G!=de.setup&&G!=de.first||(P.sequenceIndex=-1);else{var ce=Ke.search(ne,p,n.ENTRIES),le=ne[ce],ve=ne[ce+n.MODE],ye=ne[ce+n.DELAY];if(this.attachment.sequence){var xe=ve>>4,Re=this.attachment.sequence.regions.length,Pe=Le[15&ve];if(Pe!=fe.hold)switch(xe+=(p-le)/ye+1e-5|0,Pe){case fe.once:xe=Math.min(Re-1,xe);break;case fe.loop:xe%=Re;break;case fe.pingpong:var De=(Re<<1)-2;(xe=De==0?0:xe%De)>=Re&&(xe=De-xe);break;case fe.onceReverse:xe=Math.max(Re-1-xe,0);break;case fe.loopReverse:xe=Re-1-xe%Re;break;
47case fe.pingpongReverse:var Ne=(Re<<1)-2;(xe=Ne==0?0:(xe+Re-1)%Ne)>=Re&&(xe=Ne-xe)}P.sequenceIndex=xe}}}}}}]),n}(Ke);Ui.ENTRIES=3,Ui.MODE=1,Ui.DELAY=2;var Ys=function(){function j(n){_(this,j),this.tracks=new Array,this.timeScale=1,this.unkeyedState=0,this.events=new Array,this.listeners=new Array,this.queue=new ni(this),this.propertyIDs=new U,this.animationsChanged=!1,this.trackEntryPool=new he(function(){return new Ts}),this.data=n}return S(j,null,[{key:"emptyAnimation",value:function(){return j._emptyAnimation}}]),S(j,[{key:"update",value:function(n){n*=this.timeScale;for(var c=this.tracks,d=0,p=c.length;d<p;d++){var y=c[d];if(y){y.animationLast=y.nextAnimationLast,y.trackLast=y.nextTrackLast;var R=n*y.timeScale;if(y.delay>0){if(y.delay-=R,y.delay>0)continue;R=-y.delay,y.delay=0}var G=y.next;if(G){var q=y.trackLast-G.delay;if(q>=0){for(G.delay=0,G.trackTime+=y.timeScale==0?0:(q/y.timeScale+n)*G.timeScale,y.trackTime+=R,this.setCurrent(d,G,!0);G.mixingFrom;)G.mixTime+=n,G=G.mixingFrom;continue}}else if(y.trackLast>=y.trackEnd&&!y.mixingFrom){c[d]=null,this.queue.end(y),this.clearNext(y);continue}if(y.mixingFrom&&this.updateMixingFrom(y,n)){var P=y.mixingFrom;for(y.mixingFrom=null,P&&(P.mixingTo=null);P;)this.queue.end(P),P=P.mixingFrom}y.trackTime+=R}}this.queue.drain()}},{key:"updateMixingFrom",value:function(n,c){var d=n.mixingFrom;if(!d)return!0;var p=this.updateMixingFrom(d,c);return d.animationLast=d.nextAnimationLast,d.trackLast=d.nextTrackLast,n.mixTime>0&&n.mixTime>=n.mixDuration?(d.totalAlpha!=0&&n.mixDuration!=0||(n.mixingFrom=d.mixingFrom,d.mixingFrom&&(d.mixingFrom.mixingTo=n),n.interruptAlpha=d.interruptAlpha,this.queue.end(d)),p):(d.trackTime+=c*d.timeScale,n.mixTime+=c,!1)}},{key:"apply",value:function(n){if(!n)throw new Error("skeleton cannot be null.");this.animationsChanged&&this._animationsChanged();for(var c=this.events,d=this.tracks,p=!1,y=0,R=d.length;y<R;y++){var G=d[y];if(G&&!(G.delay>0)){p=!0;var q=y==0?de.first:G.mixBlend,P=G.alpha;G.mixingFrom?P*=this.applyMixingFrom(G,n,q):G.trackTime>=G.trackEnd&&!G.next&&(P=0);var Y=P>=G.alphaAttachmentThreshold,ee=G.animationLast,ne=G.getAnimationTime(),ce=ne,le=c;G.reverse&&(ce=G.animation.duration-ce,le=null);var ve=G.animation.timelines,ye=ve.length;if(y==0&&P==1||q==de.add){y==0&&(Y=!0);for(var xe=0;xe<ye;xe++){me.webkit602BugfixHelper(P,q);var Re=ve[xe];Re instanceof pr?this.applyAttachmentTimeline(Re,n,ce,q,Y):Re.apply(n,ee,ce,le,P,q,Be.mixIn)}}else{var Pe=G.timelineMode,De=G.shortestRotation,Ne=!De&&G.timelinesRotation.length!=ye<<1;Ne&&(G.timelinesRotation.length=ye<<1);for(var Ve=0;Ve<ye;Ve++){var ct=ve[Ve],He=Pe[Ve]==a1?q:de.setup;!De&&ct instanceof Mt?this.applyRotateTimeline(ct,n,ce,P,He,G.timelinesRotation,Ve<<1,Ne):ct instanceof pr?this.applyAttachmentTimeline(ct,n,ce,q,Y):(me.webkit602BugfixHelper(P,q),ct.apply(n,ee,ce,le,P,He,Be.mixIn))}}this.queueEvents(G,ne),c.length=0,G.nextAnimationLast=ne,G.nextTrackLast=G.trackTime}}for(var tt=this.unkeyedState+ai,et=n.slots,xt=0,wt=n.slots.length;xt<wt;xt++){var Tt=et[xt];if(Tt.attachmentState==tt){var St=Tt.data.attachmentName;Tt.setAttachment(St?n.getAttachment(Tt.data.index,St):null)}}return this.unkeyedState+=2,this.queue.drain(),p}},{key:"applyMixingFrom",value:function(n,c,d){var p=n.mixingFrom;p.mixingFrom&&this.applyMixingFrom(p,c,d);var y=0;n.mixDuration==0?(y=1,d==de.first&&(d=de.setup)):((y=n.mixTime/n.mixDuration)>
471&&(y=1),d!=de.first&&(d=p.mixBlend));var R=y<p.mixAttachmentThreshold,G=y<p.mixDrawOrderThreshold,q=p.animation.timelines,P=q.length,Y=p.alpha*n.interruptAlpha,ee=Y*(1-y),ne=p.animationLast,ce=p.getAnimationTime(),le=ce,ve=null;if(p.reverse?le=p.animation.duration-le:y<p.eventThreshold&&(ve=this.events),d==de.add)for(var ye=0;ye<P;ye++)q[ye].apply(c,ne,le,ve,ee,d,Be.mixOut);else{var xe=p.timelineMode,Re=p.timelineHoldMix,Pe=p.shortestRotation,De=!Pe&&p.timelinesRotation.length!=P<<1;De&&(p.timelinesRotation.length=P<<1),p.totalAlpha=0;for(var Ne=0;Ne<P;Ne++){var Ve=q[Ne],ct=Be.mixOut,He=void 0,tt=0;switch(xe[Ne]){case a1:if(!G&&Ve instanceof dr)continue;He=d,tt=ee;break;case Y1:He=de.setup,tt=ee;break;case Es:He=d,tt=Y;break;case i1:He=de.setup,tt=Y;break;default:He=de.setup;var et=Re[Ne];tt=Y*Math.max(0,1-et.mixTime/et.mixDuration)}p.totalAlpha+=tt,!Pe&&Ve instanceof Mt?this.applyRotateTimeline(Ve,c,le,tt,He,p.timelinesRotation,Ne<<1,De):Ve instanceof pr?this.applyAttachmentTimeline(Ve,c,le,He,R&&tt>=p.alphaAttachmentThreshold):(me.webkit602BugfixHelper(tt,d),G&&Ve instanceof dr&&He==de.setup&&(ct=Be.mixIn),Ve.apply(c,ne,le,ve,tt,He,ct))}}return n.mixDuration>0&&this.queueEvents(p,ce),this.events.length=0,p.nextAnimationLast=ce,p.nextTrackLast=p.trackTime,y}},{key:"applyAttachmentTimeline",value:function(n,c,d,p,y){var R=c.slots[n.slotIndex];R.bone.active&&(d<n.frames[0]?p!=de.setup&&p!=de.first||this.setAttachment(c,R,R.data.attachmentName,y):this.setAttachment(c,R,n.attachmentNames[Ke.search1(n.frames,d)],y),R.attachmentState<=this.unkeyedState&&(R.attachmentState=this.unkeyedState+ai))}},{key:"setAttachment",value:function(n,c,d,p){c.setAttachment(d?n.getAttachment(c.data.index,d):null),p&&(c.attachmentState=this.unkeyedState+fl)}},{key:"applyRotateTimeline",value:function(n,c,d,p,y,R,G,q){if(q&&(R[G]=0),p!=1){var P=c.bones[n.boneIndex];if(P.active){var Y=0,ee=0;if(d<n.frames[0])switch(y){case de.setup:P.rotation=P.data.rotation;default:return;case de.first:Y=P.rotation,ee=P.data.rotation}else Y=y==de.setup?P.data.rotation:P.rotation,ee=P.data.rotation+n.getCurveValue(d);var ne=0,ce=ee-Y;if((ce-=360*Math.ceil(ce/360-.5))==0)ne=R[G];else{var le=0,ve=0;q?(le=0,ve=ce):(le=R[G],ve=R[G+1]);var ye=le-le%360;ne=ce+ye;var xe=ce>=0,Re=le>=0;Math.abs(ve)<=90&&te.signum(ve)!=te.signum(ce)&&(Math.abs(le-ye)>180?(ne+=360*te.signum(le),Re=xe):ye!=0?ne-=360*te.signum(le):Re=xe),Re!=xe&&(ne+=360*te.signum(le)),R[G]=ne}R[G+1]=ce,P.rotation=Y+ne*p}}else n.apply(c,0,d,null,1,y,Be.mixIn)}},{key:"queueEvents",value:function(n,c){for(var d=n.animationStart,p=n.animationEnd,y=p-d,R=n.trackLast%y,G=this.events,q=0,P=G.length;q<P;q++){var Y=G[q];if(Y.time<R)break;Y.time>p||this.queue.event(n,Y)}var ee=!1;if(n.loop)if(y==0)ee=!0;else{var ne=Math.floor(n.trackTime/y);ee=ne>0&&ne>Math.floor(n.trackLast/y)}else ee=c>=p&&n.animationLast<p;for(ee&&this.queue.complete(n);q<P;q++){var ce=G[q];ce.time<d||this.queue.event(n,ce)}}},{key:"clearTracks",value:function(){var n=this.queue.drainDisabled;this.queue.drainDisabled=!0;for(var c=0,d=this.tracks.length;c<d;c++)this.clearTrack(c);this.tracks.length=0,this.queue.drainDisabled=n,this.queue.drain()}},{key:"clearTrack",value:function(n){if(!(n>=this.tracks.length)){var c=this.tracks[n];if(c){this.queue.end(c),this.clearNext(c);for(var d=c;;){var p=d.mixingFrom;if(!p)break;this.queue.end(p),d.mixingFrom=null,d.mixingTo=null,d=p}this.tracks[c.trackIndex]=null,this.queue.drain()}}}},{key:"setCurrent",value:function(n,c,d){var p=this.expandToIndex(n);this.tracks[n]=c,c.previous=null,p&&(d&&this.queue.interrupt(p),c.mixingFrom=p,p.mixingTo=c,c.mixTime=0,p.mixingFrom&&p.mixDuration>0&&(c.interruptAlpha*=Math.min(1,p.mixTime/p.mixDuration)),p.timelinesRotation.length=0),this.queue.start(c)}},{key:"setAnimation",value:function(n,c){var d=arguments.length>2&&arguments[2]!==void 0&&arguments[2],p=this.data.skeletonData.findAnimation(c);if(!p)throw new Error("Animation not found: "+c);return this.setAnimationWith(n,p,d)}},{key:"setAnimationWith",value:function(n,c){var d=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!c)throw new Error("animation cannot be null.");var p=!0,y=this.expandToIndex(n);y&&(y.nextTrackLast==-1?(this.tracks[n]=y.mixingFrom,this.queue.interrupt(y),this.queue.end(y),this.clearNext(y),y=y.mixingFrom,p=!1):this.clearNext(y));var R=this.trackEntry(n,c,d,y);return this.setCurrent(n,R,p),this.queue.drain(),R}},{key:"addAnimation",value:function(n,c){var d=arguments.length>2&&arguments[2]!==void 0&&arguments[2],p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,y=this.data.skeletonData.findAnimation(c);if(!y)throw new Error("Animation not found: "+c);return this.addAnimationWith(n,y,d,p)}},{key:"addAnimationWith",value:function(n,c){var d=arguments.length>2&&arguments[2]!==void 0&&arguments[2],p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;
47if(!c)throw new Error("animation cannot be null.");var y=this.expandToIndex(n);if(y)for(;y.next;)y=y.next;var R=this.trackEntry(n,c,d,y);return y?(y.next=R,R.previous=y,p<=0&&(p+=y.getTrackComplete()-R.mixDuration)):(this.setCurrent(n,R,!0),this.queue.drain()),R.delay=p,R}},{key:"setEmptyAnimation",value:function(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,d=this.setAnimationWith(n,j.emptyAnimation(),!1);return d.mixDuration=c,d.trackEnd=c,d}},{key:"addEmptyAnimation",value:function(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,p=this.addAnimationWith(n,j.emptyAnimation(),!1,d);return d<=0&&(p.delay+=p.mixDuration-c),p.mixDuration=c,p.trackEnd=c,p}},{key:"setEmptyAnimations",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,c=this.queue.drainDisabled;this.queue.drainDisabled=!0;for(var d=0,p=this.tracks.length;d<p;d++){var y=this.tracks[d];y&&this.setEmptyAnimation(y.trackIndex,n)}this.queue.drainDisabled=c,this.queue.drain()}},{key:"expandToIndex",value:function(n){return n<this.tracks.length?this.tracks[n]:(me.ensureArrayCapacity(this.tracks,n+1,null),this.tracks.length=n+1,null)}},{key:"trackEntry",value:function(n,c,d,p){var y=this.trackEntryPool.obtain();return y.reset(),y.trackIndex=n,y.animation=c,y.loop=d,y.holdPrevious=!1,y.reverse=!1,y.shortestRotation=!1,y.eventThreshold=0,y.alphaAttachmentThreshold=0,y.mixAttachmentThreshold=0,y.mixDrawOrderThreshold=0,y.animationStart=0,y.animationEnd=c.duration,y.animationLast=-1,y.nextAnimationLast=-1,y.delay=0,y.trackTime=0,y.trackLast=-1,y.nextTrackLast=-1,y.trackEnd=Number.MAX_VALUE,y.timeScale=1,y.alpha=1,y.mixTime=0,y.mixDuration=p?this.data.getMix(p.animation,c):0,y.interruptAlpha=1,y.totalAlpha=0,y.mixBlend=de.replace,y}},{key:"clearNext",value:function(n){for(var c=n.next;c;)this.queue.dispose(c),c=c.next;n.next=null}},{key:"_animationsChanged",value:function(){this.animationsChanged=!1,this.propertyIDs.clear();for(var n=this.tracks,c=0,d=n.length;c<d;c++){var p=n[c];if(p){for(;p.mixingFrom;)p=p.mixingFrom;do p.mixingTo&&p.mixBlend==de.add||this.computeHold(p),p=p.mixingTo;while(p)}}}},{key:"computeHold",value:function(n){var c=n.mixingTo,d=n.animation.timelines,p=n.animation.timelines.length,y=n.timelineMode;y.length=p;var R=n.timelineHoldMix;R.length=0;var G=this.propertyIDs;if(c&&c.holdPrevious)for(var q=0;q<p;q++)y[q]=G.addAll(d[q].getPropertyIds())?i1:Es;else e:for(var P=0;P<p;P++){var Y=d[P],ee=Y.getPropertyIds();if(G.addAll(ee))if(!c||Y instanceof pr||Y instanceof dr||Y instanceof pa||!c.animation.hasTimeline(ee))y[P]=Y1;else{for(var ne=c.mixingTo;ne;ne=ne.mixingTo)if(!ne.animation.hasTimeline(ee)){if(n.mixDuration>0){y[P]=ts,R[P]=ne;continue e}break}y[P]=i1}else y[P]=a1}}},{key:"getCurrent",value:function(n){return n>=this.tracks.length?null:this.tracks[n]}},{key:"addListener",value:function(n){if(!n)throw new Error("listener cannot be null.");this.listeners.push(n)}},{key:"removeListener",value:function(n){var c=this.listeners.indexOf(n);c>=0&&this.listeners.splice(c,1)}},{key:"clearListeners",value:function(){this.listeners.length=0}},{key:"clearListenerNotifications",value:function(){this.queue.clear()}}]),j}();Ys._emptyAnimation=new qe("<empty>",[],0);var Ts=function(){function j(){_(this,j),this.animation=null,this.previous=null,this.next=null,this.mixingFrom=null,this.mixingTo=null,this.listener=null,this.trackIndex=0,this.loop=!1,this.holdPrevious=!1,this.reverse=!1,this.shortestRotation=!1,this.eventThreshold=0,this.mixAttachmentThreshold=0,this.alphaAttachmentThreshold=0,this.mixDrawOrderThreshold=0,this.animationStart=0,this.animationEnd=0,this.animationLast=0,this.nextAnimationLast=0,this.delay=0,this.trackTime=0,this.trackLast=0,this.nextTrackLast=0,this.trackEnd=0,this.timeScale=0,this.alpha=0,this.mixTime=0,this._mixDuration=0,this.interruptAlpha=0,this.totalAlpha=0,this.mixBlend=de.replace,this.timelineMode=new Array,this.timelineHoldMix=new Array,this.timelinesRotation=new Array}return S(j,[{key:"setMixDurationWithDelta",value:function(n,c){this._mixDuration=n,this.previous!=null&&this.delay<=0&&(this.delay+=this.previous.getTrackComplete()-c),this.delay=this.delay}},{key:"reset",value:function(){this.next=null,this.previous=null,this.mixingFrom=null,this.mixingTo=null,this.animation=null,this.listener=null,this.timelineMode.length=0,this.timelineHoldMix.length=0,this.timelinesRotation.length=0}},{key:"getAnimationTime",value:function(){if(this.loop){var n=this.animationEnd-this.animationStart;return n==0?this.animationStart:this.trackTime%n+this.animationStart}return Math.min(this.trackTime+this.animationStart,this.animationEnd)}},{key:"setAnimationLast",value:function(n){this.animationLast=n,this.nextAnimationLast=n}},{key:"isComplete",value:function(){return this.trackTime>=this.animationEnd-this.animationStart}},{key:"resetRotationDirections",value:function(){this.timelinesRotation.length=0}},{key:"getTrackComplete",value:function(){var n=this.animationEnd-this.animationStart;if(n!=0){if(this.loop)return n*(1+(this.trackTime/n|0));if(this.trackTime<n)return n}return this.trackTime}},{key:"wasApplied",value:function(){return this.nextTrackLast!=-1}},{key:"mixDuration",get:function(){return this._mixDuration},set:function(n){this._mixDuration=n}}]),j}(),ni=function(){function j(n){_(this,j),this.objects=[],this.drainDisabled=!1,this.animState=n}return S(j,[{key:"start",value:function(n){this.objects.push(Zn.start),this.objects.push(n),this.animState.animationsChanged=!0}},{key:"interrupt",value:function(n){this.objects.push(Zn.interrupt),this.objects.push(n)}},{key:"end",value:function(n){this.objects.push(Zn.end),this.objects.push(n),this.animState.animationsChanged=!0}},{key:"dispose",value:function(n){this.objects.push(Zn.dispose),this.objects.push(n)}},{key:"complete",value:function(n){this.objects.push(Zn.complete),this.objects.push(n)}},{key:"event",value:function(n,c){this.objects.push(Zn.event),this.objects.push(n),this.objects.push(c)}},{key:"drain",value:function(){if(!this.drainDisabled){this.drainDisabled=!0;for(var n=this.objects,c=this.animState.listeners,d=0;d<n.length;d+=2){var p=n[d],y=n[d+1];switch(p){case Zn.start:y.listener&&y.listener.start&&y.listener.start(y);for(var R=0;R<c.length;R++){var G=c[R];G.start&&G.start(y)}break;case Zn.interrupt:y.listener&&y.listener.interrupt&&y.listener.interrupt(y);for(var q=0;q<c.length;q++){var P=c[q];P.interrupt&&P.interrupt(y)}break;case Zn.end:y.listener&&y.listener.end&&y.listener.end(y);for(var Y=0;Y<c.length;Y++){var ee=c[Y];ee.end&&ee.end(y)}case Zn.dispose:y.listener&&y.listener.dispose&&y.listener.dispose(y);for(var ne=0;ne<c.length;ne++){var ce=c[ne];
47ce.dispose&&ce.dispose(y)}this.animState.trackEntryPool.free(y);break;case Zn.complete:y.listener&&y.listener.complete&&y.listener.complete(y);for(var le=0;le<c.length;le++){var ve=c[le];ve.complete&&ve.complete(y)}break;case Zn.event:var ye=n[2+d++];y.listener&&y.listener.event&&y.listener.event(y,ye);for(var xe=0;xe<c.length;xe++){var Re=c[xe];Re.event&&Re.event(y,ye)}}}this.clear(),this.drainDisabled=!1}}},{key:"clear",value:function(){this.objects.length=0}}]),j}(),Zn=void 0;(function(j){j[j.start=0]="start",j[j.interrupt=1]="interrupt",j[j.end=2]="end",j[j.dispose=3]="dispose",j[j.complete=4]="complete",j[j.event=5]="event"})(Zn||(Zn={}));var k2=function(){function j(){_(this,j)}return S(j,[{key:"start",value:function(n){}},{key:"interrupt",value:function(n){}},{key:"end",value:function(n){}},{key:"dispose",value:function(n){}},{key:"complete",value:function(n){}},{key:"event",value:function(n,c){}}]),j}(),a1=0,Y1=1,Es=2,i1=3,ts=4,ai=1,fl=2,dl=function(){function j(n){if(_(this,j),this.animationToMixTime={},this.defaultMix=0,!n)throw new Error("skeletonData cannot be null.");this.skeletonData=n}return S(j,[{key:"setMix",value:function(n,c,d){var p=this.skeletonData.findAnimation(n);if(!p)throw new Error("Animation not found: "+n);var y=this.skeletonData.findAnimation(c);if(!y)throw new Error("Animation not found: "+c);this.setMixWith(p,y,d)}},{key:"setMixWith",value:function(n,c,d){if(!n)throw new Error("from cannot be null.");if(!c)throw new Error("to cannot be null.");var p=n.name+"."+c.name;this.animationToMixTime[p]=d}},{key:"getMix",value:function(n,c){var d=n.name+"."+c.name,p=this.animationToMixTime[d];return p===void 0?this.defaultMix:p}}]),j}(),q1=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.color=new $(1,1,1,1),d}return w(n,j),S(n,[{key:"copy",value:function(){var c=new n(this.name);return this.copyTo(c),c.color.setFromColor(this.color),c}}]),n}(ge),Co=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.endSlot=null,d.color=new $(.2275,.2275,.8078,1),d}return w(n,j),S(n,[{key:"copy",value:function(){var c=new n(this.name);return this.copyTo(c),c.endSlot=this.endSlot,c.color.setFromColor(this.color),c}}]),n}(ge),ks=function(){function j(n){_(this,j),this._image=n}return S(j,[{key:"getImage",value:function(){return this._image}}]),j}(),hi=void 0;(function(j){j[j.Nearest=9728]="Nearest",j[j.Linear=9729]="Linear",j[j.MipMap=9987]="MipMap",j[j.MipMapNearestNearest=9984]="MipMapNearestNearest",j[j.MipMapLinearNearest=9985]="MipMapLinearNearest",j[j.MipMapNearestLinear=9986]="MipMapNearestLinear",j[j.MipMapLinearLinear=9987]="MipMapLinearLinear"})(hi||(hi={}));var no=void 0;(function(j){j[j.MirroredRepeat=33648]="MirroredRepeat",j[j.ClampToEdge=33071]="ClampToEdge",j[j.Repeat=10497]="Repeat"})(no||(no={}));var vl=function j(){_(this,j),this.u=0,this.v=0,this.u2=0,this.v2=0,this.width=0,this.height=0,this.degrees=0,this.offsetX=0,this.offsetY=0,this.originalWidth=0,this.originalHeight=0},A2=function(j){function n(){return _(this,n),M(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return w(n,j),S(n,[{key:"setFilters",value:function(c,d){}},{key:"setWraps",value:function(c,d){}},{key:"dispose",value:function(){}}]),n}(ks),ml=function(){function j(n){_(this,j),this.pages=new Array,this.regions=new Array;for(var c=new C2(n),d=new Array(4),p={size:function(ye){ye.width=parseInt(d[1]),ye.height=parseInt(d[2])},format:function(){},filter:function(ye){ye.minFilter=me.enumValue(hi,d[1]),ye.magFilter=me.enumValue(hi,d[2])},repeat:function(ye){d[1].indexOf("x")!=-1&&(ye.uWrap=no.Repeat),d[1].indexOf("y")!=-1&&(ye.vWrap=no.Repeat)},pma:function(ye){ye.pma=d[1]=="true"}},y={xy:function(ye){ye.x=parseInt(d[1]),ye.y=parseInt(d[2])},size:function(ye){ye.width=parseInt(d[1]),ye.height=parseInt(d[2])},bounds:function(ye){ye.x=parseInt(d[1]),ye.y=parseInt(d[2]),ye.width=parseInt(d[3]),ye.height=parseInt(d[4])},offset:function(ye){ye.offsetX=parseInt(d[1]),ye.offsetY=parseInt(d[2])},orig:function(ye){ye.originalWidth=parseInt(d[1]),ye.originalHeight=parseInt(d[2])},offsets:function(ye){ye.offsetX=parseInt(d[1]),ye.offsetY=parseInt(d[2]),ye.originalWidth=parseInt(d[3]),ye.originalHeight=parseInt(d[4])}
47,rotate:function(ye){var xe=d[1];xe=="true"?ye.degrees=90:xe!="false"&&(ye.degrees=parseInt(xe))},index:function(ye){ye.index=parseInt(d[1])}},R=c.readLine();R&&R.trim().length==0;)R=c.readLine();for(;R&&R.trim().length!=0&&c.readEntry(d,R)!=0;)R=c.readLine();for(var G=null,q=null,P=null;R!==null;)if(R.trim().length==0)G=null,R=c.readLine();else if(G){for(var Y=new o1(G,R);;){var ee=c.readEntry(d,R=c.readLine());if(ee==0)break;var ne=y[d[0]];if(ne)ne(Y);else{q||(q=[]),P||(P=[]),q.push(d[0]);for(var ce=[],le=0;le<ee;le++)ce.push(parseInt(d[le+1]));P.push(ce)}}Y.originalWidth==0&&Y.originalHeight==0&&(Y.originalWidth=Y.width,Y.originalHeight=Y.height),q&&q.length>0&&P&&P.length>0&&(Y.names=q,Y.values=P,q=null,P=null),Y.u=Y.x/G.width,Y.v=Y.y/G.height,Y.degrees==90?(Y.u2=(Y.x+Y.height)/G.width,Y.v2=(Y.y+Y.width)/G.height):(Y.u2=(Y.x+Y.width)/G.width,Y.v2=(Y.y+Y.height)/G.height),this.regions.push(Y)}else{for(G=new j1(R.trim());c.readEntry(d,R=c.readLine())!=0;){var ve=p[d[0]];ve&&ve(G)}this.pages.push(G)}}return S(j,[{key:"findRegion",value:function(n){for(var c=0;c<this.regions.length;c++)if(this.regions[c].name==n)return this.regions[c];return null}},{key:"setTextures",value:function(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",d=!0,p=!1,y=void 0;try{for(var R,G=this.pages[Symbol.iterator]();!(d=(R=G.next()).done);d=!0){var q=R.value;q.setTexture(n.get(c+q.name))}}catch(P){p=!0,y=P}finally{try{!d&&G.return&&G.return()}finally{if(p)throw y}}}},{key:"dispose",value:function(){for(var n=void 0,c=0;c<this.pages.length;c++)(n=this.pages[c].texture)===null||n===void 0||n.dispose()}}]),j}(),C2=function(){function j(n){_(this,j),this.index=0,this.lines=n.split(/\r\n|\r|\n/)}return S(j,[{key:"readLine",value:function(){return this.index>=this.lines.length?null:this.lines[this.index++]}},{key:"readEntry",value:function(n,c){if(!c||(c=c.trim()).length==0)return 0;var d=c.indexOf(":");if(d==-1)return 0;n[0]=c.substr(0,d).trim();for(var p=1,y=d+1;;p++){var R=c.indexOf(",",y);if(R==-1)return n[p]=c.substr(y).trim(),p;if(n[p]=c.substr(y,R-y).trim(),y=R+1,p==4)return 4}}}]),j}(),j1=function(){function j(n){_(this,j),this.minFilter=hi.Nearest,this.magFilter=hi.Nearest,this.uWrap=no.ClampToEdge,this.vWrap=no.ClampToEdge,this.texture=null,this.width=0,this.height=0,this.pma=!1,this.regions=new Array,this.name=n}return S(j,[{key:"setTexture",value:function(n){this.texture=n,n.setFilters(this.minFilter,this.magFilter),n.setWraps(this.uWrap,this.vWrap);var c=!0,d=!1,p=void 0;try{for(var y,R=this.regions[Symbol.iterator]();!(c=(y=R.next()).done);c=!0)y.value.texture=n}catch(G){d=!0,p=G}finally{try{!c&&R.return&&R.return()}finally{if(d)throw p}}}}]),j}(),o1=function(j){function n(c,d){_(this,n);var p=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return p.x=0,p.y=0,p.offsetX=0,p.offsetY=0,p.originalWidth=0,p.originalHeight=0,p.index=0,p.degrees=0,p.names=null,p.values=null,p.page=c,p.name=d,c.regions.push(p),p}return w(n,j),n}(vl),qs=function(j){function n(c,d){_(this,n);var p=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return p.region=null,p.regionUVs=[],p.uvs=[],p.triangles=[],p.color=new $(1,1,1,1),p.width=0,p.height=0,p.hullLength=0,p.edges=[],p.parentMesh=null,p.sequence=null,p.tempColor=new $(0,0,0,0),p.path=d,p}return w(n,j),S(n,[{key:"updateRegion",value:function(){if(!this.region)throw new Error("Region not set.");var c=this.regionUVs;this.uvs&&this.uvs.length==c.length||(this.uvs=me.newFloatArray(c.length));var d=this.uvs,p=this.uvs.length,y=this.region.u,R=this.region.v,G=0,q=0;if(this.region instanceof o1){var P=this.region,Y=P.page,ee=Y.width,ne=Y.height;switch(P.degrees){case 90:y-=(P.originalHeight-P.offsetY-P.height)/ee,R-=(P.originalWidth-P.offsetX-P.width)/ne,G=P.originalHeight/ee,q=P.originalWidth/ne;for(var ce=0;ce<p;ce+=2)d[ce]=y+c[ce+1]*G,d[ce+1]=R+(1-c[ce])*q;return;case 180:y-=(P.originalWidth-P.offsetX-P.width)/ee,R-=P.offsetY/ne,G=P.originalWidth/ee,q=P.originalHeight/ne;for(var le=0;le<p;le+=2)d[le]=y+(1-c[le])*G,d[le+1]=R+(1-c[le+1])*q;return;case 270:y-=P.offsetY/ee,R-=P.offsetX/ne,G=P.originalHeight/ee,q=P.originalWidth/ne;for(var ve=0;ve<p;ve+=2)d[ve]=y+(1-c[ve+1])*G,d[ve+1]=R+c[ve]*q;return}y-=P.offsetX/ee,R-=(P.originalHeight-P.offsetY-P.height)/ne,G=P.originalWidth/ee,q=P.originalHeight/ne}else this.region?(G=this.region.u2-y,q=this.region.v2-R):(y=R=0,G=q=1);for(var ye=0;ye<p;ye+=2)d[ye]=y+c[ye]*G,d[ye+1]=R+c[ye+1]*q}},{key:"getParentMesh",value:function(){return this.parentMesh}},{key:"setParentMesh",value:function(c){this.parentMesh=c,c&&(this.bones=c.bones,this.vertices=c.vertices,this.worldVerticesLength=c.worldVerticesLength,this.regionUVs=c.regionUVs,this.triangles=c.triangles,this.hullLength=c.hullLength,this.worldVerticesLength=c.worldVerticesLength)}},{key:"copy",value:function(){if(this.parentMesh)return this.newLinkedMesh();var c=new n(this.name,this.path);return c.region=this.region,c.color.setFromColor(this.color),this.copyTo(c),c.regionUVs=new Array(this.regionUVs.length),me.arrayCopy(this.regionUVs,0,c.regionUVs,0,this.regionUVs.length),c.uvs=new Array(this.uvs.length),me.arrayCopy(this.uvs,0,c.uvs,0,this.uvs.length),c.triangles=new Array(this.triangles.length),me.arrayCopy(this.triangles,0,c.triangles,0,this.triangles.length),c.hullLength=this.hullLength,c.sequence=this.sequence!=null?this.sequence.copy():null,this.edges&&(c.edges=new Array(this.edges.length),me.arrayCopy(this.edges,0,c.edges,0,this.edges.length)),c.width=this.width,c.height=this.height,c}},{key:"computeWorldVertices",value:function(c,d,p,y,R,G){this.sequence!=null&&this.sequence.apply(c,this),function q(P,Y,ee){P===null&&(P=Function.prototype);var ne=Object.getOwnPropertyDescriptor(P,Y);if(ne===void 0){var ce=Object.getPrototypeOf(P);return ce===null?void 0:q(ce,Y,ee)}if("value"in ne)return ne.value;var le=ne.get;return le!==void 0?le.call(ee):void 0}(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"computeWorldVertices",this).call(this,c,d,p,y,R,G)}},{key:"newLinkedMesh",value:function(){var c=new n(this.name,this.path);return c.region=this.region,c.color.setFromColor(this.color),c.timelineAttachment=this.timelineAttachment,c.setParentMesh(this.parentMesh?this.parentMesh:this),c.region!=null&&c.updateRegion(),c}}]),n}(ge),js=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.lengths=[],d.closed=!1,d.constantSpeed=!1,d.color=new $(1,1,1,1),d}
47return w(n,j),S(n,[{key:"copy",value:function(){var c=new n(this.name);return this.copyTo(c),c.lengths=new Array(this.lengths.length),me.arrayCopy(this.lengths,0,c.lengths,0,this.lengths.length),c.closed=closed,c.constantSpeed=this.constantSpeed,c.color.setFromColor(this.color),c}}]),n}(ge),J1=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.x=0,d.y=0,d.rotation=0,d.color=new $(.38,.94,0,1),d}return w(n,j),S(n,[{key:"computeWorldPosition",value:function(c,d){return d.x=this.x*c.a+this.y*c.b+c.worldX,d.y=this.x*c.c+this.y*c.d+c.worldY,d}},{key:"computeWorldRotation",value:function(c){var d=this.rotation*te.degRad,p=Math.cos(d),y=Math.sin(d),R=p*c.a+y*c.b,G=p*c.c+y*c.d;return te.atan2Deg(G,R)}},{key:"copy",value:function(){var c=new n(this.name);return c.x=this.x,c.y=this.y,c.rotation=this.rotation,c.color.setFromColor(this.color),c}}]),n}(ge),Kr=function(j){function n(c,d){_(this,n);var p=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return p.x=0,p.y=0,p.scaleX=1,p.scaleY=1,p.rotation=0,p.width=0,p.height=0,p.color=new $(1,1,1,1),p.region=null,p.sequence=null,p.offset=me.newFloatArray(8),p.uvs=me.newFloatArray(8),p.tempColor=new $(1,1,1,1),p.path=d,p}return w(n,j),S(n,[{key:"updateRegion",value:function(){if(!this.region)throw new Error("Region not set.");var c=this.region,d=this.uvs;if(c==null)return d[0]=0,d[1]=0,d[2]=0,d[3]=1,d[4]=1,d[5]=1,d[6]=1,void(d[7]=0);var p=this.width/this.region.originalWidth*this.scaleX,y=this.height/this.region.originalHeight*this.scaleY,R=-this.width/2*this.scaleX+this.region.offsetX*p,G=-this.height/2*this.scaleY+this.region.offsetY*y,q=R+this.region.width*p,P=G+this.region.height*y,Y=this.rotation*te.degRad,ee=Math.cos(Y),ne=Math.sin(Y),ce=this.x,le=this.y,ve=R*ee+ce,ye=R*ne,xe=G*ee+le,Re=G*ne,Pe=q*ee+ce,De=q*ne,Ne=P*ee+le,Ve=P*ne,ct=this.offset;ct[0]=ve-Re,ct[1]=xe+ye,ct[2]=ve-Ve,ct[3]=Ne+ye,ct[4]=Pe-Ve,ct[5]=Ne+De,ct[6]=Pe-Re,ct[7]=xe+De,c.degrees==90?(d[0]=c.u2,d[1]=c.v2,d[2]=c.u,d[3]=c.v2,d[4]=c.u,d[5]=c.v,d[6]=c.u2,d[7]=c.v):(d[0]=c.u,d[1]=c.v2,d[2]=c.u,d[3]=c.v,d[4]=c.u2,d[5]=c.v,d[6]=c.u2,d[7]=c.v2)}},{key:"computeWorldVertices",value:function(c,d,p,y){this.sequence!=null&&this.sequence.apply(c,this);var R=c.bone,G=this.offset,q=R.worldX,P=R.worldY,Y=R.a,ee=R.b,ne=R.c,ce=R.d,le=0,ve=0;le=G[0],ve=G[1],d[p]=le*Y+ve*ee+q,d[p+1]=le*ne+ve*ce+P,p+=y,le=G[2],ve=G[3],d[p]=le*Y+ve*ee+q,d[p+1]=le*ne+ve*ce+P,p+=y,le=G[4],ve=G[5],d[p]=le*Y+ve*ee+q,d[p+1]=le*ne+ve*ce+P,p+=y,le=G[6],ve=G[7],d[p]=le*Y+ve*ee+q,d[p+1]=le*ne+ve*ce+P}},{key:"copy",value:function(){var c=new n(this.name,this.path);return c.region=this.region,c.x=this.x,c.y=this.y,c.scaleX=this.scaleX,c.scaleY=this.scaleY,c.rotation=this.rotation,c.width=this.width,c.height=this.height,me.arrayCopy(this.uvs,0,c.uvs,0,8),me.arrayCopy(this.offset,0,c.offset,0,8),c.color.setFromColor(this.color),c.sequence=this.sequence!=null?this.sequence.copy():null,c}}]),n}(ue);Kr.X1=0,Kr.Y1=1,Kr.C1R=2,Kr.C1G=3,Kr.C1B=4,Kr.C1A=5,Kr.U1=6,Kr.V1=7,Kr.X2=8,Kr.Y2=9,Kr.C2R=10,Kr.C2G=11,Kr.C2B=12,Kr.C2A=13,Kr.U2=14,Kr.V2=15,Kr.X3=16,Kr.Y3=17,Kr.C3R=18,Kr.C3G=19,Kr.C3B=20,Kr.C3A=21,Kr.U3=22,Kr.V3=23,Kr.X4=24,Kr.Y4=25,Kr.C4R=26,Kr.C4G=27,Kr.C4B=28,Kr.C4A=29,Kr.U4=30,Kr.V4=31;var pl=function(){function j(n){_(this,j),this.atlas=n}return S(j,[{key:"loadSequence",value:function(n,c,d){for(var p=d.regions,y=0,R=p.length;y<R;y++){var G=d.getPath(c,y),q=this.atlas.findRegion(G);if(q==null)throw new Error("Region not found in atlas: "+G+" (sequence: "+n+")");p[y]=q}}},{key:"newRegionAttachment",value:function(n,c,d,p){var y=new Kr(c,d);if(p!=null)this.loadSequence(c,d,p);else{var R=this.atlas.findRegion(d);if(!R)throw new Error("Region not found in atlas: "+d+" (region attachment: "+c+")");y.region=R}return y}},{key:"newMeshAttachment",value:function(n,c,d,p){var y=new qs(c,d);if(p!=null)this.loadSequence(c,d,p);else{var R=this.atlas.findRegion(d);if(!R)throw new Error("Region not found in atlas: "+d+" (mesh attachment: "+c+")");y.region=R}return y}},{key:"newBoundingBoxAttachment",value:function(n,c){return new q1(c)}},{key:"newPathAttachment",value:function(n,c){return new js(c)}},{key:"newPointAttachment",value:function(n,c){return new J1(c)}},{key:"newClippingAttachment",value:function(n,c){return new Co(c)}}]),j}(),s1=function j(n,c,d){if(_(this,j),this.index=0,this.parent=null,this.length=0,this.x=0,this.y=0,this.rotation=0,this.scaleX=1,this.scaleY=1,this.shearX=0,this.shearY=0,this.inherit=Pn.Normal,this.skinRequired=!1,this.color=new $,this.visible=!1,n<0)throw new Error("index must be >= 0.");if(!c)throw new Error("name cannot be null.");this.index=n,this.name=c,this.parent=d},Pn=void 0;(function(j){j[j.Normal=0]="Normal",j[j.OnlyTranslation=1]="OnlyTranslation",j[j.NoRotationOrReflection=2]="NoRotationOrReflection",j[j.NoScale=3]="NoScale",j[j.NoScaleOrReflection=4]="NoScaleOrReflection"})(Pn||(Pn={}));var u1=function(){function j(n,c,d){if(_(this,j),this.parent=null,this.children=new Array,this.x=0,this.y=0,this.rotation=0,this.scaleX=0,this.scaleY=0,this.shearX=0,this.shearY=0,this.ax=0,this.ay=0,this.arotation=0,this.ascaleX=0,this.ascaleY=0,this.ashearX=0,this.ashearY=0,this.a=0,this.b=0,this.c=0,this.d=0,this.worldY=0,this.worldX=0,this.inherit=Pn.Normal,this.sorted=!1,this.active=!1,!n)throw new Error("data cannot be null.");if(!c)throw new Error("skeleton cannot be null.");this.data=n,this.skeleton=c,this.parent=d,this.setToSetupPose()}return S(j,[{key:"isActive",value:function(){return this.active}},{key:"update",value:function(n){this.updateWorldTransformWith(this.ax,this.ay,this.arotation,this.ascaleX,this.ascaleY,this.ashearX,this.ashearY)}},{key:"updateWorldTransform",value:function(){this.updateWorldTransformWith(this.x,this.y,this.rotation,this.scaleX,this.scaleY,this.shearX,this.shearY)}},{key:"updateWorldTransformWith",value:function(n,c,d,p,y,R,G){this.ax=n,this.ay=c,this.arotation=d,this.ascaleX=p,this.ascaleY=y,this.ashearX=R,this.ashearY=G;var q=this.parent;if(!q){var P=this.skeleton,Y=P.scaleX,ee=P.scaleY,ne=(d+R)*te.degRad,ce=(d+90+G)*te.degRad;return this.a=Math.cos(ne)*p*Y,this.b=Math.cos(ce)*y*Y,this.c=Math.sin(ne)*p*ee,this.d=Math.sin(ce)*y*ee,this.worldX=n*Y+P.x,void(this.worldY=c*ee+P.y)}var le=q.a,ve=q.b,ye=q.c,xe=q.d;switch(this.worldX=le*n+ve*c+q.worldX,this.worldY=ye*n+xe*c+q.worldY,this.inherit){case Pn.Normal:var Re=(d+R)*te.degRad,Pe=(d+90+G)*te.degRad,De=Math.cos(Re)*p,Ne=Math.cos(Pe)*y,Ve=Math.sin(Re)*p,ct=Math.sin(Pe)*y;return this.a=le*De+ve*Ve,this.b=le*Ne+ve*ct,this.c=ye*De+xe*Ve,void(this.d=ye*Ne+xe*ct);case Pn.OnlyTranslation:var He=(d+R)*te.degRad,tt=(d+90+G)*te.degRad;this.a=Math.cos(He)*p,this.b=Math.cos(tt)*y,this.c=Math.sin(He)*p,this.d=Math.sin(tt)*y;break;case Pn.NoRotationOrReflection:var et=le*le+ye*ye,xt=0;et>1e-4?(et=Math.abs(le*xe-ve*ye)/et,le/=this.skeleton.scaleX,ve=(ye/=this.skeleton.scaleY)*et,xe=le*et,xt=
47Math.atan2(ye,le)*te.radDeg):(le=0,ye=0,xt=90-Math.atan2(xe,ve)*te.radDeg);var wt=(d+R-xt)*te.degRad,Tt=(d+G-xt+90)*te.degRad,St=Math.cos(wt)*p,je=Math.cos(Tt)*y,Qe=Math.sin(wt)*p,Lt=Math.sin(Tt)*y;this.a=le*St-ve*Qe,this.b=le*je-ve*Lt,this.c=ye*St+xe*Qe,this.d=ye*je+xe*Lt;break;case Pn.NoScale:case Pn.NoScaleOrReflection:d*=te.degRad;var Rt=Math.cos(d),Ht=Math.sin(d),Ft=(le*Rt+ve*Ht)/this.skeleton.scaleX,Je=(ye*Rt+xe*Ht)/this.skeleton.scaleY,st=Math.sqrt(Ft*Ft+Je*Je);st>1e-5&&(st=1/st),Ft*=st,Je*=st,st=Math.sqrt(Ft*Ft+Je*Je),this.inherit==Pn.NoScale&&le*xe-ve*ye<0!=(this.skeleton.scaleX<0!=this.skeleton.scaleY<0)&&(st=-st),d=Math.PI/2+Math.atan2(Je,Ft);var _t=Math.cos(d)*st,At=Math.sin(d)*st;R*=te.degRad,G=(90+G)*te.degRad;var jt=Math.cos(R)*p,Nt=Math.cos(G)*y,Pt=Math.sin(R)*p,kt=Math.sin(G)*y;this.a=Ft*jt+_t*Pt,this.b=Ft*Nt+_t*kt,this.c=Je*jt+At*Pt,this.d=Je*Nt+At*kt}this.a*=this.skeleton.scaleX,this.b*=this.skeleton.scaleX,this.c*=this.skeleton.scaleY,this.d*=this.skeleton.scaleY}},{key:"setToSetupPose",value:function(){var n=this.data;this.x=n.x,this.y=n.y,this.rotation=n.rotation,this.scaleX=n.scaleX,this.scaleY=n.scaleY,this.shearX=n.shearX,this.shearY=n.shearY,this.inherit=n.inherit}},{key:"updateAppliedTransform",value:function(){var n=this.parent;if(!n)return this.ax=this.worldX-this.skeleton.x,this.ay=this.worldY-this.skeleton.y,this.arotation=Math.atan2(this.c,this.a)*te.radDeg,this.ascaleX=Math.sqrt(this.a*this.a+this.c*this.c),this.ascaleY=Math.sqrt(this.b*this.b+this.d*this.d),this.ashearX=0,void(this.ashearY=Math.atan2(this.a*this.b+this.c*this.d,this.a*this.d-this.b*this.c)*te.radDeg);var c=n.a,d=n.b,p=n.c,y=n.d,R=1/(c*y-d*p),G=y*R,q=d*R,P=p*R,Y=c*R,ee=this.worldX-n.worldX,ne=this.worldY-n.worldY;this.ax=ee*G-ne*q,this.ay=ne*Y-ee*P;var ce=void 0,le=void 0,ve=void 0,ye=void 0;if(this.inherit==Pn.OnlyTranslation)ce=this.a,le=this.b,ve=this.c,ye=this.d;else{switch(this.inherit){case Pn.NoRotationOrReflection:var xe=Math.abs(c*y-d*p)/(c*c+p*p),Re=c/this.skeleton.scaleX;d=-(p/this.skeleton.scaleY)*xe*this.skeleton.scaleX,G=(y=Re*xe*this.skeleton.scaleY)*(R=1/(c*y-d*p)),q=d*R;break;case Pn.NoScale:case Pn.NoScaleOrReflection:var Pe=te.cosDeg(this.rotation),De=te.sinDeg(this.rotation);c=(c*Pe+d*De)/this.skeleton.scaleX,p=(p*Pe+y*De)/this.skeleton.scaleY;var Ne=Math.sqrt(c*c+p*p);Ne>1e-5&&(Ne=1/Ne),c*=Ne,p*=Ne,Ne=Math.sqrt(c*c+p*p),this.inherit==Pn.NoScale&&R<0!=(this.skeleton.scaleX<0!=this.skeleton.scaleY<0)&&(Ne=-Ne);var Ve=te.PI/2+Math.atan2(p,c);d=Math.cos(Ve)*Ne,G=(y=Math.sin(Ve)*Ne)*(R=1/(c*y-d*p)),q=d*R,P=p*R,Y=c*R}ce=G*this.a-q*this.c,le=G*this.b-q*this.d,ve=Y*this.c-P*this.a,ye=Y*this.d-P*this.b}if(this.ashearX=0,this.ascaleX=Math.sqrt(ce*ce+ve*ve),this.ascaleX>1e-4){var ct=ce*ye-le*ve;this.ascaleY=ct/this.ascaleX,this.ashearY=-Math.atan2(ce*le+ve*ye,ct)*te.radDeg,this.arotation=Math.atan2(ve,ce)*te.radDeg}else this.ascaleX=0,this.ascaleY=Math.sqrt(le*le+ye*ye),this.ashearY=0,this.arotation=90-Math.atan2(ye,le)*te.radDeg}},{key:"getWorldRotationX",value:function(){return Math.atan2(this.c,this.a)*te.radDeg}},{key:"getWorldRotationY",value:function(){return Math.atan2(this.d,this.b)*te.radDeg}},{key:"getWorldScaleX",value:function(){return Math.sqrt(this.a*this.a+this.c*this.c)}},{key:"getWorldScaleY",value:function(){return Math.sqrt(this.b*this.b+this.d*this.d)}},{key:"worldToLocal",value:function(n){var c=1/(this.a*this.d-this.b*this.c),d=n.x-this.worldX,p=n.y-this.worldY;return n.x=d*this.d*c-p*this.b*c,n.y=p*this.a*c-d*this.c*c,n}},{key:"localToWorld",value:function(n){var c=n.x,d=n.y;return n.x=c*this.a+d*this.b+this.worldX,n.y=c*this.c+d*this.d+this.worldY,n}},{key:"worldToParent",value:function(n){if(n==null)throw new Error("world cannot be null.");return this.parent==null?n:this.parent.worldToLocal(n)}},{key:"parentToWorld",value:function(n){if(n==null)throw new Error("world cannot be null.");return this.parent==null?n:this.parent.localToWorld(n)}},{key:"worldToLocalRotation",value:function(n){var c=te.sinDeg(n),d=te.cosDeg(n);return Math.atan2(this.a*c-this.c*d,this.d*d-this.b*c)*te.radDeg+this.rotation-this.shearX}},{key:"localToWorldRotation",value:function(n){n-=this.rotation-this.shearX;var c=te.sinDeg(n),d=te.cosDeg(n);return Math.atan2(d*this.c+c*this.d,d*this.a+c*this.b)*te.radDeg}},{key:"rotateWorld",value:function(n){n*=te.degRad;var c=Math.sin(n),d=Math.cos(n),p=this.a,y=this.b;this.a=d*p-c*this.c,this.b=d*y-c*this.d,this.c=c*p+d*this.c,this.d=c*y+d*this.d}},{key:"getWorldScale",value:function(){var n=this.scaleX,c=this.scaleY;if(this.parent){var d=this.parent.getWorldScale();n*=d.x,c*=d.y}return{x:n,y:c}}}]),j}(),Js=function j(n,c,d){_(this,j),this.name=n,this.order=c,this.skinRequired=d},R2=function(){function j(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new gl;_(this,j),this.pathPrefix="",this.assets={},this.errors={},this.toLoad=0,this.loaded=0,this.textureLoader=n,this.pathPrefix=c,this.downloader=d}return S(j,[{key:"start",value:function(n){return this.toLoad++,this.pathPrefix+n}},{key:"success",value:function(n,c,d){this.toLoad--,this.loaded++,this.assets[c]=d,n&&n(c,d)}},{key:"error",value:function(n,c,d){this.toLoad--,this.loaded++,this.errors[c]=d,n&&n(c,d)}},{key:"loadAll",value:function(){var n=this;return new Promise(function(c,d){requestAnimationFrame(function p(){n.isLoadingComplete()?n.hasErrors()?d(n.errors):c(n):requestAnimationFrame(p)})})}},{key:"setRawDataURI",value:function(n,c){this.downloader.rawDataUris[this.pathPrefix+n]=c}},{key:"loadBinary",value:function(n){var c=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};n=this.start(n),this.downloader.downloadBinary(n,function(y){c.success(d,n,y)},function(y,R){c.error(p,n,"Couldn't load binary "+n+": status "+y+", "+R)})}},{key:"loadText",value:function(n){var c=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};n=this.start(n),this.downloader.downloadText(n,function(y){c.success(d,n,y)},function(y,R){c.error(p,n,"Couldn't load text "+n+": status "+y+", "+R)})}},{key:"loadJson",value:function(n){var c=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};n=this.start(n),this.downloader.downloadJson(n,function(y){c.success(d,n,y)},function(y,R){c.error(p,n,"Couldn't load JSON "+n+": status "+y+", "+R)})}},{key:"loadTexture",value:function(n){var c=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};n=this.start(n);var y=!(typeof window>"u"||typeof navigator>"u"||!window.document),R=!y;if(R)fetch(n,{mode:"cors"}).then(function(q){return q.ok?q.blob():(c.error(p,n,"Couldn't load image: "+n),null)}).then(function(q){return q?createImageBitmap(q,{premultiplyAlpha:"none",colorSpaceConversion:"none"}):null}).then(function(q){q&&c.success(d,n,c.textureLoader(q))});else{var G=new Image;G.crossOrigin="anonymous",G.onload=function(){c.success(d,n,c.textureLoader(G))},G.onerror=function(){c.error(p,n,"Couldn't load image: "+n)},this.downloader.rawDataUris[n]&&(n=this.downloader.rawDataUris[n]),G.src=n}}},{key:"loadTextureAtlas",value:function(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},d=this,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},y=arguments[3],R=n.lastIndexOf("/"),G=R>=0?n.substring(0,R+1):"";n=this.start(n),this.downloader.downloadText(n,function(q){try{(function(){var P=new ml(q),Y=P.pages.length,ee=!1,ne=!0,ce=!1,le=void 0;try{for(var ve,ye=function(){var Re=ve.value;d.loadTexture(y?y[Re.name]:G+Re.name,function(Pe,De){ee||(Re.setTexture(De),--Y==0&&d.success(c,n,P))},function(Pe,De){ee||d.error(p,n,"Couldn't load texture atlas "+n+" page image: "+Pe),ee=!0})},xe=P.pages[Symbol.iterator]();!(ne=(ve=xe.next()).done);
47ne=!0)ye()}catch(Re){ce=!0,le=Re}finally{try{!ne&&xe.return&&xe.return()}finally{if(ce)throw le}}})()}catch(P){d.error(p,n,"Couldn't parse texture atlas "+n+": "+P.message)}},function(q,P){d.error(p,n,"Couldn't load texture atlas "+n+": status "+q+", "+P)})}},{key:"get",value:function(n){return this.assets[this.pathPrefix+n]}},{key:"require",value:function(n){n=this.pathPrefix+n;var c=this.assets[n];if(c)return c;var d=this.errors[n];throw Error("Asset not found: "+n+(d?"\n"+d:""))}},{key:"remove",value:function(n){n=this.pathPrefix+n;var c=this.assets[n];return c.dispose&&c.dispose(),delete this.assets[n],c}},{key:"removeAll",value:function(){for(var n in this.assets){var c=this.assets[n];c.dispose&&c.dispose()}this.assets={}}},{key:"isLoadingComplete",value:function(){return this.toLoad==0}},{key:"getToLoad",value:function(){return this.toLoad}},{key:"getLoaded",value:function(){return this.loaded}},{key:"dispose",value:function(){this.removeAll()}},{key:"hasErrors",value:function(){return Object.keys(this.errors).length>0}},{key:"getErrors",value:function(){return this.errors}}]),j}(),gl=function(){function j(){_(this,j),this.callbacks={},this.rawDataUris={}}return S(j,[{key:"dataUriToString",value:function(n){if(!n.startsWith("data:"))throw new Error("Not a data URI.");var c=n.indexOf("base64,");return c!=-1?(c+=7,atob(n.substr(c))):n.substr(n.indexOf(",")+1)}},{key:"base64ToUint8Array",value:function(n){for(var c=window.atob(n),d=c.length,p=new Uint8Array(d),y=0;y<d;y++)p[y]=c.charCodeAt(y);return p}},{key:"dataUriToUint8Array",value:function(n){if(!n.startsWith("data:"))throw new Error("Not a data URI.");var c=n.indexOf("base64,");if(c==-1)throw new Error("Not a binary data URI.");return c+=7,this.base64ToUint8Array(n.substr(c))}},{key:"downloadText",value:function(n,c,d){var p=this;if(!this.start(n,c,d))if(this.rawDataUris[n])try{var y=this.rawDataUris[n];this.finish(n,200,this.dataUriToString(y))}catch(q){this.finish(n,400,JSON.stringify(q))}else{var R=new XMLHttpRequest;R.overrideMimeType("text/html"),R.open("GET",n,!0);var G=function(){p.finish(n,R.status,R.responseText)};R.onload=G,R.onerror=G,R.send()}}},{key:"downloadJson",value:function(n,c,d){this.downloadText(n,function(p){c(JSON.parse(p))},d)}},{key:"downloadBinary",value:function(n,c,d){var p=this;if(!this.start(n,c,d))if(this.rawDataUris[n])try{var y=this.rawDataUris[n];this.finish(n,200,this.dataUriToUint8Array(y))}catch(q){this.finish(n,400,JSON.stringify(q))}else{var R=new XMLHttpRequest;R.open("GET",n,!0),R.responseType="arraybuffer";var G=function(){p.finish(n,R.status,R.response)};R.onload=function(){R.status==200||R.status==0?p.finish(n,200,new Uint8Array(R.response)):G()},R.onerror=G,R.send()}}},{key:"start",value:function(n,c,d){var p=this.callbacks[n];try{if(p)return!0;this.callbacks[n]=p=[]}finally{p.push(c,d)}}},{key:"finish",value:function(n,c,d){var p=this.callbacks[n];delete this.callbacks[n];for(var y=c==200||c==0?[d]:[c,d],R=y.length-1,G=p.length;R<G;R+=2)p[R].apply(null,y)}}]),j}(),Z1=function j(n,c){if(_(this,j),this.intValue=0,this.floatValue=0,this.stringValue=null,this.time=0,this.volume=0,this.balance=0,!c)throw new Error("data cannot be null.");this.time=n,this.data=c},K1=function j(n){_(this,j),this.intValue=0,this.floatValue=0,this.stringValue=null,this.audioPath=null,this.volume=0,this.balance=0,this.name=n},yl=function(){function j(n,c){if(_(this,j),this.bendDirection=0,this.compress=!1,this.stretch=!1,this.mix=1,this.softness=0,this.active=!1,!n)throw new Error("data cannot be null.");if(!c)throw new Error("skeleton cannot be null.");this.data=n,this.bones=new Array;for(var d=0;d<n.bones.length;d++){var p=c.findBone(n.bones[d].name);if(!p)throw new Error("Couldn't find bone "+n.bones[d].name);this.bones.push(p)}var y=c.findBone(n.target.name);if(!y)throw new Error("Couldn't find bone "+n.target.name);this.target=y,this.mix=n.mix,this.softness=n.softness,this.bendDirection=n.bendDirection,this.compress=n.compress,this.stretch=n.stretch}return S(j,[{key:"isActive",value:function(){return this.active}},{key:"setToSetupPose",value:function(){var n=this.data;this.mix=n.mix,this.softness=n.softness,this.bendDirection=n.bendDirection,this.compress=n.compress,this.stretch=n.stretch}},{key:"update",value:function(n){if(this.mix!=0){var c=this.target,d=this.bones;switch(d.length){case 1:this.apply1(d[0],c.worldX,c.worldY,this.compress,this.stretch,this.data.uniform,this.mix);break;case 2:this.apply2(d[0],d[1],c.worldX,c.worldY,this.bendDirection,this.stretch,this.data.uniform,this.softness,this.mix)}}}},{key:"apply1",value:function(n,c,d,p,y,R,G){var q=n.parent;if(!q)throw new Error("IK bone must have parent.");var P=q.a,Y=q.b,ee=q.c,ne=q.d,ce=-n.ashearX-n.arotation,le=0,ve=0;switch(n.inherit){case Pn.OnlyTranslation:le=(c-n.worldX)*te.signum(n.skeleton.scaleX),ve=(d-n.worldY)*te.signum(n.skeleton.scaleY);break;case Pn.NoRotationOrReflection:var ye=Math.abs(P*ne-Y*ee)/Math.max(1e-4,P*P+ee*ee),xe=P/n.skeleton.scaleX,Re=ee/n.skeleton.scaleY;Y=-Re*ye*n.skeleton.scaleX,ne=xe*ye*n.skeleton.scaleY,ce+=Math.atan2(Re,xe)*te.radDeg;
47default:var Pe=c-q.worldX,De=d-q.worldY,Ne=P*ne-Y*ee;Math.abs(Ne)<=1e-4?(le=0,ve=0):(le=(Pe*ne-De*Y)/Ne-n.ax,ve=(De*P-Pe*ee)/Ne-n.ay)}ce+=Math.atan2(ve,le)*te.radDeg,n.ascaleX<0&&(ce+=180),ce>180?ce-=360:ce<-180&&(ce+=360);var Ve=n.ascaleX,ct=n.ascaleY;if(p||y){switch(n.inherit){case Pn.NoScale:case Pn.NoScaleOrReflection:le=c-n.worldX,ve=d-n.worldY}var He=n.data.length*Ve;if(He>1e-4){var tt=le*le+ve*ve;if(p&&tt<He*He||y&&tt>He*He){var et=(Math.sqrt(tt)/He-1)*G+1;Ve*=et,R&&(ct*=et)}}}n.updateWorldTransformWith(n.ax,n.ay,n.arotation+ce*G,Ve,ct,n.ashearX,n.ashearY)}},{key:"apply2",value:function(n,c,d,p,y,R,G,q,P){if(n.inherit==Pn.Normal&&c.inherit==Pn.Normal){var Y=n.ax,ee=n.ay,ne=n.ascaleX,ce=n.ascaleY,le=ne,ve=ce,ye=c.ascaleX,xe=0,Re=0,Pe=0;ne<0?(ne=-ne,xe=180,Pe=-1):(xe=0,Pe=1),ce<0&&(ce=-ce,Pe=-Pe),ye<0?(ye=-ye,Re=180):Re=0;var De=c.ax,Ne=0,Ve=0,ct=0,He=n.a,tt=n.b,et=n.c,xt=n.d,wt=Math.abs(ne-ce)<=1e-4;!wt||R?(Ne=0,Ve=He*De+n.worldX,ct=et*De+n.worldY):(Ve=He*De+tt*(Ne=c.ay)+n.worldX,ct=et*De+xt*Ne+n.worldY);var Tt=n.parent;if(!Tt)throw new Error("IK parent must itself have a parent.");He=Tt.a,tt=Tt.b,et=Tt.c;var St=He*(xt=Tt.d)-tt*et,je=Ve-Tt.worldX,Qe=ct-Tt.worldY,Lt=(je*xt-Qe*tt)*(St=Math.abs(St)<=1e-4?0:1/St)-Y,Rt=(Qe*He-je*et)*St-ee,Ht=Math.sqrt(Lt*Lt+Rt*Rt),Ft=c.data.length*ye,Je=void 0,st=void 0;if(Ht<1e-4)return this.apply1(n,d,p,!1,R,!1,P),void c.updateWorldTransformWith(De,Ne,0,c.ascaleX,c.ascaleY,c.ashearX,c.ashearY);var _t=((je=d-Tt.worldX)*xt-(Qe=p-Tt.worldY)*tt)*St-Y,At=(Qe*He-je*et)*St-ee,jt=_t*_t+At*At;if(q!=0){q*=ne*(ye+1)*.5;var Nt=Math.sqrt(jt),Pt=Nt-Ht-Ft*ne+q;if(Pt>0){var kt=Math.min(1,Pt/(2*q))-1;jt=(_t-=(kt=(Pt-q*(1-kt*kt))/Nt)*_t)*_t+(At-=kt*At)*At}}e:if(wt){var qt=(jt-Ht*Ht-(Ft*=ne)*Ft)/(2*Ht*Ft);qt<-1?(qt=-1,st=Math.PI*y):qt>1?(qt=1,st=0,R&&(le*=He=(Math.sqrt(jt)/(Ht+Ft)-1)*P+1,G&&(ve*=He))):st=Math.acos(qt)*y,He=Ht+Ft*qt,tt=Ft*Math.sin(st),Je=Math.atan2(At*He-_t*tt,_t*He+At*tt)}else{var It=(He=ne*Ft)*He,Yt=(tt=ce*Ft)*tt,ar=Math.atan2(At,_t),pe=-2*Yt*Ht,Sr=Yt-It;if((xt=pe*pe-4*Sr*(et=Yt*Ht*Ht+It*jt-It*Yt))>=0){var Vt=Math.sqrt(xt);pe<0&&(Vt=-Vt);var Jt=(Vt=.5*-(pe+Vt))/Sr,vr=et/Vt,ir=Math.abs(Jt)<Math.abs(vr)?Jt:vr;if(ir*ir<=jt){Qe=Math.sqrt(jt-ir*ir)*y,Je=ar-Math.atan2(Qe,ir),st=Math.atan2(Qe/ce,(ir-Ht)/ne);break e}}var Vr=te.PI,br=Ht-He,Wr=br*br,Pr=0,Fr=0,$r=Ht+He,Kn=$r*$r,aa=0;(et=-He*Ht/(It-Yt))>=-1&&et<=1&&(et=Math.acos(et),(xt=(je=He*Math.cos(et)+Ht)*je+(Qe=tt*Math.sin(et))*Qe)<Wr&&(Vr=et,Wr=xt,br=je,Pr=Qe),xt>Kn&&(Fr=et,Kn=xt,$r=je,aa=Qe)),jt<=.5*(Wr+Kn)?(Je=ar-Math.atan2(Pr*y,br),st=Vr*y):(Je=ar-Math.atan2(aa*y,$r),st=Fr*y)}var vn=Math.atan2(Ne,De)*Pe,jr=n.arotation;(Je=(Je-vn)*te.radDeg+xe-jr)>180?Je-=360:Je<-180&&(Je+=360),n.updateWorldTransformWith(Y,ee,jr+Je*P,le,ve,0,0),jr=c.arotation,(st=((st+vn)*te.radDeg-c.ashearX)*Pe+Re-jr)>180?st-=360:st<-180&&(st+=360),c.updateWorldTransformWith(De,Ne,jr+st*P,c.ascaleX,c.ascaleY,c.ashearX,c.ashearY)}}}]),j}(),$1=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,0,!1));return d.bones=new Array,d._target=null,d.bendDirection=0,d.compress=!1,d.stretch=!1,d.uniform=!1,d.mix=0,d.softness=0,d}return w(n,j),S(n,[{key:"target",set:function(c){this._target=c},get:function(){if(this._target)return this._target;throw new Error("BoneData not set.")}}]),n}(Js),Q1=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,0,!1));return d.bones=new Array,d._target=null,d.positionMode=zi.Fixed,d.spacingMode=la.Fixed,d.rotateMode=rs.Chain,d.offsetRotation=0,d.position=0,d.spacing=0,d.mixRotate=0,d.mixX=0,d.mixY=0,d}return w(n,j),S(n,[{key:"target",set:function(c){this._target=c},get:function(){if(this._target)return this._target;throw new Error("SlotData not set.")}}]),n}(Js),zi=void 0;(function(j){j[j.Fixed=0]="Fixed",j[j.Percent=1]="Percent"})(zi||(zi={}));var la=void 0;(function(j){j[j.Length=0]="Length",j[j.Fixed=1]="Fixed",j[j.Percent=2]="Percent",j[j.Proportional=3]="Proportional"})(la||(la={}));var rs=void 0;(function(j){j[j.Tangent=0]="Tangent",j[j.Chain=1]="Chain",j[j.ChainScale=2]="ChainScale"})(rs||(rs={}));var Zs=function(){function j(n,c){if(_(this,j),this.position=0,this.spacing=0,this.mixRotate=0,this.mixX=0,this.mixY=0,this.spaces=new Array,this.positions=new Array,this.world=new Array,this.curves=new Array,this.lengths=new Array,this.segments=new Array,this.active=!1,!n)throw new Error("data cannot be null.");if(!c)throw new Error("skeleton cannot be null.");this.data=n,this.bones=new Array;for(var d=0,p=n.bones.length;d<p;d++){var y=c.findBone(n.bones[d].name);if(!y)throw new Error("Couldn't find bone "+n.bones[d].name+".");this.bones.push(y)}var R=c.findSlot(n.target.name);if(!R)throw new Error("Couldn't find target bone "+n.target.name);this.target=R,this.position=n.position,this.spacing=n.spacing,this.mixRotate=n.mixRotate,this.mixX=n.mixX,this.mixY=n.mixY}return S(j,[{key:"isActive",value:function(){return this.active}},{key:"setToSetupPose",value:function(){var n=this.data;this.position=n.position,this.spacing=n.spacing,this.mixRotate=n.mixRotate,this.mixX=n.mixX,this.mixY=n.mixY}},{key:"update",value:function(n){var c=this.target.getAttachment();if(c instanceof js){var d=this.mixRotate,p=this.mixX,y=this.mixY;if(d!=0||p!=0||y!=0){var R=this.data,G=R.rotateMode==rs.Tangent,q=R.rotateMode==rs.ChainScale,P=this.bones,Y=P.length,ee=G?Y:Y+1,ne=me.setArraySize(this.spaces,ee),ce=q?this.lengths=me.setArraySize(this.lengths,Y):[],le=this.spacing;switch(R.spacingMode){case la.Percent:if(q)for(var ve=0,ye=ee-1;ve<ye;ve++){var xe=P[ve],Re=xe.data.length,Pe=Re*xe.a,De=Re*xe.c;ce[ve]=Math.sqrt(Pe*Pe+De*De)}me.arrayFill(ne,1,ee,le);break;case la.Proportional:for(var Ne=0,Ve=0,ct=ee-1;Ve<ct;){var He=P[Ve],tt=He.data.length;if(tt<j.epsilon)q&&(ce[Ve]=0),ne[++Ve]=le;else{var et=tt*He.a,xt=tt*He.c,wt=Math.sqrt(et*et+xt*xt);q&&(ce[Ve]=wt),ne[++Ve]=wt,Ne+=wt}}if(Ne>0){Ne=ee/Ne*le;for(var Tt=1;Tt<ee;Tt++)ne[Tt]*=Ne}break;default:for(var St=R.spacingMode==la.Length,je=0,Qe=ee-1;je<Qe;){var Lt=P[je],Rt=Lt.data.length;if(Rt<j.epsilon)q&&(ce[je]=0),ne[++je]=le;else{var Ht=Rt*Lt.a,Ft=Rt*Lt.c,Je=Math.sqrt(Ht*Ht+Ft*Ft);q&&(ce[je]=Je),ne[++je]=(St?Rt+le:le)*Je/Rt}}}var st=this.computeWorldPositions(c,ee,G),_t=st[0],At=st[1],jt=R.offsetRotation,Nt=!1;if(jt==0)Nt=R.rotateMode==rs.Chain;else{Nt=!1;var Pt=this.target.bone;jt*=Pt.a*Pt.d-Pt.b*Pt.c>0?te.degRad:-te.degRad}for(var kt=0,qt=3;kt<Y;kt++,qt+=3){var It=P[kt];It.worldX+=(_t-It.worldX)*p,It.worldY+=(At-It.worldY)*y;var Yt=st[qt],ar=st[qt+1],pe=Yt-_t,Sr=ar-At;if(q){var Vt=ce[kt];
47if(Vt!=0){var Jt=(Math.sqrt(pe*pe+Sr*Sr)/Vt-1)*d+1;It.a*=Jt,It.c*=Jt}}if(_t=Yt,At=ar,d>0){var vr=It.a,ir=It.b,Vr=It.c,br=It.d,Wr=0,Pr=0,Fr=0;if(Wr=G?st[qt-1]:ne[kt+1]==0?st[qt+2]:Math.atan2(Sr,pe),Wr-=Math.atan2(Vr,vr),Nt){Pr=Math.cos(Wr),Fr=Math.sin(Wr);var $r=It.data.length;_t+=($r*(Pr*vr-Fr*Vr)-pe)*d,At+=($r*(Fr*vr+Pr*Vr)-Sr)*d}else Wr+=jt;Wr>te.PI?Wr-=te.PI2:Wr<-te.PI&&(Wr+=te.PI2),Wr*=d,Pr=Math.cos(Wr),Fr=Math.sin(Wr),It.a=Pr*vr-Fr*Vr,It.b=Pr*ir-Fr*br,It.c=Fr*vr+Pr*Vr,It.d=Fr*ir+Pr*br}It.updateAppliedTransform()}}}}},{key:"computeWorldPositions",value:function(n,c,d){var p=this.target,y=this.position,R=this.spaces,G=me.setArraySize(this.positions,3*c+2),q=this.world,P=n.closed,Y=n.worldVerticesLength,ee=Y/6,ne=j.NONE;if(!n.constantSpeed){var ce=n.lengths,le=ce[ee-=P?1:2];this.data.positionMode==zi.Percent&&(y*=le);var ve=void 0;switch(this.data.spacingMode){case la.Percent:ve=le;break;case la.Proportional:ve=le/c;break;default:ve=1}q=me.setArraySize(this.world,8);for(var ye=0,xe=0,Re=0;ye<c;ye++,xe+=3){var Pe=R[ye]*ve,De=y+=Pe;if(P)(De%=le)<0&&(De+=le),Re=0;else{if(De<0){ne!=j.BEFORE&&(ne=j.BEFORE,n.computeWorldVertices(p,2,4,q,0,2)),this.addBeforePosition(De,q,0,G,xe);continue}if(De>le){ne!=j.AFTER&&(ne=j.AFTER,n.computeWorldVertices(p,Y-6,4,q,0,2)),this.addAfterPosition(De-le,q,0,G,xe);continue}}for(;;Re++){var Ne=ce[Re];if(!(De>Ne)){if(Re==0)De/=Ne;else{var Ve=ce[Re-1];De=(De-Ve)/(Ne-Ve)}break}}Re!=ne&&(ne=Re,P&&Re==ee?(n.computeWorldVertices(p,Y-4,4,q,0,2),n.computeWorldVertices(p,0,4,q,4,2)):n.computeWorldVertices(p,6*Re+2,8,q,0,2)),this.addCurvePosition(De,q[0],q[1],q[2],q[3],q[4],q[5],q[6],q[7],G,xe,d||ye>0&&Pe==0)}return G}P?(Y+=2,q=me.setArraySize(this.world,Y),n.computeWorldVertices(p,2,Y-4,q,0,2),n.computeWorldVertices(p,0,2,q,Y-4,2),q[Y-2]=q[0],q[Y-1]=q[1]):(ee--,Y-=4,q=me.setArraySize(this.world,Y),n.computeWorldVertices(p,2,Y,q,0,2));for(var ct=me.setArraySize(this.curves,ee),He=0,tt=q[0],et=q[1],xt=0,wt=0,Tt=0,St=0,je=0,Qe=0,Lt=0,Rt=0,Ht=0,Ft=0,Je=0,st=0,_t=0,At=0,jt=0,Nt=2;jt<ee;jt++,Nt+=6)xt=q[Nt],wt=q[Nt+1],Tt=q[Nt+2],St=q[Nt+3],Je=2*(Lt=.1875*(tt-2*xt+Tt))+(Ht=.09375*(3*(xt-Tt)-tt+(je=q[Nt+4]))),st=2*(Rt=.1875*(et-2*wt+St))+(Ft=.09375*(3*(wt-St)-et+(Qe=q[Nt+5]))),_t=.75*(xt-tt)+Lt+.16666667*Ht,At=.75*(wt-et)+Rt+.16666667*Ft,He+=Math.sqrt(_t*_t+At*At),_t+=Je,At+=st,Je+=Ht,st+=Ft,He+=Math.sqrt(_t*_t+At*At),_t+=Je,At+=st,He+=Math.sqrt(_t*_t+At*At),_t+=Je+Ht,At+=st+Ft,He+=Math.sqrt(_t*_t+At*At),ct[jt]=He,tt=je,et=Qe;this.data.positionMode==zi.Percent&&(y*=He);var Pt=void 0;switch(this.data.spacingMode){case la.Percent:Pt=He;break;case la.Proportional:Pt=He/c;break;default:Pt=1}for(var kt=this.segments,qt=0,It=0,Yt=0,ar=0,pe=0;It<c;It++,Yt+=3){var Sr=R[It]*Pt,Vt=y+=Sr;if(P)(Vt%=He)<0&&(Vt+=He),ar=0;else{if(Vt<0){this.addBeforePosition(Vt,q,0,G,Yt);continue}if(Vt>He){this.addAfterPosition(Vt-He,q,Y-4,G,Yt);continue}}for(;;ar++){var Jt=ct[ar];if(!(Vt>Jt)){if(ar==0)Vt/=Jt;else{var vr=ct[ar-1];Vt=(Vt-vr)/(Jt-vr)}break}}if(ar!=ne){ne=ar;var ir=6*ar;for(tt=q[ir],et=q[ir+1],xt=q[ir+2],wt=q[ir+3],Tt=q[ir+4],St=q[ir+5],Je=2*(Lt=.03*(tt-2*xt+Tt))+(Ht=.006*(3*(xt-Tt)-tt+(je=q[ir+6]))),st=2*(Rt=.03*(et-2*wt+St))+(Ft=.006*(3*(wt-St)-et+(Qe=q[ir+7]))),_t=.3*(xt-tt)+Lt+.16666667*Ht,At=.3*(wt-et)+Rt+.16666667*Ft,qt=Math.sqrt(_t*_t+At*At),kt[0]=qt,ir=1;ir<8;ir++)_t+=Je,At+=st,Je+=Ht,st+=Ft,qt+=Math.sqrt(_t*_t+At*At),kt[ir]=qt;_t+=Je,At+=st,qt+=Math.sqrt(_t*_t+At*At),kt[8]=qt,_t+=Je+Ht,At+=st+Ft,qt+=Math.sqrt(_t*_t+At*At),kt[9]=qt,pe=0}for(Vt*=qt;;pe++){var Vr=kt[pe];if(!(Vt>Vr)){if(pe==0)Vt/=Vr;else{var br=kt[pe-1];Vt=pe+(Vt-br)/(Vr-br)}break}}this.addCurvePosition(.1*Vt,tt,et,xt,wt,Tt,St,je,Qe,G,Yt,d||It>0&&Sr==0)}return G}},{key:"addBeforePosition",value:function(n,c,d,p,y){var R=c[d],G=c[d+1],q=c[d+2]-R,P=c[d+3]-G,Y=Math.atan2(P,q);p[y]=R+n*Math.cos(Y),p[y+1]=G+n*Math.sin(Y),p[y+2]=Y}},{key:"addAfterPosition",value:function(n,c,d,p,y){var R=c[d+2],G=c[d+3],q=R-c[d],P=G-c[d+1],Y=Math.atan2(P,q);p[y]=R+n*Math.cos(Y),p[y+1]=G+n*Math.sin(Y),p[y+2]=Y}},{key:"addCurvePosition",value:function(n,c,d,p,y,R,G,q,P,Y,ee,ne){if(n==0||isNaN(n))return Y[ee]=c,Y[ee+1]=d,void(Y[ee+2]=Math.atan2(y-d,p-c));var ce=n*n,le=ce*n,ve=1-n,ye=ve*ve,xe=ye*ve,Re=ve*n,Pe=3*Re,De=ve*Pe,Ne=Pe*n,Ve=c*xe+p*De+R*Ne+q*le,ct=d*xe+y*De+G*Ne+P*le;Y[ee]=Ve,Y[ee+1]=ct,ne&&(Y[ee+2]=n<.001?Math.atan2(y-d,p-c):Math.atan2(ct-(d*ye+y*Re*2+G*ce),Ve-(c*ye+p*Re*2+R*ce)))}}]),j}();Zs.NONE=-1,Zs.BEFORE=-2,Zs.AFTER=-3,Zs.epsilon=1e-5;var O2=function(){function j(n,c){_(this,j),this._bone=null,this.inertia=0,this.strength=0,this.damping=0,this.massInverse=0,this.wind=0,this.gravity=0,this.mix=0,this._reset=!0,this.ux=0,this.uy=0,this.cx=0,this.cy=0,this.tx=0,this.ty=0,this.xOffset=0,this.xVelocity=0,this.yOffset=0,this.yVelocity=0,this.rotateOffset=0,this.rotateVelocity=0,this.scaleOffset=0,this.scaleVelocity=0,this.active=!1,this.remaining=0,this.lastTime=0,this.data=n,this.skeleton=c,this.bone=c.bones[n.bone.index],this.inertia=n.inertia,this.strength=n.strength,this.damping=n.damping,this.massInverse=n.massInverse,this.wind=n.wind,this.gravity=n.gravity,this.mix=n.mix}return S(j,[{key:"bone",set:function(n){this._bone=n},get:function(){if(this._bone)return this._bone;throw new Error("Bone not set.")}}]),S(j,[{key:"reset",value:function(){this.remaining=0,this.lastTime=this.skeleton.time,this._reset=!0,this.xOffset=0,this.xVelocity=0,this.yOffset=0,this.yVelocity=0,this.rotateOffset=0,this.rotateVelocity=0,this.scaleOffset=0,this.scaleVelocity=0}},{key:"setToSetupPose",value:function(){var n=this.data;this.inertia=n.inertia,this.strength=n.strength,this.damping=n.damping,this.massInverse=n.massInverse,this.wind=n.wind,this.gravity=n.gravity,this.mix=n.mix}},{key:"isActive",value:function(){return this.active}},{key:"update",value:function(n){var c=this.mix;if(c!=0){var d=this.data.x>0,p=this.data.y>0,y=this.data.rotate>0||this.data.shearX>0,R=this.data.scaleX>0,G=this.bone,q=G.data.length;switch(n){case ao.none:return;case ao.reset:this.reset();case ao.update:var P=Math.max(this.skeleton.time-this.lastTime,0);this.remaining+=P,this.lastTime=this.skeleton.time;var Y=G.worldX,ee=G.worldY;if(this._reset)this._reset=!1,this.ux=Y,this.uy=ee;else{var ne=this.remaining,ce=this.inertia,le=this.data.limit*P,ve=this.data.step,ye=this.skeleton.data.referenceScale,xe=-1;if(d||p){if(d){var Re=(this.ux-Y)*ce;this.xOffset+=Re>le?le:Re<-le?-le:Re,this.ux=Y}if(p){var Pe=(this.uy-ee)*ce;this.yOffset+=Pe>le?le:Pe<-le?-le:Pe,this.uy=ee}if(ne>=ve){xe=Math.pow(this.damping,60*ve);var De=this.massInverse*ve,Ne=this.strength,Ve=this.wind*ye,ct=(Ks.yDown?-this.gravity:this.gravity)*ye;do d&&(this.xVelocity+=(Ve-this.xOffset*Ne)*De,this.xOffset+=this.xVelocity*ve,this.xVelocity*=xe),p&&(this.yVelocity-=(ct+this.yOffset*Ne)*De,this.yOffset+=this.yVelocity*ve,this.yVelocity*=xe),ne-=ve;while(ne>=ve)}d&&(G.worldX+=this.xOffset*c*this.data.x),p&&(G.worldY+=this.yOffset*c*this.data.y)}if(y||R){var He=Math.atan2(G.c,G.a),tt=0,et=0,xt=0,wt=this.cx-G.worldX,Tt=this.cy-G.worldY;if(wt>le?wt=le:wt<-le&&(wt=-le),Tt>le?Tt=le:Tt<-le&&(Tt=-le),y){xt=(this.data.rotate+this.data.shearX)*c;var St=Math.atan2(Tt+this.ty,wt+this.tx)-He-this.rotateOffset*xt;this.rotateOffset+=(St-Math.ceil(St*te.invPI2-.5)*te.PI2)*ce,St=this.rotateOffset*xt+He,tt=Math.cos(St),et=Math.sin(St),R&&(St=q*G.getWorldScaleX())>0&&(this.scaleOffset+=(wt*tt+Tt*et)*ce/St)}else{tt=Math.cos(He),et=Math.sin(He);var je=q*G.getWorldScaleX();je>0&&(this.scaleOffset+=(wt*tt+Tt*et)*ce/je)}if((ne=this.remaining)>=ve){xe==-1&&(xe=Math.pow(this.damping,60*ve));for(var Qe=this.massInverse*ve,Lt=this.strength,Rt=this.wind,Ht=Ks.yDown?-this.gravity:this.gravity,Ft=q/ye;;)if(ne-=ve,R&&(this.scaleVelocity+=(Rt*tt-Ht*et-this.scaleOffset*Lt)*Qe,this.scaleOffset+=this.scaleVelocity*ve,this.scaleVelocity*=xe),y){if(this.rotateVelocity-=((Rt*et+Ht*tt)*Ft+this.rotateOffset*Lt)*Qe,this.rotateOffset+=this.rotateVelocity*ve,this.rotateVelocity*=xe,ne<ve)break;var Je=this.rotateOffset*xt+He;
47tt=Math.cos(Je),et=Math.sin(Je)}else if(ne<ve)break}}this.remaining=ne}this.cx=G.worldX,this.cy=G.worldY;break;case ao.pose:d&&(G.worldX+=this.xOffset*c*this.data.x),p&&(G.worldY+=this.yOffset*c*this.data.y)}if(y){var st=this.rotateOffset*c,_t=0,At=0,jt=0;if(this.data.shearX>0){var Nt=0;this.data.rotate>0&&(Nt=st*this.data.rotate,_t=Math.sin(Nt),At=Math.cos(Nt),jt=G.b,G.b=At*jt-_t*G.d,G.d=_t*jt+At*G.d),Nt+=st*this.data.shearX,_t=Math.sin(Nt),At=Math.cos(Nt),jt=G.a,G.a=At*jt-_t*G.c,G.c=_t*jt+At*G.c}else st*=this.data.rotate,_t=Math.sin(st),At=Math.cos(st),jt=G.a,G.a=At*jt-_t*G.c,G.c=_t*jt+At*G.c,jt=G.b,G.b=At*jt-_t*G.d,G.d=_t*jt+At*G.d}if(R){var Pt=1+this.scaleOffset*c*this.data.scaleX;G.a*=Pt,G.c*=Pt}n!=ao.pose&&(this.tx=q*G.a,this.ty=q*G.c),G.updateAppliedTransform()}}},{key:"translate",value:function(n,c){this.ux-=n,this.uy-=c,this.cx-=n,this.cy-=c}},{key:"rotate",value:function(n,c,d){var p=d*te.degRad,y=Math.cos(p),R=Math.sin(p),G=this.cx-n,q=this.cy-c;this.translate(G*y-q*R-G,G*R+q*y-q)}}]),j}(),bl=function(){function j(n,c){if(_(this,j),this.darkColor=null,this.attachment=null,this.attachmentState=0,this.sequenceIndex=-1,this.deform=new Array,!n)throw new Error("data cannot be null.");if(!c)throw new Error("bone cannot be null.");this.data=n,this.bone=c,this.color=new $,this.darkColor=n.darkColor?new $:null,this.setToSetupPose()}return S(j,[{key:"getSkeleton",value:function(){return this.bone.skeleton}},{key:"getAttachment",value:function(){return this.attachment}},{key:"setAttachment",value:function(n){this.attachment!=n&&(n instanceof ge&&this.attachment instanceof ge&&n.timelineAttachment==this.attachment.timelineAttachment||(this.deform.length=0),this.attachment=n,this.sequenceIndex=-1)}},{key:"setToSetupPose",value:function(){this.color.setFromColor(this.data.color),this.darkColor&&this.darkColor.setFromColor(this.data.darkColor),this.data.attachmentName?(this.attachment=null,this.setAttachment(this.bone.skeleton.getAttachment(this.data.index,this.data.attachmentName))):this.attachment=null}}]),j}(),_l=function(){function j(n,c){if(_(this,j),this.mixRotate=0,this.mixX=0,this.mixY=0,this.mixScaleX=0,this.mixScaleY=0,this.mixShearY=0,this.temp=new X,this.active=!1,!n)throw new Error("data cannot be null.");if(!c)throw new Error("skeleton cannot be null.");this.data=n,this.bones=new Array;for(var d=0;d<n.bones.length;d++){var p=c.findBone(n.bones[d].name);if(!p)throw new Error("Couldn't find bone "+n.bones[d].name+".");this.bones.push(p)}var y=c.findBone(n.target.name);if(!y)throw new Error("Couldn't find target bone "+n.target.name+".");this.target=y,this.mixRotate=n.mixRotate,this.mixX=n.mixX,this.mixY=n.mixY,this.mixScaleX=n.mixScaleX,this.mixScaleY=n.mixScaleY,this.mixShearY=n.mixShearY}return S(j,[{key:"isActive",value:function(){return this.active}},{key:"setToSetupPose",value:function(){var n=this.data;this.mixRotate=n.mixRotate,this.mixX=n.mixX,this.mixY=n.mixY,this.mixScaleX=n.mixScaleX,this.mixScaleY=n.mixScaleY,this.mixShearY=n.mixShearY}},{key:"update",value:function(n){this.mixRotate==0&&this.mixX==0&&this.mixY==0&&this.mixScaleX==0&&this.mixScaleY==0&&this.mixShearY==0||(this.data.local?this.data.relative?this.applyRelativeLocal():this.applyAbsoluteLocal():this.data.relative?this.applyRelativeWorld():this.applyAbsoluteWorld())}},{key:"applyAbsoluteWorld",value:function(){for(var n=this.mixRotate,c=this.mixX,d=this.mixY,p=this.mixScaleX,y=this.mixScaleY,R=this.mixShearY,G=c!=0||d!=0,q=this.target,P=q.a,Y=q.b,ee=q.c,ne=q.d,ce=P*ne-Y*ee>0?te.degRad:-te.degRad,le=this.data.offsetRotation*ce,ve=this.data.offsetShearY*ce,ye=this.bones,xe=0,Re=ye.length;xe<Re;xe++){var Pe=ye[xe];if(n!=0){var De=Pe.a,Ne=Pe.b,Ve=Pe.c,ct=Pe.d,He=Math.atan2(ee,P)-Math.atan2(Ve,De)+le;He>te.PI?He-=te.PI2:He<-te.PI&&(He+=te.PI2),He*=n;var tt=Math.cos(He),et=Math.sin(He);Pe.a=tt*De-et*Ve,Pe.b=tt*Ne-et*ct,Pe.c=et*De+tt*Ve,Pe.d=et*Ne+tt*ct}if(G){var xt=this.temp;q.localToWorld(xt.set(this.data.offsetX,this.data.offsetY)),Pe.worldX+=(xt.x-Pe.worldX)*c,Pe.worldY+=(xt.y-Pe.worldY)*d}if(p!=0){var wt=Math.sqrt(Pe.a*Pe.a+Pe.c*Pe.c);wt!=0&&(wt=(wt+(Math.sqrt(P*P+ee*ee)-wt+this.data.offsetScaleX)*p)/wt),Pe.a*=wt,Pe.c*=wt}if(y!=0){var Tt=Math.sqrt(Pe.b*Pe.b+Pe.d*Pe.d);Tt!=0&&(Tt=(Tt+(Math.sqrt(Y*Y+ne*ne)-Tt+this.data.offsetScaleY)*y)/Tt),Pe.b*=Tt,Pe.d*=Tt}if(R>0){var St=Pe.b,je=Pe.d,Qe=Math.atan2(je,St),Lt=Math.atan2(ne,Y)-Math.atan2(ee,P)-(Qe-Math.atan2(Pe.c,Pe.a));Lt>te.PI?Lt-=te.PI2:Lt<-te.PI&&(Lt+=te.PI2),Lt=Qe+(Lt+ve)*R;var Rt=Math.sqrt(St*St+je*je);Pe.b=Math.cos(Lt)*Rt,Pe.d=Math.sin(Lt)*Rt}Pe.updateAppliedTransform()}}},{key:"applyRelativeWorld",value:function(){for(var n=this.mixRotate,c=this.mixX,d=this.mixY,p=this.mixScaleX,y=this.mixScaleY,R=this.mixShearY,G=c!=0||d!=0,q=this.target,P=q.a,Y=q.b,ee=q.c,ne=q.d,ce=P*ne-Y*ee>0?te.degRad:-te.degRad,le=this.data.offsetRotation*ce,ve=this.data.offsetShearY*ce,ye=this.bones,xe=0,Re=ye.length;xe<Re;xe++){var Pe=ye[xe];
47if(n!=0){var De=Pe.a,Ne=Pe.b,Ve=Pe.c,ct=Pe.d,He=Math.atan2(ee,P)+le;He>te.PI?He-=te.PI2:He<-te.PI&&(He+=te.PI2),He*=n;var tt=Math.cos(He),et=Math.sin(He);Pe.a=tt*De-et*Ve,Pe.b=tt*Ne-et*ct,Pe.c=et*De+tt*Ve,Pe.d=et*Ne+tt*ct}if(G){var xt=this.temp;q.localToWorld(xt.set(this.data.offsetX,this.data.offsetY)),Pe.worldX+=xt.x*c,Pe.worldY+=xt.y*d}if(p!=0){var wt=(Math.sqrt(P*P+ee*ee)-1+this.data.offsetScaleX)*p+1;Pe.a*=wt,Pe.c*=wt}if(y!=0){var Tt=(Math.sqrt(Y*Y+ne*ne)-1+this.data.offsetScaleY)*y+1;Pe.b*=Tt,Pe.d*=Tt}if(R>0){var St=Math.atan2(ne,Y)-Math.atan2(ee,P);St>te.PI?St-=te.PI2:St<-te.PI&&(St+=te.PI2);var je=Pe.b,Qe=Pe.d;St=Math.atan2(Qe,je)+(St-te.PI/2+ve)*R;var Lt=Math.sqrt(je*je+Qe*Qe);Pe.b=Math.cos(St)*Lt,Pe.d=Math.sin(St)*Lt}Pe.updateAppliedTransform()}}},{key:"applyAbsoluteLocal",value:function(){for(var n=this.mixRotate,c=this.mixX,d=this.mixY,p=this.mixScaleX,y=this.mixScaleY,R=this.mixShearY,G=this.target,q=this.bones,P=0,Y=q.length;P<Y;P++){var ee=q[P],ne=ee.arotation;n!=0&&(ne+=(G.arotation-ne+this.data.offsetRotation)*n);var ce=ee.ax,le=ee.ay;ce+=(G.ax-ce+this.data.offsetX)*c,le+=(G.ay-le+this.data.offsetY)*d;var ve=ee.ascaleX,ye=ee.ascaleY;p!=0&&ve!=0&&(ve=(ve+(G.ascaleX-ve+this.data.offsetScaleX)*p)/ve),y!=0&&ye!=0&&(ye=(ye+(G.ascaleY-ye+this.data.offsetScaleY)*y)/ye);var xe=ee.ashearY;R!=0&&(xe+=(G.ashearY-xe+this.data.offsetShearY)*R),ee.updateWorldTransformWith(ce,le,ne,ve,ye,ee.ashearX,xe)}}},{key:"applyRelativeLocal",value:function(){for(var n=this.mixRotate,c=this.mixX,d=this.mixY,p=this.mixScaleX,y=this.mixScaleY,R=this.mixShearY,G=this.target,q=this.bones,P=0,Y=q.length;P<Y;P++){var ee=q[P],ne=ee.arotation+(G.arotation+this.data.offsetRotation)*n,ce=ee.ax+(G.ax+this.data.offsetX)*c,le=ee.ay+(G.ay+this.data.offsetY)*d,ve=ee.ascaleX*((G.ascaleX-1+this.data.offsetScaleX)*p+1),ye=ee.ascaleY*((G.ascaleY-1+this.data.offsetScaleY)*y+1),xe=ee.ashearY+(G.ashearY+this.data.offsetShearY)*R;ee.updateWorldTransformWith(ce,le,ne,ve,ye,ee.ashearX,xe)}}}]),j}
47(),Ks=function(){function j(n){if(_(this,j),this._updateCache=new Array,this.skin=null,this.scaleX=1,this._scaleY=1,this.x=0,this.y=0,this.time=0,!n)throw new Error("data cannot be null.");this.data=n,this.bones=new Array;for(var c=0;c<n.bones.length;c++){var d=n.bones[c],p=void 0;if(d.parent){var y=this.bones[d.parent.index];p=new u1(d,this,y),y.children.push(p)}else p=new u1(d,this,null);this.bones.push(p)}this.slots=new Array,this.drawOrder=new Array;for(var R=0;R<n.slots.length;R++){var G=n.slots[R],q=this.bones[G.boneData.index],P=new bl(G,q);this.slots.push(P),this.drawOrder.push(P)}this.ikConstraints=new Array;for(var Y=0;Y<n.ikConstraints.length;Y++){var ee=n.ikConstraints[Y];this.ikConstraints.push(new yl(ee,this))}this.transformConstraints=new Array;for(var ne=0;ne<n.transformConstraints.length;ne++){var ce=n.transformConstraints[ne];this.transformConstraints.push(new _l(ce,this))}this.pathConstraints=new Array;for(var le=0;le<n.pathConstraints.length;le++){var ve=n.pathConstraints[le];this.pathConstraints.push(new Zs(ve,this))}this.physicsConstraints=new Array;for(var ye=0;ye<n.physicsConstraints.length;ye++){var xe=n.physicsConstraints[ye];this.physicsConstraints.push(new O2(xe,this))}this.color=new $(1,1,1,1),this.updateCache()}return S(j,[{key:"scaleY",get:function(){return j.yDown?-this._scaleY:this._scaleY},set:function(n){this._scaleY=n}}]),S(j,[{key:"updateCache",value:function(){var n=this._updateCache;n.length=0;for(var c=this.bones,d=0,p=c.length;d<p;d++){var y=c[d];y.sorted=y.data.skinRequired,y.active=!y.sorted}if(this.skin)for(var R=this.skin.bones,G=0,q=this.skin.bones.length;G<q;G++){var P=this.bones[R[G].index];do P.sorted=!1,P.active=!0,P=P.parent;while(P)}var Y=this.ikConstraints,ee=this.transformConstraints,ne=this.pathConstraints,ce=this.physicsConstraints,le=Y.length,ve=ee.length,ye=ne.length,xe=this.physicsConstraints.length,Re=le+ve+ye+xe;e:for(var Pe=0;Pe<Re;Pe++){for(var De=0;De<le;De++){var Ne=Y[De];if(Ne.data.order==Pe){this.sortIkConstraint(Ne);continue e}}for(var Ve=0;Ve<ve;Ve++){var ct=ee[Ve];if(ct.data.order==Pe){this.sortTransformConstraint(ct);continue e}}for(var He=0;He<ye;He++){var tt=ne[He];if(tt.data.order==Pe){this.sortPathConstraint(tt);continue e}}for(var et=0;et<xe;et++){var xt=ce[et];if(xt.data.order==Pe){this.sortPhysicsConstraint(xt);continue e}}}for(var wt=0,Tt=c.length;wt<Tt;wt++)this.sortBone(c[wt])}},{key:"sortIkConstraint",value:function(n){if(n.active=n.target.isActive()&&(!n.data.skinRequired||this.skin&&me.contains(this.skin.constraints,n.data,!0)),n.active){var c=n.target;this.sortBone(c);var d=n.bones,p=d[0];if(this.sortBone(p),d.length==1)this._updateCache.push(n),this.sortReset(p.children);else{var y=d[d.length-1];this.sortBone(y),this._updateCache.push(n),this.sortReset(p.children),y.sorted=!0}}}},{key:"sortPathConstraint",value:function(n){if(n.active=n.target.bone.isActive()&&(!n.data.skinRequired||this.skin&&me.contains(this.skin.constraints,n.data,!0)),n.active){var c=n.target,d=c.data.index,p=c.bone;this.skin&&this.sortPathConstraintAttachment(this.skin,d,p),this.data.defaultSkin&&this.data.defaultSkin!=this.skin&&this.sortPathConstraintAttachment(this.data.defaultSkin,d,p);for(var y=0,R=this.data.skins.length;y<R;y++)this.sortPathConstraintAttachment(this.data.skins[y],d,p);var G=c.getAttachment();G instanceof js&&this.sortPathConstraintAttachmentWith(G,p);for(var q=n.bones,P=q.length,Y=0;Y<P;Y++)this.sortBone(q[Y]);this._updateCache.push(n);for(var ee=0;ee<P;ee++)this.sortReset(q[ee].children);for(var ne=0;ne<P;ne++)q[ne].sorted=!0}}},{key:"sortTransformConstraint",value:function(n){if(n.active=n.target.isActive()&&(!n.data.skinRequired||this.skin&&me.contains(this.skin.constraints,n.data,!0)),n.active){this.sortBone(n.target);var c=n.bones,d=c.length;if(n.data.local)for(var p=0;p<d;p++){var y=c[p];this.sortBone(y.parent),this.sortBone(y)}else for(var R=0;R<d;R++)this.sortBone(c[R]);this._updateCache.push(n);for(var G=0;G<d;G++)this.sortReset(c[G].children);for(var q=0;q<d;q++)c[q].sorted=!0}}},{key:"sortPathConstraintAttachment",value:function(n,c,d){var p=n.attachments[c];if(p)for(var y in p)this.sortPathConstraintAttachmentWith(p[y],d)}},{key:"sortPathConstraintAttachmentWith",value:function(n,c){if(n instanceof js){var d=n.bones;if(d)for(var p=this.bones,y=0,R=d.length;y<R;){var G=d[y++];for(G+=y;y<G;)this.sortBone(p[d[y++]])}else this.sortBone(c)}}},{key:"sortPhysicsConstraint",value:function(n){var c=n.bone;n.active=c.active&&(!n.data.skinRequired||this.skin!=null&&me.contains(this.skin.constraints,n.data,!0)),n.active&&(this.sortBone(c),this._updateCache.push(n),this.sortReset(c.children),c.sorted=!0)}},{key:"sortBone",value:function(n){if(n&&!n.sorted){var c=n.parent;c&&this.sortBone(c),n.sorted=!0,this._updateCache.push(n)}}},{key:"sortReset",value:function(n){for(var c=0,d=n.length;c<d;c++){var p=n[c];p.active&&(p.sorted&&this.sortReset(p.children),p.sorted=!1)}}},{key:"updateWorldTransform",value:function(n){if(!n)throw new Error("physics is undefined");for(var c=this.bones,d=0,p=c.length;d<p;d++){var y=c[d];y.ax=y.x,y.ay=y.y,y.arotation=y.rotation,y.ascaleX=y.scaleX,y.ascaleY=y.scaleY,y.ashearX=y.shearX,y.ashearY=y.shearY}for(var R=this._updateCache,G=0,q=R.length;G<q;G++)R[G].update(n)}},{key:"updateWorldTransformWith",value:function(n,c){var d=this.getRootBone();if(!d)throw new Error("Root bone must not be null.");var p=c.a,y=c.b,R=c.c,G=c.d;d.worldX=p*this.x+y*this.y+c.worldX,d.worldY=R*this.x+G*this.y+c.worldY;var q=(d.rotation+d.shearX)*te.degRad,P=(d.rotation+90+d.shearY)*te.degRad,Y=Math.cos(q)*d.scaleX,ee=Math.cos(P)*d.scaleY,ne=Math.sin(q)*d.scaleX,ce=Math.sin(P)*d.scaleY;d.a=(p*Y+y*ne)*this.scaleX,d.b=(p*ee+y*ce)*this.scaleX,d.c=(R*Y+G*ne)*this.scaleY,d.d=(R*ee+G*ce)*this.scaleY;for(var le=this._updateCache,ve=0,ye=le.length;ve<ye;ve++){var xe=le[ve];xe!=d&&xe.update(n)}}},{key:"setToSetupPose",value:function(){this.setBonesToSetupPose(),this.setSlotsToSetupPose()}},{key:"setBonesToSetupPose",value:function(){var n=!0,c=!1,d=void 0;try{for(var p,y=this.bones[Symbol.iterator]();!(n=(p=y.next()).done);
47n=!0)p.value.setToSetupPose()}catch(et){c=!0,d=et}finally{try{!n&&y.return&&y.return()}finally{if(c)throw d}}var R=!0,G=!1,q=void 0;try{for(var P,Y=this.ikConstraints[Symbol.iterator]();!(R=(P=Y.next()).done);R=!0)P.value.setToSetupPose()}catch(et){G=!0,q=et}finally{try{!R&&Y.return&&Y.return()}finally{if(G)throw q}}var ee=!0,ne=!1,ce=void 0;try{for(var le,ve=this.transformConstraints[Symbol.iterator]();!(ee=(le=ve.next()).done);ee=!0)le.value.setToSetupPose()}catch(et){ne=!0,ce=et}finally{try{!ee&&ve.return&&ve.return()}finally{if(ne)throw ce}}var ye=!0,xe=!1,Re=void 0;try{for(var Pe,De=this.pathConstraints[Symbol.iterator]();!(ye=(Pe=De.next()).done);ye=!0)Pe.value.setToSetupPose()}catch(et){xe=!0,Re=et}finally{try{!ye&&De.return&&De.return()}finally{if(xe)throw Re}}var Ne=!0,Ve=!1,ct=void 0;try{for(var He,tt=this.physicsConstraints[Symbol.iterator]();!(Ne=(He=tt.next()).done);Ne=!0)He.value.setToSetupPose()}catch(et){Ve=!0,ct=et}finally{try{!Ne&&tt.return&&tt.return()}finally{if(Ve)throw ct}}}},{key:"setSlotsToSetupPose",value:function(){var n=this.slots;me.arrayCopy(n,0,this.drawOrder,0,n.length);for(var c=0,d=n.length;c<d;c++)n[c].setToSetupPose()}},{key:"getRootBone",value:function(){return this.bones.length==0?null:this.bones[0]}},{key:"findBone",value:function(n){if(!n)throw new Error("boneName cannot be null.");for(var c=this.bones,d=0,p=c.length;d<p;d++){var y=c[d];if(y.data.name==n)return y}return null}},{key:"findSlot",value:function(n){if(!n)throw new Error("slotName cannot be null.");for(var c=this.slots,d=0,p=c.length;d<p;d++){var y=c[d];if(y.data.name==n)return y}return null}},{key:"setSkinByName",value:function(n){var c=this.data.findSkin(n);if(!c)throw new Error("Skin not found: "+n);this.setSkin(c)}},{key:"setSkin",value:function(n){if(n!=this.skin){if(n)if(this.skin)n.attachAll(this,this.skin);else for(var c=this.slots,d=0,p=c.length;d<p;d++){var y=c[d],R=y.data.attachmentName;if(R){var G=n.getAttachment(d,R);G&&y.setAttachment(G)}}this.skin=n,this.updateCache()}}},{key:"getAttachmentByName",value:function(n,c){var d=this.data.findSlot(n);if(!d)throw new Error("Can't find slot with name "+n);return this.getAttachment(d.index,c)}},{key:"getAttachment",value:function(n,c){if(!c)throw new Error("attachmentName cannot be null.");if(this.skin){var d=this.skin.getAttachment(n,c);if(d)return d}return this.data.defaultSkin?this.data.defaultSkin.getAttachment(n,c):null}},{key:"setAttachment",value:function(n,c){if(!n)throw new Error("slotName cannot be null.");for(var d=this.slots,p=0,y=d.length;p<y;p++){var R=d[p];if(R.data.name==n){var G=null;if(c&&!(G=this.getAttachment(p,c)))throw new Error("Attachment not found: "+c+", for slot: "+n);return void R.setAttachment(G)}}throw new Error("Slot not found: "+n)}},{key:"findIkConstraint",value:function(n){var c;if(!n)throw new Error("constraintName cannot be null.");return(c=this.ikConstraints.find(function(d){return d.data.name==n}))!==null&&c!==void 0?c:null}},{key:"findTransformConstraint",value:function(n){var c;if(!n)throw new Error("constraintName cannot be null.");return(c=this.transformConstraints.find(function(d){return d.data.name==n}))!==null&&c!==void 0?c:null}},{key:"findPathConstraint",value:function(n){var c;if(!n)throw new Error("constraintName cannot be null.");return(c=this.pathConstraints.find(function(d){return d.data.name==n}))!==null&&c!==void 0?c:null}},{key:"findPhysicsConstraint",value:function(n){var c;if(n==null)throw new Error("constraintName cannot be null.");return(c=this.physicsConstraints.find(function(d){return d.data.name==n}))!==null&&c!==void 0?c:null}},{key:"getBoundsRect",value:function(){var n=new X,c=new X;return this.getBounds(n,c),{x:n.x,y:n.y,width:c.x,height:c.y}}},{key:"getBounds",value:function(n,c){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Array(2),p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(!n)throw new Error("offset cannot be null.");if(!c)throw new Error("size cannot be null.");for(var y=this.drawOrder,R=Number.POSITIVE_INFINITY,G=Number.POSITIVE_INFINITY,q=Number.NEGATIVE_INFINITY,P=Number.NEGATIVE_INFINITY,Y=0,ee=y.length;Y<ee;Y++){var ne=y[Y];
47if(ne.bone.active){var ce=0,le=null,ve=null,ye=ne.getAttachment();if(ye instanceof Kr)ce=8,le=me.setArraySize(d,ce,0),ye.computeWorldVertices(ne,le,0,2),ve=j.quadTriangles;else if(ye instanceof qs){var xe=ye;ce=xe.worldVerticesLength,le=me.setArraySize(d,ce,0),xe.computeWorldVertices(ne,0,ce,le,0,2),ve=xe.triangles}else if(ye instanceof Co&&p!=null){p.clipStart(ne,ye);continue}if(le&&ve){p!=null&&p.isClipping()&&(p.clipTriangles(le,ce,ve,ve.length),le=p.clippedVertices,ce=p.clippedVertices.length);for(var Re=0,Pe=le.length;Re<Pe;Re+=2){var De=le[Re],Ne=le[Re+1];R=Math.min(R,De),G=Math.min(G,Ne),q=Math.max(q,De),P=Math.max(P,Ne)}}p!=null&&p.clipEndWithSlot(ne)}}p!=null&&p.clipEnd(),n.set(R,G),c.set(q-R,P-G)}},{key:"update",value:function(n){this.time+=n}},{key:"physicsTranslate",value:function(n,c){for(var d=this.physicsConstraints,p=0,y=d.length;p<y;p++)d[p].translate(n,c)}},{key:"physicsRotate",value:function(n,c,d){for(var p=this.physicsConstraints,y=0,R=p.length;y<R;y++)p[y].rotate(n,c,d)}}]),j}();Ks.quadTriangles=[0,1,2,2,3,0],Ks.yDown=!1;var ao=void 0;(function(j){j[j.none=0]="none",j[j.reset=1]="reset",j[j.update=2]="update",j[j.pose=3]="pose"})(ao||(ao={}));var xl=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,0,!1));return d._bone=null,d.x=0,d.y=0,d.rotate=0,d.scaleX=0,d.shearX=0,d.limit=0,d.step=0,d.inertia=0,d.strength=0,d.damping=0,d.massInverse=0,d.wind=0,d.gravity=0,d.mix=0,d.inertiaGlobal=!1,d.strengthGlobal=!1,d.dampingGlobal=!1,d.massGlobal=!1,d.windGlobal=!1,d.gravityGlobal=!1,d.mixGlobal=!1,d}return w(n,j),S(n,[{key:"bone",set:function(c){this._bone=c},get:function(){if(this._bone)return this._bone;throw new Error("BoneData not set.")}}]),n}(Js),eu=function(){function j(){_(this,j),this.name=null,this.bones=new Array,this.slots=new Array,this.skins=new Array,this.defaultSkin=null,this.events=new Array,this.animations=new Array,this.ikConstraints=new Array,this.transformConstraints=new Array,this.pathConstraints=new Array,this.physicsConstraints=new Array,this.x=0,this.y=0,this.width=0,this.height=0,this.referenceScale=100,this.version=null,this.hash=null,this.fps=0,this.imagesPath=null,this.audioPath=null}return S(j,[{key:"findBone",value:function(n){if(!n)throw new Error("boneName cannot be null.");for(var c=this.bones,d=0,p=c.length;d<p;d++){var y=c[d];if(y.name==n)return y}return null}},{key:"findSlot",value:function(n){if(!n)throw new Error("slotName cannot be null.");for(var c=this.slots,d=0,p=c.length;d<p;d++){var y=c[d];if(y.path&&y.path+"/"+y.name==n||y.name==n)return y}return null}},{key:"findSkin",value:function(n){if(!n)throw new Error("skinName cannot be null.");for(var c=this.skins,d=0,p=c.length;d<p;d++){var y=c[d];if(y.name==n)return y}return null}},{key:"findEvent",value:function(n){if(!n)throw new Error("eventDataName cannot be null.");for(var c=this.events,d=0,p=c.length;d<p;d++){var y=c[d];if(y.name==n)return y}return null}},{key:"findAnimation",value:function(n){if(!n)throw new Error("animationName cannot be null.");for(var c=this.animations,d=0,p=c.length;d<p;d++){var y=c[d];if(y.name==n)return y}return null}},{key:"findIkConstraint",value:function(n){if(!n)throw new Error("constraintName cannot be null.");for(var c=this.ikConstraints,d=0,p=c.length;d<p;d++){var y=c[d];if(y.name==n)return y}return null}},{key:"findTransformConstraint",value:function(n){if(!n)throw new Error("constraintName cannot be null.");for(var c=this.transformConstraints,d=0,p=c.length;d<p;d++){var y=c[d];if(y.name==n)return y}return null}},{key:"findPathConstraint",value:function(n){if(!n)throw new Error("constraintName cannot be null.");for(var c=this.pathConstraints,d=0,p=c.length;d<p;d++){var y=c[d];if(y.name==n)return y}return null}},{key:"findPhysicsConstraint",value:function(n){if(!n)throw new Error("constraintName cannot be null.");for(var c=this.physicsConstraints,d=0,p=c.length;d<p;d++){var y=c[d];if(y.name==n)return y}return null}}]),j}(),tu=function j(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,c=arguments[1],d=arguments[2];_(this,j),this.slotIndex=n,this.name=c,this.attachment=d}
47,l1=function(){function j(n){if(_(this,j),this.attachments=new Array,this.bones=Array(),this.constraints=new Array,this.color=new $(.99607843,.61960787,.30980393,1),!n)throw new Error("name cannot be null.");this.name=n}return S(j,[{key:"setAttachment",value:function(n,c,d){if(!d)throw new Error("attachment cannot be null.");var p=this.attachments;n>=p.length&&(p.length=n+1),p[n]||(p[n]={}),p[n][c]=d}},{key:"addSkin",value:function(n){for(var c=0;c<n.bones.length;c++){for(var d=n.bones[c],p=!1,y=0;y<this.bones.length;y++)if(this.bones[y]==d){p=!0;break}p||this.bones.push(d)}for(var R=0;R<n.constraints.length;R++){for(var G=n.constraints[R],q=!1,P=0;P<this.constraints.length;P++)if(this.constraints[P]==G){q=!0;break}q||this.constraints.push(G)}for(var Y=n.getAttachments(),ee=0;ee<Y.length;ee++){var ne=Y[ee];this.setAttachment(ne.slotIndex,ne.name,ne.attachment)}}},{key:"copySkin",value:function(n){for(var c=0;c<n.bones.length;c++){for(var d=n.bones[c],p=!1,y=0;y<this.bones.length;y++)if(this.bones[y]==d){p=!0;break}p||this.bones.push(d)}for(var R=0;R<n.constraints.length;R++){for(var G=n.constraints[R],q=!1,P=0;P<this.constraints.length;P++)if(this.constraints[P]==G){q=!0;break}q||this.constraints.push(G)}for(var Y=n.getAttachments(),ee=0;ee<Y.length;ee++){var ne=Y[ee];ne.attachment&&(ne.attachment instanceof qs?(ne.attachment=ne.attachment.newLinkedMesh(),this.setAttachment(ne.slotIndex,ne.name,ne.attachment)):(ne.attachment=ne.attachment.copy(),this.setAttachment(ne.slotIndex,ne.name,ne.attachment)))}}},{key:"getAttachment",value:function(n,c){var d=this.attachments[n];return d?d[c]:null}},{key:"removeAttachment",value:function(n,c){var d=this.attachments[n];d&&delete d[c]}},{key:"getAttachments",value:function(){for(var n=new Array,c=0;c<this.attachments.length;c++){var d=this.attachments[c];if(d)for(var p in d){var y=d[p];y&&n.push(new tu(c,p,y))}}return n}},{key:"getAttachmentsForSlot",value:function(n,c){var d=this.attachments[n];if(d)for(var p in d){var y=d[p];y&&c.push(new tu(n,p,y))}}},{key:"clear",value:function(){this.attachments.length=0,this.bones.length=0,this.constraints.length=0}},{key:"attachAll",value:function(n,c){for(var d=0,p=0;p<n.slots.length;p++){var y=n.slots[p],R=y.getAttachment();if(R&&d<c.attachments.length){var G=c.attachments[d];for(var q in G)if(R==G[q]){var P=this.getAttachment(d,q);P&&y.setAttachment(P);break}}d++}}}]),j}(),ru=function j(n,c,d){if(_(this,j),this.index=0,this.color=new $(1,1,1,1),this.darkColor=null,this.attachmentName=null,this.blendMode=Ro.Normal,this.visible=!0,this.path=null,n<0)throw new Error("index must be >= 0.");if(!c)throw new Error("name cannot be null.");if(!d)throw new Error("boneData cannot be null.");this.index=n,this.name=c,this.boneData=d},Ro=void 0;(function(j){j[j.Normal=0]="Normal",j[j.Additive=1]="Additive",j[j.Multiply=2]="Multiply",j[j.Screen=3]="Screen"})(Ro||(Ro={}));var nu=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c,0,!1));return d.bones=new Array,d._target=null,d.mixRotate=0,d.mixX=0,d.mixY=0,d.mixScaleX=0,d.mixScaleY=0,d.mixShearY=0,d.offsetRotation=0,d.offsetX=0,d.offsetY=0,d.offsetScaleX=0,d.offsetScaleY=0,d.offsetShearY=0,d.relative=!1,d.local=!1,d}return w(n,j),S(n,[{key:"target",set:function(c){this._target=c},get:function(){if(this._target)return this._target;throw new Error("BoneData not set.")}}]),n}(Js),L2=function(){function j(n){_(this,j),this.scale=1,this.linkedMeshes=new Array,this.attachmentLoader=n}return S(j,[{key:"readSkeletonData",value:function(n){var c=void 0,d=this.scale,p=new eu;p.name="";var y=new wl(n),R=y.readInt32(),G=y.readInt32();p.hash=G==0&&R==0?null:G.toString(16)+R.toString(16),p.version=y.readString(),p.x=y.readFloat(),p.y=y.readFloat(),p.width=y.readFloat(),p.height=y.readFloat(),p.referenceScale=y.readFloat()*d;var q=y.readBoolean();q&&(p.fps=y.readFloat(),p.imagesPath=y.readString(),p.audioPath=y.readString());var P=0;P=y.readInt(!0);for(var Y=0;Y<P;Y++){var ee=y.readString();if(!ee)throw new Error("String in string table must not be null.");y.strings.push(ee)}P=y.readInt(!0);for(var ne=0;ne<P;ne++){var ce=y.readString();if(!ce)throw new Error("Bone name must not be null.");var le=ne==0?null:p.bones[y.readInt(!0)],ve=new s1(ne,ce,le);ve.rotation=y.readFloat(),ve.x=y.readFloat()*d,ve.y=y.readFloat()*d,ve.scaleX=y.readFloat(),ve.scaleY=y.readFloat(),ve.shearX=y.readFloat(),ve.shearY=y.readFloat(),ve.length=y.readFloat()*d,ve.inherit=y.readByte(),ve.skinRequired=y.readBoolean(),q&&($.rgba8888ToColor(ve.color,y.readInt32()),ve.icon=(c=y.readString())!==null&&c!==void 0?c:void 0,ve.visible=y.readBoolean()),p.bones.push(ve)}P=y.readInt(!0);for(var ye=0;ye<P;ye++){var xe=y.readString();if(!xe)throw new Error("Slot name must not be null.");var Re=null;if(q){var Pe=xe.lastIndexOf("/");Pe!=-1&&(Re=xe.substring(0,Pe),xe=xe.substring(Pe+1))}var De=p.bones[y.readInt(!0)],Ne=new ru(ye,xe,De);$.rgba8888ToColor(Ne.color,y.readInt32());var Ve=y.readInt32();Ve!=-1&&$.rgb888ToColor(Ne.darkColor=new $,Ve),Ne.attachmentName=y.readStringRef(),Ne.blendMode=y.readInt(!0),q&&(Ne.visible=y.readBoolean(),Ne.path=Re),p.slots.push(Ne)}P=y.readInt(!0);for(var ct,He=0;He<P;He++){var tt=y.readString();if(!tt)throw new Error("IK constraint data name must not be null.");var et=new $1(tt);et.order=y.readInt(!0),ct=y.readInt(!0);for(var xt=0;xt<ct;xt++)et.bones.push(p.bones[y.readInt(!0)]);et.target=p.bones[y.readInt(!0)];var wt=y.readByte();et.skinRequired=(1&wt)!=0,et.bendDirection=2&wt?1:-1,et.compress=(4&wt)!=0,et.stretch=(8&wt)!=0,et.uniform=(16&wt)!=0,32&wt&&(et.mix=64&wt?y.readFloat():1),128&wt&&(et.softness=y.readFloat()*d),p.ikConstraints.push(et)}P=y.readInt(!0);for(var Tt,St=0;St<P;St++){var je=y.readString();if(!je)throw new Error("Transform constraint data name must not be null.");var Qe=new nu(je);Qe.order=y.readInt(!0),Tt=y.readInt(!0);for(var Lt=0;Lt<Tt;Lt++)Qe.bones.push(p.bones[y.readInt(!0)]);Qe.target=p.bones[y.readInt(!0)];var Rt=y.readByte();Qe.skinRequired=(1&Rt)!=0,Qe.local=(2&Rt)!=0,Qe.relative=(4&Rt)!=0,8&Rt&&(Qe.offsetRotation=y.readFloat()),16&Rt&&(Qe.offsetX=y.readFloat()*d),32&Rt&&(Qe.offsetY=y.readFloat()*d),64&Rt&&(Qe.offsetScaleX=y.readFloat()),128&Rt&&(Qe.offsetScaleY=y.readFloat()),1&(Rt=y.readByte())&&(Qe.offsetShearY=y.readFloat()),2&Rt&&(Qe.mixRotate=y.readFloat()),4&Rt&&(Qe.mixX=y.readFloat()),8&Rt&&(Qe.mixY=y.readFloat()),16&Rt&&(Qe.mixScaleX=y.readFloat()),32&Rt&&(Qe.mixScaleY=y.readFloat()),64&Rt&&(Qe.mixShearY=y.readFloat()),p.transformConstraints.push(Qe)}P=y.readInt(!0);for(var Ht,Ft=0;Ft<P;Ft++){var Je=y.readString();if(!Je)throw new Error("Path constraint data name must not be null.");var st=new Q1(Je);st.order=y.readInt(!0),st.skinRequired=y.readBoolean(),Ht=y.readInt(!0);for(var _t=0;_t<Ht;_t++)st.bones.push(p.bones[y.readInt(!0)]);st.target=p.slots[y.readInt(!0)];var At=y.readByte();st.positionMode=1&At,st.spacingMode=At>>1&3,st.rotateMode=At>>3&3,128&At&&(st.offsetRotation=y.readFloat()),st.position=y.readFloat(),st.positionMode==zi.Fixed&&(st.position*=d),st.spacing=y.readFloat(),st.spacingMode!=la.Length&&st.
47spacingMode!=la.Fixed||(st.spacing*=d),st.mixRotate=y.readFloat(),st.mixX=y.readFloat(),st.mixY=y.readFloat(),p.pathConstraints.push(st)}P=y.readInt(!0);for(var jt=0;jt<P;jt++){var Nt=y.readString();if(!Nt)throw new Error("Physics constraint data name must not be null.");var Pt=new xl(Nt);Pt.order=y.readInt(!0),Pt.bone=p.bones[y.readInt(!0)];var kt=y.readByte();Pt.skinRequired=(1&kt)!=0,2&kt&&(Pt.x=y.readFloat()),4&kt&&(Pt.y=y.readFloat()),8&kt&&(Pt.rotate=y.readFloat()),16&kt&&(Pt.scaleX=y.readFloat()),32&kt&&(Pt.shearX=y.readFloat()),Pt.limit=(64&kt?y.readFloat():5e3)*d,Pt.step=1/y.readUnsignedByte(),Pt.inertia=y.readFloat(),Pt.strength=y.readFloat(),Pt.damping=y.readFloat(),Pt.massInverse=128&kt?y.readFloat():1,Pt.wind=y.readFloat(),Pt.gravity=y.readFloat(),1&(kt=y.readByte())&&(Pt.inertiaGlobal=!0),2&kt&&(Pt.strengthGlobal=!0),4&kt&&(Pt.dampingGlobal=!0),8&kt&&(Pt.massGlobal=!0),16&kt&&(Pt.windGlobal=!0),32&kt&&(Pt.gravityGlobal=!0),64&kt&&(Pt.mixGlobal=!0),Pt.mix=128&kt?y.readFloat():1,p.physicsConstraints.push(Pt)}var qt=this.readSkin(y,p,!0,q);qt&&(p.defaultSkin=qt,p.skins.push(qt));var It=p.skins.length;for(me.setArraySize(p.skins,P=It+y.readInt(!0));It<P;It++){var Yt=this.readSkin(y,p,!1,q);if(!Yt)throw new Error("readSkin() should not have returned null.");p.skins[It]=Yt}P=this.linkedMeshes.length;for(var ar=0;ar<P;ar++){var pe=this.linkedMeshes[ar],Sr=p.skins[pe.skinIndex];if(!pe.parent)throw new Error("Linked mesh parent must not be null");var Vt=Sr.getAttachment(pe.slotIndex,pe.parent);if(!Vt)throw new Error("Parent mesh not found: "+pe.parent);pe.mesh.timelineAttachment=pe.inheritTimeline?Vt:pe.mesh,pe.mesh.setParentMesh(Vt),pe.mesh.region!=null&&pe.mesh.updateRegion()}this.linkedMeshes.length=0,P=y.readInt(!0);for(var Jt=0;Jt<P;Jt++){var vr=y.readString();if(!vr)throw new Error("Event data name must not be null");var ir=new K1(vr);ir.intValue=y.readInt(!1),ir.floatValue=y.readFloat(),ir.stringValue=y.readString(),ir.audioPath=y.readString(),ir.audioPath&&(ir.volume=y.readFloat(),ir.balance=y.readFloat()),p.events.push(ir)}P=y.readInt(!0);for(var Vr=0;Vr<P;Vr++){var br=y.readString();if(!br)throw new Error("Animatio name must not be null.");p.animations.push(this.readAnimation(y,br,p))}return p}},{key:"readSkin",value:function(n,c,d,p){var y=null,R=0;if(d){if((R=n.readInt(!0))==0)return null;y=new l1("default")}else{var G=n.readString();if(!G)throw new Error("Skin name must not be null.");y=new l1(G),p&&$.rgba8888ToColor(y.color,n.readInt32()),y.bones.length=n.readInt(!0);for(var q=0,P=y.bones.length;q<P;q++)y.bones[q]=c.bones[n.readInt(!0)];for(var Y=0,ee=n.readInt(!0);Y<ee;Y++)y.constraints.push(c.ikConstraints[n.readInt(!0)]);for(var ne=0,ce=n.readInt(!0);ne<ce;ne++)y.constraints.push(c.transformConstraints[n.readInt(!0)]);for(var le=0,ve=n.readInt(!0);le<ve;le++)y.constraints.push(c.pathConstraints[n.readInt(!0)]);for(var ye=0,xe=n.readInt(!0);ye<xe;ye++)y.constraints.push(c.physicsConstraints[n.readInt(!0)]);R=n.readInt(!0)}for(var Re=0;Re<R;Re++)for(var Pe=n.readInt(!0),De=0,Ne=n.readInt(!0);De<Ne;De++){var Ve=n.readStringRef();if(!Ve)throw new Error("Attachment name must not be null");var ct=this.readAttachment(n,c,y,Pe,Ve,p);ct&&y.setAttachment(Pe,Ve,ct)}return y}},{key:"readAttachment",value:function(n,c,d,p,y,R){var G=this.scale,q=n.readByte(),P=8&q?n.readStringRef():y;if(!P)throw new Error("Attachment name must not be null");switch(7&q){case Oo.Region:var Y=16&q?n.readStringRef():null,ee=32&q?n.readInt32():4294967295,ne=64&q?this.readSequence(n):null,ce=128&q?n.readFloat():0,le=n.readFloat(),ve=n.readFloat(),ye=n.readFloat(),xe=n.readFloat(),Re=n.readFloat(),Pe=n.readFloat();Y||(Y=P);var De=this.attachmentLoader.newRegionAttachment(d,P,Y,ne);return De?(De.path=Y,De.x=le*G,De.y=ve*G,De.scaleX=ye,De.scaleY=xe,De.rotation=ce,De.width=Re*G,De.height=Pe*G,$.rgba8888ToColor(De.color,ee),De.sequence=ne,ne==null&&De.updateRegion(),De):null;case Oo.BoundingBox:var Ne=this.readVertices(n,(16&q)!=0),Ve=R?n.readInt32():0,ct=this.attachmentLoader.newBoundingBoxAttachment(d,P);return ct?(ct.worldVerticesLength=Ne.length,ct.vertices=Ne.vertices,ct.bones=Ne.bones,R&&$.rgba8888ToColor(ct.color,Ve),ct):null;case Oo.Mesh:var He=16&q?n.readStringRef():P,tt=32&q?n.readInt32():4294967295,et=64&q?this.readSequence(n):null,xt=n.readInt(!0),wt=this.readVertices(n,(128&q)!=0),Tt=this.readFloatArray(n,wt.length,1),St=this.readShortArray(n,3*(wt.length-xt-2)),je=[],Qe=0,Lt=0;R&&(je=this.readShortArray(n,n.readInt(!0)),Qe=n.readFloat(),Lt=n.readFloat()),He||(He=P);var Rt=this.attachmentLoader.newMeshAttachment(d,P,He,et);return Rt?(Rt.path=He,$.rgba8888ToColor(Rt.color,tt),Rt.bones=wt.bones,Rt.vertices=wt.vertices,Rt.worldVerticesLength=wt.length,Rt.triangles=St,Rt.regionUVs=Tt,et==null&&Rt.updateRegion(),Rt.hullLength=xt<<1,Rt.sequence=et,R&&(Rt.edges=je,Rt.width=Qe*G,Rt.height=Lt*G),Rt):null;case Oo.LinkedMesh:var Ht=16&q?n.readStringRef():P;if(Ht==null)throw new Error("Path of linked mesh must not be null");var Ft=32&q?n.readInt32():4294967295,Je=64&q?this.readSequence(n):null,st=(128&q)!=0,_t=n.readInt(!0),At=n.readStringRef(),jt=0,Nt=0;R&&(jt=n.readFloat(),Nt=n.readFloat());var Pt=this.attachmentLoader.newMeshAttachment(d,P,Ht,Je);return Pt?(Pt.path=Ht,$.rgba8888ToColor(Pt.color,Ft),Pt.sequence=Je,R&&(Pt.width=jt*G,Pt.height=Nt*G),this.linkedMeshes.push(new P2(Pt,_t,p,At,st)),Pt):null;case Oo.Path:for(var kt=(16&q)!=0,qt=(32&q)!=0,It=this.readVertices(n,(64&q)!=0),Yt=me.newArray(It.length/6,0),ar=0,pe=Yt.length;ar<pe;ar++)Yt[ar]=n.readFloat()*G;var Sr=R?n.readInt32():0,Vt=this.attachmentLoader.newPathAttachment(d,P);return Vt?(Vt.closed=kt,Vt.constantSpeed=qt,Vt.worldVerticesLength=It.length,Vt.vertices=It.vertices,Vt.bones=It.bones,Vt.lengths=Yt,R&&$.rgba8888ToColor(Vt.color,Sr),Vt):null;case Oo.Point:var Jt=n.readFloat(),vr=n.readFloat(),ir=n.readFloat(),Vr=R?n.readInt32():0,br=this.attachmentLoader.newPointAttachment(d,P);return br?(br.x=vr*G,br.y=ir*G,br.rotation=Jt,R&&$.rgba8888ToColor(br.color,Vr),br):null;case Oo.Clipping:var Wr=n.readInt(!0),Pr=this.readVertices(n,(16&q)!=0),Fr=R?n.readInt32():0,$r=this.attachmentLoader.newClippingAttachment(d,P);return $r?($r.endSlot=c.slots[Wr],$r.worldVerticesLength=Pr.length,$r.vertices=Pr.vertices,$r.bones=Pr.bones,R&&$.rgba8888ToColor($r.color,Fr),$r):null}return null}},{key:"readSequence",value:function(n){var c=new Ce(n.readInt(!0));return c.start=n.readInt(!0),c.digits=n.readInt(!0),c.setupIndex=n.readInt(!0),c}},{key:"readVertices",value:function(n,c){var d=this.scale,p=n.readInt(!0),y=new D2;if(y.length=p<<1,!c)return y.vertices=this.readFloatArray(n,y.length,d),y;for(var R=new Array,G=new Array,q=0;q<p;q++){var P=n.readInt(!0);G.push(P);for(var Y=0;Y<P;Y++)G.push(n.readInt(!0)),R.push(n.readFloat()*d),R.push(n.readFloat()*d),R.push(n.readFloat())}return y.vertices=me.toFloatArray(R),y.bones=G,y}},{key:"readFloatArray",value:function(n,c,d){var p=new Array(c);if(d==1)for(var y=0;y<c;y++)p[y]=n.readFloat();else for(var R=0;R<c;R++)p[R]=n.readFloat()*d;return p}},{key:"readShortArray",value:function(n,c){for(var d=new Array(c),p=0;p<c;p++)d[p]=n.readInt(!0);return d}},{key:"readAnimation",value:function(n,c,d){n.readInt(!0);for(var p=new Array,y=this.scale,R=0,G=n.readInt(!0);R<G;R++)for(var q=n.readInt(!0),P=0,Y=n.readInt(!0);P<Y;P++){var ee=n.readByte(),ne=n.readInt(!0),ce=ne-1;switch(ee){case ii:for(var le=new pr(ne,q),ve=0;ve<ne;
47ve++)le.setFrame(ve,n.readFloat(),n.readStringRef());p.push(le);break;case d1:for(var ye=n.readInt(!0),xe=new Bn(ne,ye,q),Re=n.readFloat(),Pe=n.readUnsignedByte()/255,De=n.readUnsignedByte()/255,Ne=n.readUnsignedByte()/255,Ve=n.readUnsignedByte()/255,ct=0,He=0;xe.setFrame(ct,Re,Pe,De,Ne,Ve),ct!=ce;ct++){var tt=n.readFloat(),et=n.readUnsignedByte()/255,xt=n.readUnsignedByte()/255,wt=n.readUnsignedByte()/255,Tt=n.readUnsignedByte()/255;switch(n.readByte()){case Lo:xe.setStepped(ct);break;case Po:tn(n,xe,He++,ct,0,Re,tt,Pe,et,1),tn(n,xe,He++,ct,1,Re,tt,De,xt,1),tn(n,xe,He++,ct,2,Re,tt,Ne,wt,1),tn(n,xe,He++,ct,3,Re,tt,Ve,Tt,1)}Re=tt,Pe=et,De=xt,Ne=wt,Ve=Tt}p.push(xe);break;case uu:for(var St=n.readInt(!0),je=new Oa(ne,St,q),Qe=n.readFloat(),Lt=n.readUnsignedByte()/255,Rt=n.readUnsignedByte()/255,Ht=n.readUnsignedByte()/255,Ft=0,Je=0;je.setFrame(Ft,Qe,Lt,Rt,Ht),Ft!=ce;Ft++){var st=n.readFloat(),_t=n.readUnsignedByte()/255,At=n.readUnsignedByte()/255,jt=n.readUnsignedByte()/255;switch(n.readByte()){case Lo:je.setStepped(Ft);break;case Po:tn(n,je,Je++,Ft,0,Qe,st,Lt,_t,1),tn(n,je,Je++,Ft,1,Qe,st,Rt,At,1),tn(n,je,Je++,Ft,2,Qe,st,Ht,jt,1)}Qe=st,Lt=_t,Rt=At,Ht=jt}p.push(je);break;case lu:for(var Nt=n.readInt(!0),Pt=new en(ne,Nt,q),kt=n.readFloat(),qt=n.readUnsignedByte()/255,It=n.readUnsignedByte()/255,Yt=n.readUnsignedByte()/255,ar=n.readUnsignedByte()/255,pe=n.readUnsignedByte()/255,Sr=n.readUnsignedByte()/255,Vt=n.readUnsignedByte()/255,Jt=0,vr=0;Pt.setFrame(Jt,kt,qt,It,Yt,ar,pe,Sr,Vt),Jt!=ce;Jt++){var ir=n.readFloat(),Vr=n.readUnsignedByte()/255,br=n.readUnsignedByte()/255,Wr=n.readUnsignedByte()/255,Pr=n.readUnsignedByte()/255,Fr=n.readUnsignedByte()/255,$r=n.readUnsignedByte()/255,Kn=n.readUnsignedByte()/255;switch(n.readByte()){case Lo:Pt.setStepped(Jt);break;case Po:tn(n,Pt,vr++,Jt,0,kt,ir,qt,Vr,1),tn(n,Pt,vr++,Jt,1,kt,ir,It,br,1),tn(n,Pt,vr++,Jt,2,kt,
47ir,Yt,Wr,1),tn(n,Pt,vr++,Jt,3,kt,ir,ar,Pr,1),tn(n,Pt,vr++,Jt,4,kt,ir,pe,Fr,1),tn(n,Pt,vr++,Jt,5,kt,ir,Sr,$r,1),tn(n,Pt,vr++,Jt,6,kt,ir,Vt,Kn,1)}kt=ir,qt=Vr,It=br,Yt=Wr,ar=Pr,pe=Fr,Sr=$r,Vt=Kn}p.push(Pt);break;case F2:for(var aa=n.readInt(!0),vn=new ua(ne,aa,q),jr=n.readFloat(),_n=n.readUnsignedByte()/255,rn=n.readUnsignedByte()/255,Gi=n.readUnsignedByte()/255,Ai=n.readUnsignedByte()/255,Ci=n.readUnsignedByte()/255,Ri=n.readUnsignedByte()/255,Nn=0,ia=0;vn.setFrame(Nn,jr,_n,rn,Gi,Ai,Ci,Ri),Nn!=ce;Nn++){var Va=n.readFloat(),Vi=n.readUnsignedByte()/255,Dn=n.readUnsignedByte()/255,Io=n.readUnsignedByte()/255,di=n.readUnsignedByte()/255,Fo=n.readUnsignedByte()/255,ga=n.readUnsignedByte()/255;switch(n.readByte()){case Lo:vn.setStepped(Nn);break;case Po:tn(n,vn,ia++,Nn,0,jr,Va,_n,Vi,1),tn(n,vn,ia++,Nn,1,jr,Va,rn,Dn,1),tn(n,vn,ia++,Nn,2,jr,Va,Gi,Io,1),tn(n,vn,ia++,Nn,3,jr,Va,Ai,di,1),tn(n,vn,ia++,Nn,4,jr,Va,Ci,Fo,1),tn(n,vn,ia++,Nn,5,jr,Va,Ri,ga,1)}jr=Va,_n=Vi,rn=Dn,Gi=Io,Ai=di,Ci=Fo,Ri=ga}p.push(vn);break;case Ml:for(var tr=new Rn(ne,n.readInt(!0),q),ca=n.readFloat(),Pa=n.readUnsignedByte()/255,n0=0,a0=0;tr.setFrame(n0,ca,Pa),n0!=ce;n0++){var vi=n.readFloat(),ns=n.readUnsignedByte()/255;switch(n.readByte()){case Lo:tr.setStepped(n0);break;case Po:tn(n,tr,a0++,n0,0,ca,vi,Pa,ns,1)}ca=vi,Pa=ns}p.push(tr)}}for(var Da=0,As=n.readInt(!0);Da<As;Da++)for(var Ia=n.readInt(!0),Hi=0,i0=n.readInt(!0);Hi<i0;Hi++){var v1=n.readByte(),Ka=n.readInt(!0);if(v1!=_3){var Sa=n.readInt(!0);switch(v1){case c1:p.push(Ga(n,new Mt(Ka,Sa,Ia),1));break;case h1:p.push(au(n,new Dt(Ka,Sa,Ia),y));break;case ou:p.push(Ga(n,new gt(Ka,Sa,Ia),y));break;case $s:p.push(Ga(n,new ft(Ka,Sa,Ia),y));break;case Qs:p.push(au(n,new Wt(Ka,Sa,Ia),1));break;case f1:p.push(Ga(n,new or(Ka,Sa,Ia),1));break;case su:p.push(Ga(n,new xr(Ka,Sa,Ia),1));break;case Sl:p.push(au(n,new wr(Ka,Sa,Ia),1));break;case I2:p.push(Ga(n,new kr(Ka,Sa,Ia),1));break;case b3:p.push(Ga(n,new Tn(Ka,Sa,Ia),1))}}else{for(var mi=new qr(Ka,Ia),oo=0;oo<Ka;oo++)mi.setFrame(oo,n.readFloat(),n.readByte());p.push(mi)}}for(var Ha=0,fu=n.readInt(!0);Ha<fu;Ha++){for(var Ol=n.readInt(!0),Oi=n.readInt(!0),so=Oi-1,Bo=new La(Oi,n.readInt(!0),Ol),Xa=n.readByte(),as=n.readFloat(),uo=1&Xa?2&Xa?n.readFloat():1:0,is=4&Xa?n.readFloat()*y:0,Ur=0,oa=0;Bo.setFrame(Ur,as,uo,is,8&Xa?1:-1,(16&Xa)!=0,(32&Xa)!=0),Ur!=so;Ur++){Xa=n.readByte();var Un=n.readFloat(),pi=1&Xa?2&Xa?n.readFloat():1:0,Fa=4&Xa?n.readFloat()*y:0;64&Xa?Bo.setStepped(Ur):128&Xa&&(tn(n,Bo,oa++,Ur,0,as,Un,uo,pi,1),tn(n,Bo,oa++,Ur,1,as,Un,is,Fa,y)),as=Un,uo=pi,is=Fa}p.push(Bo)}for(var No=0,Uo=n.readInt(!0);No<Uo;No++){for(var m1=n.readInt(!0),os=n.readInt(!0),C0=os-1,Li=new un(os,n.readInt(!0),m1),xn=n.readFloat(),o0=n.readFloat(),$n=n.readFloat(),zo=n.readFloat(),Wa=n.readFloat(),lo=n.readFloat(),co=n.readFloat(),ya=0,oi=0;Li.setFrame(ya,xn,o0,$n,zo,Wa,lo,co),ya!=C0;ya++){var Zt=n.readFloat(),Xi=n.readFloat(),ln=n.readFloat(),ho=n.readFloat(),Hr=n.readFloat(),Cs=n.readFloat(),s0=n.readFloat();switch(n.readByte()){case Lo:Li.setStepped(ya);break;case Po:tn(n,Li,oi++,ya,0,xn,Zt,o0,Xi,1),tn(n,Li,oi++,ya,1,xn,Zt,$n,ln,1),tn(n,Li,oi++,ya,2,xn,Zt,zo,ho,1),tn(n,Li,oi++,ya,3,xn,Zt,Wa,Hr,1),tn(n,Li,oi++,ya,4,xn,Zt,lo,Cs,1),tn(n,Li,oi++,ya,5,xn,Zt,co,s0,1)}xn=Zt,o0=Xi,$n=ln,zo=ho,Wa=Hr,lo=Cs,co=s0}p.push(Li)}for(var Go=0,Vo=n.readInt(!0);Go<Vo;Go++)for(var gi=n.readInt(!0),ss=d.pathConstraints[gi],Rs=0,R0=n.readInt(!0);Rs<R0;Rs++){var ur=n.readByte(),us=n.readInt(!0),ls=n.readInt(!0);switch(ur){case B2:p.push(Ga(n,new Bi(us,ls,gi),ss.positionMode==zi.Fixed?y:1));break;case N2:p.push(Ga(n,new to(us,ls,gi),ss.spacingMode==la.Length||ss.spacingMode==la.Fixed?y:1));break;case e0:for(var Ho=new es(us,ls,gi),Ba=n.readFloat(),O0=n.readFloat(),Yn=n.readFloat(),fo=n.readFloat(),Ya=0,wn=0,yi=Ho.getFrameCount()-1;Ho.setFrame(Ya,Ba,O0,Yn,fo),Ya!=yi;Ya++){var qn=n.readFloat(),mr=n.readFloat(),u0=n.readFloat(),Xo=n.readFloat();switch(n.readByte()){case Lo:Ho.setStepped(Ya);break;case Po:tn(n,Ho,wn++,Ya,0,Ba,qn,O0,mr,1),tn(n,Ho,wn++,Ya,1,Ba,qn,Yn,u0,1),tn(n,Ho,wn++,Ya,2,Ba,qn,fo,Xo,1)}Ba=qn,O0=mr,Yn=u0,fo=Xo}p.push(Ho)}}for(var l0=0,Wi=n.readInt(!0);l0<Wi;l0++)for(var Na=n.readInt(!0)-1,Yi=0,c0=n.readInt(!0);Yi<c0;Yi++){var h0=n.readByte(),bi=n.readInt(!0);if(h0!=E3){var si=n.readInt(!0);switch(h0){case U2:p.push(Ga(n,new Wn(bi,si,Na),1));break;case x3:p.push(Ga(n,new Ao(bi,si,Na),1));break;case cu:p.push(Ga(n,new na(bi,si,Na),1));break;case w3:p.push(Ga(n,new ro(bi,si,Na),1));break;case S3:p.push(Ga(n,new n1(bi,si,Na),1));break;case M3:p.push(Ga(n,new Ni(bi,si,Na),1));break;case T3:p.push(Ga(n,new A0(bi,si,Na),1))}}else{for(var cs=new Ms(bi,Na),_i=0;_i<bi;
47_i++)cs.setFrame(_i,n.readFloat());p.push(cs)}}for(var qa=0,Os=n.readInt(!0);qa<Os;qa++)for(var hs=d.skins[n.readInt(!0)],Ls=0,fs=n.readInt(!0);Ls<fs;Ls++)for(var zn=n.readInt(!0),f0=0,Ps=n.readInt(!0);f0<Ps;f0++){var Pi=n.readStringRef();if(!Pi)throw new Error("attachmentName must not be null.");var qi=hs.getAttachment(zn,Pi),Ma=n.readByte(),Wo=n.readInt(!0),Ll=Wo-1;switch(Ma){case Tl:for(var Ds=qi,ui=Ds.bones,vo=Ds.vertices,Ta=ui?vo.length/3*2:vo.length,ds=n.readInt(!0),ji=new wa(Wo,ds,zn,Ds),mo=n.readFloat(),Ji=0,L0=0;;Ji++){var po=void 0,P0=n.readInt(!0);if(P0==0)po=ui?me.newFloatArray(Ta):vo;else{po=me.newFloatArray(Ta);var D0=n.readInt(!0);if(P0+=D0,y==1)for(var ja=D0;ja<P0;ja++)po[ja]=n.readFloat();else for(var go=D0;go<P0;go++)po[go]=n.readFloat()*y;if(!ui)for(var yo=0,Is=po.length;yo<Is;yo++)po[yo]+=vo[yo]}if(ji.setFrame(Ji,mo,po),Ji==Ll)break;var Fs=n.readFloat();switch(n.readByte()){case Lo:ji.setStepped(Ji);break;case Po:tn(n,ji,L0++,Ji,0,mo,Fs,0,1,1)}mo=Fs}p.push(ji);break;case El:for(var d0=new Ui(Wo,zn,qi),vs=0;vs<Wo;vs++){var Bs=n.readFloat(),I0=n.readInt32();d0.setFrame(vs,Bs,Le[15&I0],I0>>4,n.readFloat())}p.push(d0)}}var v0=n.readInt(!0);if(v0>0){for(var p1=new dr(v0),ms=d.slots.length,g1=0;g1<v0;g1++){for(var F0=n.readFloat(),y1=n.readInt(!0),Ns=me.newArray(ms,0),m0=ms-1;m0>=0;m0--)Ns[m0]=-1;for(var Zi=me.newArray(ms-y1,0),Ki=0,bo=0,b1=0;b1<y1;b1++){for(var du=n.readInt(!0);Ki!=du;)Zi[bo++]=Ki++;Ns[Ki+n.readInt(!0)]=Ki++}for(;Ki<ms;)Zi[bo++]=Ki++;for(var B0=ms-1;B0>=0;B0--)Ns[B0]==-1&&(Ns[B0]=Zi[--bo]);p1.setFrame(g1,F0,Ns)}p.push(p1)}var p0=n.readInt(!0);if(p0>0){for(var _1=new pa(p0),N0=0;N0<p0;N0++){var vu=n.readFloat(),x1=d.events[n.readInt(!0)],xi=new Z1(vu,x1);xi.intValue=n.readInt(!1),xi.floatValue=n.readFloat(),xi.stringValue=n.readString(),xi.stringValue==null&&(xi.stringValue=x1.stringValue),xi.data.audioPath&&(xi.volume=n.readFloat(),xi.balance=n.readFloat()),_1.setFrame(N0,xi)}p.push(_1)}for(var Yo=0,g0=0,w1=p.length;g0<w1;g0++)Yo=Math.max(Yo,p[g0].getDuration());return new qe(c,p,Yo)}}]),j}(),wl=function(){function j(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Array,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:new DataView(n.buffer);_(this,j),this.strings=c,this.index=d,this.buffer=p}return S(j,[{key:"readByte",value:function(){return this.buffer.getInt8(this.index++)}},{key:"readUnsignedByte",value:function(){return this.buffer.getUint8(this.index++)}},{key:"readShort",value:function(){var n=this.buffer.getInt16(this.index);return this.index+=2,n}},{key:"readInt32",value:function(){var n=this.buffer.getInt32(this.index);return this.index+=4,n}},{key:"readInt",value:function(n){var c=this.readByte(),d=127&c;return 128&c&&(d|=(127&(c=this.readByte()))<<7,128&c&&(d|=(127&(c=this.readByte()))<<14,128&c&&(d|=(127&(c=this.readByte()))<<21,128&c&&(d|=(127&(c=this.readByte()))<<28)))),n?d:d>>>1^-(1&d)}},{key:"readStringRef",value:function(){var n=this.readInt(!0);return n==0?null:this.strings[n-1]}},{key:"readString",value:function(){var n=this.readInt(!0);switch(n){case 0:return null;case 1:return""}n--;for(var c="",d=0;d<n;){var p=this.readUnsignedByte();switch(p>>4){case 12:case 13:c+=String.fromCharCode((31&p)<<6|63&this.readByte()),d+=2;break;case 14:c+=String.fromCharCode((15&p)<<12|(63&this.readByte())<<6|63&this.readByte()),d+=3;break;default:c+=String.fromCharCode(p),d++}}return c}},{key:"readFloat",value:function(){var n=this.buffer.getFloat32(this.index);return this.index+=4,n}},{key:"readBoolean",value:function(){return this.readByte()!=0}}]),j}(),P2=function j(n,c,d,p,y){_(this,j),this.mesh=n,this.skinIndex=c,this.slotIndex=d,this.parent=p,this.inheritTimeline=y},D2=function j(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;_(this,j),this.bones=n,this.vertices=c,this.length=d},Oo=void 0;function Ga(j,n,c){for(var d=j.readFloat(),p=j.readFloat()*c,y=0,R=0,G=n.getFrameCount()-1;
47n.setFrame(y,d,p),y!=G;y++){var q=j.readFloat(),P=j.readFloat()*c;switch(j.readByte()){case Lo:n.setStepped(y);break;case Po:tn(j,n,R++,y,0,d,q,p,P,c)}d=q,p=P}return n}function au(j,n,c){for(var d=j.readFloat(),p=j.readFloat()*c,y=j.readFloat()*c,R=0,G=0,q=n.getFrameCount()-1;n.setFrame(R,d,p,y),R!=q;R++){var P=j.readFloat(),Y=j.readFloat()*c,ee=j.readFloat()*c;switch(j.readByte()){case Lo:n.setStepped(R);break;case Po:tn(j,n,G++,R,0,d,P,p,Y,c),tn(j,n,G++,R,1,d,P,y,ee,c)}d=P,p=Y,y=ee}return n}function tn(j,n,c,d,p,y,R,G,q,P){n.setBezier(c,d,p,y,G,j.readFloat(),j.readFloat()*P,j.readFloat(),j.readFloat()*P,R,q)}(function(j){j[j.Region=0]="Region",j[j.BoundingBox=1]="BoundingBox",j[j.Mesh=2]="Mesh",j[j.LinkedMesh=3]="LinkedMesh",j[j.Path=4]="Path",j[j.Point=5]="Point",j[j.Clipping=6]="Clipping"})(Oo||(Oo={}));var iu,c1=0,h1=1,ou=2,$s=3,Qs=4,f1=5,su=6,Sl=7,I2=8,b3=9,_3=10,ii=0,d1=1,uu=2,lu=3,F2=4,Ml=5,Tl=0,El=1,B2=0,N2=1,e0=2,U2=0,x3=1,cu=2,w3=4,S3=5,M3=6,T3=7,E3=8,Lo=1,Po=2,k3=function(){function j(){_(this,j),this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.boundingBoxes=new Array,this.polygons=new Array,this.polygonPool=new he(function(){return me.newFloatArray(16)})}return S(j,[{key:"update",value:function(n,c){if(!n)throw new Error("skeleton cannot be null.");var d=this.boundingBoxes,p=this.polygons,y=this.polygonPool,R=n.slots,G=R.length;d.length=0,y.freeAll(p),p.length=0;for(var q=0;q<G;q++){var P=R[q];if(P.bone.active){var Y=P.getAttachment();if(Y instanceof q1){var ee=Y;d.push(ee);var ne=y.obtain();ne.length!=ee.worldVerticesLength&&(ne=me.newFloatArray(ee.worldVerticesLength)),p.push(ne),ee.computeWorldVertices(P,0,ee.worldVerticesLength,ne,0,2)}}}c?this.aabbCompute():(this.minX=Number.POSITIVE_INFINITY,this.minY=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.maxY=Number.NEGATIVE_INFINITY)}},{key:"aabbCompute",value:function(){for(var n=Number.POSITIVE_INFINITY,c=Number.POSITIVE_INFINITY,d=Number.NEGATIVE_INFINITY,p=Number.NEGATIVE_INFINITY,y=this.polygons,R=0,G=y.length;R<G;R++)for(var q=y[R],P=q,Y=0,ee=q.length;Y<ee;Y+=2){var ne=P[Y],ce=P[Y+1];n=Math.min(n,ne),c=Math.min(c,ce),d=Math.max(d,ne),p=Math.max(p,ce)}this.minX=n,this.minY=c,this.maxX=d,this.maxY=p}},{key:"aabbContainsPoint",value:function(n,c){return n>=this.minX&&n<=this.maxX&&c>=this.minY&&c<=this.maxY}},{key:"aabbIntersectsSegment",value:function(n,c,d,p){var y=this.minX,R=this.minY,G=this.maxX,q=this.maxY;if(n<=y&&d<=y||c<=R&&p<=R||n>=G&&d>=G||c>=q&&p>=q)return!1;var P=(p-c)/(d-n),Y=P*(y-n)+c;if(Y>R&&Y<q||(Y=P*(G-n)+c)>R&&Y<q)return!0;var ee=(R-c)/P+n;return ee>y&&ee<G||(ee=(q-c)/P+n)>y&&ee<G}},{key:"aabbIntersectsSkeleton",value:function(n){return this.minX<n.maxX&&this.maxX>n.minX&&this.minY<n.maxY&&this.maxY>n.minY}},{key:"containsPoint",value:function(n,c){for(var d=this.polygons,p=0,y=d.length;p<y;p++)if(this.containsPointPolygon(d[p],n,c))return this.boundingBoxes[p];return null}},{key:"containsPointPolygon",value:function(n,c,d){for(var p=n,y=n.length,R=y-2,G=!1,q=0;q<y;q+=2){var P=p[q+1],Y=p[R+1];if(P<d&&Y>=d||Y<d&&P>=d){var ee=p[q];ee+(d-P)/(Y-P)*(p[R]-ee)<c&&(G=!G)}R=q}return G}},{key:"intersectsSegment",value:function(n,c,d,p){for(var y=this.polygons,R=0,G=y.length;R<G;R++)if(this.intersectsSegmentPolygon(y[R],n,c,d,p))return this.boundingBoxes[R];return null}},{key:"intersectsSegmentPolygon",value:function(n,c,d,p,y){for(var R=n,G=n.length,q=c-p,P=d-y,Y=c*y-d*p,ee=R[G-2],ne=R[G-1],ce=0;ce<G;ce+=2){var le=R[ce],ve=R[ce+1],ye=ee*ve-ne*le,xe=ee-le,Re=ne-ve,Pe=q*Re-P*xe,De=(Y*xe-q*ye)/Pe;if((De>=ee&&De<=le||De>=le&&De<=ee)&&(De>=c&&De<=p||De>=p&&De<=c)){var Ne=(Y*Re-P*ye)/Pe;if((Ne>=ne&&Ne<=ve||Ne>=ve&&Ne<=ne)&&(Ne>=d&&Ne<=y||Ne>=y&&Ne<=d))return!0}ee=le,ne=ve}return!1}},{key:"getPolygon",value:function(n){if(!n)throw new Error("boundingBox cannot be null.");var c=this.boundingBoxes.indexOf(n);return c==-1?null:this.polygons[c]}},{key:"getWidth",value:function(){return this.maxX-this.minX}},{key:"getHeight",value:function(){return this.maxY-this.minY}}]),j}(),z2=function(){function j(){_(this,j),this.convexPolygons=new Array,this.convexPolygonsIndices=new Array,this.indicesArray=new Array,this.isConcaveArray=new Array,this.triangles=new Array,this.polygonPool=new he(function(){return new Array}),this.polygonIndicesPool=new he(function(){return new Array})}return S(j,[{key:"triangulate",value:function(n){var c=n,d=n.length>>1,p=this.indicesArray;p.length=0;for(var y=0;y<d;y++)p[y]=y;var R=this.isConcaveArray;R.length=0;for(var G=0,q=d;G<q;++G)R[G]=j.isConcave(G,d,c,p);var P=this.triangles;for(P.length=0;d>3;){for(var Y=d-1,ee=0,ne=1;;){e:if(!R[ee]){for(var ce=p[Y]<<1,le=p[ee]<<1,ve=p[ne]<<1,ye=c[ce],xe=c[ce+1],Re=c[le],Pe=c[le
47+1],De=c[ve],Ne=c[ve+1],Ve=(ne+1)%d;Ve!=Y;Ve=(Ve+1)%d)if(R[Ve]){var ct=p[Ve]<<1,He=c[ct],tt=c[ct+1];if(j.positiveArea(De,Ne,ye,xe,He,tt)&&j.positiveArea(ye,xe,Re,Pe,He,tt)&&j.positiveArea(Re,Pe,De,Ne,He,tt))break e}break}if(ne==0){do{if(!R[ee])break;ee--}while(ee>0);break}Y=ee,ee=ne,ne=(ne+1)%d}P.push(p[(d+ee-1)%d]),P.push(p[ee]),P.push(p[(ee+1)%d]),p.splice(ee,1),R.splice(ee,1);var et=(--d+ee-1)%d,xt=ee==d?0:ee;R[et]=j.isConcave(et,d,c,p),R[xt]=j.isConcave(xt,d,c,p)}return d==3&&(P.push(p[2]),P.push(p[0]),P.push(p[1])),P}},{key:"decompose",value:function(n,c){var d=n,p=this.convexPolygons;this.polygonPool.freeAll(p),p.length=0;var y=this.convexPolygonsIndices;this.polygonIndicesPool.freeAll(y),y.length=0;var R=this.polygonIndicesPool.obtain();R.length=0;var G=this.polygonPool.obtain();G.length=0;for(var q=-1,P=0,Y=0,ee=c.length;Y<ee;Y+=3){var ne=c[Y]<<1,ce=c[Y+1]<<1,le=c[Y+2]<<1,ve=d[ne],ye=d[ne+1],xe=d[ce],Re=d[ce+1],Pe=d[le],De=d[le+1],Ne=!1;if(q==ne){var Ve=G.length-4,ct=j.winding(G[Ve],G[Ve+1],G[Ve+2],G[Ve+3],Pe,De),He=j.winding(Pe,De,G[0],G[1],G[2],G[3]);ct==P&&He==P&&(G.push(Pe),G.push(De),R.push(le),Ne=!0)}Ne||(G.length>0?(p.push(G),y.push(R)):(this.polygonPool.free(G),this.polygonIndicesPool.free(R)),(G=this.polygonPool.obtain()).length=0,G.push(ve),G.push(ye),G.push(xe),G.push(Re),G.push(Pe),G.push(De),(R=this.polygonIndicesPool.obtain()).length=0,R.push(ne),R.push(ce),R.push(le),P=j.winding(ve,ye,xe,Re,Pe,De),q=ne)}G.length>0&&(p.push(G),y.push(R));for(var tt=0,et=p.length;tt<et;tt++)if((R=y[tt]).length!=0){for(var xt=R[0],wt=R[R.length-1],Tt=(G=p[tt]).length-4,St=G[Tt],je=G[Tt+1],Qe=G[Tt+2],Lt=G[Tt+3],Rt=G[0],Ht=G[1],Ft=G[2],Je=G[3],st=j.winding(St,je,Qe,Lt,Rt,Ht),_t=0;_t<et;_t++)if(_t!=tt){var At=y[_t];if(At.length==3){var jt=At[0],Nt=At[1],Pt=At[2],kt=p[_t],qt=kt[kt.length-2],It=kt[kt.length-1];if(jt==xt&&Nt==wt){var Yt=j.winding(St,je,Qe,Lt,qt,It),ar=j.winding(qt,It,Rt,Ht,Ft,Je);Yt==st&&ar==st&&(kt.length=0,At.length=0,G.push(qt),G.push(It),R.push(Pt),St=Qe,je=Lt,Qe=qt,Lt=It,_t=0)}}}}for(var pe=p.length-1;pe>=0;pe--)(G=p[pe]).length==0&&(p.splice(pe,1),this.polygonPool.free(G),R=y[pe],y.splice(pe,1),this.polygonIndicesPool.free(R));return p}}],[{key:"isConcave",value:function(n,c,d,p){var y=p[(c+n-1)%c]<<1,R=p[n]<<1,G=p[(n+1)%c]<<1;return!this.positiveArea(d[y],d[y+1],d[R],d[R+1],d[G],d[G+1])}},{key:"positiveArea",value:function(n,c,d,p,y,R){return n*(R-p)+d*(c-R)+y*(p-c)>=0}},{key:"winding",value:function(n,c,d,p,y,R){var G=d-n,q=p-c;return y*q-R*G+G*c-n*q>=0?1:-1}}]),j}(),G2=function(){function j(){_(this,j),this.triangulator=new z2,this.clippingPolygon=new Array,this.clipOutput=new Array,this.clippedVertices=new Array,this.clippedTriangles=new Array,this.scratch=new Array,this.clipAttachment=null,this.clippingPolygons=null}return S(j,[{key:"clipStart",value:function(n,c){if(this.clipAttachment)return 0;this.clipAttachment=c;var d=c.worldVerticesLength,p=me.setArraySize(this.clippingPolygon,d);c.computeWorldVertices(n,0,d,p,0,2);var y=this.clippingPolygon;j.makeClockwise(y);for(var R=this.clippingPolygons=this.triangulator.decompose(y,this.triangulator.triangulate(y)),G=0,q=R.length;G<q;G++){var P=R[G];j.makeClockwise(P),P.push(P[0]),P.push(P[1])}return R.length}},{key:"clipEndWithSlot",value:function(n){this.clipAttachment&&this.clipAttachment.endSlot==n.data&&this.clipEnd()}},{key:"clipEnd",value:function(){this.clipAttachment&&(this.clipAttachment=null,this.clippingPolygons=null,this.clippedVertices.length=0,this.clippedTriangles.length=0,this.clippingPolygon.length=0)}},{key:"isClipping",value:function(){return this.clipAttachment!=null}},{key:"clipTriangles",value:function(n,c,d,p,y,R,G,q){y&&R&&G&&typeof q=="boolean"?this.clipTrianglesRender(n,c,d,p,y,R,G,q):this.clipTrianglesNoRender(n,c,d,p)}},{key:"clipTrianglesNoRender",value:function(n,c,d,p){var y=this.clipOutput,R=this.clippedVertices,G=this.clippedTriangles,q=this.clippingPolygons,P=q.length,Y=0;R.length=0,G.length=0;e:for(var ee=0;ee<p;ee+=3)for(var ne=d[ee]<<1,ce=n[ne],le=n[ne+1],ve=n[ne=d[ee+1]<<1],ye=n[ne+1],xe=n[ne=d[ee+2]<<1],Re=n[ne+1],Pe=0;Pe<P;Pe++){var De=R.length;if(!this.clip(ce,le,ve,ye,xe,Re,q[Pe],y)){var Ne=me.setArraySize(R,De+6);Ne[De]=ce,Ne[De+1]=le,Ne[De+2]=ve,Ne[De+3]=ye,Ne[De+4]=xe,Ne[De+5]=Re,De=G.length;var Ve=me.setArraySize(G,De+3);Ve[De]=Y,Ve[De+1]=Y+1,Ve[De+2]=Y+2,Y+=3;continue e}var ct=y.length;if(ct!=0){for(var He=ct>>1,tt=this.clipOutput,et=me.setArraySize(R,De+2*He),xt=0;xt<ct;xt+=2){var wt=tt[xt],Tt=tt[xt+1];et[De]=wt,et[De+1]=Tt,De+=2}De=G.length;var St=me.setArraySize(G,De+3*(He-2));He--;for(var je=1;
47je<He;je++)St[De]=Y,St[De+1]=Y+je,St[De+2]=Y+je+1,De+=3;Y+=He+1}}}},{key:"clipTrianglesRender",value:function(n,c,d,p,y,R,G,q){var P=this.clipOutput,Y=this.clippedVertices,ee=this.clippedTriangles,ne=this.clippingPolygons,ce=ne.length,le=q?12:8,ve=0;Y.length=0,ee.length=0;e:for(var ye=0;ye<p;ye+=3)for(var xe=d[ye]<<1,Re=n[xe],Pe=n[xe+1],De=y[xe],Ne=y[xe+1],Ve=n[xe=d[ye+1]<<1],ct=n[xe+1],He=y[xe],tt=y[xe+1],et=n[xe=d[ye+2]<<1],xt=n[xe+1],wt=y[xe],Tt=y[xe+1],St=0;St<ce;St++){var je=Y.length;if(!this.clip(Re,Pe,Ve,ct,et,xt,ne[St],P)){var Qe=me.setArraySize(Y,je+3*le);Qe[je]=Re,Qe[je+1]=Pe,Qe[je+2]=R.r,Qe[je+3]=R.g,Qe[je+4]=R.b,Qe[je+5]=R.a,q?(Qe[je+6]=De,Qe[je+7]=Ne,Qe[je+8]=G.r,Qe[je+9]=G.g,Qe[je+10]=G.b,Qe[je+11]=G.a,Qe[je+12]=Ve,Qe[je+13]=ct,Qe[je+14]=R.r,Qe[je+15]=R.g,Qe[je+16]=R.b,Qe[je+17]=R.a,Qe[je+18]=He,Qe[je+19]=tt,Qe[je+20]=G.r,Qe[je+21]=G.g,Qe[je+22]=G.b,Qe[je+23]=G.a,Qe[je+24]=et,Qe[je+25]=xt,Qe[je+26]=R.r,Qe[je+27]=R.g,Qe[je+28]=R.b,Qe[je+29]=R.a,Qe[je+30]=wt,Qe[je+31]=Tt,Qe[je+32]=G.r,Qe[je+33]=G.g,Qe[je+34]=G.b,Qe[je+35]=G.a):(Qe[je+6]=De,Qe[je+7]=Ne,Qe[je+8]=Ve,Qe[je+9]=ct,Qe[je+10]=R.r,Qe[je+11]=R.g,Qe[je+12]=R.b,Qe[je+13]=R.a,Qe[je+14]=He,Qe[je+15]=tt,Qe[je+16]=et,Qe[je+17]=xt,Qe[je+18]=R.r,Qe[je+19]=R.g,Qe[je+20]=R.b,Qe[je+21]=R.a,Qe[je+22]=wt,Qe[je+23]=Tt),je=ee.length;var Lt=me.setArraySize(ee,je+3);Lt[je]=ve,Lt[je+1]=ve+1,Lt[je+2]=ve+2,ve+=3;continue e}var Rt=P.length;if(Rt!=0){for(var Ht=ct-xt,Ft=et-Ve,Je=Re-et,st=xt-Pe,_t=1/(Ht*Je+Ft*(Pe-xt)),At=Rt>>1,jt=this.clipOutput,Nt=me.setArraySize(Y,je+At*le),Pt=0;Pt<Rt;Pt+=2){var kt=jt[Pt],qt=jt[Pt+1];Nt[je]=kt,Nt[je+1]=qt,Nt[je+2]=R.r,Nt[je+3]=R.g,Nt[je+4]=R.b,Nt[je+5]=R.a;var It=kt-et,Yt=qt-xt,ar=(Ht*It+Ft*Yt)*_t,pe=(st*It+Je*Yt)*_t,Sr=1-ar-pe;Nt[je+6]=De*ar+He*pe+wt*Sr,Nt[je+7]=Ne*ar+tt*pe+Tt*Sr,q&&(Nt[je+8]=G.r,Nt[je+9]=G.g,Nt[je+10]=G.b,Nt[je+11]=G.a),je+=le}je=ee.length;var Vt=me.setArraySize(ee,je+3*(At-2));At--;for(var Jt=1;Jt<At;Jt++)Vt[je]=ve,Vt[je+1]=ve+Jt,Vt[je+2]=ve+Jt+1,je+=3;ve+=At+1}}}},{key:"clip",value:function(n,c,d,p,y,R,G,q){var P=q,Y=!1,ee=void 0;G.length%4>=2?(ee=q,q=this.scratch):ee=this.scratch,ee.length=0,ee.push(n),ee.push(c),ee.push(d),ee.push(p),ee.push(y),ee.push(R),ee.push(n),ee.push(c),q.length=0;for(var ne=G,ce=G.length-4,le=0;;le+=2){for(var ve=ne[le],ye=ne[le+1],xe=ne[le+2],Re=ne[le+3],Pe=ve-xe,De=ye-Re,Ne=ee,Ve=ee.length-2,ct=q.length,He=0;He<Ve;He+=2){var tt=Ne[He],et=Ne[He+1],xt=Ne[He+2],wt=Ne[He+3],Tt=Pe*(wt-Re)-De*(xt-xe)>0;if(Pe*(et-Re)-De*(tt-xe)>0){if(Tt){q.push(xt),q.push(wt);continue}var St=wt-et,je=xt-tt,Qe=St*(xe-ve)-je*(Re-ye);if(Math.abs(Qe)>1e-6){var Lt=(je*(ye-et)-St*(ve-tt))/Qe;q.push(ve+(xe-ve)*Lt),q.push(ye+(Re-ye)*Lt)}else q.push(ve),q.push(ye)}else if(Tt){var Rt=wt-et,Ht=xt-tt,Ft=Rt*(xe-ve)-Ht*(Re-ye);if(Math.abs(Ft)>1e-6){var Je=(Ht*(ye-et)-Rt*(ve-tt))/Ft;q.push(ve+(xe-ve)*Je),q.push(ye+(Re-ye)*Je)}else q.push(ve),q.push(ye);q.push(xt),q.push(wt)}Y=!0}if(ct==q.length)return P.length=0,!0;if(q.push(q[0]),q.push(q[1]),le==ce)break;var st=q;(q=ee).length=0,ee=st}if(P!=q){P.length=0;for(var _t=0,At=q.length-2;_t<At;_t++)P[_t]=q[_t]}else P.length-=2;return Y}}],[{key:"makeClockwise",value:function(n){for(var c=n,d=n.length,p=c[d-2]*c[1]-c[0]*c[d-1],y=0,R=0,G=0,q=0,P=d-3;q<P;q+=2)y=c[q],R=c[q+1],G=c[q+2],p+=y*c[q+3]-G*R;if(!(p<0))for(var Y=0,ee=d-2,ne=d>>1;Y<ne;Y+=2){var ce=c[Y],le=c[Y+1],ve=ee-Y;c[Y]=c[ve],c[Y+1]=c[ve+1],c[ve]=ce,c[ve+1]=le}}}]),j}(),A3=function(){function j(n){_(this,j),this.scale=1,this.linkedMeshes=new Array,this.attachmentLoader=n}return S(j,[{key:"readSkeletonData",value:function(n){var c=void 0,d=void 0,p=this.scale,y=new eu,R=typeof n=="string"?JSON.parse(n):n,G=R.skeleton;if(G&&(y.hash=G.hash,y.version=G.spine,y.x=G.x,y.y=G.y,y.width=G.width,y.height=G.height,y.referenceScale=Xe(G,"referenceScale",100)*p,y.fps=G.fps,y.imagesPath=(c=G.images)!==null&&c!==void 0?c:null,y.audioPath=(d=G.audio)!==null&&d!==void 0?d:null),R.bones)for(var q=0;q<R.bones.length;q++){var P=R.bones[q],Y=null,ee=Xe(P,"parent",null);ee&&(Y=y.findBone(ee));var ne=new s1(y.bones.length,P.name,Y);ne.length=Xe(P,"length",0)*p,ne.x=Xe(P,"x",0)*p,ne.y=Xe(P,"y",0)*p,ne.rotation=Xe(P,"rotation",0),ne.scaleX=Xe(P,"scaleX",1),ne.scaleY=Xe(P,"scaleY",1),ne.shearX=Xe(P,"shearX",0),ne.shearY=Xe(P,"shearY",0),P.transform?ne.inherit=me.enumValue(Pn,Xe(P,"transform","Normal")):ne.inherit=me.enumValue(Pn,Xe(P,"inherit","Normal")),ne.skinRequired=Xe(P,"skin",!1);var ce=Xe(P,"color",null);ce&&ne.color.setFromString(ce),y.bones.push(ne)}if(R.slots)for(var le=0;le<R.slots.length;le++){var ve=R.slots[le],ye=null,xe=ve.name,Re=xe.lastIndexOf("/");Re!=-1&&(ye=xe.substring(0,Re),xe=xe.substring(Re+1));var Pe=y.findBone(ve.bone);if(!Pe)throw new Error("Couldn't find bone "+ve.bone+" for slot "+xe);var De=new ru(y.slots.length,xe,Pe),Ne=Xe(ve,"color",null);Ne&&De.color.setFromString(Ne);var Ve=Xe(ve,"dark",null);Ve&&(De.darkColor=$.fromString(Ve)),De.attachmentName=Xe(ve,"attachment",null),De.blendMode=me.enumValue(Ro,Xe(ve,"blend","normal")),De.visible=Xe(ve,"visible",!0),De.path=ye,y.slots.push(De)}if(R.ik)for(var ct=0;ct<R.ik.length;ct++){var He=R.ik[ct],tt=new $1(He.name);tt.order=Xe(He,"order",0),tt.skinRequired=Xe(He,"skin",!1);for(var et=0;et<He.bones.length;et++){var xt=y.findBone(He.bones[et]);if(!xt)throw new Error("Couldn't find bone "+He.bones[et]+" for IK constraint "+He.name+".");tt.bones.push(xt)}var wt=y.findBone(He.target);if(!wt)throw new Error("Couldn't find target bone "+He.target+" for IK constraint "+He.name+".");tt.target=wt,tt.mix=Xe(He,"mix",1),tt.softness=Xe(He,"softness",0)*p,tt.bendDirection=Xe(He,"bendPositive",!0)?1:-1,tt.compress=Xe(He,"compress",!1),tt.stretch=Xe(He,"stretch",!1),tt.uniform=Xe(He,"uniform",!1),y.ikConstraints.push(tt)}if(R.transform)for(var Tt=0;Tt<R.transform.length;Tt++){var St=R.transform[Tt],je=new nu(St.name);je.order=Xe(St,"order",0),je.skinRequired=Xe(St,"skin",!1);for(var Qe=0;Qe<St.bones.length;Qe++){var Lt=St.bones[Qe],Rt=y.findBone(Lt);if(!Rt)throw new Error("Couldn't find bone "+Lt+" for transform constraint "+St.name+".");
47je.bones.push(Rt)}var Ht=St.target,Ft=y.findBone(Ht);if(!Ft)throw new Error("Couldn't find target bone "+Ht+" for transform constraint "+St.name+".");je.target=Ft,je.local=Xe(St,"local",!1),je.relative=Xe(St,"relative",!1),je.offsetRotation=Xe(St,"rotation",0),je.offsetX=Xe(St,"x",0)*p,je.offsetY=Xe(St,"y",0)*p,je.offsetScaleX=Xe(St,"scaleX",0),je.offsetScaleY=Xe(St,"scaleY",0),je.offsetShearY=Xe(St,"shearY",0),je.mixRotate=Xe(St,"mixRotate",1),je.mixX=Xe(St,"mixX",1),je.mixY=Xe(St,"mixY",je.mixX),je.mixScaleX=Xe(St,"mixScaleX",1),je.mixScaleY=Xe(St,"mixScaleY",je.mixScaleX),je.mixShearY=Xe(St,"mixShearY",1),y.transformConstraints.push(je)}if(R.path)for(var Je=0;Je<R.path.length;Je++){var st=R.path[Je],_t=new Q1(st.name);_t.order=Xe(st,"order",0),_t.skinRequired=Xe(st,"skin",!1);for(var At=0;At<st.bones.length;At++){var jt=st.bones[At],Nt=y.findBone(jt);if(!Nt)throw new Error("Couldn't find bone "+jt+" for path constraint "+st.name+".");_t.bones.push(Nt)}var Pt=st.target,kt=y.findSlot(Pt);if(!kt)throw new Error("Couldn't find target slot "+Pt+" for path constraint "+st.name+".");_t.target=kt,_t.positionMode=me.enumValue(zi,Xe(st,"positionMode","Percent")),_t.spacingMode=me.enumValue(la,Xe(st,"spacingMode","Length")),_t.rotateMode=me.enumValue(rs,Xe(st,"rotateMode","Tangent")),_t.offsetRotation=Xe(st,"rotation",0),_t.position=Xe(st,"position",0),_t.positionMode==zi.Fixed&&(_t.position*=p),_t.spacing=Xe(st,"spacing",0),_t.spacingMode!=la.Length&&_t.spacingMode!=la.Fixed||(_t.spacing*=p),_t.mixRotate=Xe(st,"mixRotate",1),_t.mixX=Xe(st,"mixX",1),_t.mixY=Xe(st,"mixY",_t.mixX),y.pathConstraints.push(_t)}if(R.physics)for(var qt=0;qt<R.physics.length;qt++){var It=R.physics[qt],Yt=new xl(It.name);Yt.order=Xe(It,"order",0),Yt.skinRequired=Xe(It,"skin",!1);var ar=It.bone,pe=y.findBone(ar);if(pe==null)throw new Error("Physics bone not found: "+ar);Yt.bone=pe,Yt.x=Xe(It,"x",0),Yt.y=Xe(It,"y",0),Yt.rotate=Xe(It,"rotate",0),Yt.scaleX=Xe(It,"scaleX",0),Yt.shearX=Xe(It,"shearX",0),Yt.limit=Xe(It,"limit",5e3)*p,Yt.step=1/Xe(It,"fps",60),Yt.inertia=Xe(It,"inertia",1),Yt.strength=Xe(It,"strength",100),Yt.damping=Xe(It,"damping",1),Yt.massInverse=1/Xe(It,"mass",1),Yt.wind=Xe(It,"wind",0),Yt.gravity=Xe(It,"gravity",0),Yt.mix=Xe(It,"mix",1),Yt.inertiaGlobal=Xe(It,"inertiaGlobal",!1),Yt.strengthGlobal=Xe(It,"strengthGlobal",!1),Yt.dampingGlobal=Xe(It,"dampingGlobal",!1),Yt.massGlobal=Xe(It,"massGlobal",!1),Yt.windGlobal=Xe(It,"windGlobal",!1),Yt.gravityGlobal=Xe(It,"gravityGlobal",!1),Yt.mixGlobal=Xe(It,"mixGlobal",!1),y.physicsConstraints.push(Yt)}if(R.skins)for(var Sr=0;Sr<R.skins.length;Sr++){var Vt=R.skins[Sr],Jt=new l1(Vt.name);if(Vt.bones)for(var vr=0;vr<Vt.bones.length;vr++){var ir=Vt.bones[vr],Vr=y.findBone(ir);if(!Vr)throw new Error("Couldn't find bone "+ir+" for skin "+Vt.name+".");Jt.bones.push(Vr)}if(Vt.ik)for(var br=0;br<Vt.ik.length;br++){var Wr=Vt.ik[br],Pr=y.findIkConstraint(Wr);if(!Pr)throw new Error("Couldn't find IK constraint "+Wr+" for skin "+Vt.name+".");Jt.constraints.push(Pr)}if(Vt.transform)for(var Fr=0;Fr<Vt.transform.length;Fr++){var $r=Vt.transform[Fr],Kn=y.findTransformConstraint($r);if(!Kn)throw new Error("Couldn't find transform constraint "+$r+" for skin "+Vt.name+".");Jt.constraints.push(Kn)}if(Vt.path)for(var aa=0;aa<Vt.path.length;aa++){var vn=Vt.path[aa],jr=y.findPathConstraint(vn);if(!jr)throw new Error("Couldn't find path constraint "+vn+" for skin "+Vt.name+".");Jt.constraints.push(jr)}if(Vt.physics)for(var _n=0;_n<Vt.physics.length;_n++){var rn=Vt.physics[_n],Gi=y.findPhysicsConstraint(rn);if(!Gi)throw new Error("Couldn't find physics constraint "+rn+" for skin "+Vt.name+".");Jt.constraints.push(Gi)}for(var Ai in Vt.attachments){var Ci=y.findSlot(Ai);if(!Ci)throw new Error("Couldn't find slot "+Ai+" for skin "+Vt.name+".");var Ri=Vt.attachments[Ai];for(var Nn in Ri){var ia=this.readAttachment(Ri[Nn],Jt,Ci.index,Nn,y);ia&&Jt.setAttachment(Ci.index,Nn,ia)}}y.skins.push(Jt),Jt.name=="default"&&(y.defaultSkin=Jt)}for(var Va=0,Vi=this.linkedMeshes.length;Va<Vi;Va++){var Dn=this.linkedMeshes[Va],Io=Dn.skin?y.findSkin(Dn.skin):y.defaultSkin;if(!Io)throw new Error("Skin not found: "+Dn.skin);var di=Io.getAttachment(Dn.slotIndex,Dn.parent);if(!di)throw new Error("Parent mesh not found: "+Dn.parent);Dn.mesh.timelineAttachment=Dn.inheritTimeline?di:Dn.mesh,Dn.mesh.setParentMesh(di),Dn.mesh.region!=null&&Dn.mesh.updateRegion()}if(this.linkedMeshes.length=0,R.events)for(var Fo in R.events){var ga=R.events[Fo],tr=new K1(Fo);tr.intValue=Xe(ga,"int",0),tr.floatValue=Xe(ga,"float",0),tr.stringValue=Xe(ga,"string",""),tr.audioPath=Xe(ga,"audio",null),tr.audioPath&&(tr.volume=Xe(ga,"volume",1),tr.balance=Xe(ga,"balance",0)),y.events.push(tr)}if(R.animations)for(var ca in R.animations){var Pa=R.animations[ca];this.readAnimation(Pa,ca,y)}return y.extra=R.extra||{},y.extraConfig=R.extraConfig||{},y.extraSlot=R.extraSlot||{},y}},{key:"readAttachment",value:function(n,c,d,p,y){var R=this.scale;switch(p=Xe(n,"name",p),Xe(n,"type","region")){case"region":var G=Xe(n,"path",p),q=this.readSequence(Xe(n,"sequence",null)),P=this.attachmentLoader.newRegionAttachment(c,p,G,q);if(!P)return null;P.path=G,P.x=Xe(n,"x",0)*R,P.y=Xe(n,"y",0)*R,P.scaleX=Xe(n,"scaleX",1),P.scaleY=Xe(n,"scaleY",1),P.rotation=Xe(n,"rotation",0),P.width=n.width*R,P.height=n.height*R,P.sequence=q;var Y=Xe(n,"color",null);return Y&&P.color.setFromString(Y),P.region!=null&&P.updateRegion(),P;
47case"boundingbox":var ee=this.attachmentLoader.newBoundingBoxAttachment(c,p);if(!ee)return null;this.readVertices(n,ee,n.vertexCount<<1);var ne=Xe(n,"color",null);return ne&&ee.color.setFromString(ne),ee;case"mesh":case"linkedmesh":var ce=Xe(n,"path",p),le=this.readSequence(Xe(n,"sequence",null)),ve=this.attachmentLoader.newMeshAttachment(c,p,ce,le);if(!ve)return null;ve.path=ce;var ye=Xe(n,"color",null);ye&&ve.color.setFromString(ye),ve.width=Xe(n,"width",0)*R,ve.height=Xe(n,"height",0)*R,ve.sequence=le;var xe=Xe(n,"parent",null);if(xe)return this.linkedMeshes.push(new C3(ve,Xe(n,"skin",null),d,xe,Xe(n,"timelines",!0))),ve;var Re=n.uvs;return this.readVertices(n,ve,Re.length),ve.triangles=n.triangles,ve.regionUVs=Re,ve.region!=null&&ve.updateRegion(),ve.edges=Xe(n,"edges",null),ve.hullLength=2*Xe(n,"hull",0),ve;case"path":var Pe=this.attachmentLoader.newPathAttachment(c,p);if(!Pe)return null;Pe.closed=Xe(n,"closed",!1),Pe.constantSpeed=Xe(n,"constantSpeed",!0);var De=n.vertexCount;this.readVertices(n,Pe,De<<1);for(var Ne=me.newArray(De/3,0),Ve=0;Ve<n.lengths.length;Ve++)Ne[Ve]=n.lengths[Ve]*R;Pe.lengths=Ne;var ct=Xe(n,"color",null);return ct&&Pe.color.setFromString(ct),Pe;case"point":var He=this.attachmentLoader.newPointAttachment(c,p);if(!He)return null;He.x=Xe(n,"x",0)*R,He.y=Xe(n,"y",0)*R,He.rotation=Xe(n,"rotation",0);var tt=Xe(n,"color",null);return tt&&He.color.setFromString(tt),He;case"clipping":var et=this.attachmentLoader.newClippingAttachment(c,p);if(!et)return null;var xt=Xe(n,"end",null);xt&&(et.endSlot=y.findSlot(xt));var wt=n.vertexCount;this.readVertices(n,et,wt<<1);var Tt=Xe(n,"color",null);return Tt&&et.color.setFromString(Tt),et}return null}},{key:"readSequence",value:function(n){if(n==null)return null;var c=new Ce(Xe(n,"count",0));return c.start=Xe(n,"start",1),c.digits=Xe(n,"digits",0),c.setupIndex=Xe(n,"setup",0),c}},{key:"readVertices",value:function(n,c,d){var p=this.scale;c.worldVerticesLength=d;var y=n.vertices;if(d!=y.length){for(var R=new Array,G=new Array,q=0,P=y.length;q<P;){var Y=y[q++];G.push(Y);for(var ee=q+4*Y;q<ee;q+=4)G.push(y[q]),R.push(y[q+1]*p),R.push(y[q+2]*p),R.push(y[q+3])}c.bones=G,c.vertices=me.toFloatArray(R)}else{var ne=me.toFloatArray(y);if(p!=1)for(var ce=0,le=y.length;ce<le;ce++)ne[ce]*=p;c.vertices=ne}}},{key:"readAnimation",value:function(n,c,d){var p=this.scale,y=new Array;if(n.slots)for(var R in n.slots){var G=n.slots[R],q=d.findSlot(R);if(!q)throw new Error("Slot not found: "+R);var P=q.index;for(var Y in G){var ee=G[Y];if(ee){var ne=ee.length;if(Y=="attachment"){for(var ce=new pr(ne,P),le=0;le<ne;le++){var ve=ee[le];ce.setFrame(le,Xe(ve,"time",0),Xe(ve,"name",null))}y.push(ce)}else if(Y=="rgba"){for(var ye=new Bn(ne,ne<<2,P),xe=ee[0],Re=Xe(xe,"time",0),Pe=$.fromString(xe.color),De=0,Ne=0;;De++){ye.setFrame(De,Re,Pe.r,Pe.g,Pe.b,Pe.a);var Ve=ee[De+1];if(!Ve){ye.shrink(Ne);break}var ct=Xe(Ve,"time",0),He=$.fromString(Ve.color),tt=xe.curve;tt&&(Ne=Gr(tt,ye,Ne,De,0,Re,ct,Pe.r,He.r,1),Ne=Gr(tt,ye,Ne,De,1,Re,ct,Pe.g,He.g,1),Ne=Gr(tt,ye,Ne,De,2,Re,ct,Pe.b,He.b,1),Ne=Gr(tt,ye,Ne,De,3,Re,ct,Pe.a,He.a,1)),Re=ct,Pe=He,xe=Ve}y.push(ye)}else if(Y=="rgb"){for(var et=new Oa(ne,3*ne,P),xt=ee[0],wt=Xe(xt,"time",0),Tt=$.fromString(xt.color),St=0,je=0;;St++){et.setFrame(St,wt,Tt.r,Tt.g,Tt.b);var Qe=ee[St+1];if(!Qe){et.shrink(je);break}var Lt=Xe(Qe,"time",0),Rt=$.fromString(Qe.color),Ht=xt.curve;Ht&&(je=Gr(Ht,et,je,St,0,wt,Lt,Tt.r,Rt.r,1),je=Gr(Ht,et,je,St,1,wt,Lt,Tt.g,Rt.g,1),je=Gr(Ht,et,je,St,2,wt,Lt,Tt.b,Rt.b,1)),wt=Lt,Tt=Rt,xt=Qe}y.push(et)}else if(Y=="alpha")y.push(io(ee,new Rn(ne,ne,P),0,1));else if(Y=="rgba2"){for(var Ft=new en(ne,7*ne,P),Je=ee[0],st=Xe(Je,"time",0),_t=$.fromString(Je.light),At=$.fromString(Je.dark),jt=0,Nt=0;;jt++){Ft.setFrame(jt,st,_t.r,_t.g,_t.b,_t.a,At.r,At.g,At.b);var Pt=ee[jt+1];if(!Pt){Ft.shrink(Nt);break}var kt=Xe(Pt,"time",0),qt=$.fromString(Pt.light),It=$.fromString(Pt.dark),Yt=Je.curve;Yt&&(Nt=Gr(Yt,Ft,Nt,jt,0,st,kt,_t.r,qt.r,1),Nt=Gr(Yt,Ft,Nt,jt,1,st,kt,_t.g,qt.g,1),Nt=Gr(Yt,Ft,Nt,jt,2,st,kt,_t.b,qt.b,1),Nt=Gr(Yt,Ft,Nt,jt,3,st,kt,_t.a,qt.a,1),Nt=Gr(Yt,Ft,Nt,jt,4,st,kt,At.r,It.r,1),Nt=Gr(Yt,Ft,Nt,jt,5,st,kt,At.g,It.g,1),Nt=Gr(Yt,Ft,Nt,jt,6,st,kt,At.b,It.b,1)),st=kt,_t=qt,At=It,Je=Pt}y.push(Ft)}else if(Y=="rgb2"){for(var ar=new ua(ne,6*ne,P),pe=ee[0],Sr=Xe(pe,"t
47ime",0),Vt=$.fromString(pe.light),Jt=$.fromString(pe.dark),vr=0,ir=0;;vr++){ar.setFrame(vr,Sr,Vt.r,Vt.g,Vt.b,Jt.r,Jt.g,Jt.b);var Vr=ee[vr+1];if(!Vr){ar.shrink(ir);break}var br=Xe(Vr,"time",0),Wr=$.fromString(Vr.light),Pr=$.fromString(Vr.dark),Fr=pe.curve;Fr&&(ir=Gr(Fr,ar,ir,vr,0,Sr,br,Vt.r,Wr.r,1),ir=Gr(Fr,ar,ir,vr,1,Sr,br,Vt.g,Wr.g,1),ir=Gr(Fr,ar,ir,vr,2,Sr,br,Vt.b,Wr.b,1),ir=Gr(Fr,ar,ir,vr,3,Sr,br,Jt.r,Pr.r,1),ir=Gr(Fr,ar,ir,vr,4,Sr,br,Jt.g,Pr.g,1),ir=Gr(Fr,ar,ir,vr,5,Sr,br,Jt.b,Pr.b,1)),Sr=br,Vt=Wr,Jt=Pr,pe=Vr}y.push(ar)}}}}if(n.bones)for(var $r in n.bones){var Kn=n.bones[$r],aa=d.findBone($r);if(!aa)throw new Error("Bone not found: "+$r);var vn=aa.index;for(var jr in Kn){var _n=Kn[jr],rn=_n.length;if(rn!=0){if(jr==="rotate")y.push(io(_n,new Mt(rn,rn,vn),0,1));else if(jr==="translate"){var Gi=new Dt(rn,rn<<1,vn);y.push(hu(_n,Gi,"x","y",0,p))}else if(jr==="translatex"){var Ai=new gt(rn,rn,vn);y.push(io(_n,Ai,0,p))}else if(jr==="translatey"){var Ci=new ft(rn,rn,vn);y.push(io(_n,Ci,0,p))}else if(jr==="scale"){var Ri=new Wt(rn,rn<<1,vn);y.push(hu(_n,Ri,"x","y",1,1))}else if(jr==="scalex"){var Nn=new or(rn,rn,vn);y.push(io(_n,Nn,1,1))}else if(jr==="scaley"){var ia=new xr(rn,rn,vn);y.push(io(_n,ia,1,1))}else if(jr==="shear"){var Va=new wr(rn,rn<<1,vn);y.push(hu(_n,Va,"x","y",0,1))}else if(jr==="shearx"){var Vi=new kr(rn,rn,vn);y.push(io(_n,Vi,0,1))}else if(jr==="sheary"){var Dn=new Tn(rn,rn,vn);y.push(io(_n,Dn,0,1))}else if(jr==="inherit"){for(var Io=new qr(rn,aa.index),di=0;di<_n.length;di++){var Fo=_n[di];Io.setFrame(di,Xe(Fo,"time",0),me.enumValue(Pn,Xe(Fo,"inherit","Normal")))}y.push(Io)}}}}if(n.ik)for(var ga in n.ik){var tr=n.ik[ga],ca=tr[0];if(ca){var Pa=d.findIkConstraint(ga);if(!Pa)throw new Error("IK Constraint not found: "+ga);for(var n0=d.ikConstraints.indexOf(Pa),a0=new La(tr.length,tr.length<<1,n0),vi=Xe(ca,"time",0),ns=Xe(ca,"mix",1),Da=Xe(ca,"softness",0)*p,As=0,Ia=0;;As++){a0.setFrame(As,vi,ns,Da,Xe(ca,"bendPositive",!0)?1:-1,Xe(ca,"compress",!1),Xe(ca,"stretch",!1));var Hi=tr[As+1];if(!Hi){a0.shrink(Ia);break}var i0=Xe(Hi,"time",0),v1=Xe(Hi,"mix",1),Ka=Xe(Hi,"softness",0)*p,Sa=ca.curve;Sa&&(Ia=Gr(Sa,a0,Ia,As,0,vi,i0,ns,v1,1),Ia=Gr(Sa,a0,Ia,As,1,vi,i0,Da,Ka,p)),vi=i0,ns=v1,Da=Ka,ca=Hi}y.push(a0)}}if(n.transform)for(var mi in n.transform){var oo=n.transform[mi],Ha=oo[0];if(Ha){var fu=d.findTransformConstraint(mi);if(!fu)throw new Error("Transform constraint not found: "+mi);for(var Ol=d.transformConstraints.indexOf(fu),Oi=new un(oo.length,6*oo.length,Ol),so=Xe(Ha,"time",0),Bo=Xe(Ha,"mixRotate",1),Xa=Xe(Ha,"mixX",1),as=Xe(Ha,"mixY",Xa),uo=Xe(Ha,"mixScaleX",1),is=Xe(Ha,"mixScaleY",uo),Ur=Xe(Ha,"mixShearY",1),oa=0,Un=0;;oa++){Oi.setFrame(oa,so,Bo,Xa,as,uo,is,Ur);var pi=oo[oa+1];if(!pi){Oi.shrink(Un);break}var Fa=Xe(pi,"time",0),No=Xe(pi,"mixRotate",1),Uo=Xe(pi,"mixX",1),m1=Xe(pi,"mixY",Uo),os=Xe(pi,"mixScaleX",1),C0=Xe(pi,"mixScaleY",os),Li=Xe(pi,"mixShearY",1),xn=Ha.curve;xn&&(Un=Gr(xn,Oi,Un,oa,0,so,Fa,Bo,No,1),Un=Gr(xn,Oi,Un,oa,1,so,Fa,Xa,Uo,1),Un=Gr(xn,Oi,Un,oa,2,so,Fa,as,m1,1),Un=Gr(xn,Oi,Un,oa,3,so,Fa,uo,os,1),Un=Gr(xn,Oi,Un,oa,4,so,Fa,is,C0,1),Un=Gr(xn,Oi,Un,oa,5,so,Fa,Ur,Li,1)),so=Fa,Bo=No,Xa=Uo,as=m1,uo=os,is=C0,uo=os,Ha=pi}y.push(Oi)}}if(n.path)for(var o0 in n.path){var $n=n.path[o0],zo=d.findPathConstraint(o0);if(!zo)throw new Error("Path constraint not found: "+o0);var Wa=d.pathConstraints.indexOf(zo);for(var lo in $n){var co=$n[lo],ya=co[0];if(ya){var oi=co.length;if(lo==="position"){var Zt=new Bi(oi,oi,Wa);y.push(io(co,Zt,0,zo.positionMode==zi.Fixed?p:1))}else if(lo==="spacing"){var Xi=new to(oi,oi,Wa);y.push(io(co,Xi,0,zo.spacingMode==la.Length||zo.spacingMode==la.Fixed?p:1))}else if(lo==="mix"){for(var ln=new es(oi,3*oi,Wa),ho=Xe(ya,"time",0),Hr=Xe(ya,"mixRotate",1),Cs=Xe(ya,"mixX",1),s0=Xe(ya,"mixY",Cs),Go=0,Vo=0;;Go++){ln.setFrame(Go,ho,Hr,Cs,s0);var gi=co[Go+1];if(!gi){ln.shrink(Vo);break}var ss=Xe(gi,"time",0),Rs=Xe(gi,"mixRotate",1),R0=Xe(gi,"mixX",1),ur=Xe(gi,"mixY",R0),us=ya.curve;us&&(Vo=Gr(us,ln,Vo,Go,0,ho,ss,Hr,Rs,1),Vo=Gr(us,ln,Vo,Go,1,ho,ss,Cs,R0,1),Vo=Gr(us,ln,Vo,Go,2,ho,ss,s0,ur,1)),ho=ss,Hr=Rs,Cs=R0,s0=ur,ya=gi}y.push(ln)}}}}if(n.physics)for(var ls in n.physics){var Ho=n.physics[ls],Ba=-1;if(ls.length>0){var O0=d.findPhysicsConstraint(ls);if(!O0)throw new Error("Physics constraint not found: "+ls);Ba=d.physicsConstraints.indexOf(O0)}for(var Yn in Ho){var fo=Ho[Yn],Ya=fo[0];if(Ya){var wn=fo.length;if(Yn!="reset"){var yi=void 0;if(Yn=="inertia")yi=new Wn(wn,wn,Ba);else if(Yn=="strength")yi=new Ao(wn,wn,Ba);else if(Yn=="damping")yi=new na(wn,wn,Ba);else if(Yn=="mass")yi=new ro(wn,wn,Ba);else if(Yn=="wind")yi=new n1(wn,wn,Ba);else if(Yn=="gravity")yi=new Ni(wn,wn,Ba);else{if(Yn!="mix")continue;yi=new A0(wn,wn,Ba)}y.push(io(fo,yi,0,1))}
47else{for(var qn=new Ms(fo.size,Ba),mr=0;Ya!=null;Ya=fo[mr+1],mr++)qn.setFrame(mr,Xe(Ya,"time",0));y.push(qn)}}}}if(n.attachments)for(var u0 in n.attachments){var Xo=n.attachments[u0],l0=d.findSkin(u0);if(!l0)throw new Error("Skin not found: "+u0);for(var Wi in Xo){var Na=Xo[Wi],Yi=d.findSlot(Wi);if(!Yi)throw new Error("Slot not found: "+Wi);var c0=Yi.index;for(var h0 in Na){var bi=Na[h0],si=l0.getAttachment(c0,h0);for(var cs in bi){var _i=bi[cs],qa=_i[0];if(qa){if(cs=="deform"){for(var Os=si.bones,hs=si.vertices,Ls=Os?hs.length/3*2:hs.length,fs=new wa(_i.length,_i.length,c0,si),zn=Xe(qa,"time",0),f0=0,Ps=0;;f0++){var Pi=void 0,qi=Xe(qa,"vertices",null);if(qi){Pi=me.newFloatArray(Ls);var Ma=Xe(qa,"offset",0);if(me.arrayCopy(qi,0,Pi,Ma,qi.length),p!=1)for(var Wo=Ma,Ll=Wo+qi.length;Wo<Ll;Wo++)Pi[Wo]*=p;if(!Os)for(var Ds=0;Ds<Ls;Ds++)Pi[Ds]+=hs[Ds]}else Pi=Os?me.newFloatArray(Ls):hs;fs.setFrame(f0,zn,Pi);var ui=_i[f0+1];if(!ui){fs.shrink(Ps);break}var vo=Xe(ui,"time",0),Ta=qa.curve;Ta&&(Ps=Gr(Ta,fs,Ps,f0,0,zn,vo,0,1,1)),zn=vo,qa=ui}y.push(fs)}else if(cs=="sequence"){for(var ds=new Ui(_i.length,c0,si),ji=0,mo=0;mo<_i.length;mo++){var Ji=Xe(qa,"delay",ji),L0=Xe(qa,"time",0),po=fe[Xe(qa,"mode","hold")],P0=Xe(qa,"index",0);
47ds.setFrame(mo,L0,po,P0,Ji),ji=Ji,qa=_i[mo+1]}y.push(ds)}}}}}}if(n.drawOrder){for(var D0=new dr(n.drawOrder.length),ja=d.slots.length,go=0,yo=0;yo<n.drawOrder.length;yo++,go++){var Is=n.drawOrder[yo],Fs=null,d0=Xe(Is,"offsets",null);if(d0){Fs=me.newArray(ja,-1);for(var vs=me.newArray(ja-d0.length,0),Bs=0,I0=0,v0=0;v0<d0.length;v0++){var p1=d0[v0],ms=d.findSlot(p1.slot);if(!ms)throw new Error("Slot not found: "+ms);for(var g1=ms.index;Bs!=g1;)vs[I0++]=Bs++;Fs[Bs+p1.offset]=Bs++}for(;Bs<ja;)vs[I0++]=Bs++;for(var F0=ja-1;F0>=0;F0--)Fs[F0]==-1&&(Fs[F0]=vs[--I0])}D0.setFrame(go,Xe(Is,"time",0),Fs)}y.push(D0)}if(n.events){for(var y1=new pa(n.events.length),Ns=0,m0=0;m0<n.events.length;m0++,Ns++){var Zi=n.events[m0],Ki=d.findEvent(Zi.name);if(!Ki)throw new Error("Event not found: "+Zi.name);var bo=new Z1(me.toSinglePrecision(Xe(Zi,"time",0)),Ki);bo.intValue=Xe(Zi,"int",Ki.intValue),bo.floatValue=Xe(Zi,"float",Ki.floatValue),bo.stringValue=Xe(Zi,"string",Ki.stringValue),bo.data.audioPath&&(bo.volume=Xe(Zi,"volume",1),bo.balance=Xe(Zi,"balance",0)),y1.setFrame(Ns,bo)}y.push(y1)}if(n.deform)for(var b1 in n.deform){var du=n.deform[b1],B0=d.findSkin(b1);for(var p0 in du){var _1=du[p0],N0=d.findSlot(p0);if(!N0)throw new Error("Slot not found: "+p0);var vu=N0.index;for(var x1 in _1){var xi=_1[x1],Yo=xi[0];if(Yo){for(var g0=B0.getAttachment(vu,x1),w1=g0.bones,mu=g0.vertices,Pl=w1?mu.length/3*2:mu.length,pu=new wa(xi.length,xi.length,vu,g0),Dl=Xe(Yo,"time",0),gu=0,Il=0;;gu++){var U0=void 0,yu=Xe(Yo,"vertices",null);if(yu){U0=me.newFloatArray(Pl);var Y2=Xe(Yo,"offset",0);if(me.arrayCopy(yu,0,U0,Y2,yu.length),p!=1)for(var bu=Y2,D3=bu+yu.length;bu<D3;bu++)U0[bu]*=p;if(!w1)for(var _u=0;_u<Pl;_u++)U0[_u]+=mu[_u]}else U0=w1?me.newFloatArray(Pl):mu;pu.setFrame(gu,Dl,U0);var Fl=xi[gu+1];if(!Fl){pu.shrink(Il);break}var q2=Xe(Fl,"time",0),j2=Yo.curve;j2&&(Il=Gr(j2,pu,Il,gu,0,Dl,q2,0,1,1)),Dl=q2,Yo=Fl}y.push(pu)}}}}for(var Bl=0,Nl=0,I3=y.length;Nl<I3;Nl++)Bl=Math.max(Bl,y[Nl].getDuration());d.animations.push(new qe(c,y,Bl))}}]),j}(),C3=function j(n,c,d,p,y){_(this,j),this.mesh=n,this.skin=c,this.slotIndex=d,this.parent=p,this.inheritTimeline=y};function io(j,n,c,d){for(var p=j[0],y=Xe(p,"time",0),R=Xe(p,"value",c)*d,G=0,q=0;;q++){n.setFrame(q,y,R);var P=j[q+1];if(!P)return n.shrink(G),n;var Y=Xe(P,"time",0),ee=Xe(P,"value",c)*d;p.curve&&(G=Gr(p.curve,n,G,q,0,y,Y,R,ee,d)),y=Y,R=ee,p=P}}function hu(j,n,c,d,p,y){for(var R=j[0],G=Xe(R,"time",0),q=Xe(R,c,p)*y,P=Xe(R,d,p)*y,Y=0,ee=0;;ee++){n.setFrame(ee,G,q,P);var ne=j[ee+1];if(!ne)return n.shrink(Y),n;var ce=Xe(ne,"time",0),le=Xe(ne,c,p)*y,ve=Xe(ne,d,p)*y,ye=R.curve;ye&&(Y=Gr(ye,n,Y,ee,0,G,ce,q,le,y),Y=Gr(ye,n,Y,ee,1,G,ce,P,ve,y)),G=ce,q=le,P=ve,R=ne}}function Gr(j,n,c,d,p,y,R,G,q,P){if(j=="stepped")return n.setStepped(d),c;var Y=p<<2,ee=j[Y],ne=j[Y+1]*P,ce=j[Y+2],le=j[Y+3]*P;return n.setBezier(c,d,p,y,G,ee,ne,ce,le,R,q),c+1}function Xe(j,n,c){return j[n]!==void 0?j[n]:c}Math.fround===void 0&&(Math.fround=(iu=new Float32Array(1),function(j){return iu[0]=j,iu[0]}));var R3=Object.freeze({__proto__:null,Animation:qe,get MixBlend(){return de},get MixDirection(){return Be},Timeline:Ke,CurveTimeline:yt,CurveTimeline1:pt,CurveTimeline2:mt,RotateTimeline:Mt,TranslateTimeline:Dt,TranslateXTimeline:gt,TranslateYTimeline:ft,ScaleTimeline:Wt,ScaleXTimeline:or,ScaleYTimeline:xr,ShearTimeline:wr,ShearXTimeline:kr,ShearYTimeline:Tn,InheritTimeline:qr,RGBATimeline:Bn,RGBTimeline:Oa,AlphaTimeline:Rn,RGBA2Timeline:en,RGB2Timeline:ua,AttachmentTimeline:pr,DeformTimeline:wa,EventTimeline:pa,DrawOrderTimeline:dr,IkConstraintTimeline:La,TransformConstraintTimeline:un,PathConstraintPositionTimeline:Bi,PathConstraintSpacingTimeline:to,PathConstraintMixTimeline:es,PhysicsConstraintTimeline:ki,PhysicsConstraintInertiaTimeline:Wn,PhysicsConstraintStrengthTimeline:Ao,PhysicsConstraintDampingTimeline:na,PhysicsConstraintMassTimeline:ro,PhysicsConstraintWindTimeline:n1,PhysicsConstraintGravityTimeline:Ni,PhysicsConstraintMixTimeline:A0,PhysicsConstraintResetTimeline:Ms,SequenceTimeline:Ui,AnimationState:Ys,TrackEntry:Ts,EventQueue:ni,get EventType(){return Zn},AnimationStateAdapter:k2,SUBSEQUENT:a1,FIRST:Y1,HOLD_SUBSEQUENT:Es,HOLD_FIRST:i1,HOLD_MIX:ts,SETUP:ai,CURRENT:fl,AnimationStateData:dl,AtlasAttachmentLoader:pl,Bone:u1,BoneData:s1,get Inherit(){return Pn},ConstraintData:Js,AssetManagerBase:R2,Downloader:gl,Event:Z1,EventData:K1,IkConstraint:yl,IkConstraintData:$1,PathConstraint:Zs,PathConstraintData:Q1,get PositionMode(){return zi},get SpacingMode(){return la},get RotateMode(){return rs},Skeleton:Ks,get Physics(){return ao},SkeletonBinary:L2,BinaryInput:wl,SkeletonBounds:k3,SkeletonClipping:G2,SkeletonData:eu,SkeletonJson:A3,SkinEntry:tu,Skin:l1,Slot:bl,SlotData:ru,get BlendMode(){return Ro},Texture:ks,get TextureFilter(){return hi},get TextureWrap(){return no},TextureRegion:vl,FakeTexture:A2,TextureAtlas:ml,TextureAtlasPage:j1,TextureAtlasRegion:o1,TransformConstraint:_l,TransformConstraintData:nu,Triangulator:z2,IntSet:E,StringSet:U,Color:$,MathUtils:te,Interpolation:se,Pow:Se,PowOut:be,Utils:me,DebugUtils:ke,Pool:he,Vector2:X,TimeKeeper:re,WindowedMean:ae,Attachment:ue,VertexAttachment:ge,BoundingBoxAttachment:q1,ClippingAttachment:Co,MeshAttachment:qs,PathAttachment:js,PointAttachment:J1,RegionAttachment:Kr}),V2=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.texture=new V.Texture(c),d.texture.flipY=!1,d.texture.needsUpdate=!0,d}return w(n,j),S(n,[{key:"setFilters",value:function(c,d){this.texture.minFilter=n.toThreeJsTextureFilter(c),this.texture.magFilter=n.toThreeJsTextureFilter(d)}},{key:"setWraps",value:function(c,d){this.texture.wrapS=n.toThreeJsTextureWrap(c),this.texture.wrapT=n.toThreeJsTextureWrap(d)}},{key:"dispose",value:function(){this.texture.dispose()}}],[{key:"toThreeJsTextureFilter",value:function(c){if(c===hi.Linear)return V.LinearFilter;if(c===hi.MipMap)return V.LinearMipMapLinearFilter;if(c===hi.MipMapLinearNearest)return V.LinearMipMapNearestFilter;if(c===hi.MipMapNearestLinear)return V.NearestMipMapLinearFilter;if(c===hi.MipMapNearestNearest)return V.NearestMipMapNearestFilter;if(c===hi.Nearest)return V.NearestFilter;throw new Error("Unknown texture filter: "+c)}},{key:"toThreeJsTextureWrap",value:function(c){if(c===no.ClampToEdge)return V.ClampToEdgeWrapping;if(c===no.MirroredRepeat)return V.MirroredRepeatWrapping;if(c===no.Repeat)return V.RepeatWrapping;throw new Error("Unknown texture wrap: "+c)}},{key:"toThreeJsBlending",value:function(c){if(c===Ro.Normal)return V.NormalBlending;if(c===Ro.Additive)return V.AdditiveBlending;if(c===Ro.Multiply)return V.MultiplyBlending;if(c===Ro.Screen)return V.CustomBlending;throw new Error("Unknown blendMode: "+c)}}]),n}(ks),kl=function(j){function n(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10920,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(ee){},p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(ee){},y=arguments.length>3&&arguments[3]!==void 0&&arguments[3];_(this,n);var R=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));if(R.materialCustomizer=d,R.twoColorTint=y,R.verticesLength=0,R.vertexSize=0,R.indicesLength=0,R.materialGroups=[],R.isFlatRenderObject=!0,
47c>10920)throw new Error("Can't have more than 10920 triangles per batch: "+c);R.vertexSize=R.twoColorTint?n.TWO_COLOR_VERTEX_SIZE:n.VERTEX_SIZE;var G=R.vertices=new Float32Array(c*R.vertexSize),q=R.indices=new Uint16Array(3*c),P=new V.BufferGeometry,Y=R.vertexBuffer=new V.InterleavedBuffer(G,R.vertexSize);return Y.usage=V.DynamicDrawUsage,P.setAttribute("position",new V.InterleavedBufferAttribute(Y,3,0,!1)),P.setAttribute("color",new V.InterleavedBufferAttribute(Y,4,3,!1)),P.setAttribute("uv",new V.InterleavedBufferAttribute(Y,2,7,!1)),R.twoColorTint&&P.setAttribute("color2",new V.InterleavedBufferAttribute(Y,4,9,!1)),P.setIndex(new V.BufferAttribute(q,1)),P.getIndex().usage=V.DynamicDrawUsage,P.drawRange.start=0,P.drawRange.count=0,R.geometry=P,R.material=[new r0(d)],p&&(R.customDepthMaterial=new r0(p)),R}return w(n,j),S(n,[{key:"dispose",value:function(){if(this.geometry.dispose(),this.material instanceof V.Material)this.material.dispose();else if(this.material)for(var c=0;c<this.material.length;c++){var d=this.material[c];d instanceof V.Material&&d.dispose()}this.customDepthMaterial&&this.customDepthMaterial.dispose()}},{key:"clear",value:function(){var c=this.geometry;if(c.drawRange.start=0,c.drawRange.count=0,c.clearGroups(),this.materialGroups=[],this.material instanceof V.Material){var d=this.material;d.uniforms.diffuse.value=null,d.blending=V.NormalBlending}else if(Array.isArray(this.material))for(var p=0;p<this.material.length;p++){var y=this.material[p];y.uniforms.diffuse.value=null,y.blending=V.NormalBlending}return this}},{key:"begin",value:function(){this.verticesLength=0,this.indicesLength=0}},{key:"canBatch",value:function(c,d){return!(this.indicesLength+d>=this.indices.byteLength/2)&&!(this.verticesLength/this.vertexSize+c>=this.vertices.byteLength/4/this.vertexSize)}},{key:"batch",value:function(c,d,p,y){for(var R=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,G=this.verticesLength/this.vertexSize,q=this.vertices,P=this.verticesLength,Y=0;Y<d;)q[P++]=c[Y++],q[P++]=c[Y++],q[P++]=R,q[P++]=c[Y++],q[P++]=c[Y++],q[P++]=c[Y++],q[P++]=c[Y++],q[P++]=c[Y++],q[P++]=c[Y++],this.twoColorTint&&(q[P++]=c[Y++],q[P++]=c[Y++],q[P++]=c[Y++],q[P++]=c[Y++]);this.verticesLength=P;var ee=this.indices;for(P=this.indicesLength,Y=0;Y<y;P++,Y++)ee[P]=p[Y]+G;this.indicesLength+=y}},{key:"end",value:function(){this.vertexBuffer.needsUpdate=this.verticesLength>0,this.vertexBuffer.updateRange.offset=0,this.vertexBuffer.updateRange.count=this.verticesLength;var c=this.geometry;this.closeMaterialGroups();var d=c.getIndex();if(!d)throw new Error("BufferAttribute must not be null.");d.needsUpdate=this.indicesLength>0,d.updateRange.offset=0,d.updateRange.count=this.indicesLength,c.drawRange.start=0,c.drawRange.count=this.indicesLength}},{key:"addMaterialGroup",value:function(c,d){var p=this.materialGroups[this.materialGroups.length-1];p===void 0||p[2]!==d?this.materialGroups.push([this.indicesLength,c,d]):p[1]+=c}},{key:"closeMaterialGroups",value:function(){for(var c=this.geometry,d=0;d<this.materialGroups.length;d++){var p=A(this.materialGroups[d],3),y=p[0],R=p[1],G=p[2];c.addGroup(y,R,G)}}},{key:"findMaterialGroup",value:function(c,d){var p=V2.toThreeJsBlending(d);if(!Array.isArray(this.material))throw new Error("MeshBatcher.material needs to be an array for geometry groups to work");for(var y=0;y<this.material.length;y++){var R=this.material[y];if(!R.uniforms.diffuse.value)return H2(R,this.customDepthMaterial,c,p),y;if(R.uniforms.diffuse.value===c&&R.blending===p)return y}var G=new r0(this.materialCustomizer);return H2(G,this.customDepthMaterial,c,p),this.material.push(G),this.material.length-1}}]),n}(V.Mesh);function H2(j,n,c,d){j.uniforms.diffuse.value=c,j.blending=d,j.blendDst=d===V.CustomBlending?V.OneMinusSrcColorFactor:V.OneMinusSrcAlphaFactor,j.blendSrc=d===V.CustomBlending?V.OneFactor:V.SrcAlphaFactor,j.needsUpdate=!0,n&&(n.uniforms.diffuse.value=c,n.needsUpdate=!0)}kl.VERTEX_SIZE=9,kl.TWO_COLOR_VERTEX_SIZE=13;var Do=function(){function j(n){_(this,j);var c=n||{},d=c.ease,p=d===void 0?"linear":d,y=c.value,R=y===void 0?1:y,G=c.start,q=G===void 0?0:G;this.value=R,this.start=q,this.ease=p}return S(j,[{key:"easeFunc",get:function(){return F.default.easeFunction(this.ease)}}],[{key:"getBlock",value:function(n,c){for(var d=n.length-1;d>0;d--)if(n[d].start>=c&&n[d-1].start<=c)return{end:n[d],start:n[d-1]}}}]),j}(),Al=180/Math.PI,O3=function j(n){_(this,j);var c=(n||{}).timeScale,d=c===void 0?1:c;this.timeScale=d},t0=function(){function j(n){_(this,j);var c=n||{},d=c.mode,p=d===void 0?1:d,y=c.name,R=y===void 0?"":y;this.mode=p,this.name=R}return S(j,[{key:"createHistory",value:function(){return null}},{key:"clone",value:function(){return j.create(this)}}]),j}(),Cl=function(){function j(){_(this,j),this.current=null,this.previous=null,this.currentTrackName=""}return S(j,[{key:"check",value:function(n,c){n!==this.currentTrackName&&(this.previous=this.current,this.current=c.createHistory(),this.currentTrackName=n)}}]),j}(),X2=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.copy(c),d}
47return w(n,j),S(n,[{key:"copy",value:function(c){var d=c||{},p=d.delay,y=p===void 0?.1:p,R=d.speed,G=R===void 0?.1:R,q=d.spring,P=q===void 0?0:q,Y=d.affectByRange,ee=Y===void 0?1:Y,ne=d.affectByX,ce=ne===void 0?1:ne,le=d.affectByY,ve=le===void 0?1:le,ye=d.rotateMoveRange,xe=ye===void 0?1:ye,Re=d.affectByLevel,Pe=Re===void 0?0:Re,De=d.springLevel,Ne=De===void 0?0:De,Ve=d.limitRange,ct=Ve===void 0?10:Ve;this.delay=y,this.speed=G,this.affectByRange=ee,this.affectByX=ce,this.affectByY=ve,this.rotateMoveRange=xe,this.spring=P,this.affectByLevel=Pe,this.springLevel=Ne,this.limitRange=ct}},{key:"createHistory",value:function(){return{speedX:0,speedY:0,buffer:[]}}}]),n}(t0),L3=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.copy(c),d}return w(n,j),S(n,[{key:"copy",value:function(c){var d=c||{},p=d.rotateOffset,y=p===void 0?0:p,R=d.rotateTime,G=R===void 0?2:R,q=d.rotateRange,P=q===void 0?10:q,Y=d.rotateCenter,ee=Y===void 0?0:Y,ne=d.childOffset,ce=ne===void 0?.25:ne,le=d.spring,ve=le===void 0?0:le,ye=d.affectByLevel,xe=ye===void 0?.1:ye,Re=d.springLevel,Pe=Re===void 0?0:Re,De=d.scaleYRange,Ne=De===void 0?0:De,Ve=d.scaleYTime,ct=Ve===void 0?2:Ve,He=d.scaleYCenter,tt=He===void 0?0:He,et=d.scaleYOffset,xt=et===void 0?0:et,wt=d.scaleYChildOffset,Tt=wt===void 0?.25:wt,St=d.scaleYSpring,je=St===void 0?0:St,Qe=d.scaleYAffectByLevel,Lt=Qe===void 0?.1:Qe,Rt=d.scaleXRange,Ht=Rt===void 0?0:Rt,Ft=d.scaleXTime,Je=Ft===void 0?2:Ft,st=d.scaleXCenter,_t=st===void 0?0:st,At=d.scaleXOffset,jt=At===void 0?0:At,Nt=d.scaleXChildOffset,Pt=Nt===void 0?.25:Nt,kt=d.scaleXSpring,qt=kt===void 0?0:kt,It=d.scaleXAffectByLevel,Yt=It===void 0?.1:It,ar=d.moveXRange,pe=ar===void 0?0:ar,Sr=d.moveXOffset,Vt=Sr===void 0?0:Sr,Jt=d.moveXTime,vr=Jt===void 0?2:Jt,ir=d.moveXChildOffset,Vr=ir===void 0?.25:ir,br=d.moveXSpring,Wr=br===void 0?0:br,Pr=d.moveXAffectByLevel,Fr=Pr===void 0?.1:Pr,$r=d.moveXCenter,Kn=$r===void 0?0:$r,aa=d.moveYRange,vn=aa===void 0?0:aa,jr=d.moveYOffset,_n=jr===void 0?0:jr,rn=d.moveYTime,Gi=rn===void 0?2:rn,Ai=d.moveYChildOffset,Ci=Ai===void 0?.25:Ai,Ri=d.moveYSpring,Nn=Ri===void 0?0:Ri,ia=d.moveYAffectByLevel,Va=ia===void 0?.1:ia,Vi=d.moveYCenter,Dn=Vi===void 0?Kn:Vi;this.rotateOffset=y,this.rotateCenter=ee,this.rotateTime=G,this.rotateRange=P,this.affectByLevel=xe,this.springLevel=Pe,this.spring=ve,this.childOffset=ce,this.scaleYRange=Ne,this.scaleYCenter=tt,this.scaleYTime=ct,this.scaleYOffset=xt,this.scaleYChildOffset=Tt,this.scaleYSpring=je,this.scaleYAffectByLevel=Lt,this.scaleXRange=Ht,this.scaleXCenter=_t,this.scaleXTime=Je,this.scaleXOffset=jt,this.scaleXChildOffset=Pt,this.scaleXSpring=qt,this.scaleXAffectByLevel=Yt,this.sinScaleXSameAsY=Ht===Ne&&tt===_t&&Je===ct&&jt===xt&&Pt===Tt&&qt===je&&Lt===Yt,this.moveXRange=pe,this.moveXTime=vr,this.moveXSpring=Wr,this.moveXChildOffset=Vr,this.moveXAffectByLevel=Fr,this.moveXOffset=Vt,this.moveXCenter=Kn,this.moveYRange=vn,this.moveYTime=Gi,this.moveYSpring=Nn,this.moveYChildOffset=Ci,this.moveYAffectByLevel=Va,this.moveYOffset=_n,this.moveYCenter=Dn}}]),n}(t0),Ge=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.copy(c),d}return w(n,j),S(n,[{key:"copy",value:function(c){var d=c||{},p=d.moveXFreq,y=p===void 0?1:p,R=d.moveXAmp,G=R===void 0?0:R,q=d.moveXOctaves,P=q===void 0?0:q,Y=d.moveXDelay,ee=Y===void 0?0:Y,ne=d.moveXCenter,ce=ne===void 0?0:ne,le=d.moveXSeed,ve=le===void 0?Math.floor(1e4*Math.random()):le,ye=d.moveYFreq,xe=ye===void 0?y:ye,Re=d.moveYAmp,Pe=Re===void 0?G:Re,De=d.moveYOctaves,Ne=De===void 0?P:De,Ve=d.moveYDelay,ct=Ve===void 0?ee:Ve,He=d.moveYCenter,tt=He===void 0?ce:He,et=d.scaleXFreq,xt=et===void 0?1:et,wt=d.scaleXAmp,Tt=wt===void 0?0:wt,St=d.scaleXOctaves,je=St===void 0?0:St,Qe=d.scaleXDelay,Lt=Qe===void 0?0:Qe,Rt=d.scaleXCenter,Ht=Rt===void 0?0:Rt,Ft=d.scaleYFreq,Je=Ft===void 0?xt:Ft,st=d.scaleYAmp,_t=st===void 0?Tt:st,At=d.scaleYOctaves,jt=At===void 0?je:At,Nt=d.scaleYDelay,Pt=Nt===void 0?Lt:Nt,kt=d.scaleYCenter,qt=kt===void 0?Ht:kt,It=d.rotateSpeed,Yt=It===void 0?0:It,ar=d.rotateFreq,pe=ar===void 0?1:ar,Sr=d.rotateAmp,Vt=Sr===void 0?0:Sr,Jt=d.rotateOctaves,vr=Jt===void 0?0:Jt,ir=d.rotateDelay,Vr=ir===void 0?0:ir,br=d.rotateCenter,Wr=br===void 0?0:br,Pr=d.rotateFollowLimit,Fr=Pr===void 0?0:Pr,$r=d.rotateFollowSpeed,Kn=$r===void 0?.1:$r,aa=d.rotateFollowFlip,vn=aa===void 0?0:aa,jr=d.rotateFollowXMax,_n=jr===void 0?20:jr,rn=d.rotateFollowYMax,Gi=rn===void 0?20:rn;this.moveXFreq=y,this.moveXAmp=G,this.moveXOctaves=P,this.moveXDelay=ee,this.moveXCenter=ce,this.moveXSeed=ve,this.moveYFreq=xe,this.moveYAmp=Pe,this.moveYOctaves=Ne,this.moveYDelay=ct,this.moveYCenter=tt,this.moveYSameAsX=y===xe&&G===Pe&&P===Ne&&ee===ct&&ce===tt,this.scaleXFreq=xt,this.scaleXAmp=Tt,this.scaleXOctaves=je,this.scaleXDelay=Lt,this.scaleXCenter=Ht,this.scaleYFreq=Je,this.scaleYAmp=_t,this.scaleYOctaves=jt,this.scaleYDelay=Pt,this.scaleYCenter=qt,this.scaleYSameAsX=xt===Je&&Tt===_t&&je===jt&&Lt===Pt&&Ht===qt,this.rotateSpeed=Yt,this.rotateFreq=pe,this.rotateAmp=Vt,this.rotateOctaves=vr,this.rotateDelay=Vr,this.rotateCenter=Wr,this.rotateFollowEnable=Fr!==0,this.rotateFollowLimit=Fr,this.rotateFollowSpeed=Kn,this.rotateFollowFlip=vn,this.rotateFollowXMax=_n,this.rotateFollowYMax=Gi}}]),n}(t0),W2=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.copy(c),d}
47return w(n,j),S(n,[{key:"copy",value:function(c){var d=c||{},p=d.delay,y=p===void 0?.1:p,R=d.speed,G=R===void 0?.1:R,q=d.spring,P=q===void 0?0:q,Y=d.springRot,ee=Y===void 0?0:Y,ne=d.affectByLevel,ce=ne===void 0?0:ne,le=d.springLevel,ve=le===void 0?0:le,ye=d.limitRange,xe=ye===void 0?80:ye,Re=d.rotateOffset,Pe=Re===void 0?0:Re,De=d.friction,Ne=De===void 0?.7:De,Ve=d.springUseTarget,ct=Ve!==void 0&&Ve,He=d.windX,tt=He===void 0?0:He,et=d.windY,xt=et===void 0?0:et,wt=d.windFreq,Tt=wt===void 0?1:wt,St=d.windOctaves,je=St===void 0?0:St,Qe=d.windAccel,Lt=Qe===void 0?1:Qe,Rt=d.windDelay,Ht=Rt===void 0?0:Rt,Ft=d.gravityX,Je=Ft===void 0?0:Ft,st=d.gravityY,_t=st===void 0?0:st;this.delay=y,this.speed=G,this.spring=P,this.springRot=ee,this.affectByLevel=ce,this.springLevel=ve,this.limitRange=xe,this.rotateOffset=Pe,this.friction=Ne,this.springUseTarget=ct,this.windX=tt,this.windY=xt,this.windFreq=Tt,this.windAccel=Lt,this.windDelay=Ht,this.windOctaves=je,this.gravityX=Je,this.gravityY=_t,this.hasWindForce=tt||xt}}]),n}(t0),rt=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.copy(c),d}return w(n,j),S(n,[{key:"copy",value:function(c){var d=c||{},p=d.elasticSpring,y=p===void 0?.4:p,R=d.elasticFriction,G=R===void 0?.6:R,q=d.elasticSoftness,P=q===void 0?1:q,Y=d.elasticSpringY,ee=Y===void 0?y:Y,ne=d.elasticFrictionY,ce=ne===void 0?G:ne,le=d.elasticSoftnessY,ve=le===void 0?P:le;this.elasticSpring=y,this.elasticFriction=G,this.elasticSoftness=P,this.elasticSpringY=ee,this.elasticFrictionY=ce,this.elasticSoftnessY=ve}}]),n}(t0),bn=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return d.copy(c),d}return w(n,j),S(n,[{key:"copy",value:function(c){var d=c||{},p=d.delay,y=p===void 0?0:p,R=d.xFrames,G=R===void 0?[]:R,q=d.yFrames,P=q===void 0?[]:q,Y=d.sxFrames,ee=Y===void 0?[]:Y,ne=d.syFrames,ce=ne===void 0?[]:ne;this.delay=y,this.xFrames=G.map(function(le){return new Do(le)}),this.xFramesEnd=this.xFrames.length?this.xFrames[this.xFrames.length-1].start:0,this.yFrames=P.map(function(le){return new Do(le)}),this.yFramesEnd=this.yFrames.length?this.yFrames[this.yFrames.length-1].start:0,this.sxFrames=ee.map(function(le){return new Do(le)}),this.sxFramesEnd=this.sxFrames.length?this.sxFrames[this.sxFrames.length-1].start:0,this.sYSameAsSX=ce.length===0,this.sYSameAsSX?(this.syFrames=[],this.syFramesEnd=0):(this.syFrames=ce.map(function(le){return new Do(le)}),this.syFramesEnd=this.syFrames.length?this.syFrames[this.syFrames.length-1].start:0)}}]),n}(t0),ut=function(){function j(n,c){_(this,j);var d=n||{},p=d.animation,y=p===void 0?{}:p,R=d.rootBoneName,G=R===void 0?"":R,q=d.endBoneName,P=q===void 0?[]:q,Y=d.targetBoneName,ee=Y===void 0?"":Y,ne=d.targetEndBoneName,ce=ne===void 0?"":ne,le=d.targetWeight,ve=le===void 0?1:le;this.animation=(0,T.fromEntries)(Object.keys(y).map(function(ye){return[ye,y[ye]]}).map(function(ye){var xe=A(ye,2),Re=xe[0],Pe=xe[1];return[Re,j.createAnimation(Pe)]})),this.rootMovement=0,this.rootBoneName=G,this.endBoneName=Array.isArray(P)?P:[P].filter(function(ye){return ye!==""}),this.targetBoneName=ee,this.targetEndBoneName=ce,this.targetWeight=ve,this.history=new Cl,this.bind(c)}return S(j,[{key:"bind",value:function(n){this.spineObj=n,this.rootBone=n.skeleton.findBone(this.rootBoneName),this.targetBoneName!==""&&(this.targetBone=n.skeleton.findBone(this.targetBoneName)),this.init(this.rootBone)}},{key:"init",value:function(n){var c=this,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;n.initX=n.x,n.initY=n.y,n.initWorldX=n.worldX,n.initWorldY=n.worldY,n.initScaleX=n.scaleX,n.initScaleY=n.scaleY,n.initRotation=n.rotation,n.autoMovePrevWorldX=n.worldX,n.autoMovePrevWorldY=n.worldY,n.autoMoveSpeedX=0,n.autoMoveSpeedY=0,n.autoMoveFriction=0,n.followRotation=0,n.elasticSpeedX=0,n.elasticSpeedY=0,n.children.forEach(function(p){c.init(p,d+1)}),n.children.length===0&&(n.tailAutoMovePrevWorldX=n.y*n.b+n.worldX,n.tailAutoMovePrevWorldY=n.y*n.d+n.worldY)}},{key:"reset",value:function(){this.rootMovement=0,this.resetBone()}},{key:"resetBone",value:function(){var n=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.rootBone;c.worldX=c.initWorldX,c.worldY=c.initWorldY,c.scaleX=c.initScaleX,c.scaleY=c.initScaleY,c.rotation=c.initRotation,this.endBoneName.includes(c.name)||c.children.forEac
47h(function(d){n.resetBone(d)})}},{key:"render",value:function(n,c,d,p){var y=null,R=this.currentAnimation,G=this.currentTrackName,q=1;this.history.current||this.history.check(this.currentTrackName,R),p&&G!==p&&(y=this.animation[p]||this.defaultAnimation,this.history.check(this.currentTrackName,R)),y&&d!==1&&(q=d,this.renderAutoBone(y,this.history.previous,n,c,1)),this.renderAutoBone(R,this.history.current,n,c,q)}},{key:"renderAutoBone",value:function(n,c,d,p,y){var R=n.mode;if(R===1)this.updateSineMode(n,p,this.rootBone,this.targetBone,0,y);else if(R===2)this.updatePhysicMode(n,c,this.rootBone,p,d,y);else if(R===3){var G=n.moveXFreq,q=n.moveXAmp,P=n.moveXOctaves,Y=n.moveXDelay,ee=n.moveXCenter,ne=n.moveYSameAsX,ce=n.moveXSeed,le=q===0?0:this.updateWiggleMode(G,q,P,p,Y)+ee;if(this.rootBone.x=this.mixValue(this.rootBone.x,this.rootBone.initX+le,y),ne)le=q===0?0:this.updateWiggleMode(G,q,P,p,Y+ce)+ee,this.rootBone.y=this.mixValue(this.rootBone.y,this.rootBone.initY+le,y);else{var ve=n.moveYFreq,ye=n.moveYAmp,xe=n.moveYOctaves,Re=n.moveYDelay,Pe=n.moveYCenter;le=ye===0?0:this.updateWiggleMode(ve,ye,xe,p,Re)+Pe,this.rootBone.y=this.mixValue(this.rootBone.y,this.rootBone.initY+le,y)}var De=n.scaleXFreq,Ne=n.scaleXAmp,Ve=n.scaleXOctaves,ct=n.scaleXDelay,He=n.scaleXCenter,tt=n.scaleYSameAsX;if(le=Ne===0?0:this.updateWiggleMode(De,Ne,Ve,p,ct)+He,this.rootBone.scaleX=this.mixValue(this.rootBone.scaleX,this.rootBone.initScaleX+le,y),tt)this.rootBone.scaleY=this.mixValue(this.rootBone.scaleY,this.rootBone.initScaleY+le,y);else{var et=n.scaleYFreq,xt=n.scaleYAmp,wt=n.scaleYOctaves,Tt=n.scaleYDelay,St=n.scaleYCenter;le=xt===0?0:this.updateWiggleMode(et,xt,wt,p,Tt)+St,this.rootBone.scaleY=this.mixValue(this.rootBone.scaleY,this.rootBone.initScaleY+le,y)}var je=n.rotateSpeed,Qe=n.rotateFreq,Lt=n.rotateAmp,Rt=n.rotateOctaves,Ht=n.rotateDelay,Ft=n.rotateCenter,Je=n.rotateFollowEnable,st=n.rotateFollowLimit,_t=n.rotateFollowSpeed,At=n.rotateFollowFlip,jt=n.rotateFollowXMax,Nt=n.rotateFollowYMax;if(le=this.rootBone.initRotation+p*je*360+Ft,le+=Lt===0?0:this.updateWiggleMode(Qe,Lt,Rt,p,Ht),Je){var Pt=this.rootBone.worldX-this.rootBone.autoMovePrevWorldX,kt=this.rootBone.worldY-this.rootBone.autoMovePrevWorldY,qt=void 0,It=(qt=At===1?-st*Math.max(-1,Math.min(1,Pt/jt))-st*Math.max(-1,Math.min(1,kt/Nt)):(Math.atan2(kt,Pt)*Al+360)%360)-this.rootBone.followRotation;It>=180?qt-=360:It<=-180&&(qt+=360),this.rootBone.followRotation+=Math.min(st,Math.max(-st,qt-this.rootBone.followRotation))*_t,this.rootBone.followRotation=(this.rootBone.followRotation+360)%360,At===2&&Math.abs(this.rootBone.followRotation-180)<90&&(this.rootBone.scaleY*=-1),le+=this.rootBone.followRotation}this.rootBone.autoMovePrevWorldX=this.rootBone.worldX,this.rootBone.autoMovePrevWorldY=this.rootBone.worldY,this.rootBone.rotation=this.mixValue(this.rootBone.rotation,le,y)}else if(R===4){var Yt=this.rootBone.getWorldScale(),ar=Yt.x,pe=Yt.y,Sr=n.hasWindForce,Vt=n.gravityX,Jt=n.gravityY;if(n.forceX=-Vt,n.forceY=-Jt,Sr){var vr=.5+.5*this.updateWiggleMode(1/n.windFreq,1,n.windOctaves,p,n.windDelay,.8);n.forceX+=n.windX*vr,n.forceY+=n.windY*vr}this.updateSpringMagic(n,this.rootBone,this.targetBone,p,d,0,y,ar*pe<0?-1:1)}else R===5?this.updateElasic(n,this.rootBone,d,y):R===6&&this.updateKeyFrameMode(n,this.rootBone,p,y)}},{key:"getHistoryRotate",value:function(n,c){for(var d=c.length-1;d>-1;d--){var p=c[d];if(p.time>n){for(var y=d-1;y>-1;y--){var R=c[y];if(n>=R.time)return R.delta+(p.delta-R.delta)*(n-R.time)/(p.time-R.time)}return 0}}return 0}},{key:"mixValue",value:function(n,c,d){return n+(c-n)*d}},{key:"updateSineMode",value:function(n,c){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.rootBone,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this.targetBone,y=this,R=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,G=arguments[5];if(!this.endBoneName.includes(d.data.name)){var q=p&&p.data.name!==this.targetEndBoneName,P=q?this.mixValue(d.initRotation,p.rotation,this.targetWeight):d.initRotation;d.rotation=this.mixValue(d.rotation,P+Math.sin((n.rotateOffset-Math.pow(n.childOffset*R,1+n.spring)+c)*Math.PI*2/n.rotateTime)*n.rotateRange*Math.pow(1+R*n.affectByLevel,1+n.springLevel)+n.rotateCenter,G);var Y=0;if(n.scaleYRange!==0){var ee=q?this.mixValue(d.initScaleY,p.scaleY,this.targetWeight):d.initScaleY;
47if(Y=Math.sin((n.scaleYOffset-Math.pow(n.scaleYChildOffset*R,1+n.scaleYSpring)+c)*Math.PI*2/n.scaleYTime)*n.scaleYRange*Math.pow(1+R*n.scaleYAffectByLevel,1+n.springLevel)+n.scaleYCenter,d.scaleY=this.mixValue(d.scaleY,ee+Y,G),n.sinScaleXSameAsY){var ne=q?this.mixValue(d.initScaleX,p.scaleX,this.targetWeight):d.initScaleX;d.scaleX=this.mixValue(d.scaleX,ne+Y,G)}}if(!n.sinScaleXSameAsY&&n.scaleXRange!==0){var ce=q?this.mixValue(d.initScaleX,p.scaleX,this.targetWeight):d.initScaleX;Y=Math.sin((n.scaleXOffset-Math.pow(n.scaleXChildOffset*R,1+n.scaleXSpring)+c)*Math.PI*2/n.scaleXTime)*n.scaleXRange*Math.pow(1+R*n.scaleXAffectByLevel,1+n.springLevel)+n.scaleXCenter,d.scaleX=this.mixValue(d.scaleX,ce+Y,G)}if(n.moveXRange!==0){var le=q?this.mixValue(d.initX,p.x,this.targetWeight):d.initX,ve=Math.sin((n.moveXOffset-Math.pow(n.moveXChildOffset*R,1+n.moveXSpring)+c)*Math.PI*2/n.moveXTime)*n.moveXRange*Math.pow(1+R*n.moveXAffectByLevel,1+n.springLevel)+n.moveXCenter;d.x=this.mixValue(d.x,ve+le,G)}if(n.moveYRange!==0){var ye=q?this.mixValue(d.initY,p.y,this.targetWeight):d.initY,xe=Math.sin((n.moveYOffset-Math.pow(n.moveYChildOffset*R,1+n.moveYSpring)+c)*Math.PI*2/n.moveYTime)*n.moveYRange*Math.pow(1+R*n.moveYAffectByLevel,1+n.springLevel)+n.moveYCenter;d.y=this.mixValue(d.y,xe+ye,G)}d.children.forEach(function(Re,Pe){var De=q?p.children[Pe]:null;y.updateSineMode(n,c,Re,De,R+1,G)})}}},{key:"updateWiggleMode",value:function(n,c,d,p,y){for(var R=arguments.length>5&&arguments[5]!==void 0?arguments[5]:.5,G=0,q=1,P=d+1,Y=1/(2-1/Math.pow(2,P-1)),ee=Y,ne=0,ce=0;ce<P;ce++)G+=q*Math.sin(p*ee*Math.PI*2/n+y),ee=Y*Math.pow(1.5,ce+1),ne+=q,q*=R;return G/ne*c}},{key:"updatePhysicMode",value:function(n,c,d,p,y,R){var G=this,q=Math.min(n.limitRange,Math.max(-n.limitRange,d.autoMovePrevWorldX-d.worldX)),P=Math.min(n.limitRange,Math.max(-n.limitRange,d.autoMovePrevWorldY-d.worldY));c.speedX+=(n.affectByX*q-c.speedX)*n.speed*y,c.speedY+=(n.affectByY*P-c.speedY)*n.speed*y,d.autoMovePrevWorldX=d.worldX,d.autoMovePrevWorldY=d.worldY;var Y=n.affectByRange*(-c.speedX*d.c+c.speedY*d.d);d.rotation=this.mixValue(d.rotation,Y+d.initRotation,R),c.buffer.push({time:p,delta:Y}),c.buffer.length>300&&c.buffer.shift(),d.children.forEach(function(ee){G.updateFollowMode(n,c,ee,p,1,R)})}},{key:"updateFollowMode",value:function(n,c,d,p,y,R){var G=this;this.endBoneName.includes(d.data.name)||(d.rotation=this.mixValue(d.rotation,d.initRotation+this.getHistoryRotate(p-n.delay*(1+y*n.spring),c.buffer)*n.rotateMoveRange*Math.pow(1+y*n.affectByLevel,1+n.springLevel),R),d.children.forEach(function(q){G.updateFollowMode(n,c,q,p,y+1,R)}))}},{key:"updateSpringMagic",value:function(n,c,d,p,y,R,G,q){var P=this;if(!this.endBoneName.includes(c.data.name)){c.updateWorldTransform(),c.autoMovePrevWorldX=c.worldX,c.autoMovePrevWorldY=c.worldY;var Y=d&&d.data.name!==this.targetEndBoneName,ee=Y?this.mixValue(c.initRotation,d.rotation,this.targetWeight):c.initRotation,ne=n.springUseTarget&&d?d:c,ce=1+R*n.affectByLevel,le=Math.pow(ce,1+n.springLevel),ve=n.delay*le*(1+n.springRot*ce)*y*(R===0?1+n.spring:1),ye=n.friction,xe=n.forceX,Re=n.forceY,Pe=1-n.windAccel;if(c.children.length>0)c.children.forEach(function(wt,Tt){if(Tt===0){var St=wt.x,je=wt.y,Qe=St*ne.a+je*ne.b+c.worldX,Lt=St*ne.c+je*ne.d+c.worldY;Qe=(Qe-wt.autoMovePrevWorldX)*ve,Lt=(Lt-wt.autoMovePrevWorldY)*ve,c.autoMoveSpeedX+=Qe,c.autoMoveSpeedY+=Lt,c.autoMoveSpeedX*=ye,c.autoMoveSpeedY*=ye,c.autoMoveSpeedX+=xe*n.windAccel,c.autoMoveSpeedY+=Re*n.windAccel;var Rt=wt.autoMovePrevWorldX+c.autoMoveSpeedX+xe*Pe,Ht=wt.autoMovePrevWorldY+c.autoMoveSpeedY+Re*Pe,Ft=c.worldToLocalRotation(q*Math.atan2(Ht-c.worldY,q*(Rt-c.worldX))*Al+(R===0?n.rotateOffset:0)),Je=Math.min(n.limitRange,Math.max(-n.limitRange,Ft-ee))+ee;c.rotation=P.mixValue(c.rotation,ee*n.speed+(1-n.speed)*Je,G*c.autoMoveFriction),c.updateWorldTransform()}var st=Y?d.children[Tt]:null;P.updateSpringMagic(n,wt,st,p,y,R+1,G,q)});else{var De=c.x,Ne=c.y,Ve=De*ne.a+Ne*ne.b+c.worldX,ct=De*ne.c+Ne*ne.d+c.worldY;Ve=(Ve-c.tailAutoMovePrevWorldX)*ve,ct=(ct-c.tailAutoMovePrevWorldY)*ve,c.autoMoveSpeedX+=Ve,c.autoMoveSpeedY+=ct,c.autoMoveSpeedX*=ye,c.autoMoveSpeedY*=ye,c.autoMoveSpeedX+=xe*n.windAccel,c.autoMoveSpeedY+=Re*n.windAccel;var He=c.tailAutoMovePrevWorldX+c.autoMoveSpeedX+xe*Pe,tt=c.tailAutoMovePrevWorldY+c.autoMoveSpeedY+Re*Pe,et=c.worldToLocalRotation(q*Math.atan2(tt-c.worldY,q*(He-c.worldX))*Al+(R===0?n.rotateOffset:0)),xt=Math.min(n.limitRange,Math.max(-n.limitRange,et-ee))+ee;c.rotation=this.mixValue(c.rotation,ee*n.speed+(1-n.speed)*xt,G*c.autoMoveFriction),c.updateWorldTransform(),c.tailAutoMovePrevWorldX=De*c.a+Ne*c.b+c.worldX,c.tailAutoMovePrevWorldY=De*c.c+Ne*c.d+c.worldY}c.autoMoveFriction+=.1*(1-c.autoMoveFriction)*y}}},{key:"updateElasic",value:function(n,c,d,p){if(!this.endBoneName.includes(c.data.name)){var y=c.parent,R=c.initX,G=c.initY,q=R*y.a+G*y.b+y.worldX,P=R*y.c+G*y.d+y.worldY,Y=(q-c.autoMovePrevWorldX)*n.elasticSpring*d,ee=(P-c.autoMovePrevWorldY)*n.elasticSpringY*d;c.elasticSpeedX+=Y,c.elasticSpeedX*=n.elasticFriction,c.elasticSpeedY+=ee,c.elasticSpeedY*=n.elasticFrictionY,c.autoMovePrevWorldX+=c.elasticSpeedX,c.autoMovePrevWorldY+=c.elasticSpeedY;var ne=y.worldToLocal({x:c.autoMovePrevWorldX,y:c.autoMovePrevWorldY}),ce=ne.x,le=ne.y;isNaN(ce)||isNaN(le)||(c.x=this.mixValue(c.x,ce*n.elasticSoftness+(1-n.elasticSoftness)*c.initX,p*c.autoMoveFriction),c.y=this.mixValue(c.y,le*n.elasticSoftnessY+(1-n.elasticSoftnessY)*c.initY,p*c.autoMoveFriction),c.autoMoveFriction+=.1*(1-c.autoMoveFriction)*d)}}},{key:"updateKeyFrameMode",value:function(n,c,d,p){var y=d+n.delay+1e3,R=void 0,G=void 0,q=void 0,P=void 0,Y=void 0,ee=void 0,ne=void 0;n.xFramesEnd>0&&(R=y%n.xFramesEnd,q=(G=Do.getBlock(n.xFrames,R)).start.value,P=G.end.value,Y=G.start.start,ee=G.end.start,ne=G.end.easeFunc,c.x=this.mixValue(c.x,(P-q)*ne((R-Y)/(ee-Y))+q,p)),n.yFramesEnd>0&&(R=y%n.yFramesEnd,q=(G=Do.getBlock(n.yFrames,R)).start.value,P=G.end.value,Y=G.start.start,ee=G.end.start,ne=G.end.easeFunc,c.y=this.mixValue(c.y,(P-q)*ne((R-Y)/(ee-Y))+q,p)),n.sxFramesEnd>0&&(R=y%n.sxFramesEnd,q=(G=Do.getBlock(n.sxFrames,R)).start.value,P=G.end.value,Y=G.start.start,ee=G.end.start,ne=G.end.easeFunc,c.scaleX=this.mixValue(c.scaleX,(P-q)*ne((R-Y)/(ee-Y))+q,p),n.sYSameAsSX?c.scaleY=c.scaleX:n.syFramesEnd>0&&(R=y%n.syFramesEnd,q=(G=Do.getBlock(n.syFrames,R)).start.value,P=G.end.value,Y=G.start.start,ee=G.end.start,ne=G.end.easeFunc,c.scaleY=this.mixValue(c.scaleY,(P-q)*ne((R-Y)/(ee-Y))+q,p)))}},{key:"currentTrackName",get:function(){return this.spineObj.state.tracks.length?this.spineObj.state.tracks[0].animation.name:""}},{key:"currentAnimation",get:function(){var n=this.spineObj.state.tracks[0].animation.name;return this.animation[n]||this.defaultAnimation}},{key:"defaultAnimation",get:function(){return this.animation.default}}],[{key:"createAnimation",value:function(n){switch(n.mode){case 1:return new L3(n);case 2:return new X2(n);case 3:return new Ge(n);case 4:return new W2(n);case 5:return new rt(n);case 6:return new bn(n);default:return new t0(n)}}}]),j}(),Ct=function j(n){_(this,j);var c=n||{},d=c.mode,p=d===void 0?1:d,y=c.name,R=y===void 0?"":y,G=c.delay,q=G===void 0?0:G;this.name=R,this.mode=p,this.delay=q},Rl=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c)),p=c||{},y=p.blinkTime,R=y===void 0?1:y,G=p.min,q=G===void 0?0:G,P=p.max,Y=P===void 0?1:P;return d.blinkTime=R,d.min=q,d.max=Y,d}return w(n,j),n}(Ct),P3=function(j){function n(c){_(this,n);var d=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c)),p=(c||{}).frames,y=p===void 0?[]:p;return d.frames=y.map(function(R){return new Do(R)}),d.framesEnd=d.frames[d.frames.length-1].start,d}return w(n,j),n}(Ct),fi=function(){function j(n,c){_(this,j);var d=n||{},p=d.animation,y=p===void 0?{}:p,R=d.slotName,G=R===void 0?"":R;this.animation=(0,T.fromEntries)(Object.keys(y).map(function(q){return[q,y[q]]}).map(function(q){var P=A(q,2),Y=P[0],ee=P[1];return[Y,j.createAnimation(ee)]})),this.spineObj=c,this.slot=c.skeleton.slots.find(function(q){return q.data.name===G})}return S(j,null,[{key:"createAnimation",value:function(n){switch(n.mode){case 1:return new Rl(n);case 2:return new P3(n);default:return new Ct(n)}}}]),S(j,[{key:"render",value:function(n){var c=this.currentAnimation;c.mode===1?this.updateSineMode(c,n):c.mode===2&&this.updateTweenMode(c,n)}},{key:"updateSineMode",value:function(n,c){this.slot.color.a=(.5+.5*Math.sin((c+n.delay)*Math.PI*2/n.blinkTime))*(n.max-n.min)+n.min}},{key:"updateTweenMode",value:function(n,c){if(n.framesEnd!==0){var d=(c+n.delay+1e3)%n.framesEnd,p=Do.getBlock(n.frames,d),y=p.start,R=p.end,G=y.value,q=y.start,P=R.value,Y=R.start;this.slot.color.a=(P-G)*(d-q)/(Y-q)+G}}},{key:"currentAnimation",get:function(){var n=this.spineObj.state.tracks[0].animation.name;return this.animation[n]||this.defaultAnimation}},{key:"defaultAnimation",get:function(){return this.animation.default}}]),j}(),r0=function(j){function n(c){_(this,n);var d={uniforms:{diffuse:{value:null}},vertexShader:"\n			attribute vec4 color;\n			varying vec2 vUv;\n			varying vec4 vColor;\n			void main() {\n				vUv = uv;\n				vColor = color;\n				gl_Position = projectionMatrix*modelViewMatrix*vec4(position,1.0);\n			}\n		",fragmentShader:"\n			// 添加diffuse属性   ---------定制⬇---------\n			uniform sampler2D diffuse;\n			#ifdef USE_SPINE_ALPHATEST\n			uniform float alphaTest;\n			#endif\n			varying vec2 vUv;\n			varying vec4 vColor;\n			void main(void) {\n				// 添加diffuse属性   ---------定制⬇---------\n				gl_FragColor = texture2D(diffuse, vUv)*vColor;\n				#ifdef USE_SPINE_ALPHATEST\n				if (gl_FragColor.a < alphaTest) discard;\n				#endif\n			}\n		",side:V.DoubleSide,transparent:!0,depthWrite:!1,alphaTest:.5};return c(d),M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,d))}return w(n,j),n}(V.ShaderMaterial),at=function(j){function n(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(P){},p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(P){},y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2048,R=arguments.length>4&&arguments[4]!==void 0&&arguments[4];_(this,n);var G=M(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));G.materialCustomize=d,G.depthMaterialCustomizer=p,G.zOffset=.1,G.maxVert=2048,G.prevTime=0,G.isSpine=!0,G.batches=new Array,G.nextBatchIndex=0,G.clipper=new G2,G.vertices=me.newFloatArray(1024),G.tempColor=new $,G.tempColor2=new $,G.vertexSize=0,G.skeleton=new Ks(c);var q=new dl(c);return G.state=new Ys(q),G.maxVert=y,G.twoColorTint=R,G.vertexSize=R?n.TWO_COLOR_VERTEX_SIZE:n.VERTEX_SIZE,G.materialCustomize=d,G.depthMaterialCustomizer=p,G.skeleton.update(0),G.skeleton.updateWorldTransform(ao.pose),G.autoBone=Object.keys(c.extra).map(function(P){return c.extra[P]}).map(function(P){return new ut(P,G)}),G.autoSlot=Object.keys(c.extraSlot).map(function(P){return c.extraSlot[P]}).map(function(P){return new fi(P,G)}),G.autoBoneSpeed=new O3(c.extraConfig),G.prevTime=0,G}return w(n,j),S(n,[{key:"update",value:function(c,d){var p=this.state,y=this.skeleton;p.update(c),p.apply(y),y.update(c);var R=1,G=null,q=d*this.autoBoneSpeed.timeScale*p.timeScale;p.tracks[0]&&(R=p.tracks[0].mixDuration?Math.min(1,p.tracks[0].mixTime/p.tracks[0].mixDuration):1)<1&&p.tracks[0].mixingFrom&&p.tracks[0].mixingFrom.animation&&(G=p.tracks[0].mixingFrom.animation.name);var P=Math.min(2,Math.abs(q-this.prevTime)/.0167);this.prevTime=q,this.autoBone.forEach(function(Y){Y.render(P,q,R,G)}),this.autoSlot.forEach(function(Y){Y.render(q)}),y.updateWorldTransform(ao.update),this.updateGeometry()}},{key:"dispose",value:function(){for(var c=0;c<this.batches.length;c++)this.batches[c].dispose()}},{key:"clearBatches",value:function(){for(var c=0;c<this.batches.length;c++)this.batches[c].clear();this.nextBatchIndex=0}},{key:"nextBatch",value:function(){if(this.batches.length==this.nextBatchIndex){var c=new kl(this.maxVert,this.materialCustomize,this.depthMaterialCustomizer,this.twoColorTint);this.add(c),this.batches.push(c)}var d=this.batches[this.nextBatchIndex++];return this.renderOrder&&(d.renderOrder=this.renderOrder-.1),d.castShadow=this.castShadow,d.receiveShadow=this.receiveShadow,d.frustumCulled=this.frustumCulled,d}},{key:"updateGeometry",value:function(){this.clearBatches();var c=this.clipper,d=this.vertices,p=null,y=null,R=this.skeleton.drawOrder,G=this.nextBatch();G.begin();for(var q=0,P=this.zOffset,Y=0,ee=R.length;Y<ee;Y++){var ne=c.isClipping()?2:this.vertexSize,ce=R[Y];if(ce&&ce.bone&&ce.bone.active){var le=ce.getAttachment(),ve=void 0,ye=void 0,xe=0;if(le instanceof Kr){var Re=le;ve=Re.color,d=this.vertices,xe=4*ne,Re.computeWorldVertices(ce,d,0,ne),p=n.QUAD_TRIANGLES,y=Re.uvs,ye=Re.region.texture}else{if(!(le instanceof qs)){if(le instanceof Co){var Pe=le;c.clipStart(ce,Pe);continue}c.clipEndWithSlot(ce);continue}var De=le;ve=De.color,d=this.vertices,(xe=(De.worldVerticesLength>>1)*ne)>d.length&&(d=this.vertices=me.newFloatArray(xe)),De.computeWorldVertices(ce,0,De.worldVerticesLength,d,
470,ne),p=De.triangles,y=De.uvs,ye=De.region.texture}if(ye!=null){var Ne=ce.bone.skeleton.color,Ve=ce.color,ct=Ne.a*Ve.a*ve.a,He=this.tempColor,tt=this.tempColor2;He.set(Ne.r*Ve.r*ve.r,Ne.g*Ve.g*ve.g,Ne.b*Ve.b*ve.b,ct),this.twoColorTint&&(ce.darkColor?tt.setFromColor(ce.darkColor):tt.set(0,0,0,1));var et=void 0,xt=void 0,wt=void 0,Tt=void 0;if(c.isClipping()){c.clipTriangles(d,xe,p,p.length,y,He,tt,this.twoColorTint);var St=c.clippedVertices,je=c.clippedTriangles;et=St,xt=St.length,wt=je,Tt=je.length}else{for(var Qe=d,Lt=2,Rt=0,Ht=xe;Lt<Ht;Lt+=ne,Rt+=2)Qe[Lt]=He.r,Qe[Lt+1]=He.g,Qe[Lt+2]=He.b,Qe[Lt+3]=He.a,Qe[Lt+4]=y[Rt],Qe[Lt+5]=y[Rt+1],this.twoColorTint&&(Qe[Lt+6]=tt.r,Qe[Lt+7]=tt.g,Qe[Lt+8]=tt.b,Qe[Lt+9]=tt.a);et=d,xt=xe,wt=p,Tt=p.length}if(xt==0||Tt==0){c.clipEndWithSlot(ce);continue}G.canBatch(xt/this.vertexSize,Tt)||(G.end(),(G=this.nextBatch()).begin());var Ft=ce.data.blendMode,Je=ye.texture,st=G.findMaterialGroup(Je,Ft);G.addMaterialGroup(Tt,st),G.batch(et,xt,wt,Tt,q),q+=P}c.clipEndWithSlot(ce)}else c.clipEndWithSlot(ce)}c.clipEnd(),G.end()}}]),n}(V.Object3D);at.QUAD_TRIANGLES=[0,1,2,2,3,0],at.VERTEX_SIZE=8,at.TWO_COLOR_VERTEX_SIZE=12,C.default=g({},R3,{threejs:{SkeletonMesh:at,ThreeJsTexture:V2}})},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(){function F(T,M){for(var w=0;w<M.length;w++){var _=M[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(T,_.key,_)}}return function(T,M,w){return M&&F(T.prototype,M),w&&F(T,w),T}}(),g=function(F){if(F&&F.__esModule)return F;var T={};if(F!=null)for(var M in F)Object.prototype.hasOwnProperty.call(F,M)&&(T[M]=F[M]);return T.default=F,T}(B(0));function A(F,T){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!T||typeof T!="object"&&typeof T!="function"?F:T}function S(F,T){if(!(F instanceof T))throw new TypeError("Cannot call a class as a function")}var V=/(\s|[\u4e00-\u9fa5,\uac00-\ud7af,\u0e00-\u0e7f]+)/,L=function(F){function T(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",w=arguments[1],_=arguments[2];S(this,T);var E=_||{},U=E.dynamic,$=U===void 0||U,te=E.needsCenterAttribute,se=te!==void 0&&te,Se=E.atlas,be=Se===void 0?null:Se,me=E.align,ke=me===void 0?"left":me,he=E.letterSpacing,X=he===void 0?0:he,re=E.letterItalic,ae=re===void 0?0:re,ue=E.fontSize,ge=ue===void 0?32:ue,Ce=E.fontWeight,fe=Ce===void 0?1:Ce,Le=E.lineWidth,qe=Le===void 0?Number.MAX_VALUE:Le,de=E.lineHeight,Be=de===void 0?1.5:de,Ue=E.shadow,Ke=Ue===void 0?null:Ue;if(!be)throw new Error("未指定字体atlas");var yt=new g.BufferGeometry;yt.dynamic=$;var pt=w||T.DEFAULT_MATERIAL;pt.uniforms.diffuse={value:be.texture},pt.uniforms.fontWeight={value:fe},pt.extensions.derivatives=!0,pt.defines.MSDF_SIZE=Math.ceil(be.lineHeight)+".";var mt=A(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,yt,pt));if(mt.atlas=be,mt.option={align:ke,letterSpacing:X,letterItalic:ae,fontSize:ge,lineWidth:qe,lineHeight:Be},mt.charCount=0,mt.textWidth=0,mt.textHeight=0,mt.needsUpdate=!1,mt.needsCenterAttribute=se,mt.textCore=M,mt.buildText(M,mt.atlas,mt.option),Ke){var Mt=pt.clone();Mt.uniforms={diffuse:pt.uniforms.diffuse,color:{value:Ke.color||T.DEFAULT_COLOR},weight:{value:Ke.weight||1},opacity:{value:Ke.opacity||1}},Mt.defines={IS_SHADOW:1,MSDF_SIZE:pt.defines.MSDF_SIZE},Mt.depthWrite=!1,mt.shadowMesh=new g.Mesh(yt,Mt),Ke.offset&&(mt.shadowMesh.position.x+=Ke.offset.x,mt.shadowMesh.position.y-=Ke.offset.y,mt.shadowMesh.updateMatrix()),mt.shadowMesh.matrixAutoUpdate=!1,mt.add(mt.shadowMesh),setTimeout(function(){mt.shadowMesh.renderOrder=mt.renderOrder-.001})}return mt.userDefinedAfterRender=null,mt.onAfterRenderCore=function(){mt.needsUpdate&&mt.update(),mt.userDefinedAfterRender&&mt.userDefinedAfterRender.apply(mt,arguments)},mt}return function(M,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);M.prototype=Object.create(w&&w.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(M,w):M.__proto__=w)}(T,F),H(T,null,[{key:"measureText",value:function(M,w,_){for(var E=_.fontSize,U=_.letterSpacing,$=U===void 0?0:U,te=0,se=0,Se=M.length;se<Se;
47se++){var be=M.charCodeAt(se),me=w.chars.get(be);me?me.advance&&(te+=me.advance*E+$):se<Se-1&&se>0&&(te+=E/2+$)}return te}}]),H(T,[{key:"update",value:function(){this.geometry.dynamic||!this.geometry.indexs?this.buildText(this.textCore.toString(),this.atlas,this.option):console.warn("静态类型无法更新文本")}},{key:"initGeometry",value:function(){for(var M=this.geometry.dynamic?T.MAX_TEXT:this.textCore.length,w=this.geometry.dynamic?g.DynamicDrawUsage:g.StaticDrawUsage,_=new Float32Array(4*M*3),E=new Float32Array(4*M*2),U=new Uint16Array(6*M),$=0;$<M;$++){var te=6*$,se=4*$;U[te]=se+2,U[te+1]=se+1,U[te+2]=se,U[te+3]=se+2,U[te+4]=se+3,U[te+5]=se+1}var Se=new g.BufferAttribute(_,3,!1);Se.usage=w;var be=new g.BufferAttribute(E,2,!0);be.usage=w;var me=new g.BufferAttribute(U,1,!1);if(this.needsCenterAttribute){var ke=new Float32Array(4*M*2),he=new g.BufferAttribute(ke,2,!1);he.usage=w,this.geometry.setAttribute("center",he)}this.geometry.setAttribute("position",Se),this.geometry.setAttribute("uv",be),this.geometry.setIndex(me)}},{key:"fillText",value:function(M,w,_,E,U){var $=U.lineWidth,te=U.fontSize,se=U.align,Se=U.letterSpacing,be=U.letterItalic,me=this.geometry.attributes.uv.array,ke=this.geometry.attributes.position.array,he=void 0;this.needsCenterAttribute&&(he=this.geometry.attributes.center.array);var X=T.measureText(M,E,{fontSize:te,letterSpacing:Se}),re=w,ae=Se;se==="center"&&$?re+=($-X)/2:se==="right"&&$?re+=$-X:se==="justify"&&$&&(ae+=($-X)/(M.length-1)),this.textWidth=Math.max(this.textWidth,X),this.textHeight=Math.max(this.textHeight,-_+te);for(var ue=0,ge=M.length;ue<ge;ue++){var Ce=M.charCodeAt(ue),fe=E.chars.get(Ce);if(fe){var Le=8*this.charCount,qe=fe.uv,de=qe.xMin,Be=qe.xMax,Ue=qe.yMin,Ke=qe.yMax;me[Le]=de,me[Le+1]=Ke,me[Le+2]=Be,me[Le+3]=Ke,me[Le+4]=de,me[Le+5]=Ue,me[Le+6]=Be,me[Le+7]=Ue,de=re+fe.pos.cX*te,Ue=_+fe.pos.cY*te,this.needsCenterAttribute&&(he[Le]=de,he[Le+1]=Ue,he[Le+2]=de,he[Le+3]=Ue,he[Le+4]=de,he[Le+5]=Ue,he[Le+6]=de,he[Le+7]=Ue),Le=12*this.charCount,Be=re+fe.pos.xMax*te,de=re+fe.pos.xMin*te,Ue=_+fe.pos.yMin*te,Ke=_+fe.pos.yMax*te;var yt=.01*this.charCount;ke[Le]=de+be,ke[Le+1]=Ke,ke[Le+2]=yt,ke[Le+3]=Be+be,ke[Le+4]=Ke,ke[Le+5]=yt,ke[Le+6]=de,ke[Le+7]=Ue,ke[Le+8]=yt,ke[Le+9]=Be,ke[Le+10]=Ue,ke[Le+11]=yt,fe.advance&&(re+=fe.advance*te+ae),this.charCount+=1}else re+=te/2+ae,Ce!==32&&console.error("atlas中未找到字符:"+M[ue])}}},{key:"buildText",value:function(M,w,_){var E=_||{},U=E.fontSize,$=U===void 0?32:U,te=E.lineWidth,se=te===void 0?Number.MAX_VALUE:te,Se=E.lineHeight,be=Se===void 0?1.5:Se,me=E.x,ke=me===void 0?0:me,he=E.y,X=he===void 0?0:he;if(M.trim()!==""){this.geometry.indexs||this.initGeometry(),this.textWidth=0,this.textHeight=0;var re=M.split(/(?:\r\n|\r|\n)/),ae=0;this.charCount=0;for(var ue=be*$,ge=0,Ce=re.length;ge<Ce;ge++){var fe=re[ge],Le=T.measureText(fe,w,_);if(Le>se){for(var qe=fe.split(V),de=[],Be=0;Be<qe.length;Be++){var Ue=qe[Be];Ue!==""&&(V.test(Ue)?de=de.concat(Ue.split("")):de.push(Ue))}fe=(qe=de)[0],Le=T.measureText(fe,w,_);for(var Ke=1,yt=qe.length;Ke<yt;Ke+=1){var pt=T.measureText(qe[Ke],w,_);Le+pt>=se?(this.fillText(fe,ke,X-ae*ue,w,_),qe[Ke]!==" "?(fe=qe[Ke],Le=pt):(fe="",Le=0),ae+=1):(fe+=qe[Ke],Le+=pt)}}this.fillText(fe,ke,X-ae*ue,w,_),ae+=1}if(this.geometry.dynamic){var mt=4*this.charCount,Mt=this.geometry.attributes.uv;if(Mt.needsUpdate=!0,Mt.updateRange={offset:0,count:mt},this.needsCenterAttribute){var Dt=this.geometry.attributes.center;Dt.needsUpdate=!0,Dt.updateRange={offset:0,count:mt}}var gt=this.geometry.attributes.position;gt.needsUpdate=!0,gt.updateRange={offset:0,count:mt},this.geometry.setDrawRange(0,6*this.charCount)}this.frustumCulled&&this.geometry.computeBoundingSphere(),this.needsUpdate=!1}}},{key:"onAfterRender",set:function(M){this.userDefinedAfterRender=M},get:function(){return this.onAfterRenderCore}},{key:"shadow",get:function(){return this.shadowMesh}},{key:"text",set:function(M){this.textCore!==M&&(this.textCore=M,this.needsUpdate=!0)},get:function(){return this.textCore}},{key:"align",set:function(M){M!==this.option.align&&(this.option.align=M,this.needsUpdate=!0)},get:function(){return this.option.align}},{key:"letterSpacing",set:function(M){M!==this.option.letterSpacing&&(this.option.letterSpacing=M,this.needsUpdate=!0)},get:function(){return this.option.letterSpacing}},{key:"letterItalic",set:function(M){M!==this.option.letterItalic&&(this.option.letterItalic=M,this.needsUpdate=!0)},get:function(){return this.option.letterItalic}},{key:"fontSize",set:function(M){M!==this.option.fontSize&&(this.option.fontSize=M,this.needsUpdate=!0)},get:function(){return this.option.fontSize}},{key:"lineWidth",set:function(M){M!==this.option.lineWidth&&(this.option.lineWidth=M,this.needsUpdate=!0)},get:function(){return this.option.lineWidth}}]),T}(g.Mesh);L.DEFAULT_MATERIAL=new g.ShaderMaterial({vertexShader:"varying vec2 vUv;\nvoid main(){\n  vUv = uv;\n  gl_Position = projectionMatrix * modelViewMatrix * vec4(position,1.);\n}",fragmentShader:"varying vec2 vUv;\nuniform sampler2D diffuse;\nuniform float fontWeight;\nuniform vec3 color;\n\n#ifdef USE_STROKE\n  uniform vec3 strokeColor;\n  uniform float strokeWeight;\n#endif\n\nuniform float opacity;\n\nfloat median(vec3 color){\n    return max(min(color.r, color.g), min(max(color.r, color.g), c
47olor.b));\n}\n\nconst vec2 unitRange = vec2(1./MSDF_SIZE);\n\nfloat screenPxSize(){\n    vec2 screenTexSize = 1./fwidth(vUv);\n    return max(0.5*dot(unitRange, screenTexSize), 1.0);\n}\n\nvoid main(){\n    vec3 msdfColor = texture2D(diffuse, vUv).rgb;\n\n    float textMedian = median(msdfColor);\n\n    float screenPxSize = screenPxSize();\n\n    float textPercent = clamp((textMedian-.5/fontWeight)*screenPxSize + .5,0.,1.);\n\n    #ifdef IS_SHADOW\n      float shadowPercent = smoothstep(0.0,.6,textMedian)*opacity;\n      gl_FragColor = vec4(color, shadowPercent);\n    #else\n      #ifdef USE_STROKE\n        float strokePercent = clamp((textMedian-.5/fontWeight/strokeWeight)*screenPxSize+.5,0.,1.);      \n        gl_FragColor = vec4(mix(strokeColor,color,textPercent), strokePercent);\n      #else\n        gl_FragColor = vec4(color, textPercent);\n      #endif\n      if(gl_FragColor.a<.1){\n        discard;\n      } \n      gl_FragColor.a *= opacity;\n    #endif\n}",transparent:!0,uniforms:{opacity:{value:1},color:{value:new g.Color(0)},fontWeight:{value:1},diffuse:{value:null}},extensions:{derivatives:!0}}),L.MAX_TEXT=1e3,L.prototype.isMSDFText=!0,C.default={MSDFTextMesh:L,MSDFAtlas:function F(T,M,w){var _=this;S(this,F),this.font=T,this.width=M.atlas.width,this.height=M.atlas.height,this.chars=new Map,this.texture=w,M.glyphs.forEach(function(E){E.atlasBounds&&_.chars.set(E.unicode,{advance:E.advance,uv:{xMin:E.atlasBounds.left/_.width,xMax:E.atlasBounds.right/_.width,yMin:E.atlasBounds.bottom/_.height,yMax:E.atlasBounds.top/_.height},pos:{xMin:E.planeBounds.left,xMax:E.planeBounds.right,yMin:E.planeBounds.bottom,yMax:E.planeBounds.top,cX:(E.planeBounds.left+E.planeBounds.right)/2,cY:(E.planeBounds.top+E.planeBounds.bottom)/2}})}),this.lineHeight=M.atlas.size}}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(S,V){if(Array.isArray(S))return S;if(Symbol.iterator in Object(S))return function(L,F){var T=[],M=!0,w=!1,_=void 0;try{for(var E,U=L[Symbol.iterator]();!(M=(E=U.next()).done)&&(T.push(E.value),!F||T.length!==F);M=!0);}catch($){w=!0,_=$}finally{try{!M&&U.return&&U.return()}finally{if(w)throw _}}return T}(S,V);throw new TypeError("Invalid attempt to destructure non-iterable instance")},g=function(){function S(V,L){for(var F=0;F<L.length;F++){var T=L[F];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(V,T.key,T)}}return function(V,L,F){return L&&S(V.prototype,L),F&&S(V,F),V}}(),A=function(){function S(V){(function(ke,he){if(!(ke instanceof he))throw new TypeError("Cannot call a class as a function")})(this,S);var L=V||{},F=L.frame,T=F===void 0?0:F,M=L.method,w=M===void 0?"":M,_=L.root,E=_===void 0?{}:_,U=L.methods,$=U===void 0?{}:U;this.frame=T,this.method=w,this.fired=!1,this.prevTime=T+1;var te=w.split("?"),se=H(te,2),Se=se[0],be=se[1],me=$[Se]||E[Se];me?(this.cueFunc=me.bind(E),this.cueParam=be):console.error("method:"+Se+" is undefined")}return g(S,[{key:"update",value:function(V,L){!this.fired&&this.prevTime<=this.frame&&L>=this.frame&&(this.fired=!0,this.cueFunc&&this.cueFunc(this.cueParam)),this.prevTime=L}},{key:"reset",value:function(){this.prevTime=this.frame+1,this.fired=!1}},{key:"toJSON",value:function(){return{frame:this.frame,method:this.method}}}]),S}();C.default=A},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H,g=function(){function V(L,F){for(var T=0;T<F.length;T++){var M=F[T];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(L,M.key,M)}}return function(L,F,T){return F&&V(L.prototype,F),T&&V(L,T),L}}(),A=B(3),S=function(V){function L(F){(function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")})(this,L);var T=(F||{}).frames,M=T===void 0?[0,1]:T,w=function(_,E){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||typeof E!="object"&&typeof E!="function"?_:E}(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,F));return w.frames=M,w}return function(F,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);F.prototype=Object.create(T&&T.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(F,T):F.__proto__=T)}(L,V),g(L,[{key:"clone",value:function(){return new L(this)}},{key:"toJSON",value:function(){return{start:this.start,end:this.end,frames:this.frames}}}]),L}(((H=A)&&H.__esModule?H:{default:H}).default);C.default=S},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H,g=function(){function V(L,F){for(var T=0;T<F.length;T++){var M=F[T];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(L,M.key,M)}}return function(L,F,T){return F&&V(L.prototype,F),T&&V(L,T),L}}(),A=B(3),S=function(V){function L(F){(function(ke,he){if(!(ke instanceof he))throw new TypeError("Cannot call a class as a function")})(this,L);var T=F||{},M=T.time,w=M===void 0?0:M,_=T.animation,E=_===void 0?"":_,U=T.mix,$=U===void 0?0:U,te=T.loop,se=te===void 0||te,Se=T.sync,be=Se!==void 0&&Se,me=function(ke,he){if(!ke)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!he||typeof he!="object"&&typeof he!="function"?ke:he}(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,F));return me.time=w,me.animation=E,me.mix=$,me.loop=se,me.sync=be,me}return function(F,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);F.prototype=Object.create(T&&T.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(F,T):F.__proto__=T)}(L,V),g(L,[{key:"clone",value:function(){return new L(this)}},{key:"toJSON",value:function(){return{start:this.start,end:this.end,animation:this.animation,time:this.time,mix:this.mix,loop:this.loop,sync:this.sync}}}]),L}(((H=A)&&H.__esModule?H:{default:H}).default);C.default=S},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H,g=function(){function V(L,F){for(var T=0;T<F.length;T++){var M=F[T];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(L,M.key,M)}}return function(L,F,T){return F&&V(L.prototype,F),T&&V(L,T),L}}(),A=B(3),S=function(V){function L(F){(function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")})(this,L);var T=(F||{}).skin,M=T===void 0?"default":T,w=function(_,E){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
47return!E||typeof E!="object"&&typeof E!="function"?_:E}(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,F));return w.skin=M,w}return function(F,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);F.prototype=Object.create(T&&T.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(F,T):F.__proto__=T)}(L,V),g(L,[{key:"clone",value:function(){return new L(this)}},{key:"toJSON",value:function(){return{start:this.start,end:this.end,skin:this.skin}}}]),L}(((H=A)&&H.__esModule?H:{default:H}).default);C.default=S},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H,g=function(){function F(T,M){for(var w=0;w<M.length;w++){var _=M[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(T,_.key,_)}}return function(T,M,w){return M&&F(T.prototype,M),w&&F(T,w),T}}(),A=B(8),S=(H=A)&&H.__esModule?H:{default:H},V=B(9),L=function(F){function T(M){(function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")})(this,T);var w=function(_,E){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||typeof E!="object"&&typeof E!="function"?_:E}(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,M));return w.update(),w}return function(M,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);M.prototype=Object.create(w&&w.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(M,w):M.__proto__=w)}(T,F),g(T,[{key:"update",value:function(){this.gradientValues=this.frames.map(function(M){return(0,V.createGradient)(M,16)})}},{key:"clone",value:function(){return new T(this)}}]),T}(S.default);C.default=L},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H,g=function(){function F(T,M){for(var w=0;w<M.length;w++){var _=M[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(T,_.key,_)}}return function(T,M,w){return M&&F(T.prototype,M),w&&F(T,w),T}}(),A=B(0),S=B(39),V=(H=S)&&H.__esModule?H:{default:H},L=function(){function F(){(function(T,M){if(!(T instanceof M))throw new TypeError("Cannot call a class as a function")})(this,F)}return g(F,null,[{key:"parseObject",value:function(T,M){for(var w=T.getUint16(M,!0),_={},E=2,U=0;U<w;U++){var $=F.parseBlock(T,M+E);E+=$.length;var te=F.parseBlock(T,M+E);E+=te.length,_[$.data]=te.data}return{length:E,data:_}}},{key:"parseString",value:function(T,M){var w=T.getUint32(M,!0);return{data:A.LoaderUtils.decodeText(new Uint8Array(T.buffer,M+4,w)),length:w+4}}},{key:"parseUint16Array",value:function(T,M){var w=T.getUint32(M,!0),_=M+4,E=M+4+2*w;return{data:new Uint16Array(T.buffer.slice(_,E)),length:2*w+4}}},{key:"parseUint32Array",value:function(T,M){var w=T.getUint32(M,!0),_=M+4,E=M+4+4*w;return{data:new Uint32Array(T.buffer.slice(_,E)),length:4*w+4}}},{key:"parseFloat32Array",value:function(T,M){var w=T.getUint32(M,!0),_=M+4,E=M+4+4*w;return{data:new Float32Array(T.buffer.slice(_,E)),length:4*w+4}}},{key:"parseArray",value:function(T,M){for(var w=T.getUint16(M,!0),_=[],E=2,U=0;U<w;U++){var $=F.parseBlock(T,M+E);E+=$.length,_.push($.data)}return{data:_,length:E}}},{key:"parseBlock",value:function(T){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,w=T.getUint8(M,!0),_=1,E=void 0;switch(w){case V.default.DATA_TYPE_FALSE:E=!1;break;case V.default.DATA_TYPE_TRUE:E=!0;break;
47case V.default.DATA_TYPE_UINT8:E=T.getUint8(M+1,!0),_+=1;break;case V.default.DATA_TYPE_UINT16:E=T.getUint16(M+1,!0),_+=2;break;case V.default.DATA_TYPE_UINT32:E=T.getUint32(M+1,!0),_+=4;break;case V.default.DATA_TYPE_NUINT8:E=-T.getUint8(M+1,!0),_+=1;break;case V.default.DATA_TYPE_NUINT16:E=-T.getUint16(M+1,!0),_+=2;break;case V.default.DATA_TYPE_NUINT32:E=-T.getUint32(M+1,!0),_+=4;break;case V.default.DATA_TYPE_FLOAT32:E=T.getFloat32(M+1,!0),_+=4;break;case V.default.DATA_TYPE_STRING:var U=F.parseString(T,M+1);E=U.data,_+=U.length;break;case V.default.DATA_TYPE_UINT16_ARRAY:var $=F.parseUint16Array(T,M+1);E=$.data,_+=$.length;break;case V.default.DATA_TYPE_UINT32_ARRAY:var te=F.parseUint32Array(T,M+1);E=te.data,_+=te.length;break;case V.default.DATA_TYPE_FLOAT32_ARRAY:var se=F.parseFloat32Array(T,M+1);E=se.data,_+=se.length;break;case V.default.DATA_TYPE_OBJECT:var Se=F.parseObject(T,M+1);E=Se.data,_+=Se.length;break;case V.default.DATA_TYPE_ARRAY:var be=F.parseArray(T,M+1);E=be.data,_+=be.length}return{length:_,type:w,data:E}}},{key:"parse",value:function(T){return F.parseBlock(new DataView(T)).data}}]),F}();C.default={Decoder:L}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=S(B(10)),g=S(B(40)),A=S(B(21));function S(V){return V&&V.__esModule?V:{default:V}}C.default={MouseUtil:H.default,MouseController:g.default,MouseProcess:A.default}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H,g=function(){function F(T,M){for(var w=0;w<M.length;w++){var _=M[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(T,_.key,_)}}return function(T,M,w){return M&&F(T.prototype,M),w&&F(T,w),T}}(),A=B(41),S=(H=A)&&H.__esModule?H:{default:H},V=null,L=function(){function F(){(function(T,M){if(!(T instanceof M))throw new TypeError("Cannot call a class as a function")})(this,F)}return g(F,null,[{key:"getInstance",value:function(){return V||(V=new S.default),V}}]),F}();C.default=L},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H,g=function(){function L(F,T){for(var M=0;M<T.length;M++){var w=T[M];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(F,w.key,w)}}return function(F,T,M){return T&&L(F.prototype,T),M&&L(F,M),F}}(),A=B(10),S=(H=A)&&H.__esModule?H:{default:H},V=function(){function L(F,T,M){(function(w,_){if(!(w instanceof _))throw new TypeError("Cannot call a class as a function")})(this,L),this.domElement=F,this.uuid=S.default.hashUUID(T,M),this.clicks=S.default.getClick(T),this.camera=M,this.isMouseEnabled=!0}return g(L,[{key:"next",get:function(){return this._next}},{key:"valid",get:function(){return!!(this.mouseEnabled&&this.clicks&&this.clicks.length&&this.camera)}},{key:"mouseEnabled",set:function(F){this.isMouseEnabled=F,!F&&this.domElement&&this.domElement.style.cursor==="pointer"&&(this.domElement.style.cursor="default")},get:function(){return this.isMouseEnabled}}]),g(L,[{key:"dispose",value:function(){this.mouseEnabled=!1,this.domElement=null,this.clicks=null,this.camera=null}},{key:"checkSceneClick",value:function(F,T,M){this.mouseEnabled&&S.default.sceneHitTest(F,this.clicks,this.camera,T,this.domElement,M)}},{key:"proxy",value:function(F,T){var M=new L(this.domElement,F,T);return this._next=M,this._createProxyCallback(this.domElement,this.clicks[0],M),M}},{key:"_createProxyCallback",value:function(F,T,M){var w=M.clicks,_=M.camera;T.userData.onClick=function(E,U){S.default.proxyHitTest(U,w,_,"onClick",F,E)},T.userData.onMouseDown=function(E,U){S.default.proxyHitTest(U,w,_,"onMouseDown",F,E)},T.userData.onMouseUp=function(E,U){S.default.proxyHitTest(U,w,_,"onMouseUp",F,E)},T.userData.onMouseMove=function(E,U){S.default.proxyHitTest(U,w,_,"onMouseMove",F,E)},T.userData.onMouseWheel=function(E,U){S.default.proxyHitTest(U,w,_,"onMouseWheel",F,E)},T.userData.mouseEnabled=!0}}]),L}();C.default=V},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(g){if(g&&g.__esModule)return g;var A={};if(g!=null)for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&(A[S]=g[S]);return A.default=g,A}(B(0));C.default=new H.EventDispatcher},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.cameraAdaptScreen=void 0,C.getCamera=function(g,A){var S=void 0,V=g.position,L=g.rotation,F=g.camera,T=A.uiWidth,M=A.uiHeight;switch(F.type){case 1:S=new H.PerspectiveCamera(F.fov||32,T/M,F.near||.01,F.far||1e4);break;
47case 2:S=new H.OrthographicCamera(F.left||-100,F.right||100,F.top||100,F.bottom||-100,F.near||.01,F.far||1e4);break;default:throw new Error("unknown camera type:"+F.type)}return S.position.fromArray(V),S.rotation.fromArray(L),S},C.layoutToPosition=function(g,A,S){var V=S.far,L=S.near,F=-S.position.z,T=(-(V+L)/(V-L)*F+-2*V*L/(V-L))/-F;return new H.Vector3(g,A,T).applyMatrix4(S.projectionMatrixInverse)};var H=function(g){if(g&&g.__esModule)return g;var A={};if(g!=null)for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&(A[S]=g[S]);return A.default=g,A}(B(0));C.cameraAdaptScreen=function(g,A,S,V){var L=A.width,F=A.height;g.top=V/2,g.bottom=-V/2,g.left=-S/2,g.right=S/2;var T=S/V/(L/F),M=void 0;switch(A.type){case"width":M=S/L;break;case"height":M=V/F;break;case"cover":M=T>1?S/L:V/F;break;case"contain":M=T>1?V/F:S/L;break;default:M=1}g.zoom=M,g.updateProjectionMatrix()}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.getSceneData=function(H,g){return H.sceneList.find(function(A){return A.id===g})}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.default={Text:0,OpenTag:1,CloseTag:2}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.configureCanvas=function(H,g){g.font=H.fontStyle+" "+H.fontVariant+" "+H.fontWeight+" "+H.fontStretch+" "+H.fontSize+"px "+H.fontFamily,g.textBaseline="alphabetic",g.fillStyle=H.color,g.lineWidth=H.strokeWidth,g.strokeStyle=H.strokeColor}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.resizeBuffer=function(H,g){g&&H&&(g.height!==H.height||g.width!==H.width)&&g.setSize(H.width,H.height)}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=_(B(11)),g=_(B(12)),A=_(B(7)),S=_(B(18)),V=_(B(19)),L=_(B(42)),F=_(B(44)),T=_(B(20)),M=_(B(46)),w=B(56);function _(E){return E&&E.__esModule?E:{default:E}}C.default={THREEPlayer:w.THREEPlayer,spine:H.default,motion:A.default,msdf:g.default,io:S.default,mouse:V.default,richText:M.default,utils:L.default,Browser:T.default,Audio:F.default}},function(z,C){z.exports=v},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},g=function(A,S){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return function(V,L){var F=[],T=!0,M=!1,w=void 0;try{for(var _,E=V[Symbol.iterator]();!(T=(_=E.next()).done)&&(F.push(_.value),!L||F.length!==L);T=!0);}catch(U){M=!0,w=U}finally{try{!T&&E.return&&E.return()}finally{if(M)throw w}}return F}(A,S);throw new TypeError("Invalid attempt to destructure non-iterable instance")};C.throttle=function(A,S){var V=!1,L=void 0,F=void 0;return function T(){for(var M=arguments.length,w=Array(M),_=0;_<M;_++)w[_]=arguments[_];if(V)return L=w,void(F=this);V=!0,A.apply(this,w),setTimeout(function(){V=!1,L&&(T.apply(F,L),L=null,F=null)},S)}},C.isAvailable=function(A){var S=A===void 0?"undefined":H(A);if(S==="undefined")return!1;if(S==="number"||S==="bigint")return!Number.isNaN(A);if(S==="string")return A.length!==0;if(S==="boolean"||S==="function"||S==="symbol")return!0;if(S==="object")return A!==null&&(A instanceof Array?A.length!==0:A instanceof Map||A instanceof Set?A.size!==0:A instanceof HTMLElement||Object.keys(A).length!==0)},C.fromEntries=function(A){return[].concat(function(S){if(Array.isArray(S)){for(var V=0,L=Array(S.length);V<S.length;V++)L[V]=S[V];return L}return Array.from(S)}(A)).reduce(function(S,V){var L=g(V,2),F=L[0],T=L[1];return S[F]=T,S},{})}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=Object.assign||function(M){for(var w=1;w<arguments.length;w++){var _=arguments[w];for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&(M[E]=_[E])}return M},g=function(){function M(w,_){for(var E=0;E<_.length;E++){var U=_[E];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(w,U.key,U)}}return function(w,_,E){return _&&M(w.prototype,_),E&&M(w,E),w}}(),A=function(M){if(M&&M.__esModule)return M;var w={};if(M!=null)for(var _ in M)Object.prototype.hasOwnProperty.call(M,_)&&(w[_]=M[_]);return w.default=M,w}(B(6)),S=F(B(4)),V=F(B(13)),L=F(B(7));function F(M){return M&&M.__esModule?M:{default:M}}var T=function(M){function w(_){(function(U,$){if(!(U instanceof $))throw new TypeError("Cannot call a class as a function")})(this,w);var E=function(U,$){if(!U)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!$||typeof $!="object"&&typeof $!="function"?U:$}(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,_));return E.copy(_),E}return function(_,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);_.prototype=Object.create(E&&E.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(_,E):_.__proto__=E)}
47(w,M),g(w,[{key:"copy",value:function(_){var E=this,U=_||{},$=U.root,te=$===void 0?{}:$,se=U.clips,Se=se===void 0?[]:se,be=U.cues,me=be===void 0?[]:be,ke=U.methods,he=ke===void 0?{}:ke;this.cues=me.map(function(X){return new V.default(H({},X,{root:te,methods:he}))}),this.clips=Se.map(function(X){var re=L.default.createTimeline(H({},X,{root:te,methods:he}));return re.parent=E,re}),this.time=0,this.tween=null,this.weight=1,this.getObject=function(){return te}}},{key:"traverse",value:function(_){_(this),this.clips.forEach(function(E){E.type===1?E.traverse(_):_(E)})}},{key:"list",value:function(_){var E=[];return this.name===_&&E.push(this),this.clips.forEach(function(U){U.type===1?E=E.concat(U.list(_)):U.name===_&&E.push(U)}),E}},{key:"add",value:function(_){_.parent=this,this.clips.push(_)}},{key:"remove",value:function(_){this.clips=this.clips.filter(function(E){return E!==_})}},{key:"clone",value:function(){return new w(this)}},{key:"toJSON",value:function(_){return H({},function E(U,$,te){U===null&&(U=Function.prototype);var se=Object.getOwnPropertyDescriptor(U,$);if(se===void 0){var Se=Object.getPrototypeOf(U);return Se===null?void 0:E(Se,$,te)}if("value"in se)return se.value;var be=se.get;return be!==void 0?be.call(te):void 0}(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"toJSON",this).call(this),{cues:this.cues.map(function(E){return E.toJSON(_)}),clips:this.clips.map(function(E){return E.toJSON(_)})})}},{key:"update",value:function(_,E,U,$){var te=this;this.cues.forEach(function(se){se.update(_,E-te.start)}),this.weight!==0&&Object.keys(this.clips).map(function(se){return te.clips[se]}).forEach(function(se){try{se.update(_,E-te.start,U*te.weight,$||te.loop)}catch(Se){}})}},{key:"reset",value:function(){var _=this;this.cues.forEach(function(E){return E.reset()}),Object.keys(this.clips).map(function(E){return _.clips[E]}).forEach(function(E){E.reset&&E.reset()})}},{key:"pause",value:function(){this.tween&&this.tween.pause()}},{key:"resume",value:function(){this.tween&&this.tween.resume()}},{key:"stop",value:function(){this.tween&&(this.tween.kill(),this.tween=null)}},{key:"play",value:function(_){var E=this,U=_||{},$=U.loop,te=$!==void 0&&$,se=U.start,Se=se===void 0?this.start:se,be=U.end,me=be===void 0?te?999999:this.duration:be,ke=U.repeat,he=ke===void 0?0:ke,X=U.delay,re=X===void 0?0:X,ae=U.repeatDelay,ue=ae===void 0?0:ae,ge=U.ease,Ce=ge===void 0?A.Linear.easeNone:ge,fe=U.speed,Le=fe===void 0?1:fe,qe=U.fps,de=qe===void 0?30:qe,Be=U.onUpdate,Ue=Be===void 0?null:Be,Ke=U.onComplete,yt=Ke===void 0?null:Ke;return this.reset(),this.tween=A.gsap.fromTo(this,{time:Se},{duration:Math.abs(me-Se)/de/Le,time:me,onStart:this.seek.bind(this),onUpdate:Ue?function(){E.seek(),Ue()}:this.seek.bind(this),repeat:he,ease:Ce,delay:re,repeatDelay:ue,onComplete:yt}),this}},{key:"duration",get:function(){var _=0;return this.clips.forEach(function(E){_=Math.max(E.duration+E.start,_)}),_}},{key:"totalFrame",get:function(){var _=0;return this.clips.forEach(function(E){_=Math.max(E.totalFrame,_)}),_}},{key:"clipStart",get:function(){var _=Number.MAX_VALUE;return this.clips.forEach(function(E){_=Math.min(E.clipStart,_)}),_},set:function(_){this.clips&&this.clips.forEach(function(E){E.clipStart=_})}},{key:"clipEnd",get:function(){var _=0;return this.clips.forEach(function(E){_=Math.max(E.clipEnd,_)}),_},set:function(_){this.clips&&this.clips.forEach(function(E){E.clipEnd=_})}}]),w}(S.default);C.default=T},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=Object.assign||function(w){for(var _=1;_<arguments.length;_++){var E=arguments[_];for(var U in E)Object.prototype.hasOwnProperty.call(E,U)&&(w[U]=E[U])}return w},g=function(){function w(_,E){for(var U=0;U<E.length;U++){var $=E[U];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(_,$.key,$)}}return function(_,E,U){return E&&w(_.prototype,E),U&&w(_,U),_}}(),A=function(w){if(w&&w.__esModule)return w;var _={};if(w!=null)for(var E in w)Object.prototype.hasOwnProperty.call(w,E)&&(_[E]=w[E]);return _.default=w,_}(B(0)),S=T(B(14)),V=T(B(4)),L=B(1),F=T(L);function T(w){return w&&w.__esModule?w:{default:w}}var M=function(w){function _(E){(function($,te){if(!($ instanceof te))throw new TypeError("Cannot call a class as a function")})(this,_);var U=function($,te){if(!$)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!te||typeof te!="object"&&typeof te!="function"?$:te}(this,(_.__proto__||Object.getPrototypeOf(_)).call(this,E));return U.copy(E),U}return function(E,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof U);E.prototype=Object.create(U&&U.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),U&&(Object.setPrototypeOf?Object.setPrototypeOf(E,U):E.__proto__=U)}
47(_,w),g(_,[{key:"copy",value:function(E){var U=this,$=E||{},te=$.root,se=te===void 0?null:te,Se=$.data,be=Se===void 0?[]:Se,me=$.valueType,ke=me===void 0?"f":me,he=$.clipStart,X=he===void 0?0:he,re=$.clipEnd,ae=re===void 0?be[be.length-1].end:re;this.valueType=ke,this.data=be.map(function(pt){return new S.default(pt)});var ue=F.default.parsePath(se,this.name),ge=ue.object,Ce=ue.target,fe=ue.prop;switch(ge.matrixAutoUpdate=ge.matrixAutoUpdate||L.matrixMatch.includes(fe),this.getObject=function(){return ge},this.getValue=function(){return Ce[fe]},ke.charAt(0)){case"a":this.updateValue=function(pt,mt,Mt,Dt){var gt=U.getFrame(pt),ft=U.getFrame(mt);gt.forEach(function(Wt,or){var xr=gt[or]+(ft[or]-gt[or])*Mt;Dt===1?Ce[fe][or]=xr:Ce[fe][or]+=(xr-Ce[fe][or])*Dt})};break;case"f":this.updateValue=function(pt,mt,Mt,Dt){var gt=U.getFrame(pt),ft=gt+(U.getFrame(mt)-gt)*Mt;Dt===1?Ce[fe]=ft:Ce[fe]+=(ft-Ce[fe])*Dt};break;case"c":var Le=new A.Color,qe=new A.Color;this.updateValue=function(pt,mt,Mt,Dt){Le.setHex(U.getFrame(pt)),qe.setHex(U.getFrame(mt)),Dt===1?Ce[fe].copy(Le.lerp(qe,Mt)):Ce[fe].lerp(Le.lerp(qe,Mt),Dt)};break;case"v":var de=F.default.getConstructor(ke);if(!de)throw new Error("type is incorrect:"+ke);var Be=new de,Ue=new de;this.initialize=F.default.initializeVector,this.updateValue=function(pt,mt,Mt,Dt){Be.fromArray(U.getFrame(pt)),Ue.fromArray(U.getFrame(mt)),Dt===1?Ce[fe].copy(Be.lerp(Ue,Mt)):Ce[fe].lerp(Be.lerp(Ue,Mt),Dt)};break;case"q":var Ke=new A.Quaternion,yt=new A.Quaternion;this.updateValue=function(pt,mt,Mt,Dt){Ke.fromArray(U.getFrame(pt)).normalize(),yt.fromArray(U.getFrame(mt)).normalize(),Dt===1?Ce[fe].copy(Ke.slerp(yt,Mt)):Ce[fe].slerp(Ke.slerp(yt,Mt),Dt)};break;default:throw new Error("type is incorrect:"+ke)}this.clipStart=X,this.clipEnd=ae}},{key:"getBlock",value:function(E){for(var U=this.data.length-1;U>-1;U--)if(this.data[U].start<=E)return this.data[U];return this.data[0]}},{key:"getFrame",value:function(E){var U=this.getBlock(E);return U.frames[Math.min(U.frames.length-1,E-U.start)]}},{key:"exportData",value:function(){var E=this,U=[],$=this.getBlock(this.clipStart),te=this.data.indexOf($),se=this.getBlock(this.clipEnd),Se=this.data.indexOf(se);$=$.clone(),(se=Se===te?$:se.clone()).frames=se.frames.filter(function(ke,he){return he+se.start<=E.clipEnd}),$.frames=$.frames.filter(function(ke,he){return he<$.frames.length-1?he+$.start>=E.clipStart:$.end>=E.clipStart}),se.start-=this.clipStart,$.end=$.end-this.clipStart+$.start,$.start=0,se.end=this.clipEnd-this.clipStart,U.push($);for(var be=te+1;be<Se;be++){var me=this.data[be].clone();me.start=Math.max(0,me.start-this.clipStart),U.push(me)}return Se!==te&&U.push(se),U}},{key:"update",value:function(E,U,$,te){if(this.weight!==0){var se=U-this.start;(this.loop||te)&&(se%=this.duration),se>=0&&se<=this.duration?(this.percent=se/this.duration,this.render($)):this.percent!==0&&se<0?(this.percent=0,this.render($)):this.percent!==1&&se>this.duration&&(this.percent=1,this.render($))}}},{key:"render",value:function(E){var U=this.duration*this.percent+this.clipStart,$=Math.floor(U),te=Math.ceil(U);this.updateValue($,te,U-$,this.weight*E)}},{key:"clone",value:function(){return new _(this)}},{key:"toJSON",value:function(E){var U=E?this.data:this.exportData();return H({},function $(te,se,Se){te===null&&(te=Function.prototype);var be=Object.getOwnPropertyDescriptor(te,se);if(be===void 0){var me=Object.getPrototypeOf(te);return me===null?void 0:$(me,se,Se)}if("value"in be)return be.value;var ke=be.get;return ke!==void 0?ke.call(Se):void 0}(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"toJSON",this).call(this),{valueType:this.valueType,data:U.map(function($){return $.toJSON()}),clipStart:E?this.clipStart:0,clipEnd:E?this.clipEnd:this.clipEnd-this.clipStart})}},{key:"duration",get:function(){return this.clipEnd-this.clipStart}},{key:"totalFrame",get:function(){return this.data[this.data.length-1].end}}]),_}(V.default);C.default=M},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=Object.assign||function(F){for(var T=1;T<arguments.length;T++){var M=arguments[T];for(var w in M)Object.prototype.hasOwnProperty.call(M,w)&&(F[w]=M[w])}return F},g=function(){function F(T,M){for(var w=0;w<M.length;w++){var _=M[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(T,_.key,_)}}return function(T,M,w){return M&&F(T.prototype,M),w&&F(T,w),T}}(),A=V(B(2)),S=V(B(15));function V(F){return F&&F.__esModule?F:{default:F}}var L=function(F){function T(M){(function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")})(this,T);var w=function(_,E){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
47return!E||typeof E!="object"&&typeof E!="function"?_:E}(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,M));return w.copy(M),w}return function(M,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);M.prototype=Object.create(w&&w.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(M,w):M.__proto__=w)}(T,F),g(T,[{key:"copy",value:function(M){var w=this,_=M||{},E=_.root,U=E===void 0?null:E,$=_.data,te=$===void 0?[]:$,se=_.clipStart,Se=se===void 0?te[0].start:se,be=_.clipEnd,me=be===void 0?te[te.length-1].end:be,ke=_.sync,he=ke!==void 0&&ke,X=_.track,re=X===void 0?0:X;this.type=4,this.data=te.map(function(Ce){return new S.default(Ce)}),this.clipEnd=me,this.clipStart=Se,this.track=re;var ae=U.getObjectByName(this.name);if(this.sync=he,!ae.userData.onTickModified){var ue=ae.onTick,ge=this;ae.userData.onTickModified=!0,ae.onTick=function(){ge.sync||ue()}}this.render=function(Ce,fe,Le){var qe=w.getBlock(fe),de=ae.state.tracks,Be=(fe-qe.start)/30*ae.state.timeScale,Ue=w.sync||qe.sync;de[w.track]&&de[w.track].animation.name===qe.animation&&de[w.track].loop===qe.loop||(ae.state.data.defaultMix=qe.mix,ae.state.setAnimation(w.track,qe.animation,qe.loop),ae.state.tracks[w.track].trackTime=Be+qe.time),Ue?(ae.state.tracks[w.track].timeScale=0,ae.state.tracks[w.track].trackTime=Be+qe.time,Le||(Be=(qe.end-fe)/30*ae.state.timeScale),ae.state.tracks[w.track].mixTime=Math.min(Be,qe.mix),w.sync&&ae.update(0,Ce/30)):ae.state.tracks[w.track].timeScale=1},this.getObject=function(){return ae},this.getValue=function(){return ae.state.tracks[w.track].animation.name}}},{key:"getFrame",value:function(M){return this.getBlock(M).animation}},{key:"update",value:function(M,w,_,E){if(this.weight!==0){var U=w-this.start;this.duration&&(this.loop||E)&&(U%=this.duration);var $=this.percent;U>=0&&U<=this.duration?(this.percent=this.duration?U/this.duration:0,this.render(M,U+this.clipStart,this.percent>=$)):this.percent!==0&&U<0?(this.percent=0,this.render(M,this.clipStart,this.percent>=$)):this.percent!==1&&U>this.duration&&(this.percent=1,this.render(M,this.clipEnd,this.percent>=$))}}},{key:"clone",value:function(){return new T(this)}},{key:"toJSON",value:function(){return H({},function M(w,_,E){w===null&&(w=Function.prototype);var U=Object.getOwnPropertyDescriptor(w,_);if(U===void 0){var $=Object.getPrototypeOf(w);return $===null?void 0:M($,_,E)}if("value"in U)return U.value;var te=U.get;return te!==void 0?te.call(E):void 0}(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"toJSON",this).call(this),{data:this.data.map(function(M){return M.toJSON()}),clipStart:this.clipStart,clipEnd:this.clipEnd,sync:this.sync,track:this.track})}}]),T}(A.default);C.default=L},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(){function T(M,w){for(var _=0;_<w.length;_++){var E=w[_];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(M,E.key,E)}}return function(M,w,_){return w&&T(M.prototype,w),_&&T(M,_),M}}(),g=function(T){if(T&&T.__esModule)return T;var M={};if(T!=null)for(var w in T)Object.prototype.hasOwnProperty.call(T,w)&&(M[w]=T[w]);return M.default=T,M}(B(0)),A=L(B(2)),S=L(B(5)),V=L(B(1));function L(T){return T&&T.__esModule?T:{default:T}}var F=function(T){function M(w){(function(E,U){if(!(E instanceof U))throw new TypeError("Cannot call a class as a function")})(this,M);var _=function(E,U){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!U||typeof U!="object"&&typeof U!="function"?E:U}(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,w));return _.copy(w),_}return function(w,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);w.prototype=Object.create(_&&_.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(w,_):w.__proto__=_)}
47(M,T),H(M,[{key:"copy",value:function(w){var _=this,E=w||{},U=E.root,$=U===void 0?null:U,te=E.data,se=te===void 0?[]:te,Se=E.valueType,be=Se===void 0?"f":Se,me=E.clipStart,ke=me===void 0?se[0].start:me,he=E.clipEnd,X=he===void 0?se[se.length-1].end:he;this.type=5,this.valueType=be,this.data=se.map(function(de){return new S.default(de)});var re=V.default.parsePath($,this.name),ae=re.object,ue=re.target,ge=re.prop;switch(this.getObject=function(){return ae},this.getValue=function(){return ue[ge]},be.charAt(0)){case"a":this.updateValue=function(de,Be){_.getBlock(de).value.forEach(function(Ue,Ke){Be===1?ue[ge][Ke]=Ue:ue[ge][Ke]+=(Ue-ue[ge][Ke])*Be})};break;case"b":case"f":this.updateValue=function(de,Be){var Ue=_.getBlock(de);Be===1?ue[ge]=Ue.value:ue[ge]+=(Ue.value-ue[ge])*Be};break;case"c":var Ce=new g.Color;this.updateValue=function(de,Be){var Ue=_.getBlock(de);Be===1?ue[ge].setHex(Ue.value):ue[ge].lerp(Ce.setHex(Ue.value),Be)};break;case"v":var fe=V.default.getConstructor(be);if(!fe)throw new Error("type is incorrect:"+be);var Le=new fe;this.updateValue=function(de,Be){var Ue=_.getBlock(de);Be===1?ue[ge].fromArray(Ue.value):ue[ge].lerp(Le.fromArray(Ue.value),Be)};break;case"q":var qe=new g.Quaternion;this.updateValue=function(de,Be){var Ue=_.getBlock(de);Be===1?ue[ge].fromArray(Ue.value):ue[ge].slerp(qe.fromArray(Ue.value),Be)};break;default:throw new Error("type is incorrect:"+be)}this.clipEnd=X,this.clipStart=ke}},{key:"getFrame",value:function(w){return this.getBlock(w).value}},{key:"clone",value:function(){return new M(this)}}]),M}(A.default);C.default=F},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=Object.assign||function(F){for(var T=1;T<arguments.length;T++){var M=arguments[T];for(var w in M)Object.prototype.hasOwnProperty.call(M,w)&&(F[w]=M[w])}return F},g=function(){function F(T,M){for(var w=0;w<M.length;w++){var _=M[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(T,_.key,_)}}return function(T,M,w){return M&&F(T.prototype,M),w&&F(T,w),T}}(),A=V(B(2)),S=V(B(16));function V(F){return F&&F.__esModule?F:{default:F}}var L=function(F){function T(M){(function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")})(this,T);var w=function(_,E){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||typeof E!="object"&&typeof E!="function"?_:E}(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,M));return w.copy(M),w}return function(M,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);M.prototype=Object.create(w&&w.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(M,w):M.__proto__=w)}(T,F),g(T,[{key:"copy",value:function(M){var w=this,_=M||{},E=_.root,U=E===void 0?null:E,$=_.data,te=$===void 0?[]:$,se=_.clipStart,Se=se===void 0?te[0].start:se,be=_.clipEnd,me=be===void 0?te[te.length-1].end:be,ke=_.resetSlot,he=ke===void 0||ke;this.type=6,this.data=te.map(function(re){return new S.default(re)}),this.clipEnd=me,this.clipStart=Se;var X=U.getObjectByName(this.name);this.resetSlot=he,this.render=function(re){var ae=w.getFrame(re);if(X.skeleton.skin.name!==ae)try{X.skeleton.setSkinByName(ae),w.resetSlot&&X.skeleton.setSlotsToSetupPose()}catch(ue){}},this.getObject=function(){return X},this.getValue=function(){return X.skeleton.skin.name}}},{key:"getFrame",value:function(M){return this.getBlock(M).skin}},{key:"update",value:function(M,w,_,E){if(this.weight!==0){var U=w-this.start;this.duration&&(this.loop||E)&&(U%=this.duration),U>=0&&U<=this.duration?(this.percent=this.duration?U/this.duration:0,this.render(U+this.clipStart)):this.percent!==0&&U<0?(this.percent=0,this.render(this.clipStart)):this.percent!==1&&U>this.duration&&(this.percent=1,this.render(this.clipEnd))}}},{key:"clone",value:function(){return new T(this)}},{key:"toJSON",value:function(){return H({},function M(w,_,E){w===null&&(w=Function.prototype);var U=Object.getOwnPropertyDescriptor(w,_);if(U===void 0){var $=Object.getPrototypeOf(w);return $===null?void 0:M($,_,E)}if("value"in U)return U.value;var te=U.get;return te!==void 0?te.call(E):void 0}(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"toJSON",this).call(this),{data:this.data.map(function(M){return M.toJSON()}),clipStart:this.clipStart,clipEnd:this.clipEnd,resetSlot:this.resetSlot})}}]),T}(A.default);C.default=L},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(){function F(T,M){for(var w=0;w<M.length;w++){var _=M[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(T,_.key,_)}}return function(T,M,w){return M&&F(T.prototype,M),w&&F(T,w),T}}(),g=V(B(2)),A=V(B(5)),S=V(B(1));function V(F){return F&&F.__esModule?F:{default:F}}var L=function(F){function T(M){(function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")})(this,T);var w=function(_,E){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
47return!E||typeof E!="object"&&typeof E!="function"?_:E}(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,M));return w.copy(M),w}return function(M,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);M.prototype=Object.create(w&&w.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(M,w):M.__proto__=w)}(T,F),H(T,[{key:"copy",value:function(M){var w=this,_=M||{},E=_.root,U=E===void 0?null:E,$=_.data,te=$===void 0?[]:$,se=_.valueType,Se=se===void 0?"t":se,be=_.clipStart,me=be===void 0?te[0].start:be,ke=_.clipEnd,he=ke===void 0?te[te.length-1].end:ke;this.type=7,this.valueType=Se,this.data=te.map(function(ge){return new A.default(ge)});var X=S.default.parsePath(U,this.name),re=X.target,ae=X.object,ue=X.prop;this.updateValue=function(ge){var Ce=w.getBlock(ge);re[ue].value=ae.getTexture(Ce.value)},this.clipEnd=he,this.clipStart=me,this.getObject=function(){return ae},this.getValue=function(){return re[ue].value}}},{key:"getFrame",value:function(M){return this.getBlock(M).value}},{key:"clone",value:function(){return new T(this)}}]),T}(g.default);C.default=L},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(){function F(T,M){for(var w=0;w<M.length;w++){var _=M[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(T,_.key,_)}}return function(T,M,w){return M&&F(T.prototype,M),w&&F(T,w),T}}(),g=V(B(2)),A=V(B(5)),S=V(B(1));function V(F){return F&&F.__esModule?F:{default:F}}var L=function(F){function T(M){(function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")})(this,T);var w=function(_,E){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||typeof E!="object"&&typeof E!="function"?_:E}(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,M));return w.copy(M),w}return function(M,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);M.prototype=Object.create(w&&w.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(M,w):M.__proto__=w)}(T,F),H(T,[{key:"copy",value:function(M){var w=this,_=M||{},E=_.root,U=E===void 0?null:E,$=_.data,te=$===void 0?[]:$,se=_.clipStart,Se=se===void 0?te[0].start:se,be=_.clipEnd,me=be===void 0?te[te.length-1].end:be;this.type=8,this.valueType="str",this.data=te.map(function(ae){return new A.default(ae)});var ke=S.default.parsePath(U,this.name),he=ke.object,X=ke.target,re=ke.prop;this.getObject=function(){return he},this.getValue=function(){return X[re]},this.updateValue=function(ae,ue){var ge=w.getBlock(ae);ue===1&&(X[re]=ge.value)},this.clipEnd=me,this.clipStart=Se}},{key:"getFrame",value:function(M){return this.getBlock(M).value}},{key:"clone",value:function(){return new T(this)}}]),T}(g.default);C.default=L},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(){function F(T,M){for(var w=0;w<M.length;w++){var _=M[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(T,_.key,_)}}return function(T,M,w){return M&&F(T.prototype,M),w&&F(T,w),T}}(),g=V(B(2)),A=V(B(1)),S=V(B(17));function V(F){return F&&F.__esModule?F:{default:F}}var L=function(F){function T(M){(function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")})(this,T);var w=function(_,E){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||typeof E!="object"&&typeof E!="function"?_:E}(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,M));return w.copy(M),w}return function(M,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);M.prototype=Object.create(w&&w.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(M,w):M.__proto__=w)}
47(T,F),H(T,[{key:"copy",value:function(M){var w=this,_=M||{},E=_.root,U=E===void 0?null:E,$=_.data,te=$===void 0?[]:$,se=_.valueType,Se=se===void 0?"g":se,be=_.clipStart,me=be===void 0?te[0].start:be,ke=_.clipEnd,he=ke===void 0?te[te.length-1].end:ke;this.type=9,this.valueType=Se,this.data=te.map(function(Ce){return new S.default(Ce)});var X=A.default.parsePath(U,this.name),re=X.target,ae=X.object,ue=X.prop,ge=re[ue].image.data;this.getFrame=function(Ce){var fe=w.getBlock(Ce);if(fe.duration===0)return fe.gradientValues[0];var Le=(Ce-fe.start)/fe.duration,qe=fe.easeFunc(Le),de=fe.gradientValues[0],Be=fe.gradientValues[1],Ue=[];return de.forEach(function(Ke,yt){Ue[yt]=de[yt]+(Be[yt]-de[yt])*qe}),Ue},this.updateValue=function(Ce,fe){w.getFrame(Ce).forEach(function(Le,qe){fe===1?ge[qe]=Le:ge[qe]+=(Le-ge[qe])*fe}),re[ue].needsUpdate=!0},this.clipEnd=he,this.clipStart=me,this.getObject=function(){return ae},this.getValue=function(){return re[ue]}}},{key:"clone",value:function(){return new T(this)}}]),T}(g.default);C.default=L},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.default={DATA_TYPE_FALSE:0,DATA_TYPE_TRUE:1,DATA_TYPE_UINT8:2,DATA_TYPE_UINT16:3,DATA_TYPE_UINT32:4,DATA_TYPE_NUINT8:5,DATA_TYPE_NUINT16:6,DATA_TYPE_NUINT32:7,DATA_TYPE_FLOAT32:8,DATA_TYPE_STRING:9,DATA_TYPE_UINT16_ARRAY:10,DATA_TYPE_UINT32_ARRAY:11,DATA_TYPE_FLOAT32_ARRAY:12,DATA_TYPE_OBJECT:13,DATA_TYPE_ARRAY:14}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(){function M(w,_){for(var E=0;E<_.length;E++){var U=_[E];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(w,U.key,U)}}return function(w,_,E){return _&&M(w.prototype,_),E&&M(w,E),w}}(),g=function(M){if(M&&M.__esModule)return M;var w={};if(M!=null)for(var _ in M)Object.prototype.hasOwnProperty.call(M,_)&&(w[_]=M[_]);return w.default=M,w}(B(0)),A=F(B(20)),S=F(B(10)),V=F(B(21)),L=F(B(22));function F(M){return M&&M.__esModule?M:{default:M}}var T=function(){function M(w,_){var E=w.domElement,U=w.uniformSetting;(function(X,re){if(!(X instanceof re))throw new TypeError("Cannot call a class as a function")})(this,M);var $=_||{},te=$.type,se=te===void 0?void 0:te,Se=$.mouseEnableMoveCheck,be=Se!==void 0&&Se,me=$.clickOnly,ke=me!==void 0&&me;if(this.uniformSetting=U,this.uniformSetting.mouse&&this.uniformSetting.mouse.value&&this.uniformSetting.mouse.value.isVector4||(this.uniformSetting.mouse={value:new g.Vector4(0,0,1,1)}),this.processes=[],this.mouseMoved=!1,this.mouseEnabled=!0,this.mouseDown=!1,this.mouseNeedsRefresh=!1,this.mouseEnableMoveCheck=be,this.mouseCurrent=new g.Vector4,this.onDomMouseMoveScoped=this.onDomMouseMove.bind(this),this.onDomMouseDownScoped=this.onDomMouseDown.bind(this),this.onDomMouseUpScoped=this.onDomMouseUp.bind(this),this.onDomTouchStartScoped=this.onDomTouchStart.bind(this),this.onDomTouchMoveScoped=this.onDomTouchMove.bind(this),this.onDomTouchEndScoped=this.onDomTouchEnd.bind(this),this.onDomMouseWheelScoped=this.onDomMouseWheel.bind(this),this.onDomClickScoped=this.onDomClick.bind(this),ke)E.addEventListener("click",this.onDomClickScoped);else{var he=A.default.getInstance().desktop();se==="pc"||!se&&he?(E.addEventListener("mousemove",this.onDomMouseMoveScoped),E.addEventListener("mousedown",this.onDomMouseDownScoped),E.addEventListener("mouseup",this.onDomMouseUpScoped),E.addEventListener("mouseout",this.onDomMouseUpScoped)):(E.addEventListener("touchstart",this.onDomTouchStartScoped,{passive:!1}),E.addEventListener("touchmove",this.onDomTouchMoveScoped,{passive:!1}),E.addEventListener("touchend",this.onDomTouchEndScoped))}E.addEventListener("mousewheel",this.onDomMouseWheelScoped),this.domElement=E}return H(M,[{key:"disableMouse",value:function(){this.mouseDisabled=!0,this.mouseEnabled=!1}},{key:"enableMouse",value:function(){this.mouseDisabled=!1,this.mouseEnabled=!0}},{key:"lockMouse",value:function(){this.mouseEnabled=!1}},{key:"freeMouse",value:function(){this.mouseDisabled||(this.mouseEnabled=!0)}},{key:"dispose",value:function(){for(this.domElement.removeEventListener("touchstart",this.onDomTouchStartScoped),this.domElement.removeEventListener("touchmove",this.onDomTouchMoveScoped),this.domElement.removeEventListener("touchend",this.onDomTouchEndScoped),this.domElement.removeEventListener("mousedown",this.onDomMouseDownScoped),this.domElement.removeEventListener("mousemove",this.onDomMouseMoveScoped),this.domElement.removeEventListener("mouseup",this.onDomMouseUpScoped),this.domElement.removeEventListener("mouseout",this.onDomMouseUpScoped),this.domElement.removeEventListener("mousewheel",this.onDomMouseWheelScoped),this.domElement.removeEventListener("click",this.onDomClickScoped),this.mouseCheckScene=null,this.mouseCheckCamera=null;this.processes.length;)this.processes.pop().dispose()}},{key:"add",value:function(w,_){var E=this.find(w,_);return E||(E=new V.default(this.domElement,w,_),this.processes.push(E)),E}},{key:"remove",value:function(w,_){var E=S.default.hashUUID(w,_);return this.processes=this.processes.filter(function(U){return U.uuid!==E}),this}},{key:"find",value:function(w,_){var E=S.default.hashUUID(w,_);return this.processes.find(function(U){return U.uuid===E})}},{key:"updateMouseUniform",value:function(w,_){var E=S.default.getMouseXYByRect(w,_),U=E.offsetX,$=E.offsetY,te=E.width,se=E.height;this.uniformSetting.rotate?this.mouseCurrent.set($,U,se,te):this.mouseCurrent.set(U,$,te,se)}},{key:"onDomMouseWheel",value:function(w){if(this.updateMouseUniform(w),this.uniformSetting.mouse.value.copy(this.mouseCurrent),this.uniformSetting.mouseDelta.value.z=.05*w.deltaY,this.mouseEnabled){var _=this.calcRayPoint();
47this.processes.forEach(function(E){E.checkSceneClick(_,"onMouseWheel",w)}),L.default.dispatchEvent({type:"MOUSE_WHEEL"})}}},{key:"onDomMouseMove",value:function(w){if((this.mouseDown||this.mouseEnableMoveCheck)&&(this.updateMouseUniform(w),this.uniformSetting.mouseDelta.value.set(.5*(this.mouseCurrent.x-this.uniformSetting.mouse.value.x),.5*(this.mouseCurrent.y-this.uniformSetting.mouse.value.y),0),this.uniformSetting.mouse.value.copy(this.mouseCurrent),Math.abs(this.uniformSetting.mouseDelta.value.x)+Math.abs(this.uniformSetting.mouseDelta.value.y)>4&&(this.mouseMoved=!0),this.mouseEnabled)){var _=this.calcRayPoint();this.processes.forEach(function(E){E.checkSceneClick(_,"onMouseMove",w)}),L.default.dispatchEvent({type:"MOUSE_MOVE"})}}},{key:"onDomMouseDown",value:function(w){if(this.mouseEnabled){this.updateMouseUniform(w),this.uniformSetting.mouse.value.copy(this.mouseCurrent),this.uniformSetting.mouseDelta.value.set(0,0,0),this.mouseMoved=!1,this.mouseNeedsRefresh=!1,this.mouseDown=!0;var _=this.calcRayPoint();this.processes.forEach(function(E){E.checkSceneClick(_,"onMouseDown",w)}),L.default.dispatchEvent({type:"MOUSE_DOWN"})}}},{key:"onDomMouseUp",value:function(w){var _=this;if(this.uniformSetting.mouseDelta.value.set(0,0,0),this.mouseDown=!1,this.mouseEnabled&&!this.mouseNeedsRefresh){var E=this.calcRayPoint();this.processes.forEach(function(U){U.checkSceneClick(E,"onMouseUp",w),_.mouseMoved||(U.checkSceneClick(E,"onClick",w),L.default.dispatchEvent({type:"MOUSE_CLICK"}))}),L.default.dispatchEvent({type:"MOUSE_UP"}),this.mouseNeedsRefresh=!0}}},{key:"onDomClick",value:function(w){if(this.mouseEnabled){this.updateMouseUniform(w),this.uniformSetting.mouse.value.copy(this.mouseCurrent),this.uniformSetting.mouseDelta.value.set(0,0,0),this.mouseMoved=!1,this.mouseNeedsRefresh=!1,this.mouseDown=!1;var _=this.calcRayPoint();this.processes.forEach(function(E){E.checkSceneClick(_,"onClick",w)}),L.default.dispatchEvent({type:"MOUSE_CLICK"})}}},{key:"onDomTouchEnd",value:function(w){var _=this;if(this.uniformSetting.mouseDelta.value.set(0,0,0),this.mouseEnabled&&!this.mouseNeedsRefresh){var E=this.calcRayPoint();this.processes.forEach(function(U){U.checkSceneClick(E,"onMouseUp",w),_.mouseMoved||(U.checkSceneClick(E,"onClick",w),L.default.dispatchEvent({type:"MOUSE_CLICK"}))}),L.default.dispatchEvent({type:"MOUSE_UP"}),this.mouseNeedsRefresh=!0}}},{key:"onDomTouchMove",value:function(w){if(w.preventDefault(),this.updateMouseUniform(w,!0),this.uniformSetting.mouseDelta.value.set(this.mouseCurrent.x-this.uniformSetting.mouse.value.x,this.mouseCurrent.y-this.uniformSetting.mouse.value.y,0),this.uniformSetting.mouse.value.copy(this.mouseCurrent),this.mouseEnabled){Math.abs(this.uniformSetting.mouseDelta.value.x)+Math.abs(this.uniformSetting.mouseDelta.value.y)>10&&(this.mouseMoved=!0);var _=this.calcRayPoint();this.processes.forEach(function(E){E.checkSceneClick(_,"onMouseMove",w)}),L.default.dispatchEvent({type:"MOUSE_MOVE"})}}},{key:"onDomTouchStart",value:function(w){if(w.preventDefault(),this.mouseEnabled){this.updateMouseUniform(w,!0),this.uniformSetting.mouse.value.copy(this.mouseCurrent),this.mouseMoved=!1,this.mouseNeedsRefresh=!1;var _=this.calcRayPoint();this.processes.forEach(function(E){E.checkSceneClick(_,"onMouseDown",w)}),L.default.dispatchEvent({type:"MOUSE_DOWN"})}}},{key:"calcRayPoint",value:function(){var w=this.uniformSetting.mouse.value,_=w.x,E=w.y,U=w.z,$=w.w;return this.uniformSetting.rotate?new g.Vector2(_/U*2-1,E/$*2-1):new g.Vector2(_/U*2-1,-E/$*2+1)}},{key:"isMouseFree",get:function(){return this.mouseEnabled}}]),M}();C.default=T},function(z,C){z.exports=k},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=B(23),g=B(24),A=B(43),S=B(9);C.default={createGradient:S.createGradient,createGradientTexture:S.createGradientTexture,getCamera:H.getCamera,cameraAdaptScreen:H.cameraAdaptScreen,layoutToPosition:H.layoutToPosition,getSceneData:g.getSceneData,tweenTo:A.tweenTo,tweenFromTo:A.tweenFromTo}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=Object.assign||function(V){for(var L=1;L<arguments.length;L++){var F=arguments[L];for(var T in F)Object.prototype.hasOwnProperty.call(F,T)&&(V[T]=F[T])}return V};C.tweenTo=function(V,L,F){return new Promise(function(T,M){try{S.default.to(V,H({onComplete:function(){T()},duration:L},F))}catch(w){M(w)}})},C.tweenFromTo=function(V,L,F,T){return new Promise(function(M,w){try{S.default.fromTo(V,F,H({onComplete:function(){M()},duration:L},T))}catch(_){w(_)}})};var g,A=B(6),S=(g=A)&&g.__esModule?g:{default:g}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(){function V(L,F){for(var T=0;T<F.length;T++){var M=F[T];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(L,M.key,M)}}return function(L,F,T){return F&&V(L.prototype,F),T&&V(L,T),L}}(),g=B(45);function A(V,L){if(!(V instanceof L))throw new TypeError("Cannot call a class as a function")}var S=function(){function V(){var L=this,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};A(this,V);var T=F.list,M=T===void 0?[]:T,w=F.currentPlayId,_=F.muted,E=_!==void 0&&_;this.sounds={},this.currentPlayId=w,this.muted=E,this.spriteMap={},M.forEach(function(U){L.addSound(U)}),this.initBrowserVisibleEvent(),this.initClickHtml5AudioPlay(),this.setCurrentPlayAudio()}return H(V,null,[{key:"getSpriteId",value:function(L,F){return(L._sounds.find(function(T){return T._sprite===F})||{})._id}}]),H(V,[{key:"addSound",value:function(L){var F=this,T=L.id,M=L.src,w=L.volume,_=w===void 0?1:w,E=L.html5,U=E!==void 0&&E,$=L.loop,te=$!==void 0&&$,se=L.preload,Se=se===void 0||se,be=L.autoplay,me=be!==void 0&&be,ke=L.rate,he=ke===void 0?1:ke,X=L.fade,re=X===void 0?0:X,ae=L.overwrite,ue=ae===void 0||ae,ge=L.sprite,Ce=ge===void 0?{}:ge;!ue&&this.sounds[T]||(this.sounds[T]=new g.Howl({src:M,volume:_,html5:U,loop:te,preload:Se,autoplay:me,rate:he,sprite:Ce}),this.sounds[T]._id=T,this.sounds[T]._initVolume=_,this.sounds[T]._initFade=re,this.muted&&this.sounds[T].mute(!0),Object.keys(Ce).forEach(function(fe){F.spriteMap[fe]=T}))}},{key:"setMuted",value:function(L){L?this.setAllMute():this.resumeAllMute()}},{key:"setAllMute",value:function(){this.muted||(this.muted=!0,this.soundList.forEach(function(L){L.mute(!0)}))}},{key:"resumeAllMute",value:function(){this.muted&&(this.muted=!1,this.soundList.forEach(function(L){L.mute(!1)}))}},{key:"setCurrentPlayAudio",value:function(L){this.sounds[L]&&(this.currentPlayAudio&&this.currentPlayAudio.stop(),this.currentPlayId=L,this.playSound(this.currentPlayAudio._id))}},{key:"initClickHtml5AudioPlay",value:function(){var L=this;this.currentPlayAudio&&!this.currentPlayAudio.playing()&&window.addEventListener("click",function F(){window.requestAnimationFrame(function(){L.playSound(L.currentPlayAudio._id)}),window.removeEventListener("click",F,!0)},!0)}},{key:"initBrowserVisibleEvent",value:function(){var L=this;document.addEventListener("visibilitychange",function(){document.visibilityState==="visible"?L.resumeAll():L.pauseAll()})}},{key:"playSound",value:function(L){var F=this,T=this.sounds[L]||this.spriteMap[L]&&this.sounds[this.spriteMap[L]],M=!this.sounds[L]&&this.spriteMap[L];if(!T)return console.warn("no sound: "+L),null;var w=function(){var _=M?T.play(L):T.play();!F.muted&&T._initFade&&T.fade(0,T._initVolume,T._initFade,_),T.once("fade",function(){T._volume=T._initVolume},_)};
47return T.state()==="loaded"?(w(),T):(T.once("load",w),T.load(),T)}},{key:"pauseSound",value:function(L){var F=arguments.length>1&&arguments[1]!==void 0&&arguments[1],T=this.sounds[L]||this.spriteMap[L]&&this.sounds[this.spriteMap[L]];if(T){var M=V.getSpriteId(T,L);return F?(T.fade(T._volume,0,T._initFade,M),T.once("fade",function(){T.pause(M)},M)):T.pause(M),T}}},{key:"stopSound",value:function(L){var F=arguments.length>1&&arguments[1]!==void 0&&arguments[1],T=this.sounds[L]||this.spriteMap[L]&&this.sounds[this.spriteMap[L]];if(T){var M=V.getSpriteId(T,L);return T.off("load"),F?(T.fade(T._volume,0,T._initFade,M),T.once("fade",function(){T.stop(M)},M)):T.stop(M),T}}},{key:"pauseAll",value:function(){var L=this;this.soundList.forEach(function(F){F.playing()&&(F.needResume=!0,L.pauseSound(F._id))})}},{key:"resumeAll",value:function(){var L=this;this.soundList.forEach(function(F){F.needResume&&(F.needResume=!1,L.playSound(F._id))})}},{key:"currentPlayAudio",get:function(){return this.sounds[this.currentPlayId]}},{key:"soundList",get:function(){var L=this;return Object.keys(this.sounds).map(function(F){return L.sounds[F]})}}]),V}();C.default=S},function(z,C){z.exports=O},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(se){if(se&&se.__esModule)return se;var Se={};if(se!=null)for(var be in se)Object.prototype.hasOwnProperty.call(se,be)&&(Se[be]=se[be]);return Se.default=se,Se}(B(0)),g=T(B(25)),A=T(B(47)),S=T(B(49)),V=T(B(52)),L=T(B(53)),F=T(B(55));function T(se){return se&&se.__esModule?se:{default:se}}function M(se){return se==="p"||se==="div"}var w={fontsize:"fontSize",size:"fontSize",fontvariant:"fontVariant",variant:"fontVariant",fontfamily:"fontFamily",family:"fontFamily",fontweight:"fontWeight",weight:"fontWeight",fontstyle:"fontStyle",style:"fontStyle",fontstretch:"fontStretch",stretch:"fontStretch",color:"color",width:"width",newline:"newLine",linespacing:"lineSpacing",spacewidth:"spaceWidth",whitespace:"whiteSpace",textalign:"textAlign",align:"textAlign",lineheight:"lineHeight",strokewidth:"strokeWidth",strokecolor:"strokeColor",verticalalign:"verticalAlign"};function _(se,Se){var be={children:[],style:Se},me=[],ke=[],he=be,X=void 0,re=Se,ae=se.replace(/\r\n/g,"\n");return(0,A.default)(ae).forEach(function(ue){switch(ue.type){case g.default.Text:X||(X={words:[]},he.children.push(X)),X.words.push({text:ue.text,style:re});break;case g.default.OpenTag:if(M(ue.tag)){ke.push(re);var ge={children:[],style:re=Object.assign(Object.assign({},re),(0,S.default)(ue.style,w))};he.children.push(ge),me.push(he),he=ge,X=void 0}else ue.tag==="br"?X=void 0:(ke.push(re),re=Object.assign(Object.assign(Object.assign({},re),function(fe){switch(fe){case"b":case"strong":return{fontWeight:"bold"};case"em":case"i":return{fontStyle:"italic"};default:return{}}}(ue.tag)),(0,S.default)(ue.style,w)));break;case g.default.CloseTag:if(M(ue.tag)){var Ce=he;he=me.pop(),X=void 0,Ce.children.length===0&&he.children.splice(he.children.indexOf(Ce),1),re=ke.pop()}else ue.tag==="br"||(re=ke.pop())}}),be}var E=(0,V.default)();function U(se){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(0,V.default)(),be=_(se,Se);return(0,L.default)(be)}function $(se,Se,be){var me=be||{},ke=me.x,he=ke===void 0?10:ke,X=me.y,re=X===void 0?10:X,ae=me.align,ue=ae===void 0?"top":ae,ge=me.clear,Ce=ge===void 0||ge,fe=me.background,Le=fe===void 0?null:fe,qe=Se.getContext("2d");Ce&&(Le?(qe.fillStyle=Le,qe.fillRect(0,0,Se.width,Se.height)):qe.clearRect(0,0,Se.width,Se.height));var de=re;ue==="middle"?de+=qe.canvas.height/2-se.height/2:ue==="bottom"&&(de+=qe.canvas.height-se.height),(0,F.default)(se,qe,he,de,!0),(0,F.default)(se,qe,he,de,!1)}function te(se,Se){var be=U(Se,se.drawStyle);return $(be,se.image,se.drawOffset),se.needsUpdate=!0,be}C.default={createTextTexture:function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Se=se.wrapT,be=Se===void 0?H.ClampToEdgeWrapping:Se,me=se.wrapS,ke=me===void 0?H.ClampToEdgeWrapping:me,he=se.minFilter,X=he===void 0?H.LinearFilter:he,re=se.width,ae=re===void 0?300:re,ue=se.height,ge=ue===void 0?300:ue,Ce=se.x,fe=Ce===void 0?5:Ce,Le=se.y,qe=Le===void 0?10:Le,de=se.align,Be=de===void 0?"top":de,Ue=se.text,Ke=Ue===void 0?"":Ue,yt=document.createElement("canvas"),pt=new H.CanvasTexture(yt,void 0,ke,be,H.LinearFilter,X);yt.width=ae,yt.height=ge,pt.drawStyle=Object.assign((0,V.default)(),se),pt.drawStyle.width=ae-2*fe,pt.drawOffset={x:fe,y:qe,align:Be};var mt=null;return Ke&&(mt=te(pt,Ke)),{texture:pt,blocks:mt}},updateTextTexture:te,drawBlocks:$,parseBlocks:U,defaultStyle:E}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(M,w){if(Array.isArray(M))return M;if(Symbol.iterator in Object(M))return function(_,E){var U=[],$=!0,te=!1,se=void 0;try{for(var Se,be=_[Symbol.iterator]();!($=(Se=be.next()).done)&&(U.push(Se.value),!E||U.length!==E);$=!0);}catch(me){te=!0,se=me}finally{try{!$&&be.return&&be.return()}finally{if(te)throw se}}return U}(M,w);
47throw new TypeError("Invalid attempt to destructure non-iterable instance")};C.default=function(M){return T(M,V).map(function(w){return w[0]}).reduce(function(w,_){if(_.charAt(0)==="<"){var E=_.match(L);if(!E)return w;var U=H(E,3),$=U[1],te=U[2];if($.charAt(0)==="/")return w.push({type:A.default.CloseTag,tag:$.substr(1).toLowerCase()}),w;var se=Array.from(T(te,F)).reduce(function(me,ke){return me[ke[1]]=ke[2],me},{});return w.push({type:A.default.OpenTag,tag:$.toLowerCase(),style:se}),_.charAt(_.length-2)==="/"&&w.push({type:A.default.CloseTag,tag:""+$.toLowerCase()}),w}var Se=_.split(/(\s|[\u30a0-\u30ff\u3040-\u309f\u4e00-\u9fa5\uac00-\ud7af]+)/),be=[];return Se.forEach(function(me){me!==""&&(/([\uac00-\ud7ff\u4e00-\u9fa5]+)/.test(me)?be=be.concat(me.split("")):/([\u0e00-\u0e7f]+)/.test(me)?be=be.concat(me.split(/(\s|[\u0e00-\u0e7f]+[\u0e00-\u0e7f]+)/).map(function(ke){return function(he){if(/([\u0e00-\u0e7f]+)/.test(he)){for(var X=[],re=0,ae=he.length;re<ae;re++){var ue=he.charAt(re);/([^\u0e31\u0e33-\u0e39\u0e3a\u0e47-\u0e49\u0e4a-\u0e4e])/.test(ue)?X.push(ue):X[X.length-1]+=ue}return X}return he}(ke)}).flat()):be.push(me))}),be.forEach(function(me){me!==""&&w.push({type:A.default.Text,text:(0,g.default)(me)})}),w},[])};var g=S(B(48)),A=S(B(25));function S(M){return M&&M.__esModule?M:{default:M}}var V=/(<.+?>|\n|[^\S\n]+|[^<\s]+)/g,L=/<(\/?[a-zA-Z0-9]+)(.*?)>/,F=/(\S+)="(.+?)"/g;function T(M,w){w.lastIndex=-1;var _=void 0,E=[];if(String.prototype.matchAll!==void 0)for(var U=M.matchAll(w);!(_=U.next()).done;)E.push(_.value);else for(;_=w.exec(M);)E.push(_);return E}Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function M(){var w=isNaN(arguments[0])?1:Number(arguments[0]);return w?Array.prototype.reduce.call(this,function(_,E){return Array.isArray(E)?_.push.apply(_,M.call(E,w-1)):_.push(E),_},[]):Array.prototype.slice.call(this)},writable:!0})},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=new Map([["amp",38],["lt",60],["gt",62],["Entity Name",67],["Agrave",192],["Aacute",193],["Acirc",194],["Atilde",195],["Auml",196],["Aring",197],["AElig",198],["Ccedil",199],["Egrave",200],["Eacute",201],["Ecirc",202],["Euml",203],["Igrave",204],["Iacute",205],["Icirc",206],["Iuml",207],["ETH",208],["Ntilde",209],["Ograve",210],["Oacute",211],["Ocirc",212],["Otilde",213],["Ouml",214],["Oslash",216],["Ugrave",217],["Uacute",218],["Ucirc",219],["Uuml",220],["Yacute",221],["THORN",222],["szlig",223],["agrave",224],["aacute",225],["acirc",226],["atilde",227],["auml",228],["aring",229],["aelig",230],["ccedil",231],["egrave",232],["eacute",233],["ecirc",234],["euml",235],["igrave",236],["iacute",237],["icirc",238],["iuml",239],["eth",240],["ntilde",241],["ograve",242],["oacute",243],["ocirc",244],["otilde",245],["ouml",246],["oslash",248],["ugrave",249],["uacute",250],["ucirc",251],["uuml",252],["yacute",253],["thorn",254],["yuml",255],["Entity Name",83],["nbsp",160],["iexcl",161],["cent",162],["pound",163],["curren",164],["yen",165],["brvbar",166],["sect",167],["uml",168],["copy",169],["ordf",170],["laquo",171],["not",172],["shy",173],["reg",174],["macr",175],["deg",176],["plusmn",177],["sup2",178],["sup3",179],["acute",180],["micro",181],["para",182],["cedil",184],["sup1",185],["ordm",186],["raquo",187],["frac14",188],["frac12",189],["frac34",190],["iquest",191],["times",215],["divide",247],["Entity Name",83],["forall",8704],["part",8706],["exist",8707],["empty",8709],["nabla",8711],["isin",8712],["notin",8713],["ni",8715],["prod",8719],["sum",8721],["minus",8722],["lowast",8727],["radic",8730],["prop",8733],["infin",8734],["ang",8736],["and",8743],["or",8744],["cap",8745],["cup",8746],["int",8747],["there4",8756],["sim",8764],["cong",8773],["asymp",8776],["ne",8800],["equiv",8801],["le",8804],["ge",8805],["sub",8834],["sup",8835],["nsub",8836],["sube",8838],["supe",8839],["oplus",8853],["otimes",8855],["perp",8869],["sdot",8901],["Entity Name",76],["Alpha",913],["Beta",914],["Gamma",915],["Delta",916],["Epsilon",917],["Zeta",918],["Eta",919],["Theta",920],["Iota",921],["Kappa",922],["Lambda",923],["Mu",924],["Nu",925],["Xi",926],["Omicron",927],["Pi",928],["Rho",929],["Sigma",931],["Tau",932],["Upsilon",933],["Phi",934],["Chi",935],["Psi",936],["Omega",937],["alpha",945],["beta",946],["gamma",947],["delta",948],["epsilon",949],["zeta",950],["eta",951],["theta",952],["iota",953],["kappa",954],["lambda",955],["mu",956],["nu",957],["xi",958],["omicron",959],["pi",960],["rho",961],["sigmaf",962],["sigma",963],["tau",964],["upsilon",965],["phi",966],["chi",967],["psi",968],["omega",969],["thetasym",977],["upsih",978],["piv",982],["Entity Name",83],["OElig",338],["oelig",339],["Scaron",352],["scaron",353],["Yuml",376],["fnof",402],["circ",710],["tilde",732],["ensp",8194],["emsp",8195],["thinsp",8201],["zwnj",8204],["zwj",8205],["lrm",8206],["rlm",8207],["ndash",8211],["mdash",8212],["lsquo",8216],["rsquo",8217],["sbquo",8218],["ldquo",8220],["rdquo",8221],["bdquo",8222],["dagger",8224],["Dagger",8225],["bull",8226],["hellip",8230],["permil",8240],["prime",8242],["Prime",8243],["lsaquo",8249],["rsaquo",8250],["oline",8254],["euro",8364],["trade",8482],["larr",8592],["uarr",8593],["rarr",8594],["darr",8595],["harr",8596],["crarr",8629],["lceil",8968],["rceil",8969],["lfloor",8970],["rfloor",8971],["loz",9674],["spades",9824],["clubs",9827],["hearts",9829],["diams",9830]]),g=/&([^#].+?|#\d+);/g;C.default=function(A){return A.replace(g,function(S,V){var L=H.get(V.toLowerCase());return L?String.fromCharCode(L):V.charAt(0)==="#"?String.fromCharCode(parseInt(V.substr(1),16)):"&"+V+";"})}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(S,V){var L={};
47return Object.keys(S).forEach(function(F){if(S[F]!==void 0){var T=F.toLowerCase();if(V.hasOwnProperty(T)){var M=V[T],w=(0,A.default)(M,S[F]);w!==void 0&&(L[M]=w)}}}),L};var H,g=B(50),A=(H=g)&&H.__esModule?H:{default:H}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(T,M){switch(T){case"color":case"strokeColor":if(L.has(M.toLowerCase()))return M;if(M.charAt(0)==="#")return F(M)?M:void 0;switch(M.substr(0,4).toLowerCase()){case"rgb(":case"hsl(":case"rgba":case"hsla":return F(M)?M:void 0}return;case"fontSize":case"strokeWidth":if(!g.test(M))return;var w=parseFloat(M.replace(A,""));return w<=0?void 0:w;case"fontFamily":return M.length===0?void 0:M;case"fontStyle":return H.AllowedStyles.has(M.toLowerCase())?M:void 0;case"fontWeight":return H.AllowedWeights.has(M.toLowerCase())?M:void 0;case"fontVariant":return H.AllowedVariants.has(M.toLowerCase())?M:void 0;case"fontStretch":return H.AllowedStretches.has(M.toLowerCase())?M:void 0;case"textAlign":return H.AllowedTextAligns.has(M.toLowerCase())?M:void 0;case"verticalAlign":return H.AllowedVerticalAlign.has(M.toLowerCase())?M:void 0;case"whiteSpace":return H.AllowedWhiteSpace.has(M.toLowerCase())?M:void 0;case"newLine":return H.AllowedNewLines.has(M.toLowerCase())?M:void 0;case"spaceWidth":case"lineSpacing":return S.test(M)?parseFloat(M.replace(V,"")):void 0;case"lineHeight":return H.AllowedLineHeights.has(M.toLowerCase())?M:void 0;default:return M}};var H=function(T){if(T&&T.__esModule)return T;var M={};if(T!=null)for(var w in T)Object.prototype.hasOwnProperty.call(T,w)&&(M[w]=T[w]);return M.default=T,M}(B(51)),g=/^[+]?[0-9]+(?:[.][0-9]+)?(?:px)?$/,A=/[^0-9.]/g,S=/^[+-]?[0-9]+(?:[.][0-9]+)?(?:px)?$/,V=/[^0-9.-]/g,L=new Set(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgrey","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred ","indigo ","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgrey","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"]);function F(T){if(typeof Option<"u"){var M=new Option().style;return M.color=T,M.color!==""}return!1}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.AllowedStyles=new Set(["normal","italic"]),C.AllowedWeights=new Set(["100","200","300","400","500","600","700","800","900","normal","bold","lighter","bolder"]),C.AllowedVariants=new Set(["normal","small-caps"]),C.AllowedStretches=new Set(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]),C.AllowedTextAligns=new Set(["left","center","right","justify"]),C.AllowedWhiteSpace=new Set(["collapse-
47all","collapse-outer"]),C.AllowedNewLines=new Set(["space","ignore","preserve"]),C.AllowedVerticalAlign=new Set(["middle","bottom"]),C.AllowedLineHeights=new Set(["static","varied"])},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(){return{color:"black",fontSize:14,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",fontStretch:"normal",fontFamily:getComputedStyle?getComputedStyle(document.body).fontFamily:"Microsoft YaHei,微软雅黑",width:Number.MAX_SAFE_INTEGER,textAlign:"left",verticalAlign:"bottom",lineSpacing:5,whiteSpace:"collapse-all",spaceWidth:5,newLine:"preserve",lineHeight:"static",strokeWidth:0,strokeColor:"black"}}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(V){var L=[];if(function _(E,U,$){return E.children.reduce(function(te,se){return se.hasOwnProperty("children")?_(se,te,$):function(Se,be,me,ke){var he={height:0,width:0,maxAscent:0,vertices:[]},X=[he],re={x:0,y:me},ae=!0,ue=0,ge=new Map,Ce=!0,fe=!1,Le=void 0;try{for(var qe,de=Se.words[Symbol.iterator]();!(Ce=(qe=de.next()).done);Ce=!0){var Be=qe.value,Ue=Be.text.charAt(0)==="\n";if(S(Be)||Ue&&be.newLine==="space")be.whiteSpace==="collapse-all"?ue=ae?0:be.spaceWidth:be.whiteSpace==="collapse-outer"?ae?ue=0:ue+=be.spaceWidth*Be.text.length:ue+=Be.text.length*be.spaceWidth;else if(Ue){if(be.newLine==="ignore")continue;re.x=0,re.y+=he.height+be.lineSpacing,he={height:0,width:0,maxAscent:0,vertices:[]},X.push(he)}else{var Ke=(0,A.default)(Be),yt=re.x+ue,pt=re.y;yt+Ke.width>be.width?(ae=!0,yt=0,ue=0,pt+=he.height+be.lineSpacing,re.x=Ke.width,re.y=pt,he={height:0,width:0,maxAscent:0,vertices:[]},X.push(he)):re.x=yt+Ke.width;var mt=Ke.maxAscent-Ke.ascent,Mt=be.lineHeight==="static"?Ke.maxAscent:Ke.ascent,Dt={type:"word",x:yt,y:pt+(be.lineHeight==="static"?mt:0),drawOffsetX:Ke.xOffset,drawOffsetY:Ke.yOffset,width:Ke.width,height:Ke.height,style:Be.style,text:Be.text};ge.set(Dt,Mt),he.vertices.push(Dt),he.width+=ue+Dt.width,he.maxAscent=Math.max(he.maxAscent,Mt),be.lineHeight==="static"?he.height=Math.max(he.height,Ke.lineHeight):he.height=Math.max(he.height,Ke.height),ke.push(Dt),ue=0,ae=!1}}}catch(gt){fe=!0,Le=gt}finally{try{!Ce&&de.return&&de.return()}finally{if(fe)throw Le}}return X.forEach(function(gt){gt.vertices.forEach(function(ft){ft.y+=gt.maxAscent-ge.get(ft)})}),function(gt,ft){gt.forEach(function(Wt){if(Wt.vertices.length!==0){var or=ft.width-Wt.width;switch(ft.textAlign){case"left":break;case"center":var xr=Math.floor(or/2);Wt.vertices.forEach(function(en){en.x+=xr});break;case"right":Wt.vertices.forEach(function(en){en.x+=or});break;case"justify":if(Wt.vertices.length>1&&Wt.width>.5*ft.width){var wr=Wt.vertices.reduce(function(en,ua){return en+ua.width},0),kr=Wt.vertices[0];Wt.vertices[Wt.vertices.length-1].x+=or;for(var Tn=(ft.width-wr)/(Wt.vertices.length-1),qr=kr.width,Bn=1,Oa=Wt.vertices.length-1;Bn<Oa;Bn++)Wt.vertices[Bn].x=qr+Tn,qr=Wt.vertices[Bn].x+Wt.vertices[Bn].width}}switch(ft.verticalAlign){case"middle":var Rn=Wt.vertices.sort(function(en,ua){return ua.height-en.height})[0].height;Wt.vertices.forEach(function(en){en.y-=(Rn-en.height)*(en.drawOffsetY/en.height)/2})}}})}(X,be),re.y+he.height+be.lineSpacing}(se,E.style,te,$)},U)}(V,0,L),L.length===0)return{x:0,y:0,width:0,height:0,vertices:[]};var F=L.reduce(function(_,E){return Math.min(_,E.x)},Number.MAX_SAFE_INTEGER),T=L.reduce(function(_,E){return Math.min(_,E.y)},Number.MAX_SAFE_INTEGER),M=L.reduce(function(_,E){return Math.max(_,E.width+E.x)},0)-F,w=L.reduce(function(_,E){return Math.max(_,E.height+E.y)},0)-T;return{x:F,y:T,width:M,height:w,vertices:L}};var H,g=B(54),A=(H=g)&&H.__esModule?H:{default:H};function S(V){var L=V.text.charAt(0);return L===" "||L==="	"||L==="\v"||L==="\f"}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=Object.assign||function(V){for(var L=1;L<arguments.length;L++){var F=arguments[L];for(var T in F)Object.prototype.hasOwnProperty.call(F,T)&&(V[T]=F[T])}return V};C.default=function(V){var L=function(T){var M=T.style,w=T.text,_=""+M.fontSize+M.fontFamily,E=A.get(_);if(E||(E=function(te,se){var Se=document.createElement("div"),be=document.createElement("img"),me=document.createElement("span"),ke=document.body;Se.style.visibility="hidden",Se.style.fontFamily=te,Se.style.fontSize=se,Se.style.margin="0",Se.style.padding="0",Se.style.whiteSpace="nowrap",ke.appendChild(Se),be.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",be.width=1,be.height=1,be.style.margin="0",be.style.padding="0",be.style.verticalAlign="baseline",me.style.fontFamily=te,me.style.fontSize=se,me.style.margin="0",me.style.padding="0",me.appendChild(document.createTextNode("Hidden Text")),Se.appendChild(me),Se.appendChild(be);var he=be.offsetTop-me.offsetTop+2;Se.removeChild(me),Se.appendChild(document.createTextNode("Hidden Text")),Se.style.lineHeight="normal",be.style.verticalAlign="super";var X=be.offsetTop-Se.offsetTop+2;return ke.removeChild(Se),{baseline:he,middle:X}}(M.fontFamily,M.fontSize+"px"),A.set(_,E)),!S){var U=typeof document<"u"?document.createElement("canvas"):void 0;S=U!==void 0?U.getContext("2d"):void 0}(0,g.configureCanvas)(M,S);var $=S.measureText(w);return H({},E,{width:$.width})}(V),F=V.style.fontSize;return{width:L.width,height:2*L.middle,lineHeight:F,xOffset:0,yOffset:L.baseline,ascent:L.baseline,maxAscent:F}};var g=B(26),A=new Map,S=void 0},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}
47),C.default=function(g,A,S,V,L){g.vertices.forEach(function(F){(function(T,M,w,_,E){(0,H.configureCanvas)(T.style,M),E?T.style.strokeWidth&&M.strokeText(T.text,T.x+w+T.drawOffsetX,T.y+_+T.drawOffsetY):M.fillText(T.text,T.x+w+T.drawOffsetX,T.y+_+T.drawOffsetY)})(F,A,S,V,L)})};var H=B(26)},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.THREEPlayer=void 0;var H=function(he,X){if(Array.isArray(he))return he;if(Symbol.iterator in Object(he))return function(re,ae){var ue=[],ge=!0,Ce=!1,fe=void 0;try{for(var Le,qe=re[Symbol.iterator]();!(ge=(Le=qe.next()).done)&&(ue.push(Le.value),!ae||ue.length!==ae);ge=!0);}catch(de){Ce=!0,fe=de}finally{try{!ge&&qe.return&&qe.return()}finally{if(Ce)throw fe}}return ue}(he,X);throw new TypeError("Invalid attempt to destructure non-iterable instance")},g=Object.assign||function(he){for(var X=1;X<arguments.length;X++){var re=arguments[X];for(var ae in re)Object.prototype.hasOwnProperty.call(re,ae)&&(he[ae]=re[ae])}return he},A=function(){function he(X,re){for(var ae=0;ae<re.length;ae++){var ue=re[ae];ue.enumerable=ue.enumerable||!1,ue.configurable=!0,"value"in ue&&(ue.writable=!0),Object.defineProperty(X,ue.key,ue)}}return function(X,re,ae){return re&&he(X.prototype,re),ae&&he(X,ae),X}}(),S=function(he){if(he&&he.__esModule)return he;var X={};if(he!=null)for(var re in he)Object.prototype.hasOwnProperty.call(he,re)&&(X[re]=he[re]);return X.default=he,X}(B(0)),V=B(57),L=Se(B(11)),F=Se(B(12)),T=Se(B(60)),M=Se(B(7)),w=Se(B(18)),_=Se(B(22)),E=Se(B(19)),U=B(63),$=B(9),te=B(23),se=B(24);function Se(he){return he&&he.__esModule?he:{default:he}}var be={1:S.BufferGeometry,2:S.InstancedBufferGeometry},me={1:S.BufferAttribute,2:S.InstancedBufferAttribute,3:S.InterleavedBufferAttribute};S.Object3D,S.Mesh,S.SkinnedMesh,L.default.threejs.SkeletonMesh,S.PerspectiveCamera,S.Orthogra
47phicCamera,S.CubeCamera;function ke(he){return he.slice(1,he.length-1).split(",").map(function(X){return parseFloat(X)})}C.THREEPlayer=function(){function he(X){(function(pa,dr){if(!(pa instanceof dr))throw new TypeError("Cannot call a class as a function")})(this,he);var re=X||{},ae=re.devSpeed,ue=ae===void 0?1:ae,ge=re.renderer,Ce=ge===void 0?null:ge,fe=re.layoutData,Le=fe===void 0?{geometries:{},sceneList:[]}:fe,qe=re.animationSetting,de=qe===void 0?{}:qe,Be=re.shaderSetting,Ue=Be===void 0?{}:Be,Ke=re.bufferSetting,yt=Ke===void 0?{}:Ke,pt=re.spineSetting,mt=pt===void 0?{}:pt,Mt=re.pluginSetting,Dt=Mt===void 0?{}:Mt,gt=re.fontSetting,ft=gt===void 0?{}:gt,Wt=re.imageSetting,or=Wt===void 0?{}:Wt,xr=re.timelineSetting,wr=xr===void 0?{}:xr,kr=re.modifierSetting,Tn=kr===void 0?{}:kr,qr=re.machineSetting,Bn=qr===void 0?{}:qr,Oa=re.classSetting,Rn=Oa===void 0?{}:Oa,en=re.uniformSetting,ua=en===void 0?{fps:{value:1},delta:{value:.016},time:{value:0},resolution:{value:new S.Vector2(1,1)},mouse:{value:new S.Vector2},offset:{value:new S.Vector2},mouseDelta:{value:new S.Vector2(0,0)}}:en;this.renderer=Ce,this.devSpeed=ue;var pr=Ce.getContext();this.animationSetting=de,this.shaderSetting=Ue,this.spineSetting=mt,this.bufferSetting=yt,this.uniformSetting=ua,this.modifierSetting=Tn,this.fontSetting=ft,this.pluginSetting=Dt,this.timelineSetting=wr,this.classSetting=Rn,this.imageSetting=or,this.machineSetting=Bn,this.clock=new S.Clock;var wa=this;this.reportData={tickTime:0,tickCount:0,hasReported:!1},this.defaultAnimationSetting={SKIN:function(){this.scene.autoUpdate&&this.userData.animationMixer.update(wa.uniformSetting.delta.value)},SPINE:function(){this.scene&&!this.scene.autoUpdate||this.update(wa.uniformSetting.delta.value,wa.uniformSetting.time.value)},DRAW_MASK:function(){pr.clearStencil(0),pr.clear(pr.STENCIL_BUFFER_BIT),pr.stencilFunc(pr.ALWAYS,1,1),pr.stencilOp(pr.REPLACE,pr.REPLACE,pr.REPLACE),pr.colorMask(!1,!1,!1,!1),pr.enable(pr.STENCIL_TEST)},BEGIN_INVERT_MASK:function(){pr.stencilFunc(pr.NOTEQUAL,1,1),pr.stencilOp(pr.KEEP,pr.KEEP,pr.KEEP),pr.colorMask(!0,!0,!0,!0)},BEGIN_MASK:function(){pr.stencilFunc(pr.EQUAL,1,1),pr.stencilOp(pr.KEEP,pr.KEEP,pr.KEEP),pr.colorMask(!0,!0,!0,!0)},STOP_MASK:function(){pr.disable(pr.STENCIL_TEST)}},this.geometries={},this.shaders={},this.spines={},this.textures={},this.buffers={},this.fonts={},this.sourcePool={},this.loader=new U.SourceLoad({sourcePool:this.sourcePool}),this.timelines={},this.skinning={},this.skeletons={},this.exportResources={},this.mouseController=null,this.scenes={},this.layoutData=Le,this.initLayout(Le)}return A(he,null,[{key:"decode",value:function(X){return w.default.Decoder.parse(X)}},{key:"updateTextTexture",value:function(X,re){var ae=X.image,ue=ae.getContext("2d");X.opt.background?(ue.fillStyle=X.opt.background,ue.fillRect(0,0,ae.width,ae.height)):ue.clearRect(0,0,ae.width,ae.height),ue.fillStyle=X.opt.color,ue.textBaseline=X.opt.baseline,ue.textAlign=X.opt.align,ue.font=[X.opt.style,X.opt.variant,X.opt.weight,X.opt.size+"px",X.opt.family].join(" ");var ge=X.opt.lineHeight;X.opt.strokeStyle&&X.opt.strokeWidth&&(ue.lineWidth=X.opt.strokeWidth,ue.strokeStyle=X.opt.strokeStyle);for(var Ce=0,fe=re.split(/(?:\r\n|\r|\n)/),Le=0,qe=fe.length;Le<qe;Le++){var de=fe[Le],Be=ue.measureText(de).width;if(Be>X.opt.lineWidth){for(var Ue=de.split(/(\s|[\u4e00-\u9fa5,\uac00-\ud7af,\u0e00-\u0e7f]+)/),Ke=[],yt=0;yt<Ue.length;yt++){var pt=Ue[yt];pt!==""&&(/([\u4e00-\u9fa5]+)/.test(pt)?Ke=Ke.concat(pt.split("")):Ke.push(pt))}de=(Ue=Ke)[0],Be=ue.measureText(de).width;for(var mt=1,Mt=Ue.length;mt<Mt;mt+=1){var Dt=ue.measureText(Ue[mt]).width;Be+Dt>=X.opt.lineWidth?(X.opt.strokeStyle&&X.opt.strokeWidth&&ue.strokeText(de,X.opt.x,X.opt.y+Ce*ge),ue.fillText(de,X.opt.x,X.opt.y+Ce*ge),Ue[mt]!==" "?(de=Ue[mt],Be=Dt):(de="",Be=0),Ce+=1):(de+=Ue[mt],Be+=Dt)}}X.opt.strokeStyle&&X.opt.strokeWidth&&ue.strokeText(de,X.opt.x,X.opt.y+Ce*ge),ue.fillText(de,X.opt.x,X.opt.y+Ce*ge),Be==null&&(Be=ue.measureText(de).width),Ce+=1}return X.needsUpdate=!0,{count:Ce,opt:X.opt,width:ae.width,height:ae.height}}},{key:"buildMorph",value:function(X){X&&X.material&&X.geometry&&X.geometry.attributes.morphTarget0&&(X.morphTargetInfluences=[],Object.keys(X.geometry.attributes).forEac
47h(function(re){re.indexOf("morphTarget")===0&&X.morphTargetInfluences.push(0)}),Array.isArray(X.material)?X.material.forEach(function(re){re.uniforms.morphTargetInfluences={value:X.morphTargetInfluences},re.defines.USE_MORPH=X.morphTargetInfluences.length}):(X.material.uniforms.morphTargetInfluences={value:X.morphTargetInfluences},X.material.defines.USE_MORPH=X.morphTargetInfluences.length))}},{key:"getTextTexture",value:function(X){var re=document.createElement("canvas"),ae=new S.CanvasTexture(re);ae.minFilter=S.LinearFilter,he.setParameter(ae,X,"wrapT"),he.setParameter(ae,X,"wrapS"),he.setParameter(ae,X,"minFilter"),ae.minFilter=S.LinearFilter;var ue=he.getParameter(X,"width")||300,ge=he.getParameter(X,"height")||300;ae.minFilter!==S.LinearFilter||ae.wrapS!==S.ClampToEdgeWrapping||ae.wrapT!==S.ClampToEdgeWrapping?(re.width=Math.pow(2,Math.ceil(Math.log(ue)/Math.LN2)),re.height=Math.pow(2,Math.ceil(Math.log(ge)/Math.LN2))):(re.width=ue,re.height=ge),ae.opt={family:getComputedStyle?getComputedStyle(document.body).fontFamily:"Microsoft YaHei,微软雅黑",color:"#fff",align:"center",style:"normal",variant:"normal",weight:"bolder",size:"26",baseline:"top",x:0,y:0,scaleX:re.width/ue,scaleY:re.height/ge,lineWidth:re.width,lineHeight:"26",background:null,strokeStyle:null,strokeWidth:null},he.setParameter(ae.opt,X,"background"),he.setParameter(ae.opt,X,"color"),he.setParameter(ae.opt,X,"align"),he.setParameter(ae.opt,X,"family"),he.setParameter(ae.opt,X,"style"),he.setParameter(ae.opt,X,"variant"),he.setParameter(ae.opt,X,"weight"),he.setParameter(ae.opt,X,"size"),he.setParameter(ae.opt,X,"x"),he.setParameter(ae.opt,X,"y"),he.setParameter(ae.opt,X,"baseline"),he.setParameter(ae.opt,X,"lineWidth"),he.setParameter(ae.opt,X,"lineHeight"),he.setParameter(ae.opt,X,"strokeStyle"),he.setParameter(ae.opt,X,"strokeWidth"),re.getContext("2d").scale(ae.opt.scaleX,ae.opt.scaleY);var Ce=he.getParameter(X,"text");return Ce&&(he.updateTextTexture(ae,Ce),ae.needsUpdate=!0),ae}},{key:"updateProp",value:function(X,re){Object.keys(re).forEach(function(ae){X[ae]=re[ae]})}},{key:"getEventDispatcher",value:function(){return _.default}},{key:"getLoader",value:function(){return V.loader}},{key:"createLoader",value:function(){return(0,V.createLoader)()}},{key:"getSourceLoader",value:function(){return U.sourceLoader}},{key:"createSourceLoader",value:function(){return(0,U.createSourceLoader)()}},{key:"getParameter",value:function(X,re){var ae=X.match(new RegExp("(^|&)"+re+"=([^&]*)(&|$)"));return ae?ae[2]:null}},{key:"getParameters",value:function(X){var re=X.split("&"),ae={};return re.forEach(function(ue){var ge=ue.split("="),Ce=ge[0],fe=parseInt(ge[1],10);ae[Ce]=fe}),ae}},{key:"setParameter",value:function(X,re,ae){var ue=he.getParameter(re,ae);if(ue){var ge=X[ae];return X[ae]=isNaN(ue)?ue:parseInt(ue),ge!==X[ae]}return!1}},{key:"getObjScreenElePos",value:function(X,re,ae){var ue=ae.width,ge=ae.height;re.updateMatrixWorld();var Ce=new S.Vector3(0,0,0);return X.getWorldPosition(Ce),Ce.project(re),{position:"absolute",transform:"translate(calc(-50% + "+(Ce.x*ue/100/2).toFixed(2)+"rem), calc(-50% + "+(-Ce.y*ge/100/2).toFixed(2)+"rem))",left:"50%",top:"50%"}}},{key:"getObjWorldPos",value:function(X,re,ae,ue){var ge=ae.right/ae.zoom/100,Ce=ae.top/ae.zoom/100,fe=ue.width,Le=ue.height,qe=fe/2/100,de=Le/2/100,Be=qe-ge,Ue=de-Ce,Ke=X>0?(qe-(Be+X))/qe:-(qe-(Be-X))/qe,yt=re>0?(de-(Ue+re))/de:-(de-(Ue-re))/de;return new S.Vector3(Ke*fe/2,yt*Le/2,0)}}]),A(he,[{key:"createLoader",value:function(){return new U.SourceLoad({sourcePool:this.sourcePool})}},{key:"getSourcePoolResult",value:function(X){return this.sourcePool[X]?this.sourcePool[X].result:null}},{key:"checkGPUAcceleratorEnabled",value:function(){var X=this.renderer.getContext(),re=X.getExtension("WEBGL_debug_renderer_info");if(re){var ae=X.getParameter(re.UNMASKED_RENDERER_WEBGL);return!/SwiftShader/gi.test(ae)}return!1}},{key:"reportRenderInfo",value:function(X,re){var ae=this.reportData,ue=ae.tickTime,ge=ae.tickCount,Ce=ae.hasReported;if(ue>=X&&!Ce){this.reportData.hasReported=!0;var fe={averageFps:parseInt(ge/ue,10),gpu:null,maxTextureSize:null,resolution:parseInt(this.uniformSetting.resolution.value.x,10)+"-"+parseInt(this.uniformSetting.resolution.value.y,10),ua:window.navigator.userAgent},Le=this.renderer.getContext(),qe=Le.getExtension("WEBGL_debug_renderer_info");return qe&&(fe.gpu=Le.getParameter(qe.UNMASKED_RENDERER_WEBGL)||null,fe.maxTextureSize=Le.getParameter(Le.MAX_TEXTURE_SIZE)||null),void re(fe)}this.reportData.tickTime+=this.uniformSetting.delta.value,this.reportData.tickCount+=1}},{key:"initLayout",value:function(X){var re=this,ae=X.bufferMap,ue=ae===void 0?{}:ae;this.initGeometry(X),X.sceneList.forEach(function(ge){var Ce=(ge.classConfig||{}).id,fe=new(re.classSetting[Ce]||S.Scene),Le=(0,te.getCamera)(ge.camera[0],ge.sceneConfig);ge.buffer===void 0?ge.id!=="scene_ui"?fe.buffer=re.getBuffer(ge.id,ue[ge.id]):fe.buffer=null:fe.buffer=re.getBuffer(ge.buffer,ue[ge.buffer]),fe.name=ge.id,fe.camera=Le,fe.sceneInited=!1,fe.sce
47neConfig=ge.sceneConfig,re.scenes[ge.id]=fe})}},{key:"renderScene",value:function(X){var re=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],ae=arguments[2],ue=this.getScene(X);ue.overrideRender?ue.overrideRender(re,ae):(this.renderer.setRenderTarget(ue.buffer),re&&this.renderer.clear(),this.renderer.render(ue,ue.camera))}},{key:"resizeUI",value:function(X,re,ae){var ue=this,ge=ae.scale,Ce=ge===void 0?1:ge,fe=ae.isFixedSize,Le=fe!==void 0&&fe,qe=ae.isFixedAspect,de=qe!==void 0&&qe,Be=ae.width,Ue=Be===void 0?2500:Be,Ke=ae.height,yt=Ke===void 0?1080:Ke,pt=ae.all,mt=pt!==void 0&&pt,Mt=Ue,Dt=yt,gt=Math.min(1.3,Ce),ft=X/re/(Mt/Dt);ft<1?Mt*=ft:Dt/=ft;var Wt=Mt*(gt*=Math.min(1,Math.max(X/Mt,re/Dt))),or=Dt*gt,xr=Math.max(Wt/ae.width,or/ae.height),wr=ae.width*xr,kr=ae.height*xr;return this.renderer.setSize(Wt,or),(0,te.cameraAdaptScreen)(this.getScene("scene_ui").camera,g({},ae,{width:Mt,height:Dt}),Wt,or),Le||(mt?Object.keys(this.buffers).forEach(function(Tn){var qr=ue.buffers[Tn];qr&&qr.resizable&&(de?qr.setSize(wr,kr):qr.setSize(Wt,or))}):Object.keys(this.scenes).forEach(function(Tn){var qr=ue.scenes[Tn].buffer;qr&&qr.resizable&&(de?qr.setSize(wr,kr):qr.setSize(Wt,or))}),this.uniformSetting.bufferSize&&(de?this.uniformSetting.bufferSize.value.set(wr,kr):this.uniformSetting.bufferSize.value.set(Wt,or)),this.uniformSetting.resolution.value.set(Wt,or)),{width:Wt,height:or}}},{key:"getScene",value:function(X){var re=this.scenes[X];return re.children.length||this.initScene((0,se.getSceneData)(this.layoutData,X),re),re}},{key:"getBufferAnimationFunc",value:function(X){var re={onBufferClick:function(ae){bufferAnimationSceneHitTest.call(this,"onClick",ae,X.dom)},onBufferDown:function(ae){bufferAnimationSceneHitTest.call(this,"onMouseDown",ae,X.dom)},onBufferUp:function(ae){bufferAnimationSceneHitTest.call(this,"onMouseUp",ae,X.dom)},onBufferMove:function(ae){bufferAnimationSceneHitTest.call(this,"onMouseMove",ae,X.dom)}};return re}},{key:"drawCopy",value:function(X,re,ae){var ue=(ae||{}).resize,ge=ue!==void 0&&ue;X!==re&&T.default.copyPass.render(this.renderer,X,re,ge)}},{key:"drawBlur",value:function(X,re,ae){var ue=ae||{},ge=ue.resize,Ce=ge!==void 0&&ge,fe=ue.x,Le=fe===void 0?1:fe,qe=ue.y,de=qe===void 0?1:qe,Be=ue.target,Ue=ue.camera;Le>1e-5||de>1e-5?T.default.blurPass.render(this.renderer,X,re,Ce,Le,de,Be,Ue):X!==re&&T.default.copyPass.render(this.renderer,X,re,Ce)}},{key:"getFont",value:function(X){return this.fonts[X]||(this.fontSetting[X].json||console.error("no font atlas:"+X),this.fonts[X]=new F.default.MSDFAtlas(X,this.fontSetting[X].json,this.getTexture(X))),this.fonts[X]}},{key:"createText",value:function(X,re){return new F.default.MSDFTextMesh(X.text,re,{atlas:this.getFont(X.font),dynamic:!X.static,needsCenterAttribute:X.nca,fontSize:X.fontSize,align:X.align,lineWidth:X.lineWidth,lineHeight:X.lineHeight,letterSpacing:X.letterSpacing,letterItalic:X.letterItalic,color:X.color,shadow:X.shadowColor!==void 0||X.shadowOpacity!==void 0||X.shadowOffset!==void 0?{color:X.shadowColor?new S.Color(X.shadowColor):null,opacity:X.shadowOpacity,offset:X.shadowOffset?new S.Vector2().fromArray(X.shadowOffset):null}:null})}},{key:"getTimeline",value:function(X,re,ae){var ue=(ae||{}).excludes,ge=ue===void 0?null:ue,Ce=X.uuid+"_"+re;if(!this.timelines[Ce]){if(!this.timelineSetting[re])throw new Error("timeline "+re+" is not found");this.timelines[Ce]=M.default.createTimeline(g({},this.timelineSetting[re],{methods:this.animationSetting,root:X}))}return ge&&this.timelines[Ce].traverse(function(fe){ge.includes(fe.name)?fe.weight=0:fe.weight=1}),this.timelines[Ce]}},{key:"findTimeline",value:function(X){var re="_"+X,ae=Object.keys(this.timelines).find(function(ue){return ue.indexOf(re)!==-1});return ae?this.timelines[ae]:null}},{key:"stopTimeline",value:function(X,re){if(re){var ae=this.getTimeline(X,re);ae&&ae.stop()}else X._playedTimeline&&X._playedTimeline.stop()}},{key:"playTimeline",value:function(X,re){var ae=this,ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.devSpeed!==1&&(ue.speed=this.devSpeed);
47var ge=ue.mix,Ce=ge===void 0?0:ge,fe=ue.fps,Le=fe===void 0?30:fe,qe=ue.speed,de=qe===void 0?1:qe,Be=ue.loop,Ue=Be!==void 0&&Be,Ke=ue.overwrite,yt=Ke===void 0||Ke,pt=ue.start,mt=pt===void 0?0:pt,Mt=1e3*Ce/de/Le;if(yt&&X._playedTimeline&&X._playedTimeline.stop(),Array.isArray(re)){var Dt=M.default.createTimeline({type:1});X._playedTimeline=Dt;var gt=0;return re.forEach(function(xr,wr){var kr=ae.getTimeline(X,xr,ue);if(kr.start+=gt,kr.loop=wr===re.length-1&&Ue,gt+=kr.duration-Mt,Dt.add(kr),wr>0&&Ce!==0){var Tn=M.default.createTimeline({start:kr.start,type:3,data:[{start:0,end:Mt,frames:[0,1]}],name:".weight",root:kr});Dt.add(Tn)}}),Dt.play(ue)}var ft=this.getTimeline(X,re,ue);if(ft.loop=Ue,Ce===0)return X._playedTimeline=ft,ft.play(ue);var Wt=M.default.createTimeline({type:1}),or=M.default.createTimeline({start:mt,type:3,data:[{start:0,end:Mt,frames:[0,1]}],name:".weight",root:ft});return Wt.add(or),Wt.add(ft),X._playedTimeline=Wt,Wt.play(ue)}},{key:"initBuffer",value:function(X,re){this.buffers[X]=re}},{key:"getBuffer",value:function(X,re){if(X==="")return null;if(!this.buffers[X]){var ae=re||{},ue=ae.resizable,ge=ue===void 0||ue,Ce=ae.width,fe=Ce===void 0?512:Ce,Le=ae.height,qe=Le===void 0?512:Le,de=ae.wrapS,Be=de===void 0?S.ClampToEdgeWrapping:de,Ue=ae.wrapT,Ke=Ue===void 0?S.ClampToEdgeWrapping:Ue,yt=ae.format,pt=yt===void 0?S.RGBAFormat:yt,mt=ae.premultiplyAlpha,Mt=mt===void 0||mt,Dt=ae.stencilBuffer,gt=Dt!==void 0&&Dt,ft=ae.depthBuffer,Wt=ft===void 0||ft,or=ae.generateMipmaps,xr=or!==void 0&&or,wr=this.uniformSetting.bufferSize||this.uniformSetting.resolution,kr=new S.WebGLRenderTarget(ge?wr.value.x:fe,ge?wr.value.y:qe,{wrapS:Be,wrapT:Ke,format:pt,stencilBuffer:gt,depthBuffer:Wt,premultiplyAlpha:Mt,generateMipmaps:xr});kr.resizable=ge,this.initBuffer(X,kr)}return this.buffers[X]}},{key:"getImage",value:function(X){return(this.imageSetting[X]?this.imageSetting[X].image:null)||V.loader.getResult(X)||U.sourceLoader.getResult(X)||this.getSourcePoolResult(X)}},{key:"removeTexture",value:function(X){var re=X.split("?"),ae=H(re,2),ue=ae[0];ae[1],this.textures[ue]&&(this.textures[ue].dispose(),delete this.textures[ue])}},{key:"initTexture",value:function(X){var re=this.getTexture(X);re&&this.renderer.setTexture(re)}},{key:"getTextureConfig",value:function(X){if(this.imageSetting[X]&&this.imageSetting[X].config){var re=this.imageSetting[X].config;return g({wrapS:re.wrapS||S.ClampToEdgeWrapping,wrapT:re.wrapT||S.ClampToEdgeWrapping,minFilter:re.minFilter||S.LinearFilter,magFilter:re.magFilter||S.LinearFilter},he.getParameters(re.other||""))}return{}}},{key:"getTexture",value:function(X){var re=X.split("?"),ae=H(re,2),ue=ae[0],ge=ae[1],Ce=!1;if(!this.textures[ue]){var fe=this.getImage(ue);if(!fe)return X!==""&&console.warn("no texture:"+ue),null;this.textures[ue]=new S.Texture(fe),this.textures[ue].name=ue,this.textures[ue].minFilter=S.LinearFilter,Ce=!0}var Le=this.textures[ue];return Le.name=ue,ge?(he.setParameter(Le,ge,"wrapS")&&(Ce=!0),he.setParameter(Le,ge,"wrapT")&&(Ce=!0),he.setParameter(Le,ge,"minFilter")&&(Ce=!0)):he.updateProp(Le,this.getTextureConfig(ue)),Le.needsUpdate=Ce,Le}},{key:"getUniform",value:function(X){switch(X.type){case"f":return{value:X.value,type:"f"};case"i":return{value:X.value,type:"i"};case"v2":return{value:new S.Vector2().fromArray(Array.isArray(X.value)?X.value:ke(X.value))};case"v3":return{value:new S.Vector3().fromArray(Array.isArray(X.value)?X.value:ke(X.value))};case"v4":return{value:new S.Vector4().fromArray(Array.isArray(X.value)?X.value:ke(X.value))};case"c":return{value:new S.Color(X.value)};case"t":return{value:this.getTexture(X.value),src:X.value,type:"t"};case"w":return{value:he.getTextTexture(X.value),type:"t"};case"b":return{value:this.getBuffer(X.value).texture,type:"t"};case"u":return this.uniformSetting[X.value]||{value:null};case"g":return{value:(0,$.createGradientTexture)(X.value),type:"t"};default:return{value:X.value}}}},{key:"getMaterial",value:function(X,re){var ae=this;if(X.length!==0){var ue=[];return X.forEach(function(ge,Ce){var fe=ae.shaderSetting[ge.id];if(!fe)throw new Error("unknown shader:"+ge.id);ue[Ce]=fe.clone(),ue[Ce].name=ge.id,ue[Ce].skinning=re===2,ge.transparent!==void 0&&(ue[Ce].transparent=ge.transparent),ge.depthTest!==void 0&&(ue[Ce].depthTest=ge.depthTest),ge.depthWrite!==void 0&&(ue[Ce].depthWrite=ge.depthWrite),ge.side!==void 0&&(ue[Ce].side=ge.side),ge.blending!==void 0&&(ue[Ce].blending=ge.blending),ge.wireframe
47!==void 0&&(ue[Ce].wireframe=ge.wireframe),ge.derivatives!==void 0&&(ue[Ce].extensions.derivatives=ge.derivatives),ge.lights&&(ue[Ce].lights=!0,ue[Ce].uniforms=S.UniformsUtils.clone(S.UniformsLib.lights)),ge.uniforms&&ge.uniforms.forEach(function(Le){Le.type==="t"&&(ue[Ce].defines.USE_TEXTURE=1),ue[Ce].uniforms[Le.key]=ae.getUniform(Le)}),ge.globalUniform&&ge.globalUniform.forEach(function(Le){uniforms[Le]=ae.uniformSetting[Le]}),ge.defines&&(ue[Ce].defines=g({},ue[Ce].defines,ge.defines)),ge.glsl3&&(ue[Ce].glslVersion=S.GLSL3),ge.others&&ge.others.split("&").forEach(function(Le){var qe=Le.split("=");if(qe.length===2){var de=qe[0],Be=qe[1];Be==="false"||Be==="true"?ue[Ce][de]=Be!=="false":isNaN(parseInt(Be))?ue[Ce][de]=Be:ue[Ce][de]=parseInt(Be)}})}),ue.length===1?ue[0]:ue}}},{key:"initSpineData",value:function(X){var re=this,ae=new L.default.TextureAtlas(this.spineSetting[X].atlas);ae.pages.forEach(function(ge){var Ce,fe=ge.name.substr(0,ge.name.indexOf("."));Ce=new L.default.threejs.ThreeJsTexture(re.getImage(fe)),ge.setTexture(Ce)});var ue=new L.default.SkeletonJson(new L.default.AtlasAttachmentLoader(ae)).readSkeletonData(this.spineSetting[X].json);this.spines[X]={skeleton:ue,atlas:ae}}},{key:"getSpineData",value:function(X){if(!this.spines[X]){if(!this.spineSetting[X])return void console.error("no spine:"+X);this.initSpineData(X)}return this.spines[X]}},{key:"createSpine",value:function(X,re,ae){var ue=this,ge=this.getSpineData(X.id);if(!ge)return new S.Object3D;var Ce=(X.classConfig||{}).id,fe=new(this.classSetting[Ce]||L.default.threejs.SkeletonMesh)(ge.skeleton,function(de){return de.defines={},re&&(de.fragmentShader=re.fragmentShader,de.vertexShader=re.vertexShader,de.depthTest=re.depthTest,de.depthWrite=re.depthWrite,de.depthFunc=re.depthFunc,de.side=re.side,de.blending=re.blending,de.blendDst=re.blendDst,de.blendDstAlpha=re.blendDstAlpha,de.blendEquation=re.blendEquation,de.blendEquationAlpha=re.blendEquationAlpha,de.blendSrc=re.blendSrc,de.blendSrcAlpha=re.blendSrcAlpha,de.lights=re.lights,de.wireframe=re.wireframe,de.glslVersion=re.glslVersion,Object.keys(re.uniforms).forEach(function(Be){de.uniforms[Be]=re.uniforms[Be]}),Object.keys(re.defines).forEach(function(Be){de.defines[Be]=re.defines[Be]}),X.twoColor&&(de.defines.TWO_COLOR=1)),de},ae?function(de){return de.defines={},de.fragmentShader=ae.fragmentShader,de.vertexShader=ae.vertexShader,de.depthTest=ae.depthTest,de.depthWrite=ae.depthWrite,de.side=ae.side,de.transparent=de.transparent,de.glslVersion=ae.glslVersion,Object.keys(ae.uniforms).forEach(function(Be){de.uniforms[Be]=ae.uniforms[Be]}),Object.keys(ae.defines).forEach(function(Be){de.defines[Be]=ae.defines[Be]}),de}:null,X.maxVert,X.twoColor);fe.playerType=3,fe.userData.spineId=X.id,re&&(fe.material=re);try{fe.state.setAnimation(0,X.defaultAnimation||fe.state.data.skeletonData.animations[0].name,!X.playOnce),X.skin?fe.skeleton.setSkinByName(X.skin):fe.skeleton&&fe.skeleton.data&&fe.skeleton.data.skins.length>1&&fe.skeleton.setSkin(fe.skeleton.data.skins[1])}catch(de){console.error(de)}X.trackOffset&&(fe.state.tracks[0].trackTime+=Math.random()*X.trackOffset),X.timeScale&&(fe.state.timeScale=X.timeScale*this.devSpeed),fe.onTick=this.defaultAnimationSetting.SPINE.bind(fe);var Le=[{name:"event",event:"onEvent"},{name:"start",event:"onStart"},{name:"end",event:"onEnd"},{name:"dispose",event:"onDispose"},{name:"interrupted",event:"onInterrupted"},{name:"complete",event:"onComplete"}],qe=function(de){fe.state.removeListener(fe.userData[de+"Listener"]),fe.userData[de+"Listener"]=null};return fe.playAnimation=function(de,Be){var Ue=Be||{},Ke=Ue.mix,yt=Ke===void 0?.3:Ke,pt=Ue.speed,mt=pt===void 0?1:pt,Mt=Ue.loop,Dt=Mt!==void 0&&Mt,gt=Ue.channel,ft=gt===void 0?0:gt,Wt=Ue.overwrite,or=Wt===void 0||Wt,xr=Ue.onEvent,wr=xr===void 0?null:xr,kr=Ue.onStart,Tn=kr===void 0?null:kr,qr=Ue.onEnd,Bn=qr===void 0?null:qr,Oa=Ue.onDispose,Rn=Oa===void 0?null:Oa,en=Ue.onInterrupted,ua=en===void 0?null:en,pr=Ue.onComplete,wa=pr===void 0?null:pr;fe.state.data.defaultMix=yt,fe.state.timeScale=mt*ue.devSpeed,fe.visible=!0;var pa=void 0;Array.isArray(de)?de.forEach(function(dr,La){La===0?fe.state.setAnimation(ft,dr,!1):fe.state.addAnimation(ft,dr,Dt&&La===de.length-1,0),La===de.length-1&&(pa=dr)}):(pa=de,fe.state.setAnimation(ft,de,Dt)),Le.forEach(function(dr){or&&fe.userData[dr.name+"Listener"]&&qe(dr.name)}),wr&&(fe.userData.eventListener={event:function(dr,La){qe("event"),wr(dr,La)}},fe.state.addListener(fe.userData.eventListener)),Tn&&(fe.userData.startListener={start:function(dr){qe("start"),Tn(dr)}},fe.state.addListener(fe.userData.startListener)),Bn&&(fe.userData.endListener={end:function(dr){Bn(dr)}},fe.state.addListener(fe.userData.endListener)),Rn&&(fe.userData.disposeListener={dispose:function(dr){qe("dispose"),Rn(dr)}},fe.state.addListener(fe.userData.disposeListener)),ua&&(fe.userData.interruptedListener={interrupted:function(dr){qe("interrupted"),ua(dr)}},fe.state.addListener(fe.userData.interruptedListener)),wa&&(fe.userData.completeListener={complete:function(dr){dr.animation.name===pa&&(qe("complete"),wa(dr))}},fe.state.addListener(fe.userData.completeListener))},fe.update(0,this.uniformSetting.time.value),fe}},{key:"createGeometry",value:function(X){switch(X.type){case 1:return this.getGeometry(X.id);case 2:var re=X.config||{},ae=re.width,ue=ae===void 0?100:ae,ge=re.height,Ce=ge===void 0?100:ge,fe=re.widthSegments,Le=fe===void 0?1:fe,qe=re.heightSegments,de=qe===void 0?1:qe,Be=re.cx,Ue=Be===void 0?0:Be,Ke=re.cy,yt=Ke===void 0?0:Ke,pt=re.cz,mt=pt===void 0?0:pt;return new S.PlaneBufferGeometry(ue,Ce,Le,de).translate(Ue,yt,mt);case 3:var Mt=X.config||{},Dt=Mt.width,gt=Dt===void 0?100:Dt,ft=Mt.height,Wt=ft===void 0?100:ft,or=Mt.depth,xr=or===void 0?100:or,wr=Mt.widthSegments,kr=wr===void 0?1:wr,Tn=Mt.heightSegments,qr=Tn===void 0?1:Tn,Bn=Mt.depthSegments,Oa=Bn===void 0?1:Bn;return new S.BoxBufferGeometry(gt,Wt,xr,kr,qr,Oa);case 4:var Rn=X.config||{},en=Rn.radius,ua=en===void 0?50:en,pr=Rn.widthSegments,wa=pr===void 0?12:pr,pa=Rn.heightSegments,dr=pa===void 0?12:pa;return new S.SphereBufferGeometry(ua,wa,dr);case 5:var La=X.config||{},un=La.radius,Bi=un===void 0?100:un,to=La.circleSegment,es=to===void 0?20:to;return new S.CircleGeometry(Bi,es);case 6:var ki=(X.config||{}).shapPointList,Wn=ki===void 0?[]:ki,Ao=new S.Shape;
47return Wn.forEach(function(ni,Zn){Zn===0?Ao.moveTo(ni.x,ni.y):Ao.lineTo(ni.x,ni.y)}),new S.ShapeGeometry(Ao);case 7:var na=X.config||{},ro=na.radius,n1=ro===void 0?30:ro,Ni=na.length,A0=Ni===void 0?100:Ni,Ms=na.capSubdivisions,Ui=Ms===void 0?4:Ms,Ys=na.radialSegments,Ts=Ys===void 0?8:Ys;return new S.CapsuleGeometry(n1,A0,Ui,Ts);default:return null}}},{key:"createCamera",value:function(X){var re=void 0,ae=X.camera||{};switch(ae.type){case 1:re=new S.PerspectiveCamera(ae.fov||32,ae.aspect||1,ae.near||.01,ae.far||1e4);break;case 2:re=new S.OrthographicCamera(ae.left||-100,ae.right||100,ae.top||100,ae.bottom||-100,ae.near||.01,ae.far||1e4);break;case 3:re=new S.CubeCamera(ae.near||.01,ae.far||1e4,this.getBuffer(ae.buffer));default:throw new Error("unknown camera type:"+X.cameraType)}return re}},{key:"initScene",value:function(X,re){var ae=this;re.getPlayer=function(){return ae},re.playTimeline=function(ue,ge){return ae.playTimeline(re,ue,ge)},re.stopTimeline=function(ue){return ae.stopTimeline(re,ue)},re.getTimeline=function(ue,ge){return ae.getTimeline(re,ue,ge)},X.hooksFunc&&X.hooksFunc.render&&this.animationSetting[X.hooksFunc.render]&&(re.onBeforeRender=this.animationSetting[X.hooksFunc.render].bind(re)),X.children.forEach(function(ue){ae.initObject(ue,re,re)}),re.children.forEach(function(ue){ae.finalizeObject(ue)}),this.modifierObject(re,X),X.hooksFunc&&X.hooksFunc.init&&this.animationSetting[X.hooksFunc.init]&&this.animationSetting[X.hooksFunc.init].apply(re,[X,this])}},{key:"createObject",value:function(X,re,ae,ue){var ge=void 0,Ce=(X.classConfig||{}).id;switch(X.type){case 0:ge=new(this.classSetting[Ce]||S.Object3D);break;case 1:ge=new(this.classSetting[Ce]||S.Mesh)(re,ae),he.buildMorph(ge);break;case 2:ge=new(this.classSetting[Ce]||S.SkinnedMesh)(re,ae),he.buildMorph(ge);break;case 3:var fe=X.setDepthMaterial!==!1?ue:null;ge=this.createSpine(g({},X.spine,{classConfig:X.classConfig}),ae,fe);break;case 4:var Le=this.pluginSetting[X.pluginId];if(Le)try{ge=Le.call(this,X,ae,X.userData.pluginData)}catch(qe){console.log(qe)}ge||(ge=new S.Object3D);break;case 5:switch(X.light.type){case 1:ge=new S.AmbientLight(X.light.color,X.light.intensity);break;case 2:ge=new S.DirectionalLight(X.light.color,X.light.intensity);break;case 3:ge=new S.SpotLight(X.light.color,X.light.intensity,X.light.distance,X.light.angle,X.light.penumbra,X.light.decay);break;case 4:ge=new S.PointLight(X.light.color,X.light.intensity,X.light.distance,X.light.decay);break;default:throw new Error("unknown light type:"+X.light.type)}X.castShadow&&(ge.shadow.bias=X.light.bias,ge.shadow.radius=X.light.radius,ge.shadow.normalBias=X.light.normalBias,ge.shadow.mapSize.fromArray(X.light.mapSize));break;case 6:ge=new S.Bone;break;case 7:ge=this.createCamera(X);break;case 9:ge=this.createText(X.text,ae);break;default:ge=new S.Object3D,console.warn("不存在该 type")}return ge.uuid=X.uuid,ge.visible=X.visible,ge.renderOrder=X.renderOrder,ge}},{key:"initObjectByID",value:function(X,re){var ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:re,ue=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],ge=this.exportResources[X];if(ge){var Ce=this.initObject(ge,re,ae,ue);return this.finalizeObject(Ce),Ce}return null}},{key:"initObject",value:function(X,re){var ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:re,ue=this,ge=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],Ce=arguments[4],fe=void 0,Le=void 0,qe=void 0,de=void 0;return X.geometry&&(Le=this.createGeometry(X.geometry)),X.material&&(qe=this.getMaterial(X.material,X.type,X.geometry)),X.passMaterial&&(de=this.getMaterial(X.passMaterial,X.type,X.geometry)),(fe=Ce||this.createObject(X,Le,qe,de)).scene=ae,fe.name=X.name,fe.frustumCulled=X.frustumCulled===void 0||X.frustumCulled,fe.castShadow=!!X.castShadow,fe.receiveShadow=!!X.receiveShadow,X.material&&(fe.userData.colorMaterial=qe),de&&(fe.userData.passMaterial=de,X.setDepthMaterial!==!1&&(fe.customDepthMaterial=de)),X.position&&fe.position.fromArray(X.position),X.rotation&&fe.rotation.fromArray(X.rotation,"XYZ"),X.scale&&fe.scale.fromArray(X.scale),fe.userData.initPos=fe.position.clone(),fe.userData.initRot=fe.rotation.clone(),fe.userData.initScl=fe.scale.clone(),X.eventList&&(X.eventList.forEach(function(Be){var Ue=Be.key,Ke=Be.funcName;ue.animationSetting[Ke]&&(fe.userData[Ue]=ue.animationSetting[Ke].bind(fe)),Ue!=="onRollOver"&&Ue!=="onRollOut"||fe.userData.onMouseMove||(fe.userData.onMouseMove=function(){})}),ae.clicks||(ae.clicks=[]),ae.clicks.indexOf(fe)===-1&&ae.clicks.push(fe),fe.userData.mouseEnabled=!0),X.userData&&Object.assign(fe.userData,X.userData),fe.matrixAutoUpdate=X.autoMatrix!==void 0&&X.autoMatrix,fe.matrixAutoUpdate||fe.updateMatrix(),X.hooksFunc&&X.hooksFunc.render&&this.animationSetting[X.hooksFunc.render]&&(fe.onBeforeRender=this.animationSetting[X.hooksFunc.render].bind(fe)),X.children&&ge&&X.children.forEac
47h(function(Be){ue.initObject(Be,fe,ae,ge)}),X.exportID&&(this.exportResources[X.exportID]=X),X.mask===1?(fe.onBeforeRender=this.defaultAnimationSetting.DRAW_MASK,fe.onAfterRender=this.defaultAnimationSetting.BEGIN_MASK):X.mask===2?(fe.onBeforeRender=this.defaultAnimationSetting.DRAW_MASK,fe.onAfterRender=this.defaultAnimationSetting.BEGIN_INVERT_MASK):X.mask===3&&(fe.onAfterRender=this.defaultAnimationSetting.STOP_MASK),re&&re.add(fe),X.type!==3&&(fe.playTimeline=function(Be,Ue){return ue.playTimeline(fe,Be,Ue)},fe.stopTimeline=function(Be){return ue.stopTimeline(fe,Be)},fe.getTimeline=function(Be,Ue){return ue.getTimeline(fe,Be,Ue)},fe.getTexture=this.getTexture.bind(this)),fe.getPlayer=function(){return ue},fe.userData._initializeData=X,fe}},{key:"modifierObject",value:function(X,re){var ae=this;re.modifier&&re.modifier.forEach(function(ue){ae.modifierSetting[ue.id]&&ae.modifierSetting[ue.id].call(X,re,ae,ue.data)}),re.machine&&re.machine.forEach(function(ue){ae.machineSetting[ue.id]&&ae.machineSetting[ue.id].call(X,ue.data)}),X.onInit&&X.onInit()}},{key:"finalizeObject",value:function(X){var re=this;if(X.userData._initializeData){X.children.forEach(function(fe){re.finalizeObject(fe)});var ae=X.userData._initializeData,ue=ae.hooksFunc,ge=ae.skinning;if(ae.type===2)try{var Ce=this.getSkeleton(ge,X.parent);X.bind(Ce,X.matrixWorld)}catch(fe){throw console.log("err",fe),new Error("no skinning:"+ge,fe)}this.modifierObject(X,X.userData._initializeData),ue&&ue.init&&this.animationSetting[ue.init]&&this.animationSetting[ue.init].call(X,X.userData._initializeData,this),delete X.userData._initializeData}}},{key:"getGeometry",value:function(X){return this.geometries[X]?this.geometries[X]:(console.error("no geometry:"+X),null)}},{key:"removeGeometry",value:function(X){this.geometries[X]&&(this.geometries[X].dispose(),delete this.geometries[X])}},{key:"initGeometry",value:function(X){var re=this;if(!X.geometries)throw new Error("no geometries data");Object.keys(X.geometries).forEach(function(ae){re.geometries[ae]||(re.geometries[ae]=he.buildGeometry(X.geometries[ae]))}),X.skinning&&Object.keys(X.skinning).forEach(function(ae){re.skinning[ae]||(re.skinning[ae]=X.skinning[ae])})}},{key:"getBone",value:function(X,re){var ae=re.getObjectByName(X);return ae||(re.parent?this.getBone(X,re.parent):null)}},{key:"getSkeleton",value:function(X,re){var ae=this.skinning[X];if(!ae)throw new Error("no skinning:"+X);var ue=this.getBone(ae.bones[0].name,re),ge=""+X+ue.id;if(!this.skeletons[ge]){var Ce=[],fe=[];ae.bones.forEach(function(qe,de){var Be=void 0;de===0?Be=ue:(Be=ue.getObjectByName(qe.name))||(Be=ue.scene.getObjectByName(qe.name)),Ce.push(Be),fe.push(new S.Matrix4().fromArray(ae.matrix[de]))});var Le=new S.Skeleton(Ce,fe);this.skeletons[ge]=Le}return this.skeletons[ge]}},{key:"tick",value:function(){return(typeof performance>"u"?Date.now():performance.now())-this.clock.oldTime>10&&(this.uniformSetting.delta.value=Math.min(this.clock.getDelta(),.03),this.uniformSetting.fps.value=this.uniformSetting.delta.value/.0167,this.uniformSetting.time.value=(this.uniformSetting.time.value+this.uniformSetting.delta.value)%1e4,!0)}},{key:"compile",value:function(X,re,ae){var ue=[],ge=new S.Scene;X.traverse(function(fe){fe.material&&fe.userData.initPos&&(fe.userData.visible=fe.visible,fe.userData.parent=fe.parent,fe.userData.frustumCulled=fe.frustumCulled,fe.visible=!0,fe.frustumCulled=!1,ue.push(fe))}),ue.forEach(function(fe){ge.add(fe)});var Ce=this.renderer.getRenderTarget();this.renderer.setRenderTarget(ae),this.renderer.render(ge,re),this.renderer.setRenderTarget(Ce),ue.forEach(function(fe){fe.frustumCulled=fe.userData.frustumCulled,fe.visible=fe.userData.visible,fe.userData.parent.add(fe)}),ue.length=0}},{key:"compileScene",value:function(X){var re=this.getScene(X);this.compile(re,re.camera,re.buffer)}},{key:"initTouch",value:function(X){return this.mouseController||(this.mouseController=new E.default.MouseController(this,X)),this.mouseController}},{key:"disableTouch",value:function(){this.mouseController&&(this.mouseController.dispose(),this.mouseController=null)}},{key:"domElement",get:function(){return this.renderer.domElement}}],[{key:"buildGeometry",value:function(X){var re=new be[X.type||1];
47return Object.keys(X.attributes).forEach(function(ae){var ue=X.attributes[ae],ge=void 0;ge=ue.type===3?new S.InterleavedBufferAttribute(new S.InterleavedBuffer(new Float32Array(ue.array),ue.stride),ue.itemSize,ue.offset):ae==="skinIndex"?new me[ue.type](new Uint16Array(ue.array),ue.itemSize):new me[ue.type](new Float32Array(ue.array),ue.itemSize),re.setAttribute(ae,ge)}),X.groups&&(re.groups=X.groups),X.index&&re.setIndex(new S.BufferAttribute(new(X.attributes.position.array.length>196605?Uint32Array:Uint16Array)(X.index),1)),X.attributes.normal||re.computeVertexNormals(),re}},{key:"updateGeometry",value:function(X,re){return be[re.type]!==X.constructor?(X.dispose(),X=he.buildGeometry(re)):(re.groups&&(X.groups=re.groups),Object.keys(re.attributes).forEach(function(ae){var ue=re.attributes[ae],ge=X.attributes[ae];ge.array=new Float32Array(ue.array),ge.itemSize=ue.itemSize,ge.count=ue.array.length/ue.itemSize,ge.needsUpdate=!0}),X.index.array=new(re.attributes.position.array.length>196605?Uint32Array:Uint16Array)(re.index),X.index.count=X.index.array.length,X.index.needsUpdate=!0),X}}]),he}()},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0}),C.loader=void 0;var H=function(){function M(w,_){for(var E=0;E<_.length;E++){var U=_[E];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(w,U.key,U)}}return function(w,_,E){return _&&M(w.prototype,_),E&&M(w,E),w}}();C.createLoader=function(){return new T};var g,A=function(M){if(M&&M.__esModule)return M;var w={};if(M!=null)for(var _ in M)Object.prototype.hasOwnProperty.call(M,_)&&(w[_]=M[_]);return w.default=M,w}(B(0)),S=B(58),V=(g=S)&&g.__esModule?g:{default:g};function L(M,w){if(!(M instanceof w))throw new TypeError("Cannot call a class as a function")}var F=function(){function M(w,_){L(this,M);var E=w||{},U=E.src,$=U===void 0?"":U,te=E.type,se=te===void 0?"":te,Se=E.id,be=Se===void 0?Math.random():Se,me=E.config,ke=me===void 0?null:me;switch(this.url=$,this.id=be,this.mediaType=this.isBase64?"base64":se,this.config=ke,se){case"video":case"image":this.responseType="blob";break;case"audio":this.responseType="arraybuffer";break;default:this.responseType=se}this.result=null,this.loader=_,this.mediaType==="base64"&&this.load(this.url)}return H(M,[{key:"checkComplete",value:function(){this.loader.onFileComplete(this),this.loader.counter+=1,this.loader.counter===Object.keys(this.loader.list).length&&this.loader.onLoadComplete()}},{key:"load",value:function(w){switch(this.mediaType){case"base64":this.result=new Image,this.result.onload=this.checkComplete.bind(this),this.result.src=w;break;case"video":this.result=window.URL.createObjectURL(w),this.checkComplete();break;case"image":case"blob":this.result=new Image,this.result.onload=this.checkComplete.bind(this),this.result.src=window.URL.createObjectURL(w);break;case"json":default:this.result=w,this.checkComplete()}}},{key:"isBase64",get:function(){return this.url.indexOf("data:image")===0}}]),M}(),T=function(M){function w(){L(this,w);var _=function(E,U){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!U||typeof U!="object"&&typeof U!="function"?E:U}(this,(w.__proto__||Object.getPrototypeOf(w)).call(this));return _.loaded=!0,_.list={},_.counter=0,_}return function(_,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);_.prototype=Object.create(E&&E.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(_,E):_.__proto__=E)}(w,M),H(w,[{key:"removeAll",value:function(){this.counter=0,this.list={}}},{key:"getItems",value:function(){var _=this;return Object.keys(this.list.map(function(E){return _.list[E]}))}},{key:"getResult",value:function(_){return this.list[_]?this.list[_].result:null}},{key:"onLoadProgress",value:function(_){this.dispatchEvent({type:"progress",progress:_})}},{key:"onLoadComplete",value:function(){this.loaded=!0,this.dispatchEvent({type:"complete"})}},{key:"onLoadError",value:function(_){this.dispatchEvent({type:"error",data:_})}},{key:"onFileComplete",value:function(_){this.dispatchEvent({type:"fileComplete",data:_})}},{key:"loadManifest",value:function(_){var E=this;if(_.length>0){var U=[];_.forEach(function($){if(!$.src)throw new Error("图片不存在,请仔细核对"+$.id);if(E.list[$.id])console.warn("duplicate item:",$.id);else{var te=new F($,E);E.list[$.id]=te,te.isBase64||U.push(te),E.loaded=!1}}),U.length>0?new V.default({minTime:10,onprogress:this.onLoadProgress.bind(this),onerror:this.onLoadError.bind(this),list:U}).init():this.loaded&&this.onLoadComplete()}else this.loaded&&this.onLoadComplete()}}]),w}(A.EventDispatcher);C.loader=new T},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H,g=function(){function _(E,U){for(var $=0;$<U.length;$++){var te=U[$];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(E,te.key,te)}}return function(E,U,$){return U&&_(E.prototype,U),$&&_(E,$),E}}(),A=B(59),S=(H=A)&&H.__esModule?H:{default:H};function V(_){if(Array.isArray(_)){for(var E=0,U=Array(_.length);E<_.length;E++)U[E]=_[E];return U}return Array.from(_)}function L(_,E,U,$,te,se){(0,S.default)({method:"get",baseURL:window.location.origin,url:_,responseType:E,onDownloadProgress:function(Se,be,me){be&&U(!0,me)}}).then(function(Se){Se.lengthComputable||U(Se.lengthComputable),$(Se.data)}).catch(function(Se){se(_,Se),te({url:_,reason:Se}),U()})}function F(_,E,U,$,te,se){var Se=document.createElement("div");Se.style.visibility="hidden";var be=document.createElement("iframe");be.src=_,be.width=0,be.height=0,be.onload=function(){U(),$(),document.body.removeChild(Se)},be.error=function(me){U(),se(_,me),te({url:_,reason:me}),document.body.removeChild(Se)},document.body.appendChild(Se),Se.appendChild(be)}var T={IMAGE:{method:function(_){for(var E=arguments.length,U=Array(E>1?E-1:0),$=1;$<E;$++)U[$-1]=arguments[$];_.crossDomain?F.apply(void 0,U):L.apply(void 0,U)}},VIDEO:{method:function(_){for(var E=arguments.length,U=Array(E>1?E-1:0),$=1;$<E;$++)U[$-1]=arguments[$];_.crossDomain?F.apply(void 0,U):L.apply(void 0,U)}},SOUND:{method:function(_){for(var E=arguments.length,U=Array(E>1?E-1:0),$=1;$<E;$++)U[$-1]=arguments[$];_.crossDomain?F.apply(void 0,U):L.apply(void 0,U)}},CSS:{method:function(_){for(var E=arguments.length,U=Array(E>1?E-1:0),$=1;$<E;$++)U[$-1]=arguments[$];_.crossDomain?F.apply(void 0,U):L.apply(void 0,U)}},JS:{method:function(_){for(var E=arguments.length,U=Array(E>1?E-1:0),$=1;$<E;$++)U[$-1]=arguments[$];_.crossDomain?F.apply(void 0,U):L.apply(void 0,U)}},JSON:{method:function(_){for(var E=arguments.length,U=Array(E>1?E-1:0),$=1;$<E;$++)U[$-1]=arguments[$];_.crossDomain?F.apply(void 0,U):L.apply(void 0,U)}},TXT:{method:function(_){for(var E=arguments.length,U=Array(E>1?E-1:0),$=1;$<E;$++)U[$-1]=arguments[$];_.crossDomain?F.apply(void 0,U):L.apply(void 0,U)}},XML:{method:function(_){for(var E=arguments.length,U=Array(E>1?E-1:0),$=1;$<E;$++)U[$-1]=arguments[$];_.crossDomain?F.apply(void 0,U):L.apply(void 0,U)}}};function M(_){return function E(U){return U.reduce(function($,te){return Array.isArray(te)?$.concat(E(te)):$.concat(te)},[])}(Object.keys(_).map(function(E){return Object.keys(_[E]).map(function(U){return _[E][U]})})).map(function(E){return{url:E}})}var w=function(){function _(E){(function(Le,qe){if(!(Le instanceof qe))throw new TypeError("Cannot call a class as a function")})(this,_);var U=E.list,$=U===void 0?[]:U,te=E.minTime,se=te===void 0?0:te,Se=E.maxTime,be=Se!==void 0&&Se,me=E.defineTime,ke=me!==void 0&&me,he=E.onprogress,X=he===void 0?function(){}:he,re=E.onload,ae=re===void 0?function(){}:re,ue=E.json,ge=ue===void 0?{}:ue,Ce=E.onerror,fe=Ce===void 0?function(){}:Ce;this.list=[].concat(V($),V(M(ge))),this.minTime=se,this.onprogress=X,this.onload=ae,this.count=0,this.progress=0,this.canLoad=!1,this.max=this.list.length,this.hasLoad=!1,this.defineTime=ke,this.maxTime=be,this.onerror=fe,this.globalErrList=[],this.timeslice=Number(Math.ceil(100/this.list.length).toFixed(0)),this.loadCb=this.loadCb.bind(this),this.init=this.init.bind(this),this.final=this.final.bind(this)}return g(_,[{key:"init",value:function(){var E=this;this.onprogress(0),this.defineTime?function U(){E.progress<100?setTimeout(function(){E.hasLoad||(E.onprogress(E.progress,Math.round(E.defineTime/100)*E.progress),E.progress+=1,U())},E.defineTime/100):E.progress===100&&(E.onprogress(E.progress,E.defineTime),E.onload(),E.globalErrList.length>
470&&E.onerror(E.globalErrList))}():(setTimeout(function(){E.canLoad=!0,E.final()},this.minTime),this.list.forEach(function(U,$){(function(te){switch(te.substring(te.lastIndexOf(".")+1).toLowerCase()){case"jpeg":case"jpg":case"gif":case"png":case"webp":case"bmp":return T.IMAGE;case"ogg":case"mp3":case"wav":case"aac":return T.SOUND;case"mp4":case"webm":case"ts":return T.VIDEO;case"json":return T.JSON;case"xml":return T.XML;case"css":return T.CSS;case"js":return T.JS;default:return T.TXT}})(U.url).method({crossDomain:U.crossDomain||!1},U.url,U.responseType,E.loadCb,function(te){U.load&&U.load(te,$)},function(te){E.globalErrList.push(te)},function(te,se){U.error&&U.error(te,$,se)})})),this.maxTime&&setTimeout(function(){E.progress<100&&!E.hasLoad&&(E.onprogress(100,15e3),E.onload(),E.globalErrList.length>0&&E.onerror(E.globalErrList),E.hasLoad=!0)},this.maxTime)}},{key:"loadCb",value:function(){var E=arguments.length>0&&arguments[0]!==void 0&&arguments[0],U=arguments[1];this.hasLoad||(this.progress+=E?U*this.timeslice:this.timeslice,this.progress=this.progress>100?100:this.progress,this.onprogress&&this.progress<=99&&this.onprogress(Number(this.progress.toFixed(0)))),this.final()}},{key:"final",value:function(){this.progress>99&&this.canLoad&&!this.hasLoad&&(this.progress=100,this.onprogress&&this.onprogress(this.progress),this.onload&&(this.onload(),this.globalErrList.length>0&&this.onerror(this.globalErrList),this.hasLoad=!0))}}]),_}();C.default=w},function(z,C,B){function H(g,A){var S=g.response?g.response:g.responseText;return typeof S=="string"&&A.responseType==="json"&&(S=JSON.parse(S)),S}Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(g){var A=g.method,S=A===void 0?"get":A,V=g.url,L=V===void 0?"":V,F=g.responseType,T=F===void 0?"text":F,M=g.data,w=M===void 0?{}:M,_=(g.baseURL,g.timeout,g.onDownloadProgress),E=_===void 0?function(){}:_,U=function(){var $=!1;try{$=new XMLHttpRequest}catch(te){try{$=new ActiveXObject("Microsoft.XMLHTTP")}catch(se){try{$=new ActiveXobject("Microsoft.XMLHTTP")}catch(Se){$=!1}}}return $}();return new Promise(U?function($,te){var se=!1,Se=0;U.onprogress=function(be){se=be.lengthComputable,E(be,se,(be.loaded-Se)/be.total),Se=be.loaded},U.open(S,L),U.responseType=T,U.onreadystatechange=function(be){U.readyState===4&&(U.status===200?$({lengthComputable:se,data:H(U,{responseType:T})}):te(U.statusText))},U.send(w)}:function($,te){te(new Error("您的浏览器不支持XHR"))})}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=A(B(61)),g=A(B(62));function A(S){return S&&S.__esModule?S:{default:S}}C.default={blurPass:new H.default,copyPass:new g.default}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(A){if(A&&A.__esModule)return A;var S={};if(A!=null)for(var V in A)Object.prototype.hasOwnProperty.call(A,V)&&(S[V]=A[V]);return S.default=A,S}(B(0)),g=B(27);C.default=function A(){(function(te,se){if(!(te instanceof se))throw new TypeError("Cannot call a class as a function")})(this,A);var S=new H.ShaderMaterial({vertexShader:"\n        void main() {\n          gl_Position = projectionMatrix * modelViewMatrix * vec4(position,1.0);\n        }",fragmentShader:"\n        uniform vec2 resolution;\n        uniform vec2 uvScale;\n        uniform sampler2D diffuse;\n        uniform mat3 convolutionKernel;\n        uniform vec2 blur;\n        uniform float angle;\n        vec4 convolutionAvg(sampler2D tex, vec2 uv, vec2 pixelOffset, float rotate, mat3 kernel,  float lod) {\n          vec4 sum = vec4(0.0);\n          vec2 uvOffset = pixelOffset;\n          const float pi_4 = 0.7853981633974483;\n          float kernelCount = 0.0;\n          if (kernel[1][1] != 0.0) { kernelCount += abs(kernel[1][1]); sum += texture2D(tex, uv, lod) * kernel[1][1]; }\n          if (kernel[1][2] != 0.0) { kernelCount += abs(kernel[1][2]); sum += texture2D(tex, uv + vec2(cos(rotate), sin(rotate)) * uvOffset, lod) * kernel[1][2]; }\n          if (kernel[2][2] != 0.0) { kernelCount += abs(kernel[2][2]); sum += texture2D(tex, uv + vec2(cos(rotate + pi_4), sin(rotate + pi_4)) * uvOffset, lod) * kernel[2][2]; }\n          if (kernel[2][1] != 0.0) { kernelCount += abs(kernel[2][1]); sum += texture2D(tex, uv + vec2(cos(rotate + pi_4 * 2.), sin(rotate + pi_4 * 2.)) * uvOffset, lod) * kernel[2][1]; }\n          if (kernel[2][0] != 0.0) { kernelCount += abs(kernel[2][0]); sum += texture2D(tex, uv + vec2(cos(rotate + pi_4 * 3.), sin(rotate + pi_4 * 3.)) * uvOffset, lod) * kernel[2][0]; }\n          if (kernel[1][0] != 0.0) { kernelCount += abs(kernel[1][0]); sum += texture2D(tex, uv + vec2(cos(rotate + pi_4 * 4.), sin(rotate + pi_4 * 4.)) * uvOffset, lod) * kernel[1][0]; }\n          if (kernel[0][0] != 0.0) { kernelCount += abs(kernel[0][0]); sum += texture2D(tex, uv + vec2(cos(rotate + pi_4 * 5.), sin(rotate + pi_4 * 5.)) * uvOffset, lod) * kernel[0][0]; }\n          if (kernel[0][1] != 0.0) { kernelCount += abs(kernel[0][1]); sum += texture2D(tex, uv + vec2(cos(rotate + pi_4 * 6.), sin(rotate + pi_4 * 6.)) * uvOffset, lod) * kernel[0][1]; }\n          if (kernel[0][2] != 0.0) { kernelCount += abs(kernel[0][2]); sum += texture2D(tex, uv + vec2(cos(rotate + pi_4 * 7.), sin(rotate + pi_4 * 7.)) * uvOffset, lod) * kernel[0][2]; }\n          if (kernelCount != 0.0) { sum /= kernelCount; }\n          return sum;\n        }\n        void main() {  \n          vec2 uv = gl_FragCoord.xy / resolution;\n          uv = (uv - .5) * uvScale + .5;\n          if (length(blur) < 1e-5) {\n            gl_FragColor = texture2D(diffuse, uv);\n            return;\n          }
47\n          float lod = pow((blur.x + blur.y) / 2., .5);\n          // float lod = pow(min(blur.x, blur.y), .2);\n          // float lod = pow(min(blur.x, blur.y),.5);\n          // lod = 0.;\n          // vec2 blurOffset = min(vec2(10000.), blur / 10.) / resolution;\n          vec2 blurOffset = blur / resolution;\n          gl_FragColor = convolutionAvg(diffuse, uv, blurOffset, angle, convolutionKernel, lod);\n        }",depthTest:!1,depthWrite:!1,transparent:!1,uniforms:{diffuse:{value:null,type:"t"},resolution:{value:new H.Vector2,type:"v2"},blur:{value:new H.Vector2},uvScale:{value:new H.Vector2(1,1),type:"v2"},angle:{value:0,type:"f"},convolutionKernel:{value:new H.Matrix3().set(0,0,0,0,1,0,0,0,0),type:"m3"}}}),V=new H.OrthographicCamera(-1,1,1,-1,0,1),L=new H.Scene,F=new H.PlaneBufferGeometry(2,2),T=new H.Mesh(F,S);T.matrixAutoUpdate=!0,L.add(T),L.matrixAutoUpdate=!0,L.autoUpdate=!1;var M=new H.Vector2,w=0,_=2,E=2,U={minFilter:H.LinearMipMapLinearFilter,magFilter:H.LinearFilter,depthBuffer:!1,stencilBuffer:!1,generaterMipmaps:!0},$=[new H.WebGLRenderTarget(2,2,U),new H.WebGLRenderTarget(2,2,U)];this.render=function(te,se,Se,be,me,ke,he){var X=arguments.length>7&&arguments[7]!==void 0?arguments[7]:V,re=!(arguments.length>8&&arguments[8]!==void 0)||arguments[8];be&&(0,g.resizeBuffer)(se,Se);var ae=Se||se,ue=ae.width,ge=ae.height,Ce=ue,fe=ge,Le=2;if(re&&(me>=4||ke>=4)&&(ue=Math.floor(ue/2),ge=Math.floor(ge/2),Le=.85),_!==ue||E!==ge){var qe=Math.pow(2,Math.floor(Math.log(ue)/Math.LN2)),de=Math.pow(2,Math.floor(Math.log(ge)/Math.LN2));$[0].setSize(qe,de),$[1].setSize(qe,de),$[0].texture.generateMipmaps=!0,$[1].texture.generateMipmaps=!0,M.set(qe,de),_=ue,E=ge}he?(T.geometry=he.geometry,T.matrix.equals(he.matrixWorld)||(he.matrixWorld.decompose(T.position,T.quaternion,T.scale),T.updateMatrixWorld())):T.geometry!==F&&(T.geometry=F,T.position.set(0,0,0),T.rotation.set(0,0,0),T.scale.set(1,1,1),T.updateMatrixWorld());var Be=me,Ue=ke;Be=Be*M.x/ue/16*Le,Ue=Ue*M.y/ge/16*Le;var Ke=1+200*Math.pow(Be/200,2),yt=1+200*Math.pow(Ue/200,2);Be=200*Math.pow(Be/200,.8),Ue=200*Math.pow(Ue/200,.8),Be*=3,Ue*=3;var pt=te.getRenderTarget();S.uniforms.blur.value.set(0,0),S.uniforms.uvScale.value.set(1,1),S.uniforms.resolution.value.copy(M),S.uniforms.diffuse.value=se.texture,te.setRenderTarget($[w]),te.clear(),te.render(L,X),S.uniforms.blur.value.set(Be,Ue),S.uniforms.uvScale.value.set(Ke,yt),S.uniforms.convolutionKernel.value.set(0,1,0,0,0,0,1,0,1),S.uniforms.resolution.value.copy(M),S.uniforms.diffuse.value=$[w].texture,S.uniforms.angle.value=0,w=1-w,te.setRenderTarget($[w]),te.clear(),te.render(L,X),S.uniforms.blur.value.set(Be,Ue),S.uniforms.uvScale.value.set(1/Ke,1/yt),S.uniforms.convolutionKernel.value.set(1,0,1,0,0,0,0,1,0),S.uniforms.resolution.value.set(Ce,fe),S.uniforms.diffuse.value=$[w].texture,w=1-w,te.setRenderTarget(Se),te.clear(),te.render(L,X),te.setRenderTarget(pt)}}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=function(A){if(A&&A.__esModule)return A;var S={};if(A!=null)for(var V in A)Object.prototype.hasOwnProperty.call(A,V)&&(S[V]=A[V]);return S.default=A,S}(B(0)),g=B(27);C.default=function A(){(function(T,M){if(!(T instanceof M))throw new TypeError("Cannot call a class as a function")})(this,A);var S=new H.ShaderMaterial({vertexShader:"varying vec2 vUv;\nvoid main(){\nvUv=uv;\ngl_Position=vec4(position,1.);\n}",fragmentShader:"varying vec2 vUv;\nuniform sampler2D diffuse;\nvoid main(){gl_FragColor=texture2D(diffuse,vUv);}",depthTest:!1,depthWrite:!1,transparent:!1,uniforms:{diffuse:{value:null,type:"t"}}}),V=new H.OrthographicCamera(-1,1,1,-1,0,1),L=new H.Scene,F=new H.Mesh(new H.PlaneBufferGeometry(2,2),S);L.add(F),L.autoUpdate=!1,this.render=function(T,M,w,_){var E=T.getRenderTarget();T.setRenderTarget(w),T.clear(),_&&(0,g.resizeBuffer)(M,w),S.uniforms.diffuse.value=M.texture,T.render(L,V),T.setRenderTarget(E)}}},function(z,C,B){Object.defineProperty(C,"__esModule",{value:!0});var H=Object.assign||function(M){for(var w=1;w<arguments.length;w++){var _=arguments[w];for(var E in _)Object.prototype.hasOwnProperty.call(_,E)&&(M[E]=_[E])}return M},g=function(){function M(w,_){for(var E=0;E<_.length;E++){var U=_[E];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(w,U.key,U)}}return function(w,_,E){return _&&M(w.prototype,_),E&&M(w,E),w}}();function A(M){return function(){var w=M.apply(this,arguments);return new Promise(function(_,E){return function U($,te){try{var se=w[$](te),Se=se.value}catch(be){return void E(be)}if(!se.done)return Promise.resolve(Se).then(function(be){U("next",be)},function(be){U("throw",be)});_(Se)}("next")})}}function S(M,w){if(!(M instanceof w))throw new TypeError("Cannot call a class as a function")}
47function V(M){return typeof M=="string"&&M.indexOf("data:image")===0}C.createSourceLoader=function(){return new T};var L="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdjuHxk7X8AB/YDRBwwtOgAAAAASUVORK5CYII=";function F(M){var w=M.method,_=w===void 0?"get":w,E=M.url,U=E===void 0?"":E,$=M.responseType,te=$===void 0?"text":$,se=M.timeout,Se=se===void 0?3e4:se,be=M.need404Resolve,me=M.placeholder404,ke=new XMLHttpRequest;return new Promise(ke?function(he,X){V(U)?he(U):(ke.onprogress=function(){},ke.open(_,U),ke.responseType=te,ke.timeout=Se,ke.ontimeout=X,ke.onreadystatechange=function(){ke.readyState===4&&(ke.status===200?he(ke):ke.status!==404&&ke.status!==403||!be?X(ke.statusText):he({type:404,result:me}))},ke.send())}:function(he,X){X(new Error("您的浏览器不支持XHR"))})}var T=C.SourceLoad=function(){function M(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};S(this,M);var _=w.manifestList,E=_===void 0?[]:_,U=w.loadProgressCallBack,$=U===void 0?function(){}:U,te=w.loadErrorCallBack,se=te===void 0?function(){}:te,Se=w.loadCompleteCallBack,be=Se===void 0?function(){}:Se,me=w.sourcePool,ke=me===void 0?{}:me;this.manifestList=E,this.loadProgressCallBack=$,this.loadErrorCallBack=se,this.loadCompleteCallBack=be,this.sourcePool=ke,this.result={},this.count=0}return g(M,[{key:"load",value:function(w){var _,E=this,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return w?(this.manifestList=w,this.count=0,w.length===0?(this.loadProgressCallBack(1),Promise.resolve().then(function(){E.loadCompleteCallBack()})):new Promise((_=A(regeneratorRuntime.mark(function $(te,se){var Se,be,me,ke;return regeneratorRuntime.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.next=2,E.batch(E.manifestList,U);case 2:if(Se=he.sent,be=[],!Se.length){he.next=14;break}me=Se.length-1;case 6:if(!(me>-1)){he.next=14;break}return he.next=9,E.batch([Se.pop()],U);case 9:(ke=he.sent).length&&be.push(ke[0]);case 11:me--,he.next=6;break;case 14:be.length?(E.loadErrorCallBack(be),se(be)):te();case 15:case"end":return he.stop()}},$,E)})),function($,te){return _.apply(this,arguments)}))):Promise.reject()}},{key:"batch",value:function(w){var _,E=this,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise((_=A(regeneratorRuntime.mark(function $(te){var se,Se,be,me,ke,he,X;return regeneratorRuntime.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return se=U.timeout,Se=se===void 0?3e4:se,be=U.need404Resolve,me=be!==void 0&&be,ke=U.placeholder404,he=ke===void 0?L:ke,X=[],re.next=4,Promise.all(w.map(function(ae){return new Promise(function(ue){var ge=ae.type,Ce=ge===void 0?"image":ge,fe=ae.src,Le=fe===void 0?"":fe,qe=ae.id,de=E.getSourceResponseType(Ce);F({url:Le,timeout:Se,responseType:de,need404Resolve:me,placeholder404:he}).then(function(Be){E.resourceCompile(Be,ae).then(function(Ue){E.result[qe]=H({},ae,{result:Ue}),E.sourcePool[qe]=E.result[qe],E.checkComplete(),ue()})}).catch(function(){X.push(ae),ue()})})}));case 4:te(X);case 5:case"end":return re.stop()}},$,E)})),function($){return _.apply(this,arguments)}))}},{key:"checkComplete",value:function(){this.count+=1;var w=this.count/this.manifestList.length;this.loadProgressCallBack(w),this.count===this.manifestList.length&&this.loadCompleteCallBack()}},{key:"getResult",value:function(w){return this.result[w]?this.result[w].result:null}},{key:"getSourceResponseType",value:function(w){var _=void 0;switch(w){case"video":case"image":_="blob";break;case"audio":_="arraybuffer";break;default:_=w}return _}},{key:"resourceCompile",value:function(w,_){var E=this,U=_.type,$=_.src,te=_.id;return new Promise(function(se,Se){if(w.type===404){var be=new Image;return be.onload=function(){se(be)},void(be.src=w.result)}try{switch(U){case"image":var me=new Image;me.onload=function(){se(me)},me.src=V($)?$:window.URL.createObjectURL(w.response);break;default:se(w.response)}}catch(ke){E.loadErrorCallBack(new Error("source "+te+" "+ke.message)),Se(ke)}})}},{key:"setEventListener",value:function(w,_){switch(w){case"error":this.loadErrorCallBack=_;break;case"progress":this.loadProgressCallBack=_;break;case"complete":this.loadCompleteCallBack=_}}},{key:"removeEventListener",value:function(w){switch(w){case"error":this.loadErrorCallBack=function(){};break;case"progress":this.loadProgressCallBack=function(){};break;case"complete":this.loadCompleteCallBack=function(){}}}},{key:"clearAllListener",value:function(){this.loadErrorCallBack=function(){},this.loadProgressCallBack=function(){},this.loadCompleteCallBack=function(){}}}]),M}();C.sourceLoader=new T}]).default})})(O5);var Jc=O5.exports,Qt=L5();const Rb="/assets/bubble_particle-CjmGIR76.png",Ob="/assets/mobile_bg--j4C3E3w.png",Lb="/assets/appHanaCG2bubbleother-XgpQdd1x.png",Pb="/assets/HanaCG2BG-DLncMcDG.png",Db="/assets/HanaCG2bubblebb-BVVJS08W.png",Ib="/assets/HanaCG2bubblehomo-KkZoT-Qm.png",Fb="/assets/HanaCG2bubbleother-CUm3U1Kb.png",Bb="/assets/HanaCG2hana-CtNijB1e.png";/*! *****************************************************************************
48Copyright (c) Microsoft Corporation.
49
50Permission to use, copy, modify, and/or distribute this software for any
51purpose with or without fee is hereby granted.
52
53THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
54REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
55AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
56INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
57LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
58OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
59PERFORMANCE OF THIS SOFTWARE.
60***************************************************************************** */var er=function(){return er=Object.assign||function(u){for(var o,h=1,v=arguments.length;h<v;h++){o=arguments[h];for(var k in o)Object.prototype.hasOwnProperty.call(o,k)&&(u[k]=o[k])}return u},er.apply(this,arguments)};function Hf(b,u){var o={};for(var h in b)Object.prototype.hasOwnProperty.call(b,h)&&u.indexOf(h)<0&&(o[h]=b[h]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,h=Object.getOwnPropertySymbols(b);v<h.length;v++)u.indexOf(h[v])<0&&Object.prototype.propertyIsEnumerable.call(b,h[v])&&(o[h[v]]=b[h[v]]);return o}function mn(b){var u=typeof Symbol=="function"&&Symbol.iterator,o=u&&b[u],h=0;if(o)return o.call(b);if(b&&typeof b.length=="number")return{next:function(){return b&&h>=b.length&&(b=void 0),{value:b&&b[h++],done:!b}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")}function Mn(b,u){var o=typeof Symbol=="function"&&b[Symbol.iterator];if(!o)return b;var h=o.call(b),v,k=[],O;try{for(;(u===void 0||u-- >0)&&!(v=h.next()).done;)k.push(v.value)}catch(z){O={error:z}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(O)throw O.error}}return k}function ra(b,u,o){if(arguments.length===2)for(var h=0,v=u.length,k;h<v;h++)(k||!(h in u))&&(k||(k=Array.prototype.slice.call(u,0,h)),k[h]=u[h]);return b.concat(k||Array.prototype.slice.call(u))}var Fn;(function(b){b.Start="xstate.start",b.Stop="xstate.stop",b.Raise="xstate.raise",b.Send="xstate.send",b.Cancel="xstate.cancel",b.NullEvent="",b.Assign="xstate.assign",b.After="xstate.after",b.DoneState="done.state",b.DoneInvoke="done.invoke",b.Log="xstate.log",b.Init="xstate.init",b.Invoke="xstate.invoke",b.ErrorExecution="error.execution",b.ErrorCommunication="error.communication",b.ErrorPlatform="error.platform",b.ErrorCustom="xstate.error",b.Update="xstate.update",b.Pure="xstate.pure",b.Choose="xstate.choose"})(Fn||(Fn={}));var ul;(function(b){b.Parent="#_parent",b.Internal="#_internal"})(ul||(ul={}));var yf=Fn.Start,Xf=Fn.Stop,E2=Fn.Raise,g3=Fn.Send,R6=Fn.Cancel,Nb=Fn.NullEvent,O6=Fn.Assign;Fn.After;Fn.DoneState;var L6=Fn.Log,Ub=Fn.Init,bf=Fn.Invoke;Fn.ErrorExecution;var a5=Fn.ErrorPlatform,zb=Fn.ErrorCustom,P6=Fn.Update,Gb=Fn.Choose,Vb=Fn.Pure,D6=".",i5={},_f="xstate.guard",Hb="",Nc;function Wf(b,u,o){o===void 0&&(o=D6);var h=p2(b,o),v=p2(u,o);return Cn(v)?Cn(h)?v===h:!1:Cn(h)?h in v:Object.keys(h).every(function(k){return k in v?Wf(h[k],v[k]):!1})}function I6(b){try{return Cn(b)||typeof b=="number"?"".concat(b):b.type}catch(u){throw new Error("Events must be strings or objects with a string event.type property.")}}function xf(b,u){try{return hl(b)?b:b.toString().split(u)}catch(o){throw new Error("'".concat(b,"' is not a valid state path."))}}function Xb(b){return typeof b=="object"&&"value"in b&&"context"in b&&"event"in b&&"_event"in b}function p2(b,u){if(Xb(b))return b.value;if(hl(b))return l3(b);if(typeof b!="string")return b;var o=xf(b,u);return l3(o)}function l3(b){if(b.length===1)return b[0];for(var u={},o=u,h=0;h<b.length-1;h++)h===b.length-2?o[b[h]]=b[h+1]:(o[b[h]]={},o=o[b[h]]);return u}function l2(b,u){for(var o={},h=Object.keys(b),v=0;v<h.length;v++){var k=h[v];o[k]=u(b[k],k,b,v)}return o}function o5(b,u,o){var h,v,k={};try{for(var O=mn(Object.keys(b)),z=O.next();!z.done;z=O.next()){var C=z.value,B=b[C];o(B)&&(k[C]=u(B,C,b))}}catch(H){h={error:H}}finally{try{z&&!z.done&&(v=O.return)&&v.call(O)}finally{if(h)throw h.error}}return k}var Wb=function(b){return function(u){var o,h,v=u;try{for(var k=mn(b),O=k.next();!O.done;O=k.next()){var z=O.value;v=v[z]}}catch(C){o={error:C}}finally{try{O&&!O.done&&(h=k.return)&&h.call(k)}finally{if(o)throw o.error}}return v}};function Yb(b,u){return function(o){var h,v,k=o;try{for(var O=mn(b),z=O.next();!z.done;z=O.next()){var C=z.value;k=k[u][C]}}catch(B){h={error:B}}finally{try{z&&!z.done&&(v=O.return)&&v.call(O)}finally{if(h)throw h.error}}return k}}function Zc(b){if(!b)return[[]];if(Cn(b))return[[b]];var u=da(Object.keys(b).map(function(o){var h=b[o];return typeof h!="string"&&(!h||!Object.keys(h).length)?[[o]]:Zc(b[o]).map(function(v){return[o].concat(v)})}));return u}function da(b){var u;return(u=[]).concat.apply(u,ra([],Mn(b),!1))}function F6(b){return hl(b)?b:[b]}function ws(b){return b===void 0?[]:F6(b)}function c3(b,u,o){var h,v;if(An(b))return b(u,o.data);var k={};try{for(var O=mn(Object.keys(b)),z=O.next();!z.done;z=O.next()){var C=z.value,B=b[C];An(B)?k[C]=B(u,o.data):k[C]=B}}catch(H){h={error:H}}finally{try{z&&!z.done&&(v=O.return)&&v.call(O)}finally{if(h)throw h.error}}return k}function qb(b){return/^(done|error)\./.test(b)}function s5(b){return!!(b instanceof Promise||b!==null&&(An(b)||typeof b=="object")&&An(b.then))}function jb(b){return b!==null&&typeof b=="object"&&"transition"in b&&typeof b.transition=="function"}function Jb(b,u){var o,h,v=Mn([[],[]],2),k=v[0],O=v[1];try{for(var z=mn(b),C=z.next();!C.done;C=z.next()){var B=C.value;u(B)?k.push(B):O.push(B)}}catch(H){o={error:H}}finally{try{C&&!C.done&&(h=z.return)&&h.call(z)}finally{if(o)throw o.error}}return[k,O]}
vendor: 17,809 bytes, line 60
60function B6(b,u){return l2(b.states,function(o,h){if(o){var v=(Cn(u)?void 0:u[h])||(o?o.current:void 0);if(v)return{current:v,states:B6(o,v)}}})}function Zb(b,u){return{current:u,states:B6(b,u)}}function u5(b,u,o,h){var v=b&&o.reduce(function(k,O){var z,C,B=O.assignment,H={state:h,action:O,_event:u},g={};if(An(B))g=B(k,u.data,H);else try{for(var A=mn(Object.keys(B)),S=A.next();!S.done;S=A.next()){var V=S.value,L=B[V];g[V]=An(L)?L(k,u.data,H):L}}catch(F){z={error:F}}finally{try{S&&!S.done&&(C=A.return)&&C.call(A)}finally{if(z)throw z.error}}return Object.assign({},k,g)},b);return v}var Kb=function(){};function hl(b){return Array.isArray(b)}function An(b){return typeof b=="function"}function Cn(b){return typeof b=="string"}function N6(b,u){if(b)return Cn(b)?{type:_f,name:b,predicate:u?u[b]:void 0}:An(b)?{type:_f,name:b.name,predicate:b}:b}function $b(b){try{return"subscribe"in b&&An(b.subscribe)}catch(u){return!1}}var Y0=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();Nc={},Nc[Y0]=function(){return this},Nc[Symbol.observable]=function(){return this};function ll(b){return!!b&&"__xstatenode"in b}function Qb(b){return!!b&&typeof b.send=="function"}function y3(b,u){return Cn(b)||typeof b=="number"?er({type:b},u):b}function li(b,u){if(!Cn(b)&&"$$type"in b&&b.$$type==="scxml")return b;var o=y3(b);return er({name:o.type,data:o,$$type:"scxml",type:"external"},u)}function Xu(b,u){var o=F6(u).map(function(h){return typeof h>"u"||typeof h=="string"||ll(h)?{target:h,event:b}:er(er({},h),{event:b})});return o}function e_(b){if(!(b===void 0||b===Hb))return ws(b)}function U6(b,u,o,h,v){var k=b.options.guards,O={state:v,cond:u,_event:h};if(u.type===_f)return((k==null?void 0:k[u.name])||u.predicate)(o,h.data,O);var z=k==null?void 0:k[u.type];if(!z)throw new Error("Guard '".concat(u.type,"' is not implemented on machine '").concat(b.id,"'."));return z(o,h.data,O)}function z6(b){return typeof b=="string"?{type:b}:b}function Kc(b,u,o){var h=function(){},v=typeof b=="object",k=v?b:null;return{next:((v?b.next:b)||h).bind(k),error:((v?b.error:u)||h).bind(k),complete:((v?b.complete:o)||h).bind(k)}}function Uc(b,u){return"".concat(b,":invocation[").concat(u,"]")}function wf(b){return(b.type===E2||b.type===g3&&b.to===ul.Internal)&&typeof b.delay!="number"}var el=li({type:Ub});function Sf(b,u){return u&&u[b]||void 0}function S2(b,u){var o;if(Cn(b)||typeof b=="number"){var h=Sf(b,u);An(h)?o={type:b,exec:h}:h?o=h:o={type:b,exec:void 0}}else if(An(b))o={type:b.name||b.toString(),exec:b};else{var h=Sf(b.type,u);if(An(h))o=er(er({},b),{exec:h});else if(h){var v=h.type||b.type;o=er(er(er({},h),b),{type:v})}else o=b}return o}var q0=function(b,u){if(!b)return[];var o=hl(b)?b:[b];return o.map(function(h){return S2(h,u)})};function Yf(b){var u=S2(b);return er(er({id:Cn(b)?b:u.id},u),{type:u.type})}function t_(b,u){return{type:E2,event:typeof b=="function"?b:y3(b),delay:u?u.delay:void 0,id:u==null?void 0:u.id}}function r_(b,u,o,h){var v={_event:o},k=li(An(b.event)?b.event(u,o.data,v):b.event),O;if(Cn(b.delay)){var z=h&&h[b.delay];O=An(z)?z(u,o.data,v):z}else O=An(b.delay)?b.delay(u,o.data,v):b.delay;return er(er({},b),{type:E2,_event:k,delay:O})}function n_(b,u){return{to:u?u.to:void 0,type:g3,event:An(b)?b:y3(b),delay:u?u.delay:void 0,id:u&&u.id!==void 0?u.id:An(b)?b.name:I6(b)}}function a_(b,u,o,h){var v={_event:o},k=li(An(b.event)?b.event(u,o.data,v):b.event),O;if(Cn(b.delay)){var z=h&&h[b.delay];O=An(z)?z(u,o.data,v):z}else O=An(b.delay)?b.delay(u,o.data,v):b.delay;var C=An(b.to)?b.to(u,o.data,v):b.to;return er(er({},b),{to:C,_event:k,event:k.data,delay:O})}var i_=function(b,u,o){return er(er({},b),{value:Cn(b.expr)?b.expr:b.expr(u,o.data,{_event:o})})},o_=function(b){return{type:R6,sendId:b}};function s_(b){var u=Yf(b);return{type:Fn.Start,activity:u,exec:void 0}}function u_(b){var u=An(b)?b:Yf(b);return{type:Fn.Stop,activity:u,exec:void 0}}function l_(b,u,o){var h=An(b.activity)?b.activity(u,o.data):b.activity,v=typeof h=="string"?{id:h}:h,k={type:Fn.Stop,activity:v};return k}function c_(b,u){var o=u?"#".concat(u):"";return"".concat(Fn.After,"(").concat(b,")").concat(o)}function zc(b,u){var o="".concat(Fn.DoneState,".").concat(b),h={type:o,data:u};return h.toString=function(){return o},h}function $c(b,u){var o="".concat(Fn.DoneInvoke,".").concat(b),h={type:o,data:u};return h.toString=function(){return o},h}function c2(b,u){var o="".concat(Fn.ErrorPlatform,".").concat(b),h={type:o,data:u};return h.toString=function(){return o},h}var h_=function(b){var u,o,h=[];try{for(var v=mn(b),k=v.next();!k.done;k=v.next())for(var O=k.value,z=0;z<O.actions.length;){if(O.actions[z].type===O6){h.push(O.actions[z]),O.actions.splice(z,1);continue}z++}}catch(C){u={error:C}}finally{try{k&&!k.done&&(o=v.return)&&o.call(v)}finally{if(u)throw u.error}}return h};function h3(b,u,o,h,v,k,O){O===void 0&&(O=!1);var z=O?[]:h_(v),C=z.length?u5(o,h,z,u):o,B=O?[o]:void 0,H=[];function g(V,L){var F;switch(L.type){case E2:{var T=r_(L,C,h,b.options.delays);return k&&typeof T.delay=="number"&&k(T,C,h),T}case g3:var M=a_(L,C,h,b.options.delays);return k&&M.to!==ul.Internal&&(V==="entry"?H.push(M):k(M,C,h)),M;case L6:{var w=i_(L,C,h);return k==null||k(w,C,h),w}case Gb:{var _=L,E=(F=_.conds.find(function(re){var ae=N6(re.cond,b.options.guards);return!ae||U6(b,ae,C,h,k?void 0:u)}))===null||F===void 0?void 0:F.actions;if(!E)return[];var U=Mn(h3(b,u,C,h,[{type:V,actions:q0(ws(E),b.options.actions)}],k,O),2),$=U[0],te=U[1];return C=te,B==null||B.push(C),$}case Vb:{var E=L.get(C,h.data);if(!E)return[];var se=Mn(h3(b,u,C,h,[{type:V,actions:q0(ws(E),b.options.actions)}],k,O),2),Se=se[0],be=se[1];return C=be,B==null||B.push(C),Se}case Xf:{var w=l_(L,C,h);return k==null||k(w,o,h),w}case O6:{C=u5(C,h,[L],k?void 0:u),B==null||B.push(C);break}default:var me=S2(L,b.options.actions),ke=me.exec;if(k)k(me,C,h);else if(ke&&B){var he=B.length-1,X=er(er({},me),{exec:function(re){for(var ae=[],ue=1;ue<arguments.length;ue++)ae[ue-1]=arguments[ue];ke.apply(void 0,ra([B[he]],Mn(ae),!1))}});me=X}return me}}function A(V){var L,F,T=[];try{for(var M=mn(V.actions),w=M.next();!w.done;w=M.next()){var _=w.value,E=g(V.type,_);E&&(T=T.concat(E))}}catch(U){L={error:U}}finally{try{w&&!w.done&&(F=M.return)&&F.call(M)}finally{if(L)throw L.error}}return H.forEach(function(U){k(U,C,h)}),H.length=0,T}var S=da(v.map(A));return[S,C]}var qu=function(b,u){var o=u(b);return o};function G6(b){var u;return u={id:b,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:b}}},u[Y0]=function(){return this},u}function f_(b,u,o,h){var v,k=z6(b.src),O=(v=u==null?void 0:u.options.services)===null||v===void 0?void 0:v[k.type],z=b.data?c3(b.data,o,h):void 0,C=O?V6(O,b.id,z):G6(b.id);return C.meta=b,C}function V6(b,u,o){var h=G6(u);if(h.deferred=!0,ll(b)){var v=h.state=qu(void 0,function(){return(o?b.withContext(o):b).initialState});h.getSnapshot=function(){return v}}return h}function d_(b){try{return typeof b.send=="function"}catch(u){return!1}}function v_(b){return d_(b)&&"id"in b}function m_(b){var u;return er((u={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},u[Y0]=function(){return this},u),b)}var f3=function(b){return b.type==="atomic"||b.type==="final"};function H6(b){return Object.keys(b.states).map(function(u){return b.states[u]})}function M2(b){return H6(b).filter(function(u){return u.type!=="history"})}function X6(b){var u=[b];return f3(b)?u:u.concat(da(M2(b).map(X6)))}function h2(b,u){var o,h,v,k,O,z,C,B,H=new Set(b),g=Mf(H),A=new Set(u);try{for(var S=mn(A),V=S.next();!V.done;V=S.next())for(var L=V.value,F=L.parent;F&&!A.has(F);)A.add(F),F=F.parent}catch(se){o={error:se}}finally{try{V&&!V.done&&(h=S.return)&&h.call(S)}finally{if(o)throw o.error}}var T=Mf(A);try{for(var M=mn(A),w=M.next();!w.done;w=M.next()){var L=w.value;if(L.type==="compound"&&(!T.get(L)||!T.get(L).length))g.get(L)?g.get(L).forEach(function(Se){return A.add(Se)}):L.initialStateNodes.forEach(function(Se){return A.add(Se)});else if(L.type==="parallel")try{for(var _=(O=void 0,mn(M2(L))),E=_.next();!E.done;E=_.next()){var U=E.value;A.has(U)||(A.add(U),g.get(U)?g.get(U).forEach(function(Se){return A.add(Se)}):U.initialStateNodes.forEach(function(Se){return A.add(Se)}))}}catch(Se){O={error:Se}}finally{try{E&&!E.done&&(z=_.return)&&z.call(_)}finally{if(O)throw O.error}}}}catch(se){v={error:se}}finally{try{w&&!w.done&&(k=M.return)&&k.call(M)}finally{if(v)throw v.error}}try{for(var $=mn(A),te=$.next();!te.done;te=$.next())for(var L=te.value,F=L.parent;F&&!A.has(F);)A.add(F),F=F.parent}catch(se){C={error:se}}finally{try{te&&!te.done&&(B=$.return)&&B.call($)}finally{if(C)throw C.error}}return A}function W6(b,u){var o=u.get(b);if(!o)return{};if(b.type==="compound"){var h=o[0];if(h){if(f3(h))return h.key}else return{}}var v={};return o.forEach(function(k){v[k.key]=W6(k,u)}),v}function Mf(b){var u,o,h=new Map;try{for(var v=mn(b),k=v.next();!k.done;k=v.next()){var O=k.value;h.has(O)||h.set(O,[]),O.parent&&(h.has(O.parent)||h.set(O.parent,[]),h.get(O.parent).push(O))}}catch(z){u={error:z}}finally{try{k&&!k.done&&(o=v.return)&&o.call(v)}finally{if(u)throw u.error}}return h}function p_(b,u){var o=h2([b],u);return W6(b,Mf(o))}function f2(b,u){return Array.isArray(b)?b.some(function(o){return o===u}):b instanceof Set?b.has(u):!1}function g_(b){return ra([],Mn(new Set(da(ra([],Mn(b.map(function(u){return u.ownEvents})),!1)))),!1)}function Qc(b,u){return u.type==="compound"?M2(u).some(function(o){return o.type==="final"&&f2(b,o)}):u.type==="parallel"?M2(u).every(function(o){return Qc(b,o)}):!1}function y_(b){return b===void 0&&(b=[]),b.reduce(function(u,o){return o.meta!==void 0&&(u[o.id]=o.meta),u},{})}function l5(b){return new Set(da(b.map(function(u){return u.tags})))}function Y6(b,u){if(b===u)return!0;if(b===void 0||u===void 0)return!1;if(Cn(b)||Cn(u))return b===u;var o=Object.keys(b),h=Object.keys(u);return o.length===h.length&&o.every(function(v){return Y6(b[v],u[v])})}function b_(b){return typeof b!="object"||b===null?!1:"value"in b&&"_event"in b}function __(b,u){var o=b.exec,h=er(er({},b),{exec:o!==void 0?function(){return o(u.context,u.event,{action:b,state:u,_event:u._event})}:void 0});return h}var Gs=function(){function b(u){var o=this,h;this.actions=[],this.activities=i5,this.meta={},this.events=[],this.value=u.value,this.context=u.context,this._event=u._event,this._sessionid=u._sessionid,this.event=this._event.data,this.historyValue=u.historyValue,this.history=u.history,this.actions=u.actions||[],this.activities=u.activities||i5,this.meta=y_(u.configuration),this.events=u.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=u.configuration,this.transitions=u.transitions,this.children=u.children,this.done=!!u.done,this.tags=(h=Array.isArray(u.tags)?new Set(u.tags):u.tags)!==null&&h!==void 0?h:new Set,this.machine=u.machine,Object.defineProperty(this,"nextEvents",{get:function(){return g_(o.configuration)}})}return b.from=function(u,o){if(u instanceof b)return u.context!==o?new b({value:u.value,context:o,_event:u._event,_sessionid:null,historyValue:u.historyValue,history:u.history,actions:[],activities:u.activities,events:[],configuration:[],transitions:[],children:{}}):u;var h=el;return new b({value:u,context:o,_event:h,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,events:[],configuration:[],transitions:[],children:{}})},b.create=function(u){return new b(u)},b.inert=function(u,o){if(u instanceof b){if(!u.actions.length)return u;var h=el;return new b({value:u.value,context:o,_event:h,_sessionid:null,historyValue:u.historyValue,history:u.history,activities:u.activities,configuration:u.configuration,transitions:[],children:{}})}return b.from(u,o)},b.prototype.toStrings=function(u,o){var h=this;if(u===void 0&&(u=this.value),o===void 0&&(o="."),Cn(u))return[u];var v=Object.keys(u);return v.concat.apply(v,ra([],Mn(v.map(function(k){return h.toStrings(u[k],o).map(function(O){return k+o+O})})),!1))},b.prototype.toJSON=function(){var u=this;u.configuration,u.transitions;var o=u.tags;u.machine;var h=Hf(u,["configuration","transitions","tags","machine"]);return er(er({},h),{tags:Array.from(o)})},b.prototype.matches=function(u){return Wf(u,this.value)},b.prototype.hasTag=function(u){return this.tags.has(u)},b.prototype.can=function(u){var o;Kb(!!this.machine);var h=(o=this.machine)===null||o===void 0?void 0:o.getTransitionData(this,u);return!!(h!=null&&h.transitions.length)&&h.transitions.some(function(v){return v.target!==void 0||v.actions.length})},b}(),x_={deferEvents:!1},c5=function(){function b(u){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=er(er({},x_),u)}return b.prototype.initialize=function(u){if(this.initialized=!0,u){if(!this.options.deferEvents){this.schedule(u);return}this.process(u)}this.flushEvents()},b.prototype.schedule=function(u){if(!this.initialized||this.processingEvent){this.queue.push(u);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(u),this.flushEvents()},b.prototype.clear=function(){this.queue=[]},b.prototype.flushEvents=function(){for(var u=this.queue.shift();u;)this.process(u),u=this.queue.shift()},b.prototype.process=function(u){this.processingEvent=!0;try{u()}catch(o){throw this.clear(),o}finally{this.processingEvent=!1}},b}(),Kh=new Map,w_=0,i2={bookId:function(){return"x:".concat(w_++)},register:function(b,u){return Kh.set(b,u),b},get:function(b){return Kh.get(b)},free:function(b){Kh.delete(b)}};function qf(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function S_(){var b=qf();if(b&&"__xstate__"in b)return b.__xstate__}function M_(b){if(qf()){var u=S_();u&&u.register(b)}}function T_(b,u){u===void 0&&(u={});var o=b.initialState,h=new Set,v=[],k=!1,O=function(){if(!k){for(k=!0;v.length>0;){var B=v.shift();o=b.transition(o,B,C),h.forEach(function(H){return H.next(o)})}k=!1}},z=m_({id:u.id,send:function(B){v.push(B),O()},getSnapshot:function(){return o},subscribe:function(B,H,g){var A=Kc(B,H,g);return h.add(A),A.next(o),{unsubscribe:function(){h.delete(A)}}}}),C={parent:u.parent,self:z,id:u.id||"anonymous",observers:h};return o=b.start?b.start(C):o,z}var E_={sync:!1,autoForward:!1},ei;(function(b){b[b.NotStarted=0]="NotStarted",b[b.Running=1]="Running",b[b.Stopped=2]="Stopped"})(ei||(ei={}));var cl=function(){function b(u,o){o===void 0&&(o=b.defaultOptions);var h=this;this.machine=u,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=ei.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(H,g){if(hl(H))return h.batch(H),h.state;var A=li(y3(H,g));if(h.status===ei.Stopped)return h.state;if(h.status!==ei.Running&&!h.options.deferEvents)throw new Error('Event "'.concat(A.name,'" was sent to uninitialized service "').concat(h.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(A.data)));return h.scheduler.schedule(function(){h.forward(A);var S=h._nextState(A);h.update(S,A)}),h._state},this.sendTo=function(H,g,A){var S=h.parent&&(g===ul.Parent||h.parent.id===g),V=S?h.parent:Cn(g)?g===ul.Internal?h:h.children.get(g)||i2.get(g):Qb(g)?g:void 0;if(!V){if(!S)throw new Error("Unable to send event to child '".concat(g,"' from service '").concat(h.id,"'."));return}if("machine"in V){if(h.status!==ei.Stopped||h.parent!==V||h.state.done){var L=er(er({},H),{name:H.name===zb?"".concat(c2(h.id)):H.name,origin:h.sessionId});!A&&h.machine.config.predictableActionArguments?h._outgoingQueue.push([V,L]):V.send(L)}}else!A&&h.machine.config.predictableActionArguments?h._outgoingQueue.push([V,H.data]):V.send(H.data)},this._exec=function(H,g,A,S){S===void 0&&(S=h.machine.options.actions);var V=H.exec||Sf(H.type,S),L=An(V)?V:V?V.exec:H.exec;if(L)try{return L(g,A.data,h.machine.config.predictableActionArguments?{action:H,_event:A}:{action:H,state:h.state,_event:A})}catch(he){throw h.parent&&h.parent.send({type:"xstate.error",data:he}),he}switch(H.type){case E2:{var F=H;h.defer(F);break}case g3:var T=H;if(typeof T.delay=="number"){h.defer(T);return}else T.to?h.sendTo(T._event,T.to,A===el):h.send(T._event);break;case R6:h.cancel(H.sendId);break;case yf:{if(h.status!==ei.Running)return;var M=H.activity;if(!h.machine.config.predictableActionArguments&&!h.state.activities[M.id||M.type])break;if(M.type===Fn.Invoke){var w=z6(M.src),_=h.machine.options.services?h.machine.options.services[w.type]:void 0,E=M.id,U=M.data,$="autoForward"in M?M.autoForward:!!M.forward;if(!_)return;var te=U?c3(U,g,A):void 0;if(typeof _=="string")return;var se=An(_)?_(g,A.data,{data:te,src:w,meta:M.meta}):_;if(!se)return;var Se=void 0;ll(se)&&(se=te?se.withContext(te):se,Se={autoForward:$}),h.spawn(se,E,Se)}else h.spawnActivity(M);break}case Xf:{h.stopChild(H.activity.id);break}case L6:var be=H,me=be.label,ke=be.value;me?h.logger(me,ke):h.logger(ke);break}};var v=er(er({},b.defaultOptions),o),k=v.clock,O=v.logger,z=v.parent,C=v.id,B=C!==void 0?C:u.id;this.id=B,this.logger=O,this.clock=k,this.parent=z,this.options=v,this.scheduler=new c5({deferEvents:this.options.deferEvents}),this.sessionId=i2.bookId()}return Object.defineProperty(b.prototype,"initialState",{get:function(){var u=this;return this._initialState?this._initialState:qu(this,function(){return u._initialState=u.machine.initialState,u._initialState})}
60,enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),b.prototype.execute=function(u,o){var h,v;try{for(var k=mn(u.actions),O=k.next();!O.done;O=k.next()){var z=O.value;this.exec(z,u,o)}}catch(C){h={error:C}}finally{try{O&&!O.done&&(v=k.return)&&v.call(k)}finally{if(h)throw h.error}}},b.prototype.update=function(u,o){var h,v,k,O,z,C,B,H,g=this;if(u._sessionid=this.sessionId,this._state=u,(!this.machine.config.predictableActionArguments||o===el)&&this.options.execute)this.execute(this.state);else for(var A=void 0;A=this._outgoingQueue.shift();)A[0].send(A[1]);if(this.children.forEach(function(se){g.state.children[se.id]=se}),this.devTools&&this.devTools.send(o.data,u),u.event)try{for(var S=mn(this.eventListeners),V=S.next();!V.done;V=S.next()){var L=V.value;L(u.event)}}catch(se){h={error:se}}finally{try{V&&!V.done&&(v=S.return)&&v.call(S)}finally{if(h)throw h.error}}try{for(var F=mn(this.listeners),T=F.next();!T.done;T=F.next()){var L=T.value;L(u,u.event)}}catch(se){k={error:se}}finally{try{T&&!T.done&&(O=F.return)&&O.call(F)}finally{if(k)throw k.error}}try{for(var M=mn(this.contextListeners),w=M.next();!w.done;w=M.next()){var _=w.value;_(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(se){z={error:se}}finally{try{w&&!w.done&&(C=M.return)&&C.call(M)}finally{if(z)throw z.error}}if(this.state.done){var E=u.configuration.find(function(se){return se.type==="final"&&se.parent===g.machine}),U=E&&E.doneData?c3(E.doneData,u.context,o):void 0;this._doneEvent=$c(this.id,U);try{for(var $=mn(this.doneListeners),te=$.next();!te.done;te=$.next()){var L=te.value;L(this._doneEvent)}}catch(se){B={error:se}}finally{try{te&&!te.done&&(H=$.return)&&H.call($)}finally{if(B)throw B.error}}this._stop(),this._stopChildren(),i2.free(this.sessionId)}},b.prototype.onTransition=function(u){return this.listeners.add(u),this.status===ei.Running&&u(this.state,this.state.event),this},b.prototype.subscribe=function(u,o,h){var v=this,k=Kc(u,o,h);this.listeners.add(k.next),this.status!==ei.NotStarted&&k.next(this.state);var O=function(){v.doneListeners.delete(O),v.stopListeners.delete(O),k.complete()};return this.status===ei.Stopped?k.complete():(this.onDone(O),this.onStop(O)),{unsubscribe:function(){v.listeners.delete(k.next),v.doneListeners.delete(O),v.stopListeners.delete(O)}}},b.prototype.onEvent=function(u){return this.eventListeners.add(u),this},b.prototype.onSend=function(u){return this.sendListeners.add(u),this},b.prototype.onChange=function(u){return this.contextListeners.add(u),this},b.prototype.onStop=function(u){return this.stopListeners.add(u),this},b.prototype.onDone=function(u){return this.status===ei.Stopped&&this._doneEvent?u(this._doneEvent):this.doneListeners.add(u),this},b.prototype.off=function(u){return this.listeners.delete(u),this.eventListeners.delete(u),this.sendListeners.delete(u),this.stopListeners.delete(u),this.doneListeners.delete(u),this.contextListeners.delete(u),this},b.prototype.start=function(u){var o=this;if(this.status===ei.Running)return this;this.machine._init(),i2.register(this.sessionId,this),this.initialized=!0,this.status=ei.Running;var h=u===void 0?this.initialState:qu(this,function(){return b_(u)?o.machine.resolveState(u):o.machine.resolveState(Gs.from(u,o.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){o.update(h,el)}),this},b.prototype._stopChildren=function(){this.children.forEach(function(u){An(u.stop)&&u.stop()}),this.children.clear()},b.prototype._stop=function(){var u,o,h,v,k,O,z,C,B,H;try{for(var g=mn(this.listeners),A=g.next();!A.done;A=g.next()){var S=A.value;this.listeners.delete(S)}}catch($){u={error:$}}finally{try{A&&!A.done&&(o=g.return)&&o.call(g)}finally{if(u)throw u.error}}try{for(var V=mn(this.stopListeners),L=V.next();!L.done;L=V.next()){var S=L.value;S(),this.stopListeners.delete(S)}}catch($){h={error:$}}finally{try{L&&!L.done&&(v=V.return)&&v.call(V)}finally{if(h)throw h.error}}try{for(var F=mn(this.contextListeners),T=F.next();!T.done;T=F.next()){var S=T.value;this.contextListeners.delete(S)}}catch($){k={error:$}}finally{try{T&&!T.done&&(O=F.return)&&O.call(F)}finally{if(k)throw k.error}}try{for(var M=mn(this.doneListeners),w=M.next();!w.done;w=M.next()){var S=w.value;this.doneListeners.delete(S)}}catch($){z={error:$}}finally{try{w&&!w.done&&(C=M.return)&&C.call(M)}finally{if(z)throw z.error}}if(!this.initialized)return this;this.initialized=!1,this.status=ei.Stopped,this._initialState=void 0;try{for(var _=mn(Object.keys(this.delayedEventsMap)),E=_.next();!E.done;E=_.next()){var U=E.value;this.clock.clearTimeout(this.delayedEventsMap[U])}}catch($){B={error:$}}finally{try{E&&!E.done&&(H=_.return)&&H.call(_)}finally{if(B)throw B.error}}
vendor: 4,457 bytes, line 60
60this.scheduler.clear(),this.scheduler=new c5({deferEvents:this.options.deferEvents})},b.prototype.stop=function(){var u=this,o=this.scheduler;return this._stop(),o.schedule(function(){var h;if(!(!((h=u._state)===null||h===void 0)&&h.done)){var v=li({type:"xstate.stop"}),k=qu(u,function(){var O=da(ra([],Mn(u.state.configuration),!1).sort(function(g,A){return A.order-g.order}).map(function(g){return q0(g.onExit,u.machine.options.actions)})),z=Mn(h3(u.machine,u.state,u.state.context,v,[{type:"exit",actions:O}],u.machine.config.predictableActionArguments?u._exec:void 0,u.machine.config.predictableActionArguments||u.machine.config.preserveActionOrder),2),C=z[0],B=z[1],H=new Gs({value:u.state.value,context:B,_event:v,_sessionid:u.sessionId,historyValue:void 0,history:u.state,actions:C.filter(function(g){return!wf(g)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:u.state.done,tags:u.state.tags,machine:u.machine});return H.changed=!0,H});u.update(k,v),u._stopChildren(),i2.free(u.sessionId)}}),this},b.prototype.batch=function(u){var o=this;if(!(this.status===ei.NotStarted&&this.options.deferEvents)){if(this.status!==ei.Running)throw new Error("".concat(u.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'))}if(u.length){var h=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var v,k,O=o.state,z=!1,C=[],B=function(S){var V=li(S);o.forward(V),O=qu(o,function(){return o.machine.transition(O,V,void 0,h||void 0)}),C.push.apply(C,ra([],Mn(o.machine.config.predictableActionArguments?O.actions:O.actions.map(function(L){return __(L,O)})),!1)),z=z||!!O.changed};try{for(var H=mn(u),g=H.next();!g.done;g=H.next()){var A=g.value;B(A)}}catch(S){v={error:S}}finally{try{g&&!g.done&&(k=H.return)&&k.call(H)}finally{if(v)throw v.error}}O.changed=z,O.actions=C,o.update(O,li(u[u.length-1]))})}},b.prototype.sender=function(u){return this.send.bind(this,u)},b.prototype._nextState=function(u,o){var h=this;o===void 0&&(o=!!this.machine.config.predictableActionArguments&&this._exec);var v=li(u);if(v.name.indexOf(a5)===0&&!this.state.nextEvents.some(function(O){return O.indexOf(a5)===0}))throw v.data.data;var k=qu(this,function(){return h.machine.transition(h.state,v,void 0,o||void 0)});return k},b.prototype.nextState=function(u){return this._nextState(u,!1)},b.prototype.forward=function(u){var o,h;try{for(var v=mn(this.forwardTo),k=v.next();!k.done;k=v.next()){var O=k.value,z=this.children.get(O);if(!z)throw new Error("Unable to forward event '".concat(u,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(O,"'."));z.send(u)}}catch(C){o={error:C}}finally{try{k&&!k.done&&(h=v.return)&&h.call(v)}finally{if(o)throw o.error}}},b.prototype.defer=function(u){var o=this,h=this.clock.setTimeout(function(){"to"in u&&u.to?o.sendTo(u._event,u.to,!0):o.send(u._event)},u.delay);u.id&&(this.delayedEventsMap[u.id]=h)},b.prototype.cancel=function(u){this.clock.clearTimeout(this.delayedEventsMap[u]),delete this.delayedEventsMap[u]},b.prototype.exec=function(u,o,h){h===void 0&&(h=this.machine.options.actions),this._exec(u,o.context,o._event,h)},b.prototype.removeChild=function(u){var o;this.children.delete(u),this.forwardTo.delete(u),(o=this.state)===null||o===void 0||delete o.children[u]},b.prototype.stopChild=function(u){var o=this.children.get(u);o&&(this.removeChild(u),An(o.stop)&&o.stop())},b.prototype.spawn=function(u,o,h){if(this.status!==ei.Running)return V6(u,o);if(s5(u))return this.spawnPromise(Promise.resolve(u),o);if(An(u))return this.spawnCallback(u,o);if(v_(u))return this.spawnActor(u,o);if($b(u))return this.spawnObservable(u,o);if(ll(u))return this.spawnMachine(u,er(er({},h),{id:o}));if(jb(u))return this.spawnBehavior(u,o);throw new Error('Unable to spawn entity "'.concat(o,'" of type "').concat(typeof u,'".'))},b.prototype.spawnMachine=function(u,o){var h=this;o===void 0&&(o={});var v=new b(u,er(er({},this.options),{parent:this,id:o.id||u.id})),k=er(er({},E_),o);k.sync&&v.onTransition(function(z){h.send(P6,{state:z,id:v.id})});var O=v;return this.children.set(v.id,O),k.autoForward&&this.forwardTo.add(v.id),v.onDone(function(z){h.removeChild(v.id),h.send(li(z,{origin:v.id}))}).start(),O},b.prototype.spawnBehavior=function(u,o){var h=T_(u,{id:o,parent:this});return this.children.set(o,h),h}
vendor: 4,924 bytes, line 60
60,b.prototype.spawnPromise=function(u,o){var h,v=this,k=!1,O;u.then(function(C){k||(O=C,v.removeChild(o),v.send(li($c(o,C),{origin:o})))},function(C){if(!k){v.removeChild(o);var B=c2(o,C);try{v.send(li(B,{origin:o}))}catch(H){v.devTools&&v.devTools.send(B,v.state),v.machine.strict&&v.stop()}}});var z=(h={id:o,send:function(){},subscribe:function(C,B,H){var g=Kc(C,B,H),A=!1;return u.then(function(S){A||(g.next(S),!A&&g.complete())},function(S){A||g.error(S)}),{unsubscribe:function(){return A=!0}}},stop:function(){k=!0},toJSON:function(){return{id:o}},getSnapshot:function(){return O}},h[Y0]=function(){return this},h);return this.children.set(o,z),z},b.prototype.spawnCallback=function(u,o){var h,v=this,k=!1,O=new Set,z=new Set,C,B=function(A){C=A,z.forEach(function(S){return S(A)}),!k&&v.send(li(A,{origin:o}))},H;try{H=u(B,function(A){O.add(A)})}catch(A){this.send(c2(o,A))}if(s5(H))return this.spawnPromise(H,o);var g=(h={id:o,send:function(A){return O.forEach(function(S){return S(A)})},subscribe:function(A){var S=Kc(A);return z.add(S.next),{unsubscribe:function(){z.delete(S.next)}}},stop:function(){k=!0,An(H)&&H()},toJSON:function(){return{id:o}},getSnapshot:function(){return C}},h[Y0]=function(){return this},h);return this.children.set(o,g),g},b.prototype.spawnObservable=function(u,o){var h,v=this,k,O=u.subscribe(function(C){k=C,v.send(li(C,{origin:o}))},function(C){v.removeChild(o),v.send(li(c2(o,C),{origin:o}))},function(){v.removeChild(o),v.send(li($c(o),{origin:o}))}),z=(h={id:o,send:function(){},subscribe:function(C,B,H){return u.subscribe(C,B,H)},stop:function(){return O.unsubscribe()},getSnapshot:function(){return k},toJSON:function(){return{id:o}}},h[Y0]=function(){return this},h);return this.children.set(o,z),z},b.prototype.spawnActor=function(u,o){return this.children.set(o,u),u},b.prototype.spawnActivity=function(u){var o=this.machine.options&&this.machine.options.activities?this.machine.options.activities[u.type]:void 0;if(o){var h=o(this.state.context,u);this.spawnEffect(u.id,h)}},b.prototype.spawnEffect=function(u,o){var h;this.children.set(u,(h={id:u,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:o||void 0,getSnapshot:function(){},toJSON:function(){return{id:u}}},h[Y0]=function(){return this},h))},b.prototype.attachDev=function(){var u=qf();if(this.options.devTools&&u){if(u.__REDUX_DEVTOOLS_EXTENSION__){var o=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=u.__REDUX_DEVTOOLS_EXTENSION__.connect(er(er({name:this.id,autoPause:!0,stateSanitizer:function(h){return{value:h.value,context:h.context,actions:h.actions}}},o),{features:er({jump:!1,skip:!1},o?o.features:void 0)}),this.machine),this.devTools.init(this.state)}M_(this)}},b.prototype.toJSON=function(){return{id:this.id}},b.prototype[Y0]=function(){return this},b.prototype.getSnapshot=function(){return this.status===ei.NotStarted?this.initialState:this._state},b.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(u,o){return setTimeout(u,o)},clearTimeout:function(u){return clearTimeout(u)}},logger:console.log.bind(console),devTools:!1},b.interpret=k_,b}();function k_(b,u){var o=new cl(b,u);return o}function A_(b){if(typeof b=="string"){var u={type:b};return u.toString=function(){return b},u}return b}function Gc(b){return er(er({type:bf},b),{toJSON:function(){b.onDone,b.onError;var u=Hf(b,["onDone","onError"]);return er(er({},u),{type:bf,src:A_(b.src)})}})}var Vc="",Tf="#",$h="*",Wu={},Yu=function(b){return b[0]===Tf},C_=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},R_=function(){function b(u,o,h,v){h===void 0&&(h="context"in u?u.context:void 0);var k=this,O;this.config=u,this._context=h,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(C_(),o),this.parent=v==null?void 0:v.parent,this.key=this.config.key||(v==null?void 0:v.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:D6),this.id=this.config.id||ra([this.machine.key],Mn(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(O=this.config.schema)!==null&&O!==void 0?O:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?l2(this.config.states,function(B,H){var g,A=new b(B,{},void 0,{parent:k,key:H});return Object.assign(k.idMap,er((g={}
vendor: 19,650 bytes, line 60
60,g[A.id]=A,g),A.idMap)),A}):Wu;var z=0;function C(B){var H,g;B.order=z++;try{for(var A=mn(H6(B)),S=A.next();!S.done;S=A.next()){var V=S.value;C(V)}}catch(L){H={error:L}}finally{try{S&&!S.done&&(g=A.return)&&g.call(A)}finally{if(H)throw H.error}}}C(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(B){var H=B.event;return H===Vc}):Vc in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=ws(this.config.entry||this.config.onEntry).map(function(B){return S2(B)}),this.onExit=ws(this.config.exit||this.config.onExit).map(function(B){return S2(B)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=ws(this.config.invoke).map(function(B,H){var g,A;if(ll(B)){var S=Uc(k.id,H);return k.machine.options.services=er((g={},g[S]=B,g),k.machine.options.services),Gc({src:S,id:S})}else if(Cn(B.src)){var S=B.id||Uc(k.id,H);return Gc(er(er({},B),{id:S,src:B.src}))}else if(ll(B.src)||An(B.src)){var S=B.id||Uc(k.id,H);return k.machine.options.services=er((A={},A[S]=B.src,A),k.machine.options.services),Gc(er(er({id:S},B),{src:S}))}else{var V=B.src;return Gc(er(er({id:Uc(k.id,H)},B),{src:V}))}}),this.activities=ws(this.config.activities).concat(this.invoke).map(function(B){return Yf(B)}),this.transition=this.transition.bind(this),this.tags=ws(this.config.tags)}return b.prototype._init=function(){this.__cache.transitions||X6(this).forEach(function(u){return u.on})},b.prototype.withConfig=function(u,o){var h=this.options,v=h.actions,k=h.activities,O=h.guards,z=h.services,C=h.delays;return new b(this.config,{actions:er(er({},v),u.actions),activities:er(er({},k),u.activities),guards:er(er({},O),u.guards),services:er(er({},z),u.services),delays:er(er({},C),u.delays)},o!=null?o:this.context)},b.prototype.withContext=function(u){return new b(this.config,this.options,u)},Object.defineProperty(b.prototype,"context",{get:function(){return An(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:l2(this.states,function(u){return u.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),b.prototype.toJSON=function(){return this.definition},Object.defineProperty(b.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var u=this.transitions;return this.__cache.on=u.reduce(function(o,h){return o[h.eventType]=o[h.eventType]||[],o[h.eventType].push(h),o},{})},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),b.prototype.getCandidates=function(u){if(this.__cache.candidates[u])return this.__cache.candidates[u];var o=u===Vc,h=this.transitions.filter(function(v){var k=v.eventType===u;return o?k:k||v.eventType===$h});return this.__cache.candidates[u]=h,h},b.prototype.getDelayedTransitions=function(){var u=this,o=this.config.after;if(!o)return[];var h=function(k,O){var z=An(k)?"".concat(u.id,":delay[").concat(O,"]"):k,C=c_(z,u.id);return u.onEntry.push(n_(C,{delay:k})),u.onExit.push(o_(C)),C},v=hl(o)?o.map(function(k,O){var z=h(k.delay,O);return er(er({},k),{event:z})}):da(Object.keys(o).map(function(k,O){var z=o[k],C=Cn(z)?{target:z}:z,B=isNaN(+k)?k:+k,H=h(B,O);return ws(C).map(function(g){return er(er({},g),{event:H,delay:B})})}));return v.map(function(k){var O=k.delay;return er(er({},u.formatTransition(k)),{delay:O})})},b.prototype.getStateNodes=function(u){var o,h=this;if(!u)return[];var v=u instanceof Gs?u.value:p2(u,this.delimiter);if(Cn(v)){var k=this.getStateNode(v).initial;return k!==void 0?this.getStateNodes((o={},o[v]=k,o)):[this,this.states[v]]}var O=Object.keys(v),z=[this];return z.push.apply(z,ra([],Mn(da(O.map(function(C){return h.getStateNode(C).getStateNodes(v[C])}))),!1)),z},b.prototype.handles=function(u){var o=I6(u);return this.events.includes(o)},b.prototype.resolveState=function(u){var o=u instanceof Gs?u:Gs.create(u),h=Array.from(h2([],this.getStateNodes(o.value)));return new Gs(er(er({},o),{value:this.resolve(o.value),configuration:h,done:Qc(h,this),tags:l5(h),machine:this.machine}))},b.prototype.transitionLeafNode=function(u,o,h){var v=this.getStateNode(u),k=v.next(o,h);return!k||!k.transitions.length?this.next(o,h):k},b.prototype.transitionCompoundNode=function(u,o,h){var v=Object.keys(u),k=this.getStateNode(v[0]),O=k._transition(u[v[0]],o,h);return!O||!O.transitions.length?this.next(o,h):O},b.prototype.transitionParallelNode=function(u,o,h){var v,k,O={};try{for(var z=mn(Object.keys(u)),C=z.next();!C.done;C=z.next()){var B=C.value,H=u[B];if(H){var g=this.getStateNode(B),A=g._transition(H,o,h);A&&(O[B]=A)}}}catch(T){v={error:T}}finally{try{C&&!C.done&&(k=z.return)&&k.call(z)}finally{if(v)throw v.error}}var S=Object.keys(O).map(function(T){return O[T]}),V=da(S.map(function(T){return T.transitions})),L=S.some(function(T){return T.transitions.length>0});if(!L)return this.next(o,h);var F=da(Object.keys(O).map(function(T){return O[T].configuration}));return{transitions:V,exitSet:da(S.map(function(T){return T.exitSet})),configuration:F,source:o,actions:da(Object.keys(O).map(function(T){return O[T].actions}))}},b.prototype._transition=function(u,o,h){return Cn(u)?this.transitionLeafNode(u,o,h):Object.keys(u).length===1?this.transitionCompoundNode(u,o,h):this.transitionParallelNode(u,o,h)},b.prototype.getTransitionData=function(u,o){return this._transition(u.value,u,li(o))},b.prototype.next=function(u,o){var h,v,k=this,O=o.name,z=[],C=[],B;try{for(var H=mn(this.getCandidates(O)),g=H.next();!g.done;g=H.next()){var A=g.value,S=A.cond,V=A.in,L=u.context,F=V?Cn(V)&&Yu(V)?u.matches(p2(this.getStateNodeById(V).path,this.delimiter)):Wf(p2(V,this.delimiter),Wb(this.path.slice(0,-2))(u.value)):!0,T=!1;try{T=!S||U6(this.machine,S,L,o,u)}catch(_){throw new Error("Unable to evaluate guard '".concat(S.name||S.type,"' in transition for event '").concat(O,"' in state node '").concat(this.id,"':\n").concat(_.message))}if(T&&F){A.target!==void 0&&(C=A.target),z.push.apply(z,ra([],Mn(A.actions),!1)),B=A;break}}}catch(_){h={error:_}}finally{try{g&&!g.done&&(v=H.return)&&v.call(H)}finally{if(h)throw h.error}}if(B){if(!C.length)return{transitions:[B],exitSet:[],configuration:u.value?[this]:[],source:u,actions:z};var M=da(C.map(function(_){return k.getRelativeStateNodes(_,u.historyValue)})),w=!!B.internal;return{transitions:[B],exitSet:w?[]:da(C.map(function(_){return k.getPotentiallyReenteringNodes(_)})),configuration:M,source:u,actions:z}}},b.prototype.getPotentiallyReenteringNodes=function(u){if(this.order<u.order)return[this];for(var o=[],h=this,v=u;h&&h!==v;)o.push(h),h=h.parent;return h!==v?[]:(o.push(v),o)},b.prototype.getActions=function(u,o,h,v,k,O,z){var C,B,H,g,A=this,S=O?h2([],this.getStateNodes(O.value)):[],V=new Set;try{for(var L=mn(Array.from(u).sort(function(be,me){return be.order-me.order})),F=L.next();!F.done;F=L.next()){var T=F.value;(!f2(S,T)||f2(h.exitSet,T)||T.parent&&V.has(T.parent))&&V.add(T)}}catch(be){C={error:be}}finally{try{F&&!F.done&&(B=L.return)&&B.call(L)}finally{if(C)throw C.error}}try{for(var M=mn(S),w=M.next();!w.done;w=M.next()){var T=w.value;(!f2(u,T)||f2(h.exitSet,T.parent))&&h.exitSet.push(T)}}catch(be){H={error:be}}finally{try{w&&!w.done&&(g=M.return)&&g.call(M)}finally{if(H)throw H.error}}h.exitSet.sort(function(be,me){return me.order-be.order});var _=Array.from(V).sort(function(be,me){return be.order-me.order}),E=new Set(h.exitSet),U=da(_.map(function(be){var me=[];if(be.type!=="final")return me;var ke=be.parent;if(!ke.parent)return me;me.push(zc(be.id,be.doneData),zc(ke.id,be.doneData?c3(be.doneData,v,k):void 0));var he=ke.parent;return he.type==="parallel"&&M2(he).every(function(X){return Qc(h.configuration,X)})&&me.push(zc(he.id)),me})),$=_.map(function(be){var me=be.onEntry,ke=be.activities.map(function(he){return s_(he)});return{type:"entry",actions:q0(z?ra(ra([],Mn(me),!1),Mn(ke),!1):ra(ra([],Mn(ke),!1),Mn(me),!1),A.machine.options.actions)}}).concat({type:"state_done",actions:U.map(function(be){return t_(be)})}),te=Array.from(E).map(function(be){return{type:"exit",actions:q0(ra(ra([],Mn(be.onExit),!1),Mn(be.activities.map(function(me){return u_(me)})),!1),A.machine.options.actions)}}),se=te.concat({type:"transition",actions:q0(h.actions,this.machine.options.actions)}).concat($);if(o){var Se=q0(da(ra([],Mn(u),!1).sort(function(be,me){return me.order-be.order}).map(function(be){return be.onExit})),this.machine.options.actions).filter(function(be){return!wf(be)});return se.concat({type:"stop",actions:Se})}return se},b.prototype.transition=function(u,o,h,v){u===void 0&&(u=this.initialState);var k=li(o),O;if(u instanceof Gs)O=h===void 0?u:this.resolveState(Gs.from(u,h));else{var z=Cn(u)?this.resolve(l3(this.getResolvedPath(u))):this.resolve(u),C=h!=null?h:this.machine.context;O=this.resolveState(Gs.from(z,C))}if(this.strict&&!this.events.includes(k.name)&&!qb(k.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(k.name,"'"));var B=this._transition(O.value,O,k)||{transitions:[],configuration:[],exitSet:[],source:O,actions:[]},H=h2([],this.getStateNodes(O.value)),g=B.configuration.length?h2(H,B.configuration):H;return B.configuration=ra([],Mn(g),!1),this.resolveTransition(B,O,O.context,v,k)},b.prototype.resolveRaisedTransition=function(u,o,h,v){var k,O=u.actions;return u=this.transition(u,o,void 0,v),u._event=h,u.event=h.data,(k=u.actions).unshift.apply(k,ra([],Mn(O),!1)),u},b.prototype.resolveTransition=function(u,o,h,v,k){var O,z,C,B,H=this;k===void 0&&(k=el);var g=u.configuration,A=!o||u.transitions.length>0,S=A?u.configuration:o?o.configuration:[],V=Qc(S,this),L=A?p_(this.machine,g):void 0,F=o?o.historyValue?o.historyValue:u.source?this.machine.historyValue(o.value):void 0:void 0,T=this.getActions(new Set(S),V,u,h,k,o,v),M=o?er({},o.activities):{};try{for(var w=mn(T),_=w.next();!_.done;_=w.next()){var E=_.value;try{for(var U=(C=void 0,mn(E.actions)),$=U.next();!$.done;$=U.next()){var te=$.value;te.type===yf?M[te.activity.id||te.activity.type]=te:te.type===Xf&&(M[te.activity.id||te.activity.type]=!1)}}catch(de){C={error:de}}finally{try{$&&!$.done&&(B=U.return)&&B.call(U)}finally{if(C)throw C.error}}}}catch(de){O={error:de}}finally{try{_&&!_.done&&(z=w.return)&&z.call(w)}finally{if(O)throw O.error}}var se=Mn(h3(this,o,h,k,T,v,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),Se=se[0],be=se[1],me=Mn(Jb(Se,wf),2),ke=me[0],he=me[1],X=Se.filter(function(de){var Be;return de.type===yf&&((Be=de.activity)===null||Be===void 0?void 0:Be.type)===bf}),re=X.reduce(function(de,Be){return de[Be.activity.id]=f_(Be.activity,H.machine,be,k),de},o?er({},o.children):{}),ae=new Gs({value:L||o.value,context:be,_event:k,_sessionid:o?o._sessionid:null,historyValue:L?F?Zb(F,L):void 0:o?o.historyValue:void 0,history:!L||u.source?o:void 0,actions:L?he:[],activities:L?M:o?o.activities:{},events:[],configuration:S,transitions:u.transitions,children:re,done:V,tags:l5(S),machine:this}),ue=h!==be;ae.changed=k.name===P6||ue;var ge=ae.history;ge&&delete ge.history;var Ce=!V&&(this._transient||g.some(function(de){return de._transient}));if(!A&&(!Ce||k.name===Vc))return ae;var fe=ae;if(!V)for(Ce&&(fe=this.resolveRaisedTransition(fe,{type:Nb},k,v));ke.length;){var Le=ke.shift();fe=this.resolveRaisedTransition(fe,Le._event,k,v)}var qe=fe.changed||(ge?!!fe.actions.length||ue||typeof ge.value!=typeof fe.value||!Y6(fe.value,ge.value):void 0);return fe.changed=qe,fe.history=ge,fe},b.prototype.getStateNode=function(u){if(Yu(u))return this.machine.getStateNodeById(u);if(!this.states)throw new Error("Unable to retrieve child state '".concat(u,"' from '").concat(this.id,"'; no child states exist."));var o=this.states[u];if(!o)throw new Error("Child state '".concat(u,"' does not exist on '").concat(this.id,"'"));return o},b.prototype.getStateNodeById=function(u){var o=Yu(u)?u.slice(Tf.length):u;if(o===this.id)return this;var h=this.machine.idMap[o];if(!h)throw new Error("Child state node '#".concat(o,"' does not exist on machine '").concat(this.id,"'"));return h},b.prototype.getStateNodeByPath=function(u){if(typeof u=="string"&&Yu(u))try{return this.getStateNodeById(u.slice(1))}catch(k){}for(var o=xf(u,this.delimiter).slice(),h=this;o.length;){var v=o.shift();if(!v.length)break;h=h.getStateNode(v)}return h},b.prototype.resolve=function(u){var o,h=this;if(!u)return this.initialStateValue||Wu;switch(this.type){case"parallel":return l2(this.initialStateValue,function(k,O){return k?h.getStateNode(O).resolve(u[O]||k):Wu});case"compound":if(Cn(u)){var v=this.getStateNode(u);return v.type==="parallel"||v.type==="compound"?(o={},o[u]=v.initialStateValue,o):u}return Object.keys(u).length?l2(u,function(k,O){return k?h.getStateNode(O).resolve(k):Wu}):this.initialStateValue||{};default:return u||Wu}},b.prototype.getResolvedPath=function(u){if(Yu(u)){var o=this.machine.idMap[u.slice(Tf.length)];if(!o)throw new Error("Unable to find state node '".concat(u,"'"));return o.path}return xf(u,this.delimiter)},Object.defineProperty(b.prototype,"initialStateValue",{get:function(){var u;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var o;if(this.type==="parallel")o=o5(this.states,function(h){return h.initialStateValue||Wu},function(h){return h.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));o=f3(this.states[this.initial])?this.initial:(u={},u[this.initial]=this.states[this.initial].initialStateValue,u)}else o={};return this.__cache.initialStateValue=o,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),b.prototype.getInitialState=function(u,o){this._init();var h=this.getStateNodes(u);return this.resolveTransition({configuration:h,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,o!=null?o:this.machine.context,void 0)},Object.defineProperty(b.prototype,"initialState",{get:function(){var u=this.initialStateValue;if(!u)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(u)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"target",{get:function(){var u;if(this.type==="history"){var o=this.config;Cn(o.target)?u=Yu(o.target)?l3(this.machine.getStateNodeById(o.target).path.slice(this.path.length-1)):o.target:u=o.target}return u},enumerable:!1,configurable:!0}),b.prototype.getRelativeStateNodes=function(u,o,h){return h===void 0&&(h=!0),h?u.type==="history"?u.resolveHistory(o):u.initialStateNodes:[u]},Object.defineProperty(b.prototype,"initialStateNodes",{get:function(){var u=this;if(f3(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var o=Zc(this.initialStateValue);return da(o.map(function(h){return u.getFromRelativePath(h)}))},enumerable:!1,configurable:!0}),b.prototype.getFromRelativePath=function(u){if(!u.length)return[this];var o=Mn(u),h=o[0],v=o.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(h,"' from node with no states"));var k=this.getStateNode(h);if(k.type==="history")return k.resolveHistory();if(!this.states[h])throw new Error("Child state '".concat(h,"' does not exist on '").concat(this.id,"'"));return this.states[h].getFromRelativePath(v)},b.prototype.historyValue=function(u){if(Object.keys(this.states).length)return{current:u||this.initialStateValue,states:o5(this.states,function(o,h){if(!u)return o.historyValue();var v=Cn(u)?void 0:u[h];return o.historyValue(v||o.initialStateValue)},function(o){return!o.history})}},b.prototype.resolveHistory=function(u){var o=this;if(this.type!=="history")return[this];var h=this.parent;if(!u){var v=this.target;return v?da(Zc(v).map(function(O){return h.getFromRelativePath(O)})):h.initialStateNodes}var k=Yb(h.path,"states")(u).current;return Cn(k)?[h.getStateNode(k)]:da(Zc(k).map(function(O){return o.history==="deep"?h.getFromRelativePath(O):[h.states[O[0]]]}))},Object.defineProperty(b.prototype,"stateIds",{get:function(){var u=this,o=da(Object.keys(this.states).map(function(h){return u.states[h].stateIds}));return[this.id].concat(o)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"events",{get:function(){var u,o,h,v;if(this.__cache.events)return this.__cache.events;var k=this.states,O=new Set(this.ownEvents);if(k)try{for(var z=mn(Object.keys(k)),C=z.next();!C.done;C=z.next()){var B=C.value,H=k[B];if(H.states)try{for(var g=(h=void 0,mn(H.events)),A=g.next();!A.done;A=g.next()){var S=A.value;O.add("".concat(S))}}catch(V){h={error:V}}finally{try{A&&!A.done&&(v=g.return)&&v.call(g)}finally{if(h)throw h.error}}}}catch(V){u={error:V}}finally{try{C&&!C.done&&(o=z.return)&&o.call(z)}finally{if(u)throw u.error}}return this.__cache.events=Array.from(O)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"ownEvents",{get:function(){var u=new Set(this.transitions.filter(function(o){return!(!o.target&&!o.actions.length&&o.internal)}).map(function(o){return o.eventType}));return Array.from(u)},enumerable:!1,configurable:!0}),b.prototype.resolveTarget=function(u){var o=this;if(u!==void 0)return u.map(function(h){if(!Cn(h))return h;var v=h[0]===o.delimiter;if(v&&!o.parent)return o.getStateNodeByPath(h.slice(1));var k=v?o.key+h:h;if(o.parent)try{var O=o.parent.getStateNodeByPath(k);return O}catch(z){throw new Error("Invalid transition definition for state node '".concat(o.id,"':\n").concat(z.message))}else return o.getStateNodeByPath(k)})},b.prototype.formatTransition=function(u){var o=this,h=e_(u.target),v="internal"in u?u.internal:h?h.some(function(C){return Cn(C)&&C[0]===o.delimiter}):!0,k=this.machine.options.guards,O=this.resolveTarget(h),z=er(er({},u),{actions:q0(ws(u.actions)),cond:N6(u.cond,k),target:O,source:this,internal:v,eventType:u.event,toJSON:function(){return er(er({},z),{target:z.target?z.target.map(function(C){return"#".concat(C.id)}):void 0,source:"#".concat(o.id)})}});return z},b.prototype.formatTransitions=function(){var u,o,h=this,v;if(!this.config.on)v=[];else if(Array.isArray(this.config.on))v=this.config.on;else{var k=this.config.on,O=$h,z=k[O],C=z===void 0?[]:z,B=Hf(k,[typeof O=="symbol"?O:O+""]);v=da(Object.keys(B).map(function(M){var w=Xu(M,B[M]);return w}).concat(Xu($h,C)))}var H=this.config.always?Xu("",this.config.always):[],g=this.config.onDone?Xu(String(zc(this.id)),this.config.onDone):[],A=da(this.invoke.map(function(M){var w=[];return M.onDone&&w.push.apply(w,ra([],Mn(Xu(String($c(M.id)),M.onDone)),!1)),M.onError&&w.push.apply(w,ra([],Mn(Xu(String(c2(M.id)),M.onError)),!1)),w})),S=this.after,V=da(ra(ra(ra(ra([],Mn(g),!1),Mn(A),!1),Mn(v),!1),Mn(H),!1).map(function(M){return ws(M).map(function(w){return h.formatTransition(w)})}));try{for(var L=mn(S),F=L.next();!F.done;F=L.next()){var T=F.value;V.push(T)}}catch(M){u={error:M}}
60finally{try{F&&!F.done&&(o=L.return)&&o.call(L)}finally{if(u)throw u.error}}return V},b}();function O_(b,u){return new R_(b,u)}var q6={exports:{}};/*! Copyright © 2011 - 2025 miHoYo. All Rights Reserved */(function(b,u){(function(o,h){b.exports=h()})(typeof self<"u"?self:Vs,function(){return function(){var o={673:function(z,C,B){function H(w){return H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},H(w)}function g(w,_){for(var E=0;E<_.length;E++){var U=_[E];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(w,S(U.key),U)}}function A(w,_,E){return(_=S(_))in w?Object.defineProperty(w,_,{value:E,enumerable:!0,configurable:!0,writable:!0}):w[_]=E,w}function S(w){var _=function(E,U){if(H(E)!=="object"||E===null)return E;var $=E[Symbol.toPrimitive];if($!==void 0){var te=$.call(E,U);if(H(te)!=="object")return te;throw new TypeError("@@toPrimitive must return a primitive value.")}return(U==="string"?String:Number)(E)}(w,"string");return H(_)==="symbol"?_:String(_)}var V,L;B.d(C,{default:function(){return M}}),function(w){w.desktop="desktop",w.tablet="tablet",w.mobile="mobile"}(V||(V={})),function(w){w.pc="pc",w.mobile="mobile",w.ps4="ps4",w.ps5="ps5"}(L||(L={}));var F=[L.pc,L.mobile,L.ps4,L.ps5],T={queryString:function(w,_){var E=w.replace(/[\[\]]/g,"\\$&"),U=new RegExp("[?&]".concat(E,"(=([^&#]*)|&|#|$)")).exec(_);return U?U[2]?decodeURIComponent(U[2].replace(/\+/g," ")):"":null},formatParams:function(w){var _=w||{};return Object.keys(_).reduce(function(E,U){return E.push("".concat(encodeURIComponent(U),"=").concat(encodeURIComponent(_[U]))),E},[]).join("&")},getType:function(w){return Object.prototype.toString.call(w).slice(8,-1).toLowerCase()},isEmpty:function(w){var _=!0;return w&&typeof w=="string"&&String(w).trim()&&(_=!1),_},dealStr:function(w,_){var E=String(w).trim()||"";return E=_==="lower"?E.toLowerCase():_==="upper"?E.toUpperCase():E},includes:function(w,_){return w.indexOf(_)!==-1},find:function(w,_){return this.includes(_,w)},findIndex:function(w,_,E){for(var U=0;U<w.length;U++){var $=w[U];if(_.call(E,$,U,w))return U}return-1}},M=function(){function w(U){var $=U.window,te=U.userAgent,se=U.url,Se=U.language;(function(be,me){if(!(be instanceof me))throw new TypeError("Cannot call a class as a function")})(this,w),A(this,"userAgent",void 0),A(this,"url",void 0),A(this,"window",void 0),A(this,"lang",void 0),this.userAgent=te.toLowerCase(),this.url=se,this.window=$,this.lang=Se}var _,E;return _=w,E=[{key:"mobile",value:function(){return this.platform()==="ios"||this.platform()==="android"||this.iphone()||this.iwatch()||this.ipod()||this.androidPhone()||this.blackberryPhone()||this.windowsPhone()||this.fxosPhone()||this.meego()||this.samsungPhone()||this.isHarmonyPhone()||this.othersMobile()}},{key:"tablet",value:function(){return this.ipad()||this.androidTablet()||this.blackberryTablet()||this.windowsTablet()||this.fxosTablet()||this.samsungTablet()||this.isHarmonyTablet()}},{key:"desktop",value:function(){var U=this;return["pc","mac"].some(function($){return $===U.platform()})||!this.tablet()&&!this.mobile()}},{key:"portrait",value:function(){var U=this.window;return U?U.screen.orientation&&Object.prototype.hasOwnProperty.call(U,"onorientationchange")?this.includes(U.screen.orientation.type,"portrait"):this.ios()&&Object.prototype.hasOwnProperty.call(U,"orientation")?Math.abs(U.orientation)!==90:U.innerHeight/U.innerWidth>1:this.getDeviceType()==="mobile"}},{key:"landscape",value:function(){var U=this.window;return U?U.screen.orientation&&Object.prototype.hasOwnProperty.call(U,"onorientationchange")?this.includes(U.screen.orientation.type,"landscape"):this.ios()&&Object.prototype.hasOwnProperty.call(U,"orientation")?Math.abs(U.orientation)===90:U.innerHeight/U.innerWidth<1:!this.portrait()}},{key:"getOrient",value:function(){return this.portrait()?"portrait":this.landscape()?"landscape":""}},{key:"getDeviceEnd",value:function(){var U;return this.desktop()?U=V.desktop:this.tablet()?U=V.tablet:this.mobile()?
60U=V.mobile:console.warn("unknown device end"),U}},{key:"getDeviceType",value:function(){var U=this.desktop()?L.pc:this.tablet()||this.mobile()?L.mobile:void 0;if(!U){var $=T.dealStr(this.queryString("device_type"));if(!T.isEmpty($)){var te=T.findIndex(F,function(se){return $.search(se)!==-1});U=te!==-1?F[te]:void 0}U||console.warn("unknown device type")}return U}},{key:"platform",value:function(){var U=T.dealStr(this.queryString("plat_type"),"lower"),$=T.dealStr(this.queryString("web_type"),"lower");return U==="ios"&&$==="mac"?"mac":T.dealStr(this.queryString("plat_type"),"lower")}},{key:"trident",value:function(){return this.find("trident")}},{key:"presto",value:function(){return this.find("presto")}},{key:"webkit",value:function(){return this.find("applewebkit")}},{key:"gecko",value:function(){return this.find("gecko")&&this.find("firefox")}},{key:"language",value:function(){return this.lang}},{key:"isWindows",value:function(){return this.find("windows")}},{key:"windowsPhone",value:function(){return this.isWindows()&&this.find("phone")}},{key:"windowsTablet",value:function(){return this.isWindows()&&this.find("touch")&&!this.windowsPhone()}},{key:"isNode",value:function(){return typeof window>"u"&&B.g!==void 0}},{key:"iphone",value:function(){return!this.isWindows()&&this.find("iphone")}},{key:"iwatch",value:function(){return this.find("iwatch")}},{key:"ipod",value:function(){return this.find("ipod")}},{key:"ipad",value:function(){return this.find("ipad")||!!(this.window&&this.window.navigator.platform==="MacIntel"&&this.window.navigator.maxTouchPoints>1)}},{key:"macos",value:function(){return this.platform()==="mac"||this.find("mac")}},{key:"ios",value:function(){return this.platform()==="ios"||this.iphone()||this.iwatch()||this.ipod()||this.ipad()}},{key:"android",value:function(){return!this.isWindows()&&(this.platform()==="android"||this.find("android"))}},{key:"androidPhone",value:function(){return this.android()&&this.find("mobile")}},{key:"androidTablet",value:function(){return this.android()&&!this.find("mobile")}},{key:"blackberry",value:function(){return this.find("blackberry")||this.find("bb10")}},{key:"blackberryPhone",value:function(){return this.blackberry()&&!this.find("tablet")}},{key:"blackberryTablet",value:function(){return this.blackberry()&&this.find("tablet")}},{key:"meego",value:function(){return this.find("meego")}},{key:"fxos",value:function(){return(this.find("(mobile")||this.find("(tablet"))&&this.find(" rv:")}},{key:"fxosPhone",value:function(){return this.fxos()&&this.find("mobile")}},{key:"fxosTablet",value:function(){return this.fxos()&&this.find("tablet")}},{key:"mumu",value:function(){return this.find("mumu")||this.find("build/v417ir;wv")}},{key:"u3d",value:function(){return!!this.userAgent.match(/unity 3d/)}},{key:"ps",value:function(){return this.includes(this.platform(),"ps")||this.find("playstation")}},{key:"wxwork",value:function(){return this.find("wxwork")}},{key:"harmony",value:function(){return console.warn("Warning: The 'harmony' is currently unsafe and will no longer be maintained. Please use the 'isHarmony' method instead."),this.find("harmonyos")}},{key:"harmonyPhone",value:function(){return console.warn("Warning: The 'harmonyPhone' is currently unsafe and will no longer be maintained."),console.warn("Please use the 'isHarmonyPhone' method instead"),this.harmony()&&this.find("mobile")}},{key:"huaweiBrowser",value:function(){return this.find("huaweibrowser")}},{key:"isHarmony",value:function(){return this.isHarmonyOS()||this.isOpenHarmony()||this.find("harmony")}},{key:"isHarmonyOS",value:function(){return this.find("harmonyos")}},{key:"isOpenHarmony",value:function(){return this.find("openharmony")}},{key:"isHarmonyPhone",value:function(){return this.isHarmony()&&this.huaweiBrowser()&&this.find("phone")}},{key:"isHarmonyTablet",value:function(){return this.isHarmony()&&this.huaweiBrowser()&&this.find("tablet")}},{key:"isHarmonyPC",value:function(){return console.warn("This method is experimental. Please use with caution."),this.isHarmony()&&this.huaweiBrowser()&&this.find("pc")}},{key:"bbs",value:function(){return this.find("mihoyobbs")}},{key:"game",value:function(){return this.find("mihoyo")&&!this.bbs()}},{key:"wx",value:function(){return this.find("micromessenger")}},{key:"weibo",value:function(){return this.find("weibo")}},{key:"safari",value:function(){return this.find("safari")&&!this.find("chrome")&&!this.find("browser")}},{key:"edge",value:function(){return this.find("edge")}},{key:"qqb",value:function(){return this.find("mqqbrowser")}},{key:"samsungbrowser",value:function(){return this.find("samsungbrowser")}},{key:"samsungPhone",value:function(){return this.android()&&this.find("sm-")}},{key:"samsungTablet",value:function(){return this.samsungbrowser()&&!this.samsungPhone()}},{key:"othersMobile",value:function(){return console.warn("The detection for HarmonyOS devices has been adjusted. This method now only includes HarmonyOS mobile devices. Tablets and PCs are no longer supported since v2.1.0."),!!this.userAgent.match(/mobile|iemobile|mqqbrowser|juc|fennec|wosbrowser|browserng|webos|symbian|samsungbrowser/i)}},{key:"includes",value:function(U,$){return T.includes(U,$)}},{key:"find",value:function(U){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return $?T.includes($,U):T.find(U,this.userAgent)}},{key:"queryString",value:function(U){function $(te){return U.apply(this,arguments)}return $.toString=function(){return U.toString()},$}(function(U){return T.queryString(U,this.url)})}],E&&g(_.prototype,E),Object.defineProperty(_,"prototype",{writable:!1}),w}()},572:function(z,C,B){function H(F){return H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},H(F)}function g(F,T){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,w){return M.__proto__=w,M},g(F,T)}function A(F){var T=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(M){return!1}}();return function(){var M,w=V(F);if(T){var _=V(this).constructor;M=Reflect.construct(w,arguments,_)}else M=w.apply(this,arguments);return S(this,M)}}function S(F,T){if(T&&(H(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(F)}
60function V(F){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},V(F)}B.d(C,{default:function(){return L}});var L=function(F){(function(_,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(E&&E.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),E&&g(_,E)})(w,F);var T,M=A(w);function w(){return function(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")}(this,w),M.call(this,void 0)}return T=w,Object.defineProperty(T,"prototype",{writable:!1}),T}(B(793).default)},793:function(z,C,B){function H(F){return H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},H(F)}function g(F,T){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(M,w){return M.__proto__=w,M},g(F,T)}function A(F){var T=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(M){return!1}}();return function(){var M,w=V(F);if(T){var _=V(this).constructor;M=Reflect.construct(w,arguments,_)}else M=w.apply(this,arguments);return S(this,M)}}function S(F,T){if(T&&(H(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(F)}function V(F){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},V(F)}B.d(C,{default:function(){return L}});var L=function(F){(function(_,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(E&&E.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),E&&g(_,E)})(w,F);var T,M=A(w);function w(_){var E;if(function(me,ke){if(!(me instanceof ke))throw new TypeError("Cannot call a class as a function")}(this,w),_){var U=_.headers,$=_.url||"",te=U["user-agent"]||"",se=U["accept-language"]||"",Se=/([a-z0-9_-]+)(\s|,|;|$)/i.exec(se),be=(Se&&Se[1]||"").toLowerCase();E=M.call(this,{url:$,userAgent:te,language:be})}else{if(typeof window>"u")throw new TypeError('The "req" parameter is required on the server side');E=M.call(this,{window,url:window.location.href,userAgent:window.navigator.userAgent,language:(navigator.browserLanguage||window.navigator.language).toLowerCase()})}return S(E)}return T=w,Object.defineProperty(T,"prototype",{writable:!1}),T}(B(673).default)}},h={};function v(z){var C=h[z];if(C!==void 0)return C.exports;var B=h[z]={exports:{}};return o[z](B,B.exports,v),B.exports}v.d=function(z,C){for(var B in C)v.o(C,B)&&!v.o(z,B)&&Object.defineProperty(z,B,{enumerable:!0,get:C[B]})},v.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(z){if(typeof window=="object")return window}}(),v.o=function(z,C){return Object.prototype.hasOwnProperty.call(z,C)};var k,O={};return k=v(572),O.default=new k.default,O=O.default}()})})(q6);var L_=q6.exports;const Qh=d5(L_);(function(){try{if(typeof document<"u"){var b=document.createElement("style");b.appendChild(document.createTextNode(".effect-wrap[data-v-0bb486ee]{width:100%;height:100%;position:relative}.effect-wrap.show-canvas #webglCanvas[data-v-0bb486ee]{visibility:visible}.effect-wrap #webglCanvas[data-v-0bb486ee]{position:absolute;left:0;top:0;width:100%!important;height:100%!important;visibility:hidden}.effect-wrap img[data-v-0bb486ee],.effect-wrap .no-select[data-v-0bb486ee]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;outline:none;border:none}.effect-wrap .effect-hot-spot[data-v-0bb486ee]{position:absolute;
60left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:100}.effect-wrap .effect-hot-spot .loading-text[data-v-0bb486ee]{position:absolute;width:100%;top:5rem;text-align:center;background:green}")),document.head.appendChild(b)}}catch(u){console.error("vite-plugin-css-injected-by-js",u)}})();function h5(b,u){var o=Object.keys(b);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(b);u&&(h=h.filter(function(v){return Object.getOwnPropertyDescriptor(b,v).enumerable})),o.push.apply(o,h)}return o}function d3(b){for(var u=1;u<arguments.length;u++){var o=arguments[u]!=null?arguments[u]:{};u%2?h5(Object(o),!0).forEach(function(h){dg(b,h,o[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(o)):h5(Object(o)).forEach(function(h){Object.defineProperty(b,h,Object.getOwnPropertyDescriptor(o,h))})}return b}function j6(b,u){var o=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!o){if(Array.isArray(b)||(o=P_(b))||u){o&&(b=o);var h=0,v=function(){};return{s:v,n:function(){return h>=b.length?{done:!0}:{done:!1,value:b[h++]}},e:function(C){throw C},f:v}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var k=!0,O=!1,z;return{s:function(){o=o.call(b)},n:function(){var C=o.next();return k=C.done,C},e:function(C){O=!0,z=C},f:function(){try{!k&&o.return!=null&&o.return()}finally{if(O)throw z}}}}function P_(b,u){if(b){if(typeof b=="string")return f5(b,u);var o=Object.prototype.toString.call(b).slice(8,-1);if(o==="Object"&&b.constructor&&(o=b.constructor.name),o==="Map"||o==="Set")return Array.from(b);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return f5(b,u)}}function f5(b,u){(u==null||u>b.length)&&(u=b.length);for(var o=0,h=new Array(u);o<u;o++)h[o]=b[o];return h}var D_={},I_={BASIC:{vertexShader:"basic_vert",fragmentShader:"basic_frag",transparent:!0,uniforms:[{type:"f",key:"opacity",value:1},{type:"t",key:"diffuse",value:"DEFAULT"},{type:"c",key:"color",value:16712e3},{type:"c",key:"blendColor",value:0},{type:"f",key:"blendIntensity",value:0}],defines:{USE_TEXTURE:1,ALPHA_TEST:0,BLEND_MODE:0}},SPINE:{vertexShader:"spine_vert",fragmentShader:"spine_frag",transparent:!0,depthTest:!1,depthWrite:!1,side:2,uniforms:[{type:"f",key:"opacity",value:1},{type:"c",key:"blendColor",value:0},{type:"f",key:"blendIntensity",value:0}],defines:{ALPHA_TEST:0,BLEND_MODE:0}},SHEET:{vertexShader:"sheet_vert",fragmentShader:"sheet_frag",transparent:!0,depthTest:!1,depthWrite:!1,uniforms:[{type:"f",key:"opacity",value:1},{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"total",value:3},{type:"f",key:"count",value:1},{type:"f",key:"radius",value:1},{type:"f",key:"border",value:11.7},{type:"v3",key:"borderColor",value:[0,0,0]}]},CACHE_DISPLAY:{vertexShader:"cache_display_vert",fragmentShader:"cache_display_frag",transparent:!0,depthTest:!1,depthWrite:!1,uniforms:[{type:"f",key:"opacity",value:1},{type:"c",key:"shadowColor",value:0},{type:"f",key:"shadowOpacity",value:1},{type:"v2",key:"blur",value:[0,0]},{type:"c",key:"strokeColor",value:0},{type:"f",key:"strokeWidth",value:1},{type:"v2",key:"shadowBlur",value:[2,2]},{type:"v2",key:"shadowOffset",value:[0,0]},{type:"t",key:"mask",value:""},{type:"f",key:"maskAngle",value:0},{type:"v2",key:"maskOffset",value:[0,0]}],defines:{USE_BLUR:0,USE_SHADOW:0,USE_STROKE:0,USE_SPRITE:0,USE_MASK:0,MASK_CHANNEL:0}},BEZIER_PARTICLE:{vertexShader:"bezier_particle_vert",fragmentShader:"bezier_particle_frag",transparent:!0,depthWrite:!1,side:2,uniforms:[{type:"t",key:"diffuse",value:"DEFAULT"},{type:"f",key:"opacity",value:1},{type:"f",key:"lifeCurve",value:1},{type:"v2",key:"size",value:[20,30]},{type:"v2",key:"speed",value:[.5,1]},{type:"v2",key:"alpha",value:[.5,1]},{type:"v3",key:"startMin",value:[-500,-500,-500]},{type:"v3",key:"startMax",value:[500,500,500]},{type:"v3",key:"ctrMin",value:[0,0,0]},{type:"v3",key:"ctrMax",value:[0,0,0]},{type:"v3",key:"endMin",value:[0,0,0]},{type:"v3",key:"endMax",value:[0,0,0]},{type:"v3",key:"freqMin",value:[1,1,1]},{type:"v3",key:"freqMax",value:[1,1,1]},{type:"v3",key:"ampMin",value:[0,0,0]},{type:"v3",key:"ampMax",value:[0,0,0]},{type:"v3",key:"delayMin",value:[0,0,0]},{type:"v3",key:"delayMax",value:[6.28,6.28,6.28]},{type:"f",key:"tailLen",value:1},{type:"v2",key:"scale",value:[1,1]},{type:"v3",key:"rotMin",value:[0,0,0]},{type:"v3",key:"rotMax",value:[0,0,0]},{type:"v2",key:"rotRnd",value:[0,0]},{type:"v3",key:"gravityMin",value:[0,-200,0]},{type:"v3",key:"gravityMax",value:[0,-500,0]},{type:"v3",key:"blink",value:[.2,.8,5]},{type:"f",key:"imgNum",value:1},{type:"u",key:"time",value:"time"},{type:"f",key:"seed",value:0}],defines:{DELTA_OFFSET:0,USE_BEZIER:2,USE_WIGGLE:0,FOLLOW_PATH:0,FOLLOW_SIZE:0,USE_ROTATE:0,USE_FADE:0,USE_BLINK:0,USE_GRAVITY:0,USE_SCALE:0,USE_SPRITE:0,MULTI_IMGS:0,LOOP_COUNT:0}}},F_=[{id:"scene_ui",sceneConfig:{uiWidth:1334,uiHeight:750},camera:[{id:"camera_default",isDefault:!0,position:[0,0,1800],rotation:[0,0,0],camera:{type:2,near:.01,far:2e3,left:-1,right:1,top:1,bottom:-1}}],children:[{type:1,name:"scene_loading",uuid:"870e7bee-1f53-49c1-ab2e-0bea459edfd4",visible:!0,renderOrder:10,geometry:{type:2,config:{width:2500,height:1080}},material:[{id:"BASIC",depthTest:!1,depthWrite:!1,uniforms:[{type:"b",key:"diffuse",value:"scene_loading"}]}]}
60,{type:1,name:"scene_main",uuid:"c8b428f0-e1c0-408b-bce9-1da271127885",visible:!1,renderOrder:0,geometry:{type:2,config:{width:1920,height:1080}},material:[{id:"BASIC",depthTest:!1,depthWrite:!1,uniforms:[{type:"b",key:"diffuse",value:"scene_main"}]}]},{type:1,name:"scene_mobile",uuid:"5f349a83-70f5-478f-99b6-ea9e09208bcc",visible:!1,renderOrder:0,geometry:{type:2,config:{width:750,height:1200}},material:[{id:"BASIC",depthTest:!1,depthWrite:!1,uniforms:[{type:"b",key:"diffuse",value:"scene_mobile"}]}]}],buffer:""},{id:"scene_loading",sceneConfig:{uiWidth:1334,uiHeight:750},camera:[{id:"camera_default",isDefault:!0,position:[0,0,1308],rotation:[0,0,0],camera:{type:1,near:10,far:2e3,fov:32,aspect:1}}],children:[{type:1,name:"plane",uuid:"12a591bc-b9eb-4b7a-abfc-e5c132a6a45c",visible:!0,renderOrder:0,geometry:{type:2,config:{width:1334,height:1334}},material:[{id:"BASIC",depthTest:!1,depthWrite:!1,uniforms:[{type:"t",key:"diffuse",value:""},{type:"c",key:"color",value:9214699}],defines:{USE_TEXTURE:0}}]}]},{id:"scene_main",sceneConfig:{uiWidth:1920,uiHeight:1080},camera:[{id:"camera_default",isDefault:!0,position:[0,0,1880],rotation:[0,0,0],camera:{type:1,near:10,far:2e3,fov:32,aspect:1}}],children:[{type:0,name:"model_index_pc",uuid:"500cf47b-13b0-4d21-a8d3-e80779363f86",visible:!0,renderOrder:0,children:[{type:3,name:"bg",uuid:"e06d3cfb-81dd-41e2-8b14-776351078b21",visible:!0,renderOrder:0,material:[{id:"SPINE"}],position:[13,14,-5],spine:{id:"HanaCG2BG",maxVert:2349}},{type:0,name:"bubbleContainer",uuid:"18184bdc-1b0a-4350-9e8e-5d5357122f28",visible:!0,renderOrder:1,children:[{type:1,name:"bubble_1",uuid:"d8d44984-ff9a-487a-a143-bebb0ceabcb3",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"border",value:3.7},{type:"c",key:"borderColor",value:6857205}]}],position:[-662.5,-190,0],scale:[.20326,.20326,.20326],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,20,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_2",uuid:"765c4378-f0d0-4c19-86fd-dc5f6f95d33c",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:4},{type:"c",key:"borderColor",value:6857205}]}],position:[-679,124,0],scale:[.1282,.1282,.1282],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,-6.900000000000002,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_3",uuid:"24ac27a2-3004-4116-b13f-7ada63bd171e",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:3},{type:"f",key:"radius",value:.9},{type:"f",key:"border",value:5.3},{type:"c",key:"borderColor",value:6857205}]}],position:[-710,37.5,0],scale:[.1282,.1282,.1282],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,14.3,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_4",uuid:"ca41aac0-aa8f-4ef7-9fb0-dcecc7588231",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-759,39,0],scale:[.08779,.08779,.08779],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,15.599999999999998,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]}
60,{type:1,name:"bubble_5",uuid:"13008c01-1acb-4bed-b291-118a42b8e943",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:3},{type:"f",key:"radius",value:.85},{type:"f",key:"border",value:2.1},{type:"c",key:"borderColor",value:6857205}]}],position:[-625,177.5,0],scale:[.21481,.21481,.21481],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,10,0],moveDelay:[0,-13.70000000000001,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_6",uuid:"32286bc4-52b0-4a3b-9549-c403aa4178d5",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"f",key:"opacity",value:.6},{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-614,236.5,0],scale:[.08779,.08779,.08779],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,10.7,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_7",uuid:"29484713-4284-45ae-b372-acfea32a974d",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"f",key:"opacity",value:.2},{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-556,321,0],scale:[.08779,.08779,.08779],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,-6.900000000000002,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_8",uuid:"df29964d-dc1e-40bd-9749-1b9f522b9460",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"f",key:"opacity",value:.3},{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-588.5,298.5,0],scale:[.05026,.05026,.05026],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,4.199999999999999,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_9",uuid:"a5b7e5ab-b329-43fc-a52c-4feb5a85ef21",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:6.9},{type:"c",key:"borderColor",value:6857205}]}],position:[-481,411,0],scale:[.07046,.07046,.07046],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,11.299999999999997,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_10",uuid:"e27ace2a-cbfa-413e-b229-72b080b6cc63",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-543.5,418.5,0],scale:[.03871,.03871,.03871],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,-6.900000000000002,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]}
60,{type:1,name:"bubble_11",uuid:"f144f190-fe37-4360-9dbc-f3d663acc282",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-541,448.5,0],scale:[.03871,.03871,.03871],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,11.299999999999997,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_12",uuid:"138a8a14-a35c-430f-a30a-2623a6dd356f",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"radius",value:.96},{type:"f",key:"border",value:5.9},{type:"c",key:"borderColor",value:6857205}]}],position:[-493.5,488.5,0],scale:[.07624,.07624,.07624],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,-6.900000000000002,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]}],userData:{pluginData:{moveable:!1}}},{type:4,name:"blurContainer",uuid:"6b0fb01c-9362-4962-8bde-308350ec3b36",visible:!0,renderOrder:1,geometry:{type:2,config:{width:2e3,height:1080}},material:[{id:"CACHE_DISPLAY",uniforms:[{type:"v2",key:"blur",value:[2,2]},{type:"c",key:"strokeColor",value:4755192},{type:"f",key:"strokeWidth",value:20},{type:"v2",key:"shadowBlur",value:[0,0]},{type:"v2",key:"shadowOffset",value:[0,0]},{type:"t",key:"mask",value:""},{type:"f",key:"maskAngle",value:1},{type:"v2",key:"maskOffset",value:[0,0]}],defines:{USE_BLUR:1}}],position:[900,0,0],pluginId:"cacheDisplay",children:[{type:1,name:"bubble_1",uuid:"0aa5320d-b043-4a86-9347-f9df64bc0a22",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"border",value:3.7},{type:"c",key:"borderColor",value:6857205}]}],position:[-660,-477.5,0],scale:[.26677,.26677,.26677],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,20,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_2",uuid:"db0017c9-99dc-4a34-aa50-50647eaa75c5",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:4},{type:"c",key:"borderColor",value:6857205}]}],position:[-201.5,-293.5,0],scale:[.18882,.18882,.18882],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,-12.000000000000002,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_3",uuid:"4ac58c36-635a-4eb7-9ca9-4d3e700e40f8",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:3},{type:"f",key:"radius",value:.9},{type:"f",key:"border",value:5.3},{type:"c",key:"borderColor",value:6857205}]}],position:[-27.5,-392.5,0],scale:[.1946,.1946,.1946],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,30,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]}
60,{type:1,name:"bubble_4",uuid:"591ec7a2-84a3-4cbf-9f7e-21d7db9913de",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"border",value:3.7},{type:"c",key:"borderColor",value:6857205}]}],position:[-180,487.5,0],scale:[.15707,.15707,.15707],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,30,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]}],userData:{pluginData:{moveable:!1}}},{type:3,name:"spine",uuid:"70486a09-4c07-4357-8722-1fffd3a877da",visible:!0,renderOrder:2,material:[{id:"SPINE"}],position:[79,-62,0],spine:{id:"HanaCG2hana",maxVert:4096},hooksFunc:{init:"onCharacterInit",render:""}},{type:3,name:"spine",uuid:"4324fc04-e8df-435c-b2f5-8d2c53cdbd68",visible:!0,renderOrder:3,material:[{id:"SPINE"}],position:[384,-225,2],spine:{id:"HanaCG2bubblehomo",defaultAnimation:"homo2"}},{type:3,name:"other",uuid:"ab8b466a-afe2-40e4-b181-a25710c09cee",visible:!0,renderOrder:4,material:[{id:"SPINE"}],position:[-25,27.5,5],scale:[.93649,.93649,.93649],spine:{id:"HanaCG2bubbleother",defaultAnimation:"1",maxVert:2253}},{type:3,name:"bangbu",uuid:"e4c1e6ee-99ec-436f-85ff-f23a168a2511",visible:!0,renderOrder:2,material:[{id:"SPINE"}],position:[-62.5,12.5,2],spine:{id:"HanaCG2bubblebb",maxVert:2854}}]},{type:0,name:"container",uuid:"eb5c9b5d-a939-4cb1-82ee-d5fe2e2930b7",visible:!0,renderOrder:0},{type:4,name:"bezier_particle",uuid:"7d7447a5-4da7-49e1-a041-1fb9793bdb7f",visible:!1,renderOrder:99,material:[{id:"BEZIER_PARTICLE",depthTest:!1,uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"v2",key:"size",value:[30,50]},{type:"v2",key:"speed",value:[1,1]},{type:"v2",key:"alpha",value:[.5,1]},{type:"v3",key:"startMin",value:[80,-50,0]},{type:"v3",key:"startMax",value:[80,-50,0]},{type:"v3",key:"ctrMin",value:[0,0,0]},{type:"v3",key:"ctrMax",value:[0,0,0]},{type:"v3",key:"endMin",value:[0,70,0]},{type:"v3",key:"endMax",value:[0,150,0]},{type:"v3",key:"freqMin",value:[1,1,1]},{type:"v3",key:"freqMax",value:[1,1,1]},{type:"v3",key:"ampMin",value:[-20,0,0]},{type:"v3",key:"ampMax",value:[20,0,0]},{type:"v3",key:"delayMin",value:[0,0,0]},{type:"v3",key:"delayMax",value:[6.28,6.28,6.28]},{type:"v2",key:"scale",value:[1,1]},{type:"v3",key:"rotMin",value:[0,0,0]},{type:"v3",key:"rotMax",value:[0,0,0]},{type:"v2",key:"rotRnd",value:[0,0]},{type:"v3",key:"gravityMin",value:[0,-200,0]},{type:"v3",key:"gravityMax",value:[0,-500,0]},{type:"v3",key:"blink",value:[.2,.8,5]},{type:"f",key:"imgNum",value:3},{type:"f",key:"time",value:0},{type:"f",key:"seed",value:.8}],defines:{DELTA_OFFSET:1,USE_WIGGLE:1,FOLLOW_SIZE:1,USE_FADE:1,USE_SCALE:1,MULTI_IMGS:1}}],pluginId:"BEZIER_PARTICLE",userData:{pluginData:{count:1,isEquality:!0,shape:""}},exportID:"particle"},{type:4,name:"emitter",uuid:"cb2e44e0-061b-4821-9f6b-d10b2a87d29c",visible:!0,renderOrder:99,material:[],pluginId:"EMITTER",userData:{pluginData:{emitItemID:"particle",followTarget:"",emitCount:1,emitGap:[5,10],life:[1,1.5],lifeProp:"time",lifeValue:[2,3],posMin:[0,0,0],posMax:[0,0,0],rotMin:[0,0,0],rotMax:[0,0,0],sclMin:[1,1,1],sclMax:[1,1,1]}}}],hooksFunc:{init:"onMainInit",render:""}},{id:"scene_mobile",sceneConfig:{uiWidth:750,uiHeight:1160},camera:[{id:"camera_default",isDefault:!0,position:[0,0,2025.2],rotation:[0,0,0],camera:{type:1,near:10,far:4e3,fov:32,aspect:1}}],children:[{type:0,name:"obj3d",uuid:"9abfd923-9b78-4c73-8a06-c0ba2ad946c4",visible:!0,renderOrder:0,children:[{type:3,name:"spine",uuid:"a18764b7-7296-4812-9a37-2c6f84075652",visible:!0,renderOrder:1,material:[{id:"SPINE"}],position:[-7,-44,.5],scale:[.89319,.89319,.89319],spine:{id:"HanaCG2hana",maxVert:4096},hooksFunc:{init:"onCharacterMobileInit",render:""}},{type:0,name:"bubbleContainer",uuid:"a709cc11-3f69-4a83-9dd5-1bcc272480fc",visible:!0,renderOrder:1,position:[247.5,95,0],children:[{type:1,name:"bubble_1",uuid:"155571d1-b1e2-4cbd-996a-bfa62acfcef1",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"border",value:3.7},{type:"c",key:"borderColor",value:6857205}
60,{type:"f",key:"opacity",value:.7}]}],position:[-552.5,-487.5,0],scale:[.13109,.13109,.13109],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,20,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_2",uuid:"d61e335d-5ff7-46c6-abf5-26207830419f",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:4},{type:"c",key:"borderColor",value:6857205}]}],position:[-679,124,0],scale:[.1282,.1282,.1282],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,-6.900000000000002,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_3",uuid:"5f3b9d6c-f93f-4570-863c-f11b2c5c5132",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:3},{type:"f",key:"radius",value:.9},{type:"f",key:"border",value:5.3},{type:"c",key:"borderColor",value:6857205}]}],position:[-710,37.5,0],scale:[.1282,.1282,.1282],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,14.3,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_4",uuid:"16a7da31-971c-4d4c-b69f-6642a9792c51",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-759,39,0],scale:[.08779,.08779,.08779],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,15.599999999999998,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_5",uuid:"4442e289-3fda-4975-bd8d-729fc558253f",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:3},{type:"f",key:"radius",value:.85},{type:"f",key:"border",value:2.1},{type:"c",key:"borderColor",value:6857205}]}],position:[-625,177.5,0],scale:[.21481,.21481,.21481],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,10,0],moveDelay:[0,-13.70000000000001,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_6",uuid:"79be92d1-efcb-4fdb-8479-fc4da674ec90",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"f",key:"opacity",value:.6},{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-614,236.5,0],scale:[.08779,.08779,.08779],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,10.7,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]}
60,{type:1,name:"bubble_7",uuid:"be1cbcf2-4b9c-4125-857b-1ca68c5a96aa",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"f",key:"opacity",value:.2},{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-556,321,0],scale:[.08779,.08779,.08779],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,-6.900000000000002,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_8",uuid:"3209ebce-79b9-4010-a091-ab5c21d1de55",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"f",key:"opacity",value:.3},{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-588.5,298.5,0],scale:[.05026,.05026,.05026],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,4.199999999999999,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_9",uuid:"74b2d3a3-bc6a-464d-8253-1f9b684199ef",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:6.9},{type:"c",key:"borderColor",value:6857205}]}],position:[-481,411,0],scale:[.07046,.07046,.07046],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,11.299999999999997,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_10",uuid:"e57e8f98-a63a-4fe0-bc6d-20e0ea2941d2",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-543.5,418.5,0],scale:[.03871,.03871,.03871],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,-6.900000000000002,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_11",uuid:"98f8b07c-ff71-46e3-81df-adb568dd205b",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:8.4},{type:"c",key:"borderColor",value:6857205}]}],position:[-541,448.5,0],scale:[.03871,.03871,.03871],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,11.299999999999997,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_12",uuid:"336a7e21-edb3-477a-9dbb-a012eb306bd4",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"radius",value:.96},{type:"f",key:"border",value:5.9},{type:"c",key:"borderColor",value:6857205}]}],position:[-493.5,488.5,0],scale:[.07624,.07624,.07624],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,-6.900000000000002,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]}],userData:{pluginData:{moveable:!1}}},{type:4,name:"blurContainer",uuid:"5cc9c7ac-cfa7-47d3-8174-42552bd0e130",visible:!0,renderOrder:1,geometry:{type:2,config:{width:2e3,height:1080}},material:[{id:"CACHE_DISPLAY",uniforms:[{type:"v2",key:"blur",value:[2,2]},{type:"c",key:"strokeColor",value:4755192},{type:"f",key:"strokeWidth",value:20},{type:"v2",key:"shadowBlur",value:[0,0]},{type:"v2",key:"shadowOffset",value:[0,0]},{type:"t",key:"mask",value:""},{type:"f",key:"maskAngle",value:1},{type:"v2",key:"maskOffset",value:[0,0]}],defines:{USE_BLUR:1}}],position:[900,-67.5,0],pluginId:"cacheDisplay",children:[{type:1,name:"bubble_1",uuid:"a0e40ea3-c008-4139-8d5d-cdee04e2735b",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"border",value:3.7},{type:"c",key:"borderColor",value:6857205}]}],position:[-545,-365,0],scale:[.26677,.26677,.26677],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,20,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]}
60,{type:1,name:"bubble_2",uuid:"282bcd3b-13ac-4c40-b56d-f85e9748c00d",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:2},{type:"f",key:"radius",value:.56},{type:"f",key:"border",value:4},{type:"c",key:"borderColor",value:6857205}]}],position:[-201.5,-293.5,0],scale:[.18882,.18882,.18882],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,-12.000000000000002,0],moveDelay:[0,0,0],moveOctaves:2,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_3",uuid:"cc750392-f3ec-4e2c-ba64-5bbf5884f57d",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"count",value:3},{type:"f",key:"radius",value:.9},{type:"f",key:"border",value:5.3},{type:"c",key:"borderColor",value:6857205}]}],position:[-27.5,-392.5,0],scale:[.1946,.1946,.1946],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,30,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]},{type:1,name:"bubble_4",uuid:"b256fa79-1a6a-4c26-bfe5-afbc055bfa70",visible:!0,renderOrder:1,geometry:{type:2,config:{width:512,height:512}},material:[{id:"SHEET",uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"f",key:"border",value:3.7},{type:"c",key:"borderColor",value:6857205}]}],position:[-180,487.5,0],scale:[.15707,.15707,.15707],modifier:[{id:"wiggle_roty_posxz",data:{moveSpeed:[1,1,1],moveAmp:[0,30,0],moveDelay:[0,0,0],moveOctaves:1,rotSpeed:[1,1,1],rotAmp:[0,0,0],rotDelay:[0,0,0],rotOctaves:1,scaleSpeed:[0,0,0],scaleAmp:[.1,.1,0],scaleDelay:[0,0,0],scaleOctaves:1,opacitySpeed:1,opacityAmp:0,opacityCenter:0,opacityDelay:0,opacityOctaves:1}}]}],userData:{pluginData:{moveable:!1}}},{type:3,name:"spine",uuid:"64c81255-6d01-4c5d-abc7-673a740fc2d1",visible:!0,renderOrder:3,material:[{id:"SPINE"}],position:[128,-31,2],scale:[.75,.75,1],spine:{id:"HanaCG2bubblebb",maxVert:2854}},{type:3,name:"spine",uuid:"e865a64e-98c4-419f-ad58-27830d682b3e",visible:!0,renderOrder:4,material:[{id:"SPINE"}],position:[288,-209,2],scale:[.75,.75,1],spine:{id:"HanaCG2bubblehomo",defaultAnimation:"homo2"}},{type:3,name:"spine",uuid:"f8e7853e-cbf2-4927-ae32-c460eee3aaf7",visible:!0,renderOrder:5,material:[{id:"SPINE"}],position:[1,-7.5,5],spine:{id:"appHanaCG2bubbleother",maxVert:2253}}]},{type:0,name:"container",uuid:"6a9c1d22-d27f-482d-b5d8-34cc1b87a2b7",visible:!0,renderOrder:0,autoMatrix:!0},{type:4,name:"bezier_particle",uuid:"c0c43c89-aecb-4a01-ac2e-96b65f2b0d12",visible:!1,renderOrder:99,material:[{id:"BEZIER_PARTICLE",depthTest:!1,uniforms:[{type:"t",key:"diffuse",value:"bubble_particle"},{type:"v2",key:"size",value:[30,50]},{type:"v2",key:"speed",value:[1,1]},{type:"v2",key:"alpha",value:[.5,1]},{type:"v3",key:"startMin",value:[80,-50,0]},{type:"v3",key:"startMax",value:[80,-50,0]},{type:"v3",key:"ctrMin",value:[0,0,0]},{type:"v3",key:"ctrMax",value:[0,0,0]},{type:"v3",key:"endMin",value:[0,70,0]},{type:"v3",key:"endMax",value:[0,150,0]},{type:"v3",key:"freqMin",value:[1,1,1]},{type:"v3",key:"freqMax",value:[1,1,1]},{type:"v3",key:"ampMin",value:[-20,0,0]},{type:"v3",key:"ampMax",value:[20,0,0]},{type:"v3",key:"delayMin",value:[0,0,0]},{type:"v3",key:"delayMax",value:[6.28,6.28,6.28]},{type:"v2",key:"scale",value:[1,1]},{type:"v3",key:"rotMin",value:[0,0,0]},{type:"v3",key:"rotMax",value:[0,0,0]},{type:"v2",key:"rotRnd",value:[0,0]},{type:"v3",key:"gravityMin",value:[0,-200,0]},{type:"v3",key:"gravityMax",value:[0,-500,0]},{type:"v3",key:"blink",value:[.2,.8,5]},{type:"f",key:"imgNum",value:3},{type:"f",key:"time",value:0},{type:"f",key:"seed",value:.8}],defines:{DELTA_OFFSET:1,USE_WIGGLE:1,FOLLOW_SIZE:1,USE_FADE:1,USE_SCALE:1,MULTI_IMGS:1}
60}],pluginId:"BEZIER_PARTICLE",userData:{pluginData:{count:1,isEquality:!0,shape:""}},exportID:"particle_m"},{type:4,name:"emitter_m",uuid:"b9846271-2a68-4482-b4a0-fe607379c4de",visible:!0,renderOrder:99,material:[],pluginId:"EMITTER_M",userData:{pluginData:{emitItemID:"particle_m",followTarget:"",emitCount:1,emitGap:[5,10],life:[1,1.5],lifeProp:"time",lifeValue:[2,3],posMin:[0,0,0],posMax:[0,0,0],rotMin:[0,0,0],rotMax:[0,0,0],sclMin:[1,1,1],sclMax:[1,1,1]}}},{type:1,name:"plane",uuid:"af5e5e51-718c-42d6-a07a-77cc7a773631",visible:!0,renderOrder:0,geometry:{type:2,config:{width:750,height:1160}},material:[{id:"BASIC",depthTest:!1,depthWrite:!1,uniforms:[{type:"t",key:"diffuse",value:"mobile_bg"}]}]}],hooksFunc:{init:"onMobileInit",render:""}},{id:"scene_border_bubble",sceneConfig:{uiWidth:1920,uiHeight:1080},camera:[{id:"camera_default",isDefault:!0,position:[0,0,1880],rotation:[0,0,0],camera:{type:1,near:10,far:2e3,fov:32,aspect:1}}],children:[]},{id:"temp",sceneConfig:{uiWidth:2500,uiHeight:1080},camera:[{id:"camera_default",isDefault:!0,position:[0,0,1880],rotation:[0,0,0],camera:{type:1,near:10,far:2e3,fov:32,aspect:1}}],children:[]}],B_={},N_={geometries:D_,shaderMap:I_,sceneList:F_,textureParameterMap:B_},U_="appHanaCG2bubbleother.png\nsize:1635,339\nfilter:Linear,Linear\nscale:0.22\nchameleon\nbounds:886,2,130,120\noffsets:2,0,133,120\nchameleonbubble\nbounds:724,14,105,160\nrotate:90\nchameleonbubble2\nbounds:274,99,238,238\ncroissant\nbounds:243,7,74,58\ncroissantbubble\nbounds:193,6,59,48\nrotate:90\ncroissantbubble2\nbounds:616,10,109,106\nrotate:90\nlmbody\nbounds:1523,6,72,38\noffsets:2,2,76,42\nrotate:90\nlmshou\nbounds:1563,38,69,40\noffsets:2,2,73,44\nlmtou\nbounds:909,127,193,210\noffsets:2,2,198,214\nlumibubble\nbounds:114,4,61,77\nrotate:90\nlumibubble2\nbounds:1382,190,147,147\npm\nbounds:1104,148,98,189\noffsets:44,0,172,190\npmbubble\nbounds:732,124,175,213\npmbubble2\nbounds:2,67,270,270\npmear1\nbounds:1531,240,97,102\noffsets:0,0,97,104\nrotate:90\npmear2\nbounds:45,3,67,62\noffsets:1,4,71,71\npmleftclothes\nbounds:2,2,41,63\noffsets:2,2,45,67\npmlefthand\nbounds:1442,12,56,33\noffsets:3,4,61,40\nrotate:90\npmrightclothes\nbounds:1382,161,41,27\noffsets:3,3,45,32\npmrighthand\nbounds:1464,164,41,24\noffsets:3,3,47,30\npmtial\nbounds:1477,16,52,35\noffsets:2,3,56,41\nrotate:90\nprojector\nbounds:480,7,90,134\noffsets:0,0,95,134\nrotate:90\nprojector2\nbounds:274,68,26,29\nprojectorbubble\nbounds:1018,21,104,139\nrotate:90\nprojectorbubble2\nbounds:1204,161,176,176\nshoupa\nbounds:1425,162,37,26\noffsets:2,2,40,31\nslime\nbounds:1531,160,100,78\noffsets:1,5,104,86\nslimepaopao\nbounds:1290,9,150,150\nwd1\nbounds:1523,80,99,78\nwd2\nbounds:398,5,92,80\nrotate:90\nwd3\nbounds:1442,70,90,79\nrotate:90\nwd4\nbounds:319,3,94,77\nrotate:90\nwdbubble\nbounds:514,121,216,216\nwdlight\nbounds:1159,11,135,129\nrotate:90\n",z_={hash:"JDcr/rVhyzA",spine:"4.0-from-4.1.23",images:"C:/Users/xiankang.zhan/Desktop/需求/Hana米游CG2落地页动画/HanaCG2bubble/other/bubbleimages",audio:"C:/Users/xiankang.zhan/Desktop/需求/Hana米游CG2落地页动画/HanaCG2bubble/other"},G_=[{name:"root",scaleX:.22,scaleY:.22},{name:"root2",parent:"root",x:-6964.86,y:-3815.51,color:"ff0000ff"},{name:"lumibubble2",parent:"root",x:-1364.97,y:-1142.11,scaleX:.8,scaleY:.8},{name:"lumi_logo_2",parent:"lumibubble2",x:6.69,y:-1.35},{name:"chameleonbubble2",parent:"root",x:-754.42,y:-1669.98,scaleX:.9,scaleY:.9},{name:"chameleon",parent:"chameleonbubble2",x:64.36,y:2.8},{name:"chameleon2",parent:"chameleon",length:124.99,rotation:-8.78,x:105.21,y:-183.09},{name:"chameleon3",parent:"chameleon2",length:112.04,rotation:40.47,x:124.99},{name:"chameleon4",parent:"chameleon3",length:118.72,rotation:48.25,x:112.04},{name:"chameleon5",parent:"chameleon4",length:84.32,rotation:93.28,x:118.72},{name:"chameleon6",parent:"chameleon5",length:78.46,rotation:80.83,x:84.32},{name:"wdlight",parent:"root",x:145.89,y:-1884.97,scaleX:.8,scaleY:.8},{name:"slime",parent:"wdlight",x:-13.33,y:-71.98},{name:"wdbubble",parent:"root",x:939.54,y:-1773.61,scaleX:.8,scaleY:.8},{name:"wd1",parent:"wdbubble",x:-148.64,y:188.66},{name:"wd3",parent:"wdbubble",x:241.55,y:102.91},{name:"wd4",parent:"wdbubble",x:-175.8,y:-48.6},{name:"wd2",parent:"wdbubble",x:117.2,y:-184.38},{name:"pmbubble",parent:"root",x:-1236.64,y:913.06,scaleX:.8,scaleY:.8},{name:"pm",parent:"pmbubble",x:160.48,y:-237.41},{name:"pm2",parent:"pm",length:80.28,rotation:121.05,x:-2.81,y:4.91},{name:"pm3",parent:"pm2",length:122.88,rotation:-22.18,x:79.43,y:-2.77},{name:"pmlefthand",parent:"pm3",length:174.3,rotation:97.74,x:131.36,y:72.54},{name:"pmrighthand",parent:"pm3",length:162.14,rotation:-86.88,x:81.54,y:-41.85},{name:"pmtial",parent:"pm2",length:72,rotation:105.93,x:20.73,y:19.47},{name:"pmtial2",parent:"pmtial",length:72.2,rotation:-21.66,x:72},{name:"pmtial3",parent:"pmtial2",length:67.23,rotation:-11.43,x:72.2},{name:"pm4",parent:"pm",length:94.01,rotation:-12.06,x:39.3,y:23.86},{name:"pm5",parent:"pm",length:88.6,rotation:-57.95,x:-40,y:-58.25},{name:"pmear1",parent:"pm3",length:111.31,rotation:134.76,x:351.95,y:95.6},{name:"pmear2",parent:"pmear1",length:102.71,rotation:-32.62,x:111.31},{name:"pmear3",parent:"pmear2",length:128.38,rotation:11.39,x:102.71},{name:"pmear4",parent:"pmear3",length:96.45,rotation:51.4,x:128.38},{name:"pmear5",parent:"pmear4",length:101.82,rotation:26.99,x:96.45},{name:"pmear6",parent:"pm3",length:85.46,rotation:-139.98,x:208.8,y:-78.98},{name:"pmear7",parent:"pmear6",length:80.37,rotation:37.05,x:85.46},{name:"pmear8",parent:"pmear7",length:81.95,rotation:25.28,x:80.37},{name:"pmear9",parent:"pmear8",length:63.54,rotation:27.8,x:81.95},{name:"projectorbubble2",parent:"root",x:1350.41,y:1793.95,scaleX:-.6,scaleY:.6},{name:"projector2",parent:"projectorbubble2",x:146.82,y:-145.92},{name:"projector3",parent:"projector2",length:150.51,rotation:139.58},{name:"projector4",parent:"projector3",length:155.19,rotation:-2.48,x:150.51},{name:"projector5",parent:"projector4",length:205.1,rotation:-8.48,x:155.19},{name:"croissantbubble",parent:"root",x:-838.82,y:1670.17,scaleX:.8,scaleY:.8},{name:"croissant",parent:"croissantbubble",x:4.47,y:37.54},{name:"pm6",parent:"pm3",length:44.73,rotation:157.61,x:93.49,y:46.46},{name:"pm7",parent:"pm6",length:67.9,rotation:-2.57,x:44.73},{name:"pm8",parent:"pm7",length:60.18,rotation:-1.71,x:67.9},{name:"pm9",parent:"pm8",length:46.96,rotation:-10.36,x:60.18},{name:"pm10",parent:"pm3",length:52.76,rotation:-147.73,x:78.15,y:-38.88},{name:"pm11",parent:"pm10",length:45.82,rotation:22.29,x:52.76},{name:"pm12",parent:"pm11",length:51.31,rotation:20.48,x:45.82},{name:"pm13",parent:"pm3",length:25.38,rotation:-173.2,x:83.21,y:-6.44},{name:"pm14",parent:"pm13",length:27.84,rotation:-.14,x:25.38},{name:"lmshou",parent:"lumi_logo_2",length:68.02,rotation:85.21,x:-33.08,y:-209.92}
60,{name:"lmtou",parent:"lmshou",length:105.28,rotation:.92,x:71.97,y:-.38},{name:"bone",parent:"root",transform:"noScale"}],V_=[{name:"chameleon",bone:"chameleon",attachment:"chameleon"},{name:"chameleonbubble2",bone:"chameleonbubble2",attachment:"chameleonbubble2"},{name:"chameleonbubble",bone:"chameleonbubble2",attachment:"chameleonbubble"},{name:"lmtou",bone:"lmtou",attachment:"lmtou"},{name:"lmbody",bone:"lmshou",attachment:"lmbody"},{name:"lmshou",bone:"lmshou",attachment:"lmshou"},{name:"lumibubble2",bone:"lumibubble2",attachment:"lumibubble2"},{name:"lumibubble",bone:"lumibubble2",attachment:"lumibubble"},{name:"projectorbubble2",bone:"projectorbubble2",attachment:"projectorbubble2"},{name:"projectorbubble",bone:"projectorbubble2",attachment:"projectorbubble"},{name:"projector2",bone:"projector2",attachment:"projector2"},{name:"projector",bone:"projector2",attachment:"projector"},{name:"croissantbubble2",bone:"croissantbubble",attachment:"croissantbubble2"},{name:"croissantbubble",bone:"croissantbubble",attachment:"croissantbubble"},{name:"croissant",bone:"croissant",attachment:"croissant"},{name:"pmear1",bone:"pmear1",attachment:"pmear1"},{name:"pmtial",bone:"pmtial",attachment:"pmtial"},{name:"pmear2",bone:"pmear6",attachment:"pmear2"},{name:"pmrighthand",bone:"pmrighthand",attachment:"pmrighthand"},{name:"pm",bone:"pm",attachment:"pm"},{name:"pmrightclothes",bone:"pm3",attachment:"pmrightclothes"},{name:"pmleftclothes",bone:"pm3",attachment:"pmleftclothes"},{name:"shoupa",bone:"pm3",attachment:"shoupa"},{name:"pmlefthand",bone:"pmlefthand",attachment:"pmlefthand"},{name:"pmbubble2",bone:"pmbubble",attachment:"pmbubble2"},{name:"pmbubble",bone:"pmbubble",attachment:"pmbubble"},{name:"slimepaopao",bone:"wdlight",attachment:"slimepaopao"},{name:"slime",bone:"slime",attachment:"slime"},{name:"wdlight",bone:"wdlight",attachment:"wdlight"},{name:"wd4",bone:"wd4",attachment:"wd4"},{name:"wd3",bone:"wd3",attachment:"wd3"},{name:"wd2",bone:"wd2",attachment:"wd2"},{name:"wd1",bone:"wd1",attachment:"wd1"},{name:"wdbubble",bone:"wdbubble",attachment:"wdbubble"}],H_=[{name:"default",attachments:{chameleon:{chameleon:{type:"mesh",uvs:[.0668,.08154,.05511,.20935,.02007,.28689,.02526,.51377,.07199,.6789,.2018,.88138,.41391,.97258,.56968,.99269,.73713,.97258,.84746,.90222,.93833,.79452,.98895,.63513,.99025,.49872,.93573,.37666,.85395,.35799,.79828,.37531,.75255,.45275,.72702,.51358,.70783,.59634,.69915,.65194,.70326,.69641,.7241,.741,.7502,.75178,.77686,.75666,.7979,.74943,.8139,.7338,.8228,.72329,.83051,.71104,.83387,.69507,.82972,.68173,.81133,.66729,.7874,.66663,.79254,.64869,.81073,.62769,.82675,.61544,.83961,.63644,.84238,.66116,.83882,.69026,.83644,.70448,.82735,.72198,.81251,.7408,.78814,.75919,.77714,.76726,.73523,.77893,.69076,.76631,.66425,.75559,.6862,.69693,.69276,.67265,.69504,.64332,.69817,.5976,.69703,.55029,.72273,.48873,.74714,.42279,.75951,.36316,.75868,.25847,.73227,.14293,.68592,.08061,.54919,.00661,.37022,.05205,.20826,.03063,.45396,.16689,.39397,.21429,.35892,.31168,.3745,.43837,.43215,.50559,.56537,.51421,.64484,.44871,.676,.36166,.68535,.29013,.68847,.23583,.65029,.22205,.60355,.17292,.53421,.1462,.38307,.48083,.33844,.11822,.28307,.20924,.2577,.32153,.27384,.43467,.31921,.5444,.40534,.61331,.50531,.62777,.62065,.598],triangles:[27,29,28,30,27,26,27,30,29,31,26,25,25,24,31,24,23,31,17,16,34,33,18,17,34,33,17,32,18,33,19,18,32,31,19,32,20,19,31,26,31,30,21,20,31,22,21,31,31,23,22,14,16,15,12,34,14,12,14,13,34,16,14,38,37,10,12,35,34,11,35,12,36,35,11,11,37,36,10,37,11,39,38,10,10,40,39,9,40,10,41,40,9,42,41,9,9,8,43,9,43,42,81,50,49,48,81,49,47,81,48,46,81,47,45,81,46,6,79,80,5,79,6,80,81,45,45,6,80,7,6,45,7,45,44,8,7,44,8,44,43,74,59,58,57,60,58,71,72,57,72,60,57,74,58,60,56,71,57,71,56,55,75,59,74,61,74,60,75,74,61,70,71,55,69,70,55,69,55,54,68,70,69,68,69,54,62,75,61,59,1,0,76,75,62,59,75,1,76,1,75,2,1,76,67,70,68,68,54,53,67,68,53,52,67,53,77,76,62,64,63,62,77,62,63,67,62,70,71,70,60,66,67,52,51,66,52,64,73,63,60,62,61,67,64,62,60,72,71,60,70,62,67,65,64,3,2,76,3,76,77,66,65,67,73,78,77,73,77,63,50,66,51,65,66,50,81,65,50,79,73,64,78,73,79,80,64,65,80,65,81,79,64,80,78,4,3,78,3,77,5,4,78,5,78,79],vertices:[1,5,-171.35,220.68,1,1,5,-178.41,150.9,1,1,5,-199.58,108.57,1,2,5,-196.44,-15.31,.97192,6,-323.72,119.8,.02808,2,5,-168.21,-10
605.47,.84365,6,-282.07,35,.15635,2,5,-89.81,-216.02,.46479,6,-187.72,-62.3,.53521,2,5,38.31,-265.82,.06488,6,-53.5,-91.97,.93512,1,6,41.15,-88.46,1,2,6,139.44,-62.19,.63289,7,-29.37,-56.69,.36711,2,6,199.44,-14.05,.00367,7,47.52,-59.01,.99633,2,7,125.11,-37.8,.52418,8,-19.51,-34.92,.47582,1,8,71.52,-49.83,1,2,8,145,-37.6,.54097,9,-39.04,-24.09,.45903,2,8,204.87,6.46,.00827,9,1.52,-86.38,.99173,1,9,51.77,-90.68,1,1,9,84.05,-77.32,1,2,9,106.49,-32.07,.73125,10,-28.13,-26.99,.26875,2,9,117.88,2.73,.08668,10,8.04,-32.7,.91332,1,10,54.67,-31.42,1,1,10,85.3,-28.13,1,1,10,107.97,-19.07,1,1,10,127.92,-.28,1,1,10,129.25,16.49,1,1,10,127.39,32.71,1,1,10,120.1,43.84,1,1,10,109.24,50.79,1,1,10,102.25,54.39,1,1,10,94.54,57.03,1,1,10,85.59,56.58,1,2,8,29.68,40.42,7e-5,10,79.28,52.17,.99993,3,8,35.5,52.74,.00144,9,57.41,80.06,57e-5,10,74.75,39.32,.99799,3,8,33.33,67.03,.00717,9,71.81,81.41,.0048,10,78.37,25.33,.98803,3,8,43.52,65.69,.04022,9,69.88,71.32,.03355,10,68.1,25.62,.92623,3,8,56.73,56.87,.15762,9,60.32,58.63,.13208,10,54.06,33.04,.7103,4,7,119.13,80.8,.00151,8,65.01,48.51,.35474,9,51.5,50.85,.22827,10,44.97,40.5,.41548,4,7,119.72,66.96,.01639,8,55.07,38.86,.6907,9,42.44,61.32,.13256,10,53.86,51.12,.16035,4,7,114.05,54.6,.06685,8,42.07,34.86,.81586,9,39.18,74.53,.05293,10,66.38,56.44,.06437,4,7,103.87,42.21,.24092,8,26.05,34.2,.72799,9,39.44,90.55,.01276,10,82.25,58.73,.01832,4,7,98.58,36.36,.39982,8,18.16,34.26,.58674,9,39.95,98.43,.00494,10,90.11,59.49,.00849,4,7,88.88,31.11,.68138,8,7.79,38,.31594,9,44.28,108.57,63e-5,10,100.8,56.83,.00205,4,7,75.86,27.08,.91325,8,-3.89,45.03,.08653,9,51.97,119.83,2e-5,10,113.14,51.04,2e-4,3,6,152.11,57.66,.01025,7,58.05,26.27,.98031,8,-16.35,57.77,.00944,4,5,257.7,-153.72,3e-5,6,146.22,52.29,.03227,7,50.09,26.01,.96505,8,-21.85,63.54,.00265,3,5,232.39,-160.09,.00233,6,122.17,42.14,.35642,7,25.21,33.88,.64125,3,5,205.52,-153.2,.02422,6,94.58,44.85,.82215,7,5.97,53.86,.15362,3,5,189.51,-147.35,.07301,6,77.86,48.19,.89799,7,-4.58,67.25,.029,3,5,202.77,-115.32,.21653,6,86.07,81.86,.78326,7,23.52,87.54,21e-5,2,5,206.73,-102.06,.26186,6,87.97,95.57,.73813,2,5,208.11,-86.05,.31812,6,86.88,111.61,.68188,2,5,210,-61.08,.41412,6,84.95,136.57,.58588,2,5,209.31,-35.25,.52889,6,80.33,161.99,.47111,2,5,224.83,-1.64,.6644,6,90.54,197.58,.3356,2,5,239.58,34.37,.75453,6,99.62,235.41,.24547,2,5,247.05,66.92,.80892,6,102.03,268.73,.19108,2,5,246.55,124.08,.88041,6,92.82,325.14,.11959,2,5,230.6,187.17,.9328,6,67.43,385.06,.0672,2,5,202.6,221.19,.95385,6,34.57,414.41,.04615,2,5,120.02,261.6,.98578,6,-53.21,441.74,.01422,2,5,11.92,236.79,.9997,6,-156.26,400.73,3e-4,1,5,-85.9,248.48,1,2,5,62.5,174.09,.98954,6,-96.71,346.48,.01046,2,5,26.26,148.21,.99545,6,-128.57,315.38,.00455,2,5,5.09,95.03,.99732,6,-141.38,259.59,.00268,2,5,14.5,25.86,.99089,6,-121.53,192.67,.00911,2,5,49.32,-10.85,.85604,6,-81.51,161.71,.14396,2,5,129.79,-15.55,.64395,6,-1.27,169.33,.35605,2,5,177.79,20.21,.71102,6,40.71,212,.28898,2,5,196.61,67.74,.81197,6,52.06,261.84,.18803,2,5,202.26,106.8,.86997,6,51.68,301.3,.13003,2,5,204.14,136.44,.90282,6,49.02,330.89,.09718,2,5,181.08,143.97,.91873,6,25.08,334.81,.08127,2,5,152.85,170.79,.95098,6,-6.91,357.01,.04902,2,5,110.97,185.38,.97547,6,-50.53,365.04,.02453,2,5,19.68,2.67,.96789,6,-112.88,170.54,.03211,2,5,-7.28,200.66,.99994,6,-169.72,362.1,6e-5,1,5,-40.72,150.96,1,1,5,-56.05,89.65,1,2,5,-46.29,27.88,.99911,6,-181.92,185.39,89e-5,2,5,-18.89,-32.04,.92263,6,-145.69,130.35,.07737,2,5,33.13,-69.66,.65951,6,-88.54,101.11,.34049,2,5,93.51,-77.56,.45397,6,-27.67,102.52,.54603,2,5,163.18,-61.3,.42205,6,38.71,129.21,.57795],hull:60,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,84,86,86,88,88,90,90,92,92,94,94,96,96,98,98,100,100,102,102,104,104,106,106,108,108,110,110,112,112,114,114,116,116,118,0,118,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,66,68,68,70,70,72,72,74,74,76,76,78,78,80,82,84,80,82],width:604,height:546}},chameleonbubble:{chameleonbubble:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[78.66,-285.99,-397.34,-285.99,-397.34,441.01,78.66,441.01],hull:4,edges:[0,2,2,4,4,6,0,6],width:476,height:727}},chameleonbubble2:{chameleonbubble2:{type:"mesh",uvs:[1,.47318,1,1,.48107,1,0,1,0,.50436,0,0,.50055,0,1,0],triangles:[6,7,0,4,5,6,4,2,3,6,2,4,6,0,2,2,0,1],vertices:[618.66,46.07,618.66,-524.99,56.14,-524.99,-465.34,-524.99,-465.34,12.28,-465.34,559.01,77.26,559.01,618.66,559.01],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:1084,he
60ight:1084}},croissant:{croissant:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[164.77,-153.98,-171.23,-153.98,-171.23,111.02,164.77,111.02],hull:4,edges:[0,2,2,4,4,6,0,6],width:336,height:265}},croissantbubble:{croissantbubble:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[64.24,-138.44,-203.76,-138.44,-203.76,81.56,64.24,81.56],hull:4,edges:[0,2,2,4,4,6,0,6],width:268,height:220}},croissantbubble2:{croissantbubble2:{type:"mesh",uvs:[1,.50028,1,1,.50178,1,0,1,0,.48804,0,0,.4978,0,1,0],triangles:[4,5,6,6,7,0,4,2,3,6,2,4,6,0,2,2,0,1],vertices:[250.24,.43,250.24,-240.44,4.12,-240.44,-243.76,-240.44,-243.76,6.33,-243.76,241.56,2.16,241.56,250.24,241.56],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:494,height:482}},lmbody:{lmbody:{x:31.53,y:12.14,scaleX:.4475,scaleY:.4475,rotation:-85.21,width:347,height:192}},lmshou:{lmshou:{x:34.37,y:-9.09,scaleX:.4475,scaleY:.4475,rotation:-85.21,width:332,height:200}},lmtou:{lmtou:{x:139.75,y:-17.81,scaleX:.4475,scaleY:.4475,rotation:-86.13,width:901,height:974}},lumibubble:{lumibubble:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[5.65,-55.15,-270.35,-55.15,-270.35,296.85,5.65,296.85],hull:4,edges:[0,2,2,4,4,6,0,6],width:276,height:352}},lumibubble2:{lumibubble2:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[331.65,-329.15,-335.35,-329.15,-335.35,337.85,331.65,337.85],hull:4,edges:[0,2,2,4,4,6,0,6],width:667,height:667}},pm:{pm:{type:"mesh",uvs:[.27314,.33294,.32492,.33116,.34055,.37199,.33665,.41194,.3513,.49005,.364,.55129,.38648,.59035,.43533,.60721,.40699,.66846,.40406,.75722,.40699,.84421,.45292,.90634,.49866,.91982,.53527,.95035,.57608,.97271,.6187,.98307,.64451,.96344,.66012,.93454,.6289,.90401,.59949,.86365,.62951,.83421,.64931,.82385,.71834,.83039,.76756,.83366,.78677,.82494,.80717,.78731,.79397,.76223,.74415,.75133,.70633,.72679,.67212,.68262,.63671,.64172,.6139,.60846,.63791,.57247,.64751,.54139,.67092,.48468,.70273,.48686,.74535,.47432,.77716,.45633,.74295,.416,.70105,.39253,.68757,.3791,.70496,.32617,.68974,.30445,.71725,.20467,.73007,.14012,.75037,.08965,.67451,.03966,.59972,.02024,.49608,.02073,.42395,.02995,.36893,.0348,.29627,.06198,.28238,.15808,.28452,.24447],triangles:[21,20,29,24,23,27,27,23,22,27,22,28,24,26,25,24,27,26,22,21,28,21,29,28,29,20,30,15,14,16,16,14,18,14,13,18,16,18,17,13,19,18,13,12,19,19,12,10,12,11,10,19,10,20,20,10,30,9,30,10,8,31,9,7,31,8,31,30,9,31,7,32,32,7,33,7,4,33,5,7,6,7,5,4,33,4,34,4,3,34,36,35,38,34,3,40,38,35,39,35,34,39,34,40,39,40,3,2,36,38,37,40,42,41,40,2,42,42,2,43,47,43,48,50,49,53,2,49,48,43,2,48,49,2,1,0,53,1,49,1,53,51,50,52,47,44,43,50,53,52,44,47,46,44,46,45],vertices:[1,21,351.27,157.15,1,1,21,346.52,116.8,1,1,21,309.82,110.13,1,1,21,276.23,118.47,1,1,21,207.86,117.51,1,2,21,154.1,115.82,.99512,20,265.85,46.31,.00488,2,21,118.08,103.61,.9754,20,227.89,48.6,.0246,3,21,97.8,68.01,.8555,20,195.66,23.3,.1417,28,-229.83,45.18,.00281,3,21,49,98.11,.32091,20,161.84,69.59,.6279,28,-196.83,-1.7,.05119,3,21,-26.33,112.2,.00622,20,97.4,111.07,.71629,28,-133.12,-44.3,.27749,2,20,31.9,147.82,.33809,28,-68.28,-82.19,.66191,2,20,-32.61,144.63,.06584,28,-3.72,-80.14,.93416,2,20,-61.07,119.91,.00437,28,25.17,-55.92,.99563,1,28,62.74,-45.57,1,1,28,96.07,-28.69,1,1,28,121.38,-5.12,1,1,28,117.76,21.02,1,1,28,103.12,44.63,1,2,20,-102.05,25.39,.00419,28,67.79,37.87,.99581,3,20,-60.32,27.18,.20849,28,26.04,36.81,.75876,27,-15.83,-89.94,.03275,3,20,-50.69,-6.08,.46192,28,16.99,70.24,.21383,27,1.87,-60.17,.32425,3,20,-51.04,-24,.29198,28,17.66,88.15,.05694,27,15.18,-48.18,.65108,2,20,-83.79,-67.45,.00786,27,69.29,-42.39,.99214,1,27,107.61,-37.09,1,1,27,120.76,-26.58,1,1,27,129.62,8.52,1,1,27,114.97,27.52,1,2,21,-62.42,-152.03,.00288,27,74.81,28.56,.99712,2,21,-36.93,-126,.06277,27,41.39,43.07,.93723,3,21,4.87,-105.37,.35541,20,44.16,-102.18,.00224,27,7.2,74.74,.64235,3,21,44.02,-83.39,.72821,20,88.72,-96.6,63e-5,27,-27.33,103.45,.27116,2,21,75.14,-70.14,.92218,27,-50.82,127.79,.07782,2,21,102.93,-93.53,.98575,27,-38.9,162.09,.01425,2,21,128.27,-105.11,.99664,27,-37.15,189.9,.00336,1,21,173.79,-130.79,1,1,21,168.09,-155.14,1,1,21,173.63,-189.82,1,1,21,185.13,-216.86,1,1,21,223.65,-195.72,1,1,21,248.73,-166.39,1,1,21,261.81,-157.73,1,1,21,304.84,-178.25,
601,1,21,325.2,-169.35,1,1,21,406.95,-203.94,1,1,21,460.44,-222.46,1,1,21,501.02,-244.9,1,1,21,552.82,-192.79,1,1,21,578.42,-137.44,1,1,21,590.53,-57.09,1,1,21,591.39,.01,1,1,21,593.9,43.28,1,1,21,579.51,103.18,1,1,21,499.25,126.72,1,1,21,425.33,136.56,1],hull:54,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,66,68,68,70,70,72,72,74,74,76,76,78,78,80,80,82,82,84,84,86,86,88,88,90,90,92,92,94,94,96,96,98,98,100,100,102,102,104,104,106,0,106],width:784,height:863}},pmbubble:{pmbubble:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[314.5,-372.86,-480.5,-372.86,-480.51,594.14,314.49,594.14],hull:4,edges:[0,2,2,4,4,6,0,6],width:795,height:967}},pmbubble2:{pmbubble2:{type:"mesh",uvs:[1,.46484,1,1,.50648,1,0,1,0,.4962,0,0,.51246,0,1,0],triangles:[6,7,0,4,5,6,4,2,3,6,2,4,6,0,2,2,0,1],vertices:[652.49,61.24,652.5,-594.86,47.45,-594.86,-573.5,-594.86,-573.51,22.8,-573.51,631.14,54.77,631.14,652.49,631.14],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:1226,height:1226}},pmear1:{pmear1:{type:"mesh",uvs:[.79878,.0351,.74604,.11016,.61735,.1872,.46334,.22473,.26926,.23263,.10048,.31559,.00977,.50127,.03298,.6988,.18909,.89435,.38107,.99114,.46545,.95361,.45912,.82126,.47178,.67904,.54984,.54867,.67853,.48349,.83675,.38275,.96966,.28201,.99497,.15164,.9127,.0193],triangles:[10,9,11,9,8,11,11,8,12,12,8,7,7,6,12,6,5,12,12,5,13,13,5,4,13,4,3,13,3,14,3,2,14,14,2,15,2,1,15,15,1,16,17,16,0,0,16,1,17,0,18],vertices:[2,29,14.66,-44.58,.99996,30,-57.37,-89.65,4e-5,2,29,56.92,-42.35,.93635,30,-22.98,-64.99,.06365,3,29,119.79,-66.53,.16526,30,43.01,-51.46,.82251,31,-68.7,-38.66,.01223,2,30,112.74,-59.31,.32449,31,-1.88,-60.12,.67551,3,30,193.98,-86.53,2e-5,31,72.38,-102.84,.94016,32,-115.31,-20.41,.05982,2,31,156.16,-109.73,.51683,32,-68.42,-90.18,.48317,3,31,236.8,-57.33,.04279,32,22.84,-120.5,.9489,33,-120.27,-73.97,.00831,2,32,114.23,-100.27,.6808,33,-29.66,-97.42,.3192,2,32,198.36,-21.88,.00268,33,80.88,-65.74,.99732,1,33,153.54,-2.76,1,1,33,150.22,38.3,1,3,31,150.24,176.11,.01666,32,151.27,92.79,.03865,33,90.96,57.81,.94469,4,30,185.99,141.78,.00147,31,109.63,122.54,.24347,32,84.07,91.1,.30265,33,30.31,86.8,.4524,4,30,131.84,96.8,.13466,31,47.67,89.14,.69344,32,19.31,118.69,.11816,33,-14.88,140.77,.05374,5,29,216.16,37.95,88e-5,30,67.85,88.48,.63479,31,-16.7,93.63,.35725,32,-17.35,171.79,.00556,33,-23.45,204.73,.00152,3,29,136.58,66,.42868,30,-14.3,69.21,.55434,31,-101.04,90.95,.01698,2,29,63.62,85.06,.97311,30,-86.02,45.93,.02689,1,29,7.56,57.64,1,1,29,-21.12,-8.54,1],hull:19,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,0,36],width:441,height:471}},pmear2:{pmear2:{type:"mesh",uvs:[.08058,.16265,.02236,.25537,.07626,.41278,.19055,.54216,.35011,.58744,.35658,.78797,.39755,.92813,.55927,.93245,.73393,.93029,.8935,.91735,.93231,.77288,.93447,.59822,.90212,.44297,.94956,.32006,.9474,.16481,.85468,.08071,.72315,.12599,.59808,.10659,.45361,.18206,.29836,.23381,.13448,.1454],triangles:[16,14,13,14,16,15,12,16,13,12,11,4,11,8,4,18,17,16,18,16,12,10,9,11,11,9,8,4,19,18,3,19,4,12,4,18,8,5,4,5,7,6,8,7,5,20,2,1,20,1,0,19,2,20,3,2,19],vertices:[1,34,-11.07,11.98,1,1,34,-5.57,-22.84,1,2,34,40.83,-49.62,.99649,35,-65.51,-12.71,.00351,2,34,95.95,-56.82,.55499,35,-25.86,-51.67,.44501,3,34,144.25,-34.03,.02823,35,26.42,-62.58,.8934,36,-75.51,-33.55,.07837,2,35,33.06,-126.84,.71358,36,-96.95,-94.49,.28642,2,35,49.41,-170.93,.65869,36,-101,-141.34,.34131,2,35,101.45,-168.63,.55846,36,-52.96,-161.48,.44154,2,35,157.5,-163.97,.38838,36,-.28,-181.2,.61162,2,35,208.46,-156.18,.30415,36,49.12,-195.92,.69585,3,35,217.64,-108.89,.25111,36,77.61,-157.08,.74449,37,-77.09,-136.93,.00441,3,35,214.36,-52.74,.13833,36,98.62,-104.91,.79966,37,-34.18,-100.58,.06202,3,35,200.43,-3.61,.02737,36,107.02,-54.54,.57098,37,-3.26,-59.94,.40165,3,35,212.87,36.94,14e-5,36,135.59,-23.18,.06207,37,36.64,-45.52,.93779,1,37,73.93,-12.22,1,2,36,135.01,59.72,.03448,37,74.8,28.08,.96552,2,36,90.25,61.47,.42923,37,36.02,50.5,.57077,4,34,102.62,135.14,58e-5,35,95.12,97.51,.03011,36,54.98,81.87,.80149,37,14.33,85,.16782,4,34,83.54,86.24,.06314,35,50.44,69.98,.33643,36,2.82,76.06,.58823,37,-34.52,104.19,.0122,3,34,56.83,40.82,.64612,35,1.75,49.83,.28919,36,-49.82,78.63,.06469,1,34,-1.65,27.57,1],hull:21,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,0,40],width:322,height:322}},pmleftclothes:{pmleftclothes:{type:"mesh",uvs:[.24594,.06914,.28805,.20711,.26278,.34886,.2319,.50951,.1701
605,.66449,.10277,.78545,.06628,.8705,.19541,.92909,.38349,.95744,.58,.93476,.75124,.8705,.84949,.74387,.89441,.58133,.94774,.42446,.93932,.29783,.91686,.18632,.73159,.15797,.50701,.08615,.27401,.0389],triangles:[9,8,4,10,9,4,6,5,7,8,5,4,8,7,5,10,4,11,4,3,11,11,3,12,12,3,2,12,2,1,13,12,1,1,17,16,13,16,14,14,16,15,1,16,13,1,0,17,17,0,18],vertices:[2,45,-16.52,-85.31,.99586,46,-57.36,-87.97,.00414,2,45,22.12,-67.19,.79759,46,-19.57,-68.13,.20241,3,45,65.09,-62.16,.26128,46,23.12,-61.18,.71366,47,-42.93,-62.49,.02506,4,45,113.89,-56.91,.00784,46,71.64,-53.74,.50669,47,5.34,-53.61,.46682,48,-44.31,-62.59,.01866,3,46,120.25,-52.83,.02413,47,53.9,-51.24,.52814,48,3.04,-51.54,.44774,2,47,93,-53.12,.07722,48,41.84,-46.36,.92278,2,47,119.81,-52.33,.00554,48,68.07,-40.76,.99446,1,48,71.29,-9.15,1,2,47,125.11,17.34,.02051,48,60.75,28.73,.97949,3,46,175.76,50.2,.00601,47,106.31,53.4,.27247,48,35.77,60.82,.72152,3,46,147.37,78.37,.05785,47,77.09,80.71,.5706,48,2.12,82.43,.37155,4,45,153.48,82.19,5e-5,46,104.95,86.99,.22303,47,34.43,88.06,.66988,48,-41.17,81.99,.10704,4,45,103.46,79.59,.04965,46,55.09,82.14,.58639,47,-15.27,81.72,.36106,48,-88.91,66.83,.0029,3,45,54.7,79.06,.36256,46,6.4,79.42,.57586,47,-63.85,77.55,.06158,3,45,17.79,68.42,.7711,46,-29.99,67.14,.22548,47,-99.85,64.18,.00342,2,45,-13.99,56.07,.95729,46,-61.18,53.37,.04271,1,45,-13.5,17.31,1,2,45,-23.96,-32.32,.99904,46,-67.17,-35.37,96e-5,2,45,-26.77,-81.88,.99973,46,-67.75,-85.01,27e-5],hull:19,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,0,36],width:204,height:303}},pmlefthand:{pmlefthand:{type:"mesh",uvs:[.05057,.35771,.05666,.55179,.11147,.73886,.21347,.83473,.33222,.85344,.44793,.89319,.53319,.7716,.69457,.64299,.79505,.52139,.88639,.43721,.95491,.34134,.90771,.25482,.82854,.15193,.72349,.08178,.54232,.09815,.41748,.10984,.27741,.12153,.15714,.17765,.27623,.27097,.36212,.45501,.34834,.64882,.27411,.73676,.48195,.25468,.54663,.4208,.54663,.58693,.66221,.33937,.77885,.27748],triangles:[26,12,11,9,11,10,26,13,12,6,5,20,3,21,4,5,4,20,4,21,20,3,2,21,6,24,7,6,20,24,2,1,21,20,21,19,20,19,24,19,21,1,8,7,25,19,23,24,25,7,23,7,24,23,1,18,19,18,0,17,18,1,0,25,26,8,8,26,9,22,19,18,19,22,23,22,18,15,15,18,16,9,26,11,23,22,25,22,14,25,25,13,26,25,14,13,18,17,16,22,15,14],vertices:[1,22,224.23,-37.48,1,1,22,232.65,-3.33,1,1,22,227.73,33.47,1,1,22,205.52,58.2,1,1,22,174.85,70.88,1,1,22,146.08,86.97,1,1,22,117.08,72.66,1,1,22,67.43,63.18,1,1,22,34.37,50.07,1,1,22,5.68,42.73,1,1,21,102.46,50.92,1,1,21,119.95,61.47,1,1,21,141.75,80.35,1,1,21,158.8,107.24,1,1,22,79.8,-43.42,1,1,22,113.66,-51.31,1,1,22,151.58,-60.42,1,1,22,186.52,-60.24,1,1,22,159.63,-34.59,1,1,22,146.27,4.15,1,1,22,159.97,36.67,1,1,22,184.29,46.03,1,1,22,103.98,-21.07,1,1,22,95.35,12.88,1,1,22,103.94,41.7,1,1,22,60.34,7.95,1,1,22,26.07,6.48,1],hull:18,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,0,34],width:278,height:181}},pmrightclothes:{pmrightclothes:{type:"mesh",uvs:[.07839,.17278,.12382,.41479,.20527,.65456,.31022,.78901,.50289,.88537,.68773,.89209,.8428,.79797,.95715,.60078,.90546,.41479,.82401,.28482,.65327,.25121,.43084,.14589,.29612,.06746,.10659,.10107],triangles:[8,10,9,6,8,7,10,5,4,8,6,10,6,5,10,4,3,10,12,0,13,1,0,12,11,2,1,11,1,12,3,2,11,3,11,10],vertices:[1,49,-21.07,-22.48,1,2,49,11.34,-38.37,.99964,50,-52.88,-19.79,36e-5,2,49,48.38,-48.45,.78427,50,-22.43,-43.16,.21573,3,49,77.18,-44.9,.38021,50,5.56,-50.81,.61676,51,-55.49,-33.51,.00303,3,49,113.74,-24.14,.02036,50,47.27,-45.47,.70168,51,-14.56,-43.1,.27796,2,50,81.76,-29.31,.12251,51,23.41,-40.03,.87749,1,51,53.73,-23.17,1,1,51,74.15,7.56,1,3,49,117.28,82.89,17e-5,50,91.14,52.22,19e-5,51,60.72,33.07,.99964,3,49,92.14,82.57,.01081,50,67.76,61.46,.02871,51,42.06,49.9,.96048,3,49,65.36,59.27,.14631,50,34.14,50.06,.2728,51,6.57,50.98,.58089,3,49,23.79,34.74,.86198,50,-13.63,43.13,.10653,51,-40.6,61.21,.03148,3,49,-2.98,21.27,.9993,50,-43.5,40.82,63e-5,51,-69.39,69.5,7e-5,1,49,-25.02,-11.32,1],hull:14,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,0,26],width:206,height:144}},pmrighthand:{pmrighthand:{type:"mesh",uvs:[.06543,.45801,.0734,.62785,.11193,.77698,.30194,.82461,.49328,.81633,.63279,.89089,.73244,.84118,.82545,.74798,.90119,.61542,.94238,.40208,.86266,.18253,.7444,.12868,.5916,.11004,.37103,.21153,.12921,.40622],triangles:[9,11,10,1,0,14,8,7,11,9,8,11,3,2,1,4,13,12,3,14,13,14,3,1,12,6,4,7,12,11,13,4,3,7,6,12,5,4,6],vertices:[1,23,-.88,17.42,1,1,23,-4.03,-5.53,1,1,23,-.25,-27.06,1,1,23,37.81,-41.77,1,1,23,77.72,-49.1,1,1,23,104.54,-65.16,1,1,23,12
606.61,-62.94,1,1,23,148.54,-54.63,1,1,23,167.99,-40.33,1,1,23,182.56,-13.77,1,1,23,172.23,18.95,1,1,23,149.23,31.32,1,1,23,118.07,40.53,1,1,23,69.46,36.75,1,1,23,13.81,21.5,1],hull:15,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,0,28],width:212,height:136}},pmtial:{pmtial:{type:"mesh",uvs:[.65584,.21147,.43337,.25071,.27197,.35634,.18691,.48008,.04296,.54045,.0953,.67626,.27851,.79397,.44209,.84528,.59913,.84528,.6711,.91771,.74962,.8151,.83686,.66721,.91102,.40161,.95682,.19638,.92847,.0666,.77361,.0998,.73217,.20242],triangles:[7,2,1,5,3,6,3,2,6,7,6,2,5,4,3,9,8,10,11,10,8,0,8,1,8,7,1,11,8,0,11,0,16,11,16,12,12,16,13,13,15,14,15,13,16],vertices:[2,24,58.33,-34.35,.43694,25,-.02,-36.97,.56306,3,24,102.5,-71.03,43e-5,25,54.56,-54.76,.77815,26,-6.44,-57.17,.22142,2,25,100.27,-54.77,.17491,26,38.36,-48.12,.82509,2,25,129.74,-43.39,.01,26,65,-31.13,.99,1,26,103.45,-29.13,1,1,26,96.48,-1.53,1,2,25,133.38,19.13,.0389,26,56.17,30.87,.9611,2,25,99.58,45.62,.52134,26,17.8,50.14,.47866,2,25,63.24,62.81,.96829,26,-21.23,59.79,.03171,3,24,151.18,57.65,8e-5,25,52.32,82.81,.99976,26,-35.9,77.22,16e-5,2,24,123.59,59.4,.02599,25,26.03,74.24,.97401,2,24,88.35,57.06,.24635,25,-5.86,59.06,.75365,2,24,39.47,37.41,.96541,25,-44.03,22.77,.03459,1,24,3.72,20.07,1,1,24,-8.88,-1.61,1,2,24,22.66,-26.41,.99881,25,-36.11,-42.75,.00119,2,24,43.77,-21.21,.8894,25,-18.41,-30.13,.1106],hull:17,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,0,32],width:256,height:185}},projector:{projector:{type:"mesh",uvs:[.94376,.84761,.91264,.69099,.83484,.50674,.68184,.27826,.46142,.08664,.23841,.00373,.11653,.08848,.16321,.26537,.31621,.44962,.08541,.45331,.00761,.55464,.08541,.70389,.31621,.77391,.18136,.93605,.42512,1,.75705,.98948,.91783,.92684,.29345,.11763,.37918,.22245,.5267,.37826,.62638,.51141,.74002,.66015,.82175,.77205,.15191,.56807,.29943,.61765,.52072,.68281,.70812,.79046,.3712,.90661,.58452,.84996],triangles:[17,5,4,6,5,17,18,17,4,7,6,17,7,17,18,18,4,3,19,18,3,8,7,18,8,18,19,20,19,3,23,9,8,10,9,23,24,23,8,8,19,20,20,24,8,11,10,23,11,23,24,21,2,1,26,25,21,2,20,3,21,20,2,25,20,21,25,24,20,12,24,25,12,25,28,27,12,28,13,12,27,14,27,28,13,27,14,11,24,12,22,21,1,26,21,22,22,1,0,28,25,26,16,22,0,16,15,26,16,26,22,28,26,15,14,28,15],vertices:[1,40,17.99,-11.8,1,3,40,89.96,-75.58,.84347,41,-57.22,-78.13,.15584,42,-198.56,-108.61,69e-5,3,40,188.18,-139.08,.11223,41,43.66,-137.32,.7438,42,-90.06,-152.27,.14396,2,41,186.63,-194.1,.24338,42,59.72,-187.34,.75662,2,41,335.69,-214.64,.01176,42,210.19,-185.66,.98824,1,42,309.71,-141.86,1,1,42,302.31,-68.55,1,1,42,205.7,-17.18,1,1,42,76.92,1.1,1,2,41,302.95,59.25,.00222,42,137.4,80.39,.99778,2,41,285.63,127.26,.0618,42,110.24,145.11,.9382,3,40,356.96,162.08,58e-5,41,199.24,170.86,.29462,42,18.36,175.49,.7048,3,40,253.45,129.85,.1266,41,97.23,134.18,.74204,42,-77.13,124.16,.13136,2,40,233.88,242.67,.29468,41,72.8,246.05,.70532,2,40,128.5,204,.44467,41,-30.81,202.86,.55533,2,40,23.48,106.17,.91283,41,-131.51,100.57,.08717,2,40,-4.71,32.14,.99914,41,-156.46,25.39,86e-5,2,41,376.03,-151.44,99e-5,42,240.76,-117.21,.99901,2,41,305.52,-129.96,.01834,42,167.85,-106.36,.98166,2,41,194.35,-103.94,.22027,42,54.06,-97.03,.77973,3,40,254.9,-78.53,.0075,41,107.69,-73.94,.75045,42,-36.07,-80.14,.24205,3,40,158.9,-41.51,.34911,41,10.18,-41.11,.64494,42,-137.36,-62.05,.00595,2,40,87.9,-12.61,.99845,41,-62,-15.3,.00155,2,41,234.41,90.81,.1039,42,64.95,101.5,.8961,3,40,320.56,62.22,.00179,41,167.2,69.52,.42577,42,1.62,70.53,.57244,3,40,222.09,30.4,.01808,41,70.2,33.47,.97963,42,-89,20.56,.00228,2,40,118.02,27.75,.92235,41,-33.66,26.31,.07765,3,40,183.05,175.88,.34072,41,24.9,177.12,.65638,42,-155,155.96,.0029,2,40,135.22,89.9,.57464,41,-19.16,89.16,.42536],hull:17,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,0,32],width:432,height:608}},projector2:{projector2:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[72.25,-72.01,-44.75,-72.01,-44.75,60.99,72.25,60.99],hull:4,edges:[0,2,2,4,4,6,0,6],width:117,height:133}},projectorbubble:{projectorbubble:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[108.06,-223.93,-362.94,-223.93,-362.94,409.07,108.06,409.07],hull:4,edges:[0,2,2,4,4,6,0,6],width:471,height:633}},projectorbubble2:{projectorbubble2:{type:"mesh",uvs:[1,.47107,1,1,.48132,1,0,1,0,.48446,0,0,.49471,0,1,0],triangles:[6,7,0,4,5,6,4,2,3,6,2,4,6,0,2,2,0,1],vertices:[396.06,64.75,396.06,-358.93,-19.4,-358.93,-404.94,-358.93,-404.93,54.02,-404.94,442.07,-8.68,442.07,396.06,442.07],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:801,height:801}},shoupa:{shoupa:{type:"mesh",uvs:[.2268,.17216,.13313,.49644,.06722,.88466,.24762,.9075,.48005,.7248,.63616,.6837,.84085,.64259,.94492,.4736,.76452,.2772,.56331,.08994,.36904,.13562,.30684,.36099,.45432,.33627,.59734,.27625,.29433,.51985,.51064,.48337,.68315,.45395],triangles:[16,13,8,16,8,7,15,13,16,14,1,11,6,16,7,5,15,16,5,16,6,4,15,5,12,15,14,4,14,15,3,1,14,3,14,4,2,1,3,8,13,9,15,12,13,12,14,11,12,9,13,11,10,12,1,0,11,12,10,9,11,0,10],vertices:[1,21,96.63,27.5,1,2,52,21.43,-60.8,.30364,53,-3.8,-60.81,.69636,2,52,70.13,-86.98,.00423,53,44.96,-86.87,.99577,2,52,82.1,-56.05,4e-5,53,56.86,-55.91,.99996,1,53,43.77,-8.13,1,1,53,45.91,20.93,1,2,52,75.97,58.42,.00795,53,50.43,58.54,.99205,2,52,58.49,83.1,.02865,53,32.9,83.18,.97135,2,52,23.29,58.69,.28187,53,-2.24,58.68,.71813,1,21,98.42,-35.11,1,3,21,97.63,1,.97429,52,-15.2,-5.68,.02562,53,-40.57,-5.79,1e-4,2,52,11.88,-25.1,.70482,53,-13.44,-25.14,.29518,2,52,15.87,1.81,.99812,53,-9.52,1.79,.00188,2,52,14.9,29.26,.63566,53,-10.56,29.24,.36433,2,52,32.53,-33.27,.26319,53,7.23,-33.25,.73681,2,52,38.34,6.21,42e-5,53,12.94,6.24,.99958,2,52,42.92,37.71,.13323,53,17.45,37.76,.86677],hull:11,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,0,20],width:183,height:139}},slime:{slime:{type:"mesh",uvs:[.40724,.04474,.23962,.09954,.08894,.24567,.01548,.4055,.0362,.63611,.16616,.81192,.38087,.8964,.58052,.93293,.7877,.93293,.93272,.82333,.96851,.59501,.95156,.37353,.78205,.13836,.55415,.04474,.48707,.48391],triangles:[14,0,13,14,13,12,14,12,11,1,0,14,2,1,14,14,11,10,14,4,3,14,3,2,5,4,14,10,8,14,6,5,14,7,6,14,14,8,7,10,9,8],vertices:[-27.07,200.58,-106.53,179.16,-177.95,122.02,-212.77,59.53,-202.95,-30.64,-141.34,-99.38,-39.57,-132.41,55.06,-146.7,153.27,-146.7,222.01,-103.84,238.97,-14.57,230.93,72.03,150.59,163.98,42.56,200.58,10.77,28.87],hull:14,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,0,26],width:474,height:391}},slimepaopao:{slimepaopao:{type:"mesh",uvs:[1,.49984,1,1,.48307,1,0,1,0,.4973,0,0,.51601,0,1,0],triangles:[4,5,6,6,7,0,4,2,3,0,4,6,0,2,4,2,0,1],vertices:[344.56,-20.79,344.56,-360.9,-6.95,-360.9,-335.44,-360.9,-335.44,-19.07,-335.44,319.1,15.45,319.1,344.56,319.1],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:680,height:680}},wd1:{wd1:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[230.46,-163.78,-219.54,-163.78,-219.54,190.22,230.46,190.22],hull:4,edges:[0,2,2,4,4,6,0,6],width:450,height:354}},wd2:{wd2:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[204.62,-181.75,-214.38,-181.75,-214.38,181.25,204.62,181.25],hull:4,edges:[0,2,2,4,4,6,0,6],width:419,height:363}},wd3:{wd3:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[182.27,-175.03,-226.73,-175.03,-226.73,185.97,182.27,185.97],hull:4,edges:[0,2,2,4,4,6,0,6],width:409,height:361}},wd4:{wd4:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[210.62,-162.53,-216.38,-162.53,-216.38,188.47,210.62,188.47],hull:4,edges:[0,2,2,4,4,6,0,6],width:427,height:351}},wdbubble:{wdbubble:{type:"mesh",uvs:[1,.46192,1,1,.51406,1,0,1,0,.50151,0,0,.49664,0,1,0],triangles:[6,7,0,4,5,6,4,2,3,6,2,4,6,0,2,2,0,1],vertices:[479.82,3
600.2,479.82,-497.12,3.6,-497.12,-500.18,-497.12,-500.18,-8.6,-500.18,482.88,-13.47,482.88,479.82,482.88],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:980,height:980}},wdlight:{wdlight:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[326.56,-282.9,-288.44,-282.9,-288.44,302.1,326.56,302.1],hull:4,edges:[0,2,2,4,4,6,0,6],width:615,height:585}}}}],X_={1:{}},W_={projectorbubble2:{rootBoneName:"projectorbubble2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:1,moveXDelay:0,moveXCenter:0,moveXSeed:3220,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:0,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}},endBoneName:"projector2"},projector2:{rootBoneName:"projector2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:-2.4,moveXCenter:0,moveXSeed:3228.15,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.2,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},projector3:{rootBoneName:"projector3",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:3,rotateOffset:.5,childOffset:.25,spring:0,affectByLevel:.52,springLevel:0}}},pmbubble:{rootBoneName:"pmbubble",animation:{default:{name:"default",mode:3,moveXFreq:2.5,moveXAmp:25.5,moveXOctaves:1,moveXDelay:4.99,moveXCenter:0,moveXSeed:3225.47,rotateFreq:2,rotateAmp:2.5,rotateOctaves:0,rotateDelay:-.18,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},pm:{rootBoneName:"pm",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:5,moveXOctaves:0,moveXDelay:-5.71,moveXCenter:0,moveXSeed:3214.44}}},pm2:{rootBoneName:"pm2",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:1,rotateOffset:1.25,childOffset:4.050000000000001,spring:0,affectByLevel:.77,springLevel:0}}},pmtial:{rootBoneName:"pmtial",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:2,rotateOffset:.83,childOffset:.5,spring:0,affectByLevel:.52,springLevel:0}}},pm4:{rootBoneName:"pm4",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:5,moveXOctaves:0,moveXDelay:-5,moveXCenter:0,moveXSeed:3222.14}}},pm5:{rootBoneName:"pm5",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:5,moveXOctaves:0,moveXDelay:-3.61,moveXCenter:0,moveXSeed:3222.82}}},pm6:{rootBoneName:"pm6",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:7,rotateOffset:1.22,childOffset:.25,spring:0,affectByLevel:.52,springLevel:0}}},pm10:{rootBoneName:"pm10",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:7,rotateOffset:.38,childOffset:.25,spring:0,affectByLevel:.52,springLevel:0}}},pmlefthand:{rootBoneName:"pmlefthand",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:8,rotateOffset:2.75,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},pmrighthand:{rootBoneName:"pmrighthand",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:8,rotateOffset:2.63,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},pmear1:{rootBoneName:"pmear1",animation:{default:{name:"default",mode:1,rotateCenter:2,rotateTime:2,rotateRange:4,rotateOffset:.02,childOffset:.4000000000000001,spring:0,affectByLevel:.12000000000000015,springLevel:.15999999999999992}}},pmear6:{rootBoneName:"pmear6",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:6,rotateOffset:.79,childOffset:.25,spring:0,affectByLevel:.32,springLevel:0}}},croissantbubble:{rootBoneName:"croissantbubble",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:1,moveXDelay:-5.56,moveXCenter:0,moveXSeed:3221.31,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.02,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},croissant:{rootBoneName:"croissant",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:5.19,moveXCenter:0,moveXSeed:3223.22,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.22,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},pm13:{rootBoneName:"pm13",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:6,rotateOffset:4.25,
60childOffset:.25,spring:0,affectByLevel:.24,springLevel:0}}},lumibubble2:{rootBoneName:"lumibubble2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:1,moveXDelay:-1.32,moveXCenter:0,moveXSeed:3221.37,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:.19,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},chameleonbubble2:{rootBoneName:"chameleonbubble2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:3.15,moveXCenter:0,moveXSeed:3259.07,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.08,rotateCenter:21,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},chameleon:{rootBoneName:"chameleon",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:-5.84,moveXCenter:0,moveXSeed:3221.45,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.25,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},chameleon2:{rootBoneName:"chameleon2",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:3,rotateOffset:5.5,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},wdlight:{rootBoneName:"wdlight",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:10,moveXOctaves:1,moveXDelay:2.98,moveXCenter:0,moveXSeed:3223.6,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.02,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},slime:{rootBoneName:"slime",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:1.42,moveXCenter:0,moveXSeed:3223.45,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:.22,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},wdbubble:{rootBoneName:"wdbubble",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:16.5,moveXOctaves:0,moveXDelay:.02,moveXCenter:0,moveXSeed:3234.59,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:.01,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},wd1:{rootBoneName:"wd1",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:5.11,moveXCenter:0,moveXSeed:3222.09,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.03,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},wd3:{rootBoneName:"wd3",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:2.45,moveXCenter:0,moveXSeed:3221.34,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.15,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},wd4:{rootBoneName:"wd4",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:-3.27,moveXCenter:0,moveXSeed:3225.67,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:.04,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},wd2:{rootBoneName:"wd2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:4.65,moveXCenter:0,moveXSeed:3226.17,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:.15,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},lmshou:{rootBoneName:"lmshou",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3.5,rotateRange:3,rotateOffset:7.259727064238141,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}}},Y_={},q_={timeScale:1},j_={skeleton:z_,bones:G_,slots:V_,skins:H_,animations:X_,extra:W_,extraSlot:Y_,extraConfig:q_},J_="HanaCG2BG.png\nsize:1774,882\nfilter:Linear,Linear\nscale:0.24\n1\nbounds:1161,4,222,224\noffsets:12,12,246,248\n2\nbounds:336,38,315,320\noffsets:14,13,341,347\n3\nbounds:2,360,520,482\noffsets:15,12,547,506\nrotate:90\n4\nbounds:2,2,356,332\noffsets:14,17,382,366\nrotate:90\n5\nbounds:1161,230,229,215\noffsets:12,12,253,239\n6\nbounds:1076,447,432,433\noffsets:14,21,463,467\nHo\nbounds:782,390,490,292\nrotate:90\nYo\nbounds:1510,54,432,242\nrotate:90\nbg\nbounds:486,374,506,294\nrotate:90\nmi\nbounds:1510,488,392,262\nrotate:90\nplant\nbounds:653,78,506,294\n",Z_={hash:"o4GZBB36LCE",spine:"4.0-from-4.1.23",images:"C:/Users/xiankang.zhan/Desktop/需求/Hana米游CG2落地页动画/Hana米游CG2BG/BGimages",audio:"C:/Users/xiankang.zhan/Desktop/需求/Hana米游CG2角色-拆-提交/Hana米游CG2BG"},K_=[{name:"root",scaleX:.24,scaleY:.24},{name:"bone",parent:"root",x:-7037.96,y:-4621.49,color:"ff0000ff"},{name:"3",parent:"bone",x:3805.94,y:2911.99,color:"ff0000ff"},{name:"4",parent:"bone",x:4819.34,y:5559.18,color:"ff0000ff"},{name:"5",parent:"bone",x:6525.71,y:6428.85,color:"ff0000ff"},{name:"6",parent:"bone",x:9682.65,y:4580.85,color:"ff0000ff"},{name:"1",parent:"bone",x:8836.65,y:3410.85,color:"ff0000ff"},{name:"2",parent:"bone",x:9328.65,y:2552.85,color:"ff0000ff"},{name:"bone2",parent:"root",transform:"noScale"}],$_=[{name:"bg",bone:"bone",attachment:"bg"}
60,{name:"mi",bone:"bone",attachment:"mi"},{name:"Yo",bone:"bone",attachment:"Yo"},{name:"Ho",bone:"bone",attachment:"Ho"},{name:"plant",bone:"bone",attachment:"plant"},{name:"6",bone:"6",attachment:"6"},{name:"5",bone:"5",attachment:"5"},{name:"4",bone:"4",attachment:"4"},{name:"3",bone:"3",attachment:"3"},{name:"2",bone:"2",attachment:"2"},{name:"1",bone:"1",attachment:"1"}],Q_=[{name:"default",attachments:{1:{1:{x:10.35,y:-9.85,width:1024,height:1034}},2:{2:{x:13.85,y:-25.85,width:1419,height:1446}},3:{3:{x:-48.44,y:-176.49,width:2279,height:2107}},4:{4:{x:-15.34,y:25.32,width:1590,height:1523}},5:{5:{x:-31.71,y:38.15,width:1056,height:996}},6:{6:{x:-32.65,y:-17.85,width:1930,height:1946}},bg:{bg:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[11033,2258.99,2594,2258.99,2594,7153.99,11033,7153.99],hull:4,edges:[0,2,2,4,4,6,0,6],width:2110,height:1224}},Ho:{Ho:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[8232,55,67,55,67,4920,8232,4920],hull:4,edges:[0,2,2,4,4,6,0,6],width:2041,height:1216}},mi:{mi:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[8419,3715,1885,3715,1885,8077,8419,8077],hull:4,edges:[0,2,2,4,4,6,0,6],width:1634,height:1091}},plant:{plant:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[11033,2259,2594,2259,2594,7154,11033,7154],hull:4,edges:[0,2,2,4,4,6,0,6],width:2110,height:1224}},Yo:{Yo:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[13364,3093,6169,3093,6169,7131,13364,7131],hull:4,edges:[0,2,2,4,4,6,0,6],width:1799,height:1010}}}}],ex={animation:{}},tx={1:{rootBoneName:"1",animation:{default:{name:"default",mode:3,moveXFreq:2.5,moveXAmp:7,moveXOctaves:0,moveXDelay:0,moveXCenter:0,moveXSeed:7191,scaleXFreq:3.5,scaleXAmp:.05,scaleXOctaves:0,scaleXDelay:0,scaleXCenter:0,rotateSpeed:.025,rotateFreq:2.5,rotateAmp:1,rotateOctaves:0,rotateDelay:0,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},2:{rootBoneName:"2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:0,moveXDelay:-3.7,moveXCenter:0,moveXSeed:7185.77,scaleXFreq:4,scaleXAmp:.05,scaleXOctaves:0,scaleXDelay:-5.57,scaleXCenter:0,rotateSpeed:.025}}},3:{rootBoneName:"3",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:0,moveXDelay:5.92,moveXCenter:0,moveXSeed:7192.56,scaleXFreq:4,scaleXAmp:.05,scaleXOctaves:1,scaleXDelay:2.73,scaleXCenter:0,rotateSpeed:-.02,rotateCenter:14}}},4:{rootBoneName:"4",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:0,moveXDelay:5.18,moveXCenter:0,moveXSeed:7191.14,scaleXFreq:4,scaleXAmp:.05,scaleXOctaves:0,scaleXDelay:-6.08,scaleXCenter:0,rotateSpeed:-.02}}},5:{rootBoneName:"5",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:0,moveXDelay:-.75,moveXCenter:0,moveXSeed:7190.5,scaleXFreq:4,scaleXAmp:.05,scaleXOctaves:0,scaleXDelay:-4.84,scaleXCenter:0,rotateSpeed:-.025}}},6:{rootBoneName:"6",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:0,moveXDelay:-.05,moveXCenter:0,moveXSeed:7194.13,rotateSpeed:.025}}}},rx={},nx={timeScale:1},ax={skeleton:Z_,bones:K_,slots:$_,skins:Q_,animations:ex,extra:tx,extraSlot:rx,extraConfig:nx},ix="HanaCG2bubblebb.png\nsize:523,275\nfilter:Linear,Linear\nscale:0.2\nbbbody\nbounds:414,135,107,138\noffsets:20,4,138,143\nbbbody2\nbounds:273,3,59,72\noffsets:2,2,62,75\nbbbubble\nbounds:273,77,139,196\nbbbubble2\nbounds:2,4,269,269\nbbear1\nbounds:386,38,67,37\noffsets:3,3,72,42\nbbear2\nbounds:393,4,65,32\noffsets:4,2,72,37\nbbeye\nbounds:334,2,57,19\noffsets:3,3,62,24\nbbhand\nbounds:414,84,48,49\noffsets:2,2,52,52\nbbhand2\nbounds:455,42,40,48\noffsets:1,2,44,54\nrotate:90\nbbleg\nbounds:334,23,50,52\noffsets:2,2,53,57\nbbleg2\nbounds:460,8,25,32\noffsets:2,2,29,36\nbbzipper\nbounds:487,11,29,27\noffsets:2,4,33,33\nrotate:90\nshadow\nbounds:464,87,46,39\noffsets:16,10,78,56\nrotate:90\n",ox={hash:"l1ZX7v7JTSc",spine:"4.0-from-4.1.17",x:-960,y:-540,width:1920,height:1080,images:"./bubbleimages/",audio:""},sx=[{name:"root",scaleX:.2,scaleY:.2},{name:"root2",parent:"root",x:-8893.05,y:-4310.67,color:"ff0000ff"},{name:"bone4",parent:"root2",x:6129.78,y:3999.42},{name:"bbbody",parent:"bone4",x:-52.94,y:-314.32,color:"002fffff"},{name:"bbbody2",parent:"bbbody",length:173.71,rotation:12.75,x:25.69,y:9.08,color:"ff0000ff"},{name:"bbbody3",parent:"bbbody2",length:151.7,rotation:39.55,x:173.71,color:"ff0000ff"},{name:"bbbody4",parent:"bbbody3",length:165.32,rotation:46.48,x:151.7,color:"ff0000ff"},{name:"bbbody5",parent:"bbbody4",length:227.22,rotation:11.75,x:165.32,color:"ff0000ff"},{name:"bbbody6",parent:"bbbody",length:112.65,rotation:144.67,x:62.5
605,y:85.33,color:"ff0000ff"},{name:"bbbody7",parent:"bbbody6",length:112.31,rotation:-9.67,x:112.65,color:"ff0000ff"},{name:"bbhand",parent:"bbbody4",rotation:-46.48,x:43.71,y:234.8,color:"ff0000ff"},{name:"bbhand2",parent:"bbhand",length:112.15,rotation:-23.71,color:"ff9300ff"},{name:"bbhand3",parent:"bbhand2",length:107.23,rotation:31.75,x:112.15,color:"ff9300ff"},{name:"bbhand4",parent:"bbbody4",rotation:-46.48,x:21.27,y:-71.2,color:"ff0000ff"},{name:"bbhand5",parent:"bbhand4",length:104.63,rotation:-28.49,color:"ff9300ff"},{name:"bbhand6",parent:"bbhand5",length:99.55,rotation:20.62,x:104.63,color:"ff9300ff"},{name:"bbear1",parent:"bbbody5",x:238.46,y:87.11,color:"00beffff"},{name:"bbear6",parent:"bbbody5",x:204.66,y:-51.43,color:"00beffff"},{name:"bbzipper",parent:"bbbody4",x:108.56,y:-69.99,color:"ff0000ff"},{name:"bbzipper2",parent:"bbzipper",length:100.98,rotation:-147.52,color:"ff0000ff"},{name:"bone2",parent:"bbbody6",rotation:-9.67,x:13.04,y:16.98,color:"ff0000ff"},{name:"bbleg",parent:"bbbody",rotation:135,x:-32.24,y:23.92,color:"ff0045ff"},{name:"bbleg2",parent:"bbleg",length:143.66,rotation:8.93,color:"5000ffff"},{name:"bbleg3",parent:"bbleg2",length:125.18,rotation:-11.72,x:143.66,color:"5000ffff"},{name:"bbleg4",parent:"bbbody7",x:53.46,y:14.82,color:"ff0045ff"},{name:"bbleg5",parent:"bbleg4",length:65.19,rotation:-19.37,color:"5000ffff"},{name:"bbleg6",parent:"bbleg5",length:69.25,rotation:1.47,x:65.19,color:"5000ffff"},{name:"trun",parent:"bbbody4",length:100,x:86.98,y:166.21,color:"00ff29ff"},{name:"trun2",parent:"bbbody4",length:100,x:86.98,color:"00ff29ff"},{name:"bone",parent:"bbbody7",x:112.31,color:"ff0000ff"},{name:"bbhand7",parent:"bbhand",x:213.79,y:-27.79,color:"004effff"},{name:"bbhand8",parent:"bbhand",x:-42.36,y:-6.75,color:"004effff"},{name:"bone3",parent:"bbhand4",rotation:-28.49,x:91.97,y:-49.9,color:"ff9300ff"},{name:"bbeye",parent:"bbbody5",x:77.64,y:-.12,color:"2834ffff"},{name:"bbbubble",parent:"bone4",x:-2.53,y:-.11,color:"ff0a0aff"},{name:"bbbubble2",parent:"bbbubble",x:-16.87,y:674.94,color:"ff0a0aff"},{name:"bbbubble3",parent:"bbbubble",x:643.94,y:-12.37,color:"ff0a0aff"},{name:"bbbubble4",parent:"bbbubble",x:4.66,y:-625.15,color:"ff0a0aff"},{name:"bbbubble5",parent:"bbbubble",x:-654.49,y:-5.74,color:"ff0a0aff"},{name:"bbhand10",parent:"bbbody3",x:10.18,y:191.92,color:"ff0000ff"},{name:"bbhand9",parent:"bbhand10",length:199.52,rotation:-80.53,x:-.15,y:-.71,color:"ff0000ff"},{name:"bbear2",parent:"bbear1",length:39.95,rotation:9.65,x:7.95,y:-.44,color:"00beffff"},{name:"bbear3",parent:"bbear2",length:51.58,rotation:19.56,x:39.95,color:"00beffff"},{name:"bbear4",parent:"bbear3",length:56.37,rotation:36.18,x:51.58,color:"00beffff"},{name:"bbear5",parent:"bbear4",length:52.45,rotation:31.44,x:56.37,color:"00beffff"},{name:"bbear11",parent:"bbear5",length:51.69,rotation:28.1,x:52.45,color:"00beffff"},{name:"bbear12",parent:"bbear11",length:58.7,rotation:17.86,x:51.69,color:"00beffff"},{name:"bbear7",parent:"bbear6",length:41.78,rotation:6.23,x:10.43,y:-.49,color:"00beffff"},{name:"bbear8",parent:"bbear7",length:48.79,rotation:16.68,x:41.78,color:"00beffff"},{name:"bbear9",parent:"bbear8",length:48.15,rotation:36.06,x:48.79,color:"00beffff"},{name:"bbear10",parent:"bbear9",length:51.74,rotation:37.54,x:48.15,color:"00beffff"},{name:"bbear13",parent:"bbear10",length:50.67,rotation:13.95,x:51.74,color:"00beffff"},{name:"bbear14",parent:"bbear13",length:53.22,rotation:14.58,x:50.67,color:"00beffff"},{name:"bone5",parent:"root",transform:"noScale"}],ux=[{name:"bbbubble2",bone:"bone4",attachment:"bbbubble2"},{name:"bbear2",bone:"bbear6",attachment:"bbear2"},{name:"bbear1",bone:"bbear1",attachment:"bbear1"},{name:"bbhand2",bone:"bbhand4",attachment:"bbhand2"},{name:"bbleg2",bone:"bbleg4",attachment:"bbleg2"},{name:"bbleg",bone:"bbleg",attachment:"bbleg"},{name:"bbbody2",bone:"bbbody",attachment:"bbbody2"},{name:"bbbody",bone:"bbbody",attachment:"bbbody"},{name:"bbhand3",bone:"bbhand",attachment:"shadow"},{name:"bbhand",bone:"bbhand",attachment:"bbhand"},{name:"bbzipper",bone:"bbzipper",attachment:"bbzipper"},{name:"bbeye",bone:"bbeye",attachment:"bbeye"},{name:"bbbubble",bone:"bone4",attachment:"bbbubble"}],lx=[{name:"bbrighthand",order:2,bones:["bbhand5"],target:"bone3",compress:!0,stretch:!0}],cx=[{name:"bbbody7",order:4,bones:["bbleg"],target:"bbbody7",x:-87.45,y:91.52,mixY:0,mixScaleX:0,mixShearY:0},{name:"ear1",order:6,bones:["bbear1"],target:"trun",rotation:11.75,x:294.05,y:-32.35,mixRotate:-1,mixX:-.12,mixScaleX:-.12,mixShearY:-.12},{name:"ear2",order:7,bones:["bbear6"],target:"trun",rotation:11.75,x:289.18,y:-174.88,mix
60Rotate:-1,mixX:-.1,mixScaleX:-.1,mixShearY:-.1},{name:"ppturn",order:3,bones:["bone2"],target:"bone",x:-213.37,mixRotate:-1,mixX:-1,mixScaleX:-1,mixShearY:-1},{name:"shadow",order:9,bones:["bbhand10"],target:"bbhand",x:-1.35,y:-1.46,mixRotate:-.2,mixX:.5,mixScaleX:.5,mixShearY:.5},{name:"trun",bones:["trun2"],target:"trun",mixRotate:-1,mixX:-1,mixScaleX:-1,mixShearY:-1},{name:"trun2",order:1,bones:["bbhand4"],target:"trun2",rotation:-46.48,x:-65.7,y:95.01,mixRotate:0,mixX:-.5},{name:"trun3",order:5,bones:["bbhand"],target:"trun",rotation:-46.48,x:-43.27,y:68.59,mixRotate:0,mixX:-.6,mixScaleX:-1,mixShearY:-1},{name:"zipper",order:8,bones:["bbzipper"],target:"trun2",x:21.59,y:96.22,mixRotate:0,mixX:.5,mixScaleX:0,mixShearY:0}],hx=[{name:"default",attachments:{bbbody:{bbbody:{type:"mesh",uvs:[.1753,.5158,.16738,.59503,.15747,.68571,.15549,.77258,.14856,.84799,.14658,.89476,.20204,.91481,.26526,.94452,.33756,.96361,.47226,.96839,.58419,.94357,.68621,.91016,.77832,.8462,.84765,.7622,.88826,.66006,.90906,.55124,.916,.40806,.89322,.28045,.82685,.1325,.73078,.04754,.61489,.017,.46533,.01604,.3227,.05327,.22266,.16304,.19691,.29382,.18998,.41982,.703,.36779,.74208,.48499,.7486,.61788,.7258,.75077,.65414,.86169,.64078,.22157,.57148,.09415,.6647,.09803,.76175,.18927,.80901,.32176,.82735,.46342,.82735,.61346,.80243,.71449,.75861,.79481,.70534,.85692,.45166,.12256,.50806,.255,.56241,.39929,.58292,.5248,.58907,.63352,.57369,.74816,.53677,.87466,.34808,.15024,.36553,.27279,.39297,.40596,.41987,.54457,.42602,.65328,.41577,.75013,.3891,.88257,.28655,.16803,.29168,.28662,.30911,.424,.30604,.53469,.30911,.63747,.30091,.74223,.26604,.86181,.78733,.4491,.77348,.40198,.70946,.3982,.73565,.40975,.74941,.44825,.73416,.3745,.76188,.39263,.76522,.42062,.76669,.38947,.76219,.37762,.75198,.37194,.75023,.38422],triangles:[59,51,52,64,67,65,65,67,73,64,26,67,58,57,50,47,46,30,51,58,50,53,52,46,44,43,64,65,73,68,52,51,45,51,44,45,45,44,28,51,43,44,51,50,43,50,42,43,43,26,64,43,31,26,28,44,27,43,42,31,46,52,45,47,53,46,67,26,72,64,27,44,66,64,65,57,25,56,25,24,56,50,56,49,50,57,56,50,49,42,26,34,35,26,31,34,35,34,17,56,23,55,56,24,23,56,55,49,34,18,17,55,48,49,49,41,42,49,48,41,42,32,31,42,41,32,31,33,34,31,32,33,33,19,34,34,19,18,48,55,22,55,23,22,48,22,41,41,21,32,41,22,21,32,20,33,33,20,19,32,21,20,37,28,36,14,37,15,64,66,27,62,27,66,27,36,28,37,36,15,62,36,27,15,36,16,16,36,63,66,69,62,69,63,62,36,62,63,66,65,69,65,68,69,69,68,63,63,35,16,35,17,16,68,70,63,63,70,35,70,68,71,68,73,71,70,71,35,73,72,71,73,67,72,71,72,35,72,26,35,10,30,11,11,40,12,11,30,40,40,30,29,40,39,12,40,29,39,29,30,46,12,39,13,39,38,13,39,29,38,13,38,14,46,45,29,29,28,38,29,45,28,38,37,14,38,28,37,8,7,61,4,3,61,6,5,4,8,54,9,9,47,10,9,54,47,54,8,61,10,47,30,61,60,54,54,53,47,54,60,53,3,2,60,53,60,52,60,59,52,60,2,59,2,1,59,1,58,59,59,58,51,1,0,58,61,6,4,61,3,60,7,6,61,58,0,57,57,0,25],vertices:[4,4,-37.97,223.93,.76834,5,-20.65,307.45,.03262,6,104.27,336.69,.13993,7,8.82,342.06,.0591,4,4,-55.84,169.73,.75495,5,-68.94,277.04,.01692,6,48.96,350.76,.07424,7,-42.46,367.11,.15388,4,4,-76.86,107.82,.9019,5,-124.57,242.68,.004,6,-14.26,367.44,.03259,7,-100.96,396.32,.06151,1,4,-91.93,47.38,1,1,4,-108.54,-4.3,1,1,4,-117.27,-36.71,1,1,4,-83.06,-59.19,1,2,4,-45.16,-89.6,.84857,28,-295.99,488.35,.15143,3,4,.56,-113.98,.72351,28,-317.14,441.06,.23469,29,-347.91,121.41,.04181,3,4,90.59,-137.85,.77461,5,-151.87,-53.37,.01744,28,-334.71,349.59,.20795,3,4,169.95,-137.56,.54336,5,-90.49,-103.67,.19004,28,-328.92,270.44,.2666,3,4,243.99,-129.74,.27158,5,-28.42,-144.79,.51148,28,-316,197.11,.21694,4,4,316.19,-99.06,.07307,5,46.79,-167.1,.80583,6,-193.41,-38.99,.0011,28,-280.39,127.21,.12,4,4,376.21,-50.88,.00423,5,123.75,-168.17,.8334,6,-141.19,-95.53,.06523,28,-228.17,70.68,.09714,3,5,198.85,-145.58,.567,6,-73.1,-134.43,.313,28,-160.07,31.78,.12,4,5,269.36,-109.22,.22302,6,1.82,-160.54,.68692,7,-192.77,-123.87,.01006,28,-85.16,5.67,.08,3,5,353.52,-50.22,.01367,6,102.55,-180.93,.8133,7,-98.3,-164.35,.17303,2,6,195.38,-179.33,.47116,7,-7.1,-181.69,.52884,3,6,307.21,-150.19,.08316,7,108.33,-175.94,.89113,28,220.24,16.02,.02571,3,6,377.54,-93.86,.0037,7,188.66,-135.13,.97344,28,290.56,72.35,.02286,2,7,237.24,-67.81,.97143,28,324.42,148.14,.02857,3,4,236.56,529.21,.00349,7,274.12,28.73,.95092,28,340.86,250.18,.04559,3,4,134.54,524.92,.0325,6,416.49,185.44,.00262,7,283.68,130.39,.96488,4,4,49.76,463.4,.09308,5,199.47,436.26,2e-4,6,349.24,265.77,.02755,7,234.21,222.73,.87916,4,4,11.71,375.88,.20119,5,114.4,392.99,.00677,6,259.29,297.65,.07712,7,152.64,272.27,.71491,4,4,-12.89,288.81,.39434,5,40,341.52,.02178,6,170.73,316.17,.11979,7,69.71,308.43,.46409,3,6,153.54,-39.87,.39705,7,-19.65,-36.64,.14029,28,66.56,126.34,.46266,4,5,236.38,11.12,.0048,6,66.37,-53.75,.54173,7,-107.82,-32.47,.00465,28,-20.61,112.46,.44882,3,5,163.75,-50.72,.38701,6,-28.48,-43.67,.18503,28,-115.46,122.54,.42796,4,4,295.89,-24.31,.01465,5,78.73,-96.54,.57847,6,-120.25,-13.56,.00328,28,-207.23,152.65,.40359,3,4,230.04,-90.96,.22285,5,-14.48,-106,.40805,28,-278.27,213.71,.3691,3,6,263.71,-13.37,44e-5,7,93.61,-33.13,.55321,28,176.73,152.84,.44634,2,7,195.95,-20.32,.63522,28,274.32,186.23,.36478,2,7,170.76,-79.67,.69527,28,261.75,123,.30473,3,6,273.85,-99.52,.06909,7,85.99,-119.54,.67544,28,186.87,66.69,.25547,3,6,174.98,-117.3,.39113,7,-14.43,-116.81,.34704,28,88,48.91,.26183,4,5,284.65,-26.04,.02743,6,72.67,-114.34,.62261,7,-114,-93.07,.04472,28,-14.31,51.87,.30524,3,5,199.54,-91.84,.37621,6,-33.65,-97.93,.34866,28,-120.63,68.28,.27513,4,4,353.28,-10.62,9e-4,5,131.7,-122.52,.62629,6,-102.62,-69.86,.07186,28,-189.59,96.34,.30095,4,4,311.03,-60.12,.0342,5,67.61,-133.79,.65639,6,-154.92,-31.15,.00397,28,-241.89,135.05,.30544,3,4,265.31,-95.43,.14179,5,9.87,-131.9,.54181,28,-280.29,178.23,.3164,4,4,210.49,456.8,.00804,6,353.79,104.96,82e-5,7,205.91,64.36,.57605,28,266.82,271.16,.41509,5,4,227.56,355.59,.01465,5,267.93,239.91,.00114,6,254.01,80.92,.01861,7,103.32,61.16,.5456,28,167.03,247.13,.42,5,4,241.37,246.4,.02101,5,209.05,146.92,.01449,6,146.03,59.58,.29987,7,-6.74,62.26,.19177,28,59.06,225.79,.47286,5,4,235.33,155.49,.02984,5,146.52,80.67,.12436,6,54.93,59.3,.33758,7,-95.99,80.54,.01617,28,-32.05,225.51,.49204,5,4,222.28,78.53,.0233,5,87.45,29.63,.44152,6,-22.75,66.99,.038,7,-170.48,103.89,.00198,28,-109.73,233.2,.4952,2,5,15.92,-12.24,.48606,28,-189.35,256.24,.51394,3,4,148.89,-82.14,.49015,5,-71.44,-47.53,.0832,28,-275.1,295.28,.42665,5,4,136.31,453.24,.0328,5,259.74,373.31,5e-5,6,345.1,178.71,.00818,7,212.42,138.34,.60047,28,258.12,344.92,.3585,5,4,128.68,364.88,.0684,5,197.6,310.03,.00439,6,256.42,180.2,.04571,7,125.9,157.87,.51043,28,169.45,346.41,.37106,5,4,126.11,267.56,.12044,5,133.65,236.63,.03174,6,159.16,176.03,.14096,7,29.83,173.59,.27558,28,72.18,342.24,.43128,5,4,122.32,166.53,.21968,5,66.4,161.14,.098,6,58.11,172.81,.12981,7,-69.76,191.03,.08831,28,-28.87,339.02,.4642,5,4,109.27,89.56,.3604,5,7.33,110.1,.10437,6,-19.58,180.5,.04566,7,-144.25,214.38,.02412,28,-106.55,346.71,.46545,5,4,87.03,23.39,.56271,5,-51.94,73.23,.01048,6,-87.13,198.09,.00419,7,-206.8,245.36,.00267,28,-174.1,364.3,.41994,2,4,48.11,-65.16,.57805,28,-265.14,396.99,.42195,5,4,92.03,450.18,.06493,5,223.65,399.14,16e-5,6,338.98,222.68,.0187,7,215.38,182.63,.74091,28,252,388.89,.1753,5,4,76.72,366.46,.12406,5,158.54,344.33,.00539,6,254.4,232.15,.05694,7,134.51,209.13,.5636,28,167.42,398.35,.25,5,4,66.74,267.73,.24625,5,87.98,274.56,.02788,6,155.22,235.26,.11456,7,38.04,232.39,.33596,28,68.24,401.47,.27535,5,4,47.16,190.79,.39938,5,23.89,227.7,.04529,6,77.11,249.47,.10246,7,-35.54,262.21,.17002,28,-9.87,415.68,.28286,5,4,32.98,118.44,.55681,5,-33.11,180.94,.03509,6,3.95,258.61,.05262,7,-105.3,286.06,.06691,28,-83.03,424.82,.28857,5,4,10.88,46.43,.70924,5,-96,139.48,.00447,6,-69.42,275.67,.01004,7,-173.66,317.7,.01339,28,-156.4,441.87,.26286,2,4,-31.54,-31.88,.70857,28,-237.46,478.76,.29143,4,5,275.86,2.12,.01688,6,87.03,-88.57,.53923,7,-94.68,-70.77,.05217,28,.06,77.64,.39172,4,5,296.73,30.35,.00939,6,121.88,-84.27,.46522,7,-59.69,-73.65,.13088,28,34.9,81.94,.39451,5,4,340.65,224.74,54e-5,5,271.82,67.01,.00167,6,131.3,-40.96,.43078,7,-41.64,-33.17,.10407,28,44.33,125.25,.46294,5,4,356.47,212.67,33e-5,5,276.33,47.
6063,.00559,6,120.36,-57.58,.42989,7,-55.74,-47.22,.09076,28,33.38,108.63,.47343,5,4,359.65,183.65,13e-5,5,260.31,23.22,.00757,6,91.63,-62.77,.49996,7,-84.93,-46.44,.04792,28,4.65,103.44,.44442,4,5,295.7,63.91,.00293,6,145.5,-60.42,.42672,7,-31.71,-55.11,.15833,28,58.52,105.79,.41202,4,5,297.13,40.8,.00693,6,129.73,-77.36,.42489,7,-50.6,-68.49,.13609,28,42.75,88.84,.43209,5,4,374.68,200.56,5e-5,5,282.66,26.7,.00889,6,109.54,-76.58,.47755,7,-70.2,-63.62,.09496,28,22.56,89.63,.41855,4,5,300.96,39.55,.00715,6,131.46,-81,.45053,7,-49.65,-72.4,.15342,28,44.48,85.21,.3889,4,5,305.78,47.21,.00537,6,140.33,-79.22,.43853,7,-40.6,-72.47,.17429,28,53.35,86.99,.38181,4,5,304.68,55.28,.00378,6,145.43,-72.87,.42924,7,-34.31,-67.29,.17934,28,58.46,93.34,.38764,4,5,296.98,50.86,.00517,6,136.91,-70.33,.42204,7,-42.13,-63.07,.14569,28,49.94,95.88,.4271],hull:26,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,0,50],width:691,height:717}},bbbody2:{bbbody2:{type:"mesh",uvs:[.12883,.20084,.05184,.38344,.04524,.5588,.08703,.73777,.19483,.87155,.34222,.97098,.5314,.91675,.68319,.83359,.85918,.66546,.95377,.47021,.97137,.25146,.94057,.13576,.81298,.0526,.62819,.0291,.37961,.03633,.21243,.11588,.34373,.16001,.49426,.24199,.73004,.33887,.23309,.28223,.40721,.44768,.66474,.62057,.19319,.53711,.40539,.73832,.34057,.26773,.43279,.30339,.55303,.34723],triangles:[4,3,23,23,22,20,23,20,21,3,22,23,23,21,7,6,23,7,5,4,23,6,5,23,16,15,14,17,14,13,16,14,17,15,19,0,24,16,17,15,16,19,24,19,16,25,24,17,25,17,26,1,0,19,20,24,25,20,25,26,22,1,19,19,24,20,22,19,20,2,1,22,3,2,22,18,13,12,18,12,11,18,11,10,17,13,18,26,17,18,9,18,10,21,26,18,21,18,9,20,26,21,8,21,9,7,21,8],vertices:[2,9,140.47,18.92,.8,29,28.16,18.92,.2,3,8,234.02,64.81,.00363,9,108.75,84.29,.79637,29,-3.56,84.29,.2,3,8,197.55,119.79,.09132,9,63.57,132.35,.70868,29,-48.74,132.35,.2,3,8,148.11,167.22,.27734,9,6.85,170.8,.52266,29,-105.46,170.8,.2,1,4,-149.21,8.28,1,1,4,-113.04,-38.23,1,1,4,-51.52,-31.24,1,1,4,1.12,-11.08,1,2,8,-30.83,7.08,.99952,9,-142.63,-17.13,48e-5,2,8,-12.23,-69.72,.99937,9,-111.39,-89.71,63e-5,2,8,30.89,-139.97,.91155,9,-57.08,-151.72,.08845,3,8,63.81,-169.96,.66265,9,-19.59,-175.75,.13735,29,-131.9,-175.75,.2,3,8,114.06,-172.67,.55879,9,30.4,-169.98,.24121,29,-81.91,-169.98,.2,3,8,165.75,-146.87,.3644,9,77.03,-135.85,.4356,29,-35.29,-135.85,.2,3,8,226.85,-100.23,.0906,9,129.42,-79.62,.7094,29,17.11,-79.62,.2,3,8,251.7,-45.96,.00645,9,144.8,-21.94,.79355,29,32.49,-21.94,.2,4,8,209.01,-55.88,.03672,9,104.37,-38.89,.75785,29,-7.94,-38.89,.08829,4,-45.31,259.08,.11714,5,8,153.23,-57.63,.13273,9,49.69,-49.99,.42396,4,-6.74,218.75,.09278,6,101.27,305.18,.24196,7,-.54,311.83,.10857,3,8,72.73,-70.04,.64169,9,-27.59,-75.75,.06116,6,54.16,238.73,.29714,3,9,96.05,17.77,.792,29,-16.26,17.77,.088,4,-88.79,221.8,.12,4,8,130.46,21.02,.04374,9,14.02,23.72,.50378,4,-50.04,149.26,.1839,6,28.94,343.56,.26857,2,8,27.94,28.05,.98161,9,-88.22,13.42,.01839,4,8,164.97,86.7,.07411,9,37.01,94.26,.5276,29,-75.31,94.26,.06686,4,-121.96,131.05,.33143,1,4,-74.7,42.79,1,6,8,186.38,-22.27,.04743,9,76.42,-9.56,.56077,29,-35.89,-9.56,.04509,4,-55.2,219.79,.09609,6,98.95,353.59,.21215,7,7.05,359.7,.03846,6,8,155.38,-27.81,.0803,9,46.79,-20.23,.44822,29,-65.52,-20.23,.01149,4,-30.36,200.43,.109,6,81.35,327.48,.29398,7,-15.5,337.71,.05701,6,8,115.54,-35.84,.24789,9,8.87,-34.85,.24957,29,-103.45,-34.85,.00383,4,2.24,176.15,.06545,6,59.39,293.27,.41426,7,-43.96,308.7,.019],hull:16,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,0,30],width:309,height:376}},bbbubble:{bbbubble:{type:"mesh",uvs:[1,.50736,1,1,.46453,1,0,1,0,.50036,0,0,.47607,0,1,0,.51068,.50502],triangles:[1,8,0,8,6,7,4,5,6,2,3,4,8,2,4,1,2,8,4,6,8,8,7,0],vertices:[1,36,-506.22,189.88,1,2,37,133.06,319.87,.41429,36,-506.22,-292.91,.58571,2,38,420.6,-299.53,.52,37,-238.56,319.87,.48,2,38,98.21,-299.53,.5,37,-560.94,319.87,.5,1,38,98.21,190.12,1,2,38,98.21,680.47,.49714,35,-539.41,-.22,.50286,1,35,-209.02,-.22,1,1,35,154.59,-.22,1,1,34,-201.87,179.8,1],hull:8,edges:[10,12,12,14,6,8,8,10,2,0,0,14,2,4,4,6],width:694,height:980}},bbbubble2:{bbbubble2:{type:"mesh",uvs:[1,.515,1,1,.48247,1,0,1,0,.50464,0,0,.47096,0,1,0,.49332,.51166],triangles:[8,0,1,8,7,0,8,5,6,8,6,7,3,4,8,8,4,5,2,8,1,2,3,8],vertices:[3,37,672.06,623.19,49e-5,35,693.59,-676.9,.00591,36,32.78,10.41,.9936,2,37,672.06,-29.13,.47031,36,32.78,-641.91,.52969,2,37,-24.54,-29.13,.98844,38,634.61,-648.53,.01156,2,37,-673.94,-29.13,.46768,38,-14.79,-648.53,.53232,3,38,-14.79,17.72,.99345,35,-652.41,-662.96,.00606,34,-669.28,11.98,49e-5,2,38,-14.79,696.47,.4503,35,-652.41,15.78,.5497,2,38,619.13,696.47,.005,35,-18.5,15.78,.995,3,35,693.59,15.78,.49725,36,32.78,703.09,.47457,34,676.72,690.72,.02818,3,38,649.22,8.28,.00408,35,11.59,-672.4,.0025,34,-5.28,2.54,.99342],hull:8,edges:[2,4,4,6,6,8,8,10,2,0,0,14,10,12,12,14,16,10,16,6,16,14,16,2],width:1346,height:1345}},bbear1:{bbear1:{type:"mesh",uvs:[.45615,.49541,.40308,.6124,.31209,.80478,.23019,.88797,.15134,.92177,.07399,.80478,.04366,.65919,.04821,.43822,.1665,.24584,.32877,.14445,.45279,.10742,.59871,.06385,.8004,.10805,.95357,.34982,.96873,.50581,.7822,.66959,.55018,.76838,.49862,.5474,.16517,.75695,.20751,.56512,.31639,.38538,.4666,.31279,.58972,.29753,.69705,.39709,.76287,.55023],triangles:[4,18,3,4,5,18,3,18,2,18,19,2,2,19,1,5,6,18,18,6,19,6,7,19,19,20,1,7,8,19,19,8,20,0,20,21,1,20,0,20,9,21,20,8,9,0,21,17,17,21,22,21,10,22,22,10,11,9,10,21,22,11,12,16,24,15,16,23,24,23,17,22,23,16,17,15,24,14,24,13,14,24,23,13,23,12,13,23,22,12],vertices:[6,41,63.6,90.02,.18874,42,52.42,76.9,.10573,43,46.08,61.58,.1632,44,23.33,57.91,.19599,45,1.58,64.8,.17801,46,-27.83,77.04,.16833,6,41,51.97,118.88,.04431,42,51.13,108,.06392,43,63.39,87.44,.11049,44,51.59,70.95,.16968,45,32.65,62.99,.20896,46,1.19,65.8,.40264,6,41,33.5,167.51,.00911,42,50.01,160,.01835,43,93.18,130.07,.04371,44,99.24,91.78,.09339,45,84.5,58.93,.14694,46,49.3,46.03,.68851,6,41,33.22,201.77,65e-5,42,61.22,192.38,.0022,43,121.34,149.6,.0074,44,133.46,93.76,.02994,45,115.61,44.56,.06956,46,74.51,22.81,.89025,5,42,78.3,216.14,1e-5,43,149.15,158.7,18e-5,44,161.93,87.02,.00251,45,
60137.56,25.2,.01842,46,89.46,-2.34,.97889,3,44,175.38,52.41,6e-5,45,133.12,-11.66,.05846,46,73.93,-36.07,.94148,3,44,171.03,20.23,.00235,45,114.13,-38,.21275,46,47.79,-55.31,.7849,3,44,148.25,-20.23,.11201,45,74.98,-62.97,.35825,46,2.87,-67.08,.52974,4,43,153.82,16.73,.0949,44,91.87,-36.55,.23787,45,17.56,-50.81,.41435,46,-48.07,-37.9,.25288,5,42,135.05,50.3,.03127,43,97.07,-8.67,.26965,44,30.2,-28.63,.35904,45,-33.11,-14.77,.26331,46,-85.25,11.94,.07673,6,41,134.65,50.11,.04169,42,106.01,15.51,.13196,43,53.09,-19.61,.44439,44,-13.03,-15.02,.26559,45,-64.84,17.59,.1112,46,-105.52,52.47,.00516,5,41,116.15,.1,.19137,42,71.83,-25.42,.23578,43,1.34,-32.48,.42933,44,-63.89,.99,.13973,45,-102.17,55.66,.0038,4,41,71.63,-58.01,.45215,42,10.43,-65.27,.27706,43,-71.74,-28.39,.25458,44,-124.12,42.59,.01621,3,41,.02,-80.16,.74066,42,-64.46,-62.16,.1795,43,-130.36,18.32,.07984,3,41,-78.81,-63.53,.92374,42,-133.18,-20.1,.07625,43,-161,92.84,1e-5,6,41,-82.58,6.7,.91134,42,-113.22,47.34,.03372,43,-105.08,135.49,.03084,44,-67.09,199.81,.01761,45,-11.36,232.56,.00616,46,11.29,240.69,33e-5,6,41,-83.71,75.05,.72622,42,-91.39,112.13,.07458,43,-49.22,174.9,.09076,44,1.13,204.3,.07135,45,50.94,204.39,.03297,46,61.95,194.78,.00412,6,41,46.48,82.29,.42867,42,33.7,75.35,.1196,43,30.05,71.38,.15771,44,14.77,74.63,.15009,45,1.9,83.58,.10626,46,-21.76,94.82,.03768,1,46,54.88,-7.51,1,2,45,64.41,-.62,41e-5,46,11.91,-4.49,.99959,5,41,108.87,121.9,32e-5,42,105.75,91.79,.00196,43,97.91,42.11,.00817,44,57.41,14.27,.22029,45,11.09,10.25,.76927,6,41,94.86,67.49,.01489,42,74.34,45.21,.05233,43,45.06,23.06,.57575,44,2.37,25.57,.32554,45,-32.14,46.14,.03133,46,-65.64,69.62,16e-5,5,41,68.27,27.53,.03647,42,35.9,16.46,.72119,43,-2.94,22.54,.22605,44,-38.85,50.16,.01389,45,-56.92,87.25,.0024,4,41,14.62,4.57,.98212,42,-22.34,12.79,.01537,43,-52.12,53.96,.00204,44,-64.43,102.62,47e-5,2,41,-42.09,.18,.99971,42,-77.25,27.64,29e-5],hull:18,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,22,24,24,26,26,28,28,30,30,32,32,34,0,34,18,20,20,22],width:360,height:210}},bbear2:{bbear2:{type:"mesh",uvs:[.10905,.2696,.05571,.45762,.06947,.63556,.0712,.82022,.13314,.91759,.27422,.91759,.34682,.78372,.39453,.69359,.44936,.59003,.4929,.51013,.52621,.59057,.5548,.78471,.56478,.90039,.71297,.80008,.82825,.86723,.94869,.92766,.95558,.77994,.9074,.44755,.78524,.17223,.69125,.13784,.53651,.09851,.39778,.12299,.26562,.16216,.16278,.74719,.23981,.53027,.34025,.39708,.45921,.3457,.57525,.33048,.65769,.43473,.74727,.65033],triangles:[1,0,24,2,1,24,23,2,24,6,24,7,23,24,6,3,2,23,4,3,23,5,23,6,4,23,5,25,22,21,24,0,22,24,22,25,8,25,26,7,25,8,24,25,7,26,21,20,25,21,26,9,26,27,8,26,9,27,20,19,26,20,27,10,9,27,28,27,19,28,19,18,10,27,28,29,28,18,17,29,18,29,17,16,11,10,28,13,11,28,29,13,28,14,29,16,13,29,14,12,11,13,15,14,16],vertices:[4,49,176.03,32.75,.00173,50,121.36,-51.94,.1813,51,55.04,-67.2,.39091,52,-12.68,-66.14,.42605,3,50,154.32,-29.71,.03645,51,92.39,-53.57,.28196,52,26.9,-62.35,.68159,3,50,164.86,1.87,4e-5,51,110.23,-25.46,.1239,52,51.24,-39.63,.87606,3,50,179.83,32.59,1e-4,51,132.17,.73,.03891,52,79.06,-19.8,.96099,5,48,78.79,206.2,8e-5,49,145.62,149.04,15e-5,50,168.1,58.79,.00492,51,127.1,29,.05258,52,81.27,8.83,.94227,6,47,35.15,174.66,2e-5,48,43.78,169.22,.00113,49,95.55,139.75,.00206,50,122.73,81.94,.0275,51,88.66,62.4,.14765,52,52.47,50.84,.82163,6,47,45.46,140.11,.00112,48,43.74,133.16,.00799,49,74.29,110.62,.01379,50,88.13,71.79,.09257,51,52.63,60.89,.27615,52,17.22,58.44,.60837,6,47,52.6,117.22,.01097,48,44,109.19,.03758,49,60.4,91.09,.05165,50,65.21,64.77,.18726,51,28.69,59.61,.3468,52,-6.27,63.22,.36574,6,47,60.79,90.92,.05721,48,44.31,81.64,.10607,49,44.43,68.64,.10336,50,38.87,56.7,.26061,51,1.18,58.13,.30694,52,-33.27,68.71,.16581,6,47,67.05,70.19,.18698,48,44.35,59.98,.18317,49,31.71,51.1,.13831,50,18.1,50.54,.25099,51,-20.46,57.16,.18702,52,-54.45,73.22,.05353,6,47,47.03,66.62,.4069,48,24.15,62.31,.21805,49,16.76,64.88,.12056,50,14.64,70.58,.16796,51,-18.99,77.44,.0764,52,-47.93,92.48,.01013,6,47,9.64,73.75,.66412,48,-9.63,79.88,.17317,49,-.21,98.96,.0698,50,21.94,107.93,.07433,51,-2.89,111.93,.01765,52,-23.66,121.81,93e-5,6,47,-48.1,79.39,.8
606212,48,-63.31,101.85,.09367,49,-30.68,148.32,.02312,50,27.86,165.64,.01878,51,16.77,166.51,.00229,52,9.09,169.68,1e-5,5,47,-49.2,35.11,.96471,48,-77.08,59.75,.03011,49,-66.59,122.39,.00286,50,-16.41,166.95,.0023,51,-25.88,178.46,2e-5,2,47,-75.3,-1.46,.99456,48,-112.57,32.2,.00544,2,47,-93.91,-32.17,.98622,48,-139.22,8.13,.01378,2,47,-52.85,-56.43,.88292,48,-106.85,-26.9,.11708,3,47,9.88,-68.59,.66887,48,-50.24,-56.55,.32138,49,-113.34,12.58,.00975,4,47,75.22,-52.14,.36932,48,17.06,-59.54,.50008,49,-60.7,-29.46,.13028,50,-104.26,42.95,33e-5,5,47,96.18,-24.71,.14161,48,45.01,-39.28,.49582,49,-26.17,-29.53,.25254,50,-76.93,21.86,.1091,51,-119.6,52.25,93e-5,6,47,127.82,21.89,.02232,48,88.7,-3.72,.29152,49,30.07,-26.5,.35531,50,-30.48,-10,.25424,51,-82.2,10.12,.07527,52,-126.05,43.23,.00133,6,47,146.33,68.65,.00134,48,119.85,35.76,.10002,49,78.49,-12.92,.23652,50,16.19,-28.73,.39877,51,-41.43,-19.31,.2128,52,-93.99,4.49,.05054,4,49,124.08,2.91,.11425,50,61.98,-43.96,.32641,51,-.66,-45.13,.37349,52,-61.04,-30.76,.18585,1,52,49.22,-.17,1,3,50,101.23,12.47,1e-5,51,51.04,.17,.45474,52,.4,.07,.54525,5,48,97.31,85.7,82e-5,49,89.67,40.72,.00163,50,57.74,7,.0968,51,7.51,5.35,.89874,52,-40.43,16.04,.00201,6,47,99.55,67.4,.00558,48,74.68,47.98,.03626,49,49.18,23.55,.2303,50,15.16,18.05,.6889,51,-31.15,26.34,.03871,52,-72.55,46.08,24e-5,5,47,83.21,28.73,.01169,48,47.93,15.63,.35451,49,8.5,13.14,.59821,50,-23.43,34.58,.03346,51,-64.61,51.69,.00213,5,47,43.17,14.22,.31609,48,5.41,13.23,.66157,49,-27.28,36.22,.01474,50,-37.75,74.68,.00754,51,-68.83,94.06,6e-5,3,47,-18.25,7.34,.99747,48,-55.4,24.27,.00249,50,-44.33,136.13,3e-5],hull:23,edges:[0,2,2,4,4,6,6,8,8,10,16,18,22,24,24,26,26,28,28,30,30,32,32,34,34,36,0,44,40,42,42,44,36,38,38,40,10,12,18,20,20,22,12,14,14,16],width:361,height:185}},bbeye:{bbeye:{type:"mesh",uvs:[.10176,.5829,.05157,.79009,.23422,.87224,.4573,.81509,.7027,.69007,.95646,.38644,.92996,.18997,.83934,.09352,.60928,.18282,.40237,.27117,.24955,.33643],triangles:[2,10,3,10,9,3,1,0,2,2,0,10,3,8,4,3,9,8,5,7,6,5,4,7,4,8,7],vertices:[2,28,151.24,306.76,.39143,33,22.36,122.88,.60857,2,28,128.84,325.96,.40571,33,4.34,146.24,.59429,2,28,110.38,271.52,.41857,33,-24.83,96.7,.58143,2,28,106.66,202.11,.39857,33,-42.6,29.51,.60143,2,28,110.01,124.62,.35,33,-55.1,-47.04,.65,2,28,134.33,41.28,.21143,33,-48.28,-133.59,.78857,2,28,159.07,45.77,.22571,33,-23.14,-134.24,.77429,2,28,174.89,71.75,.25429,33,-2.36,-112.02,.74571,2,28,175.09,143.88,.35,33,12.53,-41.44,.65,2,28,174.31,208.91,.39838,33,25.01,22.38,.60162,2,28,173.73,256.93,.38286,33,34.23,69.51,.61714],hull:11,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,0,20,16,18,18,20],width:310,height:121}},bbhand:{bbhand:{type:"mesh",uvs:[.14688,.39149,.06454,.50076,.04844,.64529,.08221,.75388,.10929,.84093,.27575,.94668,.45652,.93963,.6731,.85151,.82345,.6541,.92189,.43907,.96126,.22228,.91294,.0707,.7787,.03193,.65341,.09714,.52991,.19937,.34734,.3016,.20045,.58966,.3723,.45157,.56201,.3338,.67474,.21331,.24369,.81215,.42136,.70134,.59015,.57595,.75599,.3864,.82113,.19394],triangles:[10,23,24,24,19,12,22,23,8,22,18,23,23,19,24,24,12,11,24,11,10,19,13,12,18,19,23,18,14,19,8,23,9,9,23,10,15,14,18,14,13,19,4,20,5,5,20,6,20,21,6,6,21,7,21,22,7,7,22,8,4,3,20,3,16,20,20,16,21,3,2,16,16,17,21,21,17,22,2,1,16,1,0,16,16,0,17,17,18,22,0,15,17,17,15,18],vertices:[2,11,12.86,82.47,.98176,12,-41.04,122.37,.01824,2,11,-19.49,67.49,.99933,12,-76.44,126.66,67e-5,1,11,-41.26,36.23,1,1,11,-47.22,7.08,1,1,11,-52,-16.29,1,1,11,-27.55,-61.17,1,1,11,14.29,-81.87,1,3,11,74.4,-88.33,.86392,12,-78.57,-55.25,.03608,30,-181.18,-82.99,.1,3,11,133.21,-61.47,.35328,12,-14.43,-63.36,.39672,30,-116.53,-82.05,.25,3,11,182.47,-24.15,.00293,12,47.09,-57.54,.60136,30,-56.43,-67.68,.39571,2,12,101.47,-38.25,.47286,30,-5.28,-40.98,.52714,2,12,129.81,-7.76,.43143,30,18.51,-6.83,.56857,2,12,121.49,27.36,.49429,30,5.37,26.79,.50571,3,11,164.51,87.65,.00958,12,90.65,46.99,.59042,30,-27.92,41.91,.4,4,11,123.72,79.38,.13074,12,51.6,61.42,.48274,30,-68.6,50.74,.26651,31,187.55,29.69,.12,3,11,69.54,78.4,.69007,12,5.02,89.09,.20993,30,-118.6,71.62,.1,3,11,.15,30.26,.79958,12,-79.32,84.66,42e-5,30,-201.49,55.44,.2,3,11,56.4,40.82,.59166,12,-25.94,64.05,.05834,30,-145.75,42.49,.35,3,11,114.14,44.49,.17158,12,25.1,36.79,.37842,30,-91.4,22.64,.45,3,11,154.78,58.29,.01517,12,66.93,27.14,.48483,30,-48.63,18.94,.5,2,11,-17.94,-26.26,.8,30,-240.78,10.96,.2,2,11,36.2,-22.7,.65,30,-189.77,-7.55,.35,3,11,90.16,-14.69,.59738,12,-26.43,-.92,.00262,30,-137.15,-21.91,.4,2,12,37.9,-13.52,.55,30,-71.69,-25.38,.45,2,12,90.03,-3.16,.4,30,-21.52,-7.84,.6],hull:16,edges:[0,2,2,4,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,0,30,4,6,6,8,6,32,32,34,34,36,36,38,38,24],width:258,height:262}},bbhand2:{bbhand2:{type:"mesh",uvs:[.08769,.29341,.04659,.43178,.03974,.55908,.08312,.74542,.13335,.88563,.29315,.94836,.45981,.81921,.663,.65501,.79313,.52587,.90043,.37274,.93467,.19932,.8502,.08862,.5557,.14766,.31142,.21592,.25926,.36318,.53907,.25551],triangles:[5,4,6,4,3,6,7,6,14,6,3,2,14,6,2,14,2,1,14,15,7,1,0,14,14,13,15,14,0,13,7,15,8,8,15,9,9,15,10,10,15,11,15,12,11,15,13,12],vertices:[2,15,-31.07,98.92,.07113,14,40.72,81.64,.92887,2,15,-63.74,78.44,.00861,14,17.35,50.97,.99139,1,14,2.05,20.01,1,1,14,-9.64,-30.03,1,1,14,-14.92,-69.23,1,1,14,10.24,-98.91,1,2,15,-72.61,-59.89,89e-5,14,57.76,-81.62,.99911,2,15,-9.69,-59.26,.32564,14,116.44,-58.87,.67436,2,15,35.16,-54.21,.88813,14,156.64,-38.36,.11187,1,15,80.99,-41.03,1,1,15,119.25,-12.71,1,1,15,127.04,21.66,1,2,15,69.78,55.38,.91848,14,150.43,76.41,.08152,2,15,18.62,79.62,.41653,14,94.02,81.08,.58347,2,15,-17.47,59.11,.13341,14,67.46,49.17,.86659,2,15,46.72,37.06,.87479,14,135.3,51.14,.12521],hull:14,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,0,26,2,28,28,30,30,22],width:219,height:271}},bbhand3:{shadow:{type:"mesh",uvs:[.27216,.19766,.22385,.27903,.20924,.38701,.22947,.51846,.29351,.65617,.38002,.75633,.49125,.79701,.61933,.80484,.74741,.73442,.78561,.6014,.79348,.46056,.76089,.34476,.61596,.20861,.36204,.13036],triangles:[0,2,1,3,2,0,9,11,10,13,3,0,4,13,12,4,3,13,5,12,6,9,12,11,5,4,12,6,12,9,9,7,6,8,7,9],vertices:[1,40,-14.39,23.52,1,1,40,-20.21,-5.46,1,1,40,-10.92,-34.8,1,1,40,13.44,-63.49,1,1,40,53.69,-85.64,1,1,40,96.68,-94.39,1,1,40,140.29,-83.9,1,1,40,185.33,-62.2,1,1,40,225.13,-25.1,1,1,40,233.43,25.87,1,1,40,199.56,54.86,1,1,40,173.02,77.42,1,1,40,105.19,84.26,1,1,40,7.58,56.71,1],hull:14,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,0,26],width:390,height:280}},bbleg:{bbleg:{type:"mesh",uvs:[.05844,.20151,.10852,.32591,.19616,.50074,.31956,.68398,.47337,.84704,.67801,.94259,.86043,.95772,.92661,.90056,.96595,.71901,.95522,.51055,.89441,.37607,.72451,.22477,.49737,.10878,.27559,.05499,.10747,.06507,.04488,.13063],triangles:[11,2,12,11,3,2,12,1,13,12,2,1,1,0,13,13,0,14,0,15,14,6,5,7,7,5,8,8,5,4,8,4,9,4,3,9,3,10,9,3,11,10],vertices:[1,23,123.21,34,1,1,23,88.18,47.78,1,2,22,191.74,55.15,.04755,23,35.88,63.76,.95245,2,22,134.68,77.74,.64327,23,-24.59,74.29,.35673,2,22,74.44,90.95,.97053,23,-86.25,75,.02947,1,22,14.52,80.76,1,1,22,-27.23,55.65,1,1,22,-31.93,32.21,1,1,22,-10.14,-15.48,1,2,22,26.9,-61.48,.99999,23,-101.85,-83.91,1e-5,2,22,62.38,-82.72,.97576,23,-62.79,-97.51,.02424,2,22,124.12,-90.72,.66732,23,-.71,-92.8,.33268,2,22,192.29,-81.68,.09639,23,64.2,-70.11,.90361,1,23,115.11,-36.65,1,1,23,143.04,-1.61,1,1,23,140.49,23.19,1],hull:16,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,0,30],width:266,height:283}},bbleg2:{bbleg2:{type:"mesh",uvs:[.08384,.29572,.16905,.5396,.26688,.77846,.3868,.91926,.62349,.91926,.83809,.8564,.91383,.68794,.80337,.42394,.62349,.15492,.30791,.09206,.13433,.17503],triangles:[2,1,7,8,1,0,1,8,7,8,0,9,9,0,10,6,5,4,4,3,2,6,4,2,2,7,6],vertices:[1,26,64.72,35.28,1,2,25,83.62,44.98,.09042,26,19.57,44.5,.90958,2,25,38.29,50.99,.76928,26,-25.59,51.67,.23072,2,25,7.66,46.4,.95944,26,-56.32,47.86,.04056,2,25,-7.18,15.45,.99991,26,-71.95,17.31,9e-5,1,25,-10.32,-17.55,1,2,25,12.57,-40.71,.99488,26,-53.65,-39.35,.00512,2,25,62.82,-47.05,.50407,26,-3.58,-46.97,.49593,2,25,118.25,-44.71,.00114,26,51.89,-46.06,.99886,1,26,82.92,-10.53,1,1,26,80.94,18.75,1],hull:11,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,0,20],width:145,height:182}},bbzipper:{bbzipper:{type:"mesh",uvs:[.09676,.18303,.08885,.42973,.25761,.67378,.53711,.87538,.91945,.59685,.88781,.48809,.43427,.07427,.32108,.1018,.19432,.13263,.21444,.17888,.23631,.2823,.34677,.22399,.3329,.15263],triangles:[9,8,7,12,7,6,12,9,7,11,12,6,10,9,11,0,9,10,1,0,10,11,6,5,2,10,11,2,11,5,3,2,5,1,10,2,4,3,5,0,8,9,9,12,11],vertices:[2,19,-19.41,-21.86,.94286,27,26.22,-207.33,.05714,2,19,10.51,-49.86,.95,27,-14.05,-199.78,.05,2,19,59.55,-55.38,.95,27,-58.39,-221.45,.05,2,19,115.49,-42.36,.95,27,-98.58,
60-262.48,.05,2,19,122.83,36.13,.95,27,-62.63,-332.64,.05,2,19,105.77,44.07,.95,27,-43.98,-330.17,.05,2,19,4.18,32.42,.98,27,35.47,-265.79,.02,2,19,-4.85,15.19,.93429,27,33.83,-246.41,.06571,2,19,-14.96,-4.1,.96,27,32,-224.71,.04,2,19,-6.97,-6.63,.96286,27,23.9,-226.86,.03714,2,19,8.35,-15.21,.96,27,6.38,-227.85,.04,2,19,13.23,5.04,.97429,27,13.13,-247.56,.02571,2,19,2.8,11.11,.91429,27,25.19,-247.08,.08571],hull:9,edges:[0,2,2,4,4,6,6,8,8,10,10,12,0,16,12,14,14,16],width:167,height:166}}}}],fx={1:{bones:{bbbody2:{rotate:[{value:-1.19,curve:[.098,-.71,.185,0]},{time:.4,curve:[.803,0,.609,-1.63]},{time:1.0333,value:-1.63,curve:[1.174,-1.63,1.213,-1.62]},{time:1.3,value:-1.19,curve:[1.398,-.71,1.485,0]},{time:1.7,curve:[2.103,0,1.943,-1.63]},{time:2.3667,value:-1.63,curve:[2.508,-1.63,2.584,-1.43]},{time:2.6333,value:-1.19,curve:[2.677,-.98,2.723,.51]},{time:2.7667,value:.51,curve:[2.941,.51,3.635,-2.28]},{time:3.9333,value:-1.19,curve:[4.065,-.71,4.292,0]},{time:4.4667,curve:[5.007,0,4.899,-1.63]},{time:5.3333,value:-1.63,curve:[5.478,-1.63,5.577,-1.62]},{time:5.6667,value:-1.19}],translate:[{x:-7.67,y:-1.51,curve:[.098,-4.57,.185,0,.098,-.9,.185,0]},{time:.4,curve:[.803,0,.609,-10.43,.803,0,.609,-2.05]},{time:1.0333,x:-10.43,y:-2.05,curve:[1.174,-10.43,1.243,-9.46,1.174,-2.05,1.242,-1.86]},{time:1.3,x:-7.67,y:-1.51,curve:[1.398,-4.57,1.485,0,1.398,-.9,1.485,0]},{time:1.7,curve:[2.103,0,1.943,-10.43,2.103,0,1.943,-2.05]},{time:2.3667,x:-10.43,y:-2.05,curve:[2.508,-10.43,2.584,-7.67,2.508,-2.05,2.584,-1.51]},{time:2.6333,x:-7.67,y:-1.51,curve:"stepped"},{time:3.9333,x:-7.67,y:-1.51,curve:[4.065,-7.67,4.178,0,4.065,-1.51,4.178,0]},{time:4.4667,curve:[5.007,0,4.899,-10.43,5.007,0,4.899,-2.05]},{time:5.3333,x:-10.43,y:-2.05,curve:[5.478,-10.43,5.577,-10.42,5.478,-2.05,5.577,-2.05]},{time:5.6667,x:-7.67,y:-1.51}]},bbbody3:{rotate:[{value:-3,curve:[.05,-1.32,.129,0]},{time:.2667,curve:[.67,0,.509,-12.11]},{time:.9333,value:-12.11,curve:[1.221,-12.11,1.169,-7.39]},{time:1.3,value:-3,curve:[1.35,-1.32,1.429,0]},{time:1.5667,curve:[1.97,0,1.809,-12.11]},{time:2.2333,value:-12.11,curve:[2.512,-12.11,2.464,-6.48]},{time:2.5667,value:-3,curve:[2.61,-1.52,2.656,-1.3]},{time:2.7,value:-1.3,curve:[2.842,-1.3,3.161,-6.59]},{time:3.5,value:-6.23,curve:[3.782,-5.94,4.089,0]},{time:4.2667,curve:[4.807,0,4.733,-12.11]},{time:5.1667,value:-12.11,curve:[5.461,-12.11,5.533,-7.39]},{time:5.6667,value:-3}],translate:[{x:-15.98,y:-.07,curve:[.089,-7.36,.18,0,.05,-.03,.129,0]},{time:.2667,curve:[.485,0,.715,-45.4,.67,0,.509,-.27]},{time:.9333,x:-45.4,y:-.27,curve:[1.065,-45.4,1.169,-28.7,1.221,-.27,1.169,-.16]},{time:1.3,x:-15.98,y:-.07,curve:[1.389,-7.36,1.48,0,1.35,-.03,1.429,0]},{time:1.5667,curve:[1.785,0,2.015,-45.4,1.97,0,1.809,-.27]},{time:2.2333,x:-45.4,y:-.27,curve:[2.361,-45.4,2.441,-28.7,2.512,-.27,2.464,-.14]},{time:2.5667,x:-15.98,y:-.07,curve:[2.61,-11.56,2.656,-15.98,2.61,-.03,2.656,-.07]},{time:2.7,x:-15.98,y:-.07,curve:"stepped"},{time:3.9333,x:-15.98,y:-.07,curve:[4.052,-15.98,4.151,0,4.001,-.07,4.081,0]},{time:4.2667,curve:[4.559,0,4.943,-45.4,4.807,0,4.733,-.27]},{time:5.1667,x:-45.4,y:-.27,curve:[5.302,-45.4,5.533,-28.7,5.461,-.27,5.533,-.16]},{time:5.6667,x:-15.98,y:-.07}]},bbbody4:{rotate:[{value:-.75,curve:[.036,-.34,.082,0]},{time:.1333,curve:[.536,0,.376,-16.32]},{time:.8,value:-16.32,curve:[1.172,-16.32,1.125,-2.73]},{time:1.3,value:-.75,curve:[1.336,-.34,1.382,0]},{time:1.4333,curve:[1.836,0,1.676,-16.32]},{time:2.1,value:-16.32,curve:[2.458,-16.32,2.282,-2.68]},{time:2.5333,value:.24,curve:[2.577,.74,2.584,.95]},{time:2.6667,value:.95,curve:[2.799,.95,3.054,-3.75]},{time:3.3667,value:-3.57,curve:[3.588,-3.44,3.836,1.5]},{time:4.1,curve:[4.553,-2.58,4.533,-16.32]},{time:4.9667,value:-16.32,curve:[5.348,-16.32,5.488,-2.73]},{time:5.6667,value:-.75}],translate:[{x:-4.49,y:-.68,curve:[.045,-1.81,.09,0,.036,-.3,.082,0]},{time:.1333,curve:[.352,0,.582,-43.14,.536,0,.376,-14.71]},{time:.8,x:-43.14,y:-14.71,curve:[.975,-43.14,1.125,-14.86,1.172,-14.71,1.125,-2.46]},{time:1.3,x:-4.49,y:-.68,curve:[1.345,-1.81,1.39,0,1.336,-.3,1.382,0]},{time:1.4333,curve:[1.652,0,1.882,-43.14,1.836,0,1.676,-14.71]},{time:2.1,x:-43.14,y:-14.71,curve:[2.269,-43.14,2.367,-15.01,2.458,-14.71,2.282,-3.3]},{time:2.5333,x:-4.49,y:-.68,curve:[2.577,-1.73,2.623,-4.49,2.577,-.22,2.623,-.68]},{time:2.6667,x:-4.49,y:-.68,curve:[3.016,-4.49,3.351,-4.49,3.016,-.68,3.351,-.68]},{time:3.7,x:-4.49,y:-.68,curve:"stepped"},{time:3.9333,x:-4.49,y:-.68,curve:[3.994,-4.49,4.042,0,3.982,-.68,4.031,0]},{time:4.1,curve:[4.393,0,4.743,-43.14,4.64,0,4.533,-14.71]},{time:4.9667,x:-43.14,y:-14.71,curve:[5.146,-43.14,5.488,-14.86,5.348,-14.71,5.488,-2.46]},{time:5.6667,x:-4.49,y:-.68}]},bbbody5:{rotate:[{curve:[.376,2.06,.243,-5.01]},{time:.6667,value:-5.01,curve:[1.09,-5.01,1.082,-1.2]},{time:1.3,curve:[1.676,2.06,1.543,-5.01]},{time:1.9667,value:-5.01,curve:[2.373,-5.01,2.411,-3.18]},{time:2.5,curve:[2.516,.58,2.59,1.7]},{time:2.6333,value:1.7,curve:[2.741,1.7,2.992,-3.25]},{time:3.2667,value:-3.31,curve:[3.522,-3.36,3.79,1.59]},{time:3.9333,curve:[4.274,-3.77,4.366,-5.01]},{time:4.8,value:-5.01,curve:[5.233,-5.01,5.443,-1.2]},{time:5.6667}],translate:[{curve:[.218,0,.448,-34.36,.403,0,.243,1.82]},{time:.6667,x:-34.36,y:1.82,curve:[.885,-34.36,1.082,0,1.09,1.82,1.082,0]},{time:1.3,curve:[1.518,0,1.748,-34.36,1.703,0,1.543,1.82]},{time:1.9667,x:-34.36,y:1.82,curve:[2.176,-34.36,2.29,0,2.373,1.82,2.086,0]},{time:2.5,curve:"stepped"},{time:2.6333,curve:[2.983,0,3.317,0,2.983,0,3.317,0]},{time:3.6667,curve:"stepped"},{time:3.9333,curve:[4.226,0,4.577,-34.36,4.474,0,4.366,1.82]},{time:4.8,x:-34.36,y:1.82,curve:[5.023,-34.36,5.443,0,5.233,1.82,5.443,0]},{time:5.6667}]},trun:{rotate:[{curve:[.429,0,.259,-10.59]},{time:.6667,value:-10.59,curve:[1.087,-10.59,1.082,0]},{time:1.3,curve:[1.729,0,1.559,-10.59]}
60,{time:1.9667,value:-10.59,curve:[2.387,-10.59,2.256,0]},{time:2.6333,curve:[2.706,0,3.783,-2.09]},{time:3.9333,value:-5.64,curve:[4.107,-9.75,4.383,-10.59]},{time:4.8,value:-10.59,curve:[5.23,-10.59,5.443,0]},{time:5.6667}],translate:[{x:6.59,y:84.5,curve:[.218,6.59,.448,-4.19,.218,84.5,.448,-43.82]},{time:.6667,x:-4.19,y:-43.82,curve:[.885,-4.19,1.082,6.59,.885,-43.82,1.082,84.5]},{time:1.3,x:6.59,y:84.5,curve:[1.518,6.59,1.748,-4.19,1.518,84.5,1.748,-43.82]},{time:1.9667,x:-4.19,y:-43.82,curve:[2.185,-4.19,2.415,6.59,2.185,-43.82,2.415,84.5]},{time:2.6333,x:6.59,y:84.5,curve:[2.706,6.59,3.788,11.13,2.706,84.5,3.788,104.65]},{time:3.9333,x:11.13,y:104.65,curve:[4.226,11.13,4.577,-4.19,4.226,104.65,4.577,-43.82]},{time:4.8,x:-4.19,y:-43.82,curve:[5.023,-4.19,5.443,6.59,5.023,-43.82,5.443,84.5]},{time:5.6667,x:6.59,y:84.5}]},bbhand7:{rotate:[{value:-6.76,curve:[.06,-2.9,.109,0]},{time:.1667,curve:[.385,0,.615,-37.86]},{time:.8333,value:-37.86,curve:[.994,-37.86,1.14,-17.14]},{time:1.3,value:-6.76,curve:[1.36,-2.9,1.443,0]},{time:1.5,curve:[1.718,0,1.915,-37.86]},{time:2.1333,value:-37.86,curve:[2.294,-37.86,2.475,-17.59]},{time:2.6333,value:-6.76,curve:"stepped"},{time:3.9333,value:-6.76,curve:[4.013,-2.9,4.056,0]},{time:4.1333,curve:[4.426,0,4.81,-37.86]},{time:5.0333,value:-37.86,curve:[5.198,-37.86,5.503,-17.14]},{time:5.6667,value:-6.76}],translatex:[{value:-154.34,curve:[.058,-161.23,.111,-164.38]},{time:.1667,value:-164.38,curve:[.598,-164.38,.442,37.28]},{time:.8333,value:37.28,curve:[.95,37.28,1.06,-94.41]}
60,{time:1.1667,value:-128.2,curve:[1.205,-140.18,1.256,-149.18]},{time:1.3,value:-154.34,curve:[1.358,-161.23,1.445,-164.38]},{time:1.5,value:-164.38,curve:[1.931,-164.38,1.742,37.28]},{time:2.1333,value:37.28,curve:[2.25,37.28,2.393,-94.41]},{time:2.5,value:-128.2,curve:[2.538,-140.18,2.586,-148.55]},{time:2.6333,value:-154.34,curve:[2.637,-154.8,3.03,-1.36]},{time:3.2333,value:-1.36,curve:[3.466,-1.36,3.621,-126.84]},{time:3.9333,value:-154.34,curve:[4.012,-161.23,4.059,-164.38]},{time:4.1333,value:-164.38,curve:[4.712,-164.38,4.633,37.28]},{time:5.0333,value:37.28,curve:[5.153,37.28,5.391,-94.41]},{time:5.5,value:-128.2,curve:[5.539,-140.18,5.622,-149.18]},{time:5.6667,value:-154.34}],translatey:[{value:-59.68,curve:[.062,-33.37,.116,-4.43]},{time:.1667,value:5,curve:[.247,22.4,.354,56.59]},{time:.5333,value:34.36,curve:[.624,23.16,.743,-94.67]},{time:.8333,value:-111.62,curve:[.937,-131.13,1.058,-127.27]},{time:1.1667,value:-105.7,curve:[1.207,-97.74,1.256,-78.22]},{time:1.3,value:-59.68,curve:[1.362,-33.37,1.449,-4.43]},{time:1.5,value:5,curve:[1.581,22.4,1.654,56.59]},{time:1.8333,value:34.36,curve:[1.924,23.16,2.043,-94.67]},{time:2.1333,value:-111.62,curve:[2.237,-131.13,2.392,-127.27]},{time:2.5,value:-105.7,curve:[2.54,-97.74,2.588,-79.53]},{time:2.6333,value:-59.68,curve:[2.637,-58.18,3.03,4.42]},{time:3.2333,value:4.42,curve:[3.466,4.42,3.885,-74.89]},{time:3.9333,value:-59.68,curve:[4.016,-33.37,4.065,-4.43]},{time:4.1333,value:5,curve:[4.242,22.4,4.392,56.59]},{time:4.6333,value:34.36,curve:[4.755,23.16,4.941,-94.67]},{time:5.0333,value:-111.62,curve:[5.139,-131.13,5.389,-127.27]},{time:5.5,value:-105.7,curve:[5.541,-97.74,5.622,-78.22]},{time:5.6667,value:-59.68}]},bbhand2:{rotate:[{value:-1.03,curve:[.059,-2.34,.109,-4.77]},{time:.1667,value:-7.54,curve:[.299,-13.69,.436,-21.41]},{time:.5667,value:-21.41,curve:[.785,-21.41,1.015,0]},{time:1.2333,curve:[1.263,0,1.271,-.39]},{time:1.3,value:-1.03,curve:[1.359,-2.34,1.443,-4.77]},{time:1.5,value:-7.54,curve:[1.632,-13.69,1.736,-21.41]},{time:1.8667,value:-21.41,curve:[2.085,-21.41,2.315,0]},{time:2.5333,curve:"stepped"},{time:2.6333,curve:[2.663,0,3.749,2.02]},{time:3.9333,value:-1.03,curve:[4.013,-2.34,4.057,-4.77]},{time:4.1333,value:-7.54,curve:[4.311,-13.69,4.492,-21.41]},{time:4.6667,value:-21.41,curve:[4.959,-21.41,5.377,0]},{time:5.6,curve:[5.63,0,5.637,-.39]},{time:5.6667,value:-1.03}]},bbhand3:{rotate:[{value:-27.76,curve:[.045,-27.12,.09,-26.69]},{time:.1333,value:-26.69,curve:[.148,-26.69,.152,-26.8]},{time:.1667,value:-26.98,curve:[.24,-27.86,.67,-36.96]},{time:.8,value:-36.96,curve:[.975,-36.96,1.125,-30.23]},{time:1.3,value:-27.76,curve:[1.345,-27.12,1.39,-26.69]},{time:1.4333,value:-26.69,curve:[1.448,-26.69,1.486,-26.8]},{time:1.5,value:-26.98,curve:[1.574,-27.86,1.97,-36.96]},{time:2.1,value:-36.96,curve:[2.275,-36.96,2.46,-30.29]},{time:2.6333,value:-27.76,curve:[2.775,-25.7,3.749,-29.71]},{time:3.9333,value:-27.76,curve:[3.994,-27.12,4.042,-26.69]},{time:4.1,value:-26.69,curve:[4.12,-26.69,4.114,-26.8]},{time:4.1333,value:-26.98,curve:[4.232,-27.86,4.833,-36.96]},{time:4.9667,value:-36.96,curve:[5.146,-36.96,5.488,-30.23]},{time:5.6667,value:-27.76}]},bbhand:{rotate:[{value:-37.45,curve:[.079,-36.34,.125,-32.28]},{time:.1667,value:-26.94,curve:[.296,-10.51,.31,18.98]},{time:.6,value:18.98,curve:[.955,18.98,1.048,-37.78]},{time:1.2667,value:-37.78,curve:[1.282,-37.78,1.285,-37.65]},{time:1.3,value:-37.45,curve:[1.379,-36.34,1.459,-32.28]},{time:1.5,value:-26.94,curve:[1.63,-10.51,1.643,18.98]},{time:1.9333,value:18.98,curve:[2.288,18.98,2.348,-37.78]},{time:2.5667,value:-37.78,curve:[2.702,-37.78,3.71,-39.78]},{time:3.9333,value:-37.45,curve:[4.04,-36.34,4.078,-32.28]},{time:4.1333,value:-26.94,curve:[4.307,-10.51,4.47,18.98]},{time:4.7667,value:18.98,curve:[5.13,18.98,5.41,-37.78]},{time:5.6333,value:-37.78,curve:[5.649,-37.78,5.652,-37.65]},{time:5.6667,value:-37.45}]},bbhand4:{rotate:[{value:-37.45,curve:[.079,-36.34,.125,-32.28]},{time:.1667,value:-26.94,curve:[.296,-10.51,.31,37.3]},{time:.6,value:37.3,curve:[.955,37.3,1.048,-37.78]},{time:1.2667,value:-37.78,curve:[1.282,-37.78,1.285,-37.65]},{time:1.3,value:-37.45,curve:[1.379,-36.34,1.459,-32.28]},{time:1.5,value:-26.94,curve:[1.63,-10.51,1.643,37.3]},{time:1.9333,value:37.3,curve:[2.288,37.3,2.348,-37.78]},{time:2.5667,value:-37.78,curve:[2.621,-37.78,2.948,-13.26]},{time:3.2667,value:-13.43,curve:[3.545,-13.57,3.83,-38.52]},{time:3.9333,value:-37.45,curve:[4.04,-36.34,4.078,-32.28]},{time:4.1333,value:-26.94,curve:[4.307,-10.51,4.47,37.3]},{time:4.7667,value:37.3,curve:[5.13,37.3,5.41,-37.78]},{time:5.6333,value:-37.78,curve:[5.649,-37.78,5.652,-37.65]},{time:5.6667,value:-37.45}],translate:[{x:1.88,y:13.04}]},bbhand5:{rotate:[{value:-17.04,curve:[.218,-17.04,.448,-19.85]},{time:.6667,value:-19.85,curve:[.885,-19.85,1.082,-17.04]},{time:1.3,value:-17.04,curve:[1.518,-17.04,1.748,-19.85]},{time:1.9667,value:-19.85,curve:[2.185,-19.85,2.415,-17.04]},{time:2.6333,value:-17.04,curve:"stepped"},{time:3.9333,value:-17.04,curve:[4.226,-17.04,4.577,-19.85]},{time:4.8,value:-19.85,curve:[5.023,-19.85,5.443,-17.04]},{time:5.6667,value:-17.04}]},bbhand6:{rotate:[{value:-17.57,curve:[.118,-26.47,.218,-35.49]},{time:.3333,value:-35.49,curve:[.537,-35.49,.763,.35]},{time:.9667,value:.35,curve:[1.084,.35,1.184,-8.79]},{time:1.3,value:-17.57,curve:[1.418,-26.47,1.551,-35.49]},{time:1.6667,value:-35.49,curve:[1.87,-35.49,2.063,.35]},{time:2.2667,value:.35,curve:[2.384,.35,2.518,-8.55]},{time:2.6333,value:-17.57,curve:"stepped"},{time:3.9333,value:-17.57,curve:[4.092,-26.47,4.245,-35.49]},{time:4.4,value:-35.49,curve:[4.673,-35.49,5.025,.35]},{time:5.2333,value:.35,curve:[5.353,.35,5.547,-8.79]},{time:5.6667,value:-17.57}]},bbbody6:{rotate:[{value:9.96,curve:[.341,9.96,.348,-3.41]},{time:.6667,value:-3.41,curve:[1.018,-3.41,1.082,9.96]},{time:1.3,value:9.96,curve:[1.641,9.96,1.648,-19.84]},{time:1.9667,value:-19.84,curve:[2.318,-19.84,2.497,4.38]},{time:2.6333,value:4.38,curve:[2.706,4.38,3.427,9.96]},{time:3.5,value:9.96,curve:"stepped"},{time:3.9333,value:9.96,curve:[4.39,9.96,4.473,1.94]},{time:4.8,value:1.94,curve:[5.16,1.94,5.443,9.96]},{time:5.6667,value:9.96}]},bbbody7:{rotate:[{value:3.74,curve:[.072,6.95,.143,9.96]},{time:.3,value:9.96,curve:[.641,9.96,.648,-3.97]},{time:.9667,value:-3.97,curve:[1.155,-3.97,1.184,-1.44]},{time:1.3,value:3.74,curve:[1.372,6.95,1.443,9.96]},{time:1.6,value:9.96,curve:[1.941,9.96,1.948,-12.42]},{time:2.2667,value:-12.42,curve:[2.455,-12.42,2.6,3.74]},{time:2.6333,value:3.74,curve:"stepped"},{time:3.9333,value:3.74,curve:[4.03,6.95,4.123,9.96]},{time:4.3333,value:9.96,curve:[4.79,9.96,4.907,-3.97]},{time:5.2333,value:-3.97,curve:[5.427,-3.97,5.547,-1.44]},{time:5.6667,value:3.74}]},bbleg2:{rotate:[{value:12.17,curve:[.218,12.17,.448,-6.85]},{time:.6667,value:-6.85,curve:[.885,-6.85,1.082,12.17]},{time:1.3,value:12.17,curve:[1.518,12.17,1.748,-6.85]},{time:1.9667,value:-6.85,curve:[2.185,-6.85,2.415,12.17]},{time:2.6333,value:12.17,curve:[2.677,12.17,3.356,4.62]},{time:3.4,value:4.62,curve:[3.575,4.62,3.759,25.4]},{time:3.9333,value:25.4,curve:[4.226,25.4,4.577,-6.85]},{time:4.8,value:-6.85,curve:[5.023,-6.85,5.443,12.17]},{time:5.6667,value:12.17}]},bbleg3:{rotate:[{value:-1.88,curve:[.147,3.76,.289,12.17]},{time:.4333,value:12.17,curve:[.652,12.17,.882,-6.85]},{time:1.1,value:-6.85,curve:[1.173,-6.85,1.227,-4.67]},{time:1.3,value:-1.88,curve:[1.447,3.76,1.589,12.17]},{time:1.7333,value:12.17,curve:[1.952,12.17,2.182,-6.85]},{time:2.4,value:-6.85,curve:[2.473,-6.85,2.562,-4.74]},{time:2.6333,value:-1.88,curve:[2.677,-.13,3.356,-9.43]},{time:3.4,value:-9.43,curve:[3.575,-9.43,3.759,6.35]},{time:3.9333,value:11.35,curve:[4.13,16.98,4.338,14.29]},{time:4.5,value:12.17,curve:[4.757,8.8,5.177,-6.85]},{time:5.4,value:-6.85,curve:[5.475,-6.85,5.592,-4.67]},{time:5.6667,value:-1.88}]},bbleg5:{rotate:[{value:22.99,curve:[.132,32.07,.27,43.41]},{time:.4,value:43.41,curve:[.618,43.41,.815,11.84]}
60,{time:1.0333,value:11.84,curve:[1.107,11.84,1.195,15.34]},{time:1.2667,value:20.09,curve:[1.281,21.02,1.285,21.99]},{time:1.3,value:22.99,curve:[1.432,32.07,1.57,43.41]},{time:1.7,value:43.41,curve:[1.918,43.41,2.148,11.84]},{time:2.3667,value:11.84,curve:[2.44,11.84,2.495,15.34]},{time:2.5667,value:20.09,curve:[2.575,20.62,2.977,25.88]},{time:3.3333,value:21.45,curve:[3.607,18.06,3.858,3.95]},{time:3.9333,value:7.82,curve:[4.111,16.9,4.292,43.41]},{time:4.4667,value:43.41,curve:[4.759,43.41,5.11,11.84]},{time:5.3333,value:11.84,curve:[5.409,11.84,5.56,15.34]},{time:5.6333,value:20.09,curve:[5.648,21.02,5.652,21.99]},{time:5.6667,value:22.99}]},bbleg6:{rotate:[{value:-4.61,curve:[.059,-5.91,.109,-6.85]},{time:.1667,value:-6.85,curve:[.24,-6.85,.329,-5.46]},{time:.4,value:-3.58,curve:[.547,.13,.689,5.67]},{time:.8333,value:5.67,curve:[.98,5.67,1.123,.13]},{time:1.2667,value:-3.58,curve:[1.282,-3.94,1.285,-4.29]},{time:1.3,value:-4.61,curve:[1.359,-5.91,1.442,-6.85]},{time:1.5,value:-6.85,curve:[1.573,-6.85,1.629,-5.46]},{time:1.7,value:-3.58,curve:[1.847,.13,1.989,5.67]},{time:2.1333,value:5.67,curve:[2.28,5.67,2.423,.13]},{time:2.5667,value:-3.58,curve:[2.575,-3.78,2.977,4.06]},{time:3.3333,value:-.1,curve:[3.607,-3.29,3.858,-18.53]},{time:3.9333,value:-19.77,curve:[4.013,-21.07,4.056,-6.85]},{time:4.1333,value:-6.85,curve:[4.232,-6.85,4.371,-5.46]},{time:4.4667,value:-3.58,curve:[4.664,.13,4.885,5.67]},{time:5.0333,value:5.67,curve:[5.183,5.67,5.486,.13]},{time:5.6333,value:-3.58,curve:[5.649,-3.94,5.652,-4.29]},{time:5.6667,value:-4.61}]},bone:{translate:[{curve:[.218,0,.448,120.7,.218,0,.448,0]},{time:.6667,x:120.7,curve:[.885,120.7,1.082,0,.885,0,1.082,0]},{time:1.3,curve:[1.518,0,1.748,120.7,1.518,0,1.748,0]},{time:1.9667,x:120.7,curve:[2.185,120.7,2.499,0,2.185,0,2.499,0]},{time:2.6333,curve:"stepped"},{time:3.9333,curve:[4.226,0,4.577,120.7,4.226,0,4.577,0]},{time:4.8,x:120.7,curve:[5.023,120.7,5.443,0,5.023,0,5.443,0]},{time:5.6667}]},bbeye:{translate:[{x:12.68,curve:[.218,12.68,.448,0,.218,0,.448,0]},{time:.6667,curve:[.885,0,1.082,12.68,.885,0,1.082,0]},{time:1.3,x:12.68,curve:[1.518,12.68,1.748,0,1.518,0,1.748,0]},{time:1.9667,curve:[2.185,0,2.415,12.68,2.185,0,2.415,0]},{time:2.6333,x:12.68,curve:"stepped"},{time:3.9333,x:12.68,curve:[4.226,12.68,4.577,0,4.226,0,4.577,0]},{time:4.8,curve:[5.023,0,5.443,12.68,5.023,0,5.443,0]},{time:5.6667,x:12.68}]},bbhand9:{rotate:[{curve:[.218,0,.448,19.24]},{time:.6667,value:19.24,curve:[.885,19.24,1.082,0]},{time:1.3,curve:[1.518,0,1.748,19.24]},{time:1.9667,value:19.24,curve:[2.185,19.24,2.415,0]},{time:2.6333,curve:"stepped"},{time:3.9333,curve:[4.226,0,4.577,19.24]},{time:4.8,value:19.24,curve:[5.023,19.24,5.443,0]},{time:5.6667}],scale:[{x:.978,curve:[.116,.978,.217,.741,.116,1,.217,.857]},{time:.3333,x:.741,y:.857,curve:[.523,.741,.744,1.104,.523,.857,.744,1]},{time:.9333,x:1.104,curve:[1.064,1.104,1.169,.978,1.064,1,1.169,1]},{time:1.3,x:.978,curve:[1.416,.978,1.55,.741,1.416,1,1.55,.857]},{time:1.6667,x:.741,y:.857,curve:[1.856,.741,2.044,1.104,1.856,.857,2.044,1]},{time:2.2333,x:1.104,curve:[2.364,1.104,2.502,.978,2.364,1,2.502,1]},{time:2.6333,x:.978,curve:"stepped"},{time:3.9333,x:.978,curve:[4.089,.978,4.244,.741,4.089,1,4.244,.857]},{time:4.4,x:.741,y:.857,curve:[4.654,.741,4.973,1.104,4.654,.857,4.973,1]},{time:5.1667,x:1.104,curve:[5.301,1.104,5.533,.978,5.301,1,5.533,1]},{time:5.6667,x:.978}]},bbbody:{rotate:[{curve:[.148,0,.294,4.21]},{time:.4333,value:4.21,curve:[.727,4.21,1.012,-10.27]},{time:1.3,value:-10.27,curve:[1.446,-10.27,1.594,4.21]},{time:1.7333,value:4.21,curve:[2.027,4.21,2.34,-21.13]},{time:2.6333,value:-10.27,curve:[2.98,2.56,3.201,22.34]},{time:3.8,value:9.15,curve:[4.091,2.73,4.239,-7.01]},{time:4.7,value:-3.59,curve:[5.014,-1.26,5.422,0]},{time:5.6667}],translate:[{x:-32.84,curve:[.073,-32.84,.162,-36.73,.073,0,.162,-19.42]},{time:.2333,x:-40.66,y:-19.42,curve:[.307,-44.54,.361,-48.47,.307,-19.42,.389,-4.33]},{time:.4333,x:-48.47,curve:[.673,-48.47,.785,-1.78,.557,12.08,.682,19.77]},{time:.8667,x:14.57,y:19.77,curve:[.987,38.44,1.034,67.73,1.085,19.77,1.183,11.02]},{time:1.3,x:67.73,curve:[1.373,67.73,1.418,64.76,1.339,-3.69,1.425,-19.1]},{time:1.5333,x:56.79,y:-19.1,curve:[1.643,49.19,1.661,45.09,1.638,-19.1,1.697,-3.73]},{time:1.7333,x:45.09,curve:[1.9,45.09,2.024,59.89,1.83,10.11,1.903,19.84]},{time:2.1,x:76.89,y:19.84,curve:[2.252,110.38,2.274,144.19,2.252,19.84,2.274,0]},{time:2.4333,x:166.62,curve:[2.48,173.07,2.562,178.13,2.48,0,2.562,0]},{time:2.6333,x:178.13,curve:[3.128,178.13,3.158,-20.89,2.735,0,3.377,0]},{time:3.9333,x:-75.92,curve:[4.062,-84.63,4.201,-145.84,4.092,0,4.239,3.32]},{time:4.3667,x:-145.84,y:3.32,curve:[5.464,-145.84,5.213,-32.84,4.803,3.32,5.333,0]},{time:5.6667,x:-32.84}]},bbbubble:{translate:[{time:2.2667,curve:[2.276,73.69,2.488,170.85,2.587,0,2.913,0]},{time:3.2333,x:170.85,curve:"stepped"},{time:3.6667,x:170.85,curve:[3.717,146.22,4.014,72.12,3.841,0,4.025,0]},{time:4.2,x:53.51,curve:[4.551,18.45,5.289,0,4.695,0,5.289,0]},{time:5.6667}]},bbzipper2:{rotate:[{value:-19.72,curve:[.146,-19.72,.292,10.99]}
60,{time:.4333,value:13.75,curve:[1.145,27.64,.996,-26.22]},{time:1.3667,value:-26.22,curve:[1.541,-26.22,1.725,11.08]},{time:1.8667,value:13.75,curve:[2.431,24.41,2.459,-50.89]},{time:2.6667,value:-50.89,curve:[2.787,-50.89,2.88,-12.34]},{time:3,value:-12.34,curve:[3.09,-12.34,3.243,-44.97]},{time:3.3333,value:-44.97,curve:[3.453,-44.97,3.601,-12.34]},{time:3.6667,value:-12.34,curve:[3.732,-12.34,4.261,-37.1]},{time:4.3333,value:-37.1,curve:[4.523,-37.1,4.756,1.69]},{time:4.9,value:13.75,curve:[5.17,36.32,5.467,-19.72]},{time:5.6667,value:-19.72}]}},ik:{bbrighthand:[{mix:0,compress:!0,stretch:!0}]}}},dx={bbear2:{rootBoneName:"bbear2",endBoneName:"",animation:{default:{name:"default",mode:4,delay:.1,speed:.5,affectByLevel:.2,springLevel:.3,limitRange:30,rotateOffset:0}}},bbear7:{rootBoneName:"bbear7",endBoneName:"",animation:{default:{name:"default",mode:4,delay:.1,speed:.7,affectByLevel:.2,springLevel:.3,limitRange:60,rotateOffset:0,springRot:.16}}},bone4:{rootBoneName:"bone4",endBoneName:"",animation:{default:{name:"default",mode:3,moveXFreq:2,moveXAmp:11,moveXOctaves:0,moveXDelay:0,moveXCenter:0,moveXSeed:3769,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.05,rotateFollowXMax:20,rotateFollowYMax:20}}},bbbubble2:{rootBoneName:"bbbubble2",endBoneName:"",animation:{default:{name:"default",mode:5,elasticFriction:.5,elasticSpring:1,elasticSoftness:3.5}}},bbbubble3:{rootBoneName:"bbbubble3",endBoneName:"",animation:{default:{name:"default",mode:5,elasticFriction:.5,elasticSpring:1,elasticSoftness:3.5}}},bbbubble4:{rootBoneName:"bbbubble4",endBoneName:"",animation:{default:{name:"default",mode:5,elasticFriction:.5,elasticSpring:1,elasticSoftness:3.5}}},bbbubble5:{rootBoneName:"bbbubble5",endBoneName:"",animation:{default:{name:"default",mode:5,elasticFriction:.5,elasticSpring:1,elasticSoftness:3.5}}},root:{rootBoneName:"root",endBoneName:"",animation:{default:{name:"default",mode:3,moveXFreq:2,moveXAmp:11,moveXOctaves:0,moveXDelay:3.29,moveXCenter:0,moveXSeed:5927.61,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.05,rotateFollowXMax:20,rotateFollowYMax:20}}}},vx={},mx={timeScale:1},px={skeleton:ox,bones:sx,slots:ux,ik:lx,transform:cx,skins:hx,animations:fx,extra:dx,extraSlot:vx,extraConfig:mx},gx="HanaCG2bubblehomo.png\nsize:654,231\nfilter:Linear,Linear\nscale:0.21\ncrown\nbounds:585,26,68,67\noffsets:10,2,80,70\nrotate:90\nhomo\nbounds:348,96,138,133\noffsets:43,6,181,246\nhomo1\nbounds:475,4,108,90\noffsets:3,2,114,100\nhomo2\nbounds:348,14,80,125\noffsets:21,1,104,128\nrotate:90\nhomobubble\nbounds:231,62,115,167\noffsets:0,0,119,167\nhomobubble2\nbounds:2,2,227,227\nhomojiemao\nbounds:231,21,108,39\nhomoyan2\nbounds:488,96,138,133\noffsets:43,6,181,246\n",yx={hash:"O+F/gqETyIA",spine:"4.0-from-4.1.17",x:-109.12,y:-120.61,width:227.22,height:227.22,images:"./bubbleimages/",audio:"C:/Users/xiankang.zhan/Desktop/需求/Hana米游CG2角色-拆-提交/Hana米游CG2bubble"},bx=[{name:"root",scaleX:.21,scaleY:.21,color:"abe323ff"},{name:"root2",parent:"root",x:-6681,y:-4059,color:"ff0000ff"},{name:"homobubble2",parent:"root",x:-12.64,y:-.01,color:"ff0000ff"},{name:"homobubble",parent:"homobubble2",x:21.47,y:.35},{name:"homo",parent:"homobubble2",rotation:15.88,x:-12.09,y:-237.08,transform:"noScale"},{name:"homo1",parent:"homo",rotation:-15.88,x:96.54,y:259.35,transform:"noScale"},{name:"homo2",parent:"homo1",length:125.22,rotation:75.17},{name:"homo3",parent:"homo2",length:123.96,rotation:2.39,x:125.22},{name:"homo4",parent:"homo3",length:117.97,rotation:-36.54,x:123.96},{name:"homo5",parent:"homo4",length:166.22,rotation:-55.28,x:117.97},{name:"homo6",parent:"homo5",length:161.31,rotation:-21.54,x:166.22},{name:"homo7",parent:"homo",rotation:-15.88,x:-120.57,y:186.93,transform:"noScale"},{name:"homo8",parent:"homo7",length:112.88,rotation:125.7},{name:"homo9",parent:"homo8",length:122.42,rotation:-22.67,x:112.88},{name:"homo10",parent:"homo9",length:147.05,rotation:-22.43,x:122.42},{name:"homo11",parent:"homo10",length:139.86,rotation:-33.02,x:147.05},{name:"homo12",parent:"homo11",length:151.61,rotation:-15.29,x:139.86},{name:"homo13",parent:"homo",length:418.97,rotation:94.99,x:-305.89,y:-205.93,color:"abe323ff"},{name:"homo14",parent:"homo",length:418.97,rotation:94.99,x:440.98,y:-140.66},{name:"crown",parent:"homo",x:-72.71,y:163.32,transform:"noScale"},{name:"homobubble3",parent:"homobubble",x:-8.46,y:481.72,color:"ff0000ff"},{name:"homobubble4",parent:"homobubble",x:5.87,y:-555.25,color:"ff0000ff"},{name:"homobubble5",parent:"homobubble",x:-512.13,y:-42.98,color:"ff0000ff"},{name:"homobubble6",parent:"homobubble",x:528.66,y:-12.39,color:"ff0000ff"},{name:"homo15",parent:"homo",x:6.08,y:-15.28,color:"6e1effff"},{name:"yancaijian",parent:"homo"},{name:"jiemao",parent:"homo",rotation:2.81,x:-13.29,y:172.02},{name:"jiemaocaijian",parent:"homo"},{name:"jiemao2",parent:"jiemao",x:-153.57,y:-7.19},{name:"jiemao3",parent:"jiemao",x:133.38,y:8.08},{name:"bone",parent:"root",rotation:.27,transform:"noScale",color:"ff0000ff"}],_x=[{name:"homobubble2",bone:"homobubble",attachment:"homobubble2"},{name:"homo2",bone:"homo7",attachment:"homo2"},{name:"homo",bone:"homo",attachment:"homo"},{name:"yancaijian",bone:"yancaijian",attachment:"yancaijian"},{name:"homo3",bone:"homo",attachment:"homo"},{name:"homo1",bone:"homo1",attachment:"homo1"},{name:"homobubble",bone:"homobubble",attachment:"homobubble"},{name:"jiemaocaijian",bone:"jiemaocaijian",attachment:"jiemaocaijian"}
60,{name:"homojiemao",bone:"jiemao",attachment:"homojiemao"},{name:"crown",bone:"crown",attachment:"crown"}],xx=[{name:"homo13",order:1,bones:["homo14"],target:"homo13",y:-749.72,mixRotate:-1,mixX:-1,mixScaleX:0,mixShearY:0},{name:"root",bones:["homo"],target:"root",rotation:15.88,local:!0,x:-12.09,y:-237.08,mixRotate:0,mixX:0,mixShearY:0},{name:"root1",order:2,bones:["homo7"],target:"root",rotation:-15.88,local:!0,x:-120.57,y:186.93,mixRotate:0,mixX:0,mixShearY:0},{name:"root2",order:3,bones:["crown"],target:"root",local:!0,x:-72.71,y:163.32,mixRotate:0,mixX:0,mixShearY:0},{name:"root3",order:4,bones:["homo1"],target:"root",rotation:-15.88,local:!0,x:96.54,y:259.35,mixRotate:0,mixX:0,mixShearY:0}],wx=[{name:"default",attachments:{crown:{crown:{type:"mesh",uvs:[.13031,.19103,.18954,.28986,.22316,.28579,.21836,.35506,.16793,.37815,.13792,.5289,.12832,.662,.17034,.84535,.30613,.84728,.36121,.84807,.41764,.87252,.46445,.93499,.5845,.96215,.72376,.90647,.87382,.78695,.97346,.64434,.96146,.51668,.90383,.48137,.85941,.46643,.8186,.34555,.821,.28172,.87382,.14726,.68774,.08478,.52448,.08207,.38762,.12689,.318,.0875,.28678,.09836,.26758,.03317,.18114,.09022,.33644,.36643,.41853,.23998,.31199,.51462,.35216,.67269,.5041,.72999,.5827,.79124,.37073,.3136,.46917,.40397,.60889,.51067,.70495,.65293,.39508,.2761,.52681,.38619,.65954,.49684,.74163,.67071,.45695,.1728,.61588,.21824,.26214,.35927,.23362,.50586,.26164,.67178],triangles:[11,34,12,12,34,13,11,10,34,13,34,42,13,42,14,42,34,38,10,33,34,10,9,33,33,9,32,7,47,8,9,8,32,8,47,32,7,6,47,34,33,38,14,42,15,15,17,16,18,17,42,42,17,15,33,37,38,37,33,36,47,31,32,33,32,36,32,31,36,6,5,47,5,46,47,47,46,31,18,42,41,37,41,38,42,38,41,5,4,46,46,45,31,31,29,36,31,45,29,36,40,37,37,40,41,4,3,46,46,3,45,40,44,41,41,19,18,41,44,19,29,35,36,40,36,39,36,35,39,39,30,40,40,30,44,44,30,43,29,45,35,35,45,2,45,3,2,19,44,20,35,2,39,39,26,24,26,39,2,1,0,2,26,25,24,0,28,2,2,28,26,44,22,20,20,22,21,39,24,30,30,24,43,43,23,44,44,23,22,43,24,23,28,27,26],vertices:[2,18,665.49,515.98,.08486,19,-162.93,252.8,.91514,2,18,623.93,517.07,.08858,19,-150.39,214.81,.91142,2,18,617.49,505.55,.08941,19,-137.77,212.64,.91059,2,18,599.29,519.83,.07991,19,-145.87,190.82,.92009,2,18,604.13,540.6,.07975,19,-166.36,188.61,.92025,2,18,568.85,579.05,.06686,19,-191.12,143.14,.93314,2,18,533.61,608.46,.06257,19,-206.82,101.25,.93743,2,18,471.69,632.39,.07,19,-208.31,37.81,.93,2,18,438.76,591.18,.1,19,-158.98,23.11,.9,2,18,426.69,572.99,.09,19,-138.98,17.14,.91,2,18,407.49,559.15,.08,19,-120.65,3.42,.92,2,18,379.2,556.59,.08,19,-109.31,-21.57,.92,2,18,343.75,524.3,.1,19,-68.04,-42.77,.9,2,18,327.91,469.61,.13,19,-12.17,-39.27,.87,2,18,328.9,397.74,.13,19,53.49,-16.32,.87,2,18,347.62,337.66,.13,19,102.88,19.3,.87,2,18,385.66,313.6,.08,19,110.21,61.68,.92,2,18,408.68,325.05,.08,19,92.44,79.03,.92,2,18,422.95,336.32,.08,19,77.62,88.46,.92,2,18,466.94,327.72,.11,19,73.82,131.64,.89,2,18,484.02,311.79,.08,19,80.54,151.96,.92,2,18,510.24,268,.08,19,112.12,189.8,.92,2,18,570,315.48,.08207,19,50.02,229.23,.91793,2,18,607.61,368.07,.08819,19,-9.25,247.04,.91181,2,18,625.65,421.12,.08955,19,-63.25,246.78,.91045,2,18,652.33,436.69,.0976,19,-85.02,266.7,.9024,2,18,656.24,448.87,.09746,19,-97.4,266.43,.90254,2,18,679.14,441.84,.09529,19,-98.42,289.43,.90471,2,18,682.65,479.58,.08489,19,-135.16,280.01,.91511,2,18,568.89,485.92,.09672,19,-103.86,174.91,.90328,2,18,586.44,434.48,.09702,19,-62.35,207.14,.90298,2,18,532.73,521.98,.08383,19,-126.36,129.69,.91617,2,18,478.96,540.29,.08,19,-126.2,74.59,.92,2,18,427.81,504.23,.1,19,-76.06,40.38,.9,2,18,392.53,491.61,.11,19,-53.03,12.49,.89,2,18,576.23,464.39,.09649,19,-86.52,188.37,.90351,2,18,528.55,450.2,.09184,19,-58.92,149.05,.90816,2,18,466.75,427.1,.1,19,-17.76,100.18,.9,2,18,404.69,424.94,.11,19,4.21,44.38,.89,2,18,581.22,450.24,.10688,19,-74.21,197.93,.89312,2,18,520.4,429.89,.11101,19,-36.28,148.8,.88899,2,18,459.24,409.57,.12,19,1.97,99.38,.88,2,18,391.39,417.19,.12,19,15.95,34.84,.88,2,18,596.93,408.88,.09772,19,-42.18,224.8,.90228,2,18,548.42,368.32,.11328,19,11.59,193.68,.88672,2,18,587.5,508.64,.09889,19,-130.29,184.91,.90111,2,18,552.33,546.57,.09602,19,-154.12,140.64,.90398,2,18,499.11,570.04,.09098,19,-159.12,84.27,.90902],hull:29,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,0,56,60,48,58,62,62,64,64,66,66,68,58,70,70,72,72,74,74,76,60,78,78,70,78,80,80,82,82,84,86,88,88,38,6,90,90,58,90,92,92,94,14,16,16,18,94,16],width:379,height:335}},homo:{homo:{type:"mesh",uvs:[.37888,.50922,.40644,.56561,.32823,.60824,.28201,.66594,.23758,.7525,.24913,.83709,.33178,.92955,.4251,.95709,.53886,.97414,.64639,.96889,.77615,.94529,.88013,.89545,.95567,.82463,.99389,.74857,.97789,.66266,.95431,.63244,.91035,.57611,.79926,.52496,.67039,.51184,.60551,.51643,.57263,.47971,.54597,.43775,.43754,.46922,.32597,.86313,.45241,.87232,.58268,.84546,.73689,.79245,.85758,.72956,.51132,.67334,.54389,.7142,.60383,.74544,.70676,.75746,.80318,.73102,.84552,.67238,.81491,.61086,.71393,.56952,.60513,.57096,.52565,.61037,.42673,.64559,.44926,.71145,.42757,.77299,.38419,.82038,.33665,.83823,.36699,.64315,.31985,.66655,.27958,.81767,.47879,.51858,.9037,.68325,.63067,.6273,.61628,.64074,.63786,.65348,.67479,.65029,.69061,.63083,.66088,.62163,.35597,.70054,.34782,.71964,.32576,.73026,.31185,.72141,.32,.70018,.34254,.68921],triangles:[30,50,31,25,30,31,30,29,50,30,40,29,46,22,21,46,21,20,0,22,46,1,0,46,35,18,17,19,46,20,36,46,19,36,19,18,36,18,35,37,46,36,1,46,37,34,17,16,35,17,34,53,36,35,48,36,53,37,36,48,52,53,35,52,35,34,49,37,48,43,2,1,38,43,1,37,38,1,51,53,52,50,48,53,50,53,51,49,48,50,44,3,2,43,44,2,15,33,34,15,34,16,28,38,37,28,37,49,47,33,15,47,15,14,59,44,43,58,44,59,54,59,43,39,38,28,29,28,49,29,49,50,39,28,29,54,58,59,55,58,54,58,57,3,58,3,44,57,58,55,27,33,47,56,57,55,52,33,51,33,52,34,32,33,27,32,51,33,47,14,13,27,47,13,4,3,57,31,51,32,50,51,31,39,54,38,26,31,32,26,32,27,56,45,4,56,4,57,54,43,38,39,55,54,40,55,39,40,56,55,41,56,40,45,56,41,12,27,13,5,4,45,42,45,41,25,31,26,23,45,42,5,45,23,25,40,30,29,40,39,24,40,25,41,40,24,23,42,41,24,23,41,12,26,27,11,26,12,6,23,24,5,23,6,10,26,11,25,26,10,7,6,24,9,25,10,8,24,25,8,25,9,7,24,8],vertices:[3,4,-64.67,292.36,.93609,18,485.85,383.7,.04927,24,-66.69,308.52,.01464,3,4,-60.28,222.02,.82828,18,415.76,404.94,.06509,24,-61.87,238.49,.10663,3,4,-137.1,191.8,.85892,18,414.51,490.54,.04521,24,-140.52,208.96,.09588,3,4,-193.24,136.95,.85248,18,381.63,564.96,.04487,24,-197.41,154.9,.10266,3,4,-256.34,50.9,.89875,18,321.07,657.71,.02237,24,-262.07,67.91,.07888,3,4,-273.17,-47.22,.9045,18,231.82,709.7,.02251,24,-279.57,-30.1,.07299,3,4,-233.15,-170.81,.89344,18,97.18,715.64,.02493,24,-240.51,-153.78,.08163,3,4,-162.6,-224.4,.83515,18,19.68,666.39,.04396,24,-171.78,-206.85,.12089,3,4,-69.16,-270.23,.77496,18,-58.23,592.12,.08611,24,-82.71,-252.95,.13893,3,4,23.97,-287.08,.75633,18,-108.12,507.98,.10314,24,8.34,-272.46,.14054,3,4,141.02,-286.54,.76207,18,-149.83,394.55,.12406,24,123.74,-276.54,.11387,3,4,240.3,-252.77,.80111,18,-153.44,286.05,.10337,24,226.12,-244.99,.09552,3,4,322.11,-191.01,.84788,18,-123.59,184.05,.0766,24,311.58,-183.09,.07552,3,4,375.43,-116.53,.89958,18,-70.92,104.86,.04735,24,367.71,-106.45,.05307,3,4,388.26,-15.81,.89352,18,22.21,55.83,.04703,24,381.94,-5.91,.05945,3,4,377.8,23.66,.88136,18,64.33,51.66,.04639,24,372.02,33.7,.07225,3,4,358.3,97.23,.88668,18,142.84,43.88,.04667,24,353.55,107.54,.06665,3,4,281.21,180.04,.86609,18,251.23,88.67,.04558,24,277.61,191.42,.08833,3,4,177.7,223.84,.8454,18,331.34,173.26,.04449,24,174.72,236.65,.11011,3,4,119.77,234.48,.80684,18,362.37,225.85,.07702,24,119.33,246.82,.11614,3,4,103.25,283.14,.88595,18,415.57,224.19,.08155,24,103.77,295.95,.03251,3,4,94.89,336.05,.9275,18,470.12,213.01,.06676,24,95.06,349.52,.00575,3,4,-3.55,324.39,.94543,18,494.76,312.74,.04976,24,-5.14,339.7,.00481,3,4,-216.54,-96.13,.79397,18,163.81,672.16,.04558,24,-224.05,-77.59,.16046,3,4,-110.7,-137.4,.61318,18,85.73,583.99,.09746,24,-121.92,-117.82,.28936,3,4,7.78,-133.41,.48732,18,46.86,467.9,.10905,24,-5.06,-118.37,.40362,3,4,151.95,-102.25,.48425,18,24.76,317.45,.11891,24,140.08,-95.13,.39684,3,4,269.59,-54.92,.60839,18,27.73,186.55,.13097,24,260.53,-52.81,.26064,3,4,-6.31,76.87,.52297,18,255.14,405.28,.09126,24,-9.22,92.35,.38578,3,4,9.74,23.83,.42802,18,198.02,409,.08678,24,4.76,38.64,.4852,3,4,51.94,-23.28,.35216,18,137.22,385.35,.08337,24,44.56,-10.72,.56446,3,4,135.33,-57.19,.43916,18,74.23,317.08,.0964,24,126.25,-48.59,.46444,3,4,223.42,-45.97,.54586,18,53.12,227.9,.11751,24,214.85,-41.61,.33663,3,4,274.68,10.47,.62958,18,89.03,157.63,.10986,24,268.82,14.43,.26056,3,4,266.35,85.01,.67623,18,164.19,138.4,.09724,24,263.09,90.97,.22653,3,4,193.64,152.47,.68902,18,255.91,184.24,.09142,24,192.42,161.4,.21955,3,4,101.62,173.85,.67218,18,309.93,265.63,.09665,24,101.54,185.5,.23117,3,4,24,145.5,.63323,18,310.66,351.04,.08869,24,22.87,159.89,.27808,3,4,-68.87,126.04,.65038,18,325.52,448,.0911,24,-70.62,143.6,.25852,3,4,-68.8,46.14,.53943,18,248.1,476.87,.0899,24,-73,64.11,.37067,3,4,-104.03,-19.16,.55347,18,197.71,534.68,.08375,24,-110.74,-.08,.36278,3,4,-153.7,-63.99,.62523,18,172.34,599.02,.09225,24,-161.97,-43.2,.28252,3,4,-199.46,-72.1,.73175,18,181,646.59,.0686,24,-207.2,-52.07,.19965,3,4,-117.61,141.8,.72551,18,358.56,489.54,.08576,24,-119.49,160.48,.18873,3,4,-163.31,125.88,.76725,18,359.79,539.67,.07721,24,-166.16,145.27,.15554,3,4,-241.6,-33.38,.83463,18,233.82,673.84,.03478,24,-248.04,-15.42,.1306,3,4,14.48,259.39,.8
606659,18,424.91,318.86,.0638,24,13.33,274.36,.06961,3,4,320.54,-14.25,.7022,18,48.48,122.16,.1161,24,313.68,-11.56,.18171,3,4,110.8,100.73,.55354,18,269.22,307.91,.09389,24,104.72,116.01,.35257,3,4,94.53,88.98,.52828,18,258.93,325.14,.09216,24,88.46,104.26,.37956,3,4,108.39,69.53,.50234,18,238.35,313.03,.09006,24,102.31,84.81,.4076,3,4,140.09,64.39,.51663,18,230.47,281.89,.09032,24,134.01,79.67,.39305,3,4,159.48,82.57,.55991,18,246.89,261,.09173,24,153.4,97.85,.34835,3,4,137.72,99.96,.56893,18,266.11,281.16,.09282,24,131.64,115.24,.33825,3,4,-140.95,83.17,.68321,18,273.64,560.24,.08008,24,-147.03,98.45,.23672,3,4,-153.85,63.58,.68669,18,255.25,574.79,.07458,24,-159.93,78.86,.23873,3,4,-175.58,56.84,.72375,18,250.42,597.03,.06515,24,-181.66,72.12,.2111,3,4,-184.31,70.09,.75484,18,264.38,604.56,.05926,24,-190.38,85.37,.1859,3,4,-170.73,92.07,.74729,18,285.1,589.12,.06771,24,-176.81,107.35,.185,3,4,-148.48,99.1,.71295,18,290.17,566.35,.07884,24,-154.56,114.38,.20822],hull:23,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,32,34,34,36,36,38,38,40,40,42,42,44,0,44,10,46,46,48,48,50,50,52,52,54,28,30,30,32,56,58,58,60,60,62,62,64,64,66,66,68,68,70,70,72,72,74,74,56,76,78,78,80,80,82,82,84,76,86,86,88,84,90,30,94,94,54],width:864,height:1171}},homo1:{homo1:{type:"mesh",uvs:[.02814,.45376,.03112,.64243,.03859,.81241,.06396,.9348,.13263,.9773,.18339,.9501,.26997,.80222,.31177,.64583,.4103,.49115,.52077,.43846,.6805,.44186,.87307,.54045,.97458,.58464,.9701,.53195,.88651,.40276,.76111,.28547,.61033,.18349,.44314,.11039,.2849,.0815,.12517,.13079,.04605,.26168],triangles:[10,9,16,15,10,16,10,15,14,11,10,14,11,14,13,11,13,12,9,17,16,8,18,17,8,17,9,19,18,8,20,19,8,8,0,20,6,1,7,2,1,6,5,3,2,6,5,2,4,3,5,7,1,0,8,7,0],vertices:[5,6,189.55,80.74,.27275,7,67.65,77.99,.37013,8,-91.67,29.13,.25423,9,-143.35,-155.73,.00289,18,629.53,263.25,.1,4,6,103.15,56.19,.49545,7,-19.71,57.06,.30756,8,-149.4,-39.68,.09699,18,545.03,293.74,.1,4,6,25.97,31.57,.7051,7,-97.85,35.68,.17284,8,-199.46,-103.38,.02207,18,467.99,318.79,.1,5,6,-26.83,3.37,.83333,7,-151.77,9.7,.06615,8,-227.32,-156.36,5e-4,9,-68.13,-372.87,2e-5,18,408.66,326.69,.1,5,6,-36.86,-37.79,.85949,7,-163.51,-31,.03736,8,-212.51,-196.05,.00181,9,-27.07,-383.31,.00134,18,376.5,299.12,.1,6,6,-17.31,-61.07,.7837,7,-144.94,-55.08,.08484,8,-183.26,-204.34,.01446,9,-3.6,-363.98,.017,10,-24.35,-400.91,1e-5,18,378.79,268.81,.1,6,6,62.75,-88.42,.61301,7,-66.09,-85.74,.17071,8,-101.65,-182.04,.04073,9,24.54,-284.2,.073,10,-27.46,-316.37,.00255,18,427.84,199.88,.1,6,6,140.51,-91.27,.39297,7,11.48,-91.83,.22532,8,-35.7,-140.75,.07526,9,28.17,-206.48,.16835,10,-52.62,-242.74,.0381,18,489.32,152.19,.1,6,6,225.35,-124.05,.18988,7,94.88,-128.12,.21533,8,52.91,-120.25,.09089,9,61.79,-121.96,.26393,10,-52.37,-151.79,.13997,18,539.09,76.06,.1,6,6,264.92,-175.52,.06312,7,132.27,-181.18,.14211,8,114.55,-140.62,.07928,9,113.64,-82.91,.28162,10,-18.48,-96.42,.33387,18,541.2,11.18,.1,6,6,285.51,-259.62,.01086,7,149.34,-266.07,.0649,8,178.8,-198.67,.04575,9,197.94,-63.15,.21672,10,52.69,-47.1,.56177,18,508.84,-69.14,.1,6,6,266.85,-372.53,12e-5,7,126,-378.11,.01704,8,226.74,-302.58,.01747,9,310.66,-82.92,.10833,10,164.8,-24.11,.75703,18,427.8,-149.95,.1,5,7,117.31,-436.37,.00199,8,254.45,-354.57,.00281,9,369.17,-89.76,.03462,10,221.73,-9,.86058,18,388.54,-193.86,.1,5,7,141.28,-428.59,1e-5,8,269.08,-334.05,1e-5,9,360.64,-66.05,.03602,10,205.09,9.93,.86396,18,412.84,-200.53,.1,4,8,275.25,-257.92,61e-5,9,301.58,-17.61,.13221,10,132.37,33.3,.76718,18,486.44,-180.1,.1,4,8,260.62,-171.19,.03228,9,221.96,19.76,.30003,10,44.59,38.84,.56769,18,562.82,-136.49,.1,5,7,261.25,-202.45,.00105,8,230.83,-80.93,.12728,9,130.8,46.68,.43713,10,-50.09,30.42,.33453,18,637.3,-77.43,.1,5,7,275.7,-106.46,.01591,8,185.3,4.8,.30436,9,34.4,58.08,.44537,10,-143.94,5.63,.13436,18,702.1,-5.15,.1,6,6,396.46,-8.45,25e-5,7,270.66,-19.74,.07717,8,129.62,71.47,.47268,9,-52.11,50.28,.31605,10,-221.55,-33.37,.03385,18,745.51,70.09,.1,6,6,351.62,69.23,.02369,7,229.1,59.74,.19205,8,48.91,110.6,.53542,9,-130.24,6.22,.14867,10,-278.05,-103.04,17e-5,18,754.43,159.34,.1,5,6,280.42,94.75,.10366,7,159.02,88.2,.3223,8,-24.34,91.74,.43265,9,-156.46,-64.73,.0414,18,711.5,221.61,.1],hull:21,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,0,40],width:542,height:476}},homo2:{homo2:{type:"mesh",uvs:[.28978,.80772,.39362,.89813,.52098,.97109,.60915,.99013,.65814,.9473,.64246,.87592,.63267,.72207,.63462,.5349,.69928,.40484,.79529,.26208,.89522,.14947,.97359,.01782,.84232,.04954,.65618,.11299,.44457,.15899,.31133,.24146,.20748,.39215,.20357,.58883,.23687,.73952],triangles:[10,12,11,10,9,13,10,13,12,8,13,9,14,13,8,8,15,14,7,15,8,16,15,7,17,16,7,6,17,7,18,17,6,0,18,6,1,0,6,5,1,6,2,1,5,2,5,4,3,2,4],vertices:[5,12,156.79,79.33,.38314,13,9.94,90.13,.46015,14,-138.36,40.39,.1055,15,-261.33,-121.64,.00122,17,506.52,-102.02,.05,4,12,82.2,69.88,.61738,13,-55.24,52.66,.30674,14,-184.31,-19.11,.02588,17,436.83,-130.23,.05,4,12,9.48,44.82,.80985,13,-112.68,1.5,.13819,14,-217.89,-88.32,.00196,17,372.94,-173.07,.05,4,12,-25.29,16.28,.88534,13,-133.78,-38.23,.06092,14,-222.22,-133.1,.00375,17,346.62,-209.55,.05,6,12,-18.2,-18.55,.83391,13,-113.81,-67.64,.07448,14,-192.54,-152.66,.03892,15,-201.58,-313.04,.00269,16,-246.81,-392,0,17,362.39,-241.41,.05,6,12,21.61,-37.64,.65615,13,-69.72,-69.91,.14492,14,-150.92,-137.93,.12048,15,-174.7,-278.02,.02658,16,-230.12,-351.12,.00187,17,405.76,-249.68,.05,6,12,100.52,-88.39,.42042,13,22.66,-86.32,.17979,14,-59.27,-117.86,.23808,15,-108.79,-211.24,.08241,16,-184.15,-269.33,.02931,17,495.03,-278.55,.05,6,12,192.53,-155.68,.20041,13,133.49,-112.95,.16186,14,53.34,-100.18,.30812,15,-24,-135.07,.16214,16,-122.44,-173.49,.11748,17,601.19,-320.06,.05,6,12,238.26,-227.78,.06523,13,203.48,-161.86,.09235,14,136.69,-118.68,.28625,15,55.98,-105.17,.21021,16,-53.18,-123.56,.29597,17,663.84,-378.07,.05,6,12,281.24,-316.95,.01015,13,277.51,-227.57,.03531,14,230.19,-151.17,.18125,15,152.08,-81.46,.19444,16,33.27,-75.36,.52884,17,728.21,-453.27,.05,5,13,333.23,-291.03,.00466,14,305.91,-188.57,.07672,15,235.95,-71.57,.12546,16,111.56,-43.7,.74315,17,7
6074.74,-523.74,.05,5,13,402.63,-346.74,1e-5,14,391.32,-213.59,.01741,15,321.2,-46,.09361,16,187.05,3.44,.83897,17,835.88,-588.41,.05,4,14,361.68,-152.89,.0147,15,263.28,-11.26,.15343,16,122.02,21.68,.78187,17,840.89,-521.05,.05,5,13,381.43,-181.22,13e-5,14,308.57,-68.67,.07456,15,172.85,30.42,.29558,16,23.8,38.04,.57973,17,837.48,-421.54,.05,5,13,377.66,-73.26,.01538,14,263.88,29.67,.20127,15,81.8,88.54,.39721,16,-79.35,70.09,.33614,17,848.48,-314.08,.05,6,12,430.66,-130.5,67e-5,13,343.52,2.05,.0785,14,203.59,86.27,.35739,15,.41,103.14,.38048,16,-161.71,62.72,.13295,17,824.95,-234.81,.05,6,12,386,-35.38,.00875,13,265.66,72.61,.21748,14,104.69,121.78,.44147,15,-101.87,79.03,.24969,16,-254.02,12.49,.03262,17,757.45,-154.28,.05,6,12,289.85,36.07,.0561,13,149.39,101.49,.39065,14,-13.79,104.11,.39406,15,-191.6,-.34,.10917,16,-319.64,-87.73,3e-5,17,646.22,-109.8,.05,5,12,205.74,76.28,.17589,13,56.29,106.18,.49981,14,-101.64,72.91,.24829,15,-248.26,-74.37,.02601,17,554.62,-92.45,.05],hull:19,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,0,36],width:493,height:609}},homo3:{homo:{type:"mesh",path:"homoyan2",uvs:[.37888,.50922,.40644,.56561,.32823,.60824,.28201,.66594,.23758,.7525,.24913,.83709,.33178,.92955,.4251,.95709,.53886,.97414,.64639,.96889,.77615,.94529,.88013,.89545,.95567,.82463,.99389,.74857,.97789,.66266,.95431,.63244,.91035,.57611,.79926,.52496,.67039,.51184,.60551,.51643,.57263,.47971,.54597,.43775,.43754,.46922,.32597,.86313,.45241,.87232,.58268,.84546,.73689,.79245,.85758,.72956,.51132,.67334,.54389,.7142,.60383,.74544,.70676,.75746,.80318,.73102,.84552,.67238,.81491,.61086,.71393,.56952,.60513,.57096,.52565,.61037,.42673,.64559,.44926,.71145,.42757,.77299,.38419,.82038,.33665,.83823,.36699,.64315,.31985,.66655,.27958,.81767,.47879,.51858,.9037,.68325,.63067,.6273,.61628,.64074,.63786,.65348,.67479,.65029,.69061,.63083,.66088,.62163,.35597,.70054,.34782,.71964,.32576,.73026,.31185,.72141,.32,.70018,.34254,.68921],triangles:[30,40,29,30,29,50,25,30,31,30,50,31,7,24,8,8,25,9,8,24,25,9,25,10,7,6,24,25,26,10,10,26,11,5,23,6,6,23,24,11,26,12,12,26,27,24,23,41,23,42,41,41,40,24,24,40,25,29,40,39,25,40,30,5,45,23,23,45,42,25,31,26,42,45,41,5,4,45,12,27,13,45,56,41,41,56,40,40,56,55,40,55,39,39,55,54,54,43,38,56,4,57,56,45,4,26,32,27,26,31,32,39,54,38,50,51,31,31,51,32,4,3,57,27,47,13,47,14,13,32,51,33,32,33,27,33,52,34,52,33,51,56,57,55,27,33,47,57,58,55,58,3,44,58,57,3,55,58,54,54,58,59,39,28,29,29,49,50,29,28,49,39,38,28,54,59,43,58,44,59,59,44,43,47,15,14,47,33,15,28,37,49,28,38,37,15,34,16,15,33,34,43,44,2,44,3,2,49,48,50,50,53,51,50,48,53,51,53,52,37,38,1,38,43,1,43,2,1,49,37,48,52,35,34,52,53,35,37,36,48,48,36,53,53,36,35,35,17,34,34,17,16,1,46,37,37,46,36,36,18,35,36,19,18,36,46,19,19,46,20,35,18,17,1,0,46,0,22,46,46,21,20,46,22,21],vertices:[3,4,-64.67,292.36,.93609,18,485.85,383.7,.04927,24,-66.69,308.52,.01464,3,4,-60.28,222.02,.82828,18,415.76,404.94,.06509,24,-61.87,238.49,.10663,3,4,-137.1,191.8,.85892,18,414.51,490.54,.04521,24,-140.52,208.96,.09588,3,4,-193.24,136.95,.85248,18,381.63,564.96,.04487,24,-197.41,154.9,.10266,3,4,-256.34,50.9,.89875,18,321.07,657.71,.02237,24,-262.07,67.91,.07888,3,4,-273.17,-47.22,.9045,18,231.82,709.7,.02251,24,-279.57,-30.1,.07299,3,4,-233.15,-170.81,.89344,18,97.18,715.64,.02493,24,-240.51,-153.78,.08163,3,4,-162.6,-224.4,.83515,18,19.68,666.39,.04396,24,-171.78,-206.85,.12089,3,4,-69.16,-270.23,.77496,18,-58.23,592.12,.08611,24,-82.71,-252.95,.13893,3,4,23.97,-287.08,.75633,18,-108.12,507.98,.10314,24,8.34,-272.46,.14054,3,4,141.02,-286.54,.76207,18,-149.83,394.55,.12406,24,123.74,-276.54,.11387,3,4,240.3,-252.77,.80111,18,-153.44,286.05,.10337,24,226.12,-244.99,.09552,3,4,322.11,-191.01,.84788,18,-123.59,184.05,.0766,24,311.58,-183.09,.07552,3,4,375.43,-116.53,.89958,18,-70.92,104.86,.04735,24,367.71,-106.45,.05307,3,4,388.26,-15.81,.89352,18,22.21,55.83,.04703,24,381.94,-5.91,.05945,3,4,377.8,23.66,.88136,18,64.33,51.66,.04639,24,372.02,33.7,.07225,3,4,358.3,97.23,.88668,18,142.84,43.88,.04667,24,353.55,107.54,.06665,3,4,281.21,180.04,.86609,18,251.23,88.67,.04558,24,277.61,191.42,.08833,3,4,177.7,223.84,.8454,18,331.34,173.26,.04449,24,174.72,236.65,.11011,3,4,119.77,234.48,.80684,18,362.37,225.85,.07702,24,119.33,246.82,.11614,3,4,103.25,283.14,.88595,18,415.57,224.19,.08155,24,103.77,295.95,.03251,3,4,94.89,336.05,.9275,18,470.12,213.01,.06676,24,95.06,349.52,.00575,3,4,-3.55,324.39,.94543,18,494.76,312.74,.04976,24,-5.14,339.7,.00481,3,4,-216.54,-96.13,.79397,18,163.81,672.16,.04558,24,-224.05,-77.59,.16046,3,4,-110.7,-137.4,.61318,18,85.73,583.99,.09746,24,-121.92,-117.82,.28936,3,4,7.78,-133.41,.48732,18,46.86,467.9,.10905,24,-5.06,-118.37,.40362,3,4,151.95,-102.25,.48425,18,24.76,317.45,.11891,24,140.08,-95.13,.39684,3,4,269.59,-54.92,.60839,18,27.73,186.55,.13097,24,260.53,-52.81,.26064,3,4,-6.31,76.87,.52297,18,255.14,405.28,.09126,24,-9.22,92.35,.38578,3,4,9.74,23.83,.42802,18,198.02,409,.08678,24,4.76,38.64,.4852,3,4,51.94,-23.28,.35216,18,137.22,385.35,.08337,24,44.56,-10.72,.56446,3,4,135.33,-57.19,.43916,18,74.23,317.08,.0964,24,126.25,-48.59,.46444,3,4,223.42,-45.97,.54586,18,53.12,227.9,.11751,24,214.85,-41.61,.33663,3,4,274.68,10.47,.62958,18,89.03,157.63,.10986,24,268.82,14.43,.26056,3,4,266.35,85.01,.67623,18,164.19,138.4,.09724,24,263.09,90.97,.22653,3,4,193.64,152.47,.68902,18,255.91,184.24,.09142,24,192.42,161.4,.21955,3,4,101.62,173.85,.67218,18,309.93,265.63,.09665,24,101.54,185.5,.23117,3,4,24,145.5,.63323,18,310.66,351.04,.08869,24,22.87,159.89,.27808,3,4,-68.87,126.04,.65038,18,325.52,448,.0911,24,-70.62,143.6,.25852,3,4,-68.8,46.14,.53943,18,248.1,476.87,.0899,24,-73,64.11,.37067,3,4,-104.03,-19.16,.55347,18,197.71,534.68,.08375,24,-110.74,-.08,.36278,3,4,-153.7,-63.99,.62523,18,172.34,599.02,.09225,24,-161.97,-43.2,.28252,3,4,-199.46,-72.1,.73175,18,181,646.59,.0686,24,-207.2,-52.07,.19965,3,4,-117.61,141.8,.72551,18,358.56,489.54,.08576,24,-119.49,160.48,.18873,3,4,-163.31,125.88,.76725,18,359.79,539.67,.07721,24,-166.16,145.27,.15554,3,4,-241.6,-33.38,.83463,18,233.82,673.84,.03478,24,-248.04,-15.42,.1306,3,4,14.48,259.39,.8
606659,18,424.91,318.86,.0638,24,13.33,274.36,.06961,3,4,320.54,-14.25,.7022,18,48.48,122.16,.1161,24,313.68,-11.56,.18171,3,4,110.8,100.73,.55354,18,269.22,307.91,.09389,24,104.72,116.01,.35257,3,4,94.53,88.98,.52828,18,258.93,325.14,.09216,24,88.46,104.26,.37956,3,4,108.39,69.53,.50234,18,238.35,313.03,.09006,24,102.31,84.81,.4076,3,4,140.09,64.39,.51663,18,230.47,281.89,.09032,24,134.01,79.67,.39305,3,4,159.48,82.57,.55991,18,246.89,261,.09173,24,153.4,97.85,.34835,3,4,137.72,99.96,.56893,18,266.11,281.16,.09282,24,131.64,115.24,.33825,3,4,-140.95,83.17,.68321,18,273.64,560.24,.08008,24,-147.03,98.45,.23672,3,4,-153.85,63.58,.68669,18,255.25,574.79,.07458,24,-159.93,78.86,.23873,3,4,-175.58,56.84,.72375,18,250.42,597.03,.06515,24,-181.66,72.12,.2111,3,4,-184.31,70.09,.75484,18,264.38,604.56,.05926,24,-190.38,85.37,.1859,3,4,-170.73,92.07,.74729,18,285.1,589.12,.06771,24,-176.81,107.35,.185,3,4,-148.48,99.1,.71295,18,290.17,566.35,.07884,24,-154.56,114.38,.20822],hull:23,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,32,34,34,36,36,38,38,40,40,42,42,44,0,44,10,46,46,48,48,50,50,52,52,54,28,30,30,32,56,58,58,60,60,62,62,64,64,66,66,68,68,70,70,72,72,74,74,56,76,78,78,80,80,82,82,84,76,86,86,88,84,90,30,94,94,54],width:864,height:1171}},homobubble:{homobubble:{type:"mesh",uvs:[.14889,.12047,.07196,.23256,.02617,.3616,0,.56753,0,.78519,.09943,.97027,.22765,1,.37418,1,.68373,.80865,.81011,.65746,.87605,.46326,.93649,.26775,.96763,.02533,.8156,0,.29175,.00708],triangles:[8,7,4,4,7,6,6,5,4,8,4,3,3,2,9,11,10,14,10,1,0,11,14,13,14,10,0,11,13,12,10,2,1,9,2,10,9,8,3],vertices:[3,2,-369.05,364.83,.20127,20,-382.06,-117.24,.68025,22,121.61,407.46,.11848,3,2,-412.52,275.83,.22148,20,-425.52,-206.24,.48975,22,78.15,318.46,.28877,4,2,-438.39,173.38,.22989,20,-451.4,-308.69,.28462,22,52.27,216.01,.47088,21,-465.73,728.28,.01461,4,2,-453.17,9.87,79e-5,20,-466.18,-472.2,.14751,22,37.49,52.49,.75783,21,-480.52,564.77,.09386,4,2,-453.17,-162.96,84e-5,20,-466.18,-645.03,.03683,22,37.49,-120.33,.70085,21,-480.52,391.94,.26148,3,2,-396.99,-309.91,.02872,22,93.67,-267.28,.49668,21,-424.34,244.99,.4746,3,2,-324.55,-333.51,.12147,22,166.11,-290.89,.25641,21,-351.9,221.38,.62212,3,2,-241.76,-333.51,.31497,22,248.9,-290.89,.09117,21,-269.11,221.38,.59386,4,2,-66.87,-181.58,.52714,20,-79.88,-663.65,.03704,22,423.8,-138.96,.01804,21,-94.21,373.31,.41778,3,2,4.54,-61.54,.64688,20,-8.47,-543.61,.14815,21,-22.8,493.36,.20497,3,2,41.79,92.66,.56402,20,28.79,-389.41,.37037,21,14.45,647.56,.06561,3,2,75.95,247.89,.36074,20,62.94,-234.18,.62963,21,48.6,802.79,.00963,2,2,93.54,440.38,.14815,20,80.53,-41.69,.85185,2,2,7.64,460.49,.03725,20,-5.36,-21.58,.96275,3,2,-288.33,454.86,.20063,20,-301.34,-27.2,.76974,22,202.33,497.49,.02962],hull:15,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,0,28],width:565,height:794}},homobubble2:{homobubble2:{type:"mesh",uvs:[.31658,.02788,.14899,.1238,.02672,.30298,0,.51168,.04042,.74883,.18042,.92068,.35434,.98919,.57779,1,.78438,.92701,.9467,.75204,1,.56126,.98675,.35889,.89505,.15323,.69268,.02148,.47871,0,.49769,.49375,.20467,.48954,.49347,.17438,.51455,.7541,.80652,.49481],triangles:[18,16,15,18,15,19,16,17,15,17,19,15,18,19,9,9,19,10,19,11,10,11,19,12,12,19,17,18,5,16,6,18,7,7,18,8,6,5,18,8,18,9,5,4,16,2,1,16,4,3,16,3,2,16,12,17,13,17,1,0,0,14,17,17,14,13,17,16,1],vertices:[3,20,-177.45,-4.56,.75986,22,326.22,520.14,.12324,3,-185.92,477.16,.1169,3,20,-358.79,-108.34,.44251,22,144.88,416.36,.35424,3,-367.25,373.38,.20325,3,20,-491.08,-302.21,.16434,22,12.59,222.48,.68896,3,-499.54,179.5,.14671,2,22,-16.32,-3.33,.99961,21,-534.33,508.94,39e-5,3,22,27.42,-259.93,.65284,21,-490.59,252.34,.25079,3,-484.72,-302.91,.09637,3,22,178.9,-445.87,.33288,21,-339.11,66.4,.55719,3,-333.24,-488.85,.10992,3,22,367.07,-520,.10905,21,-150.93,-7.73,.84115,3,-145.06,-562.98,.0498,3,21,90.84,-19.42,.92922,23,-431.94,-562.28,.04624,3,96.72,-574.67,.02454,3,21,314.37,59.56,.59069,23,-208.41,-483.3,.2921,3,320.25,-495.69,.1172,3,21,490,248.87,.25978,23,-32.78,-293.98,.63188,3,495.88,-306.38,.10834,3,21,547.67,455.29,.04799,23,24.89,-87.56,.9308,3,553.55,-99.95,.02121,3,20,547.68,-362.71,.08593,23,10.56,131.41,.8661,3,539.21,119.01,.04796,3,20,448.46,-14
600.19,.35216,23,-88.67,353.93,.51644,3,439.99,341.53,.1314,3,20,229.49,2.37,.70962,23,-307.63,496.48,.19533,3,221.03,484.09,.09504,3,20,-2.02,25.61,.99848,22,501.65,550.31,85e-5,23,-539.15,519.72,67e-5,3,21,4.17,528.34,.02545,23,-518.62,-14.52,.03005,3,10.04,-26.91,.9445,3,22,205.13,20.63,.39504,21,-312.88,532.9,.19143,3,-307.01,-22.35,.41353,4,20,13.94,-163.07,.66615,22,517.61,361.63,.02546,23,-523.18,331.04,.04424,3,5.48,318.65,.26416,4,22,540.42,-265.63,.03763,21,22.42,246.65,.52803,23,-500.37,-296.21,.07646,3,28.29,-308.6,.35788,4,20,352.66,-509.77,.03654,21,338.32,527.2,.05407,23,-184.46,-15.66,.65963,3,344.2,-28.05,.24976],hull:15,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,0,28],width:1082,height:1082}},homojiemao:{homojiemao:{type:"mesh",uvs:[.46602,.48988,.03297,.90882,0,.96358,0,1,.0176,1,.08165,.94591,.47276,.57664,.49558,.5551,.513,.53731,1,.03989,1,0,.98031,0,.50335,.45403,.486,.47055],triangles:[6,0,7,5,1,0,6,5,0,4,3,2,1,4,2,4,1,5,7,13,8,0,13,7,13,12,8,11,10,9,8,11,9,8,12,11],vertices:[1,28,137.8,13.64,1,1,28,-97.2,-.53,1,1,28,-117.52,-5.34,1,1,28,-118.11,-12.21,1,1,28,-109.43,-14.68,1,1,28,-75.07,-14,1,1,28,136.71,-2.83,1,2,26,-4.51,-9.37,.99302,28,149.06,-2.18,.00698,1,29,-128.38,-16.71,1,1,29,137.23,3.92,1,1,29,139.26,11.06,1,1,29,129.54,13.82,1,1,29,-128.91,-.46,1,2,26,-4.93,7.1,.9942,28,148.64,14.29,.0058],hull:14,edges:[2,4,4,6,6,8,8,10,18,20,20,22,22,24,24,26,14,16,16,18,2,0,0,26,10,12,12,14],width:513,height:186}},jiemaocaijian:{jiemaocaijian:{type:"clipping",end:"homojiemao",vertexCount:69,vertices:[3,24,-80.83,60.87,.22289,18,230.44,497.56,.03494,4,-74.75,45.59,.74217,3,24,-76.74,73.59,.22606,18,242.76,492.38,.04197,4,-70.66,58.31,.73197,3,24,-71.95,92.93,.25558,18,261.61,485.92,.04215,4,-65.87,77.65,.70227,3,24,-71.14,116.46,.33206,18,284.98,483.06,.0289,4,-65.06,101.18,.63903,3,24,-74.85,134.36,.41505,18,303.14,485.21,.0353,4,-68.78,119.08,.54965,3,24,-79.32,146.39,.48333,18,315.51,488.6,.04072,4,-73.24,131.11,.47596,3,24,-86.92,152.17,.50101,18,321.93,495.68,.03405,4,-80.85,136.89,.46494,3,24,-95.51,155.29,.45038,18,325.78,503.96,.02947,4,-89.43,140.01,.52015,3,24,-115.07,156.34,.33247,18,328.53,523.35,.02027,4,-108.99,141.06,.64726,3,24,-134.73,153.81,.21671,18,327.72,543.17,.01233,4,-128.66,138.53,.77096,3,24,-151.42,150.66,.11804,18,326.04,560.06,.01095,4,-145.34,135.38,.87101,3,24,-164.61,143.45,.06475,18,320,573.83,.00608,4,-158.53,128.17,.92917,1,4,-172.11,121.65,1,1,4,-194.27,104.04,1,1,4,-210.61,83.87,1,1,4,-221.53,63.74,1,1,4,-234.08,35.95,1,3,24,-246.14,28.92,.05181,18,213.01,665.02,.00193,4,-240.06,13.64,.94626,3,24,-246.88,.75,.21508,18,185.01,668.21,.00794,4,-240.8,-14.53,.77699,3,24,-241.56,-21.5,.40154,18,162.38,664.85,.01533,4,-235.48,-36.78,.58313,3,24,-233.37,-36.19,.5391,18,147.03,657.97,.02333,4,-227.3,-51.48,.43757,3,24,-221.97,-43.44,.6119,18,138.82,647.24,.03818,4,-215.89,-58.72,.34992,3,24,-209.18,-47.08,.63953,18,134.08,634.82,.04873,4,-203.1,-62.36,.31173,3,24,-194.33,-47.3,.55357,18,132.56,620.04,.03691,4,-188.25,-62.58,.40952,3,24,-168,-36.6,.35633,18,140.93,592.88,.06173,4,-161.92,-51.88,.58194,3,24,-144.32,-21.14,.23991,18,154.27,567.94,.08706,4,-138.24,-36.42,.67303,3,24,-123.29,-3.48,.18259,18,170.04,545.45,.09455,4,-117.21,-18.76,.72286,3,24,-107.73,15.38,.25508,18,187.47,528.32,.10899,4,-101.65,.1,.63593,3,24,-86.24,47.47,.23526,18,217.57,504.11,.04894,4,-80.16,32.19,.7158,3,24,1,57.16,.56864,18,219.62,416.36,.06278,4,7.08,41.88,.36858,3,24,7.46,44.04,.60094,18,205.99,411.07,.06364,4,13.53,28.76,.33542,3,24,16.99,26.41,.66505,18,187.6,403.1,.06596,4,23.07,11.13,.26899,3,24,29.22,10.56,.75571,18,170.75,392.3,.07176,4,35.3,-4.72,.17253,3,24,44.28,-1.72,.8576,18,157.2,378.37,.08825,4,50.36,-17,.05416,2,24,57.32,-13.44,.91155,18,144.39,366.4,.08845,2,24,80.5,-26.94,.9058,18,128.92,344.48,.0942,3,24,103.15,-35.57,.78296,18,118.35,322.67,.08413,4,109.23,-50.85,.13291,3,24,123.73,-39.97,.64543,18,112.18,302.55,.09651,4,129.81,-55.25,.25807,3,24,147.24,-40.47,.50975,18,109.63,279.18,.09319,4,153.32,-55.75,.39706,3,24,175.31,-38.99,.38517,18,108.66,251.09,.10788,4,181.39,-54.27,.50695,3,24,197.61,-34.79,.36652,18,110.91,228.51,.11755,4,203.68,-50.07,.51593,3,24,219.95,-24.04,.35787,18,119.67,205.32,.10665,4,226.02,-39.32,.53548,3,24,237.57,-11.96,.34456,18,130.17,186.7,.10274,4,243.65,-27.24,.55269,3,24,249.43,2.8
606,.33482,18,143.91,173.6,.11077,4,255.51,-12.42,.55441,3,24,257.2,14.84,.34135,18,155.16,164.82,.0972,4,263.28,-.44,.56146,3,24,261.23,26.43,.35154,18,166.36,159.8,.07474,4,267.3,11.15,.57371,3,24,263.71,42.83,.36179,18,182.47,155.9,.04133,4,269.78,27.55,.59688,3,24,259.21,64.12,.36366,18,204.07,158.52,.03442,4,265.29,48.83,.60192,3,24,250.82,85.78,.40817,18,226.39,164.99,.03383,4,256.9,70.5,.55801,3,24,241.52,105.53,.42606,18,246.87,172.54,.0597,4,247.6,90.25,.51424,3,24,227.9,122.87,.40065,18,265.33,184.6,.08379,4,233.98,107.59,.51556,3,24,206.39,143.18,.40291,18,287.43,204.26,.08326,4,212.47,127.89,.51383,3,24,185.08,156.51,.37495,18,302.57,224.33,.08626,4,191.16,141.23,.53879,3,24,159.4,168.55,.36383,18,316.8,248.87,.08875,4,165.47,153.27,.54742,3,24,129.68,176.64,.34099,18,327.44,277.77,.08056,4,135.76,161.36,.57844,3,24,107.71,177.43,.31753,18,330.15,299.58,.06662,4,113.79,162.15,.61585,3,24,88.63,175.58,.29157,18,329.96,318.75,.05268,4,94.71,160.3,.65576,3,24,66.04,172.91,.29556,18,329.27,341.49,.07237,4,72.12,157.63,.63207,3,24,47.64,165.78,.3004,18,323.77,360.44,.0528,4,53.72,150.49,.64681,3,24,30.97,154.51,.27035,18,313.99,378.03,.06283,4,37.05,139.23,.66681,3,24,9.46,137.71,.22642,18,299.13,400.92,.0646,4,15.53,122.43,.70898,3,24,2.55,126.21,.20844,18,288.28,408.81,.02189,4,8.63,110.93,.76967,3,24,-1.38,112.41,.27994,18,274.87,413.92,.0302,4,4.7,97.13,.68986,3,24,-4.24,94.67,.37272,18,257.45,418.32,.04177,4,1.84,79.39,.58551,3,24,-3.74,79.3,.45633,18,242.1,419.15,.04731,4,2.34,64.02,.49637,3,24,-1.38,67.02,.51927,18,229.65,417.87,.05612,4,4.7,51.74,.42461,3,24,2.13,57.5,.56612,18,219.86,415.21,.06241,4,8.21,42.22,.37147,3,24,-86.13,47.82,.23553,18,217.9,503.97,.04928,4,-80.05,32.54,.71519,3,24,-82.19,55.83,.22579,18,225.54,499.35,.03817,4,-76.11,40.55,.73604],color:"ce3a3aff"}},yancaijian:{yancaijian:{type:"clipping",end:"homo3",vertexCount:11,vertices:[1,26,-339.5,319.78,1,1,26,456.13,397.01,1,1,26,457.89,7.63,1,1,29,141.83,8.46,1,1,29,24.85,1.41,1,1,29,-92.46,-4.03,1,2,28,149.23,7.84,.48286,29,-137.72,-7.43,.51714,1,28,101.6,3.78,1,1,28,12.12,.02,1,1,28,-126.25,-11.12,1,1,26,-372.75,-19.11,1],color:"ce3a3aff"}}}}],Sx={homo2:{bones:{homo13:{rotate:[{value:17.2,curve:[.045,22.24,.089,26.54]},{time:.1333,value:26.54,curve:[.3,26.54,.467,-6.45]},{time:.6333,value:-6.45,curve:[.789,-6.45,.944,0]},{time:1.1,curve:[1.178,0,1.256,20.81]},{time:1.3333,value:20.81,curve:[1.433,20.81,1.467,8.24]},{time:1.6333,value:8.24,curve:[1.946,8.24,2.478,9.27]},{time:2.6667,value:14.31,curve:[2.718,15.61,2.752,15.51]},{time:2.7667,value:17.2}],translate:[{x:169.91,y:14.85,curve:[.101,140.86,.2,0,.101,12.31,.2,0]},{time:.3,curve:[.467,0,.633,204.04,.467,0,.633,8.37]},{time:.8,x:275.99,y:13.17,curve:[.9,319.19,1,265.01,.85,14.6,1,15.09]},{time:1.1,x:221.01,y:15.2,curve:[1.156,196.51,1.211,174.8,1.159,15.27,1.217,15.28]},{time:1.2667,x:174.8,y:15.28,curve:[1.289,174.8,1.312,168.14,1.289,15.28,1.312,14.69]},{time:1.3333,x:156.62,y:13.69,curve:[1.433,103.02,1.522,0,1.433,9,1.522,0]},{time:1.6333,curve:[1.935,0,2.479,117.33,1.935,0,2.479,10.25]},{time:2.6667,x:156.96,y:13.72,curve:[2.728,169.72,2.764,170.79,2.728,14.83,2.764,14.93]},{time:2.7667,x:169.91,y:14.85}]},homo:{translate:[{x:22,y:-80.54,curve:[.011,20.61,.022,18.84,.011,-76.23,.023,-69.84]},{time:.0333,x:16.73,y:-60.73,curve:[.11,2.02,.044,-23.38,.055,-40.85,.046,82.21]},{time:.4667,x:-23.38,y:82.21,curve:[1.012,-23.38,1.014,-23.38,1.012,82.21,1.041,82.21]},{time:1.1,curve:[1.131,8.59,1.163,23.61,1.121,-29.05,1.167,-88.09]},{time:1.2333,x:25.81,y:-88.09,curve:[1.244,26.12,1.255,25.81,1.244,-88.09,1.255,-88.09]},{time:1.2667,x:25.81,y:-88.09,curve:[1.277,25.81,1.477,27.04,1.392,-88.09,1.477,-25.97]},{time:1.5667,x:27.04,y:-25.97,curve:[1.644,27.04,1.722,26.16,1.644,-25.97,1.722,-51.97]},{time:1.8,x:26.16,y:-51.97,curve:[1.843,26.16,2.004,26.16,1.845,-51.97,2,-51.94]},{time:2.0333,x:26.16,y:-51.94,curve:[2.06,26.16,2.499,24.33,2.117,-51.94,2.312,-76.32]},{time:2.6667,x:22.9,y:-79.93,curve:[2.727,22.4,2.764,22.39,2.702,-80.23,2.733,-80.54]},{time:2.7667,x:22,y:-80.54}],scale:[{x:1.071,y:.812,curve:[.1,1.071,.2,.955,.075,.919,.085,1.361]},{time:.3,x:.955,y:1.208,curve:[.467,.955,.633,1,.4,1.137,.633,1]},{time:.8,curve:"stepped"},{time:1.1,curve:[1.167,1,1.206,1.071,1.167,1,1.206,.812]},{time:1.3,x:1.071,y:.812,curve:[1.386,1.071,1.48,.969,1.386,.812,1.48,1.072]},{time:1.5667,x:.969,y:1.072,curve:[1.654,.969,1.755,1,1.654,1.072,1.755,.966]},{time:1.8,y:.966,curve:[1.878,1,1.956,1,1.878,.966,1.956,1]},{time:2.0333,curve:[2.225,1,2.528,1.047,2.236,1,2.505,.859]},{time:2.6667,x:1.064,y:.822,curve:[2.714,1.07,2.749,1.071,2.705,.814,2.738,.812]},{time:2.7667,x:1.071,y:.812}]},crown:{rotate:[{value:-17.59,curve:[.111,-17.59,.222,6.97]},{time:.3333,value:6.97,curve:[.589,6.97,.844,0]},{time:1.1,curve:[1.167,0,1.233,-17.59]}
60,{time:1.3,value:-17.59,curve:[1.311,-17.59,1.323,-17.37]},{time:1.3333,value:-16.9,curve:[1.347,-16.29,2.392,-17.31]},{time:2.6667,value:-17.54,curve:[2.722,-17.58,2.756,-17.59]},{time:2.7667,value:-17.59}],translate:[{curve:[.122,0,.245,-8.15,.122,0,.272,29.08]},{time:.3667,x:-12.14,y:40.15,curve:[.567,-18.64,.767,-22.25,.567,63.61,.904,42.73]},{time:.9667,x:-22.25,y:32.76,curve:[1.032,-22.25,1.056,-6.44,1.001,27.31,1.056,13.64]},{time:1.1,x:-4,y:8.48,curve:[1.141,-1.73,1.204,0,1.141,3.66,1.204,0]},{time:1.3,curve:[1.311,0,1.323,-.08,1.311,0,1.322,.3]},{time:1.3333,x:-.21,y:.73,curve:[1.348,-.4,2.385,-.08,1.35,1.39,2.385,.28]},{time:2.6667,x:-.01,y:.04,curve:[2.718,0,2.752,0,2.718,0,2.752,0]},{time:2.7667}]},homo2:{rotate:[{value:8.55,curve:[.138,6.67,.143,-.93]},{time:.5667,value:-.93,curve:[.7,-.93,.865,.72]},{time:.9667,value:1.91,curve:[1.033,2.68,1.056,3.43]},{time:1.1,value:5.24,curve:[1.145,7.08,1.187,9.06]},{time:1.2333,value:9.06,curve:[1.276,9.06,1.307,7.99]},{time:1.3333,value:7.99,curve:[1.422,7.99,1.511,-3.22]},{time:1.6,value:-3.22,curve:[1.7,-3.22,1.8,5.83]},{time:1.9,value:5.83,curve:[2.011,5.83,2.122,3.51]},{time:2.2333,value:3.51,curve:[2.378,3.51,2.522,7.45]},{time:2.6667,value:7.45,curve:[2.7,7.45,2.733,8.55]},{time:2.7667,value:8.55}]},homo3:{rotate:[{value:8.29,curve:[.138,5.32,.143,-6.66]},{time:.5667,value:-6.66,curve:[.7,-6.66,.888,-.68]},{time:.9667,value:1.14,curve:[1.016,2.29,1.056,3.43]},{time:1.1,value:5.24,curve:[1.145,7.08,1.187,9.06]},{time:1.2333,value:9.06,curve:[1.276,9.06,1.307,7.4]},{time:1.3333,value:7.4,curve:[1.422,7.4,1.511,-3.86]},{time:1.6,value:-3.86,curve:[1.7,-3.86,1.8,5.28]},{time:1.9,value:5.28,curve:[2.011,5.28,2.122,3.1]},{time:2.2333,value:3.1,curve:[2.378,3.1,2.522,7.2]},{time:2.6667,value:7.2,curve:[2.7,7.2,2.733,8.29]},{time:2.7667,value:8.29}]},homo4:{rotate:[{value:8.67,curve:[.011,8.86,.022,9.01]},{time:.0333,value:9.01,curve:[.244,9.01,.183,-1.42]},{time:.6667,value:-1.42,curve:[.765,-1.42,.87,.82]},{time:.9667,value:1.34,curve:[1.002,1.53,1.035,1.72]},{time:1.0667,value:1.91,curve:[1.078,1.92,1.089,2.02]},{time:1.1,value:2.18,curve:[1.149,2.89,1.192,4.98]},{time:1.2333,value:6.66,curve:[1.266,7.97,1.299,9.01]},{time:1.3333,value:9.01,curve:[1.422,9.01,1.511,-2.21]},{time:1.6,value:-2.21,curve:[1.7,-2.21,1.8,6.3]},{time:1.9,value:6.3,curve:[2.011,6.3,2.122,3.45]},{time:2.2333,value:3.45,curve:[2.378,3.45,2.522,7.23]},{time:2.6667,value:7.23,curve:[2.7,7.23,2.733,8.67]},{time:2.7667,value:8.67}]},homo5:{rotate:[{value:1.81,curve:[.045,1.73,.087,1.64]},{time:.1333,value:1.64,curve:[.344,1.64,.283,-.79]},{time:.7667,value:-.79,curve:[.832,-.79,.909,.13]},{time:.9667,value:.58,curve:[1.005,.87,1.056,1.28]},{time:1.1,value:1.53,curve:[1.123,1.65,1.145,1.78]},{time:1.1667,value:1.91,curve:[1.19,1.92,1.213,-2.74]},{time:1.2333,value:-2.77,curve:[1.269,-2.82,1.302,1.75]},{time:1.3333,value:1.75,curve:[1.422,1.75,1.511,-9.36]},{time:1.6,value:-9.36,curve:[1.7,-9.36,1.8,-.46]},{time:1.9,value:-.46,curve:[2.011,-.46,2.122,-2.99]},{time:2.2333,value:-2.99,curve:[2.378,-2.99,2.522,.7]},{time:2.6667,value:.7,curve:[2.7,.7,2.733,1.81]},{time:2.7667,value:1.81}]},homo6:{rotate:[{value:.9,curve:[.072,-1.17,.131,-5.79]},{time:.2,value:-5.79,curve:[.411,-5.79,.35,-.77]},{time:.8333,value:-.77,curve:[.877,-.77,.924,-.09]},{time:.9667,value:.22,curve:[1.007,.51,1.056,.95]},{time:1.1,value:1.17,curve:[1.147,1.4,1.192,-10.87]},{time:1.2333,value:-10.63,curve:[1.27,-10.61,1.302,-.24]},{time:1.3333,value:-.24,curve:[1.422,-.24,1.511,-11.54]},{time:1.6,value:-11.54,curve:[1.7,-11.54,1.8,-2.31]},{time:1.9,value:-2.31,curve:[2.011,-2.31,2.122,-4.38]},{time:2.2333,value:-4.38,curve:[2.378,-4.38,2.522,-.15]},{time:2.6667,value:-.15,curve:[2.7,-.15,2.733,.9]},{time:2.7667,value:.9}]},homobubble2:{translate:[{x:54.61,y:-99.36,curve:[.055,22.06,.19,-28.75,.088,-50.38,.19,32.34]},{time:.4667,x:-28.75,y:32.34,curve:[.619,-28.75,.889,0,.619,32.34,.889,0]},{time:1.1,curve:[1.178,0,1.148,56.32,1.178,0,1.148,-102.06]},{time:1.2667,x:56.32,y:-102.06,curve:[1.317,56.32,1.361,50.74,1.317,-102.06,1.361,-79.92]},{time:1.4,x:50.74,y:-79.92,curve:[2.363,50.74,2.405,84.46,2.363,-79.92,2.405,-154.88]},{time:2.6667,x:85.48,y:-156.5,curve:[2.729,85.72,2.765,54.78,2.7,-156.7,2.729,-122.13]},{time:2.7667,x:54.61,y:-99.36}],scale:[{x:1.015,y:1.015,curve:[.044,1.036,.089,1.063,.044,1.036,.089,1.063]},{time:.1333,x:1.063,y:1.063,curve:[.244,1.063,.356,1.021,.244,1.063,.356,1.021]},{time:.4667,curve:"stepped"},{time:1.2667,curve:[1.289,1,2.4,1.018,1.289,1,2.4,1.018]},{time:2.6667,x:1.015,y:1.015,curve:[2.73,1.014,2.765,1.014,2.73,1.014,2.765,1.014]},{time:2.7667,x:1.015,y:1.015}]},homobubble3:{translate:[{x:-2.26,y:2.16,curve:[.029,-.86,.052,0,.021,.86,.043,0]},{time:.0667,curve:[.156,0,.472,-40.21,.253,0,.117,153.15]},{time:.6333,x:-38.4,y:120.33,curve:[.735,-37.27,.944,-23.6,.972,98.82,.944,99.54]},{time:1.1,x:-13.95,y:46.17,curve:[1.196,-7.98,1.282,-2.71,1.165,24,1.222,3.89]},{time:1.3333,x:-.78,y:.56,curve:[1.368,.51,2.394,-3.56,1.381,-.88,2.389,6.25]},{time:2.6667,x:-2.81,y:3.55,curve:[2.723,-2.66,2.758,-2.7,2.718,3.07,2.752,3.11]},{time:2.7667,x:-2.26,y:2.16}]},homobubble4:{translate:[{x:19.74,y:-125.59,curve:[.044,19.74,.089,-.33,.044,-125.59,.123,-1.79]},{time:.1333,curve:[.256,.9,.378,-45.81,.256,20.64,.378,128.29]},{time:.5,x:-45.81,y:128.29,curve:[.7,-45.81,.9,0,.7,128.29,.9,0]},{time:1.1,curve:[1.167,0,1.26,30.93,1.167,0,1.26,-136.47]},{time:1.3,x:30.93,y:-136.47,curve:[1.394,30.93,1.416,26.12,1.394,-136.47,1.416,-26.21]},{time:1.5,x:22.52,y:10.32,curve:[1.549,20.44,1.618,18.72,1.549,31.48,1.618,-12.27]}
60,{time:1.7333,x:18.72,y:-12.27,curve:[2.606,18.72,2.422,19.74,2.606,-12.27,2.422,-125.59]},{time:2.7667,x:19.74,y:-125.59}]},homobubble5:{translate:[{x:-2.26,y:2.16,curve:[.029,-.86,.052,0,.021,.86,.043,0]},{time:.0667,curve:[.156,0,.472,-40.21,.253,0,.117,153.15]},{time:.6333,x:-38.4,y:120.33,curve:[.735,-37.27,.944,-23.6,.972,98.82,.944,99.54]},{time:1.1,x:-13.95,y:46.17,curve:[1.196,-7.98,1.282,-24.83,1.165,24,1.222,-98.68]},{time:1.3333,x:-22.91,y:-102.01,curve:[1.346,-22.42,1.5,-29.59,1.351,-102.55,1.503,-5.63]},{time:1.7,x:-26.16,y:13.18,curve:[2.034,-20.5,2.497,-3.28,2.032,44.76,2.493,5.24]},{time:2.6667,x:-2.81,y:3.55,curve:[2.723,-2.66,2.758,-2.7,2.718,3.07,2.752,3.11]},{time:2.7667,x:-2.26,y:2.16}]},homobubble6:{translate:[{x:-2.26,y:2.16,curve:[.029,-.86,.052,0,.021,.86,.043,0]},{time:.0667,curve:[.156,0,.472,-40.21,.253,0,.117,153.15]},{time:.6333,x:-38.4,y:120.33,curve:[.735,-37.27,.944,-23.6,.972,98.82,.944,99.54]},{time:1.1,x:-13.95,y:46.17,curve:[1.196,-7.98,1.282,55.61,1.165,24,1.222,-38.35]},{time:1.3333,x:57.54,y:-41.68,curve:[1.346,58,1.484,22.52,1.35,-42.18,1.487,31.59]},{time:1.6667,x:12.53,y:39.23,curve:[2.004,-5.49,2.491,-3.29,2.002,53.21,2.487,5.3]},{time:2.6667,x:-2.81,y:3.55,curve:[2.723,-2.66,2.758,-2.7,2.718,3.07,2.752,3.11]},{time:2.7667,x:-2.26,y:2.16}]},homobubble:{translate:[{y:4.1},{time:.1333,y:20.52},{time:1.1,curve:[1.156,1.25,1.211,3.74,1.156,-5.4,1.211,-16.21]},{time:1.2667,x:3.74,y:-16.21,curve:[1.289,3.74,1.311,0,1.289,-16.21,1.311,8.21]},{time:1.3333,y:8.21,curve:[1.389,0,1.444,8.42,1.389,8.21,1.444,-1.65]},{time:1.5,x:8.42,y:-1.65,curve:[1.889,8.42,2.278,.54,1.889,-1.65,2.278,-15.87]},{time:2.6667,x:.07,y:1.16,curve:[2.701,.03,2.734,0,2.701,2.6,2.734,2.5]},{time:2.7667,y:4.1}]},homo8:{rotate:[{value:7.99,curve:[.108,5.44,.147,-.93]},{time:.5333,value:-.93,curve:[.667,-.93,.832,.72]},{time:.9333,value:1.91,curve:[.999,2.68,1.027,3.55]},{time:1.0667,value:5.24,curve:[1.078,5.7,1.089,6.16]},{time:1.1,value:6.6,curve:[1.133,7.92,1.165,9.01]},{time:1.2,value:9.01,curve:[1.261,9.01,1.299,8.18]},{time:1.3333,value:7.02,curve:[1.341,6.75,1.448,1.37]},{time:1.6,value:1.37,curve:[1.689,1.37,1.793,6.2]},{time:1.9,value:6.2,curve:[2.011,6.2,2.126,.45]},{time:2.2333,value:.45,curve:[2.417,.45,2.581,8.06]},{time:2.6667,value:8.08,curve:[2.727,8.09,2.762,8.1]},{time:2.7667,value:7.99}]},homo10:{rotate:[{value:7.4,curve:[.108,3.38,.147,-6.66]},{time:.5333,value:-6.66,curve:[.667,-6.66,.855,-.68]},{time:.9333,value:1.14,curve:[.983,2.29,1.027,3.55]},{time:1.0667,value:5.24,curve:[1.078,5.7,1.089,6.16]},{time:1.1,value:6.6,curve:[1.133,7.92,1.165,9.01]},{time:1.2,value:9.01,curve:[1.261,9.01,1.299,7.7]},{time:1.3333,value:5.87,curve:[1.341,5.45,1.448,.14]},{time:1.6,value:.14,curve:[1.689,.14,1.793,5.16]},{time:1.9,value:5.16,curve:[2.011,5.16,2.126,-.35]},{time:2.2333,value:-.35,curve:[2.417,-.35,2.581,7.52]},{time:2.6667,value:7.54,curve:[2.727,7.55,2.762,7.58]},{time:2.7667,value:7.4}]},homo11:{rotate:[{value:9.01,curve:[.211,9.01,.15,-1.42]},{time:.6333,value:-1.42,curve:[.732,-1.42,.837,.82]},{time:.9333,value:1.34,curve:[.968,1.53,1.002,1.72]},{time:1.0333,value:1.91,curve:[1.045,1.92,1.056,2.02]},{time:1.0667,value:2.18,curve:[1.078,2.35,1.089,2.6]},{time:1.1,value:2.89,curve:[1.172,4.83,1.231,9.01]},{time:1.3,value:9.01,curve:[1.312,9.01,1.323,8.9]},{time:1.3333,value:8.84,curve:[1.341,8.79,1.451,3.29]},{time:1.6,value:3.29,curve:[1.69,3.29,1.795,7.83]},{time:1.9,value:7.83,curve:[2.012,7.83,2.127,1.71]},{time:2.2333,value:1.71,curve:[2.418,1.71,2.58,9]},{time:2.6667,value:9,curve:[2.722,9,2.755,9.01]},{time:2.7667,value:9.01}]},homo12:{rotate:[{value:1.75,curve:[.033,1.69,.065,1.64]},{time:.1,value:1.64,curve:[.311,1.64,.25,-.79]},{time:.7333,value:-.79,curve:[.799,-.79,.876,.13]},{time:.9333,value:.58,curve:[.971,.87,1.024,-9.3]},{time:1.0667,value:-9.06,curve:[1.078,-9,1.089,1.65]},{time:1.1,value:1.71,curve:[1.111,1.78,1.122,1.85]},{time:1.1333,value:1.91,curve:[1.211,1.95,1.271,-7.24]},{time:1.3333,value:-7.33,curve:[1.343,-7.34,1.451,-3.81]},{time:1.6,value:-3.81,curve:[1.69,-3.81,1.794,.72]},{time:1.9,value:.72,curve:[2.011,.72,2.126,-5.43]},{time:2.2333,value:-5.43,curve:[2.417,-5.43,2.58,1.78]},{time:2.6667,value:1.77,curve:[2.723,1.76,2.758,1.76]},{time:2.7667,value:1.75}]},homo9:{rotate:[{time:1.3333},{time:1.6,value:-5.51,curve:[1.7,-5.51,1.8,-.43]},{time:1.9,value:-.43,curve:[2.011,-.43,2.122,-7.42]},{time:2.2333,value:-7.42,curve:[2.378,-7.42,2.522,0]},{time:2.6667}]},homo15:{translate:[{curve:[.056,0,.083,-93.66,.056,0,.083,-3.44]},{time:.1667,x:-93.66,y:-3.44,curve:[.25,-93.66,.35,23.64,.25,-3.44,.35,-2.27]},{time:.4333,x:23.64,y:-1.46,curve:[.533,23.64,.667,0,.533,-.49,.667,0]},{time:.7333,curve:"stepped"},{time:2.0333,curve:[2.067,0,2.1,-9.95,2.067,0,2.1,0]},{time:2.1333,x:-9.95,curve:[2.156,-9.95,2.178,0,2.156,0,2.178,0]},{time:2.2,curve:[2.222,0,2.244,-13.52,2.222,0,2.244,0]},{time:2.2667,x:-13.52,curve:[2.289,-13.52,2.311,2.99,2.289,0,2.3
6011,0]},{time:2.3333,x:2.99,curve:[2.356,2.99,2.378,-18.2,2.356,0,2.378,0]},{time:2.4,x:-18.2,curve:[2.422,-18.2,2.444,6.93,2.422,0,2.444,0]},{time:2.4667,x:6.93,curve:[2.489,6.93,2.511,-21.9,2.489,0,2.511,0]},{time:2.5333,x:-21.9,curve:[2.556,-21.9,2.578,12.31,2.556,0,2.578,0]},{time:2.6,x:12.31,curve:[2.628,12.31,2.648,-29.31,2.622,0,2.644,0]},{time:2.6667,x:-29.31,curve:[2.7,-29.31,2.733,0,2.7,0,2.733,0]},{time:2.7667}]},jiemao:{translate:[{x:13.2,y:-256.26},{time:.1333,x:-26.06,y:-85.34},{time:.2,x:19.29,y:67.3,curve:[.833,19.29,1.467,0,.833,67.3,1.467,0]},{time:2.1,curve:[2.376,0,2.294,13.2,2.376,0,2.294,-256.26]},{time:2.5333,x:13.2,y:-256.26}]},jiemao3:{rotate:[{},{time:.1,value:8.56,curve:"stepped"},{time:.2667,value:8.56},{time:.3667}],translate:[{x:18.25,y:-50.12},{time:.2,x:-.82,y:.29,curve:[.768,-.82,1.336,.24,.768,.29,1.336,-.08]},{time:1.9,x:.24,y:-.08,curve:[1.969,.24,2.035,-.82,1.969,-.08,2.035,.29]},{time:2.1,x:-.82,y:.29,curve:[2.376,-.82,2.294,18.25,2.376,.29,2.294,-50.12]},{time:2.5333,x:18.25,y:-50.12}]},jiemao2:{rotate:[{},{time:.1,value:-24.23,curve:"stepped"},{time:.2667,value:-24.23},{time:.3667}]},homo1:{translate:[{x:-9.86,y:3.7,curve:[.098,-9.86,.173,-15.76,.098,3.7,.173,1.5]},{time:.2333,x:-14.6,y:1.5,curve:[.451,-10.44,.468,5.79,.451,1.49,.468,3.67]},{time:.6333,x:5.79,y:3.59,curve:"stepped"},{time:1.1667,x:5.79,y:3.59,curve:[1.243,5.79,1.22,-9.2,1.243,3.59,1.22,8.53]},{time:1.3667,x:-9.35,y:8.58,curve:[1.752,-9.74,1.842,3.6,1.752,8.71,1.842,0]}
60,{time:2.3333,curve:[2.478,-1.06,2.622,-9.86,2.478,0,2.622,3.7]},{time:2.7667,x:-9.86,y:3.7}]}},deform:{default:{homo:{homo:[{offset:288,vertices:[2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999],curve:[.157,.51,.312,1]},{time:.4667,offset:288,vertices:[7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323],curve:[.678,0,.889,1]},{time:1.1,offset:288,vertices:[1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771],curve:[1.656,0,2.7,.07]},{time:2.7667,offset:288,vertices:[2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999]}]},homo3:{homo:[{offset:288,vertices:[2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999],curve:[.157,.51,.312,1]},{time:.4667,offset:288,vertices:[7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323,7.6084,18.81335,20.48877,-8.24048,7.6084,18.81323],curve:[.678,0,.889,1]},{time:1.1,offset:288,vertices:[1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771,1.05591,-13.90771,-13.94409,.1615,1.05591,-13.90771],curve:[1.656,0,2.7,.07]},{time:2.7667,offset:288,vertices:[2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999,2.47125,-6.83997,-6.5066,-1.65333,2.47125,-6.83999]}]},jiemaocaijian:{jiemaocaijian:[{},{time:.1,offset:142,vertices:[-5.30896,6.63904,5.09082,7.69409,-5.3042,6.64099,0,0,0,0,0,0,9.24292,.63184,3.90674,-8.81616,9.24792,.63452,10.1123,1.78467,5.42065,-9.23608,10.11536,1.78662,9.5415,4.44604,8.00977,-7.67529,9.54626,4.44861,10.47156,5.13892,9.0625,-8.3252,10.47571,5.14075,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14.11194,-6.6488,-2.01245,-16.32275,14.11523,-6.64697,12.91418,.63,5.19348,-12.41333,12.92065,.63367,12.78748,3.27393,7.91956,-11.2981,12.79785,3.27942,6.95825,8.58923,11.44592,-3.58691,6.96106,8.59058,6.79297,10.08374,12.95398,-2.86255,6.79517,10.08484,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6.11536,-.776,1.33362,-6.28296,6.11707,-.77539,9.02893,1.83984,5.09949,-8.15186,9.03125,1.84082,9.47241,2.33044,5.76782,-8.40356,9.47705,2.33252,8.58435,.35693,3.3844,-8.27881,8.59241,.36096]},{time:.1333,offset:142,vertices:[-3.98172,4.97928,3.81812,5.77057,-3.97815,4.98074,0,0,0,0,0,0,6.93219,.47388,2.93005,-6.61212,6.93594,.47589,7.58423,1.3385,4.06549,-6.92706,7.58652,1.33997,7.15613,3.33453,6.00732,-5.75647,7.1597,3.33646,7.85367,3.85419,6.79688,-6.2439,7.85678,3.85556,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10.58395,-4.9866,-1.50934,-12.24207,10.58643,-4.98523,9.68564,.4725,3.89511,-9.31,9.69049,.47525,9.59061,2.45544,5.93967,-8.47357,9.59839,2.45956,11.5495,11.67361,16.55502,-6.75146,11.55161,11.67596,8.20044,9.99188,13.47525,-4.18964,8.20184,9.9982,7.91382,7.23694,10.7428,-4.79834,7.91394,7.24438,5.90027,8.13428,11.0575,-2.51123,5.90027,8.13599,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4.58652,-.582,1.00021,-4.71222,4.5878,-.58154,9.05087,.81616,3.97195,-8.53162,9.05127,.82092,10.25787,1.50186,5.12335,-9.4389,10.25964,1.5083,6.43826,.2677,2.5383,-6.20911,6.44431,.27072]},{time:.1667,offset:12,vertices:[2.80933,-.65723,.1095,-2.927,2.81079,-.6582,13.59216,.88184,5.24011,-12.63599,13.59338,.88037,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-2.65448,3.31952,2.54541,3.84705,-2.6521,3.3205,0,0,0,0,0,0,4.62146,.31592,1.95337,-4.40808,4.6239
606,.31726,5.05615,.89233,2.71033,-4.61804,5.05768,.89331,4.77075,2.22302,4.00488,-3.83765,4.77313,2.2243,5.23578,2.56946,4.53125,-4.1626,5.23785,2.57037,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7.05597,-3.3244,-1.00623,-8.16138,7.05762,-3.32349,6.45709,.315,2.59674,-6.20667,6.46033,.31683,6.39374,1.63696,3.95978,-5.64905,6.39893,1.63971,7.69967,7.78241,11.03668,-4.50098,7.70107,7.78398,5.46696,6.66126,8.9835,-2.79309,5.4679,6.66547,5.27588,4.82463,7.16187,-3.19889,5.27596,4.82959,3.93351,5.42285,7.37166,-1.67415,3.93351,5.42399,3.60254,6.03564,8.10974,-1.16187,3.60413,6.03442,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3.41492,-3.29932,-2.76514,-4.50195,3.41748,-3.30139,0,0,0,0,0,0,3.05768,-.388,.66681,-3.14148,3.05853,-.3877,6.03392,.54411,2.64797,-5.68774,6.03418,.54728,6.83858,1.00124,3.41557,-6.2926,6.83976,1.00553,4.29218,.17847,1.6922,-4.1394,4.2962,.18048]},{time:.2333}]}}}}},Mx={homobubble2:{rootBoneName:"homobubble2",endBoneName:"",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:15,moveXOctaves:1,moveXDelay:0,moveXCenter:0,moveXSeed:8326,rotateFreq:2.5,rotateAmp:2,rotateOctaves:0,rotateDelay:0}}}},Tx={},Ex={timeScale:1},kx={skeleton:yx,bones:bx,slots:_x,transform:xx,skins:wx,animations:Sx,extra:Mx,extraSlot:Tx,extraConfig:Ex},Ax="HanaCG2bubbleother.png\nsize:1620,404\nfilter:Linear,Linear\nscale:0.24\nchameleon\nbounds:501,9,142,131\noffsets:2,0,145,131\nchameleonbubble\nbounds:1423,288,114,174\nrotate:90\nchameleonbubble2\nbounds:298,142,260,260\ncroissant\nbounds:1423,4,81,64\nrotate:90\ncroissantbubble\nbounds:1489,104,64,53\nrotate:90\ncroissantbubble2\nbounds:1424,170,119,116\nlmbody\nbounds:1423,89,79,42\noffsets:2,2,83,46\nrotate:90\nlmshou\nbounds:1489,9,76,44\noffsets:2,2,80,48\nrotate:90\nlmtou\nbounds:990,172,211,230\noffsets:2,2,216,234\nlumibubble\nbounds:1545,87,66,84\nlumibubble2\nbounds:810,8,160,160\npm\nbounds:1203,196,107,206\noffsets:48,0,188,207\npmbubble\nbounds:797,170,191,232\npmbubble2\nbounds:2,108,294,294\npmear1\nbounds:1312,292,105,110\noffsets:1,1,106,113\npmear2\nbounds:1545,219,73,67\noffsets:1,5,77,77\npmleftclothes\nbounds:1545,173,44,67\noffsets:3,3,49,73\nrotate:90\npmlefthand\nbounds:1535,24,61,36\noffsets:3,4,67,43\nrotate:90\npmrightclothes\nbounds:328,110,45,30\noffsets:3,3,49,35\npmrighthand\nbounds:417,113,45,27\noffsets:3,3,51,33\npmtial\nbounds:1573,28,57,39\noffsets:2,3,61,44\nrotate:90\nprojector\nbounds:177,8,98,146\noffsets:0,0,104,146\nrotate:90\nprojector2\nbounds:298,108,28,32\nprojectorbubble\nbounds:972,16,113,152\nprojectorbubble2\nbounds:1229,2,192,192\nshoupa\nbounds:375,112,40,28\noffsets:2,3,44,33\nslime\nbounds:1312,202,110,84\noffsets:1,6,114,94\nslimepaopao\nbounds:645,2,163,163\nwd1\nbounds:414,2,108,85\nrotate:90\nwd2\nbounds:88,5,101,87\nrotate:90\nwd3\nbounds:325,8,98,87\nrotate:90\nwd4\nbounds:2,4,102,84\nrotate:90\nwdbubble\nbounds:560,167,235,235\nwdlight\nbounds:1087,22,148,140\nrotate:90\n",Cx={hash:"XhHDejl3cGw",spine:"4.0-from-4.1.23",images:"C:/Users/xiankang.zhan/Desktop/需求/Hana米游CG2落地页动画/HanaCG2bubble/other/bubbleimages",audio:""},Rx=[{name:"root",scaleX:.22,scaleY:.22},{name:"root2",parent:"root",x:-6969.15,y:-4594.95,color:"ff0000ff"},{name:"lumibubble2",parent:"root",x:-1253.73,y:-740.54,scaleX:.9045,scaleY:.9045},{name:"lumi_logo_2",parent:"lumibubble2",x:6.69,y:-1.35},{name:"chameleonbubble2",parent:"root",x:-2176.08,y:-1321.68,scaleX:.6844,scaleY:.6844},{name:"chameleon",parent:"chameleonbubble2",x:64.36,y:2.8},{name:"chameleon2",parent:"chameleon",length:124.99,rotation:-8.78,x:105.21,y:-183.09},{name:"chameleon3",parent:"chameleon2",length:112.04,rotation:40.47,x:124.99},{name:"chameleon4",parent:"chameleon3",length:118.72,rotation:48.25,x:112.04},{name:"chameleon5",parent:"chameleon4",length:84.32,rotation:93.28,x:118.72},{name:"chameleon6",parent:"chameleon5",length:78.46,rotation:80.83,x:84.32},{name:"wdlight",parent:"root",x:3166.95,y:-775.42,scaleX:.9476,scaleY:.9476}
60,{name:"slime",parent:"wdlight",x:-13.33,y:-71.98},{name:"wdbubble",parent:"root",x:3119.17,y:163.14,scaleX:.9383,scaleY:.9383},{name:"wd1",parent:"wdbubble",x:-148.64,y:188.66},{name:"wd3",parent:"wdbubble",x:241.55,y:102.91},{name:"wd4",parent:"wdbubble",x:-175.8,y:-48.6},{name:"wd2",parent:"wdbubble",x:117.2,y:-184.38},{name:"pmbubble",parent:"root",x:-2063.84,y:915.41,scaleX:.9457,scaleY:.9457},{name:"pm",parent:"pmbubble",x:160.48,y:-237.41},{name:"pm2",parent:"pm",length:80.28,rotation:121.05,x:-2.81,y:4.91},{name:"pm3",parent:"pm2",length:122.88,rotation:-22.18,x:79.43,y:-2.77},{name:"pmlefthand",parent:"pm3",length:174.3,rotation:97.74,x:131.36,y:72.54},{name:"pmrighthand",parent:"pm3",length:162.14,rotation:-86.88,x:81.54,y:-41.85},{name:"pmtial",parent:"pm2",length:72,rotation:105.93,x:20.73,y:19.47},{name:"pmtial2",parent:"pmtial",length:72.2,rotation:-21.66,x:72},{name:"pmtial3",parent:"pmtial2",length:67.23,rotation:-11.43,x:72.2},{name:"pm4",parent:"pm",length:94.01,rotation:-12.06,x:39.3,y:23.86},{name:"pm5",parent:"pm",length:88.6,rotation:-57.95,x:-40,y:-58.25},{name:"pmear1",parent:"pm3",length:111.31,rotation:134.76,x:351.95,y:95.6},{name:"pmear2",parent:"pmear1",length:102.71,rotation:-32.62,x:111.31},{name:"pmear3",parent:"pmear2",length:128.38,rotation:11.39,x:102.71},{name:"pmear4",parent:"pmear3",length:96.45,rotation:51.4,x:128.38},{name:"pmear5",parent:"pmear4",length:101.82,rotation:26.99,x:96.45},{name:"pmear6",parent:"pm3",length:85.46,rotation:-139.98,x:208.8,y:-78.98},{name:"pmear7",parent:"pmear6",length:80.37,rotation:37.05,x:85.46},{name:"pmear8",parent:"pmear7",length:81.95,rotation:25.28,x:80.37},{name:"pmear9",parent:"pmear8",length:63.54,rotation:27.8,x:81.95},{name:"projectorbubble2",parent:"root",x:3416.52,y:1107.11,scaleX:-.6844,scaleY:.6844},{name:"projector2",parent:"projectorbubble2",x:146.82,y:-145.92},{name:"projector3",parent:"projector2",length:150.51,rotation:139.58},{name:"projector4",parent:"projector3",length:155.19,rotation:-2.48,x:150.51},{name:"projector5",parent:"projector4",length:205.1,rotation:-8.48,x:155.19},{name:"croissantbubble",parent:"root",x:-1769.49,y:2164.34,scaleX:.8,scaleY:.8},{name:"croissant",parent:"croissantbubble",x:4.47,y:37.54},{name:"pm6",parent:"pm3",length:44.73,rotation:157.61,x:93.49,y:46.46},{name:"pm7",parent:"pm6",length:67.9,rotation:-2.57,x:44.73},{name:"pm8",parent:"pm7",length:60.18,rotation:-1.71,x:67.9},{name:"pm9",parent:"pm8",length:46.96,rotation:-10.36,x:60.18},{name:"pm10",parent:"pm3",length:52.76,rotation:-147.73,x:78.15,y:-38.88},{name:"pm11",parent:"pm10",length:45.82,rotation:22.29,x:52.76},{name:"pm12",parent:"pm11",length:51.31,rotation:20.48,x:45.82},{name:"pm13",parent:"pm3",length:25.38,rotation:-173.2,x:83.21,y:-6.44},{name:"pm14",parent:"pm13",length:27.84,rotation:-.14,x:25.38},{name:"lmshou",parent:"lumi_logo_2",length:68.02,rotation:85.21,x:-33.08,y:-209.92},{name:"lmtou",parent:"lmshou",length:105.28,rotation:.92,x:71.97,y:-.38},{name:"bone",parent:"root",scaleX:1.7735,scaleY:1.7735,transform:"noScale"}],Ox=[{name:"chameleon",bone:"chameleon",attachment:"chameleon"},{name:"chameleonbubble2",bone:"chameleonbubble2",attachment:"chameleonbubble2"},{name:"chameleonbubble",bone:"chameleonbubble2",attachment:"chameleonbubble"},{name:"lmtou",bone:"lmtou",attachment:"lmtou"},{name:"lmbody",bone:"lmshou",attachment:"lmbody"},{name:"lmshou",bone:"lmshou",attachment:"lmshou"},{name:"lumibubble2",bone:"lumibubble2",attachment:"lumibubble2"},{name:"lumibubble",bone:"lumibubble2",attachment:"lumibubble"},{name:"projectorbubble2",bone:"projectorbubble2",attachment:"projectorbubble2"},{name:"projectorbubble",bone:"projectorbubble2",attachment:"projectorbubble"},{name:"projector2",bone:"projector2",attachment:"projector2"},{name:"projector",bone:"projector2",attachment:"projector"},{name:"croissantbubble2",bone:"croissantbubble",attachment:"croissantbubble2"},{name:"croissantbubble",bone:"croissantbubble",attachment:"croissantbubble"},{name:"croissant",bone:"croissant",attachment:"croissant"},{name:"pmear1",bone:"pmear1",attachment:"pmear1"},{name:"pmtial",bone:"pmtial",attachment:"pmtial"},{name:"pmear2",bone:"pmear6",attachment:"pmear2"}
60,{name:"pmrighthand",bone:"pmrighthand",attachment:"pmrighthand"},{name:"pm",bone:"pm",attachment:"pm"},{name:"pmrightclothes",bone:"pm3",attachment:"pmrightclothes"},{name:"pmleftclothes",bone:"pm3",attachment:"pmleftclothes"},{name:"shoupa",bone:"pm3",attachment:"shoupa"},{name:"pmlefthand",bone:"pmlefthand",attachment:"pmlefthand"},{name:"pmbubble2",bone:"pmbubble",attachment:"pmbubble2"},{name:"pmbubble",bone:"pmbubble",attachment:"pmbubble"},{name:"slimepaopao",bone:"wdlight",attachment:"slimepaopao"},{name:"slime",bone:"slime",attachment:"slime"},{name:"wdlight",bone:"wdlight",attachment:"wdlight"},{name:"wd4",bone:"wd4",attachment:"wd4"},{name:"wd3",bone:"wd3",attachment:"wd3"},{name:"wd2",bone:"wd2",attachment:"wd2"},{name:"wd1",bone:"wd1",attachment:"wd1"},{name:"wdbubble",bone:"wdbubble",attachment:"wdbubble"}],Lx=[{name:"default",attachments:{chameleon:{chameleon:{type:"mesh",uvs:[.0668,.08154,.05511,.20935,.02007,.28689,.02526,.51377,.07199,.6789,.2018,.88138,.41391,.97258,.56968,.99269,.73713,.97258,.84746,.90222,.93833,.79452,.98895,.63513,.99025,.49872,.93573,.37666,.85395,.35799,.79828,.37531,.75255,.45275,.72702,.51358,.70783,.59634,.69915,.65194,.70326,.69641,.7241,.741,.7502,.75178,.77686,.75666,.7979,.74943,.8139,.7338,.8228,.72329,.83051,.71104,.83387,.69507,.82972,.68173,.81133,.66729,.7874,.66663,.79254,.64869,.81073,.62769,.82675,.61544,.83961,.63644,.84238,.66116,.83882,.69026,.83644,.70448,.82735,.72198,.81251,.7408,.78814,.75919,.77714,.76726,.73523,.77893,.69076,.76631,.66425,.75559,.6862,.69693,.69276,.67265,.69504,.64332,.69817,.5976,.69703,.55029,.72273,.48873,.74714,.42279,.75951,.36316,.75868,.25847,.73227,.14293,.68592,.08061,.54919,.00661,.37022,.05205,.20826,.03063,.45396,.16689,.39397,.21429,.35892,.31168,.3745,.43837,.43215,.50559,.56537,.51421,.64484,.44871,.676,.36166,.68535,.29013,.68847,.23583,.65029,.22205,.60355,.17292,.53421,.1462,.38307,.48083,.33844,.11822,.28307,.20924,.2577,.32153,.27384,.43467,.31921,.5444,.40534,.61331,.50531,.62777,.62065,.598],triangles:[31,23,22,22,21,31,21,20,31,26,31,30,20,19,31,31,19,32,19,18,32,32,18,33,34,33,17,33,18,17,17,16,34,24,23,31,25,24,31,31,26,25,27,30,29,30,27,26,27,29,28,34,16,14,12,14,13,12,34,14,14,16,15,10,37,11,11,37,36,36,35,11,11,35,12,12,35,34,38,37,10,9,43,42,9,8,43,42,41,9,41,40,9,9,40,10,10,40,39,39,38,10,8,44,43,8,7,44,7,45,44,7,6,45,45,6,80,80,81,45,5,79,6,6,79,80,45,81,46,46,81,47,47,81,48,48,81,49,81,50,49,5,78,79,5,4,78,78,3,77,78,4,3,79,64,80,80,65,81,80,64,65,78,73,79,79,73,64,81,65,50,65,66,50,50,66,51,73,77,63,73,78,77,66,65,67,3,76,77,3,2,76,67,65,64,60,70,62,60,72,71,67,64,62,60,62,61,64,73,63,51,66,52,66,67,52,71,70,60,67,62,70,77,62,63,64,63,62,77,76,62,52,67,53,67,68,53,68,54,53,67,70,68,2,1,76,76,1,75,59,75,1,76,75,62,59,1,0,62,75,61,68,69,54,68,70,69,69,55,54,69,70,55,70,71,55,75,74,61,61,74,60,75,59,74,71,56,55,56,71,57,74,58,60,72,60,57,71,72,57,57,60,58,74,59,58],vertices:[1,5,-171.35,220.68,1,1,5,-178.41,150.9,1,1,5,-199.58,108.57,1,2,5,-196.44,-15.31,.97192,6,-323.72,119.8,.02808,2,5,-168.21,-105.47,.84365,6,-282.07,35,.15635,2,5,-89.81,-216.02,.46479,6,-187.72,-62.3,.53521,2,5,38.31,-265.82,.06488,6,-53.5,-91.97,.93512,1,6,41.15,-88.46,1,2,6,139.44,-62.19,.63289,7,-29.37,-56.69,.36711,2,6,199.44,-14.05,.00367,7,47.52,-59.01,.99633,2,7,125.11,-37.8,.52418,8,-19.51,-34.92,.47582,1,8,71.52,-49.83,1,2,8,145,-37.6,.54097,9,-39.04,-24.09,.45903,2,8,204.87,6.46,.00827,9,1.52,-86.38,.99173,1,9,51.77,-90.68,1,1,9,84.05,-77.32,1,2,9,106.49,-32.07,.73125,10,-28.13,-26.99,.26875,2,9,117.88,2.73,.08668,10,8.04,-32.7,.91332,1,10,54.67,-31.42,1,1,10,85.3,-28.13,1,1,10,107.97,-19.07,1,1,10,127.92,-.28,1,1,10,129.25,16.49,1,1,10,127.39,32.71,1,1,10,120.1,43.84,1,1,10,109.24,50.79,1,1,10,102.25,54.39,1,1,10,94.54,57.03,1,1,10,85.59,56.58,1,2,8,29.68,40.42,7e-5,10,79.28,52.17,.99993,3,8,35.5,52.74,.00144,9,57.41,80.06,57e-5,10,74.75,39.32,.99799,3,8,33.33,67.03,.00717,9,71.81,81.41,.0048,10,78.37,25.33,.98803,3,8,43.52,65.69,.04022,9,69.88,71.32,.03355,10,68.1,25.62,.92623,3,8,56.73,56.87,.15762,9,60.32,58.63,.13208,10,54.06,33.04,.7103,4,7,119.13,80.8,.00151,8,65.01,48.51,.35474,9,51.5,50.85,.22827,10,44.97,40.5,.41548,4,7,119.72,66.96,.01639,8,55.07,38.86,.6907,9,42.44,61.32,.13256,10,53.86,51.12,.16035,4,7,114.05,54.6,.06685,8,42.07,34.86,.81586,9,39.18,74.53,.05293,10,66.38,56.44,.06437,4,7,103.87,42.21,.24092,8,26.05,34.2,.72799,9,39.44,90.55,.01276,10,82.25,58.73,.01832,4,7,98.58,36.36,.39982,8,18.16,34.26,.58674,9,39.95,98.43,.00494,10,90.11,59.49,.00849,4,7,88.88,31.11,.68138,8,7.79,38,.31594,9,44.28,108.57,63e-5,10,100.8,56.83,.00205,4,7,75.86,27.08,.91325,8,-3.89,45.03,.08653,9,51.97,119.83,2e-5,10,113.14,51.04,2e-4,3,6,152.11,57.66,.01025,7,58.05,26.27,.98031,8,-16.35,57.77,.00944,4,5,257.7,-153.72,3e-5,6,146.22,52.29,.03227,7,50.09,26.01,.96505,8,-21.85,63.54,.00265,3,5,232.39,-160.09,.00233,6,122.17,42.14,.35642,7,25.21,33.88,.64125,3,5,205.52,-153.2,.02422,6,94.58,44.85,.82215,7,5.97,53.86,.15362,3,5,189.51,-147.35,.07301,6,77.86,48.19,.89799,7,-4.58,67.25,.029,3,5,202.77,-115.32,.21653,6,86.07,81.86,.78326,7,23.52,87.54,21e-5,2,5,206.73,-102.06,.26186,6,87.97,95.5
607,.73813,2,5,208.11,-86.05,.31812,6,86.88,111.61,.68188,2,5,210,-61.08,.41412,6,84.95,136.57,.58588,2,5,209.31,-35.25,.52889,6,80.33,161.99,.47111,2,5,224.83,-1.64,.6644,6,90.54,197.58,.3356,2,5,239.58,34.37,.75453,6,99.62,235.41,.24547,2,5,247.05,66.92,.80892,6,102.03,268.73,.19108,2,5,246.55,124.08,.88041,6,92.82,325.14,.11959,2,5,230.6,187.17,.9328,6,67.43,385.06,.0672,2,5,202.6,221.19,.95385,6,34.57,414.41,.04615,2,5,120.02,261.6,.98578,6,-53.21,441.74,.01422,2,5,11.92,236.79,.9997,6,-156.26,400.73,3e-4,1,5,-85.9,248.48,1,2,5,62.5,174.09,.98954,6,-96.71,346.48,.01046,2,5,26.26,148.21,.99545,6,-128.57,315.38,.00455,2,5,5.09,95.03,.99732,6,-141.38,259.59,.00268,2,5,14.5,25.86,.99089,6,-121.53,192.67,.00911,2,5,49.32,-10.85,.85604,6,-81.51,161.71,.14396,2,5,129.79,-15.55,.64395,6,-1.27,169.33,.35605,2,5,177.79,20.21,.71102,6,40.71,212,.28898,2,5,196.61,67.74,.81197,6,52.06,261.84,.18803,2,5,202.26,106.8,.86997,6,51.68,301.3,.13003,2,5,204.14,136.44,.90282,6,49.02,330.89,.09718,2,5,181.08,143.97,.91873,6,25.08,334.81,.08127,2,5,152.85,170.79,.95098,6,-6.91,357.01,.04902,2,5,110.97,185.38,.97547,6,-50.53,365.04,.02453,2,5,19.68,2.67,.96789,6,-112.88,170.54,.03211,2,5,-7.28,200.66,.99994,6,-169.72,362.1,6e-5,1,5,-40.72,150.96,1,1,5,-56.05,89.65,1,2,5,-46.29,27.88,.99911,6,-181.92,185.39,89e-5,2,5,-18.89,-32.04,.92263,6,-145.69,130.35,.07737,2,5,33.13,-69.66,.65951,6,-88.54,101.11,.34049,2,5,93.51,-77.56,.45397,6,-27.67,102.52,.54603,2,5,163.18,-61.3,.42205,6,38.71,129.21,.57795],hull:60,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,84,86,86,88,88,90,90,92,92,94,94,96,96,98,98,100,100,102,102,104,104,106,106,108,108,110,110,112,112,114,114,116,116,118,0,118,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,66,68,68,70,70,72,72,74,74,76,76,78,78,80,82,84,80,82],width:604,height:546}},chameleonbubble:{chameleonbubble:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[78.66,-285.99,-397.34,-285.99,-397.34,441.01,78.66,441.01],hull:4,edges:[0,2,2,4,4,6,0,6],width:476,height:727}},chameleonbubble2:{chameleonbubble2:{type:"mesh",uvs:[1,.47318,1,1,.48107,1,0,1,0,.50436,0,0,.50055,0,1,0],triangles:[6,7,0,4,5,6,4,2,3,6,2,4,6,0,2,2,0,1],vertices:[618.66,46.07,618.66,-524.99,56.14,-524.99,-465.34,-524.99,-465.34,12.28,-465.34,559.01,77.26,559.01,618.66,559.01],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:1084,height:1084}},croissant:{croissant:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[164.77,-153.98,-171.23,-153.98,-171.23,111.02,164.77,111.02],hull:4,edges:[0,2,2,4,4,6,0,6],width:336,height:265}},croissantbubble:{croissantbubble:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[64.24,-138.44,-203.76,-138.44,-203.76,81.56,64.24,81.56],hull:4,edges:[0,2,2,4,4,6,0,6],width:268,height:220}},croissantbubble2:{croissantbubble2:{type:"mesh",uvs:[1,.50028,1,1,.50178,1,0,1,0,.48804,0,0,.4978,0,1,0],triangles:[4,5,6,6,7,0,4,2,3,6,2,4,6,0,2,2,0,1],vertices:[250.24,.43,250.24,-240.44,4.12,-240.44,-243.76,-240.44,-243.76,6.33,-243.76,241.56,2.16,241.56,250.24,241.56],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:494,height:482}},lmbody:{lmbody:{x:31.53,y:12.14,scaleX:.4475,scaleY:.4475,rotation:-85.21,width:347,height:192}},lmshou:{lmshou:{x:34.37,y:-9.09,scaleX:.4475,scaleY:.4475,rotation:-85.21,width:332,height:200}},lmtou:{lmtou:{x:139.75,y:-17.81,scaleX:.4475,scaleY:.4475,rotation:-86.13,width:901,height:974}},lumibubble:{lumibubble:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[5.65,-55.15,-270.35,-55.15,-270.35,296.85,5.65,296.85],hull:4,edges:[0,2,2,4,4,6,0,6],width:276,height:352}},lumibubble2:{lumibubble2:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[331.65,-329.15,-335.35,-329.15,-335.35,337.85,331.65,337.85],hull:4,edges:[0,2,2,4,4,6,0,6],width:667,height:667}},pm:{pm:{type:"mesh",uvs:[.27314,.33294,.32492,.33116,.34055,.37199,.33665,.41194,.3513,.49005,.364,.55129,.38648,.59035,.43533,.60721,.40699,.66846,.40406,.75722,.40699,.84421,.45292,.90634,.49866,.91982,.53527,.95035,.57608,.97271,.6187,.98307,.64451,.96344,.66012,.93454,.6289,.90401,.59949,.86365,.62951,.83421,.64931,.82385,.71834,.83039,.76756,.83366,.78677,.82494,.80717,.78731,.79397,.76223,.74415,.75133,.70633,.72679,.67212,.68262,.63671,.64172,.6139,.60846,.63791,.57247,.64751,.54139,.67092,.48468,.70273,.48686,.74535,.47432,.77716,.45633,.74295,.416,.70105,.39253,.68757,.3791,.70496,.32617,.68974,.30445,.71725,.20467,.73007,.14012,.75037,.08965,.67451,.03966,.59972,.02024,.49608,.02073,.42395,.02995,.36893,.0348,.29627,.06198,.28238,.15808,.28452,.24447],triangles:[29,20,30,21,29,28,22,21,28,24,27,26,24,26,25,27,22,28,27,23,22,24,23,27,21,20,29,20,10,30,19,10,20,12,11,10,19,12,10,13,12,19,13,19,18,16,18,17,14,13,18,16,14,18,15,14,16,8,31,9,9,30,10,44,46,45,44,47,46,50,53,52,47,44,43,51,50,52,49,1,53,0,53,1,49,2,1,43,2,48,2,49,48,50,49,53,47,43,48,42,2,43,40,2,42,40,42,41,36,38,37,40,3,2,34,40,39,35,34,39,38,35,39,34,3,40,36,35,38,4,3,34,33,4,34,7,5,4,5,7,6,7,4,33,32,7,33,31,7,32,31,30,9,7,31,8],vertices:[1,21,351.27,157.15,1,1,21,346.52,116.8,1,1,21,309.82,110.13,1,1,21,276.23,118.47,1,1,21,207.86,117.51,1,2,21,154.1,115.82,.99512,20,265.85,46.31,.00488,2,21,118.08,103.61,.9754,20,227.89,48.6,.0246,3,21,97.8,68.01,.8555,20,195.66,23.3,.1417,28,-229.83,45.18,.00281,3,21,49,98.11,.32091,20,161.84,69.59,.6279,28,-196.83,-1.7,.05119,3,21,-26.33,112.2,.00622,20,97.4,111.07,.71629,28,-133.12,-44.3,.27749,2,20,31.9,147.82,.33809,28,-68.28,-82.19,.66191,2,20,-32.61,144.63,.06584,28,-3.72,-80.14,.93416,2,20,-61.07,119.91,.00437,28,25.17,-55.92,.99563,1,28,62.74,-45.57,1,1,28,96.07,-28.69,1,1,28,121.38,-5.12,1,1,28,117.76,21.02,1,1,28,103.12,44.63,1,2,20,-102.05,25.39,.00419,28,67.79,37.87,.99581,3,20,-60.32,27.18,.20849,28,26.04,36.81,.75876,27,-15.83,-89.94,.03275,3,20,-50.69,-6.
6008,.46192,28,16.99,70.24,.21383,27,1.87,-60.17,.32425,3,20,-51.04,-24,.29198,28,17.66,88.15,.05694,27,15.18,-48.18,.65108,2,20,-83.79,-67.45,.00786,27,69.29,-42.39,.99214,1,27,107.61,-37.09,1,1,27,120.76,-26.58,1,1,27,129.62,8.52,1,1,27,114.97,27.52,1,2,21,-62.42,-152.03,.00288,27,74.81,28.56,.99712,2,21,-36.93,-126,.06277,27,41.39,43.07,.93723,3,21,4.87,-105.37,.35541,20,44.16,-102.18,.00224,27,7.2,74.74,.64235,3,21,44.02,-83.39,.72821,20,88.72,-96.6,63e-5,27,-27.33,103.45,.27116,2,21,75.14,-70.14,.92218,27,-50.82,127.79,.07782,2,21,102.93,-93.53,.98575,27,-38.9,162.09,.01425,2,21,128.27,-105.11,.99664,27,-37.15,189.9,.00336,1,21,173.79,-130.79,1,1,21,168.09,-155.14,1,1,21,173.63,-189.82,1,1,21,185.13,-216.86,1,1,21,223.65,-195.72,1,1,21,248.73,-166.39,1,1,21,261.81,-157.73,1,1,21,304.84,-178.25,1,1,21,325.2,-169.35,1,1,21,406.95,-203.94,1,1,21,460.44,-222.46,1,1,21,501.02,-244.9,1,1,21,552.82,-192.79,1,1,21,578.42,-137.44,1,1,21,590.53,-57.09,1,1,21,591.39,.01,1,1,21,593.9,43.28,1,1,21,579.51,103.18,1,1,21,499.25,126.72,1,1,21,425.33,136.56,1],hull:54,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,66,68,68,70,70,72,72,74,74,76,76,78,78,80,80,82,82,84,84,86,86,88,88,90,90,92,92,94,94,96,96,98,98,100,100,102,102,104,104,106,0,106],width:784,height:863}},pmbubble:{pmbubble:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[314.5,-372.86,-480.5,-372.86,-480.51,594.14,314.49,594.14],hull:4,edges:[0,2,2,4,4,6,0,6],width:795,height:967}},pmbubble2:{pmbubble2:{type:"mesh",uvs:[1,.46484,1,1,.50648,1,0,1,0,.4962,0,0,.51246,0,1,0],triangles:[6,7,0,4,5,6,4,2,3,6,2,4,6,0,2,2,0,1],vertices:[652.49,61.24,652.5,-594.86,47.45,-594.86,-573.5,-594.86,-573.51,22.8,-573.51,631.14,54.77,631.14,652.49,631.14],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:1226,height:1226}},pmear1:{pmear1:{type:"mesh",uvs:[.79878,.0351,.74604,.11016,.61735,.1872,.46334,.22473,.26926,.23263,.10048,.31559,.00977,.50127,.03298,.6988,.18909,.89435,.38107,.99114,.46545,.95361,.45912,.82126,.47178,.67904,.54984,.54867,.67853,.48349,.83675,.38275,.96966,.28201,.99497,.15164,.9127,.0193],triangles:[12,8,7,11,8,12,9,8,11,10,9,11,6,5,12,7,6,12,13,3,14,13,4,3,13,5,4,12,5,13,14,2,15,3,2,14,17,0,18,0,16,1,17,16,0,15,1,16,2,1,15],vertices:[2,29,14.66,-44.58,.99996,30,-57.37,-89.65,4e-5,2,29,56.92,-42.35,.93635,30,-22.98,-64.99,.06365,3,29,119.79,-66.53,.16526,30,43.01,-51.46,.82251,31,-68.7,-38.66,.01223,2,30,112.74,-59.31,.32449,31,-1.88,-60.12,.67551,3,30,193.98,-86.53,2e-5,31,72.38,-102.84,.94016,32,-115.31,-20.41,.05982,2,31,156.16,-109.73,.51683,32,-68.42,-90.18,.48317,3,31,236.8,-57.33,.04279,32,22.84,-120.5,.9489,33,-120.27,-73.97,.00831,2,32,114.23,-100.27,.6808,33,-29.66,-97.42,.3192,2,32,198.36,-21.88,.00268,33,80.88,-65.74,.99732,1,33,153.54,-2.76,1,1,33,150.22,38.3,1,3,31,150.24,176.11,.01666,32,151.27,92.79,.03865,33,90.96,57.81,.94469,4,30,185.99,141.78,.00147,31,109.63,122.54,.24347,32,84.07,91.1,.30265,33,30.31,86.8,.4524,4,30,131.84,96.8,.13466,31,47.67,89.14,.69344,32,19.31,118.69,.11816,33,-14.88,140.77,.05374,5,29,216.16,37.95,88e-5,30,67.85,88.48,.63479,31,-16.7,93.63,.35725,32,-17.35,171.79,.00556,33,-23.45,204.73,.00152,3,29,136.58,66,.42868,30,-14.3,69.21,.55434,31,-101.04,90.95,.01698,2,29,63.62,85.06,.97311,30,-86.02,45.93,.02689,1,29,7.56,57.64,1,1,29,-21.12,-8.54,1],hull:19,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,0,36],width:441,height:471}},pmear2:{pmear2:{type:"mesh",uvs:[.08058,.16265,.02236,.25537,.07626,.41278,.19055,.54216,.35011,.58744,.35658,.78797,.39755,.92813,.55927,.93245,.73393,.93029,.8935,.91735,.93231,.77288,.93447,.59822,.90212,.44297,.94956,.32006,.9474,.16481,.85468,.08071,.72315,.12599,.59808,.10659,.45361,.18206,.29836,.23381,.13448,.1454],triangles:[12,16,13,14,16,15,16,14,13,11,9,8,10,9,11,18,16,12,18,17,16,11,8,4,12,11,4,8,7,5,5,7,6,8,5,4,12,4,18,3,19,4,4,19,18,3,2,19,19,2,20,20,1,0,20,2,1],vertices:[1,34,-11.07,11.98,1,1,34,-5.57,-22.84,1,2,34,40.83,-49.62,.99649,35,-65.51,-12.71,.00351,2,34,95.95,-56.82,.55499,35,-25.86,-51.67,.44501,3,34,144.25,-34.03,.02823,35,26.42,-62.58,.8934,36,-75.51,-33.55,.07837,2,35,33.06,-126.84,.71358,36,-96.95,-94.49,.28642,2,35,49.41,-170.93,.65869,36,-101,-141.34,.34131,2,35,101.45,-168.63,.55846,36,-52.96,-161.48,.44154,2,35,157.5,-163.97,.38838,36,-.28,-181.2,.61162,2,35,208.46,-156.18,.30415,36,49.12,-195.92,.69585,3,35,217.64,-108.89,.25111,36,77.61,-157.08,.74449,37,-77.09,-136.93,.00441,3,35,214.36,-52.74,.13833,36,98.62,-104.91,.79966,37,-34.18,-100.58,.06202,3,35,200.43,-3.61,.02737,36,107.02,-54.54,.57098,37,-3.26,-59.94,.40165,3,35,212.87,36.94,14e-5,36,135.59,-23.18,.06207,37,36.64,-45.52,.93779,1,37,73.93,-12.22,1,2,36,135.01,59.72,.03448,37,74.8,28.08,.96552,2,36,90.25,61.47,.42923,37,36.02,50.5,.57077,4,34,102.62,135.14,58e-5,35,95.12,97.51,.03011,36,54.98,81.87,.80149,37,14.33,85,.16782,4,34,83.54,86.24,.06314,35,50.44,69.98,.33643,36,2.82,76.06,.58823,37,-34.52,104.19,.0122,3,34,56.83,40.82,.64612,35,1.75,49.83,.28919,36,-49.82,78.63,.06469,1,34,-1.65,27.57,1],hull:21,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,0,40],width:322,height:322}},pmleftclothes:{pmleftclothes:{type:"mesh",uvs:[.24594,.06914,.28805,.20711,.26278,.34886,.2319,.50951,.1701
605,.66449,.10277,.78545,.06628,.8705,.19541,.92909,.38349,.95744,.58,.93476,.75124,.8705,.84949,.74387,.89441,.58133,.94774,.42446,.93932,.29783,.91686,.18632,.73159,.15797,.50701,.08615,.27401,.0389],triangles:[8,7,5,8,5,4,6,5,7,10,9,4,9,8,4,11,3,12,4,3,11,10,4,11,13,12,1,12,2,1,12,3,2,17,0,18,1,0,17,1,16,13,14,16,15,13,16,14,1,17,16],vertices:[2,45,-16.52,-85.31,.99586,46,-57.36,-87.97,.00414,2,45,22.12,-67.19,.79759,46,-19.57,-68.13,.20241,3,45,65.09,-62.16,.26128,46,23.12,-61.18,.71366,47,-42.93,-62.49,.02506,4,45,113.89,-56.91,.00784,46,71.64,-53.74,.50669,47,5.34,-53.61,.46682,48,-44.31,-62.59,.01866,3,46,120.25,-52.83,.02413,47,53.9,-51.24,.52814,48,3.04,-51.54,.44774,2,47,93,-53.12,.07722,48,41.84,-46.36,.92278,2,47,119.81,-52.33,.00554,48,68.07,-40.76,.99446,1,48,71.29,-9.15,1,2,47,125.11,17.34,.02051,48,60.75,28.73,.97949,3,46,175.76,50.2,.00601,47,106.31,53.4,.27247,48,35.77,60.82,.72152,3,46,147.37,78.37,.05785,47,77.09,80.71,.5706,48,2.12,82.43,.37155,4,45,153.48,82.19,5e-5,46,104.95,86.99,.22303,47,34.43,88.06,.66988,48,-41.17,81.99,.10704,4,45,103.46,79.59,.04965,46,55.09,82.14,.58639,47,-15.27,81.72,.36106,48,-88.91,66.83,.0029,3,45,54.7,79.06,.36256,46,6.4,79.42,.57586,47,-63.85,77.55,.06158,3,45,17.79,68.42,.7711,46,-29.99,67.14,.22548,47,-99.85,64.18,.00342,2,45,-13.99,56.07,.95729,46,-61.18,53.37,.04271,1,45,-13.5,17.31,1,2,45,-23.96,-32.32,.99904,46,-67.17,-35.37,96e-5,2,45,-26.77,-81.88,.99973,46,-67.75,-85.01,27e-5],hull:19,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,0,36],width:204,height:303}},pmlefthand:{pmlefthand:{type:"mesh",uvs:[.05057,.35771,.05666,.55179,.11147,.73886,.21347,.83473,.33222,.85344,.44793,.89319,.53319,.7716,.69457,.64299,.79505,.52139,.88639,.43721,.95491,.34134,.90771,.25482,.82854,.15193,.72349,.08178,.54232,.09815,.41748,.10984,.27741,.12153,.15714,.17765,.27623,.27097,.36212,.45501,.34834,.64882,.27411,.73676,.48195,.25468,.54663,.4208,.54663,.58693,.66221,.33937,.77885,.27748],triangles:[26,13,12,9,11,10,26,12,11,22,15,14,18,17,16,25,14,13,25,13,26,22,14,25,23,22,25,9,26,11,15,18,16,22,18,15,19,22,23,22,19,18,8,26,9,25,26,8,18,1,0,18,0,17,1,18,19,7,24,23,25,7,23,19,23,24,8,7,25,19,21,1,20,19,24,20,21,19,2,1,21,6,20,24,6,24,7,3,2,21,4,21,20,5,4,20,3,21,4,6,5,20],vertices:[1,22,224.23,-37.48,1,1,22,232.65,-3.33,1,1,22,227.73,33.47,1,1,22,205.52,58.2,1,1,22,174.85,70.88,1,1,22,146.08,86.97,1,1,22,117.08,72.66,1,1,22,67.43,63.18,1,1,22,34.37,50.07,1,1,22,5.68,42.73,1,1,21,102.46,50.92,1,1,21,119.95,61.47,1,1,21,141.75,80.35,1,1,21,158.8,107.24,1,1,22,79.8,-43.42,1,1,22,113.66,-51.31,1,1,22,151.58,-60.42,1,1,22,186.52,-60.24,1,1,22,159.63,-34.59,1,1,22,146.27,4.15,1,1,22,159.97,36.67,1,1,22,184.29,46.03,1,1,22,103.98,-21.07,1,1,22,95.35,12.88,1,1,22,103.94,41.7,1,1,22,60.34,7.95,1,1,22,26.07,6.48,1],hull:18,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,0,34],width:278,height:181}},pmrightclothes:{pmrightclothes:{type:"mesh",uvs:[.07839,.17278,.12382,.41479,.20527,.65456,.31022,.78901,.50289,.88537,.68773,.89209,.8428,.79797,.95715,.60078,.90546,.41479,.82401,.28482,.65327,.25121,.43084,.14589,.29612,.06746,.10659,.10107],triangles:[6,5,10,8,6,10,10,5,4,6,8,7,8,10,9,4,3,10,3,11,10,3,2,11,11,1,12,11,2,1,1,0,12,12,0,13],vertices:[1,49,-21.07,-22.48,1,2,49,11.34,-38.37,.99964,50,-52.88,-19.79,36e-5,2,49,48.38,-48.45,.78427,50,-22.43,-43.16,.21573,3,49,77.18,-44.9,.38021,50,5.56,-50.81,.61676,51,-55.49,-33.51,.00303,3,49,113.74,-24.14,.02036,50,47.27,-45.47,.70168,51,-14.56,-43.1,.27796,2,50,81.76,-29.31,.12251,51,23.41,-40.03,.87749,1,51,53.73,-23.17,1,1,51,74.15,7.56,1,3,49,117.28,82.89,17e-5,50,91.14,52.22,19e-5,51,60.72,33.07,.99964,3,49,92.14,82.57,.01081,50,67.76,61.46,.02871,51,42.06,49.9,.96048,3,49,65.36,59.27,.14631,50,34.14,50.06,.2728,51,6.57,50.98,.58089,3,49,23.79,34.74,.86198,50,-13.63,43.13,.10653,51,-40.6,61.21,.03148,3,49,-2.98,21.27,.9993,50,-43.5,40.82,63e-5,51,-69.39,69.5,7e-5,1,49,-25.02,-11.32,1],hull:14,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,0,26],width:206,height:144}},pmrighthand:{pmrighthand:{type:"mesh",uvs:[.06543,.45801,.0734,.62785,.11193,.77698,.30194,.82461,.49328,.81633,.63279,.89089,.73244,.84118,.82545,.74798,.90119,.61542,.94238,.40208,.86266,.18253,.7444,.12868,.5916,.11004,.37103,.21153,.12921,.40622],triangles:[9,11,10,1,0,14,8,7,11,9,8,11,3,2,1,4,13,12,3,14,13,14,3,1,12,6,4,7,12,11,13,4,3,7,6,12,5,4,6],vertices:[1,23,-.88,17.42,1,1,23,-4.03,-5.53,1,1,23,-.25,-27.06,1,1,23,37.81,-41.77,1,1,23,77.72,-49.1,1,1,23,104.54,-65.16,1,1,23,12
606.61,-62.94,1,1,23,148.54,-54.63,1,1,23,167.99,-40.33,1,1,23,182.56,-13.77,1,1,23,172.23,18.95,1,1,23,149.23,31.32,1,1,23,118.07,40.53,1,1,23,69.46,36.75,1,1,23,13.81,21.5,1],hull:15,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,0,28],width:212,height:136}},pmtial:{pmtial:{type:"mesh",uvs:[.65584,.21147,.43337,.25071,.27197,.35634,.18691,.48008,.04296,.54045,.0953,.67626,.27851,.79397,.44209,.84528,.59913,.84528,.6711,.91771,.74962,.8151,.83686,.66721,.91102,.40161,.95682,.19638,.92847,.0666,.77361,.0998,.73217,.20242],triangles:[5,4,3,7,6,2,3,2,6,5,3,6,7,2,1,11,8,0,8,7,1,0,8,1,11,10,8,9,8,10,15,13,16,13,15,14,12,16,13,11,16,12,11,0,16],vertices:[2,24,58.33,-34.35,.43694,25,-.02,-36.97,.56306,3,24,102.5,-71.03,43e-5,25,54.56,-54.76,.77815,26,-6.44,-57.17,.22142,2,25,100.27,-54.77,.17491,26,38.36,-48.12,.82509,2,25,129.74,-43.39,.01,26,65,-31.13,.99,1,26,103.45,-29.13,1,1,26,96.48,-1.53,1,2,25,133.38,19.13,.0389,26,56.17,30.87,.9611,2,25,99.58,45.62,.52134,26,17.8,50.14,.47866,2,25,63.24,62.81,.96829,26,-21.23,59.79,.03171,3,24,151.18,57.65,8e-5,25,52.32,82.81,.99976,26,-35.9,77.22,16e-5,2,24,123.59,59.4,.02599,25,26.03,74.24,.97401,2,24,88.35,57.06,.24635,25,-5.86,59.06,.75365,2,24,39.47,37.41,.96541,25,-44.03,22.77,.03459,1,24,3.72,20.07,1,1,24,-8.88,-1.61,1,2,24,22.66,-26.41,.99881,25,-36.11,-42.75,.00119,2,24,43.77,-21.21,.8894,25,-18.41,-30.13,.1106],hull:17,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,0,32],width:256,height:185}},projector:{projector:{type:"mesh",uvs:[.94376,.84761,.91264,.69099,.83484,.50674,.68184,.27826,.46142,.08664,.23841,.00373,.11653,.08848,.16321,.26537,.31621,.44962,.08541,.45331,.00761,.55464,.08541,.70389,.31621,.77391,.18136,.93605,.42512,1,.75705,.98948,.91783,.92684,.29345,.11763,.37918,.22245,.5267,.37826,.62638,.51141,.74002,.66015,.82175,.77205,.15191,.56807,.29943,.61765,.52072,.68281,.70812,.79046,.3712,.90661,.58452,.84996],triangles:[11,23,24,11,10,23,20,24,8,8,19,20,24,23,8,10,9,23,23,9,8,20,19,3,8,18,19,8,7,18,19,18,3,18,4,3,7,17,18,7,6,17,18,17,4,6,5,17,17,5,4,11,24,12,13,27,14,14,27,28,13,12,27,27,12,28,12,25,28,12,24,25,25,24,20,25,20,21,21,20,2,2,20,3,26,25,21,21,2,1,14,28,15,28,26,15,16,26,22,16,15,26,16,22,0,28,25,26,22,1,0,26,21,22,22,21,1],vertices:[1,40,17.99,-11.8,1,3,40,89.96,-75.58,.84347,41,-57.22,-78.13,.15584,42,-198.56,-108.61,69e-5,3,40,188.18,-139.08,.11223,41,43.66,-137.32,.7438,42,-90.06,-152.27,.14396,2,41,186.63,-194.1,.24338,42,59.72,-187.34,.75662,2,41,335.69,-214.64,.01176,42,210.19,-185.66,.98824,1,42,309.71,-141.86,1,1,42,302.31,-68.55,1,1,42,205.7,-17.18,1,1,42,76.92,1.1,1,2,41,302.95,59.25,.00222,42,137.4,80.39,.99778,2,41,285.63,127.26,.0618,42,110.24,145.11,.9382,3,40,356.96,162.08,58e-5,41,199.24,170.86,.29462,42,18.36,175.49,.7048,3,40,253.45,129.85,.1266,41,97.23,134.18,.74204,42,-77.13,124.16,.13136,2,40,233.88,242.67,.29468,41,72.8,246.05,.70532,2,40,128.5,204,.44467,41,-30.81,202.86,.55533,2,40,23.48,106.17,.91283,41,-131.51,100.57,.08717,2,40,-4.71,32.14,.99914,41,-156.46,25.39,86e-5,2,41,376.03,-151.44,99e-5,42,240.76,-117.21,.99901,2,41,305.52,-129.96,.01834,42,167.85,-106.36,.98166,2,41,194.35,-103.94,.22027,42,54.06,-97.03,.77973,3,40,254.9,-78.53,.0075,41,107.69,-73.94,.75045,42,-36.07,-80.14,.24205,3,40,158.9,-41.51,.34911,41,10.18,-41.11,.64494,42,-137.36,-62.05,.00595,2,40,87.9,-12.61,.99845,41,-62,-15.3,.00155,2,41,234.41,90.81,.1039,42,64.95,101.5,.8961,3,40,320.56,62.22,.00179,41,167.2,69.52,.42577,42,1.62,70.53,.57244,3,40,222.09,30.4,.01808,41,70.2,33.47,.97963,42,-89,20.56,.00228,2,40,118.02,27.75,.92235,41,-33.66,26.31,.07765,3,40,183.05,175.88,.34072,41,24.9,177.12,.65638,42,-155,155.96,.0029,2,40,135.22,89.9,.57464,41,-19.16,89.16,.42536],hull:17,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,0,32],width:432,height:608}},projector2:{projector2:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[72.25,-72.01,-44.75,-72.01,-44.75,60.99,72.25,60.99],hull:4,edges:[0,2,2,4,4,6,0,6],width:117,height:133}},projectorbubble:{projectorbubble:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[108.06,-223.93,-362.94,-223.93,-362.94,409.07,108.06,409.07],hull:4,edges:[0,2,2,4,4,6,0,6],width:471,height:633}},projectorbubble2:{projectorbubble2:{type:"mesh",uvs:[1,.47107,1,1,.48132,1,0,1,0,.48446,0,0,.49471,0,1,0],triangles:[6,7,0,4,5,6,4,2,3,6,2,4,6,0,2,2,0,1],vertices:[396.06,64.75,396.06,-358.93,-19.4,-358.93,-404.94,-358.93,-404.93,54.02,-404.94,442.07,-8.68,442.07,396.06,442.07],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:801,height:801}},shoupa:{shoupa:{type:"mesh",uvs:[.2268,.17216,.13313,.49644,.06722,.88466,.24762,.9075,.48005,.7248,.63616,.6837,.84085,.64259,.94492,.4736,.76452,.2772,.56331,.08994,.36904,.13562,.30684,.36099,.45432,.33627,.59734,.27625,.29433,.51985,.51064,.48337,.68315,.45395],triangles:[8,13,9,2,1,3,3,14,4,3,1,14,4,14,15,12,15,14,4,15,5,5,16,6,5,15,16,6,16,7,14,1,11,15,13,16,16,8,7,16,13,8,1,0,11,11,10,12,12,9,13,12,14,11,15,12,13,11,0,10,12,10,9],vertices:[1,21,96.63,27.5,1,2,52,21.43,-60.8,.30364,53,-3.8,-60.81,.69636,2,52,70.13,-86.98,.00423,53,44.96,-86.87,.99577,2,52,82.1,-56.05,4e-5,53,56.86,-55.91,.99996,1,53,43.77,-8.13,1,1,53,45.91,20.93,1,2,52,75.97,58.42,.00795,53,50.43,58.54,.99205,2,52,58.49,83.1,.02865,53,32.9,83.18,.97135,2,52,23.29,58.69,.28187,53,-2.24,58.68,.71813,1,21,98.42,-35.11,1,3,21,97.63,1,.97429,52,-15.2,-5.68,.02562,53,-40.57,-5.79,1e-4,2,52,11.88,-25.1,.70482,53,-13.44,-25.14,.29518,2,52,15.87,1.81,.99812,53,-9.52,1.79,.00188,2,52,14.9,29.26,.63566,53,-10.56,29.24,.36433,2,52,32.53,-33.27,.26319,53,7.23,-33.25,.73681,2,52,38.34,6.21,42e-5,53,12.94,6.24,.99958,2,52,42.92,37.71,.13323,53,17.45,37.76,.86677],hull:11,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,0,20],width:183,height:139}},slime:{slime:{type:"mesh",uvs:[.40724,.04474,.23962,.09954,.08894,.24567,.01548,.4055,.0362,.63611,.16616,.81192,.38087,.8964,.58052,.93293,.7877,.93293,.93272,.82333,.96851,.59501,.95156,.37353,.78205,.13836,.55415,.04474,.48707,.48391],triangles:[14,0,13,14,13,12,14,12,11,1,0,14,2,1,14,14,11,10,14,4,3,14,3,2,5,4,14,10,8,14,6,5,14,7,6,14,14,8,7,10,9,8],vertices:[-27.07,200.58,-106.53,179.16,-177.95,122.02,-212.77,59.53,-202.95,-30.64,-141.34,-99.38,-39.57,-132.41,55.06,-146.7,153.27,-146.7,222.01,-103.84,238.97,-14.57,230.93,72.03,150.59,163.98,42.56,200.58,10.77,28.87],hull:14,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,0,26],width:474,height:391}},slimepaopao:{slimepaopao:{type:"mesh",uvs:[1,.49984,1,1,.48307,1,0,1,0,.4973,0,0,.51601,0,1,0],triangles:[4,5,6,6,7,0,4,2,3,0,4,6,0,2,4,2,0,1],vertices:[344.56,-20.79,344.56,-360.9,-6.95,-360.9,-335.44,-360.9,-335.44,-19.07,-335.44,319.1,15.45,319.1,344.56,319.1],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:680,height:680}},wd1:{wd1:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[230.46,-163.78,-219.54,-163.78,-219.54,190.22,230.46,190.22],hull:4,edges:[0,2,2,4,4,6,0,6],width:450,height:354}},wd2:{wd2:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[204.62,-181.75,-214.38,-181.75,-214.38,181.25,204.62,181.25],hull:4,edges:[0,2,2,4,4,6,0,6],width:419,height:363}},wd3:{wd3:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[182.27,-175.03,-226.73,-175.03,-226.73,185.97,182.27,185.97],hull:4,edges:[0,2,2,4,4,6,0,6],width:409,height:361}},wd4:{wd4:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[210.62,-162.53,-216.38,-162.53,-216.38,188.47,210.62,188.47],hull:4,edges:[0,2,2,4,4,6,0,6],width:427,height:351}},wdbubble:{wdbubble:{type:"mesh",uvs:[1,.46192,1,1,.51406,1,0,1,0,.50151,0,0,.49664,0,1,0],triangles:[6,7,0,4,5,6,4,2,3,6,2,4,6,0,2,2,0,1],vertices:[479.82,3
600.2,479.82,-497.12,3.6,-497.12,-500.18,-497.12,-500.18,-8.6,-500.18,482.88,-13.47,482.88,479.82,482.88],hull:8,edges:[10,12,12,14,6,8,8,10,2,4,4,6,2,0,0,14],width:980,height:980}},wdlight:{wdlight:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[326.56,-282.9,-288.44,-282.9,-288.44,302.1,326.56,302.1],hull:4,edges:[0,2,2,4,4,6,0,6],width:615,height:585}}}}],Px={1:{}},Dx={projectorbubble2:{rootBoneName:"projectorbubble2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:1,moveXDelay:0,moveXCenter:0,moveXSeed:3220,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:0,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}},endBoneName:"projector2"},projector2:{rootBoneName:"projector2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:-2.4,moveXCenter:0,moveXSeed:3228.15,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.2,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},projector3:{rootBoneName:"projector3",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:3,rotateOffset:.5,childOffset:.25,spring:0,affectByLevel:.52,springLevel:0}}},pmbubble:{rootBoneName:"pmbubble",animation:{default:{name:"default",mode:3,moveXFreq:2.5,moveXAmp:25.5,moveXOctaves:1,moveXDelay:4.99,moveXCenter:0,moveXSeed:3225.47,rotateFreq:2,rotateAmp:2.5,rotateOctaves:0,rotateDelay:-.18,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},pm:{rootBoneName:"pm",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:5,moveXOctaves:0,moveXDelay:-5.71,moveXCenter:0,moveXSeed:3214.44}}},pm2:{rootBoneName:"pm2",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:1,rotateOffset:1.25,childOffset:4.050000000000001,spring:0,affectByLevel:.77,springLevel:0}}},pmtial:{rootBoneName:"pmtial",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:2,rotateOffset:.83,childOffset:.5,spring:0,affectByLevel:.52,springLevel:0}}},pm4:{rootBoneName:"pm4",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:5,moveXOctaves:0,moveXDelay:-5,moveXCenter:0,moveXSeed:3222.14}}},pm5:{rootBoneName:"pm5",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:5,moveXOctaves:0,moveXDelay:-3.61,moveXCenter:0,moveXSeed:3222.82}}},pm6:{rootBoneName:"pm6",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:7,rotateOffset:1.22,childOffset:.25,spring:0,affectByLevel:.52,springLevel:0}}},pm10:{rootBoneName:"pm10",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:7,rotateOffset:.38,childOffset:.25,spring:0,affectByLevel:.52,springLevel:0}}},pmlefthand:{rootBoneName:"pmlefthand",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:8,rotateOffset:2.75,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},pmrighthand:{rootBoneName:"pmrighthand",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:8,rotateOffset:2.63,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},pmear1:{rootBoneName:"pmear1",animation:{default:{name:"default",mode:1,rotateCenter:2,rotateTime:2,rotateRange:4,rotateOffset:.02,childOffset:.4000000000000001,spring:0,affectByLevel:.12000000000000015,springLevel:.15999999999999992}}},pmear6:{rootBoneName:"pmear6",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:6,rotateOffset:.79,childOffset:.25,spring:0,affectByLevel:.32,springLevel:0}}},croissantbubble:{rootBoneName:"croissantbubble",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:1,moveXDelay:-5.56,moveXCenter:0,moveXSeed:3221.31,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.02,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},croissant:{rootBoneName:"croissant",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:5.19,moveXCenter:0,moveXSeed:3223.22,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.22,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},pm13:{rootBoneName:"pm13",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:6,rotateOffset:4.25,
60childOffset:.25,spring:0,affectByLevel:.24,springLevel:0}}},lumibubble2:{rootBoneName:"lumibubble2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:7,moveXOctaves:1,moveXDelay:-1.32,moveXCenter:0,moveXSeed:3221.37,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:.19,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},chameleonbubble2:{rootBoneName:"chameleonbubble2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:3.15,moveXCenter:0,moveXSeed:3259.07,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.08,rotateCenter:21,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},chameleon:{rootBoneName:"chameleon",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:-5.84,moveXCenter:0,moveXSeed:3221.45,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.25,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},chameleon2:{rootBoneName:"chameleon2",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:2,rotateRange:3,rotateOffset:5.5,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},wdlight:{rootBoneName:"wdlight",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:10,moveXOctaves:1,moveXDelay:2.98,moveXCenter:0,moveXSeed:3223.6,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.02,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},slime:{rootBoneName:"slime",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:1.42,moveXCenter:0,moveXSeed:3223.45,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:.22,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},wdbubble:{rootBoneName:"wdbubble",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:16.5,moveXOctaves:0,moveXDelay:.02,moveXCenter:0,moveXSeed:3234.59,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:.01,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},wd1:{rootBoneName:"wd1",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:5.11,moveXCenter:0,moveXSeed:3222.09,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.03,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},wd3:{rootBoneName:"wd3",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:2.45,moveXCenter:0,moveXSeed:3221.34,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:-.15,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},wd4:{rootBoneName:"wd4",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:-3.27,moveXCenter:0,moveXSeed:3225.67,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:.04,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},wd2:{rootBoneName:"wd2",animation:{default:{name:"default",mode:3,moveXFreq:3,moveXAmp:14,moveXOctaves:0,moveXDelay:4.65,moveXCenter:0,moveXSeed:3226.17,rotateFreq:2,rotateAmp:1,rotateOctaves:0,rotateDelay:.15,rotateFollowFlip:1,rotateFollowLimit:90,rotateFollowSpeed:.1,rotateFollowXMax:20,rotateFollowYMax:20}}},lmshou:{rootBoneName:"lmshou",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3.5,rotateRange:3,rotateOffset:7.259727064238141,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}}},Ix={},Fx={timeScale:1},Bx={skeleton:Cx,bones:Rx,slots:Ox,skins:Lx,animations:Px,extra:Dx,extraSlot:Ix,extraConfig:Fx},Nx="HanaCG2hana.png\nsize:3677,909\nfilter:Linear,Linear\nscale:0.24\nbody\nbounds:2190,564,758,343\noffsets:0,19,758,365\ncard\nbounds:832,11,165,247\nrotate:90\ndaimao\nbounds:3245,36,94,83\noffsets:4,2,99,88\ndaimao2\nbounds:2192,232,129,54\noffsets:0,0,130,55\near_L\nbounds:2447,244,135,63\noffsets:1,6,142,69\near_R\nbounds:3245,121,116,95\noffsets:1,1,12
601,96\nface\nbounds:1508,6,179,230\noffsets:104,103,378,398\nrotate:90\ngg\nbounds:2812,10,127,97\noffsets:3,1,133,100\nhighlight_l_eye\nbounds:760,170,33,42\nrotate:90\nhighlight_r_eye\nbounds:716,169,34,42\nrotate:90\nhoutou\nbounds:1046,186,338,287\noffsets:0,0,344,287\nl_jiemao\nbounds:2190,517,79,45\noffsets:0,2,82,48\nl_jiemao2\nbounds:658,176,56,27\noffsets:2,4,60,33\nl_jiemao3\nbounds:933,186,15,17\noffsets:2,3,19,21\nleye\nbounds:2449,519,43,47\nrotate:90\nliuhai\nbounds:1740,17,214,184\noffsets:2,0,217,184\nlleg1\nbounds:1081,2,182,425\nrotate:90\nlleg2\nbounds:595,205,268,449\noffsets:0,0,268,455\nrotate:90\nlyanbai\nbounds:2584,247,60,52\nrotate:90\nmeimao\nbounds:2016,232,174,54\nqunzi\nbounds:3018,218,396,363\noffsets:0,0,412,397\nqunzi1\nbounds:1386,187,324,286\nqunzidai\nbounds:3006,2,237,214\noffsets:3,2,241,217\nr_jiemao\nbounds:595,166,61,37\noffsets:3,2,66,42\nr_jiemao2\nbounds:849,184,34,19\noffsets:2,3,39,25\nr_jiemao3\nbounds:2,6,7,16\noffsets:4,3,14,22\nrotate:90\nrabi_hand\nbounds:2,15,313,148\noffsets:0,0,313,158\nrabibody\nbounds:1712,203,306,302\noffsets:9,23,367,368\nrotate:90\nrabibody2\nbounds:1956,26,158,175\noffsets:4,10,162,185\nreye\nbounds:2498,523,39,48\nrotate:90\nrhand1\nbounds:3463,664,243,209\nrotate:90\nrhand2\nbounds:2475,4,335,238\noffsets:0,8,359,246\nrleg\nbounds:1447,511,396,741\nrotate:90\nrshouzhi1\nbounds:2638,255,46,52\noffsets:3,2,50,54\nrshouzhi2\nbounds:2548,519,40,43\noffsets:3,3,45,51\nrshouzhi3\nbounds:1447,481,28,26\noffsets:3,3,33,33\nrotate:90\nrshouzhi5\nbounds:2323,235,122,51\noffsets:0,2,123,53\nryanbai\nbounds:2337,511,51,51\nshouzhi\nbounds:2390,517,45,57\noffsets:4,2,49,60\nrotate:90\nshouzhi4\nbounds:914,185,18,17\noffsets:3,3,23,22\nrotate:90\ntoufa1\nbounds:2016,288,221,386\nrotate:90\ntoufa2\nbounds:3463,429,233,212\noffsets:0,2,233,216\nrotate:90\ntoufa3\nbounds:595,475,850,432\noffsets:4,0,854,432\ntoufa4\nbounds:588,2,161,242\nrotate:90\ntoufa5\nbounds:2950,583,324,511\nrotate:90\ntrigger\nbounds:885,182,21,27\noffsets:4,3,28,32\nrotate:90\ntutueye\nbounds:3460,60,90,79\noffsets:0,0,90,81\nrotate:90\ntutueye2\nbounds:3363,42,108,95\noffsets:0,0,108,96\nrotate:90\nwatergun2\nbounds:3416,152,275,244\noffsets:25,0,300,258\nrotate:90\nwing\nbounds:317,11,152,269\noffsets:1,6,159,276\nrotate:90\nwing1\nbounds:2778,251,238,311\noffsets:3,4,247,319\nxiuzi\nbounds:2404,309,206,372\noffsets:0,26,206,398\nrotate:90\nxiuzi2\nbounds:2116,14,216,357\nrotate:90\nxiuzi3\nbounds:2812,109,192,140\noffsets:17,24,234,183\nyifu\nbounds:2,165,742,591\noffsets:0,1,742,615\nrotate:90\nzui1\nbounds:2271,516,64,46\nzui3\nbounds:804,178,43,25\noffsets:8,5,55,33\n",Ux={hash:"lMGwCQm23ao",spine:"4.0-from-4.1.23",x:-829.17,y:-829.89,width:1399.37,height:1597.58,images:"./Hanamiyo/",audio:"C:/Users/xiankang.zhan/Desktop/需求/Hana米游CG2角色-拆-提交/Hana米游CG2角色"},zx=[{name:"root",scaleX:.24,scaleY:.24,color:"abe323ff"},{name:"root2",parent:"root",length:800,x:-693.72,y:-1699.13,color:"ff0000ff"},{name:"bone",parent:"root2",x:-7560.46,y:-2954.72,color:"ff0000ff"},{name:"qunzi",parent:"root2",x:-201.26,y:1644.53,color:"ff0000ff"},{name:"lleg1",parent:"qunzi",x:-408.52,y:199.35,color:"2100ffff"},{name:"lleg2",parent:"lleg1",length:1643.83,rotation:-100.44,color:"ff0000ff"},{name:"lleg3",parent:"lleg2",length:1418.47,rotation:-150.32,x:1635.71,y:-6.12,color:"ff0000ff"},{name:"rleg",parent:"qunzi",x:45.12,y:-392.36,color:"2100ffff"},{name:"rleg2",parent:"rleg",length:1383.18,rotation:-116.53,x:-15.82,y:7.9,color:"ff0000ff"},{name:"rleg3",parent:"rleg2",length:1304.31,rotation:-.49,x:1378.03,y:-3.08,color:"ff0000ff"},{name:"rleg4",parent:"rleg3",length:505.78,rotation:22.55,x:1304.92,y:3.31,color:"ff0000ff"},{name:"body",parent:"qunzi",x:1108.68,y:484.31,color:"ff0000ff"},{name:"bone2",parent:"body",rotation:-67.71,x:-429.63,y:-120.96,color:"002fffff"},{name:"body2",parent:"bone2",length:1254.61,x:-.8,color:"ff0000ff"},{name:"body3",parent:"body2",length:898.8,rotation:101.98,x:1254.61,color:"ff0000ff"},{name:"body4",parent:"body3",length:459.51,rotation:-106.7,x:898.8,transform:"onlyTranslation",color:"ff0000ff"},{name:"body5",parent:"body4",length:442.82,rotation:-2.52,x:459.51,color:"ff0000ff"},{name:"body6",parent:"body5",length:392.45,rotation:-7.88,x:442.82,color:"ff0000ff"},{name:"bone3",parent:"body",rotation:.52,x:422.62,y:199.76,color:"0044ffff"},{name:"body7",parent:"bone3",length:1424.8,color:"ff0000ff"},{name:"body8",parent:"body7",length:758.36,rotation:139.77,x:1424.8,color:"ff0000ff"},{name:"body9",parent:"body8",length:341.7,rotation:-16.48,x:758.36,color:"ff0000ff"},{name:"xiuzi",parent:"body7",x:1174.71,y:-74.95,color:"ff0000ff"},{name:"xiuzi2",parent:"xiuzi",length:306.68,rotation:50.02,x:-143.38,y:109.6,color:"00ff07ff"},{name:"xiuzi3",parent:"xiuzi2",length:281.29,rotation:22.14,x:306.68,color:"00ff07ff"},{name:"xiuzi4",parent:"xiuzi3",length:345.35,rotation:54.33,x:281.29,color:"00ff07ff"},{name:"xiuzi5",parent:"xiuzi4",length:370.85,rotation:-4.25,x:345.35,color:"00ff07ff"},{name:"xiuzi6",parent:"xiuzi",length:345.67,rotation:47.86,x:122.65,y:-8.34,color:"00ff07ff"},{name:"xiuzi7",parent:"xiuzi6",length:385.14,rotation:25.28,x:345.67,color:"00ff07ff"},{name:"xiuzi8",parent:"xiuzi7",length:262.09,rotation:33.97,x:385.14,color:"00ff07ff"},{name:"xiuzi9",parent:"xiuzi8",length:393.05,rotation:20.2,x:262.09,color:"00ff07ff"},{name:"xiuzi10",parent:"xiuzi9",length:319.8,rotation:12.29,x:393.05,color:"00ff07ff"},{name:"bone7",parent:"bone2",length:1476.12,rotation:-6.35,x:-3.47,y:-3.49,color:"002fffff"},{name:"card1",parent:"bone7",length:290.78,rotation:-117.7,x:818.18,
60y:-80.31,transform:"noRotationOrReflection",color:"ff0000ff"},{name:"card3",parent:"card1",length:290.78,x:290.78,color:"ff0000ff"},{name:"card2",parent:"card3",length:356.81,rotation:-15.29,x:290.78,color:"ff0000ff"},{name:"toubu",parent:"body",x:12.86,y:398.89,color:"ff0000ff"},{name:"wing1",parent:"body",x:-877.78,y:575.59,color:"ff0000ff"},{name:"wing2",parent:"wing1",length:420.97,rotation:150.7,color:"ff0000ff"},{name:"wing3",parent:"wing2",length:579.43,rotation:-4.17,x:420.97,color:"ff0000ff"},{name:"wing",parent:"body",x:-159.39,y:1027.22,color:"ff0000ff"},{name:"wing4",parent:"wing",length:361.99,rotation:54.8,color:"ff0000ff"},{name:"wing5",parent:"wing4",length:573.43,rotation:14.43,x:361.99,color:"ff0000ff"},{name:"qunzi11",parent:"qunzi",x:602.77,y:-168.85,color:"ff0000ff"},{name:"qunzi2",parent:"qunzi11",length:284.15,rotation:169.97,x:-95.3,y:-73.99,color:"94ff00ff"},{name:"qunzi3",parent:"qunzi2",length:458.09,rotation:-8.88,x:284.15,color:"94ff00ff"},{name:"qunzi4",parent:"qunzi3",length:443.35,rotation:-43.84,x:458.09,color:"94ff00ff"},{name:"qunzi5",parent:"qunzi11",length:316.1,rotation:129.96,x:51.43,y:67.62,color:"94ff00ff"},{name:"qunzi6",parent:"qunzi5",length:471.1,rotation:11.51,x:316.1,color:"94ff00ff"},{name:"qunzi7",parent:"qunzi6",length:333.94,rotation:16.95,x:471.1,color:"94ff00ff"},{name:"yifu",parent:"qunzi",x:953.75,y:16.38,color:"004effff"},{name:"yifu2",parent:"yifu",length:597.96,rotation:139.45,x:-155.79,y:-302.45,color:"004effff"},{name:"yifu3",parent:"yifu2",length:497.28,rotation:3.39,x:597.96,color:"004effff"},{name:"yifu4",parent:"yifu3",length:412.76,rotation:-13.8,x:497.28,color:"004effff"},{name:"yifu5",parent:"yifu4",length:477.59,rotation:13.91,x:412.76,color:"004effff"},{name:"yifu6",parent:"yifu5",length:554.01,rotation:19.28,x:477.59,color:"004effff"},{name:"yifu7",parent:"yifu",length:502.27,rotation:131.94,x:-29.49,y:45.9,color:"004effff"},{name:"yifu8",parent:"yifu7",length:452.35,rotation:-4.88,x:502.27,color:"004effff"},{name:"yifu9",parent:"yifu8",length:397.88,rotation:-5.29,x:452.35,color:"004effff"},{name:"yifu10",parent:"yifu9",length:419.55,rotation:12.01,x:397.88,color:"004effff"},{name:"yifu11",parent:"yifu",length:550.69,rotation:99.76,x:68.96,y:134.24,color:"004effff"},{name:"yifu12",parent:"yifu11",length:421.66,rotation:6.93,x:550.69,color:"004effff"},{name:"yifu13",parent:"yifu12",length:446.57,rotation:-4.63,x:421.66,color:"004effff"},{name:"yifu14",parent:"yifu13",length:391.13,rotation:6.36,x:446.57,color:"004effff"},{name:"bone4",parent:"body2",x:542.49,color:"1700ffff"},{name:"bone5",parent:"bone2",x:1253.81,color:"ff0000ff"},{name:"bone6",parent:"bone2",rotation:101.98,x:1067.21,y:879.21,color:"ff0000ff"},{name:"bone8",parent:"bone7",length:1119.62,rotation:116.91,x:1476.12,color:"002fffff"},{name:"youshouik",parent:"body",x:1263.93,y:697.25,color:"0600ffff"},{name:"bodypiao13",parent:"body",length:217.44,rotation:115.3,x:-364.05,y:133.78,color:"ff0000ff"},{name:"bodypiao14",parent:"bodypiao13",length:242.94,rotation:10.69,x:217.44,color:"ff0000ff"},{name:"bodypiao15",parent:"body",length:299.76,rotation:-175.31,x:-675.14,y:-142.66,color:"ff0000ff"},{name:"bodypiao16",parent:"bodypiao15",length:271.03,rotation:19.87,x:299.76,color:"ff0000ff"},{name:"caijian",parent:"bone4",length:100,rotation:90.66,color:"1700ffff"},{name:"zui4",parent:"toubu",x:163.91,y:-19.06,color:"ff0000ff"},{name:"highlight_l_eye",parent:"toubu",x:120.77,y:200.75,color:"ff0000ff"},{name:"meimao",parent:"toubu",x:102.75,y:341.02,color:"ff0000ff"},{name:"l_jiemao",parent:"highlight_l_eye",x:-4.9,y:23.79,color:"3cff00ff"},{name:"eye",parent:"highlight_l_eye",x:-3.5,y:11.39,color:"ff0000ff"},{name:"highlight_l_eye2",parent:"eye",x:6.79,y:-26.4,color:"5e00ffff"},{name:"zui5",parent:"toubu",length:659.92,rotation:107.95,x:-348.82,y:-90.48,color:"0d00ffff"},{name:"zui6",parent:"toubu",length:747.94,rotation:106.48,x:552.16,y:89.24,color:"0d00ffff"},{name:"liuhai",parent:"toubu",x:-144.02,y:837.86,color:"ff0000ff"},{name:"liuhai2",parent:"liuhai",length:166.92,rotation:-72,x:.76,y:-6.4,color:"ff0000ff"},{name:"liuhai3",parent:"liuhai2",length:226.98,rotation:17.39,x:168.19,y:.65,color:"ff0000ff"},{name:"liuhai4",parent:"liuhai3",length:276.36,rotation:16.15,x:226.98,color:"ff0000ff"},{name:"liuhai5",parent:"liuhai",length:177.2,rotation:-112.85,x:-41.55,y:-21.55,color:"ff0000ff"},{name:"liuhai6",parent:"liuhai5",length:216.46,rotation:17.95,x:177.2,color:"ff0000ff"},{name:"liuhai7",parent:"liuhai6",length:237.1,rotation:22.55,x:216.46,color:"ff0000ff"},{name:"liuhai8",parent:"liuhai",length:213.35,rotation:-23.85,x:51.91,y:4.12,color:"3c00ffff"},{name:"liuhai9",parent:"liuhai8",length:250.23,rotation:-24.48,x:213.35,color:"ff0000ff"},{name:"liuhai10",parent:"liuhai9",length:186.21,rotation:9.37,x:250.23,color:"ff0000ff"},{name:"gg",parent:"liuhai",length:156.34,rotation:-48.41,x:-13.11,y:-11.57,color:"002fffff"},{name:"gg2",parent:"gg",length:206.51,rotation:5.8,x:156.34,color:"002fffff"},{name:"gg3",parent:"gg2",length:187.13,rotation:31.33,x:206.51,color:"002fffff"},{name:"daimao2",parent:"liuhai8",length:180.37,rotation:-5.87,x:33.18,y:21.5,color:"ff0000ff"},{name:"daimao3",parent:"daimao2",length:197.56,rotation:3.78,x:180.37,color:"3c00ffff"},{name:"daimao4",parent:"daimao3",length:118.42,rotation:22.75,x:197.56,color:"3c00ffff"},{name:"toufa1",parent:"toubu",x:-156.01,y:866.51,color:"ff0000ff"},{name:"toufa2",parent:"toufa1",length:205.81,rotation:-158.04,x:-19.04,y:-2.32,color:"ff0000ff"},{name:"toufa3",parent:"toufa2",length:202.14,rotation:51.67,x:205.81,color:"ff0000ff"},{name:"toufa4",parent:"toufa3",length:230.94,rotation:15.22,x:202.14,color:"ff0000ff"},{name:"toufa5",parent:"toufa4",length:264.72,rotation:9.84,x:230.94,color:"ff0000ff"},{name:"toufa6",parent:"toufa5",length:272.59,rotation:9.74,x:266.48,y:1.29,color:"ff0000ff"},{name:"toufa7",parent:"toufa6",length:249.75,rotation:11.92,x:272.59,color:"ff0000ff"},{name:"toufa8",parent:"toufa7",length:220.04,rotation:12.37,x:249.75,color:"ff0000ff"},{name:"toufa9",parent:"toufa8",length:199.09,rotation:29.25,x:220.04,color:"ff0000ff"},{name:"toufa10",parent:"toufa1",length:178.38,rotation:12.91,x:2.17,y:5.44,color:"ff0000ff"},{name:"toufa11",parent:"toufa10",length:206.41,rotation:-41.57,x:178.38,color:"ff0000ff"},{name:"toufa12",parent:"toufa11",length:220.07,rotation:-9.65,x:206.41,color:"ff0000ff"},{name:"toufa13",parent:"toufa12",length:238.8,rotation:-17.19,x:220.26,y:1.7,color:"ff0000ff"},{name:"toufa14",parent:"toufa13",length:203.71,rotation:-26.32,x:238.79,color:"ff0000ff"},{name:"toufa15",parent:"toufa14",length:124.46,rotation:-31.01,x:203.89,y:1.19,color:"ff0000ff"},{name:"houtou",parent:"toubu",x:-182.02,y:894.89,color:"002fffff"},{name:"daimao",parent:"toubu",length:112.86,rotation:81.37,x:-194.41,y:886.51,color:"ff0000ff"},{name:"daimao5",parent:"daimao",length:124.65,rotation:33.88,x:112.86,color:"ff0000ff"},{name:"daimao6",parent:"daimao5",length:151.12,rotation:46.04,x:124.65,color:"ff0000ff"},{name:"daimao7",parent:"daimao6",length:133.05,rotation:53.52,x:151.12,color:"ff0000ff"},{name:"daimao8",parent:"daimao7",length:91.44,rotation:28.63,x:133.05,color:"ff0000ff"},{name:"toufa16",parent:"toubu",x:-187.1,y:878.31,color:"ff0000ff"},{name:"toufa17",parent:"toufa16",length:223.01,rotation:-156.41,x:-37.69,y:11.83,color:"ff0000ff"},{name:"toufa18",parent:"toufa17",length:294.14,rotation:-116.57,x:223.01,transform:"noRotationOrReflection",color:"ff0000ff"},{name:"toufa19",parent:"toufa18",length:334.13,rotation:4.69,x:294.14,color:"ff0000ff"},{name:"toufa20",parent:"toufa19",length:340.15,rotation:-30.7,x:334.13,color:"ff0000ff"},{name:"toufa21",parent:"toufa20",length:441.54,rotation:-51.9,x:340.59,y:-3.29,color:"ff0000ff"},{name:"toufa22",parent:"toufa21",length:443.04,rotation:-36.72,x:441.54,color:"ff0000ff"},{name:"toufa23",parent:"toufa22",length:442.12,rotation:.82,x:443.04,color:"ff0000ff"},{name:"toufa24",parent:"toufa23",length:346.79,rotation:14.76,x:442.12,color:"ff0000ff"},{name:"toufa25",parent:"toufa24",length:370.47,rotation:30.17,x:346.79,color:"ff0000ff"},{name:"toufa26",parent:"toufa25",length:402.22,rotation:19.66,x:370.47,color:"ff0000ff"},{name:"toufa27",parent:"toufa26",length:311.6,rotation:35.39,x:402.22,color:"ff0000ff"},{name:"toufa28",parent:"toufa27",length:290.72,rotation:28.29,x:311.6,color:"ff0000ff"},{name:"toufa30",parent:"toufa23",length:341.7,rotation:-17.54,x:349.39,y:-218.83,color:"ff0000ff"},{name:"toufa31",parent:"toufa30",length:347.92,rotation:15.44,x:341.7,color:"ff0000ff"},{name:"toufa32",parent:"toufa31",length:432.7,rotation:30.12,x:347.92,color:"ff0000ff"},{name:"toufa33",parent:"toufa32",length:283.38,rotation:35.47,x:432.7,color:"ff0000ff"},{name:"toufa34",parent:"toufa24",length:392.3,rotation:1.07,x:290.35,y:-96.79,color:"ff0000ff"},{name:"toufa35",parent:"toufa34",length:417.29,rotation:21.52,x:392.3,color:"ff0000ff"},{name:"toufa36",parent:"toufa35",length:462.95,rotation:28.04,x:417.29,color:"ff0000ff"},{name:"toufa37",parent:"toufa36",length:361.24,rotation:36.98,x:462.95,color:"ff0000ff"}
60,{name:"toufa38",parent:"toubu",x:-478.5,y:566.63,color:"ff0000ff"},{name:"toufa39",parent:"toufa38",length:282.78,rotation:-145.51,transform:"noRotationOrReflection",color:"ff0000ff"},{name:"toufa40",parent:"toufa39",length:260.51,rotation:-47.53,x:282.78,color:"ff0000ff"},{name:"toufa41",parent:"toufa40",length:256.29,rotation:-79.87,x:259.69,y:-1.31,color:"ff0000ff"},{name:"toufa42",parent:"toufa41",length:323.57,rotation:-27.18,x:256.29,color:"ff0000ff"},{name:"toufa43",parent:"toufa42",length:290.88,rotation:5.35,x:324.68,y:2.38,color:"ff0000ff"},{name:"toufa44",parent:"toufa43",length:258.76,rotation:18.68,x:290.88,color:"ff0000ff"},{name:"toufa45",parent:"toufa44",length:262.11,rotation:30.76,x:271,y:1.3,color:"ff0000ff"},{name:"toufa46",parent:"toufa45",length:295.75,rotation:57.33,x:262.11,color:"ff0000ff"},{name:"toufa47",parent:"toufa46",length:346.24,rotation:42.68,x:295.75,color:"ff0000ff"},{name:"toufa48",parent:"toufa47",length:261.85,rotation:37.34,x:347.8,y:2.25,color:"ff0000ff"},{name:"toufa49",parent:"toufa48",length:283.96,rotation:21.83,x:261.85,color:"ff0000ff"},{name:"toufa50",parent:"toufa46",length:249.56,rotation:-19.08,x:159.47,y:-109.57,color:"ff0000ff"},{name:"toufa51",parent:"toufa50",length:263.83,rotation:33.63,x:251.71,y:1.1,color:"ff0000ff"},{name:"toufa52",parent:"toufa51",length:255.36,rotation:38.24,x:263.83,color:"ff0000ff"},{name:"toufa53",parent:"toufa52",length:257.07,rotation:25.99,x:255.36,color:"ff0000ff"},{name:"toufa54",parent:"toufa44",length:284.22,rotation:-9.2,x:218.06,y:-147.89,color:"ff0000ff"},{name:"toufa55",parent:"toufa54",length:283.41,rotation:19.39,x:283.9,y:1.17,color:"ff0000ff"},{name:"toufa56",parent:"toufa55",length:276.31,rotation:29.96,x:283.41,color:"ff0000ff"},{name:"toufa57",parent:"toufa56",length:381.14,rotation:45.52,x:279.68,y:1.2,color:"ff0000ff"},{name:"rabibody",parent:"body",x:-71.52,y:-949.01,color:"ff0000ff"},{name:"rabibody2",parent:"rabibody",length:462.69,rotation:46.45,x:26.56,y:27.16,color:"ff0000ff"},{name:"rabibody3",parent:"rabibody2",length:533.45,rotation:8.17,x:462.69,transform:"noScale",color:"ff0000ff"},{name:"tutueye2",parent:"rabibody3",x:392.98,y:27.8,color:"ff0000ff"},{name:"ear_R",parent:"rabibody3",length:442.13,rotation:-23.03,x:662.16,y:111.16,color:"ff0000ff"},{name:"rabibody4",parent:"rabibody3",length:458.66,rotation:-44.61,x:621.3,y:-305.61,color:"ff0000ff"},{name:"rabibody5",parent:"rabibody3",length:391.69,rotation:-34.28,x:100.86,y:-308.38,color:"ff0000ff"},{name:"rabibody6",parent:"rabibody5",length:476.57,rotation:-8.68,x:391.69,color:"ff0000ff"},{name:"rabibody7",parent:"rabibody6",length:342.56,rotation:2.55,x:476.57,color:"ff0000ff"},{name:"rabibody13",parent:"rabibody",x:-39.63,y:-48.17,color:"3500ffff"},{name:"rabibody8",parent:"rabibody13",length:155.37,rotation:-149.29,x:-114.04,y:89.92,color:"ff0000ff"},{name:"rabibody9",parent:"rabibody8",length:132.46,rotation:.33,x:155.37,color:"ff0000ff"},{name:"rabibody10",parent:"rabibody9",length:124.8,rotation:2.14,x:132.46,color:"ff0000ff"},{name:"rabibody11",parent:"rabibody13",length:163.5,rotation:-132.51,x:92.86,y:-192.31,color:"ff0000ff"},{name:"rabibody12",parent:"rabibody11",length:137.6,rotation:5.22,x:163.5,color:"ff0000ff"},{name:"meimao2",parent:"meimao",x:-207.85,y:269.6,color:"003affff"},{name:"body13",parent:"body9",length:195.12,rotation:54.29,x:-4.69,y:53.65,color:"ff0000ff"},{name:"body14",parent:"body13",length:221,rotation:-14.31,x:195.12,color:"ff0000ff"},{name:"shouzhi",parent:"body9",x:364.86,y:149.86,color:"ff0000ff"},{name:"shouzhi2",parent:"shouzhi",length:121.99,rotation:-1.69,color:"ff0000ff"},{name:"shouzhi3",parent:"shouzhi2",length:91.82,rotation:1.83,x:121.99,color:"ff0000ff"},{name:"body15",parent:"body9",length:103.95,rotation:-157.27,x:471.6,y:82.91,color:"ff0000ff"},{name:"body16",parent:"body15",length:104.55,rotation:-29.98,x:103.95,color:"ff0000ff"},{name:"body17",parent:"body9",length:81.01,rotation:-159.72,x:418.11,y:12.54,color:"ff0000ff"},{name:"body18",parent:"body17",length:90.46,rotation:-25.18,x:81.01,color:"ff0000ff"},{name:"body19",parent:"body9",length:81.59,rotation:-169.19,x:369,y:-68.93,color:"ff0000ff"},{name:"l_jiemao2",parent:"l_jiemao",x:-214.82,y:-2.75,color:"3cff00ff"},{name:"l_jiemao3",parent:"l_jiemao2",length:115.05,rotation:-3.49,color:"3cff00ff"},{name:"l_jiemao4",parent:"l_jiemao2",length:101.7,rotation:-141.75,x:-.58,y:1.17,color:"3cff00ff"}
60,{name:"highlight_l_eye3",parent:"highlight_l_eye",x:19.08,y:-58.53,color:"ff0000ff"},{name:"l_jiemao5",parent:"highlight_l_eye3",length:111.61,rotation:-157.59,x:-126.87,y:-41.1,color:"ff0000ff"},{name:"l_jiemao6",parent:"l_jiemao5",length:99.88,rotation:-47.63,x:111.61,color:"ff0000ff"},{name:"r_jiemao",parent:"l_jiemao",x:171.67,y:104.6,color:"3cff00ff"},{name:"r_jiemao2",parent:"r_jiemao",length:88.8,rotation:-147.87,color:"3cff00ff"},{name:"r_jiemao3",parent:"r_jiemao",length:90.7,rotation:-19.13,x:1.17,y:1.75,color:"3cff00ff"},{name:"r_jiemao4",parent:"highlight_l_eye3",length:71.73,rotation:7.47,x:107.48,y:26.61,color:"ff0000ff"},{name:"r_jiemao5",parent:"r_jiemao4",length:53.08,rotation:31.29,x:71.73,color:"ff0000ff"},{name:"l_jiemao7",parent:"l_jiemao4",length:52.04,rotation:-52.29,x:123.26,y:18.61,transform:"noRotationOrReflection",color:"ff0000ff"},{name:"r_jiemao6",parent:"r_jiemao3",length:38.91,rotation:-103.88,x:94.69,y:-11.88,transform:"noRotationOrReflection",color:"ff0000ff"},{name:"highlight_l_eye4",parent:"highlight_l_eye",x:-194.13,y:-58.55,color:"ff0000ff"},{name:"caijian2",parent:"toubu",x:167.96,y:34.67,color:"ff0000ff"},{name:"qunzi8",parent:"qunzi",x:-167.01,y:-154.1,color:"ff0000ff"},{name:"qunzi9",parent:"qunzi8",x:-211.46,y:764.11,color:"ff0000ff"},{name:"qunzi10",parent:"qunzi9",x:-637.94,y:-321.64,color:"ff0000ff"},{name:"lleg4",parent:"lleg3",length:275.85,rotation:7.82,x:1426.63,y:-.73,color:"ff0000ff"},{name:"lleg5",parent:"lleg4",length:261.67,rotation:60.92,x:275.85,color:"ff0000ff"},{name:"bone9",parent:"bone6",rotation:12.18,x:-319.35,y:445.68,color:"ff0000ff"},{name:"bone10",parent:"rabibody",rotation:54.63,x:654.13,y:797.51,scaleX:.9516,scaleY:.9516,color:"ff0000ff"},{name:"bone11",parent:"bone2",length:279.24,rotation:44.68,x:890.24,y:160.54,color:"002fffff"},{name:"toufa58",parent:"toubu",x:333.34,y:360.52,color:"ff0000ff"},{name:"toufa59",parent:"toufa58",length:248.54,rotation:-75.4,color:"ff0000ff"},{name:"toufa60",parent:"toufa59",length:210.6,rotation:16.91,x:248.54,color:"ff0000ff"},{name:"toufa61",parent:"toufa60",length:205.39,rotation:26.63,x:210.6,color:"ff0000ff"},{name:"toufa62",parent:"toufa61",length:230.4,rotation:-9.57,x:205.39,color:"ff0000ff"},{name:"toufa63",parent:"toufa62",length:201.64,rotation:-37.93,x:230.4,color:"ff0000ff"},{name:"bone12",parent:"rabibody",rotation:10.02,x:1405.85,y:772.02,color:"ff0000ff"},{name:"bone13",parent:"rabibody",rotation:31.59,x:1014.6,y:1198.45,color:"ff0000ff"},{name:"bone14",parent:"root",transform:"noScale"},{name:"gunshot",parent:"body9",x:1113.87,y:310.02,color:"ff0000ff"}],Gx=[{name:"rleg",bone:"rleg",attachment:"rleg"},{name:"lleg2",bone:"lleg3",attachment:"lleg2"},{name:"lleg1",bone:"lleg1",attachment:"lleg1"},{name:"qunzi",bone:"qunzi",attachment:"qunzi"},{name:"qunzidai",bone:"qunzi",attachment:"qunzidai"},{name:"qunzi1",bone:"qunzi",attachment:"qunzi1"},{name:"rabibody2",bone:"rabibody",attachment:"rabibody2"},{name:"card",bone:"card1",attachment:"card"},{name:"yifu",bone:"yifu",attachment:"yifu"},{name:"xiuzi2",bone:"bone",attachment:"xiuzi2"},{name:"rhand2",bone:"bone",attachment:"rhand2"},{name:"body",bone:"body",attachment:"body"},{name:"caijian",bone:"caijian",attachment:"caijian"},{name:"rabibody",bone:"rabibody",attachment:"rabibody"},{name:"ear_R",bone:"ear_R",attachment:"ear_R"},{name:"ear_L",bone:"rabibody4",attachment:"ear_L"},{name:"tutueye",bone:"tutueye2",attachment:"tutueye"},{name:"shouzhi4",bone:"body9",attachment:"shouzhi4"},{name:"shouzhi",bone:"shouzhi",attachment:"shouzhi"},{name:"xiuzi",bone:"xiuzi",attachment:"xiuzi"},{name:"rhand1",bone:"bone",attachment:"rhand1"},{name:"watergun2",bone:"gunshot",attachment:"watergun2"},{name:"trigger",bone:"body9",attachment:"trigger"},{name:"rshouzhi3",bone:"body9",attachment:"rshouzhi3"},{name:"rshouzhi2",bone:"body9",attachment:"rshouzhi2"},{name:"rshouzhi1",bone:"body9",attachment:"rshouzhi1"},{name:"watergun3",bone:"body9",attachment:"watergun2"},{name:"rshouzhi5",bone:"body9",attachment:"rshouzhi5"},{name:"wing",bone:"wing",attachment:"wing"},{name:"wing1",bone:"wing1",attachment:"wing1"},{name:"toufa5",bone:"toufa38",attachment:"toufa5"},{name:"toufa4",bone:"toufa58",attachment:"toufa4"},{name:"houtou",bone:"houtou",attachment:"houtou"},{name:"face",bone:"toubu",attachment:"face"},{name:"zui4",bone:"zui4",attachment:"zui4"},{name:"zuiopen",bone:"zui4",attachment:"zui1"},{name:"zui1",bone:"zui4",attachment:"zui3"},{name:"zui2",bone:"zui4",attachment:"zui3"},{name:"l_jiemao2",bone:"l_jiemao5",attachment:"l_jiemao2"},{name:"caijian2",bone:"caijian2",attachment:"caijian2"},{name:"lyanbai",bone:"highlight_l_eye",attachment:"lyanbai"},{name:"leye",bone:"eye",attachment:"leye"},{name:"highlight_l_eye",bone:"highlight_l_eye2",attachment:"highlight_l_eye"},{name:"ryanbai",bone:"highlight_l_eye",attachment:"ryanbai"},{name:"eye",bone:"eye",attachment:"reye"},{name:"highlight_r_eye",bone:"highlight_l_eye2",attachment:"highlight_r_eye"},{name:"l_jiemao3",bone:"l_jiemao7",attachment:"l_jiemao3"}
60,{name:"l_jiemao",bone:"l_jiemao2",attachment:"l_jiemao"},{name:"r_jiemao2",bone:"r_jiemao4",attachment:"r_jiemao2"},{name:"r_jiemao3",bone:"r_jiemao6",attachment:"r_jiemao3"},{name:"r_jiemao",bone:"r_jiemao",attachment:"r_jiemao"},{name:"meimao",bone:"meimao",attachment:"meimao"},{name:"toufa3",bone:"toufa16",attachment:"toufa3"},{name:"toufa2",bone:"toufa10",attachment:"toufa2"},{name:"toufa1",bone:"toufa2",attachment:"toufa1"},{name:"liuhai",bone:"liuhai",attachment:"liuhai"},{name:"daimao2",bone:"daimao2",attachment:"daimao2"},{name:"gg",bone:"gg",attachment:"gg"},{name:"daimao",bone:"daimao",attachment:"daimao"},{name:"xiuzi3",bone:"xiuzi",attachment:"xiuzi3"},{name:"rabi_hand",bone:"rabibody",attachment:"rabi_hand"}],Vx=[{name:"ribiik",order:2,bones:["rabibody2"],target:"bone9",compress:!0,stretch:!0},{name:"ribik2",order:4,bones:["rabibody3"],target:"bone10",compress:!0},{name:"ribiyouer",order:5,bones:["rabibody4"],target:"bone12",mix:.5,compress:!0,stretch:!0},{name:"ribizuoer",order:6,bones:["ear_R"],target:"bone13",mix:.5,compress:!0,stretch:!0},{name:"youshouik",order:7,bones:["body7","body8"],target:"youshouik"},{name:"zuoshou1",order:10,bones:["body2"],target:"bone5",compress:!0,stretch:!0},{name:"zuoshou2",order:11,bones:["body3"],target:"bone6",compress:!0,stretch:!0},{name:"zuoshou3",order:8,bones:["bone7","bone8"],target:"bone6"}],Hx=[{name:"10",order:12,bones:["toufa58"],target:"zui5",rotation:-107.95,x:218.76,y:-787.96,mixRotate:.4,mixX:.4,mixScaleX:.4,mixShearY:.4},{name:"daimao",order:13,bones:["daimao"],target:"zui5",rotation:-26.59,x:881.82,y:-448.04,mixRotate:.45,mixX:.45,mixScaleX:.45,mixShearY:.45},{name:"lleg1",order:14,bones:["rleg"],target:"lleg1",x:453.63,y:-591.71,mixRotate:-1,mixX:-1,mixScaleX:-1,mixShearY:-1},{name:"meimaobian",order:15,bones:["meimao"],target:"zui5",rotation:-107.95,x:271.29,y:-562.59,mixRotate:.4,mixX:.4,mixScaleX:.4,mixShearY:.4},{name:"qunzi1",order:16,bones:["qunzi11"],target:"lleg1",x:1011.28,y:-368.2,mixRotate:.8,mixX:.8,mixScaleX:.8,mixShearY:.8},{name:"rabi",order:1,bones:["rabibody"],target:"bone2",rotation:67.71,x:902,y:17.26,mixShearY:0},{name:"ribixia",order:17,bones:["rabibody13"],target:"bone6",rotation:-34.27,x:-868.74,y:323.08,mixRotate:0,mixX:.6,mixScaleX:0,mixShearY:0},{name:"root",order:36,bones:["body4"],target:"root",rotation:-106.7,x:1663.55,y:57.64,mixRotate:0,mixX:0,mixShearY:0},{name:"root2",order:3,bones:["rabibody3"],target:"root",rotation:54.63,local:!0,x:1148.67,y:246.08,mixRotate:0,mixX:0,mixShearY:0},{name:"shoubizhuan",order:18,bones:["bone11"],target:"bone5",rotation:44.68,x:-363.58,y:160.54,mixRotate:-1,mixX:-1,mixScaleX:-1,mixShearY:-1},{name:"shoulder",bones:["bone2"],target:"bone3",rotation:-68.23,x:-855.15,y:-312.92,mixX:-1,mixScaleX:-1,mixShearY:-1},{name:"toufa1",order:19,bones:["liuhai"],target:"zui5",rotation:-107.95,x:820,y:-480.98,mixRotate:.5,mixX:.5,mixScaleX:.5,mixShearY:.5},{name:"toufa2",order:20,bones:["toufa1"],target:"zui5",rotation:-107.95,x:850.95,y:-478.41,mixRotate:.45,mixX:.45,mixScaleX:.45,mixShearY:.45},{name:"toufa3",order:21,bones:["toufa16"],target:"zui5",rotation:-107.95,x:871.76,y:-452.47,mixRotate:.3,mixX:.3,mixScaleX:.3,mixShearY:.3},{name:"toufa4",order:22,bones:["liuhai5"],target:"zui5",rotation:139.2,x:812.31,y:-434.81,mixRotate:-.1,mixX:-.1,mixScaleX:-.1,mixShearY:-.1},{name:"toufa5",order:23,bones:["daimao2"],target:"zui5",rotation:-137.67,x:801.84,y:-570.7,mixRotate:.2,mixX:.2,mixScaleX:.2,mixShearY:.2},{name:"toufa6",order:24,bones:["liuhai2"],target:"zui5",rotation:-179.96,x:813.68,y:-479.73,mixRotate:.3,mixX:.3,mixScaleX:.3,mixShearY:.3},{name:"toufa7",order:25,bones:["gg"],target:"zui5",rotation:-156.36,x:813.03,y:-464.95,mixRotate:.2,mixX:.2,mixScaleX:.2,mixShearY:.2},{name:"toufa23",order:26,bones:["toufa30"],target:"toufa23",rotation:-17.54,x:349.39,y:-218.83},{name:"touhou",order:27,bones:["houtou"],target:"zui5",rotation:-107.95,x:885.97,y:-462.4,mixRotate:.05,mixX:.05,mixScaleX:.05,mixShearY:.05},{name:"touhoutoushi",order:28,bones:["meimao2"],target:"zui5",rotation:-107.95,x:591.83,y:-447.97},{name:"touz",order:29,bones:["zui6"],target:"zui5",rotation:-1.47,x:-106.75,y:-912.5,mixRotate:-1,mixX:-1,mixScaleX:-1,mixShearY:-1},{name:"wing",order:32,bones:["wing5"],target:"yifu10",rotation:-64.55,x:-242.19,y:-1224.34,mixRotate:-.5,mixX:0,mixScaleX:0,mixShearY:-1},{name:"wing2",order:31,bones:["wing4"],target:"wing2",rotation:-95.9,x:-405.48,y:-745.42,mixRotate:-1,mixX:0,mixScaleX:0,mixShearY:-1},{name:"wuguanbian",order:33,bones:["highlight_l_eye"],target:"zui5",rotation:-107.95,x:132.3,y:-536.49,mixRotate:.4,mixX:.4,mixScaleX:.4,mixShearY:.4},{name:"yifu1",order:34,bones:["yifu2"],target:"bone2",rotation:-152.84,x:645.99,y:-136.31,mixRotate:.8,mixX:.8,mixScaleX:.8,mixShearY:.8},{name:"yifu2",order:30,bones:["yifu7"],target:"bone2",rotation:-160.35,x:371.59,y:112.69,mixRotate:.4,mixX:.4,mixScaleX:.4,mixShearY:.4},{name:"zuibian",order:35,bones:["zui4"],target:"zui5",rotation:-107.95,x:-90.1,y:-509.78,mixRotate:.44,mixX:.44,mixScaleX:.44,mixShearY:.44}
60,{name:"zuoshou4",order:9,bones:["bone5"],target:"bone8",rotation:-110.73,x:231.27,y:136.64,mixRotate:.8,mixX:.8,mixScaleX:.8,mixShearY:.8}],Xx=[{name:"default",attachments:{body:{body:{type:"mesh",uvs:[.07268,.54712,.03867,.63765,.03033,.76546,.05535,.84268,.11374,.89061,.20486,.91058,.28314,.90925,.38002,.89993,.43906,.93188,.45125,.86665,.43777,.8307,.4191,.81906,.40262,.81409,.41011,.80041,.43528,.78673,.46645,.76248,.50048,.73049,.53621,.68674,.56432,.66487,.63167,.69647,.67911,.72806,.71542,.72199,.71835,.65272,.71777,.6272,.76086,.61205,.80596,.61691,.86101,.62907,.90611,.5999,.94945,.58167,.97815,.50876,.99279,.42126,.99865,.32161,.98576,.23533,.9395,.19523,.8944,.1928,.8616,.18794,.83993,.14054,.79952,.14298,.78078,.18672,.77023,.18429,.76321,.14784,.73802,.10409,.70581,.12961,.68531,.10773,.66481,.10895,.62733,.07371,.58457,.03239,.5121,.01559,.43772,.02531,.35046,.07392,.28369,.11767,.21751,.16871,.16245,.24041,.11853,.34492,.10388,.43971,.06874,.3911,.02306,.29266,.00139,.36193,0,.44214,.04063,.50047,.20145,.46443,.26526,.33663,.37901,.22956,.50109,.18696,.58987,.21805,.22779,.61526,.2694,.49782,.30769,.46904,.34931,.38269,.38926,.33779,.45807,.29288,.5363,.2641,.59956,.309,.2744,.69585,.3482,.59569,.44166,.5104,.54518,.44716,.62789,.42593,.2805,.79947,.38759,.71658,.48066,.65474,.57296,.55446,.63008,.53812,.71478,.40413,.82628,.39402,.93508,.41087,.65749,.23523,.7408,.26258,.84626,.28446,.938,.29869,.72445,.51531,.83255,.50218,.91375,.50656,.49192,.46913,.50476,.56759,.38054,.56167,.42085,.64162,.36091,.45951,.30882,.6225,.33488,.72514,.35665,.80452,.55642,.30866,.57628,.38862,.57806,.48888,.12906,.48027,.14926,.58509,.18463,.69341,.2402,.77814,.11222,.67594,.15389,.78076,.27755,.41882,.3467,.32882,.32713,.27468,.22131,.52282,.3634,.15502,.30886,.20043,.24499,.26371,.1822,.35306,.18788,.60589,.07665,.693,.10069,.77266,.4086,.29561,.44681,.32903,.48462,.3553],triangles:[122,70,123,122,121,70,121,62,70,4,109,5,3,120,4,4,120,109,3,2,120,120,108,109,2,119,120,120,119,108,2,1,119,108,119,0,119,1,0,0,59,54,59,55,54,59,58,55,58,57,55,57,56,55,113,118,60,113,60,66,60,117,61,117,116,61,117,52,116,61,115,112,61,116,115,112,115,114,52,51,116,116,50,115,116,51,50,115,49,114,115,50,49,62,114,48,114,49,48,67,110,68,110,111,68,111,61,112,111,110,61,68,111,69,69,111,62,111,112,62,112,114,62,21,20,22,23,22,20,18,81,19,81,82,19,20,19,23,19,82,23,27,26,91,23,90,24,23,82,90,26,25,91,25,24,91,27,91,92,88,92,84,88,35,34,91,90,84,91,24,90,27,92,28,85,92,88,28,92,29,81,103,82,81,76,103,103,77,82,90,77,83,90,82,77,84,83,87,84,87,88,87,39,38,84,90,83,92,85,29,29,85,30,89,85,88,92,91,84,76,102,103,103,102,77,76,101,102,102,72,77,77,86,83,77,72,86,30,85,31,85,89,31,89,88,34,83,86,87,88,87,38,88,37,36,37,88,38,102,101,72,89,32,31,101,64,72,72,64,86,101,71,64,89,33,32,89,34,33,88,36,35,71,63,64,46,63,47,63,46,64,86,42,87,87,42,40,87,40,39,40,42,41,42,86,43,86,44,43,64,45,86,86,45,44,63,62,48,64,46,45,63,48,47,76,123,101,101,123,71,70,63,71,8,7,11,7,12,11,11,10,8,8,10,9,6,100,7,6,78,100,7,100,12,78,99,100,12,100,79,100,99,79,78,73,99,73,98,99,99,74,79,99,98,74,66,67,98,98,67,74,66,110,67,66,60,110,6,107,78,6,5,107,5,109,107,107,73,78,109,106,107,109,108,106,106,65,107,108,105,106,106,118,65,106,105,118,108,0,105,118,113,65,65,113,66,0,104,105,118,105,60,105,104,60,0,54,104,54,53,104,104,117,60,104,53,117,60,61,110,53,52,117,13,12,79,13,79,14,15,14,96,107,65,73,14,79,96,15,80,16,15,96,80,16,80,17,74,95,79,79,95,96,73,65,98,18,17,94,17,80,94,18,94,81,94,80,75,80,96,75,96,95,75,65,66,98,74,97,95,74,67,97,75,93,94,94,76,81,94,93,76,95,97,75,97,69,75,75,69,122,75,123,93,75,122,123,122,69,121,93,123,76,67,68,97,97,68,69,123,70,71,121,69,62,70,62,63],vertices:[2,12,-366.85,-642.6,.35,72,113.36,-207.78,.65,2,12,-280.1,-794.23,.35,72,268.31,-127.09,.65,2,12,-110.1,-892.39,.35,72,373.11,38.89,.65,3,12,28.62,-863.85,.34815,13,29.42,-863.85,.0134,72,350.08,178.63,.63846,3,12,166.06,-720.91,.34259,13,166.86,-720.91,.05374,72,212.69,321.61,.60367,3,12,303.33,-466.2,.33148,13,304.13,-466.2,.13498,72,-36.39,468.85,.53354,4,11,-498.73,-576.44,.12226,12,395.22,-236.7,.31852,13,396.03,-236.7,.23051,72,-262.08,569.75,.32871,4,11,-192.75,-562.25,.22498,12,498.16,51.79,.17509,13,498.96,51.79,.45822,72,-546.27,684.02,.1417,3,11,-6.33,-610.88,.33782,12,613.87,205.83,.13932,13,614.67,205.83,.52286,3,11,32.17,-511.59,.33504,12,536.6,279.12,.10882,13,537.41,279.12,.55614,3,11,-10.39,-456.88,.34459,12,469.84,260.5,.08175,13,470.64,260.5,.57366,3,11,-69.36,-439.17,.35565,12,431.08,212.65,.08842,13,431.89,212.65,.55593,3,11,-121.41,-431.6,.47974,12,404.33,167.36,.11111,13,405.14,167.36,.40914,3,11,-97.75,-410.78,.56817,12,394.04,197.15,.125,13,394.85,197.15,.30683,4,11,-18.25,-389.96,.66644,12,404.93,278.6,.13264,18,-446.25,-585.66,.01667,13,405.74,278.6,.18426,5,11,80.17,-353.05,.71171,12,408.12,383.67,.13273,18,-347.49,-549.66,.06667,13,408.92,383.67,.07315,19,-347.49,-549.66,.01574,4,11,187.65,-304.37,.70742,12,403.84,501.58,.11478,18,-239.58,-501.96,.15914,13,404.64,501.58,.01866,4,11,300.47,-237.78,.51701,12,385.03,631.23,.06942,18,-126.15,-436.41,.16172,19,-126.15,-436.41,.25185,4,11,389.25,-204.49,.44854,12,387.9,726,.05249,18,-37.07,-403.93,.1147,19,-37.07,-403.93,.38426,4,11,601.95,-252.58,.15714,12,513.08,904.57,.01746,18,175.19,-453.96,.01614,19,175.19,-453.96,.80926,3,11,751.77,-300.67,.10667,12,614.4,1024.94,.01185,19,324.56,-503.42,.88148,3,11,866.44,-291.42,.09,12,649.34,1134.56,.01,19,439.31,-495.22,.9,3,11,875.69,-186,.09,12,555.3,1183.1,.01,19,449.52,-389.88,.9,3,11,873.84,-147.16,.09,12,518.66,1196.12,.01,19,448.03,-351.03,.9,3,11,1009.94,-124.1,.09,12,548.96,1330.8,.01,19,584.33,-329.22,.9,3,11,1152.36,-131.5,.09,12,609.82,1459.76,.01,19,726.67,-337.92,.9,3,11,1326.21,-150,.09,12,692.88,1613.61,.01,19,900.36,-358,.9,3,11,1468.63,-105.61,.09,12,705.83,1762.22,.01,19,1043.17,-314.92,.9,3,11,1605.5,-77.86,.09,12,732.08,1899.39,.01,19,1180.29,-288.43,.9,3,11,1696.13,33.11,.09,12,663.77,2025.34,.01,19,1271.93,-178.28,.9,3,11,1742.37,166.28,.09,12,558.1,2118.64,.01,19,1319.38,-45.54,.9,3,11,1760.86,317.94,.09,12,424.78,2193.28,.01,19,1339.27,105.95,.9,3,11,1720.17,449.26,.09,12,287.84,2205.44,.01,19,1299.78,237.63,.9,3,11,1574.06,510.3,.09,12,175.94,2093.4,.01,19,1154.22,300,.9,3,11,1431.64,514,.09,12,118.5,1963.03,.01,19,1011.85,305,.9,3,11,1328.06,521.4,.09,12,72.37,1870,.01,19,908.34,313.35,.9,3,11,1259.63,593.53,.09,12,-20.34,1834.04,.01,19,840.57,386.1,.9,3,11,1132.01,589.83,.09,12,-65.32,1714.55,.01,19,712.92,383.57,.9,3,11,1072.82,523.25,.09,12,-26.16,1634.53,.01,19,653.13,317.53,.9,3,11,1039.53,526.95,.09,12,-42.21,1605.13,.01,19,619.87,321.53,.9,3,11,1017.34,582.43,.09,12,-101.97,1605.64,.01,19,598.19,377.22,.9,3,11,937.8,649.02,.09,12,-193.75,1557.31,.01,19,519.27,444.53,.9,3,11,836.08,610.18,.09,12,-196.4,1448.45,.01,19,417.19,406.62,.9,3,11,771.34,643.47,.09,12,-251.76,1401.18,.01,19,352.76,440.5,.9,3,11,706.61,
60641.62,.09,12,-274.6,1340.59,.01,19,288.01,439.24,.9,3,11,588.23,695.26,.10667,12,-369.13,1251.4,.01185,19,170.13,493.96,.88148,3,11,453.21,758.14,.33667,12,-478.53,1150.33,.03741,19,35.69,558.08,.62593,3,11,224.35,783.71,.43667,12,-589,948.27,.04852,19,-192.93,585.74,.51481,4,11,-10.55,768.91,.39498,12,-664.41,725.31,.11541,19,-427.95,573.09,.28212,70,92.6,-618.9,.2075,3,11,-286.13,694.93,.26911,12,-700.49,442.26,.20731,70,194.64,-352.42,.52358,3,12,-718.86,221.91,.24815,19,-915.65,436.97,.01545,70,264.64,-142.68,.7364,3,12,-726.26,-.94,.2481,70,324.57,72.09,.69,71,-25.9,-693.53,.0619,3,12,-691.24,-203.2,.26476,70,338.41,276.89,.44,71,156.3,-598.97,.29524,3,12,-596.68,-391.89,.48143,70,291.19,482.6,.13712,71,307.54,-451.77,.38145,3,12,-480.73,-489.39,.38333,71,365.41,-311.76,.40155,72,-44.23,-315.52,.21512,3,12,-591.28,-564.01,.36667,71,469.97,-394.57,.20152,72,25.96,-428.93,.43182,2,12,-784.62,-640.67,.25,72,94.91,-625.15,.75,2,12,-713.04,-743.98,.25,72,200.97,-557.71,.75,2,12,-601.75,-794.35,.35,72,255.7,-448.5,.65,2,12,-470.94,-709.3,.35,72,175.89,-314.43,.65,2,12,-329.04,-2
6018.59,.4,71,61.42,-249.09,.6,2,12,-432.58,41.65,.3,70,29.15,100.21,.7,2,12,-447.1,435.85,.25,69,221.35,-290.54,.75,3,11,189.57,522.89,.36,12,-360.86,817.15,.04,19,-230.09,325.24,.6,3,11,469.94,475.57,.18,12,-210.73,1058.62,.02,19,49.84,275.37,.8,3,11,-673.52,-128.98,.51418,12,-85.09,-228.71,.385,13,-84.29,-228.71,.10082,3,11,-542.1,49.75,.35556,12,-200.62,-39.3,.2,13,-199.82,-39.3,.44444,3,11,-421.19,93.56,.425,12,-195.29,89.19,.075,13,-194.49,89.19,.5,2,12,-267.04,260.64,.2,69,50.72,-106.14,.8,2,11,-163.59,293.33,.85,12,-282.42,403.31,.15,4,11,53.7,361.67,.41286,12,-263.23,630.28,.10586,18,-367.43,165.28,.02414,36,40.84,-37.21,.45714,3,11,300.78,405.48,.36,12,-210.04,875.51,.04,19,-119.96,206.82,.6,3,11,500.55,337.14,.18,12,-71.04,1034.43,.02,19,79.18,136.66,.8,3,11,-526.33,-251.65,.35556,12,84.24,-139.04,.2,13,85.04,-139.04,.44444,3,11,-293.27,-99.2,.425,12,31.58,134.43,.075,13,32.39,134.43,.5,3,11,1.89,30.61,.63198,12,23.44,456.77,.29,18,-422.26,-165.3,.07802,3,11,328.82,126.86,.34532,12,58.39,795.77,.081,19,-94.47,-72.04,.57368,3,11,590.01,159.17,.09,12,127.56,1049.7,.01,19,167,-42.11,.9,3,11,-507.05,-409.36,.28889,12,237.48,-181.03,.35,13,238.28,-181.03,.36111,3,11,-168.85,-283.19,.425,12,249.02,179.76,.075,13,249.82,179.76,.5,3,11,125.05,-189.07,.72099,12,273.41,487.39,.19,18,-301.12,-386.09,.08901,3,11,416.54,-36.45,.36,12,242.77,814.99,.04,19,-8.25,-236.14,.6,3,11,596.93,-11.58,.09,12,288.18,991.33,.01,19,172.36,-212.92,.9,3,11,864.4,192.36,.09,12,200.94,1316.17,.01,19,441.69,-11.44,.9,3,11,1216.53,207.74,.09,12,320.27,1647.82,.01,19,793.94,.72,.9,3,11,1560.11,182.1,.09,12,474.32,1956,.01,19,1137.28,-28.06,.9,3,11,683.49,449.42,.09,12,-105.53,1246.29,.01,19,263.13,247.26,.9,3,11,946.58,407.79,.09,12,32.78,1473.92,.01,19,525.83,203.23,.9,3,11,1279.61,374.49,.09,12,189.92,1769.43,.01,19,858.54,166.88,.9,3,11,1569.34,352.84,.09,12,319.85,2029.3,.01,19,1148.07,142.59,.9,3,11,894.96,23.14,.09,12,369.1,1280.26,.01,19,470.7,-180.93,.9,3,11,1236.31,43.12,.09,12,480.1,1603.68,.01,19,812.22,-164.07,.9,3,11,1492.74,36.46,.09,12,583.53,1838.42,.01,19,1068.58,-173.08,.9,3,11,157.71,92.79,.675,12,25.01,624.53,.075,18,-265.88,-104.54,.25,3,11,198.27,-57.06,.675,12,179.04,605.22,.075,18,-226.69,-254.76,.25,2,11,-196.94,-48.67,.75,12,21.37,242.72,.25,2,11,-69.63,-170.35,.75,12,182.25,314.37,.25,2,11,-256.01,107.44,.75,12,-145.48,247.28,.25,3,11,-423.41,-141.25,.4,12,21.13,-1.94,.1,13,21.94,-1.94,.5,3,11,-352.73,-299.99,.4,12,194.81,3.24,.1,13,195.62,3.24,.5,3,11,-278.19,-419.55,.4,12,333.72,26.87,.1,13,334.52,26.87,.5,3,11,364.31,337.67,.34532,12,-123.2,908.57,.081,19,-57.05,138.43,.57368,3,11,427.03,215.97,.34532,12,13.19,920.44,.081,19,4.55,16.16,.57368,3,11,432.65,63.37,.34532,12,156.52,867.76,.081,19,8.78,-136.47,.57368,2,12,-393.46,-439.26,.61764,71,291.23,-243.74,.38236,3,12,-221.63,-440.73,.66708,13,-220.83,-440.73,.02649,71,240.66,-79.52,.30642,3,12,-26.73,-399.93,.66069,13,-25.93,-399.93,.04454,71,142.83,93.91,.29477,3,11,-634.32,-376.89,.28118,12,159.16,-286.47,.5515,13,159.96,-286.47,.16732,3,12,-138.08,-601.43,.46048,13,-137.27,-601.43,.02613,72,81.27,22.44,.5134,3,12,59.47,-540.16,.45343,13,60.27,-540.16,.05513,72,27.87,222.25,.49144,3,12,-302.11,30.12,.08219,13,-301.31,30.12,.31225,69,97.83,122.22,.60556,2,12,-346.04,284.11,.22953,69,128.38,-133.72,.77047,2,12,-445.71,258.19,.23768,69,229.28,-113.05,.76232,3,12,-223.03,-194.27,.3636,13,-222.23,-194.27,.10294,71,6.17,-155.4,.53346,2,12,-570.78,433.26,.25261,70,70.75,-312.98,.74739,2,12,-572.16,247.67,.24368,70,116.01,-133,.75632,3,12,-559.55,24.51,.2782,19,-1039.89,215.82,0,70,156.57,86.81,.7218,4,12,-508.95,-210.54,.34597,19,-1239.42,81.66,0,70,163.04,327.16,.4979,71,108.16,-423,.15613,3,12,-146.09,-339.91,.42864,13,-145.29,-339.91,.07102,71,121.72,-38.01,.50033,3,12,-156.67,-715.22,.41042,13,-155.86,-715.22,.01448,72,194.23,-.64,.5751,3,12,-15.68,-690.96,.39463,13,-14.88,-690.96,.02923,72,175.57,141.2,.57613,5,11,-102.51,357.52,.30141,12,-318.64,484.17,.09505,18,-523.67,162.55,.0071,69,90.54,-332.07,.09644,36,-115.37,-41.36,.5,4,11,18.16,306.65,.39654,12,-225.81,576.53,.10639,18,-403.47,110.58,.02279,36,5.29,-92.23,.47429,5,11,136.46,266.43,.30463,12,-143.72,670.73,.05653,18,-285.55,69.28,.0534,19,-285.55,69.28,.0483,36,123.59,-132.45,.53714],hull:60,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,66,68,68,70,70,72,72,74,74,76,76,78,78,80,80,82,82,84,84,86,86,88,88,90,90,92,92,94,94,96,96,98,98,100,100,102,102,104,104,106,106,108,108,110,110,112,112,114,114,116,116,118,0,118],width:3158,height:1522}},caijian:{caijian:{type:"clipping",end:"ear_L",vertexCount:43,vertices:[2,13,397.
6014,143.62,.51905,11,-146.41,-433.21,.48095,2,13,418.85,176.03,.54667,11,-108.18,-440.99,.45333,2,13,450.78,220.33,.56762,11,-55.09,-453.74,.43238,2,13,494.75,243.61,.58476,11,-16.86,-485.59,.41524,2,13,518.29,259.98,.58952,11,7.21,-501.17,.41048,2,13,539.29,255.2,.57619,11,10.75,-522.41,.42381,2,13,550.63,243.66,.55905,11,4.38,-537.27,.44095,2,13,562.37,218.19,.58762,11,-14.74,-557.8,.41238,2,13,571.98,204.3,.73905,11,-23.94,-571.96,.26095,3,13,587.7,197.86,.80057,11,-23.94,-588.95,.09943,208,-189.43,239.83,.1,2,13,623.82,224.37,.9,208,-145.11,233.28,.1,2,13,645.63,238.38,.9,208,-119.75,227.91,.1,2,13,678.53,227.19,.9,208,-104.23,196.81,.1,2,13,717.27,205.95,.9,208,-91.62,154.48,.1,3,13,741.47,192.21,.84588,14,294.55,462.06,.05127,208,-84.08,127.69,.10286,3,13,851.02,254.79,.76827,14,333.03,341.91,.09173,208,37.81,95.15,.14,3,13,910.44,283.78,.57509,14,349.05,277.76,.27063,208,100.46,73.98,.15429,3,13,961.6,261.84,.52288,14,316.97,232.27,.32569,208,121.4,22.41,.15143,3,13,973.28,283.25,.44031,14,335.48,216.4,.41112,208,144.76,29.41,.14857,3,13,987.94,281.12,.3341,14,330.36,202.5,.4659,208,153.68,17.59,.2,3,13,1002.9,296.33,.28,14,342.13,184.71,.52,208,175.02,17.88,.2,3,13,1050.51,327.26,.18633,14,362.51,131.71,.67367,208,230.62,6.4,.14,3,13,1069.07,353.61,.08,14,384.42,108.09,.72,208,262.34,12.08,.2,3,13,1064.41,432.16,.02667,14,462.24,96.34,.77333,208,314.27,71.21,.2,2,14,665.64,81.75,.84286,208,436.43,234.49,.15714,2,14,740.23,98.52,.9,208,462.62,306.32,.1,1,14,827.1,130.37,1,1,14,887.76,134.19,1,1,14,937.67,121.56,1,1,14,974.4,85.66,1,1,14,999.5,33.58,1,1,14,1143.63,-334.68,1,1,14,1269.82,-614.24,1,2,11,1670.13,-1213.48,.33333,14,1380.21,-858.79,.66667,2,11,2443.22,-484.03,.66667,14,2429.85,-691.37,.33333,1,11,1053.33,381.89,1,1,11,616.92,606.39,1,2,13,-750.18,521.98,.33333,11,-231.52,771.89,.66667,2,13,230.78,113.66,.48571,11,-237.23,-290.65,.51429,2,13,281.33,179.56,.63429,11,-157.09,-312.42,.36571,2,13,328.59,140.93,.48952,11,-174.9,-370.8,.51048,2,13,368.56,152.35,.49905,11,-149.17,-403.45,.50095,2,13,382.92,156.67,.52476,11,-139.73,-415.1,.47524],color:"ce3a3aff"}},caijian2:{caijian2:{type:"clipping",end:"highlight_r_eye",vertexCount:34,vertices:[1,75,19.72,-59.33,1,1,75,-22.17,-76.52,1,1,75,-115.55,-108.35,1,1,75,-133.39,-120.62,1,1,75,-163.22,-132.33,1,1,75,-197.78,-140.41,1,1,75,-223.99,-139.85,1,1,75,-260.23,-121.46,1,1,75,-289.22,-102.78,1,1,186,-83.44,-102.91,1,1,186,-78.98,-72.8,1,1,186,-57.79,-44.37,1,1,186,-30.19,-17.88,1,1,186,8.83,-3.94,1,1,186,51.76,1.91,1,1,186,94.97,-5.62,1,1,186,147.66,-29.31,1,1,186,176.59,-33.33,1,1,75,10.22,11.98,1,1,192,-97.17,-89.39,1,1,192,-82.16,-67.41,1,1,192,-65.77,-39.85,1,1,192,-32.27,-9.84,1,1,192,8.55,-1.82,1,1,192,50.07,-6,1,1,192,79.03,-26.59,1,1,192,90.19,-39.15,1,1,75,246.85,56.44,1,1,75,240.57,32.02,1,1,75,228.71,4.81,1,1,75,209.17,-17.17,1,1,75,172.88,-29.39,1,1,75,138.34,-30.08,1,1,75,95.43,-31.83,1],color:"ce3a3aff"}},card:{card:{type:"mesh",uvs:[.7899,.01817,.7041,.17106,.60903,.33476,.54816,.42754,.48846,.51853,.38643,.46139,0,.75327,.20093,.99882,.65773,.71312,.59048,.62972,.69581,.54715,.81308,.45521,.9638,.26835,1,.17106,.87105,0],triangles:[7,6,8,4,6,5,9,6,4,8,6,9,11,2,12,3,2,11,10,3,11,4,3,10,9,4,10,13,0,14,13,1,0,12,1,13,2,1,12],vertices:[1,33,-11.55,-110.71,1,1,33,155.24,-89.61,1,2,33,334.84,-68.96,.10837,34,44.06,-68.96,.89163,1,34,148.09,-61.5,1,2,34,250.11,-54.19,.63222,35,-24.94,-63,.36778,2,34,230.54,-143.52,.17405,35,-20.25,-154.32,.82595,1,35,380.41,-143.18,1,1,35,471.39,130.11,1,1,35,42.46,158.61,1,2,34,318.97,61.02,.20237,35,11.1,66.3,.79763,1,34,210.07,85.45,1,2,33,379.61,112.65,.04634,34,88.83,112.65,.95366,2,33,161.14,114.71,.99194,34,-129.64,114.71,.00806,1,33,60.87,90.11,1,1,33,-54,-70.12,1],hull:15,edges:[0,2,2,4,8,10,10,12,12,14,14,16,16,18,22,24,24,26,26,28,0,28,4,6,6,8,18,20,20,22],width:686,height:1030}},daimao:{daimao:{type:"mesh",uvs:[.12543,.32105,.05059,.50849,.04271,.65182,.10968,.63418,.20422,.49746,.35391,.33428,.53906,.28797,.74588,.38279,.81876,.55259,.85421,.79957,.868,.97157,.95663,.85911,.99012,.66726,.98421,.44895,.85027,.17771,.63558,.04761,.39922,.06525,.21407,.19756],triangles:[2,1,3,3,1,4,1,0,4,4,0,5,0,17,5,5,16,6,5,17,16,14,7,15,7,6,15,6,16,15,8,7,13,7,14,13,10,9,11,11,9,12,9,8,12,8,13,12],vertices:[2,117,145.11,-23.03,.44582,118,-.44,-26,.55418,2,117,209.81,16,.11249,118,75.04,-22.73,.88751,1,118,123.67,-2.05,1,2,117,216.22,67.88,.01938,118,105.53,19.73,.98062,3,116,204.34,154.06,.00847,117,155.52,48.8,.34279,118,43.11,32.07,.64874,3,116,165.19,77.4,.3082,117,70.6,34.7,.37639,118,-38.19,60.37,.31541,4,115,166.49,96.37,.228,116,98.41,36.78,.41354,117,-1.76,64.25,.35701,
60118,-87.54,120.98,.00146,4,114,175.65,83.33,.06212,115,98.59,34.18,.49921,116,6.51,42.49,.40507,117,-51.8,141.53,.0336,3,114,118.38,44.27,.39546,115,29.26,33.67,.49921,116,-41.98,92.04,.10533,2,114,30.72,16.18,.72879,115,-59.18,59.22,.27121,1,114,-31.01,1.06,1,1,114,15.39,-28.83,1,2,114,87.26,-31.87,.66667,115,-39.02,-12.19,.33333,3,114,166.32,-17.4,.33333,115,34.69,-44.25,.46041,116,-94.3,34.04,.20626,2,115,148.51,-36.91,.46041,116,-10.01,-42.79,.53959,3,115,229.54,22.68,.12708,116,89.13,-59.76,.59873,117,-84.9,14.31,.2742,2,116,179.28,-22.36,.39247,117,-1.24,-35.94,.60753,3,116,235.9,48.23,.05914,117,89.19,-39.5,.72002,118,-57.42,-13.66,.22084],hull:18,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,0,34],width:412,height:368}},daimao2:{daimao2:{type:"mesh",uvs:[.0254,.14796,.12945,.26485,.28164,.49862,.41985,.69222,.59495,.85314,.75373,.99905,.93542,.94426,.98978,.68492,.83293,.80546,.63571,.68857,.43848,.45844,.27543,.18449,.13256,.03838,0,.03107],triangles:[6,8,7,5,9,8,5,8,6,3,2,10,3,10,9,4,3,9,4,9,5,0,13,12,1,0,12,1,12,11,2,11,10,1,11,2],vertices:[1,89,26.08,-4.28,1,1,89,88.43,-6.11,1,1,89,185.48,-21.99,1,2,89,271.87,-32.48,.04428,96,60.52,-33.35,.95572,1,96,161.9,-25.19,1,1,97,45.01,-38.16,1,1,97,142.45,-20.1,1,1,97,168.48,41.1,1,1,97,85.31,8.69,1,2,96,165.16,18.49,.96311,97,-22.72,29.58,.03689,1,96,46.06,19.41,1,2,89,153.19,42.73,.92502,96,-60.83,37.48,.07498,1,89,68.91,42.21,1,1,89,2.64,14.75,1],hull:14,edges:[0,2,2,4,4,6,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,0,26,6,8,8,10],width:541,height:230}},ear_L:{ear_L:{type:"mesh",uvs:[.05181,.34966,.01248,.55339,.12521,.90724,.89992,.67938,.9576,.4971,.7939,0,.14552,.76118],triangles:[4,6,5,6,0,5,3,6,4,1,0,6,2,1,6,2,6,3],vertices:[1,165,-19.16,80.72,1,1,165,-52.29,26.79,1,1,165,-4.47,-85.51,1,1,165,457.86,-100.31,1,1,165,500.59,-54.36,1,1,165,430.31,103.94,1,1,165,14.69,-46.03,1],hull:6,edges:[0,2,2,4,6,8,0,10,0,12,12,8,4,6,8,10],width:591,height:289}},ear_R:{ear_R:{type:"mesh",uvs:[.01249,.63162,.14527,.9488,.22225,.98924,.92106,.50732,.96186,.36468,.73717,0],triangles:[4,1,5,1,0,5,4,3,1,2,1,3],vertices:[1,164,.61,75.5,1,1,164,-8.58,-67.43,1,1,164,16.08,-101.54,1,1,164,417.41,-122.65,1,1,164,464.78,-84.96,1,1,164,444.36,98.42,1],hull:6,edges:[0,2,2,4,4,6,6,8,2,8,10,0,8,10],width:505,height:399}},eye:{reye:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[228,-59.59,64,-59.59,64,138.41,228,138.41],hull:4,edges:[0,2,2,4,4,6,0,6],width:164,height:198}},face:{face:{type:"mesh",uvs:[.40232,.69619,.45328,.71585,.51634,.72976,.57385,.73983,.60967,.73887,.65356,.71009,.69644,.66598,.72823,.61658,.74033,.57918,.73781,.51587,.73579,.46722,.73932,.42166,.7474,.37131,.73932,.31808,.7141,.26005,.65943,.20812,.57467,.17359,.42262,.1653,.33678,.20402,.29816,.28413,.2844,.35706,.27501,.45413,.28085,.5333,.30304,.60522,.34946,.66468,.42398,.67552,.46118,.69046,.52249,.7059,.57228,.71487,.60057,.71437,.63149,.69345,.66975,.65758,.70328,.60976,.71272,.57439,.71848,.51811,.70852,.46879,.71691,.41848,.72424,.37165,.71429,.32863,.69385,.27384,.65245,.24245,.58695,.2021,.48191,.18799,.36528,.21763,.3261,.28824,.31404,.36363,.31131,.45267,.31183,.52888,.33803,.60211,.37367,.64594,.57799,.51157,.57584,.53608,.59561,.54466,.615,.54797,.61065,.56632,.61452,.5226,.61172,.54774,.47642,.63923,.42078,.57869,.39296,.48335,.38417,.38732,.54816,.6267,.51009,.55155,.50131,.48544,.49472,.38244,.6404,.63088,.67261,.55363,.66602,.46873,.6382,.37757,.54604,.47727,.60885,.44947],triangles:[55,70,67,70,64,68,69,64,70,59,60,64,63,59,64,69,63,64,62,63,69,58,59,63,58,63,62,50,69,70,50,62,69,67,70,68,43,64,60,46,60,59,42,17,16,15,41,16,43,18,17,40,41,15,40,15,14,39,40,14,44,19,18,43,44,18,39,14,13,38,39,13,20,19,44,45,20,44,43,17,42,38,13,12,37,38,12,68,41,40,68,40,39,68,39,38,68,38,37,41,64,42,41,42,16,64,41,68,43,42,64,60,44,43,60,45,44,36,68,37,11,37,12,36,37,11,45,21,20,46,45,60,46,21,45,10,36,11,36,67,68,35,67,36,10,35,36,34,35,10,9,34,10,50,70,55,47,46,59,21,46,47,22,21,47,52,51,50,55,52,50,56,52,55,66,53,55,56,55,53,51,62,50,34,66,67,34,67,35,66,55,67,54,52,56,54,56,53,33,66,34,47,59,58,33,34,9,8,33,9,48,47,58,23,22,47,23,47,48,32,66,33,7,33,8,32,33,7,61,62,51,54,61,51,54,51,52,66,54,53,65,66,32,65,54,66,61,54,65,57,58,62,57,62,61,49,48,58,25,49,58,31,65,32,24,48,49,23,48,24,6,31,32,6,32,7,57,25,58,26,25,57,30,61,65,30,65,31,0,49,25,24,49,0,27,57,61,61,28,27,26,57,27,5,30,31,5,31,6,30,29,61,29,28,61,1,25,26,0,25,1,2,26,27,1,26,2,4,29,30,4,30,5,3,28,29,3,29,4,2,27,28,3,2,28],vertices:[2,36,-122.28,-130.42,.67,80,-107.83,-203.2,.33,2,36,-41.92,-163.04,.67,80,-163.63,-269.58,.33,2,36,57.53,-186.11,.67,80,-216.23,-357.08,.33,2,36,148.22,-202.82,.67,80,-260.08,-438.21,.33,2,36,204.71,-201.23,.67,80,-275.98,-492.44,.33,2,36,273.93,-153.49,.67,80,-251.91,-573,.33,2,36,341.55,-80.3,.67,80,-203.12,-659.89,.33,2,36,391.67,1.64,.67,80,-140.62,-732.83,.33,2,36,410.77,63.7,.67,80,-87.47,-770.12,.33,2,36,406.79,168.72,.67,80,13.66,-798.71,.33,2,36,403.61,249.43,.67,80,91.43,-820.56,.33,2,36,409.18,325.01,.67,80,161.61,-849.16,.33,2,36,421.91,408.55,.67,80,237.15,-887.02,.33,2,36,409.18,496.86,.67,80,325.09,-902.13,.33,2,36,369.4,593.12,.67,80,428.93,-893.96,.33,2,36,283.18,679.28,.67,80,537.47,-838.5,.33,2,36,149.53,736.56,.67,80,633.16,-729.01,.33,2,36,-90.26,750.33,.67,80,720.16,-505.14,.33,2,36,-225.64,686.08,.67,80,700.78,-356.55,.33,2,36,-286.53,553.19,.67,80,593.12,-257.66,.33,2,36,-308.24,432.19,.67,80,484.71,-199.71,.33,2,36,-323.05,271.15,.67,80,336.08,-135.98,.33,2,36,-313.84,139.81,.67,80,208.29,-104.25,.33,2,36,-278.84,20.5,.67,80,84,-100.78,.33,2,36,-205.65,-78.16,.67,80,-32.41,-14
600,.33,2,36,-88.13,-96.13,.67,80,-85.73,-246.25,.33,2,36,-29.46,-120.92,.67,80,-127.4,-294.43,.33,2,36,67.23,-146.54,.67,80,-181.58,-378.51,.33,2,36,145.74,-161.41,.67,80,-219.93,-448.61,.33,2,36,190.37,-160.59,.67,80,-232.9,-491.32,.33,2,36,239.12,-125.88,.67,80,-214.91,-548.4,.33,2,36,299.45,-66.38,.67,80,-176.9,-624.13,.33,2,36,352.34,12.96,.67,80,-117.73,-698.9,.33,2,36,367.22,71.63,.67,80,-66.5,-731.14,.33,2,36,376.31,165.01,.67,80,19.54,-768.57,.33,2,36,360.61,246.83,.62,80,102.21,-778.85,.38,2,36,373.83,330.3,.67,80,177.53,-817.16,.33,2,36,385.4,407.98,.67,80,247.86,-852.11,.33,2,36,369.7,479.36,.67,80,320.61,-859.17,.33,2,36,337.47,570.26,.67,80,417.02,-856.53,.33,2,36,272.18,622.32,.67,80,486.67,-810.48,.33,2,36,168.88,689.26,.67,80,582.19,-732.84,.33,2,36,3.23,712.68,.67,80,655.54,-582.47,.33,2,36,-180.69,663.51,.67,80,665.45,-392.35,.33,2,36,-242.48,546.36,.67,80,573.05,-297.47,.33,2,36,-261.5,421.29,.67,80,459.93,-240.81,.33,2,36,-265.81,273.58,.67,80,320.74,-191.19,.33,2,36,-264.98,147.14,.67,80,200.21,-153,.33,2,36,-223.66,25.66,.67,80,71.9,-154.86,.33,2,36,-167.47,-47.06,.67,80,-14.6,-185.9,.33,2,36,154.75,175.86,.57,80,98.14,-561.14,.43,2,36,151.36,135.19,.57,80,60.5,-545.38,.43,2,36,182.54,120.95,.54,80,37.35,-570.65,.46,2,36,213.12,115.48,.57,80,22.71,-598.05,.43,2,36,206.26,85.03,.54143,80,-4.14,-582.15,.45857,2,36,212.36,157.56,.57,80,62.98,-610.31,.43,2,36,207.94,115.85,.47857,80,24.67,-593.24,.52143,2,36,-5.43,-35.93,.54991,80,-53.95,-343.48,.45009,2,36,-93.17,64.51,.47159,80,68.64,-290.97,.52841,2,36,-137.04,222.68,.3874,80,232.63,-297.99,.6126,2,36,-150.89,382,.37495,80,388.46,-333.92,.62505,2,36,107.71,-15.15,.5671,80,-69.06,-457.52,.4329,2,36,47.68,109.54,.48268,80,68.06,-438.84,.51732,2,36,33.82,219.21,.35051,80,176.66,-459.47,.64949,2,36,23.43,390.08,.44564,80,342.41,-502.25,.55436,2,36,253.17,-22.07,.6073,80,-120.49,-593.76,.3927,2,36,303.97,106.07,.5359,80,-14.24,-681.59,.4641,2,36,293.58,246.92,.55111,80,122.95,-715.12,.44889,2,36,249.71,398.16,.49113,80,280.35,-720,.50887,2,36,104.37,232.77,.3764,80,167.81,-530.76,.6236,2,36,203.41,278.88,.37575,80,181.15,-639.19,.62425],hull:25,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,0,48],width:1577,height:1659}},gg:{gg:{type:"mesh",uvs:[.02651,.06161,.02776,.18417,.04157,.33193,.09932,.52501,.20559,.68549,.31858,.81309,.48807,.90376,.67137,.9726,.83207,.98267,.87852,.94238,.94004,.80638,.9752,.6284,.88229,.6687,.73038,.67542,.58851,.60825,.51318,.45882,.42279,.28421,.30728,.13142,.16918,.04075,.0361,.02228],triangles:[10,12,11,9,13,12,9,12,10,7,14,13,8,7,13,6,14,7,9,8,13,4,3,16,4,16,15,5,4,15,5,15,14,6,5,14,18,1,0,18,0,19,2,1,18,17,3,2,17,2,18,3,17,16],vertices:[1,92,-18.22,-10.43,1,1,92,20.28,-43.68,1,2,92,71.23,-78.65,.98525,93,-92.62,-69.65,.01475,2,92,152.43,-107.88,.55912,93,-14.79,-106.93,.44088,2,92,241.39,-107.98,.0626,93,73.7,-116.02,.9374,2,93,155.71,-112.55,.97293,94,-101.91,-69.73,.02707,2,93,250.42,-76.56,.28846,94,-2.3,-88.23,.71154,1,94,103.06,-96.35,1,1,94,191.34,-83.01,1,1,94,213.35,-61.56,1,1,94,235.8,.47,1,1,94,240.48,76.71,1,1,94,193.19,50.23,1,1,94,111.05,31.01,1,2,93,208.43,51.43,.28642,94,28.38,42.94,.71358,2,93,135.67,68.78,.97306,94,-24.75,95.58,.02694,2,92,196.87,92.72,.14575,93,49.69,88.15,.85425,2,92,106.89,86.88,.8354,93,-40.41,91.43,.1646,1,92,27.87,54.53,1,1,92,-26.89,4.39,1],hull:20,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,0,38],width:555,height:415}},highlight_l_eye:{highlight_l_eye:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[-122.78,-133.19,-261.78,-133.19,-261.78,39.81,-122.78,39.81],hull:4,edges:[0,2,2,4,4,6,0,6],width:139,height:173}},highlight_r_eye:{highlight_r_eye:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[218.22,-27.19,77.22,-27.19,77.22,149.81,218.22,149.81],hull:4,edges:[0,2,2,4,4,6,0,6],width:141,height:177}},houtou:{houtou:{type:"mesh",uvs:[.01226,.37067,.00318,.43936,.01016,.52649,.04926,.62869,.09394,.71498,.13443,.7887,.1812,.78535,.23844,.80713,.25844,.89006,.29125,.95373,.33732,.99562,.43017,.98221,.48672,.93111,.51464,.82723,.57119,.67477,.67432,.55591,.77415,.51402,.90469,.49726,.97101,.46878,.97101,.38585,.96892,.27945,.94448,.17139,.88445,.06416,.80137,0,.79439,.06583,.78322,.15212,.76018,.20573,.68758,.18647,.56262,.18647,.43766,.22416,.35039,.29705,.27787,.38194,.26181,.43556,.20457,.45818,.13545,.43472,.05727,.38362,.21554,.50643,.19184,.58632,.18563,.67502,.18845,.75356,.26124,.49221,.26575,.58361,.26632,.68382,.26293,.76236,.03913,.44532,.07016,.52454,.1232,.6024,.06282,.43719,.11417,.49204,.16777,.52521,.20444,.54282,.31304,.88726,.32309,.7589,.33672,.62796,.32955,.51942,.32811,.43672,.40133,.92086,.42718,.79681,.44225,.66501,.46164,.57111,.46451,.43328,.41058,.34993,.50032,.29049,.6683,.25775,.53119,.40334,.68912,.36027,.80691,.22819,.87345,.27858,.9219,.32509,.79141,.26075,.86118,.32819,.92125,.39331,.83663,.07161,.85601,.1406,.8657,.21502,.8572,.07813,.89408,.14944,.91304,.22874],tri
60angles:[64,63,65,64,60,62,59,60,64,52,53,58,57,52,58,51,52,57,72,24,23,23,75,72,22,75,23,73,72,75,21,76,22,75,22,76,73,75,76,74,73,76,25,72,73,72,25,24,66,73,74,66,25,73,26,25,66,77,76,21,74,76,77,63,28,27,69,26,66,67,74,77,66,74,67,69,66,67,77,21,20,62,29,28,68,77,20,67,77,68,70,69,67,70,67,68,61,30,29,61,29,62,26,63,27,69,63,26,69,65,63,68,20,19,71,70,68,71,68,19,63,64,62,63,62,28,60,61,62,55,31,30,55,30,61,55,61,60,32,31,55,47,35,34,0,35,47,44,1,0,47,44,0,71,19,18,48,47,34,40,33,32,40,32,55,17,70,71,17,71,18,36,33,40,70,16,65,70,65,69,16,70,17,54,55,60,40,55,54,45,47,48,44,47,45,49,34,33,49,33,36,48,34,49,2,1,44,2,44,45,50,49,36,15,64,65,15,65,16,59,54,60,41,40,54,36,40,41,50,36,41,37,49,50,37,50,41,46,48,49,46,49,37,45,48,46,53,54,59,41,54,53,3,2,45,3,45,46,58,53,59,15,59,64,15,14,59,58,59,14,38,46,37,42,41,53,37,41,42,38,37,42,4,3,46,4,46,38,39,38,42,4,38,39,52,42,53,43,39,42,43,42,52,39,5,4,6,5,39,7,39,43,6,39,7,13,58,14,57,58,13,52,7,43,51,7,52,8,7,51,56,51,57,12,56,57,13,12,57,9,8,51,11,56,12,10,51,56,10,56,11,9,51,10],vertices:[2,113,-766.13,-118.28,.9,175,-843.07,165.98,.1,2,113,-779.15,-200.37,.9,175,-856.08,83.9,.1,2,113,-769.14,-304.48,.9,175,-846.07,-20.22,.1,2,113,-713.08,-426.62,.9,175,-790.01,-142.35,.1,2,113,-649.01,-529.73,.9,175,-725.94,-245.46,.1,2,113,-590.94,-617.83,.9,175,-667.88,-333.56,.1,2,113,-523.87,-613.82,.9,175,-600.8,-329.55,.1,2,113,-441.78,-639.85,.9,175,-518.71,-355.58,.1,2,113,-413.11,-738.96,.9,175,-490.04,-454.69,.1,2,113,-366.06,-815.04,.9,175,-442.99,-530.77,.1,2,113,-299.99,-865.1,.9,175,-376.92,-580.83,.1,2,113,-166.84,-849.08,.9,175,-243.78,-564.81,.1,2,113,-85.76,-788.01,.9,175,-162.69,-503.74,.1,2,113,-45.71,-663.88,.9,175,-122.64,-379.61,.1,2,113,35.38,-481.68,.7,175,-41.55,-197.41,.3,2,113,183.26,-339.64,.7,175,106.33,-55.37,.3,2,113,326.41,-289.58,.6,175,249.48,-5.32,.4,2,113,513.62,-269.56,.8,175,436.69,14.7,.2,2,113,608.72,-235.53,.8,175,531.79,48.74,.2,2,113,608.72,-136.42,.8,175,531.79,147.85,.2,2,113,605.72,-9.28,.85,175,528.79,274.99,.15,2,113,570.68,119.86,.9,175,493.75,404.13,.1,2,113,484.59,248,.9,175,407.65,532.27,.1,2,113,365.46,324.67,.9,175,288.52,608.93,.1,2,113,355.45,246,.9,175,278.51,530.26,.1,2,113,339.43,142.89,.9,175,262.5,427.15,.1,2,113,306.39,78.82,.8,175,229.46,363.08,.2,2,113,202.28,101.84,.85,175,125.35,386.11,.15,2,113,23.08,101.84,.9,175,-53.85,386.11,.1,2,113,-156.11,56.79,.9,175,-233.04,341.06,.1,2,113,-281.25,-30.3,.9,175,-358.18,253.97,.1,2,113,-385.25,-131.75,.9,175,-462.18,152.51,.1,2,113,-408.27,-195.82,.9,175,-485.2,88.44,.1,2,113,-490.36,-222.85,.9,175,-567.29,61.41,.1,2,113,-589.47,-194.82,.9,175,-666.4,89.44,.1,2,113,-701.59,-133.76,.9,175,-778.52,150.51,.1,2,113,-474.63,-280.51,.8,175,-551.57,3.75,.2,2,113,-508.62,-375.99,.7,175,-585.55,-91.72,.3,2,113,-517.52,-481.98,.75,175,-594.45,-197.71,.25,2,113,-513.47,-575.83,.8,175,-590.4,-291.57,.2,2,113,-409.1,-263.52,.75,175,-486.03,20.74,.25,2,113,-402.62,-372.75,.7,175,-479.56,-88.48,.3,2,113,-401.81,-492.5,.65,175,-478.75,-208.23,.35,2,113,-406.67,-586.35,.75,175,-483.6,-302.08,.25,2,113,-727.6,-207.49,.8,175,-804.54,76.78,.2,2,113,-683.1,-302.15,.8,175,-760.04,-17.88,.2,2,113,-607.05,-395.2,.73429,175,-683.98,-110.93,.26571,2,113,-693.62,-197.78,.8,175,-770.55,86.49,.2,2,113,-619.99,-263.31,.75,175,-696.93,20.95,.25,2,113,-543.13,-302.96,.75,175,-620.06,-18.69,.25,2,113,-490.54,-324,.75,175,-567.47,-39.73,.25,2,113,-334.82,-735.61,.6,175,-411.75,-451.34,.4,2,113,-320.41,-582.22,.37714,175,-397.34,-297.96,.62286,2,113,-300.85,-425.75,.6,175,-377.78,-141.48,.4,2,113,-311.14,-296.04,.6,175,-388.07,-11.77,.4,2,113,-313.2,-197.21,.65,175,-390.13,87.05,.35,2,113,-208.2,-775.76,.6,175,-285.13,-491.49,.4,2,113,-171.14,-627.52,.5,175,-248.07,-343.25,.5,2,113,-149.52,-470.01,.5,175,-226.45,-185.75,.5,2,113,-121.73,-357.81,.5,175,-198.66,-73.54,.5,2,113,-117.61,-193.1,.45,175,-194.54,91.17,.55,2,113,-194.93,-93.5,.5,175,-271.86,190.77,.5,2,113,-66.25,-22.47,.6,175,-143.18,261.8,.4,2,113,174.63,16.65,.5,175,97.7,300.92,.5,2,113,-21.99,-157.32,.4,175,-98.92,126.95,.6,2,113,204.49,-105.85,.5,175,127.56,178.42,.5,2,113,373.4,51.98,.65,175,296.47,336.24,.35,2,113,468.82,-8.24,.65,175,391.88,276.03,.35,2,113,538.29,-63.82,.7,175,461.36,220.45,.3,2,113,351.17,13.07,.65,175,274.24,297.34,.35,2,113,451.22,-67.52,.6,175,374.28,216.75,.4,2,113,537.36,-145.33,.7,175,460.43,138.93,.3,2,113,416.02,239.09,.76857,175,339.08,523.36,.23143,2,113,443.8,156.65,.7,175,366.87,440.92,.3,2,113,457.7,67.72,.7,175,380.77,351.99,.3,2,113,445.51,231.31,.80866,175,368.58,515.57,.19134,2,113,498.4,146.09,.743,175,421.47,430.36,.257,2,113,525.59,51.32,.7498,175,448.65,335.59,.2502],hull:36,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,66,68,68,70,0,70,0,88,88,90,90,92,92,76,0,94,94,96,96,98,98,100,46,144,144,146,146,148,148,134,46,150,150,152,152,154,154,136],width:1434,height:1195}},leye:{leye:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[-107,-161.59,-286,-161.59,-286,33.41,-107,33.41],hull:4,edges:[0,2,2,4,4,6,0,6],width:179,height:195}},liuhai:{liuhai:{type:"mesh",uvs:[.15006,.09947,.07676,.20444,.02789,.33435,.01567,.51019,.03677,.64928,.07121,.79494,.14007,.95371,.21004,.99964,.24003,.96946,.27779,.93534,.29223,.87367,.25558,.79514,.22675,.71439,.22099,.64823,.27699,.72704,.3544,.8146,.43181,.87492,.50016,.89535,.55204,.8866,.50428,.85644,.45981,.82628,.54216,.84963,.60475,.84573,.66239,.83309,.73237,.80308,.78672,.77097,.86907,.73984,.9646,.69022,.99013,.60946,.9786,.57054,.9086,.49855,.82049,.39639,.74225,.26309,.66567,.14148,.57591,.06072,.46391,.01888,.34862,.00526,.21933,.04905,.35035,.11696,.47007,.2132,.58195,.37552,.7056,.59118,.25515,.15406,.34544,.3848,.42493,.60162,.5005,.75814,.15898,.23059,.11619,.40992,.13346,.5935,.16486,.78133,.19939,.56221,.1837,.40861],triangles:[31,41,40,41,31,30,27,30,29,27,29,28,26,41,30,27,26,30,40,33,32,40,39,33,43,39,40,31,40,32,38,36,35,37,36,38,39,35,34,38,35,39,33,39,34,44,40,41,44,14,13,45,44,41,15,14,44,25,41,26,41,23,45,25,24,41,45,15,44,20,15,45,24,23,41,22,45,23,21,20,45,22,21,45,16,15,20,19,16,20,17,19,18,17,16,19,43,38,39,51,46,43,50,51,43,44,43,40,50,43,44,42,37,38,43,42,38,13,50,44,48,50,13,49,48,13,49,13,12,4,48,49,5,4,49,49,12,11,10,8,11,6,5,49,8,6,49,11,8,49,9,8,10,7,6,8,47,46,51,47,2,46,3,2,47,50,48,47,50,47,51,3,47,48,4,3,48,0,37,42,46,0,42,1,0,46,46,42,43,46,2,1],vertices:[4,86,19.84,-54.97,.70061,87,-166.63,-3.8,.09678,83,-19.6,-99.48,.10229,95,-151.43,-119.69,.10032,5,86,119.71,-84.88,.65402,87,-80.85,-63.03,.29822,88,-298.75,55.8,.00201,83,36.39,-187.41,.0456,95,-169.18,-222.42,15e-5,3,86,228.58,
60-86.99,.39409,87,22.07,-98.59,.51684,88,-217.33,-16.51,.08907,3,86,357,-44.88,.15309,87,157.22,-98.11,.55966,88,-92.34,-67.89,.28725,3,86,447.77,14.09,.02321,87,261.74,-69.98,.38427,88,14.98,-82,.59252,2,87,370.24,-29.41,.16121,88,130.75,-86.13,.83879,2,87,486.1,43.07,.02605,88,265.54,-63.62,.97395,1,88,318.27,-13.95,1,1,88,304.47,18.93,1,3,88,289.93,59.42,.99997,84,379.79,-315.98,2e-5,85,58.9,-346.01,1e-5,4,87,413.25,175.04,.00171,88,248.87,86.19,.99464,84,348.84,-277.97,.00248,85,39.74,-300.89,.00117,4,87,356.15,136.85,.02301,88,181.49,72.82,.94075,84,280.59,-270.17,.024,85,-23.64,-274.42,.01224,4,87,296.75,105.58,.05534,88,114.64,66.72,.79858,84,215.06,-255.61,.07645,85,-82.54,-242.21,.06963,4,87,246.7,96.06,.08712,88,64.76,77.12,.5664,84,170.72,-230.52,.13857,85,-118.15,-205.78,.20791,4,87,302.52,151.7,.08016,88,137.65,107.11,.32634,84,249.29,-224.16,.16644,85,-40.92,-221.52,.42707,4,87,363.36,227.23,.05115,88,222.81,153.53,.1572,84,344.54,-205.9,.13299,85,55.66,-230.47,.65866,4,87,403.42,300.98,.01812,88,288.08,206.27,.0782,84,422.78,-175.54,.07286,85,139.25,-223.07,.83082,4,87,413.73,363.95,.00384,88,321.75,260.48,.05488,84,471.36,-134.18,.02486,85,197.42,-196.85,.91642,4,87,403.04,410.16,92e-5,88,329.6,307.25,.04883,84,493.09,-92.02,.00993,85,230.01,-162.39,.94032,4,87,383.71,365.11,87e-5,88,294.48,273.06,.04416,84,449.22,-113.88,.00967,85,181.8,-171.19,.9453,4,87,364.13,323.04,.0012,88,260.26,241.72,.0353,84,407.08,-133.31,.01169,85,135.91,-178.13,.95181,4,87,375.58,398.83,79e-5,88,299.9,307.32,.0214,84,464.82,-82.91,.00771,85,205.39,-145.78,.9701,5,87,367.78,455.01,38e-5,88,314.23,362.19,.00979,84,495.19,-35,.00352,85,247.89,-108.21,.98263,91,122.68,-313.7,.00369,4,88,320.82,414.85,.00265,84,517.51,13.14,11e-5,85,282.71,-68.18,.95769,91,157.16,-273.37,.03956,3,88,318.12,482.17,61e-5,85,318.01,-10.79,.84326,91,191.96,-215.68,.15613,3,88,309.59,536.5,7e-5,85,341.22,39.07,.62727,91,214.74,-165.62,.37266,2,85,384.74,104.1,.36426,91,257.7,-100.22,.63574,2,85,428.79,187.63,.15149,91,301.03,-16.31,.84851,2,85,408.41,250.44,.03857,91,280.11,46.32,.96143,3,85,381.7,267.29,.00418,90,489.86,103.34,.0161,91,253.25,62.94,.97971,4,85,297.79,271.07,2e-4,95,596.29,-44.83,.00777,90,406.54,92.69,.13014,91,169.32,66,.86189,3,95,488.24,-16.41,.0907,90,295.07,85.15,.28014,91,58.1,76.71,.62916,3,95,376.14,37.16,.28474,90,171.73,100.15,.39793,91,-61.15,111.6,.31733,3,95,269.76,83.7,.57434,90,56.06,110.32,.31985,91,-173.62,140.46,.10581,4,83,71.24,276.23,.01108,95,168.54,97.15,.81366,90,-44.15,90.77,.16985,91,-275.68,137.49,.0054,4,86,-147.33,182.8,.06536,83,9.45,189.73,.06777,95,64.63,74.73,.83091,90,-135.48,36.36,.03596,3,86,-116.43,82.6,.24184,83,-32.71,93.72,.12445,95,-31.16,32.06,.63371,4,86,-40.09,-12.2,.52498,87,-210.47,55.36,.00444,83,-36.96,-27.93,.15897,95,-116.15,-55.07,.3116,4,83,49.15,68.77,.39292,84,-93.24,100.6,.00263,95,12.62,-41.47,.5982,90,-147.7,-90.35,.00626,4,83,152.73,149.05,.0492,84,29.61,146.24,.13339,95,143.27,-51.77,.23985,90,-20.59,-58.43,.57756,3,84,189.61,156.77,.14274,85,7.7,160.98,.08937,90,139.6,-65.47,.76789,3,85,198.08,101.24,.51039,90,337.4,-91.72,.0224,91,71.07,-104.69,.4672,2,86,21.45,48.91,.26095,83,49.56,-21.94,.73905,4,86,152.6,192.84,91e-5,87,36.03,191.04,.03789,88,-93.38,245.62,.00159,84,71.44,-21.84,.95961,4,87,195.36,276.9,.02397,88,86.7,263.82,.03477,84,248.5,-59.38,.34399,85,4.16,-63.02,.59728,4,87,308.98,355.28,.00169,88,221.69,292.63,.02475,84,385.85,-73.06,.01432,85,132.28,-114.36,.95925,1,86,109.27,-8.53,1,4,87,72.92,-14.03,.98806,88,-137.94,42.08,3e-5,83,197.11,-202.1,78e-5,84,-33.02,-202.13,.01113,4,87,211.7,13.55,.59229,88,.8,14.34,.39387,84,90.67,-270.82,.01152,85,-206.25,-222.22,.00232,1,88,146.52,-2.2,1,6,86,329.15,123.81,4e-5,87,182.72,70.95,.43489,88,-3.96,78.47,.35749,83,331.31,-166.53,25e-5,84,105.68,-208.29,.15074,85,-174.44,-166.34,.05659,5,86,226.24,65.04,.00434,87,66.7,46.76,.77985,88,-120.38,100.61,36e-5,83,215.03,-143.68,61e-5,84,1.54,-151.73,.21484],hull:38,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,66,68,68,70,70,72,72,74,0,74],width:905,height:766}},lleg1:{lleg1:{type:"mesh",uvs:[.19978,.0481,.10604,.14128,0,.35544,.01484,.65125,.01959,.82807,.02075,.87132,.02175,.90862,.02802,.93931,.07415,.98949,.35686,1,.50887,.90805,.73942,.65667,.9117,.3977,1,.12465,.87876,0,.48353,0],triangles:[6,10,9,9,8,7,9,7,6,6,5,10,11,10,4,10,5,4,4,3,11,11,3,12,1,12,2,15,12,1,13,12,15,0,15,1,12,3,2,13,15,14],vertices:[1,5,115.91,-299.39,1,1,5,290.97,-339.29,1,1,5,678.31,-349.55,1,1,5,1191.18,-243.64,1,2,5,1498.31,-183.39,.84857,6,207.61,84.87,.15143,2,5,1573.44,-168.66,.70286,6,135.18,109.65,.29714,2,5,1638.24,-155.94,.50857,6,72.69,131.03,.49143,1,6,19.92,144.73,1,1,5,1771.81,-91,1,1,5,1751.34,122.84,1,1,5,1570.42,206.51,1,1,5,1101.22,297.53,1,1,5,626.81,342.73,1,1,5,139.4,320.9,1,1,5,-60.95,190.66,1,1,5,-6.74,-103.58,1],hull:16,edges:[0,2,2,4,4,6,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,0,30,10,12,12,14,6,8,8,10],width:757,height:1770}},lleg2:{lleg2:{type:"mesh",uvs:[.05093,.14236,.14774,.14433,.20281,.16301,.28459,.21119,.299
6061,.24757,.28292,.2928,.34301,.36851,.40142,.5337,.44315,.75002,.51992,.85916,.76526,1,.9405,1,1,.89947,1,.82868,.9405,.74117,.99558,.66939,.91547,.62219,.88042,.5219,.7252,.37638,.56665,.20824,.575,.12761,.51992,.02437,.38306,.01356,.26656,.01785,.16943,.02142,.0476,.05092,0,.09222,.41314,.18807,.36901,.13432,.32664,.08848,.20659,.08292,.09503,.08822],triangles:[21,28,29,21,29,22,28,21,20,2,29,28,27,28,20,19,27,20,3,2,28,3,28,27,4,3,27,19,4,27,30,24,23,31,25,24,30,31,24,29,23,22,30,23,29,26,25,31,0,26,31,1,31,30,0,31,1,2,1,30,2,30,29,19,6,4,5,4,6,6,19,18,7,6,18,7,18,17,14,16,15,16,8,7,16,7,17,8,16,14,9,8,14,9,14,13,10,9,13,12,10,13,11,10,12],vertices:[2,205,297.69,112.59,.99803,204,322.14,314.89,.00197,2,205,189.5,113.08,.89765,204,269.13,220.57,.10235,3,6,1609.3,208.27,.00477,205,126.95,146.64,.60013,204,209.4,182.22,.3951,3,6,1492.65,152.75,.23098,205,32.9,235.21,.0819,204,86.28,143.08,.68713,3,6,1422.04,160.02,.68009,205,14.07,303.65,.00918,204,17.31,159.88,.31074,2,6,1347.46,206.28,.94521,204,-50.28,215.85,.05479,1,6,1189.73,191.06,1,1,6,872.76,234.37,1,1,6,470.67,327.68,1,1,6,246.97,316.1,1,1,6,-96.37,147.2,1,1,6,-161.87,-37.26,1,1,6,-4.49,-163.66,1,1,6,122,-208.57,1,1,6,300.59,-201.46,1,1,6,408.25,-304.97,1,1,6,522.52,-250.59,1,1,6,714.82,-277.32,1,1,6,1032.83,-206.26,1,2,6,1392.51,-146.02,.36864,204,-53.56,-139.3,.63136,1,204,77.92,-217.84,1,2,205,-219.23,-126.72,.06293,204,280.04,-253.18,.93707,2,205,-65.81,-142.63,.45728,204,368.52,-126.84,.54272,2,205,64.02,-130.61,.98228,204,421.11,-7.53,.01772,1,205,172.26,-120.58,1,1,205,306.61,-60.6,1,1,205,357.41,19.26,1,1,204,59.22,-4.6,1,1,204,172.38,-7.66,1,2,205,-7.07,1.24,.34468,204,271.33,-5.58,.65532,1,205,127.28,-5.27,1,2,205,251.53,8.51,.99956,204,390.67,223.96,44e-5],hull:27,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,48,50,50,52,0,52,44,46,46,48],width:1117,height:1896}},lyanbai:{lyanbai:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[-76.5,-157.2,-327.5,-157.2,-327.5,58.8,-76.5,58.8],hull:4,edges:[0,2,2,4,4,6,0,6],width:251,height:216}},l_jiemao:{l_jiemao:{type:"mesh",uvs:[.08344,.95216,.25283,.92543,.36664,.64923,.60219,.49331,.79804,.54231,.95684,.59132,.95155,.33294,.85362,.08793,.71138,.06284,.57572,.03892,.35076,.14584,.13638,.3864,.03051,.69823,.00934,.92988,.13204,.65068,.23052,.44756,.41395,.25581,.59642,.18756,.72,.18756,.85998,.29481,.20155,.74493,.34347,.53856,.50084,.41181,.65628,.37931,.80302,.43618],triangles:[2,22,3,4,24,5,5,24,6,24,19,6,3,23,4,4,23,24,3,22,23,23,18,24,24,18,19,22,17,23,22,16,17,23,17,18,18,7,19,6,19,7,17,8,18,17,9,8,18,8,7,13,12,0,0,20,1,0,14,20,0,12,14,1,20,2,20,21,2,20,15,21,20,14,15,14,12,11,14,11,15,2,21,22,21,16,22,21,15,16,15,10,16,15,11,10,17,16,9,16,10,9],vertices:[1,188,177.32,15.23,1,1,188,128.75,46.64,1,2,188,63.82,26.78,.96781,187,-30.45,-61.34,.03219,1,187,47.58,-25.03,1,1,187,114.64,-30.87,1,1,187,169.14,-37.46,1,1,187,164.17,14.52,1,2,188,-136.4,40.24,.00832,187,127.93,61.9,.99168,2,188,-101.56,6.32,.24198,187,79.35,64.02,.75802,2,188,-68.33,-26.02,.46482,187,33.01,66.04,.53518,1,188,5.11,-56.42,1,1,188,92.43,-63.38,1,1,188,159.7,-36.2,1,1,188,194.32,-3.91,1,2,188,126.64,-22.37,.9914,187,-110.05,-66.48,.0086,2,188,74.95,-33.86,.9897,187,-79.12,-23.49,.0103,2,188,1.99,-25.67,.75012,187,-19.22,18.96,.24988,2,188,-55.27,1.91,.29499,187,41.86,36.49,.70502,2,188,-88.27,27.92,.19078,187,83.8,39.05,.80922,2,188,-112.23,74.4,.06743,187,132.63,20.32,.93257,2,188,119.87,7.21,.99154,187,-85.3,-84.05,.00846,2,188,56.16,4.35,.93693,187,-39.67,-39.51,.06307,2,188,-1.7,17.37,.39214,187,12.18,-10.7,.60786,2,188,-47.27,44.93,.07258,187,64.53,-.93,.92742,2,188,-79.34,84.84,.03225,187,115.03,-9.36,.96775],hull:14,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,18,20,20,22,22,24,24,26,0,26,14,16,16,18],width:340,height:202}},l_jiemao2:{l_jiemao2:{type:"mesh",uvs:[.0903,.06353,.04087,.25766,.11951,.53027,.28578,.75331,.51722,.87309,.79135,.78636,.95088,.59636,.95088,.31549,.86999,.19157,.66327,.32788,.44757,.40636,.29702,.28244,.18242,.09244],triangles:[3,10,4,3,11,10,3,2,11,2,1,12,2,12,11,12,1,0,4,9,5,4,10,9,6,9,8,6,5,9,8,7,6],vertices:[1,191,126.36,-33.73,1,1,191,126.29,-4.58,1,1,191,92.71,20.58,1,1,191,42.18,30.32,1,2,190,115.16,26.39,.89241,191,-17.11,20.4,.10759,1,190,47.3,41.61,1,1,190,.58,32.93,1,1,190,-13.98,-2.38,1,1,190,-1.71,-25.67,1,2,190,53.13,-28.24,.99205,191,-18.55,-62.24,.00795,2,190,107.05,-38.93,.25693,191,25.69,-29.61,.74307,2,190,135.42,-68.86,4e-5,191,66.92,-28.82,.99996,1,191,103.85,-39.99,1],hull:13,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,0,24],width:250,height:136}},l_jiemao3:{l_jiemao3:{type:"mesh",uvs:[.14885,.20605,.15901,.4802,.4687,.726,.8444,.83945,.70225,.4093,.31132,.08315],triangles:[1,0,5,1,5,4,2,1,4,2,4,3],vertices:[-5.28,-5.85,14.09,-19.79,46.35,-13.03,72.78,5.01,36.13,18.79,-5.69,11.1],hull:6,edges:[0,2,2,4,4,6,6,8,8,10,0,10],width:81,height:87}},meimao:{meimao:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[314.51,-119.47,-410.49,-119.47,-410.49,103.53,314.51,103.53],hull:4,edges:[0,2,2,4,4,6,0,6],width:725,height:223}},qunzi:{qunzi:{type:"mesh",uvs:[.31559,.12001,.20474,.17205,.11947,.25287,.09282,.36691,.12267,.44551,9e-5,.53741,.15571,.58834,.18236,.71455,.2996,.66916,.39766,.80202,.47334,.7378,.49359,.88948,.60977,.87619,.71423,1,.8059,.92823,.91035,.95037,.88264,.85405,.95938,.78762,.95938,.63705,.93807,.54405,.77712,.43555,.61084,.30491,.51491,.18866,.39553,.0868,.19328,.49626,.31309,.5785,.45998,.6629,.55582,.66507,.64229,.77003,.75897,.83279,.23912,.27875,.3183,.35233,.45477,.45513,.59541,.5482,.72355,.63368,.83711,.7051,.51276,.71054,.6024,.61377,.69455,.52066],triangles:[18,35,19,13,29,14,14,29,16,14,16,15,35,18,17,17,16,35,16,29,35,37,27,33,2,1,30,30,1,0,22,0,23,22,31,0,27,26,33,32,22,21,9,8,26,8,6,25,25,32,26,6,24,25,25,24,31,7,6,8,8,25,26,25,31,32,31,24,30,32,31,22,26,32,33,33,32,21,9,26,10,10,26,36,6,4,24,24,4,30,30,0,31,38,33,21,38,21,20,30,3,2,5,4,6,4,3,30,36,26,27,37,33,38,36,27,28,27,37,28,13,12,29,11,10,12,10,36,12,12,28,29,12,36,28,28,34,29,29,34,35,28,37,34,35,34,19,37,38,34,34,20,19,34,38,20],vertices:[2,3,-577.32,487.37,.5,4,-168.8,288.02,.5,2,3,-767.65,401.36,.5,4,-359.13,202,.5,2,3,-914.06,267.76,.5,4,-505.54,68.4,.5,2,3,-959.81,79.25,.5,4,-551.3,-120.1,.5,2,3,-908.57,-50.68,.5,4,-500.05,-250.04,.5,2,3,-1119.03,-202.58,.5,4,-710.52,-401.94,.5,2,3,-851.84,-286.77,.1966,4,-443.32,-486.12,.8034,2,3,-806.08,-495.4,.05,4,-397.5
607,-694.75,.95,2,3,-604.77,-420.37,.1,4,-196.25,-619.72,.9,2,3,-436.4,-639.98,.4,4,-27.88,-839.33,.6,2,3,-306.46,-533.83,.35,4,102.05,-733.19,.65,3,3,-271.69,-784.56,.63,4,136.83,-983.91,.3,7,-316.81,-392.2,.07,3,3,-72.21,-762.6,.64185,4,336.31,-961.95,.18901,7,-117.32,-370.24,.16914,3,3,107.14,-967.25,.09,4,515.66,-1166.6,.1,7,62.03,-574.89,.81,2,3,264.53,-848.61,.1,7,219.42,-456.25,.9,2,3,443.88,-885.22,.1,7,398.77,-492.85,.9,2,3,396.3,-726,.1,7,351.19,-333.63,.9,2,3,528.07,-616.19,.1,7,482.96,-223.83,.9,2,3,528.07,-367.29,.1,7,482.96,25.07,.9,3,3,491.47,-213.56,.27,4,899.98,-412.92,.1,7,446.35,178.8,.63,2,3,215.12,-34.21,.4,4,623.64,-233.57,.6,2,3,-70.38,181.74,.2,4,338.14,-17.61,.8,2,3,-235.09,373.9,.1966,4,173.43,174.55,.8034,2,3,-440.06,542.27,.5,4,-31.54,342.92,.5,2,3,-787.33,-134.56,.1966,4,-378.81,-333.91,.8034,2,3,-581.62,-270.5,.1,4,-173.1,-469.86,.9,2,3,-329.41,-410.03,.2932,4,79.11,-609.38,.7068,2,3,-164.84,-413.6,.56,4,243.67,-612.96,.44,3,3,-16.38,-587.11,.48356,4,392.14,-786.46,.38901,7,-61.49,-194.75,.12743,3,3,183.96,-690.86,.49,4,592.48,-890.21,.3,7,138.85,-298.5,.21,2,3,-708.62,224.98,.4,4,-300.1,25.63,.6,2,3,-572.68,103.34,.1966,4,-164.16,-96.01,.8034,2,3,-338.35,-66.59,.15,4,70.17,-265.94,.85,2,3,-96.87,-220.42,.3466,4,311.65,-419.77,.6534,3,3,123.15,-361.73,.48356,4,531.66,-561.08,.38901,7,78.03,30.63,.12743,3,3,318.12,-479.79,.49,4,726.64,-679.14,.3,7,273,-87.43,.21,3,3,-238.78,-488.77,.46483,4,169.73,-688.12,.53301,7,-283.9,-96.41,.00216,3,3,-84.88,-328.81,.5685,4,323.64,-528.17,.41933,7,-129.99,63.55,.01217,3,3,73.35,-174.91,.58008,4,481.87,-374.26,.40617,7,28.24,217.45,.01375],hull:24,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,0,46],width:1717,height:1653}},qunzi1:{qunzi1:{type:"mesh",uvs:[.02538,.06262,0,.26818,0,.45113,.05989,.65258,.27967,.85608,.5721,.95886,.75919,1,.89905,.96091,.98442,.82319,1,.6423,.98442,.43468,.93537,.30518,.71015,.15923,.48674,.05029,.27785,0,.07079,0,.85338,.73116,.6581,.57795,.45923,.42474,.27833,.2878,.11779,.1712],triangles:[20,15,14,0,15,20,19,14,13,20,14,19,18,19,13,18,13,12,17,18,12,17,12,11,17,11,10,16,17,10,9,16,10,8,16,9,1,0,20,19,2,1,19,1,20,3,2,19,18,3,19,4,18,17,4,3,18,5,4,17,5,17,16,7,16,8,6,5,16,7,6,16],vertices:[2,46,660.47,-38.94,.50298,49,563.37,87.87,.49702,2,46,458.99,104.65,.9977,49,506.19,328.58,.0023,1,46,265.59,205.41,1,2,45,638.62,165.92,.24529,46,15.31,244.72,.75471,2,44,607.42,254.15,.00783,45,280.16,301,.99217,2,44,197.86,308,.82559,45,-132.8,290.99,.17441,3,44,-59.17,313.54,.98479,45,-387.61,256.79,47e-5,47,-261.19,405.53,.01474,2,44,-237.21,235.63,.85722,47,-347.47,231.4,.14278,2,44,-322.87,54.31,.54049,47,-296.52,37.45,.45951,2,44,-307.03,-161.75,.08871,47,-145.47,-117.86,.91129,2,47,57.04,-261.64,.98659,48,-306.05,-204.71,.01341,2,47,217.62,-310.84,.86391,48,-158.51,-284.94,.13609,3,47,546.67,-191.23,.04886,48,187.79,-233.38,.9494,49,-339.04,-140.67,.00174,2,48,504.85,-148.7,.49551,49,-11.06,-152.08,.50449,2,48,763.21,-21.26,3e-5,49,273.23,-105.48,.99997,2,46,698.36,-127.76,.31602,49,533.44,-3.94,.68398,5,44,-130.07,-23.83,.32467,45,-405.58,-87.48,.05644,47,-98.6,101.55,.59215,48,-386.11,182.23,.02669,49,-766.88,424.17,5e-5,5,44,160.52,-159.14,.13713,45,-97.59,-176.32,.28081,47,210.97,184.72,.26226,48,-66.18,201.98,.31922,49,-455.08,349.81,58e-5,6,44,455.87,-293.63,.05982,45,214.99,-263.61,.18125,46,7.23,-358.52,.1808,47,523.66,271.59,.1144,48,257.56,224.73,.29991,49,-138.77,277.22,.16383,6,44,724.05,-413.12,.024,45,498.4,-340.27,.07272,46,264.75,-217.52,.33275,47,805.9,352.48,.0459,48,550.26,247.7,.12034,49,147.91,213.87,.40429,6,44,961.05,-513.38,.00702,45,748.02,-402.75,.02126,46,488.08,-89.69,.45293,47,1051.87,428.05,.01342,48,806.37,272.69,.03518,49,400.19,163.12,.47021],hull:16,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,0,30],width:1349,height:1192}},qunzidai:{qunzidai:{type:"mesh",uvs:[.68588,.14439,.56555,.12679,.42412,.12796,.17187,.26054,.11487,.36261,.10221,.48463,.13598,.55737,.22675,.63129,.3323,.67704,.46001,.75565,.62677,.82957,.80198,.84599,.91702,.87415,.99302,.92577,.91491,.98796,.76715,.98326,.62994,.95393,.43362,.90465,.28164,.87063,.18559,.80023,.10748,.70285,.05893,.60313,.03044,.4905,.01566,.3896,.04627,.24998,.1096,.14439,.21303,.07868,.34602,.02823,.50645,.00946,.67321,.02237,.75132,.08807],triangles:[1,28,29,2,27,28,2,28,1,0,29,30,1,29,0,2,26,27,3,25,26,24,25,3,2,3,26,4,24,3,23,24,4,5,23,4,22,23,5,21,22,5,21,5,6,20,21,6,20,6,7,19,20,7,19,7,8,18,19,8,18,8,9,17,18,9,17,9,10,16,10,11,17,10,16,15,16,11,14,11,12,14,12,13,15,11,14],vertices:[2,203,637.21,264.7,.00176,202,-.73,-56.93,.99824,2,203,516.17,280.63,.0797,202,-121.77,-41.01,.9203,2,203,373.89,279.57,.31698,202,-264.05,-42.07,.68302,2,203,120.12,159.58,.81243,202,-517.82,-162.05,.18757,2,203,62.78,67.21,.95739,202,-575.16,-254.43,.04261,2,201,-799.36,399.26,.01707,203,50.04,-43.22,.98293,2,201,-765.39,333.42,.07722,203,84.02,-109.05,.92278,2,201,-674.07,266.53,.18953,203,175.33,-175.94,.81047,2,201,-567.89,225.12,.30355,203,281.51,-217.35,.69645,2,201,-439.42,153.98,.47633,203,409.99,-288.49,.52367,2,201,-271.65,87.09,.75344,203,577.75,-355.39,.24656,2,201,-95.39,72.22,.95625,203,754.01,-370.25,.04375,2,201,20.34,46.74,.99962,203,8
6069.75,-395.73,38e-5,1,201,96.79,.02,1,1,201,18.22,-56.25,1,2,201,-130.43,-52.01,.94225,203,718.97,-494.48,.05775,2,201,-268.47,-25.46,.79257,203,580.94,-467.94,.20743,2,201,-465.96,19.13,.50097,203,383.45,-423.34,.49903,2,201,-618.86,49.93,.32994,203,230.55,-392.55,.67006,2,201,-715.48,113.63,.2381,203,133.93,-328.84,.7619,2,201,-794.05,201.76,.14692,203,55.35,-240.71,.85308,2,201,-842.9,292.01,.07237,203,6.51,-150.46,.92763,2,201,-871.57,393.95,.01074,203,-22.16,-48.53,.98926,2,203,-37.02,42.79,.98915,202,-674.97,-278.85,.01085,2,203,-6.23,169.14,.89669,202,-644.18,-152.5,.10331,2,203,57.48,264.7,.78246,202,-580.47,-56.93,.21754,2,203,161.53,324.16,.63382,202,-476.41,2.53,.36618,2,203,295.32,369.82,.41708,202,-342.63,48.18,.58292,2,203,456.71,386.81,.1576,202,-181.23,65.17,.8424,2,203,624.47,375.13,.00713,202,-13.47,53.49,.99287,1,202,65.1,-5.97,1],hull:31,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,56,58,58,60,0,60],width:1006,height:905}},rabibody:{rabibody:{type:"mesh",uvs:[.47813,.12475,.41762,.16329,.34107,.23164,.29732,.27891,.22661,.29854,.15734,.34726,.13474,.40398,.10704,.47815,.10339,.55014,.05455,.61049,.02465,.65703,.04726,.70793,.10935,.78413,.16111,.8343,.23839,.88375,.33536,.91938,.39514,.9361,.59928,.86339,.67072,.80449,.73634,.7085,.79029,.60597,.83768,.48308,.85736,.37764,.81216,.2996,.71811,.23416,.6299,.14908,.54241,.11781,.51559,.20376,.62682,.29886,.75769,.38929,.40809,.30259,.5483,.40607,.73526,.51236,.26601,.41353,.49689,.54312,.68011,.63822,.18282,.55431,.4352,.68763,.59785,.76595,.15851,.68763,.38192,.80417,.25484,.72616,.31057,.61595,.37119,.48625,.47972,.33606,.58532,.23659,.71243,.36922,.66648,.46577,.59119,.59547,.53155,.73005],triangles:[36,6,33,27,0,26,7,6,36,6,5,33,5,4,33,33,4,3,3,2,30,30,2,1,1,0,27,38,35,19,35,38,48,19,35,20,37,34,48,34,42,43,35,32,20,35,48,32,20,32,21,48,47,32,48,34,47,36,33,43,34,31,47,34,43,31,32,47,29,32,29,21,29,47,46,43,33,30,43,44,31,43,30,44,30,33,3,21,29,22,47,31,46,31,28,46,31,44,28,22,29,23,29,46,23,46,24,23,46,28,24,44,45,28,44,27,45,44,30,27,30,1,27,28,45,24,45,25,24,45,27,25,27,26,25,17,49,38,49,17,40,15,40,16,49,40,37,40,17,16,15,14,40,14,41,40,14,13,41,17,38,18,12,39,13,13,39,41,18,38,19,40,41,37,12,11,39,38,49,48,49,37,48,41,42,37,41,39,42,39,11,9,11,10,9,9,8,39,39,36,42,39,8,36,37,42,34,42,36,43,8,7,36],vertices:[3,161,963.45,422.96,0,162,555.81,347.47,.20988,11,312.22,67.88,.79012,2,162,454.08,388.71,.08642,11,219.7,8.8,.91358,2,162,300.88,423.5,.02469,11,102.65,-95.98,.97531,3,161,601.7,460.53,.00384,162,203.08,436.09,.00439,11,35.77,-168.44,.99177,3,161,505.39,518.17,.02326,162,115.94,506.84,.00143,11,-72.36,-198.54,.97531,3,161,378.29,543.48,.08202,162,-6.26,549.95,.0044,11,-178.26,-273.23,.91358,3,161,291.46,508.62,.20079,162,-97.17,527.8,.00908,11,-212.82,-360.17,.79012,3,161,179.87,460.99,.38098,162,-214.4,496.52,.01408,11,-255.18,-473.88,.60494,3,161,96.04,389,.58829,162,-307.62,437.18,.01665,11,-260.75,-584.24,.39506,3,161,-22.48,379.39,.77465,162,-426.3,444.52,.01547,11,-335.44,-676.76,.20988,3,161,-105.68,363.37,.90247,162,-510.93,440.49,.01111,11,-381.15,-748.1,.08642,3,161,-138.43,284.57,.96911,162,-554.55,367.14,.0062,11,-346.59,-826.13,.02469,3,161,-157.69,135.28,.99248,162,-594.84,222.11,.00341,11,-251.65,-942.95,.00412,2,161,-158.92,24.92,.99354,162,-611.75,113.05,.00646,2,161,-132.46,-112.95,.97755,162,-605.16,-27.18,.02245,2,161,-69.91,-258.04,.93715,162,-563.87,-179.7,.06285,2,161,-25.52,-341.96,.85949,162,-531.86,-269.07,.14051,2,161,270.32,-491.4,.73881,162,-260.28,-459.06,.26119,2,161,411.03,-508.38,.58245,162,-123.42,-495.87,.41755,2,161,586.8,-479.72,.41241,162,54.64,-492.5,.58759,2,161,757.56,-431.23,.25636,162,230.56,-468.77,.74364,3,161,944.03,-353.96,.13651,162,426.12,-418.8,.85366,11,861.97,-481.45,.00983,3,161,1081.92,-264.42,.06027,162,575.34,-349.78,.90361,11,892.07,-319.81,.03612,3,161,1121.02,-131.9,.02111,162,632.89,-224.17,.87533,11,822.96,-200.18,.10356,3,161,1094.67,41.45,.00546,162,631.46,-48.83,.77323,11,679.16,-99.85,.22131,3,161,1096.28,229.07,91e-5,162,659.72,136.65,.59831,11,544.27,30.57,.40078,3,161,1038.86,359.05,8e-5,162,621.37,273.48,.39498,11,410.51,78.51,.60494,3,161,915.11,298,.02706,162,490.2,230.65,.75009,11,369.49,-53.25,.22286,2,162,469.78,7.57,.92,11,539.57,-199.03,.08,2,161,963.98,-166.25,.01881,162,472.57,-235.84,.98119,2,162,271.52,276.97,.77429,11,205.13,-204.75,.22571,2,162,266.26,10.32,.93714,11,419.52,-363.39,.06286,2,161,803.61,-271.36,.12394,162,298.87,-317.08,.87606,2,162,7.07,355.66,.83143,11,-12.11,-374.83,.16857,3,161,518.33,-39.69,.40014,162,49.44,-47.2,.54271,11,340.91,-573.49,.05714,2,161,605.66,-343.17,.34619,162,92.73,-360.01,.65381,3,161,175.06,296.57,.74735,162,-242.54,334.45,.1498,11,-139.31,-590.64,.10286,2,161,292.78,-123.94,.64522,162,-185.81,-98.52,.35478,2,161,377.09,-386.91,.64191,162,-139.74,-370.8,.35809,2,161,1.32,182.7,.92004,162,-430.71,246.44,.07996,2,161,107.16,-187.97,.82501,162,-378.64,-135.51,.17499,2,161,59.98,35.26,.86631,162,-393.6,92.17,.13369,2,161,241.14,89.89,.73219,162,-206.52,120.47,.26781,3,161,449.12,159.69,.22748,162,9.27,160,.70681,11,148.71,-486.3,.06571,3,161,730.32,198.02,.00328,162,293.07,157.96,.86243,11,314.66,-256.06,.13429,3,161,952.09,186.05,.01184,162,510.88,114.57,.83528,11,476.12,-103.57,.15288,3,161,938.62,-94.9,.01268,162,457.6,-161.6,.95589,11,670.47,-306.9,.03143,2,161,782.93,-145.94,.07284,162,296.24,-189.99,.92716,2,161,559.5,-199.49,.38935,162,67.46,-211.22,.61065,2,161,347.13,-275.52,.63727,162,-153.56,-256.29,.36273],hull:27,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,0,52],width:1529,height:1533}},rabibody2:{rabibody2:{type:"mesh",uvs:[.15021,.25503,.02654,.37671,.0372,.49277,.10117,.56016,.29947,.50962,.48924,.70618,.41248,.83721,.52549,.94579,.70247,.94017,.87944,.85406,.98606,.68933,1,.54519,.82827,.25129,.54681,0,.27602,0,.15021,.13149,.41798,.12222,.57432,.29247,.6991,.47064,.83289,.64749,.30523,.24232,.46759,.44028,.61341,.61845,.68256,.75703,.58485,.83885,.16693,.41785],triangles:[3,25,4,3,2,25,2,1,25,4,25,20,1,0,25,21,4,20,21,20,17,25,0,20,0,15,20,20,15,16,15,14,16,7,24,8,7,6,24,24,23,8,8,23,9,23,19,9,6,5,24,24,5,23,5,22,23,23,22,19,4,21,5,5,21,22,9,19,10,10,19,11,22,18,19,19,18,11,22,21,18,18,12,11,21,17,18,18,17,12,20,16,17,12,17,13,17,16,13,16,14,13],vertices:[3,170,285.93,-94.6,.01127,171,130.01,-95.35,.65347,
60172,-6.01,-95.19,.33526,2,171,249.95,-58.18,22e-5,172,115.24,-62.52,.99978,1,172,158.11,16.22,1,3,173,373.8,-382.02,51e-5,174,174.65,-399.58,.00117,172,150.32,83.31,.99833,5,170,299.29,125.47,.00396,173,254.53,-309.5,.07275,174,62.48,-316.5,.06904,171,144.64,124.64,.36262,172,16.82,124.1,.49164,5,170,266.28,321.1,.00404,173,279.41,-112.67,.11034,174,105.17,-122.75,.76135,171,112.75,320.46,.10164,172,-7.72,320.98,.02263,4,173,388.85,-82.74,6e-5,174,216.88,-102.91,.99015,171,209.24,380.16,.00853,172,90.93,377.03,.00126,1,174,237.12,8.52,1,2,173,314.83,115.33,.04837,174,161.2,101.08,.95163,2,173,185.11,158.72,.45987,174,35.97,156.1,.54013,2,173,42.91,126.14,.94775,174,-108.61,136.59,.05225,2,170,-93.88,390.85,67e-5,173,-45.28,58.09,.99933,4,170,-109.63,137,.59387,173,-133.65,-180.4,.40335,174,-312.34,-152.61,0,171,-264.21,138.52,.00278,2,170,-44.87,-126.52,.9404,171,-200.96,-125.37,.0596,2,170,112.52,-220.01,.49414,171,-44.11,-219.76,.50586,3,170,237.34,-176.39,.15479,171,80.96,-176.86,.81689,172,-58.07,-174.81,.02832,5,170,78.07,-90.09,.59848,173,-19.5,-452.02,.00817,174,-223.38,-433.48,.00775,171,-77.81,-89.64,.24495,172,-213.47,-81.73,.14064,5,170,54.15,76.59,.42686,173,5.72,-285.53,.2097,174,-183.11,-269.98,.02163,171,-100.78,77.17,.16628,172,-230.19,85.83,.17553,5,170,51.7,237.62,.18803,173,49.86,-130.65,.45426,174,-125.06,-119.76,.18019,171,-102.31,238.21,.09559,172,-225.71,246.81,.08193,5,170,43.48,400.89,.0791,173,89.12,28.04,.59163,174,-71.52,34.69,.2546,171,-109.59,401.52,.04021,172,-226.89,410.28,.03446,5,170,190.83,-49.5,.21799,173,100.17,-445.71,.05569,174,-103.63,-438.1,.00691,171,35.17,-49.71,.45836,172,-99.07,-46.04,.26105,5,170,174.31,137.6,.1638,173,138.38,-261.8,.19836,174,-48.85,-258.43,.08135,171,19.73,137.49,.24676,172,-107.51,141.61,.30973,5,170,159.62,305.89,.07718,173,172.9,-96.44,.3009,174,.58,-96.89,.48775,171,6.01,305.86,.08992,172,-114.94,310.37,.04425,5,170,173.92,421.51,.04523,173,219.97,10.12,.23778,174,57.15,4.94,.64751,171,20.97,421.39,.04513,172,-95.67,425.26,.02435,5,170,262.89,441.94,.02183,173,311.05,4.01,.11479,174,147.3,-9.44,.82841,171,110.05,441.32,.02303,172,-5.91,441.85,.01194,5,170,340.23,18.96,.00345,173,262.98,-423.3,.03249,174,60.54,-430.6,.03083,171,184.97,17.9,.25985,172,53.14,15.92,.67338],hull:16,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,0,30],width:676,height:770}},rabi_hand:{rabi_hand:{type:"mesh",uvs:[.04091,.58478,0,.80636,.03454,1,.07659,.96248,.23335,.88694,.48186,.82147,.73548,.76356,.93046,.65276,1,.48658,1,.265,.91645,.12399,.81449,.07111,.6353,.14334,.43343,.22471,.23951,.36587,.09444,.47147],triangles:[2,1,3,3,1,0,0,15,4,4,15,14,4,3,0,5,13,12,5,12,6,14,13,5,4,14,5,10,9,8,7,10,8,6,12,11,7,6,11,7,11,10],vertices:[1,162,231.37,-232.69,1,1,162,81.24,-273.85,1,1,162,3.1,-384.55,1,1,166,22.16,-113.86,1,2,167,-137.86,-160.82,.06155,166,231.15,-138.18,.93845,2,167,188.24,-184.06,.99733,166,550.02,-210.35,.00267,2,168,33.73,-215.24,.71518,167,519.85,-213.52,.28482,1,168,298.16,-206.83,1,1,168,413.01,-122.78,1,1,168,448.94,18.98,1,1,168,366.19,135.96,1,2,168,245.89,202.45,.99955,167,713.2,213.2,45e-5,2,168,7.68,213.65,.57325,167,474.73,213.78,.42675,2,168,-260.69,226.27,.0032,167,206.07,214.44,.9968,2,167,-60.43,174.35,.44769,166,358.25,181.47,.55231,1,162,332.75,-246.31,1],hull:16,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,0,30,22,24,24,26,26,28,28,30],width:1304,height:660}},rhand1:{rhand1:{type:"mesh",uvs:[.03382,.27858,.1814,.30747,.23919,.35906,.23208,.43645,.34257,.52727,.47771,.67378,.61462,.85537,.73553,.9699,.83599,.99982,.9729,.98744,1,.89871,.98446,.79862,.95512,.65933,.83777,.51179,.66441,.40964,.52305,.31575,.43592,.23218,.37102,.12694,.31679,.02582,.20566,0,.0723,.03511,0,.07741,.00207,.20329,.06418,.21956,.14074,.21301,.20698,.23427,.25536,.27407],triangles:[23,22,21,24,20,19,20,23,21,24,23,20,25,19,18,25,18,17,24,19,25,26,25,17,26,17,16,0,22,23,1,24,25,1,25,26,0,23,24,1,0,24,2,1,26,16,2,26,4,16,15,4,2,16,3,2,4,5,4,15,5,15,14,6,5,14,6,14,13,6,13,12,7,6,12,11,7,12,8,7,11,11,10,8,9,8,10],vertices:[1,21,153.53,214.4,1,2,20,835.42,85.99,.04607,21,49.49,104.32,.95393,2,20,761.69,83.24,.60356,21,-20.43,80.76,.39644,2,20,724.12,139.75,.94933,21,-72.49,124.29,.05067,1,20,587.5,129.24,1,1,20,400.67,140.17,1,1,20,192.91,173.48,1,1,20,34.97,172.14,1,1,20,-59.91,127.27,1,1,20,-159.61,30.45,1,1,20,-131.28,-46.6,1,1,20,-63.43,-103.69,1,1,20,37.01,-178.17,1,1,20,210.57,-201.28,1,1,20,402.45,-157.73,1,2,20,564.81,-129.33,.9965,21,-148.9,-178.94,.0035,2,20,679.2,-129.07,.79118,21,-39.28,-146.23,.20882,2,20,788.36,-157.72,.18498,21,73.52,-142.72,.81502,2,20,886.91,-190.49,.00824,21,177.32,-146.19,.99176,1,21,298.78,-67.39,1,1,21,476.64,56.41,1,1,21,413.17,137.48,1,1,21,225.97,204.56,1,3,20,975.67,102.79,.01286,21,179.21,160.23,.89,176,193.87,-87.13,.09714,3,20,919.7,48.9,.02095,21,140.83,92.67,.82762,176,116.62,-95.39,.15143,3,20,856.29,20.35,.05799,21,88.13,47.3,.79629,176,49.01,-79.08,.14571,3,20,796.45,15.77,.31502,21,32.05,25.93,.55927,176,-1.07,-46.02,.12571],hull:23,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,0,44,46,48,48,50,50,52],width:1012,height:872}},rhand2:{rhand2:{type:"mesh",uvs:[0,.24216,.01755,.39424,.0871,.61463,.15817,.79316,.2625,.94743,.37741,.96507,.56036,.90997,.69191,.78434,.82647,.57717,.91719,.36999,.9308,.20029,.88695,.08568,.80984,.11433,.69644,.22894,.58607,.33914,.53617,.39865,.49383,.3744,.45754,.27082,.38648,.18486,.34868,.0394,.2625,0,.14456,.06585,.05233,.16502,.17503,.16749,.23258,.38758,.39106,.65714,.63143,.53377,.83726,.30578,.25166,.16948,.34552,.33044,.45437,.49255,.62789,.42472,.76907,.25341,.08859,.31206,.158,.53395,.36149,.82023,.66989,.63858,.86437,.36395],triangles:[28,23,21,22,21,23,20,28,21,28,20,19,33,22,23,0,22,33,24,23,28,32,13,12,10,27,12,10,12,11,32,12,27,9,37,27,10,9,27,31,14,13,15,14,31,16,30,29,26,8,36,27,31,32,37,31,27,8,37,9,8,26,31,32,31,13,8,31,37,7,36,8,15,26,30,26,15,31,26,25,30,6,36,7,30,16,15,25,26,36,6,25,36,6,5,35,6,35,25,28,19,18,29,28,18,29,18,17,24,28,29,33,23,24,1,0,33,16,29,17,34,33,24,1,33,34,2,1,34,25,29,30,24,29,25,34,24,25,3,34,25,2,34,3,35,3,25,4,3,35,4,35,5],vertices:[1,64,46.96,-307.5,1,2,13,743.92,-342.44,.8,208,-458.29,-254.17,.2,2,13,992.85,-331.95,.8,208,-273.93,-421.76,.2,3,13,1202.84,-303.07,.79994,14,-285.71,113.56,6e-5,208,-104.31,-548.89,.2,3,13,1408.69,-218.66,.64993,14,-245.88,-105.32,.15007,208,101.4,
60-633.62,.2,3,13,1490.69,-66.36,.29651,14,-113.93,-217.16,.50349,208,266.8,-583,.2,3,13,1542.22,208.52,51e-5,14,144.27,-324.63,.79949,208,496.73,-423.79,.2,2,14,379.65,-328.91,.8,208,627.5,-228.03,.2,2,14,665.94,-266.54,.8,208,729.68,46.58,.2,2,14,897.98,-167.2,.8,208,771.45,295.52,.2,2,14,1012.97,-34.65,.8,208,722.03,463.89,.2,2,14,1025.01,99.58,.8,208,615.58,546.54,.2,2,14,913.04,140.28,.8,208,520.84,474.3,.2,2,14,706.48,138.61,.8,208,410.64,299.58,.2,3,13,1014.39,466.49,.00743,14,506.2,138.14,.79257,208,302.84,130.79,.2,3,13,1042.6,374.2,.08109,14,410.06,129.7,.71891,208,258,45.33,.2,3,13,995.53,325,.2804,14,371.71,185.97,.5196,208,189.93,43.46,.2,3,13,876.49,315.09,.55025,14,386.73,304.47,.24975,208,98.33,120.12,.2,3,13,754.46,250.14,.72723,14,348.53,437.33,.07277,208,-34.11,159.75,.2,3,13,594.77,254.45,.79255,14,385.9,592.64,.00745,208,-144.62,275.1,.2,1,64,-34.1,150.42,1,1,64,-38.5,-38.59,1,2,13,545.86,-204.97,.00857,64,3.37,-204.97,.99143,2,64,75.39,-35.98,.9,208,-332.41,52.35,.1,2,13,859.7,-42,.80996,14,40.9,395.03,.19004,2,13,1205.84,72.51,.44362,14,81.06,32.66,.55638,2,13,1225.09,453.51,.00655,14,449.75,-65.27,.99345,1,14,836.24,-45.32,1,4,13,663.29,69.39,.30314,14,190.64,564.04,.02789,64,120.79,69.39,.56897,208,-226.03,95.34,.1,3,13,869.54,136.69,.67031,14,213.66,348.31,.22969,208,-32.06,-1.84,.1,3,13,1085.39,224.31,.33473,14,254.56,118.97,.56527,208,183.02,-91.32,.1,3,13,1119.46,491.09,.0057,14,508.45,30.25,.8943,208,394.84,74.39,.1,2,14,782.17,56.61,.9,208,520.54,318.98,.1,4,13,706.17,-212.03,.56423,14,-93.55,580.51,.01135,64,163.68,-212.03,.32442,208,-393.43,-134.91,.1,3,13,956.44,-202.33,.82529,14,-136.01,333.68,.07471,208,-208.67,-303.99,.1,3,13,1344.03,-31.98,.44051,14,-49.85,-80.82,.45949,208,186.7,-455.42,.1,3,13,1346.53,465.95,.00308,14,436.72,-186.65,.89692,208,538.61,-103.15,.1,2,14,836.14,-117.53,.9,208,696.24,270.3,.1],hull:23,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,0,44],width:1497,height:1027}},rleg:{rleg:{type:"mesh",uvs:[.02994,.82804,.00851,.84851,.02092,.88041,.00513,.91833,.00739,.96589,.08519,1,.14044,.99056,.19118,.94482,.1754,.87198,.20584,.83286,.23516,.79855,.28703,.74497,.37949,.64505,.47534,.56078,.51593,.48493,.58922,.41186,.75611,.30411,.87006,.21764,.96929,.15986,1,.10929,.96816,.06716,.88472,.00937,.80353,0,.6265,0,.59042,.06054,.45172,.22547,.38069,.30914,.32092,.37896,.23748,.41207,.16193,.45421,.13149,.51079,.1214,.57419,.07066,.67892,.05036,.77283],triangles:[5,4,6,6,4,7,8,3,2,7,3,8,7,4,3,8,2,0,2,1,0,8,0,9,9,0,33,10,9,33,10,33,11,33,32,11,11,32,12,32,31,12,12,31,13,31,30,13,30,29,13,29,28,13,13,28,14,14,28,27,14,27,15,27,26,15,15,26,16,26,25,16,16,25,17,17,25,24,18,17,24,24,23,22,20,24,22,20,22,21,18,24,20,18,20,19],vertices:[2,9,1451.31,-104.3,.01984,10,104.18,-146.96,.98016,1,10,169.77,-177.42,1,1,10,266.41,-149.33,1,1,10,385.24,-166.14,1,1,10,531.39,-150.96,1,1,10,626.43,-14.83,1,1,10,590.26,73.73,1,1,10,442.85,146.11,1,2,9,1478.63,169.7,.00125,10,220.57,102.62,.99875,2,9,1347.13,168.19,.20947,10,94.56,145.09,.79053,2,9,1225.9,167.71,.76028,10,-23.83,186.33,.23972,1,9,1036.16,168.36,1,1,9,691.92,163.95,1,1,9,388.22,186.46,1,2,8,1504.51,154.42,.07916,9,151.16,138.02,.92084,2,8,1270.45,141.43,.88458,9,-92.4,153.6,.11542,1,8,851.64,240.08,1,1,8,528.74,288.88,1,1,8,295.94,355.53,1,1,8,133.58,331.06,1,1,8,40.59,225.94,1,1,8,-57.64,23.09,1,1,8,-23.74,-109.61,1,1,8,106.68,-370.79,1,1,8,300.56,-340.48,1,1,8,858.54,-317.49,1,2,8,1142.43,-307.06,.99183,9,-272.87,-278.53,.00817,2,8,1397.15,-297.37,.44673,9,-10.97,-296.7,.55327,2,8,1567.15,-355.15,.04469,9,155.58,-372.64,.95531,1,9,329.77,-423.49,1,1,9,508.28,-388.8,1,1,9,690.29,-314.64,1,1,9,1016.52,-242.18,1,2,9,1289.4,-140.66,.76857,10,-65.9,-126.4,.23143],hull:34,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,0,66],width:1649,height:3089}},rshouzhi1:{rshouzhi1:{type:"mesh",uvs:[.0695,.19955,.09907,.39904,.22327,.52474,.41252,.62039,.54264,.80621,.71415,.94011,.85609,.95377,.97438,.83354,.93002,.63405,.77329,.40997,.54855,.1449,.27354,.00826,.08428,.05472],triangles:[6,5,7,7,5,8,5,4,8,4,9,8,4,3,9,9,3,10,3,2,10,2,1,10,10,1,0,10,0,11,11,0,12],vertices:[1,181,-10,-14.06,1,2,181,19.74,-47.96,.99973,182,-48.99,-83.62,27e-5,2,181,56.71,-57.28,.94277,182,-12.3,-73.22,.05723,2,181,101.21,-53.55,.43525,182,24.38,-47.76,.56475,2,181,146.63,-73.43,.01533,182,73.65,-42.28,.98467,1,182,116.36,-23.94,1,1,182,132.24,.97,1,1,182,119.1,34.91,1,1,182,75.02,46.68,1,2,181,137.52,26.95,.06325,182,15.62,40.11,.93675,2,181,65.98,50.83,.99689,182,-58.29,25.06,.00311,1,181,1.61,44.98,1,1,181,-25.34,14.7,1],hull:13,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,0,24],width:207,height:224}},rshouzhi2:{rshouzhi2:{type:"mesh",uvs:[.07308,.26101,.14229,.42077,.29403,.55669,.44843,.66638,.61082,.84999,.76256,.9263,.88768,.91437,.93028,.77845,.8584,.56385,.69867,.34447,.46973,.13463,.19553,.0917,.07041,.14655],triangles:[6,5,7,7,5,4,4,8,7,4,3,8,3,9,8,3,2,9,2,10,9,2,1,10,10,0,11,10,1,0,0,12,11],vertices:[1,183,-17.28,-20.3,1,2,183,13.08,-39.93,.99574,184,-44.48,-65.03,.00426,2,183,53.13,-46.34,.79555,184,-5.51,-53.79,.20445,2,183,90.34,-47.97,.19297,184,28.86,-39.44,.80703,1,184,77.61,-31.31,1,1,184,105.57,-13.99,1,1,184,114.8,7.93,1,1,184,93.59,28.84,1,1,184,47.38,38.85,1,2,183,88.81,34.78,.56508,184,-7.73,34.8,.43492,1,183,27.8,45.27,1,1,183,-19.49,22.21,1,1,183,-31.85,-1.03,1],hull:13,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,0,24],width:189,height:211}},rshouzhi3:{rshouzhi3:{type:"mesh",uvs:[.14333,.45624,.33888,.66119,.60313,.8688,.82247,.89808,.90438,.80492,.87532,.60263,.71676,.39502,.508,.15014,.27546,.12619,.10634,.21669],triangles:[0,9,8,7,0,8,1,7,6,1,0,7,2,1,6,2,6,5,2,5,4,3,2,4],vertices:[1,185,-.57,-31.49,1,1,185,38.66,-32.02,1,1,185,84.85,-26,1,1,185,109.14,-7.14,1,1,185,107.99,9.99,1,1,185,85.28,26.73,1,1,185,49.41,31.17,1,1,185,4.98,34.26,1,1,185,-20.08,13.57,1,1,185,-27.71,-11.93,1],hull:10,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,0,18],width:139,height:138}}
60,rshouzhi5:{rshouzhi5:{type:"mesh",uvs:[.0491,.38638,.15171,.43176,.25548,.51985,.37077,.71205,.48145,.84285,.62096,.91759,.77199,.92827,.85556,.94439,.93801,.9603,.98759,.79213,.98182,.47981,.84924,.32498,.73279,.24223,.54832,.17283,.40074,.1755,.29237,.05537,.16209,.018,.0491,.13279,.00183,.26893,.83335,.43948,.93226,.56543,.92174,.77153,.7876,.77153],triangles:[8,21,9,7,21,8,21,20,9,5,13,12,20,10,9,21,22,20,22,19,20,22,12,19,10,20,11,20,19,11,19,12,11,4,3,13,13,3,14,3,2,14,2,15,14,2,1,15,1,16,15,16,1,17,18,17,0,1,0,17,6,22,7,6,5,22,4,13,5,5,12,22,7,22,21],vertices:[1,177,254.28,40.85,1,1,177,200.82,35.81,1,1,177,144.15,39.71,1,2,176,283.97,43.54,17e-5,177,75.33,64.15,.99983,2,176,226.15,70.68,.23103,177,12.6,76.16,.76897,2,176,153.93,84.9,.88923,177,-60.89,72.09,.11077,1,176,76.26,84.7,1,2,176,33.21,86.86,.49665,20,742.08,141.76,.50335,1,20,707.22,117.4,1,1,20,711.46,72.4,1,1,21,-6.25,20,1,2,176,41.01,-50.47,.10286,21,60.23,57.5,.89714,2,176,101.44,-66.85,.15429,21,108.8,97.01,.84571,2,176,196.72,-79.11,.15714,21,174.36,167.22,.84286,2,176,272.51,-76.01,59e-5,177,93.77,-54.53,.99941,1,177,154.7,-64.6,1,1,177,221.32,-53.88,1,1,177,269.98,-13.21,1,1,177,284.88,22.59,1,2,176,48.33,-24.8,.2748,21,43.65,78.43,.7252,1,21,-7.87,51.75,1,2,21,-42.88,81.69,.42571,20,740.42,90.5,.57429,3,176,69.4,49.66,.76492,177,-134.1,17.05,.00296,21,-4.51,138.98,.23212],hull:19,edges:[0,2,2,4,4,6,6,8,8,10,10,12,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,0,36,12,14,14,16],width:514,height:222}},ryanbai:{ryanbai:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[270.5,-52.2,56.5,-52.2,56.5,160.8,270.5,160.8],hull:4,edges:[0,2,2,4,4,6,0,6],width:214,height:213}},r_jiemao:{r_jiemao:{type:"mesh",uvs:[.14698,.91631,.19394,.76389,.29655,.55975,.44612,.46993,.59743,.50259,.77831,.63324,.89831,.5407,.96266,.38011,.83222,.42366,.667,.28485,.65135,.08888,.53656,.1542,.3696,.12971,.16611,.19775,.04784,.52437,.06002,.78022,.11567,.93808],triangles:[5,8,6,5,4,8,6,8,7,4,9,8,9,4,11,4,3,11,3,12,11,11,10,9,16,15,0,0,15,1,15,14,1,1,14,2,14,13,2,2,12,3,2,13,12],vertices:[1,193,125.73,41.22,1,1,193,100.37,25.29,1,1,193,57.09,9.81,1,2,193,13.54,18.38,.93244,194,5.33,-24.1,.06756,2,193,-18.88,45.56,.00961,194,46.82,-15.82,.99039,1,194,101.74,-21.25,1,1,194,127.77,5.12,1,1,194,135.3,37.82,1,1,194,103.69,18.7,1,1,194,52.39,26.91,1,1,194,36.93,58.26,1,1,194,10.68,36.91,1,2,193,-.53,-43.9,.19286,194,-34.44,25.85,.80714,2,193,53.61,-63.67,.81232,194,-83.74,-4.01,.18768,2,193,112.1,-32.13,.99661,194,-95.74,-69.36,.00339,1,193,133.32,8.01,1,1,193,135.13,39.88,1],hull:17,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,0,32],width:277,height:177}},r_jiemao2:{r_jiemao2:{type:"mesh",uvs:[.15147,.56406,.06226,.68666,.12564,.8204,.32753,.87241,.52707,.8204,.73835,.65694,.8792,.40432,.91441,.12198,.73131,.13312,.62332,.37088,.38387,.53434],triangles:[4,9,5,5,9,6,9,8,6,6,8,7,2,0,3,3,10,4,3,0,10,4,10,9,2,1,0],vertices:[1,195,2.02,10.45,1,1,195,-14.04,-.18,1,1,195,-5.59,-15.18,1,1,195,26.34,-24.77,1,2,195,59.29,-23.69,.92845,196,-22.93,-13.78,.07155,2,195,95.62,-11.47,37e-5,196,14.46,-22.21,.99963,1,196,48.65,-16.29,1,1,196,71.34,2.79,1,1,196,47.34,20.58,1,2,195,80.86,20.18,.00896,196,18.29,12.5,.99104,1,195,39.97,8.56,1],hull:11,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,0,20],width:163,height:103}},r_jiemao3:{r_jiemao3:{type:"mesh",uvs:[.32707,.22545,.29284,.49666,.29665,.83196,.61607,.64705,.74156,.33887,.6579,.14409],triangles:[0,5,4,1,0,4,3,1,4,2,1,3],vertices:[-1.72,-15.57,22.72,-11.61,52.29,-4.07,31.43,10.19,2.43,10.64,-13.59,1.6],hull:6,edges:[0,2,2,4,4,6,6,8,8,10,0,10],width:59,height:91}},shouzhi:{shouzhi:{type:"mesh",uvs:[.08861,.13749,.0816,.30724,.19027,.44534,.34452,.68701,.55135,.95171,.78272,.9028,.97552,.81073,.7757,.5,.49526,.19215,.18676,.03391],triangles:[2,8,7,2,1,8,8,1,0,8,0,9,4,3,5,6,5,7,5,3,7,3,2,7],vertices:[1,180,105.78,18.16,1,2,179,191.81,45.41,15e-5,180,71.25,43.16,.99985,2,179,150.55,44.88,.11861,180,29.99,43.94,.88139,2,179,82.28,50.22,.95662,180,-38.08,51.46,.04338,1,179,3.36,49.46,1,1,179,-11.58,2.56,1,1,179,-13.13,-43.36,1,2,179,74.81,-49.97,.99346,180,-48.75,-48.43,.00654,2,179,170.97,-42.12,.01491,180,47.62,-43.66,.98509,1,180,116.05,-13.13,1],hull:10,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,0,18],width:206,height:251}},shouzhi4:{shouzhi4:{type:"mesh",uvs:[.13839,.46996,.26007,.73889,.58164,.8
606278,.73229,.71472,.88004,.47902,.58744,.24938,.31222,.13758,.14129,.30075],triangles:[3,5,4,0,6,5,6,0,7,1,5,3,1,0,5,2,1,3],vertices:[364.37,-60.64,337.02,-56.53,310.09,-76.03,313.4,-95.84,323.63,-119.94,357.17,-108.24,380.67,-91.85,377.28,-69.63],hull:8,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,0,14],width:97,height:93}},toufa1:{toufa1:{type:"mesh",uvs:[.2467,.01174,.12918,.05423,.02472,.14143,.00121,.24429,.00252,.32702,.01819,.42329,.04822,.5418,.08739,.64316,.17077,.80311,.25434,.88435,.38753,.95963,.58601,.99466,.79624,.99168,.93073,.93429,.99602,.84261,.97774,.81056,.91114,.85975,.80799,.87615,.81844,.8292,.78579,.7651,.79885,.68684,.70483,.66298,.65391,.60857,.5612,.57354,.45804,.54224,.4032,.48485,.37074,.41907,.34854,.34528,.33287,.23795,.33809,.1582,.43864,.09187,.51437,.05236,.53396,.00988,.36029,0],triangles:[12,11,17,12,17,13,17,11,10,17,16,13,13,16,14,17,19,18,16,15,14,17,10,19,10,9,19,9,21,19,19,21,20,22,21,23,23,21,8,23,8,24,9,8,21,8,7,24,24,6,25,24,7,6,6,26,25,6,5,26,5,27,26,5,4,27,4,28,27,4,3,28,3,2,28,28,2,29,2,1,29,1,0,29,30,0,33,30,29,0,30,33,31,31,33,32],vertices:[2,99,147.91,-95.73,.99335,100,-111,-13.94,.00665,2,99,273.65,-72.68,.21622,100,-14.95,-98.3,.78378,2,100,146.82,-150.85,.85318,101,-92.99,-131.03,.14682,3,100,311.79,-124.91,.08767,101,73.01,-149.32,.91203,102,-181.13,-120.13,3e-4,2,101,206.16,-145.45,.73099,102,-49.28,-139.08,.26901,3,101,360.83,-127.96,.03495,102,106.11,-148.28,.95923,103,-183.36,-120.28,.00582,2,102,298.89,-149.84,.34976,103,6.38,-154.43,.65024,3,102,465.66,-138.93,68e-5,103,172.59,-171.89,.90651,104,-133.36,-147.52,.09281,3,103,441.11,-180.62,.02688,104,127.57,-211.54,.88549,105,-164.67,-180.45,.08763,2,104,279.25,-211.38,.47474,105,-16.48,-212.79,.52526,3,104,445.69,-167.02,.04212,105,155.6,-205.13,.91975,106,-156.46,-147.48,.03813,2,105,320.8,-109.42,.22782,106,34.44,-144.71,.77218,1,106,216.68,-80.39,1,1,106,305.65,45.7,1,1,106,317.06,204.62,1,1,106,285.13,248.5,1,3,104,550.14,329.47,1e-4,105,364.02,257.44,.00129,106,251.42,154.25,.99861,4,103,737.86,337.74,0,104,525.01,234.32,.01082,105,319.08,169.9,.07288,106,169.43,99.83,.9163,4,103,669.18,370.75,.0015,104,464.63,280.82,.06118,105,270.06,228.25,.28314,106,155.18,174.69,.65418,4,103,561.79,374.92,.01941,104,360.41,307.09,.20031,105,173.9,276.24,.44982,106,94.74,263.56,.33046,4,103,446.05,426.15,.05782,104,257.76,381.12,.34684,105,89.49,370.55,.43334,106,67.18,387.09,.162,4,103,382.3,356.33,.12185,104,180.95,325.98,.43706,105,2.66,333.15,.34778,106,-26.86,396.89,.09331,4,103,284.39,339.63,.27197,104,81.71,329.87,.49648,105,-93.44,358.21,.20114,106,-98.46,465.72,.03042,5,102,420.68,308.44,.00208,103,203.94,276.64,.4709,104,-10.01,284.86,.42021,105,-192.69,333.9,.09893,106,-196.92,493.01,.00788,5,102,356.53,222.35,.06676,103,126.15,202.64,.73211,104,-101.42,228.53,.17769,105,-294.03,298.47,.02318,106,-302.66,511.62,26e-5,5,101,452.85,227.78,36e-5,102,257.57,186.5,.41388,103,22.55,184.05,.56309,104,-206.62,231.74,.02125,105,-396.11,324.15,.00142,3,101,347.57,195.84,.05378,102,148.38,173.02,.80937,103,-87.34,189.24,.13685,4,100,377.87,227.16,9e-4,101,229.2,173.07,.42232,102,27.86,170.82,.57267,103,-206.5,207.45,.0041,4,99,210.66,271.66,.0077,100,216.13,164.66,.26433,101,56.72,155.21,.70246,102,-145.13,182.71,.02551,3,99,158.19,154.37,.26875,100,91.58,133.09,.63674,101,-71.75,157.44,.09451,2,99,32.55,89.88,.93862,100,-36.93,191.65,.06138,2,99,-55.78,56.92,.99982,100,-117.56,240.51,18e-5,1,99,-98.05,.21,1,1,99,44.02,-74.22,1],hull:34,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,0,66],width:919,height:1610}},toufa2:{toufa2:{type:"mesh",uvs:[.04694,.19476,.13055,.18373,.21213,.18704,.27943,.22121,.3559,.31493,.45175,.40202,.52619,.52329,.61082,.62803,.62918,.72284,.60674,.83199,.56392,.92459,.54046,.97862,.62918,.98633,.77499,.972,.85962,.94003,.94732,.89483,.98708,.83088,1,.75812,.96975,.64126,.90143,.46596,.81068,.3469,.68016,.23444,.568,.15617,.46195,.08451,.33551,.03379,.1897,.00844,.05714,.02056,0,.10766,.00615,.18373],triangles:[7,19,18,8,7,18,17,8,18,17,15,8,9,8,13,17,16,15,15,14,8,14,13,8,12,10,9,13,12,9,11,10,12,6,21,20,7,6,20,7,20,19,4,23,22,5,4,22,5,22,21,6,5,21,2,25,24,3,2,24,3,24,23,4,3,23,27,0,28,1,26,25,1,27,26,1,25,2,1,0,27],vertices:[1,107,-14.09,-42.4,1,2,107,67.34,-50.89,.99268,108,-49.3,-111.76,.00732,2,107,143.96,-71.5,.58119,108,21.7,-76.33,.41881,3,107,200.86,-116.06,.04912,108,93.83,-71.91,.93936,109,-98.93,-89.77,.01152,2,108,199.47,-110.18,.43562,109,11.63,-109.78,.56438,3,108,318.77,-134.19,.00861,109,133.27,-113.45,.8665,110,-49.07,-135.72,.12489,3,109,257.64,-154.14,.20012,110,81.76,-137.83,.78004,111,-79.66,-193.16,.01984,3,109,380.56,-177.01,.00333,110,205.95,-123.35,.51946,111,25.24,-125.13,.47721,2,110,286.3,-156.92,.05924,111,112.15,-119.59,.94076,1,111,206.17,-155.13,1,1,111,282.65,-208.18,1,1,111,327.48,-237.65,1,1,111,346.62,-153.29,1,1,111,354.02,-11.17,1,1,111,337.28,74.35,1,1,111,309.18,164.5,1,1,111,257.78,210.94,1,2,110,516.56,122.19,.00132,111,194.81,232.67,.99868,2,110,413.32,157.46,.06881,111,86.64,218.51,.93119,2,110,245.83,191.97,.63644,111,-78.79,175.2,.36356,3,109,376.28,141.73,.0264,110,107.66,179.89,.95043,111,-197.29,103.11,.02317,2,109,214.06,142.39,.6405,110,-47.51,132.58,.3595,3,108,3
6011.9,113.94,.03852,109,84.89,130.01,.95831,110,-167.25,82.57,.00317,2,108,190.55,121.02,.65689,109,-35.93,116.65,.34311,2,107,291.63,35.99,.00266,108,60.84,102.08,.99734,2,107,158.57,89.87,.90525,108,-74.45,54.09,.09475,1,107,30.55,108.03,1,1,107,-41.08,44.11,1,1,107,-50.52,-23.88,1],hull:29,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,0,56],width:972,height:899}},toufa3:{toufa3:{type:"mesh",uvs:[.98775,.45904,.96383,.46674,.93656,.53494,.90708,.63505,.91654,.70105,.91932,.78576,.90263,.86936,.86312,.94856,.81917,.96836,.78078,.99697,.73238,.99587,.67341,.99257,.62723,.94086,.58828,.89356,.53932,.84956,.49704,.77806,.47979,.68565,.46143,.54594,.41413,.48099,.34514,.43809,.29062,.43809,.23164,.46559,.19325,.52609,.17267,.6196,.18101,.7384,.14652,.7164,.13506,.69709,.11822,.64392,.11521,.58192,.11571,.51743,.13629,.44004,.16007,.37232,.19494,.31428,.24086,.28948,.29304,.27311,.33544,.27807,.37107,.29345,.34146,.26269,.30157,.24186,.24939,.23193,.1962,.24434,.15764,.27716,.12402,.32379,.09843,.39423,.08839,.45326,.08714,.50733,.09115,.55346,.09255,.57779,.06918,.54919,.02579,.52169,.01132,.47439,.01633,.38748,.03302,.30828,.07197,.22358,.12593,.17847,.17044,.15097,.12204,.13997,.08087,.16967,.05249,.16417,.06585,.10257,.13483,.08607,.22441,.08497,.26288,.10978,.29637,.1297,.33203,.15177,.36395,.17899,.40777,.22366,.49026,.34962,.51585,.39967,.54525,.47772,.56267,.52509,.55314,.46965,.54035,.40506,.52728,.34639,.5085,.28126,.48481,.20913,.45732,.14885,.4203,.09287,.38491,.0595,.35578,.03904,.32502,.03904,.31386,.06596,.32937,.11332,.29126,.11332,.28037,.10794,.26839,.06972,.27466,.02989,.30596,.00783,.35632,0,.41458,.0272,.47746,.09556,.50605,.14185,.533,.21559,.55396,.28126,.57247,.37868,.5888,.45458,.60007,.52741,.61324,.5899,.63134,.6641,.64681,.73179,.67743,.76954,.72319,.79688,.7571,.79102,.7966,.75262,.82406,.70166,.85303,.63917,.86455,.59165,.8797,.51615,.91097,.44325,.95015,.41266,.9834,.4055,1,.42828,.57647,.60728,.59389,.68729,.62537,.78898,.40141,.32903,.44925,.39616,.49925,.48099,.14515,.62423,.15291,.52539,.17661,.44699,.22229,.38564,.29081,.34986,.35804,.37883,.41924,.42569,.24254,.15728,.28952,.18284,.33305,.20841,.38002,.25186,.42527,.30469,.46966,.37797,.50715,.44785,.05292,.45381,.07404,.35923,.10593,.28765,.15506,.2263,.21324,.19307,.3004,.02947,.33573,.02009,.38357,.03458,.4452,.09678,.48959,.16239,.51846,.25612,.54518,.35497,.56802,.46148,.59474,.61997,.47629,.4914,.51895,.61666,.55386,.73595,.62583,.86036,.68202,.85996,.75614,.88382,.81174,.86082,.85785,.77561,.88543,.65972],triangles:[25,23,24,26,118,25,25,118,23,26,27,118,27,28,118,23,118,119,118,28,119,23,119,22,28,29,119,119,120,22,22,120,21,29,30,119,119,30,120,30,31,120,120,121,21,120,31,121,48,46,47,48,45,46,45,48,132,48,49,132,49,50,132,45,132,44,50,51,132,132,133,44,132,51,133,44,133,43,43,133,42,51,52,133,133,134,42,134,133,53,42,134,41,133,52,53,134,135,41,134,53,54,134,54,135,41,135,40,40,136,39,136,40,55,136,125,39,40,135,55,135,54,55,125,136,61,58,59,57,57,59,56,136,55,61,125,61,62,56,60,55,55,60,61,56,59,60,21,121,20,123,19,122,19,20,122,20,121,122,31,32,121,121,33,122,121,32,33,122,35,123,123,35,36,122,34,35,122,33,34,124,19,123,123,115,124,123,36,115,129,115,128,115,36,128,36,37,128,38,127,37,128,37,65,37,127,65,128,65,66,39,126,38,38,126,127,39,125,126,126,64,127,127,64,65,125,62,126,126,63,64,126,62,63,128,66,129,66,67,129,84,85,137,137,85,86,137,86,87,138,87,88,83,81,82,81,83,137,83,84,137,81,137,80,80,138,79,79,138,88,137,87,80,80,87,138,76,140,90,139,88,89,79,139,78,90,140,89,77,140,76,89,140,77,78,89,77,78,139,89,79,88,139,91,141,90,75,76,141,142,92,93,92,141,91,142,75,92,92,75,141,74,75,142,141,76,90,93,74,142,96,144,95,70,71,144,144,94,95,143,93,94,71,72,144,144,72,94,72,143,94,72,73,143,143,73,93,73,74,93,146,18,124,146,124,116,116,130,146,18,19,124,131,146,130,131,130,68,68,130,67,116,115,129,116,124,115,116,129,130,130,129,67,147,69,70,145,112,97,148,147,112,147,70,112,112,70,96,112,96,97,16,17,147,117,17,146,17,117,147,147,117,69,69,117,131,17,18,146,117,146,131,131,68,69,145,97,98,113,112,145,16,147,148,15,16,148,144,96,70,113,145,98,13,149,12,12,149,150,149,13,114,114,13,148,150,114,100,100,114,99,114,150,149,13,14,148,14,15,148,148,113,114,99,113,98,99,114,113,148,112,113,9,10,151,151,10,150,10,11,150,11,12,150,150,101,151,151,102,152,151,101,102,150,100,101,8,9,151,102,103,152,151,152,8,8,152,7,152,153,7,7,153,6,6,153,5,152,103,153,153,4,5,103,104,153,104,105,153,153,154,4,153,105,154,154,3,4,3,154,106,154,105,106,106,107,3,3,107,2,107,108,2,1,108,109,1,2,108,1,110,0,1,109,110,0,110,111],vertices:[3,120,1.04,48.49,.6359,121,-139.36,179.43,.21032,122,-417.39,214.27,.15378,3,120,84.62,27.11,.57257,121,-88.89,109.48,.21328,122,-372.8,140.42,.21415,4,120,222.67,100.78,.44285,121,64.31,77.6,.19952,122,-222.72,96.13,.26588,123,-527.89,-201.64,.09176,4,120,390.97,223.9,.3361,121,272.41,64.31,.19015,122,-16.41,65.88,.32518,123,-335.04,-122.32,.14856,4,120,407.67,346.25,.23783,121,363.61,147.55,.1715,122,81.3,141.38,.36937,123,-289.57,-7.51,.2213,6,120,459.63,489.93,.14265,121,495.56,224.59,.13152,122,219.1,207.38,.35472,123,-204.78,119.59,.27749,124,-433.19,-353.38,.09361,129,-1883.75,1301.53,0,6,120,574.3,604.06,.08282,121,656.72,238.76,.09752,122,380.89,208.33,.33039,123,-66.15,203,.33697,124,-413.3,-192.82,.1523,129,-1
60789.25,1432.85,0,7,120,760.2,678.44,.04406,121,847.11,176.78,.06617,122,565.57,130.98,.28418,123,132.13,230.79,.37823,124,-312.83,-19.63,.22735,129,-1617.98,1536.58,1e-5,130,-757.14,2422.61,0,8,120,917.81,648.48,.01964,121,948.95,52.8,.03765,122,656.93,-.9,.20786,123,278.02,164.03,.36215,124,-170.28,54,.28818,125,-522.68,-322.58,.08449,129,-1457.59,1532.76,3e-5,130,-628.59,2326.62,0,8,120,1063.62,640.98,.00821,121,1056.09,-46.38,.02019,122,755.61,-108.51,.14603,123,417.81,121.89,.33483,124,-50.87,138.01,.35201,125,-477.2,-183.83,.13854,129,-1312.51,1549.16,17e-5,130,-500.82,2255.97,1e-5,7,120,1220.7,570.21,.00308,122,817.96,-269.11,.095,123,553.42,15.63,.2889,124,116.42,179.16,.40147,125,-367.72,-50.81,.21079,129,-1145.99,1504.99,69e-5,130,-390.64,2123.52,7e-5,6,120,1410.66,480.75,.00105,123,716.49,-116.64,.24128,124,321.13,225.89,.4445,125,-231.59,109.05,.31036,129,-943.97,1447.75,.00246,130,-259.09,1959.87,36e-5,5,120,1524.02,329.69,29e-5,123,790.46,-290.43,.17406,124,503.53,176.88,.4275,125,-56.08,178.84,.39682,130,-223.4,1774.4,.00133,4,120,1616.96,196.18,7e-5,124,659.02,129.09,.44479,125,97.12,233.52,.55023,130,-198.37,1613.67,.0049,5,120,1744.94,53.85,1e-5,124,847.54,95.97,.26855,125,268.02,319.7,.44509,126,-170.45,322.16,.27651,130,-145.71,1429.65,.00983,4,120,1831.33,-124.33,0,125,462.62,356.35,.31955,126,24.65,356.03,.66381,130,-146.14,1231.63,.01664,4,120,1821,-301.32,0,125,630.71,299.98,.18209,126,191.92,297.28,.79638,130,-232.99,1077.07,.02153,5,125,867.65,193.35,.19852,126,427.31,187.29,.48616,127,33.4,184.88,.13735,128,-178.02,317.34,.12619,130,-382.09,864.28,.05178,5,123,889.72,-1408.71,.00224,126,624.72,242.44,.33427,127,238.35,187.91,.25476,128,.69,216.96,.26323,130,-361.97,660.31,.1455,7,122,399.78,-1922.15,0,123,1037.78,-1619.25,61e-5,124,1701.87,-448.35,.01844,127,482.91,268.17,.2255,128,252.45,163.44,.262,129,-56.17,193.61,.29957,130,-261.58,423.3,.19387,7,122,472.08,-2102.22,0,123,1191.89,-1737.17,12e-5,124,1889.76,-399.83,.00616,128,445.62,181.89,.20878,129,131.95,146.02,.27588,130,-135.78,275.55,.20654,131,-263.38,454.66,.30251,7,122,596.22,-2278.55,0,123,1388.66,-1825.41,2e-5,124,2080.61,-299.42,.00185,128,649.85,251.13,.15616,129,347.57,142.52,.23879,130,37.98,147.84,.20781,131,-170.89,259.85,.39537,4,123,1563.35,-1821.95,0,124,2185.66,-159.81,7e-4,130,209.48,114.42,.28787,131,-35.71,149.15,.71143,4,123,1723.81,-1732.81,0,124,2214.51,21.47,14e-5,130,385.12,167.75,.24072,131,144.23,112.88,.75914,4,123,1830.18,-1544.93,0,124,2132.28,221.1,2e-5,130,528.68,329.01,.20786,131,347.07,186.85,.79212,3,124,2261.05,213.46,0,130,578.12,209.86,.19469,131,334.14,58.5,.80531,3,124,2309.23,189.99,0,130,578.09,156.28,.20506,131,308.72,11.33,.79494,3,124,2391.18,112.32,0,130,544.08,48.61,.23979,131,227.75,-67.36,.76021,2,130,466.05,-31.91,.29602,131,120.88,-101.29,.70398,2,130,376.51,-105.8,.36788,131,7.02,-123.92,.63212,3,129,665.3,14.71,.23046,130,222.99,-140.36,.34493,131,-144.55,-81.6,.42461,3,129,553.33,-82.71,.31381,130,75.29,-154.94,.36397,131,-281.52,-24.45,.32222,4,128,805.76,-7.57,.12134,129,407.38,-153.55,.35437,130,-84.71,-128.17,.3195,131,-409.73,74.95,.2048,4,128,647.35,-67.55,.17372,129,238.02,-156.75,.40742,130,-224.64,-32.7,.28562,131,-487.7,225.32,.13324,5,136,520.5,221.9,.09644,128,465.27,-114.55,.2114,129,50.74,-139.76,.40045,130,-367.48,89.6,.2177,131,-555.53,400.71,.07401,4,136,391.16,143.66,.13577,128,314.2,-120.01,.27181,129,-93.36,-94.09,.4174,130,-458.51,210.28,.17502,4,136,271.03,94.54,.17096,128,185.35,-104.51,.31322,129,-209.49,-36.16,.39055,130,-519.63,324.77,.12527,5,136,389.21,108.71,.13044,137,37,102.27,.36342,128,295.5,-149.6,.21896,138,-287.58,269.02,.23342,130,-493.48,208.66,.05375,4,136,527.4,158.36,.13954,137,183.77,97.76,.45907,138,-160.15,196.05,.3696,130,-429.99,76.25,.03179,5,136,690.49,249,.08296,137,368.74,122.27,.32348,138,14.62,130.74,.32583,139,-279.53,374.11,.25755,130,-323.18,-76.74,.01019,4,137,548.12,186.72,.27396,138,203.25,103.31,.3453,139,-145.34,238.74,.37697,130,-183.46,-206.39,.00377,4,137,668.49,275.24,.19932,138,351.1,124.85,.31508,139,-14.26,167.02,.48447,130,-49.51,-272.58,.00113,4,137,766.12,384,.13468,138,488.39,174.96,.26821,139,125.56,124.47,.59681,130,91.96,-309.27,29e-5,3,138,609.18,273.86,.23058,139,281.54,130.83,.76935,130,247.54,-296.41,7e-5,3,138,671.18,367.25,.1606,139,387.25,168.14,.83939,130,351.6,-254.72,1e-5,2,139,466.67,224.58,1,130,428.6,-195.02,0,2,139,523.28,286.98,1,130,482.56,-130.31,0,1,139,554.72,317.88,1,1,139,565.39,220.66,1,1,139,621.53,68.5,1,1,139,586.17,-24.51,1,1,139,451.97,-106.83,1,2,138,794,64.18,.30341,139,303.07,-147.85,.69659,3,137,987.3,250.07,.00212,138,620.66,-47.22,.42241,139,97.58,-132.58,.57547,3,137,818.49,127.65,.00604,138,414.12,-75.93,.54662,139,-84.68,-31.29,.44733,3,137,675.34,43.68,.015,138,248.3,-82.75,.66056,139,-221.25,63.01,.32444,3,137,847.63,63.26,.03281,138,409.57,-146.46,.74921,139,-130.74,-84.9,.21799,3,137,978.32,148.4,.06396,138,564.95,-132.74,.80122,139,1.64,-167.39,.13482,3,137,1078.94,161.54,.11227,138,659.93,-168.44,.81141,139,56.04,-253.04,.07633,3,137,1057.66,42.79,.17915,138,585.33,-263.25,.78148,139,-60.58,-283.91,.03937,3,137,825.16,-41.54,.26258,138,340.47,-228.39,.71899,139,-235.22,-108.79,.01843,4,136,913.75,81.56,.07544,137,515.03,-115.39,.33037,138,32.03,-147.79,.58699,139,-433.16,141.13,.0072,4,136,775.65,40.67,.12187,137,371.55,-102.77,.40083,138,-88.68,-69.21,.4747,139,-482.32,276.51,.0026,4,136,657.17,2.6,.18119,137,247.37,-94.73,.45301,138,-194.51,-3.74,.36498,139,-527.48,392.46,82e-5,4,136,530.11,-36.68,.25095,137,
60114.76,-84.67,.48129,138,-306.82,67.47,.26753,139,-574.37,516.91,22e-5,4,127,700.18,-149.9,.1311,136,408.77,-60.76,.28462,137,-6.96,-62.56,.42139,138,-403.86,144.2,.1629,3,127,526.55,-175.4,.19972,136,234.69,-83.01,.37268,137,-177.07,-19.41,.4276,3,126,634.15,-117.06,.26486,127,155.87,-162.13,.28152,136,-135.67,-62.81,.45362,3,126,506.67,-129.78,.49123,127,29.36,-141.94,.45153,136,-261.79,-40.26,.05724,2,126,331.73,-120.82,.5106,132,-46.37,88.13,.4894,1,126,226.51,-114.23,1,1,132,-43.46,56.63,1,1,132,81.39,55.15,1,1,132,196.73,58.57,1,2,132,330.49,76.48,.51429,133,9.56,76.71,.48571,1,133,163.87,64.53,1,2,133,309.52,76.1,.52571,134,4.97,85.09,.47429,1,134,165.17,42.09,1,1,134,304.51,34.5,1,2,134,414.38,39.93,.5,135,8.25,43.15,.5,1,135,114.89,18.35,1,1,135,164.55,56.53,1,1,135,130.08,152.09,1,1,135,262.19,121.36,1,1,135,297.74,103.15,1,1,135,323.68,26.49,1,1,135,285.74,-38.29,1,1,135,168.22,-51.75,1,2,134,439.35,-25.8,.48636,135,-9.55,-24.87,.51364,1,134,228.99,-59.46,1,2,133,341.97,-39.17,.49143,134,-24.81,-30.9,.50857,1,133,213.93,-69.15,1,2,132,407.27,-48.74,.46,133,50.24,-64.43,.54,1,132,269.7,-73.46,1,1,132,82.43,-68.63,1,1,132,-66.01,-71.18,1,3,120,1314.71,-391,2e-5,125,584.51,-212.11,.1764,126,138.44,-214.1,.82358,3,120,1316.79,-269.17,12e-5,125,467.49,-178.17,.2615,126,21.91,-178.5,.73837,4,120,1311.2,-120.98,84e-5,124,613.91,-309.14,.29307,125,323.01,-144.71,.47107,126,-122.08,-142.98,.23502,3,120,1309.51,12.72,.00343,124,530.13,-204.93,.42992,125,193.54,-111.28,.56666,4,120,1236.85,118.61,.00779,123,461.16,-426.74,.20491,124,407.64,-166.38,.37819,125,72.31,-153.63,.4091,4,120,1107.31,228.89,.01971,123,361.73,-288.7,.24632,124,237.65,-159.45,.38896,125,-68.08,-249.73,.345,6,120,992.5,267.53,.03146,121,762.23,-287.55,.10645,122,443.02,-324.86,.21874,123,259.48,-223.73,.19295,124,123.44,-199.84,.26105,125,-135.47,-350.39,.18934,6,120,835.99,260.46,.0612,121,637.53,-192.72,.15245,122,326.49,-220.14,.25175,123,105.82,-193.19,.18799,124,4.6,-301.92,.21795,125,-169.68,-503.28,.12865,5,120,709.71,215.51,.11901,121,511.77,-146.33,.21949,122,204.94,-163.63,.29285,123,-27.54,-206.65,.18502,124,-67.1,-415.18,.18363,4,120,570.2,153.71,.21578,121,365.06,-104.41,.29517,122,62.15,-109.86,.31897,123,-177.78,-233.32,.17008,4,120,498.39,91.74,.30302,121,270.22,-105.98,.30754,122,-32.5,-103.67,.26906,123,-262.32,-276.32,.12037,4,120,394.6,-11.23,.40222,121,124.56,-118.56,.3036,122,-178.71,-104.3,.21466,123,-387.71,-351.5,.07952,4,120,240.08,-86.93,.5024,121,-42.59,-77.69,.28509,122,-341.95,-49.9,.16376,123,-555.85,-388.07,.04874,3,120,90.27,-81.59,.60512,121,-154.19,22.39,.26578,122,-445,58.97,.12909,3,120,-23.33,-46.03,.65416,121,-218.64,122.47,.23606,122,-501.05,163.98,.10978,3,120,-61.07,15.2,.66521,121,-208.39,193.66,.21691,122,-485.02,234.1,.11788,2,125,525.09,-56.57,.22994,126,81.24,-57.73,.77006,2,125,373.98,-14.66,.84385,126,-69.26,-13.68,.15615,2,125,161.14,12.71,.99782,126,-281.7,16.72,.00218,2,136,145.78,86.04,.33481,128,71.77,-51.03,.66519,2,127,225.7,-9.01,.96512,136,-62.99,88.97,.03488,4,125,874.45,15.19,17e-5,126,431.58,9.05,.57174,127,-7.89,11.43,.42796,128,-300.89,188.14,14e-5,2,130,454.97,98.59,.21668,131,172.96,18.88,.78332,2,130,301.6,4.27,.37348,131,-6.78,8.5,.62652,3,129,529.24,62.03,.28801,130,139.48,-22.98,.36315,131,-162.46,61.33,.34884,4,128,696.67,111.05,.1423,129,344.54,-5.15,.37505,130,-50.01,29.21,.29418,131,-304.59,197.08,.18848,5,124,1928.79,-553.77,1e-5,128,460.03,23.73,.25843,129,92.32,-7.78,.44573,130,-257.15,173.12,.20623,131,-418.8,421.98,.0896,5,124,1684.09,-563.11,34e-5,127,507.72,154.72,.15429,128,216.88,52.88,.39381,129,-126.85,101.46,.33239,130,-372.57,389.11,.11917,6,124,1452.11,-535.89,.00169,126,689.81,164.97,.13999,127,281.55,96.42,.39408,128,-7.95,116.14,.31697,129,-317.3,236.67,.10707,130,-449.54,609.62,.0402,5,136,786.76,152.14,.05984,137,422.78,-3.15,.39369,138,3.37,-5.36,.48018,139,-370.38,272.15,.06622,130,-409.71,-182.39,7e-5,5,136,622.98,95.21,.13536,137,249.53,3.96,.50805,138,-146.21,82.35,.30867,139,-437.12,432.19,.04739,130,-483.06,-25.27,53e-5,4,136,469.3,45.23,.23021,137,88.23,13.83,.56156,138,-283.93,166.89,.20386,130,-548.45,122.5,.00437,6,127,577.26,-76.6,.08558,136,287.25,14.82,.28166,137,-92.29,52.32,.38469,128,160.75,-182.05,.15889,138,-425.17,285.72,.07194,130,-597.28,300.5,.01724,3,127,390.97,-93.12,.13265,136,100.67,1.79,.44786,128,-8.61,-102.71,.41949,3,126,641.57,-28.04,.0922,127,185.72,-77.93,.71938,136,-104.25,20.81,.18842,4,125,903.32,-44.11,13e-5,126,459.6,-50.65,.55777,127,4,-53.43,.44201,128,-323.21,126.08,1e-4,1,139,465.79,69.31,1,2,138,676.72,190.54,.22793,139,285.38,23.64,.77207,3,137,843.51,335.16,.05648,138,533.74,95.47,.34332,139,113.98,33.69,.60021,3,137,698.08,188.13,.09588,138,336.27,34.06,.51755,139,-80.72,103.41,.38656,4,137,509.85,83.14,.30279,138,120.78,29.87,.51003,139,-255.39,229.67,.18715,130,-293.04,-220.04,3e-5,1,135,196.33,-18.29,1,1,135,70.01,-6.24,1,1,134,325.98,-5.17,1,1,134,80.54,14.86,1,1,133,220.26,-.16,1,1,133,23.86,21.03,1,1,132,158.48,5.34,1,1,132,-49.74,2.04,1,2,125,466.54,-92.95,.39859,126,22.17,-93.27,.60141,5,125,911.04,90.64,.07952,126,469.24,83.97,.38822,127,47.62,74.28,.45566,128,-221.31,214.58,.06582,130,-491.11,840.89,.01078,4,125,640.18,113.55,.13974,126,198.73,110.74,.853,137,-722.14,580.47,.00339,130,-417.89,1102.67,.00387,4,124,848.58,
60-114.95,.04785,125,394.99,151.26,.61967,126,-45.9,151.93,.33185,130,-334.94,1336.47,63e-5,3,123,706.35,-408.53,.04171,124,544.58,37.82,.20776,125,59.97,91.93,.75052,4,120,1287.03,274.3,5e-5,123,547.1,-287.56,.18314,124,351.13,-12.88,.45704,125,-64.77,-64.39,.35977,6,120,1062.47,419.25,.00145,121,913.15,-215.89,.02948,122,599.29,-265.76,.14553,123,363.69,-93.14,.28583,124,84.96,-37.26,.38654,125,-263.53,-243.09,.15117,6,120,864.57,460.49,.00689,121,787.63,-57.44,.06264,122,487.14,-97.58,.24556,123,181.39,-5.79,.36003,124,-96.26,-126.82,.26673,125,-355.22,-423.24,.05814,5,120,652.79,385.63,.03282,121,577.05,20.76,.14705,122,283.66,-2.44,.3794,123,-42.15,-27.86,.30438,124,-216.81,-316.37,.13636,4,120,479.34,233.76,.15904,121,346.58,15.27,.26284,122,53.51,10.93,.4173,123,-246.87,-133.87,.16082],hull:112,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,94,96,96,98,98,100,100,102,102,104,104,106,106,108,108,110,110,112,112,114,114,116,116,118,118,120,120,122,122,124,124,126,126,128,128,130,130,132,132,134,134,136,136,138,138,140,140,142,142,144,144,146,146,148,148,150,150,152,152,154,154,156,156,158,158,160,160,162,162,164,164,166,166,168,168,170,170,172,172,174,174,176,176,178,178,180,180,182,182,184,184,186,186,188,188,190,190,192,192,194,194,196,196,198,198,200,200,202,202,204,204,206,206,208,208,210,210,212,212,214,214,216,216,218,218,220,220,222,0,222,94,92,92,90,90,88,88,86,86,84,84,82,82,80,80,78,78,76,76,74,74,72,72,70,70,68,68,66,66,64,64,62,62,60,60,58,58,56,56,54,50,52,54,52],width:3559,height:1800}},toufa4:{toufa4:{type:"mesh",uvs:[.00159,.19043,.01959,.31187,.06231,.41531,.23997,.55474,.46485,.64019,.60877,.68367,.71897,.75413,.76169,.85308,.76619,.95353,.80217,1,.93035,.97901,.97758,.91755,1,.82609,.91011,.70166,.76394,.60571,.61552,.54574,.44911,.4408,.35016,.32236,.24447,.12596,.1725,0,.06456,.04951],triangles:[20,19,18,0,20,18,1,0,18,1,18,17,2,1,17,3,2,17,3,17,16,4,16,15,3,16,4,5,4,15,5,15,14,6,5,14,6,14,13,7,6,13,7,13,12,11,7,12,8,7,11,10,8,11,9,8,10],vertices:[1,210,98.09,-79.3,1,2,211,-56.34,-85.78,.17464,210,219.59,-98.46,.82536,2,211,47.56,-115.81,.90697,210,327.73,
60-96.97,.09303,2,212,-22.08,-86.82,.3608,211,229.78,-87.51,.6392,2,213,-39.57,-88.03,.08792,212,151.74,-80.22,.91208,2,213,61.95,-56.9,.94581,212,257.02,-66.4,.05419,2,214,-14.41,-88.77,.19409,213,164.47,-61.16,.80591,2,214,88.91,-78.99,.94869,213,251.99,-116.95,.05131,1,214,188.98,-94.72,1,1,214,239.48,-79.62,1,1,214,234.61,8.94,1,1,214,179.59,51.58,1,1,214,91.77,83.43,1,2,214,-42.66,47.24,.24362,213,225.79,63.48,.75638,1,213,88.14,71.02,1,2,213,-26.64,50.35,.16994,212,187.49,54.08,.83006,2,212,36.68,84.91,.60349,211,205.34,92.34,.39651,3,212,-82.81,151.22,.00286,211,68.8,98.07,.8107,210,285.84,113.84,.18644,1,210,76.36,95.03,1,1,210,-58.7,80.25,1,1,210,-28.7,-2.53,1],hull:21,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,0,40],width:672,height:1008}},toufa5:{toufa5:{type:"mesh",uvs:[.8986,.88281,.83529,.94756,.75002,.98281,.61954,1,.48259,.9869,.39861,.95822,.34177,.89429,.3534,.82216,.41799,.74184,.46838,.68529,.54331,.59923,.59887,.54596,.61308,.48694,.60274,.42465,.56398,.3681,.48388,.33696,.37924,.37138,.33531,.42711,.31593,.48612,.37019,.50825,.36502,.54841,.37924,.59185,.41929,.63529,.34177,.64431,.25392,.62218,.19319,.60005,.1609,.57136,.17511,.62054,.17898,.66398,.11826,.63775,.0808,.58776,.08209,.52792,.11071,.47137,.14938,.42338,.17247,.39743,.17818,.38928,.19164,.37231,.23188,.335,.26835,.32112,.30299,.29915,.34784,.27023,.39888,.24826,.44201,.23366,.48759,.22534,.52551,.2214,.47155,.20012,.4019,.18925,.32861,.18763,.25568,.20197,.19172,.22736,.16036,.25095,.12973,.28149,.10238,.31109,.08999,.33839,.09436,.36175,.10997,.38139,.13838,.3883,.16199,.39032,.17481,.38922,.17211,.39363,.16478,.39656,.14994,.39925,.11745,.4015,.09515,.3976,.07238,.38663,.05782,.36569,.05235,.38461,.05486,.40569,.05986,.42157,.07921,.44121,.10038,.45998,.08377,.45739,.05827,.44323,.02891,.41897,.01388,.40222,.00888,.37132,.01229,.34128,.02755,.30779,.04719,.2716,.0778,.23948,.11822,.2124,.16612,.18403,.22241,.1627,.28475,.15383,.34142,.14808,.39242,.14784,.46327,.15548,.5475,.16891,.60679,.19936,.63455,.21668,.70137,.22892,.77195,.24653,.8176,.27847,.8383,.30265,.84206,.34146,.86252,.37139,.87042,.39464,.88842,.3762,.88653,.34313,.87484,.30525,.8521,.26998,.82019,.23932,.78418,.20745,.75342,.18658,.69971,.15932,.64506,.14329,.59704,.13387,.53797,.12625,.4849,.13347,.44004,.1481,.43625,.14088,.44983,.12946,.47921,.12265,.44794,.12465,.41255,.13086,.38317,.13407,.40655,.11884,.45046,.11002,.50448,.10461,.57714,.10501,.63369,.11483,.6934,.13066,.75359,.15032,.8049,.17705,.86353,.21629,.89789,.25349,.88506,.21542,.8617,.15787,.8246,.10091,.77237,.07185,.71603,.05965,.68121,.06633,.66106,.08348,.63254,.08974,.57974,.08156,.53941,.06547,.53733,.04042,.55646,.01668,.61466,.00402,.67744,.00349,.73772,.01299,.79925,.0267,.85663,.05228,.89778,.09053,.9431,.13668,.9722,.17519,.98873,.2318,.9932,.27121,.98426,.33604,.96538,.38301,.94947,.41295,.92057,.45565,.8838,.48969,.86045,.51239,.83498,.57429,.81042,.61775,.77616,.65466,.74837,.69279,.71671,.72477,.70055,.77251,.71024,.82089,.74837,.85574,.81753,.86189,.90155,.84385],triangles:[105,121,104,111,112,108,108,112,118,113,117,112,114,116,113,115,116,114,113,116,117,112,117,118,107,108,118,107,119,106,106,119,120,106,120,105,105,120,121,132,133,131,131,133,134,134,138,131,138,139,131,134,136,137,134,137,138,129,141,142,129,130,141,131,139,130,134,135,136,130,140,141,130,139,140,107,118,119,109,111,108,109,110,111,104,121,122,127,143,144,127,128,143,128,142,143,128,129,142,102,103,123,103,122,123,103,104,122,99,125,147,99,100,125,125,146,147,125,101,124,125,100,101,125,126,146,101,102,124,126,145,146,124,102,123,145,126,127,145,127,144,151,152,96,152,12,96,151,96,150,13,95,96,96,97,150,150,97,149,148,149,98,149,97,98,98,99,148,148,99,147,72,69,71,70,71,69,72,68,69,72,73,68,73,67,68,73,74,67,74,66,67,74,75,66,63,55,62,62,56,61,62,55,56,61,57,60,61,56,57,63,64,55,60,57,59,59,57,58,64,54,55,64,65,54,66,75,65,75,76,65,65,53,54,65,76,53,76,77,53,53,77,52,77,78,52,52,78,51,78,79,51,51,79,50,79,80,50,50,80,49,80,81,49,49,81,48,81,82,48,48,83,47,48,82,83,47,84,46,84,85,46,46,85,86,47,83,84,90,14,89,89,44,88,89,14,44,44,87,88,44,45,87,46,86,45,45,86,87,32,33,18,18,33,17,29,27,28,23,21,22,23,24,21,29,30,27,21,24,20,30,26,27,24,25,20,25,26,20,30,31,26,31,32,26,26,18,20,26,32,18,20,18,19,17,33,34,17,34,35,35,36,17,36,37,17,14,15,44,15,43,44,17,37,16,16,37,38,38,39,16,39,40,16,16,40,15,40,41,15,41,42,15,15,42,43,13,94,95,93,94,92,92,94,14,92,14,91,14,94,13,91,14,90,12,13,96,157,10,156,10,11,156,156,11,155,155,11,154,153,154,12,154,11,12,153,12,152,159,160,8,8,9,159,159,9,158,157,158,10,158,9,10,6,7,5,160,4,7,8,160,7,5,7,4,161,3,4,1,161,162,1,2,161,1,162,0,0,162,163,2,3,161,161,4,160],vertices:[4,141,37.61,56.31,.84843,142,-207.06,-142.84,.13449,143,57.27,-484.37,.01173,144,44.22,-521.79,.00535,4,141,186.07,121.49,.71354,142,-154.92,10.68,.26999,143,-84.69,-406.05,.0158,144,-117.85,-516.97,67e-5,4,141,323.42,118.13,.50342,142,-59.71,109.73,.44107,143,-165.46,-294.91,.05548,144,-240.47,-455,3e-5,4,141,489.33,48.55,.28728,142,103.64,185.15,.56398,143,-210.98,-120.85,.14801,144,-360.48,-320.95,74e-5,4,141,625.94,-79.1,.1257,142,290.03,199.74,.56961,143,-192.58,65.21,.29444,144,-429.1,-147.04,.01025,5,141,684.82,-193.6,.03808,142,414.26,165.87,.45811,143,-137.4,181.55,.45522,144,-433.15,-18.34,.04817,145,-756.46,49.99,41e-5,6,141,671.05,-349.19,.0065,142,519.73,50.66,.29163,143,-5.45,265.12,.55668,144,-353.95,116.28,.1361,145,-665.06,176.65,.00902,146,-848.97,473.57,7e-5,7,141,571.21,-466.81,4e-5,142,539.09,-102.4,.14485,143,148.64,257.27,.54248,144,-213.29,179.69,.26675,145,-519.11,226.67,.04376,146,-694.69,474.2,.00208,148,299,1201.54,3e-5,6,142,492.73,-288.6,.05393,143,323.79,178.9,.41827,144,-21.68,189.97,.38648,145,-327.37,219.05,.12524,146,-515.5,405.56,.01554,148,236.36,1020.16,54e-5,8,142,453.63,-421.19,.014
6007,143,447.44,117.1,.25093,144,116.55,191.49,.42646,145,-189.61,207.68,.24521,146,-388.64,350.66,.05813,147,-388.12,637.6,92e-5,148,185.71,891.54,.00425,149,523.42,730.06,3e-5,8,142,396.43,-622.44,.00212,143,635.5,25.41,.11257,144,325.72,195.83,.36026,145,19.06,192.51,.35488,146,-195.83,269.44,.14334,147,-263.99,469.19,.00554,148,110.95,696.14,.02037,149,336,637.07,91e-5,9,142,348.97,-749.81,9e-5,143,752.54,-43.7,.03513,144,461.41,187.81,.23103,145,153.41,171.87,.39055,146,-75.16,206.85,.2547,147,-192.31,353.69,.01688,148,52.42,573.45,.06148,149,209.81,586.55,.01013,150,244.73,548.23,1e-5,9,143,878.93,-56.46,.00642,144,579.67,234.19,.10835,145,275.48,207.04,.33031,146,51.74,201.06,.34219,147,-86.23,283.8,.03428,148,50.85,446.43,.13115,149,122.56,494.22,.04496,150,119.35,527.75,.00234,151,63.97,542.9,1e-5,9,143,1010.6,-35.77,34e-5,144,687.35,312.75,.03473,145,390.01,275.22,.21295,146,182.07,228.96,.35448,147,40.03,241.11,.04968,148,83.07,317.1,.20662,149,58.58,377.29,.12122,150,-2.44,473.6,.01892,151,-69.22,537.92,.00105,8,144,765.22,418.37,.00632,145,477.39,373.13,.1017,146,296.21,293.72,.28411,147,171.23,238.37,.05398,148,151.6,205.18,.24764,149,33.1,248.56,.2281,150,-100.78,386.72,.06547,151,-192.82,493.84,.01268,8,144,768.32,545.17,35e-5,145,492.29,499.08,.03405,146,350.67,408.26,.17422,147,276.62,308.94,.04366,148,267.89,154.56,.22718,149,84.28,132.52,.31536,150,-130.48,263.42,.14941,151,-266.25,390.42,.05577,7,145,366.61,596.69,.00702,146,262.89,540.99,.07907,147,269.08,467.89,.02626,148,397.62,246.72,.15784,149,242.13,112.33,.33059,150,-17.23,151.61,.23996,151,-202.69,244.52,.15926,7,145,234.07,600.88,7e-4,146,138.68,587.41,.02507,147,186.09,571.32,.01086,148,439.89,372.4,.08053,149,358.4,176.09,.26133,150,113.88,131.78,.29113,151,-88.36,177.36,.33038,7,145,109.08,572.05,2e-5,146,11.04,600.14,.00482,147,82.92,647.54,.00287,148,448.36,500.39,.02773,149,451.39,264.45,.15441,150,241.4,145.62,.2669,151,35.16,142.78,.54326,6,146,-28.04,522.32,45e-5,147,9.54,600.66,25e-5,148,369.28,536.86,.00545,149,417.96,344.86,.06381,150,263.61,229.82,.18809,151,87.09,212.69,.74195,5,146,-113.76,520.22,1e-5,148,364.32,622.46,11e-5,149,472.35,411.16,.01699,150,347.06,249.54,.09835,151,171.89,199.96,.88454,3,149,509.19,498.08,.0018,150,429.07,296.29,.0379,151,265.41,212.86,.9603,3,149,517.35,604.86,2e-5,150,500.33,376.23,.00978,151,361.28,260.57,.9902,2,150,550.85,282.6,.0018,151,373.36,154.87,.9982,2,150,542.63,155.26,21e-5,151,318.38,39.72,.99979,1,151,265.86,-38.89,1,1,151,202.01,-78.28,1,2,150,572.12,52.98,8e-5,151,307.72,-66.2,.99992,2,150,658.44,86.46,.00424,151,400.3,-67.22,.99576,2,150,630.63,-8.73,.02782,151,339.08,-145.24,.97218,2,150,545.02,-89.65,.09816,151,229.52,-188.52,.90184,2,150,423.36,-127.26,.2393,151,102.61,-178.19,.7607,3,149,661.3,80.95,11e-5,150,296.98,-127.61,.4421,151,-14.85,-131.52,.55779,3,149,560.25,26.69,.00723,150,183.73,-109.44,.65418,151,-113.22,-72.54,.3386,3,149,503.19,-.97,.04013,150,121.58,-96.82,.79772,151,-166.22,-37.71,.16215,3,149,486.97,-10.85,.12951,150,102.7,-94.83,.81411,151,-183.01,-28.84,.05638,3,149,451.47,-30.19,.29122,150,62.74,-88.68,.69608,151,-217.81,-8.28,.0127,4,149,361.63,-64.54,.50597,150,-29.52,-61.49,.49291,151,-293.34,51.28,.00111,153,298.61,323.85,0,6,148,560.72,161.59,.00264,149,304.34,-60.8,.71504,150,-72.8,-23.77,.28187,151,-319.49,102.38,3e-5,152,290.56,387.44,42e-5,153,246.33,300.15,0,5,148,520.9,108.79,.01755,149,239.27,-72.63,.85355,150,-131.7,6.3,.12436,152,270.19,324.52,.00454,153,194.52,259.04,0,5,148,469.48,39.45,.05771,149,154.47,-88.76,.87856,150,-208.91,44.92,.03916,152,244.27,242.18,.02457,153,127.33,204.85,1e-5,5,148,407.73,-16.43,.12557,149,71.19,-87.98,.78363,150,-274.65,96.05,.00744,152,204.17,169.18,.08334,153,53.51,166.28,2e-5,5,148,354.38,-55.27,.19559,149,5.64,-80.38,.59933,150,-322.14,141.86,47e-5,152,166.45,115.04,.19472,153,-7.88,142.09,.00989,4,148,295.91,-81.36,.22886,149,-55.04,-59.92,.38241,152,119.72,71.26,.33695,153,-71.03,131.52,.05179,5,148,246.37,-96.76,.20219,149,-101.89,-37.66,.19608,152,77.94,40.52,.44148,153,-122.85,129.07,.1556,154,-223.84,340.7,.00464,5,148,324.8,-131.49,.13443,149,-67.77,-116.37,.07582,152,163.42,33.33,.44699,153,-55.66,75.74,.31185,154,-204.07,257.23,.03091,6,148,421.13,-141.35,.06441,149,-3.64,-188.91,.02017,152,257.67,55.5,.34562,153,35.1,42,.46167,154,-153.67,174.55,.10812,155,-291.17,336.15,2e-5,6,148,519.59,-131.03,.0206,149,75.75,-248.06,.00287,152,347.35,97.45,.20172,153,132.99,27.25,.51538,154,-85.9,102.38,.25271,155,-261.89,241.57,.00673,6,148,612.85,-87.14,.00344,149,174.07,-279.01,1e-4,152,421.14,169.42,.0832,153,234.29,46.3,.44237,154,5.45,54.65,.43174,155,-200.69,158.64,.03915,5,148,690.87,-21.65,3e-5,152,473.46,256.81,.02233,153,326.26,90.08,.28611,
60154,104.79,32.12,.56295,155,-121.27,94.85,.12859,5,148,725.82,33.95,0,152,488.32,320.78,.0025,153,374.06,135.11,.13628,154,170.21,37.9,.5692,155,-59.93,71.39,.29202,4,152,495.58,397.45,0,153,422.58,194.93,.04317,154,245.34,54.86,.44739,155,15.03,53.71,.50945,4,152,499.79,470.36,0,153,466.46,253.3,.00771,154,315.93,73.55,.2684,155,86.67,39.57,.7239,2,154,368.74,102.96,.11862,155,147.03,42.87,.88138,2,154,399.59,142.4,.03515,155,192.04,64.79,.96485,2,154,414.09,186.9,.00572,155,224.58,98.44,.99428,2,154,397.24,224.36,1e-5,155,225.85,139.5,.99999,1,155,219.43,171,1,1,155,211.53,186.58,1,1,155,221.57,186.22,1,1,155,230.72,178.93,1,1,155,242.72,161.89,1,1,155,261.67,122.05,1,1,155,263.73,90.88,1,1,155,251.79,54.18,1,1,155,216.17,20.95,1,1,155,256.62,27.23,1,1,155,297.87,45.18,1,1,155,327.57,62.68,1,1,155,358.45,101.09,1,1,155,386.78,141.22,1,1,155,388.93,118.21,1,1,155,371.81,75.81,1,1,155,336.09,21.39,1,2,154,537.36,126.93,.0012,155,309.1,-9.49,.9988,2,154,495.81,75.51,.0153,155,249.22,-37.5,.9847,2,154,447.5,33.41,.06636,155,187.34,-54.17,.93364,2,154,382.65,-2.64,.18597,155,113.26,-58.16,.81403,3,153,530.86,161.28,.00728,154,309.56,-38.59,.36879,155,31.8,-58.44,.62394,3,153,482,98.11,.04145,154,232.09,-57.97,.56006,155,-46.33,-41.9,.39848,3,153,421.19,47.1,.1345,154,152.75,-60.39,.66288,155,-118.7,-9.32,.20263,4,152,546.18,190.42,15e-5,153,350.04,-5.47,.30146,154,64.33,-57.65,.62306,155,-196.98,31.89,.07533,4,152,499.16,115.42,.01275,153,269.35,-41.87,.50823,154,-21.58,-36.3,.46052,155,-264.84,88.73,.0185,4,152,432.8,60.33,.06242,153,183.58,-50.99,.67129,154,-94.59,9.62,.26445,155,-310.34,162,.00184,3,152,370.24,14.62,.18554,153,106.18,-54.39,.70204,154,-157.49,54.85,.11242,4,148,446.03,-226.85,.00339,152,309.16,-17.15,.37889,153,37.72,-47.02,.58511,154,-206.7,103.01,.03262,5,147,639.11,172.9,.00252,148,349.05,-224.02,.02092,152,216.58,-46.18,.59231,153,-55.43,-19.91,.37918,154,-263.09,181.96,.00507,4,147,565.64,81.53,.02003,148,232.48,-211.49,.06549,152,102.32,-72.45,.72748,153,-165.12,21.51,.187,5,147,473.33,35.87,.07718,148,144.22,-158.44,.13648,152,1.56,-51.16,.72305,153,-237.22,95.04,.06321,156,368.12,487.28,9e-5,5,147,424.2,17.21,.20053,148,101.99,-127.15,.20377,152,-48.58,-35.41,.58196,153,-270.24,135.93,.01303,156,342.46,441.42,71e-5,5,147,362.85,-53.87,.38781,148,9.04,-113.88,.2288,152,-140.75,-53.25,.37947,153,-356.87,172.12,21e-5,156,341.1,347.54,.00371,5,146,583.16,41.9,36e-5,147,289,-124.78,.59553,148,-90.53,-90,.19306,152,-242.66,-63.22,.19602,156,330.05,245.74,.01503,5,146,522.09,-26.56,.00235,147,201.5,-152.38,.74954,148,-160.98,-31.24,.12232,152,-328.45,-30.73,.07734,156,280.71,168.39,.04844,5,146,473.88,-59.8,.00729,147,143.07,-156.28,.79162,148,-195.81,15.84,.05502,152,-376.75,2.38,.02169,156,238.44,127.87,.12437,6,146,392.3,-73.59,.01505,147,65.92,-126.4,.70659,148,-212.31,96.92,.01645,152,-418.85,73.61,.00363,156,160.12,101.21,.25818,157,-83.54,135.47,1e-4,6,146,331.88,-107.79,.02181,147,-3.49,-124.88,.53239,148,-248.49,156.16,.00236,152,-472.42,117.77,3e-4,156,105.95,57.79,.43833,157,-149.05,112.5,.00481,6,146,283.82,-123.62,.02365,147,-52.89,-113.9,.33259,148,-265.92,203.67,6e-5,152,-504.42,156.97,0,156,61.03,34.47,.61363,157,-199.16,105.42,.03006,4,146,325.4,-143.64,.0188,147,-27.4,-152.38,.16721,156,105.29,21.36,.71025,157,-161.77,78.36,.10373,4,146,395.11,-133.66,.01105,147,37.61,-179.45,.06391,156,172.5,42.37,.67673,157,-91.4,75.85,.24831,5,146,473.59,-109.44,.00429,147,117.43,-198.78,.01689,156,246.09,78.83,.52571,157,-9.87,85.81,.4408,158,-211.24,220.8,.01231,5,146,544.98,-70.96,.00102,147,198.46,-202.24,.00243,156,310.41,128.22,.3256,157,67.2,111.05,.60936,158,-131.87,204.18,.06159,6,146,605.31,-21.23,2e-5,147,27
605.73,-190.36,6e-5,156,362.01,186.97,.15572,157,135.37,149.32,.65947,158,-53.69,203.3,.17249,159,-89.38,379.46,.01224,4,156,414.61,251.73,.05348,157,206.5,192.95,.56497,158,29.72,205.57,.32042,159,-29.31,321.54,.06113,4,156,446.52,303.49,.01174,157,253.79,231.17,.37341,158,89.78,215.08,.43143,159,19.55,285.35,.18342,4,156,483.37,388.71,96e-5,157,316.84,299.32,.18867,158,178.44,242.63,.43153,159,101.33,241.39,.37884,3,157,356.17,370.46,.06861,158,248.04,284.63,.32063,159,180.06,221.16,.61076,3,157,380.82,433.68,.02176,158,300.96,327.09,.1727,159,247.44,213.15,.80554,3,157,402.71,512.06,.01069,158,359.07,384.07,.06169,159,328.8,211.61,.92762,3,157,392.54,584.63,.01023,158,386.5,452.01,.01235,159,396.5,239.65,.97743,2,157,365.83,647.27,.00758,159,450.44,281.21,.99242,2,157,381.51,651.27,.00441,159,458.25,267.03,.99559,2,157,404.44,631.23,.00169,159,444.6,239.81,.99831,2,157,416.06,590.63,49e-5,159,408.21,218.39,.99951,2,157,414.84,633.05,42e-5,159,448.97,230.2,.99958,2,157,405.08,681.64,.00145,159,493.56,251.83,.99855,2,157,401.12,721.69,.00325,159,531.34,265.71,.99675,2,157,431.18,687.89,.0054,159,506.15,228.13,.9946,3,157,445.64,627.41,.00677,158,453.88,462.56,.01235,159,451.23,198.97,.98088,3,157,451.89,553.85,.00667,158,422.55,395.7,.06173,159,381.58,174.47,.9316,3,157,444,456.07,.00508,158,366.89,314.93,.18519,159,284.95,157.6,.80974,3,157,417.67,381.43,.01541,158,306.8,263.41,.37037,159,206.1,164.37,.61422,4,156,539.95,413.01,26e-5,157,378.28,303.45,.06288,158,233.73,215.53,.55556,159,120.73,182.95,.38131,4,156,521.02,323.6,.00105,157,330.73,225.4,.18459,158,153.56,171.65,.6297,159,33.25,209.41,.18466,4,156,484.38,241.79,.00263,157,269.01,160.4,.36977,158,67.62,146.16,.56601,159,-45.15,252.87,.06159,4,156,424.7,143.43,.00421,157,180.06,87.44,.55938,158,-45.88,127.37,.42403,159,-138.08,320.69,.01238,4,156,360.56,77.83,.005,157,97.77,46.86,.64527,158,-137.43,133.31,.34006,159,-197.99,390.17,.00967,4,156,434.15,115.88,.00421,157,179.82,58.32,.58485,158,-60.63,102.26,.36034,159,-166.33,313.61,.0506,4,156,543.96,178.57,.00263,157,304.22,80.98,.408,158,58.47,59.77,.43263,159,-113.2,198.87,.15675,4,156,647.69,258.83,.00105,157,428.71,122.24,.21829,158,186.93,33.35,.44394,159,-42.04,88.7,.33672,4,156,688.77,343.13,26e-5,157,495.45,188.12,.08297,158,277.65,57.09,.35459,159,38.46,40.61,.56217,3,157,526.82,262.13,.02099,158,341.79,105.54,.21092,159,117.97,28.8,.76809,3,157,516.01,310.03,.00218,158,356.34,152.44,.08896,159,161.63,51.27,.90886,3,157,481.57,339.79,0,158,341.37,195.43,.0242,159,181.8,92.07,.9758,3,157,471.05,379.14,0,158,351.91,234.78,.003,159,217.26,112.12,.997,3,157,493.52,448.99,0,158,406.25,284.07,1e-5,159,290.51,107.88,.99999,1,159,350.24,84.04,1,1,159,362.63,32.1,1,2,158,538.23,232.74,.00129,159,346.36,-22.24,.99871,2,158,516.51,152.56,.01691,159,273.94,-62.93,.98309,2,158,469.96,81.74,.07225,159,190.79,-79.34,.92775,3,157,623.76,225.78,.00149,158,407.62,25.65,.1984,159,107.09,-74.16,.80011,3,157,588.69,145.03,.01795,158,336.91,-26.8,.37979,159,20.12,-60.45,.60226,3,157,528.82,71.68,.07522,158,248.42,-60.45,.55145,159,-65.89,-20.89,.37333,4,156,695.05,169.34,41e-5,157,443.66,22.11,.20511,158,149.88,-60.87,.61272,159,-135.23,49.12,.18176,4,156,616.42,84.44,.01396,157,341.3,-31.86,.39147,158,34.24,-56.51,.53208,159,-213.14,134.68,.06249,4,156,547.72,24.95,.06573,157,256.75,-65.16,.56877,158,-55.64,-43.14,.35208,159,-266.58,208.18,.01342,4,156,437.39,-28.31,.19148,157,134.99,-78.77,.63266,158,-167.92,5.88,.17527,159,-310.28,322.64,59e-5,5,145,907.28,-66.72,0,146,562.54,-260.67,.0013,156,358.09,-56.23,.38877,157,50.92,-78.77,.55068,158,-240.76,47.86,.05925,5,145,776.94,-113.53,41e-5,146,424.08,-263.25,.01129,156,221.82,-80.93,.61162,157,-85.81,-56.82,.36443,158,-348.26,135.16,.01225,5,145,675.5,-132.23,.00388,146,321.99,-248.48,.04465,156,118.69,-82.67,.76994,157,-183.68,-24.22,.18118,158,-416.77,212.28,35e-5,4,145,608.64,-139.43,.02425,146,256.35,-233.87,.11184,156,51.55,-78.75,.80354,157,-245.7,1.77,.06037,5,144,845.5,-91.54,13e-5,145,509.8,-142.05,.08604,146,161.87,-204.69,.19897,156,-46.37,-65.06,.70281,157,-333.52,47.2,.01205,5,144,757.92,-84.93,.00288,145,423.22,-127.3,.21467,146,84.58,-162.99,.26295,156,-129.34,-36.26,.51947,
60157,-402.22,101.92,3e-5,7,141,-366.25,-622.59,1e-5,142,21.07,-899.12,0,143,841.88,-392.74,1e-5,144,700.32,-81.88,.0189,145,366.15,-118.9,.39493,146,33.22,-136.75,.26462,156,-184.24,-18.57,.32152,7,141,-263.33,-533.48,13e-5,142,24.83,-763.03,12e-5,143,708.57,-365.12,41e-5,144,569.12,-118.2,.0694,145,232.13,-142.84,.5658,146,-101.41,-116.49,.2013,156,-320.37,-20.1,.16284,7,141,-183.63,-476.02,.00113,142,36.25,-665.45,.00132,143,614.52,-336.72,.00404,144,472.48,-135.9,.17445,145,134.26,-151.46,.63991,146,-196.88,-93.3,.11417,156,-418.33,-12.49,.06498,7,141,-101.05,-437.47,.00649,142,63.57,-578.51,.00747,143,533.73,-294.54,.01748,144,381.35,-135.28,.32442,145,43.59,-142.35,.5805,146,-279.86,-55.63,.04498,156,-506.26,11.43,.01865,7,141,-24.19,-391.83,.02725,142,81.8,-490.99,.0246,143,450.78,-261.21,.04719,144,292.33,-143.52,.4667,145,-45.81,-142.26,.41964,146,-364.51,-26.9,.01118,156,-594.42,26.24,.00345,7,141,49.59,-359.95,.08389,142,108.08,-415.04,.05551,143,380.64,-221.99,.08976,144,212.01,-140.67,.52948,145,-125.51,-131.93,.24023,146,-436.71,8.41,97e-5,156,-671.34,49.55,17e-5,5,141,125.08,-288.56,.19824,142,106.4,-311.15,.09127,143,278.07,-205.38,.12674,144,113.19,-172.75,.47842,145,-226.9,-154.66,.10533,5,141,172.59,-196.29,.37338,142,70.4,-213.81,.11327,143,175.92,-223.7,.13666,144,30.68,-235.72,.34284,145,-314.91,-209.66,.03385,5,141,172.15,-106.01,.58029,142,3.51,-153.18,.10737,143,104.47,-278.89,.1126,144,-7.66,-317.45,.19269,145,-360.7,-287.47,.00705,5,141,102.61,-42.36,.76347,142,-90.39,-161.51,.08306,143,96.16,-372.8,.07029,144,27.85,-404.78,.08245,145,-333.49,-377.72,72e-5,4,141,-12.62,-9.79,.86524,142,-192.22,-224.52,.07719,143,140.29,-484.12,.0318,144,117.95,-483.65,.02576],hull:164,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,66,68,68,70,70,72,72,74,74,76,76,78,78,80,80,82,82,84,84,86,86,88,88,90,90,92,92,94,94,96,96,98,98,100,100,102,102,104,104,106,106,108,108,110,110,112,112,114,114,116,116,118,118,120,120,122,122,124,124,126,126,128,128,130,130,132,132,134,134,136,136,138,138,140,140,142,142,144,144,146,146,148,148,150,150,152,152,154,154,156,156,158,158,160,160,162,162,164,164,166,166,168,168,170,170,172,172,174,174,176,176,178,178,180,180,182,182,184,184,186,186,188,188,190,190,192,192,194,194,196,196,198,198,200,200,202,202,204,204,206,206,208,208,210,210,212,212,214,214,216,216,218,218,220,220,222,222,224,224,226,226,228,228,230,230,232,232,234,234,236,236,238,238,240,240,242,242,244,244,246,246,248,248,250,250,252,252,254,254,256,256,258,258,260,260,262,262,264,264,266,266,268,268,270,270,272,272,274,274,276,276,278,278,280,280,282,282,284,284,286,286,288,288,290,290,292,292,294,294,296,296,298,298,300,300,302,302,304,304,306,306,308,308,310,310,312,312,314,314,316,316,318,318,320,320,322,322,324,324,326,0,326],width:1350,height:2128}},trigger:{trigger:{type:"mesh",uvs:[.16767,.25412,.14623,.41071,.21445,.48389,.34895,.44134,.61601,.90429,.87917,.74941,.62381,.31199,.75636,.19796,.60821,.09243],triangles:[6,8,7,0,8,6,3,1,0,6,3,0,2,1,3,3,6,5,4,3,5],vertices:[526.69,162.6,510.66,176.36,498.07,175.18,494.05,158.93,425.12,167.49,425.23,130.36,490.55,122.57,494.62,101.18,516.01,107.71],hull:9,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,0,16],width:117,height:134}},tutueye:{tutueye:{type:"mesh",uvs:[.16695,.02261,0,.31703,.78614,1,1,.69621,.27917,.04492],triangles:[2,1,4,1,0,4,2,4,3],vertices:[2,11,342.58,-79.16,.20286,163,60.51,209.8,.79714,2,11,280.14,-178.08,.22,163,-56.3,203.45,.78,1,163,-73.22,-169.14,1,1,163,56.32,-175.27,1,2,11,384.55,-86.65,.24857,163,78.7,171.24,.75143],hull:5,edges:[0,2,2,4,4,6,6,8,0,8],width:374,height:336},tutueye2:{type:"mesh",uvs:[.12891,.01513,0,.21862,.86561,1,1,.72097],triangles:[2,1,3,1,0,3],vertices:[2,11,301.15,-50.61,.22571,163,59.81,260.1,.77429,2,11,243.14,-132.01,.28,163,-40.15,260.29,.72,1,163,-69.52,-238.26,1,1,163,56.5,-222.97,1],hull:4,edges:[0,2,2,4,4,6,0,6],width:450,height:400}},watergun2:{watergun2:{type:"mesh",uvs:[.09471,.21883,.26179,.61155,.42338,.93263,.57947,1,.74766,.99275,.70259,.78808,.92793,.71516,1,.59748,.89716,.38513,.80482,.27,.61905,.29302,.49483,.32884,.38711,.1037,.29147,.07172,.08481,.05637],triangles:[0,14,13,0,11,1,12,0,13,11,0,12,6,8,7,8,5,10,8,10,9,5,8,6,11,10,5,1,11,5,2,1,5,3,2,5,4,3,5],vertices:[-72.98,149.86,-540.06,211.1,-939.34,235.21,-1108.17,113.27,-1218.78,-65.88,-1004.59,-141.47,-1096.33,-419.32,-1041.38,-564.63,-780.12,-584.75,-613.01,-557.64,-504.25,-350.77,-449.78,-200.24,-173.69,-222.94,-78.55,-142.67,79.02,62.96],hull:15,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,0,28],width:1251,height:1075}},watergun3:{watergun2:{type:"mesh",uvs:[.44025,.3971,.49824,.53795,.4928,.60388,.56765,.60426,.63439,.53139,.57976,.33806,.45599,.36591],triangles:[1,6,5,1,5,4,0,6,1,3,1,4,2,1,3],vertices:[641.13,207.35,474.95,231.34,419.85,276.42,367.4,198.85,386.03,85.9,596.74,27.03,658.02,172.34],hull:7,edges:[0,2,2,4,4,6,6,8,0,12,10,12,8,10],width:1251,height:1075}}
60,wing:{wing:{type:"mesh",uvs:[.35706,.05152,.16724,.2219,.11731,.37465,.06661,.52973,.01961,.67353,.01024,.85742,.1274,.94802,.37112,.97506,.6781,.96965,.80933,.88852,.8023,.7844,.84676,.70628,.90541,.60321,.95227,.47611,.9593,.35982,.84917,.33007,.6945,.37875,.61014,.45853,.62186,.28139,.62654,.09344,.50235,.00419,.44274,.14838,.4189,.27417,.36099,.4314,.30649,.57881,.26221,.69673,.21793,.84021,.8106,.4432,.70501,.57684,.56536,.68691,.42911,.79697,.33033,.87362,.67095,.8638,.48702,.87952],triangles:[29,28,11,11,28,12,28,29,24,28,24,17,17,24,23,28,27,12,12,27,13,24,3,23,28,17,27,3,2,23,13,27,14,17,16,27,22,18,23,17,23,18,27,15,14,27,16,15,23,2,22,2,1,22,22,21,18,18,21,19,22,1,21,1,0,21,21,20,19,21,0,20,10,29,11,6,31,7,7,33,8,7,31,33,33,32,8,8,32,9,6,26,31,6,5,26,32,10,9,31,30,33,33,30,32,31,26,30,30,29,32,32,29,10,5,4,26,26,25,30,26,4,25,30,25,29,25,24,29,25,4,24,4,3,24],vertices:[2,41,872.11,444.75,.09155,42,604.83,303.65,.90845,2,41,639.61,434.75,.19929,42,377.16,351.89,.80071,2,41,477.1,360.64,.3549,42,201.32,320.6,.6451,2,41,312.12,285.4,.53687,42,22.79,288.83,.46313,2,41,159.14,215.63,.70961,42,-142.74,259.37,.29039,2,41,-17.11,98.92,.83989,42,-342.51,190.24,.16011,2,41,-57.4,-24.56,.90844,42,-412.29,80.69,.09156,2,41,10.35,-174.51,.91017,42,-384.03,-81.41,.08983,2,41,132.74,-337.25,.84804,42,-306.04,-269.5,.15196,2,41,259.07,-354.61,.72886,42,-188.02,-317.79,.27114,2,41,354.14,-281.85,.56818,42,-77.82,-271.01,.43182,2,41,444.49,-254.19,.39204,42,16.57,-266.73,.60796,2,41,563.67,-217.71,.23303,42,141.08,-261.09,.76697,2,41,700.92,-158.92,.11518,42,288.65,-238.34,.88482,2,41,812.79,-85.72,.04538,42,415.24,-195.32,.95462,2,41,798.64,-6.34,.0132,42,421.3,-114.92,.9868,2,41,693.83,45.21,.00251,42,332.63,-38.88,.99749,2,41,586.68,38.08,19e-5,42,227.09,-19.09,.99981,2,41,757.47,149.05,.00117,42,420.14,45.83,.99883,2,41,935.74,270.99,.00818,42,623.17,119.51,.99182,2,41,972.07,397.38,.03268,42,689.84,232.87,.96732,2,41,813.91,334.18,1e-5,42,520.92,211.06,.99999,2,41,686.69,263.79,.03442,42,380.18,174.59,.96558,2,41,516.94,191.03,.1673,42,197.65,146.41,.8327,2,41,357.7,122.93,.45254,42,26.47,120.13,.54746,2,41,230.06,68.82,.64558,42,-110.63,99.52,.35442,2,41,78.42,-2.21,.84308,42,-275.18,68.5,.15692,1,42,290.7,-137.11,1,2,41,511.84,-91.68,.19119,42,122.29,-126.12,.80881,2,41,355.13,-88.91,.49941,42,-28.79,-84.4,.50059,2,41,199.73,-87.98,.71022,42,-179.07,-44.79,.28978,2,41,90.01,-85.23,.85828,42,-284.64,-14.79,.14172,2,41,229.4,-263.26,.81359,42,-194,-221.93,.18641,2,41,144.35,-174.03,.85263,42,-254.14,-114.32,.14737],hull:21,edges:[0,2,8,10,10,12,12,14,14,16,16,18,18,20,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,0,40,2,4,4,6,6,8,20,22,22,24],width:663,height:1149}},wing1:{wing1:{type:"mesh",uvs:[.97384,.78202,.86095,.85517,.71137,.93924,.57731,.97963,.36988,.98727,.2584,.93815,.21324,.86827,.25134,.7984,.31625,.73617,.1695,.66302,.04108,.5855,.01286,.50034,.09753,.43265,.18784,.41409,.29932,.42829,.1949,.33658,.11587,.23614,.07495,.11386,.08342,.01669,.17937,.0156,.33742,.04835,.49829,.10949,.66339,.22085,.77769,.33003,.91316,.50034,.9682,.67394,.23025,.12709,.35298,.21714,.48841,.32519,.58364,.41687,.73811,.56586,.85026,.69356,.14984,.53475,.32547,.55276,.50111,.61661,.71907,.71975,.35933,.87201,.54555,.8098,.63865,.76723],triangles:[7,8,36,36,8,37,37,8,34,8,33,34,8,9,33,10,32,9,33,32,14,33,9,32,34,29,30,34,33,29,32,13,14,10,11,32,30,29,23,29,14,28,29,33,14,11,12,32,32,12,13,28,14,27,29,22,23,29,28,22,14,15,27,15,16,27,28,21,22,28,27,21,16,17,26,16,26,27,19,17,18,17,19,26,26,20,27,27,20,21,26,19,20,6,7,36,5,36,4,4,36,3,36,37,3,3,37,2,37,38,2,1,38,35,1,2,38,5,6,36,35,31,1,1,31,0,38,37,34,31,25,0,38,34,35,35,30,31,35,34,30,25,31,24,31,30,24,30,23,24],vertices:[2,38,-46.4,13.22,.93206,39,-467.1,-20.83,.06794,2,38,7.29,154.91,.93499,39,-423.86,124.39,.06501,2,38,86.81,327.74,.88666,39,-357.13,302.55,.11334,2,38,180.81,442.1,.80916,39,-271.7,423.44,.19084,2,38,361.99,555.42,.72051,39,-99.25,549.65,.27949,2,38,494,554.57,.62902,39,32.47,558.41,.37098,2,38,580,496.27,.53014,39,122.49,506.52,.46986,2,38,591.29,396.04,.41505,39,141.04,407.38,.58495,2,38,573.54,291.17,.28694,39,130.97,301.5,.71306,2,38,752.85,280.23,.16552,39,310.6,303.64,.83448,2,38,918.53,254.98,.07526,39,477.68,290.52,.92474,2,38,999.28,170.42,.02454,39,564.37,212.06,.97546,2,38,967.36,49.28,.00503,39,541.35,88.91,.99497,2,38,898.4,-17.73,36e-5,39,477.45,17.07,.99964,2,38,789.12,-57.4,11e-5,39,371.35,-30.46,.99989,2,38,942.52,-111.19,9e-5,39,528.26,-72.93,.99991,2,38,1078.81,-187.9,11e-5,39,669.76,-139.52,.99989,2,38,1195.12,-309.11,7e-4,39,794.59,-251.95,.9993,2,38,1250.76,-426.08,.00457,39,858.6,-364.56,.99543,2,38,1165.36,-475.67,.0197,39,777.03,-420.23,.9803,2,38,1002.22,-517.26,.0636,39,617.35,-473.59,.9364,2,38,818.07,-527.36,.15736,39,434.42,-497.06,.84264,2,38,597.43,-481.33,.31272,39,211.02,-467.21,.68728,2,38,423.8,-412.26,.5111,39,32.82,-410.96,.4889,2,38,191.38,-282.93,.70923,39,-208.39,-298.89,.29077,2,38,29.01,-109.3,.85761,39,-382.97,-137.54,.14239,2,38,1047.
6014,-371.97,.0024,39,651.58,-325.41,.9976,2,38,878.4,-329.33,.01914,39,480.18,-295.16,.98086,2,38,686.54,-272.2,.09802,39,284.67,-252.15,.90198,2,38,541.42,-213.81,.34162,39,135.68,-204.48,.65838,2,38,305.83,-118.8,.63893,39,-106.19,-126.86,.36107,2,38,122.07,-27.16,.86881,39,-296.13,-48.84,.13119,2,38,853.97,141.35,.00744,39,421.56,172.49,.99256,2,38,684.64,73.8,.15108,39,257.6,92.79,.84892,2,38,485.47,59.41,.41384,39,60,63.95,.58616,2,38,222.75,69.29,.74734,39,-202.74,54.68,.25266,2,38,446.47,427.04,.52199,39,-5.65,427.76,.47801,2,38,319.86,261.11,.65335,39,-119.85,253.06,.34665,2,38,264.01,164.85,.70893,39,-168.54,152.99,.29107],hull:26,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,0,50],width:1029,height:1330}},xiuzi:{xiuzi:{type:"mesh",uvs:[.11593,.93308,.35034,.88834,.46755,.89411,.58476,.89988,.81917,.8104,.99219,.69782,1,.58668,.98103,.3976,.84987,.22585,.55127,.0642,.12988,0,.02942,.04832,.02384,.19554,.02105,.29224,.11593,.40771,.19965,.46977,.37546,.5073,.28895,.56359,.19127,.62998,.04616,.7339,0,.82194,.02384,.91143,.24146,.08597,.45282,.16978,.69941,.29731,.79334,.46615,.81448,.61554,.72524,.76373,.14752,.2378,.30017,.3544,.47396,.48922,.45047,.6289,.326,.74186,.49719,.75374,.61545,.6438,.65064,.53677,.58025,.41445,.44933,.29067,.25787,.17126,.3247,.81807,.4944,.82919],triangles:[1,0,39,40,39,33,2,40,3,3,40,27,2,1,40,1,39,40,13,28,29,13,12,28,28,38,37,28,12,38,12,22,38,12,11,22,38,22,23,23,22,9,11,10,22,22,10,9,25,36,24,36,37,24,24,8,7,8,24,23,24,37,23,37,38,23,23,9,8,30,16,29,16,15,29,30,29,36,15,14,29,29,37,36,14,13,29,29,28,37,25,7,6,7,25,24,27,26,5,27,34,26,5,26,6,34,35,26,6,26,25,26,35,25,33,31,34,34,31,35,18,17,31,17,16,31,31,30,35,31,16,30,30,36,35,35,36,25,39,0,20,0,21,20,20,19,39,39,32,33,39,19,32,32,31,33,19,18,32,32,18,31,3,27,4,40,33,27,4,27,5,33,34,27],vertices:[2,27,-306.44,150.74,.07691,23,-219.98,-117.48,.92309,1,22,6.84,-62.14,1,3,27,-58.04,-31.68,.00343,23,21.39,-309.09,.00228,22,107.2,-72.63,.99429,1,22,207.55,-83.11,1,2,27,245.79,-164.85,.88701,28,-160.72,-106.4,.11299,2,27,483.73,-151.82,.02364,28,59.99,-196.25,.97636,1,28,238.6,-150.89,1,2,28,534.69,
60-47.21,.00291,29,97.66,-122.7,.99709,2,29,402.94,-101.81,.01801,30,97.03,-144.18,.98199,2,30,465.54,-106.4,.08509,31,48.18,-119.39,.91491,2,31,393.54,30.48,.91104,26,496.12,-190.96,.08896,2,31,408.29,147.12,.5445,26,475.38,-75.23,.4555,1,26,272.83,60.81,1,2,25,495.43,138.78,.04644,26,139.38,149.53,.95356,2,25,293.71,189.04,.77395,26,-65.52,184.69,.22605,3,24,222.15,249.72,.01944,25,168.4,193.66,.95947,26,-190.82,180,.02108,2,24,207.65,87.37,.61368,25,28.04,110.78,.38632,3,23,346.95,157.15,.15049,24,96.53,130.38,.84521,25,-1.8,226.13,.00429,2,23,208.82,151.86,.78008,24,-33.41,177.55,.21992,1,23,-3.17,138.44,1,2,27,-234.74,347.31,.0027,23,-140.94,76.26,.9973,2,27,-332.03,233.57,.04056,23,-242.44,-33.74,.95944,2,31,228.83,78.51,.7857,26,324.58,-194.28,.2143,4,25,434.7,-278.84,.01727,30,379.13,67.56,.53513,31,.78,68.97,.35246,26,109.78,-271.45,.09514,3,29,329.15,56.96,.02588,25,138.74,-320.36,.03984,30,82.61,30.29,.93428,5,24,379.35,-234.22,.06183,28,380.47,75.22,.33335,29,38.16,64.99,.56307,25,-133.11,-216.23,.04034,30,-187.71,138.33,.00141,1,28,148,-11.76,1,2,27,250.15,-53.31,.99613,28,-109.14,-7.4,.00387,1,26,156.59,9.56,1,2,25,269.18,9.78,.99564,26,-76.68,4.11,.00436,2,24,261.37,15.7,.77349,25,1.14,25.35,.22651,3,27,260.79,271.11,.03058,24,34.42,-33.98,.93605,28,39.05,281.39,.03337,2,27,50.01,226.55,.12613,23,139.06,-55.11,.87387,3,27,132.72,103.79,.50458,23,217.11,-180.89,.4938,28,-148.21,184.8,.00162,3,27,336.23,149.01,.15967,24,52.94,-176.31,.47864,28,55.11,138.77,.3617,6,27,488.85,244.24,.05843,24,231.23,-152.3,.38727,28,233.79,159.68,.26274,29,-36.31,217,.2202,25,-152.93,-48.13,.07081,30,-205.11,306.69,55e-5,5,24,406.77,-34.38,.43305,28,411.34,274.56,.02105,29,175.12,213.08,.04544,25,45.23,-121.98,.14344,30,-8.04,230,.35703,5,29,404.57,257.86,.00709,25,276.55,-155.86,.4789,30,222.77,192.8,.3954,31,-125.34,224.63,.0918,26,-57.06,-160.53,.02681,4,25,533.31,-143.96,.00454,30,479.68,201,.14066,31,127.43,177.96,.34445,26,198.12,-129.63,.51036,3,27,-45.15,143.53,.05623,23,40.86,-134.5,.21977,22,-14.07,54.48,.724,1,22,131.19,34.73,1],hull:22,edges:[0,2,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,0,42,2,4,4,6],width:857,height:1657}},xiuzi2:{xiuzi2:{type:"mesh",uvs:[.58541,.08304,.44416,.22957,.33288,.40462,.20876,.56801,.02258,.76251,0,.90904,.09106,.98165,.34572,1,.64319,.97776,.87431,.92071,.97918,.83512,1,.62506,.98132,.38517,1,.19845,.90641,.03247,.76089,0,.29034,.92888,.46107,.7594,.58639,.57231,.6881,.39073,.74985,.25096,.80071,.10569,.11597,.88266,.26127,.73519,.41203,.56461,.52282,.38743,.6209,.23225,.85883,.26307,.84248,.41054,.80616,.59432,.74077,.78471,.56278,.91678],triangles:[4,3,23,22,4,23,5,4,22,31,17,30,9,30,10,31,30,9,16,23,17,16,17,31,22,23,16,8,31,9,6,5,22,6,22,16,7,16,31,6,16,7,7,31,8,24,2,25,3,2,24,18,25,19,24,25,18,29,18,19,28,29,19,28,12,11,29,28,11,23,3,24,17,24,18,23,24,17,30,18,29,30,29,11,17,18,30,10,30,11,21,15,14,0,15,21,21,14,13,26,0,21,1,0,26,20,26,21,27,20,21,13,27,21,12,27,13,25,1,26,19,26,20,25,26,19,2,1,25,27,19,20,28,27,12,28,19,27],vertices:[1,15,17.2,-210.02,1,2,15,262.46,-269.3,.92927,16,-185.01,-277.72,.07073,3,15,540.6,-290.54,.2947,16,93.8,-286.69,.70511,17,-306.41,-331.84,19e-5,3,15,805.44,-327.85,.0096,16,360.02,-312.3,.78042,17,-39.19,-320.7,.20998,2,16,688.36,-375.47,.12856,17,294.7,-338.26,.87144,2,16,900.79,-322.94,.01298,17,497.93,-257.09,.98702,2,16,975.74,-209.92,43e-5,17,556.67,-134.86,.99957,1,17,476.42,81.82,1,2,16,806.48,257.91,.01134,17,324.87,305.34,.98866,2,16,657.81,426.61,.14523,17,154.47,452.06,.85477,2,16,506.54,473.92,.30456,17,-1.86,478.18,.69544,3,15,681.85,379.38,.00698,16,205.41,388.8,.80101,17,-288.47,352.57,.19201,3,15,345.01,260.75,.63554,16,-125.87,255.46,.36388,17,-598.34,175.07,58e-5,2,15,74.23,197.09,.99665,16,-393.59,179.93,.00335,1,15,-137.94,45.41,1,1,15,-146.51,-94.06,1,2,16,842.53,-66.22,.03841,17,405.01,-10.78,.96159,3,15,1012.72,-28.32,.00503,16,553.91,-3.94,.42981,17,110.59,11.33,.56516,3,15,713.8,-.11,.12241,16,254.05,11.09,.66265,17,-188.51,-14.9,.21495,3,15,428.84,10.08,.54805,16,-31.09,8.72,.34481,17,-470.62,-56.34,.10714,3,15,213.79,3.65,.80125,16,-245.65,-7.17,.15186,17,-680.98,-101.5,.04689,3,15,-6.29,-14.53,.94199,16,-464.71,-35.03,.04432,17,-894.15,-159.13,.01368,2,16,829.35,-237.19,.04946,17,415.41,-181.95,.95054,3,15,1029.96,-211.09,.00373,16,579.19,-185.77,.36206,17,160.55,-165.31,.63422,3,15,747.97,-153.88,.07892,16,294.96,-141.03,.71576,17,-127.13,-159.97,.20532,3,15,466.93,-133.97,.46194,16,13.31,-133.51,.48261,17,-407.15,-191.15,.05545,3,15,220.53,-115.63,.8633,16,-233.66,-126.04,.11094,17,-652.81,-217.61,.02577,3,15,202.81,102.87,.82006,16,-260.98,91.47,.15404,17,-709.69,-5.9,.0259,3,15,417.08,151.78,.53411,16,-49.07,149.76,.3961,17,-507.78,80.9,.06979,3,15,688.25,198.96,.07603,16,219.76,208.84,.72527,17,-249.59,176.28,.19871,3,15,976.35,223.88,.00769,16,506.48,246.42,.38956,17,29.27,252.82,.60275,3,15,1210.53,126.7,.0013,16,744.71,159.64,.12191,17,277.15,199.53,.87679],hull:16,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,0,30],width:901,height:1487}},xiuzi3:{xiuzi3:{type:"mesh",uvs:[.42162,.5683,.2314,.56734,.13389,.61657,.07693,.65719,.13486,.7495,.29802,.74581,.36656,.82089,.50462,.8
606396,.56448,.86273,.66488,.72858,.77191,.61824,.82501,.49886,.88583,.34747,.89162,.10869,.78542,.185,.68212,.37209,.56144,.51609],triangles:[12,14,13,15,14,12,4,1,5,4,2,1,3,2,4,7,6,0,9,7,16,7,9,8,6,5,0,5,1,0,7,0,16,9,16,10,16,15,10,10,15,11,11,15,12],vertices:[1,22,91.41,-18.75,1,2,27,-151.18,155.18,.01714,23,-64.66,-118.87,.98286,2,27,-242.37,201.2,.00286,23,-154.06,-69.45,.99714,1,23,-213.28,-46.34,1,1,23,-231.87,-134.72,1,1,22,-30.21,-153.27,1,1,22,36.02,-211.23,1,1,22,170.18,-245.37,1,1,22,228.49,-244.97,1,1,22,327.22,-143.37,1,1,27,169.37,-264.25,1,1,27,271.91,-242.34,1,1,28,-42.55,-211.95,1,1,28,134.11,-166.08,1,1,28,49.07,-83.2,1,1,27,251.9,-73.97,1,1,22,227.96,19.89,1],hull:17,edges:[2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,2,0,0,32],width:974,height:764}},yifu:{yifu:{type:"mesh",uvs:[.85676,.99241,.76153,.99359,.71683,.98304,.62646,.9678,.53026,.91388,.41657,.79548,.32522,.70757,.20667,.62668,.12116,.6009,.08132,.55752,.00553,.47781,0,.40396,.11047,.3477,.16683,.27971,.24068,.23048,.34174,.22696,.39907,.20586,.47001,.24337,.55358,.27033,.58467,.29026,.59828,.2422,.64298,.22227,.66338,.13553,.74598,.10505,.81011,.04292,.91798,.10153,.90146,.15663,.95684,.27033,.99766,.40162,1,.52236,.98891,.61731,.96267,.76618,.95004,.90567,.91117,.97952,.21686,.46937,.38269,.55226,.55402,.71252,.63739,.84183,.75467,.91146,.41109,.32238,.55951,.47269,.66488,.62521,.74825,.76889,.8188,.88604,.65938,.29696,.76566,.48374,.8243,.665,.85911,.80204,.82613,.15549,.88018,.46937,.91134,.6661,.77453,.94753,.83471,.91476,.89037,.87364],triangles:[42,46,47,43,42,47,38,42,43,2,38,51,51,38,43,52,43,53,32,53,31,33,53,32,52,53,33,0,52,33,51,52,0,1,2,51,1,51,0,51,43,52,53,47,31,43,47,53,37,42,38,38,2,37,48,24,25,23,24,48,26,48,25,48,44,21,27,48,26,23,21,22,21,23,48,45,44,48,27,49,48,49,27,28,45,48,49,49,28,29,30,49,29,46,45,49,47,46,50,50,46,49,30,50,49,31,50,30,47,50,31,20,21,44,19,20,44,39,16,17,40,18,19,40,19,44,40,44,45,39,17,18,39,18,40,41,40,45,41,45,46,42,41,46,15,16,39,34,13,14,12,13,34,34,14,15,39,34,15,10,11,12,35,34,39,9,10,12,9,12,34,8,9,34,7,8,34,7,34,35,6,7,35,40,35,39,36,35,40,5,6,35,36,40,41,36,5,35,37,36,41,37,41,42,4,5,36,4,36,37,3,4,37,2,3,37],vertices:[1,64,222.2,-122.17,1,1,64,113.25,-395.85,1,3,51,233.15,304.33,.53481,52,-346.19,325.36,.03376,64,35.78,-513.51,.43143,4,51,470.94,456.36,.43633,52,-99.83,463.06,.30295,53,-690.31,307.31,72e-5,64,-106.4,-757.31,.26,5,51,786.91,544.74,.12161,52,220.81,532.62,.52847,53,-395.51,451.32,.05646,54,-676.12,632.34,.00203,64,-347.18,-980.18,.29143,5,51,1251.45,542.68,.00178,52,684.42,503.11,.31272,53,61.76,533.23,.51623,54,-212.56,601.95,.155,55,-452.73,796.04,.01426,4,52,1045.74,494.13,.02923,53,414.8,610.66,.33251,54,148.74,592.28,.45268,55,-114.88,667.63,.18558,3,53,806.84,764.82,.04419,54,566.33,647.7,.22094,55,297.6,582.09,.73487,3,53,1024.79,928.59,.00519,54,817.26,754.29,.06264,55,569.65,599.86,.93217,3,53,1188.79,954.25,66e-5,54,982.61,739.79,.02469,55,720.94,531.58,.97465,2,54,1292.86,717.93,35e-5,55,1006.57,408.53,.99965,1,55,1080.65,233.43,1,1,55,799.31,-8.26,1,2,55,686.53,-227.47,.98976,59,1176.41,790.36,.01024,2,55,507.55,-417.41,.93152,59,1109.5,538.1,.06848,3,54,850.45,-421.98,.02687,55,212.64,-521.42,.6795,59,899.74,306.18,.29362,3,54,741.52,-572,.05246,55,60.3,-627.07,.45739,59,816.1,140.72,.49015,3,54,508.46,-627.44,.05771,55,-178,-602.46,.1654,59,594.86,48.86,.77689,3,59,366.11,-89.93,.99298,62,542.51,794.22,.00159,63,183.37,778.7,.00543,3,59,262.67,-124.02,.91481,62,472.43,710.86,.02301,63,104.49,703.61,.06218,4,58,763.2,-167.32,.00263,59,322.53,-239.66,.74518,62,584.14,643.94,.05914,63,208.08,624.72,.19305,4,58,733.84,-311.76,.02055,59,263.76,-374.83,.4918,62,605.19,498.05,.08483,63,212.84,477.41,.40281,4,58,889.68,-482.53,61e-5,59,380.66,-574.28,.21241,62,809.48,389.82,.02124,63,403.87,347.2,.76573,2,59,260.32,-812.8,.02685,63,397.22,80.12,.97315,1,63,485.61,-158.44,1,2,62,730.02,-398.45,.06223,63,237.55,-427.41,.93777,3,61,996.54,-366.51,.00113,62,602.57,-318.94,.2064,63,119.69,-334.27,.79247,3,61,668.07,-446.83,.14045,62,281.65,-425.5,.76308,63,-211.06,-404.6,.09647,3,60,914.66,-430.21,.01741,61,309.37,-471.01,.62758,62,-73.93,-478.54,.35501,3,60,608.35,-384.85,.29476,61,10.77,-389,.65519,62,-378.17,-420.88,.05005,3,60,374.24,-309.76,.78704,61,-212.55,-286.19,.21233,62,-609.06,-336.42,63e-5,3,51,16.82,-612.5,15e-5,56,-77.98,-278.27,.00348,60,11.83,-165.05,.99637,1,64,125.85,229.16,1,1,64,255.45,46.1,1,3,53,1100.27,486.28,.00327,54,784.23,306.81,.04017,55,390.74,188.37,.95656,3,53,612.11,221.79,.07524,54,246.81,167.38,.83863,55,-162.58,234.18,.08613,4,51,1066.69,104.67,51e-5,52,474.1,76.78,.73306,53,-40.83,69.04,.26305,54,-423.7,176.02,.00338,4,51,655.2,188.96,.22305,52,68.3
601,185.24,.49946,53,-460.77,77.6,34e-5,64,-392.4,-603.51,.27714,3,51,263.52,88.81,.08252,52,-328.61,108.42,33e-5,64,-89.63,-335.61,.91714,3,54,531.85,-355.97,.2187,55,-66.3,-353.93,.34481,59,574.7,320.59,.43648,5,52,832,-423.55,8e-5,53,426.07,-331.51,.19416,54,-66.75,-325,.19022,58,323.93,245.79,.40794,59,-21.19,255.8,.2076,4,52,336.06,-308.75,.27159,53,-82.94,-338.29,.06369,57,289.08,190.53,.64137,58,-180.13,174.67,.02335,5,51,516.24,-176.07,.25707,52,-91.98,-170.93,.05326,56,360.15,219.66,.23869,57,-160.31,206.77,.01955,64,-435.39,-215.3,.43143,3,51,155.16,-89.68,.00443,56,-9.12,258.14,.00129,64,-74.69,-127.35,.99429,4,58,544.33,-254.06,.12145,59,90.4,-278.97,.53877,62,407.32,488.49,.14335,63,15.13,489.83,.19643,4,57,390.67,-276.83,.31869,58,-35.9,-281.33,.20454,61,313.89,276.79,.37057,62,-129.75,267.2,.1062,4,56,401.06,-133.33,.5835,57,-89.49,-141.46,.08857,60,340.09,212.75,.30757,61,-183.37,236.62,.02036,3,51,200.43,-334.38,.00927,56,67.72,21.45,.29073,64,-226.67,69.71,.7,2,62,654.16,-91.72,.02035,63,196.15,-114.16,.97965,2,61,247.39,-73.08,.97537,62,-167.81,-86.9,.02463,2,60,291.64,-52.08,.99577,61,-263.44,-20.42,.00423,1,64,19.24,-313.84,1,1,64,12.12,-109.73,1,1,64,-20.14,89.53,1],hull:34,edges:[0,2,2,4,4,6,6,8,8,10,10,12,12,14,14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,34,36,36,38,38,40,40,42,42,44,44,46,46,48,48,50,50,52,52,54,54,56,56,58,58,60,60,62,62,64,64,66,0,66],width:3093,height:2564}},zui1:{zui3:{type:"mesh",uvs:[.85774,.30355,.81866,.36609,.70535,.49675,.57392,.57608,.43116,.60502,.30936,.59382,.25018,.56349,.16368,.53312,.24215,.61796,.29609,.7257,.37293,.8065,.46775,.82804,.59199,.82266,.72441,.72166,.80942,.63008,.87809,.47118,.88953,.32035,.92631,.15471],triangles:[16,0,17,16,1,0,15,1,16,8,7,6,8,6,5,14,2,1,14,1,15,13,2,14,3,2,13,9,8,5,4,9,5,10,9,4,12,3,13,11,4,3,11,10,4,3,12,11],vertices:[70.78,18.42,61.83,9.72,35.88,-8.44,5.79,-19.46,-26.91,-23.49,-54.8,-21.93,-68.35,-17.71,-88.16,-13.49,-70.19,-25.29,-57.84,-40.26,-40.24,-51.49,-18.53,-54.49,9.92,-53.74,40.25,-39.7,59.72,-26.97,75.44,-4.88,78.06,16.08,86.48,39.11],hull:18,edges:[14,16,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,10,8,8,6,6,4,4,2,2,0,10,12,12,14,0,34],width:229,height:139}},zui2:{zui3:{type:"mesh",uvs:[.21027,.41866,.16368,.53312,.30936,.59382,.43116,.60502,.57392,.57608,.70535,.49675,.81866,.36609,.85774,.30355,.92631,.15471,.92141,.10489,.86991,.11701,.83068,.22474,.78735,.30554,.71133,.37691,.59199,.46175,.49636,.51696,.37947,.49003,.28302,.44155,.25018,.56349],triangles:[8,7,11,10,9,8,8,11,10,12,11,7,6,12,7,5,14,13,13,12,6,5,13,6,18,0,17,1,0,18,4,15,14,4,14,5,2,17,16,18,17,2,1,18,2,3,16,15,2,16,3,3,15,4],vertices:[-77.49,2.42,-88.16,-13.49,-54.8,-21.93,-26.91,-23.49,5.79,-19.46,35.88,-8.44,61.83,9.72,70.78,18.42,86.48,39.11,85.36,46.03,73.57,44.35,64.58,29.37,54.66,18.14,37.25,8.22,9.92,-3.57,-11.98,-11.25,-38.74,-7.5,-60.83,-.76,-68.35,-17.71],hull:18,edges:[0,2,16,18,18,20,20,22,22,24,24,26,26,28,28,30,30,32,32,34,0,34,4,6,6,8,8,10,10,12,12,14,2,4,14,16],width:229,height:139}},zui4:{zui4:{type:"clipping",end:"zuiopen",vertexCount:22,vertices:[-71.35,-10.74,-65.19,-14.32,-39.27,-19.16,-9.06,-17.79,21.78,-9.79,47.44,1.97,67.36,21.23,73.69,29.48,79.27,37.57,81.86,34.98,76.19,27.65,69.02,19.82,61.36,10.98,48.94,.9,37.02,-5.77,22.61,-12.09,8.44,-16.51,-8.39,-19.75,-23.98,-21.25,-39.56,-20.92,-64.64,-17.08,-73.23,-12.17],color:"ce3a3aff"}},zuiopen:{zui1:{type:"mesh",uvs:[1,1,0,1,0,0,1,0],triangles:[1,2,3,1,3,0],vertices:[122.36,-119.39,-144.64,-119.39,-144.64,70.61,122.36,70.61],hull:4,edges:[0,2,2,4,4,6,0,6],width:267,height:190}}}}],Wx={shot_end:{},shot_start:{}},Yx={animation:{slots:{l_jiemao2:{rgba:[{color:"ffffff00",curve:"stepped"},{time:.3333,color:"ffffff00",curve:[.389,1,.444,1,.389,1,.444,1,.389,1,.444,1,.389,0,.444,1]},{time:.5,color:"ffffffff",curve:"stepped"},{time:2.7667,color:"ffffffff"},{time:2.8667,color:"ffffff00"},{time:2.9667,color:"ffffffff",curve:"stepped"},{time:4.9667,color:"ffffffff"},{time:5.3,color:"ffffff00"}]},r_jiemao2:{rgba:[{time:2.7667,color:"ffffffff"},{time:2.8667,color:"ffffff00"},{time:2.9667,color:"ffffffff"}]},tutueye:{attachment:[{time:1.2333,name:"tutueye2"},{time:2.1667,name:"tutueye"},{time:4.2333,name:"tutueye2"},{time:5.1667,name:"tutueye"}]},zui1:{rgba:[{color:"ffffff00",curve:"stepped"},{time:.3333,color:"ffffff00",curve:[.444,1,.556,1,.444,1,.556,1,.444,1,.556,1,.444,0,.556,1]},{time:.6667,color:"ffffffff",curve:"stepped"},{time:5,color:"ffffffff",curve:[5.087,1,5.18,1,5.087,1,5.18,1,5.087,1,5.18,1,5.087,1,5.18,0]},{time:5.2667,color:"ffffff00"}]},zui2:{rgba:[{color:"ffffff00",curve:"stepped"},{time:.3333,color:"ffffff00",curve:[.444,1,.556,1,.444,1,.556,1,.444,1,.556,1,.444,0,.556,1]},{time:.6667,color:"ffffffff",curve:"stepped"},{time:5,color:"ffffffff",curve:[5.048,1,5.085,1,5.048,1,5.085,1,5.048,1,5.085,1,5.048,1,5.085,0]},{time:5.1333,color:"ffffff00"}]}},bones:{root2:{rotate:[{value:-.72,curve:[.254,-.36,.518,0]},{time:.7667,curve:[1.268,0,1.765,-1.45]},{time:2.2667,value:-1.45,curve:[2.519,-1.45,2.756,-1.07]},{time:3,value:-.72,curve:[3.254,-.36,3.518,0]},{time:3.7667,curve:[4.268,0,4.765,-1.45]},{time:5.2667,value:-1.45,curve:[5.519,-1.45,5.753,-1.09]},{time:6,value:-.72}],translate:[{curve:[.505,0,.995,0,.689,0,.848,264.1]},{time:1.5,y:264.1,curve:[2.005,0,2.5,0,2.165,264.1,2.5,0]},{time:3,curve:[3.505,0,3.995,0,3.689,0,3.848,264.1]}
60,{time:4.5,y:264.1,curve:[5.005,0,5.687,0,5.165,264.1,5.304,0]},{time:6}]},rleg2:{rotate:[{value:-.13,curve:[.154,.31,.318,.64]},{time:.4667,value:.64,curve:[.968,.64,1.465,-2.91]},{time:1.9667,value:-2.91,curve:[2.319,-2.91,2.656,-1.11]},{time:3,value:-.13,curve:[3.154,.31,3.318,.64]},{time:3.4667,value:.64,curve:[3.968,.64,4.465,-2.91]},{time:4.9667,value:-2.91,curve:[5.319,-2.91,5.653,-1.17]},{time:6,value:-.13}]},rleg3:{rotate:[{value:-1.42,curve:[.152,-.89,.318,-.33]},{time:.4667,value:.07,curve:[.595,.4,.71,.64]},{time:.8333,value:.64,curve:[1.335,.64,1.832,-2.91]},{time:2.3333,value:-2.91,curve:[2.56,-2.91,2.778,-2.18]},{time:3,value:-1.42,curve:[3.152,-.89,3.318,-.33]},{time:3.4667,value:.07,curve:[3.595,.4,3.71,.64]},{time:3.8333,value:.64,curve:[4.335,.64,4.832,-2.91]},{time:5.3333,value:-2.91,curve:[5.56,-2.91,5.776,-2.2]},{time:6,value:-1.42}]},rleg4:{rotate:[{value:-2.55,curve:[.153,-2.21,.318,-1.67]},{time:.4667,value:-1.14,curve:[.721,-.25,.951,.64]},{time:1.2,value:.64,curve:[1.701,.64,2.199,-2.91]},{time:2.7,value:-2.91,curve:[2.801,-2.91,2.9,-2.77]},{time:3,value:-2.55,curve:[3.153,-2.21,3.318,-1.67]},{time:3.4667,value:-1.14,curve:[3.721,-.25,3.951,.64]},{time:4.2,value:.64,curve:[4.701,.64,5.199,-2.91]},{time:5.7,value:-2.91,curve:[5.801,-2.91,5.901,-2.78]},{time:6,value:-2.55}]},lleg2:{rotate:[{value:-.15,curve:[.254,1.1,.518,2.36]},{time:.7667,value:2.36,curve:[1.268,2.36,1.765,-2.67]},{time:2.2667,value:-2.67,curve:[2.519,-2.67,2.756,-1.36]},{time:3,value:-.15,curve:[3.254,1.1,3.518,2.36]},{time:3.7667,value:2.36,curve:[4.268,2.36,4.765,-2.67]},{time:5.2667,value:-2.67,curve:[5.519,-2.67,5.753,-1.42]},{time:6,value:-.15}]},lleg3:{rotate:[{value:-1.88,curve:[.253,-.94,.518,.62]},{time:.7667,value:1.56,curve:[.895,2.02,1.01,2.36]},{time:1.1333,value:2.36,curve:[1.635,2.36,2.132,-2.67]},{time:2.6333,value:-2.67,curve:[2.759,-2.67,2.878,-2.34]},{time:3,value:-1.88,curve:[3.253,-.94,3.518,.62]},{time:3.7667,value:1.56,curve:[3.895,2.02,4.01,2.36]},{time:4.1333,value:2.36,curve:[4.635,2.36,5.132,-2.67]},{time:5.6333,value:-2.67,curve:[5.759,-2.67,5.876,-2.35]},{time:6,value:-1.88}]},lleg4:{rotate:[{value:-21.17,curve:[.415,-21.17,1.074,2.36]},{time:1.5,value:2.36,curve:[2.001,2.36,2.5,-21.17]},{time:3,value:-21.17,curve:[3.415,-21.17,4.074,2.36]},{time:4.5,value:2.36,curve:[5.001,2.36,5.499,-21.17]},{time:6,value:-21.17}]},lleg5:{rotate:[{value:-18.55,curve:[.35,-18.55,1.126,2.36]},{time:1.5,value:2.36,curve:[2.001,2.36,2.5,-18.55]},{time:3,value:-18.55,curve:[3.35,-18.55,4.126,2.36]},{time:4.5,value:2.36,curve:[5.001,2.36,5.499,-18.55]},{time:6,value:-18.55}]},lleg1:{translate:[{x:-7.6,y:21.82,curve:[.059,-13.37,.115,-17.83,.061,20.1,.117,17.97]},{time:.1667,x:-19.54,y:15.85,curve:[.459,-26.88,.669,-26.84,.391,4.32,.686,-51.26]},{time:.9333,x:-9.93,y:-69.45,curve:[1.232,9.13,1.439,55.69,1.187,-87.39,1.498,-69.02]},{time:1.6667,x:71,y:-56.43,curve:[1.917,87.84,2.183,84.17,1.871,-41.19,2.183,-3.21]},{time:2.4333,x:59.97,y:14.85,curve:[2.622,41.73,2.811,10.89,2.62,28.34,2.811,27.16]},{time:3,x:-7.6,y:21.82,curve:[3.059,-13.37,3.115,-17.83,3.061,20.1,3.117,17.97]},{time:3.1667,x:-19.54,y:15.85,curve:[3.459,-26.88,3.669,-26.84,3.391,4.32,3.686,-51.26]},{time:3.9333,x:-9.93,y:-69.45,curve:[4.232,9.13,4.439,55.69,4.187,-87.39,4.498,-69.02]},{time:4.6667,x:71,y:-56.43,curve:[4.917,87.84,5.183,84.17,4.871,-41.19,5.183,-3.21]},{time:5.4333,x:59.97,y:14.85,curve:[5.622,41.73,5.823,10.01,5.62,28.34,5.827,26.9]},{time:6,x:-7.6,y:21.82}]},bone3:{translate:[{x:-1.29,y:-6.21,curve:[.223,-6.37,.452,-26.71,.185,9.36,.462,32.45]},{time:.6667,x:-47.37,y:32.13,curve:[.921,-70.9,1.151,-112.76,.921,31.75,1.171,7.38]},{time:1.4,x:-112.76,y:-16.15,curve:[1.651,-112.76,1.916,-82.68,1.63,-39.73,1.916,-108.8]},{time:2.1667,x:-58.99,y:-108.41,curve:[2.417,-35.31,2.649,0,2.417,-108.03,2.746,-29.65]},{time:2.9,y:-14.62,curve:[2.934,0,2.967,-.53,2.929,-12.28,2.967,-9.02]},{time:3,x:-1.29,y:-6.21,curve:[3.223,-6.37,3.452,-26.71,3.185,9.36,3.462,32.45]},{time:3.6667,x:-47.37,y:32.13,curve:[3.921,-70.9,4.151,-112.76,3.921,31.75,4.171,7.38]},{time:4.4,x:-112.76,y:-16.15,curve:[4.651,-112.76,4.916,-82.68,4.63,-39.73,4.916,-108.8]},{time:5.1667,x:-58.99,y:-108.41,curve:[5.417,-35.31,5.649,0,5.417,-108.03,5.746,-29.65]},{time:5.9,y:-14.62,curve:[5.934,0,5.968,-.51,5.929,-12.28,5.963,-9.48]},{time:6,x:-1.29,y:-6.21}]},youshouik:{translatex:[{value:26.28,curve:[.511,26.28,.256,83.91]},{time:1.5333,value:83.91,curve:[1.633,83.91,1.722,81.68]},{time:1.8,value:78.67,curve:[2.296,60.16,2.6,55.46]},{time:3,value:53.79,curve:[3.012,53.73,3.023,53.3]},{time:3.0333,value:53.3,curve:[3.239,53.3,3.496,77.92]},{time:3.7667,value:101.81,curve:[4.021,124.16,4.286,145.88]},{time:4.5333,value:145.88,curve:[5.306,145.88,4.817,26.28]},{time:6,value:26.28}],translatey:[{value:-665.62,curve:[.514,-665.62,.311,-262.68]},{time:.7667,value:-262.68,curve:[.972,-262.68,1.263,-349.46]},{time:1.5333,value:-418.73,curve:[1.628,-441.82,1.717,-458.09]},{time:1.8,value:-458.09,curve:[2.384,-458.09,2.6,-423.99]},{time:3,value:-237.33,curve:[3.012,-231.94,3.023,-227.72]},{time:3.0333,value:-222.49,curve:[3.258,-123.06,3.518,-52.77]},{time:3.7667,value:-135.66,curve:[3.972,-204.17,4.263,-418.73]},{time:4.5333,value:-418.73,curve:[5.266,-418.73,4.785,-665.62]},{time:6,value:-665.62}]},wing2:{rotate:[{value:-6.84,curve:[.5,-6.84,1,12.2]},{time:1.5,value:12.2,curve:[2,12.2,2.5,-6.84]},{time:3,value:-6.84,curve:[3.5,-6.84,4,12.2]},{time:4.5,value:12.2,curve:[5,12.2,5.5,-6.84]},{time:6,value:-6.84}],shear:[{x:-7.12,y:8.62,curve:[.5,-7.12,1,-3.61,.5,8.62,1,0]},{time:1.5,x:-3.61,curve:[2,-3.61,2.5,-7.12,2,0,2.5,8.62]},{time:3,x:-7.12,y:8.62,curve:[3.5,-7.12,4,-3.61,3.5,8.62,4,0]},{time:4.5,x:-3.61,curve:[5,-3.61,5.5,-5.95,5,0,5.5,5.75]},{time:6,x:-7.12,y:8.62}]},wing3:{rotate:[{value:1.11,curve:[.223,-3.05,.445,-6.84]},{time:.6667,value:-6.84,curve:[1.167,-6.84,1.667,12.2]},{time:2.1667,value:12.2,curve:[2.445,12.2,2.722,6.29]},{time:3,value:1.11,curve:[3.223,-3.05,3.445,-6.84]},{time:3.6667,value:-6.84,curve:[4.167,-6.84,4.667,12.2]},{time:5.1667,value:12.2,curve:[5.445,12.2,5.723,6.34]}
60,{time:6,value:1.11}],shear:[{x:-5.17,y:3.85,curve:[.223,-5.85,.445,-6.6,.223,5.5,.445,7.35]},{time:.6667,x:-7.12,y:8.62,curve:[1.167,-7.12,1.667,-3.61,1.167,8.62,1.667,0]},{time:2.1667,x:-3.61,curve:[2.445,-3.61,2.722,-4.34,2.445,0,2.722,1.8]},{time:3,x:-5.17,y:3.85,curve:[3.223,-5.85,3.445,-6.6,3.223,5.5,3.445,7.35]},{time:3.6667,x:-7.12,y:8.62,curve:[4.167,-7.12,4.667,-3.61,4.167,8.62,4.667,0]},{time:5.1667,x:-3.61,curve:[5.445,-3.61,5.723,-4.33,5.445,0,5.723,1.78]},{time:6,x:-5.17,y:3.85}]},zui5:{rotate:[{value:-11.85,curve:[.057,-12.32,.112,-12.64]},{time:.1667,value:-12.64,curve:[.667,-12.64,1.167,8.87]},{time:1.6667,value:8.87,curve:[2.112,8.87,2.556,-8.22]},{time:3,value:-11.85,curve:[3.057,-12.32,3.112,-12.64]},{time:3.1667,value:-12.64,curve:[3.644,-12.64,4.122,8.87]},{time:4.6,value:8.87,curve:[5.067,8.87,5.535,-7.92]},{time:6,value:-11.85}],translatex:[{value:-62.56,curve:[.164,-73.82,.338,-82.37]},{time:.5,value:-82.37,curve:[.767,-82.37,1.07,-63.81]},{time:1.3,value:-46.35,curve:[1.503,-30.97,1.767,0]},{time:2,curve:[2.244,0,2.541,-24.23]},{time:2.7333,value:-41.37,curve:[2.816,-48.71,2.911,-56.47]},{time:3,value:-62.56,curve:[3.164,-73.82,3.338,-82.37]},{time:3.5,value:-82.37,curve:[3.767,-82.37,4.07,-63.81]},{time:4.3,value:-46.35,curve:[4.503,-30.97,4.767,0]},{time:5,curve:[5.244,0,5.541,-24.23]},{time:5.7333,value:-41.37,curve:[5.816,-48.71,5.907,-56.05]},{time:6,value:-62.56}],translatey:[{value:-118.59,curve:[.269,-74.44,.867,47.63]},{time:1.3,value:47.63,curve:[1.778,47.63,2.256,-144.83]},{time:2.7333,value:-144.83,curve:[2.822,-144.83,2.911,-133.19]},{time:3,value:-118.59,curve:[3.269,-74.44,3.867,47.63]},{time:4.3,value:47.63,curve:[4.778,47.63,5.256,-144.83]},{time:5.7333,value:-144.83,curve:[5.822,-144.83,5.901,-130.47]},{time:6,value:-118.59}]},bone5:{translate:[{curve:[.5,0,1,-334.11,.5,0,1,261.83]},{time:1.5,x:-334.11,y:261.83,curve:[2,-334.11,2.5,0,2,261.83,2.5,0]},{time:3,curve:[3.5,0,4,-334.11,3.5,0,4,261.83]},{time:4.5,x:-334.11,y:261.83,curve:[5,-334.11,5.5,0,5,261.83,5.5,0]},{time:6}]},bone6:{translate:[{x:-28.42,y:-72.08,curve:[.223,-13.54,.445,0,.223,-34.33,.445,0]},{time:.6667,curve:[1.167,0,1.667,-68.03,1.167,0,1.667,-172.53]},{time:2.1667,x:-68.03,y:-172.53,curve:[2.445,-68.03,2.722,-46.94,2.445,-172.53,2.722,-119.04]},{time:3,x:-28.42,y:-72.08,curve:[3.223,-13.54,3.445,0,3.223,-34.33,3.445,0]},{time:3.6667,curve:[4.167,0,4.667,-68.03,4.167,0,4.667,-172.53]},{time:5.1667,x:-68.03,y:-172.53,curve:[5.445,-68.03,5.723,-47.12,5.445,-172.53,5.723,-119.48]},{time:6,x:-28.42,y:-72.08}]},l_jiemao:{translate:[{time:.7333,curve:[.967,0,1.2,2.19,.967,0,1.2,-12.77]},{time:1.4333,x:2.19,y:-12.77,curve:"stepped"},{time:2,x:2.19,y:-12.77},{time:2.7667,curve:[2.8,0,2.821,8.06,2.8,0,2.821,-66.43]},{time:2.8333,x:8.46,y:-73.13,curve:[2.873,9.71,2.931,1.48,2.873,-93.21,2.931,-23.8]},{time:2.9667,curve:"stepped"},{time:3.7333,curve:[3.967,0,4.2,2.19,3.967,0,4.2,-12.77]},{time:4.4333,x:2.19,y:-12.77,curve:"stepped"},{time:5,x:2.19,y:-12.77},{time:5.7667}]},r_jiemao2:{rotate:[{time:2.7667,curve:[2.803,-2.4,2.831,-7.19]},{time:2.8667,value:-7.19,curve:[2.903,-7.19,2.931,-2.4]},{time:2.9667}],scale:[{time:2.7667,curve:[2.803,.989,2.831,.966,2.803,1,2.831,1]},{time:2.8667,x:.966,curve:[2.903,.966,2.931,.989,2.903,1,2.931,1]},{time:2.9667}]},l_jiemao3:{rotate:[{value:7.83,curve:"stepped"},{time:.2333,value:7.83},{time:.5,curve:"stepped"},{time:2.7667,curve:[2.803,0,2.831,2.24]},{time:2.8667,value:2.24,curve:[2.903,2.24,2.931,0]},{time:2.9667,curve:"stepped"},{time:4.9667,curve:[5.078,0,5.189,7.83]},{time:5.3,value:7.83}],translate:[{x:-16.01,y:.98,curve:"stepped"},{time:.2333,x:-16.01,y:.98},{time:.5,curve:"stepped"},{time:4.9667},{time:5.3,x:-16.01,y:.98}],scale:[{x:.872,curve:"stepped"},{time:.2333,x:.872},{time:.5,curve:"stepped"},{time:2.7667,curve:[2.803,1,2.831,.947,2.803,1,2.831,1]},{time:2.8667,x:.947,curve:[2.903,.947,2.931,1,2.903,1,2.931,1]},{time:2.9667,curve:"stepped"},{time:4.9667,curve:[5.078,1,5.189,.872,5.078,1,5.189,1]},{time:5.3,x:.872}]},l_jiemao4:{rotate:[{value:-12.13,curve:"stepped"},{time:.2333,value:-12.13},{time:.5,curve:"stepped"},{time:2.7667,curve:[2.803,0,2.831,-5.09]},{time:2.8667,value:-5.09,curve:[2.903,-5.09,2.931,0]},{time:2.9667,curve:"stepped"},{time:4.9667,curve:[5.078,0,5.189,-12.13]},{time:5.3,value:-12.13}],scale:[{x:.783,curve:"stepped"},{time:.2333,x:.783},{time:.5,curve:"stepped"},{time:2.7667,curve:[2.803,1,2.831,.902,2.803,1,2.831,1]},{time:2.8667,x:.902,curve:[2.903,.902,2.931,1,2.903,1,2.931,1]},{time:2.9667,curve:"stepped"},{time:4.9667,curve:[5.078,1,5.189,.783,5.078,1,5.189,1]},{time:5.3,x:.783}]},r_jiemao3:{rotate:[{time:2.7667,curve:[2.803,2.22,2.831,6.66]},{time:2.8667,value:6.66,curve:[2.903,6.66,2.931,2.22]},{time:2.9667}],scale:[{time:2.7667,curve:[2.803,.984,2.831,.953,2.803,1,2.831,1]},{time:2.8667,x:.953,curve:[2.903,.953,2.931,.984,2.903,1,2.931,1]},{time:2.9667}]},highlight_l_eye3:{translate:[{time:2.7667,curve:[2.803,-.38,2.831,.38,2.803,14.54,2.831,10.25]},{time:2.8667,x:.38,y:10.25,curve:[2.903,.38,2.931,-.38,2.903,10.25,2.931,14.54]},{time:2.9667}]},l_jiemao5:{rotate:[{value:-19.78,curve:"stepped"},{time:.2333,value:-19.78,curve:[.322,-19.78,.411,0]},{time:.5,curve:"stepped"},{time:2.7667,curve:[2.803,0,2.831,-3.48]},{time:2.8667,value:-3.48,curve:[2.903,-3.48,2.931,0]},{time:2.9667,curve:"stepped"},{time:4.9667,curve:[5.078,0,5.189,-19.78]},{time:5.3,value:-19.78}],translate:[{x:11.88,y:50.26,curve:"stepped"},{time:.2333,x:11.88,y:50.26,curve:[.289,11.88,.345,2.07,.289,50.26,.345,48.66]},{time:.4,x:-1.41,y:33.92,curve:[.434,-3.48,.467,0,.434,25.15,.467,0]},{time:.5,curve:"stepped"},{time:2.7667,curve:[2.782,0,2.79,.58,2.785,0,2.79,14.9]},{time:2.8,x:-2.28,y:19.08,curve:[2.822,-8.1,2.843,-19.52,2.822,27.58,2.843,28.53]},{time:2.8667,x:-19.52,y:28.53,curve:[2.879,-19.52,2.89,-3.13,2.879,28.53,2.89,17.45]},{time:2.9,x:-.99,y:14.33,curve:[2.911,1.23,2.922,3.56,2.911,11.08,2.922,.6]},{time:2.9333,x:2.7,y:-1.45,curve:[2.944,1.88,2.955,0,2.944,-3.39,2.955,0]},{time:2.9667,curve:"stepped"},{time:4.9667,curve:[5.078,0,5.189,11.88,5.078,0,5.189,50.26]},{time:5.3,x:11.88,y:50.26}]},l_jiemao6:{rotate:[{value:94.38,curve:"stepped"},{time:.2333,value:94.38,curve:[.322,94.38,.411,0]},{time:.5,curve:"stepped"},{time:2.7667,curve:[2.803,0,2.831,58.11]},{time:2.8667,value:58.11,curve:[2.903,58.11,2.931,0]},{time:2.9667,curve:"stepped"},{time:4.9667,curve:[5.078,0,5.189,94.38]},{time:5.3,value:94.38}],scale:[{time:2.7667,curve:[2.803,1,2.831,.609,2.803,1,2.831,1]},{time:2.8667,x:.609,curve:[2.903,.609,2.931,1,2.903,1,2.931,1]},{time:2.9667}]},l_jiemao7:{rotate:[{value:116.14,curve:"stepped"},{time:.2333,value:116.14,curve:[.322,116.14,.411,0]},{time:.5,curve:"stepped"},{time:2.7667,curve:[2.817,0,2.79,25.5]},{time:2.8,value:40.73,curve:[2.822,71.67,2.843,103.88]}
60,{time:2.8667,value:103.88,curve:[2.891,103.88,2.912,53.15]},{time:2.9333,value:22.06,curve:[2.944,6.98,2.955,0]},{time:2.9667,curve:"stepped"},{time:4.9667,curve:[5.078,0,5.189,116.14]},{time:5.3,value:116.14}],translate:[{x:16.34,y:1.17,curve:"stepped"},{time:.2333,x:16.34,y:1.17},{time:.5,curve:"stepped"},{time:2.7667,curve:[2.815,0,2.831,22.26,2.805,0,2.831,9.51]},{time:2.8667,x:22.26,y:9.51,curve:[2.903,22.26,2.931,0,2.903,9.51,2.931,0]},{time:2.9667,curve:"stepped"},{time:4.9667,curve:[5.078,0,5.189,15.47,5.078,0,5.189,.27]},{time:5.3,x:16.34,y:1.17}]},r_jiemao4:{rotate:[{time:2.7667,curve:[2.803,4.8,2.831,14.39]},{time:2.8667,value:14.39,curve:[2.903,14.39,2.931,4.8]},{time:2.9667}],translate:[{time:2.7667,curve:[2.779,-2.5,2.79,-8.5,2.779,2.63,2.79,33.25]},{time:2.8,x:-11.84,y:36.76,curve:[2.811,-15.32,2.822,-21.38,2.811,40.41,2.822,36.01]},{time:2.8333,x:-24.65,y:42.96,curve:[2.844,-27.76,2.855,-34.31,2.844,49.54,2.855,41.57]},{time:2.8667,x:-34.31,y:41.57,curve:[2.879,-34.31,2.89,-27.27,2.879,41.57,2.89,5.43]},{time:2.9,x:-24.78,y:2.82,curve:[2.911,-22.19,2.922,-13.16,2.911,.1,2.922,-6.59]},{time:2.9333,x:-8.1,y:-5.95,curve:[2.944,-3.3,2.955,-2.47,2.944,-5.35,2.955,2.6]},{time:2.9667}]},r_jiemao5:{rotate:[{time:2.7667,curve:[2.803,-11.23,2.831,-33.7]},{time:2.8667,value:-33.7,curve:[2.879,-33.7,2.89,-48.43]},{time:2.9,value:-44.75,curve:[2.922,-37.27,2.943,-7.53]},{time:2.9667}]},r_jiemao6:{rotate:[{time:2.7667,curve:[2.779,-11.77,2.79,3.65]},{time:2.8,value:-12.05,curve:[2.811,-28.41,2.822,-89.39]},{time:2.8333,value:-109.45,curve:[2.844,-128.46,2.855,-107.01]},{time:2.8667,value:-107.01,curve:[2.891,-107.01,2.912,-52.42]},{time:2.9333,value:-20.4,curve:[2.944,-4.87,2.955,-11.65]},{time:2.9667}]},eye:{translate:[{x:-2.1,y:-5.44,curve:[.533,-2.1,1.067,1.66,.533,-5.44,1.067,-10.81]},{time:1.6,x:1.66,y:-10.81,curve:[1.867,1.66,2.133,-2.8,1.867,-10.81,2.133,-5.44]},{time:2.4,x:-2.1,y:-5.44,curve:"stepped"},{time:3,x:-2.1,y:-5.44,curve:[3.533,-2.1,4.067,1.66,3.533,-5.44,4.067,-10.81]},{time:4.6,x:1.66,y:-10.81,curve:[4.867,1.66,5.133,-2.8,4.867,-10.81,5.133,-5.44]},{time:5.4,x:-2.1,y:-5.44}]},bone13:{translate:[{x:47.88,y:-77.85,curve:[.444,47.88,.889,-127.96,.444,-77.85,.889,77.32]},{time:1.3333,x:-127.96,y:77.32,curve:[1.889,-127.96,2.444,47.88,1.889,77.32,2.444,-77.85]},{time:3,x:47.88,y:-77.85,curve:[3.444,47.88,3.889,-127.96,3.444,-77.85,3.889,77.32]},{time:4.3333,x:-127.96,y:77.32,curve:[4.889,-127.96,5.444,47.88,4.889,77.32,5.444,-77.85]},{time:6,x:47.88,y:-77.85}]},ear_R:{rotate:[{value:27.17,curve:[.223,12.94,.445,0]},{time:.6667,curve:[1.167,0,1.667,65.04]},{time:2.1667,value:65.04,curve:[2.445,65.04,2.722,44.87]},{time:3,value:27.17,curve:[3.223,12.94,3.445,0]},{time:3.6667,curve:[4.167,0,4.667,65.04]},{time:5.1667,value:65.04,curve:[5.445,65.04,5.723,45.04]},{time:6,value:27.17}],translate:[{x:-10.72,y:-24.01,curve:[.5,-10.72,1,-18.56,.5,-24.01,1,42.01]},{time:1.5,x:-18.56,y:42.01,curve:[2,-18.56,2.5,-10.72,2,42.01,2.5,-24.01]},{time:3,x:-10.72,y:-24.01,curve:[3.5,-10.72,4,-18.56,3.5,-24.01,4,42.01]},{time:4.5,x:-18.56,y:42.01,curve:[5,-18.56,5.5,-10.72,5,42.01,5.5,-24.01]},{time:6,x:-10.72,y:-24.01}]},rabibody4:{rotate:[{value:37.87,curve:[.223,52.1,.445,65.04]},{time:.6667,value:65.04,curve:[.945,65.04,1.223,45.04]},{time:1.5,value:27.17,curve:[1.723,12.94,1.945,0]},{time:2.1667,curve:[2.445,0,2.722,20.17]},{time:3,value:37.87,curve:[3.223,52.1,3.445,65.04]},{time:3.6667,value:65.04,curve:[3.945,65.04,4.223,45.04]},{time:4.5,value:27.17,curve:[4.723,12.94,4.945,0]},{time:5.1667,curve:[5.445,0,5.723,20]},{time:6,value:37.87}],translate:[{x:12.64,y:34.99,curve:[.5,12.64,1,38.64,.5,34.99,1,-50.19]},{time:1.5,x:38.64,y:-50.19,curve:[2,38.64,2.5,12.64,2,-50.19,2.5,34.99]},{time:3,x:12.64,y:34.99,curve:[3.5,12.64,4,38.64,3.5,34.99,4,-50.19]},{time:4.5,x:38.64,y:-50.19,curve:[5,38.64,5.5,12.64,5,-50.19,5.5,34.99]},{time:6,x:12.64,y:34.99}]},bone12:{translate:[{x:-175.16,y:167.2,curve:[.504,-137.03,1.002,47.88,.504,125.31,1.002,-77.85]},{time:1.5,x:47.88,y:-77.85,curve:[1.944,47.88,2.389,-181.59,1.944,-77.85,2.389,174.26]}
60,{time:2.8333,x:-181.59,y:174.26,curve:[2.891,-181.59,2.944,-179.37,2.891,174.26,2.944,171.82]},{time:3,x:-175.16,y:167.2,curve:[3.504,-137.03,4.002,47.88,3.504,125.31,4.002,-77.85]},{time:4.5,x:47.88,y:-77.85,curve:[4.944,47.88,5.389,-181.59,4.944,-77.85,5.389,174.26]},{time:5.8333,x:-181.59,y:174.26,curve:[5.891,-181.59,5.948,-179.56,5.891,174.26,5.948,172.02]},{time:6,x:-175.16,y:167.2}]},rabibody5:{rotate:[{curve:[.194,-2.42,.333,-6.06]},{time:.5,value:-6.06,curve:[.667,-6.06,.925,-5.09]},{time:1,curve:[1.051,3.47,1.111,14.73]},{time:1.1667,value:14.73,curve:[1.222,14.73,1.278,-3.43]},{time:1.3333,value:-3.43,curve:[1.389,-3.43,1.444,14.73]},{time:1.5,value:14.73,curve:[1.556,14.73,1.611,-3.43]},{time:1.6667,value:-3.43,curve:[1.722,-3.43,1.778,14.73]},{time:1.8333,value:14.73,curve:[1.889,14.73,1.944,-3.43]},{time:2,value:-3.43,curve:[2.032,-3.43,2.237,2.72]},{time:2.4667,value:4.24,curve:[2.653,5.44,2.822,2.22]},{time:3,curve:[3.194,-2.42,3.333,-6.06]},{time:3.5,value:-6.06,curve:[3.667,-6.06,3.925,-5.09]},{time:4,curve:[4.051,3.47,4.111,14.73]},{time:4.1667,value:14.73,curve:[4.222,14.73,4.278,-3.43]},{time:4.3333,value:-3.43,curve:[4.389,-3.43,4.444,14.73]},{time:4.5,value:14.73,curve:[4.556,14.73,4.611,-3.43]},{time:4.6667,value:-3.43,curve:[4.722,-3.43,4.778,14.73]},{time:4.8333,value:14.73,curve:[4.889,14.73,4.944,-3.43]},{time:5,value:-3.43,curve:[5.032,-3.43,5.237,2.72]},{time:5.4667,value:4.24,curve:[5.653,5.44,5.826,2.63]},{time:6}]},rabibody6:{rotate:[{curve:[.184,-1.74,.341,-3.39]},{time:.5,value:-4.14,curve:[.684,-5,1.002,-2.13]},{time:1.0667,value:2.68,curve:[1.117,6.43,1.178,14.73]},{time:1.2333,value:14.73,curve:[1.289,14.73,1.344,-3.43]},{time:1.4,value:-3.43,curve:[1.456,-3.43,1.511,14.73]},{time:1.5667,value:14.73,curve:[1.622,14.73,1.678,-3.43]},{time:1.7333,value:-3.43,curve:[1.789,-3.43,1.844,14.73]},{time:1.9,value:14.73,curve:[1.956,14.73,2.011,-3.43]},{time:2.0667,value:-3.43,curve:[2.096,-3.43,2.267,2.59]},{time:2.4667,value:3.99,curve:[2.648,5.24,2.822,1.68]},{time:3,curve:[3.184,-1.74,3.341,-3.39]},{time:3.5,value:-4.14,curve:[3.684,-5,4.002,-2.13]},{time:4.0667,value:2.68,curve:[4.117,6.43,4.178,14.73]},{time:4.2333,value:14.73,curve:[4.289,14.73,4.344,-3.43]},{time:4.4,value:-3.43,curve:[4.456,-3.43,4.511,14.73]},{time:4.5667,value:14.73,curve:[4.622,14.73,4.678,-3.43]},{time:4.7333,value:-3.43,curve:[4.789,-3.43,4.844,14.73]},{time:4.9,value:14.73,curve:[4.956,14.73,5.011,-3.43]},{time:5.0667,value:-3.43,curve:[5.096,-3.43,5.267,2.59]},{time:5.4667,value:3.99,curve:[5.648,5.24,5.859,1.48]},{time:6}]},rabibody7:{rotate:[{value:.1,curve:[.12,-1.46,.356,-5.95]},{time:.5333,value:-5.95,curve:[.746,-5.95,1.106,-3.81]},{time:1.1667,curve:[1.215,3.05,1.278,14.73]},{time:1.3333,value:14.73,curve:[1.389,14.73,1.444,-3.43]},{time:1.5,value:-3.43,curve:[1.556,-3.43,1.611,14.73]},{time:1.6667,value:14.73,curve:[1.722,14.73,1.778,-3.43]},{time:1.8333,value:-3.43,curve:[1.889,-3.43,1.944,14.73]},{time:2,value:14.73,curve:[2.056,14.73,2.111,-3.43]},{time:2.1667,value:-3.43,curve:[2.194,-3.43,2.334,2.45]},{time:2.5,value:3.7,curve:[2.666,4.9,2.833,2.26]},{time:3,value:.1,curve:[3.12,-1.46,3.356,-5.95]},{time:3.5333,value:-5.95,curve:[3.746,-5.95,4.106,-3.81]},{time:4.1667,curve:[4.215,3.05,4.278,14.73]},{time:4.3333,value:14.73,curve:[4.389,14.73,4.444,-3.43]},{time:4.5,value:-3.43,curve:[4.556,-3.43,4.611,14.73]},{time:4.6667,value:14.73,curve:[4.722,14.73,4.778,-3.43]},{time:4.8333,value:-3.43,curve:[4.889,-3.43,4.944,14.73]},{time:5,value:14.73,curve:[5.056,14.73,5.111,-3.43]},{time:5.1667,value:-3.43,curve:[5.194,-3.43,5.334,2.45]},{time:5.5,value:3.7,curve:[5.666,4.9,5.867,1.5]},{time:6,value:.1}]},tutueye2:{translate:[{time:1.1,curve:[1.127,-8.66,1.139,-25.98,1.127,-1.03,1.139,-3.09]},{time:1.1667,x:-25.98,y:-3.09,curve:[1.207,-25.98,1.259,0,1.207,-3.09,1.259,0]},{time:1.3,curve:[1.341,0,1.359,-25.98,1.341,0,1.359,-3.09]},{time:1.4,x:-25.98,y:-3.09,curve:[1.437,-25.98,1.463,-6.93,1.437,-3.09,1.463,-.82]},{time:1.5,curve:[1.533,6.31,1.559,-25.98,1.533,.75,1.559,-3.09]},{time:1.6,x:-25.98,y:-3.09,curve:[1.637,-25.98,1.663,-6.93,1.637,-3.09,1.663,-.82]},{time:1.7,curve:[1.744,8.41,1.793,-25.98,1.744,1,1.793,-3.09]},{time:1.8333,x:-25.98,y:-3.09,curve:[1.87,-25.98,1.897,-6.93,1.87,-3.09,1.897,-.82]},{time:1.9333,curve:[1.967,6.31,1.993,-25.98,1.967,.75,1.993,-3.09]},{time:2.0333,x:-25.98,y:-3.09,curve:[2.07,-25.98,2.097,-6.93,2.07,-3.09,2.097,-.82]},{time:2.1333,curve:[2.161,5.26,2.182,-25.98,2.161,.63,2.182,-3.09]},{time:2.2333,x:-25.98,y:-3.09,curve:[2.27,-25.98,2.297,-6.93,2.27,-3.09,2.297,-.82]},{time:2.3333,curve:"stepped"},{time:4.1,curve:[4.127,-8.66,4.139,-25.98,4.127,-1.03,4.139,-3.09]},{time:4.1667,x:-25.98,y:-3.09,curve:[4.207,-25.98,4.259,0,4.207,-3.09,4.259,0]},{time:4.3,curve:[4.341,0,4.359,-25.98,4.341,0,4.359,-3.09]},{time:4.4,x:-25.98,y:-3.09,curve:[4.437,-25.98,4.463,-6.93,4.437,-3.09,4.463,-.82]}
60,{time:4.5,curve:[4.533,6.31,4.559,-25.98,4.533,.75,4.559,-3.09]},{time:4.6,x:-25.98,y:-3.09,curve:[4.637,-25.98,4.663,-6.93,4.637,-3.09,4.663,-.82]},{time:4.7,curve:[4.744,8.41,4.793,-25.98,4.744,1,4.793,-3.09]},{time:4.8333,x:-25.98,y:-3.09,curve:[4.87,-25.98,4.897,-6.93,4.87,-3.09,4.897,-.82]},{time:4.9333,curve:[4.967,6.31,4.993,-25.98,4.967,.75,4.993,-3.09]},{time:5.0333,x:-25.98,y:-3.09,curve:[5.07,-25.98,5.097,-6.93,5.07,-3.09,5.097,-.82]},{time:5.1333,curve:[5.161,5.26,5.182,-25.98,5.161,.63,5.182,-3.09]},{time:5.2333,x:-25.98,y:-3.09,curve:[5.27,-25.98,5.297,-6.93,5.27,-3.09,5.297,-.82]},{time:5.3333}]},bone9:{translate:[{time:1.0667,curve:[1.094,-8.66,1.106,-25.98,1.094,-1.03,1.106,-3.09]},{time:1.1333,x:-25.98,y:-3.09,curve:[1.174,-25.98,1.226,0,1.174,-3.09,1.226,0]},{time:1.2667,curve:[1.307,0,1.326,-25.98,1.307,0,1.326,-3.09]},{time:1.3667,x:-25.98,y:-3.09,curve:[1.403,-25.98,1.43,-6.93,1.403,-3.09,1.43,-.82]},{time:1.4667,curve:[1.5,6.31,1.526,-25.98,1.5,.75,1.526,-3.09]},{time:1.5667,x:-25.98,y:-3.09,curve:[1.603,-25.98,1.63,-6.93,1.603,-3.09,1.63,-.82]},{time:1.6667,curve:[1.711,8.41,1.759,-25.98,1.711,1,1.759,-3.09]},{time:1.8,x:-25.98,y:-3.09,curve:[1.837,-25.98,1.863,-6.93,1.837,-3.09,1.863,-.82]},{time:1.9,curve:[1.933,6.31,1.959,-25.98,1.933,.75,1.959,-3.09]},{time:2,x:-25.98,y:-3.09,curve:[2.037,-25.98,2.063,-6.93,2.037,-3.09,2.063,-.82]},{time:2.1,curve:[2.128,5.26,2.149,-25.98,2.128,.63,2.149,-3.09]},{time:2.2,x:-25.98,y:-3.09,curve:[2.237,-25.98,2.263,-6.93,2.237,-3.09,2.263,-.82]},{time:2.3,curve:"stepped"},{time:4.0667,curve:[4.094,-8.66,4.106,-25.98,4.094,-1.03,4.106,-3.09]},{time:4.1333,x:-25.98,y:-3.09,curve:[4.174,-25.98,4.226,0,4.174,-3.09,4.226,0]},{time:4.2667,curve:[4.307,0,4.326,-25.98,4.307,0,4.326,-3.09]},{time:4.3667,x:-25.98,y:-3.09,curve:[4.403,-25.98,4.43,-6.93,4.403,-3.09,4.43,-.82]},{time:4.4667,curve:[4.5,6.31,4.526,-25.98,4.5,.75,4.526,-3.09]},{time:4.5667,x:-25.98,y:-3.09,curve:[4.603,-25.98,4.63,-6.93,4.603,-3.09,4.63,-.82]},{time:4.6667,curve:[4.711,8.41,4.759,-25.98,4.711,1,4.759,-3.09]},{time:4.8,x:-25.98,y:-3.09,curve:[4.837,-25.98,4.863,-6.93,4.837,-3.09,4.863,-.82]},{time:4.9,curve:[4.933,6.31,4.959,-25.98,4.933,.75,4.959,-3.09]},{time:5,x:-25.98,y:-3.09,curve:[5.037,-25.98,5.063,-6.93,5.037,-3.09,5.063,-.82]},{time:5.1,curve:[5.128,5.26,5.149,-25.98,5.128,.63,5.149,-3.09]},{time:5.2,x:-25.98,y:-3.09,curve:[5.237,-25.98,5.263,-6.93,5.237,-3.09,5.263,-.82]},{time:5.3}]},rabibody13:{translate:[{time:1.0667,curve:[1.094,-8.66,1.106,-25.98,1.094,-1.03,1.106,-3.09]},{time:1.1333,x:-25.98,y:-3.09,curve:[1.174,-25.98,1.226,0,1.174,-3.09,1.226,0]},{time:1.2667,curve:[1.307,0,1.326,-25.98,1.307,0,1.326,-3.09]},{time:1.3667,x:-25.98,y:-3.09,curve:[1.403,-25.98,1.43,-6.93,1.403,-3.09,1.43,-.82]},{time:1.4667,curve:[1.5,6.31,1.526,-25.98,1.5,.75,1.526,-3.09]},{time:1.5667,x:-25.98,y:-3.09,curve:[1.603,-25.98,1.63,-6.93,1.603,-3.09,1.63,-.82]},{time:1.6667,curve:[1.711,8.41,1.759,-25.98,1.711,1,1.759,-3.09]},{time:1.8,x:-25.98,y:-3.09,curve:[1.837,-25.98,1.863,-6.93,1.837,-3.09,1.863,-.82]},{time:1.9,curve:[1.933,6.31,1.959,-25.98,1.933,.75,1.959,-3.09]},{time:2,x:-25.98,y:-3.09,curve:[2.037,-25.98,2.063,-6.93,2.037,-3.09,2.063,-.82]},{time:2.1,curve:[2.128,5.26,2.149,-25.98,2.128,.63,2.149,-3.09]},{time:2.2,x:-25.98,y:-3.09,curve:[2.237,-25.98,2.263,-6.93,2.237,-3.09,2.263,-.82]},{time:2.3,curve:"stepped"},{time:4.0667,curve:[4.094,-8.66,4.106,-25.98,4.094,-1.03,4.106,-3.09]},{time:4.1333,x:-25.98,y:-3.09,curve:[4.174,-25.98,4.226,0,4.174,-3.09,4.226,0]},{time:4.2667,curve:[4.307,0,4.326,-25.98,4.307,0,4.326,-3.09]},{time:4.3667,x:-25.98,y:-3.09,curve:[4.403,-25.98,4.43,-6.93,4.403,-3.09,4.43,-.82]},{time:4.4667,curve:[4.5,6.31,4.526,-25.98,4.5,.75,4.526,-3.09]},{time:4.5667,x:-25.98,y:-3.09,curve:[4.603,-25.98,4.63,-6.93,4.603,-3.09,4.63,-.82]},{time:4.6667,curve:[4.711,8.41,4.759,-25.98,4.711,1,4.759,-3.09]},{time:4.8,x:-25.98,y:-3.09,curve:[4.837,-25.98,4.863,-6.93,4.837,-3.09,4.863,-.82]},{time:4.9,curve:[4.933,6.31,4.959,-25.98,4.933,.75,4.959,-3.09]},{time:5,x:-25.98,y:-3.09,curve:[5.037,-25.98,5.063,-6.93,5.037,-3.09,5.063,-.82]},{time:5.1,curve:[5.128,5.26,5.149,-25.98,5.128,.63,5.149,-3.09]},{time:5.2,x:-25.98,y:-3.09,curve:[5.237,-25.98,5.263,-6.93,5.237,-3.09,5.263,-.82]},{time:5.3}]},body9:{rotate:[{value:23.99,curve:[.857,37.14,.148,-14.02]},{time:1.3667,value:-14.02,curve:[1.813,-14.02,2.256,6.13]},{time:2.7,value:10.66,curve:[2.815,11.83,2.924,12.62]},{time:3.0333,value:12.62,curve:[3.783,12.62,3.466,-14.02]},{time:4.3667,value:-14.02,curve:[5.429,-14.02,4.65,24.12]},{time:6,value:24.12}]},zui4:{translate:[{time:.8,curve:[.9,-.01,1.067,-.06,.9,.62,1.067,6.64]},{time:1.1667,x:-.06,y:6.64,curve:[1.486,-.06,1.623,-.02,1.486,6.64,1.623,1.98]},{time:1.7667,curve:"stepped"},{time:3.8,curve:[3.9,-.01,4.067,-.06,3.9,.62,4.067,6.64]},{time:4.1667,x:-.06,y:6.64,curve:[4.486,-.06,4.623,-.02,4.486,6.64,4.623,1.98]},{time:4.7667}]},shouzhi2:{scale:[{time:1,curve:[1.222,1,1.111,.767,1.222,1,1.111,1]},{time:1.3333,x:.767,curve:"stepped"},{time:2,x:.767,curve:[2.111,.767,2.222,.922,2.111,1,2.222,1]},{time:2.3333,curve:"stepped"},{time:3.6667,curve:[3.889,1,3.777,.767,3.889,1,3.777,1]},{time:4,x:.767,curve:"stepped"},{time:4.7333,x:.767,curve:[4.844,.767,4.956,.922,4.844,1,4.956,1]},{time:5.0667}]},shouzhi3:{scale:[{time:1,curve:[1.222,1,1.111,.55,1.222,1,1.111,1]},{time:1.3333,x:.55,curve:"stepped"},{time:2,x:.55,curve:[2.111,.55,2.222,.85,2.111,1,2.222,1]},{time:2.3333,curve:"stepped"},{time:3.6667,curve:[3.889,1,3.777,.55,3.889,1,3.777,1]},{time:4,x:.55,curve:"stepped"},{time:4.7333,x:.55,curve:[4.844,.55,4.956,.85,4.844,1,4.956,1]},{time:5.0667}]},body15:{rotate:[{value:9.13,curve:"stepped"},{time:.6333,value:9.13,curve:[1.316,9.13,1.05,-1.81]},{time:1.6667,value:-1.81,curve:[1.793,-1.81,1.911,-1.01]},{time:2,curve:[2.179,2.04,2.444,10.78]},{time:2.6667,value:10.78,curve:[2.778,10.78,2.889,9.13]},{time:3,value:9.13,curve:"stepped"},{time:3.6333,value:9.13,curve:[4.316,9.13,4.05,-1.81]},{time:4.6667,value:-1.81,curve:[4.793,-1.81,4.911,-1.01]},{time:5,curve:[5.179,2.04,5.444,10.78]},{time:5.6667,value:10.78,curve:[5.778,10.78,5.889,9.13]},{time:6,value:9.13}]},body16:{rotate:[{value:9.96,curve:[.056,9.54,.111,9.13]},{time:.1667,value:9.13,curve:"stepped"},{time:.8,value:9.13,curve:[1.237,9.13,1.059,-5.63]},{time:1.5,value:-5.63,curve:[1.742,-5.63,1.961,-3.75]},{time:2.1667,curve:[2.36,3.52,2.611,10.78]},{time:2.8333,value:10.78,curve:[2.889,10.78,2.944,10.36]},{time:3,value:9.96,curve:[3.056,9.54,3.111,9.13]},{time:3.1667,value:9.13,curve:"stepped"},{time:3.8,value:9.13,curve:[4.237,9.13,4.059,-5.63]},{time:4.5,value:-5.63,curve:[4.742,-5.63,4.961,-3.75]},{time:5.1667,curve:[5.36,3.52,5.611,10.78]},{time:5.8333,value:10.78,curve:[5.889,10.78,5.945,10.37]},{time:6,value:9.96}]},body17:{rotate:[{value:9.49,curve:[.034,9.28,.067,9.13]},{time:.1,value:9.13,curve:"stepped"},{time:.7333,value:9.13,curve:[1.38,9.13,1.287,-1.6]},{time:1.7333,value:-1.81,curve:[1.868,-1.87,1.999,-1.1]},{time:2.1,curve:[2.282,1.97,2.544,10.78]},{time:2.7667,value:10.78,curve:[2.845,10.78,2.922,9.95]},{time:3,value:9.49,curve:[3.034,9.28,3.067,9.13]},{time:3.1,value:9.13,curve:"stepped"},{time:3.7333,value:9.13,curve:[4.38,9.13,4.287,-1.6]},{time:4.7333,value:-1.81,curve:[4.868,-1.87,4.999,-1.1]},{time:5.1,curve:[5.282,1.97,5.544,10.78]},{time:5.7667,value:10.78,curve:[5.845,10.78,5.923,9.97]},{time:6,value:9.49}]},body18:{rotate:[{value:10.61,curve:[.034,10.46,.067,10.21]},{time:.1,value:9.96,curve:[.156,9.54,.211,9.13]},{time:.2667,value:9.13,curve:"stepped"},{time:.9,value:9.13,curve:[1.457,9.13,1.378,-4.68]},{time:1.8,value:-4.68,curve:[1.96,-4.68,2.119,-2.17]},{time:2.2667,curve:[2.444,2.6,2.711,10.78]},{time:2.9333,value:10.78,curve:[2.956,10.78,2.978,10.72]},{time:3,value:10.61,curve:[3.034,10.46,3.067,10.21]},{time:3.1,value:9.96,curve:[3.156,9.54,3.211,9.13]},{time:3.2667,value:9.13,curve:"stepped"},{time:3.9,value:9.13,curve:[4.457,9.13,4.378,-4.68]},{time:4.8,value:-4.68,curve:[4.96,-4.68,5.119,-2.17]},{time:5.2667,curve:[5.444,2.6,5.711,10.78]},{time:5.9333,value:10.78,curve:[5.956,10.78,5.978,10.72]},{time:6,value:10.61}]},body19:{rotate:[{value:9.96,curve:[.056,9.54,.111,9.13]},{time:.1667,value:9.13,curve:"stepped"},{time:.8,value:9.13,curve:[1.186,9.13,1.342,-16.34]},{time:1.6,value:-16.34,curve:[1.799,-16.34,2.018,-6.28]},{time:2.1667,curve:[2.352,7.82,2.611,10.78]},{time:2.8333,value:10.78,curve:[2.889,10.78,2.944,10.36]},{time:3,value:9.96,curve:[3.056,9.54,3.111,9.13]},{time:3.1667,value:9.13,curve:"stepped"},{time:3.8,value:9.13,curve:[4.186,9.13,4.342,-16.34]},{time:4.6,value:-16.34,curve:[4.799,-16.34,5.018,-6.28]},{time:5.1667,curve:[5.352,7.82,5.611,10.78]},{time:5.8333,value:10.78,curve:[5.889,10.78,5.945,10.37]},{time:6,value:9.96}]},body14:{rotate:[{value:10.8,curve:[.056,10.55,.111,10.31]},{time:.1667,value:10.31,curve:"stepped"},{time:.8,value:10.31,curve:[1.237,10.31,1.059,1.66]},{time:1.5,value:1.66,curve:[1.742,1.66,1.961,2.76]},{time:2.1667,value:4.96,curve:[2.36,7.02,2.611,11.28]},{time:2.8333,value:11.28,curve:[2.889,11.28,2.944,11.03]},{time:3,value:10.8,curve:[3.056,10.55,3.111,10.31]},{time:3.1667,value:10.31,curve:"stepped"},{time:3.8,value:10.31,curve:[4.237,10.31,4.059,1.66]},{time:4.5,value:1.66,curve:[4.742,1.66,4.961,2.76]},{time:5.1667,value:4.96,curve:[5.36,7.02,5.611,11.28]}
60,{time:5.8333,value:11.28,curve:[5.889,11.28,5.945,11.04]},{time:6,value:10.8}]},body13:{rotate:[{value:1.06,curve:"stepped"},{time:.6333,value:1.06,curve:[1.316,1.06,1.05,-3.71]},{time:1.6667,value:-3.71,curve:[1.793,-3.71,1.911,-3.36]},{time:2,value:-2.92,curve:[2.179,-2.03,2.444,1.78]},{time:2.6667,value:1.78,curve:[2.778,1.78,2.889,1.06]},{time:3,value:1.06,curve:"stepped"},{time:3.6333,value:1.06,curve:[4.316,1.06,4.05,-3.71]},{time:4.6667,value:-3.71,curve:[4.793,-3.71,4.911,-3.36]},{time:5,value:-2.92,curve:[5.179,-2.03,5.444,1.78]},{time:5.6667,value:1.78,curve:[5.778,1.78,5.889,1.06]},{time:6,value:1.06}]},toubu:{rotate:[{value:13.73,curve:"stepped"},{time:.1333,value:13.73,curve:[.733,13.73,.598,-6.82]},{time:1.8,value:-6.82,curve:[2.344,-6.82,2.889,0]},{time:3.4333,curve:[3.822,0,4.211,-19.77]},{time:4.6,value:-19.77,curve:[5.312,-19.77,4.976,13.73]},{time:6,value:13.73}]},l_jiemao2:{rotate:[{value:4.87}],translate:[{x:41.32,y:-94.62,curve:"stepped"},{time:.2333,x:41.32,y:-94.62},{time:.5,curve:"stepped"},{time:4.9667},{time:5.3,x:41.32,y:-94.62}]},r_jiemao:{translate:[{x:.3,y:-19.25,curve:"stepped"},{time:.2333,x:.3,y:-19.25,curve:[.322,.2,.411,0,.322,-12.83,.411,0]},{time:.5,curve:"stepped"},{time:4.9667},{time:5.2333,x:.3,y:-19.25}]},toufa18:{rotate:[{value:19.24,curve:[1.533,19.24,3.067,0]},{time:4.6,curve:[5.325,0,4.967,19.24]},{time:6,value:19.24}]},toufa19:{rotate:[{value:-20.98,curve:[1.533,-20.98,3.067,0]},{time:4.6,curve:[5.325,0,4.967,-20.98]},{time:6,value:-20.98}]}},deform:{default:{caijian2:{caijian2:[{offset:4,vertices:[-2.82336,41.72394,-11.92261,55.13733,-21.88879,58.16449,-23.64337,48.34698,-7.85962,28.05432,13.56812,-12.74744,33.92853,-44.46472,-6.26425,46.37598,-2.77411,27.86224,-16.92496,10.94189,-20.84146,8.11218,-28.70261,9.53979,-39.87418,10.56586,-44.73413,14.45044,-63.19391,34.14038,-12.2916,40.20514,0,0,7.06165,3.58948,3.68494,8.09344,3.67285,15.79932,.97034,8.33099,-5.92938,10.23169,-4.15594,7.18854,-9.9765,11.8407,-6.67456,-12.63501,8.28137,5.30206,6.81879,-.63446],curve:"stepped"},{time:.2333,offset:4,vertices:[-2.82336,41.72394,-11.92261,55.13733,-21.88879,58.16449,-23.64337,48.34698,-7.85962,28.05432,13.56812,-12.74744,33.92853,-44.46472,-6.26425,46.37598,-2.77411,27.86224,-16.92496,10.94189,-20.84146,8.11218,-28.70261,9.53979,-39.87418,10.56586,-44.73413,14.45044,-63.19391,34.14038,-12.2916,40.20514,0,0,7.06165,3.58948,3.68494,8.09344,3.67285,15.79932,.97034,8.33099,-5.92938,10.23169,-4.15594,7.18854,-9.9765,11.8407,-6.67456,-12.63501,8.28137,5.30206,6.81879,-.63446]},{time:.5,curve:"stepped"},{time:2.7667,curve:[2.803,0,2.756,1]},{time:2.8667,offset:2,vertices:[-25.21558,-31.6098,-12.70328,31.45813,-11.44183,50.44946,-19.13019,61.75952,-18.52795,64.40186,-24.37979,51.41382,-16.96741,8.92535,.92841,-28.14099,-2.35301,38.29883,2.5251,24.73651,-12.55183,10.57849,-18.30801,3.9942,-27.68814,3.66956,-38.68864,6.02655,-43.89694,14.20093,-63.37604,31.01123,-19.02179,5.21252,5.53873,-63.7052,.16382,25.33374,-4.30304,24.90442,.24347,20.74414,-.17078,10.7323,-5.85559,11.93475,-2.37323,11.07758,-7.84155,17.46698,-2.72803,22.01416,13.79761,-25.93561,6.81879,-.63446,-4.97305,40.61633,-19.35919,70.47986,-24.77582,73.20453,-25.01996,59.05634,-15.7948,22.91266],curve:[2.9,0,2.933,1]},{time:2.9667,curve:"stepped"},{time:4.9667,curve:[5.078,0,5.189,1]},{time:5.3,offset:4,vertices:[-2.82336,41.72394,-11.92261,55.13733,-21.88879,58.16449,-23.64337,48.34698,-7.85962,28.05432,13.56812,-12.74744,33.92853,-44.46472,-6.26425,46.37598,-2.77411,27.86224,-16.92496,10.94189,-20.84146,8.11218,-28.70261,9.53979,-39.87418,10.56586,-44.73413,14.45044,-63.19391,34.14038,-12.2916,40.20514,0,0,7.06165,3.58948,3.68494,8.09344,3.67285,15.79932,.97034,8.33099,-5.92938,10.23169,-4.15594,7.18854,-9.9765,11.8407,-6.67456,-12.63501,8.28137,5.30206,6.81879,-.63446]}]},highlight_l_eye:{highlight_l_eye:[{time:.1667,curve:[.189,0,.204,1]},{time:.2333,vertices:[1.60004,-13.24225,1.60004,-13.24225,1.60004,-13.24225,1.60004,-13.24225],curve:[.277,0,.323,1]},{time:.3667,curve:[.425,0,.475,1]},{time:.5333,vertices:[1.22855,-9.62323,1.22855,-9.62323,1.22855,-9.62323,1.22855,-9.62323],curve:[.577,0,.623,1]},{time:.6667,curve:"stepped"},{time:2.7667,curve:[2.789,0,2.804,1]},{time:2.8333,vertices:[1.60004,-13.24225,1.60004,-13.24225,1.60004,-13.24225,1.60004,-13.24225],curve:[2.877,0,2.923,1]},{time:2.9667,curve:[3.025,0,3.075,1]},{time:3.1333,vertices:[1.22855,-9.62323,1.22855,-9.62323,1.22855,-9.62323,1.22855,-9.62323],curve:[3.177,0,3.223,1]},{time:3.2667}]},highlight_r_eye:{highlight_r_eye:[{time:2.7667,curve:[2.789,0,2.811,1]},{time:2.8333,vertices:[1.10776,-9.00964,1.10776,-9.00964,1.10776,-9.00964,1.10776,-9.00964],curve:[2.878,0,2.922,1]},{time:2.9667,vertices:[-.22397,2.26019,-.22397,2.26019,-.22397,2.26019,-.22397,2.26019],curve:[3.022,0,3.078,1]},{time:3.1333,vertices:[1.10776,-9.00964,1.10776,-9.00964,1.10776,-9.00964,1.10776,-9.00964],curve:[3.178,0,3.222,1]},{time:3.2667,vertices:[-.22397,2.26019,-.22397,2.26019,-.22397,2.26019,-.22397,2.26019]}]},l_jiemao:{l_jiemao:[{vertices:[-17.69196,-16.49838,4.5025,-13.32336,0,0,0,0,0,0,-1.17554,.46698,-19.02057,15.61884,-9.30035,1.22021,4.40656,4.81152,-1.62463,-5.7489,4.62024,4.03058,-2.13556,-5.08533,-1.06622,-5.97705,-1.64923,5.85681,0,0,0,0,-9.95514,-1.57928,-17.46515,-16.59882,.4007,.82675,.01666,-.88354,0,0,0,0,-.90741,-4.29999,-1.0719,4.25537,.19617,.29022,-.03986,-.3266,4.83759,5.05457,-1.88104,-6.09949,0,0,0,0,1.39215,-2.64734,-2.28534,2.05273,-.1958,-.29022,.03998,.32617,-.65021,-3.07214,-.76392,3.04077,0,0,0,0,2.033
6008,-5.37524,-3.98157,4.40118],curve:"stepped"},{time:.2333,vertices:[-17.69196,-16.49838,4.5025,-13.32336,0,0,0,0,0,0,-1.17554,.46698,-19.02057,15.61884,-9.30035,1.22021,4.40656,4.81152,-1.62463,-5.7489,4.62024,4.03058,-2.13556,-5.08533,-1.06622,-5.97705,-1.64923,5.85681,0,0,0,0,-9.95514,-1.57928,-17.46515,-16.59882,.4007,.82675,.01666,-.88354,0,0,0,0,-.90741,-4.29999,-1.0719,4.25537,.19617,.29022,-.03986,-.3266,4.83759,5.05457,-1.88104,-6.09949,0,0,0,0,1.39215,-2.64734,-2.28534,2.05273,-.1958,-.29022,.03998,.32617,-.65021,-3.07214,-.76392,3.04077,0,0,0,0,2.03308,-5.37524,-3.98157,4.40118]},{time:.5,curve:"stepped"},{time:4.9667},{time:5.3,vertices:[-17.69196,-16.49838,4.5025,-13.32336,0,0,0,0,0,0,-1.17554,.46698,-19.02057,15.61884,-9.30035,1.22021,4.40656,4.81152,-1.62463,-5.7489,4.62024,4.03058,-2.13556,-5.08533,-1.06622,-5.97705,-1.64923,5.85681,0,0,0,0,-9.95514,-1.57928,-17.46515,-16.59882,.4007,.82675,.01666,-.88354,0,0,0,0,-.90741,-4.29999,-1.0719,4.25537,.19617,.29022,-.03986,-.3266,4.83759,5.05457,-1.88104,-6.09949,0,0,0,0,1.39215,-2.64734,-2.28534,2.05273,-.1958,-.29022,.03998,.32617,-.65021,-3.07214,-.76392,3.04077,0,0,0,0,2.03308,-5.37524,-3.98157,4.40118]}]},trigger:{trigger:[{time:1,curve:[1.222,0,1.111,1]},{time:1.3333,vertices:[-46.85876,7.29883,-39.4834,6.76318,-38.16333,6.64014,-38.16333,6.64014,0,0,0,0,-38.16333,6.64014,-38.74756,9.71826,-45.38928,8.23804],curve:"stepped"},{time:2,vertices:[-46.85876,7.29883,-39.4834,6.76318,-38.16333,6.64014,-38.16333,6.64014,0,0,0,0,-38.16333,6.64014,-38.74756,9.71826,-45.38928,8.23804],curve:[2.111,0,2.222,1]},{time:2.3333,curve:"stepped"},{time:3.6667,curve:[3.889,0,3.777,1]},{time:4,vertices:[-46.85876,7.29883,-39.4834,6.76318,-38.16333,6.64014,-38.16333,6.64014,0,0,0,0,-38.16333,6.64014,-38.74756,9.71826,-45.38928,8.23804],curve:"stepped"},{time:4.7333,vertices:[-46.85876,7.29883,-39.4834,6.76318,-38.16333,6.64014,-38.16333,6.64014,0,0,0,0,-38.16333,6.64014,-38.74756,9.71826,-45.38928,8.23804],curve:[4.844,0,4.956,1]},{time:5.0667}]},zui1:{zui3:[{vertices:[-.97003,-37.18457,1.53137,-39.90204,4.49115,-41.71265,6.30383,-43.37976,9.44257,-41.41895,13.96094,-34.09784,11.73492,-26.7511,17.30396,-18.05518,5.68304,-25.81061,6.16663,-31.11011,6.30383,-43.3797,6.30383,-43.3797,6.30383,-43.3797,6.30383,-43.3797,6.30383,-43.3797,-4.10937,-40.02814,-.42523,-38.94531,-8.90192,-34.74115],curve:"stepped"},{time:.3333,vertices:[-.97003,-37.18457,1.53137,-39.90204,4.49115,-41.71265,6.30383,-43.37976,9.44257,-41.41895,13.96094,-34.09784,11.73492,-26.7511,17.30396,-18.05518,5.68304,-25.81061,6.16663,-31.11011,6.30383,-43.3797,6.30383,-43.3797,6.30383,-43.3797,6.30383,-43.3797,6.30383,-43.3797,-4.10937,-40.02814,-.42523,-38.94531,-8.90192,-34.74115],curve:[.444,0,.556,1]},{time:.6667,curve:"stepped"},{time:5,curve:[5.019,0,5.048,.16]},{time:5.0667,vertices:[-1.35169,-.85292,-2.80687,-4.23232,-2.10188,-3.54452,-1.9623,-3.04466,-1.35708,-2.26548,-.92321,.10563,-1.42588,-.19191,1.17014,3.40556,-1.74351,.47586,-1.65839,-.45687,-1.63424,-2.61637,-1.63424,-2.61637,-1.63424,-2.61637,-1.63424,-2.61637,-1.63424,-2.61637,-3.46701,-2.02648,-2.81859,-1.8359,-4.31052,-1.09595],curve:[5.086,.43,5.081,.73]},{time:5.1,vertices:[-3.54578,-15.05053,-.44553,-17.73711,1.52003,-19.14854,1.24901,-19.22017,3.9799,-18.80834,5.61555,-15.04399,5.53883,-11.70108,9.66922,-3.66006,2.03326,-11.33809,2.25632,-13.78256,2.31961,-19.4421,2.31961,-19.4421,2.31961,-19.4421,2.31961,-19.4421,2.31961,-19.4421,-2.48364,-17.89614,-.78427,-17.39667,-4.69427,-15.45744],curve:[5.11,.96,5.124,1]},{time:5.1333,vertices:[-2.25851,-28.35126,-.15796,-31.8522,3.2327,-32.7934,3.54663,-33.08551,5.92441,-32.75684,8.59222,-29.23721,7.87473,-22.32764,12.06622,-16.00427,3.78903,-24.32706,4.03082,-26.97681,4.09943,-33.1116,4.09943,-33.1116,4.09943,-33.1116,4.09943,-33.1116,4.09943,-33.1116,-1.10718,-31.43582,.73489,-30.89441,-3.50345,-28.79233],curve:[5.172,0,5.228,1]},{time:5.2667,vertices:[-.97003,-37.18457,1.53137,-39.90204,4.49115,-41.71265,6.30383,-43.37976,9.44257,-41.41895,13.96094,-34.09784,11.73492,-26.7511,17.30396,-18.05518,5.68304,-25.81061,6.16663,-31.11011,6.30383,-43.3797,6.30383,-43.3797,6.30383,-43.3797,6.30383,-43.3797,6.30383,-43.3797,-4.10937,-40.02814,-.42523,-38.94531,-8.90192,-34.74115]}]},zui2:{zui3:[{offset:2,vertices:[3.50555,-2.69202,-4.76019,21.75659,-11.99829,30.30646,-10.44843,41.55359,-1.82263,42.09198,-10.3963,27.78503,-8.22449,21.04919,-5.69379,-3.55457,-1.69458,-3.29041,0,0,-.57745,18.758,-3.68646,26.65143,37e-5,38.63049,-10.01434,40.19843,-10.01434,40.19843,-8.90643,27.15698,-3.0155,14.88159,-7.89697,9.58954],curve:"stepped"},{time:.3333,offset:2,vertices:[3.50555,-2.69202,-4.76019,21.75659,-11.99829,30.30646,-10.44843,41.55359,-1.82263,42.09198,-10.3963,27.78503,-8.22449,21.04919,-5.69379,-3.55457,-1.69458,-3.29041,0,0,-.57745,18.758,-3.68646,26.65143,37e-5,38.63049,-10.01434,40.19843,-10.01434,40.19843,-8.90643,27.15698,-3.0155,14.88159,-7.89697,9.58954],curve:[.444,0,.556,1]},{time:.6667,curve:"stepped"},{time:5,curve:[5.019,0,5.047,.04]},{time:5.0667,vertices:[1.98312,2.79004,2.3477,2.51007,1.48806,5.05272,.7353,5.94191,.89649,7.11161,1.79357,7.1676,.90191,5.67968,1.12778,4.97915,1.39097,2.42036,1.80689,2.44784,1.98312,2.79004,1.92307,4.74087,1.59973,5.56179,1.98316,6.80761,.94163,6.97067,.94163,6.97067,1.05685,5.61436,1.66951,4.33772,1.16184,3.78735],curve:[5.134,.32,5.199,1]},{time:5.2667,offset:2,vertices:[3.50555,-2.69202,-4.76019,21.75659,-11.99829,30.30646,-10.44843,41.55359,-1.82263,42.09198,-10.3963,27.78503,-8.22449,21.04919,-5.69379,-3.55457,-1.69458,-3.29041,0,0,-.57745,18.758,-3.68646,26.65143,37e-5,38.63049,-10.01434,40.19843,-10.01434,40.19843,-8.90643,27.15698,-3.0155,14.88159,-7.89697,9.58954]}]},zui4:{zui4:[{vertices:[-17.34161,23.13306,-5.13245,39.42664,-2.52948,51.85437,-2.0061,58.63086,-13.27417,55.44873,
60-16.46863,47.31116,-15.95148,33.6535,1.95575,36.81885,13.36804,11.8562,10.65051,.83655,20.44543,-15.28418,25.26428,-23.86676,30.11163,-34.65442,39.73822,-38.90344,43.63208,-56.83014,35.51196,-70.01624,21.25677,-80.62445,6.69928,-80.84589,-8.82086,-74.40955,-22.32074,-69.81995,-26.86426,-53.64307,-48.40552,-4.78247],curve:"stepped"},{time:.3333,vertices:[-17.34161,23.13306,-5.13245,39.42664,-2.52948,51.85437,-2.0061,58.63086,-13.27417,55.44873,-16.46863,47.31116,-15.95148,33.6535,1.95575,36.81885,13.36804,11.8562,10.65051,.83655,20.44543,-15.28418,25.26428,-23.86676,30.11163,-34.65442,39.73822,-38.90344,43.63208,-56.83014,35.51196,-70.01624,21.25677,-80.62445,6.69928,-80.84589,-8.82086,-74.40955,-22.32074,-69.81995,-26.86426,-53.64307,-48.40552,-4.78247],curve:[.444,0,.556,1]},{time:.6667,curve:"stepped"},{time:5,curve:[5.048,0,5.085,.25]},{time:5.1333,vertices:[-8.67081,11.56653,-2.77643,12.47827,-.35318,21.43652,-.62701,26.87427,-5.94073,26.06757,-8.31976,24.79016,-7.97574,16.82675,.97787,18.40942,6.68402,5.9281,5.32526,.41827,5.94574,-7.64554,8.81329,-11.31784,9.30655,-16.83072,13.8511,-21.00394,14.27676,-26.38831,13.98386,-30.73932,7.26379,-34.80063,2.63605,-35.73395,-4.10699,-34.08713,-5.56958,-30.19821,-1.47241,-18.42694,-10.49765,-1.99469],curve:[5.172,.6,5.228,1]},{time:5.2667,vertices:[-17.34161,23.13306,-5.13245,39.42664,-2.52948,51.85437,-2.0061,58.63086,-13.27417,55.44873,-16.46863,47.31116,-15.95148,33.6535,1.95575,36.81885,13.36804,11.8562,10.65051,.83655,20.44543,-15.28418,25.26428,-23.86676,30.11163,-34.65442,39.73822,-38.90344,43.63208,-56.83014,35.51196,-70.01624,21.25677,-80.62445,6.69928,-80.84589,-8.82086,-74.40955,-22.32074,-69.81995,-26.86426,-53.64307,-48.40552,-4.78247]}]}}},events:[{time:1.3333,name:"shot_start"},{time:2.3333,name:"shot_end"},{time:3.8333,name:"shot_start"},{time:4.9333,name:"shot_end"}]}},qx={highlight_l_eye2:{rootBoneName:"highlight_l_eye2",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:3,rotateOffset:0,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},bodypiao13:{rootBoneName:"bodypiao13",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:11,rotateOffset:.25,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0,scaleYRange:.05,scaleYTime:2.2,scaleYOffset:0,scaleYChildOffset:.25,scaleYCenter:0,scaleYSpring:0,scaleYAffectByLevel:.1}}},bodypiao15:{rootBoneName:"bodypiao15",animation:{default:{name:"default",mode:1,rotateCenter:10,rotateTime:3,rotateRange:5,rotateOffset:.98,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0,scaleYRange:.05,scaleYTime:2.2,scaleYOffset:0,scaleYChildOffset:.25,scaleYCenter:0,scaleYSpring:0,scaleYAffectByLevel:.1}}},xiuzi:{rootBoneName:"xiuzi",animation:{default:{name:"default",mode:1,rotateCenter:-4,rotateTime:3,rotateRange:4,rotateOffset:.75,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}},endBoneName:"xiuzi5"},xiuzi6:{rootBoneName:"xiuzi6",animation:{default:{name:"default",mode:1,rotateCenter:-5,rotateTime:3,rotateRange:5,rotateOffset:.85,childOffset:.25,spring:0,affectByLevel:.2,springLevel:0}}},body4:{rootBoneName:"body4",animation:{default:{name:"default",mode:1,rotateCenter:6,rotateTime:3,rotateRange:9,rotateOffset:1.25,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0,scaleYRange:.04,scaleYTime:2.7,scaleYOffset:.4,scaleYChildOffset:.25,scaleYCenter:0,scaleYSpring:0,scaleYAffectByLevel:.1}}},card1:{rootBoneName:"card1",animation:{default:{name:"default",mode:1,rotateCenter:13,rotateTime:3,rotateRange:8,rotateOffset:1.5,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},yifu2:{rootBoneName:"yifu2",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:5,rotateOffset:2.06,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0,scaleYRange:.02,scaleYTime:3,scaleYOffset:0,scaleYChildOffset:.25,scaleYCenter:0,scaleYSpring:0,scaleYAffectByLevel:.1,scaleXRange:.01,scaleXTime:3,scaleXOffset:0,scaleXChildOffset:.25,scaleXCenter:0,scaleXSpring:0,scaleXAffectByLevel:.1}}},yifu7:{rootBoneName:"yifu7",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:5,rotateOffset:2.42,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0,scaleYRange:.02,scaleYTime:3,scaleYOff
60set:0,scaleYChildOffset:.25,scaleYCenter:0,scaleYSpring:0,scaleYAffectByLevel:.1,scaleXRange:.01,scaleXTime:3,scaleXOffset:0,scaleXChildOffset:.25,scaleXCenter:0,scaleXSpring:0,scaleXAffectByLevel:.1}}},yifu11:{rootBoneName:"yifu11",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:5,rotateOffset:-.6,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0,scaleYRange:.02,scaleYTime:3,scaleYOffset:0,scaleYChildOffset:.25,scaleYCenter:0,scaleYSpring:0,scaleYAffectByLevel:.1,scaleXRange:.01,scaleXTime:3,scaleXOffset:0,scaleXChildOffset:.25,scaleXCenter:0,scaleXSpring:0,scaleXAffectByLevel:.1}}},liuhai2:{rootBoneName:"liuhai2",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:3,rotateOffset:1.6,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},liuhai5:{rootBoneName:"liuhai5",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:3,rotateOffset:2.29,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},liuhai8:{rootBoneName:"liuhai8",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:3,rotateOffset:1.93,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},gg:{rootBoneName:"gg",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:3,rotateOffset:2.52,childOffset:.25,spring:0,affectByLevel:.1,springLevel:0}}},toufa59:{rootBoneName:"toufa59",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:5.5,rotateOffset:3.8,childOffset:.35,spring:1,affectByLevel:.69,springLevel:0}}},daimao:{rootBoneName:"daimao",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:7,rotateOffset:3.51,childOffset:.25,spring:0,affectByLevel:.59,springLevel:0}}},qunzi8:{rootBoneName:"qunzi8",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:5,rotateOffset:5.5,childOffset:1.85,spring:0,affectByLevel:.1,springLevel:0}}},qunzi10:{rootBoneName:"qunzi10",animation:{default:{name:"default",mode:3,moveXFreq:1,moveXAmp:2,moveXOctaves:0,moveXDelay:0,moveXCenter:0,moveXSeed:9004,rotateFreq:3,rotateAmp:1.5,rotateOctaves:0,rotateDelay:0}}},toufa12:{rootBoneName:"toufa12",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:2.5,rotateOffset:2.46,childOffset:.35,spring:-.2,affectByLevel:.8,springLevel:0}}},toufa20:{rootBoneName:"toufa20",animation:{default:{name:"default",mode:4,delay:.05,speed:.1,affectByLevel:.8,springLevel:0,limitRange:80,rotateOffset:0,spring:-.2}}},toufa5:{rootBoneName:"toufa5",animation:{default:{name:"default",mode:4,delay:.05,speed:.1,affectByLevel:.8,springLevel:0,limitRange:80,rotateOffset:0,spring:-.2}}},toufa39:{rootBoneName:"toufa39",animation:{default:{name:"default",mode:1,rotateCenter:0,rotateTime:3,rotateRange:2,rotateOffset:3.83,childOffset:.25,spring:0,affectByLevel:.42,springLevel:0}}}},jx={},Jx={timeScale:1},Zx={skeleton:Ux,bones:zx,slots:Gx,ik:Vx,transform:Hx,skins:Xx,events:Wx,animations:Yx,extra:qx,extraSlot:jx,extraConfig:Jx},Kx=[{src:Object.values(Object.assign({"/src/resources/images/effect/scene/bubble_particle.png":Rb}))[0],id:"bubble_particle",type:"image"},{src:Object.values(Object.assign({"/src/resources/images/effect/scene/mobile_bg.png":Ob}))[0],id:"mobile_bg",type:"image"},{src:Object.values(Object.assign({"/src/resources/images/effect/spine/appHanaCG2bubbleother.png":Lb}))[0],id:"appHanaCG2bubbleother",type:"image"},{src:Object.values(Object.assign({"/src/resources/images/effect/spine/HanaCG2BG.png":Pb}))[0],id:"HanaCG2BG",type:"image"},{src:Object.values(Object.assign({"/src/resources/images/effect/spine/HanaCG2bubblebb.png":Db}))[0],id:"HanaCG2bubblebb",type:"image"},{src:Object.values(Object.assign({"/src/resources/images/effect/spine/HanaCG2bubblehomo.png":Ib}))[0],id:"HanaCG2bubblehomo",type:"image"},{src:Object.values(Object.assign({"/src/resources/images/effect/spine/HanaCG2bubbleother.png":Fb}))[0],id:"HanaCG2bubbleother",type:"image"},{src:Object.values(Object.assign({"/src/resources/images/effect/spine/HanaCG2hana.png":Bb}))[0],id:"HanaCG2hana",type:"image"}],e3={appHanaCG2bubbleother:{atlas:Object.values(Object.assign({"../../resources/images/effect/spine/appHanaCG2bubbleother.atlas":U_}))[0],json:Object.values(Object.assign({"../../resources/images/effect/spine/appHanaCG2bubbleother.json":j_}))[0]},HanaCG2BG:{atlas:Object.values(Object.assign({"../../resources/images/effect/spine/HanaCG2BG.atlas":J_}))[0],json:Object.values(Object.assign({"../../resources/images/effect/spine/HanaCG2BG.json":ax}))[0]},HanaCG2bubblebb:{atlas:Object.values(Object.assign({"../../resources/images/effect/spine/HanaCG2bubblebb.atlas":ix}))[0],json:Object.values(Object.assign({"../../resources/images/effect/spine/HanaCG2bubblebb.json":px}))[0]},HanaCG2bubblehomo:{atlas:Object.values(Object.assign({"../../resources/images/effect/spine/HanaCG2bubblehomo.atlas":gx}))[0],json:Object.values(Object.assign({"../../resources/images/effect/spine/HanaCG2bubblehomo.json":kx}))[0]},HanaCG2bubbleother:{atlas:Object.values(Object.assign({"../../resources/images/effect/spine/HanaCG2bubbleother.atlas":Ax}))[0],json:Object.values(Object.assign({"../../resources/images/effect/spine/HanaCG2bubbleother.json":Bx}))[0]},HanaCG2hana:{atlas:Object.values(Object.assign({"../../resources/images/effect/spine/HanaCG2hana.atlas":Nx}))[0],json:Object.values(Object.assign({"../../resources/images/effect/spine/HanaCG2hana.json":Zx}))[0]}},xs={fps:{value:1},delta:{value:.016},time:{value:0},resolution:{value:new Qt.Vector2(1667,750)},mouse:{value:new Qt.Vector2(0,0)},offset:{value:new Qt.Vector2(0,0)},mouseDelta:{value:new Qt.Vector2(0,0)}},$x="#if USE_TEXTURE == 1\nvarying vec2 vUv;\n#endif\n#ifdef USE_INSTANCE\nattribute vec4 rotation;\nattribute vec3 offset;\nattribute vec3 scale;\n#endif\n#include <skinning_pars_vertex>\n#ifdef USE_MORPH\nattribute vec3 morphTarget0;\nattribute vec3 morphTarget1;\nattribute vec3 morphTarget2;\nattribute vec3 morphTarget3;\nuniform float morphTargetInfluences[ 4 ];\n#endif\nvoid main(){\n#if USE_TEXTURE == 1\nvUv = uv;\n#endif\n#ifdef USE_INSTANCE\nvec3 scaledPosition = position*scale;\nvec3 transformed = (scaledPosition + 2.0 * cross(rotation.xyz, cross(rotation.xyz, scaledPosition) + rotation.w * 
60scaledPosition))+offset;\n#else\n#include <beginnormal_vertex>\n#include <skinbase_vertex>\n#include <skinnormal_vertex>\n#include <defaultnormal_vertex>\n#include <begin_vertex>\n#ifdef USE_MORPH\ntransformed += morphTarget0 * morphTargetInfluences[ 0 ];\ntransformed += morphTarget1 * morphTargetInfluences[ 1 ];\ntransformed += morphTarget2 * morphTargetInfluences[ 2 ];\ntransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n#endif\n#include <skinning_vertex>\n#endif\n#include <project_vertex>\n}\n",Qx="#if USE_TEXTURE == 1\nuniform sampler2D diffuse;\nvarying vec2 vUv;\n#else\nuniform vec3 color;\n#endif\n#if BLEND_MODE != 0\nuniform vec3 blendColor;\nuniform float blendIntensity;\n#endif\nuniform float opacity;\nvoid main(){\n#if USE_TEXTURE == 1\ngl_FragColor = texture2D(diffuse,vUv);\n#else\ngl_FragColor = vec4(color,1.);\n#endif\n#if BLEND_MODE == 1\ngl_FragColor.rgb = mix(gl_FragColor.rgb, blendColor, blendIntensity);\n#elif BLEND_MODE == 2\ngl_FragColor.rgb += blendColor * blendIntensity;\n#elif BLEND_MODE == 3\ngl_FragColor.rgb -= blendColor * blendIntensity;\n#elif BLEND_MODE == 4\ngl_FragColor.rgb *= blendColor * blendIntensity;\n#elif BLEND_MODE == 5\ngl_FragColor.rgb = mix(gl_FragColor.rgb, blendColor - gl_FragColor.rgb, blendIntensity);\n#endif\n#if ALPHA_TEST != 0\nconst float alphaTest = min(1., float(ALPHA_TEST) / 100.);\nif(gl_FragColor.a < alphaTest){\ndiscard;\n}else{\n// 保留的透明颜色做柔化处理(避免出现硬边)\ngl_FragColor.a = min(gl_FragColor.a, (gl_FragColor.a-alphaTest)/(1.-alphaTest));\n}\n#endif\ngl_FragColor.a*=opacity;\n}\n",ew="attribute vec4 color;\nvarying vec2 vUv;\nvarying vec4 vColor;\nuniform float opacity;\nvoid main() {\nvUv = uv;\nvColor = color;\nvColor.a *= opacity;\ngl_Position = projectionMatrix*modelViewMatrix*vec4(position,1.0);\n}\n",tw="uniform sampler2D diffuse;\nvarying vec2 vUv;\nvarying vec4 vColor;\n#if BLEND_MODE != 0\nuniform vec3 blendColor;\nuniform float blendIntensity;\n#endif\nvoid main() {\ngl_FragColor = texture2D(diffuse, vUv);\n#if BLEND_MODE == 1\ngl_FragColor.rgb = mix(gl_FragColor.rgb, blendColor, blendIntensity);\n#elif BLEND_MODE == 2\ngl_FragColor.rgb += blendColor * blendIntensity;\n#elif BLEND_MODE == 3\ngl_FragColor.rgb -= blendColor * blendIntensity;\n#elif BLEND_MODE == 4\ngl_FragColor.rgb *= blendColor * blendIntensity;\n#elif BLEND_MODE == 5\ngl_FragColor.rgb = mix(gl_FragColor.rgb, blendColor - gl_FragColor.rgb, blendIntensity);\n#endif\n#if ALPHA_TEST != 0\nconst float alphaTest = min(1., float(ALPHA_TEST) / 100.);\nif(gl_FragColor.a < alphaTest){\ndiscard;\n}else{\n// 保留的透明颜色做柔化处理(避免出现硬边)\ngl_FragColor.a = min(gl_FragColor.a, (gl_FragColor.a-alphaTest)/(1.-alphaTest));\n}\n#endif\ngl_FragColor *= vColor;\n}\n",rw="varying vec2 vUv;\nvec4 fun1(vec3 param1){\nmat4 param4 = projectionMatrix * modelViewMatrix;\nvec4 param7 = vec4(param1, 1.);\nvec4 param8 = param4 * param7;\nreturn param8;\n}\nvoid main(){\nvec4 param9 = fun1(position);\nvUv = uv;\ngl_Position = param9;\n}\n",nw="varying vec2 vUv;\nuniform float border;\nuniform float radius;\nuniform vec3 borderColor;\nuniform sampler2D diffuse;\nuniform float count;\nuniform float total;\nuniform float opacity;\nfloat fun1(){\nvec2 param2 = (vUv + -0.5) * 2.03;\nfloat param6 = 0.01 * border;\nfloat param17 = radius + 0.01;\nfloat param3 = length(param2);\nfloat param15 = param3 - 0.01;\nfloat param16 = 0.01 + param3;\nfloat param7 = param3 + param6;\nfloat param9 = param7 - 0.01;\nfloat param10 = 0.01 + param7;\nfloat param18 = smoothstep(param15, param16, param17);\nfloat param12 = smoothstep(param9, param10, radius);\nfloat param13 = 1. - param12;\nfloat param19 = param13 * param18;\nreturn param19;\n}\nvoid main(){\nfloat param20 = fun1();\nfloat param26 = count - 1.;\nfloat param28 = 1. / total;\nvec3 param22 = param20 * borderColor;\nfloat param23 = 1. - param20;\nfloat param31 = param28 * vUv.x;\nfloat param29 = param26 * param28;\nfloat param32 = param29 + param31;\nvec2 param33 = vec2(param32, vUv.y);\nvec4 param34 = texture2D(diffuse, param33);\nvec3 param36 = param23 * param34.rgb;\nfloat param38 = param23 * param34.w;\nfloat param39 = param38 + param20;\nvec3 param37 = param22 + param36;\nfloat param41 = param39 * opacity;
60\nvec4 param42 = vec4(param37, param41);\ngl_FragColor = param42;\n}",aw="#if USE_MASK != 0\nvarying vec2 vUv;\n#endif\nvoid main() {\n#if USE_MASK != 0\nvUv = uv;\n#endif\ngl_Position = projectionMatrix*modelViewMatrix*vec4(position,1.0);\n}\n",iw="uniform sampler2D diffuse;\nuniform vec2 resolution;\nuniform float opacity;\n#if USE_SHADOW == 1\nuniform sampler2D blurMap;\nuniform vec2 shadowOffset;\nuniform vec3 shadowColor;\nuniform float shadowOpacity;\n#endif\n#if USE_STROKE != 0\nuniform vec3 strokeColor;\nuniform float strokeWidth;\n#endif\n#if USE_MASK != 0\nuniform sampler2D mask;\nuniform vec2 maskOffset;\nuniform float maskAngle;\nvarying vec2 vUv;\nvec2 rotate2D(vec2 pos, float ang){\nfloat param4 = cos(ang);\nfloat param5 = sin(ang);\nfloat param7 = param5 * -1.;\nmat2 param8 = mat2(param4, param7, param5, param4);\nvec2 param10 = param8 * pos;\nreturn param10;\n}\n#endif\nvoid main() {\nvec2 uv = gl_FragCoord.xy/resolution;\nvec4 color = texture2D(diffuse, uv);\n#if USE_STROKE == 1\nfloat outlineAlpha = 0.1;\nfloat angle = 0.0;\nfor( int i=0; i<6; i++ ){\nangle += 1.0466667;\nvec2 testPoint = strokeWidth*vec2( cos(angle), sin(angle) )/resolution + uv;\nfloat sampledAlpha = texture2D( diffuse, testPoint ).a;\noutlineAlpha = max( outlineAlpha, sampledAlpha );\n}\ncolor = mix(vec4(strokeColor, outlineAlpha), color, color.a);\n#endif\n#if USE_STROKE == 2\nfloat outlineAlpha = 1.0;\nfloat angle = 0.0;\nfor( int i=0; i<6; i++ ){\nangle += 1.0466667;\nvec2 testPoint = strokeWidth*vec2( cos(angle), sin(angle) )/resolution + uv;\nfloat sampledAlpha = texture2D( diffuse, testPoint ).a;\noutlineAlpha = max( outlineAlpha, sampledAlpha );\n}\ncolor = vec4(mix(strokeColor, color.rgb, outlineAlpha), color.a);\n#endif\n#if USE_SHADOW == 1\nfloat shadow = texture2D(blurMap, (gl_FragCoord.xy + shadowOffset)/resolution).a * shadowOpacity;\ncolor = vec4( mix( color.rgb, shadowColor, smoothstep(0.0,0.1,shadow) * (1.-color.a)), max(color.a,shadow));\n#endif\ngl_FragColor = color;\ngl_FragColor.a *= opacity;\nfloat maskAlpha = 1.;\n#if USE_MASK != 0\ngl_FragColor.a *= texture2D(mask, rotate2D(vUv,maskAngle)+maskOffset)[MASK_CHANNEL];\n#endif\n}\n",ow="\n#define PI 3.1415926535\n#define TWO_PI 6.283185307\nattribute float posFract;\nattribute float id;\nuniform vec3 startMin;\nuniform vec3 startMax;\nuniform vec3 endMin;\nuniform vec3 endMax;\nuniform vec2 speed;\nuniform vec2 size;\nuniform vec2 alpha;\nuniform float lifeCurve;\nuniform float time;\nuniform float imgNum;\nuniform float seed;\nfloat hash11(float val) {\nreturn fract(sin((val+seed)*12345.67)*753.5453123);\n}\nvec2 hash12(float val){\nvec3 rnd = fract(vec3(val + seed) * vec3(.1031, .1030, .0973));\nrnd += dot(rnd, rnd.yzx + 33.33);\nreturn fract((rnd.xx+rnd.yz)*rnd.zy);\n}\nvec3 hash13(float val){\nvec3 rnd = fract((val + seed) * vec3(5.3983, 5.4427, 6.9371));\nrnd += dot(rnd.zxy, rnd.xyz + vec3(21.5351, 14.3137, 15.3219));\nreturn fract(vec3(rnd.x * rnd.y * 95.4337, rnd.y * rnd.z * 97.597, rnd.z * rnd.x * 93.8365));\n}\n#if LOOP_COUNT > 0\nuniform float startTime;\n#endif\n#if USE_BEZIER == 1\nuniform vec3 ctrMin;\nuniform vec3 ctrMax;\nvec3 calcBezier(vec3 a, vec3 b, vec3 c, float t){\nfloat s = 1.-t;\nvec3 q = s*s*a + 2.*s*t*b + t*t*c;\nreturn q;\n}\n#endif\n#if USE_WIGGLE > 0\nuniform vec3 freqMin;\nuniform vec3 freqMax;\nuniform vec3 ampMin;\nuniform vec3 ampMax;\nuniform vec3 delayMin;\nuniform vec3 delayMax;\nvec3 calcWiggle(vec3 freq, vec3 amp, vec3 delay, float timeValue){\nvec3 value = vec3(0.);\nvec3 nowAmp = vec3(1.);\nfloat baseFreq = 1. / (2. - 1. / pow(2., float(USE_WIGGLE)));\nfloat nowFreq = baseFreq;
60\nvec3 ampCount = vec3(0.);\nfor (int i = 0; i < USE_WIGGLE; i++) {\nvalue += nowAmp * sin(timeValue * nowFreq * TWO_PI / freq + delay);\nnowFreq = baseFreq * pow(2., float(i + 1));\nampCount += nowAmp;\nnowAmp *= .5;\n}\nreturn value / ampCount * amp;\n}\n#endif\n#if USE_ROTATE != 0\nuniform vec3 rotMin;\nuniform vec3 rotMax;\nvec3 rotSpeed;\nvec3 calcRotate( vec3 shape, vec3 speed, float timeValue ){\nvec3 r = speed * timeValue;\nfloat a = sin(r.x); float b = cos(r.x); \nfloat c = sin(r.y); float d = cos(r.y);\nfloat e = sin(r.z); float f = cos(r.z);\nfloat ac = a*c;\nfloat bc = b*c;\nmat3 rota = mat3( d*f,d*e,-c,ac*f-b*e,ac*e+b*f,a*d,bc*f+a*e,bc*e-a*f,b*d);\nreturn rota*shape;\n}\n#endif\n#if FOLLOW_PATH == 1\nmat3 lookAtNormal(vec3 origin, vec3 target) {\nvec3 ww = normalize(target - origin); \nvec3 rr = vec3(0., sign(ww.x), 0.0);\nvec3 uu = normalize(cross(ww, rr));\nvec3 vv = normalize(cross(uu, ww));\nreturn -mat3(ww, vv, uu);\n}\n#elif FOLLOW_PATH == 2\nuniform float tailLen;\nvec3 lookAtLine(vec3 top, vec3 bottom, vec3 shape){\nvec3 A = cameraPosition - bottom;\nvec3 B = top - bottom;\nvec3 C = normalize(cross(A, B));\nvec3 start = bottom + normalize(B)*shape.y;\nvec3 newPosition = mix(top, bottom, uv.y);\nnewPosition += shape.x * C;\nreturn newPosition;\n}\n#endif\n#if USE_BLINK > 0\nuniform vec3 blink;\nfloat calcBlink(float x,float y,float z,float w){\nreturn smoothstep(x-z, x+z, w)*smoothstep(y+z, y-z, w);\n}\n#endif \n#if USE_GRAVITY == 1\nuniform vec3 gravityMin;\nuniform vec3 gravityMax;\nvec3 gravity;\n#endif\n#if USE_SCALE == 1\nuniform vec2 scale;\n#endif\nvarying vec2 vUv;\nvarying float vOpacity;\nvec3 startPnt;\n#if USE_BEZIER == 1\nvec3 controlPnt;\n#endif\nvec3 endPnt;\n#if USE_WIGGLE > 0\nvec3 wiggleFreq;\nvec3 wiggleAmp;\nvec3 wiggleDelay;\n#endif\nfloat newSize;\nfloat snowOpacity;\nvoid initValue(float cycleCount){\nstartPnt = mix(startMin,startMax,hash13(id+cycleCount));\nendPnt = mix(endMin,endMax,hash13(id+cycleCount+1.));\n#if DELTA_OFFSET == 1\nendPnt += startPnt;\n#endif\n#if USE_BEZIER == 1\ncontrolPnt = mix(ctrMin,ctrMax,hash13(id+cycleCount+2.));\n#if DELTA_OFFSET == 1\ncontrolPnt += startPnt;\n#endif\n#endif\n#if USE_WIGGLE > 0\nwiggleFreq = mix(freqMin,freqMax,hash13(id+cycleCount+3.));\nwiggleAmp = mix(ampMin,ampMax,hash13(id+cycleCount+4.));\nwiggleDelay = mix(delayMin,delayMax,hash13(id+cycleCount+5.));\n#endif \n#if USE_ROTATE != 0\nrotSpeed = mix(rotMin,rotMax,hash13(id+cycleCount+6.));\n#endif\n#if USE_GRAVITY == 1\ngravity = mix(gravityMin,gravityMax,hash13(id+cycleCount+7.));\n#endif\nsnowOpacity = mix(alpha.x,alpha.y,hash11(id+cycleCount+8.));\n}\nvec3 calcOffsetByTime(float timeValue,float delta){\nfloat life = pow(fract(timeValue)+delta, lifeCurve);\n#if USE_BEZIER == 0\nvec3 offset = startPnt;\n#elif USE_BEZIER == 1\nvec3 offset = calcBezier(startPnt, controlPnt, endPnt, life);\n#else\nvec3 offset = mix(startPnt, endPnt, life);\n#endif\n#if USE_GRAVITY == 1\noffset = mix(offset, endPnt+gravity,life);\n#endif\n#if USE_WIGGLE > 0\noffset += calcWiggle(wiggleFreq, wiggleAmp, wiggleDelay, timeValue+delta);\n#endif\nreturn offset;\n}\nvoid main() {\nfloat sizeRnd = hash11(id+6.);\nnewSize = mix(size.x,size.y,sizeRnd);\n#if FOLLOW_SIZE == 1\nfloat newSpeed = mix(speed.x,speed.y,sizeRnd);\n#else\nfloat newSpeed = mix(speed.x,speed.y,hash11(id+7.));\n#endif\n#if LOOP_COUNT > 0\nfloat wholeLife = ((time-startTime) * newSpeed + posFract)-1.;\nfloat life = wholeLife;\nif(life>=0.&&life<float(LOOP_COUNT)){\nlife = fract(life);\n}else{\nlife = clamp(life,0.,1.);\n}\nfloat cycleCount = floor(wholeLife);\n#else\nfloat wholeLife = (time * newSpeed + posFract);\nfloat life = fract(wholeLife);\n#if LOOP_COUNT == -1\nfloat cycleCount = 0.;\n#else\nfloat cycleCount = floor(wholeLife);\n#endif\n#endif\ninitValue(cycleCount);\n#if MULTI_IMGS == 1\nfloat imgRnd = hash11(id+cycleCount+9.);\nvUv = vec2((uv.x+floor(imgRnd*imgNum))/imgNum,uv.y);\n#else\nvUv = uv;\n#endif\nvOpacity = snowOpacity;\n#if USE_FADE > 0\nvOpacity *= smoothstep(0.,.2, sin(life*PI));\n#endif\n#if USE_BLINK > 0\nvec2 blinkRnd = hash12(id+cycleCount+10.);\nvOpacity *= mix(blink.x,blink.y,calcBlink(.1, .5, .2, sin(time*blink.z*(.5+.5*blinkRnd.x)+blinkRnd.y*TWO_PI)*.5+.5));\n#endif\nvec3 scalePos = position * newSize;\n#if USE_SCALE == 1\nscalePos *= mix(scale.x,scale.y,life);\n#endif\n#if USE_BLINK == 2\nscalePos *= vOpacity;\n#endif\nvec3 offset = calcOffsetByTime(wholeLife,0.);\n#if FOLLOW_PATH == 1 \nvec3 offsetNext = calcOffsetByTime(wholeLife,.01);\noffset += lookAtNormal(offsetNext, offset)*scalePos;\ngl_Position = projectionMatrix * modelViewMatrix * vec4(offset, 1.0); \n#elif FOLLOW_PATH == 2 \nvec3 offsetNext = calcOffsetByTime(wholeLife,.01*tailLen);\noffset = lookAtLine(offsetNext, offset, scalePos);\ngl_Position = projectionMatrix * viewMatrix * vec4(offset, 1.0);\n#else \n#if USE_ROTATE == 1\nscalePos = calcRotate(scalePos, rotSpeed, wholeLife);\n#elif USE_ROTATE == 2\nscalePos = calcRotate(scalePos, rotSpeed, 1.);\n#endif\n#if USE_SPRITE == 1\nvec4 mvPosition = modelViewMatrix * vec4(offset, 1.0);\nmvPosition.xyz += scalePos;\ngl_Position = projectionMatrix * mvPosition;\n#else\noffset += scalePos;\ngl_Position = projectionMatrix * modelViewMatrix * vec4(offset, 1.0);\n#endif\n#endif\n}\n",sw="\nuniform sampler2D diffuse;\nuniform float opacity;\nvarying vec2 vUv;\nvarying float vOpacity;\nvoid main() {\nvec4 color = texture2D(diffuse, vUv);\ncolor.a *= vOpacity * opacity;\ngl_FragColor = color;\n}\n",uw={BASIC:new Qt.ShaderMaterial({vertexShader:Object.values(Object.assign({"../../shaders/basic_vert.glsl":$x}))[0],fragmentShader:Object.values(Object.assign({"../../shaders/basic_frag.glsl":Qx}))[0],transparent:!0,depthTest:!0,depthWrite:!0,side:0,blending:1,lights:!1,wireframe:!1,extensions:{derivatives:!1},uniforms:{opacity:{value:1},color:{value:new Qt.Color(16712e3)},blendColor:{value:new Qt.Color(0)},blendIntensity:{value:0}},defines:{USE_TEXTURE:1,ALPHA_TEST:0,BLEND_MODE:0}}),SPINE:new Qt.ShaderMaterial({vertexShader:Object.values(Object.assign({"../../shaders/spine_vert.glsl":ew}))[0],fragmentShader:Object.values(Object.assign({"../../shaders/spine_frag.glsl":tw}))[0],transparent:!0,depthTest:!1,depthWrite:!1,side:2,blending:1,lights:!1,wireframe:!1,extensions:{derivatives:!1},uniforms:{opacity:{value:1},blendColor:{value:new Qt.Color(0)},blendIntensity:{value:0}},defines:{ALPHA_TEST:0,BLEND_MODE:0}}),SHEET:new Qt.ShaderMaterial({vertexShader:Object.values(Object.assign({"../../shaders/sheet_vert.glsl":rw}))[0],fragmentShader:Object.values(Object.assign({"../../shaders/sheet_frag.glsl":nw}))[0],transparent:!0,depthTest:!1,depthWrite:!1,side:0,blending:1,lights:!1,wireframe:!1,extensions:{derivatives:!1},uniforms:{opacity:{value:1},total:{value:3},count:{value:1},radius:{value:1},border:{value:11.7},borderColor:{value:new Qt.Vector3(0,0,0)}},defines:{}}),CACHE_DISPLAY:new Qt.ShaderMaterial({vertexShader:Object.values(Object.assign({"../../shaders/cache_display_vert.glsl":aw}))[0],fragmentShader:Object.values(Object.assign({"../../shaders/cache_display_frag.glsl":iw}))[0],transparent:!0,depthTest:!1,depthWrite:!1,side:0,blending:1,lights:!1,wireframe:!1,extensions:{derivatives:!1},uniforms:{opacity:{value:1},shadowColor:{value:new Qt.Color(0)},shadowOpacity:{value:1},blur:{value:new Qt.Vector2(0,0)},strokeColor:{value:new Qt.Color(0)},strokeWidth:{value:1},shadowBlur:{value:new Qt.Vector2(2,2)},shadowOffset:{value:new Qt.Vector2(0,0)},maskAngle:{value:0},maskOffset:{value:new Qt.Vector2(0,0)}},defines:{USE_BLUR:0,USE_SHADOW:0,USE_STROKE:0,USE_SPRITE:0,USE_MASK:0,MASK_CHANNEL:0}}),BEZIER_PARTICLE:new Qt.ShaderMaterial({vertexShader:Object.values(Object.assign({"../../shaders/bezier_particle_vert.glsl":ow}))[0],fragmentShader:Object.values(Object.assign({"../../shaders/bezier_particle_frag.glsl":sw}
60))[0],transparent:!0,depthTest:!0,depthWrite:!1,side:2,blending:1,lights:!1,wireframe:!1,extensions:{derivatives:!1},uniforms:{opacity:{value:1},lifeCurve:{value:1},size:{value:new Qt.Vector2(20,30)},speed:{value:new Qt.Vector2(.5,1)},alpha:{value:new Qt.Vector2(.5,1)},startMin:{value:new Qt.Vector3(-500,-500,-500)},startMax:{value:new Qt.Vector3(500,500,500)},ctrMin:{value:new Qt.Vector3(0,0,0)},ctrMax:{value:new Qt.Vector3(0,0,0)},endMin:{value:new Qt.Vector3(0,0,0)},endMax:{value:new Qt.Vector3(0,0,0)},freqMin:{value:new Qt.Vector3(1,1,1)},freqMax:{value:new Qt.Vector3(1,1,1)},ampMin:{value:new Qt.Vector3(0,0,0)},ampMax:{value:new Qt.Vector3(0,0,0)},delayMin:{value:new Qt.Vector3(0,0,0)},delayMax:{value:new Qt.Vector3(6.28,6.28,6.28)},tailLen:{value:1},scale:{value:new Qt.Vector2(1,1)},rotMin:{value:new Qt.Vector3(0,0,0)},rotMax:{value:new Qt.Vector3(0,0,0)},rotRnd:{value:new Qt.Vector2(0,0)},gravityMin:{value:new Qt.Vector3(0,-200,0)},gravityMax:{value:new Qt.Vector3(0,-500,0)},blink:{value:new Qt.Vector3(.2,.8,5)},imgNum:{value:1},seed:{value:0}},defines:{DELTA_OFFSET:0,USE_BEZIER:2,USE_WIGGLE:0,FOLLOW_PATH:0,FOLLOW_SIZE:0,USE_ROTATE:0,USE_FADE:0,USE_BLINK:0,USE_GRAVITY:0,USE_SCALE:0,USE_SPRITE:0,MULTI_IMGS:0,LOOP_COUNT:0}})};function lw(b,u,o){var h=o.count,v=h===void 0?100:h,k=o.isEquality,O=k===void 0?!1:k,z=o.shape,C=z===void 0?"":z,B=C!==""?this.getGeometry(C):new Qt.PlaneBufferGeometry(1,1),H=new Qt.InstancedBufferGeometry().copy(B);b.userData.pluginData;for(var g=new Float32Array(v),A=new Float32Array(v),S=0;S<v;S++)g[S]=O?S/v:Math.random(),A[S]=Math.random();return H.setAttribute("posFract",new Qt.InstancedBufferAttribute(g,1,!1)),H.setAttribute("id",new Qt.InstancedBufferAttribute(A,1,!1)),u.defines.LOOP_COUNT>0&&(u.uniforms.startTime={value:Math.random()}),new Qt.Mesh(H,u)}function cw(b,u,o){var h=this,v=o.emitItemID,k=v===void 0?"":v,O=o.followTarget,z=O===void 0?"":O,C=o.emitCount,B=C===void 0?1:C,H=o.emitGap,g=H===void 0?[40,100]:H,A=o.life,S=A===void 0?[1,3]:A,V=o.lifeProp,L=V===void 0?"percent":V,F=o.lifeValue,T=F===void 0?[0,1]:F,M=o.posMin,w=M===void 0?[0,0,0]:M,_=o.posMax,E=_===void 0?[0,0,0]:_,U=o.rotMin,$=U===void 0?[0,0,0]:U,te=o.rotMax,se=te===void 0?[0,0,0]:te,Se=o.sclMin,be=Se===void 0?[1,1,1]:Se,me=o.sclMax,ke=me===void 0?[1,1,1]:me,he=new Qt.Object3D,X,re=b.userData.pluginData||{};if(k=re.emitItemID,z=re.followTarget,B=re.emitCount,g=re.emitGap,S=re.life,L=re.lifeProp,T=re.lifeValue,w=re.posMin,E=re.posMax,$=re.rotMin,se=re.rotMax,be=re.sclMin,ke=re.sclMax,k){var ae=g[0],ue=g[1]-ae,ge=E.map(function(pt,mt){return pt-w[mt]}),Ce=new Qt.Vector3().fromArray(ke),fe=se.map(function(pt,mt){return pt-$[mt]}),Le=S[0],qe=S[1]-S[0],de=Math.random()*ue+ae,Be=Math.random()*de,Ue=[],Ke=null,yt=!0;he.start=function(){yt=!0},he.stop=function(){yt=!1},he.emit=function(pt){he.inited=!0,X=he.scene.getObjectByName("container");var mt=pt||{},Mt=mt.position;Mt===void 0&&new Qt.Vector3;var Dt=mt.quaternion;Dt===void 0&&new Qt.Quaternion;var gt,ft;if(Ue.length>0)gt=Ue.shift(),X.add(gt);else{if(gt=h.initObjectByID(k,X),!gt)return;gt.name=""}ft=gt.material,gt.position.fromArray(w.map(function(xr,wr){return xr+Math.random()*ge[wr]})),gt.scale.fromArray(be).lerp(Ce,Math.random()),he.updateMatrix(),gt.position.add(he.position);var Wt=new Qt.Quaternion().setFromEuler(new Qt.Euler().fromArray($.map(function(xr,wr){return xr+Math.random()*fe[wr]})));gt.quaternion.copy(he.quaternion).multiply(Wt),gt.updateMatrix(),gt.visible=!0;var or=Math.random()*qe+Le;ft&&ft.uniforms[L]?(ft.uniforms.seed&&(ft.uniforms.seed.value=Math.random()*10),gt.emitTween=X1.fromTo(ft.uniforms[L],{value:T[0]},{duration:or,ease:"linear",value:T[1],onComplete:function(){X&&X.remove(gt),Ue.push(gt)}})):gt.emitTween=X1.delayedCall(or,function(){X&&X.remove(gt),Ue.push(gt)})},he.onTick=function(){if(yt&&!(he.scene&&!he.scene.autoUpdate)&&X&&(!Ke&&z!==""&&(Ke=he.scene.getObjectByProperty("uuid",z)),Be+=h.uniformSetting.fps.value,Be>de)){Be=0,de=Math.random()*ue+ae;for(var pt=0;pt<B;pt++)he.emit(Ke)}}}return he.clear=function(){if(X)for(;X.children.length;){var pt=he.children[0];X&&X.remove(pt),pool.push(pt),pt.emitTween.kill()}},he}function hw(b,u,o){var h=this,v=o.emitItemID,k=v===void 0?"":v,O=o.followTarget,z=O===void 0?"":O,C=o.emitCount,B=C===void 0?1:C,H=o.emitGap,g=H===void 0?[40,100]:H,A=o.life,S=A===void 0?[1,3]:A,V=o.lifeProp,L=V===void 0?"percent":V,F=o.lifeValue,T=F===void 0?[0,1]:F,M=o.posMin,w=M===void 0?[0,0,0]:M,_=o.posMax,E=_===void 0?[0,0,0]:_,U=o.rotMin,$=U===void 0?[0,0,0]:U,te=o.rotMax,se=te===void 0?[0,0,0]:te,Se=o.sclMin,be=Se===void 0?[1,1,1]:Se,me=o.sclMax,ke=me===void 0?[1,1,1]:me,he=new Qt.Object3D,X,re=b.userData.pluginData||{};if(k=re.emitItemID,z=re.followTarget,B=re.emitCount,g=re.emitGap,S=re.life,L=re.lifeProp,T=re.lifeValue,w=re.posMin,E=re.posMax,$=re.rotMin,se=re.rotMax,be=re.sclMin,ke=re.sclMax,k){var ae=g[0],ue=g[1]-ae,ge=E.map(function(pt,mt){return pt-w[mt]}),Ce=new Qt.Vector3().fromArray(ke),fe=se.map(function(pt,mt){return pt-$[mt]}),Le=S[0],qe=S[1]-S[0],de=Math.random()*ue+ae,Be=Math.random()*de,Ue=[],Ke=null,yt=!0;he.start=function(){yt=!0},he.stop=function(){yt=!1},he.emit=function(pt){he.inited=!0,X=he.scene.getObjectByName("container");var mt=pt||{},Mt=mt.position;Mt===void 0&&new Qt.Vector3;var Dt=mt.quaternion;Dt===void 0&&new Qt.Quaternion;var gt,ft;if(Ue.length>0)gt=Ue.shift(),X.add(gt);else{if(gt=h.initObjectByID(k,X),!gt)return;gt.name=""}ft=gt.material,gt.position.fromArray(w.map(function(xr,wr){return xr+Math.random()*ge[wr]})),gt.scale.fromArray(be).lerp(Ce,Math.random()),he.updateMatrix(),gt.position.add(he.position);var Wt=new Qt.Quaternion().setFromEuler(new Qt.Euler().fromArray($.map(function(xr,wr){return xr+Math.random()*fe[wr]})));gt.quaternion.copy(he.quaternion).multiply(Wt),gt.updateMatrix(),gt.visible=!0;var or=Math.random()*qe+Le;ft&&ft.uniforms[L]?(ft.uniforms.seed&&(ft.uniforms.seed.value=Math.random()*10),gt.emitTween=X1.fromTo(ft.uniforms[L],{value:T[0]},{duration:or,ease:"linear",value:T[1],onComplete:function(){X&&X.remove(gt),Ue.push(gt)}})):gt.emitTween=X1.delayedCall(or,function(){X&&X.remove(gt),Ue.push(gt)})},he.onTick=function(){if(yt&&!(he.scene&&!he.scene.autoUpdate)&&X&&(!Ke&&z!==""&&(Ke=he.scene.getObjectByProperty("uuid",z)),Be+=h.uniformSetting.fps.value,Be>de)){Be=0,de=Math.random()*ue+ae;for(var pt=0;pt<B;pt++)he.emit(Ke)}}}return he.clear=function(){if(X)for(;X.children.length;){var pt=he.children[0];X&&X.remove(pt),pool.push(pt),pt.emitTween.kill()}},he}function fw(b,u){var o=new Qt.BoxGeometry(400,100,400),h=new Qt.Mesh(o,u);return h}function dw(b,u,o){var h=o.moveable,v=h===void 0?!1:h,k=this,O=this.createGeometry(b.geometry),z=new Qt.Mesh(O,u);{var C=this.getBuffer("cacheContainer",{resizable:!1,stencilBuffer:!0}),B=new Qt.Scene;u.uniforms.diffuse={value:C.texture},u.uniforms.resolution={value:new Qt.Vector2};var H=u.uniforms.resolution.value,g=u.uniforms.blur.value||new Qt.Vector2,A=u.uniforms.shadowBlur.value||new Qt.Vector2,S;u.defines.USE_SHADOW===1&&(S=this.getBuffer("cacheContainerShadowBlur",{resizable:!1,depthBuffer:!1}),u.uniforms.blurMap={value:S.texture});var V=!1;z.onTick=function(){if(!V&&this.scene.autoUpdate){for(;this.children.length;)B.add(this.children[0]);V=!0}this.onTick=null},z.onBeforeRender=function(w,_,E){var U=w.getRenderTarget();U?H.set(U.width,U.height):w.getSize(H),(C.width!==H.x||C.height!==H.y)&&C.setSize(H.x,H.y),S&&(S.width!==H.x*.8||S.height!==H.y*.8)&&S.setSize(H.x*.8,H.y*.8),v?this.parent.matrixWorld.decompose(B.position,B.quaternion,B.scale):this.matrixWorld.decompose(B.position,B.quaternion,B.scale),w.setRenderTarget(C),w.clear(),w.render(B,E);var $=this.scene.sceneConfig||{},te=$.uiWidth,se=te===void 0?2500:te,Se=$.uiHeight,be=Se===void 0?1080:Se;if(S&&k.drawBlur(C,S,{target:this,camera:this.scene.camera,x:A.x*H.x/se,y:A.y*H.y/be}),u.defines.USE_BLUR===1){var me=g.x*H.x/se,ke=g.y*H.y/be;(me>.01||ke>.01)&&k.drawBlur(C,C,{x:me,y:ke,target:this,camera:this.scene.camera})}w.setRenderTarget(U)};var L=z.add;z.add=function(w){return V?(B.add(w),this):L.apply(this,[w])};var F=z.attach;z.attach=function(w){return V?(B.add(w),this):F.apply(this,[w])};var T=z.getObjectByProperty;z.getObjectByProperty=function(w,_){return V?this[w]===_?this:B.getObjectByProperty(w,_):T.apply(this,[w,_])};var M=z.remove;z.remove=function(w){return V?(B.remove(w),this):M.apply(this,[w])}}return z}var vw={BEZIER_PARTICLE:lw,EMITTER:cw,EMITTER_M:hw,box:fw,cacheDisplay:dw},mw={};function pw(b,u,o){var h=o.id,v=h===void 0?"":h,k=o.bufferId,O=k===void 0?"":k,z=o.autoSetBuffer,C=z===void 0?!1:z,B=u.renderer,H=v,g=null;O!==""&&(g=u.getBuffer(O),C&&(this.material.uniforms.diffuse.value=g.texture)),this.setBufferId=function(A){H=A},this.onTick=function(){if(H!==""){var A=B.getRenderTarget();if(O==="")u.renderScene(H);else{var S=u.getScene(H);B.setRenderTarget(g),B.clear(),B.render(S,S.camera)}B.setRenderTarget(A)}}}function gw(b,u,o){var h=this,v=o.moveSpeed,k=v===void 0?[1,1,1]:v,O=o.moveAmp,z=O===void 0?[10,10,0]:O,C=o.moveDelay,B=C===void 0?[0,0,0]:C,H=o.moveOctaves,g=H===void 0?1:H,A=o.rotSpeed,S=A===void 0?[1,1,1]:A,V=o.rotAmp,L=V===void 0?[0,0,0]:V,F=o.rotDelay,T=F===void 0?[0,0,0]:F,M=o.rotOctaves,w=M===void 0?1:M,_=o.scaleSpeed,E=_===void 0?[1,1,1]:_,U=o.scaleAmp,$=U===void 0?[.1,.1,0]:U,te=o.scaleDelay,se=te===void 0?[0,0,0]:te,Se=o.scaleOctaves,be=Se===void 0?1:Se,me=o.opacitySpeed,ke=me===void 0?1:me,he=o.opacityAmp,X=he===void 0?0:he,re=o.opacityCenter,ae=re===void 0?0:re,ue=o.opacityDelay,ge=ue===void 0?0:ue,Ce=o.opacityOctaves,fe=Ce===void 0?1:Ce,Le=new Qt.Vector3;this.wiggleMoveSpeed=new Qt.Vector3().fromArray(k),this.wiggleMoveAmp=new Qt.Vector3().fromArray(z),this.wiggleMoveDelay=new Qt.Vector3().fromArray(B);var qe=new Qt.Vector3;this.wiggleRotSpeed=new Qt.Vector3().fromArray(S),this.wiggleRotAmp=new Qt.Vector3().fromArray(L),this.wiggleRotDelay=new Qt.Vector3().fromArray(T);var de=new Qt.Vector3;this.wiggleScaleSpeed=new Qt.Vector3().fromArray(E),this.wiggleScaleAmp=new Qt.Vector3().fromArray($),this.wiggleScaleDelay=new Qt.Vector3().fromArray(se);var Be=0;this.wiggleOpacitySpeed=ke,this.wiggleOpacityAmp=X,this.wiggleOpacityCenter=ae,this.wiggleOpacityDelay=ge,this.matrixAutoUpdate=!0;function Ue(Ke,yt,pt){for(var mt=0,Mt=pt+1,Dt=1/(2-1/Math.pow(2,Mt-1)),gt=Dt,ft=0;ft<pt;ft++)mt+=Math.sin((Ke+yt)*gt),gt*=2.56;return mt}this.addEventListener("tick",function(){h.scene.autoUpdate&&(h.wiggleMoveAmp.x!==0&&(Le.x+=xs.delta.value*h.wiggleMoveSpeed.x,h.position.x=h.userData.initPos.x+h.wiggleMoveAmp.x*Ue(Le.x,h.wiggleMoveDelay.x,g)),h.wiggleMoveAmp.y!==0&&(Le.y+=xs.delta.value*h.wiggleMoveSpeed.y,h.position.y=h.userData.initPos.y+h.wiggleMoveAmp.y*Ue(Le.y,h.wiggleMoveDelay.y,g)),h.wiggleMoveAmp.z!==0&&(Le.z+=xs.delta.value*h.wiggleMoveSpeed.z,h.position.z=h.userData.initPos.z+h.wiggleMoveAmp.z*Ue(Le.z,h.wiggleMoveDelay.z,g)),h.wiggleRotAmp.x!==0&&(qe.x+=xs.delta.value*h.wiggleRotSpeed.x,h.rotation.x=h.userData.initRot.x+h.wiggleRotAmp.x*Ue(qe.x,h.wiggleRotDelay.x,w)),h.wiggleRotAmp.x!==0&&(qe.y+=xs.delta.value*h.wiggleRotSpeed.y,h.rotation.y=h.userData.initRot.y+h.wiggleRotAmp.y*Ue(qe.y,h.wiggleRotDelay.y,w)),h.wiggleRotAmp.z!==0&&(qe.z+=xs.delta.value*h.wiggleRotSpeed.z,h.rotation.z=h.userData.initRot.z+h.wiggleRotAmp.z*Ue(qe.z,h.wiggleRotDelay.z,w)),h.wiggleScaleAmp.x!==0&&(de.x+=xs.delta.value*h.wiggleScaleSpeed.x,h.scale.x=h.userData.initScl.x+h.wiggleScaleAmp.x*Ue(de.x,h.wiggleScaleDelay.x,be)),h.wiggleScaleAmp.y!==0&&(
60de.y+=xs.delta.value*h.wiggleScaleSpeed.y,h.scale.y=h.userData.initScl.y+h.wiggleScaleAmp.y*Ue(de.y,h.wiggleScaleDelay.y,be)),h.wiggleRotAmp.z!==0&&(de.z+=xs.delta.value*h.wiggleScaleSpeed.z,h.scale.z=h.userData.initScl.z+h.wiggleScaleAmp.z*Ue(de.z,h.wiggleScaleDelay.z,be)),h.wiggleOpacityAmp&&h.material.uniforms.opacity&&(Be+=xs.delta.value*h.wiggleOpacitySpeed,h.material.uniforms.opacity.value=h.wiggleOpacityCenter+h.wiggleOpacityAmp*Ue(Be,h.wiggleOpacityDelay,fe)))})}var yw={drawScene:pw,wiggle_roty_posxz:gw},bw={},_w={};function xw(b){b.proxyCallBack={entryInit:null,exitInit:null,eventGuard:null,eventAction:null,entryTransition:null,invokeTransition:null,exitTransition:null,rejectTransition:null,resolveTransition:null};var u=O_({id:"ProxyMachine",initial:"Init",context:{isReady:!0,entryInit:function(){var h;return b.proxyCallBack.entryInit?(h=b.proxyCallBack).entryInit.apply(h,arguments):!0},exitInit:function(){var h;return b.proxyCallBack.exitInit?(h=b.proxyCallBack).exitInit.apply(h,arguments):!0},eventGuard:function(){var h;return b.proxyCallBack.eventGuard?(h=b.proxyCallBack).eventGuard.apply(h,arguments):!0},eventAction:function(){var h;return b.proxyCallBack.eventAction?(h=b.proxyCallBack).eventAction.apply(h,arguments):!0},entryTransition:function(){var h;return b.proxyCallBack.entryTransition?(h=b.proxyCallBack).entryTransition.apply(h,arguments):!0},invokeTransition:function(){var h;return b.proxyCallBack.invokeTransition?(h=b.proxyCallBack).invokeTransition.apply(h,arguments):!0},exitTransition:function(){var h;return b.proxyCallBack.exitTransition?(h=b.proxyCallBack).exitTransition.apply(h,arguments):!0},rejectTransition:function(){var h;return b.proxyCallBack.rejectTransition?(h=b.proxyCallBack).rejectTransition.apply(h,arguments):!0},resolveTransition:function(){var h;return b.proxyCallBack.resolveTransition?(h=b.proxyCallBack).resolveTransition.apply(h,arguments):!0}},states:{Init:{entry:function(){for(var h,v=arguments.length,k=new Array(v),O=0;O<v;O++)k[O]=arguments[O];return(h=k[0]).entryInit.apply(h,k)},exit:function(){for(var h,v=arguments.length,k=new Array(v),O=0;O<v;O++)k[O]=arguments[O];return(h=k[0]).exitInit.apply(h,k)},on:{asyncSend:{target:"#ProxyMachine.Transition",actions:function(){for(var h,v=arguments.length,k=new Array(v),O=0;O<v;O++)k[O]=arguments[O];return(h=k[0]).eventAction.apply(h,k)},cond:function(){for(var h,v=arguments.length,k=new Array(v),O=0;O<v;O++)k[O]=arguments[O];return(h=k[0]).eventGuard.apply(h,k)!==!1}}}},Transition:{entry:function(){for(var h,v=arguments.length,k=new Array(v),O=0;O<v;O++)k[O]=arguments[O];return(h=k[0]).entryTransition.apply(h,k)},invoke:{src:function(){var h=j0(ti.mark(function k(){var O,z,C,B,H=arguments;return ti.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:for(z=H.length,C=new Array(z),B=0;B<z;B++)C[B]=H[B];return g.next=3,(O=C[0]).invokeTransition.apply(O,C);case 3:return g.abrupt("return",g.sent);case 4:case"end":return g.stop()}},k)}));function v(){return h.apply(this,arguments)}return v}(),onDone:{target:"#ProxyMachine.Init",actions:function(){for(var h,v=arguments.length,k=new Array(v),O=0;O<v;O++)k[O]=arguments[O];return(h=k[0]).resolveTransition.apply(h,k)}},onError:{target:"#ProxyMachine.Init",actions:function(){for(var h,v=arguments.length,k=new Array(v),O=0;O<v;O++)k[O]=arguments[O];return(h=k[0]).rejectTransition.apply(h,k)}}},exit:function(){for(var h,v=arguments.length,k=new Array(v),O=0;O<v;O++)k[O]=arguments[O];return(h=k[0]).exitTransition.apply(h,k)}}},predictableActionArguments:!0}),o=new cl(u);return b.proxyInterpreter=o,Object.defineProperty(b,"ready",{get:function(){return b.proxyInterpreter.state.context.isReady&&b.proxyInterpreter.state.value==="Init"}}),o.proxyStateNode=b,o.start(),o}cl.prototype.start=new Proxy(cl.prototype.start,{apply:function(b,u,o){var h=Reflect.apply(b,u,o);if(u.machine.id!=="ProxyMachine"){if(u.asyncSend)return Object.values(u.machine.idMap).forEach(function(v){v.proxyInterpreter&&v.proxyInterpreter.start()}),h;u.asyncSend=new Proxy(u.send,{apply:function(){var v=j0(ti.mark(function O(z,C,B){var H,g,A,S,V,L,F,T,M,w;return ti.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,Promise.resolve();case 2:if(H=C.state,g=C.machine,A=H.nextEvents,S=B[0],A.includes(S.type)){_.next=7;break}return _.abrupt("return",Promise.reject(new Error("state[".concat(H.value,"]: 不支持 ").concat(S.type," 事件"))));case 7:if(V=g.getStateNodes(H).filter(function(E){return E.on[S.type]?(E.proxyInterpreter||(E.proxyInterpreter=xw(E)),!0):!1}).sort(function(E,U){return U.path.length-E.path.length}),!V.some(function(E){return!E.ready})){_.next=10;break}return _.abrupt("return",Promise.reject(new Error("state[".concat(H.value,"]: 尚未准备好"))));case 10:L=[],F=[],T=j6(V),_.prev=13,w=ti.mark(function E(){var U,$,te,se,Se,be,me;return ti.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:U=M.value,$=0,te=F;case 2:if(!($<te.length)){ke.next=9;break}if(se=te[$],!se.id.includes(U.id)){ke.next=6;break}return ke.abrupt("return",1);case 6:$++,ke.next=2;break;case 9:Se=[],U.on[S.type].forEach(function(he){var X=he.cond?Reflect.apply(he.cond.predicate,C,[H.context,S]):!0;if(he.cond&&(he.cond.predicate=new Proxy(he.cond.predicate,{apply:function(ae,ue,ge){return he.cond.predicate=ae,X}})),X){F.push(U),he.realTarget?he.target=he.realTarget:he.realTarget=he.target;var re=he.actions.filter(function(ae){return ae.exec}).map(function(ae){return{action:ae,event:he}});re.length===0&&re.push({action:{exec:function(){},type:"actions"},event:he}
60),Se.push.apply(Se,Ug(re))}}),Se.length&&(U.proxyInterpreter.state.context.isReady=!1,be=new Promise(function(he){U.proxyCallBack.entryInit=function(){U.proxyCallBack.entryInit=null,U.proxyInterpreter.state.context.isReady=!0,he()}}),me=new Promise(function(he,X){U.proxyCallBack.invokeTransition=function(){U.proxyCallBack.invokeTransition=null;var re=Promise.all(Se.map(function(ae){var ue=ae.action,ge=ae.event,Ce=Reflect.apply(ue.exec,C,[H.context,S]);return Promise.resolve(Ce).then(function(fe){ge.target=ge.realTarget},function(fe){ge.target=[]}),ue.exec=new Proxy(ue.exec,{apply:function(fe,Le,qe){return ue.exec=fe,Ce}}),Ce}));return re.then(function(ae){return he(ae.length===1?ae[0]:ae)},X),re}}),L.push(me.then(function(){var he=j0(ti.mark(function X(re){return ti.wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.next=2,be;case 2:return ae.abrupt("return",Promise.resolve(re));case 3:case"end":return ae.stop()}},X)}));return function(X){return he.apply(this,arguments)}}(),function(){var he=j0(ti.mark(function X(re){return ti.wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.next=2,be;case 2:return ae.abrupt("return",Promise.reject(re));case 3:case"end":return ae.stop()}},X)}));return function(X){return he.apply(this,arguments)}}())),U.proxyInterpreter.send(d3(d3({},S),{},{type:"asyncSend"})));case 12:case"end":return ke.stop()}},E)}),T.s();case 16:if((M=T.n()).done){_.next=22;break}return _.delegateYield(w(),"t0",18);case 18:if(!_.t0){_.next=20;break}return _.abrupt("continue",20);case 20:_.next=16;break;case 22:_.next=27;break;case 24:_.prev=24,_.t1=_.catch(13),T.e(_.t1);case 27:return _.prev=27,T.f(),_.finish(27);case 30:return _.next=32,Promise.all(L).then(function(E){return E.length===1?E[0]:E.length?E:Promise.reject(new Error("state[".concat(H.value,"]: 不支持 ").concat(S.type," 事件")))}).finally(function(){Reflect.apply(z,C,B)});case 32:return _.abrupt("return",_.sent);case 33:case"end":return _.stop()}},O,null,[[13,24,27,30]])}));function k(O,z,C){return v.apply(this,arguments)}return k}()})}return h}});cl.prototype.stop=new Proxy(cl.prototype.stop,{apply:function(b,u,o){u.machine.id!=="ProxyMachine"&&Object.values(u.machine.idMap).forEach(function(v){v.proxyInterpreter&&v.proxyInterpreter.stop()});var h=Reflect.apply(b,u,o);return h}});var ww={};function Sw(){var b,u,o;return{onMainInit:function(){b=this.getObjectByName("emitter"),this.update=function(){o&&(b.position.x=u.worldX,b.position.y=u.worldY,b.updateMatrix())}},onCharacterInit:function(){u=this.skeleton.findBone("gunshot"),this.state.addListener({event:function(h,v){v.data.name==="shot_start"?(o=!0,b.inited||b.emit(),b.start()):v.data.name==="shot_end"&&b.stop()}})}}}function Mw(){var b,u,o;return{onMobileInit:function(){b=this.getObjectByName("emitter_m"),this.update=function(){o&&(b.position.x=u.worldX-160,b.position.y=u.worldY+20,b.updateMatrix())}},onCharacterMobileInit:function(){u=this.skeleton.findBone("gunshot"),this.state.addListener({event:function(h,v){v.data.name==="shot_start"?(o=!0,b.inited||b.emit(),b.start()):v.data.name==="shot_end"&&b.stop()}})}}}function Tw(b){return d3(d3({},Sw()),Mw())}function Ew(b){if(e3[b])return!0;var u=b.replace(/_\d+$/,"");return!!(e3[u]&&e3[u].atlas.indexOf("".concat(b,"."))>=0)}function kw(){var b=new Blob(["\n    onmessage = function(e) {\n      try {\n        const { blob, imageOrientation } = e.data;\n        createImageBitmap(blob,{\n          premultiplyAlpha: 'none',\n          imageOrientation: imageOrientation,\n        }).then((imageBitmap) => {\n          postMessage(imageBitmap);\n        },() => {\n          postMessage('error');\n        });\n      } catch (e) {\n        postMessage('error');\n      }\n    };\n  "],{type:"application/javascript"});return URL.createObjectURL(b)}var Aw=kw();function Cw(b){return b.resourceCompile=new Proxy(b.resourceCompile,{apply:function(u,o,h){var v=m5(h,2),k=v[0],O=v[1],z=O.type,C=O.id;return z!=="image"||k.type===404||!k||!(k.response instanceof Blob)||!(window.createImageBitmap&&window.Worker)?Reflect.apply(u,o,h):new Promise(function(B,H){try{var g=new Image;
60g.onload=function(){if(g.naturalHeight*g.naturalWidth>Math.pow(Qh.mobile()?768:1024,2))try{if(Qh.ios()||Qh.safari())g.decode&&g.decode(),B(g);else{var A=new Worker(Aw);A.onmessage=function(S){A.terminate(),S.data==="error"?B(g):B(S.data)},A.postMessage({blob:k.response,imageOrientation:Ew(C)?"none":"flipY"})}}catch(S){B(g)}else B(g)},g.src=window.URL.createObjectURL(k.response)}catch(A){o.loadErrorCallBack(new Error("source ".concat(C," ").concat(A.message))),H(A)}})}}),new Promise(function(u){u()})}var Rw=function(b,u){var o=b.__vccOpts||b,h=j6(u),v;try{for(h.s();!(v=h.n()).done;){var k=m5(v.value,2),O=k[0],z=k[1];o[O]=z}}catch(C){h.e(C)}finally{h.f()}return o},o2={width:1920,height:1080,type:"height",scale:1},ju=Jc.THREEPlayer.getSourceLoader(),Ow=Cw(ju),ef=!1,Hc=!0,Lw={props:{width:{type:Number,default:100},height:{type:Number,default:100},mobileMode:{type:Boolean,default:!1},disable:{type:Boolean,default:!1}},data:function(){return{loadingProgress:0}},computed:{},watch:{width:function(){Hc=!0},height:function(){Hc=!0}},created:function(){this.player=null,this.renderer=null},mounted:function(){o2.width=this.mobileMode?750:1920,o2.height=this.mobileMode?1159:1080,o2.type=this.mobileMode?"width":"height",o2.scale=this.mobileMode?.8:1.5,this.init3D()},methods:{init3D:function(){var b=this;return j0(ti.mark(function u(){return ti.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,b.renderer=new Qt.WebGL1Renderer({canvas:b.$refs.webglCanvas,premultipliedAlpha:!1}),b.renderer.setClearColor(16777215,0),o.next=5,b.prepareLoadingManifest();case 5:return b.$emit("buildLoadingComplete"),o.next=8,b.prepareAssetsManifest();case 8:b.$emit("buildMainComplete"),b.enterMainScene(),o.next=15;break;case 12:o.prev=12,o.t0=o.catch(0),b.$emit("webglError",o.t0);case 15:case"end":return o.stop()}},u,null,[[0,12]])}))()},prepareLoadingManifest:function(){var b=this;return j0(ti.mark(function u(){return ti.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Ow.catch(function(h){return console.info(h),b.$emit("loadError",h),Promise.reject(h)});case 2:ju.clearAllListener(),b.initPlayer(),b.loadingProgress=1e-10;case 5:case"end":return o.stop()}},u)}))()},prepareAssetsManifest:function(){var b=this;return new Promise(function(u,o){ju.clearAllListener(),ju.load(Kx),ju.setEventListener("error",function(h){b.$emit("loadError",h),o()}),ju.setEventListener("progress",function(){var h=j0(ti.mark(function v(k){return ti.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,Jc.utils.tweenTo(b,.5,{loadingProgress:k*100,overwrite:!0});case 2:k===1&&(ef=!0,u());case 3:case"end":return O.stop()}},v)}));return function(v){return h.apply(this,arguments)}}())})},enterMainScene:function(){var b=this;return j0(ti.mark(function u(){var o;return ti.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return o=b.sceneUI.getObjectByName("scene_loading"),ef=!0,h.next=4,Jc.utils.tweenTo(o.material.uniforms.opacity,.3,{value:0});case 4:o.visible=!1;case 5:case"end":return h.stop()}},u)}))()},initPlayer:function(){this.player=new Jc.THREEPlayer({devSpeed:1,animationSetting:Tw(),spineSetting:e3,layoutData:N_,renderer:this.renderer,uniformSetting:xs,pluginSetting:vw,imageSetting:mw,shaderSetting:uw,modifierSetting:yw,timelineSetting:bw,machineSetting:_w,classSetting:ww}),window.player=this.player,this.sceneUI=this.player.getScene("scene_ui"),this.player.checkGPUAcceleratorEnabled()||this.$emit("gpuAccDisable");try{this.player.getScene("scene_ui").getObjectByName("scene_main").visible=!this.mobileMode,this.player.getScene("scene_ui").getObjectByName("scene_mobile").visible=this.mobileMode,this.update()}catch(b){this.$emit("webglError",b),console.error(b)}},onResize:function(){if(this.renderer){var b=this.width*window.devicePixelRatio,u=this.height*window.devicePixelRatio;this.player.resizeUI(b,u,o2)}},render:function(){var b=this;ef?(this.mobileMode?(this.player.renderScene("scene_mobile"),this.player.getScene("scene_mobile").update()):(this.player.renderScene("scene_main"),this.player.getScene("scene_main").update()),this.player.reportRenderInfo(15,function(u){b.$emit("reportRenderInfo",u)})):this.player.renderScene("scene_loading"),this.player.renderScene("scene_ui")},update:function(){Hc&&(this.onResize(),Hc=!1),this.player.tick()&&this.render(),window.requestAnimationFrame(this.update)}}},Pw={id:"webglCanvas",ref:"webglCanvas"};function Dw(b,u,o,h,v,k){return Jn(),ta("div",{class:Xc(["effect-wrap",{"show-canvas":v.loadingProgress>0}])},[$t("canvas",Pw,null,512)],2)}var Iw=Rw(Lw,[["render",Dw],["__scopeId","data-v-0bb486ee"]]);const Fw={name:"MainPage",components:{Effect:Iw},data(){return{version:"",LocalVersion:wg,authAgreement:xg,gameList:[],menuVisible:!1,scrollTimer:null,show:!1,width:window.innerWidth,height:null,webglError:!1,loadComplete:!1,isGray:!1,Ap
60pItunesUrl:Dv,dialogInfo:{title:"",content:[]}}},computed:{canvasHeight(){return this.layout==="mobile"?{}:{height:"".concat(this.height,"px")}},layout(){return window.innerWidth>=900?"pc":"mobile"},pageInfo(){return{game_id:0,page_name:"LandingPage"}},adDownloadUrl(){return"https://download-bbs.miyoushe.com/app/mihoyobbs_".concat(this.version,"_").concat("miyousheluodi",".apk")}},created(){this.init()},beforeMount(){this.getPkgVersion(),this.checkGray()},mounted(){this.pageShow(),window.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize)},unmounted(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize)},methods:{async init(){var b,u;this.getHeight();try{const{data:o}=await bg.getConfigs("game","gameList");this.gameList=o.gameList}catch(o){this.gameList=_g,(u=(b=window.apmPlus)==null?void 0:b.captureException)==null||u.call(b,o)}},pageShow(){Dc.page(this.pageInfo)},toTopicDetail(){if(!yg)return window.open("https://www.miyoushe.com/dby/topicDetail/150","_blank");Cg("topic",{id:"150?game_id=5&tab=0"})},async getPkgVersion(){var b,u;try{const{version:o=""}=await gg({channel:"miyousheluodi"},{noGids:!0});this.version=o||this.LocalVersion}catch(o){this.version=this.LocalVersion,(u=(b=window.apmPlus)==null?void 0:b.captureException)==null||u.call(b,o)}},handleScroll(){if(this.menuVisible&&(this.menuVisible=!1),this.layout==="mobile"){const b=document.querySelector(".m-footer");b.classList.add("hidden"),this.scrollTimer!==null&&clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{b.classList.remove("hidden")},200)}},handleChangeMenu(b,u){b.stopPropagation(),this.menuVisible=u},onMDownload(){if(pg){Dc.click(this.pageInfo,{module_name:"Download",btn_name:"AppStore"}),/weibo/i.test(navigator.userAgent.toLocaleLowerCase())?window.location.href="https://m.miyoushe.com/download.html":window.location.href=Dv;return}Dc.click(this.pageInfo,{module_name:"Download",btn_name:"Android"}),window.open(this.adDownloadUrl)},onPCDownload(b,u){Dc.click(this.pageInfo,{module_name:"Download",btn_name:b}),window.location.href=u},showAgreement(){this.dialogInfo=Lv[Pv.auth],this.show=!0},handleResize(){this.width=window.innerWidth,this.getHeight()},getHeight(){this.layout==="pc"?this.height=1080*(window.innerWidth/1920):this.height=1159*(window.innerWidth/750)},handleWebglError(){this.webglError=!0},onLoadComplete(){this.loadComplete=!0},async checkGray(){const{config:b}=await vg();b.is_gray===mg.GRAY&&(document.documentElement.style.backgroundColor="white",document.body.style.backgroundColor="white")},showIntro(){this.dialogInfo=Lv[Pv.intro],this.show=!0}}},Bw="/assets/pc-title-2023-Ds1SF0dN.png",Nw="/assets/bbs_qrcode_mainpage-NI5zmKP0.png",Uw={class:"content"},zw={class:"title"},Gw={key:0,class:"desc"},Vw={class:"effect-container"},Hw={key:0,class:"loading"},Xw={key:0,class:"mobile-mainPage"},Ww=["href"],Yw={class:"m-bbs-top-container"},qw={key:1,class:"m-bbs-version"},jw={class:"m-main"},Jw={class:"m-game-container"},Zw=["href"],Kw={class:"m-game-item"},$w={class:"m-game-logo"},Qw=["src"],eS={key:0,class:"m-game-name-container"},tS={key:1,class:"m-game-name"},rS={class:"m-feedback-container"},nS={class:"m-footer"},aS={class:"m-footer-agreement"},iS={key:1,class:"pc-mainPage"},oS={class:"pc-sidebar-container"},sS={class:"pc-sidebar"},uS=["href"],lS={class:"game-nav"},cS={class:"bh2-logo game-logo"},hS=["src"],fS=["textContent"],dS={class:"sidebar-footer"},vS={class:"pc-main"},mS={class:"bbs-qrcode-download-container"},pS={class:"bbs-download-container"},gS={class:"bbs-download bbs-ad-download"},yS={class:"bbs-version"},bS={class:"bbs-rights"};function _S(b,u,o,h,v,k){const O=Og,z=Sg("Effect");return Jn(),ta("div",{class:Xc(["container",[k.layout==="mobile"?"mobile":"pc",v.isGray?"gray":""]])},[Iv(O,{show:v.show,"onUpdate:show":u[1]||(u[1]=C=>v.show=C),"show-confirm-button":!1,class:Xc(["auth-agreement",{"is-pc":k.layout==="pc"}]),title:v.dialogInfo.title,"close-on-click-overlay":""},{default:Fv(()=>[$t("div",{class:"close",onClick:u[0]||(u[0]=C=>v.show=!1)}),$t("div",Uw,[(Jn(!0),ta(Gu,null,Vu(v.dialogInfo.content,(C,B)=>(Jn(),ta("div",{key:B,class:"item"},[$t("div",zw,w0(C.title),1),Array.isArray(C.desc)?(Jn(!0),ta(Gu,{key:1},Vu(C.desc,H=>(Jn(),ta("div",{key:H,class:"desc"},w0(H),1))),128)):(Jn(),ta("div",Gw,w0(C.desc),1))]))),128))])]),_:1},8,["show","class","title"]),$t("div",{class:Xc(["warp-main-page",k.layout==="mobile"?"mobile":"pc"])},[$t("div",Vw,[Iv(Mg,null,{default:Fv(()=>[!v.loadComplete||v.webglError?(Jn(),ta("div",Hw)):n2("",!0)]),_:1}),v.webglError?n2("",!0):(Jn(),Tg(z,{key:0,style:Eg(k.canvasHeight),"mobile-mode":k.layout==="mobile",width:v.width,height:v.height,onBuildMainComplete:k.onLoadComplete,onWebglError:k.handleWebglError,onLoadError:k.handleWebglError},null,8,["style","mobile-mode","width","height","onBuildMainComplete","onWebglError","onLoadError"]))]),k.layout==="mobile"?(Jn(),ta("div",Xw,[v.menuVisible?(Jn(),ta("div",{key:1,class:"game-list-container",onClick:u[5]||(u[5]=C=>k.handleChangeMenu(C,!1))},[$t("ul",{class:"game-list",onClick:u[4]||(u[4]=C=>{C.stopPropagation()})},[$t("div",{class:"close",onClick:u[3]||(u[3]=C=>k.handleChangeMenu(C,!1))},[...u[16]||(u[16]=[$t("img",{src:"https://img-static.mihoyo.com/mainPage/menuClose-dark.png"},null,-1)])]),(Jn(!0),ta(Gu,null,Vu(v.gameList,(C,B)=>(Jn(),ta("li",{key:B},[$t("a",{href:C.mUrl,target:"_blank"},w0(C.name),9,Ww)]))),128))])])):(Jn(),ta("div",{key:0,class:"header-bar",onClick:u[2]||(u[2]=C=>k.handleChangeMenu(C,!0))},[...u[15]||(u[15]=[$t("img",{src:"https://img-static.mihoyo.com/mainPage/menu-dark.png"},null,-1)])])),$t("div",Yw,[u[17]||(u[17]=$t("div",{class:"m-bbs-bg-top"},null,-1)),u[18]||(u[18]=$t("div",{class:"m-bbs-title"},null,-1)),v.version?(Jn(),ta("div",{key:0,class:"m-bbs-download",onClick:u[6]||(u[6]=(...C)=>k.onMDownload&&k.onMDownload(...C))}
60)):n2("",!0),v.version?(Jn(),ta("div",qw,w0("版本号v".concat(v.version)),1)):n2("",!0)]),$t("div",jw,[$t("div",Jw,[u[20]||(u[20]=$t("div",{class:"m-game-title"},[$t("span",{class:"m-title-arrow"}),$t("span",{class:"m-title"},"网页版官方社区"),$t("span",{class:"m-title-arrow right"})],-1)),(Jn(!0),ta(Gu,null,Vu(v.gameList,(C,B)=>(Jn(),ta("a",{key:B,href:C.mUrl,target:"_blank",class:"m-game-item-container"},[$t("div",Kw,[$t("div",$w,[$t("img",{width:"100%",height:"100%",src:C.mLogo,alt:"米游社"},null,8,Qw)]),C.splitName?(Jn(),ta("div",eS,[(Jn(!0),ta(Gu,null,Vu(C.splitName,(H,g)=>(Jn(),ta("div",{key:g,class:"m-game-name"},w0(H),1))),128))])):(Jn(),ta("div",tS,w0(C.name),1)),u[19]||(u[19]=$t("div",{class:"m-game-btn"},null,-1))])],8,Zw))),128))]),$t("div",rS,[$t("span",{class:"m-feedback",onClick:u[7]||(u[7]=(...C)=>k.toTopicDetail&&k.toTopicDetail(...C))},[...u[21]||(u[21]=[$t("span",{class:"m-feedback-title"},"意见反馈",-1),$t("span",{class:"m-feedback-btn"},null,-1)])])]),u[22]||(u[22]=$t("div",{class:"m-bbs-rights"},[$t("p",null,[$t("a",{href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31010402009271",target:"_blank"}," 沪公网安备31010402009271号 ")]),$t("p",null,[$t("span",null,"沪网文【2024】3897-230号"),$t("a",{href:"https://beian.miit.gov.cn/#/Integrated/index",target:"_blank"}," 沪ICP备2021018283号-1 ")]),$t("p",null,[$t("span",null,"© 2018 米哈游版权所有")])],-1)),u[23]||(u[23]=$t("div",{class:"m-bg-bottom"},null,-1))]),$t("div",nS,[u[25]||(u[25]=$t("div",{class:"m-footer-company"}," 开发商:上海米哈游姬米花科技有限公司 ",-1)),$t("div",aS,[u[24]||(u[24]=$t("a",{href:"https://m.miyoushe.com/ys/#/agreement?type=privacy&close=true",target:"_blank"}," 《米游社隐私政策》 ",-1)),$t("span",{onClick:u[8]||(u[8]=(...C)=>k.showAgreement&&k.showAgreement(...C))},"《应用获取权限信息》"),$t("span",{onClick:u[9]||(u[9]=(...C)=>k.showIntro&&k.showIntro(...C))},"《功能介绍》")])])])):(Jn(),ta("div",iS,[$t("div",oS,[u[27]||(u[27]=$t("div",{class:"sidebar-title"},"网页版社区",-1)),$t("div",sS,[(Jn(!0),ta(Gu,null,Vu(v.gameList,(C,B)=>(Jn(),ta("a",{key:B,href:C.url+"/",target:"_blank"},[$t("div",lS,[$t("div",cS,[$t("img",{width:"68",height:"68",src:C.logo,alt:"米游社"},null,8,hS)]),$t("div",{class:"game-name",textContent:w0(C.name)},null,8,fS)])],8,uS))),128))]),$t("div",dS,[$t("span",{onClick:u[10]||(u[10]=(...C)=>k.toTopicDetail&&k.toTopicDetail(...C))},[...u[26]||(u[26]=[$t("div",{class:"sidebar-feedback"},"意见反馈",-1)])])])]),$t("div",vS,[u[32]||(u[32]=$t("div",{class:"bbs-top-logo"},[$t("img",{class:"w_100",src:Bw,alt:""})],-1)),$t("div",mS,[u[31]||(u[31]=$t("div",{class:"bbs-qrcode"},[$t("img",{src:Nw,alt:"米游社",width:"168",height:"168"})],-1)),$t("div",pS,[$t("div",{onClick:u[11]||(u[11]=C=>k.onPCDownload("iPhone",v.AppItunesUrl))},[...u[28]||(u[28]=[$t("div",{class:"bbs-download bbs-ios-download"},[$t("span",{class:"bbs-en-text"},"iPhone"),$t("span",{class:"bbs-zh-text"},"下载")],-1)])]),v.version?(Jn(),ta("div",{key:0,onClick:u[12]||(u[12]=C=>k.onPCDownload("AndroidPC",k.adDownloadUrl))},[$t("div",gS,[u[29]||(u[29]=$t("span",{class:"bbs-en-text"},"Android",-1)),u[30]||(u[30]=$t("span",{class:"bbs-zh-text"},"下载",-1)),$t("span",yS,w0("v".concat(v.version)),1)])])):n2("",!0)])])]),$t("div",bS,[$t("p",null,[u[33]||(u[33]=$t("span",null,"沪网文【2024】3897-230号",-1)),u[34]||(u[34]=$t("a",{href:"https://beian.miit.gov.cn/#/Integrated/index",target:"_blank"}," 沪ICP备2021018283号-1 ",-1)),u[35]||(u[35]=$t("a",{href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31010402009271",target:"_blank"}," 沪公网安备31010402009271号 ",-1)),u[36]||(u[36]=$t("span",null,"© 2018 米哈游版权所有",-1)),u[37]||(u[37]=$t("span",null,"开发商:上海米哈游姬米花科技有限公司",-1)),u[38]||(u[38]=$t("a",{href:"https://miyoushe.com/ys/agreement?type=privacy",target:"_blank",class:"primary"}," 《米游社隐私政策》 ",-1)),$t("a",{class:"primary",onClick:u[13]||(u[13]=(...C)=>k.showAgreement&&k.showAgreement(...C))}," 《应用获取权限信息》 "),$t("a",{class:"primary",onClick:u[14]||(u[14]=(...C)=>k.showIntro&&k.showIntro(...C))}," 《功能介绍》 ")]),u[39]||(u[39]=$t("p",null," 米游社是米哈游miHoYo旗下游戏玩家社区,这里集合了崩坏学园2,崩坏3,原神,未定事件簿,崩坏:星穹铁道,绝区零,崩坏:因缘精灵,星布谷地的玩家互动、官方资讯、福利趣闻和同人作品。这里可以聊游戏聊周边聊八卦,也可以分享生活和奇思妙想。 ",-1))])]))],2)],2)}const xS=Rg(Fw,[["render",_S]]);window.innerWidth<900&&Lg({isInGame:!1});kg(xS);export{wS as __vite_legacy_guard};

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