2019-09-14 13:27:45 +10:00
! function ( e ) { var n = { } ; function t ( l ) { if ( n [ l ] ) return n [ l ] . exports ; var r = n [ l ] = { i : l , l : ! 1 , exports : { } } ; return e [ l ] . call ( r . exports , r , r . exports , t ) , r . l = ! 0 , r . exports } t . m = e , t . c = n , t . d = function ( e , n , l ) { t . o ( e , n ) || Object . defineProperty ( e , n , { enumerable : ! 0 , get : l } ) } , t . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , t . t = function ( e , n ) { if ( 1 & n && ( e = t ( e ) ) , 8 & n ) return e ; if ( 4 & n && "object" == typeof e && e && e . _ _esModule ) return e ; var l = Object . create ( null ) ; if ( t . r ( l ) , Object . defineProperty ( l , "default" , { enumerable : ! 0 , value : e } ) , 2 & n && "string" != typeof e ) for ( var r in e ) t . d ( l , r , function ( n ) { return e [ n ] } . bind ( null , r ) ) ; return l } , t . n = function ( e ) { var n = e && e . _ _esModule ? function n ( ) { return e . default } : function n ( ) { return e } ; return t . d ( n , "a" , n ) , n } , t . o = function ( e , n ) { return Object . prototype . hasOwnProperty . call ( e , n ) } , t . p = "" , t ( t . s = 149 ) } ( [ function ( e , n ) { var t = e . exports = { } , l , r ; function a ( ) { throw new Error ( "setTimeout has not been defined" ) } function i ( ) { throw new Error ( "clearTimeout has not been defined" ) } function o ( e ) { if ( l === setTimeout ) return setTimeout ( e , 0 ) ; if ( ( l === a || ! l ) && setTimeout ) return l = setTimeout , setTimeout ( e , 0 ) ; try { return l ( e , 0 ) } catch ( n ) { try { return l . call ( null , e , 0 ) } catch ( n ) { return l . call ( this , e , 0 ) } } } function s ( e ) { if ( r === clearTimeout ) return clearTimeout ( e ) ; if ( ( r === i || ! r ) && clearTimeout ) return r = clearTimeout , clearTimeout ( e ) ; try { return r ( e ) } catch ( n ) { try { return r . call ( null , e ) } catch ( n ) { return r . call ( this , e ) } } } ! function ( ) { try { l = "function" == typeof setTimeout ? setTimeout : a } catch ( e ) { l = a } try { r = "function" == typeof clearTimeout ? clearTimeout : i } catch ( e ) { r = i } } ( ) ; var u = [ ] , c = ! 1 , p , h = - 1 ; function f ( ) { c && p && ( c = ! 1 , p . length ? u = p . concat ( u ) : h = - 1 , u . length && d ( ) ) } function d ( ) { if ( ! c ) { var e = o ( f ) ; c = ! 0 ; for ( var n = u . length ; n ; ) { for ( p = u , u = [ ] ; ++ h < n ; ) p && p [ h ] . run ( ) ; h = - 1 , n = u . length } p = null , c = ! 1 , s ( e ) } } function m ( e , n ) { this . fun = e , this . array = n } function g ( ) { } t . nextTick = function ( e ) { var n = new Array ( arguments . length - 1 ) ; if ( arguments . length > 1 ) for ( var t = 1 ; t < arguments . length ; t ++ ) n [ t - 1 ] = arguments [ t ] ; u . push ( new m ( e , n ) ) , 1 !== u . length || c || o ( d ) } , m . prototype . run = function ( ) { this . fun . apply ( null , this . array ) } , t . title = "browser" , t . browser = ! 0 , t . env = { } , t . argv = [ ] , t . version = "" , t . versions = { } , t . on = g , t . addListener = g , t . once = g , t . off = g , t . removeListener = g , t . removeAllListeners = g , t . emit = g , t . prependListener = g , t . prependOnceListener = g , t . listeners = function ( e ) { return [ ] } , t . binding = function ( e ) { throw new Error ( "process.binding is not supported" ) } , t . cwd = function ( ) { return "/" } , t . chdir = function ( e ) { throw new Error ( "process.chdir is not supported" ) } , t . umask = function ( ) { return 0 } } , function ( e , n ) { } , function ( e , n , t ) { ( function ( n , l ) { var r = t ( 21 ) , a = t ( 26 ) . Stream , i = t ( 3 ) , o = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/ ; function s ( e ) { return e . charAt ( 0 ) . toUpperCase ( ) + e . slice ( 1 ) } function u ( e , n , t , l , a ) { throw new r . AssertionError ( { message : i . format ( "%s (%s) is required" , e , n ) , actual : void 0 === a ? typeof l : a ( l ) , expected : n , operator : t || "===" , stackStartFunction : u . caller } ) } function c ( e ) { return Object . prototype . toString . call ( e ) . slice ( 8 , - 1 ) } function p ( ) { } var h = { bool : { check : function ( e ) { return "boolean" == typeof e } } , func : { check : function ( e ) { return "function" == typeof e } } , string : { check : function ( e ) { return "string" == typeof e } } , object : { check : function ( e ) { return "object" == typeof e && null !== e } } , number : { check : function ( e ) { return "number" == typeof e && ! isNaN ( e ) } } , finite : { check : function ( e ) { return "number" == typeof e && ! isNaN ( e ) && isFinite ( e ) } } , buffer : { check : function ( e ) { return n . isBuffer ( e ) } , operator : "Buffer.isBuffer" } , array : { check : function ( e ) { return Array . isArray ( e ) } , operator : "Array.isArray" } , stream : { check : function ( e ) { return e instanceof a } , operator : "instanceof" , actual : c } , date : { check : function ( e ) { return e instanceof Date } , operator : "instanceof" , actual : c } , regexp : { check : function ( e ) { return e instanceof RegExp } , operator : "instanceof" , actual : c } , uuid : { check : function ( e ) { return "string" == typeof e && o . test ( e ) } , operator : "isUUID" } } ; function f ( e ) { var n = Object . keys ( h ) , t ; return t = l . env . NODE _NDEBUG ? p : function ( e , n ) { e || u ( n , "true" , e ) } , n . forEach ( function ( n ) { if ( e ) t [ n ] = p ; else { var l = h [ n ] ; t [ n ] = f
2019-09-12 09:43:26 +10:00
/ * !
* The buffer module from node . js , for the browser .
*
2019-09-13 15:05:44 +10:00
* @ author Feross Aboukhadijeh < feross @ feross . org > < http : //feross.org>
* @ license MIT
* /
2019-09-14 13:27:45 +10:00
var l = t ( 155 ) , r = t ( 156 ) , a = t ( 59 ) ; function i ( ) { try { var e = new Uint8Array ( 1 ) ; return e . _ _proto _ _ = { _ _proto _ _ : Uint8Array . prototype , foo : function ( ) { return 42 } } , 42 === e . foo ( ) && "function" == typeof e . subarray && 0 === e . subarray ( 1 , 1 ) . byteLength } catch ( e ) { return ! 1 } } function o ( ) { return u . TYPED _ARRAY _SUPPORT ? 2147483647 : 1073741823 } function s ( e , n ) { if ( o ( ) < n ) throw new RangeError ( "Invalid typed array length" ) ; return u . TYPED _ARRAY _SUPPORT ? ( e = new Uint8Array ( n ) , e . _ _proto _ _ = u . prototype ) : ( null === e && ( e = new u ( n ) ) , e . length = n ) , e } function u ( e , n , t ) { if ( ! ( u . TYPED _ARRAY _SUPPORT || this instanceof u ) ) return new u ( e , n , t ) ; if ( "number" == typeof e ) { if ( "string" == typeof n ) throw new Error ( "If encoding is specified then the first argument must be a string" ) ; return f ( this , e ) } return c ( this , e , n , t ) } function c ( e , n , t , l ) { if ( "number" == typeof n ) throw new TypeError ( '"value" argument must not be a number' ) ; return "undefined" != typeof ArrayBuffer && n instanceof ArrayBuffer ? g ( e , n , t , l ) : "string" == typeof n ? d ( e , n , t ) : v ( e , n ) } function p ( e ) { if ( "number" != typeof e ) throw new TypeError ( '"size" argument must be a number' ) ; if ( e < 0 ) throw new RangeError ( '"size" argument must not be negative' ) } function h ( e , n , t , l ) { return p ( n ) , n <= 0 ? s ( e , n ) : void 0 !== t ? "string" == typeof l ? s ( e , n ) . fill ( t , l ) : s ( e , n ) . fill ( t ) : s ( e , n ) } function f ( e , n ) { if ( p ( n ) , e = s ( e , n < 0 ? 0 : 0 | y ( n ) ) , ! u . TYPED _ARRAY _SUPPORT ) for ( var t = 0 ; t < n ; ++ t ) e [ t ] = 0 ; return e } function d ( e , n , t ) { if ( "string" == typeof t && "" !== t || ( t = "utf8" ) , ! u . isEncoding ( t ) ) throw new TypeError ( '"encoding" must be a valid string encoding' ) ; var l = 0 | w ( n , t ) ; e = s ( e , l ) ; var r = e . write ( n , t ) ; return r !== l && ( e = e . slice ( 0 , r ) ) , e } function m ( e , n ) { var t = n . length < 0 ? 0 : 0 | y ( n . length ) ; e = s ( e , t ) ; for ( var l = 0 ; l < t ; l += 1 ) e [ l ] = 255 & n [ l ] ; return e } function g ( e , n , t , l ) { if ( n . byteLength , t < 0 || n . byteLength < t ) throw new RangeError ( "'offset' is out of bounds" ) ; if ( n . byteLength < t + ( l || 0 ) ) throw new RangeError ( "'length' is out of bounds" ) ; return n = void 0 === t && void 0 === l ? new Uint8Array ( n ) : void 0 === l ? new Uint8Array ( n , t ) : new Uint8Array ( n , t , l ) , u . TYPED _ARRAY _SUPPORT ? ( e = n , e . _ _proto _ _ = u . prototype ) : e = m ( e , n ) , e } function v ( e , n ) { if ( u . isBuffer ( n ) ) { var t = 0 | y ( n . length ) ; return e = s ( e , t ) , 0 === e . length ? e : ( n . copy ( e , 0 , 0 , t ) , e ) } if ( n ) { if ( "undefined" != typeof ArrayBuffer && n . buffer instanceof ArrayBuffer || "length" in n ) return "number" != typeof n . length || ne ( n . length ) ? s ( e , 0 ) : m ( e , n ) ; if ( "Buffer" === n . type && a ( n . data ) ) return m ( e , n . data ) } throw new TypeError ( "First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object." ) } function y ( e ) { if ( e >= o ( ) ) throw new RangeError ( "Attempt to allocate Buffer larger than maximum size: 0x" + o ( ) . toString ( 16 ) + " bytes" ) ; return 0 | e } function b ( e ) { return + e != e && ( e = 0 ) , u . alloc ( + e ) } function w ( e , n ) { if ( u . isBuffer ( e ) ) return e . length ; if ( "undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer . isView && ( ArrayBuffer . isView ( e ) || e instanceof ArrayBuffer ) ) return e . byteLength ; "string" != typeof e && ( e = "" + e ) ; var t = e . length ; if ( 0 === t ) return 0 ; for ( var l = ! 1 ; ; ) switch ( n ) { case "ascii" : case "latin1" : case "binary" : return t ; case "utf8" : case "utf-8" : case void 0 : return J ( e ) . length ; case "ucs2" : case "ucs-2" : case "utf16le" : case "utf-16le" : return 2 * t ; case "hex" : return t >>> 1 ; case "base64" : return X ( e ) . length ; default : if ( l ) return J ( e ) . length ; n = ( "" + n ) . toLowerCase ( ) , l = ! 0 } } function k ( e , n , t ) { var l = ! 1 ; if ( ( void 0 === n || n < 0 ) && ( n = 0 ) , n > this . length ) return "" ; if ( ( void 0 === t || t > this . length ) && ( t = this . length ) , t <= 0 ) return "" ; if ( t >>>= 0 , n >>>= 0 , t <= n ) return "" ; for ( e || ( e = "utf8" ) ; ; ) switch ( e ) { case "hex" : return B ( this , n , t ) ; case "utf8" : case "utf-8" : return O ( this , n , t ) ; case "ascii" : return D ( this , n , t ) ; case "latin1" : case "binary" : return I ( this , n , t ) ; case "base64" : return C ( this , n , t ) ; case "ucs2" : case "ucs-2" : case "utf16le" : case "utf-16le" : return q ( this , n , t ) ; default : if ( l ) throw new TypeError ( "Unknown encoding: " + e ) ; e = ( e + "" ) . toLowerCase ( ) , l = ! 0 } } function x ( e , n , t ) { var l = e [ n ] ; e [ n ] = e [ t ] , e [ t ] = l } function _ ( e , n , t , l , r ) { if ( 0 === e . length ) return - 1 ; if ( "string" == typeof t ? ( l = t , t = 0 ) : t > 2147483647 ? t = 2147483647 : t < - 2147483648 && ( t = - 2147483648 ) , t = + t , isNaN ( t ) && ( t = r ? 0 : e . length - 1 ) , t < 0 && ( t = e . length + t ) , t >= e . length ) { if ( r ) return - 1 ; t = e . length - 1 } else if ( t < 0 ) { if ( ! r ) return - 1 ; t = 0 } if ( "string" == typeof n && ( n = u . from ( n , l ) ) , u . isBuffer ( n ) ) return 0 === n . length ? - 1 : j ( e , n , t , l ,
2019-09-12 09:43:26 +10:00
/ * !
2019-09-14 13:27:45 +10:00
* The buffer module from node . js , for the browser .
*
* @ author Feross Aboukhadijeh < feross @ feross . org > < http : //feross.org>
* @ license MIT
* /function r(e,n){if(e===n)return 0;for(var t=e.length,l=n.length,r=0,a=Math.min(t,l);r<a;++r)if(e[r]!==n[r]){t=e[r],l=n[r];break}return t<l?-1:l<t?1:0}function a(e){return n.Buffer&&"function"==typeof n.Buffer.isBuffer?n.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var i=t(3),o=Object.prototype.hasOwnProperty,s=Array.prototype.slice,u="foo"===function e(){}.name;function c(e){return Object.prototype.toString.call(e)}function p(e){return!a(e)&&("function"==typeof n.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var h=e.exports=b,f=/ \ s * function \ s + ( [ ^ \ ( \ s ] * ) \ s * / ; f u n c t i o n d ( e ) { i f ( i . i s F u n c t i o n ( e ) ) { i f ( u ) r e t u r n e . n a m e ; v a r n = e . t o S t r i n g ( ) , t = n . m a t c h ( f ) ; r e t u r n t & & t [ 1 ] } } f u n c t i o n m ( e , n ) { r e t u r n " s t r i n g " = = t y p e o f e ? e . l e n g t h < n ? e : e . s l i c e ( 0 , n ) : e } f u n c t i o n g ( e ) { i f ( u | | ! i . i s F u n c t i o n ( e ) ) r e t u r n i . i n s p e c t ( e ) ; v a r n = d ( e ) , t = n ? " : " + n : " " ; r e t u r n " [ F u n c t i o n " + t + " ] " } f u n c t i o n v ( e ) { r e t u r n m ( g ( e . a c t u a l ) , 1 2 8 ) + " " + e . o p e r a t o r + " " + m ( g ( e . e x p e c t e d ) , 1 2 8 ) } f u n c t i o n y ( e , n , t , l , r ) { t h r o w n e w h . A s s e r t i o n E r r o r ( { m e s s a g e : t , a c t u a l : e , e x p e c t e d : n , o p e r a t o r : l , s t a c k S t a r t F u n c t i o n : r } ) } f u n c t i o n b ( e , n ) { e | | y ( e , ! 0 , n , " = = " , h . o k ) } f u n c t i o n w ( e , n , t , l ) { i f ( e = = = n ) r e t u r n ! 0 ; i f ( a ( e ) & & a ( n ) ) r e t u r n 0 = = = r ( e , n ) ; i f ( i . i s D a t e ( e ) & & i . i s D a t e ( n ) ) r e t u r n e . g e t T i m e ( ) = = = n . g e t T i m e ( ) ; i f ( i . i s R e g E x p ( e ) & & i . i s R e g E x p ( n ) ) r e t u r n e . s o u r c e = = = n . s o u r c e & & e . g l o b a l = = = n . g l o b a l & & e . m u l t i l i n e = = = n . m u l t i l i n e & & e . l a s t I n d e x = = = n . l a s t I n d e x & & e . i g n o r e C a s e = = = n . i g n o r e C a s e ; i f ( n u l l ! = = e & & " o b j e c t " = = t y p e o f e | | n u l l ! = = n & & " o b j e c t " = = t y p e o f n ) { i f ( p ( e ) & & p ( n ) & & c ( e ) = = = c ( n ) & & ! ( e i n s t a n c e o f F l o a t 3 2 A r r a y | | e i n s t a n c e o f F l o a t 6 4 A r r a y ) ) r e t u r n 0 = = = r ( n e w U i n t 8 A r r a y ( e . b u f f e r ) , n e w U i n t 8 A r r a y ( n . b u f f e r ) ) ; i f ( a ( e ) ! = = a ( n ) ) r e t u r n ! 1 ; l = l | | { a c t u a l : [ ] , e x p e c t e d : [ ] } ; v a r o = l . a c t u a l . i n d e x O f ( e ) ; r e t u r n - 1 ! = = o & & o = = = l . e x p e c t e d . i n d e x O f ( n ) | | ( l . a c t u a l . p u s h ( e ) , l . e x p e c t e d . p u s h ( n ) , x ( e , n , t , l ) ) } r e t u r n t ? e = = = n : e = = n } f u n c t i o n k ( e ) { r e t u r n " [ o b j e c t A r g u m e n t s ] " = = O b j e c t . p r o t o t y p e . t o S t r i n g . c a l l ( e ) } f u n c t i o n x ( e , n , t , l ) { i f ( n u l l = = = e | | v o i d 0 = = = e | | n u l l = = = n | | v o i d 0 = = = n ) r e t u r n ! 1 ; i f ( i . i s P r i m i t i v e ( e ) | | i . i s P r i m i t i v e ( n ) ) r e t u r n e = = = n ; i f ( t & & O b j e c t . g e t P r o t o t y p e O f ( e ) ! = = O b j e c t . g e t P r o t o t y p e O f ( n ) ) r e t u r n ! 1 ; v a r r = k ( e ) , a = k ( n ) ; i f ( r & & ! a | | ! r & & a ) r e t u r n ! 1 ; i f ( r ) r e t u r n e = s . c a l l ( e ) , n = s . c a l l ( n ) , w ( e , n , t ) ; v a r o = T ( e ) , u = T ( n ) , c , p ; i f ( o . l e n g t h ! = = u . l e n g t h ) r e t u r n ! 1 ; f o r ( o . s o r t ( ) , u . s o r t ( ) , p = o . l e n g t h - 1 ; p > = 0 ; p - - ) i f ( o [ p ] ! = = u [ p ] ) r e t u r n ! 1 ; f o r ( p = o . l e n g t h - 1 ; p > = 0 ; p - - ) i f ( c = o [ p ] , ! w ( e [ c ] , n [ c ] , t , l ) ) r e t u r n ! 1 ; r e t u r n ! 0 } f u n c t i o n _ ( e , n , t ) { w ( e , n , ! 0 ) & & y ( e , n , t , " n o t D e e p S t r i c t E q u a l " , _ ) } f u n c t i o n j ( e , n ) { i f ( ! e | | ! n ) r e t u r n ! 1 ; i f ( " [ o b j e c t R e g E x p ] " = = O b j e c t . p r o t o t y p e . t o S t r i n g . c a l l ( n ) ) r e t u r n n . t e s t ( e ) ; t r y { i f ( e i n s t a n c e o f n ) r e t u r n ! 0 } c a t c h ( e ) { } r e t u r n ! E r r o r . i s P r o t o t y p e O f ( n ) & & ! 0 = = = n . c a l l ( { } , e ) } f u n c t i o n S ( e ) { v a r n ; t r y { e ( ) } c a t c h ( e ) { n = e } r e t u r n n } f u n c t i o n E ( e , n , t , l ) { v a r r ; i f ( " f u n c t i o n " ! = t y p e o f n ) t h r o w n e w T y p e E r r o r ( ' " b l o c k " a r g u m e n t m u s t b e a f u n c t i o n ' ) ; " s t r i n g " = = t y p e o f t & & ( l = t , t = n u l l ) , r = S ( n ) , l = ( t & & t . n a m e ? " ( " + t . n a m e + " ) . " : " . " ) + ( l ? " " + l : " . " ) , e & & ! r & & y ( r , t , " M i s s i n g e x p e c t e d e x c e p t i o n " + l ) ; v a r a = " s t r i n g " = = t y p e o f l , o = ! e & & i . i s E r r o r ( r ) , s = ! e & & r & & ! t ; i f ( ( o & & a & & j ( r , t ) | | s ) & & y ( r , t , " G o t u n w a n t e d e x c e p t i o n " + l ) , e & & r & & t & & ! j ( r , t ) | | ! e & & r ) t h r o w r } f u n c t i o n A ( e , n ) { e | | y ( e , ! 0 , n , " = = " , A ) } h . A s s e r t i o n E r r o r = f u n c t i o n e ( n ) { t h i s . n a m e = " A s s e r t i o n E r r o r " , t h i s . a c t u a l = n . a c t u a l , t h i s . e x p e c t e d = n . e x p e c t e d , t h i s . o p e r a t o r = n . o p e r a t o r , n . m e s s a g e ? ( t h i s . m e s s a g e = n . m e s s a g e , t h i s . g e n e r a t e d M e s s a g e = ! 1 ) : ( t h i s . m e s s a g e = v ( t h i s ) , t h i s . g e n e r a t e d M e s s a g e = ! 0 ) ; v a r t = n . s t a c k S t a r t F u n c t i o n | | y ; i f ( E r r o r . c a p t u r e S t a c k T r a c e ) E r r o r . c a p t u r e S t a c k T r a c e ( t h i s , t ) ; e l s e { v a r l = n e w E r r o r ; i f ( l . s t a c k ) { v a r r = l . s t a c k , a = d ( t ) , i = r . i n d e x O f ( " \ n " + a ) ; i f ( i > = 0 ) { v a r o = r . i n d e x O f ( " \ n " , i + 1 ) ; r = r . s u b s t r i n g ( o + 1 ) } t h i s . s t a c k = r } } } , i . i n h e r i t s ( h . A s s e r t i o n E r r o r , E r r o r ) , h . f a i l = y , h . o k = b , h . e q u a l = f u n c t i o n e ( n , t , l ) { n ! = t & & y ( n , t , l , " = = " , h . e q u a l ) } , h . n o t E q u a l = f u n c t i o n e ( n , t , l ) { n = = t & & y ( n , t , l , " ! = " , h . n o t E q u a l ) } , h . d e e p E q u a l = f u n c t i o n e ( n , t , l ) { w ( n , t , ! 1 ) | | y ( n , t , l , " d e e p E q u a l " , h . d e e p E q u a l ) } , h . d e e p S t r i c t E q u a l = f u n c t i o n e ( n , t , l ) { w ( n , t , ! 0 ) | | y ( n , t , l , " d e e p S t r i c t E q u a l " , h . d e e p S t r i c t E q u a l ) } , h . n o t D e e p E q u a l = f u n c t i o n e ( n , t , l ) { w ( n , t , ! 1 ) & & y ( n , t , l , " n o t D e e p E q u a l " , h . n o t D e e p E q u a l ) } , h . n o t D e e p S t r i c t E q u a l = _ , h . s t r i c t E q u a l = f u n c t i o n e (
/ * !
* Copyright ( c ) 2018 , Salesforce . com , Inc .
2019-09-12 09:43:26 +10:00
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* /var l=t(107);function r(e){return l.get(e)}n.getPublicSuffix=r},function(e,n,t){"use strict";var l=t(46),r={};r.rules=t(213).map(function(e){return{rule:e,suffix:e.replace(/ ^ ( \ * \ . | \ ! ) / , "" ) , punySuffix : - 1 , wildcard : "*" === e . charAt ( 0 ) , exception : "!" === e . charAt ( 0 ) } } ) , r . endsWith = function ( e , n ) { return - 1 !== e . indexOf ( n , e . length - n . length ) } , r . findRule = function ( e ) { var n = l . toASCII ( e ) ; return r . rules . reduce ( function ( e , t ) { return - 1 === t . punySuffix && ( t . punySuffix = l . toASCII ( t . suffix ) ) , r . endsWith ( n , "." + t . punySuffix ) || n === t . punySuffix ? t : e } , null ) } , n . errorCodes = { DOMAIN _TOO _SHORT : "Domain name too short." , DOMAIN _TOO _LONG : "Domain name too long. It should be no more than 255 chars." , LABEL _STARTS _WITH _DASH : "Domain name label can not start with a dash." , LABEL _ENDS _WITH _DASH : "Domain name label can not end with a dash." , LABEL _TOO _LONG : "Domain name label should be at most 63 chars long." , LABEL _TOO _SHORT : "Domain name label should be at least 1 character long." , LABEL _INVALID _CHARS : "Domain name label can only contain alphanumeric characters or dashes." } , r . validate = function ( e ) { var n = l . toASCII ( e ) ; if ( n . length < 1 ) return "DOMAIN_TOO_SHORT" ; if ( n . length > 255 ) return "DOMAIN_TOO_LONG" ; for ( var t = n . split ( "." ) , r , a = 0 ; a < t . length ; ++ a ) { if ( r = t [ a ] , ! r . length ) return "LABEL_TOO_SHORT" ; if ( r . length > 63 ) return "LABEL_TOO_LONG" ; if ( "-" === r . charAt ( 0 ) ) return "LABEL_STARTS_WITH_DASH" ; if ( "-" === r . charAt ( r . length - 1 ) ) return "LABEL_ENDS_WITH_DASH" ; if ( ! /^[a-z0-9\-]+$/ . test ( r ) ) return "LABEL_INVALID_CHARS" } } , n . parse = function ( e ) { if ( "string" != typeof e ) throw new TypeError ( "Domain name must be a string." ) ; var t = e . slice ( 0 ) . toLowerCase ( ) ; "." === t . charAt ( t . length - 1 ) && ( t = t . slice ( 0 , t . length - 1 ) ) ; var a = r . validate ( t ) ; if ( a ) return { input : e , error : { message : n . errorCodes [ a ] , code : a } } ; var i = { input : e , tld : null , sld : null , domain : null , subdomain : null , listed : ! 1 } , o = t . split ( "." ) ; if ( "local" === o [ o . length - 1 ] ) return i ; var s = function ( ) { return /xn--/ . test ( t ) ? ( i . domain && ( i . domain = l . toASCII ( i . domain ) ) , i . subdomain && ( i . subdomain = l . toASCII ( i . subdomain ) ) , i ) : i } , u = r . findRule ( t ) ; if ( ! u ) return o . length < 2 ? i : ( i . tld = o . pop ( ) , i . sld = o . pop ( ) , i . domain = [ i . sld , i . tld ] . join ( "." ) , o . length && ( i . subdomain = o . pop ( ) ) , s ( ) ) ; i . listed = ! 0 ; var c = u . suffix . split ( "." ) , p = o . slice ( 0 , o . length - c . length ) ; return u . exception && p . push ( c . shift ( ) ) , i . tld = c . join ( "." ) , p . length ? ( u . wildcard && ( c . unshift ( p . pop ( ) ) , i . tld = c . join ( "." ) ) , p . length ? ( i . sld = p . pop ( ) , i . domain = [ i . sld , i . tld ] . join ( "." ) , p . length && ( i . subdomain = p . join ( "." ) ) , s ( ) ) : s ( ) ) : s ( ) } , n . get = function ( e ) { return e && n . parse ( e ) . domain || null } , n . isValid = function ( e ) { var t = n . parse ( e ) ; return Boolean ( t . domain && t . listed ) } } , function ( e , n , t ) { "use strict" ;
2019-09-12 09:43:26 +10:00
/ * !
* Copyright ( c ) 2015 , Salesforce . com , Inc .
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* / f u n c t i o n l ( ) { } n . S t o r e = l , l . p r o t o t y p e . s y n c h r o n o u s = ! 1 , l . p r o t o t y p e . f i n d C o o k i e = f u n c t i o n ( e , n , t , l ) { t h r o w n e w E r r o r ( " f i n d C o o k i e i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . f i n d C o o k i e s = f u n c t i o n ( e , n , t ) { t h r o w n e w E r r o r ( " f i n d C o o k i e s i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . p u t C o o k i e = f u n c t i o n ( e , n ) { t h r o w n e w E r r o r ( " p u t C o o k i e i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . u p d a t e C o o k i e = f u n c t i o n ( e , n , t ) { t h r o w n e w E r r o r ( " u p d a t e C o o k i e i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . r e m o v e C o o k i e = f u n c t i o n ( e , n , t , l ) { t h r o w n e w E r r o r ( " r e m o v e C o o k i e i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . r e m o v e C o o k i e s = f u n c t i o n ( e , n , t ) { t h r o w n e w E r r o r ( " r e m o v e C o o k i e s i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . g e t A l l C o o k i e s = f u n c t i o n ( e ) { t h r o w n e w E r r o r ( " g e t A l l C o o k i e s i s n o t i m p l e m e n t e d ( t h e r e f o r e j a r c a n n o t b e s e r i a l i z e d ) " ) } } , f u n c t i o n ( e , n , t ) { " u s e s t r i c t " ;
2019-09-12 09:43:26 +10:00
/ * !
* Copyright ( c ) 2015 , Salesforce . com , Inc .
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* / v a r l = t ( 1 0 6 ) ; f u n c t i o n r ( e ) { v a r n = l . g e t P u b l i c S u f f i x ( e ) ; i f ( ! n ) r e t u r n n u l l ; i f ( n = = e ) r e t u r n [ e ] ; f o r ( v a r t = e . s l i c e ( 0 , - ( n . l e n g t h + 1 ) ) , r = t . s p l i t ( " . " ) . r e v e r s e ( ) , a = n , i = [ a ] ; r . l e n g t h ; ) a = r . s h i f t ( ) + " . " + a , i . p u s h ( a ) ; r e t u r n i } n . p e r m u t e D o m a i n = r } , f u n c t i o n ( e , n , t ) { " u s e s t r i c t " ;
2019-09-12 09:43:26 +10:00
/ * !
* Copyright ( c ) 2015 , Salesforce . com , Inc .
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* /function l(e,n){if(n===e)return!0;var t=e.indexOf(n);if(0===t){if("/ "===n.substr(-1))return!0;if(" / "===e.substr(n.length,1))return!0}return!1}n.pathMatch=l},function(e,n,t){(function(e){n.fetch=o(e.fetch)&&o(e.ReadableStream),n.writableStream=o(e.WritableStream),n.abortController=o(e.AbortController),n.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),n.blobConstructor=!0}catch(e){}var t;function l(){if(void 0!==t)return t;if(e.XMLHttpRequest){t=new e.XMLHttpRequest;try{t.open(" GET ",e.XDomainRequest?" / ":" https : //example.com")}catch(e){t=null}}else t=null;return t}function r(e){var n=l();if(!n)return!1;try{return n.responseType=e,n.responseType===e}catch(e){}return!1}var a=void 0!==e.ArrayBuffer,i=a&&o(e.ArrayBuffer.prototype.slice);function o(e){return"function"==typeof e}n.arraybuffer=n.fetch||a&&r("arraybuffer"),n.msstream=!n.fetch&&i&&r("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&a&&r("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||!!l()&&o(l().overrideMimeType),n.vbArray=o(e.VBArray),t=null}).call(this,t(9))},function(e,n){"function"==typeof Object.create?e.exports=function e(n,t){t&&(n.super_=t,n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function e(n,t){if(t){n.super_=t;var l=function(){};l.prototype=t.prototype,n.prototype=new l,n.prototype.constructor=n}}},function(e,n,t){(function(e,l,r){var a=t(111),i=t(112),o=t(114),s=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},u=n.IncomingMessage=function(n,t,i,s){var u=this;if(o.Readable.call(u),u._mode=i,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){e.nextTick(function(){u.emit("close")})}),"fetch"===i){if(u._fetchResponse=t,u.url=t.url,u.statusCode=t.status,u.statusMessage=t.statusText,t.headers.forEach(function(e,n){u.headers[n.toLowerCase()]=e,u.rawHeaders.push(n,e)}),a.writableStream){var c=new WritableStream({write:function(e){return new Promise(function(n,t){u._destroyed?t():u.push(new l(e))?n():u._resumeFetch=n})},close:function(){r.clearTimeout(s),u._destroyed||u.push(null)},abort:function(e){u._destroyed||u.emit("error",e)}});try{return void t.body.pipeTo(c).catch(function(e){r.clearTimeout(s),u._destroyed||u.emit("error",e)})}catch(e){}}var p=t.body.getReader();function h(){p.read().then(function(e){if(!u._destroyed){if(e.done)return r.clearTimeout(s),void u.push(null);u.push(new l(e.value)),h()}}).catch(function(e){r.clearTimeout(s),u._destroyed||u.emit("error",e)})}h()}else{u._xhr=n,u._pos=0,u.url=n.responseURL,u.statusCode=n.status,u.statusMessage=n.statusText;var f=n.getAllResponseHeaders().split(/\r?\n/);if(f.forEach(function(e){var n=e.match(/^([^:]+):\s*(.*)/);if(n){var t=n[1].toLowerCase();"set-cookie"===t?(void 0===u.headers[t]&&(u.headers[t]=[]),u.headers[t].push(n[2])):void 0!==u.headers[t]?u.headers[t]+=", "+n[2]:u.headers[t]=n[2],u.rawHeaders.push(n[1],n[2])}}),u._charset="x-user-defined",!a.overrideMimeType){var d=u.rawHeaders["mime-type"];if(d){var m=d.match(/;\s*charset=([^;])(;|$)/);m&&(u._charset=m[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};i(u,o.Readable),u.prototype._read=function(){var e=this,n=this._resumeFetch;n&&(this._resumeFetch=null,n())},u.prototype._onXHRProgress=function(){var e=this,n=e._xhr,t=null;switch(e._mode){case"text:vbarray":if(n.readyState!==s.DONE)break;try{t=new r.VBArray(n.responseBody).toArray()}catch(e){}if(null!==t){e.push(new l(t));break}case"text":try{t=n.responseText}catch(n){e._mode="text:vbarray";break}if(t.length>e._pos){var a=t.substr(e._pos);if("x-user-defined"===e._charset){for(var i=new l(a.length),o=0;o<a.length;o++)i[o]=255&a.charCodeAt(o);e.push(i)}else e.push(a,e._charset);e._pos=t.length}break;case"arraybuffer":if(n.readyState!==s.DONE||!n.response)break;t=n.response,e.push(new l(new Uint8Array(t)));break;case"moz-chunked-arraybuffer":if(t=n.response,n.readyState!==s.LOADING||!t)break;e.push(new l(new Uint8Array(t)));break;case"ms-stream":if(t=n.response,n.readyState!==s.LOADING)break;var u=new r.MSStreamReader;u.onprogress=function(){u.result.
2019-09-12 09:43:26 +10:00
/ * !
* Copyright ( c ) 2018 , Salesforce . com , Inc .
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* / v a r l = t ( 1 0 7 ) ; f u n c t i o n r ( e ) { r e t u r n l . g e t ( e ) } n . g e t P u b l i c S u f f i x = r } , f u n c t i o n ( e , n , t ) { " u s e s t r i c t " ;
2019-09-12 09:43:26 +10:00
/ * !
* Copyright ( c ) 2015 , Salesforce . com , Inc .
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* / f u n c t i o n l ( ) { } n . S t o r e = l , l . p r o t o t y p e . s y n c h r o n o u s = ! 1 , l . p r o t o t y p e . f i n d C o o k i e = f u n c t i o n ( e , n , t , l ) { t h r o w n e w E r r o r ( " f i n d C o o k i e i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . f i n d C o o k i e s = f u n c t i o n ( e , n , t ) { t h r o w n e w E r r o r ( " f i n d C o o k i e s i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . p u t C o o k i e = f u n c t i o n ( e , n ) { t h r o w n e w E r r o r ( " p u t C o o k i e i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . u p d a t e C o o k i e = f u n c t i o n ( e , n , t ) { t h r o w n e w E r r o r ( " u p d a t e C o o k i e i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . r e m o v e C o o k i e = f u n c t i o n ( e , n , t , l ) { t h r o w n e w E r r o r ( " r e m o v e C o o k i e i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . r e m o v e C o o k i e s = f u n c t i o n ( e , n , t ) { t h r o w n e w E r r o r ( " r e m o v e C o o k i e s i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . r e m o v e A l l C o o k i e s = f u n c t i o n ( e ) { t h r o w n e w E r r o r ( " r e m o v e A l l C o o k i e s i s n o t i m p l e m e n t e d " ) } , l . p r o t o t y p e . g e t A l l C o o k i e s = f u n c t i o n ( e ) { t h r o w n e w E r r o r ( " g e t A l l C o o k i e s i s n o t i m p l e m e n t e d ( t h e r e f o r e j a r c a n n o t b e s e r i a l i z e d ) " ) } } , f u n c t i o n ( e , n , t ) { " u s e s t r i c t " ;
2019-09-12 09:43:26 +10:00
/ * !
* Copyright ( c ) 2015 , Salesforce . com , Inc .
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* / v a r l = t ( 1 4 5 ) ; f u n c t i o n r ( e ) { v a r n = l . g e t P u b l i c S u f f i x ( e ) ; i f ( ! n ) r e t u r n n u l l ; i f ( n = = e ) r e t u r n [ e ] ; f o r ( v a r t = e . s l i c e ( 0 , - ( n . l e n g t h + 1 ) ) , r = t . s p l i t ( " . " ) . r e v e r s e ( ) , a = n , i = [ a ] ; r . l e n g t h ; ) a = r . s h i f t ( ) + " . " + a , i . p u s h ( a ) ; r e t u r n i } n . p e r m u t e D o m a i n = r } , f u n c t i o n ( e , n , t ) { " u s e s t r i c t " ;
2019-09-12 09:43:26 +10:00
/ * !
* Copyright ( c ) 2015 , Salesforce . com , Inc .
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* /function l(e,n){if(n===e)return!0;var t=e.indexOf(n);if(0===t){if("/ "===n.substr(-1))return!0;if(" / "===e.substr(n.length,1))return!0}return!1}n.pathMatch=l},function(e,n,t){const l=t(24);t(197),t(205),t(206),t(207),t(208),t(387)," undefined "!=typeof window&&(window.DwebTransports=l),n=e.exports=l},function(e,n,t){" use strict ";e.exports={isString:function(e){return" string "==typeof e},isObject:function(e){return" object "==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,n,t){" use strict ";function l(e,n){return Object.prototype.hasOwnProperty.call(e,n)}e.exports=function(e,n,t,a){n=n||" & ",t=t||" = ";var i={};if(" string "!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(n);var s=1e3;a&&" number "==typeof a.maxKeys&&(s=a.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var c=0;c<u;++c){var p=e[c].replace(o," % 20 "),h=p.indexOf(t),f,d,m,g;h>=0?(f=p.substr(0,h),d=p.substr(h+1)):(f=p,d=" "),m=decodeURIComponent(f),g=decodeURIComponent(d),l(i,m)?r(i[m])?i[m].push(g):i[m]=[i[m],g]:i[m]=g}return i};var r=Array.isArray||function(e){return" [ object Array ] "===Object.prototype.toString.call(e)}},function(e,n,t){" use strict ";var l=function(e){switch(typeof e){case" string ":return e;case" boolean ":return e?" true ":" false ";case" number ":return isFinite(e)?e:" ";default:return" "}};e.exports=function(e,n,t,o){return n=n||" & ",t=t||" = ",null===e&&(e=void 0)," object "==typeof e?a(i(e),function(i){var o=encodeURIComponent(l(i))+t;return r(e[i])?a(e[i],function(e){return o+encodeURIComponent(l(e))}).join(n):o+encodeURIComponent(l(e[i]))}).join(n):o?encodeURIComponent(l(o))+t+encodeURIComponent(l(e)):" "};var r=Array.isArray||function(e){return" [ object Array ] "===Object.prototype.toString.call(e)};function a(e,n){if(e.map)return e.map(n);for(var t=[],l=0;l<e.length;l++)t.push(n(e[l],l));return t}var i=Object.keys||function(e){var n=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);return n}},function(e,n,t){function l(e){function n(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return l.colors[Math.abs(n)%l.colors.length]}function l(e){let t;function i(...e){if(!i.enabled)return;const n=i,r=Number(new Date),a=r-(t||r);n.diff=a,n.prev=t,n.curr=r,t=r,e[0]=l.coerce(e[0])," string "!=typeof e[0]&&e.unshift(" % O ");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,r)=>{if(" % % "===t)return t;o++;const a=l.formatters[r];if(" function "==typeof a){const l=e[o];t=a.call(n,l),e.splice(o,1),o--}return t}),l.formatArgs.call(n,e);const s=n.log||l.log;s.apply(n,e)}return i.namespace=e,i.enabled=l.enabled(e),i.useColors=l.useColors(),i.color=n(e),i.destroy=r,i.extend=a," function "==typeof l.init&&l.init(i),l.instances.push(i),i}function r(){const e=l.instances.indexOf(this);return-1!==e&&(l.instances.splice(e,1),!0)}function a(e,n){const t=l(this.namespace+(void 0===n?" : ":n)+e);return t.log=this.log,t}function i(e){let n;l.save(e),l.names=[],l.skips=[];const t=(" string "==typeof e?e:" ").split(/[\s,]+/),r=t.length;for(n=0;n<r;n++)t[n]&&(e=t[n].replace(/\*/g," . * ? ")," - "===e[0]?l.skips.push(new RegExp(" ^ "+e.substr(1)+" $ ")):l.names.push(new RegExp(" ^ "+e+" $ ")));for(n=0;n<l.instances.length;n++){const e=l.instances[n];e.enabled=l.enabled(e.namespace)}}function o(){const e=[...l.names.map(u),...l.skips.map(u).map(e=>" - "+e)].join(" , ");return l.enable(" "),e}function s(e){if(" * "===e[e.length-1])return!0;let n,t;for(n=0,t=l.skips.length;n<t;n++)if(l.skips[n].test(e))return!1;for(n=0,t=l.names.length;n<t;n++)if(l.names[n].test(e))return!0;return!1}function u(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/," * " ) } function c ( e ) { return e instanceof Error ? e . stack || e . message : e } return l . debug = l , l . default = l , l . coerce = c , l . disable = o , l . enable = i , l . enabled = s , l . humanize = t ( 154 ) , Object . keys ( e ) . forEach ( n => { l [ n ] = e [ n ] } ) , l . instances = [ ] , l . names = [ ] , l . skips = [ ] , l . formatters = { } , l . selectColor = n , l . enable ( l . load ( ) ) , l } e . exports = l } , function ( e , n ) { var t = 1e3 , l = 60 * t , r = 60 * l , a = 24 * r , i = 7 * a , o = 365.25 * a ; function s ( e ) { if ( e = String ( e ) , ! ( e . length > 100 ) ) { var n = / ^ ( - ? ( ? : \ d + ) ? \ . ? \ d + ) * ( m i l l i s e c o n d s ? | m s e c s ? | m s | s e c o n d s ?
2019-09-12 09:43:26 +10:00
/ * !
* Copyright ( c ) 2015 , Salesforce . com , Inc .
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* /var l=t(1),r=t(6).parse,a=t(3),i=t(106),o=t(108).Store,s=t(214).MemoryCookieStore,u=t(110).pathMatch,c=t(215).version,p;try{p=t(46)}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var h=/ ^ [ \ x21 \ x23 - \ x2B \ x2D - \ x3A \ x3C - \ x5B \ x5D - \ x7E ] + $ / , f = /[\x00-\x1F]/ , d = [ "\n" , "\r" , "\0" ] , m = /[\x20-\x3A\x3C-\x7E]+/ , g = /[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/ , v = { jan : 0 , feb : 1 , mar : 2 , apr : 3 , may : 4 , jun : 5 , jul : 6 , aug : 7 , sep : 8 , oct : 9 , nov : 10 , dec : 11 } , y = [ "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec" ] , b = [ "Sun" , "Mon" , "Tue" , "Wed" , "Thu" , "Fri" , "Sat" ] , w = 2147483647e3 , k = 0 ; function x ( e , n , t , l ) { for ( var r = 0 ; r < e . length ; ) { var a = e . charCodeAt ( r ) ; if ( a <= 47 || a >= 58 ) break ; r ++ } return r < n || r > t ? null : l || r == e . length ? parseInt ( e . substr ( 0 , r ) , 10 ) : null } function _ ( e ) { var n = e . split ( ":" ) , t = [ 0 , 0 , 0 ] ; if ( 3 !== n . length ) return null ; for ( var l = 0 ; l < 3 ; l ++ ) { var r = 2 == l , a = x ( n [ l ] , 1 , 2 , r ) ; if ( null === a ) return null ; t [ l ] = a } return t } function j ( e ) { e = String ( e ) . substr ( 0 , 3 ) . toLowerCase ( ) ; var n = v [ e ] ; return n >= 0 ? n : null } function S ( e ) { if ( e ) { var n = e . split ( g ) ; if ( n ) { for ( var t = null , l = null , r = null , a = null , i = null , o = null , s = 0 ; s < n . length ; s ++ ) { var u = n [ s ] . trim ( ) , c ; if ( u . length ) null === r && ( c = _ ( u ) , c ) ? ( t = c [ 0 ] , l = c [ 1 ] , r = c [ 2 ] ) : null !== a || ( c = x ( u , 1 , 2 , ! 0 ) , null === c ) ? null !== i || ( c = j ( u ) , null === c ) ? null === o && ( c = x ( u , 2 , 4 , ! 0 ) , null !== c && ( o = c , o >= 70 && o <= 99 ? o += 1900 : o >= 0 && o <= 69 && ( o += 2e3 ) ) ) : i = c : a = c } if ( ! ( null === a || null === i || null === o || null === r || a < 1 || a > 31 || o < 1601 || t > 23 || l > 59 || r > 59 ) ) return new Date ( Date . UTC ( o , i , a , t , l , r ) ) } } } function E ( e ) { var n = e . getUTCDate ( ) ; n = n >= 10 ? n : "0" + n ; var t = e . getUTCHours ( ) ; t = t >= 10 ? t : "0" + t ; var l = e . getUTCMinutes ( ) ; l = l >= 10 ? l : "0" + l ; var r = e . getUTCSeconds ( ) ; return r = r >= 10 ? r : "0" + r , b [ e . getUTCDay ( ) ] + ", " + n + " " + y [ e . getUTCMonth ( ) ] + " " + e . getUTCFullYear ( ) + " " + t + ":" + l + ":" + r + " GMT" } function A ( e ) { return null == e ? null : ( e = e . trim ( ) . replace ( /^\./ , "" ) , p && /[^\u0001-\u007f]/ . test ( e ) && ( e = p . toASCII ( e ) ) , e . toLowerCase ( ) ) } function T ( e , n , t ) { if ( null == e || null == n ) return null ; if ( ! 1 !== t && ( e = A ( e ) , n = A ( n ) ) , e == n ) return ! 0 ; if ( l . isIP ( e ) ) return ! 1 ; var r = e . indexOf ( n ) ; return ! ( r <= 0 ) && ( e . length === n . length + r && "." === e . substr ( r - 1 , 1 ) ) } function F ( e ) { if ( ! e || "/" !== e . substr ( 0 , 1 ) ) return "/" ; if ( "/" === e ) return e ; var n = e . lastIndexOf ( "/" ) ; return 0 === n ? "/" : e . slice ( 0 , n ) } function P ( e ) { for ( var n = 0 ; n < d . length ; n ++ ) { var t = e . indexOf ( d [ n ] ) ; - 1 !== t && ( e = e . substr ( 0 , t ) ) } return e } function C ( e , n ) { e = P ( e ) ; var t = e . indexOf ( "=" ) , l , r ; if ( n ) 0 === t && ( e = e . substr ( 1 ) , t = e . indexOf ( "=" ) ) ; else if ( t <= 0 ) return ; if ( t <= 0 ? ( l = "" , r = e . trim ( ) ) : ( l = e . substr ( 0 , t ) . trim ( ) , r = e . substr ( t + 1 ) . trim ( ) ) , ! f . test ( l ) && ! f . test ( r ) ) { var a = new q ; return a . key = l , a . value = r , a } } function O ( e , n ) { n && "object" == typeof n || ( n = { } ) , e = e . trim ( ) ; var t = e . indexOf ( ";" ) , l = - 1 === t ? e : e . substr ( 0 , t ) , r = C ( l , ! ! n . loose ) ; if ( r ) { if ( - 1 === t ) return r ; var a = e . slice ( t + 1 ) . trim ( ) ; if ( 0 === a . length ) return r ; for ( var i = a . split ( ";" ) ; i . length ; ) { var o = i . shift ( ) . trim ( ) ; if ( 0 !== o . length ) { var s = o . indexOf ( "=" ) , u , c ; switch ( - 1 === s ? ( u = o , c = null ) : ( u = o . substr ( 0 , s ) , c = o . substr ( s + 1 ) ) , u = u . trim ( ) . toLowerCase ( ) , c && ( c = c . trim ( ) ) , u ) { case "expires" : if ( c ) { var p = S ( c ) ; p && ( r . expires = p ) } break ; case "max-age" : if ( c && /^-?[0-9]+$/ . test ( c ) ) { var h = parseInt ( c , 10 ) ; r . setMaxAge ( h ) } break ; case "domain" : if ( c ) { var f = c . trim ( ) . replace ( /^\./ , "" ) ; f && ( r . domain = f . toLowerCase ( ) ) } break ; case "path" : r . path = c && "/" === c [ 0 ] ? c : null ; break ; case "secure" : r . secure = ! 0 ; break ; case "httponly" : r . httpOnly = ! 0 ; break ; default : r . extensions = r . extensions || [ ] , r . extensions . push ( o ) } } } return r } } function R ( e ) { var n ; try { n = JSON . parse ( e ) } catch ( e ) { return e } return n } function z ( e ) { if ( ! e ) return null ; var n ; if ( "string" == typeof e ) { if ( n = R ( e ) , n instanceof Error ) return null } else n = e ; for ( var t = new q , l = 0 ; l < q . serializableProperties . length ; l ++ ) { var r = q . serializableProperties [ l ] ; void 0 !== n [ r ] && n [ r ] !== q . prototype [ r ] && ( "expires" === r || "creation" === r || "lastAccessed" === r ? null === n [ r ] ? t [ r ] = null : t [ r ] = "Infinity" == n [ r ] ? "Infinity" : new Date ( n [ r ] ) : t [ r ] = n [ r ] ) } return t } function D ( e , n ) { var t = 0 , l = e . path ? e . path . length : 0 , r = n . path ? n . path . length : 0 ; if ( t = r - l , 0 !== t ) return t ; var a = e . creation ? e . creation . getTime ( ) : w , i = n . creation ? n . creation . getTime ( ) : w ; return t = a - i , 0 !== t ? t : ( t = e . creationIndex - n . creationIndex , t ) } function I ( e ) { if ( "/" === e ) return [ "/" ] ; e . lastI
2019-09-12 09:43:26 +10:00
/ * !
* Copyright ( c ) 2015 , Salesforce . com , Inc .
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* /var l=t(108).Store,r=t(109).permuteDomain,a=t(110).pathMatch,i=t(3);function o(){l.call(this),this.idx={}}i.inherits(o,l),n.MemoryCookieStore=o,o.prototype.idx=null,o.prototype.synchronous=!0,o.prototype.inspect=function(){return"{ idx: "+i.inspect(this.idx,!1,2)+" }"},i.inspect.custom&&(o.prototype[i.inspect.custom]=o.prototype.inspect),o.prototype.findCookie=function(e,n,t,l){return this.idx[e]&&this.idx[e][n]?l(null,this.idx[e][n][t]||null):l(null,void 0)},o.prototype.findCookies=function(e,n,t){var l=[],i;if(!e)return t(null,[]);i=n?function e(t){Object.keys(t).forEach(function(e){if(a(n,e)){var r=t[e];for(var i in r)l.push(r[i])}})}:function e(n){for(var t in n){var r=n[t];for(var a in r)l.push(r[a])}};var o=r(e)||[e],s=this.idx;o.forEach(function(e){var n=s[e];n&&i(n)}),t(null,l)},o.prototype.putCookie=function(e,n){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,n(null)},o.prototype.updateCookie=function(e,n,t){this.putCookie(n,t)},o.prototype.removeCookie=function(e,n,t,l){this.idx[e]&&this.idx[e][n]&&this.idx[e][n][t]&&delete this.idx[e][n][t],l(null)},o.prototype.removeCookies=function(e,n,t){return this.idx[e]&&(n?delete this.idx[e][n]:delete this.idx[e]),t(null)},o.prototype.getAllCookies=function(e){var n=[],t=this.idx,l=Object.keys(t);l.forEach(function(e){var l=Object.keys(t[e]);l.forEach(function(l){var r=Object.keys(t[e][l]);r.forEach(function(r){null!==r&&n.push(t[e][l][r])})})}),n.sort(function(e,n){return(e.creationIndex||0)-(n.creationIndex||0)}),e(null,n)}},function(e){e.exports=JSON.parse('{"author":{"name":"Jeremy Stashewsky","email":"jstash@gmail.com","website":"https:/ / github . com / stash "}," contributors ":[{" name ":" Alexander Savin "," website ":" https : //github.com/apsavin"},{"name":"Ian Livingstone","website":"https://github.com/ianlivingstone"},{"name":"Ivan Nikulin","website":"https://github.com/inikulin"},{"name":"Lalit Kapoor","website":"https://github.com/lalitkapoor"},{"name":"Sam Thompson","website":"https://github.com/sambthompson"},{"name":"Sebastian Mayr","website":"https://github.com/Sebmaster"}],"license":"BSD-3-Clause","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"2.4.3","homepage":"https://github.com/salesforce/tough-cookie","repository":{"type":"git","url":"git://github.com/salesforce/tough-cookie.git"},"bugs":{"url":"https://github.com/salesforce/tough-cookie/issues"},"main":"./lib/cookie","files":["lib"],"scripts":{"test":"vows test/*_test.js","cover":"nyc --reporter=lcov --reporter=html vows test/*_test.js"},"engines":{"node":">=0.8"},"devDependencies":{"async":"^1.4.2","nyc":"^11.6.0","string.prototype.repeat":"^0.2.0","vows":"^0.8.1"},"dependencies":{"psl":"^1.1.24","punycode":"^1.4.1"}}')},function(e,n){function t(e,n,t,r){return JSON.stringify(e,l(n,r),t)}function l(e,n){var t=[],l=[];return null==n&&(n=function(e,n){return t[0]===n?"[Circular ~]":"[Circular ~."+l.slice(0,t.indexOf(n)).join(".")+"]"}),function(r,a){if(t.length>0){var i=t.indexOf(this);~i?t.splice(i+1):t.push(this),~i?l.splice(i,1/0,r):l.push(r),~t.indexOf(a)&&(a=n.call(this,r,a))}else t.push(a);return null==e?a:e.call(this,r,a)}}n=e.exports=t,n.getSerialize=l},function(e,n,t){"use strict";(function(n){var l=t(37),r=t(70),a=t(6),i=t(3),o=t(26),s=t(234),u=t(245),c=t(246),p=t(248),h=t(265),f=t(80),d=t(268),m=t(269),g=t(67),v=t(132),y=t(270).strict,b=t(68),w=t(105),k=t(271),x=t(272).Querystring,_=t(275).Har,j=t(332).Auth,S=t(335).OAuth,E=t(337),A=t(338).Multipart,T=t(341).Redirect,F=t(342).Tunnel,P=t(344),C=t(33).Buffer,O=b.safeStringify,R=b.isReadStream,z=b.toBase64,D=b.defer,I=b.copy,B=b.version,q=w.jar(),L={};function N(e,n){var t={};for(var l in n){var r=-1===e.indexOf(l);r&&(t[l]=n[l])}return t}function U(e,n){var t={};for(var l in n){var r=!(-1===e.indexOf(l)),a="function"==typeof n[l];r&&a||(t[l]=n[l])}return t}function M(){var e=this;return{uri:this.uri,method:this.method,headers:t
/ *
object - assign
( c ) Sindre Sorhus
@ license MIT
* / v a r l = 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 , r = 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 , a = 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 ; f u n c t i o n i ( e ) { i f ( n u l l = = = e | | v o i d 0 = = = e ) t h r o w n e w T y p e E r r o r ( " O b j e c t . a s s i g n c a n n o t b e c a l l e d w i t h n u l l o r u n d e f i n e d " ) ; r e t u r n O b j e c t ( e ) } f u n c t i o n o ( ) { t r y { i f ( ! O b j e c t . a s s i g n ) r e t u r n ! 1 ; v a r e = n e w S t r i n g ( " a b c " ) ; i f ( e [ 5 ] = " d e " , " 5 " = = = 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 ( e ) [ 0 ] ) r e t u r n ! 1 ; f o r ( v a r n = { } , t = 0 ; t < 1 0 ; t + + ) n [ " _ " + S t r i n g . f r o m C h a r C o d e ( t ) ] = t ; v a r l = 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 ) . m a p ( f u n c t i o n ( e ) { r e t u r n n [ e ] } ) ; i f ( " 0 1 2 3 4 5 6 7 8 9 " ! = = l . j o i n ( " " ) ) r e t u r n ! 1 ; v a r r = { } ; r e t u r n " a b c d e f g h i j k l m n o p q r s t " . s p l i t ( " " ) . f o r E a c h ( f u n c t i o n ( e ) { r [ e ] = e } ) , " a b c d e f g h i j k l m n o p q r s t " = = = O b j e c t . k e y s ( O b j e c t . a s s i g n ( { } , r ) ) . j o i n ( " " ) } c a t c h ( e ) { r e t u r n ! 1 } } e . e x p o r t s = o ( ) ? O b j e c t . a s s i g n : f u n c t i o n ( e , n ) { f o r ( v a r t , o = i ( e ) , s , u = 1 ; u < a r g u m e n t s . l e n g t h ; u + + ) { f o r ( v a r c i n t = O b j e c t ( a r g u m e n t s [ u ] ) , t ) r . c a l l ( t , c ) & & ( o [ c ] = t [ c ] ) ; i f ( l ) { s = l ( t ) ; f o r ( v a r p = 0 ; p < s . l e n g t h ; p + + ) a . c a l l ( t , s [ p ] ) & & ( o [ s [ p ] ] = t [ s [ p ] ] ) } } r e t u r n o } } , f u n c t i o n ( e , n , t ) { " u s e s t r i c t " ; f u n c t i o n l ( ) { t h i s . i n p u t = n u l l , t h i s . n e x t _ i n = 0 , t h i s . a v a i l _ i n = 0 , t h i s . t o t a l _ i n = 0 , t h i s . o u t p u t = n u l l , t h i s . n e x t _ o u t = 0 , t h i s . a v a i l _ o u t = 0 , t h i s . t o t a l _ o u t = 0 , t h i s . m s g = " " , t h i s . s t a t e = n u l l , t h i s . d a t a _ t y p e = 2 , t h i s . a d l e r = 0 } e . e x p o r t s = l } , f u n c t i o n ( e , n , t ) { " u s e s t r i c t " ; v a r l = t ( 5 3 ) , r = t ( 2 3 9 ) , a = t ( 1 2 4 ) , i = t ( 1 2 5 ) , o = t ( 2 4 0 ) , s = 0 , u = 1 , c = 3 , p = 4 , h = 5 , f = 0 , d = 1 , m = - 2 , g = - 3 , v = - 5 , y = - 1 , b = 1 , w = 2 , k = 3 , x = 4 , _ = 0 , j = 2 , S = 8 , E = 9 , A = 1 5 , T = 8 , F = 2 9 , P = 2 5 6 , C = 2 8 6 , O = 3 0 , R = 1 9 , z = 2 * C + 1 , D = 1 5 , I = 3 , B = 2 5 8 , q = B + I + 1 , L = 3 2 , N = 4 2 , U = 6 9 , M = 7 3 , H = 9 1 , K = 1 0 3 , $ = 1 1 3 , V = 6 6 6 , W = 1 , G = 2 , Z = 3 , J = 4 , Q = 3 , Y ; f u n c t i o n X ( e , n ) { r e t u r n e . m s g = o [ n ] , n } f u n c t i o n e e ( e ) { r e t u r n ( e < < 1 ) - ( e > 4 ? 9 : 0 ) } f u n c t i o n n e ( e ) { f o r ( v a r n = e . l e n g t h ; - - n > = 0 ; ) e [ n ] = 0 } f u n c t i o n t e ( e ) { v a r n = e . s t a t e , t = n . p e n d i n g ; t > e . a v a i l _ o u t & & ( t = e . a v a i l _ o u t ) , 0 ! = = t & & ( l . a r r a y S e t ( e . o u t p u t , n . p e n d i n g _ b u f , n . p e n d i n g _ o u t , t , e . n e x t _ o u t ) , e . n e x t _ o u t + = t , n . p e n d i n g _ o u t + = t , e . t o t a l _ o u t + = t , e . a v a i l _ o u t - = t , n . p e n d i n g - = t , 0 = = = n . p e n d i n g & & ( n . p e n d i n g _ o u t = 0 ) ) } f u n c t i o n l e ( e , n ) { r . _ t r _ f l u s h _ b l o c k ( e , e . b l o c k _ s t a r t > = 0 ? e . b l o c k _ s t a r t : - 1 , e . s t r s t a r t - e . b l o c k _ s t a r t , n ) , e . b l o c k _ s t a r t = e . s t r s t a r t , t e ( e . s t r m ) } f u n c t i o n r e ( e , n ) { e . p e n d i n g _ b u f [ e . p e n d i n g + + ] = n } f u n c t i o n a e ( e , n ) { e . p e n d i n g _ b u f [ e . p e n d i n g + + ] = n > > > 8 & 2 5 5 , e . p e n d i n g _ b u f [ e . p e n d i n g + + ] = 2 5 5 & n } f u n c t i o n i e ( e , n , t , r ) { v a r o = e . a v a i l _ i n ; r e t u r n o > r & & ( o = r ) , 0 = = = o ? 0 : ( e . a v a i l _ i n - = o , l . a r r a y S e t ( n , e . i n p u t , e . n e x t _ i n , o , t ) , 1 = = = e . s t a t e . w r a p ? e . a d l e r = a ( e . a d l e r , n , o , t ) : 2 = = = e . s t a t e . w r a p & & ( e . a d l e r = i ( e . a d l e r , n , o , t ) ) , e . n e x t _ i n + = o , e . t o t a l _ i n + = o , o ) } f u n c t i o n o e ( e , n ) { v a r t = e . m a x _ c h a i n _ l e n g t h , l = e . s t r s t a r t , r , a , i = e . p r e v _ l e n g t h , o = e . n i c e _ m a t c h , s = e . s t r s t a r t > e . w _ s i z e - q ? e . s t r s t a r t - ( e . w _ s i z e - q ) : 0 , u = e . w i n d o w , c = e . w _ m a s k , p = e . p r e v , h = e . s t r s t a r t + B , f = u [ l + i - 1 ] , d = u [ l + i ] ; e . p r e v _ l e n g t h > = e . g o o d _ m a t c h & & ( t > > = 2 ) , o > e . l o o k a h e a d & & ( o = e . l o o k a h e a d ) ; d o { i f ( r = n , u [ r + i ] = = = d & & u [ r + i - 1 ] = = = f & & u [ r ] = = = u [ l ] & & u [ + + r ] = = = u [ l + 1 ] ) { l + = 2 , r + + ; d o { } w h i l e ( u [ + + l ] = = = u [ + + r ] & & u [ + + l ] = = = u [ + + r ] & & u [ + + l ] = = = u [ + + r ] & & u [ + + l ] = = = u [ + + r ] & & u [ + + l ] = = = u [ + + r ] & & u [ + + l ] = = = u [ + + r ] & & u [ + + l ] = = = u [ + + r ] & & u [ + + l ] = = = u [ + + r ] & & l < h ) ; i f ( a = B - ( h - l ) , l = h - B , a > i ) { i f ( e . m a t c h _ s t a r t = n , i = a , a > = o ) b r e a k ; f = u [ l + i - 1 ] , d = u [ l + i ] } } } w h i l e ( ( n = p [ n & c ] ) > s & & 0 ! = - - t ) ; r e t u r n i < = e . l o o k a h e a d ? i : e . l o o k a h e a d } f u n c t i o n s e ( e ) { v a r n = e . w _ s i z e , t , r , a , i , o ; d o { i f ( i = e . w i n d o w _ s i z e - e . l o o k a h e a d - e . s t r s t a r t , e . s t r s t a r t > = n + ( n - q ) ) { l . a r r a y S e t ( e . w i n d o w , e . w i n d o w , n , n , 0 ) , e . m a t c h _ s t a r t - = n , e . s t r s t a r t - = n , e . b l o c k _ s t a r t - = n , r = e . h a s h _ s i z e , t = r ; d o { a = e . h e a d [ - - t ] , e . h e a d [ t ] = a > = n ? a - n : 0 } w h i l e ( - - r ) ; r = n , t = r ; d o { a = e . p r e v [ - - t ] , e . p r e v [ t ] = a > = n ? a - n : 0 } w h i l e ( - - r ) ; i + = n } i f ( 0 = = = e . s t r m . a v a i l _ i n ) b r e a k ; i f ( r = i e ( e . s t r m , e . w i n d o w , e . s t r s t a r t + e . l o o k a h e a d , i ) , e . l o o k a h e a d + = r , e . l o o k a h e a d + e . i n s e r t > = I ) f o r ( o = e . s t r s t a r t - e . i n s e r t , e . i n s _ h = e . w i n d o w [ o ] , e . i n s _ h = ( e . i n s _ h < < e . h a s h _ s h i f t ^ e . w i n d o w [ o + 1 ] ) & e . h a s h _ m a s k ; e . i n s e r t & & ( e . i n s _ h = ( e . i n s _ h < < e . h a s h _ s h i f t ^ e . w i n d o w [ o + I - 1 ] ) & e . h a s h _ m a s k , e . p r e v [ o & e . w _ m a s k ] = e . h e a d [ e . i n s _ h ] , e . h e a d [ e . i n s _ h ] = o , o + + , e . i n s e r t - - , ! ( e . l o o k a h e a d + e . i n s e r t < I ) ) ; ) ; } w h i l e ( e . l o o k a h e a d < q & & 0 ! = = e . s t r m . a v a i l _ i n ) } f u n c t i o n u e ( e , n ) { v a r t = 6 5 5 3 5 ; f o r ( t > e . p e n d i n g _ b u f _ s i z e - 5 & & ( t = e . p e n d i n g _ b u f _ s i z e - 5 ) ; ; ) { i f ( e . l o o k a h e a d < = 1 ) { i f ( s e ( e ) , 0 = = = e . l o o k a h e a d & & n = = = s ) r e t u r n W ; i f ( 0 = = = e . l o o k a h e a d ) b r e a k } e . s t r s t a r t + = e . l o o k a h e a d , e . l o o k a h e a d = 0 ; v a r l = e . b l o c k _ s t a r t + t ; i f ( ( 0 = = = e . s t r s t a r t | | e . s t r s t a r t > = l ) & & ( e . l o o k a h e a d = e . s t r s t a r t - l , e . s t r s t a r t = l , l e ( e , ! 1 ) , 0 = = = e . s t r m . a v a i l _ o u t ) ) r e t u r n W ; i f ( e . s t r s t a r t -
/ * !
* Copyright 2010 LearnBoost < dev @ learnboost . com >
*
* Licensed under the Apache License , Version 2.0 ( the "License" ) ;
* you may not use this file except in compliance with the License .
* You may obtain a copy of the License at
*
* http : //www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing , software
* distributed under the License is distributed on an "AS IS" BASIS ,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied .
* See the License for the specific language governing permissions and
* limitations under the License .
2019-09-12 09:43:26 +10:00
* /
2019-09-14 13:27:45 +10:00
var l = t ( 1 ) , r = t ( 6 ) . parse , a = [ "acl" , "location" , "logging" , "notification" , "partNumber" , "policy" , "requestPayment" , "torrent" , "uploadId" , "uploads" , "versionId" , "versioning" , "versions" , "website" ] ; function i ( e ) { return "AWS " + e . key + ":" + s ( e ) } function o ( e ) { return l . createHmac ( "sha1" , e . secret ) . update ( e . message ) . digest ( "base64" ) } function s ( e ) { return e . message = c ( e ) , o ( e ) } function u ( e ) { return e . message = p ( e ) , o ( e ) } function c ( e ) { var n = e . amazonHeaders || "" ; n && ( n += "\n" ) ; var t = [ e . verb , e . md5 , e . contentType , e . date ? e . date . toUTCString ( ) : "" , n + e . resource ] ; return t . join ( "\n" ) } function p ( e ) { return "GET\n\n\n" + e . date + "\n" + e . resource } function h ( e ) { for ( var n = [ ] , t = Object . keys ( e ) , l = 0 , r = t . length ; l < r ; ++ l ) { var a = t [ l ] , i = e [ a ] , a = a . toLowerCase ( ) ; 0 === a . indexOf ( "x-amz" ) && n . push ( a + ":" + i ) } return n . sort ( ) . join ( "\n" ) } function f ( e ) { var n = r ( e , ! 0 ) , t = n . pathname , l = [ ] ; return Object . keys ( n . query ) . forEach ( function ( e ) { if ( ~ a . indexOf ( e ) ) { var t = "" == n . query [ e ] ? "" : "=" + encodeURIComponent ( n . query [ e ] ) ; l . push ( e + t ) } } ) , t + ( l . length ? "?" + l . sort ( ) . join ( "&" ) : "" ) } e . exports = i , e . exports . authorization = i , e . exports . hmacSha1 = o , e . exports . sign = s , e . exports . signQuery = u , e . exports . stringToSign = c , e . exports . queryStringToSign = p , e . exports . canonicalizeHeaders = h , e . exports . canonicalizeResource = f } , function ( e , n , t ) { ( function ( e ) { var l = n , r = t ( 6 ) , a = t ( 48 ) , i = t ( 1 ) , o = t ( 247 ) , s = o ( 1e3 ) ; function u ( e , n , t ) { return i . createHmac ( "sha256" , e ) . update ( n , "utf8" ) . digest ( t ) } function c ( e , n ) { return i . createHash ( "sha256" ) . update ( e , "utf8" ) . digest ( n ) } function p ( e ) { return e . replace ( /[!'()*]/g , function ( e ) { return "%" + e . charCodeAt ( 0 ) . toString ( 16 ) . toUpperCase ( ) } ) } function h ( e , n ) { "string" == typeof e && ( e = r . parse ( e ) ) ; var t = e . headers = e . headers || { } , l = this . matchHost ( e . hostname || e . host || t . Host || t . host ) ; this . request = e , this . credentials = n || this . defaultCredentials ( ) , this . service = e . service || l [ 0 ] || "" , this . region = e . region || l [ 1 ] || "us-east-1" , "email" === this . service && ( this . service = "ses" ) , ! e . method && e . body && ( e . method = "POST" ) , t . Host || t . host || ( t . Host = e . hostname || e . host || this . createHost ( ) , e . port && ( t . Host += ":" + e . port ) ) , e . hostname || e . host || ( e . hostname = t . Host || t . host ) , this . isCodeCommitGit = "codecommit" === this . service && "GIT" === e . method } h . prototype . matchHost = function ( e ) { var n = ( e || "" ) . match ( /([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/ ) , t = ( n || [ ] ) . slice ( 1 , 3 ) ; return "es" === t [ 1 ] && ( t = t . reverse ( ) ) , t } , h . prototype . isSingleRegion = function ( ) { return [ "s3" , "sdb" ] . indexOf ( this . service ) >= 0 && "us-east-1" === this . region || [ "cloudfront" , "ls" , "route53" , "iam" , "importexport" , "sts" ] . indexOf ( this . service ) >= 0 } , h . prototype . createHost = function ( ) { var e = this . isSingleRegion ( ) ? "" : ( "s3" === this . service && "us-east-1" !== this . region ? "-" : "." ) + this . region , n = "ses" === this . service ? "email" : this . service ; return n + e + ".amazonaws.com" } , h . prototype . prepareRequest = function ( ) { this . parsePath ( ) ; var n = this . request , t = n . headers , l ; n . signQuery ? ( this . parsedPath . query = l = this . parsedPath . query || { } , this . credentials . sessionToken && ( l [ "X-Amz-Security-Token" ] = this . credentials . sessionToken ) , "s3" !== this . service || l [ "X-Amz-Expires" ] || ( l [ "X-Amz-Expires" ] = 86400 ) , l [ "X-Amz-Date" ] ? this . datetime = l [ "X-Amz-Date" ] : l [ "X-Amz-Date" ] = this . getDateTime ( ) , l [ "X-Amz-Algorithm" ] = "AWS4-HMAC-SHA256" , l [ "X-Amz-Credential" ] = this . credentials . accessKeyId + "/" + this . credentialString ( ) , l [ "X-Amz-SignedHeaders" ] = this . signedHeaders ( ) ) : ( n . doNotModifyHeaders || this . isCodeCommitGit || ( ! n . body || t [ "Content-Type" ] || t [ "content-type" ] || ( t [ "Content-Type" ] = "application/x-www-form-urlencoded; charset=utf-8" ) , ! n . body || t [ "Content-Length" ] || t [ "content-length" ] || ( t [ "Content-Length" ] = e . byteLength ( n . body ) ) , ! this . credentials . sessionToken || t [ "X-Amz-Security-Token" ] || t [ "x-amz-security-token" ] || ( t [ "X-Amz-Security-Token" ] = this . credentials . sessionToken ) , "s3" !== this . service || t [ "X-Amz-Content-Sha256" ] || t [ "x-amz-content-sha256" ] || ( t [ "X-Amz-Content-Sha256" ] = c ( this . request . body || "" , "hex" ) ) , t [ "X-Amz-Date" ] || t [ "x-amz-date" ] ? this . datetime = t [ "X-Amz-Date" ] || t [ "x-amz-date" ] : t [ "X-Amz-Date" ] = this . getDateTime ( ) ) , delete t . Authorization , delete t . authorization ) } , h . prototype . sign = function ( ) { return this . parsedPath || this . prepareRequest ( ) , this . request . signQuery ? this . parsedPath . query [ "X-Amz-Signature" ] = this . signature ( ) : this . reque
2019-09-12 09:43:26 +10:00
/ * !
2019-09-14 13:27:45 +10:00
* mime - types
* Copyright ( c ) 2014 Jonathan Ong
* Copyright ( c ) 2015 Douglas Christopher Wilson
* MIT Licensed
* /var l=t(266),r=t(66).extname,a=/ ^ \ s * ( [ ^ ; \ s ] * ) ( ? : ; | \ s | $ ) / , i = /^text\//i ; function o ( e ) { if ( ! e || "string" != typeof e ) return ! 1 ; var n = a . exec ( e ) , t = n && l [ n [ 1 ] . toLowerCase ( ) ] ; return t && t . charset ? t . charset : ! ( ! n || ! i . test ( n [ 1 ] ) ) && "UTF-8" } function s ( e ) { if ( ! e || "string" != typeof e ) return ! 1 ; var t = - 1 === e . indexOf ( "/" ) ? n . lookup ( e ) : e ; if ( ! t ) return ! 1 ; if ( - 1 === t . indexOf ( "charset" ) ) { var l = n . charset ( t ) ; l && ( t += "; charset=" + l . toLowerCase ( ) ) } return t } function u ( e ) { if ( ! e || "string" != typeof e ) return ! 1 ; var t = a . exec ( e ) , l = t && n . extensions [ t [ 1 ] . toLowerCase ( ) ] ; return ! ( ! l || ! l . length ) && l [ 0 ] } function c ( e ) { if ( ! e || "string" != typeof e ) return ! 1 ; var t = r ( "x." + e ) . toLowerCase ( ) . substr ( 1 ) ; return t && n . types [ t ] || ! 1 } function p ( e , n ) { var t = [ "nginx" , "apache" , void 0 , "iana" ] ; Object . keys ( l ) . forEach ( function r ( a ) { var i = l [ a ] , o = i . extensions ; if ( o && o . length ) { e [ a ] = o ; for ( var s = 0 ; s < o . length ; s ++ ) { var u = o [ s ] ; if ( n [ u ] ) { var c = t . indexOf ( l [ n [ u ] ] . source ) , p = t . indexOf ( i . source ) ; if ( "application/octet-stream" !== n [ u ] && ( c > p || c === p && "application/" === n [ u ] . substr ( 0 , 12 ) ) ) continue } n [ u ] = a } } } ) } n . charset = o , n . charsets = { lookup : o } , n . contentType = s , n . extension = u , n . extensions = Object . create ( null ) , n . lookup = c , n . types = Object . create ( null ) , p ( n . extensions , n . types ) } , function ( e , n , t ) {
/ * !
* mime - db
* Copyright ( c ) 2014 Jonathan Ong
* MIT Licensed
* /
e . exports = t ( 267 ) } , function ( e ) { e . exports = JSON . parse ( ' { "application/1d-interleaved-parityfec" : { "source" : "iana" } , "application/3gpdash-qoe-report+xml" : { "source" : "iana" , "compressible" : true } , "application/3gpp-ims+xml" : { "source" : "iana" , "compressible" : true } , "application/a2l" : { "source" : "iana" } , "application/activemessage" : { "source" : "iana" } , "application/activity+json" : { "source" : "iana" , "compressible" : true } , "application/alto-costmap+json" : { "source" : "iana" , "compressible" : true } , "application/alto-costmapfilter+json" : { "source" : "iana" , "compressible" : true } , "application/alto-directory+json" : { "source" : "iana" , "compressible" : true } , "application/alto-endpointcost+json" : { "source" : "iana" , "compressible" : true } , "application/alto-endpointcostparams+json" : { "source" : "iana" , "compressible" : true } , "application/alto-endpointprop+json" : { "source" : "iana" , "compressible" : true } , "application/alto-endpointpropparams+json" : { "source" : "iana" , "compressible" : true } , "application/alto-error+json" : { "source" : "iana" , "compressible" : true } , "application/alto-networkmap+json" : { "source" : "iana" , "compressible" : true } , "application/alto-networkmapfilter+json" : { "source" : "iana" , "compressible" : true } , "application/aml" : { "source" : "iana" } , "application/andrew-inset" : { "source" : "iana" , "extensions" : [ "ez" ] } , "application/applefile" : { "source" : "iana" } , "application/applixware" : { "source" : "apache" , "extensions" : [ "aw" ] } , "application/atf" : { "source" : "iana" } , "application/atfx" : { "source" : "iana" } , "application/atom+xml" : { "source" : "iana" , "compressible" : true , "extensions" : [ "atom" ] } , "application/atomcat+xml" : { "source" : "iana" , "compressible" : true , "extensions" : [ "atomcat" ] } , "application/atomdeleted+xml" : { "source" : "iana" , "compressible" : true } , "application/atomicmail" : { "source" : "iana" } , "application/atomsvc+xml" : { "source" : "iana" , "compressible" : true , "extensions" : [ "atomsvc" ] } , "application/atsc-dwd+xml" : { "source" : "iana" , "compressible" : true } , "application/atsc-held+xml" : { "source" : "iana" , "compressible" : true } , "application/atsc-rsat+xml" : { "source" : "iana" , "compressible" : true } , "application/atxml" : { "source" : "iana" } , "application/auth-policy+xml" : { "source" : "iana" , "compressible" : true } , "application/bacnet-xdd+zip" : { "source" : "iana" , "compressible" : false } , "application/batch-smtp" : { "source" : "iana" } , "application/bdoc" : { "compressible" : false , "extensions" : [ "bdoc" ] } , "application/beep+xml" : { "source" : "iana" , "compressible" : true } , "application/calendar+json" : { "source" : "iana" , "compressible" : true } , "application/calendar+xml" : { "source" : "iana" , "compressible" : true } , "application/call-completion" : { "source" : "iana" } , "application/cals-1840" : { "source" : "iana" } , "application/cbor" : { "source" : "iana" } , "application/cccex" : { "source" : "iana" } , "application/ccmp+xml" : { "source" : "iana" , "compressible" : true } , "application/ccxml+xml" : { "source" : "iana" , "compressible" : true , "extensions" : [ "ccxml" ] } , "application/cdfx+xml" : { "source" : "iana" , "compressible" : true } , "application/cdmi-capability" : { "source" : "iana" , "extensions" : [ "cdmia" ] } , "application/cdmi-container" : { "source" : "iana" , "extensions" : [ "cdmic" ] } , "application/cdmi-domain" : { "source" : "iana" , "extensions" : [ "cdmid" ] } , "application/cdmi-object" : { "source" : "iana" , "extensions" : [ "cdmio" ] } , "application/cdmi-queue" : { "source" : "iana" , "extensions" : [ "cdmiq" ] } , "application/cdni" : { "source" : "iana" } , "application/cea" : { "source" : "iana" } , "application/cea-2018+xml" : { "source" : "iana" , "compressible" : true } , "application/cellml+xml" : { "source" : "iana" , "compressible" : true } , "application/cfw" : { "source" : "iana" } , "application/clue_info+xml" : { "source" : "iana" , "compressible" : true } , "application/cms" : { "source" : "iana" } , "application/cnrp+xml" : { "source" : "iana" , "compressible" : true } , "application/coap-group+json" : { "source" : "iana" , "compressible" : true } , "application/coap-payload" : { "source" : "iana" } , "application/commonground" : { "source" : "iana" } , "application/conference-info+xml" : { "source" : "iana" , "compressible" : true } , "application/cose" : { "source" : "iana" } , "application/cose-key" : { "source" : "iana" } , "application/cose-key-set" : { "source" : "iana" } , "application/cpl+xml" : { "source" : "iana" , "compressible" : true } , "application/csrattrs" : { "source" : "iana" } , "application/csta+xml" : { "source" : "iana" , "compressible" : tr
/** @license URI.js v4.2.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ var l , r ; l = this , r = function ( e ) { "use strict" ; function n ( ) { for ( var e = arguments . length , n = Array ( e ) , t = 0 ; t < e ; t ++ ) n [ t ] = arguments [ t ] ; if ( n . length > 1 ) { n [ 0 ] = n [ 0 ] . slice ( 0 , - 1 ) ; for ( var l = n . length - 1 , r = 1 ; r < l ; ++ r ) n [ r ] = n [ r ] . slice ( 1 , - 1 ) ; return n [ l ] = n [ l ] . slice ( 1 ) , n . join ( "" ) } return n [ 0 ] } function t ( e ) { return "(?:" + e + ")" } function l ( e ) { return void 0 === e ? "undefined" : null === e ? "null" : Object . prototype . toString . call ( e ) . split ( " " ) . pop ( ) . split ( "]" ) . shift ( ) . toLowerCase ( ) } function r ( e ) { return e . toUpperCase ( ) } function a ( e ) { return void 0 !== e && null !== e ? e instanceof Array ? e : "number" != typeof e . length || e . split || e . setInterval || e . call ? [ e ] : Array . prototype . slice . call ( e ) : [ ] } function i ( e , n ) { var t = e ; if ( n ) for ( var l in n ) t [ l ] = n [ l ] ; return t } function o ( e ) { var l = "[A-Za-z]" , r = "[\\x0D]" , a = "[0-9]" , i = "[\\x22]" , o = n ( "[0-9]" , "[A-Fa-f]" ) , s = "[\\x0A]" , u = "[\\x20]" , c = t ( t ( "%[EFef]" + o + "%" + o + o + "%" + o + o ) + "|" + t ( "%[89A-Fa-f]" + o + "%" + o + o ) + "|" + t ( "%" + o + o ) ) , p = "[\\:\\/\\?\\#\\[\\]\\@]" , h = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]" , f = n ( p , h ) , d = e ? "[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]" : "[]" , m = e ? "[\\uE000-\\uF8FF]" : "[]" , g = n ( l , "[0-9]" , "[\\-\\.\\_\\~]" , d ) , v = t ( l + n ( l , "[0-9]" , "[\\+\\-\\.]" ) + "*" ) , y = t ( t ( c + "|" + n ( g , h , "[\\:]" ) ) + "*" ) , b = t ( t ( "25[0-5]" ) + "|" + t ( "2[0-4][0-9]" ) + "|" + t ( "1[0-9][0-9]" ) + "|" + t ( "[1-9][0-9]" ) + "|[0-9]" ) , w = t ( t ( "25[0-5]" ) + "|" + t ( "2[0-4][0-9]" ) + "|" + t ( "1[0-9][0-9]" ) + "|" + t ( "0?[1-9][0-9]" ) + "|0?0?[0-9]" ) , k = t ( w + "\\." + w + "\\." + w + "\\." + w ) , x = t ( o + "{1,4}" ) , _ = t ( t ( x + "\\:" + x ) + "|" + k ) , j = t ( t ( x + "\\:" ) + "{6}" + _ ) , S = t ( "\\:\\:" + t ( x + "\\:" ) + "{5}" + _ ) , E = t ( t ( x ) + "?\\:\\:" + t ( x + "\\:" ) + "{4}" + _ ) , A = t ( t ( t ( x + "\\:" ) + "{0,1}" + x ) + "?\\:\\:" + t ( x + "\\:" ) + "{3}" + _ ) , T = t ( t ( t ( x + "\\:" ) + "{0,2}" + x ) + "?\\:\\:" + t ( x + "\\:" ) + "{2}" + _ ) , F = t ( t ( t ( x + "\\:" ) + "{0,3}" + x ) + "?\\:\\:" + x + "\\:" + _ ) , P = t ( t ( t ( x + "\\:" ) + "{0,4}" + x ) + "?\\:\\:" + _ ) , C = t ( t ( t ( x + "\\:" ) + "{0,5}" + x ) + "?\\:\\:" + x ) , O = t ( t ( t ( x + "\\:" ) + "{0,6}" + x ) + "?\\:\\:" ) , R = t ( [ j , S , E , A , T , F , P , C , O ] . join ( "|" ) ) , z = t ( t ( g + "|" + c ) + "+" ) , D = t ( R + "\\%25" + z ) , I = t ( R + t ( "\\%25|\\%(?!" + o + "{2})" ) + z ) , B = t ( "[vV]" + o + "+\\." + n ( g , h , "[\\:]" ) + "+" ) , q = t ( "\\[" + t ( I + "|" + R + "|" + B ) + "\\]" ) , L = t ( t ( c + "|" + n ( g , h ) ) + "*" ) , N = t ( q + "|" + k + "(?!" + L + ")|" + L ) , U = t ( "[0-9]*" ) , M = t ( t ( y + "@" ) + "?" + N + t ( "\\:" + U ) + "?" ) , H = t ( c + "|" + n ( g , h , "[\\:\\@]" ) ) , K = t ( H + "*" ) , $ = t ( H + "+" ) , V = t ( t ( c + "|" + n ( g , h , "[\\@]" ) ) + "+" ) , W = t ( t ( "\\/" + K ) + "*" ) , G = t ( "\\/" + t ( $ + W ) + "?" ) , Z = t ( V + W ) , J = t ( $ + W ) , Q = "(?!" + H + ")" , Y = t ( W + "|" + G + "|" + Z + "|" + J + "|" + Q ) , X = t ( t ( H + "|" + n ( "[\\/\\?]" , m ) ) + "*" ) , ee = t ( t ( H + "|[\\/\\?]" ) + "*" ) , ne = t ( t ( "\\/\\/" + M + W ) + "|" + G + "|" + J + "|" + Q ) , te = t ( v + "\\:" + ne + t ( "\\?" + X ) + "?" + t ( "\\#" + ee ) + "?" ) , le = t ( t ( "\\/\\/" + M + W ) + "|" + G + "|" + Z + "|" + Q ) , re = t ( le + t ( "\\?" + X ) + "?" + t ( "\\#" + ee ) + "?" ) , ae = t ( te + "|" + re ) , ie = t ( v + "\\:" + ne + t ( "\\?" + X ) + "?" ) , oe = "^(" + v + ")\\:" + t ( t ( "\\/\\/(" + t ( "(" + y + ")@" ) + "?(" + N + ")" + t ( "\\:(" + U + ")" ) + "?)" ) + "?(" + W + "|" + G + "|" + J + "|" + Q + ")" ) + t ( "\\?(" + X + ")" ) + "?" + t ( "\\#(" + ee + ")" ) + "?$" , se = "^(){0}" + t ( t ( "\\/\\/(" + t ( "(" + y + ")@" ) + "?(" + N + ")" + t ( "\\:(" + U + ")" ) + "?)" ) + "?(" + W + "|" + G + "|" + Z + "|" + Q + ")" ) + t ( "\\?(" + X + ")" ) + "?" + t ( "\\#(" + ee + ")" ) + "?$" , ue = "^(" + v + ")\\:" + t ( t ( "\\/\\/(" + t ( "(" + y + ")@" ) + "?(" + N + ")" + t ( "\\:(" + U + ")" ) + "?)" ) + "?(" + W + "|" + G + "|" + J + "|" + Q + ")" ) + t ( "\\?(" + X + ")" ) + "?$" , ce = "^" + t ( "\\#(" + ee + ")" ) + "?$" , pe = "^" + t ( "(" + y + ")@" ) + "?(" + N + ")" + t ( "\\:(" + U + ")" ) + "?$" ; return { NOT _SCHEME : new RegExp ( n ( "[^]" , l , "[0-9]" , "[\\+\\-\\.]" ) , "g" ) , NOT _USERINFO : new RegExp ( n ( "[^\\%\\:]" , g , h ) , "g" ) , NOT _HOST : new RegExp ( n ( "[^\\%\\[\\]\\:]" , g , h ) , "g" ) , NOT _PATH : new RegExp ( n ( "[^\\%\\/\\:\\@]" , g , h ) , "g" ) , NOT _PATH _NOSCHEME : new RegExp ( n ( "[^\\%\\/\\@]" , g , h ) , "g" ) , NOT _QUERY : new RegExp ( n ( "[^\\%]" , g , h , "[\\:\\@\\/\\?]" , m ) , "g" ) , NOT _FRAGMENT : new RegExp ( n ( "[^\\%]" , g , h , "[\\:\\@\\/\\?]" ) , "g" ) , ESCAPE : new RegExp ( n ( "[^]" , g , h ) , "g" ) , UNRESERVED : new RegExp ( g , "g" ) , OTHER _CHARS : new RegExp ( n ( "[^\\%]" , g , f ) , "g" ) , PCT _ENCODED : new RegExp ( c , "g" ) , IPV4ADDRESS : new RegExp ( "^(" + k + ")$" ) , IPV6ADDRESS : new RegExp ( "^\\[?(" + R + ")" + t ( t ( "\\%25|\\%(?!" + o + "{2})" ) + "(" + z + ")" ) + "?\\]?$" ) } } var s = o ( ! 1 ) , u = o ( ! 0 ) , c = function ( ) { function e ( e , n ) { var t = [ ] , l = ! 0 , r = ! 1 , a = void 0 ; try { for ( var i = e [ Symbol . iterator ] ( ) , o ; ! ( l = ( o = i . next ( ) ) . done ) && ( t . push ( o . value ) , ! n || t . length !== n ) ; l = ! 0 ) ; } catch ( e ) { r = ! 0 , a = e } finally { try { ! l && i . return && i . return ( ) } finally { if ( r ) throw a } } ret
/ * !
* Copyright ( c ) 2015 , Salesforce . com , Inc .
2019-09-12 09:43:26 +10:00
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* /var l=t(1),r=t(6).parse,a=t(3),i=t(145),o=t(146).Store,s=t(353).MemoryCookieStore,u=t(148).pathMatch,c=t(354),p;try{p=t(46)}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var h=/ ^ [ \ x21 \ x23 - \ x2B \ x2D - \ x3A \ x3C - \ x5B \ x5D - \ x7E ] + $ / , f = /[\x00-\x1F]/ , d = [ "\n" , "\r" , "\0" ] , m = /[\x20-\x3A\x3C-\x7E]+/ , g = /[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/ , v = { jan : 0 , feb : 1 , mar : 2 , apr : 3 , may : 4 , jun : 5 , jul : 6 , aug : 7 , sep : 8 , oct : 9 , nov : 10 , dec : 11 } , y = [ "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec" ] , b = [ "Sun" , "Mon" , "Tue" , "Wed" , "Thu" , "Fri" , "Sat" ] , w = 2147483647e3 , k = 0 ; function x ( e , n , t , l ) { for ( var r = 0 ; r < e . length ; ) { var a = e . charCodeAt ( r ) ; if ( a <= 47 || a >= 58 ) break ; r ++ } return r < n || r > t ? null : l || r == e . length ? parseInt ( e . substr ( 0 , r ) , 10 ) : null } function _ ( e ) { var n = e . split ( ":" ) , t = [ 0 , 0 , 0 ] ; if ( 3 !== n . length ) return null ; for ( var l = 0 ; l < 3 ; l ++ ) { var r = 2 == l , a = x ( n [ l ] , 1 , 2 , r ) ; if ( null === a ) return null ; t [ l ] = a } return t } function j ( e ) { e = String ( e ) . substr ( 0 , 3 ) . toLowerCase ( ) ; var n = v [ e ] ; return n >= 0 ? n : null } function S ( e ) { if ( e ) { var n = e . split ( g ) ; if ( n ) { for ( var t = null , l = null , r = null , a = null , i = null , o = null , s = 0 ; s < n . length ; s ++ ) { var u = n [ s ] . trim ( ) , c ; if ( u . length ) null === r && ( c = _ ( u ) , c ) ? ( t = c [ 0 ] , l = c [ 1 ] , r = c [ 2 ] ) : null !== a || ( c = x ( u , 1 , 2 , ! 0 ) , null === c ) ? null !== i || ( c = j ( u ) , null === c ) ? null === o && ( c = x ( u , 2 , 4 , ! 0 ) , null !== c && ( o = c , o >= 70 && o <= 99 ? o += 1900 : o >= 0 && o <= 69 && ( o += 2e3 ) ) ) : i = c : a = c } if ( ! ( null === a || null === i || null === o || null === r || a < 1 || a > 31 || o < 1601 || t > 23 || l > 59 || r > 59 ) ) return new Date ( Date . UTC ( o , i , a , t , l , r ) ) } } } function E ( e ) { var n = e . getUTCDate ( ) ; n = n >= 10 ? n : "0" + n ; var t = e . getUTCHours ( ) ; t = t >= 10 ? t : "0" + t ; var l = e . getUTCMinutes ( ) ; l = l >= 10 ? l : "0" + l ; var r = e . getUTCSeconds ( ) ; return r = r >= 10 ? r : "0" + r , b [ e . getUTCDay ( ) ] + ", " + n + " " + y [ e . getUTCMonth ( ) ] + " " + e . getUTCFullYear ( ) + " " + t + ":" + l + ":" + r + " GMT" } function A ( e ) { return null == e ? null : ( e = e . trim ( ) . replace ( /^\./ , "" ) , p && /[^\u0001-\u007f]/ . test ( e ) && ( e = p . toASCII ( e ) ) , e . toLowerCase ( ) ) } function T ( e , n , t ) { if ( null == e || null == n ) return null ; if ( ! 1 !== t && ( e = A ( e ) , n = A ( n ) ) , e == n ) return ! 0 ; if ( l . isIP ( e ) ) return ! 1 ; var r = e . indexOf ( n ) ; return ! ( r <= 0 ) && ( e . length === n . length + r && "." === e . substr ( r - 1 , 1 ) ) } function F ( e ) { if ( ! e || "/" !== e . substr ( 0 , 1 ) ) return "/" ; if ( "/" === e ) return e ; var n = e . lastIndexOf ( "/" ) ; return 0 === n ? "/" : e . slice ( 0 , n ) } function P ( e ) { for ( var n = 0 ; n < d . length ; n ++ ) { var t = e . indexOf ( d [ n ] ) ; - 1 !== t && ( e = e . substr ( 0 , t ) ) } return e } function C ( e , n ) { e = P ( e ) ; var t = e . indexOf ( "=" ) , l , r ; if ( n ) 0 === t && ( e = e . substr ( 1 ) , t = e . indexOf ( "=" ) ) ; else if ( t <= 0 ) return ; if ( t <= 0 ? ( l = "" , r = e . trim ( ) ) : ( l = e . substr ( 0 , t ) . trim ( ) , r = e . substr ( t + 1 ) . trim ( ) ) , ! f . test ( l ) && ! f . test ( r ) ) { var a = new q ; return a . key = l , a . value = r , a } } function O ( e , n ) { n && "object" == typeof n || ( n = { } ) , e = e . trim ( ) ; var t = e . indexOf ( ";" ) , l = - 1 === t ? e : e . substr ( 0 , t ) , r = C ( l , ! ! n . loose ) ; if ( r ) { if ( - 1 === t ) return r ; var a = e . slice ( t + 1 ) . trim ( ) ; if ( 0 === a . length ) return r ; for ( var i = a . split ( ";" ) ; i . length ; ) { var o = i . shift ( ) . trim ( ) ; if ( 0 !== o . length ) { var s = o . indexOf ( "=" ) , u , c ; switch ( - 1 === s ? ( u = o , c = null ) : ( u = o . substr ( 0 , s ) , c = o . substr ( s + 1 ) ) , u = u . trim ( ) . toLowerCase ( ) , c && ( c = c . trim ( ) ) , u ) { case "expires" : if ( c ) { var p = S ( c ) ; p && ( r . expires = p ) } break ; case "max-age" : if ( c && /^-?[0-9]+$/ . test ( c ) ) { var h = parseInt ( c , 10 ) ; r . setMaxAge ( h ) } break ; case "domain" : if ( c ) { var f = c . trim ( ) . replace ( /^\./ , "" ) ; f && ( r . domain = f . toLowerCase ( ) ) } break ; case "path" : r . path = c && "/" === c [ 0 ] ? c : null ; break ; case "secure" : r . secure = ! 0 ; break ; case "httponly" : r . httpOnly = ! 0 ; break ; default : r . extensions = r . extensions || [ ] , r . extensions . push ( o ) } } } return r } } function R ( e ) { var n ; try { n = JSON . parse ( e ) } catch ( e ) { return e } return n } function z ( e ) { if ( ! e ) return null ; var n ; if ( "string" == typeof e ) { if ( n = R ( e ) , n instanceof Error ) return null } else n = e ; for ( var t = new q , l = 0 ; l < q . serializableProperties . length ; l ++ ) { var r = q . serializableProperties [ l ] ; void 0 !== n [ r ] && n [ r ] !== q . prototype [ r ] && ( "expires" === r || "creation" === r || "lastAccessed" === r ? null === n [ r ] ? t [ r ] = null : t [ r ] = "Infinity" == n [ r ] ? "Infinity" : new Date ( n [ r ] ) : t [ r ] = n [ r ] ) } return t } function D ( e , n ) { var t = 0 , l = e . path ? e . path . length : 0 , r = n . path ? n . path . length : 0 ; if ( t = r - l , 0 !== t ) return t ; var a = e . creation ? e . creation . getTime ( ) : w , i = n . creation ? n . creation . getTime ( ) : w ; return t = a - i , 0 !== t ? t : ( t = e . creationIndex - n . creationIndex , t ) } function I ( e ) { if ( "/" === e ) return [ "/" ] ; e . lastIndexOf ( "
2019-09-12 09:43:26 +10:00
/ * !
* Copyright ( c ) 2015 , Salesforce . com , Inc .
* All rights reserved .
*
* Redistribution and use in source and binary forms , with or without
* modification , are permitted provided that the following conditions are met :
*
* 1. Redistributions of source code must retain the above copyright notice ,
* this list of conditions and the following disclaimer .
*
* 2. Redistributions in binary form must reproduce the above copyright notice ,
* this list of conditions and the following disclaimer in the documentation
* and / or other materials provided with the distribution .
*
* 3. Neither the name of Salesforce . com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission .
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR
* CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS
* INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN
* CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE )
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE .
2019-09-14 13:27:45 +10:00
* / v a r l = t ( 1 4 6 ) . S t o r e , r = t ( 1 4 7 ) . p e r m u t e D o m a i n , a = t ( 1 4 8 ) . p a t h M a t c h , i = t ( 3 ) ; f u n c t i o n o ( ) { l . c a l l ( t h i s ) , t h i s . i d x = { } } i . i n h e r i t s ( o , l ) , n . M e m o r y C o o k i e S t o r e = o , o . p r o t o t y p e . i d x = n u l l , o . p r o t o t y p e . s y n c h r o n o u s = ! 0 , o . p r o t o t y p e . i n s p e c t = f u n c t i o n ( ) { r e t u r n " { i d x : " + i . i n s p e c t ( t h i s . i d x , ! 1 , 2 ) + " } " } , i . i n s p e c t . c u s t o m & & ( o . p r o t o t y p e [ i . i n s p e c t . c u s t o m ] = o . p r o t o t y p e . i n s p e c t ) , o . p r o t o t y p e . f i n d C o o k i e = f u n c t i o n ( e , n , t , l ) { r e t u r n t h i s . i d x [ e ] & & t h i s . i d x [ e ] [ n ] ? l ( n u l l , t h i s . i d x [ e ] [ n ] [ t ] | | n u l l ) : l ( n u l l , v o i d 0 ) } , o . p r o t o t y p e . f i n d C o o k i e s = f u n c t i o n ( e , n , t ) { v a r l = [ ] , i ; i f ( ! e ) r e t u r n t ( n u l l , [ ] ) ; i = n ? f u n c t i o n e ( t ) { O b j e c t . k e y s ( t ) . f o r E a c h ( f u n c t i o n ( e ) { i f ( a ( n , e ) ) { v a r r = t [ e ] ; f o r ( v a r i i n r ) l . p u s h ( r [ i ] ) } } ) } : f u n c t i o n e ( n ) { f o r ( v a r t i n n ) { v a r r = n [ t ] ; f o r ( v a r a i n r ) l . p u s h ( r [ a ] ) } } ; v a r o = r ( e ) | | [ e ] , s = t h i s . i d x ; o . f o r E a c h ( f u n c t i o n ( e ) { v a r n = s [ e ] ; n & & i ( n ) } ) , t ( n u l l , l ) } , o . p r o t o t y p e . p u t C o o k i e = f u n c t i o n ( e , n ) { t h i s . i d x [ e . d o m a i n ] | | ( t h i s . i d x [ e . d o m a i n ] = { } ) , t h i s . i d x [ e . d o m a i n ] [ e . p a t h ] | | ( t h i s . i d x [ e . d o m a i n ] [ e . p a t h ] = { } ) , t h i s . i d x [ e . d o m a i n ] [ e . p a t h ] [ e . k e y ] = e , n ( n u l l ) } , o . p r o t o t y p e . u p d a t e C o o k i e = f u n c t i o n ( e , n , t ) { t h i s . p u t C o o k i e ( n , t ) } , o . p r o t o t y p e . r e m o v e C o o k i e = f u n c t i o n ( e , n , t , l ) { t h i s . i d x [ e ] & & t h i s . i d x [ e ] [ n ] & & t h i s . i d x [ e ] [ n ] [ t ] & & d e l e t e t h i s . i d x [ e ] [ n ] [ t ] , l ( n u l l ) } , o . p r o t o t y p e . r e m o v e C o o k i e s = f u n c t i o n ( e , n , t ) { r e t u r n t h i s . i d x [ e ] & & ( n ? d e l e t e t h i s . i d x [ e ] [ n ] : d e l e t e t h i s . i d x [ e ] ) , t ( n u l l ) } , o . p r o t o t y p e . r e m o v e A l l C o o k i e s = f u n c t i o n ( e ) { r e t u r n t h i s . i d x = { } , e ( n u l l ) } , o . p r o t o t y p e . g e t A l l C o o k i e s = f u n c t i o n ( e ) { v a r n = [ ] , t = t h i s . i d x , l = O b j e c t . k e y s ( t ) ; l . f o r E a c h ( f u n c t i o n ( e ) { v a r l = O b j e c t . k e y s ( t [ e ] ) ; l . f o r E a c h ( f u n c t i o n ( l ) { v a r r = O b j e c t . k e y s ( t [ e ] [ l ] ) ; r . f o r E a c h ( f u n c t i o n ( r ) { n u l l ! = = r & & n . p u s h ( t [ e ] [ l ] [ r ] ) } ) } ) } ) , n . s o r t ( f u n c t i o n ( e , n ) { r e t u r n ( e . c r e a t i o n I n d e x | | 0 ) - ( n . c r e a t i o n I n d e x | | 0 ) } ) , e ( n u l l , n ) } } , f u n c t i o n ( e , n ) { e . e x p o r t s = " 2 . 5 . 0 " } , f u n c t i o n ( e , n ) { n . e n d i a n n e s s = f u n c t i o n ( ) { r e t u r n " L E " } , n . h o s t n a m e = f u n c t i o n ( ) { r e t u r n " u n d e f i n e d " ! = t y p e o f l o c a t i o n ? l o c a t i o n . h o s t n a m e : " " } , n . l o a d a v g = f u n c t i o n ( ) { r e t u r n [ ] } , n . u p t i m e = f u n c t i o n ( ) { r e t u r n 0 } , n . f r e e m e m = f u n c t i o n ( ) { r e t u r n N u m b e r . M A X _ V A L U E } , n . t o t a l m e m = f u n c t i o n ( ) { r e t u r n N u m b e r . M A X _ V A L U E } , n . c p u s = f u n c t i o n ( ) { r e t u r n [ ] } , n . t y p e = f u n c t i o n ( ) { r e t u r n " B r o w s e r " } , n . r e l e a s e = f u n c t i o n ( ) { r e t u r n " u n d e f i n e d " ! = t y p e o f n a v i g a t o r ? n a v i g a t o r . a p p V e r s i o n : " " } , n . n e t w o r k I n t e r f a c e s = n . g e t N e t w o r k I n t e r f a c e s = f u n c t i o n ( ) { r e t u r n { } } , n . a r c h = f u n c t i o n ( ) { r e t u r n " j a v a s c r i p t " } , n . p l a t f o r m = f u n c t i o n ( ) { r e t u r n " b r o w s e r " } , n . t m p d i r = n . t m p D i r = f u n c t i o n ( ) { r e t u r n " / t m p " } , n . E O L = " \ n " , n . h o m e d i r = f u n c t i o n ( ) { r e t u r n " / " } } , f u n c t i o n ( e , n , t ) { " u s e s t r i c t " ; e . e x p o r t s = t ( 3 5 7 ) } , f u n c t i o n ( e , n , t ) { " u s e s t r i c t " ; e . e x p o r t s = t ( 1 4 4 ) } , f u n c t i o n ( e , n , t ) { c o n s t l = t ( 3 5 9 ) ; e . e x p o r t s = n e w l } , f u n c t i o n ( e , n , t ) { c o n s t l = t ( 1 ) , r = t ( 3 6 0 ) , { Q u o t a E x c e e d e d E r r o r : a , T y p e M i s m a t c h E r r o r : i } = t ( 5 7 ) , o = [ I n t 8 A r r a y , U i n t 8 A r r a y , I n t 1 6 A r r a y , U i n t 1 6 A r r a y , I n t 3 2 A r r a y , U i n t 3 2 A r r a y ] , s = { I n t 8 A r r a y : " g e t I n t 8 " , U i n t 8 A r r a y : " g e t U i n t 8 " , I n t 1 6 A r r a y : " g e t I n t 1 6 " , U i n t 1 6 A r r a y : " g e t U i n t 1 6 " , I n t 3 2 A r r a y : " g e t I n t 3 2 " , U i n t 3 2 A r r a y : " g e t U i n t 3 2 " } ; c l a s s u { g e t R a n d o m V a l u e s ( e ) { i f ( ! o . s o m e ( n = > e i n s t a n c e o f n ) ) t h r o w n e w i ; l e t n = e . b y t e L e n g t h ; i f ( n > 6 5 5 3 6 ) t h r o w n e w a ; l e t t = e . c o n s t r u c t o r , r = s [ t . n a m e ] , u = n * e . l e n g t h , c = l . r a n d o m B y t e s ( u ) , p = n e w U i n t 8 A r r a y ( c ) , h = n e w D a t a V i e w ( p . b u f f e r ) ; f o r ( l e t t = 0 ; t < u ; t + = n ) { l e t l = h [ r ] ( t ) , a = t / n ; e [ a ] = l } r e t u r n e } g e t s u b t l e ( ) { r e t u r n n e w r } } e . e x p o r t s = u } , f u n c t i o n ( e , n , t ) { c o n s t l = t ( 3 6 1 ) , r = t ( 3 6 2 ) , a = t ( 3 6 3 ) , i = t ( 3 6 4 ) , o = t ( 3 6 5 ) , { I n v a l i d A c c e s s E r r o r : s , N o t S u p p o r t e d E r r o r : u } = t ( 5 7 ) , { T e x t E n c o d e r : c , T e x t D e c o d e r : p } = t ( 3 7 8 ) ; c l a s s h { e n c r y p t ( e , n , t ) { t = t . s l i c e ( ) ; l e t l = o . n o r m a l i z e ( " e n c r y p t " , e ) ; r e t u r n l i n s t a n c e o f E r r o r ? P r o m i s e . r e j e c t ( l ) : n e w P r o m i s e ( ( r , a ) = > { i f ( l . n a m e ! = = n . a l g o r i t h m . n a m e ) t h r o w n e w s ( " A l g o r i t h m d o e s n o t m a t c h k e y " ) ; i f ( ! n . u s a g e s . i n c l u d e s ( " e n c r y p t " ) ) t h r o w n e w s ( ' K e y u s a g e s m u s t i n c l u d e " e n c r y p t " ' ) ; l e t i = l . e n c r y p t ( e , n , t ) ; r ( i ) } ) } d e c r y p t ( e , n , t ) { l e t l = o . n o r m a l i z e ( " d e c r y p t " , e ) ; r e t u r n l i n s t a n c e o f E r r o r ? P r o m i s e . r e j e c t ( l ) : ( t = t . s l i c e ( ) , n e w P r o m i s e ( ( r , a ) = > { i f ( l . n a m e ! = = n . a l g o r i t h m . n a m e ) t h r o w n e w s ( " A l g o r i t h m d o e s n o t m a t c h k e y " ) ; i f ( ! n . u s a g e s . i n c l u d e s ( " d e c r y p t " ) ) t h r o w n e w s ( ' K e y u s a g e s m u s t i n c l u d e " d e c r y p t " ' ) ; l e t i = l . d e c r y p t ( e , n , t ) ; r ( i ) } ) ) } s i g n ( e , n , t ) { t = t . s l i c e ( ) ; l e t l = o . n o r m a l i z e ( " s i g n " , e ) ; r e t u r n l i n s t a n c e o f E r r o r ? P r o m i s e . r e j e c t ( l ) : n e w P r o m i s e ( ( e , r ) = > { i f ( l . n a m e ! = = n . a l g o r i t h m . n a m e ) t h r o w n e w s ( " A l g o r i t h m d o e s n o t m a t c h k e y " ) ; i f ( ! n . u s a g e s . i n c
2019-09-13 15:05:44 +10:00
//# sourceMappingURL=dweb-transports-bundle.js.map