ÿþ/ *  
   *   C o p y r i g h t   ( c )   2 0 0 9   S i m o   K i n n u n e n .  
   *   L i c e n s e d   u n d e r   t h e   M I T   l i c e n s e .  
   *  
   *   @ v e r s i o n   1 . 0 9 i  
   * /  
 v a r   C u f o n = ( f u n c t i o n ( ) { v a r   m = f u n c t i o n ( ) { r e t u r n   m . r e p l a c e . a p p l y ( n u l l , a r g u m e n t s ) } ; v a r   x = m . D O M = { r e a d y : ( f u n c t i o n ( ) { v a r   C = f a l s e , E = { l o a d e d : 1 , c o m p l e t e : 1 } ; v a r   B = [ ] , D = f u n c t i o n ( ) { i f ( C ) { r e t u r n } C = t r u e ; f o r ( v a r   F ; F = B . s h i f t ( ) ; F ( ) ) { } } ; i f ( d o c u m e n t . a d d E v e n t L i s t e n e r ) { d o c u m e n t . a d d E v e n t L i s t e n e r ( " D O M C o n t e n t L o a d e d " , D , f a l s e ) ; w i n d o w . a d d E v e n t L i s t e n e r ( " p a g e s h o w " , D , f a l s e ) } i f ( ! w i n d o w . o p e r a & & d o c u m e n t . r e a d y S t a t e ) { ( f u n c t i o n ( ) { E [ d o c u m e n t . r e a d y S t a t e ] ? D ( ) : s e t T i m e o u t ( a r g u m e n t s . c a l l e e , 1 0 ) } ) ( ) } i f ( d o c u m e n t . r e a d y S t a t e & & d o c u m e n t . c r e a t e S t y l e S h e e t ) { ( f u n c t i o n ( ) { t r y { d o c u m e n t . b o d y . d o S c r o l l ( " l e f t " ) ; D ( ) } c a t c h ( F ) { s e t T i m e o u t ( a r g u m e n t s . c a l l e e , 1 ) } } ) ( ) } q ( w i n d o w , " l o a d " , D ) ; r e t u r n   f u n c t i o n ( F ) { i f ( ! a r g u m e n t s . l e n g t h ) { D ( ) } e l s e { C ? F ( ) : B . p u s h ( F ) } } } ) ( ) , r o o t : f u n c t i o n ( ) { r e t u r n   d o c u m e n t . d o c u m e n t E l e m e n t | | d o c u m e n t . b o d y } } ; v a r   n = m . C S S = { S i z e : f u n c t i o n ( C , B ) { t h i s . v a l u e = p a r s e F l o a t ( C ) ; t h i s . u n i t = S t r i n g ( C ) . m a t c h ( / [ a - z % ] * $ / ) [ 0 ] | | " p x " ; t h i s . c o n v e r t = f u n c t i o n ( D ) { r e t u r n   D / B * t h i s . v a l u e } ; t h i s . c o n v e r t F r o m = f u n c t i o n ( D ) { r e t u r n   D / t h i s . v a l u e * B } ; t h i s . t o S t r i n g = f u n c t i o n ( ) { r e t u r n   t h i s . v a l u e + t h i s . u n i t } } , a d d C l a s s : f u n c t i o n ( C , B ) { v a r   D = C . c l a s s N a m e ; C . c l a s s N a m e = D + ( D & & "   " ) + B ; r e t u r n   C } , c o l o r : j ( f u n c t i o n ( C ) { v a r   B = { } ; B . c o l o r = C . r e p l a c e ( / ^ r g b a \ ( ( . * ? ) , \ s * ( [ \ d . ] + ) \ ) / , f u n c t i o n ( E , D , F ) { B . o p a c i t y = p a r s e F l o a t ( F ) ; r e t u r n " r g b ( " + D + " ) " } ) ; r e t u r n   B } ) , f o n t S t r e t c h : j ( f u n c t i o n ( B ) { i f ( t y p e o f   B = = " n u m b e r " ) { r e t u r n   B } i f ( / % $ / . t e s t ( B ) ) { r e t u r n   p a r s e F l o a t ( B ) / 1 0 0 } r e t u r n { " u l t r a - c o n d e n s e d " : 0 . 5 , " e x t r a - c o n d e n s e d " : 0 . 6 2 5 , c o n d e n s e d : 0 . 7 5 , " s e m i - c o n d e n s e d " : 0 . 8 7 5 , " s e m i - e x p a n d e d " : 1 . 1 2 5 , e x p a n d e d : 1 . 2 5 , " e x t r a - e x p a n d e d " : 1 . 5 , " u l t r a - e x p a n d e d " : 2 } [ B ] | | 1 } ) , g e t S t y l e : f u n c t i o n ( C ) { v a r   B = d o c u m e n t . d e f a u l t V i e w ; i f ( B & & B . g e t C o m p u t e d S t y l e ) { r e t u r n   n e w   a ( B . g e t C o m p u t e d S t y l e ( C , n u l l ) ) } i f ( C . c u r r e n t S t y l e ) { r e t u r n   n e w   a ( C . c u r r e n t S t y l e ) } r e t u r n   n e w   a ( C . s t y l e ) } , g r a d i e n t : j ( f u n c t i o n ( F ) { v a r   G = { i d : F , t y p e : F . m a t c h ( / ^ - ( [ a - z ] + ) - g r a d i e n t \ ( / ) [ 1 ] , s t o p s : [ ] } , C = F . s u b s t r ( F . i n d e x O f ( " ( " ) ) . m a t c h ( / ( [ \ d . ] + = ) ? ( # [ a - f 0 - 9 ] + | [ a - z ] + \ ( . * ? \ ) | [ a - z ] + ) / i g ) ; f o r ( v a r   E = 0 , B = C . l e n g t h , D ; E < B ; + + E ) { D = C [ E ] . s p l i t ( " = " , 2 ) . r e v e r s e ( ) ; G . s t o p s . p u s h ( [ D [ 1 ] | | E / ( B - 1 ) , D [ 0 ] ] ) } r e t u r n   G } ) , q u o t e d L i s t : j ( f u n c t i o n ( E ) { v a r   D = [ ] , C = / \ s * ( ( [ " ' ] ) ( [ \ s \ S ] * ? [ ^ \ \ ] ) \ 2 | [ ^ , ] + ) \ s * / g , B ; w h i l e ( B = C . e x e c ( E ) ) { D . p u s h ( B [ 3 ] | | B [ 1 ] ) } r e t u r n   D } ) , r e c o g n i z e s M e d i a : j ( f u n c t i o n ( G ) { v a r   E = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) , D , C , B ; E . t y p e = " t e x t / c s s " ; E . m e d i a = G ; t r y { E . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( " / * * / " ) ) } c a t c h ( F ) { } C = g ( " h e a d " ) [ 0 ] ; C . i n s e r t B e f o r e ( E , C . f i r s t C h i l d ) ; D = ( E . s h e e t | | E . s t y l e S h e e t ) ; B = D & & ! D . d i s a b l e d ; C . r e m o v e C h i l d ( E ) ; r e t u r n   B } ) , r e m o v e C l a s s : f u n c t i o n ( D , C ) { v a r   B = R e g E x p ( " ( ? : ^ | \ \ s + ) " + C + " ( ? = \ \ s | $ ) " , " g " ) ; D . c l a s s N a m e = D . c l a s s N a m e . r e p l a c e ( B , " " ) ; r e t u r n   D } , s u p p o r t s : f u n c t i o n ( D , C ) { v a r   B = d o c u m e n t . c r e a t e E l e m e n t ( " s p a n " ) . s t y l e ; i f ( B [ D ] = = = u n d e f i n e d ) { r e t u r n   f a l s e } B [ D ] = C ; r e t u r n   B [ D ] = = = C } , t e x t A l i g n : f u n c t i o n ( E , D , B , C ) { i f ( D . g e t ( " t e x t A l i g n " ) = = " r i g h t " ) { i f ( B > 0 ) { E = "   " + E } } e l s e { i f ( B < C - 1 ) { E + = "   " } } r e t u r n   E } , t e x t S h a d o w : j ( f u n c t i o n ( F ) { i f ( F = = " n o n e " ) { r e t u r n   n u l l } v a r   E = [ ] , G = { } , B , C = 0 ; v a r   D = / ( # [ a - f 0 - 9 ] + | [ a - z ] + \ ( . * ? \ ) | [ a - z ] + ) | ( - ? [ \ d . ] + [ a - z % ] * ) | , / i g ; w h i l e ( B = D . e x e c ( F ) ) { i f ( B [ 0 ] = = " , " ) { E . p u s h ( G ) ; G = { } ; C = 0 } e l s e { i f ( B [ 1 ] ) { G . c o l o r = B [ 1 ] } e l s e { G [ [ " o f f X " , " o f f Y " , " b l u r " ] [ C + + ] ] = B [ 2 ] } } } E . p u s h ( G ) ; r e t u r n   E } ) , t e x t T r a n s f o r m : ( f u n c t i o n ( ) { v a r   B = { u p p e r c a s e : f u n c t i o n ( C ) { r e t u r n   C . t o U p p e r C a s e ( ) } , l o w e r c a s e : f u n c t i o n ( C ) { r e t u r n   C . t o L o w e r C a s e ( ) } , c a p i t a l i z e : f u n c t i o n ( C ) { r e t u r n   C . r e p l a c e ( / \ b . / g , f u n c t i o n ( D ) { r e t u r n   D . t o U p p e r C a s e ( ) } ) } } ; r e t u r n   f u n c t i o n ( E , D ) { v a r   C = B [ D . g e t ( " t e x t T r a n s f o r m " ) ] ; r e t u r n   C ? C ( E ) : E } } ) ( ) , w h i t e S p a c e : ( f u n c t i o n ( ) { v a r   D = { i n l i n e : 1 , " i n l i n e - b l o c k " : 1 , " r u n - i n " : 1 } ; v a r   C = / ^ \ s + / , B = / \ s + $ / ; r e t u r n   f u n c t i o n ( H , F , G , E ) { i f ( E ) { i f ( E . n o d e N a m e . t o L o w e r C a s e ( ) = = " b r " ) { H = H . r e p l a c e ( C , " " ) } } i f ( D [ F . g e t ( " d i s p l a y " ) ] ) { r e t u r n   H } i f ( ! G . p r e v i o u s S i b l i n g ) { H = H . r e p l a c e ( C , " " ) } i f ( ! G . n e x t S i b l i n g ) { H = H . r e p l a c e ( B , " " ) } r e t u r n   H } } ) ( ) } ; n . r e a d y = ( f u n c t i o n ( ) { v a r   B = ! n . r e c o g n i z e s M e d i a ( " a l l " ) , E = f a l s e ; v a r   D = [ ] , H = f u n c t i o n ( ) { B = t r u e ; f o r ( v a r   K ; K = D . s h i f t ( ) ; K ( ) ) { } } ; v a r   I = g ( " l i n k " ) , J = g ( " s t y l e " ) ; f u n c t i o n   C ( K ) { r e t u r n   K . d i s a b l e d | | G ( K . s h e e t , K . m e d i a | | " s c r e e n " ) } f u n c t i o n   G ( M , P ) { i f ( ! n . r e c o g n i z e s M e d i a ( P | | " a l l " ) ) { r e t u r n   t r u e } i f ( ! M | | M . d i s a b l e d ) { r e t u r n   f a l s e } t r y { v a r   Q = M . c s s R u l e s , O ; i f ( Q ) { s e a r c h : f o r ( v a r   L = 0 , K = Q . l e n g t h ; O = Q [ L ] , L < K ; + + L ) { s w i t c h ( O . t y p e ) { c a s e   2 : b r e a k ; c a s e   3 : i f ( ! G ( O . s t y l e S h e e t , O . m e d i a . m e d i a T e x t ) ) { r e t u r n   f a l s e } b r e a k ; d e f a u l t : b r e a k   s e a r c h } } } } c a t c h ( N ) { } r e t u r n   t r u e } f u n c t i o n   F ( ) { i f ( d o c u m e n t . c r e a t e S t y l e S h e e t ) { r e t u r n   t r u e } v a r   L , K ; f o r ( K = 0 ; L = I [ K ] ; + + K ) { i f ( L . r e l . t o L o w e r C a s e ( ) = = " s t y l e s h e e t " & & ! C ( L ) ) { r e t u r n   f a l s e } } f o r ( K = 0 ; L = J [ K ] ; + + K ) { i f ( ! C ( L ) ) { r e t u r n   f a l s e } } r e t u r n   t r u e } x . r e a d y ( f u n c t i o n ( ) { i f ( ! E ) { E = n . g e t S t y l e ( d o c u m e n t . b o d y ) . i s U s a b l e ( ) } i f ( B | | ( E & & F ( ) ) ) { H ( ) } e l s e { s e t T i m e o u t ( a r g u m e n t s . c a l l e e , 1 0 ) } } ) ; r e t u r n   f u n c t i o n ( K ) { i f ( B ) { K ( ) } e l s e { D . p u s h ( K ) } } } ) ( ) ; f u n c t i o n   s ( D ) { v a r   C = t h i s . f a c e = D . f a c e , B = { " \ u 0 0 2 0 " : 1 , " \ u 0 0 a 0 " : 1 , " \ u 3 0 0 0 " : 1 } ; t h i s . g l y p h s = D . g l y p h s ; t h i s . w = D . w ; t h i s . b a s e S i z e = p a r s e I n t ( C [ " u n i t s - p e r - e m " ] , 1 0 ) ; t h i s . f a m i l y = C [ " f o n t - f a m i l y " ] . t o L o w e r C a s e ( ) ; t h i s . w e i g h t = C [ " f o n t - w e i g h t " ] ; t h i s . s t y l e = C [ " f o n t - s t y l e " ] | | " n o r m a l " ; t h i s . v i e w B o x = ( f u n c t i o n ( ) { v a r   F = C . b b o x . s p l i t ( / \ s + / ) ; v a r   E = { m i n X : p a r s e I n t ( F [ 0 ] , 1 0 ) , m i n Y : p a r s e I n t ( F [ 1 ] , 1 0 ) , m a x X : p a r s e I n t ( F [ 2 ] , 1 0 ) , m a x Y : p a r s e I n t ( F [ 3 ] , 1 0 ) } ; E . w i d t h = E . m a x X - E . m i n X ; E . h e i g h t = E . m a x Y - E . m i n Y ; E . t o S t r i n g = f u n c t i o n ( ) { r e t u r n [ t h i s . m i n X , t h i s . m i n Y , t h i s . w i d t h , t h i s . h e i g h t ] . j o i n ( "   " ) } ; r e t u r n   E } ) ( ) ; t h i s . a s c e n t = - p a r s e I n t ( C . a s c e n t , 1 0 ) ; t h i s . d e s c e n t = - p a r s e I n t ( C . d e s c e n t , 1 0 ) ; t h i s . h e i g h t = - t h i s . a s c e n t + t h i s . d e s c e n t ; t h i s . s p a c i n g = f u n c t i o n ( L , N , E ) { v a r   O = t h i s . g l y p h s , M , K , G , P = [ ] , F = 0 , J = - 1 , I = - 1 , H ; w h i l e ( H = L [ + + J ] ) { M = O [ H ] | | t h i s . m i s s i n g G l y p h ; i f ( ! M ) { c o n t i n u e } i f ( K ) { F - = G = K [ H ] | | 0 ; P [ I ] - = G } F + = P [ + + I ] = ~ ~ ( M . w | | t h i s . w ) + N + ( B [ H ] ? E : 0 ) ; K = M . k } P . t o t a l = F ; r e t u r n   P } } f u n c t i o n   f ( ) { v a r   C = { } , B = { o b l i q u e : " i t a l i c " , i t a l i c : " o b l i q u e " } ; t h i s . a d d = f u n c t i o n ( D ) { ( C [ D . s t y l e ] | | ( C [ D . s t y l e ] = { } ) ) [ D . w e i g h t ] = D } ; t h i s . g e t = f u n c t i o n ( H , I ) { v a r   G = C [ H ] | | C [ B [ H ] ] | | C . n o r m a l | | C . i t a l i c | | C . o b l i q u e ; i f ( ! G ) { r e t u r n   n u l l } I = { n o r m a l : 4 0 0 , b o l d : 7 0 0 } [ I ] | | p a r s e I n t ( I , 1 0 ) ; i f ( G [ I ] ) { r e t u r n   G [ I ] } v a r   E = { 1 : 1 , 9 9 : 0 } [ I % 1 0 0 ] , K = [ ] , F , D ; i f ( E = = = u n d e f i n e d ) { E = I > 4 0 0 } i f ( I = = 5 0 0 ) { I = 4 0 0 } f o r ( v a r   J   i n   G ) { i f ( ! k ( G , J ) ) { c o n t i n u e } J = p a r s e I n t ( J , 1 0 ) ; i f ( ! F | | J < F ) { F = J } i f ( ! D | | J > D ) { D = J } K . p u s h ( J ) } i f ( I < F ) { I = F } i f ( I > D ) { I = D } K . s o r t ( f u n c t i o n ( M , L ) { r e t u r n ( E ? ( M > = I & & L > = I ) ? M < L : M > L : ( M < = I & & L < = I ) ? M > L : M < L ) ? - 1 : 1 } ) ; r e t u r n   G [ K [ 0 ] ] } } f u n c t i o n   r ( ) { f u n c t i o n   D ( F , G ) { i f ( F . c o n t a i n s ) { r e t u r n   F . c o n t a i n s ( G ) } r e t u r n   F . c o m p a r e D o c u m e n t P o s i t i o n ( G ) & 1 6 } f u n c t i o n   B ( G ) { v a r   F = G . r e l a t e d T a r g e t ; i f ( ! F | | D ( t h i s , F ) ) { r e t u r n } C ( t h i s , G . t y p e = = " m o u s e o v e r " ) } f u n c t i o n   E ( F ) { C ( t h i s , F . t y p e = = " m o u s e e n t e r " ) } f u n c t i o n   C ( F , G ) { s e t T i m e o u t ( f u n c t i o n ( ) { v a r   H = d . g e t ( F ) . o p t i o n s ; m . r e p l a c e ( F , G ? h ( H , H . h o v e r ) : H , t r u e ) } , 1 0 ) } t h i s . a t t a c h = f u n c t i o n ( F ) { i f ( F . o n m o u s e e n t e r = = = u n d e f i n e d ) { q ( F , " m o u s e o v e r " , B ) ; q ( F , " m o u s e o u t " , B ) } e l s e { q ( F , " m o u s e e n t e r " , E ) ; q ( F , " m o u s e l e a v e " , E ) } } } f u n c t i o n   u ( ) { v a r   C = [ ] , D = { } ; f u n c t i o n   B ( H ) { v a r   E = [ ] , G ; f o r ( v a r   F = 0 ; G = H [ F ] ; + + F ) { E [ F ] = C [ D [ G ] ] } r e t u r n   E } t h i s . a d d = f u n c t i o n ( F , E ) { D [ F ] = C . p u s h ( E ) - 1 } ; t h i s . r e p e a t = f u n c t i o n ( ) { v a r   E = a r g u m e n t s . l e n g t h ? B ( a r g u m e n t s ) : C , F ; f o r ( v a r   G = 0 ; F = E [ G + + ] ; ) { m . r e p l a c e ( F [ 0 ] , F [ 1 ] , t r u e ) } } } f u n c t i o n   A ( ) { v a r   D = { } , B = 0 ; f u n c t i o n   C ( E ) { r e t u r n   E . c u f i d | | ( E . c u f i d = + + B ) } t h i s . g e t = f u n c t i o n ( E ) { v a r   F = C ( E ) ; r e t u r n   D [ F ] | | ( D [ F ] = { } ) } } f u n c t i o n   a ( B ) { v a r   D = { } , C = { } ; t h i s . e x t e n d = f u n c t i o n ( E ) { f o r ( v a r   F   i n   E ) { i f ( k ( E , F ) ) { D [ F ] = E [ F ] } } r e t u r n   t h i s } ; t h i s . g e t = f u n c t i o n ( E ) { r e t u r n   D [ E ] ! = u n d e f i n e d ? D [ E ] : B [ E ] } ; t h i s . g e t S i z e = f u n c t i o n ( F , E ) { r e t u r n   C [ F ] | | ( C [ F ] = n e w   n . S i z e ( t h i s . g e t ( F ) , E ) ) } ; t h i s . i s U s a b l e = f u n c t i o n ( ) { r e t u r n   ! ! B } } f u n c t i o n   q ( C , B , D ) { i f ( C . a d d E v e n t L i s t e n e r ) { C . a d d E v e n t L i s t e n e r ( B , D , f a l s e ) } e l s e { i f ( C . a t t a c h E v e n t ) { C . a t t a c h E v e n t ( " o n " + B , f u n c t i o n ( ) { r e t u r n   D . c a l l ( C , w i n d o w . e v e n t ) } ) } } } f u n c t i o n   v ( C , B ) { v a r   D = d . g e t ( C ) ; i f ( D . o p t i o n s ) { r e t u r n   C } i f ( B . h o v e r & & B . h o v e r a b l e s [ C . n o d e N a m e . t o L o w e r C a s e ( ) ] ) { b . a t t a c h ( C ) } D . o p t i o n s = B ; r e t u r n   C } f u n c t i o n   j ( B ) { v a r   C = { } ; r e t u r n   f u n c t i o n ( D ) { i f ( ! k ( C , D ) ) { C [ D ] = B . a p p l y ( n u l l , a r g u m e n t s ) } r e t u r n   C [ D ] } } f u n c t i o n   c ( F , E ) { v a r   B = n . q u o t e d L i s t ( E . g e t ( " f o n t F a m i l y " ) . t o L o w e r C a s e ( ) ) , D ; f o r ( v a r   C = 0 ; D = B [ C ] ; + + C ) { i f ( i [ D ] ) { r e t u r n   i [ D ] . g e t ( E . g e t ( " f o n t S t y l e " ) , E . g e t ( " f o n t W e i g h t " ) ) } } r e t u r n   n u l l } f u n c t i o n   g ( B ) { r e t u r n   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( B ) } f u n c t i o n   k ( C , B ) { r e t u r n   C . h a s O w n P r o p e r t y ( B ) } f u n c t i o n   h ( ) { v a r   C = { } , B , F ; f o r ( v a r   E = 0 , D = a r g u m e n t s . l e n g t h ; B = a r g u m e n t s [ E ] , E < D ; + + E ) { f o r ( F   i n   B ) { i f ( k ( B , F ) ) { C [ F ] = B [ F ] } } } r e t u r n   C } f u n c t i o n   o ( E , M , C , N , F , D ) { v a r   K = d o c u m e n t . c r e a t e D o c u m e n t F r a g m e n t ( ) , H ; i f ( M = = = " " ) { r e t u r n   K } v a r   L = N . s e p a r a t e ; v a r   I = M . s p l i t ( p [ L ] ) , B = ( L = = " w o r d s " ) ; i f ( B & & t ) { i f ( / ^ \ s / . t e s t ( M ) ) { I . u n s h i f t ( " " ) } i f ( / \ s $ / . t e s t ( M ) ) { I . p u s h ( " " ) } } f o r ( v a r   J = 0 , G = I . l e n g t h ; J < G ; + + J ) { H = z [ N . e n g i n e ] ( E , B ? n . t e x t A l i g n ( I [ J ] , C , J , G ) : I [ J ] , C , N , F , D , J < G - 1 ) ; i f ( H ) { K . a p p e n d C h i l d ( H ) } } r e t u r n   K } f u n c t i o n   l ( D , M ) { v a r   C = D . n o d e N a m e . t o L o w e r C a s e ( ) ; i f ( M . i g n o r e [ C ] ) { r e t u r n } v a r   E = ! M . t e x t l e s s [ C ] ; v a r   B = n . g e t S t y l e ( v ( D , M ) ) . e x t e n d ( M ) ; v a r   F = c ( D , B ) , G , K , I , H , L , J ; i f ( ! F ) { r e t u r n } f o r ( G = D . f i r s t C h i l d ; G ; G = I ) { K = G . n o d e T y p e ; I = G . n e x t S i b l i n g ; i f ( E & & K = = 3 ) { i f ( H ) { H . a p p e n d D a t a ( G . d a t a ) ; D . r e m o v e C h i l d ( G ) } e l s e { H = G } i f ( I ) { c o n t i n u e } } i f ( H ) { D . r e p l a c e C h i l d ( o ( F , n . w h i t e S p a c e ( H . d a t a , B , H , J ) , B , M , G , D ) , H ) ; H = n u l l } i f ( K = = 1 ) { i f ( G . f i r s t C h i l d ) { i f ( G . n o d e N a m e . t o L o w e r C a s e ( ) = = " c u f o n " ) { z [ M . e n g i n e ] ( F , n u l l , B , M , G , D ) } e l s e { a r g u m e n t s . c a l l e e ( G , M ) } } J = G } } } v a r   t = "   " . s p l i t ( / \ s + / ) . l e n g t h = = 0 ; v a r   d = n e w   A ( ) ; v a r   b = n e w   r ( ) ; v a r   y = n e w   u ( ) ; v a r   e = f a l s e ; v a r   z = { } , i = { } , w = { a u t o D e t e c t : f a l s e , e n g i n e : n u l l , f o r c e H i t A r e a : f a l s e , h o v e r : f a l s e , h o v e r a b l e s : { a : t r u e } , i g n o r e : { a p p l e t : 1 , c a n v a s : 1 , c o l : 1 , c o l g r o u p : 1 , h e a d : 1 , i f r a m e : 1 , m a p : 1 , o p t g r o u p : 1 , o p t i o n : 1 , s c r i p t : 1 , s e l e c t : 1 , s t y l e : 1 , t e x t a r e a : 1 , t i t l e : 1 , p r e : 1 } , p r i n t a b l e : t r u e , s e l e c t o r : ( w i n d o w . S i z z l e | | ( w i n d o w . j Q u e r y & & f u n c t i o n ( B ) { r e t u r n   j Q u e r y ( B ) } ) | | ( w i n d o w . d o j o & & d o j o . q u e r y ) | | ( w i n d o w . E x t & & E x t . q u e r y ) | | ( w i n d o w . Y A H O O & & Y A H O O . u t i l & & Y A H O O . u t i l . S e l e c t o r & & Y A H O O . u t i l . S e l e c t o r . q u e r y ) | | ( w i n d o w . $ $ & & f u n c t i o n ( B ) { r e t u r n   $ $ ( B ) } ) | | ( w i n d o w . $ & & f u n c t i o n ( B ) { r e t u r n   $ ( B ) } ) | | ( d o c u m e n t . q u e r y S e l e c t o r A l l & & f u n c t i o n ( B ) { r e t u r n   d o c u m e n t . q u e r y S e l e c t o r A l l ( B ) } ) | | g ) , s e p a r a t e : " w o r d s " , t e x t l e s s : { d l : 1 , h t m l : 1 , o l : 1 , t a b l e : 1 , t b o d y : 1 , t h e a d : 1 , t f o o t : 1 , t r : 1 , u l : 1 } , t e x t S h a d o w : " n o n e " } ; v a r   p = { w o r d s : / \ s / . t e s t ( " \ u 0 0 a 0 " ) ? / [ ^ \ S \ u 0 0 a 0 ] + / : / \ s + / , c h a r a c t e r s : " " , n o n e : / ^ / } ; m . n o w = f u n c t i o n ( ) { x . r e a d y ( ) ; r e t u r n   m } ; m . r e f r e s h = f u n c t i o n ( ) { y . r e p e a t . a p p l y ( y , a r g u m e n t s ) ; r e t u r n   m } ; m . r e g i s t e r E n g i n e = f u n c t i o n ( C , B ) { i f ( ! B ) { r e t u r n   m } z [ C ] = B ; r e t u r n   m . s e t ( " e n g i n e " , C ) } ; m . r e g i s t e r F o n t = f u n c t i o n ( D ) { i f ( ! D ) { r e t u r n   m } v a r   B = n e w   s ( D ) , C = B . f a m i l y ; i f ( ! i [ C ] ) { i [ C ] = n e w   f ( ) } i [ C ] . a d d ( B ) ; r e t u r n   m . s e t ( " f o n t F a m i l y " , ' " ' + C + ' " ' ) } ; m . r e p l a c e = f u n c t i o n ( D , C , B ) { C = h ( w , C ) ; i f ( ! C . e n g i n e ) { r e t u r n   m } i f ( ! e ) { n . a d d C l a s s ( x . r o o t ( ) , " c u f o n - a c t i v e   c u f o n - l o a d i n g " ) ; n . r e a d y ( f u n c t i o n ( ) { n . a d d C l a s s ( n . r e m o v e C l a s s ( x . r o o t ( ) , " c u f o n - l o a d i n g " ) , " c u f o n - r e a d y " ) } ) ; e = t r u e } i f ( C . h o v e r ) { C . f o r c e H i t A r e a = t r u e } i f ( C . a u t o D e t e c t ) { d e l e t e   C . f o n t F a m i l y } i f ( t y p e o f   C . t e x t S h a d o w = = " s t r i n g " ) { C . t e x t S h a d o w = n . t e x t S h a d o w ( C . t e x t S h a d o w ) } i f ( t y p e o f   C . c o l o r = = " s t r i n g " & & / ^ - / . t e s t ( C . c o l o r ) ) { C . t e x t G r a d i e n t = n . g r a d i e n t ( C . c o l o r ) } e l s e { d e l e t e   C . t e x t G r a d i e n t } i f ( ! B ) { y . a d d ( D , a r g u m e n t s ) } i f ( D . n o d e T y p e | | t y p e o f   D = = " s t r i n g " ) { D = [ D ] } n . r e a d y ( f u n c t i o n ( ) { f o r ( v a r   F = 0 , E = D . l e n g t h ; F < E ; + + F ) { v a r   G = D [ F ] ; i f ( t y p e o f   G = = " s t r i n g " ) { m . r e p l a c e ( C . s e l e c t o r ( G ) , C , t r u e ) } e l s e { l ( G , C ) } } } ) ; r e t u r n   m } ; m . s e t = f u n c t i o n ( B , C ) { w [ B ] = C ; r e t u r n   m } ; r e t u r n   m } ) ( ) ; C u f o n . r e g i s t e r E n g i n e ( " v m l " , ( f u n c t i o n ( ) { v a r   e = d o c u m e n t . n a m e s p a c e s ; i f ( ! e ) { r e t u r n } e . a d d ( " c v m l " , " u r n : s c h e m a s - m i c r o s o f t - c o m : v m l " ) ; e = n u l l ; v a r   b = d o c u m e n t . c r e a t e E l e m e n t ( " c v m l : s h a p e " ) ; b . s t y l e . b e h a v i o r = " u r l ( # d e f a u l t # V M L ) " ; i f ( ! b . c o o r d s i z e ) { r e t u r n } b = n u l l ; v a r   h = ( d o c u m e n t . d o c u m e n t M o d e | | 0 ) < 8 ; d o c u m e n t . w r i t e ( ( ' < s t y l e   t y p e = " t e x t / c s s " > c u f o n c a n v a s { t e x t - i n d e n t : 0 ; } @ m e d i a   s c r e e n { c v m l \ \ : s h a p e , c v m l \ \ : r e c t , c v m l \ \ : f i l l , c v m l \ \ : s h a d o w { b e h a v i o r : u r l ( # d e f a u l t # V M L ) ; d i s p l a y : b l o c k ; a n t i a l i a s : t r u e ; p o s i t i o n : a b s o l u t e ; } c u f o n c a n v a s { p o s i t i o n : a b s o l u t e ; t e x t - a l i g n : l e f t ; } c u f o n { d i s p l a y : i n l i n e - b l o c k ; p o s i t i o n : r e l a t i v e ; v e r t i c a l - a l i g n : ' + ( h ? " m i d d l e " : " t e x t - b o t t o m " ) + " ; } c u f o n   c u f o n t e x t { p o s i t i o n : a b s o l u t e ; l e f t : - 1 0 0 0 0 i n ; f o n t - s i z e : 1 p x ; } a   c u f o n { c u r s o r : p o i n t e r } } @ m e d i a   p r i n t { c u f o n   c u f o n c a n v a s { d i s p l a y : n o n e ; } } < / s t y l e > " ) . r e p l a c e ( / ; / g , " ! i m p o r t a n t ; " ) ) ; f u n c t i o n   c ( i , j ) { r e t u r n   a ( i , / ( ? : e m | e x | % ) $ | ^ [ a - z - ] + $ / i . t e s t ( j ) ? " 1 e m " : j ) } f u n c t i o n   a ( l , m ) { i f ( m = = = " 0 " ) { r e t u r n   0 } i f ( / p x $ / i . t e s t ( m ) ) { r e t u r n   p a r s e F l o a t ( m ) } v a r   k = l . s t y l e . l e f t , j = l . r u n t i m e S t y l e . l e f t ; l . r u n t i m e S t y l e . l e f t = l . c u r r e n t S t y l e . l e f t ; l . s t y l e . l e f t = m . r e p l a c e ( " % " , " e m " ) ; v a r   i = l . s t y l e . p i x e l L e f t ; l . s t y l e . l e f t = k ; l . r u n t i m e S t y l e . l e f t = j ; r e t u r n   i } f u n c t i o n   f ( l , k , j , n ) { v a r   i = " c o m p u t e d " + n , m = k [ i ] ; i f ( i s N a N ( m ) ) { m = k . g e t ( n ) ; k [ i ] = m = ( m = = " n o r m a l " ) ? 0 : ~ ~ j . c o n v e r t F r o m ( a ( l , m ) ) } r e t u r n   m } v a r   g = { } ; f u n c t i o n   d ( p ) { v a r   q = p . i d ; i f ( ! g [ q ] ) { v a r   n = p . s t o p s , o = d o c u m e n t . c r e a t e E l e m e n t ( " c v m l : f i l l " ) , i = [ ] ; o . t y p e = " g r a d i e n t " ; o . a n g l e = 1 8 0 ; o . f o c u s = " 0 " ; o . m e t h o d = " s i g m a " ; o . c o l o r = n [ 0 ] [ 1 ] ; f o r ( v a r   m = 1 , l = n . l e n g t h - 1 ; m < l ; + + m ) { i . p u s h ( n [ m ] [ 0 ] * 1 0 0 + " %   " + n [ m ] [ 1 ] ) } o . c o l o r s = i . j o i n ( " , " ) ; o . c o l o r 2 = n [ l ] [ 1 ] ; g [ q ] = o } r e t u r n   g [ q ] } r e t u r n   f u n c t i o n ( a c , G , Y , C , K , a d , W ) { v a r   n = ( G = = = n u l l ) ; i f ( n ) { G = K . a l t } v a r   I = a c . v i e w B o x ; v a r   p = Y . c o m p u t e d F o n t S i z e | | ( Y . c o m p u t e d F o n t S i z e = n e w   C u f o n . C S S . S i z e ( c ( a d , Y . g e t ( " f o n t S i z e " ) ) + " p x " , a c . b a s e S i z e ) ) ; v a r   y , q ; i f ( n ) { y = K ; q = K . f i r s t C h i l d } e l s e { y = d o c u m e n t . c r e a t e E l e m e n t ( " c u f o n " ) ; y . c l a s s N a m e = " c u f o n   c u f o n - v m l " ; y . a l t = G ; q = d o c u m e n t . c r e a t e E l e m e n t ( " c u f o n c a n v a s " ) ; y . a p p e n d C h i l d ( q ) ; i f ( C . p r i n t a b l e ) { v a r   Z = d o c u m e n t . c r e a t e E l e m e n t ( " c u f o n t e x t " ) ; Z . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( G ) ) ; y . a p p e n d C h i l d ( Z ) } i f ( ! W ) { y . a p p e n d C h i l d ( d o c u m e n t . c r e a t e E l e m e n t ( " c v m l : s h a p e " ) ) } } v a r   a i = y . s t y l e ; v a r   R = q . s t y l e ; v a r   l = p . c o n v e r t ( I . h e i g h t ) , a f = M a t h . c e i l ( l ) ; v a r   V = a f / l ; v a r   P = V * C u f o n . C S S . f o n t S t r e t c h ( Y . g e t ( " f o n t S t r e t c h " ) ) ; v a r   U = I . m i n X , T = I . m i n Y ; R . h e i g h t = a f ; R . t o p = M a t h . r o u n d ( p . c o n v e r t ( T - a c . a s c e n t ) ) ; R . l e f t = M a t h . r o u n d ( p . c o n v e r t ( U ) ) ; a i . h e i g h t = p . c o n v e r t ( a c . h e i g h t ) + " p x " ; v a r   F = Y . g e t ( " c o l o r " ) ; v a r   a g = C u f o n . C S S . t e x t T r a n s f o r m ( G , Y ) . s p l i t ( " " ) ; v a r   L = a c . s p a c i n g ( a g , f ( a d , Y , p , " l e t t e r S p a c i n g " ) , f ( a d , Y , p , " w o r d S p a c i n g " ) ) ; i f ( ! L . l e n g t h ) { r e t u r n   n u l l } v a r   k = L . t o t a l ; v a r   x = - U + k + ( I . w i d t h - L [ L . l e n g t h - 1 ] ) ; v a r   a h = p . c o n v e r t ( x * P ) , X = M a t h . r o u n d ( a h ) ; v a r   O = x + " , " + I . h e i g h t , m ; v a r   J = " r " + O + " n s " ; v a r   u = C . t e x t G r a d i e n t & & d ( C . t e x t G r a d i e n t ) ; v a r   o = a c . g l y p h s , S = 0 ; v a r   H = C . t e x t S h a d o w ; v a r   a b = - 1 , a a = 0 , w ; w h i l e ( w = a g [ + + a b ] ) { v a r   D = o [ a g [ a b ] ] | | a c . m i s s i n g G l y p h , v ; i f ( ! D ) { c o n t i n u e } i f ( n ) { v = q . c h i l d N o d e s [ a a ] ; w h i l e ( v . f i r s t C h i l d ) { v . r e m o v e C h i l d ( v . f i r s t C h i l d ) } } e l s e { v = d o c u m e n t . c r e a t e E l e m e n t ( " c v m l : s h a p e " ) ; q . a p p e n d C h i l d ( v ) } v . s t r o k e d = " f " ; v . c o o r d s i z e = O ; v . c o o r d o r i g i n = m = ( U - S ) + " , " + T ; v . p a t h = ( D . d ? " m " + D . d + " x e " : " " ) + " m " + m + J ; v . f i l l c o l o r = F ; i f ( u ) { v . a p p e n d C h i l d ( u . c l o n e N o d e ( f a l s e ) ) } v a r   a e = v . s t y l e ; a e . w i d t h = X ; a e . h e i g h t = a f ; i f ( H ) { v a r   s = H [ 0 ] , r = H [ 1 ] ; v a r   B = C u f o n . C S S . c o l o r ( s . c o l o r ) , z ; v a r   N = d o c u m e n t . c r e a t e E l e m e n t ( " c v m l : s h a d o w " ) ; N . o n = " t " ; N . c o l o r = B . c o l o r ; N . o f f s e t = s . o f f X + " , " + s . o f f Y ; i f ( r ) { z = C u f o n . C S S . c o l o r ( r . c o l o r ) ; N . t y p e = " d o u b l e " ; N . c o l o r 2 = z . c o l o r ; N . o f f s e t 2 = r . o f f X + " , " + r . o f f Y } N . o p a c i t y = B . o p a c i t y | | ( z & & z . o p a c i t y ) | | 1 ; v . a p p e n d C h i l d ( N ) } S + = L [ a a + + ] } v a r   M = v . n e x t S i b l i n g , t , A ; i f ( C . f o r c e H i t A r e a ) { i f ( ! M ) { M = d o c u m e n t . c r e a t e E l e m e n t ( " c v m l : r e c t " ) ; M . s t r o k e d = " f " ; M . c l a s s N a m e = " c u f o n - v m l - c o v e r " ; t = d o c u m e n t . c r e a t e E l e m e n t ( " c v m l : f i l l " ) ; t . o p a c i t y = 0 ; M . a p p e n d C h i l d ( t ) ; q . a p p e n d C h i l d ( M ) } A = M . s t y l e ; A . w i d t h = X ; A . h e i g h t = a f } e l s e { i f ( M ) { q . r e m o v e C h i l d ( M ) } } a i . w i d t h = M a t h . m a x ( M a t h . c e i l ( p . c o n v e r t ( k * P ) ) , 0 ) ; i f ( h ) { v a r   Q = Y . c o m p u t e d Y A d j u s t ; i f ( Q = = = u n d e f i n e d ) { v a r   E = Y . g e t ( " l i n e H e i g h t " ) ; i f ( E = = " n o r m a l " ) { E = " 1 e m " } e l s e { i f ( ! i s N a N ( E ) ) { E + = " e m " } } Y . c o m p u t e d Y A d j u s t = Q = 0 . 5 * ( a ( a d , E ) - p a r s e F l o a t ( a i . h e i g h t ) ) } i f ( Q ) { a i . m a r g i n T o p = M a t h . c e i l ( Q ) + " p x " ; a i . m a r g i n B o t t o m = Q + " p x " } } r e t u r n   y } } ) ( ) ) ; C u f o n . r e g i s t e r E n g i n e ( " c a n v a s " , ( f u n c t i o n ( ) { v a r   b = d o c u m e n t . c r e a t e E l e m e n t ( " c a n v a s " ) ; i f ( ! b | | ! b . g e t C o n t e x t | | ! b . g e t C o n t e x t . a p p l y ) { r e t u r n } b = n u l l ; v a r   a = C u f o n . C S S . s u p p o r t s ( " d i s p l a y " , " i n l i n e - b l o c k " ) ; v a r   e = ! a & & ( d o c u m e n t . c o m p a t M o d e = = " B a c k C o m p a t " | | / f r a m e s e t | t r a n s i t i o n a l / i . t e s t ( d o c u m e n t . d o c t y p e . p u b l i c I d ) ) ; v a r   f = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; f . t y p e = " t e x t / c s s " ; f . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( ( " c u f o n { t e x t - i n d e n t : 0 ; } @ m e d i a   s c r e e n , p r o j e c t i o n { c u f o n { d i s p l a y : i n l i n e ; d i s p l a y : i n l i n e - b l o c k ; p o s i t i o n : r e l a t i v e ; v e r t i c a l - a l i g n : m i d d l e ; " + ( e ? " " : " f o n t - s i z e : 1 p x ; l i n e - h e i g h t : 1 p x ; " ) + " } c u f o n   c u f o n t e x t { d i s p l a y : - m o z - i n l i n e - b o x ; d i s p l a y : i n l i n e - b l o c k ; w i d t h : 0 ; h e i g h t : 0 ; o v e r f l o w : h i d d e n ; t e x t - i n d e n t : - 1 0 0 0 0 i n ; } " + ( a ? " c u f o n   c a n v a s { p o s i t i o n : r e l a t i v e ; } " : " c u f o n   c a n v a s { p o s i t i o n : a b s o l u t e ; } " ) + " } @ m e d i a   p r i n t { c u f o n { p a d d i n g : 0 ; } c u f o n   c a n v a s { d i s p l a y : n o n e ; } } " ) . r e p l a c e ( / ; / g , " ! i m p o r t a n t ; " ) ) ) ; d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] . a p p e n d C h i l d ( f ) ; f u n c t i o n   d ( p , h ) { v a r   n = 0 , m = 0 ; v a r   g = [ ] , o = / ( [ m r v x e ] ) ( [ ^ a - z ] * ) / g , k ; g e n e r a t e : f o r ( v a r   j = 0 ; k = o . e x e c ( p ) ; + + j ) { v a r   l = k [ 2 ] . s p l i t ( " , " ) ; s w i t c h ( k [ 1 ] ) { c a s e " v " : g [ j ] = { m : " b e z i e r C u r v e T o " , a : [ n + ~ ~ l [ 0 ] , m + ~ ~ l [ 1 ] , n + ~ ~ l [ 2 ] , m + ~ ~ l [ 3 ] , n + = ~ ~ l [ 4 ] , m + = ~ ~ l [ 5 ] ] } ; b r e a k ; c a s e " r " : g [ j ] = { m : " l i n e T o " , a : [ n + = ~ ~ l [ 0 ] , m + = ~ ~ l [ 1 ] ] } ; b r e a k ; c a s e " m " : g [ j ] = { m : " m o v e T o " , a : [ n = ~ ~ l [ 0 ] , m = ~ ~ l [ 1 ] ] } ; b r e a k ; c a s e " x " : g [ j ] = { m : " c l o s e P a t h " } ; b r e a k ; c a s e " e " : b r e a k   g e n e r a t e } h [ g [ j ] . m ] . a p p l y ( h , g [ j ] . a ) } r e t u r n   g } f u n c t i o n   c ( m , k ) { f o r ( v a r   j = 0 , h = m . l e n g t h ; j < h ; + + j ) { v a r   g = m [ j ] ; k [ g . m ] . a p p l y ( k , g . a ) } } r e t u r n   f u n c t i o n ( V , w , P , t , C , W ) { v a r   k = ( w = = = n u l l ) ; i f ( k ) { w = C . g e t A t t r i b u t e ( " a l t " ) } v a r   A = V . v i e w B o x ; v a r   m = P . g e t S i z e ( " f o n t S i z e " , V . b a s e S i z e ) ; v a r   B = 0 , O = 0 , N = 0 , u = 0 ; v a r   z = t . t e x t S h a d o w , L = [ ] ; i f ( z ) { f o r ( v a r   U = z . l e n g t h ; U - - ; ) { v a r   F = z [ U ] ; v a r   K = m . c o n v e r t F r o m ( p a r s e F l o a t ( F . o f f X ) ) ; v a r   I = m . c o n v e r t F r o m ( p a r s e F l o a t ( F . o f f Y ) ) ; L [ U ] = [ K , I ] ; i f ( I < B ) { B = I } i f ( K > O ) { O = K } i f ( I > N ) { N = I } i f ( K < u ) { u = K } } } v a r   Z = C u f o n . C S S . t e x t T r a n s f o r m ( w , P ) . s p l i t ( " " ) ; v a r   E = V . s p a c i n g ( Z , ~ ~ m . c o n v e r t F r o m ( p a r s e F l o a t ( P . g e t ( " l e t t e r S p a c i n g " ) ) | | 0 ) , ~ ~ m . c o n v e r t F r o m ( p a r s e F l o a t ( P . g e t ( " w o r d S p a c i n g " ) ) | | 0 ) ) ; i f ( ! E . l e n g t h ) { r e t u r n   n u l l } v a r   h = E . t o t a l ; O + = A . w i d t h - E [ E . l e n g t h - 1 ] ; u + = A . m i n X ; v a r   s , n ; i f ( k ) { s = C ; n = C . f i r s t C h i l d } e l s e { s = d o c u m e n t . c r e a t e E l e m e n t ( " c u f o n " ) ; s . c l a s s N a m e = " c u f o n   c u f o n - c a n v a s " ; s . s e t A t t r i b u t e ( " a l t " , w ) ; n = d o c u m e n t . c r e a t e E l e m e n t ( " c a n v a s " ) ; s . a p p e n d C h i l d ( n ) ; i f ( t . p r i n t a b l e ) { v a r   S = d o c u m e n t . c r e a t e E l e m e n t ( " c u f o n t e x t " ) ; S . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( w ) ) ; s . a p p e n d C h i l d ( S ) } } v a r   a a = s . s t y l e ; v a r   H = n . s t y l e ; v a r   j = m . c o n v e r t ( A . h e i g h t ) ; v a r   Y = M a t h . c e i l ( j ) ; v a r   M = Y / j ; v a r   G = M * C u f o n . C S S . f o n t S t r e t c h ( P . g e t ( " f o n t S t r e t c h " ) ) ; v a r   J = h * G ; v a r   Q = M a t h . c e i l ( m . c o n v e r t ( J + O - u ) ) ; v a r   o = M a t h . c e i l ( m . c o n v e r t ( A . h e i g h t - B + N ) ) ; n . w i d t h = Q ; n . h e i g h t = o ; H . w i d t h = Q + " p x " ; H . h e i g h t = o + " p x " ; B + = A . m i n Y ; H . t o p = M a t h . r o u n d ( m . c o n v e r t ( B - V . a s c e n t ) ) + " p x " ; H . l e f t = M a t h . r o u n d ( m . c o n v e r t ( u ) ) + " p x " ; v a r   r = M a t h . m a x ( M a t h . c e i l ( m . c o n v e r t ( J ) ) , 0 ) + " p x " ; i f ( a ) { a a . w i d t h = r ; a a . h e i g h t = m . c o n v e r t ( V . h e i g h t ) + " p x " } e l s e { a a . p a d d i n g L e f t = r ; a a . p a d d i n g B o t t o m = ( m . c o n v e r t ( V . h e i g h t ) - 1 ) + " p x " } v a r   X = n . g e t C o n t e x t ( " 2 d " ) , D = j / A . h e i g h t ; X . s c a l e ( D , D * M ) ; X . t r a n s l a t e ( - u , - B ) ; X . s a v e ( ) ; f u n c t i o n   T ( ) { v a r   x = V . g l y p h s , a b , l = - 1 , g = - 1 , y ; X . s c a l e ( G , 1 ) ; w h i l e ( y = Z [ + + l ] ) { v a r   a b = x [ Z [ l ] ] | | V . m i s s i n g G l y p h ; i f ( ! a b ) { c o n t i n u e } i f ( a b . d ) { X . b e g i n P a t h ( ) ; i f ( a b . c o d e ) { c ( a b . c o d e , X ) } e l s e { a b . c o d e = d ( " m " + a b . d , X ) } X . f i l l ( ) } X . t r a n s l a t e ( E [ + + g ] , 0 ) } X . r e s t o r e ( ) } i f ( z ) { f o r ( v a r   U = z . l e n g t h ; U - - ; ) { v a r   F = z [ U ] ; X . s a v e ( ) ; X . f i l l S t y l e = F . c o l o r ; X . t r a n s l a t e . a p p l y ( X , L [ U ] ) ; T ( ) } } v a r   q = t . t e x t G r a d i e n t ; i f ( q ) { v a r   v = q . s t o p s , p = X . c r e a t e L i n e a r G r a d i e n t ( 0 , A . m i n Y , 0 , A . m a x Y ) ; f o r ( v a r   U = 0 , R = v . l e n g t h ; U < R ; + + U ) { p . a d d C o l o r S t o p . a p p l y ( p , v [ U ] ) } X . f i l l S t y l e = p } e l s e { X . f i l l S t y l e = P . g e t ( " c o l o r " ) } T ( ) ; r e t u r n   s } } ) ( ) ) ;  
  
 
