@@ -1,4 +1,4 @@
const _ _vite _ _mapDeps = ( i , m = _ _vite _ _mapDeps , d = ( m . f || ( m . f = [ "assets/index-Cxn3bPhQ .js" , "assets/index-DxBJZqWf .js" ] ) ) ) => i . map ( i => d [ i ] ) ;
const _ _vite _ _mapDeps = ( i , m = _ _vite _ _mapDeps , d = ( m . f || ( m . f = [ "assets/index-hgwT4zDg .js" , "assets/index-BSAMR7rU .js" ] ) ) ) => i . map ( i => d [ i ] ) ;
var YT = Object . defineProperty ; var zT = ( n , e , t ) => e in n ? YT ( n , e , { enumerable : ! 0 , configurable : ! 0 , writable : ! 0 , value : t } ) : n [ e ] = t ; var A = ( n , e , t ) => zT ( n , typeof e != "symbol" ? e + "" : e , t ) ; ( function ( ) { const e = document . createElement ( "link" ) . relList ; if ( e && e . supports && e . supports ( "modulepreload" ) ) return ; for ( const s of document . querySelectorAll ( 'link[rel="modulepreload"]' ) ) i ( s ) ; new MutationObserver ( s => { for ( const r of s ) if ( r . type === "childList" ) for ( const o of r . addedNodes ) o . tagName === "LINK" && o . rel === "modulepreload" && i ( o ) } ) . observe ( document , { childList : ! 0 , subtree : ! 0 } ) ; function t ( s ) { const r = { } ; return s . integrity && ( r . integrity = s . integrity ) , s . referrerPolicy && ( r . referrerPolicy = s . referrerPolicy ) , s . crossOrigin === "use-credentials" ? r . credentials = "include" : s . crossOrigin === "anonymous" ? r . credentials = "omit" : r . credentials = "same-origin" , r } function i ( s ) { if ( s . ep ) return ; s . ep = ! 0 ; const r = t ( s ) ; fetch ( s . href , r ) } } ) ( ) ; / * *
* @ vue / shared v3 . 5.41
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
@@ -7,31 +7,31 @@ var YT=Object.defineProperty;var zT=(n,e,t)=>e in n?YT(n,e,{enumerable:!0,config
* @ vue / reactivity v3 . 5.41
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
* * / l e t C i ; c l a s s B x { c o n s t r u c t o r ( e = ! 1 ) { t h i s . d e t a c h e d = e , t h i s . _ a c t i v e = ! 0 , t h i s . _ o n = 0 , t h i s . e f f e c t s = [ ] , t h i s . c l e a n u p s = [ ] , t h i s . _ i s P a u s e d = ! 1 , t h i s . _ w a r n O n R u n = ! 0 , t h i s . _ _ v _ s k i p = ! 0 , ! e & & C i & & ( C i . a c t i v e ? ( t h i s . p a r e n t = C i , t h i s . i n d e x = ( C i . s c o p e s | | ( C i . s c o p e s = [ ] ) ) . p u s h ( t h i s ) - 1 ) : ( t h i s . _ a c t i v e = ! 1 , t h i s . _ w a r n O n R u n = ! 1 ) ) } g e t a c t i v e ( ) { r e t u r n t h i s . _ a c t i v e } p a u s e ( ) { i f ( t h i s . _ a c t i v e ) { t h i s . _ i s P a u s e d = ! 0 ; l e t e , t ; i f ( t h i s . s c o p e s ) { c o n s t i = t h i s . s c o p e s . s l i c e ( ) ; f o r ( e = 0 , t = i . l e n g t h ; e < t ; e + + ) i [ e ] . p a u s e ( ) } f o r ( e = 0 , t = t h i s . e f f e c t s . l e n g t h ; e < t ; e + + ) t h i s . e f f e c t s [ e ] . p a u s e ( ) } } r e s u m e ( ) { i f ( t h i s . _ a c t i v e & & t h i s . _ i s P a u s e d ) { t h i s . _ i s P a u s e d = ! 1 ; l e t e , t ; i f ( t h i s . s c o p e s ) { c o n s t s = t h i s . s c o p e s . s l i c e ( ) ; f o r ( e = 0 , t = s . l e n g t h ; e < t ; e + + ) s [ e ] . r e s u m e ( ) } c o n s t i = t h i s . e f f e c t s . s l i c e ( ) ; f o r ( e = 0 , t = i . l e n g t h ; e < t ; e + + ) i [ e ] . r e s u m e ( ) } } r u n ( e ) { i f ( t h i s . _ a c t i v e ) { c o n s t t = C i ; t r y { r e t u r n C i = t h i s , e ( ) } f i n a l l y { C i = t } } } o n ( ) { + + t h i s . _ o n = = = 1 & & ( t h i s . p r e v S c o p e = C i , C i = t h i s ) } o f f ( ) { i f ( t h i s . _ o n > 0 & & - - t h i s . _ o n = = = 0 ) { i f ( C i = = = t h i s ) C i = t h i s . p r e v S c o p e ; e l s e { l e t e = C i ; f o r ( ; e ; ) { i f ( e . p r e v S c o p e = = = t h i s ) { e . p r e v S c o p e = t h i s . p r e v S c o p e ; b r e a k } e = e . p r e v S c o p e } } t h i s . p r e v S c o p e = v o i d 0 } } s t o p ( e ) { i f ( t h i s . _ a c t i v e ) { t h i s . _ a c t i v e = ! 1 ; l e t t , i ; f o r ( t = 0 , i = t h i s . e f f e c t s . l e n g t h ; t < i ; t + + ) t h i s . e f f e c t s [ t ] . s t o p ( ) ; f o r ( t h i s . e f f e c t s . l e n g t h = 0 , t = 0 , i = t h i s . c l e a n u p s . l e n g t h ; t < i ; t + + ) t h i s . c l e a n u p s [ t ] ( ) ; i f ( t h i s . c l e a n u p s . l e n g t h = 0 , t h i s . s c o p e s ) { c o n s t s = t h i s . s c o p e s . s l i c e ( ) ; f o r ( t = 0 , i = s . l e n g t h ; t < i ; t + + ) s [ t ] . s t o p ( ! 0 ) ; t h i s . s c o p e s . l e n g t h = 0 } i f ( ! t h i s . d e t a c h e d & & t h i s . p a r e n t & & ! e ) { c o n s t s = t h i s . p a r e n t . s c o p e s . p o p ( ) ; s & & s ! = = t h i s & & ( t h i s . p a r e n t . s c o p e s [ t h i s . i n d e x ] = s , s . i n d e x = t h i s . i n d e x ) } t h i s . p a r e n t = v o i d 0 } } } f u n c t i o n a g ( n ) { r e t u r n n e w B x ( n ) } f u n c t i o n l g ( ) { r e t u r n C i } f u n c t i o n U x ( n , e = ! 1 ) { C i & & C i . c l e a n u p s . p u s h ( n ) } l e t G t ; c o n s t A h = n e w W e a k S e t ; c l a s s V x { c o n s t r u c t o r ( e ) { t h i s . f n = e , t h i s . d e p s = v o i d 0 , t h i s . d e p s T a i l = v o i d 0 , t h i s . f l a g s = 5 , t h i s . n e x t = v o i d 0 , t h i s . c l e a n u p = v o i d 0 , t h i s . s c h e d u l e r = v o i d 0 , C i & & ( C i . a c t i v e ? C i . e f f e c t s . p u s h ( t h i s ) : t h i s . f l a g s & = - 2 ) } p a u s e ( ) { t h i s . f l a g s | = 6 4 } r e s u m e ( ) { t h i s . f l a g s & 6 4 & & ( t h i s . f l a g s & = - 6 5 , A h . h a s ( t h i s ) & & ( A h . d e l e t e ( t h i s ) , t h i s . t r i g g e r ( ) ) ) } n o t i f y ( ) { t h i s . f l a g s & 2 & & ! ( t h i s . f l a g s & 3 2 ) | | t h i s . f l a g s & 8 | | Y x ( t h i s ) } r u n ( ) { i f ( ! ( t h i s . f l a g s & 1 ) ) r e t u r n t h i s . f n ( ) ; t h i s . f l a g s | = 2 , u v ( t h i s ) , z x ( t h i s ) ; c o n s t e = G t , t = K n ; G t = t h i s , K n = ! 0 ; t r y { r e t u r n t h i s . f n ( ) } f i n a l l y { j x ( t h i s ) , G t = e , K n = t , t h i s . f l a g s & = - 3 } } s t o p ( ) { i f ( t h i s . f l a g s & 1 ) { f o r ( l e t e = t h i s . d e p s ; e ; e = e . n e x t D e p ) u g ( e ) ; t h i s . d e p s = t h i s . d e p s T a i l = v o i d 0 , u v ( t h i s ) , t h i s . o n S t o p & & t h i s . o n S t o p ( ) , t h i s . f l a g s & = - 2 } } t r i g g e r ( ) { t h i s . f l a g s & 6 4 ? A h . a d d ( t h i s ) : t h i s . s c h e d u l e r ? t h i s . s c h e d u l e r ( ) : t h i s . r u n I f D i r t y ( ) } r u n I f D i r t y ( ) { S p ( t h i s ) & & t h i s . r u n ( ) } g e t d i r t y ( ) { r e t u r n S p ( t h i s ) } } l e t X x = 0 , M l , P l ; f u n c t i o n Y x ( n , e = ! 1 ) { i f ( n . f l a g s | = 8 , e ) { n . n e x t = P l , P l = n ; r e t u r n } n . n e x t = M l , M l = n } f u n c t i o n c g ( ) { X x + + } f u n c t i o n d g ( ) { i f ( - - X x > 0 ) r e t u r n ; i f ( P l ) { l e t e = P l ; f o r ( P l = v o i d 0 ; e ; ) { c o n s t t = e . n e x t ; e . n e x t = v o i d 0 , e . f l a g s & = - 9 , e = t } } l e t n ; f o r ( ; M l ; ) { l e t e = M l ; f o r ( M l = v o i d 0 ; e ; ) { c o n s t t = e . n e x t ; i f ( e . n e x t = v o i d 0 , e . f l a g s & = - 9 , e . f l a g s & 1 ) t r y { e . t r i g g e r ( ) } c a t c h ( i ) { n | | ( n = i ) } e = t } } i f ( n ) t h r o w n } f u n c t i o n z x ( n ) { f o r ( l e t e = n . d e p s ; e ; e = e . n e x t D e p ) e . v e r s i o n = - 1 , e . p r e v A c t i v e L i n k = e . d e p . a c t i v e L i n k , e . d e p . a c t i v e L i n k = e } f u n c t i o n j x ( n ) { l e t e , t = n . d e p s T a i l , i = t ; f o r ( ; i ; ) { c o n s t s = i . p r e v D e p ; i . v e r s i o n = = = - 1 ? ( i = = = t & & ( t = s ) , u g ( i ) , n E ( i ) ) : e = i , i . d e p . a c t i v e L i n k = i . p r e v A c t i v e L i n k , i . p r e v A c t i v e L i n k = v o i d 0 , i = s } n . d e p s = e , n . d e p s T a i l = t } f u n c t i o n S p ( n ) { f o r ( l e t e = n . d e p s ; e ; e = e . n e x t D e p ) i f ( e . d e p . v e r s i o n ! = = e . v e r s i o n | | e . d e p . c o m p u t e d & & ( H x ( e . d e p . c o m p u t e d ) | | e . d e p . v e r s i o n ! = = e . v e r s i o n ) ) r e t u r n ! 0 ; r e t u r n ! ! n . _ d i r t y } f u n c t i o n H x ( n ) { i f ( n . f l a g s & 4 & & ! ( n . f l a g s & 1 6 ) | | ( n . f l a g s & = - 1 7 , n . g l o b a l V e r s i o n = = = V l ) | | ( n . g l o b a l V e r s i o n = V l , ! n . i s S S R & & n . f l a g s & 1 2 8 & & ( ! n . d e p s & & ! n . _ d i r t y | | ! S p ( n ) ) ) ) r e t u r n ; n . f l a g s | = 2 ; c o n s t e = n . d e p , t = G t , i = K n ; G t = n , K n = ! 0 ; t r y { z x ( n ) ; c o n s t s = n . f n ( n . _ v a l u e ) ; ( e . v e r s i o n = = = 0 | | x s ( s , n . _ v a l u e ) ) & & ( n . f l a g s | = 1 2 8 , n . _ v a l u e = s , e . v e r s i o n + + ) } c a t c h ( s ) { t h r o w e . v e r s i o n + + , s } f i n a l l y { G t = t , K n = i , j x ( n ) , n . f l a g s & = - 3 } } f u n c t i o n u g ( n , e = ! 1 ) { c o n s t { d e p : t , p r e v S u b : i , n e x t S u b : s } = n ; i f ( i & & ( i . n e x t S u b = s , n . p r e v S u b = v o i d 0 ) , s & & ( s . p r e v S u b = i , n . n e x t S u b = v o i d 0 ) , t . s u b s = = = n & & ( t . s u b s = i , ! i & & t . c o m p u t e d ) ) { t . c o m p u t e d . f l a g s & = - 5 ; f o r ( l e t r = t . c o m p u t e d . d e p s ; r ; r = r . n e x t D e p ) u g ( r , ! 0 ) } ! e & & ! - - t . s c & & t . m a p & & t . m a p . d e l e t e ( t . k e y ) } f u n c t i o n n E ( n ) { c o n s t { p r e v D e p : e , n e x t D e p : t } = n ; e & & ( e . n e x t D e p = t , n . p r e v D e p = v o i d 0 ) , t & & ( t . p r e v D e p = e , n . n e x t D e p = v o i d 0 ) } l e t K n = ! 0 ; c o n s t G x = [ ] ; f u n c t i o n d r ( ) { G x . p u s h ( K n ) , K n = ! 1 } f u n c t i o n u r ( ) { c o n s t n = G x . p o p ( ) ; K n = n = = = v o i d 0 ? ! 0 : n } f u n c t i o n u v ( n ) { c o n s t { c l e a n u p : e } = n ; i f ( n . c l e a n u p = v o i d 0 , e ) { c o n s t t = G t ; G t = v o i d 0 ; t r y { e ( ) } f i n a l l y { G t = t } } } l e t V l = 0 ; c l a s s s E { c o n s t r u c t o r ( e , t ) { t h i s . s u b = e , t h i s . d e p = t , t h i s . v e r s i o n = t . v e r s i o n , t h i s . n e x t D e p = t h i s . p r e v D e p = t h i s . n e x t S u b = t h i s . p r e v S u b = t h i s . p r e v A c t i v e L i n k = v o i d 0 } } c l a s s h g { c o n s t r u c t o r ( e ) { t h i s . c o m p u t e d = e , t h i s . v e r s i o n = 0 , t h i s . a c t i v e L i n k = v o i d 0 , t h i s . s u b s = v o i d 0 , t h i s . m a p = v o i d 0 , t h i s . k e y = v o i d 0 , t h i s . s c = 0 , t h i s . _ _ v _ s k i p = ! 0 } t r a c k ( e ) { i f ( ! G t | | ! K n | | G t = = = t h i s . c o m p u t e d ) r e t u r n ; l e t t = t h i s . a c t i v e L i n k ; i f ( t = = = v o i d 0 | | t . s u b ! = = G t ) t = t h i s . a c t i v e L i n k = n e w s E ( G t , t h i s ) , G t . d e p s ? ( t . p r e v D e p = G t . d e p s T a i l , G t . d e p s T a i l . n e x t D e p = t , G t . d e p s T a i l = t ) : G t . d e p s = G t . d e p s T a i l = t , W x ( t ) ; e l s e i f ( t . v e r s i o n = = = - 1 & & ( t . v e r s i o n = t h i s . v e r s i o n , t . n e x t D e p ) ) { c o n s t i = t . n e x t D e p ; i . p r e v D e p = t . p r e v D e p , t . p r e v D e p & & ( t . p r e v D e p . n e x t D e p = i ) , t . p r e v D e p = G t . d e p s T a i l Line truncated
* * / l e t C i ; c l a s s B x { c o n s t r u c t o r ( e = ! 1 ) { t h i s . d e t a c h e d = e , t h i s . _ a c t i v e = ! 0 , t h i s . _ o n = 0 , t h i s . e f f e c t s = [ ] , t h i s . c l e a n u p s = [ ] , t h i s . _ i s P a u s e d = ! 1 , t h i s . _ w a r n O n R u n = ! 0 , t h i s . _ _ v _ s k i p = ! 0 , ! e & & C i & & ( C i . a c t i v e ? ( t h i s . p a r e n t = C i , t h i s . i n d e x = ( C i . s c o p e s | | ( C i . s c o p e s = [ ] ) ) . p u s h ( t h i s ) - 1 ) : ( t h i s . _ a c t i v e = ! 1 , t h i s . _ w a r n O n R u n = ! 1 ) ) } g e t a c t i v e ( ) { r e t u r n t h i s . _ a c t i v e } p a u s e ( ) { i f ( t h i s . _ a c t i v e ) { t h i s . _ i s P a u s e d = ! 0 ; l e t e , t ; i f ( t h i s . s c o p e s ) { c o n s t i = t h i s . s c o p e s . s l i c e ( ) ; f o r ( e = 0 , t = i . l e n g t h ; e < t ; e + + ) i [ e ] . p a u s e ( ) } f o r ( e = 0 , t = t h i s . e f f e c t s . l e n g t h ; e < t ; e + + ) t h i s . e f f e c t s [ e ] . p a u s e ( ) } } r e s u m e ( ) { i f ( t h i s . _ a c t i v e & & t h i s . _ i s P a u s e d ) { t h i s . _ i s P a u s e d = ! 1 ; l e t e , t ; i f ( t h i s . s c o p e s ) { c o n s t s = t h i s . s c o p e s . s l i c e ( ) ; f o r ( e = 0 , t = s . l e n g t h ; e < t ; e + + ) s [ e ] . r e s u m e ( ) } c o n s t i = t h i s . e f f e c t s . s l i c e ( ) ; f o r ( e = 0 , t = i . l e n g t h ; e < t ; e + + ) i [ e ] . r e s u m e ( ) } } r u n ( e ) { i f ( t h i s . _ a c t i v e ) { c o n s t t = C i ; t r y { r e t u r n C i = t h i s , e ( ) } f i n a l l y { C i = t } } } o n ( ) { + + t h i s . _ o n = = = 1 & & ( t h i s . p r e v S c o p e = C i , C i = t h i s ) } o f f ( ) { i f ( t h i s . _ o n > 0 & & - - t h i s . _ o n = = = 0 ) { i f ( C i = = = t h i s ) C i = t h i s . p r e v S c o p e ; e l s e { l e t e = C i ; f o r ( ; e ; ) { i f ( e . p r e v S c o p e = = = t h i s ) { e . p r e v S c o p e = t h i s . p r e v S c o p e ; b r e a k } e = e . p r e v S c o p e } } t h i s . p r e v S c o p e = v o i d 0 } } s t o p ( e ) { i f ( t h i s . _ a c t i v e ) { t h i s . _ a c t i v e = ! 1 ; l e t t , i ; f o r ( t = 0 , i = t h i s . e f f e c t s . l e n g t h ; t < i ; t + + ) t h i s . e f f e c t s [ t ] . s t o p ( ) ; f o r ( t h i s . e f f e c t s . l e n g t h = 0 , t = 0 , i = t h i s . c l e a n u p s . l e n g t h ; t < i ; t + + ) t h i s . c l e a n u p s [ t ] ( ) ; i f ( t h i s . c l e a n u p s . l e n g t h = 0 , t h i s . s c o p e s ) { c o n s t s = t h i s . s c o p e s . s l i c e ( ) ; f o r ( t = 0 , i = s . l e n g t h ; t < i ; t + + ) s [ t ] . s t o p ( ! 0 ) ; t h i s . s c o p e s . l e n g t h = 0 } i f ( ! t h i s . d e t a c h e d & & t h i s . p a r e n t & & ! e ) { c o n s t s = t h i s . p a r e n t . s c o p e s . p o p ( ) ; s & & s ! = = t h i s & & ( t h i s . p a r e n t . s c o p e s [ t h i s . i n d e x ] = s , s . i n d e x = t h i s . i n d e x ) } t h i s . p a r e n t = v o i d 0 } } } f u n c t i o n a g ( n ) { r e t u r n n e w B x ( n ) } f u n c t i o n l g ( ) { r e t u r n C i } f u n c t i o n U x ( n , e = ! 1 ) { C i & & C i . c l e a n u p s . p u s h ( n ) } l e t G t ; c o n s t A h = n e w W e a k S e t ; c l a s s V x { c o n s t r u c t o r ( e ) { t h i s . f n = e , t h i s . d e p s = v o i d 0 , t h i s . d e p s T a i l = v o i d 0 , t h i s . f l a g s = 5 , t h i s . n e x t = v o i d 0 , t h i s . c l e a n u p = v o i d 0 , t h i s . s c h e d u l e r = v o i d 0 , C i & & ( C i . a c t i v e ? C i . e f f e c t s . p u s h ( t h i s ) : t h i s . f l a g s & = - 2 ) } p a u s e ( ) { t h i s . f l a g s | = 6 4 } r e s u m e ( ) { t h i s . f l a g s & 6 4 & & ( t h i s . f l a g s & = - 6 5 , A h . h a s ( t h i s ) & & ( A h . d e l e t e ( t h i s ) , t h i s . t r i g g e r ( ) ) ) } n o t i f y ( ) { t h i s . f l a g s & 2 & & ! ( t h i s . f l a g s & 3 2 ) | | t h i s . f l a g s & 8 | | Y x ( t h i s ) } r u n ( ) { i f ( ! ( t h i s . f l a g s & 1 ) ) r e t u r n t h i s . f n ( ) ; t h i s . f l a g s | = 2 , u v ( t h i s ) , z x ( t h i s ) ; c o n s t e = G t , t = K n ; G t = t h i s , K n = ! 0 ; t r y { r e t u r n t h i s . f n ( ) } f i n a l l y { j x ( t h i s ) , G t = e , K n = t , t h i s . f l a g s & = - 3 } } s t o p ( ) { i f ( t h i s . f l a g s & 1 ) { f o r ( l e t e = t h i s . d e p s ; e ; e = e . n e x t D e p ) u g ( e ) ; t h i s . d e p s = t h i s . d e p s T a i l = v o i d 0 , u v ( t h i s ) , t h i s . o n S t o p & & t h i s . o n S t o p ( ) , t h i s . f l a g s & = - 2 } } t r i g g e r ( ) { t h i s . f l a g s & 6 4 ? A h . a d d ( t h i s ) : t h i s . s c h e d u l e r ? t h i s . s c h e d u l e r ( ) : t h i s . r u n I f D i r t y ( ) } r u n I f D i r t y ( ) { S p ( t h i s ) & & t h i s . r u n ( ) } g e t d i r t y ( ) { r e t u r n S p ( t h i s ) } } l e t X x = 0 , M l , P l ; f u n c t i o n Y x ( n , e = ! 1 ) { i f ( n . f l a g s | = 8 , e ) { n . n e x t = P l , P l = n ; r e t u r n } n . n e x t = M l , M l = n } f u n c t i o n c g ( ) { X x + + } f u n c t i o n d g ( ) { i f ( - - X x > 0 ) r e t u r n ; i f ( P l ) { l e t e = P l ; f o r ( P l = v o i d 0 ; e ; ) { c o n s t t = e . n e x t ; e . n e x t = v o i d 0 , e . f l a g s & = - 9 , e = t } } l e t n ; f o r ( ; M l ; ) { l e t e = M l ; f o r ( M l = v o i d 0 ; e ; ) { c o n s t t = e . n e x t ; i f ( e . n e x t = v o i d 0 , e . f l a g s & = - 9 , e . f l a g s & 1 ) t r y { e . t r i g g e r ( ) } c a t c h ( i ) { n | | ( n = i ) } e = t } } i f ( n ) t h r o w n } f u n c t i o n z x ( n ) { f o r ( l e t e = n . d e p s ; e ; e = e . n e x t D e p ) e . v e r s i o n = - 1 , e . p r e v A c t i v e L i n k = e . d e p . a c t i v e L i n k , e . d e p . a c t i v e L i n k = e } f u n c t i o n j x ( n ) { l e t e , t = n . d e p s T a i l , i = t ; f o r ( ; i ; ) { c o n s t s = i . p r e v D e p ; i . v e r s i o n = = = - 1 ? ( i = = = t & & ( t = s ) , u g ( i ) , n E ( i ) ) : e = i , i . d e p . a c t i v e L i n k = i . p r e v A c t i v e L i n k , i . p r e v A c t i v e L i n k = v o i d 0 , i = s } n . d e p s = e , n . d e p s T a i l = t } f u n c t i o n S p ( n ) { f o r ( l e t e = n . d e p s ; e ; e = e . n e x t D e p ) i f ( e . d e p . v e r s i o n ! = = e . v e r s i o n | | e . d e p . c o m p u t e d & & ( H x ( e . d e p . c o m p u t e d ) | | e . d e p . v e r s i o n ! = = e . v e r s i o n ) ) r e t u r n ! 0 ; r e t u r n ! ! n . _ d i r t y } f u n c t i o n H x ( n ) { i f ( n . f l a g s & 4 & & ! ( n . f l a g s & 1 6 ) | | ( n . f l a g s & = - 1 7 , n . g l o b a l V e r s i o n = = = V l ) | | ( n . g l o b a l V e r s i o n = V l , ! n . i s S S R & & n . f l a g s & 1 2 8 & & ( ! n . d e p s & & ! n . _ d i r t y | | ! S p ( n ) ) ) ) r e t u r n ; n . f l a g s | = 2 ; c o n s t e = n . d e p , t = G t , i = K n ; G t = n , K n = ! 0 ; t r y { z x ( n ) ; c o n s t s = n . f n ( n . _ v a l u e ) ; ( e . v e r s i o n = = = 0 | | x s ( s , n . _ v a l u e ) ) & & ( n . f l a g s | = 1 2 8 , n . _ v a l u e = s , e . v e r s i o n + + ) } c a t c h ( s ) { t h r o w e . v e r s i o n + + , s } f i n a l l y { G t = t , K n = i , j x ( n ) , n . f l a g s & = - 3 } } f u n c t i o n u g ( n , e = ! 1 ) { c o n s t { d e p : t , p r e v S u b : i , n e x t S u b : s } = n ; i f ( i & & ( i . n e x t S u b = s , n . p r e v S u b = v o i d 0 ) , s & & ( s . p r e v S u b = i , n . n e x t S u b = v o i d 0 ) , t . s u b s = = = n & & ( t . s u b s = i , ! i & & t . c o m p u t e d ) ) { t . c o m p u t e d . f l a g s & = - 5 ; f o r ( l e t r = t . c o m p u t e d . d e p s ; r ; r = r . n e x t D e p ) u g ( r , ! 0 ) } ! e & & ! - - t . s c & & t . m a p & & t . m a p . d e l e t e ( t . k e y ) } f u n c t i o n n E ( n ) { c o n s t { p r e v D e p : e , n e x t D e p : t } = n ; e & & ( e . n e x t D e p = t , n . p r e v D e p = v o i d 0 ) , t & & ( t . p r e v D e p = e , n . n e x t D e p = v o i d 0 ) } l e t K n = ! 0 ; c o n s t G x = [ ] ; f u n c t i o n d r ( ) { G x . p u s h ( K n ) , K n = ! 1 } f u n c t i o n u r ( ) { c o n s t n = G x . p o p ( ) ; K n = n = = = v o i d 0 ? ! 0 : n } f u n c t i o n u v ( n ) { c o n s t { c l e a n u p : e } = n ; i f ( n . c l e a n u p = v o i d 0 , e ) { c o n s t t = G t ; G t = v o i d 0 ; t r y { e ( ) } f i n a l l y { G t = t } } } l e t V l = 0 ; c l a s s s E { c o n s t r u c t o r ( e , t ) { t h i s . s u b = e , t h i s . d e p = t , t h i s . v e r s i o n = t . v e r s i o n , t h i s . n e x t D e p = t h i s . p r e v D e p = t h i s . n e x t S u b = t h i s . p r e v S u b = t h i s . p r e v A c t i v e L i n k = v o i d 0 } } c l a s s h g { c o n s t r u c t o r ( e ) { t h i s . c o m p u t e d = e , t h i s . v e r s i o n = 0 , t h i s . a c t i v e L i n k = v o i d 0 , t h i s . s u b s = v o i d 0 , t h i s . m a p = v o i d 0 , t h i s . k e y = v o i d 0 , t h i s . s c = 0 , t h i s . _ _ v _ s k i p = ! 0 } t r a c k ( e ) { i f ( ! G t | | ! K n | | G t = = = t h i s . c o m p u t e d ) r e t u r n ; l e t t = t h i s . a c t i v e L i n k ; i f ( t = = = v o i d 0 | | t . s u b ! = = G t ) t = t h i s . a c t i v e L i n k = n e w s E ( G t , t h i s ) , G t . d e p s ? ( t . p r e v D e p = G t . d e p s T a i l , G t . d e p s T a i l . n e x t D e p = t , G t . d e p s T a i l = t ) : G t . d e p s = G t . d e p s T a i l = t , W x ( t ) ; e l s e i f ( t . v e r s i o n = = = - 1 & & ( t . v e r s i o n = t h i s . v e r s i o n , t . n e x t D e p ) ) { c o n s t i = t . n e x t D e p ; i . p r e v D e p = t . p r e v D e p , t . p r e v D e p & & ( t . p r e v D e p . n e x t D e p = i ) , t . p r e v D e p = G t . d e p s T a i l Line truncated
* @ vue / runtime - core v3 . 5.41
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
* * /function hc(n,e,t,i){try{return i?n(...i):n()}catch(s){Yu(s,e,t)}}function Dn(n,e,t,i){if(dt(n)){const s=hc(n,e,t,i);return s&&kx(s)&&s.catch(r=>{Yu(r,e,t)}),s}if(et(n)){const s=[];for(let r=0;r<n.length;r++)s.push(Dn(n[r],e,t,i));return s}}function Yu(n,e,t,i=!0){const s=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||Xt;if(e){let a=e.parent;const c=e.proxy,l=`https:/ / vuejs . org / error - reference / # runtime - $ { t } ` ;for(;a;){const d=a.ec;if(d){for(let u=0;u<d.length;u++)if(d[u](n,c,l)===!1)return}a=a.parent}if(r){dr(),hc(r,null,10,[n,c,l]),ur();return}}RE(n,t,s,i,o)}function RE(n,e,t,i=!0,s=!1){if(s)throw n;console.error(n)}const Zi=[];let us=-1;const _a=[];let Ir=null,ua=0;const n1=Promise.resolve();let Od=null;function zu(n){const e=Od||n1;return n?e.then(this?n.bind(this):n):e}function FE(n){let e=us+1,t=Zi.length;for(;e<t;){const i=e+t>>>1,s=Zi[i],r=Yl(s);r<n||r===n&&s.flags&2?e=i+1:t=i}return e}function mg(n){if(!(n.flags&1)){const e=Yl(n),t=Zi[Zi.length-1];!t||!(n.flags&2)&&e>=Yl(t)?Zi.push(n):Zi.splice(FE(e),0,n),n.flags|=1,s1()}}function s1(){Od||(Od=n1.then(o1))}function LE(n){if(!et(n))Ir&&n.id===-1?Ir.splice(ua+1,0,n):n.flags&1||(_a.push(n),n.flags|=1);else for(let e=0;e<n.length;e++)_a.push(n[e]);s1()}function fv(n,e,t=us+1){for(;t<Zi.length;t++){const i=Zi[t];if(i&&i.flags&2){if(n&&i.id!==n.uid)continue;Zi.splice(t,1),t--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function r1(n){if(_a.length){const e=[...new Set(_a)].sort((t,i)=>Yl(t)-Yl(i));if(_a.length=0,Ir){for(let t=0;t<e.length;t++)Ir.push(e[t]);return}for(Ir=e,ua=0;ua<Ir.length;ua++){const t=Ir[ua];t.flags&4&&(t.flags&=-2),t.flags&8||t(),t.flags&=-2}Ir=null,ua=0}}const Yl=n=>n.id==null?n.flags&2?-1:1/0:n.id;function o1(n){try{for(us=0;us<Zi.length;us++){const e=Zi[us];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),hc(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;us<Zi.length;us++){const e=Zi[us];e&&(e.flags&=-2)}us=-1,Zi.length=0,r1(),Od=null,(Zi.length||_a.length)&&o1()}}let Gi=null,a1=null;function Nd(n){const e=Gi;return Gi=n,a1=n&&n.type.__scopeId||null,e}function ju(n,e=Gi,t){if(!e||n._n)return n;const i=(...s)=>{i._d&&Vd(-1);const r=Nd(e),o=ar.length;let a;try{a=n(...s)}finally{for(let c=ar.length;c>o;c--)xg();Nd(r),i._d&&Vd(1)}return a};return i._n=!0,i._c=!0,i._d=!0,i}function me(n,e){if(Gi===null)return n;const t=Ju(Gi),i=n.dirs||(n.dirs=[]);for(let s=0;s<e.length;s++){let[r,o,a,c=Xt]=e[s];r&&(dt(r)&&(r={mounted:r,updated:r}),r.deep&&Ws(o),i.push({dir:r,instance:t,value:o,oldValue:void 0,arg:a,modifiers:c}))}return n}function ao(n,e,t,i){const s=n.dirs,r=e&&e.dirs;for(let o=0;o<s.length;o++){const a=s[o];r&&(a.oldValue=r[o].value);let c=a.dir[i];c&&(dr(),Dn(c,t,8,[n.el,a,n,e]),ur())}}function l1(n,e){if(Qi){let t=Qi.provides;const i=Qi.parent&&Qi.parent.provides;i===t&&(t=Qi.provides=Object.create(i)),t[n]=e}}function Ro(n,e,t=!1){const i=Ku();if(i||Fo){let s=Fo?Fo._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(s&&n in s)return s[n];if(arguments.length>1)return t&&dt(e)?e.call(i&&i.proxy):e}}function DE(){return!!(Ku()||Fo)}const OE=Symbol.for("v-scx"),NE=()=>Ro(OE);function ha(n,e){return gg(n,null,e)}function ei(n,e,t){return gg(n,e,t)}function gg(n,e,t=Xt){const{immediate:i,deep:s,flush:r,once:o}=t,a=Ei({},t),c=e&&i||!e&&r!=="post";let l;if(Wl){if(r==="sync"){const f=NE();l=f.__watcherHandles||(f.__watcherHandles=[])}else if(!c){const f=()=>{};return f.stop=Es,f.resume=Es,f.pause=Es,f}}const d=Qi;a.call=(f,p,m)=>Dn(f,d,p,m);let u=!1;r==="post"?a.scheduler=f=>{qi(f,d&&d.suspense)}:r!=="sync"&&(u=!0,a.scheduler=(f,p)=>{p?f():mg(f)}),a.augmentJob=f=>{e&&(f.flags|=4),u&&(f.flags|=2,d&&(f.id=d.uid,f.i=d))};const h=kE(n,e,a);return Wl&&(l?l.push(h):c&&h()),h}function $ E(n,e,t){const i=this.proxy,s=ii(n)?n.includes(".")?c1(i,n):()=>i[n]:n.bind(i,i);let r;dt(e)?r=e:(r=e.handler,t=e);const o=pc(this),a=gg(s,r.bind(i),t);return o(),a}function c1(n,e){const t=e.split(".");return()=>{let i=n;for(let s=0;s<t.length&&i;s++)i=i[t[s]];return i}}const Tr=new WeakMap,d1=Symbol("_vte"),Hu=n=>n.__isTeleport,wo=n=>n&&(n.disabled||n.disabled===""),BE=n=>n&&(n.defer||n.defer===""),pv=n=>typeof SVGElement<"u"&&n instanceof SVGElement,mv=n=>typeof MathMLElement=="function"&&n instanceof MathMLElement,Ep=(n,e)=>{const t=n&&n.to;return ii(t)?e?e(t):null:t},UE={name:"Teleport",__isTeleport:!0,process(n,e,t,i,s,r,o,a,c,l){const{mc:d,pc:u,pbc:h,o:{insert:f,querySelector:p,createText:m,createComment:g,parentNode:v}}=l,y=wo(e.props);let{dynamicChildren:b}=e;const x=(S,E,_)=>{S.shapeFlag&16&&d(S.children,E,_,s,r,o,a,c)},C=(S=e)=>{const E=wo(S.props),_=S.target=Ep(S.props,p),I=_p(_,S,m,f);_&&(o!=="svg"&&pv(_)?o="svg":o!=="mathml"&&mv(_)&&(o="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(_),E||(x(S,_,I),gl(S,!1)))},T=S=>{const E=()=>{if(Tr.get(S)===E){if(Tr.delete(S),wo(S.props)){const _=v(S.el)||t;x
Line truncated
* * /function hc(n,e,t,i){try{return i?n(...i):n()}catch(s){Yu(s,e,t)}}function Dn(n,e,t,i){if(dt(n)){const s=hc(n,e,t,i);return s&&kx(s)&&s.catch(r=>{Yu(r,e,t)}),s}if(et(n)){const s=[];for(let r=0;r<n.length;r++)s.push(Dn(n[r],e,t,i));return s}}function Yu(n,e,t,i=!0){const s=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||Xt;if(e){let a=e.parent;const c=e.proxy,l=`https:/ / vuejs . org / error - reference / # runtime - $ { t } ` ;for(;a;){const d=a.ec;if(d){for(let u=0;u<d.length;u++)if(d[u](n,c,l)===!1)return}a=a.parent}if(r){dr(),hc(r,null,10,[n,c,l]),ur();return}}RE(n,t,s,i,o)}function RE(n,e,t,i=!0,s=!1){if(s)throw n;console.error(n)}const Zi=[];let us=-1;const _a=[];let Ir=null,ua=0;const n1=Promise.resolve();let Od=null;function zu(n){const e=Od||n1;return n?e.then(this?n.bind(this):n):e}function FE(n){let e=us+1,t=Zi.length;for(;e<t;){const i=e+t>>>1,s=Zi[i],r=Yl(s);r<n||r===n&&s.flags&2?e=i+1:t=i}return e}function mg(n){if(!(n.flags&1)){const e=Yl(n),t=Zi[Zi.length-1];!t||!(n.flags&2)&&e>=Yl(t)?Zi.push(n):Zi.splice(FE(e),0,n),n.flags|=1,s1()}}function s1(){Od||(Od=n1.then(o1))}function LE(n){if(!et(n))Ir&&n.id===-1?Ir.splice(ua+1,0,n):n.flags&1||(_a.push(n),n.flags|=1);else for(let e=0;e<n.length;e++)_a.push(n[e]);s1()}function fv(n,e,t=us+1){for(;t<Zi.length;t++){const i=Zi[t];if(i&&i.flags&2){if(n&&i.id!==n.uid)continue;Zi.splice(t,1),t--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function r1(n){if(_a.length){const e=[...new Set(_a)].sort((t,i)=>Yl(t)-Yl(i));if(_a.length=0,Ir){for(let t=0;t<e.length;t++)Ir.push(e[t]);return}for(Ir=e,ua=0;ua<Ir.length;ua++){const t=Ir[ua];t.flags&4&&(t.flags&=-2),t.flags&8||t(),t.flags&=-2}Ir=null,ua=0}}const Yl=n=>n.id==null?n.flags&2?-1:1/0:n.id;function o1(n){try{for(us=0;us<Zi.length;us++){const e=Zi[us];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),hc(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;us<Zi.length;us++){const e=Zi[us];e&&(e.flags&=-2)}us=-1,Zi.length=0,r1(),Od=null,(Zi.length||_a.length)&&o1()}}let Gi=null,a1=null;function Nd(n){const e=Gi;return Gi=n,a1=n&&n.type.__scopeId||null,e}function ju(n,e=Gi,t){if(!e||n._n)return n;const i=(...s)=>{i._d&&Vd(-1);const r=Nd(e),o=ar.length;let a;try{a=n(...s)}finally{for(let c=ar.length;c>o;c--)xg();Nd(r),i._d&&Vd(1)}return a};return i._n=!0,i._c=!0,i._d=!0,i}function me(n,e){if(Gi===null)return n;const t=Ju(Gi),i=n.dirs||(n.dirs=[]);for(let s=0;s<e.length;s++){let[r,o,a,c=Xt]=e[s];r&&(dt(r)&&(r={mounted:r,updated:r}),r.deep&&Ws(o),i.push({dir:r,instance:t,value:o,oldValue:void 0,arg:a,modifiers:c}))}return n}function ao(n,e,t,i){const s=n.dirs,r=e&&e.dirs;for(let o=0;o<s.length;o++){const a=s[o];r&&(a.oldValue=r[o].value);let c=a.dir[i];c&&(dr(),Dn(c,t,8,[n.el,a,n,e]),ur())}}function l1(n,e){if(Qi){let t=Qi.provides;const i=Qi.parent&&Qi.parent.provides;i===t&&(t=Qi.provides=Object.create(i)),t[n]=e}}function Ro(n,e,t=!1){const i=Ku();if(i||Fo){let s=Fo?Fo._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(s&&n in s)return s[n];if(arguments.length>1)return t&&dt(e)?e.call(i&&i.proxy):e}}function DE(){return!!(Ku()||Fo)}const OE=Symbol.for("v-scx"),NE=()=>Ro(OE);function ha(n,e){return gg(n,null,e)}function ei(n,e,t){return gg(n,e,t)}function gg(n,e,t=Xt){const{immediate:i,deep:s,flush:r,once:o}=t,a=Ei({},t),c=e&&i||!e&&r!=="post";let l;if(Wl){if(r==="sync"){const f=NE();l=f.__watcherHandles||(f.__watcherHandles=[])}else if(!c){const f=()=>{};return f.stop=Es,f.resume=Es,f.pause=Es,f}}const d=Qi;a.call=(f,p,m)=>Dn(f,d,p,m);let u=!1;r==="post"?a.scheduler=f=>{qi(f,d&&d.suspense)}:r!=="sync"&&(u=!0,a.scheduler=(f,p)=>{p?f():mg(f)}),a.augmentJob=f=>{e&&(f.flags|=4),u&&(f.flags|=2,d&&(f.id=d.uid,f.i=d))};const h=kE(n,e,a);return Wl&&(l?l.push(h):c&&h()),h}function $ E(n,e,t){const i=this.proxy,s=ii(n)?n.includes(".")?c1(i,n):()=>i[n]:n.bind(i,i);let r;dt(e)?r=e:(r=e.handler,t=e);const o=pc(this),a=gg(s,r.bind(i),t);return o(),a}function c1(n,e){const t=e.split(".");return()=>{let i=n;for(let s=0;s<t.length&&i;s++)i=i[t[s]];return i}}const Tr=new WeakMap,d1=Symbol("_vte"),Hu=n=>n.__isTeleport,wo=n=>n&&(n.disabled||n.disabled===""),BE=n=>n&&(n.defer||n.defer===""),pv=n=>typeof SVGElement<"u"&&n instanceof SVGElement,mv=n=>typeof MathMLElement=="function"&&n instanceof MathMLElement,Ep=(n,e)=>{const t=n&&n.to;return ii(t)?e?e(t):null:t},UE={name:"Teleport",__isTeleport:!0,process(n,e,t,i,s,r,o,a,c,l){const{mc:d,pc:u,pbc:h,o:{insert:f,querySelector:p,createText:m,createComment:g,parentNode:v}}=l,y=wo(e.props);let{dynamicChildren:b}=e;const w=(S,E,_)=>{S.shapeFlag&16&&d(S.children,E,_,s,r,o,a,c)},C=(S=e)=>{const E=wo(S.props),_=S.target=Ep(S.props,p),I=_p(_,S,m,f);_&&(o!=="svg"&&pv(_)?o="svg":o!=="mathml"&&mv(_)&&(o="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(_),E||(w(S,_,I),gl(S,!1)))},T=S=>{const E=()=>{if(Tr.get(S)===E){if(Tr.delete(S),wo(S.props)){const _=v(S.el)||t;w
Line truncated
* @ vue / runtime - dom v3 . 5.41
* ( c ) 2018 - present Yuxi ( Evan ) You and Vue contributors
* @ license MIT
* * /let Fp;const Mv=typeof window<"u"&&window.trustedTypes;if(Mv)try{Fp=Mv.createPolicy("vue",{createHTML:n=>n})}catch{}const U1=Fp?n=>Fp.createHTML(n):n=>n,X_="http:/ / www . w3 . org / 2000 / svg ",Y_=" http : //www.w3.org/1998/Math/MathML",Vs=typeof document<"u"?document:null,Pv=Vs&&Vs.createElement("template"),z_={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,i)=>{const s=e==="svg"?Vs.createElementNS(X_,n):e==="mathml"?Vs.createElementNS(Y_,n):t?Vs.createElement(n,{is:t}):Vs.createElement(n);return n==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:n=>Vs.createTextNode(n),createComment:n=>Vs.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Vs.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,i,s,r){const o=t?t.previousSibling:e.lastChild;if(s&&(s===r||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),t),!(s===r||!(s=s.nextSibling)););else{Pv.innerHTML=U1(i==="svg"?`<svg>${n}</svg>`:i==="mathml"?`<math>${n}</math>`:n);const a=Pv.content;if(i==="svg"||i==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}e.insertBefore(a,t)}return[o?o.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},wr="transition",ll="animation",Kl=Symbol("_vtc"),V1={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},j_=Ei({},h1,V1),H_=n=>(n.displayName="Transition",n.props=j_,n),G_=H_((n,{slots:e})=>ql(zE,W_(n),e)),co=(n,e=[])=>{et(n)?n.forEach(t=>t(...e)):n&&n(...e)},Iv=n=>n?et(n)?n.some(e=>e.length>1):n.length>1:!1;function W_(n){const e={};for(const k in n)k in V1||(e[k]=n[k]);if(n.css===!1)return e;const{name:t="v",type:i,duration:s,enterFromClass:r=`${t}-enter-from`,enterActiveClass:o=`${t}-enter-active`,enterToClass:a=`${t}-enter-to`,appearFromClass:c=r,appearActiveClass:l=o,appearToClass:d=a,leaveFromClass:u=`${t}-leave-from`,leaveActiveClass:h=`${t}-leave-active`,leaveToClass:f=`${t}-leave-to`}=n,p=q_(s),m=p&&p[0],g=p&&p[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:C,onBeforeAppear:T=v,onAppear:S=y,onAppearCancelled:E=b}=e,_=(k,B,D,G)=>{k._enterCancelled=G,uo(k,B?d:a),uo(k,B?l:o),D&&D()},I=(k,B)=>{k._isLeaving=!1,uo(k,u),uo(k,f),uo(k,h),B&&B()},M=k=>(B,D)=>{const G=k?S:y,V=()=>_(B,k,D);co(G,[B,V]),kv(()=>{uo(B,k?c:r),Os(B,k?d:a),Iv(G)||Rv(B,i,m,V)})};return Ei(e,{onBeforeEnter(k){co(v,[k]),Os(k,r),Os(k,o)},onBeforeAppear(k){co(T,[k]),Os(k,c),Os(k,l)},onEnter:M(!1),onAppear:M(!0),onLeave(k,B){k._isLeaving=!0;const D=()=>I(k,B);Os(k,u),k._enterCancelled?(Os(k,h),Dv(k)):(Dv(k),Os(k,h)),kv(()=>{k._isLeaving&&(uo(k,u),Os(k,f),Iv(x)||Rv(k,i,g,D))}),co(x,[k,D])},onEnterCancelled(k){_(k,!1,void 0,!0),co(b,[k])},onAppearCancelled(k){_(k,!0,void 0,!0),co(E,[k])},onLeaveCancelled(k){I(k),co(C,[k])}})}function q_(n){if(n==null)return null;if(Ot(n))return[Ih(n.enter),Ih(n.leave)];{const e=Ih(n);return[e,e]}}function Ih(n){return qT(n)}function Os(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.add(t)),(n[Kl]||(n[Kl]=new Set)).add(e)}function uo(n,e){e.split(/\s+/).forEach(i=>i&&n.classList.remove(i));const t=n[Kl];t&&(t.delete(e),t.size||(n[Kl]=void 0))}function kv(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let K_=0;function Rv(n,e,t,i){const s=n._endId=++K_,r=()=>{s===n._endId&&i()};if(t!=null)return setTimeout(r,t);const{type:o,timeout:a,propCount:c}=J_(n,e);if(!o)return i();const l=o+"end";let d=0;const u=()=>{n.removeEventListener(l,h),r()},h=f=>{f.target===n&&++d>=c&&u()};setTimeout(()=>{d<c&&u()},a+1),n.addEventListener(l,h)}function J_(n,e){const t=window.getComputedStyle(n),i=p=>(t[p]||"").split(", "),s=i(`${wr}Delay`),r=i(`${wr}Duration`),o=Fv(s,r),a=i(`${ll}Delay`),c=i(`${ll}Duration`),l=Fv(a,c);let d=null,u=0,h=0;e===wr?o>0&&(d=wr,u=o,h=r.length):e===ll?l>0&&(d=ll,u=l,h=c.length):(u=Math.max(o,l),d=u>0?o>l?wr:ll:null,h=d?d===wr?r.length:c.length:0);const f=d===wr&&/\b(?:transform|all)(?:,|$)/.test(i(`${wr}Property`).toString());return{type:d,timeout:u,propCount:h,hasTransform:f}}function Fv(n,e){for(;n.length<e.length;)n=n.concat(n);return Math.max(...e.map((t,i)=>Lv(t)+Lv(n[i])))}function Lv(n){return n==="auto"?0:Number(n.slice(0,-1).replace(",","."))*1e3}function Dv(n){return(n?n.ownerDocument:document).body.offsetHeight}function Z_(n,e,t){const i=n[Kl];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}const zd=Symbol("_vod"),X1=Symbol("_vsh"),Fi={name:"show",beforeMount(n,{value:e},{transition:t}){n[zd]=n.style.display==="none"?"":n.style.display,t&&e?t.beforeEnter(n):cl(n,e)},mounted(n,{value:e},{tra
Line truncated
* * /let Fp;const Mv=typeof window<"u"&&window.trustedTypes;if(Mv)try{Fp=Mv.createPolicy("vue",{createHTML:n=>n})}catch{}const U1=Fp?n=>Fp.createHTML(n):n=>n,X_="http:/ / www . w3 . org / 2000 / svg ",Y_=" http : //www.w3.org/1998/Math/MathML",Vs=typeof document<"u"?document:null,Pv=Vs&&Vs.createElement("template"),z_={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,i)=>{const s=e==="svg"?Vs.createElementNS(X_,n):e==="mathml"?Vs.createElementNS(Y_,n):t?Vs.createElement(n,{is:t}):Vs.createElement(n);return n==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:n=>Vs.createTextNode(n),createComment:n=>Vs.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Vs.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,i,s,r){const o=t?t.previousSibling:e.lastChild;if(s&&(s===r||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),t),!(s===r||!(s=s.nextSibling)););else{Pv.innerHTML=U1(i==="svg"?`<svg>${n}</svg>`:i==="mathml"?`<math>${n}</math>`:n);const a=Pv.content;if(i==="svg"||i==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}e.insertBefore(a,t)}return[o?o.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},wr="transition",ll="animation",Kl=Symbol("_vtc"),V1={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},j_=Ei({},h1,V1),H_=n=>(n.displayName="Transition",n.props=j_,n),G_=H_((n,{slots:e})=>ql(zE,W_(n),e)),co=(n,e=[])=>{et(n)?n.forEach(t=>t(...e)):n&&n(...e)},Iv=n=>n?et(n)?n.some(e=>e.length>1):n.length>1:!1;function W_(n){const e={};for(const k in n)k in V1||(e[k]=n[k]);if(n.css===!1)return e;const{name:t="v",type:i,duration:s,enterFromClass:r=`${t}-enter-from`,enterActiveClass:o=`${t}-enter-active`,enterToClass:a=`${t}-enter-to`,appearFromClass:c=r,appearActiveClass:l=o,appearToClass:d=a,leaveFromClass:u=`${t}-leave-from`,leaveActiveClass:h=`${t}-leave-active`,leaveToClass:f=`${t}-leave-to`}=n,p=q_(s),m=p&&p[0],g=p&&p[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:w,onLeaveCancelled:C,onBeforeAppear:T=v,onAppear:S=y,onAppearCancelled:E=b}=e,_=(k,B,D,G)=>{k._enterCancelled=G,uo(k,B?d:a),uo(k,B?l:o),D&&D()},I=(k,B)=>{k._isLeaving=!1,uo(k,u),uo(k,f),uo(k,h),B&&B()},M=k=>(B,D)=>{const G=k?S:y,V=()=>_(B,k,D);co(G,[B,V]),kv(()=>{uo(B,k?c:r),Os(B,k?d:a),Iv(G)||Rv(B,i,m,V)})};return Ei(e,{onBeforeEnter(k){co(v,[k]),Os(k,r),Os(k,o)},onBeforeAppear(k){co(T,[k]),Os(k,c),Os(k,l)},onEnter:M(!1),onAppear:M(!0),onLeave(k,B){k._isLeaving=!0;const D=()=>I(k,B);Os(k,u),k._enterCancelled?(Os(k,h),Dv(k)):(Dv(k),Os(k,h)),kv(()=>{k._isLeaving&&(uo(k,u),Os(k,f),Iv(w)||Rv(k,i,g,D))}),co(w,[k,D])},onEnterCancelled(k){_(k,!1,void 0,!0),co(b,[k])},onAppearCancelled(k){_(k,!0,void 0,!0),co(E,[k])},onLeaveCancelled(k){I(k),co(C,[k])}})}function q_(n){if(n==null)return null;if(Ot(n))return[Ih(n.enter),Ih(n.leave)];{const e=Ih(n);return[e,e]}}function Ih(n){return qT(n)}function Os(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.add(t)),(n[Kl]||(n[Kl]=new Set)).add(e)}function uo(n,e){e.split(/\s+/).forEach(i=>i&&n.classList.remove(i));const t=n[Kl];t&&(t.delete(e),t.size||(n[Kl]=void 0))}function kv(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let K_=0;function Rv(n,e,t,i){const s=n._endId=++K_,r=()=>{s===n._endId&&i()};if(t!=null)return setTimeout(r,t);const{type:o,timeout:a,propCount:c}=J_(n,e);if(!o)return i();const l=o+"end";let d=0;const u=()=>{n.removeEventListener(l,h),r()},h=f=>{f.target===n&&++d>=c&&u()};setTimeout(()=>{d<c&&u()},a+1),n.addEventListener(l,h)}function J_(n,e){const t=window.getComputedStyle(n),i=p=>(t[p]||"").split(", "),s=i(`${wr}Delay`),r=i(`${wr}Duration`),o=Fv(s,r),a=i(`${ll}Delay`),c=i(`${ll}Duration`),l=Fv(a,c);let d=null,u=0,h=0;e===wr?o>0&&(d=wr,u=o,h=r.length):e===ll?l>0&&(d=ll,u=l,h=c.length):(u=Math.max(o,l),d=u>0?o>l?wr:ll:null,h=d?d===wr?r.length:c.length:0);const f=d===wr&&/\b(?:transform|all)(?:,|$)/.test(i(`${wr}Property`).toString());return{type:d,timeout:u,propCount:h,hasTransform:f}}function Fv(n,e){for(;n.length<e.length;)n=n.concat(n);return Math.max(...e.map((t,i)=>Lv(t)+Lv(n[i])))}function Lv(n){return n==="auto"?0:Number(n.slice(0,-1).replace(",","."))*1e3}function Dv(n){return(n?n.ownerDocument:document).body.offsetHeight}function Z_(n,e,t){const i=n[Kl];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}const zd=Symbol("_vod"),X1=Symbol("_vsh"),Fi={name:"show",beforeMount(n,{value:e},{transition:t}){n[zd]=n.style.display==="none"?"":n.style.display,t&&e?t.beforeEnter(n):cl(n,e)},mounted(n,{value:e},{tra
Line truncated
` ))),n[Ss]=Ua(s);const r=i||s.props&&s.props.type==="number";Or(n,e?"change":"input",o=>{o.target.composing||n[Ss](Fh(n.value,t,r))}),(t||r)&&Or(n,"change",()=>{n.value=Fh(n.value,t,r)}),e||(Or(n,"compositionstart",mM),Or(n,"compositionend",Yv),Or(n,"change",Yv))},mounted(n,{value:e,modifiers:{trim:t,number:i}}){const s=e??"",r=n[Rc];delete n[Rc],r!==void 0&&(n.type==="text"||n.type==="textarea")&&n.value!==r?n[Ss](Fh(n.value,t,i)):n.value=s},beforeUpdate(n,{value:e,oldValue:t,modifiers:{lazy:i,trim:s,number:r}},o){if(n[Ss]=Ua(o),n.composing)return;const a=(r||n.type==="number")&&!/^0 \d /.test(n.value)?Bu(n.value):n.value,c=e??"";if(a===c)return;const l=n.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===n&&n.type!=="range"&&(i&&e===t||s&&n.value.trim()===c)||(n.value=c)}},Ct={deep:!0,created(n,e,t){n[Ss]=Ua(t),Or(n,"change",()=>{const i=n._modelValue,s=Jl(n),r=n.checked,o=n[Ss];if(et(i)){const a=og(i,s),c=a!==-1;if(r&&!c)o(i.concat(s));else if(!r&&c){const l=[...i];l.splice(a,1),o(l)}}else if(Ka(i)){const a=new Set(i);r?a.add(s):a.delete(s),o(a)}else o(Y1(n,r))})},mounted:zv,beforeUpdate(n,e,t){n[Ss]=Ua(t),zv(n,e,t)}};function zv(n,{value:e,oldValue:t},i){n._modelValue=e;let s;if(et(e))s=og(e,i.props.value)>-1;else if(Ka(e))s=e.has(i.props.value);else{if(e===t)return;s=Ja(e,Y1(n,!0))}n.checked!==s&&(n.checked=s)}const St={deep:!0,created(n,{value:e,modifiers:{number:t}},i){n._modelValue=e,Or(n,"change",()=>{const s=Array.prototype.filter.call(n.options,r=>r.selected).map(r=>t?Bu(Jl(r)):Jl(r));n[Ss](n.multiple?Ka(n._modelValue)?new Set(s):s:s[0]),n._assigning=!0,zu(()=>{n._assigning=!1})}),n[Ss]=Ua(i)},mounted(n,{value:e}){jv(n,e)},beforeUpdate(n,{value:e},t){n._modelValue=e,n[Ss]=Ua(t)},updated(n,{value:e}){n._assigning||jv(n,e)}};function jv(n,e){const t=n.multiple,i=et(e);if(!(t&&!i&&!Ka(e))){for(let s=0,r=n.options.length;s<r;s++){const o=n.options[s],a=Jl(o);if(t)if(i){const c=typeof a;c==="string"||c==="number"?o.selected=e.some(l=>String(l)===String(a)):o.selected=og(e,a)>-1}else o.selected=e.has(a);else if(Ja(Jl(o),e)){n.selectedIndex!==s&&(n.selectedIndex=s);return}}!t&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function Jl(n){return"_value"in n?n._value:n.value}function Y1(n,e){const t=e?"_trueValue":"_falseValue";return t in n?n[t]:e}const gM=["ctrl","shift","alt","meta"],vM={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>gM.some(t=>n[ ` $ { t } Key ` ]&&!e.includes(t))},tt=(n,e)=>{if(!n)return n;const t=n._withMods||(n._withMods={}),i=e.join(".");return t[i]||(t[i]=((s,...r)=>{for(let o=0;o<e.length;o++){const a=vM[e[o]];if(a&&a(s,e))return}return n(s,...r)}))},bM={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Gr=(n,e)=>{const t=n._withKeys||(n._withKeys={}),i=e.join(".");return t[i]||(t[i]=(s=>{if(!("key"in s))return;const r=Qr(s.key);if(e.some(o=>o===r||bM[o]===r))return n(s)}))},yM=Ei({patchProp:hM},z_);let Hv;function xM(){return Hv||(Hv=A_(yM))}const wM=((...n)=>{const e=xM().createApp(...n),{mount:t}=e;return e.mount=i=>{const s=CM(i);if(!s)return;const r=e._component;!dt(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=t(s,!1,SM(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},e});function SM(n){if(n instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&n instanceof MathMLElement)return"mathml"}function CM(n){return ii(n)?document.querySelector(n):n}/*!
* pinia v4 . 0.3
* ( c ) 2026 Eduardo San Martin Morote
* @ license MIT
* /let z1;const Zu=n=>z1=n,j1=Symbol();function Gv(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}function AM(){const n=ag(!0),e=n.run(()=>$e({}));let t=[],i=[];const s=Ur({install(r){Zu(s),s._a=r,r.provide(j1,s),r.config.globalProperties.$pinia=s,i.forEach(o=>t.push(o)),i=[]},use(r){return this._a?t.push(r):i.push(r),this},_p:t,_a:null,_e:n,_s:new Map,state:e});return s}const Lp=()=>{};function Wv(n,e,t,i=Lp){n.add(e);const s=()=>{n.delete(e)&&i()};return!t&&lg()&&Ux(s),s}function ia(n,...e){n.forEach(t=>{t(...e)})}const TM=n=>n(),qv=Symbol(),Lh=Symbol();function Dp(n,e){n instanceof Map&&e instanceof Map?e.forEach((t,i)=>n.set(i,t)):n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const t in e){if(!Object.hasOwn(e,t))continue;const i=e[t],s=n[t];Gv(s)&&Gv(i)&&Object.hasOwn(n,t)&&!Qt(i)&&!or(i)?n[t]=Dp(s,i):n[t]=i}return n}const EM=Symbol();function _M(n){return!n||typeof n!="object"||!Object.hasOwn(n,EM)}const{assign:Er}=Object;function MM(n){return!!(Qt(n)&&n.effect)}function PM(n,e,t,i){const{state:s,actions:r,getters:o}=e,a=t.state.value[n];let c;function l(){a||(t.state.value[n]=s?s():{});const d=TE(t.state.value[n]);return Er(d,r,Object.keys(o||{}).reduce((u,h)=>(u[h]=Ur(Fe(()=>{Zu(t);const f=t._s.get(n);return o[h].call(f,f)})),u),{}))}return c=H1(n,l,e,t,i,!0),c}function H1(n,e,t={},i,s,r){let o;const a=Er({actions:{}},t),c={deep:!0};let l,d,u=new Set,h=new Set,f;const p=i.state.value[n];!r&&!p&&(i.state.value[n]={});let m;function g(S){let E;l=d=!1,typeof S=="function"?(S(i.state.value[n]),E={type:"patch function",storeId:n,events:f}):(Dp(i.state.value[n],S),E={type:"patch object",payload:S,storeId:n,events:f});const _=m=Symbol();zu().then(()=>{m===_&&(l=!0)}),d=!0,ia(u,E,i.state.value[n])}const v=r?function(){const{state:E}=t,_=E?E():{};this.$patch(I=>{Er(I,_)})}:Lp;function y(){o.stop(),u.clear(),h.clear(),i._s.delete(n)}const b=(S,E="")=>{if(qv in S)return S[Lh]=E,S;const _=function(){Zu(i);const I=Array.from(arguments),M=new Set,k=new Set;function B(V){M.add(V)}function D(V){k.add(V)}ia(h,{args:I,name:_[Lh],store:C,after:B,onError:D});let G;try{G=S.apply(this&&this.$id===n?this:C,I)}catch(V){throw ia(k,V),V}return G instanceof Promise?G.then(V=>(ia(M,V),V)).catch(V=>(ia(k,V),Promise.reject(V))):(ia(M,G),G)};return _[qv]=!0,_[Lh]=E,_},x={_p:i,$id:n,$onAction:Wv.bind(null,h),$patch:g,$reset:v,$subscribe(S,E={}){if(u.has(S))return Lp;const _=Wv(u,S,E.detached,()=>I()),I=o.run(()=>ei(()=>i.state.value[n],M=>{(E.flush==="sync"?d:l)&&S({storeId:n,type:"direct",events:f},M)},Er({},c,E)));return _},$dispose:y},C=zo(x);i._s.set(n,C);const T=(i._a&&i._a.runWithContext||TM)(()=>i._e.run(()=>(o=ag()).run(()=>e({action:b}))));for(const S in T){const E=T[S];Qt(E)&&!MM(E)||or(E)?r||(p&&_M(E)&&(Qt(E)?E.value=p[S]:((E instanceof Set||E instanceof Map)&&E.clear(),Dp(E,p[S]))),i.state.value[n][S]=E):typeof E=="function"&&(T[S]=b(E,S),a.actions[S]=E)}return Er(C,T),Er(_t(C),T),Object.defineProperty(C,"$state",{get:()=>i.state.value[n],set:S=>{g(E=>{Er(E,S)})}}),i._p.forEach(S=>{const E=o.run(()=>S({store:C,app:i._a,pinia:i,options:a}));Er(C,E)}),p&&r&&t.hydrate&&t.hydrate(C.$state,p),l=!0,d=!0,C}/ * ! # _ _NO _SIDE _EFFECTS _ _ * / f u n c t i o n I M ( n , e , t ) { l e t i ; c o n s t s = t y p e o f e = = " f u n c t i o n " ; i = s ? t : e ; f u n c t i o n r ( o , a ) { c o n s t c = D E ( ) ; r e t u r n o = o | | ( c ? R o ( j 1 , n u l l ) : n u l l ) , o & & Z u ( o ) , o = z 1 , o . _ s . h a s ( n ) | | ( s ? H 1 ( n , e , i , o ) : P M ( n , i , o ) ) , o . _ s . g e t ( n ) } r e t u r n r . $ i d = n , r } v a r j o = ( n = > ( n [ n . W E B G L _ L E G A C Y = 0 ] = " W E B G L _ L E G A C Y " , n [ n . W E B G L = 1 ] = " W E B G L " , n [ n . W E B G L 2 = 2 ] = " W E B G L 2 " , n ) ) ( j o | | { } ) , G 1 = ( n = > ( n [ n . U N K N O W N = 0 ] = " U N K N O W N " , n [ n . W E B G L = 1 ] = " W E B G L " , n [ n . C A N V A S = 2 ] = " C A N V A S " , n ) ) ( G 1 | | { } ) , O p = ( n = > ( n [ n . C O L O R = 1 6 3 8 4 ] = " C O L O R " , n [ n . D E P T H = 2 5 6 ] = " D E P T H " , n [ n . S T E N C I L = 1 0 2 4 ] = " S T E N C I L " , n ) ) ( O p | | { } ) , Q e = ( n = > ( n [ n . N O R M A L = 0 ] = " N O R M A L " , n [ n . A D D = 1 ] = " A D D " , n [ n . M U L T I P L Y = 2 ] = " M U L T I P L Y " , n [ n . S C R E E N = 3 ] = " S C R E E N " , n [ n . O V E R L A Y = 4 ] = " O V E R L A Y " , n [ n . D A R K E N = 5 ] = " D A R K E N " , n [ n . L I G H T E N = 6 ] = " L I G H T E N " , n [ n . C O L O R _ D O D G E = 7 ] = " C O L O R _ D O D G E " , n [ n . C O L O R _ B U R N = 8 ] = " C O L O R _ B U R N " , n [ n . H A R D _ L I G H T = 9 ] = " H A R D _ L I G H T " , n [ n . S O F T _ L I G H T = 1 0 ] = " S O F T _ L I G H T " , n [ n . D I F F E R E N C E = 1 1 ] = " D I F F E R E N C E " , n [ n . E X C L U S I O N = 1 2 ] = " E X C L U S I O N " , n [ n . H U E = 1 3 ] = " H U E " , n [ n . S A T U R A T I O N = 1 4 ] = " S A T U R A T I O N " , n [ n . C O L O R = 1 5 ] = " C O L O R " , n [ n . L U M I N O S I T Y = 1 6 ] = " L U M I N O S I T Y " , n [ n . N O R M A L _ N P M = 1 7 ] = " N O R M A L _ N P M " , n [ n . A D D _ N P M = 1 8 ] = " A D D _ N P M " , n [ n . S C R E E N _ N P M = 1 9 ] = " S C R E E N _ N P M " , n [ n . N O N E = 2 0 ] = " N O N E " , n [ n . S R C _ O V E R = 0 ] = " S R C _ O V E R " , n [ n . S R C _ I N = 2 1 ] = " S R C _ I N " , n [ n . S R C _ O U T = 2 2 ] = " S R C _ O U T " , n [ n . S R C _ A T O P = 2 3 ] = " S R C _ A T O P " , n [ n . D S T _ O V E R = 2 4 ] = " D S T _ O V E R " , n [ n . D S T _ I N = 2 5 ] = " D S T _ I N " , n [ n . D S T _ O U T = 2 6 ] = " D S T _ O U T " , n [ n . D S T _ A T O P = 2 7 ] = " D S T _ A T O P " , n [ n . E R A S E = 2 6 ] = " E R A S E " , n [ n . S U B T R A C T = 2 8 ] = " S U B T R A C T " , n [ n . X O R = 2 9 ] = " X O R " , n ) ) ( Q e | | { } ) , C s = ( n = > ( n [ n . P O I N T S = 0 ] = " P O I N T S " , n [ n . L I N E S = 1 ] = " L I N E S " , n [ n . L I N E _ L O O P = 2 ] = " L I N E _ L O O P " , n [ n . L I N E _ S T R I P = 3 ] = " L I N E _ S T R I P " , n [ n . T R I A N G L E S = 4 ] = " T R I A N G L E S " , n [ n . T R I A N G L E _ S T R I P = 5 ] = " T R I A N G L E _ S T R I P " , n [ n . T R I A N G L E _ F A N = 6 ] = " T R I A N G L E _ F A N " , n ) ) ( C s | | { } ) , P e = ( n = > ( n [ n . R G B A = 6 4 0 8 ] = " R G B A " , n [ n . R G B = 6 4 0 7 ] = " R G B " , n [ n . R G = 3 3 3 1 9 ] = " R G " , n [ n . R E D = 6 4 0 3 ] = " R E D " , n [ n . R G B A _ I N T E G E R = 3 6 2 4 9 ] = " R G B A _ I N T E G E R " , n [ n . R G B _ I N T E G E R = 3 6 2 4 8 ] = " R G B _ I N T E Line truncated
* /let z1;const Zu=n=>z1=n,j1=Symbol();function Gv(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}function AM(){const n=ag(!0),e=n.run(()=>$e({}));let t=[],i=[];const s=Ur({install(r){Zu(s),s._a=r,r.provide(j1,s),r.config.globalProperties.$pinia=s,i.forEach(o=>t.push(o)),i=[]},use(r){return this._a?t.push(r):i.push(r),this},_p:t,_a:null,_e:n,_s:new Map,state:e});return s}const Lp=()=>{};function Wv(n,e,t,i=Lp){n.add(e);const s=()=>{n.delete(e)&&i()};return!t&&lg()&&Ux(s),s}function ia(n,...e){n.forEach(t=>{t(...e)})}const TM=n=>n(),qv=Symbol(),Lh=Symbol();function Dp(n,e){n instanceof Map&&e instanceof Map?e.forEach((t,i)=>n.set(i,t)):n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const t in e){if(!Object.hasOwn(e,t))continue;const i=e[t],s=n[t];Gv(s)&&Gv(i)&&Object.hasOwn(n,t)&&!Qt(i)&&!or(i)?n[t]=Dp(s,i):n[t]=i}return n}const EM=Symbol();function _M(n){return!n||typeof n!="object"||!Object.hasOwn(n,EM)}const{assign:Er}=Object;function MM(n){return!!(Qt(n)&&n.effect)}function PM(n,e,t,i){const{state:s,actions:r,getters:o}=e,a=t.state.value[n];let c;function l(){a||(t.state.value[n]=s?s():{});const d=TE(t.state.value[n]);return Er(d,r,Object.keys(o||{}).reduce((u,h)=>(u[h]=Ur(Fe(()=>{Zu(t);const f=t._s.get(n);return o[h].call(f,f)})),u),{}))}return c=H1(n,l,e,t,i,!0),c}function H1(n,e,t={},i,s,r){let o;const a=Er({actions:{}},t),c={deep:!0};let l,d,u=new Set,h=new Set,f;const p=i.state.value[n];!r&&!p&&(i.state.value[n]={});let m;function g(S){let E;l=d=!1,typeof S=="function"?(S(i.state.value[n]),E={type:"patch function",storeId:n,events:f}):(Dp(i.state.value[n],S),E={type:"patch object",payload:S,storeId:n,events:f});const _=m=Symbol();zu().then(()=>{m===_&&(l=!0)}),d=!0,ia(u,E,i.state.value[n])}const v=r?function(){const{state:E}=t,_=E?E():{};this.$patch(I=>{Er(I,_)})}:Lp;function y(){o.stop(),u.clear(),h.clear(),i._s.delete(n)}const b=(S,E="")=>{if(qv in S)return S[Lh]=E,S;const _=function(){Zu(i);const I=Array.from(arguments),M=new Set,k=new Set;function B(V){M.add(V)}function D(V){k.add(V)}ia(h,{args:I,name:_[Lh],store:C,after:B,onError:D});let G;try{G=S.apply(this&&this.$id===n?this:C,I)}catch(V){throw ia(k,V),V}return G instanceof Promise?G.then(V=>(ia(M,V),V)).catch(V=>(ia(k,V),Promise.reject(V))):(ia(M,G),G)};return _[qv]=!0,_[Lh]=E,_},w={_p:i,$id:n,$onAction:Wv.bind(null,h),$patch:g,$reset:v,$subscribe(S,E={}){if(u.has(S))return Lp;const _=Wv(u,S,E.detached,()=>I()),I=o.run(()=>ei(()=>i.state.value[n],M=>{(E.flush==="sync"?d:l)&&S({storeId:n,type:"direct",events:f},M)},Er({},c,E)));return _},$dispose:y},C=zo(w);i._s.set(n,C);const T=(i._a&&i._a.runWithContext||TM)(()=>i._e.run(()=>(o=ag()).run(()=>e({action:b}))));for(const S in T){const E=T[S];Qt(E)&&!MM(E)||or(E)?r||(p&&_M(E)&&(Qt(E)?E.value=p[S]:((E instanceof Set||E instanceof Map)&&E.clear(),Dp(E,p[S]))),i.state.value[n][S]=E):typeof E=="function"&&(T[S]=b(E,S),a.actions[S]=E)}return Er(C,T),Er(_t(C),T),Object.defineProperty(C,"$state",{get:()=>i.state.value[n],set:S=>{g(E=>{Er(E,S)})}}),i._p.forEach(S=>{const E=o.run(()=>S({store:C,app:i._a,pinia:i,options:a}));Er(C,E)}),p&&r&&t.hydrate&&t.hydrate(C.$state,p),l=!0,d=!0,C}/ * ! # _ _NO _SIDE _EFFECTS _ _ * / f u n c t i o n I M ( n , e , t ) { l e t i ; c o n s t s = t y p e o f e = = " f u n c t i o n " ; i = s ? t : e ; f u n c t i o n r ( o , a ) { c o n s t c = D E ( ) ; r e t u r n o = o | | ( c ? R o ( j 1 , n u l l ) : n u l l ) , o & & Z u ( o ) , o = z 1 , o . _ s . h a s ( n ) | | ( s ? H 1 ( n , e , i , o ) : P M ( n , i , o ) ) , o . _ s . g e t ( n ) } r e t u r n r . $ i d = n , r } v a r j o = ( n = > ( n [ n . W E B G L _ L E G A C Y = 0 ] = " W E B G L _ L E G A C Y " , n [ n . W E B G L = 1 ] = " W E B G L " , n [ n . W E B G L 2 = 2 ] = " W E B G L 2 " , n ) ) ( j o | | { } ) , G 1 = ( n = > ( n [ n . U N K N O W N = 0 ] = " U N K N O W N " , n [ n . W E B G L = 1 ] = " W E B G L " , n [ n . C A N V A S = 2 ] = " C A N V A S " , n ) ) ( G 1 | | { } ) , O p = ( n = > ( n [ n . C O L O R = 1 6 3 8 4 ] = " C O L O R " , n [ n . D E P T H = 2 5 6 ] = " D E P T H " , n [ n . S T E N C I L = 1 0 2 4 ] = " S T E N C I L " , n ) ) ( O p | | { } ) , Q e = ( n = > ( n [ n . N O R M A L = 0 ] = " N O R M A L " , n [ n . A D D = 1 ] = " A D D " , n [ n . M U L T I P L Y = 2 ] = " M U L T I P L Y " , n [ n . S C R E E N = 3 ] = " S C R E E N " , n [ n . O V E R L A Y = 4 ] = " O V E R L A Y " , n [ n . D A R K E N = 5 ] = " D A R K E N " , n [ n . L I G H T E N = 6 ] = " L I G H T E N " , n [ n . C O L O R _ D O D G E = 7 ] = " C O L O R _ D O D G E " , n [ n . C O L O R _ B U R N = 8 ] = " C O L O R _ B U R N " , n [ n . H A R D _ L I G H T = 9 ] = " H A R D _ L I G H T " , n [ n . S O F T _ L I G H T = 1 0 ] = " S O F T _ L I G H T " , n [ n . D I F F E R E N C E = 1 1 ] = " D I F F E R E N C E " , n [ n . E X C L U S I O N = 1 2 ] = " E X C L U S I O N " , n [ n . H U E = 1 3 ] = " H U E " , n [ n . S A T U R A T I O N = 1 4 ] = " S A T U R A T I O N " , n [ n . C O L O R = 1 5 ] = " C O L O R " , n [ n . L U M I N O S I T Y = 1 6 ] = " L U M I N O S I T Y " , n [ n . N O R M A L _ N P M = 1 7 ] = " N O R M A L _ N P M " , n [ n . A D D _ N P M = 1 8 ] = " A D D _ N P M " , n [ n . S C R E E N _ N P M = 1 9 ] = " S C R E E N _ N P M " , n [ n . N O N E = 2 0 ] = " N O N E " , n [ n . S R C _ O V E R = 0 ] = " S R C _ O V E R " , n [ n . S R C _ I N = 2 1 ] = " S R C _ I N " , n [ n . S R C _ O U T = 2 2 ] = " S R C _ O U T " , n [ n . S R C _ A T O P = 2 3 ] = " S R C _ A T O P " , n [ n . D S T _ O V E R = 2 4 ] = " D S T _ O V E R " , n [ n . D S T _ I N = 2 5 ] = " D S T _ I N " , n [ n . D S T _ O U T = 2 6 ] = " D S T _ O U T " , n [ n . D S T _ A T O P = 2 7 ] = " D S T _ A T O P " , n [ n . E R A S E = 2 6 ] = " E R A S E " , n [ n . S U B T R A C T = 2 8 ] = " S U B T R A C T " , n [ n . X O R = 2 9 ] = " X O R " , n ) ) ( Q e | | { } ) , C s = ( n = > ( n [ n . P O I N T S = 0 ] = " P O I N T S " , n [ n . L I N E S = 1 ] = " L I N E S " , n [ n . L I N E _ L O O P = 2 ] = " L I N E _ L O O P " , n [ n . L I N E _ S T R I P = 3 ] = " L I N E _ S T R I P " , n [ n . T R I A N G L E S = 4 ] = " T R I A N G L E S " , n [ n . T R I A N G L E _ S T R I P = 5 ] = " T R I A N G L E _ S T R I P " , n [ n . T R I A N G L E _ F A N = 6 ] = " T R I A N G L E _ F A N " , n ) ) ( C s | | { } ) , P e = ( n = > ( n [ n . R G B A = 6 4 0 8 ] = " R G B A " , n [ n . R G B = 6 4 0 7 ] = " R G B " , n [ n . R G = 3 3 3 1 9 ] = " R G " , n [ n . R E D = 6 4 0 3 ] = " R E D " , n [ n . R G B A _ I N T E G E R = 3 6 2 4 9 ] = " R G B A _ I N T E G E R " , n [ n . R G B _ I N T E G E R = 3 6 2 4 8 ] = " R G B _ I N T E Line truncated
` )>=0)return!1;return!0}function Te(ce,he){var nt;if(ce.indent===" ")nt=" ";else if(typeof ce.indent=="number"&&ce.indent>0)nt=E.call(Array(ce.indent+1)," ");else return null;return{base:nt,prev:E.call(Array(he+1),nt)}}function vi(ce,he){if(ce.length===0)return"";var nt= `
` +he.prev+he.base;return nt+E.call(ce,","+nt)+ `
` +he.prev}function lt(ce,he){var nt=le(ce),Ft=[];if(nt){Ft.length=ce.length;for(var Nt=0;Nt<ce.length;Nt++)Ft[Nt]=O(ce,Nt)?he(ce[Nt],ce):""}var ct=typeof k=="function"?k(ce):[],rn;if(D){rn={};for(var Nn=0;Nn<ct.length;Nn++)rn[" $ "+ct[Nn]]=ct[Nn]}for(var jt in ce)O(ce,jt)&&(nt&&String(Number(jt))===jt&&jt<ce.length||D&&rn[" $ "+jt]instanceof Symbol||(T.call(/[^ \w $ ]/,jt)?Ft.push(he(jt,ce)+": "+he(ce[jt],ce)):Ft.push(jt+": "+he(ce[jt],ce))));if(typeof k=="function")for(var $ i=0; $ i<ct.length; $ i++)V.call(ce,ct[ $ i])&&Ft.push("["+he(ct[ $ i])+"]: "+he(ce[ct[ $ i]],ce));return Ft}return Bh}var Uh,fb;function jM(){if(fb)return Uh;fb=1;var n=Qu(),e=Qa(),t=function(a,c,l){for(var d=a,u;(u=d.next)!=null;d=u)if(u.key===c)return d.next=u.next,l||(u.next=a.next,a.next=u),u},i=function(a,c){if(a){var l=t(a,c);return l&&l.value}},s=function(a,c,l){var d=t(a,c);d?d.value=l:a.next={key:c,next:a.next,value:l}},r=function(a,c){return a?!!t(a,c):!1},o=function(a,c){if(a)return t(a,c,!0)};return Uh=function(){var c,l={assert:function(d){if(!l.has(d))throw new e("Side channel does not contain "+n(d))},delete:function(d){var u=o(c,d);return u&&c&&!c.next&&(c=void 0),!!u},get:function(d){return i(c,d)},has:function(d){return r(c,d)},set:function(d,u){c||(c={next:void 0}),s(c,d,u)}};return l},Uh}var Vh,pb;function q1(){return pb||(pb=1,Vh=Object),Vh}var Xh,mb;function HM(){return mb||(mb=1,Xh=Error),Xh}var Yh,gb;function GM(){return gb||(gb=1,Yh=EvalError),Yh}var zh,vb;function WM(){return vb||(vb=1,zh=RangeError),zh}var jh,bb;function qM(){return bb||(bb=1,jh=ReferenceError),jh}var Hh,yb;function KM(){return yb||(yb=1,Hh=SyntaxError),Hh}var Gh,xb;function JM(){return xb||(xb=1,Gh=URIError),Gh}var Wh,wb;function ZM(){return wb||(wb=1,Wh=Math.abs),Wh}var qh,Sb;function QM(){return Sb||(Sb=1,qh=Math.floor),qh}var Kh,Cb;function eP(){return Cb||(Cb=1,Kh=Math.max),Kh}var Jh,Ab;function tP(){return Ab||(Ab=1,Jh=Math.min),Jh}var Zh,Tb;function iP(){return Tb||(Tb=1,Zh=Math.pow),Zh}var Qh,Eb;function nP(){return Eb||(Eb=1,Qh=Math.round),Qh}var ef,_b;function sP(){return _b||(_b=1,ef=Number.isNaN||function(e){return e!==e}),ef}var tf,Mb;function rP(){if(Mb)return tf;Mb=1;var n=sP();return tf=function(t){return n(t)||t===0?t:t<0?-1:1},tf}var nf,Pb;function oP(){return Pb||(Pb=1,nf=Object.getOwnPropertyDescriptor),nf}var sf,Ib;function K1(){if(Ib)return sf;Ib=1;var n=oP();if(n)try{n([],"length")}catch{n=null}return sf=n,sf}var rf,kb;function J1(){if(kb)return rf;kb=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return rf=n,rf}var of,Rb;function aP(){return Rb||(Rb=1,of=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),i=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var s=42;e[t]=s;for(var r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,t);if(a.value!==s||a.enumerable!==!0)return!1}return!0}),of}var af,Fb;function lP(){if(Fb)return af;Fb=1;var n=typeof Symbol<"u"&&Symbol,e=aP();return af=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},af}var lf,Lb;function Z1(){return Lb||(Lb=1,lf=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),lf}var cf,Db;function Q1(){if(Db)return cf;Db=1;var n=q1();return cf=n.getPrototypeOf||null,cf}var df,Ob;function cP(){if(Ob)return df;Ob=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,i="[object Function]",s=function(c,l){for(var d=[],u=0;u<c.length;u+=1)d[u]=c[u];for(var h=0;h<l.length;h+=1)d[h+c.length]=l[h];return d},r=function(c,l){for(var d=[],u=l,h=0;u<c.length;u+=1,h+=1)d[h]=c[u];return d},o=function(a,c){for(var l="",d=0;d<a.length;d+=1)l+=a[d],d+1<a.length&&(l+=c);return l};return df=function(c){var l=this;if(typeof l!="function"||e.apply(l)!==i)throw new TypeError(n+l);for(var d=r(arguments,1),u,h=function(){if(this instanceof u){var v=l.apply(this,s(d,arguments));return Object(v)===v?v:this}return l.apply(c,s(d,arguments))},f=t(0,l.length-d.length),p=[],m=0;m<f;m++)p[m]=" $ "+m;if(u=Function("binder","return function ("+o(p,",")+"){ return binder.apply(this,arguments); }")(h),l.prototype){var g=function(){};g.prototype=l.prototype,u.prototype=new g,g.prototype=null}return u},df}var uf,Nb;function eh(){if(Nb)return uf;Nb=1;var n=cP();return uf=Function.prototype.bind||n,uf}var hf, $ b;function Sg(){return $ b||( $ b=1,hf=Function.prototype.call),hf}var ff,Bb;function ew(){return Bb||(Bb=1,ff=Function.pro
Line truncated
` ," "],o=["{","}","|"," \\ ","^"," ` "].concat(r),a=[" '"].concat(o),c=["%","/","?",";","#"].concat(a),l=["/","?","#"],d=255,u=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},p={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=bP();function v(C,T,S){if(C&&typeof C=="object"&&C instanceof e)return C;var E=new e;return E.parse(C,T,S),E}e.prototype.parse=function(C,T,S){if(typeof C!="string")throw new TypeError("Parameter ' url ' must be a string , not "+typeof C);var E=C.indexOf(" ? "),_=E!==-1&&E<C.indexOf(" # ")?" ? ":" # ",I=C.split(_),M=/\\/g;I[0]=I[0].replace(M," / "),C=I.join(_);var k=C;if(k=k.trim(),!S&&C.split(" # ").length===1){var B=s.exec(k);if(B)return this.path=k,this.href=k,this.pathname=B[1],B[2]?(this.search=B[2],T?this.query=g.parse(this.search.substr(1)):this.query=this.search.substr(1)):T&&(this.search=" ",this.query={}),this}var D=t.exec(k);if(D){D=D[0];var G=D.toLowerCase();this.protocol=G,k=k.substr(D.length)}if(S||D||k.match(/^\/\/[^@/]+@[^@/]+/)){var V=k.substr(0,2)===" //";V&&!(D&&p[D])&&(k=k.substr(2),this.slashes=!0)}if(!p[D]&&(V||D&&!m[D])){for(var Y=-1,L=0;L<l.length;L++){var N=k.indexOf(l[L]);N!==-1&&(Y===-1||N<Y)&&(Y=N)}var F,$;Y===-1?$=k.lastIndexOf("@"):$=k.lastIndexOf("@",Y),$!==-1&&(F=k.slice(0,$),k=k.slice($+1),this.auth=decodeURIComponent(F)),Y=-1;for(var L=0;L<c.length;L++){var N=k.indexOf(c[L]);N!==-1&&(Y===-1||N<Y)&&(Y=N)}Y===-1&&(Y=k.length),this.host=k.slice(0,Y),k=k.slice(Y),this.parseHost(),this.hostname=this.hostname||"";var X=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!X)for(var z=this.hostname.split(/\./),L=0,K=z.length;L<K;L++){var J=z[L];if(J&&!J.match(u)){for(var oe="",le=0,ve=J.length;le<ve;le++)J.charCodeAt(le)>127?oe+="x":oe+=J[le];if(!oe.match(u)){var Se=z.slice(0,L),fe=z.slice(L+1),be=J.match(h);be&&(Se.push(be[1]),fe.unshift(be[2])),fe.length&&(k="/"+fe.join(".")+k),this.hostname=Se.join(".");break}}}this.hostname.length>d?this.hostname="":this.hostname=this.hostname.toLowerCase(),X||(this.hostname=n.toASCII(this.hostname));var q=this.port?":"+this.port:"",Z=this.hostname||"";this.host=Z+q,this.href+=this.host,X&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),k[0]!=="/"&&(k="/"+k))}if(!f[G])for(var L=0,K=a.length;L<K;L++){var se=a[L];if(k.indexOf(se)!==-1){var j=encodeURIComponent(se);j===se&&(j=escape(se)),k=k.split(se).join(j)}}var H=k.indexOf("#");H!==-1&&(this.hash=k.substr(H),k=k.slice(0,H));var O=k.indexOf("?");if(O!==-1?(this.search=k.substr(O),this.query=k.substr(O+1),T&&(this.query=g.parse(this.query)),k=k.slice(0,O)):T&&(this.search="",this.query={}),k&&(this.pathname=k),m[G]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var q=this.pathname||"",U=this.search||"";this.path=q+U}return this.href=this.format(),this};function y(C){return typeof C=="string"&&(C=v(C)),C instanceof e?C.format():e.prototype.format.call(C)}e.prototype.format=function(){var C=this.auth||"";C&&(C=encodeURIComponent(C),C=C.replace(/%3A/i,":"),C+="@");var T=this.protocol||"",S=this.pathname||"",E=this.hash||"",_=!1,I="";this.host?_=C+this.host:this.hostname&&(_=C+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(_+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(I=g.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var M=this.search||I&&"?"+I||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||m[T])&&_!==!1?(_="//"+(_||""),S&&S.charAt(0)!=="/"&&(S="/"+S)):_||(_=""),E&&E.charAt(0)!=="#"&&(E="#"+E),M&&M.charAt(0)!=="?"&&(M="?"+M),S=S.replace(/[?#]/g,function(k){return encodeURIComponent(k)}),M=M.replace("#","%23"),T+_+S+M+E};function b(C,T){return v(C,!1,!0).resolve(T)}e.prototype.resolve=function(C){return this.resolveObject(v(C,!1,!0)).format()};function x(C,T){return C?v(C,!1,!0).resolveObject(T):T}return e.prototype.resolveObject=function(C){if(typeof C=="string"){var T=new e;T.parse(C,!1,!0),C=T}for(var S=new e,E=Object.keys(this),_=0;_<E.length;_++){var I=E[_];S[I]=this[I]}if(S.hash=C.hash,C.href==="")return S.href=S.format(),S;if(C.slashes&&!C.protocol){for(var M=Object.keys(C),k=0;k<M.length;k++){var B=M[k];B!=="protocol"&&(S[B]=C[B])}return m[S.protocol]&&S.hostname&&!S.pathname&&(S.pathname="/",S.path=S.pathname),S.href=S.format(),S}if(C.protocol&&C.protocol!==S.protocol){if(!m[C.protocol]){for(var D=Object.keys(C),G=0;G<D.length;G++){var V=D[G];S[V]=C[V]}return S.href=S.format(),S}if(S.protocol=C.protocol,!C.host&&!p[C.protocol]){for(var K=(C.pathname||"").split("/");K.length&&!(C.host=K.shift()););C.host||(C.host=""),C.hostname||(C.hostname=""),K[0]!==""&&K.unshift(""),K.length<2&&K.unshift(""),S.pathname=K.join("/")}else S.pathname=C.pathname;if(S.search=C.search,S.query=C.query,S.host=C.host||"",S.auth=C.auth,S.hostname=C.hostname||C.host,S.port=C.port,S.pathname||S.search){var Y=S
Line truncated
` +he.prev}function lt(ce,he){var nt=le(ce),Ft=[];if(nt){Ft.length=ce.length;for(var Nt=0;Nt<ce.length;Nt++)Ft[Nt]=O(ce,Nt)?he(ce[Nt],ce):""}var ct=typeof k=="function"?k(ce):[],rn;if(D){rn={};for(var Nn=0;Nn<ct.length;Nn++)rn[" $ "+ct[Nn]]=ct[Nn]}for(var jt in ce)O(ce,jt)&&(nt&&String(Number(jt))===jt&&jt<ce.length||D&&rn[" $ "+jt]instanceof Symbol||(T.call(/[^ \w $ ]/,jt)?Ft.push(he(jt,ce)+": "+he(ce[jt],ce)):Ft.push(jt+": "+he(ce[jt],ce))));if(typeof k=="function")for(var $ i=0; $ i<ct.length; $ i++)V.call(ce,ct[ $ i])&&Ft.push("["+he(ct[ $ i])+"]: "+he(ce[ct[ $ i]],ce));return Ft}return Bh}var Uh,fb;function jM(){if(fb)return Uh;fb=1;var n=Qu(),e=Qa(),t=function(a,c,l){for(var d=a,u;(u=d.next)!=null;d=u)if(u.key===c)return d.next=u.next,l||(u.next=a.next,a.next=u),u},i=function(a,c){if(a){var l=t(a,c);return l&&l.value}},s=function(a,c,l){var d=t(a,c);d?d.value=l:a.next={key:c,next:a.next,value:l}},r=function(a,c){return a?!!t(a,c):!1},o=function(a,c){if(a)return t(a,c,!0)};return Uh=function(){var c,l={assert:function(d){if(!l.has(d))throw new e("Side channel does not contain "+n(d))},delete:function(d){var u=o(c,d);return u&&c&&!c.next&&(c=void 0),!!u},get:function(d){return i(c,d)},has:function(d){return r(c,d)},set:function(d,u){c||(c={next:void 0}),s(c,d,u)}};return l},Uh}var Vh,pb;function q1(){return pb||(pb=1,Vh=Object),Vh}var Xh,mb;function HM(){return mb||(mb=1,Xh=Error),Xh}var Yh,gb;function GM(){return gb||(gb=1,Yh=EvalError),Yh}var zh,vb;function WM(){return vb||(vb=1,zh=RangeError),zh}var jh,bb;function qM(){return bb||(bb=1,jh=ReferenceError),jh}var Hh,yb;function KM(){return yb||(yb=1,Hh=SyntaxError),Hh}var Gh,xb;function JM(){return xb||(xb=1,Gh=URIError),Gh}var Wh,wb;function ZM(){return wb||(wb=1,Wh=Math.abs),Wh}var qh,Sb;function QM(){return Sb||(Sb=1,qh=Math.floor),qh}var Kh,Cb;function eP(){return Cb||(Cb=1,Kh=Math.max),Kh}var Jh,Ab;function tP(){return Ab||(Ab=1,Jh=Math.min),Jh}var Zh,Tb;function iP(){return Tb||(Tb=1,Zh=Math.pow),Zh}var Qh,Eb;function nP(){return Eb||(Eb=1,Qh=Math.round),Qh}var ef,_b;function sP(){return _b||(_b=1,ef=Number.isNaN||function(e){return e!==e}),ef}var tf,Mb;function rP(){if(Mb)return tf;Mb=1;var n=sP();return tf=function(t){return n(t)||t===0?t:t<0?-1:1},tf}var nf,Pb;function oP(){return Pb||(Pb=1,nf=Object.getOwnPropertyDescriptor),nf}var sf,Ib;function K1(){if(Ib)return sf;Ib=1;var n=oP();if(n)try{n([],"length")}catch{n=null}return sf=n,sf}var rf,kb;function J1(){if(kb)return rf;kb=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return rf=n,rf}var of,Rb;function aP(){return Rb||(Rb=1,of=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),i=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var s=42;e[t]=s;for(var r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,t);if(a.value!==s||a.enumerable!==!0)return!1}return!0}),of}var af,Fb;function lP(){if(Fb)return af;Fb=1;var n=typeof Symbol<"u"&&Symbol,e=aP();return af=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},af}var lf,Lb;function Z1(){return Lb||(Lb=1,lf=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),lf}var cf,Db;function Q1(){if(Db)return cf;Db=1;var n=q1();return cf=n.getPrototypeOf||null,cf}var df,Ob;function cP(){if(Ob)return df;Ob=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,i="[object Function]",s=function(c,l){for(var d=[],u=0;u<c.length;u+=1)d[u]=c[u];for(var h=0;h<l.length;h+=1)d[h+c.length]=l[h];return d},r=function(c,l){for(var d=[],u=l,h=0;u<c.length;u+=1,h+=1)d[h]=c[u];return d},o=function(a,c){for(var l="",d=0;d<a.length;d+=1)l+=a[d],d+1<a.length&&(l+=c);return l};return df=function(c){var l=this;if(typeof l!="function"||e.apply(l)!==i)throw new TypeError(n+l);for(var d=r(arguments,1),u,h=function(){if(this instanceof u){var v=l.apply(this,s(d,arguments));return Object(v)===v?v:this}return l.apply(c,s(d,arguments))},f=t(0,l.length-d.length),p=[],m=0;m<f;m++)p[m]=" $ "+m;if(u=Function("binder","return function ("+o(p,",")+"){ return binder.apply(this,arguments); }")(h),l.prototype){var g=function(){};g.prototype=l.prototype,u.prototype=new g,g.prototype=null}return u},df}var uf,Nb;function eh(){if(Nb)return uf;Nb=1;var n=cP();return uf=Function.prototype.bind||n,uf}var hf, $ b;function Sg(){return $ b||( $ b=1,hf=Function.prototype.call),hf}var ff,Bb;function ew(){return Bb||(Bb=1,ff=Function.pro
Line truncated
` ," "],o=["{","}","|"," \\ ","^"," ` "].concat(r),a=[" '"].concat(o),c=["%","/","?",";","#"].concat(a),l=["/","?","#"],d=255,u=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},p={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=bP();function v(C,T,S){if(C&&typeof C=="object"&&C instanceof e)return C;var E=new e;return E.parse(C,T,S),E}e.prototype.parse=function(C,T,S){if(typeof C!="string")throw new TypeError("Parameter ' url ' must be a string , not "+typeof C);var E=C.indexOf(" ? "),_=E!==-1&&E<C.indexOf(" # ")?" ? ":" # ",I=C.split(_),M=/\\/g;I[0]=I[0].replace(M," / "),C=I.join(_);var k=C;if(k=k.trim(),!S&&C.split(" # ").length===1){var B=s.exec(k);if(B)return this.path=k,this.href=k,this.pathname=B[1],B[2]?(this.search=B[2],T?this.query=g.parse(this.search.substr(1)):this.query=this.search.substr(1)):T&&(this.search=" ",this.query={}),this}var D=t.exec(k);if(D){D=D[0];var G=D.toLowerCase();this.protocol=G,k=k.substr(D.length)}if(S||D||k.match(/^\/\/[^@/]+@[^@/]+/)){var V=k.substr(0,2)===" //";V&&!(D&&p[D])&&(k=k.substr(2),this.slashes=!0)}if(!p[D]&&(V||D&&!m[D])){for(var Y=-1,L=0;L<l.length;L++){var N=k.indexOf(l[L]);N!==-1&&(Y===-1||N<Y)&&(Y=N)}var F,$;Y===-1?$=k.lastIndexOf("@"):$=k.lastIndexOf("@",Y),$!==-1&&(F=k.slice(0,$),k=k.slice($+1),this.auth=decodeURIComponent(F)),Y=-1;for(var L=0;L<c.length;L++){var N=k.indexOf(c[L]);N!==-1&&(Y===-1||N<Y)&&(Y=N)}Y===-1&&(Y=k.length),this.host=k.slice(0,Y),k=k.slice(Y),this.parseHost(),this.hostname=this.hostname||"";var X=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!X)for(var z=this.hostname.split(/\./),L=0,K=z.length;L<K;L++){var J=z[L];if(J&&!J.match(u)){for(var oe="",le=0,ve=J.length;le<ve;le++)J.charCodeAt(le)>127?oe+="x":oe+=J[le];if(!oe.match(u)){var Se=z.slice(0,L),fe=z.slice(L+1),be=J.match(h);be&&(Se.push(be[1]),fe.unshift(be[2])),fe.length&&(k="/"+fe.join(".")+k),this.hostname=Se.join(".");break}}}this.hostname.length>d?this.hostname="":this.hostname=this.hostname.toLowerCase(),X||(this.hostname=n.toASCII(this.hostname));var q=this.port?":"+this.port:"",Z=this.hostname||"";this.host=Z+q,this.href+=this.host,X&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),k[0]!=="/"&&(k="/"+k))}if(!f[G])for(var L=0,K=a.length;L<K;L++){var se=a[L];if(k.indexOf(se)!==-1){var j=encodeURIComponent(se);j===se&&(j=escape(se)),k=k.split(se).join(j)}}var H=k.indexOf("#");H!==-1&&(this.hash=k.substr(H),k=k.slice(0,H));var O=k.indexOf("?");if(O!==-1?(this.search=k.substr(O),this.query=k.substr(O+1),T&&(this.query=g.parse(this.query)),k=k.slice(0,O)):T&&(this.search="",this.query={}),k&&(this.pathname=k),m[G]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var q=this.pathname||"",U=this.search||"";this.path=q+U}return this.href=this.format(),this};function y(C){return typeof C=="string"&&(C=v(C)),C instanceof e?C.format():e.prototype.format.call(C)}e.prototype.format=function(){var C=this.auth||"";C&&(C=encodeURIComponent(C),C=C.replace(/%3A/i,":"),C+="@");var T=this.protocol||"",S=this.pathname||"",E=this.hash||"",_=!1,I="";this.host?_=C+this.host:this.hostname&&(_=C+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(_+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(I=g.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var M=this.search||I&&"?"+I||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||m[T])&&_!==!1?(_="//"+(_||""),S&&S.charAt(0)!=="/"&&(S="/"+S)):_||(_=""),E&&E.charAt(0)!=="#"&&(E="#"+E),M&&M.charAt(0)!=="?"&&(M="?"+M),S=S.replace(/[?#]/g,function(k){return encodeURIComponent(k)}),M=M.replace("#","%23"),T+_+S+M+E};function b(C,T){return v(C,!1,!0).resolve(T)}e.prototype.resolve=function(C){return this.resolveObject(v(C,!1,!0)).format()};function w(C,T){return C?v(C,!1,!0).resolveObject(T):T}return e.prototype.resolveObject=function(C){if(typeof C=="string"){var T=new e;T.parse(C,!1,!0),C=T}for(var S=new e,E=Object.keys(this),_=0;_<E.length;_++){var I=E[_];S[I]=this[I]}if(S.hash=C.hash,C.href==="")return S.href=S.format(),S;if(C.slashes&&!C.protocol){for(var M=Object.keys(C),k=0;k<M.length;k++){var B=M[k];B!=="protocol"&&(S[B]=C[B])}return m[S.protocol]&&S.hostname&&!S.pathname&&(S.pathname="/",S.path=S.pathname),S.href=S.format(),S}if(C.protocol&&C.protocol!==S.protocol){if(!m[C.protocol]){for(var D=Object.keys(C),G=0;G<D.length;G++){var V=D[G];S[V]=C[V]}return S.href=S.format(),S}if(S.protocol=C.protocol,!C.host&&!p[C.protocol]){for(var K=(C.pathname||"").split("/");K.length&&!(C.host=K.shift()););C.host||(C.host=""),C.hostname||(C.hostname=""),K[0]!==""&&K.unshift(""),K.length<2&&K.unshift(""),S.pathname=K.join("/")}else S.pathname=C.pathname;if(S.search=C.search,S.query=C.query,S.host=C.host||"",S.auth=C.auth,S.hostname=C.hostname||C.host,S.port=C.port,S.pathname||S.search){var Y=S
Line truncated
Deprecated since v$ { n } ` ):(i=i.split( `
` ).splice(t).join( `
` ),console.groupCollapsed?(console.groupCollapsed("%cPixiJS Deprecation Warning: %c%s","color:#614108;background:#fffbe6","font-weight:normal;color:#614108;background:#fffbe6", ` $ { e }
Deprecated since v$ { n } ` ),console.warn(i),console.groupEnd()):(console.warn("PixiJS Deprecation Warning: ", ` $ { e }
Deprecated since v$ { n } ` ),console.warn(i))),n0[e]=!0}function Bn(n){if(typeof n!="string")throw new TypeError( ` Path must be a string . Received $ { JSON . stringify ( n ) } ` )}function dl(n){return n.split("?")[0].split("#")[0]}function xP(n){return n.replace(/[.*+?^ ${ } ()|[ \] \\ ]/g," \\ $ &")}function wP(n,e,t){return n.replace(new RegExp(xP(e),"g"),t)}function SP(n,e){let t="",i=0,s=-1,r=0,o=-1;for(let a=0;a<=n.length;++a){if(a<n.length)o=n.charCodeAt(a);else{if(o===47)break;o=47}if(o===47){if(!(s===a-1||r===1))if(s!==a-1&&r===2){if(t.length<2||i!==2||t.charCodeAt(t.length-1)!==46||t.charCodeAt(t.length-2)!==46){if(t.length>2){const c=t.lastIndexOf("/");if(c!==t.length-1){c===-1?(t="",i=0):(t=t.slice(0,c),i=t.length-1-t.lastIndexOf("/")),s=a,r=0;continue}}else if(t.length===2||t.length===1){t="",i=0,s=a,r=0;continue}}}else t.length>0?t+= ` / $ { n . slice ( s + 1 , a ) } ` :t=n.slice(s+1,a),i=a-s-1;s=a,r=0}else o===46&&r!==-1?++r:r=-1}return t}const hi={toPosix(n){return wP(n," \\ ","/")},isUrl(n){return/^https?:/.test(this.toPosix(n))},isDataUrl(n){return/^data:([a-z]+ \/ [a-z0-9-+.]+(;[a-z0-9-.!# $ %*+.{}|~ ` ] += [ a - z0 - 9 - . ! # $ % * + . { } ( ) _ | ~ ` ]+)*)?(;base64)?,([a-z0-9! $ &',()*+;= \- ._~:@ \/ ?% \s <>]*?) $ /i.test(n)},isBlobUrl(n){return n.startsWith("blob:")},hasProtocol(n){return/^[^/:]+:/.test(this.toPosix(n))},getProtocol(n){Bn(n),n=this.toPosix(n);const e=/^file: \/ \/ \/ /.exec(n);if(e)return e[0];const t=/^[^/:]+: \/ {0,2}/.exec(n);return t?t[0]:""},toAbsolute(n,e,t){if(Bn(n),this.isDataUrl(n)||this.isBlobUrl(n))return n;const i=dl(this.toPosix(e??Ve.ADAPTER.getBaseUrl())),s=dl(this.toPosix(t??this.rootname(i)));return n=this.toPosix(n),n.startsWith("/")?hi.join(s,n.slice(1)):this.isAbsolute(n)?n:this.join(i,n)},normalize(n){if(Bn(n),n.length===0)return".";if(this.isDataUrl(n)||this.isBlobUrl(n))return n;n=this.toPosix(n);let e="";const t=n.startsWith("/");this.hasProtocol(n)&&(e=this.rootname(n),n=n.slice(e.length));const i=n.endsWith("/");return n=SP(n),n.length>0&&i&&(n+="/"),t? ` / $ { n } ` :e+n},isAbsolute(n){return Bn(n),n=this.toPosix(n),this.hasProtocol(n)?!0:n.startsWith("/")},join(...n){if(n.length===0)return".";let e;for(let t=0;t<n.length;++t){const i=n[t];if(Bn(i),i.length>0)if(e===void 0)e=i;else{const s=n[t-1]??"";this.joinExtensions.includes(this.extname(s).toLowerCase())?e+= ` / . . / $ { i } ` :e+= ` / $ { i } ` }}return e===void 0?".":this.normalize(e)},dirname(n){if(Bn(n),n.length===0)return".";n=this.toPosix(n);let e=n.charCodeAt(0);const t=e===47;let i=-1,s=!0;const r=this.getProtocol(n),o=n;n=n.slice(r.length);for(let a=n.length-1;a>=1;--a)if(e=n.charCodeAt(a),e===47){if(!s){i=a;break}}else s=!1;return i===-1?t?"/":this.isUrl(o)?r+n:r:t&&i===1?"//":r+n.slice(0,i)},rootname(n){Bn(n),n=this.toPosix(n);let e="";if(n.startsWith("/")?e="/":e=this.getProtocol(n),this.isUrl(n)){const t=n.indexOf("/",e.length);t!==-1?e=n.slice(0,t):e=n,e.endsWith("/")||(e+="/")}return e},basename(n,e){Bn(n),e&&Bn(e),n=dl(this.toPosix(n));let t=0,i=-1,s=!0,r;if(e!==void 0&&e.length>0&&e.length<=n.length){if(e.length===n.length&&e===n)return"";let o=e.length-1,a=-1;for(r=n.length-1;r>=0;--r){const c=n.charCodeAt(r);if(c===47){if(!s){t=r+1;break}}else a===-1&&(s=!1,a=r+1),o>=0&&(c===e.charCodeAt(o)?--o===-1&&(i=r):(o=-1,i=a))}return t===i?i=a:i===-1&&(i=n.length),n.slice(t,i)}for(r=n.length-1;r>=0;--r)if(n.charCodeAt(r)===47){if(!s){t=r+1;break}}else i===-1&&(s=!1,i=r+1);return i===-1?"":n.slice(t,i)},extname(n){Bn(n),n=dl(this.toPosix(n));let e=-1,t=0,i=-1,s=!0,r=0;for(let o=n.length-1;o>=0;--o){const a=n.charCodeAt(o);if(a===47){if(!s){t=o+1;break}continue}i===-1&&(s=!1,i=o+1),a===46?e===-1?e=o:r!==1&&(r=1):e!==-1&&(r=-1)}return e===-1||i===-1||r===0||r===1&&e===i-1&&e===t+1?"":n.slice(e,i)},parse(n){Bn(n);const e={root:"",dir:"",base:"",ext:"",name:""};if(n.length===0)return e;n=dl(this.toPosix(n));let t=n.charCodeAt(0);const i=this.isAbsolute(n);let s;e.root=this.rootname(n),i||this.hasProtocol(n)?s=1:s=0;let r=-1,o=0,a=-1,c=!0,l=n.length-1,d=0;for(;l>=s;--l){if(t=n.charCodeAt(l),t===47){if(!c){o=l+1;break}continue}a===-1&&(c=!1,a=l+1),t===46?r===-1?r=l:d!==1&&(d=1):r!==-1&&(d=-1)}return r===-1||a===-1||d===0||d===1&&r===a-1&&r===o+1?a!==-1&&(o===0&&i?e.base=e.name=n.slice(1,a):e.base=e.name=n.slice(o,a)):(o===0&&i?(e.name=n.slice(1,r),e.base=n.slice(1,a)):(e.name=n.slice(o,r),e.base=n.slice(o,a)),e.ext=n.slice(r,a)),e.dir=this.dirname(n),e},sep:"/",delimiter:":",joinExtensions:[".html"]};let If;async function CP(){return If??(If=(async()=>{var r;const n=document.createElement("canvas").getContext("webgl");if(!n)return ki.UNPACK;const e=await new Promise(o=>{const a=document.createElement("video");a.onloadeddata=()=>o(a),a.onerror=()=>o(null),a.autoplay=!1,a.crossOrigin="anonymous",a.preload="auto",a.src="data:video/webm;base64,GkXfo59ChoEBQveBAULygQRC84EIQoKEd2VibUKHgQJChYECGFOAZwEAAAAAAAHTEU2bdLpNu4tTq4QVSalmU6yBoU27i1OrhBZUrmtTrIHGTbuMU6uEElTDZ1OsggEXTbuMU6uEHFO7a1OsggG97AEAAAAAAABZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Line truncated
` );function zP(n){let e="";for(let t=0;t<n;++t)t>0&&(e+= `
else ` ),t<n-1&&(e+= ` if ( test == $ { t } . 0 ) { } ` );return e}function jP(n,e){if(n===0)throw new Error("Invalid value of ` 0 ` passed to ` checkMaxIfStatementsInShader ` ");const t=e.createShader(e.FRAGMENT_SHADER);for(;;){const i=YP.replace(/%forloop%/gi,zP(n));if(e.shaderSource(t,i),e.compileShader(t),!e.getShaderParameter(t,e.COMPILE_STATUS))n=n/2|0;else break}return n}const Df=0,Of=1,Nf=2, $ f=3,Bf=4,Uf=5;class ks{constructor(){this.data=0,this.blendMode=Qe.NORMAL,this.polygonOffset=0,this.blend=!0,this.depthMask=!0}get blend(){return!!(this.data&1<<Df)}set blend(e){!!(this.data&1<<Df)!==e&&(this.data^=1<<Df)}get offsets(){return!!(this.data&1<<Of)}set offsets(e){!!(this.data&1<<Of)!==e&&(this.data^=1<<Of)}get culling(){return!!(this.data&1<<Nf)}set culling(e){!!(this.data&1<<Nf)!==e&&(this.data^=1<<Nf)}get depthTest(){return!!(this.data&1<< $ f)}set depthTest(e){!!(this.data&1<< $ f)!==e&&(this.data^=1<< $ f)}get depthMask(){return!!(this.data&1<<Uf)}set depthMask(e){!!(this.data&1<<Uf)!==e&&(this.data^=1<<Uf)}get clockwiseFrontFace(){return!!(this.data&1<<Bf)}set clockwiseFrontFace(e){!!(this.data&1<<Bf)!==e&&(this.data^=1<<Bf)}get blendMode(){return this._blendMode}set blendMode(e){this.blend=e!==Qe.NONE,this._blendMode=e}get polygonOffset(){return this._polygonOffset}set polygonOffset(e){this.offsets=!!e,this._polygonOffset=e}static for2d(){const e=new ks;return e.depthTest=!1,e.blend=!0,e}}ks.prototype.toString=function(){return ` [ @ pixi / core : State blendMode = $ { this . blendMode } clockwiseFrontFace = $ { this . clockwiseFrontFace } culling = $ { this . culling } depthMask = $ { this . depthMask } polygonOffset = $ { this . polygonOffset } ] ` };const Xp=[];function hw(n,e){if(!n)return null;let t="";if(typeof n=="string"){const i=/ \. ( \w {3,4})(?: $ | \? |#)/i.exec(n);i&&(t=i[1].toLowerCase())}for(let i=Xp.length-1;i>=0;--i){const s=Xp[i];if(s.test&&s.test(n,t))return new s(n,e)}throw new Error("Unrecognized source type to auto-detect Resource")}class Zn{constructor(e){this.items=[],this._name=e,this._aliasCount=0}emit(e,t,i,s,r,o,a,c){if(arguments.length>8)throw new Error("max arguments reached");const{name:l,items:d}=this;this._aliasCount++;for(let u=0,h=d.length;u<h;u++)d[u][l](e,t,i,s,r,o,a,c);return d===this.items&&this._aliasCount--,this}ensureNonAliasedItems(){this._aliasCount>0&&this.items.length>1&&(this._aliasCount=0,this.items=this.items.slice(0))}add(e){return e[this._name]&&(this.ensureNonAliasedItems(),this.remove(e),this.items.push(e)),this}remove(e){const t=this.items.indexOf(e);return t!==-1&&(this.ensureNonAliasedItems(),this.items.splice(t,1)),this}contains(e){return this.items.includes(e)}removeAll(){return this.ensureNonAliasedItems(),this.items.length=0,this}destroy(){this.removeAll(),this.items.length=0,this._name=""}get empty(){return this.items.length===0}get name(){return this._name}}Object.defineProperties(Zn.prototype,{dispatch:{value:Zn.prototype.emit},run:{value:Zn.prototype.emit}});class Zl{constructor(e=0,t=0){this._width=e,this._height=t,this.destroyed=!1,this.internal=!1,this.onResize=new Zn("setRealSize"),this.onUpdate=new Zn("update"),this.onError=new Zn("onError")}bind(e){this.onResize.add(e),this.onUpdate.add(e),this.onError.add(e),(this._width||this._height)&&this.onResize.emit(this._width,this._height)}unbind(e){this.onResize.remove(e),this.onUpdate.remove(e),this.onError.remove(e)}resize(e,t){(e!==this._width||t!==this._height)&&(this._width=e,this._height=t,this.onResize.emit(e,t))}get valid(){return!!this._width&&!!this._height}update(){this.destroyed||this.onUpdate.emit()}load(){return Promise.resolve(this)}get width(){return this._width}get height(){return this._height}style(e,t,i){return!1}dispose(){}destroy(){this.destroyed||(this.destroyed=!0,this.dispose(),this.onError.removeAll(),this.onError=null,this.onResize.removeAll(),this.onResize=null,this.onUpdate.removeAll(),this.onUpdate=null)}static test(e,t){return!1}}class th extends Zl{constructor(e,t){const{width:i,height:s}=t||{};if(!i||!s)throw new Error("BufferResource width or height invalid");super(i,s),this.data=e,this.unpackAlignment=t.unpackAlignment??4}upload(e,t,i){const s=e.gl;s.pixelStorei(s.UNPACK_ALIGNMENT,this.unpackAlignment),s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.alphaMode===ki.UNPACK);const r=t.realWidth,o=t.realHeight;return i.width===r&&i.height===o?s.texSubImage2D(t.target,0,0,0,r,o,t.format,i.type,this.data):(i.width=r,i.height=o,s.texImage2D(t.target,0,i.internalFormat,r,o,0,t.format,i.type,this.data)),!0}dispose(){this.data=null}static test(e){return e===null||e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array}}const HP={scaleMode:Gn.NEAREST,alphaMode:ki.NPM},Yp=class pa extends mc{constructor(e=null,t=null){super(),t=Object.assign({},pa.defaultOptions,t);const{alphaMode:i,mipmap:s,anisotropicLevel:r,scaleMode:o,width:a,height:c,wrapMode:l,format:d,type:u,target:h,resolution:
Line truncated
else ` ),t<n-1&&(e+= ` if ( test == $ { t } . 0 ) { } ` );return e}function jP(n,e){if(n===0)throw new Error("Invalid value of ` 0 ` passed to ` checkMaxIfStatementsInShader ` ");const t=e.createShader(e.FRAGMENT_SHADER);for(;;){const i=YP.replace(/%forloop%/gi,zP(n));if(e.shaderSource(t,i),e.compileShader(t),!e.getShaderParameter(t,e.COMPILE_STATUS))n=n/2|0;else break}return n}const Df=0,Of=1,Nf=2, $ f=3,Bf=4,Uf=5;class ks{constructor(){this.data=0,this.blendMode=Qe.NORMAL,this.polygonOffset=0,this.blend=!0,this.depthMask=!0}get blend(){return!!(this.data&1<<Df)}set blend(e){!!(this.data&1<<Df)!==e&&(this.data^=1<<Df)}get offsets(){return!!(this.data&1<<Of)}set offsets(e){!!(this.data&1<<Of)!==e&&(this.data^=1<<Of)}get culling(){return!!(this.data&1<<Nf)}set culling(e){!!(this.data&1<<Nf)!==e&&(this.data^=1<<Nf)}get depthTest(){return!!(this.data&1<< $ f)}set depthTest(e){!!(this.data&1<< $ f)!==e&&(this.data^=1<< $ f)}get depthMask(){return!!(this.data&1<<Uf)}set depthMask(e){!!(this.data&1<<Uf)!==e&&(this.data^=1<<Uf)}get clockwiseFrontFace(){return!!(this.data&1<<Bf)}set clockwiseFrontFace(e){!!(this.data&1<<Bf)!==e&&(this.data^=1<<Bf)}get blendMode(){return this._blendMode}set blendMode(e){this.blend=e!==Qe.NONE,this._blendMode=e}get polygonOffset(){return this._polygonOffset}set polygonOffset(e){this.offsets=!!e,this._polygonOffset=e}static for2d(){const e=new ks;return e.depthTest=!1,e.blend=!0,e}}ks.prototype.toString=function(){return ` [ @ pixi / core : State blendMode = $ { this . blendMode } clockwiseFrontFace = $ { this . clockwiseFrontFace } culling = $ { this . culling } depthMask = $ { this . depthMask } polygonOffset = $ { this . polygonOffset } ] ` };const Xp=[];function hw(n,e){if(!n)return null;let t="";if(typeof n=="string"){const i=/ \. ( \w {3,4})(?: $ | \? |#)/i.exec(n);i&&(t=i[1].toLowerCase())}for(let i=Xp.length-1;i>=0;--i){const s=Xp[i];if(s.test&&s.test(n,t))return new s(n,e)}throw new Error("Unrecognized source type to auto-detect Resource")}class Zn{constructor(e){this.items=[],this._name=e,this._aliasCount=0}emit(e,t,i,s,r,o,a,c){if(arguments.length>8)throw new Error("max arguments reached");const{name:l,items:d}=this;this._aliasCount++;for(let u=0,h=d.length;u<h;u++)d[u][l](e,t,i,s,r,o,a,c);return d===this.items&&this._aliasCount--,this}ensureNonAliasedItems(){this._aliasCount>0&&this.items.length>1&&(this._aliasCount=0,this.items=this.items.slice(0))}add(e){return e[this._name]&&(this.ensureNonAliasedItems(),this.remove(e),this.items.push(e)),this}remove(e){const t=this.items.indexOf(e);return t!==-1&&(this.ensureNonAliasedItems(),this.items.splice(t,1)),this}contains(e){return this.items.includes(e)}removeAll(){return this.ensureNonAliasedItems(),this.items.length=0,this}destroy(){this.removeAll(),this.items.length=0,this._name=""}get empty(){return this.items.length===0}get name(){return this._name}}Object.defineProperties(Zn.prototype,{dispatch:{value:Zn.prototype.emit},run:{value:Zn.prototype.emit}});class Zl{constructor(e=0,t=0){this._width=e,this._height=t,this.destroyed=!1,this.internal=!1,this.onResize=new Zn("setRealSize"),this.onUpdate=new Zn("update"),this.onError=new Zn("onError")}bind(e){this.onResize.add(e),this.onUpdate.add(e),this.onError.add(e),(this._width||this._height)&&this.onResize.emit(this._width,this._height)}unbind(e){this.onResize.remove(e),this.onUpdate.remove(e),this.onError.remove(e)}resize(e,t){(e!==this._width||t!==this._height)&&(this._width=e,this._height=t,this.onResize.emit(e,t))}get valid(){return!!this._width&&!!this._height}update(){this.destroyed||this.onUpdate.emit()}load(){return Promise.resolve(this)}get width(){return this._width}get height(){return this._height}style(e,t,i){return!1}dispose(){}destroy(){this.destroyed||(this.destroyed=!0,this.dispose(),this.onError.removeAll(),this.onError=null,this.onResize.removeAll(),this.onResize=null,this.onUpdate.removeAll(),this.onUpdate=null)}static test(e,t){return!1}}class th extends Zl{constructor(e,t){const{width:i,height:s}=t||{};if(!i||!s)throw new Error("BufferResource width or height invalid");super(i,s),this.data=e,this.unpackAlignment=t.unpackAlignment??4}upload(e,t,i){const s=e.gl;s.pixelStorei(s.UNPACK_ALIGNMENT,this.unpackAlignment),s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.alphaMode===ki.UNPACK);const r=t.realWidth,o=t.realHeight;return i.width===r&&i.height===o?s.texSubImage2D(t.target,0,0,0,r,o,t.format,i.type,this.data):(i.width=r,i.height=o,s.texImage2D(t.target,0,i.internalFormat,r,o,0,t.format,i.type,this.data)),!0}dispose(){this.data=null}static test(e){return e===null||e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array}}const HP={scaleMode:Gn.NEAREST,alphaMode:ki.NPM},Yp=class pa extends mc{constructor(e=null,t=null){super(),t=Object.assign({},pa.defaultOptions,t);const{alphaMode:i,mipmap:s,anisotropicLevel:r,scaleMode:o,width:a,height:c,wrapMode:l,format:d,type:u,target:h,resolution:
Line truncated
uniform sampler2D uSampler ;
@@ -545,7 +545,7 @@ void main(void)
gl _Position = filterVertexPosition ( ) ;
vTextureCoord = filterTextureCoord ( ) ;
}
` ;const QI=JI,zw=ZI;class jw{constructor(e){this.renderer=e}contextChange(e){let t;if(this.renderer.context.webGLVersion===1){const i=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,null),t=e.getParameter(e.SAMPLES),e.bindFramebuffer(e.FRAMEBUFFER,i)}else{const i=e.getParameter(e.DRAW_FRAMEBUFFER_BINDING);e.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),t=e.getParameter(e.SAMPLES),e.bindFramebuffer(e.DRAW_FRAMEBUFFER,i)}t>=yi.HIGH?this.multisample=yi.HIGH:t>=yi.MEDIUM?this.multisample=yi.MEDIUM:t>=yi.LOW?this.multisample=yi.LOW:this.multisample=yi.NONE}destroy(){}}jw.extension={type:Oe.RendererSystem,name:"_multisample"};He.add(jw);class ek{constructor(e){this.buffer=e||null,this.updateID=-1,this.byteLength=-1,this.refCount=0}}class Hw{constructor(e){this.renderer=e,this.managedBuffers={},this.boundBufferBases={}}destroy(){this.renderer=null}contextChange(){this.disposeAll(!0),this.gl=this.renderer.gl,this.CONTEXT_UID=this.renderer.CONTEXT_UID}bind(e){const{gl:t,CONTEXT_UID:i}=this,s=e._glBuffers[i]||this.createGLBuffer(e);t.bindBuffer(e.type,s.buffer)}unbind(e){const{gl:t}=this;t.bindBuffer(e,null)}bindBufferBase(e,t){const{gl:i,CONTEXT_UID:s}=this;if(this.boundBufferBases[t]!==e){const r=e._glBuffers[s]||this.createGLBuffer(e);this.boundBufferBases[t]=e,i.bindBufferBase(i.UNIFORM_BUFFER,t,r.buffer)}}bindBufferRange(e,t,i){const{gl:s,CONTEXT_UID:r}=this;i=i||0;const o=e._glBuffers[r]||this.createGLBuffer(e);s.bindBufferRange(s.UNIFORM_BUFFER,t||0,o.buffer,i*256,256)}update(e){const{gl:t,CONTEXT_UID:i}=this,s=e._glBuffers[i]||this.createGLBuffer(e);if(e._updateID!==s.updateID)if(s.updateID=e._updateID,t.bindBuffer(e.type,s.buffer),s.byteLength>=e.data.byteLength)t.bufferSubData(e.type,0,e.data);else{const r=e.static?t.STATIC_DRAW:t.DYNAMIC_DRAW;s.byteLength=e.data.byteLength,t.bufferData(e.type,e.data,r)}}dispose(e,t){if(!this.managedBuffers[e.id])return;delete this.managedBuffers[e.id];const i=e._glBuffers[this.CONTEXT_UID],s=this.gl;e.disposeRunner.remove(this),i&&(t||s.deleteBuffer(i.buffer),delete e._glBuffers[this.CONTEXT_UID])}disposeAll(e){const t=Object.keys(this.managedBuffers);for(let i=0;i<t.length;i++)this.dispose(this.managedBuffers[t[i]],e)}createGLBuffer(e){const{CONTEXT_UID:t,gl:i}=this;return e._glBuffers[t]=new ek(i.createBuffer()),this.managedBuffers[e.id]=e,e.disposeRunner.add(this),e._glBuffers[t]}}Hw.extension={type:Oe.RendererSystem,name:"buffer"};He.add(Hw);class Gw{constructor(e){this.renderer=e}render(e,t){const i=this.renderer;let s,r,o,a;if(t&&(s=t.renderTexture,r=t.clear,o=t.transform,a=t.skipUpdateTransform),this.renderingToScreen=!s,i.runners.prerender.emit(),i.emit("prerender"),i.projection.transform=o,!i.context.isLost){if(s||(this.lastObjectRendered=e),!a){const c=e.enableTempParent();e.updateTransform(),e.disableTempParent(c)}i.renderTexture.bind(s),i.batch.currentRenderer.start(),(r??i.background.clearBeforeRender)&&i.renderTexture.clear(),e.render(i),i.batch.currentRenderer.flush(),s&&(t.blit&&i.framebuffer.blit(),s.baseTexture.update()),i.runners.postrender.emit(),i.projection.transform=null,i.emit("postrender")}}destroy(){this.renderer=null,this.lastObjectRendered=null}}Gw.extension={type:Oe.RendererSystem,name:"objectRenderer"};He.add(Gw);const Sd=class Zp extends GI{constructor(e){super(),this.type=G1.WEBGL,e=Object.assign({},Ve.RENDER_OPTIONS,e),this.gl=null,this.CONTEXT_UID=0,this.globalUniforms=new Qn({projectionMatrix:new Bt},!0);const t={runners:["init","destroy","contextChange","resolutionChange","reset","update","postrender","prerender","resize"],systems:Zp.__systems,priority:["_view","textureGenerator","background","_plugin","startup","context","state","texture","buffer","geometry","framebuffer","transformFeedback","mask","scissor","stencil","projection","textureGC","filter","renderTexture","batch","objectRenderer","_multisample"]};this.setup(t),"useContextAlpha"in e&&(mt("7.0.0","options.useContextAlpha is deprecated, use options.premultipliedAlpha and options.backgroundAlpha instead"),e.premultipliedAlpha=e.useContextAlpha&&e.useContextAlpha!=="notMultiplied",e.backgroundAlpha=e.useContextAlpha===!1?1:e.backgroundAlpha),this._plugin.rendererPlugins=Zp.__plugins,this.options=e,this.startup.run(this.options)}static test(e){return e!=null&&e.forceCanvas?!1:AP()}render(e,t){this.objectRenderer.render(e,t)}resize(e,t){this._view.resizeView(e,t)}reset(){return this.runners.reset.emit(),this}clear(){this.renderTexture.bind(),this.renderTexture.clear()}destroy(e=!1){this.runners.destroy.items.reverse(),this.emitWithCustomOptions(this.runners.destroy,{_view:e}),super.destroy()}get plugins(){return this._plugin.plugins}get multisample(){return this._multisample.multisample}get width(){return this._view.element.width}get height(){return this._view.element.height}get resolution(){return this._view.resolution}set resolution(e){this._view.resolution=e,this.runners.resolutionChange.emit(e)}get autoDensity(){return this._view.autoDensity}get view(){return
Line truncated
` ;const QI=JI,zw=ZI;class jw{constructor(e){this.renderer=e}contextChange(e){let t;if(this.renderer.context.webGLVersion===1){const i=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,null),t=e.getParameter(e.SAMPLES),e.bindFramebuffer(e.FRAMEBUFFER,i)}else{const i=e.getParameter(e.DRAW_FRAMEBUFFER_BINDING);e.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),t=e.getParameter(e.SAMPLES),e.bindFramebuffer(e.DRAW_FRAMEBUFFER,i)}t>=yi.HIGH?this.multisample=yi.HIGH:t>=yi.MEDIUM?this.multisample=yi.MEDIUM:t>=yi.LOW?this.multisample=yi.LOW:this.multisample=yi.NONE}destroy(){}}jw.extension={type:Oe.RendererSystem,name:"_multisample"};He.add(jw);class ek{constructor(e){this.buffer=e||null,this.updateID=-1,this.byteLength=-1,this.refCount=0}}class Hw{constructor(e){this.renderer=e,this.managedBuffers={},this.boundBufferBases={}}destroy(){this.renderer=null}contextChange(){this.disposeAll(!0),this.gl=this.renderer.gl,this.CONTEXT_UID=this.renderer.CONTEXT_UID}bind(e){const{gl:t,CONTEXT_UID:i}=this,s=e._glBuffers[i]||this.createGLBuffer(e);t.bindBuffer(e.type,s.buffer)}unbind(e){const{gl:t}=this;t.bindBuffer(e,null)}bindBufferBase(e,t){const{gl:i,CONTEXT_UID:s}=this;if(this.boundBufferBases[t]!==e){const r=e._glBuffers[s]||this.createGLBuffer(e);this.boundBufferBases[t]=e,i.bindBufferBase(i.UNIFORM_BUFFER,t,r.buffer)}}bindBufferRange(e,t,i){const{gl:s,CONTEXT_UID:r}=this;i=i||0;const o=e._glBuffers[r]||this.createGLBuffer(e);s.bindBufferRange(s.UNIFORM_BUFFER,t||0,o.buffer,i*256,256)}update(e){const{gl:t,CONTEXT_UID:i}=this,s=e._glBuffers[i]||this.createGLBuffer(e);if(e._updateID!==s.updateID)if(s.updateID=e._updateID,t.bindBuffer(e.type,s.buffer),s.byteLength>=e.data.byteLength)t.bufferSubData(e.type,0,e.data);else{const r=e.static?t.STATIC_DRAW:t.DYNAMIC_DRAW;s.byteLength=e.data.byteLength,t.bufferData(e.type,e.data,r)}}dispose(e,t){if(!this.managedBuffers[e.id])return;delete this.managedBuffers[e.id];const i=e._glBuffers[this.CONTEXT_UID],s=this.gl;e.disposeRunner.remove(this),i&&(t||s.deleteBuffer(i.buffer),delete e._glBuffers[this.CONTEXT_UID])}disposeAll(e){const t=Object.keys(this.managedBuffers);for(let i=0;i<t.length;i++)this.dispose(this.managedBuffers[t[i]],e)}createGLBuffer(e){const{CONTEXT_UID:t,gl:i}=this;return e._glBuffers[t]=new ek(i.createBuffer()),this.managedBuffers[e.id]=e,e.disposeRunner.add(this),e._glBuffers[t]}}Hw.extension={type:Oe.RendererSystem,name:"buffer"};He.add(Hw);class Gw{constructor(e){this.renderer=e}render(e,t){const i=this.renderer;let s,r,o,a;if(t&&(s=t.renderTexture,r=t.clear,o=t.transform,a=t.skipUpdateTransform),this.renderingToScreen=!s,i.runners.prerender.emit(),i.emit("prerender"),i.projection.transform=o,!i.context.isLost){if(s||(this.lastObjectRendered=e),!a){const c=e.enableTempParent();e.updateTransform(),e.disableTempParent(c)}i.renderTexture.bind(s),i.batch.currentRenderer.start(),(r??i.background.clearBeforeRender)&&i.renderTexture.clear(),e.render(i),i.batch.currentRenderer.flush(),s&&(t.blit&&i.framebuffer.blit(),s.baseTexture.update()),i.runners.postrender.emit(),i.projection.transform=null,i.emit("postrender")}}destroy(){this.renderer=null,this.lastObjectRendered=null}}Gw.extension={type:Oe.RendererSystem,name:"objectRenderer"};He.add(Gw);const Sd=class Zp extends GI{constructor(e){super(),this.type=G1.WEBGL,e=Object.assign({},Ve.RENDER_OPTIONS,e),this.gl=null,this.CONTEXT_UID=0,this.globalUniforms=new Qn({projectionMatrix:new Bt},!0);const t={runners:["init","destroy","contextChange","resolutionChange","reset","update","postrender","prerender","resize"],systems:Zp.__systems,priority:["_view","textureGenerator","background","_plugin","startup","context","state","texture","buffer","geometry","framebuffer","transformFeedback","mask","scissor","stencil","projection","textureGC","filter","renderTexture","batch","objectRenderer","_multisample"]};this.setup(t),"useContextAlpha"in e&&(mt("7.0.0","options.useContextAlpha is deprecated, use options.premultipliedAlpha and options.backgroundAlpha instead"),e.premultipliedAlpha=e.useContextAlpha&&e.useContextAlpha!=="notMultiplied",e.backgroundAlpha=e.useContextAlpha===!1?1:e.backgroundAlpha),this._plugin.rendererPlugins=Zp.__plugins,this.options=e,this.startup.run(this.options)}static test(e){return e!=null&&e.forceCanvas?!1:AP()}render(e,t){this.objectRenderer.render(e,t)}resize(e,t){this._view.resizeView(e,t)}reset(){return this.runners.reset.emit(),this}clear(){this.renderTexture.bind(),this.renderTexture.clear()}destroy(e=!1){this.runners.destroy.items.reverse(),this.emitWithCustomOptions(this.runners.destroy,{_view:e}),super.destroy()}get plugins(){return this._plugin.plugins}get multisample(){return this._multisample.multisample}get width(){return this._view.element.width}get height(){return this._view.element.height}get resolution(){return this._view.resolution}set resolution(e){this._view.resolution=e,this.runners.resolutionChange.emit(e)}get autoDensity(){return this._view.autoDensity}get view(){return
Line truncated
uniform sampler2D uSampler ;
uniform float uAlpha ;
@@ -930,7 +930,7 @@ ${u}`)}});return await Promise.all(c),r?s[o[0].src]:s}async unload(e){const t=jn
} ;
} ) ( ) ;
` ;let La=null;class sS{constructor(){La||(La=URL.createObjectURL(new Blob([oR],{type:"application/javascript"}))),this.worker=new Worker(La)}}sS.revokeObjectURL=function(){La&&(URL.revokeObjectURL(La),La=null)};let L0=0,Gf;class aR{constructor(){this._initialized=!1,this._createdWorkers=0,this.workerPool=[],this.queue=[],this.resolveHash={}}isImageBitmapSupported(){return this._isImageBitmapSupported!==void 0?this._isImageBitmapSupported:(this._isImageBitmapSupported=new Promise(e=>{const{worker:t}=new dm;t.addEventListener("message",i=>{t.terminate(),dm.revokeObjectURL(),e(i.data)})}),this._isImageBitmapSupported)}loadImageBitmap(e){return this._run("loadImageBitmap",[e])}async _initWorkers(){this._initialized||(this._initialized=!0)}getWorker(){Gf===void 0&&(Gf=navigator.hardwareConcurrency||4);let e=this.workerPool.pop();return!e&&this._createdWorkers<Gf&&(this._createdWorkers++,e=new sS().worker,e.addEventListener("message",t=>{this.complete(t.data),this.returnWorker(t.target),this.next()})),e}returnWorker(e){this.workerPool.push(e)}complete(e){e.error!==void 0?this.resolveHash[e.uuid].reject(e.error):this.resolveHash[e.uuid].resolve(e.data),this.resolveHash[e.uuid]=null}async _run(e,t){await this._initWorkers();const i=new Promise((s,r)=>{this.queue.push({id:e,arguments:t,resolve:s,reject:r})});return this.next(),i}next(){if(!this.queue.length)return;const e=this.getWorker();if(!e)return;const t=this.queue.pop(),i=t.id;this.resolveHash[L0]={resolve:t.resolve,reject:t.reject},e.postMessage({data:t.arguments,uuid:L0++,id:i})}}const D0=new aR;function vc(n,e,t){n.resource.internal=!0;const i=new it(n),s=()=>{delete e.promiseCache[t],Co.has(t)&&Co.remove(t)};return i.baseTexture.once("destroyed",()=>{t in e.promiseCache&&(console.warn("[Assets] A BaseTexture managed by Assets was destroyed instead of unloaded! Use Assets.unload() instead of destroying the BaseTexture."),s())}),i.once("destroyed",()=>{n.destroyed||(console.warn("[Assets] A Texture managed by Assets was destroyed instead of unloaded! Use Assets.unload() instead of destroying the Texture."),s())}),i}const lR=[".jpeg",".jpg",".png",".webp",".avif"],cR=["image/jpeg","image/png","image/webp","image/avif"];async function dR(n){const e=await Ve.ADAPTER.fetch(n);if(!e.ok)throw new Error( ` [ loadImageBitmap ] Failed to fetch $ { n } : $ { e . status } $ { e . statusText } ` );const t=await e.blob();return await createImageBitmap(t)}const oh={name:"loadTextures",extension:{type:Oe.LoadParser,priority:Cn.High},config:{preferWorkers:!0,preferCreateImageBitmap:!0,crossOrigin:"anonymous"},test(n){return el(n,cR)||un(n,lR)},async load(n,e,t){var a;const i=globalThis.createImageBitmap&&this.config.preferCreateImageBitmap;let s;i?this.config.preferWorkers&&await D0.isImageBitmapSupported()?s=await D0.loadImageBitmap(n):s=await dR(n):s=await new Promise((c,l)=>{const d=new Image;d.crossOrigin=this.config.crossOrigin,d.src=n,d.complete?c(d):(d.onload=()=>c(d),d.onerror=u=>l(u))});const r={...e.data};r.resolution??(r.resolution=fr(n)),i&&((a=r.resourceOptions)==null?void 0:a.ownsImageBitmap)===void 0&&(r.resourceOptions={...r.resourceOptions},r.resourceOptions.ownsImageBitmap=!0);const o=new rt(s,r);return o.resource.src=n,vc(o,t,n)},unload(n){n.destroy(!0)}};He.add(oh);const uR=".svg",hR="image/svg+xml",fR={extension:{type:Oe.LoadParser,priority:Cn.High},name:"loadSVG",test(n){return el(n,hR)||un(n,uR)},async testParse(n){return em.test(n)},async parse(n,e,t){var r;const i=new em(n,(r=e==null?void 0:e.data)==null?void 0:r.resourceOptions);await i.load();const s=new rt(i,{resolution:fr(n),...e==null?void 0:e.data});return s.resource.src=e.src,vc(s,t,e.src)},async load(n,e){return(await Ve.ADAPTER.fetch(n)).text()},unload:oh.unload};He.add(fR);const pR=[".mp4",".m4v",".webm",".ogv"],mR=["video/mp4","video/webm","video/ogg"],gR={name:"loadVideo",extension:{type:Oe.LoadParser,priority:Cn.High},config:{defaultAutoPlay:!0,defaultUpdateFPS:0,defaultLoop:!1,defaultMuted:!1,defaultPlaysinline:!0},test(n){return el(n,mR)||un(n,pR)},async load(n,e,t){var o;let i;const s=await(await Ve.ADAPTER.fetch(n)).blob(),r=URL.createObjectURL(s);try{const a={autoPlay:this.config.defaultAutoPlay,updateFPS:this.config.defaultUpdateFPS,loop:this.config.defaultLoop,muted:this.config.defaultMuted,playsinline:this.config.defaultPlaysinline,...(o=e==null?void 0:e.data)==null?void 0:o.resourceOptions,autoLoad:!0},c=new Kw(r,a);await c.load();const l=new rt(c,{alphaMode:await CP(),resolution:fr(n),...e==null?void 0:e.data});l.resource.src=n,i=vc(l,t,n),i.baseTexture.once("destroyed",()=>{URL.revokeObjectURL(r)})}catch(a){throw URL.revokeObjectURL(r),a}return i},unload(n){n.destroy(!0)}};He.add(gR);class vR{constructor(){this._defaultBundleIdentifierOptions={connector:"-",createBundleAssetId:(e,t)=> ` $ { e } $ { this . _bundleIdConnector } $ { t } ` ,extractAssetIdFromBundle:(e,t)=>t.replace( ` $ { e } $ { this . _bundleIdConnector } ` ,"")},this._bundleIdConnector=this._defaultBundleIdentifierOptions.connector,this._createBundleAssetId=
Line truncated
Please use Assets . add ( { alias , src , data , format , loadParser } ) instead . ` ),o.push({alias:e,src:t,data:i,format:s,loadParser:r})):Array.isArray(e)?o.push(...e):o.push(e);let a;a=c=>{this.hasKey(c)&&console.warn( ` [ Resolver ] already has key : $ { c } overwriting ` )},jn(o).forEach(c=>{const{src:l,srcs:d}=c;let{data:u,format:h,loadParser:f}=c;const p=jn(l||d).map(v=>typeof v=="string"?Xk(v):Array.isArray(v)?v:[v]),m=this.getAlias(c);Array.isArray(m)?m.forEach(a):a(m);const g=[];p.forEach(v=>{v.forEach(y=>{let b={};if(typeof y!="object"){b.src=y;for(let x=0;x<this._parsers.length;x++){const C=this._parsers[x];if(C.test(y)){b=C.parse(y);break}}}else u=y.data??u,h=y.format??h,f=y.loadParser??f,b={...b,...y};if(!m)throw new Error( ` [ Resolver ] alias is undefined for this asset : $ { b . src } ` );b=this.buildResolvedAsset(b,{aliases:m,data:u,format:h,loadParser:f}),g.push(b)})}),m.forEach(v=>{this._assetMap[v]=g})})}resolveBundle(e){const t=tu(e);e=jn(e);const i={};return e.forEach(s=>{const r=this._bundles[s];if(r){const o=this.resolve(r),a={};for(const c in o){const l=o[c];a[this._extractAssetIdFromBundle(s,c)]=l}i[s]=a}}),t?i[e[0]]:i}resolveUrl(e){const t=this.resolve(e);if(typeof e!="string"){const i={};for(const s in t)i[s]=t[s].src;return i}return t.src}resolve(e){const t=tu(e);e=jn(e);const i={};return e.forEach(s=>{if(!this._resolverHash[s])if(this._assetMap[s]){let r=this._assetMap[s];const o=r[0],a=this._getPreferredOrder(r);a==null||a.priority.forEach(c=>{a.params[c].forEach(l=>{const d=r.filter(u=>u[c]?u[c]===l:!1);d.length&&(r=d)})}),this._resolverHash[s]=r[0]??o}else this._resolverHash[s]=this.buildResolvedAsset({alias:[s],src:s},{});i[s]=this._resolverHash[s]}),t?i[e[0]]:i}hasKey(e){return!!this._assetMap[e]}hasBundle(e){return!!this._bundles[e]}_getPreferredOrder(e){for(let t=0;t<e.length;t++){const i=e[0],s=this._preferredOrder.find(r=>r.params.format.includes(i.format));if(s)return s}return this._preferredOrder[0]}_appendDefaultSearchParams(e){if(!this._defaultSearchParams)return e;const t=/ \? /.test(e)?"&":"?";return ` $ { e } $ { t } $ { this . _defaultSearchParams } ` }buildResolvedAsset(e,t){const{aliases:i,data:s,loadParser:r,format:o}=t;return(this._basePath||this._rootPath)&&(e.src=hi.toAbsolute(e.src,this._basePath,this._rootPath)),e.alias=i??e.alias??[e.src],e.src=this._appendDefaultSearchParams(e.src),e.data={...s||{},...e.data},e.loadParser=r??e.loadParser,e.format=o??e.format??hi.extname(e.src).slice(1),e.srcs=e.src,e.name=e.alias,e}}class bR{constructor(){this._detections=[],this._initialized=!1,this.resolver=new vR,this.loader=new zk,this.cache=Co,this._backgroundLoader=new Vk(this.loader),this._backgroundLoader.active=!0,this.reset()}async init(e={}){var r,o;if(this._initialized){console.warn("[Assets]AssetManager already initialized, did you load before calling this Assets.init()?");return}if(this._initialized=!0,e.defaultSearchParams&&this.resolver.setDefaultSearchParams(e.defaultSearchParams),e.basePath&&(this.resolver.basePath=e.basePath),e.bundleIdentifier&&this.resolver.setBundleIdentifier(e.bundleIdentifier),e.manifest){let a=e.manifest;typeof a=="string"&&(a=await this.load(a)),this.resolver.addManifest(a)}const t=((r=e.texturePreference)==null?void 0:r.resolution)??1,i=typeof t=="number"?[t]:t,s=await this._detectFormats({preferredFormats:(o=e.texturePreference)==null?void 0:o.format,skipDetections:e.skipDetections,detections:this._detections});this.resolver.prefer({params:{format:s,resolution:i}}),e.preferences&&this.setPreferences(e.preferences)}add(e,t,i,s,r){this.resolver.add(e,t,i,s,r)}async load(e,t){this._initialized||await this.init();const i=tu(e),s=jn(e).map(a=>{if(typeof a!="string"){const c=this.resolver.getAlias(a);return c.some(l=>!this.resolver.hasKey(l))&&this.add(a),Array.isArray(c)?c[0]:c}return this.resolver.hasKey(a)||this.add({alias:a,src:a}),a}),r=this.resolver.resolve(s),o=await this._mapLoadToResolve(r,t);return i?o[s[0]]:o}addBundle(e,t){this.resolver.addBundle(e,t)}async loadBundle(e,t){this._initialized||await this.init();let i=!1;typeof e=="string"&&(i=!0,e=[e]);const s=this.resolver.resolveBundle(e),r={},o=Object.keys(s);let a=0,c=0;const l=()=>{t==null||t(++a/c)},d=o.map(u=>{const h=s[u];return c+=Object.keys(h).length,this._mapLoadToResolve(h,l).then(f=>{r[u]=f})});return await Promise.all(d),i?r[e[0]]:r}async backgroundLoad(e){this._initialized||await this.init(),typeof e=="string"&&(e=[e]);const t=this.resolver.resolve(e);this._backgroundLoader.add(Object.values(t))}async backgroundLoadBundle(e){this._initialized||await this.init(),typeof e=="string"&&(e=[e]);const t=this.resolver.resolveBundle(e);Object.values(t).forEach(i=>{this._backgroundLoader.add(Object.values(i))})}reset(){this.resolver.reset(),this.loader.reset(),this.cache.reset(),this._initialized=!1}get(e){if(typeof e=="string")return Co.get(e);const t={};for(let i=0;i<e.length;i++)t[i]=Co.get(e[i]);return t}async _mapLoadToResolve(e,t){const i=Object.values(e),s=Object.keys(e);this._backgroundLoader.active=!1;co
Line truncated
Please use Assets . add ( { alias , src , data , format , loadParser } ) instead . ` ),o.push({alias:e,src:t,data:i,format:s,loadParser:r})):Array.isArray(e)?o.push(...e):o.push(e);let a;a=c=>{this.hasKey(c)&&console.warn( ` [ Resolver ] already has key : $ { c } overwriting ` )},jn(o).forEach(c=>{const{src:l,srcs:d}=c;let{data:u,format:h,loadParser:f}=c;const p=jn(l||d).map(v=>typeof v=="string"?Xk(v):Array.isArray(v)?v:[v]),m=this.getAlias(c);Array.isArray(m)?m.forEach(a):a(m);const g=[];p.forEach(v=>{v.forEach(y=>{let b={};if(typeof y!="object"){b.src=y;for(let w=0;w<this._parsers.length;w++){const C=this._parsers[w];if(C.test(y)){b=C.parse(y);break}}}else u=y.data??u,h=y.format??h,f=y.loadParser??f,b={...b,...y};if(!m)throw new Error( ` [ Resolver ] alias is undefined for this asset : $ { b . src } ` );b=this.buildResolvedAsset(b,{aliases:m,data:u,format:h,loadParser:f}),g.push(b)})}),m.forEach(v=>{this._assetMap[v]=g})})}resolveBundle(e){const t=tu(e);e=jn(e);const i={};return e.forEach(s=>{const r=this._bundles[s];if(r){const o=this.resolve(r),a={};for(const c in o){const l=o[c];a[this._extractAssetIdFromBundle(s,c)]=l}i[s]=a}}),t?i[e[0]]:i}resolveUrl(e){const t=this.resolve(e);if(typeof e!="string"){const i={};for(const s in t)i[s]=t[s].src;return i}return t.src}resolve(e){const t=tu(e);e=jn(e);const i={};return e.forEach(s=>{if(!this._resolverHash[s])if(this._assetMap[s]){let r=this._assetMap[s];const o=r[0],a=this._getPreferredOrder(r);a==null||a.priority.forEach(c=>{a.params[c].forEach(l=>{const d=r.filter(u=>u[c]?u[c]===l:!1);d.length&&(r=d)})}),this._resolverHash[s]=r[0]??o}else this._resolverHash[s]=this.buildResolvedAsset({alias:[s],src:s},{});i[s]=this._resolverHash[s]}),t?i[e[0]]:i}hasKey(e){return!!this._assetMap[e]}hasBundle(e){return!!this._bundles[e]}_getPreferredOrder(e){for(let t=0;t<e.length;t++){const i=e[0],s=this._preferredOrder.find(r=>r.params.format.includes(i.format));if(s)return s}return this._preferredOrder[0]}_appendDefaultSearchParams(e){if(!this._defaultSearchParams)return e;const t=/ \? /.test(e)?"&":"?";return ` $ { e } $ { t } $ { this . _defaultSearchParams } ` }buildResolvedAsset(e,t){const{aliases:i,data:s,loadParser:r,format:o}=t;return(this._basePath||this._rootPath)&&(e.src=hi.toAbsolute(e.src,this._basePath,this._rootPath)),e.alias=i??e.alias??[e.src],e.src=this._appendDefaultSearchParams(e.src),e.data={...s||{},...e.data},e.loadParser=r??e.loadParser,e.format=o??e.format??hi.extname(e.src).slice(1),e.srcs=e.src,e.name=e.alias,e}}class bR{constructor(){this._detections=[],this._initialized=!1,this.resolver=new vR,this.loader=new zk,this.cache=Co,this._backgroundLoader=new Vk(this.loader),this._backgroundLoader.active=!0,this.reset()}async init(e={}){var r,o;if(this._initialized){console.warn("[Assets]AssetManager already initialized, did you load before calling this Assets.init()?");return}if(this._initialized=!0,e.defaultSearchParams&&this.resolver.setDefaultSearchParams(e.defaultSearchParams),e.basePath&&(this.resolver.basePath=e.basePath),e.bundleIdentifier&&this.resolver.setBundleIdentifier(e.bundleIdentifier),e.manifest){let a=e.manifest;typeof a=="string"&&(a=await this.load(a)),this.resolver.addManifest(a)}const t=((r=e.texturePreference)==null?void 0:r.resolution)??1,i=typeof t=="number"?[t]:t,s=await this._detectFormats({preferredFormats:(o=e.texturePreference)==null?void 0:o.format,skipDetections:e.skipDetections,detections:this._detections});this.resolver.prefer({params:{format:s,resolution:i}}),e.preferences&&this.setPreferences(e.preferences)}add(e,t,i,s,r){this.resolver.add(e,t,i,s,r)}async load(e,t){this._initialized||await this.init();const i=tu(e),s=jn(e).map(a=>{if(typeof a!="string"){const c=this.resolver.getAlias(a);return c.some(l=>!this.resolver.hasKey(l))&&this.add(a),Array.isArray(c)?c[0]:c}return this.resolver.hasKey(a)||this.add({alias:a,src:a}),a}),r=this.resolver.resolve(s),o=await this._mapLoadToResolve(r,t);return i?o[s[0]]:o}addBundle(e,t){this.resolver.addBundle(e,t)}async loadBundle(e,t){this._initialized||await this.init();let i=!1;typeof e=="string"&&(i=!0,e=[e]);const s=this.resolver.resolveBundle(e),r={},o=Object.keys(s);let a=0,c=0;const l=()=>{t==null||t(++a/c)},d=o.map(u=>{const h=s[u];return c+=Object.keys(h).length,this._mapLoadToResolve(h,l).then(f=>{r[u]=f})});return await Promise.all(d),i?r[e[0]]:r}async backgroundLoad(e){this._initialized||await this.init(),typeof e=="string"&&(e=[e]);const t=this.resolver.resolve(e);this._backgroundLoader.add(Object.values(t))}async backgroundLoadBundle(e){this._initialized||await this.init(),typeof e=="string"&&(e=[e]);const t=this.resolver.resolveBundle(e);Object.values(t).forEach(i=>{this._backgroundLoader.add(Object.values(i))})}reset(){this.resolver.reset(),this.loader.reset(),this.cache.reset(),this._initialized=!1}get(e){if(typeof e=="string")return Co.get(e);const t={};for(let i=0;i<e.length;i++)t[i]=Co.get(e[i]);return t}async _mapLoadToResolve(e,t){const i=Object.values(e),s=Object.keys(e);this._backgroundLoader.active=!1;co
Line truncated
uniform vec4 uColor ;
uniform sampler2D uSampler ;
@@ -987,8 +987,8 @@ void main(void){
vTextureCoord = aTextureCoord ;
vColor = aColor * uColor ;
}
` ;class hS extends rh{constructor(e){super(e),this.shader=null,this.properties=null,this.tempMatrix=new Bt,this.properties=[{attributeName:"aVertexPosition",size:2,uploadFunction:this.uploadVertices,offset:0},{attributeName:"aPositionCoord",size:2,uploadFunction:this.uploadPosition,offset:0},{attributeName:"aRotation",size:1,uploadFunction:this.uploadRotation,offset:0},{attributeName:"aTextureCoord",size:2,uploadFunction:this.uploadUvs,offset:0},{attributeName:"aColor",size:1,type:je.UNSIGNED_BYTE,uploadFunction:this.uploadTint,offset:0}],this.shader=es.from(v2,g2,{}),this.state=ks.for2d()}render(e){const t=e.children,i=e._maxSize,s=e._batchSize,r=this.renderer;let o=t.length;if(o===0)return;o>i&&!e.autoResize&&(o=i);let a=e._buffers;a||(a=e._buffers=this.generateBuffers(e));const c=t[0]._texture.baseTexture,l=c.alphaMode>0;this.state.blendMode=dw(e.blendMode,l),r.state.set(this.state);const d=r.gl,u=e.worldTransform.copyTo(this.tempMatrix);u.prepend(r.globalUniforms.uniforms.projectionMatrix),this.shader.uniforms.translationMatrix=u.toArray(!0),this.shader.uniforms.uColor=Rt.shared.setValue(e.tintRgb).premultiply(e.worldAlpha,l).toArray(this.shader.uniforms.uColor),this.shader.uniforms.uSampler=c,this.renderer.shader.bind(this.shader);let h=!1;for(let f=0,p=0;f<o;f+=s,p+=1){let m=o-f;m>s&&(m=s),p>=a.length&&a.push(this._generateOneMoreBuffer(e));const g=a[p];g.uploadDynamic(t,f,m);const v=e._bufferUpdateIDs[p]||0;h=h||g._updateID<v,h&&(g._updateID=e._updateID,g.uploadStatic(t,f,m)),r.geometry.bind(g.geometry),d.drawElements(d.TRIANGLES,m*6,d.UNSIGNED_SHORT,0)}}generateBuffers(e){const t=[],i=e._maxSize,s=e._batchSize,r=e._properties;for(let o=0;o<i;o+=s)t.push(new G0(this.properties,r,s));return t}_generateOneMoreBuffer(e){const t=e._batchSize,i=e._properties;return new G0(this.properties,i,t)}uploadVertices(e,t,i,s,r,o){let a=0,c=0,l=0,d=0;for(let u=0;u<i;++u){const h=e[t+u],f=h._texture,p=h.scale.x,m=h.scale.y,g=f.trim,v=f.orig;g?(c=g.x-h.anchor.x*v.width,a=c+g.width,d=g.y-h.anchor.y*v.height,l=d+g.height):(a=v.width*(1-h.anchor.x),c=v.width*-h.anchor.x,l=v.height*(1-h.anchor.y),d=v.height*-h.anchor.y),s[o]=c*p,s[o+1]=d*m,s[o+r]=a*p,s[o+r+1]=d*m,s[o+r*2]=a*p,s[o+r*2+1]=l*m,s[o+r*3]=c*p,s[o+r*3+1]=l*m,o+=r*4}}uploadPosition(e,t,i,s,r,o){for(let a=0;a<i;a++){const c=e[t+a].position;s[o]=c.x,s[o+1]=c.y,s[o+r]=c.x,s[o+r+1]=c.y,s[o+r*2]=c.x,s[o+r*2+1]=c.y,s[o+r*3]=c.x,s[o+r*3+1]=c.y,o+=r*4}}uploadRotation(e,t,i,s,r,o){for(let a=0;a<i;a++){const c=e[t+a].rotation;s[o]=c,s[o+r]=c,s[o+r*2]=c,s[o+r*3]=c,o+=r*4}}uploadUvs(e,t,i,s,r,o){for(let a=0;a<i;++a){const c=e[t+a]._texture._uvs;c?(s[o]=c.x0,s[o+1]=c.y0,s[o+r]=c.x1,s[o+r+1]=c.y1,s[o+r*2]=c.x2,s[o+r*2+1]=c.y2,s[o+r*3]=c.x3,s[o+r*3+1]=c.y3,o+=r*4):(s[o]=0,s[o+1]=0,s[o+r]=0,s[o+r+1]=0,s[o+r*2]=0,s[o+r*2+1]=0,s[o+r*3]=0,s[o+r*3+1]=0,o+=r*4)}}uploadTint(e,t,i,s,r,o){for(let a=0;a<i;++a){const c=e[t+a],l=Rt.shared.setValue(c._tintRGB).toPremultiplied(c.alpha,c.texture.baseTexture.alphaMode>0);s[o]=l,s[o+r]=l,s[o+r*2]=l,s[o+r*3]=l,o+=r*4}}destroy(){super.destroy(),this.shader&&(this.shader.destroy(),this.shader=null),this.tempMatrix=null}}hS.extension={name:"particle",type:Oe.RendererPlugin};He.add(hS);var lh=(n=>(n[n.LINEAR_VERTICAL=0]="LINEAR_VERTICAL",n[n.LINEAR_HORIZONTAL=1]="LINEAR_HORIZONTAL",n))(lh||{});const Kc={willReadFrequently:!0},cs=class qe{static get experimentalLetterSpacingSupported(){let e=qe._experimentalLetterSpacingSupported;if(e!==void 0){const t=Ve.ADAPTER.getCanvasRenderingContext2D().prototype;e=qe._experimentalLetterSpacingSupported="letterSpacing"in t||"textLetterSpacing"in t}return e}constructor(e,t,i,s,r,o,a,c,l){this.text=e,this.style=t,this.width=i,this.height=s,this.lines=r,this.lineWidths=o,this.lineHeight=a,this.maxLineWidth=c,this.fontProperties=l}static measureText(e,t,i,s=qe._canvas){i=i??t.wordWrap;const r=t.toFontString(),o=qe.measureFont(r);o.fontSize===0&&(o.fontSize=t.fontSize,o.ascent=t.fontSize);const a=s.getContext("2d",Kc);a.font=r;const c=(i?qe.wordWrap(e,t,s):e).split(/(?: \r \n | \r | \n )/),l=new Array(c.length);let d=0;for(let p=0;p<c.length;p++){const m=qe._measureText(c[p],t.letterSpacing,a);l[p]=m,d=Math.max(d,m)}let u=d+t.strokeThickness;t.dropShadow&&(u+=t.dropShadowDistance);const h=t.lineHeight||o.fontSize+t.strokeThickness;let f=Math.max(h,o.fontSize+t.strokeThickness*2)+t.leading+(c.length-1)*(h+t.leading);return t.dropShadow&&(f+=t.dropShadowDistance),new qe(e,t,u,f,c,l,h+t.leading,d,o)}static _measureText(e,t,i){let s=!1;qe.experimentalLetterSpacingSupported&&(qe.experimentalLetterSpacing?(i.letterSpacing= ` $ { t } px ` ,i.textLetterSpacing= ` $ { t } px ` ,s=!0):(i.letterSpacing="0px",i.textLetterSpacing="0px"));let r=i.measureText(e).width;return r>0&&(s?r-=t:r+=(qe.graphemeSegmenter(e).length-1)*t),r}static wordWrap(e,t,i=qe._canvas){const s=i.getContext("2d",Kc);let r=0,o="",a="";const c=Object.create(null),{letterSpacing:l,whiteSpace:d}=t,u=qe.collapseSpaces(d),h=qe.collapseNewlines(d);let f=!u;const p=t.wordWrapWidth+l,
Line truncated
` :e,e}static getFromCache(e,t,i,s){let r=i[e];return typeof r!="number"&&(r=qe._measureText(e,t,s)+t,i[e]=r),r}static collapseSpaces(e){return e==="normal"||e==="pre-line"}static collapseNewlines(e){return e==="normal"}static trimRight(e){if(typeof e!="string")return"";for(let t=e.length-1;t>=0;t--){const i=e[t];if(!qe.isBreakingSpace(i))break;e=e.slice(0,-1)}return e}static isNewline(e){return typeof e!="string"?!1:qe._newlines.includes(e.charCodeAt(0))}static isBreakingSpace(e,t){return typeof e!="string"?!1:qe._breakingSpaces.includes(e.charCodeAt(0))}static tokenize(e){const t=[];let i="";if(typeof e!="string")return t;for(let s=0;s<e.length;s++){const r=e[s],o=e[s+1];if(qe.isBreakingSpace(r,o)||qe.isNewline(r)){i!==""&&(t.push(i),i=""),t.push(r);continue}i+=r}return i!==""&&t.push(i),t}static canBreakWords(e,t){return t}static canBreakChars(e,t,i,s,r){return!0}static wordWrapSplit(e){return qe.graphemeSegmenter(e)}static measureFont(e){if(qe._fonts[e])return qe._fonts[e];const t={ascent:0,descent:0,fontSize:0},i=qe._canvas,s=qe._context;s.font=e;const r=qe.METRICS_STRING+qe.BASELINE_SYMBOL,o=Math.ceil(s.measureText(r).width);let a=Math.ceil(s.measureText(qe.BASELINE_SYMBOL).width);const c=Math.ceil(qe.HEIGHT_MULTIPLIER*a);if(a=a*qe.BASELINE_MULTIPLIER|0,o===0||c===0)return qe._fonts[e]=t,t;i.width=o,i.height=c,s.fillStyle="#f00",s.fillRect(0,0,o,c),s.font=e,s.textBaseline="alphabetic",s.fillStyle="#000",s.fillText(r,0,a);const l=s.getImageData(0,0,o,c).data,d=l.length,u=o*4;let h=0,f=0,p=!1;for(h=0;h<a;++h){for(let m=0;m<u;m+=4)if(l[f+m]!==255){p=!0;break}if(!p)f+=u;else break}for(t.ascent=a-h,f=d-u,p=!1,h=c;h>a;--h){for(let m=0;m<u;m+=4)if(l[f+m]!==255){p=!0;break}if(!p)f-=u;else break}return t.descent=h-a,t.fontSize=t.ascent+t.descent,qe._fonts[e]=t,t}static clearMetrics(e=""){e?delete qe._fonts[e]:qe._fonts={}}static get _canvas(){var e;if(!qe.__canvas){let t;try{const i=new OffscreenCanvas(0,0);if((e=i.getContext("2d",Kc))!=null&&e.measureText)return qe.__canvas=i,i;t=Ve.ADAPTER.createCanvas()}catch{t=Ve.ADAPTER.createCanvas()}t.width=t.height=10,qe.__canvas=t}return qe.__canvas}static get _context(){return qe.__context||(qe.__context=qe._canvas.getContext("2d",Kc)),qe.__context}};cs.METRICS_STRING="|ÉqÅ",cs.BASELINE_SYMBOL="M",cs.BASELINE_MULTIPLIER=1.4,cs.HEIGHT_MULTIPLIER=2,cs.graphemeSegmenter=(()=>{if(typeof(Intl==null?void 0:Intl.Segmenter)=="function"){const n=new Intl.Segmenter;return e=>[...n.segment(e)].map(t=>t.segment)}return n=>[...n]})(),cs.experimentalLetterSpacing=!1,cs._fonts={},cs._newlines=[10,13],cs._breakingSpaces=[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288];let Rr=cs;const b2=["serif","sans-serif","monospace","cursive","fantasy","system-ui"],fS=class Tl{constructor(e){this.styleID=0,this.reset(),Qf(this,e,e)}clone(){const e={};return Qf(e,this,Tl.defaultStyle),new Tl(e)}reset(){Qf(this,Tl.defaultStyle,Tl.defaultStyle)}get align(){return this._align}set align(e){this._align!==e&&(this._align=e,this.styleID++)}get breakWords(){return this._breakWords}set breakWords(e){this._breakWords!==e&&(this._breakWords=e,this.styleID++)}get dropShadow(){return this._dropShadow}set dropShadow(e){this._dropShadow!==e&&(this._dropShadow=e,this.styleID++)}get dropShadowAlpha(){return this._dropShadowAlpha}set dropShadowAlpha(e){this._dropShadowAlpha!==e&&(this._dropShadowAlpha=e,this.styleID++)}get dropShadowAngle(){return this._dropShadowAngle}set dropShadowAngle(e){this._dropShadowAngle!==e&&(this._dropShadowAngle=e,this.styleID++)}get dropShadowBlur(){return this._dropShadowBlur}set dropShadowBlur(e){this._dropShadowBlur!==e&&(this._dropShadowBlur=e,this.styleID++)}get dropShadowColor(){return this._dropShadowColor}set dropShadowColor(e){const t=Zf(e);this._dropShadowColor!==t&&(this._dropShadowColor=t,this.styleID++)}get dropShadowDistance(){return this._dropShadowDistance}set dropShadowDistance(e){this._dropShadowDistance!==e&&(this._dropShadowDistance=e,this.styleID++)}get fill(){return this._fill}set fill(e){const t=Zf(e);this._fill!==t&&(this._fill=t,this.styleID++)}get fillGradientType(){return this._fillGradientType}set fillGradientType(e){this._fillGradientType!==e&&(this._fillGradientType=e,this.styleID++)}get fillGradientStops(){return this._fillGradientStops}set fillGradientStops(e){y2(this._fillGradientStops,e)||(this._fillGradientStops=e,this.styleID++)}get fontFamily(){return this._fontFamily}set fontFamily(e){this.fontFamily!==e&&(this._fontFamily=e,this.styleID++)}get fontSize(){return this._fontSize}set fontSize(e){this._fontSize!==e&&(this._fontSize=e,this.styleID++)}get fontStyle(){return this._fontStyle}set fontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.styleID++)}get fontVariant(){return this._fontVariant}set fontVariant(e){this._fontVariant!==e&&(this._fontVariant=e,this.styleID++)}get fontWeight(){return this._fontWeight}set fontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.styleID++)}get letterSpacing(){return this._lett
Line truncated
` ;class hS extends rh{constructor(e){super(e),this.shader=null,this.properties=null,this.tempMatrix=new Bt,this.properties=[{attributeName:"aVertexPosition",size:2,uploadFunction:this.uploadVertices,offset:0},{attributeName:"aPositionCoord",size:2,uploadFunction:this.uploadPosition,offset:0},{attributeName:"aRotation",size:1,uploadFunction:this.uploadRotation,offset:0},{attributeName:"aTextureCoord",size:2,uploadFunction:this.uploadUvs,offset:0},{attributeName:"aColor",size:1,type:je.UNSIGNED_BYTE,uploadFunction:this.uploadTint,offset:0}],this.shader=es.from(v2,g2,{}),this.state=ks.for2d()}render(e){const t=e.children,i=e._maxSize,s=e._batchSize,r=this.renderer;let o=t.length;if(o===0)return;o>i&&!e.autoResize&&(o=i);let a=e._buffers;a||(a=e._buffers=this.generateBuffers(e));const c=t[0]._texture.baseTexture,l=c.alphaMode>0;this.state.blendMode=dw(e.blendMode,l),r.state.set(this.state);const d=r.gl,u=e.worldTransform.copyTo(this.tempMatrix);u.prepend(r.globalUniforms.uniforms.projectionMatrix),this.shader.uniforms.translationMatrix=u.toArray(!0),this.shader.uniforms.uColor=Rt.shared.setValue(e.tintRgb).premultiply(e.worldAlpha,l).toArray(this.shader.uniforms.uColor),this.shader.uniforms.uSampler=c,this.renderer.shader.bind(this.shader);let h=!1;for(let f=0,p=0;f<o;f+=s,p+=1){let m=o-f;m>s&&(m=s),p>=a.length&&a.push(this._generateOneMoreBuffer(e));const g=a[p];g.uploadDynamic(t,f,m);const v=e._bufferUpdateIDs[p]||0;h=h||g._updateID<v,h&&(g._updateID=e._updateID,g.uploadStatic(t,f,m)),r.geometry.bind(g.geometry),d.drawElements(d.TRIANGLES,m*6,d.UNSIGNED_SHORT,0)}}generateBuffers(e){const t=[],i=e._maxSize,s=e._batchSize,r=e._properties;for(let o=0;o<i;o+=s)t.push(new G0(this.properties,r,s));return t}_generateOneMoreBuffer(e){const t=e._batchSize,i=e._properties;return new G0(this.properties,i,t)}uploadVertices(e,t,i,s,r,o){let a=0,c=0,l=0,d=0;for(let u=0;u<i;++u){const h=e[t+u],f=h._texture,p=h.scale.x,m=h.scale.y,g=f.trim,v=f.orig;g?(c=g.x-h.anchor.x*v.width,a=c+g.width,d=g.y-h.anchor.y*v.height,l=d+g.height):(a=v.width*(1-h.anchor.x),c=v.width*-h.anchor.x,l=v.height*(1-h.anchor.y),d=v.height*-h.anchor.y),s[o]=c*p,s[o+1]=d*m,s[o+r]=a*p,s[o+r+1]=d*m,s[o+r*2]=a*p,s[o+r*2+1]=l*m,s[o+r*3]=c*p,s[o+r*3+1]=l*m,o+=r*4}}uploadPosition(e,t,i,s,r,o){for(let a=0;a<i;a++){const c=e[t+a].position;s[o]=c.x,s[o+1]=c.y,s[o+r]=c.x,s[o+r+1]=c.y,s[o+r*2]=c.x,s[o+r*2+1]=c.y,s[o+r*3]=c.x,s[o+r*3+1]=c.y,o+=r*4}}uploadRotation(e,t,i,s,r,o){for(let a=0;a<i;a++){const c=e[t+a].rotation;s[o]=c,s[o+r]=c,s[o+r*2]=c,s[o+r*3]=c,o+=r*4}}uploadUvs(e,t,i,s,r,o){for(let a=0;a<i;++a){const c=e[t+a]._texture._uvs;c?(s[o]=c.x0,s[o+1]=c.y0,s[o+r]=c.x1,s[o+r+1]=c.y1,s[o+r*2]=c.x2,s[o+r*2+1]=c.y2,s[o+r*3]=c.x3,s[o+r*3+1]=c.y3,o+=r*4):(s[o]=0,s[o+1]=0,s[o+r]=0,s[o+r+1]=0,s[o+r*2]=0,s[o+r*2+1]=0,s[o+r*3]=0,s[o+r*3+1]=0,o+=r*4)}}uploadTint(e,t,i,s,r,o){for(let a=0;a<i;++a){const c=e[t+a],l=Rt.shared.setValue(c._tintRGB).toPremultiplied(c.alpha,c.texture.baseTexture.alphaMode>0);s[o]=l,s[o+r]=l,s[o+r*2]=l,s[o+r*3]=l,o+=r*4}}destroy(){super.destroy(),this.shader&&(this.shader.destroy(),this.shader=null),this.tempMatrix=null}}hS.extension={name:"particle",type:Oe.RendererPlugin};He.add(hS);var lh=(n=>(n[n.LINEAR_VERTICAL=0]="LINEAR_VERTICAL",n[n.LINEAR_HORIZONTAL=1]="LINEAR_HORIZONTAL",n))(lh||{});const Kc={willReadFrequently:!0},cs=class qe{static get experimentalLetterSpacingSupported(){let e=qe._experimentalLetterSpacingSupported;if(e!==void 0){const t=Ve.ADAPTER.getCanvasRenderingContext2D().prototype;e=qe._experimentalLetterSpacingSupported="letterSpacing"in t||"textLetterSpacing"in t}return e}constructor(e,t,i,s,r,o,a,c,l){this.text=e,this.style=t,this.width=i,this.height=s,this.lines=r,this.lineWidths=o,this.lineHeight=a,this.maxLineWidth=c,this.fontProperties=l}static measureText(e,t,i,s=qe._canvas){i=i??t.wordWrap;const r=t.toFontString(),o=qe.measureFont(r);o.fontSize===0&&(o.fontSize=t.fontSize,o.ascent=t.fontSize);const a=s.getContext("2d",Kc);a.font=r;const c=(i?qe.wordWrap(e,t,s):e).split(/(?: \r \n | \r | \n )/),l=new Array(c.length);let d=0;for(let p=0;p<c.length;p++){const m=qe._measureText(c[p],t.letterSpacing,a);l[p]=m,d=Math.max(d,m)}let u=d+t.strokeThickness;t.dropShadow&&(u+=t.dropShadowDistance);const h=t.lineHeight||o.fontSize+t.strokeThickness;let f=Math.max(h,o.fontSize+t.strokeThickness*2)+t.leading+(c.length-1)*(h+t.leading);return t.dropShadow&&(f+=t.dropShadowDistance),new qe(e,t,u,f,c,l,h+t.leading,d,o)}static _measureText(e,t,i){let s=!1;qe.experimentalLetterSpacingSupported&&(qe.experimentalLetterSpacing?(i.letterSpacing= ` $ { t } px ` ,i.textLetterSpacing= ` $ { t } px ` ,s=!0):(i.letterSpacing="0px",i.textLetterSpacing="0px"));let r=i.measureText(e).width;return r>0&&(s?r-=t:r+=(qe.graphemeSegmenter(e).length-1)*t),r}static wordWrap(e,t,i=qe._canvas){const s=i.getContext("2d",Kc);let r=0,o="",a="";const c=Object.create(null),{letterSpacing:l,whiteSpace:d}=t,u=qe.collapseSpaces(d),h=qe.collapseNewlines(d);let f=!u;const p=t.wordWrapWidth+l,
Line truncated
` :e,e}static getFromCache(e,t,i,s){let r=i[e];return typeof r!="number"&&(r=qe._measureText(e,t,s)+t,i[e]=r),r}static collapseSpaces(e){return e==="normal"||e==="pre-line"}static collapseNewlines(e){return e==="normal"}static trimRight(e){if(typeof e!="string")return"";for(let t=e.length-1;t>=0;t--){const i=e[t];if(!qe.isBreakingSpace(i))break;e=e.slice(0,-1)}return e}static isNewline(e){return typeof e!="string"?!1:qe._newlines.includes(e.charCodeAt(0))}static isBreakingSpace(e,t){return typeof e!="string"?!1:qe._breakingSpaces.includes(e.charCodeAt(0))}static tokenize(e){const t=[];let i="";if(typeof e!="string")return t;for(let s=0;s<e.length;s++){const r=e[s],o=e[s+1];if(qe.isBreakingSpace(r,o)||qe.isNewline(r)){i!==""&&(t.push(i),i=""),t.push(r);continue}i+=r}return i!==""&&t.push(i),t}static canBreakWords(e,t){return t}static canBreakChars(e,t,i,s,r){return!0}static wordWrapSplit(e){return qe.graphemeSegmenter(e)}static measureFont(e){if(qe._fonts[e])return qe._fonts[e];const t={ascent:0,descent:0,fontSize:0},i=qe._canvas,s=qe._context;s.font=e;const r=qe.METRICS_STRING+qe.BASELINE_SYMBOL,o=Math.ceil(s.measureText(r).width);let a=Math.ceil(s.measureText(qe.BASELINE_SYMBOL).width);const c=Math.ceil(qe.HEIGHT_MULTIPLIER*a);if(a=a*qe.BASELINE_MULTIPLIER|0,o===0||c===0)return qe._fonts[e]=t,t;i.width=o,i.height=c,s.fillStyle="#f00",s.fillRect(0,0,o,c),s.font=e,s.textBaseline="alphabetic",s.fillStyle="#000",s.fillText(r,0,a);const l=s.getImageData(0,0,o,c).data,d=l.length,u=o*4;let h=0,f=0,p=!1;for(h=0;h<a;++h){for(let m=0;m<u;m+=4)if(l[f+m]!==255){p=!0;break}if(!p)f+=u;else break}for(t.ascent=a-h,f=d-u,p=!1,h=c;h>a;--h){for(let m=0;m<u;m+=4)if(l[f+m]!==255){p=!0;break}if(!p)f-=u;else break}return t.descent=h-a,t.fontSize=t.ascent+t.descent,qe._fonts[e]=t,t}static clearMetrics(e=""){e?delete qe._fonts[e]:qe._fonts={}}static get _canvas(){var e;if(!qe.__canvas){let t;try{const i=new OffscreenCanvas(0,0);if((e=i.getContext("2d",Kc))!=null&&e.measureText)return qe.__canvas=i,i;t=Ve.ADAPTER.createCanvas()}catch{t=Ve.ADAPTER.createCanvas()}t.width=t.height=10,qe.__canvas=t}return qe.__canvas}static get _context(){return qe.__context||(qe.__context=qe._canvas.getContext("2d",Kc)),qe.__context}};cs.METRICS_STRING="|ÉqÅ",cs.BASELINE_SYMBOL="M",cs.BASELINE_MULTIPLIER=1.4,cs.HEIGHT_MULTIPLIER=2,cs.graphemeSegmenter=(()=>{if(typeof(Intl==null?void 0:Intl.Segmenter)=="function"){const n=new Intl.Segmenter;return e=>[...n.segment(e)].map(t=>t.segment)}return n=>[...n]})(),cs.experimentalLetterSpacing=!1,cs._fonts={},cs._newlines=[10,13],cs._breakingSpaces=[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288];let Rr=cs;const b2=["serif","sans-serif","monospace","cursive","fantasy","system-ui"],fS=class Tl{constructor(e){this.styleID=0,this.reset(),Qf(this,e,e)}clone(){const e={};return Qf(e,this,Tl.defaultStyle),new Tl(e)}reset(){Qf(this,Tl.defaultStyle,Tl.defaultStyle)}get align(){return this._align}set align(e){this._align!==e&&(this._align=e,this.styleID++)}get breakWords(){return this._breakWords}set breakWords(e){this._breakWords!==e&&(this._breakWords=e,this.styleID++)}get dropShadow(){return this._dropShadow}set dropShadow(e){this._dropShadow!==e&&(this._dropShadow=e,this.styleID++)}get dropShadowAlpha(){return this._dropShadowAlpha}set dropShadowAlpha(e){this._dropShadowAlpha!==e&&(this._dropShadowAlpha=e,this.styleID++)}get dropShadowAngle(){return this._dropShadowAngle}set dropShadowAngle(e){this._dropShadowAngle!==e&&(this._dropShadowAngle=e,this.styleID++)}get dropShadowBlur(){return this._dropShadowBlur}set dropShadowBlur(e){this._dropShadowBlur!==e&&(this._dropShadowBlur=e,this.styleID++)}get dropShadowColor(){return this._dropShadowColor}set dropShadowColor(e){const t=Zf(e);this._dropShadowColor!==t&&(this._dropShadowColor=t,this.styleID++)}get dropShadowDistance(){return this._dropShadowDistance}set dropShadowDistance(e){this._dropShadowDistance!==e&&(this._dropShadowDistance=e,this.styleID++)}get fill(){return this._fill}set fill(e){const t=Zf(e);this._fill!==t&&(this._fill=t,this.styleID++)}get fillGradientType(){return this._fillGradientType}set fillGradientType(e){this._fillGradientType!==e&&(this._fillGradientType=e,this.styleID++)}get fillGradientStops(){return this._fillGradientStops}set fillGradientStops(e){y2(this._fillGradientStops,e)||(this._fillGradientStops=e,this.styleID++)}get fontFamily(){return this._fontFamily}set fontFamily(e){this.fontFamily!==e&&(this._fontFamily=e,this.styleID++)}get fontSize(){return this._fontSize}set fontSize(e){this._fontSize!==e&&(this._fontSize=e,this.styleID++)}get fontStyle(){return this._fontStyle}set fontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.styleID++)}get fontVariant(){return this._fontVariant}set fontVariant(e){this._fontVariant!==e&&(this._fontVariant=e,this.styleID++)}get fontWeight(){return this._fontWeight}set fontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.styleID++)}get letterSpacing(){return this._lett
Line truncated
# define SHADER _NAME Tiling - Sprite - 100
precision lowp float ;
@@ -1102,7 +1102,7 @@ void main(void)
vec4 texSample = texture2D ( uSampler , vTextureCoord ) ;
gl _FragColor = texSample * uColor ;
}
` ;const Jc=new Bt;class yS extends rh{constructor(e){super(e),e.runners.contextChange.add(this),this.quad=new Aw,this.state=ks.for2d()}contextChange(){const e=this.renderer,t={globals:e.globalUniforms};this.simpleShader=es.from(W0,L2,t),this.shader=e.context.webGLVersion>1?es.from(R2,k2,t):es.from(W0,F2,t)}render(e){const t=this.renderer,i=this.quad;let s=i.vertices;s[0]=s[6]=e._width*-e.anchor.x,s[1]=s[3]=e._height*-e.anchor.y,s[2]=s[4]=e._width*(1-e.anchor.x),s[5]=s[7]=e._height*(1-e.anchor.y);const r=e.uvRespectAnchor?e.anchor.x:0,o=e.uvRespectAnchor?e.anchor.y:0;s=i.uvs,s[0]=s[6]=-r,s[1]=s[3]=-o,s[2]=s[4]=1-r,s[5]=s[7]=1-o,i.invalidate();const a=e._texture,c=a.baseTexture,l=c.alphaMode>0,d=e.tileTransform.localTransform,u=e.uvMatrix;let h=c.isPowerOfTwo&&a.frame.width===c.width&&a.frame.height===c.height;h&&(c._glTextures[t.CONTEXT_UID]?h=c.wrapMode!==Jn.CLAMP:c.wrapMode===Jn.CLAMP&&(c.wrapMode=Jn.REPEAT));const f=h?this.simpleShader:this.shader,p=a.width,m=a.height,g=e._width,v=e._height;Jc.set(d.a*p/g,d.b*p/v,d.c*m/g,d.d*m/v,d.tx/g,d.ty/v),Jc.invert(),h?Jc.prepend(u.mapCoord):(f.uniforms.uMapCoord=u.mapCoord.toArray(!0),f.uniforms.uClampFrame=u.uClampFrame,f.uniforms.uClampOffset=u.uClampOffset),f.uniforms.uTransform=Jc.toArray(!0),f.uniforms.uColor=Rt.shared.setValue(e.tint).premultiply(e.worldAlpha,l).toArray(f.uniforms.uColor),f.uniforms.translationMatrix=e.transform.worldTransform.toArray(!0),f.uniforms.uSampler=a,t.shader.bind(f),t.geometry.bind(i),this.state.blendMode=dw(e.blendMode,l),t.state.set(this.state),t.geometry.draw(this.renderer.gl.TRIANGLES,6,0)}}yS.extension={name:"tilingSprite",type:Oe.RendererPlugin};He.add(yS);const xS=class El{constructor(e,t,i){this.linkedSheets=[],(e instanceof rt||e instanceof it)&&(e={texture:e,data:t,resolutionFilename:i});const{texture:s,data:r,resolutionFilename:o=null,cachePrefix:a=""}=e;this.cachePrefix=a,this._texture=s instanceof it?s:null,this.baseTexture=s instanceof rt?s:this._texture.baseTexture,this.textures={},this.animations={},this.data=r;const c=this.baseTexture.resource;this.resolution=this._updateResolution(o||(c?c.url:null)),this._frames=this.data.frames,this._frameKeys=Object.keys(this._frames),this._batchIndex=0,this._callback=null}_updateResolution(e=null){const{scale:t}=this.data.meta;let i=fr(e,null);return i===null&&(i=typeof t=="number"?t:parseFloat(t??"1")),i!==1&&this.baseTexture.setResolution(i),i}parse(){return new Promise(e=>{this._callback=e,this._batchIndex=0,this._frameKeys.length<=El.BATCH_SIZE?(this._processFrames(0),this._processAnimations(),this._parseComplete()):this._nextBatch()})}_processFrames(e){let t=e;const i=El.BATCH_SIZE;for(;t-e<i&&t<this._frameKeys.length;){const s=this._frameKeys[t],r=this._frames[s],o=r.frame;if(o){let a=null,c=null;const l=r.trimmed!==!1&&r.sourceSize?r.sourceSize:r.frame,d=new ht(0,0,Math.floor(l.w)/this.resolution,Math.floor(l.h)/this.resolution);r.rotated?a=new ht(Math.floor(o.x)/this.resolution,Math.floor(o.y)/this.resolution,Math.floor(o.h)/this.resolution,Math.floor(o.w)/this.resolution):a=new ht(Math.floor(o.x)/this.resolution,Math.floor(o.y)/this.resolution,Math.floor(o.w)/this.resolution,Math.floor(o.h)/this.resolution),r.trimmed!==!1&&r.spriteSourceSize&&(c=new ht(Math.floor(r.spriteSourceSize.x)/this.resolution,Math.floor(r.spriteSourceSize.y)/this.resolution,Math.floor(o.w)/this.resolution,Math.floor(o.h)/this.resolution)),this.textures[s]=new it(this.baseTexture,a,d,c,r.rotated?2:0,r.anchor,r.borders),it.addToCache(this.textures[s],this.cachePrefix+s.toString())}t++}}_processAnimations(){const e=this.data.animations||{};for(const t in e){this.animations[t]=[];for(let i=0;i<e[t].length;i++){const s=e[t][i];this.animations[t].push(this.textures[s])}}}_parseComplete(){const e=this._callback;this._callback=null,this._batchIndex=0,e.call(this,this.textures)}_nextBatch(){this._processFrames(this._batchIndex*El.BATCH_SIZE),this._batchIndex++,setTimeout(()=>{this._batchIndex*El.BATCH_SIZE<this._frameKeys.length?this._nextBatch():(this._processAnimations(),this._parseComplete())},0)}destroy(e=!1){var t;for(const i in this.textures)this.textures[i].destroy();this._frames=null,this._frameKeys=null,this.data=null,this.textures=null,e&&((t=this._texture)==null||t.destroy(),this.baseTexture.destroy()),this._texture=null,this.baseTexture=null,this.linkedSheets=[]}};xS.BATCH_SIZE=1e3;let q0=xS;const D2=["jpg","png","jpeg","avif","webp","s3tc","s3tc_sRGB","etc","etc1","pvrtc","atc","astc","bptc"];function wS(n,e,t){const i={};if(n.forEach(s=>{i[s]=e}),Object.keys(e.textures).forEach(s=>{i[ ` $ { e . cachePrefix } $ { s } ` ]=e.textures[s]}),!t){const s=hi.dirname(n[0]);e.linkedSheets.forEach((r,o)=>{Object.assign(i,wS([ ` $ { s } / $ { e . data . meta . related _multi _packs [ o ] } ` ],r,!0))})}return i}const O2={extension:Oe.Asset,cache:{test:n=>n instanceof q0,getCacheableAssets:(n,e)=>wS(n,e,!1)},resolver:{test:n=>{const e=n.split("?")[0].split("."),t=e.pop(),i=e.pop();return t==="json"&&D2.includes(i)},parse:n=>{var t;const
Line truncated
` ;const Jc=new Bt;class yS extends rh{constructor(e){super(e),e.runners.contextChange.add(this),this.quad=new Aw,this.state=ks.for2d()}contextChange(){const e=this.renderer,t={globals:e.globalUniforms};this.simpleShader=es.from(W0,L2,t),this.shader=e.context.webGLVersion>1?es.from(R2,k2,t):es.from(W0,F2,t)}render(e){const t=this.renderer,i=this.quad;let s=i.vertices;s[0]=s[6]=e._width*-e.anchor.x,s[1]=s[3]=e._height*-e.anchor.y,s[2]=s[4]=e._width*(1-e.anchor.x),s[5]=s[7]=e._height*(1-e.anchor.y);const r=e.uvRespectAnchor?e.anchor.x:0,o=e.uvRespectAnchor?e.anchor.y:0;s=i.uvs,s[0]=s[6]=-r,s[1]=s[3]=-o,s[2]=s[4]=1-r,s[5]=s[7]=1-o,i.invalidate();const a=e._texture,c=a.baseTexture,l=c.alphaMode>0,d=e.tileTransform.localTransform,u=e.uvMatrix;let h=c.isPowerOfTwo&&a.frame.width===c.width&&a.frame.height===c.height;h&&(c._glTextures[t.CONTEXT_UID]?h=c.wrapMode!==Jn.CLAMP:c.wrapMode===Jn.CLAMP&&(c.wrapMode=Jn.REPEAT));const f=h?this.simpleShader:this.shader,p=a.width,m=a.height,g=e._width,v=e._height;Jc.set(d.a*p/g,d.b*p/v,d.c*m/g,d.d*m/v,d.tx/g,d.ty/v),Jc.invert(),h?Jc.prepend(u.mapCoord):(f.uniforms.uMapCoord=u.mapCoord.toArray(!0),f.uniforms.uClampFrame=u.uClampFrame,f.uniforms.uClampOffset=u.uClampOffset),f.uniforms.uTransform=Jc.toArray(!0),f.uniforms.uColor=Rt.shared.setValue(e.tint).premultiply(e.worldAlpha,l).toArray(f.uniforms.uColor),f.uniforms.translationMatrix=e.transform.worldTransform.toArray(!0),f.uniforms.uSampler=a,t.shader.bind(f),t.geometry.bind(i),this.state.blendMode=dw(e.blendMode,l),t.state.set(this.state),t.geometry.draw(this.renderer.gl.TRIANGLES,6,0)}}yS.extension={name:"tilingSprite",type:Oe.RendererPlugin};He.add(yS);const xS=class El{constructor(e,t,i){this.linkedSheets=[],(e instanceof rt||e instanceof it)&&(e={texture:e,data:t,resolutionFilename:i});const{texture:s,data:r,resolutionFilename:o=null,cachePrefix:a=""}=e;this.cachePrefix=a,this._texture=s instanceof it?s:null,this.baseTexture=s instanceof rt?s:this._texture.baseTexture,this.textures={},this.animations={},this.data=r;const c=this.baseTexture.resource;this.resolution=this._updateResolution(o||(c?c.url:null)),this._frames=this.data.frames,this._frameKeys=Object.keys(this._frames),this._batchIndex=0,this._callback=null}_updateResolution(e=null){const{scale:t}=this.data.meta;let i=fr(e,null);return i===null&&(i=typeof t=="number"?t:parseFloat(t??"1")),i!==1&&this.baseTexture.setResolution(i),i}parse(){return new Promise(e=>{this._callback=e,this._batchIndex=0,this._frameKeys.length<=El.BATCH_SIZE?(this._processFrames(0),this._processAnimations(),this._parseComplete()):this._nextBatch()})}_processFrames(e){let t=e;const i=El.BATCH_SIZE;for(;t-e<i&&t<this._frameKeys.length;){const s=this._frameKeys[t],r=this._frames[s],o=r.frame;if(o){let a=null,c=null;const l=r.trimmed!==!1&&r.sourceSize?r.sourceSize:r.frame,d=new ht(0,0,Math.floor(l.w)/this.resolution,Math.floor(l.h)/this.resolution);r.rotated?a=new ht(Math.floor(o.x)/this.resolution,Math.floor(o.y)/this.resolution,Math.floor(o.h)/this.resolution,Math.floor(o.w)/this.resolution):a=new ht(Math.floor(o.x)/this.resolution,Math.floor(o.y)/this.resolution,Math.floor(o.w)/this.resolution,Math.floor(o.h)/this.resolution),r.trimmed!==!1&&r.spriteSourceSize&&(c=new ht(Math.floor(r.spriteSourceSize.x)/this.resolution,Math.floor(r.spriteSourceSize.y)/this.resolution,Math.floor(o.w)/this.resolution,Math.floor(o.h)/this.resolution)),this.textures[s]=new it(this.baseTexture,a,d,c,r.rotated?2:0,r.anchor,r.borders),it.addToCache(this.textures[s],this.cachePrefix+s.toString())}t++}}_processAnimations(){const e=this.data.animations||{};for(const t in e){this.animations[t]=[];for(let i=0;i<e[t].length;i++){const s=e[t][i];this.animations[t].push(this.textures[s])}}}_parseComplete(){const e=this._callback;this._callback=null,this._batchIndex=0,e.call(this,this.textures)}_nextBatch(){this._processFrames(this._batchIndex*El.BATCH_SIZE),this._batchIndex++,setTimeout(()=>{this._batchIndex*El.BATCH_SIZE<this._frameKeys.length?this._nextBatch():(this._processAnimations(),this._parseComplete())},0)}destroy(e=!1){var t;for(const i in this.textures)this.textures[i].destroy();this._frames=null,this._frameKeys=null,this.data=null,this.textures=null,e&&((t=this._texture)==null||t.destroy(),this.baseTexture.destroy()),this._texture=null,this.baseTexture=null,this.linkedSheets=[]}};xS.BATCH_SIZE=1e3;let q0=xS;const D2=["jpg","png","jpeg","avif","webp","s3tc","s3tc_sRGB","etc","etc1","pvrtc","atc","astc","bptc"];function wS(n,e,t){const i={};if(n.forEach(s=>{i[s]=e}),Object.keys(e.textures).forEach(s=>{i[ ` $ { e . cachePrefix } $ { s } ` ]=e.textures[s]}),!t){const s=hi.dirname(n[0]);e.linkedSheets.forEach((r,o)=>{Object.assign(i,wS([ ` $ { s } / $ { e . data . meta . related _multi _packs [ o ] } ` ],r,!0))})}return i}const O2={extension:Oe.Asset,cache:{test:n=>n instanceof q0,getCacheableAssets:(n,e)=>wS(n,e,!1)},resolver:{test:n=>{const e=n.split("?")[0].split("."),t=e.pop(),i=e.pop();return t==="json"&&D2.includes(i)},parse:n=>{var t;const
Line truncated
varying vec2 vTextureCoord ; \ r
uniform sampler2D uSampler ; \ r
\ r
@@ -1157,8 +1157,8 @@ void main(void)\r
vTextureCoord = ( uTextureMatrix * vec3 ( aTextureCoord , 1.0 ) ) . xy ; \ r
} \ r
` ;const K0=[],J0=[],Z0=[],Y2=class CS extends _i{constructor(e,t={}){super();const{align:i,tint:s,maxWidth:r,letterSpacing:o,fontName:a,fontSize:c}=Object.assign({},CS.styleDefaults,t);if(!Mr.available[a])throw new Error( ` Missing BitmapFont "${a}" ` );this._activePagesMeshData=[],this._textWidth=0,this._textHeight=0,this._align=i,this._tintColor=new Rt(s),this._font=void 0,this._fontName=a,this._fontSize=c,this.text=e,this._maxWidth=r,this._maxLineHeight=0,this._letterSpacing=o,this._anchor=new Js(()=>{this.dirty=!0},this,0,0),this._roundPixels=Ve.ROUND_PIXELS,this.dirty=!0,this._resolution=Ve.RESOLUTION,this._autoResolution=!0,this._textureCache={}}updateText(){var M;const e=Mr.available[this._fontName],t=this.fontSize,i=t/e.size,s=new At,r=[],o=[],a=[],c=this._text.replace(/(?: \r \n | \r )/g, `
` )||" ",l=SS(c),d=this._maxWidth*e.size/t,u=e.distanceFieldType==="none"?K0:J0;let h=null,f=0,p=0,m=0,g=-1,v=0,y=0,b=0,x =0;for(let k=0;k<l.length;k++){const B=l[k],D=Ed(B);if(/(?: \s )/.test(B)&&(g=k,v=f,x ++),B===" \r "||B=== `
` ){o.push(f),a.push(-1),p=Math.max(p,f),++m,++y,s.x=0,s.y+=e.lineHeight,h=null,x =0;continue}const G=e.chars[D];if(!G)continue;h&&G.kerning[h]&&(s.x+=G.kerning[h]);const V=Z0.pop()||{texture:it.EMPTY,line:0,charCode:0,prevSpaces:0,position:new At};V.texture=G.texture,V.line=m,V.charCode=D,V.position.x=Math.round(s.x+G.xOffset+this._letterSpacing/2),V.position.y=Math.round(s.y+G.yOffset),V.prevSpaces=x ,r.push(V),f=V.position.x+Math.max(G.xAdvance-G.xOffset,G.texture.orig.width),s.x+=G.xAdvance+this._letterSpacing,b=Math.max(b,G.yOffset+G.texture.height),h=D,g!==-1&&d>0&&s.x>d&&(++y,Ia(r,1+g-y,1+k-g),k=g,g=-1,o.push(v),a.push(r.length>0?r[r.length-1].prevSpaces:0),p=Math.max(p,v),m++,s.x=0,s.y+=e.lineHeight,h=null,x =0)}const C=l[l.length-1];C!==" \r "&&C!== `
` )||" ",l=SS(c),d=this._maxWidth*e.size/t,u=e.distanceFieldType==="none"?K0:J0;let h=null,f=0,p=0,m=0,g=-1,v=0,y=0,b=0,w =0;for(let k=0;k<l.length;k++){const B=l[k],D=Ed(B);if(/(?: \s )/.test(B)&&(g=k,v=f,w ++),B===" \r "||B=== `
` ){o.push(f),a.push(-1),p=Math.max(p,f),++m,++y,s.x=0,s.y+=e.lineHeight,h=null,w =0;continue}const G=e.chars[D];if(!G)continue;h&&G.kerning[h]&&(s.x+=G.kerning[h]);const V=Z0.pop()||{texture:it.EMPTY,line:0,charCode:0,prevSpaces:0,position:new At};V.texture=G.texture,V.line=m,V.charCode=D,V.position.x=Math.round(s.x+G.xOffset+this._letterSpacing/2),V.position.y=Math.round(s.y+G.yOffset),V.prevSpaces=w ,r.push(V),f=V.position.x+Math.max(G.xAdvance-G.xOffset,G.texture.orig.width),s.x+=G.xAdvance+this._letterSpacing,b=Math.max(b,G.yOffset+G.texture.height),h=D,g!==-1&&d>0&&s.x>d&&(++y,Ia(r,1+g-y,1+k-g),k=g,g=-1,o.push(v),a.push(r.length>0?r[r.length-1].prevSpaces:0),p=Math.max(p,v),m++,s.x=0,s.y+=e.lineHeight,h=null,w =0)}const C=l[l.length-1];C!==" \r "&&C!== `
` &&(/(?: \s )/.test(C)&&(f=v),o.push(f),p=Math.max(p,f),a.push(-1));const T=[];for(let k=0;k<=m;k++){let B=0;this._align==="right"?B=p-o[k]:this._align==="center"?B=(p-o[k])/2:this._align==="justify"&&(B=a[k]<0?0:(p-o[k])/a[k]),T.push(B)}const S=r.length,E={},_=[],I=this._activePagesMeshData;u.push(...I);for(let k=0;k<S;k++){const B=r[k].texture,D=B.baseTexture.uid;if(!E[D]){let G=u.pop();if(!G){const Y=new Fg;let L,N;e.distanceFieldType==="none"?(L=new ru(it.EMPTY),N=Qe.NORMAL):(L=new ru(it.EMPTY,{program:As.from(X2,V2),uniforms:{uFWidth:0}}),N=Qe.NORMAL_NPM);const F=new ec(Y,L);F.blendMode=N,G={index:0,indexCount:0,vertexCount:0,uvsCount:0,total:0,mesh:F,vertices:null,uvs:null,indices:null}}G.index=0,G.indexCount=0,G.vertexCount=0,G.uvsCount=0,G.total=0;const{_textureCache:V}=this;V[D]=V[D]||new it(B.baseTexture),G.mesh.texture=V[D],G.mesh.tint=this._tintColor.value,_.push(G),E[D]=G}E[D].total++}for(let k=0;k<I.length;k++)_.includes(I[k])||this.removeChild(I[k].mesh);for(let k=0;k<_.length;k++)_[k].mesh.parent!==this&&this.addChild(_[k].mesh);this._activePagesMeshData=_;for(const k in E){const B=E[k],D=B.total;if(!(((M=B.indices)==null?void 0:M.length)>6*D)||B.vertices.length<ec.BATCHABLE_SIZE*2)B.vertices=new Float32Array(8*D),B.uvs=new Float32Array(8*D),B.indices=new Uint16Array(6*D);else{const G=B.total,V=B.vertices;for(let Y=G*4*2;Y<V.length;Y++)V[Y]=0}B.mesh.size=6*D}for(let k=0;k<S;k++){const B=r[k];let D=B.position.x+T[B.line]*(this._align==="justify"?B.prevSpaces:1);this._roundPixels&&(D=Math.round(D));const G=D*i,V=B.position.y*i,Y=B.texture,L=E[Y.baseTexture.uid],N=Y.frame,F=Y._uvs, $ =L.index++;L.indices[ $ *6+0]=0+ $ *4,L.indices[ $ *6+1]=1+ $ *4,L.indices[ $ *6+2]=2+ $ *4,L.indices[ $ *6+3]=0+ $ *4,L.indices[ $ *6+4]=2+ $ *4,L.indices[ $ *6+5]=3+ $ *4,L.vertices[ $ *8+0]=G,L.vertices[ $ *8+1]=V,L.vertices[ $ *8+2]=G+N.width*i,L.vertices[ $ *8+3]=V,L.vertices[ $ *8+4]=G+N.width*i,L.vertices[ $ *8+5]=V+N.height*i,L.vertices[ $ *8+6]=G,L.vertices[ $ *8+7]=V+N.height*i,L.uvs[ $ *8+0]=F.x0,L.uvs[ $ *8+1]=F.y0,L.uvs[ $ *8+2]=F.x1,L.uvs[ $ *8+3]=F.y1,L.uvs[ $ *8+4]=F.x2,L.uvs[ $ *8+5]=F.y2,L.uvs[ $ *8+6]=F.x3,L.uvs[ $ *8+7]=F.y3}this._textWidth=p*i,this._textHeight=(s.y+e.lineHeight)*i;for(const k in E){const B=E[k];if(this.anchor.x!==0||this.anchor.y!==0){let Y=0;const L=this._textWidth*this.anchor.x,N=this._textHeight*this.anchor.y;for(let F=0;F<B.total;F++)B.vertices[Y++]-=L,B.vertices[Y++]-=N,B.vertices[Y++]-=L,B.vertices[Y++]-=N,B.vertices[Y++]-=L,B.vertices[Y++]-=N,B.vertices[Y++]-=L,B.vertices[Y++]-=N}this._maxLineHeight=b*i;const D=B.mesh.geometry.getBuffer("aVertexPosition"),G=B.mesh.geometry.getBuffer("aTextureCoord"),V=B.mesh.geometry.getIndex();D.data=B.vertices,G.data=B.uvs,V.data=B.indices,D.update(),G.update(),V.update()}for(let k=0;k<r.length;k++)Z0.push(r[k]);this._font=e,this.dirty=!1}updateTransform(){this.validate(),this.containerUpdateTransform()}_render(e){this._autoResolution&&this._resolution!==e.resolution&&(this._resolution=e.resolution,this.dirty=!0);const{distanceFieldRange:t,distanceFieldType:i,size:s}=Mr.available[this._fontName];if(i!=="none"){const{a:r,b:o,c:a,d:c}=this.worldTransform,l=Math.sqrt(r*r+o*o),d=Math.sqrt(a*a+c*c),u=(Math.abs(l)+Math.abs(d))/2,h=this.fontSize/s,f=e._view.resolution;for(const p of this._activePagesMeshData)p.mesh.shader.uniforms.uFWidth=u*t*h*f}super._render(e)}getLocalBounds(){return this.validate(),super.getLocalBounds()}validate(){const e=Mr.available[this._fontName];if(!e)throw new Error( ` Missing BitmapFont "${this._fontName}" ` );this._font!==e&&(this.dirty=!0),this.dirty&&this.updateText()}get tint(){return this._tintColor.value}set tint(e){if(this.tint!==e){this._tintColor.setValue(e);for(let t=0;t<this._activePagesMeshData.length;t++)this._activePagesMeshData[t].mesh.tint=e}}get align(){return this._align}set align(e){this._align!==e&&(this._align=e,this.dirty=!0)}get fontName(){return this._fontName}set fontName(e){if(!Mr.available[e])throw new Error( ` Missing BitmapFont "${e}" ` );this._fontName!==e&&(this._fontName=e,this.dirty=!0)}get fontSize(){return this._fontSize??Mr.available[this._fontName].size}set fontSize(e){this._fontSize!==e&&(this._fontSize=e,this.dirty=!0)}get anchor(){return this._anchor}set anchor(e){typeof e=="number"?this._anchor.set(e):this._anchor.copyFrom(e)}get text(){return this._text}set text(e){e=String(e??""),this._text!==e&&(this._text=e,this.dirty=!0)}get maxWidth(){return this._maxWidth}set maxWidth(e){this._maxWidth!==e&&(this._maxWidth=e,this.dirty=!0)}get maxLineHeight(){return this.validate(),this._maxLineHeight}get textWidth(){return this.validate(),this._textWidth}get letterSpacing(){return this._letterSpacing}set letterSpacing(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.dirty=!0)}get roundPixels(){return this._roundPixels}set roundPixels(e){e!==this._roundPixels&&(this._roundPixels=e,this.dirty=!0)}get textHeight(){return this.validate(),this._textHeight}get resolution(){return this._resolution}set resolution(e){this._autoResolution=!1,this._res
Line truncated
@ font - face {
font - family : "${t.family}" ;
@@ -1166,7 +1166,7 @@ void main(void)\r
font - weight : $ { t . weight } ;
font - style : $ { t . style } ;
font - display : $ { t . display } ;
} ` ,this._stylesheet)}get stylesheet(){return this._stylesheet}set stylesheet(e){this._stylesheet!==e&&(this._stylesheet=e,this.styleID++)}normalizeColor(e){return Array.isArray(e)&&(e=DP(e)),typeof e=="number"?LP(e):e}dropShadowToCSS(){let e=this.normalizeColor(this.dropShadowColor);const t=this.dropShadowAlpha,i=Math.round(Math.cos(this.dropShadowAngle)*this.dropShadowDistance),s=Math.round(Math.sin(this.dropShadowAngle)*this.dropShadowDistance);e.startsWith("#")&&t<1&&(e+=(t*255|0).toString(16).padStart(2,"0"));const r= ` $ { i } px $ { s } px ` ;return this.dropShadowBlur>0? ` text - shadow : $ { r } $ { this . dropShadowBlur } px $ { e } ` : ` text - shadow : $ { r } $ { e } ` }reset(){Object.assign(this,va.defaultOptions)}onBeforeDraw(){const{fontsDirty:e}=this;return this.fontsDirty=!1,this.isSafari&&this._fonts.length>0&&e?new Promise(t=>setTimeout(t,100)):Promise.resolve()}get isSafari(){const{userAgent:e}=Ve.ADAPTER.getNavigator();return/^((?!chrome|android).)*safari/i.test(e)}set fillGradientStops(e){console.warn("[HTMLTextStyle] fillGradientStops is not supported by HTMLText")}get fillGradientStops(){return super.fillGradientStops}set fillGradientType(e){console.warn("[HTMLTextStyle] fillGradientType is not supported by HTMLText")}get fillGradientType(){return super.fillGradientType}set miterLimit(e){console.warn("[HTMLTextStyle] miterLimit is not supported by HTMLText")}get miterLimit(){return super.miterLimit}set trim(e){console.warn("[HTMLTextStyle] trim is not supported by HTMLText")}get trim(){return super.trim}set textBaseline(e){console.warn("[HTMLTextStyle] textBaseline is not supported by HTMLText")}get textBaseline(){return super.textBaseline}set leading(e){console.warn("[HTMLTextStyle] leading is not supported by HTMLText")}get leading(){return super.leading}set lineJoin(e){console.warn("[HTMLTextStyle] lineJoin is not supported by HTMLText")}get lineJoin(){return super.lineJoin}};vm.availableFonts={},vm.defaultOptions={align:"left",breakWords:!1,dropShadow:!1,dropShadowAlpha:1,dropShadowAngle:Math.PI/6,dropShadowBlur:0,dropShadowColor:"black",dropShadowDistance:5,fill:"black",fontFamily:"Arial",fontSize:26,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",letterSpacing:0,lineHeight:0,padding:0,stroke:"black",strokeThickness:0,whiteSpace:"normal",wordWrap:!1,wordWrapWidth:100};let tp=vm;const Zc=class ba extends to{constructor(e="",t={}){super(it.EMPTY),this._text=null,this._style=null,this._autoResolution=!0,this.localStyleID=-1,this.dirty=!1,this._updateID=0,this.ownsStyle=!1;const i=new Image,s=it.from(i,{scaleMode:Ve.SCALE_MODE,resourceOptions:{autoLoad:!1}});s.orig=new ht,s.trim=new ht,this.texture=s;const r="http://www.w3.org/2000/svg",o="http://www.w3.org/1999/xhtml",a=document.createElementNS(r,"svg"),c=document.createElementNS(r,"foreignObject"),l=document.createElementNS(o,"div"),d=document.createElementNS(o,"style");c.setAttribute("width","10000"),c.setAttribute("height","10000"),c.style.overflow="hidden",a.appendChild(c),this.maxWidth=ba.defaultMaxWidth,this.maxHeight=ba.defaultMaxHeight,this._domElement=l,this._styleElement=d,this._svgRoot=a,this._foreignObject=c,this._foreignObject.appendChild(d),this._foreignObject.appendChild(l),this._image=i,this._loadImage=new Image,this._autoResolution=ba.defaultAutoResolution,this._resolution=ba.defaultResolution??Ve.RESOLUTION,this.text=e,this.style=t}measureText(e){var d,u;const{text:t,style:i,resolution:s}=Object.assign({text:this._text,style:this._style,resolution:this._resolution},e);Object.assign(this._domElement,{innerHTML:t,style:i.toCSS(s)}),this._styleElement.textContent=i.toGlobalCSS(),document.body.appendChild(this._svgRoot);const r=this._domElement.getBoundingClientRect();this._svgRoot.remove();const{width:o,height:a}=r;(o>this.maxWidth||a>this.maxHeight)&&console.warn("[HTMLText] Large expanse of text, increase HTMLText.maxWidth or HTMLText.maxHeight property.");const c=Math.min(this.maxWidth,Math.ceil(o)),l=Math.min(this.maxHeight,Math.ceil(a));return this._svgRoot.setAttribute("width",c.toString()),this._svgRoot.setAttribute("height",l.toString()),t!==this._text&&(this._domElement.innerHTML=this._text),i!==this._style&&(Object.assign(this._domElement,{style:(d=this._style)==null?void 0:d.toCSS(s)}),this._styleElement.textContent=(u=this._style)==null?void 0:u.toGlobalCSS()),{width:c+i.padding*2,height:l+i.padding*2}}async updateText(e=!0){const{style:t,_image:i,_loadImage:s}=this;if(this.localStyleID!==t.styleID&&(this.dirty=!0,this.localStyleID=t.styleID),!this.dirty&&e)return;const{width:r,height:o}=this.measureText();i.width=s.width=Math.ceil(Math.max(1,r)),i.height=s.height=Math.ceil(Math.max(1,o)),this._updateID++;const a=this._updateID;await new Promise(c=>{s.onload=async()=>{if(a<this._updateID){c();return}await t.onBeforeDraw(),i.src=s.src,s.onload=null,s.src="",this.updateTexture(),c()};const l=new XMLSerializer().serializeToString(this._svgRoot);s.src= ` data : image / svg + xml ; charset = utf8 , $ { encodeURIComponent ( l ) } ` })}get source(){ret
Line truncated
} ` ,this._stylesheet)}get stylesheet(){return this._stylesheet}set stylesheet(e){this._stylesheet!==e&&(this._stylesheet=e,this.styleID++)}normalizeColor(e){return Array.isArray(e)&&(e=DP(e)),typeof e=="number"?LP(e):e}dropShadowToCSS(){let e=this.normalizeColor(this.dropShadowColor);const t=this.dropShadowAlpha,i=Math.round(Math.cos(this.dropShadowAngle)*this.dropShadowDistance),s=Math.round(Math.sin(this.dropShadowAngle)*this.dropShadowDistance);e.startsWith("#")&&t<1&&(e+=(t*255|0).toString(16).padStart(2,"0"));const r= ` $ { i } px $ { s } px ` ;return this.dropShadowBlur>0? ` text - shadow : $ { r } $ { this . dropShadowBlur } px $ { e } ` : ` text - shadow : $ { r } $ { e } ` }reset(){Object.assign(this,va.defaultOptions)}onBeforeDraw(){const{fontsDirty:e}=this;return this.fontsDirty=!1,this.isSafari&&this._fonts.length>0&&e?new Promise(t=>setTimeout(t,100)):Promise.resolve()}get isSafari(){const{userAgent:e}=Ve.ADAPTER.getNavigator();return/^((?!chrome|android).)*safari/i.test(e)}set fillGradientStops(e){console.warn("[HTMLTextStyle] fillGradientStops is not supported by HTMLText")}get fillGradientStops(){return super.fillGradientStops}set fillGradientType(e){console.warn("[HTMLTextStyle] fillGradientType is not supported by HTMLText")}get fillGradientType(){return super.fillGradientType}set miterLimit(e){console.warn("[HTMLTextStyle] miterLimit is not supported by HTMLText")}get miterLimit(){return super.miterLimit}set trim(e){console.warn("[HTMLTextStyle] trim is not supported by HTMLText")}get trim(){return super.trim}set textBaseline(e){console.warn("[HTMLTextStyle] textBaseline is not supported by HTMLText")}get textBaseline(){return super.textBaseline}set leading(e){console.warn("[HTMLTextStyle] leading is not supported by HTMLText")}get leading(){return super.leading}set lineJoin(e){console.warn("[HTMLTextStyle] lineJoin is not supported by HTMLText")}get lineJoin(){return super.lineJoin}};vm.availableFonts={},vm.defaultOptions={align:"left",breakWords:!1,dropShadow:!1,dropShadowAlpha:1,dropShadowAngle:Math.PI/6,dropShadowBlur:0,dropShadowColor:"black",dropShadowDistance:5,fill:"black",fontFamily:"Arial",fontSize:26,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",letterSpacing:0,lineHeight:0,padding:0,stroke:"black",strokeThickness:0,whiteSpace:"normal",wordWrap:!1,wordWrapWidth:100};let tp=vm;const Zc=class ba extends to{constructor(e="",t={}){super(it.EMPTY),this._text=null,this._style=null,this._autoResolution=!0,this.localStyleID=-1,this.dirty=!1,this._updateID=0,this.ownsStyle=!1;const i=new Image,s=it.from(i,{scaleMode:Ve.SCALE_MODE,resourceOptions:{autoLoad:!1}});s.orig=new ht,s.trim=new ht,this.texture=s;const r="http://www.w3.org/2000/svg",o="http://www.w3.org/1999/xhtml",a=document.createElementNS(r,"svg"),c=document.createElementNS(r,"foreignObject"),l=document.createElementNS(o,"div"),d=document.createElementNS(o,"style");c.setAttribute("width","10000"),c.setAttribute("height","10000"),c.style.overflow="hidden",a.appendChild(c),this.maxWidth=ba.defaultMaxWidth,this.maxHeight=ba.defaultMaxHeight,this._domElement=l,this._styleElement=d,this._svgRoot=a,this._foreignObject=c,this._foreignObject.appendChild(d),this._foreignObject.appendChild(l),this._image=i,this._loadImage=new Image,this._autoResolution=ba.defaultAutoResolution,this._resolution=ba.defaultResolution??Ve.RESOLUTION,this.text=e,this.style=t}measureText(e){var d,u;const{text:t,style:i,resolution:s}=Object.assign({text:this._text,style:this._style,resolution:this._resolution},e);Object.assign(this._domElement,{innerHTML:t,style:i.toCSS(s)}),this._styleElement.textContent=i.toGlobalCSS(),document.body.appendChild(this._svgRoot);const r=this._domElement.getBoundingClientRect();this._svgRoot.remove();const{width:o,height:a}=r;(o>this.maxWidth||a>this.maxHeight)&&console.warn("[HTMLText] Large expanse of text, increase HTMLText.maxWidth or HTMLText.maxHeight property.");const c=Math.min(this.maxWidth,Math.ceil(o)),l=Math.min(this.maxHeight,Math.ceil(a));return this._svgRoot.setAttribute("width",c.toString()),this._svgRoot.setAttribute("height",l.toString()),t!==this._text&&(this._domElement.innerHTML=this._text),i!==this._style&&(Object.assign(this._domElement,{style:(d=this._style)==null?void 0:d.toCSS(s)}),this._styleElement.textContent=(u=this._style)==null?void 0:u.toGlobalCSS()),{width:c+i.padding*2,height:l+i.padding*2}}async updateText(e=!0){const{style:t,_image:i,_loadImage:s}=this;if(this.localStyleID!==t.styleID&&(this.dirty=!0,this.localStyleID=t.styleID),!this.dirty&&e)return;const{width:r,height:o}=this.measureText();i.width=s.width=Math.ceil(Math.max(1,r)),i.height=s.height=Math.ceil(Math.max(1,o)),this._updateID++;const a=this._updateID;await new Promise(c=>{s.onload=async()=>{if(a<this._updateID){c();return}await t.onBeforeDraw(),i.src=s.src,s.onload=null,s.src="",this.updateTexture(),c()};const l=new XMLSerializer().serializeToString(this._svgRoot);s.src= ` data : image / svg + xml ; charset = utf8 , $ { encodeURIComponent ( l ) } ` })}get source(){ret
Line truncated
* shared v11 . 4.16
* ( c ) 2026 kazuya kawaguchi
* Released under the MIT License .
@@ -1175,16 +1175,16 @@ void main(void)\r
* ( c ) 2026 kazuya kawaguchi
* Released under the MIT License .
* / f u n c t i o n N F ( n , e , t ) { r e t u r n { l i n e : n , c o l u m n : e , o f f s e t : t } } f u n c t i o n w m ( n , e , t ) { r e t u r n { s t a r t : n , e n d : e } } c o n s t L t = { E X P E C T E D _ T O K E N : 1 , I N V A L I D _ T O K E N _ I N _ P L A C E H O L D E R : 2 , U N T E R M I N A T E D _ S I N G L E _ Q U O T E _ I N _ P L A C E H O L D E R : 3 , U N K N O W N _ E S C A P E _ S E Q U E N C E : 4 , I N V A L I D _ U N I C O D E _ E S C A P E _ S E Q U E N C E : 5 , U N B A L A N C E D _ C L O S I N G _ B R A C E : 6 , U N T E R M I N A T E D _ C L O S I N G _ B R A C E : 7 , E M P T Y _ P L A C E H O L D E R : 8 , N O T _ A L L O W _ N E S T _ P L A C E H O L D E R : 9 , I N V A L I D _ L I N K E D _ F O R M A T : 1 0 , M U S T _ H A V E _ M E S S A G E S _ I N _ P L U R A L : 1 1 , U N E X P E C T E D _ E M P T Y _ L I N K E D _ M O D I F I E R : 1 2 , U N E X P E C T E D _ E M P T Y _ L I N K E D _ K E Y : 1 3 , U N E X P E C T E D _ L E X I C A L _ A N A L Y S I S : 1 4 } , $ F = 1 7 ; f u n c t i o n d h ( n , e , t = { } ) { c o n s t { d o m a i n : i , m e s s a g e s : s , a r g s : r } = t , o = n , a = n e w S y n t a x E r r o r ( S t r i n g ( o ) ) ; r e t u r n a . c o d e = n , e & & ( a . l o c a t i o n = e ) , a . d o m a i n = i , a } f u n c t i o n B F ( n ) { t h r o w n } c o n s t s s = " " , U F = " \ r " , U i = `
` ,VF=" \u 2028",XF=" \u 2029";function YF(n){const e=n;let t=0,i=1,s=1,r=0;const o=S=>e[S]===UF&&e[S+1]===Ui,a=S=>e[S]===Ui,c=S=>e[S]===XF,l=S=>e[S]===VF,d=S=>o(S)||a(S)||c(S)||l(S),u=()=>t,h=()=>i,f=()=>s,p=()=>r,m=S=>o(S)||c(S)||l(S)?Ui:e[S],g=()=>m(t),v=()=>m(t+r);function y(){return r=0,d(t)&&(i++,s=0),o(t)&&t++,t++,s++,e[t]}function b(){return o(t+r)&&r++,r++,e[t+r]}function x(){t=0,i=1,s=1,r=0}function C(S=0){r=S}function T(){const S=t+r;for(;S!==t;)y();r=0}return{index:u,line:h,column:f,peekOffset:p,charAt:m,currentChar:g,currentPeek:v,next:y,peek:b,reset:x,resetPeek:C,skipToPeek:T}}const Bs=void 0,zF=".",uy="'",jF="tokenizer";function HF(n,e={}){const t=e.location!==!1,i=YF(n),s=()=>i.index(),r=()=>NF(i.line(),i.column(),i.index()),o=r(),a=s(),c={currentType:13,offset:a,startLoc:o,endLoc:o,lastType:13,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},l=()=>c,{onError:d}=e;function u(U,W,ee,...ne){const ue=l();if(W.column+=ee,W.offset+=ee,d){const xe=t?wm(ue.startLoc,W):null,ye=dh(U,xe,{domain:jF,args:ne});d(ye)}}function h(U,W,ee){U.endLoc=r(),U.currentType=W;const ne={type:W};return t&&(ne.loc=wm(U.startLoc,U.endLoc)),ee!=null&&(ne.value=ee),ne}const f=U=>h(U,13);function p(U,W){return U.currentChar()===W?(U.next(),W):(u(Lt.EXPECTED_TOKEN,r(),0,W),"")}function m(U){let W="";for(;U.currentPeek()===ss||U.currentPeek()===Ui;)W+=U.currentPeek(),U.peek();return W}function g(U){const W=m(U);return U.skipToPeek(),W}function v(U){if(U===Bs)return!1;const W=U.charCodeAt(0);return W>=97&&W<=122||W>=65&&W<=90||W===95}function y(U){if(U===Bs)return!1;const W=U.charCodeAt(0);return W>=48&&W<=57}function b(U,W){const{currentType:ee}=W;if(ee!==2)return!1;m(U);const ne=v(U.currentPeek());return U.resetPeek(),ne}function x(U,W){const{currentType:ee}=W;if(ee!==2)return!1;m(U);const ne=U.currentPeek()==="-"?U.peek():U.currentPeek(),ue=y(ne);return U.resetPeek(),ue}function C(U,W){const{currentType:ee}=W;if(ee!==2)return!1;m(U);const ne=U.currentPeek()===uy;return U.resetPeek(),ne}function T(U,W){const{currentType:ee}=W;if(ee!==7)return!1;m(U);const ne=U.currentPeek()===".";return U.resetPeek(),ne}function S(U,W){const{currentType:ee}=W;if(ee!==8)return!1;m(U);const ne=v(U.currentPeek());return U.resetPeek(),ne}function E(U,W){const{currentType:ee}=W;if(!(ee===7||ee===11))return!1;m(U);const ne=U.currentPeek()===":";return U.resetPeek(),ne}function _(U,W){const{currentType:ee}=W;if(ee!==9)return!1;const ne=()=>{const xe=U.currentPeek();return xe==="{"?v(U.peek()):xe==="@"||xe==="|"||xe===":"||xe==="."||xe===ss||!xe?!1:xe===Ui?(U.peek(),ne()):M(U,!1)},ue=ne();return U.resetPeek(),ue}function I(U){m(U);const W=U.currentPeek()==="|";return U.resetPeek(),W}function M(U,W=!0){const ee=(ue=!1,xe="")=>{const ye=U.currentPeek();return ye==="{"||ye==="@"||!ye?ue:ye==="|"?!(xe===ss||xe===Ui):ye===ss?(U.peek(),ee(!0,ss)):ye===Ui?(U.peek(),ee(!0,Ui)):!0},ne=ee();return W&&U.resetPeek(),ne}function k(U,W){const ee=U.currentChar();return ee===Bs?Bs:W(ee)?(U.next(),ee):null}function B(U){const W=U.charCodeAt(0);return W>=97&&W<=122||W>=65&&W<=90||W>=48&&W<=57||W===95||W===36}function D(U){return k(U,B)}function G(U){const W=U.charCodeAt(0);return W>=97&&W<=122||W>=65&&W<=90||W>=48&&W<=57||W===95||W===36||W===45}function V(U){return k(U,G)}function Y(U){const W=U.charCodeAt(0);return W>=48&&W<=57}function L(U){return k(U,Y)}function N(U){const W=U.charCodeAt(0);return W>=48&&W<=57||W>=65&&W<=70||W>=97&&W<=102}function F(U){return k(U,N)}function $ (U){let W="",ee="";for(;W=L(U);)ee+=W;return ee}function X(U){let W="";for(;;){const ee=U.currentChar();if(ee===" \\ "){const ne=U.peek();ne==="{"||ne==="}"||ne==="@"||ne==="|"||ne===" \\ "?(W+=ee+ne,U.next(),U.next()):(U.resetPeek(),W+=ee,U.next())}else{if(ee==="{"||ee==="}"||ee==="@"||ee==="|"||!ee)break;if(ee===ss||ee===Ui)if(M(U))W+=ee,U.next();else{if(I(U))break;W+=ee,U.next()}else W+=ee,U.next()}}return W}function z(U){g(U);let W="",ee="";for(;W=V(U);)ee+=W;const ne=U.currentChar();if(ne&&ne!=="}"&&ne!==Bs&&ne!==ss&&ne!==Ui&&ne!==" "){const ue=fe(U);return u(Lt.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,ee+ue),ee+ue}return U.currentChar()===Bs&&u(Lt.UNTERMINATED_CLOSING_BRACE,r(),0),ee}function K(U){g(U);let W="";return U.currentChar()==="-"?(U.next(),W+= ` - $ { $ ( U ) } ` ):W+= $ (U),U.currentChar()===Bs&&u(Lt.UNTERMINATED_CLOSING_BRACE,r(),0),W}function J(U){return U!==uy&&U!==Ui}function oe(U){g(U),p(U,"'");let W="",ee="";for(;W=k(U,J);)W===" \\ "?ee+=le(U):ee+=W;const ne=U.currentChar();return ne===Ui||ne===Bs?(u(Lt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),ne===Ui&&(U.next(),p(U,"'")),ee):(p(U,"'"),ee)}function le(U){const W=U.currentChar();switch(W){case" \\ ":case"'":return U.next(), ` \ \ $ { W } ` ;case"u":return ve(U,W,4);case"U":return ve(U,W,6);default:return u(Lt.UNKNOWN_ESCAPE_SEQUENCE,r(),0,W),""}}function ve(U,W,ee){p(U,W);let ne="";for(let ue=0;ue<ee;ue++){const xe=F(U);if(!xe){u(Lt.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0, ` \ \ $ { W } $ { ne } $ { U . currentChar ( ) } ` );break}ne+=xe}return ` \ \ $ Line truncated
` ,VF=" \u 2028",XF=" \u 2029";function YF(n){const e=n;let t=0,i=1,s=1,r=0;const o=S=>e[S]===UF&&e[S+1]===Ui,a=S=>e[S]===Ui,c=S=>e[S]===XF,l=S=>e[S]===VF,d=S=>o(S)||a(S)||c(S)||l(S),u=()=>t,h=()=>i,f=()=>s,p=()=>r,m=S=>o(S)||c(S)||l(S)?Ui:e[S],g=()=>m(t),v=()=>m(t+r);function y(){return r=0,d(t)&&(i++,s=0),o(t)&&t++,t++,s++,e[t]}function b(){return o(t+r)&&r++,r++,e[t+r]}function w(){t=0,i=1,s=1,r=0}function C(S=0){r=S}function T(){const S=t+r;for(;S!==t;)y();r=0}return{index:u,line:h,column:f,peekOffset:p,charAt:m,currentChar:g,currentPeek:v,next:y,peek:b,reset:w,resetPeek:C,skipToPeek:T}}const Bs=void 0,zF=".",uy="'",jF="tokenizer";function HF(n,e={}){const t=e.location!==!1,i=YF(n),s=()=>i.index(),r=()=>NF(i.line(),i.column(),i.index()),o=r(),a=s(),c={currentType:13,offset:a,startLoc:o,endLoc:o,lastType:13,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},l=()=>c,{onError:d}=e;function u(U,W,ee,...ne){const ue=l();if(W.column+=ee,W.offset+=ee,d){const xe=t?wm(ue.startLoc,W):null,ye=dh(U,xe,{domain:jF,args:ne});d(ye)}}function h(U,W,ee){U.endLoc=r(),U.currentType=W;const ne={type:W};return t&&(ne.loc=wm(U.startLoc,U.endLoc)),ee!=null&&(ne.value=ee),ne}const f=U=>h(U,13);function p(U,W){return U.currentChar()===W?(U.next(),W):(u(Lt.EXPECTED_TOKEN,r(),0,W),"")}function m(U){let W="";for(;U.currentPeek()===ss||U.currentPeek()===Ui;)W+=U.currentPeek(),U.peek();return W}function g(U){const W=m(U);return U.skipToPeek(),W}function v(U){if(U===Bs)return!1;const W=U.charCodeAt(0);return W>=97&&W<=122||W>=65&&W<=90||W===95}function y(U){if(U===Bs)return!1;const W=U.charCodeAt(0);return W>=48&&W<=57}function b(U,W){const{currentType:ee}=W;if(ee!==2)return!1;m(U);const ne=v(U.currentPeek());return U.resetPeek(),ne}function w(U,W){const{currentType:ee}=W;if(ee!==2)return!1;m(U);const ne=U.currentPeek()==="-"?U.peek():U.currentPeek(),ue=y(ne);return U.resetPeek(),ue}function C(U,W){const{currentType:ee}=W;if(ee!==2)return!1;m(U);const ne=U.currentPeek()===uy;return U.resetPeek(),ne}function T(U,W){const{currentType:ee}=W;if(ee!==7)return!1;m(U);const ne=U.currentPeek()===".";return U.resetPeek(),ne}function S(U,W){const{currentType:ee}=W;if(ee!==8)return!1;m(U);const ne=v(U.currentPeek());return U.resetPeek(),ne}function E(U,W){const{currentType:ee}=W;if(!(ee===7||ee===11))return!1;m(U);const ne=U.currentPeek()===":";return U.resetPeek(),ne}function _(U,W){const{currentType:ee}=W;if(ee!==9)return!1;const ne=()=>{const xe=U.currentPeek();return xe==="{"?v(U.peek()):xe==="@"||xe==="|"||xe===":"||xe==="."||xe===ss||!xe?!1:xe===Ui?(U.peek(),ne()):M(U,!1)},ue=ne();return U.resetPeek(),ue}function I(U){m(U);const W=U.currentPeek()==="|";return U.resetPeek(),W}function M(U,W=!0){const ee=(ue=!1,xe="")=>{const ye=U.currentPeek();return ye==="{"||ye==="@"||!ye?ue:ye==="|"?!(xe===ss||xe===Ui):ye===ss?(U.peek(),ee(!0,ss)):ye===Ui?(U.peek(),ee(!0,Ui)):!0},ne=ee();return W&&U.resetPeek(),ne}function k(U,W){const ee=U.currentChar();return ee===Bs?Bs:W(ee)?(U.next(),ee):null}function B(U){const W=U.charCodeAt(0);return W>=97&&W<=122||W>=65&&W<=90||W>=48&&W<=57||W===95||W===36}function D(U){return k(U,B)}function G(U){const W=U.charCodeAt(0);return W>=97&&W<=122||W>=65&&W<=90||W>=48&&W<=57||W===95||W===36||W===45}function V(U){return k(U,G)}function Y(U){const W=U.charCodeAt(0);return W>=48&&W<=57}function L(U){return k(U,Y)}function N(U){const W=U.charCodeAt(0);return W>=48&&W<=57||W>=65&&W<=70||W>=97&&W<=102}function F(U){return k(U,N)}function $ (U){let W="",ee="";for(;W=L(U);)ee+=W;return ee}function X(U){let W="";for(;;){const ee=U.currentChar();if(ee===" \\ "){const ne=U.peek();ne==="{"||ne==="}"||ne==="@"||ne==="|"||ne===" \\ "?(W+=ee+ne,U.next(),U.next()):(U.resetPeek(),W+=ee,U.next())}else{if(ee==="{"||ee==="}"||ee==="@"||ee==="|"||!ee)break;if(ee===ss||ee===Ui)if(M(U))W+=ee,U.next();else{if(I(U))break;W+=ee,U.next()}else W+=ee,U.next()}}return W}function z(U){g(U);let W="",ee="";for(;W=V(U);)ee+=W;const ne=U.currentChar();if(ne&&ne!=="}"&&ne!==Bs&&ne!==ss&&ne!==Ui&&ne!==" "){const ue=fe(U);return u(Lt.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,ee+ue),ee+ue}return U.currentChar()===Bs&&u(Lt.UNTERMINATED_CLOSING_BRACE,r(),0),ee}function K(U){g(U);let W="";return U.currentChar()==="-"?(U.next(),W+= ` - $ { $ ( U ) } ` ):W+= $ (U),U.currentChar()===Bs&&u(Lt.UNTERMINATED_CLOSING_BRACE,r(),0),W}function J(U){return U!==uy&&U!==Ui}function oe(U){g(U),p(U,"'");let W="",ee="";for(;W=k(U,J);)W===" \\ "?ee+=le(U):ee+=W;const ne=U.currentChar();return ne===Ui||ne===Bs?(u(Lt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),ne===Ui&&(U.next(),p(U,"'")),ee):(p(U,"'"),ee)}function le(U){const W=U.currentChar();switch(W){case" \\ ":case"'":return U.next(), ` \ \ $ { W } ` ;case"u":return ve(U,W,4);case"U":return ve(U,W,6);default:return u(Lt.UNKNOWN_ESCAPE_SEQUENCE,r(),0,W),""}}function ve(U,W,ee){p(U,W);let ne="";for(let ue=0;ue<ee;ue++){const xe=F(U);if(!xe){u(Lt.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0, ` \ \ $ { W } $ { ne } $ { U . currentChar ( ) } ` );break}ne+=xe}return ` \ \ $ Line truncated
` ,r=e.needIndent?e.needIndent:t!=="arrow",o=n.helpers||[],a=iL(n,{filename:i,breakLineCode:s,needIndent:r});a.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),o.length>0&&(a.push( ` const { $ { $g ( o . map ( d => ` ${ d } : _ ${ d } ` ) , ", " ) } } = ctx ` ),a.newline()),a.push("return "),za(a,n),a.deindent(r),a.push("}"),delete n.helpers;const{code:c,map:l}=a.context();return{ast:n,code:c,map:l?l.toJSON():void 0}};function lL(n,e={}){const t=gi({},e),i=!!t.jit,s=!!t.minify,r=t.optimize==null?!0:t.optimize,a=ZF(t).parse(n);return i?(r&&tL(a),s&&ya(a),{ast:a,code:""}):(eL(a,t),aL(a,t))}/*!
* core - base v11 . 4.16
* ( c ) 2026 kazuya kawaguchi
* Released under the MIT License .
* /function cL(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(zr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(zr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Xo(n){return Tt(n)&&Vg(n)===0&&(Ln(n,"b")||Ln(n,"body"))}const NS=["b","body"];function dL(n){return no(n,NS)}const $S=["c","cases"];function uL(n){return no(n,$S,[])}const BS=["s","static"];function hL(n){return no(n,BS)}const US=["i","items"];function fL(n){return no(n,US,[])}const VS=["t","type"];function Vg(n){return no(n,VS)}const XS=["v","value"];function od(n,e){const t=no(n,XS);if(t!=null)return t;throw ic(e)}const YS=["m","modifier"];function pL(n){return no(n,YS)}const zS=["k","key"];function mL(n){const e=no(n,zS);if(e)return e;throw ic(6)}function no(n,e,t){for(let i=0;i<e.length;i++){const s=e[i];if(Ln(n,s)&&n[s]!=null)return n[s]}return t}const jS=[...NS,...$S,...BS,...US,...zS,...YS,...XS,...VS];function ic(n){return new Error(`unhandled node type: ${n}`)}function op(n){return t=>gL(t,n)}function gL(n,e){const t=dL(e);if(t==null)throw ic(0);if(Vg(t)===1){const r=uL(t);return n.plural(r.reduce((o,a)=>[...o,py(n,a)],[]))}else return py(n,t)}function py(n,e){const t=hL(e);if(t!=null)return n.type==="text"?t:n.normalize([t]);{const i=fL(e).reduce((s,r)=>[...s,Sm(n,r)],[]);return n.normalize(i)}}function Sm(n,e){const t=Vg(e);switch(t){case 3:return od(e,t);case 9:return od(e,t);case 4:{const i=e;if(Ln(i,"k")&&i.k)return n.interpolate(n.named(i.k));if(Ln(i,"key")&&i.key)return n.interpolate(n.named(i.key));throw ic(t)}case 5:{const i=e;if(Ln(i,"i")&&xi(i.i))return n.interpolate(n.list(i.i));if(Ln(i,"index")&&xi(i.index))return n.interpolate(n.list(i.index));throw ic(t)}case 6:{const i=e,s=pL(i),r=mL(i);return n.linked(Sm(n,r),s?Sm(n,s):void 0,n.type)}case 7:return od(e,t);case 8:return od(e,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const vL=n=>n;let ad=$t();function bL(n,e={}){let t=!1;const i=e.onError||BF;return e.onError=s=>{t=!0,i(s)},{...lL(n,e),detectError:t}}function yL(n,e){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ze(n)){kt(e.warnHtmlMessage)&&e.warnHtmlMessage;const i=(e.onCacheKey||vL)(n),s=ad[i];if(s)return s;const{ast:r,detectError:o}=bL(n,{...e,location:!1,jit:!0}),a=op(r);return o?a:ad[i]=a}else{if(!Xo(n))return(()=>n);const t=n.cacheKey;if(t){const i=ad[t];return i||(ad[t]=op(n))}else return op(n)}}let nc=null;function xL(n){nc=n}function wL(n,e,t){nc&&nc.emit("i18n:init",{timestamp:Date.now(),i18n:n,version:e,meta:t})}const SL=CL("function:translate");function CL(n){return e=>nc&&nc.emit(n,e)}const Zs={INVALID_ARGUMENT:$F,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},AL=24;function Qs(n){return dh(n,null,void 0)}function Xg(n,e){return e.locale!=null?my(e.locale):my(n.locale)}let ap;function my(n){if(ze(n))return n;if(Kt(n)){if(n.resolvedOnce&&ap!=null)return ap;if(n.constructor.name==="Function"){const e=n();if(yF(e))throw Qs(Zs.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ap=e}else throw Qs(Zs.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Qs(Zs.NOT_SUPPORT_LOCALE_TYPE)}function TL(n,e,t){return[...new Set([t,...Jt(e)?e:Tt(e)?Object.keys(e).filter(i=>i!=="default"):ze(e)?[e]:[t]])]}function EL(n,e,t){const i=ze(t)?t:sc,s=n;let r;Tt(e)?(s.__localeChainObjectCache||(s.__localeChainObjectCache=new WeakMap),r=s.__localeChainObjectCache.get(e),r||(r=new Map,s.__localeChainObjectCache.set(e,r))):(s.__localeChainCache||(s.__localeChainCache=new Map),r=s.__localeChainCache.get(e),r||(r=new Map,s.__localeChainCache.set(e,r)));const o=r.get(i);if(o)return o;const a=[];let c=[t];for(;Jt(c);)c=gy(a,c,e);const l=Jt(e)||!Yt(e)?e:e.default?e.default:null;return c=ze(l)?[l]:l,Jt(c)&&gy(a,c,!1),r.set(i,a),a}function gy(n,e,t){let i=!0;for(let s=0;s<e.length&&kt(i);s++){const r=e[s];ze(r)&&(i=_L(n,e[s],t))}return i}function _L(n,e,t){let i;const s=e.split("-");do{const r=s.join("-");i=ML(n,r,t),s.splice(-1,1)}while(s.length&&i===!0);return i}function ML(n,e,t){let i=!1;if(!n.includes(e)&&(i=!0,e)){i=e[e.length-1]!=="!";const s=e.replace(/ ! /g,"");n.push(s),(Jt(t)||Yt(t))&&t[s]&&(i=t[s])}return i}const so=[];so[0]={w:[0],i:[3,0],"[":[4],o:[7]};so[1]={w:[1],".":[2],"[":[4],o:[7]};so[2]={w:[2],i:[3,0],0:[3,0]};so[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};so[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};so[5]={"'":[4,0],o:8,l:[5,0]};so[6]={'"':[4,0],o:8,l:[6,0]};const PL=/ ^ \ s ? ( ? : true | false | - ? [ \ d . ] + | '[^' ] * ' | "[^" ] * ")\s?$/;function IL(n){return PL.test(n)}function kL(n){const e=n.charCodeAt(0),t=n.charCodeAt(n.length-1);return e===t&&(e===34||e===39)?n.slice(1,-1):n}function RL(n){if(n==null)return" o ";switch(n.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return n;case 95:case 36:case 45:return" i ";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return" w "}return" i "}function FL(n){const e=n.trim();return n.charAt(0)===" 0 " && Line truncated
* /function cL(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(zr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(zr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Xo(n){return Tt(n)&&Vg(n)===0&&(Ln(n,"b")||Ln(n,"body"))}const NS=["b","body"];function dL(n){return no(n,NS)}const $S=["c","cases"];function uL(n){return no(n,$S,[])}const BS=["s","static"];function hL(n){return no(n,BS)}const US=["i","items"];function fL(n){return no(n,US,[])}const VS=["t","type"];function Vg(n){return no(n,VS)}const XS=["v","value"];function od(n,e){const t=no(n,XS);if(t!=null)return t;throw ic(e)}const YS=["m","modifier"];function pL(n){return no(n,YS)}const zS=["k","key"];function mL(n){const e=no(n,zS);if(e)return e;throw ic(6)}function no(n,e,t){for(let i=0;i<e.length;i++){const s=e[i];if(Ln(n,s)&&n[s]!=null)return n[s]}return t}const jS=[...NS,...$S,...BS,...US,...zS,...YS,...XS,...VS];function ic(n){return new Error(`unhandled node type: ${n}`)}function op(n){return t=>gL(t,n)}function gL(n,e){const t=dL(e);if(t==null)throw ic(0);if(Vg(t)===1){const r=uL(t);return n.plural(r.reduce((o,a)=>[...o,py(n,a)],[]))}else return py(n,t)}function py(n,e){const t=hL(e);if(t!=null)return n.type==="text"?t:n.normalize([t]);{const i=fL(e).reduce((s,r)=>[...s,Sm(n,r)],[]);return n.normalize(i)}}function Sm(n,e){const t=Vg(e);switch(t){case 3:return od(e,t);case 9:return od(e,t);case 4:{const i=e;if(Ln(i,"k")&&i.k)return n.interpolate(n.named(i.k));if(Ln(i,"key")&&i.key)return n.interpolate(n.named(i.key));throw ic(t)}case 5:{const i=e;if(Ln(i,"i")&&xi(i.i))return n.interpolate(n.list(i.i));if(Ln(i,"index")&&xi(i.index))return n.interpolate(n.list(i.index));throw ic(t)}case 6:{const i=e,s=pL(i),r=mL(i);return n.linked(Sm(n,r),s?Sm(n,s):void 0,n.type)}case 7:return od(e,t);case 8:return od(e,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const vL=n=>n;let ad=$t();function bL(n,e={}){let t=!1;const i=e.onError||BF;return e.onError=s=>{t=!0,i(s)},{...lL(n,e),detectError:t}}function yL(n,e){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ze(n)){kt(e.warnHtmlMessage)&&e.warnHtmlMessage;const i=(e.onCacheKey||vL)(n),s=ad[i];if(s)return s;const{ast:r,detectError:o}=bL(n,{...e,location:!1,jit:!0}),a=op(r);return o?a:ad[i]=a}else{if(!Xo(n))return(()=>n);const t=n.cacheKey;if(t){const i=ad[t];return i||(ad[t]=op(n))}else return op(n)}}let nc=null;function xL(n){nc=n}function wL(n,e,t){nc&&nc.emit("i18n:init",{timestamp:Date.now(),i18n:n,version:e,meta:t})}const SL=CL("function:translate");function CL(n){return e=>nc&&nc.emit(n,e)}const Zs={INVALID_ARGUMENT:$F,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},AL=24;function Qs(n){return dh(n,null,void 0)}function Xg(n,e){return e.locale!=null?my(e.locale):my(n.locale)}let ap;function my(n){if(ze(n))return n;if(Kt(n)){if(n.resolvedOnce&&ap!=null)return ap;if(n.constructor.name==="Function"){const e=n();if(yF(e))throw Qs(Zs.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ap=e}else throw Qs(Zs.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Qs(Zs.NOT_SUPPORT_LOCALE_TYPE)}function TL(n,e,t){return[...new Set([t,...Jt(e)?e:Tt(e)?Object.keys(e).filter(i=>i!=="default"):ze(e)?[e]:[t]])]}function EL(n,e,t){const i=ze(t)?t:sc,s=n;let r;Tt(e)?(s.__localeChainObjectCache||(s.__localeChainObjectCache=new WeakMap),r=s.__localeChainObjectCache.get(e),r||(r=new Map,s.__localeChainObjectCache.set(e,r))):(s.__localeChainCache||(s.__localeChainCache=new Map),r=s.__localeChainCache.get(e),r||(r=new Map,s.__localeChainCache.set(e,r)));const o=r.get(i);if(o)return o;const a=[];let c=[t];for(;Jt(c);)c=gy(a,c,e);const l=Jt(e)||!Yt(e)?e:e.default?e.default:null;return c=ze(l)?[l]:l,Jt(c)&&gy(a,c,!1),r.set(i,a),a}function gy(n,e,t){let i=!0;for(let s=0;s<e.length&&kt(i);s++){const r=e[s];ze(r)&&(i=_L(n,e[s],t))}return i}function _L(n,e,t){let i;const s=e.split("-");do{const r=s.join("-");i=ML(n,r,t),s.splice(-1,1)}while(s.length&&i===!0);return i}function ML(n,e,t){let i=!1;if(!n.includes(e)&&(i=!0,e)){i=e[e.length-1]!=="!";const s=e.replace(/ ! /g,"");n.push(s),(Jt(t)||Yt(t))&&t[s]&&(i=t[s])}return i}const so=[];so[0]={w:[0],i:[3,0],"[":[4],o:[7]};so[1]={w:[1],".":[2],"[":[4],o:[7]};so[2]={w:[2],i:[3,0],0:[3,0]};so[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};so[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};so[5]={"'":[4,0],o:8,l:[5,0]};so[6]={'"':[4,0],o:8,l:[6,0]};const PL=/ ^ \ s ? ( ? : true | false | - ? [ \ d . ] + | '[^' ] * ' | "[^" ] * ")\s?$/;function IL(n){return PL.test(n)}function kL(n){const e=n.charCodeAt(0),t=n.charCodeAt(n.length-1);return e===t&&(e===34||e===39)?n.slice(1,-1):n}function RL(n){if(n==null)return" o ";switch(n.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return n;case 95:case 36:case 45:return" i ";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return" w "}return" i "}function FL(n){const e=n.trim();return n.charAt(0)===" 0 " && Line truncated
* vue - i18n v11 . 4.16
* ( c ) 2026 kazuya kawaguchi
* Released under the MIT License .
* / c o n s t r D = " 1 1 . 4 . 1 6 " ; f u n c t i o n o D ( ) { t y p e o f _ _ V U E _ I 1 8 N _ F U L L _ I N S T A L L _ _ ! = " b o o l e a n " & & ( z r ( ) . _ _ V U E _ I 1 8 N _ F U L L _ I N S T A L L _ _ = ! 0 ) , t y p e o f _ _ V U E _ I 1 8 N _ L E G A C Y _ A P I _ _ ! = " b o o l e a n " & & ( z r ( ) . _ _ V U E _ I 1 8 N _ L E G A C Y _ A P I _ _ = ! 0 ) , t y p e o f _ _ I N T L I F Y _ D R O P _ M E S S A G E _ C O M P I L E R _ _ ! = " b o o l e a n " & & ( z r ( ) . _ _ I N T L I F Y _ D R O P _ M E S S A G E _ C O M P I L E R _ _ = ! 1 ) , t y p e o f _ _ I N T L I F Y _ P R O D _ D E V T O O L S _ _ ! = " b o o l e a n " & & ( z r ( ) . _ _ I N T L I F Y _ P R O D _ D E V T O O L S _ _ = ! 1 ) } c o n s t s n = { U N E X P E C T E D _ R E T U R N _ T Y P E : A L , I N V A L I D _ A R G U M E N T : 2 5 , M U S T _ B E _ C A L L _ S E T U P _ T O P : 2 6 , N O T _ I N S T A L L E D : 2 7 , R E Q U I R E D _ V A L U E : 2 8 , I N V A L I D _ V A L U E : 2 9 , N O T _ I N S T A L L E D _ W I T H _ P R O V I D E : 3 1 , U N E X P E C T E D _ E R R O R : 3 2 , N O T _ A V A I L A B L E _ C O M P O S I T I O N _ I N _ L E G A C Y : 3 4 } ; f u n c t i o n h n ( n , . . . e ) { r e t u r n d h ( n , n u l l , v o i d 0 ) } c o n s t E m = i o ( " _ _ t r a n s l a t e V N o d e " ) , _ m = i o ( " _ _ d a t e t i m e P a r t s " ) , M m = i o ( " _ _ n u m b e r P a r t s " ) , o C = i o ( " _ _ s e t P l u r a l R u l e s " ) , a C = i o ( " _ _ i n j e c t W i t h O p t i o n " ) , w a = i o ( " _ _ d i s p o s e " ) ; l e t l C = n u l l ; { c o n s t n = z r ( ) . _ _ V U E _ I N S T A N C E _ S E T T E R S _ _ ; J t ( n ) & & n . p u s h ( e = > { l C = e } ) } f u n c t i o n F r ( n ) { r e t u r n ! ! D S ( n ) } f u n c t i o n r c ( n ) { i f ( ! T t ( n ) | | X o ( n ) ) r e t u r n n ; f o r ( c o n s t e i n n ) i f ( L n ( n , e ) ) i f ( ! e . i n c l u d e s ( " . " ) ) T t ( n [ e ] ) & & r c ( n [ e ] ) ; e l s e { c o n s t t = e . s p l i t ( " . " ) , i = t . l e n g t h - 1 ; l e t s = n , r = ! 1 ; f o r ( l e t a = 0 ; a < i ; a + + ) { i f ( t [ a ] = = = " _ _ p r o t o _ _ " ) t h r o w n e w E r r o r ( ` u n s a f e k e y : $ { t [ a ] } ` ) ; i f ( t [ a ] i n s | | ( s [ t [ a ] ] = $ t ( ) ) , ! T t ( s [ t [ a ] ] ) ) { r = ! 0 ; b r e a k } i f ( X o ( s [ t [ a ] ] ) & & ( j S . i n c l u d e s ( t [ a + 1 ] ) | | t [ a + 1 ] = = = " c a c h e K e y " ) ) { r = ! 0 ; b r e a k } s = s [ t [ a ] ] } r | | ( s [ t [ i ] ] = n [ e ] , d e l e t e n [ e ] ) ; c o n s t o = s [ t [ i ] ] ; T t ( o ) & & r c ( o ) } r e t u r n n } f u n c t i o n Y g ( n , e ) { c o n s t { m e s s a g e s : t , _ _ i 1 8 n : i , m e s s a g e R e s o l v e r : s , f l a t J s o n : r } = e , o = Y t ( t ) ? t : J t ( i ) ? $ t ( ) : { [ n ] : $ t ( ) } ; i f ( J t ( i ) & & i . f o r E a c h ( a = > { i f ( " l o c a l e " i n a & & " r e s o u r c e " i n a ) { c o n s t { l o c a l e : c , r e s o u r c e : l } = a ; i f ( c ) { i f ( F r ( c ) ) r e t u r n ; o [ c ] = I i ( o , c ) | | $ t ( ) , P d ( l , o [ c ] ) } e l s e P d ( l , o ) } e l s e z e ( a ) & & P d ( J S O N . p a r s e ( a ) , o ) } ) , s = = n u l l & & r ) f o r ( c o n s t a i n o ) L n ( o , a ) & & r c ( o [ a ] ) ; r e t u r n o } f u n c t i o n c C ( n ) { r e t u r n n . t y p e } f u n c t i o n d C ( n , e , t ) { l e t i = T t ( e . m e s s a g e s ) ? e . m e s s a g e s : $ t ( ) ; " _ _ i 1 8 n G l o b a l " i n t & & ( i = Y g ( n . l o c a l e . v a l u e , { m e s s a g e s : i , _ _ i 1 8 n : t . _ _ i 1 8 n G l o b a l } ) ) ; c o n s t s = O b j e c t . k e y s ( i ) ; s . l e n g t h & & s . f o r E a c h ( r = > { n . m e r g e L o c a l e M e s s a g e ( r , i [ r ] ) } ) ; { i f ( T t ( e . d a t e t i m e F o r m a t s ) ) { c o n s t r = O b j e c t . k e y s ( e . d a t e t i m e F o r m a t s ) ; r . l e n g t h & & r . f o r E a c h ( o = > { n . m e r g e D a t e T i m e F o r m a t ( o , e . d a t e t i m e F o r m a t s [ o ] ) } ) } i f ( T t ( e . n u m b e r F o r m a t s ) ) { c o n s t r = O b j e c t . k e y s ( e . n u m b e r F o r m a t s ) ; r . l e n g t h & & r . f o r E a c h ( o = > { n . m e r g e N u m b e r F o r m a t ( o , e . n u m b e r F o r m a t s [ o ] ) } ) } } } f u n c t i o n M y ( n ) { r e t u r n A e ( f c , n u l l , n , 0 ) } f u n c t i o n o c ( ) { r e t u r n l C ? ? K u ( ) } c o n s t P y = " _ _ I N T L I F Y _ M E T A _ _ " , I y = ( ) = > [ ] , a D = ( ) = > ! 1 ; l e t k y = 0 ; f u n c t i o n R y ( n ) { r e t u r n ( ( e , t , i , s ) = > n ( t , i , o c ( ) | | v o i d 0 , s ) ) } c o n s t l D = ( ) = > { c o n s t n = o c ( ) ; l e t e = n u l l ; r e t u r n n & & ( e = c C ( n ) [ P y ] ) ? { [ P y ] : e } : n u l l } ; f u n c t i o n h u ( n = { } ) { c o n s t { _ _ r o o t : e , _ _ i n j e c t W i t h O p t i o n : t } = n , i = e = = = v o i d 0 , s = n . f l a t J s o n , r = c u ? $ e : S E ; l e t o = k t ( n . i n h e r i t L o c a l e ) ? n . i n h e r i t L o c a l e : ! 0 ; c o n s t a = r ( e & & o ? e . l o c a l e . v a l u e : z e ( n . l o c a l e ) ? n . l o c a l e : s c ) , c = r ( e & & o ? e . f a l l b a c k L o c a l e . v a l u e : z e ( n . f a l l b a c k L o c a l e ) | | J t ( n . f a l l b a c k L o c a l e ) | | Y t ( n . f a l l b a c k L o c a l e ) | | n . f a l l b a c k L o c a l e = = = ! 1 ? n . f a l l b a c k L o c a l e : a . v a l u e ) , l = r ( Y g ( a . v a l u e , n ) ) , d = r ( Y t ( n . d a t e t i m e F o r m a t s ) ? n . d a t e t i m e F o r m a t s : { [ a . v a l u e ] : { } } ) , u = r ( Y t ( n . n u m b e r F o r m a t s ) ? n . n u m b e r F o r m a t s : { [ a . v a l u e ] : { } } ) ; l e t h = e ? e . m i s s i n g W a r n : k t ( n . m i s s i n g W a r n ) | | Y a ( n . m i s s i n g W a r n ) ? n . m i s s i n g W a r n : ! 0 , f = e ? e . f a l l b a c k W a r n : k t ( n . f a l l b a c k W a r n ) | | Y a ( n . f a l l b a c k W a r n ) ? n . f a l l b a c k W a r n : ! 0 , p = e ? e . f a l l b a c k R o o t : k t ( n . f a l l b a c k R o o t ) ? n . f a l l b a c k R o o t : ! 0 , m = ! ! n . f a l l b a c k F o r m a t , g = K t ( n . m i s s i n g ) ? n . m i s s i n g : n u l l , v = K t ( n . m i s s i n g ) ? R y ( n . m i s s i n g ) : n u l l , y = K t ( n . p o s t T r a n s l a t i o n ) ? n . p o s t T r a n s l a t i o n : n u l l , b = e ? e . w a r n H t m l M e s s a g e : k t ( n . w a r n H t m l M e s s a g e ) ? n . w a r n H t m l M e s s a g e : ! 0 , x = ! ! n . e s c a p e P a r a m e t e r ; c o n s t C = e ? e . m o d i f i e r s : Y t ( n . m o d i f i e r s ) ? n . m o d i f i e r s : { } ; l e t T = n . p l u r a l R u l e s | | e & & e . p l u r a l R u l e s , S ; S = ( ( ) = > { i & & y y ( n u l l ) ; c o n s t d e = { v e r s i o n : r D , l o c a l e : a . v a l u e , f a l l b a c k L o c a l e : c . v a l u e , m e s s a g e s : l . v a l u e , m o d i f i e r s : C , p l u r a l R u l e s : T , m i s s i n g : v = = = n u l l ? v o i d 0 : v , m i s s i n g W a r n : h , f a l l b a c k W a r n : f , f a l l b a c k F o r m a t : m , u n r e s o l v i n g : ! 0 , p o s t T r a n s l a t i o n : y = = = n u l l ? v o i d 0 : y , w a r n H t m l M e s s a g e : b , e s c a p e P a r a m e t e r : x , m e s s a g e R e s o l v e r : n . m e s s a g e R e s o l v e r , m e s s a g e C o m p i l e r : n . m e s s a g e C o m p i l e r , _ _ m e t a : { f r a m e w o r k : " v u e " } } ; d e . d a t e t i m e F o r m a t s = d . v a l u e , d e . n u m b e r F o r m a t s = u . v a l u e ; c o n s t g e = j L ( d e ) ; r e t u r n i & & y y ( g e ) , g e } ) ( ) , l d ( S , a . v a l u e , c . v a l u e ) ; f u n c t i o n _ ( ) { r e t u r n [ a . v a l u e , c . v a l u e , l . v a l u e , d . v a l u e , u . v a l u e ] } c o n s t I = F e ( { g e t : ( ) = > a . v a l u e , s e t : d e = > { S . l o c a l e = d e , a . v a l u e = d e } } ) ; f u n c t i o n M ( d e ) { i | | ( S . f a l l b a c k C o n t e x t = z L ( ) ) ; t r y { r e t u r n d e ( ) } f i n a l l y { i | | ( S . f a l l b a c k C o n t e x t = v o i d 0 ) } } f u n c t i o n k ( d e ) { M ( ( ) = > l d ( S , a . v a l u e , d e ) ) } c o n s t B = F e ( { g e t : ( ) = > c . v a l u e , s e t : d e = > { c . v a l u e = d e , S . f a l l b a c k L o c a l e = c . v a l u e , k ( c . v a l u e ) } } ) , D = F e ( ( ) = > l . v a l u e ) , G = F e ( ( ) = > d . v a l u e ) , V = F e ( ( ) = > u . v a l u e ) ; f u n c t i o n Y ( ) { r e t u r n K t ( y ) ? y : n u l l } f u n c t i o n L ( d e ) { y = d e , S . p o s t T r a n s l a t i o n = d e } f u n c t i o n N ( ) { r e t u r n g } f u n c t i o n F ( d e ) { d e ! = = n u l l & & ( v = R y ( d e ) ) , g = d e , S . m i s s i n g = v } c o n s t $ = ( d e , g e , G e , L e , E e , Z e ) = > { _ ( ) ; l e t T e ; t r y { _ _ I N T L I F Y _ P R O D _ D E V T O O L S _ _ , T e = M ( ( ) = > d e ( S ) ) } f i n a l l y { _ _ I N T L I F Y _ P R O D _ D E V T O O L S _ _ } i f ( G e ! = = " t r a n s l a t e e x i s t s " & & x i ( T e ) & & T e = = = u h | | G e = = = " t r a n s l a t e e x i s t s " & & ! T e ) { c o n s t [ v i , l t ] = g e ( ) ; r e t u r n e & & p ? L e ( e ) : E e ( v i ) } e l s e { i f ( Z e ( T e ) ) r e t u r n T e ; t h r o w h n ( s n . U N E X P E C T E D _ R E T U R N _ T Y P E ) } } ; f u n c t i o n X ( . . . d e ) { r e t u r n $ ( g e = > R e f l e c t . a p p l y ( _ y , n u l l , [ g e , . . . d e ] ) , ( ) = > T m ( . . . d e ) , " t r a n s l a t e " , g e = > R e f l e c t . a p p l y ( g e . t , g e , [ . . . d e ] ) , g e = > g e , g e = > z e ( g e ) ) } f u n c t i o n z ( . . . d e ) { c o n s t [ g e , G e , L e ] = d e ; i f ( L e & & ! T t ( L e ) ) t h r o Line truncated
* / c o n s t r D = " 1 1 . 4 . 1 6 " ; f u n c t i o n o D ( ) { t y p e o f _ _ V U E _ I 1 8 N _ F U L L _ I N S T A L L _ _ ! = " b o o l e a n " & & ( z r ( ) . _ _ V U E _ I 1 8 N _ F U L L _ I N S T A L L _ _ = ! 0 ) , t y p e o f _ _ V U E _ I 1 8 N _ L E G A C Y _ A P I _ _ ! = " b o o l e a n " & & ( z r ( ) . _ _ V U E _ I 1 8 N _ L E G A C Y _ A P I _ _ = ! 0 ) , t y p e o f _ _ I N T L I F Y _ D R O P _ M E S S A G E _ C O M P I L E R _ _ ! = " b o o l e a n " & & ( z r ( ) . _ _ I N T L I F Y _ D R O P _ M E S S A G E _ C O M P I L E R _ _ = ! 1 ) , t y p e o f _ _ I N T L I F Y _ P R O D _ D E V T O O L S _ _ ! = " b o o l e a n " & & ( z r ( ) . _ _ I N T L I F Y _ P R O D _ D E V T O O L S _ _ = ! 1 ) } c o n s t s n = { U N E X P E C T E D _ R E T U R N _ T Y P E : A L , I N V A L I D _ A R G U M E N T : 2 5 , M U S T _ B E _ C A L L _ S E T U P _ T O P : 2 6 , N O T _ I N S T A L L E D : 2 7 , R E Q U I R E D _ V A L U E : 2 8 , I N V A L I D _ V A L U E : 2 9 , N O T _ I N S T A L L E D _ W I T H _ P R O V I D E : 3 1 , U N E X P E C T E D _ E R R O R : 3 2 , N O T _ A V A I L A B L E _ C O M P O S I T I O N _ I N _ L E G A C Y : 3 4 } ; f u n c t i o n h n ( n , . . . e ) { r e t u r n d h ( n , n u l l , v o i d 0 ) } c o n s t E m = i o ( " _ _ t r a n s l a t e V N o d e " ) , _ m = i o ( " _ _ d a t e t i m e P a r t s " ) , M m = i o ( " _ _ n u m b e r P a r t s " ) , o C = i o ( " _ _ s e t P l u r a l R u l e s " ) , a C = i o ( " _ _ i n j e c t W i t h O p t i o n " ) , w a = i o ( " _ _ d i s p o s e " ) ; l e t l C = n u l l ; { c o n s t n = z r ( ) . _ _ V U E _ I N S T A N C E _ S E T T E R S _ _ ; J t ( n ) & & n . p u s h ( e = > { l C = e } ) } f u n c t i o n F r ( n ) { r e t u r n ! ! D S ( n ) } f u n c t i o n r c ( n ) { i f ( ! T t ( n ) | | X o ( n ) ) r e t u r n n ; f o r ( c o n s t e i n n ) i f ( L n ( n , e ) ) i f ( ! e . i n c l u d e s ( " . " ) ) T t ( n [ e ] ) & & r c ( n [ e ] ) ; e l s e { c o n s t t = e . s p l i t ( " . " ) , i = t . l e n g t h - 1 ; l e t s = n , r = ! 1 ; f o r ( l e t a = 0 ; a < i ; a + + ) { i f ( t [ a ] = = = " _ _ p r o t o _ _ " ) t h r o w n e w E r r o r ( ` u n s a f e k e y : $ { t [ a ] } ` ) ; i f ( t [ a ] i n s | | ( s [ t [ a ] ] = $ t ( ) ) , ! T t ( s [ t [ a ] ] ) ) { r = ! 0 ; b r e a k } i f ( X o ( s [ t [ a ] ] ) & & ( j S . i n c l u d e s ( t [ a + 1 ] ) | | t [ a + 1 ] = = = " c a c h e K e y " ) ) { r = ! 0 ; b r e a k } s = s [ t [ a ] ] } r | | ( s [ t [ i ] ] = n [ e ] , d e l e t e n [ e ] ) ; c o n s t o = s [ t [ i ] ] ; T t ( o ) & & r c ( o ) } r e t u r n n } f u n c t i o n Y g ( n , e ) { c o n s t { m e s s a g e s : t , _ _ i 1 8 n : i , m e s s a g e R e s o l v e r : s , f l a t J s o n : r } = e , o = Y t ( t ) ? t : J t ( i ) ? $ t ( ) : { [ n ] : $ t ( ) } ; i f ( J t ( i ) & & i . f o r E a c h ( a = > { i f ( " l o c a l e " i n a & & " r e s o u r c e " i n a ) { c o n s t { l o c a l e : c , r e s o u r c e : l } = a ; i f ( c ) { i f ( F r ( c ) ) r e t u r n ; o [ c ] = I i ( o , c ) | | $ t ( ) , P d ( l , o [ c ] ) } e l s e P d ( l , o ) } e l s e z e ( a ) & & P d ( J S O N . p a r s e ( a ) , o ) } ) , s = = n u l l & & r ) f o r ( c o n s t a i n o ) L n ( o , a ) & & r c ( o [ a ] ) ; r e t u r n o } f u n c t i o n c C ( n ) { r e t u r n n . t y p e } f u n c t i o n d C ( n , e , t ) { l e t i = T t ( e . m e s s a g e s ) ? e . m e s s a g e s : $ t ( ) ; " _ _ i 1 8 n G l o b a l " i n t & & ( i = Y g ( n . l o c a l e . v a l u e , { m e s s a g e s : i , _ _ i 1 8 n : t . _ _ i 1 8 n G l o b a l } ) ) ; c o n s t s = O b j e c t . k e y s ( i ) ; s . l e n g t h & & s . f o r E a c h ( r = > { n . m e r g e L o c a l e M e s s a g e ( r , i [ r ] ) } ) ; { i f ( T t ( e . d a t e t i m e F o r m a t s ) ) { c o n s t r = O b j e c t . k e y s ( e . d a t e t i m e F o r m a t s ) ; r . l e n g t h & & r . f o r E a c h ( o = > { n . m e r g e D a t e T i m e F o r m a t ( o , e . d a t e t i m e F o r m a t s [ o ] ) } ) } i f ( T t ( e . n u m b e r F o r m a t s ) ) { c o n s t r = O b j e c t . k e y s ( e . n u m b e r F o r m a t s ) ; r . l e n g t h & & r . f o r E a c h ( o = > { n . m e r g e N u m b e r F o r m a t ( o , e . n u m b e r F o r m a t s [ o ] ) } ) } } } f u n c t i o n M y ( n ) { r e t u r n A e ( f c , n u l l , n , 0 ) } f u n c t i o n o c ( ) { r e t u r n l C ? ? K u ( ) } c o n s t P y = " _ _ I N T L I F Y _ M E T A _ _ " , I y = ( ) = > [ ] , a D = ( ) = > ! 1 ; l e t k y = 0 ; f u n c t i o n R y ( n ) { r e t u r n ( ( e , t , i , s ) = > n ( t , i , o c ( ) | | v o i d 0 , s ) ) } c o n s t l D = ( ) = > { c o n s t n = o c ( ) ; l e t e = n u l l ; r e t u r n n & & ( e = c C ( n ) [ P y ] ) ? { [ P y ] : e } : n u l l } ; f u n c t i o n h u ( n = { } ) { c o n s t { _ _ r o o t : e , _ _ i n j e c t W i t h O p t i o n : t } = n , i = e = = = v o i d 0 , s = n . f l a t J s o n , r = c u ? $ e : S E ; l e t o = k t ( n . i n h e r i t L o c a l e ) ? n . i n h e r i t L o c a l e : ! 0 ; c o n s t a = r ( e & & o ? e . l o c a l e . v a l u e : z e ( n . l o c a l e ) ? n . l o c a l e : s c ) , c = r ( e & & o ? e . f a l l b a c k L o c a l e . v a l u e : z e ( n . f a l l b a c k L o c a l e ) | | J t ( n . f a l l b a c k L o c a l e ) | | Y t ( n . f a l l b a c k L o c a l e ) | | n . f a l l b a c k L o c a l e = = = ! 1 ? n . f a l l b a c k L o c a l e : a . v a l u e ) , l = r ( Y g ( a . v a l u e , n ) ) , d = r ( Y t ( n . d a t e t i m e F o r m a t s ) ? n . d a t e t i m e F o r m a t s : { [ a . v a l u e ] : { } } ) , u = r ( Y t ( n . n u m b e r F o r m a t s ) ? n . n u m b e r F o r m a t s : { [ a . v a l u e ] : { } } ) ; l e t h = e ? e . m i s s i n g W a r n : k t ( n . m i s s i n g W a r n ) | | Y a ( n . m i s s i n g W a r n ) ? n . m i s s i n g W a r n : ! 0 , f = e ? e . f a l l b a c k W a r n : k t ( n . f a l l b a c k W a r n ) | | Y a ( n . f a l l b a c k W a r n ) ? n . f a l l b a c k W a r n : ! 0 , p = e ? e . f a l l b a c k R o o t : k t ( n . f a l l b a c k R o o t ) ? n . f a l l b a c k R o o t : ! 0 , m = ! ! n . f a l l b a c k F o r m a t , g = K t ( n . m i s s i n g ) ? n . m i s s i n g : n u l l , v = K t ( n . m i s s i n g ) ? R y ( n . m i s s i n g ) : n u l l , y = K t ( n . p o s t T r a n s l a t i o n ) ? n . p o s t T r a n s l a t i o n : n u l l , b = e ? e . w a r n H t m l M e s s a g e : k t ( n . w a r n H t m l M e s s a g e ) ? n . w a r n H t m l M e s s a g e : ! 0 , w = ! ! n . e s c a p e P a r a m e t e r ; c o n s t C = e ? e . m o d i f i e r s : Y t ( n . m o d i f i e r s ) ? n . m o d i f i e r s : { } ; l e t T = n . p l u r a l R u l e s | | e & & e . p l u r a l R u l e s , S ; S = ( ( ) = > { i & & y y ( n u l l ) ; c o n s t d e = { v e r s i o n : r D , l o c a l e : a . v a l u e , f a l l b a c k L o c a l e : c . v a l u e , m e s s a g e s : l . v a l u e , m o d i f i e r s : C , p l u r a l R u l e s : T , m i s s i n g : v = = = n u l l ? v o i d 0 : v , m i s s i n g W a r n : h , f a l l b a c k W a r n : f , f a l l b a c k F o r m a t : m , u n r e s o l v i n g : ! 0 , p o s t T r a n s l a t i o n : y = = = n u l l ? v o i d 0 : y , w a r n H t m l M e s s a g e : b , e s c a p e P a r a m e t e r : w , m e s s a g e R e s o l v e r : n . m e s s a g e R e s o l v e r , m e s s a g e C o m p i l e r : n . m e s s a g e C o m p i l e r , _ _ m e t a : { f r a m e w o r k : " v u e " } } ; d e . d a t e t i m e F o r m a t s = d . v a l u e , d e . n u m b e r F o r m a t s = u . v a l u e ; c o n s t g e = j L ( d e ) ; r e t u r n i & & y y ( g e ) , g e } ) ( ) , l d ( S , a . v a l u e , c . v a l u e ) ; f u n c t i o n _ ( ) { r e t u r n [ a . v a l u e , c . v a l u e , l . v a l u e , d . v a l u e , u . v a l u e ] } c o n s t I = F e ( { g e t : ( ) = > a . v a l u e , s e t : d e = > { S . l o c a l e = d e , a . v a l u e = d e } } ) ; f u n c t i o n M ( d e ) { i | | ( S . f a l l b a c k C o n t e x t = z L ( ) ) ; t r y { r e t u r n d e ( ) } f i n a l l y { i | | ( S . f a l l b a c k C o n t e x t = v o i d 0 ) } } f u n c t i o n k ( d e ) { M ( ( ) = > l d ( S , a . v a l u e , d e ) ) } c o n s t B = F e ( { g e t : ( ) = > c . v a l u e , s e t : d e = > { c . v a l u e = d e , S . f a l l b a c k L o c a l e = c . v a l u e , k ( c . v a l u e ) } } ) , D = F e ( ( ) = > l . v a l u e ) , G = F e ( ( ) = > d . v a l u e ) , V = F e ( ( ) = > u . v a l u e ) ; f u n c t i o n Y ( ) { r e t u r n K t ( y ) ? y : n u l l } f u n c t i o n L ( d e ) { y = d e , S . p o s t T r a n s l a t i o n = d e } f u n c t i o n N ( ) { r e t u r n g } f u n c t i o n F ( d e ) { d e ! = = n u l l & & ( v = R y ( d e ) ) , g = d e , S . m i s s i n g = v } c o n s t $ = ( d e , g e , G e , L e , E e , Z e ) = > { _ ( ) ; l e t T e ; t r y { _ _ I N T L I F Y _ P R O D _ D E V T O O L S _ _ , T e = M ( ( ) = > d e ( S ) ) } f i n a l l y { _ _ I N T L I F Y _ P R O D _ D E V T O O L S _ _ } i f ( G e ! = = " t r a n s l a t e e x i s t s " & & x i ( T e ) & & T e = = = u h | | G e = = = " t r a n s l a t e e x i s t s " & & ! T e ) { c o n s t [ v i , l t ] = g e ( ) ; r e t u r n e & & p ? L e ( e ) : E e ( v i ) } e l s e { i f ( Z e ( T e ) ) r e t u r n T e ; t h r o w h n ( s n . U N E X P E C T E D _ R E T U R N _ T Y P E ) } } ; f u n c t i o n X ( . . . d e ) { r e t u r n $ ( g e = > R e f l e c t . a p p l y ( _ y , n u l l , [ g e , . . . d e ] ) , ( ) = > T m ( . . . d e ) , " t r a n s l a t e " , g e = > R e f l e c t . a p p l y ( g e . t , g e , [ . . . d e ] ) , g e = > g e , g e = > z e ( g e ) ) } f u n c t i o n z ( . . . d e ) { c o n s t [ g e , G e , L e ] = d e ; i f ( L e & & ! T t ( L e ) ) t h r o Line truncated
attribute vec2 aVertexPosition ;
attribute vec2 aTextureCoord ;
@@ -1200,7 +1200,7 @@ void main(void)
vTextureCoord = ( uTextureMatrix * vec3 ( aTextureCoord , 1.0 ) ) . xy ;
}
` ,e4 = `
` ,j3 = `
varying vec2 vTextureCoord ;
uniform vec4 uColor ;
uniform vec4 uDarkColor ;
@@ -1213,7 +1213,7 @@ void main(void)
gl _FragColor . a = texColor . a * uColor . a ;
gl _FragColor . rgb = ( ( texColor . a - 1.0 ) * uDarkColor . a + 1.0 - texColor . rgb ) * uDarkColor . rgb + texColor . rgb * uColor . rgb ;
}
` ;class t4 extends es{constructor(t){const i={uSampler:t??it.EMPTY,alpha:1,uTextureMatrix:Bt.IDENTITY,uColor:new Float32Array([1,1,1,1]),uDarkColor:new Float32Array([0,0,0,0])},s={tint:16777215,darkTint:0,alpha:1,pluginName:"darkTintBatch"};super(As.from(Q3,e4),i);A(this,"uvMatrix");A(this,"batchable");A(this,"pluginName");A(this,"_tintRGB");A(this,"_darkTintRGB");A(this,"_colorDirty");A(this,"_alpha");A(this,"_tintColor");A(this,"_darkTintColor");this._colorDirty=!1,this.uvMatrix=new _g(i.uSampler),this.batchable=!0,this.pluginName=s.pluginName,this._tintColor=new Rt(s.tint),this._darkTintColor=new Rt(s.darkTint),this._tintRGB=this._tintColor.toLittleEndianNumber(),this._darkTintRGB=this._darkTintColor.toLittleEndianNumber(),this._alpha=s.alpha,this._colorDirty=!0}get texture(){return this.uniforms.uSampler}set texture(t){this.uniforms.uSampler!==t&&(!this.uniforms.uSampler.baseTexture.alphaMode!=!t.baseTexture.alphaMode&&(this._colorDirty=!0),this.uniforms.uSampler=t,this.uvMatrix.texture=t)}set alpha(t){t!==this._alpha&&(this._alpha=t,this._colorDirty=!0)}get alpha(){return this._alpha}set tint(t){t!==this.tint&&(this._tintColor.setValue(t),this._tintRGB=this._tintColor.toLittleEndianNumber(),this._colorDirty=!0)}get tint(){return this._tintColor.value}set darkTint(t){t!==this.darkTint&&(this._darkTintColor.setValue(t),this._darkTintRGB=this._darkTintColor.toLittleEndianNumber(),this._colorDirty=!0)}get darkTint(){return this._darkTintColor.value}get tintValue(){return this._tintColor.toNumber()}get darkTintValue(){return this._darkTintColor.toNumber()}update(){this._colorDirty&&(this._colorDirty=!1,Rt.shared.setValue(this._tintColor).premultiply(this._alpha,!0).toArray(this.uniforms.uColor),Rt.shared.setValue(this._darkTintColor).premultiply(this._alpha,!0).premultiply(1,!1).toArray(this.uniforms.uDarkColor)),this.uvMatrix.update()&&(this.uniforms.uTextureMatrix=this.uvMatrix.mapCoord)}}class i4 extends ec{constructor(t){super(new Z3,new t4(t),void 0,void 0);A(this,"_darkTintRGB",0)}get darkTint(){return"darkTint"in this.shader?this.shader.darkTint:null}set darkTint(t){this.shader.darkTint=t}get darkTintValue(){return this.shader.darkTintValue}_renderToBatch(t){const i=this.geometry,s=this.shader;s.uvMatrix&&(s.uvMatrix.update(),this.calculateUvs()),this.calculateVertices(),this.indices=i.indexBuffer.data,this._tintRGB=s._tintRGB,this._darkTintRGB=s._darkTintRGB,this._texture=s.texture;const r=this.material.pluginName;t.batch.setObjectRenderer(t.plugins[r]),t.plugins[r].render(this)}}const wi=class wi extends i4{constructor(){super();A(this,"name","")}updateFromSpineData(t,i,s,r,o,a,c,l){var v,y;this.texture=t.texture;const d=o/(l?12:8)*2,u=this.geometry.getBuffer("aTextureCoord");((v=u.data)==null?void 0:v.length)!==d&&(u.data=new Float32Array(d));const h=this.geometry.getBuffer("aVertexPosition");((y=h.data)==null?void 0:y.length)!==d&&(h.data=new Float32Array(d));let f=0,p=u.data,m=h.data;for(let b=0;b<o;b+=l?12:8){let x=b;m[f]=r[x++],m[f+1]=r[x++],x+=4,p[f]=r[x++],p[f+1]=r[x++],f+=2}l?(wi.auxColor[0]=r[8],wi.auxColor[1]=r[9],wi.auxColor[2]=r[10],wi.auxColor[3]=r[11],this.darkTint=wi.auxColor,wi.auxColor[0]=r[2],wi.auxColor[1]=r[3],wi.auxColor[2]=r[4],wi.auxColor[3]=r[5],this.tint=wi.auxColor):(wi.auxColor[0]=r[2],wi.auxColor[1]=r[3],wi.auxColor[2]=r[4],wi.auxColor[3]=r[5],this.tint=wi.auxColor),this.blendMode=Yo.toPixiBlending(i),this.alpha=wi.auxColor[3];const g=this.geometry.indexBuffer;if(g.data.length!==a.length)g.data=new Uint32Array(a);else{const b=g.data;for(let x=0;x<c;x++)b[x]=a[x]}this.name=s,u.update(),h.update(),g.update()}};A(wi,"auxColor",[0,0,0,0]);let Ll=wi;const Et=class Et extends _i{constructor(t,i){if(t instanceof gu)t={...i,skeletonData:t};else if(i)throw new Error("You cannot use options and oldOptions together.");super();A(this,"skeleton");A(this,"state");A(this,"darkTint",!1);A(this,"hasNeverUpdated",!0);A(this,"_debug");A(this,"slotMeshFactory",()=>new Lm);A(this,"beforeUpdateWorldTransforms",()=>{});A(this,"afterUpdateWorldTransforms",()=>{});A(this,"_autoUpdate",!1);A(this,"_ticker",nn.shared);A(this,"meshesCache",new Map);A(this,"lightColor",new ut);A(this,"darkColor",new ut);A(this,"_boundsProvider");A(this,"_boundsPoint",new At);A(this,"_boundsSpineID",-1);A(this,"_boundsSpineDirty",!0);A(this,"slotsObject",new Map);A(this,"verticesCache",De.newFloatArray(1024));A(this,"clippingSlotToPixiMasks",{});A(this,"currentClippingSlot");const s=t instanceof gu?t:t.skeletonData;this.skeleton=new Wg(s);const r=new l3(s);this.state=new n3(r),(t==null?void 0:t.darkTint)!==void 0||(i==null?void 0:i.slotMeshFactory)===void 0?(this.darkTint=(t==null?void 0:t.darkTint)===void 0?this.skeleton.slots.some(o=>!!o.data.darkColor):t==null?void 0:t.darkTint,this.darkTint&&(this.slotMeshFactory=()=>new Ll)):this.initializeMeshFactory(i==null?void 0:i.slotMeshFactory),t!=null&&t.ticker&&(this._ticker=t.ticker),this.autoUpdate=(t==null?void 0:t.autoUpdate)??!0,this.boundsProvider=t.boundsProvide
Line truncated
` ;class H3 extends es{constructor(t){const i={uSampler:t??it.EMPTY,alpha:1,uTextureMatrix:Bt.IDENTITY,uColor:new Float32Array([1,1,1,1]),uDarkColor:new Float32Array([0,0,0,0])},s={tint:16777215,darkTint:0,alpha:1,pluginName:"darkTintBatch"};super(As.from(z3,j3),i);A(this,"uvMatrix");A(this,"batchable");A(this,"pluginName");A(this,"_tintRGB");A(this,"_darkTintRGB");A(this,"_colorDirty");A(this,"_alpha");A(this,"_tintColor");A(this,"_darkTintColor");this._colorDirty=!1,this.uvMatrix=new _g(i.uSampler),this.batchable=!0,this.pluginName=s.pluginName,this._tintColor=new Rt(s.tint),this._darkTintColor=new Rt(s.darkTint),this._tintRGB=this._tintColor.toLittleEndianNumber(),this._darkTintRGB=this._darkTintColor.toLittleEndianNumber(),this._alpha=s.alpha,this._colorDirty=!0}get texture(){return this.uniforms.uSampler}set texture(t){this.uniforms.uSampler!==t&&(!this.uniforms.uSampler.baseTexture.alphaMode!=!t.baseTexture.alphaMode&&(this._colorDirty=!0),this.uniforms.uSampler=t,this.uvMatrix.texture=t)}set alpha(t){t!==this._alpha&&(this._alpha=t,this._colorDirty=!0)}get alpha(){return this._alpha}set tint(t){t!==this.tint&&(this._tintColor.setValue(t),this._tintRGB=this._tintColor.toLittleEndianNumber(),this._colorDirty=!0)}get tint(){return this._tintColor.value}set darkTint(t){t!==this.darkTint&&(this._darkTintColor.setValue(t),this._darkTintRGB=this._darkTintColor.toLittleEndianNumber(),this._colorDirty=!0)}get darkTint(){return this._darkTintColor.value}get tintValue(){return this._tintColor.toNumber()}get darkTintValue(){return this._darkTintColor.toNumber()}update(){this._colorDirty&&(this._colorDirty=!1,Rt.shared.setValue(this._tintColor).premultiply(this._alpha,!0).toArray(this.uniforms.uColor),Rt.shared.setValue(this._darkTintColor).premultiply(this._alpha,!0).premultiply(1,!1).toArray(this.uniforms.uDarkColor)),this.uvMatrix.update()&&(this.uniforms.uTextureMatrix=this.uvMatrix.mapCoord)}}class G3 extends ec{constructor(t){super(new Y3,new H3(t),void 0,void 0);A(this,"_darkTintRGB",0)}get darkTint(){return"darkTint"in this.shader?this.shader.darkTint:null}set darkTint(t){this.shader.darkTint=t}get darkTintValue(){return this.shader.darkTintValue}_renderToBatch(t){const i=this.geometry,s=this.shader;s.uvMatrix&&(s.uvMatrix.update(),this.calculateUvs()),this.calculateVertices(),this.indices=i.indexBuffer.data,this._tintRGB=s._tintRGB,this._darkTintRGB=s._darkTintRGB,this._texture=s.texture;const r=this.material.pluginName;t.batch.setObjectRenderer(t.plugins[r]),t.plugins[r].render(this)}}const wi=class wi extends G3{constructor(){super();A(this,"name","")}updateFromSpineData(t,i,s,r,o,a,c,l){var v,y;this.texture=t.texture;const d=o/(l?12:8)*2,u=this.geometry.getBuffer("aTextureCoord");((v=u.data)==null?void 0:v.length)!==d&&(u.data=new Float32Array(d));const h=this.geometry.getBuffer("aVertexPosition");((y=h.data)==null?void 0:y.length)!==d&&(h.data=new Float32Array(d));let f=0,p=u.data,m=h.data;for(let b=0;b<o;b+=l?12:8){let w=b;m[f]=r[w++],m[f+1]=r[w++],w+=4,p[f]=r[w++],p[f+1]=r[w++],f+=2}l?(wi.auxColor[0]=r[8],wi.auxColor[1]=r[9],wi.auxColor[2]=r[10],wi.auxColor[3]=r[11],this.darkTint=wi.auxColor,wi.auxColor[0]=r[2],wi.auxColor[1]=r[3],wi.auxColor[2]=r[4],wi.auxColor[3]=r[5],this.tint=wi.auxColor):(wi.auxColor[0]=r[2],wi.auxColor[1]=r[3],wi.auxColor[2]=r[4],wi.auxColor[3]=r[5],this.tint=wi.auxColor),this.blendMode=Yo.toPixiBlending(i),this.alpha=wi.auxColor[3];const g=this.geometry.indexBuffer;if(g.data.length!==a.length)g.data=new Uint32Array(a);else{const b=g.data;for(let w=0;w<c;w++)b[w]=a[w]}this.name=s,u.update(),h.update(),g.update()}};A(wi,"auxColor",[0,0,0,0]);let Ll=wi;const Et=class Et extends _i{constructor(t,i){if(t instanceof gu)t={...i,skeletonData:t};else if(i)throw new Error("You cannot use options and oldOptions together.");super();A(this,"skeleton");A(this,"state");A(this,"darkTint",!1);A(this,"hasNeverUpdated",!0);A(this,"_debug");A(this,"slotMeshFactory",()=>new Lm);A(this,"beforeUpdateWorldTransforms",()=>{});A(this,"afterUpdateWorldTransforms",()=>{});A(this,"_autoUpdate",!1);A(this,"_ticker",nn.shared);A(this,"meshesCache",new Map);A(this,"lightColor",new ut);A(this,"darkColor",new ut);A(this,"_boundsProvider");A(this,"_boundsPoint",new At);A(this,"_boundsSpineID",-1);A(this,"_boundsSpineDirty",!0);A(this,"slotsObject",new Map);A(this,"verticesCache",De.newFloatArray(1024));A(this,"clippingSlotToPixiMasks",{});A(this,"currentClippingSlot");const s=t instanceof gu?t:t.skeletonData;this.skeleton=new Wg(s);const r=new QB(s);this.state=new WB(r),(t==null?void 0:t.darkTint)!==void 0||(i==null?void 0:i.slotMeshFactory)===void 0?(this.darkTint=(t==null?void 0:t.darkTint)===void 0?this.skeleton.slots.some(o=>!!o.data.darkColor):t==null?void 0:t.darkTint,this.darkTint&&(this.slotMeshFactory=()=>new Ll)):this.initializeMeshFactory(i==null?void 0:i.slotMeshFactory),t!=null&&t.ticker&&(this._ticker=t.ticker),this.autoUpdate=(t==null?void 0:t.autoUpdate)??!0,this.boundsProvider=t.boundsProvide
Line truncated
precision highp float ;
attribute vec2 aVertexPosition ;
attribute vec2 aTextureCoord ;
@@ -1239,7 +1239,7 @@ void main(void){
vDarkColor = aDarkColor * tint ;
}
` ,c 4= `
` ,e 4= `
varying vec2 vTextureCoord ;
varying vec4 vColor ;
varying vec4 vDarkColor ;
@@ -1254,4 +1254,4 @@ void main(void){
gl _FragColor . a = color . a * vColor . a ;
gl _FragColor . rgb = ( ( color . a - 1.0 ) * vDarkColor . a + 1.0 - color . rgb ) * vDarkColor . rgb + color . rgb * vColor . rgb ;
}
` ;class gA extends kr{constructor(e){super(e),this.shaderGenerator=new yw(l4,c4),this.geometryClass=a4,this.vertexSize=7}packInterleavedGeometry(e,t,i,s,r){const{uint32View:o,float32View:a}=t,c=s/this.vertexSize,l=e.uvs,d=e.indices,u=e.vertexData,h=e._texture.baseTexture._batchLocation,f=Math.min(e.worldAlpha,1),p=Rt.shared.setValue(e._tintRGB).toPremultiplied(f,!0),m=Rt.shared.setValue(e._darkTintRGB).premultiply(f,!0).toPremultiplied(1,!1);for(let g=0;g<u.length;g+=2)a[s++]=u[g],a[s++]=u[g+1],a[s++]=l[g],a[s++]=l[g+1],o[s++]=p,o[s++]=m,a[s++]=h;for(let g=0;g<d.length;g++)i[r++]=c+d[g]}}A(gA,"extension",{name:"darkTintBatch",type:Oe.RendererPlugin});He.add(gA);function d4(n){return n.replace(/ \\ /g,"/").split("/").pop()||n}function qg(n,e,t){for(const i of n.pages){const s=e.get(d4(i.name).toLowerCase());if(!s)throw new Error(Ye("errors.missingAtlasTexture",{name:i.name}));s.baseTexture.alphaMode=i.pma?ki.PMA:ki.UNPACK,i.setTexture(t.from(s.baseTexture))}}function vA(n,e){const t=new nA(n);return qg(t,e,Yo),new km(t)}function u4(n,e,t){return{skeletonData:new bu(vA(e,t)).readSkeletonData(n),SpineClass:yu}}function h4(n,e,t){return{skeletonData:new Fm(vA(e,t)).readSkeletonData(n),SpineClass:yu}}const f4="modulepreload",p4=function(n){return"/"+n},Zy={},Qy=function(e,t,i){let s=Promise.resolve();if(t&&t.length>0){let o=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=o(t.map(l=>{if(l=p4(l),l in Zy)return;Zy[l]=!0;const d=l.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(document.querySelector( ` link [ href = "${l}" ] $ { u } ` ))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":f4,d||(h.as="script"),h.crossOrigin="",h.href=l,c&&h.setAttribute("nonce",c),document.head.appendChild(h),d)return new Promise((f,p)=>{h.addEventListener("load",f),h.addEventListener("error",()=>p(new Error( ` Unable to preload CSS for $ { l } ` )))})}))}function r(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return s.then(o=>{for(const a of o||[])a.status==="rejected"&&r(a.reason);return e().catch(r)})};async function bA(){const[n,e]=await Promise.all([Qy(()=>import("./index-DxBJZqWf.js"),[]),Qy(()=>import("./index-Cxn3bPhQ.js"),__vite__mapDeps([0,1]))]);return{core:n,pixi:e}}async function m4(n,e,t){const{core:i,pixi:s}=await bA(),r=new i.TextureAtlas(e);return qg(r,t,s.SpineTexture),{skeletonData:new i.SkeletonJson(new i.AtlasAttachmentLoader(r)).readSkeletonData(n),SpineClass:s.Spine}}async function g4(n,e,t){const{core:i,pixi:s}=await bA(),r=new i.TextureAtlas(e);return qg(r,t,s.SpineTexture),{skeletonData:new i.SkeletonBinary(new i.AtlasAttachmentLoader(r)).readSkeletonData(n),SpineClass:s.Spine}}function Br(n,e,t){const i=Number(n[e]);return Number.isFinite(i)?i:t}function dn(n,e,t,i){n[e]==null&&(n[e]=Br(n,t,i))}function Kg(n,e,t){if(typeof n.curve!="number")return;const i=Br(n,"time",0),r=Br(e,"time",0)-i,o=n.curve,a=Br(n,"c2",0),c=Br(n,"c3",1),l=Br(n,"c4",1);n.curve=t.flatMap(([d,u])=>[i+r*o,d+(u-d)*a,i+r*c,d+(u-d)*l]),delete n.c2,delete n.c3,delete n.c4}function Hr(n,e){if(Array.isArray(n))for(let t=0;t<n.length-1;t++){const i=n[t],s=n[t+1];Kg(i,s,e.map(({key:r,fallback:o})=>[Br(i,r,o),Br(s,r,o)]))}}function v4(n){if(Array.isArray(n))for(let e=0;e<n.length-1;e++)Kg(n[e],n[e+1],[[0,1]])}function la(n,e){const t=typeof n=="string"?n.replace(/^#/,""):"",i=t.length===6? ` $ { t } ff ` :t.padEnd(8,"f").slice(0,8),s=[0,2,4,6].map(r=>Number.parseInt(i.slice(r,r+2),16)/255);return e?s:s.slice(0,3)}function ex(n,e){if(Array.isArray(n))for(let t=0;t<n.length-1;t++){const i=n[t],s=n[t+1],r=e?[...la(i.light,!0),...la(i.dark,!1)]:la(i.color,!0),o=e?[...la(s.light,!0),...la(s.dark,!1)]:la(s.color,!0);Kg(i,s,r.map((a,c)=>[a,o[c]]))}}function b4(n){for(const e of n.bones||[])e.inherit==null&&e.transform!=null&&(e.inherit=e.transform);for(const e of n.transform||[])dn(e,"mixRotate","rotateMix",1),dn(e,"mixX","translateMix",1),e.mixY==null&&(e.mixY=e.mixX),dn(e,"mixScaleX","scaleMix",1),e.mixScaleY==null&&(e.mixScaleY=e.mixScaleX),dn(e,"mixShearY","shearMix",1);for(const e of n.path||[])dn(e,"mixRotate","rotateMix",1),dn(e,"mixX","translateMix",1),e.mixY==null&&(e.mixY=e.mixX)}function y4(n){for(const e of n.skins||[])for(const t of Object.values(e.attachments||{}))for(const i of Object.values(t||{}))i.parent!=null&&i.timelines==null&&i.deform!=null&&(i.timelines=i.deform)}function x4(n){for(const e of Object.values(n.slots||{}))e.color&&!e.rgba&&(e.rgba=e.color,delete e.color),e.twoColor&&!e.rgba2&&(e.rgba2=e.twoColor,delete e.twoColor),ex(e.rgba,!1),ex(e.rgba2,!0)}function w4(n){for(const e of Object.values(n.bones||{})){for(const t of e.rotate||[])dn(t,"value","angle",0);Hr(e.rotate,[{key:"value",fallback:0}]),Hr(e.t
Line truncated
` ;class gA extends kr{constructor(e){super(e),this.shaderGenerator=new yw(Q3,e4),this.geometryClass=Z3,this.vertexSize=7}packInterleavedGeometry(e,t,i,s,r){const{uint32View:o,float32View:a}=t,c=s/this.vertexSize,l=e.uvs,d=e.indices,u=e.vertexData,h=e._texture.baseTexture._batchLocation,f=Math.min(e.worldAlpha,1),p=Rt.shared.setValue(e._tintRGB).toPremultiplied(f,!0),m=Rt.shared.setValue(e._darkTintRGB).premultiply(f,!0).toPremultiplied(1,!1);for(let g=0;g<u.length;g+=2)a[s++]=u[g],a[s++]=u[g+1],a[s++]=l[g],a[s++]=l[g+1],o[s++]=p,o[s++]=m,a[s++]=h;for(let g=0;g<d.length;g++)i[r++]=c+d[g]}}A(gA,"extension",{name:"darkTintBatch",type:Oe.RendererPlugin});He.add(gA);function t4(n){return n.replace(/ \\ /g,"/").split("/").pop()||n}function qg(n,e,t){for(const i of n.pages){const s=e.get(t4(i.name).toLowerCase());if(!s)throw new Error(Ye("errors.missingAtlasTexture",{name:i.name}));s.baseTexture.alphaMode=i.pma?ki.PMA:ki.UNPACK,i.setTexture(t.from(s.baseTexture))}}function vA(n,e){const t=new nA(n);return qg(t,e,Yo),new km(t)}function i4(n,e,t){return{skeletonData:new bu(vA(e,t)).readSkeletonData(n),SpineClass:yu}}function n4(n,e,t){return{skeletonData:new Fm(vA(e,t)).readSkeletonData(n),SpineClass:yu}}const s4="modulepreload",r4=function(n){return"/"+n},Zy={},Qy=function(e,t,i){let s=Promise.resolve();if(t&&t.length>0){let o=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=o(t.map(l=>{if(l=r4(l),l in Zy)return;Zy[l]=!0;const d=l.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(document.querySelector( ` link [ href = "${l}" ] $ { u } ` ))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":s4,d||(h.as="script"),h.crossOrigin="",h.href=l,c&&h.setAttribute("nonce",c),document.head.appendChild(h),d)return new Promise((f,p)=>{h.addEventListener("load",f),h.addEventListener("error",()=>p(new Error( ` Unable to preload CSS for $ { l } ` )))})}))}function r(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return s.then(o=>{for(const a of o||[])a.status==="rejected"&&r(a.reason);return e().catch(r)})};async function bA(){const[n,e]=await Promise.all([Qy(()=>import("./index-BSAMR7rU.js"),[]),Qy(()=>import("./index-hgwT4zDg.js"),__vite__mapDeps([0,1]))]);return{core:n,pixi:e}}async function o4(n,e,t){const{core:i,pixi:s}=await bA(),r=new i.TextureAtlas(e);return qg(r,t,s.SpineTexture),{skeletonData:new i.SkeletonJson(new i.AtlasAttachmentLoader(r)).readSkeletonData(n),SpineClass:s.Spine}}async function a4(n,e,t){const{core:i,pixi:s}=await bA(),r=new i.TextureAtlas(e);return qg(r,t,s.SpineTexture),{skeletonData:new i.SkeletonBinary(new i.AtlasAttachmentLoader(r)).readSkeletonData(n),SpineClass:s.Spine}}function Br(n,e,t){const i=Number(n[e]);return Number.isFinite(i)?i:t}function dn(n,e,t,i){n[e]==null&&(n[e]=Br(n,t,i))}function Kg(n,e,t){if(typeof n.curve!="number")return;const i=Br(n,"time",0),r=Br(e,"time",0)-i,o=n.curve,a=Br(n,"c2",0),c=Br(n,"c3",1),l=Br(n,"c4",1);n.curve=t.flatMap(([d,u])=>[i+r*o,d+(u-d)*a,i+r*c,d+(u-d)*l]),delete n.c2,delete n.c3,delete n.c4}function Hr(n,e){if(Array.isArray(n))for(let t=0;t<n.length-1;t++){const i=n[t],s=n[t+1];Kg(i,s,e.map(({key:r,fallback:o})=>[Br(i,r,o),Br(s,r,o)]))}}function l4(n){if(Array.isArray(n))for(let e=0;e<n.length-1;e++)Kg(n[e],n[e+1],[[0,1]])}function la(n,e){const t=typeof n=="string"?n.replace(/^#/,""):"",i=t.length===6? ` $ { t } ff ` :t.padEnd(8,"f").slice(0,8),s=[0,2,4,6].map(r=>Number.parseInt(i.slice(r,r+2),16)/255);return e?s:s.slice(0,3)}function ex(n,e){if(Array.isArray(n))for(let t=0;t<n.length-1;t++){const i=n[t],s=n[t+1],r=e?[...la(i.light,!0),...la(i.dark,!1)]:la(i.color,!0),o=e?[...la(s.light,!0),...la(s.dark,!1)]:la(s.color,!0);Kg(i,s,r.map((a,c)=>[a,o[c]]))}}function c4(n){for(const e of n.bones||[])e.inherit==null&&e.transform!=null&&(e.inherit=e.transform);for(const e of n.transform||[])dn(e,"mixRotate","rotateMix",1),dn(e,"mixX","translateMix",1),e.mixY==null&&(e.mixY=e.mixX),dn(e,"mixScaleX","scaleMix",1),e.mixScaleY==null&&(e.mixScaleY=e.mixScaleX),dn(e,"mixShearY","shearMix",1);for(const e of n.path||[])dn(e,"mixRotate","rotateMix",1),dn(e,"mixX","translateMix",1),e.mixY==null&&(e.mixY=e.mixX)}function d4(n){for(const e of n.skins||[])for(const t of Object.values(e.attachments||{}))for(const i of Object.values(t||{}))i.parent!=null&&i.timelines==null&&i.deform!=null&&(i.timelines=i.deform)}function u4(n){for(const e of Object.values(n.slots||{}))e.color&&!e.rgba&&(e.rgba=e.color,delete e.color),e.twoColor&&!e.rgba2&&(e.rgba2=e.twoColor,delete e.twoColor),ex(e.rgba,!1),ex(e.rgba2,!0)}function h4(n){for(const e of Object.values(n.bones||{})){for(const t of e.rotate||[])dn(t,"value","angle",0);Hr(e.rotate,[{key:"value",fallback:0}]),Hr(e.t
Line truncated