2023-01-13 20:52:24 +00:00
window . SpinePlugin = function ( t ) { var e = { } ; function n ( i ) { if ( e [ i ] ) return e [ i ] . exports ; var r = e [ i ] = { i : i , l : ! 1 , exports : { } } ; return t [ i ] . call ( r . exports , r , r . exports , n ) , r . l = ! 0 , r . exports } return n . m = t , n . c = e , n . d = function ( t , e , i ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : i } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var i = Object . create ( null ) ; if ( n . r ( i ) , Object . defineProperty ( i , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var r in t ) n . d ( i , r , function ( e ) { return t [ e ] } . bind ( null , r ) ) ; return i } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "" , n ( n . s = 68 ) } ( [ function ( t , e ) { function n ( t , e , n ) { var i = n ? t [ e ] : Object . getOwnPropertyDescriptor ( t , e ) ; return ! n && i . value && "object" == typeof i . value && ( i = i . value ) , ! ( ! i || !
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
function ( t ) { return ! ! t . get && "function" == typeof t . get || ! ! t . set && "function" == typeof t . set } ( i ) ) && ( void 0 === i . enumerable && ( i . enumerable = ! 0 ) , void 0 === i . configurable && ( i . configurable = ! 0 ) , i ) } function i ( t , e ) { var n = Object . getOwnPropertyDescriptor ( t , e ) ; return ! ! n && ( n . value && "object" == typeof n . value && ( n = n . value ) , ! 1 === n . configurable ) } function r ( t , e , r , s ) { for ( var o in e ) if ( e . hasOwnProperty ( o ) ) { var h = n ( e , o , r ) ; if ( ! 1 !== h ) { if ( i ( ( s || t ) . prototype , o ) ) { if ( a . ignoreFinals ) continue ; throw new Error ( "cannot override final property '" + o + "', set Class.ignoreFinals = true to skip" ) } Object . defineProperty ( t . prototype , o , h ) } else t . prototype [ o ] = e [ o ] } } function s ( t , e ) { if ( e ) { Array . isArray ( e ) || ( e = [ e ] ) ; for ( var n = 0 ; n < e . length ; n ++ ) r ( t , e [ n ] . prototype || e [ n ] ) } } function a ( t ) { var e , n ; if ( t || ( t = { } ) , t . initialize ) { if ( "function" != typeof t . initialize ) throw new Error ( "initialize must be a function" ) ; e = t . initialize , delete t . initialize } else if ( t . Extends ) { var i = t . Extends ; e = function ( ) { i . apply ( this , arguments ) } } else e = function ( ) { } ; t . Extends ? ( e . prototype = Object . create ( t . Extends . prototype ) , e . prototype . constructor = e , n = t . Extends , delete t . Extends ) : e . prototype . constructor = e ; var a = null ; return t . Mixins && ( a = t . Mixins , delete t . Mixins ) , s ( e , a ) , r ( e , t , ! 0 , n ) , e } a . extend = r , a . mixin = s , a . ignoreFinals = ! 1 , t . exports = a } , function ( t , e ) { t . exports = function ( ) { } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 34 ) , s = new i ( { initialize : function ( t , e ) { this . x = 0 , this . y = 0 , "object" == typeof t ? ( this . x = t . x || 0 , this . y = t . y || 0 ) : ( void 0 === e && ( e = t ) , this . x = t || 0 , this . y = e || 0 ) } , clone : function ( ) { return new s ( this . x , this . y ) } , copy : function ( t ) { return this . x = t . x || 0 , this . y = t . y || 0 , this } , setFromObject : function ( t ) { return this . x = t . x || 0 , this . y = t . y || 0 , this } , set : function ( t , e ) { return void 0 === e && ( e = t ) , this . x = t , this . y = e , this } , setTo : function ( t , e ) { return this . set ( t , e ) } , setToPolar : function ( t , e ) { return null == e && ( e = 1 ) , this . x = Math . cos ( t ) * e , this . y = Math . sin ( t ) * e , this } , equals : function ( t ) { return this . x === t . x && this . y === t . y } , fuzzyEquals : function ( t , e ) { return r ( this . x , t . x , e ) && r ( this . y , t . y , e ) } , angle : function ( ) { var t = Math . atan2 ( this . y , this . x ) ; return t < 0 && ( t += 2 * Math . PI ) , t } , setAngle : function ( t ) { return this . setToPolar ( t , this . length ( ) ) } , add : function ( t ) { return this . x += t . x , this . y += t . y , this } , subtract : function ( t ) { return this . x -= t . x , this . y -= t . y , this } , multiply : function ( t ) { return this . x *= t . x , this . y *= t . y , this } , scale : function ( t ) { return isFinite ( t ) ? ( this . x *= t , this . y *= t ) : ( this . x = 0 , this . y = 0 ) , this } , divide : function ( t ) { return this . x /= t . x , this . y /= t . y , this } , negate : function ( ) { return this . x = - this . x , this . y = - this . y , this } , distance : function ( t ) { var e = t . x - this . x , n = t . y - this . y ; return Math . sqrt ( e * e + n * n ) } , distanceSq : function ( t ) { var e = t . x - this . x , n = t . y - this . y ; return e * e + n * n } , length : function ( ) { var t = this . x , e = this . y ; return Math . sqrt ( t * t + e * e ) } , setLength : function ( t ) { return this . normalize ( ) . scale ( t ) } , lengthSq : function ( ) { var t = this . x , e = this . y ; return t * t + e * e } , normalize : function ( ) { var t = this . x , e = this . y , n = t * t + e * e ; return n > 0 && ( n = 1 / Math . sqrt ( n ) , this . x = t * n , this . y = e * n ) , this } , normalizeRightHand : function ( ) { var t = this . x ; return this . x = - 1 * this . y , this . y = t , this } , normalizeLeftHand : function ( ) { var t = this . x ; return this . x = this . y , this . y = - 1 * t , this } , dot : function ( t ) { return this . x * t . x + this . y * t . y } , cross : function ( t ) { return this . x * t . y - this . y * t . x } , lerp : function ( t , e ) { void 0 === e && ( e = 0 ) ; var n = this . x , i = this . y ; return this . x = n + e * ( t . x - n ) , this . y = i + e * ( t . y - i ) , this } , transformMat3 : function ( t ) { var e = this . x , n = this . y , i = t . val ; return this . x = i [ 0 ] * e + i [ 3 ] * n + i [ 6 ] , this . y = i [ 1 ] * e + i [ 4 ] * n + i [ 7 ] , this } , transformMat4 : function ( t ) { var e = this . x , n = this . y , i = t . val ; return this . x = i [ 0 ] * e + i [ 4 ] * n + i [ 12 ] , this . y = i [ 1 ] * e + i [ 5 ] * n + i [ 13 ] , this } , reset : function ( ) { return this . x = 0 , this . y = 0 , this } , limit : function ( t ) { var e = this . length ( ) ; return e && e > t && this . scale ( t / e ) , this } , reflect : function ( t ) { return t = t . clone ( ) . normalize ( ) , this . subtract ( t . scale ( 2 * this . dot ( t ) ) ) } , mirror : function ( t ) { return this . reflect ( t ) . negate ( ) } , rotate : function ( t ) { var e = Math . cos ( t ) , n = Math . sin ( t ) ; return this . set ( e * this . x - n * this . y , n * this . x + e * this . y ) } , project : function ( t ) { var e = this . dot ( t ) / t . dot ( t ) ; return this . copy ( t ) . scale ( e ) } } ) ; s . ZERO = new s , s . RIGHT = new s ( 1 , 0 ) , s . LEFT = new s ( - 1 , 0 ) , s . UP = new s ( 0 , - 1 ) , s . DOWN = new s ( 0 , 1 ) , s . ONE = new s ( 1 , 1 ) , t . exports = s } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { PI2 : 2 * Math . PI , TAU : . 5 * Math . PI , EPSILON : 1e-6 , DEG _TO _RAD : Math . PI / 180 , RAD _TO _DEG : 180 / Math . PI , RND : null , MIN _SAFE _INTEGER : Number . MIN _SAFE _INTEGER || - 9007199254740991 , MAX _SAFE _INTEGER : Number . MAX _SAFE _INTEGER || 9007199254740991 } ; t . exports = n } , function ( t , e ) { t . exports = function ( t , e , n ) { return Math . max ( e , Math . min ( n , t ) ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { var r = t . length ; if ( e < 0 || e > r || e >= n || n > r ) { if ( i ) throw new Error ( "Range Error: Values outside acceptable range" ) ; return ! 1 } return ! 0 } } , function ( t , e ) { t . exports = function ( t ) { if ( ! t || "object" != typeof t || t . nodeType || t === t . window ) return ! 1 ; try { if ( t . constructor && ! { } . hasOwnProperty . call ( t . constructor . prototype , "isPrototypeOf" ) ) return ! 1 } catch ( t ) { return ! 1 } return ! 0 } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { if ( ! t && ! i || "number" == typeof t ) return n ; if ( t && t . hasOwnProperty ( e ) ) return t [ e ] ; if ( i && i . hasOwnProperty ( e ) ) return i [ e ] ; if ( - 1 !== e . indexOf ( "." ) ) { for ( var r = e . split ( "." ) , s = t , a = i , o = n , h = n , l = ! 0 , u = ! 0 , c = 0 ; c < r . length ; c ++ ) s && s . hasOwnProperty ( r [ c ] ) ? ( o = s [ r [ c ] ] , s = s [ r [ c ] ] ) : l = ! 1 , a && a . hasOwnProperty ( r [ c ] ) ? ( h = a [ r [ c ] ] , a = a [ r [ c ] ] ) : u = ! 1 ; return l ? o : u ? h : n } return n } } , function ( t , e ) { t . exports = function ( t , e , n ) { var i = typeof t ; return t && "number" !== i && "string" !== i && t . hasOwnProperty ( e ) && void 0 !== t [ e ] ? t [ e ] : n } } , function ( t , e ) { t . exports = { LOADER _IDLE : 0 , LOADER _LOADING : 1 , LOADER _PROCESSING : 2 , LOADER _COMPLETE : 3 , LOADER _SHUTDOWN : 4 , LOADER _DESTROYED : 5 , FILE _PENDING : 10 , FILE _LOADING : 11 , FILE _LOADED : 12 , FILE _FAILED : 13 , FILE _PROCESSING : 14 , FILE _ERRORED : 16 , FILE _COMPLETE : 17 , FILE _DESTROYED : 18 , FILE _POPULATED : 19 , FILE _PENDING _DESTROY : 20 } } , function ( t , e ) { t . exports = function ( t , e ) { if ( ! ( e >= t . length ) ) { for ( var n = t . length - 1 , i = t [ e ] , r = e ; r < n ; r ++ ) t [ r ] = t [ r + 1 ] ; return t . length = n , i } } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 29 ) , s = new i ( { initialize : function ( t , e ) { void 0 === t && ( t = 0 ) , void 0 === e && ( e = t ) , this . type = r . POINT , this . x = t , this . y = e } , setTo : function ( t , e ) { return void 0 === t && ( t = 0 ) , void 0 === e && ( e = t ) , this . x = t , this . y = e , this } } ) ; t . exports = s } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { SKIP _CHECK : - 1 , NORMAL : 0 , ADD : 1 , MULTIPLY : 2 , SCREEN : 3 , OVERLAY : 4 , DARKEN : 5 , LIGHTEN : 6 , COLOR _DODGE : 7 , COLOR _BURN : 8 , HARD _LIGHT : 9 , SOFT _LIGHT : 10 , DIFFERENCE : 11 , EXCLUSION : 12 , HUE : 13 , SATURATION : 14 , COLOR : 15 , LUMINOSITY : 16 , ERASE : 17 , SOURCE _IN : 18 , SOURCE _OUT : 19 , SOURCE _ATOP : 20 , DESTINATION _OVER : 21 , DESTINATION _IN : 22 , DESTINATION _OUT : 23 , DESTINATION _ATOP : 24 , LIGHTER : 25 , COPY : 26 , XOR : 27 } } , function ( t , e ) { t . exports = function ( t , e , n ) { var i = n - e ; return e + ( ( t - e ) % i + i ) % i } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = new ( n ( 0 ) ) ( { initialize : function ( t , e , n ) { this . x = 0 , this . y = 0 , this . z = 0 , "object" == typeof t ? ( this . x = t . x || 0 , this . y = t . y || 0 , this . z = t . z || 0 ) : ( this . x = t || 0 , this . y = e || 0 , this . z = n || 0 ) } , up : function ( ) { return this . x = 0 , this . y = 1 , this . z = 0 , this } , min : function ( t ) { return this . x = Math . min ( this . x , t . x ) , this . y = Math . min ( this . y , t . y ) , this . z = Math . min ( this . z , t . z ) , this } , max : function ( t ) { return this . x = Math . max ( this . x , t . x ) , this . y = Math . max ( this . y , t . y ) , this . z = Math . max ( this . z , t . z ) , this } , clone : function ( ) { return new i ( this . x , this . y , this . z ) } , addVectors : function ( t , e ) { return this . x = t . x + e . x , this . y = t . y + e . y , this . z = t . z + e . z , this } , crossVectors : function ( t , e ) { var n = t . x , i = t . y , r = t . z , s = e . x , a = e . y , o = e . z ; return this . x = i * o - r * a , this . y = r * s - n * o , this . z = n * a - i * s , this } , equals : function ( t ) { return this . x === t . x && this . y === t . y && this . z === t . z } , copy : function ( t ) { return this . x = t . x , this . y = t . y , this . z = t . z || 0 , this } , set : function ( t , e , n ) { return "object" == typeof t ? ( this . x = t . x || 0 , this . y = t . y || 0 , this . z = t . z || 0 ) : ( this . x = t || 0 , this . y = e || 0 , this . z = n || 0 ) , this } , setFromMatrixPosition : function ( t ) { return this . fromArray ( t . val , 12 ) } , setFromMatrixColumn : function ( t , e ) { return this . fromArray ( t . val , 4 * e ) } , fromArray : function ( t , e ) { return void 0 === e && ( e = 0 ) , this . x = t [ e ] , this . y = t [ e + 1 ] , this . z = t [ e + 2 ] , this } , add : function ( t ) { return this . x += t . x , this . y += t . y , this . z += t . z || 0 , this } , addScalar : function ( t ) { return this . x += t , this . y += t , this . z += t , this } , addScale : function ( t , e ) { return this . x += t . x * e , this . y += t . y * e , this . z += t . z * e || 0 , this } , subtract : function ( t ) { return this . x -= t . x , this . y -= t . y , this . z -= t . z || 0 , this } , multiply : function ( t ) { return this . x *= t . x , this . y *= t . y , this . z *= t . z || 1 , this } , scale : function ( t ) { return isFinite ( t ) ? ( this . x *= t , this . y *= t , this . z *= t ) : ( this . x = 0 , this . y = 0 , this . z = 0 ) , this } , divide : function ( t ) { return this . x /= t . x , this . y /= t . y , this . z /= t . z || 1 , this } , negate : function ( ) { return this . x = - this . x , this . y = - this . y , this . z = - this . z , this } , distance : function ( t ) { var e = t . x - this . x , n = t . y - this . y , i = t . z - this . z || 0 ; return Math . sqrt ( e * e + n * n + i * i ) } , distanceSq : function ( t ) { var e = t . x - this . x , n = t . y - this . y , i = t . z - this . z || 0 ; return e * e + n * n + i * i } , length : function ( ) { var t = this . x , e = this . y , n = this . z ; return Math . sqrt ( t * t + e * e + n * n ) } , lengthSq : function ( ) { var t = this . x , e = this . y , n = this . z ; return t * t + e * e + n * n } , normalize : function ( ) { var t = this . x , e = this . y , n = this . z , i = t * t + e * e + n * n ; return i > 0 && ( i = 1 / Math . sqrt ( i ) , this . x = t * i , this . y = e * i , this . z = n * i ) , this } , dot : function ( t ) { return this . x * t . x + this . y * t . y + this . z * t . z } , cross : function ( t ) { var e = this . x , n = this . y , i = this . z , r = t . x , s = t . y , a = t . z ; return this . x = n * a - i * s , this . y = i * r - e * a , this . z = e * s - n * r , this } , lerp : function ( t , e ) { void 0 === e && ( e = 0 ) ; var n = this . x , i = this . y , r = this . z ; return this . x = n + e * ( t . x - n ) , this . y = i + e * ( t . y - i ) , this . z = r + e * ( t . z - r ) , this } , applyMatrix3 : function ( t ) { var e = this . x , n = this . y , i = this . z , r = t . val ; return this . x = r [ 0 ] * e + r [ 3 ] * n + r [ 6 ] * i , this . y = r [ 1 ] * e + r [ 4 ] * n + r [ 7 ] * i , this . z = r [ 2 ] * e + r [ 5 ] * n + r [ 8 ] * i , this } , applyMatrix4 : function ( t ) { var e = this . x , n = this . y , i = this . z , r = t . val , s = 1 / ( r [ 3 ] * e + r [ 7 ] * n + r [ 11 ] * i + r [ 15 ] ) ; return this . x = ( r [ 0 ] * e + r [ 4 ] * n + r [ 8 ] * i + r [ 12 ] ) * s , this . y = ( r [ 1 ] * e + r [ 5 ] * n + r [ 9 ] * i + r [ 13 ] ) * s , this . z = ( r [ 2 ] * e + r [ 6 ] * n + r [ 10 ] * i + r [ 14 ] ) * s , this } , transformMat3 : function ( t ) { var e = this . x , n = this . y , i = this . z , r = t . val ; return this . x = e * r [ 0 ] + n * r [ 3 ] + i * r [ 6 ] , this . y = e * r [ 1 ] + n * r [ 4 ] + i * r [ 7 ] , this . z = e * r [ 2 ] + n * r [ 5 ] + i * r [ 8 ] , this } , transformMat4 : function ( t ) { var e = this . x , n = this . y , i = this . z , r = t . val ; return this . x = r [ 0 ] * e + r [ 4 ] * n + r [ 8 ] * i + r [ 12 ] , this . y = r [ 1 ] * e + r [ 5 ] * n + r [ 9 ] * i + r [ 13 ] , this . z = r [ 2 ] * e + r [ 6 ] * n + r [ 10 ] * i + r [ 14 ] , this } , transformCoordinates : function ( t ) { var e = this . x , n = this . y , i = this . z , r = t . val , s = e * r [ 0 ] + n * r [ 4 ] + i * r [ 8 ] + r [ 12 ] , a = e * r [ 1 ] + n * r [ 5 ] + i * r [ 9 ] + r [ 13 ] , o = e * r [ 2 ] + n * r [ 6 ] + i * r [ 10 ] + r [ 14 ] , h = e * r [ 3 ] + n * r [ 7 ] + i * r [ 11 ] + r [ 15 ] ; return this . x = s / h , this . y = a / h , this . z = o / h , this } , transformQuat : function ( t ) { var e = this . x , n = this . y , i = this . z , r = t . x , s = t . y , a = t . z , o = t . w , h = o * e + s * i - a * n , l = o * n + a * e - r * i , u = o * i + r * n - s * e , c = - r * e - s * n - a * i ; return this . x = h * o + c * - r + l * - a - u * - s , this . y = l * o + c * - s + u * - r - h * - a , this . z = u * o + c * - a + h * - s - l * - r , this } , project : function ( t ) { var e = this . x , n = this . y , i = this . z , r = t . val , s = r [ 0 ] , a = r [ 1 ] , o = r [ 2 ] , h = r [ 3 ] , l = r [ 4 ] , u = r [ 5 ] , c = r [ 6 ] , f = r [ 7 ] , d = r [ 8 ] , p = r [ 9 ] , v = r [ 10 ] , g = r [ 11 ] , m = r [ 12 ] , y = r [ 13 ] , x = r [ 14 ] , w = 1 / ( e * h + n * f + i * g + r [ 15 ] ) ; return this . x = ( e * s + n * l + i * d + m ) * w , this . y = ( e * a + n * u + i * p + y ) * w , this . z = ( e * o + n * c + i * v + x ) * w , this } , pro
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 26 ) , r = n ( 60 ) ; t . exports = function ( t , e ) { if ( void 0 === e && ( e = 90 ) , ! i ( t ) ) return null ; if ( "string" != typeof e && ( e = ( e % 360 + 360 ) % 360 ) , 90 === e || - 270 === e || "rotateLeft" === e ) ( t = r ( t ) ) . reverse ( ) ; else if ( - 90 === e || 270 === e || "rotateRight" === e ) t . reverse ( ) , t = r ( t ) ; else if ( 180 === Math . abs ( e ) || "rotate180" === e ) { for ( var n = 0 ; n < t . length ; n ++ ) t [ n ] . reverse ( ) ; t . reverse ( ) } return t } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i , r = n ( 27 ) , s = { chrome : ! 1 , chromeVersion : 0 , edge : ! 1 , firefox : ! 1 , firefoxVersion : 0 , ie : ! 1 , ieVersion : 0 , mobileSafari : ! 1 , opera : ! 1 , safari : ! 1 , safariVersion : 0 , silk : ! 1 , trident : ! 1 , tridentVersion : 0 , es2019 : ! 1 } ; t . exports = ( i = navigator . userAgent , /Edg\/\d+/ . test ( i ) ? ( s . edge = ! 0 , s . es2019 = ! 0 ) : /OPR/ . test ( i ) ? ( s . opera = ! 0 , s . es2019 = ! 0 ) : /Chrome\/(\d+)/ . test ( i ) && ! r . windowsPhone ? ( s . chrome = ! 0 , s . chromeVersion = parseInt ( RegExp . $1 , 10 ) , s . es2019 = s . chromeVersion > 69 ) : /Firefox\D+(\d+)/ . test ( i ) ? ( s . firefox = ! 0 , s . firefoxVersion = parseInt ( RegExp . $1 , 10 ) , s . es2019 = s . firefoxVersion > 10 ) : /AppleWebKit/ . test ( i ) && r . iOS ? s . mobileSafari = ! 0 : /MSIE (\d+\.\d+);/ . test ( i ) ? ( s . ie = ! 0 , s . ieVersion = parseInt ( RegExp . $1 , 10 ) ) : /Version\/(\d+\.\d+) Safari/ . test ( i ) && ! r . windowsPhone ? ( s . safari = ! 0 , s . safariVersion = parseInt ( RegExp . $1 , 10 ) , s . es2019 = s . safariVersion > 10 ) : /Trident\/(\d+\.\d+)(.*)rv:(\d+\.\d+)/ . test ( i ) && ( s . ie = ! 0 , s . trident = ! 0 , s . tridentVersion = parseInt ( RegExp . $1 , 10 ) , s . ieVersion = parseInt ( RegExp . $3 , 10 ) ) , /Silk/ . test ( i ) && ( s . silk = ! 0 ) , s ) } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 6 ) , r = function ( ) { var t , e , n , s , a , o , h = arguments [ 0 ] || { } , l = 1 , u = arguments . length , c = ! 1 ; for ( "boolean" == typeof h && ( c = h , h = arguments [ 1 ] || { } , l = 2 ) , u === l && ( h = this , -- l ) ; l < u ; l ++ ) if ( null != ( t = arguments [ l ] ) ) for ( e in t ) n = h [ e ] , h !== ( s = t [ e ] ) && ( c && s && ( i ( s ) || ( a = Array . isArray ( s ) ) ) ? ( a ? ( a = ! 1 , o = n && Array . isArray ( n ) ? n : [ ] ) : o = n && i ( n ) ? n : { } , h [ e ] = r ( c , o , s ) ) : void 0 !== s && ( h [ e ] = s ) ) ; return h } ; t . exports = r } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 3 ) ; t . exports = function ( t ) { return t > Math . PI && ( t -= i . PI2 ) , Math . abs ( ( ( t + i . TAU ) % i . PI2 - i . PI2 ) % i . PI2 ) } } , function ( t , e ) { t . exports = function ( t , e ) { return Math . random ( ) * ( e - t ) + t } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 3 ) ; t . exports = function ( t ) { return t * i . DEG _TO _RAD } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 14 ) , s = new i ( { initialize : function ( t ) { this . val = new Float32Array ( 16 ) , t ? this . copy ( t ) : this . identity ( ) } , clone : function ( ) { return new s ( this ) } , set : function ( t ) { return this . copy ( t ) } , setValues : function ( t , e , n , i , r , s , a , o , h , l , u , c , f , d , p , v ) { var g = this . val ; return g [ 0 ] = t , g [ 1 ] = e , g [ 2 ] = n , g [ 3 ] = i , g [ 4 ] = r , g [ 5 ] = s , g [ 6 ] = a , g [ 7 ] = o , g [ 8 ] = h , g [ 9 ] = l , g [ 10 ] = u , g [ 11 ] = c , g [ 12 ] = f , g [ 13 ] = d , g [ 14 ] = p , g [ 15 ] = v , this } , copy : function ( t ) { var e = t . val ; return this . setValues ( e [ 0 ] , e [ 1 ] , e [ 2 ] , e [ 3 ] , e [ 4 ] , e [ 5 ] , e [ 6 ] , e [ 7 ] , e [ 8 ] , e [ 9 ] , e [ 10 ] , e [ 11 ] , e [ 12 ] , e [ 13 ] , e [ 14 ] , e [ 15 ] ) } , fromArray : function ( t ) { return this . setValues ( t [ 0 ] , t [ 1 ] , t [ 2 ] , t [ 3 ] , t [ 4 ] , t [ 5 ] , t [ 6 ] , t [ 7 ] , t [ 8 ] , t [ 9 ] , t [ 10 ] , t [ 11 ] , t [ 12 ] , t [ 13 ] , t [ 14 ] , t [ 15 ] ) } , zero : function ( ) { return this . setValues ( 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ) } , transform : function ( t , e , n ) { var i = a . fromQuat ( n ) . val , r = e . x , s = e . y , o = e . z ; return this . setValues ( i [ 0 ] * r , i [ 1 ] * r , i [ 2 ] * r , 0 , i [ 4 ] * s , i [ 5 ] * s , i [ 6 ] * s , 0 , i [ 8 ] * o , i [ 9 ] * o , i [ 10 ] * o , 0 , t . x , t . y , t . z , 1 ) } , xyz : function ( t , e , n ) { this . identity ( ) ; var i = this . val ; return i [ 12 ] = t , i [ 13 ] = e , i [ 14 ] = n , this } , scaling : function ( t , e , n ) { this . zero ( ) ; var i = this . val ; return i [ 0 ] = t , i [ 5 ] = e , i [ 10 ] = n , i [ 15 ] = 1 , this } , identity : function ( ) { return this . setValues ( 1 , 0 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 1 ) } , transpose : function ( ) { var t = this . val , e = t [ 1 ] , n = t [ 2 ] , i = t [ 3 ] , r = t [ 6 ] , s = t [ 7 ] , a = t [ 11 ] ; return t [ 1 ] = t [ 4 ] , t [ 2 ] = t [ 8 ] , t [ 3 ] = t [ 12 ] , t [ 4 ] = e , t [ 6 ] = t [ 9 ] , t [ 7 ] = t [ 13 ] , t [ 8 ] = n , t [ 9 ] = r , t [ 11 ] = t [ 14 ] , t [ 12 ] = i , t [ 13 ] = s , t [ 14 ] = a , this } , getInverse : function ( t ) { return this . copy ( t ) , this . invert ( ) } , invert : function ( ) { var t = this . val , e = t [ 0 ] , n = t [ 1 ] , i = t [ 2 ] , r = t [ 3 ] , s = t [ 4 ] , a = t [ 5 ] , o = t [ 6 ] , h = t [ 7 ] , l = t [ 8 ] , u = t [ 9 ] , c = t [ 10 ] , f = t [ 11 ] , d = t [ 12 ] , p = t [ 13 ] , v = t [ 14 ] , g = t [ 15 ] , m = e * a - n * s , y = e * o - i * s , x = e * h - r * s , w = n * o - i * a , M = n * h - r * a , E = i * h - r * o , T = l * p - u * d , A = l * v - c * d , b = l * g - f * d , S = u * v - c * p , R = u * g - f * p , I = c * g - f * v , C = m * I - y * R + x * S + w * b - M * A + E * T ; return C ? ( C = 1 / C , this . setValues ( ( a * I - o * R + h * S ) * C , ( i * R - n * I - r * S ) * C , ( p * E - v * M + g * w ) * C , ( c * M - u * E - f * w ) * C , ( o * b - s * I - h * A ) * C , ( e * I - i * b + r * A ) * C , ( v * x - d * E - g * y ) * C , ( l * E - c * x + f * y ) * C , ( s * R - a * b + h * T ) * C , ( n * b - e * R - r * T ) * C , ( d * M - p * x + g * m ) * C , ( u * x - l * M - f * m ) * C , ( a * A - s * S - o * T ) * C , ( e * S - n * A + i * T ) * C , ( p * y - d * w - v * m ) * C , ( l * w - u * y + c * m ) * C ) ) : this } , adjoint : function ( ) { var t = this . val , e = t [ 0 ] , n = t [ 1 ] , i = t [ 2 ] , r = t [ 3 ] , s = t [ 4 ] , a = t [ 5 ] , o = t [ 6 ] , h = t [ 7 ] , l = t [ 8 ] , u = t [ 9 ] , c = t [ 10 ] , f = t [ 11 ] , d = t [ 12 ] , p = t [ 13 ] , v = t [ 14 ] , g = t [ 15 ] ; return this . setValues ( a * ( c * g - f * v ) - u * ( o * g - h * v ) + p * ( o * f - h * c ) , - ( n * ( c * g - f * v ) - u * ( i * g - r * v ) + p * ( i * f - r * c ) ) , n * ( o * g - h * v ) - a * ( i * g - r * v ) + p * ( i * h - r * o ) , - ( n * ( o * f - h * c ) - a * ( i * f - r * c ) + u * ( i * h - r * o ) ) , - ( s * ( c * g - f * v ) - l * ( o * g - h * v ) + d * ( o * f - h * c ) ) , e * ( c * g - f * v ) - l * ( i * g - r * v ) + d * ( i * f - r * c ) , - ( e * ( o * g - h * v ) - s * ( i * g - r * v ) + d * ( i * h - r * o ) ) , e * ( o * f - h * c ) - s * ( i * f - r * c ) + l * ( i * h - r * o ) , s * ( u * g - f * p ) - l * ( a * g - h * p ) + d * ( a * f - h * u ) , - ( e * ( u * g - f * p ) - l * ( n * g - r * p ) + d * ( n * f - r * u ) ) , e * ( a * g - h * p ) - s * ( n * g - r * p ) + d * ( n * h - r * a ) , - ( e * ( a * f - h * u ) - s * ( n * f - r * u ) + l * ( n * h - r * a ) ) , - ( s * ( u * v - c * p ) - l * ( a * v - o * p ) + d * ( a * c - o * u ) ) , e * ( u * v - c * p ) - l * ( n * v - i * p ) + d * ( n * c - i * u ) , - ( e * ( a * v - o * p ) - s * ( n * v - i * p ) + d * ( n * o - i * a ) ) , e * ( a * c - o * u ) - s * ( n * c - i * u ) + l * ( n * o - i * a ) ) } , determinant : function ( ) { var t = this . val , e = t [ 0 ] , n = t [ 1 ] , i = t [ 2 ] , r = t [ 3 ] , s = t [ 4 ] , a = t [ 5 ] , o = t [ 6 ] , h = t [ 7 ] , l = t [ 8 ] , u = t [ 9 ] , c = t [ 10 ] , f = t [ 11 ] , d = t [ 12 ] , p = t [ 13 ] , v = t [ 14 ] , g = t [ 15 ] ; return ( e * a - n * s ) * ( c * g - f * v ) - ( e * o - i * s ) * ( u * g - f * p ) + ( e * h - r * s ) * ( u * v - c * p ) + ( n * o - i * a ) * ( l * g - f * d ) - ( n * h - r * a ) * ( l * v - c * d ) + ( i * h - r * o ) * ( l * p - u * d ) } , multiply : function ( t ) { var e = this . val , n = e [ 0 ] , i = e [ 1 ] , r = e [ 2 ] , s = e [ 3 ] , a = e [ 4 ] , o = e [ 5 ] , h = e [ 6 ] , l = e [ 7 ] , u = e [ 8 ] , c = e [ 9 ] , f = e [ 10 ] , d = e [ 11 ] , p = e [ 12 ] , v = e [ 13 ] , g = e [ 14 ] , m = e [ 15 ] , y = t . val , x = y [ 0 ] , w = y [ 1 ] , M = y [ 2 ] , E = y [ 3 ] ; return e [ 0 ] = x * n + w * a + M * u + E * p , e [ 1 ] = x * i + w * o + M * c + E * v , e [ 2 ] = x * r + w * h + M * f + E * g , e [ 3 ] = x * s + w * l + M * d + E * m , x = y [ 4 ] , w = y [ 5 ] , M = y [ 6 ] , E = y [ 7 ] , e [ 4 ] = x * n + w * a + M * u + E * p , e [ 5 ] = x * i + w * o + M * c + E * v , e [ 6 ] = x * r + w * h + M * f + E * g , e [ 7 ] = x * s + w * l + M * d + E * m , x = y [ 8 ] , w = y [ 9 ] , M = y [ 10 ] , E = y [ 11 ] , e [ 8 ] = x * n + w * a + M * u + E * p , e [ 9 ] = x * i + w * o + M * c + E * v , e [ 10 ] = x * r + w * h + M * f + E * g , e [ 11 ] = x * s + w * l + M * d + E * m , x = y [ 12 ] , w = y [ 13 ] , M = y [ 14 ] , E = y [ 15 ] , e [ 12 ] = x * n + w * a + M * u + E * p , e [ 13 ] = x * i + w * o + M * c + E * v , e [ 14 ] = x * r + w * h + M * f + E * g , e [ 15 ] = x * s + w * l + M * d + E * m , this } , multiplyLocal : function ( t ) { var e = this . val , n = t . val ; return this . setValues ( e [ 0 ] * n [ 0 ] + e [ 1 ] * n [ 4 ] + e [ 2 ] * n [ 8 ] + e [ 3 ] * n [ 12 ] , e [ 0 ] * n [ 1 ] + e [ 1 ] * n [ 5 ] + e [ 2 ] * n [ 9 ] + e [ 3 ] * n [ 13 ] , e [ 0 ] * n [ 2 ] + e [ 1 ] * n [ 6 ] + e [ 2 ] * n [ 10 ] + e [ 3 ] * n [ 14 ] , e [ 0 ] * n [ 3 ] + e [ 1 ] * n [ 7 ] + e [ 2 ] * n [ 11 ] + e [ 3 ] * n [ 15 ] , e [ 4 ] * n [ 0 ] + e [ 5 ] * n [ 4 ] + e [ 6 ] * n [ 8 ] + e [ 7 ] * n [ 12 ] , e [ 4 ] * n [ 1 ] + e [ 5 ] * n [ 5 ] + e [ 6 ] * n [ 9 ] + e [ 7 ] * n [ 13 ] , e [ 4 ] * n [ 2 ] + e [ 5 ] * n [ 6 ] + e [ 6 ] * n [ 10 ] + e [ 7 ] * n [ 14 ] , e [ 4 ] * n [ 3 ] + e [ 5 ] * n [ 7 ] + e [ 6 ] * n [
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 3 ) ; t . exports = function ( t ) { return t * i . RAD _TO _DEG } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { ADDED _TO _SCENE : n ( 186 ) , BOOT : n ( 187 ) , CREATE : n ( 188 ) , DESTROY : n ( 189 ) , PAUSE : n ( 190 ) , POST _UPDATE : n ( 191 ) , PRE _RENDER : n ( 192 ) , PRE _UPDATE : n ( 193 ) , READY : n ( 194 ) , REMOVED _FROM _SCENE : n ( 195 ) , RENDER : n ( 196 ) , RESUME : n ( 197 ) , SHUTDOWN : n ( 198 ) , SLEEP : n ( 199 ) , START : n ( 200 ) , TRANSITION _COMPLETE : n ( 201 ) , TRANSITION _INIT : n ( 202 ) , TRANSITION _OUT : n ( 203 ) , TRANSITION _START : n ( 204 ) , TRANSITION _WAKE : n ( 205 ) , UPDATE : n ( 206 ) , WAKE : n ( 207 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 9 ) , s = n ( 46 ) , a = n ( 8 ) , o = n ( 47 ) , h = n ( 48 ) , l = n ( 221 ) , u = n ( 49 ) , c = new i ( { initialize : function ( t , e ) { if ( this . loader = t , this . cache = a ( e , "cache" , ! 1 ) , this . type = a ( e , "type" , ! 1 ) , ! this . type ) throw new Error ( "Invalid File type: " + this . type ) ; this . key = a ( e , "key" , ! 1 ) ; var n = this . key ; if ( t . prefix && "" !== t . prefix && ( this . key = t . prefix + n ) , ! this . key ) throw new Error ( "Invalid File key: " + this . key ) ; var i = a ( e , "url" ) ; void 0 === i ? i = t . path + n + "." + a ( e , "extension" , "" ) : "string" != typeof i || i . match ( /^(?:blob:|data:|capacitor:\/\/|http:\/\/|https:\/\/|\/\/)/ ) || ( i = t . path + i ) , this . url = i , this . src = "" , this . xhrSettings = u ( a ( e , "responseType" , void 0 ) ) , a ( e , "xhrSettings" , ! 1 ) && ( this . xhrSettings = h ( this . xhrSettings , a ( e , "xhrSettings" , { } ) ) ) , this . xhrLoader = null , this . state = "function" == typeof this . url ? r . FILE _POPULATED : r . FILE _PENDING , this . bytesTotal = 0 , this . bytesLoaded = - 1 , this . percentComplete = - 1 , this . crossOrigin = void 0 , this . data = void 0 , this . config = a ( e , "config" , { } ) , this . multiFile , this . linkFile } , setLink : function ( t ) { this . linkFile = t , t . linkFile = this } , resetXHR : function ( ) { this . xhrLoader && ( this . xhrLoader . onload = void 0 , this . xhrLoader . onerror = void 0 , this . xhrLoader . onprogress = void 0 ) } , load : function ( ) { this . state === r . FILE _POPULATED ? this . loader . nextFile ( this , ! 0 ) : ( this . state = r . FILE _LOADING , this . src = o ( this , this . loader . baseURL ) , 0 === this . src . indexOf ( "data:" ) ? console . warn ( "Local data URIs are not supported: " + this . key ) : this . xhrLoader = l ( this , this . loader . xhr ) ) } , onLoad : function ( t , e ) { var n = t . responseURL && this . loader . localSchemes . some ( ( function ( e ) { return 0 === t . responseURL . indexOf ( e ) } ) ) && 0 === e . target . status , i = ! ( e . target && 200 !== e . target . status ) || n ; 4 === t . readyState && t . status >= 400 && t . status <= 599 && ( i = ! 1 ) , this . state = r . FILE _LOADED , this . resetXHR ( ) , this . loader . nextFile ( this , i ) } , onError : function ( ) { this . resetXHR ( ) , this . loader . nextFile ( this , ! 1 ) } , onProgress : function ( t ) { t . lengthComputable && ( this . bytesLoaded = t . loaded , this . bytesTotal = t . total , this . percentComplete = Math . min ( this . bytesLoaded / this . bytesTotal , 1 ) , this . loader . emit ( s . FILE _PROGRESS , this , this . percentComplete ) ) } , onProcess : function ( ) { this . state = r . FILE _PROCESSING , this . onProcessComplete ( ) } , onProcessComplete : function ( ) { this . state = r . FILE _COMPLETE , this . multiFile && this . multiFile . onFileComplete ( this ) , this . loader . fileProcessComplete ( this ) } , onProcessError : function ( ) { console . error ( 'Failed to process file: %s "%s"' , this . type , this . key ) , this . state = r . FILE _ERRORED , this . multiFile && this . multiFile . onFileFailed ( this ) , this . loader . fileProcessComplete ( this ) } , hasCacheConflict : function ( ) { return this . cache && this . cache . exists ( this . key ) } , addToCache : function ( ) { this . cache && this . data && this . cache . add ( this . key , this . data ) } , pendingDestroy : function ( t ) { if ( this . state !== r . FILE _PENDING _DESTROY ) { void 0 === t && ( t = this . data ) ; var e = this . key , n = this . type ; this . loader . emit ( s . FILE _COMPLETE , e , n , t ) , this . loader . emit ( s . FILE _KEY _COMPLETE + n + "-" + e , e , n , t ) , this . loader . flagForRemoval ( this ) , this . state = r . FILE _PENDING _DESTROY } } , destroy : function ( ) { this . loader = null , this . cache = null , this . xhrSettings = null , this . multiFile = null , this . linkFile = null , this . data = null } } ) ; c . createObjectURL = function ( t , e , n ) { if ( "function" == typeof URL ) t . src = URL . createObjectURL ( e ) ; else { var i = new FileReader ; i . onload = function ( ) { t . removeAttribute ( "crossOrigin" ) , t . src = "data:" + ( e . type || n ) + ";base64," + i . result . split ( "," ) [ 1 ] } , i . onerror = t . onerror , i . readAsDataURL ( e ) } } , c . revokeObjectURL = function ( t ) { "function" == typeof URL && URL . revokeObjectURL ( t . src ) } , t . exports = c } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { } , i = { install : function ( t ) { for ( var e in n ) t [ e ] = n [ e ] } , register : function ( t , e ) { n [ t ] = e } , destroy : function ( ) { n = { } } } ; t . exports = i } , function ( t , e ) { t . exports = function ( t ) { if ( ! Array . isArray ( t ) || ! Array . isArray ( t [ 0 ] ) ) return ! 1 ; for ( var e = t [ 0 ] . length , n = 1 ; n < t . length ; n ++ ) if ( t [ n ] . length !== e ) return ! 1 ; return ! 0 } } , function ( t , e , n ) { ( function ( e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { android : ! 1 , chromeOS : ! 1 , cordova : ! 1 , crosswalk : ! 1 , desktop : ! 1 , ejecta : ! 1 , electron : ! 1 , iOS : ! 1 , iOSVersion : 0 , iPad : ! 1 , iPhone : ! 1 , kindle : ! 1 , linux : ! 1 , macOS : ! 1 , node : ! 1 , nodeWebkit : ! 1 , pixelRatio : 1 , webApp : ! 1 , windows : ! 1 , windowsPhone : ! 1 } ; t . exports = function ( ) { if ( "function" == typeof importScripts ) return n ; var t = navigator . userAgent ; /Windows/ . test ( t ) ? n . windows = ! 0 : /Mac OS/ . test ( t ) && ! /like Mac OS/ . test ( t ) ? navigator . maxTouchPoints && navigator . maxTouchPoints > 2 ? ( n . iOS = ! 0 , n . iPad = ! 0 , navigator . appVersion . match ( /Version\/(\d+)/ ) , n . iOSVersion = parseInt ( RegExp . $1 , 10 ) ) : n . macOS = ! 0 : /Android/ . test ( t ) ? n . android = ! 0 : /Linux/ . test ( t ) ? n . linux = ! 0 : /iP[ao]d|iPhone/i . test ( t ) ? ( n . iOS = ! 0 , navigator . appVersion . match ( /OS (\d+)/ ) , n . iOSVersion = parseInt ( RegExp . $1 , 10 ) , n . iPhone = - 1 !== t . toLowerCase ( ) . indexOf ( "iphone" ) , n . iPad = - 1 !== t . toLowerCase ( ) . indexOf ( "ipad" ) ) : /Kindle/ . test ( t ) || /\bKF[A-Z][A-Z]+/ . test ( t ) || /Silk.*Mobile Safari/ . test ( t ) ? n . kindle = ! 0 : /CrOS/ . test ( t ) && ( n . chromeOS = ! 0 ) , ( /Windows Phone/i . test ( t ) || /IEMobile/i . test ( t ) ) && ( n . android = ! 1 , n . iOS = ! 1 , n . macOS = ! 1 , n . windows = ! 0 , n . windowsPhone = ! 0 ) ; var i = /Silk/ . test ( t ) ; return ( n . windows || n . macOS || n . linux && ! i || n . chromeOS ) && ( n . desktop = ! 0 ) , ( n . windowsPhone || /Windows NT/i . test ( t ) && /Touch/i . test ( t ) ) && ( n . desktop = ! 1 ) , navigator . standalone && ( n . webApp = ! 0 ) , "function" != typeof importScripts && ( void 0 !== window . cordova && ( n . cordova = ! 0 ) , void 0 !== window . ejecta && ( n . ejecta = ! 0 ) ) , void 0 !== e && e . versions && e . versions . node && ( n . node = ! 0 ) , n . node && "object" == typeof e . versions && ( n . nodeWebkit = ! ! e . versions [ "node-webkit" ] , n . electron = ! ! e . versions . electron ) , /Crosswalk/ . test ( t ) && ( n . crosswalk = ! 0 ) , n . pixelRatio = window . devicePixelRatio || 1 , n } ( ) } ) . call ( this , n ( 298 ) ) } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 316 ) , s = n ( 65 ) , a = n ( 317 ) , o = n ( 29 ) , h = n ( 318 ) , l = n ( 323 ) , u = new i ( { initialize : function ( t , e , n , i ) { void 0 === t && ( t = 0 ) , void 0 === e && ( e = 0 ) , void 0 === n && ( n = 0 ) , void 0 === i && ( i = 0 ) , this . type = o . RECTANGLE , this . x = t , this . y = e , this . width = n , this . height = i } , contains : function ( t , e ) { return r ( this , t , e ) } , getPoint : function ( t , e ) { return s ( this , t , e ) } , getPoints : function ( t , e , n ) { return a ( this , t , e , n ) } , getRandomPoint : function ( t ) { return l ( this , t ) } , setTo : function ( t , e , n , i ) { return this . x = t , this . y = e , this . width = n , this . height = i , this } , setEmpty : function ( ) { return this . setTo ( 0 , 0 , 0 , 0 ) } , setPosition : function ( t , e ) { return void 0 === e && ( e = t ) , this . x = t , this . y = e , this } , setSize : function ( t , e ) { return void 0 === e && ( e = t ) , this . width = t , this . height = e , this } , isEmpty : function ( ) { return this . width <= 0 || this . height <= 0 } , getLineA : function ( t ) { return void 0 === t && ( t = new h ) , t . setTo ( this . x , this . y , this . right , this . y ) , t } , getLineB : function ( t ) { return void 0 === t && ( t = new h ) , t . setTo ( this . right , this . y , this . right , this . bottom ) , t } , getLineC : function ( t ) { return void 0 === t && ( t = new h ) , t . setTo ( this . right , this . bottom , this . x , this . bottom ) , t } , getLineD : function ( t ) { return void 0 === t && ( t = new h ) , t . setTo ( this . x , this . bottom , this . x , this . y ) , t } , left : { get : function ( ) { return this . x } , set : function ( t ) { t >= this . right ? this . width = 0 : this . width = this . right - t , this . x = t } } , right : { get : function ( ) { return this . x + this . width } , set : function ( t ) { t <= this . x ? this . width = 0 : this . width = t - this . x } } , top : { get : function ( ) { return this . y } , set : function ( t ) { t >= this . bottom ? this . height = 0 : this . height = this . bottom - t , this . y = t } } , bottom : { get : function ( ) { return this . y + this . height } , set : function ( t ) { t <= this . y ? this . height = 0 : this . height = t - this . y } } , centerX : { get : function ( ) { return this . x + this . width / 2 } , set : function ( t ) { this . x = t - this . width / 2 } } , centerY : { get : function ( ) { return this . y + this . height / 2 } , set : function ( t ) { this . y = t - this . height / 2 } } } ) ; t . exports = u } , function ( t , e ) { t . exports = { CIRCLE : 0 , ELLIPSE : 1 , LINE : 2 , POINT : 3 , POLYGON : 4 , RECTANGLE : 5 , TRIANGLE : 6 } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { return Math . atan2 ( i - e , n - t ) } } , function ( t , e ) { t . exports = function ( t ) { return ( t %= 2 * Math . PI ) >= 0 ? t : t + 2 * Math . PI } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 13 ) ; t . exports = function ( t ) { return i ( t , - Math . PI , Math . PI ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 13 ) ; t . exports = function ( t ) { return i ( t , - 180 , 180 ) } } , function ( t , e ) { t . exports = function ( t , e , n ) { return void 0 === n && ( n = 1e-4 ) , Math . abs ( t - e ) < n } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 36 ) ; t . exports = function ( t , e ) { return i ( t ) / i ( e ) / i ( t - e ) } } , function ( t , e ) { t . exports = function ( t ) { if ( 0 === t ) return 1 ; for ( var e = t ; -- t ; ) e *= t ; return e } } , function ( t , e ) { t . exports = function ( t , e , n , i , r ) { var s = . 5 * ( i - e ) , a = . 5 * ( r - n ) , o = t * t ; return ( 2 * n - 2 * i + s + a ) * ( t * o ) + ( - 3 * n + 3 * i - 2 * s - a ) * o + s * t + n } } , function ( t , e ) { t . exports = function ( t , e , n ) { return ( e - t ) * n + t } } , function ( t , e ) { t . exports = function ( t , e , n ) { return t <= e ? 0 : t >= n ? 1 : ( t = ( t - e ) / ( n - e ) ) * t * ( 3 - 2 * t ) } } , function ( t , e ) { t . exports = function ( t , e , n ) { return ( t = Math . max ( 0 , Math . min ( 1 , ( t - e ) / ( n - e ) ) ) ) * t * t * ( t * ( 6 * t - 15 ) + 10 ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { var r = Math . cos ( i ) , s = Math . sin ( i ) , a = t . x - e , o = t . y - n ; return t . x = a * r - o * s + e , t . y = a * s + o * r + n , t } } , function ( t , e ) { t . exports = function ( t ) { return t > 0 ? Math . ceil ( t ) : Math . floor ( t ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 2 ) ; t . exports = function ( t , e , n , r , s , a , o , h ) { void 0 === h && ( h = new i ) ; var l = Math . sin ( s ) , u = Math . cos ( s ) , c = u * a , f = l * a , d = - l * o , p = u * o , v = 1 / ( c * p + d * - f ) ; return h . x = p * v * t + - d * v * e + ( r * d - n * p ) * v , h . y = c * v * e + - f * v * t + ( - r * c + n * f ) * v , h } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = new ( n ( 0 ) ) ( { initialize : function ( t ) { this . val = new Float32Array ( 9 ) , t ? this . copy ( t ) : this . identity ( ) } , clone : function ( ) { return new i ( this ) } , set : function ( t ) { return this . copy ( t ) } , copy : function ( t ) { var e = this . val , n = t . val ; return e [ 0 ] = n [ 0 ] , e [ 1 ] = n [ 1 ] , e [ 2 ] = n [ 2 ] , e [ 3 ] = n [ 3 ] , e [ 4 ] = n [ 4 ] , e [ 5 ] = n [ 5 ] , e [ 6 ] = n [ 6 ] , e [ 7 ] = n [ 7 ] , e [ 8 ] = n [ 8 ] , this } , fromMat4 : function ( t ) { var e = t . val , n = this . val ; return n [ 0 ] = e [ 0 ] , n [ 1 ] = e [ 1 ] , n [ 2 ] = e [ 2 ] , n [ 3 ] = e [ 4 ] , n [ 4 ] = e [ 5 ] , n [ 5 ] = e [ 6 ] , n [ 6 ] = e [ 8 ] , n [ 7 ] = e [ 9 ] , n [ 8 ] = e [ 10 ] , this } , fromArray : function ( t ) { var e = this . val ; return e [ 0 ] = t [ 0 ] , e [ 1 ] = t [ 1 ] , e [ 2 ] = t [ 2 ] , e [ 3 ] = t [ 3 ] , e [ 4 ] = t [ 4 ] , e [ 5 ] = t [ 5 ] , e [ 6 ] = t [ 6 ] , e [ 7 ] = t [ 7 ] , e [ 8 ] = t [ 8 ] , this } , identity : function ( ) { var t = this . val ; return t [ 0 ] = 1 , t [ 1 ] = 0 , t [ 2 ] = 0 , t [ 3 ] = 0 , t [ 4 ] = 1 , t [ 5 ] = 0 , t [ 6 ] = 0 , t [ 7 ] = 0 , t [ 8 ] = 1 , this } , transpose : function ( ) { var t = this . val , e = t [ 1 ] , n = t [ 2 ] , i = t [ 5 ] ; return t [ 1 ] = t [ 3 ] , t [ 2 ] = t [ 6 ] , t [ 3 ] = e , t [ 5 ] = t [ 7 ] , t [ 6 ] = n , t [ 7 ] = i , this } , invert : function ( ) { var t = this . val , e = t [ 0 ] , n = t [ 1 ] , i = t [ 2 ] , r = t [ 3 ] , s = t [ 4 ] , a = t [ 5 ] , o = t [ 6 ] , h = t [ 7 ] , l = t [ 8 ] , u = l * s - a * h , c = - l * r + a * o , f = h * r - s * o , d = e * u + n * c + i * f ; return d ? ( d = 1 / d , t [ 0 ] = u * d , t [ 1 ] = ( - l * n + i * h ) * d , t [ 2 ] = ( a * n - i * s ) * d , t [ 3 ] = c * d , t [ 4 ] = ( l * e - i * o ) * d , t [ 5 ] = ( - a * e + i * r ) * d , t [ 6 ] = f * d , t [ 7 ] = ( - h * e + n * o ) * d , t [ 8 ] = ( s * e - n * r ) * d , this ) : null } , adjoint : function ( ) { var t = this . val , e = t [ 0 ] , n = t [ 1 ] , i = t [ 2 ] , r = t [ 3 ] , s = t [ 4 ] , a = t [ 5 ] , o = t [ 6 ] , h = t [ 7 ] , l = t [ 8 ] ; return t [ 0 ] = s * l - a * h , t [ 1 ] = i * h - n * l , t [ 2 ] = n * a - i * s , t [ 3 ] = a * o - r * l , t [ 4 ] = e * l - i * o , t [ 5 ] = i * r - e * a , t [ 6 ] = r * h - s * o , t [ 7 ] = n * o - e * h , t [ 8 ] = e * s - n * r , this } , determinant : function ( ) { var t = this . val , e = t [ 0 ] , n = t [ 1 ] , i = t [ 2 ] , r = t [ 3 ] , s = t [ 4 ] , a = t [ 5 ] , o = t [ 6 ] , h = t [ 7 ] , l = t [ 8 ] ; return e * ( l * s - a * h ) + n * ( - l * r + a * o ) + i * ( h * r - s * o ) } , multiply : function ( t ) { var e = this . val , n = e [ 0 ] , i = e [ 1 ] , r = e [ 2 ] , s = e [ 3 ] , a = e [ 4 ] , o = e [ 5 ] , h = e [ 6 ] , l = e [ 7 ] , u = e [ 8 ] , c = t . val , f = c [ 0 ] , d = c [ 1 ] , p = c [ 2 ] , v = c [ 3 ] , g = c [ 4 ] , m = c [ 5 ] , y = c [ 6 ] , x = c [ 7 ] , w = c [ 8 ] ; return e [ 0 ] = f * n + d * s + p * h , e [ 1 ] = f * i + d * a + p * l , e [ 2 ] = f * r + d * o + p * u , e [ 3 ] = v * n + g * s + m * h , e [ 4 ] = v * i + g * a + m * l , e [ 5 ] = v * r + g * o + m * u , e [ 6 ] = y * n + x * s + w * h , e [ 7 ] = y * i + x * a + w * l , e [ 8 ] = y * r + x * o + w * u , this } , translate : function ( t ) { var e = this . val , n = t . x , i = t . y ; return e [ 6 ] = n * e [ 0 ] + i * e [ 3 ] + e [ 6 ] , e [ 7 ] = n * e [ 1 ] + i * e [ 4 ] + e [ 7 ] , e [ 8 ] = n * e [ 2 ] + i * e [ 5 ] + e [ 8 ] , this } , rotate : function ( t ) { var e = this . val , n = e [ 0 ] , i = e [ 1 ] , r = e [ 2 ] , s = e [ 3 ] , a = e [ 4 ] , o = e [ 5 ] , h = Math . sin ( t ) , l = Math . cos ( t ) ; return e [ 0 ] = l * n + h * s , e [ 1 ] = l * i + h * a , e [ 2 ] = l * r + h * o , e [ 3 ] = l * s - h * n , e [ 4 ] = l * a - h * i , e [ 5 ] = l * o - h * r , this } , scale : function ( t ) { var e = this . val , n = t . x , i = t . y ; return e [ 0 ] = n * e [ 0 ] , e [ 1 ] = n * e [ 1 ] , e [ 2 ] = n * e [ 2 ] , e [ 3 ] = i * e [ 3 ] , e [ 4 ] = i * e [ 4 ] , e [ 5 ] = i * e [ 5 ] , this } , fromQuat : function ( t ) { var e = t . x , n = t . y , i = t . z , r = t . w , s = e + e , a = n + n , o = i + i , h = e * s , l = e * a , u = e * o , c = n * a , f = n * o , d = i * o , p = r * s , v = r * a , g = r * o , m = this . val ; return m [ 0 ] = 1 - ( c + d ) , m [ 3 ] = l + g , m [ 6 ] = u - v , m [ 1 ] = l - g , m [ 4 ] = 1 - ( h + d ) , m [ 7 ] = f + p , m [ 2 ] = u + v , m [ 5 ] = f - p , m [ 8 ] = 1 - ( h + c ) , this } , normalFromMat4 : function ( t ) { var e = t . val , n = this . val , i = e [ 0 ] , r = e [ 1 ] , s = e [ 2 ] , a = e [ 3 ] , o = e [ 4 ] , h = e [ 5 ] , l = e [ 6 ] , u = e [ 7 ] , c = e [ 8 ] , f = e [ 9 ] , d = e [ 10 ] , p = e [ 11 ] , v = e [ 12 ] , g = e [ 13 ] , m = e [ 14 ] , y = e [ 15 ] , x = i * h - r * o , w = i * l - s * o , M = i * u - a * o , E = r * l - s * h , T = r * u - a * h , A = s * u - a * l , b = c * g - f * v , S = c * m - d * v , R = c * y - p * v , I = f * m - d * g , C = f * y - p * g , P = d * y - p * m , k = x * P - w * C + M * I + E * R - T * S + A * b ; return k ? ( k = 1 / k , n [ 0 ] = ( h * P - l * C + u * I ) * k , n [ 1 ] = ( l * R - o * P - u * S ) * k , n [ 2 ] = ( o * C - h * R + u * b ) * k , n [ 3 ] = ( s * C - r * P - a * I ) * k , n [ 4 ] = ( i * P - s * R + a * S ) * k , n [ 5 ] = ( r * R - i * C - a * b ) * k , n [ 6 ] = ( g * A - m * T + y * E ) * k , n [ 7 ] = ( m * M - v * A - y * w ) * k , n [ 8 ] = ( v * T - g * M + y * x ) * k , this ) : null } } ) ; t . exports = i } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 44 ) , s = n ( 1 ) , a = n ( 14 ) , o = new Int8Array ( [ 1 , 2 , 0 ] ) , h = new Float32Array ( [ 0 , 0 , 0 ] ) , l = new a ( 1 , 0 , 0 ) , u = new a ( 0 , 1 , 0 ) , c = new a , f = new r , d = new i ( { initialize : function ( t , e , n , i ) { this . onChangeCallback = s , this . set ( t , e , n , i ) } , x : { get : function ( ) { return this . _x } , set : function ( t ) { this . _x = t , this . onChangeCallback ( this ) } } , y : { get : function ( ) { return this . _y } , set : function ( t ) { this . _y = t , this . onChangeCallback ( this ) } } , z : { get : function ( ) { return this . _z } , set : function ( t ) { this . _z = t , this . onChangeCallback ( this ) } } , w : { get : function ( ) { return this . _w } , set : function ( t ) { this . _w = t , this . onChangeCallback ( this ) } } , copy : function ( t ) { return this . set ( t ) } , set : function ( t , e , n , i , r ) { return void 0 === r && ( r = ! 0 ) , "object" == typeof t ? ( this . _x = t . x || 0 , this . _y = t . y || 0 , this . _z = t . z || 0 , this . _w = t . w || 0 ) : ( this . _x = t || 0 , this . _y = e || 0 , this . _z = n || 0 , this . _w = i || 0 ) , r && this . onChangeCallback ( this ) , this } , add : function ( t ) { return this . _x += t . x , this . _y += t . y , this . _z += t . z , this . _w += t . w , this . onChangeCallback ( this ) , this } , subtract : function ( t ) { return this . _x -= t . x , this . _y -= t . y , this . _z -= t . z , this . _w -= t . w , this . onChangeCallback ( this ) , this } , scale : function ( t ) { return this . _x *= t , this . _y *= t , this . _z *= t , this . _w *= t , this . onChangeCallback ( this ) , this } , length : function ( ) { var t = this . x , e = this . y , n = this . z , i = this . w ; return Math . sqrt ( t * t + e * e + n * n + i * i ) } , lengthSq : function ( ) { var t = this . x , e = this . y , n = this . z , i = this . w ; return t * t + e * e + n * n + i * i } , normalize : function ( ) { var t = this . x , e = this . y , n = this . z , i = this . w , r = t * t + e * e + n * n + i * i ; return r > 0 && ( r = 1 / Math . sqrt ( r ) , this . _x = t * r , this . _y = e * r , this . _z = n * r , this . _w = i * r ) , this . onChangeCallback ( this ) , this } , dot : function ( t ) { return this . x * t . x + this . y * t . y + this . z * t . z + this . w * t . w } , lerp : function ( t , e ) { void 0 === e && ( e = 0 ) ; var n = this . x , i = this . y , r = this . z , s = this . w ; return this . set ( n + e * ( t . x - n ) , i + e * ( t . y - i ) , r + e * ( t . z - r ) , s + e * ( t . w - s ) ) } , rotationTo : function ( t , e ) { var n = t . x * e . x + t . y * e . y + t . z * e . z ; return n < - . 999999 ? ( c . copy ( l ) . cross ( t ) . length ( ) < 1e-6 && c . copy ( u ) . cross ( t ) , c . normalize ( ) , this . setAxisAngle ( c , Math . PI ) ) : n > . 999999 ? this . set ( 0 , 0 , 0 , 1 ) : ( c . copy ( t ) . cross ( e ) , this . _x = c . x , this . _y = c . y , this . _z = c . z , this . _w = 1 + n , this . normalize ( ) ) } , setAxes : function ( t , e , n ) { var i = f . val ; return i [ 0 ] = e . x , i [ 3 ] = e . y , i [ 6 ] = e . z , i [ 1 ] = n . x , i [ 4 ] = n . y , i [ 7 ] = n . z , i [ 2 ] = - t . x , i [ 5 ] = - t . y , i [ 8 ] = - t . z , this . fromMat3 ( f ) . normalize ( ) } , identity : function ( ) { return this . set ( 0 , 0 , 0 , 1 ) } , setAxisAngle : function ( t , e ) { e *= . 5 ; var n = Math . sin ( e ) ; return this . set ( n * t . x , n * t . y , n * t . z , Math . cos ( e ) ) } , multiply : function ( t ) { var e = this . x , n = this . y , i = this . z , r = this . w , s = t . x , a = t . y , o = t . z , h = t . w ; return this . set ( e * h + r * s + n * o - i * a , n * h + r * a + i * s - e * o , i * h + r * o + e * a - n * s , r * h - e * s - n * a - i * o ) } , slerp : function ( t , e ) { var n = this . x , i = this . y , r = this . z , s = this . w , a = t . x , o = t . y , h = t . z , l = t . w , u = n * a + i * o + r * h + s * l ; u < 0 && ( u = - u , a = - a , o = - o , h = - h , l = - l ) ; var c = 1 - e , f = e ; if ( 1 - u > 1e-6 ) { var d = Math . acos ( u ) , p = Math . sin ( d ) ; c = Math . sin ( ( 1 - e ) * d ) / p , f = Math . sin ( e * d ) / p } return this . set ( c * n + f * a , c * i + f * o , c * r + f * h , c * s + f * l ) } , invert : function ( ) { var t = this . x , e = this . y , n = this . z , i = this . w , r = t * t + e * e + n * n + i * i , s = r ? 1 / r : 0 ; return this . set ( - t * s , - e * s , - n * s , i * s ) } , conjugate : function ( ) { return this . _x = - this . x , this . _y = - this . y , this . _z = - this . z , this . onChangeCallback ( this ) , this } , rotateX : function ( t ) { t *= . 5 ; var e = this . x , n = this . y , i = this . z , r = this . w , s = Math . sin ( t ) , a = Math . cos ( t ) ; return this . set ( e * a + r * s , n * a + i * s , i * a - n * s , r * a - e * s ) } , rotateY : function ( t ) { t *= . 5 ; var e = this . x , n = this . y , i = this . z , r = this . w , s = Math . sin ( t ) , a = Math . cos ( t ) ; return this . set ( e * a - i * s , n * a + r * s , i * a + e * s , r * a - n * s ) } , rotateZ : function ( t ) { t *= . 5 ; var e = this . x , n = this . y , i = this . z , r = this . w , s = Math . sin ( t ) , a = Math . cos ( t ) ; return this . set ( e * a + n * s , n * a - e * s , i * a + r * s , r * a - i * s ) } , calculateW : function ( ) { var t = this . x , e = this . y , n = this . z ; return this . w = - Math . sqrt ( 1 - t * t - e * e - n * n ) , this } , setFromEuler : function ( t , e ) { var n = t . x / 2 , i = t . y / 2 , r = t . z / 2 , s = Math . cos ( n ) , a = Math . cos ( i ) , o = Math . cos ( r ) , h = Math . sin ( n ) , l = Math . sin ( i ) , u = Math . sin ( r ) ; switch ( t . order ) { case "XYZ" : this . set ( h * a * o + s * l * u , s * l * o - h * a * u , s * a * u + h * l * o , s * a * o - h * l * u , e ) ; break ; case "YXZ" : this . set ( h * a * o + s * l * u , s * l * o - h * a * u , s * a * u - h * l * o , s * a * o + h * l * u , e ) ; break ; case "ZXY" : this . set ( h * a * o - s * l * u , s * l * o + h * a * u , s * a * u + h * l * o , s * a * o - h * l * u , e ) ; break ; case "ZYX" : this . set ( h * a * o - s * l * u , s * l * o + h * a * u , s * a * u - h * l * o , s * a * o + h * l * u , e ) ; break ; case "YZX" : this . set ( h * a * o + s * l * u , s * l * o + h * a * u , s * a * u - h * l * o , s * a * o - h * l * u , e ) ; break ; case "XZY" : this . set
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { ADD : n ( 211 ) , COMPLETE : n ( 212 ) , FILE _COMPLETE : n ( 213 ) , FILE _KEY _COMPLETE : n ( 214 ) , FILE _LOAD _ERROR : n ( 215 ) , FILE _LOAD : n ( 216 ) , FILE _PROGRESS : n ( 217 ) , POST _PROCESS : n ( 218 ) , PROGRESS : n ( 219 ) , START : n ( 220 ) } } , function ( t , e ) { t . exports = function ( t , e ) { return ! ! t . url && ( t . url . match ( /^(?:blob:|data:|capacitor:\/\/|http:\/\/|https:\/\/|\/\/)/ ) ? t . url : e + t . url ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 17 ) , r = n ( 49 ) ; t . exports = function ( t , e ) { var n = void 0 === t ? r ( ) : i ( { } , t ) ; if ( e ) for ( var s in e ) void 0 !== e [ s ] && ( n [ s ] = e [ s ] ) ; return n } } , function ( t , e ) { t . exports = function ( t , e , n , i , r , s ) { return void 0 === t && ( t = "" ) , void 0 === e && ( e = ! 0 ) , void 0 === n && ( n = "" ) , void 0 === i && ( i = "" ) , void 0 === r && ( r = 0 ) , void 0 === s && ( s = ! 1 ) , { responseType : t , async : e , user : n , password : i , timeout : r , headers : void 0 , header : void 0 , headerValue : void 0 , requestedWith : ! 1 , overrideMimeType : void 0 , withCredentials : s } } } , function ( t , e ) { t . exports = { width : 0 , height : 0 , displayWidth : { get : function ( ) { return this . scaleX * this . width } , set : function ( t ) { this . scaleX = t / this . width } } , displayHeight : { get : function ( ) { return this . scaleY * this . height } , set : function ( t ) { this . scaleY = t / this . height } } , setSize : function ( t , e ) { return this . width = t , this . height = e , this } , setDisplaySize : function ( t , e ) { return this . displayWidth = t , this . displayHeight = e , this } } } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { _depth : 0 , depth : { get : function ( ) { return this . _depth } , set : function ( t ) { this . displayList && this . displayList . queueDepthSort ( ) , this . _depth = t } } , setDepth : function ( t ) { return void 0 === t && ( t = 0 ) , this . depth = t , this } } ; t . exports = n } , function ( t , e ) { t . exports = { flipX : ! 1 , flipY : ! 1 , toggleFlipX : function ( ) { return this . flipX = ! this . flipX , this } , toggleFlipY : function ( ) { return this . flipY = ! this . flipY , this } , setFlipX : function ( t ) { return this . flipX = t , this } , setFlipY : function ( t ) { return this . flipY = t , this } , setFlip : function ( t , e ) { return this . flipX = t , this . flipY = e , this } , resetFlip : function ( ) { return this . flipX = ! 1 , this . flipY = ! 1 , this } } } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { scrollFactorX : 1 , scrollFactorY : 1 , setScrollFactor : function ( t , e ) { return void 0 === e && ( e = t ) , this . scrollFactorX = t , this . scrollFactorY = e , this } } ; t . exports = n } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 3 ) , r = n ( 55 ) , s = n ( 43 ) , a = n ( 32 ) , o = n ( 33 ) , h = n ( 2 ) , l = { hasTransformComponent : ! 0 , _scaleX : 1 , _scaleY : 1 , _rotation : 0 , x : 0 , y : 0 , z : 0 , w : 0 , scale : { get : function ( ) { return ( this . _scaleX + this . _scaleY ) / 2 } , set : function ( t ) { this . _scaleX = t , this . _scaleY = t , 0 === t ? this . renderFlags &= - 5 : this . renderFlags |= 4 } } , scaleX : { get : function ( ) { return this . _scaleX } , set : function ( t ) { this . _scaleX = t , 0 === t ? this . renderFlags &= - 5 : this . renderFlags |= 4 } } , scaleY : { get : function ( ) { return this . _scaleY } , set : function ( t ) { this . _scaleY = t , 0 === t ? this . renderFlags &= - 5 : this . renderFlags |= 4 } } , angle : { get : function ( ) { return o ( this . _rotation * i . RAD _TO _DEG ) } , set : function ( t ) { this . rotation = o ( t ) * i . DEG _TO _RAD } } , rotation : { get : function ( ) { return this . _rotation } , set : function ( t ) { this . _rotation = a ( t ) } } , setPosition : function ( t , e , n , i ) { return void 0 === t && ( t = 0 ) , void 0 === e && ( e = t ) , void 0 === n && ( n = 0 ) , void 0 === i && ( i = 0 ) , this . x = t , this . y = e , this . z = n , this . w = i , this } , copyPosition : function ( t ) { return void 0 !== t . x && ( this . x = t . x ) , void 0 !== t . y && ( this . y = t . y ) , void 0 !== t . z && ( this . z = t . z ) , void 0 !== t . w && ( this . w = t . w ) , this } , setRandomPosition : function ( t , e , n , i ) { return void 0 === t && ( t = 0 ) , void 0 === e && ( e = 0 ) , void 0 === n && ( n = this . scene . sys . scale . width ) , void 0 === i && ( i = this . scene . sys . scale . height ) , this . x = t + Math . random ( ) * n , this . y = e + Math . random ( ) * i , this } , setRotation : function ( t ) { return void 0 === t && ( t = 0 ) , this . rotation = t , this } , setAngle : function ( t ) { return void 0 === t && ( t = 0 ) , this . angle = t , this } , setScale : function ( t , e ) { return void 0 === t && ( t = 1 ) , void 0 === e && ( e = t ) , this . scaleX = t , this . scaleY = e , this } , setX : function ( t ) { return void 0 === t && ( t = 0 ) , this . x = t , this } , setY : function ( t ) { return void 0 === t && ( t = 0 ) , this . y = t , this } , setZ : function ( t ) { return void 0 === t && ( t = 0 ) , this . z = t , this } , setW : function ( t ) { return void 0 === t && ( t = 0 ) , this . w = t , this } , getLocalTransformMatrix : function ( t ) { return void 0 === t && ( t = new r ) , t . applyITRS ( this . x , this . y , this . _rotation , this . _scaleX , this . _scaleY ) } , getWorldTransformMatrix : function ( t , e ) { void 0 === t && ( t = new r ) , void 0 === e && ( e = new r ) ; var n = this . parentContainer ; if ( ! n ) return this . getLocalTransformMatrix ( t ) ; for ( t . applyITRS ( this . x , this . y , this . _rotation , this . _scaleX , this . _scaleY ) ; n ; ) e . applyITRS ( n . x , n . y , n . _rotation , n . _scaleX , n . _scaleY ) , e . multiply ( t , t ) , n = n . parentContainer ; return t } , getLocalPoint : function ( t , e , n , i ) { n || ( n = new h ) , i || ( i = this . scene . sys . cameras . main ) ; var r = i . scrollX , a = i . scrollY , o = t + r * this . scrollFactorX - r , l = e + a * this . scrollFactorY - a ; return this . parentContainer ? this . getWorldTransformMatrix ( ) . applyInverse ( o , l , n ) : s ( o , l , this . x , this . y , this . rotation , this . scaleX , this . scaleY , n ) , this . _originComponent && ( n . x += this . _displayOriginX , n . y += this . _displayOriginY ) , n } , getParentRotation : function ( ) { for ( var t = 0 , e = this . parentContainer ; e ; ) t += e . rotation , e = e . parentContainer ; return t } } ; t . exports = l } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 3 ) , s = n ( 2 ) , a = new i ( { initialize : function ( t , e , n , i , r , s ) { void 0 === t && ( t = 1 ) , void 0 === e && ( e = 0 ) , void 0 === n && ( n = 0 ) , void 0 === i && ( i = 1 ) , void 0 === r && ( r = 0 ) , void 0 === s && ( s = 0 ) , this . matrix = new Float32Array ( [ t , e , n , i , r , s , 0 , 0 , 1 ] ) , this . decomposedMatrix = { translateX : 0 , translateY : 0 , scaleX : 1 , scaleY : 1 , rotation : 0 } , this . quad = new Float32Array ( 8 ) } , a : { get : function ( ) { return this . matrix [ 0 ] } , set : function ( t ) { this . matrix [ 0 ] = t } } , b : { get : function ( ) { return this . matrix [ 1 ] } , set : function ( t ) { this . matrix [ 1 ] = t } } , c : { get : function ( ) { return this . matrix [ 2 ] } , set : function ( t ) { this . matrix [ 2 ] = t } } , d : { get : function ( ) { return this . matrix [ 3 ] } , set : function ( t ) { this . matrix [ 3 ] = t } } , e : { get : function ( ) { return this . matrix [ 4 ] } , set : function ( t ) { this . matrix [ 4 ] = t } } , f : { get : function ( ) { return this . matrix [ 5 ] } , set : function ( t ) { this . matrix [ 5 ] = t } } , tx : { get : function ( ) { return this . matrix [ 4 ] } , set : function ( t ) { this . matrix [ 4 ] = t } } , ty : { get : function ( ) { return this . matrix [ 5 ] } , set : function ( t ) { this . matrix [ 5 ] = t } } , rotation : { get : function ( ) { return Math . acos ( this . a / this . scaleX ) * ( Math . atan ( - this . c / this . a ) < 0 ? - 1 : 1 ) } } , rotationNormalized : { get : function ( ) { var t = this . matrix , e = t [ 0 ] , n = t [ 1 ] , i = t [ 2 ] , s = t [ 3 ] ; return e || n ? n > 0 ? Math . acos ( e / this . scaleX ) : - Math . acos ( e / this . scaleX ) : i || s ? r . TAU - ( s > 0 ? Math . acos ( - i / this . scaleY ) : - Math . acos ( i / this . scaleY ) ) : 0 } } , scaleX : { get : function ( ) { return Math . sqrt ( this . a * this . a + this . b * this . b ) } } , scaleY : { get : function ( ) { return Math . sqrt ( this . c * this . c + this . d * this . d ) } } , loadIdentity : function ( ) { var t = this . matrix ; return t [ 0 ] = 1 , t [ 1 ] = 0 , t [ 2 ] = 0 , t [ 3 ] = 1 , t [ 4 ] = 0 , t [ 5 ] = 0 , this } , translate : function ( t , e ) { var n = this . matrix ; return n [ 4 ] = n [ 0 ] * t + n [ 2 ] * e + n [ 4 ] , n [ 5 ] = n [ 1 ] * t + n [ 3 ] * e + n [ 5 ] , this } , scale : function ( t , e ) { var n = this . matrix ; return n [ 0 ] *= t , n [ 1 ] *= t , n [ 2 ] *= e , n [ 3 ] *= e , this } , rotate : function ( t ) { var e = Math . sin ( t ) , n = Math . cos ( t ) , i = this . matrix , r = i [ 0 ] , s = i [ 1 ] , a = i [ 2 ] , o = i [ 3 ] ; return i [ 0 ] = r * n + a * e , i [ 1 ] = s * n + o * e , i [ 2 ] = r * - e + a * n , i [ 3 ] = s * - e + o * n , this } , multiply : function ( t , e ) { var n = this . matrix , i = t . matrix , r = n [ 0 ] , s = n [ 1 ] , a = n [ 2 ] , o = n [ 3 ] , h = n [ 4 ] , l = n [ 5 ] , u = i [ 0 ] , c = i [ 1 ] , f = i [ 2 ] , d = i [ 3 ] , p = i [ 4 ] , v = i [ 5 ] , g = void 0 === e ? n : e . matrix ; return g [ 0 ] = u * r + c * a , g [ 1 ] = u * s + c * o , g [ 2 ] = f * r + d * a , g [ 3 ] = f * s + d * o , g [ 4 ] = p * r + v * a + h , g [ 5 ] = p * s + v * o + l , g } , multiplyWithOffset : function ( t , e , n ) { var i = this . matrix , r = t . matrix , s = i [ 0 ] , a = i [ 1 ] , o = i [ 2 ] , h = i [ 3 ] , l = e * s + n * o + i [ 4 ] , u = e * a + n * h + i [ 5 ] , c = r [ 0 ] , f = r [ 1 ] , d = r [ 2 ] , p = r [ 3 ] , v = r [ 4 ] , g = r [ 5 ] ; return i [ 0 ] = c * s + f * o , i [ 1 ] = c * a + f * h , i [ 2 ] = d * s + p * o , i [ 3 ] = d * a + p * h , i [ 4 ] = v * s + g * o + l , i [ 5 ] = v * a + g * h + u , this } , transform : function ( t , e , n , i , r , s ) { var a = this . matrix , o = a [ 0 ] , h = a [ 1 ] , l = a [ 2 ] , u = a [ 3 ] , c = a [ 4 ] , f = a [ 5 ] ; return a [ 0 ] = t * o + e * l , a [ 1 ] = t * h + e * u , a [ 2 ] = n * o + i * l , a [ 3 ] = n * h + i * u , a [ 4 ] = r * o + s * l + c , a [ 5 ] = r * h + s * u + f , this } , transformPoint : function ( t , e , n ) { void 0 === n && ( n = { x : 0 , y : 0 } ) ; var i = this . matrix , r = i [ 0 ] , s = i [ 1 ] , a = i [ 2 ] , o = i [ 3 ] , h = i [ 4 ] , l = i [ 5 ] ; return n . x = t * r + e * a + h , n . y = t * s + e * o + l , n } , invert : function ( ) { var t = this . matrix , e = t [ 0 ] , n = t [ 1 ] , i = t [ 2 ] , r = t [ 3 ] , s = t [ 4 ] , a = t [ 5 ] , o = e * r - n * i ; return t [ 0 ] = r / o , t [ 1 ] = - n / o , t [ 2 ] = - i / o , t [ 3 ] = e / o , t [ 4 ] = ( i * a - r * s ) / o , t [ 5 ] = - ( e * a - n * s ) / o , this } , copyFrom : function ( t ) { var e = this . matrix ; return e [ 0 ] = t . a , e [ 1 ] = t . b , e [ 2 ] = t . c , e [ 3 ] = t . d , e [ 4 ] = t . e , e [ 5 ] = t . f , this } , copyFromArray : function ( t ) { var e = this . matrix ; return e [ 0 ] = t [ 0 ] , e [ 1 ] = t [ 1 ] , e [ 2 ] = t [ 2 ] , e [ 3 ] = t [ 3 ] , e [ 4 ] = t [ 4 ] , e [ 5 ] = t [ 5 ] , this } , copyToContext : function ( t ) { var e = this . matrix ; return t . transform ( e [ 0 ] , e [ 1 ] , e [ 2 ] , e [ 3 ] , e [ 4 ] , e [ 5 ] ) , t } , setToContext : function ( t ) { var e = this . matrix ; return t . setTransform ( e [ 0 ] , e [ 1 ] , e [ 2 ] , e [ 3 ] , e [ 4 ] , e [ 5 ] ) , t } , copyToArray : function ( t ) { var e = this . matrix ; return void 0 === t ? t = [ e [ 0 ] , e [ 1 ] , e [ 2 ] , e [ 3 ] , e [ 4 ] , e [ 5 ] ] : ( t [ 0 ] = e [ 0 ] , t [ 1 ] = e [ 1 ] , t [ 2 ] = e [ 2 ] , t [ 3 ] = e [ 3 ] , t [ 4 ] = e [ 4 ] , t [ 5 ] = e [ 5 ] ) , t } , setTransform : function ( t , e , n , i , r , s ) { var a = this . matrix ; return a [ 0 ] = t , a [ 1 ] = e , a [ 2 ] = n , a [ 3 ] = i , a [ 4 ] = r , a [ 5 ] = s , this } , decomposeMatrix : function ( ) { var t = this . decomposedMatrix , e = this . matrix , n = e [ 0 ] , i = e [ 1 ] , r = e [ 2 ] , s = e [ 3 ] , a = n * s - i * r ; if ( t . translateX = e [ 4 ] , t . translateY = e [ 5 ] , n || i ) { var o = Math . sqrt ( n * n + i * i ) ; t . rotation = i > 0 ? Math . acos ( n / o ) : - Math . acos ( n / o ) , t . scaleX = o , t . scaleY = a / o } else if ( r || s ) { var h = Math . sqrt ( r * r + s * s ) ; t . rotation = . 5 * Math . PI - ( s > 0 ? Math . acos ( - r / h ) : - Math . acos ( r / h ) ) , t . scaleX = a / h , t . scaleY = h } else t . rotation = 0 , t . scaleX = 0 , t . scaleY = 0 ; return t } , applyITRS : function ( t , e , n , i , r ) { var s = this . matrix , a = Math . sin ( n ) , o = Math . cos ( n ) ; return s [ 4 ] = t , s [ 5 ] = e , s [ 0 ] = o * i , s [ 1 ] = a
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { _visible : ! 0 , visible : { get : function ( ) { return this . _visible } , set : function ( t ) { t ? ( this . _visible = ! 0 , this . renderFlags |= 1 ) : ( this . _visible = ! 1 , this . renderFlags &= - 2 ) } } , setVisible : function ( t ) { return this . visible = t , this } } ; t . exports = n } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 58 ) , s = n ( 226 ) , a = n ( 233 ) , o = n ( 59 ) , h = n ( 23 ) , l = new i ( { Extends : a , initialize : function ( t , e ) { a . call ( this ) , this . scene = t , this . displayList = null , this . type = e , this . state = 0 , this . parentContainer = null , this . name = "" , this . active = ! 0 , this . tabIndex = - 1 , this . data = null , this . renderFlags = 15 , this . cameraFilter = 0 , this . input = null , this . body = null , this . ignoreDestroy = ! 1 , this . on ( o . ADDED _TO _SCENE , this . addedToScene , this ) , this . on ( o . REMOVED _FROM _SCENE , this . removedFromScene , this ) , t . sys . queueDepthSort ( ) } , setActive : function ( t ) { return this . active = t , this } , setName : function ( t ) { return this . name = t , this } , setState : function ( t ) { return this . state = t , this } , setDataEnabled : function ( ) { return this . data || ( this . data = new s ( this ) ) , this } , setData : function ( t , e ) { return this . data || ( this . data = new s ( this ) ) , this . data . set ( t , e ) , this } , incData : function ( t , e ) { return this . data || ( this . data = new s ( this ) ) , this . data . inc ( t , e ) , this } , toggleData : function ( t ) { return this . data || ( this . data = new s ( this ) ) , this . data . toggle ( t ) , this } , getData : function ( t ) { return this . data || ( this . data = new s ( this ) ) , this . data . get ( t ) } , setInteractive : function ( t , e , n ) { return this . scene . sys . input . enable ( this , t , e , n ) , this } , disableInteractive : function ( ) { return this . scene . sys . input . disable ( this ) , this } , removeInteractive : function ( ) { return this . scene . sys . input . clear ( this ) , this . input = void 0 , this } , addedToScene : function ( ) { } , removedFromScene : function ( ) { } , update : function ( ) { } , toJSON : function ( ) { return r ( this ) } , willRender : function ( t ) { return ! ( ! ( ! this . displayList || ! this . displayList . active || this . displayList . willRender ( t ) ) || l . RENDER _MASK !== this . renderFlags || 0 !== this . cameraFilter && this . cameraFilter & t . id ) } , getIndexList : function ( ) { for ( var t = this , e = this . parentContainer , n = [ ] ; e && ( n . unshift ( e . getIndex ( t ) ) , t = e , e . parentContainer ) ; ) e = e . parentContainer ; return this . displayList ? n . unshift ( this . displayList . getIndex ( t ) ) : n . unshift ( this . scene . sys . displayList . getIndex ( t ) ) , n } , addToDisplayList : function ( t ) { return void 0 === t && ( t = this . scene . sys . displayList ) , this . displayList && this . displayList !== t && this . removeFromDisplayList ( ) , t . exists ( this ) || ( this . displayList = t , t . add ( this , ! 0 ) , t . queueDepthSort ( ) , this . emit ( o . ADDED _TO _SCENE , this , this . scene ) , t . events . emit ( h . ADDED _TO _SCENE , this , this . scene ) ) , this } , addToUpdateList : function ( ) { return this . scene && this . preUpdate && this . scene . sys . updateList . add ( this ) , this } , removeFromDisplayList : function ( ) { var t = this . displayList || this . scene . sys . displayList ; return t && t . exists ( this ) && ( t . remove ( this , ! 0 ) , t . queueDepthSort ( ) , this . displayList = null , this . emit ( o . REMOVED _FROM _SCENE , this , this . scene ) , t . events . emit ( h . REMOVED _FROM _SCENE , this , this . scene ) ) , this } , removeFromUpdateList : function ( ) { return this . scene && this . preUpdate && this . scene . sys . updateList . remove ( this ) , this } , destroy : function ( t ) { this . scene && ! this . ignoreDestroy && ( void 0 === t && ( t = ! 1 ) , this . preDestroy && this . preDestroy . call ( this ) , this . emit ( o . DESTROY , this , t ) , this . removeAllListeners ( ) , this . postPipelines && this . resetPostPipeline ( ! 0 ) , this . removeFromDisplayList ( ) , this . removeFromUpdateList ( ) , this . input && ( this . scene . sys . input . clear ( this ) , this . input = void 0 ) , this . data && ( this . data . destroy ( ) , this . data = void 0 ) , this . body && ( this . body . destroy ( ) , this . body = void 0 ) , this . active = ! 1 , this . visible = ! 1 , this . scene = void 0 , this . parentContainer = void 0 ) } } ) ; l . RENDER _MASK = 15 , t . exports = l } , function ( t , e ) { t . exports = function ( t ) { var e = { name : t . name , type : t . type , x : t . x , y : t . y , depth : t . depth , scale : { x : t . scaleX , y : t . scaleY } , origin : { x : t . originX , y : t . originY } , flipX : t . flipX , flipY : t . flipY , rotation : t . rotation , alpha : t . alpha , visible : t . visible , blendMode : t . blendMode , textureKey : "" , frameKey : "" , data : { } } ; return t . texture && ( e . textureKey = t . texture . key , e . frameKey = t . frame . name ) , e } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { ADDED _TO _SCENE : n ( 234 ) , DESTROY : n ( 235 ) , REMOVED _FROM _SCENE : n ( 236 ) , VIDEO _COMPLETE : n ( 237 ) , VIDEO _CREATED : n ( 238 ) , VIDEO _ERROR : n ( 239 ) , VIDEO _LOOP : n ( 240 ) , VIDEO _PLAY : n ( 241 ) , VIDEO _SEEKED : n ( 242 ) , VIDEO _SEEKING : n ( 243 ) , VIDEO _STOP : n ( 244 ) , VIDEO _TIMEOUT : n ( 245 ) , VIDEO _UNLOCKED : n ( 246 ) } } , function ( t , e ) { t . exports = function ( t ) { for ( var e = t . length , n = t [ 0 ] . length , i = new Array ( n ) , r = 0 ; r < n ; r ++ ) { i [ r ] = new Array ( e ) ; for ( var s = e - 1 ; s > - 1 ; s -- ) i [ r ] [ s ] = t [ s ] [ r ] } return i } } , function ( t , e ) { t . exports = function ( t , e ) { void 0 === e && ( e = 1 ) ; for ( var n = null , i = 0 ; i < e ; i ++ ) n = t . shift ( ) , t . push ( n ) ; return n } } , function ( t , e ) { t . exports = function ( t , e ) { void 0 === e && ( e = 1 ) ; for ( var n = null , i = 0 ; i < e ; i ++ ) n = t . pop ( ) , t . unshift ( n ) ; return n } } , function ( t , e ) { t . exports = function ( t ) { for ( var e = t . length - 1 ; e > 0 ; e -- ) { var n = Math . floor ( Math . random ( ) * ( e + 1 ) ) , i = t [ e ] ; t [ e ] = t [ n ] , t [ n ] = i } return t } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i , r , s , a = n ( 300 ) , o = n ( 302 ) , h = [ ] , l = ! 1 ; t . exports = ( s = function ( ) { var t = 0 ; return h . forEach ( ( function ( e ) { e . parent && t ++ } ) ) , t } , { create2D : function ( t , e , n ) { return i ( t , e , n , a . CANVAS ) } , create : i = function ( t , e , n , i , s ) { var u ; void 0 === e && ( e = 1 ) , void 0 === n && ( n = 1 ) , void 0 === i && ( i = a . CANVAS ) , void 0 === s && ( s = ! 1 ) ; var c = r ( i ) ; return null === c ? ( c = { parent : t , canvas : document . createElement ( "canvas" ) , type : i } , i === a . CANVAS && h . push ( c ) , u = c . canvas ) : ( c . parent = t , u = c . canvas ) , s && ( c . parent = u ) , u . width = e , u . height = n , l && i === a . CANVAS && o . disable ( u . getContext ( "2d" ) ) , u } , createWebGL : function ( t , e , n ) { return i ( t , e , n , a . WEBGL ) } , disableSmoothing : function ( ) { l = ! 0 } , enableSmoothing : function ( ) { l = ! 1 } , first : r = function ( t ) { if ( void 0 === t && ( t = a . CANVAS ) , t === a . WEBGL ) return null ; for ( var e = 0 ; e < h . length ; e ++ ) { var n = h [ e ] ; if ( ! n . parent && n . type === t ) return n } return null } , free : function ( ) { return h . length - s ( ) } , pool : h , remove : function ( t ) { var e = t instanceof HTMLCanvasElement ; h . forEach ( ( function ( n ) { ( e && n . canvas === t || ! e && n . parent === t ) && ( n . parent = null , n . canvas . width = 1 , n . canvas . height = 1 ) } ) ) } , total : s } ) } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 66 ) , r = n ( 11 ) ; t . exports = function ( t , e , n ) { if ( void 0 === n && ( n = new r ) , e <= 0 || e >= 1 ) return n . x = t . x , n . y = t . y , n ; var s = i ( t ) * e ; return e > . 5 ? ( s -= t . width + t . height ) <= t . width ? ( n . x = t . right - s , n . y = t . bottom ) : ( n . x = t . x , n . y = t . bottom - ( s - t . width ) ) : s <= t . width ? ( n . x = t . x + s , n . y = t . y ) : ( n . x = t . right , n . y = t . y + ( s - t . width ) ) , n } } , function ( t , e ) { t . exports = function ( t ) { return 2 * ( t . width + t . height ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 4 ) , s = n ( 17 ) , a = new i ( { initialize : function ( t , e , n , i , r , s , a ) { this . texture = t , this . name = e , this . source = t . source [ n ] , this . sourceIndex = n , this . glTexture = this . source . glTexture , this . cutX , this . cutY , this . cutWidth , this . cutHeight , this . x = 0 , this . y = 0 , this . width , this . height , this . halfWidth , this . halfHeight , this . centerX , this . centerY , this . pivotX = 0 , this . pivotY = 0 , this . customPivot = ! 1 , this . rotated = ! 1 , this . autoRound = - 1 , this . customData = { } , this . u0 = 0 , this . v0 = 0 , this . u1 = 0 , this . v1 = 0 , this . data = { cut : { x : 0 , y : 0 , w : 0 , h : 0 , r : 0 , b : 0 } , trim : ! 1 , sourceSize : { w : 0 , h : 0 } , spriteSourceSize : { x : 0 , y : 0 , w : 0 , h : 0 , r : 0 , b : 0 } , radius : 0 , drawImage : { x : 0 , y : 0 , width : 0 , height : 0 } } , this . setSize ( s , a , i , r ) } , setSize : function ( t , e , n , i ) { void 0 === n && ( n = 0 ) , void 0 === i && ( i = 0 ) , this . cutX = n , this . cutY = i , this . cutWidth = t , this . cutHeight = e , this . width = t , this . height = e , this . halfWidth = Math . floor ( . 5 * t ) , this . halfHeight = Math . floor ( . 5 * e ) , this . centerX = Math . floor ( t / 2 ) , this . centerY = Math . floor ( e / 2 ) ; var r = this . data , s = r . cut ; s . x = n , s . y = i , s . w = t , s . h = e , s . r = n + t , s . b = i + e , r . sourceSize . w = t , r . sourceSize . h = e , r . spriteSourceSize . w = t , r . spriteSourceSize . h = e , r . radius = . 5 * Math . sqrt ( t * t + e * e ) ; var a = r . drawImage ; return a . x = n , a . y = i , a . width = t , a . height = e , this . updateUVs ( ) } , setTrim : function ( t , e , n , i , r , s ) { var a = this . data , o = a . spriteSourceSize ; return a . trim = ! 0 , a . sourceSize . w = t , a . sourceSize . h = e , o . x = n , o . y = i , o . w = r , o . h = s , o . r = n + r , o . b = i + s , this . x = n , this . y = i , this . width = r , this . height = s , this . halfWidth = . 5 * r , this . halfHeight = . 5 * s , this . centerX = Math . floor ( r / 2 ) , this . centerY = Math . floor ( s / 2 ) , this . updateUVs ( ) } , setCropUVs : function ( t , e , n , i , s , a , o ) { var h = this . cutX , l = this . cutY , u = this . cutWidth , c = this . cutHeight , f = this . realWidth , d = this . realHeight , p = h + ( e = r ( e , 0 , f ) ) , v = l + ( n = r ( n , 0 , d ) ) , g = i = r ( i , 0 , f - e ) , m = s = r ( s , 0 , d - n ) , y = this . data ; if ( y . trim ) { var x = y . spriteSourceSize , w = e + ( i = r ( i , 0 , u - e ) ) , M = n + ( s = r ( s , 0 , c - n ) ) ; if ( ! ( x . r < e || x . b < n || x . x > w || x . y > M ) ) { var E = Math . max ( x . x , e ) , T = Math . max ( x . y , n ) , A = Math . min ( x . r , w ) - E , b = Math . min ( x . b , M ) - T ; g = A , m = b , p = a ? h + ( u - ( E - x . x ) - A ) : h + ( E - x . x ) , v = o ? l + ( c - ( T - x . y ) - b ) : l + ( T - x . y ) , e = E , n = T , i = A , s = b } else p = 0 , v = 0 , g = 0 , m = 0 } else a && ( p = h + ( u - e - i ) ) , o && ( v = l + ( c - n - s ) ) ; var S = this . source . width , R = this . source . height ; return t . u0 = Math . max ( 0 , p / S ) , t . v0 = Math . max ( 0 , v / R ) , t . u1 = Math . min ( 1 , ( p + g ) / S ) , t . v1 = Math . min ( 1 , ( v + m ) / R ) , t . x = e , t . y = n , t . cx = p , t . cy = v , t . cw = g , t . ch = m , t . width = i , t . height = s , t . flipX = a , t . flipY = o , t } , updateCropUVs : function ( t , e , n ) { return this . setCropUVs ( t , t . x , t . y , t . width , t . height , e , n ) } , setUVs : function ( t , e , n , i , r , s ) { var a = this . data . drawImage ; return a . width = t , a . height = e , this . u0 = n , this . v0 = i , this . u1 = r , this . v1 = s , this } , updateUVs : function ( ) { var t = this . cutX , e = this . cutY , n = this . cutWidth , i = this . cutHeight , r = this . data . drawImage ; r . width = n , r . height = i ; var s = this . source . width , a = this . source . height ; return this . u0 = t / s , this . v0 = e / a , this . u1 = ( t + n ) / s , this . v1 = ( e + i ) / a , this } , updateUVsInverted : function ( ) { var t = this . source . width , e = this . source . height ; return this . u0 = ( this . cutX + this . cutHeight ) / t , this . v0 = this . cutY / e , this . u1 = this . cutX / t , this . v1 = ( this . cutY + this . cutWidth ) / e , this } , clone : function ( ) { var t = new a ( this . texture , this . name , this . sourceIndex ) ; return t . cutX = this . cutX , t . cutY = this . cutY , t . cutWidth = this . cutWidth , t . cutHeight = this . cutHeight , t . x = this . x , t . y = this . y , t . width = this . width , t . height = this . height , t . halfWidth = this . halfWidth , t . halfHeight = this . halfHeight , t . centerX = this . centerX , t . centerY = this . centerY , t . rotated = this . rotated , t . data = s ( ! 0 , t . data , this . data ) , t . updateUVs ( ) , t } , destroy : function ( ) { this . source = null , this . texture = null , this . glTexture = null , this . customData = null , this . data = null } , realWidth : { get : function ( ) { return this . data . sourceSize . w } } , realHeight : { get : function ( ) { return this . data . sourceSize . h } } , radius : { get : function ( ) { return this . data . radius } } , trimmed : { get : function ( ) { return this . data . trim } } , canvasData : { get : function ( ) { return this . data . drawImage } } } ) ; t . exports = a } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
* /
var i = n ( 69 ) , r = n ( 0 ) , s = n ( 7 ) , a = n ( 183 ) , o = n ( 184 ) , h = n ( 208 ) , l = n ( 209 ) , u = n ( 225 ) , c = n ( 256 ) , f = n ( 1 ) , d = new r ( { Extends : o , initialize : function ( t , e , n ) { o . call ( this , t , e , n ) ; var r = e . game ; this . isWebGL = 2 === r . config . renderType , this . cache = r . cache . addCustom ( "spine" ) , this . spineTextures = r . cache . addCustom ( "spineTextures" ) , this . json = r . cache . json , this . textures = r . textures , this . drawDebug = ! 1 , this . gl , this . renderer , this . sceneRenderer , this . skeletonRenderer , this . skeletonDebugRenderer , this . plugin = h , this . temp1 , this . temp2 , this . isWebGL ? ( this . runtime = h . webgl , this . renderer = r . renderer , this . gl = r . renderer . gl , this . getAtlas = this . getAtlasWebGL ) : ( this . runtime = h . canvas , this . renderer = r . renderer , this . getAtlas = this . getAtlasCanvas ) , this . renderer || ( this . renderer = { width : r . scale . width , height : r . scale . height , preRender : f , postRender : f , render : f , destroy : f } ) ; e . registerFileType ( "spine" , this . spineFileCallback , t ) , e . registerGameObject ( "spine" , ( function ( t , e , i , r , s ) { var a = this . scene . sys [ n ] , o = new u ( this . scene , a , t , e , i , r , s ) ; return this . displayList . add ( o ) , this . updateList . add ( o ) , o } ) , ( function ( t , e ) { void 0 === t && ( t = { } ) ; var r = s ( t , "key" , null ) , a = s ( t , "animationName" , null ) , o = s ( t , "loop" , ! 1 ) , h = this . scene . sys [ n ] , l = new u ( this . scene , h , 0 , 0 , r , a , o ) ; void 0 !== e && ( t . add = e ) , i ( this . scene , l , t ) ; var c = s ( t , "skinName" , ! 1 ) ; c && l . setSkinByName ( c ) ; var f = s ( t , "slotName" , ! 1 ) , d = s ( t , "attachmentName" , null ) ; return f && l . setAttachment ( f , d ) , l . refresh ( ) } ) ) , e . registerGameObject ( "spineContainer" , ( function ( t , e , i ) { var r = this . scene . sys [ n ] , s = new c ( this . scene , r , t , e , i ) ; return this . displayList . add ( s ) , s } ) , ( function ( t , e ) { void 0 === t && ( t = { } ) ; var r = s ( t , "x" , 0 ) , a = s ( t , "y" , 0 ) , o = s ( t , "children" , null ) , h = this . scene . sys [ n ] , l = new c ( this . scene , h , r , a , o ) ; return void 0 !== e && ( t . add = e ) , i ( this . scene , l , t ) , l } ) ) } , boot : function ( ) { this . isWebGL ? ( this . bootWebGL ( ) , this . onResize ( ) , this . game . scale . on ( a , this . onResize , this ) ) : this . bootCanvas ( ) ; var t = this . systems . events ; t . once ( "shutdown" , this . shutdown , this ) , t . once ( "destroy" , this . destroy , this ) , this . game . events . once ( "destroy" , this . gameDestroy , this ) } , bootCanvas : function ( ) { this . skeletonRenderer = new h . canvas . SkeletonRenderer ( this . scene . sys . context ) } , bootWebGL : function ( ) { var t = function ( t , e ) { if ( t !== this . srcBlend || e !== this . dstBlend ) { var n = this . context . gl ; this . srcBlend = t , this . dstBlend = e , this . isDrawing && ( this . flush ( ) , n . blendFunc ( this . srcBlend , this . dstBlend ) ) } } , e = this . renderer . spineSceneRenderer ; e || ( ( e = new h . webgl . SceneRenderer ( this . renderer . canvas , this . gl , ! 0 ) ) . batcher . setBlendMode = t , e . shapes . setBlendMode = t , this . renderer . spineSceneRenderer = e ) , this . sceneRenderer = e , this . skeletonRenderer = e . skeletonRenderer , this . skeletonDebugRenderer = e . skeletonDebugRenderer , this . temp1 = new h . webgl . Vector3 ( 0 , 0 , 0 ) , this . temp2 = new h . webgl . Vector3 ( 0 , 0 , 0 ) } , getAtlasCanvas : function ( t ) { var e = this . cache . get ( t ) ; if ( e ) { var n , i = this . spineTextures ; if ( i . has ( t ) ) n = i . get ( t ) ; else { var r = this . textures ; n = new h . TextureAtlas ( e . data , ( function ( t ) { return new h . canvas . CanvasTexture ( r . get ( e . prefix + t ) . getSourceImage ( ) ) } ) ) } return n } console . warn ( "No atlas data for: " + t ) } , getAtlasWebGL : function ( t ) { var e = this . cache . get ( t ) ; if ( e ) { var n , i = this . spineTextures ; if ( i . has ( t ) ) n = i . get ( t ) ; else { var r = this . textures , s = this . sceneRenderer . context . gl ; s . pixelStorei ( s . UNPACK _PREMULTIPLY _ALPHA _WEBGL , ! 1 ) , n = new h . TextureAtlas ( e . data , ( function ( t ) { return new h . webgl . GLTexture ( s , r . get ( e . prefix + t ) . getSourceImage ( ) , ! 1 ) } ) ) } return n } console . warn ( "No atlas data for: " + t ) } , spineFileCallback : function ( t , e , n , i , r , s , a ) { var o ; if ( a = a || { } , Array . isArray ( t ) ) for ( var h = 0 ; h < t . length ; h ++ ) ( o = new l ( this , t [ h ] ) ) . prefix = o . prefix || a . prefix || "" , this . addFile ( o . files ) ; else ( o = new l ( this , t , e , n , i , r , s ) ) . prefix = o . prefix || a . prefix || "" , this . addFile ( o . files ) ; return this } , worldToLocal : function ( t , e , n , i ) { var r = this . temp1 , s = this . temp2 , a = this . sceneRenderer . camera ; r . set ( t + n . x , e - n . y , 0 ) ; var o = a . viewportWidth , l = a . viewportHeight ; return a . screenToWorld ( r , o , l ) , i && null !== i . parent ? ( i . parent . worldToLocal ( s . set ( r . x - n . x , r . y - n . y , 0 ) ) , new h . Vector2 ( s . x , s . y ) ) : i ? new h . Vector2 ( r . x - n . x , r . y - n . y ) : new h . Vector2 ( r . x , r . y ) } , getVector2 : function ( t , e ) { return new h . Vector2 ( t , e ) } , getVector3 : function ( t , e , n ) { return new h . webgl . Vector3 ( t , e , n ) } , setDebugBones : function ( t ) { return void 0 === t && ( t = ! 0 ) , th
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 12 ) , r = n ( 70 ) ; t . exports = function ( t , e , n ) { e . x = r ( n , "x" , 0 ) , e . y = r ( n , "y" , 0 ) , e . depth = r ( n , "depth" , 0 ) , e . flipX = r ( n , "flipX" , ! 1 ) , e . flipY = r ( n , "flipY" , ! 1 ) ; var s = r ( n , "scale" , null ) ; "number" == typeof s ? e . setScale ( s ) : null !== s && ( e . scaleX = r ( s , "x" , 1 ) , e . scaleY = r ( s , "y" , 1 ) ) ; var a = r ( n , "scrollFactor" , null ) ; "number" == typeof a ? e . setScrollFactor ( a ) : null !== a && ( e . scrollFactorX = r ( a , "x" , 1 ) , e . scrollFactorY = r ( a , "y" , 1 ) ) , e . rotation = r ( n , "rotation" , 0 ) ; var o = r ( n , "angle" , null ) ; null !== o && ( e . angle = o ) , e . alpha = r ( n , "alpha" , 1 ) ; var h = r ( n , "origin" , null ) ; if ( "number" == typeof h ) e . setOrigin ( h ) ; else if ( null !== h ) { var l = r ( h , "x" , . 5 ) , u = r ( h , "y" , . 5 ) ; e . setOrigin ( l , u ) } return e . blendMode = r ( n , "blendMode" , i . NORMAL ) , e . visible = r ( n , "visible" , ! 0 ) , r ( n , "add" , ! 0 ) && t . sys . displayList . add ( e ) , e . preUpdate && t . sys . updateList . add ( e ) , e } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 71 ) , r = n ( 7 ) ; t . exports = function ( t , e , n ) { var s = r ( t , e , null ) ; if ( null === s ) return n ; if ( Array . isArray ( s ) ) return i . RND . pick ( s ) ; if ( "object" == typeof s ) { if ( s . hasOwnProperty ( "randInt" ) ) return i . RND . integerInRange ( s . randInt [ 0 ] , s . randInt [ 1 ] ) ; if ( s . hasOwnProperty ( "randFloat" ) ) return i . RND . realInRange ( s . randFloat [ 0 ] , s . randFloat [ 1 ] ) } else if ( "function" == typeof s ) return s ( e ) ; return s } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 3 ) , r = n ( 17 ) , s = { Angle : n ( 72 ) , Distance : n ( 81 ) , Easing : n ( 89 ) , Fuzzy : n ( 134 ) , Interpolation : n ( 139 ) , Pow2 : n ( 147 ) , Snap : n ( 151 ) , RandomDataGenerator : n ( 155 ) , Average : n ( 156 ) , Bernstein : n ( 35 ) , Between : n ( 157 ) , CatmullRom : n ( 37 ) , CeilTo : n ( 158 ) , Clamp : n ( 4 ) , DegToRad : n ( 20 ) , Difference : n ( 159 ) , Euler : n ( 160 ) , Factorial : n ( 36 ) , FloatBetween : n ( 19 ) , FloorTo : n ( 161 ) , FromPercent : n ( 162 ) , GetSpeed : n ( 163 ) , IsEven : n ( 164 ) , IsEvenStrict : n ( 165 ) , Linear : n ( 38 ) , LinearXY : n ( 166 ) , MaxAdd : n ( 167 ) , Median : n ( 168 ) , MinSub : n ( 169 ) , Percent : n ( 170 ) , RadToDeg : n ( 22 ) , RandomXY : n ( 171 ) , RandomXYZ : n ( 172 ) , RandomXYZW : n ( 173 ) , Rotate : n ( 174 ) , RotateAround : n ( 41 ) , RotateAroundDistance : n ( 175 ) , RotateTo : n ( 176 ) , RoundAwayFromZero : n ( 42 ) , RoundTo : n ( 177 ) , SinCosTableGenerator : n ( 178 ) , SmootherStep : n ( 40 ) , SmoothStep : n ( 39 ) , ToXY : n ( 179 ) , TransformXY : n ( 43 ) , Within : n ( 180 ) , Wrap : n ( 13 ) , Vector2 : n ( 2 ) , Vector3 : n ( 14 ) , Vector4 : n ( 181 ) , Matrix3 : n ( 44 ) , Matrix4 : n ( 21 ) , Quaternion : n ( 45 ) , RotateVec3 : n ( 182 ) } ; s = r ( ! 1 , s , i ) , t . exports = s } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { Between : n ( 30 ) , BetweenPoints : n ( 73 ) , BetweenPointsY : n ( 74 ) , BetweenY : n ( 75 ) , CounterClockwise : n ( 18 ) , Normalize : n ( 31 ) , Random : n ( 76 ) , RandomDegrees : n ( 77 ) , Reverse : n ( 78 ) , RotateTo : n ( 79 ) , ShortestBetween : n ( 80 ) , Wrap : n ( 32 ) , WrapDegrees : n ( 33 ) } } , function ( t , e ) { t . exports = function ( t , e ) { return Math . atan2 ( e . y - t . y , e . x - t . x ) } } , function ( t , e ) { t . exports = function ( t , e ) { return Math . atan2 ( e . x - t . x , e . y - t . y ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { return Math . atan2 ( n - t , i - e ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ author @ samme
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 19 ) ; t . exports = function ( ) { return i ( - Math . PI , Math . PI ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ author @ samme
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 19 ) ; t . exports = function ( ) { return i ( - 180 , 180 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 31 ) ; t . exports = function ( t ) { return i ( t + Math . PI ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 3 ) ; t . exports = function ( t , e , n ) { return void 0 === n && ( n = . 05 ) , t === e || ( Math . abs ( e - t ) <= n || Math . abs ( e - t ) >= i . PI2 - n ? t = e : ( Math . abs ( e - t ) > Math . PI && ( e < t ? e += i . PI2 : e -= i . PI2 ) , e > t ? t += n : e < t && ( t -= n ) ) ) , t } } , function ( t , e ) { t . exports = function ( t , e ) { var n = e - t ; return 0 === n ? 0 : n - 360 * Math . floor ( ( n - - 180 ) / 360 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { Between : n ( 82 ) , BetweenPoints : n ( 83 ) , BetweenPointsSquared : n ( 84 ) , Chebyshev : n ( 85 ) , Power : n ( 86 ) , Snake : n ( 87 ) , Squared : n ( 88 ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { var r = t - n , s = e - i ; return Math . sqrt ( r * r + s * s ) } } , function ( t , e ) { t . exports = function ( t , e ) { var n = t . x - e . x , i = t . y - e . y ; return Math . sqrt ( n * n + i * i ) } } , function ( t , e ) { t . exports = function ( t , e ) { var n = t . x - e . x , i = t . y - e . y ; return n * n + i * i } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { return Math . max ( Math . abs ( t - n ) , Math . abs ( e - i ) ) } } , function ( t , e ) { t . exports = function ( t , e , n , i , r ) { return void 0 === r && ( r = 2 ) , Math . sqrt ( Math . pow ( n - t , r ) + Math . pow ( i - e , r ) ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { return Math . abs ( t - n ) + Math . abs ( e - i ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { var r = t - n , s = e - i ; return r * r + s * s } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { Back : n ( 90 ) , Bounce : n ( 94 ) , Circular : n ( 98 ) , Cubic : n ( 102 ) , Elastic : n ( 106 ) , Expo : n ( 110 ) , Linear : n ( 114 ) , Quadratic : n ( 116 ) , Quartic : n ( 120 ) , Quintic : n ( 124 ) , Sine : n ( 128 ) , Stepped : n ( 132 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { In : n ( 91 ) , Out : n ( 92 ) , InOut : n ( 93 ) } } , function ( t , e ) { t . exports = function ( t , e ) { return void 0 === e && ( e = 1.70158 ) , t * t * ( ( e + 1 ) * t - e ) } } , function ( t , e ) { t . exports = function ( t , e ) { return void 0 === e && ( e = 1.70158 ) , -- t * t * ( ( e + 1 ) * t + e ) + 1 } } , function ( t , e ) { t . exports = function ( t , e ) { void 0 === e && ( e = 1.70158 ) ; var n = 1.525 * e ; return ( t *= 2 ) < 1 ? t * t * ( ( n + 1 ) * t - n ) * . 5 : . 5 * ( ( t -= 2 ) * t * ( ( n + 1 ) * t + n ) + 2 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { In : n ( 95 ) , Out : n ( 96 ) , InOut : n ( 97 ) } } , function ( t , e ) { t . exports = function ( t ) { return ( t = 1 - t ) < 1 / 2.75 ? 1 - 7.5625 * t * t : t < 2 / 2.75 ? 1 - ( 7.5625 * ( t -= 1.5 / 2.75 ) * t + . 75 ) : t < 2.5 / 2.75 ? 1 - ( 7.5625 * ( t -= 2.25 / 2.75 ) * t + . 9375 ) : 1 - ( 7.5625 * ( t -= 2.625 / 2.75 ) * t + . 984375 ) } } , function ( t , e ) { t . exports = function ( t ) { return t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * ( t -= 1.5 / 2.75 ) * t + . 75 : t < 2.5 / 2.75 ? 7.5625 * ( t -= 2.25 / 2.75 ) * t + . 9375 : 7.5625 * ( t -= 2.625 / 2.75 ) * t + . 984375 } } , function ( t , e ) { t . exports = function ( t ) { var e = ! 1 ; return t < . 5 ? ( t = 1 - 2 * t , e = ! 0 ) : t = 2 * t - 1 , t < 1 / 2.75 ? t *= 7.5625 * t : t = t < 2 / 2.75 ? 7.5625 * ( t -= 1.5 / 2.75 ) * t + . 75 : t < 2.5 / 2.75 ? 7.5625 * ( t -= 2.25 / 2.75 ) * t + . 9375 : 7.5625 * ( t -= 2.625 / 2.75 ) * t + . 984375 , e ? . 5 * ( 1 - t ) : . 5 * t + . 5 } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { In : n ( 99 ) , Out : n ( 100 ) , InOut : n ( 101 ) } } , function ( t , e ) { t . exports = function ( t ) { return 1 - Math . sqrt ( 1 - t * t ) } } , function ( t , e ) { t . exports = function ( t ) { return Math . sqrt ( 1 - -- t * t ) } } , function ( t , e ) { t . exports = function ( t ) { return ( t *= 2 ) < 1 ? - . 5 * ( Math . sqrt ( 1 - t * t ) - 1 ) : . 5 * ( Math . sqrt ( 1 - ( t -= 2 ) * t ) + 1 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { In : n ( 103 ) , Out : n ( 104 ) , InOut : n ( 105 ) } } , function ( t , e ) { t . exports = function ( t ) { return t * t * t } } , function ( t , e ) { t . exports = function ( t ) { return -- t * t * t + 1 } } , function ( t , e ) { t . exports = function ( t ) { return ( t *= 2 ) < 1 ? . 5 * t * t * t : . 5 * ( ( t -= 2 ) * t * t + 2 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { In : n ( 107 ) , Out : n ( 108 ) , InOut : n ( 109 ) } } , function ( t , e ) { t . exports = function ( t , e , n ) { if ( void 0 === e && ( e = . 1 ) , void 0 === n && ( n = . 1 ) , 0 === t ) return 0 ; if ( 1 === t ) return 1 ; var i = n / 4 ; return e < 1 ? e = 1 : i = n * Math . asin ( 1 / e ) / ( 2 * Math . PI ) , - e * Math . pow ( 2 , 10 * ( t -= 1 ) ) * Math . sin ( ( t - i ) * ( 2 * Math . PI ) / n ) } } , function ( t , e ) { t . exports = function ( t , e , n ) { if ( void 0 === e && ( e = . 1 ) , void 0 === n && ( n = . 1 ) , 0 === t ) return 0 ; if ( 1 === t ) return 1 ; var i = n / 4 ; return e < 1 ? e = 1 : i = n * Math . asin ( 1 / e ) / ( 2 * Math . PI ) , e * Math . pow ( 2 , - 10 * t ) * Math . sin ( ( t - i ) * ( 2 * Math . PI ) / n ) + 1 } } , function ( t , e ) { t . exports = function ( t , e , n ) { if ( void 0 === e && ( e = . 1 ) , void 0 === n && ( n = . 1 ) , 0 === t ) return 0 ; if ( 1 === t ) return 1 ; var i = n / 4 ; return e < 1 ? e = 1 : i = n * Math . asin ( 1 / e ) / ( 2 * Math . PI ) , ( t *= 2 ) < 1 ? e * Math . pow ( 2 , 10 * ( t -= 1 ) ) * Math . sin ( ( t - i ) * ( 2 * Math . PI ) / n ) * - . 5 : e * Math . pow ( 2 , - 10 * ( t -= 1 ) ) * Math . sin ( ( t - i ) * ( 2 * Math . PI ) / n ) * . 5 + 1 } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { In : n ( 111 ) , Out : n ( 112 ) , InOut : n ( 113 ) } } , function ( t , e ) { t . exports = function ( t ) { return Math . pow ( 2 , 10 * ( t - 1 ) ) - . 001 } } , function ( t , e ) { t . exports = function ( t ) { return 1 - Math . pow ( 2 , - 10 * t ) } } , function ( t , e ) { t . exports = function ( t ) { return ( t *= 2 ) < 1 ? . 5 * Math . pow ( 2 , 10 * ( t - 1 ) ) : . 5 * ( 2 - Math . pow ( 2 , - 10 * ( t - 1 ) ) ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = n ( 115 ) } , function ( t , e ) { t . exports = function ( t ) { return t } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { In : n ( 117 ) , Out : n ( 118 ) , InOut : n ( 119 ) } } , function ( t , e ) { t . exports = function ( t ) { return t * t } } , function ( t , e ) { t . exports = function ( t ) { return t * ( 2 - t ) } } , function ( t , e ) { t . exports = function ( t ) { return ( t *= 2 ) < 1 ? . 5 * t * t : - . 5 * ( -- t * ( t - 2 ) - 1 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { In : n ( 121 ) , Out : n ( 122 ) , InOut : n ( 123 ) } } , function ( t , e ) { t . exports = function ( t ) { return t * t * t * t } } , function ( t , e ) { t . exports = function ( t ) { return 1 - -- t * t * t * t } } , function ( t , e ) { t . exports = function ( t ) { return ( t *= 2 ) < 1 ? . 5 * t * t * t * t : - . 5 * ( ( t -= 2 ) * t * t * t - 2 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { In : n ( 125 ) , Out : n ( 126 ) , InOut : n ( 127 ) } } , function ( t , e ) { t . exports = function ( t ) { return t * t * t * t * t } } , function ( t , e ) { t . exports = function ( t ) { return -- t * t * t * t * t + 1 } } , function ( t , e ) { t . exports = function ( t ) { return ( t *= 2 ) < 1 ? . 5 * t * t * t * t * t : . 5 * ( ( t -= 2 ) * t * t * t * t + 2 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { In : n ( 129 ) , Out : n ( 130 ) , InOut : n ( 131 ) } } , function ( t , e ) { t . exports = function ( t ) { return 0 === t ? 0 : 1 === t ? 1 : 1 - Math . cos ( t * Math . PI / 2 ) } } , function ( t , e ) { t . exports = function ( t ) { return 0 === t ? 0 : 1 === t ? 1 : Math . sin ( t * Math . PI / 2 ) } } , function ( t , e ) { t . exports = function ( t ) { return 0 === t ? 0 : 1 === t ? 1 : . 5 * ( 1 - Math . cos ( Math . PI * t ) ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = n ( 133 ) } , function ( t , e ) { t . exports = function ( t , e ) { return void 0 === e && ( e = 1 ) , t <= 0 ? 0 : t >= 1 ? 1 : 1 / e * ( 1 + ( e * t | 0 ) ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { Ceil : n ( 135 ) , Equal : n ( 34 ) , Floor : n ( 136 ) , GreaterThan : n ( 137 ) , LessThan : n ( 138 ) } } , function ( t , e ) { t . exports = function ( t , e ) { return void 0 === e && ( e = 1e-4 ) , Math . ceil ( t - e ) } } , function ( t , e ) { t . exports = function ( t , e ) { return void 0 === e && ( e = 1e-4 ) , Math . floor ( t + e ) } } , function ( t , e ) { t . exports = function ( t , e , n ) { return void 0 === n && ( n = 1e-4 ) , t > e - n } } , function ( t , e ) { t . exports = function ( t , e , n ) { return void 0 === n && ( n = 1e-4 ) , t < e + n } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { Bezier : n ( 140 ) , CatmullRom : n ( 141 ) , CubicBezier : n ( 142 ) , Linear : n ( 143 ) , QuadraticBezier : n ( 144 ) , SmoothStep : n ( 145 ) , SmootherStep : n ( 146 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 35 ) ; t . exports = function ( t , e ) { for ( var n = 0 , r = t . length - 1 , s = 0 ; s <= r ; s ++ ) n += Math . pow ( 1 - e , r - s ) * Math . pow ( e , s ) * t [ s ] * i ( r , s ) ; return n } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 37 ) ; t . exports = function ( t , e ) { var n = t . length - 1 , r = n * e , s = Math . floor ( r ) ; return t [ 0 ] === t [ n ] ? ( e < 0 && ( s = Math . floor ( r = n * ( 1 + e ) ) ) , i ( r - s , t [ ( s - 1 + n ) % n ] , t [ s ] , t [ ( s + 1 ) % n ] , t [ ( s + 2 ) % n ] ) ) : e < 0 ? t [ 0 ] - ( i ( - r , t [ 0 ] , t [ 0 ] , t [ 1 ] , t [ 1 ] ) - t [ 0 ] ) : e > 1 ? t [ n ] - ( i ( r - n , t [ n ] , t [ n ] , t [ n - 1 ] , t [ n - 1 ] ) - t [ n ] ) : i ( r - s , t [ s ? s - 1 : 0 ] , t [ s ] , t [ n < s + 1 ? n : s + 1 ] , t [ n < s + 2 ? n : s + 2 ] ) } } , function ( t , e ) { t . exports = function ( t , e , n , i , r ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
return function ( t , e ) { var n = 1 - t ; return n * n * n * e } ( t , e ) + function ( t , e ) { var n = 1 - t ; return 3 * n * n * t * e } ( t , n ) + function ( t , e ) { return 3 * ( 1 - t ) * t * t * e } ( t , i ) + function ( t , e ) { return t * t * t * e } ( t , r ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 38 ) ; t . exports = function ( t , e ) { var n = t . length - 1 , r = n * e , s = Math . floor ( r ) ; return e < 0 ? i ( t [ 0 ] , t [ 1 ] , r ) : e > 1 ? i ( t [ n ] , t [ n - 1 ] , n - r ) : i ( t [ s ] , t [ s + 1 > n ? n : s + 1 ] , r - s ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
return function ( t , e ) { var n = 1 - t ; return n * n * e } ( t , e ) + function ( t , e ) { return 2 * ( 1 - t ) * t * e } ( t , n ) + function ( t , e ) { return t * t * e } ( t , i ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 39 ) ; t . exports = function ( t , e , n ) { return e + ( n - e ) * i ( t , 0 , 1 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 40 ) ; t . exports = function ( t , e , n ) { return e + ( n - e ) * i ( t , 0 , 1 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { GetNext : n ( 148 ) , IsSize : n ( 149 ) , IsValue : n ( 150 ) } } , function ( t , e ) { t . exports = function ( t ) { var e = Math . log ( t ) / . 6931471805599453 ; return 1 << Math . ceil ( e ) } } , function ( t , e ) { t . exports = function ( t , e ) { return t > 0 && 0 == ( t & t - 1 ) && e > 0 && 0 == ( e & e - 1 ) } } , function ( t , e ) { t . exports = function ( t ) { return t > 0 && 0 == ( t & t - 1 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { Ceil : n ( 152 ) , Floor : n ( 153 ) , To : n ( 154 ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { return void 0 === n && ( n = 0 ) , 0 === e ? t : ( t -= n , t = e * Math . ceil ( t / e ) , i ? ( n + t ) / e : n + t ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { return void 0 === n && ( n = 0 ) , 0 === e ? t : ( t -= n , t = e * Math . floor ( t / e ) , i ? ( n + t ) / e : n + t ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { return void 0 === n && ( n = 0 ) , 0 === e ? t : ( t -= n , t = e * Math . round ( t / e ) , i ? ( n + t ) / e : n + t ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = new ( n ( 0 ) ) ( { initialize : function ( t ) { void 0 === t && ( t = [ ( Date . now ( ) * Math . random ( ) ) . toString ( ) ] ) , this . c = 1 , this . s0 = 0 , this . s1 = 0 , this . s2 = 0 , this . n = 0 , this . signs = [ - 1 , 1 ] , t && this . init ( t ) } , rnd : function ( ) { var t = 2091639 * this . s0 + 2.3283064365386963 e - 10 * this . c ; return this . c = 0 | t , this . s0 = this . s1 , this . s1 = this . s2 , this . s2 = t - this . c , this . s2 } , hash : function ( t ) { var e , n = this . n ; t = t . toString ( ) ; for ( var i = 0 ; i < t . length ; i ++ ) e = . 02519603282416938 * ( n += t . charCodeAt ( i ) ) , e -= n = e >>> 0 , n = ( e *= n ) >>> 0 , n += 4294967296 * ( e -= n ) ; return this . n = n , 2.3283064365386963 e - 10 * ( n >>> 0 ) } , init : function ( t ) { "string" == typeof t ? this . state ( t ) : this . sow ( t ) } , sow : function ( t ) { if ( this . n = 4022871197 , this . s0 = this . hash ( " " ) , this . s1 = this . hash ( " " ) , this . s2 = this . hash ( " " ) , this . c = 1 , t ) for ( var e = 0 ; e < t . length && null != t [ e ] ; e ++ ) { var n = t [ e ] ; this . s0 -= this . hash ( n ) , this . s0 += ~ ~ ( this . s0 < 0 ) , this . s1 -= this . hash ( n ) , this . s1 += ~ ~ ( this . s1 < 0 ) , this . s2 -= this . hash ( n ) , this . s2 += ~ ~ ( this . s2 < 0 ) } } , integer : function ( ) { return 4294967296 * this . rnd ( ) } , frac : function ( ) { return this . rnd ( ) + 11102230246251565e-32 * ( 2097152 * this . rnd ( ) | 0 ) } , real : function ( ) { return this . integer ( ) + this . frac ( ) } , integerInRange : function ( t , e ) { return Math . floor ( this . realInRange ( 0 , e - t + 1 ) + t ) } , between : function ( t , e ) { return Math . floor ( this . realInRange ( 0 , e - t + 1 ) + t ) } , realInRange : function ( t , e ) { return this . frac ( ) * ( e - t ) + t } , normal : function ( ) { return 1 - 2 * this . frac ( ) } , uuid : function ( ) { var t = "" , e = "" ; for ( e = t = "" ; t ++ < 36 ; e += ~ t % 5 | 3 * t & 4 ? ( 15 ^ t ? 8 ^ this . frac ( ) * ( 20 ^ t ? 16 : 4 ) : 4 ) . toString ( 16 ) : "-" ) ; return e } , pick : function ( t ) { return t [ this . integerInRange ( 0 , t . length - 1 ) ] } , sign : function ( ) { return this . pick ( this . signs ) } , weightedPick : function ( t ) { return t [ ~ ~ ( Math . pow ( this . frac ( ) , 2 ) * ( t . length - 1 ) + . 5 ) ] } , timestamp : function ( t , e ) { return this . realInRange ( t || 9466848e5 , e || 1577862e6 ) } , angle : function ( ) { return this . integerInRange ( - 180 , 180 ) } , rotation : function ( ) { return this . realInRange ( - 3.1415926 , 3.1415926 ) } , state : function ( t ) { return "string" == typeof t && t . match ( /^!rnd/ ) && ( t = t . split ( "," ) , this . c = parseFloat ( t [ 1 ] ) , this . s0 = parseFloat ( t [ 2 ] ) , this . s1 = parseFloat ( t [ 3 ] ) , this . s2 = parseFloat ( t [ 4 ] ) ) , [ "!rnd" , this . c , this . s0 , this . s1 , this . s2 ] . join ( "," ) } , shuffle : function ( t ) { for ( var e = t . length - 1 ; e > 0 ; e -- ) { var n = Math . floor ( this . frac ( ) * ( e + 1 ) ) , i = t [ n ] ; t [ n ] = t [ e ] , t [ e ] = i } return t } } ) ; t . exports = i } , function ( t , e ) { t . exports = function ( t ) { for ( var e = 0 , n = 0 ; n < t . length ; n ++ ) e += + t [ n ] ; return e / t . length } } , function ( t , e ) { t . exports = function ( t , e ) { return Math . floor ( Math . random ( ) * ( e - t + 1 ) + t ) } } , function ( t , e ) { t . exports = function ( t , e , n ) { void 0 === e && ( e = 0 ) , void 0 === n && ( n = 10 ) ; var i = Math . pow ( n , - e ) ; return Math . ceil ( t * i ) / i } } , function ( t , e ) { t . exports = function ( t , e ) { return Math . abs ( t - e ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 4 ) , r = n ( 0 ) , s = n ( 21 ) , a = n ( 1 ) , o = new s , h = new r ( { initialize : function t ( e , n , i , r ) { void 0 === e && ( e = 0 ) , void 0 === n && ( n = 0 ) , void 0 === i && ( i = 0 ) , void 0 === r && ( r = t . DefaultOrder ) , this . _x = e , this . _y = n , this . _z = i , this . _order = r , this . onChangeCallback = a } , x : { get : function ( ) { return this . _x } , set : function ( t ) { this . _x = t , this . onChangeCallback ( this ) } } , y : { get : function ( ) { return this . _y } , set : function ( t ) { this . _y = t , this . onChangeCallback ( this ) } } , z : { get : function ( ) { return this . _z } , set : function ( t ) { this . _z = t , this . onChangeCallback ( this ) } } , order : { get : function ( ) { return this . _order } , set : function ( t ) { this . _order = t , this . onChangeCallback ( this ) } } , set : function ( t , e , n , i ) { return void 0 === i && ( i = this . _order ) , this . _x = t , this . _y = e , this . _z = n , this . _order = i , this . onChangeCallback ( this ) , this } , copy : function ( t ) { return this . set ( t . x , t . y , t . z , t . order ) } , setFromQuaternion : function ( t , e , n ) { return void 0 === e && ( e = this . _order ) , void 0 === n && ( n = ! 1 ) , o . fromQuat ( t ) , this . setFromRotationMatrix ( o , e , n ) } , setFromRotationMatrix : function ( t , e , n ) { void 0 === e && ( e = this . _order ) , void 0 === n && ( n = ! 1 ) ; var r = t . val , s = r [ 0 ] , a = r [ 4 ] , o = r [ 8 ] , h = r [ 1 ] , l = r [ 5 ] , u = r [ 9 ] , c = r [ 2 ] , f = r [ 6 ] , d = r [ 10 ] , p = 0 , v = 0 , g = 0 ; switch ( e ) { case "XYZ" : v = Math . asin ( i ( o , - 1 , 1 ) ) , Math . abs ( o ) < . 99999 ? ( p = Math . atan2 ( - u , d ) , g = Math . atan2 ( - a , s ) ) : p = Math . atan2 ( f , l ) ; break ; case "YXZ" : p = Math . asin ( - i ( u , - 1 , 1 ) ) , Math . abs ( u ) < . 99999 ? ( v = Math . atan2 ( o , d ) , g = Math . atan2 ( h , l ) ) : v = Math . atan2 ( - c , s ) ; break ; case "ZXY" : p = Math . asin ( i ( f , - 1 , 1 ) ) , Math . abs ( f ) < . 99999 ? ( v = Math . atan2 ( - c , d ) , g = Math . atan2 ( - a , l ) ) : g = Math . atan2 ( h , s ) ; break ; case "ZYX" : v = Math . asin ( - i ( c , - 1 , 1 ) ) , Math . abs ( c ) < . 99999 ? ( p = Math . atan2 ( f , d ) , g = Math . atan2 ( h , s ) ) : g = Math . atan2 ( - a , l ) ; break ; case "YZX" : g = Math . asin ( i ( h , - 1 , 1 ) ) , Math . abs ( h ) < . 99999 ? ( p = Math . atan2 ( - u , l ) , v = Math . atan2 ( - c , s ) ) : v = Math . atan2 ( o , d ) ; break ; case "XZY" : g = Math . asin ( - i ( a , - 1 , 1 ) ) , Math . abs ( a ) < . 99999 ? ( p = Math . atan2 ( f , l ) , v = Math . atan2 ( o , s ) ) : p = Math . atan2 ( - u , d ) } return this . _x = p , this . _y = v , this . _z = g , this . _order = e , n && this . onChangeCallback ( this ) , this } } ) ; h . RotationOrders = [ "XYZ" , "YXZ" , "ZXY" , "ZYX" , "YZX" , "XZY" ] , h . DefaultOrder = "XYZ" , t . exports = h } , function ( t , e ) { t . exports = function ( t , e , n ) { void 0 === e && ( e = 0 ) , void 0 === n && ( n = 10 ) ; var i = Math . pow ( n , - e ) ; return Math . floor ( t * i ) / i } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 4 ) ; t . exports = function ( t , e , n ) { return ( n - e ) * ( t = i ( t , 0 , 1 ) ) + e } } , function ( t , e ) { t . exports = function ( t , e ) { return t / e / 1e3 } } , function ( t , e ) { t . exports = function ( t ) { return t == parseFloat ( t ) ? ! ( t % 2 ) : void 0 } } , function ( t , e ) { t . exports = function ( t ) { return t === parseFloat ( t ) ? ! ( t % 2 ) : void 0 } } , function ( t , e ) { t . exports = function ( t , e , n ) { return void 0 === n && ( n = 0 ) , t . clone ( ) . lerp ( e , n ) } } , function ( t , e ) { t . exports = function ( t , e , n ) { return Math . min ( t + e , n ) } } , function ( t , e ) { t . exports = function ( t ) { var e = t . length ; if ( 0 === e ) return 0 ; t . sort ( ( function ( t , e ) { return t - e } ) ) ; var n = Math . floor ( e / 2 ) ; return e % 2 == 0 ? ( t [ n ] + t [ n - 1 ] ) / 2 : t [ n ] } } , function ( t , e ) { t . exports = function ( t , e , n ) { return Math . max ( t - e , n ) } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { void 0 === n && ( n = e + 1 ) ; var r = ( t - e ) / ( n - e ) ; return r > 1 ? void 0 !== i ? ( r = ( i - t ) / ( i - n ) ) < 0 && ( r = 0 ) : r = 1 : r < 0 && ( r = 0 ) , r } } , function ( t , e ) { t . exports = function ( t , e ) { void 0 === e && ( e = 1 ) ; var n = 2 * Math . random ( ) * Math . PI ; return t . x = Math . cos ( n ) * e , t . y = Math . sin ( n ) * e , t } } , function ( t , e ) { t . exports = function ( t , e ) { void 0 === e && ( e = 1 ) ; var n = 2 * Math . random ( ) * Math . PI , i = 2 * Math . random ( ) - 1 , r = Math . sqrt ( 1 - i * i ) * e ; return t . x = Math . cos ( n ) * r , t . y = Math . sin ( n ) * r , t . z = i * e , t } } , function ( t , e ) { t . exports = function ( t , e ) { return void 0 === e && ( e = 1 ) , t . x = ( 2 * Math . random ( ) - 1 ) * e , t . y = ( 2 * Math . random ( ) - 1 ) * e , t . z = ( 2 * Math . random ( ) - 1 ) * e , t . w = ( 2 * Math . random ( ) - 1 ) * e , t } } , function ( t , e ) { t . exports = function ( t , e ) { var n = t . x , i = t . y ; return t . x = n * Math . cos ( e ) - i * Math . sin ( e ) , t . y = n * Math . sin ( e ) + i * Math . cos ( e ) , t } } , function ( t , e ) { t . exports = function ( t , e , n , i , r ) { var s = i + Math . atan2 ( t . y - n , t . x - e ) ; return t . x = e + r * Math . cos ( s ) , t . y = n + r * Math . sin ( s ) , t } } , function ( t , e ) { t . exports = function ( t , e , n , i , r ) { return t . x = e + r * Math . cos ( i ) , t . y = n + r * Math . sin ( i ) , t } } , function ( t , e ) { t . exports = function ( t , e , n ) { void 0 === e && ( e = 0 ) , void 0 === n && ( n = 10 ) ; var i = Math . pow ( n , - e ) ; return Math . round ( t * i ) / i } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { void 0 === e && ( e = 1 ) , void 0 === n && ( n = 1 ) , void 0 === i && ( i = 1 ) , i *= Math . PI / t ; for ( var r = [ ] , s = [ ] , a = 0 ; a < t ; a ++ ) e += ( n -= e * i ) * i , r [ a ] = n , s [ a ] = e ; return { sin : s , cos : r , length : t } } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 2 ) ; t . exports = function ( t , e , n , r ) { void 0 === r && ( r = new i ) ; var s = 0 , a = 0 ; return t > 0 && t <= e * n && ( s = t > e - 1 ? t - ( a = Math . floor ( t / e ) ) * e : t ) , r . set ( s , a ) } } , function ( t , e ) { t . exports = function ( t , e , n ) { return Math . abs ( t - e ) <= n } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = new ( n ( 0 ) ) ( { initialize : function ( t , e , n , i ) { this . x = 0 , this . y = 0 , this . z = 0 , this . w = 0 , "object" == typeof t ? ( this . x = t . x || 0 , this . y = t . y || 0 , this . z = t . z || 0 , this . w = t . w || 0 ) : ( this . x = t || 0 , this . y = e || 0 , this . z = n || 0 , this . w = i || 0 ) } , clone : function ( ) { return new i ( this . x , this . y , this . z , this . w ) } , copy : function ( t ) { return this . x = t . x , this . y = t . y , this . z = t . z || 0 , this . w = t . w || 0 , this } , equals : function ( t ) { return this . x === t . x && this . y === t . y && this . z === t . z && this . w === t . w } , set : function ( t , e , n , i ) { return "object" == typeof t ? ( this . x = t . x || 0 , this . y = t . y || 0 , this . z = t . z || 0 , this . w = t . w || 0 ) : ( this . x = t || 0 , this . y = e || 0 , this . z = n || 0 , this . w = i || 0 ) , this } , add : function ( t ) { return this . x += t . x , this . y += t . y , this . z += t . z || 0 , this . w += t . w || 0 , this } , subtract : function ( t ) { return this . x -= t . x , this . y -= t . y , this . z -= t . z || 0 , this . w -= t . w || 0 , this } , scale : function ( t ) { return this . x *= t , this . y *= t , this . z *= t , this . w *= t , this } , length : function ( ) { var t = this . x , e = this . y , n = this . z , i = this . w ; return Math . sqrt ( t * t + e * e + n * n + i * i ) } , lengthSq : function ( ) { var t = this . x , e = this . y , n = this . z , i = this . w ; return t * t + e * e + n * n + i * i } , normalize : function ( ) { var t = this . x , e = this . y , n = this . z , i = this . w , r = t * t + e * e + n * n + i * i ; return r > 0 && ( r = 1 / Math . sqrt ( r ) , this . x = t * r , this . y = e * r , this . z = n * r , this . w = i * r ) , this } , dot : function ( t ) { return this . x * t . x + this . y * t . y + this . z * t . z + this . w * t . w } , lerp : function ( t , e ) { void 0 === e && ( e = 0 ) ; var n = this . x , i = this . y , r = this . z , s = this . w ; return this . x = n + e * ( t . x - n ) , this . y = i + e * ( t . y - i ) , this . z = r + e * ( t . z - r ) , this . w = s + e * ( t . w - s ) , this } , multiply : function ( t ) { return this . x *= t . x , this . y *= t . y , this . z *= t . z || 1 , this . w *= t . w || 1 , this } , divide : function ( t ) { return this . x /= t . x , this . y /= t . y , this . z /= t . z || 1 , this . w /= t . w || 1 , this } , distance : function ( t ) { var e = t . x - this . x , n = t . y - this . y , i = t . z - this . z || 0 , r = t . w - this . w || 0 ; return Math . sqrt ( e * e + n * n + i * i + r * r ) } , distanceSq : function ( t ) { var e = t . x - this . x , n = t . y - this . y , i = t . z - this . z || 0 , r = t . w - this . w || 0 ; return e * e + n * n + i * i + r * r } , negate : function ( ) { return this . x = - this . x , this . y = - this . y , this . z = - this . z , this . w = - this . w , this } , transformMat4 : function ( t ) { var e = this . x , n = this . y , i = this . z , r = this . w , s = t . val ; return this . x = s [ 0 ] * e + s [ 4 ] * n + s [ 8 ] * i + s [ 12 ] * r , this . y = s [ 1 ] * e + s [ 5 ] * n + s [ 9 ] * i + s [ 13 ] * r , this . z = s [ 2 ] * e + s [ 6 ] * n + s [ 10 ] * i + s [ 14 ] * r , this . w = s [ 3 ] * e + s [ 7 ] * n + s [ 11 ] * i + s [ 15 ] * r , this } , transformQuat : function ( t ) { var e = this . x , n = this . y , i = this . z , r = t . x , s = t . y , a = t . z , o = t . w , h = o * e + s * i - a * n , l = o * n + a * e - r * i , u = o * i + r * n - s * e , c = - r * e - s * n - a * i ; return this . x = h * o + c * - r + l * - a - u * - s , this . y = l * o + c * - s + u * - r - h * - a , this . z = u * o + c * - a + h * - s - l * - r , this } , reset : function ( ) { return this . x = 0 , this . y = 0 , this . z = 0 , this . w = 0 , this } } ) ; i . prototype . sub = i . prototype . subtract , i . prototype . mul = i . prototype . multiply , i . prototype . div = i . prototype . divide , i . prototype . dist = i . prototype . distance , i . prototype . distSq = i . prototype . distanceSq , i . prototype . len = i . prototype . length , i . prototype . lenSq = i . prototype . lengthSq , t . exports = i } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 14 ) , r = n ( 21 ) , s = n ( 45 ) , a = new r , o = new s , h = new i ; t . exports = function ( t , e , n ) { return o . setAxisAngle ( e , n ) , a . fromRotationTranslation ( o , h . set ( 0 , 0 , 0 ) ) , t . transformMat4 ( a ) } } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "resize" } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //github.com/photonstorm/phaser3-plugin-template/blob/master/LICENSE|MIT License}
* /
var i = n ( 185 ) , r = n ( 0 ) , s = n ( 23 ) , a = new r ( { Extends : i , initialize : function ( t , e , n ) { i . call ( this , e ) , this . scene = t , this . systems = t . sys , this . pluginKey = n , t . sys . events . once ( s . BOOT , this . boot , this ) } , boot : function ( ) { } , destroy : function ( ) { this . pluginManager = null , this . game = null , this . scene = null , this . systems = null } } ) ; t . exports = a } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //github.com/photonstorm/phaser3-plugin-template/blob/master/LICENSE|MIT License}
* /
var i = new ( n ( 0 ) ) ( { initialize : function ( t ) { this . pluginManager = t , this . game = t . game } , init : function ( ) { } , start : function ( ) { } , stop : function ( ) { } , destroy : function ( ) { this . pluginManager = null , this . game = null , this . scene = null , this . systems = null } } ) ; t . exports = i } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "addedtoscene" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "boot" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "create" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "destroy" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "pause" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "postupdate" } , function ( t , e ) {
/ * *
* @ author samme
* @ copyright 2021 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "prerender" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "preupdate" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "ready" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "removedfromscene" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "render" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "resume" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "shutdown" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "sleep" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "start" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "transitioncomplete" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "transitioninit" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "transitionout" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "transitionstart" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "transitionwake" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "update" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "wake" } , function ( t , e ) { ( function ( ) { var e , n , i , r = this && this . _ _extends || ( e = function ( t , n ) { return ( e = 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 ] ) } ) ( t , n ) } , function ( t , n ) { if ( "function" != typeof n && null !== n ) throw new TypeError ( "Class extends value " + String ( n ) + " is not a constructor or null" ) ; function i ( ) { this . constructor = t } e ( t , n ) , t . prototype = null === n ? Object . create ( n ) : ( i . prototype = n . prototype , new i ) } ) ; ! function ( t ) { var e , n , i , s = function ( ) { function t ( t , e , n ) { if ( null == t ) throw new Error ( "name cannot be null." ) ; if ( null == e ) throw new Error ( "timelines cannot be null." ) ; this . name = t , this . timelines = e , this . timelineIds = [ ] ; for ( var i = 0 ; i < e . length ; i ++ ) this . timelineIds [ e [ i ] . getPropertyId ( ) ] = ! 0 ; this . duration = n } return t . prototype . hasTimeline = function ( t ) { return 1 == this . timelineIds [ t ] } , t . prototype . apply = function ( t , e , n , i , r , s , a , o ) { if ( null == t ) throw new Error ( "skeleton cannot be null." ) ; i && 0 != this . duration && ( n %= this . duration , e > 0 && ( e %= this . duration ) ) ; for ( var h = this . timelines , l = 0 , u = h . length ; l < u ; l ++ ) h [ l ] . apply ( t , e , n , r , s , a , o ) } , t . binarySearch = function ( t , e , n ) { void 0 === n && ( n = 1 ) ; var i = 0 , r = t . length / n - 2 ; if ( 0 == r ) return n ; for ( var s = r >>> 1 ; ; ) { if ( t [ ( s + 1 ) * n ] <= e ? i = s + 1 : r = s , i == r ) return ( i + 1 ) * n ; s = i + r >>> 1 } } , t . linearSearch = function ( t , e , n ) { for ( var i = 0 , r = t . length - n ; i <= r ; i += n ) if ( t [ i ] > e ) return i ; return - 1 } , t } ( ) ; t . Animation = s , function ( t ) { t [ t . setup = 0 ] = "setup" , t [ t . first = 1 ] = "first" , t [ t . replace = 2 ] = "replace" , t [ t . add = 3 ] = "add" } ( e = t . MixBlend || ( t . MixBlend = { } ) ) , function ( t ) { t [ t . mixIn = 0 ] = "mixIn" , t [ t . mixOut = 1 ] = "mixOut" } ( n = t . MixDirection || ( t . MixDirection = { } ) ) , function ( t ) { t [ t . rotate = 0 ] = "rotate" , t [ t . translate = 1 ] = "translate" , t [ t . scale = 2 ] = "scale" , t [ t . shear = 3 ] = "shear" , t [ t . attachment = 4 ] = "attachment" , t [ t . color = 5 ] = "color" , t [ t . deform = 6 ] = "deform" , t [ t . event = 7 ] = "event" , t [ t . drawOrder = 8 ] = "drawOrder" , t [ t . ikConstraint = 9 ] = "ikConstraint" , t [ t . transformConstraint = 10 ] = "transformConstraint" , t [ t . pathConstraintPosition = 11 ] = "pathConstraintPosition" , t [ t . pathConstraintSpacing = 12 ] = "pathConstraintSpacing" , t [ t . pathConstraintMix = 13 ] = "pathConstraintMix" , t [ t . twoColor = 14 ] = "twoColor" } ( i = t . TimelineType || ( t . TimelineType = { } ) ) ; var a = function ( ) { function e ( n ) { if ( n <= 0 ) throw new Error ( "frameCount must be > 0: " + n ) ; this . curves = t . Utils . newFloatArray ( ( n - 1 ) * e . BEZIER _SIZE ) } return e . prototype . getFrameCount = function ( ) { return this . curves . length / e . BEZIER _SIZE + 1 } , e . prototype . setLinear = function ( t ) { this . curves [ t * e . BEZIER _SIZE ] = e . LINEAR } , e . prototype . setStepped = function ( t ) { this . curves [ t * e . BEZIER _SIZE ] = e . STEPPED } , e . prototype . getCurveType = function ( t ) { var n = t * e . BEZIER _SIZE ; if ( n == this . curves . length ) return e . LINEAR ; var i = this . curves [ n ] ; return i == e . LINEAR ? e . LINEAR : i == e . STEPPED ? e . STEPPED : e . BEZIER } , e . prototype . setCurve = function ( t , n , i , r , s ) { var a = . 03 * ( 2 * - n + r ) , o = . 03 * ( 2 * - i + s ) , h = . 006 * ( 3 * ( n - r ) + 1 ) , l = . 006 * ( 3 * ( i - s ) + 1 ) , u = 2 * a + h , c = 2 * o + l , f = . 3 * n + a + . 16666667 * h , d = . 3 * i + o + . 16666667 * l , p = t * e . BEZIER _SIZE , v = this . curves ; v [ p ++ ] = e . BEZIER ; for ( var g = f , m = d , y = p + e . BEZIER _SIZE - 1 ; p < y ; p += 2 ) v [ p ] = g , v [ p + 1 ] = m , f += u , d += c , u += h , c += l , g += f , m += d } , e . prototype . getCurvePercent = function ( n , i ) { i = t . MathUtils . clamp ( i , 0 , 1 ) ; var r = this . curves , s = n * e . BEZIER _SIZE , a = r [ s ] ; if ( a == e . LINEAR ) return i ; if ( a == e . STEPPED ) return 0 ; for ( var o = 0 , h = ++ s , l = s + e . BEZIER _SIZE - 1 ; s < l ; s += 2 ) if ( ( o = r [ s ] ) >= i ) { var u = void 0 , c = void 0 ; return s == h ? ( u = 0 , c = 0 ) : ( u = r [ s - 2 ] , c = r [ s - 1 ] ) , c + ( r [ s + 1 ] - c ) * ( i - u ) / ( o - u ) } var f = r [ s - 1 ] ; return f + ( 1 - f ) * ( i - o ) / ( 1 - o ) } , e . LINEAR = 0 , e . STEPPED = 1 , e . BEZIER = 2 , e . BEZIER _SIZE = 19 , e } ( ) ; t . CurveTimeline = a ; var o = function ( n ) { function a ( e ) { var i = n . call ( this , e ) || this ; return i . frames = t . Utils . newFloatArray ( e << 1 ) , i } return r ( a , n ) , a . prototype . getPropertyId = function ( ) { return ( i . rotate << 24 ) + this . boneIndex } , a . prototype . setFrame = function ( t , e , n ) { t <<= 1 , this . frames [ t ] = e , this . frames [ t + a . ROTATION ] = n } , a . prototype . apply = function ( t , n , i , r , o , h , l ) { var u = this . frames , c = t . bones [ this . boneIndex ] ; if ( c . active ) if ( i < u [ 0 ] ) switch ( h ) { case e . setup : return void ( c . rotation = c . data . rotation ) ; case e . first : var f = c . data . rotation - c . rotation ; c . rotation += ( f - 360 * ( 16384 - ( 16384.499999999996 - f / 360 | 0 ) ) ) * o } else if ( i >= u [ u . length - a . ENTRIES ] ) { var d = u [ u . length + a . PREV _ROTATI
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
* /
var i = n ( 0 ) , r = n ( 8 ) , s = n ( 210 ) , a = n ( 6 ) , o = n ( 222 ) , h = n ( 223 ) , l = n ( 224 ) , u = new i ( { Extends : h , initialize : function ( t , e , n , i , s , u , c ) { var f , d , p , v = [ ] , g = t . cacheManager . custom . spine ; if ( a ( e ) ) { var m = e ; for ( e = r ( m , "key" ) , d = new o ( t , { key : e , url : r ( m , "jsonURL" ) , extension : r ( m , "jsonExtension" , "json" ) , xhrSettings : r ( m , "jsonXhrSettings" ) } ) , i = r ( m , "atlasURL" ) , s = r ( m , "preMultipliedAlpha" ) , Array . isArray ( i ) || ( i = [ i ] ) , f = 0 ; f < i . length ; f ++ ) ( p = new l ( t , { key : e + "!" + f , url : i [ f ] , extension : r ( m , "atlasExtension" , "atlas" ) , xhrSettings : r ( m , "atlasXhrSettings" ) } ) ) . cache = g , v . push ( p ) } else for ( d = new o ( t , e , n , u ) , Array . isArray ( i ) || ( i = [ i ] ) , f = 0 ; f < i . length ; f ++ ) ( p = new l ( t , e + "!" + f , i [ f ] , c ) ) . cache = g , v . push ( p ) ; v . unshift ( d ) , h . call ( this , t , "spine" , e , v ) , this . config . preMultipliedAlpha = s } , onFileComplete : function ( t ) { if ( - 1 !== this . files . indexOf ( t ) && ( this . pending -- , "text" === t . type ) ) { for ( var e = t . data . split ( "\n" ) , n = [ ] , i = 0 ; i < e . length ; i ++ ) { var a = e [ i ] ; "" === a . trim ( ) && i < e . length - 1 && ( a = e [ i + 1 ] , n . push ( a ) ) } var o = this . config , h = this . loader , l = h . baseURL , u = h . path , c = h . prefix , f = r ( o , "baseURL" , this . baseURL ) , d = r ( o , "path" , t . src . match ( /^.*\// ) ) [ 0 ] , p = r ( o , "prefix" , this . prefix ) , v = r ( o , "textureXhrSettings" ) ; h . setBaseURL ( f ) , h . setPath ( d ) , h . setPrefix ( p ) ; for ( var g = 0 ; g < n . length ; g ++ ) { var m = n [ g ] , y = new s ( h , m , m , v ) ; h . keyExists ( y ) || ( this . addToMultiFile ( y ) , h . addFile ( y ) ) } h . setBaseURL ( l ) , h . setPath ( u ) , h . setPrefix ( c ) } } , addToCache : function ( ) { if ( this . isReadyToProcess ( ) ) { var t ; this . files [ 0 ] . addToCache ( ) ; for ( var e = "" , n = "" , i = ! ! this . config . preMultipliedAlpha , r = this . loader . textureManager , s = 1 ; s < this . files . length ; s ++ ) { var a = this . files [ s ] ; if ( "text" === a . type ) e = a . key . replace ( /![\d]$/ , "" ) , t = a . cache , n = n . concat ( a . data ) ; else { var o = a . key . trim ( ) , h = o . indexOf ( "!" ) , l = o . substr ( h + 1 ) ; r . exists ( l ) || r . addImage ( l , a . data ) } a . pendingDestroy ( ) } t . add ( e , { preMultipliedAlpha : i , data : n , prefix : this . prefix } ) , this . complete = ! 0 } } } ) ; t . exports = u } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 9 ) , s = n ( 24 ) , a = n ( 25 ) , o = n ( 8 ) , h = n ( 6 ) , l = n ( 47 ) , u = new i ( { Extends : s , initialize : function t ( e , n , i , r , a ) { var l , u = "png" ; if ( h ( n ) ) { var c = n ; n = o ( c , "key" ) , i = o ( c , "url" ) , l = o ( c , "normalMap" ) , r = o ( c , "xhrSettings" ) , u = o ( c , "extension" , u ) , a = o ( c , "frameConfig" ) } Array . isArray ( i ) && ( l = i [ 1 ] , i = i [ 0 ] ) ; var f = { type : "image" , cache : e . textureManager , extension : u , responseType : "blob" , key : n , url : i , xhrSettings : r , config : a } ; if ( s . call ( this , e , f ) , l ) { var d = new t ( e , this . key , l , r , a ) ; d . type = "normalMap" , this . setLink ( d ) , e . addFile ( d ) } this . useImageElementLoad = "HTMLImageElement" === e . imageLoadType , this . useImageElementLoad && ( this . load = this . loadImage , this . onProcess = this . onProcessImage ) } , onProcess : function ( ) { this . state = r . FILE _PROCESSING , this . data = new Image , this . data . crossOrigin = this . crossOrigin ; var t = this ; this . data . onload = function ( ) { s . revokeObjectURL ( t . data ) , t . onProcessComplete ( ) } , this . data . onerror = function ( ) { s . revokeObjectURL ( t . data ) , t . onProcessError ( ) } , s . createObjectURL ( this . data , this . xhrLoader . response , "image/png" ) } , onProcessImage : function ( ) { var t = this . state ; this . state = r . FILE _PROCESSING , t === r . FILE _LOADED ? this . onProcessComplete ( ) : this . onProcessError ( ) } , loadImage : function ( ) { if ( this . state = r . FILE _LOADING , this . src = l ( this , this . loader . baseURL ) , 0 === this . src . indexOf ( "data:" ) ) console . warn ( "Local data URIs are not supported: " + this . key ) ; else { this . data = new Image , this . data . crossOrigin = this . crossOrigin ; var t = this ; this . data . onload = function ( ) { t . state = r . FILE _LOADED , t . loader . nextFile ( t , ! 0 ) } , this . data . onerror = function ( ) { t . loader . nextFile ( t , ! 1 ) } , this . data . src = this . src } } , addToCache : function ( ) { var t = this . linkFile ; t ? t . state >= r . FILE _COMPLETE && ( "normalMap" === this . type ? this . cache . addImage ( this . key , t . data , this . data ) : this . cache . addImage ( this . key , this . data , t . data ) ) : this . cache . addImage ( this . key , this . data ) } } ) ; a . register ( "image" , ( function ( t , e , n ) { if ( Array . isArray ( t ) ) for ( var i = 0 ; i < t . length ; i ++ ) this . addFile ( new u ( this , t [ i ] ) ) ; else this . addFile ( new u ( this , t , e , n ) ) ; return this } ) ) , t . exports = u } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "addfile" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "complete" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "filecomplete" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "filecomplete-" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "loaderror" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "load" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "fileprogress" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "postprocess" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "progress" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "start" } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 48 ) ; t . exports = function ( t , e ) { var n = i ( e , t . xhrSettings ) , r = new XMLHttpRequest ; if ( r . open ( "GET" , t . src , n . async , n . user , n . password ) , r . responseType = t . xhrSettings . responseType , r . timeout = n . timeout , n . headers ) for ( var s in n . headers ) r . setRequestHeader ( s , n . headers [ s ] ) ; return n . header && n . headerValue && r . setRequestHeader ( n . header , n . headerValue ) , n . requestedWith && r . setRequestHeader ( "X-Requested-With" , n . requestedWith ) , n . overrideMimeType && r . overrideMimeType ( n . overrideMimeType ) , n . withCredentials && ( r . withCredentials = ! 0 ) , r . onload = t . onLoad . bind ( t , r ) , r . onerror = t . onError . bind ( t , r ) , r . onprogress = t . onProgress . bind ( t ) , r . send ( ) , r } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 9 ) , s = n ( 24 ) , a = n ( 25 ) , o = n ( 8 ) , h = n ( 7 ) , l = n ( 6 ) , u = new i ( { Extends : s , initialize : function ( t , e , n , i , a ) { var u = "json" ; if ( l ( e ) ) { var c = e ; e = o ( c , "key" ) , n = o ( c , "url" ) , i = o ( c , "xhrSettings" ) , u = o ( c , "extension" , u ) , a = o ( c , "dataKey" , a ) } var f = { type : "json" , cache : t . cacheManager . json , extension : u , responseType : "text" , key : e , url : n , xhrSettings : i , config : a } ; s . call ( this , t , f ) , l ( n ) && ( this . data = a ? h ( n , a ) : n , this . state = r . FILE _POPULATED ) } , onProcess : function ( ) { if ( this . state !== r . FILE _POPULATED ) { this . state = r . FILE _PROCESSING ; try { var t = JSON . parse ( this . xhrLoader . responseText ) } catch ( t ) { throw this . onProcessError ( ) , t } var e = this . config ; this . data = "string" == typeof e ? h ( t , e , t ) : t } this . onProcessComplete ( ) } } ) ; a . register ( "json" , ( function ( t , e , n , i ) { if ( Array . isArray ( t ) ) for ( var r = 0 ; r < t . length ; r ++ ) this . addFile ( new u ( this , t [ r ] ) ) ; else this . addFile ( new u ( this , t , e , i , n ) ) ; return this } ) ) , t . exports = u } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 9 ) , s = n ( 46 ) , a = new i ( { initialize : function ( t , e , n , i ) { var s = [ ] ; i . forEach ( ( function ( t ) { t && s . push ( t ) } ) ) , this . loader = t , this . type = e , this . key = n , this . multiKeyIndex = t . multiKeyIndex ++ , this . files = s , this . state = r . FILE _PENDING , this . complete = ! 1 , this . pending = s . length , this . failed = 0 , this . config = { } , this . baseURL = t . baseURL , this . path = t . path , this . prefix = t . prefix ; for ( var a = 0 ; a < s . length ; a ++ ) s [ a ] . multiFile = this } , isReadyToProcess : function ( ) { return 0 === this . pending && 0 === this . failed && ! this . complete } , addToMultiFile : function ( t ) { return this . files . push ( t ) , t . multiFile = this , this . pending ++ , this . complete = ! 1 , this } , onFileComplete : function ( t ) { - 1 !== this . files . indexOf ( t ) && this . pending -- } , onFileFailed : function ( t ) { - 1 !== this . files . indexOf ( t ) && ( this . failed ++ , console . error ( 'File failed: %s "%s" (via %s "%s")' , this . type , this . key , t . type , t . key ) ) } , pendingDestroy : function ( ) { if ( this . state !== r . FILE _PENDING _DESTROY ) { var t = this . key , e = this . type ; this . loader . emit ( s . FILE _COMPLETE , t , e ) , this . loader . emit ( s . FILE _KEY _COMPLETE + e + "-" + t , t , e ) , this . loader . flagForRemoval ( this ) ; for ( var n = 0 ; n < this . files . length ; n ++ ) this . files [ n ] . pendingDestroy ( ) ; this . state = r . FILE _PENDING _DESTROY } } , destroy : function ( ) { this . loader = null , this . files = null , this . config = null } } ) ; t . exports = a } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 9 ) , s = n ( 24 ) , a = n ( 25 ) , o = n ( 8 ) , h = n ( 6 ) , l = new i ( { Extends : s , initialize : function ( t , e , n , i ) { var r = "text" , a = "txt" , l = t . cacheManager . text ; if ( h ( e ) ) { var u = e ; e = o ( u , "key" ) , n = o ( u , "url" ) , i = o ( u , "xhrSettings" ) , a = o ( u , "extension" , a ) , r = o ( u , "type" , r ) , l = o ( u , "cache" , l ) } var c = { type : r , cache : l , extension : a , responseType : "text" , key : e , url : n , xhrSettings : i } ; s . call ( this , t , c ) } , onProcess : function ( ) { this . state = r . FILE _PROCESSING , this . data = this . xhrLoader . responseText , this . onProcessComplete ( ) } } ) ; a . register ( "text" , ( function ( t , e , n ) { if ( Array . isArray ( t ) ) for ( var i = 0 ; i < t . length ; i ++ ) this . addFile ( new l ( this , t [ i ] ) ) ; else this . addFile ( new l ( this , t , e , n ) ) ; return this } ) ) , t . exports = l } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
* /
var i = n ( 30 ) , r = n ( 4 ) , s = n ( 0 ) , a = n ( 50 ) , o = n ( 51 ) , h = n ( 52 ) , l = n ( 53 ) , u = n ( 54 ) , c = n ( 56 ) , f = n ( 18 ) , d = n ( 20 ) , p = n ( 57 ) , v = n ( 22 ) , g = n ( 247 ) , m = n ( 254 ) , y = new s ( { Extends : p , Mixins : [ a , o , h , l , u , c , m ] , initialize : function ( t , e , n , i , r , s , a ) { p . call ( this , t , "Spine" ) , this . plugin = e , this . skeleton = null , this . skeletonData = null , this . state = null , this . stateData = null , this . root = null , this . bounds = null , this . drawDebug = ! 1 , this . timeScale = 1 , this . displayOriginX = 0 , this . displayOriginY = 0 , this . preMultipliedAlpha = ! 1 , this . blendMode = - 1 , this . setPosition ( n , i ) , r && this . setSkeleton ( r , s , a ) } , willRender : function ( t , e ) { var n = ! this . skeleton || ! ( 15 !== this . renderFlags || 0 !== this . cameraFilter && this . cameraFilter & t . id ) ; if ( ! e && ! n && this . parentContainer ) { var i = this . plugin , r = i . sceneRenderer ; i . gl && r . batcher . isDrawing && ( r . end ( ) , i . renderer . pipelines . rebind ( ) ) } return n } , setAlpha : function ( t , e ) { if ( void 0 === t && ( t = 1 ) , e ) { var n = this . findSlot ( e ) ; n && ( n . color . a = r ( t , 0 , 1 ) ) } else this . alpha = t ; return this } , alpha : { get : function ( ) { return this . skeleton . color . a } , set : function ( t ) { var e = r ( t , 0 , 1 ) ; this . skeleton && ( this . skeleton . color . a = e ) , 0 === e ? this . renderFlags &= - 3 : this . renderFlags |= 2 } } , red : { get : function ( ) { return this . skeleton . color . r } , set : function ( t ) { var e = r ( t , 0 , 1 ) ; this . skeleton && ( this . skeleton . color . r = e ) } } , green : { get : function ( ) { return this . skeleton . color . g } , set : function ( t ) { var e = r ( t , 0 , 1 ) ; this . skeleton && ( this . skeleton . color . g = e ) } } , blue : { get : function ( ) { return this . skeleton . color . b } , set : function ( t ) { var e = r ( t , 0 , 1 ) ; this . skeleton && ( this . skeleton . color . b = e ) } } , setColor : function ( t , e ) { void 0 === t && ( t = 16777215 ) ; var n = ( t >> 16 & 255 ) / 255 , i = ( t >> 8 & 255 ) / 255 , r = ( 255 & t ) / 255 , s = t > 16777215 ? ( t >>> 24 ) / 255 : null , a = this . skeleton ; if ( e ) { var o = this . findSlot ( e ) ; o && ( a = o ) } return a . color . r = n , a . color . g = i , a . color . b = r , null !== s && ( a . color . a = s ) , this } , setSkeletonFromJSON : function ( t , e , n , i ) { return this . setSkeleton ( t , e , n , i ) } , setSkeleton : function ( t , e , n , i ) { this . state && ( this . state . clearListeners ( ) , this . state . clearListenerNotifications ( ) ) ; var r = this . plugin . createSkeleton ( t , i ) ; this . skeletonData = r . skeletonData , this . preMultipliedAlpha = r . preMultipliedAlpha ; var s = r . skeleton ; return s . setSkin ( ) , s . setToSetupPose ( ) , this . skeleton = s , r = this . plugin . createAnimationState ( s ) , this . state && ( this . state . clearListeners ( ) , this . state . clearListenerNotifications ( ) ) , this . state = r . state , this . stateData = r . stateData , this . state . addListener ( { event : this . onEvent . bind ( this ) , complete : this . onComplete . bind ( this ) , start : this . onStart . bind ( this ) , end : this . onEnd . bind ( this ) , dispose : this . onDispose . bind ( this ) , interrupted : this . onInterrupted . bind ( this ) } ) , e && this . setAnimation ( 0 , e , n ) , this . root = this . getRootBone ( ) , this . root && ( this . root . rotation = v ( f ( this . rotation ) ) + 90 ) , this . state . apply ( s ) , s . updateCache ( ) , this . updateSize ( ) } , onComplete : function ( t ) { this . emit ( g . COMPLETE , t ) } , onDispose : function ( t ) { this . emit ( g . DISPOSE , t ) } , onEnd : function ( t ) { this . emit ( g . END , t ) } , onEvent : function ( t , e ) { this . emit ( g . EVENT , t , e ) } , onInterrupted : function ( t ) { this . emit ( g . INTERRUPTED , t ) } , onStart : function ( t ) { this . emit ( g . START , t ) } , refresh : function ( ) { return this . root && ( this . root . rotation = v ( f ( this . rotation ) ) + 90 ) , this . updateSize ( ) , this . skeleton . updateCache ( ) , this } , setSize : function ( t , e , n , i ) { var r = this . skeleton ; return void 0 === t && ( t = r . data . width ) , void 0 === e && ( e = r . data . height ) , void 0 === n && ( n = 0 ) , void 0 === i && ( i = 0 ) , this . width = t , this . height = e , this . displayOriginX = r . x - n , this . displayOriginY = r . y - i , this } , setOffset : function ( t , e ) { var n = this . skeleton ; return void 0 === t && ( t = 0 ) , void 0 === e && ( e = 0 ) , this . displayOriginX = n . x - t , this . displayOriginY = n . y - e , this } , updateSize : function ( ) { var t = this . skeleton , e = this . plugin . renderer . height , n = this . scaleX , i = this . scaleY ; t . x = this . x , t . y = e - this . y , t . scaleX = 1 , t . scaleY = 1 , t . updateWorldTransform ( ) ; var r = this . getBounds ( ) ; return this . width = r . size . x , this . height = r . size . y , this . displayOriginX = this . x - r . offset . x , this . displayOriginY = this . y - ( e - ( this . height + r . offset . y ) ) , t . scaleX = n , t . scaleY = i , t . updateWorldTransform ( ) , this } , scaleX : { get : function ( ) { return this . _scaleX } , set : function ( t ) { this . _scaleX = t , this . refresh ( ) } } , scaleY : { get : function ( ) { return this . _scaleY } , set : function ( t ) { this . _scaleY = t , this . refresh ( ) } } , getBoneList : function ( ) { var t = [ ] , e = this . skeletonData ; if ( e ) for ( var n = 0 ; n < e . bones . length ; n ++ )
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 227 ) , s = new i ( { initialize : function ( t , e ) { this . parent = t , this . events = e , e || ( this . events = t . events ? t . events : t ) , this . list = { } , this . values = { } , this . _frozen = ! 1 , ! t . hasOwnProperty ( "sys" ) && this . events && this . events . once ( r . DESTROY , this . destroy , this ) } , get : function ( t ) { var e = this . list ; if ( Array . isArray ( t ) ) { for ( var n = [ ] , i = 0 ; i < t . length ; i ++ ) n . push ( e [ t [ i ] ] ) ; return n } return e [ t ] } , getAll : function ( ) { var t = { } ; for ( var e in this . list ) this . list . hasOwnProperty ( e ) && ( t [ e ] = this . list [ e ] ) ; return t } , query : function ( t ) { var e = { } ; for ( var n in this . list ) this . list . hasOwnProperty ( n ) && n . match ( t ) && ( e [ n ] = this . list [ n ] ) ; return e } , set : function ( t , e ) { if ( this . _frozen ) return this ; if ( "string" == typeof t ) return this . setValue ( t , e ) ; for ( var n in t ) this . setValue ( n , t [ n ] ) ; return this } , inc : function ( t , e ) { if ( this . _frozen ) return this ; void 0 === e && ( e = 1 ) ; var n = this . get ( t ) ; return void 0 === n && ( n = 0 ) , this . set ( t , n + e ) , this } , toggle : function ( t ) { return this . _frozen || this . set ( t , ! this . get ( t ) ) , this } , setValue : function ( t , e ) { if ( this . _frozen ) return this ; if ( this . has ( t ) ) this . values [ t ] = e ; else { var n = this , i = this . list , s = this . events , a = this . parent ; Object . defineProperty ( this . values , t , { enumerable : ! 0 , configurable : ! 0 , get : function ( ) { return i [ t ] } , set : function ( e ) { if ( ! n . _frozen ) { var o = i [ t ] ; i [ t ] = e , s . emit ( r . CHANGE _DATA , a , t , e , o ) , s . emit ( r . CHANGE _DATA _KEY + t , a , e , o ) } } } ) , i [ t ] = e , s . emit ( r . SET _DATA , a , t , e ) } return this } , each : function ( t , e ) { for ( var n = [ this . parent , null , void 0 ] , i = 1 ; i < arguments . length ; i ++ ) n . push ( arguments [ i ] ) ; for ( var r in this . list ) n [ 1 ] = r , n [ 2 ] = this . list [ r ] , t . apply ( e , n ) ; return this } , merge : function ( t , e ) { for ( var n in void 0 === e && ( e = ! 0 ) , t ) t . hasOwnProperty ( n ) && ( e || ! e && ! this . has ( n ) ) && this . setValue ( n , t [ n ] ) ; return this } , remove : function ( t ) { if ( this . _frozen ) return this ; if ( ! Array . isArray ( t ) ) return this . removeValue ( t ) ; for ( var e = 0 ; e < t . length ; e ++ ) this . removeValue ( t [ e ] ) ; return this } , removeValue : function ( t ) { if ( this . has ( t ) ) { var e = this . list [ t ] ; delete this . list [ t ] , delete this . values [ t ] , this . events . emit ( r . REMOVE _DATA , this . parent , t , e ) } return this } , pop : function ( t ) { var e = void 0 ; return ! this . _frozen && this . has ( t ) && ( e = this . list [ t ] , delete this . list [ t ] , delete this . values [ t ] , this . events . emit ( r . REMOVE _DATA , this . parent , t , e ) ) , e } , has : function ( t ) { return this . list . hasOwnProperty ( t ) } , setFreeze : function ( t ) { return this . _frozen = t , this } , reset : function ( ) { for ( var t in this . list ) delete this . list [ t ] , delete this . values [ t ] ; return this . _frozen = ! 1 , this } , destroy : function ( ) { this . reset ( ) , this . events . off ( r . CHANGE _DATA ) , this . events . off ( r . SET _DATA ) , this . events . off ( r . REMOVE _DATA ) , this . parent = null } , freeze : { get : function ( ) { return this . _frozen } , set : function ( t ) { this . _frozen = ! ! t } } , count : { get : function ( ) { var t = 0 ; for ( var e in this . list ) void 0 !== this . list [ e ] && t ++ ; return t } } } ) ; t . exports = s } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { CHANGE _DATA : n ( 228 ) , CHANGE _DATA _KEY : n ( 229 ) , DESTROY : n ( 230 ) , REMOVE _DATA : n ( 231 ) , SET _DATA : n ( 232 ) } } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "changedata" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "changedata-" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "destroy" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "removedata" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "setdata" } , function ( t , e , n ) { "use strict" ; var i = Object . prototype . hasOwnProperty , r = "~" ; function s ( ) { } function a ( t , e , n ) { this . fn = t , this . context = e , this . once = n || ! 1 } function o ( t , e , n , i , s ) { if ( "function" != typeof n ) throw new TypeError ( "The listener must be a function" ) ; var o = new a ( n , i || t , s ) , h = r ? r + e : e ; return t . _events [ h ] ? t . _events [ h ] . fn ? t . _events [ h ] = [ t . _events [ h ] , o ] : t . _events [ h ] . push ( o ) : ( t . _events [ h ] = o , t . _eventsCount ++ ) , t } function h ( t , e ) { 0 == -- t . _eventsCount ? t . _events = new s : delete t . _events [ e ] } function l ( ) { this . _events = new s , this . _eventsCount = 0 } Object . create && ( s . prototype = Object . create ( null ) , ( new s ) . _ _proto _ _ || ( r = ! 1 ) ) , l . prototype . eventNames = function ( ) { var t , e , n = [ ] ; if ( 0 === this . _eventsCount ) return n ; for ( e in t = this . _events ) i . call ( t , e ) && n . push ( r ? e . slice ( 1 ) : e ) ; return Object . getOwnPropertySymbols ? n . concat ( Object . getOwnPropertySymbols ( t ) ) : n } , l . prototype . listeners = function ( t ) { var e = r ? r + t : t , n = this . _events [ e ] ; if ( ! n ) return [ ] ; if ( n . fn ) return [ n . fn ] ; for ( var i = 0 , s = n . length , a = new Array ( s ) ; i < s ; i ++ ) a [ i ] = n [ i ] . fn ; return a } , l . prototype . listenerCount = function ( t ) { var e = r ? r + t : t , n = this . _events [ e ] ; return n ? n . fn ? 1 : n . length : 0 } , l . prototype . emit = function ( t , e , n , i , s , a ) { var o = r ? r + t : t ; if ( ! this . _events [ o ] ) return ! 1 ; var h , l , u = this . _events [ o ] , c = arguments . length ; if ( u . fn ) { switch ( u . once && this . removeListener ( t , u . fn , void 0 , ! 0 ) , c ) { case 1 : return u . fn . call ( u . context ) , ! 0 ; case 2 : return u . fn . call ( u . context , e ) , ! 0 ; case 3 : return u . fn . call ( u . context , e , n ) , ! 0 ; case 4 : return u . fn . call ( u . context , e , n , i ) , ! 0 ; case 5 : return u . fn . call ( u . context , e , n , i , s ) , ! 0 ; case 6 : return u . fn . call ( u . context , e , n , i , s , a ) , ! 0 } for ( l = 1 , h = new Array ( c - 1 ) ; l < c ; l ++ ) h [ l - 1 ] = arguments [ l ] ; u . fn . apply ( u . context , h ) } else { var f , d = u . length ; for ( l = 0 ; l < d ; l ++ ) switch ( u [ l ] . once && this . removeListener ( t , u [ l ] . fn , void 0 , ! 0 ) , c ) { case 1 : u [ l ] . fn . call ( u [ l ] . context ) ; break ; case 2 : u [ l ] . fn . call ( u [ l ] . context , e ) ; break ; case 3 : u [ l ] . fn . call ( u [ l ] . context , e , n ) ; break ; case 4 : u [ l ] . fn . call ( u [ l ] . context , e , n , i ) ; break ; default : if ( ! h ) for ( f = 1 , h = new Array ( c - 1 ) ; f < c ; f ++ ) h [ f - 1 ] = arguments [ f ] ; u [ l ] . fn . apply ( u [ l ] . context , h ) } } return ! 0 } , l . prototype . on = function ( t , e , n ) { return o ( this , t , e , n , ! 1 ) } , l . prototype . once = function ( t , e , n ) { return o ( this , t , e , n , ! 0 ) } , l . prototype . removeListener = function ( t , e , n , i ) { var s = r ? r + t : t ; if ( ! this . _events [ s ] ) return this ; if ( ! e ) return h ( this , s ) , this ; var a = this . _events [ s ] ; if ( a . fn ) a . fn !== e || i && ! a . once || n && a . context !== n || h ( this , s ) ; else { for ( var o = 0 , l = [ ] , u = a . length ; o < u ; o ++ ) ( a [ o ] . fn !== e || i && ! a [ o ] . once || n && a [ o ] . context !== n ) && l . push ( a [ o ] ) ; l . length ? this . _events [ s ] = 1 === l . length ? l [ 0 ] : l : h ( this , s ) } return this } , l . prototype . removeAllListeners = function ( t ) { var e ; return t ? ( e = r ? r + t : t , this . _events [ e ] && h ( this , e ) ) : ( this . _events = new s , this . _eventsCount = 0 ) , this } , l . prototype . off = l . prototype . removeListener , l . prototype . addListener = l . prototype . on , l . prefixed = r , l . EventEmitter = l , t . exports = l } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "addedtoscene" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "destroy" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "removedfromscene" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "complete" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "created" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "error" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "loop" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "play" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "seeked" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "seeking" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "stop" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "timeout" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "unlocked" } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { COMPLETE : n ( 248 ) , DISPOSE : n ( 249 ) , END : n ( 250 ) , EVENT : n ( 251 ) , INTERRUPTED : n ( 252 ) , START : n ( 253 ) } } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "complete" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "dispose" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "end" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "event" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "interrupted" } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = "start" } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
* /
var i = n ( 1 ) , r = n ( 1 ) , s = n ( 1 ) ; r = n ( 255 ) , t . exports = { renderWebGL : i , renderCanvas : r , renderDirect : s } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
* /
var i = n ( 18 ) , r = n ( 22 ) , s = n ( 13 ) ; t . exports = function ( t , e , n , a ) { var o = t . currentContext , h = e . plugin , l = e . skeleton , u = h . skeletonRenderer , c = t . _tempMatrix1 , f = t . _tempMatrix2 , d = t . _tempMatrix3 ; n . addToRenderList ( e ) , f . applyITRS ( e . x , e . y , e . rotation , Math . abs ( e . scaleX ) , Math . abs ( e . scaleY ) ) , c . copyFrom ( n . matrix ) , a ? ( c . multiplyWithOffset ( a , - n . scrollX * e . scrollFactorX , - n . scrollY * e . scrollFactorY ) , f . e = e . x , f . f = e . y , c . multiply ( f , d ) ) : ( f . e -= n . scrollX * e . scrollFactorX , f . f -= n . scrollY * e . scrollFactorY , c . multiply ( f , d ) ) , l . x = d . tx , l . y = d . ty , l . scaleX = d . scaleX , l . scaleY = - 1 * d . scaleY , e . scaleX < 0 ? ( l . scaleX *= - 1 , e . root . rotation = r ( d . rotationNormalized ) ) : e . root . rotation = s ( r ( i ( d . rotationNormalized ) ) + 90 , 0 , 360 ) , e . scaleY < 0 && ( l . scaleY *= - 1 , e . scaleX < 0 ? e . root . rotation -= 2 * r ( d . rotationNormalized ) : e . root . rotation += 2 * r ( d . rotationNormalized ) ) , n . renderToTexture && ( l . y = d . ty , l . scaleY *= - 1 ) , l . updateWorldTransform ( ) , u . ctx = o , u . debugRendering = h . drawDebug || e . drawDebug , o . save ( ) , u . draw ( l ) , o . restore ( ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
* /
var i = n ( 0 ) , r = n ( 257 ) , s = n ( 342 ) , a = new i ( { Extends : r , Mixins : [ s ] , initialize : function ( t , e , n , i , s ) { r . call ( this , t , n , i , s ) , this . type = "Spine" , this . plugin = e } , preDestroy : function ( ) { this . removeAll ( ! ! this . exclusive ) , this . localTransform . destroy ( ) , this . tempTransformMatrix . destroy ( ) , this . list = [ ] , this . _displayList = null , this . plugin = null } } ) ; t . exports = a } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ author Felipe Alfonso < @ bitnenfer >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 258 ) , r = n ( 12 ) , s = n ( 0 ) , a = n ( 309 ) , o = n ( 59 ) , h = n ( 57 ) , l = n ( 28 ) , u = n ( 339 ) , c = n ( 341 ) , f = n ( 2 ) , d = new s ( { Extends : h , Mixins : [ a . AlphaSingle , a . BlendMode , a . ComputedSize , a . Depth , a . Mask , a . Pipeline , a . Transform , a . Visible , u ] , initialize : function ( t , e , n , i ) { h . call ( this , t , "Container" ) , this . list = [ ] , this . exclusive = ! 0 , this . maxSize = - 1 , this . position = 0 , this . localTransform = new a . TransformMatrix , this . tempTransformMatrix = new a . TransformMatrix , this . _sortKey = "" , this . _sysEvents = t . sys . events , this . scrollFactorX = 1 , this . scrollFactorY = 1 , this . initPipeline ( ) , this . setPosition ( e , n ) , this . clearAlpha ( ) , this . setBlendMode ( r . SKIP _CHECK ) , i && this . add ( i ) } , originX : { get : function ( ) { return . 5 } } , originY : { get : function ( ) { return . 5 } } , displayOriginX : { get : function ( ) { return . 5 * this . width } } , displayOriginY : { get : function ( ) { return . 5 * this . height } } , setExclusive : function ( t ) { return void 0 === t && ( t = ! 0 ) , this . exclusive = t , this } , getBounds : function ( t ) { if ( void 0 === t && ( t = new l ) , t . setTo ( this . x , this . y , 0 , 0 ) , this . parentContainer ) { var e = this . parentContainer . getBoundsTransformMatrix ( ) . transformPoint ( this . x , this . y ) ; t . setTo ( e . x , e . y , 0 , 0 ) } if ( this . list . length > 0 ) { var n = this . list , i = new l , r = ! 1 ; t . setEmpty ( ) ; for ( var s = 0 ; s < n . length ; s ++ ) { var a = n [ s ] ; a . getBounds && ( a . getBounds ( i ) , r ? c ( i , t , t ) : ( t . setTo ( i . x , i . y , i . width , i . height ) , r = ! 0 ) ) } } return t } , addHandler : function ( t ) { t . once ( o . DESTROY , this . remove , this ) , this . exclusive && ( t . parentContainer && t . parentContainer . remove ( t ) , t . parentContainer = this , t . removeFromDisplayList ( ) , t . addedToScene ( ) ) } , removeHandler : function ( t ) { t . off ( o . DESTROY , this . remove , this ) , this . exclusive && ( t . parentContainer = null , t . removedFromScene ( ) , t . addToDisplayList ( ) ) } , pointToContainer : function ( t , e ) { void 0 === e && ( e = new f ) , this . parentContainer ? this . parentContainer . pointToContainer ( t , e ) : ( e . x = t . x , e . y = t . y ) ; var n = this . tempTransformMatrix ; return n . applyITRS ( this . x , this . y , this . rotation , this . scaleX , this . scaleY ) , n . invert ( ) , n . transformPoint ( t . x , t . y , e ) , e } , getBoundsTransformMatrix : function ( ) { return this . getWorldTransformMatrix ( this . tempTransformMatrix , this . localTransform ) } , add : function ( t ) { return i . Add ( this . list , t , this . maxSize , this . addHandler , this ) , this } , addAt : function ( t , e ) { return i . AddAt ( this . list , t , e , this . maxSize , this . addHandler , this ) , this } , getAt : function ( t ) { return this . list [ t ] } , getIndex : function ( t ) { return this . list . indexOf ( t ) } , sort : function ( t , e ) { return t ? ( void 0 === e && ( e = function ( e , n ) { return e [ t ] - n [ t ] } ) , i . StableSort ( this . list , e ) , this ) : this } , getByName : function ( t ) { return i . GetFirst ( this . list , "name" , t ) } , getRandom : function ( t , e ) { return i . GetRandom ( this . list , t , e ) } , getFirst : function ( t , e , n , r ) { return i . GetFirst ( this . list , t , e , n , r ) } , getAll : function ( t , e , n , r ) { return i . GetAll ( this . list , t , e , n , r ) } , count : function ( t , e , n , r ) { return i . CountAllMatching ( this . list , t , e , n , r ) } , swap : function ( t , e ) { return i . Swap ( this . list , t , e ) , this } , moveTo : function ( t , e ) { return i . MoveTo ( this . list , t , e ) , this } , moveAbove : function ( t , e ) { return i . MoveAbove ( this . list , t , e ) , this } , moveBelow : function ( t , e ) { return i . MoveBelow ( this . list , t , e ) , this } , remove : function ( t , e ) { var n = i . Remove ( this . list , t , this . removeHandler , this ) ; if ( e && n ) { Array . isArray ( n ) || ( n = [ n ] ) ; for ( var r = 0 ; r < n . length ; r ++ ) n [ r ] . destroy ( ) } return this } , removeAt : function ( t , e ) { var n = i . RemoveAt ( this . list , t , this . removeHandler , this ) ; return e && n && n . destroy ( ) , this } , removeBetween : function ( t , e , n ) { var r = i . RemoveBetween ( this . list , t , e , this . removeHandler , this ) ; if ( n ) for ( var s = 0 ; s < r . length ; s ++ ) r [ s ] . destroy ( ) ; return this } , removeAll : function ( t ) { var e = this . list ; if ( t ) { for ( var n = 0 ; n < e . length ; n ++ ) e [ n ] && e [ n ] . scene && ( e [ n ] . off ( o . DESTROY , this . remove , this ) , e [ n ] . destroy ( ) ) ; this . list = [ ] } else i . RemoveBetween ( e , 0 , e . length , this . removeHandler , this ) ; return this } , bringToTop : function ( t ) { return i . BringToTop ( this . list , t ) , this } , sendToBack : function ( t ) { return i . SendToBack ( this . list , t ) , this } , moveUp : function ( t ) { return i . MoveUp ( this . list , t ) , this } , moveDown : function ( t ) { return i . MoveDown ( this . list , t ) , this } , reverse : function ( ) { return this . list . reverse ( ) , this } , shuffle : function ( ) { return i . Shuffle ( this . list ) , this } , replace : function ( t , e , n ) { return i . Replace ( this . list , t , e ) && ( this . addHandler ( e ) , this . removeHandler ( t ) , n && t . destroy ( ) ) , this } , exists : function ( t ) { return this . list . indexOf ( t ) > - 1 } , setAll : fu
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { Matrix : n ( 259 ) , Add : n ( 268 ) , AddAt : n ( 269 ) , BringToTop : n ( 270 ) , CountAllMatching : n ( 271 ) , Each : n ( 272 ) , EachInRange : n ( 273 ) , FindClosestInSorted : n ( 274 ) , Flatten : n ( 275 ) , GetAll : n ( 276 ) , GetFirst : n ( 277 ) , GetRandom : n ( 278 ) , MoveDown : n ( 279 ) , MoveTo : n ( 280 ) , MoveUp : n ( 281 ) , MoveAbove : n ( 282 ) , MoveBelow : n ( 283 ) , NumberArray : n ( 284 ) , NumberArrayStep : n ( 285 ) , QuickSelect : n ( 286 ) , Range : n ( 287 ) , Remove : n ( 288 ) , RemoveAt : n ( 289 ) , RemoveBetween : n ( 290 ) , RemoveRandomElement : n ( 291 ) , Replace : n ( 292 ) , RotateLeft : n ( 61 ) , RotateRight : n ( 62 ) , SafeRange : n ( 5 ) , SendToBack : n ( 293 ) , SetAll : n ( 294 ) , Shuffle : n ( 63 ) , SortByDigits : n ( 295 ) , SpliceOne : n ( 10 ) , StableSort : n ( 296 ) , Swap : n ( 308 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { CheckMatrix : n ( 26 ) , MatrixToString : n ( 260 ) , ReverseColumns : n ( 262 ) , ReverseRows : n ( 263 ) , Rotate180 : n ( 264 ) , RotateLeft : n ( 265 ) , RotateMatrix : n ( 15 ) , RotateRight : n ( 266 ) , Translate : n ( 267 ) , TransposeMatrix : n ( 60 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 261 ) , r = n ( 26 ) ; t . exports = function ( t ) { var e = "" ; if ( ! r ( t ) ) return e ; for ( var n = 0 ; n < t . length ; n ++ ) { for ( var s = 0 ; s < t [ n ] . length ; s ++ ) { var a = t [ n ] [ s ] . toString ( ) ; e += "undefined" !== a ? i ( a , 2 ) : "?" , s < t [ n ] . length - 1 && ( e += " |" ) } if ( n < t . length - 1 ) { e += "\n" ; for ( var o = 0 ; o < t [ n ] . length ; o ++ ) e += "---" , o < t [ n ] . length - 1 && ( e += "+" ) ; e += "\n" } } return e } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { void 0 === e && ( e = 0 ) , void 0 === n && ( n = " " ) , void 0 === i && ( i = 3 ) ; var r = 0 ; if ( e + 1 >= ( t = t . toString ( ) ) . length ) switch ( i ) { case 1 : t = new Array ( e + 1 - t . length ) . join ( n ) + t ; break ; case 3 : var s = Math . ceil ( ( r = e - t . length ) / 2 ) ; t = new Array ( r - s + 1 ) . join ( n ) + t + new Array ( s + 1 ) . join ( n ) ; break ; default : t += new Array ( e + 1 - t . length ) . join ( n ) } return t } } , function ( t , e ) { t . exports = function ( t ) { return t . reverse ( ) } } , function ( t , e ) { t . exports = function ( t ) { for ( var e = 0 ; e < t . length ; e ++ ) t [ e ] . reverse ( ) ; return t } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 15 ) ; t . exports = function ( t ) { return i ( t , 180 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 15 ) ; t . exports = function ( t ) { return i ( t , 90 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 15 ) ; t . exports = function ( t ) { return i ( t , - 90 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 61 ) , r = n ( 62 ) ; t . exports = function ( t , e , n ) { if ( void 0 === e && ( e = 0 ) , void 0 === n && ( n = 0 ) , 0 !== n && ( n < 0 ? i ( t , Math . abs ( n ) ) : r ( t , n ) ) , 0 !== e ) for ( var s = 0 ; s < t . length ; s ++ ) { var a = t [ s ] ; e < 0 ? i ( a , Math . abs ( e ) ) : r ( a , e ) } return t } } , function ( t , e ) { t . exports = function ( t , e , n , i , r ) { if ( void 0 === r && ( r = t ) , n > 0 ) { var s = n - t . length ; if ( s <= 0 ) return null } if ( ! Array . isArray ( e ) ) return - 1 === t . indexOf ( e ) ? ( t . push ( e ) , i && i . call ( r , e ) , e ) : null ; for ( var a = e . length - 1 ; a >= 0 ; ) - 1 !== t . indexOf ( e [ a ] ) && e . splice ( a , 1 ) , a -- ; if ( 0 === ( a = e . length ) ) return null ; n > 0 && a > s && ( e . splice ( s ) , a = s ) ; for ( var o = 0 ; o < a ; o ++ ) { var h = e [ o ] ; t . push ( h ) , i && i . call ( r , h ) } return e } } , function ( t , e ) { t . exports = function ( t , e , n , i , r , s ) { if ( void 0 === n && ( n = 0 ) , void 0 === s && ( s = t ) , i > 0 ) { var a = i - t . length ; if ( a <= 0 ) return null } if ( ! Array . isArray ( e ) ) return - 1 === t . indexOf ( e ) ? ( t . splice ( n , 0 , e ) , r && r . call ( s , e ) , e ) : null ; for ( var o = e . length - 1 ; o >= 0 ; ) - 1 !== t . indexOf ( e [ o ] ) && e . pop ( ) , o -- ; if ( 0 === ( o = e . length ) ) return null ; i > 0 && o > a && ( e . splice ( a ) , o = a ) ; for ( var h = o - 1 ; h >= 0 ; h -- ) { var l = e [ h ] ; t . splice ( n , 0 , l ) , r && r . call ( s , l ) } return e } } , function ( t , e ) { t . exports = function ( t , e ) { var n = t . indexOf ( e ) ; return - 1 !== n && n < t . length && ( t . splice ( n , 1 ) , t . push ( e ) ) , e } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 5 ) ; t . exports = function ( t , e , n , r , s ) { void 0 === r && ( r = 0 ) , void 0 === s && ( s = t . length ) ; var a = 0 ; if ( i ( t , r , s ) ) for ( var o = r ; o < s ; o ++ ) { t [ o ] [ e ] === n && a ++ } return a } } , function ( t , e ) { t . exports = function ( t , e , n ) { var i , r = [ null ] ; for ( i = 3 ; i < arguments . length ; i ++ ) r . push ( arguments [ i ] ) ; for ( i = 0 ; i < t . length ; i ++ ) r [ 0 ] = t [ i ] , e . apply ( n , r ) ; return t } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 5 ) ; t . exports = function ( t , e , n , r , s ) { if ( void 0 === r && ( r = 0 ) , void 0 === s && ( s = t . length ) , i ( t , r , s ) ) { var a , o = [ null ] ; for ( a = 5 ; a < arguments . length ; a ++ ) o . push ( arguments [ a ] ) ; for ( a = r ; a < s ; a ++ ) o [ 0 ] = t [ a ] , e . apply ( n , o ) } return t } } , function ( t , e ) { t . exports = function ( t , e , n ) { if ( ! e . length ) return NaN ; if ( 1 === e . length ) return e [ 0 ] ; var i , r , s = 1 ; if ( n ) { if ( t < e [ 0 ] [ n ] ) return e [ 0 ] ; for ( ; e [ s ] [ n ] < t ; ) s ++ } else for ( ; e [ s ] < t ; ) s ++ ; return s > e . length && ( s = e . length ) , n ? ( i = e [ s - 1 ] [ n ] , ( r = e [ s ] [ n ] ) - t <= t - i ? e [ s ] : e [ s - 1 ] ) : ( i = e [ s - 1 ] , ( r = e [ s ] ) - t <= t - i ? r : i ) } } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = function ( t , e ) { void 0 === e && ( e = [ ] ) ; for ( var i = 0 ; i < t . length ; i ++ ) Array . isArray ( t [ i ] ) ? n ( t [ i ] , e ) : e . push ( t [ i ] ) ; return e } ; t . exports = n } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 5 ) ; t . exports = function ( t , e , n , r , s ) { void 0 === r && ( r = 0 ) , void 0 === s && ( s = t . length ) ; var a = [ ] ; if ( i ( t , r , s ) ) for ( var o = r ; o < s ; o ++ ) { var h = t [ o ] ; ( ! e || e && void 0 === n && h . hasOwnProperty ( e ) || e && void 0 !== n && h [ e ] === n ) && a . push ( h ) } return a } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 5 ) ; t . exports = function ( t , e , n , r , s ) { if ( void 0 === r && ( r = 0 ) , void 0 === s && ( s = t . length ) , i ( t , r , s ) ) for ( var a = r ; a < s ; a ++ ) { var o = t [ a ] ; if ( ! e || e && void 0 === n && o . hasOwnProperty ( e ) || e && void 0 !== n && o [ e ] === n ) return o } return null } } , function ( t , e ) { t . exports = function ( t , e , n ) { void 0 === e && ( e = 0 ) , void 0 === n && ( n = t . length ) ; var i = e + Math . floor ( Math . random ( ) * n ) ; return void 0 === t [ i ] ? null : t [ i ] } } , function ( t , e ) { t . exports = function ( t , e ) { var n = t . indexOf ( e ) ; if ( n > 0 ) { var i = t [ n - 1 ] , r = t . indexOf ( i ) ; t [ n ] = i , t [ r ] = e } return t } } , function ( t , e ) { t . exports = function ( t , e , n ) { var i = t . indexOf ( e ) ; if ( - 1 === i || n < 0 || n >= t . length ) throw new Error ( "Supplied index out of bounds" ) ; return i !== n && ( t . splice ( i , 1 ) , t . splice ( n , 0 , e ) ) , e } } , function ( t , e ) { t . exports = function ( t , e ) { var n = t . indexOf ( e ) ; if ( - 1 !== n && n < t . length - 1 ) { var i = t [ n + 1 ] , r = t . indexOf ( i ) ; t [ n ] = i , t [ r ] = e } return t } } , function ( t , e ) { t . exports = function ( t , e , n ) { if ( e === n ) return t ; var i = t . indexOf ( e ) , r = t . indexOf ( n ) ; if ( i < 0 || r < 0 ) throw new Error ( "Supplied items must be elements of the same array" ) ; return i > r || ( t . splice ( i , 1 ) , r === t . length - 1 ? t . push ( e ) : t . splice ( r , 0 , e ) ) , t } } , function ( t , e ) { t . exports = function ( t , e , n ) { if ( e === n ) return t ; var i = t . indexOf ( e ) , r = t . indexOf ( n ) ; if ( i < 0 || r < 0 ) throw new Error ( "Supplied items must be elements of the same array" ) ; return i < r || ( t . splice ( i , 1 ) , 0 === r ? t . unshift ( e ) : t . splice ( r , 0 , e ) ) , t } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { var r , s = [ ] , a = ! 1 ; if ( ( n || i ) && ( a = ! 0 , n || ( n = "" ) , i || ( i = "" ) ) , e < t ) for ( r = t ; r >= e ; r -- ) a ? s . push ( n + r . toString ( ) + i ) : s . push ( r ) ; else for ( r = t ; r <= e ; r ++ ) a ? s . push ( n + r . toString ( ) + i ) : s . push ( r ) ; return s } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 42 ) ; t . exports = function ( t , e , n ) { void 0 === t && ( t = 0 ) , void 0 === e && ( e = null ) , void 0 === n && ( n = 1 ) , null === e && ( e = t , t = 0 ) ; for ( var r = [ ] , s = Math . max ( i ( ( e - t ) / ( n || 1 ) ) , 0 ) , a = 0 ; a < s ; a ++ ) r . push ( t ) , t += n ; return r } } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
function n ( t , e , n ) { var i = t [ e ] ; t [ e ] = t [ n ] , t [ n ] = i } function i ( t , e ) { return t < e ? - 1 : t > e ? 1 : 0 } var r = function ( t , e , s , a , o ) { for ( void 0 === s && ( s = 0 ) , void 0 === a && ( a = t . length - 1 ) , void 0 === o && ( o = i ) ; a > s ; ) { if ( a - s > 600 ) { var h = a - s + 1 , l = e - s + 1 , u = Math . log ( h ) , c = . 5 * Math . exp ( 2 * u / 3 ) , f = . 5 * Math . sqrt ( u * c * ( h - c ) / h ) * ( l - h / 2 < 0 ? - 1 : 1 ) , d = Math . max ( s , Math . floor ( e - l * c / h + f ) ) , p = Math . min ( a , Math . floor ( e + ( h - l ) * c / h + f ) ) ; r ( t , e , d , p , o ) } var v = t [ e ] , g = s , m = a ; for ( n ( t , s , e ) , o ( t [ a ] , v ) > 0 && n ( t , s , a ) ; g < m ; ) { for ( n ( t , g , m ) , g ++ , m -- ; o ( t [ g ] , v ) < 0 ; ) g ++ ; for ( ; o ( t [ m ] , v ) > 0 ; ) m -- } 0 === o ( t [ s ] , v ) ? n ( t , s , m ) : n ( t , ++ m , a ) , m <= e && ( s = m + 1 ) , e <= m && ( a = m - 1 ) } } ; t . exports = r } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 7 ) , r = n ( 63 ) , s = function ( t , e , n ) { for ( var i = [ ] , r = 0 ; r < t . length ; r ++ ) for ( var s = 0 ; s < e . length ; s ++ ) for ( var a = 0 ; a < n ; a ++ ) i . push ( { a : t [ r ] , b : e [ s ] } ) ; return i } ; t . exports = function ( t , e , n ) { var a = i ( n , "max" , 0 ) , o = i ( n , "qty" , 1 ) , h = i ( n , "random" , ! 1 ) , l = i ( n , "randomB" , ! 1 ) , u = i ( n , "repeat" , 0 ) , c = i ( n , "yoyo" , ! 1 ) , f = [ ] ; if ( l && r ( e ) , - 1 === u ) if ( 0 === a ) u = 0 ; else { var d = t . length * e . length * o ; c && ( d *= 2 ) , u = Math . ceil ( a / d ) } for ( var p = 0 ; p <= u ; p ++ ) { var v = s ( t , e , o ) ; h && r ( v ) , f = f . concat ( v ) , c && ( v . reverse ( ) , f = f . concat ( v ) ) } return a && f . splice ( a ) , f } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 10 ) ; t . exports = function ( t , e , n , r ) { var s ; if ( void 0 === r && ( r = t ) , ! Array . isArray ( e ) ) return - 1 !== ( s = t . indexOf ( e ) ) ? ( i ( t , s ) , n && n . call ( r , e ) , e ) : null ; for ( var a = e . length - 1 , o = [ ] ; a >= 0 ; ) { var h = e [ a ] ; - 1 !== ( s = t . indexOf ( h ) ) && ( i ( t , s ) , o . push ( h ) , n && n . call ( r , h ) ) , a -- } return o } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 10 ) ; t . exports = function ( t , e , n , r ) { if ( void 0 === r && ( r = t ) , e < 0 || e > t . length - 1 ) throw new Error ( "Index out of bounds" ) ; var s = i ( t , e ) ; return n && n . call ( r , s ) , s } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 5 ) ; t . exports = function ( t , e , n , r , s ) { if ( void 0 === e && ( e = 0 ) , void 0 === n && ( n = t . length ) , void 0 === s && ( s = t ) , i ( t , e , n ) ) { var a = n - e , o = t . splice ( e , a ) ; if ( r ) for ( var h = 0 ; h < o . length ; h ++ ) { var l = o [ h ] ; r . call ( s , l ) } return o } return [ ] } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 10 ) ; t . exports = function ( t , e , n ) { void 0 === e && ( e = 0 ) , void 0 === n && ( n = t . length ) ; var r = e + Math . floor ( Math . random ( ) * n ) ; return i ( t , r ) } } , function ( t , e ) { t . exports = function ( t , e , n ) { var i = t . indexOf ( e ) , r = t . indexOf ( n ) ; return - 1 !== i && - 1 === r && ( t [ i ] = n , ! 0 ) } } , function ( t , e ) { t . exports = function ( t , e ) { var n = t . indexOf ( e ) ; return - 1 !== n && n > 0 && ( t . splice ( n , 1 ) , t . unshift ( e ) ) , e } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 5 ) ; t . exports = function ( t , e , n , r , s ) { if ( void 0 === r && ( r = 0 ) , void 0 === s && ( s = t . length ) , i ( t , r , s ) ) for ( var a = r ; a < s ; a ++ ) { var o = t [ a ] ; o . hasOwnProperty ( e ) && ( o [ e ] = n ) } return t } } , function ( t , e ) { t . exports = function ( t ) { var e = /\D/g ; return t . sort ( ( function ( t , n ) { return parseInt ( t . replace ( e , "" ) , 10 ) - parseInt ( n . replace ( e , "" ) , 10 ) } ) ) , t } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ author Angry Bytes ( and contributors )
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 297 ) ; function r ( t , e ) { return String ( t ) . localeCompare ( e ) } function s ( t , e , n , i ) { var r , s , a , o , h , l = t . length , u = 0 , c = 2 * n ; for ( r = 0 ; r < l ; r += c ) for ( a = ( s = r + n ) + n , s > l && ( s = l ) , a > l && ( a = l ) , o = r , h = s ; ; ) if ( o < s && h < a ) e ( t [ o ] , t [ h ] ) <= 0 ? i [ u ++ ] = t [ o ++ ] : i [ u ++ ] = t [ h ++ ] ; else if ( o < s ) i [ u ++ ] = t [ o ++ ] ; else { if ( ! ( h < a ) ) break ; i [ u ++ ] = t [ h ++ ] } } t . exports = function ( t , e ) { if ( void 0 === e && ( e = r ) , ! t || t . length < 2 ) return t ; if ( i . features . stableSort ) return t . sort ( e ) ; var n = function ( t , e ) { var n = t . length ; if ( n <= 1 ) return t ; for ( var i = new Array ( n ) , r = 1 ; r < n ; r *= 2 ) { s ( t , e , r , i ) ; var a = t ; t = i , i = a } return t } ( t , e ) ; return n !== t && s ( n , null , t . length , t ) , t } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { os : n ( 27 ) , browser : n ( 16 ) , features : n ( 299 ) , input : n ( 303 ) , audio : n ( 304 ) , video : n ( 305 ) , fullscreen : n ( 306 ) , canvasFeatures : n ( 307 ) } } , function ( t , e ) { var n , i , r = t . exports = { } ; function s ( ) { throw new Error ( "setTimeout has not been defined" ) } function a ( ) { throw new Error ( "clearTimeout has not been defined" ) } function o ( t ) { if ( n === setTimeout ) return setTimeout ( t , 0 ) ; if ( ( n === s || ! n ) && setTimeout ) return n = setTimeout , setTimeout ( t , 0 ) ; try { return n ( t , 0 ) } catch ( e ) { try { return n . call ( null , t , 0 ) } catch ( e ) { return n . call ( this , t , 0 ) } } } ! function ( ) { try { n = "function" == typeof setTimeout ? setTimeout : s } catch ( t ) { n = s } try { i = "function" == typeof clearTimeout ? clearTimeout : a } catch ( t ) { i = a } } ( ) ; var h , l = [ ] , u = ! 1 , c = - 1 ; function f ( ) { u && h && ( u = ! 1 , h . length ? l = h . concat ( l ) : c = - 1 , l . length && d ( ) ) } function d ( ) { if ( ! u ) { var t = o ( f ) ; u = ! 0 ; for ( var e = l . length ; e ; ) { for ( h = l , l = [ ] ; ++ c < e ; ) h && h [ c ] . run ( ) ; c = - 1 , e = l . length } h = null , u = ! 1 , function ( t ) { if ( i === clearTimeout ) return clearTimeout ( t ) ; if ( ( i === a || ! i ) && clearTimeout ) return i = clearTimeout , clearTimeout ( t ) ; try { i ( t ) } catch ( e ) { try { return i . call ( null , t ) } catch ( e ) { return i . call ( this , t ) } } } ( t ) } } function p ( t , e ) { this . fun = t , this . array = e } function v ( ) { } r . nextTick = function ( t ) { var e = new Array ( arguments . length - 1 ) ; if ( arguments . length > 1 ) for ( var n = 1 ; n < arguments . length ; n ++ ) e [ n - 1 ] = arguments [ n ] ; l . push ( new p ( t , e ) ) , 1 !== l . length || u || o ( d ) } , p . prototype . run = function ( ) { this . fun . apply ( null , this . array ) } , r . title = "browser" , r . browser = ! 0 , r . env = { } , r . argv = [ ] , r . version = "" , r . versions = { } , r . on = v , r . addListener = v , r . once = v , r . off = v , r . removeListener = v , r . removeAllListeners = v , r . emit = v , r . prependListener = v , r . prependOnceListener = v , r . listeners = function ( t ) { return [ ] } , r . binding = function ( t ) { throw new Error ( "process.binding is not supported" ) } , r . cwd = function ( ) { return "/" } , r . chdir = function ( t ) { throw new Error ( "process.chdir is not supported" ) } , r . umask = function ( ) { return 0 } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 27 ) , r = n ( 16 ) , s = n ( 64 ) , a = { canvas : ! 1 , canvasBitBltShift : null , file : ! 1 , fileSystem : ! 1 , getUserMedia : ! 0 , littleEndian : ! 1 , localStorage : ! 1 , pointerLock : ! 1 , stableSort : ! 1 , support32bit : ! 1 , vibration : ! 1 , webGL : ! 1 , worker : ! 1 } ; t . exports = function ( ) { if ( "function" == typeof importScripts ) return a ; a . canvas = ! ! window . CanvasRenderingContext2D ; try { a . localStorage = ! ! localStorage . getItem } catch ( t ) { a . localStorage = ! 1 } a . file = ! ! ( window . File && window . FileReader && window . FileList && window . Blob ) , a . fileSystem = ! ! window . requestFileSystem ; var t , e , n , o = ! 1 ; return a . webGL = function ( ) { if ( window . WebGLRenderingContext ) try { var t = s . createWebGL ( this ) , e = t . getContext ( "webgl" ) || t . getContext ( "experimental-webgl" ) , n = s . create2D ( this ) , i = n . getContext ( "2d" , { willReadFrequently : ! 0 } ) . createImageData ( 1 , 1 ) ; return o = i . data instanceof Uint8ClampedArray , s . remove ( t ) , s . remove ( n ) , ! ! e } catch ( t ) { return ! 1 } return ! 1 } ( ) , a . worker = ! ! window . Worker , a . pointerLock = "pointerLockElement" in document || "mozPointerLockElement" in document || "webkitPointerLockElement" in document , navigator . getUserMedia = navigator . getUserMedia || navigator . webkitGetUserMedia || navigator . mozGetUserMedia || navigator . msGetUserMedia || navigator . oGetUserMedia , window . URL = window . URL || window . webkitURL || window . mozURL || window . msURL , a . getUserMedia = a . getUserMedia && ! ! navigator . getUserMedia && ! ! window . URL , r . firefox && r . firefoxVersion < 21 && ( a . getUserMedia = ! 1 ) , ! i . iOS && ( r . ie || r . firefox || r . chrome ) && ( a . canvasBitBltShift = ! 0 ) , ( r . safari || r . mobileSafari ) && ( a . canvasBitBltShift = ! 1 ) , navigator . vibrate = navigator . vibrate || navigator . webkitVibrate || navigator . mozVibrate || navigator . msVibrate , navigator . vibrate && ( a . vibration = ! 0 ) , "undefined" != typeof ArrayBuffer && "undefined" != typeof Uint8Array && "undefined" != typeof Uint32Array && ( a . littleEndian = ( t = new ArrayBuffer ( 4 ) , e = new Uint8Array ( t ) , n = new Uint32Array ( t ) , e [ 0 ] = 161 , e [ 1 ] = 178 , e [ 2 ] = 195 , e [ 3 ] = 212 , 3569595041 === n [ 0 ] || 2712847316 !== n [ 0 ] && null ) ) , a . support32bit = "undefined" != typeof ArrayBuffer && "undefined" != typeof Uint8ClampedArray && "undefined" != typeof Int32Array && null !== a . littleEndian && o , a } ( ) } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = { VERSION : "3.60.0-beta.18" , BlendModes : n ( 12 ) , ScaleModes : n ( 301 ) , AUTO : 0 , CANVAS : 1 , WEBGL : 2 , HEADLESS : 3 , FOREVER : - 1 , NONE : 4 , UP : 5 , DOWN : 6 , LEFT : 7 , RIGHT : 8 } ; t . exports = i } , function ( t , e ) { t . exports = { DEFAULT : 0 , LINEAR : 0 , NEAREST : 1 } } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n , i = "" ; t . exports = { disable : function ( t ) { return "" === i && ( i = n ( t ) ) , i && ( t [ i ] = ! 1 ) , t } , enable : function ( t ) { return "" === i && ( i = n ( t ) ) , i && ( t [ i ] = ! 0 ) , t } , getPrefix : n = function ( t ) { for ( var e = [ "i" , "webkitI" , "msI" , "mozI" , "oI" ] , n = 0 ; n < e . length ; n ++ ) { var i = e [ n ] + "mageSmoothingEnabled" ; if ( i in t ) return i } return null } , isEnabled : function ( t ) { return null !== i ? t [ i ] : null } } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 16 ) , r = { gamepads : ! 1 , mspointer : ! 1 , touch : ! 1 , wheelEvent : null } ; t . exports = ( "function" == typeof importScripts || ( ( "ontouchstart" in document . documentElement || navigator . maxTouchPoints && navigator . maxTouchPoints >= 1 ) && ( r . touch = ! 0 ) , ( navigator . msPointerEnabled || navigator . pointerEnabled ) && ( r . mspointer = ! 0 ) , navigator . getGamepads && ( r . gamepads = ! 0 ) , "onwheel" in window || i . ie && "WheelEvent" in window ? r . wheelEvent = "wheel" : "onmousewheel" in window ? r . wheelEvent = "mousewheel" : i . firefox && "MouseScrollEvent" in window && ( r . wheelEvent = "DOMMouseScroll" ) ) , r ) } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 16 ) , r = { flac : ! 1 , aac : ! 1 , audioData : ! 1 , dolby : ! 1 , m4a : ! 1 , mp3 : ! 1 , ogg : ! 1 , opus : ! 1 , wav : ! 1 , webAudio : ! 1 , webm : ! 1 } ; t . exports = function ( ) { if ( "function" == typeof importScripts ) return r ; r . audioData = ! ! window . Audio , r . webAudio = ! ( ! window . AudioContext && ! window . webkitAudioContext ) ; var t = document . createElement ( "audio" ) , e = ! ! t . canPlayType ; try { if ( e ) { var n = function ( e , n ) { var i = t . canPlayType ( "audio/" + e ) . replace ( /^no$/ , "" ) ; return n ? Boolean ( i || t . canPlayType ( "audio/" + n ) . replace ( /^no$/ , "" ) ) : Boolean ( i ) } ; if ( r . ogg = n ( 'ogg; codecs="vorbis"' ) , r . opus = n ( 'ogg; codecs="opus"' , "opus" ) , r . mp3 = n ( "mpeg" ) , r . wav = n ( "wav" ) , r . m4a = n ( "x-m4a" ) , r . aac = n ( "aac" ) , r . flac = n ( "flac" , "x-flac" ) , r . webm = n ( 'webm; codecs="vorbis"' ) , "" !== t . canPlayType ( 'audio/mp4; codecs="ec-3"' ) ) if ( i . edge ) r . dolby = ! 0 ; else if ( i . safari && i . safariVersion >= 9 && /Mac OS X (\d+)_(\d+)/ . test ( navigator . userAgent ) ) { var s = parseInt ( RegExp . $1 , 10 ) , a = parseInt ( RegExp . $2 , 10 ) ; ( 10 === s && a >= 11 || s > 10 ) && ( r . dolby = ! 0 ) } } } catch ( t ) { } return r } ( ) } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { h264 : ! 1 , hls : ! 1 , mp4 : ! 1 , m4v : ! 1 , ogg : ! 1 , vp9 : ! 1 , webm : ! 1 } ; t . exports = function ( ) { if ( "function" == typeof importScripts ) return n ; var t = document . createElement ( "video" ) , e = ! ! t . canPlayType , i = /^no$/ ; try { e && ( t . canPlayType ( 'video/ogg; codecs="theora"' ) . replace ( i , "" ) && ( n . ogg = ! 0 ) , t . canPlayType ( 'video/mp4; codecs="avc1.42E01E"' ) . replace ( i , "" ) && ( n . h264 = ! 0 , n . mp4 = ! 0 ) , t . canPlayType ( "video/x-m4v" ) . replace ( i , "" ) && ( n . m4v = ! 0 ) , t . canPlayType ( 'video/webm; codecs="vp8, vorbis"' ) . replace ( i , "" ) && ( n . webm = ! 0 ) , t . canPlayType ( 'video/webm; codecs="vp9"' ) . replace ( i , "" ) && ( n . vp9 = ! 0 ) , t . canPlayType ( 'application/x-mpegURL; codecs="avc1.42E01E"' ) . replace ( i , "" ) && ( n . hls = ! 0 ) ) } catch ( t ) { } return n } ( ) } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { available : ! 1 , cancel : "" , keyboard : ! 1 , request : "" } ; t . exports = function ( ) { if ( "function" == typeof importScripts ) return n ; var t , e = "Fullscreen" , i = "FullScreen" , r = [ "request" + e , "request" + i , "webkitRequest" + e , "webkitRequest" + i , "msRequest" + e , "msRequest" + i , "mozRequest" + i , "mozRequest" + e ] ; for ( t = 0 ; t < r . length ; t ++ ) if ( document . documentElement [ r [ t ] ] ) { n . available = ! 0 , n . request = r [ t ] ; break } var s = [ "cancel" + i , "exit" + e , "webkitCancel" + i , "webkitExit" + e , "msCancel" + i , "msExit" + e , "mozCancel" + i , "mozExit" + e ] ; if ( n . available ) for ( t = 0 ; t < s . length ; t ++ ) if ( document [ s [ t ] ] ) { n . cancel = s [ t ] ; break } return window . Element && Element . ALLOW _KEYBOARD _INPUT && ! / Version\/5\.1(?:\.\d+)? Safari\// . test ( navigator . userAgent ) && ( n . keyboard = ! 0 ) , Object . defineProperty ( n , "active" , { get : function ( ) { return ! ! ( document . fullscreenElement || document . webkitFullscreenElement || document . mozFullScreenElement || document . msFullscreenElement ) } } ) , n } ( ) } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i , r , s , a = n ( 64 ) , o = { supportInverseAlpha : ! 1 , supportNewBlendModes : ! 1 } ; t . exports = ( "function" != typeof importScripts && void 0 !== document && ( o . supportNewBlendModes = ( i = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABAQMAAADD8p2OAAAAA1BMVEX/" , r = "AAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg==" , ( s = new Image ) . onload = function ( ) { var t = new Image ; t . onload = function ( ) { var e = a . create2D ( t , 6 ) . getContext ( "2d" , { willReadFrequently : ! 0 } ) ; if ( e . globalCompositeOperation = "multiply" , e . drawImage ( s , 0 , 0 ) , e . drawImage ( t , 2 , 0 ) , ! e . getImageData ( 2 , 0 , 1 , 1 ) ) return ! 1 ; var n = e . getImageData ( 2 , 0 , 1 , 1 ) . data ; a . remove ( t ) , o . supportNewBlendModes = 255 === n [ 0 ] && 0 === n [ 1 ] && 0 === n [ 2 ] } , t . src = i + "/wCKxvRF" + r } , s . src = i + "AP804Oa6" + r , ! 1 ) , o . supportInverseAlpha = function ( ) { var t = a . create2D ( this , 2 ) . getContext ( "2d" , { willReadFrequently : ! 0 } ) ; t . fillStyle = "rgba(10, 20, 30, 0.5)" , t . fillRect ( 0 , 0 , 1 , 1 ) ; var e = t . getImageData ( 0 , 0 , 1 , 1 ) ; if ( null === e ) return ! 1 ; t . putImageData ( e , 1 , 0 ) ; var n = t . getImageData ( 1 , 0 , 1 , 1 ) , i = n . data [ 0 ] === e . data [ 0 ] && n . data [ 1 ] === e . data [ 1 ] && n . data [ 2 ] === e . data [ 2 ] && n . data [ 3 ] === e . data [ 3 ] ; return a . remove ( this ) , i } ( ) ) , o ) } , function ( t , e ) { t . exports = function ( t , e , n ) { if ( e === n ) return t ; var i = t . indexOf ( e ) , r = t . indexOf ( n ) ; if ( i < 0 || r < 0 ) throw new Error ( "Supplied items must be elements of the same array" ) ; return t [ i ] = n , t [ r ] = e , t } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
t . exports = { Alpha : n ( 310 ) , AlphaSingle : n ( 311 ) , BlendMode : n ( 312 ) , ComputedSize : n ( 50 ) , Crop : n ( 313 ) , Depth : n ( 51 ) , Flip : n ( 52 ) , FX : n ( 314 ) , GetBounds : n ( 315 ) , Mask : n ( 324 ) , Origin : n ( 329 ) , PathFollower : n ( 330 ) , Pipeline : n ( 333 ) , ScrollFactor : n ( 53 ) , Size : n ( 335 ) , Texture : n ( 336 ) , TextureCrop : n ( 337 ) , Tint : n ( 338 ) , ToJSON : n ( 58 ) , Transform : n ( 54 ) , TransformMatrix : n ( 55 ) , Visible : n ( 56 ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 4 ) , r = { _alpha : 1 , _alphaTL : 1 , _alphaTR : 1 , _alphaBL : 1 , _alphaBR : 1 , clearAlpha : function ( ) { return this . setAlpha ( 1 ) } , setAlpha : function ( t , e , n , r ) { return void 0 === t && ( t = 1 ) , void 0 === e ? this . alpha = t : ( this . _alphaTL = i ( t , 0 , 1 ) , this . _alphaTR = i ( e , 0 , 1 ) , this . _alphaBL = i ( n , 0 , 1 ) , this . _alphaBR = i ( r , 0 , 1 ) ) , this } , alpha : { get : function ( ) { return this . _alpha } , set : function ( t ) { var e = i ( t , 0 , 1 ) ; this . _alpha = e , this . _alphaTL = e , this . _alphaTR = e , this . _alphaBL = e , this . _alphaBR = e , 0 === e ? this . renderFlags &= - 3 : this . renderFlags |= 2 } } , alphaTopLeft : { get : function ( ) { return this . _alphaTL } , set : function ( t ) { var e = i ( t , 0 , 1 ) ; this . _alphaTL = e , 0 !== e && ( this . renderFlags |= 2 ) } } , alphaTopRight : { get : function ( ) { return this . _alphaTR } , set : function ( t ) { var e = i ( t , 0 , 1 ) ; this . _alphaTR = e , 0 !== e && ( this . renderFlags |= 2 ) } } , alphaBottomLeft : { get : function ( ) { return this . _alphaBL } , set : function ( t ) { var e = i ( t , 0 , 1 ) ; this . _alphaBL = e , 0 !== e && ( this . renderFlags |= 2 ) } } , alphaBottomRight : { get : function ( ) { return this . _alphaBR } , set : function ( t ) { var e = i ( t , 0 , 1 ) ; this . _alphaBR = e , 0 !== e && ( this . renderFlags |= 2 ) } } } ; t . exports = r } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 4 ) , r = { _alpha : 1 , clearAlpha : function ( ) { return this . setAlpha ( 1 ) } , setAlpha : function ( t ) { return void 0 === t && ( t = 1 ) , this . alpha = t , this } , alpha : { get : function ( ) { return this . _alpha } , set : function ( t ) { var e = i ( t , 0 , 1 ) ; this . _alpha = e , 0 === e ? this . renderFlags &= - 3 : this . renderFlags |= 2 } } } ; t . exports = r } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 12 ) , r = { _blendMode : i . NORMAL , blendMode : { get : function ( ) { return this . _blendMode } , set : function ( t ) { "string" == typeof t && ( t = i [ t ] ) , ( t |= 0 ) >= - 1 && ( this . _blendMode = t ) } } , setBlendMode : function ( t ) { return this . blendMode = t , this } } ; t . exports = r } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { texture : null , frame : null , isCropped : ! 1 , setCrop : function ( t , e , n , i ) { if ( void 0 === t ) this . isCropped = ! 1 ; else if ( this . frame ) { if ( "number" == typeof t ) this . frame . setCropUVs ( this . _crop , t , e , n , i , this . flipX , this . flipY ) ; else { var r = t ; this . frame . setCropUVs ( this . _crop , r . x , r . y , r . width , r . height , this . flipX , this . flipY ) } this . isCropped = ! 0 } return this } , resetCropObject : function ( ) { return { u0 : 0 , v0 : 0 , u1 : 0 , v1 : 0 , width : 0 , height : 0 , x : 0 , y : 0 , flipX : ! 1 , flipY : ! 1 , cx : 0 , cy : 0 , cw : 0 , ch : 0 } } } ; t . exports = n } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { fxPadding : 0 , setFXPadding : function ( t ) { return void 0 === t && ( t = 0 ) , this . fxPadding = t , this } , onFXCopy : function ( ) { } , onFX : function ( ) { } } ; t . exports = n } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 28 ) , r = n ( 41 ) , s = n ( 2 ) , a = { prepareBoundsOutput : function ( t , e ) { ( void 0 === e && ( e = ! 1 ) , 0 !== this . rotation && r ( t , this . x , this . y , this . rotation ) , e && this . parentContainer ) && this . parentContainer . getBoundsTransformMatrix ( ) . transformPoint ( t . x , t . y , t ) ; return t } , getCenter : function ( t ) { return void 0 === t && ( t = new s ) , t . x = this . x - this . displayWidth * this . originX + this . displayWidth / 2 , t . y = this . y - this . displayHeight * this . originY + this . displayHeight / 2 , t } , getTopLeft : function ( t , e ) { return t || ( t = new s ) , t . x = this . x - this . displayWidth * this . originX , t . y = this . y - this . displayHeight * this . originY , this . prepareBoundsOutput ( t , e ) } , getTopCenter : function ( t , e ) { return t || ( t = new s ) , t . x = this . x - this . displayWidth * this . originX + this . displayWidth / 2 , t . y = this . y - this . displayHeight * this . originY , this . prepareBoundsOutput ( t , e ) } , getTopRight : function ( t , e ) { return t || ( t = new s ) , t . x = this . x - this . displayWidth * this . originX + this . displayWidth , t . y = this . y - this . displayHeight * this . originY , this . prepareBoundsOutput ( t , e ) } , getLeftCenter : function ( t , e ) { return t || ( t = new s ) , t . x = this . x - this . displayWidth * this . originX , t . y = this . y - this . displayHeight * this . originY + this . displayHeight / 2 , this . prepareBoundsOutput ( t , e ) } , getRightCenter : function ( t , e ) { return t || ( t = new s ) , t . x = this . x - this . displayWidth * this . originX + this . displayWidth , t . y = this . y - this . displayHeight * this . originY + this . displayHeight / 2 , this . prepareBoundsOutput ( t , e ) } , getBottomLeft : function ( t , e ) { return t || ( t = new s ) , t . x = this . x - this . displayWidth * this . originX , t . y = this . y - this . displayHeight * this . originY + this . displayHeight , this . prepareBoundsOutput ( t , e ) } , getBottomCenter : function ( t , e ) { return t || ( t = new s ) , t . x = this . x - this . displayWidth * this . originX + this . displayWidth / 2 , t . y = this . y - this . displayHeight * this . originY + this . displayHeight , this . prepareBoundsOutput ( t , e ) } , getBottomRight : function ( t , e ) { return t || ( t = new s ) , t . x = this . x - this . displayWidth * this . originX + this . displayWidth , t . y = this . y - this . displayHeight * this . originY + this . displayHeight , this . prepareBoundsOutput ( t , e ) } , getBounds : function ( t ) { var e , n , r , s , a , o , h , l ; if ( void 0 === t && ( t = new i ) , this . parentContainer ) { var u = this . parentContainer . getBoundsTransformMatrix ( ) ; this . getTopLeft ( t ) , u . transformPoint ( t . x , t . y , t ) , e = t . x , n = t . y , this . getTopRight ( t ) , u . transformPoint ( t . x , t . y , t ) , r = t . x , s = t . y , this . getBottomLeft ( t ) , u . transformPoint ( t . x , t . y , t ) , a = t . x , o = t . y , this . getBottomRight ( t ) , u . transformPoint ( t . x , t . y , t ) , h = t . x , l = t . y } else this . getTopLeft ( t ) , e = t . x , n = t . y , this . getTopRight ( t ) , r = t . x , s = t . y , this . getBottomLeft ( t ) , a = t . x , o = t . y , this . getBottomRight ( t ) , h = t . x , l = t . y ; return t . x = Math . min ( e , r , a , h ) , t . y = Math . min ( n , s , o , l ) , t . width = Math . max ( e , r , a , h ) - t . x , t . height = Math . max ( n , s , o , l ) - t . y , t } } ; t . exports = a } , function ( t , e ) { t . exports = function ( t , e , n ) { return ! ( t . width <= 0 || t . height <= 0 ) && ( t . x <= e && t . x + t . width >= e && t . y <= n && t . y + t . height >= n ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 65 ) , r = n ( 66 ) ; t . exports = function ( t , e , n , s ) { void 0 === s && ( s = [ ] ) , ! e && n > 0 && ( e = r ( t ) / n ) ; for ( var a = 0 ; a < e ; a ++ ) { var o = a / e ; s . push ( i ( t , o ) ) } return s } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 319 ) , s = n ( 320 ) , a = n ( 29 ) , o = n ( 322 ) , h = n ( 2 ) , l = new i ( { initialize : function ( t , e , n , i ) { void 0 === t && ( t = 0 ) , void 0 === e && ( e = 0 ) , void 0 === n && ( n = 0 ) , void 0 === i && ( i = 0 ) , this . type = a . LINE , this . x1 = t , this . y1 = e , this . x2 = n , this . y2 = i } , getPoint : function ( t , e ) { return r ( this , t , e ) } , getPoints : function ( t , e , n ) { return s ( this , t , e , n ) } , getRandomPoint : function ( t ) { return o ( this , t ) } , setTo : function ( t , e , n , i ) { return void 0 === t && ( t = 0 ) , void 0 === e && ( e = 0 ) , void 0 === n && ( n = 0 ) , void 0 === i && ( i = 0 ) , this . x1 = t , this . y1 = e , this . x2 = n , this . y2 = i , this } , getPointA : function ( t ) { return void 0 === t && ( t = new h ) , t . set ( this . x1 , this . y1 ) , t } , getPointB : function ( t ) { return void 0 === t && ( t = new h ) , t . set ( this . x2 , this . y2 ) , t } , left : { get : function ( ) { return Math . min ( this . x1 , this . x2 ) } , set : function ( t ) { this . x1 <= this . x2 ? this . x1 = t : this . x2 = t } } , right : { get : function ( ) { return Math . max ( this . x1 , this . x2 ) } , set : function ( t ) { this . x1 > this . x2 ? this . x1 = t : this . x2 = t } } , top : { get : function ( ) { return Math . min ( this . y1 , this . y2 ) } , set : function ( t ) { this . y1 <= this . y2 ? this . y1 = t : this . y2 = t } } , bottom : { get : function ( ) { return Math . max ( this . y1 , this . y2 ) } , set : function ( t ) { this . y1 > this . y2 ? this . y1 = t : this . y2 = t } } } ) ; t . exports = l } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 11 ) ; t . exports = function ( t , e , n ) { return void 0 === n && ( n = new i ) , n . x = t . x1 + ( t . x2 - t . x1 ) * e , n . y = t . y1 + ( t . y2 - t . y1 ) * e , n } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 321 ) , r = n ( 11 ) ; t . exports = function ( t , e , n , s ) { void 0 === s && ( s = [ ] ) , ! e && n > 0 && ( e = i ( t ) / n ) ; for ( var a = t . x1 , o = t . y1 , h = t . x2 , l = t . y2 , u = 0 ; u < e ; u ++ ) { var c = u / e , f = a + ( h - a ) * c , d = o + ( l - o ) * c ; s . push ( new r ( f , d ) ) } return s } } , function ( t , e ) { t . exports = function ( t ) { return Math . sqrt ( ( t . x2 - t . x1 ) * ( t . x2 - t . x1 ) + ( t . y2 - t . y1 ) * ( t . y2 - t . y1 ) ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 11 ) ; t . exports = function ( t , e ) { void 0 === e && ( e = new i ) ; var n = Math . random ( ) ; return e . x = t . x1 + n * ( t . x2 - t . x1 ) , e . y = t . y1 + n * ( t . y2 - t . y1 ) , e } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 11 ) ; t . exports = function ( t , e ) { return void 0 === e && ( e = new i ) , e . x = t . x + Math . random ( ) * t . width , e . y = t . y + Math . random ( ) * t . height , e } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 325 ) , r = n ( 328 ) , s = { mask : null , setMask : function ( t ) { return this . mask = t , this } , clearMask : function ( t ) { return void 0 === t && ( t = ! 1 ) , t && this . mask && this . mask . destroy ( ) , this . mask = null , this } , createBitmapMask : function ( t , e , n , r , s ) { return void 0 === t && ( this . texture || this . shader || this . geom ) && ( t = this ) , new i ( this . scene , t , e , n , r , s ) } , createGeometryMask : function ( t ) { return void 0 !== t || "Graphics" !== this . type && ! this . geom || ( t = this ) , new r ( this . scene , t ) } } ; t . exports = s } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 326 ) , s = new i ( { initialize : function ( t , e , n , i , r , s ) { e || ( e = t . sys . make . image ( { x : n , y : i , key : r , frame : s , add : ! 1 } ) ) , this . bitmapMask = e , this . invertAlpha = ! 1 , this . isStencil = ! 1 } , setBitmap : function ( t ) { this . bitmapMask = t } , preRenderWebGL : function ( t , e , n ) { t . pipelines . BITMAPMASK _PIPELINE . beginMask ( this , e , n ) } , postRenderWebGL : function ( t , e , n ) { t . pipelines . BITMAPMASK _PIPELINE . endMask ( this , e , n ) } , preRenderCanvas : function ( ) { } , postRenderCanvas : function ( ) { } , destroy : function ( ) { this . bitmapMask = null } } ) ; r . register ( "bitmapMask" , ( function ( t , e , n , i , r ) { return new s ( this . scene , t , e , n , i , r ) } ) ) , t . exports = s } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 0 ) , r = n ( 327 ) , s = n ( 23 ) , a = new i ( { initialize : function ( t ) { this . scene = t , this . systems = t . sys , this . events = t . sys . events , this . displayList , this . updateList , this . events . once ( s . BOOT , this . boot , this ) , this . events . on ( s . START , this . start , this ) } , boot : function ( ) { this . displayList = this . systems . displayList , this . updateList = this . systems . updateList , this . events . once ( s . DESTROY , this . destroy , this ) } , start : function ( ) { this . events . once ( s . SHUTDOWN , this . shutdown , this ) } , existing : function ( t ) { return ( t . renderCanvas || t . renderWebGL ) && this . displayList . add ( t ) , t . preUpdate && this . updateList . add ( t ) , t } , shutdown : function ( ) { this . events . off ( s . SHUTDOWN , this . shutdown , this ) } , destroy : function ( ) { this . shutdown ( ) , this . events . off ( s . START , this . start , this ) , this . scene = null , this . systems = null , this . events = null , this . displayList = null , this . updateList = null } } ) ; a . register = function ( t , e ) { a . prototype . hasOwnProperty ( t ) || ( a . prototype [ t ] = e ) } , a . remove = function ( t ) { a . prototype . hasOwnProperty ( t ) && delete a . prototype [ t ] } , r . register ( "GameObjectFactory" , a , "add" ) , t . exports = a } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { } , i = { } , r = { register : function ( t , e , i , r ) { void 0 === r && ( r = ! 1 ) , n [ t ] = { plugin : e , mapping : i , custom : r } } , registerCustom : function ( t , e , n , r ) { i [ t ] = { plugin : e , mapping : n , data : r } } , hasCore : function ( t ) { return n . hasOwnProperty ( t ) } , hasCustom : function ( t ) { return i . hasOwnProperty ( t ) } , getCore : function ( t ) { return n [ t ] } , getCustom : function ( t ) { return i [ t ] } , getCustomClass : function ( t ) { return i . hasOwnProperty ( t ) ? i [ t ] . plugin : null } , remove : function ( t ) { n . hasOwnProperty ( t ) && delete n [ t ] } , removeCustom : function ( t ) { i . hasOwnProperty ( t ) && delete i [ t ] } , destroyCorePlugins : function ( ) { for ( var t in n ) n . hasOwnProperty ( t ) && delete n [ t ] } , destroyCustomPlugins : function ( ) { for ( var t in i ) i . hasOwnProperty ( t ) && delete i [ t ] } } ; t . exports = r } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = new ( n ( 0 ) ) ( { initialize : function ( t , e ) { this . geometryMask = e , this . invertAlpha = ! 1 , this . isStencil = ! 0 , this . level = 0 } , setShape : function ( t ) { return this . geometryMask = t , this } , setInvertAlpha : function ( t ) { return void 0 === t && ( t = ! 0 ) , this . invertAlpha = t , this } , preRenderWebGL : function ( t , e , n ) { var i = t . gl ; t . flush ( ) , 0 === t . maskStack . length && ( i . enable ( i . STENCIL _TEST ) , i . clear ( i . STENCIL _BUFFER _BIT ) , t . maskCount = 0 ) , t . currentCameraMask . mask !== this && ( t . currentMask . mask = this ) , t . maskStack . push ( { mask : this , camera : n } ) , this . applyStencil ( t , n , ! 0 ) , t . maskCount ++ } , applyStencil : function ( t , e , n ) { var i = t . gl , r = this . geometryMask , s = t . maskCount ; i . colorMask ( ! 1 , ! 1 , ! 1 , ! 1 ) , n ? ( i . stencilFunc ( i . EQUAL , s , 255 ) , i . stencilOp ( i . KEEP , i . KEEP , i . INCR ) ) : ( i . stencilFunc ( i . EQUAL , s + 1 , 255 ) , i . stencilOp ( i . KEEP , i . KEEP , i . DECR ) ) , r . renderWebGL ( t , r , e ) , t . flush ( ) , i . colorMask ( ! 0 , ! 0 , ! 0 , ! 0 ) , i . stencilOp ( i . KEEP , i . KEEP , i . KEEP ) , n ? this . invertAlpha ? i . stencilFunc ( i . NOTEQUAL , s + 1 , 255 ) : i . stencilFunc ( i . EQUAL , s + 1 , 255 ) : this . invertAlpha ? i . stencilFunc ( i . NOTEQUAL , s , 255 ) : i . stencilFunc ( i . EQUAL , s , 255 ) } , postRenderWebGL : function ( t ) { var e = t . gl ; t . maskStack . pop ( ) , t . maskCount -- , t . flush ( ) ; var n = t . currentMask ; if ( 0 === t . maskStack . length ) n . mask = null , e . disable ( e . STENCIL _TEST ) ; else { var i = t . maskStack [ t . maskStack . length - 1 ] ; i . mask . applyStencil ( t , i . camera , ! 1 ) , t . currentCameraMask . mask !== i . mask ? ( n . mask = i . mask , n . camera = i . camera ) : n . mask = null } } , preRenderCanvas : function ( t , e , n ) { var i = this . geometryMask ; t . currentContext . save ( ) , i . renderCanvas ( t , i , n , null , null , ! 0 ) , t . currentContext . clip ( ) } , postRenderCanvas : function ( t ) { t . currentContext . restore ( ) } , destroy : function ( ) { this . geometryMask = null } } ) ; t . exports = i } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { _originComponent : ! 0 , originX : . 5 , originY : . 5 , _displayOriginX : 0 , _displayOriginY : 0 , displayOriginX : { get : function ( ) { return this . _displayOriginX } , set : function ( t ) { this . _displayOriginX = t , this . originX = t / this . width } } , displayOriginY : { get : function ( ) { return this . _displayOriginY } , set : function ( t ) { this . _displayOriginY = t , this . originY = t / this . height } } , setOrigin : function ( t , e ) { return void 0 === t && ( t = . 5 ) , void 0 === e && ( e = t ) , this . originX = t , this . originY = e , this . updateDisplayOrigin ( ) } , setOriginFromFrame : function ( ) { return this . frame && this . frame . customPivot ? ( this . originX = this . frame . pivotX , this . originY = this . frame . pivotY , this . updateDisplayOrigin ( ) ) : this . setOrigin ( ) } , setDisplayOrigin : function ( t , e ) { return void 0 === t && ( t = 0 ) , void 0 === e && ( e = t ) , this . displayOriginX = t , this . displayOriginY = e , this } , updateDisplayOrigin : function ( ) { return this . _displayOriginX = this . originX * this . width , this . _displayOriginY = this . originY * this . height , this } } ; t . exports = n } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 20 ) , r = n ( 331 ) , s = n ( 7 ) , a = n ( 332 ) , o = n ( 2 ) , h = { path : null , rotateToPath : ! 1 , pathRotationOffset : 0 , pathOffset : null , pathVector : null , pathDelta : null , pathTween : null , pathConfig : null , _prevDirection : a . PLAYING _FORWARD , setPath : function ( t , e ) { void 0 === e && ( e = this . pathConfig ) ; var n = this . pathTween ; return n && n . isPlaying ( ) && n . stop ( ) , this . path = t , e && this . startFollow ( e ) , this } , setRotateToPath : function ( t , e ) { return void 0 === e && ( e = 0 ) , this . rotateToPath = t , this . pathRotationOffset = e , this } , isFollowing : function ( ) { var t = this . pathTween ; return t && t . isPlaying ( ) } , startFollow : function ( t , e ) { void 0 === t && ( t = { } ) , void 0 === e && ( e = 0 ) ; var n = this . pathTween ; n && n . isPlaying ( ) && n . stop ( ) , "number" == typeof t && ( t = { duration : t } ) , t . from = s ( t , "from" , 0 ) , t . to = s ( t , "to" , 1 ) ; var h = r ( t , "positionOnPath" , ! 1 ) ; this . rotateToPath = r ( t , "rotateToPath" , ! 1 ) , this . pathRotationOffset = s ( t , "rotationOffset" , 0 ) ; var l = s ( t , "startAt" , e ) ; if ( l && ( t . onStart = function ( t ) { var e = t . data [ 0 ] ; e . progress = l , e . elapsed = e . duration * l ; var n = e . ease ( e . progress ) ; e . current = e . start + ( e . end - e . start ) * n , e . setTargetValue ( ) } ) , this . pathOffset || ( this . pathOffset = new o ( this . x , this . y ) ) , this . pathVector || ( this . pathVector = new o ) , this . pathDelta || ( this . pathDelta = new o ) , this . pathDelta . reset ( ) , t . persist = ! 0 , this . pathTween = this . scene . sys . tweens . addCounter ( t ) , this . path . getStartPoint ( this . pathOffset ) , h && ( this . x = this . pathOffset . x , this . y = this . pathOffset . y ) , this . pathOffset . x = this . x - this . pathOffset . x , this . pathOffset . y = this . y - this . pathOffset . y , this . _prevDirection = a . PLAYING _FORWARD , this . rotateToPath ) { var u = this . path . getPoint ( . 1 ) ; this . rotation = Math . atan2 ( u . y - this . y , u . x - this . x ) + i ( this . pathRotationOffset ) } return this . pathConfig = t , this } , pauseFollow : function ( ) { var t = this . pathTween ; return t && t . isPlaying ( ) && t . pause ( ) , this } , resumeFollow : function ( ) { var t = this . pathTween ; return t && t . isPaused ( ) && t . resume ( ) , this } , stopFollow : function ( ) { var t = this . pathTween ; return t && t . isPlaying ( ) && t . stop ( ) , this } , pathUpdate : function ( ) { var t = this . pathTween ; if ( t ) { var e = t . data [ 0 ] , n = this . pathDelta , r = this . pathVector ; if ( n . copy ( r ) . negate ( ) , e . state === a . COMPLETE ) return this . path . getPoint ( e . end , r ) , n . add ( r ) , r . add ( this . pathOffset ) , void this . setPosition ( r . x , r . y ) ; if ( e . state !== a . PLAYING _FORWARD && e . state !== a . PLAYING _BACKWARD ) return ; this . path . getPoint ( t . getValue ( ) , r ) , n . add ( r ) , r . add ( this . pathOffset ) ; var s = this . x , o = this . y ; this . setPosition ( r . x , r . y ) ; var h = this . x - s , l = this . y - o ; if ( 0 === h && 0 === l ) return ; if ( e . state !== this . _prevDirection ) return void ( this . _prevDirection = e . state ) ; this . rotateToPath && ( this . rotation = Math . atan2 ( l , h ) + i ( this . pathRotationOffset ) ) } } } ; t . exports = h } , function ( t , e ) { t . exports = function ( t , e , n ) { return t && t . hasOwnProperty ( e ) ? t [ e ] : n } } , function ( t , e ) { t . exports = { CREATED : 0 , DELAY : 2 , PENDING _RENDER : 4 , PLAYING _FORWARD : 5 , PLAYING _BACKWARD : 6 , HOLD _DELAY : 7 , REPEAT _DELAY : 8 , COMPLETE : 9 , PENDING : 20 , ACTIVE : 21 , LOOP _DELAY : 22 , COMPLETE _DELAY : 23 , START _DELAY : 24 , PENDING _REMOVE : 25 , REMOVED : 26 , FINISHED : 27 , DESTROYED : 28 , MAX : 999999999999 } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 334 ) , r = n ( 10 ) , s = { defaultPipeline : null , pipeline : null , hasPostPipeline : ! 1 , postPipelines : null , pipelineData : null , initPipeline : function ( t ) { var e = this . scene . sys . renderer ; if ( ! e ) return ! 1 ; var n = e . pipelines ; if ( this . postPipelines = [ ] , this . pipelineData = { } , n ) { void 0 === t && ( t = n . default ) ; var i = n . get ( t ) ; if ( i ) return this . defaultPipeline = i , this . pipeline = i , ! 0 } return ! 1 } , setPipeline : function ( t , e , n ) { var r = this . scene . sys . renderer ; if ( ! r ) return this ; var s = r . pipelines ; if ( s ) { var a = s . get ( t ) ; a && ( this . pipeline = a ) , e && ( this . pipelineData = n ? i ( e ) : e ) } return this } , setPostPipeline : function ( t , e , n ) { var r = this . scene . sys . renderer ; if ( ! r ) return this ; var s = r . pipelines ; if ( s ) { Array . isArray ( t ) || ( t = [ t ] ) ; for ( var a = 0 ; a < t . length ; a ++ ) { var o = s . getPostPipeline ( t [ a ] , this ) ; o && this . postPipelines . push ( o ) } e && ( this . pipelineData = n ? i ( e ) : e ) } return this . hasPostPipeline = this . postPipelines . length > 0 , this } , setPipelineData : function ( t , e ) { var n = this . pipelineData ; return void 0 === e ? delete n [ t ] : n [ t ] = e , this } , getPostPipeline : function ( t ) { for ( var e = "string" == typeof t , n = this . postPipelines , i = [ ] , r = 0 ; r < n . length ; r ++ ) { var s = n [ r ] ; ( e && s . name === t || ! e && s instanceof t ) && i . push ( s ) } return 1 === i . length ? i [ 0 ] : i } , resetPipeline : function ( t , e ) { return void 0 === t && ( t = ! 1 ) , void 0 === e && ( e = ! 1 ) , this . pipeline = this . defaultPipeline , t && ( this . postPipelines = [ ] , this . hasPostPipeline = ! 1 ) , e && ( this . pipelineData = { } ) , null !== this . pipeline } , resetPostPipeline : function ( t ) { void 0 === t && ( t = ! 1 ) ; for ( var e = this . postPipelines , n = 0 ; n < e . length ; n ++ ) e [ n ] . destroy ( ) ; this . postPipelines = [ ] , this . hasPostPipeline = ! 1 , t && ( this . pipelineData = { } ) } , removePostPipeline : function ( t ) { for ( var e = this . postPipelines , n = e . length - 1 ; n >= 0 ; n -- ) { var i = e [ n ] ; ( "string" == typeof t && i . name === t || "string" != typeof t && i instanceof t ) && ( i . destroy ( ) , r ( e , n ) ) } return this . hasPostPipeline = this . postPipelines . length > 0 , this } , getPipelineName : function ( ) { return this . pipeline . name } } ; t . exports = s } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = function ( t ) { var e , i , r ; if ( "object" != typeof t || null === t ) return t ; for ( r in e = Array . isArray ( t ) ? [ ] : { } , t ) i = t [ r ] , e [ r ] = n ( i ) ; return e } ; t . exports = n } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { _sizeComponent : ! 0 , width : 0 , height : 0 , displayWidth : { get : function ( ) { return Math . abs ( this . scaleX * this . frame . realWidth ) } , set : function ( t ) { this . scaleX = t / this . frame . realWidth } } , displayHeight : { get : function ( ) { return Math . abs ( this . scaleY * this . frame . realHeight ) } , set : function ( t ) { this . scaleY = t / this . frame . realHeight } } , setSizeToFrame : function ( t ) { void 0 === t && ( t = this . frame ) , this . width = t . realWidth , this . height = t . realHeight ; var e = this . input ; return e && ! e . customHitArea && ( e . hitArea . width = this . width , e . hitArea . height = this . height ) , this } , setSize : function ( t , e ) { return this . width = t , this . height = e , this } , setDisplaySize : function ( t , e ) { return this . displayWidth = t , this . displayHeight = e , this } } ; t . exports = n } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 67 ) , r = { texture : null , frame : null , isCropped : ! 1 , setTexture : function ( t , e ) { return this . texture = this . scene . sys . textures . get ( t ) , this . setFrame ( e ) } , setFrame : function ( t , e , n ) { return void 0 === e && ( e = ! 0 ) , void 0 === n && ( n = ! 0 ) , t instanceof i ? ( this . texture = this . scene . sys . textures . get ( t . texture . key ) , this . frame = t ) : this . frame = this . texture . get ( t ) , this . frame . cutWidth && this . frame . cutHeight ? this . renderFlags |= 8 : this . renderFlags &= - 9 , this . _sizeComponent && e && this . setSizeToFrame ( ) , this . _originComponent && n && ( this . frame . customPivot ? this . setOrigin ( this . frame . pivotX , this . frame . pivotY ) : this . updateDisplayOrigin ( ) ) , this } } ; t . exports = r } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 67 ) , r = { texture : null , frame : null , isCropped : ! 1 , setCrop : function ( t , e , n , i ) { if ( void 0 === t ) this . isCropped = ! 1 ; else if ( this . frame ) { if ( "number" == typeof t ) this . frame . setCropUVs ( this . _crop , t , e , n , i , this . flipX , this . flipY ) ; else { var r = t ; this . frame . setCropUVs ( this . _crop , r . x , r . y , r . width , r . height , this . flipX , this . flipY ) } this . isCropped = ! 0 } return this } , setTexture : function ( t , e ) { return this . texture = this . scene . sys . textures . get ( t ) , this . setFrame ( e ) } , setFrame : function ( t , e , n ) { return void 0 === e && ( e = ! 0 ) , void 0 === n && ( n = ! 0 ) , t instanceof i ? ( this . texture = this . scene . sys . textures . get ( t . texture . key ) , this . frame = t ) : this . frame = this . texture . get ( t ) , this . frame . cutWidth && this . frame . cutHeight ? this . renderFlags |= 8 : this . renderFlags &= - 9 , this . _sizeComponent && e && this . setSizeToFrame ( ) , this . _originComponent && n && ( this . frame . customPivot ? this . setOrigin ( this . frame . pivotX , this . frame . pivotY ) : this . updateDisplayOrigin ( ) ) , this . isCropped && this . frame . updateCropUVs ( this . _crop , this . flipX , this . flipY ) , this } , resetCropObject : function ( ) { return { u0 : 0 , v0 : 0 , u1 : 0 , v1 : 0 , width : 0 , height : 0 , x : 0 , y : 0 , flipX : ! 1 , flipY : ! 1 , cx : 0 , cy : 0 , cw : 0 , ch : 0 } } } ; t . exports = r } , function ( t , e ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var n = { tintTopLeft : 16777215 , tintTopRight : 16777215 , tintBottomLeft : 16777215 , tintBottomRight : 16777215 , tintFill : ! 1 , clearTint : function ( ) { return this . setTint ( 16777215 ) , this } , setTint : function ( t , e , n , i ) { return void 0 === t && ( t = 16777215 ) , void 0 === e && ( e = t , n = t , i = t ) , this . tintTopLeft = t , this . tintTopRight = e , this . tintBottomLeft = n , this . tintBottomRight = i , this . tintFill = ! 1 , this } , setTintFill : function ( t , e , n , i ) { return this . setTint ( t , e , n , i ) , this . tintFill = ! 0 , this } , tint : { set : function ( t ) { this . setTint ( t , t , t , t ) } } , isTinted : { get : function ( ) { return this . tintFill || 16777215 !== this . tintTopLeft || 16777215 !== this . tintTopRight || 16777215 !== this . tintBottomLeft || 16777215 !== this . tintBottomRight } } } ; t . exports = n } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ author Felipe Alfonso < @ bitnenfer >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 1 ) , r = i , s = i ; s = n ( 340 ) , t . exports = { renderWebGL : r , renderCanvas : s } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { n . addToRenderList ( e ) ; var r = e . list ; if ( 0 !== r . length ) { var s = e . localTransform ; i ? ( s . loadIdentity ( ) , s . multiply ( i ) , s . translate ( e . x , e . y ) , s . rotate ( e . rotation ) , s . scale ( e . scaleX , e . scaleY ) ) : s . applyITRS ( e . x , e . y , e . rotation , e . scaleX , e . scaleY ) ; var a = - 1 !== e . blendMode ; a || t . setBlendMode ( 0 ) ; var o = e . _alpha , h = e . scrollFactorX , l = e . scrollFactorY ; e . mask && e . mask . preRenderCanvas ( t , null , n ) ; for ( var u = 0 ; u < r . length ; u ++ ) { var c = r [ u ] ; if ( c . willRender ( n ) ) { var f = c . alpha , d = c . scrollFactorX , p = c . scrollFactorY ; a || c . blendMode === t . currentBlendMode || t . setBlendMode ( c . blendMode ) , c . setScrollFactor ( d * h , p * l ) , c . setAlpha ( f * o ) , c . renderCanvas ( t , c , n , s ) , c . setAlpha ( f ) , c . setScrollFactor ( d , p ) } } e . mask && e . mask . postRenderCanvas ( t ) } } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2013 - 2023 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 28 ) ; t . exports = function ( t , e , n ) { void 0 === n && ( n = new i ) ; var r = Math . min ( t . x , e . x ) , s = Math . min ( t . y , e . y ) , a = Math . max ( t . right , e . right ) - r , o = Math . max ( t . bottom , e . bottom ) - s ; return n . setTo ( r , s , a , o ) } } , function ( t , e , n ) {
/ * *
* @ author Richard Davey < rich @ photonstorm . com >
* @ copyright 2022 Photon Storm Ltd .
* @ license { @ link https : //opensource.org/licenses/MIT|MIT License}
* /
var i = n ( 1 ) , r = n ( 1 ) ; r = n ( 343 ) , t . exports = { renderWebGL : i , renderCanvas : r } } , function ( t , e ) { t . exports = function ( t , e , n , i ) { var r = e . list ; if ( 0 !== r . length ) { n . addToRenderList ( e ) ; var s = e . localTransform ; i ? ( s . loadIdentity ( ) , s . multiply ( i ) , s . translate ( e . x , e . y ) , s . rotate ( e . rotation ) , s . scale ( e . scaleX , e . scaleY ) ) : s . applyITRS ( e . x , e . y , e . rotation , e . scaleX , e . scaleY ) ; var a = - 1 !== e . blendMode ; a || t . setBlendMode ( 0 ) ; var o = e . _alpha , h = e . scrollFactorX , l = e . scrollFactorY ; e . mask && e . mask . preRenderCanvas ( t , null , n ) ; for ( var u = 0 ; u < r . length ; u ++ ) { var c = r [ u ] ; if ( c . willRender ( n ) ) { var f = c . alpha , d = c . scrollFactorX , p = c . scrollFactorY ; a || c . blendMode === t . currentBlendMode || t . setBlendMode ( c . blendMode ) , c . setScrollFactor ( d * h , p * l ) , c . setAlpha ( f * o ) , c . renderCanvas ( t , c , n , s ) , c . setAlpha ( f ) , c . setScrollFactor ( d , p ) } } e . mask && e . mask . postRenderCanvas ( t ) } } } ] ) ;