ÿþ/ * 
   *   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 ( ) { v a r   l = t h i s , g , y = l . j Q u e r y , p = l . $ , o = l . j Q u e r y = l . $ = f u n c t i o n ( E , F ) { r e t u r n   n e w   o . f n . i n i t ( E , F ) } , D = / ^ [ ^ < ] * ( < ( . | \ s ) + > ) [ ^ > ] * $ | ^ # ( [ \ w - ] + ) $ / , f = / ^ . [ ^ : # \ [ \ . , ] * $ / ; o . f n = o . p r o t o t y p e = { i n i t : f u n c t i o n ( E , H ) { E = E | | d o c u m e n t ; i f ( E . n o d e T y p e ) { t h i s [ 0 ] = E ; t h i s . l e n g t h = 1 ; t h i s . c o n t e x t = E ; r e t u r n   t h i s } i f ( t y p e o f   E = = = " s t r i n g " ) { v a r   G = D . e x e c ( E ) ; i f ( G & & ( G [ 1 ] | | ! H ) ) { i f ( G [ 1 ] ) { E = o . c l e a n ( [ G [ 1 ] ] , H ) } e l s e { v a r   I = d o c u m e n t . g e t E l e m e n t B y I d ( G [ 3 ] ) ; i f ( I & & I . i d ! = G [ 3 ] ) { r e t u r n   o ( ) . f i n d ( E ) } v a r   F = o ( I | | [ ] ) ; F . c o n t e x t = d o c u m e n t ; F . s e l e c t o r = E ; r e t u r n   F } } e l s e { r e t u r n   o ( H ) . f i n d ( E ) } } e l s e { i f ( o . i s F u n c t i o n ( E ) ) { r e t u r n   o ( d o c u m e n t ) . r e a d y ( E ) } } i f ( E . s e l e c t o r & & E . c o n t e x t ) { t h i s . s e l e c t o r = E . s e l e c t o r ; t h i s . c o n t e x t = E . c o n t e x t } r e t u r n   t h i s . s e t A r r a y ( o . i s A r r a y ( E ) ? E : o . m a k e A r r a y ( E ) ) } , s e l e c t o r : " " , j q u e r y : " 1 . 3 . 2 " , 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 } , g e t : f u n c t i o n ( E ) { r e t u r n   E = = = g ? A r r a y . p r o t o t y p e . s l i c e . c a l l ( t h i s ) : t h i s [ E ] } , p u s h S t a c k : f u n c t i o n ( F , H , E ) { v a r   G = o ( F ) ; G . p r e v O b j e c t = t h i s ; G . c o n t e x t = t h i s . c o n t e x t ; i f ( H = = = " f i n d " ) { G . 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 ? "   " : " " ) + E } e l s e { i f ( H ) { G . s e l e c t o r = t h i s . s e l e c t o r + " . " + H + " ( " + E + " ) " } } r e t u r n   G } , s e t A r r a y : f u n c t i o n ( E ) { t h i s . l e n g t h = 0 ; A r r a y . p r o t o t y p e . p u s h . a p p l y ( t h i s , E ) ; r e t u r n   t h i s } , e a c h : f u n c t i o n ( F , E ) { r e t u r n   o . e a c h ( t h i s , F , E ) } , i n d e x : f u n c t i o n ( E ) { r e t u r n   o . i n A r r a y ( E & & E . j q u e r y ? E [ 0 ] : E , t h i s ) } , a t t r : f u n c t i o n ( F , H , G ) { v a r   E = F ; i f ( t y p e o f   F = = = " s t r i n g " ) { i f ( H = = = g ) { r e t u r n   t h i s [ 0 ] & & o [ G | | " a t t r " ] ( t h i s [ 0 ] , F ) } e l s e { E = { } ; E [ F ] = H } } r e t u r n   t h i s . e a c h ( f u n c t i o n ( I ) { f o r ( F   i n   E ) { o . a t t r ( G ? t h i s . s t y l e : t h i s , F , o . p r o p ( t h i s , E [ F ] , G , I , F ) ) } } ) } , c s s : f u n c t i o n ( E , F ) { i f ( ( E = = " w i d t h " | | E = = " h e i g h t " ) & & p a r s e F l o a t ( F ) < 0 ) { F = g } r e t u r n   t h i s . a t t r ( E , F , " c u r C S S " ) } , t e x t : f u n c t i o n ( F ) { i f ( t y p e o f   F ! = = " o b j e c t " & & F ! = n u l l ) { 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 | | d o c u m e n t ) . c r e a t e T e x t N o d e ( F ) ) } v a r   E = " " ; o . e a c h ( F | | t h i s , f u n c t i o n ( ) { o . e a c h ( t h i s . c h i l d N o d e s , f u n c t i o n ( ) { i f ( t h i s . n o d e T y p e ! = 8 ) { E + = t h i s . n o d e T y p e ! = 1 ? t h i s . n o d e V a l u e : o . f n . t e x t ( [ t h i s ] ) } } ) } ) ; r e t u r n   E } , w r a p A l l : f u n c t i o n ( E ) { i f ( t h i s [ 0 ] ) { v a r   F = o ( E , t h i s [ 0 ] . o w n e r D o c u m e n t ) . c l o n e ( ) ; i f ( t h i s [ 0 ] . p a r e n t N o d e ) { F . i n s e r t B e f o r e ( t h i s [ 0 ] ) } F . m a p ( f u n c t i o n ( ) { v a r   G = t h i s ; w h i l e ( G . f i r s t C h i l d ) { G = G . f i r s t C h i l d } r e t u r n   G } ) . 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 ( E ) { r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { o ( t h i s ) . c o n t e n t s ( ) . w r a p A l l ( E ) } ) } , w r a p : f u n c t i o n ( E ) { r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { o ( t h i s ) . w r a p A l l ( E ) } ) } , 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 ( E ) { i f ( 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 ( E ) } } ) } , 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 ( E ) { i f ( 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 ( E , 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 ( ) { 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 ( E ) { 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 ( E , t h i s ) } ) } , a f t e r : 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 , f a l s e , f u n c t i o n ( E ) { 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 ( E , t h i s . n e x t S i b l i n g ) } ) } , 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 | | o ( [ ] ) } , p u s h : [ ] . p u s h , s o r t : [ ] . s o r t , s p l i c e : [ ] . s p l i c e , f i n d : f u n c t i o n ( E ) { i f ( t h i s . l e n g t h = = = 1 ) { v a r   F = t h i s . p u s h S t a c k ( [ ] , " f i n d " , E ) ; F . l e n g t h = 0 ; o . f i n d ( E , t h i s [ 0 ] , F ) ; r e t u r n   F } e l s e { r e t u r n   t h i s . p u s h S t a c k ( o . u n i q u e ( o . m a p ( t h i s , f u n c t i o n ( G ) { r e t u r n   o . f i n d ( E , G ) } ) ) , " f i n d " , E ) } } , c l o n e : f u n c t i o n ( G ) { v a r   E = t h i s . m a p ( f u n c t i o n ( ) { i f ( ! o . s u p p o r t . n o C l o n e E v e n t & & ! o . i s X M L D o c ( t h i s ) ) { v a r   I = t h i s . o u t e r H T M L ; i f ( ! I ) { v a r   J = t h i 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 ( " d i v " ) ; J . 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 ) ) ; I = J . i n n e r H T M L } r e t u r n   o . c l e a n ( [ I . r e p l a c e ( /   j Q u e r y \ d + = " ( ? : \ d + | n u l l ) " / g , " " ) . r e p l a c e ( / ^ \ s * / , " " ) ] ) [ 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 ( G = = = t r u e ) { v a r   H = t h i s . f i n d ( " * " ) . a n d S e l f ( ) , F = 0 ; E . f i n d ( " * " ) . a n d S e l f ( ) . 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 ! = = H [ F ] . n o d e N a m e ) { r e t u r n } v a r   I = o . d a t a ( H [ F ] , " e v e n t s " ) ; f o r ( v a r   K   i n   I ) { f o r ( v a r   J   i n   I [ K ] ) { o . e v e n t . a d d ( t h i s , K , I [ K ] [ J ] , I [ K ] [ J ] . d a t a ) } } F + + } ) } r e t u r n   E } , f i l t e r : f u n c t i o n ( E ) { r e t u r n   t h i s . p u s h S t a c k ( o . i s F u n c t i o n ( E ) & & o . g r e p ( t h i s , f u n c t i o n ( G , F ) { r e t u r n   E . c a l l ( G , F ) } ) | | o . m u l t i F i l t e r ( E , o . g r e p ( t h i s , f u n c t i o n ( F ) { r e t u r n   F . n o d e T y p e = = = 1 } ) ) , " f i l t e r " , E ) } , c l o s e s t : f u n c t i o n ( E ) { v a r   G = o . e x p r . m a t c h . P O S . t e s t ( E ) ? o ( E ) : n u l l , F = 0 ; r e t u r n   t h i s . m a p ( f u n c t i o n ( ) { v a r   H = t h i s ; w h i l e ( H & & H . o w n e r D o c u m e n t ) { i f ( G ? G . i n d e x ( H ) > - 1 : o ( H ) . i s ( E ) ) { o . d a t a ( H , " c l o s e s t " , F ) ; r e t u r n   H } H = H . p a r e n t N o d e ; F + + } } ) } , n o t : f u n c t i o n ( E ) { i f ( t y p e o f   E = = = " s t r i n g " ) { i f ( f . t e s t ( E ) ) { r e t u r n   t h i s . p u s h S t a c k ( o . m u l t i F i l t e r ( E , t h i s , t r u e ) , " n o t " , E ) } e l s e { E = o . m u l t i F i l t e r ( E , t h i s ) } } v a r   F = E . l e n g t h & & E [ E . l e n g t h - 1 ] ! = = g & & ! E . n o d e T y p e ; r e t u r n   t h i s . f i l t e r ( f u n c t i o n ( ) { r e t u r n   F ? o . i n A r r a y ( t h i s , E ) < 0 : t h i s ! = E } ) } , a d d : f u n c t i o n ( E ) { r e t u r n   t h i s . p u s h S t a c k ( o . u n i q u e ( o . m e r g e ( t h i s . g e t ( ) , t y p e o f   E = = = " s t r i n g " ? o ( E ) : o . m a k e A r r a y ( E ) ) ) ) } , i s : f u n c t i o n ( E ) { r e t u r n   ! ! E & & o . m u l t i F i l t e r ( E , t h i s ) . l e n g t h > 0 } , h a s C l a s s : f u n c t i o n ( E ) { r e t u r n   ! ! E & & t h i s . i s ( " . " + E ) } , v a l : f u n c t i o n ( K ) { i f ( K = = = g ) { v a r   E = t h i s [ 0 ] ; i f ( E ) { i f ( o . n o d e N a m e ( E , " o p t i o n " ) ) { r e t u r n ( E . a t t r i b u t e s . v a l u e | | { } ) . s p e c i f i e d ? E . v a l u e : E . t e x t } i f ( o . n o d e N a m e ( E , " s e l e c t " ) ) { v a r   I = E . s e l e c t e d I n d e x , L = [ ] , M = E . o p t i o n s , H = E . t y p e = = " s e l e c t - o n e " ; i f ( I < 0 ) { r e t u r n   n u l l } f o r ( v a r   F = H ? I : 0 , J = H ? I + 1 : M . l e n g t h ; F < J ; F + + ) { v a r   G = M [ F ] ; i f ( G . s e l e c t e d ) { K = o ( G ) . v a l ( ) ; i f ( H ) { r e t u r n   K } L . p u s h ( K ) } } r e t u r n   L } r e t u r n ( E . v a l u e | | " " ) . r e p l a c e ( / \ r / g , " " ) } r e t u r n   g } i f ( t y p e o f   K = = = " n u m b e r " ) { K + = " " } r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { i f ( t h i s . n o d e T y p e ! = 1 ) { r e t u r n } i f ( o . i s A r r a y ( K ) & & / r a d i o | c h e c k b o x / . t e s t ( t h i s . t y p e ) ) { t h i s . c h e c k e d = ( o . i n A r r a y ( t h i s . v a l u e , K ) > = 0 | | o . i n A r r a y ( t h i s . n a m e , K ) > = 0 ) } e l s e { i f ( o . n o d e N a m e ( t h i s , " s e l e c t " ) ) { v a r   N = o . m a k e A r r a y ( K ) ; o ( " 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 = ( o . i n A r r a y ( t h i s . v a l u e , N ) > = 0 | | o . i n A r r a y ( t h i s . t e x t , N ) > = 0 ) } ) ; i f ( ! N . 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 = K } } } ) } , h t m l : f u n c t i o n ( E ) { r e t u r n   E = = = g ? ( t h i s [ 0 ] ? t h i s [ 0 ] . i n n e r H T M L . r e p l a c e ( /   j Q u e r y \ d + = " ( ? : \ d + | n u l l ) " / g , " " ) : n u l l ) : t h i s . e m p t y ( ) . a p p e n d ( E ) } , r e p l a c e W i t h : f u n c t i o n ( E ) { r e t u r n   t h i s . a f t e r ( E ) . r e m o v e ( ) } , e q : f u n c t i o n ( E ) { r e t u r n   t h i s . s l i c e ( E , + E + 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 ( A r r a y . p r o t o t y p e . s l i c e . a p p l y ( t h i s , a r g u m e n t s ) , " s l i c e " , A r r a y . p r o t o t y p e . s l i c e . 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 ( E ) { r e t u r n   t h i s . p u s h S t a c k ( o . m a p ( t h i s , f u n c t i o n ( G , F ) { r e t u r n   E . c a l l ( G , F , G ) } ) ) } , 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 ) } , d o m M a n i p : f u n c t i o n ( J , M , L ) { i f ( t h i s [ 0 ] ) { v a r   I = ( t h i s [ 0 ] . o w n e r D o c u m e n t | | t h i s [ 0 ] ) . c r e a t e D o c u m e n t F r a g m e n t ( ) , F = o . c l e a n ( J , ( t h i s [ 0 ] . o w n e r D o c u m e n t | | t h i s [ 0 ] ) , I ) , H = I . f i r s t C h i l d ; i f ( H ) { f o r ( v a r   G = 0 , E = t h i s . l e n g t h ; G < E ; G + + ) { L . c a l l ( K ( t h i s [ G ] , H ) , t h i s . l e n g t h > 1 | | G > 0 ? I . c l o n e N o d e ( t r u e ) : I ) } } i f ( F ) { o . e a c h ( F , z ) } } r e t u r n   t h i s ; f u n c t i o n   K ( N , O ) { r e t u r n   M & & o . n o d e N a m e ( N , " t a b l e " ) & & o . n o d e N a m e ( O , " t r " ) ? ( N . 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 ] | | N . a p p e n d C h i l d ( N . 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 " ) ) ) : N } } } ; o . f n . i n i t . p r o t o t y p e = o . f n ; f u n c t i o n   z ( E , F ) { i f ( F . s r c ) { o . a j a x ( { u r l : F . 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 " } ) } e l s e { o . g l o b a l E v a l ( F . t e x t | | F . t e x t C o n t e n t | | F . i n n e r H T M L | | " " ) } i f ( F . p a r e n t N o d e ) { F . p a r e n t N o d e . r e m o v e C h i l d ( F ) } } f u n c t i o n   e ( ) { r e t u r n   + n e w   D a t e } o . e x t e n d = o . f n . e x t e n d = f u n c t i o n ( ) { v a r   J = a r g u m e n t s [ 0 ] | | { } , H = 1 , I = a r g u m e n t s . l e n g t h , E = f a l s e , G ; i f ( t y p e o f   J = = = " b o o l e a n " ) { E = J ; J = a r g u m e n t s [ 1 ] | | { } ; H = 2 } i f ( t y p e o f   J ! = = " o b j e c t " & & ! o . i s F u n c t i o n ( J ) ) { J = { } } i f ( I = = H ) { J = t h i s ; - - H } f o r ( ; H < I ; H + + ) { i f ( ( G = a r g u m e n t s [ H ] ) ! = n u l l ) { f o r ( v a r   F   i n   G ) { v a r   K = J [ F ] , L = G [ F ] ; i f ( J = = = L ) { c o n t i n u e } i f ( E & & L & & t y p e o f   L = = = " o b j e c t " & & ! L . n o d e T y p e ) { J [ F ] = o . e x t e n d ( E , K | | ( L . l e n g t h ! = n u l l ? [ ] : { } ) , L ) } e l s e { i f ( L ! = = g ) { J [ F ] = L } } } } } r e t u r n   J } ; v a r   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 , q = d o c u m e n t . d e f a u l t V i e w | | { } , s = O b j e c t . p r o t o t y p e . t o S t r i n g ; o . e x t e n d ( { n o C o n f l i c t : f u n c t i o n ( E ) { l . $ = p ; i f ( E ) { l . j Q u e r y = y } r e t u r n   o } , i s F u n c t i o n : f u n c t i o n ( E ) { r e t u r n   s . c a l l ( E ) = = = " [ 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 ( E ) { r e t u r n   s . c a l l ( E ) = = = " [ o b j e c t   A r r a y ] " } , i s X M L D o c : f u n c t i o n ( E ) { r e t u r n   E . n o d e T y p e = = = 9 & & E . d o c u m e n t E l e m e n t . n o d e N a m e ! = = " H T M L " | | ! ! E . o w n e r D o c u m e n t & & o . i s X M L D o c ( E . o w n e r D o c u m e n t ) } , g l o b a l E v a l : f u n c t i o n ( G ) { i f ( G & & / \ S / . t e s t ( G ) ) { v a r   F = d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] | | d o c u m e n t . d o c u m e n t E l e m e n t , E = d o c u m e n t . c r e a t e E l e m e n t ( " s c r i p t " ) ; E . t y p e = " t e x t / j a v a s c r i p t " ; i f ( o . s u p p o r t . s c r i p t E v a l ) { E . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( G ) ) } e l s e { E . t e x t = G } F . i n s e r t B e f o r e ( E , F . f i r s t C h i l d ) ; F . r e m o v e C h i l d ( E ) } } , n o d e N a m e : f u n c t i o n ( F , E ) { r e t u r n   F . n o d e N a m e & & F . n o d e N a m e . t o U p p e r C a s e ( ) = = E . t o U p p e r C a s e ( ) } , e a c h : f u n c t i o n ( G , K , F ) { v a r   E , H = 0 , I = G . l e n g t h ; i f ( F ) { i f ( I = = = g ) { f o r ( E   i n   G ) { i f ( K . a p p l y ( G [ E ] , F ) = = = f a l s e ) { b r e a k } } } e l s e { f o r ( ; H < I ; ) { i f ( K . a p p l y ( G [ H + + ] , F ) = = = f a l s e ) { b r e a k } } } } e l s e { i f ( I = = = g ) { f o r ( E   i n   G ) { i f ( K . c a l l ( G [ E ] , E , G [ E ] ) = = = f a l s e ) { b r e a k } } } e l s e { f o r ( v a r   J = G [ 0 ] ; H < I & & K . c a l l ( J , H , J ) ! = = f a l s e ; J = G [ + + H ] ) { } } } r e t u r n   G } , p r o p : f u n c t i o n ( H , I , G , F , E ) { i f ( o . i s F u n c t i o n ( I ) ) { I = I . c a l l ( H , F ) } r e t u r n   t y p e o f   I = = = " n u m b e r " & & G = = " c u r C S S " & & ! b . t e s t ( E ) ? I + " p x " : I } , c l a s s N a m e : { a d d : f u n c t i o n ( E , F ) { o . e a c h ( ( F | | " " ) . s p l i t ( / \ s + / ) , f u n c t i o n ( G , H ) { i f ( E . n o d e T y p e = = 1 & & ! o . c l a s s N a m e . h a s ( E . c l a s s N a m e , H ) ) { E . c l a s s N a m e + = ( E . c l a s s N a m e ? "   " : " " ) + H } } ) } , r e m o v e : f u n c t i o n ( E , F ) { i f ( E . n o d e T y p e = = 1 ) { E . c l a s s N a m e = F ! = = g ? o . g r e p ( E . c l a s s N a m e . s p l i t ( / \ s + / ) , f u n c t i o n ( G ) { r e t u r n   ! o . c l a s s N a m e . h a s ( F , G ) } ) . j o i n ( "   " ) : " " } } , h a s : f u n c t i o n ( F , E ) { r e t u r n   F & & o . i n A r r a y ( E , ( F . c l a s s N a m e | | F ) . t o S t r i n g ( ) . s p l i t ( / \ s + / ) ) > - 1 } } , s w a p : f u n c t i o n ( H , G , I ) { v a r   E = { } ; f o r ( v a r   F   i n   G ) { E [ F ] = H . s t y l e [ F ] ; H . s t y l e [ F ] = G [ F ] } I . c a l l ( H ) ; f o r ( v a r   F   i n   G ) { H . s t y l e [ F ] = E [ F ] } } , c s s : f u n c t i o n ( H , F , J , E ) { i f ( F = = " w i d t h " | | F = = " h e i g h t " ) { v a r   L , G = { 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 " } , K = F = = " w i d t h " ? [ " L e f t " , " R i g h t " ] : [ " T o p " , " B o t t o m " ] ; f u n c t i o n   I ( ) { L = F = = " w i d t h " ? H . o f f s e t W i d t h : H . o f f s e t H e i g h t ; i f ( E = = = " b o r d e r " ) { r e t u r n } o . e a c h ( K , f u n c t i o n ( ) { i f ( ! E ) { L - = p a r s e F l o a t ( o . c u r C S S ( H , " p a d d i n g " + t h i s , t r u e ) ) | | 0 } i f ( E = = = " m a r g i n " ) { L + = p a r s e F l o a t ( o . c u r C S S ( H , " m a r g i n " + t h i s , t r u e ) ) | | 0 } e l s e { L - = p a r s e F l o a t ( o . c u r C S S ( H , " b o r d e r " + t h i s + " W i d t h " , t r u e ) ) | | 0 } } ) } i f ( H . o f f s e t W i d t h ! = = 0 ) { I ( ) } e l s e { o . s w a p ( H , G , I ) } r e t u r n   M a t h . m a x ( 0 , M a t h . r o u n d ( L ) ) } r e t u r n   o . c u r C S S ( H , F , J ) } , c u r C S S : f u n c t i o n ( I , F , G ) { v a r   L , E = I . s t y l e ; i f ( F = = " o p a c i t y " & & ! o . s u p p o r t . o p a c i t y ) { L = o . a t t r ( E , " o p a c i t y " ) ; r e t u r n   L = = " " ? " 1 " : L } i f ( F . m a t c h ( / f l o a t / i ) ) { F = w } i f ( ! G & & E & & E [ F ] ) { L = E [ F ] } e l s e { i f ( q . g e t C o m p u t e d S t y l e ) { i f ( F . m a t c h ( / f l o a t / i ) ) { F = " f l o a t " } F = F . r e p l a c e ( / ( [ A - Z ] ) / g , " - $ 1 " ) . t o L o w e r C a s e ( ) ; v a r   M = q . g e t C o m p u t e d S t y l e ( I , n u l l ) ; i f ( M ) { L = M . g e t P r o p e r t y V a l u e ( F ) } i f ( F = = " o p a c i t y " & & L = = " " ) { L = " 1 " } } e l s e { i f ( I . c u r r e n t S t y l e ) { v a r   J = F . r e p l a c e ( / \ - ( \ w ) / g , f u n c t i o n ( N , O ) { r e t u r n   O . t o U p p e r C a s e ( ) } ) ; L = I . c u r r e n t S t y l e [ F ] | | I . c u r r e n t S t y l e [ J ] ; i f ( ! / ^ \ d + ( p x ) ? $ / i . t e s t ( L ) & & / ^ \ d / . t e s t ( L ) ) { v a r   H = E . l e f t , K = I . r u n t i m e S t y l e . l e f t ; I . r u n t i m e S t y l e . l e f t = I . c u r r e n t S t y l e . l e f t ; E . l e f t = L | | 0 ; L = E . p i x e l L e f t + " p x " ; E . l e f t = H ; I . r u n t i m e S t y l e . l e f t = K } } } } r e t u r n   L } , c l e a n : f u n c t i o n ( F , K , I ) { K = K | | d o c u m e n t ; i f ( t y p e o f   K . c r e a t e E l e m e n t = = = " u n d e f i n e d " ) { K = K . o w n e r D o c u m e n t | | K [ 0 ] & & K [ 0 ] . o w n e r D o c u m e n t | | d o c u m e n t } i f ( ! I & & F . l e n g t h = = = 1 & & t y p e o f   F [ 0 ] = = = " s t r i n g " ) { v a r   H = / ^ < ( \ w + ) \ s * \ / ? > $ / . e x e c ( F [ 0 ] ) ; i f ( H ) { r e t u r n [ K . c r e a t e E l e m e n t ( H [ 1 ] ) ] } } v a r   G = [ ] , E = [ ] , L = K . c r e a t e E l e m e n t ( " d i v " ) ; o . e a c h ( F , f u n c t i o n ( P , S ) { i f ( t y p e o f   S = = = " n u m b e r " ) { S + = " " } i f ( ! S ) { r e t u r n } i f ( t y p e o f   S = = = " s t r i n g " ) { S = S . r e p l a c e ( / ( < ( \ w + ) [ ^ > ] * ? ) \ / > / g , f u n c t i o n ( U , V , T ) { r e t u r n   T . m a t c h ( / ^ ( a b b r | b r | c o l | i m g | i n p u t | l i n k | m e t a | p a r a m | h r | a r e a | e m b e d ) $ / i ) ? U : V + " > < / " + T + " > " } ) ; v a r   O = S . r e p l a c e ( / ^ \ s + / , " " ) . s u b s t r i n g ( 0 , 1 0 ) . t o L o w e r C a s e ( ) ; v a r   Q = ! O . i n d e x O f ( " < o p t " ) & & [ 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 > " ] | | ! O . i n d e x O f ( " < l e g " ) & & [ 1 , " < f i e l d s e t > " , " < / f i e l d s e t > " ] | | O . m a t c h ( / ^ < ( t h e a d | t b o d y | t f o o t | c o l g | c a p ) / ) & & [ 1 , " < t a b l e > " , " < / t a b l e > " ] | | ! O . i n d e x O f ( " < t r " ) & & [ 2 , " < t a b l e > < t b o d y > " , " < / t b o d y > < / t a b l e > " ] | | ( ! O . i n d e x O f ( " < t d " ) | | ! O . i n d e x O f ( " < t h " ) ) & & [ 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 > " ] | | ! O . i n d e x O f ( " < 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 > " ] | | ! o . s u p p o r t . h t m l S e r i a l i z e & & [ 1 , " d i v < d i v > " , " < / d i v > " ] | | [ 0 , " " , " " ] ; L . i n n e r H T M L = Q [ 1 ] + S + Q [ 2 ] ; w h i l e ( Q [ 0 ] - - ) { L = L . l a s t C h i l d } i f ( ! o . s u p p o r t . t b o d y ) { v a r   R = / < t b o d y / i . t e s t ( S ) , N = ! O . i n d e x O f ( " < t a b l e " ) & & ! R ? L . f i r s t C h i l d & & L . f i r s t C h i l d . c h i l d N o d e s : Q [ 1 ] = = " < t a b l e > " & & ! R ? L . c h i l d N o d e s : [ ] ; f o r ( v a r   M = N . l e n g t h - 1 ; M > = 0 ; - - M ) { i f ( o . n o d e N a m e ( N [ M ] , " t b o d y " ) & & ! N [ M ] . c h i l d N o d e s . l e n g t h ) { N [ M ] . p a r e n t N o d e . r e m o v e C h i l d ( N [ M ] ) } } } i f ( ! o . s u p p o r t . l e a d i n g W h i t e s p a c e & & / ^ \ s / . t e s t ( S ) ) { L . i n s e r t B e f o r e ( K . c r e a t e T e x t N o d e ( S . m a t c h ( / ^ \ s * / ) [ 0 ] ) , L . f i r s t C h i l d ) } S = o . m a k e A r r a y ( L . c h i l d N o d e s ) } i f ( S . n o d e T y p e ) { G . p u s h ( S ) } e l s e { G = o . m e r g e ( G , S ) } } ) ; i f ( I ) { f o r ( v a r   J = 0 ; G [ J ] ; J + + ) { i f ( o . n o d e N a m e ( G [ J ] , " s c r i p t " ) & & ( ! G [ J ] . t y p e | | G [ J ] . 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 " ) ) { E . p u s h ( G [ J ] . p a r e n t N o d e ? G [ J ] . p a r e n t N o d e . r e m o v e C h i l d ( G [ J ] ) : G [ J ] ) } e l s e { i f ( G [ J ] . n o d e T y p e = = = 1 ) { G . s p l i c e . a p p l y ( G , [ J + 1 , 0 ] . c o n c a t ( o . m a k e A r r a y ( G [ J ] . 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 " ) ) ) ) } I . a p p e n d C h i l d ( G [ J ] ) } } r e t u r n   E } r e t u r n   G } , a t t r : f u n c t i o n ( J , G , K ) { i f ( ! J | | J . n o d e T y p e = = 3 | | J . n o d e T y p e = = 8 ) { r e t u r n   g } v a r   H = ! o . i s X M L D o c ( J ) , L = K ! = = g ; G = H & & o . p r o p s [ G ] | | G ; i f ( J . t a g N a m e ) { v a r   F = / h r e f | s r c | s t y l e / . t e s t ( G ) ; i f ( G = = " s e l e c t e d " & & J . p a r e n t N o d e ) { J . p a r e n t N o d e . s e l e c t e d I n d e x } i f ( G   i n   J & & H & & ! F ) { i f ( L ) { i f ( G = = " t y p e " & & o . n o d e N a m e ( J , " i n p u t " ) & & J . p a r e n t N o d e ) { t h r o w " 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 " } J [ G ] = K } i f ( o . n o d e N a m e ( J , " f o r m " ) & & J . g e t A t t r i b u t e N o d e ( G ) ) { r e t u r n   J . g e t A t t r i b u t e N o d e ( G ) . n o d e V a l u e } i f ( G = = " t a b I n d e x " ) { v a r   I = J . g e t A t t r i b u t e N o d e ( " t a b I n d e x " ) ; r e t u r n   I & & I . s p e c i f i e d ? I . v a l u e : J . n o d e N a m e . m a t c h ( / ( 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 ) ? 0 : J . n o d e N a m e . m a t c h ( / ^ ( a | a r e a ) $ / i ) & & J . h r e f ? 0 : g } r e t u r n   J [ G ] } i f ( ! o . s u p p o r t . s t y l e & & H & & G = = " s t y l e " ) { r e t u r n   o . a t t r ( J . s t y l e , " c s s T e x t " , K ) } i f ( L ) { J . s e t A t t r i b u t e ( G , " " + K ) } v a r   E = ! o . s u p p o r t . h r e f N o r m a l i z e d & & H & & F ? J . g e t A t t r i b u t e ( G , 2 ) : J . g e t A t t r i b u t e ( G ) ; r e t u r n   E = = = n u l l ? g : E } i f ( ! o . s u p p o r t . o p a c i t y & & G = = " o p a c i t y " ) { i f ( L ) { J . z o o m = 1 ; J . f i l t e r = ( J . f i l t e r | | " " ) . r e p l a c e ( / a l p h a \ ( [ ^ ) ] * \ ) / , " " ) + ( p a r s e I n t ( K ) + " " = = " N a N " ? " " : " a l p h a ( o p a c i t y = " + K * 1 0 0 + " ) " ) } r e t u r n   J . f i l t e r & & J . 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 ( J . f i l t e r . m a t c h ( / o p a c i t y = ( [ ^ ) ] * ) / ) [ 1 ] ) / 1 0 0 ) + " " : " " } G = G . r e p l a c e ( / - ( [ a - z ] ) / i g , f u n c t i o n ( M , N ) { r e t u r n   N . t o U p p e r C a s e ( ) } ) ; i f ( L ) { J [ G ] = K } r e t u r n   J [ G ] } , t r i m : f u n c t i o n ( E ) { r e t u r n ( E | | " " ) . r e p l a c e ( / ^ \ s + | \ s + $ / g , " " ) } , m a k e A r r a y : f u n c t i o n ( G ) { v a r   E = [ ] ; i f ( G ! = n u l l ) { v a r   F = G . l e n g t h ; i f ( F = = n u l l | | t y p e o f   G = = = " s t r i n g " | | o . i s F u n c t i o n ( G ) | | G . s e t I n t e r v a l ) { E [ 0 ] = G } e l s e { w h i l e ( F ) { E [ - - F ] = G [ F ] } } } r e t u r n   E } , i n A r r a y : f u n c t i o n ( G , H ) { f o r ( v a r   E = 0 , F = H . l e n g t h ; E < F ; E + + ) { i f ( H [ E ] = = = G ) { r e t u r n   E } } r e t u r n   - 1 } , m e r g e : f u n c t i o n ( H , E ) { v a r   F = 0 , G , I = H . l e n g t h ; i f ( ! o . s u p p o r t . g e t A l l ) { w h i l e ( ( G = E [ F + + ] ) ! = n u l l ) { i f ( G . n o d e T y p e ! = 8 ) { H [ I + + ] = G } } } e l s e { w h i l e ( ( G = E [ F + + ] ) ! = n u l l ) { H [ I + + ] = G } } r e t u r n   H } , u n i q u e : f u n c t i o n ( K ) { v a r   F = [ ] , E = { } ; t r y { f o r ( v a r   G = 0 , H = K . l e n g t h ; G < H ; G + + ) { v a r   J = o . d a t a ( K [ G ] ) ; i f ( ! E [ J ] ) { E [ J ] = t r u e ; F . p u s h ( K [ G ] ) } } } c a t c h ( I ) { F = K } r e t u r n   F } , g r e p : f u n c t i o n ( F , J , E ) { v a r   G = [ ] ; f o r ( v a r   H = 0 , I = F . l e n g t h ; H < I ; H + + ) { i f ( ! E ! = ! J ( F [ H ] , H ) ) { G . p u s h ( F [ H ] ) } } r e t u r n   G } , m a p : f u n c t i o n ( E , J ) { v a r   F = [ ] ; f o r ( v a r   G = 0 , H = E . l e n g t h ; G < H ; G + + ) { v a r   I = J ( E [ G ] , G ) ; i f ( I ! = n u l l ) { F [ F . l e n g t h ] = I } } r e t u r n   F . c o n c a t . a p p l y ( [ ] , F ) } } ) ; v a r   C = n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ; o . b r o w s e r = { v e r s i o n : ( C . m a t c h ( / . + ( ? : r v | i t | r a | i e ) [ \ / :   ] ( [ \ d . ] + ) / ) | | [ 0 , " 0 " ] ) [ 1 ] , s a f a r i : / w e b k i t / . t e s t ( C ) , o p e r a : / o p e r a / . t e s t ( C ) , m s i e : / m s i e / . t e s t ( C ) & & ! / o p e r a / . t e s t ( C ) , m o z i l l a : / m o z i l l a / . t e s t ( C ) & & ! / ( c o m p a t i b l e | w e b k i t ) / . t e s t ( C ) } ; o . e a c h ( { p a r e n t : f u n c t i o n ( E ) { r e t u r n   E . p a r e n t N o d e } , p a r e n t s : f u n c t i o n ( E ) { r e t u r n   o . d i r ( E , " p a r e n t N o d e " ) } , n e x t : f u n c t i o n ( E ) { r e t u r n   o . n t h ( E , 2 , " n e x t S i b l i n g " ) } , p r e v : f u n c t i o n ( E ) { r e t u r n   o . n t h ( E , 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 ( E ) { r e t u r n   o . d i r ( E , " 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 ( E ) { r e t u r n   o . d i r ( E , " p r e v i o u s S i b l i n g " ) } , s i b l i n g s : f u n c t i o n ( E ) { r e t u r n   o . s i b l i n g ( E . p a r e n t N o d e . f i r s t C h i l d , E ) } , c h i l d r e n : f u n c t i o n ( E ) { r e t u r n   o . s i b l i n g ( E . 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 ( E ) { r e t u r n   o . n o d e N a m e ( E , " i f r a m e " ) ? E . c o n t e n t D o c u m e n t | | E . c o n t e n t W i n d o w . d o c u m e n t : o . m a k e A r r a y ( E . c h i l d N o d e s ) } } , f u n c t i o n ( E , F ) { o . f n [ E ] = f u n c t i o n ( G ) { v a r   H = o . m a p ( t h i s , F ) ; i f ( G & & t y p e o f   G = = " s t r i n g " ) { H = o . m u l t i F i l t e r ( G , H ) } r e t u r n   t h i s . p u s h S t a c k ( o . u n i q u e ( H ) , E , G ) } } ) ; o . 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 ( E , F ) { o . f n [ E ] = f u n c t i o n ( G ) { v a r   J = [ ] , L = o ( G ) ; f o r ( v a r   K = 0 , H = L . l e n g t h ; K < H ; K + + ) { v a r   I = ( K > 0 ? t h i s . c l o n e ( t r u e ) : t h i s ) . g e t ( ) ; o . f n [ F ] . a p p l y ( o ( L [ K ] ) , I ) ; J = J . c o n c a t ( I ) } r e t u r n   t h i s . p u s h S t a c k ( J , E , G ) } } ) ; o . e a c h ( { r e m o v e A t t r : f u n c t i o n ( E ) { o . a t t r ( t h i s , E , " " ) ; i f ( 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 ( E ) } } , a d d C l a s s : f u n c t i o n ( E ) { o . c l a s s N a m e . a d d ( t h i s , E ) } , r e m o v e C l a s s : f u n c t i o n ( E ) { o . c l a s s N a m e . r e m o v e ( t h i s , E ) } , t o g g l e C l a s s : f u n c t i o n ( F , E ) { i f ( t y p e o f   E ! = = " b o o l e a n " ) { E = ! o . c l a s s N a m e . h a s ( t h i s , F ) } o . c l a s s N a m e [ E ? " a d d " : " r e m o v e " ] ( t h i s , F ) } , r e m o v e : f u n c t i o n ( E ) { i f ( ! E | | o . f i l t e r ( E , [ t h i s ] ) . l e n g t h ) { o ( " * " , t h i s ) . a d d ( [ t h i s ] ) . e a c h ( f u n c t i o n ( ) { o . e v e n t . r e m o v e ( t h i s ) ; o . r e m o v e D a t a ( t h i s ) } ) ; i f ( 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 ( ) { o ( t h i s ) . c h i l d r e n ( ) . r e m o v e ( ) ; w h i l 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 ( E , F ) { o . f n [ E ] = f u n c t i o n ( ) { r e t u r n   t h i s . e a c h ( F , a r g u m e n t s ) } } ) ; f u n c t i o n   j ( E , F ) { r e t u r n   E [ 0 ] & & p a r s e I n t ( o . c u r C S S ( E [ 0 ] , F , t r u e ) , 1 0 ) | | 0 } v a r   h = " j Q u e r y " + e ( ) , v = 0 , A = { } ; o . e x t e n d ( { c a c h e : { } , d a t a : f u n c t i o n ( F , E , G ) { F = F = = l ? A : F ; v a r   H = F [ h ] ; i f ( ! H ) { H = F [ h ] = + + v } i f ( E & & ! o . c a c h e [ H ] ) { o . c a c h e [ H ] = { } } i f ( G ! = = g ) { o . c a c h e [ H ] [ E ] = G } r e t u r n   E ? o . c a c h e [ H ] [ E ] : H } , r e m o v e D a t a : f u n c t i o n ( F , E ) { F = F = = l ? A : F ; v a r   H = F [ h ] ; i f ( E ) { i f ( o . c a c h e [ H ] ) { d e l e t e   o . c a c h e [ H ] [ E ] ; E = " " ; f o r ( E   i n   o . c a c h e [ H ] ) { b r e a k } i f ( ! E ) { o . r e m o v e D a t a ( F ) } } } e l s e { t r y { d e l e t e   F [ h ] } c a t c h ( G ) { i f ( F . r e m o v e A t t r i b u t e ) { F . r e m o v e A t t r i b u t e ( h ) } } d e l e t e   o . c a c h e [ H ] } } , q u e u e : f u n c t i o n ( F , E , H ) { i f ( F ) { E = ( E | | " f x " ) + " q u e u e " ; v a r   G = o . d a t a ( F , E ) ; i f ( ! G | | o . i s A r r a y ( H ) ) { G = o . d a t a ( F , E , o . m a k e A r r a y ( H ) ) } e l s e { i f ( H ) { G . p u s h ( H ) } } } r e t u r n   G } , d e q u e u e : f u n c t i o n ( H , G ) { v a r   E = o . q u e u e ( H , G ) , F = E . s h i f t ( ) ; i f ( ! G | | G = = = " f x " ) { F = E [ 0 ] } i f ( F ! = = g ) { F . c a l l ( H ) } } } ) ; o . f n . e x t e n d ( { d a t a : f u n c t i o n ( E , G ) { v a r   H = E . s p l i t ( " . " ) ; H [ 1 ] = H [ 1 ] ? " . " + H [ 1 ] : " " ; i f ( G = = = g ) { 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 " + H [ 1 ] + " ! " , [ H [ 0 ] ] ) ; i f ( F = = = g & & t h i s . l e n g t h ) { F = o . d a t a ( t h i s [ 0 ] , E ) } r e t u r n   F = = = g & & H [ 1 ] ? t h i s . d a t a ( H [ 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 " + H [ 1 ] + " ! " , [ H [ 0 ] , G ] ) . e a c h ( f u n c t i o n ( ) { o . d a t a ( t h i s , E , G ) } ) } } , r e m o v e D a t a : f u n c t i o n ( E ) { r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { o . r e m o v e D a t a ( t h i s , E ) } ) } , q u e u e : f u n c t i o n ( E , F ) { i f ( t y p e o f   E ! = = " s t r i n g " ) { F = E ; E = " f x " } i f ( F = = = g ) { r e t u r n   o . q u e u e ( t h i s [ 0 ] , E ) } 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   G = o . q u e u e ( t h i s , E , F ) ; i f ( E = = " f x " & & G . l e n g t h = = 1 ) { G [ 0 ] . c a l l ( t h i s ) } } ) } , d e q u e u e : f u n c t i o n ( E ) { r e t u r n   t h i s . e a c h ( f u n c t i o n ( ) { o . d e q u e u e ( t h i s , E ) } ) } } ) ; 
 / * 
   *   S i z z l e   C S S   S e l e c t o r   E n g i n e   -   v 0 . 9 . 3 
   *     C o p y r i g h t   2 0 0 9 ,   T h e   D o j o   F o u n d a t i o n 
   *     R e l e a s e d   u n d e r   t h e   M I T ,   B S D ,   a n d   G P L   L i c e n s e s . 
   *     M o r e   i n f o r m a t i o n :   h t t p : / / s i z z l e j s . c o m / 
   * /  
 ( f u n c t i o n ( )   {   v a r   R   =   / ( ( ? : \ ( ( ? : \ ( [ ^ ( ) ] + \ ) | [ ^ ( ) ] + ) + \ ) | \ [ ( ? : \ [ [ ^ [ \ ] ] * \ ] | [ ' " ] [ ^ ' " ] * [ ' " ] | [ ^ [ \ ] ' " ] + ) + \ ] | \ \ . | [ ^   > + ~ , ( \ [ \ \ ] + ) + | [ > + ~ ] ) ( \ s * , \ s * ) ? / g ,   L   =   0 ,   H   =   O b j e c t . p r o t o t y p e . t o S t r i n g ;   v a r   F   =   f u n c t i o n ( Y ,   U ,   a b ,   a c )   {   a b   =   a b   | |   [ ] ;   U   =   U   | |   d o c u m e n t ;   i f   ( U . n o d e T y p e   ! = =   1   & &   U . n o d e T y p e   ! = =   9 )   {   r e t u r n   [ ]   }   i f   ( ! Y   | |   t y p e o f   Y   ! = =   " s t r i n g " )   {   r e t u r n   a b   }   v a r   Z   =   [ ] ,   W ,   a f ,   a i ,   T ,   a d ,   V ,   X   =   t r u e ;   R . l a s t I n d e x   =   0 ;   w h i l e   ( ( W   =   R . e x e c ( Y ) )   ! = =   n u l l )   {   Z . p u s h ( W [ 1 ] ) ;   i f   ( W [ 2 ] )   {   V   =   R e g E x p . r i g h t C o n t e x t ;   b r e a k   }   }   i f   ( Z . l e n g t h   >   1   & &   M . e x e c ( Y ) )   {   i f   ( Z . l e n g t h   = = =   2   & &   I . r e l a t i v e [ Z [ 0 ] ] )   {   a f   =   J ( Z [ 0 ]   +   Z [ 1 ] ,   U )   }   e l s e   {   a f   =   I . r e l a t i v e [ Z [ 0 ] ]   ?   [ U ]   :   F ( Z . s h i f t ( ) ,   U ) ;   w h i l e   ( Z . l e n g t h )   {   Y   =   Z . s h i f t ( ) ;   i f   ( I . r e l a t i v e [ Y ] )   {   Y   + =   Z . s h i f t ( )   }   a f   =   J ( Y ,   a f )   }   }   }   e l s e   {   v a r   a e   =   a c   ?   {   e x p r :   Z . p o p ( ) ,   s e t :   E ( a c ) }   :   F . f i n d ( Z . p o p ( ) ,   Z . l e n g t h   = = =   1   & &   U . p a r e n t N o d e   ?   U . p a r e n t N o d e   :   U ,   Q ( U ) ) ;   a f   =   F . f i l t e r ( a e . e x p r ,   a e . s e t ) ;   i f   ( Z . l e n g t h   >   0 )   {   a i   =   E ( a f )   }   e l s e   {   X   =   f a l s e   }   w h i l e   ( Z . l e n g t h )   {   v a r   a h   =   Z . p o p ( ) ,   a g   =   a h ;   i f   ( ! I . r e l a t i v e [ a h ] )   {   a h   =   " "   }   e l s e   {   a g   =   Z . p o p ( )   }   i f   ( a g   = =   n u l l )   {   a g   =   U   }   I . r e l a t i v e [ a h ] ( a i ,   a g ,   Q ( U ) )   }   }   i f   ( ! a i )   {   a i   =   a f   }   i f   ( ! a i )   {   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 :   "   +   ( a h   | |   Y )   }   i f   ( H . c a l l ( a i )   = = =   " [ o b j e c t   A r r a y ] " )   {   i f   ( ! X )   {   a b . p u s h . a p p l y ( a b ,   a i )   }   e l s e   {   i f   ( U . n o d e T y p e   = = =   1 )   {   f o r   ( v a r   a a   =   0 ;   a i [ a a ]   ! =   n u l l ;   a a + + )   {   i f   ( a i [ a a ]   & &   ( a i [ a a ]   = = =   t r u e   | |   a i [ a a ] . n o d e T y p e   = = =   1   & &   K ( U ,   a i [ a a ] ) ) )   {   a b . p u s h ( a f [ a a ] )   }   }   }   e l s e   {   f o r   ( v a r   a a   =   0 ;   a i [ a a ]   ! =   n u l l ;   a a + + )   {   i f   ( a i [ a a ]   & &   a i [ a a ] . n o d e T y p e   = = =   1 )   {   a b . p u s h ( a f [ a a ] )   }   }   }   }   }   e l s e   {   E ( a i ,   a b )   }   i f   ( V )   {   F ( V ,   U ,   a b ,   a c ) ;   i f   ( G )   {   h a s D u p l i c a t e   =   f a l s e ;   a b . s o r t ( G ) ;   i f   ( h a s D u p l i c a t e )   {   f o r   ( v a r   a a   =   1 ;   a a   <   a b . l e n g t h ;   a a + + )   {   i f   ( a b [ a a ]   = = =   a b [ a a   -   1 ] )   {   a b . s p l i c e ( a a - - ,   1 )   }   }   }   }   }   r e t u r n   a b   } ;   F . m a t c h e s   =   f u n c t i o n ( T ,   U )   {   r e t u r n   F ( T ,   n u l l ,   n u l l ,   U )   } ;   F . f i n d   =   f u n c t i o n ( a a ,   T ,   a b )   {   v a r   Z ,   X ;   i f   ( ! a a )   {   r e t u r n   [ ]   }   f o r   ( v a r   W   =   0 ,   V   =   I . o r d e r . l e n g t h ;   W   <   V ;   W + + )   {   v a r   Y   =   I . o r d e r [ W ] ,   X ;   i f   ( ( X   =   I . m a t c h [ Y ] . e x e c ( a a ) ) )   {   v a r   U   =   R e g E x p . l e f t C o n t e x t ;   i f   ( U . s u b s t r ( U . l e n g t h   -   1 )   ! = =   " \ \ " )   {   X [ 1 ]   =   ( X [ 1 ]   | |   " " ) . r e p l a c e ( / \ \ / g ,   " " ) ;   Z   =   I . f i n d [ Y ] ( X ,   T ,   a b ) ;   i f   ( Z   ! =   n u l l )   {   a a   =   a a . r e p l a c e ( I . m a t c h [ Y ] ,   " " ) ;   b r e a k   }   }   }   }   i f   ( ! Z )   {   Z   =   T . 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 :   Z ,   e x p r :   a a }   } ;   F . f i l t e r   =   f u n c t i o n ( a d ,   a c ,   a g ,   W )   {   v a r   V   =   a d ,   a i   =   [ ] ,   a a   =   a c ,   Y ,   T ,   Z   =   a c   & &   a c [ 0 ]   & &   Q ( a c [ 0 ] ) ;   w h i l e   ( a d   & &   a c . l e n g t h )   {   f o r   ( v a r   a b   i n   I . f i l t e r )   {   i f   ( ( Y   =   I . m a t c h [ a b ] . e x e c ( a d ) )   ! =   n u l l )   {   v a r   U   =   I . f i l t e r [ a b ] ,   a h ,   a f ;   T   =   f a l s e ;   i f   ( a a   = =   a i )   {   a i   =   [ ]   }   i f   ( I . p r e F i l t e r [ a b ] )   {   Y   =   I . p r e F i l t e r [ a b ] ( Y ,   a a ,   a g ,   a i ,   W ,   Z ) ;   i f   ( ! Y )   {   T   =   a h   =   t r u e   }   e l s e   {   i f   ( Y   = = =   t r u e )   {   c o n t i n u e   }   }   }   i f   ( Y )   {   f o r   ( v a r   X   =   0 ;   ( a f   =   a a [ X ] )   ! =   n u l l ;   X + + )   {   i f   ( a f )   {   a h   =   U ( a f ,   Y ,   X ,   a a ) ;   v a r   a e   =   W   ^   ! ! a h ;   i f   ( a g   & &   a h   ! =   n u l l )   {   i f   ( a e )   {   T   =   t r u e   }   e l s e   {   a a [ X ]   =   f a l s e   }   }   e l s e   {   i f   ( a e )   {   a i . p u s h ( a f ) ;   T   =   t r u e   }   }   }   }   }   i f   ( a h   ! = =   g )   {   i f   ( ! a g )   {   a a   =   a i   }   a d   =   a d . r e p l a c e ( I . m a t c h [ a b ] ,   " " ) ;   i f   ( ! T )   {   r e t u r n   [ ]   }   b r e a k   }   }   }   i f   ( a d   = =   V )   {   i f   ( T   = =   n u l l )   {   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 :   "   +   a d   }   e l s e   {   b r e a k   }   }   V   =   a d   }   r e t u r n   a a   } ;   v a r   I   =   F . 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 \ ( \ ) ] * ) + ) \ 2 \ ) ) ? /   } ,   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 ( T )   {   r e t u r n   T . 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 ( a a ,   T ,   Z )   {   v a r   X   =   t y p e o f   T   = = =   " s t r i n g " ,   a b   =   X   & &   ! / \ W / . t e s t ( T ) ,   Y   =   X   & &   ! a b ;   i f   ( a b   & &   ! Z )   {   T   =   T . t o U p p e r C a s e ( )   }   f o r   ( v a r   W   =   0 ,   V   =   a a . l e n g t h ,   U ;   W   <   V ;   W + + )   {   i f   ( ( U   =   a a [ W ] ) )   {   w h i l e   ( ( U   =   U . p r e v i o u s S i b l i n g )   & &   U . n o d e T y p e   ! = =   1 )   {   }   a a [ W ]   =   Y   | |   U   & &   U . n o d e N a m e   = = =   T   ?   U   | |   f a l s e   :   U   = = =   T   }   }   i f   ( Y )   {   F . f i l t e r ( T ,   a a ,   t r u e )   }   } ,   " > " :   f u n c t i o n ( Z ,   U ,   a a )   {   v a r   X   =   t y p e o f   U   = = =   " s t r i n g " ;   i f   ( X   & &   ! / \ W / . t e s t ( U ) )   {   U   =   a a   ?   U   :   U . t o U p p e r C a s e ( ) ;   f o r   ( v a r   V   =   0 ,   T   =   Z . l e n g t h ;   V   <   T ;   V + + )   {   v a r   Y   =   Z [ V ] ;   i f   ( Y )   {   v a r   W   =   Y . p a r e n t N o d e ;   Z [ V ]   =   W . n o d e N a m e   = = =   U   ?   W   :   f a l s e   }   }   }   e l s e   {   f o r   ( v a r   V   =   0 ,   T   =   Z . l e n g t h ;   V   <   T ;   V + + )   {   v a r   Y   =   Z [ V ] ;   i f   ( Y )   {   Z [ V ]   =   X   ?   Y . p a r e n t N o d e   :   Y . p a r e n t N o d e   = = =   U   }   }   i f   ( X )   {   F . f i l t e r ( U ,   Z ,   t r u e )   }   }   } ,   " " :   f u n c t i o n ( W ,   U ,   Y )   {   v a r   V   =   L + + ,   T   =   S ;   i f   ( ! U . m a t c h ( / \ W / ) )   {   v a r   X   =   U   =   Y   ?   U   :   U . t o U p p e r C a s e ( ) ;   T   =   P   }   T ( " p a r e n t N o d e " ,   U ,   V ,   W ,   X ,   Y )   } ,   " ~ " :   f u n c t i o n ( W ,   U ,   Y )   {   v a r   V   =   L + + ,   T   =   S ;   i f   ( t y p e o f   U   = = =   " s t r i n g "   & &   ! U . m a t c h ( / \ W / ) )   {   v a r   X   =   U   =   Y   ?   U   :   U . t o U p p e r C a s e ( ) ;   T   =   P   }   T ( " p r e v i o u s S i b l i n g " ,   U ,   V ,   W ,   X ,   Y )   }   } ,   f i n d :   {   I D :   f u n c t i o n ( U ,   V ,   W )   {   i f   ( t y p e o f   V . g e t E l e m e n t B y I d   ! = =   " u n d e f i n e d "   & &   ! W )   {   v a r   T   =   V . g e t E l e m e n t B y I d ( U [ 1 ] ) ;   r e t u r n   T   ?   [ T ]   :   [ ]   }   } ,   N A M E :   f u n c t i o n ( V ,   Y ,   Z )   {   i f   ( t y p e o f   Y . 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   U   =   [ ] ,   X   =   Y . g e t E l e m e n t s B y N a m e ( V [ 1 ] ) ;   f o r   ( v a r   W   =   0 ,   T   =   X . l e n g t h ;   W   <   T ;   W + + )   {   i f   ( X [ W ] . g e t A t t r i b u t e ( " n a m e " )   = = =   V [ 1 ] )   {   U . p u s h ( X [ W ] )   }   }   r e t u r n   U . l e n g t h   = = =   0   ?   n u l l   :   U   }   } ,   T A G :   f u n c t i o n ( T ,   U )   {   r e t u r n   U . g e t E l e m e n t s B y T a g N a m e ( T [ 1 ] )   }   } ,   p r e F i l t e r :   {   C L A S S :   f u n c t i o n ( W ,   U ,   V ,   T ,   Z ,   a a )   {   W   =   "   "   +   W [ 1 ] . r e p l a c e ( / \ \ / g ,   " " )   +   "   " ;   i f   ( a a )   {   r e t u r n   W   }   f o r   ( v a r   X   =   0 ,   Y ;   ( Y   =   U [ X ] )   ! =   n u l l ;   X + + )   {   i f   ( Y )   {   i f   ( Z   ^   ( Y . c l a s s N a m e   & &   ( "   "   +   Y . c l a s s N a m e   +   "   " ) . i n d e x O f ( W )   > =   0 ) )   {   i f   ( ! V )   {   T . p u s h ( Y )   }   }   e l s e   {   i f   ( V )   {   U [ X ]   =   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 ( T )   {   r e t u r n   T [ 1 ] . r e p l a c e ( / \ \ / g ,   " " )   } ,   T A G :   f u n c t i o n ( U ,   T )   {   f o r   ( v a r   V   =   0 ;   T [ V ]   = = =   f a l s e ;   V + + )   {   }   r e t u r n   T [ V ]   & &   Q ( T [ V ] )   ?   U [ 1 ]   :   U [ 1 ] . t o U p p e r C a s e ( )   } ,   C H I L D :   f u n c t i o n ( T )   {   i f   ( T [ 1 ]   = =   " n t h " )   {   v a r   U   =   / ( - ? ) ( \ d * ) n ( ( ? : \ + | - ) ? \ d * ) / . e x e c ( T [ 2 ]   = =   " e v e n "   & &   " 2 n "   | |   T [ 2 ]   = =   " o d d "   & &   " 2 n + 1 "   | |   ! / \ D / . t e s t ( T [ 2 ] )   & &   " 0 n + "   +   T [ 2 ]   | |   T [ 2 ] ) ;   T [ 2 ]   =   ( U [ 1 ]   +   ( U [ 2 ]   | |   1 ) )   -   0 ;   T [ 3 ]   =   U [ 3 ]   -   0   }   T [ 0 ]   =   L + + ;   r e t u r n   T   } ,   A T T R :   f u n c t i o n ( X ,   U ,   V ,   T ,   Y ,   Z )   {   v a r   W   =   X [ 1 ] . r e p l a c e ( / \ \ / g ,   " " ) ;   i f   ( ! Z   & &   I . a t t r M a p [ W ] )   {   X [ 1 ]   =   I . a t t r M a p [ W ]   }   i f   ( X [ 2 ]   = = =   " ~ = " )   {   X [ 4 ]   =   "   "   +   X [ 4 ]   +   "   "   }   r e t u r n   X   } ,   P S E U D O :   f u n c t i o n ( X ,   U ,   V ,   T ,   Y )   {   i f   ( X [ 1 ]   = = =   " n o t " )   {   i f   ( X [ 3 ] . m a t c h ( R ) . l e n g t h   >   1   | |   / ^ \ w / . t e s t ( X [ 3 ] ) )   {   X [ 3 ]   =   F ( X [ 3 ] ,   n u l l ,   n u l l ,   U )   }   e l s e   {   v a r   W   =   F . f i l t e r ( X [ 3 ] ,   U ,   V ,   t r u e   ^   Y ) ;   i f   ( ! V )   {   T . p u s h . a p p l y ( T ,   W )   }   r e t u r n   f a l s e   }   }   e l s e   {   i f   ( I . m a t c h . P O S . t e s t ( X [ 0 ] )   | |   I . m a t c h . C H I L D . t e s t ( X [ 0 ] ) )   {   r e t u r n   t r u e   }   }   r e t u r n   X   } ,   P O S :   f u n c t i o n ( T )   {   T . u n s h i f t ( t r u e ) ;   r e t u r n   T   }   } ,   f i l t e r s :   {   e n a b l e d :   f u n c t i o n ( T )   {   r e t u r n   T . d i s a b l e d   = = =   f a l s e   & &   T . 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 ( T )   {   r e t u r n   T . 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 ( T )   {   r e t u r n   T . 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 ( T )   {   T . p a r e n t N o d e . s e l e c t e d I n d e x ;   r e t u r n   T . 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 ( T )   {   r e t u r n   ! ! T . f i r s t C h i l d   } ,   e m p t y :   f u n c t i o n ( T )   {   r e t u r n   ! T . f i r s t C h i l d   } ,   h a s :   f u n c t i o n ( V ,   U ,   T )   {   r e t u r n   ! ! F ( T [ 3 ] ,   V ) . l e n g t h   } ,   h e a d e r :   f u n c t i o n ( T )   {   r e t u r n   / h \ d / i . t e s t ( T . n o d e N a m e )   } ,   t e x t :   f u n c t i o n ( T )   {   r e t u r n   " t e x t "   = = =   T . t y p e   } ,   r a d i o :   f u n c t i o n ( T )   {   r e t u r n   " r a d i o "   = = =   T . t y p e   } ,   c h e c k b o x :   f u n c t i o n ( T )   {   r e t u r n   " c h e c k b o x "   = = =   T . t y p e   } ,   f i l e :   f u n c t i o n ( T )   {   r e t u r n   " f i l e "   = = =   T . t y p e   } ,   p a s s w o r d :   f u n c t i o n ( T )   {   r e t u r n   " p a s s w o r d "   = = =   T . t y p e   } ,   s u b m i t :   f u n c t i o n ( T )   {   r e t u r n   " s u b m i t "   = = =   T . t y p e   } ,   i m a g e :   f u n c t i o n ( T )   {   r e t u r n   " i m a g e "   = = =   T . t y p e   } ,   r e s e t :   f u n c t i o n ( T )   {   r e t u r n   " r e s e t "   = = =   T . t y p e   } ,   b u t t o n :   f u n c t i o n ( T )   {   r e t u r n   " b u t t o n "   = = =   T . t y p e   | |   T . n o d e N a m e . t o U p p 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 ( T )   {   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 ( T . 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 ( U ,   T )   {   r e t u r n   T   = = =   0   } ,   l a s t :   f u n c t i o n ( V ,   U ,   T ,   W )   {   r e t u r n   U   = = =   W . l e n g t h   -   1   } ,   e v e n :   f u n c t i o n ( U ,   T )   {   r e t u r n   T   %   2   = = =   0   } ,   o d d :   f u n c t i o n ( U ,   T )   {   r e t u r n   T   %   2   = = =   1   } ,   l t :   f u n c t i o n ( V ,   U ,   T )   {   r e t u r n   U   <   T [ 3 ]   -   0   } ,   g t :   f u n c t i o n ( V ,   U ,   T )   {   r e t u r n   U   >   T [ 3 ]   -   0   } ,   n t h :   f u n c t i o n ( V ,   U ,   T )   {   r e t u r n   T [ 3 ]   -   0   = =   U   } ,   e q :   f u n c t i o n ( V ,   U ,   T )   {   r e t u r n   T [ 3 ]   -   0   = =   U   }   } ,   f i l t e r :   {   P S E U D O :   f u n c t i o n ( Z ,   V ,   W ,   a a )   {   v a r   U   =   V [ 1 ] ,   X   =   I . f i l t e r s [ U ] ;   i f   ( X )   {   r e t u r n   X ( Z ,   W ,   V ,   a a )   }   e l s e   {   i f   ( U   = = =   " c o n t a i n s " )   {   r e t u r n   ( Z . t e x t C o n t e n t   | |   Z . i n n e r T e x t   | |   " " ) . i n d e x O f ( V [ 3 ] )   > =   0   }   e l s e   {   i f   ( U   = = =   " n o t " )   {   v a r   Y   =   V [ 3 ] ;   f o r   ( v a r   W   =   0 ,   T   =   Y . l e n g t h ;   W   <   T ;   W + + )   {   i f   ( Y [ W ]   = = =   Z )   {   r e t u r n   f a l s e   }   }   r e t u r n   t r u e   }   }   }   } ,   C H I L D :   f u n c t i o n ( T ,   W )   {   v a r   Z   =   W [ 1 ] ,   U   =   T ;   s w i t c h   ( Z )   {   c a s e   " o n l y " :   c a s e   " f i r s t " :   w h i l e   ( U   =   U . p r e v i o u s S i b l i n g )   {   i f   ( U . n o d e T y p e   = = =   1 )   {   r e t u r n   f a l s e   }   }   i f   ( Z   = =   " f i r s t " )   {   r e t u r n   t r u e   }   U   =   T ;   c a s e   " l a s t " :   w h i l e   ( U   =   U . n e x t S i b l i n g )   {   i f   ( U . 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 " :   v a r   V   =   W [ 2 ] ,   a c   =   W [ 3 ] ;   i f   ( V   = =   1   & &   a c   = =   0 )   {   r e t u r n   t r u e   }   v a r   Y   =   W [ 0 ] ,   a b   =   T . p a r e n t N o d e ;   i f   ( a b   & &   ( a b . s i z c a c h e   ! = =   Y   | |   ! T . n o d e I n d e x ) )   {   v a r   X   =   0 ;   f o r   ( U   =   a b . f i r s t C h i l d ;   U ;   U   =   U . n e x t S i b l i n g )   {   i f   ( U . n o d e T y p e   = = =   1 )   {   U . n o d e I n d e x   =   + + X   }   }   a b . s i z c a c h e   =   Y   }   v a r   a a   =   T . n o d e I n d e x   -   a c ;   i f   ( V   = =   0 )   {   r e t u r n   a a   = =   0   }   e l s e   {   r e t u r n   ( a a   %   V   = =   0   & &   a a   /   V   > =   0 )   }   }   } ,   I D :   f u n c t i o n ( U ,   T )   {   r e t u r n   U . n o d e T y p e   = = =   1   & &   U . g e t A t t r i b u t e ( " i d " )   = = =   T   } ,   T A G :   f u n c t i o n ( U ,   T )   {   r e t u r n   ( T   = = =   " * "   & &   U . n o d e T y p e   = = =   1 )   | |   U . n o d e N a m e   = = =   T   } ,   C L A S S :   f u n c t i o n ( U ,   T )   {   r e t u r n   ( "   "   +   ( U . c l a s s N a m e   | |   U . g e t A t t r i b u t e ( " c l a s s " ) )   +   "   " ) . i n d e x O f ( T )   >   - 1   } ,   A T T R :   f u n c t i o n ( Y ,   W )   {   v a r   V   =   W [ 1 ] ,   T   =   I . a t t r H a n d l e [ V ]   ?   I . a t t r H a n d l e [ V ] ( Y )   :   Y [ V ]   ! =   n u l l   ?   Y [ V ]   :   Y . g e t A t t r i b u t e ( V ) ,   Z   =   T   +   " " ,   X   =   W [ 2 ] ,   U   =   W [ 4 ] ;   r e t u r n   T   = =   n u l l   ?   X   = = =   " ! = "   :   X   = = =   " = "   ?   Z   = = =   U   :   X   = = =   " * = "   ?   Z . i n d e x O f ( U )   > =   0   :   X   = = =   " ~ = "   ?   ( "   "   +   Z   +   "   " ) . i n d e x O f ( U )   > =   0   :   ! U   ?   Z   & &   T   ! = =   f a l s e   :   X   = = =   " ! = "   ?   Z   ! =   U   :   X   = = =   " ^ = "   ?   Z . i n d e x O f ( U )   = = =   0   :   X   = = =   " $ = "   ?   Z . s u b s t r ( Z . l e n g t h   -   U . l e n g t h )   = = =   U   :   X   = = =   " | = "   ?   Z   = = =   U   | |   Z . s u b s t r ( 0 ,   U . l e n g t h   +   1 )   = = =   U   +   " - "   :   f a l s e   } ,   P O S :   f u n c t i o n ( X ,   U ,   V ,   Y )   {   v a r   T   =   U [ 2 ] ,   W   =   I . s e t F i l t e r s [ T ] ;   i f   ( W )   {   r e t u r n   W ( X ,   V ,   U ,   Y )   }   }   }   } ;   v a r   M   =   I . m a t c h . P O S ;   f o r   ( v a r   O   i n   I . m a t c h )   {   I . m a t c h [ O ]   =   R e g E x p ( I . m a t c h [ O ] . s o u r c e   +   / ( ? ! [ ^ \ [ ] * \ ] ) ( ? ! [ ^ \ ( ] * \ ) ) / . s o u r c e )   }   v a r   E   =   f u n c t i o n ( U ,   T )   {   U   =   A r r a y . p r o t o t y p e . s l i c e . c a l l ( U ) ;   i f   ( T )   {   T . p u s h . a p p l y ( T ,   U ) ;   r e t u r n   T   }   r e t u r n   U   } ;   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 ( d o c u m e n t . 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 )   }   c a t c h   ( N )   {   E   =   f u n c t i o n ( X ,   W )   {   v a r   U   =   W   | |   [ ] ;   i f   ( H . c a l l ( X )   = = =   " [ 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 ( U ,   X )   }   e l s e   {   i f   ( t y p e o f   X . l e n g t h   = = =   " n u m b e r " )   {   f o r   ( v a r   V   =   0 ,   T   =   X . l e n g t h ;   V   <   T ;   V + + )   {   U . p u s h ( X [ V ] )   }   }   e l s e   {   f o r   ( v a r   V   =   0 ;   X [ V ] ;   V + + )   {   U . p u s h ( X [ V ] )   }   }   }   r e t u r n   U   }   }   v a r   G ;   i f   ( d o c u m e n t . 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 )   {   G   =   f u n c t i o n ( U ,   T )   {   v a r   V   =   U . c o m p a r e D o c u m e n t P o s i t i o n ( T )   &   4   ?   - 1   :   U   = = =   T   ?   0   :   1 ;   i f   ( V   = = =   0 )   {   h a s D u p l i c a t e   =   t r u e   }   r e t u r n   V   }   }   e l s e   {   i f   ( " s o u r c e I n d e x "   i n   d o c u m e n t . d o c u m e n t E l e m e n t )   {   G   =   f u n c t i o n ( U ,   T )   {   v a r   V   =   U . s o u r c e I n d e x   -   T . s o u r c e I n d e x ;   i f   ( V   = = =   0 )   {   h a s D u p l i c a t e   =   t r u e   }   r e t u r n   V   }   }   e l s e   {   i f   ( d o c u m e n t . c r e a t e R a n g e )   {   G   =   f u n c t i o n ( W ,   U )   {   v a r   V   =   W . o w n e r D o c u m e n t . c r e a t e R a n g e ( ) ,   T   =   U . o w n e r D o c u m e n t . c r e a t e R a n g e ( ) ;   V . s e l e c t N o d e ( W ) ;   V . c o l l a p s e ( t r u e ) ;   T . s e l e c t N o d e ( U ) ;   T . c o l l a p s e ( t r u e ) ;   v a r   X   =   V . 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 ,   T ) ;   i f   ( X   = = =   0 )   {   h a s D u p l i c a t e   =   t r u e   }   r e t u r n   X   }   }   }   }   ( f u n c t i o n ( )   {   v a r   U   =   d o c u m e n t . c r e a t e E l e m e n t ( " f o r m " ) ,   V   =   " s c r i p t "   +   ( n e w   D a t e ) . g e t T i m e ( ) ;   U . i n n e r H T M L   =   " < i n p u t   n a m e = ' "   +   V   +   " ' / > " ;   v a r   T   =   d o c u m e n t . d o c u m e n t E l e m e n t ;   T . i n s e r t B e f o r e ( U ,   T . f i r s t C h i l d ) ;   i f   ( ! ! d o c u m e n t . g e t E l e m e n t B y I d ( V ) )   {   I . f i n d . I D   =   f u n c t i o n ( X ,   Y ,   Z )   {   i f   ( t y p e o f   Y . g e t E l e m e n t B y I d   ! = =   " u n d e f i n e d "   & &   ! Z )   {   v a r   W   =   Y . g e t E l e m e n t B y I d ( X [ 1 ] ) ;   r e t u r n   W   ?   W . i d   = = =   X [ 1 ]   | |   t y p e o f   W . 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 "   & &   W . 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   = = =   X [ 1 ]   ?   [ W ]   :   g   :   [ ]   }   } ;   I . f i l t e r . I D   =   f u n c t i o n ( Y ,   W )   {   v a r   X   =   t y p e o f   Y . 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 "   & &   Y . g e t A t t r i b u t e N o d e ( " i d " ) ;   r e t u r n   Y . n o d e T y p e   = = =   1   & &   X   & &   X . n o d e V a l u e   = = =   W   }   }   T . r e m o v e C h i l d ( U )   } ) ( ) ;   ( f u n c t i o n ( )   {   v a r   T   =   d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ;   T . a p p e n d C h i l d ( d o c u m e n t . c r e a t e C o m m e n t ( " " ) ) ;   i f   ( T . 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 )   {   I . f i n d . T A G   =   f u n c t i o n ( U ,   Y )   {   v a r   X   =   Y . g e t E l e m e n t s B y T a g N a m e ( U [ 1 ] ) ;   i f   ( U [ 1 ]   = = =   " * " )   {   v a r   W   =   [ ] ;   f o r   ( v a r   V   =   0 ;   X [ V ] ;   V + + )   {   i f   ( X [ V ] . n o d e T y p e   = = =   1 )   {   W . p u s h ( X [ V ] )   }   }   X   =   W   }   r e t u r n   X   }   }   T . i n n e r H T M L   =   " < a   h r e f = ' # ' > < / a > " ;   i f   ( T . f i r s t C h i l d   & &   t y p e o f   T . 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 "   & &   T . 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 " )   ! = =   " # " )   {   I . a t t r H a n d l e . h r e f   =   f u n c t i o n ( U )   {   r e t u r n   U . g e t A t t r i b u t e ( " h r e f " ,   2 )   }   }   } ) ( ) ;   i f   ( d o c u m e n t . q u e r y S e l e c t o r A l l )   {   ( f u n c t i o n ( )   {   v a r   T   =   F ,   U   =   d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ;   U . i n n e r H T M L   =   " < p   c l a s s = ' T E S T ' > < / p > " ;   i f   ( U . q u e r y S e l e c t o r A l l   & &   U . 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 )   {   r e t u r n   }   F   =   f u n c t i o n ( Y ,   X ,   V ,   W )   {   X   =   X   | |   d o c u m e n t ;   i f   ( ! W   & &   X . n o d e T y p e   = = =   9   & &   ! Q ( X ) )   {   t r y   {   r e t u r n   E ( X . q u e r y S e l e c t o r A l l ( Y ) ,   V )   }   c a t c h   ( Z )   {   }   }   r e t u r n   T ( Y ,   X ,   V ,   W )   } ;   F . f i n d   =   T . f i n d ;   F . f i l t e r   =   T . f i l t e r ;   F . s e l e c t o r s   =   T . s e l e c t o r s ;   F . m a t c h e s   =   T . m a t c h e s   } ) ( )   }   i f   ( d o c u m e n t . g e t E l e m e n t s B y C l a s s N a m e   & &   d o c u m e n t . d o c u m e n t E l e m e n t . g e t E l e m e n t s B y C l a s s N a m e )   {   ( f u n c t i o n ( )   {   v a r   T   =   d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ;   T . 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   ( T . 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 )   {   r e t u r n   }   T . l a s t C h i l d . c l a s s N a m e   =   " e " ;   i f   ( T . 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 )   {   r e t u r n   }   I . o r d e r . s p l i c e ( 1 ,   0 ,   " C L A S S " ) ;   I . f i n d . C L A S S   =   f u n c t i o n ( U ,   V ,   W )   {   i f   ( t y p e o f   V . 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 "   & &   ! W )   {   r e t u r n   V . g e t E l e m e n t s B y C l a s s N a m e ( U [ 1 ] )   }   }   } ) ( )   }   f u n c t i o n   P ( U ,   Z ,   Y ,   a d ,   a a ,   a c )   {   v a r   a b   =   U   = =   " p r e v i o u s S i b l i n g "   & &   ! a c ;   f o r   ( v a r   W   =   0 ,   V   =   a d . l e n g t h ;   W   <   V ;   W + + )   {   v a r   T   =   a d [ W ] ;   i f   ( T )   {   i f   ( a b   & &   T . n o d e T y p e   = = =   1 )   {   T . s i z c a c h e   =   Y ;   T . s i z s e t   =   W   }   T   =   T [ U ] ;   v a r   X   =   f a l s e ;   w h i l e   ( T )   {   i f   ( T . s i z c a c h e   = = =   Y )   {   X   =   a d [ T . s i z s e t ] ;   b r e a k   }   i f   ( T . n o d e T y p e   = = =   1   & &   ! a c )   {   T . s i z c a c h e   =   Y ;   T . s i z s e t   =   W   }   i f   ( T . n o d e N a m e   = = =   Z )   {   X   =   T ;   b r e a k   }   T   =   T [ U ]   }   a d [ W ]   =   X   }   }   }   f u n c t i o n   S ( U ,   Z ,   Y ,   a d ,   a a ,   a c )   {   v a r   a b   =   U   = =   " p r e v i o u s S i b l i n g "   & &   ! a c ;   f o r   ( v a r   W   =   0 ,   V   =   a d . l e n g t h ;   W   <   V ;   W + + )   {   v a r   T   =   a d [ W ] ;   i f   ( T )   {   i f   ( a b   & &   T . n o d e T y p e   = = =   1 )   {   T . s i z c a c h e   =   Y ;   T . s i z s e t   =   W   }   T   =   T [ U ] ;   v a r   X   =   f a l s e ;   w h i l e   ( T )   {   i f   ( T . s i z c a c h e   = = =   Y )   {   X   =   a d [ 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   ( ! a c )   {   T . s i z c a c h e   =   Y ;   T . s i z s e t   =   W   }   i f   ( t y p e o f   Z   ! = =   " s t r i n g " )   {   i f   ( T   = = =   Z )   {   X   =   t r u e ;   b r e a k   }   }   e l s e   {   i f   ( F . f i l t e r ( Z ,   [ T ] ) . l e n g t h   >   0 )   {   X   =   T ;   b r e a k   }   }   }   T   =   T [ U ]   }   a d [ W ]   =   X   }   }   }   v a r   K   =   d o c u 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   ?   f u n c t i o n ( U ,   T )   {   r e t u r n   U . c o m p a r e D o c u m e n t P o s i t i o n ( T )   &   1 6   }   :   f u n c t i o n ( U ,   T )   {   r e t u r n   U   ! = =   T   & &   ( U . c o n t a i n s   ?   U . c o n t a i n s ( T )   :   t r u e )   } ;   v a r   Q   =   f u n c t i o n ( T )   {   r e t u r n   T . n o d e T y p e   = = =   9   & &   T . d o c u m e n t E l e m e n t . n o d e N a m e   ! = =   " H T M L "   | |   ! ! T . o w n e r D o c u m e n t   & &   Q ( T . o w n e r D o c u m e n t )   } ;   v a r   J   =   f u n c t i o n ( T ,   a a )   {   v a r   W   =   [ ] ,   X   =   " " ,   Y ,   V   =   a a . n o d e T y p e   ?   [ a a ]   :   a a ;   w h i l e   ( ( Y   =   I . m a t c h . P S E U D O . e x e c ( T ) ) )   {   X   + =   Y [ 0 ] ;   T   =   T . r e p l a c e ( I . m a t c h . P S E U D O ,   " " )   }   T   =   I . r e l a t i v e [ T ]   ?   T   +   " * "   :   T ;   f o r   ( v a r   Z   =   0 ,   U   =   V . l e n g t h ;   Z   <   U ;   Z + + )   {   F ( T ,   V [ Z ] ,   W )   }   r e t u r n   F . f i l t e r ( X ,   W )   } ;   o . f i n d   =   F ;   o . f i l t e r   =   F . f i l t e r ;   o . e x p r   =   F . s e l e c t o r s ;   o . e x p r [ " : " ]   =   o . e x p r . f i l t e r s ;   F . s e l e c t o r s . f i l t e r s . h i d d e n   =   f u n c t i o n ( T )   {   r e t u r n   T . o f f s e t W i d t h   = = =   0   | |   T . o f f s e t H e i g h t   = = =   0   } ;   F . s e l e c t o r s . f i l t e r s . v i s i b l e   =   f u n c t i o n ( T )   {   r e t u r n   T . o f f s e t W i d t h   >   0   | |   T . o f f s e t H e i g h t   >   0   } ;   F . s e l e c t o r s . f i l t e r s . a n i m a t e d   =   f u n c t i o n ( T )   {   r e t u r n   o . g r e p ( o . t i m e r s ,   f u n c t i o n ( U )   {   r e t u r n   T   = = =   U . e l e m   } ) . l e n g t h   } ;   o . m u l t i F i l t e r   =   f u n c t i o n ( V ,   T ,   U )   {   i f   ( U )   {   V   =   " : n o t ( "   +   V   +   " ) "   }   r e t u r n   F . m a t c h e s ( V ,   T )   } ;   o . d i r   =   f u n c t i o n ( V ,   U )   {   v a r   T   =   [ ] ,   W   =   V [ U ] ;   w h i l e   ( W   & &   W   ! =   d o c u m e n t )   {   i f   ( W . n o d e T y p e   = =   1 )   {   T . p u s h ( W )   }   W   =   W [ U ]   }   r e t u r n   T   } ;   o . n t h   =   f u n c t i o n ( X ,   T ,   V ,   W )   {   T   =   T   | |   1 ;   v a r   U   =   0 ;   f o r   ( ;   X ;   X   =   X [ V ] )   {   i f   ( X . n o d e T y p e   = =   1   & &   + + U   = =   T )   {   b r e a k   }   }   r e t u r n   X   } ;   o . s i b l i n g   =   f u n c t i o n ( V ,   U )   {   v a r   T   =   [ ] ;   f o r   ( ;   V ;   V   =   V . n e x t S i b l i n g )   {   i f   ( V . n o d e T y p e   = =   1   & &   V   ! =   U )   {   T . p u s h ( V )   }   }   r e t u r n   T   } ;   r e t u r n ;   l . S i z z l e   =   F   } ) ( ) ;   o . e v e n t   =   {   a d d :   f u n c t i o n ( I ,   F ,   H ,   K )   {   i f   ( I . n o d e T y p e   = =   3   | |   I . n o d e T y p e   = =   8 )   {   r e t u r n   }   i f   ( I . s e t I n t e r v a l   & &   I   ! =   l )   {   I   =   l   }   i f   ( ! H . g u i d )   {   H . g u i d   =   t h i s . g u i d + +   }   i f   ( K   ! = =   g )   {   v a r   G   =   H ;   H   =   t h i s . p r o x y ( G ) ;   H . d a t a   =   K   }   v a r   E   =   o . d a t a ( I ,   " e v e n t s " )   | |   o . d a t a ( I ,   " e v e n t s " ,   { } ) ,   J   =   o . d a t a ( I ,   " h a n d l e " )   | |   o . d a t a ( I ,   " h a n d l e " ,   f u n c t i o n ( )   {   r e t u r n   t y p e o f   o   ! = =   " u n d e f i n e d "   & &   ! o . e v e n t . t r i g g e r e d   ?   o . e v e n t . h a n d l e . a p p l y ( a r g u m e n t s . c a l l e e . e l e m ,   a r g u m e n t s )   :   g   } ) ;   J . e l e m   =   I ;   o . e a c h ( F . s p l i t ( / \ s + / ) ,   f u n c t i o n ( M ,   N )   {   v a r   O   =   N . s p l i t ( " . " ) ;   N   =   O . s h i f t ( ) ;   H . t y p e   =   O . s l i c e ( ) . s o r t ( ) . j o i n ( " . " ) ;   v a r   L   =   E [ N ] ;   i f   ( o . e v e n t . s p e c i a l A l l [ N ] )   {   o . e v e n t . s p e c i a l A l l [ N ] . s e t u p . c a l l ( I ,   K ,   O )   }   i f   ( ! L )   {   L   =   E [ N ]   =   { } ;   i f   ( ! o . e v e n t . s p e c i a l [ N ]   | |   o . e v e n t . s p e c i a l [ N ] . s e t u p . c a l l ( I ,   K ,   O )   = = =   f a l s e )   {   i f   ( I . a d d E v e n t L i s t e n e r )   {   I . a d d E v e n t L i s t e n e r ( N ,   J ,   f a l s e )   }   e l s e   {   i f   ( I . a t t a c h E v e n t )   {   I . a t t a c h E v e n t ( " o n "   +   N ,   J )   }   }   }   }   L [ H . g u i d ]   =   H ;   o . e v e n t . g l o b a l [ N ]   =   t r u e   } ) ;   I   =   n u l l   } ,   g u i d :   1 ,   g l o b a l :   { } ,   r e m o v e :   f u n c t i o n ( K ,   H ,   J )   {   i f   ( K . n o d e T y p e   = =   3   | |   K . n o d e T y p e   = =   8 )   {   r e t u r n   }   v a r   G   =   o . d a t a ( K ,   " e v e n t s " ) ,   F ,   E ;   i f   ( G )   {   i f   ( H   = = =   g   | |   ( t y p e o f   H   = = =   " s t r i n g "   & &   H . c h a r A t ( 0 )   = =   " . " ) )   {   f o r   ( v a r   I   i n   G )   {   t h i s . r e m o v e ( K ,   I   +   ( H   | |   " " ) )   }   }   e l s e   {   i f   ( H . t y p e )   {   J   =   H . h a n d l e r ;   H   =   H . t y p e   }   o . e a c h ( H . s p l i t ( / \ s + / ) ,   f u n c t i o n ( M ,   O )   {   v a r   Q   =   O . s p l i t ( " . " ) ;   O   =   Q . s h i f t ( ) ;   v a r   N   =   R e g E x p ( " ( ^ | \ \ . ) "   +   Q . s l i c e ( ) . s o r t ( ) . j o i n ( " . * \ \ . " )   +   " ( \ \ . | $ ) " ) ;   i f   ( G [ O ] )   {   i f   ( J )   {   d e l e t e   G [ O ] [ J . g u i d ]   }   e l s e   {   f o r   ( v a r   P   i n   G [ O ] )   {   i f   ( N . t e s t ( G [ O ] [ P ] . t y p e ) )   {   d e l e t e   G [ O ] [ P ]   }   }   }   i f   ( o . e v e n t . s p e c i a l A l l [ O ] )   {   o . e v e n t . s p e c i a l A l l [ O ] . t e a r d o w n . c a l l ( K ,   Q )   }   f o r   ( F   i n   G [ O ] )   {   b r e a k   }   i f   ( ! F )   {   i f   ( ! o . e v e n t . s p e c i a l [ O ]   | |   o . e v e n t . s p e c i a l [ O ] . t e a r d o w n . c a l l ( K ,   Q )   = = =   f a l s e )   {   i f   ( K . r e m o v e E v e n t L i s t e n e r )   {   K . r e m o v e E v e n t L i s t e n e r ( O ,   o . d a t a ( K ,   " h a n d l e " ) ,   f a l s e )   }   e l s e   {   i f   ( K . d e t a c h E v e n t )   {   K . d e t a c h E v e n t ( " o n "   +   O ,   o . d a t a ( K ,   " h a n d l e " ) )   }   }   }   F   =   n u l l ;   d e l e t e   G [ O ]   }   }   } )   }   f o r   ( F   i n   G )   {   b r e a k   }   i f   ( ! F )   {   v a r   L   =   o . d a t a ( K ,   " h a n d l e " ) ;   i f   ( L )   {   L . e l e m   =   n u l l   }   o . r e m o v e D a t a ( K ,   " e v e n t s " ) ;   o . r e m o v e D a t a ( K ,   " h a n d l e " )   }   }   } ,   t r i g g e r :   f u n c t i o n ( I ,   K ,   H ,   E )   {   v a r   G   =   I . t y p e   | |   I ;   i f   ( ! E )   {   I   =   t y p e o f   I   = = =   " o b j e c t "   ?   I [ h ]   ?   I   :   o . e x t e n d ( o . E v e n t ( G ) ,   I )   :   o . E v e n t ( G ) ;   i f   ( G . i n d e x O f ( " ! " )   > =   0 )   {   I . t y p e   =   G   =   G . s l i c e ( 0 ,   - 1 ) ;   I . e x c l u s i v e   =   t r u e   }   i f   ( ! H )   {   I . s t o p P r o p a g a t i o n ( ) ;   i f   ( t h i s . g l o b a l [ G ] )   {   o . e a c h ( o . c a c h e ,   f u n c t i o n ( )   {   i f   ( t h i s . e v e n t s   & &   t h i s . e v e n t s [ G ] )   {   o . e v e n t . t r i g g e r ( I ,   K ,   t h i s . h a n d l e . e l e m )   }   } )   }   }   i f   ( ! H   | |   H . n o d e T y p e   = =   3   | |   H . n o d e T y p e   = =   8 )   {   r e t u r n   g   }   I . r e s u l t   =   g ;   I . t a r g e t   =   H ;   K   =   o . m a k e A r r a y ( K ) ;   K . u n s h i f t ( I )   }   I . c u r r e n t T a r g e t   =   H ;   v a r   J   =   o . d a t a ( H ,   " h a n d l e " ) ;   i f   ( J )   {   J . a p p l y ( H ,   K )   }   i f   ( ( ! H [ G ]   | |   ( o . n o d e N a m e ( H ,   " a " )   & &   G   = =   " c l i c k " ) )   & &   H [ " o n "   +   G ]   & &   H [ " o n "   +   G ] . a p p l y ( H ,   K )   = = =   f a l s e )   {   I . r e s u l t   =   f a l s e   }   i f   ( ! E   & &   H [ G ]   & &   ! I . i s D e f a u l t P r e v e n t e d ( )   & &   ! ( o . n o d e N a m e ( H ,   " a " )   & &   G   = =   " c l i c k " ) )   {   t h i s . t r i g g e r e d   =   t r u e ;   t r y   {   H [ G ] ( )   }   c a t c h   ( L )   {   }   }   t h i s . t r i g g e r e d   =   f a l s e ;   i f   ( ! I . i s P r o p a g a t i o n S t o p p e d ( ) )   {   v a r   F   =   H . p a r e n t N o d e   | |   H . o w n e r D o c u m e n t ;   i f   ( F )   {   o . e v e n t . t r i g g e r ( I ,   K ,   F ,   t r u e )   }   }   } ,   h a n d l e :   f u n c t i o n ( K )   {   v a r   J ,   E ;   K   =   a r g u m e n t s [ 0 ]   =   o . e v e n t . f i x ( K   | |   l . e v e n t ) ;   K . c u r r e n t T a r g e t   =   t h i s ;   v a r   L   =   K . t y p e . s p l i t ( " . " ) ;   K . t y p e   =   L . s h i f t ( ) ;   J   =   ! L . l e n g t h   & &   ! K . e x c l u s i v e ;   v a r   I   =   R e g E x p ( " ( ^ | \ \ . ) "   +   L . s l i c e ( ) . s o r t ( ) . j o i n ( " . * \ \ . " )   +   " ( \ \ . | $ ) " ) ;   E   =   ( o . d a t a ( t h i s ,   " e v e n t s " )   | |   { } ) [ K . t y p e ] ;   f o r   ( v a r   G   i n   E )   {   v a r   H   =   E [ G ] ;   i f   ( J   | |   I . t e s t ( H . t y p e ) )   {   K . h a n d l e r   =   H ;   K . d a t a   =   H . d a t a ;   v a r   F   =   H . a p p l y ( t h i s ,   a r g u m e n t s ) ;   i f   ( F   ! = =   g )   {   K . r e s u l t   =   F ;   i f   ( F   = = =   f a l s e )   {   K . p r e v e n t D e f a u l t ( ) ;   K . s t o p P r o p a g a t i o n ( )   }   }   i f   ( K . 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   }   }   }   } ,   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   m e t a K e y   n e w V a l u e   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 ( H )   {   i f   ( H [ h ] )   {   r e t u r n   H   }   v a r   F   =   H ;   H   =   o . E v e n t ( F ) ;   f o r   ( v a r   G   =   t h i s . p r o p s . l e n g t h ,   J ;   G ;   )   {   J   =   t h i s . p r o p s [ - - G ] ;   H [ J ]   =   F [ J ]   }   i f   ( ! H . t a r g e t )   {   H . t a r g e t   =   H . s r c E l e m e n t   | |   d o c u m e n t   }   i f   ( H . t a r g e t . n o d e T y p e   = =   3 )   {   H . t a r g e t   =   H . t a r g e t . p a r e n t N o d e   }   i f   ( ! H . r e l a t e d T a r g e t   & &   H . f r o m E l e m e n t )   {   H . r e l a t e d T a r g e t   =   H . f r o m E l e m e n t   = =   H . t a r g e t   ?   H . t o E l e m e n t   :   H . f r o m E l e m e n t   }   i f   ( H . p a g e X   = =   n u l l   & &   H . c l i e n t X   ! =   n u l l )   {   v a r   I   =   d o c u m e n t . d o c u m e n t E l e m e n t ,   E   =   d o c u m e n t . b o d y ;   H . p a g e X   =   H . c l i e n t X   +   ( I   & &   I . s c r o l l L e f t   | |   E   & &   E . s c r o l l L e f t   | |   0 )   -   ( I . c l i e n t L e f t   | |   0 ) ;   H . p a g e Y   =   H . c l i e n t Y   +   ( I   & &   I . s c r o l l T o p   | |   E   & &   E . s c r o l l T o p   | |   0 )   -   ( I . c l i e n t T o p   | |   0 )   }   i f   ( ! H . w h i c h   & &   ( ( H . c h a r C o d e   | |   H . c h a r C o d e   = = =   0 )   ?   H . c h a r C o d e   :   H . k e y C o d e ) )   {   H . w h i c h   =   H . c h a r C o d e   | |   H . k e y C o d e   }   i f   ( ! H . m e t a K e y   & &   H . c t r l K e y )   {   H . m e t a K e y   =   H . c t r l K e y   }   i f   ( ! H . w h i c h   & &   H . b u t t o n )   {   H . w h i c h   =   ( H . b u t t o n   &   1   ?   1   :   ( H . b u t t o n   &   2   ?   3   :   ( H . b u t t o n   &   4   ?   2   :   0 ) ) )   }   r e t u r n   H   } ,   p r o x y :   f u n c t i o n ( F ,   E )   {   E   =   E   | |   f u n c t i o n ( )   {   r e t u r n   F . a p p l y ( t h i s ,   a r g u m e n t s )   } ;   E . g u i d   =   F . g u i d   =   F . g u i d   | |   E . g u i d   | |   t h i s . g u i d + + ;   r e t u r n   E   } ,   s p e c i a l :   {   r e a d y :   {   s e t u p :   B ,   t e a r d o w n :   f u n c t i o n ( )   {   }   }   } ,   s p e c i a l A l l :   {   l i v e :   {   s e t u p :   f u n c t i o n ( E ,   F )   {   o . e v e n t . a d d ( t h i s ,   F [ 0 ] ,   c )   } ,   t e a r d o w n :   f u n c t i o n ( G )   {   i f   ( G . l e n g t h )   {   v a r   E   =   0 ,   F   =   R e g E x p ( " ( ^ | \ \ . ) "   +   G [ 0 ]   +   " ( \ \ . | $ ) " ) ;   o . e a c h ( ( o . 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 ( )   {   i f   ( F . t e s t ( t h i s . t y p e ) )   {   E + +   }   } ) ;   i f   ( E   <   1 )   {   o . e v e n t . r e m o v e ( t h i s ,   G [ 0 ] ,   c )   }   }   }   } }   } ;   o . E v e n t   =   f u n c t i o n ( E )   {   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   o . E v e n t ( E )   }   i f   ( E   & &   E . t y p e )   {   t h i s . o r i g i n a l E v e n t   =   E ;   t h i s . t y p e   =   E . t y p e   }   e l s e   {   t h i s . t y p e   =   E   }   t h i s . t i m e S t a m p   =   e ( ) ;   t h i s [ h ]   =   t r u e   } ;   f u n c t i o n   k ( )   {   r e t u r n   f a l s e   }   f u n c t i o n   u ( )   {   r e t u r n   t r u e   }   o . 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   =   u ;   v a r   E   =   t h i s . o r i g i n a l E v e n t ;   i f   ( ! E )   {   r e t u r n   }   i f   ( E . p r e v e n t D e f a u l t )   {   E . p r e v e n t D e f a u l t ( )   }   E . 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   =   u ;   v a r   E   =   t h i s . o r i g i n a l E v e n t ;   i f   ( ! E )   {   r e t u r n   }   i f   ( E . s t o p P r o p a g a t i o n )   {   E . s t o p P r o p a g a t i o n ( )   }   E . 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   =   u ;   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 :   k ,   i s P r o p a g a t i o n S t o p p e d :   k ,   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 :   k   } ;   v a r   a   =   f u n c t i o n ( F )   {   v a r   E   =   F . r e l a t e d T a r g e t ;   w h i l e   ( E   & &   E   ! =   t h i s )   {   t r y   {   E   =   E . p a r e n t N o d e   }   c a t c h   ( G )   {   E   =   t h i s   }   }   i f   ( E   ! =   t h i s )   {   F . t y p e   =   F . d a t a ;   o . 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 )   }   } ;   o . e a c h ( {   m o u s e o v e r :   " m o u s e e n t e r " ,   m o u s e o u t :   " m o u s e l e a v e "   } ,   f u n c t i o n ( F ,   E )   {   o . e v e n t . s p e c i a l [ E ]   =   {   s e t u p :   f u n c t i o n ( )   {   o . e v e n t . a d d ( t h i s ,   F ,   a ,   E )   } ,   t e a r d o w n :   f u n c t i o n ( )   {   o . e v e n t . r e m o v e ( t h i s ,   F ,   a )   }   }   } ) ;   o . f n . e x t e n d ( {   b i n d :   f u n c t i o n ( F ,   G ,   E )   {   r e t u r n   F   = =   " u n l o a d "   ?   t h i s . o n e ( F ,   G ,   E )   :   t h i s . e a c h ( f u n c t i o n ( )   {   o . e v e n t . a d d ( t h i s ,   F ,   E   | |   G ,   E   & &   G )   } )   } ,   o n e :   f u n c t i o n ( G ,   H ,   F )   {   v a r   E   =   o . e v e n t . p r o x y ( F   | |   H ,   f u n c t i o n ( I )   {   o ( t h i s ) . u n b i n d ( I ,   E ) ;   r e t u r n   ( F   | |   H ) . a p p l y ( t h i s ,   a r g u m e n t s )   } ) ;   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )   {   o . e v e n t . a d d ( t h i s ,   G ,   E ,   F   & &   H )   } )   } ,   u n b i n d :   f u n c t i o n ( F ,   E )   {   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )   {   o . e v e n t . r e m o v e ( t h i s ,   F ,   E )   } )   } ,   t r i g g e r :   f u n c t i o n ( E ,   F )   {   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )   {   o . e v e n t . t r i g g e r ( E ,   F ,   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 ( E ,   G )   {   i f   ( t h i s [ 0 ] )   {   v a r   F   =   o . E v e n t ( E ) ;   F . p r e v e n t D e f a u l t ( ) ;   F . s t o p P r o p a g a t i o n ( ) ;   o . e v e n t . t r i g g e r ( F ,   G ,   t h i s [ 0 ] ) ;   r e t u r n   F . r e s u l t   }   } ,   t o g g l e :   f u n c t i o n ( G )   {   v a r   E   =   a r g u m e n t s ,   F   =   1 ;   w h i l e   ( F   <   E . l e n g t h )   {   o . e v e n t . p r o x y ( G ,   E [ F + + ] )   }   r e t u r n   t h i s . c l i c k ( o . e v e n t . p r o x y ( G ,   f u n c t i o n ( H )   {   t h i s . l a s t T o g g l e   =   ( t h i s . l a s t T o g g l e   | |   0 )   %   F ;   H . p r e v e n t D e f a u l t ( ) ;   r e t u r n   E [ t h i s . l a s t T o g g l 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 ( E ,   F )   {   r e t u r n   t h i s . m o u s e e n t e r ( E ) . m o u s e l e a v e ( F )   } ,   r e a d y :   f u n c t i o n ( E )   {   B ( ) ;   i f   ( o . i s R e a d y )   {   E . c a l l ( d o c u m e n t ,   o )   }   e l s e   {   o . r e a d y L i s t . p u s h ( E )   }   r e t u r n   t h i s   } ,   l i v e :   f u n c t i o n ( G ,   F )   {   v a r   E   =   o . e v e n t . p r o x y ( F ) ;   E . g u i d   + =   t h i s . s e l e c t o r   +   G ;   o ( d o c u m e n t ) . b i n d ( i ( G ,   t h i s . s e l e c t o r ) ,   t h i s . s e l e c t o r ,   E ) ;   r e t u r n   t h i s   } ,   d i e :   f u n c t i o n ( F ,   E )   {   o ( d o c u m e n t ) . u n b i n d ( i ( F ,   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   +   F }   :   n u l l ) ;   r e t u r n   t h i s   }   } ) ;   f u n c t i o n   c ( H )   {   v a r   E   =   R e g E x p ( " ( ^ | \ \ . ) "   +   H . t y p e   +   " ( \ \ . | $ ) " ) ,   G   =   t r u e ,   F   =   [ ] ;   o . e a c h ( o . 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 ( I ,   J )   {   i f   ( E . t e s t ( J . t y p e ) )   {   v a r   K   =   o ( H . t a r g e t ) . c l o s e s t ( J . d a t a ) [ 0 ] ;   i f   ( K )   {   F . p u s h ( {   e l e m :   K ,   f n :   J   } )   }   }   } ) ;   F . s o r t ( f u n c t i o n ( J ,   I )   {   r e t u r n   o . d a t a ( J . e l e m ,   " c l o s e s t " )   -   o . d a t a ( I . e l e m ,   " c l o s e s t " )   } ) ;   o . e a c h ( F ,   f u n c t i o n ( )   {   i f   ( t h i s . f n . c a l l ( t h i s . e l e m ,   H ,   t h i s . f n . d a t a )   = = =   f a l s e )   {   r e t u r n   ( G   =   f a l s e )   }   } ) ;   r e t u r n   G   }   f u n c t i o n   i ( F ,   E )   {   r e t u r n   [ " l i v e " ,   F ,   E . r e p l a c e ( / \ . / g ,   " ` " ) . r e p l a c e ( /   / g ,   " | " ) ] . j o i n ( " . " )   }   o . e x t e n d ( {   i s R e a d y :   f a l s e ,   r e a d y L i s t :   [ ] ,   r e a d y :   f u n c t i o n ( )   {   i f   ( ! o . i s R e a d y )   {   o . i s R e a d y   =   t r u e ;   i f   ( o . r e a d y L i s t )   {   o . e a c h ( o . r e a d y L i s t ,   f u n c t i o n ( )   {   t h i s . c a l l ( d o c u m e n t ,   o )   } ) ;   o . r e a d y L i s t   =   n u l l   }   o ( d o c u m e n t ) . t r i g g e r H a n d l e r ( " r e a d y " )   }   }   } ) ;   v a r   x   =   f a l s e ;   f u n c t i o n   B ( )   {   i f   ( x )   {   r e t u r n   }   x   =   t r u e ;   i f   ( d o c u m e n t . a d d E v e n t L i s t e n e r )   {   d o c u m e n t . a d d E v e n t L i s t e n e r ( " D O M C o n t e n t L o a d e d " ,   f u n c t i o n ( )   {   d o c u m e n t . 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 " ,   a r g u m e n t s . c a l l e e ,   f a l s e ) ;   o . r e a d y ( )   } ,   f a l s e )   }   e l s e   {   i f   ( d o c u m e n t . a t t a c h E v e n t )   {   d o c u m e n t . 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 " ,   f u n c t i o n ( )   {   i f   ( d o c u m e n t . r e a d y S t a t e   = = =   " c o m p l e t e " )   {   d o c u m e n t . 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 " ,   a r g u m e n t s . c a l l e e ) ;   o . r e a d y ( )   }   } ) ;   i f   ( d o c u m e n t . d o c u m e n t E l e m e n t . d o S c r o l l   & &   l   = =   l . t o p )   {   ( f u n c t i o n ( )   {   i f   ( o . i s R e a d y )   {   r e t u r n   }   t r y   {   d o c u m e n t . d o c u m e n t E l e m e n t . d o S c r o l l ( " l e f t " )   }   c a t c h   ( E )   {   s e t T i m e o u t ( a r g u m e n t s . c a l l e e ,   0 ) ;   r e t u r n   }   o . r e a d y ( )   } ) ( )   }   }   }   o . e v e n t . a d d ( l ,   " l o a d " ,   o . r e a d y )   }   o . e a c h ( ( " b l u r , f o c u s , 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 ( F ,   E )   {   o . f n [ E ]   =   f u n c t i o n ( G )   {   r e t u r n   G   ?   t h i s . b i n d ( E ,   G )   :   t h i s . t r i g g e r ( E )   }   } ) ;   o ( l ) . b i n d ( " u n l o a d " ,   f u n c t i o n ( )   {   f o r   ( v a r   E   i n   o . c a c h e )   {   i f   ( E   ! =   1   & &   o . c a c h e [ E ] . h a n d l e )   {   o . e v e n t . r e m o v e ( o . c a c h e [ E ] . h a n d l e . e l e m )   }   }   } ) ;   ( f u n c t i o n ( )   {   o . s u p p o r t   =   { } ;   v a r   F   =   d o c u m e n t . d o c u m e n t E l e m e n t ,   G   =   d o c u m e n t . c r e a t e E l e m e n t ( " s c r i p t " ) ,   K   =   d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ,   J   =   " s c r i p t "   +   ( n e w   D a t e ) . g e t T i m e ( ) ;   K . s t y l e . d i s p l a y   =   " n o n e " ;   K . 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 ; " > a < / a > < s e l e c t > < o p t i o n > t e x t < / o p t i o n > < / s e l e c t > < o b j e c t > < p a r a m / > < / o b j e c t > ' ;   v a r   H   =   K . g e t E l e m e n t s B y T a g N a m e ( " * " ) ,   E   =   K . g e t E l e m e n t s B y T a g N a m e ( " a " ) [ 0 ] ;   i f   ( ! H   | |   ! H . l e n g t h   | |   ! E )   {   r e t u r n   }   o . s u p p o r t   =   {   l e a d i n g W h i t e s p a c e :   K . f i r s t C h i l d . n o d e T y p e   = =   3 ,   t b o d y :   ! K . 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 ,   o b j e c t A l l :   ! ! K . g e t E l e m e n t s B y T a g N a m e ( " o b j e c t " ) [ 0 ] . 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 ,   h t m l S e r i a l i z e :   ! ! K . 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 ( E . 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 :   E . g e t A t t r i b u t e ( " h r e f " )   = = =   " / a " ,   o p a c i t y :   E . s t y l e . o p a c i t y   = = =   " 0 . 5 " ,   c s s F l o a t :   ! ! E . s t y l e . c s s F l o a t ,   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   } ;   G . t y p e   =   " t e x t / j a v a s c r i p t " ;   t r y   {   G . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( " w i n d o w . "   +   J   +   " = 1 ; " ) )   }   c a t c h   ( I )   {   }   F . i n s e r t B e f o r e ( G ,   F . f i r s t C h i l d ) ;   i f   ( l [ J ] )   {   o . 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   l [ J ]   }   F . r e m o v e C h i l d ( G ) ;   i f   ( K . a t t a c h E v e n t   & &   K . f i r e E v e n t )   {   K . 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 ( )   {   o . s u p p o r t . n o C l o n e E v e n t   =   f a l s e ;   K . d e t a c h E v e n t ( " o n c l i c k " ,   a r g u m e n t s . c a l l e e )   } ) ;   K . 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 " )   }   o ( f u n c t i o n ( )   {   v a r   L   =   d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ;   L . s t y l e . w i d t h   =   L . s t y l e . p a d d i n g L e f t   =   " 1 p x " ;   d o c u m e n t . b o d y . a p p e n d C h i l d ( L ) ;   o . b o x M o d e l   =   o . s u p p o r t . b o x M o d e l   =   L . o f f s e t W i d t h   = = =   2 ;   d o c u m e n t . b o d y . r e m o v e C h i l d ( L ) . s t y l e . d i s p l a y   =   " n o n e "   } )   } ) ( ) ;   v a r   w   =   o . 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 " ;   o . 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 " ,   " f l o a t " :   w ,   c s s F l o a t :   w ,   s t y l e F l o a t :   w ,   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 " ,   t a b i n d e x :   " t a b I n d e x "   } ;   o . f n . e x t e n d ( {   _ l o a d :   o . f n . l o a d ,   l o a d :   f u n c t i o n ( G ,   J ,   K )   {   i f   ( t y p e o f   G   ! = =   " s t r i n g " )   {   r e t u r n   t h i s . _ l o a d ( G )   }   v a r   I   =   G . i n d e x O f ( "   " ) ;   i f   ( I   > =   0 )   {   v a r   E   =   G . s l i c e ( I ,   G . l e n g t h ) ;   G   =   G . s l i c e ( 0 ,   I )   }   v a r   H   =   " G E T " ;   i f   ( J )   {   i f   ( o . i s F u n c t i o n ( J ) )   {   K   =   J ;   J   =   n u l l   }   e l s e   {   i f   ( t y p e o f   J   = = =   " o b j e c t " )   {   J   =   o . p a r a m ( J ) ;   H   =   " P O S T "   }   }   }   v a r   F   =   t h i s ;   o . a j a x ( {   u r l :   G ,   t y p e :   H ,   d a t a T y p e :   " h t m l " ,   d a t a :   J ,   c o m p l e t e :   f u n c t i o n ( M ,   L )   {   i f   ( L   = =   " s u c c e s s "   | |   L   = =   " n o t m o d i f i e d " )   {   F . h t m l ( E   ?   o ( " < d i v / > " ) . a p p e n d ( M . r e s p o n s e T e x t . r e p l a c e ( / < s c r i p t ( . | \ s ) * ? \ / s c r i p t > / g ,   " " ) ) . f i n d ( E )   :   M . r e s p o n s e T e x t )   }   i f   ( K )   {   F . e a c h ( K ,   [ M . r e s p o n s e T e x t ,   L ,   M ] )   }   }   } ) ;   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   o . 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   ?   o . 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   | |   / s e l e c t | t e x t a r e a / i . t e s t ( t h i s . n o d e N a m e )   | |   / t e x t | h i d d e n | p a s s w o r d | s e a r c h / i . t e s t ( t h i s . t y p e ) )   } ) . m a p ( f u n c t i o n ( E ,   F )   {   v a r   G   =   o ( t h i s ) . v a l ( ) ;   r e t u r n   G   = =   n u l l   ?   n u l l   :   o . i s A r r a y ( G )   ?   o . m a p ( G ,   f u n c t i o n ( I ,   H )   {   r e t u r n   {   n a m e :   F . n a m e ,   v a l u e :   I }   } )   :   {   n a m e :   F . n a m e ,   v a l u e :   G }   } ) . g e t ( )   }   } ) ;   o . 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 ( E ,   F )   {   o . f n [ F ]   =   f u n c t i o n ( G )   {   r e t u r n   t h i s . b i n d ( F ,   G )   }   } ) ;   v a r   r   =   e ( ) ;   o . e x t e n d ( {   g e t :   f u n c t i o n ( E ,   G ,   H ,   F )   {   i f   ( o . i s F u n c t i o n ( G ) )   {   H   =   G ;   G   =   n u l l   }   r e t u r n   o . a j a x ( {   t y p e :   " G E T " ,   u r l :   E ,   d a t a :   G ,   s u c c e s s :   H ,   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 ( E ,   F )   {   r e t u r n   o . g e t ( E ,   n u l l ,   F ,   " s c r i p t " )   } ,   g e t J S O N :   f u n c t i o n ( E ,   F ,   G )   {   r e t u r n   o . g e t ( E ,   F ,   G ,   " j s o n " )   } ,   p o s t :   f u n c t i o n ( E ,   G ,   H ,   F )   {   i f   ( o . i s F u n c t i o n ( G ) )   {   H   =   G ;   G   =   { }   }   r e t u r n   o . a j a x ( {   t y p e :   " P O S T " ,   u r l :   E ,   d a t a :   G ,   s u c c e s s :   H ,   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 ( E )   {   o . e x t e n d ( o . a j a x S e t t i n g s ,   E )   } ,   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 :   f u n c t i o n ( )   {   r e t u r n   l . A c t i v e X O b j e c t   ?   n e w   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 " )   :   n e w   X M L H t t p R e q u e s t ( )   } ,   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 :   { } ,   a j a x :   f u n c t i o n ( M )   {   M   =   o . e x t e n d ( t r u e ,   M ,   o . e x t e n d ( t r u e ,   { } ,   o . a j a x S e t t i n g s ,   M ) ) ;   v a r   W ,   F   =   / = \ ? ( & | $ ) / g ,   R ,   V ,   G   =   M . t y p e . t o U p p e r C a s e ( ) ;   i f   ( M . d a t a   & &   M . p r o c e s s D a t a   & &   t y p e o f   M . d a t a   ! = =   " s t r i n g " )   {   M . d a t a   =   o . p a r a m ( M . d a t a )   }   i f   ( M . d a t a T y p e   = =   " j s o n p " )   {   i f   ( G   = =   " G E T " )   {   i f   ( ! M . u r l . m a t c h ( F ) )   {   M . u r l   + =   ( M . u r l . m a t c h ( / \ ? / )   ?   " & "   :   " ? " )   +   ( M . j s o n p   | |   " c a l l b a c k " )   +   " = ? "   }   }   e l s e   {   i f   ( ! M . d a t a   | |   ! M . d a t a . m a t c h ( F ) )   {   M . d a t a   =   ( M . d a t a   ?   M . d a t a   +   " & "   :   " " )   +   ( M . j s o n p   | |   " c a l l b a c k " )   +   " = ? "   }   }   M . d a t a T y p e   =   " j s o n "   }   i f   ( M . d a t a T y p e   = =   " j s o n "   & &   ( M . d a t a   & &   M . d a t a . m a t c h ( F )   | |   M . u r l . m a t c h ( F ) ) )   {   W   =   " j s o n p "   +   r + + ;   i f   ( M . d a t a )   {   M . d a t a   =   ( M . d a t a   +   " " ) . r e p l a c e ( F ,   " = "   +   W   +   " $ 1 " )   }   M . u r l   =   M . u r l . r e p l a c e ( F ,   " = "   +   W   +   " $ 1 " ) ;   M . d a t a T y p e   =   " s c r i p t " ;   l [ W ]   =   f u n c t i o n ( X )   {   V   =   X ;   I ( ) ;   L ( ) ;   l [ W ]   =   g ;   t r y   {   d e l e t e   l [ W ]   }   c a t c h   ( Y )   {   }   i f   ( H )   {   H . r e m o v e C h i l d ( T )   }   }   }   i f   ( M . d a t a T y p e   = =   " s c r i p t "   & &   M . c a c h e   = =   n u l l )   {   M . c a c h e   =   f a l s e   }   i f   ( M . c a c h e   = = =   f a l s e   & &   G   = =   " G E T " )   {   v a r   E   =   e ( ) ;   v a r   U   =   M . u r l . r e p l a c e ( / ( \ ? | & ) _ = . * ? ( & | $ ) / ,   " $ 1 _ = "   +   E   +   " $ 2 " ) ;   M . u r l   =   U   +   ( ( U   = =   M . u r l )   ?   ( M . u r l . m a t c h ( / \ ? / )   ?   " & "   :   " ? " )   +   " _ = "   +   E   :   " " )   }   i f   ( M . d a t a   & &   G   = =   " G E T " )   {   M . u r l   + =   ( M . u r l . m a t c h ( / \ ? / )   ?   " & "   :   " ? " )   +   M . d a t a ;   M . d a t a   =   n u l l   }   i f   ( M . g l o b a l   & &   ! o . a c t i v e + + )   {   o . e v e n t . t r i g g e r ( " a j a x S t a r t " )   }   v a r   Q   =   / ^ ( \ w + : ) ? \ / \ / ( [ ^ \ / ? # ] + ) / . e x e c ( M . u r l ) ;   i f   ( M . d a t a T y p e   = =   " s c r i p t "   & &   G   = =   " G E T "   & &   Q   & &   ( Q [ 1 ]   & &   Q [ 1 ]   ! =   l o c a t i o n . p r o t o c o l   | |   Q [ 2 ]   ! =   l o c a t i o n . h o s t ) )   {   v a r   H   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ;   v a r   T   =   d o c u m e n t . c r e a t e E l e m e n t ( " s c r i p t " ) ;   T . s r c   =   M . u r l ;   i f   ( M . s c r i p t C h a r s e t )   {   T . c h a r s e t   =   M . s c r i p t C h a r s e t   }   i f   ( ! W )   {   v a r   O   =   f a l s e ;   T . o n l o a d   =   T . 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   ( ! O   & &   ( ! 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 " ) )   {   O   =   t r u e ;   I ( ) ;   L ( ) ;   T . o n l o a d   =   T . o n r e a d y s t a t e c h a n g e   =   n u l l ;   H . r e m o v e C h i l d ( T )   }   }   }   H . a p p e n d C h i l d ( T ) ;   r e t u r n   g   }   v a r   K   =   f a l s e ;   v a r   J   =   M . x h r ( ) ;   i f   ( M . u s e r n a m e )   {   J . o p e n ( G ,   M . u r l ,   M . a s y n c ,   M . u s e r n a m e ,   M . p a s s w o r d )   }   e l s e   {   J . o p e n ( G ,   M . u r l ,   M . a s y n c )   }   t r y   {   i f   ( M . d a t a )   {   J . 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 " ,   M . c o n t e n t T y p e )   }   i f   ( M . i f M o d i f i e d )   {   J . 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 " ,   o . l a s t M o d i f i e d [ M . u r l ]   | |   " T h u ,   0 1   J a n   1 9 7 0   0 0 : 0 0 : 0 0   G M T " )   }   J . 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 " ) ;   J . s e t R e q u e s t H e a d e r ( " A c c e p t " ,   M . d a t a T y p e   & &   M . a c c e p t s [ M . d a t a T y p e ]   ?   M . a c c e p t s [ M . d a t a T y p e ]   +   " ,   * / * "   :   M . a c c e p t s . _ d e f a u l t )   }   c a t c h   ( S )   {   }   i f   ( M . b e f o r e S e n d   & &   M . b e f o r e S e n d ( J ,   M )   = = =   f a l s e )   {   i f   ( M . g l o b a l   & &   !   - - o . a c t i v e )   {   o . e v e n t . t r i g g e r ( " a j a x S t o p " )   }   J . a b o r t ( ) ;   r e t u r n   f a l s e   }   i f   ( M . g l o b a l )   {   o . e v e n t . t r i g g e r ( " a j a x S e n d " ,   [ J ,   M ] )   }   v a r   N   =   f u n c t i o n ( X )   {   i f   ( J . r e a d y S t a t e   = =   0 )   {   i f   ( P )   {   c l e a r I n t e r v a l ( P ) ;   P   =   n u l l ;   i f   ( M . g l o b a l   & &   !   - - o . a c t i v e )   {   o . e v e n t . t r i g g e r ( " a j a x S t o p " )   }   }   }   e l s e   {   i f   ( ! K   & &   J   & &   ( J . r e a d y S t a t e   = =   4   | |   X   = =   " t i m e o u t " ) )   {   K   =   t r u e ;   i f   ( P )   {   c l e a r I n t e r v a l ( P ) ;   P   =   n u l l   }   R   =   X   = =   " t i m e o u t "   ?   " t i m e o u t "   :   ! o . h t t p S u c c e s s ( J )   ?   " e r r o r "   :   M . i f M o d i f i e d   & &   o . h t t p N o t M o d i f i e d ( J ,   M . u r l )   ?   " n o t m o d i f i e d "   :   " s u c c e s s " ;   i f   ( R   = =   " s u c c e s s " )   {   t r y   {   V   =   o . h t t p D a t a ( J ,   M . d a t a T y p e ,   M )   }   c a t c h   ( Z )   {   R   =   " p a r s e r e r r o r "   }   }   i f   ( R   = =   " s u c c e s s " )   {   v a r   Y ;   t r y   {   Y   =   J . 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 " )   }   c a t c h   ( Z )   {   }   i f   ( M . i f M o d i f i e d   & &   Y )   {   o . l a s t M o d i f i e d [ M . u r l ]   =   Y   }   i f   ( ! W )   {   I ( )   }   }   e l s e   {   o . h a n d l e E r r o r ( M ,   J ,   R )   }   L ( ) ;   i f   ( X )   {   J . a b o r t ( )   }   i f   ( M . a s y n c )   {   J   =   n u l l   }   }   }   } ;   i f   ( M . a s y n c )   {   v a r   P   =   s e t I n t e r v a l ( N ,   1 3 ) ;   i f   ( M . 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 ( )   {   i f   ( J   & &   ! K )   {   N ( " t i m e o u t " )   }   } ,   M . t i m e o u t )   }   }   t r y   {   J . s e n d ( M . d a t a )   }   c a t c h   ( S )   {   o . h a n d l e E r r o r ( M ,   J ,   n u l l ,   S )   }   i f   ( ! M . a s y n c )   {   N ( )   }   f u n c t i o n   I ( )   {   i f   ( M . s u c c e s s )   {   M . s u c c e s s ( V ,   R )   }   i f   ( M . g l o b a l )   {   o . e v e n t . t r i g g e r ( " a j a x S u c c e s s " ,   [ J ,   M ] )   }   }   f u n c t i o n   L ( )   {   i f   ( M . c o m p l e t e )   {   M . c o m p l e t e ( J ,   R )   }   i f   ( M . g l o b a l )   {   o . e v e n t . t r i g g e r ( " a j a x C o m p l e t e " ,   [ J ,   M ] )   }   i f   ( M . g l o b a l   & &   !   - - o . a c t i v e )   {   o . e v e n t . t r i g g e r ( " a j a x S t o p " )   }   }   r e t u r n   J   } ,   h a n d l e E r r o r :   f u n c t i o n ( F ,   H ,   E ,   G )   {   i f   ( F . e r r o r )   {   F . e r r o r ( H ,   E ,   G )   }   i f   ( F . g l o b a l )   {   o . e v e n t . t r i g g e r ( " a j a x E r r o r " ,   [ H ,   F ,   G ] )   }   } ,   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 ( F )   {   t r y   {   r e t u r n   ! F . 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 : "   | |   ( F . s t a t u s   > =   2 0 0   & &   F . s t a t u s   <   3 0 0 )   | |   F . s t a t u s   = =   3 0 4   | |   F . s t a t u s   = =   1 2 2 3   }   c a t c h   ( E )   {   }   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 ( G ,   E )   {   t r y   {   v a r   H   =   G . 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 " ) ;   r e t u r n   G . s t a t u s   = =   3 0 4   | |   H   = =   o . l a s t M o d i f i e d [ E ]   }   c a t c h   ( F )   {   }   r e t u r n   f a l s e   } ,   h t t p D a t a :   f u n c t i o n ( J ,   H ,   G )   {   v a r   F   =   J . 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   =   H   = =   " x m l "   | |   ! H   & &   F   & &   F . i n d e x O f ( " x m l " )   > =   0 ,   I   =   E   ?   J . r e s p o n s e X M L   :   J . r e s p o n s e T e x t ;   i f   ( E   & &   I . d o c u m e n t E l e m e n t . t a g N a m e   = =   " p a r s e r e r r o r " )   {   t h r o w   " p a r s e r e r r o r "   }   i f   ( G   & &   G . d a t a F i l t e r )   {   I   =   G . d a t a F i l t e r ( I ,   H )   }   i f   ( t y p e o f   I   = = =   " s t r i n g " )   {   i f   ( H   = =   " s c r i p t " )   {   o . g l o b a l E v a l ( I )   }   i f   ( H   = =   " j s o n " )   {   I   =   l [ " e v a l " ] ( " ( "   +   I   +   " ) " )   }   }   r e t u r n   I   } ,   p a r a m :   f u n c t i o n ( E )   {   v a r   G   =   [ ] ;   f u n c t i o n   H ( I ,   J )   {   G [ G . l e n g t h ]   =   e n c o d e U R I C o m p o n e n t ( I )   +   " = "   +   e n c o d e U R I C o m p o n e n t ( J )   }   i f   ( o . i s A r r a y ( E )   | |   E . j q u e r y )   {   o . e a c h ( E ,   f u n c t i o n ( )   {   H ( 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   F   i n   E )   {   i f   ( o . i s A r r a y ( E [ F ] ) )   {   o . e a c h ( E [ F ] ,   f u n c t i o n ( )   {   H ( F ,   t h i s )   } )   }   e l s e   {   H ( F ,   o . i s F u n c t i o n ( E [ F ] )   ?   E [ F ] ( )   :   E [ F ] )   }   }   }   r e t u r n   G . j o i n ( " & " ) . r e p l a c e ( / % 2 0 / g ,   " + " )   }   } ) ;   v a r   m   =   { } ,   n ,   d   =   [ [ " 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 " ] ] ;   f u n c t i o n   t ( F ,   E )   {   v a r   G   =   { } ;   o . e a c h ( d . c o n c a t . a p p l y ( [ ] ,   d . s l i c e ( 0 ,   E ) ) ,   f u n c t i o n ( )   {   G [ t h i s ]   =   F   } ) ;   r e t u r n   G   }   o . f n . e x t e n d ( {   s h o w :   f u n c t i o n ( J ,   L )   {   i f   ( J )   {   r e t u r n   t h i s . a n i m a t e ( t ( " s h o w " ,   3 ) ,   J ,   L )   }   e l s e   {   f o r   ( v a r   H   =   0 ,   F   =   t h i s . l e n g t h ;   H   <   F ;   H + + )   {   v a r   E   =   o . d a t a ( t h i s [ H ] ,   " o l d d i s p l a y " ) ;   t h i s [ H ] . s t y l e . d i s p l a y   =   E   | |   " " ;   i f   ( o . c s s ( t h i s [ H ] ,   " d i s p l a y " )   = = =   " n o n e " )   {   v a r   G   =   t h i s [ H ] . t a g N a m e ,   K ;   i f   ( m [ G ] )   {   K   =   m [ G ]   }   e l s e   {   v a r   I   =   o ( " < "   +   G   +   "   / > " ) . a p p e n d T o ( " b o d y " ) ;   K   =   I . c s s ( " d i s p l a y " ) ;   i f   ( K   = = =   " n o n e " )   {   K   =   " b l o c k "   }   I . r e m o v e ( ) ;   m [ G ]   =   K   }   o . d a t a ( t h i s [ H ] ,   " o l d d i s p l a y " ,   K )   }   }   f o r   ( v a r   H   =   0 ,   F   =   t h i s . l e n g t h ;   H   <   F ;   H + + )   {   t h i s [ H ] . s t y l e . d i s p l a y   =   o . d a t a ( t h i s [ H ] ,   " 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 ( H ,   I )   {   i f   ( H )   {   r e t u r n   t h i s . a n i m a t e ( t ( " h i d e " ,   3 ) ,   H ,   I )   }   e l s e   {   f o r   ( v a r   G   =   0 ,   F   =   t h i s . l e n g t h ;   G   <   F ;   G + + )   {   v a r   E   =   o . d a t a ( t h i s [ G ] ,   " o l d d i s p l a y " ) ;   i f   ( ! E   & &   E   ! = =   " n o n e " )   {   o . d a t a ( t h i s [ G ] ,   " o l d d i s p l a y " ,   o . c s s ( t h i s [ G ] ,   " d i s p l a y " ) )   }   }   f o r   ( v a r   G   =   0 ,   F   =   t h i s . l e n g t h ;   G   <   F ;   G + + )   {   t h i s [ G ] . 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 :   o . f n . t o g g l e ,   t o g g l e :   f u n c t i o n ( G ,   F )   {   v a r   E   =   t y p e o f   G   = = =   " b o o l e a n " ;   r e t u r n   o . i s F u n c t i o n ( G )   & &   o . i s F u n c t i o n ( F )   ?   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 )   :   G   = =   n u l l   | |   E   ?   t h i s . e a c h ( f u n c t i o n ( )   {   v a r   H   =   E   ?   G   :   o ( t h i s ) . i s ( " : h i d d e n " ) ;   o ( t h i s ) [ H   ?   " s h o w "   :   " h i d e " ] ( )   } )   :   t h i s . a n i m a t e ( t ( " t o g g l e " ,   3 ) ,   G ,   F )   } ,   f a d e T o :   f u n c t i o n ( E ,   G ,   F )   {   r e t u r n   t h i s . a n i m a t e ( {   o p a c i t y :   G   } ,   E ,   F )   } ,   a n i m a t e :   f u n c t i o n ( I ,   F ,   H ,   G )   {   v a r   E   =   o . s p e e d ( F ,   H ,   G ) ;   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   K   =   o . e x t e n d ( { } ,   E ) ,   M ,   L   =   t h i s . n o d e T y p e   = =   1   & &   o ( t h i s ) . i s ( " : h i d d e n " ) ,   J   =   t h i s ;   f o r   ( M   i n   I )   {   i f   ( I [ M ]   = =   " h i d e "   & &   L   | |   I [ M ]   = =   " s h o w "   & &   ! L )   {   r e t u r n   K . c o m p l e t e . c a l l ( t h i s )   }   i f   ( ( M   = =   " h e i g h t "   | |   M   = =   " w i d t h " )   & &   t h i s . s t y l e )   {   K . d i s p l a y   =   o . c s s ( t h i s ,   " d i s p l a y " ) ;   K . 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   ( K . 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 "   }   K . c u r A n i m   =   o . e x t e n d ( { } ,   I ) ;   o . e a c h ( I ,   f u n c t i o n ( O ,   S )   {   v a r   R   =   n e w   o . f x ( J ,   K ,   O ) ;   i f   ( / t o g g l e | s h o w | h i d e / . t e s t ( S ) )   {   R [ S   = =   " t o g g l e "   ?   L   ?   " s h o w "   :   " h i d e "   :   S ] ( I )   }   e l s e   {   v a r   Q   =   S . t o S t r i n g ( ) . m a t c h ( / ^ ( [ + - ] = ) ? ( [ \ d + - . ] + ) ( . * ) $ / ) ,   T   =   R . c u r ( t r u e )   | |   0 ;   i f   ( Q )   {   v a r   N   =   p a r s e F l o a t ( Q [ 2 ] ) ,   P   =   Q [ 3 ]   | |   " p x " ;   i f   ( P   ! =   " p x " )   {   J . s t y l e [ O ]   =   ( N   | |   1 )   +   P ;   T   =   ( ( N   | |   1 )   /   R . c u r ( t r u e ) )   *   T ;   J . s t y l e [ O ]   =   T   +   P   }   i f   ( Q [ 1 ] )   {   N   =   ( ( Q [ 1 ]   = =   " - = "   ?   - 1   :   1 )   *   N )   +   T   }   R . c u s t o m ( T ,   N ,   P )   }   e l s e   {   R . c u s t o m ( T ,   S ,   " " )   }   }   } ) ;   r e t u r n   t r u e   } )   } ,   s t o p :   f u n c t i o n ( F ,   E )   {   v a r   G   =   o . t i m e r s ;   i f   ( F )   {   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   H   =   G . l e n g t h   -   1 ;   H   > =   0 ;   H - - )   {   i f   ( G [ H ] . e l e m   = =   t h i s )   {   i f   ( E )   {   G [ H ] ( t r u e )   }   G . s p l i c e ( H ,   1 )   }   }   } ) ;   i f   ( ! E )   {   t h i s . d e q u e u e ( )   }   r e t u r n   t h i s   }   } ) ;   o . e a c h ( {   s l i d e D o w n :   t ( " s h o w " ,   1 ) ,   s l i d e U p :   t ( " h i d e " ,   1 ) ,   s l i d e T o g g l e :   t ( " 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 ( E ,   F )   {   o . f n [ E ]   =   f u n c t i o n ( G ,   H )   {   r e t u r n   t h i s . a n i m a t e ( F ,   G ,   H )   }   } ) ;   o . e x t e n d ( {   s p e e d :   f u n c t i o n ( G ,   H ,   F )   {   v a r   E   =   t y p e o f   G   = = =   " o b j e c t "   ?   G   :   {   c o m p l e t e :   F   | |   ! F   & &   H   | |   o . i s F u n c t i o n ( G )   & &   G ,   d u r a t i o n :   G ,   e a s i n g :   F   & &   H   | |   H   & &   ! o . i s F u n c t i o n ( H )   & &   H   } ;   E . d u r a t i o n   =   o . f x . o f f   ?   0   :   t y p e o f   E . d u r a t i o n   = = =   " n u m b e r "   ?   E . d u r a t i o n   :   o . f x . s p e e d s [ E . d u r a t i o n ]   | |   o . f x . s p e e d s . _ d e f a u l t ;   E . o l d   =   E . c o m p l e t e ;   E . c o m p l e t e   =   f u n c t i o n ( )   {   i f   ( E . q u e u e   ! = =   f a l s e )   {   o ( t h i s ) . d e q u e u e ( )   }   i f   ( o . i s F u n c t i o n ( E . o l d ) )   {   E . o l d . c a l l ( t h i s )   }   } ;   r e t u r n   E   } ,   e a s i n g :   {   l i n e a r :   f u n c t i o n ( G ,   H ,   E ,   F )   {   r e t u r n   E   +   F   *   G   } ,   s w i n g :   f u n c t i o n ( G ,   H ,   E ,   F )   {   r e t u r n   ( ( - M a t h . c o s ( G   *   M a t h . P I )   /   2 )   +   0 . 5 )   *   F   +   E   }   } ,   t i m e r s :   [ ] ,   f x :   f u n c t i o n ( F ,   E ,   G )   {   t h i s . o p t i o n s   =   E ;   t h i s . e l e m   =   F ;   t h i s . p r o p   =   G ;   i f   ( ! E . o r i g )   {   E . o r i g   =   { }   }   }   } ) ;   o . 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 ( )   {   i f   ( 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 )   }   ( o . f x . s t e p [ t h i s . p r o p ]   | |   o . 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 ( F )   {   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 ]   }   v a r   E   =   p a r s e F l o a t ( o . c s s ( t h i s . e l e m ,   t h i s . p r o p ,   F ) ) ;   r e t u r n   E   & &   E   >   - 1 0 0 0 0   ?   E   :   p a r s e F l o a t ( o . 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 ( I ,   H ,   G )   {   t h i s . s t a r t T i m e   =   e ( ) ;   t h i s . s t a r t   =   I ;   t h i s . e n d   =   H ;   t h i s . u n i t   =   G   | |   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 u n c t i o n   F ( J )   {   r e t u r n   E . s t e p ( J )   }   F . e l e m   =   t h i s . e l e m ;   i f   ( F ( )   & &   o . t i m e r s . p u s h ( F )   & &   ! n )   {   n   =   s e t I n t e r v a l ( f u n c t i o n ( )   {   v a r   K   =   o . t i m e r s ;   f o r   ( v a r   J   =   0 ;   J   <   K . l e n g t h ;   J + + )   {   i f   ( ! K [ J ] ( ) )   {   K . s p l i c e ( J - - ,   1 )   }   }   i f   ( ! K . l e n g t h )   {   c l e a r I n t e r v a l ( n ) ;   n   =   g   }   } ,   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 ]   =   o . a t t r ( t h i s . e l e m . s t y l e ,   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 ( ) ) ;   o ( 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 ]   =   o . a t t r ( t h i s . e l e m . s t y l e ,   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 ( H )   {   v a r   G   =   e ( ) ;   i f   ( H   | |   G   > =   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 ;   v a r   E   =   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 )   {   E   =   f a l s e   }   }   i f   ( E )   {   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 ;   t h i s . e l e m . s t y l e . d i s p l a y   =   t h i s . o p t i o n s . d i s p l a y ;   i f   ( o . 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 "   }   }   i f   ( t h i s . o p t i o n s . h i d e )   {   o ( 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   I   i n   t h i s . o p t i o n s . c u r A n i m )   {   o . a t t r ( t h i s . e l e m . s t y l e ,   I ,   t h i s . o p t i o n s . o r i g [ I ] )   }   }   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   {   v a r   J   =   G   -   t h i s . s t a r t T i m e ;   t h i s . s t a t e   =   J   /   t h i s . o p t i o n s . d u r a t i o n ;   t h i s . p o s   =   o . e a s i n g [ t h i s . o p t i o n s . e a s i n g   | |   ( o . 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 . s t a t e ,   J ,   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   }   } ;   o . e x t e n d ( o . f x ,   {   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 ( E )   {   o . a t t r ( E . e l e m . s t y l e ,   " o p a c i t y " ,   E . n o w )   } ,   _ d e f a u l t :   f u n c t i o n ( E )   {   i f   ( E . e l e m . s t y l e   & &   E . e l e m . s t y l e [ E . p r o p ]   ! =   n u l l )   {   E . e l e m . s t y l e [ E . p r o p ]   =   E . n o w   +   E . u n i t   }   e l s e   {   E . e l e m [ E . p r o p ]   =   E . n o w   }   }   }   } ) ;   i f   ( d o c u m e n t . d o c u m e n t E l e m e n t . g e t B o u n d i n g C l i e n t R e c t )   {   o . f n . o f f s e t   =   f u n c t i o n ( )   {   i f   ( ! t h i s [ 0 ] )   {   r e t u r n   {   t o p :   0 ,   l e f t :   0 }   }   i f   ( t h i s [ 0 ]   = = =   t h i s [ 0 ] . o w n e r D o c u m e n t . b o d y )   {   r e t u r n   o . o f f s e t . b o d y O f f s e t ( t h i s [ 0 ] )   }   v a r   G   =   t h i s [ 0 ] . g e t B o u n d i n g C l i e n t R e c t ( ) ,   J   =   t h i s [ 0 ] . o w n e r D o c u m e n t ,   F   =   J . b o d y ,   E   =   J . d o c u m e n t E l e m e n t ,   L   =   E . c l i e n t T o p   | |   F . c l i e n t T o p   | |   0 ,   K   =   E . c l i e n t L e f t   | |   F . c l i e n t L e f t   | |   0 ,   I   =   G . t o p   +   ( s e l f . p a g e Y O f f s e t   | |   o . b o x M o d e l   & &   E . s c r o l l T o p   | |   F . s c r o l l T o p )   -   L ,   H   =   G . l e f t   +   ( s e l f . p a g e X O f f s e t   | |   o . b o x M o d e l   & &   E . s c r o l l L e f t   | |   F . s c r o l l L e f t )   -   K ;   r e t u r n   {   t o p :   I ,   l e f t :   H }   }   }   e l s e   {   o . f n . o f f s e t   =   f u n c t i o n ( )   {   i f   ( ! t h i s [ 0 ] )   {   r e t u r n   {   t o p :   0 ,   l e f t :   0 }   }   i f   ( t h i s [ 0 ]   = = =   t h i s [ 0 ] . o w n e r D o c u m e n t . b o d y )   {   r e t u r n   o . o f f s e t . b o d y O f f s e t ( t h i s [ 0 ] )   }   o . o f f s e t . i n i t i a l i z e d   | |   o . o f f s e t . i n i t i a l i z e ( ) ;   v a r   J   =   t h i s [ 0 ] ,   G   =   J . o f f s e t P a r e n t ,   F   =   J ,   O   =   J . o w n e r D o c u m e n t ,   M ,   H   =   O . d o c u m e n t E l e m e n t ,   K   =   O . b o d y ,   L   =   O . d e f a u l t V i e w ,   E   =   L . g e t C o m p u t e d S t y l e ( J ,   n u l l ) ,   N   =   J . o f f s e t T o p ,   I   =   J . o f f s e t L e f t ;   w h i l e   ( ( J   =   J . p a r e n t N o d e )   & &   J   ! = =   K   & &   J   ! = =   H )   {   M   =   L . g e t C o m p u t e d S t y l e ( J ,   n u l l ) ;   N   - =   J . s c r o l l T o p ,   I   - =   J . s c r o l l L e f t ;   i f   ( J   = = =   G )   {   N   + =   J . o f f s e t T o p ,   I   + =   J . o f f s e t L e f t ;   i f   ( o . o f f s e t . d o e s N o t A d d B o r d e r   & &   ! ( o . 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 ( J . t a g N a m e ) ) )   {   N   + =   p a r s e I n t ( M . b o r d e r T o p W i d t h ,   1 0 )   | |   0 ,   I   + =   p a r s e I n t ( M . b o r d e r L e f t W i d t h ,   1 0 )   | |   0   }   F   =   G ,   G   =   J . o f f s e t P a r e n t   }   i f   ( o . 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   & &   M . o v e r f l o w   ! = =   " v i s i b l e " )   {   N   + =   p a r s e I n t ( M . b o r d e r T o p W i d t h ,   1 0 )   | |   0 ,   I   + =   p a r s e I n t ( M . b o r d e r L e f t W i d t h ,   1 0 )   | |   0   }   E   =   M   }   i f   ( E . p o s i t i o n   = = =   " r e l a t i v e "   | |   E . p o s i t i o n   = = =   " s t a t i c " )   {   N   + =   K . o f f s e t T o p ,   I   + =   K . o f f s e t L e f t   }   i f   ( E . p o s i t i o n   = = =   " f i x e d " )   {   N   + =   M a t h . m a x ( H . s c r o l l T o p ,   K . s c r o l l T o p ) ,   I   + =   M a t h . m a x ( H . s c r o l l L e f t ,   K . s c r o l l L e f t )   }   r e t u r n   {   t o p :   N ,   l e f t :   I }   }   }   o . o f f s e t   =   {   i n i t i a l i z e :   f u n c t i o n ( )   {   i f   ( t h i s . i n i t i a l i z e d )   {   r e t u r n   }   v a r   L   =   d o c u m e n t . b o d y ,   F   =   d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ,   H ,   G ,   N ,   I ,   M ,   E ,   J   =   L . s t y l e . m a r g i n T o p ,   K   =   ' < 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 > ' ;   M   =   {   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 "   } ;   f o r   ( E   i n   M )   {   F . s t y l e [ E ]   =   M [ E ]   }   F . i n n e r H T M L   =   K ;   L . i n s e r t B e f o r e ( F ,   L . f i r s t C h i l d ) ;   H   =   F . f i r s t C h i l d ,   G   =   H . f i r s t C h i l d ,   I   =   H . 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   =   ( G . 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   =   ( I . o f f s e t T o p   = = =   5 ) ;   H . s t y l e . o v e r f l o w   =   " h i d d e n " ,   H . 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   =   ( G . o f f s e t T o p   = = =   - 5 ) ;   L . s t y l e . m a r g i n T o p   =   " 1 p x " ;   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   =   ( L . o f f s e t T o p   = = =   0 ) ;   L . s t y l e . m a r g i n T o p   =   J ;   L . r e m o v e C h i l d ( F ) ;   t h i s . i n i t i a l i z e d   =   t r u e   } ,   b o d y O f f s e t :   f u n c t i o n ( E )   {   o . o f f s e t . i n i t i a l i z e d   | |   o . o f f s e t . i n i t i a l i z e ( ) ;   v a r   G   =   E . o f f s e t T o p ,   F   =   E . o f f s e t L e f t ;   i f   ( o . 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 )   {   G   + =   p a r s e I n t ( o . c u r C S S ( E ,   " m a r g i n T o p " ,   t r u e ) ,   1 0 )   | |   0 ,   F   + =   p a r s e I n t ( o . c u r C S S ( E ,   " m a r g i n L e f t " ,   t r u e ) ,   1 0 )   | |   0   }   r e t u r n   {   t o p :   G ,   l e f t :   F }   }   } ;   o . f n . e x t e n d ( {   p o s i t i o n :   f u n c t i o n ( )   {   v a r   I   =   0 ,   H   =   0 ,   F ;   i f   ( t h i s [ 0 ] )   {   v a r   G   =   t h i s . o f f s e t P a r e n t ( ) ,   J   =   t h i s . o f f s e t ( ) ,   E   =   / ^ b o d y | h t m l $ / i . t e s t ( G [ 0 ] . t a g N a m e )   ?   {   t o p :   0 ,   l e f t :   0 }   :   G . o f f s e t ( ) ;   J . t o p   - =   j ( t h i s ,   " m a r g i n T o p " ) ;   J . l e f t   - =   j ( t h i s ,   " m a r g i n L e f t " ) ;   E . t o p   + =   j ( G ,   " b o r d e r T o p W i d t h " ) ;   E . l e f t   + =   j ( G ,   " b o r d e r L e f t W i d t h " ) ;   F   =   {   t o p :   J . t o p   -   E . t o p ,   l e f t :   J . l e f t   -   E . l e f t }   }   r e t u r n   F   } ,   o f f s e t P a r e n t :   f u n c t i o n ( )   {   v a r   E   =   t h i s [ 0 ] . o f f s e t P a r e n t   | |   d o c u m e n t . b o d y ;   w h i l e   ( E   & &   ( ! / ^ b o d y | h t m l $ / i . t e s t ( E . t a g N a m e )   & &   o . c s s ( E ,   " p o s i t i o n " )   = =   " s t a t i c " ) )   {   E   =   E . o f f s e t P a r e n t   }   r e t u r n   o ( E )   }   } ) ;   o . e a c h ( [ " L e f t " ,   " T o p " ] ,   f u n c t i o n ( F ,   E )   {   v a r   G   =   " s c r o l l "   +   E ;   o . f n [ G ]   =   f u n c t i o n ( H )   {   i f   ( ! t h i s [ 0 ] )   {   r e t u r n   n u l l   }   r e t u r n   H   ! = =   g   ?   t h i s . e a c h ( f u n c t i o n ( )   {   t h i s   = =   l   | |   t h i s   = =   d o c u m e n t   ?   l . s c r o l l T o ( ! F   ?   H   :   o ( l ) . s c r o l l L e f t ( ) ,   F   ?   H   :   o ( l ) . s c r o l l T o p ( ) )   :   t h i s [ G ]   =   H   } )   :   t h i s [ 0 ]   = =   l   | |   t h i s [ 0 ]   = =   d o c u m e n t   ?   s e l f [ F   ?   " p a g e Y O f f s e t "   :   " p a g e X O f f s e t " ]   | |   o . b o x M o d e l   & &   d o c u m e n t . d o c u m e n t E l e m e n t [ G ]   | |   d o c u m e n t . b o d y [ G ]   :   t h i s [ 0 ] [ G ]   }   } ) ;   o . e a c h ( [ " H e i g h t " ,   " W i d t h " ] ,   f u n c t i o n ( I ,   G )   {   v a r   E   =   I   ?   " L e f t "   :   " T o p " ,   H   =   I   ?   " R i g h t "   :   " B o t t o m " ,   F   =   G . t o L o w e r C a s e ( ) ;   o . f n [ " i n n e r "   +   G ]   =   f u n c t i o n ( )   {   r e t u r n   t h i s [ 0 ]   ?   o . c s s ( t h i s [ 0 ] ,   F ,   f a l s e ,   " p a d d i n g " )   :   n u l l   } ;   o . f n [ " o u t e r "   +   G ]   =   f u n c t i o n ( K )   {   r e t u r n   t h i s [ 0 ]   ?   o . c s s ( t h i s [ 0 ] ,   F ,   f a l s e ,   K   ?   " m a r g i n "   :   " b o r d e r " )   :   n u l l   } ;   v a r   J   =   G . t o L o w e r C a s e ( ) ;   o . f n [ J ]   =   f u n c t i o n ( K )   {   r e t u r n   t h i s [ 0 ]   = =   l   ?   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 "   & &   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 "   +   G ]   | |   d o c u m e n t . b o d y [ " c l i e n t "   +   G ]   :   t h i s [ 0 ]   = =   d o c u m e n t   ?   M a t h . m a x ( 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 "   +   G ] ,   d o c u m e n t . b o d y [ " s c r o l l "   +   G ] ,   d o c u m e n t . d o c u m e n t E l e m e n t [ " s c r o l l "   +   G ] ,   d o c u m e n t . b o d y [ " o f f s e t "   +   G ] ,   d o c u m e n t . d o c u m e n t E l e m e n t [ " o f f s e t "   +   G ] )   :   K   = = =   g   ?   ( t h i s . l e n g t h   ?   o . c s s ( t h i s [ 0 ] ,   J )   :   n u l l )   :   t h i s . c s s ( J ,   t y p e o f   K   = = =   " s t r i n g "   ?   K   :   K   +   " p x " )   }   } )  
 } ) ( ) ;  
  
 / *    
 2     *   M e t a d a t a   -   j Q u e r y   p l u g i n   f o r   p a r s i n g   m e t a d a t a   f r o m   e l e m e n t s    
 3     *    
 4     *   C o p y r i g h t   ( c )   2 0 0 6   J o h n   R e s i g ,   Y e h u d a   K a t z ,   J ýÿö r n   Z a e f f e r e r ,   P a u l   M c L a n a h a n    
 5     *    
 6     *   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 :    
 7     *       h t t p : / / w w w . o p e n s o u r c e . o r g / l i c e n s e s / m i t - l i c e n s e . p h p    
 8     *       h t t p : / / w w w . g n u . o r g / l i c e n s e s / g p l . h t m l    
 9     *    
 1 0     *   R e v i s i o n :   $ I d :   j q u e r y . m e t a d a t a . j s   3 6 2 0   2 0 0 7 - 1 0 - 1 0   2 0 : 5 5 : 3 8 Z   p m c l a n a h a n   $    
 1 1     *    
 1 2     * /  
 ( f u n c t i o n ( $ )   {   $ . e x t e n d ( {   m e t a d a t a :   {   d e f a u l t s :   {   t y p e :   ' c l a s s ' ,   n a m e :   ' m e t a d a t a ' ,   c r e :   / ( { . * } ) / ,   s i n g l e :   ' m e t a d a t a '   } ,   s e t T y p e :   f u n c t i o n ( t y p e ,   n a m e )   {   t h i s . d e f a u l t s . t y p e   =   t y p e ;   t h i s . d e f a u l t s . n a m e   =   n a m e ;   } ,   g e t :   f u n c t i o n ( e l e m ,   o p t s )   {   v a r   s e t t i n g s   =   $ . e x t e n d ( { } ,   t h i s . d e f a u l t s ,   o p t s ) ;   i f   ( ! s e t t i n g s . s i n g l e . l e n g t h )   s e t t i n g s . s i n g l e   =   ' m e t a d a t a ' ;   v a r   d a t a   =   $ . d a t a ( e l e m ,   s e t t i n g s . s i n g l e ) ;   i f   ( d a t a )   r e t u r n   d a t a ;   d a t a   =   " { } " ;   i f   ( s e t t i n g s . t y p e   = =   " c l a s s " )   {   v a r   m   =   s e t t i n g s . c r e . e x e c ( e l e m . c l a s s N a m e ) ;   i f   ( m )   d a t a   =   m [ 1 ] ;   }   e l s e   i f   ( s e t t i n g s . t y p e   = =   " e l e m " )   {   i f   ( ! e l e m . 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 ;   v a r   e   =   e l e m . g e t E l e m e n t s B y T a g N a m e ( s e t t i n g s . n a m e ) ;   i f   ( e . l e n g t h )   d a t a   =   $ . t r i m ( e [ 0 ] . i n n e r H T M L ) ;   }   e l s e   i f   ( e l e m . g e t A t t r i b u t e   ! =   u n d e f i n e d )   {   v a r   a t t r   =   e l e m . g e t A t t r i b u t e ( s e t t i n g s . n a m e ) ;   i f   ( a t t r )   d a t a   =   a t t r ;   }   i f   ( d a t a . i n d e x O f ( ' { ' )   <   0 )   d a t a   =   " { "   +   d a t a   +   " } " ;   d a t a   =   e v a l ( " ( "   +   d a t a   +   " ) " ) ;   $ . d a t a ( e l e m ,   s e t t i n g s . s i n g l e ,   d a t a ) ;   r e t u r n   d a t a ;   }   }   } ) ;   $ . f n . m e t a d a t a   =   f u n c t i o n ( o p t s )   {   r e t u r n   $ . m e t a d a t a . g e t ( t h i s [ 0 ] ,   o p t s ) ;   } ;   } ) ( j Q u e r y ) ;    
 
