PageSourceSearch

https://returntomonkeyisland.com/_next/static/chunks/pages/_app-ee83c39daf084ea1.js

js returntomonkeyisland.com collected 2026-09-24 18:00:59 UTC 502,563 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{8357:function(t,e,n){"use strict";n.d(e,{Z:function(){return it}});var r=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{n.insertRule(t,n.cssRules.length)}catch(r){0}}else e.appendChild(document.createTextNode(t));this.ctr++}
vendor: 4,155 bytes, line 1
1,e.flush=function(){this.tags.forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(t){return t.trim()}function u(t,e,n){return t.replace(e,n)}function l(t,e){return t.indexOf(e)}function c(t,e){return 0|t.charCodeAt(e)}function h(t,e,n){return t.slice(e,n)}function d(t){return t.length}function f(t){return t.length}function v(t,e){return e.push(t),t}var p=1,m=1,g=0,y=0,A=0,x="";function b(t,e,n,r,i,a,o){return{value:t,root:e,parent:n,type:r,props:i,children:a,line:p,column:m,length:o,return:""}}function w(t,e){return o(b("",null,null,"",null,null,0),t,{length:-t.length},e)}function L(){return A=y>0?c(x,--y):0,m--,10===A&&(m=1,p--),A}function k(){return A=y<g?c(x,y++):0,m++,10===A&&(m=1,p++),A}function C(){return c(x,y)}function E(){return y}function S(t,e){return h(x,t,e)}function M(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(t){return p=m=1,g=d(x=t),y=0,[]}function R(t){return x="",t}function P(t){return s(S(y-1,B(91===t?t+2:40===t?t+1:t)))}function I(t){for(;(A=C())&&A<33;)k();return M(t)>2||M(A)>3?"":" "}function O(t,e){for(;--e&&k()&&!(A<48||A>102||A>57&&A<65||A>70&&A<97););return S(t,E()+(e<6&&32==C()&&32==k()))}function B(t){for(;k();)switch(A){case t:return y;case 34:case 39:34!==t&&39!==t&&B(A);break;case 40:41===t&&B(t);break;case 92:k()}return y}function F(t,e){for(;k()&&t+A!==57&&(t+A!==84||47!==C()););return"/*"+S(e,y-1)+"*"+a(47===t?t:k())}function D(t){for(;!M(C());)k();return S(t,y)}var V="-ms-",Y="-moz-",X="-webkit-",U="comm",j="rule",Z="decl",N="@keyframes";function z(t,e){for(var n="",r=f(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function _(t,e,n,r){switch(t.type){case"@import":case Z:return t.return=t.return||t.value;case U:return"";case N:return t.return=t.value+"{"+z(t.children,r)+"}";case j:t.value=t.props.join(",")}return d(n=z(t.children,r))?t.return=t.value+"{"+n+"}":""}function W(t,e){switch(function(t,e){return(((e<<2^c(t,0))<<2^c(t,1))<<2^c(t,2))<<2^c(t,3)}(t,e)){case 5103:return X+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return X+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return X+t+Y+t+V+t+t;case 6828:case 4268:return X+t+V+t+t;case 6165:return X+t+V+"flex-"+t+t;case 5187:return X+t+u(t,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+t;case 5443:return X+t+V+"flex-item-"+u(t,/flex-|-self/,"")+t;case 4675:return X+t+V+"flex-line-pack"+u(t,/align-content|flex-|-self/,"")+t;case 5548:return X+t+V+u(t,"shrink","negative")+t;case 5292:return X+t+V+u(t,"basis","preferred-size")+t;case 6060:return X+"box-"+u(t,"-grow","")+X+t+V+u(t,"grow","positive")+t;case 4554:return X+u(t,/([^-])(transform)/g,"$1-webkit-$2")+t;case 6187:return u(u(u(t,/(zoom-|grab)/,X+"$1"),/(image-set)/,X+"$1"),t,"")+t;case 5495:case 3959:return u(t,/(image-set\([^]*)/,X+"$1$`$1");case 4968:return u(u(t,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+X+t+t;case 4095:case 3583:case 4068:case 2532:return u(t,/(.+)-inline(.+)/,X+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(t)-1-e>6)switch(c(t,e+1)){case 109:if(45!==c(t,e+4))break;case 102:return u(t,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+Y+(108==c(t,e+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?W(u(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==c(t,e+1))break;case 6444:switch(c(t,d(t)-3-(~l(t,"!important")&&10))){case 107:return u(t,":",":"+X)+t;case 101:return u(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+X+(45===c(t,14)?"inline-":"")+"box$3$1"+X+"$2$3$1"+V+"$2box$3")+t}break;case 5936:switch(c(t,e+11)){case 114:return X+t+V+u(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
1case 108:return X+t+V+u(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return X+t+V+u(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return X+t+V+t+t}return t}function G(t){return R(H("",null,null,null,[""],t=T(t),0,[0],t))}function H(t,e,n,r,i,o,s,c,h){for(var f=0,p=0,m=s,g=0,y=0,A=0,x=1,b=1,w=1,S=0,M="",T=i,R=o,B=r,V=M;b;)switch(A=S,S=k()){case 40:if(108!=A&&58==V.charCodeAt(m-1)){-1!=l(V+=u(P(S),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:V+=P(S);break;case 9:case 10:case 13:case 32:V+=I(A);break;case 92:V+=O(E()-1,7);continue;case 47:switch(C()){case 42:case 47:v(J(F(k(),E()),e,n),h);break;default:V+="/"}break;case 123*x:c[f++]=d(V)*w;case 125*x:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+p:y>0&&d(V)-m&&v(y>32?K(V+";",r,n,m-1):K(u(V," ","")+";",r,n,m-2),h);break;case 59:V+=";";default:if(v(B=q(V,e,n,f,p,i,c,M,T=[],R=[],m),o),123===S)if(0===p)H(V,e,B,B,T,o,m,c,R);else switch(g){case 100:case 109:case 115:H(t,B,B,r&&v(q(t,B,B,0,0,i,c,M,i,T=[],m),R),i,R,m,c,r?T:R);break;default:H(V,B,B,B,[""],R,0,c,R)}}f=p=y=0,x=w=1,M=V="",m=s;break;case 58:m=1+d(V),y=A;default:if(x<1)if(123==S)--x;else if(125==S&&0==x++&&125==L())continue;switch(V+=a(S),S*x){case 38:w=p>0?1:(V+="\f",-1);break;case 44:c[f++]=(d(V)-1)*w,w=1;break;case 64:45===C()&&(V+=P(k())),g=C(),p=m=d(M=V+=D(E())),S++;break;case 45:45===A&&2==d(V)&&(x=0)}}return o}function q(t,e,n,r,a,o,l,c,d,v,p){for(var m=a-1,g=0===a?o:[""],y=f(g),A=0,x=0,w=0;A<r;++A)for(var L=0,k=h(t,m+1,m=i(x=l[A])),C=t;L<y;++L)(C=s(x>0?g[L]+" "+k:u(k,/&\f/g,g[L])))&&(d[w++]=C);return b(t,e,n,0===a?j:c,d,v,p)}function J(t,e,n){return b(t,e,n,U,a(A),h(t,2,-2),0)}function K(t,e,n,r){return b(t,e,n,Z,h(t,0,r),h(t,r+1,-1),r)}var Q=function(t,e,n){for(var r=0,i=0;r=i,i=C(),38===r&&12===i&&(e[n]=1),!M(i);)k();return S(t,y)},$=function(t,e){return R(function(t,e){var n=-1,r=44;do{switch(M(r)){case 0:38===r&&12===C()&&(e[n]=1),t[n]+=Q(y-1,e,n);break;case 2:t[n]+=P(r);break;case 4:if(44===r){t[++n]=58===C()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=a(r)}}while(r=k());return t}(T(t),e))},tt=new WeakMap,et=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||tt.get(n))&&!r){tt.set(t,!0);for(var i=[],a=$(e,i),o=n.props,s=0,u=0;s<a.length;s++)for(var l=0;l<o.length;l++,u++)t.props[u]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+" "+a[s]}}},nt=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}},rt=[function(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case Z:t.return=W(t.value,t.length);break;case N:return z([w(t,{value:u(t.value,"@","@"+X)})],r);case j:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,(function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return z([w(t,{props:[u(e,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return z([w(t,{props:[u(e,/:(plac\w+)/,":-webkit-input-$1")]}),w(t,{props:[u(e,/:(plac\w+)/,":-moz-$1")]}),w(t,{props:[u(e,/:(plac\w+)/,V+"input-$1")]})],r)}return""}))}}],it=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var i=t.stylisPlugins||rt;var a,o,s={},u=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n<e.length;n++)s[e[n]]=!0;u.push(t)}));var l,c,h=[_,(c=function(t){l.insert(t)},function(t){t.root||(t=t.return)&&c(t)})],d=function(t){var e=f(t);return function(n,r,i,a){for(var o="",s=0;s<e;s++)o+=t[s](n,r,i,a)||"";return o}}([et,nt].concat(i,h));o=function(t,e,n,r){l=n,z(G(t?t+"{"+e.styles+"}":e.styles),d),r&&(v.inserted[e.name]=!0)};var v={key:e,sheet:new r({key:e,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:o};return v.sheet.hydrate(u),v}},2369:function(t,e,n){"use strict";n.d(e,{E:function(){return m},c:function(){return v},h:function(){return u}});var r=n(7294),i=n.t(r,2),a=n(8357);var o=function(t,e,n){var r=t.key+"-"+e.name;!1===n&&void 0===t.registered[r]&&(t.registered[r]=e.styles)},s=n(2243),u={}.hasOwnProperty,l=(0,r.createContext)("undefined"!==typeof HTMLElement?(0,a.Z)({key:"css"}):null);l.Provider;var c=function(t){return(0,r.forwardRef)((function(e,n){var i=(0,r.useContext)(l);return t(e,i,n)}))},h=(0,r.createContext)({});var d=i.useInsertionEffect?i.useInsertionEffect:function(t){t()};var f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",v=function(t,e){var n={};for(var r in e)u.call(e,r)&&(n[r]=e[r]);return n[f]=t,n},p=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;o(e,n,r);var i;i=function(){return function(t,e,n){o(t,e,n);var r=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var i=e;do{t.insert(e===i?"."+r:"",i,t.sheet,!0),i=i.next}while(void 0!==i)}}(e,n,r)},d(i);return null},m=c((function(t,e,n){var i=t.css;"string"===typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var a=t[f],o=[i],l="";"string"===typeof t.className?l=function(t,e,n){var r="";return n.split(" ").forEach((function(n){void 0!==t[n]?e.push(t[n]+";"):r+=n+" "})),r}(e.registered,o,t.className):null!=t.className&&(l=t.className+" ");var c=(0,s.O)(o,void 0,(0,r.useContext)(h));l+=e.key+"-"+c.name;var d={};for(var v in t)u.call(t,v)&&"css"!==v&&v!==f&&(d[v]=t[v]);return d.ref=n,d.className=l,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(p,{cache:e,serialized:c,isStringTag:"string"===typeof a}),(0,r.createElement)(a,d))}))},917:function(t,e,n){"use strict";var r;n.d(e,{az:function(){return s},iv:function(){return u}});var i=n(7294),a=(n(8357),n(2369)),o=(n(8679),n(2243)),s=function(t,e){var n=arguments;if(null==e||!a.h.call(e,"css"))return i.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=a.E,o[1]=(0,a.c)(t,e);for(var s=2;s<r;s++)o[s]=n[s];return i.createElement.apply(null,o)};(r||(r=n.t(i,2))).useInsertionEffect?(r||(r=n.t(i,2))).useInsertionEffect:i.useLayoutEffect;function u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,o.O)(e)}},5944:function(t,e,n){"use strict";n.d(e,{HY:function(){return a},tZ:function(){return o},BX:function(){return s}});n(7294),n(8357);var r=n(2369),i=(n(8679),n(2243),n(5893)),a=i.Fragment;function o(t,e,n){return r.h.call(e,"css")?(0,i.jsx)(r.E,(0,r.c)(t,e),n):(0,i.jsx)(t,e,n)}function s(t,e,n){return r.h.call(e,"css")?(0,i.jsxs)(r.E,(0,r.c)(t,e),n):(0,i.jsxs)(t,e,n)}},2243:function(t,e,n){"use strict";n.d(e,{O:function(){return v}});var r=function(t){for(var e,n=0,r=0,i=t.length;i>=4;++r,i-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},i={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
1idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var a=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!==typeof t},l=function(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){return s(t)?t:t.replace(a,"-$&").toLowerCase()})),c=function(t,e){switch(t){case"animation":case"animationName":if("string"===typeof e)return e.replace(o,(function(t,e,n){return d={name:e,styles:n,next:d},e}))}return 1===i[t]||s(t)||"number"!==typeof e||0===e?e:e+"px"};function h(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return d={name:n.name,styles:n.styles,next:d},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)d={name:r.name,styles:r.styles,next:d},r=r.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=h(t,e,n[i])+";";else for(var a in n){var o=n[a];if("object"!==typeof o)null!=e&&void 0!==e[o]?r+=a+"{"+e[o]+"}":u(o)&&(r+=l(a)+":"+c(a,o)+";");else if(!Array.isArray(o)||"string"!==typeof o[0]||null!=e&&void 0!==e[o[0]]){var s=h(t,e,o);switch(a){case"animation":case"animationName":r+=l(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var d=0;d<o.length;d++)u(o[d])&&(r+=l(a)+":"+c(a,o[d])+";")}return r}(t,e,n);case"function":if(void 0!==t){var i=d,a=n(t);return d=i,h(t,e,a)}}if(null==e)return n;var o=e[n];return void 0!==o?o:n}var d,f=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var v=function(t,e,n){if(1===t.length&&"object"===typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var i=!0,a="";d=void 0;var o=t[0];null==o||void 0===o.raw?(i=!1,a+=h(n,e,o)):a+=o[0];for(var s=1;s<t.length;s++)a+=h(n,e,t[s]),i&&(a+=o[s]);f.lastIndex=0;for(var u,l="";null!==(u=f.exec(a));)l+="-"+u[1];return{name:r(a)+l,styles:a,next:d}}},4394:function(t,e,n){"use strict";n.d(e,{k:function(){return i},K:function(){return r}});var r=function(){},i=function(){}},8679:function(t,e,n){"use strict";var r=n(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(t){return r.isMemo(t)?o:s[t.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var l=Object.defineProperty,c=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;t.exports=function t(e,n,r){if("string"!==typeof n){if(v){var i=f(n);i&&i!==v&&t(e,i,r)}var o=c(n);h&&(o=o.concat(h(n)));for(var s=u(e),p=u(n),m=0;m<o.length;++m){var g=o[m];if(!a[g]&&(!r||!r[g])&&(!p||!p[g])&&(!s||!s[g])){var y=d(n,g);try{l(e,g,y)}catch(A){}}}}return e}},6011:function(t,e,n){"use strict";n.d(e,{O:function(){return g}});var r,i,a,o=n(9499),s=n(7294),u=n(1163),l=n(8781),c=n(917),h=n(1190),d=n(4498),f=n(6358),v=n(6335),p=n(8524),m=n(5944),g=function(t){var e=t.lastIndexOf(" ");return t=t.substr(0,e)+"&nbsp;"+t.substr(e+1)},y=(0,c.iv)((a={position:"absolute",top:"50%",left:"50%",display:"flex",justifyContent:"center",width:"30rem",marginLeft:"-15rem",pointerEvents:"auto"},(0,o.Z)(a,p.Z.TabletPortrait,{width:"20rem",marginLeft:"-10rem"}),(0,o.Z)(a,p.Z.PhoneLandscape,{width:"20rem"}),(0,o.Z)(a,"span",(0,o.Z)({backgroundColor:"#00000088",padding:"0.5rem",fontSize:"1.2rem",borderRadius:"1rem",textAlign:"center",lineHeight:1.2},p.Z.PhoneLandscape,{fontSize:"1.1rem"})),(0,o.Z)(a,"&.stan",(r={color:l.Z.stan,left:"".concat(660/2496*120,"vw"),top:"".concat(660/2496*120,"vw")},(0,o.Z)(r,"@media (max-aspect-ratio: ".concat(2496,"/",1440,")"),{left:"".concat(50,"vh"),top:"".concat(50,"vh")}),(0,o.Z)(r,"@media (min-aspect-ratio: ".concat(19,"/",8,")"),{top:"".concat(900/2496*120,"vw"),left:"".concat(750/2496*120,"vw")}),(0,o.Z)(r,p.Z.TabletPortrait,{left:"".concat(550/1440*120,"vh"),top:"".concat(50,"vh")}
1),(0,o.Z)(r,p.Z.PhoneLandscape,{left:"".concat(1200/2496*120,"vw")}),r)),(0,o.Z)(a,"&.otis",(i={color:l.Z.otis,left:"".concat(1177/2496*120,"vw"),top:"".concat(550/2496*120,"vw")},(0,o.Z)(i,"@media (max-aspect-ratio: ".concat(2496,"/",1440,")"),{left:"".concat(1177/1440*120,"vh"),top:"".concat(500/1440*120,"vh")}),(0,o.Z)(i,p.Z.TabletPortrait,{left:"".concat(110,"vh")}),i)),a),"","");e.Z=function(){var t=(0,u.useRouter)(),e=(0,s.useRef)(),n=(0,f.N)((function(t){return t.showOptions})),r=(0,f.N)((function(t){return t.setShowOptions})),i=(0,f.N)((function(t){return t.pathIndexes})),a=(0,f.N)((function(t){return t.currentPath})),o=(0,f.N)((function(t){return t.incrementCurrentPathIndex})),l=(0,f.N)((function(t){return t.setCurrentPath})),c=(0,f.N)((function(t){return t.textIndex})),p=(0,f.N)((function(t){return t.setTextIndex})),A=(0,s.useMemo)((function(){return void 0!==a?v[a][i[a]].response[c]:{}}),[a,i,c]);(0,s.useEffect)((function(){if(void 0!==a){var n=Math.max(50*v[a][i[a]].response[c].text.length,2e3);e.current=setTimeout((function(){v[a][i[a]].response[c+1]?p(c+1):(o(),r(!0),l(void 0),p(0))}),"true"!==t.query.speedup?n:500)}}),[a,o,i,t.query.speedup,l,r,p,c]);return(0,m.tZ)(h.M,{exitBeforeEnter:!0,children:A&&!n&&(0,m.tZ)(d.E.div,{css:y,className:A.character,initial:{opacity:0,transition:{duration:.2}},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0,transition:{duration:.2}},onClick:function(){clearTimeout(e.current),v[a][i[a]].response[c+1]?p(c+1):(o(),r(!0),l(void 0),p(0))},children:(0,m.tZ)("span",{dangerouslySetInnerHTML:{__html:g(A.text)}})},"".concat(A.character).concat(a).concat(i[a]).concat(c))})}},4126:function(t,e,n){"use strict";n.r(e),n.d(e,{canvasCSS:function(){return k},default:function(){return C}});var r=n(9499),i=n(4730),a=n(7294);function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
1function s(t,e){return s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},s(t,e)}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}var l=n(4027);function c(t,e){if(e&&("object"===l(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return o(t)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function v(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}function p(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"===typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return c(this,n)}}var y=function(){var t=Object.defineProperty,e={};!function(e,n){for(var r in function(e){t(e,"__esModule",{value:!0})}(e),n)t(e,r,{get:n[r],enumerable:!0})}(e,{AlphaTimeline:function(){return dt},Animation:function(){return R},AnimationState:function(){return Et},AnimationStateAdapter:function(){return Ot},AnimationStateData:function(){return Zt},AssetManager:function(){return En},AssetManagerBase:function(){return ve},AtlasAttachmentLoader:function(){return ie},Attachment:function(){return k},AttachmentTimeline:function(){return pt},BinaryInput:function(){return Fe},BlendMode:function(){return we},Bone:function(){return de},BoneData:function(){return ae},BoundingBoxAttachment:function(){return Nt},CURRENT:function(){return Ut},CameraController:function(){return qn},ClippingAttachment:function(){return zt},Color:function(){return a},Color2Attribute:function(){return ar},ColorAttribute:function(){return ir},ConstraintData:function(){return fe},CurveTimeline:function(){return K},CurveTimeline1:function(){return Q},CurveTimeline2:function(){return $},DebugUtils:function(){return A},DeformTimeline:function(){return mt},Downloader:function(){return pe},DrawOrderTimeline:function(){return yt},Event:function(){return me},EventData:function(){return ge},EventQueue:function(){return Mt},EventTimeline:function(){return gt},EventType:function(){return At},FIRST:function(){return Ft},FakeTexture:function(){return Gt},GLTexture:function(){return Cn},HOLD_FIRST:function(){return Vt},HOLD_MIX:function(){return Yt},HOLD_SUBSEQUENT:function(){return Dt},IkConstraint:function(){return ye},IkConstraintData:function(){return Ae},IkConstraintTimeline:function(){return bt},Input:function(){return Gn},IntSet:function(){return n},Interpolation:function(){return c},JitterEffect:function(){return yn},LoadingScreen:function(){return Sr},M00:function(){return Mn},M01:function(){return Tn},M02:function(){return Rn},M03:function(){return Pn},M10:function(){return In},M11:function(){return On},M12:function(){return Bn},M13:function(){return Fn},M20:function(){return Dn},M21:function(){return Vn},M22:function(){return Yn},M23:function(){return Xn},M30:function(){return Un},M31:function(){return jn},M32:function(){return Zn},M33:function(){return Nn}
1,ManagedWebGLRenderingContext:function(){return xn},MathUtils:function(){return l},Matrix4:function(){return _n},Mesh:function(){return $n},MeshAttachment:function(){return Qt},MixBlend:function(){return E},MixDirection:function(){return M},OrthoCamera:function(){return Wn},PathAttachment:function(){return $t},PathConstraint:function(){return be},PathConstraintData:function(){return xe},PathConstraintMixTimeline:function(){return Ct},PathConstraintPositionTimeline:function(){return Lt},PathConstraintSpacingTimeline:function(){return kt},PointAttachment:function(){return te},PolygonBatcher:function(){return ur},Pool:function(){return x},Position2Attribute:function(){return er},Position3Attribute:function(){return nr},PositionMode:function(){return oe},Pow:function(){return h},PowOut:function(){return f},RGB2Timeline:function(){return vt},RGBA2Timeline:function(){return ft},RGBATimeline:function(){return ct},RGBTimeline:function(){return ht},RegionAttachment:function(){return ee},ResizeMode:function(){return pr},RotateMode:function(){return ce},RotateTimeline:function(){return tt},SETUP:function(){return Xt},SUBSEQUENT:function(){return Bt},ScaleTimeline:function(){return it},ScaleXTimeline:function(){return at},ScaleYTimeline:function(){return ot},SceneRenderer:function(){return wr},Shader:function(){return Jn},ShapeRenderer:function(){return lr},ShapeType:function(){return or},ShearTimeline:function(){return st},ShearXTimeline:function(){return ut},ShearYTimeline:function(){return lt},Skeleton:function(){return Ee},SkeletonBinary:function(){return Be},SkeletonBounds:function(){return ln},SkeletonClipping:function(){return hn},SkeletonData:function(){return Se},SkeletonDebugRenderer:function(){return hr},SkeletonJson:function(){return dn},SkeletonRenderer:function(){return vr},Skin:function(){return Te},SkinEntry:function(){return Me},Slot:function(){return ke},SlotData:function(){return Re},SpacingMode:function(){return ue},SpineCanvas:function(){return Rr},StringSet:function(){return r},SwirlEffect:function(){return An},TexCoordAttribute:function(){return rr},Texture:function(){return _t},TextureAtlas:function(){return Ht},TextureAtlasPage:function(){return Jt},TextureAtlasRegion:function(){return Kt},TextureFilter:function(){return Tt},TextureRegion:function(){return Wt},TextureWrap:function(){return Pt},TimeKeeper:function(){return w},Timeline:function(){return J},Touch:function(){return Hn},TrackEntry:function(){return St},TransformConstraint:function(){return Ce},TransformConstraintData:function(){return Oe},TransformConstraintTimeline:function(){return wt},TransformMode:function(){return ne},TranslateTimeline:function(){return et},TranslateXTimeline:function(){return nt},TranslateYTimeline:function(){return rt},Triangulator:function(){return cn},Utils:function(){return y},Vector2:function(){return b},Vector3:function(){return Sn},VertexAttachment:function(){return C},VertexAttribute:function(){return tr},VertexAttributeType:function(){return Kn},WebGLBlendModeConverter:function(){return Ln},WindowedMean:function(){return L}});var n=function(){function t(){d(this,t),this.array=new Array}return v(t,[{key:"add",value:function(t){var e=this.contains(t);return this.array[0|t]=0|t,!e}},{key:"contains",value:function(t){return void 0!=this.array[0|t]}},{key:"remove",value:function(t){this.array[0|t]=void 0}},{key:"clear",value:function(){this.array.length=0}}]),t}(),r=function(){function t(){d(this,t),this.entries={},this.size=0}return v(t,[{key:"add",value:function(t){var e=this.entries[t];return this.entries[t]=!0,!e&&(this.size++,!0)}},{key:"addAll",value:function(t){for(var e=this.size,n=0,r=t.length;n<r;n++)this.add(t[n]);return e!=this.size}},{key:"contains",value:function(t){return this.entries[t]}},{key:"clear",value:function(){this.entries={},this.size=0}}]),t}(),i=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;d(this,t),this.r=e,this.g=n,this.b=r,this.a=i}return v(t,[{key:"set",value:function(t,e,n,r){return this.r=t,this.g=e,this.b=n,this.a=r,this.clamp()}},{key:"setFromColor",value:function(t){return this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this}},{key:"setFromString",value:function(t){return t="#"==t.charAt(0)?t.substr(1):t,this.r=parseInt(t.substr(0,2),16)/255,this.g=parseInt(t.substr(2,2),16)/255,this.b=parseInt(t.substr(4,2),16)/255,this.a=8!=t.length?1:parseInt(t.substr(6,2),16)/255,this}},{key:"add",value:function(t,e,n,r){return this.r+=t,this.g+=e,this.b+=n,this.a+=r,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(t,e){t.r=((4278190080&e)>>>24)/255,t.g=((16711680&e)>>>16)/255,t.b=((65280&e)>>>8)/255,t.a=(255&e)/255}},{key:"rgb888ToColor",value:function(t,e){t.r=((16711680&e)>>>16)/255,t.g=((65280&e)>>>8)/255,t.b=(255&e)/255}},{key:"fromString",value:function(e){return(new t).setFromString(e)}}]),t}(),a=i;a.WHITE=new i(1,1,1,1),a.RED=new i(1,0,0,1),a.GREEN=new i(0,1,0,1),a.BLUE=new i(0,0,1,1),a.MAG
1ENTA=new i(1,0,1,1);var s=function(){function t(){d(this,t)}return v(t,null,[{key:"clamp",value:function(t,e,n){return t<e?e:t>n?n:t}},{key:"cosDeg",value:function(e){return Math.cos(e*t.degRad)}},{key:"sinDeg",value:function(e){return Math.sin(e*t.degRad)}},{key:"signum",value:function(t){return t>0?1:t<0?-1:0}},{key:"toInt",value:function(t){return t>0?Math.floor(t):Math.ceil(t)}},{key:"cbrt",value:function(t){var e=Math.pow(Math.abs(t),1/3);return t<0?-e:e}},{key:"randomTriangular",value:function(e,n){return t.randomTriangularWith(e,n,.5*(e+n))}},{key:"randomTriangularWith",value:function(t,e,n){var r=Math.random(),i=e-t;return r<=(n-t)/i?t+Math.sqrt(r*i*(n-t)):e-Math.sqrt((1-r)*i*(e-n))}},{key:"isPowerOfTwo",value:function(t){return t&&0===(t&t-1)}}]),t}(),l=s;l.PI=3.1415927,l.PI2=2*s.PI,l.radiansToDegrees=180/s.PI,l.radDeg=s.radiansToDegrees,l.degreesToRadians=s.PI/180,l.degRad=s.degreesToRadians;var c=function(){function t(){d(this,t)}return v(t,[{key:"apply",value:function(t,e,n){return t+(e-t)*this.applyInternal(n)}}]),t}(),h=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this)).power=2,r.power=t,r}return v(n,[{key:"applyInternal",value:function(t){return t<=.5?Math.pow(2*t,this.power)/2:Math.pow(2*(t-1),this.power)/(this.power%2==0?-2:2)+1}}]),n}(c),f=function(t){u(n,t);var e=g(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"applyInternal",value:function(t){return Math.pow(t-1,this.power)*(this.power%2==0?-1:1)+1}}]),n}(h),m=function(){function t(){d(this,t)}return v(t,null,[{key:"arrayCopy",value:function(t,e,n,r,i){for(var a=e,o=r;a<e+i;a++,o++)n[o]=t[a]}},{key:"arrayFill",value:function(t,e,n,r){for(var i=e;i<n;i++)t[i]=r}},{key:"setArraySize",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t.length;if(r==e)return t;if(t.length=e,r<e)for(var i=r;i<e;i++)t[i]=n;return t}},{key:"ensureArrayCapacity",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e.length>=n?e:t.setArraySize(e,n,r)}},{key:"newArray",value:function(t,e){for(var n=new Array(t),r=0;r<t;r++)n[r]=e;return n}},{key:"newFloatArray",value:function(e){if(t.SUPPORTS_TYPED_ARRAYS)return new Float32Array(e);for(var n=new Array(e),r=0;r<n.length;r++)n[r]=0;return n}},{key:"newShortArray",value:function(e){if(t.SUPPORTS_TYPED_ARRAYS)return new Int16Array(e);for(var n=new Array(e),r=0;r<n.length;r++)n[r]=0;return n}},{key:"toFloatArray",value:function(e){return t.SUPPORTS_TYPED_ARRAYS?new Float32Array(e):e}},{key:"toSinglePrecision",value:function(e){return t.SUPPORTS_TYPED_ARRAYS?Math.fround(e):e}},{key:"webkit602BugfixHelper",value:function(t,e){}},{key:"contains",value:function(t,e){for(var n=0;n<t.length;n++)if(t[n]==e)return!0;return!1}},{key:"enumValue",value:function(t,e){return t[e[0].toUpperCase()+e.slice(1)]}}]),t}(),y=m;y.SUPPORTS_TYPED_ARRAYS="undefined"!==typeof Float32Array;var A=function(){function t(){d(this,t)}return v(t,null,[{key:"logBones",value:function(t){for(var e=0;e<t.bones.length;e++){var n=t.bones[e];console.log(n.data.name+", "+n.a+", "+n.b+", "+n.c+", "+n.d+", "+n.worldX+", "+n.worldY)}}}]),t}(),x=function(){function t(e){d(this,t),this.items=new Array,this.instantiator=e}return v(t,[{key:"obtain",value:function(){return this.items.length>0?this.items.pop():this.instantiator()}},{key:"free",value:function(t){t.reset&&t.reset(),this.items.push(t)}},{key:"freeAll",value:function(t){for(var e=0;e<t.length;e++)this.free(t[e])}},{key:"clear",value:function(){this.items.length=0}}]),t}(),b=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,t),this.x=e,this.y=n}return v(t,[{key:"set",value:function(t,e){return this.x=t,this.y=e,this}},{key:"length",value:function(){var t=this.x,e=this.y;return Math.sqrt(t*t+e*e)}},{key:"normalize",value:function(){var t=this.length();return 0!=t&&(this.x/=t,this.y/=t),this}}]),t}(),w=function(){function t(){d(this,t),this.maxDelta=.064,this.framesPerSecond=0,this.delta=0,this.totalTime=0,this.lastTime=Date.now()/1e3,this.frameCount=0,this.frameTime=0}return v(t,[{key:"update",value:function(){var t=Date.now()/1e3;this.delta=t-this.lastTime,this.frameTime+=this.delta,this.totalTime+=this.delta,this.delta>this.maxDelta&&(this.delta=this.maxDelta),this.lastTime=t,this.frameCount++,this.frameTime>1&&(this.framesPerSecond=this.frameCount/this.frameTime,this.frameTime=0,this.frameCount=0)}}]),t}(),L=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;d(this,t),this.addedValues=0,this.lastValue=0,this.mean=0,this.dirty=!0,this.values=new Array(e)}return v(t,[{key:"hasEnoughData",value:function(){return this.addedValues>=this.values.length}},{key:"addValue",value:function(t){this.addedValues<this.values.length&&this.addedValues++,this.values[this.lastValue++]=t,this.lastValue>this.values.length-1&&(this.lastValue=0),this.dirty=!0}}
1,{key:"getMean",value:function(){if(this.hasEnoughData()){if(this.dirty){for(var t=0,e=0;e<this.values.length;e++)t+=this.values[e];this.mean=t/this.values.length,this.dirty=!1}return this.mean}return 0}}]),t}(),k=function t(e){if(d(this,t),!e)throw new Error("name cannot be null.");this.name=e},C=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t)).id=n.nextID++,r.bones=null,r.vertices=null,r.worldVerticesLength=0,r.deformAttachment=o(r),r}return v(n,[{key:"computeWorldVertices",value:function(t,e,n,r,i,a){n=i+(n>>1)*a;var o=t.bone.skeleton,s=t.deform,u=this.vertices,l=this.bones;if(l){for(var c=0,h=0,d=0;d<e;d+=2){var f=l[c];c+=f+1,h+=f}var v=o.bones;if(0==s.length)for(var p=i,m=3*h;p<n;p+=a){var g=0,y=0,A=l[c++];for(A+=c;c<A;c++,m+=3){var x=v[l[c]],b=u[m],w=u[m+1],L=u[m+2];g+=(b*x.a+w*x.b+x.worldX)*L,y+=(b*x.c+w*x.d+x.worldY)*L}r[p]=g,r[p+1]=y}else for(var k=s,C=i,E=3*h,S=h<<1;C<n;C+=a){var M=0,T=0,R=l[c++];for(R+=c;c<R;c++,E+=3,S+=2){var P=v[l[c]],I=u[E]+k[S],O=u[E+1]+k[S+1],B=u[E+2];M+=(I*P.a+O*P.b+P.worldX)*B,T+=(I*P.c+O*P.d+P.worldY)*B}r[C]=M,r[C+1]=T}}else{s.length>0&&(u=s);for(var F=t.bone,D=F.worldX,V=F.worldY,Y=F.a,X=F.b,U=F.c,j=F.d,Z=e,N=i;N<n;Z+=2,N+=a){var z=u[Z],_=u[Z+1];r[N]=z*Y+_*X+D,r[N+1]=z*U+_*j+V}}}},{key:"copyTo",value:function(t){this.bones?(t.bones=new Array(this.bones.length),y.arrayCopy(this.bones,0,t.bones,0,this.bones.length)):t.bones=null,this.vertices?(t.vertices=y.newFloatArray(this.vertices.length),y.arrayCopy(this.vertices,0,t.vertices,0,this.vertices.length)):t.vertices=null,t.worldVerticesLength=this.worldVerticesLength,t.deformAttachment=this.deformAttachment}}]),n}(k);C.nextID=0;var E,S,M,T,R=function(){function t(e,n,r){if(d(this,t),this.timelines=null,this.timelineIds=null,!e)throw new Error("name cannot be null.");this.name=e,this.setTimelines(n),this.duration=r}return v(t,[{key:"setTimelines",value:function(t){if(!t)throw new Error("timelines cannot be null.");this.timelines=t,this.timelineIds=new r;for(var e=0;e<t.length;e++)this.timelineIds.addAll(t[e].getPropertyIds())}},{key:"hasTimeline",value:function(t){for(var e=0;e<t.length;e++)if(this.timelineIds.contains(t[e]))return!0;return!1}},{key:"apply",value:function(t,e,n,r,i,a,o,s){if(!t)throw new Error("skeleton cannot be null.");r&&0!=this.duration&&(n%=this.duration,e>0&&(e%=this.duration));for(var u=this.timelines,l=0,c=u.length;l<c;l++)u[l].apply(t,e,n,i,a,o,s)}}]),t}();(S=E||(E={}))[S.setup=0]="setup",S[S.first=1]="first",S[S.replace=2]="replace",S[S.add=3]="add",(T=M||(M={}))[T.mixIn=0]="mixIn",T[T.mixOut=1]="mixOut";var P=0,I=1,O=2,B=3,F=4,D=5,V=6,Y=7,X=8,U=9,j=10,Z=11,N=12,z=13,_=14,W=15,G=16,H=17,q=18,J=function(){function t(e,n){d(this,t),this.propertyIds=null,this.frames=null,this.propertyIds=n,this.frames=y.newFloatArray(e*this.getFrameEntries())}return v(t,[{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(t,e){for(var n=t.length,r=1;r<n;r++)if(t[r]>e)return r-1;return n-1}},{key:"search",value:function(t,e,n){for(var r=t.length,i=n;i<r;i+=n)if(t[i]>e)return i-n;return r-n}}]),t}(),K=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,i)).curves=null,a.curves=y.newFloatArray(t+18*r),a.curves[t-1]=1,a}return v(n,[{key:"setLinear",value:function(t){this.curves[t]=0}},{key:"setStepped",value:function(t){this.curves[t]=1}},{key:"shrink",value:function(t){var e=this.getFrameCount()+18*t;if(this.curves.length>e){var n=y.newFloatArray(e);y.arrayCopy(this.curves,0,n,0,e),this.curves=n}}},{key:"setBezier",value:function(t,e,n,r,i,a,o,s,u,l,c){var h=this.curves,d=this.getFrameCount()+18*t;0==n&&(h[e]=2+d);for(var f=.03*(r-2*a+s),v=.03*(i-2*o+u),p=.006*(3*(a-s)-r+l),m=.006*(3*(o-u)-i+c),g=2*f+p,y=2*v+m,A=.3*(a-r)+f+.16666667*p,x=.3*(o-i)+v+.16666667*m,b=r+A,w=i+x,L=d+18;d<L;d+=2)h[d]=b,h[d+1]=w,A+=g,x+=y,g+=p,y+=m,b+=A,w+=x}},{key:"getBezierValue",value:function(t,e,n,r){var i=this.curves;if(i[r]>t){var a=this.frames[e],o=this.frames[e+n];return o+(t-a)/(i[r]-a)*(i[r+1]-o)}var s=r+18;for(r+=2;r<s;r+=2)if(i[r]>=t){var u=i[r-2],l=i[r-1];return l+(t-u)/(i[r]-u)*(i[r+1]-l)}e+=this.getFrameEntries();var c=i[s-2],h=i[s-1];return h+(t-c)/(this.frames[e]-c)*(this.frames[e+n]-h)}}]),n}(J),Q=function(t){u(n,t);var e=g(n);function n(t,r,i){return d(this,n),e.call(this,t,r,[i])}return v(n,[{key:"getFrameEntries",value:function(){return 2}},{key:"setFrame",value:function(t,e,n){t<<=1,this.frames[t]=e,this.frames[t+1]=n}},{key:"getCurveValue",value:function(t){for(var e=this.frames,n=e.length-2,r=2;r<=n;r+=2)if(e[r]>t){n=r-2;break}var i=this.curves[n>>1];switch(i){case 0:var a=e[n],o=e[n+1];return o+(t-a)/(e[n+2]-a)*(e[n+2+1]-o);case 1:return e[n+1]}return this.getBezierValue(t,n,1,i-2)}}]),n}(K),$=function(t){u(n,t);var e=g(n);function n(t,r,i,a){return d(this,n),e.call(this,t,r,[i,a])}return v(n,[{key:"getFrameEntries",value:function(){return 3}},{key:"setFrame",value:function(t,e,n,r){t*=3,this.frames[t]=e,this.frames[t+1]=n,this.frames[t+2]=r}}]),n}(K),tt=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,P+"|"+i)).boneIndex=0,a.boneIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.bones[this.boneIndex];if(s.active)if(n<this.frames[0])switch(a){case 0:return void(s.rotation=s.data.rotation);case 1:s.rotation+=(s.data.rotation-s.rotation)*i}else{var u=this.getCurveValue(n);switch(a){case 0:s.rotation=s.data.rotation+u*i;break;case 1:case 2:u+=s.data.rotation-s.rotation;case 3:s.rotation+=u*i}}}}]),n}(Q),et=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,I+"|"+i,O+"|"+i)).boneIndex=0,a.boneIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.bones[this.boneIndex];if(s.active){var u=this.frames;if(n<u[0])switch(a){case 0:return s.x=s.data.x,void(s.y=s.data.y);case 1:s.x+=(s.data.x-s.x)*i,s.y+=(s.data.y-s.y)*i}else{var l=0,c=0,h=J.search(u,n,3),d=this.curves[h/3];switch(d){case 0:var f=u[h];l=u[h+1],c=u[h+2];var v=(n-f)/(u[h+3]-f);l+=(u[h+3+1]-l)*v,c+=(u[h+3+2]-c)*v;break;case 1:l=u[h+1],c=u[h+2];break;
1default:l=this.getBezierValue(n,h,1,d-2),c=this.getBezierValue(n,h,2,d+18-2)}switch(a){case 0:s.x=s.data.x+l*i,s.y=s.data.y+c*i;break;case 1:case 2:s.x+=(s.data.x+l-s.x)*i,s.y+=(s.data.y+c-s.y)*i;break;case 3:s.x+=l*i,s.y+=c*i}}}}}]),n}($),nt=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,I+"|"+i)).boneIndex=0,a.boneIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.bones[this.boneIndex];if(s.active)if(n<this.frames[0])switch(a){case 0:return void(s.x=s.data.x);case 1:s.x+=(s.data.x-s.x)*i}else{var u=this.getCurveValue(n);switch(a){case 0:s.x=s.data.x+u*i;break;case 1:case 2:s.x+=(s.data.x+u-s.x)*i;break;case 3:s.x+=u*i}}}}]),n}(Q),rt=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,O+"|"+i)).boneIndex=0,a.boneIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.bones[this.boneIndex];if(s.active)if(n<this.frames[0])switch(a){case 0:return void(s.y=s.data.y);case 1:s.y+=(s.data.y-s.y)*i}else{var u=this.getCurveValue(n);switch(a){case 0:s.y=s.data.y+u*i;break;case 1:case 2:s.y+=(s.data.y+u-s.y)*i;break;case 3:s.y+=u*i}}}}]),n}(Q),it=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,B+"|"+i,F+"|"+i)).boneIndex=0,a.boneIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.bones[this.boneIndex];if(s.active){var u=this.frames;if(n<u[0])switch(a){case 0:return s.scaleX=s.data.scaleX,void(s.scaleY=s.data.scaleY);case 1:s.scaleX+=(s.data.scaleX-s.scaleX)*i,s.scaleY+=(s.data.scaleY-s.scaleY)*i}else{var c,h,d=J.search(u,n,3),f=this.curves[d/3];switch(f){case 0:var v=u[d];c=u[d+1],h=u[d+2];var p=(n-v)/(u[d+3]-v);c+=(u[d+3+1]-c)*p,h+=(u[d+3+2]-h)*p;break;case 1:c=u[d+1],h=u[d+2];break;default:c=this.getBezierValue(n,d,1,f-2),h=this.getBezierValue(n,d,2,f+18-2)}if(c*=s.data.scaleX,h*=s.data.scaleY,1==i)3==a?(s.scaleX+=c-s.data.scaleX,s.scaleY+=h-s.data.scaleY):(s.scaleX=c,s.scaleY=h);else{var m=0,g=0;if(1==o)switch(a){case 0:m=s.data.scaleX,g=s.data.scaleY,s.scaleX=m+(Math.abs(c)*l.signum(m)-m)*i,s.scaleY=g+(Math.abs(h)*l.signum(g)-g)*i;break;case 1:case 2:m=s.scaleX,g=s.scaleY,s.scaleX=m+(Math.abs(c)*l.signum(m)-m)*i,s.scaleY=g+(Math.abs(h)*l.signum(g)-g)*i;break;case 3:s.scaleX+=(c-s.data.scaleX)*i,s.scaleY+=(h-s.data.scaleY)*i}else switch(a){case 0:m=Math.abs(s.data.scaleX)*l.signum(c),g=Math.abs(s.data.scaleY)*l.signum(h),s.scaleX=m+(c-m)*i,s.scaleY=g+(h-g)*i;break;case 1:case 2:m=Math.abs(s.scaleX)*l.signum(c),g=Math.abs(s.scaleY)*l.signum(h),s.scaleX=m+(c-m)*i,s.scaleY=g+(h-g)*i;break;case 3:s.scaleX+=(c-s.data.scaleX)*i,s.scaleY+=(h-s.data.scaleY)*i}}}}}}]),n}($),at=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,B+"|"+i)).boneIndex=0,a.boneIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.bones[this.boneIndex];if(s.active)if(n<this.frames[0])switch(a){case 0:return void(s.scaleX=s.data.scaleX);case 1:s.scaleX+=(s.data.scaleX-s.scaleX)*i}else{var u=this.getCurveValue(n)*s.data.scaleX;if(1==i)3==a?s.scaleX+=u-s.data.scaleX:s.scaleX=u;else{var c=0;if(1==o)switch(a){case 0:c=s.data.scaleX,s.scaleX=c+(Math.abs(u)*l.signum(c)-c)*i;break;case 1:case 2:c=s.scaleX,s.scaleX=c+(Math.abs(u)*l.signum(c)-c)*i;break;case 3:s.scaleX+=(u-s.data.scaleX)*i}else switch(a){case 0:c=Math.abs(s.data.scaleX)*l.signum(u),s.scaleX=c+(u-c)*i;break;case 1:case 2:c=Math.abs(s.scaleX)*l.signum(u),s.scaleX=c+(u-c)*i;break;case 3:s.scaleX+=(u-s.data.scaleX)*i}}}}}]),n}(Q),ot=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,F+"|"+i)).boneIndex=0,a.boneIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.bones[this.boneIndex];if(s.active)if(n<this.frames[0])switch(a){case 0:return void(s.scaleY=s.data.scaleY);case 1:s.scaleY+=(s.data.scaleY-s.scaleY)*i}else{var u=this.getCurveValue(n)*s.data.scaleY;if(1==i)3==a?s.scaleY+=u-s.data.scaleY:s.scaleY=u;else{var c=0;if(1==o)switch(a){case 0:c=s.data.scaleY,s.scaleY=c+(Math.abs(u)*l.signum(c)-c)*i;break;case 1:case 2:c=s.scaleY,s.scaleY=c+(Math.abs(u)*l.signum(c)-c)*i;break;case 3:s.scaleY+=(u-s.data.scaleY)*i}else switch(a){case 0:c=Math.abs(s.data.scaleY)*l.signum(u),s.scaleY=c+(u-c)*i;break;case 1:case 2:c=Math.abs(s.scaleY)*l.signum(u),s.scaleY=c+(u-c)*i;break;case 3:s.scaleY+=(u-s.data.scaleY)*i}}}}}]),n}(Q),st=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,D+"|"+i,V+"|"+i)).boneIndex=0,a.boneIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.bones[this.boneIndex];if(s.active){var u=this.frames;if(n<u[0])switch(a){case 0:return s.shearX=s.data.shearX,void(s.shearY=s.data.shearY);case 1:s.shearX+=(s.data.shearX-s.shearX)*i,s.shearY+=(s.data.shearY-s.shearY)*i}else{var l=0,c=0,h=J.search(u,n,3),d=this.curves[h/3];switch(d){case 0:var f=u[h];l=u[h+1],c=u[h+2];var v=(n-f)/(u[h+3]-f);l+=(u[h+3+1]-l)*v,c+=(u[h+3+2]-c)*v;break;case 1:l=u[h+1],c=u[h+2];break;
1default:l=this.getBezierValue(n,h,1,d-2),c=this.getBezierValue(n,h,2,d+18-2)}switch(a){case 0:s.shearX=s.data.shearX+l*i,s.shearY=s.data.shearY+c*i;break;case 1:case 2:s.shearX+=(s.data.shearX+l-s.shearX)*i,s.shearY+=(s.data.shearY+c-s.shearY)*i;break;case 3:s.shearX+=l*i,s.shearY+=c*i}}}}}]),n}($),ut=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,D+"|"+i)).boneIndex=0,a.boneIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.bones[this.boneIndex];if(s.active)if(n<this.frames[0])switch(a){case 0:return void(s.shearX=s.data.shearX);case 1:s.shearX+=(s.data.shearX-s.shearX)*i}else{var u=this.getCurveValue(n);switch(a){case 0:s.shearX=s.data.shearX+u*i;break;case 1:case 2:s.shearX+=(s.data.shearX+u-s.shearX)*i;break;case 3:s.shearX+=u*i}}}}]),n}(Q),lt=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,V+"|"+i)).boneIndex=0,a.boneIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.bones[this.boneIndex];if(s.active)if(n<this.frames[0])switch(a){case 0:return void(s.shearY=s.data.shearY);case 1:s.shearY+=(s.data.shearY-s.shearY)*i}else{var u=this.getCurveValue(n);switch(a){case 0:s.shearY=s.data.shearY+u*i;break;case 1:case 2:s.shearY+=(s.data.shearY+u-s.shearY)*i;break;case 3:s.shearY+=u*i}}}}]),n}(Q),ct=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,[Y+"|"+i,X+"|"+i])).slotIndex=0,a.slotIndex=i,a}return v(n,[{key:"getFrameEntries",value:function(){return 5}},{key:"setFrame",value:function(t,e,n,r,i,a){t*=5,this.frames[t]=e,this.frames[t+1]=n,this.frames[t+2]=r,this.frames[t+3]=i,this.frames[t+4]=a}},{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.slots[this.slotIndex];if(s.bone.active){var u=this.frames,l=s.color;if(n<u[0]){var c=s.data.color;switch(a){case 0:return void l.setFromColor(c);case 1:l.add((c.r-l.r)*i,(c.g-l.g)*i,(c.b-l.b)*i,(c.a-l.a)*i)}}else{var h=0,d=0,f=0,v=0,p=J.search(u,n,5),m=this.curves[p/5];switch(m){case 0:var g=u[p];h=u[p+1],d=u[p+2],f=u[p+3],v=u[p+4];var y=(n-g)/(u[p+5]-g);h+=(u[p+5+1]-h)*y,d+=(u[p+5+2]-d)*y,f+=(u[p+5+3]-f)*y,v+=(u[p+5+4]-v)*y;break;case 1:h=u[p+1],d=u[p+2],f=u[p+3],v=u[p+4];break;default:h=this.getBezierValue(n,p,1,m-2),d=this.getBezierValue(n,p,2,m+18-2),f=this.getBezierValue(n,p,3,m+36-2),v=this.getBezierValue(n,p,4,m+54-2)}1==i?l.set(h,d,f,v):(0==a&&l.setFromColor(s.data.color),l.add((h-l.r)*i,(d-l.g)*i,(f-l.b)*i,(v-l.a)*i))}}}}]),n}(K),ht=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,[Y+"|"+i])).slotIndex=0,a.slotIndex=i,a}return v(n,[{key:"getFrameEntries",value:function(){return 4}},{key:"setFrame",value:function(t,e,n,r,i){t<<=2,this.frames[t]=e,this.frames[t+1]=n,this.frames[t+2]=r,this.frames[t+3]=i}},{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.slots[this.slotIndex];if(s.bone.active){var u=this.frames,l=s.color;if(n<u[0]){var c=s.data.color;switch(a){case 0:return l.r=c.r,l.g=c.g,void(l.b=c.b);case 1:l.r+=(c.r-l.r)*i,l.g+=(c.g-l.g)*i,l.b+=(c.b-l.b)*i}}else{var h=0,d=0,f=0,v=J.search(u,n,4),p=this.curves[v>>2];switch(p){case 0:var m=u[v];h=u[v+1],d=u[v+2],f=u[v+3];var g=(n-m)/(u[v+4]-m);h+=(u[v+4+1]-h)*g,d+=(u[v+4+2]-d)*g,f+=(u[v+4+3]-f)*g;break;case 1:h=u[v+1],d=u[v+2],f=u[v+3];break;default:h=this.getBezierValue(n,v,1,p-2),d=this.getBezierValue(n,v,2,p+18-2),f=this.getBezierValue(n,v,3,p+36-2)}if(1==i)l.r=h,l.g=d,l.b=f;else{if(0==a){var y=s.data.color;l.r=y.r,l.g=y.g,l.b=y.b}l.r+=(h-l.r)*i,l.g+=(d-l.g)*i,l.b+=(f-l.b)*i}}}}}]),n}(K),dt=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,X+"|"+i)).slotIndex=0,a.slotIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.slots[this.slotIndex];if(s.bone.active){var u=s.color;if(n<this.frames[0]){var l=s.data.color;switch(a){case 0:return void(u.a=l.a);case 1:u.a+=(l.a-u.a)*i}}else{var c=this.getCurveValue(n);1==i?u.a=c:(0==a&&(u.a=s.data.color.a),u.a+=(c-u.a)*i)}}}}]),n}(Q),ft=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,[Y+"|"+i,X+"|"+i,U+"|"+i])).slotIndex=0,a.slotIndex=i,a}return v(n,[{key:"getFrameEntries",value:function(){return 8}},{key:"setFrame",value:function(t,e,n,r,i,a,o,s,u){t<<=3,this.frames[t]=e,this.frames[t+1]=n,this.frames[t+2]=r,this.frames[t+3]=i,this.frames[t+4]=a,this.frames[t+5]=o,this.frames[t+6]=s,this.frames[t+7]=u}},{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.slots[this.slotIndex];if(s.bone.active){var u=this.frames,l=s.color,c=s.darkColor;if(n<u[0]){var h=s.data.color,d=s.data.darkColor;switch(a){case 0:return l.setFromColor(h),c.r=d.r,c.g=d.g,void(c.b=d.b);case 1:l.add((h.r-l.r)*i,(h.g-l.g)*i,(h.b-l.b)*i,(h.a-l.a)*i),c.r+=(d.r-c.r)*i,c.g+=(d.g-c.g)*i,c.b+=(d.b-c.b)*i}}else{var f=0,v=0,p=0,m=0,g=0,y=0,A=0,x=J.search(u,n,8),b=this.curves[x>>3];switch(b){case 0:var w=u[x];f=u[x+1],v=u[x+2],p=u[x+3],m=u[x+4],g=u[x+5],y=u[x+6],A=u[x+7];var L=(n-w)/(u[x+8]-w);f+=(u[x+8+1]-f)*L,v+=(u[x+8+2]-v)*L,p+=(u[x+8+3]-p)*L,m+=(u[x+8+4]-m)*L,g+=(u[x+8+5]-g)*L,y+=(u[x+8+6]-y)*L,A+=(u[x+8+7]-A)*L;break;case 1:f=u[x+1],v=u[x+2],p=u[x+3],m=u[x+4],g=u[x+5],y=u[x+6],A=u[x+7];break;default:f=this.getBezierValue(n,x,1,b-2),v=this.getBezierValue(n,x,2,b+18-2),p=this.getBezierValue(n,x,3,b+36-2),m=this.getBezierValue(n,x,4,b+54-2),g=this.getBezierValue(n,x,5,b+72-2),y=this.getBezierValue(n,x,6,b+90-2),A=this.getBezierValue(n,x,7,b+108-2)}if(1==i)l.set(f,v,p,m),c.r=g,c.g=y,c.b=A;else{if(0==a){l.setFromColor(s.data.color);var k=s.data.darkColor;c.r=k.r,c.g=k.g,c.b=k.b}l.add((f-l.r)*i,(v-l.g)*i,(p-l.b)*i,(m-l.a)*i),c.r+=(g-c.r)*i,c.g+=(y-c.g)*i,
1c.b+=(A-c.b)*i}}}}}]),n}(K),vt=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,[Y+"|"+i,U+"|"+i])).slotIndex=0,a.slotIndex=i,a}return v(n,[{key:"getFrameEntries",value:function(){return 7}},{key:"setFrame",value:function(t,e,n,r,i,a,o,s){t*=7,this.frames[t]=e,this.frames[t+1]=n,this.frames[t+2]=r,this.frames[t+3]=i,this.frames[t+4]=a,this.frames[t+5]=o,this.frames[t+6]=s}},{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.slots[this.slotIndex];if(s.bone.active){var u=this.frames,l=s.color,c=s.darkColor;if(n<u[0]){var h=s.data.color,d=s.data.darkColor;switch(a){case 0:return l.r=h.r,l.g=h.g,l.b=h.b,c.r=d.r,c.g=d.g,void(c.b=d.b);case 1:l.r+=(h.r-l.r)*i,l.g+=(h.g-l.g)*i,l.b+=(h.b-l.b)*i,c.r+=(d.r-c.r)*i,c.g+=(d.g-c.g)*i,c.b+=(d.b-c.b)*i}}else{var f=0,v=0,p=0,m=0,g=0,y=0,A=J.search(u,n,7),x=this.curves[A/7];switch(x){case 0:var b=u[A];f=u[A+1],v=u[A+2],p=u[A+3],m=u[A+4],g=u[A+5],y=u[A+6];var w=(n-b)/(u[A+7]-b);f+=(u[A+7+1]-f)*w,v+=(u[A+7+2]-v)*w,p+=(u[A+7+3]-p)*w,m+=(u[A+7+4]-m)*w,g+=(u[A+7+5]-g)*w,y+=(u[A+7+6]-y)*w;break;case 1:f=u[A+1],v=u[A+2],p=u[A+3],m=u[A+4],g=u[A+5],y=u[A+6];break;default:f=this.getBezierValue(n,A,1,x-2),v=this.getBezierValue(n,A,2,x+18-2),p=this.getBezierValue(n,A,3,x+36-2),m=this.getBezierValue(n,A,4,x+54-2),g=this.getBezierValue(n,A,5,x+72-2),y=this.getBezierValue(n,A,6,x+90-2)}if(1==i)l.r=f,l.g=v,l.b=p,c.r=m,c.g=g,c.b=y;else{if(0==a){var L=s.data.color,k=s.data.darkColor;l.r=L.r,l.g=L.g,l.b=L.b,c.r=k.r,c.g=k.g,c.b=k.b}l.r+=(f-l.r)*i,l.g+=(v-l.g)*i,l.b+=(p-l.b)*i,c.r+=(m-c.r)*i,c.g+=(g-c.g)*i,c.b+=(y-c.b)*i}}}}}]),n}(K),pt=function(t){u(n,t);var e=g(n);function n(t,r){var i;return d(this,n),(i=e.call(this,t,[j+"|"+r])).slotIndex=0,i.slotIndex=r,i.attachmentNames=new Array(t),i}return v(n,[{key:"getFrameCount",value:function(){return this.frames.length}},{key:"setFrame",value:function(t,e,n){this.frames[t]=e,this.attachmentNames[t]=n}},{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.slots[this.slotIndex];s.bone.active&&(1!=o?n<this.frames[0]?0!=a&&1!=a||this.setAttachment(t,s,s.data.attachmentName):this.setAttachment(t,s,this.attachmentNames[J.search1(this.frames,n)]):0==a&&this.setAttachment(t,s,s.data.attachmentName))}},{key:"setAttachment",value:function(t,e,n){e.setAttachment(n?t.getAttachment(this.slotIndex,n):null)}}]),n}(J),mt=function(t){u(n,t);var e=g(n);function n(t,r,i,a){var o;return d(this,n),(o=e.call(this,t,r,[Z+"|"+i+"|"+a.id])).slotIndex=0,o.attachment=null,o.vertices=null,o.slotIndex=i,o.attachment=a,o.vertices=new Array(t),o}return v(n,[{key:"getFrameCount",value:function(){return this.frames.length}},{key:"setFrame",value:function(t,e,n){this.frames[t]=e,this.vertices[t]=n}},{key:"setBezier",value:function(t,e,n,r,i,a,o,s,u,l,c){var h=this.curves,d=this.getFrameCount()+18*t;0==n&&(h[e]=2+d);for(var f=.03*(r-2*a+s),v=.03*u-.06*o,p=.006*(3*(a-s)-r+l),m=.018*(o-u+.33333333),g=2*f+p,y=2*v+m,A=.3*(a-r)+f+.16666667*p,x=.3*o+v+.16666667*m,b=r+A,w=x,L=d+18;d<L;d+=2)h[d]=b,h[d+1]=w,A+=g,x+=y,g+=p,y+=m,b+=A,w+=x}},{key:"getCurvePercent",value:function(t,e){var n=this.curves,r=n[e];switch(r){case 0:var i=this.frames[e];return(t-i)/(this.frames[e+this.getFrameEntries()]-i);case 1:return 0}if(n[r-=2]>t){var a=this.frames[e];return n[r+1]*(t-a)/(n[r]-a)}var o=r+18;for(r+=2;r<o;r+=2)if(n[r]>=t){var s=n[r-2],u=n[r-1];return u+(t-s)/(n[r]-s)*(n[r+1]-u)}var l=n[o-2],c=n[o-1];return c+(1-c)*(t-l)/(this.frames[e+this.getFrameEntries()]-l)}},{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.slots[this.slotIndex];if(s.bone.active){var u=s.getAttachment();if(u instanceof C&&u.deformAttachment==this.attachment){var l=s.deform;0==l.length&&(a=0);var c=this.vertices,h=c[0].length,d=this.frames;if(n<d[0]){var f=u;switch(a){case 0:return void(l.length=0);case 1:if(1==i)return void(l.length=0);if(l.length=h,f.bones){i=1-i;for(p=0;p<h;p++)l[p]*=i}else for(var v=f.vertices,p=0;p<h;p++)l[p]+=(v[p]-l[p])*i}}else if(l.length=h,n>=d[d.length-1]){var m=c[d.length-1];if(1==i)if(3==a){var g=u;if(g.bones)for(var A=0;A<h;A++)l[A]+=m[A];else for(var x=g.vertices,b=0;b<h;b++)l[b]+=m[b]-x[b]}else y.arrayCopy(m,0,l,0,h);else switch(a){case 0:var w=u;if(w.bones)for(var L=0;L<h;L++)l[L]=m[L]*i;else for(var k=w.vertices,E=0;E<h;E++){var S=k[E];l[E]=S+(m[E]-S)*i}break;case 1:case 2:for(var M=0;M<h;M++)l[M]+=(m[M]-l[M])*i;break;case 3:var T=u;if(T.bones)for(var R=0;R<h;R++)l[R]+=m[R]*i;else for(var P=T.vertices,I=0;I<h;I++)l[I]+=(m[I]-P[I])*i}}else{var O=J.search1(d,n),B=this.getCurvePercent(n,O),F=c[O],D=c[O+1];if(1==i)if(3==a){var V=u;if(V.bones)for(var Y=0;Y<h;Y++){var X=F[Y];l[Y]+=X+(D[Y]-X)*B}else for(var U=V.vertices,j=0;j<h;j++){var Z=F[j];l[j]+=Z+(D[j]-Z)*B-U[j]}}else for(var N=0;N<h;N++){var z=F[N];l[N]=z+(D[N]-z)*B}else switch(a){case 0:var _=u;
1if(_.bones)for(var W=0;W<h;W++){var G=F[W];l[W]=(G+(D[W]-G)*B)*i}else for(var H=_.vertices,q=0;q<h;q++){var K=F[q],Q=H[q];l[q]=Q+(K+(D[q]-K)*B-Q)*i}break;case 1:case 2:for(var $=0;$<h;$++){var tt=F[$];l[$]+=(tt+(D[$]-tt)*B-l[$])*i}break;case 3:var et=u;if(et.bones)for(var nt=0;nt<h;nt++){var rt=F[nt];l[nt]+=(rt+(D[nt]-rt)*B)*i}else for(var it=et.vertices,at=0;at<h;at++){var ot=F[at];l[at]+=(ot+(D[at]-ot)*B-it[at])*i}}}}}}}]),n}(K),gt=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t,n.propertyIds)).events=null,r.events=new Array(t),r}return v(n,[{key:"getFrameCount",value:function(){return this.frames.length}},{key:"setFrame",value:function(t,e){this.frames[t]=e.time,this.events[t]=e}},{key:"apply",value:function(t,e,n,r,i,a,o){if(r){var s=this.frames,u=this.frames.length;if(e>n)this.apply(t,e,Number.MAX_VALUE,r,i,a,o),e=-1;else if(e>=s[u-1])return;if(!(n<s[0])){var l=0;if(e<s[0])l=0;else for(var c=s[l=J.search1(s,e)+1];l>0&&s[l-1]==c;)l--;for(;l<u&&n>=s[l];l++)r.push(this.events[l])}}}}]),n}(J);gt.propertyIds=[""+N];var yt=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t,n.propertyIds)).drawOrders=null,r.drawOrders=new Array(t),r}return v(n,[{key:"getFrameCount",value:function(){return this.frames.length}},{key:"setFrame",value:function(t,e,n){this.frames[t]=e,this.drawOrders[t]=n}},{key:"apply",value:function(t,e,n,r,i,a,o){if(1!=o)if(n<this.frames[0])0!=a&&1!=a||y.arrayCopy(t.slots,0,t.drawOrder,0,t.slots.length);else{var s=this.drawOrders[J.search1(this.frames,n)];if(s)for(var u=t.drawOrder,l=t.slots,c=0,h=s.length;c<h;c++)u[c]=l[s[c]];else y.arrayCopy(t.slots,0,t.drawOrder,0,t.slots.length)}else 0==a&&y.arrayCopy(t.slots,0,t.drawOrder,0,t.slots.length)}}]),n}(J);yt.propertyIds=[""+z];var At,xt,bt=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,[_+"|"+i])).ikConstraintIndex=0,a.ikConstraintIndex=i,a}return v(n,[{key:"getFrameEntries",value:function(){return 6}},{key:"setFrame",value:function(t,e,n,r,i,a,o){t*=6,this.frames[t]=e,this.frames[t+1]=n,this.frames[t+2]=r,this.frames[t+3]=i,this.frames[t+4]=a?1:0,this.frames[t+5]=o?1:0}},{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.ikConstraints[this.ikConstraintIndex];if(s.active){var u=this.frames;if(n<u[0])switch(a){case 0:return s.mix=s.data.mix,s.softness=s.data.softness,s.bendDirection=s.data.bendDirection,s.compress=s.data.compress,void(s.stretch=s.data.stretch);case 1:s.mix+=(s.data.mix-s.mix)*i,s.softness+=(s.data.softness-s.softness)*i,s.bendDirection=s.data.bendDirection,s.compress=s.data.compress,s.stretch=s.data.stretch}else{var l=0,c=0,h=J.search(u,n,6),d=this.curves[h/6];switch(d){case 0:var f=u[h];l=u[h+1],c=u[h+2];var v=(n-f)/(u[h+6]-f);l+=(u[h+6+1]-l)*v,c+=(u[h+6+2]-c)*v;break;case 1:l=u[h+1],c=u[h+2];break;default:l=this.getBezierValue(n,h,1,d-2),c=this.getBezierValue(n,h,2,d+18-2)}0==a?(s.mix=s.data.mix+(l-s.data.mix)*i,s.softness=s.data.softness+(c-s.data.softness)*i,1==o?(s.bendDirection=s.data.bendDirection,s.compress=s.data.compress,s.stretch=s.data.stretch):(s.bendDirection=u[h+3],s.compress=0!=u[h+4],s.stretch=0!=u[h+5])):(s.mix+=(l-s.mix)*i,s.softness+=(c-s.softness)*i,0==o&&(s.bendDirection=u[h+3],s.compress=0!=u[h+4],s.stretch=0!=u[h+5]))}}}}]),n}(K),wt=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,[W+"|"+i])).transformConstraintIndex=0,a.transformConstraintIndex=i,a}return v(n,[{key:"getFrameEntries",value:function(){return 7}},{key:"setFrame",value:function(t,e,n,r,i,a,o,s){var u=this.frames;u[t*=7]=e,u[t+1]=n,u[t+2]=r,u[t+3]=i,u[t+4]=a,u[t+5]=o,u[t+6]=s}},{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.transformConstraints[this.transformConstraintIndex];if(s.active){var u=this.frames;if(n<u[0]){var l=s.data;switch(a){case 0:return s.mixRotate=l.mixRotate,s.mixX=l.mixX,s.mixY=l.mixY,s.mixScaleX=l.mixScaleX,s.mixScaleY=l.mixScaleY,void(s.mixShearY=l.mixShearY);case 1:s.mixRotate+=(l.mixRotate-s.mixRotate)*i,s.mixX+=(l.mixX-s.mixX)*i,s.mixY+=(l.mixY-s.mixY)*i,s.mixScaleX+=(l.mixScaleX-s.mixScaleX)*i,s.mixScaleY+=(l.mixScaleY-s.mixScaleY)*i,s.mixShearY+=(l.mixShearY-s.mixShearY)*i}}else{var c,h,d,f,v,p,m=J.search(u,n,7),g=this.curves[m/7];switch(g){case 0:var y=u[m];c=u[m+1],h=u[m+2],d=u[m+3],f=u[m+4],v=u[m+5],p=u[m+6];var A=(n-y)/(u[m+7]-y);c+=(u[m+7+1]-c)*A,h+=(u[m+7+2]-h)*A,d+=(u[m+7+3]-d)*A,f+=(u[m+7+4]-f)*A,v+=(u[m+7+5]-v)*A,p+=(u[m+7+6]-p)*A;break;case 1:c=u[m+1],h=u[m+2],d=u[m+3],f=u[m+4],v=u[m+5],p=u[m+6];break;default:c=this.getBezierValue(n,m,1,g-2),h=this.getBezierValue(n,m,2,g+18-2),d=this.getBezierValue(n,m,3,g+36-2),f=this.getBezierValue(n,m,4,g+54-2),v=this.getBezierValue(n,m,5,g+72-2),p=this.getBezierValue(n,m,6,g+90-2)}if(0==a){var x=s.data;s.mixRotate=x.mixRotate+(c-x.mixRotate)*i,s.mixX=x.mixX+(h-x.mixX)*i,s.mixY=x.mixY+(d-x.mixY)*i,s.mixScaleX=x.mixScaleX+(f-x.mixScaleX)*i,s.mixScaleY=x.mixScaleY+(v-x.mixScaleY)*i,s.mixShearY=x.mixShearY+(p-x.mixShearY)*i}else s.mixRotate+=(c-s.mixRotate)*i,s.mixX+=(h-s.mixX)*i,s.mixY+=(d-s.mixY)*i,s.mixScaleX+=(f-s.mixScaleX)*i,s.mixScaleY+=(v-s.mixScaleY)*i,s.mixShearY+=(p-s.mixShearY)*i}}}}]),n}(K),Lt=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,G+"|"+i)).pathConstraintIndex=0,a.pathConstraintIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.pathConstraints[this.pathConstraintIndex];if(s.active)if(n<this.frames[0])switch(a){case 0:return void(s.position=s.data.position);case 1:s.position+=(s.data.position-s.position)*i}else{var u=this.getCurveValue(n);0==a?s.position=s.data.position+(u-s.data.position)*i:s.position+=(u-s.position)*i}}}]),n}(Q),kt=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,H+"|"+i)).pathConstraintIndex=0,a.pathConstraintIndex=i,a}return v(n,[{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.pathConstraints[this.pathConstraintIndex];if(s.active)if(n<this.frames[0])switch(a){case 0:return void(s.spacing=s.data.spacing);case 1:s.spacing+=(s.data.spacing-s.spacing)*i}else{var u=this.getCurveValue(n);0==a?s.spacing=s.data.spacing+(u-s.data.spacing)*i:s.spacing+=(u-s.spacing)*i}}}]),n}(Q),Ct=function(t){u(n,t);var e=g(n);function n(t,r,i){var a;return d(this,n),(a=e.call(this,t,r,[q+"|"+i])).pathConstraintIndex=0,a.pathConstraintIndex=i,a}return v(n,[{key:"getFrameEntries",value:function(){return 4}},{key:"setFrame",value:function(t,e,n,r,i){var a=this.frames;a[t<<=2]=e,a[t+1]=n,a[t+2]=r,a[t+3]=i}},{key:"apply",value:function(t,e,n,r,i,a,o){var s=t.pathConstraints[this.pathConstraintIndex];if(s.active){var u=this.frames;
1if(n<u[0])switch(a){case 0:return s.mixRotate=s.data.mixRotate,s.mixX=s.data.mixX,void(s.mixY=s.data.mixY);case 1:s.mixRotate+=(s.data.mixRotate-s.mixRotate)*i,s.mixX+=(s.data.mixX-s.mixX)*i,s.mixY+=(s.data.mixY-s.mixY)*i}else{var l,c,h,d=J.search(u,n,4),f=this.curves[d>>2];switch(f){case 0:var v=u[d];l=u[d+1],c=u[d+2],h=u[d+3];var p=(n-v)/(u[d+4]-v);l+=(u[d+4+1]-l)*p,c+=(u[d+4+2]-c)*p,h+=(u[d+4+3]-h)*p;break;case 1:l=u[d+1],c=u[d+2],h=u[d+3];break;default:l=this.getBezierValue(n,d,1,f-2),c=this.getBezierValue(n,d,2,f+18-2),h=this.getBezierValue(n,d,3,f+36-2)}if(0==a){var m=s.data;s.mixRotate=m.mixRotate+(l-m.mixRotate)*i,s.mixX=m.mixX+(c-m.mixX)*i,s.mixY=m.mixY+(h-m.mixY)*i}else s.mixRotate+=(l-s.mixRotate)*i,s.mixX+=(c-s.mixX)*i,s.mixY+=(h-s.mixY)*i}}}}]),n}(K),Et=function(){function t(e){d(this,t),this.data=null,this.tracks=new Array,this.timeScale=1,this.unkeyedState=0,this.events=new Array,this.listeners=new Array,this.queue=new Mt(this),this.propertyIDs=new r,this.animationsChanged=!1,this.trackEntryPool=new x((function(){return new St})),this.data=e}return v(t,[{key:"update",value:function(t){t*=this.timeScale;for(var e=this.tracks,n=0,r=e.length;n<r;n++){var i=e[n];if(i){i.animationLast=i.nextAnimationLast,i.trackLast=i.nextTrackLast;var a=t*i.timeScale;if(i.delay>0){if(i.delay-=a,i.delay>0)continue;a=-i.delay,i.delay=0}var o=i.next;if(o){var s=i.trackLast-o.delay;if(s>=0){for(o.delay=0,o.trackTime+=0==i.timeScale?0:(s/i.timeScale+t)*o.timeScale,i.trackTime+=a,this.setCurrent(n,o,!0);o.mixingFrom;)o.mixTime+=t,o=o.mixingFrom;continue}}else if(i.trackLast>=i.trackEnd&&!i.mixingFrom){e[n]=null,this.queue.end(i),this.clearNext(i);continue}if(i.mixingFrom&&this.updateMixingFrom(i,t)){var u=i.mixingFrom;for(i.mixingFrom=null,u&&(u.mixingTo=null);u;)this.queue.end(u),u=u.mixingFrom}i.trackTime+=a}}this.queue.drain()}},{key:"updateMixingFrom",value:function(t,e){var n=t.mixingFrom;if(!n)return!0;var r=this.updateMixingFrom(n,e);return n.animationLast=n.nextAnimationLast,n.trackLast=n.nextTrackLast,t.mixTime>0&&t.mixTime>=t.mixDuration?(0!=n.totalAlpha&&0!=t.mixDuration||(t.mixingFrom=n.mixingFrom,n.mixingFrom&&(n.mixingFrom.mixingTo=t),t.interruptAlpha=n.interruptAlpha,this.queue.end(n)),r):(n.trackTime+=e*n.timeScale,t.mixTime+=e,!1)}},{key:"apply",value:function(t){if(!t)throw new Error("skeleton cannot be null.");this.animationsChanged&&this._animationsChanged();for(var e=this.events,n=this.tracks,r=!1,i=0,a=n.length;i<a;i++){var o=n[i];if(o&&!(o.delay>0)){r=!0;var s=0==i?E.first:o.mixBlend,u=o.alpha;o.mixingFrom?u*=this.applyMixingFrom(o,t,s):o.trackTime>=o.trackEnd&&!o.next&&(u=0);var l=o.animationLast,c=o.getAnimationTime(),h=c,d=e;o.reverse&&(h=o.animation.duration-h,d=null);var f=o.animation.timelines,v=f.length;if(0==i&&1==u||s==E.add)for(var p=0;p<v;p++){y.webkit602BugfixHelper(u,s);var m=f[p];m instanceof pt?this.applyAttachmentTimeline(m,t,h,s,!0):m.apply(t,l,h,d,u,s,M.mixIn)}else{var g=o.timelineMode,A=o.timelinesRotation.length!=v<<1;A&&(o.timelinesRotation.length=v<<1);for(var x=0;x<v;x++){var b=f[x],w=g[x]==Bt?s:E.setup;b instanceof tt?this.applyRotateTimeline(b,t,h,u,w,o.timelinesRotation,x<<1,A):b instanceof pt?this.applyAttachmentTimeline(b,t,h,s,!0):(y.webkit602BugfixHelper(u,s),b.apply(t,l,h,d,u,w,M.mixIn))}}this.queueEvents(o,c),e.length=0,o.nextAnimationLast=c,o.nextTrackLast=o.trackTime}}for(var L=this.unkeyedState+Xt,k=t.slots,C=0,S=t.slots.length;C<S;C++){var T=k[C];if(T.attachmentState==L){var R=T.data.attachmentName;T.setAttachment(R?t.getAttachment(T.data.index,R):null)}}return this.unkeyedState+=2,this.queue.drain(),r}},{key:"applyMixingFrom",value:function(t,e,n){var r=t.mixingFrom;r.mixingFrom&&this.applyMixingFrom(r,e,n);var i=0;0==t.mixDuration?(i=1,n==E.first&&(n=E.setup)):((i=t.mixTime/t.mixDuration)>1&&(i=1),n!=E.first&&(n=r.mixBlend));var a=i<r.attachmentThreshold,o=i<r.drawOrderThreshold,s=r.animation.timelines,u=s.length,l=r.alpha*t.interruptAlpha,c=l*(1-i),h=r.animationLast,d=r.getAnimationTime(),f=d,v=null;if(r.reverse?f=r.animation.duration-f:i<r.eventThreshold&&(v=this.events),n==E.add)for(var p=0;p<u;p++)s[p].apply(e,h,f,v,c,n,M.mixOut);else{var m=r.timelineMode,g=r.timelineHoldMix,A=r.timelinesRotation.length!=u<<1;A&&(r.timelinesRotation.length=u<<1),r.totalAlpha=0;for(var x=0;x<u;x++){var b=s[x],w=M.mixOut,L=void 0,k=0;switch(m[x]){case Bt:if(!o&&b instanceof yt)continue;L=n,k=c;break;case Ft:L=E.setup,k=c;break;case Dt:L=n,k=l;break;case Vt:L=E.setup,k=l;break;default:L=E.setup;var C=g[x];k=l*Math.max(0,1-C.mixTime/C.mixDuration)}r.totalAlpha+=k,b instanceof tt?this.applyRotateTimeline(b,e,f,k,L,r.timelinesRotation,x<<1,A):b instanceof pt?this.applyAttachmentTimeline(b,e,f,L,a):(y.webkit602BugfixHelper(k,n),o&&b instanceof yt&&L==E.setup&&(w=M.mixIn),b.apply(e,h,f,v,k,L,w))}}return t.mixDuration>0&&this.queueEvents(r,d),this.events.length=0,r.nextAnimationLast=d,r.nextTrackLast=r.trackTime,i}},{key:"applyAttachmentTimeline",value:function(t,e,n,r,i){var a=e.slots[t.slotIndex];a.bone.active&&(n<t.frames[0]?r!=E.setup&&r!=E.first||this.setAttachment(e,a,a.data.attachmentName,i):this.setAttachment(e,a,t.attachmentNames[J.search1(t.frames,n)],i),a.attachmentState<=this.unkeyedState&&(a.attachmentState=this.unkeyedState+Xt))}},{key:"setAttachment",value:function(t,e,n,r){e.setAttachment(n?t.getAttachment(e.data.index,n):null),r&&(e.attachmentState=this.unkeyedState+Ut)}}
1,{key:"applyRotateTimeline",value:function(t,e,n,r,i,a,o,s){if(s&&(a[o]=0),1!=r){var u=e.bones[t.boneIndex];if(u.active){var c=0,h=0;if(n<t.frames[0])switch(i){case E.setup:u.rotation=u.data.rotation;default:return;case E.first:c=u.rotation,h=u.data.rotation}else c=i==E.setup?u.data.rotation:u.rotation,h=u.data.rotation+t.getCurveValue(n);var d=0,f=h-c;if(0==(f-=360*(16384-(16384.499999999996-f/360|0))))d=a[o];else{var v=0,p=0;s?(v=0,p=f):(v=a[o],p=a[o+1]);var m=f>0,g=v>=0;l.signum(p)!=l.signum(f)&&Math.abs(p)<=90&&(Math.abs(v)>180&&(v+=360*l.signum(v)),g=m),d=f+v-v%360,g!=m&&(d+=360*l.signum(v)),a[o]=d}a[o+1]=f,u.rotation=c+d*r}}else t.apply(e,0,n,null,1,i,M.mixIn)}},{key:"queueEvents",value:function(t,e){for(var n=t.animationStart,r=t.animationEnd,i=r-n,a=t.trackLast%i,o=this.events,s=0,u=o.length;s<u;s++){var l=o[s];if(l.time<a)break;l.time>r||this.queue.event(t,l)}for((t.loop?0==i||a>t.trackTime%i:e>=r&&t.animationLast<r)&&this.queue.complete(t);s<u;s++){var c=o[s];c.time<n||this.queue.event(t,c)}}},{key:"clearTracks",value:function(){var t=this.queue.drainDisabled;this.queue.drainDisabled=!0;for(var e=0,n=this.tracks.length;e<n;e++)this.clearTrack(e);this.tracks.length=0,this.queue.drainDisabled=t,this.queue.drain()}},{key:"clearTrack",value:function(t){if(!(t>=this.tracks.length)){var e=this.tracks[t];if(e){this.queue.end(e),this.clearNext(e);for(var n=e;;){var r=n.mixingFrom;if(!r)break;this.queue.end(r),n.mixingFrom=null,n.mixingTo=null,n=r}this.tracks[e.trackIndex]=null,this.queue.drain()}}}},{key:"setCurrent",value:function(t,e,n){var r=this.expandToIndex(t);this.tracks[t]=e,e.previous=null,r&&(n&&this.queue.interrupt(r),e.mixingFrom=r,r.mixingTo=e,e.mixTime=0,r.mixingFrom&&r.mixDuration>0&&(e.interruptAlpha*=Math.min(1,r.mixTime/r.mixDuration)),r.timelinesRotation.length=0),this.queue.start(e)}},{key:"setAnimation",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.data.skeletonData.findAnimation(e);if(!r)throw new Error("Animation not found: "+e);return this.setAnimationWith(t,r,n)}},{key:"setAnimationWith",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)throw new Error("animation cannot be null.");var r=!0,i=this.expandToIndex(t);i&&(-1==i.nextTrackLast?(this.tracks[t]=i.mixingFrom,this.queue.interrupt(i),this.queue.end(i),this.clearNext(i),i=i.mixingFrom,r=!1):this.clearNext(i));var a=this.trackEntry(t,e,n,i);return this.setCurrent(t,a,r),this.queue.drain(),a}},{key:"addAnimation",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=this.data.skeletonData.findAnimation(e);if(!i)throw new Error("Animation not found: "+e);return this.addAnimationWith(t,i,n,r)}},{key:"addAnimationWith",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;
1if(!e)throw new Error("animation cannot be null.");var i=this.expandToIndex(t);if(i)for(;i.next;)i=i.next;var a=this.trackEntry(t,e,n,i);return i?(i.next=a,a.previous=i,r<=0&&(r+=i.getTrackComplete()-a.mixDuration)):(this.setCurrent(t,a,!0),this.queue.drain()),a.delay=r,a}},{key:"setEmptyAnimation",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=this.setAnimationWith(e,t.emptyAnimation(),!1);return r.mixDuration=n,r.trackEnd=n,r}},{key:"addEmptyAnimation",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=this.addAnimationWith(e,t.emptyAnimation(),!1,r);return r<=0&&(i.delay+=i.mixDuration-n),i.mixDuration=n,i.trackEnd=n,i}},{key:"setEmptyAnimations",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=this.queue.drainDisabled;this.queue.drainDisabled=!0;for(var n=0,r=this.tracks.length;n<r;n++){var i=this.tracks[n];i&&this.setEmptyAnimation(i.trackIndex,t)}this.queue.drainDisabled=e,this.queue.drain()}},{key:"expandToIndex",value:function(t){return t<this.tracks.length?this.tracks[t]:(y.ensureArrayCapacity(this.tracks,t+1,null),this.tracks.length=t+1,null)}},{key:"trackEntry",value:function(t,e,n,r){var i=this.trackEntryPool.obtain();return i.reset(),i.trackIndex=t,i.animation=e,i.loop=n,i.holdPrevious=!1,i.eventThreshold=0,i.attachmentThreshold=0,i.drawOrderThreshold=0,i.animationStart=0,i.animationEnd=e.duration,i.animationLast=-1,i.nextAnimationLast=-1,i.delay=0,i.trackTime=0,i.trackLast=-1,i.nextTrackLast=-1,i.trackEnd=Number.MAX_VALUE,i.timeScale=1,i.alpha=1,i.interruptAlpha=1,i.mixTime=0,i.mixDuration=r?this.data.getMix(r.animation,e):0,i.mixBlend=E.replace,i}},{key:"clearNext",value:function(t){for(var e=t.next;e;)this.queue.dispose(e),e=e.next;t.next=null}},{key:"_animationsChanged",value:function(){this.animationsChanged=!1,this.propertyIDs.clear();for(var t=this.tracks,e=0,n=t.length;e<n;e++){var r=t[e];if(r){for(;r.mixingFrom;)r=r.mixingFrom;do{r.mixingTo&&r.mixBlend==E.add||this.computeHold(r),r=r.mixingTo}while(r)}}}},{key:"computeHold",value:function(t){var e=t.mixingTo,n=t.animation.timelines,r=t.animation.timelines.length,i=t.timelineMode;i.length=r;var a=t.timelineHoldMix;a.length=0;var o=this.propertyIDs;if(e&&e.holdPrevious)for(var s=0;s<r;s++)i[s]=o.addAll(n[s].getPropertyIds())?Vt:Dt;else t:for(var u=0;u<r;u++){var l=n[u],c=l.getPropertyIds();if(o.addAll(c))if(!e||l instanceof pt||l instanceof yt||l instanceof gt||!e.animation.hasTimeline(c))i[u]=Ft;else{for(var h=e.mixingTo;h;h=h.mixingTo)if(!h.animation.hasTimeline(c)){if(t.mixDuration>0){i[u]=Yt,a[u]=h;continue t}break}i[u]=Vt}else i[u]=Bt}}},{key:"getCurrent",value:function(t){return t>=this.tracks.length?null:this.tracks[t]}},{key:"addListener",value:function(t){if(!t)throw new Error("listener cannot be null.");this.listeners.push(t)}},{key:"removeListener",value:function(t){var e=this.listeners.indexOf(t);e>=0&&this.listeners.splice(e,1)}},{key:"clearListeners",value:function(){this.listeners.length=0}},{key:"clearListenerNotifications",value:function(){this.queue.clear()}}],[{key:"emptyAnimation",value:function(){return jt||(jt=new R("<empty>",[],0)),jt}}]),t}(),St=function(){function t(){d(this,t),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.eventThreshold=0,this.attachmentThreshold=0,this.drawOrderThreshold=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=E.replace,this.timelineMode=new Array,this.timelineHoldMix=new Array,this.timelinesRotation=new Array}return v(t,[{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 t=this.animationEnd-this.animationStart;return 0==t?this.animationStart:this.trackTime%t+this.animationStart}return Math.min(this.trackTime+this.animationStart,this.animationEnd)}},{key:"setAnimationLast",value:function(t){this.animationLast=t,this.nextAnimationLast=t}},{key:"isComplete",value:function(){return this.trackTime>=this.animationEnd-this.animationStart}},{key:"resetRotationDirections",value:function(){this.timelinesRotation.length=0}},{key:"getTrackComplete",value:function(){var t=this.animationEnd-this.animationStart;if(0!=t){if(this.loop)return t*(1+(this.trackTime/t|0));if(this.trackTime<t)return t}return this.trackTime}}]),t}(),Mt=function(){function t(e){d(this,t),this.objects=[],this.drainDisabled=!1,this.animState=null,this.animState=e}return v(t,[{key:"start",value:function(t){this.objects.push(At.start),this.objects.push(t),this.animState.animationsChanged=!0}},{key:"interrupt",value:function(t){this.objects.push(At.interrupt),this.objects.push(t)}},{key:"end",value:function(t){this.objects.push(At.end),this.objects.push(t),this.animState.animationsChanged=!0}},{key:"dispose",value:function(t){this.objects.push(At.dispose),this.objects.push(t)}},{key:"complete",value:function(t){this.objects.push(At.complete),this.objects.push(t)}},{key:"event",value:function(t,e){this.objects.push(At.event),this.objects.push(t),this.objects.push(e)}},{key:"drain",value:function(){if(!this.drainDisabled){this.drainDisabled=!0;for(var t=this.objects,e=this.animState.listeners,n=0;n<t.length;n+=2){var r=t[n],i=t[n+1];switch(r){case At.start:i.listener&&i.listener.start&&i.listener.start(i);for(var a=0;a<e.length;a++)e[a].start&&e[a].start(i);break;case At.interrupt:i.listener&&i.listener.interrupt&&i.listener.interrupt(i);for(var o=0;o<e.length;
1o++)e[o].interrupt&&e[o].interrupt(i);break;case At.end:i.listener&&i.listener.end&&i.listener.end(i);for(var s=0;s<e.length;s++)e[s].end&&e[s].end(i);case At.dispose:i.listener&&i.listener.dispose&&i.listener.dispose(i);for(var u=0;u<e.length;u++)e[u].dispose&&e[u].dispose(i);this.animState.trackEntryPool.free(i);break;case At.complete:i.listener&&i.listener.complete&&i.listener.complete(i);for(var l=0;l<e.length;l++)e[l].complete&&e[l].complete(i);break;case At.event:var c=t[2+n++];i.listener&&i.listener.event&&i.listener.event(i,c);for(var h=0;h<e.length;h++)e[h].event&&e[h].event(i,c)}}this.clear(),this.drainDisabled=!1}}},{key:"clear",value:function(){this.objects.length=0}}]),t}();(xt=At||(At={}))[xt.start=0]="start",xt[xt.interrupt=1]="interrupt",xt[xt.end=2]="end",xt[xt.dispose=3]="dispose",xt[xt.complete=4]="complete",xt[xt.event=5]="event";var Tt,Rt,Pt,It,Ot=function(){function t(){d(this,t)}return v(t,[{key:"start",value:function(t){}},{key:"interrupt",value:function(t){}},{key:"end",value:function(t){}},{key:"dispose",value:function(t){}},{key:"complete",value:function(t){}},{key:"event",value:function(t,e){}}]),t}(),Bt=0,Ft=1,Dt=2,Vt=3,Yt=4,Xt=1,Ut=2,jt=null,Zt=function(){function t(e){if(d(this,t),this.skeletonData=null,this.animationToMixTime={},this.defaultMix=0,!e)throw new Error("skeletonData cannot be null.");this.skeletonData=e}return v(t,[{key:"setMix",value:function(t,e,n){var r=this.skeletonData.findAnimation(t);if(!r)throw new Error("Animation not found: "+t);var i=this.skeletonData.findAnimation(e);if(!i)throw new Error("Animation not found: "+e);this.setMixWith(r,i,n)}},{key:"setMixWith",value:function(t,e,n){if(!t)throw new Error("from cannot be null.");if(!e)throw new Error("to cannot be null.");var r=t.name+"."+e.name;this.animationToMixTime[r]=n}},{key:"getMix",value:function(t,e){var n=t.name+"."+e.name,r=this.animationToMixTime[n];return void 0===r?this.defaultMix:r}}]),t}(),Nt=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t)).color=new a(1,1,1,1),r}return v(n,[{key:"copy",value:function(){var t=new n(this.name);return this.copyTo(t),t.color.setFromColor(this.color),t}}]),n}(C),zt=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t)).endSlot=null,r.color=new a(.2275,.2275,.8078,1),r}return v(n,[{key:"copy",value:function(){var t=new n(this.name);return this.copyTo(t),t.endSlot=this.endSlot,t.color.setFromColor(this.color),t}}]),n}(C),_t=function(){function t(e){d(this,t),this._image=e}return v(t,[{key:"getImage",value:function(){return this._image}}]),t}();(Rt=Tt||(Tt={}))[Rt.Nearest=9728]="Nearest",Rt[Rt.Linear=9729]="Linear",Rt[Rt.MipMap=9987]="MipMap",Rt[Rt.MipMapNearestNearest=9984]="MipMapNearestNearest",Rt[Rt.MipMapLinearNearest=9985]="MipMapLinearNearest",Rt[Rt.MipMapNearestLinear=9986]="MipMapNearestLinear",Rt[Rt.MipMapLinearLinear=9987]="MipMapLinearLinear",(It=Pt||(Pt={}))[It.MirroredRepeat=33648]="MirroredRepeat",It[It.ClampToEdge=33071]="ClampToEdge",It[It.Repeat=10497]="Repeat";var Wt=function t(){d(this,t),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},Gt=function(t){u(n,t);var e=g(n);function n(){return d(this,n),e.apply(this,arguments)}return v(n,[{key:"setFilters",value:function(t,e){}},{key:"setWraps",value:function(t,e){}},{key:"dispose",value:function(){}}]),n}(_t),Ht=function(){function t(e){d(this,t),this.pages=new Array,this.regions=new Array;for(var n=new qt(e),r=new Array(4),i=null,a=null,o={size:function(){i.width=parseInt(r[1]),i.height=parseInt(r[2])},format:function(){},filter:function(){i.minFilter=y.enumValue(Tt,r[1]),i.magFilter=y.enumValue(Tt,r[2])},repeat:function(){-1!=r[1].indexOf("x")&&(i.uWrap=Pt.Repeat),-1!=r[1].indexOf("y")&&(i.vWrap=Pt.Repeat)},pma:function(){i.pma="true"==r[1]}},s={xy:function(){a.x=parseInt(r[1]),a.y=parseInt(r[2])},size:function(){a.width=parseInt(r[1]),a.height=parseInt(r[2])},bounds:function(){a.x=parseInt(r[1]),a.y=parseInt(r[2]),a.width=parseInt(r[3]),a.height=parseInt(r[4])},offset:function(){a.offsetX=parseInt(r[1]),a.offsetY=parseInt(r[2])},orig:function(){a.originalWidth=parseInt(r[1]),a.originalHeight=parseInt(r[2])},offsets:function(){a.offsetX=parseInt(r[1]),a.offsetY=parseInt(r[2]),a.originalWidth=parseInt(r[3]),a.originalHeight=parseInt(r[4])},rotate:function(){var t=r[1];"true"==t?a.degrees=90:"false"!=t&&(a.degrees=parseInt(t))},index:function(){a.index=parseInt(r[1])}},u=n.readLine();u&&0==u.trim().length;)u=n.readLine();for(;u&&0!=u.trim().length&&0!=n.readEntry(r,u);)u=n.readLine();for(var l=null,c=null;null!==u;)if(0==u.trim().length)i=null,u=n.readLine();else if(i){for((a=new Kt).page=i,a.name=u;;){var h=n.readEntry(r,u=n.readLine());if(0==h)break;var f=s[r[0]];if(f)f();else{l||(l=[],c=[]),l.push(r[0]);for(var v=[],p=0;p<h;p++)v.push(parseInt(r[p+1]));c.push(v)}}0==a.originalWidth&&0==a.originalHeight&&(a.originalWidth=a.width,a.originalHeight=a.height),l&&l.length>0&&(a.names=l,a.values=c,l=null,c=null),a.u=a.x/i.width,a.v=a.y/i.height,90==a.degrees?(a.u2=(a.x+a.height)/i.width,a.v2=(a.y+a.width)/i.height):(a.u2=(a.x+a.width)/i.width,a.v2=(a.y+a.height)/i.height),this.regions.push(a)}else{for((i=new Jt).name=u.trim();0!=n.readEntry(r,u=n.readLine());){var m=o[r[0]];m&&m()}this.pages.push(i)}}return v(t,[{key:"findRegion",value:function(t){for(var e=0;e<this.regions.length;e++)if(this.regions[e].name==t)return this.regions[e];return null}},{key:"setTextures",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=p(this.pages);try{for(r.s();!(e=r.n()).done;){var i=e.value;i.setTexture(t.get(n+i.name))}}catch(a){r.e(a)}finally{r.f()}}},{key:"dispose",value:function(){for(var t=0;t<this.pages.length;t++)this.pages[t].texture.dispose()}}]),t}(),qt=function(){function t(e){d(this,t),this.lines=null,this.index=0,this.lines=e.split(/\r\n|\r|\n/)}return v(t,[{key:"readLine",value:function(){return this.index>=this.lines.length?null:this.lines[this.index++]}},{key:"readEntry",value:function(t,e){if(!e)return 0;if(0==(e=e.trim()).length)return 0;var n=e.indexOf(":");if(-1==n)return 0;t[0]=e.substr(0,n).trim();for(var r=1,i=n+1;;r++){var a=e.indexOf(",",i);if(-1==a)return t[r]=e.substr(i).trim(),r;if(t[r]=e.substr(i,a-i).trim(),i=a+1,4==r)return 4}}}]),t}(),Jt=function(){function t(){d(this,t),this.name=null,this.minFilter=Tt.Nearest,this.magFilter=Tt.Nearest,this.uWrap=Pt.ClampToEdge,this.vWrap=Pt.ClampToEdge,this.texture=null,this.width=0,this.height=0,this.pma=!1}return v(t,[{key:"setTexture",value:function(t){this.texture=t,t.setFilters(this.minFilter,this.magFilter),t.setWraps(this.uWrap,this.vWrap)}}]),t}(),Kt=function(t){u(n,t);var e=g(n);function n(){var t;return d(this,n),(t=e.apply(this,arguments)).page=null,t.name=null,t.x=0,t.y=0,t.offsetX=0,t.offsetY=0,t.originalWidth=0,t.originalHeight=0,t.index=0,t.degrees=0,t.names=null,t.values=null,t}return n}(Wt),Qt=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t)).region=null,r.path=null,r.regionUVs=null,r.uvs=null,r.triangles=null,r.color=new a(1,1,1,1),r.width=0,r.height=0,r.hullLength=0,r.edges=null,r.parentMesh=null,r.tempColor=new a(0,0,0,0),r}return v(n,[{key:"updateUVs",value:function(){var t=this.regionUVs;this.uvs&&this.uvs.length==t.length||(this.uvs=y.newFloatArray(t.length));var e=this.uvs,n=this.uvs.length,r=this.region.u,i=this.region.v,a=0,o=0;if(this.region instanceof Kt){var s=this.region,u=s.page.texture.getImage(),l=u.width,c=u.height;switch(s.degrees){case 90:r-=(s.originalHeight-s.offsetY-s.height)/l,i-=(s.originalWidth-s.offsetX-s.width)/c,a=s.originalHeight/l,o=s.originalWidth/c;for(var h=0;h<n;h+=2)e[h]=r+t[h+1]*a,e[h+1]=i+(1-t[h])*o;return;case 180:r-=(s.originalWidth-s.offsetX-s.width)/l,i-=s.offsetY/c,a=s.originalWidth/l,o=s.originalHeight/c;for(var d=0;d<n;d+=2)e[d]=r+(1-t[d])*a,e[d+1]=i+(1-t[d+1])*o;return;case 270:r-=s.offsetY/l,i-=s.offsetX/c,a=s.originalHeight/l,o=s.originalWidth/c;for(var f=0;f<n;f+=2)e[f]=r+(1-t[f+1])*a,e[f+1]=i+t[f]*o;return}r-=s.offsetX/l,i-=(s.originalHeight-s.offsetY-s.height)/c,a=s.originalWidth/l,o=s.originalHeight/c}else this.region?(a=this.region.u2-r,o=this.region.v2-i):(r=i=0,a=o=1);for(var v=0;v<n;v+=2)e[v]=r+t[v]*a,e[v+1]=i+t[v+1]*o}},{key:"getParentMesh",value:function(){return this.parentMesh}},{key:"setParentMesh",value:function(t){this.parentMesh=t,t&&(this.bones=t.bones,this.vertices=t.vertices,this.worldVerticesLength=t.worldVerticesLength,this.regionUVs=t.regionUVs,this.triangles=t.triangles,this.hullLength=t.hullLength,this.worldVerticesLength=t.worldVerticesLength)}},{key:"copy",value:function(){if(this.parentMesh)return this.newLinkedMesh();var t=new n(this.name);return t.region=this.region,t.path=this.path,t.color.setFromColor(this.color),this.copyTo(t),t.regionUVs=new Array(this.regionUVs.length),y.arrayCopy(this.regionUVs,0,t.regionUVs,0,this.regionUVs.length),t.uvs=new Array(this.uvs.length),y.arrayCopy(this.uvs,0,t.uvs,0,this.uvs.length),t.triangles=new Array(this.triangles.length),y.arrayCopy(this.triangles,0,t.triangles,0,this.triangles.length),t.hullLength=this.hullLength,this.edges&&(t.edges=new Array(this.edges.length),y.arrayCopy(this.edges,0,t.edges,0,this.edges.length)),t.width=this.width,t.height=this.height,t}},{key:"newLinkedMesh",value:function(){var t=new n(this.name);return t.region=this.region,t.path=this.path,t.color.setFromColor(this.color),t.deformAttachment=this.deformAttachment,t.setParentMesh(this.parentMesh?this.parentMesh:this),t.updateUVs(),t}}]),n}(C),$t=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t)).lengths=null,r.closed=!1,r.constantSpeed=!1,r.color=new a(1,1,1,1),r}
1return v(n,[{key:"copy",value:function(){var t=new n(this.name);return this.copyTo(t),t.lengths=new Array(this.lengths.length),y.arrayCopy(this.lengths,0,t.lengths,0,this.lengths.length),t.closed=closed,t.constantSpeed=this.constantSpeed,t.color.setFromColor(this.color),t}}]),n}(C),te=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t)).x=0,r.y=0,r.rotation=0,r.color=new a(.38,.94,0,1),r}return v(n,[{key:"computeWorldPosition",value:function(t,e){return e.x=this.x*t.a+this.y*t.b+t.worldX,e.y=this.x*t.c+this.y*t.d+t.worldY,e}},{key:"computeWorldRotation",value:function(t){var e=l.cosDeg(this.rotation),n=l.sinDeg(this.rotation),r=e*t.a+n*t.b,i=e*t.c+n*t.d;return Math.atan2(i,r)*l.radDeg}},{key:"copy",value:function(){var t=new n(this.name);return t.x=this.x,t.y=this.y,t.rotation=this.rotation,t.color.setFromColor(this.color),t}}]),n}(C),ee=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t)).x=0,r.y=0,r.scaleX=1,r.scaleY=1,r.rotation=0,r.width=0,r.height=0,r.color=new a(1,1,1,1),r.path=null,r.rendererObject=null,r.region=null,r.offset=y.newFloatArray(8),r.uvs=y.newFloatArray(8),r.tempColor=new a(1,1,1,1),r}return v(n,[{key:"updateOffset",value:function(){this.region;var t=this.width/this.region.originalWidth*this.scaleX,e=this.height/this.region.originalHeight*this.scaleY,n=-this.width/2*this.scaleX+this.region.offsetX*t,r=-this.height/2*this.scaleY+this.region.offsetY*e,i=n+this.region.width*t,a=r+this.region.height*e,o=this.rotation*Math.PI/180,s=Math.cos(o),u=Math.sin(o),l=this.x,c=this.y,h=n*s+l,d=n*u,f=r*s+c,v=r*u,p=i*s+l,m=i*u,g=a*s+c,y=a*u,A=this.offset;A[0]=h-v,A[1]=f+d,A[2]=h-y,A[3]=g+d,A[4]=p-y,A[5]=g+m,A[6]=p-v,A[7]=f+m}},{key:"setRegion",value:function(t){this.region=t;var e=this.uvs;90==t.degrees?(e[2]=t.u,e[3]=t.v2,e[4]=t.u,e[5]=t.v,e[6]=t.u2,e[7]=t.v,e[0]=t.u2,e[1]=t.v2):(e[0]=t.u,e[1]=t.v2,e[2]=t.u,e[3]=t.v,e[4]=t.u2,e[5]=t.v,e[6]=t.u2,e[7]=t.v2)}},{key:"computeWorldVertices",value:function(t,e,n,r){var i=this.offset,a=t.worldX,o=t.worldY,s=t.a,u=t.b,l=t.c,c=t.d,h=0,d=0;h=i[0],d=i[1],e[n]=h*s+d*u+a,e[n+1]=h*l+d*c+o,n+=r,h=i[2],d=i[3],e[n]=h*s+d*u+a,e[n+1]=h*l+d*c+o,n+=r,h=i[4],d=i[5],e[n]=h*s+d*u+a,e[n+1]=h*l+d*c+o,n+=r,h=i[6],d=i[7],e[n]=h*s+d*u+a,e[n+1]=h*l+d*c+o}},{key:"copy",value:function(){var t=new n(this.name);return t.region=this.region,t.rendererObject=this.rendererObject,t.path=this.path,t.x=this.x,t.y=this.y,t.scaleX=this.scaleX,t.scaleY=this.scaleY,t.rotation=this.rotation,t.width=this.width,t.height=this.height,y.arrayCopy(this.uvs,0,t.uvs,0,8),y.arrayCopy(this.offset,0,t.offset,0,8),t.color.setFromColor(this.color),t}}]),n}(k);ee.X1=0,ee.Y1=1,ee.C1R=2,ee.C1G=3,ee.C1B=4,ee.C1A=5,ee.U1=6,ee.V1=7,ee.X2=8,ee.Y2=9,ee.C2R=10,ee.C2G=11,ee.C2B=12,ee.C2A=13,ee.U2=14,ee.V2=15,ee.X3=16,ee.Y3=17,ee.C3R=18,ee.C3G=19,ee.C3B=20,ee.C3A=21,ee.U3=22,ee.V3=23,ee.X4=24,ee.Y4=25,ee.C4R=26,ee.C4G=27,ee.C4B=28,ee.C4A=29,ee.U4=30,ee.V4=31;var ne,re,ie=function(){function t(e){d(this,t),this.atlas=null,this.atlas=e}return v(t,[{key:"newRegionAttachment",value:function(t,e,n){var r=this.atlas.findRegion(n);if(!r)throw new Error("Region not found in atlas: "+n+" (region attachment: "+e+")");r.renderObject=r;var i=new ee(e);return i.setRegion(r),i}},{key:"newMeshAttachment",value:function(t,e,n){var r=this.atlas.findRegion(n);if(!r)throw new Error("Region not found in atlas: "+n+" (mesh attachment: "+e+")");r.renderObject=r;var i=new Qt(e);return i.region=r,i}},{key:"newBoundingBoxAttachment",value:function(t,e){return new Nt(e)}},{key:"newPathAttachment",value:function(t,e){return new $t(e)}},{key:"newPointAttachment",value:function(t,e){return new te(e)}},{key:"newClippingAttachment",value:function(t,e){return new zt(e)}}]),t}(),ae=function t(e,n,r){if(d(this,t),this.index=0,this.name=null,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.transformMode=ne.Normal,this.skinRequired=!1,this.color=new a,e<0)throw new Error("index must be >= 0.");if(!n)throw new Error("name cannot be null.");this.index=e,this.name=n,this.parent=r};(re=ne||(ne={}))[re.Normal=0]="Normal",re[re.OnlyTranslation=1]="OnlyTranslation",re[re.NoRotationOrReflection=2]="NoRotationOrReflection",re[re.NoScale=3]="NoScale",re[re.NoScaleOrReflection=4]="NoScaleOrReflection";var oe,se,ue,le,ce,he,de=function(){function t(e,n,r){if(d(this,t),this.data=null,this.skeleton=null,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.sorted=!1,this.active=!1,!e)throw new Error("data cannot be null.");if(!n)throw new Error("skeleton cannot be null.");this.data=e,this.skeleton=n,this.parent=r,this.setToSetupPose()}return v(t,[{key:"isActive",value:function(){return this.active}},{key:"update",value:function(){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(t,e,n,r,i,a,o){this.ax=t,this.ay=e,this.arotation=n,this.ascaleX=r,this.ascaleY=i,this.ashearX=a,this.ashearY=o;var s=this.parent;if(!s){var u=this.skeleton,c=n+90+o,h=u.scaleX,d=u.scaleY;return this.a=l.cosDeg(n+a)*r*h,this.b=l.cosDeg(c)*i*h,this.c=l.sinDeg(n+a)*r*d,this.d=l.sinDeg(c)*i*d,this.worldX=t*h+u.x,void(this.worldY=e*d+u.y)}var f=s.a,v=s.b,p=s.c,m=s.d;switch(this.worldX=f*t+v*e+s.worldX,this.worldY=p*t+m*e+s.worldY,this.data.transformMode){case ne.Normal:var g=n+90+o,y=l.cosDeg(n+a)*r,A=l.cosDeg(g)*i,x=l.sinDeg(n+a)*r,b=l.sinDeg(g)*i;return this.a=f*y+v*x,this.b=f*A+v*b,this.c=p*y+m*x,void(this.d=p*A+m*b);case ne.OnlyTranslation:var w=n+90+o;this.a=l.cosDeg(n+a)*r,this.b=l.cosDeg(w)*i,this.c=l.sinDeg(n+a)*r,this.d=l.sinDeg(w)*i;break;case ne.NoRotationOrReflection:var L=f*f+p*p,k=0;L>
11e-4?(L=Math.abs(f*m-v*p)/L,f/=this.skeleton.scaleX,v=(p/=this.skeleton.scaleY)*L,m=f*L,k=Math.atan2(p,f)*l.radDeg):(f=0,p=0,k=90-Math.atan2(m,v)*l.radDeg);var C=n+a-k,E=n+o-k+90,S=l.cosDeg(C)*r,M=l.cosDeg(E)*i,T=l.sinDeg(C)*r,R=l.sinDeg(E)*i;this.a=f*S-v*T,this.b=f*M-v*R,this.c=p*S+m*T,this.d=p*M+m*R;break;case ne.NoScale:case ne.NoScaleOrReflection:var P=l.cosDeg(n),I=l.sinDeg(n),O=(f*P+v*I)/this.skeleton.scaleX,B=(p*P+m*I)/this.skeleton.scaleY,F=Math.sqrt(O*O+B*B);F>1e-5&&(F=1/F),O*=F,B*=F,F=Math.sqrt(O*O+B*B),this.data.transformMode==ne.NoScale&&f*m-v*p<0!=(this.skeleton.scaleX<0!=this.skeleton.scaleY<0)&&(F=-F);var D=Math.PI/2+Math.atan2(B,O),V=Math.cos(D)*F,Y=Math.sin(D)*F,X=l.cosDeg(a)*r,U=l.cosDeg(90+o)*i,j=l.sinDeg(a)*r,Z=l.sinDeg(90+o)*i;this.a=O*X+V*j,this.b=O*U+V*Z,this.c=B*X+Y*j,this.d=B*U+Y*Z}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 t=this.data;this.x=t.x,this.y=t.y,this.rotation=t.rotation,this.scaleX=t.scaleX,this.scaleY=t.scaleY,this.shearX=t.shearX,this.shearY=t.shearY}},{key:"getWorldRotationX",value:function(){return Math.atan2(this.c,this.a)*l.radDeg}},{key:"getWorldRotationY",value:function(){return Math.atan2(this.d,this.b)*l.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:"updateAppliedTransform",value:function(){var t=this.parent;if(!t)return this.ax=this.worldX-this.skeleton.x,this.ay=this.worldY-this.skeleton.y,this.arotation=Math.atan2(this.c,this.a)*l.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)*l.radDeg);var e=t.a,n=t.b,r=t.c,i=t.d,a=1/(e*i-n*r),o=this.worldX-t.worldX,s=this.worldY-t.worldY;this.ax=o*i*a-s*n*a,this.ay=s*e*a-o*r*a;var u=a*i,c=a*e,h=a*n,d=a*r,f=u*this.a-h*this.c,v=u*this.b-h*this.d,p=c*this.c-d*this.a,m=c*this.d-d*this.b;if(this.ashearX=0,this.ascaleX=Math.sqrt(f*f+p*p),this.ascaleX>1e-4){var g=f*m-v*p;this.ascaleY=g/this.ascaleX,this.ashearY=Math.atan2(f*v+p*m,g)*l.radDeg,this.arotation=Math.atan2(p,f)*l.radDeg}else this.ascaleX=0,this.ascaleY=Math.sqrt(v*v+m*m),this.ashearY=0,this.arotation=90-Math.atan2(m,v)*l.radDeg}},{key:"worldToLocal",value:function(t){var e=1/(this.a*this.d-this.b*this.c),n=t.x-this.worldX,r=t.y-this.worldY;return t.x=n*this.d*e-r*this.b*e,t.y=r*this.a*e-n*this.c*e,t}},{key:"localToWorld",value:function(t){var e=t.x,n=t.y;return t.x=e*this.a+n*this.b+this.worldX,t.y=e*this.c+n*this.d+this.worldY,t}},{key:"worldToLocalRotation",value:function(t){var e=l.sinDeg(t),n=l.cosDeg(t);return Math.atan2(this.a*e-this.c*n,this.d*n-this.b*e)*l.radDeg+this.rotation-this.shearX}},{key:"localToWorldRotation",value:function(t){t-=this.rotation-this.shearX;var e=l.sinDeg(t),n=l.cosDeg(t);return Math.atan2(n*this.c+e*this.d,n*this.a+e*this.b)*l.radDeg}},{key:"rotateWorld",value:function(t){var e=this.a,n=this.b,r=this.c,i=this.d,a=l.cosDeg(t),o=l.sinDeg(t);this.a=a*e-o*r,this.b=a*n-o*i,this.c=o*e+a*r,this.d=o*n+a*i}}]),t}(),fe=function t(e,n,r){d(this,t),this.name=e,this.order=n,this.skinRequired=r},ve=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;d(this,t),this.pathPrefix=null,this.assets={},this.errors={},this.toLoad=0,this.loaded=0,this.textureLoader=e,this.pathPrefix=n,this.downloader=r||new pe}return v(t,[{key:"start",value:function(t){return this.toLoad++,this.pathPrefix+t}},{key:"success",value:function(t,e,n){this.toLoad--,this.loaded++,this.assets[e]=n,t&&t(e,n)}},{key:"error",value:function(t,e,n){this.toLoad--,this.loaded++,this.errors[e]=n,t&&t(e,n)}},{key:"setRawDataURI",value:function(t,e){this.downloader.rawDataUris[this.pathPrefix+t]=e}},{key:"loadBinary",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t=this.start(t),this.downloader.downloadBinary(t,(function(r){e.success(n,t,r)}),(function(n,i){e.error(r,t,"Couldn't load binary ".concat(t,": status ").concat(n,", ").concat(i))}))}},{key:"loadText",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t=this.start(t),this.downloader.downloadText(t,(function(r){e.success(n,t,r)}),(function(n,i){e.error(r,t,"Couldn't load text ".concat(t,": status ").concat(n,", ").concat(i))}))}},{key:"loadJson",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t=this.start(t),this.downloader.downloadJson(t,(function(r){e.success(n,t,r)}),(function(n,i){e.error(r,t,"Couldn't load JSON ".concat(t,": status ").concat(n,", ").concat(i))}))}},{key:"loadTexture",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t=this.start(t);var i=!("undefined"===typeof navigator||!window.document),a=!i;if(a)fetch(t,{mode:"cors"}).then((function(n){return n.ok?n.blob():(e.error(r,t,"Couldn't load image: ".concat(t)),null)})).then((function(t){return t?createImageBitmap(t,{premultiplyAlpha:"none",colorSpaceConversion:"none"}):null})).then((function(r){r&&e.success(n,t,e.textureLoader(r))}));else{var o=new Image;o.crossOrigin="anonymous",o.onload=function(){e.success(n,t,e.textureLoader(o))},o.onerror=function(){e.error(r,t,"Couldn't load image: ".concat(t))},this.downloader.rawDataUris[t]&&(t=this.downloader.rawDataUris[t]),o.src=t}}},{key:"loadTextureAtlas",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=t.lastIndexOf("/"),o=a>=0?t.substring(0,a+1):"";t=this.start(t),this.downloader.downloadText(t,(function(a){try{!function(){var s,u=new Ht(a),l=u.pages.length,c=!1,h=p(u.pages);try{var d=function(){var a=s.value;e.loadTexture(null==i?o+a.name:i[a.name],(function(r,i){c||(a.setTexture(i),0==--l&&e.success(n,t,u))}),(function(n,i){c||e.error(r,t,"Couldn't load texture atlas ".concat(t," page image: ").concat(n)),c=!0}))};for(h.s();!(s=h.n()).done;)d()}catch(f){h.e(f)}finally{h.f()}}()}catch(s){e.error(r,t,"Couldn't parse texture atlas ".concat(t,": ").concat(s.message))}}),(function(n,i){e.error(r,t,"Couldn't load texture atlas ".concat(t,": status ").concat(n,", ").concat(i))}))}},{key:"get",value:function(t){return this.assets[this.pathPrefix+t]}},{key:"require",value:function(t){t=this.pathPrefix+t;var e=this.assets[t];if(e)return e;var n=this.errors[t];throw Error("Asset not found: "+t+(n?"\n"+n:""))}},{key:"remove",value:function(t){t=this.pathPrefix+t;var e=this.assets[t];return e.dispose&&e.dispose(),delete this.assets[t],e}},{key:"removeAll",value:function(){for(var t in this.assets){var e=this.assets[t];e.dispose&&e.dispose()}this.assets={}}},{key:"isLoadingComplete",value:function(){return 0==this.toLoad}},{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}}]),t}(),pe=function(){function t(){d(this,t),this.callbacks={},this.rawDataUris={}}return v(t,[{key:"dataUriToString",value:function(t){if(!t.startsWith("data:"))throw new Error("Not a data URI.");var e=t.indexOf("base64,");return-1!=e?(e+="base64,".length,atob(t.substr(e))):t.substr(t.indexOf(",")+1)}},{key:"base64ToUint8Array",value:function(t){for(var e=window.atob(t),n=e.length,r=new Uint8Array(n),i=0;i<n;i++)r[i]=e.charCodeAt(i);return r}},{key:"dataUriToUint8Array",value:function(t){if(!t.startsWith("data:"))throw new Error("Not a data URI.");var e=t.indexOf("base64,");if(-1==e)throw new Error("Not a binary data URI.");return e+="base64,".length,this.base64ToUint8Array(t.substr(e))}},{key:"downloadText",value:function(t,e,n){var r=this;if(!this.start(t,e,n))if(this.rawDataUris[t])try{var i=this.rawDataUris[t];this.finish(t,200,this.dataUriToString(i))}catch(s){this.finish(t,400,JSON.stringify(s))}else{var a=new XMLHttpRequest;a.overrideMimeType("text/html"),a.open("GET",t,!0);var o=function(){r.finish(t,a.status,a.responseText)};a.onload=o,a.onerror=o,a.send()}}},{key:"downloadJson",value:function(t,e,n){this.downloadText(t,(function(t){e(JSON.parse(t))}),n)}},{key:"downloadBinary",value:function(t,e,n){var r=this;if(!this.start(t,e,n))if(this.rawDataUris[t])try{var i=this.rawDataUris[t];this.finish(t,200,this.dataUriToUint8Array(i))}catch(s){this.finish(t,400,JSON.stringify(s))}else{var a=new XMLHttpRequest;a.open("GET",t,!0),a.responseType="arraybuffer";var o=function(){r.finish(t,a.status,a.response)};a.onload=function(){200==a.status||0==a.status?r.finish(t,200,new Uint8Array(a.response)):o()},a.onerror=o,a.send()}}},{key:"start",value:function(t,e,n){var r=this.callbacks[t];try{if(r)return!0;this.callbacks[t]=r=[]}finally{r.push(e,n)}}},{key:"finish",value:function(t,e,n){var r=this.callbacks[t];delete this.callbacks[t];for(var i=200==e||0==e?[n]:[e,n],a=i.length-1,o=r.length;a<o;a+=2)r[a].apply(null,i)}}]),t}(),me=function t(e,n){if(d(this,t),this.data=null,this.intValue=0,this.floatValue=0,this.stringValue=null,this.time=0,this.volume=0,this.balance=0,!n)throw new Error("data cannot be null.");this.time=e,this.data=n},ge=function t(e){d(this,t),this.name=null,this.intValue=0,this.floatValue=0,this.stringValue=null,this.audioPath=null,this.volume=0,this.balance=0,this.name=e},ye=function(){function t(e,n){if(d(this,t),this.data=null,this.bones=null,this.target=null,this.bendDirection=0,this.compress=!1,this.stretch=!1,this.mix=1,this.softness=0,this.active=!1,!e)throw new Error("data cannot be null.");if(!n)throw new Error("skeleton cannot be null.");this.data=e,this.mix=e.mix,this.softness=e.softness,this.bendDirection=e.bendDirection,this.compress=e.compress,this.stretch=e.stretch,this.bones=new Array;for(var r=0;r<e.bones.length;r++)this.bones.push(n.findBone(e.bones[r].name));this.target=n.findBone(e.target.name)}
1return v(t,[{key:"isActive",value:function(){return this.active}},{key:"update",value:function(){if(0!=this.mix){var t=this.target,e=this.bones;switch(e.length){case 1:this.apply1(e[0],t.worldX,t.worldY,this.compress,this.stretch,this.data.uniform,this.mix);break;case 2:this.apply2(e[0],e[1],t.worldX,t.worldY,this.bendDirection,this.stretch,this.data.uniform,this.softness,this.mix)}}}},{key:"apply1",value:function(t,e,n,r,i,a,o){var s=t.parent,u=s.a,c=s.b,h=s.c,d=s.d,f=-t.ashearX-t.arotation,v=0,p=0;switch(t.data.transformMode){case ne.OnlyTranslation:v=e-t.worldX,p=n-t.worldY;break;case ne.NoRotationOrReflection:var m=Math.abs(u*d-c*h)/(u*u+h*h),g=u/t.skeleton.scaleX,y=h/t.skeleton.scaleY;c=-y*m*t.skeleton.scaleX,d=g*m*t.skeleton.scaleY,f+=Math.atan2(y,g)*l.radDeg;default:var A=e-s.worldX,x=n-s.worldY,b=u*d-c*h;v=(A*d-x*c)/b-t.ax,p=(x*u-A*h)/b-t.ay}f+=Math.atan2(p,v)*l.radDeg,t.ascaleX<0&&(f+=180),f>180?f-=360:f<-180&&(f+=360);var w=t.ascaleX,L=t.ascaleY;if(r||i){switch(t.data.transformMode){case ne.NoScale:case ne.NoScaleOrReflection:v=e-t.worldX,p=n-t.worldY}var k=t.data.length*w,C=Math.sqrt(v*v+p*p);if(r&&C<k||i&&C>k&&k>1e-4){var E=(C/k-1)*o+1;w*=E,a&&(L*=E)}}t.updateWorldTransformWith(t.ax,t.ay,t.arotation+f*o,w,L,t.ashearX,t.ashearY)}},{key:"apply2",value:function(t,e,n,r,i,a,o,s,u){var c=t.ax,h=t.ay,d=t.ascaleX,f=t.ascaleY,v=d,p=f,m=e.ascaleX,g=0,y=0,A=0;d<0?(d=-d,g=180,A=-1):(g=0,A=1),f<0&&(f=-f,A=-A),m<0?(m=-m,y=180):y=0;var x=e.ax,b=0,w=0,L=0,k=t.a,C=t.b,E=t.c,S=t.d,M=Math.abs(d-f)<=1e-4;!M||a?(b=0,w=k*x+t.worldX,L=E*x+t.worldY):(w=k*x+C*(b=e.ay)+t.worldX,L=E*x+S*b+t.worldY);var T=t.parent;k=T.a,C=T.b,E=T.c;var R,P,I=1/(k*(S=T.d)-C*E),O=w-T.worldX,B=L-T.worldY,F=(O*S-B*C)*I-c,D=(B*k-O*E)*I-h,V=Math.sqrt(F*F+D*D),Y=e.data.length*m;if(V<1e-4)return this.apply1(t,n,r,!1,a,!1,u),void e.updateWorldTransformWith(x,b,0,e.ascaleX,e.ascaleY,e.ashearX,e.ashearY);var X=((O=n-T.worldX)*S-(B=r-T.worldY)*C)*I-c,U=(B*k-O*E)*I-h,j=X*X+U*U;if(0!=s){s*=d*(m+1)*.5;var Z=Math.sqrt(j),N=Z-V-Y*d+s;if(N>0){var z=Math.min(1,N/(2*s))-1;j=(X-=(z=(N-s*(1-z*z))/Z)*X)*X+(U-=z*U)*U}}t:if(M){var _=(j-V*V-(Y*=d)*Y)/(2*V*Y);_<-1?(_=-1,P=Math.PI*i):_>1?(_=1,P=0,a&&(v*=k=(Math.sqrt(j)/(V+Y)-1)*u+1,o&&(p*=k))):P=Math.acos(_)*i,k=V+Y*_,C=Y*Math.sin(P),R=Math.atan2(U*k-X*C,X*k+U*C)}else{var W=(k=d*Y)*k,G=(C=f*Y)*C,H=Math.atan2(U,X),q=-2*G*V,J=G-W;if((S=q*q-4*J*(E=G*V*V+W*j-W*G))>=0){var K=Math.sqrt(S);q<0&&(K=-K);var Q=(K=.5*-(q+K))/J,$=E/K,tt=Math.abs(Q)<Math.abs($)?Q:$;if(tt*tt<=j){B=Math.sqrt(j-tt*tt)*i,R=H-Math.atan2(B,tt),P=Math.atan2(B/f,(tt-V)/d);break t}}var et=l.PI,nt=V-k,rt=nt*nt,it=0,at=0,ot=V+k,st=ot*ot,ut=0;(E=-k*V/(W-G))>=-1&&E<=1&&(E=Math.acos(E),(S=(O=k*Math.cos(E)+V)*O+(B=C*Math.sin(E))*B)<rt&&(et=E,rt=S,nt=O,it=B),S>st&&(at=E,st=S,ot=O,ut=B)),j<=.5*(rt+st)?(R=H-Math.atan2(it*i,nt),P=et*i):(R=H-Math.atan2(ut*i,ot),P=at*i)}var lt=Math.atan2(b,x)*A,ct=t.arotation;(R=(R-lt)*l.radDeg+g-ct)>180?R-=360:R<-180&&(R+=360),t.updateWorldTransformWith(c,h,ct+R*u,v,p,0,0),ct=e.arotation,(P=((P+lt)*l.radDeg-e.ashearX)*A+y-ct)>180?P-=360:P<-180&&(P+=360),e.updateWorldTransformWith(x,b,ct+P*u,e.ascaleX,e.ascaleY,e.ashearX,e.ashearY)}}]),t}(),Ae=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t,0,!1)).bones=new Array,r.target=null,r.bendDirection=1,r.compress=!1,r.stretch=!1,r.uniform=!1,r.mix=1,r.softness=0,r}return n}(fe),xe=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t,0,!1)).bones=new Array,r.target=null,r.positionMode=null,r.spacingMode=null,r.rotateMode=null,r.offsetRotation=0,r.position=0,r.spacing=0,r.mixRotate=0,r.mixX=0,r.mixY=0,r}return n}(fe);(se=oe||(oe={}))[se.Fixed=0]="Fixed",se[se.Percent=1]="Percent",(le=ue||(ue={}))[le.Length=0]="Length",le[le.Fixed=1]="Fixed",le[le.Percent=2]="Percent",le[le.Proportional=3]="Proportional",(he=ce||(ce={}))[he.Tangent=0]="Tangent",he[he.Chain=1]="Chain",he[he.ChainScale=2]="ChainScale";var be=function(){function t(e,n){if(d(this,t),this.data=null,this.bones=null,this.target=null,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,!e)throw new Error("data cannot be null.");if(!n)throw new Error("skeleton cannot be null.");this.data=e,this.bones=new Array;for(var r=0,i=e.bones.length;r<i;r++)this.bones.push(n.findBone(e.bones[r].name));this.target=n.findSlot(e.target.name),this.position=e.position,this.spacing=e.spacing,this.mixRotate=e.mixRotate,this.mixX=e.mixX,this.mixY=e.mixY}return v(t,[{key:"isActive",value:function(){return this.active}},{key:"update",value:function(){var e=this.target.getAttachment();if(e instanceof $t){var n=this.mixRotate,r=this.mixX,i=this.mixY;if(0!=n||0!=r||0!=i){var a=this.data,o=a.rotateMode==ce.Tangent,s=a.rotateMode==ce.ChainScale,u=this.bones,c=u.length,h=o?c:c+1,d=y.setArraySize(this.spaces,h),f=s?this.lengths=y.setArraySize(this.lengths,c):null,v=this.spacing;switch(a.spacingMode){case ue.Percent:if(s)for(var p=0,m=h-1;p<m;p++){var g=u[p],A=g.data.length;if(A<t.epsilon)f[p]=0;else{var x=A*g.a,b=A*g.c;f[p]=Math.sqrt(x*x+b*b)}}y.arrayFill(d,1,h,v);break;case ue.Proportional:for(var w=0,L=0,k=h-1;L<k;
1){var C=u[L],E=C.data.length;if(E<t.epsilon)s&&(f[L]=0),d[++L]=v;else{var S=E*C.a,M=E*C.c,T=Math.sqrt(S*S+M*M);s&&(f[L]=T),d[++L]=T,w+=T}}if(w>0){w=h/w*v;for(var R=1;R<h;R++)d[R]*=w}break;default:for(var P=a.spacingMode==ue.Length,I=0,O=h-1;I<O;){var B=u[I],F=B.data.length;if(F<t.epsilon)s&&(f[I]=0),d[++I]=v;else{var D=F*B.a,V=F*B.c,Y=Math.sqrt(D*D+V*V);s&&(f[I]=Y),d[++I]=(P?F+v:v)*Y/F}}}var X=this.computeWorldPositions(e,h,o),U=X[0],j=X[1],Z=a.offsetRotation,N=!1;if(0==Z)N=a.rotateMode==ce.Chain;else{N=!1;var z=this.target.bone;Z*=z.a*z.d-z.b*z.c>0?l.degRad:-l.degRad}for(var _=0,W=3;_<c;_++,W+=3){var G=u[_];G.worldX+=(U-G.worldX)*r,G.worldY+=(j-G.worldY)*i;var H=X[W],q=X[W+1],J=H-U,K=q-j;if(s){var Q=f[_];if(0!=Q){var $=(Math.sqrt(J*J+K*K)/Q-1)*n+1;G.a*=$,G.c*=$}}if(U=H,j=q,n>0){var tt=G.a,et=G.b,nt=G.c,rt=G.d,it=0,at=0,ot=0;if(it=o?X[W-1]:0==d[_+1]?X[W+2]:Math.atan2(K,J),it-=Math.atan2(nt,tt),N){at=Math.cos(it),ot=Math.sin(it);var st=G.data.length;U+=(st*(at*tt-ot*nt)-J)*n,j+=(st*(ot*tt+at*nt)-K)*n}else it+=Z;it>l.PI?it-=l.PI2:it<-l.PI&&(it+=l.PI2),it*=n,at=Math.cos(it),ot=Math.sin(it),G.a=at*tt-ot*nt,G.b=at*et-ot*rt,G.c=ot*tt+at*nt,G.d=ot*et+at*rt}G.updateAppliedTransform()}}}}},{key:"computeWorldPositions",value:function(e,n,r){var i=this.target,a=this.position,o=this.spaces,s=y.setArraySize(this.positions,3*n+2),u=null,l=e.closed,c=e.worldVerticesLength,h=c/6,d=t.NONE;if(!e.constantSpeed){var f,v=e.lengths,p=v[h-=l?1:2];switch(this.data.positionMode==oe.Percent&&(a*=p),this.data.spacingMode){case ue.Percent:f=p;break;case ue.Proportional:f=p/n;break;default:f=1}u=y.setArraySize(this.world,8);for(var m=0,g=0,A=0;m<n;m++,g+=3){var x=o[m]*f,b=a+=x;if(l)(b%=p)<0&&(b+=p),A=0;else{if(b<0){d!=t.BEFORE&&(d=t.BEFORE,e.computeWorldVertices(i,2,4,u,0,2)),this.addBeforePosition(b,u,0,s,g);continue}if(b>p){d!=t.AFTER&&(d=t.AFTER,e.computeWorldVertices(i,c-6,4,u,0,2)),this.addAfterPosition(b-p,u,0,s,g);continue}}for(;;A++){var w=v[A];if(!(b>w)){if(0==A)b/=w;else{var L=v[A-1];b=(b-L)/(w-L)}break}}A!=d&&(d=A,l&&A==h?(e.computeWorldVertices(i,c-4,4,u,0,2),e.computeWorldVertices(i,0,4,u,4,2)):e.computeWorldVertices(i,6*A+2,8,u,0,2)),this.addCurvePosition(b,u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],s,g,r||m>0&&0==x)}return s}l?(c+=2,u=y.setArraySize(this.world,c),e.computeWorldVertices(i,2,c-4,u,0,2),e.computeWorldVertices(i,0,2,u,c-4,2),u[c-2]=u[0],u[c-1]=u[1]):(h--,c-=4,u=y.setArraySize(this.world,c),e.computeWorldVertices(i,2,c,u,0,2));for(var k,C=y.setArraySize(this.curves,h),E=0,S=u[0],M=u[1],T=0,R=0,P=0,I=0,O=0,B=0,F=0,D=0,V=0,Y=0,X=0,U=0,j=0,Z=0,N=0,z=2;N<h;N++,z+=6)T=u[z],R=u[z+1],P=u[z+2],I=u[z+3],X=2*(F=.1875*(S-2*T+P))+(V=.09375*(3*(T-P)-S+(O=u[z+4]))),U=2*(D=.1875*(M-2*R+I))+(Y=.09375*(3*(R-I)-M+(B=u[z+5]))),j=.75*(T-S)+F+.16666667*V,Z=.75*(R-M)+D+.16666667*Y,E+=Math.sqrt(j*j+Z*Z),j+=X,Z+=U,X+=V,U+=Y,E+=Math.sqrt(j*j+Z*Z),j+=X,Z+=U,E+=Math.sqrt(j*j+Z*Z),j+=X+V,Z+=U+Y,E+=Math.sqrt(j*j+Z*Z),C[N]=E,S=O,M=B;switch(this.data.positionMode==oe.Percent&&(a*=E),this.data.spacingMode){case ue.Percent:k=E;break;case ue.Proportional:k=E/n;break;default:k=1}for(var _=this.segments,W=0,G=0,H=0,q=0,J=0;G<n;G++,H+=3){var K=o[G]*k,Q=a+=K;if(l)(Q%=E)<0&&(Q+=E),q=0;else{if(Q<0){this.addBeforePosition(Q,u,0,s,H);continue}if(Q>E){this.addAfterPosition(Q-E,u,c-4,s,H);continue}}for(;;q++){var $=C[q];if(!(Q>$)){if(0==q)Q/=$;else{var tt=C[q-1];Q=(Q-tt)/($-tt)}break}}if(q!=d){d=q;var et=6*q;for(S=u[et],M=u[et+1],T=u[et+2],R=u[et+3],P=u[et+4],I=u[et+5],X=2*(F=.03*(S-2*T+P))+(V=.006*(3*(T-P)-S+(O=u[et+6]))),U=2*(D=.03*(M-2*R+I))+(Y=.006*(3*(R-I)-M+(B=u[et+7]))),j=.3*(T-S)+F+.16666667*V,Z=.3*(R-M)+D+.16666667*Y,W=Math.sqrt(j*j+Z*Z),_[0]=W,et=1;et<8;et++)j+=X,Z+=U,X+=V,U+=Y,W+=Math.sqrt(j*j+Z*Z),_[et]=W;j+=X,Z+=U,W+=Math.sqrt(j*j+Z*Z),_[8]=W,j+=X+V,Z+=U+Y,W+=Math.sqrt(j*j+Z*Z),_[9]=W,J=0}for(Q*=W;;J++){var nt=_[J];if(!(Q>nt)){if(0==J)Q/=nt;else{var rt=_[J-1];Q=J+(Q-rt)/(nt-rt)}break}}this.addCurvePosition(.1*Q,S,M,T,R,P,I,O,B,s,H,r||G>0&&0==K)}return s}},{key:"addBeforePosition",value:function(t,e,n,r,i){var a=e[n],o=e[n+1],s=e[n+2]-a,u=e[n+3]-o,l=Math.atan2(u,s);r[i]=a+t*Math.cos(l),r[i+1]=o+t*Math.sin(l),r[i+2]=l}},{key:"addAfterPosition",value:function(t,e,n,r,i){var a=e[n+2],o=e[n+3],s=a-e[n],u=o-e[n+1],l=Math.atan2(u,s);r[i]=a+t*Math.cos(l),r[i+1]=o+t*Math.sin(l),r[i+2]=l}},{key:"addCurvePosition",value:function(t,e,n,r,i,a,o,s,u,l,c,h){if(0==t||isNaN(t))return l[c]=e,l[c+1]=n,void(l[c+2]=Math.atan2(i-n,r-e));
1var d=t*t,f=d*t,v=1-t,p=v*v,m=p*v,g=v*t,y=3*g,A=v*y,x=y*t,b=e*m+r*A+a*x+s*f,w=n*m+i*A+o*x+u*f;l[c]=b,l[c+1]=w,h&&(l[c+2]=t<.001?Math.atan2(i-n,r-e):Math.atan2(w-(n*p+i*g*2+o*d),b-(e*p+r*g*2+a*d)))}}]),t}();be.NONE=-1,be.BEFORE=-2,be.AFTER=-3,be.epsilon=1e-5;var we,Le,ke=function(){function t(e,n){if(d(this,t),this.data=null,this.bone=null,this.color=null,this.darkColor=null,this.attachment=null,this.attachmentTime=0,this.attachmentState=0,this.deform=new Array,!e)throw new Error("data cannot be null.");if(!n)throw new Error("bone cannot be null.");this.data=e,this.bone=n,this.color=new a,this.darkColor=e.darkColor?new a:null,this.setToSetupPose()}return v(t,[{key:"getSkeleton",value:function(){return this.bone.skeleton}},{key:"getAttachment",value:function(){return this.attachment}},{key:"setAttachment",value:function(t){this.attachment!=t&&(t instanceof C&&this.attachment instanceof C&&t.deformAttachment==this.attachment.deformAttachment||(this.deform.length=0),this.attachment=t,this.attachmentTime=this.bone.skeleton.time)}},{key:"setAttachmentTime",value:function(t){this.attachmentTime=this.bone.skeleton.time-t}},{key:"getAttachmentTime",value:function(){return this.bone.skeleton.time-this.attachmentTime}},{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}}]),t}(),Ce=function(){function t(e,n){if(d(this,t),this.data=null,this.bones=null,this.target=null,this.mixRotate=0,this.mixX=0,this.mixY=0,this.mixScaleX=0,this.mixScaleY=0,this.mixShearY=0,this.temp=new b,this.active=!1,!e)throw new Error("data cannot be null.");if(!n)throw new Error("skeleton cannot be null.");this.data=e,this.mixRotate=e.mixRotate,this.mixX=e.mixX,this.mixY=e.mixY,this.mixScaleX=e.mixScaleX,this.mixScaleY=e.mixScaleY,this.mixShearY=e.mixShearY,this.bones=new Array;for(var r=0;r<e.bones.length;r++)this.bones.push(n.findBone(e.bones[r].name));this.target=n.findBone(e.target.name)}
1return v(t,[{key:"isActive",value:function(){return this.active}},{key:"update",value:function(){0==this.mixRotate&&0==this.mixX&&0==this.mixY&&0==this.mixScaleX&&0==this.mixScaleX&&0==this.mixShearY||(this.data.local?this.data.relative?this.applyRelativeLocal():this.applyAbsoluteLocal():this.data.relative?this.applyRelativeWorld():this.applyAbsoluteWorld())}},{key:"applyAbsoluteWorld",value:function(){for(var t=this.mixRotate,e=this.mixX,n=this.mixY,r=this.mixScaleX,i=this.mixScaleY,a=this.mixShearY,o=0!=e||0!=n,s=this.target,u=s.a,c=s.b,h=s.c,d=s.d,f=u*d-c*h>0?l.degRad:-l.degRad,v=this.data.offsetRotation*f,p=this.data.offsetShearY*f,m=this.bones,g=0,y=m.length;g<y;g++){var A=m[g];if(0!=t){var x=A.a,b=A.b,w=A.c,L=A.d,k=Math.atan2(h,u)-Math.atan2(w,x)+v;k>l.PI?k-=l.PI2:k<-l.PI&&(k+=l.PI2),k*=t;var C=Math.cos(k),E=Math.sin(k);A.a=C*x-E*w,A.b=C*b-E*L,A.c=E*x+C*w,A.d=E*b+C*L}if(o){var S=this.temp;s.localToWorld(S.set(this.data.offsetX,this.data.offsetY)),A.worldX+=(S.x-A.worldX)*e,A.worldY+=(S.y-A.worldY)*n}if(0!=r){var M=Math.sqrt(A.a*A.a+A.c*A.c);0!=M&&(M=(M+(Math.sqrt(u*u+h*h)-M+this.data.offsetScaleX)*r)/M),A.a*=M,A.c*=M}if(0!=i){var T=Math.sqrt(A.b*A.b+A.d*A.d);0!=T&&(T=(T+(Math.sqrt(c*c+d*d)-T+this.data.offsetScaleY)*i)/T),A.b*=T,A.d*=T}if(a>0){var R=A.b,P=A.d,I=Math.atan2(P,R),O=Math.atan2(d,c)-Math.atan2(h,u)-(I-Math.atan2(A.c,A.a));O>l.PI?O-=l.PI2:O<-l.PI&&(O+=l.PI2),O=I+(O+p)*a;var B=Math.sqrt(R*R+P*P);A.b=Math.cos(O)*B,A.d=Math.sin(O)*B}A.updateAppliedTransform()}}},{key:"applyRelativeWorld",value:function(){for(var t=this.mixRotate,e=this.mixX,n=this.mixY,r=this.mixScaleX,i=this.mixScaleY,a=this.mixShearY,o=0!=e||0!=n,s=this.target,u=s.a,c=s.b,h=s.c,d=s.d,f=u*d-c*h>0?l.degRad:-l.degRad,v=this.data.offsetRotation*f,p=this.data.offsetShearY*f,m=this.bones,g=0,y=m.length;g<y;g++){var A=m[g];if(0!=t){var x=A.a,b=A.b,w=A.c,L=A.d,k=Math.atan2(h,u)+v;k>l.PI?k-=l.PI2:k<-l.PI&&(k+=l.PI2),k*=t;var C=Math.cos(k),E=Math.sin(k);A.a=C*x-E*w,A.b=C*b-E*L,A.c=E*x+C*w,A.d=E*b+C*L}if(o){var S=this.temp;s.localToWorld(S.set(this.data.offsetX,this.data.offsetY)),A.worldX+=S.x*e,A.worldY+=S.y*n}if(0!=r){var M=(Math.sqrt(u*u+h*h)-1+this.data.offsetScaleX)*r+1;A.a*=M,A.c*=M}if(0!=i){var T=(Math.sqrt(c*c+d*d)-1+this.data.offsetScaleY)*i+1;A.b*=T,A.d*=T}if(a>0){var R=Math.atan2(d,c)-Math.atan2(h,u);R>l.PI?R-=l.PI2:R<-l.PI&&(R+=l.PI2);var P=A.b,I=A.d;R=Math.atan2(I,P)+(R-l.PI/2+p)*a;var O=Math.sqrt(P*P+I*I);A.b=Math.cos(R)*O,A.d=Math.sin(R)*O}A.updateAppliedTransform()}}},{key:"applyAbsoluteLocal",value:function(){for(var t=this.mixRotate,e=this.mixX,n=this.mixY,r=this.mixScaleX,i=this.mixScaleY,a=this.mixShearY,o=this.target,s=this.bones,u=0,l=s.length;u<l;u++){var c=s[u],h=c.arotation;if(0!=t){var d=o.arotation-h+this.data.offsetRotation;h+=(d-=360*(16384-(16384.499999999996-d/360|0)))*t}var f=c.ax,v=c.ay;f+=(o.ax-f+this.data.offsetX)*e,v+=(o.ay-v+this.data.offsetY)*n;var p=c.ascaleX,m=c.ascaleY;0!=r&&0!=p&&(p=(p+(o.ascaleX-p+this.data.offsetScaleX)*r)/p),0!=i&&0!=m&&(m=(m+(o.ascaleY-m+this.data.offsetScaleY)*i)/m);var g=c.ashearY;if(0!=a){var y=o.ashearY-g+this.data.offsetShearY;g+=(y-=360*(16384-(16384.499999999996-y/360|0)))*a}c.updateWorldTransformWith(f,v,h,p,m,c.ashearX,g)}}},{key:"applyRelativeLocal",value:function(){for(var t=this.mixRotate,e=this.mixX,n=this.mixY,r=this.mixScaleX,i=this.mixScaleY,a=this.mixShearY,o=this.target,s=this.bones,u=0,l=s.length;u<l;u++){var c=s[u],h=c.arotation+(o.arotation+this.data.offsetRotation)*t,d=c.ax+(o.ax+this.data.offsetX)*e,f=c.ay+(o.ay+this.data.offsetY)*n,v=c.ascaleX*((o.ascaleX-1+this.data.offsetScaleX)*r+1),p=c.ascaleY*((o.ascaleY-1+this.data.offsetScaleY)*i+1),m=c.ashearY+(o.ashearY+this.data.offsetShearY)*a;c.updateWorldTransformWith(d,f,h,v,p,c.ashearX,m)}}}]),t}(),Ee=function(){function t(e){if(d(this,t),this.data=null,this.bones=null,this.slots=null,this.drawOrder=null,this.ikConstraints=null,this.transformConstraints=null,this.pathConstraints=null,this._updateCache=new Array,this.skin=null,this.color=null,this.time=0,this.scaleX=1,this.scaleY=1,this.x=0,this.y=0,!e)throw new Error("data cannot be null.");this.data=e,this.bones=new Array;for(var n=0;n<e.bones.length;
1n++){var r=e.bones[n],i=void 0;if(r.parent){var o=this.bones[r.parent.index];i=new de(r,this,o),o.children.push(i)}else i=new de(r,this,null);this.bones.push(i)}this.slots=new Array,this.drawOrder=new Array;for(var s=0;s<e.slots.length;s++){var u=e.slots[s],l=this.bones[u.boneData.index],c=new ke(u,l);this.slots.push(c),this.drawOrder.push(c)}this.ikConstraints=new Array;for(var h=0;h<e.ikConstraints.length;h++){var f=e.ikConstraints[h];this.ikConstraints.push(new ye(f,this))}this.transformConstraints=new Array;for(var v=0;v<e.transformConstraints.length;v++){var p=e.transformConstraints[v];this.transformConstraints.push(new Ce(p,this))}this.pathConstraints=new Array;for(var m=0;m<e.pathConstraints.length;m++){var g=e.pathConstraints[m];this.pathConstraints.push(new be(g,this))}this.color=new a(1,1,1,1),this.updateCache()}return v(t,[{key:"updateCache",value:function(){var t=this._updateCache;t.length=0;for(var e=this.bones,n=0,r=e.length;n<r;n++){var i=e[n];i.sorted=i.data.skinRequired,i.active=!i.sorted}if(this.skin)for(var a=this.skin.bones,o=0,s=this.skin.bones.length;o<s;o++){var u=this.bones[a[o].index];do{u.sorted=!1,u.active=!0,u=u.parent}while(u)}var l=this.ikConstraints,c=this.transformConstraints,h=this.pathConstraints,d=l.length,f=c.length,v=h.length,p=d+f+v;t:for(var m=0;m<p;m++){for(var g=0;g<d;g++){var y=l[g];if(y.data.order==m){this.sortIkConstraint(y);continue t}}for(var A=0;A<f;A++){var x=c[A];if(x.data.order==m){this.sortTransformConstraint(x);continue t}}for(var b=0;b<v;b++){var w=h[b];if(w.data.order==m){this.sortPathConstraint(w);continue t}}}for(var L=0,k=e.length;L<k;L++)this.sortBone(e[L])}},{key:"sortIkConstraint",value:function(t){if(t.active=t.target.isActive()&&(!t.data.skinRequired||this.skin&&y.contains(this.skin.constraints,t.data,!0)),t.active){var e=t.target;this.sortBone(e);var n=t.bones,r=n[0];if(this.sortBone(r),1==n.length)this._updateCache.push(t),this.sortReset(r.children);else{var i=n[n.length-1];this.sortBone(i),this._updateCache.push(t),this.sortReset(r.children),i.sorted=!0}}}},{key:"sortPathConstraint",value:function(t){if(t.active=t.target.bone.isActive()&&(!t.data.skinRequired||this.skin&&y.contains(this.skin.constraints,t.data,!0)),t.active){var e=t.target,n=e.data.index,r=e.bone;this.skin&&this.sortPathConstraintAttachment(this.skin,n,r),this.data.defaultSkin&&this.data.defaultSkin!=this.skin&&this.sortPathConstraintAttachment(this.data.defaultSkin,n,r);for(var i=0,a=this.data.skins.length;i<a;i++)this.sortPathConstraintAttachment(this.data.skins[i],n,r);var o=e.getAttachment();o instanceof $t&&this.sortPathConstraintAttachmentWith(o,r);for(var s=t.bones,u=s.length,l=0;l<u;l++)this.sortBone(s[l]);this._updateCache.push(t);for(var c=0;c<u;c++)this.sortReset(s[c].children);for(var h=0;h<u;h++)s[h].sorted=!0}}},{key:"sortTransformConstraint",value:function(t){if(t.active=t.target.isActive()&&(!t.data.skinRequired||this.skin&&y.contains(this.skin.constraints,t.data,!0)),t.active){this.sortBone(t.target);var e=t.bones,n=e.length;if(t.data.local)for(var r=0;r<n;r++){var i=e[r];this.sortBone(i.parent),this.sortBone(i)}else for(var a=0;a<n;a++)this.sortBone(e[a]);this._updateCache.push(t);for(var o=0;o<n;o++)this.sortReset(e[o].children);for(var s=0;s<n;s++)e[s].sorted=!0}}},{key:"sortPathConstraintAttachment",value:function(t,e,n){var r=t.attachments[e];if(r)for(var i in r)this.sortPathConstraintAttachmentWith(r[i],n)}},{key:"sortPathConstraintAttachmentWith",value:function(t,e){if(t instanceof $t){var n=t.bones;if(n)for(var r=this.bones,i=0,a=n.length;i<a;){var o=n[i++];for(o+=i;i<o;)this.sortBone(r[n[i++]])}else this.sortBone(e)}}},{key:"sortBone",value:function(t){if(!t.sorted){var e=t.parent;e&&this.sortBone(e),t.sorted=!0,this._updateCache.push(t)}}},{key:"sortReset",value:function(t){for(var e=0,n=t.length;e<n;e++){var r=t[e];r.active&&(r.sorted&&this.sortReset(r.children),r.sorted=!1)}}},{key:"updateWorldTransform",value:function(){for(var t=this.bones,e=0,n=t.length;e<n;e++){var r=t[e];r.ax=r.x,r.ay=r.y,r.arotation=r.rotation,r.ascaleX=r.scaleX,r.ascaleY=r.scaleY,r.ashearX=r.shearX,r.ashearY=r.shearY}for(var i=this._updateCache,a=0,o=i.length;a<o;a++)i[a].update()}},{key:"updateWorldTransformWith",value:function(t){var e=this.getRootBone(),n=t.a,r=t.b,i=t.c,a=t.d;e.worldX=n*this.x+r*this.y+t.worldX,e.worldY=i*this.x+a*this.y+t.worldY;var o=e.rotation+90+e.shearY,s=l.cosDeg(e.rotation+e.shearX)*e.scaleX,u=l.cosDeg(o)*e.scaleY,c=l.sinDeg(e.rotation+e.shearX)*e.scaleX,h=l.sinDeg(o
1)*e.scaleY;e.a=(n*s+r*c)*this.scaleX,e.b=(n*u+r*h)*this.scaleX,e.c=(i*s+a*c)*this.scaleY,e.d=(i*u+a*h)*this.scaleY;for(var d=this._updateCache,f=0,v=d.length;f<v;f++){var p=d[f];p!=e&&p.update()}}},{key:"setToSetupPose",value:function(){this.setBonesToSetupPose(),this.setSlotsToSetupPose()}},{key:"setBonesToSetupPose",value:function(){for(var t=this.bones,e=0,n=t.length;e<n;e++)t[e].setToSetupPose();for(var r=this.ikConstraints,i=0,a=r.length;i<a;i++){var o=r[i];o.mix=o.data.mix,o.softness=o.data.softness,o.bendDirection=o.data.bendDirection,o.compress=o.data.compress,o.stretch=o.data.stretch}for(var s=this.transformConstraints,u=0,l=s.length;u<l;u++){var c=s[u],h=c.data;c.mixRotate=h.mixRotate,c.mixX=h.mixX,c.mixY=h.mixY,c.mixScaleX=h.mixScaleX,c.mixScaleY=h.mixScaleY,c.mixShearY=h.mixShearY}for(var d=this.pathConstraints,f=0,v=d.length;f<v;f++){var p=d[f],m=p.data;p.position=m.position,p.spacing=m.spacing,p.mixRotate=m.mixRotate,p.mixX=m.mixX,p.mixY=m.mixY}}},{key:"setSlotsToSetupPose",value:function(){var t=this.slots;y.arrayCopy(t,0,this.drawOrder,0,t.length);for(var e=0,n=t.length;e<n;e++)t[e].setToSetupPose()}},{key:"getRootBone",value:function(){return 0==this.bones.length?null:this.bones[0]}},{key:"findBone",value:function(t){if(!t)throw new Error("boneName cannot be null.");for(var e=this.bones,n=0,r=e.length;n<r;n++){var i=e[n];if(i.data.name==t)return i}return null}},{key:"findSlot",value:function(t){if(!t)throw new Error("slotName cannot be null.");for(var e=this.slots,n=0,r=e.length;n<r;n++){var i=e[n];if(i.data.name==t)return i}return null}},{key:"setSkinByName",value:function(t){var e=this.data.findSkin(t);if(!e)throw new Error("Skin not found: "+t);this.setSkin(e)}},{key:"setSkin",value:function(t){if(t!=this.skin){if(t)if(this.skin)t.attachAll(this,this.skin);else for(var e=this.slots,n=0,r=e.length;n<r;n++){var i=e[n],a=i.data.attachmentName;if(a){var o=t.getAttachment(n,a);o&&i.setAttachment(o)}}this.skin=t,this.updateCache()}}},{key:"getAttachmentByName",value:function(t,e){return this.getAttachment(this.data.findSlot(t).index,e)}},{key:"getAttachment",value:function(t,e){if(!e)throw new Error("attachmentName cannot be null.");if(this.skin){var n=this.skin.getAttachment(t,e);if(n)return n}return this.data.defaultSkin?this.data.defaultSkin.getAttachment(t,e):null}},{key:"setAttachment",value:function(t,e){if(!t)throw new Error("slotName cannot be null.");for(var n=this.slots,r=0,i=n.length;r<i;r++){var a=n[r];if(a.data.name==t){var o=null;if(e&&!(o=this.getAttachment(r,e)))throw new Error("Attachment not found: "+e+", for slot: "+t);return void a.setAttachment(o)}}throw new Error("Slot not found: "+t)}},{key:"findIkConstraint",value:function(t){if(!t)throw new Error("constraintName cannot be null.");for(var e=this.ikConstraints,n=0,r=e.length;n<r;n++){var i=e[n];if(i.data.name==t)return i}return null}},{key:"findTransformConstraint",value:function(t){if(!t)throw new Error("constraintName cannot be null.");for(var e=this.transformConstraints,n=0,r=e.length;n<r;n++){var i=e[n];if(i.data.name==t)return i}return null}},{key:"findPathConstraint",value:function(t){if(!t)throw new Error("constraintName cannot be null.");for(var e=this.pathConstraints,n=0,r=e.length;n<r;n++){var i=e[n];if(i.data.name==t)return i}return null}},{key:"getBounds",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Array(2);if(!t)throw new Error("offset cannot be null.");if(!e)throw new Error("size cannot be null.");for(var r=this.drawOrder,i=Number.POSITIVE_INFINITY,a=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,u=0,l=r.length;u<l;u++){var c=r[u];if(c.bone.active){var h=0,d=null,f=c.getAttachment();if(f instanceof ee)h=8,d=y.setArraySize(n,h,0),f.computeWorldVertices(c.bone,d,0,2);else if(f instanceof Qt){var v=f;h=v.worldVerticesLength,d=y.setArraySize(n,h,0),v.computeWorldVertices(c,0,h,d,0,2)}if(d)for(var p=0,m=d.length;p<m;p+=2){var g=d[p],A=d[p+1];i=Math.min(i,g),a=Math.min(a,A),o=Math.max(o,g),s=Math.max(s,A)}}}t.set(i,a),e.set(o-i,s-a)}},{key:"update",value:function(t){this.time+=t}}]),t}(),Se=function(){function t(){d(this,t),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.x=0,this.y=0,this.width=0,this.height=0,this.version=null,this.hash=null,this.fps=0,this.imagesPath=null,this.audioPath=null}return v(t,[{key:"findBone",value:function(t){if(!t)throw new Error("boneName cannot be null.");for(var e=this.bones,n=0,r=e.length;n<r;n++){var i=e[n];if(i.name==t)return i}return null}},{key:"findSlot",value:function(t){if(!t)throw new Error("slotName cannot be null.");for(var e=this.slots,n=0,r=e.length;n<r;n++){var i=e[n];if(i.name==t)return i}return null}},{key:"findSkin",value:function(t){if(!t)throw new Error("skinName cannot be null.");for(var e=this.skins,n=0,r=e.length;n<r;n++){var i=e[n];if(i.name==t)return i}return null}},{key:"findEvent",value:function(t){if(!t)throw new Error("eventDataName cannot be null.");for(var e=this.events,n=0,r=e.length;n<r;n++){var i=e[n];if(i.name==t)return i}return null}},{key:"findAnimation",value:function(t){if(!t)throw new Error("animationName cannot be null.");for(var e=this.animations,n=0,r=e.length;n<r;n++){var i=e[n];if(i.name==t)return i}return null}},{key:"findIkConstraint",value:function(t){if(!t)throw new Error("constraintName cannot be null.");for(var e=this.ikConstraints,n=0,r=e.length;n<r;n++){var i=e[n];if(i.name==t)return i}return null}},{key:"findTransformConstraint",value:function(t){if(!t)throw new Error("constraintName cannot be null.");for(var e=this.transformConstraints,n=0,r=e.length;n<r;n++){var i=e[n];if(i.name==t)return i}return null}},{key:"findPathConstraint",value:function(t){if(!t)throw new Error("constraintName cannot be null.");for(var e=this.pathConstraints,n=0,r=e.length;n<r;n++){var i=e[n];if(i.name==t)return i}return null}}]),t}(),Me=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;d(this,t),this.slotIndex=e,this.name=n,this.attachment=r},Te=function(){function t(e){if(d(this,t),this.name=null,this.attachments=new Array,this.bones=Array(),this.constraints=new Array,!e)throw new Error("name cannot be null.");this.name=e}return v(t,[{key:"setAttachment",value:function(t,e,n){if(!n)throw new Error("attachment cannot be null.");var r=this.attachments;t>=r.length&&(r.length=t+1),r[t]||(r[t]={}),r[t][e]=n}},{key:"addSkin",value:function(t){for(var e=0;e<t.bones.length;e++){for(var n=t.bones[e],r=!1,i=0;i<this.bones.length;i++)if(this.bones[i]==n){r=!0;break}r||this.bones.push(n)}for(var a=0;a<t.constraints.length;a++){for(var o=t.constraints[a],s=!1,u=0;u<this.constraints.length;u++)if(this.constraints[u]==o){s=!0;break}s||this.constraints.push(o)}for(var l=t.getAttachments(),c=0;c<l.length;c++){var h=l[c];this.setAttachment(h.slotIndex,h.name,h.attachment)}}},{key:"copySkin",value:function(t){for(var e=0;e<t.bones.length;e++){for(var n=t.bones[e],r=!1,i=0;i<this.bones.length;i++)if(this.bones[i]==n){r=!0;break}r||this.bones.push(n)}for(var a=0;a<t.constraints.length;a++){for(var o=t.constraints[a],s=!1,u=0;u<this.constraints.length;u++)if(this.constraints[u]==o){s=!0;break}s||this.constraints.push(o)}for(var l=t.getAttachments(),c=0;c<l.length;c++){var h=l[c];h.attachment&&(h.attachment instanceof Qt?(h.attachment=h.attachment.newLinkedMesh(),this.setAttachment(h.slotIndex,h.name,h.attachment)):(h.attachment=h.attachment.copy(),this.setAttachment(h.slotIndex,h.name,h.attachment)))}}},{key:"getAttachment",value:function(t,e){var n=this.attachments[t];return n?n[e]:null}},{key:"removeAttachment",value:function(t,e){var n=this.attachments[t];
1n&&(n[e]=null)}},{key:"getAttachments",value:function(){for(var t=new Array,e=0;e<this.attachments.length;e++){var n=this.attachments[e];if(n)for(var r in n){var i=n[r];i&&t.push(new Me(e,r,i))}}return t}},{key:"getAttachmentsForSlot",value:function(t,e){var n=this.attachments[t];if(n)for(var r in n){var i=n[r];i&&e.push(new Me(t,r,i))}}},{key:"clear",value:function(){this.attachments.length=0,this.bones.length=0,this.constraints.length=0}},{key:"attachAll",value:function(t,e){for(var n=0,r=0;r<t.slots.length;r++){var i=t.slots[r],a=i.getAttachment();if(a&&n<e.attachments.length){var o=e.attachments[n];for(var s in o){if(a==o[s]){var u=this.getAttachment(n,s);u&&i.setAttachment(u);break}}}n++}}}]),t}(),Re=function t(e,n,r){if(d(this,t),this.index=0,this.name=null,this.boneData=null,this.color=new a(1,1,1,1),this.darkColor=null,this.attachmentName=null,this.blendMode=null,e<0)throw new Error("index must be >= 0.");if(!n)throw new Error("name cannot be null.");if(!r)throw new Error("boneData cannot be null.");this.index=e,this.name=n,this.boneData=r};(Le=we||(we={}))[Le.Normal=0]="Normal",Le[Le.Additive=1]="Additive",Le[Le.Multiply=2]="Multiply",Le[Le.Screen=3]="Screen";var Pe,Ie,Oe=function(t){u(n,t);var e=g(n);function n(t){var r;return d(this,n),(r=e.call(this,t,0,!1)).bones=new Array,r.target=null,r.mixRotate=0,r.mixX=0,r.mixY=0,r.mixScaleX=0,r.mixScaleY=0,r.mixShearY=0,r.offsetRotation=0,r.offsetX=0,r.offsetY=0,r.offsetScaleX=0,r.offsetScaleY=0,r.offsetShearY=0,r.relative=!1,r.local=!1,r}return n}(fe),Be=function(){function t(e){d(this,t),this.scale=1,this.attachmentLoader=null,this.linkedMeshes=new Array,this.attachmentLoader=e}return v(t,[{key:"readSkeletonData",value:function(t){var e=this.scale,n=new Se;n.name="";var r=new Fe(t),i=r.readInt32(),o=r.readInt32();n.hash=0==o&&0==i?null:o.toString(16)+i.toString(16),n.version=r.readString(),n.x=r.readFloat(),n.y=r.readFloat(),n.width=r.readFloat(),n.height=r.readFloat();var s=r.readBoolean();s&&(n.fps=r.readFloat(),n.imagesPath=r.readString(),n.audioPath=r.readString());var u=0;u=r.readInt(!0);for(var l=0;l<u;l++)r.strings.push(r.readString());u=r.readInt(!0);for(var c=0;c<u;c++){var h=r.readString(),d=0==c?null:n.bones[r.readInt(!0)],f=new ae(c,h,d);f.rotation=r.readFloat(),f.x=r.readFloat()*e,f.y=r.readFloat()*e,f.scaleX=r.readFloat(),f.scaleY=r.readFloat(),f.shearX=r.readFloat(),f.shearY=r.readFloat(),f.length=r.readFloat()*e,f.transformMode=r.readInt(!0),f.skinRequired=r.readBoolean(),s&&a.rgba8888ToColor(f.color,r.readInt32()),n.bones.push(f)}u=r.readInt(!0);for(var v=0;v<u;v++){var p=r.readString(),m=n.bones[r.readInt(!0)],g=new Re(v,p,m);a.rgba8888ToColor(g.color,r.readInt32());var A=r.readInt32();-1!=A&&a.rgb888ToColor(g.darkColor=new a,A),g.attachmentName=r.readStringRef(),g.blendMode=r.readInt(!0),n.slots.push(g)}u=r.readInt(!0);for(var x,b=0;b<u;b++){var w=new Ae(r.readString());w.order=r.readInt(!0),w.skinRequired=r.readBoolean(),x=r.readInt(!0);for(var L=0;L<x;L++)w.bones.push(n.bones[r.readInt(!0)]);w.target=n.bones[r.readInt(!0)],w.mix=r.readFloat(),w.softness=r.readFloat()*e,w.bendDirection=r.readByte(),w.compress=r.readBoolean(),w.stretch=r.readBoolean(),w.uniform=r.readBoolean(),n.ikConstraints.push(w)}u=r.readInt(!0);for(var k,C=0;C<u;C++){var E=new Oe(r.readString());E.order=r.readInt(!0),E.skinRequired=r.readBoolean(),k=r.readInt(!0);for(var S=0;S<k;S++)E.bones.push(n.bones[r.readInt(!0)]);E.target=n.bones[r.readInt(!0)],E.local=r.readBoolean(),E.relative=r.readBoolean(),E.offsetRotation=r.readFloat(),E.offsetX=r.readFloat()*e,E.offsetY=r.readFloat()*e,E.offsetScaleX=r.readFloat(),E.offsetScaleY=r.readFloat(),E.offsetShearY=r.readFloat(),E.mixRotate=r.readFloat(),E.mixX=r.readFloat(),E.mixY=r.readFloat(),E.mixScaleX=r.readFloat(),E.mixScaleY=r.readFloat(),E.mixShearY=r.readFloat(),n.transformConstraints.push(E)}u=r.readInt(!0);for(var M,T=0;T<u;T++){var R=new xe(r.readString());R.order=r.readInt(!0),R.skinRequired=r.readBoolean(),M=r.readInt(!0);for(var P=0;P<M;P++)R.bones.push(n.bones[r.readInt(!0)]);R.target=n.slots[r.readInt(!0)],R.positionMode=r.readInt(!0),R.spacingMode=r.readInt(!0),R.rotateMode=r.readInt(!0),R.offsetRotation=r.readFloat(),R.position=r.readFloat(),R.positionMode==oe.Fixed&&(R.position*=e),R.spacing=r.readFloat(),R.spacingMode!=ue.Length&&R.spacingMode!=ue.Fixed||(R.spacing*=e),R.mixRotate=r.readFloat(),R.mixX=r.readFloat(),R.mixY=r.readFloat(),n.pathConstraints.push(R)}var I=this.readSkin(r,n,!0,s);I&&(n.defaultSkin=I,n.skins.push(I));var O=n.skins.length;for(y.setArraySize(n.skins,u=O+r.readInt(!0));O<u;O++)n.skins[O]=this.readSkin(r,n,!1,s);u=this.linkedMeshes.length;for(var B=0;B<u;B++){var F=this.linkedMeshes[B],D=(F.skin?n.findSkin(F.skin):n.defaultSkin).getAttachment(F.slotIndex,F.parent);F.mesh.deformAttachment=F.inheritDeform?D:F.mesh,F.mesh.setParentMesh(D),F.mesh.updateUVs()}this.linkedMeshes.length=0,u=r.readInt(!0);for(var V=0;V<u;V++){var Y=new ge(r.readStringRef());Y.intValue=r.readInt(!1),Y.floatValue=r.readFloat(),Y.stringValue=r.readString(),Y.audioPath=r.readString(),Y.audioPath&&(Y.volume=r.readFloat(),Y.balance=r.readFloat()),n.events.push(Y)}u=r.readInt(!0);for(var X=0;X<u;X++)n.animations.push(this.readAnimation(r,r.readString(),n));return n}},{key:"readSkin",value:function(t,e,n,r){var i=null,a=0;if(n){if(0==(a=t.readInt(!0)))return null;i=new Te("default")}else{(i=new Te(t.readStringRef())).bones.length=t.readInt(!0);for(var o=0,s=i.bones.length;o<s;o++)i.bones[o]=e.bones[t.readInt(!0)];for(var u=0,l=t.readInt(!0);u<l;u++)i.constraints.push(e.ikConstraints[t.readInt(!0)]);for(var c=0,h=t.readInt(!0);c<h;c++)i.constraints.push(e.transformConstraints[t.readInt(!0)]);for(var d=0,f=t.readInt(!0);d<f;d++)i.constraints.push(e.pathConstraints[t.readInt(!0)]);a=t.readInt(!0)}for(var v=0;v<a;v++)for(var p=t.readInt(!0),m=0,g=t.readInt(!0);m<g;m++){var y=t.readStringRef(),A=this.readAttachment(t,e,i,p,y,r);A&&i.setAttachment(p,y,A)}return i}},{key:"readAttachment",value:function(t,e,n,r,i,o){var s=this.scale,u=t.readStringRef();switch(u||(u=i),t.readByte()){case Pe.Region:var l=t.readStringRef(),c=t.readFloat(),h=t.readFloat(),d=t.readFloat(),f=t.readFloat(),v=t.readFloat(),p=t.readFloat(),m=t.readFloat(),g=t.readInt32();l||(l=u);var A=this.attachmentLoader.newRegionAttachment(n,u,l);return A?(A.path=l,A.x=h*s,A.y=d*s,A.scaleX=f,A.scaleY=v,A.rotation=c,A.width=p*s,A.height=m*s,a.rgba8888ToColor(A.color,g),A.updateOffset(),A):null;case Pe.BoundingBox:var x=t.readInt(!0),b=this.readVertices(t,x),w=o?t.readInt32():0,L=this.attachmentLoader.newBoundingBoxAttachment(n,u);return L?(L.worldVerticesLength=x<<1,L.vertices=b.vertices,L.bones=b.bones,o&&a.rgba8888ToColor(L.color,w),L):null;case Pe.Mesh:var k=t.readStringRef(),C=t.readInt32(),E=t.readInt(!0),S=this.readFloatArray(t,E<<1,1),M=this.readShortArray(t),T=this.readVertices(t,E),R=t.readInt(!0),P=null,I=0,O=0;o&&(P=this.readShortArray(t),I=t.readFloat(),O=t.readFloat()),k||(k=u);var B=this.attachmentLoader.newMeshAttachment(n,u,k);return B?(B.path=k,a.rgba8888ToColor(B.color,C),B.bones=T.bones,B.vertices=T.vertices,B.worldVerticesLength=E<<1,B.triangles=M,B.regionUVs=S,B.updateUVs(),B.hullLength=R<<1,o&&(B.edges=P,B.width=I*s,B.height=O*s),B):null;case Pe.LinkedMesh:var F=t.readStringRef(),D=t.readInt32(),V=t.readStringRef(),Y=t.readStringRef(),X=t.readBoolean(),U=0,j=0;o&&(U=t.readFloat(),j=t.readFloat()),F||(F=u);var Z=this.attachmentLoader.newMeshAttachment(n,u,F);return Z?(Z.path=F,a.rgba8888ToColor(Z.color,D),o&&(Z.width=U*s,Z.height=j*s),this.linkedMeshes.push(new De(Z,V,r,Y,X)),Z):null;case Pe.Path:for(var N=t.readBoolean(),z=t.readBoolean(),_=t.readInt(!0),W=this.readVertices(t,_),G=y.newArray(_/3,0),H=0,q=G.length;H<q;H++)G[H]=t.readFloat()*s;var J=o?t.readInt32():0,K=this.attachmentLoader.newPathAttachment(n,u);return K?(K.closed=N,K.constantSpeed=z,K.worldVerticesLength=_<<1,K.vertices=W.vertices,K.bones=W.bones,K.lengths=G,o&&a.rgba8888ToColor(K.color,J),K):null;case Pe.Point:var Q=t.readFloat(),$=t.readFloat(),tt=t.readFloat(),et=o?t.readInt32():0,nt=this.attachmentLoader.newPointAttachment(n,u);return nt?(nt.x=$*s,nt.y=tt*s,nt.rotation=Q,o&&a.rgba8888ToColor(nt.color,et),nt):null;case Pe.Clipping:var rt=t.readInt(!0),it=t.readInt(!0),at=this.readVertices(t,it),ot=o?t.readInt32():0,st=this.attachmentLoader.newClippingAttachment(n,u);return st?(st.endSlot=e.slots[rt],st.worldVerticesLength=it<<1,st.vertices=at.vertices,st.bones=at.bones,o&&a.rgba8888ToColor(st.color,ot),st):null}return null}},{key:"readVertices",value:function(t,e){var n=this.scale,r=e<<1,i=new Ve;if(!t.readBoolean())return i.vertices=this.readFloatArray(t,r,n),i;for(var a=new Array,o=new Array,s=0;s<e;s++){var u=t.readInt(!0);o.push(u);for(var l=0;l<u;l++)o.push(t.readInt(!0)),a.push(t.readFloat()*n),a.push(t.readFloat()*n),a.push(t.readFloat())}return i.vertices=y.toFloatArray(a),i.bones=o,i}},{key:"readFloatArray",value:function(t,e,n){var r=new Array(e);if(1==n)for(var i=0;i<e;i++)r[i]=t.readFloat();else for(var a=0;a<e;a++)r[a]=t.readFloat()*n;return r}},{key:"readShortArray",value:function(t){for(var e=t.readInt(!0),n=new Array(e),r=0;r<e;r++)n[r]=t.readShort();return n}},{key:"readAnimation",value:function(t,e,n){t.readInt(!0);for(var r=new Array,i=this.scale,o=(new a,new a,0),s=t.readInt(!0);o<s;o++)for(var u=t.readInt(!0),l=0,c=t.readInt(!0);l<c;l++){var h=t.readByte(),d=t.readInt(!0),f=d-1;switch(h){case Ke:for(var v=new pt(d,u),p=0;p<d;
1p++)v.setFrame(p,t.readFloat(),t.readStringRef());r.push(v);break;case Qe:for(var m=t.readInt(!0),g=new ct(d,m,u),A=t.readFloat(),x=t.readUnsignedByte()/255,b=t.readUnsignedByte()/255,w=t.readUnsignedByte()/255,L=t.readUnsignedByte()/255,k=0,C=0;g.setFrame(k,A,x,b,w,L),k!=f;k++){var E=t.readFloat(),S=t.readUnsignedByte()/255,M=t.readUnsignedByte()/255,T=t.readUnsignedByte()/255,P=t.readUnsignedByte()/255;switch(t.readByte()){case sn:g.setStepped(k);break;case un:Ue(t,g,C++,k,0,A,E,x,S,1),Ue(t,g,C++,k,1,A,E,b,M,1),Ue(t,g,C++,k,2,A,E,w,T,1),Ue(t,g,C++,k,3,A,E,L,P,1)}A=E,x=S,b=M,w=T,L=P}r.push(g);break;case $e:for(var I=t.readInt(!0),O=new ht(d,I,u),B=t.readFloat(),F=t.readUnsignedByte()/255,D=t.readUnsignedByte()/255,V=t.readUnsignedByte()/255,Y=0,X=0;O.setFrame(Y,B,F,D,V),Y!=f;Y++){var U=t.readFloat(),j=t.readUnsignedByte()/255,Z=t.readUnsignedByte()/255,N=t.readUnsignedByte()/255;switch(t.readByte()){case sn:O.setStepped(Y);break;case un:Ue(t,O,X++,Y,0,B,U,F,j,1),Ue(t,O,X++,Y,1,B,U,D,Z,1),Ue(t,O,X++,Y,2,B,U,V,N,1)}B=U,F=j,D=Z,V=N}r.push(O);break;case tn:for(var z=t.readInt(!0),_=new ft(d,z,u),W=t.readFloat(),G=t.readUnsignedByte()/255,H=t.readUnsignedByte()/255,q=t.readUnsignedByte()/255,J=t.readUnsignedByte()/255,K=t.readUnsignedByte()/255,Q=t.readUnsignedByte()/255,$=t.readUnsignedByte()/255,At=0,xt=0;_.setFrame(At,W,G,H,q,J,K,Q,$),At!=f;At++){var Et=t.readFloat(),St=t.readUnsignedByte()/255,Mt=t.readUnsignedByte()/255,Tt=t.readUnsignedByte()/255,Rt=t.readUnsignedByte()/255,Pt=t.readUnsignedByte()/255,It=t.readUnsignedByte()/255,Ot=t.readUnsignedByte()/255;switch(t.readByte()){case sn:_.setStepped(At);break;case un:Ue(t,_,xt++,At,0,W,Et,G,St,1),Ue(t,_,xt++,At,1,W,Et,H,Mt,1),Ue(t,_,xt++,At,2,W,Et,q,Tt,1),Ue(t,_,xt++,At,3,W,Et,J,Rt,1),Ue(t,_,xt++,At,4,W,Et,K,Pt,1),Ue(t,_,xt++,At,5,W,Et,Q,It,1),Ue(t,_,xt++,At,6,W,Et,$,Ot,1)}W=Et,G=St,H=Mt,q=Tt,J=Rt,K=Pt,Q=It,$=Ot}r.push(_);break;case en:for(var Bt=t.readInt(!0),Ft=new vt(d,Bt,u),Dt=t.readFloat(),Vt=t.readUnsignedByte()/255,Yt=t.readUnsignedByte()/255,Xt=t.readUnsignedByte()/255,Ut=t.readUnsignedByte()/255,jt=t.readUnsignedByte()/255,Zt=t.readUnsignedByte()/255,Nt=0,zt=0;Ft.setFrame(Nt,Dt,Vt,Yt,Xt,Ut,jt,Zt),Nt!=f;Nt++){var _t=t.readFloat(),Wt=t.readUnsignedByte()/255,Gt=t.readUnsignedByte()/255,Ht=t.readUnsignedByte()/255,qt=t.readUnsignedByte()/255,Jt=t.readUnsignedByte()/255,Kt=t.readUnsignedByte()/255;switch(t.readByte()){case sn:Ft.setStepped(Nt);break;case un:Ue(t,Ft,zt++,Nt,0,Dt,_t,Vt,Wt,1),Ue(t,Ft,zt++,Nt,1,Dt,_t,Yt,Gt,1),Ue(t,Ft,zt++,Nt,2,Dt,_t,Xt,Ht,1),Ue(t,Ft,zt++,Nt,3,Dt,_t,Ut,qt,1),Ue(t,Ft,zt++,Nt,4,Dt,_t,jt,Jt,1),Ue(t,Ft,zt++,Nt,5,Dt,_t,Zt,Kt,1)}Dt=_t,Vt=Wt,Yt=Gt,Xt=Ht,Ut=qt,jt=Jt,Zt=Kt}r.push(Ft);break;case nn:for(var Qt=new dt(d,t.readInt(!0),u),$t=t.readFloat(),te=t.readUnsignedByte()/255,ee=0,ne=0;Qt.setFrame(ee,$t,te),ee!=f;ee++){var re=t.readFloat(),ie=t.readUnsignedByte()/255;switch(t.readByte()){case sn:Qt.setStepped(ee);break;case un:Ue(t,Qt,ne++,ee,0,$t,re,te,ie,1)}$t=re,te=ie}r.push(Qt)}}for(var ae=0,se=t.readInt(!0);ae<se;ae++)for(var le=t.readInt(!0),ce=0,he=t.readInt(!0);ce<he;ce++){var de=t.readByte(),fe=t.readInt(!0),ve=t.readInt(!0);switch(de){case je:r.push(Ye(t,new tt(fe,ve,le),1));break;case Ze:r.push(Xe(t,new et(fe,ve,le),i));break;case Ne:r.push(Ye(t,new nt(fe,ve,le),i));break;case ze:r.push(Ye(t,new rt(fe,ve,le),i));break;case _e:r.push(Xe(t,new it(fe,ve,le),1));break;case We:r.push(Ye(t,new at(fe,ve,le),1));break;case Ge:r.push(Ye(t,new ot(fe,ve,le),1));break;case He:r.push(Xe(t,new st(fe,ve,le),1));break;case qe:r.push(Ye(t,new ut(fe,ve,le),1));break;case Je:r.push(Ye(t,new lt(fe,ve,le),1))}}for(var pe=0,ge=t.readInt(!0);pe<ge;pe++){for(var ye=t.readInt(!0),Ae=t.readInt(!0),xe=Ae-1,be=new bt(Ae,t.readInt(!0),ye),we=t.readFloat(),Le=t.readFloat(),ke=t.readFloat()*i,Ce=0,Ee=0;be.setFrame(Ce,we,Le,ke,t.readByte(),t.readBoolean(),t.readBoolean()),Ce!=xe;Ce++){var Se=t.readFloat(),Me=t.readFloat(),Te=t.readFloat()*i;switch(t.readByte()){case sn:be.setStepped(Ce);break;case un:Ue(t,be,Ee++,Ce,0,we,Se,Le,Me,1),Ue(t,be,Ee++,Ce,1,we,Se,ke,Te,i)}we=Se,Le=Me,ke=Te}r.push(be)}for(var Re=0,Pe=t.readInt(!0);Re<Pe;Re++){for(var Ie=t.readInt(!0),Oe=t.readInt(!0),Be=Oe-1,Fe=new wt(Oe,t.readInt(!0),Ie),De=t.readFloat(),Ve=t.readFloat(),ln=t.readFloat(),cn=t.readFloat(),hn=t.readFloat(),dn=t.readFloat(),fn=t.readFloat(),vn=0,pn=0;
1Fe.setFrame(vn,De,Ve,ln,cn,hn,dn,fn),vn!=Be;vn++){var mn=t.readFloat(),gn=t.readFloat(),yn=t.readFloat(),An=t.readFloat(),xn=t.readFloat(),bn=t.readFloat(),wn=t.readFloat();switch(t.readByte()){case sn:Fe.setStepped(vn);break;case un:Ue(t,Fe,pn++,vn,0,De,mn,Ve,gn,1),Ue(t,Fe,pn++,vn,1,De,mn,ln,yn,1),Ue(t,Fe,pn++,vn,2,De,mn,cn,An,1),Ue(t,Fe,pn++,vn,3,De,mn,hn,xn,1),Ue(t,Fe,pn++,vn,4,De,mn,dn,bn,1),Ue(t,Fe,pn++,vn,5,De,mn,fn,wn,1)}De=mn,Ve=gn,ln=yn,cn=An,hn=xn,dn=bn,fn=wn}r.push(Fe)}for(var Ln=0,kn=t.readInt(!0);Ln<kn;Ln++)for(var Cn=t.readInt(!0),En=n.pathConstraints[Cn],Sn=0,Mn=t.readInt(!0);Sn<Mn;Sn++)switch(t.readByte()){case rn:r.push(Ye(t,new Lt(t.readInt(!0),t.readInt(!0),Cn),En.positionMode==oe.Fixed?i:1));break;case an:r.push(Ye(t,new kt(t.readInt(!0),t.readInt(!0),Cn),En.spacingMode==ue.Length||En.spacingMode==ue.Fixed?i:1));break;case on:for(var Tn=new Ct(t.readInt(!0),t.readInt(!0),Cn),Rn=t.readFloat(),Pn=t.readFloat(),In=t.readFloat(),On=t.readFloat(),Bn=0,Fn=0,Dn=Tn.getFrameCount()-1;Tn.setFrame(Bn,Rn,Pn,In,On),Bn!=Dn;Bn++){var Vn=t.readFloat(),Yn=t.readFloat(),Xn=t.readFloat(),Un=t.readFloat();switch(t.readByte()){case sn:Tn.setStepped(Bn);break;case un:Ue(t,Tn,Fn++,Bn,0,Rn,Vn,Pn,Yn,1),Ue(t,Tn,Fn++,Bn,1,Rn,Vn,In,Xn,1),Ue(t,Tn,Fn++,Bn,2,Rn,Vn,On,Un,1)}Rn=Vn,Pn=Yn,In=Xn,On=Un}r.push(Tn)}for(var jn=0,Zn=t.readInt(!0);jn<Zn;jn++)for(var Nn=n.skins[t.readInt(!0)],zn=0,_n=t.readInt(!0);zn<_n;zn++)for(var Wn=t.readInt(!0),Gn=0,Hn=t.readInt(!0);Gn<Hn;Gn++){for(var qn=t.readStringRef(),Jn=Nn.getAttachment(Wn,qn),Kn=Jn.bones,Qn=Jn.vertices,$n=Kn?Qn.length/3*2:Qn.length,tr=t.readInt(!0),er=tr-1,nr=t.readInt(!0),rr=new mt(tr,nr,Wn,Jn),ir=t.readFloat(),ar=0,or=0;;ar++){var sr=void 0,ur=t.readInt(!0);if(0==ur)sr=Kn?y.newFloatArray($n):Qn;else{sr=y.newFloatArray($n);var lr=t.readInt(!0);if(ur+=lr,1==i)for(var cr=lr;cr<ur;cr++)sr[cr]=t.readFloat();else for(var hr=lr;hr<ur;hr++)sr[hr]=t.readFloat()*i;if(!Kn)for(var dr=0,fr=sr.length;dr<fr;dr++)sr[dr]+=Qn[dr]}if(rr.setFrame(ar,ir,sr),ar==er)break;var vr=t.readFloat();switch(t.readByte()){case sn:rr.setStepped(ar);break;case un:Ue(t,rr,or++,ar,0,ir,vr,0,1,1)}ir=vr}r.push(rr)}var pr=t.readInt(!0);if(pr>0){for(var mr=new yt(pr),gr=n.slots.length,yr=0;yr<pr;yr++){for(var Ar=t.readFloat(),xr=t.readInt(!0),br=y.newArray(gr,0),wr=gr-1;wr>=0;wr--)br[wr]=-1;for(var Lr=y.newArray(gr-xr,0),kr=0,Cr=0,Er=0;Er<xr;Er++){for(var Sr=t.readInt(!0);kr!=Sr;)Lr[Cr++]=kr++;br[kr+t.readInt(!0)]=kr++}for(;kr<gr;)Lr[Cr++]=kr++;for(var Mr=gr-1;Mr>=0;Mr--)-1==br[Mr]&&(br[Mr]=Lr[--Cr]);mr.setFrame(yr,Ar,br)}r.push(mr)}var Tr=t.readInt(!0);if(Tr>0){for(var Rr=new gt(Tr),Pr=0;Pr<Tr;Pr++){var Ir=t.readFloat(),Or=n.events[t.readInt(!0)],Br=new me(Ir,Or);Br.intValue=t.readInt(!1),Br.floatValue=t.readFloat(),Br.stringValue=t.readBoolean()?t.readString():Or.stringValue,Br.data.audioPath&&(Br.volume=t.readFloat(),Br.balance=t.readFloat()),Rr.setFrame(Pr,Br)}r.push(Rr)}for(var Fr=0,Dr=0,Vr=r.length;Dr<Vr;Dr++)Fr=Math.max(Fr,r[Dr].getDuration());return new R(e,r,Fr)}}]),t}(),Fe=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Array,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new DataView(e.buffer);d(this,t),this.strings=n,this.index=r,this.buffer=i}return v(t,[{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 t=this.buffer.getInt16(this.index);return this.index+=2,t}},{key:"readInt32",value:function(){var t=this.buffer.getInt32(this.index);return this.index+=4,t}},{key:"readInt",value:function(t){var e=this.readByte(),n=127&e;return 0!=(128&e)&&(n|=(127&(e=this.readByte()))<<7,0!=(128&e)&&(n|=(127&(e=this.readByte()))<<14,0!=(128&e)&&(n|=(127&(e=this.readByte()))<<21,0!=(128&e)&&(n|=(127&(e=this.readByte()))<<28)))),t?n:n>>>1^-(1&n)}},{key:"readStringRef",value:function(){var t=this.readInt(!0);return 0==t?null:this.strings[t-1]}},{key:"readString",value:function(){var t=this.readInt(!0);switch(t){case 0:return null;case 1:return""}t--;for(var e="",n=0;n<t;){var r=this.readByte();switch(r>>4){case 12:case 13:e+=String.fromCharCode((31&r)<<6|63&this.readByte()),n+=2;break;
1case 14:e+=String.fromCharCode((15&r)<<12|(63&this.readByte())<<6|63&this.readByte()),n+=3;break;default:e+=String.fromCharCode(r),n++}}return e}},{key:"readFloat",value:function(){var t=this.buffer.getFloat32(this.index);return this.index+=4,t}},{key:"readBoolean",value:function(){return 0!=this.readByte()}}]),t}(),De=function t(e,n,r,i,a){d(this,t),this.mesh=e,this.skin=n,this.slotIndex=r,this.parent=i,this.inheritDeform=a},Ve=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;d(this,t),this.bones=e,this.vertices=n};function Ye(t,e,n){for(var r=t.readFloat(),i=t.readFloat()*n,a=0,o=0,s=e.getFrameCount()-1;e.setFrame(a,r,i),a!=s;a++){var u=t.readFloat(),l=t.readFloat()*n;switch(t.readByte()){case sn:e.setStepped(a);break;case un:Ue(t,e,o++,a,0,r,u,i,l,n)}r=u,i=l}return e}function Xe(t,e,n){for(var r=t.readFloat(),i=t.readFloat()*n,a=t.readFloat()*n,o=0,s=0,u=e.getFrameCount()-1;e.setFrame(o,r,i,a),o!=u;o++){var l=t.readFloat(),c=t.readFloat()*n,h=t.readFloat()*n;switch(t.readByte()){case sn:e.setStepped(o);break;case un:Ue(t,e,s++,o,0,r,l,i,c,n),Ue(t,e,s++,o,1,r,l,a,h,n)}r=l,i=c,a=h}return e}function Ue(t,e,n,r,i,a,o,s,u,l){e.setBezier(n,r,i,a,s,t.readFloat(),t.readFloat()*l,t.readFloat(),t.readFloat()*l,o,u)}(Ie=Pe||(Pe={}))[Ie.Region=0]="Region",Ie[Ie.BoundingBox=1]="BoundingBox",Ie[Ie.Mesh=2]="Mesh",Ie[Ie.LinkedMesh=3]="LinkedMesh",Ie[Ie.Path=4]="Path",Ie[Ie.Point=5]="Point",Ie[Ie.Clipping=6]="Clipping";var je=0,Ze=1,Ne=2,ze=3,_e=4,We=5,Ge=6,He=7,qe=8,Je=9,Ke=0,Qe=1,$e=2,tn=3,en=4,nn=5,rn=0,an=1,on=2,sn=1,un=2,ln=function(){function t(){d(this,t),this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.boundingBoxes=new Array,this.polygons=new Array,this.polygonPool=new x((function(){return y.newFloatArray(16)}))}return v(t,[{key:"update",value:function(t,e){if(!t)throw new Error("skeleton cannot be null.");var n=this.boundingBoxes,r=this.polygons,i=this.polygonPool,a=t.slots,o=a.length;n.length=0,i.freeAll(r),r.length=0;for(var s=0;s<o;s++){var u=a[s];if(u.bone.active){var l=u.getAttachment();if(l instanceof Nt){var c=l;n.push(c);var h=i.obtain();h.length!=c.worldVerticesLength&&(h=y.newFloatArray(c.worldVerticesLength)),r.push(h),c.computeWorldVertices(u,0,c.worldVerticesLength,h,0,2)}}}e?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 t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY,r=Number.NEGATIVE_INFINITY,i=this.polygons,a=0,o=i.length;a<o;a++)for(var s=i[a],u=s,l=0,c=s.length;l<c;l+=2){var h=u[l],d=u[l+1];t=Math.min(t,h),e=Math.min(e,d),n=Math.max(n,h),r=Math.max(r,d)}this.minX=t,this.minY=e,this.maxX=n,this.maxY=r}},{key:"aabbContainsPoint",value:function(t,e){return t>=this.minX&&t<=this.maxX&&e>=this.minY&&e<=this.maxY}},{key:"aabbIntersectsSegment",value:function(t,e,n,r){var i=this.minX,a=this.minY,o=this.maxX,s=this.maxY;if(t<=i&&n<=i||e<=a&&r<=a||t>=o&&n>=o||e>=s&&r>=s)return!1;var u=(r-e)/(n-t),l=u*(i-t)+e;if(l>a&&l<s)return!0;if((l=u*(o-t)+e)>a&&l<s)return!0;var c=(a-e)/u+t;return c>i&&c<o||(c=(s-e)/u+t)>i&&c<o}},{key:"aabbIntersectsSkeleton",value:function(t){return this.minX<t.maxX&&this.maxX>t.minX&&this.minY<t.maxY&&this.maxY>t.minY}},{key:"containsPoint",value:function(t,e){for(var n=this.polygons,r=0,i=n.length;r<i;r++)if(this.containsPointPolygon(n[r],t,e))return this.boundingBoxes[r];return null}},{key:"containsPointPolygon",value:function(t,e,n){for(var r=t,i=t.length,a=i-2,o=!1,s=0;s<i;s+=2){var u=r[s+1],l=r[a+1];if(u<n&&l>=n||l<n&&u>=n){var c=r[s];c+(n-u)/(l-u)*(r[a]-c)<e&&(o=!o)}a=s}return o}},{key:"intersectsSegment",value:function(t,e,n,r){for(var i=this.polygons,a=0,o=i.length;a<o;a++)if(this.intersectsSegmentPolygon(i[a],t,e,n,r))return this.boundingBoxes[a];return null}},{key:"intersectsSegmentPolygon",value:function(t,e,n,r,i){for(var a=t,o=t.length,s=e-r,u=n-i,l=e*i-n*r,c=a[o-2],h=a[o-1],d=0;d<o;d+=2){var f=a[d],v=a[d+1],p=c*v-h*f,m=c-f,g=h-v,y=s*g-u*m,A=(l*m-s*p)/y;if((A>=c&&A<=f||A>=f&&A<=c)&&(A>=e&&A<=r||A>=r&&A<=e)){var x=(l*g-u*p)/y;if((x>=h&&x<=v||x>=v&&x<=h)&&(x>=n&&x<=i||x>=i&&x<=n))return!0}c=f,h=v}return!1}},{key:"getPolygon",value:function(t){if(!t)throw new Error("boundingBox cannot be null.");var e=this.boundingBoxes.indexOf(t);return-1==e?null:this.polygons[e]}},{key:"getWidth",value:function(){return this.maxX-this.minX}},{key:"getHeight",value:function(){return this.maxY-this.minY}}]),t}(),cn=function(){function t(){d(this,t),this.convexPolygons=new Array,this.convexPolygonsIndices=new Array,this.indicesArray=new Array,this.isConcaveArray=new Array,this.triangles=new Array,this.polygonPool=new x((function(){return new Array})),this.polygonIndicesPool=new x((function(){return new Array}))}return v(t,[{key:"triangulate",value:function(e){var n=e,r=e.length>>1,i=this.indicesArray;i.length=0;for(var a=0;a<r;a++)i[a]=a;var o=this.isConcaveArray;o.length=0;for(var s=0,u=r;s<u;++s)o[s]=t.isConcave(s,r,n,i);var l=this.triangles;for(l.length=0;r>3;){for(var c=r-1,h=0,d=1;;){t:if(!o[h]){for(var f=i[c]<<1,v=i[h]<<1,p=i[d]<<1,m=n[f],g=n[f+1],y=n[v],A=n[v+1],x=n[p],b=n[p+1],w=(d+1)%r;w!=c;w=(w+1)%r)if(o[w]){var L=i[w]<<1,k=n[L],C=n[L+1];if(t.positiveArea(x,b,m,g,k,C)&&t.positiveArea(m,g,y,A,k,C)&&t.positiveArea(y,A,x,b,k,C))break t}break}if(0==d){do{if(!o[h])break;h--}while(h>0);break}c=h,h=d,d=(d+1)%r}l.push(i[(r+h-1)%r]),l.push(i[h]),l.push(i[(h+1)%r]),i.splice(h,1),o.splice(h,1);var E=(--r+h-1)%r,S=h==r?0:h;o[E]=t.isConcave(E,r,n,i),o[S]=t.isConcave(S,r,n,i)}return 3==r&&(l.push(i[2]),l.push(i[0]),l.push(i[1])),l}},{key:"decompose",value:function(e,n){var r=e,i=this.convexPolygons;this.polygonPool.freeAll(i),i.length=0;var a=this.convexPolygonsIndices;this.polygonIndicesPool.freeAll(a),a.length=0;var o=this.polygonIndicesPool.obtain();o.length=0;var s=this.polygonPool.obtain();s.length=0;for(var u=-1,l=0,c=0,h=n.length;c<h;c+=3){var d=n[c]<<1,f=n[c+1]<<1,v=n[c+2]<<1,p=r[d],m=r[d+1],g=r[f],y=r[f+1],A=r[v],x=r[v+1],b=!1;if(u==d){var w=s.length-4,L=t.winding(s[w],s[w+1],s[w+2],s[w+3],A,x),k=t.winding(A,x,s[0],s[1],s[2],s[3]);L==l&&k==l&&(s.push(A),s.push(x),o.push(v),b=!0)}b||(s.length>0?(i.push(s),a.push(o)):(this.polygonPool.free(s),this.polygonIndicesPool.free(o)),(s=this.polygonPool.obtain()).length=0,s.push(p),s.push(m),s.push(g),s.push(y),s.push(A),s.push(x),(o=this.polygonIndicesPool.obtain()).length=0,o.push(d),o.push(f),o.push(v),l=t.winding(p,m,g,y,A,x),u=d)}s.length>0&&(i.push(s),a.push(o));for(var C=0,E=i.length;C<E;C++)if(0!=(o=a[C]).length)for(var S=o[0],M=o[o.length-1],T=(s=i[C]).length-4,R=s[T],P=s[T+1],I=s[T+2],O=s[T+3],B=s[0],F=s[1],D=s[2],V=s[3],Y=t.winding(R,P,I,O,B,F),X=0;X<E;X++)if(X!=C){var U=a[X];if(3==U.length){var j=U[0],Z=U[1],N=U[2],z=i[X],_=z[z.length-2],W=z[z.length-1];if(j==S&&Z==M){var G=t.winding(R,P,I,O,_,W),H=t.winding(_,W,B,F,D,V);G==Y&&H==Y&&(z.length=0,U.length=0,s.push(_),s.push(W),o.push(N),R=I,P=O,I=_,O=W,X=0)}}}for(var q=i.length-1;q>=0;q--)0==(s=i[q]).length&&(i.splice(q,1),this.polygonPool.free(s),o=a[q],a.splice(q,1),this.polygonIndicesPool.free(o));return i}}],[{key:"isConcave",value:function(t,e,n,r){var i=r[(e+t-1)%e]<<1,a=r[t]<<1,o=r[(t+1)%e]<<1;return!this.positiveArea(n[i],n[i+1],n[a],n[a+1],n[o],n[o+1])}},{key:"positiveArea",value:function(t,e,n,r,i,a){return t*(a-r)+n*(e-a)+i*(r-e)>=0}},{key:"winding",value:function(t,e,n,r,i,a){var o=n-t,s=r-e;return i*s-a*o+o*e-t*s>=0?1:-1}}]),t}(),hn=function(){function t(){d(this,t),this.triangulator=new cn,this.clippingPolygon=new Array,this.clipOutput=new Array,this.clippedVertices=new Array,this.clippedTriangles=new Array,this.scratch=new Array}return v(t,[{key:"clipStart",value:function(e,n){if(this.clipAttachment)return 0;this.clipAttachment=n;var r=n.worldVerticesLength,i=y.setArraySize(this.clippingPolygon,r);n.computeWorldVertices(e,0,r,i,0,2);var a=this.clippingPolygon;t.makeClockwise(a);for(var o=this.clippingPolygons=this.triangulator.decompose(a,this.triangulator.triangulate(a)),s=0,u=o.length;s<u;s++){var l=o[s];t.makeClockwise(l),l.push(l[0]),l.push(l[1])}return o.length}},{key:"clipEndWithSlot",value:function(t){this.clipAttachment&&this.clipAttachment.endSlot==t.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 null!=this.clipAttachment}},{key:"clipTriangles",value:function(t,e,n,r,i,a,o,s){var u=this.clipOutput,l=this.clippedVertices,c=this.clippedTriangles,h=this.clippingPolygons,d=this.clippingPolygons.length,f=s?12:8,v=0;l.length=0,c.length=0;t:for(var p=0;p<r;p+=3)for(var m=n[p]<<1,g=t[m],A=t[m+1],x=i[m],b=i[m+1],w=t[m=n[p+1]<<1],L=t[m+1],k=i[m],C=i[m+1],E=t[m=n[p+2]<<1],S=t[m+1],M=i[m],T=i[m+1],R=0;R<d;R++){var P=l.length;if(!this.clip(g,A,w,L,E,S,h[R],u)){var I=y.setArraySize(l,P+3*f);I[P]=g,I[P+1]=A,I[P+2]=a.r,I[P+3]=a.g,I[P+4]=a.b,I[P+5]=a.a,s?(I[P+6]=x,I[P+7]=b,I[P+8]=o.r,I[P+9]=o.g,I[P+10]=o.b,I[P+11]=o.a,I[P+12]=w,I[P+13]=L,I[P+14]=a.r,I[P+15]=a.g,I[P+16]=a.b,I[P+17]=a.a,I[P+18]=k,I[P+19]=C,I[P+20]=o.r,I[P+21]=o.g,I[P+22]=o.b,I[P+23]=o.a,I[P+24]=E,I[P+25]=S,I[P+26]=a.r,I[P+27]=a.g,I[P+28]=a.b,I[P+29]=a.a,I[P+30]=M,I[P+31]=T,I[P+32]=o.r,I[P+33]=o.g,I[P+34]=o.b,I[P+35]=o.a):(I[P+6]=x,I[P+7]=b,I[P+8]=w,I[P+9]=L,I[P+10]=a.r,I[P+11]=a.g,I[P+12]=a.b,I[P+13]=a.a,I[P+14]=k,I[P+15]=C,I[P+16]=E,I[P+17]=S,I[P+18]=a.r,I[P+19]=a.g,I[P+20]=a.b,I[P+21]=a.a,I[P+22]=M,I[P+23]=T),P=c.length;var O=y.setArraySize(c,P+3);O[P]=v,O[P+1]=v+1,O[P+2]=v+2,v+=3;continue t}var B=u.length;if(0!=B){for(var F=L-S,D=E-w,V=g-E,Y=S-A,X=1/(F*V+D*(A-S)),U=B>>1,j=this.clipOutput,Z=y.setArraySize(l,P+U*f),N=0;N<B;N+=2){var z=j[N],_=j[N+1];Z[P]=z,Z[P+1]=_,Z[P+2]=a.r,Z[P+3]=a.g,Z[P+4]=a.b,Z[P+5]=a.a;
1var W=z-E,G=_-S,H=(F*W+D*G)*X,q=(Y*W+V*G)*X,J=1-H-q;Z[P+6]=x*H+k*q+M*J,Z[P+7]=b*H+C*q+T*J,s&&(Z[P+8]=o.r,Z[P+9]=o.g,Z[P+10]=o.b,Z[P+11]=o.a),P+=f}P=c.length;var K=y.setArraySize(c,P+3*(U-2));U--;for(var Q=1;Q<U;Q++)K[P]=v,K[P+1]=v+Q,K[P+2]=v+Q+1,P+=3;v+=U+1}}}},{key:"clip",value:function(t,e,n,r,i,a,o,s){var u=s,l=!1,c=null;o.length%4>=2?(c=s,s=this.scratch):c=this.scratch,c.length=0,c.push(t),c.push(e),c.push(n),c.push(r),c.push(i),c.push(a),c.push(t),c.push(e),s.length=0;for(var h=o,d=o.length-4,f=0;;f+=2){for(var v=h[f],p=h[f+1],m=h[f+2],g=h[f+3],y=v-m,A=p-g,x=c,b=c.length-2,w=s.length,L=0;L<b;L+=2){var k=x[L],C=x[L+1],E=x[L+2],S=x[L+3],M=y*(S-g)-A*(E-m)>0;if(y*(C-g)-A*(k-m)>0){if(M){s.push(E),s.push(S);continue}var T=S-C,R=E-k,P=T*(m-v)-R*(g-p);if(Math.abs(P)>1e-6){var I=(R*(p-C)-T*(v-k))/P;s.push(v+(m-v)*I),s.push(p+(g-p)*I)}else s.push(v),s.push(p)}else if(M){var O=S-C,B=E-k,F=O*(m-v)-B*(g-p);if(Math.abs(F)>1e-6){var D=(B*(p-C)-O*(v-k))/F;s.push(v+(m-v)*D),s.push(p+(g-p)*D)}else s.push(v),s.push(p);s.push(E),s.push(S)}l=!0}if(w==s.length)return u.length=0,!0;if(s.push(s[0]),s.push(s[1]),f==d)break;var V=s;(s=c).length=0,c=V}if(u!=s){u.length=0;for(var Y=0,X=s.length-2;Y<X;Y++)u[Y]=s[Y]}else u.length=u.length-2;return l}}],[{key:"makeClockwise",value:function(t){for(var e=t,n=t.length,r=e[n-2]*e[1]-e[0]*e[n-1],i=0,a=0,o=0,s=0,u=n-3;s<u;s+=2)i=e[s],a=e[s+1],o=e[s+2],r+=i*e[s+3]-o*a;if(!(r<0))for(var l=0,c=n-2,h=n>>1;l<h;l+=2){var d=e[l],f=e[l+1],v=c-l;e[l]=e[v],e[l+1]=e[v+1],e[v]=d,e[v+1]=f}}}]),t}(),dn=function(){function t(e){d(this,t),this.attachmentLoader=null,this.scale=1,this.linkedMeshes=new Array,this.attachmentLoader=e}return v(t,[{key:"readSkeletonData",value:function(t){var e=this.scale,n=new Se,r="string"===typeof t?JSON.parse(t):t,i=r.skeleton;if(i&&(n.hash=i.hash,n.version=i.spine,n.x=i.x,n.y=i.y,n.width=i.width,n.height=i.height,n.fps=i.fps,n.imagesPath=i.images),r.bones)for(var o=0;o<r.bones.length;o++){var s=r.bones[o],u=null,l=gn(s,"parent",null);l&&(u=n.findBone(l));var c=new ae(n.bones.length,s.name,u);c.length=gn(s,"length",0)*e,c.x=gn(s,"x",0)*e,c.y=gn(s,"y",0)*e,c.rotation=gn(s,"rotation",0),c.scaleX=gn(s,"scaleX",1),c.scaleY=gn(s,"scaleY",1),c.shearX=gn(s,"shearX",0),c.shearY=gn(s,"shearY",0),c.transformMode=y.enumValue(ne,gn(s,"transform","Normal")),c.skinRequired=gn(s,"skin",!1);var h=gn(s,"color",null);h&&c.color.setFromString(h),n.bones.push(c)}if(r.slots)for(var d=0;d<r.slots.length;d++){var f=r.slots[d],v=n.findBone(f.bone),p=new Re(n.slots.length,f.name,v),m=gn(f,"color",null);m&&p.color.setFromString(m);var g=gn(f,"dark",null);g&&(p.darkColor=a.fromString(g)),p.attachmentName=gn(f,"attachment",null),p.blendMode=y.enumValue(we,gn(f,"blend","normal")),n.slots.push(p)}if(r.ik)for(var A=0;A<r.ik.length;A++){var x=r.ik[A],b=new Ae(x.name);b.order=gn(x,"order",0),b.skinRequired=gn(x,"skin",!1);for(var w=0;w<x.bones.length;w++)b.bones.push(n.findBone(x.bones[w]));b.target=n.findBone(x.target),b.mix=gn(x,"mix",1),b.softness=gn(x,"softness",0)*e,b.bendDirection=gn(x,"bendPositive",!0)?1:-1,b.compress=gn(x,"compress",!1),b.stretch=gn(x,"stretch",!1),b.uniform=gn(x,"uniform",!1),n.ikConstraints.push(b)}if(r.transform)for(var L=0;L<r.transform.length;L++){var k=r.transform[L],C=new Oe(k.name);C.order=gn(k,"order",0),C.skinRequired=gn(k,"skin",!1);for(var E=0;E<k.bones.length;E++)C.bones.push(n.findBone(k.bones[E]));var S=k.target;C.target=n.findBone(S),C.local=gn(k,"local",!1),C.relative=gn(k,"relative",!1),C.offsetRotation=gn(k,"rotation",0),C.offsetX=gn(k,"x",0)*e,C.offsetY=gn(k,"y",0)*e,C.offsetScaleX=gn(k,"scaleX",0),C.offsetScaleY=gn(k,"scaleY",0),C.offsetShearY=gn(k,"shearY",0),C.mixRotate=gn(k,"mixRotate",1),C.mixX=gn(k,"mixX",1),C.mixY=gn(k,"mixY",C.mixX),C.mixScaleX=gn(k,"mixScaleX",1),C.mixScaleY=gn(k,"mixScaleY",C.mixScaleX),C.mixShearY=gn(k,"mixShearY",1),n.transformConstraints.push(C)}if(r.path)for(var M=0;M<r.path.length;M++){var T=r.path[M],R=new xe(T.name);R.order=gn(T,"order",0),R.skinRequired=gn(T,"skin",!1);for(var P=0;P<T.bones.length;P++)R.bones.push(n.findBone(T.bones[P]));var I=T.target;R.target=n.findSlot(I),R.positionMode=y.enumValue(oe,gn(T,"positionMode","Percent")),R.spacingMode=y.enumValue(ue,gn(T,"spacingMode","Length")),R.rotateMode=y.enumValue(ce,gn(T,"rotateMode","Tangent")),R.offsetRotation=gn(T,"rotation",0),R.position=gn(T,"position",0),R.positionMode==oe.Fixed&&(R.position*=e),R.spacing=gn(T,"spacing",0),R.spacingMode!=ue.Length&&R.spacingMode!=ue.Fixed||(R.spacing*=e),R.mixRotate=gn(T,"mixRotate",1),R.mixX=gn(T,"mixX",1),R.mixY=gn(T,"mixY",R.mixX),n.pathConstraints.push(R)}if(r.skins)for(var O=0;O<r.skins.length;O++){var B=r.skins[O],F=new Te(B.name);if(B.bones)for(var D=0;D<B.bones.length;D++)F.bones.push(n.findBone(B.bones[D]));if(B.ik)for(var V=0;V<B.ik.length;V++)F.constraints.push(n.findIkConstraint(B.ik[V]));if(B.transform)for(var Y=0;Y<B.transform.length;Y++)F.constraints.push(n.findTransformConstraint(B.transform[Y]));if(B.path)for(var X=0;X<B.path.length;X++)F.constraints.push(n.findPathConstraint(B.path[X]));for(var U in B.attachments){var j=n.findSlot(U),Z=B.attachments[U];for(var N in Z){var z=this.readAttachment(Z[N],F,j.index,N,n);z&&F.setAttachment(j.index,N,z)}}n.skins.push(F),"default"==F.name&&(n.defaultSkin=F)}for(var _=0,W=this.linkedMeshes.length;_<W;_++){var G=this.linkedMeshes[_],H=(G.skin?n.findSkin(G.skin):n.defaultSkin).getAttachment(G.slotIndex,G.parent);G.mesh.deformAttachment=G.inheritDeform?H:G.mesh,G.mesh.setParentMesh(H),G.mesh.updateUVs()}if(this.linkedMeshes.length=0,r.events)for(var q in r.events){var J=r.events[q],K=new ge(q);K.intValue=gn(J,"int",0),K.floatValue=gn(J,"float",0),K.stringValue=gn(J,"string",""),K.audioPath=gn(J,"audio",null),K.audioPath&&(K.volume=gn(J,"volume",1),K.balance=gn(J,"balance",0)),n.events.push(K)}if(r.animations)for(var Q in r.animations){var $=r.animations[Q];this.readAnimation($,Q,n)}return n}},{key:"readAttachment",value:function(t,e,n,r,i){var a=this.scale;switch(r=gn(t,"name",r),gn(t,"type","region")){case"region":var o=gn(t,"path",r),s=this.attachmentLoader.newRegionAttachment(e,r,o);if(!s)return null;
1s.path=o,s.x=gn(t,"x",0)*a,s.y=gn(t,"y",0)*a,s.scaleX=gn(t,"scaleX",1),s.scaleY=gn(t,"scaleY",1),s.rotation=gn(t,"rotation",0),s.width=t.width*a,s.height=t.height*a;var u=gn(t,"color",null);return u&&s.color.setFromString(u),s.updateOffset(),s;case"boundingbox":var l=this.attachmentLoader.newBoundingBoxAttachment(e,r);if(!l)return null;this.readVertices(t,l,t.vertexCount<<1);var c=gn(t,"color",null);return c&&l.color.setFromString(c),l;case"mesh":case"linkedmesh":var h=gn(t,"path",r),d=this.attachmentLoader.newMeshAttachment(e,r,h);if(!d)return null;d.path=h;var f=gn(t,"color",null);f&&d.color.setFromString(f),d.width=gn(t,"width",0)*a,d.height=gn(t,"height",0)*a;var v=gn(t,"parent",null);if(v)return this.linkedMeshes.push(new fn(d,gn(t,"skin",null),n,v,gn(t,"deform",!0))),d;var p=t.uvs;return this.readVertices(t,d,p.length),d.triangles=t.triangles,d.regionUVs=p,d.updateUVs(),d.edges=gn(t,"edges",null),d.hullLength=2*gn(t,"hull",0),d;case"path":var m=this.attachmentLoader.newPathAttachment(e,r);if(!m)return null;m.closed=gn(t,"closed",!1),m.constantSpeed=gn(t,"constantSpeed",!0);var g=t.vertexCount;this.readVertices(t,m,g<<1);for(var A=y.newArray(g/3,0),x=0;x<t.lengths.length;x++)A[x]=t.lengths[x]*a;m.lengths=A;var b=gn(t,"color",null);return b&&m.color.setFromString(b),m;case"point":var w=this.attachmentLoader.newPointAttachment(e,r);if(!w)return null;w.x=gn(t,"x",0)*a,w.y=gn(t,"y",0)*a,w.rotation=gn(t,"rotation",0);var L=gn(t,"color",null);return L&&w.color.setFromString(L),w;case"clipping":var k=this.attachmentLoader.newClippingAttachment(e,r);if(!k)return null;var C=gn(t,"end",null);C&&(k.endSlot=i.findSlot(C));var E=t.vertexCount;this.readVertices(t,k,E<<1);var S=gn(t,"color",null);return S&&k.color.setFromString(S),k}return null}},{key:"readVertices",value:function(t,e,n){var r=this.scale;e.worldVerticesLength=n;var i=t.vertices;if(n!=i.length){for(var a=new Array,o=new Array,s=0,u=i.length;s<u;){var l=i[s++];o.push(l);for(var c=s+4*l;s<c;s+=4)o.push(i[s]),a.push(i[s+1]*r),a.push(i[s+2]*r),a.push(i[s+3])}e.bones=o,e.vertices=y.toFloatArray(a)}else{var h=y.toFloatArray(i);if(1!=r)for(var d=0,f=i.length;d<f;d++)h[d]*=r;e.vertices=h}}},{key:"readAnimation",value:function(t,e,n){var r=this.scale,i=new Array;if(t.slots)for(var o in t.slots){var s=t.slots[o],u=n.findSlot(o).index;for(var l in s){var c=s[l];if(c){var h=c.length;if("attachment"==l){for(var d=new pt(h,u),f=0;f<h;f++){var v=c[f];
1d.setFrame(f,gn(v,"time",0),v.name)}i.push(d)}else if("rgba"==l){for(var p=new ct(h,h<<2,u),m=c[0],g=gn(m,"time",0),A=a.fromString(m.color),x=0,b=0;;x++){p.setFrame(x,g,A.r,A.g,A.b,A.a);var w=c[x+1];if(!w){p.shrink(b);break}var L=gn(w,"time",0),k=a.fromString(w.color),C=m.curve;C&&(b=mn(C,p,b,x,0,g,L,A.r,k.r,1),b=mn(C,p,b,x,1,g,L,A.g,k.g,1),b=mn(C,p,b,x,2,g,L,A.b,k.b,1),b=mn(C,p,b,x,3,g,L,A.a,k.a,1)),g=L,A=k,m=w}i.push(p)}else if("rgb"==l){for(var E=new ht(h,3*h,u),S=c[0],M=gn(S,"time",0),T=a.fromString(S.color),P=0,I=0;;P++){E.setFrame(P,M,T.r,T.g,T.b);var O=c[P+1];if(!O){E.shrink(I);break}var B=gn(O,"time",0),F=a.fromString(O.color),D=S.curve;D&&(I=mn(D,E,I,P,0,M,B,T.r,F.r,1),I=mn(D,E,I,P,1,M,B,T.g,F.g,1),I=mn(D,E,I,P,2,M,B,T.b,F.b,1)),M=B,T=F,S=O}i.push(E)}else if("alpha"==l)i.push(vn(c,new dt(h,h,u),0,1));else if("rgba2"==l){for(var V=new ft(h,7*h,u),Y=c[0],X=gn(Y,"time",0),U=a.fromString(Y.light),j=a.fromString(Y.dark),Z=0,N=0;;Z++){V.setFrame(Z,X,U.r,U.g,U.b,U.a,j.r,j.g,j.b);var z=c[Z+1];if(!z){V.shrink(N);break}var _=gn(z,"time",0),W=a.fromString(z.light),G=a.fromString(z.dark),H=Y.curve;H&&(N=mn(H,V,N,Z,0,X,_,U.r,W.r,1),N=mn(H,V,N,Z,1,X,_,U.g,W.g,1),N=mn(H,V,N,Z,2,X,_,U.b,W.b,1),N=mn(H,V,N,Z,3,X,_,U.a,W.a,1),N=mn(H,V,N,Z,4,X,_,j.r,G.r,1),N=mn(H,V,N,Z,5,X,_,j.g,G.g,1),N=mn(H,V,N,Z,6,X,_,j.b,G.b,1)),X=_,U=W,j=G,Y=z}i.push(V)}else if("rgb2"==l){for(var q=new vt(h,6*h,u),J=c[0],K=gn(J,"time",0),Q=a.fromString(J.light),$=a.fromString(J.dark),At=0,xt=0;;At++){q.setFrame(At,K,Q.r,Q.g,Q.b,$.r,$.g,$.b);var Et=c[At+1];if(!Et){q.shrink(xt);break}var St=gn(Et,"time",0),Mt=a.fromString(Et.light),Tt=a.fromString(Et.dark),Rt=J.curve;Rt&&(xt=mn(Rt,q,xt,At,0,K,St,Q.r,Mt.r,1),xt=mn(Rt,q,xt,At,1,K,St,Q.g,Mt.g,1),xt=mn(Rt,q,xt,At,2,K,St,Q.b,Mt.b,1),xt=mn(Rt,q,xt,At,3,K,St,$.r,Tt.r,1),xt=mn(Rt,q,xt,At,4,K,St,$.g,Tt.g,1),xt=mn(Rt,q,xt,At,5,K,St,$.b,Tt.b,1)),K=St,Q=Mt,$=Tt,J=Et}i.push(q)}}}}if(t.bones)for(var Pt in t.bones){var It=t.bones[Pt],Ot=n.findBone(Pt).index;for(var Bt in It){var Ft=It[Bt],Dt=Ft.length;if(0!=Dt)if("rotate"===Bt)i.push(vn(Ft,new tt(Dt,Dt,Ot),0,1));else if("translate"===Bt){var Vt=new et(Dt,Dt<<1,Ot);i.push(pn(Ft,Vt,"x","y",0,r))}else if("translatex"===Bt){var Yt=new nt(Dt,Dt,Ot);i.push(vn(Ft,Yt,0,r))}else if("translatey"===Bt){var Xt=new rt(Dt,Dt,Ot);i.push(vn(Ft,Xt,0,r))}else if("scale"===Bt){var Ut=new it(Dt,Dt<<1,Ot);i.push(pn(Ft,Ut,"x","y",1,1))}else if("scalex"===Bt){var jt=new at(Dt,Dt,Ot);i.push(vn(Ft,jt,1,1))}else if("scaley"===Bt){var Zt=new ot(Dt,Dt,Ot);i.push(vn(Ft,Zt,1,1))}else if("shear"===Bt){var Nt=new st(Dt,Dt<<1,Ot);i.push(pn(Ft,Nt,"x","y",0,1))}else if("shearx"===Bt){var zt=new ut(Dt,Dt,Ot);i.push(vn(Ft,zt,0,1))}else if("sheary"===Bt){var _t=new lt(Dt,Dt,Ot);i.push(vn(Ft,_t,0,1))}}}if(t.ik)for(var Wt in t.ik){var Gt=t.ik[Wt],Ht=Gt[0];if(Ht){for(var qt=n.findIkConstraint(Wt),Jt=n.ikConstraints.indexOf(qt),Kt=new bt(Gt.length,Gt.length<<1,Jt),Qt=gn(Ht,"time",0),$t=gn(Ht,"mix",1),te=gn(Ht,"softness",0)*r,ee=0,ne=0;;ee++){Kt.setFrame(ee,Qt,$t,te,gn(Ht,"bendPositive",!0)?1:-1,gn(Ht,"compress",!1),gn(Ht,"stretch",!1));var re=Gt[ee+1];if(!re){Kt.shrink(ne);break}var ie=gn(re,"time",0),ae=gn(re,"mix",1),se=gn(re,"softness",0)*r,le=Ht.curve;le&&(ne=mn(le,Kt,ne,ee,0,Qt,ie,$t,ae,1),ne=mn(le,Kt,ne,ee,1,Qt,ie,te,se,r)),Qt=ie,$t=ae,te=se,Ht=re}i.push(Kt)}}if(t.transform)for(var ce in t.transform){var he=t.transform[ce],de=he[0];if(de){for(var fe=n.findTransformConstraint(ce),ve=n.transformConstraints.indexOf(fe),pe=new wt(he.length,6*he.length,ve),ge=gn(de,"time",0),ye=gn(de,"mixRotate",1),Ae=gn(de,"mixX",1),xe=gn(de,"mixY",Ae),be=gn(de,"mixScaleX",1),we=gn(de,"mixScaleY",be),Le=gn(de,"mixShearY",1),ke=0,Ce=0;;ke++){pe.setFrame(ke,ge,ye,Ae,xe,be,we,Le);var Ee=he[ke+1];if(!Ee){pe.shrink(Ce);break}var Se=gn(Ee,"time",0),Me=gn(Ee,"mixRotate",1),Te=gn(Ee,"mixX",1),Re=gn(Ee,"mixY",Te),Pe=gn(Ee,"mixScaleX",1),Ie=gn(Ee,"mixScaleY",Pe),Oe=gn(Ee,"mixShearY",1),Be=de.curve;Be&&(Ce=mn(Be,pe,Ce,ke,0,ge,Se,ye,Me,1),Ce=mn(Be,pe,Ce,ke,1,ge,Se,Ae,Te,1),Ce=mn(Be,pe,Ce,ke,2,ge,Se,xe,Re,1),Ce=mn(Be,pe,Ce,ke,3,ge,Se,be,Pe,1),Ce=mn(Be,pe,Ce,ke,4,ge,Se,we,Ie,1),Ce=mn(Be,pe,Ce,ke,5,ge,Se,Le,Oe,1)),ge=Se,ye=Me,Ae=Te,xe=Re,be=Pe,we=Ie,be=Pe,de=Ee}i.push(pe)}}if(t.path)for(var Fe in t.path){var De=t.path[Fe],Ve=n.findPathConstraint(Fe),Ye=n.pathConstraints.indexOf(Ve);for(var Xe in De){var Ue=De[Xe],je=Ue[0];if(je){var Ze=Ue.length;if("position"===Xe){var Ne=new Lt(Ze,Ze,Ye);i.push(vn(Ue,Ne,0,Ve.positionMode==oe.Fixed?r:1))}else if("spacing"===Xe){var ze=new kt(Ze,Ze,Ye);i.push(vn(Ue,ze,0,Ve.spacingMode==ue.Length||Ve.spacingMode==ue.Fixed?r:1))}else if("mix"===Xe){for(var _e=new Ct(Ze,3*Ze,Ye),We=gn(je,"time",0),Ge=gn(je,"mixRotate",1),He=gn(je,"mixX",1),qe=gn(je,"mixY",He),Je=0,Ke=0;;
1Je++){_e.setFrame(Je,We,Ge,He,qe);var Qe=Ue[Je+1];if(!Qe){_e.shrink(Ke);break}var $e=gn(Qe,"time",0),tn=gn(Qe,"mixRotate",1),en=gn(Qe,"mixX",1),nn=gn(Qe,"mixY",en),rn=je.curve;rn&&(Ke=mn(rn,_e,Ke,Je,0,We,$e,Ge,tn,1),Ke=mn(rn,_e,Ke,Je,1,We,$e,He,en,1),Ke=mn(rn,_e,Ke,Je,2,We,$e,qe,nn,1)),We=$e,Ge=tn,He=en,qe=nn,je=Qe}i.push(_e)}}}}if(t.deform)for(var an in t.deform){var on=t.deform[an],sn=n.findSkin(an);for(var un in on){var ln=on[un],cn=n.findSlot(un).index;for(var hn in ln){var dn=ln[hn],fn=dn[0];if(fn){for(var yn=sn.getAttachment(cn,hn),An=yn.bones,xn=yn.vertices,bn=An?xn.length/3*2:xn.length,wn=new mt(dn.length,dn.length,cn,yn),Ln=gn(fn,"time",0),kn=0,Cn=0;;kn++){var En=void 0,Sn=gn(fn,"vertices",null);if(Sn){En=y.newFloatArray(bn);var Mn=gn(fn,"offset",0);if(y.arrayCopy(Sn,0,En,Mn,Sn.length),1!=r)for(var Tn=Mn,Rn=Tn+Sn.length;Tn<Rn;Tn++)En[Tn]*=r;if(!An)for(var Pn=0;Pn<bn;Pn++)En[Pn]+=xn[Pn]}else En=An?y.newFloatArray(bn):xn;wn.setFrame(kn,Ln,En);var In=dn[kn+1];if(!In){wn.shrink(Cn);break}var On=gn(In,"time",0),Bn=fn.curve;Bn&&(Cn=mn(Bn,wn,Cn,kn,0,Ln,On,0,1,1)),Ln=On,fn=In}i.push(wn)}}}}if(t.drawOrder){for(var Fn=new yt(t.drawOrder.length),Dn=n.slots.length,Vn=0,Yn=0;Yn<t.drawOrder.length;Yn++,Vn++){var Xn=t.drawOrder[Yn],Un=null,jn=gn(Xn,"offsets",null);if(jn){Un=y.newArray(Dn,-1);for(var Zn=y.newArray(Dn-jn.length,0),Nn=0,zn=0,_n=0;_n<jn.length;_n++){for(var Wn=jn[_n],Gn=n.findSlot(Wn.slot).index;Nn!=Gn;)Zn[zn++]=Nn++;Un[Nn+Wn.offset]=Nn++}for(;Nn<Dn;)Zn[zn++]=Nn++;for(var Hn=Dn-1;Hn>=0;Hn--)-1==Un[Hn]&&(Un[Hn]=Zn[--zn])}Fn.setFrame(Vn,gn(Xn,"time",0),Un)}i.push(Fn)}if(t.events){for(var qn=new gt(t.events.length),Jn=0,Kn=0;Kn<t.events.length;Kn++,Jn++){var Qn=t.events[Kn],$n=n.findEvent(Qn.name),tr=new me(y.toSinglePrecision(gn(Qn,"time",0)),$n);tr.intValue=gn(Qn,"int",$n.intValue),tr.floatValue=gn(Qn,"float",$n.floatValue),tr.stringValue=gn(Qn,"string",$n.stringValue),tr.data.audioPath&&(tr.volume=gn(Qn,"volume",1),tr.balance=gn(Qn,"balance",0)),qn.setFrame(Jn,tr)}i.push(qn)}for(var er=0,nr=0,rr=i.length;nr<rr;nr++)er=Math.max(er,i[nr].getDuration());n.animations.push(new R(e,i,er))}}]),t}(),fn=function t(e,n,r,i,a){d(this,t),this.mesh=e,this.skin=n,this.slotIndex=r,this.parent=i,this.inheritDeform=a};function vn(t,e,n,r){for(var i=t[0],a=gn(i,"time",0),o=gn(i,"value",n)*r,s=0,u=0;;u++){e.setFrame(u,a,o);var l=t[u+1];if(!l)return e.shrink(s),e;var c=gn(l,"time",0),h=gn(l,"value",n)*r;i.curve&&(s=mn(i.curve,e,s,u,0,a,c,o,h,r)),a=c,o=h,i=l}}function pn(t,e,n,r,i,a){for(var o=t[0],s=gn(o,"time",0),u=gn(o,n,i)*a,l=gn(o,r,i)*a,c=0,h=0;;h++){e.setFrame(h,s,u,l);var d=t[h+1];if(!d)return e.shrink(c),e;var f=gn(d,"time",0),v=gn(d,n,i)*a,p=gn(d,r,i)*a,m=o.curve;m&&(c=mn(m,e,c,h,0,s,f,u,v,a),c=mn(m,e,c,h,1,s,f,l,p,a)),s=f,u=v,l=p,o=d}}function mn(t,e,n,r,i,a,o,s,u,l){if("stepped"==t)return e.setStepped(r),n;var c=i<<2,h=t[c],d=t[c+1]*l,f=t[c+2],v=t[c+3]*l;return e.setBezier(n,r,i,a,s,h,d,f,v,o,u),n+1}function gn(t,e,n){return void 0!==t[e]?t[e]:n}!function(){var t;"undefined"===typeof Math.fround&&(Math.fround=(t=new Float32Array(1),function(e){return t[0]=e,t[0]}))}();var yn=function(){function t(e,n){d(this,t),this.jitterX=0,this.jitterY=0,this.jitterX=e,this.jitterY=n}return v(t,[{key:"begin",value:function(t){}},{key:"transform",value:function(t,e,n,r){t.x+=l.randomTriangular(-this.jitterX,this.jitterY),t.y+=l.randomTriangular(-this.jitterX,this.jitterY)}},{key:"end",value:function(){}}]),t}(),An=function(){function t(e){d(this,t),this.centerX=0,this.centerY=0,this.radius=0,this.angle=0,this.worldX=0,this.worldY=0,this.radius=e}return v(t,[{key:"begin",value:function(t){this.worldX=t.x+this.centerX,this.worldY=t.y+this.centerY}},{key:"transform",value:function(e,n,r,i){var a=this.angle*l.degreesToRadians,o=e.x-this.worldX,s=e.y-this.worldY,u=Math.sqrt(o*o+s*s);if(u<this.radius){var c=t.interpolation.apply(0,a,(this.radius-u)/this.radius),h=Math.cos(c),d=Math.sin(c);e.x=h*o-d*s+this.worldX,e.y=d*o+h*s+this.worldY}}},{key:"end",value:function(){}}]),t}();An.interpolation=new f(2);var xn=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{alpha:"true"};d(this,t),this.restorables=new Array,e instanceof WebGLRenderingContext||"undefined"!==typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext?(this.gl=e,this.canvas=this.gl.canvas):this.setupCanvas(e,n)}return v(t,[{key:"setupCanvas",value:function(t,e){var n=this;this.gl=t.getContext("webgl2",e)||t.getContext("webgl",e),this.canvas=t,t.addEventListener("webglcontextlost",(function(t){t&&t.preventDefault()})),t.addEventListener("webglcontextrestored",(function(t){for(var e=0,r=n.restorables.length;e<r;
1e++)n.restorables[e].restore()}))}},{key:"addRestorable",value:function(t){this.restorables.push(t)}},{key:"removeRestorable",value:function(t){var e=this.restorables.indexOf(t);e>-1&&this.restorables.splice(e,1)}}]),t}(),bn=770,wn=771,Ln=function(){function t(){d(this,t)}return v(t,null,[{key:"getDestGLBlendMode",value:function(t){switch(t){case we.Normal:return wn;case we.Additive:return 1;case we.Multiply:case we.Screen:return wn;default:throw new Error("Unknown blend mode: "+t)}}},{key:"getSourceColorGLBlendMode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(t){case we.Normal:case we.Additive:return e?1:bn;case we.Multiply:return 774;case we.Screen:return 1;default:throw new Error("Unknown blend mode: "+t)}}},{key:"getSourceAlphaGLBlendMode",value:function(t){switch(t){case we.Normal:case we.Additive:return 1;case we.Multiply:return wn;case we.Screen:return 769;default:throw new Error("Unknown blend mode: "+t)}}}]),t}(),kn=function(t){u(n,t);var e=g(n);function n(t,r){var i,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return d(this,n),(i=e.call(this,r)).texture=null,i.boundUnit=0,i.useMipMaps=!1,i.context=t instanceof xn?t:new xn(t),i.useMipMaps=a,i.restore(),i.context.addRestorable(o(i)),i}return v(n,[{key:"setFilters",value:function(t,e){var r=this.context.gl;this.bind(),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,t),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,n.validateMagFilter(e))}},{key:"setWraps",value:function(t,e){var n=this.context.gl;this.bind(),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,t),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,e)}},{key:"update",value:function(t){var e=this.context.gl;this.texture||(this.texture=this.context.gl.createTexture()),this.bind(),n.DISABLE_UNPACK_PREMULTIPLIED_ALPHA_WEBGL&&e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,this._image),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,t?e.LINEAR_MIPMAP_LINEAR:e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),t&&e.generateMipmap(e.TEXTURE_2D)}},{key:"restore",value:function(){this.texture=null,this.update(this.useMipMaps)}},{key:"bind",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=this.context.gl;this.boundUnit=t,e.activeTexture(e.TEXTURE0+t),e.bindTexture(e.TEXTURE_2D,this.texture)}},{key:"unbind",value:function(){var t=this.context.gl;t.activeTexture(t.TEXTURE0+this.boundUnit),t.bindTexture(t.TEXTURE_2D,null)}},{key:"dispose",value:function(){this.context.removeRestorable(this),this.context.gl.deleteTexture(this.texture)}}],[{key:"validateMagFilter",value:function(t){switch(t){case Tt.MipMap:case Tt.MipMapLinearLinear:case Tt.MipMapLinearNearest:case Tt.MipMapNearestLinear:case Tt.MipMapNearestNearest:return Tt.Linear;default:return t}}}]),n}(_t),Cn=kn;Cn.DISABLE_UNPACK_PREMULTIPLIED_ALPHA_WEBGL=!1;var En=function(t){u(n,t);var e=g(n);function n(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return d(this,n),e.call(this,(function(e){return new Cn(t,e)}),r,i)}return n}(ve),Sn=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;d(this,t),this.x=0,this.y=0,this.z=0,this.x=e,this.y=n,this.z=r}return v(t,[{key:"setFrom",value:function(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}},{key:"set",value:function(t,e,n){return this.x=t,this.y=e,this.z=n,this}},{key:"add",value:function(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}},{key:"sub",value:function(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}},{key:"scale",value:function(t){return this.x*=t,this.y*=t,this.z*=t,this}},{key:"normalize",value:function(){var t=this.length();return 0==t||(t=1/t,this.x*=t,this.y*=t,this.z*=t),this}},{key:"cross",value:function(t){return this.set(this.y*t.z-this.z*t.y,this.z*t.x-this.x*t.z,this.x*t.y-this.y*t.x)}},{key:"multiply",value:function(t){var e=t.values;return this.set(this.x*e[Mn]+this.y*e[Tn]+this.z*e[Rn]+e[Pn],this.x*e[In]+this.y*e[On]+this.z*e[Bn]+e[Fn],this.x*e[Dn]+this.y*e[Vn]+this.z*e[Yn]+e[Xn])}},{key:"project",value:function(t){var e=t.values,n=1/(this.x*e[Un]+this.y*e[jn]+this.z*e[Zn]+e[Nn]);return this.set((this.x*e[Mn]+this.y*e[Tn]+this.z*e[Rn]+e[Pn])*n,(this.x*e[In]+this.y*e[On]+this.z*e[Bn]+e[Fn])*n,(this.x*e[Dn]+this.y*e[Vn]+this.z*e[Yn]+e[Xn])*n)}},{key:"dot",value:function(t){return this.x*t.x+this.y*t.y+this.z*t.z}},{key:"length",value:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}},{key:"distance",value:function(t){var e=t.x-this.x,n=t.y-this.y,r=t.z-this.z;return Math.sqrt(e*e+n*n+r*r)}}]),t}
1(),Mn=0,Tn=4,Rn=8,Pn=12,In=1,On=5,Bn=9,Fn=13,Dn=2,Vn=6,Yn=10,Xn=14,Un=3,jn=7,Zn=11,Nn=15,zn=function(){function t(){d(this,t),this.temp=new Float32Array(16),this.values=new Float32Array(16);var e=this.values;e[Mn]=1,e[On]=1,e[Yn]=1,e[Nn]=1}return v(t,[{key:"set",value:function(t){return this.values.set(t),this}},{key:"transpose",value:function(){var t=this.temp,e=this.values;return t[Mn]=e[Mn],t[Tn]=e[In],t[Rn]=e[Dn],t[Pn]=e[Un],t[In]=e[Tn],t[On]=e[On],t[Bn]=e[Vn],t[Fn]=e[jn],t[Dn]=e[Rn],t[Vn]=e[Bn],t[Yn]=e[Yn],t[Xn]=e[Zn],t[Un]=e[Pn],t[jn]=e[Fn],t[Zn]=e[Xn],t[Nn]=e[Nn],this.set(t)}},{key:"identity",value:function(){var t=this.values;return t[Mn]=1,t[Tn]=0,t[Rn]=0,t[Pn]=0,t[In]=0,t[On]=1,t[Bn]=0,t[Fn]=0,t[Dn]=0,t[Vn]=0,t[Yn]=1,t[Xn]=0,t[Un]=0,t[jn]=0,t[Zn]=0,t[Nn]=1,this}},{key:"invert",value:function(){var t=this.values,e=this.temp,n=t[Un]*t[Vn]*t[Bn]*t[Pn]-t[Dn]*t[jn]*t[Bn]*t[Pn]-t[Un]*t[On]*t[Yn]*t[Pn]+t[In]*t[jn]*t[Yn]*t[Pn]+t[Dn]*t[On]*t[Zn]*t[Pn]-t[In]*t[Vn]*t[Zn]*t[Pn]-t[Un]*t[Vn]*t[Rn]*t[Fn]+t[Dn]*t[jn]*t[Rn]*t[Fn]+t[Un]*t[Tn]*t[Yn]*t[Fn]-t[Mn]*t[jn]*t[Yn]*t[Fn]-t[Dn]*t[Tn]*t[Zn]*t[Fn]+t[Mn]*t[Vn]*t[Zn]*t[Fn]+t[Un]*t[On]*t[Rn]*t[Xn]-t[In]*t[jn]*t[Rn]*t[Xn]-t[Un]*t[Tn]*t[Bn]*t[Xn]+t[Mn]*t[jn]*t[Bn]*t[Xn]+t[In]*t[Tn]*t[Zn]*t[Xn]-t[Mn]*t[On]*t[Zn]*t[Xn]-t[Dn]*t[On]*t[Rn]*t[Nn]+t[In]*t[Vn]*t[Rn]*t[Nn]+t[Dn]*t[Tn]*t[Bn]*t[Nn]-t[Mn]*t[Vn]*t[Bn]*t[Nn]-t[In]*t[Tn]*t[Yn]*t[Nn]+t[Mn]*t[On]*t[Yn]*t[Nn];if(0==n)throw new Error("non-invertible matrix");var r=1/n;return e[Mn]=t[Bn]*t[Xn]*t[jn]-t[Fn]*t[Yn]*t[jn]+t[Fn]*t[Vn]*t[Zn]-t[On]*t[Xn]*t[Zn]-t[Bn]*t[Vn]*t[Nn]+t[On]*t[Yn]*t[Nn],e[Tn]=t[Pn]*t[Yn]*t[jn]-t[Rn]*t[Xn]*t[jn]-t[Pn]*t[Vn]*t[Zn]+t[Tn]*t[Xn]*t[Zn]+t[Rn]*t[Vn]*t[Nn]-t[Tn]*t[Yn]*t[Nn],e[Rn]=t[Rn]*t[Fn]*t[jn]-t[Pn]*t[Bn]*t[jn]+t[Pn]*t[On]*t[Zn]-t[Tn]*t[Fn]*t[Zn]-t[Rn]*t[On]*t[Nn]+t[Tn]*t[Bn]*t[Nn],e[Pn]=t[Pn]*t[Bn]*t[Vn]-t[Rn]*t[Fn]*t[Vn]-t[Pn]*t[On]*t[Yn]+t[Tn]*t[Fn]*t[Yn]+t[Rn]*t[On]*t[Xn]-t[Tn]*t[Bn]*t[Xn],e[In]=t[Fn]*t[Yn]*t[Un]-t[Bn]*t[Xn]*t[Un]-t[Fn]*t[Dn]*t[Zn]+t[In]*t[Xn]*t[Zn]+t[Bn]*t[Dn]*t[Nn]-t[In]*t[Yn]*t[Nn],e[On]=t[Rn]*t[Xn]*t[Un]-t[Pn]*t[Yn]*t[Un]+t[Pn]*t[Dn]*t[Zn]-t[Mn]*t[Xn]*t[Zn]-t[Rn]*t[Dn]*t[Nn]+t[Mn]*t[Yn]*t[Nn],e[Bn]=t[Pn]*t[Bn]*t[Un]-t[Rn]*t[Fn]*t[Un]-t[Pn]*t[In]*t[Zn]+t[Mn]*t[Fn]*t[Zn]+t[Rn]*t[In]*t[Nn]-t[Mn]*t[Bn]*t[Nn],e[Fn]=t[Rn]*t[Fn]*t[Dn]-t[Pn]*t[Bn]*t[Dn]+t[Pn]*t[In]*t[Yn]-t[Mn]*t[Fn]*t[Yn]-t[Rn]*t[In]*t[Xn]+t[Mn]*t[Bn]*t[Xn],e[Dn]=t[On]*t[Xn]*t[Un]-t[Fn]*t[Vn]*t[Un]+t[Fn]*t[Dn]*t[jn]-t[In]*t[Xn]*t[jn]-t[On]*t[Dn]*t[Nn]+t[In]*t[Vn]*t[Nn],e[Vn]=t[Pn]*t[Vn]*t[Un]-t[Tn]*t[Xn]*t[Un]-t[Pn]*t[Dn]*t[jn]+t[Mn]*t[Xn]*t[jn]+t[Tn]*t[Dn]*t[Nn]-t[Mn]*t[Vn]*t[Nn],e[Yn]=t[Tn]*t[Fn]*t[Un]-t[Pn]*t[On]*t[Un]+t[Pn]*t[In]*t[jn]-t[Mn]*t[Fn]*t[jn]-t[Tn]*t[In]*t[Nn]+t[Mn]*t[On]*t[Nn],e[Xn]=t[Pn]*t[On]*t[Dn]-t[Tn]*t[Fn]*t[Dn]-t[Pn]*t[In]*t[Vn]+t[Mn]*t[Fn]*t[Vn]+t[Tn]*t[In]*t[Xn]-t[Mn]*t[On]*t[Xn],e[Un]=t[Bn]*t[Vn]*t[Un]-t[On]*t[Yn]*t[Un]-t[Bn]*t[Dn]*t[jn]+t[In]*t[Yn]*t[jn]+t[On]*t[Dn]*t[Zn]-t[In]*t[Vn]*t[Zn],e[jn]=t[Tn]*t[Yn]*t[Un]-t[Rn]*t[Vn]*t[Un]+t[Rn]*t[Dn]*t[jn]-t[Mn]*t[Yn]*t[jn]-t[Tn]*t[Dn]*t[Zn]+t[Mn]*t[Vn]*t[Zn],e[Zn]=t[Rn]*t[On]*t[Un]-t[Tn]*t[Bn]*t[Un]-t[Rn]*t[In]*t[jn]+t[Mn]*t[Bn]*t[jn]+t[Tn]*t[In]*t[Zn]-t[Mn]*t[On]*t[Zn],e[Nn]=t[Tn]*t[Bn]*t[Dn]-t[Rn]*t[On]*t[Dn]+t[Rn]*t[In]*t[Vn]-t[Mn]*t[Bn]*t[Vn]-t[Tn]*t[In]*t[Yn]+t[Mn]*t[On]*t[Yn],t[Mn]=e[Mn]*r,t[Tn]=e[Tn]*r,t[Rn]=e[Rn]*r,t[Pn]=e[Pn]*r,t[In]=e[In]*r,t[On]=e[On]*r,t[Bn]=e[Bn]*r,t[Fn]=e[Fn]*r,t[Dn]=e[Dn]*r,t[Vn]=e[Vn]*r,t[Yn]=e[Yn]*r,t[Xn]=e[Xn]*r,t[Un]=e[Un]*r,t[jn]=e[jn]*r,t[Zn]=e[Zn]*r,t[Nn]=e[Nn]*r,this}},{key:"determinant",value:function(){var t=this.values;return t[Un]*t[Vn]*t[Bn]*t[Pn]-t[Dn]*t[jn]*t[Bn]*t[Pn]-t[Un]*t[On]*t[Yn]*t[Pn]+t[In]*t[jn]*t[Yn]*t[Pn]+t[Dn]*t[On]*t[Zn]*t[Pn]-t[In]*t[Vn]*t[Zn]*t[Pn]-t[Un]*t[Vn]*t[Rn]*t[Fn]+t[Dn]*t[jn]*t[Rn]*t[Fn]+t[Un]*t[Tn]*t[Yn]*t[Fn]-t[Mn]*t[jn]*t[Yn]*t[Fn]-t[Dn]*t[Tn]*t[Zn]*t[Fn]+t[Mn]*t[Vn]*t[Zn]*t[Fn]+t[Un]*t[On]*t[Rn]*t[Xn]-t[In]*t[jn]*t[Rn]*t[Xn]-t[Un]*t[Tn]*t[Bn]*t[Xn]+t[Mn]*t[jn]*t[Bn]*t[Xn]+t[In]*t[Tn]*t[Zn]*t[Xn]-t[Mn]*t[On]*t[Zn]*t[Xn]-t[Dn]*t[On]*t[Rn]*t[Nn]+t[In]*t[Vn]*t[Rn]*t[Nn]+t[Dn]*t[Tn]*t[Bn]*t[Nn]-t[Mn]*t[Vn]*t[Bn]*t[Nn]-t[In]*t[Tn]*t[Yn]*t[Nn]+t[Mn]*t[On]*t[Yn]*t[Nn]}},{key:"translate",value:function(t,e,n){var r=this.values;return r[Pn]+=t,r[Fn]+=e,r[Xn]+=n,this}},{key:"copy",value:function(){return(new t).set(this.values)}},{key:"projection",value:function(t,e,n,r){this.identity();var i=1/Math.tan(n*(Math.PI/180)/2),a=(e+t)/(t-e),o=2*e*t/(t-e),s=this.values;return s[Mn]=i/r,s[In]=0,s[Dn]=0,s[Un]=0,s[Tn]=0,s[On]=i,s[Vn]=0,s[jn]=0,s[Rn]=0,s[Bn]=0,s[Yn]=a,s[Zn]=-1,s[Pn]=0,s[Fn]=0,s[Xn]=o,s[Nn]=0,this}},{key:"ortho2d",value:function(t,e,n,r){return this.ortho(t,t+n,e,e+r,0,1)}},{key:"ortho",value:function(t,e,n,r,i,a){this.identity();var o=2/(e-t),s=2/(r-n),u=-2/(a-i),l=-(e+t)/(e-t),c=-(r+n)/(r-n),h=-(a+i)/(a-i),d=this.values;return d[Mn]=o,d[In]=0,d[Dn]=0,d[Un]=0,d[Tn]=0,d[On]=s,d[Vn]=0,d[jn]=0,d[Rn]=0,d[Bn]=0,d[Yn]=u,d[Zn]=0,d[Pn]=l,d[Fn]=c,d[Xn]=h,d[Nn]=1,this}},{key:"multiply",value:function(t){var e=this.temp,n=this.values,r=t.values;return e[Mn]=n[Mn]*r[Mn]+n[Tn]*r[In]+n[Rn]*r[Dn]+n[Pn]*r[Un],e[Tn]=n[Mn]*r[Tn]+n[Tn]*r[On]+n[Rn]*r[Vn]+n[Pn]*r[jn],e[Rn]=n[Mn]*r[Rn]+n[Tn]*r[Bn]+n[Rn]*r[Yn]+n[Pn]*r[Zn],e[Pn]=n[Mn]*r[Pn]+n[Tn]*r[Fn]+n[Rn]*r[Xn]+n[Pn]*r[Nn],e[In]=n[In]*r[Mn]+n[On]*r[In]+n[Bn]*r[Dn]+n[Fn]*r[Un],e[On]=n[In]*r[Tn]+n[On]*r[On]+n[Bn]*r[Vn]+n[Fn]*r[jn],e[Bn]=n[In]*r[Rn]+n[On]*r[Bn]+n[Bn]*r[Yn]+n[Fn]*r[Zn],e[Fn]=n[In]*r[Pn]+n[On]*r[Fn]+n[Bn]*r[Xn]+n[Fn]*r[Nn],e[Dn]=n[Dn]*r[Mn]+n[Vn]*r[In]+n[Yn]*r[Dn]+n[Xn]*r[Un],e[Vn]=n[Dn]*r[Tn]+n[Vn]*r[On]+n[Yn]*r[Vn]+n[Xn]*r[jn],e[Yn]=n[Dn]*r[Rn]+n[Vn]*r[Bn]+n[Yn]*r[Yn]+n[Xn]*r[Zn],e[Xn]=n[Dn]*r[Pn]+n[Vn]*r[Fn]+n[Yn]*r[Xn]+n[Xn]*r[Nn],e[Un]=n[Un]*r[Mn]+n[jn]*r[In]+n[Zn]*r[Dn]+n[Nn]*r[Un],e[jn]=n[Un]*r[Tn]+n[jn]*r[On]+n[Zn]*r[Vn]+n[Nn]*r[jn],e[Zn]=n[Un]*r[Rn]+n[jn]*r[Bn]+n[Zn]*r[Yn]+n[Nn]*r[Zn],e[Nn]=n[Un]*r[Pn]+n[jn]*r[Fn]+n[Zn]*r[Xn]+n[Nn]*r[Nn],this.set(this.temp)}},{key:"multiplyLeft",value:function(t){var e=this.temp,n=this.values,r=t.values;return e[Mn]=r[Mn]*n[Mn]+r[Tn]*n[In]+r[Rn]*n[Dn]+r[Pn]*n[Un],e[Tn]=r[Mn]*n[Tn]+r[Tn]*n[On]+r[Rn]*n[Vn]+r[Pn]*n[jn],e[Rn]=r[Mn]*n[Rn]+r[Tn]*n[Bn]+r[Rn]*n[Yn]+r[Pn]*n[Zn],e[Pn]=r[Mn]*n[Pn]+r[Tn]*n[Fn]+r[Rn]*n[Xn]+r[Pn]*n[Nn],e[In]=r[In]*n[Mn]+r[On]*n[In]+r[Bn]*n[Dn]+r[Fn]*n[Un],e[On]=r[In]*n[Tn]+r[On]*n[On]+r[Bn]*n[Vn]+r[Fn]*n[jn],e[Bn]=r[In]*n[Rn]+r[On]*n[Bn]+r[Bn]*n[Yn]+r[Fn]*n[Zn],e[Fn]=r[In]*n[Pn]+r[On]*n[Fn]+r[Bn]*n[Xn]+r[Fn]*n[Nn],e[Dn]=r[Dn]*n[Mn]+r[Vn]*n[In]+r[Yn]*n[Dn]+r[Xn]*n[Un],e[Vn]=r[Dn]*n[Tn]+r[Vn]*n[On]+r[Yn]*n[Vn]+r[Xn]*n[jn],e[Yn]=r[Dn]*n[Rn]+r[Vn]*n[Bn]+r[Yn]*n[Yn]+r[Xn]*n[Zn],e[Xn]=r[Dn]*n[Pn]+r[Vn]*n[Fn]+r[Yn]*n[Xn]+r[Xn]*n[Nn],e[Un]=r[Un]*n[Mn]+r[jn]*n[In]+r[Zn
1]*n[Dn]+r[Nn]*n[Un],e[jn]=r[Un]*n[Tn]+r[jn]*n[On]+r[Zn]*n[Vn]+r[Nn]*n[jn],e[Zn]=r[Un]*n[Rn]+r[jn]*n[Bn]+r[Zn]*n[Yn]+r[Nn]*n[Zn],e[Nn]=r[Un]*n[Pn]+r[jn]*n[Fn]+r[Zn]*n[Xn]+r[Nn]*n[Nn],this.set(this.temp)}},{key:"lookAt",value:function(e,n,r){t.initTemps();var i=t.xAxis,a=t.yAxis,o=t.zAxis;o.setFrom(n).normalize(),i.setFrom(n).normalize(),i.cross(r).normalize(),a.setFrom(i).cross(o).normalize(),this.identity();var s=this.values;return s[Mn]=i.x,s[Tn]=i.y,s[Rn]=i.z,s[In]=a.x,s[On]=a.y,s[Bn]=a.z,s[Dn]=-o.x,s[Vn]=-o.y,s[Yn]=-o.z,t.tmpMatrix.identity(),t.tmpMatrix.values[Pn]=-e.x,t.tmpMatrix.values[Fn]=-e.y,t.tmpMatrix.values[Xn]=-e.z,this.multiply(t.tmpMatrix),this}}],[{key:"initTemps",value:function(){null===t.xAxis&&(t.xAxis=new Sn),null===t.yAxis&&(t.yAxis=new Sn),null===t.zAxis&&(t.zAxis=new Sn)}}]),t}(),_n=zn;_n.xAxis=null,_n.yAxis=null,_n.zAxis=null,_n.tmpMatrix=new zn;var Wn=function(){function t(e,n){d(this,t),this.position=new Sn(0,0,0),this.direction=new Sn(0,0,-1),this.up=new Sn(0,1,0),this.near=0,this.far=100,this.zoom=1,this.viewportWidth=0,this.viewportHeight=0,this.projectionView=new _n,this.inverseProjectionView=new _n,this.projection=new _n,this.view=new _n,this.viewportWidth=e,this.viewportHeight=n,this.update()}return v(t,[{key:"update",value:function(){var t=this.projection,e=this.view,n=this.projectionView,r=this.inverseProjectionView,i=this.zoom,a=this.viewportWidth,o=this.viewportHeight;t.ortho(i*(-a/2),i*(a/2),i*(-o/2),i*(o/2),this.near,this.far),e.lookAt(this.position,this.direction,this.up),n.set(t.values),n.multiply(e),r.set(n.values).invert()}},{key:"screenToWorld",value:function(t,e,n){var r=t.x,i=n-t.y-1;return t.x=2*r/e-1,t.y=2*i/n-1,t.z=2*t.z-1,t.project(this.inverseProjectionView),t}},{key:"worldToScreen",value:function(t,e,n){return t.project(this.projectionView),t.x=e*(t.x+1)/2,t.y=n*(t.y+1)/2,t.z=(t.z+1)/2,t}},{key:"setViewport",value:function(t,e){this.viewportWidth=t,this.viewportHeight=e}}]),t}(),Gn=function(){function t(e){d(this,t),this.mouseX=0,this.mouseY=0,this.buttonDown=!1,this.touch0=null,this.touch1=null,this.initialPinchDistance=0,this.listeners=new Array,this.eventListeners=[],this.element=e,this.setupCallbacks(e)}return v(t,[{key:"setupCallbacks",value:function(t){var e=this,n=function(n){if(n instanceof MouseEvent){var r=t.getBoundingClientRect();e.mouseX=n.clientX-r.left,e.mouseY=n.clientY-r.top,e.listeners.map((function(t){e.buttonDown?t.dragged&&t.dragged(e.mouseX,e.mouseY):t.moved&&t.moved(e.mouseX,e.mouseY)}))}},r=function r(i){if(i instanceof MouseEvent){var a=t.getBoundingClientRect();e.mouseX=i.clientX-a.left,e.mouseY=i.clientY-a.top,e.buttonDown=!1,e.listeners.map((function(t){t.up&&t.up(e.mouseX,e.mouseY)})),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r)}};t.addEventListener("mousedown",(function(i){if(i instanceof MouseEvent){var a=t.getBoundingClientRect();e.mouseX=i.clientX-a.left,e.mouseY=i.clientY-a.top,e.buttonDown=!0,e.listeners.map((function(t){t.down&&t.down(e.mouseX,e.mouseY)})),document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)}}),!0),t.addEventListener("mousemove",n,!0),t.addEventListener("mouseup",r,!0),t.addEventListener("wheel",(function(t){t.preventDefault();t.deltaY;t.deltaMode,WheelEvent.DOM_DELTA_LINE,t.deltaMode,WheelEvent.DOM_DELTA_PAGE,e.listeners.map((function(e){e.wheel&&e.wheel(t.deltaY)}))}),!0),t.addEventListener("touchstart",(function(n){if(!e.touch0||!e.touch1){var r=n.changedTouches.item(0),i=t.getBoundingClientRect(),a=r.clientX-i.left,o=r.clientY-i.top,s=new Hn(r.identifier,a,o);if(e.mouseX=a,e.mouseY=o,e.buttonDown=!0,e.touch0){if(!e.touch1){e.touch1=s;var u=e.touch1.x-e.touch0.x,l=e.touch1.x-e.touch0.x;e.initialPinchDistance=Math.sqrt(u*u+l*l),e.listeners.map((function(t){t.zoom&&t.zoom(e.initialPinchDistance,e.initialPinchDistance)}))}}else e.touch0=s,e.listeners.map((function(t){t.down&&t.down(s.x,s.y)}))}n.preventDefault()}),!1),t.addEventListener("touchmove",(function(n){if(e.touch0){for(var r=n.changedTouches,i=t.getBoundingClientRect(),a=function(){var t=(s=r[o]).clientX-i.left,n=s.clientY-i.top;e.touch0.identifier===s.identifier&&(e.touch0.x=e.mouseX=t,e.touch0.y=e.mouseY=n,e.listeners.map((function(e){e.dragged&&e.dragged(t,n)}))),e.touch1&&e.touch1.identifier===s.identifier&&(e.touch1.x=e.mouseX=t,e.touch1.y=e.mouseY=n)},o=0;o<r.length;o++){var s;a()}if(e.touch0&&e.touch1){var u=e.touch1.x-e.touch0.x,l=e.touch1.x-e.touch0.x,c=Math.sqrt(u*u+l*l);e.listeners.map((function(t){t.zoom&&t.zoom(e.initialPinchDistance,c)}))}}n.preventDefault()}),!1);var i=function(n){if(e.touch0)for(var r=n.changedTouches,i=t.getBoundingClientRect(),a=function(){var t=(s=r[o]).clientX-i.left,n=s.clientY-i.top;if(e.touch0.identifier===s.identifier){if(e.touch0=null,e.mouseX=t,e.mouseY=n,e.listeners.map((function(e){e.up&&e.up(t,n)})),!e.touch1)return e.buttonDown=!1,"break";e.touch0=e.touch1,e.touch1=null,e.mouseX=e.touch0.x,e.mouseX=e.touch0.x,e.buttonDown=!0,e.listeners.map((function(t){t.down&&t.down(e.touch0.x,e.touch0.y)}))}e.touch1&&e.touch1.identifier&&(e.touch1=null)},o=0;o<r.length;o++){var s;if("break"===a())break}n.preventDefault()};t.addEventListener("touchend",i,!1),t.addEventListener("touchcancel",i)}},{key:"addListener",value:function(t){this.listeners.push(t)}},{key:"removeListener",value:function(t){var e=this.listeners.indexOf(t);e>-1&&this.listeners.splice(e,1)}}]),t}(),Hn=function t(e,n,r){d(this,t),this.identifier=e,this.x=n,this.y=r},qn=function t(e,n){d(this,t),this.canvas=e,this.camera=n;var r=0,i=0,a=0,o=0,s=0,u=0,l=0;new Gn(e).addListener({down:function(t,e){r=n.position.x,i=n.position.y,a=s=t,o=u=e,l=n.zoom},dragged:function(t,l){var c=t-a,h=l-o,d=n.screenToWorld(new Sn(0,0),e.clientWidth,e.clientHeight),f=n.screenToWorld(new Sn(c,h),e.clientWidth,e.clientHeight).sub(d);n.position.set(r-f.x,i-f.y,0),n.update(),s=t,u=l},wheel:function(t){var r=t/200*n.zoom,i=n.zoom+r;if(i>0){var a=0,o=0;if(t<0)a=s,o=u;else{var l=new Sn(e.clientWidth/2+15,e.clientHeight/2),c=s-l.x,h=e.clientHeight-1-u-l.y;a=l.x-c,o=e.clientHeight-1-l.y+h}var d=n.screenToWorld(new Sn(a,o),e.clientWidth,e.clientHeight);n.zoom=i,n.update();var f=n.screenToWorld(new Sn(a,o),e.clientWidth,e.clientHeight);n.position.add(d.sub(f)),n.update()}},zoom:function(t,e){var r=t/e;n.zoom=l*r},up:function(t,e){s=t,u=e},moved:function(t,e){s=t,u=e}})},Jn=function(){function t(e,n,r){d(this,t),this.vertexShader=n,this.fragmentShader=r,this.vs=null,this.fs=null,this.program=null,this.tmp2x2=new Float32Array(4),this.tmp3x3=new Float32Array(9),this.tmp4x4=new Float32Array(16),this.vsSource=n,this.fsSource=r,this.context=e instanceof xn?e:new xn(e),this.context.addRestorable(this),this.compile()}return v(t,[{key:"getProgram",value:function(){return this.program}},{key:"getVertexShader",value:function(){return this.vertexShader}},{key:"getFragmentShader",value:function(){return this.fragmentShader}},{key:"getVertexShaderSource",value:function(){return this.vsSource}},{key:"getFragmentSource",value:function(){return this.fsSource}},{key:"compile",value:function(){var t=this.context.gl;try{this.vs=this.compileShader(t.VERTEX_SHADER,this.vertexShader),this.fs=this.compileShader(t.FRAGMENT_SHADER,this.fragmentShader),this.program=this.compileProgram(this.vs,this.fs)}catch(e){throw this.dispose(),e}}},{key:"compileShader",value:function(t,e){var n=this.context.gl,r=n.createShader(t);if(n.shaderSource(r,e),n.compileShader(r),!n.getShaderParameter(r,n.COMPILE_STATUS)){var i="Couldn't compile shader: "+n.getShaderInfoLog(r);if(n.deleteShader(r),!n.isContextLost())throw new Error(i)}return r}},{key:"compileProgram",value:function(t,e){var n=this.context.gl,r=n.createProgram();if(n.attachShader(r,t),n.attachShader(r,e),n.linkProgram(r),!n.getProgramParameter(r,n.LINK_STATUS)){var i="Couldn't compile shader program: "+n.getProgramInfoLog(r);if(n.deleteProgram(r),!n.isContextLost())throw new Error(i)}return r}},{key:"restore",value:function(){this.compile()}},{key:"bind",value:function(){this.context.gl.useProgram(this.program)}},{key:"unbind",value:function(){this.context.gl.useProgram(null)}},{key:"setUniformi",value:function(t,e){this.context.gl.uniform1i(this.getUniformLocation(t),e)}},{key:"setUniformf",value:function(t,e){this.context.gl.uniform1f(this.getUniformLocation(t),e)}},{key:"setUniform2f",value:function(t,e,n){this.context.gl.uniform2f(this.getUniformLocation(t),e,n)}},{key:"setUniform3f",value:function(t,e,n,r){this.context.gl.uniform3f(this.getUniformLocation(t),e,n,r)}},{key:"setUniform4f",value:function(t,e,n,r,i){this.context.gl.uniform4f(this.getUniformLocation(t),e,n,r,i)}},{key:"setUniform2x2f",value:function(t,e){var n=this.context.gl;this.tmp2x2.set(e),n.uniformMatrix2fv(this.getUniformLocation(t),!1,this.tmp2x2)}},{key:"setUniform3x3f",value:function(t,e){var n=this.context.gl;this.tmp3x3.set(e),n.uniformMatrix3fv(this.getUniformLocation(t),!1,this.tmp3x3)}},{key:"setUniform4x4f",value:function(t,e){var n=this.context.gl;this.tmp4x4.set(e),n.uniformMatrix4fv(this.getUniformLocation(t),!1,this.tmp4x4)}},{key:"getUniformLocation",value:function(t){var e=this.context.gl,n=e.getUniformLocation(this.program,t);if(!n&&!e.isContextLost())throw new Error("Couldn't find location for uniform ".concat(t));return n}},{key:"getAttributeLocation",value:function(t){var e=this.context.gl,n=e.getAttribLocation(this.program,t);if(-1==n&&!e.isContextLost())throw new Error("Couldn't find location for attribute ".concat(t));return n}},{key:"dispose",value:function(){this.context.removeRestorable(this);var t=this.context.gl;this.vs&&(t.deleteShader(this.vs),this.vs=null),this.fs&&(t.deleteShader(this.fs),this.fs=null),this.program&&(t.deleteProgram(this.program),this.program=null)}}],[{key:"newColoredTextured",value:function(e){return new t(e,"\n\t\t\t\tattribute vec4 ".concat(t.POSITION,";\n\t\t\t\tattribute vec4 ").concat(t.COLOR,";
1\n\t\t\t\tattribute vec2 ").concat(t.TEXCOORDS,";\n\t\t\t\tuniform mat4 ").concat(t.MVP_MATRIX,";\n\t\t\t\tvarying vec4 v_color;\n\t\t\t\tvarying vec2 v_texCoords;\n\n\t\t\t\tvoid main () {\n\t\t\t\t\tv_color = ").concat(t.COLOR,";\n\t\t\t\t\tv_texCoords = ").concat(t.TEXCOORDS,";\n\t\t\t\t\tgl_Position = ").concat(t.MVP_MATRIX," * ").concat(t.POSITION,";\n\t\t\t\t}\n\t\t\t"),"\n\t\t\t\t#ifdef GL_ES\n\t\t\t\t\t#define LOWP lowp\n\t\t\t\t\tprecision mediump float;\n\t\t\t\t#else\n\t\t\t\t\t#define LOWP\n\t\t\t\t#endif\n\t\t\t\tvarying LOWP vec4 v_color;\n\t\t\t\tvarying vec2 v_texCoords;\n\t\t\t\tuniform sampler2D u_texture;\n        \n\t\t\t\tvoid main () {\n          gl_FragColor = v_color * texture2D(u_texture, v_texCoords);\n\t\t\t\t}\n\t\t\t")}},{key:"newTwoColoredTextured",value:function(e){return new t(e,"\n\t\t\t\tattribute vec4 ".concat(t.POSITION,";\n\t\t\t\tattribute vec4 ").concat(t.COLOR,";\n\t\t\t\tattribute vec4 ").concat(t.COLOR2,";\n\t\t\t\tattribute vec2 ").concat(t.TEXCOORDS,";\n\t\t\t\tuniform mat4 ").concat(t.MVP_MATRIX,";\n\t\t\t\tvarying vec4 v_light;\n\t\t\t\tvarying vec4 v_dark;\n\t\t\t\tvarying vec2 v_texCoords;\n\n\t\t\t\tvoid main () {\n\t\t\t\t\tv_light = ").concat(t.COLOR,";\n\t\t\t\t\tv_dark = ").concat(t.COLOR2,";\n\t\t\t\t\tv_texCoords = ").concat(t.TEXCOORDS,";\n\t\t\t\t\tgl_Position = ").concat(t.MVP_MATRIX," * ").concat(t.POSITION,";\n\t\t\t\t}\n\t\t\t"),"\n\t\t\t\t#ifdef GL_ES\n\t\t\t\t\t#define LOWP lowp\n\t\t\t\t\tprecision mediump float;\n\t\t\t\t#else\n\t\t\t\t\t#define LOWP\n\t\t\t\t#endif\n\t\t\t\tvarying LOWP vec4 v_light;\n\t\t\t\tvarying LOWP vec4 v_dark;\n\t\t\t\tvarying vec2 v_texCoords;\n\t\t\t\tuniform sampler2D u_texture;\n\n\t\t\t\tvoid main () {\n\t\t\t\t\tvec4 texColor = texture2D(u_texture, v_texCoords);\n          \n\t\t\t\t\tgl_FragColor.a = texColor.a * v_light.a;\n\t\t\t\t\tgl_FragColor.rgb = ((texColor.a - 1.0) * v_dark.a + 1.0 - texColor.rgb) * v_dark.rgb + texColor.rgb * v_light.rgb;\n\t\t\t\t}\n\t\t\t")}},{key:"newTwoColoredPatternTextured",value:function(e){return new t(e,"\n\t\t\t\tattribute vec4 ".concat(t.POSITION,";\n\t\t\t\tattribute vec4 ").concat(t.COLOR,";\n\t\t\t\tattribute vec4 ").concat(t.COLOR2,";\n\t\t\t\tattribute vec2 ").concat(t.TEXCOORDS,";\n        attribute vec2 a_pattern_texCoords;\n\t\t\t\tuniform mat4 ").concat(t.MVP_MATRIX,";\n\t\t\t\tvarying vec4 v_light;\n\t\t\t\tvarying vec4 v_dark;\n\t\t\t\tvarying vec2 v_texCoords;\n\t\t\t\tvarying vec2 v_pattern_texCoords;\n\n\t\t\t\tvoid main () {\n\t\t\t\t\tv_light = ").concat(t.COLOR,";\n\t\t\t\t\tv_dark = ").concat(t.COLOR2,";\n\t\t\t\t\tv_texCoords = ").concat(t.TEXCOORDS,";\n          v_pattern_texCoords = a_pattern_texCoords;\n\t\t\t\t\tv_pattern_texCoords = ").concat(t.POSITION,".xy;\n\t\t\t\t\tgl_Position = ").concat(t.MVP_MATRIX," * ").concat(t.POSITION,";\n\t\t\t\t}\n\t\t\t"),"\n\t\t\t\t#ifdef GL_ES\n\t\t\t\t\t#define LOWP lowp\n\t\t\t\t\tprecision mediump float;\n\t\t\t\t#else\n\t\t\t\t\t#define LOWP\n\t\t\t\t#endif\n\t\t\t\tvarying LOWP vec4 v_light;\n\t\t\t\tvarying LOWP vec4 v_dark;\n\t\t\t\tvarying vec2 v_texCoords;\n\t\t\t\tvarying vec2 v_pattern_texCoords;\n        uniform vec2 u_resolution;\n\t\t\t\tuniform sampler2D u_texture;\n        uniform sampler2D u_pattern_texture;\n\n\t\t\t\tvoid main () {\n\t\t\t\t\tvec4 texColor = texture2D(u_texture, v_texCoords);\n          vec4 patternTexColor = texture2D(u_pattern_texture, gl_FragCoord.xy / u_resolution);\n          vec4 mixedColor = vec4(mix(texColor.rgb, patternTexColor.rgb, (texColor.r + texColor.b) / texColor.g > 10.0 && texColor.r / texColor.b < 2.0 ? patternTexColor.a : 0.0), 1.0);\n          \n\t\t\t\t\tgl_FragColor.a = texColor.a * v_light.a;\n\t\t\t\t\tgl_FragColor.rgb = ((texColor.a - 1.0) * v_dark.a + 1.0 - mixedColor.rgb) * v_dark.rgb + mixedColor.rgb * v_light.rgb;\n\t\t\t\t}\n\t\t\t")}},{key:"newColored",value:function(e){return new t(e,"\n\t\t\t\tattribute vec4 ".concat(t.POSITION,";\n\t\t\t\tattribute vec4 ").concat(t.COLOR,";\n\t\t\t\tuniform mat4 ").concat(t.MVP_MATRIX,";\n\t\t\t\tvarying vec4 v_color;\n\n\t\t\t\tvoid main () {\n\t\t\t\t\tv_color = ").concat(t.COLOR,";\n\t\t\t\t\tgl_Position = ").concat(t.MVP_MATRIX," * ").concat(t.POSITION,";\n\t\t\t\t}\n\t\t\t"),"\n\t\t\t\t#ifdef GL_ES\n\t\t\t\t\t#define LOWP lowp\n\t\t\t\t\tprecision mediump float;\n\t\t\t\t#else\n\t\t\t\t\t#define LOWP\n\t\t\t\t#endif\n\t\t\t\tvarying LOWP vec4 v_color;\n\n\t\t\t\tvoid main () {\n\t\t\t\t\tgl_FragColor = v_color;\n\t\t\t\t}\n\t\t\t")}}]),t}();Jn.MVP_MATRIX="u_projTrans",Jn.POSITION="a_position",Jn.COLOR="a_color",Jn.COLOR2="a_color2",Jn.TEXCOORDS="a_texCoords",Jn.SAMPLER="u_texture";var Kn,Qn,$n=function(){function t(e,n,r,i){d(this,t),this.attributes=n,this.verticesLength=0,this.dirtyVertices=!1,this.indicesLength=0,this.dirtyIndices=!1,this.elementsPerVertex=0,this.context=e instanceof xn?e:new xn(e),this.elementsPerVertex=0;for(var a=0;a<n.length;a++)this.elementsPerVertex+=n[a].numElements;this.vertices=new Float32Array(r*this.elementsPerVertex),this.indices=new Uint16Array(i),this.context.addRestorable(this)}return v(t,[{key:"getAttributes",value:function(){return this.attributes}},{key:"maxVertices",value:function(){return this.vertices.length/this.elementsPerVertex}},{key:"numVertices",value:function(){return this.verticesLength/this.elementsPerVertex}},{key:"setVerticesLength",value:function(t){this.dirtyVertices=!0,this.verticesLength=t}},{key:"getVertices",value:function(){return this.vertices}},{key:"maxIndices",value:function(){return this.indices.length}},{key:"numIndices",value:function(){return this.indicesLength}},{key:"setIndicesLength",value:function(t){this.dirtyIndices=!0,this.indicesLength=t}},{key:"getIndices",value:function(){return this.indices}},{key:"getVertexSizeInFloats",value:function(){for(var t=0,e=0;e<this.attributes.length;e++){t+=this.attributes[e].numElements}return t}},{key:"setVertices",value:function(t){if(this.dirtyVertices=!0,t.length>this.vertices.length)throw Error("Mesh can't store more than "+this.maxVertices()+" vertices");this.vertices.set(t,0),this.verticesLength=t.length}},{key:"setIndices",value:function(t){if(this.dirtyIndices=!0,t.length>this.indices.length)throw Error("Mesh can't store more than "+this.maxIndices()+" indices");this.indices.set(t,0),this.indicesLength=t.length}},{key:"draw",value:function(t,e){this.drawWithOffset(t,e,0,this.indicesLength>0?this.indicesLength:this.verticesLength/this.elementsPerVertex)}},{key:"drawWithOffset",value:function(t,e,n,r){var i=this.context.gl;(this.dirtyVertices||this.dirtyIndices)&&this.update(),this.bind(t),this.indicesLength>0?i.drawElements(e,r,i.UNSIGNED_SHORT,2*n):i.drawArrays(e,n,r),this.unbind(t)}},{key:"bind",value:function(t){var e=this.context.gl;e.bindBuffer(e.ARRAY_BUFFER,this.verticesBuffer);for(var n=0,r=0;r<this.attributes.length;r++){var i=this.attributes[r],a=t.getAttributeLocation(i.name);e.enableVertexAttribArray(a),e.vertexAttribPointer(a,i.numElements,e.FLOAT,!1,4*this.elementsPerVertex,4*n),n+=i.numElements}this.indicesLength>0&&e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,this.indicesBuffer)}},{key:"unbind",value:function(t){for(var e=this.context.gl,n=0;n<this.attributes.length;n++){var r=this.attributes[n],i=t.getAttributeLocation(r.name);e.disableVertexAttribArray(i)}e.bindBuffer(e.ARRAY_BUFFER,null),this.indicesLength>0&&e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,null)}},{key:"update",value:function(){var t=this.context.gl;this.dirtyVertices&&(this.verticesBuffer||(this.verticesBuffer=t.createBuffer()),t.bindBuffer(t.ARRAY_BUFFER,this.verticesBuffer),t.bufferData(t.ARRAY_BUFFER,this.vertices.subarray(0,this.verticesLength),t.DYNAMIC_DRAW),this.dirtyVertices=!1),this.dirtyIndices&&(this.indicesBuffer||(this.indicesBuffer=t.createBuffer()),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,this.indicesBuffer),t.bufferData(t.ELEMENT_ARRAY_BUFFER,this.indices.subarray(0,this.indicesLength),t.DYNAMIC_DRAW),this.dirtyIndices=!1)}},{key:"restore",value:function(){this.verticesBuffer=null,this.indicesBuffer=null,this.update()}},{key:"dispose",value:function(){this.context.removeRestorable(this);var t=this.context.gl;t.deleteBuffer(this.verticesBuffer),t.deleteBuffer(this.indicesBuffer)}}]),t}(),tr=function t(e,n,r){d(this,t),this.name=e,this.type=n,this.numElements=r}
1,er=function(t){u(n,t);var e=g(n);function n(){return d(this,n),e.call(this,Jn.POSITION,Kn.Float,2)}return n}(tr),nr=function(t){u(n,t);var e=g(n);function n(){return d(this,n),e.call(this,Jn.POSITION,Kn.Float,3)}return n}(tr),rr=function(t){u(n,t);var e=g(n);function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return d(this,n),e.call(this,Jn.TEXCOORDS+(0==t?"":t),Kn.Float,2)}return n}(tr),ir=function(t){u(n,t);var e=g(n);function n(){return d(this,n),e.call(this,Jn.COLOR,Kn.Float,4)}return n}(tr),ar=function(t){u(n,t);var e=g(n);function n(){return d(this,n),e.call(this,Jn.COLOR2,Kn.Float,4)}return n}(tr);(Qn=Kn||(Kn={}))[Qn.Float=0]="Float";var or,sr,ur=function(){function t(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10920;if(d(this,t),this.isDrawing=!1,this.shader=null,this.lastTexture=null,this.verticesLength=0,this.indicesLength=0,r>10920)throw new Error("Can't have more than 10920 triangles per batch: "+r);this.context=e instanceof xn?e:new xn(e);var i=n?[new er,new ir,new rr,new ar]:[new er,new ir,new rr];this.mesh=new $n(e,i,r,3*r);var a=this.context.gl;this.srcColorBlend=a.SRC_ALPHA,this.srcAlphaBlend=a.ONE,this.dstBlend=a.ONE_MINUS_SRC_ALPHA}return v(t,[{key:"begin",value:function(t){if(this.isDrawing)throw new Error("PolygonBatch is already drawing. Call PolygonBatch.end() before calling PolygonBatch.begin()");this.drawCalls=0,this.shader=t,this.lastTexture=null,this.isDrawing=!0;var e=this.context.gl;e.enable(e.BLEND),e.blendFuncSeparate(this.srcColorBlend,this.dstBlend,this.srcAlphaBlend,this.dstBlend)}},{key:"setBlendMode",value:function(t,e,n){this.srcColorBlend==t&&this.srcAlphaBlend==e&&this.dstBlend==n||(this.srcColorBlend=t,this.srcAlphaBlend=e,this.dstBlend=n,this.isDrawing&&(this.flush(),this.context.gl.blendFuncSeparate(t,n,e,n)))}},{key:"draw",value:function(t,e,n){t!=this.lastTexture?(this.flush(),this.lastTexture=t):(this.verticesLength+e.length>this.mesh.getVertices().length||this.indicesLength+n.length>this.mesh.getIndices().length)&&this.flush();var r=this.mesh.numVertices();this.mesh.getVertices().set(e,this.verticesLength),this.verticesLength+=e.length,this.mesh.setVerticesLength(this.verticesLength);for(var i=this.mesh.getIndices(),a=this.indicesLength,o=0;o<n.length;a++,o++)i[a]=n[o]+r;this.indicesLength+=n.length,this.mesh.setIndicesLength(this.indicesLength)}},{key:"flush",value:function(){0!=this.verticesLength&&(this.lastTexture.bind(),this.mesh.draw(this.shader,this.context.gl.TRIANGLES),this.verticesLength=0,this.indicesLength=0,this.mesh.setVerticesLength(0),this.mesh.setIndicesLength(0),this.drawCalls++)}},{key:"end",value:function(){if(!this.isDrawing)throw new Error("PolygonBatch is not drawing. Call PolygonBatch.begin() before calling PolygonBatch.end()");(this.verticesLength>0||this.indicesLength>0)&&this.flush(),this.shader=null,this.lastTexture=null,this.isDrawing=!1;var t=this.context.gl;t.disable(t.BLEND)}},{key:"getDrawCalls",value:function(){return this.drawCalls}},{key:"dispose",value:function(){this.mesh.dispose()}}]),t}(),lr=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10920;if(d(this,t),this.isDrawing=!1,this.shapeType=or.Filled,this.color=new a(1,1,1,1),this.vertexIndex=0,this.tmp=new b,n>10920)throw new Error("Can't have more than 10920 triangles per batch: "+n);this.context=e instanceof xn?e:new xn(e),this.mesh=new $n(e,[new er,new ir],n,0);var r=this.context.gl;this.srcColorBlend=r.SRC_ALPHA,this.srcAlphaBlend=r.ONE,this.dstBlend=r.ONE_MINUS_SRC_ALPHA}return v(t,[{key:"begin",value:function(t){if(this.isDrawing)throw new Error("ShapeRenderer.begin() has already been called");this.shader=t,this.vertexIndex=0,this.isDrawing=!0;var e=this.context.gl;e.enable(e.BLEND),e.blendFuncSeparate(this.srcColorBlend,this.dstBlend,this.srcAlphaBlend,this.dstBlend)}},{key:"setBlendMode",value:function(t,e,n){(this.srcColorBlend=t,this.srcAlphaBlend=e,this.dstBlend=n,this.isDrawing)&&(this.flush(),this.context.gl.blendFuncSeparate(t,n,e,n))}},{key:"setColor",value:function(t){this.color.setFromColor(t)}},{key:"setColorWith",value:function(t,e,n,r){this.color.set(t,e,n,r)}},{key:"point",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.check(or.Point,1),null===n&&(n=this.color),this.vertex(t,e,n)}},{key:"line",value:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;this.check(or.Line,2);this.mesh.getVertices(),this.vertexIndex;
1null===i&&(i=this.color),this.vertex(t,e,i),this.vertex(n,r,i)}},{key:"triangle",value:function(t,e,n,r,i,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;this.check(t?or.Filled:or.Line,3);this.mesh.getVertices(),this.vertexIndex;null===s&&(s=this.color),null===u&&(u=this.color),null===l&&(l=this.color),t?(this.vertex(e,n,s),this.vertex(r,i,u),this.vertex(a,o,l)):(this.vertex(e,n,s),this.vertex(r,i,u),this.vertex(r,i,s),this.vertex(a,o,u),this.vertex(a,o,s),this.vertex(e,n,u))}},{key:"quad",value:function(t,e,n,r,i,a,o,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null,c=arguments.length>10&&void 0!==arguments[10]?arguments[10]:null,h=arguments.length>11&&void 0!==arguments[11]?arguments[11]:null,d=arguments.length>12&&void 0!==arguments[12]?arguments[12]:null;this.check(t?or.Filled:or.Line,3);this.mesh.getVertices(),this.vertexIndex;null===l&&(l=this.color),null===c&&(c=this.color),null===h&&(h=this.color),null===d&&(d=this.color),t?(this.vertex(e,n,l),this.vertex(r,i,c),this.vertex(a,o,h),this.vertex(a,o,h),this.vertex(s,u,d),this.vertex(e,n,l)):(this.vertex(e,n,l),this.vertex(r,i,c),this.vertex(r,i,c),this.vertex(a,o,h),this.vertex(a,o,h),this.vertex(s,u,d),this.vertex(s,u,d),this.vertex(e,n,l))}},{key:"rect",value:function(t,e,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.quad(t,e,n,e+r,n,e+r,n+i,e,n+i,a,a,a,a)}},{key:"rectLine",value:function(t,e,n,r,i,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;this.check(t?or.Filled:or.Line,8),null===o&&(o=this.color);var s=this.tmp.set(i-n,e-r);s.normalize(),a*=.5;var u=s.x*a,l=s.y*a;t?(this.vertex(e+u,n+l,o),this.vertex(e-u,n-l,o),this.vertex(r+u,i+l,o),this.vertex(r-u,i-l,o),this.vertex(r+u,i+l,o),this.vertex(e-u,n-l,o)):(this.vertex(e+u,n+l,o),this.vertex(e-u,n-l,o),this.vertex(r+u,i+l,o),this.vertex(r-u,i-l,o),this.vertex(r+u,i+l,o),this.vertex(e+u,n+l,o),this.vertex(r-u,i-l,o),this.vertex(e-u,n-l,o))}},{key:"x",value:function(t,e,n){this.line(t-n,e-n,t+n,e+n),this.line(t-n,e+n,t+n,e-n)}},{key:"polygon",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(n<3)throw new Error("Polygon must contain at least 3 vertices");this.check(or.Line,2*n),null===r&&(r=this.color);this.mesh.getVertices(),this.vertexIndex;n<<=1;for(var i=t[e<<=1],a=t[e+1],o=e+n,s=e,u=e+n-2;s<u;s+=2){var l=t[s],c=t[s+1],h=0,d=0;s+2>=o?(h=i,d=a):(h=t[s+2],d=t[s+3]),this.vertex(l,c,r),this.vertex(h,d,r)}}},{key:"circle",value:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(0===a&&(a=Math.max(1,6*l.cbrt(r)|0)),a<=0)throw new Error("segments must be > 0.");null===i&&(i=this.color);var o=2*l.PI/a,s=Math.cos(o),u=Math.sin(o),c=r,h=0;if(t){this.check(or.Filled,3*a+3),a--;for(var d=0;d<a;d++){this.vertex(e,n,i),this.vertex(e+c,n+h,i);var f=c;c=s*c-u*h,h=u*f+s*h,this.vertex(e+c,n+h,i)}this.vertex(e,n,i),this.vertex(e+c,n+h,i)}else{this.check(or.Line,2*a+2);for(var v=0;v<a;v++){this.vertex(e+c,n+h,i);var p=c;c=s*c-u*h,h=u*p+s*h,this.vertex(e+c,n+h,i)}this.vertex(e+c,n+h,i)}c=r,h=0,this.vertex(e+c,n+h,i)}},{key:"curve",value:function(t,e,n,r,i,a,o,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;this.check(or.Line,2*u+2),null===l&&(l=this.color);for(var c=1/u,h=c*c,d=c*c*c,f=3*c,v=3*h,p=6*h,m=6*d,g=t-2*n+i,y=e-2*r+a,A=3*(n-i)-t+o,x=3*(r-a)-e+s,b=t,w=e,L=(n-t)*f+g*v+A*d,k=(r-e)*f+y*v+x*d,C=g*p+A*m,E=y*p+x*m,S=A*m,M=x*m;u-- >0;)this.vertex(b,w,l),b+=L,w+=k,L+=C,k+=E,C+=S,E+=M,this.vertex(b,w,l);this.vertex(b,w,l),this.vertex(o,s,l)}},{key:"vertex",value:function(t,e,n){var r=this.vertexIndex,i=this.mesh.getVertices();i[r++]=t,i[r++]=e,i[r++]=n.r,i[r++]=n.g,i[r++]=n.b,i[r++]=n.a,this.vertexIndex=r}},{key:"end",value:function(){if(!this.isDrawing)throw new Error("ShapeRenderer.begin() has not been called");this.flush();var t=this.context.gl;t.disable(t.BLEND),this.isDrawing=!1}},{key:"flush",value:function(){0!=this.vertexIndex&&(this.mesh.setVerticesLength(this.vertexIndex),this.mesh.draw(this.shader,this.shapeType),this.vertexIndex=0)}},{key:"check",value:function(t,e){if(!this.isDrawing)throw new Error("ShapeRenderer.begin() has not been called");if(this.shapeType==t){if(!(this.mesh.maxVertices()-this.mesh.num
1Vertices()<e))return;this.flush()}else this.flush(),this.shapeType=t}},{key:"dispose",value:function(){this.mesh.dispose()}}]),t}();(sr=or||(or={}))[sr.Point=0]="Point",sr[sr.Line=1]="Line",sr[sr.Filled=4]="Filled";var cr=function(){function t(e){d(this,t),this.boneLineColor=new a(1,0,0,1),this.boneOriginColor=new a(0,1,0,1),this.attachmentLineColor=new a(0,0,1,.5),this.triangleLineColor=new a(1,.64,0,.5),this.pathColor=(new a).setFromString("FF7F00"),this.clipColor=new a(.8,0,0,2),this.aabbColor=new a(0,1,0,.5),this.drawBones=!0,this.drawRegionAttachments=!0,this.drawBoundingBoxes=!0,this.drawMeshHull=!0,this.drawMeshTriangles=!0,this.drawPaths=!0,this.drawSkeletonXY=!1,this.drawClipping=!0,this.premultipliedAlpha=!1,this.scale=1,this.boneWidth=2,this.bounds=new ln,this.temp=new Array,this.vertices=y.newFloatArray(2048),this.context=e instanceof xn?e:new xn(e)}return v(t,[{key:"draw",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=n.x,a=n.y,o=this.context.gl,s=this.premultipliedAlpha?o.ONE:o.SRC_ALPHA;e.setBlendMode(s,o.ONE,o.ONE_MINUS_SRC_ALPHA);var u=n.bones;if(this.drawBones){e.setColor(this.boneLineColor);for(var l=0,c=u.length;l<c;l++){var h=u[l];if(!(r&&r.indexOf(h.data.name)>-1)&&h.parent){var d=i+h.data.length*h.a+h.worldX,f=a+h.data.length*h.c+h.worldY;e.rectLine(!0,i+h.worldX,a+h.worldY,d,f,this.boneWidth*this.scale)}}this.drawSkeletonXY&&e.x(i,a,4*this.scale)}if(this.drawRegionAttachments){e.setColor(this.attachmentLineColor);for(var v=n.slots,p=0,m=v.length;p<m;p++){var g=v[p],A=g.getAttachment();if(A instanceof ee){var x=A,b=this.vertices;x.computeWorldVertices(g.bone,b,0,2),e.line(b[0],b[1],b[2],b[3]),e.line(b[2],b[3],b[4],b[5]),e.line(b[4],b[5],b[6],b[7]),e.line(b[6],b[7],b[0],b[1])}}}if(this.drawMeshHull||this.drawMeshTriangles)for(var w=n.slots,L=0,k=w.length;L<k;L++){var C=w[L];if(C.bone.active){var E=C.getAttachment();if(E instanceof Qt){var S=E,M=this.vertices;S.computeWorldVertices(C,0,S.worldVerticesLength,M,0,2);var T=S.triangles,R=S.hullLength;if(this.drawMeshTriangles){e.setColor(this.triangleLineColor);for(var P=0,I=T.length;P<I;P+=3){var O=2*T[P],B=2*T[P+1],F=2*T[P+2];e.triangle(!1,M[O],M[O+1],M[B],M[B+1],M[F],M[F+1])}}if(this.drawMeshHull&&R>0){e.setColor(this.attachmentLineColor);for(var D=M[(R=2*(R>>1))-2],V=M[R-1],Y=0,X=R;Y<X;Y+=2){var U=M[Y],j=M[Y+1];e.line(U,j,D,V),D=U,V=j}}}}}if(this.drawBoundingBoxes){var Z=this.bounds;Z.update(n,!0),e.setColor(this.aabbColor),e.rect(!1,Z.minX,Z.minY,Z.getWidth(),Z.getHeight());for(var N=Z.polygons,z=Z.boundingBoxes,_=0,W=N.length;_<W;_++){var G=N[_];e.setColor(z[_].color),e.polygon(G,0,G.length)}}if(this.drawPaths)for(var H=n.slots,q=0,J=H.length;q<J;q++){var K=H[q];if(K.bone.active){var Q=K.getAttachment();if(Q instanceof $t){var $=Q,tt=$.worldVerticesLength,et=this.temp=y.setArraySize(this.temp,tt,0);$.computeWorldVertices(K,0,tt,et,0,2);var nt=this.pathColor,rt=et[2],it=et[3],at=0,ot=0;if($.closed){e.setColor(nt);var st=et[0],ut=et[1],lt=et[tt-2],ct=et[tt-1];at=et[tt-4],ot=et[tt-3],e.curve(rt,it,st,ut,lt,ct,at,ot,32),e.setColor(t.LIGHT_GRAY),e.line(rt,it,st,ut),e.line(at,ot,lt,ct)}tt-=4;for(var ht=4;ht<tt;ht+=6){var dt=et[ht],ft=et[ht+1],vt=et[ht+2],pt=et[ht+3];at=et[ht+4],ot=et[ht+5],e.setColor(nt),e.curve(rt,it,dt,ft,vt,pt,at,ot,32),e.setColor(t.LIGHT_GRAY),e.line(rt,it,dt,ft),e.line(at,ot,vt,pt),rt=at,it=ot}}}}if(this.drawBones){e.setColor(this.boneOriginColor);for(var mt=0,gt=u.length;mt<gt;mt++){var yt=u[mt];r&&r.indexOf(yt.data.name)>-1||e.circle(!0,i+yt.worldX,a+yt.worldY,3*this.scale,t.GREEN,8)}}if(this.drawClipping){var At=n.slots;e.setColor(this.clipColor);for(var xt=0,bt=At.length;xt<bt;xt++){var wt=At[xt];if(wt.bone.active){var Lt=wt.getAttachment();if(Lt instanceof zt){var kt=Lt,Ct=kt.worldVerticesLength,Et=this.temp=y.setArraySize(this.temp,Ct,0);kt.computeWorldVertices(wt,0,Ct,Et,0,2);for(var St=0,Mt=Et.length;St<Mt;St+=2){var Tt=Et[St],Rt=Et[St+1],Pt=Et[(St+2)%Et.length],It=Et[(St+3)%Et.length];e.line(Tt,Rt,Pt,It)}}}}}}},{key:"dispose",value:function(){}}]),t}(),hr=cr;hr.LIGHT_GRAY=new a(192/255,192/255,192/255,1),hr.GREEN=new a(0,1,0,1);var dr=function t(e,n,r){d(this,t),this.vertices=e,this.numVertices=n,this.numFloats=r},fr=function(){function t(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];d(this,t),this.premultipliedAlpha=!1,this.vertexEffect=null,this.tempColor=new a,this.tempColor2=new a,this.vertexSize=8,this.twoColorTint=!1,this.renderable=new dr(null,0,0),this.clipper=new hn,this.temp=new b,this.temp2=new b,this.temp3=new a,this.temp4=new a,this.twoColorTint=n,n&&(this.vertexSize+=4),this.vertices=y.newFloatArray(1024*this.vertexSize)}return v(t,[{key:"draw",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,a=this.clipper,o=this.premultipliedAlpha,s=this.twoColorTint,u=null,l=this.temp,c=this.temp2,h=this.temp3,d=this.temp4,f=this.renderable,v=null,p=null,m=n.drawOrder,g=null,A=n.color,x=s?12:8,b=!1;-1==r&&(b=!0);for(var w=0,L=m.length;w<L;w++){var k=a.isClipping()?2:x,C=m[w];if(C.bone.active)if(r>=0&&r==C.data.index&&(b=!0),b){i>=0&&i==C.data.index&&(b=!1);var E=C.getAttachment(),S=null;if(E instanceof ee){var M=E;f.vertices=this.vertices,f.numVertices=4,f.numFloats=k<<2,M.computeWorldVertices(C.bone,f.vertices,0,k),p=t.QUAD_TRIANGLES,v=M.uvs,S=M.region.renderObject.page.texture,g=M.color}else{if(!(E instanceof Qt)){if(E instanceof zt){var T=E;a.clipStart(C,T);continue}a.clipEndWithSlot(C);continue}var R=E;f.vertices=this.vertices,f.numVertices=R.worldVerticesLength>>1,f.numFloats=f.numVertices*k,f.numFloats>f.vertices.length&&(f.vertices=this.vertices=y.newFloatArray(f.numFloats)),R.computeWorldVertices(C,0,R.worldVerticesLength,f.vertices,0,k),p=R.triangles,S=R.region.renderObject.page.texture,v=R.uvs,g=R.color}if(S){var P=C.color,I=this.tempColor;I.r=A.r*P.r*g.r,I.g=A.g*P.g*g.g,I.b=A.b*P.b*g.b,I.a=A.a*P.a*g.a,o&&(I.r*=I.a,I.g*=I.a,I.b*=I.a);var O=this.tempColor2;C.darkColor?(o?(O.r=C.darkColor.r*I.a,O.g=C.darkColor.g*I.a,O.b=C.darkColor.b*I.a):O.setFromColor(C.darkColor),O.a=o?1:0):O.set(0,0,0,1);var B=C.data.blendMode;if(B!=u&&(u=B,e.setBlendMode(Ln.getSourceColorGLBlendMode(u,o),Ln.getSourceAlphaGLBlendMode(u),Ln.getDestGLBlendMode(u))),a.isClipping()){a.clipTriangles(f.vertices,f.numFloats,p,p.length,v,I,O,s);var F=new Float32Array(a.clippedVertices),D=a.clippedTriangles;if(this.vertexEffect){var V=this.vertexEffect,Y=F;if(s)for(var X=0,U=F.length;X<U;X+=x)l.x=Y[X],l.y=Y[X+1],h.set(Y[X+2],Y[X+3],Y[X+4],Y[X+5]),c.x=Y[X+6],c.y=Y[X+7],d.set(Y[X+8],Y[X+9],Y[X+10],Y[X+11]),V.transform(l,c,h,d),Y[X]=l.x,Y[X+1]=l.y,Y[X+2]=h.r,Y[X+3]=h.g,Y[X+4]=h.b,Y[X+5]=h.a,Y[X+6]=c.x,Y[X+7]=c.y,Y[X+8]=d.r,Y[X+9]=d.g,Y[X+10]=d.b,Y[X+11]=d.a;else for(var j=0,Z=F.length;j<Z;j+=x)l.x=Y[j],l.y=Y[j+1],h.set(Y[j+2],Y[j+3],Y[j+4],Y[j+5]),c.x=Y[j+6],c.y=Y[j+7],d.set(0,0,0,0),V.transform(l,c,h,d),Y[j]=l.x,Y[j+1]=l.y,Y[j+2]=h.r,Y[j+3]=h.g,Y[j+4]=h.b,Y[j+5]=h.a,Y[j+6]=c.x,Y[j+7]=c.y}e.draw(S,F,D)}else{var N=f.vertices;if(this.vertexEffect){var z=this.vertexEffect;if(s)for(var _=0,W=0,G=f.numFloats;_<G;_+=x,W+=2)l.x=N[_],l.y=N[_+1],c.x=v[W],c.y=v[W+1],h.setFromColor(I),d.setFromColor(O),z.transform(l,c,h,d),N[_]=l.x,N[_+1]=l.y,N[_+2]=h.r,N[_+3]=h.g,N[_+4]=h.b,N[_+5]=h.a,N[_+6]=c.x,N[_+7]=c.y,N[_+8]=d.r,N[_+9]=d.g,N[_+10]=d.b,N[_+11]=d.a;else for(var H=0,q=0,J=f.numFloats;H<J;H+=x,q+=2)l.x=N[H],l.y=N[H+1],c.x=v[q],c.y=v[q+1],h.setFromColor(I),d.set(0,0,0,0),z.transform(l,c,h,d),N[H]=l.x,N[H+1]=l.y,N[H+2]=h.r,N[H+3]=h.g,N[H+4]=h.b,N[H+5]=h.a,N[H+6]=c.x,N[H+7]=c.y}else if(s)for(var K=2,Q=0,$=f.numFloats;K<$;K+=x,Q+=2)N[K]=I.r,N[K+1]=I.g,N[K+2]=I.b,N[K+3]=I.a,N[K+4]=v[Q],N[K+5]=v[Q+1],N[K+6]=O.r,N[K+7]=O.g,N[K+8]=O.b,N[K+9]=O.a;else for(var tt=2,et=0,nt=f.numFloats;tt<nt;tt+=x,et+=2)N[tt]=I.r,N[tt+1]=I.g,N[tt+2]=I.b,N[tt+3]=I.a,N[tt+4]=v[et],N[tt+5]=v[et+1];var rt=f.vertices.subarray(0,f.numFloats);e.draw(S,rt,p)}}a.clipEndWithSlot(C)}else a.clipEndWithSlot(C);else a.clipEndWithSlot(C)}a.clipEnd()}}]),t}(),vr=fr;vr.QUAD_TRIANGLES=[0,1,2,2,3,0];var pr,mr,gr,yr,Ar=[0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0],xr=[0,1,2,2,3,0],br=new a(1,1,1,1),wr=function(){function t(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];d(this,t),this.twoColorTint=!1,this.canvas=e,this.context=n instanceof xn?n:new xn(n),this.twoColorTint=r,this.camera=new Wn(e.width,e.height),this.batcherShader=r?Jn.newTwoColoredTextured(this.context):Jn.newColoredTextured(this.context),this.batcher=new ur(this.context,r),this.shapesShader=Jn.newColored(this.context),this.shapes=new lr(this.context),this.skeletonRenderer=new vr(this.context,r),this.skeletonDebugRenderer=new hr(this.context)}return v(t,[{key:"dispose",value:function(){this.batcher.dispose(),this.batcherShader.dispose(),this.shapes.dispose(),this.shapesShader.dispose(),this.skeletonDebugRenderer.dispose()}},{key:"begin",value:function(){this.camera.update(),this.enableRenderer(this.batcher)}},{key:"drawSkeleton",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1;this.enableRenderer(this.batcher),this.skeletonRenderer.premultipliedAlpha=e,this.skeletonRenderer.draw(this.batcher,t,n,r)}},{key:"drawSkeletonDebug",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.enableRenderer(this.shapes),this.skeletonDebugRenderer.premultipliedAlpha=e,this.skeletonDebugRenderer.draw(this.shapes,t,n)}},{key:"drawTexture",value:function(t,e,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.enableRenderer(this.batcher),null===a&&(a=br);var o=0;Ar[o++]=e,Ar[o++]=n,Ar[o++]=a.r,Ar[o++]=a.g,Ar[o++]=a.b,Ar[o++]=a.a,Ar[o++]=0,Ar[o++]=1,this.twoColorTint&&(Ar[o++]=0,Ar[o++]=0,Ar[o++]=0,Ar[o++]=0),Ar[o++]=e+r,Ar[o++]=n,Ar[o++]=a.r,Ar[o++]=a.g,Ar[o++]=a.b,Ar[o++]=a.a,Ar[o++]=1,Ar[o++]=1,this.twoColorTint&&(Ar[o++]=0,Ar[o++]=0,Ar[o++]=0,Ar[o++]=0),Ar[o++]=e+r,Ar[o++]=n+i,Ar[o++]=a.r,Ar[o++]=a.g,Ar[o++]=a.b,Ar[o++]=a.a,Ar[o++]=1,Ar[o++]=0,this.twoColorTint&&(Ar[o++]=0,Ar[o++]=0,Ar[o++]=0,Ar[o++]=0),Ar[o++]=e,Ar[o++]=n+i,Ar[o++]=a.r,Ar[o++]=a.g,Ar[o++]=a.b,Ar[o++]=a.a,Ar[o++]=0,Ar[o++]=0,this.twoColorTint&&(Ar[o++]=0,Ar[o++]=0,Ar[o++]=0,Ar[o]=0),this.batcher.draw(t,Ar,xr)}},{key:"drawTextureUV",value:function(t,e,n,r,i,a,o,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;this.enableRenderer(this.batcher),null===l&&(l=br);var c=0;Ar[c++]=e,Ar[c++]=n,Ar[c++]=l.r,Ar[c++]=l.g,Ar[c++]=l.b,Ar[c++]=l.a,Ar[c++]=a,Ar[c++]=o,this.twoColorTint&&(Ar[c++]=0,Ar[c++]=0,Ar[c++]=0,Ar[c++]=0),Ar[c++]=e+r,Ar[c++]=n,Ar[c++]=l.r,Ar[c++]=l.g,Ar[c++]=l.b,Ar[c++]=l.a,Ar[c++]=s,Ar[c++]=o,this.twoColorTint&&(Ar[c++]=0,Ar[c++]=0,Ar[c++]=0,Ar[c++]=0),Ar[c++]=e+r,Ar[c++]=n+i,Ar[c++]=l.r,Ar[c++]=l.g,Ar[c++]=l.b,Ar[c++]=l.a,Ar[c++]=s,Ar[c++]=u,this.twoColorTint&&(Ar[c++]=0,Ar[c++]=0,Ar[c++]=0,Ar[c++]=0),Ar[c++]=e,Ar[c++]=n+i,Ar[c++]=l.r,Ar[c++]=l.g,Ar[c++]=l.b,Ar[c++]=l.a,Ar[c++]=a,Ar[c++]=u,this.twoColorTint&&(Ar[c++]=0,Ar[c++]=0,Ar[c++]=0,Ar[c]=0),this.batcher.draw(t,Ar,xr)}},{key:"drawTextureRotated",value:function(t,e,n,r,i,a,o,s){var u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null;this.enableRenderer(this.batcher),null===u&&(u=br);var c=e+a,h=n+o,d=-a,f=-o,v=r-a,p=i-o,m=d,g=f,y=d,A=p,x=v,b=p,w=v,L=f,k=0,C=0,E=0,S=0,M=0,T=0,R=0,P=0;if(0!=s){var I=l.cosDeg(s),O=l.sinDeg(s);E=(M=I*x-O*b)+((k=I*m-O*g)-(R=I*y-O*A)),S=(T=O*x+I*b)+((C=O*m+I*g)-(P=O*y+I*A))}else k=m,C=g,R=y,P=A,M=x,T=b,E=w,S=L;k+=c,C+=h,E+=c,S+=h,M+=c,T+=h,R+=c,P+=h;var B=0;Ar[B++]=k,Ar[B++]=C,Ar[B++]=u.r,Ar[B++]=u.g,Ar[B++]=u.b,Ar[B++]=u.a,Ar[B++]=0,Ar[B++]=1,this.twoColorTint&&(Ar[B++]=0,Ar[B++]=0,Ar[B++]=0,Ar[B++]=0),Ar[B++]=E,Ar[B++]=S,Ar[B++]=u.r,Ar[B++]=u.g,Ar[B++]=u.b,Ar[B++]=u.a,Ar[B++]=1,Ar[B++]=1,this.twoColorTint&&(Ar[B++]=0,Ar[B++]=0,Ar[B++]=0,Ar[B++]=0),Ar[B++]=M,Ar[B++]=T,Ar[B++]=u.r,Ar[B++]=u.g,Ar[B++]=u.b,Ar[B++]=u.a,Ar[B++]=1,Ar[B++]=0,this.twoColorTint&&(Ar[B++]=0,Ar[B++]=0,Ar[B++]=0,Ar[B++]=0),Ar[B++]=R,Ar[B++]=P,Ar[B++]=u.r,Ar[B++]=u.g,Ar[B++]=u.b,Ar[B++]=u.a,Ar[B++]=0,Ar[B++]=0,this.twoColorTint&&(Ar[B++]=0,Ar[B++]=0,Ar[B++]=0,Ar[B]=0),this.batcher.draw(t,Ar,xr)}},{key:"drawRegion",value:function(t,e,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.enableRenderer(this.batcher),null===a&&(a=br);var o=0;Ar[o++]=e,Ar[o++]=n,Ar[o++]=a.r,Ar[o++]=a.g,Ar[o++]=a.b,Ar[o++]=a.a,Ar[o++]=t.u,Ar[o++]=t.v2,this.twoColorTint&&(Ar[o++]=0,Ar[o++]=0,Ar[o++]=0,Ar[o++]=0),Ar[o++]=e+r,Ar[o++]=n,Ar[o++]=a.r,Ar[o++]=a.g,Ar[o++]=a.b,Ar[o++]=a.a,Ar[o++]=t.u2,Ar[o++]=t.v2,this.twoColorTint&&(Ar[o++]=0,Ar[o++]=0,Ar[o++]=0,Ar[o++]=0),Ar[o++]=e+r,Ar[o++]=n+i,Ar[o++]=a.r,Ar[o++]=a.g,Ar[o++]=a.b,Ar[o++]=a.a,Ar[o++]=t.u2,Ar[o++]=t.v,this.twoColorTint&&(Ar[o++]=0,Ar[o++]=0,Ar[o++]=0,Ar[o++]=0),Ar[o++]=e,Ar[o++]=n+i,Ar[o++]=a.r,Ar[o++]=a.g,Ar[o++]=a.b,Ar[o++]=a.a,Ar[o++]=t.u,Ar[o++]=t.v,this.twoColorTint&&(Ar[o++]=0,Ar[o++]=0,Ar[o++]=0,Ar[o]=0),this.batcher.draw(t.page.texture,Ar,xr)}},{key:"line",value:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;this.enableRenderer(this.shapes),this.shapes.line(t,e,n,r,i)}},{key:"triangle",value:function(t,e,n,r,i,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;this.enableRenderer(this.shapes),this.shapes.triangle(t,e,n,r,i,a,o,s,u,l)}},{key:"quad",value:function(t,e,n,r,i,a,o,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null,c=arguments.length>10&&void 0!==arguments[10]?arguments[10]:null,h=arguments.length>11&&void 0!==arguments[11]?arguments[11]:null,d=arguments.length>12&&void 0!==arguments[12]?arguments[12]:null;this.enableRenderer(this.shapes),this.shapes.quad(t,e,n,r,i,a,o,s,u,l,c,h,d)}},{key:"rect",value:function(t,e,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.enableRenderer(this.shapes),this.shapes.rect(t,e,n,r,i,a)}},{key:"rectLine",value:function(t,e,n,r,i,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;this.enableRenderer(this.shapes),this.shapes.rectLine(t,e,n,r,i,a,o)}},{key:"polygon",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.enableRenderer(this.shapes),this.shapes.polygon(t,e,n,r)}},{key:"circle",value:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;this.enableRenderer(this.shapes),this.shapes.circle(t,e,n,r,i,a)}},{key:"curve",value:function(t,e,n,r,i,a,o,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;this.enableRenderer(this.shapes),this.shapes.curve(t,e,n,r,i,a,o,s,u,l)}},{key:"end",value:function(){this.activeRenderer===this.batcher?this.batcher.end():this.activeRenderer===this.shapes&&this.shapes.end(),this.activeRenderer=null}},{key:"resize",value:function(t){var e=this.canvas,n=window.devicePixelRatio||1,r=Math.round(e.clientWidth*n),i=Math.round(e.clientHeight*n);if(e.width==r&&e.height==i||(e.width=r,e.height=i),this.context.gl.viewport(0,0,e.width,e.height),t===pr.Expand)this.camera.setViewport(r,i);else if(t===pr.Fit){var a=e.width,o=e.height,s=this.camera.viewportWidth,u=this.camera.viewportHe
1ight,l=u/s<o/a?s/a:u/o;this.camera.setViewport(a*l,o*l)}this.camera.update()}},{key:"enableRenderer",value:function(t){this.activeRenderer!==t&&(this.end(),t instanceof ur?(this.batcherShader.bind(),this.batcherShader.setUniform4x4f(Jn.MVP_MATRIX,this.camera.projectionView.values),this.batcherShader.setUniformi("u_texture",0),this.batcher.begin(this.batcherShader),this.activeRenderer=this.batcher):t instanceof lr?(this.shapesShader.bind(),this.shapesShader.setUniform4x4f(Jn.MVP_MATRIX,this.camera.projectionView.values),this.shapes.begin(this.shapesShader),this.activeRenderer=this.shapes):this.activeRenderer=this.skeletonDebugRenderer)}}]),t}();(mr=pr||(pr={}))[mr.Stretch=0]="Stretch",mr[mr.Expand=1]="Expand",mr[mr.Fit=2]="Fit";var Lr=0,kr=165,Cr=108,Er=163,Sr=function(){function t(e){if(d(this,t),this.logo=null,this.spinner=null,this.angle=0,this.fadeOut=0,this.fadeIn=0,this.timeKeeper=new w,this.backgroundColor=new a(.135,.135,.135,1),this.tempColor=new a,this.renderer=e,this.timeKeeper.maxDelta=9,!yr){var n=navigator.userAgent.indexOf("Safari")>-1,r=function(){return Lr++};(yr=new Image).src=Tr,n||(yr.crossOrigin="anonymous"),yr.onload=r,(gr=new Image).src=Mr,n||(gr.crossOrigin="anonymous"),gr.onload=r}}return v(t,[{key:"dispose",value:function(){this.logo.dispose(),this.spinner.dispose()}},{key:"draw",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!(Lr<2||t&&this.fadeOut>1)){this.timeKeeper.update();var e=Math.abs(Math.sin(this.timeKeeper.totalTime+.25));this.angle-=200*this.timeKeeper.delta*(1+1.5*Math.pow(e,5));var n=this.tempColor,r=this.renderer,i=r.canvas,a=r.context.gl;if(r.resize(pr.Expand),r.camera.position.set(i.width/2,i.height/2,0),r.batcher.setBlendMode(a.ONE,a.ONE,a.ONE_MINUS_SRC_ALPHA),t){if(this.fadeOut+=this.timeKeeper.delta*(this.timeKeeper.totalTime<1?2:1),this.fadeOut>1)return;n.setFromColor(this.backgroundColor),e=1-((e=1-this.fadeOut/1)-1)*(e-1),n.a*=e,n.a>0&&(r.camera.zoom=1,r.begin(),r.quad(!0,0,0,i.width,0,i.width,i.height,0,i.height,n,n,n,n),r.end())}else this.fadeIn+=this.timeKeeper.delta,this.backgroundColor.a>0&&(a.clearColor(this.backgroundColor.r,this.backgroundColor.g,this.backgroundColor.b,this.backgroundColor.a),a.clear(a.COLOR_BUFFER_BIT)),e=1;e*=Math.min(this.fadeIn/1,1),n.set(e,e,e,e),this.logo||(this.logo=new Cn(r.context,yr),this.spinner=new Cn(r.context,gr)),r.camera.zoom=Math.max(1,Er/i.height),r.begin(),r.drawTexture(this.logo,(i.width-kr)/2,(i.height-Cr)/2,kr,Cr,n),r.drawTextureRotated(this.spinner,(i.width-Er)/2,(i.height-Er)/2,Er,Er,81.5,81.5,this.angle,n),r.end()}}}]),t}(),Mr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKMAAACjCAYAAADmbK6AAAALKElEQVR42u2de2iW5R/GPzuqcwfnnKfNmafl5tTNHWzqNi3DEMQykcAoJSsySkspjSIk0iD/07Kf4R+FnVBDUTshZGpWUEJaaiWFgZlUFmXmIe3HNXthyebeZ77P9H13ffBG8Y8H7ut7vff93N/7fu4vGGPiFZiez/Qtw9lytJajfzfw9z/j+efPOv7cV8W+lUNY2a8T/ayTCRsWFLJA5rtUO1LLkV5p9LJeJizQiHeqnlOtmVFtdTGrrZkJCxYXsTgaI6r9MY4/UpNItW4mFDaXsTlaM6qVZlBq3UwofFrJp0HMWJ9DvXUzobCznJ1BzFjWlTLrZkJh/TDWBzFjTgo51s2EgnKI0Rrx+FiOWzNzVaym91Syx5qZsGBWb2ZFa0ZN6dbMhAWTcpkUrRmXD2K5NTNhgVbH0Zpxbl/mWjMTFvRIo0e0ZpzcncnWzISKtvmiMWNRJ4qslwmVXRXsas2Ix8ZwzFqZsGFREYtaM+Oaa1ljrUzYkJ9G/ok6TlzKjJWZVFor0y7c1Zu7WjLiqiGsskamXdHopyT4vALmzS9k/t19uHtKHlOSIMn6xAtARjIZ1sFcUSZ0Y4La+G6M18hS2IlCn4a+WoC0JNL0d/dUupdnUj40g6EJ2VEdMnhrOG/p5f/jUXz8SgmvaGU6KpNRNsLVQV0OdXf24s63h/P2gWoOrBjMCr2GJFQnnxnIM3q5P1PPmaYv+4ev4/C6UtbpV2gzXCkgL5W8Bwt48OIc6ul6Tp+s4+SyASxLiI4+PYCn1bHzDZxvaQW6vZzto7MYnQIpNkf7kp5EuozYUroqEjcNKHHd0Tl9mBPN1pk+hFeieGBnBtog7UXjsj9pWg+m6duecw2cay1OC/uxMC47KmP9OIYfoz1YoC20J/rzRG4quTZK2EAyJGs20qwUbYw0aNRmUxtvfUW/uEtNzc1NB1/X8LVyd15hh82F43AvD+VlXcsSJEZa1CQ3ejleAO7oxR3RDP0XN91X4+NXYb8nkv7UNTwV7e0YTdu7I3g33t7tuaEbNwSZpps2fSyvs4M2Tjhot+jb0Xzbltj8r5j/xVt/6Z1Ob93U1ZYO691EhhzchcHeXosVjcNZysyezLw4xRZt05R+fTeuj8vOj+zKyG0j2aZcVVs6v+QalnjrMFZASQYl2nBoSyz06e3j/Xk8rgWYmMvEICu2pm1HOTuc7okV8FgRj0XukwzanhvCc/F+72TjoQjdObN1OFuDLmh0xP+WHtxiI10ukJlCprb4guiv1fP+avZrS1C7NAkliHZjDtZwMMgqbukAltpMlwuMy2FcEBPqvfLLar5Uqi0hBdEwryy+Mv5n6zkbjTBa+dlMlwvUZFETZKGiFM7tvbhdJ3gSVRO0wzIjnxmvl/J6a6JsGMYGrahtpssFeqbR841S3mhN80OjOaSDEdqd6SjaMKgzgzRK7q1ib3PT9sYyNo7JZoyNFNvRcVMZmy7WOvIuryv/Zvdmdt90+nY0bRp3AvROohFwdwW7dTG7RFlbwlqdrbOBYg005NAQmZU0HWt1rXMBH1Xw0dQ8pmqzoaPmdhun7bHZjNVe9qP9eFQfO1VkUmHjhAVUZ1GtnKFSbjrkrPfy4i4UW5t/6ZxM54J0CqxFe81KpGsQyE4h23oYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjLna+bdOy+IiFquIpGq16Pb79cNYv3IIK/X/ugx+Ui6TVKvYVU9Nc8gX8od8Ir/IN/KPfCQ/yVfyl/6/pfJvLChkQdD6wyqntquCXYuKWJSfRr6D0dEAxV3xlw/khyD+kd/ku/88cHo+09tS3LBpO1HHCVUqcIA6CqB4K+6X6x35L/JM2loXurlWmUmlA5XogOIcK8/If5HncrSWo7F6cKIWPjT/RXGOlWfkv8hzaWsN4uaaysE6WIkOKM6x8oz8F3kusXqo2vxC5jtYiQ4ozrH0TeS5qIZcrB7qkrwdA8U5Vp6R/yLPZV8V+2L14Cl5THGwEh1QnGPlGfkv8lyUlIzFQ1cNYVVHrcjZ0VCcFe9Y+Eb+izy3ceclUl43aFN52DXXssYpnY6a4qFS8ZcP2uIf+e7inRh6pdFrdTGrm8uiHx/L8T2V7NGWzvJBLJ/bl7mTuzO5qBNFDoiJID/IF/KHfCK/yDfyT3O7d/KbfNfS80hNIrU0g9L6HOq
11x5iTQo6FNpeLfCQ/yVfyl3xmXYwxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHNk9z4JwJ0SqKTdQkbyEwhU393T6V7zzR6pieR3tE1ITeVXImhe6BXDGZFdRbVeank2TBhcaEMr0rwbixj49IBLL2/L/ffmMuNHfqO9tFZjJYBd1ewO3Lx+IcVfKhqna5nHZYR6XFPH+5R3eeI5t9fx/fvjeC9Jdew5OKZKqFR/RDVKL6vL/f9PJafmyvHsL+a/ff24V6NmjZQbGchVbY6UM2BluqHv1rCqzVZ1KQlkZboepCdQvacPsz5bjTfXao+yMEaDt7Wk9tSIMVGig3TejCtJSM2bSpkPjWPqd1S6Zao+lORSYWmgkOjORRNwZqd5ezMSiHLRooNr5XwWjS6/1XHX9vL2T67N7M1iyXa9JCrYjVrS1gbpJyw6hBfsmiNCYT0P9/A+Wj1/6qGr5YNYFlJBiWJogEzezLz/ZG8/9s4fgtSyuvNYbyp1IONFBtu7sHNv4/j9yAxUHWrdaWsG9+N8XHd+YxkMpSy+aySz841cC5oXbmHCnnI74yxAgZ3YbDeB4PEQCOpBpFNZWwa2ZWRcdnxLsl00crtRB0n2lLg8JNRfDKoM4NsolgBSmw/UMADba1+qpmqfyf6x1u/0a/og3I+aEunP6/i86osqmygcGarF4p54dex/Bo0LqfqOfVwIQ/HW5/RSkwV1oN2WLlHTc82TljAwM4M1O5LWwYKZTjibYXNS0N5KcjKTe10PadfLObFuJwK4ozp+UzXDBTUjL+M5ZcBnRkQV53dMIwNQTu6bSTbVEzbi5awuVByd2E/FgaN0Tc1fKOzBHHV2aAdVSdv6s5NNkp7cSH/++xAng2yyHx+CM/H21YhfdPp+0U1X0TbSZnXx8faG9Aop0MS0cToh1p+iLcpOkLj9t/JOk5eqoPHxnDsyf486an5yqCDK7XZ1O4oZ4dWyy3FSXHUAYq47uyYbMZoGmhpG3DlEFb6uNiVBhpyaHhnBO8oJmfqOROJjzIiP43hJ8UxITqqX56S2Hur2KsOnq3nrE6PPNKPRwrSKbAZrjTQNZmuE7oxYXMZmxWbw9dxWFu4W4ezVedOE6qzI7oyYkY+M7TPeWsPbk2UX1qioSN+E3OZqOR2cReKE+qQRFN0Pi7y73g/UawU1KzezJpXwLz5hczX1ueUPKYkNb6GJQZ+j7/aAfRZREsv+quGsMoamXZBW2Gt5eU0alorEzYsKmJRa/m4NdeyxlqZsCGa84DKnVorEzboC7podis69DfIJmwufHMc7famvvmxZiYsKOtKWbRm1OcW1syEBboSJFozLh/EcmtmwgIluaM14/phrLdmJixYXMTiaM24p5I91syEBTphFOR7Y2tmwgJNvUFOr+tov3UzoaAv44KYUatv62ZCoemdhtG0+hzqrZsJBR08DWLG0gxKrZu50qvpxos3U5NItW4mFPp1ot+lPlpq2lYXs9qamVBZUMiC1ox4pJYjvlfStAu6GmTLcLboMtPIV4/6im5fFfuUi9QIap2MiWP+D96R1vPmsD/fAAAAAElFTkSuQmCC",Tr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKUAAABsCAYAAAALzHKmAAAQ7klEQVR42u3da4xdVRUA4D0zd2Y6nZY59DVtZ1puS9+lzC0YAi2UQ8AAQczFpPgA9VIeIQbirRqJ0cBUBVGjDr/QCKSNRSMmpuODxAdxqhgwxkhFjf6Sxh/+UUNVNGJCzR7uTvas7LXX2q9zzp3em6y0gTN3Zu75utZe5+yztxC9V+/Ve5X9En1Vjd7J6SFbLNF7naPw+l2jh7YHMBWssqMHtlsRdim4qsLtIawaPiHEQOLoNrA9iIkQDnRrVA1qD2LZ8ISoxYqKo13sQAtBWBayQWZUAXGRQM9JjCngDVY0UqJNDbQrMcaGmArdUKpIjbYiQLsCZCyIMQBy8QwnilR4Q5AuCpxFYvRFmBLbEiwKwpsSaWycVQGZBKMrwBjA9BhxDe57u2L2hOoKNCbOrgAZitEVYUxoKSMErQvSxYIzCkguRg5EF4AUhqUlhy/YUKSxcRaKsioYOQhD4I0yYxkR3PcJBcuFysmgsXAWBTMJyBCMIQh9kGGxXIXvexCQXbHGAMrBWTbM2CCpMSMLIxehC77lSJwXGth7M0FzoVJIXXDWQnGmhOkL0ic7YhhtWdGGkAuPAjUWGoF4faCmwBkbZmyUqUCyMqMLRA4+E6IsdTjidUHKBYrh9CnpRcH0ypKxsyOGEYNIIeTCOz91OIJ1QYoB5eAMyZo+MFNnyVTZ0YiRC9EGEMOyAgshxErHsL2XK1gOUgwohtM1a5YNM7Rsu4K0ZkcbRm4mpPBRwFZ5hg9eCqkrUB+csWGGogzNkqEgrdnRhpGLkINudaLgwvVB6oqzCjCTZElb2Y4B0gUjBtEG0ARnDRLjjoG9DwcshtQGlIPTljVjwUySLWNkyRCQVHa0ZUUTRAwgF91a33BEy0VKAcVwwqwZC2bqbOlUurllOxQkJzNyINoAYqjWhYYjWg5SCiiG05Q1U8FMjTIoS8YE6YORi1BHtJ4KIcQEEtTXUWAxpK44YVlPBdO1jCdFWTZIE8bVGEYMIRPcZGBw4HKQcoBiOE1ZMzbMgVQwU6JMAdKEEcuIJogUvg1YCCE2gsCO42DlIIVAKZwpYJaSLVNnSU6XjYHUmxhTmXaFaMO3EYkLqMC+FsLlIoVAKZzMrEnBhJeLfLNlKMrYWRIDCbOkFSSVHbHM6AKRC6/ODUewNqQ+OLlZkxpjUmV8MBbMUJSxyzY3Q1IgTRgxiBRCHdem0KDAUkBh9sRwwjEnAXMMgTnKhFlUtiwkS5rGka4g9SaGgxFmRC7AzTCEEBcyA36dDSsXqAtOLkysjGMwY5XxVChjZ0kuSCo7YlkRQsQQYtDEFsegsLoCxUp7Kpgps2UslFGzJGccSYHUmxhOZqwzEZqAbfUMCisHKIZzgsCpl3MTzMwTpi1bYp2477gyFKUxS7qWbdjY2EBS2dGE0QQRA7gNCyHEdhjE8RhUDlBT9tzgmjWZMFNlSy+Urk1OzCyJlW0XkK4YOQh1cDtcgwBrQmoDWkdgboBZE8mYsJSHlnFbJ+5bwmOPJ7lZkirbC8aRsMvmgtTHjBhGE0QbwJ2egUE1ITVlUC5OmDVdYNrKuN70xM6WoShjlW4464dbtiFIWK6x7GjESEHUUe0iYncnbMdQSE0Z1ITTNOb0hRmjjLtmS9dmJ2rp1jtuKktyyrb6YLEMCUHq2dGG0QQRQ7f72kzc+cJecerne8Wvv7JNPHPvenEkz8Sh3UtFc92QyGt9Yko/HgOLAIUZlItTz5ouMF3KuE+2jFLCQ1D6lm6fLMkBacuOJowYRBUXyfjuHjF3NhdnsfjvAfH6E9vFt9XxKgikEKgJZyyYalzOLeMu2bLbULI6bh+QGwmQ+rgRlumdGEQAao+K56bEL2woVUwOiev0r8OAUjiJrMmFCbvykGxZRAmPitK1dHM7bohyMsuyi/I8f0+e57fJYIKEZXpXo9E4mOf5XTKyLLvCBLETF8uY2SKepkC+dpX4T02Ivepr4HvZcOZ5fmee54fyPL+DmTUhzAs6n4n8bN5dr9f3YdkSg8nsxG0lPBVKVpNjG0/aGhzfLDmRZdnumZmZp8+c+cdZPV555fSr7Xb7s0jJ3i5Pcue4MxKkPPkvvXTqz/B92u32l0wYOzG1fkhcd/py8Rcbyq/vFM/KY1WA95h/3zzP71bfU6JsNpsfgj+P/FlbrdaDGExYyuXvLz8H+DudODH700ajcSM3W6Yu4alQ1spCOTd38jcKocTZbh9+9NixY99XJ8AEUkcpo9W64yH197m5k7+bnZ19QT+J09NHntQhwji/Jg58qi6++ofLxJ8gSFneVw2Ka4QQDfh1Ok4dZavVmtZ/nrm5k7/Vf55O1tRhboUw5+ZOvqyOl5+R/FyOHj32PYVU/tloNG5IXcKrhJIzngwp3fNjomazea/64BuNxts646f50lWv169utw9/DmtqdJQyZFaSJVuV6nq9fqMEof5/vV6/CYBqgJDlee+yAbF/+4i4ZWqZeNfaIfHWzn+Hx0KcEuU9+s8jv3ej0bhVlXOZydX/k0iRMeb8P0D5e6tj8zy/Xb9UJIc56h/yqVOnXul8lmuZ2bJslKmbHG7XrbpCmCXFRLvdfqQD6jTS3Jiy5I4OykM6ADV+1Eu1DmV6evopBORexzDi1L+X/HnGxsb2w3Hm9PSRJ9QxWPOTZdmlKht2hi+w6dkox5bqffI8fye3hDteGqKaHVsHXihKl0tB+h0cY+lute54AGRKDCW89LNTRynHb7ChUWVVjetOnJh9EYBUyPZeNCoOtsbFQwdXi4/esELcd+tq8cCHJ8UXp+viy9efLz7AgamjlKXc1AA1m83DoIRDlFubzeb96hhZLVTlgJ24gttutx+ONa50bHZKRenaeTs1OfpAfnr6yOOdE7EZdNwmlKocntXLNkA5JTGq47Ds+Lf94lWsyfnXleLfnIwJUN4DOnNYwuUxh2A3Ln9XULrfK8t3J27Tu3BVwiOjXJqoAy8UZej1yclGo3GTLN+gu3w+z/P3YaWbQqk3Ne12e4ZC+c8rxWsYytcPiP9RpZxCqWDKnxOiBNlyAUpOnGsoh4tA2Rm8X9xqtT6md5wyZmYe+0YRKL+1S/wYQ3n8zctBl5SBUv5djivfjMOPduIzcizeiYfr9foVvUwZG+XCuzibZKnSceZ5/v4QlKp8y7ElhnJlTeTP7BI/kllRYfzrfvHqFy4UX1vaL/aVlSmROzwbwdS29T2UcEwZF+V8ozM2lu1VY812u/15akypGh3TmFJesJbHHD167IdUxz3YJy5bNySuX1mbvy55CbMLtzU6tjGlsdFptVqfUMc0Go23F4wy1l2dSnbfvpMwVPe9WWVLDsrOJaF9MFu2Wq1PqmNkGce67xiXhTjdNwdlvV6/BgxfbPfBfVCetxi6b9/rlCup65QzM48dl2OjLMv26CibzeZ96sTIzEFdpwQXz9U1yrtVlpR/Zll2Fec65Y6l4pbbx8XHH9kknvzJlPjlHy8Tp29eKT5ou0aJoIT3w3dBlLDzVpfAJEZ1XOdaJZxnOSlvPMjPzxFljIvng914RwebsjYO7uhMyHu46sOfnf3Oz2TXDW6vvYxdFoIXz3Wc8J5zs9n8iOn2IrxTc2BM3Glqdp7dI553uaOjxrhwcob+MyuUpjs6WZZdon8OcigjPx8V+u+GTWFTSWEx3WYcdJ225jNDSE4q0GHCzlueHOyujn6bUWYgeb9ZZUaQPe+GzQ+Gc8+oOGhC+c1d4gfI16n3XDAhQ7+9qE9l01E2Go132GYKyXE1NiFDTcpoNpv3LOYJGWXNErJNW9sEp63p2RKiVPMn1bS1DgxsyhoGdGpmizj+xtXiDYnx7/vFmce3iWdW1cTVGEY4hQ2ZW0nNq8Qm/M6XbXm3S100lwGedFybuvNOibLI+ZS2ceU4eAxiEuvCkfmU8ycToDxETe6FgCBQHeqyAbFvfEhcO7BwDuXFCEbTZF840XeHK0jYcbs2OIGle0mVJ/mmnClEPQqxyTY5I8/zFhif7fSZee4bnrPOU4AssnRX
1HaVTCTd14dRDY3UbTIiSeFhsN/aMjgnqthFx880rxX3yATL5p3y4LPXzOaBkUyBjZMlYpbtQlIOBD475ZEusjMNSvkXe6VEoJVDkeZ2dzIfIFsRzU+JF2OyM9M9fTC/6SUYOyFQPjQ2nWiUjxnPfw5EeHqMWIqAeIFsAU847lJM2JM6xsewt1OIDLs99P7ZFHNdB/upS8XtPiD7PfLuCXJNolYyyFiNI/Zit65ItrOVafFbHcFohY7hPTN21Tjz4uc3iqfsnxKdX1MTl1OoYRFaMsToGB6Trw2JFP/OdZC2hJZ7ZkrMoAbbSGmelDJ91hFKuJeS7jlBMkJnrAqqJlgMUZS/dArPlGHNdSg5M3xXXtvquuEatvIYtDRhpxbUJuIgqsU5lGWtUploK0KuEU9mSW8YpmFQ556xNuYW7NiW13B+FkMiKHIy+C6eGgBxJvMR0oSv5hi6+z4HJyZoU0M2RVvDlrOQbcxVfX5AhZbuqy0v7ZstYMLHlAVlLTF9ALLbvu9Y5Zylpn/XOsd0ibIvxr2KCLHpp6SCUIdnSZSF+WzfOhem6GD+1KwR3Z4jNjrtDpNoZwmWd8yrupZN6Hx3fbMmFSe0Swdq2ZIPjxk1112Duo8OBGLrBkw/IoncdK2XHsdC9dHz204m50xh3tzFq1zFqtzHXrfCw7OgDsqyNnZLszVijsmXgrmNcmGtS78lIoMX2aJz03fKO2sDJddPQSCDPiQ1DfWBycY6XtXstc2PQKuxgG2McmXTPb9/9vmuJYXKyJrWjbeg+3xPM4O73nWqvbyw7xgZZSJbEUBa157cNJjdr2vb+5iA1YV3HxYscj30PDCEHIgcjtfm8K8hSsmRotkwFk5s1TTghUAopB6xrjHMBBkI0YYTZ0dZlxwLpkiWDULpmy5gwqayZgZNkA7oKQQCxctByYg0XIIEQQuRitGVHblMTA2ShKGPDpC6wu+DEgJqg2rDGDBtAF4Q6RAojp1xXGmSMbImVcR+YWNY04eQCtUG1ofUJ2/uvcETIgUhhdAE5GAlkKShjwHTNmhhODKgJqQ2sC14uOgyfD0IbRF+MlQaZAiZWyn2yJsTJATqGnHQO2Jhh+xlsACFCG0QbRtdyzQFZCZSxYPpmTS7Q5cjJHYNBYIkZpu99HoUQ/o4QIYSIZUZfjJ4ZMjZI32wZBDMU5yhy8pZTULl4XYP5fagMyEVoy4oupTpGduwnkloSlKEwY+AcQU4MhRTD6ovXBRwFzwWgCSEF0QVjJUGmgEllTS5OLlCIlIN1mS9mx/cZ5eLDALpCTI2RAhkTZQqYoTgpoCPECbaBHQ2ETL3PUl98ECAXYijG0OyYAmQoTG7W5ODkAF1CnVgm2JQx4okPA+gCMTbGskBGgRmaOblAh5GTORIrfKFx4VH4EIAxIXIxlg2SBbMvECY3e7oApbDaIgQu5/2HmeEKEINYiwSRi7EQkLFgumZOCuggctKGI4ULZN/vMeSLj0AYMytWEqMLzFg4fYDaoKaC6wvOFR4FkIPQFaILxrJAOsHsc/zlfYDWXE8qF22s8Pz5KHxcgEVALBtjJXBSSEOwFhk1Zgy4hitCT4hVw+gFs8/zwxqIBbUgyK7fcyA0PD9XX4iVxhiC0xdof6STWCsoBmKF7+cVCWFXQYyBMxRpf+STX1b0x45AhN0OMSrOGEirhrY/dfQAdjvS7oy+WCF6r1RIFxXWvlTRg1YVqFWBmxZbD99ig9pt0YPQw9rD1nstVri9V+/Ve3XrS/wfim4P5fIFxLoAAAAASUVORK5CYII=",Rr=function(){function t(e,n){var r=this;d(this,t),this.time=new w,void 0===n.pathPrefix&&(n.pathPrefix=""),void 0===n.app&&(n.app={loadAssets:function(){},initialize:function(){},update:function(){},render:function(){},error:function(){}}),void 0===n.webglConfig&&(n.webglConfig={alpha:!0}),this.htmlCanvas=e,this.context=new xn(e,n.webglConfig),this.renderer=new wr(e,this.context),this.gl=this.context.gl,this.assetManager=new En(this.context,n.pathPrefix),this.input=new Gn(e),n.app.loadAssets(this);var i=function t(){requestAnimationFrame(t),r.time.update(),n.app.update(r,r.time.delta),n.app.render(r)};requestAnimationFrame((function t(){r.assetManager.isLoadingComplete()?r.assetManager.hasErrors()?n.app.error(r,r.assetManager.getErrors()):(n.app.initialize(r),i()):requestAnimationFrame(t)}))}return v(t,[{key:"clear",value:function(t,e,n,r){this.gl.clearColor(t,e,n,r),this.gl.clear(this.gl.COLOR_BUFFER_BIT)}}]),t}();return e}(y||(y={})),A=n(2275),x=n(917),b=n(5944),w=["name","animation","overlayPattern","skin","x","y","width","height"];function L(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var k=function(t){var e=t.x,n=t.y,i=t.width,a=t.height;return(0,x.iv)((0,r.Z)({position:"absolute",fontSize:0,left:"".concat(e/2496*120,"vw"),top:"".concat(n/2496*120,"vw"),width:"".concat(i/2496*120,"vw"),height:"".concat(a/2496*120,"vw")},"@media (max-aspect-ratio: ".concat(2496,"/",1440,")"),{left:"".concat(e/1440*120,"vh"),top:"".concat(n/1440*120,"vh"),width:"".concat(i/1440*120,"vh"),height:"".concat(a/1440*120,"vh")}),"","")},C=function(t){var e=t.name,n=void 0===e?"JailLampLeft":e,o=t.animation,s=void 0===o?"default":o,u=t.overlayPattern,l=void 0!==u&&u,c=t.skin,h=t.x,d=t.y,f=t.width,v=t.height,p=(0,i.Z)(t,w),m=(0,A.Z)(),g=(0,a.useRef)(),x=(0,a.useRef)(),C=(0,a.useRef)(),E=(0,a.useRef)(),S=(0,a.useRef)(),M=(0,a.useRef)(),T=(0,a.useRef)(),R=(0,a.useRef)(0),P=(0,a.useRef)(),I=(0,a.useRef)(),O=(0,a.useRef)(),B="".concat(n,".atlas"),F="".concat(n,".skel"),D=(0,a.useCallback)((function(){var t=Date.now()/1e3,e=t-R.current;R.current=t,x.current.clearColor(0,0,0,0),x.current.clear(x.current.COLOR_BUFFER_BIT),C.current.bind(),O.current.update(e),O.current.apply(P.current),P.current.updateWorldTransform(),C.current.setUniformi(y.Shader.SAMPLER,0),C.current.setUniform4x4f(y.Shader.MVP_MATRIX,S.current.values),l&&T.current.assets["spine/jacket-pattern-square-v3.png"]&&(C.current.setUniformi("u_pattern_texture",1),C.current.setUniform2f("u_resolution",g.current?g.current.getBoundingClientRect().width:0,g.current?g.current.getBoundingClientRect().height:0),x.current.activeTexture(x.current.TEXTURE1),x.current.bindTexture(x.current.TEXTURE_2D,T.current.assets["spine/jacket-pattern-square-v3.png"].texture)),E.current.begin(C.current),M.current.premultipliedAlpha=!0,M.current.draw(E.current,P.current),E.current.end(),C.current.unbind(),l&&(x.current.activeTexture(x.current.TEXTURE1),x.current.bindTexture(x.current.TEXTURE_2D,null));var n=requestAnimationFrame(D);return function(){return cancelAnimationFrame(n)}}),[]),V=(0,a.useCallback)((function(){var t=new y.AtlasAttachmentLoader(T.current.require(B)),e=new y.SkeletonBinary(t).readSkeletonData(T.current.get(F));
1P.current=new y.Skeleton(e),c&&P.current.setSkinByName(c),I.current=function(){P.current.setToSetupPose(),P.current.updateWorldTransform();var t=new y.Vector2,e=new y.Vector2;return P.current.getBounds(t,e,[]),{offset:t,size:e}}();var n=new y.AnimationStateData(P.current.data);O.current=new y.AnimationState(n),O.current.setAnimation(0,s,!0)}),[B,F]);(0,a.useEffect)((function(){O.current&&O.current.setAnimation(0,s,!0)}),[s]);var Y=(0,a.useCallback)((function(){if(g.current&&P.current){var t=g.current.clientWidth,e=g.current.clientHeight;g.current.width===t&&g.current.height===e||(g.current.width=t,g.current.height=e);var n=I.current,r=n.offset.x+n.size.x/2,i=n.offset.y+n.size.y/2,a=n.size.x/g.current.width,o=n.size.y/g.current.height,s=Math.max(a,o),u=g.current.width*s,l=g.current.height*s;S.current.ortho2d(r-u/2,i-l/2,u,l),x.current.viewport(0,0,g.current.width,g.current.height)}}),[m.width,m.height]),X=(0,a.useCallback)((function(){T.current.isLoadingComplete()?(V(),Y(),R.current=Date.now()/1e3,requestAnimationFrame(D)):requestAnimationFrame(X)}),[V,D,Y]);return(0,a.useEffect)((function(){x.current=g.current.getContext("webgl")||g.current.getContext("experimental-webgl"),C.current=l?y.Shader.newTwoColoredPatternTextured(x.current):y.Shader.newTwoColoredTextured(x.current),E.current=new y.PolygonBatcher(x.current),S.current=new y.Matrix4,S.current.ortho2d(0,0,g.current.width-1,g.current.height-1),M.current=new y.SkeletonRenderer(x.current),T.current=new y.AssetManager(x.current,"spine/"),T.current.loadBinary(F),T.current.loadTextureAtlas(B),T.current.loadTexture("jacket-pattern-square-v3.png");var t=requestAnimationFrame(X);return function(){return cancelAnimationFrame(t)}}),[B,X,F]),(0,a.useEffect)((function(){Y()}),[m.width,m.height,Y]),(0,b.tZ)("canvas",function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?L(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({ref:g,css:k({x:h,y:d,width:f,height:v})},p))}},3180:function(t,e,n){"use strict";var r=n(9499),i=n(6864),a=(n(7294),n(917)),o=n(8781),s=n(1250),u=n.n(s),l=n(1602),c=n.n(l),h=n(3429),d=n.n(h),f=n(6771),v=n.n(f),p=n(5449),m=n.n(p),g=n(6125),y=n.n(g),A=n(8115),x=n.n(A),b=n(2568),w=n.n(b),L=n(5944);function k(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?k(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var E={name:"1g3wpw6",styles:"display:flex;justify-content:center;align-items:center;position:relative;z-index:2;padding:0.5rem 0.65rem;a{}"},S=(0,a.iv)({width:"1.6rem",height:"1.6rem",marginRight:0,"&:not(:last-of-type)":{marginRight:"0.5rem"},svg:{width:"100%",height:"100%",fill:o.Z.black},span:{display:"none"},"&:hover":{svg:{fill:o.Z.white,filter:"drop-shadow(0 0 1px #000000) drop-shadow(0 0 1px #000000) drop-shadow(0 0 1px #000000)"}}},"",""),M={name:"1ecsbao",styles:"width:1.4rem;height:1.4rem;margin-top:-0.1rem"},T={name:"8itkpz",styles:"width:1.7rem;height:1.7rem"},R={name:"1pqye8q",styles:"width:1.6rem;height:1.6rem;align-self:flex-start"},P={name:"8itkpz",styles:"width:1.7rem;height:1.7rem"},I=(0,a.iv)({width:"1.6rem",height:"1.6rem",svg:{stroke:o.Z.black},"&:hover":{svg:{stroke:o.Z.white}}},"",""),O={name:"yjqlrq",styles:"margin-top:-0.1rem"},B={name:"11v5qdi",styles:"width:1.5rem;height:1.5rem"};o.Z.black;e.Z=function(t){var e=(0,i.Z)({},t);return(0,L.BX)("div",C(C({css:E},e),{},{children:[(0,L.BX)("a",{href:"https://www.xbox.com/games/store/return-to-monkey-island/9pc4r8n1n2t6",target:"_blank",rel:"noreferrer",css:[S,M,"",""],children:[(0,L.tZ)(d(),{}),(0,L.tZ)("span",{children:"Xbox Series X|S"})]}),(0,L.BX)("a",{href:"https://store.playstation.com/concept/10006133",target:"_blank",rel:"noreferrer",css:[S,T,"",""],children:[(0,L.tZ)(v(),{}),(0,L.tZ)("span",{children:"PlayStation 5"})]}),(0,L.BX)("a",{href:"https://www.nintendo.com/store/products/return-to-monkey-island-switch/",target:"_blank",rel:"noreferrer",css:[S,P,"",""],children:[(0,L.tZ)(u(),{}),(0,L.tZ)("span",{children:"Nintendo Switch"})]}),(0,L.BX)("a",{href:"https://store.steampowered.com/app/2060130",target:"_blank",rel:"noreferrer",css:[S,R,"",""],children:[(0,L.tZ)(c(),{}),(0,L.tZ)("span",{children:"Steam"})]}),(0,L.BX)("a",{href:"https://www.gog.com/game/return_to_monkey_island",target:"_blank",rel:"noreferrer",css:[S,"",""],children:[(0,L.tZ)(m(),{}),(0,L.tZ)("span",{children:"GOG"})]}),(0,L.BX)("a",{href:"https://store.epicgames.com/p/return-to-monkey-island-f4af79",target:"_blank",rel:"noreferrer",css:[S,I,"",""],children:[(0,L.tZ)(w(),{className:"color-stroke"}),(0,L.tZ)("span",{children:"EGS"})]}),(0,L.BX)("a",{href:"https://apps.apple.com/app/return-to-monkey-island/id1658628321",target:"_blank",rel:"noreferrer",css:[S,O,"",""],children:[(0,L.tZ)(y(),{}),(0,L.tZ)("span",{children:"iOS"})]}),(0,L.BX)("a",{href:"https://play.google.com/store/apps/details?id=com.devolverdigital.com.rtmi",target:"_blank",rel:"noreferrer",css:[S,B,"",""],children:[(0,L.tZ)(x(),{}),(0,L.tZ)("span",{children:"Google Play"})]})]}))}},3132:function(t,e,n){"use strict";var r=n(9499),i=n(4730),a=(n(7294),n(917)),o=n(1664),s=n(8781),u=n(8524),l=n(5944),c=["href","children"],h=["onClick"];function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?d(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var v=function(t){var e=t.href,n=void 0===e?"/":e,r=t.children,a=(0,i.Z)(t,c);return(0,l.tZ)(o.default,{href:n,children:(0,l.BX)("a",f(f({},a),{},{children:[(0,l.tZ)("span",{className:"text-bg",children:r}),(0,l.tZ)("span",{className:"text-fg",children:r})]}))})},p=(0,a.iv)({display:"flex",alignItems:"center",position:"relative",a:(0,r.Z)({margin:"0 0.35rem",textDecoration:"none",display:"flex",lineHeight:1,"&:hover":{color:s.Z.white}},u.Z.TabletPortrait,{color:s.Z.blue,textShadow:"-3px 3px 0px #00000088",padding:"0.65rem 0",margin:0,"&.cta":{color:s.Z.white}})},"","");e.Z=function(t){var e=t.onClick,n=(0,i.Z)(t,h);return(0,l.BX)("div",f(f({css:p},n),{},{children:[(0,l.tZ)(v,{href:"/screenshots",onClick:e,children:"Screenshots"}),(0,l.tZ)(v,{href:"/trailer",onClick:e,children:"Trailer"}),(0,l.tZ)(v,{href:"/game-overview",onClick:e,children:"Overview"}),(0,l.tZ)(v,{href:"/the-story-so-far",onClick:e,children:"Scrapbook"}),(0,l.tZ)(v,{href:"https://merch.devolverdigital.com/collections/return-to-monkey-island",onClick:e,children:"Merch"})]}))}},8524:function(t,e){"use strict";e.Z={Phone:"@media (max-width:576px) and (orientation: portrait), (max-height:576px) and (orientation: landscape)",PhonePortrait:"@media (max-width:576px) and (orientation: portrait)",PhoneLandscape:"@media (max-height:576px) and (orientation: landscape)",Tablet:"@media (max-height:1024px) and (orientation: portrait), (max-height:768px) and (orientation: landscape)",TabletPortrait:"@media (max-width:1024px) and (orientation: portrait)",TabletLandscape:"@media (max-height:768px) and (orientation: landscape)",Desktop:"@media (min-width:1025px)",SmallDesktop:"@media (min-width:1025px) and ()",LargeDesktop:"@media (min-width:2000px)",Landscape:"@media (orientation: landscape)",Portrait:"@media (orientation: portrait)"}},8781:function(t,e){"use strict";e.Z={white:"#efefef",black:"#000000",gray:"#82817f",blue:"#19aaff",purple:"#8242d4",green:"#48d595",green_shade:"#2f835c",otis:"#ce7a1d",stan:"#dd38dd",dialogue:"#fed410"}},2275:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(7294);function i(){function t(){return{width:window.innerWidth,height:window.innerHeight,isPhone:window.innerWidth<=640&&window.innerWidth<window.innerHeight||window.innerHeight<=640&&window.innerHeight<window.innerWidth,isTablet:window.innerWidth>=768&&window.innerWidth<=1024,isLandscape:window.innerHeight<window.innerWidth}}var e=(0,r.useState)(t),n=e[0],i=e[1];return(0,r.useEffect)((function(){function e(){i(t())}return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),n}},8566:function(t,e,n){"use strict";var r=n(930),i=n(5696),a=n(7980);e.default=function(t){var e,n=t.src,o=t.sizes,d=t.unoptimized,g=void 0!==d&&d,w=t.priority,L=void 0!==w&&w,k=t.loading,C=t.lazyRoot,E=void 0===C?null:C,S=t.lazyBoundary,M=void 0===S?"200px":S,T=t.className,R=t.quality,P=t.width,I=t.height,O=t.objectFit,B=t.objectPosition,F=t.onLoadingComplete,D=t.loader,V=void 0===D?b:D,Y=t.placeholder,X=void 0===Y?"empty":Y,U=t.blurDataURL,j=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","objectFit","objectPosition","onLoadingComplete","loader","placeholder","blurDataURL"]),Z=s.useRef(null),N=s.useContext(h.ImageConfigContext),z=s.useMemo((function(){var t=v||N||l.imageConfigDefault,e=[].concat(a(t.deviceSizes),a(t.imageSizes)).sort((function(t,e){return t-e})),n=t.deviceSizes.sort((function(t,e){return t-e}));return f({},t,{allSizes:e,deviceSizes:n})}),[N]),_=j,W=o?"responsive":"intrinsic";"layout"in _&&(_.layout&&(W=_.layout),delete _.layout);var G="";if(function(t){return"object"===typeof t&&(y(t)||function(t){return void 0!==t.src}(t))}(n)){var H=y(n)?n.default:n;if(!H.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(H)));if(U=U||H.blurDataURL,G=H.src,(!W||"fill"!==W)&&(I=I||H.height,P=P||H.width,!H.height||!H.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(H)))}n="string"===typeof n?n:G;var q=x(P),J=x(I),K=x(R),Q=!L&&("lazy"===k||"undefined"===typeof k);(n.startsWith("data:")||n.startsWith("blob:"))&&(g=!0,Q=!1);p.has(n)&&(Q=!1);0;var $,tt=c.useIntersection({rootRef:E,rootMargin:M,disabled:!Q}),et=i(tt,2),nt=et[0],rt=et[1],it=!Q||rt,at={boxSizing:"border-box",display:"block",overflow:"hidden",
1width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ot={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},st=!1,ut={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:O,objectPosition:B},lt="blur"===X?{filter:"blur(20px)",backgroundSize:O||"cover",backgroundImage:'url("'.concat(U,'")'),backgroundPosition:B||"0% 0%"}:{};if("fill"===W)at.display="block",at.position="absolute",at.top=0,at.left=0,at.bottom=0,at.right=0;else if("undefined"!==typeof q&&"undefined"!==typeof J){var ct=J/q,ht=isNaN(ct)?"100%":"".concat(100*ct,"%");"responsive"===W?(at.display="block",at.position="relative",st=!0,ot.paddingTop=ht):"intrinsic"===W?(at.display="inline-block",at.position="relative",at.maxWidth="100%",st=!0,ot.maxWidth="100%",$="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(q,"%27%20height=%27").concat(J,"%27/%3e")):"fixed"===W&&(at.display="inline-block",at.position="relative",at.width=q,at.height=J)}else 0;var dt={src:m,srcSet:void 0,sizes:void 0};it&&(dt=A({config:z,src:n,unoptimized:g,layout:W,width:q,quality:K,sizes:o,loader:V}));var ft=n;0;0;var vt=(r(e={},"imagesrcset",dt.srcSet),r(e,"imagesizes",dt.sizes),e),pt=s.default.useLayoutEffect,mt=s.useRef(F);return s.useEffect((function(){mt.current=F}),[F]),pt((function(){nt(Z.current)}),[nt]),s.useEffect((function(){!function(t,e,n,r,i){var a=function(){var n=t.current;n&&(n.src!==m&&("decode"in n?n.decode():Promise.resolve()).catch((function(){})).then((function(){if(t.current&&(p.add(e),"blur"===r&&(n.style.filter="",n.style.backgroundSize="",n.style.backgroundImage="",n.style.backgroundPosition=""),i.current)){var a=n.naturalWidth,o=n.naturalHeight;i.current({naturalWidth:a,naturalHeight:o})}})))};t.current&&(t.current.complete?a():t.current.onload=a)}(Z,ft,0,X,mt)}),[ft,W,X,it]),s.default.createElement("span",{style:at},st?s.default.createElement("span",{style:ot},$?s.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:$}):null):null,s.default.createElement("img",Object.assign({},_,dt,{decoding:"async","data-nimg":W,className:T,ref:Z,style:f({},ut,lt)})),Q&&s.default.createElement("noscript",null,s.default.createElement("img",Object.assign({},_,A({config:z,src:n,unoptimized:g,layout:W,width:q,quality:K,sizes:o,loader:V}),{decoding:"async","data-nimg":W,style:ut,className:T,loading:k||"lazy"}))),L?s.default.createElement(u.default,null,s.default.createElement("link",Object.assign({key:"__nimg-"+dt.src+dt.srcSet+dt.sizes,rel:"preload",as:"image",href:dt.srcSet?void 0:dt.src},vt))):null)};var o,s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n(7294)),u=(o=n(2717))&&o.__esModule?o:{default:o},l=n(5809),c=n(639),h=n(9239);function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){d(t,e,n[e])}))}return t}var v={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default"},p=new Set,m=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var g=new Map([["default",function(t){var e=t.config,n=t.src,r=t.width,i=t.quality;0;if(n.endsWith(".svg")&&!e.dangerouslyAllowSVG)return n;return"".concat(e.path,"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(i||75)}
1],["imgix",function(t){var e=t.config,n=t.src,r=t.width,i=t.quality,a=new URL("".concat(e.path).concat(w(n))),o=a.searchParams;o.set("auto",o.get("auto")||"format"),o.set("fit",o.get("fit")||"max"),o.set("w",o.get("w")||r.toString()),i&&o.set("q",i.toString());return a.href}],["cloudinary",function(t){var e=t.config,n=t.src,r=t.width,i=t.quality,a=["f_auto","c_limit","w_"+r,"q_"+(i||"auto")].join(",")+"/";return"".concat(e.path).concat(a).concat(w(n))}],["akamai",function(t){var e=t.config,n=t.src,r=t.width;return"".concat(e.path).concat(w(n),"?imwidth=").concat(r)}],["custom",function(t){var e=t.src;throw new Error('Image with src "'.concat(e,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function y(t){return void 0!==t.default}function A(t){var e=t.config,n=t.src,r=t.unoptimized,i=t.layout,o=t.width,s=t.quality,u=t.sizes,l=t.loader;if(r)return{src:n,srcSet:void 0,sizes:void 0};var c=function(t,e,n,r){var i=t.deviceSizes,o=t.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var s,u=/(^|\s)(1?\d?\d)vw/g,l=[];s=u.exec(r);s)l.push(parseInt(s[2]));if(l.length){var c=.01*Math.min.apply(Math,l);return{widths:o.filter((function(t){return t>=i[0]*c})),kind:"w"}}return{widths:o,kind:"w"}}return"number"!==typeof e||"fill"===n||"responsive"===n?{widths:i,kind:"w"}:{widths:a(new Set([e,2*e].map((function(t){return o.find((function(e){return e>=t}))||o[o.length-1]})))),kind:"x"}}(e,o,i,u),h=c.widths,d=c.kind,f=h.length-1;return{sizes:u||"w"!==d?u:"100vw",srcSet:h.map((function(t,r){return"".concat(l({config:e,src:n,quality:s,width:t})," ").concat("w"===d?t:r+1).concat(d)})).join(", "),src:l({config:e,src:n,quality:s,width:h[f]})}}function x(t){return"number"===typeof t?t:"string"===typeof t?parseInt(t,10):void 0}function b(t){var e,n=(null===(e=t.config)||void 0===e?void 0:e.loader)||"default",r=g.get(n);if(r)return r(t);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(l.VALID_LOADERS.join(", "),". Received: ").concat(n))}function w(t){return"/"===t[0]?t.slice(1):t}},7942:function(t,e,n){"use strict";var r=n(5696);e.default=void 0;var i,a=(i=n(7294))&&i.__esModule?i:{default:i},o=n(4957),s=n(9898),u=n(639);var l={};function c(t,e,n,r){if(t&&o.isLocalURL(e)){t.prefetch(e,n,r).catch((function(t){0}));var i=r&&"undefined"!==typeof r.locale?r.locale:t&&t.locale;l[e+"%"+n+(i?"%"+i:"")]=!0}}var h=function(t){var e,n=!1!==t.prefetch,i=s.useRouter(),h=a.default.useMemo((function(){var e=o.resolveHref(i,t.href,!0),n=r(e,2),a=n[0],s=n[1];return{href:a,as:t.as?o.resolveHref(i,t.as):s||a}}),[i,t.href,t.as]),d=h.href,f=h.as,v=t.children,p=t.replace,m=t.shallow,g=t.scroll,y=t.locale;"string"===typeof v&&(v=a.default.createElement("a",null,v));var A=(e=a.default.Children.only(v))&&"object"===typeof e&&e.ref,x=u.useIntersection({rootMargin:"200px"}),b=r(x,2),w=b[0],L=b[1],k=a.default.useCallback((function(t){w(t),A&&("function"===typeof A?A(t):"object"===typeof A&&(A.current=t))}),[A,w]);a.default.useEffect((function(){var t=L&&n&&o.isLocalURL(d),e="undefined"!==typeof y?y:i&&i.locale,r=l[d+"%"+f+(e?"%"+e:"")];t&&!r&&c(i,d,f,{locale:e})}),[f,d,L,y,n,i]);var C={ref:k,onClick:function(t){e.props&&"function"===typeof e.props.onClick&&e.props.onClick(t),t.defaultPrevented||function(t,e,n,r,i,a,s,u){("A"!==t.currentTarget.nodeName.toUpperCase()||!function(t){var e=t.currentTarget.target;return e&&"_self"!==e||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)&&o.isLocalURL(n))&&(t.preventDefault(),e[i?"replace":"push"](n,r,{shallow:a,locale:u,scroll:s}))}(t,i,d,f,p,m,g,y)},onMouseEnter:function(t){e.props&&"function"===typeof e.props.onMouseEnter&&e.props.onMouseEnter(t),o.isLocalURL(d)&&c(i,d,f,{priority:!0})}};if(t.passHref||"a"===e.type&&!("href"in e.props)){var E="undefined"!==typeof y?y:i&&i.locale,S=i&&i.isLocaleDomain&&o.getDomainLocale(f,E,i&&i.locales,i&&i.domainLocales);C.href=S||o.addBasePath(o.addLocale(f,E,i&&i.defaultLocale))}return a.default.cloneElement(e,C)};e.default=h},639:function(t,e,n){"use strict";var r=n(5696);
1Object.defineProperty(e,"__esModule",{value:!0}),e.useIntersection=function(t){var e=t.rootRef,n=t.rootMargin,l=t.disabled||!o,c=i.useRef(),h=i.useState(!1),d=r(h,2),f=d[0],v=d[1],p=i.useState(e?e.current:null),m=r(p,2),g=m[0],y=m[1],A=i.useCallback((function(t){c.current&&(c.current(),c.current=void 0),l||f||t&&t.tagName&&(c.current=function(t,e,n){var r=function(t){var e,n={root:t.root||null,margin:t.rootMargin||""},r=u.find((function(t){return t.root===n.root&&t.margin===n.margin}));r?e=s.get(r):(e=s.get(n),u.push(n));if(e)return e;var i=new Map,a=new IntersectionObserver((function(t){t.forEach((function(t){var e=i.get(t.target),n=t.isIntersecting||t.intersectionRatio>0;e&&n&&e(n)}))}),t);return s.set(n,e={id:n,observer:a,elements:i}),e}(n),i=r.id,a=r.observer,o=r.elements;return o.set(t,e),a.observe(t),function(){if(o.delete(t),a.unobserve(t),0===o.size){a.disconnect(),s.delete(i);var e=u.findIndex((function(t){return t.root===i.root&&t.margin===i.margin}));e>-1&&u.splice(e,1)}}}(t,(function(t){return t&&v(t)}),{root:g,rootMargin:n}))}),[l,g,n,f]);return i.useEffect((function(){if(!o&&!f){var t=a.requestIdleCallback((function(){return v(!0)}));return function(){return a.cancelIdleCallback(t)}}}),[f]),i.useEffect((function(){e&&y(e.current)}),[e]),[A,f]};var i=n(7294),a=n(6286),o="undefined"!==typeof IntersectionObserver;var s=new Map,u=[]},8e3:function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.AmpStateContext=void 0;var i=((r=n(7294))&&r.__esModule?r:{default:r}).default.createContext({});e.AmpStateContext=i},5646:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isInAmpMode=o,e.useAmp=function(){return o(i.default.useContext(a.AmpStateContext))};var r,i=(r=n(7294))&&r.__esModule?r:{default:r},a=n(8e3);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.ampFirst,n=void 0!==e&&e,r=t.hybrid,i=void 0!==r&&r,a=t.hasQuery,o=void 0!==a&&a;return n||i&&o}},3579:function(t,e,n){"use strict";var r=n(930);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}e.default=function(t,e){var n=o.default,r={loading:function(t){t.error,t.isLoading;return t.pastDelay,null}};t instanceof Promise?r.loader=function(){return t}:"function"===typeof t?r.loader=t:"object"===typeof t&&(r=a(a({},r),t));var i=r=a(a({},r),e);if(i.suspense)throw new Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");if(i.suspense)return n(i);r.loadableGenerated&&delete(r=a(a({},r),r.loadableGenerated)).loadableGenerated;if("boolean"===typeof r.ssr){if(!r.ssr)return delete r.ssr,u(n,r);delete r.ssr}return n(r)};s(n(7294));var o=s(n(3668));function s(t){return t&&t.__esModule?t:{default:t}}function u(t,e){return delete e.webpack,delete e.modules,t(e)}},2717:function(t,e,n){"use strict";var r=n(930);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}Object.defineProperty(e,"__esModule",{value:!0}),e.defaultHead=h,e.default=void 0;var a,o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n(7294)),s=(a=n(1585))&&a.__esModule?a:{default:a},u=n(8e3),l=n(5850),c=n(5646);function h(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=[o.default.createElement("meta",{charSet:"utf-8"})];return t||e.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),e}function d(t,e){return"string"===typeof e||"number"===typeof e?t:e.type===o.default.Fragment?t.concat(o.default.Children.toArray(e.props.children).reduce((function(t,e){return"string"===typeof e||"number"===typeof e?t:t.concat(e)}),[])):t.concat(e)}var f=["name","httpEquiv","charSet","itemProp"];function v(t,e){return t.reduce((function(t,e){var n=o.default.Children.toArray(e.props.children);return t.concat(n)}),[]).reduce(d,[]).reverse().concat(h(e.inAmpMode)).filter(function(){var t=new Set,e=new Set,n=new Set,r={};return function(i){var a=!0,o=!1;if(i.key&&"number"!==typeof i.key&&i.key.indexOf("$")>0){o=!0;var s=i.key.slice(i.key.indexOf("$")+1);t.has(s)?a=!1:t.add(s)}switch(i.type){case"title":case"base":e.has(i.type)?a=!1:e.add(i.type);break;case"meta":for(var u=0,l=f.length;u<l;u++){var c=f[u];
1if(i.props.hasOwnProperty(c))if("charSet"===c)n.has(c)?a=!1:n.add(c);else{var h=i.props[c],d=r[c]||new Set;"name"===c&&o||!d.has(h)?(d.add(h),r[c]=d):a=!1}}}return a}}()).reverse().map((function(t,n){var a=t.key||n;if(!e.inAmpMode&&"link"===t.type&&t.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some((function(e){return t.props.href.startsWith(e)}))){var s=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t.props||{});return s["data-href"]=s.href,s.href=void 0,s["data-optimized-fonts"]=!0,o.default.cloneElement(t,s)}return o.default.cloneElement(t,{key:a})}))}var p=function(t){var e=t.children,n=o.useContext(u.AmpStateContext),r=o.useContext(l.HeadManagerContext);return o.default.createElement(s.default,{reduceComponentsToState:v,headManager:r,inAmpMode:c.isInAmpMode(n)},e)};e.default=p},3982:function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.LoadableContext=void 0;var i=((r=n(7294))&&r.__esModule?r:{default:r}).default.createContext(null);e.LoadableContext=i},3668:function(t,e,n){"use strict";var r=n(3227),i=n(8361),a=n(930);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"===typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c,h=(c=n(7294))&&c.__esModule?c:{default:c},d=n(7161),f=n(3982);var v=[],p=[],m=!1;function g(t){var e=t(),n={loading:!0,loaded:null,error:null};return n.promise=e.then((function(t){return n.loading=!1,n.loaded=t,t})).catch((function(t){throw n.loading=!1,n.error=t,t})),n}var y=function(){function t(e,n){r(this,t),this._loadFn=e,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return i(t,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var t=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var e=this._res,n=this._opts;e.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){t._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){t._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){t._update({}),t._clearTimeouts()})).catch((function(e){t._update({}),t._clearTimeouts()})),this._update({})}},{key:"_update",value:function(t){this._state=s(s({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},t),this._callbacks.forEach((function(t){return t()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(t){var e=this;return this._callbacks.add(t),function(){e._callbacks.delete(t)}}}]),t}();function A(t){return function(t,e){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},e);n.suspense&&(n.lazy=h.default.lazy(n.loader));var r=null;function i(){if(!r){var e=new y(t,n);r={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return r.promise()}if(!m&&!n.suspense){var a=n.webpack?n.webpack():n.modules;a&&p.push((function(t){var e,n=u(a);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(-1!==t.indexOf(r))return i()}}catch(o){n.e(o)}finally{n.f()}}))}var o=n.suspense?function(t,e){return h.default.createElement(n.lazy,s(s({},t),{},{ref:e}))}:function(t,e){i();
1var a=h.default.useContext(f.LoadableContext),o=d.useSubscription(r);return h.default.useImperativeHandle(e,(function(){return{retry:r.retry}}),[]),a&&Array.isArray(n.modules)&&n.modules.forEach((function(t){a(t)})),h.default.useMemo((function(){return o.loading||o.error?h.default.createElement(n.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:r.retry}):o.loaded?h.default.createElement(function(t){return t&&t.__esModule?t.default:t}(o.loaded),t):null}),[t,o])};return o.preload=function(){return!n.suspense&&i()},o.displayName="LoadableComponent",h.default.forwardRef(o)}(g,t)}function x(t,e){for(var n=[];t.length;){var r=t.pop();n.push(r(e))}return Promise.all(n).then((function(){if(t.length)return x(t,e)}))}A.preloadAll=function(){return new Promise((function(t,e){x(v).then(t,e)}))},A.preloadReady=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(e){var n=function(){return m=!0,e()};x(p,t).then(n,n)}))},window.__NEXT_PRELOADREADY=A.preloadReady;var b=A;e.default=b},1585:function(t,e,n){"use strict";var r=n(7980),i=n(3227),a=n(8361),o=(n(2191),n(5971)),s=n(2715),u=n(1193);function l(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n(7294));var h=function(t){o(n,t);var e=l(n);function n(t){var a;return i(this,n),(a=e.call(this,t)).emitChange=function(){a._hasHeadManager&&a.props.headManager.updateHead(a.props.reduceComponentsToState(r(a.props.headManager.mountedInstances),a.props))},a._hasHeadManager=a.props.headManager&&a.props.headManager.mountedInstances,a}return a(n,[{key:"componentDidMount",value:function(){this._hasHeadManager&&this.props.headManager.mountedInstances.add(this),this.emitChange()}},{key:"componentDidUpdate",value:function(){this.emitChange()}},{key:"componentWillUnmount",value:function(){this._hasHeadManager&&this.props.headManager.mountedInstances.delete(this),this.emitChange()}},{key:"render",value:function(){return null}}]),n}(c.Component);e.default=h},2410:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return Me}});var r=n(9499),i=n(7294),a=n(917),o=n(655),s=n(6014),u=n(1492),l=n(6681);function c(t){var e=t.children,n=t.isValidProp,r=(0,o._T)(t,["children","isValidProp"]);n&&(0,u.K)(n),(r=(0,o.pi)((0,o.pi)({},(0,i.useContext)(s._)),r)).isStatic=(0,l.h)((function(){return r.isStatic}));var a=(0,i.useMemo)((function(){return r}),[JSON.stringify(r.transition),r.transformPagePoint]);return i.createElement(s._.Provider,{value:a},e)}var h=n(1190),d=n(6864),f=n(5675),v=n(8781),p=n(6296),m=n.n(p),g={src:"/_next/static/media/lflg-logo.b006dff9.png",height:963,width:2890,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAFVBMVEX///////////////////////////9nSIHRAAAAB3RSTlOASWRvmFaRYjvdngAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAB9JREFUeJwVwYcNAAAIw7B0wP8nI2wcXgjb0sWjsaQDApQANr1qYkUAAAAASUVORK5CYII="},y={src:"/_next/static/media/tt-logo-v2.380e7a55.png",height:810,width:2977,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAD1BMVEX6+vr6+vr39/f5+fn///8TAZ5dAAAABXRSTlM9X1UWes6LpNwAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAZSURBVHicBcEBAQAACIMw4PbP7AYSCdzS9gCnABeIUGsTAAAAAElFTkSuQmCC"},A=n(5944);function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?x(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w,L={name:"1kghokd",styles:"display:flex;align-items:center;overflow:hidden"},k=(0,a.iv)({margin:"0 0.75rem",display:"flex",svg:{position:"relative",height:"1.6rem",fill:v.Z.white,opacity:.5,"&.tt":{}}},"",""),C={name:"boprxz",styles:"width:6rem;opacity:0.5"},E={name:"yyb0er",styles:"width:5rem;opacity:0.5"},S=function(t){var e=(0,d.Z)({},t);return(0,A.BX)("footer",b(b({css:L},e),{},{children:[(0,A.tZ)("div",{css:[k,C,"",""],children:(0,A.tZ)(f.default,{src:y,className:"tt"})}),(0,A.tZ)("div",{css:k,children:(0,A.tZ)(m(),{})}),(0,A.tZ)("div",{css:[k,E,"",""],children:(0,A.tZ)(f.default,{src:g})})]}))},M=n(4498),T=n(5152),R=n(8524),P={src:"/_next/static/media/inventory-v2.940bb3ff.png",height:117,width:95,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAS1BMVEWnp7JMaXEBARIAAACYmKj///9FRVEAAAKzs74FBSurq7eGhpK7u8ZkZHuGhoedoKoAAAAjIzOvrbVmZmpcXG+Xl6bMzNKfn6zS0tT1NG7KAAAAGHRSTlObAF4PJAFzV6NnThR+i7pRQ2zA14WqrIV5lIZSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAOElEQVR4nAXBBwLAIAgAsVNRwNGlHf9/aROC1D1lUvk2zRzzQgLVtNDg9Lg6qEc1bPi4DXl5evsBLEwBs7mNOFYAAAAASUVORK5CYII="};var I=(0,a.iv)((w={position:"relative",width:"3rem",height:"3rem",flexShrink:0,zIndex:110,display:"none",top:"0.5rem"},(0,r.Z)(w,R.Z.TabletPortrait,{display:"block"}),(0,r.Z)(w,"div",{position:"absolute",width:"100%",height:"100%"}),w),"",""),O={name:"1hrzvid",styles:"svg{filter:drop-shadow(-3px 3px 0px #00000088);transition-duration:0.1s;}"},B={name:"bhysm7",styles:"position:relative;top:-1rem"},F=function(t){var e=t.isOpen,n=t.onClick;return(0,A.tZ)("a",{css:I,onClick:n,children:(0,A.BX)("div",{css:O,children:[(0,A.tZ)(M.E.div,{css:B,animate:{opacity:e?0:1,scale:e?2:1},children:(0,A.tZ)(f.default,{src:P})}),(0,A.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 92 80",children:(0,A.tZ)(M.E.path,{d:"M23,60L68,15m0,45L23,15",fillRule:"evenodd",animate:{fill:"none",stroke:e?v.Z.white:v.Z.gray,strokeWidth:10,opacity:e?1:0}})})]})})},D=n(3132),V=n(3180);function Y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function X(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Y(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var U=(0,a.iv)((0,r.Z)({bottom:"1rem",left:"1rem",height:"75px",width:"150px",backgroundColor:"white",display:"flex",marginRight:"auto",flexShrink:0,".image":{backgroundImage:"url(/svgs/e-10.svg)",width:"50px",height:"100%",backgroundRepeat:"no-repeat",backgroundSize:"contain",flexShrink:0},".text":{padding:"5px 2px 5px 5px",fontSize:"10px",lineHeight:"12px",border:"2px solid black",borderLeft:"none",margin:"1px 1px 1px -1px",fontFamily:"Arial, sans-serif",fontWeight:600,textAlign:"left",display:"flex",alignItems:"center",color:"black",textShadow:"none",textTransform:"none",width:"100%"}},R.Z.Mobile,{height:"58px",width:"132px",bottom:"0.5rem",right:"0.5rem",".image":{width:"39px"}}),"",""),j=function(t){var e=(0,d.Z)({},t);return(0,A.BX)("div",X(X({css:U},e),{},{children:[(0,A.tZ)("div",{className:"image"}),(0,A.BX)("div",{className:"text",children:["Fantasy Violence,",(0,A.tZ)("br",{}),"Alcohol Reference,",(0,A.tZ)("br",{}),"Mild Language"]})]}))};var Z,N=(0,a.iv)({position:"fixed",top:"0rem",padding:"1rem",paddingTop:"calc(0rem + ".concat(138/233*15,"rem)"),left:0,width:"calc(100% - 1rem)",height:"calc(100% - 0rem)",backgroundColor:"#1d1c1a",display:"flex",flexDirection:"column"},"",""),z={name:"5znpn6",styles:"border:5px dashed #29241e;width:100%;min-height:100%;display:flex;flex-direction:column"},_=(0,a.iv)({display:"flex",alignItems:"center",justifyContent:"space-around",padding:"0.5rem 0",borderBottom:"5px dashed #29241e",a:{display:"flex",alignItems:"center",justifyContent:"space-around",width:"2rem",height:"2rem","&:not(:last-of-type)":{marginRight:0},svg:{fill:v.Z.white,width:"1.8rem",height:"1.8rem","&.color-stroke":{stroke:v.Z.white}},span:{display:"none"}}},"",""),W={name:"actz98",styles:"flex-direction:column;margin-left:initial;display:flex;align-items:stretch;a{font-size:1.2rem;padding-left:1rem;border-bottom:5px dashed #29241e;margin-right:initial;&:hover{color:#000;}&.is-active{color:#000;}.text-fg{display:none;}}.divider{display:none;}"},G={name:"ohjnqd",styles:"position:relative;height:100%;width:calc(100% - 1rem);justify-content:flex-end;margin-left:0.5rem;flex-direction:column;align-items:flex-start;div{margin-left:0rem;margin-bottom:0.5rem;svg{height:2rem;filter:drop-shadow(-3px 3px 0px #00000088);&.tt{height:2.4rem;}}}"},H={name:"ym3n30",styles:"position:relative;
1left:0.5rem;bottom:0.5rem;margin-top:0.5rem"},q=function(t){var e=t.isOpen,n=t.onItemClick;return(0,A.tZ)(M.E.div,{css:N,initial:{x:"-100%"},animate:{x:e?"0%":"-100%",transition:{ease:[.7,0,.84,0]}},children:(0,A.BX)("div",{css:z,children:[(0,A.tZ)(V.Z,{css:_}),(0,A.tZ)(D.Z,{css:W,onClick:n}),(0,A.tZ)(S,{css:G}),(0,A.tZ)(j,{css:H})]})})},J=n(2275),K=n(8178),Q={src:"/_next/static/media/logo-v2.736cbfa8.png",height:929,width:1654,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAPFBMVEUKP1gfRH0wUp4IXoqRlrMOUXgaR3cnLnEZPG0bRnsQZJyEiaGvor43ecWnpbgNZZUNQWJKPGwtUpQrRIRrdD/fAAAAFHRSTlMNs5504hqLLZapjpxj4+F0Ylk+twrVRDwAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAqSURBVHicBcGHAQAgCMCwqiC41/+/mmB9irRjxFFCcb+k+nznkEEXoPYBE48A9oCA04UAAAAASUVORK5CYII="},$=(0,T.default)((function(){return n.e(638).then(n.bind(n,3638))}),{ssr:!1,loadableGenerated:{webpack:function(){return[3638]}}}),tt=(0,a.iv)((0,r.Z)({display:"flex",top:"1rem",left:"3rem",width:"100%",padding:"0 2rem 0 0"},R.Z.TabletPortrait,{top:"0rem",left:0,padding:"0 1rem",width:"100%",alignItems:"center"}),"",""),et=(0,a.iv)((Z={position:"relative",top:"0.5rem",width:"18rem",pointerEvents:"none",zIndex:15,transformOrigin:" 0% 0%"},(0,r.Z)(Z,R.Z.LargeDesktop,{width:"20rem"}),(0,r.Z)(Z,R.Z.TabletPortrait,{width:"15rem",top:"1rem",padding:"0 0rem 0 0",margin:"0 auto"}),(0,r.Z)(Z,R.Z.PhoneLandscape,{width:"12rem"}),Z),"",""),nt=function(){var t=(0,J.Z)(),e=(0,i.useState)(!1),n=e[0],r=e[1],a=(0,K.o)((function(t){return t.isLoaded})),o=(0,i.useMemo)((function(){return t.width<=1024&&t.height>t.width}),[t.height,t.width]);return(0,A.BX)(A.HY,{children:[(0,A.BX)("header",{css:tt,children:[(0,A.tZ)(M.E.div,{initial:{opacity:0}
1,animate:{opacity:a?1:0,transition:{delay:2,duration:.5}},children:(0,A.tZ)(F,{isOpen:n,onClick:function(){return r((function(t){return!t}))}})}),(0,A.tZ)(M.E.div,{css:et,initial:{scale:o?1.3:1.5,x:o?"-4rem":"10%",y:o?"2rem":"10%"},animate:{scale:a||o?1:1.5,x:a||o?"0%":"10%",y:a||o?"0%":"10%",transition:{delay:2,duration:1}},children:(0,A.tZ)(f.default,{src:Q,priority:!0})}),(0,A.tZ)($,{})]}),(0,A.tZ)(q,{isOpen:n,onItemClick:function(){return r(!1)}})]})},rt=n(4730),it=["x","y","width","height","src","quality","children"];function at(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?at(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var st=function(t){var e=t.x,n=t.y,i=t.width,o=t.height;return(0,a.iv)((0,r.Z)({position:"absolute",fontSize:0,left:"".concat(e/2496*120,"vw"),top:"".concat(n/2496*120,"vw"),width:"".concat(i/2496*120,"vw"),height:"".concat(o/2496*120,"vw")},"@media (max-aspect-ratio: ".concat(2496,"/",1440,")"),{left:"".concat(e/1440*120,"vh"),top:"".concat(n/1440*120,"vh"),width:"".concat(i/1440*120,"vh"),height:"".concat(o/1440*120,"vh")}),"","")},ut=function(t){var e=t.x,n=void 0===e?0:e,r=t.y,i=void 0===r?0:r,a=t.width,o=void 0===a?2496:a,s=t.height,u=void 0===s?1440:s,l=t.src,c=t.quality,h=void 0===c?75:c,d=t.children,v=(0,rt.Z)(t,it);return(0,A.BX)(M.E.div,ot(ot({css:st({x:n,y:i,width:o,height:u})},v),{},{children:[l&&(0,A.tZ)(f.default,{src:l,layout:"responsive",priority:!0,quality:h}),d]}))},lt=n(6358),ct=n(6011),ht=n(4126);var dt,ft={name:"13fmgtn",styles:"transform:scaleX(-1)"},vt=function(){var t=(0,i.useState)("gone"),e=t[0],n=t[1];return(0,i.useEffect)((function(){var t;return"in"===e&&(t=setTimeout((function(){return n("sniff3")}),13/30*1e3)),"sniff3"===e&&(t=setTimeout((function(){return n("out")}),5e3)),"out"===e&&(t=setTimeout((function(){return n("gone")}),400)),"gone"===e&&(t=setTimeout((function(){return n("in")}),3e3)),function(){return clearTimeout(t)}}),[e]),(0,A.tZ)(ht.default,{name:"ForegroundRat",animation:e,x:-50,y:911,width:523,height:529,skin:"orange",css:ft})},pt=function(){var t=(0,i.useState)("gone"),e=t[0],n=t[1];return(0,i.useEffect)((function(){var t;return"in"===e&&(t=setTimeout((function(){return n("sniff2")}),13/30*1e3)),"sniff2"===e&&(t=setTimeout((function(){return n("out")}),4e3)),"out"===e&&(t=setTimeout((function(){return n("gone")}),400)),"gone"===e&&(t=setTimeout((function(){return n("in")}),5e3)),function(){return clearTimeout(t)}}),[e]),(0,A.tZ)(ht.default,{name:"ForegroundRat",animation:e,x:1973,y:911,width:523,height:529,skin:"blue"})},mt=(0,a.iv)((0,r.Z)({position:"absolute",backgroundImage:"url(/images/water-drops-sprite.png)",left:"".concat(831/2496*120,"vw"),top:"".concat(684/2496*120,"vw"),width:"".concat(95/2496*120,"vw"),height:"".concat(482/2496*120,"vw"),backgroundSize:"1000% 100%",animation:"waterDrops 3s steps(1) infinite",backgroundRepeat:"no-repeat","@keyframes waterDrops":(dt={},(0,r.Z)(dt,"".concat(0,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(1/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(2/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(10,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(4/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(5/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(20,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(7/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(8/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(30,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(10/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(11/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(40,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(13/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(14/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(50,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(16/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(17/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(60,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(19/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(20/30*100,"%"),{backgroundPosition:"".concat(10/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(70,"%"),{backgroundPosition:"".concat(0,"% 0%")}),(0,r.Z)(dt,"".concat(22/30*100,"%"),{backgroundPosition:"".concat(1/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(23/30*100,"%"),{backgroundPosition:"".concat(2/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(80,"%"),{backgroundPosition:"".concat(3/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(25/30*100,"%"),{backgroundPosition:"".concat(4/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(26/30*100,"%"),{backgroundPosition:"".concat(5/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(90,"%"),{backgroundPosition:"".concat(6/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(28/30*100,"%"),{backgroundPosition:"".concat(7/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(29/30*100,"%"),{backgroundPosition:"".concat(8/9*100,"% 0%")}),(0,r.Z)(dt,"".concat(100,"%"),{backgroundPosition:"".concat(100,"% 0%")}),dt)},"@media (max-aspect-ratio: ".concat(2496,"/",1440,")"),{left:"".concat(69.25,"vh"),top:"".concat(57,"vh"),width:"".concat(95/1440*120,"vh"),height:"".concat(482/1440*120,"vh")}),"",""),gt=function(){return(0,A.tZ)("div",{css:mt})},yt={src:"/_next/static/media/web00.22cee9d9.png",height:257,width:214,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAD1BMVEUPODgXTU4PKCsWTk4TNjmCMtD4AAAABXRSTlMBE0YjMSbHUVkAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAnSURBVHicLcpBCgAACAJB1/z/m4PMy4goW41NSzwnSW4aKvOPR6AFBxoAMqQTAHQAAAAASUVORK5CYII="},At={src:"/_next/static/media/web01.868a05f9.png",height:272,width:158,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAMAAAAGL8UJAAAAElBMVEUaLCwPISQWKysOGxwNGBkPIiKgVib3AAAABnRSTlMBER87TS82OCuvAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJklEQVR4nBXJsQ0AMAgDMIfQ/1+u2CwZmWC3dPdJu7zOYFzmKOEDBwoAP2yAMAIAAAAASUVORK5CYII="},xt={src:"/_next/static/media/web02.121d8803.png",height:356,width:138,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAICAMAAAALMbVOAAAAElBMVEUAGRkJISELHh4LJysKGhoHGB29dbMkAAAABnRSTlMBCikVRR5fnMuZAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAH0lEQVR4nCXDsQ0AMAgDMJPQ/1/ugCWbDbuk5tEhbvkC/QAm5H1dtQAAAABJRU5ErkJggg=="},bt={src:"/_next/static/media/web03.ef4bbe7e.png",height:130,width:162,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAHlBMVEVMaXEaTkwlWlMvZVgAOzsXUU0hTEEhT0cPIiINHh7wXTLjAAAACnRSTlMAEks+BBonQEw6G0N84gAAAAlwSFlzAAALEwAACxMBAJqcGAAAACxJREFUeJwlyUESACAIw8CUouD/P+ygueSwAMmk/Kf7bAlYURWxAIetYfnRBQqYAGmOs+cSAAAAAElFTkSuQmCC"},wt={src:"/_next/static/media/web04.f2116226.png",height:236,width:173,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAFVBMVEVMaXEYVFMaNjMYPDgoWlEZVVQLSUkbT4FGAAAAB3RSTlMAIEISNU8M1hxDyQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAChJREFUeJwdiEEOADAMglDb/f/Ji+VAAlDeWapnW96GPYFYA0T3UIAPByUAQ966jQsAAAAASUVORK5CYII="};
1var Lt={name:"ninzhk",styles:"pointer-events:none;transform-origin:75% 75%"},kt={name:"5btn97",styles:"pointer-events:none;transform-origin:50% 25%"},Ct={name:"5btn97",styles:"pointer-events:none;transform-origin:50% 25%"},Et={name:"9xgee8",styles:"pointer-events:none;transform-origin:50% 0%"},St={name:"dvieki",styles:"pointer-events:none;transform-origin:75% 15%"},Mt=function(){return(0,A.BX)(A.HY,{children:[(0,A.tZ)(ut,{x:570,y:409,width:214,height:257,src:yt,css:Lt,animate:{skewX:"-2deg",transition:{repeat:1/0,repeatType:"mirror",duration:1}}}),(0,A.tZ)(ut,{x:945,y:355,width:158,height:272,src:At,css:kt,animate:{skewX:"-4deg",transition:{repeat:1/0,repeatType:"mirror",duration:3}}}),(0,A.tZ)(ut,{x:1057,y:381,width:138,height:356,src:xt,css:Ct,animate:{skewX:["-2deg","0deg","-2deg","0deg","-3deg","1deg","-2deg","3deg","0deg"],transition:{repeat:1/0,repeatType:"mirror",duration:8}}}),(0,A.tZ)(ut,{x:1447,y:430,width:162,height:130,src:bt,css:Et,animate:{skewX:["-1deg","1deg"],transition:{repeat:1/0,repeatType:"mirror",duration:2}}}),(0,A.tZ)(ut,{x:1453,y:589,width:173,height:236,src:wt,css:St,animate:{skewX:["-2deg","2deg","-1.8deg","2.4deg"],transition:{repeat:1/0,repeatType:"mirror",duration:1.6}}})]})};var Tt=(0,a.iv)((0,r.Z)({position:"absolute",left:"".concat(2e3/2496*120,"vw"),top:"".concat(400/2496*120,"vw"),width:"".concat(300/2496*120,"vw"),height:"".concat(450/2496*120,"vw")},"@media (max-aspect-ratio: ".concat(2496,"/",1440,")"),{left:"".concat(2e3/1440*120,"vh"),top:"".concat(400/1440*120,"vh"),width:"".concat(25,"vh"),height:"".concat(37.5,"vh")}),"",""),Rt={name:"7ob98b",styles:"width:2px;height:2px;position:absolute;background-color:#fff;border-radius:50%"},Pt=function(){for(var t=new Array(50),e=0;e<t.length;e++)t[e]={x:"".concat(100*Math.random(),"%"),y:"".concat(100*Math.random(),"%"),scale:.5*Math.random()+.5,delay:5*Math.random(),repeatDelay:5*Math.random()};return(0,A.tZ)("div",{css:Tt,children:t.map((function(t,e){return(0,A.tZ)(M.E.div,{css:[Rt,{left:t.x,top:t.y,transform:"scale(".concat(t.scale,")")},"",""],animate:{opacity:[1,0,1],transition:{repeat:1/0,duration:1,delay:t.delay,repeatDelay:t.repeatDelay}}},e)}))})};var It={name:"1rvx8i",styles:"transform:rotate(-30deg);pointer-events:auto"},Ot=function(){var t=(0,i.useState)("stand"),e=t[0],n=t[1];return(0,A.tZ)(ht.default,{name:"JailSpider",animation:e,x:990,y:560,width:128,height:128,css:It,onMouseOver:function(){n("threaten")},onMouseOut:function(){n("stand")}})},Bt={src:"/_next/static/media/rat-peek.eca41076.png",height:66,width:48,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAJ1BMVEVMaXEJbX0Kb38Pc4MQY30Hbn0JcYEQeIoPdIQNc4UMbH0olqgqkqP8ixyuAAAAC3RSTlMAlF9yDCnr/a/lPX+Iwf0AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAwSURBVHicFcrHEQAwCMRAHcHg0H+9Hr5aEToAtsMSTOZAbwWg+3qs6k5NrZUzh/sHEZEAowDok7QAAAAASUVORK5CYII="};var Ft={name:"vxhryu",styles:"width:100%;height:100%;overflow:hidden"},Dt=function(){return(0,A.tZ)(M.E.div,{css:st({x:2078,y:935,width:24,height:33}),children:(0,A.tZ)("div",{css:Ft,children:(0,A.tZ)(M.E.div,{initial:{x:"-100%"},animate:{x:["-100%","0%","-100%"],transition:{repeat:1/0,repeatDelay:3}},children:(0,A.tZ)(f.default,{src:Bt,layout:"responsive",priority:!0})})})})},Vt={src:"/_next/static/media/rat-beam.117d4491.png",height:101,width:109,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAALVBMVEVMaXEMAwEUAAAJAAAHAAAfCAE8DwE9EAEUBQANAwAVBQGSJQMKAgEKAgAKAQBCB5VeAAAAD3RSTlMA/QUwEmKHodM98Euudo2oeJrBAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAM0lEQVR4nB2ISQ4AIRCEqLIXne3/z50oFwhwV3WnoS9J+qi58pEmGXbku9iYCLxrjDOOfx+DAMamOVMlAAAAAElFTkSuQmCC"};var Yt={name:"vxhryu",styles:"width:100%;height:100%;overflow:hidden"},Xt=function(){return(0,A.tZ)(M.E.div,{css:st({x:1454,y:566,width:109,height:101}),children:(0,A.tZ)("div",{css:Yt,children:(0,A.tZ)(M.E.div,{initial:{x:"100%",y:"100%"},animate:{x:["100%","0%","0%","100%"],y:["100%","0%","0%","100%"],transition:{delay:7,duration:2,repeat:1/0,repeatDelay:10}},children:(0,A.tZ)(f.default,{src:Vt,layout:"responsive",priority:!0})})})})},Ut={src:"/_next/static/media/rat-beam-walker.0925c640.png",height:46,width:163,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAG1BMVEU2GAVFIiIvFwA1GAMyFgZMaXE2GgcyFgQ2GAWqjSN3AAAACHRSTlNEBBUoegCQq3gS/coAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAaSURBVHicY2BgY+dgYWVkZWBkZmBhYGJmAgACNwA0cMd4ygAAAABJRU5ErkJggg=="},jt=function(){return(0,A.tZ)(M.E.div,{css:st({x:655,y:406,width:163,height:46}),children:(0,A.tZ)(M.E.div,{initial:{x:"-100%",y:"10%",opacity:0}
1,animate:{x:["100%","0%","-100%"],y:["100%","0%","-100%"],opacity:[0,1,0],transition:{delay:2,duration:.7,repeat:1/0,repeatDelay:8,ease:"linear"}},children:(0,A.tZ)(f.default,{src:Ut,layout:"responsive",priority:!0})})})},Zt={src:"/_next/static/media/outside.4d707da6.png",height:804,width:824,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAMFBMVEULJEsQQGoNQnkXYI4EHU0KIUoNNF8XXIoLJk0MK1IPPmkSSHURTYQEG0cCEjIORH0I6jN5AAAABXRSTlPGx97G8OiuV5sAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA1SURBVHicJcEBEoAgDAPBQyWS1sL/f+sw7EI/YGw22JIUtMjMyKClJI/J06tKNbm+bQX3e/w/3AH2nPqNdQAAAABJRU5ErkJggg=="},Nt={src:"/_next/static/media/background-far.9464741e.webp",height:1440,width:2496,blurDataURL:"data:image/webp;base64,UklGRoYAAABXRUJQVlA4WAoAAAAQAAAABwAABAAAQUxQSCkAAAAAa2ykqGxsbH7////////88////////929////////5u3//////////wBWUDggNgAAANABAJ0BKggABQACQDglAE6AIeBBes7gAP76n1weQ2zfHKuow4PTAuvnPBOaQzd3kg5iawOwAA=="},zt={src:"/_next/static/media/doors.d5a99b2d.png",height:544,width:1118,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAGFBMVEVsMy5MaXFyNCpcKyZdKidOJyxYJiZdLS0retyDAAAACHRSTlM2ACtRew8aZabKFHkAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAjSURBVHicBcGBAQAwCIMwsNX9//ESJqcCM+hOIFVa+qJ7+wEEtwBQbFpmewAAAABJRU5ErkJggg=="},_t={src:"/_next/static/media/foreground.31305d0c.png",height:1440,width:2496,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAJ1BMVEUdJR4OFRUDBwMEAwIEAgEKBgIABQsLEScGBQUAEQAACAAKBgQKAwFZZjxKAAAADXRSTlMBGEXi/XBcLbwPHbyZYmV9bAAAAAlwSFlzAAALEwAACxMBAJqcGAAAACRJREFUeJxjYGJiZAADLk4IzQDlMzDwgHnsbAwszNysrBzMLAAF1gBfq3TtPwAAAABJRU5ErkJggg=="},Wt={src:"/_next/static/media/midground.454e48dd.png",height:1222,width:289,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAICAMAAADk895wAAAAFVBMVEUAAAAAERwADxsADhgADRoAGCkAEBgsCZj4AAAAB3RSTlMEW0R5Jx8fAXZ07gAAAAlwSFlzAAALEwAACxMBAJqcGAAAABtJREFUeJxjYGNgYGZgYGZlYGJiYGFkYIAgJgAB2gAfFL+RLQAAAABJRU5ErkJggg=="},Gt={src:"/_next/static/media/ceiling.637e2c82.webp",height:1440,width:2496,blurDataURL:"data:image/webp;base64,UklGRoYAAABXRUJQVlA4WAoAAAAQAAAABwAABAAAQUxQSCkAAAAA/////////9q04PjYo6IkD28bWFgpDQAAKQAAAAAAAAAAAAAAAAAAAABWUDggNgAAABACAJ0BKggABQACQDglnALELwAZkxDJiAAA/vb35/cuASpULu6t+bSDjp1RLF6FHwlRkAAAAA=="},Ht={src:"/_next/static/media/chain-left.fa3f993a.png",height:646,width:667,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAKlBMVEVMaXEDCAgBBQUBBwcBBQUFCAoDDg4EFBYCBQUEExMCDg8ABAQBBAQAAAApwHqXAAAADnRSTlMAqYN0u0Uiay83l1LQDnvuxSAAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA0SURBVHicLcnJDQAgDAPBdcJ99N8uCuDPjmSIbc1bsuoD6aNpPEiOeS+WrKCxluW4fXoHDhT+ALhzLj9gAAAAAElFTkSuQmCC"},qt={src:"/_next/static/media/chain-right.cb8b33e0.png",height:577,width:1221,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAJ1BMVEUAFBQECwoDEREGCgkGAAAECwoFDg4DBwcFBQQEDg4FBgUEBgYEDAw8V+/wAAAADXRSTlMBYjtRFE1zXJcjvnmfzH7QrwAAAAlwSFlzAAALEwAACxMBAJqcGAAAACRJREFUeJwFwYUBADAMwKDUbf/fOyBvAJxaBaKZfmK5AV4monwKKwCHJ+q4YQAAAABJRU5ErkJggg=="},Jt={src:"/_next/static/media/outside-bg.1b6982eb.png",height:804,width:801,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAD1BMVEUVW4oLJU0UUH8PN2IRRXFdSuScAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIklEQVR4nGNghAIGZAYzCDAwM7OwsLAwMTEwMTExMeAFTAAM1QBH1V4ILgAAAABJRU5ErkJggg=="},Kt={src:"/_next/static/media/outside-buildings.082b32f5.png",height:346,width:824,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAALVBMVEUHIlEFHUNMaXEGHEAEIFgDIFcTJ1UDGD0DHEQDHUUCEzAJKGcDFz4AEEEIJUpk4/kHAAAAD3RSTlPOfgDr4MIT/fTftJ6YH5YQsErkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAI0lEQVR4nGNgYmJj4+Vj5GJg5OHkYGZgZmdgYWFlZeBmYAcAB6IAhoZti/IAAAAASUVORK5CYII="},Qt={src:"/_next/static/media/locksmith-light.50fe6b48.png",height:90,width:45,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAMAAADp7a43AAAAGFBMVEWYRgDTXQbechTXbg3ccBLpnCPnkh3xtC+l2oOOAAAACHRSTlMBCk4YL1JEXNteaEYAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAkSURBVHicHcbJDQAwCASx2YPQf8eR8MtwJEgCnSe8I3xzoQ0fBOoATFm2WsYAAAAASUVORK5CYII="},$t={src:"/_next/static/media/rat-running.8701a8d6.png",height:88,width:226,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAG1BMVEUAAAAIHxwKHh0KHx4JHRwJHhwJHh4LISENJSQRJoOuAAAACHRSTlMBHVvabTGFodOIb/QAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAeSURBVHicY2BgYGVmYgABJmYOdhDNyMTCxsLIyggAAoYAN9XvjYQAAAAASUVORK5CYII="}
1,te={src:"/_next/static/media/stan-hands.508d4c46.png",height:48,width:144,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAHlBMVEXEiE3BeU27bE3SiFbQhFXcj1vqo1vDfVLsoF6+d0rTxEOlAAAACnRSTlMCSxgoulkyiFToM84dSwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAB5JREFUeJxjYOVgZmBgYGBjYGcBMRg5GRiYQAJMjAADewA0ugewGgAAAABJRU5ErkJggg=="},ee=n(6335);var ne=(0,T.default)((function(){return Promise.resolve().then(n.bind(n,4126))}),{ssr:!1,loadableGenerated:{webpack:function(){return[4126]}}}),re=(0,T.default)((function(){return n.e(719).then(n.bind(n,7719))}),{ssr:!1,loadableGenerated:{webpack:function(){return[7719]}}}),ie=(0,T.default)((function(){return n.e(108).then(n.bind(n,2108))}),{ssr:!1,loadableGenerated:{webpack:function(){return[2108]}}}),ae={name:"f2tm7m",styles:"transform:rotate(0deg)"},oe={name:"je8g23",styles:"pointer-events:none"},se={name:"je8g23",styles:"pointer-events:none"},ue={name:"je8g23",styles:"pointer-events:none"},le={name:"je8g23",styles:"pointer-events:none"},ce={name:"je8g23",styles:"pointer-events:none"},he={name:"je8g23",styles:"pointer-events:none"},de={name:"je8g23",styles:"pointer-events:none"},fe={name:"j42pox",styles:"transform-origin:0 0"},ve={name:"61gt7z",styles:"transform-origin:100% 0"},pe={name:"je8g23",styles:"pointer-events:none"},me={name:"1hrtrtk",styles:"position:fixed;inset:0;overflow:hidden;max-width:100%"},ge=function(){var t=(0,lt.N)((function(t){return t.pathIndexes})),e=(0,lt.N)((function(t){return t.currentPath})),n=(0,lt.N)((function(t){return t.textIndex})),r=(0,i.useMemo)((function(){return void 0!==e?ee[e][t[e]].response[n]:{}}),[e,t,n]);return(0,A.tZ)("div",{css:me,children:(0,A.BX)(ie,{currentCharacter:r.character,children:[(0,A.BX)(re,{factor:0,children:[(0,A.tZ)(ut,{x:1672,y:357,width:824,height:804,src:Zt}),(0,A.tZ)(ut,{x:1695,y:357,width:801,height:804,src:Jt}),(0,A.tZ)(Pt,{}),(0,A.tZ)(ut,{x:1672,y:686,width:824,height:346,src:Kt}),(0,A.tZ)(ut,{x:2218,y:770,width:45,height:90,src:Qt,animate:{opacity:[.5,1],transition:{duration:1,repeat:1/0,repeatType:"mirror"}}})]}),(0,A.BX)(re,{factor:1.5,children:[(0,A.tZ)(ut,{src:Nt,quality:90}),(0,A.tZ)(Dt,{}),(0,A.tZ)(ne,{name:"S",animation:r&&"stan"===r.character?"talk":"stand_jail",overlayPattern:!0,x:230,y:699,width:421,height:421,skin:"StanRegular",css:ae}),(0,A.tZ)(ne,{name:"O",animation:r&&"otis"===r.character?"talk":"base_loop",x:1177,y:650,width:136,height:373,skin:"O"}),(0,A.tZ)(ut,{x:2166,y:1032,width:113,height:44,src:$t,animate:{x:["100%","-970%"],y:["100%","-140%"],transition:{duration:1,ease:"linear",delay:5}}}),(0,A.tZ)(ut,{x:289,y:612,width:1118,height:544,src:zt,css:oe}),(!r||"stan"!==r.character)&&(0,A.tZ)(ut,{x:404,y:905,width:72,height:24,src:te,css:se}),(0,A.tZ)(ne,{name:"JailLampLeft",x:220,y:370,width:607,height:844,css:ue}),(0,A.tZ)(ne,{name:"JailLampRight",x:985,y:391,width:572,height:806,css:le}),(0,A.tZ)(Ot,{}),(0,A.tZ)(Xt,{}),(0,A.tZ)(ut,{src:Gt,css:ce}),(0,A.tZ)(jt,{}),(0,A.tZ)(Mt,{}),(0,A.tZ)(gt,{})]}),(0,A.tZ)(re,{factor:3,css:he,children:(0,A.tZ)(ut,{x:0,y:63,width:289,height:1222,src:Wt})}),(0,A.BX)(re,{factor:4,css:de,children:[(0,A.tZ)(ut,{src:_t}),(0,A.tZ)(M.E.div,{animate:{rotate:"-5deg",transition:{repeat:1/0,repeatType:"mirror",duration:5}},css:fe,children:(0,A.tZ)(ut,{x:0,y:0,width:674,height:646,src:Ht})}),(0,A.tZ)(M.E.div,{animate:{rotate:"3deg",transition:{repeat:1/0,repeatType:"mirror",duration:6,delay:1}},css:ve,children:(0,A.tZ)(ut,{x:1275,y:0,width:1222,height:577,src:qt})}),(0,A.tZ)(vt,{}),(0,A.tZ)(pt,{})]}),(0,A.tZ)(re,{factor:1.5,css:pe,children:(0,A.tZ)(ct.Z,{})})]})})},ye=n(612),Ae=n(406),xe=n(4960),be=n(5262);function we(t,e){void 0===e&&(e={});var n=(0,i.useContext)(s._).isStatic,r=(0,i.useRef)(null),a=(0,xe.c)((0,Ae.i)(t)?t.get():t);return(0,i.useMemo)((function(){return a.attach((function(t,i){return n?i(t):(r.current&&r.current.stop(),r.current=(0,ye.j)((0,o.pi)((0,o.pi)({from:a.get(),to:t,velocity:a.getVelocity()},e),{onUpdate:i})),a.get())}))}),Object.values(e)),(0,be.p)(t,(function(t){return a.set(parseFloat(t))})),a}var Le=function(){var t=(0,J.Z)(),e=function(){var t=(0,i.useState)({x:0,y:0}),e=t[0],n=t[1];return(0,i.useEffect)((function(){var t=function(t){return n({x:t.clientX,y:t.clientY})};return window.addEventListener("mousemove",t),function(){window.removeEventListener("mousemove",t)}}),[]),e}(),n=we(0,{mass:.5,tension:1,clamp:!0}),r=we(0,{mass:.5,tension:1,clamp:!0}),a=(0,K.o)((function(t){return t.setMousePositionX})),o=(0,K.o)((function(t){return t.setMousePositionY}));return(0,i.useEffect)((function(){n.set(e.x)}),[e.x,a,t.width,n]),(0,i.useEffect)((function(){r.set(e.y)}),[e.y,o,t.width,r]),(0,i.useEffect)((function(){a(n)}),[a,n]),(0,i.useEffect)((function(){o(r)}),[o,r]),(0,i.useEffect)((function(){var t=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(t,"px"))}),[]),(0,A.tZ)(A.HY,{})};function ke(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?ke(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ee=(0,a.iv)((0,r.Z)({position:"fixed",bottom:"1rem",right:"1rem"},R.Z.TabletPortrait,{display:"none"}),"",""),Se=(0,a.iv)((0,r.Z)({position:"fixed",bottom:"3.5rem",left:"auto",right:"1.75rem"},R.Z.TabletPortrait,{display:"none"}),"",""),Me=function(t){var e=t.Component,n=t.pageProps,r=t.router;return(0,A.BX)(A.HY,{children:[(0,A.tZ)(Le,{}),(0,A.tZ)(ge,{}),(0,A.tZ)(c,{transition:{duration:.4},reducedMotion:"user",children:(0,A.tZ)(h.M,{exitBeforeEnter:!0,children:(0,a.az)(e,Ce(Ce({},n),{},{key:r.route}))})}),(0,A.tZ)(nt,{}),(0,A.tZ)(S,{css:Ee}),(0,A.tZ)(j,{css:Se})]})}},6358:function(t,e,n){"use strict";n.d(e,{N:function(){return a}});var r=n(4671),i=n(6335),a=(0,r.Z)((function(t){return{showOptions:!0,setShowOptions:function(e){return t({showOptions:e})},pathIndexes:new Array(i.length).fill(0),incrementCurrentPathIndex:function(){return t((function(t){var e=t.pathIndexes;return e[t.currentPath]+=1,e}))},currentPath:void 0,setCurrentPath:function(e){return t({currentPath:e})},textIndex:0,setTextIndex:function(e){return t({textIndex:e})}}}))},8178:function(t,e,n){"use strict";n.d(e,{o:function(){return i}});var r=n(3234),i=(0,n(4671).Z)((function(t){return{mousePositionX:new r.H(0),setMousePositionX:function(e){return t({mousePositionX:e})},mousePositionY:new r.H(0),setMousePositionY:function(e){return t({mousePositionY:e})},isLoaded:!1,setIsLoaded:function(e){return t({isLoaded:e})},isTooltipVisible:!1,setIsTooltipVisible:function(e){return t({isTooltipVisible:e})},tooltipText:"",setTooltipText:function(e){return t({tooltipText:e})},flipDirection:"forward",setFlipDirection:function(e){return t({flipDirection:e})}}}))},1780:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(2410)}])},5152:function(t,e,n){t.exports=n(3579)},5675:function(t,e,n){t.exports=n(8566)},1664:function(t,e,n){t.exports=n(7942)},1163:function(t,e,n){t.exports=n(9898)},9921:function(t,e){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,v=n?Symbol.for("react.suspense_list"):60120,p=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,A=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function b(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case c:case h:case a:case s:case o:case f:return t;default:switch(t=t&&t.$$typeof){case l:case d:case m:case p:case u:return t;default:return e}}case i:return e}}}function w(t){return b(t)===h}e.AsyncMode=c,e.ConcurrentMode=h,e.ContextConsumer=l,e.ContextProvider=u,e.Element=r,e.ForwardRef=d,e.Fragment=a,e.Lazy=m,e.Memo=p,e.Portal=i,e.Profiler=s,e.StrictMode=o,e.Suspense=f,e.isAsyncMode=function(t){return w(t)||b(t)===c},e.isConcurrentMode=w,e.isContextConsumer=function(t){return b(t)===l},e.isContextProvider=function(t){return b(t)===u},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return b(t)===d},e.isFragment=function(t){return b(t)===a},e.isLazy=function(t){return b(t)===m},e.isMemo=function(t){return b(t)===p},e.isPortal=function(t){return b(t)===i},e.isProfiler=function(t){return b(t)===s},e.isStrictMode=function(t){return b(t)===o},e.isSuspense=function(t){return b(t)===f},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===a||t===h||t===s||t===o||t===f||t===v||"object"===typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===p||t.$$typeof===u||t.$$typeof===l||t.$$typeof===d||t.$$typeof===y||t.$$typeof===A||t.$$typeof===x||t.$$typeof===g)},e.typeOf=b},9864:function(t,e,n){"use strict";
1t.exports=n(9921)},6125:function(t,e,n){var r=n(7294);function i(t){return r.createElement("svg",t,r.createElement("path",{d:"M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-164-39.5c-76.5 0-103.7 40.8-165.9 40.8s-105.6-57-155.5-127C46.7 790.7 0 663 0 541.8c0-194.4 126.4-297.5 250.8-297.5 66.1 0 121.2 43.4 162.7 43.4 39.5 0 101.1-46 176.3-46 28.5 0 130.9 2.6 198.3 99.2zm-234-181.5c31.1-36.9 53.1-88.1 53.1-139.3 0-7.1-.6-14.3-1.9-20.1-50.6 1.9-110.8 33.7-147.1 75.8-28.5 32.4-55.1 83.6-55.1 135.5 0 7.8 1.3 15.6 1.9 18.1 3.2.6 8.4 1.3 13.6 1.3 45.4 0 102.5-30.4 135.5-71.3z"}))}i.defaultProps={xmlSpace:"preserve",viewBox:"0 0 814 1000"},t.exports=i,i.default=i},6296:function(t,e,n){var r=n(7294);function i(t){return r.createElement("svg",t,r.createElement("g",{fill:"#FFF",fillRule:"evenodd"},[r.createElement("path",{d:"M171.525 35.324c-.01 3.565-1.022 4.105-3.24 3.741-2.12-.342-3.033-1.195-3.025-3.69.026-8.374.033-12.56.057-20.937.004-2.23 1.121-3.215 2.941-2.919 1.615.264 3.333 1.266 3.325 4.03-.024 7.91-.036 11.864-.058 19.775zm9.27 33.051c-.003 1.037-.003 1.553-.007 2.584-.002.535-.204.68-.508.621-.398-.076-.6-.563-.597-1.363l.064-19.867c.012-4.277-4.953-7.945-4.912-8.209 0 0 4.945-2.305 4.961-7.384.021-6.663.034-9.994.052-16.659.022-6.682-6.22-10.418-10.566-11.133-2.327-.386-3.649-.225-4.757-.225-1.208 0-2.43-.016-3.846-.22-.609-.092-1.42-.294-2.026-.558-.607-.267-1.258-.816-1.315-.806-.086.007-2.133 1.132-3.35.792.4 3.334.598 5.002.997 8.333.326.043.486.066.81.11.004-.999.004-1.5.006-2.498.004-1.245.208-1.4.613-1.345.305.044.504.166.5 1.411-.014 5.986-.019 8.982-.035 14.97-.013 5.7-2.125 9.666-2.149 10.047-.003.06 1.417 1.437 1.414 2.06 0 .267-.102.522-.305.763-.203.238-.89.57-.915.677-.066.31 1.913 4.36 1.903 8.726-.014 6.665-.02 9.997-.037 16.662-.003 1.337-.204 1.487-.61 1.43-.607-.08-.707-.717-.706-1.34.001-.964.003-1.446.005-2.408-.324-.043-.485-.064-.809-.109-.496 3.146-.739 4.717-1.23 7.863.91.117 3.113 2.087 3.332 2.14.184.044 2.63-.526 3.943-.334.708.102 1.517.314 2.325.613.806.3 1.738.943 1.916.917.296-.038 2.325-1.149 3.536-.95-.394-3.095-.594-4.645-.99-7.739a121.81 121.81 0 0 0-.805-.128c-.005.96-.006 1.444-.007 2.407-.002.8-.103.871-.408.825-.804-.127-1.106-1.244-1.096-5.073.02-6.842.026-10.264.043-17.109.006-3.116.82-3.619 2.941-3.273 2.222.358 3.327 1.09 3.318 4.382-.027 10.121-.044 15.184-.073 25.303 1.11.19 2.566 2.777 2.814 2.894.11.054 1.914-.196 2.718-.05.403.075.908.17 1.41.352.501.182 1.144.675 1.205.67.087-.007 2.114-1.202 3.017-1.028-.389-3.034-.587-4.553-.979-7.588l-.805-.156zm-27.31-8.597l.011-6.344c.004-1.782.924-3.505.903-3.663-.037-.258-2.835-1.645-2.824-6.35-.228-.029-.342-.047-.568-.076-.01 4.421-2.658 5.072-2.85 5.504-.052.111.563 2.347.56 3.987l-.01 5.132c-.008 3.137-.496 3.576-2.037 3.4-1.703-.198-2.35-.768-2.35-2.478.012-5.844.02-8.769.03-14.613.006-3.993.01-4.923 1.306-4.774.488.053 1.137.56 1.136 1.202 0 .566-.103.92-.325 1.313a3.764 3.764 0 0 0-.493 1.8c-.002 1.284 1.986 2.18 2.027 2.09 0 0-.487-.845-.487-1.274.004-.498.595-.855 1.548-1.597.561-.44.973-1.023.975-1.878.001-.998-.564-1.78-1.375-2.449l1.87-.985c-.713-.628-1.07-.944-1.783-1.569.893-.394 1.303-1.057 1.305-1.84.001-.71-.567-1.638-.97-2.04-.81-.814-1.134-1.279-1.134-1.706.002-.428.348-1.044.326-1.103-.01-.028-2.113.538-2.115 1.68 0 .571.153 1.176.324 1.604.145.37.322.608.322 1.18-.003.43-.41 1.02-.98.955-.892-.099-1.46-.448-1.454-3.584l.03-14.185c.005-2.853.817-3.549 2.2-3.389 1.541.176 2.19 1.326 2.184 3.823-.002 1.738-.00
17 2.61-.009 4.35-.006 2.35-.845 3.67-.82 3.821.036.22 2.84 2.27 2.83 6.192l.65.078c.007-4.063 2.5-5.069 2.685-5.5.04-.099-.562-2.07-.557-3.922.006-2.738.008-4.109.017-6.845.002-2.068.741-3.288.737-3.328 0 0-1.947-1.492-2.108-1.555-.118-.042-1.382.537-1.95.468-.974-.12-1.625-.48-2.273-.698-.649-.218-1.3-.437-2.276-.548a6.129 6.129 0 0 0-1.867.076 9.791 9.791 0 0 1-2.93.117c-.65-.069-1.383-.21-1.95-.41-.572-.2-1.173-.636-1.3-.625-.235.026-1.467 1.072-2.528 1.047.29 2.478.436 3.72.724 6.198l.65.06c.005-.94.003-1.41.005-2.353.082-.56.245-.76.651-.723.326.031.407.253.406.824l-.024 14.756c-.004 3.28-1.47 5.36-1.473 5.568-.003.103.976 1.086.976 1.516-.002.5-.946 1.21-.979 1.335-.032.11 1.46 2.561 1.452 7.194-.008 5.475-.015 8.211-.025 13.69 0 .781-.163 1.052-.567 1.015-.407-.04-.49-.336-.488-1.19l.004-2.278c-.292-.027-.44-.042-.733-.068-.297 2.54-.44 3.808-.739 6.35.812.214 2.274 1.683 2.437 1.72.094.023 1.297-.588 2.031-.513.974.095 1.947.338 2.758.567.81.23 1.62.6 2.594.71 1.218.134 1.878.004 2.515-.069.56-.067 1.218-.214 2.272-.084.483.06.888.177 1.295.301.405.12.991.54 1.133.498.126-.04 2.161-.863 2.19-.929 0 0-.726-1.092-.718-4.586zM130.02 9.265a5.544 5.544 0 0 1-1.467-.325c-.489-.18-1.075-.596-1.14-.585-.07.012-1.468 1.107-2.203 1.057-.002 2.566-.002 3.845-.007 6.411.326.023.491.04.816.06.132-.904.195-1.354.328-2.257.082-.634.327-.834.571-.815.491.034.487.462.406 1.314-.594 6.286-.89 9.428-1.486 15.72-.165 1.627-1.22 3.582-1.225 3.981-.004.23.73 1.12.73 1.69 0 .568-.779 1.201-.816 1.441-.02.122.487 1.03.405 2.736-.136 2.84-.2 4.264-.335 7.105-.227-.017-.34-.023-.569-.04l-.318-7.003c-.079-1.433.58-2.675.574-2.815-.007-.113-.896-1.057-.896-1.556.002-.5.968-1.425.978-1.575.014-.152-1.543-2.313-1.703-5.89l-.797-14.376c0-.644.08-.924.244-.914.247.016.407.24.488.956l.242 2.086c.261.016.392.022.652.04.002-2.565.002-3.847.007-6.414-1.223-.082-2.218-1.333-2.363-1.362-.053-.008-2.04.594-3.427.52a9.11 9.11 0 0 1-2.037-.316c-.565-.159-1.224-.586-1.305-.557-.083.024-1.307 1.364-2.368 1.32.487 2.526.734 3.793 1.22 6.323.26.013.392.02.654.03 0-1.054-.002-1.58 0-2.637 0-.356.243-.56.487-.549.33.017.574.17.654 1.24.454 6.841.676 10.257 1.127 17.095.161 2.075-1.078 3.266-1.059 3.445.008.08.973.76.973 1.257 0 .498-.803 1.213-.816 1.316-.01.091 1.711 1.581 2.195 8.024.481 6.64.723 9.961 1.206 16.605.571.032 1.677 1.5 1.788 1.526.034.008 1.222-.638 2.443-.562.651.042 1.25.131 1.628.247.47.144 1.006.653 1.056.645 0 0 1.223-1.41 1.871-1.363l2.223-19.652c.33-3.042 1.875-4.314 1.878-4.414 0 0-1.218-1.095-1.218-1.665.002-.57 1.04-1.208 1.06-1.34.013-.102-.81-1.993-.482-5.1.596-6.142.892-9.213 1.49-15.35.081-.493.165-.7.408-.68.243.021.405.25.405.747l-.004 2.21c.294.027.44.038.732.064.361-2.45.545-3.674.905-6.123-.649-.06-2.099-1.448-2.277-1.478-.066-.015-1.55.58-2.526.502zM116.78 46.907c-.054-.217-2.77-1.987-2.766-5.979-.228-.01-.342-.014-.572-.026-.003 4.207-2.292 5.137-2.53 5.671-.058.131.733 1.954.73 5.094v3.56c0 1.997-.409 3.117-2.69 3.038-2.284-.077-2.527-1.219-2.525-3.216l.006-14.326c.003-3.21 1.253-5.113 1.225-5.315-.004-.026-.979-.814-.978-1.385.005-.567.962-1.357.98-1.463.007-.04-1.222-1.89-1.22-5.74.004-5.589.004-8.386.01-13.975 0-.928.161-1.28.651-1.264.49.016.652.306.733.876v1.926c.228.008.341.01.571.016l.82-5.886c-.979-.036-2.38-1.17-2.61-1.22-.155-.039-1.798.657-3.188.626a9.506 9.506 0 0 1-1.958-.252c-.64-.16-1.306-.54-1.387-.523-.146.04-1.633 1.118-2.45 1.11.193 2.342.295 3.511.49 5.851.228.005.341.005.57.007v-1.639c0-.998.162-1.282.49-1.276.326.006.571.22.571 1.22-.002 5.703-.002 8.555-.002 14.26-.002 2.564-1.563 5.495-1.55 5.68 0 .03.976 1.012.976 1.511 0 .213-.08.496-.243.708-.163.211-.81.567-.816.631-.004.027 1.631 2.092 1.63 5.37l-.006 15.756c0 .786-.16 1.066-.569 1.061-.408-.007-.49-.289-.49-.79v-2.067l-.652-.007c-.258 2.308-.39 3.46-.652 5.766 1.058.01 2.514 1.485 2.688 1.531.154.04 1.305-.692 2.282-.67 1.304.023 2.373.255 3.422.505.97.23 1.954.341 3.097.378.571.022 1.167-.14 1.71-.222.532-.079 1.06-.174 1.548-.15.327.01.658.09 1.056.185.324.077.854.431.978.4.256-.069 2.46-1.11 2.526-1.233 0 0-.81-1.824-.807-5.104l.001-4.063c.002-3.135.941-4.78.9-4.946zM86.003 58.261c-1.55.025-2.282-.672-2.282-2.67-.004-5.276-.004-7.914-.006-13.189 0-3.494 1.316-6.266 1.304-6.513-.005-.085-1.062-1.049-1.062-1.62 0-.569 1.043-1.448 1.061-1.585.005-.048-1.307-1.472-1.309-5.608 0-5.589 0-8.386-.002-13.975 0-1.782.651-2.509 2.364-2.536 1.713-.025 2.205.757 2.205 2.395 0 5.648.003 8.47.003 14.116 0 2.713-1.403 5.424-1.386 5.65.004.028 1.061.987 1.061 1.485 0 .497-1.052 1.304-1.059 1.44-.008.096 1.387 1.624 1.387 6.325 0 5.42 0 8.127.002 13.544 0 2.142-.814 2.72-2.28 2.741zm9.292-31.913c.002-5.192.002-7.786.002-12.976 0-5.064-5.592-6.733-6.53-6.26-.266.131-1.388.724-2.614.741-.57.01-1.24-.042-1.713-.186-.402-.123-.849-.414-.982-.478-1.71-.815-6.773 3.394-6.77 7.316l.007 13.333c.002 3.917-1.495 5.304-1.465 5.47.005.021 1.06.816 1.06 1.32.001.493-1.035 1.23-1.057 1.388-.018.12 1.47 1.803 1.47 4.726.006 6.016.007 9.025.01 15.04.003 4.21 5.86 6.667 6.847 6.085.35-.203 1.302-.736 2.444-.752.57-.01 1.08.016 1.547.121.382.083.777.464.978.56 1.127.532 6.764-2.298 6.766-8.857V41.674c0-4.064 1.483-6.097 1.471-6.266-.007-.042-1.06-.93-1.06-1.429 0-.5 1.044-1.43 1.06-1.563.01-.085-1.47-1.293-1.47-6.068zM73.477 7.501c-.063-.01-1.55.775-2.529.82a5.055 5.055 0 0 1-1.469-.14c-.489-.119-1.077-.454-1.142-.439-.088.022-1.466 1.29-2.2 1.332l.004 6.414c.325-.017.49-.029.818-.045.128-.92.191-1.379.321-2.297.081-.647.326-.875.57-.884.49-.03.49.4.411 1.258-.583 6.361-.873 9.543-1.452 15.906-.16 1.651-1.237 3.713-1.22 4.133.01.213.735 1.028.737 1.6 0 .571-.789 1.28-.816 1.543-.01.125.492.968.412 2.684-.128 2.86-.193 4.288-.32 7.148l-.57.032c-.133-2.787-.199-4.178-.33-6.965-.084-1.42.583-2.735.565-2.884-.013-.098-.896-.944-.896-1.442 0-.5.974-1.537.974-1.702 0-.146-1.549-2.115-1.716-5.668l-.83-14.279c0-.643.08-.93.242-.942.246-.017.408.186.491.895l.245 2.053.653-.045c-.004-2.564-.005-3.844-.007-6.412-1.223.077-2.238-1.042-2.368-1.062-.044-.004-2.034.85-3.42.951-.733.053-1.397.041-2.037-.058
1-.562-.089-1.22-.425-1.304-.395-.103.038-1.3 1.53-2.359 1.62l1.23 6.171c.26-.023.391-.035.651-.056l-.004-2.634c0-.357.244-.592.487-.61.326-.028.572.095.655 1.16l1.162 16.946c.165 2.057-1.087 3.403-1.054 3.58.012.063.98.634.98 1.134 0 .498-.809 1.308-.813 1.418-.005.095 1.71 1.366 2.207 7.743l1.24 16.455c.571-.045 1.692 1.281 1.792 1.298.022.004 1.221-.793 2.44-.867.652-.042 1.247-.027 1.626.041.468.081 1.013.52 1.062.51.005 0 1.22-1.564 1.87-1.598.872-7.973 1.308-11.96 2.183-19.93.323-3.085 1.878-4.547 1.87-4.65 0 0-1.224-.944-1.224-1.51 0-.572 1.047-1.328 1.06-1.478.008-.104-.82-1.889-.495-5.039.581-6.217.874-9.32 1.457-15.534.082-.502.163-.719.408-.728.244-.01.41.195.41.694v2.211l.734-.03c.356-2.495.536-3.74.893-6.236-.652.023-2.123-1.17-2.285-1.19zM49.94 41.73l-.569.051c.007 4.418-2.657 5.535-2.835 6.121-.05.162.575 2.225.576 3.864.003 2.053.004 3.08.01 5.133.004 3.136-.484 3.68-2.027 3.84-1.703.175-2.354-.253-2.357-1.963l-.025-14.613c-.008-3.992-.01-4.923 1.29-5.059.487-.05 1.138.31 1.14.951 0 .573-.1.94-.324 1.386-.25.504-.486 1.196-.484 1.91.003 1.283 1.998 1.768 2.034 1.648 0 0-.489-.739-.489-1.165 0-.5.58-.978 1.54-1.938.57-.569.974-1.236.973-2.092-.002-.998-.572-1.653-1.385-2.147.747-.556 1.12-.836 1.866-1.393-.717-.474-1.075-.709-1.79-1.18.893-.588 1.3-1.337 1.297-2.12 0-.714-.572-1.517-.979-1.834-.814-.63-1.139-1.026-1.14-1.453 0-.427.35-1.126.323-1.172 0 0-2.11.996-2.11 2.14.002.57.156 1.14.327 1.53.146.336.327.54.33 1.112 0 .427-.406 1.106-.974 1.166-.895.097-1.465-.128-1.47-3.265-.01-5.673-.014-8.509-.026-14.185-.005-2.853.808-3.725 2.19-3.868 1.544-.16 2.198.846 2.201 3.343l.007 4.35c.005 2.353-.85 3.863-.806 4.001.033.106 2.848 1.65 2.855 5.572.262-.028.391-.038.652-.062-.007-4.065 2.51-5.506 2.676-6.089.04-.14-.574-1.946-.576-3.796l-.012-6.848c0-2.066.74-3.45.728-3.484 0 0-1.988-1.059-2.118-1.097-.098-.023-1.382.84-1.952.895-.976.094-1.63-.127-2.279-.202-.65-.078-1.302-.154-2.278-.053-.57.06-1.14.192-1.87.486a10.76 10.76 0 0 1-2.923.755c-.65.076-1.38.091-1.949.013-.57-.073-1.18-.365-1.304-.335-.28.064-1.457 1.387-2.512 1.595l.743 6.036c.258-.032.39-.048.65-.078-.003-.943 0-1.414-.005-2.354.08-.583.242-.815.648-.864.324-.04.407.163.408.733.012 5.901.02 8.854.03 14.757.008 3.278-1.475 5.66-1.449 5.884.01.086.976.876.977 1.304 0 .5-.947 1.39-.97 1.547-.02.134 1.466 2.242 1.475 6.874.012 5.477.017 8.213.027 13.687.001.784-.159 1.091-.564 1.141-.404.051-.487-.229-.489-1.083 0-.914 0-1.365-.003-2.275-.293.032-.438.052-.73.09-.285 2.601-.43 3.903-.717 6.508.811.035 2.301 1.168 2.436 1.19.082.01 1.294-.87 2.023-.96.973-.11 1.948-.083 2.758-.03.81.051 1.623.245 2.596.141 1.218-.129 1.88-.402 2.517-.618.562-.189 1.217-.478 2.273-.579.487-.046.893-.016 1.3.014.406.035.988.32 1.137.251.163-.068 2.17-1.315 2.19-1.4 0 0-.73-.937-.736-4.432-.005-2.536-.006-3.809-.01-6.346-.003-1.779.93-3.708.887-3.854-.043-.147-2.846-1.03-2.854-5.733zM16.65 67.47l-.05-18c-.01-3.653 1.66-6.188 1.6-6.409-.006-.02-1.62-1.34-1.62-1.789-.003-.53 1.696-1.895 1.71-2.06 0 0-1.723-1.949-1.733-5.69-.019-6.805-.027-10.21-.045-17.01
17-.01-3.386.693-5.023 3.018-5.388 2.53-.396 2.94 1.062 2.947 4.448l.043 16.93c.01 3.655-1.683 5.941-1.603 6.304.053.241 1.216 1.241 1.218 1.867.003.625-1.512 1.86-1.512 2.012 0 0 1.927 2.115 1.936 5.944.02 7.167.03 10.747.048 17.911.01 3.562-1 4.156-2.919 4.458-1.817.285-3.029.041-3.039-3.52zm16.007-30.682c.015-.135-1.525-2.032-1.536-6.843-.014-6.309-.019-9.46-.035-15.772-.01-5.075-4.284-8.193-10.658-7.206-1.82.283-2.944.456-4.044.822-1.007.335-2.627 1.15-4.039 1.394-1.01.175-3.578-.414-3.839-.303-.172.075-1.809 2.025-3.219 2.382l.93 7.046c.363-.066.546-.1.908-.17 0-.783-.004-1.176-.006-1.959-.006-1.603.095-1.98.597-2.07.507-.094.607.07.611 1.492l.057 18.174c.012 4.277-1.948 6.703-1.893 7.214.024.24 1.113 1.31 1.114 1.844.002.625-1.103 1.767-1.103 2.075.002.208 1.923 2.32 1.934 6.328l.061 19.334c.003 1.25-.199 1.642-.802 1.748-.603.113-.806-.205-.81-1.454l-.007-2.58c-.282.051-.423.075-.705.13l-.679 7.887c1.005-.28 2.797.998 3.024 1.041.16.031 1.908-1.237 3.014-1.432 1.412-.247 2.62-.273 4.132-.258 1.512.016 3.23-.085 5.55-.439 3.836-.592 10.003-3.12 9.982-12.03-.01-5.74-.018-8.606-.03-14.347-.012-5.167 1.54-7.755 1.501-7.95-.015-.078-1.323-1.34-1.323-1.879 0-.533 1.281-1.902 1.313-2.219zm149.71 41.85c-.204.06-.612.216-1.412.627-.33.17-.673.345-1.182.39-.97.007-1.464-.31-1.824-.543-.109-.069-.365-.235-.47-.28-.279-.102-.645-.17-.97-.232-.615-.007-1.08.03-1.453.056-.332.026-.6.042-.744.042-.16 0-.646 0-1.183-.264-.625-.294-.959-.758-1.42-1.4a28.446 28.446 0 0 0-.319-.439l-3.24-.417c-.399.027-1.358.433-1.678.57-.454.191-.78.33-1.203.384-1.059.02-1.588-.27-2.2-.605-.292-.16-.655-.359-.903-.452a9.225 9.225 0 0 0-1.805-.479c-.95-.014-1.925.144-2.507.24-.489.078-.759.122-1.05.122l-.609-.07c-.606-.15-.945-.415-1.622-.939-.349-.27-1.237-.959-1.659-1.182l-2.35-.302.704-4.51.188-1.2c-.452-.094-.817-.285-1.124-.45-.545-.215-.792-.283-1.054-.315-.802-.033-1.048.001-1.33.04-.118.017-.584.075-.584.075-.402.051-.903.115-1.566.115-.409 0-.826-.024-1.273-.074-.943-.106-1.728-.37-2.358-.583-.216-.072-.428-.145-.64-.204-.57-.162-1.402-.38-2.197-.473-.195.044-.547.18-.688.236-.353.135-.717.275-1.22.275l-.589-.069c-.635-.15-1.013-.472-1.529-.913-.226-.193-.805-.687-1.088-.853l-1.983-.52-2.586.184-1.747-.127a6.42 6.42 0 0 0-.452.457l-.619.715-1.103.151c-1.036.001-1.596-.427-1.865-.633-.36-.18-.684-.234-1.15-.263-.328 0-.704.104-1.167.31-.203.09-.579.256-1.115.256l-.568-.066c-.797-.185-1.222-.657-1.598-1.074-.089-.098-.249-.275-.397-.427a41.328 41.328 0 0 1-3.072 1.16l-.65.083c-.664 0-1.163-.249-1.528-.43-.308-.109-.507-.155-.58-.158-.252-.002-.57.047-.877.094-.336.05-.464.074-.594.1-.437.081-.982.182-1.589.182-1.543-.045-2.685-.187-3.78-.447-.962-.228-1.839-.419-2.89-.437-.157.017-.603.215-.794.3-.412.183-.839.372-1.43.372l-.63-.079c-.593-.157-.944-.443-1.315-.747-.178-.145-.686-.56-.979-.71l-2.584-.022.19-1.67c-1.905 2.138-4.293 3.257-5.887 3.257a3.28 3.28 0 0 1-1.417-.304 4.097 4.097 0 0 1-.65-.4 3.28 3.28 0 0 0-.597-.04c-.41.005-.818.078-1.394.413-.474.28-1.042.425-1.678.425-1.52 0-3.62-.854-5.352-2.174l-7.062 1.03-1.556.08a7.962 7.962 0 0 0-.606.676l-.752.93-.937.02c-1.024.006-1.518-.307-1.784-.476-.658-.093-.838-.086-1.025-.075-.114.007-.522.062-1.269.494-.194.113-.65.376-1.322.378-1.22-.164-1.69-.627-2.034-.964a18.378 18.378 0 0 0-.295-.285l-1.78.14-4.42.687c-1.14.72-1.368.824-1.504.881-.327.14-.677.21-1.042.21-.479 0-.873-.123-1.19-.22a2.972 2.972 0 0 0-.668-.079c-.85.067-1.225.201-1.659.356l-.548.19c-.626.22-1.483.517-2.836.662a8.024 8.024 0 0 1-.843.042c-.589 0-1.097-.059-1.546-.112-.212-.024-.419-.05-.627-.063a17.009 17.009 0 0 0-1.15-.04c-.376 0-.726.014-1.045.047-.225.091-.662.357-.814.45-.416.252-.887.538-1.614.538-.955-.123-1.305-.348-1.712-.61-.14-.09-.478-.306-.76-.46-1.633 8.681-9.26 10.587-11.794 10.98-2.096.32-3.882.47-5.625.47 0 0-.735-.007-.929-.007-1.079 0-2.016.04-3.077.224-.324.077-1.206.595-1.537.791-.67.393-1.154.677-1.9.678-.93-.129-1.259-.314-1.64-.529-.19-.107-.713-.4-1.034-.517l-3.168.882 1.153-13.384 2.137-.417-.046-14.647c-.007-2.537-.96-4.032-1.367-4.67-.237-.372-.56-.88-.568-1.642 0-.858.38-1.479.751-2.019-.349-.459-.676-.956-.749-1.67-.09-.84.23-1.505.568-2.208.494-1.023 1.32-2.736 1.313-5.253l-.04-12.848-1.759.323L2.507 9.37l2.167-.546c.203-.067.68-.37 1.725-1.41.355-.355.636-.635 1.112-.84.351-.152.712-.22 1.114-.22.38 0 .822.062 1.433.15.578.083 1.37.197 1.818.197.735-.115 1.637-.482 2.433-.805.454-.184.883-.36 1.283-.493 1.298-.43 2.548-.625 4.441-.919a17.628 17.628 0 0 1 2.67-.213c4.621 0 8.23 2.13 9.89 5.503.482-.156.953-.55 1.16-.722.47-.394.915-.766 1.6-.92l.571-.065c.47 0 .837.122 1.162.23.594.148.78.16.98.16a8.28 8.28 0 0 0 3.085-.641 9.235 9.235 0 0 1 2.54-.652c.403-.042.783-.062 1.164-.062.67 0 1.223.065 1.666.118.226.026.457.066.696.108.31.056.556.1.816.1.254-.095.586-.28.742-.368.527-.296.982-.55 1.68-.55l.641.081c.296.088.413.124 1.795.853.114-.104.246-.23.415-.404.252-.258.565-.58 1.113-.785l.423-.158c.97 0 1.35.142 1.685.268.12.044.368.138.467.158.25.04.525.06.83.06.203 0 .413-.01.63-.026.348-.025 1.068-.172 2.508-.72.306-.117.623-.238 1.093-.238 1.071.134 1.514.491 1.78.704.101.082.358.29.514.355l.597-.034.751-.047c.181-.11.46-.317.833-.616.32-.256.651-.52 1.203-.658l.61-.075c.575 0 .986.187 1.317.338.107.048.331.15.423.176.195.047.401.072.61.072.25-.015.597-.098 1.508-.504.356-.159.724-.323 1.275-.323.957.102 1.371.381 1.85.704.165.112.503.34.74.473l2.605-.096-.054.378c1.12-.9 2.703-1.873 4.337-1.873.567 0 1.098.116 1.58.345.396.216.581.323.661.353.057.016.377.07.827.07.491-.007.99-.16 1.578-.456a3.52 3.52 0 0 1 1.614-.364c1.58 0 3.613.783 5.181 1.995.22.17.422.352.622.537l-.11-1.34 2.548.025c.196-.079.532-.266 1.004-.556.33-.204.59-.364.982-.468l.647-.084c.572 0 .984.183 1.347.345.187.084.47.21.645.253a6.84 6.84 0 0 0 1.4.177c.618 0 1.457-.255 1.908-.392.45-.137.775-.236 1.211-.236l.573.065c.491.112.841.335 1.244.593.21.134.744.475 1.01.5
17l2.667.097c.098.043.243-.077.436-.253.208-.189.516-.468 1.011-.64l.836-.142c.643 0 1.09.226 1.486.426.124.063.385.195.49.227.431.122.903.192 1.487.224.9.002 2.08-.298 2.468-.395.268-.069.5-.128.827-.128 1.22.196 1.655.6 1.943.865.115.106.454.42.645.505l1.321.09c.146-.076.382-.218.768-.48.278-.19.624-.427 1.172-.523 1.143-.037 1.631.25 1.988.46.113.065.348.203.446.241.268.1.538.16.8.181.207 0 .653-.108 1.31-.318.31-.099.602-.193 1.015-.193l.535.057c.631.135 1.041.462 1.551.871.147.117.423.337.651.502.217-.106.492-.274.632-.36.42-.26.854-.529 1.49-.596.984-.015 1.496.272 1.907.502.132.074.377.211.483.247.347.123.876.231 1.387.285a7.29 7.29 0 0 0 2.224-.091 8.556 8.556 0 0 1 2.593-.1c1.235.14 2.094.43 2.785.66.226.077.45.163.678.255.328.13.6.238.896.3.174-.049.427-.136.565-.183.286-.097.548-.182.833-.23l-.7-5.852 3.501.98c.158-.013.594-.096 1.552-.543.216-.1.48-.223.838-.28 1.215-.032 1.746.343 2.096.591.15.106.46.325.62.395.335.145.921.304 1.385.373 1.237.18 2.31.193 3.481.193.211 0 .43-.006.665-.013.321-.01.667-.02 1.05-.02 1.151 0 2.247.093 3.45.292 6.157 1.014 12.691 6.133 12.665 13.624-.013 4.745-.023 7.801-.035 11.573l-.016 5.085c-.012 3.661-1.903 6.194-3.63 7.746 1.644 1.821 3.59 4.574 3.58 7.846l-.05 15.731 1.65.33.42 3.24c.28 2.155.47 3.628.792 6.141l.441 3.446-3.142-.607zm5.186-3.159c-.287-2.24-.469-3.656-.703-5.464l-.088-.68-.42-3.24a2.514 2.514 0 0 0-1.624-2.039l.045-13.69c.007-2.594-.919-5.186-2.756-7.729 1.833-2.286 2.795-4.964 2.805-7.863l.017-5.086.004-1.247c.01-3.233.02-6.115.031-10.327.03-8.88-7.586-14.93-14.767-16.113a23.125 23.125 0 0 0-3.857-.324c-.408 0-.778.01-1.122.02-.238.007-.418.013-.592.013-1.112 0-2.047-.013-3.123-.169a4.437 4.437 0 0 1-.67-.163c-.706-.494-1.778-1.252-3.392-1.252-.354 0-.493.011-.63.035-.863.14-1.379.38-1.657.508-.206.095-.369.166-.495.216l-2.833-.793a2.506 2.506 0 0 0-2.307.514 2.52 2.52 0 0 0-.857 2.208l.336 2.805a13.872 13.872 0 0 0-2.62-.552c-.424-.049-.83-.072-1.244-.072-.68 0-1.36.064-2.08.196a4.88 4.88 0 0 1-1.517.063 5.02 5.02 0 0 1-.735-.13c-.693-.388-1.662-.93-3.03-.93-1.198.098-1.738.28-2.18.484a5.153 5.153 0 0 0-1.868-.828c-.413-.095-.602-.117-.792-.117-1.095 0-1.68.188-2.068.312a9.534 9.534 0 0 1-.483.145c-.507-.297-1.474-.865-2.864-.865-.365.001-.508.013-.648.038-1.17.204-1.828.596-2.225.861a5.15 5.15 0 0 0-2.416-1.219c-.546-.09-.673-.099-.8-.099-.83 0-1.295.117-1.633.202-1.146.292-1.596.322-1.736.322a4.822 4.822 0 0 1-.8-.099c-.682-.345-1.543-.78-2.782-.78-.744.002-1.029.052-1.299.15-.95.34-1.396.613-1.722.857l-1.275-.046c-.816-.518-1.437-.915-2.353-1.124-.439-.105-.633-.127-.827-.127-1.11 0-1.71.183-2.24.345-.589.18-.98.274-1.167.282a4.786 4.786 0 0 1-.753-.087c-.758-.335-1.547-.687-2.652-.687-.45.001-.624.02-.794.056-1.244.31-1.745.62-2.147.867-.077.048-.816.102-2.216.16-.31 0-.59.048-.856.141-1.602-.843-3.344-1.333-4.86-1.333-.984 0-1.888.204-2.687.605-.307.154-.454.2-.507.214-1.23-.569-2.124-.767-3.067-.767-1.51 0-3.064.506-4.632 1.507l-1.57.058c-.608-.41-1.399-.944-2.56-1.099a5.781 5.781 0 0 0-.716-.052c-1.084 0-1.842.338-2.295.54-.242.11-.422.183-.55.233-.45-.203-1.228-.532-2.288-.532-.519.001-.72.026-.918.075-1.38.344-2.056.885-2.459 1.208a5.327 5.327 0 0 0-2.724-.912c-1.116 0-1.775.251-2.169.401-1.338.51-1.792.563-1.81.564-.548.018-.648.014-.737.006-.544-.206-1.258-.475-2.219-.475-.77.004-1.063.058-1.339.161-.833.31-1.176.498-1.464.69a4.581 4.581 0 0 0-.627-.23c-.079-.024-.27-.071-.576-.143a2.463 2.463 0 0 0-.56-.064c-1.61 0-2.497.483-3.148.848a12.79 12.79 0 0 0-.78-.12 15.78 15.78 0 0 0-1.958-.135c-.466 0-.932.025-1.422.075-1.089.114-2.11.374-3.218.82a5.796 5.796 0 0 1-1.64.428c-.549.031-.582.03-.609.03-.498-.165-1.17-.388-2.042-.388-.497.003-.676.024-.852.064-.874.198-1.37.418-1.787.665-2.426-2.873-6.205-4.525-10.583-4.525-.985 0-2.012.082-3.05.242-1.95.303-3.354.521-4.849 1.017-.474.16-.935.346-1.423.544-.51.208-1.228.5-1.663.62a24.971 24.971 0 0 1-1.3-.165c-.692-.099-1.233-.176-1.792-.176-.747 0-1.433.137-2.097.421-.923.4-1.462.938-1.895 1.368-.479.477-.768.726-.919.845l-1.819.46A2.514 2.514 0 0 0 .022 9.7l1.57 11.887a2.512 2.512 0 0 0 1.745 2.073l.031 10.131c.006 1.937-.612 3.216-1.062 4.151-.41.85-.97 2.014-.804 3.573.055.544.188 1.02.362 1.44a5.357 5.357 0 0 0-.379 1.978c.015 1.505.655 2.511.962 2.994.34.532.97 1.52.973 3.325l.04 12.57c-1.2.232-2.025 1.151-2.122 2.271L.186 79.476a2.519 2.519 0 0 0 .896 2.152 2.499 2.499 0 0 0 2.273.488l2.25-.627c.53.3 1.126.636 1.975.793.383.074.542.09.702.09 1.671 0 2.636-.569 3.411-1.025.52-.306.793-.452.932-.52.794-.123 1.524-.149 2.415-.149.191 0 .911.005.912.005 1.888 0 3.796-.158 6.02-.499 2.471-.38 10.05-2.175 13.028-9.953.533.07.626.074.72.074 1.566-.002 2.533-.587 3.052-.902.325-.133.441-.135.56-.135.292 0 .616.012.99.036.99.11 1.6.182 2.334.182.38 0 .741-.018 1.107-.058a13.902 13.902 0 0 0 3.394-.786s.45-.155.57-.198c.388-.139.523-.183.77-.207.497.124 1.122.297 1.903.297.704 0 1.386-.139 2.025-.41.246-.106.522-.237 1.412-.789l3.82-.594.59-.046a5.04 5.04 0 0 0 2.422 1.106c.334.054.467.064.602.064 1.551-.004 2.477-.539 2.78-.715.79.117 1.561.4 2.543.4.217 0 .642-.009 1.273-.028a2.5 2.5 0 0 0 1.891-.928l.594-.734c.581-.03.658-.038.735-.049l6.077-.886c1.972 1.284 4.187 2.056 5.976 2.056 1.088 0 2.08-.26 2.948-.77 1.063.494 1.9.676 2.788.676 1.554 0 3.321-.624 4.968-1.695.227.07.465.108.707.11l1.814.015c.642.523 1.33 1.083 2.444 1.38.556.137.758.162.96.162 1.432 0 2.23-.353 2.756-.587.791-.016 1.395.118 2.09.284 1.265.3 2.56.462 4.077.51 1.122.005 1.85-.13 2.331-.22.577-.096.666-.11.751-.122a5.442 5.442 0 0 0 2.368.56c.564-.004.771-.03.972-.084a14.403 14.403 0 0 0 2.097-.763 5 5 0 0 0 2.082 1.038c.466.11.656.131.847.131 1.354 0 2.126-.342 2.417-.47.717.295 1.686.801 2.996.801.191 0 .73-.058 1.613-.174a2.503 2.503 0 0 0 1.554-.84l.744-.189c.16.005 1.005-.047 2.533-.155l1.136.3c.12.093.292.236.543.451.604.514 1.35 1.15 2.562 1.442.465.115.668.14.872.14 1.28 0 1.971-.266 2.43-.442.484.083.955.21 1.303.31.161.044.315.097.472.15.757.255 1.721.58 2.93.715a13.8 13.8 0 0 0 1.552.09c.82 0 1.432-.078 1.88-.135 0 0 .49-.06.613-.079.108-.014.04 1.17-.203 3.554a2.51 2.51 0 0 0 .471 1.898 2.502 2.502 0 0 0 1.685.986l1.8.232c.195.14.506.368.992.744.772.6 1.435 1.115 2.554 1.394.555.124.737.143.92.143.788 0 1.19-.064 1.745-.155.441-.072 1.35-.219 1.821-.22.353.058.801.182 1.222.338.096.04.415.215.57.3.718.393 1.701.932 3.077.932.187 0 .4-.014.637-.04.765-.097 1.325-.334 1.866-.564.386-.164.64-.26.803-.319l1.821.3c.472.61 1.052 1.221 1.975 1.66.697.338 1.46.51 2.265.51.138 0 .368-.006.932-.049.326-.025.72-.054.991-.057.837.43 1.831 1.07 3.327 1.07 1.422-.103 2.118-.459 2.534-.672.212-.11.383-.194.52-.258l2.42.467c1.104.045 1.72-.195 2.19-.637a2.517 2.517 0 0 0 .77-2.154l-.443-3.445z",key:0}),r.createElement("path",{d:"M141.95 78.255v5.305h5.028v1.25h-6.618v-6.555h1.59zm-17.92 0h1.96l3.466 6.554h-1.607l-.749-1.412h-4.189l-.749 1.412h-1.607l3.475-6.554zm-.469 3.893h2.871l-1.435-2.689-1.436 2.69zm-19.94-2.644v-1.249h7.817v1.25h-3.114v5.304h-1.589v-5.305h-3.114zm-12.7 5.305v-6.555h1.588v6.555H90.92zm-16.449-2.463V81.08h4.93v.38c0 1.002-.392 1.823-1.174 2.463a4.62 4.62 0 0 1-1.499.792 6.187 6.187 0 0 1-1.923.285 5.748 5.748 0 0 1-1.84-.285 4.562 4.562 0 0 1-1.472-.8c-.753-.629-1.129-1.426-1.129-2.392 0-.47.097-.906.29-1.308.192-.4.474-.756.848-1.064a4.623 4.623 0 0 1 1.476-.806 5.642 5.642 0 0 1 1.827-.29c.861 0 1.61.132 2.248.395a3.752 3.752 0 0 1 1.561 1.163l-1.65.58a2.642 2.642 0 0 0-.954-.643 3.232 3.232 0 0 0-1.214-.218c-.427 0-.816.056-1.168.168a2.855 2.855 0 0 0-.908.462 2.09 2.09 0 0 0-.587.692 1.858 1.858 0 0 0-.208.87c0 .687.32 1.243.957 1.665.247.162.534.293.863.39a3.72 3.72 0 0 0 1.06.144c.331 0 .646-.033.944-.099.298-.067.568-.16.812-.285.244-.124.458-.27.641-.44.183-.169.33-.352.438-.553h-3.169zM57.078 84.81v-6.555h1.588v6.555h-1.588zm-12.765-
15.635c.343.293.607.646.79 1.06.184.412.276.87.276 1.37 0 .966-.389 1.757-1.165 2.372a3.668 3.668 0 0 1-1.16.617 4.534 4.534 0 0 1-1.413.216h-4.603v-6.554h4.386c.608 0 1.156.08 1.644.24.487.16.902.386 1.245.68zm-1.01 3.54a1.8 1.8 0 0 0 .406-1.137 2.1 2.1 0 0 0-.163-.827 1.973 1.973 0 0 0-1.142-1.09 2.411 2.411 0 0 0-.88-.156h-2.898v4.056h2.907c.343 0 .673-.076.99-.227a2.17 2.17 0 0 0 .78-.619z",key:1})]))}i.defaultProps={viewBox:"0 0 188 85"},t.exports=i,i.default=i},2568:function(t,e,n){var r=n(7294);function i(t){return r.createElement("svg",t,r.createElement("g",{id:"g10",transform:"matrix(1.33333,0,0,-1.33333,-278.052,902.583)"},r.createElement("g",{id:"g14"},r.createElement("g",{id:"g16"},[r.createElement("g",{id:"g22",transform:"matrix(1,0,0,1,649.836,676.938)",key:0},r.createElement("path",{id:"path24",d:"M0,0L-397.219,0C-429.415,0 -441.297,-11.882 -441.297,-44.093L-441.297,-432.769C-441.297,-436.414 -441.15,-439.8 -440.828,-442.937C-440.095,-449.968 -439.957,-456.781 -433.418,-464.538C-432.779,-465.298 -426.103,-470.266 -426.103,-470.266C-422.512,-472.027 -420.06,-473.324 -416.01,-474.954L-220.414,-556.902C-210.26,-561.557 -206.014,-563.371 -198.639,-563.225L-198.639,-563.226L-198.581,-563.226L-198.581,-563.225C-191.206,-563.371 -186.96,-561.557 -176.805,-556.902L18.79,-474.954C22.841,-473.324 25.292,-472.027 28.884,-470.266C28.884,-470.266 35.56,-465.298 36.198,-464.538C42.737,-456.781 42.875,-449.968 43.608,-442.937C43.93,-439.8 44.078,-436.414 44.078,-432.769L44.078,-44.093C44.078,-11.882 32.195,0 0,0",style:{fill:"#000000",fillOpacity:"0",strokeWidth:"10"}})),r.createElement("g",{id:"g26",transform:"matrix(1,0,0,1,623.23,286.175)",key:1},r.createElement("path",{id:"path28",d:"M0,0L-0.09,-0.897L-0.179,-1.882L-0.359,-2.779L-0.627,-3.675L-0.801,-4.482L-1.071,-5.379L-1.429,-6.186L-1.788,-6.904L-2.141,-7.71L-2.589,-8.427L-3.037,-9.145L-3.57,-9.862L-4.019,-10.579L-4.551,-11.206L-5.179,-11.834L-5.712,-12.372L-6.428,-13L-7.051,-13.538L-7.768,-14.076L-8.48,-14.518L-9.192,-15.056L-9.999,-15.504L-10.801,-15.863L-11.602,-16.311L-12.499,-16.67L-13.39,-17.029L-14.281,-17.297L-15.172,-17.567L-15.979,-17.835L-16.87,-18.015L-17.672,-18.194L-18.473,-18.373L-19.37,-18.553L-20.262,-18.642L-21.063,-18.732L-21.96,-18.822L-22.94,-18.912L-23.832,-19.001L-27.581,-19.001L-28.473,-18.912L-29.453,-18.912L-30.345,-18.822L-31.241,-18.732L-32.222,-18.642L-33.113,-18.463L-34.004,-18.373L-34.901,-18.194L-35.793,-18.015L-36.684,-17.835L-37.575,-17.656L-38.471,-17.388L-39.273,-17.208L-40.164,-16.939L-41.056,-16.67L-41.862,-16.311L-42.753,-16.042L-43.555,-15.774L-44.447,-15.415L-45.253,-15.056L-46.055,-14.697L-46.857,-14.255L-47.663,-13.896L-48.465,-13.447L-49.177,-13L-49.984,-12.551L-50.696,-12.103L-51.413,-11.655L-52.837,-10.579L-53.554,-10.041L-54.267,-9.503L-54.894,-8.965L-55.606,-8.338L-55.068,-7.621L-54.446,-6.993L-53.908,-6.275L-53.285,-5.558L-52.747,-4.931L-52.215,-4.214L-51.587,-3.496L-51.055,-2.869L-50.427,-2.152L-49.894,-1.524L-49.267,-0.807L-48.734,-0.089L-48.196,0.538L-47.574,1.255L-47.036,1.973L-46.414,2.6L-45.876,3.317L-45.164,2.779L-44.362,2.241L-43.645,1.703L-42.843,1.165L-42.126,0.717L-41.324,0.18L-40.613,-0.269L-39.805,-0.627L-39.094,-1.076L-38.292,-1.435L-37.485,-1.793L-36.684,-2.152L-35.881,-2.421L-35.075,-2.779L-34.184,-3.048L-33.292,-3.317L-32.491,-3.586L-31.594,-3.766L-29.812,-4.124L-28.831,-4.214L-27.935,-4.393L-27.043,-4.393L-26.063,-4.482L-24.101,-4.482L-23.12,-4.393L-22.223,-4.214L-21.422,-4.034L-20.62,-3.855L-19.903,-3.586L-19.28,-3.228L-18.563,-2.69L-18.031,-2.062L-17.672,-1.344L-17.402,-0.538L-17.314,0.359L-17.314,0.538L-17.402,1.614L-17.761,2.511L-18.21,3.138L-18.832,3.676L-19.55,4.214L-20.262,4.572L-21.063,4.931L-21.96,5.29L-23.03,5.737L-23.653,5.917L-24.364,6.096L-25.171,6.366L-25.973,6.545L-26.864,6.814L-27.761,6.993L-28.741,7.262L-29.633,7.441L-30.614,7.71L-31.505,7.889L-32.402,8.158L-33.292,8.338L-34.184,8.607L-34.991,8.875L-35.881,9.055L-36.684,9.324L-37.485,9.593L-38.292,9.862L-39.273,10.221L-40.164,10.58L-41.056,10.938L-41.952,11.297L-42.753,11.745L-43.645,12.193L-44.362,12.641L-45.164,13.089L-45.876,13.627L-46.593,14.075L-47.215,14.614L-47.842,15.241L-48.465,15.869L-49.003,16.497L-49.535,17.124L-49.984,17.751L-50.427,18.469L-50.875,19.275L-51.234,19.897L-51.503,20.615L-51.766,21.422L-52.035,22.139L-52.215,23.036L-52.394,23.843L-52.484,24.739L-52.573,25.636L-52.663,26.621L-52.663,28.684L-52.573,29.58L-52.484,30.387L-52.394,31.284L-52.215,32.09L-52.035,32.897L-51.766,33.705L-51.587,34.511L-51.234,35.318L-50.875,36.125L-50.517,36.931L-50.073,37.739L-49.626,38.545L-49.093,39.263L-48.554,39.98L-47.932,40.697L-47.305,41.324L-46.682,42.042L-45.965,42.67L-45.343,43.118L-44.626,43.656L-43.913,44.194L-43.202,44.642L-42.395,45.09L-41.593,45.449L-40.792,45.897L-39.985,46.255L-39.094,46.525L-38.203,46.883L-37.396,47.152L-36.684,47.332L-35.881,47.511L-35.075,47.69L-34.184,47.869L-33.382,48.049L-32.491,48.138L-31.594,48.228L-30.703,48.318L-29.812,48.407L-25.973,48.407L-24.992,48.318L-24.011,48.228L-23.12,48.228L-22.134,48.138L-21.243,47.959L-20.262,47.869L-19.37,47.69L-18.563,47.511L-17.672,47.332L-16.781,47.152L-15.979,46.973L-15.083,46.704L-14.281,46.435L-13.479,46.255L-12.583,45.897L-11.781,45.
1628L-10.98,45.27L-10.178,44.911L-9.282,44.552L-8.48,44.104L-7.768,43.745L-6.961,43.297L-6.159,42.849L-5.447,42.4L-4.641,41.862L-3.928,41.415L-3.211,40.876L-2.499,40.338L-1.788,39.801L-2.32,39.083L-2.768,38.366L-3.301,37.649L-3.839,36.931L-4.371,36.125L-4.82,35.408L-5.358,34.69L-5.891,33.973L-6.338,33.256L-6.872,32.538L-7.409,31.821L-7.858,31.104L-8.39,30.297L-8.929,29.58L-9.461,28.863L-9.909,28.146L-10.442,27.429L-11.159,27.966L-11.96,28.415L-12.673,28.863L-13.39,29.401L-14.191,29.759L-14.909,30.208L-15.71,30.567L-16.422,30.925L-17.229,31.284L-17.941,31.642L-18.742,31.911L-19.459,32.27L-20.441,32.538L-21.332,32.808L-22.223,33.076L-23.12,33.256L-24.011,33.435L-24.902,33.615L-25.793,33.705L-26.69,33.794L-27.491,33.884L-29.453,33.884L-30.434,33.705L-31.331,33.525L-32.132,33.346L-32.844,32.987L-33.472,32.629L-34.274,31.911L-34.812,31.104L-35.164,30.297L-35.255,29.401L-35.255,29.221L-35.164,28.056L-34.722,27.07L-34.363,26.532L-33.741,25.904L-32.934,25.456L-32.222,25.008L-31.331,24.649L-30.345,24.29L-29.274,23.932L-28.562,23.753L-27.85,23.484L-27.043,23.305L-26.242,23.036L-25.351,22.856L-24.364,22.587L-23.383,22.319L-22.402,22.049L-21.422,21.87L-20.531,21.601L-19.55,21.332L-18.653,21.153L-17.761,20.884L-16.87,20.615L-16.069,20.346L-15.172,20.077L-14.37,19.808L-13.569,19.539L-12.583,19.186L-11.692,18.737L-10.801,18.379L-9.909,17.931L-9.102,17.482L-8.3,17.034L-7.589,16.586L-6.872,16.048L-6.159,15.6L-5.447,14.972L-4.73,14.345L-4.108,13.627L-3.481,13L-2.948,12.282L-2.41,11.476L-1.967,10.759L-1.518,9.951L-1.16,9.234L-0.891,8.428L-0.627,7.621L-0.448,6.814L-0.09,5.02L0,4.124L0.09,3.138L0.09,0.986L0,0ZM-61.702,-17.926L-113.737,-17.926L-113.737,47.332L-62.15,47.332L-62.15,32.538L-96.693,32.538L-96.693,21.87L-65.631,21.87L-65.631,7.979L-96.693,7.979L-96.693,-3.137L-61.702,-3.137L-61.702,-17.926ZM-126.917,-17.926L-144.141,-17.926L-144.141,20.663L-144.588,19.946L-145.121,19.133L-145.57,18.416L-146.102,17.698L-146.55,16.892L-147.089,16.174L-147.531,15.457L-147.98,14.645L-148.512,13.928L-148.961,13.211L-149.498,12.493L-149.941,11.681L-150.479,10.964L-150.922,10.247L-151.371,9.44L-151.909,8.718L-152.352,8L-152.89,7.194L-153.332,6.476L-153.87,5.759L-154.313,4.947L-154.762,4.229L-155.299,3.512L-155.742,2.705L-156.28,1.983L-156.723,1.266L-157.261,0.548L-157.71,-0.258L-158.153,-0.98L-158.69,-1.698L-159.133,-2.505L-159.671,-3.222L-160.119,-3.939L-160.652,-4.752L-161.1,-5.469L-161.454,-5.469L-161.991,-4.662L-162.44,-3.939L-162.973,-3.132L-163.421,-2.415L-163.954,-1.609L-164.402,-0.886L-164.934,-0.079L-165.383,0.639L-165.921,1.445L-166.364,2.162L-166.902,2.975L-167.344,3.692L-167.882,4.499L-168.331,5.216L-168.863,6.028L-169.312,6.745L-169.844,7.552L-170.382,8.269L-170.83,9.081L-171.363,9.798L-171.811,10.605L-172.344,11.322L-172.792,12.135L-173.325,12.852L-173.773,13.659L-174.311,14.376L-174.754,15.183L-175.292,15.906L-175.735,16.712L-176.273,17.43L-176.721,18.237L-177.253,18.953L-177.703,19.766L-178.235,20.483L-178.235,-17.926L-195.195,-17.926L-195.195,47.332L-176.895,47.332L-176.452,46.614L-176.004,45.808L-175.472,45.096L-175.023,44.289L-174.575,43.572L-174.132,42.764L-173.684,42.053L-173.15,41.245L-172.703,40.528L-172.254,39.811L-171.811,39.01L-171.363,38.292L-170.83,37.486L-170.382,36.768L-169.934,35.967L-169.491,35.25L-168.953,34.533L-168.504,33.73L-168.062,33.014L-167.614,32.207L-167.17,31.489L-166.632,30.688L-166.184,29.97L-165.742,29.164L-165.293,28.452L-164.85,27.735L-164.312,26.928L-163.864,26.21L-163.421,25.403L-162.973,24.691L-162.53,23.884L-161.991,23.167L-161.543,22.366L-161.1,21.648L-160.652,22.366L-160.204,23.167L-159.671,23.884L-159.224,24.691L-158.78,25.403L-158.332,26.21L-157.799,26.928L-157.351,27.735L-156.902,28.452L-156.46,29.164L-155.922,29.97L-155.479,30.688L-155.03,31.489L-154.583,32.207L-154.05,33.014L-153.602,33.73L-153.153,34.533L-152.711,35.25L-152.261,35.967L-151.729,36.768L-151.281,37.486L-150.833,38.292L-150.389,39.01L-149.852,39.811L-149.408,40.528L-148.961,41.245L-148.512,42.053L-147.98,42.764L-147.531,43.572L-147.089,44.289L-146.64,45.096L-146.102,45.808L-145.659,46.614L-145.211,47.332L-126.917,47.332L-126.917,-17.926ZM-231.367,8.965L-231.636,9.777L-231.989,10.674L-232.348,11.481L-232.617,12.293L-232.97,13.1L-233.328,13.997L-233.598,14.809L-233.957,15.616L-234.309,16.422L-234.579,17.234L-234.938,18.131L-235.201,18.938L-235.56,19.75L-235.919,20.557L-236.187,21.364L-236.541,22.265L-236.899,23.073L-237.168,23.879L-237.527,24.691L-237.88,25.588L-238.149,26.4L-238.508,27.207L-238.861,26.4L-239.129,25.588L-239.488,24.691L-239.847,23.879L-240.111,23.073L-240.469,22.265L-240.828,21.364L-241.181,20.557L-241.451,19.75L-241.809,18.938L-242.168,18.131L-242.432,17.234L-242.79,16.422L-243.149,15.616L-243.417,14.809L-243.771,13.997L-244.13,13.1L-244.488,12.293L-244.751,11.481L-245.11,10.674L-245.469,9.777L-245.738,8.965L-246.091,8.158L-231.009,8.158L-231.367,8.965ZM-202.447,-17.926L-220.835,-17.926L-221.189,-17.118L-221.458,-16.311L-221.816,-15.504L-222.175,-14.608L-222.439,-13.806L-222.797,-13L-223.156,-12.193L-223.42,-11.386L-223.778,-10.579L-224.137,-9.772L-224.405,-8.965L-224.759,-8.069L-225.118,-7.262L-225.387,-6.455L-225.746,-5.648L-251.36,-5.648L-251.713,-6.455L-251.982,-7.262L-252.341,-8.069L-252.699,-8.965L-252.963,-9.772L-253.321,-10.579L-253.68,-11.386L-253.949,-12.193L-254.302,-13L-254.661,-13.806L-254.93,-14.608L-255.284,-15.504L-255.642,-16.311L-255.911,-17.118L-256.27,-17.926L-274.295,-17.926L-273.942,-17.118L-273.583,-16.311L-273.225,-15.504L-272.871,-14.608L-272.602,-13.806L-272.243,-13L-271.885,-12.193L-271.532,-11.386L-271.173,-10.579L-270.814,-9.682L-270.461,-8.875L-270.102,-8.069L-269.834,-7.262L-269.475,-6.455L-269.122,-5.648L-268.763,-4.752L-268.405,-3.945L-268.051,-3.137L-267.692,-2.331L-267.334,-1.524L-267.065,-0.717L-266.712,0.18L-266.353,0.986L-265.994,1.793L-265.641,2.6L-264.923,4.214L-264.57,5.111L-264.301,5.917L-263.942,6.724L-263.584,7.531L-263.23,8.338L-262.872,9.145L-262.514,10.041L-262.16,10.848L-261.802,11.655L-261.533,12.462L-261.174,13.268L-260.821,14.075L-260.462,14.972L-260.103,15.779L-259.75,16.586L-259.392,17.393L-259.033,18.199L-258.764,19.007L-258.41,19.808L-258.052,20.705L-257.694,21.511L-257.34,22.319L-256.982,23.126L-256.623,23.932L-256.27,24.739L-256.001,25.636L-255.642,26.442L-255.284,27.249L-254.93,28.056L-254.571,28.863L-254.213,29.67L-253.859,30.567L-253.501,31.373L-253.232,32.18L-252.874,32.987L-252.52,33.794L-252.162,34.601L-251.803,35.497L-251.45,36.304L-250.732,37.918L-250.469,38.724L-250.11,39.532L-249.751,40.428L-249.392,41.235L-249.039,42.042L-248.68,42.849L-248.322,43.656L-247.969,44.462L-247.699,45.359L-247.341,46.166L-246.982,46.973L-246.629,47.78L-230.117,47.78L-229.759,46.973L-229.4,46.166L-229.046,45.359L-228.688,44.462L-228.419,43.656L-228.066,42.849L-227.707,42.042L-227.349,41.235L-226.99,40.428L-226.637,39.532L-226.278,38.724L-225.919,37.918L-225.656,37.111L-224.938,35.497L-224.579,34.601L-224.226,33.794L-223.868,32.987L-223.509,32.18L-223.156,31.373L-222.887,30.567L-222.529,29.67L-222.175,28.863L-221.816,28.056L-221.458,27.249L-221.099,26.442L-220.746,25.636L-220.388,24.739L-220.118,23.932L-219.765,23.126L-219.407,22.319L-219.048,21.511L-218.689,20.705L-218.336,19.808L-217.977,19.007L-217.619,18.199L-217.355,17.393L-216.997,16.586L-216.638,15.779L-216.284,14.972L-215.926,14.075L-215.567,13.268L-215.208,12.462L-214.855,11.655L-214.586,10.848L-214.228,10.041L-213.874,9.145L-213.516,8.338L-213.157,7.531L-212.799,6.724L-212.445,5.917L-212.086,5.111L-211.818,4.214L-211.464,3.407L-211.106,2.6L-210.747,1.793L-210.394,0.986L-210.035,0.18L-209.676,-0.717L-209.317,-1.524L-209.054,-2.331L-208.695,-3.137L-208.336,-3.945L-207.983,-4.752L-207.625,-5.648L-207.266,-6.455L-206.908,-7.262L-206.555,-8.069L-206.285,-8.875L-205.926,-9.682L-205.573,-10.579L-204.857,-12.193L-204.503,-13L-204.145,-13.806L-203.786,-14.608L-203.516,-15.504L-203.164,-16.311L-202.805,-17.118L-202.447,-17.926ZM-281.53,-9.592L-282.247,-10.13L-282.87,-10.579L-283.587,-11.117L-284.299,-11.565L-285.011,-12.103L-285.728,-12.551L-286.44,-13L-287.247,-13.447L-288.049,-13.896L-288.851,-14.344L-289.657,-14.697L-290.459,-15.146L-291.35,-15.504L-292.151,-15.863L-293.048,-16.221L-293.849,-16.58L-294.652,-16.849L-295.458,-17.118L-296.26,-17.388L-297.151,-17.656L-297.952,-17.926L-298.849,-18.105L-299.651,-18.284L-300.542,-18.463L-301.438,-18.642L-302.33,-18.732L-303.311,-18.822L-304.202,-18.912L-305.183,-19.001L-306.08,-19.091L-307.06,-19.18L-310.9,-19.18L-311.791,-19.091L-312.772,-19.001L-313.663,
1-18.912L-314.554,-18.822L-315.451,-18.732L-316.342,-18.553L-317.234,-18.373L-318.035,-18.194L-318.931,-18.015L-319.733,-17.746L-320.624,-17.567L-321.431,-17.297L-322.233,-16.939L-323.035,-16.67L-323.925,-16.311L-324.732,-15.953L-325.534,-15.595L-326.335,-15.236L-327.143,-14.788L-327.854,-14.344L-328.656,-13.896L-329.373,-13.447L-330.085,-13L-330.802,-12.461L-331.514,-11.924L-332.227,-11.386L-332.854,-10.848L-333.476,-10.31L-334.104,-9.682L-334.726,-9.145L-335.354,-8.517L-335.976,-7.889L-336.514,-7.262L-337.047,-6.545L-337.585,-5.917L-338.033,-5.2L-338.566,-4.482L-339.013,-3.766L-339.457,-3.048L-339.905,-2.241L-340.353,-1.524L-340.706,-0.717L-341.065,0.09L-341.423,0.897L-341.777,1.703L-342.046,2.42L-342.405,3.228L-342.584,4.035L-342.848,4.841L-343.027,5.737L-343.296,6.545L-343.475,7.441L-343.565,8.248L-343.745,9.145L-343.833,9.951L-343.924,10.848L-344.008,11.745L-344.097,12.641L-344.097,15.6L-344.008,16.586L-344.008,17.482L-343.924,18.379L-343.833,19.365L-343.654,20.256L-343.565,21.153L-343.386,21.96L-343.117,22.856L-342.937,23.753L-342.674,24.56L-342.405,25.456L-342.136,26.263L-341.777,27.16L-341.423,27.966L-341.065,28.773L-340.706,29.58L-340.353,30.387L-339.905,31.194L-339.457,31.911L-339.013,32.629L-338.566,33.346L-338.117,34.063L-337.585,34.78L-337.047,35.497L-336.514,36.214L-335.976,36.843L-335.354,37.47L-334.816,38.098L-334.193,38.724L-333.566,39.353L-332.944,39.89L-332.227,40.518L-331.604,41.056L-330.892,41.594L-330.175,42.042L-329.463,42.58L-328.745,43.028L-328.034,43.476L-327.232,43.925L-326.425,44.373L-325.624,44.821L-324.822,45.18L-324.016,45.538L-323.124,45.987L-322.412,46.255L-321.521,46.525L-320.713,46.883L-319.912,47.063L-319.111,47.332L-318.215,47.511L-317.413,47.78L-316.522,47.959L-315.63,48.049L-314.734,48.228L-313.842,48.318L-312.952,48.407L-312.06,48.497L-311.163,48.587L-307.33,48.587L-306.343,48.497L-305.362,48.407L-304.471,48.407L-303.58,48.318L-302.599,48.138L-301.792,48.049L-300.901,47.869L-300.009,47.69L-299.203,47.511L-298.402,47.332L-297.599,47.152L-296.792,46.883L-295.991,46.704L-295.279,46.435L-294.472,46.166L-293.67,45.808L-292.869,45.449L-292.062,45.09L-291.26,44.642L-290.459,44.283L-289.741,43.835L-288.94,43.387L-288.228,42.939L-287.421,42.49L-286.709,41.953L-285.997,41.504L-285.28,40.966L-284.568,40.428L-283.851,39.801L-283.139,39.263L-283.677,38.545L-284.299,37.918L-284.837,37.201L-285.459,36.484L-285.997,35.766L-286.53,35.139L-287.158,34.422L-287.69,33.705L-288.228,33.076L-288.851,32.359L-289.388,31.642L-290.011,30.925L-290.549,30.297L-291.081,29.58L-291.708,28.863L-292.242,28.146L-292.869,27.518L-293.402,26.801L-294.119,27.339L-294.831,27.966L-295.548,28.415L-296.26,28.953L-296.972,29.401L-297.689,29.85L-298.402,30.297L-299.203,30.746L-299.92,31.104L-300.632,31.463L-301.349,31.732L-302.151,32.001L-302.952,32.27L-303.759,32.449L-304.65,32.629L-305.541,32.808L-306.433,32.897L-307.414,32.987L-308.4,33.076L-310.272,33.076L-311.163,32.987L-311.97,32.897L-312.861,32.718L-313.663,32.538L-314.47,32.27L-315.271,32.001L-316.073,31.642L-316.875,31.284L-317.592,30.836L-318.303,30.387L-319.021,29.938L-319.643,29.401L-320.271,28.863L-320.893,28.325L-321.431,27.698L-322.053,27.07L-322.591,26.353L-323.035,25.725L-323.483,25.008L-323.925,24.201L-324.374,23.484L-324.732,22.677L-325.001,21.87L-325.355,21.063L-325.624,20.167L-325.803,19.275L-325.982,18.469L-326.162,17.482L-326.251,16.586L-326.335,15.69L-326.335,13.627L-326.251,12.731L-326.162,11.924L-326.072,11.027L-325.893,10.221L-325.713,9.413L-325.534,8.607L-325.265,7.8L-325.001,7.083L-324.642,6.187L-324.284,5.379L-323.841,4.572L-322.945,3.138L-322.412,2.42L-321.874,1.793L-321.252,1.165L-320.713,0.538L-320.092,0L-319.374,-0.538L-318.662,-1.076L-317.951,-1.524L-317.234,-1.972L-316.431,-2.331L-315.63,-2.69L-314.824,-3.048L-313.932,-3.317L-313.041,-3.586L-312.144,-3.766L-311.253,-3.945L-310.362,-4.034L-309.381,-4.124L-307.33,-4.124L-306.343,-4.034L-305.362,-3.945L-304.471,-3.855L-303.58,-3.675L-302.683,-3.496L-301.792,-3.228L-300.991,-3.048L-300.188,-2.69L-299.471,-2.331L-298.67,-1.972L-298.043,-1.614L-297.33,-1.165L-297.33,6.993L-310.362,6.993L-310.362,20.077L-280.908,20.077L-280.908,-9.055L-281.53,-9.592Z",
1style:{fillRule:"nonzero"}})),r.createElement("g",{id:"g30",transform:"matrix(1,0,0,1,312.995,481.159)",key:2},r.createElement("path",{id:"path32",d:"M0,0L38.683,0L38.683,29.922L0,29.922L0,91.008L40.223,91.008L40.223,120.93L-32.849,120.93L-32.849,-95.021L40.835,-95.021L40.835,-65.098L-0,-65.098L0,0Z",style:{fillRule:"nonzero"}})),r.createElement("g",{id:"g34",transform:"matrix(1,0,0,1,590.07,474.677)",key:3},r.createElement("path",{id:"path36",d:"M0,0L0,-48.744C0,-57.383 -3.993,-61.391 -12.278,-61.391L-18.422,-61.391C-27.017,-61.391 -31.01,-57.383 -31.01,-48.744L-31.01,87.618C-31.01,96.256 -27.017,100.264 -18.422,100.264L-12.895,100.264C-4.605,100.264 -0.612,96.256 -0.612,87.618L-0.612,45.349L31.621,45.349L31.621,89.469C31.621,116.306 18.726,129.264 -7.979,129.264L-23.948,129.264C-50.654,129.264 -63.86,116 -63.86,89.158L-63.86,-50.284C-63.86,-77.127 -50.654,-90.39 -23.948,-90.39L-7.674,-90.39C19.038,-90.39 32.237,-77.127 32.237,-50.284L32.237,-0L0,0Z",style:{fillRule:"nonzero"}})),r.createElement("rect",{id:"path38",x:"475.995",y:"386.138",width:"32.854",height:"215.952",style:{fillRule:"nonzero"},key:4}),r.createElement("g",{id:"g40",transform:"matrix(1,0,0,1,428.326,506.146)",key:5},r.createElement("path",{id:"path42",d:"M0,0C0,-8.639 -3.987,-12.652 -12.277,-12.652L-25.788,-12.652L-25.788,66.944L-12.277,66.944C-3.987,66.944 0,62.935 0,54.298L0,0ZM-7.061,95.944L-58.638,95.944L-58.638,-120.008L-25.788,-120.008L-25.788,-41.646L-7.061,-41.646C19.65,-41.646 32.85,-28.383 32.85,-1.546L32.85,55.838C32.85,82.68 19.65,95.944 -7.061,95.944",style:{fillRule:"nonzero"}})),r.createElement("g",{id:"g44",transform:"matrix(1,0,0,1,357.642,190.875)",key:6},r.createElement("path",{id:"path46",d:"M0,0L188.054,0L92.068,-31.654L0,0Z"}))]))))}i.defaultProps={viewBox:"0 0 648 751",version:"1.1",xmlSpace:"preserve",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"}},t.exports=i,i.default=i},5449:function(t,e,n){var r=n(7294);function i(t){return r.createElement("svg",t,r.createElement("g",{id:"g10",transform:"matrix(4.34856,0,0,-4.34856,-987,629.898)"},r.createElement("g",{id:"g14"},r.createElement("g",{id:"g16"},[r.createElement("g",{id:"g741",transform:"matrix(0.98187,0,0,0.98187,281.817,95.576)",key:0},r.createElement("path",{id:"path761",d:"M-0.004,48.485C-0.746,49.229 -1.776,49.689 -2.91,49.689L-51.225,49.689C-52.359,49.689 -53.389,49.229 -54.131,48.485C-54.875,47.743 -55.337,46.711 -55.337,45.578L-55.337,0C-55.337,-1.134 -54.875,-2.166 -54.131,-2.908C-53.389,-3.651 -52.359,-4.113 -51.225,-4.113L-2.91,-4.113C-1.776,-4.113 -0.746,-3.651 -0.004,-2.908C0.74,-2.166 1.202,-1.134 1.202,0L1.202,45.578C1.202,46.711 0.74,47.743 -0.004,48.485",style:{fill:"#6d3370",fillOpacity:"0",fillRule:"nonzero"}})),r.createElement("g",{id:"g50",transform:"matrix(1,0,0,1,243.818,110.312)",key:1},r.createElement("path",{id:"path52",d:"M0,0L-6.577,0C-7.093,0 -7.507,-0.419 -7.507,-0.935C-7.507,-0.935 -7.505,-0.935 -7.505,-0.941L-7.507,-0.941L-7.507,-5.634L-7.505,-5.634L-7.507,-5.638C-7.507,-6.152 -7.093,-6.575 -6.577,-6.575L0,-6.575L0,-9.706L-8.207,-9.706L-8.207,-9.698C-9.55,-9.698 -10.636,-8.612 -10.636,-7.273L-10.636,0.707C-10.636,2.039 -9.55,3.125 -8.207,3.125L0,3.125L0,0Z",style:{fillRule:"nonzero"}})),r.createElement("g",{id:"g54",transform:"matrix(1,0,0,1,246.192,119.026)",key:2},r.createElement("path",{id:"path56",d:"M0,0C0,-1.365 -1.103,-2.463 -2.462,-2.463L-13.018,-2.463L-13.018,0.71L-4.118,0.71C-3.594,0.71 -3.174,1.138 -3.174,1.659L-3.174,12.147C-3.174,12.67 -3.594,13.094 -4.118,13.094L-8.901,13.094C-9.424,13.094 -9.845,12.67 -9.845,12.147L-9.845,7.374C-9.845,6.85 -9.424,6.425 -8.901,6.425L-5.08,6.425L-5.08,3.252L-10.557,3.252C-11.919,3.252 -13.018,4.352 -13.018,5.713L-13.018,13.807C-13.018,15.167 -11.919,16.269 -10.557,16.269L-2.462,16.269C-1.103,16.269 0,15.167 0,13.807L0,0Z",style:{fillRule:"nonzero"}})),r.createElement("g",{id:"g58",transform:"matrix(1,0,0,1,277.298,100.614)",key:3},r.createElement("path",{id:"path60",d:"M0,0L-3.128,0L-3.128,9.698L-5.326,9.698C-5.843,9.698 -6.257,9.279 -6.257,8.763L-6.257,0L-9.385,0L-9.385,9.698L-11.584,9.698C-12.102,9.698 -12.516,9.279 -12.516,8.763L-12.516,-0.008L-15.643,-0.008L-15.643,10.405C-15.643,11.737 -14.56,12.823 -13.217,12.823L0,12.823L0,0Z",style:{fillRule:"nonzero"}})),r.createElement("g",{id:"g62",transform:"matrix(1,0,0,1,277.307,119.026)",key:4},r.createElement("path",{id:"path64",d:"M0,0C0,-1.365 -1.104,-2.463 -2.461,-2.463L-13.018,-2.463L-13.018,0.71L-4.118,0.71C-3.592,0.71 -3.17,1.138 -3.17,1.659L-3.17,12.147C-3.17,12.67 -3.592,13.094 -4.118,13.094L-8.9,13.094C-9.418,13.094 -9.841,12.67 -9.841,12.147L-9.841,7.374C-9.841,6.85 -9.418,6.425 -8.9,6.425L-5.081,6.425L-5.081,3.252L-10.555,3.252C-11.917,3.252 -13.018,4.352 -13.018,5.713L-13.018,13.807C-13.018,15.167 -11.917,16.269 -10.555,16.269L-2.461,16.269C-1.104,16.269 0,15.167 0,13.807L0,0Z",style:{fillRule:"nonzero"}})),r.createElement("g",{id:"g66",transform:"matrix(1,0,0,1,258.569,131.166)",key:5},r.createElement("path",{id:"path68",d:"M0,0.008L0,-4.765C0,-5.289 -0.411,-5.715 -0.936,-5.715L-5.717,-5.715C-6.242,-5.715 -6.662,-5.289 -6.662,-4.765L-6.662,0.008C-6.662,0.531 -6.242,0.954 -5.717,0.954L-0.936,0.954C-0.411,0.954 0,0.531 0,0.008ZM0.721,4.129L-7.377,4.129C-8.737,4.129 -9.836,3.027 -9.836,1.667L-9.836,-6.427C-9.836,-7.787 -8.737,-8.888 -7.377,-8.888L0.721,-8.888C2.077,-8.888 3.181,-7.787 3.181,-6.427L3.181,1.667C3.181,3.027 2.077,4.129 0.721,4.129",style:{fillRule:"nonzero"}})),r.createElement("g",{id:"g70",transform:"matrix(1,0,0,1,256.022,109.371)",key:6},r.createElement("path",{id:"path72",d:"M0,0.006L0,-4.693C0,-5.209 -0.414,-5.63 -0.928,-5.63C-0.933,-5.63 -0.934,-5.625 -0.939,-5.625L-0.939,-5.63L-5.631,-5.63L-5.631,-5.625C-5.631,-5.625 -5.636,-5.63 -5.641,-5.63C-6.157,-5.63 -6.571,-5.209 -6.571,-4.693L-6.571,0.006C-6.571,0.522 -6.157,0.941 -5.641,0.941L-0.928,0.941C-0.414,0.941 0,0.522 0,0.006ZM0.703,4.066L-7.273,4.066C-8.616,4.066 -9.7,2.98 -9.7,1.648L-9.7,-6.332C-9.7,-7.671 -8.616,-8.757 -7.273,-8.757L0.703,-8.757C2.041,-8.757 3.127,-7.671 3.127,-6.332L3.127,1.648C3.127,2.98 2.041,4.066 0.703,4.066",style:{fillRule:"nonzero"}})),r.createElement("g",{id:"g74",transform:"matrix(1,0,0,1,282.308,95.1629)",key:7},r.createElement("path",{id:"path76",d:"M0,0C0,-0.806 -0.325,-1.53 -0.853,-2.059C-1.381,-2.586 -2.106,-2.91 -2.91,-2.91L-51.225,-2.91C-52.03,-2.91 
1-52.754,-2.586 -53.282,-2.059C-53.81,-1.53 -54.133,-0.806 -54.135,0L-54.135,45.578C-54.133,46.383 -53.81,47.106 -53.282,47.635C-52.754,48.162 -52.03,48.486 -51.225,48.487L-2.91,48.487C-2.106,48.486 -1.381,48.162 -0.853,47.635C-0.325,47.106 0,46.383 0,45.578L0,0ZM-0.004,48.485C-0.746,49.229 -1.776,49.689 -2.91,49.689L-51.225,49.689C-52.359,49.689 -53.389,49.229 -54.131,48.485C-54.875,47.743 -55.337,46.711 -55.337,45.578L-55.337,0C-55.337,-1.134 -54.875,-2.166 -54.131,-2.908C-53.389,-3.651 -52.359,-4.113 -51.225,-4.113L-2.91,-4.113C-1.776,-4.113 -0.746,-3.651 -0.004,-2.908C0.74,-2.166 1.202,-1.134 1.202,0L1.202,45.578C1.202,46.711 0.74,47.743 -0.004,48.485",style:{fillRule:"nonzero"}}))]))))}i.defaultProps={viewBox:"0 0 246 234",version:"1.1",xmlSpace:"preserve",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"}},t.exports=i,i.default=i},8115:function(t,e,n){var r=n(7294);function i(t){return r.createElement("svg",t,r.createElement("path",{d:"M1.571 23.664l10.531-10.501 3.712 3.701-12.519 6.941c-.476.264-1.059.26-1.532-.011l-.192-.13zm9.469-11.56l-10.04 10.011v-20.022l10.04 10.011zm6.274-4.137l4.905 2.719c.482.268.781.77.781 1.314s-.299 1.046-.781 1.314l-5.039 2.793-4.015-4.003 4.149-4.137zm-15.854-7.534c.09-.087.191-.163.303-.227.473-.271 1.056-.275 1.532-.011l12.653 7.015-3.846 3.835-10.642-10.612z"}))}i.defaultProps={viewBox:"0 0 24 24",fillRule:"evenodd",clipRule:"evenodd"},t.exports=i,i.default=i},6771:function(t,e,n){var r=n(7294);function i(t){return r.createElement("svg",t,[r.createElement("path",{d:"M63.66 0.660004C71 2 78.3 4 85.52 6C89.65 7.2 93.77 8.44 97.86 9.76C104.357 11.6535 110.617 14.2804 116.52 17.59C119.162 19.1342 121.601 21.002 123.78 23.15C126.098 25.4269 127.997 28.0943 129.39 31.03C131.93 36.33 132.8 42.26 133.06 48.08C133.276 51.8872 133.075 55.7066 132.46 59.47C131.922 62.7565 130.776 65.9138 129.08 68.78C127.555 71.3165 125.389 73.4066 122.8 74.84C120.287 76.1727 117.474 76.8373 114.63 76.77C110.35 76.6622 106.147 75.5997 102.33 73.66C102.26 60.86 102.33 48.07 102.33 35.27C102.437 32.9511 102.323 30.6274 101.99 28.33C101.735 26.5171 100.875 24.8434 99.55 23.58C98.6011 22.7829 97.4598 22.2485 96.24 22.03C95.6337 21.9313 95.0121 21.9992 94.4414 22.2264C93.8707 22.4536 93.3725 22.8316 93 23.32C91.8712 24.9528 91.2996 26.9063 91.37 28.89C91.37 63.1433 91.37 97.4 91.37 131.66L63.73 122.89C63.6766 82.1433 63.6533 41.4 63.66 0.660004Z",key:0}),r.createElement("path",{d:"M22.24 87.34C34.24 83.09 46.24 78.79 58.24 74.55C58.24 79.27 58.24 83.99 58.24 88.71C58.2766 89.3495 58.2766 89.9905 58.24 90.63C48.74 94 39.24 97.42 29.77 100.81C28.4127 101.232 27.159 101.933 26.09 102.87C25.8241 103.087 25.6262 103.376 25.5198 103.702C25.4135 104.028 25.4031 104.378 25.49 104.71C25.8948 105.455 26.5721 106.014 27.38 106.27C29.4965 106.998 31.7218 107.36 33.96 107.34C36.4393 107.335 38.9117 107.08 41.34 106.58C42.9675 106.226 44.563 105.737 46.11 105.12C50.17 103.65 54.22 102.17 58.28 100.72C58.28 104.72 58.28 108.72 58.28 112.72C58.28 113.52 58.28 114.32 58.28 115.12C53.2943 116.054 48.2411 116.583 43.17 116.7C32.9273 116.905 22.7245 115.363 13 112.14C9.7692 111.315 6.71821 109.901 3.99997 107.97C2.48004 106.876 1.29005 105.385 0.559965 103.66C0.278224 102.916 0.148978 102.122 0.179899 101.327C0.210821 100.531 0.401287 99.7503 0.739973 99.03C1.45861 97.6279 2.53931 96.4436 3.86996 95.6C6.88965 93.6079 10.1067 91.9324 13.47 90.6C16.33 89.36 19.31 88.41 22.24 87.34Z",key:1}),r.createElement("path",{d:"M118.91 82C121.63 81.68 124.38 81.61 127.12 81.51C136.16 81.4544 145.156 82.7555 153.81 85.37C155.5 85.88 157.14 86.55 158.81 87.09C161.88 88.0717 164.734 89.6295 167.22 91.68C167.996 92.3041 168.637 93.0801 169.103 93.9605C169.569 94.8409 169.85 95.8071 169.93 96.8C169.95 98.4511 169.33 100.046 168.2 101.25C166.07 103.438 163.55 105.208 160.77 106.47C157.842 107.822 154.836 109 151.77 110L96.53 129.84C96.53 124.68 96.53 119.523 96.53 114.37C96.53 114.16 96.44 113.81 96.74 113.75L138.74 98.75C140.63 98.04 142.67 97.53 144.28 96.24C144.659 96.022 144.959 95.6901 145.139 95.2916C145.318 94.8931 145.368 94.4482 145.28 94.02C144.866 93.2957 144.195 92.7533 143.4 92.5C141.275 91.7677 139.038 91.4124 136.79 91.45C133.29 91.4174 129.806 91.9406 126.47 93C116.47 96.5 106.53 100 96.54 103.52C96.54 97.98 96.54 92.4433 96.54 86.91C103.791 84.4468 111.294 82.8 118.91 82Z",key:2})])}i.defaultProps={viewBox:"0 0 170 132",fill:"none"}
1,t.exports=i,i.default=i},1602:function(t,e,n){var r=n(7294);function i(t){return r.createElement("svg",t,r.createElement("path",{d:"M496 256c0 137-111.2 248-248.4 248-113.8 0-209.6-76.3-239-180.4l95.2 39.3c6.4 32.1 34.9 56.4 68.9 56.4 39.2 0 71.9-32.4 70.2-73.5l84.5-60.2c52.1 1.3 95.8-40.9 95.8-93.5 0-51.6-42-93.5-93.7-93.5s-93.7 42-93.7 93.5v1.2L176.6 279c-15.5-.9-30.7 3.4-43.5 12.1L0 236.1C10.2 108.4 117.1 8 247.6 8 384.8 8 496 119 496 256zM155.7 384.3l-30.5-12.6a52.79 52.79 0 0 0 27.2 25.8c26.9 11.2 57.8-1.6 69-28.4 5.4-13 5.5-27.3.1-40.3-5.4-13-15.5-23.2-28.5-28.6-12.9-5.4-26.7-5.2-38.9-.6l31.5 13c19.8 8.2 29.2 30.9 20.9 50.7-8.3 19.9-31 29.2-50.8 21zm173.8-129.9c-34.4 0-62.4-28-62.4-62.3s28-62.3 62.4-62.3 62.4 28 62.4 62.3-27.9 62.3-62.4 62.3zm.1-15.6c25.9 0 46.9-21 46.9-46.8 0-25.9-21-46.8-46.9-46.8s-46.9 21-46.9 46.8c.1 25.8 21.1 46.8 46.9 46.8z"}))}i.defaultProps={"aria-hidden":"true",focusable:"false","data-prefix":"fab","data-icon":"steam",className:"svg-inline--fa fa-steam fa-w-16",role:"img",viewBox:"0 0 496 512"},t.exports=i,i.default=i},1250:function(t,e,n){var r=n(7294);function i(t){return r.createElement("svg",t,r.createElement("g",{transform:"matrix(1,0,0,1,-47.1,-40.9)"},r.createElement("path",{d:"M128.4,241.6L135.1,241.6L135.1,211.6L128.4,211.6L128.4,241.6ZM93.6,192.8L101.5,203.4L104.6,203.4L104.6,187.5L101.4,187.5L101.4,198L93.6,187.6L90.4,187.6L90.4,203.5L93.6,203.5L93.6,192.8ZM129.4,187.5L115.9,187.5L115.9,190.9L121,190.9L121,203.4L124.4,203.4L124.4,190.9L129.4,190.9L129.4,187.5ZM108.7,233.3L102.3,211.5L97,211.5L90.7,233.2L84.9,211.5L78.4,211.5L86.9,241.5L94.1,241.5L99.7,221.7L105.3,241.5L112.5,241.5L121,211.5L114.5,211.5L108.7,233.3ZM153.8,168.1L173.4,168.1C191.4,168.1 206,153.5 206,135.5L206,73.5C206,55.5 191.4,40.9 173.4,40.9L153.7,40.9C153.2,40.9 152.9,41.3 152.9,41.7L152.9,167.2C152.9,167.7 153.3,168.1 153.8,168.1ZM178,98C185.1,98 190.9,103.8 190.9,110.9C190.9,118 185.1,123.8 178,123.8C170.9,123.8 165.1,118 165.1,110.9C165.2,103.8 170.9,98 178,98ZM78.4,187.5L74.9,187.5L74.9,203.4L78.4,203.4L78.4,187.5ZM51.8,192.8L59.7,203.4L62.8,203.4L62.8,187.5L59.6,187.5L59.6,198L51.8,187.6L48.6,187.6L48.6,203.5L51.8,203.5L51.8,192.8ZM61.2,223.4L61,223.4C57.3,222.8 54.2,222.2 53.9,220.1C53.9,219.8 53.9,219.1 54.4,218.4C55.4,217.2 57.7,216.7 61.1,216.7C65,216.7 68.9,218.2 70.3,218.8L72.4,213.6C70.9,213 66.1,211.3 60.8,211.3C54.3,211.3 47.4,214.5 47.4,220.3C47.4,225 50.7,227.5 59.3,229C65.4,230 68.7,230.6 68.6,233.2C68.5,234.6 67.4,237 60.6,237C55.1,237 51.2,235 49.9,234.2L47.1,239.3C48.6,240.1 53.7,242.5 60.2,242.5C69.7,242.5 74.8,239.2 74.8,232.9C74.9,228.4 72.7,225.4 61.2,223.4ZM98.6,79.1C98.6,85.7 104,91.1 110.6,91.1C117.2,91.1 122.6,85.7 122.6,79.1C122.6,72.5 117.2,67.1 110.6,67.1C103.9,67.1 98.6,72.4 98.6,79.1ZM153.4,200.5L144.3,200.5L144.3,196.8L152.7,196.8L152.7,193.9L144.3,193.9L144.3,190.5L153.4,190.5L153.4,187.6L141,187.6L141,203.5L153.4,203.5L153.4,200.5ZM227.8,187C223.1,187 219.3,190.8 219.3,195.5C219.3,200.2 223.1,204 227.8,204C232.5,204 236.3,200.2 236.3,195.5C236.2,190.8 232.4,187 227.8,187ZM227.8,200.4C225.1,200.4 222.9,198.2 222.9,195.5C222.9,192.8 225.1,190.6 227.8,190.6C230.5,190.6 232.7,192.8 232.7,195.5C232.7,198.2 230.5,200.4 227.8,200.4ZM228.8,223.4L214.8,223.4L214.8,211.6L208.6,211.6L208.6,241.6L214.8,241.6L214.8,229.6L228.8,229.6L228.8,241.6L235,241.6L235,211.6L228.8,211.6L228.8,223.4ZM237.5,238.5L238.8,238.5L238.8,241.6L239.5,241.6L239.5,238.5L240.7,238.5L240.7,237.8L237.5,237.8L237.5,238.5ZM244.4,237.7L243.4,240.5L242.4,237.7L241.3,237.7L241.3,241.5L242,241.5L242,238.6L243,241.5L243.7,241.5L244.7,238.6L244.7,241.5L245.4,241.5L245.4,237.7L244.4,237.7ZM188.7,217.3C192.1,217.3 195.2,219.1 196.9,222L201.8,217.8C198.8,213.4 193.9,210.7 188.5,210.7C179.7,210.7 172.5,217.9 172.5,226.7C172.5,235.5 179.7,242.7 188.5,242.7C193.9,242.7 198.8,240.1 201.8,235.6L196.9,231.4C195.2,234.2 192.1,236.1 188.7,236.1C183.5,236.1 179.2,231.9 179.2,226.8C179.2,221.7 183.4,217.3 188.7,217.3ZM142.4,217.9L152,217.9L152,241.5L158.5,241.5L158.5,217.9L167.9,217.9L167.9,211.5L142.5,211.5L142.5,217.9L142.4,217.9ZM180.8,203.5L180.8,187.5L177.6,187.5L177.6,198L169.8,187.6L166.6,187.6L166.6,203.5L169.8,203.5L169.8,192.9L177.7,203.5L180.8,203.5ZM139.2,40.9L111.4,40.9C93.4,40.9 78.8,55.5 78.8,73.5L78.8,135.5C78.8,153.5 93.4,168.1 111.4,168.1L139.2,168.1C139.7,168.1 140.1,167.7 140.1,167.2L140.1,41.8C140.1,41.3 139.7,40.9 139.2,40.9ZM129.9,157.9L111.4,157.9C105.4,157.9 99.8,155.6 95.6,151.3C91.4,147.1 89,141.5 89,135.5L89,73.5C89,67.5 91.3,61.9 95.6,57.7C99.8,53.5 105.4,51.1 111.4,51.1L129.9,51.1L129.9,157.9ZM200.8,187.5L194.2,187.5L194.2,203.4L200.8,203.4C205.3,203.4 209,199.8 209,195.5C209,191.1 205.3,187.5 200.8,187.5ZM201,200.1L197.5,200.1L197.5,190.9L201,190.9C203.5,190.9 205.6,193 205.6,195.5C205.6,198 203.5,200.1 201,200.1Z",style:{fillRule:"nonzero"}})))}i.defaultProps={width:"100%",height:"100%",viewBox:"0 0 199 202",version:"1.1",xmlSpace:"preserve",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"}},t.exports=i,i.default=i},3429:function(t,e,n){var r=n(7294);function i(t){return r.createElement("svg",t,[r.createElement("path",{d:"M66.87 0.189998C79.036 0.139615 90.9732 3.49629 101.33 9.88C101.388 9.90996 101.431 9.96115 101.452 10.
10227C101.472 10.0843 101.468 10.1515 101.44 10.21C101.41 10.2651 101.361 10.307 101.301 10.3274C101.242 10.3477 101.177 10.3451 101.12 10.32C88.32 7.55 68.85 18.62 67 19.73C66.9615 19.7644 66.9117 19.7835 66.86 19.7835C66.8084 19.7835 66.7585 19.7644 66.72 19.73C61.84 16.92 43.84 7.48 32.5 10.39C32.443 10.4042 32.3827 10.3979 32.3299 10.3721C32.2771 10.3463 32.235 10.3027 32.2111 10.2489C32.1872 10.1952 32.1831 10.1348 32.1993 10.0783C32.2156 10.0218 32.2512 9.97283 32.3 9.94C42.6781 3.51424 54.6538 0.135694 66.86 0.189998",key:0}),r.createElement("path",{d:"M20.45 19.23L20.39 19.29C8.94433 30.6015 2.00703 45.6922 0.873467 61.7443C-0.260095 77.7963 4.48759 93.7122 14.23 106.52C14.2684 106.577 14.3251 106.618 14.3906 106.638C14.4561 106.659 14.5264 106.656 14.59 106.63C14.6414 106.592 14.6777 106.537 14.6924 106.475C14.707 106.412 14.6991 106.347 14.67 106.29C9.66998 90.68 35.4 52.84 48.72 36.98C48.7743 36.9261 48.8094 36.8558 48.82 36.78C48.8158 36.736 48.8021 36.6935 48.7796 36.6555C48.7571 36.6174 48.7265 36.5848 48.69 36.56C26.29 14.24 20.3 19.34 20.39 19.27",key:1}),r.createElement("path",{d:"M113.29 19.23L113.35 19.29C124.794 30.6026 131.73 45.6931 132.863 61.7445C133.997 77.796 129.25 93.7114 119.51 106.52C119.473 106.578 119.416 106.621 119.35 106.641C119.284 106.662 119.213 106.657 119.15 106.63C119.101 106.59 119.067 106.535 119.053 106.473C119.039 106.412 119.045 106.348 119.07 106.29C124.07 90.68 98.36 52.81 85.07 36.95C85.0181 36.8983 84.9832 36.832 84.97 36.76C84.9719 36.7141 84.9847 36.6693 85.0073 36.6293C85.0299 36.5893 85.0616 36.5553 85.1 36.53C107.51 14.21 113.45 19.35 113.37 19.28",key:2}),r.createElement("path",{d:"M66.87 53.3C66.9485 53.3112 67.0218 53.3461 67.08 53.4C86.88 68.47 120.76 105.73 110.41 116.26C98.3594 126.82 82.8826 132.641 66.86 132.641C50.8374 132.641 35.3606 126.82 23.31 116.26C12.98 105.73 46.86 68.47 66.64 53.4C66.7059 53.346 66.7855 53.3114 66.87 53.3Z",key:3})])}i.defaultProps={viewBox:"0 0 134 133"},t.exports=i,i.default=i},655:function(t,e,n){"use strict";n.d(e,{ZT:function(){return i},pi:function(){return a},_T:function(){return o},XA:function(){return s},CR:function(){return u},ev:function(){return l}});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a.apply(this,arguments)};function o(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}Object.create;function s(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function l(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}Object.create},8217:function(t,e,n){"use strict";var r=n(6086),i=n(7294);e.useSubscription=function(t){var e=t.getCurrentValue,n=t.subscribe,a=i.useState((function(){return{getCurrentValue:e,subscribe:n,value:e()}}));t=a[0];var o=a[1];return a=t.value,t.getCurrentValue===e&&t.subscribe===n||(a=e(),o({getCurrentValue:e,subscribe:n,value:a})),i.useDebugValue(a),i.useEffect((function(){function t(){if(!i){var t=e();o((function(i){return i.getCurrentValue!==e||i.subscribe!==n||i.value===t?i:r({},i,{value:t})}))}}var i=!1,a=n(t);return t(),function(){i=!0,a()}}),[e,n]),a}},7161:function(t,e,n){"use strict";
1t.exports=n(8217)},4671:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(7294);function i(t){let e;const n=new Set,r=(t,r)=>{const i="function"===typeof t?t(e):t;if(i!==e){const t=e;e=r?i:Object.assign({},e,i),n.forEach((n=>n(e,t)))}},i=()=>e,a={setState:r,getState:i,subscribe:(t,r,a)=>r||a?((t,r=i,a=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let o=r(e);function s(){const n=r(e);if(!a(o,n)){const e=o;t(o=n,e)}}return n.add(s),()=>n.delete(s)})(t,r,a):(n.add(t),()=>n.delete(t)),destroy:()=>n.clear()};return e=t(r,i,a),a}const a="undefined"===typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?r.useEffect:r.useLayoutEffect;function o(t){const e="function"===typeof t?i(t):t,n=(t=e.getState,n=Object.is)=>{const[,i]=(0,r.useReducer)((t=>t+1),0),o=e.getState(),s=(0,r.useRef)(o),u=(0,r.useRef)(t),l=(0,r.useRef)(n),c=(0,r.useRef)(!1),h=(0,r.useRef)();let d;void 0===h.current&&(h.current=t(o));let f=!1;(s.current!==o||u.current!==t||l.current!==n||c.current)&&(d=t(o),f=!n(h.current,d)),a((()=>{f&&(h.current=d),s.current=o,u.current=t,l.current=n,c.current=!1}));const v=(0,r.useRef)(o);a((()=>{const t=()=>{try{const t=e.getState(),n=u.current(t);l.current(h.current,n)||(s.current=t,h.current=n,i())}catch(t){c.current=!0,i()}},n=e.subscribe(t);return e.getState()!==v.current&&t(),n}),[]);const p=f?d:h.current;return(0,r.useDebugValue)(p),p};return Object.assign(n,e),n[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const t=[n,e];return{next(){const e=t.length<=0;return{value:t.shift(),done:e}}}},n}},1190:function(t,e,n){"use strict";n.d(e,{M:function(){return m}});var r=n(655),i=n(7294),a=n(4735),o=n(8868);function s(){var t=(0,i.useRef)(!1);return(0,o.L)((function(){return t.current=!0,function(){t.current=!1}}),[]),t}var u=n(240),l=n(6681),c=n(6316),h=function(t){var e=t.children,n=t.initial,a=t.isPresent,o=t.onExitComplete,s=t.custom,h=t.presenceAffectsLayout,f=(0,l.h)(d),v=(0,c.M)(),p=(0,i.useMemo)((function(){return{id:v,initial:n,isPresent:a,custom:s,onExitComplete:function(t){var e,n;f.set(t,!0);try{for(var i=(0,r.XA)(f.values()),a=i.next();!a.done;a=i.next()){if(!a.value)return}}catch(s){e={error:s}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}null===o||void 0===o||o()},register:function(t){return f.set(t,!1),function(){return f.delete(t)}}}}),h?void 0:[a]);return(0,i.useMemo)((function(){f.forEach((function(t,e){return f.set(e,!1)}))}),[a]),i.useEffect((function(){!a&&!f.size&&(null===o||void 0===o||o())}),[a]),i.createElement(u.O.Provider,{value:p},e)};function d(){return new Map}var f=n(5364),v=n(5411),p=function(t){return t.key||""};var m=function(t){var e=t.children,n=t.custom,u=t.initial,l=void 0===u||u,c=t.onExitComplete,d=t.exitBeforeEnter,m=t.presenceAffectsLayout,g=void 0===m||m,y=(0,r.CR)(function(){var t=s(),e=(0,r.CR)((0,i.useState)(0),2),n=e[0],o=e[1],u=(0,i.useCallback)((function(){t.current&&o(n+1)}),[n]);return[(0,i.useCallback)((function(){return a.ZP.postRender(u)}),[u]),n]}(),1),A=y[0],x=(0,i.useContext)(f.p).forceRender;x&&(A=x);var b=s(),w=function(t){var e=[];return i.Children.forEach(t,(function(t){(0,i.isValidElement)(t)&&e.push(t)})),e}(e),L=w,k=new Set,C=(0,i.useRef)(L),E=(0,i.useRef)(new Map).current,S=(0,i.useRef)(!0);if((0,o.L)((function(){S.current=!1,function(t,e){t.forEach((function(t){var n=p(t);e.set(n,t)}))}(w,E),C.current=L})),(0,v.z)((function(){S.current=!0,E.clear(),k.clear()})),S.current)return i.createElement(i.Fragment,null,L.map((function(t){return i.createElement(h,{key:p(t),isPresent:!0,initial:!!l&&void 0,presenceAffectsLayout:g},t)})));L=(0,r.ev)([],(0,r.CR)(L),!1);for(var M=C.current.map(p),T=w.map(p),R=M.length,P=0;P<R;P++){var I=M[P];-1===T.indexOf(I)&&k.add(I)}return d&&k.size&&(L=[]),k.forEach((function(t){if(-1===T.indexOf(t)){var e=E.get(t);if(e){var r=M.indexOf(t);L.splice(r,0,i.createElement(h,{key:p(e),isPresent:!1,onExitComplete:function(){E.delete(t),k.delete(t);var e=C.current.findIndex((function(e){return e.key===t}));if(C.current.splice(e,1),!k.size){if(C.current=w,!1===b.current)return;A(),c&&c()}},custom:n,presenceAffectsLayout:g},e))}}})),L=L.map((function(t){var e=t.key;return k.has(e)?t:i.createElement(h,{key:p(t),isPresent:!0,presenceAffectsLayout:g},t)})),i.createElement(i.Fragment,null,k.size?L:L.map((function(t){return(0,i.cloneElement)(t)})))}},5364:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});var r=(0,n(7294).createContext)({})},6014:function(t,e,n){"use strict";n.d(e,{_:function(){return r}});var r=(0,n(7294).createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"})},240:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var r=(0,n(7294).createContext)(null)},4498:function(t,e,n){"use strict";n.d(e,{E:function(){return Vi}});var r=n(655),i=n(7294),a=function(t){return{isEnabled:function(e){return t.some((function(t){return!!e[t]}))}}},o={measureLayout:a(["layout","layoutId","drag"]),animation:a(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:a(["exit"]),drag:a(["drag","dragControls"]),focus:a(["whileFocus"]),hover:a(["whileHover","onHoverStart","onHoverEnd"]),tap:a(["whileTap","onTap","onTapStart","onTapCancel"]),pan:a(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:a(["whileInView","onViewportEnter","onViewportLeave"])};var s=(0,i.createContext)({strict:!1}),u=Object.keys(o),l=u.length;var c=n(6014),h=(0,i.createContext)({});var d=n(240),f=n(8868),v={current:null},p=!1;function m(){return!p&&function(){if(p=!0,"undefined"!==typeof window)if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return v.current=t.matches};t.addListener(e),e()}else v.current=!1}(),(0,r.CR)((0,i.useState)(v.current),1)[0]}function g(t,e,n,r){var a=(0,i.useContext)(s),o=(0,i.useContext)(h).visualElement,u=(0,i.useContext)(d.O),l=function(){var t=m(),e=(0,i.useContext)(c._).reducedMotion;return"never"!==e&&("always"===e||t)}(),v=(0,i.useRef)(void 0);r||(r=a.renderer),!v.current&&r&&(v.current=r(t,{visualState:e,parent:o,props:n,presenceId:null===u||void 0===u?void 0:u.id,blockInitialAnimation:!1===(null===u||void 0===u?void 0:u.initial),shouldReduceMotion:l}));var p=v.current;return(0,f.L)((function(){null===p||void 0===p||p.syncRender()})),(0,i.useEffect)((function(){var t;null===(t=null===p||void 0===p?void 0:p.animationState)||void 0===t||t.animateChanges()})),(0,f.L)((function(){return function(){return null===p||void 0===p?void 0:p.notifyUnmount()}}),[]),p}function y(t){return"object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function A(t){return Array.isArray(t)}function x(t){return"string"===typeof t||A(t)}function b(t,e,n,r,i){var a;return void 0===r&&(r={}),void 0===i&&(i={}),"function"===typeof e&&(e=e(null!==n&&void 0!==n?n:t.custom,r,i
1)),"string"===typeof e&&(e=null===(a=t.variants)||void 0===a?void 0:a[e]),"function"===typeof e&&(e=e(null!==n&&void 0!==n?n:t.custom,r,i)),e}function w(t,e,n){var r=t.getProps();return b(r,e,null!==n&&void 0!==n?n:r.custom,function(t){var e={};return t.forEachValue((function(t,n){return e[n]=t.get()})),e}(t),function(t){var e={};return t.forEachValue((function(t,n){return e[n]=t.getVelocity()})),e}(t))}function L(t){var e;return"function"===typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||x(t.initial)||x(t.animate)||x(t.whileHover)||x(t.whileDrag)||x(t.whileTap)||x(t.whileFocus)||x(t.exit)}function k(t){return Boolean(L(t)||t.variants)}function C(t){var e=function(t,e){if(L(t)){var n=t.initial,r=t.animate;return{initial:!1===n||x(n)?n:void 0,animate:x(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(h)),n=e.initial,r=e.animate;return(0,i.useMemo)((function(){return{initial:n,animate:r}}),[E(n),E(r)])}function E(t){return Array.isArray(t)?t.join(" "):t}var S=n(1741),M=n(6681),T=n(4735),R=n(2453),P=n(3234),I=n(406),O=n(612),B=n(9296);var F=function(t){return 1e3*t},D=n(4394),V=n(4710);const Y=(t,e)=>1-3*e+3*t,X=(t,e)=>3*e-6*t,U=t=>3*t,j=(t,e,n)=>((Y(e,n)*t+X(e,n))*t+U(e))*t,Z=(t,e,n)=>3*Y(e,n)*t*t+2*X(e,n)*t+U(e);const N=.1;function z(t,e,n,r){if(t===e&&n===r)return V.GE;const i=new Float32Array(11);for(let o=0;o<11;++o)i[o]=j(o*N,t,n);function a(e){let r=0,a=1;for(;10!==a&&i[a]<=e;++a)r+=N;--a;const o=r+(e-i[a])/(i[a+1]-i[a])*N,s=Z(o,t,n);return s>=.001?function(t,e,n,r){for(let i=0;i<8;++i){const i=Z(e,n,r);if(0===i)return e;e-=(j(e,n,r)-t)/i}return e}(e,o,t,n):0===s?o:function(t,e,n,r,i){let a,o,s=0;do{o=e+(n-e)/2,a=j(o,r,i)-t,a>0?n=o:e=o}while(Math.abs(a)>1e-7&&++s<10);return o}(e,r,r+N,t,n)}return t=>0===t||1===t?t:j(a(t),e,r)}var _={linear:V.GE,easeIn:V.YQ,easeInOut:V.mZ,easeOut:V.Vv,circIn:V.Z7,circInOut:V.X7,circOut:V.Bn,backIn:V.G2,backInOut:V.XL,backOut:V.CG,anticipate:V.LU,bounceIn:V.h9,bounceInOut:V.yD,bounceOut:V.gJ},W=function(t){if(Array.isArray(t)){(0,D.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,r.CR)(t,4);return z(e[0],e[1],e[2],e[3])}return"string"===typeof t?((0,D.k)(void 0!==_[t],"Invalid easing type '".concat(t,"'")),_[t]):t},G=n(8407),H=function(t,e){return"zIndex"!==t&&(!("number"!==typeof e&&!Array.isArray(e))||!("string"!==typeof e||!G.P.test(e)||e.startsWith("url(")))},q=function(t){return Array.isArray(t)},J=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},K=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},Q=function(){return{type:"keyframes",ease:"linear",duration:.3}},$=function(t){return{type:"keyframes",duration:.8,values:t}},tt={x:J,y:J,z:J,rotate:J,rotateX:J,rotateY:J,rotateZ:J,scaleX:K,scaleY:K,scale:K,opacity:Q,backgroundColor:Q,color:Q,default:K},et=n(6777);const nt=new Set(["brightness","contrast","saturate","opacity"]);function rt(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(et.KP)||[];if(!r)return t;const i=n.replace(r,"");let a=nt.has(e)?1:0;return r!==n&&(a*=100),e+"("+a+i+")"}const it=/([a-z-]*)\(.*?\)/g,at=Object.assign(Object.assign({},G.P),{getAnimatableNone:t=>{const e=t.match(it);return e?e.map(rt).join(" "):t}});var ot=n(7405),st=n(2969),ut=n(1248),lt=(0,r.pi)((0,r.pi)({},ut.Rx),{transform:Math.round}),ct={borderWidth:st.px,borderTopWidth:st.px,borderRightWidth:st.px,borderBottomWidth:st.px,borderLeftWidth:st.px,borderRadius:st.px,radius:st.px,borderTopLeftRadius:st.px,borderTopRightRadius:st.px,borderBottomRightRadius:st.px,borderBottomLeftRadius:st.px,width:st.px,maxWidth:st.px,height:st.px,maxHeight:st.px,size:st.px,top:st.px,right:st.px,bottom:st.px,left:st.px,padding:st.px,paddingTop:st.px,paddingRight:st.px,paddingBottom:st.px,paddingLeft:st.px,margin:st.px,marginTop:st.px,marginRight:st.px,marginBottom:st.px,marginLeft:st.px,rotate:st.RW,rotateX:st.RW,rotateY:st.RW,rotateZ:st.RW,scale:ut.bA,scaleX:ut.bA,scaleY:ut.bA,scaleZ:ut.bA,skew:st.RW,skewX:st.RW,skewY:st.RW,distance:st.px,translateX:st.px,translateY:st.px,translateZ:st.px,x:st.px,y:st.px,z:st.px,perspective:st.px,transformPerspective:st.px,opacity:ut.Fq,originX:st.$C,originY:st.$C,originZ:st.px,zIndex:lt,fillOpacity:ut.Fq,strokeOpacity:ut.Fq,numOctaves:lt},ht=(0,r.pi)((0,r.pi)({},ct),{color:ot.$,backgroundColor:ot.$,outlineColor:ot.$,fill:ot.$,stroke:ot.$,borderColor:ot.$,borderTopColor:ot.$,borderRightColor:ot.$,borderBottomColor:ot.$,borderLeftColor:ot.$,filter:at,WebkitFilter:at}),dt=function(t){return ht[t]};function ft(t,e){var n,r=dt(t);return r!==at&&(r=G.P),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,e)}var vt=!1,pt=function(t){return q(t)?t[t.length-1]||0:t};var mt=!1;function gt(t){var e=t.ease,n=t.times,i=t.yoyo,a=t.flip,o=t.loop,s=(0,r._T)(t,["ease","times","yoyo","flip","loop"]),u=(0,r.pi)({},s);return n&&(u.offset=n),s.duration&&(u.duration=F(s.duration)),s.repeatDelay&&(u.repeatDelay=F(s.repeatDelay)),e&&(u.ease=function(t){return Array.isArray(t)&&"number"!==typeof t[0]}(e)?e.map(W):W(e)),"tween"===s.type&&(u.type="keyframes"),(i||o||a)&&((0,D.K)(!mt,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),mt=!0,i?u.repeatType="reverse":o?u.repeatType="loop":a&&(u.repeatType="mirror"),u.repeat=o||i||a||s.repeat),"spring"!==s.type&&(u.type="keyframes"),u}function yt(t,e,n){var i;return Array.isArray(e.to)&&(null!==(i=t.duration)&&void 0!==i||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=(0,r.ev)([],(0,r.CR)(t.to),!1),t.to[0]=t.from)}(e),function(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from;var e=(0,r._T)(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(e).length}(t)||(t=(0,r.pi)((0,r.pi)({},t),function(t,e){var n;return n=q(e)?$:tt[t]||tt.default,(0,r.pi)({to:e},n(e))}(n,e.to))),(0,r.pi)((0,r.pi)({},e),gt(t))}function At(t,e,n,i,a){var o,s=wt(i,t),u=null!==(o=s.from)&&void 0!==o?o:e.get(),l=H(t,
1n);"none"===u&&l&&"string"===typeof n?u=ft(t,n):xt(u)&&"string"===typeof n?u=bt(n):!Array.isArray(n)&&xt(n)&&"string"===typeof u&&(n=bt(u));var c=H(t,u);return(0,D.K)(c===l,"You are trying to animate ".concat(t,' from "').concat(u,'" to "').concat(n,'". ').concat(u," is not an animatable value - to enable this animation set ").concat(u," to a value animatable to ").concat(n," via the `style` property.")),c&&l&&!1!==s.type?function(){var i={from:u,to:n,velocity:e.getVelocity(),onComplete:a,onUpdate:function(t){return e.set(t)}};return"inertia"===s.type||"decay"===s.type?function({from:t=0,velocity:e=0,min:n,max:r,power:i=.8,timeConstant:a=750,bounceStiffness:o=500,bounceDamping:s=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:h,onComplete:d,onStop:f}){let v;function p(t){return void 0!==n&&t<n||void 0!==r&&t>r}function m(t){return void 0===n?r:void 0===r||Math.abs(n-t)<Math.abs(r-t)?n:r}function g(t){null===v||void 0===v||v.stop(),v=(0,O.j)(Object.assign(Object.assign({},t),{driver:c,onUpdate:e=>{var n;null===h||void 0===h||h(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:d,onStop:f}))}function y(t){g(Object.assign({type:"spring",stiffness:o,damping:s,restDelta:u},t))}if(p(t))y({from:t,velocity:e,to:m(t)});else{let r=i*e+t;"undefined"!==typeof l&&(r=l(r));const o=m(r),s=o===n?-1:1;let c,h;const d=t=>{c=h,h=t,e=(0,B.R)(t-c,(0,T.$B)().delta),(1===s&&t>o||-1===s&&t<o)&&y({from:t,to:o,velocity:e})};g({type:"decay",from:t,velocity:e,timeConstant:a,power:i,restDelta:u,modifyTarget:l,onUpdate:p(r)?d:void 0})}return{stop:()=>null===v||void 0===v?void 0:v.stop()}}((0,r.pi)((0,r.pi)({},i),s)):(0,O.j)((0,r.pi)((0,r.pi)({},yt(s,i,t)),{onUpdate:function(t){var e;i.onUpdate(t),null===(e=s.onUpdate)||void 0===e||e.call(s,t)},onComplete:function(){var t;i.onComplete(),null===(t=s.onComplete)||void 0===t||t.call(s)}}))}:function(){var t,r,i=pt(n);return e.set(i),a(),null===(t=null===s||void 0===s?void 0:s.onUpdate)||void 0===t||t.call(s,i),null===(r=null===s||void 0===s?void 0:s.onComplete)||void 0===r||r.call(s),{stop:function(){}}}}function xt(t){return 0===t||"string"===typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function bt(t){return"number"===typeof t?0:ft("",t)}function wt(t,e){return t[e]||t.default||t}function Lt(t,e,n,r){return void 0===r&&(r={}),vt&&(r={type:!1}),e.start((function(i){var a,o,s=At(t,e,n,r,i),u=function(t,e){var n,r;return null!==(r=null!==(n=(wt(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==r?r:0}(r,t),l=function(){return o=s()};return u?a=window.setTimeout(l,F(u)):l(),function(){clearTimeout(a),null===o||void 0===o||o.stop()}}))}var kt=n(1560),Ct=n(9326),Et=["TopLeft","TopRight","BottomLeft","BottomRight"],St=Et.length,Mt=function(t){return"string"===typeof t?parseFloat(t):t},Tt=function(t){return"number"===typeof t||st.px.test(t)};function Rt(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}var Pt=Ot(0,.5,V.Bn),It=Ot(.5,.95,V.GE);function Ot(t,e,n){return function(r){return r<t?0:r>e?1:n((0,Ct.Y)(t,e,r))}}function Bt(t,e){t.min=e.min,t.max=e.max}function Ft(t,e){Bt(t.x,e.x),Bt(t.y,e.y)}function Dt(t){return void 0===t||1===t}function Vt(t){var e=t.scale,n=t.scaleX,r=t.scaleY;return!Dt(e)||!Dt(n)||!Dt(r)}function Yt(t){return Vt(t)||Xt(t.x)||Xt(t.y)||t.z||t.rotate||t.rotateX||t.rotateY}function Xt(t){return t&&"0%"!==t}function Ut(t,e,n){return n+e*(t-n)}function jt(t,e,n,r,i){return void 0!==i&&(t=Ut(t,i,r)),Ut(t,n,r)+e}function Zt(t,e,n,r,i){void 0===e&&(e=0),void 0===n&&(n=1),t.min=jt(t.min,e,n,r,i),t.max=jt(t.max,e,n,r,i)}function Nt(t,e){var n=e.x,r=e.y;Zt(t.x,n.translate,n.scale,n.originPoint),Zt(t.y,r.translate,r.scale,r.originPoint)}function zt(t,e){t.min=t.min+e,t.max=t.max+e}function _t(t,e,n){var i=(0,r.CR)(n,3),a=i[0],o=i[1],s=i[2],u=void 0!==e[s]?e[s]:.5,l=(0,R.C)(t.min,t.max,u);Zt(t,e[a],e[o],l,e.scale)}var Wt=["x","scaleX","originX"],Gt=["y","scaleY","originY"];function Ht(t,e){_t(t.x,e,Wt),_t(t.y,e,Gt)}const qt=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),Jt=t=>qt(t)&&t.hasOwnProperty("z");var Kt=n(734);const Qt=(t,e)=>Math.abs(t-e);function $t(t,e){if((0,Kt.e)(t)&&(0,Kt.e)(e))return Qt(t,e);
1if(qt(t)&&qt(e)){const n=Qt(t.x,e.x),r=Qt(t.y,e.y),i=Jt(t)&&Jt(e)?Qt(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}function te(t){return t.max-t.min}function ee(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=.01),$t(t,e)<n}function ne(t,e,n,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=(0,R.C)(e.min,e.max,t.origin),t.scale=te(n)/te(e),(ee(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,R.C)(n.min,n.max,t.origin)-t.originPoint,(ee(t.translate)||isNaN(t.translate))&&(t.translate=0)}function re(t,e,n,r){ne(t.x,e.x,n.x,null===r||void 0===r?void 0:r.originX),ne(t.y,e.y,n.y,null===r||void 0===r?void 0:r.originY)}function ie(t,e,n){t.min=n.min+e.min,t.max=t.min+te(e)}function ae(t,e,n){t.min=e.min-n.min,t.max=t.min+te(e)}function oe(t,e,n){ae(t.x,e.x,n.x),ae(t.y,e.y,n.y)}function se(t,e,n,r,i){return t=Ut(t-=e,1/n,r),void 0!==i&&(t=Ut(t,1/i,r)),t}function ue(t,e,n,i,a){var o=(0,r.CR)(n,3),s=o[0],u=o[1],l=o[2];!function(t,e,n,r,i,a,o){if(void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===a&&(a=t),void 0===o&&(o=t),st.aQ.test(e)&&(e=parseFloat(e),e=(0,R.C)(o.min,o.max,e/100)-o.min),"number"===typeof e){var s=(0,R.C)(a.min,a.max,r);t===a&&(s-=e),t.min=se(t.min,e,n,s,i),t.max=se(t.max,e,n,s,i)}}(t,e[s],e[u],e[l],e.scale,i,a)}var le=["x","scaleX","originX"],ce=["y","scaleY","originY"];function he(t,e,n,r){ue(t.x,e,le,null===n||void 0===n?void 0:n.x,null===r||void 0===r?void 0:r.x),ue(t.y,e,ce,null===n||void 0===n?void 0:n.y,null===r||void 0===r?void 0:r.y)}function de(t){return 0===t.translate&&1===t.scale}function fe(t){return de(t.x)&&de(t.y)}function ve(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}var pe=n(10),me=function(){function t(){this.members=[]}return t.prototype.add=function(t){(0,pe.y4)(this.members,t),t.scheduleRender()},t.prototype.remove=function(t){if((0,pe.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}},t.prototype.relegate=function(t){var e,n=this.members.findIndex((function(e){return t===e}));if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)},t.prototype.promote=function(t,e){var n,r=this.lead;t!==r&&(this.prevLead=r,this.lead=t,t.show(),r&&(r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0),!1===t.options.crossfade&&r.hide()))},t.prototype.exitAnimationComplete=function(){this.members.forEach((function(t){var e,n,r,i,a;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(a=null===(r=t.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===a||a.call(i)}))},t.prototype.scheduleRender=function(){this.members.forEach((function(t){t.instance&&t.scheduleRender(!1)}))},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}(),ge={};function ye(t,e,n){var r=t.x.translate/e.x,i=t.y.translate/e.y,a="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(n){var o=n.rotate,s=n.rotateX,u=n.rotateY;o&&(a+="rotate(".concat(o,"deg) ")),s&&(a+="rotateX(".concat(s,"deg) ")),u&&(a+="rotateY(".concat(u,"deg) "))}return"translate3d(0px, 0px, 0) scale(1, 1)"===(a+="scale(".concat(t.x.scale,", ").concat(t.y.scale,")"))?"none":a}function Ae(t){return[t("x"),t("y")]}var xe=["","X","Y","Z"],be=["transformPerspective","x","y","z"];function we(t,e){return be.indexOf(t)-be.indexOf(e)}["translate","scale","rotate","skew"].forEach((function(t){return xe.forEach((function(e){return be.push(t+e)}))}));var Le=new Set(be);function ke(t){return Le.has(t)}var Ce=new Set(["originX","originY","originZ"]);function Ee(t){return Ce.has(t)}var Se=function(t,e){return t.depth-e.depth},Me=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){(0,pe.y4)(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){(0,pe.cl)(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort(Se),this.isDirty=!1,this.children.forEac
1h(t)},t}();function Te(t){var e,n=(0,I.i)(t)?t.get():t;return e=n,Boolean(e&&"object"===typeof e&&e.mix&&e.toValue)?n.toValue():n}var Re={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Pe(t){var e=t.attachResizeListener,n=t.defaultParent,i=t.measureScroll,a=t.resetTransform;return function(){function t(t,e,i){var a=this;void 0===e&&(e={}),void 0===i&&(i=null===n||void 0===n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){a.isUpdating&&(a.isUpdating=!1,a.clearAllSnapshots())},this.updateProjection=function(){a.nodes.forEach(Ye),a.nodes.forEach(Xe)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?(0,r.ev)((0,r.ev)([],(0,r.CR)(i.path),!1),[i],!1):[],this.parent=i,this.depth=i?i.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var o=0;o<this.path.length;o++)this.path[o].shouldResetTransform=!0;this.root===this&&(this.nodes=new Me)}return t.prototype.addEventListener=function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new kt.L),this.eventHandlers.get(t).add(e)},t.prototype.notifyListeners=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=this.eventHandlers.get(t);null===i||void 0===i||i.notify.apply(i,(0,r.ev)([],(0,r.CR)(e),!1))},t.prototype.hasListeners=function(t){return this.eventHandlers.has(t)},t.prototype.registerPotentialNode=function(t,e){this.potentialNodes.set(t,e)},t.prototype.mount=function(t,n){var i,a=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;var o=this.options,s=o.layoutId,u=o.layout,l=o.visualElement;if(l&&!l.getInstance()&&l.mount(t),this.root.nodes.add(this),null===(i=this.parent)||void 0===i||i.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(u||s)&&(this.isLayoutDirty=!0),e){var c,h=function(){return a.root.updateBlockedByResize=!1};e(t,(function(){a.root.updateBlockedByResize=!0,clearTimeout(c),c=window.setTimeout(h,250),Re.hasAnimatedSinceResize&&(Re.hasAnimatedSinceResize=!1,a.nodes.forEach(Ve))}))}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&l&&(s||u)&&this.addEventListener("didUpdate",(function(t){var e,n,i,o,s,u=t.delta,c=t.hasLayoutChanged,h=t.hasRelativeTargetChanged,d=t.layout;if(a.isTreeAnimationBlocked())return a.target=void 0,void(a.relativeTarget=void 0);var f=null!==(n=null!==(e=a.options.transition)&&void 0!==e?e:l.getDefaultTransition())&&void 0!==n?n:_e,v=l.getProps().onLayoutAnimationComplete,p=!a.targetLayout||!ve(a.targetLayout,d)||h,m=!c&&h;if((null===(i=a.resumeFrom)||void 0===i?void 0:i.instance)||m||c&&(p||!a.currentAnimation)){a.resumeFrom&&(a.resumingFrom=a.resumeFrom,a.resumingFrom.resumingFrom=void 0),a.setAnimationOrigin(u,m);var g=(0,r.pi)((0,r.pi)({},wt(f,"layout")),{onComplete:v});l.shouldReduceMotion&&(g.delay=0,g.type=!1),a.startAnimation(g)}else c||0!==a.animationProgress||a.finishAnimation(),a.isLead()&&(null===(s=(o=a.options).onExitComplete)||void 0===s||s.call(o));a.targetLayout=d}))}},t.prototype.unmount=function(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,T.qY.preRender(this.updateProjection)},t.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},t.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},t.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},t.prototype.isTreeAnimationBlocked=function(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1}
1,t.prototype.startUpdate=function(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(Ue))},t.prototype.willUpdate=function(t){var e,n,r;if(void 0===t&&(t=!0),this.root.isUpdateBlocked())null===(n=(e=this.options).onExitComplete)||void 0===n||n.call(e);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var i=0;i<this.path.length;i++){var a=this.path[i];a.shouldResetTransform=!0,a.updateScroll()}var o=this.options,s=o.layoutId,u=o.layout;if(void 0!==s||u){var l=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null===l||void 0===l?void 0:l(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}}},t.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Fe);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(We),this.potentialNodes.clear()),this.nodes.forEach(De),this.nodes.forEach(Ie),this.nodes.forEach(Oe),this.clearAllSnapshots(),T.iW.update(),T.iW.preRender(),T.iW.render())},t.prototype.clearAllSnapshots=function(){this.nodes.forEach(Be),this.sharedNodes.forEach(je)},t.prototype.scheduleUpdateProjection=function(){T.ZP.preRender(this.updateProjection,!1,!0)},t.prototype.scheduleCheckAfterUnmount=function(){var t=this;T.ZP.postRender((function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()}))},t.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));He(e),this.snapshot={measured:t,layout:e,latestValues:{}}}},t.prototype.updateLayout=function(){var t;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var e=0;e<this.path.length;e++){this.path[e].updateScroll()}var n=this.measure();He(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null===r||void 0===r?void 0:r.actual)}},t.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=i(this.instance))},t.prototype.resetTransform=function(){var t;if(a){var e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!fe(this.projectionDelta),r=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,i=null===r||void 0===r?void 0:r(this.latestValues,""),o=i!==this.prevTransformTemplateValue;e&&(n||Yt(this.latestValues)||o)&&(a(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},t.prototype.measure=function(){var t=this.options.visualElement;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};var e=t.measureViewportBox(),n=this.root.scroll;return n&&(zt(e.x,n.x),zt(e.y,n.y)),e},t.prototype.removeElementScroll=function(t){var e={x:{min:0,max:0},y:{min:0,max:0}};Ft(e,t);for(var n=0;n<this.path.length;n++){var r=this.path[n],i=r.scroll,a=r.options;r!==this.root&&i&&a.layoutScroll&&(zt(e.x,i.x),zt(e.y,i.y))}return e},t.prototype.applyTransform=function(t,e){void 0===e&&(e=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};Ft(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Ht(n,{x:-i.scroll.x,y:-i.scroll.y}),Yt(i.latestValues)&&Ht(n,i.latestValues)}return Yt(this.latestValues)&&Ht(n,this.latestValues),n},t.prototype.removeTransform=function(t){var e,n={x:{min:0,max:0},y:{min:0,max:0}};Ft(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];if(i.instance&&Yt(i.latestValues)){Vt(i.latestValues)&&i.updateSnapshot();var a={x:{min:0,max:0},y:{min:0,max:0}};Ft(a,i.measure()),he(n,i.latestValues,null===(e=i.snapshot)||void 0===e?void 0:e.layout,a)}}return Yt(this.latestValues)&&he(n,this.latestValues),n},t.prototype.setTargetDelta=function(t){this.targetDelta=t,this.root.scheduleUpdateProjection()},t.prototype.setOptions=function(t){var e;this.options=(0,r.pi)((0,r.pi)((0,r.pi)({},this.options),t),{crossfade:null===(e=t.crossfade)||void 0===e||e})},t.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},t.prototype.resolveTargetDelta=function(){var t,e,n,r,i=this.options,a=i.layout,o=i.layoutId;this.layout&&(a||o)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},oe(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),Ft(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target)?(e=this.target,n=this.relativeTarget,r=this.relativeParent.target,ie(e.x,n.x,r.x),ie(e.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):Ft(this.target,this.layout.actual),Nt(this.target,this.targetDelta)):Ft(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},oe(this.relativeTargetOrigin,this.target,this.relativeParent.target),Ft(this.relativeTarget,this.relativeTargetOrigin)))))},t.prototype.getClosestProjectingParent=function(){if(this.parent&&!Yt(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},t.prototype.calcProjection=function(){var t,e=this.options,n=e.layout,r=e.layoutId;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var i=this.getLead();Ft(this.layoutCorrected,this.layout.actual),function(t,e,n,r){var i,a;void 0===r&&(r=!1);var o=n.length;if(o){var s,u;e.x=e.y=1;for(var l=0;l<o;l++)u=(s=n[l]).projectionDelta,"contents"!==(null===(a=null===(i=s.instance)||void 0===i?void 0:i.style)||void 0===a?void 0:a.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Ht(t,{x:-s.scroll.x,y:-s.scroll.y}),u&&(e.x*=u.x.scale,e.y*=u.y.scale,Nt(t,u)),r&&Yt(s.latestValues)&&Ht(t,s.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==i);var a=i.target;if(a){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var o=this.treeScale.x,s=this.treeScale.y,u=this.projectionTransform;re(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.projectionTransform=ye(this.projectionDelta,this.treeScale),this.projectionTransform===u&&this.treeScale.x===o&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}}},t.prototype.hide=function(){this.isVisible=!1},t.prototype.show=function(){this.isVisible=!0},t.prototype.scheduleRender=function(t){var e,n,r;void 0===t&&(t=!0),null===(n=(e=this.options).scheduleRender)||void 0===n||n.call(e),t&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},t.prototype.setAnimationOrigin=function(t,e){var n,i=this;void 0===e&&(e=!1);var a=this.snapshot,o=(null===a||void 0===a?void 0:a.latestValues)||{},s=(0,r.pi)({},this.latestValues),u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;var l={x:{min:0,max:0},y:{min:0,max:0}},c=null===a||void 0===a?void 0:a.isShared,h=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,d=Boolean(c&&!h&&!0===this.options.crossfade&&!this.path.some(ze));this.animationProgress=0,this.mixTargetDelta=function(e){var n,r=e/1e3;Ze(u.x,t.x,r),Ze(u.y,t.y,r),i.setTargetDelta(u),i.relativeTarget&&i.relativeTargetOrigin&&i.layout&&(null===(n=i.relativeParent)||void 0===n?void 0:n.layout)&&(oe(l,i.layout.actual,i.relativeParent.layout.actual),function(t,e,n,r){Ne(t.x,e.x,n.x,r),Ne(t.y,e.y,n.y,r)}(i.relativeTarget,i.relativeTargetOrigin,l,r)),c&&(i.animationValues=s,function(t,e,n,r,i,a){var o,s,u,l;i?(t.opacity=(0,R.C)(0,null!==(o=n.opacity)&&void 0!==o?o:1,Pt(r)),t.opacityExit=(0,R.C)(null!==(s=e.opacity)&&void 0!==s?s:1,0,It(r))):a&&(t.opacity=(0,R.C)(null!==(u=e.opacity)&&void 0!==u?u:1,null!==(l=n.opacity)&&void 0!==l?l:1,r));for(var c=0;c<St;c++){var h="border".concat(Et[c],"Radius"),d=Rt(e,h),f=Rt(n,h);void 0===d&&void 0===f||(d||(d=0),f||(f=0),0===d||0===f||Tt(d)===Tt(f)?(t[h]=Math.max((0,R.C)(Mt(d),Mt(f),r),0),(st.aQ.test(f)||st.aQ.test(d))&&(t[h]+="%")):t[h]=f)}(e.rotate||n.rotate)&&(t.rotate=(0,R.C)(e.rotate||0,n.rotate||0,r))}(s,o,i.latestValues,r,d,h)),i.root.scheduleUpdateProjection(),i.scheduleRender(),i.animationProgress=r},this.mixTargetDelta(0)},t.prototype.startAnimation=function(t){var e,n,i=this;null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(T.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=T.ZP.update((function(){Re.hasAnimatedSinceResize=!0,i.currentAnimation=function(t,e,n){void 0===n&&(n={});var r=(0,I.i)(t)?t:(0,P.B)(t);return Lt("",r,e,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,1e3,(0,r.pi)((0,r.pi)({},t),{onUpdate:function(e){var n;
1i.mixTargetDelta(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:function(){var e;null===(e=t.onComplete)||void 0===e||e.call(t),i.completeAnimation()}})),i.resumingFrom&&(i.resumingFrom.currentAnimation=i.currentAnimation),i.pendingAnimation=void 0}))},t.prototype.completeAnimation=function(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},t.prototype.finishAnimation=function(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},t.prototype.applyTransformsToTarget=function(){var t=this.getLead(),e=t.targetWithTransforms,n=t.target,r=t.layout,i=t.latestValues;e&&n&&r&&(Ft(e,n),Ht(e,i),re(this.projectionDeltaWithTransform,this.layoutCorrected,e,i))},t.prototype.registerSharedNode=function(t,e){var n,r,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new me),this.sharedNodes.get(t).add(e),e.promote({transition:null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=e.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,e)})},t.prototype.isLead=function(){var t=this.getStack();return!t||t.lead===this},t.prototype.getLead=function(){var t;return this.options.layoutId&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this},t.prototype.getPrevLead=function(){var t;return this.options.layoutId?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0},t.prototype.getStack=function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)},t.prototype.promote=function(t){var e=void 0===t?{}:t,n=e.needsReset,r=e.transition,i=e.preserveFollowOpacity,a=this.getStack();a&&a.promote(this,i),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},t.prototype.relegate=function(){var t=this.getStack();return!!t&&t.relegate(this)},t.prototype.resetRotation=function(){var t=this.options.visualElement;if(t){for(var e=!1,n={},r=0;r<xe.length;r++){var i="rotate"+xe[r];t.getStaticValue(i)&&(e=!0,n[i]=t.getStaticValue(i),t.setStaticValue(i,0))}if(e){for(var i in null===t||void 0===t||t.syncRender(),n)t.setStaticValue(i,n[i]);t.scheduleRender()}}},t.prototype.getProjectionStyles=function(t){var e,n,r,i,a,o;void 0===t&&(t={});var s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var u=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=Te(t.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none",s;var l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=Te(t.pointerEvents)||""),this.hasProjected&&!Yt(this.latestValues)&&(c.transform=u?u({},""):"none",this.hasProjected=!1),c}var h=l.animationValues||l.latestValues;this.applyTransformsToTarget(),s.transform=ye(this.projectionDeltaWithTransform,this.treeScale,h),u&&(s.transform=u(h,s.transform));var d=this.projectionDelta,f=d.x,v=d.y;for(var p in s.transformOrigin="".concat(100*f.origin,"% ").concat(100*v.origin,"% 0"),l.animationValues?s.opacity=l===this?null!==(i=null!==(r=h.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:s.opacity=l===this?null!==(a=h.opacity)&&void 0!==a?a:"":null!==(o=h.opacityExit)&&void 0!==o?o:0,ge)if(void 0!==h[p]){var m=ge[p],g=m.correct,y=m.applyTo,A=g(h[p],l);if(y)for(var x=y.length,b=0;b<x;b++)s[y[b]]=A;else s[p]=A}return this.options.layoutId&&(s.pointerEvents=l===this?Te(t.pointerEvents)||"":"none"),s},t.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0}
1,t.prototype.resetTree=function(){this.root.nodes.forEach((function(t){var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(Fe),this.root.sharedNodes.clear()},t}()}function Ie(t){t.updateLayout()}function Oe(t){var e,n,r,i,a=null!==(n=null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)&&void 0!==n?n:t.snapshot;if(t.isLead()&&t.layout&&a&&t.hasListeners("didUpdate")){var o=t.layout,s=o.actual,u=o.measured;"size"===t.options.animationType?Ae((function(t){var e=a.isShared?a.measured[t]:a.layout[t],n=te(e);e.min=s[t].min,e.max=e.min+n})):"position"===t.options.animationType&&Ae((function(t){var e=a.isShared?a.measured[t]:a.layout[t],n=te(s[t]);e.max=e.min+n}));var l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};re(l,s,a.layout);var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};a.isShared?re(c,t.applyTransform(u,!0),a.measured):re(c,s,a.layout);var h=!fe(l),d=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){var f=t.relativeParent,v=f.snapshot,p=f.layout;if(v&&p){var m={x:{min:0,max:0},y:{min:0,max:0}};oe(m,a.layout,v.layout);var g={x:{min:0,max:0},y:{min:0,max:0}};oe(g,s,p.actual),ve(m,g)||(d=!0)}}t.notifyListeners("didUpdate",{layout:s,snapshot:a,delta:c,layoutDelta:l,hasLayoutChanged:h,hasRelativeTargetChanged:d})}else t.isLead()&&(null===(i=(r=t.options).onExitComplete)||void 0===i||i.call(r));t.options.transition=void 0}function Be(t){t.clearSnapshot()}function Fe(t){t.clearMeasurements()}function De(t){var e=t.options.visualElement;(null===e||void 0===e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function Ve(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function Ye(t){t.resolveTargetDelta()}function Xe(t){t.calcProjection()}function Ue(t){t.resetRotation()}function je(t){t.removeLeadSnapshot()}function Ze(t,e,n){t.translate=(0,R.C)(e.translate,0,n),t.scale=(0,R.C)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ne(t,e,n,r){t.min=(0,R.C)(e.min,n.min,r),t.max=(0,R.C)(e.max,n.max,r)}function ze(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var _e={duration:.45,ease:[.4,0,.1,1]};function We(t,e){for(var n=t.root,r=t.path.length-1;r>=0;r--)if(Boolean(t.path[r].instance)){n=t.path[r];break}var i=(n&&n!==t.root?n.instance:document).querySelector('[data-projection-id="'.concat(e,'"]'));i&&t.mount(i,!0)}function Ge(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function He(t){Ge(t.x),Ge(t.y)}var qe=1;var Je=n(5364),Ke=(0,i.createContext)({});var Qe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var t=this.props,e=t.visualElement,n=t.props;e&&e.setProps(n)},e.prototype.render=function(){return this.props.children},e}(i.Component);function $e(t){var e=t.preloadedFeatures,n=t.createVisualElement,a=t.projectionNodeConstructor,d=t.useRender,f=t.useVisualState,v=t.Component;return e&&function(t){for(var e in t)null!==t[e]&&("projectionNodeConstructor"===e?o.projectionNodeConstructor=t[e]:o[e].Component=t[e])}(e),(0,i.forwardRef)((function(t,e){var p=function(t){var e,n=t.layoutId,r=null===(e=(0,i.useContext)(Je.p))||void 0===e?void 0:e.id;return r&&void 0!==n?r+"-"+n:n}(t);t=(0,r.pi)((0,r.pi)({},t),{layoutId:p});var m=(0,i.useContext)(c._),A=null,x=C(t),b=m.isStatic?void 0:(0,M.h)((function(){if(Re.hasEverUpdated)return qe++})),w=f(t,m.isStatic);return!m.isStatic&&S.j&&(x.visualElement=g(v,w,(0,r.pi)((0,r.pi)({},m),t),n),function(t,e,n,r){var a,o=e.layoutId,s=e.layout,u=e.drag,l=e.dragConstraints,c=e.layoutScroll,h=(0,i.useContext)(Ke);r&&n&&!(null===n||void 0===n?void 0:n.projection)&&(n.projection=new r(t,n.getLatestValues(),null===(a=n.parent)||void 0===a?void 0:a.projection),n.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:Boolean(u)||l&&y(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"===typeof s?s:"both",initialPromotionConfig:h,layoutScroll:c}))}(b,t,x.visualElement,a||o.projectionNodeConstructor),A=function(t,e,n){var a=[];if((0,i.useContext)(s),!e)return null;for(var c=0;c<l;c++){var h=u[c],d=o[h],f=d.isEnabled,v=d.Component;f(t)&&v&&a.push(i.createElement(v,(0,r.pi)({key:h},t,{visualElement:e})))}return a}(t,x.visualElement)),i.createElement(Qe,{visualElement:x.visualElement,props:(0,r.pi)((0,r.pi)({},m),t)},A,i.createElement(h.Provider,{value:x},d(v,t,b,function(t,e,n){return(0,i.useCallback)((function(r){var i;r&&(null===(i=t.mount)||void 0===i||i.call(t,r)),e&&(r?e.mount(r):e.unmount()),n&&("function"===typeof n?n(r):y(n)&&(n.current=r))}),[e])}(w,x.visualElement,e),w,m.isStatic,x.visualElement)))}))}function tn(t){function e(e,n){return void 0===n&&(n={}),$e(t(e,n))}if("undefined"===typeof Proxy)return e;var n=new Map;return new Proxy(e,{get:function(t,r){return n.has(r)||n.set(r,e(r)),n.get(r)}})}var en=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function nn(t){return"string"===typeof t&&!t.includes("-")&&!!(en.indexOf(t)>-1||/[A-Z]/.test(t))}function rn(t,e){var n=e.layout,r=e.layoutId;return ke(t)||Ee(t)||(n||void 0!==r)&&(!!ge[t]||"opacity"===t)}var an={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function on(t){return t.startsWith("--")}var sn=function(t,e){return e&&"number"===typeof t?e.transform(t):t};function un(t,e,n,r){var i,a=t.style,o=t.vars,s=t.transform,u=t.transformKeys,l=t.transformOrigin;u.length=0;var c=!1,h=!1,d=!0;for(var f in e){var v=e[f];if(on(f))o[f]=v;else{var p=ct[f],m=sn(v,p);if(ke(f)){if(c=!0,s[f]=m,u.push(f),!d)continue;v!==(null!==(i=p.default)&&void 0!==i?i:0)&&(d=!1)}else Ee(f)?(l[f]=m,h=!0):a[f]=m}}c?a.transform=function(t,e,n,r){var i=t.transform,a=t.transformKeys,o=e.enableHardwareAcceleration,s=void 0===o||o,u=e.allowTransformNone,l=void 0===u||u,c="";a.sort(we);for(var h=!1,d=a.length,f=0;f<d;f++){var v=a[f];c+="".concat(an[v]||v,"(").concat(i[v],") "),"z"===v&&(h=!0)}return!h&&s?c+="translateZ(0)":c=c.trim(),r?c=r(i,n?"":c):l&&n&&(c="none"),c}(t,n,d,r):r?a.transform=r({},""):!e.transform&&a.transform&&(a.transform="none"),h&&(a.transformOrigin=function(t){var e=t.originX,n=void 0===e?"50%":e,r=t.originY,i=void 0===r?"50%":r,a=t.originZ,o=void 0===a?0:a;return"".concat(n," ").concat(i," ").concat(o)}(l))}var ln=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function cn(t,e,n){for(var r in e)(0,I.i)(e[r])||rn(r,n)||(t[r]=e[r])}function hn(t,e,n){var a={};return cn(a,t.style||{},t),Object.assign(a,function(t,e,n){var a=t.transformTemplate;return(0,i.useMemo)((function(){var t={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};un(t,e,{enableHardwareAcceleration:!n},a);var i=t.vars,o=t.style;return(0,r.pi)((0,r.pi)({},i),o)}),[e])}
1(t,e,n)),t.transformValues&&(a=t.transformValues(a)),a}function dn(t,e,n){var r={},i=hn(t,e,n);return Boolean(t.drag)&&!1!==t.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),r.style=i,r}var fn=n(1492);function vn(t,e,n){return"string"===typeof t?t:st.px.transform(e+n*t)}var pn={offset:"stroke-dashoffset",array:"stroke-dasharray"},mn={offset:"strokeDashoffset",array:"strokeDasharray"};function gn(t,e,n,i){var a=e.attrX,o=e.attrY,s=e.originX,u=e.originY,l=e.pathLength,c=e.pathSpacing,h=void 0===c?1:c,d=e.pathOffset,f=void 0===d?0:d;un(t,(0,r._T)(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,i),t.attrs=t.style,t.style={};var v=t.attrs,p=t.style,m=t.dimensions;v.transform&&(m&&(p.transform=v.transform),delete v.transform),m&&(void 0!==s||void 0!==u||p.transform)&&(p.transformOrigin=function(t,e,n){var r=vn(e,t.x,t.width),i=vn(n,t.y,t.height);return"".concat(r," ").concat(i)}(m,void 0!==s?s:.5,void 0!==u?u:.5)),void 0!==a&&(v.x=a),void 0!==o&&(v.y=o),void 0!==l&&function(t,e,n,r,i){void 0===n&&(n=1),void 0===r&&(r=0),void 0===i&&(i=!0),t.pathLength=1;var a=i?pn:mn;t[a.offset]=st.px.transform(-r);var o=st.px.transform(e),s=st.px.transform(n);t[a.array]="".concat(o," ").concat(s)}(v,l,h,f,!1)}var yn=function(){return(0,r.pi)((0,r.pi)({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function An(t,e){var n=(0,i.useMemo)((function(){var n=yn();return gn(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),(0,r.pi)((0,r.pi)({},n.attrs),{style:(0,r.pi)({},n.style)})}),[e]);if(t.style){var a={};cn(a,t.style,t),n.style=(0,r.pi)((0,r.pi)({},a),n.style)}return n}function xn(t){void 0===t&&(t=!1);return function(e,n,a,o,s,u){var l=s.latestValues,c=(nn(e)?An:dn)(n,l,u),h=(0,fn.L)(n,"string"===typeof e,t),d=(0,r.pi)((0,r.pi)((0,r.pi)({},h),c),{ref:o});return a&&(d["data-projection-id"]=a),(0,i.createElement)(e,d)}}var bn=/([a-z])([A-Z])/g,wn=function(t){return t.replace(bn,"$1-$2").toLowerCase()};function Ln(t,e,n,r){var i=e.style,a=e.vars;for(var o in Object.assign(t.style,i,r&&r.getProjectionStyles(n)),a)t.style.setProperty(o,a[o])}var kn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Cn(t,e){for(var n in Ln(t,e),e.attrs)t.setAttribute(kn.has(n)?n:wn(n),e.attrs[n])}function En(t){var e=t.style,n={};for(var r in e)((0,I.i)(e[r])||rn(r,t))&&(n[r]=e[r]);return n}function Sn(t){var e=En(t);for(var n in t){if((0,I.i)(t[n]))e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]}return e}function Mn(t){return"object"===typeof t&&"function"===typeof t.start}function Tn(t,e,n,r){var i=t.scrapeMotionValuesFromProps,a=t.createRenderState,o=t.onMount,s={latestValues:Pn(e,n,r,i),renderState:a()};return o&&(s.mount=function(t){return o(e,t,s)}),s}var Rn=function(t){return function(e,n){var r=(0,i.useContext)(h),a=(0,i.useContext)(d.O);return n?Tn(t,e,r,a):(0,M.h)((function(){return Tn(t,e,r,a)}))}};function Pn(t,e,n,i){var a={},o=!1===(null===n||void 0===n?void 0:n.initial),s=i(t);for(var u in s)a[u]=Te(s[u]);var l=t.initial,c=t.animate,h=L(t),d=k(t);e&&d&&!h&&!1!==t.inherit&&(null!==l&&void 0!==l||(l=e.initial),null!==c&&void 0!==c||(c=e.animate));var f=o||!1===l,v=f?c:l;v&&"boolean"!==typeof v&&!Mn(v)&&(Array.isArray(v)?v:[v]).forEach((function(e){var n=b(t,e);if(n){var i=n.transitionEnd;n.transition;var o=(0,r._T)(n,["transitionEnd","transition"]);for(var s in o){var u=o[s];if(Array.isArray(u))u=u[f?u.length-1:0];null!==u&&(a[s]=u)}for(var s in i)a[s]=i[s]}}));return a}var In,On={useVisualState:Rn({scrapeMotionValuesFromProps:Sn,createRenderState:yn,onMount:function(t,e,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"===typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(a){r.dimensions={x:0,y:0,width:0,height:0}}gn(r,i,{enableHardwareAcceleration:!1},t.transformTemplate),Cn(e,r)}})},Bn={useVisualState:Rn({scrapeMotionValuesFromProps:En,createRenderState:ln})};function Fn(t,e,n,r){return t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n,r)}}function Dn(t,e,n,r){(0,i.useEffect)((function(){var i=t.current;if(n&&i)return Fn(i,e,n,r)}),[t,e,n,r])}function Vn(t){return"undefined"!==typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function Yn(t){return!!t.touches}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(In||(In={}));var Xn={pageX:0,pageY:0};function Un(t,e){void 0===e&&(e="page");var n=t.touches[0]||t.changedTouches[0]||Xn;return{x:n[e+"X"],y:n[e+"Y"]}}function jn(t,e){return void 0===e&&(e="page"),{x:t[e+"X"],y:t[e+"Y"]}}function Zn(t,e){return void 0===e&&(e="page"),{point:Yn(t)?Un(t,e):jn(t,e)}}var Nn=function(t,e){void 0===e&&(e=!1);var n,r=function(e){return t(e,Zn(e))};return e?(n=r,function(t){var e=t instanceof MouseEvent;(!e||e&&0===t.button)&&n(t)}):r}
1,zn={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},_n={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Wn(t){return S.j&&null===window.onpointerdown?t:S.j&&null===window.ontouchstart?_n[t]:S.j&&null===window.onmousedown?zn[t]:t}function Gn(t,e,n,r){return Fn(t,Wn(e),Nn(n,"pointerdown"===e),r)}function Hn(t,e,n,r){return Dn(t,Wn(e),n&&Nn(n,"pointerdown"===e),r)}function qn(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}var Jn=qn("dragHorizontal"),Kn=qn("dragVertical");function Qn(t){var e=!1;if("y"===t)e=Kn();else if("x"===t)e=Jn();else{var n=Jn(),r=Kn();n&&r?e=function(){n(),r()}:(n&&n(),r&&r())}return e}function $n(){var t=Qn(!0);return!t||(t(),!1)}function tr(t,e,n){return function(r,i){var a;Vn(r)&&!$n()&&(null===(a=t.animationState)||void 0===a||a.setActive(In.Hover,e),null===n||void 0===n||n(r,i))}}var er=function(t,e){return!!e&&(t===e||er(t,e.parentElement))},nr=n(5411),rr=n(9897);var ir=new WeakMap,ar=new WeakMap,or=function(t){var e;null===(e=ir.get(t.target))||void 0===e||e(t)},sr=function(t){t.forEach(or)};function ur(t,e,n){var i=function(t){var e=t.root,n=(0,r._T)(t,["root"]),i=e||document;ar.has(i)||ar.set(i,{});var a=ar.get(i),o=JSON.stringify(n);return a[o]||(a[o]=new IntersectionObserver(sr,(0,r.pi)({root:e},n))),a[o]}(e);return ir.set(t,n),i.observe(t),function(){ir.delete(t),i.unobserve(t)}}var lr={some:0,all:1};function cr(t,e,n,r){var a=r.root,o=r.margin,s=r.amount,u=void 0===s?"some":s,l=r.once;(0,i.useEffect)((function(){if(t){var r={root:null===a||void 0===a?void 0:a.current,rootMargin:o,threshold:"number"===typeof u?u:lr[u]};return ur(n.getInstance(),r,(function(t){var r,i=t.isIntersecting;if(e.isInView!==i&&(e.isInView=i,!l||i||!e.hasEnteredView)){i&&(e.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(In.InView,i);var a=n.getProps(),o=i?a.onViewportEnter:a.onViewportLeave;null===o||void 0===o||o(t)}}))}}),[t,a,o,u])}function hr(t,e,n,r){var a=r.fallback,o=void 0===a||a;(0,i.useEffect)((function(){t&&o&&requestAnimationFrame((function(){var t;e.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null===r||void 0===r||r(null),null===(t=n.animationState)||void 0===t||t.setActive(In.InView,!0)}))}),[t])}var dr=function(t){return function(e){return t(e),null}},fr={inView:dr((function(t){var e=t.visualElement,n=t.whileInView,r=t.onViewportEnter,a=t.onViewportLeave,o=t.viewport,s=void 0===o?{}:o,u=(0,i.useRef)({hasEnteredView:!1,isInView:!1}),l=Boolean(n||r||a);s.once&&u.current.hasEnteredView&&(l=!1),("undefined"===typeof IntersectionObserver?hr:cr)(l,u.current,e,s)})),tap:dr((function(t){var e=t.onTap,n=t.onTapStart,r=t.onTapCancel,a=t.whileTap,o=t.visualElement,s=e||n||r||a,u=(0,i.useRef)(!1),l=(0,i.useRef)(null);function c(){var t;null===(t=l.current)||void 0===t||t.call(l),l.current=null}function h(){var t;return c(),u.current=!1,null===(t=o.animationState)||void 0===t||t.setActive(In.Tap,!1),!$n()}function d(t,n){h()&&(er(o.getInstance(),t.target)?null===e||void 0===e||e(t,n):null===r||void 0===r||r(t,n))}function f(t,e){h()&&(null===r||void 0===r||r(t,e))}Hn(o,"pointerdown",s?function(t,e){var r;c(),u.current||(u.current=!0,l.current=(0,rr.z)(Gn(window,"pointerup",d),Gn(window,"pointercancel",f)),null===(r=o.animationState)||void 0===r||r.setActive(In.Tap,!0),null===n||void 0===n||n(t,e))}:void 0),(0,nr.z)(c)})),focus:dr((function(t){var e=t.whileFocus,n=t.visualElement;Dn(n,"focus",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(In.Focus,!0)}:void 0),Dn(n,"blur",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(In.Focus,!1)}:void 0)})),hover:dr((function(t){var e=t.onHoverStart,n=t.onHoverEnd,r=t.whileHover,i=t.visualElement;Hn(i,"pointerenter",e||r?tr(i,!0,e):void 0),Hn(i,"pointerleave",n||r?tr(i,!1,n):void 0)}))},vr=n(6316);function pr(){var t=(0,i.useContext)(d.O);if(null===t)return[!0,null];var e=t.isPresent,n=t.onExitComplete,r=t.register,a=(0,vr.M)();(0,i.useEffect)((function(){return r(a)}),[]);return!e&&n?[!1,function(){return null===n||void 0===n?void 0:n(a)}]:[!0]}function mr(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var gr=function(t){return/^0[^.\s]+$/.test(t)},yr=function(t){return function(e){return e.test(t)}},Ar=[ut.Rx,st.px,st.aQ,st.RW,st.vw,st.vh,{test:function(t){return"auto"===t},parse:function(t){return t}}],xr=function(t){return Ar.find(yr(t))},br=(0,r.ev)((0,r.ev)([],(0,r.CR)(Ar),!1),[ot.$,G.P],!1),wr=function(t){return br.find(yr(t))};function Lr(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,P.B)(n))}function kr(t,e){var n=w(t,e),i=n?t.makeTargetAnimatable(n,!1):{},a=i.transitionEnd,o=void 0===a?{}:a;i.transition;var s=(0,r._T)(i,["transitionEnd","transition"]);for(var u in s=(0,r.pi)((0,r.pi)({},s),o)){Lr(t,u,pt(s[u]))}}function Cr(t,e){if(e)return(e[t]||e.default||e).from}function Er(t,e,n){var i;void 0===n&&(n={});var a=w(t,e,n.custom),o=(a||{}).transition,s=void 0===o?t.getDefaultTransition()||{}:o;n.transitionOverride&&(s=n.transitionOverride);var u=a?function(){return Sr(t,a,n)}:function(){return Promise.resolve()},l=(null===(i=t.variantChildren)||void 0===i?void 0:i.size)?function(i){void 0===i&&(i=0);var a=s.delayChildren,o=void 0===a?0:a,u=s.staggerChildren,l=s.staggerDirection;return function(t,e,n,i,a,o){void 0===n&&(n=0);void 0===i&&(i=0);void 0===a&&(a=1);var s=[],u=(t.variantChildren.size-1)*i,l=1===a?function(t){return void 0===t&&(t=0),t*i}:function(t){return void 0===t&&(t=0),u-t*i};return Array.from(t.variantChildren).sort(Mr).forEach((function(t,i){s.push(Er(t,e,(0,r.pi)((0,r.pi)({},o),{delay:n+l(i)})).then((function(){return t.notifyAnimationComplete(e)})))}
1)),Promise.all(s)}(t,e,o+i,u,l,n)}:function(){return Promise.resolve()},c=s.when;if(c){var h=(0,r.CR)("beforeChildren"===c?[u,l]:[l,u],2),d=h[0],f=h[1];return d().then(f)}return Promise.all([u(),l(n.delay)])}function Sr(t,e,n){var i,a=void 0===n?{}:n,o=a.delay,s=void 0===o?0:o,u=a.transitionOverride,l=a.type,c=t.makeTargetAnimatable(e),h=c.transition,d=void 0===h?t.getDefaultTransition():h,f=c.transitionEnd,v=(0,r._T)(c,["transition","transitionEnd"]);u&&(d=u);var p=[],m=l&&(null===(i=t.animationState)||void 0===i?void 0:i.getState()[l]);for(var g in v){var y=t.getValue(g),A=v[g];if(!(!y||void 0===A||m&&Tr(m,g))){var x=(0,r.pi)({delay:s},d);t.shouldReduceMotion&&ke(g)&&(x=(0,r.pi)((0,r.pi)({},x),{type:!1,delay:0}));var b=Lt(g,y,A,x);p.push(b)}}return Promise.all(p).then((function(){f&&kr(t,f)}))}function Mr(t,e){return t.sortNodePosition(e)}function Tr(t,e){var n=t.protectedKeys,r=t.needsAnimating,i=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,i}var Rr=[In.Animate,In.InView,In.Focus,In.Hover,In.Tap,In.Drag,In.Exit],Pr=(0,r.ev)([],(0,r.CR)(Rr),!1).reverse(),Ir=Rr.length;function Or(t){return function(e){return Promise.all(e.map((function(e){var n=e.animation,r=e.options;return function(t,e,n){var r;if(void 0===n&&(n={}),t.notifyAnimationStart(e),Array.isArray(e)){var i=e.map((function(e){return Er(t,e,n)}));r=Promise.all(i)}else if("string"===typeof e)r=Er(t,e,n);else{var a="function"===typeof e?w(t,e,n.custom):e;r=Sr(t,a,n)}return r.then((function(){return t.notifyAnimationComplete(e)}))}(t,n,r)})))}}function Br(t){var e=Or(t),n=function(){var t;return(t={})[In.Animate]=Fr(!0),t[In.InView]=Fr(),t[In.Hover]=Fr(),t[In.Tap]=Fr(),t[In.Drag]=Fr(),t[In.Focus]=Fr(),t[In.Exit]=Fr(),t}(),i={},a=!0,o=function(e,n){var i=w(t,n);if(i){i.transition;var a=i.transitionEnd,o=(0,r._T)(i,["transition","transitionEnd"]);e=(0,r.pi)((0,r.pi)((0,r.pi)({},e),o),a)}return e};function s(s,u){for(var l,c=t.getProps(),h=t.getVariantContext(!0)||{},d=[],f=new Set,v={},p=1/0,m=function(e){var i=Pr[e],m=n[i],g=null!==(l=c[i])&&void 0!==l?l:h[i],y=x(g),b=i===u?m.isActive:null;!1===b&&(p=e);var w=g===h[i]&&g!==c[i]&&y;if(w&&a&&t.manuallyAnimateOnMount&&(w=!1),m.protectedKeys=(0,r.pi)({},v),!m.isActive&&null===b||!g&&!m.prevProp||Mn(g)||"boolean"===typeof g)return"continue";var L=function(t,e){if("string"===typeof e)return e!==t;if(A(e))return!mr(e,t);return!1}(m.prevProp,g),k=L||i===u&&m.isActive&&!w&&y||e>p&&y,C=Array.isArray(g)?g:[g],E=C.reduce(o,{});!1===b&&(E={});var S=m.prevResolvedValues,M=void 0===S?{}:S,T=(0,r.pi)((0,r.pi)({},M),E),R=function(t){k=!0,f.delete(t),m.needsAnimating[t]=!0};for(var P in T){var I=E[P],O=M[P];v.hasOwnProperty(P)||(I!==O?q(I)&&q(O)?!mr(I,O)||L?R(P):m.protectedKeys[P]=!0:void 0!==I?R(P):f.add(P):void 0!==I&&f.has(P)?R(P):m.protectedKeys[P]=!0)}m.prevProp=g,m.prevResolvedValues=E,m.isActive&&(v=(0,r.pi)((0,r.pi)({},v),E)),a&&t.blockInitialAnimation&&(k=!1),k&&!w&&d.push.apply(d,(0,r.ev)([],(0,r.CR)(C.map((function(t){return{animation:t,options:(0,r.pi)({type:i},s)}}))),!1))},g=0;g<Ir;g++)m(g);if(i=(0,r.pi)({},v),f.size){var y={};f.forEach((function(e){var n=t.getBaseTarget(e);void 0!==n&&(y[e]=n)})),d.push({animation:y})}var b=Boolean(d.length);return a&&!1===c.initial&&!t.manuallyAnimateOnMount&&(b=!1),a=!1,b?e(d):Promise.resolve()}return{isAnimated:function(t){return void 0!==i[t]},animateChanges:s,setActive:function(e,r,i){var a;if(n[e].isActive===r)return Promise.resolve();null===(a=t.variantChildren)||void 0===a||a.forEach((function(t){var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)})),n[e].isActive=r;var o=s(i,e);for(var u in n)n[u].protectedKeys={};return o},setAnimateFunction:function(n){e=n(t)},getState:function(){return n}}}function Fr(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Dr={animation:dr((function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=Br(e)),Mn(n)&&(0,i.useEffect)((function(){return n.subscribe(e)}),[n])})),exit:dr((function(t){var e=t.custom,n=t.visualElement,a=(0,r.CR)(pr(),2),o=a[0],s=a[1],u=(0,i.useContext)(d.O);(0,i.useEffect)((function(){var t,r;n.isPresent=o;var i=null===(t=n.animationState)||void 0===t?void 0:t.setActive(In.Exit,!o,{custom:null!==(r=null===u||void 0===u?void 0:u.custom)&&void 0!==r?r:e});!o&&(null===i||void 0===i||i.then(s))}),[o])}))},Vr=function(){function t(t,e,n){var i=this,a=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(i.lastMoveEvent&&i.lastMoveEventInfo){var t=Ur(i.lastMoveEventInfo,i.history),e=null!==i.startEvent,n=$t(t.offset,{x:0,y:0})>=3;if(e||n){var a=t.point,o=(0,T.$B)().timestamp;i.history.push((0,r.pi)((0,r.pi)({},a),{timestamp:o}));var s=i.handlers,u=s.onStart,l=s.onMove;e||(u&&u(i.lastMoveEvent,t),i.startEvent=i.lastMoveEvent),l&&l(i.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){i.lastMoveEvent=t,i.lastMoveEventInfo=Yr(e,i.transformPagePoint),Vn(t)&&0===t.buttons?i.handlePointerUp(t,e):T.ZP.update(i.updatePoint,!0)},this.handlePointerUp=function(t,e){i.end();var n=i.handlers,r=n.onEnd,a=n.onSessionEnd,o=Ur(Yr(e,i.transformPagePoint),i.history);i.startEvent&&r&&r(t,o),a&&a(t,o)},!(Yn(t)&&t.touches.length>1)){this.handlers=e,this.transformPagePoint=a;var o=Yr(Zn(t),this.transformPagePoint),s=o.point,u=(0,T.$B)().timestamp;this.history=[(0,r.pi)((0,r.pi)({},s),{timestamp:u})];var l=e.onSessionStart;l&&l(t,Ur(o,this.history)),this.removeListeners=(0,rr.z)(Gn(window,"pointermove",this.handlePointerMove),Gn(window,"pointerup",this.handlePointerUp),Gn(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),T.qY.update(this.updatePoint)},t}();function Yr(t,e){return e?{point:e(t.point)}:t}function Xr(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ur(t,e){var n=t.point;return{point:n,delta:Xr(n,Zr(e)),offset:Xr(n,jr(e)),velocity:Nr(e,.1)}}function jr(t){return t[0]}function Zr(t){return t[t.length-1]}function Nr(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,i=Zr(t);n>=0&&(r=t[n],!(i.timestamp-r.timestamp>F(e)));)n--;if(!r)return{x:0,y:0};var a=(i.timestamp-r.timestamp)/1e3;if(0===a)return{x:0,y:0};var o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}var zr=n(6773);function _r(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Wr(t,e){var n,i=e.min-t.min,a=e.max-t.max;return e.max-e.min<t.max-t.min&&(i=(n=(0,r.CR)([a,i],2))[0],a=n[1]),{min:i,max:a}}var Gr=.35;function Hr(t,e,n){return{min:qr(t,e),max:qr(t,n)}}function qr(t,e){var n;return"number"===typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}function Jr(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function Kr(t,e){return Jr(function(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var Qr=new WeakMap,$r=function(){function t(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}return t.prototype.start=function(t,e){var n=this,r=(void 0===e?{}:e).snapToCursor,i=void 0!==r&&r;if(!1!==this.visualElement.isPresent){this.panSession=new Vr(t,{onSessionStart:function(t){n.stopAnimation(),i&&n.snapToCursor(Zn(t,"page").point)},onStart:function(t,e){var r,i=n.getProps(),a=i.drag,o=i.dragPropagation,s=i.onDragStart;(!a||o||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=Qn(a),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),Ae((function(t){var e,r,i=n.getAxisMotionValue(t).get()||0;if(st.aQ.test(i)){var a=null===(r=null===(e=n.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===r?void 0:r.actual[t];if(a)i=te(a)*(parseFloat(i)/100)}n.originPoint[t]=i})),null===s||void 0===s||s(t,e),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(In.Drag,!0))},onMove:function(t,e){var r=n.getProps(),i=r.dragPropagation,a=r.dragDirectionLock,o=r.onDirectionLock,s=r.onDrag;if(i||n.openGlobalLock){var u=e.offset;if(a&&null===n.currentDirection)return n.currentDirection=function(t,e){void 0===e&&(e=10);var n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}
1(u),void(null!==n.currentDirection&&(null===o||void 0===o||o(n.currentDirection)));n.updateAxis("x",e.point,u),n.updateAxis("y",e.point,u),n.visualElement.syncRender(),null===s||void 0===s||s(t,e)}},onSessionEnd:function(t,e){return n.stop(t,e)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},t.prototype.stop=function(t,e){var n=this.isDragging;if(this.cancel(),n){var r=e.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;null===i||void 0===i||i(t,e)}},t.prototype.cancel=function(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(In.Drag,!1)},t.prototype.updateAxis=function(t,e,n){var r=this.getProps().drag;if(n&&ti(t,r,this.currentDirection)){var i=this.getAxisMotionValue(t),a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=function(t,e,n){var r=e.min,i=e.max;return void 0!==r&&t<r?t=n?(0,R.C)(r,t,n.min):Math.max(t,r):void 0!==i&&t>i&&(t=n?(0,R.C)(i,t,n.max):Math.min(t,i)),t}(a,this.constraints[t],this.elastic[t])),i.set(a)}},t.prototype.resolveConstraints=function(){var t=this,e=this.getProps(),n=e.dragConstraints,r=e.dragElastic,i=(this.visualElement.projection||{}).layout,a=this.constraints;n&&y(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!i)&&function(t,e){var n=e.top,r=e.left,i=e.bottom,a=e.right;return{x:_r(t.x,r,a),y:_r(t.y,n,i)}}(i.actual,n),this.elastic=function(t){return void 0===t&&(t=Gr),!1===t?t=0:!0===t&&(t=Gr),{x:Hr(t,"left","right"),y:Hr(t,"top","bottom")}}(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Ae((function(e){t.getAxisMotionValue(e)&&(t.constraints[e]=function(t,e){var n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.actual[e],t.constraints[e]))}))},t.prototype.resolveRefConstraints=function(){var t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!y(e))return!1;var r=e.current;(0,D.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var i=this.visualElement.projection;if(!i||!i.layout)return!1;var a=function(t,e,n){var r=Kr(t,n),i=e.scroll;return i&&(zt(r.x,i.x),zt(r.y,i.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),o=function(t,e){return{x:Wr(t.x,e.x),y:Wr(t.y,e.y)}}(i.layout.actual,a);if(n){var s=n(function(t){var e=t.x,n=t.y;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(o));this.hasMutatedConstraints=!!s,s&&(o=Jr(s))}return o},t.prototype.startAnimation=function(t){var e=this,n=this.getProps(),i=n.drag,a=n.dragMomentum,o=n.dragElastic,s=n.dragTransition,u=n.dragSnapToOrigin,l=n.onDragTransitionEnd,c=this.constraints||{},h=Ae((function(n){var l;if(ti(n,i,e.currentDirection)){var h=null!==(l=null===c||void 0===c?void 0:c[n])&&void 0!==l?l:{};u&&(h={min:0,max:0});var d=o?200:1e6,f=o?40:1e7,v=(0,r.pi)((0,r.pi)({type:"inertia",velocity:a?t[n]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},s),h);return e.startAxisValueAnimation(n,v)}}));return Promise.all(h).then(l)},t.prototype.startAxisValueAnimation=function(t,e){return Lt(t,this.getAxisMotionValue(t),0,e)},t.prototype.stopAnimation=function(){var t=this;Ae((function(e){return t.getAxisMotionValue(e).stop()}))},t.prototype.getAxisMotionValue=function(t){var e,n,r="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[r];return i||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)},t.prototype.snapToCursor=function(t){var e=this;Ae((function(n){if(ti(n,e.getProps().drag,e.currentDirection)){var r=e.visualElement.projection,i=e.getAxisMotionValue(n);if(r&&r.layout){var a=r.layout.actual[n],o=a.min,s=a.max;i.set(t[n]-(0,R.C)(o,s,.5))}}}))},t.prototype.scalePositionWithinConstraints=function(){var t,e=this,n=this.getProps(),r=n.drag,i=n.dragConstraints,a=this.visualElement.projection;if(y(i)&&a&&this.constraints){this.stopAnimation();var o={x:0,y:0};Ae((function(t){var n=e.getAxisMotionValue(t);if(n){var r=n.get();o[t]=function(t,e){var n=.5,r=te(t),i=te(e);return i>r?n=(0,Ct.Y)(e.min,e.max-r,t.min):r>i&&(n=(0,Ct.Y)(t.min,t.max-i,e.min)),(0,zr.u)(0,1,n)}({min:r,max:r},e.constraints[t])}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(t=a.root)||void 0===t||t.updateScroll(),a.updateLayout(),this.resolveConstraints(),Ae((function(t){if(ti(t,r,null)){var n=e.getAxisMotionValue(t),i=e.constraints[t],a=i.min,s=i.max;n.set((0,R.C)(a,s,o[t]))}}))}},t.prototype.addListeners=function(){var t,e=this;Qr.set(this.visualElement,this);var n=Gn(this.visualElement.getInstance(),"pointerdown",(function(t){var n=e.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&e.start(t)})),r=function(){y(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},i=this.visualElement.projection,a=i.addEventListener("measure",r);i&&!i.layout&&(null===(t=i.root)||void 0===t||t.updateScroll(),i.updateLayout()),r();var o=Fn(window,"resize",(function(){e.scalePositionWithinConstraints()}));return i.addEventListener("didUpdate",(function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(Ae((function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))})),e.visualElement.syncRender())})),function(){o(),n(),a()}},t.prototype.getProps=function(){var t=this.visualElement.getProps(),e=t.drag,n=void 0!==e&&e,i=t.dragDirectionLock,a=void 0!==i&&i,o=t.dragPropagation,s=void 0!==o&&o,u=t.dragConstraints,l=void 0!==u&&u,c=t.dragElastic,h=void 0===c?Gr:c,d=t.dragMomentum,f=void 0===d||d;return(0,r.pi)((0,r.pi)({},t),{drag:n,dragDirectionLock:a,dragPropagation:s,dragConstraints:l,dragElastic:h,dragMomentum:f})},t}();function ti(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}var ei={pan:dr((function(t){var e=t.onPan,n=t.onPanStart,r=t.onPanEnd,a=t.onPanSessionStart,o=t.visualElement,s=e||n||r||a,u=(0,i.useRef)(null),l=(0,i.useContext)(c._).transformPagePoint,h={onSessionStart:a,onStart:n,onMove:e,onEnd:function(t,e){u.current=null,r&&r(t,e)}};(0,i.useEffect)((function(){null!==u.current&&u.current.updateHandlers(h)}
1)),Hn(o,"pointerdown",s&&function(t){u.current=new Vr(t,h,{transformPagePoint:l})}),(0,nr.z)((function(){return u.current&&u.current.end()}))})),drag:dr((function(t){var e=t.dragControls,n=t.visualElement,r=(0,M.h)((function(){return new $r(n)}));(0,i.useEffect)((function(){return e&&e.subscribe(r)}),[r,e]),(0,i.useEffect)((function(){return r.addListeners()}),[r])}))},ni=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];var ri=function(t){var e=t.treeType,n=void 0===e?"":e,i=t.build,a=t.getBaseTarget,o=t.makeTargetAnimatable,s=t.measureViewportBox,u=t.render,l=t.readValueFromInstance,c=t.removeValueFromRenderState,h=t.sortNodePosition,d=t.scrapeMotionValuesFromProps;return function(t,e){var f=t.parent,v=t.props,p=t.presenceId,m=t.blockInitialAnimation,g=t.visualState,y=t.shouldReduceMotion;void 0===e&&(e={});var A,b,w=!1,C=g.latestValues,E=g.renderState,S=function(){var t=ni.map((function(){return new kt.L})),e={},n={clearAllListeners:function(){return t.forEach((function(t){return t.clear()}))},updatePropListeners:function(t){ni.forEach((function(r){var i,a="on"+r,o=t[a];null===(i=e[r])||void 0===i||i.call(e),o&&(e[r]=n[a](o))}))}};return t.forEach((function(t,e){n["on"+ni[e]]=function(e){return t.add(e)},n["notify"+ni[e]]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.notify.apply(t,(0,r.ev)([],(0,r.CR)(e),!1))}})),n}(),M=new Map,R=new Map,O={},B=(0,r.pi)({},C);function F(){A&&w&&(D(),u(A,E,v.style,z.projection))}function D(){i(z,E,C,e,v)}function V(){S.notifyUpdate(C)}function Y(t,e){var n=e.onChange((function(e){C[t]=e,v.onUpdate&&T.ZP.update(V,!1,!0)})),r=e.onRenderRequest(z.scheduleRender);R.set(t,(function(){n(),r()}))}var X=d(v);for(var U in X){var j=X[U];void 0!==C[U]&&(0,I.i)(j)&&j.set(C[U],!1)}var Z=L(v),N=k(v),z=(0,r.pi)((0,r.pi)({treeType:n,current:null,depth:f?f.depth+1:0,parent:f,children:new Set,presenceId:p,shouldReduceMotion:y,variantChildren:N?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null===f||void 0===f?void 0:f.isMounted()),blockInitialAnimation:m,isMounted:function(){return Boolean(A)},mount:function(t){w=!0,A=z.current=t,z.projection&&z.projection.mount(t),N&&f&&!Z&&(b=null===f||void 0===f?void 0:f.addVariantChild(z)),M.forEach((function(t,e){return Y(e,t)})),null===f||void 0===f||f.children.add(z),z.setProps(v)},unmount:function(){var t;null===(t=z.projection)||void 0===t||t.unmount(),T.qY.update(V),T.qY.render(F),R.forEach((function(t){return t()})),null===b||void 0===b||b(),null===f||void 0===f||f.children.delete(z),S.clearAllListeners(),A=void 0,w=!1},addVariantChild:function(t){var e,n=z.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),function(){return n.variantChildren.delete(t)}},sortNodePosition:function(t){return h&&n===t.treeType?h(z.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return N?z:null===f||void 0===f?void 0:f.getClosestVariantNode()},getLayoutId:function(){return v.layoutId},getInstance:function(){return A},getStaticValue:function(t){return C[t]},setStaticValue:function(t,e){return C[t]=e},getLatestValues:function(){return C},setVisibility:function(t){z.isVisible!==t&&(z.isVisible=t,z.scheduleRender())},makeTargetAnimatable:function(t,e){return void 0===e&&(e=!0),o(z,t,v,e)},measureViewportBox:function(){return s(A,v)},addValue:function(t,e){z.hasValue(t)&&z.removeValue(t),M.set(t,e),C[t]=e.get(),Y(t,e)},removeValue:function(t){var e;M.delete(t),null===(e=R.get(t))||void 0===e||e(),R.delete(t),delete C[t],c(t,E)},hasValue:function(t){return M.has(t)},getValue:function(t,e){var n=M.get(t);return void 0===n&&void 0!==e&&(n=(0,P.B)(e),z.addValue(t,n)),n},forEachValue:function(t){return M.forEach(t)},readValue:function(t){var n;return null!==(n=C[t])&&void 0!==n?n:l(A,t,e)},setBaseTarget:function(t,e){B[t]=e},getBaseTarget:function(t){if(a){var e=a(v,t);if(void 0!==e&&!(0,I.i)(e))return e}return B[t]}},S),{build:function(){return D(),E},scheduleRender:function(){T.ZP.render(F,!1,!0)},syncRender:F,setProps:function(t){(t.transformTemplate||v.transformTemplate)&&z.scheduleRender(),v=t,S.updatePropListeners(t),O=function(t,e,n){var r;for(var i in e){var a=e[i],o=n[i];if((0,I.i)(a))t.addValue(i,a);
1else if((0,I.i)(o))t.addValue(i,(0,P.B)(a));else if(o!==a)if(t.hasValue(i)){var s=t.getValue(i);!s.hasAnimated&&s.set(a)}else t.addValue(i,(0,P.B)(null!==(r=t.getStaticValue(i))&&void 0!==r?r:a))}for(var i in n)void 0===e[i]&&t.removeValue(i);return e}(z,d(v),O)},getProps:function(){return v},getVariant:function(t){var e;return null===(e=v.variants)||void 0===e?void 0:e[t]},getDefaultTransition:function(){return v.transition},getTransformPagePoint:function(){return v.transformPagePoint},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null===f||void 0===f?void 0:f.getVariantContext();if(!Z){var e=(null===f||void 0===f?void 0:f.getVariantContext())||{};return void 0!==v.initial&&(e.initial=v.initial),e}for(var n={},r=0;r<ai;r++){var i=ii[r],a=v[i];(x(a)||!1===a)&&(n[i]=a)}return n}});return z}},ii=(0,r.ev)(["initial"],(0,r.CR)(Rr),!1),ai=ii.length;function oi(t){return"string"===typeof t&&t.startsWith("var(--")}var si=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ui(t,e,n){void 0===n&&(n=1),(0,D.k)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));var i=(0,r.CR)(function(t){var e=si.exec(t);if(!e)return[,];var n=(0,r.CR)(e,3);return[n[1],n[2]]}(t),2),a=i[0],o=i[1];if(a){var s=window.getComputedStyle(e).getPropertyValue(a);return s?s.trim():oi(o)?ui(o,e,n+1):o}}var li,ci=new Set(["width","height","top","left","right","bottom","x","y"]),hi=function(t){return ci.has(t)},di=function(t,e){t.set(e,!1),t.set(e)},fi=function(t){return t===ut.Rx||t===st.px};!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(li||(li={}));var vi=function(t,e){return parseFloat(t.split(", ")[e])},pi=function(t,e){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var a=i.match(/^matrix3d\((.+)\)$/);if(a)return vi(a[1],e);var o=i.match(/^matrix\((.+)\)$/);return o?vi(o[1],t):0}},mi=new Set(["x","y","z"]),gi=be.filter((function(t){return!mi.has(t)}));var yi={width:function(t,e){var n=t.x,r=e.paddingLeft,i=void 0===r?"0":r,a=e.paddingRight,o=void 0===a?"0":a;return n.max-n.min-parseFloat(i)-parseFloat(o)},height:function(t,e){var n=t.y,r=e.paddingTop,i=void 0===r?"0":r,a=e.paddingBottom,o=void 0===a?"0":a;return n.max-n.min-parseFloat(i)-parseFloat(o)},top:function(t,e){var n=e.top;return parseFloat(n)},left:function(t,e){var n=e.left;return parseFloat(n)},bottom:function(t,e){var n=t.y,r=e.top;return parseFloat(r)+(n.max-n.min)},right:function(t,e){var n=t.x,r=e.left;return parseFloat(r)+(n.max-n.min)},x:pi(4,13),y:pi(5,14)},Ai=function(t,e,n,i){void 0===n&&(n={}),void 0===i&&(i={}),e=(0,r.pi)({},e),i=(0,r.pi)({},i);var a=Object.keys(e).filter(hi),o=[],s=!1,u=[];if(a.forEach((function(r){var a=t.getValue(r);if(t.hasValue(r)){var l,c=n[r],h=xr(c),d=e[r];if(q(d)){var f=d.length,v=null===d[0]?1:0;c=d[v],h=xr(c);for(var p=v;p<f;p++)l?(0,D.k)(xr(d[p])===l,"All keyframes must be of the same type"):(l=xr(d[p]),(0,D.k)(l===h||fi(h)&&fi(l),"Keyframes must be of the same dimension as the current value"))}else l=xr(d);if(h!==l)if(fi(h)&&fi(l)){var m=a.get();"string"===typeof m&&a.set(parseFloat(m)),"string"===typeof d?e[r]=parseFloat(d):Array.isArray(d)&&l===st.px&&(e[r]=d.map(parseFloat))}else(null===h||void 0===h?void 0:h.transform)&&(null===l||void 0===l?void 0:l.transform)&&(0===c||0===d)?0===c?a.set(l.transform(c)):e[r]=h.transform(d):(s||(o=function(t){var e=[];return gi.forEach((function(n){var r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),e.length&&t.syncRender(),e}(t),s=!0),u.push(r),i[r]=void 0!==i[r]?i[r]:e[r],di(a,d))}})),u.length){var l=function(t,e,n){var r=e.measureViewportBox(),i=e.getInstance(),a=getComputedStyle(i),o=a.display,s={};"none"===o&&e.setStaticValue("display",t.display||"block"),n.forEach((function(t){s[t]=yi[t](r,a)})),e.syncRender();var u=e.measureViewportBox();return n.forEach((function(n){var r=e.getValue(n);di(r,s[n]),t[n]=yi[n](u,a)})),t}(e,t,u);return o.length&&o.forEach((function(e){var n=(0,r.CR)(e,2),i=n[0],a=n[1];t.getValue(i).set(a)})),t.syncRender(),{target:l,transitionEnd:i}}return{target:e,transitionEnd:i}};function xi(t,e,n,r){return function(t){return Object.keys(t).some(hi)}(e)?Ai(t,e,n,r):{target:e,transitionEnd:r}}var bi=function(t,e,n,i){var a=function(t,e,n){var i,a=(0,r._T)(e,[]),o=t.getInstance();if(!(o instanceof Element))return{target:a,transitionEnd:n};for(var s in n&&(n=(0,r.pi)({},n)),t.forEachValue((function(t){var e=t.get();if(oi(e)){var n=ui(e,o);n&&t.set(n)}})),a){var u=a[s];if(oi(u)){var l=ui(u,o);l&&(a[s]=l,n&&(null!==(i=n[s])&&void 0!==i||(n[s]=u)))}}return{target:a,transitionEnd:n}}(t,e,i);return xi(t,e=a.target,n,i=a.transitionEnd)};var wi={treeType:"dom",readValueFromInstance:function(t,e){if(ke(e)){var n=dt(e);return n&&n.default||0}var r,i=(r=t,window.getComputedStyle(r));return(on(e)?i.getPropertyValue(e):i[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return Kr(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,i){var a=n.transformValues;void 0===i&&(i=!0);var o=e.transition,s=e.transitionEnd,u=(0,r._T)(e,["transition","transitionEnd"]),l=function(t,e,n){var r,i,a={};for(var o in t)a[o]=null!==(r=Cr(o,e))&&void 0!==r?r:null===(i=n.getValue(o))||void 0===i?void 0:i.get();return a}(u,o||{},t);
1if(a&&(s&&(s=a(s)),u&&(u=a(u)),l&&(l=a(l))),i){!function(t,e,n){var r,i,a,o,s=Object.keys(e).filter((function(e){return!t.hasValue(e)})),u=s.length;if(u)for(var l=0;l<u;l++){var c=s[l],h=e[c],d=null;Array.isArray(h)&&(d=h[0]),null===d&&(d=null!==(i=null!==(r=n[c])&&void 0!==r?r:t.readValue(c))&&void 0!==i?i:e[c]),void 0!==d&&null!==d&&("string"===typeof d&&(/^\-?\d*\.?\d+$/.test(d)||gr(d))?d=parseFloat(d):!wr(d)&&G.P.test(h)&&(d=ft(c,h)),t.addValue(c,(0,P.B)(d)),null!==(a=(o=n)[c])&&void 0!==a||(o[c]=d),t.setBaseTarget(c,d))}}(t,u,l);var c=bi(t,u,l,s);s=c.transitionEnd,u=c.target}return(0,r.pi)({transition:o,transitionEnd:s},u)},scrapeMotionValuesFromProps:En,build:function(t,e,n,r,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),un(e,n,r,i.transformTemplate)},render:Ln},Li=ri(wi),ki=ri((0,r.pi)((0,r.pi)({},wi),{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var n;return ke(e)?(null===(n=dt(e))||void 0===n?void 0:n.default)||0:(e=kn.has(e)?e:wn(e),t.getAttribute(e))},scrapeMotionValuesFromProps:Sn,build:function(t,e,n,r,i){gn(e,n,r,i.transformTemplate)},render:Cn})),Ci=function(t,e){return nn(t)?ki(e,{enableHardwareAcceleration:!1}):Li(e,{enableHardwareAcceleration:!0})};function Ei(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var Si={correct:function(t,e){if(!e.target)return t;if("string"===typeof t){if(!st.px.test(t))return t;t=parseFloat(t)}var n=Ei(t,e.target.x),r=Ei(t,e.target.y);return"".concat(n,"% ").concat(r,"%")}},Mi="_$css",Ti={correct:function(t,e){var n=e.treeScale,r=e.projectionDelta,i=t,a=t.includes("var("),o=[];a&&(t=t.replace(si,(function(t){return o.push(t),Mi})));var s=G.P.parse(t);if(s.length>5)return i;var u=G.P.createTransformer(t),l="number"!==typeof s[0]?1:0,c=r.x.scale*n.x,h=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=h;var d=(0,R.C)(c,h,.5);"number"===typeof s[2+l]&&(s[2+l]/=d),"number"===typeof s[3+l]&&(s[3+l]/=d);var f=u(s);if(a){var v=0;f=f.replace(Mi,(function(){var t=o[v];return v++,t}))}return f}},Ri=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.componentDidMount=function(){var t,e=this,n=this.props,i=n.visualElement,a=n.layoutGroup,o=n.switchLayoutGroup,s=n.layoutId,u=i.projection;t=Pi,Object.assign(ge,t),u&&((null===a||void 0===a?void 0:a.group)&&a.group.add(u),(null===o||void 0===o?void 0:o.register)&&s&&o.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",(function(){e.safeToRemove()})),u.setOptions((0,r.pi)((0,r.pi)({},u.options),{onExitComplete:function(){return e.safeToRemove()}}))),Re.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(t){var e=this,n=this.props,r=n.layoutDependency,i=n.visualElement,a=n.drag,o=n.isPresent,s=i.projection;return s?(s.isPresent=o,a||t.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||T.ZP.postRender((function(){var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||e.safeToRemove()}))),null):null},e.prototype.componentDidUpdate=function(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,r=t.switchLayoutGroup,i=e.projection;i&&(i.scheduleCheckAfterUnmount(),(null===n||void 0===n?void 0:n.group)&&n.group.remove(i),(null===r||void 0===r?void 0:r.deregister)&&r.deregister(i))},e.prototype.safeToRemove=function(){var t=this.props.safeToRemove;null===t||void 0===t||t()},e.prototype.render=function(){return null},e}(i.Component);var Pi={borderRadius:(0,r.pi)((0,r.pi)({},Si),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Si,borderTopRightRadius:Si,borderBottomLeftRadius:Si,borderBottomRightRadius:Si,boxShadow:Ti},Ii={measureLayout:function(t){var e=(0,r.CR)(pr(),2),n=e[0],a=e[1],o=(0,i.useContext)(Je.p);return i.createElement(Ri,(0,r.pi)({},t,{layoutGroup:o,switchLayoutGroup:(0,i.useContext)(Ke),isPresent:n,safeToRemove:a}))}},Oi=Pe({attachResizeListener:function(t,e){return t.addEventListener("resize",e,{passive:!0}),function(){return t.removeEventListener("resize",e)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),Bi={current:void 0},Fi=Pe({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!Bi.current){var t=new Oi(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),Bi.current=t}return Bi.current},resetTransform:function(t,e){t.style.transform=null!==e&&void 0!==e?e:"none"}}),Di=(0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},Dr),fr),ei),Ii),Vi=tn((function(t,e){return function(t,e,n,i,a){var o=e.forwardMotionProps,s=void 0!==o&&o,u=nn(t)?On:Bn;return(0,r.pi)((0,r.pi)({},u),{preloadedFeatures:n,useRender:xn(s),createVisualElement:i,projectionNodeConstructor:a,Component:t})}(t,e,Di,Ci,Fi)}))},1492:function(t,e,n){"use strict";n.d(e,{L:function(){return s},K:function(){return o}});var r=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function i(t){return r.has(t)}var a=function(t){return!i(t)};function o(t){t&&(a=function(e){return e.startsWith("on")?!i(e):t(e)})}try{o(require("@emotion/is-prop-valid").default)}catch(u){}function s(t,e,n){var r={};for(var o in t)(a(o)||!0===n&&i(o)||!e&&!i(o)||t.draggable&&o.startsWith("onDrag"))&&(r[o]=t[o]);return r}},10:function(t,e,n){"use strict";function r(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{y4:function(){return r},cl:function(){return i}})},1741:function(t,e,n){"use strict";n.d(e,{j:function(){return r}});var r="undefined"!==typeof window},1560:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(10),i=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var e=this;return(0,r.y4)(this.subscriptions,t),function(){return(0,r.cl)(e.subscriptions,t)}},t.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(var i=0;i<r;i++){var a=this.subscriptions[i];a&&a(t,e,n)}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}()},6681:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(7294);function i(t){var e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},6316:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var r=n(6681),i=0,a=function(){return i++},o=function(){return(0,r.h)(a)}},8868:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var r=n(7294),i=n(1741).j?r.useLayoutEffect:r.useEffect},5411:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var r=n(7294);function i(t){return(0,r.useEffect)((function(){return function(){return t()}}),[])}},3234:function(t,e,n){"use strict";n.d(e,{H:function(){return o},B:function(){return s}});var r=n(4735),i=n(9296),a=n(1560),o=function(){function t(t){var e,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new a.L,this.velocityUpdateSubscribers=new a.L,this.renderSubscribers=new a.L,this.canTrackVelocity=!1,this.updateAndNotify=function(t,e){void 0===e&&(e=!0),n.prev=n.current,n.current=t;var i=(0,r.$B)(),a=i.delta,o=i.timestamp;n.lastUpdated!==o&&(n.timeDelta=a,n.lastUpdated=o,r.ZP.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),e&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return r.ZP.postRender(n.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){return this.canTrackVelocity?(0,i.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise((function(n){e.hasAnimated=!0,e.stopAnimation=t(n)})).then((function(){return e.clearAnimation()}))},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function s(t){return new o(t)}},4960:function(t,e,n){"use strict";n.d(e,{c:function(){return u}});var r=n(655),i=n(7294),a=n(3234),o=n(6014),s=n(6681);function u(t){var e=(0,s.h)((function(){return(0,a.B)(t)}));if((0,i.useContext)(o._).isStatic){var n=(0,r.CR)((0,i.useState)(t),2)[1];(0,i.useEffect)((function(){return e.onChange(n)}),[])}return e}},5262:function(t,e,n){"use strict";n.d(e,{f:function(){return o},p:function(){return a}});var r=n(7294),i=n(406);function a(t,e){(0,r.useEffect)((function(){if((0,i.i)(t))return t.onChange(e)}
1),[e])}function o(t,e){(0,r.useEffect)((function(){var n=t.map((function(t){return t.onChange(e)}));return function(){return n.forEach((function(t){return t()}))}}))}},406:function(t,e,n){"use strict";n.d(e,{i:function(){return r}});var r=function(t){return Boolean(null!==t&&"object"===typeof t&&t.getVelocity)}},4735:function(t,e,n){"use strict";n.d(e,{qY:function(){return f},ZP:function(){return A},iW:function(){return v},$B:function(){return y}});const r=1/60*1e3,i="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),a="undefined"!==typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(i())),r);let o=!0,s=!1,u=!1;const l={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],h=c.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,i=!1,a=!1;const o=new WeakSet,s={schedule:(t,a=!1,s=!1)=>{const u=s&&i,l=u?e:n;return a&&o.add(t),-1===l.indexOf(t)&&(l.push(t),u&&i&&(r=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),o.delete(t)},process:u=>{if(i)a=!0;else{if(i=!0,[e,n]=[n,e],n.length=0,r=e.length,r)for(let n=0;n<r;n++){const r=e[n];r(u),o.has(r)&&(s.schedule(r),t())}i=!1,a&&(a=!1,s.process(u))}}};return s}((()=>s=!0)),t)),{}),d=c.reduce(((t,e)=>{const n=h[e];return t[e]=(t,e=!1,r=!1)=>(s||g(),n.schedule(t,e,r)),t}),{}),f=c.reduce(((t,e)=>(t[e]=h[e].cancel,t)),{}),v=c.reduce(((t,e)=>(t[e]=()=>h[e].process(l),t)),{}),p=t=>h[t].process(l),m=t=>{s=!1,l.delta=o?r:Math.max(Math.min(t-l.timestamp,40),1),l.timestamp=t,u=!0,c.forEach(p),u=!1,s&&(o=!1,a(m))},g=()=>{s=!0,o=!0,u||a(m)},y=()=>l;var A=d},9499:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:function(){return r}})},6864:function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{Z:function(){return r}})},4730:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n.d(e,{Z:function(){return r}})},612:function(t,e,n){"use strict";n.d(e,{j:function(){return w}});var r=n(655),i=n(4394),a=n(6773);const o=.001;function s({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let s,l;(0,i.K)(t<=1e4,"Spring duration must be 10 seconds or less");let c=1-e;c=(0,a.u)(.05,1,c),t=(0,a.u)(.01,10,t/1e3),c<1?(s=e=>{const r=e*c,i=r*t,a=r-n,s=u(e,c),l=Math.exp(-i);return o-a/s*l},l=e=>{const r=e*c*t,i=r*n+n,a=Math.pow(c,2)*Math.pow(e,2)*t,l=Math.exp(-r),h=u(Math.pow(e,2),c);return(-s(e)+o>0?-1:1)*((i-a)*l)/h}):(s=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,l=e=>Math.exp(-e*t)*(t*t*(n-e)));const h=function(t,e,n){let r=n;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(s,l,5/t);if(t*=1e3,isNaN(h))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(h,2)*r;return{stiffness:e,damping:2*c*Math.sqrt(r*e),duration:t}}}function u(t,e){return t*Math.sqrt(1-e*e)}const l=["duration","bounce"],c=["stiffness","damping","mass"];function h(t,e){return e.some((e=>void 0!==t[e]))}function d(t){var{from:e=0,to:n=1,restSpeed:i=2,restDelta:a}=t,o=(0,r._T)(t,["from","to","restSpeed","restDelta"]);const d={done:!1,value:e};let{stiffness:v,damping:p,mass:m,velocity:g,duration:y,isResolvedFromDuration:A}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!h(t,c)&&h(t,l)){const n=s(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}(o),x=f,b=f;function w(){const t=g?-g/1e3:0,r=n-e,i=p/(2*Math.sqrt(v*m)),o=Math.sqrt(v/m)/1e3;if(void 0===a&&(a=Math.min(Math.abs(n-e)/100,.4)),i<1){const e=u(o,i);x=a=>{const s=Math.exp(-i*o*a);return n-s*((t+i*o*r)/e*Math.sin(e*a)+r*Math.cos(e*a))},b=n=>{const a=Math.exp(-i*o*n);return i*o*a*(Math.sin(e*n)*(t+i*o*r)/e+r*Math.cos(e*n))-a*(Math.cos(e*n)*(t+i*o*r)-e*r*Math.sin(e*n))}}else if(1===i)x=e=>n-Math.exp(-o*e)*(r+(t+o*r)*e);else{const e=o*Math.sqrt(i*i-1);x=a=>{const s=Math.exp(-i*o*a),u=Math.min(e*a,300);return n-s*((t+i*o*r)*Math.sinh(u)+e*r*Math.cosh(u))/e}}}return w(),{next:t=>{const e=x(t);if(A)d.done=t>=y;else{const r=1e3*b(t),o=Math.abs(r)<=i,s=Math.abs(n-e)<=a;d.done=o&&s}return d.value=d.done?n:e,d},flipTarget:()=>{g=-g,[e,n]=[n,e],w()}}}d.needsInterpolation=(t,e)=>"string"===typeof t||"string"===typeof e;const f=t=>0;var v=n(9180),p=n(4710);function m(t,e){return t.map((()=>e||p.mZ)).splice(0,t.length-1)}function g({from:t=0,to:e=1,ease:n,offset:r,duration:i=300}){const a={done:!1,value:t},o=Array.isArray(e)?e:[t,e],s=function(t,e){return t.map((t=>t*e))}(r&&r.length===o.length?r:function(t){const e=t.length;return t.map(((t,n)=>0!==n?n/(e-1):0))}(o),i);function u(){return(0,v.s)(s,o,{ease:Array.isArray(n)?n:m(o,n)})}let l=u();return{next:t=>(a.value=l(t),a.done=t>=i,a),flipTarget:()=>{o.reverse(),l=u()}}}const y={keyframes:g,spring:d,decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:a}){const o={done:!1,value:e};let s=n*t;
1const u=e+s,l=void 0===a?u:a(u);return l!==u&&(s=l-e),{next:t=>{const e=-s*Math.exp(-t/r);return o.done=!(e>i||e<-i),o.value=o.done?l:l+e,o},flipTarget:()=>{}}}};var A=n(4735);function x(t,e,n=0){return t-e-n}const b=t=>{const e=({delta:e})=>t(e);return{start:()=>A.ZP.update(e,!0),stop:()=>A.qY.update(e)}};function w(t){var e,n,{from:i,autoplay:a=!0,driver:o=b,elapsed:s=0,repeat:u=0,repeatType:l="loop",repeatDelay:c=0,onPlay:h,onStop:f,onComplete:p,onRepeat:m,onUpdate:A}=t,w=(0,r._T)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let L,k,C,{to:E}=w,S=0,M=w.duration,T=!1,R=!0;const P=function(t){if(Array.isArray(t.to))return g;if(y[t.type])return y[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?g:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?d:g}(w);(null===(n=(e=P).needsInterpolation)||void 0===n?void 0:n.call(e,i,E))&&(C=(0,v.s)([0,100],[i,E],{clamp:!1}),i=0,E=100);const I=P(Object.assign(Object.assign({},w),{from:i,to:E}));function O(){S++,"reverse"===l?(R=S%2===0,s=function(t,e,n=0,r=!0){return r?x(e+-t,e,n):e-(t-e)+n}(s,M,c,R)):(s=x(s,M,c),"mirror"===l&&I.flipTarget()),T=!1,m&&m()}function B(t){if(R||(t=-t),s+=t,!T){const t=I.next(Math.max(0,s));k=t.value,C&&(k=C(k)),T=R?t.done:s<=0}null===A||void 0===A||A(k),T&&(0===S&&(null!==M&&void 0!==M||(M=s)),S<u?function(t,e,n,r){return r?t>=e+n:t<=-n}(s,M,c,R)&&O():(L.stop(),p&&p()))}return a&&(null===h||void 0===h||h(),L=o(B),L.start()),{stop:()=>{null===f||void 0===f||f(),L.stop()}}}},4710:function(t,e,n){"use strict";n.d(e,{LU:function(){return g},G2:function(){return v},XL:function(){return m},CG:function(){return p},h9:function(){return A},yD:function(){return x},gJ:function(){return y},Z7:function(){return h},X7:function(){return f},Bn:function(){return d},YQ:function(){return s},mZ:function(){return c},Vv:function(){return l},GE:function(){return o}});const r=t=>e=>1-t(1-e),i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,a=t=>e=>e*e*((t+1)*e-t),o=t=>t,s=(u=2,t=>Math.pow(t,u));var u;const l=r(s),c=i(s),h=t=>1-Math.sin(Math.acos(t)),d=r(h),f=i(d),v=a(1.525),p=r(v),m=i(v),g=(t=>{const e=a(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),y=t=>{if(1===t||0===t)return t;const e=t*t;return t<.36363636363636365?7.5625*e:t<.7272727272727273?9.075*e-9.9*t+3.4:t<.9?12.066481994459833*e-19.63545706371191*t+8.898060941828255:10.8*t*t-20.52*t+10.72},A=r(y),x=t=>t<.5?.5*(1-y(1-2*t)):.5*y(2*t-1)+.5},6773:function(t,e,n){"use strict";n.d(e,{u:function(){return r}});const r=(t,e,n)=>Math.min(Math.max(n,t),e)},734:function(t,e,n){"use strict";n.d(e,{e:function(){return r}});const r=t=>"number"===typeof t},9180:function(t,e,n){"use strict";n.d(e,{s:function(){return M}});var r=n(9326),i=n(2453),a=n(2960),o=n(8059),s=n(4582),u=n(4394);function l(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function c({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,a=0,o=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;i=l(s,r,t+1/3),a=l(s,r,t),o=l(s,r,t-1/3)}else i=a=o=n;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*o),alpha:r}}const h=(t,e,n)=>{const r=t*t,i=e*e;return Math.sqrt(Math.max(0,n*(i-r)+r))},d=[a.$,o.m,s.J],f=t=>d.find((e=>e.test(t))),v=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,p=(t,e)=>{let n=f(t),r=f(e);(0,u.k)(!!n,v(t)),(0,u.k)(!!r,v(e));let a=n.parse(t),l=r.parse(e);n===s.J&&(a=c(a),n=o.m),r===s.J&&(l=c(l),r=o.m);const d=Object.assign({},a);return t=>{for(const e in d)"alpha"!==e&&(d[e]=h(a[e],l[e],t));return d.alpha=(0,i.C)(a.alpha,l.alpha,t),n.transform(d)}};var m=n(7405),g=n(8407),y=n(734),A=n(9897);function x(t,e){return(0,y.e)(t)?n=>(0,i.C)(t,e,n):m.$.test(t)?p(t,e):k(t,e)}const b=(t,e)=>{const n=[...t],r=n.length,i=t.map(((t,n)=>x(t,e[n])));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}},w=(t,e)=>{const n=Object.assign(Object.assign({},t),e),r={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=x(t[i],e[i]));return t=>{for(const e in r)n[e]=r[e](t);return n}};function L(t){const e=g.P.parse(t),n=e.length;let r=0,i=0,a=0;for(let o=0;o<n;o++)r||"number"===typeof e[o]?r++:void 0!==e[o].hue?a++:i++;return{parsed:e,numNumbers:r,numRGB:i,numHSL:a}}const k=(t,e)=>{const n=g.P.createTransformer(e),r=L(t),i=L(e);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?(0,A.z)(b(r.parsed,i.parsed),n):((0,u.K)(!0,`Complex values '${t}' and '${e}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?e:t}`)};var C=n(6773);const E=(t,e)=>n=>(0,i.C)(t,e,n);function S(t,e,n){const r=[],i=n||("number"===typeof(a=t[0])?E:"string"===typeof a?m.$.test(a)?p:k:Array.isArray(a)?b:"object"===typeof a?w:void 0);var a;const o=t.length-1;for(let s=0;s<o;s++){let n=i(t[s],t[s+1]);if(e){const t=Array.isArray(e)?e[s]:e;n=(0,A.z)(t,n)}r.push(n)}return r}function M(t,e,{clamp:n=!0,ease:i,mixer:a}={}){const o=t.length;(0,u.k)(o===e.length,"Both input and output ranges must be the same length"),(0,u.k)(!i||!Array.isArray(i)||i.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[o-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const s=S(e,i,a),l=2===o?function([t,e],[n]){return i=>n((0,r.Y)(t,e,i))}(t,s):function(t,e){const n=t.length,i=n-1;return a=>{let o=0,s=!1;if(a<=t[0]?s=!0:a>=t[i]&&(o=i-1,s=!0),!s){let e=1;for(;e<n&&!(t[e]>a||e===i);e++);o=e-1}const u=(0,r.Y)(t[o],t[o+1],a);return e[o](u)}}(t,s);return n?e=>l((0,C.u)(t[0],t[o-1],e)):l}},2453:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});const r=(t,e,n)=>-n*t+n*e+t},9897:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const r=(t,e)=>n=>e(t(n)),i=(...t)=>t.reduce(r)},9326:function(t,e,n){"use strict";n.d(e,{Y:function(){return r}});const r=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r}},9296:function(t,e,n){"use strict";function r(t,e){return e?t*(1e3/e):0}n.d(e,{R:function(){return r}})},2960:function(t,e,n){"use strict";n.d(e,{$:function(){return i}});var r=n(8059);const i={test:(0,n(3953).i)("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.m.transform}},4582:function(t,e,n){"use strict";n.d(e,{J:function(){return s}});var r=n(1248),i=n(2969),a=n(6777),o=n(3953);const s={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:o=1})=>"hsla("+Math.round(t)+", "+i.aQ.transform((0,a.Nw)(e))+", "+i.aQ.transform((0,a.Nw)(n))+", "+(0,a.Nw)(r.Fq.transform(o))+")"}},7405:function(t,e,n){"use strict";n.d(e,{$:function(){return s}});var r=n(6777),i=n(2960),a=n(4582),o=n(8059);const s={test:t=>o.m.test(t)||i.$.test(t)||a.J.test(t),parse:t=>o.m.test(t)?o.m.parse(t):a.J.test(t)?a.J.parse(t):i.$.parse(t),transform:t=>(0,r.HD)(t)?t:t.hasOwnProperty("red")?o.m.transform(t):a.J.transform(t)}},8059:function(t,e,n){"use strict";n.d(e,{m:function(){return u}});var r=n(1248),i=n(6777),a=n(3953);const o=(0,i.uZ)(0,255),s=Object.assign(Object.assign({},r.Rx),{transform:t=>Math.round(o(t))}),u={test:(0,a.i)("rgb","red"),parse:(0,a.d)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:a=1})=>"rgba("+s.transform(t)+", "+s.transform(e)+", "+s.transform(n)+", "+(0,i.Nw)(r.Fq.transform(a))+")"}},3953:function(t,e,n){"use strict";n.d(e,{i:function(){return i},d:function(){return a}});var r=n(6777);const i=(t,e)=>n=>Boolean((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),a=(t,e,n)=>i=>{if(!(0,r.HD)(i))return i;const[a,o,s,u]=i.match(r.KP);return{[t]:parseFloat(a),[e]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==u?parseFloat(u):1}}},8407:function(t,e,n){"use strict";n.d(e,{P:function(){return d}});var r=n(7405),i=n(1248),a=n(6777);const o="${c}",s="${n}";function u(t){"number"===typeof t&&(t=`${t}`);const e=[];let n=0;const u=t.match(a.dA);u&&(n=u.length,t=t.replace(a.dA,o),e.push(...u.map(r.$.parse)));const l=t.match(a.KP);return l&&(t=t.replace(a.KP,s),e.push(...l.map(i.Rx.parse))),{values:e,numColors:n,tokenised:t}}function l(t){return u(t).values}function c(t){const{values:e,numColors:n,tokenised:i}=u(t),l=e.length;return t=>{let e=i;for(let i=0;i<l;i++)e=e.replace(i<n?o:s,i<n?r.$.transform(t[i]):(0,a.Nw)(t[i]));return e}}const h=t=>"number"===typeof t?0:t;const d={test:function(t){var e,n,r,i;return isNaN(t)&&(0,a.HD)(t)&&(null!==(n=null===(e=t.match(a.KP))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(r=t.match(a.dA))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:l,createTransformer:c,getAnimatableNone:function(t){const e=l(t);return c(t)(e.map(h))}}},1248:function(t,e,n){"use strict";n.d(e,{Fq:function(){return a},Rx:function(){return i},bA:function(){return o}});var r=n(6777);const i={test:t=>"number"===typeof t,parse:parseFloat,transform:t=>t},a=Object.assign(Object.assign({},i),{transform:(0,r.uZ)(0,1)}),o=Object.assign(Object.assign({},i),{default:1})},2969:function(t,e,n){"use strict";n.d(e,{RW:function(){return a},aQ:function(){return o},$C:function(){return c},px:function(){return s},vh:function(){return u},vw:function(){return l}});var r=n(6777);const i=t=>({test:e=>(0,r.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),a=i("deg"),o=i("%"),s=i("px"),u=i("vh"),l=i("vw"),c=Object.assign(Object.assign({},o),{parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)})},6777:function(t,e,n){"use strict";n.d(e,{uZ:function(){return r},dA:function(){return o},KP:function(){return a},HD:function(){return u},Nw:function(){return i},mj:function(){return s}});const r=(t,e)=>n=>Math.max(Math.min(n,e),t),i=t=>
1t%1?Number(t.toFixed(5)):t,a=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,s=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function u(t){return"string"===typeof t}},6335:function(t){"use strict";t.exports=JSON.parse('[[{"user":"Whoa, Return to Monkey Island?","response":[{"text":"You\'ve got a good eye, friend!","character":"stan"},{"text":"It\'s a fresh new adventure...","character":"stan"},{"text":"...picking up the reins of Monkey Island 2...","character":"stan"},{"text":"...and all those other monkeys as well!","character":"stan"},{"text":"You\'ll want to grab this puppy quick...","character":"stan"},{"text":"...before we change our minds!","character":"stan"}]},{"user":"Tell me all about it! Who is making it?","response":[{"text":"I\'m glad you asked that...","character":"stan"},{"text":"...because Return to Monkey Island comes straight from the horse\'s jaws!","character":"stan"},{"text":"It\'s being made by Ron Gilbert, the original creator of Monkey Island...","character":"stan"},{"text":"...along with Dave Grossman...","character":"stan"},{"text":"...and the rest of the team at Terrible Toybox.","character":"stan"},{"text":"You can\'t buy quality like that!","character":"stan"},{"text":"Unless you buy Return to Monkey Island...","character":"stan"},{"text":"...in which case you can!","character":"stan"}]},{"user":"You look great, who did your art?","response":[{"text":"Why thank you, friend!","character":"stan"},{"text":"When you get to be my age...","character":"stan"},{"text":"...sometimes you need a little spruce-up in the art department...","character":"stan"},{"text":"and I get mine from an art department directed by Rex Crowle.","character":"stan"},{"text":" You might know him from his work on Knights & Bikes...","character":"stan"},{"text":"...or, more recently on RETURN TO MONKEY ISLAND!","character":"stan"}]},{"user":"Ooooo nice. What about music?","response":[{"text":"We spared no expense and no amount of trouble...","character":"stan"},{"text":"...to track down the original Monkey Island composers...","character":"stan"},{"text":"...to ensure that this game too would fill your ears...","character":"stan"},{"text":"...with the magical pirate reggae grooves you deserve!","character":"stan"},{"text":"I personally got down on my knees to convince Michael Land...","character":"stan"},{"text":"...Peter McConnell...","character":"stan"},{"text":"...and Clint Bajakian to do the score!","character":"stan"},{"text":"I even took off my hat!","character":"stan"}]},{"user":"Will Dominic Armato return as the voice of the heroic Guybrush Threepwood? I love him.","response":[{"text":"Threepwood, heroic!","character":"stan"},{"text":"That seems like a bit much...","character":"stan"},{"text":"...even to yours truly...","character":"stan"},{"text":"...the reigning king of exaggeration.","character":"stan"},{"text":" But yes, I can confirm that Dominic Armato...","character":"stan"},{"text":"...will indeed be playing the role of Guybrush Threepwood.","character":"stan"}]},{"user":"Are there any marketing features you want to get across while you have me here?","response":[{"text":"This baby is positively loaded with features!","character":"stan"},{"text":"Try these on for size:","character":"stan"},{"text":"Navigate the sometimes-friendly confines of Melee Island...","character":"stan"},{"text":"...a familiar place that finds itself under new management...","character":"stan"},{"text":"...by leaders who have put the squeeze on old friends and new faces.","character":"stan"},{"text":"Venture out into uncharted lands...","character":"stan"},{"text":"...like the aptly named Terror Island...","character":"stan"},{"text":"...and the chilling outposts of Brrr Muda...","character":"stan"},{"text":"...to make allies and enemies alike.","character":"stan"}]},{"user":"Explosive! Is that all you want to tell me?","response":[{"text":"Of course not! I just thought one of us might need to take a breath.","character":"stan"},{"text":"Bringing classic point and click gameplay to the modern-day...","character":"stan"},{"text":"...intrepid pirates will solve puzzles and explore the islands...","character":"stan"},{"text":"...with a clever evolution of classic adventure game c
1ontrols.","character":"stan"},{"text":"Context-sensitive interactions...","character":"stan"},{"text":"...reactive dialog trees...","character":"stan"},{"text":"...and an easy-to-use inventory system make pirating a breeze.","character":"stan"}]},{"user":"How about practical details, like when and where?","response":[{"text":"Where is on Steam and Switch...","character":"stan"},{"text":"and Xbox Series X|S and PlayStation 5...","character":"stan"},{"text":"and iOS and Android...","character":"stan"},{"text":"and when is right now!","character":"stan"},{"text":"What are you waiting for?","character":"stan"}]},{"user":"How much will this game cost me?","response":[{"text":"A wise man once said \\"Never pay more than 20 bucks for a computer game,\\"...","character":"stan"},{"text":"...but that was over thirty years ago...","character":"stan"},{"text":"...before inflation slimmed your twenty down from a king\'s ransom...","character":"stan"},{"text":"...all the way to the price of a sandwich.","character":"stan"}]}],[{"user":"Hello, I was told there was a video game trailer to be watched here.","response":[{"text":"You heard right!","character":"stan"},{"text":"You heard right! Take a gander around the screen...","character":"stan"},{"text":"..where we keep our finest links!","character":"stan"}]},{"user":"Have you got any screenshots, or more information about the game?","response":[{"text":"Not to belabor the point, friend...","character":"stan"},{"text":"...but there is a stampede of information...","character":"stan"},{"text":"...in those clickable words up at the top of the screen.","character":"stan"}]},{"user":"This seems like a well-rounded website with lots of information. ","response":[{"text":"Thanks! I\'ll pass that on to the web team.","character":"stan"},{"text":"They\'ll surely appreciate the positive feedback.","character":"stan"}]},{"user":"I\'m unfamiliar with how dialog trees work and I\'m intimidated by the choices. Any recommendations?","response":[{"text":"Different boats for different folks, I always say.","character":"stan"},{"text":"While you\'re here, maybe take a look around at the other options?","character":"stan"},{"text":"I\'ve got nowhere else to be at the moment.","character":"stan"}]}],[{"user":"Stan! What are you doing in jail?","response":[{"text":"Mostly waiting until they let me out!","character":"stan"},{"text":"But if you mean what are the charges...","character":"stan"},{"text":"...they\'re calling it \\"marketing related crimes.\\"","character":"stan"},{"text":"It\'ll never stand up in court.","character":"stan"}]},{"user":"What are \\"marketing related crimes\\"?","response":[{"text":"Exactly, there\'s no such thing!","character":"stan"},{"text":" I was just directing people with money...","character":"stan"},{"text":"...towards items of apparent value.","character":"stan"}]},{"user":"What sort of items were you selling?","response":[{"text":"Nothing!","character":"stan"},{"text":"Nothing fungible, anyway.","character":"stan"},{"text":"That\'s the beauty of the whole enterprise...","character":"stan"},{"text":"...and the reason the charges won\'t stick!","character":"stan"},{"text":"But I\'d rather not get into it really.","character":"stan"},{"text":"Don\'t you want to know more about RETURN TO MONKEY ISLAND?","character":"stan"}]},{"user":"I feel like I know enough about RETURN TO MONKEY ISLAND. Can I help you get out?","response":[{"text":"If you mean what I think you mean...","character":"stan"},{"text":"...the judge assigned to my trial historically...","character":"stan"},{"text":"...has frowned upon breaking out of jail.","character":"stan"},{"text":" It\'s a kind offer...","character":"stan"},{"text":"...but I wouldn\'t want to damage my chances of parole.","character":"stan"}]},{"user":"How are you talking to me, a real person, when you\'re a video game character?","response":[{"text":"Just because I won\'t break out of this jail cell...","character":"stan"},{"text":"...doesn\'t mean I won\'t break the fourth wall...","character":"stan"},{"text":"to sell a few copies of RETURN TO MONKEY ISLAND!","character":"stan"}]},{"user":"What happened to your used boat sales business?","response":[{"text":"Through no fault of my own...","character":"stan"},{"text":"...that business is what you call \\"underwater.\\"","character":"stan"},{"text":"Both figuratively and literally.","character":"stan"},{"text":"But I\'m pivoting to providing guided tours of shipwrecks.","character":"stan"},{"text":"It\'s an opportunity!","character":"stan"}]},{"user":"Who is that gentleman in the next cell?","response":[{"text":"That\'s Otis.","character":"stan"},{"text":" Like me he\'s a returning character from the previous games","character":"stan"},{"text":"...but I can\'t fault you if you didn\'t recognize him.","character":"stan"},{"text":" Some of us just rise to fame more naturally than others!","character":"stan"}]},{"user":"Can I talk to Otis, too?","response":[{"text":"I would love to oblige you, friend...","character":"stan"},{"text":"...but our friend here couldn\'t break a fourth wall to save his life.","character":"stan"}]},{"user":"I assume you\'re in the game. Tell me about your role?","response":[{"text":"Naturally I steal every scene I\'m in!","character":"stan"},{"text":"But no freebies, friend...","character":"stan"},{"text":"...you\'ve gotta buy the game if you want to see old Stan in action!","character":"stan"}]},{"user":"Tell me about Loom.","response":[{"text":"Your knowledge of game history is to
1p notch...","character":"stan"},{"text":"...but I\'m afraid you\'ve got me confused with a different character.","character":"stan"}]},{"user":"It\'s been great talking to you, Stan. Hope you get out of jail!","response":[{"text":"I\'m hoping that right along with you.","character":"stan"},{"text":" Maybe we\'ll both find out in RETURN TO MONKEY ISLAND!","character":"stan"}]}],[{"user":"What is the secret of Monkey Island?","response":[{"text":"The thing about secrets is that they\'re secret...","character":"stan"},{"text":"...right up until they\'re not!","character":"stan"},{"text":"You\'ll want to do your own research.","character":"stan"},{"text":"I\'d start with Return to Monkey Island!","character":"stan"}]}]]')}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[774,179],(function(){return e(1780),e(9898)}));var n=t.O();_N_E=n}]);

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.