2013-09-25 04:47:11 -04:00
! function ( t ) { if ( "function" == typeof bootstrap ) bootstrap ( "xmpp" , t ) ; else if ( "object" == typeof exports ) module . exports = t ( ) ; else if ( "function" == typeof define && define . amd ) define ( t ) ; else if ( "undefined" != typeof ses ) { if ( ! ses . ok ( ) ) return ; ses . makeXMPP = t } else "undefined" != typeof window ? window . XMPP = t ( ) : global . XMPP = t ( ) } ( function ( ) { var t ; return function ( t , e , n ) { function r ( n , o ) { if ( ! e [ n ] ) { if ( ! t [ n ] ) { var a = "function" == typeof require && require ; if ( ! o && a ) return a ( n , ! 0 ) ; if ( i ) return i ( n , ! 0 ) ; throw new Error ( "Cannot find module '" + n + "'" ) } var s = e [ n ] = { exports : { } } ; t [ n ] [ 0 ] . call ( s . exports , function ( e ) { var i = t [ n ] [ 1 ] [ e ] ; return r ( i ? i : e ) } , s , s . exports ) } return e [ n ] . exports } for ( var i = "function" == typeof require && require , o = 0 ; o < n . length ; o ++ ) r ( n [ o ] ) ; return r } ( { 1 : [ function ( t , e , n ) { n . Message = t ( "./lib/stanza/message" ) , n . Presence = t ( "./lib/stanza/presence" ) , n . Iq = t ( "./lib/stanza/iq" ) , n . Client = t ( "./lib/client" ) , n . crypto = t ( "crypto" ) , n . createClient = function ( e ) { var r = new n . Client ( e ) ; return r . use ( t ( "./lib/plugins/disco" ) ) , r . use ( t ( "./lib/plugins/chatstates" ) ) , r . use ( t ( "./lib/plugins/delayed" ) ) , r . use ( t ( "./lib/plugins/forwarding" ) ) , r . use ( t ( "./lib/plugins/carbons" ) ) , r . use ( t ( "./lib/plugins/time" ) ) , r . use ( t ( "./lib/plugins/mam" ) ) , r . use ( t ( "./lib/plugins/receipts" ) ) , r . use ( t ( "./lib/plugins/idle" ) ) , r . use ( t ( "./lib/plugins/correction" ) ) , r . use ( t ( "./lib/plugins/attention" ) ) , r . use ( t ( "./lib/plugins/version" ) ) , r . use ( t ( "./lib/plugins/invisible" ) ) , r . use ( t ( "./lib/plugins/muc" ) ) , r . use ( t ( "./lib/plugins/pubsub" ) ) , r . use ( t ( "./lib/plugins/avatar" ) ) , r . use ( t ( "./lib/plugins/private" ) ) , r . use ( t ( "./lib/plugins/bookmarks" ) ) , r } } , { "./lib/client" : 2 , "./lib/plugins/attention" : 4 , "./lib/plugins/avatar" : 5 , "./lib/plugins/bookmarks" : 6 , "./lib/plugins/carbons" : 7 , "./lib/plugins/chatstates" : 8 , "./lib/plugins/correction" : 9 , "./lib/plugins/delayed" : 10 , "./lib/plugins/disco" : 11 , "./lib/plugins/forwarding" : 12 , "./lib/plugins/idle" : 13 , "./lib/plugins/invisible" : 14 , "./lib/plugins/mam" : 15 , "./lib/plugins/muc" : 16 , "./lib/plugins/private" : 17 , "./lib/plugins/pubsub" : 18 , "./lib/plugins/receipts" : 19 , "./lib/plugins/time" : 20 , "./lib/plugins/version" : 21 , "./lib/stanza/iq" : 35 , "./lib/stanza/message" : 37 , "./lib/stanza/presence" : 39 , crypto : 63 } ] , 2 : [ function ( t , e ) { function n ( t ) { var e = this ; r . call ( this ) , this . config = t || { } , this . jid = new p , this . _idPrefix = a . v4 ( ) , this . _idCount = 0 , this . timeoutMonitor = null , this . negotiatedFeatures = { } , this . featureOrder = [ "sasl" , "streamManagement" , "bind" , "streamManagement" , "session" ] , this . features = { } , this . conn = new h , this . conn . on ( "*" , function ( t , n ) { e . emit ( t , n ) } ) , this . on ( "streamFeatures" , function ( t ) { var n = [ function ( e ) { e ( null , t ) } ] , r = [ "setup" ] ; e . featureOrder . forEach ( function ( i ) { t . _extensions [ i ] && ! e . negotiatedFeatures [ i ] && ( n . push ( function ( t , n ) { ! e . negotiatedFeatures [ i ] && e . features [ i ] ? e . features [ i ] ( t , n ) : n ( null , t ) } ) , r . push ( i ) ) } ) , o . waterfall ( n , function ( t ) { "restart" === t ? e . conn . restart ( ) : "disconnect" === t && e . disconnect ( ) } ) } ) , this . features . sasl = function ( t , n ) { var r = m . create ( t . sasl . mechanisms ) ; e . on ( "sasl:success" , "sasl" , function ( ) { e . negotiatedFeatures . sasl = ! 0 , e . releaseGroup ( "sasl" ) , e . emit ( "auth:success" ) , n ( "restart" ) } ) , e . on ( "sasl:challenge" , "sasl" , function ( t ) { r . challenge ( t . value ) , e . send ( new u . Response ( { value : r . response ( e . getCredentials ( ) ) } ) ) , r . cache && ( i . each ( r . cache , function ( t , n ) { e . config . credentials [ n ] = btoa ( t ) } ) , e . emit ( "credentials:update" , e . config . credentials ) ) , n ( ) } ) , e . on ( "sasl:failure" , "sasl" , function ( ) { e . releaseGroup ( "sasl" ) , e . emit ( "auth:failed" ) , n ( "disconnect" ) } ) , e . on ( "sasl:abort" , "sasl" , function ( ) { e . releaseGroup ( "sasl" ) , e . emit ( "auth:failed" ) , n ( "disconnect" ) } ) ; var o = { mechanism : r . name } ; r . clientFirst && ( o . value = r . response ( e . getCredentials ( ) ) ) , e . send ( new u . Auth ( o ) ) } , this . features . bind = function ( t , n ) { e . sendIq ( { type : "set" , bind : { resource : e . config . resource } } , function ( r , i ) { e . negotiatedFeatures . bind = ! 0 , e . emit ( "session:bound" , i . bind . jid ) , e . jid = new p ( i . bind . jid ) , t . _extensions . session || ( e . sessionStarted = ! 0 , e . emit ( "session:started" , i . bind . jid ) ) , n ( null , t ) } ) } , this . features . session = function ( t , n ) { e . sendIq ( { type : "set" , session : { } } , function ( ) { e . negotiatedFeatures . session = ! 0 , e . sessionStarted = ! 0 , e . emit ( "session:started" , e . jid ) , n ( null , t ) } ) } , this . features . streamManagement = function
2013-09-24 22:44:35 -04:00
i . prototype . resultReply = function ( t ) { return t . to = this . from , t . id = this . id , t . type = "result" , new i ( t ) } , i . prototype . errorReply = function ( t ) { return t . to = this . from , t . id = this . id , t . type = "error" , new i ( t ) } } , { "./util" : 52 , jxt : 77 } ] , 36 : [ function ( t , e , n ) { var r = t ( "jxt" ) , i = t ( "./util" ) , o = t ( "./message" ) , a = t ( "./iq" ) , s = t ( "./forwarded" ) , u = t ( "./rsm" ) , c = t ( "../jid" ) ; n . MAMQuery = r . define ( { name : "mamQuery" , namespace : "urn:xmpp:mam:tmp" , element : "query" , fields : { queryid : r . attribute ( "queryid" ) , start : i . dateSub ( "urn:xmpp:mam:tmp" , "start" ) , end : i . dateSub ( "urn:xmpp:mam:tmp" , "end" ) , "with" : i . jidSub ( "urn:xmpp:mam:tmp" , "with" ) } } ) , n . Result = r . define ( { name : "mam" , eventName : "mam:result" , namespace : "urn:xmpp:mam:tmp" , element : "result" , fields : { queryid : r . attribute ( "queryid" ) , id : r . attribute ( "id" ) } } ) , n . Archived = r . define ( { name : "mamArchived" , namespace : "urn:xmpp:mam:tmp" , element : "archived" , fields : { by : i . jidAttribute ( "by" ) , id : r . attribute ( "id" ) } } ) , n . Prefs = r . define ( { name : "mamPrefs" , namespace : "urn:xmpp:mam:tmp" , element : "prefs" , fields : { defaultCondition : r . attribute ( "default" ) , always : { get : function ( ) { var t = [ ] , e = r . find ( this . xml , this . _NS , "always" ) ; if ( 0 === e . length ) return t ; e = e [ 0 ] ; var n = r . getMultiSubText ( e , this . _NS , "jid" ) ; return n . forEach ( function ( e ) { t . push ( new c ( e . textContent ) ) } ) , t } , set : function ( t ) { if ( t . length > 0 ) { var e = r . find ( this . xml , this . _NS , "always" ) ; r . setMultiSubText ( e , this . _NS , "jid" , t ) } } } , never : { get : function ( ) { var t = [ ] , e = r . find ( this . xml , this . _NS , "always" ) ; if ( 0 === e . length ) return t ; e = e [ 0 ] ; var n = r . getMultiSubText ( e , this . _NS , "jid" ) ; return n . forEach ( function ( e ) { t . push ( new c ( e . textContent ) ) } ) , t } , set : function ( t ) { if ( t . length > 0 ) { var e = r . find ( this . xml , this . _NS , "never" ) ; r . setMultiSubText ( e , this . _NS , "jid" , t ) } } } } } ) , r . extend ( o , n . Archived , "archived" ) , r . extend ( a , n . MAMQuery ) , r . extend ( a , n . Prefs ) , r . extend ( o , n . Result ) , r . extend ( n . Result , s ) , r . extend ( n . MAMQuery , u ) } , { "../jid" : 3 , "./forwarded" : 33 , "./iq" : 35 , "./message" : 37 , "./rsm" : 44 , "./util" : 52 , jxt : 77 } ] , 37 : [ function ( t , e ) { t ( "underscore" ) ; var n = t ( "jxt" ) , r = t ( "./util" ) ; e . exports = n . define ( { name : "message" , namespace : "jabber:client" , element : "message" , topLevel : ! 0 , fields : { lang : r . langAttribute ( ) , id : n . attribute ( "id" ) , to : r . jidAttribute ( "to" ) , from : r . jidAttribute ( "from" ) , type : n . attribute ( "type" , "normal" ) , thread : n . subText ( "jabber:client" , "thread" ) , parentThread : n . subAttribute ( "jabber:client" , "thread" , "parent" ) , $body : { get : function ( ) { return n . getSubLangText ( this . xml , this . _NS , "body" , this . lang ) } } , body : { get : function ( ) { var t = this . $body ; return t [ this . lang ] || "" } , set : function ( t ) { n . setSubLangText ( this . xml , this . _NS , "body" , t , this . lang ) } } , attention : n . boolSub ( "urn:xmpp:attention:0" , "attention" ) , replace : n . subAttribute ( "urn:xmpp:message-correct:0" , "replace" , "id" ) } } ) } , { "./util" : 52 , jxt : 77 , underscore : 96 } ] , 38 : [ function ( t , e , n ) { var r = t ( "jxt" ) ; t ( "./message" ) ; var i = t ( "./presence" ) ; t ( "./iq" ) ; var o = "http://jabber.org/protocol/muc" ; n . MUCJoin = r . define ( { name : "joinMuc" , namespace : o , element : "x" , fields : { password : r . subText ( o , "password" ) , history : { get : function ( ) { var t = { } , e = r . find ( this . xml , this . _NS , "history" ) ; if ( ! e . length ) return { } ; e = e [ 0 ] ; var n = e . getAttribute ( "maxchars" ) || "" , i = e . getAttribute ( "maxstanas" ) || "" , o = e . getAttribute ( "seconds" ) || "" , a = e . getAttribute ( "since" ) || "" ; n && ( t . maxchars = parseInt ( n , 10 ) ) , i && ( t . maxstanzas = parseInt ( i , 10 ) ) , o && ( t . seconds = parseInt ( o , 10 ) ) , a && ( t . since = new Date ( a ) ) } , set : function ( t ) { var e = r . find ( this . xml , this . _NS , "history" ) ; if ( e . length ) for ( var n = 0 ; n < e . length ; n ++ ) this . xml . removeChild ( e [ n ] ) ; var i = document . createElementNS ( this . _NS , "history" ) ; this . xml . appendChild ( i ) , t . maxchars && i . setAttribute ( "" + t . maxchars ) , t . maxstanzas && i . setAttribute ( "" + t . maxstanzas ) , t . seconds && i . setAttribute ( "" + t . seconds ) , t . since && i . setAttribute ( t . since . toISOString ( ) ) } } } } ) , r . extend ( i , n . MUCJoin ) } , { "./iq" : 35 , "./message" : 37 , "./presence" : 39 , jxt : 77 } ] , 39 : [ function ( t , e ) { t ( "underscore" ) ; var n = t ( "jxt" ) , r = t ( "./util" ) ; e . exports = n . define ( { name : "presence" , namespace : "jabber:client" , element : "presence" , topLevel : ! 0 , fields : { lang : r . langAttribute ( ) , id : n . attribute ( "id" ) , to : r . jidAttribute ( "to" ) , from : r . jidAttribute ( "from" ) , priority : n . subText ( "jabber:client" , "priority" , "0" ) , show : n . subText ( "jabber:client" , "show" ) , type : { get : function ( ) { return n . getAttribute ( th
} catch ( f ) { return ! 1 } if ( o . length != a . length ) return ! 1 ; for ( o . sort ( ) , a . sort ( ) , i = o . length - 1 ; i >= 0 ; i -- ) if ( o [ i ] != a [ i ] ) return ! 1 ; for ( i = o . length - 1 ; i >= 0 ; i -- ) if ( r = o [ i ] , ! s ( t [ r ] , e [ r ] ) ) return ! 1 ; return ! 0 } function l ( t , e ) { return t && e ? e instanceof RegExp ? e . test ( t ) : t instanceof e ? ! 0 : e . call ( { } , t ) === ! 0 ? ! 0 : ! 1 : ! 1 } function p ( t , e , n , r ) { var i ; "string" == typeof n && ( r = n , n = null ) ; try { e ( ) } catch ( a ) { i = a } if ( r = ( n && n . name ? " (" + n . name + ")." : "." ) + ( r ? " " + r : "." ) , t && ! i && o ( "Missing expected exception" + r ) , ! t && l ( i , n ) && o ( "Got unwanted exception" + r ) , t && i && n && ! l ( i , n ) || ! t && i ) throw i } var h = t ( "util" ) , d = t ( "buffer" ) . Buffer , m = Array . prototype . slice , g = e . exports = a ; g . AssertionError = function ( t ) { this . name = "AssertionError" , this . message = t . message , this . actual = t . actual , this . expected = t . expected , this . operator = t . operator ; var e = t . stackStartFunction || o ; Error . captureStackTrace && Error . captureStackTrace ( this , e ) } , h . inherits ( g . AssertionError , Error ) , g . AssertionError . prototype . toString = function ( ) { return this . message ? [ this . name + ":" , this . message ] . join ( " " ) : [ this . name + ":" , i ( JSON . stringify ( this . actual , r ) , 128 ) , this . operator , i ( JSON . stringify ( this . expected , r ) , 128 ) ] . join ( " " ) } , g . fail = o , g . ok = a , g . equal = function ( t , e , n ) { t != e && o ( t , e , n , "==" , g . equal ) } , g . notEqual = function ( t , e , n ) { t == e && o ( t , e , n , "!=" , g . notEqual ) } , g . deepEqual = function ( t , e , n ) { s ( t , e ) || o ( t , e , n , "deepEqual" , g . deepEqual ) } , g . notDeepEqual = function ( t , e , n ) { s ( t , e ) && o ( t , e , n , "notDeepEqual" , g . notDeepEqual ) } , g . strictEqual = function ( t , e , n ) { t !== e && o ( t , e , n , "===" , g . strictEqual ) } , g . notStrictEqual = function ( t , e , n ) { t === e && o ( t , e , n , "!==" , g . notStrictEqual ) } , g . throws = function ( ) { p . apply ( this , [ ! 0 ] . concat ( m . call ( arguments ) ) ) } , g . doesNotThrow = function ( ) { p . apply ( this , [ ! 1 ] . concat ( m . call ( arguments ) ) ) } , g . ifError = function ( t ) { if ( t ) throw t } } , { buffer : 61 , util : 59 } ] , 58 : [ function ( t , e , n ) { function r ( t , e ) { if ( t . indexOf ) return t . indexOf ( e ) ; for ( var n = 0 ; n < t . length ; n ++ ) if ( e === t [ n ] ) return n ; return - 1 } var i = t ( "__browserify_process" ) ; i . EventEmitter || ( i . EventEmitter = function ( ) { } ) ; var o = n . EventEmitter = i . EventEmitter , a = "function" == typeof Array . isArray ? Array . isArray : function ( t ) { return "[object Array]" === Object . prototype . toString . call ( t ) } , s = 10 ; o . prototype . setMaxListeners = function ( t ) { this . _events || ( this . _events = { } ) , this . _events . maxListeners = t } , o . prototype . emit = function ( t ) { if ( "error" === t && ( ! this . _events || ! this . _events . error || a ( this . _events . error ) && ! this . _events . error . length ) ) throw arguments [ 1 ] instanceof Error ? arguments [ 1 ] : new Error ( "Uncaught, unspecified 'error' event." ) ; if ( ! this . _events ) return ! 1 ; var e = this . _events [ t ] ; if ( ! e ) return ! 1 ; if ( "function" == typeof e ) { switch ( arguments . length ) { case 1 : e . call ( this ) ; break ; case 2 : e . call ( this , arguments [ 1 ] ) ; break ; case 3 : e . call ( this , arguments [ 1 ] , arguments [ 2 ] ) ; break ; default : var n = Array . prototype . slice . call ( arguments , 1 ) ; e . apply ( this , n ) } return ! 0 } if ( a ( e ) ) { for ( var n = Array . prototype . slice . call ( arguments , 1 ) , r = e . slice ( ) , i = 0 , o = r . length ; o > i ; i ++ ) r [ i ] . apply ( this , n ) ; return ! 0 } return ! 1 } , o . prototype . addListener = function ( t , e ) { if ( "function" != typeof e ) throw new Error ( "addListener only takes instances of Function" ) ; if ( this . _events || ( this . _events = { } ) , this . emit ( "newListener" , t , e ) , this . _events [ t ] ) if ( a ( this . _events [ t ] ) ) { if ( ! this . _events [ t ] . warned ) { var n ; n = void 0 !== this . _events . maxListeners ? this . _events . maxListeners : s , n && n > 0 && this . _events [ t ] . length > n && ( this . _events [ t ] . warned = ! 0 , console . error ( "(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit." , this . _events [ t ] . length ) , console . trace ( ) ) } this . _events [ t ] . push ( e ) } else this . _events [ t ] = [ this . _events [ t ] , e ] ; else this . _events [ t ] = e ; return this } , o . prototype . on = o . prototype . addListener , o . prototype . once = function ( t , e ) { var n = this ; return n . on ( t , function r ( ) { n . removeListener ( t , r ) , e . apply ( this , arguments ) } ) , this } , o . prototype . removeListener = function ( t , e ) { if ( "function" != typeof e ) throw new Error ( "removeListener only takes instances of Function" ) ; if ( ! this . _events || ! this . _events [ t ] ) return this ; var n = this . _events [ t ] ; if ( a ( n ) ) { var i = r ( n , e ) ; if ( 0 > i ) return this ; n . splice ( i , 1 ) , 0 == n . length && delete this . _events [ t ] } else this . _events [ t ] === e && delete this . _events [ t ] ; return this } , o . prototype . removeAllListeners = function ( t ) { re
2013-09-24 04:08:11 -04:00
t [ e >> 5 ] |= 128 << 24 - e % 32 , t [ ( e + 64 >> 9 << 4 ) + 15 ] = e ; for ( var f = 0 ; f < t . length ; f += 16 ) { n = _ [ 0 ] , r = _ [ 1 ] , i = _ [ 2 ] , o = _ [ 3 ] , a = _ [ 4 ] , s = _ [ 5 ] , u = _ [ 6 ] , c = _ [ 7 ] ; for ( var l = 0 ; 64 > l ; l ++ ) E [ l ] = 16 > l ? t [ l + f ] : p ( p ( p ( x ( E [ l - 2 ] ) , E [ l - 7 ] ) , b ( E [ l - 15 ] ) ) , E [ l - 16 ] ) , h = p ( p ( p ( p ( c , y ( a ) ) , m ( a , s , u ) ) , w [ l ] ) , E [ l ] ) , d = p ( v ( n ) , g ( n , r , i ) ) , c = u , u = s , s = a , a = p ( o , h ) , o = i , i = r , r = n , n = p ( h , d ) ; _ [ 0 ] = p ( n , _ [ 0 ] ) , _ [ 1 ] = p ( r , _ [ 1 ] ) , _ [ 2 ] = p ( i , _ [ 2 ] ) , _ [ 3 ] = p ( o , _ [ 3 ] ) , _ [ 4 ] = p ( a , _ [ 4 ] ) , _ [ 5 ] = p ( s , _ [ 5 ] ) , _ [ 6 ] = p ( u , _ [ 6 ] ) , _ [ 7 ] = p ( c , _ [ 7 ] ) } return _ } , _ = function ( t ) { for ( var e = Array ( ) , n = ( 1 << l ) - 1 , r = 0 ; r < t . length * l ; r += l ) e [ r >> 5 ] |= ( t . charCodeAt ( r / l ) & n ) << 24 - r % 32 ; return e } , E = function ( t ) { for ( var e = f ? "0123456789ABCDEF" : "0123456789abcdef" , n = "" , r = 0 ; r < 4 * t . length ; r ++ ) n += e . charAt ( 15 & t [ r >> 2 ] >> 8 * ( 3 - r % 4 ) + 4 ) + e . charAt ( 15 & t [ r >> 2 ] >> 8 * ( 3 - r % 4 ) ) ; return n } , S = function ( t ) { var e , n , r , i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" , o = "" , a = 4 * t . length , s = "=" ; for ( e = 0 ; a > e ; e += 3 ) for ( r = ( 255 & t [ e >> 2 ] >> 8 * ( 3 - e % 4 ) ) << 16 | ( 255 & t [ e + 1 >> 2 ] >> 8 * ( 3 - ( e + 1 ) % 4 ) ) << 8 | 255 & t [ e + 2 >> 2 ] >> 8 * ( 3 - ( e + 2 ) % 4 ) , n = 0 ; 4 > n ; n += 1 ) o += 8 * e + 6 * n <= 32 * t . length ? i . charAt ( 63 & r >> 6 * ( 3 - n ) ) : s ; return o } , j = function ( t , e ) { var n = _ ( t ) ; n . length > 16 && ( n = w ( n , t . length * l ) ) ; for ( var r = Array ( 16 ) , i = Array ( 16 ) , o = 0 ; 16 > o ; o ++ ) r [ o ] = 909522486 ^ n [ o ] , i [ o ] = 1549556828 ^ n [ o ] ; var a = w ( r . concat ( _ ( e ) ) , 512 + e . length * l ) ; return w ( i . concat ( a ) , 768 ) } } , { } ] , 68 : [ function ( t , e ) { t = function ( t , e , n , r ) { function i ( r ) { if ( ! n [ r ] ) { if ( ! e [ r ] ) { if ( t ) return t ( r ) ; throw new Error ( "Cannot find module '" + r + "'" ) } var o = n [ r ] = { exports : { } } ; e [ r ] [ 0 ] ( function ( t ) { var n = e [ r ] [ 1 ] [ t ] ; return i ( n ? n : t ) } , o , o . exports ) } return n [ r ] . exports } for ( var o = 0 ; o < r . length ; o ++ ) i ( r [ o ] ) ; return i } ( "undefined" != typeof t && t , { 1 : [ function ( t , e ) { function n ( t ) { if ( Object . keys ) return Object . keys ( t ) ; var e = [ ] ; for ( var n in t ) Object . prototype . hasOwnProperty . call ( t , n ) && e . push ( n ) ; return e } function r ( t , e ) { return void 0 === e ? "" + e : "number" != typeof e || ! isNaN ( e ) && isFinite ( e ) ? "function" == typeof e || e instanceof RegExp ? e . toString ( ) : e : e . toString ( ) } function i ( t , e ) { return "string" == typeof t ? t . length < e ? t : t . slice ( 0 , e ) : t } function o ( t , e , n , r , i ) { throw new g . AssertionError ( { message : n , actual : t , expected : e , operator : r , stackStartFunction : i } ) } function a ( t , e ) { t || o ( t , ! 0 , e , "==" , g . ok ) } function s ( t , e ) { if ( t === e ) return ! 0 ; if ( d . isBuffer ( t ) && d . isBuffer ( e ) ) { if ( t . length != e . length ) return ! 1 ; for ( var n = 0 ; n < t . length ; n ++ ) if ( t [ n ] !== e [ n ] ) return ! 1 ; return ! 0 } return t instanceof Date && e instanceof Date ? t . getTime ( ) === e . getTime ( ) : "object" != typeof t && "object" != typeof e ? t == e : f ( t , e ) } function u ( t ) { return null === t || void 0 === t } function c ( t ) { return "[object Arguments]" == Object . prototype . toString . call ( t ) } function f ( t , e ) { if ( u ( t ) || u ( e ) ) return ! 1 ; if ( t . prototype !== e . prototype ) return ! 1 ; if ( c ( t ) ) return c ( e ) ? ( t = m . call ( t ) , e = m . call ( e ) , s ( t , e ) ) : ! 1 ; try { var r , i , o = n ( t ) , a = n ( e ) } catch ( f ) { return ! 1 } if ( o . length != a . length ) return ! 1 ; for ( o . sort ( ) , a . sort ( ) , i = o . length - 1 ; i >= 0 ; i -- ) if ( o [ i ] != a [ i ] ) return ! 1 ; for ( i = o . length - 1 ; i >= 0 ; i -- ) if ( r = o [ i ] , ! s ( t [ r ] , e [ r ] ) ) return ! 1 ; return ! 0 } function l ( t , e ) { return t && e ? e instanceof RegExp ? e . test ( t ) : t instanceof e ? ! 0 : e . call ( { } , t ) === ! 0 ? ! 0 : ! 1 : ! 1 } function p ( t , e , n , r ) { var i ; "string" == typeof n && ( r = n , n = null ) ; try { e ( ) } catch ( a ) { i = a } if ( r = ( n && n . name ? " (" + n . name + ")." : "." ) + ( r ? " " + r : "." ) , t && ! i && o ( "Missing expected exception" + r ) , ! t && l ( i , n ) && o ( "Got unwanted exception" + r ) , t && i && n && ! l ( i , n ) || ! t && i ) throw i } var h = t ( "util" ) , d = t ( "buffer" ) . Buffer , m = Array . prototype . slice , g = e . exports = a ; g . AssertionError = function ( t ) { this . name = "AssertionError" , this . message = t . message , this . actual = t . actual , this . expected = t . expected , this . operator = t . operator ; var e = t . stackStartFunction || o ; Error . captureStackTrace && Error . captureStackTrace ( this , e ) } , h . inherits ( g . AssertionError , Error ) , g . AssertionError . prototype . toString = function ( ) { return this . message ? [ this . name + ":" , this . message ] . join ( " " ) : [ this . name + ":" , i ( JSON . stringify ( this . actual , r ) , 128 ) , this . operator , i ( JSON . stringify ( this . expected , r ) , 128 ) ] . join ( " " ) } , g . AssertionError . _ _proto _ _ = Error . prototype , g . fail = o , g . ok = a , g . equal = function ( t , e , n ) { t != e && o ( t , e , n , "==" , g . equal ) } , g . notEqual = function ( t , e , n ) { t == e && o ( t , e , n , "!=" , g . notEqual ) } , g . deepEqual = function ( t , e , n ) { s ( t , e ) || o ( t , e , n , "deepEqual" , g . deepEqual ) } , g . notDeepEqual = function ( t , e , n ) { s ( t , e ) && o ( t , e , n , "notDeepEqual" , g . notDeepEqual ) } , g . strictEqual = functi
} function u ( t , e , n , r ) { for ( var i = 0 ; r > i && ! ( i + n >= e . length || i >= t . length ) ; ) e [ i + n ] = t [ i ] , i ++ ; return i } function c ( t ) { try { return decodeURIComponent ( t ) } catch ( e ) { return String . fromCharCode ( 65533 ) } } function f ( t ) { return t = ~ ~ Math . ceil ( + t ) , 0 > t ? 0 : t } function l ( t , e , n ) { if ( ! ( this instanceof l ) ) return new l ( t , e , n ) ; var i ; if ( "number" == typeof n ) this . length = f ( e ) , this . parent = t , this . offset = n ; else { switch ( i = typeof t ) { case "number" : this . length = f ( t ) ; break ; case "string" : this . length = l . byteLength ( t , e ) ; break ; case "object" : this . length = f ( t . length ) ; break ; default : throw new Error ( "First argument needs to be a number, array or string." ) } if ( this . length > l . poolSize ? ( this . parent = new r ( this . length ) , this . offset = 0 ) : ( ( ! N || N . length - N . used < this . length ) && h ( ) , this . parent = N , this . offset = N . used , N . used += this . length ) , p ( t ) ) for ( var o = 0 ; o < this . length ; o ++ ) this . parent [ o + this . offset ] = t [ o ] ; else "string" == i && ( this . length = this . write ( t , 0 , e ) ) } } function p ( t ) { return Array . isArray ( t ) || l . isBuffer ( t ) || t && "object" == typeof t && "number" == typeof t . length } function h ( ) { N = new r ( l . poolSize ) , N . used = 0 } function d ( t , e , n , r ) { var i = 0 ; return r || ( C . ok ( "boolean" == typeof n , "missing or invalid endian" ) , C . ok ( void 0 !== e && null !== e , "missing offset" ) , C . ok ( e + 1 < t . length , "Trying to read beyond buffer length" ) ) , n ? ( i = t . parent [ t . offset + e ] << 8 , i |= t . parent [ t . offset + e + 1 ] ) : ( i = t . parent [ t . offset + e ] , i |= t . parent [ t . offset + e + 1 ] << 8 ) , i } function m ( t , e , n , r ) { var i = 0 ; return r || ( C . ok ( "boolean" == typeof n , "missing or invalid endian" ) , C . ok ( void 0 !== e && null !== e , "missing offset" ) , C . ok ( e + 3 < t . length , "Trying to read beyond buffer length" ) ) , n ? ( i = t . parent [ t . offset + e + 1 ] << 16 , i |= t . parent [ t . offset + e + 2 ] << 8 , i |= t . parent [ t . offset + e + 3 ] , i += t . parent [ t . offset + e ] << 24 >>> 0 ) : ( i = t . parent [ t . offset + e + 2 ] << 16 , i |= t . parent [ t . offset + e + 1 ] << 8 , i |= t . parent [ t . offset + e ] , i += t . parent [ t . offset + e + 3 ] << 24 >>> 0 ) , i } function g ( t , e , n , r ) { var i , o ; return r || ( C . ok ( "boolean" == typeof n , "missing or invalid endian" ) , C . ok ( void 0 !== e && null !== e , "missing offset" ) , C . ok ( e + 1 < t . length , "Trying to read beyond buffer length" ) ) , o = d ( t , e , n , r ) , i = 32768 & o , i ? - 1 * ( 65535 - o + 1 ) : o } function v ( t , e , n , r ) { var i , o ; return r || ( C . ok ( "boolean" == typeof n , "missing or invalid endian" ) , C . ok ( void 0 !== e && null !== e , "missing offset" ) , C . ok ( e + 3 < t . length , "Trying to read beyond buffer length" ) ) , o = m ( t , e , n , r ) , i = 2147483648 & o , i ? - 1 * ( 4294967295 - o + 1 ) : o } function y ( e , n , r , i ) { return i || ( C . ok ( "boolean" == typeof r , "missing or invalid endian" ) , C . ok ( n + 3 < e . length , "Trying to read beyond buffer length" ) ) , t ( "./buffer_ieee754" ) . readIEEE754 ( e , n , r , 23 , 4 ) } function b ( e , n , r , i ) { return i || ( C . ok ( "boolean" == typeof r , "missing or invalid endian" ) , C . ok ( n + 7 < e . length , "Trying to read beyond buffer length" ) ) , t ( "./buffer_ieee754" ) . readIEEE754 ( e , n , r , 52 , 8 ) } function x ( t , e ) { C . ok ( "number" == typeof t , "cannot write a non-number as a number" ) , C . ok ( t >= 0 , "specified a negative value for writing an unsigned value" ) , C . ok ( e >= t , "value is larger than maximum value for type" ) , C . ok ( Math . floor ( t ) === t , "value has a fractional component" ) } function w ( t , e , n , r , i ) { i || ( C . ok ( void 0 !== e && null !== e , "missing value" ) , C . ok ( "boolean" == typeof r , "missing or invalid endian" ) , C . ok ( void 0 !== n && null !== n , "missing offset" ) , C . ok ( n + 1 < t . length , "trying to write beyond buffer length" ) , x ( e , 65535 ) ) , r ? ( t . parent [ t . offset + n ] = ( 65280 & e ) >>> 8 , t . parent [ t . offset + n + 1 ] = 255 & e ) : ( t . parent [ t . offset + n + 1 ] = ( 65280 & e ) >>> 8 , t . parent [ t . offset + n ] = 255 & e ) } function _ ( t , e , n , r , i ) { i || ( C . ok ( void 0 !== e && null !== e , "missing value" ) , C . ok ( "boolean" == typeof r , "missing or invalid endian" ) , C . ok ( void 0 !== n && null !== n , "missing offset" ) , C . ok ( n + 3 < t . length , "trying to write beyond buffer length" ) , x ( e , 4294967295 ) ) , r ? ( t . parent [ t . offset + n ] = 255 & e >>> 24 , t . parent [ t . offset + n + 1 ] = 255 & e >>> 16 , t . parent [ t . offset + n + 2 ] = 255 & e >>> 8 , t . parent [ t . offset + n + 3 ] = 255 & e ) : ( t . parent [ t . offset + n + 3 ] = 255 & e >>> 24 , t . parent [ t . offset + n + 2 ] = 255 & e >>> 16 , t . parent [ t . offset + n + 1 ] = 255 & e >>> 8 , t . parent [ t . offset + n ] = 255 & e ) } function E ( t , e , n ) { C . ok ( "number" == typeof t , "cannot write a non-number as a number" ) , C . ok ( e >= t , "value larger than maximum allowed value" ) , C . ok ( t >= n , "value smaller than minimum allowed value" ) , C . ok ( Math . floor ( t ) === t , "value has a fractional component" ) } function S ( t , e , n ) { C . ok ( "number" == typeof t , " cannot write a non - number as
2013-09-24 22:44:35 -04:00
e . exports = n } , { "global/window" : 74 , once : 75 } ] , 74 : [ function ( t , e ) { var n = self ; e . exports = "undefined" != typeof window ? window : "undefined" != typeof n ? n : { } } , { } ] , 75 : [ function ( t , e ) { function n ( t ) { var e = ! 1 ; return function ( ) { return e ? void 0 : ( e = ! 0 , t . apply ( this , arguments ) ) } } e . exports = n , n . proto = n ( function ( ) { Object . defineProperty ( Function . prototype , "once" , { value : function ( ) { return n ( this ) } , configurable : ! 0 } ) } ) } , { } ] , 76 : [ function ( e , n , r ) { var i = self ; ! function ( e ) { function o ( t ) { return "function" != typeof t . toString && "string" == typeof ( t + "" ) } function a ( t ) { t . length = 0 , v . length < x && v . push ( t ) } function s ( t ) { var e = t . k ; e && s ( e ) , t . b = t . k = t . object = t . number = t . string = null , y . length < x && y . push ( t ) } function u ( ) { } function c ( ) { var t = y . pop ( ) || { a : "" , b : null , c : "" , k : null , "false" : ! 1 , d : "" , e : "" , f : "" , "null" : ! 1 , number : null , object : null , push : null , g : null , string : null , h : "" , "true" : ! 1 , undefined : ! 1 , i : ! 1 , j : ! 1 } ; t . g = _ , t . b = t . c = t . f = t . h = "" , t . e = "r" , t . i = ! 0 , t . j = ! ! te ; for ( var e , n = 0 ; e = arguments [ n ] ; n ++ ) for ( var r in e ) t [ r ] = e [ r ] ; n = t . a , t . d = /^[^,]+/ . exec ( n ) [ 0 ] , e = Function , n = "return function(" + n + "){" , r = "var m,r=" + t . d + ",C=" + t . e + ";if(!r)return C;" + t . h + ";" , t . b ? ( r += "var s=r.length;m=-1;if(" + t . b + "){" , K . unindexedChars && ( r += "if(q(r)){r=r.split('')}" ) , r += "while(++m<s){" + t . f + ";}}else{" ) : K . nonEnumArgs && ( r += "var s=r.length;m=-1;if(s&&n(r)){while(++m<s){m+='';" + t . f + ";}}else{" ) , K . enumPrototypes && ( r += "var E=typeof r=='function';" ) , K . enumErrorProps && ( r += "var D=r===j||r instanceof Error;" ) ; var i = [ ] ; if ( K . enumPrototypes && i . push ( '!(E&&m=="prototype")' ) , K . enumErrorProps && i . push ( '!(D&&(m=="message"||m=="name"))' ) , t . i && t . j ) r += "var A=-1,B=z[typeof r]&&t(r),s=B?B.length:0;while(++A<s){m=B[A];" , i . length && ( r += "if(" + i . join ( "&&" ) + "){" ) , r += t . f + ";" , i . length && ( r += "}" ) , r += "}" ; else if ( r += "for(m in r){" , t . i && i . push ( "l.call(r, m)" ) , i . length && ( r += "if(" + i . join ( "&&" ) + "){" ) , r += t . f + ";" , i . length && ( r += "}" ) , r += "}" , K . nonEnumShadows ) { for ( r += "if(r!==y){var h=r.constructor,p=r===(h&&h.prototype),e=r===H?G:r===j?i:J.call(r),v=w[e];" , k = 0 ; 7 > k ; k ++ ) r += "m='" + t . g [ k ] + "';if((!(p&&v[m])&&l.call(r,m))" , t . i || ( r += "||(!v[m]&&r[m]!==y[m])" ) , r += "){" + t . f + "}" ; r += "}" } return ( t . b || K . nonEnumArgs ) && ( r += "}" ) , r += t . c + ";return C" , e = e ( "i,j,l,n,o,q,t,u,y,z,w,G,H,J" , n + r + "}" ) , s ( t ) , e ( I , F , P , f , Q , d , te , u , U , T , V , L , z , W ) } function f ( t ) { return W . call ( t ) == E } function l ( t , e , n , r , i , s ) { var c = n === b ; if ( "function" == typeof n && ! c ) { n = u . createCallback ( n , r , 2 ) ; var h = n ( t , e ) ; if ( "undefined" != typeof h ) return ! ! h } if ( t === e ) return 0 !== t || 1 / t == 1 / e ; var d = typeof t , m = typeof e ; if ( t === t && ( ! t || "function" != d && "object" != d ) && ( ! e || "function" != m && "object" != m ) ) return ! 1 ; if ( null == t || null == e ) return t === e ; if ( m = W . call ( t ) , d = W . call ( e ) , m == E && ( m = N ) , d == E && ( d = N ) , m != d ) return ! 1 ; switch ( m ) { case j : case A : return + t == + e ; case C : return t != + t ? e != + e : 0 == t ? 1 / t == 1 / e : t == + e ; case O : case L : return t == e + "" } if ( d = m == S , ! d ) { if ( P . call ( t , "__wrapped__" ) || P . call ( e , "__wrapped__" ) ) return l ( t . _ _wrapped _ _ || t , e . _ _wrapped _ _ || e , n , r , i , s ) ; if ( m != N || ! K . nodeClass && ( o ( t ) || o ( e ) ) ) return ! 1 ; var m = ! K . argsObject && f ( t ) ? Object : t . constructor , g = ! K . argsObject && f ( e ) ? Object : e . constructor ; if ( ! ( m == g || p ( m ) && m instanceof m && p ( g ) && g instanceof g ) ) return ! 1 } for ( g = ! i , i || ( i = v . pop ( ) || [ ] ) , s || ( s = v . pop ( ) || [ ] ) , m = i . length ; m -- ; ) if ( i [ m ] == t ) return s [ m ] == e ; var y = 0 , h = ! 0 ; if ( i . push ( t ) , s . push ( e ) , d ) { if ( m = t . length , y = e . length , h = y == t . length , ! h && ! c ) return h ; for ( ; y -- ; ) if ( d = m , g = e [ y ] , c ) for ( ; d -- && ! ( h = l ( t [ d ] , g , n , r , i , s ) ) ; ) ; else if ( ! ( h = l ( t [ y ] , g , n , r , i , s ) ) ) break ; return h } return ne ( e , function ( e , o , a ) { return P . call ( a , o ) ? ( y ++ , h = P . call ( t , o ) && l ( t [ o ] , e , n , r , i , s ) ) : void 0 } ) , h && ! c && ne ( t , function ( t , e , n ) { return P . call ( n , e ) ? h = - 1 < -- y : void 0 } ) , g && ( a ( i ) , a ( s ) ) , h } function p ( t ) { return "function" == typeof t } function h ( t ) { return ! ( ! t || ! T [ typeof t ] ) } function d ( t ) { return "string" == typeof t || W . call ( t ) == L } function m ( t , e , n ) { if ( e && "undefined" == typeof n && Q ( t ) ) { n = - 1 ; for ( var r = t . length ; ++ n < r && ! 1 !== e ( t [ n ] , n , t ) ; ) ; } else ee ( t , e , n ) ; return t } function g ( t ) { return t } var v = [ ] , y = [ ] , b = { } , x = 40 , w = ( w = /\bthis\b/ ) && w . test ( function ( ) { return this } ) && w , _ = "constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf" . split ( " " ) , E = "[object Arguments]" , S = "[object Array]" , j = "[object Boolean]" , A = "[object Date]" , I = "[object Error]" , C = "[object Number]" , N = " [ object
} } function Wn ( t ) { return null == t ? "" : pr ( t ) . replace ( ti , re ) } function Jn ( t ) { return t } function Gn ( t , e ) { var i = t , o = ! e || Ee ( i ) ; e || ( i = r , e = t , t = n ) , We ( de ( e ) , function ( n ) { var r = t [ n ] = e [ n ] ; o && ( i . prototype [ n ] = function ( ) { var e = this . _ _wrapped _ _ , n = [ e ] ; jr . apply ( n , arguments ) ; var o = r . apply ( t , n ) ; return e && "object" == typeof e && e === o ? this : new i ( o ) } ) } ) } function $n ( ) { return t . _ = gr , this } function Xn ( t , e , n ) { var r = null == t , i = null == e ; null == n && ( "boolean" == typeof t && i ? ( n = t , t = 1 ) : i || "boolean" != typeof e || ( n = e , i = ! 0 ) ) , r && i && ( e = 1 ) , t = + t || 0 , i ? ( e = t , t = 0 ) : e = + e || 0 ; var o = Pr ( ) ; return n || t % 1 || e % 1 ? t + zr ( o * ( e - t + parseFloat ( "1e-" + ( ( o + "" ) . length - 1 ) ) ) , e ) : t + xr ( o * ( e - t + 1 ) ) } function Hn ( t , e ) { if ( t ) { var n = t [ e ] ; return Ee ( n ) ? t [ e ] ( ) : n } } function Vn ( t , e , r ) { var i = n . templateSettings ; t || ( t = "" ) , r = ni ( { } , r , i ) ; var o , a = ni ( { } , r . imports , i . imports ) , s = Kr ( a ) , u = Me ( a ) , c = 0 , l = r . interpolate || q , p = "__p += '" , h = lr ( ( r . escape || q ) . source + "|" + l . source + "|" + ( l === L ? C : q ) . source + "|" + ( r . evaluate || q ) . source + "|$" , "g" ) ; t . replace ( h , function ( e , n , r , i , a , s ) { return r || ( r = i ) , p += t . slice ( c , s ) . replace ( M , f ) , n && ( p += "' +\n__e(" + n + ") +\n'" ) , a && ( o = ! 0 , p += "';\n" + a + ";\n__p += '" ) , r && ( p += "' +\n((__t = (" + r + ")) == null ? '' : __t) +\n'" ) , c = s + e . length , e } ) , p += "';\n" ; var d = r . variable , m = d ; m || ( d = "obj" , p = "with (" + d + ") {\n" + p + "\n}\n" ) , p = ( o ? p . replace ( k , "" ) : p ) . replace ( A , "$1" ) . replace ( I , "$1;" ) , p = "function(" + d + ") {\n" + ( m ? "" : d + " || (" + d + " = {});\n" ) + "var __t, __p = '', __e = _.escape" + ( o ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n" ) + p + "return __p\n}" ; var g = "\n/*\n//# sourceURL=" + ( r . sourceURL || "/lodash/template/source[" + U ++ + "]" ) + "\n*/" ; try { var v = sr ( s , "return " + p + g ) . apply ( y , u ) } catch ( b ) { throw b . source = p , b } return e ? v ( e ) : ( v . source = p , v ) } function Kn ( t , e , n ) { t = ( t = + t ) > - 1 ? t : 0 ; var r = - 1 , i = ir ( t ) ; for ( e = a ( e , n , 1 ) ; ++ r < t ; ) i [ r ] = e ( r ) ; return i } function Yn ( t ) { return null == t ? "" : pr ( t ) . replace ( Zr , ae ) } function Qn ( t ) { var e = ++ w ; return pr ( null == t ? "" : t ) + e } function Zn ( t ) { return t = new r ( t ) , t . _ _chain _ _ = ! 0 , t } function tr ( t , e ) { return e ( t ) , t } function er ( ) { return this . _ _chain _ _ = ! 0 , this } function nr ( ) { return pr ( this . _ _wrapped _ _ ) } function rr ( ) { return this . _ _wrapped _ _ } t = t ? ne . defaults ( Y . Object ( ) , t , ne . pick ( Y , F ) ) : Y ; var ir = t . Array , or = t . Boolean , ar = t . Date , sr = t . Function , ur = t . Math , cr = t . Number , fr = t . Object , lr = t . RegExp , pr = t . String , hr = t . TypeError , dr = [ ] , mr = fr . prototype , gr = t . _ , vr = lr ( "^" + pr ( mr . valueOf ) . replace ( /[.*+?^${}()|[\]\\]/g , "\\$&" ) . replace ( /valueOf|for [^\]]+/g , ".+?" ) + "$" ) , yr = ur . ceil , br = t . clearTimeout , xr = ur . floor , wr = sr . prototype . toString , _r = vr . test ( _r = fr . getPrototypeOf ) && _r , Er = mr . hasOwnProperty , Sr = vr . test ( Sr = ar . now ) && Sr || function ( ) { return + new ar } , jr = dr . push , kr = t . setImmediate , Ar = t . setTimeout , Ir = dr . splice , Cr = mr . toString , Nr = dr . unshift , Or = function ( ) { try { var t = { } , e = vr . test ( e = fr . defineProperty ) && e , n = e ( t , t , t ) && e } catch ( r ) { } return n } ( ) , Lr = vr . test ( Lr = Cr . bind ) && Lr , Tr = vr . test ( Tr = fr . create ) && Tr , qr = vr . test ( qr = ir . isArray ) && qr , Br = t . isFinite , Mr = t . isNaN , Fr = vr . test ( Fr = fr . keys ) && Fr , Ur = ur . max , zr = ur . min , Rr = t . parseInt , Pr = ur . random , Dr = dr . slice , Wr = vr . test ( t . attachEvent ) , Jr = Lr && ! /\n|true/ . test ( Lr + Wr ) , Gr = { } ; Gr [ R ] = ir , Gr [ P ] = or , Gr [ D ] = ar , Gr [ W ] = sr , Gr [ G ] = fr , Gr [ J ] = cr , Gr [ $ ] = lr , Gr [ X ] = pr , r . prototype = n . prototype ; var $r = n . support = { } ; $r . fastBind = Lr && ! Jr , $r . funcDecomp = ! vr . test ( t . WinRTError ) && B . test ( v ) , $r . funcNames = "string" == typeof sr . name , n . templateSettings = { escape : /<%-([\s\S]+?)%>/g , evaluate : /<%([\s\S]+?)%>/g , interpolate : L , variable : "" , imports : { _ : n } } ; var Xr = Or ? function ( t , e ) { var n = p ( ) ; n . value = e , Or ( t , "__bindData__" , n ) , m ( n ) } : h , Hr = qr || function ( t ) { return t && "object" == typeof t && "number" == typeof t . length && Cr . call ( t ) == R || ! 1 } , Vr = function ( t ) { var e , n = t , r = [ ] ; if ( ! n ) return r ; if ( ! V [ typeof t ] ) return r ; for ( e in n ) Er . call ( n , e ) && r . push ( e ) ; return r } , Kr = Fr ? function ( t ) { return Se ( t ) ? Fr ( t ) : [ ] } : Vr , Yr = { "&" : "&" , "<" : "<" , ">" : ">" , '"' : """ , "'" : "'" } , Qr = ge ( Yr ) , Zr = lr ( "(" + Kr ( Qr ) . join ( "|" ) + ")" , "g" ) , ti = lr ( "[" + Kr ( Yr ) . join ( "" ) + "]" , "g" ) , ei = function ( t , e , n ) { var r , i = t , o = i ; if ( ! i ) return o ; var s = arguments , u = 0 , c = "number" == typeof n ? 2 : s . length ; if ( c > 3 && "function" == typeof s [ c - 2 ] ) var f = a ( s [ -- c - 1 ] , s [ c -- ] , 2 ) ; else c > 2 && "function" == typeof s [ c - 1 ] && ( f = s [ -- c ] ) ; for ( ; ++ u < c ; ) if ( i = s [ u ] , i && V [ typeof i ] ) for ( var l = - 1 , p = V [ typeof i ] && Kr ( i ) , h = p ? p . l
return u . apply ( t , arguments ) , R . call ( this , n . apply ( j , t ) ) } } ) } ; var M = 0 ; j . uniqueId = function ( t ) { var e = ++ M + "" ; return t ? t + e : e } , j . templateSettings = { evaluate : /<%([\s\S]+?)%>/g , interpolate : /<%=([\s\S]+?)%>/g , escape : /<%-([\s\S]+?)%>/g } ; var F = /(.)^/ , U = { "'" : "'" , "\\" : "\\" , "\r" : "r" , "\n" : "n" , " " : "t" , "\u2028" : "u2028" , "\u2029" : "u2029" } , z = /\\|'|\r|\n|\t|\u2028|\u2029/g ; j . template = function ( t , e , n ) { var r ; n = j . defaults ( { } , n , j . templateSettings ) ; var i = new RegExp ( [ ( n . escape || F ) . source , ( n . interpolate || F ) . source , ( n . evaluate || F ) . source ] . join ( "|" ) + "|$" , "g" ) , o = 0 , a = "__p+='" ; t . replace ( i , function ( e , n , r , i , s ) { return a += t . slice ( o , s ) . replace ( z , function ( t ) { return "\\" + U [ t ] } ) , n && ( a += "'+\n((__t=(" + n + "))==null?'':_.escape(__t))+\n'" ) , r && ( a += "'+\n((__t=(" + r + "))==null?'':__t)+\n'" ) , i && ( a += "';\n" + i + "\n__p+='" ) , o = s + e . length , e } ) , a += "';\n" , n . variable || ( a = "with(obj||{}){\n" + a + "}\n" ) , a = "var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n" + a + "return __p;\n" ; try { r = new Function ( n . variable || "obj" , "_" , a ) } catch ( s ) { throw s . source = a , s } if ( e ) return r ( e , j ) ; var u = function ( t ) { return r . call ( this , t , j ) } ; return u . source = "function(" + ( n . variable || "obj" ) + "){\n" + a + "}" , u } , j . chain = function ( t ) { return j ( t ) . chain ( ) } ; var R = function ( t ) { return this . _chain ? j ( t ) . chain ( ) : t } ; j . mixin ( j ) , k ( [ "pop" , "push" , "reverse" , "shift" , "sort" , "splice" , "unshift" ] , function ( t ) { var e = o [ t ] ; j . prototype [ t ] = function ( ) { var n = this . _wrapped ; return e . apply ( n , arguments ) , "shift" != t && "splice" != t || 0 !== n . length || delete n [ 0 ] , R . call ( this , n ) } } ) , k ( [ "concat" , "join" , "slice" ] , function ( t ) { var e = o [ t ] ; j . prototype [ t ] = function ( ) { return R . call ( this , e . apply ( this . _wrapped , arguments ) ) } } ) , j . extend ( j . prototype , { chain : function ( ) { return this . _chain = ! 0 , this } , value : function ( ) { return this . _wrapped } } ) } . call ( this ) } , { } ] , 97 : [ function ( t , e ) { function n ( ) { this . callbacks = { } } e . exports = n , n . prototype . on = function ( t ) { var e = 3 === arguments . length , n = e ? arguments [ 1 ] : void 0 , r = e ? arguments [ 2 ] : arguments [ 1 ] ; return r . _groupName = n , ( this . callbacks [ t ] = this . callbacks [ t ] || [ ] ) . push ( r ) , this } , n . prototype . once = function ( t ) { function e ( ) { n . off ( t , e ) , o . apply ( this , arguments ) } var n = this , r = 3 === arguments . length , i = r ? arguments [ 1 ] : void 0 , o = r ? arguments [ 2 ] : arguments [ 1 ] ; return this . on ( t , i , e ) , this } , n . prototype . releaseGroup = function ( t ) { var e , n , r , i ; for ( e in this . callbacks ) for ( i = this . callbacks [ e ] , n = 0 , r = i . length ; r > n ; n ++ ) i [ n ] . _groupName === t && ( i . splice ( n , 1 ) , n -- , r -- ) ; return this } , n . prototype . off = function ( t , e ) { var n , r = this . callbacks [ t ] ; return r ? 1 === arguments . length ? ( delete this . callbacks [ t ] , this ) : ( n = r . indexOf ( e ) , r . splice ( n , 1 ) , this ) : this } , n . prototype . emit = function ( t ) { var e , n , r = [ ] . slice . call ( arguments , 1 ) , i = this . callbacks [ t ] , o = this . getWildcardCallbacks ( t ) ; if ( i ) for ( e = 0 , n = i . length ; n > e && i [ e ] ; ++ e ) i [ e ] . apply ( this , r ) ; if ( o ) for ( e = 0 , n = o . length ; n > e && o [ e ] ; ++ e ) o [ e ] . apply ( this , [ t ] . concat ( r ) ) ; return this } , n . prototype . getWildcardCallbacks = function ( t ) { var e , n , r = [ ] ; for ( e in this . callbacks ) n = e . split ( "*" ) , ( "*" === e || 2 === n . length && t . slice ( 0 , n [ 1 ] . length ) === n [ 1 ] ) && ( r = r . concat ( this . callbacks [ e ] ) ) ; return r } } , { } ] } , { } , [ 1 ] ) ( 1 ) } ) ;