ÿþ/ *  
   *   j Q u e r y   J a v a S c r i p t   L i b r a r y   v 1 . 3 . 2  
   *   h t t p : / / j q u e r y . c o m /  
   *  
   *   C o p y r i g h t   ( c )   2 0 0 9   J o h n   R e s i g  
   *   D u a l   l i c e n s e d   u n d e r   t h e   M I T   a n d   G P L   l i c e n s e s .  
   *   h t t p : / / d o c s . j q u e r y . c o m / L i c e n s e  
   *  
   *   D a t e :   2 0 0 9 - 0 2 - 1 9   1 7 : 3 4 : 2 1   - 0 5 0 0   ( T h u ,   1 9   F e b   2 0 0 9 )  
   *   R e v i s i o n :   6 2 4 6  
   * /  
 ( f u n c t i o n ( z , v ) { f u n c t i o n   l a ( ) { i f ( ! c . i s R e a d y ) { t r y { r . d o c u m e n t E l e m e n t . d o S c r o l l ( " l e f t " ) } c a t c h ( a ) { s e t T i m e o u t ( l a , 1 ) ; r e t u r n } c . r e a d y ( ) } } f u n c t i o n   M a ( a , b ) { b . s r c ? c . a j a x ( { u r l : b . s r c , a s y n c : f a l s e , d a t a T y p e : " s c r i p t " } ) : c . g l o b a l E v a l ( b . t e x t | | b . t e x t C o n t e n t | | b . i n n e r H T M L | | " " ) ; b . p a r e n t N o d e & & b . p a r e n t N o d e . r e m o v e C h i l d ( b ) } f u n c t i o n   X ( a , b , d , f , e , i ) { v a r   j = a . l e n g t h ; i f ( t y p e o f   b = = = " o b j e c t " ) { f o r ( v a r   n   i n   b ) X ( a , n , b [ n ] , f , e , d ) ; r e t u r n   a } i f ( d ! = = v ) { f = ! i & & f & & c . i s F u n c t i o n ( d ) ; f o r ( n = 0 ; n < j ; n + + ) e ( a [ n ] , b , f ? d . c a l l ( a [ n ] , n , e ( a [ n ] , b ) ) : d , i ) ; r e t u r n   a } r e t u r n   j ?  
 e ( a [ 0 ] , b ) : n u l l } f u n c t i o n   J ( ) { r e t u r n ( n e w   D a t e ) . g e t T i m e ( ) } f u n c t i o n   Y ( ) { r e t u r n   f a l s e } f u n c t i o n   Z ( ) { r e t u r n   t r u e } f u n c t i o n   m a ( a , b , d ) { d [ 0 ] . t y p e = a ; r e t u r n   c . e v e n t . h a n d l e . a p p l y ( b , d ) } f u n c t i o n   n a ( a ) { v a r   b , d = [ ] , f = [ ] , e = a r g u m e n t s , i , j , n , o , m , s , x = c . e x t e n d ( { } , c . d a t a ( t h i s , " e v e n t s " ) . l i v e ) ; i f ( ! ( a . b u t t o n & & a . t y p e = = = " c l i c k " ) ) { f o r ( o   i n   x ) { j = x [ o ] ; i f ( j . l i v e = = = a . t y p e | | j . a l t L i v e & & c . i n A r r a y ( a . t y p e , j . a l t L i v e ) > - 1 ) { i = j . d a t a ; i . b e f o r e F i l t e r & & i . b e f o r e F i l t e r [ a . t y p e ] & & ! i . b e f o r e F i l t e r [ a . t y p e ] ( a ) | | f . p u s h ( j . s e l e c t o r ) } e l s e   d e l e t e   x [ o ] } i = c ( a . t a r g e t ) . c l o s e s t ( f ,  
 a . c u r r e n t T a r g e t ) ; m = 0 ; f o r ( s = i . l e n g t h ; m < s ; m + + ) f o r ( o   i n   x ) { j = x [ o ] ; n = i [ m ] . e l e m ; f = n u l l ; i f ( i [ m ] . s e l e c t o r = = = j . s e l e c t o r ) { i f ( j . l i v e = = = " m o u s e e n t e r " | | j . l i v e = = = " m o u s e l e a v e " ) f = c ( a . r e l a t e d T a r g e t ) . c l o s e s t ( j . s e l e c t o r ) [ 0 ] ; i f ( ! f | | f ! = = n ) d . p u s h ( { e l e m : n , f n : j } ) } } m = 0 ; f o r ( s = d . l e n g t h ; m < s ; m + + ) { i = d [ m ] ; a . c u r r e n t T a r g e t = i . e l e m ; a . d a t a = i . f n . d a t a ; i f ( i . f n . a p p l y ( i . e l e m , e ) = = = f a l s e ) { b = f a l s e ; b r e a k } } r e t u r n   b } } f u n c t i o n   o a ( a , b ) { r e t u r n " l i v e . " + ( a ? a + " . " : " " ) + b . r e p l a c e ( / \ . / g , " ` " ) . r e p l a c e ( /   / g , " & " ) } f u n c t i o n   p a ( a ) { r e t u r n ! a | | ! a . p a r e n t N o d e | | a . p a r e n t N o d e . n o d e T y p e = = =  
 1 1 } f u n c t i o n   q a ( a , b ) { v a r   d = 0 ; b . e a c h ( f u n c t i o n ( ) { i f ( t h i s . n o d e N a m e = = = ( a [ d ] & & a [ d ] . n o d e N a m e ) ) { v a r   f = c . d a t a ( a [ d + + ] ) , e = c . d a t a ( t h i s , f ) ; i f ( f = f & & f . e v e n t s ) { d e l e t e   e . h a n d l e ; e . e v e n t s = { } ; f o r ( v a r   i   i n   f ) f o r ( v a r   j   i n   f [ i ] ) c . e v e n t . a d d ( t h i s , i , f [ i ] [ j ] , f [ i ] [ j ] . d a t a ) } } } ) } f u n c t i o n   r a ( a , b , d ) { v a r   f , e , i ; i f ( a . l e n g t h = = = 1 & & t y p e o f   a [ 0 ] = = = " s t r i n g " & & a [ 0 ] . l e n g t h < 5 1 2 & & a [ 0 ] . i n d e x O f ( " < o p t i o n " ) < 0 & & ( c . s u p p o r t . c h e c k C l o n e | | ! s a . t e s t ( a [ 0 ] ) ) ) { e = t r u e ; i f ( i = c . f r a g m e n t s [ a [ 0 ] ] ) i f ( i ! = = 1 ) f = i } i f ( ! f ) { b = b & & b [ 0 ] ? b [ 0 ] . o w n e r D o c u m e n t | | b [ 0 ] : r ; f = b . c r e a t e D o c u m e n t F r a g m e n t ( ) ;  
 c . c l e a n ( a , b , f , d ) } i f ( e ) c . f r a g m e n t s [ a [ 0 ] ] = i ? f : 1 ; r e t u r n { f r a g m e n t : f , c a c h e a b l e : e } } f u n c t i o n   K ( a , b ) { v a r   d = { } ; c . e a c h ( t a . c o n c a t . a p p l y ( [ ] , t a . s l i c e ( 0 , b ) ) , f u n c t i o n ( ) { d [ t h i s ] = a } ) ; r e t u r n   d } f u n c t i o n   u a ( a ) { r e t u r n " s c r o l l T o " i n   a & & a . d o c u m e n t ? a : a . n o d e T y p e = = = 9 ? a . d e f a u l t V i e w | | a . p a r e n t W i n d o w : f a l s e } v a r   c = f u n c t i o n ( a , b ) { r e t u r n   n e w   c . f n . i n i t ( a , b ) } , N a = z . j Q u e r y , O a = z . $ , r = z . d o c u m e n t , S , P a = / ^ [ ^ < ] * ( < [ \ w \ W ] + > ) [ ^ > ] * $ | ^ # ( [ \ w - ] + ) $ / , Q a = / ^ . [ ^ : # \ [ \ . , ] * $ / , R a = / \ S / , S a = / ^ ( \ s | \ u 0 0 A 0 ) + | ( \ s | \ u 0 0 A 0 ) + $ / g , T a = / ^ < ( \ w + ) \ s * \ / ? > ( ? : < \ / \ 1 > ) ? $ / , O = n a v i g a t o r . u s e r A g e n t ,  
 v a = f a l s e , P = [ ] , L , $ = O b j e c t . p r o t o t y p e . t o S t r i n g , a a = O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y , b a = A r r a y . p r o t o t y p e . p u s h , Q = A r r a y . p r o t o t y p e . s l i c e , w a = A r r a y . p r o t o t y p e . i n d e x O f ; c . f n = c . p r o t o t y p e = { i n i t : f u n c t i o n ( a , b ) { v a r   d , f ; i f ( ! a ) r e t u r n   t h i s ; i f ( a . n o d e T y p e ) { t h i s . c o n t e x t = t h i s [ 0 ] = a ; t h i s . l e n g t h = 1 ; r e t u r n   t h i s } i f ( t y p e o f   a = = = " s t r i n g " ) i f ( ( d = P a . e x e c ( a ) ) & & ( d [ 1 ] | | ! b ) ) i f ( d [ 1 ] ) { f = b ? b . o w n e r D o c u m e n t | | b : r ; i f ( a = T a . e x e c ( a ) ) i f ( c . i s P l a i n O b j e c t ( b ) ) { a = [ r . c r e a t e E l e m e n t ( a [ 1 ] ) ] ; c . f n . a t t r . c a l l ( a , b , t r u e ) } e l s e   a = [ f . c r e a t e E l e m e n t ( a [ 1 ] ) ] ; e l s e { a = r a ( [ d [ 1 ] ] ,  
 [ f ] ) ; a = ( a . c a c h e a b l e ? a . f r a g m e n t . c l o n e N o d e ( t r u e ) : a . f r a g m e n t ) . c h i l d N o d e s } } e l s e { i f ( b = r . g e t E l e m e n t B y I d ( d [ 2 ] ) ) { i f ( b . i d ! = = d [ 2 ] ) r e t u r n   S . f i n d ( a ) ; t h i s . l e n g t h = 1 ; t h i s [ 0 ] = b } t h i s . c o n t e x t = r ; t h i s . s e l e c t o r = a ; r e t u r n   t h i s } e l s e   i f ( ! b & & / ^ \ w + $ / . t e s t ( a ) ) { t h i s . s e l e c t o r = a ; t h i s . c o n t e x t = r ; a = r . g e t E l e m e n t s B y T a g N a m e ( a ) } e l s e   r e t u r n ! b | | b . j q u e r y ? ( b | | S ) . f i n d ( a ) : c ( b ) . f i n d ( a ) ; e l s e   i f ( c . i s F u n c t i o n ( a ) ) r e t u r n   S . r e a d y ( a ) ; i f ( a . s e l e c t o r ! = = v ) { t h i s . s e l e c t o r = a . s e l e c t o r ; t h i s . c o n t e x t = a . c o n t e x t } r e t u r n   c . i s A r r a y ( a ) ? t h i s . s e t A r r a y ( a ) : c . m a k e A r r a y ( a ,  
 t h i s ) } , s e l e c t o r : " " , j q u e r y : " 1 . 4 . 1 " , l e n g t h : 0 , s i z e : f u n c t i o n ( ) { r e t u r n   t h i s . l e n g t h } , t o A r r a y : f u n c t i o n ( ) { r e t u r n   Q . c a l l ( t h i s , 0 ) } , g e t : f u n c t i o n ( a ) { r e t u r n   a = = n u l l ? t h i s . t o A r r a y ( ) : a < 0 ? t h i s . s l i c e ( a ) [ 0 ] : t h i s [ a ] } , p u s h S t a c k : f u n c t i o n ( a , b , d ) { a = c ( a | | n u l l ) ; a . p r e v O b j e c t = t h i s ; a . c o n t e x t = t h i s . c o n t e x t ; i f ( b = = = " f i n d " ) a . s e l e c t o r = t h i s . s e l e c t o r + ( t h i s . s e l e c t o r ? "   " : " " ) + d ; e l s e   i f ( b ) a . s e l e c t o r = t h i s . s e l e c t o r + " . " + b + " ( " + d + " ) " ; r e t u r n   a } , s e t A r r a y : f u n c t i o n ( a ) { t h i s . l e n g t h = 0 ; b a . a p p l y ( t h i s , a ) ; r e t u r n   t h i s } , e a c h : f u n c t i o n ( a , b ) { r e t u r n   c . e a c h ( t h i s ,  
 a , b ) } , r e a d y : f u n c t i o n ( a ) { c . b i n d R e a d y ( ) ; i f ( c . i s R e a d y ) a . c a l l ( r , c ) ; e l s e   P & & P . p u s h ( a ) ; r e t u r n   t h i s } , e q : f u n c t i o n ( a ) { r e t u r n   a = = = - 1 ? t h i s . s l i c e ( a ) : t h i s . s l i c e ( a , + a + 1 ) } , f i r s t : f u n c t i o n ( ) { r e t u r n   t h i s . e q ( 0 ) } , l a s t : f u n c t i o n ( ) { r e t u r n   t h i s . e q ( - 1 ) } , s l i c e : f u n c t i o n ( ) { r e t u r n   t h i s . p u s h S t a c k ( Q . a p p l y ( t h i s , a r g u m e n t s ) , " s l i c e " , Q . c a l l ( a r g u m e n t s ) . j o i n ( " , " ) ) } , m a p : f u n c t i o n ( a ) { r e t u r n   t h i s . p u s h S t a c k ( c . m a p ( t h i s , f u n c t i o n ( b , d ) { r e t u r n   a . c a l l ( b , d , b ) } ) ) } , e n d : f u n c t i o n ( ) { r e t u r n   t h i s . p r e v O b j e c t | | c ( n u l l ) } , p u s h : b a , s o r t : [ ] . s o r t , s p l i c e : [ ] . s p l i c e } ;  
 c . f n . i n i t . p r o t o t y p e = c . f n ; c . e x t e n d = c . f n . e x t e n d = f u n c t i o n ( ) { v a r   a = a r g u m e n t s [ 0 ] | | { } , b = 1 , d = a r g u m e n t s . l e n g t h , f = f a l s e , e , i , j , n ; i f ( t y p e o f   a = = = " b o o l e a n " ) { f = a ; a = a r g u m e n t s [ 1 ] | | { } ; b = 2 } i f ( t y p e o f   a ! = = " o b j e c t " & & ! c . i s F u n c t i o n ( a ) ) a = { } ; i f ( d = = = b ) { a = t h i s ; - - b } f o r ( ; b < d ; b + + ) i f ( ( e = a r g u m e n t s [ b ] ) ! = n u l l ) f o r ( i   i n   e ) { j = a [ i ] ; n = e [ i ] ; i f ( a ! = = n ) i f ( f & & n & & ( c . i s P l a i n O b j e c t ( n ) | | c . i s A r r a y ( n ) ) ) { j = j & & ( c . i s P l a i n O b j e c t ( j ) | | c . i s A r r a y ( j ) ) ? j : c . i s A r r a y ( n ) ? [ ] : { } ; a [ i ] = c . e x t e n d ( f , j , n ) } e l s e   i f ( n ! = = v ) a [ i ] = n } r e t u r n   a } ; c . e x t e n d ( { n o C o n f l i c t : f u n c t i o n ( a ) { z . $ =  
 O a ; i f ( a ) z . j Q u e r y = N a ; r e t u r n   c } , i s R e a d y : f a l s e , r e a d y : f u n c t i o n ( ) { i f ( ! c . i s R e a d y ) { i f ( ! r . b o d y ) r e t u r n   s e t T i m e o u t ( c . r e a d y , 1 3 ) ; c . i s R e a d y = t r u e ; i f ( P ) { f o r ( v a r   a , b = 0 ; a = P [ b + + ] ; ) a . c a l l ( r , c ) ; P = n u l l } c . f n . t r i g g e r H a n d l e r & & c ( r ) . t r i g g e r H a n d l e r ( " r e a d y " ) } } , b i n d R e a d y : f u n c t i o n ( ) { i f ( ! v a ) { v a = t r u e ; i f ( r . r e a d y S t a t e = = = " c o m p l e t e " ) r e t u r n   c . r e a d y ( ) ; i f ( r . a d d E v e n t L i s t e n e r ) { r . 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 " , L , f a l s e ) ; z . a d d E v e n t L i s t e n e r ( " l o a d " , c . r e a d y , f a l s e ) } e l s e   i f ( r . a t t a c h E v e n t ) { r . a t t a c h E v e n t ( " o n r e a d y s t a t e c h a n g e " , L ) ; z . a t t a c h E v e n t ( " o n l o a d " ,  
 c . r e a d y ) ; v a r   a = f a l s e ; t r y { a = z . f r a m e E l e m e n t = = n u l l } c a t c h ( b ) { } r . d o c u m e n t E l e m e n t . d o S c r o l l & & a & & l a ( ) } } } , i s F u n c t i o n : f u n c t i o n ( a ) { r e t u r n   $ . c a l l ( a ) = = = " [ o b j e c t   F u n c t i o n ] " } , i s A r r a y : f u n c t i o n ( a ) { r e t u r n   $ . c a l l ( a ) = = = " [ o b j e c t   A r r a y ] " } , i s P l a i n O b j e c t : f u n c t i o n ( a ) { i f ( ! a | | $ . c a l l ( a ) ! = = " [ o b j e c t   O b j e c t ] " | | a . n o d e T y p e | | a . s e t I n t e r v a l ) r e t u r n   f a l s e ; i f ( a . c o n s t r u c t o r & & ! a a . c a l l ( a , " c o n s t r u c t o r " ) & & ! a a . c a l l ( a . c o n s t r u c t o r . p r o t o t y p e , " i s P r o t o t y p e O f " ) ) r e t u r n   f a l s e ; v a r   b ; f o r ( b   i n   a ) ; r e t u r n   b = = = v | | a a . c a l l ( a , b ) } , i s E m p t y O b j e c t : f u n c t i o n ( a ) { f o r ( v a r   b   i n   a ) r e t u r n   f a l s e ;  
 r e t u r n   t r u e } , e r r o r : f u n c t i o n ( a ) { t h r o w   a ; } , p a r s e J S O N : f u n c t i o n ( a ) { i f ( t y p e o f   a ! = = " s t r i n g " | | ! a ) r e t u r n   n u l l ; i f ( / ^ [ \ ] , : { } \ s ] * $ / . t e s t ( a . r e p l a c e ( / \ \ ( ? : [ " \ \ \ / b f n r t ] | u [ 0 - 9 a - f A - F ] { 4 } ) / g , " @ " ) . r e p l a c e ( / " [ ^ " \ \ \ n \ r ] * " | t r u e | f a l s e | n u l l | - ? \ d + ( ? : \ . \ d * ) ? ( ? : [ e E ] [ + \ - ] ? \ d + ) ? / g , " ] " ) . r e p l a c e ( / ( ? : ^ | : | , ) ( ? : \ s * \ [ ) + / g , " " ) ) ) r e t u r n   z . J S O N & & z . J S O N . p a r s e ? z . J S O N . p a r s e ( a ) : ( n e w   F u n c t i o n ( " r e t u r n   " + a ) ) ( ) ; e l s e   c . e r r o r ( " I n v a l i d   J S O N :   " + a ) } , n o o p : f u n c t i o n ( ) { } , g l o b a l E v a l : f u n c t i o n ( a ) { i f ( a & & R a . t e s t ( a ) ) { v a r   b = r . 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 ] | |  
 r . d o c u m e n t E l e m e n t , d = r . c r e a t e E l e m e n t ( " s c r i p t " ) ; d . t y p e = " t e x t / j a v a s c r i p t " ; i f ( c . s u p p o r t . s c r i p t E v a l ) d . a p p e n d C h i l d ( r . c r e a t e T e x t N o d e ( a ) ) ; e l s e   d . t e x t = a ; b . i n s e r t B e f o r e ( d , b . f i r s t C h i l d ) ; b . r e m o v e C h i l d ( d ) } } , n o d e N a m e : f u n c t i o n ( a , b ) { r e t u r n   a . n o d e N a m e & & a . n o d e N a m e . t o U p p e r C a s e ( ) = = = b . t o U p p e r C a s e ( ) } , e a c h : f u n c t i o n ( a , b , d ) { v a r   f , e = 0 , i = a . l e n g t h , j = i = = = v | | c . i s F u n c t i o n ( a ) ; i f ( d ) i f ( j ) f o r ( f   i n   a ) { i f ( b . a p p l y ( a [ f ] , d ) = = = f a l s e ) b r e a k } e l s e   f o r ( ; e < i ; ) { i f ( b . a p p l y ( a [ e + + ] , d ) = = = f a l s e ) b r e a k } e l s e   i f ( j ) f o r ( f   i n   a ) { i f ( b . c a l l ( a [ f ] , f , a [ f ] ) = = = f a l s e ) b r e a k } e l s e   f o r ( d =  
 a [ 0 ] ; e < i & & b . c a l l ( d , e , d ) ! = = f a l s e ; d = a [ + + e ] ) ; r e t u r n   a } , t r i m : f u n c t i o n ( a ) { r e t u r n ( a | | " " ) . r e p l a c e ( S a , " " ) } , m a k e A r r a y : f u n c t i o n ( a , b ) { b = b | | [ ] ; i f ( a ! = n u l l ) a . l e n g t h = = n u l l | | t y p e o f   a = = = " s t r i n g " | | c . i s F u n c t i o n ( a ) | | t y p e o f   a ! = = " f u n c t i o n " & & a . s e t I n t e r v a l ? b a . c a l l ( b , a ) : c . m e r g e ( b , a ) ; r e t u r n   b } , i n A r r a y : f u n c t i o n ( a , b ) { i f ( b . i n d e x O f ) r e t u r n   b . i n d e x O f ( a ) ; f o r ( v a r   d = 0 , f = b . l e n g t h ; d < f ; d + + ) i f ( b [ d ] = = = a ) r e t u r n   d ; r e t u r n - 1 } , m e r g e : f u n c t i o n ( a , b ) { v a r   d = a . l e n g t h , f = 0 ; i f ( t y p e o f   b . l e n g t h = = = " n u m b e r " ) f o r ( v a r   e = b . l e n g t h ; f < e ; f + + ) a [ d + + ] = b [ f ] ; e l s e   f o r ( ; b [ f ] ! = =  
 v ; ) a [ d + + ] = b [ f + + ] ; a . l e n g t h = d ; r e t u r n   a } , g r e p : f u n c t i o n ( a , b , d ) { f o r ( v a r   f = [ ] , e = 0 , i = a . l e n g t h ; e < i ; e + + ) ! d ! = = ! b ( a [ e ] , e ) & & f . p u s h ( a [ e ] ) ; r e t u r n   f } , m a p : f u n c t i o n ( a , b , d ) { f o r ( v a r   f = [ ] , e , i = 0 , j = a . l e n g t h ; i < j ; i + + ) { e = b ( a [ i ] , i , d ) ; i f ( e ! = n u l l ) f [ f . l e n g t h ] = e } r e t u r n   f . c o n c a t . a p p l y ( [ ] , f ) } , g u i d : 1 , p r o x y : f u n c t i o n ( a , b , d ) { i f ( a r g u m e n t s . l e n g t h = = = 2 ) i f ( t y p e o f   b = = = " s t r i n g " ) { d = a ; a = d [ b ] ; b = v } e l s e   i f ( b & & ! c . i s F u n c t i o n ( b ) ) { d = b ; b = v } i f ( ! b & & a ) b = f u n c t i o n ( ) { r e t u r n   a . a p p l y ( d | | t h i s , a r g u m e n t s ) } ; i f ( a ) b . g u i d = a . g u i d = a . g u i d | | b . g u i d | | c . g u i d + + ; r e t u r n   b } ,  
 u a M a t c h : f u n c t i o n ( a ) { a = a . t o L o w e r C a s e ( ) ; a = / ( w e b k i t ) [   \ / ] ( [ \ w . ] + ) / . e x e c ( a ) | | / ( o p e r a ) ( ? : . * v e r s i o n ) ? [   \ / ] ( [ \ w . ] + ) / . e x e c ( a ) | | / ( m s i e )   ( [ \ w . ] + ) / . e x e c ( a ) | | ! / c o m p a t i b l e / . t e s t ( a ) & & / ( m o z i l l a ) ( ? : . * ?   r v : ( [ \ w . ] + ) ) ? / . e x e c ( a ) | | [ ] ; r e t u r n { b r o w s e r : a [ 1 ] | | " " , v e r s i o n : a [ 2 ] | | " 0 " } } , b r o w s e r : { } } ) ; O = c . u a M a t c h ( O ) ; i f ( O . b r o w s e r ) { c . b r o w s e r [ O . b r o w s e r ] = t r u e ; c . b r o w s e r . v e r s i o n = O . v e r s i o n } i f ( c . b r o w s e r . w e b k i t ) c . b r o w s e r . s a f a r i = t r u e ; i f ( w a ) c . i n A r r a y = f u n c t i o n ( a , b ) { r e t u r n   w a . c a l l ( b , a ) } ; S = c ( r ) ; i f ( r . a d d E v e n t L i s t e n e r ) L = f u n c t i o n ( ) { r . r e m o v e 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 " ,  
 L , f a l s e ) ; c . r e a d y ( ) } ; e l s e   i f ( r . a t t a c h E v e n t ) L = f u n c t i o n ( ) { i f ( r . r e a d y S t a t e = = = " c o m p l e t e " ) { r . d e t a c h E v e n t ( " o n r e a d y s t a t e c h a n g e " , L ) ; c . r e a d y ( ) } } ; ( f u n c t i o n ( ) { c . s u p p o r t = { } ; v a r   a = r . d o c u m e n t E l e m e n t , b = r . c r e a t e E l e m e n t ( " s c r i p t " ) , d = r . c r e a t e E l e m e n t ( " d i v " ) , f = " s c r i p t " + J ( ) ; d . s t y l e . d i s p l a y = " n o n e " ; d . i n n e r H T M L = "       < l i n k / > < t a b l e > < / t a b l e > < a   h r e f = ' / a '   s t y l e = ' c o l o r : r e d ; f l o a t : l e f t ; o p a c i t y : . 5 5 ; ' > a < / a > < i n p u t   t y p e = ' c h e c k b o x ' / > " ; v a r   e = d . g e t E l e m e n t s B y T a g N a m e ( " * " ) , i = d . g e t E l e m e n t s B y T a g N a m e ( " a " ) [ 0 ] ; i f ( ! ( ! e | | ! e . l e n g t h | | ! i ) ) { c . s u p p o r t =  
 { l e a d i n g W h i t e s p a c e : d . f i r s t C h i l d . n o d e T y p e = = = 3 , t b o d y : ! d . g e t E l e m e n t s B y T a g N a m e ( " t b o d y " ) . l e n g t h , h t m l S e r i a l i z e : ! ! d . g e t E l e m e n t s B y T a g N a m e ( " l i n k " ) . l e n g t h , s t y l e : / r e d / . t e s t ( i . g e t A t t r i b u t e ( " s t y l e " ) ) , h r e f N o r m a l i z e d : i . g e t A t t r i b u t e ( " h r e f " ) = = = " / a " , o p a c i t y : / ^ 0 . 5 5 $ / . t e s t ( i . s t y l e . o p a c i t y ) , c s s F l o a t : ! ! i . s t y l e . c s s F l o a t , c h e c k O n : d . g e t E l e m e n t s B y T a g N a m e ( " i n p u t " ) [ 0 ] . v a l u e = = = " o n " , o p t S e l e c t e d : r . c r e a t e E l e m e n t ( " s e l e c t " ) . a p p e n d C h i l d ( r . c r e a t e E l e m e n t ( " o p t i o n " ) ) . s e l e c t e d , c h e c k C l o n e : f a l s e , s c r i p t E v a l : f a l s e , n o C l o n e E v e n t : t r u e , b o x M o d e l : n u l l } ;  
 b . t y p e = " t e x t / j a v a s c r i p t " ; t r y { b . a p p e n d C h i l d ( r . c r e a t e T e x t N o d e ( " w i n d o w . " + f + " = 1 ; " ) ) } c a t c h ( j ) { } a . i n s e r t B e f o r e ( b , a . f i r s t C h i l d ) ; i f ( z [ f ] ) { c . s u p p o r t . s c r i p t E v a l = t r u e ; d e l e t e   z [ f ] } a . r e m o v e C h i l d ( b ) ; i f ( d . a t t a c h E v e n t & & d . f i r e E v e n t ) { d . a t t a c h E v e n t ( " o n c l i c k " , f u n c t i o n   n ( ) { c . s u p p o r t . n o C l o n e E v e n t = f a l s e ; d . d e t a c h E v e n t ( " o n c l i c k " , n ) } ) ; d . c l o n e N o d e ( t r u e ) . f i r e E v e n t ( " o n c l i c k " ) } d = r . c r e a t e E l e m e n t ( " d i v " ) ; d . i n n e r H T M L = " < i n p u t   t y p e = ' r a d i o '   n a m e = ' r a d i o t e s t '   c h e c k e d = ' c h e c k e d ' / > " ; a = r . c r e a t e D o c u m e n t F r a g m e n t ( ) ; a . a p p e n d C h i l d ( d . f i r s t C h i l d ) ;  
 c . s u p p o r t . c h e c k C l o n e = a . c l o n e N o d e ( t r u e ) . c l o n e N o d e ( t r u e ) . l a s t C h i l d . c h e c k e d ; c ( f u n c t i o n ( ) { v a r   n = r . c r e a t e E l e m e n t ( " d i v " ) ; n . s t y l e . w i d t h = n . s t y l e . p a d d i n g L e f t = " 1 p x " ; r . b o d y . a p p e n d C h i l d ( n ) ; c . b o x M o d e l = c . s u p p o r t . b o x M o d e l = n . o f f s e t W i d t h = = = 2 ; r . b o d y . r e m o v e C h i l d ( n ) . s t y l e . d i s p l a y = " n o n e " } ) ; a = f u n c t i o n ( n ) { v a r   o = r . c r e a t e E l e m e n t ( " d i v " ) ; n = " o n " + n ; v a r   m = n   i n   o ; i f ( ! m ) { o . s e t A t t r i b u t e ( n , " r e t u r n ; " ) ; m = t y p e o f   o [ n ] = = = " f u n c t i o n " } r e t u r n   m } ; c . s u p p o r t . s u b m i t B u b b l e s = a ( " s u b m i t " ) ; c . s u p p o r t . c h a n g e B u b b l e s = a ( " c h a n g e " ) ; a = b = d = e = i = n u l l } } ) ( ) ; c . p r o p s =  
 { " f o r " : " h t m l F o r " , " c l a s s " : " c l a s s N a m e " , r e a d o n l y : " r e a d O n l y " , m a x l e n g t h : " m a x L e n g t h " , c e l l s p a c i n g : " c e l l S p a c i n g " , r o w s p a n : " r o w S p a n " , c o l s p a n : " c o l S p a n " , t a b i n d e x : " t a b I n d e x " , u s e m a p : " u s e M a p " , f r a m e b o r d e r : " f r a m e B o r d e r " } ; v a r   G = " j Q u e r y " + J ( ) , U a = 0 , x a = { } , V a = { } ; c . e x t e n d ( { c a c h e : { } , e x p a n d o : G , n o D a t a : { e m b e d : t r u e , o b j e c t : t r u e , a p p l e t : t r u e } , d a t a : f u n c t i o n ( a , b , d ) { i f ( ! ( a . n o d e N a m e & & c . n o D a t a [ a . n o d e N a m e . t o L o w e r C a s e ( ) ] ) ) { a = a = = z ? x a : a ; v a r   f = a [ G ] , e = c . c a c h e ; i f ( ! b & & ! f ) r e t u r n   n u l l ; f | | ( f = + + U a ) ; i f ( t y p e o f   b = = = " o b j e c t " ) { a [ G ] = f ; e = e [ f ] = c . e x t e n d ( t r u e ,  
 { } , b ) } e l s e   e = e [ f ] ? e [ f ] : t y p e o f   d = = = " u n d e f i n e d " ? V a : ( e [ f ] = { } ) ; i f ( d ! = = v ) { a [ G ] = f ; e [ b ] = d } r e t u r n   t y p e o f   b = = = " s t r i n g " ? e [ b ] : e } } , r e m o v e D a t a : f u n c t i o n ( a , b ) { i f ( ! ( a . n o d e N a m e & & c . n o D a t a [ a . n o d e N a m e . t o L o w e r C a s e ( ) ] ) ) { a = a = = z ? x a : a ; v a r   d = a [ G ] , f = c . c a c h e , e = f [ d ] ; i f ( b ) { i f ( e ) { d e l e t e   e [ b ] ; c . i s E m p t y O b j e c t ( e ) & & c . r e m o v e D a t a ( a ) } } e l s e { t r y { d e l e t e   a [ G ] } c a t c h ( i ) { a . r e m o v e A t t r i b u t e & & a . r e m o v e A t t r i b u t e ( G ) } d e l e t e   f [ d ] } } } } ) ; c . f n . e x t e n d ( { d a t a : f u n c t i o n ( a , b ) { i f ( t y p e o f   a = = = " u n d e f i n e d " & & t h i s . l e n g t h ) r e t u r n   c . d a t a ( t h i s [ 0 ] ) ; e l s e   i f ( t y p e o f   a = = = " o b j e c t " ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { c . d a t a ( t h i s ,  
 a ) } ) ; v a r   d = a . s p l i t ( " . " ) ; d [ 1 ] = d [ 1 ] ? " . " + d [ 1 ] : " " ; i f ( b = = = v ) { v a r   f = t h i s . t r i g g e r H a n d l e r ( " g e t D a t a " + d [ 1 ] + " ! " , [ d [ 0 ] ] ) ; i f ( f = = = v & & t h i s . l e n g t h ) f = c . d a t a ( t h i s [ 0 ] , a ) ; r e t u r n   f = = = v & & d [ 1 ] ? t h i s . d a t a ( d [ 0 ] ) : f } e l s e   r e t u r n   t h i s . t r i g g e r ( " s e t D a t a " + d [ 1 ] + " ! " , [ d [ 0 ] , b ] ) . e a c h ( f u n c t i o n ( ) { c . d a t a ( t h i s , a , b ) } ) } , r e m o v e D a t a : f u n c t i o n ( a ) { r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { c . r e m o v e D a t a ( t h i s , a ) } ) } } ) ; c . e x t e n d ( { q u e u e : f u n c t i o n ( a , b , d ) { i f ( a ) { b = ( b | | " f x " ) + " q u e u e " ; v a r   f = c . d a t a ( a , b ) ; i f ( ! d ) r e t u r n   f | | [ ] ; i f ( ! f | | c . i s A r r a y ( d ) ) f = c . d a t a ( a , b , c . m a k e A r r a y ( d ) ) ; e l s e   f . p u s h ( d ) ;  
 r e t u r n   f } } , d e q u e u e : f u n c t i o n ( a , b ) { b = b | | " f x " ; v a r   d = c . q u e u e ( a , b ) , f = d . s h i f t ( ) ; i f ( f = = = " i n p r o g r e s s " ) f = d . s h i f t ( ) ; i f ( f ) { b = = = " f x " & & d . u n s h i f t ( " i n p r o g r e s s " ) ; f . c a l l ( a , f u n c t i o n ( ) { c . d e q u e u e ( a , b ) } ) } } } ) ; c . f n . e x t e n d ( { q u e u e : f u n c t i o n ( a , b ) { i f ( t y p e o f   a ! = = " s t r i n g " ) { b = a ; a = " f x " } i f ( b = = = v ) r e t u r n   c . q u e u e ( t h i s [ 0 ] , a ) ; r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { v a r   d = c . q u e u e ( t h i s , a , b ) ; a = = = " f x " & & d [ 0 ] ! = = " i n p r o g r e s s " & & c . d e q u e u e ( t h i s , a ) } ) } , d e q u e u e : f u n c t i o n ( a ) { r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { c . d e q u e u e ( t h i s , a ) } ) } , d e l a y : f u n c t i o n ( a , b ) { a = c . f x ? c . f x . s p e e d s [ a ] | |  
 a : a ; b = b | | " f x " ; r e t u r n   t h i s . q u e u e ( b , f u n c t i o n ( ) { v a r   d = t h i s ; s e t T i m e o u t ( f u n c t i o n ( ) { c . d e q u e u e ( d , b ) } , a ) } ) } , c l e a r Q u e u e : f u n c t i o n ( a ) { r e t u r n   t h i s . q u e u e ( a | | " f x " , [ ] ) } } ) ; v a r   y a = / [ \ n \ t ] / g , c a = / \ s + / , W a = / \ r / g , X a = / h r e f | s r c | s t y l e / , Y a = / ( b u t t o n | i n p u t ) / i , Z a = / ( b u t t o n | i n p u t | o b j e c t | s e l e c t | t e x t a r e a ) / i , $ a = / ^ ( a | a r e a ) $ / i , z a = / r a d i o | c h e c k b o x / ; c . f n . e x t e n d ( { a t t r : f u n c t i o n ( a , b ) { r e t u r n   X ( t h i s , a , b , t r u e , c . a t t r ) } , r e m o v e A t t r : f u n c t i o n ( a ) { r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { c . a t t r ( t h i s , a , " " ) ; t h i s . n o d e T y p e = = = 1 & & t h i s . r e m o v e A t t r i b u t e ( a ) } ) } , a d d C l a s s : f u n c t i o n ( a ) { i f ( c . i s F u n c t i o n ( a ) ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( o ) { v a r   m =  
 c ( t h i s ) ; m . a d d C l a s s ( a . c a l l ( t h i s , o , m . a t t r ( " c l a s s " ) ) ) } ) ; i f ( a & & t y p e o f   a = = = " s t r i n g " ) f o r ( v a r   b = ( a | | " " ) . s p l i t ( c a ) , d = 0 , f = t h i s . l e n g t h ; d < f ; d + + ) { v a r   e = t h i s [ d ] ; i f ( e . n o d e T y p e = = = 1 ) i f ( e . c l a s s N a m e ) f o r ( v a r   i = "   " + e . c l a s s N a m e + "   " , j = 0 , n = b . l e n g t h ; j < n ; j + + ) { i f ( i . i n d e x O f ( "   " + b [ j ] + "   " ) < 0 ) e . c l a s s N a m e + = "   " + b [ j ] } e l s e   e . c l a s s N a m e = a } r e t u r n   t h i s } , r e m o v e C l a s s : f u n c t i o n ( a ) { i f ( c . i s F u n c t i o n ( a ) ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( o ) { v a r   m = c ( t h i s ) ; m . r e m o v e C l a s s ( a . c a l l ( t h i s , o , m . a t t r ( " c l a s s " ) ) ) } ) ; i f ( a & & t y p e o f   a = = = " s t r i n g " | | a = = = v ) f o r ( v a r   b = ( a | | " " ) . s p l i t ( c a ) ,  
 d = 0 , f = t h i s . l e n g t h ; d < f ; d + + ) { v a r   e = t h i s [ d ] ; i f ( e . n o d e T y p e = = = 1 & & e . c l a s s N a m e ) i f ( a ) { f o r ( v a r   i = ( "   " + e . c l a s s N a m e + "   " ) . r e p l a c e ( y a , "   " ) , j = 0 , n = b . l e n g t h ; j < n ; j + + ) i = i . r e p l a c e ( "   " + b [ j ] + "   " , "   " ) ; e . c l a s s N a m e = i . s u b s t r i n g ( 1 , i . l e n g t h - 1 ) } e l s e   e . c l a s s N a m e = " " } r e t u r n   t h i s } , t o g g l e C l a s s : f u n c t i o n ( a , b ) { v a r   d = t y p e o f   a , f = t y p e o f   b = = = " b o o l e a n " ; i f ( c . i s F u n c t i o n ( a ) ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( e ) { v a r   i = c ( t h i s ) ; i . t o g g l e C l a s s ( a . c a l l ( t h i s , e , i . a t t r ( " c l a s s " ) , b ) , b ) } ) ; r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { i f ( d = = = " s t r i n g " ) f o r ( v a r   e , i = 0 , j = c ( t h i s ) , n = b , o =  
 a . s p l i t ( c a ) ; e = o [ i + + ] ; ) { n = f ? n : ! j . h a s C l a s s ( e ) ; j [ n ? " a d d C l a s s " : " r e m o v e C l a s s " ] ( e ) } e l s e   i f ( d = = = " u n d e f i n e d " | | d = = = " b o o l e a n " ) { t h i s . c l a s s N a m e & & c . d a t a ( t h i s , " _ _ c l a s s N a m e _ _ " , t h i s . c l a s s N a m e ) ; t h i s . c l a s s N a m e = t h i s . c l a s s N a m e | | a = = = f a l s e ? " " : c . d a t a ( t h i s , " _ _ c l a s s N a m e _ _ " ) | | " " } } ) } , h a s C l a s s : f u n c t i o n ( a ) { a = "   " + a + "   " ; f o r ( v a r   b = 0 , d = t h i s . l e n g t h ; b < d ; b + + ) i f ( ( "   " + t h i s [ b ] . c l a s s N a m e + "   " ) . r e p l a c e ( y a , "   " ) . i n d e x O f ( a ) > - 1 ) r e t u r n   t r u e ; r e t u r n   f a l s e } , v a l : f u n c t i o n ( a ) { i f ( a = = = v ) { v a r   b = t h i s [ 0 ] ; i f ( b ) { i f ( c . n o d e N a m e ( b , " o p t i o n " ) ) r e t u r n ( b . a t t r i b u t e s . v a l u e | |  
 { } ) . s p e c i f i e d ? b . v a l u e : b . t e x t ; i f ( c . n o d e N a m e ( b , " s e l e c t " ) ) { v a r   d = b . s e l e c t e d I n d e x , f = [ ] , e = b . o p t i o n s ; b = b . t y p e = = = " s e l e c t - o n e " ; i f ( d < 0 ) r e t u r n   n u l l ; v a r   i = b ? d : 0 ; f o r ( d = b ? d + 1 : e . l e n g t h ; i < d ; i + + ) { v a r   j = e [ i ] ; i f ( j . s e l e c t e d ) { a = c ( j ) . v a l ( ) ; i f ( b ) r e t u r n   a ; f . p u s h ( a ) } } r e t u r n   f } i f ( z a . t e s t ( b . t y p e ) & & ! c . s u p p o r t . c h e c k O n ) r e t u r n   b . g e t A t t r i b u t e ( " v a l u e " ) = = = n u l l ? " o n " : b . v a l u e ; r e t u r n ( b . v a l u e | | " " ) . r e p l a c e ( W a , " " ) } r e t u r n   v } v a r   n = c . i s F u n c t i o n ( a ) ; r e t u r n   t h i s . e a c h ( f u n c t i o n ( o ) { v a r   m = c ( t h i s ) , s = a ; i f ( t h i s . n o d e T y p e = = = 1 ) { i f ( n ) s = a . c a l l ( t h i s , o , m . v a l ( ) ) ;  
 i f ( t y p e o f   s = = = " n u m b e r " ) s + = " " ; i f ( c . i s A r r a y ( s ) & & z a . t e s t ( t h i s . t y p e ) ) t h i s . c h e c k e d = c . i n A r r a y ( m . v a l ( ) , s ) > = 0 ; e l s e   i f ( c . n o d e N a m e ( t h i s , " s e l e c t " ) ) { v a r   x = c . m a k e A r r a y ( s ) ; c ( " o p t i o n " , t h i s ) . e a c h ( f u n c t i o n ( ) { t h i s . s e l e c t e d = c . i n A r r a y ( c ( t h i s ) . v a l ( ) , x ) > = 0 } ) ; i f ( ! x . l e n g t h ) t h i s . s e l e c t e d I n d e x = - 1 } e l s e   t h i s . v a l u e = s } } ) } } ) ; c . e x t e n d ( { a t t r F n : { v a l : t r u e , c s s : t r u e , h t m l : t r u e , t e x t : t r u e , d a t a : t r u e , w i d t h : t r u e , h e i g h t : t r u e , o f f s e t : t r u e } , a t t r : f u n c t i o n ( a , b , d , f ) { i f ( ! a | | a . n o d e T y p e = = = 3 | | a . n o d e T y p e = = = 8 ) r e t u r n   v ; i f ( f & & b   i n   c . a t t r F n ) r e t u r n   c ( a ) [ b ] ( d ) ;  
 f = a . n o d e T y p e ! = = 1 | | ! c . i s X M L D o c ( a ) ; v a r   e = d ! = = v ; b = f & & c . p r o p s [ b ] | | b ; i f ( a . n o d e T y p e = = = 1 ) { v a r   i = X a . t e s t ( b ) ; i f ( b   i n   a & & f & & ! i ) { i f ( e ) { b = = = " t y p e " & & Y a . t e s t ( a . n o d e N a m e ) & & a . p a r e n t N o d e & & c . e r r o r ( " t y p e   p r o p e r t y   c a n ' t   b e   c h a n g e d " ) ; a [ b ] = d } i f ( c . n o d e N a m e ( a , " f o r m " ) & & a . g e t A t t r i b u t e N o d e ( b ) ) r e t u r n   a . g e t A t t r i b u t e N o d e ( b ) . n o d e V a l u e ; i f ( b = = = " t a b I n d e x " ) r e t u r n ( b = a . g e t A t t r i b u t e N o d e ( " t a b I n d e x " ) ) & & b . s p e c i f i e d ? b . v a l u e : Z a . t e s t ( a . n o d e N a m e ) | | $ a . t e s t ( a . n o d e N a m e ) & & a . h r e f ? 0 : v ; r e t u r n   a [ b ] } i f ( ! c . s u p p o r t . s t y l e & & f & & b = = = " s t y l e " ) { i f ( e ) a . s t y l e . c s s T e x t =  
 " " + d ; r e t u r n   a . s t y l e . c s s T e x t } e & & a . s e t A t t r i b u t e ( b , " " + d ) ; a = ! c . s u p p o r t . h r e f N o r m a l i z e d & & f & & i ? a . g e t A t t r i b u t e ( b , 2 ) : a . g e t A t t r i b u t e ( b ) ; r e t u r n   a = = = n u l l ? v : a } r e t u r n   c . s t y l e ( a , b , d ) } } ) ; v a r   a b = f u n c t i o n ( a ) { r e t u r n   a . r e p l a c e ( / [ ^ \ w \ s \ . \ | ` ] / g , f u n c t i o n ( b ) { r e t u r n " \ \ " + b } ) } ; c . e v e n t = { a d d : f u n c t i o n ( a , b , d , f ) { i f ( ! ( a . n o d e T y p e = = = 3 | | a . n o d e T y p e = = = 8 ) ) { i f ( a . s e t I n t e r v a l & & a ! = = z & & ! a . f r a m e E l e m e n t ) a = z ; i f ( ! d . g u i d ) d . g u i d = c . g u i d + + ; i f ( f ! = = v ) { d = c . p r o x y ( d ) ; d . d a t a = f } v a r   e = c . d a t a ( a , " e v e n t s " ) | | c . d a t a ( a , " e v e n t s " , { } ) , i = c . d a t a ( a , " h a n d l e " ) , j ; i f ( ! i ) { j =  
 f u n c t i o n ( ) { r e t u r n   t y p e o f   c ! = = " u n d e f i n e d " & & ! c . e v e n t . t r i g g e r e d ? c . e v e n t . h a n d l e . a p p l y ( j . e l e m , a r g u m e n t s ) : v } ; i = c . d a t a ( a , " h a n d l e " , j ) } i f ( i ) { i . e l e m = a ; b = b . s p l i t ( / \ s + / ) ; f o r ( v a r   n , o = 0 ; n = b [ o + + ] ; ) { v a r   m = n . s p l i t ( " . " ) ; n = m . s h i f t ( ) ; i f ( o > 1 ) { d = c . p r o x y ( d ) ; i f ( f ! = = v ) d . d a t a = f } d . t y p e = m . s l i c e ( 0 ) . s o r t ( ) . j o i n ( " . " ) ; v a r   s = e [ n ] , x = t h i s . s p e c i a l [ n ] | | { } ; i f ( ! s ) { s = e [ n ] = { } ; i f ( ! x . s e t u p | | x . s e t u p . c a l l ( a , f , m , d ) = = = f a l s e ) i f ( a . a d d E v e n t L i s t e n e r ) a . a d d E v e n t L i s t e n e r ( n , i , f a l s e ) ; e l s e   a . a t t a c h E v e n t & & a . a t t a c h E v e n t ( " o n " + n , i ) } i f ( x . a d d ) i f ( ( m = x . a d d . c a l l ( a ,  
 d , f , m , s ) ) & & c . i s F u n c t i o n ( m ) ) { m . g u i d = m . g u i d | | d . g u i d ; m . d a t a = m . d a t a | | d . d a t a ; m . t y p e = m . t y p e | | d . t y p e ; d = m } s [ d . g u i d ] = d ; t h i s . g l o b a l [ n ] = t r u e } a = n u l l } } } , g l o b a l : { } , r e m o v e : f u n c t i o n ( a , b , d ) { i f ( ! ( a . n o d e T y p e = = = 3 | | a . n o d e T y p e = = = 8 ) ) { v a r   f = c . d a t a ( a , " e v e n t s " ) , e , i , j ; i f ( f ) { i f ( b = = = v | | t y p e o f   b = = = " s t r i n g " & & b . c h a r A t ( 0 ) = = = " . " ) f o r ( i   i n   f ) t h i s . r e m o v e ( a , i + ( b | | " " ) ) ; e l s e { i f ( b . t y p e ) { d = b . h a n d l e r ; b = b . t y p e } b = b . s p l i t ( / \ s + / ) ; f o r ( v a r   n = 0 ; i = b [ n + + ] ; ) { v a r   o = i . s p l i t ( " . " ) ; i = o . s h i f t ( ) ; v a r   m = ! o . l e n g t h , s = c . m a p ( o . s l i c e ( 0 ) . s o r t ( ) , a b ) ; s = n e w   R e g E x p ( " ( ^ | \ \ . ) " +  
 s . j o i n ( " \ \ . ( ? : . * \ \ . ) ? " ) + " ( \ \ . | $ ) " ) ; v a r   x = t h i s . s p e c i a l [ i ] | | { } ; i f ( f [ i ] ) { i f ( d ) { j = f [ i ] [ d . g u i d ] ; d e l e t e   f [ i ] [ d . g u i d ] } e l s e   f o r ( v a r   A   i n   f [ i ] ) i f ( m | | s . t e s t ( f [ i ] [ A ] . t y p e ) ) d e l e t e   f [ i ] [ A ] ; x . r e m o v e & & x . r e m o v e . c a l l ( a , o , j ) ; f o r ( e   i n   f [ i ] ) b r e a k ; i f ( ! e ) { i f ( ! x . t e a r d o w n | | x . t e a r d o w n . c a l l ( a , o ) = = = f a l s e ) i f ( a . r e m o v e E v e n t L i s t e n e r ) a . r e m o v e E v e n t L i s t e n e r ( i , c . d a t a ( a , " h a n d l e " ) , f a l s e ) ; e l s e   a . d e t a c h E v e n t & & a . d e t a c h E v e n t ( " o n " + i , c . d a t a ( a , " h a n d l e " ) ) ; e = n u l l ; d e l e t e   f [ i ] } } } } f o r ( e   i n   f ) b r e a k ; i f ( ! e ) { i f ( A = c . d a t a ( a , " h a n d l e " ) ) A . e l e m = n u l l ; c . r e m o v e D a t a ( a ,  
 " e v e n t s " ) ; c . r e m o v e D a t a ( a , " h a n d l e " ) } } } } , t r i g g e r : f u n c t i o n ( a , b , d , f ) { v a r   e = a . t y p e | | a ; i f ( ! f ) { a = t y p e o f   a = = = " o b j e c t " ? a [ G ] ? a : c . e x t e n d ( c . E v e n t ( e ) , a ) : c . E v e n t ( e ) ; i f ( e . i n d e x O f ( " ! " ) > = 0 ) { a . t y p e = e = e . s l i c e ( 0 , - 1 ) ; a . e x c l u s i v e = t r u e } i f ( ! d ) { a . s t o p P r o p a g a t i o n ( ) ; t h i s . g l o b a l [ e ] & & c . e a c h ( c . c a c h e , f u n c t i o n ( ) { t h i s . e v e n t s & & t h i s . e v e n t s [ e ] & & c . e v e n t . t r i g g e r ( a , b , t h i s . h a n d l e . e l e m ) } ) } i f ( ! d | | d . n o d e T y p e = = = 3 | | d . n o d e T y p e = = = 8 ) r e t u r n   v ; a . r e s u l t = v ; a . t a r g e t = d ; b = c . m a k e A r r a y ( b ) ; b . u n s h i f t ( a ) } a . c u r r e n t T a r g e t = d ; ( f = c . d a t a ( d , " h a n d l e " ) ) & & f . a p p l y ( d ,  
 b ) ; f = d . p a r e n t N o d e | | d . o w n e r D o c u m e n t ; t r y { i f ( ! ( d & & d . n o d e N a m e & & c . n o D a t a [ d . n o d e N a m e . t o L o w e r C a s e ( ) ] ) ) i f ( d [ " o n " + e ] & & d [ " o n " + e ] . a p p l y ( d , b ) = = = f a l s e ) a . r e s u l t = f a l s e } c a t c h ( i ) { } i f ( ! a . i s P r o p a g a t i o n S t o p p e d ( ) & & f ) c . e v e n t . t r i g g e r ( a , b , f , t r u e ) ; e l s e   i f ( ! a . i s D e f a u l t P r e v e n t e d ( ) ) { d = a . t a r g e t ; v a r   j ; i f ( ! ( c . n o d e N a m e ( d , " a " ) & & e = = = " c l i c k " ) & & ! ( d & & d . n o d e N a m e & & c . n o D a t a [ d . n o d e N a m e . t o L o w e r C a s e ( ) ] ) ) { t r y { i f ( d [ e ] ) { i f ( j = d [ " o n " + e ] ) d [ " o n " + e ] = n u l l ; t h i s . t r i g g e r e d = t r u e ; d [ e ] ( ) } } c a t c h ( n ) { } i f ( j ) d [ " o n " + e ] = j ; t h i s . t r i g g e r e d = f a l s e } } } , h a n d l e : f u n c t i o n ( a ) { v a r   b ,  
 d ; a = a r g u m e n t s [ 0 ] = c . e v e n t . f i x ( a | | z . e v e n t ) ; a . c u r r e n t T a r g e t = t h i s ; d = a . t y p e . s p l i t ( " . " ) ; a . t y p e = d . s h i f t ( ) ; b = ! d . l e n g t h & & ! a . e x c l u s i v e ; v a r   f = n e w   R e g E x p ( " ( ^ | \ \ . ) " + d . s l i c e ( 0 ) . s o r t ( ) . j o i n ( " \ \ . ( ? : . * \ \ . ) ? " ) + " ( \ \ . | $ ) " ) ; d = ( c . d a t a ( t h i s , " e v e n t s " ) | | { } ) [ a . t y p e ] ; f o r ( v a r   e   i n   d ) { v a r   i = d [ e ] ; i f ( b | | f . t e s t ( i . t y p e ) ) { a . h a n d l e r = i ; a . d a t a = i . d a t a ; i = i . a p p l y ( t h i s , a r g u m e n t s ) ; i f ( i ! = = v ) { a . r e s u l t = i ; i f ( i = = = f a l s e ) { a . p r e v e n t D e f a u l t ( ) ; a . s t o p P r o p a g a t i o n ( ) } } i f ( a . i s I m m e d i a t e P r o p a g a t i o n S t o p p e d ( ) ) b r e a k } } r e t u r n   a . r e s u l t } , p r o p s : " a l t K e y   a t t r C h a n g e   a t t r N a m e   b u b b l e s   b u t t o n   c a n c e l a b l e   c h a r C o d e   c l i e n t X   c l i e n t Y   c t r l K e y   c u r r e n t T a r g e t   d a t a   d e t a i l   e v e n t P h a s e   f r o m E l e m e n t   h a n d l e r   k e y C o d e   l a y e r X   l a y e r Y   m e t a K e y   n e w V a l u e   o f f s e t X   o f f s e t Y   o r i g i n a l T a r g e t   p a g e X   p a g e Y   p r e v V a l u e   r e l a t e d N o d e   r e l a t e d T a r g e t   s c r e e n X   s c r e e n Y   s h i f t K e y   s r c E l e m e n t   t a r g e t   t o E l e m e n t   v i e w   w h e e l D e l t a   w h i c h " . s p l i t ( "   " ) ,  
 f i x : f u n c t i o n ( a ) { i f ( a [ G ] ) r e t u r n   a ; v a r   b = a ; a = c . E v e n t ( b ) ; f o r ( v a r   d = t h i s . p r o p s . l e n g t h , f ; d ; ) { f = t h i s . p r o p s [ - - d ] ; a [ f ] = b [ f ] } i f ( ! a . t a r g e t ) a . t a r g e t = a . s r c E l e m e n t | | r ; i f ( a . t a r g e t . n o d e T y p e = = = 3 ) a . t a r g e t = a . t a r g e t . p a r e n t N o d e ; i f ( ! a . r e l a t e d T a r g e t & & a . f r o m E l e m e n t ) a . r e l a t e d T a r g e t = a . f r o m E l e m e n t = = = a . t a r g e t ? a . t o E l e m e n t : a . f r o m E l e m e n t ; i f ( a . p a g e X = = n u l l & & a . c l i e n t X ! = n u l l ) { b = r . d o c u m e n t E l e m e n t ; d = r . b o d y ; a . p a g e X = a . c l i e n t X + ( b & & b . s c r o l l L e f t | | d & & d . s c r o l l L e f t | | 0 ) - ( b & & b . c l i e n t L e f t | | d & & d . c l i e n t L e f t | | 0 ) ; a . p a g e Y = a . c l i e n t Y + ( b & & b . s c r o l l T o p | |  
 d & & d . s c r o l l T o p | | 0 ) - ( b & & b . c l i e n t T o p | | d & & d . c l i e n t T o p | | 0 ) } i f ( ! a . w h i c h & & ( a . c h a r C o d e | | a . c h a r C o d e = = = 0 ? a . c h a r C o d e : a . k e y C o d e ) ) a . w h i c h = a . c h a r C o d e | | a . k e y C o d e ; i f ( ! a . m e t a K e y & & a . c t r l K e y ) a . m e t a K e y = a . c t r l K e y ; i f ( ! a . w h i c h & & a . b u t t o n ! = = v ) a . w h i c h = a . b u t t o n & 1 ? 1 : a . b u t t o n & 2 ? 3 : a . b u t t o n & 4 ? 2 : 0 ; r e t u r n   a } , g u i d : 1 E 8 , p r o x y : c . p r o x y , s p e c i a l : { r e a d y : { s e t u p : c . b i n d R e a d y , t e a r d o w n : c . n o o p } , l i v e : { a d d : f u n c t i o n ( a , b ) { c . e x t e n d ( a , b | | { } ) ; a . g u i d + = b . s e l e c t o r + b . l i v e ; b . l i v e P r o x y = a ; c . e v e n t . a d d ( t h i s , b . l i v e , n a , b ) } , r e m o v e : f u n c t i o n ( a ) { i f ( a . l e n g t h ) { v a r   b =  
 0 , d = n e w   R e g E x p ( " ( ^ | \ \ . ) " + a [ 0 ] + " ( \ \ . | $ ) " ) ; c . e a c h ( c . d a t a ( t h i s , " e v e n t s " ) . l i v e | | { } , f u n c t i o n ( ) { d . t e s t ( t h i s . t y p e ) & & b + + } ) ; b < 1 & & c . e v e n t . r e m o v e ( t h i s , a [ 0 ] , n a ) } } , s p e c i a l : { } } , b e f o r e u n l o a d : { s e t u p : f u n c t i o n ( a , b , d ) { i f ( t h i s . s e t I n t e r v a l ) t h i s . o n b e f o r e u n l o a d = d ; r e t u r n   f a l s e } , t e a r d o w n : f u n c t i o n ( a , b ) { i f ( t h i s . o n b e f o r e u n l o a d = = = b ) t h i s . o n b e f o r e u n l o a d = n u l l } } } } ; c . E v e n t = f u n c t i o n ( a ) { i f ( ! t h i s . p r e v e n t D e f a u l t ) r e t u r n   n e w   c . E v e n t ( a ) ; i f ( a & & a . t y p e ) { t h i s . o r i g i n a l E v e n t = a ; t h i s . t y p e = a . t y p e } e l s e   t h i s . t y p e = a ; t h i s . t i m e S t a m p = J ( ) ; t h i s [ G ] = t r u e } ;  
 c . E v e n t . p r o t o t y p e = { p r e v e n t D e f a u l t : f u n c t i o n ( ) { t h i s . i s D e f a u l t P r e v e n t e d = Z ; v a r   a = t h i s . o r i g i n a l E v e n t ; i f ( a ) { a . p r e v e n t D e f a u l t & & a . p r e v e n t D e f a u l t ( ) ; a . r e t u r n V a l u e = f a l s e } } , s t o p P r o p a g a t i o n : f u n c t i o n ( ) { t h i s . i s P r o p a g a t i o n S t o p p e d = Z ; v a r   a = t h i s . o r i g i n a l E v e n t ; i f ( a ) { a . s t o p P r o p a g a t i o n & & a . s t o p P r o p a g a t i o n ( ) ; a . c a n c e l B u b b l e = t r u e } } , s t o p I m m e d i a t e P r o p a g a t i o n : f u n c t i o n ( ) { t h i s . i s I m m e d i a t e P r o p a g a t i o n S t o p p e d = Z ; t h i s . s t o p P r o p a g a t i o n ( ) } , i s D e f a u l t P r e v e n t e d : Y , i s P r o p a g a t i o n S t o p p e d : Y , i s I m m e d i a t e P r o p a g a t i o n S t o p p e d : Y } ; v a r   A a = f u n c t i o n ( a ) { f o r ( v a r   b =  
 a . r e l a t e d T a r g e t ; b & & b ! = = t h i s ; ) t r y { b = b . p a r e n t N o d e } c a t c h ( d ) { b r e a k } i f ( b ! = = t h i s ) { a . t y p e = a . d a t a ; c . e v e n t . h a n d l e . a p p l y ( t h i s , a r g u m e n t s ) } } , B a = f u n c t i o n ( a ) { a . t y p e = a . d a t a ; c . e v e n t . h a n d l e . a p p l y ( t h i s , a r g u m e n t s ) } ; c . e a c h ( { m o u s e e n t e r : " m o u s e o v e r " , m o u s e l e a v e : " m o u s e o u t " } , f u n c t i o n ( a , b ) { c . e v e n t . s p e c i a l [ a ] = { s e t u p : f u n c t i o n ( d ) { c . e v e n t . a d d ( t h i s , b , d & & d . s e l e c t o r ? B a : A a , a ) } , t e a r d o w n : f u n c t i o n ( d ) { c . e v e n t . r e m o v e ( t h i s , b , d & & d . s e l e c t o r ? B a : A a ) } } } ) ; i f ( ! c . s u p p o r t . s u b m i t B u b b l e s ) c . e v e n t . s p e c i a l . s u b m i t = { s e t u p : f u n c t i o n ( a , b , d ) { i f ( t h i s . n o d e N a m e . t o L o w e r C a s e ( ) ! = =  
 " f o r m " ) { c . e v e n t . a d d ( t h i s , " c l i c k . s p e c i a l S u b m i t . " + d . g u i d , f u n c t i o n ( f ) { v a r   e = f . t a r g e t , i = e . t y p e ; i f ( ( i = = = " s u b m i t " | | i = = = " i m a g e " ) & & c ( e ) . c l o s e s t ( " f o r m " ) . l e n g t h ) r e t u r n   m a ( " s u b m i t " , t h i s , a r g u m e n t s ) } ) ; c . e v e n t . a d d ( t h i s , " k e y p r e s s . s p e c i a l S u b m i t . " + d . g u i d , f u n c t i o n ( f ) { v a r   e = f . t a r g e t , i = e . t y p e ; i f ( ( i = = = " t e x t " | | i = = = " p a s s w o r d " ) & & c ( e ) . c l o s e s t ( " f o r m " ) . l e n g t h & & f . k e y C o d e = = = 1 3 ) r e t u r n   m a ( " s u b m i t " , t h i s , a r g u m e n t s ) } ) } e l s e   r e t u r n   f a l s e } , r e m o v e : f u n c t i o n ( a , b ) { c . e v e n t . r e m o v e ( t h i s , " c l i c k . s p e c i a l S u b m i t " + ( b ? " . " + b . g u i d : " " ) ) ; c . e v e n t . r e m o v e ( t h i s ,  
 " k e y p r e s s . s p e c i a l S u b m i t " + ( b ? " . " + b . g u i d : " " ) ) } } ; i f ( ! c . s u p p o r t . c h a n g e B u b b l e s ) { v a r   d a = / t e x t a r e a | i n p u t | s e l e c t / i ; f u n c t i o n   C a ( a ) { v a r   b = a . t y p e , d = a . v a l u e ; i f ( b = = = " r a d i o " | | b = = = " c h e c k b o x " ) d = a . c h e c k e d ; e l s e   i f ( b = = = " s e l e c t - m u l t i p l e " ) d = a . s e l e c t e d I n d e x > - 1 ? c . m a p ( a . o p t i o n s , f u n c t i o n ( f ) { r e t u r n   f . s e l e c t e d } ) . j o i n ( " - " ) : " " ; e l s e   i f ( a . n o d e N a m e . t o L o w e r C a s e ( ) = = = " s e l e c t " ) d = a . s e l e c t e d I n d e x ; r e t u r n   d } f u n c t i o n   e a ( a , b ) { v a r   d = a . t a r g e t , f , e ; i f ( ! ( ! d a . t e s t ( d . n o d e N a m e ) | | d . r e a d O n l y ) ) { f = c . d a t a ( d , " _ c h a n g e _ d a t a " ) ; e = C a ( d ) ; i f ( a . t y p e ! = = " f o c u s o u t " | |  
 d . t y p e ! = = " r a d i o " ) c . d a t a ( d , " _ c h a n g e _ d a t a " , e ) ; i f ( ! ( f = = = v | | e = = = f ) ) i f ( f ! = n u l l | | e ) { a . t y p e = " c h a n g e " ; r e t u r n   c . e v e n t . t r i g g e r ( a , b , d ) } } } c . e v e n t . s p e c i a l . c h a n g e = { f i l t e r s : { f o c u s o u t : e a , c l i c k : f u n c t i o n ( a ) { v a r   b = a . t a r g e t , d = b . t y p e ; i f ( d = = = " r a d i o " | | d = = = " c h e c k b o x " | | b . n o d e N a m e . t o L o w e r C a s e ( ) = = = " s e l e c t " ) r e t u r n   e a . c a l l ( t h i s , a ) } , k e y d o w n : f u n c t i o n ( a ) { v a r   b = a . t a r g e t , d = b . t y p e ; i f ( a . k e y C o d e = = = 1 3 & & b . n o d e N a m e . t o L o w e r C a s e ( ) ! = = " t e x t a r e a " | | a . k e y C o d e = = = 3 2 & & ( d = = = " c h e c k b o x " | | d = = = " r a d i o " ) | | d = = = " s e l e c t - m u l t i p l e " ) r e t u r n   e a . c a l l ( t h i s , a ) } , b e f o r e a c t i v a t e : f u n c t i o n ( a ) { a =  
 a . t a r g e t ; a . n o d e N a m e . t o L o w e r C a s e ( ) = = = " i n p u t " & & a . t y p e = = = " r a d i o " & & c . d a t a ( a , " _ c h a n g e _ d a t a " , C a ( a ) ) } } , s e t u p : f u n c t i o n ( a , b , d ) { f o r ( v a r   f   i n   T ) c . e v e n t . a d d ( t h i s , f + " . s p e c i a l C h a n g e . " + d . g u i d , T [ f ] ) ; r e t u r n   d a . t e s t ( t h i s . n o d e N a m e ) } , r e m o v e : f u n c t i o n ( a , b ) { f o r ( v a r   d   i n   T ) c . e v e n t . r e m o v e ( t h i s , d + " . s p e c i a l C h a n g e " + ( b ? " . " + b . g u i d : " " ) , T [ d ] ) ; r e t u r n   d a . t e s t ( t h i s . n o d e N a m e ) } } ; v a r   T = c . e v e n t . s p e c i a l . c h a n g e . f i l t e r s } r . a d d E v e n t L i s t e n e r & & c . e a c h ( { f o c u s : " f o c u s i n " , b l u r : " f o c u s o u t " } , f u n c t i o n ( a , b ) { f u n c t i o n   d ( f ) { f = c . e v e n t . f i x ( f ) ; f . t y p e = b ; r e t u r n   c . e v e n t . h a n d l e . c a l l ( t h i s ,  
 f ) } c . e v e n t . s p e c i a l [ b ] = { s e t u p : f u n c t i o n ( ) { t h i s . a d d E v e n t L i s t e n e r ( a , d , t r u e ) } , t e a r d o w n : f u n c t i o n ( ) { t h i s . r e m o v e E v e n t L i s t e n e r ( a , d , t r u e ) } } } ) ; c . e a c h ( [ " b i n d " , " o n e " ] , f u n c t i o n ( a , b ) { c . f n [ b ] = f u n c t i o n ( d , f , e ) { i f ( t y p e o f   d = = = " o b j e c t " ) { f o r ( v a r   i   i n   d ) t h i s [ b ] ( i , f , d [ i ] , e ) ; r e t u r n   t h i s } i f ( c . i s F u n c t i o n ( f ) ) { e = f ; f = v } v a r   j = b = = = " o n e " ? c . p r o x y ( e , f u n c t i o n ( n ) { c ( t h i s ) . u n b i n d ( n , j ) ; r e t u r n   e . a p p l y ( t h i s , a r g u m e n t s ) } ) : e ; r e t u r n   d = = = " u n l o a d " & & b ! = = " o n e " ? t h i s . o n e ( d , f , e ) : t h i s . e a c h ( f u n c t i o n ( ) { c . e v e n t . a d d ( t h i s , d , j , f ) } ) } } ) ; c . f n . e x t e n d ( { u n b i n d : f u n c t i o n ( a ,  
 b ) { i f ( t y p e o f   a = = = " o b j e c t " & & ! a . p r e v e n t D e f a u l t ) { f o r ( v a r   d   i n   a ) t h i s . u n b i n d ( d , a [ d ] ) ; r e t u r n   t h i s } r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { c . e v e n t . r e m o v e ( t h i s , a , b ) } ) } , t r i g g e r : f u n c t i o n ( a , b ) { r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { c . e v e n t . t r i g g e r ( a , b , t h i s ) } ) } , t r i g g e r H a n d l e r : f u n c t i o n ( a , b ) { i f ( t h i s [ 0 ] ) { a = c . E v e n t ( a ) ; a . p r e v e n t D e f a u l t ( ) ; a . s t o p P r o p a g a t i o n ( ) ; c . e v e n t . t r i g g e r ( a , b , t h i s [ 0 ] ) ; r e t u r n   a . r e s u l t } } , t o g g l e : f u n c t i o n ( a ) { f o r ( v a r   b = a r g u m e n t s , d = 1 ; d < b . l e n g t h ; ) c . p r o x y ( a , b [ d + + ] ) ; r e t u r n   t h i s . c l i c k ( c . p r o x y ( a , f u n c t i o n ( f ) { v a r   e = ( c . d a t a ( t h i s , " l a s t T o g g l e " +  
 a . g u i d ) | | 0 ) % d ; c . d a t a ( t h i s , " l a s t T o g g l e " + a . g u i d , e + 1 ) ; f . p r e v e n t D e f a u l t ( ) ; r e t u r n   b [ e ] . a p p l y ( t h i s , a r g u m e n t s ) | | f a l s e } ) ) } , h o v e r : f u n c t i o n ( a , b ) { r e t u r n   t h i s . m o u s e e n t e r ( a ) . m o u s e l e a v e ( b | | a ) } } ) ; c . e a c h ( [ " l i v e " , " d i e " ] , f u n c t i o n ( a , b ) { c . f n [ b ] = f u n c t i o n ( d , f , e ) { v a r   i , j = 0 ; i f ( c . i s F u n c t i o n ( f ) ) { e = f ; f = v } f o r ( d = ( d | | " " ) . s p l i t ( / \ s + / ) ; ( i = d [ j + + ] ) ! = n u l l ; ) { i = i = = = " f o c u s " ? " f o c u s i n " : i = = = " b l u r " ? " f o c u s o u t " : i = = = " h o v e r " ? d . p u s h ( " m o u s e l e a v e " ) & & " m o u s e e n t e r " : i ; b = = = " l i v e " ? c ( t h i s . c o n t e x t ) . b i n d ( o a ( i , t h i s . s e l e c t o r ) , { d a t a : f , s e l e c t o r : t h i s . s e l e c t o r ,  
 l i v e : i } , e ) : c ( t h i s . c o n t e x t ) . u n b i n d ( o a ( i , t h i s . s e l e c t o r ) , e ? { g u i d : e . g u i d + t h i s . s e l e c t o r + i } : n u l l ) } r e t u r n   t h i s } } ) ; c . e a c h ( " b l u r   f o c u s   f o c u s i n   f o c u s o u t   l o a d   r e s i z e   s c r o l l   u n l o a d   c l i c k   d b l c l i c k   m o u s e d o w n   m o u s e u p   m o u s e m o v e   m o u s e o v e r   m o u s e o u t   m o u s e e n t e r   m o u s e l e a v e   c h a n g e   s e l e c t   s u b m i t   k e y d o w n   k e y p r e s s   k e y u p   e r r o r " . s p l i t ( "   " ) , f u n c t i o n ( a , b ) { c . f n [ b ] = f u n c t i o n ( d ) { r e t u r n   d ? t h i s . b i n d ( b , d ) : t h i s . t r i g g e r ( b ) } ; i f ( c . a t t r F n ) c . a t t r F n [ b ] = t r u e } ) ; z . a t t a c h E v e n t & & ! z . a d d E v e n t L i s t e n e r & & z . a t t a c h E v e n t ( " o n u n l o a d " , f u n c t i o n ( ) { f o r ( v a r   a   i n   c . c a c h e ) i f ( c . c a c h e [ a ] . h a n d l e ) t r y { c . e v e n t . r e m o v e ( c . c a c h e [ a ] . h a n d l e . e l e m ) } c a t c h ( b ) { } } ) ;  
 ( f u n c t i o n ( ) { f u n c t i o n   a ( g ) { f o r ( v a r   h = " " , k , l = 0 ; g [ l ] ; l + + ) { k = g [ l ] ; i f ( k . n o d e T y p e = = = 3 | | k . n o d e T y p e = = = 4 ) h + = k . n o d e V a l u e ; e l s e   i f ( k . n o d e T y p e ! = = 8 ) h + = a ( k . c h i l d N o d e s ) } r e t u r n   h } f u n c t i o n   b ( g , h , k , l , q , p ) { q = 0 ; f o r ( v a r   u = l . l e n g t h ; q < u ; q + + ) { v a r   t = l [ q ] ; i f ( t ) { t = t [ g ] ; f o r ( v a r   y = f a l s e ; t ; ) { i f ( t . s i z c a c h e = = = k ) { y = l [ t . s i z s e t ] ; b r e a k } i f ( t . n o d e T y p e = = = 1 & & ! p ) { t . s i z c a c h e = k ; t . s i z s e t = q } i f ( t . n o d e N a m e . t o L o w e r C a s e ( ) = = = h ) { y = t ; b r e a k } t = t [ g ] } l [ q ] = y } } } f u n c t i o n   d ( g , h , k , l , q , p ) { q = 0 ; f o r ( v a r   u = l . l e n g t h ; q < u ; q + + ) { v a r   t = l [ q ] ; i f ( t ) { t = t [ g ] ; f o r ( v a r   y = f a l s e ; t ; ) { i f ( t . s i z c a c h e = = =  
 k ) { y = l [ t . s i z s e t ] ; b r e a k } i f ( t . n o d e T y p e = = = 1 ) { i f ( ! p ) { t . s i z c a c h e = k ; t . s i z s e t = q } i f ( t y p e o f   h ! = = " s t r i n g " ) { i f ( t = = = h ) { y = t r u e ; b r e a k } } e l s e   i f ( o . f i l t e r ( h , [ t ] ) . l e n g t h > 0 ) { y = t ; b r e a k } } t = t [ g ] } l [ q ] = y } } } v a r   f = / ( ( ? : \ ( ( ? : \ ( [ ^ ( ) ] + \ ) | [ ^ ( ) ] + ) + \ ) | \ [ ( ? : \ [ [ ^ [ \ ] ] * \ ] | [ ' " ] [ ^ ' " ] * [ ' " ] | [ ^ [ \ ] ' " ] + ) + \ ] | \ \ . | [ ^   > + ~ , ( \ [ \ \ ] + ) + | [ > + ~ ] ) ( \ s * , \ s * ) ? ( ( ? : . | \ r | \ n ) * ) / g , e = 0 , i = O b j e c t . p r o t o t y p e . t o S t r i n g , j = f a l s e , n = t r u e ; [ 0 , 0 ] . s o r t ( f u n c t i o n ( ) { n = f a l s e ; r e t u r n   0 } ) ; v a r   o = f u n c t i o n ( g , h , k , l ) { k = k | | [ ] ; v a r   q = h = h | | r ; i f ( h . n o d e T y p e ! = = 1 & & h . n o d e T y p e ! = = 9 ) r e t u r n [ ] ; i f ( ! g | |  
 t y p e o f   g ! = = " s t r i n g " ) r e t u r n   k ; f o r ( v a r   p = [ ] , u , t , y , R , H = t r u e , M = w ( h ) , I = g ; ( f . e x e c ( " " ) , u = f . e x e c ( I ) ) ! = = n u l l ; ) { I = u [ 3 ] ; p . p u s h ( u [ 1 ] ) ; i f ( u [ 2 ] ) { R = u [ 3 ] ; b r e a k } } i f ( p . l e n g t h > 1 & & s . e x e c ( g ) ) i f ( p . l e n g t h = = = 2 & & m . r e l a t i v e [ p [ 0 ] ] ) t = f a ( p [ 0 ] + p [ 1 ] , h ) ; e l s e   f o r ( t = m . r e l a t i v e [ p [ 0 ] ] ? [ h ] : o ( p . s h i f t ( ) , h ) ; p . l e n g t h ; ) { g = p . s h i f t ( ) ; i f ( m . r e l a t i v e [ g ] ) g + = p . s h i f t ( ) ; t = f a ( g , t ) } e l s e { i f ( ! l & & p . l e n g t h > 1 & & h . n o d e T y p e = = = 9 & & ! M & & m . m a t c h . I D . t e s t ( p [ 0 ] ) & & ! m . m a t c h . I D . t e s t ( p [ p . l e n g t h - 1 ] ) ) { u = o . f i n d ( p . s h i f t ( ) , h , M ) ; h = u . e x p r ? o . f i l t e r ( u . e x p r , u . s e t ) [ 0 ] : u . s e t [ 0 ] } i f ( h ) { u =  
 l ? { e x p r : p . p o p ( ) , s e t : A ( l ) } : o . f i n d ( p . p o p ( ) , p . l e n g t h = = = 1 & & ( p [ 0 ] = = = " ~ " | | p [ 0 ] = = = " + " ) & & h . p a r e n t N o d e ? h . p a r e n t N o d e : h , M ) ; t = u . e x p r ? o . f i l t e r ( u . e x p r , u . s e t ) : u . s e t ; i f ( p . l e n g t h > 0 ) y = A ( t ) ; e l s e   H = f a l s e ; f o r ( ; p . l e n g t h ; ) { v a r   D = p . p o p ( ) ; u = D ; i f ( m . r e l a t i v e [ D ] ) u = p . p o p ( ) ; e l s e   D = " " ; i f ( u = = n u l l ) u = h ; m . r e l a t i v e [ D ] ( y , u , M ) } } e l s e   y = [ ] } y | | ( y = t ) ; y | | o . e r r o r ( D | | g ) ; i f ( i . c a l l ( y ) = = = " [ o b j e c t   A r r a y ] " ) i f ( H ) i f ( h & & h . n o d e T y p e = = = 1 ) f o r ( g = 0 ; y [ g ] ! = n u l l ; g + + ) { i f ( y [ g ] & & ( y [ g ] = = = t r u e | | y [ g ] . n o d e T y p e = = = 1 & & E ( h , y [ g ] ) ) ) k . p u s h ( t [ g ] ) } e l s e   f o r ( g = 0 ; y [ g ] ! = n u l l ; g + + ) y [ g ] & &  
 y [ g ] . n o d e T y p e = = = 1 & & k . p u s h ( t [ g ] ) ; e l s e   k . p u s h . a p p l y ( k , y ) ; e l s e   A ( y , k ) ; i f ( R ) { o ( R , q , k , l ) ; o . u n i q u e S o r t ( k ) } r e t u r n   k } ; o . u n i q u e S o r t = f u n c t i o n ( g ) { i f ( C ) { j = n ; g . s o r t ( C ) ; i f ( j ) f o r ( v a r   h = 1 ; h < g . l e n g t h ; h + + ) g [ h ] = = = g [ h - 1 ] & & g . s p l i c e ( h - - , 1 ) } r e t u r n   g } ; o . m a t c h e s = f u n c t i o n ( g , h ) { r e t u r n   o ( g , n u l l , n u l l , h ) } ; o . f i n d = f u n c t i o n ( g , h , k ) { v a r   l , q ; i f ( ! g ) r e t u r n [ ] ; f o r ( v a r   p = 0 , u = m . o r d e r . l e n g t h ; p < u ; p + + ) { v a r   t = m . o r d e r [ p ] ; i f ( q = m . l e f t M a t c h [ t ] . e x e c ( g ) ) { v a r   y = q [ 1 ] ; q . s p l i c e ( 1 , 1 ) ; i f ( y . s u b s t r ( y . l e n g t h - 1 ) ! = = " \ \ " ) { q [ 1 ] = ( q [ 1 ] | | " " ) . r e p l a c e ( / \ \ / g , " " ) ; l = m . f i n d [ t ] ( q ,  
 h , k ) ; i f ( l ! = n u l l ) { g = g . r e p l a c e ( m . m a t c h [ t ] , " " ) ; b r e a k } } } } l | | ( l = h . g e t E l e m e n t s B y T a g N a m e ( " * " ) ) ; r e t u r n { s e t : l , e x p r : g } } ; o . f i l t e r = f u n c t i o n ( g , h , k , l ) { f o r ( v a r   q = g , p = [ ] , u = h , t , y , R = h & & h [ 0 ] & & w ( h [ 0 ] ) ; g & & h . l e n g t h ; ) { f o r ( v a r   H   i n   m . f i l t e r ) i f ( ( t = m . l e f t M a t c h [ H ] . e x e c ( g ) ) ! = n u l l & & t [ 2 ] ) { v a r   M = m . f i l t e r [ H ] , I , D ; D = t [ 1 ] ; y = f a l s e ; t . s p l i c e ( 1 , 1 ) ; i f ( D . s u b s t r ( D . l e n g t h - 1 ) ! = = " \ \ " ) { i f ( u = = = p ) p = [ ] ; i f ( m . p r e F i l t e r [ H ] ) i f ( t = m . p r e F i l t e r [ H ] ( t , u , k , p , l , R ) ) { i f ( t = = = t r u e ) c o n t i n u e } e l s e   y = I = t r u e ; i f ( t ) f o r ( v a r   U = 0 ; ( D = u [ U ] ) ! = n u l l ; U + + ) i f ( D ) { I = M ( D , t , U , u ) ; v a r   D a =  
 l ^ ! ! I ; i f ( k & & I ! = n u l l ) i f ( D a ) y = t r u e ; e l s e   u [ U ] = f a l s e ; e l s e   i f ( D a ) { p . p u s h ( D ) ; y = t r u e } } i f ( I ! = = v ) { k | | ( u = p ) ; g = g . r e p l a c e ( m . m a t c h [ H ] , " " ) ; i f ( ! y ) r e t u r n [ ] ; b r e a k } } } i f ( g = = = q ) i f ( y = = n u l l ) o . e r r o r ( g ) ; e l s e   b r e a k ; q = g } r e t u r n   u } ; o . e r r o r = f u n c t i o n ( g ) { t h r o w " S y n t a x   e r r o r ,   u n r e c o g n i z e d   e x p r e s s i o n :   " + g ; } ; v a r   m = o . s e l e c t o r s = { o r d e r : [ " I D " , " N A M E " , " T A G " ] , m a t c h : { I D : / # ( ( ? : [ \ w \ u 0 0 c 0 - \ u F F F F - ] | \ \ . ) + ) / , C L A S S : / \ . ( ( ? : [ \ w \ u 0 0 c 0 - \ u F F F F - ] | \ \ . ) + ) / , N A M E : / \ [ n a m e = [ ' " ] * ( ( ? : [ \ w \ u 0 0 c 0 - \ u F F F F - ] | \ \ . ) + ) [ ' " ] * \ ] / , A T T R : / \ [ \ s * ( ( ? : [ \ w \ u 0 0 c 0 - \ u F F F F - ] | \ \ . ) + ) \ s * ( ? : ( \ S ? = ) \ s * ( [ ' " ] * ) ( . * ? ) \ 3 | ) \ s * \ ] / ,  
 T A G : / ^ ( ( ? : [ \ w \ u 0 0 c 0 - \ u F F F F \ * - ] | \ \ . ) + ) / , C H I L D : / : ( o n l y | n t h | l a s t | f i r s t ) - c h i l d ( ? : \ ( ( e v e n | o d d | [ \ d n + - ] * ) \ ) ) ? / , P O S : / : ( n t h | e q | g t | l t | f i r s t | l a s t | e v e n | o d d ) ( ? : \ ( ( \ d * ) \ ) ) ? ( ? = [ ^ - ] | $ ) / , P S E U D O : / : ( ( ? : [ \ w \ u 0 0 c 0 - \ u F F F F - ] | \ \ . ) + ) ( ? : \ ( ( [ ' " ] ? ) ( ( ? : \ ( [ ^ \ ) ] + \ ) | [ ^ \ ( \ ) ] * ) + ) \ 2 \ ) ) ? / } , l e f t M a t c h : { } , a t t r M a p : { " c l a s s " : " c l a s s N a m e " , " f o r " : " h t m l F o r " } , a t t r H a n d l e : { h r e f : f u n c t i o n ( g ) { r e t u r n   g . g e t A t t r i b u t e ( " h r e f " ) } } , r e l a t i v e : { " + " : f u n c t i o n ( g , h ) { v a r   k = t y p e o f   h = = = " s t r i n g " , l = k & & ! / \ W / . t e s t ( h ) ; k = k & & ! l ; i f ( l ) h = h . t o L o w e r C a s e ( ) ; l = 0 ; f o r ( v a r   q = g . l e n g t h ,  
 p ; l < q ; l + + ) i f ( p = g [ l ] ) { f o r ( ; ( p = p . p r e v i o u s S i b l i n g ) & & p . n o d e T y p e ! = = 1 ; ) ; g [ l ] = k | | p & & p . n o d e N a m e . t o L o w e r C a s e ( ) = = = h ? p | | f a l s e : p = = = h } k & & o . f i l t e r ( h , g , t r u e ) } , " > " : f u n c t i o n ( g , h ) { v a r   k = t y p e o f   h = = = " s t r i n g " ; i f ( k & & ! / \ W / . t e s t ( h ) ) { h = h . t o L o w e r C a s e ( ) ; f o r ( v a r   l = 0 , q = g . l e n g t h ; l < q ; l + + ) { v a r   p = g [ l ] ; i f ( p ) { k = p . p a r e n t N o d e ; g [ l ] = k . n o d e N a m e . t o L o w e r C a s e ( ) = = = h ? k : f a l s e } } } e l s e { l = 0 ; f o r ( q = g . l e n g t h ; l < q ; l + + ) i f ( p = g [ l ] ) g [ l ] = k ? p . p a r e n t N o d e : p . p a r e n t N o d e = = = h ; k & & o . f i l t e r ( h , g , t r u e ) } } , " " : f u n c t i o n ( g , h , k ) { v a r   l = e + + , q = d ; i f ( t y p e o f   h = = = " s t r i n g " & & ! / \ W / . t e s t ( h ) ) { v a r   p =  
 h = h . t o L o w e r C a s e ( ) ; q = b } q ( " p a r e n t N o d e " , h , l , g , p , k ) } , " ~ " : f u n c t i o n ( g , h , k ) { v a r   l = e + + , q = d ; i f ( t y p e o f   h = = = " s t r i n g " & & ! / \ W / . t e s t ( h ) ) { v a r   p = h = h . t o L o w e r C a s e ( ) ; q = b } q ( " p r e v i o u s S i b l i n g " , h , l , g , p , k ) } } , f i n d : { I D : f u n c t i o n ( g , h , k ) { i f ( t y p e o f   h . g e t E l e m e n t B y I d ! = = " u n d e f i n e d " & & ! k ) r e t u r n ( g = h . g e t E l e m e n t B y I d ( g [ 1 ] ) ) ? [ g ] : [ ] } , N A M E : f u n c t i o n ( g , h ) { i f ( t y p e o f   h . g e t E l e m e n t s B y N a m e ! = = " u n d e f i n e d " ) { v a r   k = [ ] ; h = h . g e t E l e m e n t s B y N a m e ( g [ 1 ] ) ; f o r ( v a r   l = 0 , q = h . l e n g t h ; l < q ; l + + ) h [ l ] . g e t A t t r i b u t e ( " n a m e " ) = = = g [ 1 ] & & k . p u s h ( h [ l ] ) ; r e t u r n   k . l e n g t h = = = 0 ? n u l l : k } } ,  
 T A G : f u n c t i o n ( g , h ) { r e t u r n   h . g e t E l e m e n t s B y T a g N a m e ( g [ 1 ] ) } } , p r e F i l t e r : { C L A S S : f u n c t i o n ( g , h , k , l , q , p ) { g = "   " + g [ 1 ] . r e p l a c e ( / \ \ / g , " " ) + "   " ; i f ( p ) r e t u r n   g ; p = 0 ; f o r ( v a r   u ; ( u = h [ p ] ) ! = n u l l ; p + + ) i f ( u ) i f ( q ^ ( u . c l a s s N a m e & & ( "   " + u . c l a s s N a m e + "   " ) . r e p l a c e ( / [ \ t \ n ] / g , "   " ) . i n d e x O f ( g ) > = 0 ) ) k | | l . p u s h ( u ) ; e l s e   i f ( k ) h [ p ] = f a l s e ; r e t u r n   f a l s e } , I D : f u n c t i o n ( g ) { r e t u r n   g [ 1 ] . r e p l a c e ( / \ \ / g , " " ) } , T A G : f u n c t i o n ( g ) { r e t u r n   g [ 1 ] . t o L o w e r C a s e ( ) } , C H I L D : f u n c t i o n ( g ) { i f ( g [ 1 ] = = = " n t h " ) { v a r   h = / ( - ? ) ( \ d * ) n ( ( ? : \ + | - ) ? \ d * ) / . e x e c ( g [ 2 ] = = = " e v e n " & & " 2 n " | | g [ 2 ] = = = " o d d " & &  
 " 2 n + 1 " | | ! / \ D / . t e s t ( g [ 2 ] ) & & " 0 n + " + g [ 2 ] | | g [ 2 ] ) ; g [ 2 ] = h [ 1 ] + ( h [ 2 ] | | 1 ) - 0 ; g [ 3 ] = h [ 3 ] - 0 } g [ 0 ] = e + + ; r e t u r n   g } , A T T R : f u n c t i o n ( g , h , k , l , q , p ) { h = g [ 1 ] . r e p l a c e ( / \ \ / g , " " ) ; i f ( ! p & & m . a t t r M a p [ h ] ) g [ 1 ] = m . a t t r M a p [ h ] ; i f ( g [ 2 ] = = = " ~ = " ) g [ 4 ] = "   " + g [ 4 ] + "   " ; r e t u r n   g } , P S E U D O : f u n c t i o n ( g , h , k , l , q ) { i f ( g [ 1 ] = = = " n o t " ) i f ( ( f . e x e c ( g [ 3 ] ) | | " " ) . l e n g t h > 1 | | / ^ \ w / . t e s t ( g [ 3 ] ) ) g [ 3 ] = o ( g [ 3 ] , n u l l , n u l l , h ) ; e l s e { g = o . f i l t e r ( g [ 3 ] , h , k , t r u e ^ q ) ; k | | l . p u s h . a p p l y ( l , g ) ; r e t u r n   f a l s e } e l s e   i f ( m . m a t c h . P O S . t e s t ( g [ 0 ] ) | | m . m a t c h . C H I L D . t e s t ( g [ 0 ] ) ) r e t u r n   t r u e ; r e t u r n   g } , P O S : f u n c t i o n ( g ) { g . u n s h i f t ( t r u e ) ;  
 r e t u r n   g } } , f i l t e r s : { e n a b l e d : f u n c t i o n ( g ) { r e t u r n   g . d i s a b l e d = = = f a l s e & & g . t y p e ! = = " h i d d e n " } , d i s a b l e d : f u n c t i o n ( g ) { r e t u r n   g . d i s a b l e d = = = t r u e } , c h e c k e d : f u n c t i o n ( g ) { r e t u r n   g . c h e c k e d = = = t r u e } , s e l e c t e d : f u n c t i o n ( g ) { r e t u r n   g . s e l e c t e d = = = t r u e } , p a r e n t : f u n c t i o n ( g ) { r e t u r n ! ! g . f i r s t C h i l d } , e m p t y : f u n c t i o n ( g ) { r e t u r n ! g . f i r s t C h i l d } , h a s : f u n c t i o n ( g , h , k ) { r e t u r n ! ! o ( k [ 3 ] , g ) . l e n g t h } , h e a d e r : f u n c t i o n ( g ) { r e t u r n / h \ d / i . t e s t ( g . n o d e N a m e ) } , t e x t : f u n c t i o n ( g ) { r e t u r n " t e x t " = = = g . t y p e } , r a d i o : f u n c t i o n ( g ) { r e t u r n " r a d i o " = = = g . t y p e } , c h e c k b o x : f u n c t i o n ( g ) { r e t u r n " c h e c k b o x " = = =  
 g . t y p e } , f i l e : f u n c t i o n ( g ) { r e t u r n " f i l e " = = = g . t y p e } , p a s s w o r d : f u n c t i o n ( g ) { r e t u r n " p a s s w o r d " = = = g . t y p e } , s u b m i t : f u n c t i o n ( g ) { r e t u r n " s u b m i t " = = = g . t y p e } , i m a g e : f u n c t i o n ( g ) { r e t u r n " i m a g e " = = = g . t y p e } , r e s e t : f u n c t i o n ( g ) { r e t u r n " r e s e t " = = = g . t y p e } , b u t t o n : f u n c t i o n ( g ) { r e t u r n " b u t t o n " = = = g . t y p e | | g . n o d e N a m e . t o L o w e r C a s e ( ) = = = " b u t t o n " } , i n p u t : f u n c t i o n ( g ) { r e t u r n / i n p u t | s e l e c t | t e x t a r e a | b u t t o n / i . t e s t ( g . n o d e N a m e ) } } , s e t F i l t e r s : { f i r s t : f u n c t i o n ( g , h ) { r e t u r n   h = = = 0 } , l a s t : f u n c t i o n ( g , h , k , l ) { r e t u r n   h = = = l . l e n g t h - 1 } , e v e n : f u n c t i o n ( g , h ) { r e t u r n   h % 2 = = =  
 0 } , o d d : f u n c t i o n ( g , h ) { r e t u r n   h % 2 = = = 1 } , l t : f u n c t i o n ( g , h , k ) { r e t u r n   h < k [ 3 ] - 0 } , g t : f u n c t i o n ( g , h , k ) { r e t u r n   h > k [ 3 ] - 0 } , n t h : f u n c t i o n ( g , h , k ) { r e t u r n   k [ 3 ] - 0 = = = h } , e q : f u n c t i o n ( g , h , k ) { r e t u r n   k [ 3 ] - 0 = = = h } } , f i l t e r : { P S E U D O : f u n c t i o n ( g , h , k , l ) { v a r   q = h [ 1 ] , p = m . f i l t e r s [ q ] ; i f ( p ) r e t u r n   p ( g , k , h , l ) ; e l s e   i f ( q = = = " c o n t a i n s " ) r e t u r n ( g . t e x t C o n t e n t | | g . i n n e r T e x t | | a ( [ g ] ) | | " " ) . i n d e x O f ( h [ 3 ] ) > = 0 ; e l s e   i f ( q = = = " n o t " ) { h = h [ 3 ] ; k = 0 ; f o r ( l = h . l e n g t h ; k < l ; k + + ) i f ( h [ k ] = = = g ) r e t u r n   f a l s e ; r e t u r n   t r u e } e l s e   o . e r r o r ( " S y n t a x   e r r o r ,   u n r e c o g n i z e d   e x p r e s s i o n :   " +  
 q ) } , C H I L D : f u n c t i o n ( g , h ) { v a r   k = h [ 1 ] , l = g ; s w i t c h ( k ) { c a s e   " o n l y " : c a s e   " f i r s t " : f o r ( ; l = l . p r e v i o u s S i b l i n g ; ) i f ( l . n o d e T y p e = = = 1 ) r e t u r n   f a l s e ; i f ( k = = = " f i r s t " ) r e t u r n   t r u e ; l = g ; c a s e   " l a s t " : f o r ( ; l = l . n e x t S i b l i n g ; ) i f ( l . n o d e T y p e = = = 1 ) r e t u r n   f a l s e ; r e t u r n   t r u e ; c a s e   " n t h " : k = h [ 2 ] ; v a r   q = h [ 3 ] ; i f ( k = = = 1 & & q = = = 0 ) r e t u r n   t r u e ; h = h [ 0 ] ; v a r   p = g . p a r e n t N o d e ; i f ( p & & ( p . s i z c a c h e ! = = h | | ! g . n o d e I n d e x ) ) { v a r   u = 0 ; f o r ( l = p . f i r s t C h i l d ; l ; l = l . n e x t S i b l i n g ) i f ( l . n o d e T y p e = = = 1 ) l . n o d e I n d e x = + + u ; p . s i z c a c h e = h } g = g . n o d e I n d e x - q ; r e t u r n   k = = = 0 ? g = = = 0 : g % k = = = 0 & & g / k > =  
 0 } } , I D : f u n c t i o n ( g , h ) { r e t u r n   g . n o d e T y p e = = = 1 & & g . g e t A t t r i b u t e ( " i d " ) = = = h } , T A G : f u n c t i o n ( g , h ) { r e t u r n   h = = = " * " & & g . n o d e T y p e = = = 1 | | g . n o d e N a m e . t o L o w e r C a s e ( ) = = = h } , C L A S S : f u n c t i o n ( g , h ) { r e t u r n ( "   " + ( g . c l a s s N a m e | | g . g e t A t t r i b u t e ( " c l a s s " ) ) + "   " ) . i n d e x O f ( h ) > - 1 } , A T T R : f u n c t i o n ( g , h ) { v a r   k = h [ 1 ] ; g = m . a t t r H a n d l e [ k ] ? m . a t t r H a n d l e [ k ] ( g ) : g [ k ] ! = n u l l ? g [ k ] : g . g e t A t t r i b u t e ( k ) ; k = g + " " ; v a r   l = h [ 2 ] ; h = h [ 4 ] ; r e t u r n   g = = n u l l ? l = = = " ! = " : l = = = " = " ? k = = = h : l = = = " * = " ? k . i n d e x O f ( h ) > = 0 : l = = = " ~ = " ? ( "   " + k + "   " ) . i n d e x O f ( h ) > = 0 : ! h ? k & & g ! = = f a l s e : l = = = " ! = " ? k ! = = h : l = = = " ^ = " ?  
 k . i n d e x O f ( h ) = = = 0 : l = = = " $ = " ? k . s u b s t r ( k . l e n g t h - h . l e n g t h ) = = = h : l = = = " | = " ? k = = = h | | k . s u b s t r ( 0 , h . l e n g t h + 1 ) = = = h + " - " : f a l s e } , P O S : f u n c t i o n ( g , h , k , l ) { v a r   q = m . s e t F i l t e r s [ h [ 2 ] ] ; i f ( q ) r e t u r n   q ( g , k , h , l ) } } } , s = m . m a t c h . P O S ; f o r ( v a r   x   i n   m . m a t c h ) { m . m a t c h [ x ] = n e w   R e g E x p ( m . m a t c h [ x ] . s o u r c e + / ( ? ! [ ^ \ [ ] * \ ] ) ( ? ! [ ^ \ ( ] * \ ) ) / . s o u r c e ) ; m . l e f t M a t c h [ x ] = n e w   R e g E x p ( / ( ^ ( ? : . | \ r | \ n ) * ? ) / . s o u r c e + m . m a t c h [ x ] . s o u r c e . r e p l a c e ( / \ \ ( \ d + ) / g , f u n c t i o n ( g , h ) { r e t u r n " \ \ " + ( h - 0 + 1 ) } ) ) } v a r   A = f u n c t i o n ( g , h ) { g = A r r a y . p r o t o t y p e . s l i c e . c a l l ( g , 0 ) ; i f ( h ) { h . p u s h . a p p l y ( h , g ) ; r e t u r n   h } r e t u r n   g } ;  
 t r y { A r r a y . p r o t o t y p e . s l i c e . c a l l ( r . d o c u m e n t E l e m e n t . c h i l d N o d e s , 0 ) } c a t c h ( B ) { A = f u n c t i o n ( g , h ) { h = h | | [ ] ; i f ( i . c a l l ( g ) = = = " [ o b j e c t   A r r a y ] " ) A r r a y . p r o t o t y p e . p u s h . a p p l y ( h , g ) ; e l s e   i f ( t y p e o f   g . l e n g t h = = = " n u m b e r " ) f o r ( v a r   k = 0 , l = g . l e n g t h ; k < l ; k + + ) h . p u s h ( g [ k ] ) ; e l s e   f o r ( k = 0 ; g [ k ] ; k + + ) h . p u s h ( g [ k ] ) ; r e t u r n   h } } v a r   C ; i f ( r . d o c u m e n t E l e m e n t . c o m p a r e D o c u m e n t P o s i t i o n ) C = f u n c t i o n ( g , h ) { i f ( ! g . c o m p a r e D o c u m e n t P o s i t i o n | | ! h . c o m p a r e D o c u m e n t P o s i t i o n ) { i f ( g = = h ) j = t r u e ; r e t u r n   g . c o m p a r e D o c u m e n t P o s i t i o n ? - 1 : 1 } g = g . c o m p a r e D o c u m e n t P o s i t i o n ( h ) & 4 ? - 1 : g = = =  
 h ? 0 : 1 ; i f ( g = = = 0 ) j = t r u e ; r e t u r n   g } ; e l s e   i f ( " s o u r c e I n d e x " i n   r . d o c u m e n t E l e m e n t ) C = f u n c t i o n ( g , h ) { i f ( ! g . s o u r c e I n d e x | | ! h . s o u r c e I n d e x ) { i f ( g = = h ) j = t r u e ; r e t u r n   g . s o u r c e I n d e x ? - 1 : 1 } g = g . s o u r c e I n d e x - h . s o u r c e I n d e x ; i f ( g = = = 0 ) j = t r u e ; r e t u r n   g } ; e l s e   i f ( r . c r e a t e R a n g e ) C = f u n c t i o n ( g , h ) { i f ( ! g . o w n e r D o c u m e n t | | ! h . o w n e r D o c u m e n t ) { i f ( g = = h ) j = t r u e ; r e t u r n   g . o w n e r D o c u m e n t ? - 1 : 1 } v a r   k = g . o w n e r D o c u m e n t . c r e a t e R a n g e ( ) , l = h . o w n e r D o c u m e n t . c r e a t e R a n g e ( ) ; k . s e t S t a r t ( g , 0 ) ; k . s e t E n d ( g , 0 ) ; l . s e t S t a r t ( h , 0 ) ; l . s e t E n d ( h , 0 ) ; g = k . c o m p a r e B o u n d a r y P o i n t s ( R a n g e . S T A R T _ T O _ E N D ,  
 l ) ; i f ( g = = = 0 ) j = t r u e ; r e t u r n   g } ; ( f u n c t i o n ( ) { v a r   g = r . c r e a t e E l e m e n t ( " d i v " ) , h = " s c r i p t " + ( n e w   D a t e ) . g e t T i m e ( ) ; g . i n n e r H T M L = " < a   n a m e = ' " + h + " ' / > " ; v a r   k = r . d o c u m e n t E l e m e n t ; k . i n s e r t B e f o r e ( g , k . f i r s t C h i l d ) ; i f ( r . g e t E l e m e n t B y I d ( h ) ) { m . f i n d . I D = f u n c t i o n ( l , q , p ) { i f ( t y p e o f   q . g e t E l e m e n t B y I d ! = = " u n d e f i n e d " & & ! p ) r e t u r n ( q = q . g e t E l e m e n t B y I d ( l [ 1 ] ) ) ? q . i d = = = l [ 1 ] | | t y p e o f   q . g e t A t t r i b u t e N o d e ! = = " u n d e f i n e d " & & q . g e t A t t r i b u t e N o d e ( " i d " ) . n o d e V a l u e = = = l [ 1 ] ? [ q ] : v : [ ] } ; m . f i l t e r . I D = f u n c t i o n ( l , q ) { v a r   p = t y p e o f   l . g e t A t t r i b u t e N o d e ! = = " u n d e f i n e d " & & l . g e t A t t r i b u t e N o d e ( " i d " ) ;  
 r e t u r n   l . n o d e T y p e = = = 1 & & p & & p . n o d e V a l u e = = = q } } k . r e m o v e C h i l d ( g ) ; k = g = n u l l } ) ( ) ; ( f u n c t i o n ( ) { v a r   g = r . c r e a t e E l e m e n t ( " d i v " ) ; g . a p p e n d C h i l d ( r . c r e a t e C o m m e n t ( " " ) ) ; i f ( g . g e t E l e m e n t s B y T a g N a m e ( " * " ) . l e n g t h > 0 ) m . f i n d . T A G = f u n c t i o n ( h , k ) { k = k . g e t E l e m e n t s B y T a g N a m e ( h [ 1 ] ) ; i f ( h [ 1 ] = = = " * " ) { h = [ ] ; f o r ( v a r   l = 0 ; k [ l ] ; l + + ) k [ l ] . n o d e T y p e = = = 1 & & h . p u s h ( k [ l ] ) ; k = h } r e t u r n   k } ; g . i n n e r H T M L = " < a   h r e f = ' # ' > < / a > " ; i f ( g . f i r s t C h i l d & & t y p e o f   g . f i r s t C h i l d . g e t A t t r i b u t e ! = = " u n d e f i n e d " & & g . f i r s t C h i l d . g e t A t t r i b u t e ( " h r e f " ) ! = = " # " ) m . a t t r H a n d l e . h r e f = f u n c t i o n ( h ) { r e t u r n   h . g e t A t t r i b u t e ( " h r e f " ,  
 2 ) } ; g = n u l l } ) ( ) ; r . q u e r y S e l e c t o r A l l & & f u n c t i o n ( ) { v a r   g = o , h = r . c r e a t e E l e m e n t ( " d i v " ) ; h . i n n e r H T M L = " < p   c l a s s = ' T E S T ' > < / p > " ; i f ( ! ( h . q u e r y S e l e c t o r A l l & & h . q u e r y S e l e c t o r A l l ( " . T E S T " ) . l e n g t h = = = 0 ) ) { o = f u n c t i o n ( l , q , p , u ) { q = q | | r ; i f ( ! u & & q . n o d e T y p e = = = 9 & & ! w ( q ) ) t r y { r e t u r n   A ( q . q u e r y S e l e c t o r A l l ( l ) , p ) } c a t c h ( t ) { } r e t u r n   g ( l , q , p , u ) } ; f o r ( v a r   k   i n   g ) o [ k ] = g [ k ] ; h = n u l l } } ( ) ; ( f u n c t i o n ( ) { v a r   g = r . c r e a t e E l e m e n t ( " d i v " ) ; g . i n n e r H T M L = " < d i v   c l a s s = ' t e s t   e ' > < / d i v > < d i v   c l a s s = ' t e s t ' > < / d i v > " ; i f ( ! ( ! g . g e t E l e m e n t s B y C l a s s N a m e | | g . g e t E l e m e n t s B y C l a s s N a m e ( " e " ) . l e n g t h = = =  
 0 ) ) { g . l a s t C h i l d . c l a s s N a m e = " e " ; i f ( g . g e t E l e m e n t s B y C l a s s N a m e ( " e " ) . l e n g t h ! = = 1 ) { m . o r d e r . s p l i c e ( 1 , 0 , " C L A S S " ) ; m . f i n d . C L A S S = f u n c t i o n ( h , k , l ) { i f ( t y p e o f   k . g e t E l e m e n t s B y C l a s s N a m e ! = = " u n d e f i n e d " & & ! l ) r e t u r n   k . g e t E l e m e n t s B y C l a s s N a m e ( h [ 1 ] ) } ; g = n u l l } } } ) ( ) ; v a r   E = r . c o m p a r e D o c u m e n t P o s i t i o n ? f u n c t i o n ( g , h ) { r e t u r n   g . c o m p a r e D o c u m e n t P o s i t i o n ( h ) & 1 6 } : f u n c t i o n ( g , h ) { r e t u r n   g ! = = h & & ( g . c o n t a i n s ? g . c o n t a i n s ( h ) : t r u e ) } , w = f u n c t i o n ( g ) { r e t u r n ( g = ( g ? g . o w n e r D o c u m e n t | | g : 0 ) . d o c u m e n t E l e m e n t ) ? g . n o d e N a m e ! = = " H T M L " : f a l s e } , f a = f u n c t i o n ( g , h ) { v a r   k = [ ] ,  
 l = " " , q ; f o r ( h = h . n o d e T y p e ? [ h ] : h ; q = m . m a t c h . P S E U D O . e x e c ( g ) ; ) { l + = q [ 0 ] ; g = g . r e p l a c e ( m . m a t c h . P S E U D O , " " ) } g = m . r e l a t i v e [ g ] ? g + " * " : g ; q = 0 ; f o r ( v a r   p = h . l e n g t h ; q < p ; q + + ) o ( g , h [ q ] , k ) ; r e t u r n   o . f i l t e r ( l , k ) } ; c . f i n d = o ; c . e x p r = o . s e l e c t o r s ; c . e x p r [ " : " ] = c . e x p r . f i l t e r s ; c . u n i q u e = o . u n i q u e S o r t ; c . g e t T e x t = a ; c . i s X M L D o c = w ; c . c o n t a i n s = E } ) ( ) ; v a r   b b = / U n t i l $ / , c b = / ^ ( ? : p a r e n t s | p r e v U n t i l | p r e v A l l ) / , d b = / , / ; Q = A r r a y . p r o t o t y p e . s l i c e ; v a r   E a = f u n c t i o n ( a , b , d ) { i f ( c . i s F u n c t i o n ( b ) ) r e t u r n   c . g r e p ( a , f u n c t i o n ( e , i ) { r e t u r n ! ! b . c a l l ( e , i , e ) = = = d } ) ; e l s e   i f ( b . n o d e T y p e ) r e t u r n   c . g r e p ( a ,  
 f u n c t i o n ( e ) { r e t u r n   e = = = b = = = d } ) ; e l s e   i f ( t y p e o f   b = = = " s t r i n g " ) { v a r   f = c . g r e p ( a , f u n c t i o n ( e ) { r e t u r n   e . n o d e T y p e = = = 1 } ) ; i f ( Q a . t e s t ( b ) ) r e t u r n   c . f i l t e r ( b , f , ! d ) ; e l s e   b = c . f i l t e r ( b , f ) } r e t u r n   c . g r e p ( a , f u n c t i o n ( e ) { r e t u r n   c . i n A r r a y ( e , b ) > = 0 = = = d } ) } ; c . f n . e x t e n d ( { f i n d : f u n c t i o n ( a ) { f o r ( v a r   b = t h i s . p u s h S t a c k ( " " , " f i n d " , a ) , d = 0 , f = 0 , e = t h i s . l e n g t h ; f < e ; f + + ) { d = b . l e n g t h ; c . f i n d ( a , t h i s [ f ] , b ) ; i f ( f > 0 ) f o r ( v a r   i = d ; i < b . l e n g t h ; i + + ) f o r ( v a r   j = 0 ; j < d ; j + + ) i f ( b [ j ] = = = b [ i ] ) { b . s p l i c e ( i - - , 1 ) ; b r e a k } } r e t u r n   b } , h a s : f u n c t i o n ( a ) { v a r   b = c ( a ) ; r e t u r n   t h i s . f i l t e r ( f u n c t i o n ( ) { f o r ( v a r   d =  
 0 , f = b . l e n g t h ; d < f ; d + + ) i f ( c . c o n t a i n s ( t h i s , b [ d ] ) ) r e t u r n   t r u e } ) } , n o t : f u n c t i o n ( a ) { r e t u r n   t h i s . p u s h S t a c k ( E a ( t h i s , a , f a l s e ) , " n o t " , a ) } , f i l t e r : f u n c t i o n ( a ) { r e t u r n   t h i s . p u s h S t a c k ( E a ( t h i s , a , t r u e ) , " f i l t e r " , a ) } , i s : f u n c t i o n ( a ) { r e t u r n ! ! a & & c . f i l t e r ( a , t h i s ) . l e n g t h > 0 } , c l o s e s t : f u n c t i o n ( a , b ) { i f ( c . i s A r r a y ( a ) ) { v a r   d = [ ] , f = t h i s [ 0 ] , e , i = { } , j ; i f ( f & & a . l e n g t h ) { e = 0 ; f o r ( v a r   n = a . l e n g t h ; e < n ; e + + ) { j = a [ e ] ; i [ j ] | | ( i [ j ] = c . e x p r . m a t c h . P O S . t e s t ( j ) ? c ( j , b | | t h i s . c o n t e x t ) : j ) } f o r ( ; f & & f . o w n e r D o c u m e n t & & f ! = = b ; ) { f o r ( j   i n   i ) { e = i [ j ] ; i f ( e . j q u e r y ? e . i n d e x ( f ) >  
 - 1 : c ( f ) . i s ( e ) ) { d . p u s h ( { s e l e c t o r : j , e l e m : f } ) ; d e l e t e   i [ j ] } } f = f . p a r e n t N o d e } } r e t u r n   d } v a r   o = c . e x p r . m a t c h . P O S . t e s t ( a ) ? c ( a , b | | t h i s . c o n t e x t ) : n u l l ; r e t u r n   t h i s . m a p ( f u n c t i o n ( m , s ) { f o r ( ; s & & s . o w n e r D o c u m e n t & & s ! = = b ; ) { i f ( o ? o . i n d e x ( s ) > - 1 : c ( s ) . i s ( a ) ) r e t u r n   s ; s = s . p a r e n t N o d e } r e t u r n   n u l l } ) } , i n d e x : f u n c t i o n ( a ) { i f ( ! a | | t y p e o f   a = = = " s t r i n g " ) r e t u r n   c . i n A r r a y ( t h i s [ 0 ] , a ? c ( a ) : t h i s . p a r e n t ( ) . c h i l d r e n ( ) ) ; r e t u r n   c . i n A r r a y ( a . j q u e r y ? a [ 0 ] : a , t h i s ) } , a d d : f u n c t i o n ( a , b ) { a = t y p e o f   a = = = " s t r i n g " ? c ( a , b | | t h i s . c o n t e x t ) : c . m a k e A r r a y ( a ) ; b = c . m e r g e ( t h i s . g e t ( ) ,  
 a ) ; r e t u r n   t h i s . p u s h S t a c k ( p a ( a [ 0 ] ) | | p a ( b [ 0 ] ) ? b : c . u n i q u e ( b ) ) } , a n d S e l f : f u n c t i o n ( ) { r e t u r n   t h i s . a d d ( t h i s . p r e v O b j e c t ) } } ) ; c . e a c h ( { p a r e n t : f u n c t i o n ( a ) { r e t u r n ( a = a . p a r e n t N o d e ) & & a . n o d e T y p e ! = = 1 1 ? a : n u l l } , p a r e n t s : f u n c t i o n ( a ) { r e t u r n   c . d i r ( a , " p a r e n t N o d e " ) } , p a r e n t s U n t i l : f u n c t i o n ( a , b , d ) { r e t u r n   c . d i r ( a , " p a r e n t N o d e " , d ) } , n e x t : f u n c t i o n ( a ) { r e t u r n   c . n t h ( a , 2 , " n e x t S i b l i n g " ) } , p r e v : f u n c t i o n ( a ) { r e t u r n   c . n t h ( a , 2 , " p r e v i o u s S i b l i n g " ) } , n e x t A l l : f u n c t i o n ( a ) { r e t u r n   c . d i r ( a , " n e x t S i b l i n g " ) } , p r e v A l l : f u n c t i o n ( a ) { r e t u r n   c . d i r ( a , " p r e v i o u s S i b l i n g " ) } ,  
 n e x t U n t i l : f u n c t i o n ( a , b , d ) { r e t u r n   c . d i r ( a , " n e x t S i b l i n g " , d ) } , p r e v U n t i l : f u n c t i o n ( a , b , d ) { r e t u r n   c . d i r ( a , " p r e v i o u s S i b l i n g " , d ) } , s i b l i n g s : f u n c t i o n ( a ) { r e t u r n   c . s i b l i n g ( a . p a r e n t N o d e . f i r s t C h i l d , a ) } , c h i l d r e n : f u n c t i o n ( a ) { r e t u r n   c . s i b l i n g ( a . f i r s t C h i l d ) } , c o n t e n t s : f u n c t i o n ( a ) { r e t u r n   c . n o d e N a m e ( a , " i f r a m e " ) ? a . c o n t e n t D o c u m e n t | | a . c o n t e n t W i n d o w . d o c u m e n t : c . m a k e A r r a y ( a . c h i l d N o d e s ) } } , f u n c t i o n ( a , b ) { c . f n [ a ] = f u n c t i o n ( d , f ) { v a r   e = c . m a p ( t h i s , b , d ) ; b b . t e s t ( a ) | | ( f = d ) ; i f ( f & & t y p e o f   f = = = " s t r i n g " ) e = c . f i l t e r ( f , e ) ; e = t h i s . l e n g t h > 1 ? c . u n i q u e ( e ) :  
 e ; i f ( ( t h i s . l e n g t h > 1 | | d b . t e s t ( f ) ) & & c b . t e s t ( a ) ) e = e . r e v e r s e ( ) ; r e t u r n   t h i s . p u s h S t a c k ( e , a , Q . c a l l ( a r g u m e n t s ) . j o i n ( " , " ) ) } } ) ; c . e x t e n d ( { f i l t e r : f u n c t i o n ( a , b , d ) { i f ( d ) a = " : n o t ( " + a + " ) " ; r e t u r n   c . f i n d . m a t c h e s ( a , b ) } , d i r : f u n c t i o n ( a , b , d ) { v a r   f = [ ] ; f o r ( a = a [ b ] ; a & & a . n o d e T y p e ! = = 9 & & ( d = = = v | | a . n o d e T y p e ! = = 1 | | ! c ( a ) . i s ( d ) ) ; ) { a . n o d e T y p e = = = 1 & & f . p u s h ( a ) ; a = a [ b ] } r e t u r n   f } , n t h : f u n c t i o n ( a , b , d ) { b = b | | 1 ; f o r ( v a r   f = 0 ; a ; a = a [ d ] ) i f ( a . n o d e T y p e = = = 1 & & + + f = = = b ) b r e a k ; r e t u r n   a } , s i b l i n g : f u n c t i o n ( a , b ) { f o r ( v a r   d = [ ] ; a ; a = a . n e x t S i b l i n g ) a . n o d e T y p e = = = 1 & & a ! = =  
 b & & d . p u s h ( a ) ; r e t u r n   d } } ) ; v a r   F a = /   j Q u e r y \ d + = " ( ? : \ d + | n u l l ) " / g , V = / ^ \ s + / , G a = / ( < ( [ \ w : ] + ) [ ^ > ] * ? ) \ / > / g , e b = / ^ ( ? : a r e a | b r | c o l | e m b e d | h r | i m g | i n p u t | l i n k | m e t a | p a r a m ) $ / i , H a = / < ( [ \ w : ] + ) / , f b = / < t b o d y / i , g b = / < | & \ w + ; / , s a = / c h e c k e d \ s * ( ? : [ ^ = ] | = \ s * . c h e c k e d . ) / i , I a = f u n c t i o n ( a , b , d ) { r e t u r n   e b . t e s t ( d ) ? a : b + " > < / " + d + " > " } , F = { o p t i o n : [ 1 , " < s e l e c t   m u l t i p l e = ' m u l t i p l e ' > " , " < / s e l e c t > " ] , l e g e n d : [ 1 , " < f i e l d s e t > " , " < / f i e l d s e t > " ] , t h e a d : [ 1 , " < t a b l e > " , " < / t a b l e > " ] , t r : [ 2 , " < t a b l e > < t b o d y > " , " < / t b o d y > < / t a b l e > " ] , t d : [ 3 , " < t a b l e > < t b o d y > < t r > " , " < / t r > < / t b o d y > < / t a b l e > " ] ,  
 c o l : [ 2 , " < t a b l e > < t b o d y > < / t b o d y > < c o l g r o u p > " , " < / c o l g r o u p > < / t a b l e > " ] , a r e a : [ 1 , " < m a p > " , " < / m a p > " ] , _ d e f a u l t : [ 0 , " " , " " ] } ; F . o p t g r o u p = F . o p t i o n ; F . t b o d y = F . t f o o t = F . c o l g r o u p = F . c a p t i o n = F . t h e a d ; F . t h = F . t d ; i f ( ! c . s u p p o r t . h t m l S e r i a l i z e ) F . _ d e f a u l t = [ 1 , " d i v < d i v > " , " < / d i v > " ] ; c . f n . e x t e n d ( { t e x t : f u n c t i o n ( a ) { i f ( c . i s F u n c t i o n ( a ) ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( b ) { v a r   d = c ( t h i s ) ; d . t e x t ( a . c a l l ( t h i s , b , d . t e x t ( ) ) ) } ) ; i f ( t y p e o f   a ! = = " o b j e c t " & & a ! = = v ) r e t u r n   t h i s . e m p t y ( ) . a p p e n d ( ( t h i s [ 0 ] & & t h i s [ 0 ] . o w n e r D o c u m e n t | | r ) . c r e a t e T e x t N o d e ( a ) ) ; r e t u r n   c . g e t T e x t ( t h i s ) } ,  
 w r a p A l l : f u n c t i o n ( a ) { i f ( c . i s F u n c t i o n ( a ) ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( d ) { c ( t h i s ) . w r a p A l l ( a . c a l l ( t h i s , d ) ) } ) ; i f ( t h i s [ 0 ] ) { v a r   b = c ( a , t h i s [ 0 ] . o w n e r D o c u m e n t ) . e q ( 0 ) . c l o n e ( t r u e ) ; t h i s [ 0 ] . p a r e n t N o d e & & b . i n s e r t B e f o r e ( t h i s [ 0 ] ) ; b . m a p ( f u n c t i o n ( ) { f o r ( v a r   d = t h i s ; d . f i r s t C h i l d & & d . f i r s t C h i l d . n o d e T y p e = = = 1 ; ) d = d . f i r s t C h i l d ; r e t u r n   d } ) . a p p e n d ( t h i s ) } r e t u r n   t h i s } , w r a p I n n e r : f u n c t i o n ( a ) { i f ( c . i s F u n c t i o n ( a ) ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( b ) { c ( t h i s ) . w r a p I n n e r ( a . c a l l ( t h i s , b ) ) } ) ; r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { v a r   b = c ( t h i s ) , d = b . c o n t e n t s ( ) ; d . l e n g t h ?  
 d . w r a p A l l ( a ) : b . a p p e n d ( a ) } ) } , w r a p : f u n c t i o n ( a ) { r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { c ( t h i s ) . w r a p A l l ( a ) } ) } , u n w r a p : f u n c t i o n ( ) { r e t u r n   t h i s . p a r e n t ( ) . e a c h ( f u n c t i o n ( ) { c . n o d e N a m e ( t h i s , " b o d y " ) | | c ( t h i s ) . r e p l a c e W i t h ( t h i s . c h i l d N o d e s ) } ) . e n d ( ) } , a p p e n d : f u n c t i o n ( ) { r e t u r n   t h i s . d o m M a n i p ( a r g u m e n t s , t r u e , f u n c t i o n ( a ) { t h i s . n o d e T y p e = = = 1 & & t h i s . a p p e n d C h i l d ( a ) } ) } , p r e p e n d : f u n c t i o n ( ) { r e t u r n   t h i s . d o m M a n i p ( a r g u m e n t s , t r u e , f u n c t i o n ( a ) { t h i s . n o d e T y p e = = = 1 & & t h i s . i n s e r t B e f o r e ( a , t h i s . f i r s t C h i l d ) } ) } , b e f o r e : f u n c t i o n ( ) { i f ( t h i s [ 0 ] & & t h i s [ 0 ] . p a r e n t N o d e ) r e t u r n   t h i s . d o m M a n i p ( a r g u m e n t s ,  
 f a l s e , f u n c t i o n ( b ) { t h i s . p a r e n t N o d e . i n s e r t B e f o r e ( b , t h i s ) } ) ; e l s e   i f ( a r g u m e n t s . l e n g t h ) { v a r   a = c ( a r g u m e n t s [ 0 ] ) ; a . p u s h . a p p l y ( a , t h i s . t o A r r a y ( ) ) ; r e t u r n   t h i s . p u s h S t a c k ( a , " b e f o r e " , a r g u m e n t s ) } } , a f t e r : f u n c t i o n ( ) { i f ( t h i s [ 0 ] & & t h i s [ 0 ] . p a r e n t N o d e ) r e t u r n   t h i s . d o m M a n i p ( a r g u m e n t s , f a l s e , f u n c t i o n ( b ) { t h i s . p a r e n t N o d e . i n s e r t B e f o r e ( b , t h i s . n e x t S i b l i n g ) } ) ; e l s e   i f ( a r g u m e n t s . l e n g t h ) { v a r   a = t h i s . p u s h S t a c k ( t h i s , " a f t e r " , a r g u m e n t s ) ; a . p u s h . a p p l y ( a , c ( a r g u m e n t s [ 0 ] ) . t o A r r a y ( ) ) ; r e t u r n   a } } , c l o n e : f u n c t i o n ( a ) { v a r   b = t h i s . m a p ( f u n c t i o n ( ) { i f ( ! c . s u p p o r t . n o C l o n e E v e n t & &  
 ! c . i s X M L D o c ( t h i s ) ) { v a r   d = t h i s . o u t e r H T M L , f = t h i s . o w n e r D o c u m e n t ; i f ( ! d ) { d = f . c r e a t e E l e m e n t ( " d i v " ) ; d . a p p e n d C h i l d ( t h i s . c l o n e N o d e ( t r u e ) ) ; d = d . i n n e r H T M L } r e t u r n   c . c l e a n ( [ d . r e p l a c e ( F a , " " ) . r e p l a c e ( V , " " ) ] , f ) [ 0 ] } e l s e   r e t u r n   t h i s . c l o n e N o d e ( t r u e ) } ) ; i f ( a = = = t r u e ) { q a ( t h i s , b ) ; q a ( t h i s . f i n d ( " * " ) , b . f i n d ( " * " ) ) } r e t u r n   b } , h t m l : f u n c t i o n ( a ) { i f ( a = = = v ) r e t u r n   t h i s [ 0 ] & & t h i s [ 0 ] . n o d e T y p e = = = 1 ? t h i s [ 0 ] . i n n e r H T M L . r e p l a c e ( F a , " " ) : n u l l ; e l s e   i f ( t y p e o f   a = = = " s t r i n g " & & ! / < s c r i p t / i . t e s t ( a ) & & ( c . s u p p o r t . l e a d i n g W h i t e s p a c e | | ! V . t e s t ( a ) ) & & ! F [ ( H a . e x e c ( a ) | |  
 [ " " , " " ] ) [ 1 ] . t o L o w e r C a s e ( ) ] ) { a = a . r e p l a c e ( G a , I a ) ; t r y { f o r ( v a r   b = 0 , d = t h i s . l e n g t h ; b < d ; b + + ) i f ( t h i s [ b ] . n o d e T y p e = = = 1 ) { c . c l e a n D a t a ( t h i s [ b ] . g e t E l e m e n t s B y T a g N a m e ( " * " ) ) ; t h i s [ b ] . i n n e r H T M L = a } } c a t c h ( f ) { t h i s . e m p t y ( ) . a p p e n d ( a ) } } e l s e   c . i s F u n c t i o n ( a ) ? t h i s . e a c h ( f u n c t i o n ( e ) { v a r   i = c ( t h i s ) , j = i . h t m l ( ) ; i . e m p t y ( ) . a p p e n d ( f u n c t i o n ( ) { r e t u r n   a . c a l l ( t h i s , e , j ) } ) } ) : t h i s . e m p t y ( ) . a p p e n d ( a ) ; r e t u r n   t h i s } , r e p l a c e W i t h : f u n c t i o n ( a ) { i f ( t h i s [ 0 ] & & t h i s [ 0 ] . p a r e n t N o d e ) { i f ( c . i s F u n c t i o n ( a ) ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( b ) { v a r   d = c ( t h i s ) , f = d . h t m l ( ) ; d . r e p l a c e W i t h ( a . c a l l ( t h i s ,  
 b , f ) ) } ) ; e l s e   a = c ( a ) . d e t a c h ( ) ; r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { v a r   b = t h i s . n e x t S i b l i n g , d = t h i s . p a r e n t N o d e ; c ( t h i s ) . r e m o v e ( ) ; b ? c ( b ) . b e f o r e ( a ) : c ( d ) . a p p e n d ( a ) } ) } e l s e   r e t u r n   t h i s . p u s h S t a c k ( c ( c . i s F u n c t i o n ( a ) ? a ( ) : a ) , " r e p l a c e W i t h " , a ) } , d e t a c h : f u n c t i o n ( a ) { r e t u r n   t h i s . r e m o v e ( a , t r u e ) } , d o m M a n i p : f u n c t i o n ( a , b , d ) { f u n c t i o n   f ( s ) { r e t u r n   c . n o d e N a m e ( s , " t a b l e " ) ? s . g e t E l e m e n t s B y T a g N a m e ( " t b o d y " ) [ 0 ] | | s . a p p e n d C h i l d ( s . o w n e r D o c u m e n t . c r e a t e E l e m e n t ( " t b o d y " ) ) : s } v a r   e , i , j = a [ 0 ] , n = [ ] ; i f ( ! c . s u p p o r t . c h e c k C l o n e & & a r g u m e n t s . l e n g t h = = = 3 & & t y p e o f   j = = =  
 " s t r i n g " & & s a . t e s t ( j ) ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { c ( t h i s ) . d o m M a n i p ( a , b , d , t r u e ) } ) ; i f ( c . i s F u n c t i o n ( j ) ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( s ) { v a r   x = c ( t h i s ) ; a [ 0 ] = j . c a l l ( t h i s , s , b ? x . h t m l ( ) : v ) ; x . d o m M a n i p ( a , b , d ) } ) ; i f ( t h i s [ 0 ] ) { e = a [ 0 ] & & a [ 0 ] . p a r e n t N o d e & & a [ 0 ] . p a r e n t N o d e . n o d e T y p e = = = 1 1 ? { f r a g m e n t : a [ 0 ] . p a r e n t N o d e } : r a ( a , t h i s , n ) ; i f ( i = e . f r a g m e n t . f i r s t C h i l d ) { b = b & & c . n o d e N a m e ( i , " t r " ) ; f o r ( v a r   o = 0 , m = t h i s . l e n g t h ; o < m ; o + + ) d . c a l l ( b ? f ( t h i s [ o ] , i ) : t h i s [ o ] , e . c a c h e a b l e | | t h i s . l e n g t h > 1 | | o > 0 ? e . f r a g m e n t . c l o n e N o d e ( t r u e ) : e . f r a g m e n t ) } n & & c . e a c h ( n ,  
 M a ) } r e t u r n   t h i s } } ) ; c . f r a g m e n t s = { } ; c . e a c h ( { a p p e n d T o : " a p p e n d " , p r e p e n d T o : " p r e p e n d " , i n s e r t B e f o r e : " b e f o r e " , i n s e r t A f t e r : " a f t e r " , r e p l a c e A l l : " r e p l a c e W i t h " } , f u n c t i o n ( a , b ) { c . f n [ a ] = f u n c t i o n ( d ) { v a r   f = [ ] ; d = c ( d ) ; f o r ( v a r   e = 0 , i = d . l e n g t h ; e < i ; e + + ) { v a r   j = ( e > 0 ? t h i s . c l o n e ( t r u e ) : t h i s ) . g e t ( ) ; c . f n [ b ] . a p p l y ( c ( d [ e ] ) , j ) ; f = f . c o n c a t ( j ) } r e t u r n   t h i s . p u s h S t a c k ( f , a , d . s e l e c t o r ) } } ) ; c . e a c h ( { r e m o v e : f u n c t i o n ( a , b ) { i f ( ! a | | c . f i l t e r ( a , [ t h i s ] ) . l e n g t h ) { i f ( ! b & & t h i s . n o d e T y p e = = = 1 ) { c . c l e a n D a t a ( t h i s . g e t E l e m e n t s B y T a g N a m e ( " * " ) ) ; c . c l e a n D a t a ( [ t h i s ] ) } t h i s . p a r e n t N o d e & &  
 t h i s . p a r e n t N o d e . r e m o v e C h i l d ( t h i s ) } } , e m p t y : f u n c t i o n ( ) { f o r ( t h i s . n o d e T y p e = = = 1 & & c . c l e a n D a t a ( t h i s . g e t E l e m e n t s B y T a g N a m e ( " * " ) ) ; t h i s . f i r s t C h i l d ; ) t h i s . r e m o v e C h i l d ( t h i s . f i r s t C h i l d ) } } , f u n c t i o n ( a , b ) { c . f n [ a ] = f u n c t i o n ( ) { r e t u r n   t h i s . e a c h ( b , a r g u m e n t s ) } } ) ; c . e x t e n d ( { c l e a n : f u n c t i o n ( a , b , d , f ) { b = b | | r ; i f ( t y p e o f   b . c r e a t e E l e m e n t = = = " u n d e f i n e d " ) b = b . o w n e r D o c u m e n t | | b [ 0 ] & & b [ 0 ] . o w n e r D o c u m e n t | | r ; v a r   e = [ ] ; c . e a c h ( a , f u n c t i o n ( i , j ) { i f ( t y p e o f   j = = = " n u m b e r " ) j + = " " ; i f ( j ) { i f ( t y p e o f   j = = = " s t r i n g " & & ! g b . t e s t ( j ) ) j = b . c r e a t e T e x t N o d e ( j ) ; e l s e   i f ( t y p e o f   j = = =  
 " s t r i n g " ) { j = j . r e p l a c e ( G a , I a ) ; v a r   n = ( H a . e x e c ( j ) | | [ " " , " " ] ) [ 1 ] . t o L o w e r C a s e ( ) , o = F [ n ] | | F . _ d e f a u l t , m = o [ 0 ] ; i = b . c r e a t e E l e m e n t ( " d i v " ) ; f o r ( i . i n n e r H T M L = o [ 1 ] + j + o [ 2 ] ; m - - ; ) i = i . l a s t C h i l d ; i f ( ! c . s u p p o r t . t b o d y ) { m = f b . t e s t ( j ) ; n = n = = = " t a b l e " & & ! m ? i . f i r s t C h i l d & & i . f i r s t C h i l d . c h i l d N o d e s : o [ 1 ] = = = " < t a b l e > " & & ! m ? i . c h i l d N o d e s : [ ] ; f o r ( o = n . l e n g t h - 1 ; o > = 0 ; - - o ) c . n o d e N a m e ( n [ o ] , " t b o d y " ) & & ! n [ o ] . c h i l d N o d e s . l e n g t h & & n [ o ] . p a r e n t N o d e . r e m o v e C h i l d ( n [ o ] ) } ! c . s u p p o r t . l e a d i n g W h i t e s p a c e & & V . t e s t ( j ) & & i . i n s e r t B e f o r e ( b . c r e a t e T e x t N o d e ( V . e x e c ( j ) [ 0 ] ) , i . f i r s t C h i l d ) ;  
 j = c . m a k e A r r a y ( i . c h i l d N o d e s ) } i f ( j . n o d e T y p e ) e . p u s h ( j ) ; e l s e   e = c . m e r g e ( e , j ) } } ) ; i f ( d ) f o r ( a = 0 ; e [ a ] ; a + + ) i f ( f & & c . n o d e N a m e ( e [ a ] , " s c r i p t " ) & & ( ! e [ a ] . t y p e | | e [ a ] . t y p e . t o L o w e r C a s e ( ) = = = " t e x t / j a v a s c r i p t " ) ) f . p u s h ( e [ a ] . p a r e n t N o d e ? e [ a ] . p a r e n t N o d e . r e m o v e C h i l d ( e [ a ] ) : e [ a ] ) ; e l s e { e [ a ] . n o d e T y p e = = = 1 & & e . s p l i c e . a p p l y ( e , [ a + 1 , 0 ] . c o n c a t ( c . m a k e A r r a y ( e [ a ] . g e t E l e m e n t s B y T a g N a m e ( " s c r i p t " ) ) ) ) ; d . a p p e n d C h i l d ( e [ a ] ) } r e t u r n   e } , c l e a n D a t a : f u n c t i o n ( a ) { f o r ( v a r   b = 0 , d ; ( d = a [ b ] ) ! = n u l l ; b + + ) { c . e v e n t . r e m o v e ( d ) ; c . r e m o v e D a t a ( d ) } } } ) ; v a r   h b = / z - ? i n d e x | f o n t - ? w e i g h t | o p a c i t y | z o o m | l i n e - ? h e i g h t / i ,  
 J a = / a l p h a \ ( [ ^ ) ] * \ ) / , K a = / o p a c i t y = ( [ ^ ) ] * ) / , g a = / f l o a t / i , h a = / - ( [ a - z ] ) / i g , i b = / ( [ A - Z ] ) / g , j b = / ^ - ? \ d + ( ? : p x ) ? $ / i , k b = / ^ - ? \ d / , l b = { p o s i t i o n : " a b s o l u t e " , v i s i b i l i t y : " h i d d e n " , d i s p l a y : " b l o c k " } , m b = [ " L e f t " , " R i g h t " ] , n b = [ " T o p " , " B o t t o m " ] , o b = r . d e f a u l t V i e w & & r . d e f a u l t V i e w . g e t C o m p u t e d S t y l e , L a = c . s u p p o r t . c s s F l o a t ? " c s s F l o a t " : " s t y l e F l o a t " , i a = f u n c t i o n ( a , b ) { r e t u r n   b . t o U p p e r C a s e ( ) } ; c . f n . c s s = f u n c t i o n ( a , b ) { r e t u r n   X ( t h i s , a , b , t r u e , f u n c t i o n ( d , f , e ) { i f ( e = = = v ) r e t u r n   c . c u r C S S ( d , f ) ; i f ( t y p e o f   e = = = " n u m b e r " & & ! h b . t e s t ( f ) ) e + = " p x " ; c . s t y l e ( d , f , e ) } ) } ;  
 c . e x t e n d ( { s t y l e : f u n c t i o n ( a , b , d ) { i f ( ! a | | a . n o d e T y p e = = = 3 | | a . n o d e T y p e = = = 8 ) r e t u r n   v ; i f ( ( b = = = " w i d t h " | | b = = = " h e i g h t " ) & & p a r s e F l o a t ( d ) < 0 ) d = v ; v a r   f = a . s t y l e | | a , e = d ! = = v ; i f ( ! c . s u p p o r t . o p a c i t y & & b = = = " o p a c i t y " ) { i f ( e ) { f . z o o m = 1 ; b = p a r s e I n t ( d , 1 0 ) + " " = = = " N a N " ? " " : " a l p h a ( o p a c i t y = " + d * 1 0 0 + " ) " ; a = f . f i l t e r | | c . c u r C S S ( a , " f i l t e r " ) | | " " ; f . f i l t e r = J a . t e s t ( a ) ? a . r e p l a c e ( J a , b ) : b } r e t u r n   f . f i l t e r & & f . f i l t e r . i n d e x O f ( " o p a c i t y = " ) > = 0 ? p a r s e F l o a t ( K a . e x e c ( f . f i l t e r ) [ 1 ] ) / 1 0 0 + " " : " " } i f ( g a . t e s t ( b ) ) b = L a ; b = b . r e p l a c e ( h a , i a ) ; i f ( e ) f [ b ] = d ; r e t u r n   f [ b ] } , c s s : f u n c t i o n ( a ,  
 b , d , f ) { i f ( b = = = " w i d t h " | | b = = = " h e i g h t " ) { v a r   e , i = b = = = " w i d t h " ? m b : n b ; f u n c t i o n   j ( ) { e = b = = = " w i d t h " ? a . o f f s e t W i d t h : a . o f f s e t H e i g h t ; f ! = = " b o r d e r " & & c . e a c h ( i , f u n c t i o n ( ) { f | | ( e - = p a r s e F l o a t ( c . c u r C S S ( a , " p a d d i n g " + t h i s , t r u e ) ) | | 0 ) ; i f ( f = = = " m a r g i n " ) e + = p a r s e F l o a t ( c . c u r C S S ( a , " m a r g i n " + t h i s , t r u e ) ) | | 0 ; e l s e   e - = p a r s e F l o a t ( c . c u r C S S ( a , " b o r d e r " + t h i s + " W i d t h " , t r u e ) ) | | 0 } ) } a . o f f s e t W i d t h ! = = 0 ? j ( ) : c . s w a p ( a , l b , j ) ; r e t u r n   M a t h . m a x ( 0 , M a t h . r o u n d ( e ) ) } r e t u r n   c . c u r C S S ( a , b , d ) } , c u r C S S : f u n c t i o n ( a , b , d ) { v a r   f , e = a . s t y l e ; i f ( ! c . s u p p o r t . o p a c i t y & & b = = = " o p a c i t y " & &  
 a . c u r r e n t S t y l e ) { f = K a . t e s t ( a . c u r r e n t S t y l e . f i l t e r | | " " ) ? p a r s e F l o a t ( R e g E x p . $ 1 ) / 1 0 0 + " " : " " ; r e t u r n   f = = = " " ? " 1 " : f } i f ( g a . t e s t ( b ) ) b = L a ; i f ( ! d & & e & & e [ b ] ) f = e [ b ] ; e l s e   i f ( o b ) { i f ( g a . t e s t ( b ) ) b = " f l o a t " ; b = b . r e p l a c e ( i b , " - $ 1 " ) . t o L o w e r C a s e ( ) ; e = a . o w n e r D o c u m e n t . d e f a u l t V i e w ; i f ( ! e ) r e t u r n   n u l l ; i f ( a = e . g e t C o m p u t e d S t y l e ( a , n u l l ) ) f = a . g e t P r o p e r t y V a l u e ( b ) ; i f ( b = = = " o p a c i t y " & & f = = = " " ) f = " 1 " } e l s e   i f ( a . c u r r e n t S t y l e ) { d = b . r e p l a c e ( h a , i a ) ; f = a . c u r r e n t S t y l e [ b ] | | a . c u r r e n t S t y l e [ d ] ; i f ( ! j b . t e s t ( f ) & & k b . t e s t ( f ) ) { b = e . l e f t ; v a r   i = a . r u n t i m e S t y l e . l e f t ; a . r u n t i m e S t y l e . l e f t =  
 a . c u r r e n t S t y l e . l e f t ; e . l e f t = d = = = " f o n t S i z e " ? " 1 e m " : f | | 0 ; f = e . p i x e l L e f t + " p x " ; e . l e f t = b ; a . r u n t i m e S t y l e . l e f t = i } } r e t u r n   f } , s w a p : f u n c t i o n ( a , b , d ) { v a r   f = { } ; f o r ( v a r   e   i n   b ) { f [ e ] = a . s t y l e [ e ] ; a . s t y l e [ e ] = b [ e ] } d . c a l l ( a ) ; f o r ( e   i n   b ) a . s t y l e [ e ] = f [ e ] } } ) ; i f ( c . e x p r & & c . e x p r . f i l t e r s ) { c . e x p r . f i l t e r s . h i d d e n = f u n c t i o n ( a ) { v a r   b = a . o f f s e t W i d t h , d = a . o f f s e t H e i g h t , f = a . n o d e N a m e . t o L o w e r C a s e ( ) = = = " t r " ; r e t u r n   b = = = 0 & & d = = = 0 & & ! f ? t r u e : b > 0 & & d > 0 & & ! f ? f a l s e : c . c u r C S S ( a , " d i s p l a y " ) = = = " n o n e " } ; c . e x p r . f i l t e r s . v i s i b l e = f u n c t i o n ( a ) { r e t u r n ! c . e x p r . f i l t e r s . h i d d e n ( a ) } } v a r   p b =  
 J ( ) , q b = / < s c r i p t ( . | \ s ) * ? \ / s c r i p t > / g i , r b = / s e l e c t | t e x t a r e a / i , s b = / c o l o r | d a t e | d a t e t i m e | e m a i l | h i d d e n | m o n t h | n u m b e r | p a s s w o r d | r a n g e | s e a r c h | t e l | t e x t | t i m e | u r l | w e e k / i , N = / = \ ? ( & | $ ) / , j a = / \ ? / , t b = / ( \ ? | & ) _ = . * ? ( & | $ ) / , u b = / ^ ( \ w + : ) ? \ / \ / ( [ ^ \ / ? # ] + ) / , v b = / % 2 0 / g ; c . f n . e x t e n d ( { _ l o a d : c . f n . l o a d , l o a d : f u n c t i o n ( a , b , d ) { i f ( t y p e o f   a ! = = " s t r i n g " ) r e t u r n   t h i s . _ l o a d ( a ) ; e l s e   i f ( ! t h i s . l e n g t h ) r e t u r n   t h i s ; v a r   f = a . i n d e x O f ( "   " ) ; i f ( f > = 0 ) { v a r   e = a . s l i c e ( f , a . l e n g t h ) ; a = a . s l i c e ( 0 , f ) } f = " G E T " ; i f ( b ) i f ( c . i s F u n c t i o n ( b ) ) { d = b ; b = n u l l } e l s e   i f ( t y p e o f   b = = = " o b j e c t " ) { b =  
 c . p a r a m ( b , c . a j a x S e t t i n g s . t r a d i t i o n a l ) ; f = " P O S T " } v a r   i = t h i s ; c . a j a x ( { u r l : a , t y p e : f , d a t a T y p e : " h t m l " , d a t a : b , c o m p l e t e : f u n c t i o n ( j , n ) { i f ( n = = = " s u c c e s s " | | n = = = " n o t m o d i f i e d " ) i . h t m l ( e ? c ( " < d i v   / > " ) . a p p e n d ( j . r e s p o n s e T e x t . r e p l a c e ( q b , " " ) ) . f i n d ( e ) : j . r e s p o n s e T e x t ) ; d & & i . e a c h ( d , [ j . r e s p o n s e T e x t , n , j ] ) } } ) ; r e t u r n   t h i s } , s e r i a l i z e : f u n c t i o n ( ) { r e t u r n   c . p a r a m ( t h i s . s e r i a l i z e A r r a y ( ) ) } , s e r i a l i z e A r r a y : f u n c t i o n ( ) { r e t u r n   t h i s . m a p ( f u n c t i o n ( ) { r e t u r n   t h i s . e l e m e n t s ? c . m a k e A r r a y ( t h i s . e l e m e n t s ) : t h i s } ) . f i l t e r ( f u n c t i o n ( ) { r e t u r n   t h i s . n a m e & & ! t h i s . d i s a b l e d & &  
 ( t h i s . c h e c k e d | | r b . t e s t ( t h i s . n o d e N a m e ) | | s b . t e s t ( t h i s . t y p e ) ) } ) . m a p ( f u n c t i o n ( a , b ) { a = c ( t h i s ) . v a l ( ) ; r e t u r n   a = = n u l l ? n u l l : c . i s A r r a y ( a ) ? c . m a p ( a , f u n c t i o n ( d ) { r e t u r n { n a m e : b . n a m e , v a l u e : d } } ) : { n a m e : b . n a m e , v a l u e : a } } ) . g e t ( ) } } ) ; c . e a c h ( " a j a x S t a r t   a j a x S t o p   a j a x C o m p l e t e   a j a x E r r o r   a j a x S u c c e s s   a j a x S e n d " . s p l i t ( "   " ) , f u n c t i o n ( a , b ) { c . f n [ b ] = f u n c t i o n ( d ) { r e t u r n   t h i s . b i n d ( b , d ) } } ) ; c . e x t e n d ( { g e t : f u n c t i o n ( a , b , d , f ) { i f ( c . i s F u n c t i o n ( b ) ) { f = f | | d ; d = b ; b = n u l l } r e t u r n   c . a j a x ( { t y p e : " G E T " , u r l : a , d a t a : b , s u c c e s s : d , d a t a T y p e : f } ) } , g e t S c r i p t : f u n c t i o n ( a ,  
 b ) { r e t u r n   c . g e t ( a , n u l l , b , " s c r i p t " ) } , g e t J S O N : f u n c t i o n ( a , b , d ) { r e t u r n   c . g e t ( a , b , d , " j s o n " ) } , p o s t : f u n c t i o n ( a , b , d , f ) { i f ( c . i s F u n c t i o n ( b ) ) { f = f | | d ; d = b ; b = { } } r e t u r n   c . a j a x ( { t y p e : " P O S T " , u r l : a , d a t a : b , s u c c e s s : d , d a t a T y p e : f } ) } , a j a x S e t u p : f u n c t i o n ( a ) { c . e x t e n d ( c . a j a x S e t t i n g s , a ) } , a j a x S e t t i n g s : { u r l : l o c a t i o n . h r e f , g l o b a l : t r u e , t y p e : " G E T " , c o n t e n t T y p e : " a p p l i c a t i o n / x - w w w - f o r m - u r l e n c o d e d " , p r o c e s s D a t a : t r u e , a s y n c : t r u e , x h r : z . X M L H t t p R e q u e s t & & ( z . l o c a t i o n . p r o t o c o l ! = = " f i l e : " | | ! z . A c t i v e X O b j e c t ) ? f u n c t i o n ( ) { r e t u r n   n e w   z . X M L H t t p R e q u e s t } :  
 f u n c t i o n ( ) { t r y { r e t u r n   n e w   z . A c t i v e X O b j e c t ( " M i c r o s o f t . X M L H T T P " ) } c a t c h ( a ) { } } , a c c e p t s : { x m l : " a p p l i c a t i o n / x m l ,   t e x t / x m l " , h t m l : " t e x t / h t m l " , s c r i p t : " t e x t / j a v a s c r i p t ,   a p p l i c a t i o n / j a v a s c r i p t " , j s o n : " a p p l i c a t i o n / j s o n ,   t e x t / j a v a s c r i p t " , t e x t : " t e x t / p l a i n " , _ d e f a u l t : " * / * " } } , l a s t M o d i f i e d : { } , e t a g : { } , a j a x : f u n c t i o n ( a ) { f u n c t i o n   b ( ) { e . s u c c e s s & & e . s u c c e s s . c a l l ( o , n , j , w ) ; e . g l o b a l & & f ( " a j a x S u c c e s s " , [ w , e ] ) } f u n c t i o n   d ( ) { e . c o m p l e t e & & e . c o m p l e t e . c a l l ( o , w , j ) ; e . g l o b a l & & f ( " a j a x C o m p l e t e " , [ w , e ] ) ; e . g l o b a l & & ! - - c . a c t i v e & & c . e v e n t . t r i g g e r ( " a j a x S t o p " ) }  
 f u n c t i o n   f ( q , p ) { ( e . c o n t e x t ? c ( e . c o n t e x t ) : c . e v e n t ) . t r i g g e r ( q , p ) } v a r   e = c . e x t e n d ( t r u e , { } , c . a j a x S e t t i n g s , a ) , i , j , n , o = a & & a . c o n t e x t | | e , m = e . t y p e . t o U p p e r C a s e ( ) ; i f ( e . d a t a & & e . p r o c e s s D a t a & & t y p e o f   e . d a t a ! = = " s t r i n g " ) e . d a t a = c . p a r a m ( e . d a t a , e . t r a d i t i o n a l ) ; i f ( e . d a t a T y p e = = = " j s o n p " ) { i f ( m = = = " G E T " ) N . t e s t ( e . u r l ) | | ( e . u r l + = ( j a . t e s t ( e . u r l ) ? " & " : " ? " ) + ( e . j s o n p | | " c a l l b a c k " ) + " = ? " ) ; e l s e   i f ( ! e . d a t a | | ! N . t e s t ( e . d a t a ) ) e . d a t a = ( e . d a t a ? e . d a t a + " & " : " " ) + ( e . j s o n p | | " c a l l b a c k " ) + " = ? " ; e . d a t a T y p e = " j s o n " } i f ( e . d a t a T y p e = = = " j s o n " & & ( e . d a t a & & N . t e s t ( e . d a t a ) | |  
 N . t e s t ( e . u r l ) ) ) { i = e . j s o n p C a l l b a c k | | " j s o n p " + p b + + ; i f ( e . d a t a ) e . d a t a = ( e . d a t a + " " ) . r e p l a c e ( N , " = " + i + " $ 1 " ) ; e . u r l = e . u r l . r e p l a c e ( N , " = " + i + " $ 1 " ) ; e . d a t a T y p e = " s c r i p t " ; z [ i ] = z [ i ] | | f u n c t i o n ( q ) { n = q ; b ( ) ; d ( ) ; z [ i ] = v ; t r y { d e l e t e   z [ i ] } c a t c h ( p ) { } A & & A . r e m o v e C h i l d ( B ) } } i f ( e . d a t a T y p e = = = " s c r i p t " & & e . c a c h e = = = n u l l ) e . c a c h e = f a l s e ; i f ( e . c a c h e = = = f a l s e & & m = = = " G E T " ) { v a r   s = J ( ) , x = e . u r l . r e p l a c e ( t b , " $ 1 _ = " + s + " $ 2 " ) ; e . u r l = x + ( x = = = e . u r l ? ( j a . t e s t ( e . u r l ) ? " & " : " ? " ) + " _ = " + s : " " ) } i f ( e . d a t a & & m = = = " G E T " ) e . u r l + = ( j a . t e s t ( e . u r l ) ? " & " : " ? " ) + e . d a t a ; e . g l o b a l & & ! c . a c t i v e + + & &  
 c . e v e n t . t r i g g e r ( " a j a x S t a r t " ) ; s = ( s = u b . e x e c ( e . u r l ) ) & & ( s [ 1 ] & & s [ 1 ] ! = = l o c a t i o n . p r o t o c o l | | s [ 2 ] ! = = l o c a t i o n . h o s t ) ; i f ( e . d a t a T y p e = = = " s c r i p t " & & m = = = " G E T " & & s ) { v a r   A = r . 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 ] | | r . d o c u m e n t E l e m e n t , B = r . c r e a t e E l e m e n t ( " s c r i p t " ) ; B . s r c = e . u r l ; i f ( e . s c r i p t C h a r s e t ) B . c h a r s e t = e . s c r i p t C h a r s e t ; i f ( ! i ) { v a r   C = f a l s e ; B . o n l o a d = B . o n r e a d y s t a t e c h a n g e = f u n c t i o n ( ) { i f ( ! C & & ( ! t h i s . r e a d y S t a t e | | t h i s . r e a d y S t a t e = = = " l o a d e d " | | t h i s . r e a d y S t a t e = = = " c o m p l e t e " ) ) { C = t r u e ; b ( ) ; d ( ) ; B . o n l o a d = B . o n r e a d y s t a t e c h a n g e = n u l l ; A & & B . p a r e n t N o d e & &  
 A . r e m o v e C h i l d ( B ) } } } A . i n s e r t B e f o r e ( B , A . f i r s t C h i l d ) ; r e t u r n   v } v a r   E = f a l s e , w = e . x h r ( ) ; i f ( w ) { e . u s e r n a m e ? w . o p e n ( m , e . u r l , e . a s y n c , e . u s e r n a m e , e . p a s s w o r d ) : w . o p e n ( m , e . u r l , e . a s y n c ) ; t r y { i f ( e . d a t a | | a & & a . c o n t e n t T y p e ) w . s e t R e q u e s t H e a d e r ( " C o n t e n t - T y p e " , e . c o n t e n t T y p e ) ; i f ( e . i f M o d i f i e d ) { c . l a s t M o d i f i e d [ e . u r l ] & & w . s e t R e q u e s t H e a d e r ( " I f - M o d i f i e d - S i n c e " , c . l a s t M o d i f i e d [ e . u r l ] ) ; c . e t a g [ e . u r l ] & & w . s e t R e q u e s t H e a d e r ( " I f - N o n e - M a t c h " , c . e t a g [ e . u r l ] ) } s | | w . s e t R e q u e s t H e a d e r ( " X - R e q u e s t e d - W i t h " , " X M L H t t p R e q u e s t " ) ; w . s e t R e q u e s t H e a d e r ( " A c c e p t " ,  
 e . d a t a T y p e & & e . a c c e p t s [ e . d a t a T y p e ] ? e . a c c e p t s [ e . d a t a T y p e ] + " ,   * / * " : e . a c c e p t s . _ d e f a u l t ) } c a t c h ( f a ) { } i f ( e . b e f o r e S e n d & & e . b e f o r e S e n d . c a l l ( o , w , e ) = = = f a l s e ) { e . g l o b a l & & ! - - c . a c t i v e & & c . e v e n t . t r i g g e r ( " a j a x S t o p " ) ; w . a b o r t ( ) ; r e t u r n   f a l s e } e . g l o b a l & & f ( " a j a x S e n d " , [ w , e ] ) ; v a r   g = w . o n r e a d y s t a t e c h a n g e = f u n c t i o n ( q ) { i f ( ! w | | w . r e a d y S t a t e = = = 0 | | q = = = " a b o r t " ) { E | | d ( ) ; E = t r u e ; i f ( w ) w . o n r e a d y s t a t e c h a n g e = c . n o o p } e l s e   i f ( ! E & & w & & ( w . r e a d y S t a t e = = = 4 | | q = = = " t i m e o u t " ) ) { E = t r u e ; w . o n r e a d y s t a t e c h a n g e = c . n o o p ; j = q = = = " t i m e o u t " ? " t i m e o u t " : ! c . h t t p S u c c e s s ( w ) ?  
 " e r r o r " : e . i f M o d i f i e d & & c . h t t p N o t M o d i f i e d ( w , e . u r l ) ? " n o t m o d i f i e d " : " s u c c e s s " ; v a r   p ; i f ( j = = = " s u c c e s s " ) t r y { n = c . h t t p D a t a ( w , e . d a t a T y p e , e ) } c a t c h ( u ) { j = " p a r s e r e r r o r " ; p = u } i f ( j = = = " s u c c e s s " | | j = = = " n o t m o d i f i e d " ) i | | b ( ) ; e l s e   c . h a n d l e E r r o r ( e , w , j , p ) ; d ( ) ; q = = = " t i m e o u t " & & w . a b o r t ( ) ; i f ( e . a s y n c ) w = n u l l } } ; t r y { v a r   h = w . a b o r t ; w . a b o r t = f u n c t i o n ( ) { w & & h . c a l l ( w ) ; g ( " a b o r t " ) } } c a t c h ( k ) { } e . a s y n c & & e . t i m e o u t > 0 & & s e t T i m e o u t ( f u n c t i o n ( ) { w & & ! E & & g ( " t i m e o u t " ) } , e . t i m e o u t ) ; t r y { w . s e n d ( m = = = " P O S T " | | m = = = " P U T " | | m = = = " D E L E T E " ? e . d a t a : n u l l ) } c a t c h ( l ) { c . h a n d l e E r r o r ( e ,  
 w , n u l l , l ) ; d ( ) } e . a s y n c | | g ( ) ; r e t u r n   w } } , h a n d l e E r r o r : f u n c t i o n ( a , b , d , f ) { i f ( a . e r r o r ) a . e r r o r . c a l l ( a . c o n t e x t | | a , b , d , f ) ; i f ( a . g l o b a l ) ( a . c o n t e x t ? c ( a . c o n t e x t ) : c . e v e n t ) . t r i g g e r ( " a j a x E r r o r " , [ b , a , f ] ) } , a c t i v e : 0 , h t t p S u c c e s s : f u n c t i o n ( a ) { t r y { r e t u r n ! a . s t a t u s & & l o c a t i o n . p r o t o c o l = = = " f i l e : " | | a . s t a t u s > = 2 0 0 & & a . s t a t u s < 3 0 0 | | a . s t a t u s = = = 3 0 4 | | a . s t a t u s = = = 1 2 2 3 | | a . s t a t u s = = = 0 } c a t c h ( b ) { } r e t u r n   f a l s e } , h t t p N o t M o d i f i e d : f u n c t i o n ( a , b ) { v a r   d = a . g e t R e s p o n s e H e a d e r ( " L a s t - M o d i f i e d " ) , f = a . g e t R e s p o n s e H e a d e r ( " E t a g " ) ; i f ( d ) c . l a s t M o d i f i e d [ b ] = d ; i f ( f ) c . e t a g [ b ] =  
 f ; r e t u r n   a . s t a t u s = = = 3 0 4 | | a . s t a t u s = = = 0 } , h t t p D a t a : f u n c t i o n ( a , b , d ) { v a r   f = a . g e t R e s p o n s e H e a d e r ( " c o n t e n t - t y p e " ) | | " " , e = b = = = " x m l " | | ! b & & f . i n d e x O f ( " x m l " ) > = 0 ; a = e ? a . r e s p o n s e X M L : a . r e s p o n s e T e x t ; e & & a . d o c u m e n t E l e m e n t . n o d e N a m e = = = " p a r s e r e r r o r " & & c . e r r o r ( " p a r s e r e r r o r " ) ; i f ( d & & d . d a t a F i l t e r ) a = d . d a t a F i l t e r ( a , b ) ; i f ( t y p e o f   a = = = " s t r i n g " ) i f ( b = = = " j s o n " | | ! b & & f . i n d e x O f ( " j s o n " ) > = 0 ) a = c . p a r s e J S O N ( a ) ; e l s e   i f ( b = = = " s c r i p t " | | ! b & & f . i n d e x O f ( " j a v a s c r i p t " ) > = 0 ) c . g l o b a l E v a l ( a ) ; r e t u r n   a } , p a r a m : f u n c t i o n ( a , b ) { f u n c t i o n   d ( j , n ) { i f ( c . i s A r r a y ( n ) ) c . e a c h ( n ,  
 f u n c t i o n ( o , m ) { b ? f ( j , m ) : d ( j + " [ " + ( t y p e o f   m = = = " o b j e c t " | | c . i s A r r a y ( m ) ? o : " " ) + " ] " , m ) } ) ; e l s e ! b & & n ! = n u l l & & t y p e o f   n = = = " o b j e c t " ? c . e a c h ( n , f u n c t i o n ( o , m ) { d ( j + " [ " + o + " ] " , m ) } ) : f ( j , n ) } f u n c t i o n   f ( j , n ) { n = c . i s F u n c t i o n ( n ) ? n ( ) : n ; e [ e . l e n g t h ] = e n c o d e U R I C o m p o n e n t ( j ) + " = " + e n c o d e U R I C o m p o n e n t ( n ) } v a r   e = [ ] ; i f ( b = = = v ) b = c . a j a x S e t t i n g s . t r a d i t i o n a l ; i f ( c . i s A r r a y ( a ) | | a . j q u e r y ) c . e a c h ( a , f u n c t i o n ( ) { f ( t h i s . n a m e , t h i s . v a l u e ) } ) ; e l s e   f o r ( v a r   i   i n   a ) d ( i , a [ i ] ) ; r e t u r n   e . j o i n ( " & " ) . r e p l a c e ( v b , " + " ) } } ) ; v a r   k a = { } , w b = / t o g g l e | s h o w | h i d e / , x b = / ^ ( [ + - ] = ) ? ( [ \ d + - . ] + ) ( . * ) $ / ,  
 W , t a = [ [ " h e i g h t " , " m a r g i n T o p " , " m a r g i n B o t t o m " , " p a d d i n g T o p " , " p a d d i n g B o t t o m " ] , [ " w i d t h " , " m a r g i n L e f t " , " m a r g i n R i g h t " , " p a d d i n g L e f t " , " p a d d i n g R i g h t " ] , [ " o p a c i t y " ] ] ; c . f n . e x t e n d ( { s h o w : f u n c t i o n ( a , b ) { i f ( a | | a = = = 0 ) r e t u r n   t h i s . a n i m a t e ( K ( " s h o w " , 3 ) , a , b ) ; e l s e { a = 0 ; f o r ( b = t h i s . l e n g t h ; a < b ; a + + ) { v a r   d = c . d a t a ( t h i s [ a ] , " o l d d i s p l a y " ) ; t h i s [ a ] . s t y l e . d i s p l a y = d | | " " ; i f ( c . c s s ( t h i s [ a ] , " d i s p l a y " ) = = = " n o n e " ) { d = t h i s [ a ] . n o d e N a m e ; v a r   f ; i f ( k a [ d ] ) f = k a [ d ] ; e l s e { v a r   e = c ( " < " + d + "   / > " ) . a p p e n d T o ( " b o d y " ) ; f = e . c s s ( " d i s p l a y " ) ; i f ( f = = = " n o n e " ) f = " b l o c k " ; e . r e m o v e ( ) ;  
 k a [ d ] = f } c . d a t a ( t h i s [ a ] , " o l d d i s p l a y " , f ) } } a = 0 ; f o r ( b = t h i s . l e n g t h ; a < b ; a + + ) t h i s [ a ] . s t y l e . d i s p l a y = c . d a t a ( t h i s [ a ] , " o l d d i s p l a y " ) | | " " ; r e t u r n   t h i s } } , h i d e : f u n c t i o n ( a , b ) { i f ( a | | a = = = 0 ) r e t u r n   t h i s . a n i m a t e ( K ( " h i d e " , 3 ) , a , b ) ; e l s e { a = 0 ; f o r ( b = t h i s . l e n g t h ; a < b ; a + + ) { v a r   d = c . d a t a ( t h i s [ a ] , " o l d d i s p l a y " ) ; ! d & & d ! = = " n o n e " & & c . d a t a ( t h i s [ a ] , " o l d d i s p l a y " , c . c s s ( t h i s [ a ] , " d i s p l a y " ) ) } a = 0 ; f o r ( b = t h i s . l e n g t h ; a < b ; a + + ) t h i s [ a ] . s t y l e . d i s p l a y = " n o n e " ; r e t u r n   t h i s } } , _ t o g g l e : c . f n . t o g g l e , t o g g l e : f u n c t i o n ( a , b ) { v a r   d = t y p e o f   a = = = " b o o l e a n " ; i f ( c . i s F u n c t i o n ( a ) & &  
 c . i s F u n c t i o n ( b ) ) t h i s . _ t o g g l e . a p p l y ( t h i s , a r g u m e n t s ) ; e l s e   a = = n u l l | | d ? t h i s . e a c h ( f u n c t i o n ( ) { v a r   f = d ? a : c ( t h i s ) . i s ( " : h i d d e n " ) ; c ( t h i s ) [ f ? " s h o w " : " h i d e " ] ( ) } ) : t h i s . a n i m a t e ( K ( " t o g g l e " , 3 ) , a , b ) ; r e t u r n   t h i s } , f a d e T o : f u n c t i o n ( a , b , d ) { r e t u r n   t h i s . f i l t e r ( " : h i d d e n " ) . c s s ( " o p a c i t y " , 0 ) . s h o w ( ) . e n d ( ) . a n i m a t e ( { o p a c i t y : b } , a , d ) } , a n i m a t e : f u n c t i o n ( a , b , d , f ) { v a r   e = c . s p e e d ( b , d , f ) ; i f ( c . i s E m p t y O b j e c t ( a ) ) r e t u r n   t h i s . e a c h ( e . c o m p l e t e ) ; r e t u r n   t h i s [ e . q u e u e = = = f a l s e ? " e a c h " : " q u e u e " ] ( f u n c t i o n ( ) { v a r   i = c . e x t e n d ( { } , e ) , j , n = t h i s . n o d e T y p e = = = 1 & & c ( t h i s ) . i s ( " : h i d d e n " ) ,  
 o = t h i s ; f o r ( j   i n   a ) { v a r   m = j . r e p l a c e ( h a , i a ) ; i f ( j ! = = m ) { a [ m ] = a [ j ] ; d e l e t e   a [ j ] ; j = m } i f ( a [ j ] = = = " h i d e " & & n | | a [ j ] = = = " s h o w " & & ! n ) r e t u r n   i . c o m p l e t e . c a l l ( t h i s ) ; i f ( ( j = = = " h e i g h t " | | j = = = " w i d t h " ) & & t h i s . s t y l e ) { i . d i s p l a y = c . c s s ( t h i s , " d i s p l a y " ) ; i . o v e r f l o w = t h i s . s t y l e . o v e r f l o w } i f ( c . i s A r r a y ( a [ j ] ) ) { ( i . s p e c i a l E a s i n g = i . s p e c i a l E a s i n g | | { } ) [ j ] = a [ j ] [ 1 ] ; a [ j ] = a [ j ] [ 0 ] } } i f ( i . o v e r f l o w ! = n u l l ) t h i s . s t y l e . o v e r f l o w = " h i d d e n " ; i . c u r A n i m = c . e x t e n d ( { } , a ) ; c . e a c h ( a , f u n c t i o n ( s , x ) { v a r   A = n e w   c . f x ( o , i , s ) ; i f ( w b . t e s t ( x ) ) A [ x = = = " t o g g l e " ? n ? " s h o w " : " h i d e " : x ] ( a ) ;  
 e l s e { v a r   B = x b . e x e c ( x ) , C = A . c u r ( t r u e ) | | 0 ; i f ( B ) { x = p a r s e F l o a t ( B [ 2 ] ) ; v a r   E = B [ 3 ] | | " p x " ; i f ( E ! = = " p x " ) { o . s t y l e [ s ] = ( x | | 1 ) + E ; C = ( x | | 1 ) / A . c u r ( t r u e ) * C ; o . s t y l e [ s ] = C + E } i f ( B [ 1 ] ) x = ( B [ 1 ] = = = " - = " ? - 1 : 1 ) * x + C ; A . c u s t o m ( C , x , E ) } e l s e   A . c u s t o m ( C , x , " " ) } } ) ; r e t u r n   t r u e } ) } , s t o p : f u n c t i o n ( a , b ) { v a r   d = c . t i m e r s ; a & & t h i s . q u e u e ( [ ] ) ; t h i s . e a c h ( f u n c t i o n ( ) { f o r ( v a r   f = d . l e n g t h - 1 ; f > = 0 ; f - - ) i f ( d [ f ] . e l e m = = = t h i s ) { b & & d [ f ] ( t r u e ) ; d . s p l i c e ( f , 1 ) } } ) ; b | | t h i s . d e q u e u e ( ) ; r e t u r n   t h i s } } ) ; c . e a c h ( { s l i d e D o w n : K ( " s h o w " , 1 ) , s l i d e U p : K ( " h i d e " , 1 ) , s l i d e T o g g l e : K ( " t o g g l e " ,  
 1 ) , f a d e I n : { o p a c i t y : " s h o w " } , f a d e O u t : { o p a c i t y : " h i d e " } } , f u n c t i o n ( a , b ) { c . f n [ a ] = f u n c t i o n ( d , f ) { r e t u r n   t h i s . a n i m a t e ( b , d , f ) } } ) ; c . e x t e n d ( { s p e e d : f u n c t i o n ( a , b , d ) { v a r   f = a & & t y p e o f   a = = = " o b j e c t " ? a : { c o m p l e t e : d | | ! d & & b | | c . i s F u n c t i o n ( a ) & & a , d u r a t i o n : a , e a s i n g : d & & b | | b & & ! c . i s F u n c t i o n ( b ) & & b } ; f . d u r a t i o n = c . f x . o f f ? 0 : t y p e o f   f . d u r a t i o n = = = " n u m b e r " ? f . d u r a t i o n : c . f x . s p e e d s [ f . d u r a t i o n ] | | c . f x . s p e e d s . _ d e f a u l t ; f . o l d = f . c o m p l e t e ; f . c o m p l e t e = f u n c t i o n ( ) { f . q u e u e ! = = f a l s e & & c ( t h i s ) . d e q u e u e ( ) ; c . i s F u n c t i o n ( f . o l d ) & & f . o l d . c a l l ( t h i s ) } ; r e t u r n   f } , e a s i n g : { l i n e a r : f u n c t i o n ( a ,  
 b , d , f ) { r e t u r n   d + f * a } , s w i n g : f u n c t i o n ( a , b , d , f ) { r e t u r n ( - M a t h . c o s ( a * M a t h . P I ) / 2 + 0 . 5 ) * f + d } } , t i m e r s : [ ] , f x : f u n c t i o n ( a , b , d ) { t h i s . o p t i o n s = b ; t h i s . e l e m = a ; t h i s . p r o p = d ; i f ( ! b . o r i g ) b . o r i g = { } } } ) ; c . f x . p r o t o t y p e = { u p d a t e : f u n c t i o n ( ) { t h i s . o p t i o n s . s t e p & & t h i s . o p t i o n s . s t e p . c a l l ( t h i s . e l e m , t h i s . n o w , t h i s ) ; ( c . f x . s t e p [ t h i s . p r o p ] | | c . f x . s t e p . _ d e f a u l t ) ( t h i s ) ; i f ( ( t h i s . p r o p = = = " h e i g h t " | | t h i s . p r o p = = = " w i d t h " ) & & t h i s . e l e m . s t y l e ) t h i s . e l e m . s t y l e . d i s p l a y = " b l o c k " } , c u r : f u n c t i o n ( a ) { i f ( t h i s . e l e m [ t h i s . p r o p ] ! = n u l l & & ( ! t h i s . e l e m . s t y l e | | t h i s . e l e m . s t y l e [ t h i s . p r o p ] = =  
 n u l l ) ) r e t u r n   t h i s . e l e m [ t h i s . p r o p ] ; r e t u r n ( a = p a r s e F l o a t ( c . c s s ( t h i s . e l e m , t h i s . p r o p , a ) ) ) & & a > - 1 0 0 0 0 ? a : p a r s e F l o a t ( c . c u r C S S ( t h i s . e l e m , t h i s . p r o p ) ) | | 0 } , c u s t o m : f u n c t i o n ( a , b , d ) { f u n c t i o n   f ( i ) { r e t u r n   e . s t e p ( i ) } t h i s . s t a r t T i m e = J ( ) ; t h i s . s t a r t = a ; t h i s . e n d = b ; t h i s . u n i t = d | | t h i s . u n i t | | " p x " ; t h i s . n o w = t h i s . s t a r t ; t h i s . p o s = t h i s . s t a t e = 0 ; v a r   e = t h i s ; f . e l e m = t h i s . e l e m ; i f ( f ( ) & & c . t i m e r s . p u s h ( f ) & & ! W ) W = s e t I n t e r v a l ( c . f x . t i c k , 1 3 ) } , s h o w : f u n c t i o n ( ) { t h i s . o p t i o n s . o r i g [ t h i s . p r o p ] = c . s t y l e ( t h i s . e l e m , t h i s . p r o p ) ; t h i s . o p t i o n s . s h o w = t r u e ; t h i s . c u s t o m ( t h i s . p r o p = = =  
 " w i d t h " | | t h i s . p r o p = = = " h e i g h t " ? 1 : 0 , t h i s . c u r ( ) ) ; c ( t h i s . e l e m ) . s h o w ( ) } , h i d e : f u n c t i o n ( ) { t h i s . o p t i o n s . o r i g [ t h i s . p r o p ] = c . s t y l e ( t h i s . e l e m , t h i s . p r o p ) ; t h i s . o p t i o n s . h i d e = t r u e ; t h i s . c u s t o m ( t h i s . c u r ( ) , 0 ) } , s t e p : f u n c t i o n ( a ) { v a r   b = J ( ) , d = t r u e ; i f ( a | | b > = t h i s . o p t i o n s . d u r a t i o n + t h i s . s t a r t T i m e ) { t h i s . n o w = t h i s . e n d ; t h i s . p o s = t h i s . s t a t e = 1 ; t h i s . u p d a t e ( ) ; t h i s . o p t i o n s . c u r A n i m [ t h i s . p r o p ] = t r u e ; f o r ( v a r   f   i n   t h i s . o p t i o n s . c u r A n i m ) i f ( t h i s . o p t i o n s . c u r A n i m [ f ] ! = = t r u e ) d = f a l s e ; i f ( d ) { i f ( t h i s . o p t i o n s . d i s p l a y ! = n u l l ) { t h i s . e l e m . s t y l e . o v e r f l o w =  
 t h i s . o p t i o n s . o v e r f l o w ; a = c . d a t a ( t h i s . e l e m , " o l d d i s p l a y " ) ; t h i s . e l e m . s t y l e . d i s p l a y = a ? a : t h i s . o p t i o n s . d i s p l a y ; i f ( c . c s s ( t h i s . e l e m , " d i s p l a y " ) = = = " n o n e " ) t h i s . e l e m . s t y l e . d i s p l a y = " b l o c k " } t h i s . o p t i o n s . h i d e & & c ( t h i s . e l e m ) . h i d e ( ) ; i f ( t h i s . o p t i o n s . h i d e | | t h i s . o p t i o n s . s h o w ) f o r ( v a r   e   i n   t h i s . o p t i o n s . c u r A n i m ) c . s t y l e ( t h i s . e l e m , e , t h i s . o p t i o n s . o r i g [ e ] ) ; t h i s . o p t i o n s . c o m p l e t e . c a l l ( t h i s . e l e m ) } r e t u r n   f a l s e } e l s e { e = b - t h i s . s t a r t T i m e ; t h i s . s t a t e = e / t h i s . o p t i o n s . d u r a t i o n ; a = t h i s . o p t i o n s . e a s i n g | | ( c . e a s i n g . s w i n g ? " s w i n g " : " l i n e a r " ) ; t h i s . p o s =  
 c . e a s i n g [ t h i s . o p t i o n s . s p e c i a l E a s i n g & & t h i s . o p t i o n s . s p e c i a l E a s i n g [ t h i s . p r o p ] | | a ] ( t h i s . s t a t e , e , 0 , 1 , t h i s . o p t i o n s . d u r a t i o n ) ; t h i s . n o w = t h i s . s t a r t + ( t h i s . e n d - t h i s . s t a r t ) * t h i s . p o s ; t h i s . u p d a t e ( ) } r e t u r n   t r u e } } ; c . e x t e n d ( c . f x , { t i c k : f u n c t i o n ( ) { f o r ( v a r   a = c . t i m e r s , b = 0 ; b < a . l e n g t h ; b + + ) a [ b ] ( ) | | a . s p l i c e ( b - - , 1 ) ; a . l e n g t h | | c . f x . s t o p ( ) } , s t o p : f u n c t i o n ( ) { c l e a r I n t e r v a l ( W ) ; W = n u l l } , s p e e d s : { s l o w : 6 0 0 , f a s t : 2 0 0 , _ d e f a u l t : 4 0 0 } , s t e p : { o p a c i t y : f u n c t i o n ( a ) { c . s t y l e ( a . e l e m , " o p a c i t y " , a . n o w ) } , _ d e f a u l t : f u n c t i o n ( a ) { i f ( a . e l e m . s t y l e & & a . e l e m . s t y l e [ a . p r o p ] ! =  
 n u l l ) a . e l e m . s t y l e [ a . p r o p ] = ( a . p r o p = = = " w i d t h " | | a . p r o p = = = " h e i g h t " ? M a t h . m a x ( 0 , a . n o w ) : a . n o w ) + a . u n i t ; e l s e   a . e l e m [ a . p r o p ] = a . n o w } } } ) ; i f ( c . e x p r & & c . e x p r . f i l t e r s ) c . e x p r . f i l t e r s . a n i m a t e d = f u n c t i o n ( a ) { r e t u r n   c . g r e p ( c . t i m e r s , f u n c t i o n ( b ) { r e t u r n   a = = = b . e l e m } ) . l e n g t h } ; c . f n . o f f s e t = " g e t B o u n d i n g C l i e n t R e c t " i n   r . d o c u m e n t E l e m e n t ? f u n c t i o n ( a ) { v a r   b = t h i s [ 0 ] ; i f ( a ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( e ) { c . o f f s e t . s e t O f f s e t ( t h i s , a , e ) } ) ; i f ( ! b | | ! b . o w n e r D o c u m e n t ) r e t u r n   n u l l ; i f ( b = = = b . o w n e r D o c u m e n t . b o d y ) r e t u r n   c . o f f s e t . b o d y O f f s e t ( b ) ; v a r   d = b . g e t B o u n d i n g C l i e n t R e c t ( ) ,  
 f = b . o w n e r D o c u m e n t ; b = f . b o d y ; f = f . d o c u m e n t E l e m e n t ; r e t u r n { t o p : d . t o p + ( s e l f . p a g e Y O f f s e t | | c . s u p p o r t . b o x M o d e l & & f . s c r o l l T o p | | b . s c r o l l T o p ) - ( f . c l i e n t T o p | | b . c l i e n t T o p | | 0 ) , l e f t : d . l e f t + ( s e l f . p a g e X O f f s e t | | c . s u p p o r t . b o x M o d e l & & f . s c r o l l L e f t | | b . s c r o l l L e f t ) - ( f . c l i e n t L e f t | | b . c l i e n t L e f t | | 0 ) } } : f u n c t i o n ( a ) { v a r   b = t h i s [ 0 ] ; i f ( a ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( s ) { c . o f f s e t . s e t O f f s e t ( t h i s , a , s ) } ) ; i f ( ! b | | ! b . o w n e r D o c u m e n t ) r e t u r n   n u l l ; i f ( b = = = b . o w n e r D o c u m e n t . b o d y ) r e t u r n   c . o f f s e t . b o d y O f f s e t ( b ) ; c . o f f s e t . i n i t i a l i z e ( ) ; v a r   d = b . o f f s e t P a r e n t , f =  
 b , e = b . o w n e r D o c u m e n t , i , j = e . d o c u m e n t E l e m e n t , n = e . b o d y ; f = ( e = e . d e f a u l t V i e w ) ? e . g e t C o m p u t e d S t y l e ( b , n u l l ) : b . c u r r e n t S t y l e ; f o r ( v a r   o = b . o f f s e t T o p , m = b . o f f s e t L e f t ; ( b = b . p a r e n t N o d e ) & & b ! = = n & & b ! = = j ; ) { i f ( c . o f f s e t . s u p p o r t s F i x e d P o s i t i o n & & f . p o s i t i o n = = = " f i x e d " ) b r e a k ; i = e ? e . g e t C o m p u t e d S t y l e ( b , n u l l ) : b . c u r r e n t S t y l e ; o - = b . s c r o l l T o p ; m - = b . s c r o l l L e f t ; i f ( b = = = d ) { o + = b . o f f s e t T o p ; m + = b . o f f s e t L e f t ; i f ( c . o f f s e t . d o e s N o t A d d B o r d e r & & ! ( c . o f f s e t . d o e s A d d B o r d e r F o r T a b l e A n d C e l l s & & / ^ t ( a b l e | d | h ) $ / i . t e s t ( b . n o d e N a m e ) ) ) { o + = p a r s e F l o a t ( i . b o r d e r T o p W i d t h ) | |  
 0 ; m + = p a r s e F l o a t ( i . b o r d e r L e f t W i d t h ) | | 0 } f = d ; d = b . o f f s e t P a r e n t } i f ( c . o f f s e t . s u b t r a c t s B o r d e r F o r O v e r f l o w N o t V i s i b l e & & i . o v e r f l o w ! = = " v i s i b l e " ) { o + = p a r s e F l o a t ( i . b o r d e r T o p W i d t h ) | | 0 ; m + = p a r s e F l o a t ( i . b o r d e r L e f t W i d t h ) | | 0 } f = i } i f ( f . p o s i t i o n = = = " r e l a t i v e " | | f . p o s i t i o n = = = " s t a t i c " ) { o + = n . o f f s e t T o p ; m + = n . o f f s e t L e f t } i f ( c . o f f s e t . s u p p o r t s F i x e d P o s i t i o n & & f . p o s i t i o n = = = " f i x e d " ) { o + = M a t h . m a x ( j . s c r o l l T o p , n . s c r o l l T o p ) ; m + = M a t h . m a x ( j . s c r o l l L e f t , n . s c r o l l L e f t ) } r e t u r n { t o p : o , l e f t : m } } ; c . o f f s e t = { i n i t i a l i z e : f u n c t i o n ( ) { v a r   a = r . b o d y , b = r . c r e a t e E l e m e n t ( " d i v " ) ,  
 d , f , e , i = p a r s e F l o a t ( c . c u r C S S ( a , " m a r g i n T o p " , t r u e ) ) | | 0 ; c . e x t e n d ( b . s t y l e , { p o s i t i o n : " a b s o l u t e " , t o p : 0 , l e f t : 0 , m a r g i n : 0 , b o r d e r : 0 , w i d t h : " 1 p x " , h e i g h t : " 1 p x " , v i s i b i l i t y : " h i d d e n " } ) ; b . i n n e r H T M L = " < d i v   s t y l e = ' p o s i t i o n : a b s o l u t e ; t o p : 0 ; l e f t : 0 ; m a r g i n : 0 ; b o r d e r : 5 p x   s o l i d   # 0 0 0 ; p a d d i n g : 0 ; w i d t h : 1 p x ; h e i g h t : 1 p x ; ' > < d i v > < / d i v > < / d i v > < t a b l e   s t y l e = ' p o s i t i o n : a b s o l u t e ; t o p : 0 ; l e f t : 0 ; m a r g i n : 0 ; b o r d e r : 5 p x   s o l i d   # 0 0 0 ; p a d d i n g : 0 ; w i d t h : 1 p x ; h e i g h t : 1 p x ; '   c e l l p a d d i n g = ' 0 '   c e l l s p a c i n g = ' 0 ' > < t r > < t d > < / t d > < / t r > < / t a b l e > " ; a . i n s e r t B e f o r e ( b , a . f i r s t C h i l d ) ;  
 d = b . f i r s t C h i l d ; f = d . f i r s t C h i l d ; e = d . n e x t S i b l i n g . f i r s t C h i l d . f i r s t C h i l d ; t h i s . d o e s N o t A d d B o r d e r = f . o f f s e t T o p ! = = 5 ; t h i s . d o e s A d d B o r d e r F o r T a b l e A n d C e l l s = e . o f f s e t T o p = = = 5 ; f . s t y l e . p o s i t i o n = " f i x e d " ; f . s t y l e . t o p = " 2 0 p x " ; t h i s . s u p p o r t s F i x e d P o s i t i o n = f . o f f s e t T o p = = = 2 0 | | f . o f f s e t T o p = = = 1 5 ; f . s t y l e . p o s i t i o n = f . s t y l e . t o p = " " ; d . s t y l e . o v e r f l o w = " h i d d e n " ; d . s t y l e . p o s i t i o n = " r e l a t i v e " ; t h i s . s u b t r a c t s B o r d e r F o r O v e r f l o w N o t V i s i b l e = f . o f f s e t T o p = = = - 5 ; t h i s . d o e s N o t I n c l u d e M a r g i n I n B o d y O f f s e t = a . o f f s e t T o p ! = = i ; a . r e m o v e C h i l d ( b ) ; c . o f f s e t . i n i t i a l i z e = c . n o o p } ,  
 b o d y O f f s e t : f u n c t i o n ( a ) { v a r   b = a . o f f s e t T o p , d = a . o f f s e t L e f t ; c . o f f s e t . i n i t i a l i z e ( ) ; i f ( c . o f f s e t . d o e s N o t I n c l u d e M a r g i n I n B o d y O f f s e t ) { b + = p a r s e F l o a t ( c . c u r C S S ( a , " m a r g i n T o p " , t r u e ) ) | | 0 ; d + = p a r s e F l o a t ( c . c u r C S S ( a , " m a r g i n L e f t " , t r u e ) ) | | 0 } r e t u r n { t o p : b , l e f t : d } } , s e t O f f s e t : f u n c t i o n ( a , b , d ) { i f ( / s t a t i c / . t e s t ( c . c u r C S S ( a , " p o s i t i o n " ) ) ) a . s t y l e . p o s i t i o n = " r e l a t i v e " ; v a r   f = c ( a ) , e = f . o f f s e t ( ) , i = p a r s e I n t ( c . c u r C S S ( a , " t o p " , t r u e ) , 1 0 ) | | 0 , j = p a r s e I n t ( c . c u r C S S ( a , " l e f t " , t r u e ) , 1 0 ) | | 0 ; i f ( c . i s F u n c t i o n ( b ) ) b = b . c a l l ( a , d , e ) ; d = { t o p : b . t o p - e . t o p + i , l e f t : b . l e f t -  
 e . l e f t + j } ; " u s i n g " i n   b ? b . u s i n g . c a l l ( a , d ) : f . c s s ( d ) } } ; c . f n . e x t e n d ( { p o s i t i o n : f u n c t i o n ( ) { i f ( ! t h i s [ 0 ] ) r e t u r n   n u l l ; v a r   a = t h i s [ 0 ] , b = t h i s . o f f s e t P a r e n t ( ) , d = t h i s . o f f s e t ( ) , f = / ^ b o d y | h t m l $ / i . t e s t ( b [ 0 ] . n o d e N a m e ) ? { t o p : 0 , l e f t : 0 } : b . o f f s e t ( ) ; d . t o p - = p a r s e F l o a t ( c . c u r C S S ( a , " m a r g i n T o p " , t r u e ) ) | | 0 ; d . l e f t - = p a r s e F l o a t ( c . c u r C S S ( a , " m a r g i n L e f t " , t r u e ) ) | | 0 ; f . t o p + = p a r s e F l o a t ( c . c u r C S S ( b [ 0 ] , " b o r d e r T o p W i d t h " , t r u e ) ) | | 0 ; f . l e f t + = p a r s e F l o a t ( c . c u r C S S ( b [ 0 ] , " b o r d e r L e f t W i d t h " , t r u e ) ) | | 0 ; r e t u r n { t o p : d . t o p - f . t o p , l e f t : d . l e f t - f . l e f t } } , o f f s e t P a r e n t : f u n c t i o n ( ) { r e t u r n   t h i s . m a p ( f u n c t i o n ( ) { f o r ( v a r   a =  
 t h i s . o f f s e t P a r e n t | | r . b o d y ; a & & ! / ^ b o d y | h t m l $ / i . t e s t ( a . n o d e N a m e ) & & c . c s s ( a , " p o s i t i o n " ) = = = " s t a t i c " ; ) a = a . o f f s e t P a r e n t ; r e t u r n   a } ) } } ) ; c . e a c h ( [ " L e f t " , " T o p " ] , f u n c t i o n ( a , b ) { v a r   d = " s c r o l l " + b ; c . f n [ d ] = f u n c t i o n ( f ) { v a r   e = t h i s [ 0 ] , i ; i f ( ! e ) r e t u r n   n u l l ; i f ( f ! = = v ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { i f ( i = u a ( t h i s ) ) i . s c r o l l T o ( ! a ? f : c ( i ) . s c r o l l L e f t ( ) , a ? f : c ( i ) . s c r o l l T o p ( ) ) ; e l s e   t h i s [ d ] = f } ) ; e l s e   r e t u r n ( i = u a ( e ) ) ? " p a g e X O f f s e t " i n   i ? i [ a ? " p a g e Y O f f s e t " : " p a g e X O f f s e t " ] : c . s u p p o r t . b o x M o d e l & & i . d o c u m e n t . d o c u m e n t E l e m e n t [ d ] | | i . d o c u m e n t . b o d y [ d ] : e [ d ] } } ) ;  
 c . e a c h ( [ " H e i g h t " , " W i d t h " ] , f u n c t i o n ( a , b ) { v a r   d = b . t o L o w e r C a s e ( ) ; c . f n [ " i n n e r " + b ] = f u n c t i o n ( ) { r e t u r n   t h i s [ 0 ] ? c . c s s ( t h i s [ 0 ] , d , f a l s e , " p a d d i n g " ) : n u l l } ; c . f n [ " o u t e r " + b ] = f u n c t i o n ( f ) { r e t u r n   t h i s [ 0 ] ? c . c s s ( t h i s [ 0 ] , d , f a l s e , f ? " m a r g i n " : " b o r d e r " ) : n u l l } ; c . f n [ d ] = f u n c t i o n ( f ) { v a r   e = t h i s [ 0 ] ; i f ( ! e ) r e t u r n   f = = n u l l ? n u l l : t h i s ; i f ( c . i s F u n c t i o n ( f ) ) r e t u r n   t h i s . e a c h ( f u n c t i o n ( i ) { v a r   j = c ( t h i s ) ; j [ d ] ( f . c a l l ( t h i s , i , j [ d ] ( ) ) ) } ) ; r e t u r n " s c r o l l T o " i n   e & & e . d o c u m e n t ? e . d o c u m e n t . c o m p a t M o d e = = = " C S S 1 C o m p a t " & & e . d o c u m e n t . d o c u m e n t E l e m e n t [ " c l i e n t " + b ] | |  
 e . d o c u m e n t . b o d y [ " c l i e n t " + b ] : e . n o d e T y p e = = = 9 ? M a t h . m a x ( e . d o c u m e n t E l e m e n t [ " c l i e n t " + b ] , e . b o d y [ " s c r o l l " + b ] , e . d o c u m e n t E l e m e n t [ " s c r o l l " + b ] , e . b o d y [ " o f f s e t " + b ] , e . d o c u m e n t E l e m e n t [ " o f f s e t " + b ] ) : f = = = v ? c . c s s ( e , d ) : t h i s . c s s ( d , t y p e o f   f = = = " s t r i n g " ? f : f + " p x " ) } } ) ; z . j Q u e r y = z . $ = c } ) ( w i n d o w ) ; 
