2021-09-14 09:31:33 +02:00
( ( ) => { var ta = Object . create ; var St = Object . defineProperty ; var ra = Object . getOwnPropertyDescriptor ; var oa = Object . getOwnPropertyNames , wt = Object . getOwnPropertySymbols , na = Object . getPrototypeOf , ir = Object . prototype . hasOwnProperty , Qr = Object . prototype . propertyIsEnumerable ; var Kr = ( e , t , r ) => t in e ? St ( e , t , { enumerable : ! 0 , configurable : ! 0 , writable : ! 0 , value : r } ) : e [ t ] = r , P = ( e , t ) => { for ( var r in t || ( t = { } ) ) ir . call ( t , r ) && Kr ( e , r , t [ r ] ) ; if ( wt ) for ( var r of wt ( t ) ) Qr . call ( t , r ) && Kr ( e , r , t [ r ] ) ; return e } ; var ia = e => St ( e , "__esModule" , { value : ! 0 } ) ; var cs = typeof require != "undefined" ? require : e => { throw new Error ( 'Dynamic require of "' + e + '" is not supported' ) } ; var Br = ( e , t ) => { var r = { } ; for ( var o in e ) ir . call ( e , o ) && t . indexOf ( o ) < 0 && ( r [ o ] = e [ o ] ) ; if ( e != null && wt ) for ( var o of wt ( e ) ) t . indexOf ( o ) < 0 && Qr . call ( e , o ) && ( r [ o ] = e [ o ] ) ; return r } ; var Et = ( e , t ) => ( ) => ( t || e ( ( t = { exports : { } } ) . exports , t ) , t . exports ) ; var aa = ( e , t , r ) => { if ( t && typeof t == "object" || typeof t == "function" ) for ( let o of oa ( t ) ) ! ir . call ( e , o ) && o !== "default" && St ( e , o , { get : ( ) => t [ o ] , enumerable : ! ( r = ra ( t , o ) ) || r . enumerable } ) ; return e } , Ke = e => aa ( ia ( St ( e != null ? ta ( na ( e ) ) : { } , "default" , e && e . _ _esModule && "default" in e ? { get : ( ) => e . default , enumerable : ! 0 } : { value : e , enumerable : ! 0 } ) ) , e ) ; var Yr = Et ( ( ar , Jr ) => { ( function ( e , t ) { typeof ar == "object" && typeof Jr != "undefined" ? t ( ) : typeof define == "function" && define . amd ? define ( t ) : t ( ) } ) ( ar , function ( ) { "use strict" ; function e ( r ) { var o = ! 0 , n = ! 1 , i = null , a = { text : ! 0 , search : ! 0 , url : ! 0 , tel : ! 0 , email : ! 0 , password : ! 0 , number : ! 0 , date : ! 0 , month : ! 0 , week : ! 0 , time : ! 0 , datetime : ! 0 , "datetime-local" : ! 0 } ; function s ( w ) { return ! ! ( w && w !== document && w . nodeName !== "HTML" && w . nodeName !== "BODY" && "classList" in w && "contains" in w . classList ) } function c ( w ) { var We = w . type , Te = w . tagName ; return ! ! ( Te === "INPUT" && a [ We ] && ! w . readOnly || Te === "TEXTAREA" && ! w . readOnly || w . isContentEditable ) } function l ( w ) { w . classList . contains ( "focus-visible" ) || ( w . classList . add ( "focus-visible" ) , w . setAttribute ( "data-focus-visible-added" , "" ) ) } function p ( w ) { ! w . hasAttribute ( "data-focus-visible-added" ) || ( w . classList . remove ( "focus-visible" ) , w . removeAttribute ( "data-focus-visible-added" ) ) } function m ( w ) { w . metaKey || w . altKey || w . ctrlKey || ( s ( r . activeElement ) && l ( r . activeElement ) , o = ! 0 ) } function u ( w ) { o = ! 1 } function b ( w ) { ! s ( w . target ) || ( o || c ( w . target ) ) && l ( w . target ) } function v ( w ) { ! s ( w . target ) || ( w . target . classList . contains ( "focus-visible" ) || w . target . hasAttribute ( "data-focus-visible-added" ) ) && ( n = ! 0 , window . clearTimeout ( i ) , i = window . setTimeout ( function ( ) { n = ! 1 } , 100 ) , p ( w . target ) ) } function d ( w ) { document . visibilityState === "hidden" && ( n && ( o = ! 0 ) , $ ( ) ) } function $ ( ) { document . addEventListener ( "mousemove" , j ) , document . addEventListener ( "mousedown" , j ) , document . addEventListener ( "mouseup" , j ) , document . addEventListener ( "pointermove" , j ) , document . addEventListener ( "pointerdown" , j ) , document . addEventListener ( "pointerup" , j ) , document . addEventListener ( "touchmove" , j ) , document . addEventListener ( "touchstart" , j ) , document . addEventListener ( "touchend" , j ) } function z ( ) { document . removeEventListener ( "mousemove" , j ) , document . removeEventListener ( "mousedown" , j ) , document . removeEventListener ( "mouseup" , j ) , document . removeEventListener ( "pointermove" , j ) , document . removeEventListener ( "pointerdown" , j ) , document . removeEventListener ( "pointerup" , j ) , document . removeEventListener ( "touchmove" , j ) , document . removeEventListener ( "touchstart" , j ) , document . removeEventListener ( "touchend" , j ) } function j ( w ) { w . target . nodeName && w . target . nodeName . toLowerCase ( ) === "html" || ( o = ! 1 , z ( ) ) } document . addEventListener ( "keydown" , m , ! 0 ) , document . addEventListener ( "mousedown" , u , ! 0 ) , document . addEventListener ( "pointerdown" , u , ! 0 ) , document . addEventListener ( "touchstart" , u , ! 0 ) , document . addEventListener ( "visibilitychange" , d , ! 0 ) , $ ( ) , r . addEventListener ( "focus" , b , ! 0 ) , r . addEventListener ( "blur" , v , ! 0 ) , r . nodeType === Node . DOCUMENT _FRAGMENT _NODE && r . host ? r . host . setAttribute ( "data-js-focus-visible" , "" ) : r . nodeType === Node . DOCUMENT _NODE && ( document . documentElement . classList . add ( "js-focus-visible" ) , document . documentElement . setAttribute ( "data-js-focus-visible" , "" ) ) } if ( typeof window != "undefined" && typeof document != "undefined" ) { window . applyFocusVisiblePolyfill = e ; var t ; try { t = new CustomEvent ( "focus-visible-polyfill-ready" ) } catch ( r ) { t
2021-08-25 08:28:17 +02:00
Copyright ( c ) Microsoft Corporation .
Permission to use , copy , modify , and / or distribute this software for any
purpose with or without fee is hereby granted .
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS . IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL , DIRECT ,
INDIRECT , OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE , DATA OR PROFITS , WHETHER IN AN ACTION OF CONTRACT , NEGLIGENCE OR
OTHER TORTIOUS ACTION , ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE .
2021-08-29 11:33:54 +02:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / v a r G r , X r , Z r , e o , t o , r o , o o , n o , i o , T t , s r , a o , s o , c o , B e , l o , p o , u o , f o , m o , h o , b o , v o , O t ; ( f u n c t i o n ( e ) { v a r t = t y p e o f g l o b a l = = " o b j e c t " ? g l o b a l : t y p e o f s e l f = = " o b j e c t " ? s e l f : t y p e o f t h i s = = " o b j e c t " ? t h i s : { } ; t y p e o f d e f i n e = = " f u n c t i o n " & & d e f i n e . a m d ? d e f i n e ( " t s l i b " , [ " e x p o r t s " ] , f u n c t i o n ( o ) { e ( r ( t , r ( o ) ) ) } ) : t y p e o f _ t = = " o b j e c t " & & t y p e o f _ t . e x p o r t s = = " o b j e c t " ? e ( r ( t , r ( _ t . e x p o r t s ) ) ) : e ( r ( t ) ) ; f u n c t i o n r ( o , n ) { r e t u r n o ! = = t & & ( t y p e o f O b j e c t . c r e a t e = = " f u n c t i o n " ? O b j e c t . d e f i n e P r o p e r t y ( o , " _ _ e s M o d u l e " , { v a l u e : ! 0 } ) : o . _ _ e s M o d u l e = ! 0 ) , f u n c t i o n ( i , a ) { r e t u r n o [ i ] = n ? n ( i , a ) : a } } } ) ( f u n c t i o n ( e ) { v a r t = O b j e c t . s e t P r o t o t y p e O f | | { _ _ p r o t o _ _ : [ ] } i n s t a n c e o f A r r a y & & f u n c t i o n ( o , n ) { o . _ _ p r o t o _ _ = n } | | f u n c t i o n ( o , n ) { f o r ( v a r i i n n ) O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( n , i ) & & ( o [ i ] = n [ i ] ) } ; G r = f u n c t i o n ( o , n ) { i f ( t y p e o f n ! = " f u n c t i o n " & & n ! = = n u l l ) t h r o w n e w T y p e E r r o r ( " C l a s s e x t e n d s v a l u e " + S t r i n g ( n ) + " i s n o t a c o n s t r u c t o r o r n u l l " ) ; t ( o , n ) ; f u n c t i o n i ( ) { t h i s . c o n s t r u c t o r = o } o . p r o t o t y p e = n = = = n u l l ? O b j e c t . c r e a t e ( n ) : ( i . p r o t o t y p e = n . p r o t o t y p e , n e w i ) } , X r = O b j e c t . a s s i g n | | f u n c t i o n ( o ) { f o r ( v a r n , i = 1 , a = a r g u m e n t s . l e n g t h ; i < a ; i + + ) { n = a r g u m e n t s [ i ] ; f o r ( v a r s i n n ) O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( n , s ) & & ( o [ s ] = n [ s ] ) } r e t u r n o } , Z r = f u n c t i o n ( o , n ) { v a r i = { } ; f o r ( v a r a i n o ) O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( o , a ) & & n . i n d e x O f ( a ) < 0 & & ( i [ a ] = o [ a ] ) ; i f ( o ! = n u l l & & t y p e o f O b j e c t . g e t O w n P r o p e r t y S y m b o l s = = " f u n c t i o n " ) f o r ( v a r s = 0 , a = O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( o ) ; s < a . l e n g t h ; s + + ) n . i n d e x O f ( a [ s ] ) < 0 & & O b j e c t . p r o t o t y p e . p r o p e r t y I s E n u m e r a b l e . c a l l ( o , a [ s ] ) & & ( i [ a [ s ] ] = o [ a [ s ] ] ) ; r e t u r n i } , e o = f u n c t i o n ( o , n , i , a ) { v a r s = a r g u m e n t s . l e n g t h , c = s < 3 ? n : a = = = n u l l ? a = O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( n , i ) : a , l ; i f ( t y p e o f R e f l e c t = = " o b j e c t " & & t y p e o f R e f l e c t . d e c o r a t e = = " f u n c t i o n " ) c = R e f l e c t . d e c o r a t e ( o , n , i , a ) ; e l s e f o r ( v a r p = o . l e n g t h - 1 ; p > = 0 ; p - - ) ( l = o [ p ] ) & & ( c = ( s < 3 ? l ( c ) : s > 3 ? l ( n , i , c ) : l ( n , i ) ) | | c ) ; r e t u r n s > 3 & & c & & O b j e c t . d e f i n e P r o p e r t y ( n , i , c ) , c } , t o = f u n c t i o n ( o , n ) { r e t u r n f u n c t i o n ( i , a ) { n ( i , a , o ) } } , r o = f u n c t i o n ( o , n ) { i f ( t y p e o f R e f l e c t = = " o b j e c t " & & t y p e o f R e f l e c t . m e t a d a t a = = " f u n c t i o n " ) r e t u r n R e f l e c t . m e t a d a t a ( o , n ) } , o o = f u n c t i o n ( o , n , i , a ) { f u n c t i o n s ( c ) { r e t u r n c i n s t a n c e o f i ? c : n e w i ( f u n c t i o n ( l ) { l ( c ) } ) } r e t u r n n e w ( i | | ( i = P r o m i s e ) ) ( f u n c t i o n ( c , l ) { f u n c t i o n p ( b ) { t r y { u ( a . n e x t ( b ) ) } c a t c h ( v ) { l ( v ) } } f u n c t i o n m ( b ) { t r y { u ( a . t h r o w ( b ) ) } c a t c h ( v ) { l ( v ) } } f u n c t i o n u ( b ) { b . d o n e ? c ( b . v a l u e ) : s ( b . v a l u e ) . t h e n ( p , m ) } u ( ( a = a . a p p l y ( o , n | | [ ] ) ) . n e x t ( ) ) } ) } , n o = f u n c t i o n ( o , n ) { v a r i = { l a b e l : 0 , s e n t : f u n c t i o n ( ) { i f ( c [ 0 ] & 1 ) t h r o w c [ 1 ] ; r e t u r n c [ 1 ] } , t r y s : [ ] , o p s : [ ] } , a , s , c , l ; r e t u r n l = { n e x t : p ( 0 ) , t h r o w : p ( 1 ) , r e t u r n : p ( 2 ) } , t y p e o f S y m b o l = = " f u n c t i o n " & & ( l [ S y m b o l . i t e r a t o r ] = f u n c t i o n ( ) { r e t u r n t h i s } ) , l ; f u n c t i o n p ( u ) { r e t u r n f u n c t i o n ( b ) { r e t u r n m ( [ u , b ] ) } } f u n c t i o n m ( u ) { i f ( a ) t h r o w n e w T y p e E r r o r ( " G e n e r a t o r i s a l r e a d y e x e c u t i n g . " ) ; f o r ( ; i ; ) t r y { i f ( a = 1 , s & & ( c = u [ 0 ] & 2 ? s . r e t u r n : u [ 0 ] ? s . t h r o w | | ( ( c = s . r e t u r n ) & & c . c a l l ( s ) , 0 ) : s . n e x t ) & & ! ( c = c . c a l l ( s , u [ 1 ] ) ) . d o n e ) r e t u r n c ; s w i t c h ( s = 0 , c & & ( u = [ u [ 0 ] & 2 , c . v a l u e ] ) , u [ 0 ] ) { c a s e 0 : c a s e 1 : c = u ; b r e a k ; c a s e 4 : r e t u r n i . l a b e l + + , { v a l u e : u [ 1 ] , d o n e : ! 1 } ; c a s e 5 : i . l a b e l + + , s = u [ 1 ] , u = [ 0 ] ; c o n t i n u e ; c a s e 7 : u = i . o p s . p o p ( ) , i . t r y s . p o p ( ) ; c o n t i n u e ; d e f a u l t : i f ( c = i . t r y s , ! ( c = c . l e n g t h > 0 & & c [ c . l e n g t h - 1 ] ) & & ( u [ 0 ] = = = 6 | | u [ 0 ] = = = 2 ) ) { i = 0 ; c o n t i n u e } i f ( u [ 0 ] = = = 3 & & ( ! c | | u [ 1 ] > c [ 0 ] & & u [ 1 ] < c [ 3 ] ) ) { i . l a b e l = u [ 1 ] ; b r e a k } i f ( u [ 0 ] = = = 6 & & i . l a b e l < c [ 1 ] ) { i . l a b e l = c [ 1 ] , c = u ; b r e a k } i f ( c & & i . l a b e l < c [ 2 ] ) { i . l a b e l = c [ 2 ] , i . o p s . p u s h ( u ) ; b r e a k } c [ 2 ] & & i . o p s . p o p ( ) , i . t r y s . p o p ( ) ; c o n t i n u e } u = n . c a l l ( o , i ) } c a t c h ( b ) { u = [ 6 , b ] , s = 0 } f i n a l l y { a = c = 0 } i f ( u [ 0 ] & 5 ) t h r o w u [ 1 ] ; r e t u r n { v a l u e : u [ 0 ] ? u [ 1 ] : v o i d 0 , d o n e : ! 0 } } } , i o = f u n c t i o n ( o , n ) { f o r ( v a r i i n o ) i ! = = " d e f a u l t " & & ! O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( n , i ) & & O t ( n , o , i ) } , O t = O b j e c t . c r e a t e ? f u n c t i o n ( o , n , i , a ) { a = = = v o i d 0 & & ( a = i ) , O b j e c t . d e f i n e P r o p e r t y ( o , a , { e n u m e r a b l e : ! 0 , g e t : f u n c t i o n ( ) { r e t u r n n [ i ] } } ) } : f u n c t i o n ( o , n , i , a ) { a = = = v o i d 0 & & ( a = i ) , o [ a ] = n [ i ] } , T t = f u n c t i o n ( o ) { v a r n = t y p e o f S y m b o l = = " f u n c t i o n " & & S y m b o l . i t e r a t o r , i = n & & o [ n ] , a = 0 ; i f ( i ) r e t u r n i . c a l l ( o ) ; i f ( o & & t y p e o f o . l e n g t h = = " n u m b e r " ) r e t u r n { n e x t : f u n c t i o n ( ) { r e t u r n o & & a > = o . l e n g t h & & ( o = v o i d 0 ) , { v a l u e : o & & o [ a + + ] , d o n e : ! o } } } ; t h r o w n e w T y p e E r r o r ( n ? " O b j e c t i s n o t i t e r a b l e . " : " S y m b o l . i t e r a t o r i s n o t d e f i n e d . " ) } , s r = f u n c t i o n ( o , n ) { v a r i = t y p e o f S y m b o l = = " f u n c t i o n " & & o [ S y m b o l . i t e r a t o r ] ; i f ( ! i ) r e t u r n o ; v a r a = i . c a l l ( o ) , s , c = [ ] , l ; t r y { f o r ( ; ( n =
2021-08-25 08:28:17 +02:00
* clipboard . js v2 . 0.8
* https : //clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
2021-09-14 09:31:33 +02:00
* / ( f u n c t i o n ( t , r ) { t y p e o f g t = = " o b j e c t " & & t y p e o f j r = = " o b j e c t " ? j r . e x p o r t s = r ( ) : t y p e o f d e f i n e = = " f u n c t i o n " & & d e f i n e . a m d ? d e f i n e ( [ ] , r ) : t y p e o f g t = = " o b j e c t " ? g t . C l i p b o a r d J S = r ( ) : t . C l i p b o a r d J S = r ( ) } ) ( g t , f u n c t i o n ( ) { r e t u r n f u n c t i o n ( ) { v a r e = { 1 3 4 : f u n c t i o n ( o , n , i ) { " u s e s t r i c t " ; i . d ( n , { d e f a u l t : f u n c t i o n ( ) { r e t u r n Z i } } ) ; v a r a = i ( 2 7 9 ) , s = i . n ( a ) , c = i ( 3 7 0 ) , l = i . n ( c ) , p = i ( 8 1 7 ) , m = i . n ( p ) ; f u n c t i o n u ( _ ) { r e t u r n t y p e o f S y m b o l = = " f u n c t i o n " & & t y p e o f S y m b o l . i t e r a t o r = = " s y m b o l " ? u = f u n c t i o n ( h ) { r e t u r n t y p e o f h } : u = f u n c t i o n ( h ) { r e t u r n h & & t y p e o f S y m b o l = = " f u n c t i o n " & & h . c o n s t r u c t o r = = = S y m b o l & & h ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f h } , u ( _ ) } f u n c t i o n b ( _ , x ) { i f ( ! ( _ i n s t a n c e o f x ) ) t h r o w n e w T y p e E r r o r ( " C a n n o t c a l l a c l a s s a s a f u n c t i o n " ) } f u n c t i o n v ( _ , x ) { f o r ( v a r h = 0 ; h < x . l e n g t h ; h + + ) { v a r k = x [ h ] ; k . e n u m e r a b l e = k . e n u m e r a b l e | | ! 1 , k . c o n f i g u r a b l e = ! 0 , " v a l u e " i n k & & ( k . w r i t a b l e = ! 0 ) , O b j e c t . d e f i n e P r o p e r t y ( _ , k . k e y , k ) } } f u n c t i o n d ( _ , x , h ) { r e t u r n x & & v ( _ . p r o t o t y p e , x ) , h & & v ( _ , h ) , _ } v a r $ = f u n c t i o n ( ) { f u n c t i o n _ ( x ) { b ( t h i s , _ ) , t h i s . r e s o l v e O p t i o n s ( x ) , t h i s . i n i t S e l e c t i o n ( ) } r e t u r n d ( _ , [ { k e y : " r e s o l v e O p t i o n s " , v a l u e : f u n c t i o n ( ) { v a r h = a r g u m e n t s . l e n g t h > 0 & & a r g u m e n t s [ 0 ] ! = = v o i d 0 ? a r g u m e n t s [ 0 ] : { } ; t h i s . a c t i o n = h . a c t i o n , t h i s . c o n t a i n e r = h . c o n t a i n e r , t h i s . e m i t t e r = h . e m i t t e r , t h i s . t a r g e t = h . t a r g e t , t h i s . t e x t = h . t e x t , t h i s . t r i g g e r = h . t r i g g e r , t h i s . s e l e c t e d T e x t = " " } } , { k e y : " i n i t S e l e c t i o n " , v a l u e : f u n c t i o n ( ) { t h i s . t e x t ? t h i s . s e l e c t F a k e ( ) : t h i s . t a r g e t & & t h i s . s e l e c t T a r g e t ( ) } } , { k e y : " c r e a t e F a k e E l e m e n t " , v a l u e : f u n c t i o n ( ) { v a r h = 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 A t t r i b u t e ( " d i r " ) = = = " r t l " ; t h i s . f a k e E l e m = d o c u m e n t . c r e a t e E l e m e n t ( " t e x t a r e a " ) , t h i s . f a k e E l e m . s t y l e . f o n t S i z e = " 1 2 p t " , t h i s . f a k e E l e m . s t y l e . b o r d e r = " 0 " , t h i s . f a k e E l e m . s t y l e . p a d d i n g = " 0 " , t h i s . f a k e E l e m . s t y l e . m a r g i n = " 0 " , t h i s . f a k e E l e m . s t y l e . p o s i t i o n = " a b s o l u t e " , t h i s . f a k e E l e m . s t y l e [ h ? " r i g h t " : " l e f t " ] = " - 9 9 9 9 p x " ; v a r k = w i n d o w . p a g e Y O f f s e t | | 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 T o p ; r e t u r n t h i s . f a k e E l e m . s t y l e . t o p = " " . c o n c a t ( k , " p x " ) , t h i s . f a k e E l e m . s e t A t t r i b u t e ( " r e a d o n l y " , " " ) , t h i s . f a k e E l e m . v a l u e = t h i s . t e x t , t h i s . f a k e E l e m } } , { k e y : " s e l e c t F a k e " , v a l u e : f u n c t i o n ( ) { v a r h = t h i s , k = t h i s . c r e a t e F a k e E l e m e n t ( ) ; t h i s . f a k e H a n d l e r C a l l b a c k = f u n c t i o n ( ) { r e t u r n h . r e m o v e F a k e ( ) } , t h i s . f a k e H a n d l e r = t h i s . c o n t a i n e r . a d d E v e n t L i s t e n e r ( " c l i c k " , t h i s . f a k e H a n d l e r C a l l b a c k ) | | ! 0 , t h i s . c o n t a i n e r . a p p e n d C h i l d ( k ) , t h i s . s e l e c t e d T e x t = m ( ) ( k ) , t h i s . c o p y T e x t ( ) , t h i s . r e m o v e F a k e ( ) } } , { k e y : " r e m o v e F a k e " , v a l u e : f u n c t i o n ( ) { t h i s . f a k e H a n d l e r & & ( t h i s . c o n t a i n e r . r e m o v e E v e n t L i s t e n e r ( " c l i c k " , t h i s . f a k e H a n d l e r C a l l b a c k ) , t h i s . f a k e H a n d l e r = n u l l , t h i s . f a k e H a n d l e r C a l l b a c k = n u l l ) , t h i s . f a k e E l e m & & ( t h i s . c o n t a i n e r . r e m o v e C h i l d ( t h i s . f a k e E l e m ) , t h i s . f a k e E l e m = n u l l ) } } , { k e y : " s e l e c t T a r g e t " , v a l u e : f u n c t i o n ( ) { t h i s . s e l e c t e d T e x t = m ( ) ( t h i s . t a r g e t ) , t h i s . c o p y T e x t ( ) } } , { k e y : " c o p y T e x t " , v a l u e : f u n c t i o n ( ) { v a r h ; t r y { h = d o c u m e n t . e x e c C o m m a n d ( t h i s . a c t i o n ) } c a t c h ( k ) { h = ! 1 } t h i s . h a n d l e R e s u l t ( h ) } } , { k e y : " h a n d l e R e s u l t " , v a l u e : f u n c t i o n ( h ) { t h i s . e m i t t e r . e m i t ( h ? " s u c c e s s " : " e r r o r " , { a c t i o n : t h i s . a c t i o n , t e x t : t h i s . s e l e c t e d T e x t , t r i g g e r : t h i s . t r i g g e r , c l e a r S e l e c t i o n : t h i s . c l e a r S e l e c t i o n . b i n d ( t h i s ) } ) } } , { k e y : " c l e a r S e l e c t i o n " , v a l u e : f u n c t i o n ( ) { t h i s . t r i g g e r & & t h i s . t r i g g e r . f o c u s ( ) , d o c u m e n t . a c t i v e E l e m e n t . b l u r ( ) , w i n d o w . g e t S e l e c t i o n ( ) . r e m o v e A l l R a n g e s ( ) } } , { k e y : " d e s t r o y " , v a l u e : f u n c t i o n ( ) { t h i s . r e m o v e F a k e ( ) } } , { k e y : " a c t i o n " , s e t : f u n c t i o n ( ) { v a r h = a r g u m e n t s . l e n g t h > 0 & & a r g u m e n t s [ 0 ] ! = = v o i d 0 ? a r g u m e n t s [ 0 ] : " c o p y " ; i f ( t h i s . _ a c t i o n = h , t h i s . _ a c t i o n ! = = " c o p y " & & t h i s . _ a c t i o n ! = = " c u t " ) t h r o w n e w E r r o r ( ' I n v a l i d " a c t i o n " v a l u e , u s e e i t h e r " c o p y " o r " c u t " ' ) } , g e t : f u n c t i o n ( ) { r e t u r n t h i s . _ a c t i o n } } , { k e y : " t a r g e t " , s e t : f u n c t i o n ( h ) { i f ( h ! = = v o i d 0 ) i f ( h & & u ( h ) = = = " o b j e c t " & & h . n o d e T y p e = = = 1 ) { i f ( t h i s . a c t i o n = = = " c o p y " & & h . h a s A t t r i b u t e ( " d i s a b l e d " ) ) t h r o w n e w E r r o r ( ' I n v a l i d " t a r g e t " a t t r i b u t e . P l e a s e u s e " r e a d o n l y " i n s t e a d o f " d i s a b l e d " a t t r i b u t e ' ) ; i f ( t h i s . a c t i o n = = = " c u t " & & ( h . h a s A t t r i b u t e ( " r e a d o n l y " ) | | h . h a s A t t r i b u t e ( " d i s a b l e d " ) ) ) t h r o w n e w E r r o r ( ` I n v a l i d " t a r g e t " a t t r i b u t e . Y o u c a n ' t c u t t e x t f r o m e l e m e n t s w i t h " r e a d o n l y " o r " d i s a b l e d " a t t r i b u t e s ` ) ; t h i s . _ t a r g e t = h } e l s e t h r o w n e w E r r o r ( ' I n v a l i d " t a r g e t " v a l u e , u s e a v a l i d E l e m e n t ' ) } , g e t : f u n c t i o n ( ) { r e t u r n t h i s . _ t a r g e t } } ] ) , _ } ( ) , z = $ ; f u n c t i o n j ( _ ) { r e t u r n t y p e o f S y m b o l = = " f u n c t i o n " & & t y p e o f S y m b o l . i t e r a t o r = = " s y m b o l " ? j = f u n c t i o n ( h ) { r e t u r n t y p e o f h } : j = f u n c t i o n ( h ) { r e t u r n h & & t y p e o f S y m b o l = = " f u n c t i o n " & & h . c o n s t r u c t
2021-08-25 08:28:17 +02:00
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2021-09-14 09:31:33 +02:00
* /"use strict";var Ka=/ [ "'&<>]/;yi.exports=Ba;function Ba(e){var t=" "+e,r=Ka.exec(t);if(!r)return t;var o,n=" ",i=0,a=0;for(i=r.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:o=" & quot ; ";break;case 38:o=" & amp ; ";break;case 39:o=" & # 39 ; ";break;case 60:o=" & lt ; ";break;case 62:o=" & gt ; ";break;default:continue}a!==i&&(n+=t.substring(a,i)),a=i+1,n+=o}return a!==i?n+t.substring(a,i):n}});var zE=Ke(Yr());var go=Ke(xo()),{__extends:G,__assign:us,__rest:fs,__decorate:ms,__param:ds,__metadata:hs,__awaiter:yo,__generator:Mt,__exportStar:bs,__createBinding:vs,__values:le,__read:C,__spread:xs,__spreadArrays:gs,__spreadArray:H,__await:At,__asyncGenerator:So,__asyncDelegator:ys,__asyncValues:wo,__makeTemplateObject:Ss,__importStar:ws,__importDefault:Es,__classPrivateFieldGet:Ts,__classPrivateFieldSet:Os}=go.default;function S(e){return typeof e==" function " } function Lt ( e ) { var t = function ( o ) { Error . call ( o ) , o . stack = new Error ( ) . stack } , r = e ( t ) ; return r . prototype = Object . create ( Error . prototype ) , r . prototype . constructor = r , r } var kt = Lt ( function ( e ) { return function ( r ) { e ( this ) , this . message = r ? r . length + ` errors occurred during unsubscription:
2021-08-25 08:28:17 +02:00
` +r.map(function(o,n){return n+1+") "+o.toString()}).join( `
2021-08-29 11:33:54 +02:00
` ):"",this.name="UnsubscriptionError",this.errors=r}});function Oe(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ae=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var t,r,o,n,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=le(a),c=s.next();!c.done;c=s.next()){var l=c.value;l.remove(this)}}catch(d){t={error:d}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a.remove(this);var p=this.initialTeardown;if(S(p))try{p()}catch(d){i=d instanceof kt?d.errors:[d]}var m=this._teardowns;if(m){this._teardowns=null;try{for(var u=le(m),b=u.next();!b.done;b=u.next()){var v=b.value;try{Eo(v)}catch(d){i=i!=null?i:[],d instanceof kt?i=H(H([],C(i)),C(d.errors)):i.push(d)}}}catch(d){o={error:d}}finally{try{b&&!b.done&&(n=u.return)&&n.call(u)}finally{if(o)throw o.error}}}if(i)throw new kt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Eo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=(r=this._teardowns)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Oe(r,t)},e.prototype.remove=function(t){var r=this._teardowns;r&&Oe(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var cr=ae.EMPTY;function Ct(e){return e instanceof ae||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Eo(e){S(e)?e():e.unsubscribe()}var be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Je={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Je.delegate;return((r==null?void 0:r.setTimeout)||setTimeout).apply(void 0,H([],C(e)))},clearTimeout:function(e){var t=Je.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ht(e){Je.setTimeout(function(){var t=be.onUnhandledError;if(t)t(e);else throw e})}function ee(){}var To=function(){return lr("C",void 0,void 0)}();function Oo(e){return lr("E",void 0,e)}function _o(e){return lr("N",e,void 0)}function lr(e,t,r){return{kind:e,value:t,error:r}}var Ue=null;function Ye(e){if(be.useDeprecatedSynchronousErrorHandling){var t=!Ue;if(t&&(Ue={errorThrown:!1,error:null}),e(),t){var r=Ue,o=r.errorThrown,n=r.error;if(Ue=null,o)throw n}}else e()}function Mo(e){be.useDeprecatedSynchronousErrorHandling&&Ue&&(Ue.errorThrown=!0,Ue.error=e)}var ut=function(e){G(t,e);function t(r){var o=e.call(this)||this;return o.isStopped=!1,r?(o.destination=r,Ct(r)&&r.add(o)):o.destination=sa,o}return t.create=function(r,o,n){return new ft(r,o,n)},t.prototype.next=function(r){this.isStopped?ur(_o(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?ur(Oo(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?ur(To,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ae);var ft=function(e){G(t,e);function t(r,o,n){var i=e.call(this)||this,a;if(S(r))a=r;else if(r){a=r.next,o=r.error,n=r.complete;var s;i&&be.useDeprecatedNextContext?(s=Object.create(r),s.unsubscribe=function(){return i.unsubscribe()}):s=r,a=a==null?void 0:a.bind(s),o=o==null?void 0:o.bind(s),n=n==null?void 0:n.bind(s)}return i.destination={next:a?pr(a,i):ee,error:pr(o!=null?o:Ao,i
2021-09-14 09:31:33 +02:00
//# sourceMappingURL=bundle.77d4fa84.min.js.map
2021-08-25 08:28:17 +02:00