2020-11-29 17:10:12 +00:00
! function ( ) { if ( ! ( "adoptedStyleSheets" in document ) ) { var n = "ShadyCSS" in window && ! window . ShadyCSS . nativeShadow , e = [ ] , t = [ ] , o = new WeakMap , a = new WeakMap , r = new WeakMap , i = new WeakMap , l = new WeakMap , f = { loaded : ! 1 } , c = { body : null , CSSStyleSheet : null } , p = CSSStyleSheet , d = /@import\surl(.*?);/gi , s = [ "addImport" , "addPageRule" , "addRule" , "deleteRule" , "insertRule" , "removeImport" , "removeRule" ] , m = [ "replace" , "replaceSync" ] , g = function ( ) { function n ( ) { var n = document . createElement ( "style" ) ; f . loaded ? c . body . appendChild ( n ) : ( document . head . appendChild ( n ) , n . disabled = ! 0 , e . push ( n ) ) ; var t = n . sheet ; return a . set ( t , { adopters : new Map , actions : [ ] , basicStyleElement : n } ) , t } var t = n . prototype ; return t . replace = function ( n ) { var e = this , t = h ( n ) ; return new Promise ( ( function ( n , o ) { if ( a . has ( e ) ) { var r = a . get ( e ) . basicStyleElement ; r . innerHTML = t , n ( r . sheet ) , x ( e ) } else o ( new Error ( "Can't call replace on non-constructed CSSStyleSheets." ) ) } ) ) } , t . replaceSync = function ( n ) { var e = h ( n ) ; if ( a . has ( this ) ) { var t = a . get ( this ) . basicStyleElement ; return t . innerHTML = e , x ( this ) , t . sheet } throw new Error ( "Failed to execute 'replaceSync' on 'CSSStyleSheet': Can't call replaceSync on non-constructed CSSStyleSheets." ) } , n } ( ) ; Object . defineProperty ( g , Symbol . hasInstance , { configurable : ! 0 , value : b } ) , v ( p . prototype ) , window . CSSStyleSheet = g , function ( ) { var e = { configurable : ! 0 , get : function ( ) { return o . get ( this ) || [ ] } , set : function ( n ) { var e = o . get ( this ) || [ ] ; ! function ( n , e ) { var t = e === document ? "Document" : "ShadowRoot" ; if ( ! Array . isArray ( n ) ) throw new TypeError ( "Failed to set the 'adoptedStyleSheets' property on " + t + ": Iterator getter is not callable." ) ; if ( ! n . every ( b ) ) throw new TypeError ( "Failed to set the 'adoptedStyleSheets' property on " + t + ": Failed to convert value to 'CSSStyleSheet'" ) ; var a = n . filter ( ( function ( e , t ) { return n . indexOf ( e ) === t } ) ) ; o . set ( e , a ) } ( n , this ) ; var t = this === document ? u ( ) ? this . head : this . body : this , r = "isConnected" in t ? t . isConnected : document . body . contains ( t ) ; window . requestAnimationFrame ( ( function ( ) { r && ( w ( t ) , function ( n , e ) { for ( var t = _ ( n ) , o = 0 , r = e . length ; o < r ; o ++ ) if ( ! ( t . indexOf ( e [ o ] ) > - 1 ) ) { var l = a . get ( e [ o ] ) . adopters , f = i . get ( n ) , c = l . get ( n ) ; c || ( c = l . get ( document . head ) ) , f . disconnect ( ) , c . parentNode . removeChild ( c ) , f . observe ( ) } } ( t , e ) ) } ) ) } } ; if ( Object . defineProperty ( Document . prototype , "adoptedStyleSheets" , e ) , "undefined" != typeof ShadowRoot ) { var t = Element . prototype . attachShadow ; Element . prototype . attachShadow = function ( ) { var e = n ? this : t . apply ( this , arguments ) ; return k ( e ) , e } , Object . defineProperty ( ShadowRoot . prototype , "adoptedStyleSheets" , e ) } } ( ) , u ( ) ? document . addEventListener ( "DOMContentLoaded" , C ) : C ( ) } function b ( n ) { return n instanceof p || n instanceof c . CSSStyleSheet } function u ( ) { return "loading" === document . readyState } function _ ( n ) { return o . get ( n . parentNode === document . documentElement ? document : n ) } function h ( n ) { var e = n . match ( d , "" ) || [ ] , t = n ; return e . length && ( console . warn ( "@import rules are not allowed here. See https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418" ) , e . forEach ( ( function ( n ) { t = t . replace ( n , "" ) } ) ) ) , t } function v ( n ) { m . forEach ( ( function ( e ) { n [ e ] = function ( ) { return g . prototype [ e ] . apply ( this , arguments ) } } ) ) , s . forEach ( ( function ( e ) { var t = n [ e ] ; n [ e ] = function ( ) { var n = arguments , o = t . apply ( this , n ) ; if ( a . has ( this ) ) { var r = a . get ( this ) , i = r . adopters , l = r . actions ; i . forEach ( ( function ( t ) { t . sheet && t . sheet [ e ] . apply ( t . sheet , n ) } ) ) , l . push ( [ e , n ] ) } return o } } ) ) } function x ( n ) { var e = a . get ( n ) , t = e . adopters , o = e . basicStyleElement ; t . forEach ( ( function ( n ) { n . innerHTML = o . innerHTML } ) ) } function w ( n ) { for ( var e = document . createDocumentFragment ( ) , o = _ ( n ) , f = i . get ( n ) , c = 0 , p = o . length ; c < p ; c ++ ) { var d = a . get ( o [ c ] ) , s = d . adopters , m = d . basicStyleElement , g = s . get ( n ) ; g ? ( f . disconnect ( ) , e . appendChild ( g ) , ( ! g . innerHTML || g . sheet && ! g . sheet . cssText ) && ( g . innerHTML = m . innerHTML ) , f . observe ( ) ) : ( ( g = document . createElement ( "style" ) ) . innerHTML = m . innerHTML , r . set ( g , n ) , l . set ( g , 0 ) , s . set ( n , g ) , e . appendChild ( g ) ) , n === document . head && t . push ( g ) } n . insertBefore ( e , n . firstChild ) ; for ( var b = 0 , u = o . length ; b < u ; b ++ ) { var h = a . get ( o [ b ] ) , v = h . adopters , x = h . actions , w = v . get ( n ) , y = l . get ( w ) ; if ( x . length > 0 ) { for ( var k = y , C = x . length ; k < C ; k ++ ) { var B = x [ k ] , P = B [ 0 ] , S = B [ 1 ] ; w . sheet [ P ] . apply ( w . sheet , S ) } l . set ( w , x . length - 1 ) } } } function y ( e ) { for ( var t
2020-11-20 21:08:00 +00:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2020-11-20 22:42:14 +00:00
Copyright ( c ) Microsoft Corporation .
2020-11-20 21:08:00 +00:00
2020-11-20 22:42:14 +00:00
Permission to use , copy , modify , and / or distribute this software for any
purpose with or without fee is hereby granted .
2020-11-20 21:08:00 +00:00
2020-11-20 22:42:14 +00:00
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 .
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2020-11-29 17:10:12 +00:00
var n = function ( e , t ) { return ( n = Object . setPrototypeOf || { _ _proto _ _ : [ ] } instanceof Array && function ( n , e ) { n . _ _proto _ _ = e } || function ( n , e ) { for ( var t in e ) Object . prototype . hasOwnProperty . call ( e , t ) && ( n [ t ] = e [ t ] ) } ) ( e , t ) } ; function e ( e , t ) { function o ( ) { this . constructor = e } n ( e , t ) , e . prototype = null === t ? Object . create ( t ) : ( o . prototype = t . prototype , new o ) } var t = function ( ) { return ( t = Object . assign || function ( n ) { for ( var e , t = 1 , o = arguments . length ; t < o ; t ++ ) for ( var a in e = arguments [ t ] ) Object . prototype . hasOwnProperty . call ( e , a ) && ( n [ a ] = e [ a ] ) ; return n } ) . apply ( this , arguments ) } ; function o ( n , e , t , o ) { var a , r = arguments . length , i = r < 3 ? e : null === o ? o = Object . getOwnPropertyDescriptor ( e , t ) : o ; if ( "object" == typeof Reflect && "function" == typeof Reflect . decorate ) i = Reflect . decorate ( n , e , t , o ) ; else for ( var l = n . length - 1 ; l >= 0 ; l -- ) ( a = n [ l ] ) && ( i = ( r < 3 ? a ( i ) : r > 3 ? a ( e , t , i ) : a ( e , t ) ) || i ) ; return r > 3 && i && Object . defineProperty ( e , t , i ) , i } function a ( n ) { var e = "function" == typeof Symbol && Symbol . iterator , t = e && n [ e ] , o = 0 ; if ( t ) return t . call ( n ) ; if ( n && "number" == typeof n . length ) return { next : function ( ) { return n && o >= n . length && ( n = void 0 ) , { value : n && n [ o ++ ] , done : ! n } } } ; throw new TypeError ( e ? "Object is not iterable." : "Symbol.iterator is not defined." ) } function r ( n , e ) { var t = "function" == typeof Symbol && n [ Symbol . iterator ] ; if ( ! t ) return n ; var o , a , r = t . call ( n ) , i = [ ] ; try { for ( ; ( void 0 === e || e -- > 0 ) && ! ( o = r . next ( ) ) . done ; ) i . push ( o . value ) } catch ( n ) { a = { error : n } } finally { try { o && ! o . done && ( t = r . return ) && t . call ( r ) } finally { if ( a ) throw a . error } } return i } function i ( ) { for ( var n = [ ] , e = 0 ; e < arguments . length ; e ++ ) n = n . concat ( r ( arguments [ e ] ) ) ; return n }
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
2020-11-21 14:24:45 +00:00
* /
2020-11-29 17:10:12 +00:00
const l = "undefined" != typeof window && null != window . customElements && void 0 !== window . customElements . polyfillWrapFlushCallback , f = ( n , e , t = null ) => { for ( ; e !== t ; ) { const t = e . nextSibling ; n . removeChild ( e ) , e = t } } , c = ` {{lit- ${ String ( Math . random ( ) ) . slice ( 2 ) } }} ` , p = ` \x 3c!-- ${ c } -- \x 3e ` , d = new RegExp ( ` ${ c } | ${ p } ` ) ; class s { constructor ( n , e ) { this . parts = [ ] , this . element = e ; const t = [ ] , o = [ ] , a = document . createTreeWalker ( e . content , 133 , null , ! 1 ) ; let r = 0 , i = - 1 , l = 0 ; const { strings : f , values : { length : p } } = n ; for ( ; l < p ; ) { const n = a . nextNode ( ) ; if ( null !== n ) { if ( i ++ , 1 === n . nodeType ) { if ( n . hasAttributes ( ) ) { const e = n . attributes , { length : t } = e ; let o = 0 ; for ( let n = 0 ; n < t ; n ++ ) m ( e [ n ] . name , "$lit$" ) && o ++ ; for ( ; o -- > 0 ; ) { const e = f [ l ] , t = u . exec ( e ) [ 2 ] , o = t . toLowerCase ( ) + "$lit$" , a = n . getAttribute ( o ) ; n . removeAttribute ( o ) ; const r = a . split ( d ) ; this . parts . push ( { type : "attribute" , index : i , name : t , strings : r } ) , l += r . length - 1 } } "TEMPLATE" === n . tagName && ( o . push ( n ) , a . currentNode = n . content ) } else if ( 3 === n . nodeType ) { const e = n . data ; if ( e . indexOf ( c ) >= 0 ) { const o = n . parentNode , a = e . split ( d ) , r = a . length - 1 ; for ( let e = 0 ; e < r ; e ++ ) { let t , r = a [ e ] ; if ( "" === r ) t = b ( ) ; else { const n = u . exec ( r ) ; null !== n && m ( n [ 2 ] , "$lit$" ) && ( r = r . slice ( 0 , n . index ) + n [ 1 ] + n [ 2 ] . slice ( 0 , - "$lit$" . length ) + n [ 3 ] ) , t = document . createTextNode ( r ) } o . insertBefore ( t , n ) , this . parts . push ( { type : "node" , index : ++ i } ) } "" === a [ r ] ? ( o . insertBefore ( b ( ) , n ) , t . push ( n ) ) : n . data = a [ r ] , l += r } } else if ( 8 === n . nodeType ) if ( n . data === c ) { const e = n . parentNode ; null !== n . previousSibling && i !== r || ( i ++ , e . insertBefore ( b ( ) , n ) ) , r = i , this . parts . push ( { type : "node" , index : i } ) , null === n . nextSibling ? n . data = "" : ( t . push ( n ) , i -- ) , l ++ } else { let e = - 1 ; for ( ; - 1 !== ( e = n . data . indexOf ( c , e + 1 ) ) ; ) this . parts . push ( { type : "node" , index : - 1 } ) , l ++ } } else a . currentNode = o . pop ( ) } for ( const n of t ) n . parentNode . removeChild ( n ) } } const m = ( n , e ) => { const t = n . length - e . length ; return t >= 0 && n . slice ( t ) === e } , g = n => - 1 !== n . index , b = ( ) => document . createComment ( "" ) , u = /([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/ ; function _ ( n , e ) { const { element : { content : t } , parts : o } = n , a = document . createTreeWalker ( t , 133 , null , ! 1 ) ; let r = v ( o ) , i = o [ r ] , l = - 1 , f = 0 ; const c = [ ] ; let p = null ; for ( ; a . nextNode ( ) ; ) { l ++ ; const n = a . currentNode ; for ( n . previousSibling === p && ( p = null ) , e . has ( n ) && ( c . push ( n ) , null === p && ( p = n ) ) , null !== p && f ++ ; void 0 !== i && i . index === l ; ) i . index = null !== p ? - 1 : i . index - f , r = v ( o , r ) , i = o [ r ] } c . forEach ( ( n => n . parentNode . removeChild ( n ) ) ) } const h = n => { let e = 11 === n . nodeType ? 0 : 1 ; const t = document . createTreeWalker ( n , 133 , null , ! 1 ) ; for ( ; t . nextNode ( ) ; ) e ++ ; return e } , v = ( n , e = - 1 ) => { for ( let t = e + 1 ; t < n . length ; t ++ ) { const e = n [ t ] ; if ( g ( e ) ) return t } return - 1 } ;
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
* /
2020-11-29 17:10:12 +00:00
const x = new WeakMap , w = n => "function" == typeof n && x . has ( n ) , y = { } , k = { } ;
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
* /
2020-11-29 17:10:12 +00:00
class C { constructor ( n , e , t ) { this . _ _parts = [ ] , this . template = n , this . processor = e , this . options = t } update ( n ) { let e = 0 ; for ( const t of this . _ _parts ) void 0 !== t && t . setValue ( n [ e ] ) , e ++ ; for ( const n of this . _ _parts ) void 0 !== n && n . commit ( ) } _clone ( ) { const n = l ? this . template . element . content . cloneNode ( ! 0 ) : document . importNode ( this . template . element . content , ! 0 ) , e = [ ] , t = this . template . parts , o = document . createTreeWalker ( n , 133 , null , ! 1 ) ; let a , r = 0 , i = 0 , f = o . nextNode ( ) ; for ( ; r < t . length ; ) if ( a = t [ r ] , g ( a ) ) { for ( ; i < a . index ; ) i ++ , "TEMPLATE" === f . nodeName && ( e . push ( f ) , o . currentNode = f . content ) , null === ( f = o . nextNode ( ) ) && ( o . currentNode = e . pop ( ) , f = o . nextNode ( ) ) ; if ( "node" === a . type ) { const n = this . processor . handleTextExpression ( this . options ) ; n . insertAfterNode ( f . previousSibling ) , this . _ _parts . push ( n ) } else this . _ _parts . push ( ... this . processor . handleAttributeExpressions ( f , a . name , a . strings , this . options ) ) ; r ++ } else this . _ _parts . push ( void 0 ) , r ++ ; return l && ( document . adoptNode ( n ) , customElements . upgrade ( n ) ) , n } }
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
2020-11-29 17:10:12 +00:00
* / c o n s t B = w i n d o w . t r u s t e d T y p e s & & t r u s t e d T y p e s . c r e a t e P o l i c y ( " l i t - h t m l " , { c r e a t e H T M L : n = > n } ) , P = ` $ { c } ` ; c l a s s S { c o n s t r u c t o r ( n , e , t , o ) { t h i s . s t r i n g s = n , t h i s . v a l u e s = e , t h i s . t y p e = t , t h i s . p r o c e s s o r = o } g e t H T M L ( ) { c o n s t n = t h i s . s t r i n g s . l e n g t h - 1 ; l e t e = " " , t = ! 1 ; f o r ( l e t o = 0 ; o < n ; o + + ) { c o n s t n = t h i s . s t r i n g s [ o ] , a = n . l a s t I n d e x O f ( " \ x 3 c ! - - " ) ; t = ( a > - 1 | | t ) & & - 1 = = = n . i n d e x O f ( " - - \ x 3 e " , a + 1 ) ; c o n s t r = u . e x e c ( n ) ; e + = n u l l = = = r ? n + ( t ? P : p ) : n . s u b s t r ( 0 , r . i n d e x ) + r [ 1 ] + r [ 2 ] + " $ l i t $ " + r [ 3 ] + c } r e t u r n e + = t h i s . s t r i n g s [ n ] , e } g e t T e m p l a t e E l e m e n t ( ) { c o n s t n = d o c u m e n t . c r e a t e E l e m e n t ( " t e m p l a t e " ) ; l e t e = t h i s . g e t H T M L ( ) ; r e t u r n v o i d 0 ! = = B & & ( e = B . c r e a t e H T M L ( e ) ) , n . i n n e r H T M L = e , n } }
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
2020-11-29 17:10:12 +00:00
* / c o n s t T = n = > n u l l = = = n | | ! ( " o b j e c t " = = t y p e o f n | | " f u n c t i o n " = = t y p e o f n ) , M = n = > A r r a y . i s A r r a y ( n ) | | ! ( ! n | | ! n [ S y m b o l . i t e r a t o r ] ) ; c l a s s L { c o n s t r u c t o r ( n , e , t ) { t h i s . d i r t y = ! 0 , t h i s . e l e m e n t = n , t h i s . n a m e = e , t h i s . s t r i n g s = t , t h i s . p a r t s = [ ] ; f o r ( l e t n = 0 ; n < t . l e n g t h - 1 ; n + + ) t h i s . p a r t s [ n ] = t h i s . _ c r e a t e P a r t ( ) } _ c r e a t e P a r t ( ) { r e t u r n n e w z ( t h i s ) } _ g e t V a l u e ( ) { c o n s t n = t h i s . s t r i n g s , e = n . l e n g t h - 1 , t = t h i s . p a r t s ; i f ( 1 = = = e & & " " = = = n [ 0 ] & & " " = = = n [ 1 ] ) { c o n s t n = t [ 0 ] . v a l u e ; i f ( " s y m b o l " = = t y p e o f n ) r e t u r n S t r i n g ( n ) ; i f ( " s t r i n g " = = t y p e o f n | | ! M ( n ) ) r e t u r n n } l e t o = " " ; f o r ( l e t a = 0 ; a < e ; a + + ) { o + = n [ a ] ; c o n s t e = t [ a ] ; i f ( v o i d 0 ! = = e ) { c o n s t n = e . v a l u e ; i f ( T ( n ) | | ! M ( n ) ) o + = " s t r i n g " = = t y p e o f n ? n : S t r i n g ( n ) ; e l s e f o r ( c o n s t e o f n ) o + = " s t r i n g " = = t y p e o f e ? e : S t r i n g ( e ) } } r e t u r n o + = n [ e ] , o } c o m m i t ( ) { t h i s . d i r t y & & ( t h i s . d i r t y = ! 1 , t h i s . e l e m e n t . s e t A t t r i b u t e ( t h i s . n a m e , t h i s . _ g e t V a l u e ( ) ) ) } } c l a s s z { c o n s t r u c t o r ( n ) { t h i s . v a l u e = v o i d 0 , t h i s . c o m m i t t e r = n } s e t V a l u e ( n ) { n = = = y | | T ( n ) & & n = = = t h i s . v a l u e | | ( t h i s . v a l u e = n , w ( n ) | | ( t h i s . c o m m i t t e r . d i r t y = ! 0 ) ) } c o m m i t ( ) { f o r ( ; w ( t h i s . v a l u e ) ; ) { c o n s t n = t h i s . v a l u e ; t h i s . v a l u e = y , n ( t h i s ) } t h i s . v a l u e ! = = y & & t h i s . c o m m i t t e r . c o m m i t ( ) } } c l a s s R { c o n s t r u c t o r ( n ) { t h i s . v a l u e = v o i d 0 , t h i s . _ _ p e n d i n g V a l u e = v o i d 0 , t h i s . o p t i o n s = n } a p p e n d I n t o ( n ) { t h i s . s t a r t N o d e = n . a p p e n d C h i l d ( b ( ) ) , t h i s . e n d N o d e = n . a p p e n d C h i l d ( b ( ) ) } i n s e r t A f t e r N o d e ( n ) { t h i s . s t a r t N o d e = n , t h i s . e n d N o d e = n . n e x t S i b l i n g } a p p e n d I n t o P a r t ( n ) { n . _ _ i n s e r t ( t h i s . s t a r t N o d e = b ( ) ) , n . _ _ i n s e r t ( t h i s . e n d N o d e = b ( ) ) } i n s e r t A f t e r P a r t ( n ) { n . _ _ i n s e r t ( t h i s . s t a r t N o d e = b ( ) ) , t h i s . e n d N o d e = n . e n d N o d e , n . e n d N o d e = t h i s . s t a r t N o d e } s e t V a l u e ( n ) { t h i s . _ _ p e n d i n g V a l u e = n } c o m m i t ( ) { i f ( n u l l = = = t h i s . s t a r t N o d e . p a r e n t N o d e ) r e t u r n ; f o r ( ; w ( t h i s . _ _ p e n d i n g V a l u e ) ; ) { c o n s t n = t h i s . _ _ p e n d i n g V a l u e ; t h i s . _ _ p e n d i n g V a l u e = y , n ( t h i s ) } c o n s t n = t h i s . _ _ p e n d i n g V a l u e ; n ! = = y & & ( T ( n ) ? n ! = = t h i s . v a l u e & & t h i s . _ _ c o m m i t T e x t ( n ) : n i n s t a n c e o f S ? t h i s . _ _ c o m m i t T e m p l a t e R e s u l t ( n ) : n i n s t a n c e o f N o d e ? t h i s . _ _ c o m m i t N o d e ( n ) : M ( n ) ? t h i s . _ _ c o m m i t I t e r a b l e ( n ) : n = = = k ? ( t h i s . v a l u e = k , t h i s . c l e a r ( ) ) : t h i s . _ _ c o m m i t T e x t ( n ) ) } _ _ i n s e r t ( n ) { t h i s . e n d N o d e . p a r e n t N o d e . i n s e r t B e f o r e ( n , t h i s . e n d N o d e ) } _ _ c o m m i t N o d e ( n ) { t h i s . v a l u e ! = = n & & ( t h i s . c l e a r ( ) , t h i s . _ _ i n s e r t ( n ) , t h i s . v a l u e = n ) } _ _ c o m m i t T e x t ( n ) { c o n s t e = t h i s . s t a r t N o d e . n e x t S i b l i n g , t = " s t r i n g " = = t y p e o f ( n = n u l l = = n ? " " : n ) ? n : S t r i n g ( n ) ; e = = = t h i s . e n d N o d e . p r e v i o u s S i b l i n g & & 3 = = = e . n o d e T y p e ? e . d a t a = t : t h i s . _ _ c o m m i t N o d e ( d o c u m e n t . c r e a t e T e x t N o d e ( t ) ) , t h i s . v a l u e = n } _ _ c o m m i t T e m p l a t e R e s u l t ( n ) { c o n s t e = t h i s . o p t i o n s . t e m p l a t e F a c t o r y ( n ) ; i f ( t h i s . v a l u e i n s t a n c e o f C & & t h i s . v a l u e . t e m p l a t e = = = e ) t h i s . v a l u e . u p d a t e ( n . v a l u e s ) ; e l s e { c o n s t t = n e w C ( e , n . p r o c e s s o r , t h i s . o p t i o n s ) , o = t . _ c l o n e ( ) ; t . u p d a t e ( n . v a l u e s ) , t h i s . _ _ c o m m i t N o d e ( o ) , t h i s . v a l u e = t } } _ _ c o m m i t I t e r a b l e ( n ) { A r r a y . i s A r r a y ( t h i s . v a l u e ) | | ( t h i s . v a l u e = [ ] , t h i s . c l e a r ( ) ) ; c o n s t e = t h i s . v a l u e ; l e t t , o = 0 ; f o r ( c o n s t a o f n ) t = e [ o ] , v o i d 0 = = = t & & ( t = n e w R ( t h i s . o p t i o n s ) , e . p u s h ( t ) , 0 = = = o ? t . a p p e n d I n t o P a r t ( t h i s ) : t . i n s e r t A f t e r P a r t ( e [ o - 1 ] ) ) , t . s e t V a l u e ( a ) , t . c o m m i t ( ) , o + + ; o < e . l e n g t h & & ( e . l e n g t h = o , t h i s . c l e a r ( t & & t . e n d N o d e ) ) } c l e a r ( n = t h i s . s t a r t N o d e ) { f ( t h i s . s t a r t N o d e . p a r e n t N o d e , n . n e x t S i b l i n g , t h i s . e n d N o d e ) } } c l a s s W { c o n s t r u c t o r ( n , e , t ) { i f ( t h i s . v a l u e = v o i d 0 , t h i s . _ _ p e n d i n g V a l u e = v o i d 0 , 2 ! = = t . l e n g t h | | " " ! = = t [ 0 ] | | " " ! = = t [ 1 ] ) t h r o w n e w E r r o r ( " B o o l e a n a t t r i b u t e s c a n o n l y c o n t a i n a s i n g l e e x p r e s s i o n " ) ; t h i s . e l e m e n t = n , t h i s . n a m e = e , t h i s . s t r i n g s = t } s e t V a l u e ( n ) { t h i s . _ _ p e n d i n g V a l u e = n } c o m m i t ( ) { f o r ( ; w ( t h i s . _ _ p e n d i n g V a l u e ) ; ) { c o n s t n = t h i s . _ _ p e n d i n g V a l u e ; t h i s . _ _ p e n d i n g V a l u e = y , n ( t h i s ) } i f ( t h i s . _ _ p e n d i n g V a l u e = = = y ) r e t u r n ; c o n s t n = ! ! t h i s . _ _ p e n d i n g V a l u e ; t h i s . v a l u e ! = = n & & ( n ? t h i s . e l e m e n t . s e t A t t r i b u t e ( t h i s . n a m e , " " ) : t h i s . e l e m e n t . r e m o v e A t t r i b u t e ( t h i s . n a m e ) , t h i s . v a l u e = n ) , t h i s . _ _ p e n d i n g V a l u e = y } } c l a s s F e x t e n d s L { c o n s t r u c t o r ( n , e , t ) { s u p e r ( n , e , t ) , t h i s . s i n g l e = 2 = = = t . l e n g t h & & " " = = = t [ 0 ] & & " " = = = t [ 1 ] } _ c r e a t e P a r t ( ) { r e t u r n n e w D ( t h i s ) } _ g e t V a l u e ( ) { r e t u r n t h i s . s i n g l e ? t h i s . p a r t s [ 0 ] . v a l u e : s u p e r . _ g e t V a l u e ( ) } c o m m i t ( ) { t h i s . d i r t y & & ( t h i s . d i r t y = ! 1 , t h i s . e l e m e n t [ t h i s . n a m e ] = t h i s . _ g e t V a l u e ( ) ) } } c l a s s D e x t e n d s z { } l e t O = ! 1 ; ( ( ) = > { t r y { c o n s t n = { g e t c a p t u r e ( ) { r e t u r n O = ! 0 , ! 1 } } ; w i n d o w . a d d E v e n t L i s t e n e r ( " t e s t " , n , n ) , w i n d o w . r e m o v e E v e n t L i s t e n e r ( " t e s t " , n , n ) } c a t c h ( n ) { } } ) ( ) ; c l a s s E { c o n s t r u c t o r ( n , e , t ) { t h i s . v a l u e = v o i d 0 , t h i s . _ _ p e n d i n g V a l u e = v o i d 0 , t h i s . e l e m e n t = n , t h i s . e v e n t N a m e = e , t h i s . e v e n t C o n t e x t = t , t h i s . _ _ b o u n d H a n d l e E v e n t = n = > t h i s . h a n d l e E v e n t ( n ) } s e t V a l u e ( n ) { t h i s . _ _ p e n d i n g V a l u e = n } c o m
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
2020-11-29 17:10:12 +00:00
* / ; f u n c t i o n A ( n ) { l e t e = H . g e t ( n . t y p e ) ; v o i d 0 = = = e & & ( e = { s t r i n g s A r r a y : n e w W e a k M a p , k e y S t r i n g : n e w M a p } , H . s e t ( n . t y p e , e ) ) ; l e t t = e . s t r i n g s A r r a y . g e t ( n . s t r i n g s ) ; i f ( v o i d 0 ! = = t ) r e t u r n t ; c o n s t o = n . s t r i n g s . j o i n ( c ) ; r e t u r n t = e . k e y S t r i n g . g e t ( o ) , v o i d 0 = = = t & & ( t = n e w s ( n , n . g e t T e m p l a t e E l e m e n t ( ) ) , e . k e y S t r i n g . s e t ( o , t ) ) , e . s t r i n g s A r r a y . s e t ( n . s t r i n g s , t ) , t } c o n s t H = n e w M a p , N = n e w W e a k M a p ;
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
2020-11-29 17:10:12 +00:00
* / c o n s t j = n e w
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
* /
2020-11-29 17:10:12 +00:00
class { handleAttributeExpressions ( n , e , t , o ) { const a = e [ 0 ] ; if ( "." === a ) { return new F ( n , e . slice ( 1 ) , t ) . parts } if ( "@" === a ) return [ new E ( n , e . slice ( 1 ) , o . eventContext ) ] ; if ( "?" === a ) return [ new W ( n , e . slice ( 1 ) , t ) ] ; return new L ( n , e , t ) . parts } handleTextExpression ( n ) { return new R ( n ) } } ;
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
2020-11-29 17:10:12 +00:00
* / " u n d e f i n e d " ! = t y p e o f w i n d o w & & ( w i n d o w . l i t H t m l V e r s i o n s | | ( w i n d o w . l i t H t m l V e r s i o n s = [ ] ) ) . p u s h ( " 1 . 3 . 0 " ) ; c o n s t G = ( n , . . . e ) = > n e w S ( n , e , " h t m l " , j )
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
2020-11-29 17:10:12 +00:00
* / , Y = ( n , e ) = > ` $ { n } - - $ { e } ` ; l e t q = ! 0 ; v o i d 0 = = = w i n d o w . S h a d y C S S ? q = ! 1 : v o i d 0 = = = w i n d o w . S h a d y C S S . p r e p a r e T e m p l a t e D o m & & ( c o n s o l e . w a r n ( " I n c o m p a t i b l e S h a d y C S S v e r s i o n d e t e c t e d . P l e a s e u p d a t e t o a t l e a s t @ w e b c o m p o n e n t s / w e b c o m p o n e n t s j s @ 2 . 0 . 2 a n d @ w e b c o m p o n e n t s / s h a d y c s s @ 1 . 3 . 1 . " ) , q = ! 1 ) ; c o n s t V = n = > e = > { c o n s t t = Y ( e . t y p e , n ) ; l e t o = H . g e t ( t ) ; v o i d 0 = = = o & & ( o = { s t r i n g s A r r a y : n e w W e a k M a p , k e y S t r i n g : n e w M a p } , H . s e t ( t , o ) ) ; l e t a = o . s t r i n g s A r r a y . g e t ( e . s t r i n g s ) ; i f ( v o i d 0 ! = = a ) r e t u r n a ; c o n s t r = e . s t r i n g s . j o i n ( c ) ; i f ( a = o . k e y S t r i n g . g e t ( r ) , v o i d 0 = = = a ) { c o n s t t = e . g e t T e m p l a t e E l e m e n t ( ) ; q & & w i n d o w . S h a d y C S S . p r e p a r e T e m p l a t e D o m ( t , n ) , a = n e w s ( e , t ) , o . k e y S t r i n g . s e t ( r , a ) } r e t u r n o . s t r i n g s A r r a y . s e t ( e . s t r i n g s , a ) , a } , U = [ " h t m l " , " s v g " ] , X = n e w S e t , Z = ( n , e , t ) = > { X . a d d ( n ) ; c o n s t o = t ? t . e l e m e n t : d o c u m e n t . c r e a t e E l e m e n t ( " t e m p l a t e " ) , a = e . q u e r y S e l e c t o r A l l ( " s t y l e " ) , { l e n g t h : r } = a ; i f ( 0 = = = r ) r e t u r n v o i d w i n d o w . S h a d y C S S . p r e p a r e T e m p l a t e S t y l e s ( o , n ) ; c o n s t i = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; f o r ( l e t n = 0 ; n < r ; n + + ) { c o n s t e = a [ n ] ; e . p a r e n t N o d e . r e m o v e C h i l d ( e ) , i . t e x t C o n t e n t + = e . t e x t C o n t e n t } ( n = > { U . f o r E a c h ( ( e = > { c o n s t t = H . g e t ( Y ( e , n ) ) ; v o i d 0 ! = = t & & t . k e y S t r i n g . f o r E a c h ( ( n = > { c o n s t { e l e m e n t : { c o n t e n t : e } } = n , t = n e w S e t ; A r r a y . f r o m ( e . q u e r y S e l e c t o r A l l ( " s t y l e " ) ) . f o r E a c h ( ( n = > { t . a d d ( n ) } ) ) , _ ( n , t ) } ) ) } ) ) } ) ( n ) ; c o n s t l = o . c o n t e n t ; t ? f u n c t i o n ( n , e , t = n u l l ) { c o n s t { e l e m e n t : { c o n t e n t : o } , p a r t s : a } = n ; i f ( n u l l = = t ) r e t u r n v o i d o . a p p e n d C h i l d ( e ) ; c o n s t r = d o c u m e n t . c r e a t e T r e e W a l k e r ( o , 1 3 3 , n u l l , ! 1 ) ; l e t i = v ( a ) , l = 0 , f = - 1 ; f o r ( ; r . n e x t N o d e ( ) ; ) f o r ( f + + , r . c u r r e n t N o d e = = = t & & ( l = h ( e ) , t . p a r e n t N o d e . i n s e r t B e f o r e ( e , t ) ) ; - 1 ! = = i & & a [ i ] . i n d e x = = = f ; ) { i f ( l > 0 ) { f o r ( ; - 1 ! = = i ; ) a [ i ] . i n d e x + = l , i = v ( a , i ) ; r e t u r n } i = v ( a , i ) } } ( t , i , l . f i r s t C h i l d ) : l . i n s e r t B e f o r e ( i , l . f i r s t C h i l d ) , w i n d o w . S h a d y C S S . p r e p a r e T e m p l a t e S t y l e s ( o , n ) ; c o n s t f = l . q u e r y S e l e c t o r ( " s t y l e " ) ; i f ( w i n d o w . S h a d y C S S . n a t i v e S h a d o w & & n u l l ! = = f ) e . i n s e r t B e f o r e ( f . c l o n e N o d e ( ! 0 ) , e . f i r s t C h i l d ) ; e l s e i f ( t ) { l . i n s e r t B e f o r e ( i , l . f i r s t C h i l d ) ; c o n s t n = n e w S e t ; n . a d d ( i ) , _ ( t , n ) } } ; w i n d o w . J S C o m p i l e r _ r e n a m e P r o p e r t y = ( n , e ) = > n ; c o n s t $ = { t o A t t r i b u t e ( n , e ) { s w i t c h ( e ) { c a s e B o o l e a n : r e t u r n n ? " " : n u l l ; c a s e O b j e c t : c a s e A r r a y : r e t u r n n u l l = = n ? n : J S O N . s t r i n g i f y ( n ) } r e t u r n n } , f r o m A t t r i b u t e ( n , e ) { s w i t c h ( e ) { c a s e B o o l e a n : r e t u r n n u l l ! = = n ; c a s e N u m b e r : r e t u r n n u l l = = = n ? n u l l : N u m b e r ( n ) ; c a s e O b j e c t : c a s e A r r a y : r e t u r n J S O N . p a r s e ( n ) } r e t u r n n } } , K = ( n , e ) = > e ! = = n & & ( e = = e | | n = = n ) , J = { a t t r i b u t e : ! 0 , t y p e : S t r i n g , c o n v e r t e r : $ , r e f l e c t : ! 1 , h a s C h a n g e d : K } ; c l a s s Q e x t e n d s H T M L E l e m e n t { c o n s t r u c t o r ( ) { s u p e r ( ) , t h i s . i n i t i a l i z e ( ) } s t a t i c g e t o b s e r v e d A t t r i b u t e s ( ) { t h i s . f i n a l i z e ( ) ; c o n s t n = [ ] ; r e t u r n t h i s . _ c l a s s P r o p e r t i e s . f o r E a c h ( ( ( e , t ) = > { c o n s t o = t h i s . _ a t t r i b u t e N a m e F o r P r o p e r t y ( t , e ) ; v o i d 0 ! = = o & & ( t h i s . _ a t t r i b u t e T o P r o p e r t y M a p . s e t ( o , t ) , n . p u s h ( o ) ) } ) ) , n } s t a t i c _ e n s u r e C l a s s P r o p e r t i e s ( ) { i f ( ! t h i s . h a s O w n P r o p e r t y ( J S C o m p i l e r _ r e n a m e P r o p e r t y ( " _ c l a s s P r o p e r t i e s " , t h i s ) ) ) { t h i s . _ c l a s s P r o p e r t i e s = n e w M a p ; c o n s t n = O b j e c t . g e t P r o t o t y p e O f ( t h i s ) . _ c l a s s P r o p e r t i e s ; v o i d 0 ! = = n & & n . f o r E a c h ( ( ( n , e ) = > t h i s . _ c l a s s P r o p e r t i e s . s e t ( e , n ) ) ) } } s t a t i c c r e a t e P r o p e r t y ( n , e = J ) { i f ( t h i s . _ e n s u r e C l a s s P r o p e r t i e s ( ) , t h i s . _ c l a s s P r o p e r t i e s . s e t ( n , e ) , e . n o A c c e s s o r | | t h i s . p r o t o t y p e . h a s O w n P r o p e r t y ( n ) ) r e t u r n ; c o n s t t = " s y m b o l " = = t y p e o f n ? S y m b o l ( ) : " _ _ " + n , o = t h i s . g e t P r o p e r t y D e s c r i p t o r ( n , t , e ) ; v o i d 0 ! = = o & & O b j e c t . d e f i n e P r o p e r t y ( t h i s . p r o t o t y p e , n , o ) } s t a t i c g e t P r o p e r t y D e s c r i p t o r ( n , e , t ) { r e t u r n { g e t ( ) { r e t u r n t h i s [ e ] } , s e t ( o ) { c o n s t a = t h i s [ n ] ; t h i s [ e ] = o , t h i s . r e q u e s t U p d a t e I n t e r n a l ( n , a , t ) } , c o n f i g u r a b l e : ! 0 , e n u m e r a b l e : ! 0 } } s t a t i c g e t P r o p e r t y O p t i o n s ( n ) { r e t u r n t h i s . _ c l a s s P r o p e r t i e s & & t h i s . _ c l a s s P r o p e r t i e s . g e t ( n ) | | J } s t a t i c f i n a l i z e ( ) { c o n s t n = O b j e c t . g e t P r o t o t y p e O f ( t h i s ) ; i f ( n . h a s O w n P r o p e r t y ( " f i n a l i z e d " ) | | n . f i n a l i z e ( ) , t h i s . f i n a l i z e d = ! 0 , t h i s . _ e n s u r e C l a s s P r o p e r t i e s ( ) , t h i s . _ a t t r i b u t e T o P r o p e r t y M a p = n e w M a p , t h i s . h a s O w n P r o p e r t y ( J S C o m p i l e r _ r e n a m e P r o p e r t y ( " p r o p e r t i e s " , t h i s ) ) ) { c o n s t n = t h i s . p r o p e r t i e s , e = [ . . . O b j e c t . g e t O w n P r o p e r t y N a m e s ( n ) , . . . " f u n c t i o n " = = 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 ? 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 ( n ) : [ ] ] ; f o r ( c o n s t t o f e ) t h i s . c r e a t e P r o p e r t y ( t , n [ t ] ) } } s t a t i c _ a t t r i b u t e N a m e F o r P r o p e r t y ( n , e ) { c o n s t t = e . a t t r i b u t e ; r e t u r n ! 1 = = = t ? v o i d 0 : " s t r i n g " = = t y p e o f t ? t : " s t r i n g " = = t y p e o f n ? n . t o L o w e r C a s e ( ) : v o i d 0 } s t a t i c _ v a l u e H a s C h a n g e d ( n , e , t = K ) { r e t u r n t ( n , e ) } s t a t i c _ p r o p e r t y V a l u e F r o m A t t r i b u t e ( n , e ) { c o n s t t = e . t y p e , o = e . c o n v e r t e r | | $ , a = " f u n c t i o n " = = t y p e o f o ? o : o . f r o m A t t
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
* /
2020-11-29 17:10:12 +00:00
const nn = n => e => "function" == typeof e ? ( ( n , e ) => ( window . customElements . define ( n , e ) , e ) ) ( n , e ) : ( ( n , e ) => { const { kind : t , elements : o } = e ; return { kind : t , elements : o , finisher ( e ) { window . customElements . define ( n , e ) } } } ) ( n , e ) , en = ( n , e ) => "method" === e . kind && e . descriptor && ! ( "value" in e . descriptor ) ? Object . assign ( Object . assign ( { } , e ) , { finisher ( t ) { t . createProperty ( e . key , n ) } } ) : { kind : "field" , key : Symbol ( ) , placement : "own" , descriptor : { } , initializer ( ) { "function" == typeof e . initializer && ( this [ e . key ] = e . initializer . call ( this ) ) } , finisher ( t ) { t . createProperty ( e . key , n ) } } ; function tn ( n ) { return ( e , t ) => void 0 !== t ? ( ( n , e , t ) => { e . constructor . createProperty ( t , n ) } ) ( n , e , t ) : en ( n , e ) }
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
@ license
Copyright ( c ) 2019 The Polymer Project Authors . All rights reserved .
This code may only be used under the BSD style license found at
http : //polymer.github.io/LICENSE.txt The complete set of authors may be found at
http : //polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http : //polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http : //polymer.github.io/PATENTS.txt
2020-11-29 17:10:12 +00:00
* / c o n s t o n = w i n d o w . S h a d o w R o o t & & ( v o i d 0 = = = w i n d o w . S h a d y C S S | | w i n d o w . S h a d y C S S . n a t i v e S h a d o w ) & & " a d o p t e d S t y l e S h e e t s " i n D o c u m e n t . p r o t o t y p e & & " r e p l a c e " i n C S S S t y l e S h e e t . p r o t o t y p e , a n = S y m b o l ( ) ; c l a s s r n { c o n s t r u c t o r ( n , e ) { i f ( e ! = = a n ) t h r o w n e w E r r o r ( " C S S R e s u l t i s n o t c o n s t r u c t a b l e . U s e ` u n s a f e C S S ` o r ` c s s ` i n s t e a d . " ) ; t h i s . c s s T e x t = n } g e t s t y l e S h e e t ( ) { r e t u r n v o i d 0 = = = t h i s . _ s t y l e S h e e t & & ( o n ? ( t h i s . _ s t y l e S h e e t = n e w C S S S t y l e S h e e t , t h i s . _ s t y l e S h e e t . r e p l a c e S y n c ( t h i s . c s s T e x t ) ) : t h i s . _ s t y l e S h e e t = n u l l ) , t h i s . _ s t y l e S h e e t } t o S t r i n g ( ) { r e t u r n t h i s . c s s T e x t } } c o n s t l n = ( n , . . . e ) = > { c o n s t t = e . r e d u c e ( ( ( e , t , o ) = > e + ( n = > { i f ( n i n s t a n c e o f r n ) r e t u r n n . c s s T e x t ; i f ( " n u m b e r " = = t y p e o f n ) r e t u r n n ; t h r o w n e w E r r o r ( ` V a l u e p a s s e d t o ' c s s ' f u n c t i o n m u s t b e a ' c s s ' f u n c t i o n r e s u l t : $ { n } . U s e ' u n s a f e C S S ' t o p a s s n o n - l i t e r a l v a l u e s , b u t \ n t a k e c a r e t o e n s u r e p a g e s e c u r i t y . ` ) } ) ( t ) + n [ o + 1 ] ) , n [ 0 ] ) ; r e t u r n n e w r n ( t , a n ) } ;
2020-11-20 21:08:00 +00:00
/ * *
2020-11-20 22:42:14 +00:00
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
* /
2020-11-29 17:46:45 +00:00
( window . litElementVersions || ( window . litElementVersions = [ ] ) ) . push ( "2.4.0" ) ; const fn = { } ; class cn extends Q { static getStyles ( ) { return this . styles } static _getUniqueStyles ( ) { if ( this . hasOwnProperty ( JSCompiler _renameProperty ( "_styles" , this ) ) ) return ; const n = this . getStyles ( ) ; if ( Array . isArray ( n ) ) { const e = ( n , t ) => n . reduceRight ( ( ( n , t ) => Array . isArray ( t ) ? e ( t , n ) : ( n . add ( t ) , n ) ) , t ) , t = e ( n , new Set ) , o = [ ] ; t . forEach ( ( n => o . unshift ( n ) ) ) , this . _styles = o } else this . _styles = void 0 === n ? [ ] : [ n ] ; this . _styles = this . _styles . map ( ( n => { if ( n instanceof CSSStyleSheet && ! on ) { const e = Array . prototype . slice . call ( n . cssRules ) . reduce ( ( ( n , e ) => n + e . cssText ) , "" ) ; return new rn ( String ( e ) , an ) } return n } ) ) } initialize ( ) { super . initialize ( ) , this . constructor . _getUniqueStyles ( ) , this . renderRoot = this . createRenderRoot ( ) , window . ShadowRoot && this . renderRoot instanceof window . ShadowRoot && this . adoptStyles ( ) } createRenderRoot ( ) { return this . attachShadow ( { mode : "open" } ) } adoptStyles ( ) { const n = this . constructor . _styles ; 0 !== n . length && ( void 0 === window . ShadyCSS || window . ShadyCSS . nativeShadow ? on ? this . renderRoot . adoptedStyleSheets = n . map ( ( n => n instanceof CSSStyleSheet ? n : n . styleSheet ) ) : this . _needsShimAdoptedStyleSheets = ! 0 : window . ShadyCSS . ScopingShim . prepareAdoptedCssText ( n . map ( ( n => n . cssText ) ) , this . localName ) ) } connectedCallback ( ) { super . connectedCallback ( ) , this . hasUpdated && void 0 !== window . ShadyCSS && window . ShadyCSS . styleElement ( this ) } update ( n ) { const e = this . render ( ) ; super . update ( n ) , e !== fn && this . constructor . render ( e , this . renderRoot , { scopeName : this . localName , eventContext : this } ) , this . _needsShimAdoptedStyleSheets && ( this . _needsShimAdoptedStyleSheets = ! 1 , this . constructor . _styles . forEach ( ( n => { const e = document . createElement ( "style" ) ; e . textContent = n . cssText , this . renderRoot . appendChild ( e ) } ) ) ) } render ( ) { return fn } } cn . finalized = ! 0 , cn . render = ( n , e , t ) => { if ( ! t || "object" != typeof t || ! t . scopeName ) throw new Error ( "The `scopeName` option is required." ) ; const o = t . scopeName , a = N . has ( e ) , r = q && 11 === e . nodeType && ! ! e . host , i = r && ! X . has ( o ) , l = i ? document . createDocumentFragment ( ) : e ; if ( ( ( n , e , t ) => { let o = N . get ( e ) ; void 0 === o && ( f ( e , e . firstChild ) , N . set ( e , o = new R ( Object . assign ( { templateFactory : A } , t ) ) ) , o . appendInto ( e ) ) , o . setValue ( n ) , o . commit ( ) } ) ( n , l , Object . assign ( { templateFactory : V ( o ) } , t ) ) , i ) { const n = N . get ( l ) ; N . delete ( l ) ; const t = n . value instanceof C ? n . value . template : void 0 ; Z ( o , l , t ) , f ( e , e . firstChild ) , e . appendChild ( l ) , N . set ( e , n ) } ! a && r && window . ShadyCSS . styleElement ( e . host ) } ; const pn = ln ` .pf-m-success{color:var(--pf-global--success-color--100)}.pf-c-button.pf-m-success{color:var(--pf-c-button--m-primary--Color);background-color:var(--pf-global--success-color--100)}.pf-m-warning{color:var(--pf-global--warning-color--100)}.pf-c-button.pf-m-warning{color:var(--pf-c-button--m-primary--Color);background-color:var(--pf-global--warning-color--100)}.pf-m-danger{color:var(--pf-global--danger-color--100)}.pf-c-button.pf-m-danger{color:var(--pf-c-button--m-primary--Color);background-color:var(--pf-global--danger-color--100)} ` , dn = new CSSStyleSheet ; dn . replaceSync ( ' html , \ nbody , \ np , \ nol , \ nul , \ nli , \ ndl , \ ndt , \ ndd , \ nblockquote , \ nfigure , \ nfieldset , \ nlegend , \ ntextarea , \ npre , \ niframe , \ nhr , \ nh1 , \ nh2 , \ nh3 , \ nh4 , \ nh5 , \ nh6 { \ n padding : 0 ; \ n margin : 0 ; } \ n \ nhtml , \ nbody { \ n height : 100 % ; } \ n \ nh1 , \ nh2 , \ nh3 , \ nh4 , \ nh5 , \ nh6 { \ n font - size : 100 % ; \ n font - weight : var ( -- pf - global -- FontWeight -- normal ) ; } \ n \ nul { \ n list - style : none ; } \ n \ nbutton , \ ninput , \ noptgroup , \ nselect , \ ntextarea { \ n margin : 0 ; \ n font - family : inherit ; \ n font - size : 100 % ; \ n line - height : var ( -- pf - global -- LineHeight -- md ) ; \ n color : var ( -- pf - global -- Color -- 100 ) ; } \ n \ nimg , \ nembed , \ niframe , \ nobject , \ naudio , \ nvideo { \ n max - width : 100 % ; \ n height : auto ; } \ n \ niframe { \ n border : 0 ; } \ n \ ntable { \ n border - spacing : 0 ; \ n border - collapse : collapse ; } \ n \ ntd , \ nth { \ n padding : 0 ; \ n text - align : left ; } \ n \ n * , \ n * : : before , \ n * : : after { \ n box - sizing : border - box ; } \ n \ nhtml { \ n font - family : sans - serif ; \ n line - height : 1.15 ; } \ n \ nbody { \ n font - family : var ( -- pf - global -- FontFamily -- sans - serif ) ; \ n font - size : var ( -- pf - global -- FontSize -- md ) ; \ n font - weight : var ( -- pf - global -- FontWeight -- normal ) ; \ n line - height : var ( -- pf - global -- LineHeight -- md )
2020-11-20 22:42:14 +00:00
//! moment.js
2020-11-29 17:10:12 +00:00
o . version = "2.29.1" , a ( Zt ) , o . fn = cr , o . min = Qt , o . max = no , o . now = eo , o . utc = g , o . unix = pr , o . months = _r , o . isDate = d , o . locale = bt , o . invalid = h , o . duration = Mo , o . isMoment = k , o . weekdays = vr , o . parseZone = dr , o . localeData = ht , o . isDuration = lo , o . monthsShort = hr , o . weekdaysMin = wr , o . defineLocale = ut , o . updateLocale = _t , o . locales = vt , o . weekdaysShort = xr , o . normalizeUnits = on , o . relativeTimeRounding = ai , o . relativeTimeThreshold = ri , o . calendarFormat = jo , o . prototype = cr , o . HTML5 _FMT = { DATETIME _LOCAL : "YYYY-MM-DDTHH:mm" , DATETIME _LOCAL _SECONDS : "YYYY-MM-DDTHH:mm:ss" , DATETIME _LOCAL _MS : "YYYY-MM-DDTHH:mm:ss.SSS" , DATE : "YYYY-MM-DD" , TIME : "HH:mm" , TIME _SECONDS : "HH:mm:ss" , TIME _MS : "HH:mm:ss.SSS" , WEEK : "GGGG-[W]WW" , MONTH : "YYYY-MM" } , o } ( ) } ) ) , vn = _n ( ( function ( n , e ) {
2020-11-20 22:42:14 +00:00
/ * !
* Chart . js v2 . 9.4
* https : //www.chartjs.org
* ( c ) 2020 Chart . js Contributors
* Released under the MIT License
* /
2020-11-29 18:40:28 +00:00
n . exports = function ( n ) { function e ( n , e ) { return n ( e = { exports : { } } , e . exports ) , e . exports } function t ( n ) { return n && n . default || n } n = n && n . hasOwnProperty ( "default" ) ? n . default : n ; var o = { aliceblue : [ 240 , 248 , 255 ] , antiquewhite : [ 250 , 235 , 215 ] , aqua : [ 0 , 255 , 255 ] , aquamarine : [ 127 , 255 , 212 ] , azure : [ 240 , 255 , 255 ] , beige : [ 245 , 245 , 220 ] , bisque : [ 255 , 228 , 196 ] , black : [ 0 , 0 , 0 ] , blanchedalmond : [ 255 , 235 , 205 ] , blue : [ 0 , 0 , 255 ] , blueviolet : [ 138 , 43 , 226 ] , brown : [ 165 , 42 , 42 ] , burlywood : [ 222 , 184 , 135 ] , cadetblue : [ 95 , 158 , 160 ] , chartreuse : [ 127 , 255 , 0 ] , chocolate : [ 210 , 105 , 30 ] , coral : [ 255 , 127 , 80 ] , cornflowerblue : [ 100 , 149 , 237 ] , cornsilk : [ 255 , 248 , 220 ] , crimson : [ 220 , 20 , 60 ] , cyan : [ 0 , 255 , 255 ] , darkblue : [ 0 , 0 , 139 ] , darkcyan : [ 0 , 139 , 139 ] , darkgoldenrod : [ 184 , 134 , 11 ] , darkgray : [ 169 , 169 , 169 ] , darkgreen : [ 0 , 100 , 0 ] , darkgrey : [ 169 , 169 , 169 ] , darkkhaki : [ 189 , 183 , 107 ] , darkmagenta : [ 139 , 0 , 139 ] , darkolivegreen : [ 85 , 107 , 47 ] , darkorange : [ 255 , 140 , 0 ] , darkorchid : [ 153 , 50 , 204 ] , darkred : [ 139 , 0 , 0 ] , darksalmon : [ 233 , 150 , 122 ] , darkseagreen : [ 143 , 188 , 143 ] , darkslateblue : [ 72 , 61 , 139 ] , darkslategray : [ 47 , 79 , 79 ] , darkslategrey : [ 47 , 79 , 79 ] , darkturquoise : [ 0 , 206 , 209 ] , darkviolet : [ 148 , 0 , 211 ] , deeppink : [ 255 , 20 , 147 ] , deepskyblue : [ 0 , 191 , 255 ] , dimgray : [ 105 , 105 , 105 ] , dimgrey : [ 105 , 105 , 105 ] , dodgerblue : [ 30 , 144 , 255 ] , firebrick : [ 178 , 34 , 34 ] , floralwhite : [ 255 , 250 , 240 ] , forestgreen : [ 34 , 139 , 34 ] , fuchsia : [ 255 , 0 , 255 ] , gainsboro : [ 220 , 220 , 220 ] , ghostwhite : [ 248 , 248 , 255 ] , gold : [ 255 , 215 , 0 ] , goldenrod : [ 218 , 165 , 32 ] , gray : [ 128 , 128 , 128 ] , green : [ 0 , 128 , 0 ] , greenyellow : [ 173 , 255 , 47 ] , grey : [ 128 , 128 , 128 ] , honeydew : [ 240 , 255 , 240 ] , hotpink : [ 255 , 105 , 180 ] , indianred : [ 205 , 92 , 92 ] , indigo : [ 75 , 0 , 130 ] , ivory : [ 255 , 255 , 240 ] , khaki : [ 240 , 230 , 140 ] , lavender : [ 230 , 230 , 250 ] , lavenderblush : [ 255 , 240 , 245 ] , lawngreen : [ 124 , 252 , 0 ] , lemonchiffon : [ 255 , 250 , 205 ] , lightblue : [ 173 , 216 , 230 ] , lightcoral : [ 240 , 128 , 128 ] , lightcyan : [ 224 , 255 , 255 ] , lightgoldenrodyellow : [ 250 , 250 , 210 ] , lightgray : [ 211 , 211 , 211 ] , lightgreen : [ 144 , 238 , 144 ] , lightgrey : [ 211 , 211 , 211 ] , lightpink : [ 255 , 182 , 193 ] , lightsalmon : [ 255 , 160 , 122 ] , lightseagreen : [ 32 , 178 , 170 ] , lightskyblue : [ 135 , 206 , 250 ] , lightslategray : [ 119 , 136 , 153 ] , lightslategrey : [ 119 , 136 , 153 ] , lightsteelblue : [ 176 , 196 , 222 ] , lightyellow : [ 255 , 255 , 224 ] , lime : [ 0 , 255 , 0 ] , limegreen : [ 50 , 205 , 50 ] , linen : [ 250 , 240 , 230 ] , magenta : [ 255 , 0 , 255 ] , maroon : [ 128 , 0 , 0 ] , mediumaquamarine : [ 102 , 205 , 170 ] , mediumblue : [ 0 , 0 , 205 ] , mediumorchid : [ 186 , 85 , 211 ] , mediumpurple : [ 147 , 112 , 219 ] , mediumseagreen : [ 60 , 179 , 113 ] , mediumslateblue : [ 123 , 104 , 238 ] , mediumspringgreen : [ 0 , 250 , 154 ] , mediumturquoise : [ 72 , 209 , 204 ] , mediumvioletred : [ 199 , 21 , 133 ] , midnightblue : [ 25 , 25 , 112 ] , mintcream : [ 245 , 255 , 250 ] , mistyrose : [ 255 , 228 , 225 ] , moccasin : [ 255 , 228 , 181 ] , navajowhite : [ 255 , 222 , 173 ] , navy : [ 0 , 0 , 128 ] , oldlace : [ 253 , 245 , 230 ] , olive : [ 128 , 128 , 0 ] , olivedrab : [ 107 , 142 , 35 ] , orange : [ 255 , 165 , 0 ] , orangered : [ 255 , 69 , 0 ] , orchid : [ 218 , 112 , 214 ] , palegoldenrod : [ 238 , 232 , 170 ] , palegreen : [ 152 , 251 , 152 ] , paleturquoise : [ 175 , 238 , 238 ] , palevioletred : [ 219 , 112 , 147 ] , papayawhip : [ 255 , 239 , 213 ] , peachpuff : [ 255 , 218 , 185 ] , peru : [ 205 , 133 , 63 ] , pink : [ 255 , 192 , 203 ] , plum : [ 221 , 160 , 221 ] , powderblue : [ 176 , 224 , 230 ] , purple : [ 128 , 0 , 128 ] , rebeccapurple : [ 102 , 51 , 153 ] , red : [ 255 , 0 , 0 ] , rosybrown : [ 188 , 143 , 143 ] , royalblue : [ 65 , 105 , 225 ] , saddlebrown : [ 139 , 69 , 19 ] , salmon : [ 250 , 128 , 114 ] , sandybrown : [ 244 , 164 , 96 ] , seagreen : [ 46 , 139 , 87 ] , seashell : [ 255 , 245 , 238 ] , sienna : [ 160 , 82 , 45 ] , silver : [ 192 , 192 , 192 ] , skyblue : [ 135 , 206 , 235 ] , slateblue : [ 106 , 90 , 205 ] , slategray : [ 112 , 128 , 144 ] , slategrey : [ 112 , 128 , 144 ] , snow : [ 255 , 250 , 250 ] , springgreen : [ 0 , 255 , 127 ] , steelblue : [ 70 , 130 , 180 ] , tan : [ 210 , 180 , 140 ] , teal : [ 0 , 128 , 128 ] , thistle : [ 216 , 191 , 216 ] , tomato : [ 255 , 99 , 71 ] , turquoise : [ 64 , 224 , 208 ] , violet : [ 238 , 130 , 238 ] , wheat : [ 245 , 222 , 179 ] , white : [ 255 , 255 , 255 ] , whitesmoke : [ 245 , 245 , 245 ] , yellow : [ 255 , 255 , 0 ] , yellowgreen : [ 154 , 205 , 50 ] } , a = e ( ( function ( n ) { var e = { } ; for ( var t in o ) o . hasOwnProperty ( t ) && ( e [ o [ t ] ] = t ) ; var a = n . exports = { rgb : { channels : 3 , labels : "rgb" } , hsl : { channels : 3 , labels : "hsl" } , hsv : { channels : 3 , labels : "hsv" } , hwb : { channels : 3 , labels : "hwb" } , cmyk : { channels : 4 , labels : "cmyk" } , xyz : { channels : 3 , labels : "xyz" } , lab : { channels : 3 , labels : "lab" } , lch : { channels : 3 , labels : "lch" } , hex : { channels : 1 , labels : [ "hex" ] } , keyword : { channels : 1 , labels : [ "keyword" ] } , ansi16 : { channels : 1 , labels : [ "ansi16" ] } , ansi256 : { channels : 1 , labels : [ "ansi256" ] } , hcg : { channels : 3 , labels : [ "h" , "c" , "g" ] } , apple : {
2020-11-27 17:37:56 +00:00
/ * *
* @ license
* Copyright ( c ) 2017 The Polymer Project Authors . All rights reserved .
* This code may only be used under the BSD style license found at
* http : //polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http : //polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
* http : //polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
* http : //polymer.github.io/PATENTS.txt
2020-11-29 17:10:12 +00:00
* / v a r w a ; c l a s s y a e x t e n d s c n { c o n s t r u c t o r ( ) { s u p e r ( . . . a r g u m e n t s ) , t h i s . d a t a = { } } s t a t i c g e t s t y l e s ( ) { r e t u r n [ h a ] } r e n d e r R o w s ( ) { r e t u r n t h i s . a p i E n d p o i n t ( ) . t h e n ( ( n = > t h i s . d a t a = n ) ) . t h e n ( ( ( ) = > t h i s . d a t a . r e s u l t s . m a p ( ( n = > { c o n s t e = [ ' < t r r o l e = " r o w " > ' ] . c o n c a t ( t h i s . r o w ( n ) . m a p ( ( n = > ` < t d r o l e = " c e l l " > $ { n } < / t d > ` ) ) ) ; r e t u r n e . p u s h ( " < / t r > " ) , G ( e ) } ) ) ) ) } r e n d e r ( ) { r e t u r n G ` < t a b l e c l a s s = " p f - c - t a b l e p f - m - c o m p a c t p f - m - g r i d - m d " > < t h e a d > < t r r o l e = " r o w " > $ { t h i s . c o l u m n s ( ) . m a p ( ( n = > G ` < t h r o l e = " c o l u m n h e a d e r " s c o p e = " c o l " > $ { n } < / t h > ` ) ) } < / t r > < / t h e a d > < t b o d y r o l e = " r o w g r o u p " > $ { x a ( t h i s . r e n d e r R o w s ( ) , G ` < t r r o l e = " r o w " > < t d > l o a d i n g . . . < / t d > < / t r > ` ) } < / t b o d y > < / t a b l e > ` } } l e t k a = c l a s s e x t e n d s y a { a p i E n d p o i n t ( ) { r e t u r n O n . f e t c h ( [ " p o l i c i e s " , " b i n d i n g s " ] , { t a r g e t : t h i s . t a r g e t , o r d e r i n g : " o r d e r " } ) } c o l u m n s ( ) { r e t u r n [ " P o l i c y " , " E n a b l e d " , " O r d e r " , " T i m e o u t " , " " ] } r o w ( n ) { r e t u r n [ n . p o l i c y _ o b j . n a m e , n . e n a b l e d , n . o r d e r , n . t i m e o u t , ` \ n < p b - m o d a l - b u t t o n h r e f = " a d m i n i s t r a t i o n / p o l i c i e s / b i n d i n g s / $ { n . p k } / u p d a t e / " > \ n < p b - s p i n n e r - b u t t o n s l o t = " t r i g g e r " c l a s s = " p f - m - s e c o n d a r y " > \ n E d i t \ n < / p b - s p i n n e r - b u t t o n > \ n < d i v s l o t = " m o d a l " > < / d i v > \ n < / p b - m o d a l - b u t t o n > \ n < p b - m o d a l - b u t t o n h r e f = " a d m i n i s t r a t i o n / p o l i c i e s / b i n d i n g s / $ { n . p k } / d e l e t e / " > \ n < p b - s p i n n e r - b u t t o n s l o t = " t r i g g e r " c l a s s = " p f - m - d a n g e r " > \ n D e l e t e \ n < / p b - s p i n n e r - b u t t o n > \ n < d i v s l o t = " m o d a l " > < / d i v > \ n < / p b - m o d a l - b u t t o n > \ n ` ] } } ; o ( [ t n ( ) ] , k a . p r o t o t y p e , " t a r g e t " , v o i d 0 ) , k a = o ( [ n n ( " p b - b o u n d - p o l i c i e s - l i s t " ) ] , k a ) ; l e t C a = c l a s s e x t e n d s c n { s e t a r g s ( n ) { t h i s . a p p l i c a t i o n S l u g = n . s l u g } s e t a p p l i c a t i o n S l u g ( n ) { ( c l a s s { s t a t i c g e t ( n ) { r e t u r n O n . f e t c h ( [ " c o r e " , " a p p l i c a t i o n s " , n ] ) } } ) . g e t ( n ) . t h e n ( ( n = > t h i s . a p p l i c a t i o n = n ) ) } s t a t i c g e t s t y l e s ( ) { r e t u r n h a . c o n c a t ( l n ` i m g . p f - i c o n { m a x - h e i g h t : 2 4 p x } ` ) } r e n d e r ( ) { r e t u r n t h i s . a p p l i c a t i o n ? G ` < s e c t i o n c l a s s = " p f - c - p a g e _ _ m a i n - s e c t i o n p f - m - l i g h t " > < d i v c l a s s = " p f - c - c o n t e n t " > < h 1 > < i m g c l a s s = " p f - i c o n " s r c = " $ { t h i s . a p p l i c a t i o n ? . m e t a _ i c o n | | " " } " > $ { t h i s . a p p l i c a t i o n ? . n a m e } < / h 1 > < p > $ { t h i s . a p p l i c a t i o n ? . m e t a _ p u b l i s h e r } < / p > < / d i v > < / s e c t i o n > < p b - t a b s > < s e c t i o n s l o t = " p a g e - 1 " t a b - t i t l e = " U s e r s " c l a s s = " p f - c - p a g e _ _ m a i n - s e c t i o n p f - m - n o - p a d d i n g - m o b i l e " > < d i v c l a s s = " p f - l - g a l l e r y p f - m - g u t t e r " > < d i v c l a s s = " p f - c - c a r d p f - c - c a r d - a g g r e g a t e p f - l - g a l l e r y _ _ i t e m p f - m - 4 - c o l " s t y l e = " g r i d - c o l u m n - e n d : s p a n 3 ; g r i d - r o w - e n d : s p a n 2 " > < d i v c l a s s = " p f - c - c a r d _ _ h e a d e r " > < d i v c l a s s = " p f - c - c a r d _ _ h e a d e r - m a i n " > < i c l a s s = " p f - i c o n p f - i c o n - s e r v e r " > < / i > L o g i n s o v e r t h e l a s t 2 4 h o u r s < / d i v > < / d i v > < d i v c l a s s = " p f - c - c a r d _ _ b o d y " > < p b - a d m i n - l o g i n s - c h a r t u r l = " $ { O n . m a k e U r l ( [ " c o r e " , " a p p l i c a t i o n s " , t h i s . a p p l i c a t i o n ? . s l u g , " m e t r i c s " ] ) } " > < / p b - a d m i n - l o g i n s - c h a r t > < / d i v > < / d i v > < / d i v > < / s e c t i o n > < d i v s l o t = " p a g e - 2 " t a b - t i t l e = " P o l i c y B i n d i n g s " c l a s s = " p f - c - p a g e _ _ m a i n - s e c t i o n p f - m - n o - p a d d i n g - m o b i l e " > < d i v c l a s s = " p f - c - c a r d " > < p b - b o u n d - p o l i c i e s - l i s t . t a r g e t = " $ { t h i s . a p p l i c a t i o n . p k } " > < / p b - b o u n d - p o l i c i e s - l i s t > < / d i v > < / d i v > < / p b - t a b s > ` : G ` ` } } ; v a r B a ; o ( [ t n ( ) ] , C a . p r o t o t y p e , " a r g s " , n u l l ) , o ( [ t n ( ) ] , C a . p r o t o t y p e , " a p p l i c a t i o n S l u g " , n u l l ) , o ( [ t n ( ) ] , C a . p r o t o t y p e , " a p p l i c a t i o n " , v o i d 0 ) , C a = o ( [ n n ( " p b - a p p l i c a t i o n - v i e w " ) ] , C a ) , f u n c t i o n ( n ) { n . r e d i r e c t = " r e d i r e c t " , n . t e m p l a t e = " t e m p l a t e " } ( B a | | ( B a = { } ) ) ; l e t P a = c l a s s e x t e n d s c n { c o n s t r u c t o r ( ) { s u p e r ( . . . a r g u m e n t s ) , t h i s . f l o w B o d y U r l = " " } c r e a t e R e n d e r R o o t ( ) { r e t u r n t h i s } f i r s t U p d a t e d ( ) { f e t c h ( t h i s . f l o w B o d y U r l ) . t h e n ( ( n = > { i f ( 4 0 4 = = = n . s t a t u s ) w i n d o w . l o c a t i o n . p a t h n a m e = " / " ; e l s e i f ( ! n . o k ) t h r o w E r r o r ( n . s t a t u s T e x t ) ; r e t u r n n } ) ) . t h e n ( ( n = > n . j s o n ( ) ) ) . t h e n ( ( n = > { t h i s . u p d a t e C a r d ( n ) } ) ) . c a t c h ( ( n = > { t h i s . e r r o r M e s s a g e ( n ) } ) ) } a s y n c u p d a t e C a r d ( n ) { s w i t c h ( n . t y p e ) { c a s e B a . r e d i r e c t : w i n d o w . l o c a t i o n . a s s i g n ( n . t o ) ; b r e a k ; c a s e B a . t e m p l a t e : t h i s . f l o w B o d y = n . b o d y , a w a i t t h i s . r e q u e s t U p d a t e ( ) , t h i s . c h e c k A u t o f o c u s ( ) , t h i s . l o a d F o r m C o d e ( ) , t h i s . s e t F o r m S u b m i t H a n d l e r s ( ) ; b r e a k ; d e f a u l t : c o n s o l e . d e b u g ( " p a s s b o o k / f l o w s : u n e x p e c t e d d a t a t y p e " + n . t y p e ) } } l o a d F o r m C o d e ( ) { t h i s . q u e r y S e l e c t o r A l l ( " s c r i p t " ) . f o r E a c h ( ( n = > { l e 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 . s r c = n . s r c , d o c u m e n t . h e a d . a p p e n d C h i l d ( e ) } ) ) } c h e c k A u t o f o c u s ( ) { c o n s t n = t h i s . q u e r y S e l e c t o r ( " [ a u t o f o c u s ] " ) ; n u l l ! = = n & & n . f o c u s ( ) } u p d a t e F o r m A c t i o n ( n ) { f o r ( l e t e = 0 ; e < n . e l e m e n t s . l e n g t h ; e + + ) { i f ( n . e l e m e n t s [ e ] . v a l u
2020-11-20 21:08:00 +00:00
//# sourceMappingURL=main.js.map