@@ -1,5 +1,5 @@
"use strict"
function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } define ( "kredits-web/app" , [ "exports" , "ember-resolver" , "ember-load-initializers" , "kredits-web/config/environment" ] , ( function ( e , t , n , r ) { function o ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ]
function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } define ( "kredits-web/app" , [ "exports" , "ember-resolver" , "ember-load-initializers" , "kredits-web/config/environment" ] , ( function ( e , t , n , r ) { function o ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ]
r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function i ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } function u ( e , t ) { return ( u = Object . setPrototypeOf || function ( e , t ) { return e . _ _proto _ _ = t , e } ) ( e , t ) } function a ( e ) { var t = function ( ) { if ( "undefined" == typeof Reflect || ! Reflect . construct ) return ! 1
if ( Reflect . construct . sham ) return ! 1
if ( "function" == typeof Proxy ) return ! 0
@@ -101,19 +101,19 @@ r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Obj
if ( Reflect . construct . sham ) return ! 1
if ( "function" == typeof Proxy ) return ! 0
try { return Boolean . prototype . valueOf . call ( Reflect . construct ( Boolean , [ ] , ( function ( ) { } ) ) ) , ! 0 } catch ( e ) { return ! 1 } } ( )
return function ( ) { var n , r = F ( e )
if ( t ) { var o = F ( this ) . constructor
return function ( ) { var n , r = N ( e )
if ( t ) { var o = N ( this ) . constructor
n = Reflect . construct ( r , arguments , o ) } else n = r . apply ( this , arguments )
return U ( this , n ) } } function U ( e , t ) { if ( t && ( "object" === _typeof ( t ) || "function" == typeof t ) ) return t
if ( void 0 !== t ) throw new TypeError ( "Derived constructors may only return object or undefined" )
return N ( e ) } function N ( e ) { if ( void 0 === e ) throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called" )
return e } function F ( e ) { return ( F = Object . setPrototypeOf ? Object . getPrototypeOf : function ( e ) { return e . _ _proto _ _ || Object . getPrototypeOf ( e ) } ) ( e ) } function L ( e , t , n , r , o ) { var i = { }
return F ( e ) } function F ( e ) { if ( void 0 === e ) throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called" )
return e } function N ( e ) { return ( N = Object . setPrototypeOf ? Object . getPrototypeOf : function ( e ) { return e . _ _proto _ _ || Object . getPrototypeOf ( e ) } ) ( e ) } function L ( e , t , n , r , o ) { var i = { }
return Object . keys ( r ) . forEach ( ( function ( e ) { i [ e ] = r [ e ] } ) ) , i . enumerable = ! ! i . enumerable , i . configurable = ! ! i . configurable , ( "value" in i || i . initializer ) && ( i . writable = ! 0 ) , i = n . slice ( ) . reverse ( ) . reduce ( ( function ( n , r ) { return r ( e , t , n ) || n } ) , i ) , o && void 0 !== i . initializer && ( i . value = i . initializer ? i . initializer . call ( o ) : void 0 , i . initializer = void 0 ) , void 0 === i . initializer && ( Object . defineProperty ( e , t , i ) , i = null ) , i } Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var H = ( i = Ember . inject . service , u = Ember . inject . service , a = Ember . inject . service , s = Ember . computed . alias ( "kredits.contributorsSorted" ) , c = Ember . _tracked , l = Ember . _tracked , f = Ember . _tracked , d = Ember . _tracked , p = Ember . _tracked , b = Ember . _action , m = Ember . _action , y = Ember . _action , h = Ember . _action , v = Ember . _action , g = Ember . _action , w = function ( e ) { ( function ( e , t ) { if ( "function" != typeof t && null !== t ) throw new TypeError ( "Super expression must either be null or a function" )
e . prototype = Object . create ( t && t . prototype , { constructor : { value : e , writable : ! 0 , configurable : ! 0 } } ) , Object . defineProperty ( e , "prototype" , { writable : ! 1 } ) , t && I ( e , t ) } ) ( l , e )
var t , i , u , a , s , c = D ( l )
function l ( ) { var e
return T ( this , l ) , B ( N ( e = c . apply ( this , arguments ) ) , "router" , k , N ( e ) ) , B ( N ( e ) , "kredits" , O , N ( e ) ) , B ( N ( e ) , "exchangeRates" , _ , N ( e ) ) , B ( N ( e ) , "contributors" , x , N ( e ) ) , B ( N ( e ) , "recipientId" , j , N ( e ) ) , B ( N ( e ) , "title" , P , N ( e ) ) , B ( N ( e ) , "total" , E , N ( e ) ) , B ( N ( e ) , "expenses" , C , N ( e ) ) , B ( N ( e ) , "expenseFormVisible" , R , N ( e ) ) , e . exchangeRates . fetchRates ( ) , e } return t = l , ( i = [ { key : "isValidTotal" , get : function ( ) { return ( 0 , n . default ) ( this . total ) } } , { key : "totalInputClass" , get : function ( ) { return this . isValidTotal ? "valid" : "" } } , { key : "totalEUR" , get : function ( ) { var e = this . expenses . filterBy ( "currency" , "EUR" )
return T ( this , l ) , B ( F ( e = c . apply ( this , arguments ) ) , "router" , k , F ( e ) ) , B ( F ( e ) , "kredits" , O , F ( e ) ) , B ( F ( e ) , "exchangeRates" , _ , F ( e ) ) , B ( F ( e ) , "contributors" , x , F ( e ) ) , B ( F ( e ) , "recipientId" , j , F ( e ) ) , B ( F ( e ) , "title" , P , F ( e ) ) , B ( F ( e ) , "total" , E , F ( e ) ) , B ( F ( e ) , "expenses" , C , F ( e ) ) , B ( F ( e ) , "expenseFormVisible" , R , F ( e ) ) , e . exchangeRates . fetchRates ( ) , e } return t = l , ( i = [ { key : "isValidTotal" , get : function ( ) { return ( 0 , n . default ) ( this . total ) } } , { key : "totalInputClass" , get : function ( ) { return this . isValidTotal ? "valid" : "" } } , { key : "totalEUR" , get : function ( ) { var e = this . expenses . filterBy ( "currency" , "EUR" )
return e . length > 0 ? e . mapBy ( "amount" ) . reduce ( ( function ( e , t ) { return e + t } ) ) : 0 } } , { key : "totalUSD" , get : function ( ) { var e = this . expenses . filterBy ( "currency" , "USD" )
return e . length > 0 ? e . mapBy ( "amount" ) . reduce ( ( function ( e , t ) { return e + t } ) ) : 0 } } , { key : "submitButtonEnabled" , get : function ( ) { return this . isValidTotal && this . expenses . length > 0 } } , { key : "submitButtonDisabled" , get : function ( ) { return ! this . submitButtonEnabled } } , { key : "scrollToExpenseItemForm" , value : function ( ) { document . getElementById ( "new-expense-item" ) . scrollIntoView ( ) } } , { key : "updateTotalAmountFromFiat" , value : function ( ) { var e = parseFloat ( this . total )
this . exchangeRates . btceur > 0 && this . totalEUR > 0 && ( e += this . totalEUR / this . exchangeRates . btceur ) , this . exchangeRates . btcusd > 0 && this . totalUSD > 0 && ( e += this . totalUSD / this . exchangeRates . btcusd ) , 0 === this . totalUSD && 0 === this . totalEUR && ( e = 0 ) , this . total = e . toFixed ( 8 ) } } , { key : "addExpensesFromFile" , value : ( a = regeneratorRuntime . mark ( ( function e ( t ) { var n , o , i , u , a
@@ -177,7 +177,7 @@ a(this,p)
for ( var t = arguments . length , n = new Array ( t ) , r = 0 ; r < t ; r ++ ) n [ r ] = arguments [ r ]
return u ( d ( e = f . call . apply ( f , [ this ] . concat ( n ) ) ) , "kredits" , i , d ( e ) ) , e } return t = p , ( r = [ { key : "confirmedInBlocks" , get : function ( ) { return this . args . confirmedAtBlock - this . kredits . currentBlock } } , { key : "confirmedInSeconds" , get : function ( ) { return 30 * this . confirmedInBlocks } } , { key : "confirmedInHumanTime" , get : function ( ) { return n . default . duration ( this . confirmedInSeconds , "seconds" ) . humanize ( ) } } , { key : "isConfirmed" , get : function ( ) { return this . confirmedInBlocks <= 0 } } ] ) && s ( t . prototype , r ) , o && s ( t , o ) , Object . defineProperty ( t , "prototype" , { writable : ! 1 } ) , p } ( t . default ) , b = o . prototype , m = "kredits" , y = [ r ] , h = { configurable : ! 0 , enumerable : ! 0 , writable : ! 0 , initializer : null } , g = { } , Object . keys ( h ) . forEach ( ( function ( e ) { g [ e ] = h [ e ] } ) ) , g . enumerable = ! ! g . enumerable , g . configurable = ! ! g . configurable , ( "value" in g || g . initializer ) && ( g . writable = ! 0 ) , g = y . slice ( ) . reverse ( ) . reduce ( ( function ( e , t ) { return t ( b , m , e ) || e } ) , g ) , v && void 0 !== g . initializer && ( g . value = g . initializer ? g . initializer . call ( v ) : void 0 , g . initializer = void 0 ) , void 0 === g . initializer && ( Object . defineProperty ( b , m , g ) , g = null ) , i = g , o )
e . default = w } ) ) , define ( "kredits-web/components/confirmed-in/template" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . HTMLBars . template ( { id : "wZ+crHjf " , block : '{"symbols":["@confirmedAtBlock" ],"statements":[[6,[37,0],[[32,0,["isConfirmed"]]],null,[["default","else" ],[{"statements":[[2,"Confirmed at block "],[10,"strong"],[12],[1,[32,1]],[13],[2," (~ "],[1,[32,0,["confirmedInHumanTime"]]],[2," ago)\\n"]],"parameters":[]},{"statements":[[2," Confirming in "],[10,"strong"],[12],[1,[32,0,["confirmedInBlocks"]]],[13],[2," blocks (~ "],[1,[32,0,["confirmedInHumanTime"]]],[2,")\\n"]],"parameters":[]}]]]],"hasEval":false,"upvars":["if "]}' , meta : { moduleName : "kredits-web/components/confirmed-in/template.hbs" } } )
var t = Ember . HTMLBars . template ( { id : "Q4nwoyU+ " , block : '{"symbols":[],"statements":[[6,[37,0],[[32,0,["isConfirmed"]]],null,[["default"],[{"statements":[[2,"Confirming in "],[10,"strong"],[12],[1,[32,0,["confirmedInBlocks"]]],[13],[2," blocks (~ "],[1,[32,0,["confirmedInHumanTime"]]],[2,")\\n"]],"parameters":[]}]]]],"hasEval":false,"upvars":["unless "]}' , meta : { moduleName : "kredits-web/components/confirmed-in/template.hbs" } } )
e . default = t } ) ) , define ( "kredits-web/components/contribution-list/component" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . Component . extend ( { router : Ember . inject . service ( ) , tagName : "div" , classNames : [ "contributions" ] , selectedContribution : null , showQuickFilter : ! 1 , hideSmallContributions : ! 1 , contributorId : null , contributionKind : null , kredits : Ember . inject . service ( ) , contributorsSorting : Object . freeze ( [ "name:asc" ] ) , contributors : Ember . computed . sort ( "kredits.contributors" , "contributorsSorting" ) , contributorsActive : Ember . computed ( "contributors.[]" , "contributions" , ( function ( ) { var e = new Set ( this . contributions . mapBy ( "contributorId" ) )
return this . contributors . filter ( ( function ( t ) { return e . has ( t . id ) } ) ) } ) ) , contributionKinds : Ember . computed ( "contributions.[]" , ( function ( ) { return this . contributions . mapBy ( "kind" ) . uniq ( ) } ) ) , contributionsFiltered : Ember . computed ( "contributions.[]" , "hideSmallContributions" , "contributorId" , "contributionKind" , ( function ( ) { var e = this
@@ -219,52 +219,30 @@ e.default=t})),define("kredits-web/components/loading-spinner/template",["export
var t = Ember . HTMLBars . template ( { id : "RDvW8Yf/" , block : '{"symbols":[],"statements":[[10,"p"],[12],[2,"\\n "],[10,"svg"],[14,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[14,"xmlns:xlink","http://www.w3.org/1999/xlink","http://www.w3.org/2000/xmlns/"],[14,"version","1.1"],[14,"x","0px"],[14,"y","0px"],[14,"viewBox","0 0 132 100"],[14,"enable-background","new 0 0 100 100"],[14,"xml:space","preserve","http://www.w3.org/XML/1998/namespace"],[12],[2,"\\n "],[10,"path"],[14,1,"path-comet"],[14,"d","M79.062,24.173L79.062,24.173l-0.021-0.011c-0.068-0.03-0.137-0.062-0.204-0.093L42.392,7.337\\n c0,0,3.065,14.104,4.458,18.019l0,0c0,0-41.754-12.481-46.85-13.67c1.67,6.52,30.607,62.492,30.607,62.492\\n c5.848,11.873,19.394,18.485,33.522,18.485c19.811,0,35.87-16.059,35.87-35.869C100,42.313,91.418,29.837,79.062,24.173z"],[12],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n"],[10,"p"],[12],[2,"\\n Loading data...\\n"],[13],[2,"\\n"]],"hasEval":false,"upvars":[]}' , meta : { moduleName : "kredits-web/components/loading-spinner/template.hbs" } } )
e . default = t } ) ) , define ( "kredits-web/components/main-navigation-menu/template" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . HTMLBars . template ( { id : "3Bc8huBy" , block : '{"symbols":[],"statements":[[10,"nav"],[14,1,"main-menu"],[12],[2,"\\n "],[10,"ul"],[12],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route"],["dashboard"]],[["default"],[{"statements":[[2,"Dashboard"]],"parameters":[]}]]],[13],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route"],["budget"]],[["default"],[{"statements":[[2,"Budget"]],"parameters":[]}]]],[13],[2,"\\n "],[10,"li"],[12],[8,"link-to",[],[["@route"],["about"]],[["default"],[{"statements":[[2,"About"]],"parameters":[]}]]],[13],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n"]],"hasEval":false,"upvars":[]}' , meta : { moduleName : "kredits-web/components/main-navigation-menu/template.hbs" } } )
e . default = t } ) ) , define ( "kredits-web/components/reimbursement-item /component" , [ "exports" , "@glimmer/component" , "kredits-web/config/environment" , "kredits-web/helpers/fmt-date-localized" ] , ( function ( e , t , n , r ) { var o , i , u , a , s , c , l
function f ( e , t , n , r ) { n && Object . defineProperty ( e , t , { enumerable : n . enumerable , configurable : n . configurable , writable : n . writable , value : n . initializer ? n . initializer . call ( r ) : void 0 } ) } function d ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ]
r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function p ( e , t ) { return ( p = Object . setPrototypeOf || function ( e , t ) { return e . _ _proto _ _ = t , e } ) ( e , t ) } function b ( e ) { var t = function ( ) { if ( "undefined" == typeof Reflect || ! Reflect . construct ) return ! 1
e . default = t } ) ) , define ( "kredits-web/components/reimbursement-list /component" , [ "exports" , "@glimmer/component" , "kredits-web/config/environment" ] , ( function ( e , t , n ) { var r , o , i , u , a , s
function c ( e , t , n , r ) { n && Object . defineProperty ( e , t , { enumerable : n . enumerable , configurable : n . configurable , writable : n . writable , value : n . initializer ? n . initializer . call ( r ) : void 0 } ) } function l ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } function f ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ]
r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function d ( e , t ) { return ( d = Object . setPrototypeOf || function ( e , t ) { return e . _ _proto _ _ = t , e } ) ( e , t ) } function p ( e ) { var t = function ( ) { if ( "undefined" == typeof Reflect || ! Reflect . construct ) return ! 1
if ( Reflect . construct . sham ) return ! 1
if ( "function" == typeof Proxy ) return ! 0
try { return Boolean . prototype . valueOf . call ( Reflect . construct ( Boolean , [ ] , ( function ( ) { } ) ) ) , ! 0 } catch ( e ) { return ! 1 } } ( )
return function ( ) { var n , r = h ( e )
if ( t ) { var o = h ( this ) . constructor
return function ( ) { var n , r = y ( e )
if ( t ) { var o = y ( this ) . constructor
n = Reflect . construct ( r , arguments , o ) } else n = r . apply ( this , arguments )
return m ( this , n ) } } function m ( e , t ) { if ( t && ( "object" === _typeof ( t ) || "function" == typeof t ) ) return t
return b ( this , n ) } } function b ( e , t ) { if ( t && ( "object" === _typeof ( t ) || "function" == typeof t ) ) return t
if ( void 0 !== t ) throw new TypeError ( "Derived constructors may only return object or undefined" )
return y ( e ) } function y ( e ) { if ( void 0 === e ) throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called" )
return e } function h ( e ) { return ( h = Object . setPrototypeOf ? Object . getPrototypeOf : function ( e ) { return e . _ _proto _ _ || Object . getPrototypeOf ( e ) } ) ( e ) } function v ( e , t , n , r , o ) { var i = { }
return m ( e ) } function m ( e ) { if ( void 0 === e ) throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called" )
return e } function y ( e ) { return ( y = Object . setPrototypeOf ? Object . getPrototypeOf : function ( e ) { return e . _ _proto _ _ || Object . getPrototypeOf ( e ) } ) ( e ) } function h ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } function v ( e , t , n , r , o ) { var i = { }
return Object . keys ( r ) . forEach ( ( function ( e ) { i [ e ] = r [ e ] } ) ) , i . enumerable = ! ! i . enumerable , i . configurable = ! ! i . configurable , ( "value" in i || i . initializer ) && ( i . writable = ! 0 ) , i = n . slice ( ) . reverse ( ) . reduce ( ( function ( n , r ) { return r ( e , t , n ) || n } ) , i ) , o && void 0 !== i . initializer && ( i . value = i . initializer ? i . initializer . call ( o ) : void 0 , i . initializer = void 0 ) , void 0 === i . initializer && ( Object . defineProperty ( e , t , i ) , i = null ) , i } Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var g = ( o = Ember . inject . service , i = Ember . _tracked , u = Ember . _action , a = Ember . _action , s = function ( e ) { ( function ( e , t ) { if ( "function" != typeof t && null !== t ) throw new TypeError ( "Super expression must either be null or a function" )
e . prototype = Object . create ( t && t . prototype , { constructor : { value : e , writable : ! 0 , configurable : ! 0 } } ) , Object . defineProperty ( e , "prototype" , { writable : ! 1 } ) , t && p ( e , t ) } ) ( a , e )
var t , o , i , u = b ( a )
function a ( e , t ) { var n
return function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , a ) , f ( y ( n = u . call ( this , e , t ) ) , "kredits" , c , y ( n ) ) , f ( y ( n ) , "showExpenseDetails" , l , y ( n ) ) , n . isUnconfirmed && ! n . isVetoed && ( n . showExpenseDetails = ! 0 ) , n } return t = a , ( o = [ { key : "ipfsGatewayUrl" , get : function ( ) { return n . default . ipfs . gatewayUrl } } , { key : "isConfirmed" , get : function ( ) { return this . args . reimbursement . confirmedAt - this . kredits . currentBlock <= 0 } } , { key : "isUnconfirmed" , get : function ( ) { return ! this . isConfirmed } } , { key : "isVetoed" , get : function ( ) { return this . args . reimbursement . vetoed } } , { key : "showVetoButton" , get : function ( ) { return this . isUnconfirmed && this . kredits . currentUserIsCore } } , { key : "showConfirmedIn" , get : function ( ) { return ! this . isVetoed && ( this . showExpenseDetails || this . isUnconfirmed ) } } , { key : "expenses" , get : function ( ) { return this . args . reimbursement . expenses } } , { key : "expensesDateRange" , get : function ( ) { var e = this . expenses . map ( ( function ( e ) { return e . date } ) ) . uniq ( ) . sort ( ) , t = r . default . compute ( e . firstObject )
return e . length > 1 && ( t += " - " + r . default . compute ( e . lastObject ) ) , t } } , { key : "toggleExpenseDetails" , value : function ( ) { this . showExpenseDetails = ! this . showExpenseDetails } } , { key : "veto" , value : function ( e ) { this . kredits . vetoReimbursement ( e ) . then ( ( function ( e ) { console . debug ( "[controllers:budget] Veto submitted to chain: " + e . hash ) } ) ) } } ] ) && d ( t . prototype , o ) , i && d ( t , i ) , Object . defineProperty ( t , "prototype" , { writable : ! 1 } ) , a } ( t . default ) , c = v ( s . prototype , "kredits" , [ o ] , { configurable : ! 0 , enumerable : ! 0 , writable : ! 0 , initializer : null } ) , l = v ( s . prototype , "showExpenseDetails" , [ i ] , { configurable : ! 0 , enumerable : ! 0 , writable : ! 0 , initializer : function ( ) { return ! 1 } } ) , v ( s . prototype , "toggleExpenseDetails" , [ u ] , Object . getOwnPropertyDescriptor ( s . prototype , "toggleExpenseDetails" ) , s . prototype ) , v ( s . prototype , "veto" , [ a ] , Object . getOwnPropertyDescriptor ( s . prototype , "veto" ) , s . prototype ) , s )
e . default = g } ) )
define ( "kredits-web/components/reimbursement-item/template" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . HTMLBars . template ( { id : "yNXLphZT" , block : '{"symbols":["@reimbursement"],"statements":[[11,"li"],[16,"data-reimbursement-id",[32,1,["id"]]],[16,0,[31,[[30,[36,3],[[32,1]],null]]]],[24,"role","button"],[4,[38,1],["click",[32,0,["toggleExpenseDetails"]]],null],[12],[2,"\\n "],[10,"p"],[14,0,"meta"],[12],[2,"\\n "],[10,"span"],[14,0,"recipient"],[12],[2,"\\n "],[8,"user-avatar",[],[["@contributor"],[[32,1,["contributor"]]]],null],[2,"\\n "],[13],[2,"\\n "],[10,"span"],[14,0,"title"],[12],[2,"\\n Expenses covered by "],[1,[32,1,["contributor","name"]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"p"],[14,0,"token-amount"],[12],[2,"\\n "],[10,"span"],[14,0,"amount"],[12],[2,"\\n "],[1,[30,[36,4],[[32,1,["amount"]]],null]],[13],[2," "],[10,"span"],[14,0,"symbol"],[12],[2,"BTC"],[13],[2,"\\n "],[13],[2,"\\n\\n"],[6,[37,5],[[32,0,["showExpenseDetails"]]],null,[["default"],[{"statements":[[2," "],[8,"expense-list",[],[["@expenses"],[[32,1,["expenses"]]]],null],[2,"\\n"]],"parameters":[]}]]],[2,"\\n "],[10,"div"],[14,0,"meta"],[12],[2,"\\n "],[10,"p"],[12],[2,"\\n"],[6,[37,5],[[32,0,["showConfirmedIn"]]],null,[["default","else"],[{"statements":[[2," "],[8,"confirmed-in",[],[["@confirmedAtBlock"],[[32,1,["confirmedAt"]]]],null],[2,"\\n"]],"parameters":[]},{"statements":[[2," "],[6,[37,2],[[32,0,["isVetoed"]]],null,[["default"],[{"statements":[[1,[32,0,["expensesDateRange"]]]],"parameters":[]}]]],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[10,"p"],[14,0,"actions"],[12],[2,"\\n "],[10,"a"],[15,6,[31,[[32,0,["ipfsGatewayUrl"]],"/",[32,1,["ipfsHash"]]]]],[14,0,"button small"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[2,"\\n Inspect IPFS data\\n "],[13],[2,"\\n"],[6,[37,5],[[32,0,["showVetoButton"]]],null,[["default"],[{"statements":[[2," "],[11,"button"],[16,"disabled",[32,1,["vetoed"]]],[24,0,"button small danger"],[24,4,"button"],[4,[38,1],["click",[30,[36,0],[[32,0,["veto"]],[32,1,["id"]]],null]],null],[12],[2,"veto"],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n"]],"hasEval":false,"upvars":["fn","on","unless","item-status","sats-to-btc","if"]}' , meta : { moduleName : "kredits-web/components/reimbursement-item/template.hbs" } } )
e . default = t } ) ) , define ( "kredits-web/components/reimbursement-list/component" , [ "exports" , "@glimmer/component" ] , ( function ( e , t ) { var n , r , o , i , u
function a ( e , t , n , r ) { n && Object . defineProperty ( e , t , { enumerable : n . enumerable , configurable : n . configurable , writable : n . writable , value : n . initializer ? n . initializer . call ( r ) : void 0 } ) } function s ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ]
r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function c ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } function l ( e , t ) { return ( l = Object . setPrototypeOf || function ( e , t ) { return e . _ _proto _ _ = t , e } ) ( e , t ) } function f ( e ) { var t = function ( ) { if ( "undefined" == typeof Reflect || ! Reflect . construct ) return ! 1
if ( Reflect . construct . sham ) return ! 1
if ( "function" == typeof Proxy ) return ! 0
try { return Boolean . prototype . valueOf . call ( Reflect . construct ( Boolean , [ ] , ( function ( ) { } ) ) ) , ! 0 } catch ( e ) { return ! 1 } } ( )
return function ( ) { var n , r = b ( e )
if ( t ) { var o = b ( this ) . constructor
n = Reflect . construct ( r , arguments , o ) } else n = r . apply ( this , arguments )
return d ( this , n ) } } function d ( e , t ) { if ( t && ( "object" === _typeof ( t ) || "function" == typeof t ) ) return t
if ( void 0 !== t ) throw new TypeError ( "Derived constructors may only return object or undefined" )
return p ( e ) } function p ( e ) { if ( void 0 === e ) throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called" )
return e } function b ( e ) { return ( b = Object . setPrototypeOf ? Object . getPrototypeOf : function ( e ) { return e . _ _proto _ _ || Object . getPrototypeOf ( e ) } ) ( e ) } function m ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } function y ( e , t , n , r , o ) { var i = { }
return Object . keys ( r ) . forEach ( ( function ( e ) { i [ e ] = r [ e ] } ) ) , i . enumerable = ! ! i . enumerable , i . configurable = ! ! i . configurable , ( "value" in i || i . initializer ) && ( i . writable = ! 0 ) , i = n . slice ( ) . reverse ( ) . reduce ( ( function ( n , r ) { return r ( e , t , n ) || n } ) , i ) , o && void 0 !== i . initializer && ( i . value = i . initializer ? i . initializer . call ( o ) : void 0 , i . initializer = void 0 ) , void 0 === i . initializer && ( Object . defineProperty ( e , t , i ) , i = null ) , i } Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var h = ( n = Ember . inject . service , r = Ember . computed . sort ( "args.items" , "itemSorting" ) , o = function ( e ) { ( function ( e , t ) { if ( "function" != typeof t && null !== t ) throw new TypeError ( "Super expression must either be null or a function" )
e . prototype = Object . create ( t && t . prototype , { constructor : { value : e , writable : ! 0 , configurable : ! 0 } } ) , Object . defineProperty ( e , "prototype" , { writable : ! 1 } ) , t && l ( e , t ) } ) ( d , e )
var t , n , r , o = f ( d )
function d ( ) { var e
c ( this , d )
var g = ( r = Ember . inject . service , o = Ember . computed . sort ( "args.items" , "itemSorting" ) , i = Ember . _action , u = function ( e ) { ( function ( e , t ) { if ( "function" != typeof t && null !== t ) throw new TypeError ( "Super expression must either be null or a function" )
e . prototype = Object . create ( t && t . prototype , { constructor : { value : e , writable : ! 0 , configurable : ! 0 } } ) , Object . defineProperty ( e , "prototype" , { writable : ! 1 } ) , t && d ( e , t ) } ) ( u , e )
var t , r , o , i = p ( u )
function u ( ) { var e
l ( this , u )
for ( var t = arguments . length , n = new Array ( t ) , r = 0 ; r < t ; r ++ ) n [ r ] = arguments [ r ]
return a ( p ( e = o . call . apply ( o , [ this ] . concat ( n ) ) ) , "kredits" , i , p ( e ) ) , m ( p ( e ) , "itemSorting" , Object . freeze ( [ "pendingStatus:asc" , "id:desc" ] ) ) , a ( p ( e ) , "itemsSorted" , u , p ( e ) ) , e } return t = d , n && s ( t . prototype , n ) , r && s ( t , r ) , Object . defineProperty ( t , "prototype" , { writable : ! 1 } ) , t } ( t . default ) , i = y ( o . prototype , "kredits" , [ n ] , { configurable : ! 0 , enumerable : ! 0 , writable : ! 0 , initializer : null } ) , u = y ( o . prototype , "itemsSorted" , [ r ] , { configurable : ! 0 , enumerable : ! 0 , writable : ! 0 , initializer : null } ) , o )
e . default = h } ) ) , define ( "kredits-web/components/reimbursement-list/template" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . HTMLBars . template ( { id : "iEvKZZIl" , block : '{"symbols":["item","@loading"],"statements":[[10,"ul"],[15,0,[31,["item-list collapsible spaced reimbursement-list ",[30,[36,0],[[32,2],"loading"],null]]]],[12],[2,"\\n"],[6,[37,2],[[30,[36,1],[[30,[36,1],[[32,0,["itemsSorted"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[8,"reimbursement-item",[],[["@reimbursement"],[[32,1]]],null],[2,"\\n"]],"parameters":[1]}]]],[13]],"hasEval":false,"upvars":["if","-track-array","each"]}' , meta : { moduleName : "kredits-web/components/reimbursement-list/template.hbs "} } )
return c ( m ( e = i . call . apply ( i , [ this ] . concat ( n ) ) ) , "kredits" , a , m ( e ) ) , h ( m ( e ) , "itemSorting" , Object . freeze ( [ "pendingStatus:asc" , "id:desc" ] ) ) , c ( m ( e ) , "itemsSorted" , s , m ( e ) ) , e } return t = u , ( r = [ { key : "ipfsGatewayUrl" , get : function ( ) { return n . default . ipfs . gatewayUrl } } , { key : "veto" , value : function ( e ) { this . kredits . vetoReimbursement ( e ) . then ( ( function ( e ) { console . debug ( "[controllers:budget] Veto submitted to chain: " + e . hash ) } ) ) } } ] ) && f ( t . prototype , r ) , o && f ( t , o ) , Object . defineProperty ( t , "prototype" , { writable : ! 1 } ) , u } ( t . default ) , a = v ( u . prototype , "kredits" , [ r ] , { configurable : ! 0 , enumerable : ! 0 , writable : ! 0 , initializer : null } ) , s = v ( u . prototype , "itemsSorted" , [ o ] , { configurable : ! 0 , enumerable : ! 0 , writable : ! 0 , initializer : null } ) , v ( u . prototype , "veto" , [ i ] , Object . getOwnPropertyDescriptor ( u . prototype , "veto" ) , u . prototype ) , u )
e . default = g } ) )
define ( "kredits-web/components/reimbursement-list/template" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule ", { value : ! 0 } ) , e . default = void 0
var t = Ember . HTMLBars . template ( { id : "/SHVSc1V" , block : '{"symbols":["reimbursement","@loading"],"statements":[[10,"ul"],[15,0,[31,["item-list spaced reimbursement-list ",[30,[36,4],[[32,2],"loading"],null]]]],[12],[2,"\\n"],[6,[37,6],[[30,[36,5],[[30,[36,5],[[32,0,["itemsSorted"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"li"],[15,"data-reimbursement-id",[32,1,["id"]]],[15,0,[31,[[30,[36,2],[[32,1]],null]]]],[12],[2,"\\n "],[10,"p"],[14,0,"meta"],[12],[2,"\\n "],[10,"span"],[14,0,"recipient"],[12],[2,"\\n "],[8,"user-avatar",[],[["@contributor"],[[32,1,["contributor"]]]],null],[2,"\\n "],[13],[2,"\\n "],[10,"span"],[14,0,"title"],[12],[2,"\\n Expenses covered by "],[1,[32,1,["contributor","name"]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"p"],[14,0,"token-amount"],[12],[2,"\\n "],[10,"span"],[14,0,"amount"],[12],[2,"\\n "],[1,[30,[36,3],[[32,1,["amount"]]],null]],[13],[2," "],[10,"span"],[14,0,"symbol"],[12],[2,"BTC"],[13],[2,"\\n "],[13],[2,"\\n\\n "],[8,"expense-list",[],[["@expenses"],[[32,1,["expenses"]]]],null],[2,"\\n\\n "],[10,"div"],[14,0,"meta"],[12],[2,"\\n "],[10,"p"],[14,0,"confirmation-eta"],[12],[2,"\\n "],[8,"confirmed-in",[],[["@confirmedAtBlock"],[[32,1,["confirmedAt"]]]],null],[2,"\\n "],[13],[2,"\\n "],[10,"p"],[14,0,"actions"],[12],[2,"\\n "],[10,"a"],[15,6,[31,[[32,0,["ipfsGatewayUrl"]],"/",[32,1,["ipfsHash"]]]]],[14,0,"button small"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[2,"\\n Inspect IPFS data\\n "],[13],[2,"\\n"],[6,[37,4],[[32,0,["kredits","currentUserIsCore"]]],null,[["default"],[{"statements":[[2," "],[11,"button"],[16,"disabled",[32,1,["vetoed"]]],[24,0,"button small danger"],[24,4,"button"],[4,[38,1],["click",[30,[36,0],[[32,0,["veto"]],[32,1,["id"]]],null]],null],[12],[2,"veto"],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[1]}]]],[13]],"hasEval":false,"upvars":["fn","on","item-status","sats-to-btc","if","-track-array","each"]}' , meta : { moduleName : "kredits-web/components/reimbursement-list/template.hbs" } } )
e . default = t } ) ) , define ( "kredits-web/components/topbar-account-panel/component" , [ "exports" , "@glimmer/component" ] , ( function ( e , t ) { var n , r , o , i , u , a , s , c , l
function f ( e , t , n , r , o , i , u ) { try { var a = e [ i ] ( u ) , s = a . value } catch ( c ) { return void n ( c ) } a . done ? t ( s ) : Promise . resolve ( s ) . then ( r , o ) } function d ( e , t , n , r ) { n && Object . defineProperty ( e , t , { enumerable : n . enumerable , configurable : n . configurable , writable : n . writable , value : n . initializer ? n . initializer . call ( r ) : void 0 } ) } function p ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } function b ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ]
r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function m ( e , t ) { return ( m = Object . setPrototypeOf || function ( e , t ) { return e . _ _proto _ _ = t , e } ) ( e , t ) } function y ( e ) { var t = function ( ) { if ( "undefined" == typeof Reflect || ! Reflect . construct ) return ! 1
@@ -423,8 +401,8 @@ return new Intl.NumberFormat(t,{style:"currency",currency:e[1]||"EUR",currencyDi
e . default = t } ) ) , define ( "kredits-web/helpers/fmt-number" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . Helper . helper ( ( function ( e ) { var t = navigator . language || navigator . userLanguage
return e . toLocaleString ( t ) } ) )
e . default = t } ) ) , define ( "kredits-web/helpers/gt" , [ "exports" , "ember-truth-helpers/helpers/gt" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "gt" , { enumerable : ! 0 , get : function ( ) { return t . gt } } ) } ) ) , define ( "kredits-web/helpers/gte" , [ "exports" , "ember-truth-helpers/helpers/gte" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "gte" , { enumerable : ! 0 , get : function ( ) { return t . gte } } ) } ) )
function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } define ( "kredits-web/helpers/is-after" , [ "exports" , "ember-moment/helpers/is-after" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/is-array" , [ "exports" , "ember-truth-helpers/helpers/is-array" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "isArray" , { enumerable : ! 0 , get : function ( ) { return t . isArray } } ) } ) ) , define ( "kredits-web/helpers/is-before" , [ "exports" , "ember-moment/helpers/is-before" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/is-between" , [ "exports" , "ember-moment/helpers/is-between" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/is-confirmed-contribution" , [ "exports" ] , ( function ( e ) { function t ( e , t ) { return function ( e ) { if ( Array . isArray ( e ) ) return e } ( e ) || function ( e , t ) { var n = null == e ? null : "undefined" != typeof Symbol && e [ Symbol . iterator ] || e [ "@@iterator" ]
e . default = t } ) ) , define ( "kredits-web/helpers/gt" , [ "exports" , "ember-truth-helpers/helpers/gt" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "gt" , { enumerable : ! 0 , get : function ( ) { return t . gt } } ) } ) ) , define ( "kredits-web/helpers/gte" , [ "exports" , "ember-truth-helpers/helpers/gte" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "gte" , { enumerable : ! 0 , get : function ( ) { return t . gte } } ) } ) ) , define ( "kredits-web/helpers/is-after" , [ "exports" , "ember-moment/helpers/is-after" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/is-array" , [ "exports" , "ember-truth-helpers/helpers/is-array" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "isArray" , { enumerable : ! 0 , get : function ( ) { return t . isArray } } ) } ) )
function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } define ( "kredits-web/helpers/is-before" , [ "exports" , "ember-moment/helpers/is-before" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/is-between" , [ "exports" , "ember-moment/helpers/is-between" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/is-confirmed-contribution" , [ "exports" ] , ( function ( e ) { function t ( e , t ) { return function ( e ) { if ( Array . isArray ( e ) ) return e } ( e ) || function ( e , t ) { var n = null == e ? null : "undefined" != typeof Symbol && e [ Symbol . iterator ] || e [ "@@iterator" ]
if ( null == n ) return
var r , o , i = [ ] , u = ! 0 , a = ! 1
try { for ( n = n . call ( e ) ; ! ( u = ( r = n . next ( ) ) . done ) && ( i . push ( r . value ) , ! t || i . length !== t ) ; u = ! 0 ) ; } catch ( s ) { a = ! 0 , o = s } finally { try { u || null == n . return || n . return ( ) } finally { if ( a ) throw o } } return i } ( e , t ) || function ( e , t ) { if ( ! e ) return
@@ -466,8 +444,8 @@ this.setupRecompute(n)
var r = [ ]
return n . vetoed ? r . push ( "vetoed" ) : n . confirmedAt > this . currentBlock ? r . push ( "unconfirmed" ) : r . push ( "confirmed" ) , n . hasPendingChanges && r . push ( "pending" ) , r . join ( " " ) } , destroy : function ( ) { this . teardown && this . teardown ( ) , this . _super . apply ( this , arguments ) } , setupRecompute : function ( e ) { var t = this
this . teardown && this . teardown ( ) , e . addObserver ( "vetoed" , this , this . triggerRecompute ) , e . addObserver ( "confirmedAt" , this , this . triggerRecompute ) , e . addObserver ( "currentBlock" , this , this . triggerRecompute ) , e . addObserver ( "hasPendingChanges" , this , this . triggerRecompute ) , this . teardown = function ( ) { e . removeObserver ( "vetoed" , t , t . triggerRecompute ) , e . removeObserver ( "confirmedAt" , t , t . triggerRecompute ) , e . removeObserver ( "currentBlock" , t , t . triggerRecompute ) , e . removeObserver ( "hasPendingChanges" , t , t . triggerRecompute ) } } , triggerRecompute : function ( ) { Ember . run . once ( this , this . recompute ) } } )
e . default = r } ) ) , define ( "kredits-web/helpers/lt" , [ "exports" , "ember-truth-helpers/helpers/lt" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "lt" , { enumerable : ! 0 , get : function ( ) { return t . lt } } ) } ) ) , define ( "kredits-web/helpers/lte" , [ "exports" , "ember-truth-helpers/helpers/lte" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "lte" , { enumerable : ! 0 , get : function ( ) { return t . lte } } ) } ) ) , define ( "kredits-web/helpers/moment-add" , [ "exports" , "ember-moment/helpers/moment-add" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-calendar" , [ "exports" , "ember-moment/helpers/moment-calendar" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-diff" , [ "exports" , "ember-moment/helpers/moment-diff" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-duration" , [ "exports" , "ember-moment/helpers/moment-duration" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-format" , [ "exports" , "ember-moment/helpers/moment-format" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-from-now" , [ "exports" , "ember-moment/helpers/moment-from-now" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-from" , [ "exports" , "ember-moment/helpers/moment-from" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-subtract" , [ "exports" , "ember-moment/helpers/moment-subtract" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-to-date" , [ "exports" , "ember-moment/helpers/moment-to-date" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-to-now" , [ "exports" , "ember-moment/helpers/moment-to-now" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-to" , [ "exports" , "ember-moment/helpers/moment-to" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-unix" , [ "exports" , "ember-moment/helpers/unix" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment" , [ "exports" , "ember-moment/helpers/moment" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) )
function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } define ( "kredits-web/helpers/not-eq" , [ "exports" , "ember-truth-helpers/helpers/not-equal" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "notEqualHelper" , { enumerable : ! 0 , get : function ( ) { return t . notEqualHelper } } ) } ) ) , define ( "kredits-web/helpers/not" , [ "exports" , "ember-truth-helpers/helpers/not" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "not" , { enumerable : ! 0 , get : function ( ) { return t . not } } ) } ) ) , define ( "kredits-web/helpers/now" , [ "exports" , "ember-moment/helpers/now" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/or" , [ "exports" , "ember-truth-helpers/helpers/or" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "or" , { enumerable : ! 0 , get : function ( ) { return t . or } } ) } ) ) , define ( "kredits-web/helpers/perform" , [ "exports" , "ember-concurrency/helpers/perform" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/promise-all" , [ "exports" , "ember-promise-helpers/helpers/promise-all" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/promise-hash" , [ "exports" , "ember-promise-helpers/helpers/promise-hash" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/promise-rejected-reason" , [ "exports" , "ember-promise-helpers/helpers/promise-rejected-reason" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/sats-to-btc" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
e . default = r } ) ) , define ( "kredits-web/helpers/lt" , [ "exports" , "ember-truth-helpers/helpers/lt" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "lt" , { enumerable : ! 0 , get : function ( ) { return t . lt } } ) } ) ) , define ( "kredits-web/helpers/lte" , [ "exports" , "ember-truth-helpers/helpers/lte" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "lte" , { enumerable : ! 0 , get : function ( ) { return t . lte } } ) } ) ) , define ( "kredits-web/helpers/moment-add" , [ "exports" , "ember-moment/helpers/moment-add" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-calendar" , [ "exports" , "ember-moment/helpers/moment-calendar" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-diff" , [ "exports" , "ember-moment/helpers/moment-diff" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-duration" , [ "exports" , "ember-moment/helpers/moment-duration" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-format" , [ "exports" , "ember-moment/helpers/moment-format" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-from-now" , [ "exports" , "ember-moment/helpers/moment-from-now" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-from" , [ "exports" , "ember-moment/helpers/moment-from" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-subtract" , [ "exports" , "ember-moment/helpers/moment-subtract" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-to-date" , [ "exports" , "ember-moment/helpers/moment-to-date" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-to-now" , [ "exports" , "ember-moment/helpers/moment-to-now" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-to" , [ "exports" , "ember-moment/helpers/moment-to" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment-unix" , [ "exports" , "ember-moment/helpers/unix" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/moment" , [ "exports" , "ember-moment/helpers/moment" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/not-eq" , [ "exports" , "ember-truth-helpers/helpers/not-equal" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "notEqualHelper" , { enumerable : ! 0 , get : function ( ) { return t . notEqualHelper } } ) } ) ) , define ( "kredits-web/helpers/not" , [ "exports" , "ember-truth-helpers/helpers/not" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "not" , { enumerable : ! 0 , get : function ( ) { return t . not } } ) } ) )
function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function _typeof ( e ) { return ( _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } define ( "kredits-web/helpers/now" , [ "exports" , "ember-moment/helpers/now" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/or" , [ "exports" , "ember-truth-helpers/helpers/or" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "or" , { enumerable : ! 0 , get : function ( ) { return t . or } } ) } ) ) , define ( "kredits-web/helpers/perform" , [ "exports" , "ember-concurrency/helpers/perform" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/promise-all" , [ "exports" , "ember-promise-helpers/helpers/promise-all" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/promise-hash" , [ "exports" , "ember-promise-helpers/helpers/promise-hash" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/promise-rejected-reason" , [ "exports" , "ember-promise-helpers/helpers/promise-rejected-reason" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/sats-to-btc" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . Helper . helper ( ( function ( e ) { return e / 1e8 } ) )
e . default = t } ) ) , define ( "kredits-web/helpers/task" , [ "exports" , "ember-concurrency/helpers/task" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/unix" , [ "exports" , "ember-moment/helpers/unix" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) } ) ) , define ( "kredits-web/helpers/utc" , [ "exports" , "ember-moment/helpers/utc" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "utc" , { enumerable : ! 0 , get : function ( ) { return t . utc } } ) } ) ) , define ( "kredits-web/helpers/xor" , [ "exports" , "ember-truth-helpers/helpers/xor" ] , ( function ( e , t ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( e , "default" , { enumerable : ! 0 , get : function ( ) { return t . default } } ) , Object . defineProperty ( e , "xor" , { enumerable : ! 0 , get : function ( ) { return t . xor } } ) } ) ) , define ( "kredits-web/initializers/app-version" , [ "exports" , "ember-cli-app-version/initializer-factory" , "kredits-web/config/environment" ] , ( function ( e , t , n ) { var r , o
Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0 , n . default . APP && ( r = n . default . APP . name , o = n . default . APP . version )
@@ -636,13 +614,13 @@ for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u]
return o ( l ( e = f . call . apply ( f , [ this ] . concat ( n ) ) ) , "kredits" , r , l ( e ) ) , e } return t = d , ( n = [ { key : "afterModel" , value : function ( ) { this . kredits . contributionsNeedSync && Ember . run . schedule ( "afterRender" , this . kredits . syncContributions , this . kredits . syncContributions . perform ) } } ] ) && u ( t . prototype , n ) , c && u ( t , c ) , Object . defineProperty ( t , "prototype" , { writable : ! 1 } ) , d } ( ) ) . prototype , p = "kredits" , b = [ t ] , m = { configurable : ! 0 , enumerable : ! 0 , writable : ! 0 , initializer : null } , h = { } , Object . keys ( m ) . forEach ( ( function ( e ) { h [ e ] = m [ e ] } ) ) , h . enumerable = ! ! h . enumerable , h . configurable = ! ! h . configurable , ( "value" in h || h . initializer ) && ( h . writable = ! 0 ) , h = b . slice ( ) . reverse ( ) . reduce ( ( function ( e , t ) { return t ( d , p , e ) || e } ) , h ) , y && void 0 !== h . initializer && ( h . value = h . initializer ? h . initializer . call ( y ) : void 0 , h . initializer = void 0 ) , void 0 === h . initializer && ( Object . defineProperty ( d , p , h ) , h = null ) , r = h , n )
e . default = v } ) ) , define ( "kredits-web/routes/dashboard/contributions/show" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . Route . extend ( { kredits : Ember . inject . service ( ) , contributions : Ember . computed . alias ( "kredits.contributions" ) , model : function ( e ) { return this . contributions . findBy ( "id" , parseInt ( e . id ) ) } , setupController : function ( e , t ) { this . _super ( e , t ) , this . controllerFor ( "dashboard" ) . setProperties ( { showDetailsPane : ! 0 , selectedContributionId : t . id } ) } , deactivate : function ( ) { this . controllerFor ( "dashboard" ) . setProperties ( { showDetailsPane : ! 1 , selectedContributionId : null } ) } } )
e . default = t } ) )
define ( "kredits-web/routes/dashboard/contributors/show" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
e . default = t } ) ) , define ( "kredits-web/routes/dashboard/contributors/show" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . Route . extend ( { kredits : Ember . inject . service ( ) , contributors : Ember . computed . alias ( "kredits.contributors" ) , model : function ( e ) { var t = this . contributors . findBy ( "id" , e . id )
return t || this . kredits . fetchContributor ( e . id ) } , setupController : function ( e , t ) { this . _super ( e , t ) , this . controllerFor ( "dashboard" ) . setProperties ( { showDetailsPane : ! 0 , selectedContributorId : t . id } ) } , deactivate : function ( ) { this . controllerFor ( "dashboard" ) . setProperties ( { showDetailsPane : ! 1 , selectedContributorId : null } ) } } )
e . default = t } ) ) , define ( "kredits-web/routes/index" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . Route . extend ( { redirect : function ( ) { this . transitionTo ( "dashboard" ) } } )
e . default = t } ) ) , define ( "kredits-web/routes/reimbursements/new" , [ "exports" ] , ( function ( e ) { function t ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } function n ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ]
e . default = t } ) )
define ( "kredits-web/routes/reimbursements/new" , [ "exports" ] , ( function ( e ) { function t ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } function n ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ]
r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function r ( e , t ) { return ( r = Object . setPrototypeOf || function ( e , t ) { return e . _ _proto _ _ = t , e } ) ( e , t ) } function o ( e ) { var t = function ( ) { if ( "undefined" == typeof Reflect || ! Reflect . construct ) return ! 1
if ( Reflect . construct . sham ) return ! 1
if ( "function" == typeof Proxy ) return ! 0
@@ -1068,12 +1046,12 @@ e.default=t})),define("kredits-web/templates/dashboard",["exports"],(function(e)
var t = Ember . HTMLBars . template ( { id : "MmUvWH35" , block : ' { "symbols" : [ ] , "statements" : [ [ 10 , "main" ] , [ 14 , 1 , "dashboard" ] , [ 15 , 0 , [ 30 , [ 36 , 2 ] , [ [ 32 , 0 , [ "showDetailsPane" ] ] , "with-details" ] , null ] ] , [ 12 ] , [ 2 , "\\n\\n " ] , [ 10 , "div" ] , [ 14 , 1 , "stats" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "section" ] , [ 14 , 1 , "people" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "header" ] , [ 14 , 0 , "with-nav" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "h2" ] , [ 12 ] , [ 2 , "Contributors" ] , [ 13 ] , [ 2 , "\\n" ] , [ 6 , [ 37 , 2 ] , [ [ 32 , 0 , [ "kredits" , "hasAccounts" ] ] ] , null , [ [ "default" ] , [ { "statements" : [ [ 2 , " " ] , [ 10 , "nav" ] , [ 12 ] , [ 2 , "\\n " ] , [ 8 , "link-to" , [ [ 24 , 0 , "button small green" ] ] , [ [ "@route" , "@title" ] , [ "contributors.new" , "Add contributor profile" ] ] , [ [ "default" ] , [ { "statements" : [ [ 2 , "add" ] ] , "parameters" : [ ] } ] ] ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n" ] ] , "parameters" : [ ] } ] ] ] , [ 2 , " " ] , [ 13 ] , [ 2 , "\\n " ] , [ 10 , "div" ] , [ 14 , 0 , "content" ] , [ 12 ] , [ 2 , "\\n " ] , [ 8 , "contributor-list" , [ ] , [ [ "@contributorList" , "@showUnconfirmedKredits" , "@selectedContributorId" , "@loading" ] , [ [ 32 , 0 , [ "kreditsToplist" ] ] , [ 32 , 0 , [ "showUnconfirmedKredits" ] ] , [ 32 , 0 , [ "selectedContributorId" ] ] , [ 32 , 0 , [ "kredits" , "syncContributors" , "isRunning" ] ] ] ] , null ] , [ 2 , "\\n\\n " ] , [ 10 , "p" ] , [ 14 , 0 , "stats" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "span" ] , [ 14 , 0 , "number" ] , [ 12 ] , [ 1 , [ 30 , [ 36 , 4 ] , [ [ 32 , 0 , [ "kredits" , "totalKreditsEarned" ] ] ] , null ] ] , [ 13 ] , [ 2 , " kredits confirmed and issued to\\n " ] , [ 10 , "span" ] , [ 14 , 0 , "number" ] , [ 12 ] , [ 1 , [ 32 , 0 , [ "contributorsWithKredits" , "length" ] ] ] , [ 13 ] , [ 2 , " contributors\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 10 , "p" ] , [ 14 , 0 , "stats" ] , [ 12 ] , [ 2 , "\\n " ] , [ 8 , "input" , [ [ 24 , 1 , "hide-unnconfirmed-kredits" ] ] , [ [ "@type" , "@checked" ] , [ "checkbox" , [ 32 , 0 , [ "showUnconfirmedKredits" ] ] ] ] , null ] , [ 2 , "\\n " ] , [ 10 , "label" ] , [ 14 , "for" , "hide-unnconfirmed-kredits" ] , [ 12 ] , [ 2 , "Show unconfirmed kredits in toplist" ] , [ 13 ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n\\n" ] , [ 6 , [ 37 , 2 ] , [ [ 32 , 0 , [ "contributionsConfirmed" ] ] ] , null , [ [ "default" ] , [ { "statements" : [ [ 2 , " " ] , [ 10 , "section" ] , [ 14 , 1 , "contributions-by-type" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "header" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "h2" ] , [ 12 ] , [ 2 , "Contributions by type" ] , [ 13 ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 10 , "div" ] , [ 14 , 0 , "content" ] , [ 12 ] , [ 2 , "\\n " ] , [ 8 , "chart-contributions-by-type" , [ ] , [ [ "@contributions" ] , [ [ 32 , 0 , [ "contributions" ] ] ] ] , null ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n" ] ] , "parameters" : [ ] } ] ] ] , [ 2 , " " ] , [ 13 ] , [ 2 , "\\n\\n " ] , [ 10 , "div" ] , [ 14 , 1 , "contributions" ] , [ 12 ] , [ 2 , "\\n" ] , [ 6 , [ 37 , 2 ] , [ [ 32 , 0 , [ "contributionsUnconfirmed" ] ] ] , null , [ [ "default" ] , [ { "statements" : [ [ 2 , " " ] , [ 10 , "section" ] , [ 14 , 1 , "contributions-unconfirmed" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "header" ] , [ 14 , 0 , "with-nav" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "h2" ] , [ 12 ] , [ 2 , "\\n Latest Contributions\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 10 , "nav" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "button" ] , [ 15 , "onclick" , [ 30 , [ 36 , 3 ] , [ [ 32 , 0 ] , "toggleQuickFilterUnconfirmed" ] , null ] ] , [ 15 , 0 , [ 31 , [ "small " , [ 30 , [ 36 , 2 ] , [ [ 32 , 0 , [ "showQuickFilterUnconfirmed" ] ] , "active" ] , null ] ] ] ] , [ 14 , 4 , "button" ] , [ 12 ] , [ 2 , "\\n filter\\n " ] , [ 13 ] , [ 2 , "\\n" ] , [ 6 , [ 37 , 2 ] , [ [ 32 , 0 , [ "kredits" , "hasAccounts" ] ] ] , null , [ [ "default" ] , [ { "statements" : [ [ 2 , " " ] , [ 8 , "link-to" , [ [ 24 , 0 , "button small green" ] ] , [ [ "@route" , "@title" ] , [ "contributions.new" , "Submit a contribution" ] ] , [ [ "default" ] , [ { "statements" : [ [ 2 , "add" ] ] , "parameters" : [ ] } ] ] ] , [ 2 , "\\n" ] ] , "parameters" : [ ] } ] ] ] , [ 2 , " " ] , [ 13 ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 10 , "div" ] , [ 14 , 0 , "content" ] , [ 12 ] , [ 2 , "\\n" ] , [ 2 , " " ] , [ 8 , "contribution-list" , [ ] , [ [ "@contributions" , "@vetoContribution" , "@contractInteractionEnabled" , "@selectedContributionId" , "@showQuickFilter" , "@loading" ] , [ [ 32 , 0 , [ "contributionsUnconfirmedSorted" ] ] , [ 30 , [ 36 , 3 ] , [ [ 32 , 0 ] , "vetoContribution" ] , null ] , [ 32 , 0 , [ "kredits" , "hasAccounts" ] ] , [ 32 , 0 , [ "selectedContributionId" ] ] , [ 32 , 0 , [ "showQuickFilterUnconfirmed" ] ] , [ 32 , 0 , [ "kredits" , "syncContributions" , "isRunning" ] ] ] ] , null ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n" ] ] , "parameters" : [ ] } ] ] ] , [ 2 , "\\n" ] , [ 6 , [ 37 , 2 ] , [ [ 32 , 0 , [ "contributionsConfirmed" ] ] ] , null , [ [ "default" ] , [ { "statements" : [ [ 2 , " " ] , [ 10 , "section" ] , [ 14 , 1 , "contributions-confirmed" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "header" ] , [ 14 , 0 , "with-nav" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "h2" ] , [ 12 ] , [ 2 , "Confirmed Contributions" ] , [ 13 ] , [ 2 , "\\n " ] , [ 10 , "nav" ] , [ 12 ] , [ 2 , "\\n " ] , [ 10 , "button" ] , [ 15 , "onclick" , [ 30 , [ 36 , 3 ] , [ [ 32 , 0 ] , "toggleQuickFilterConfirmed" ] , null ] ] , [ 15 , 0 , [ 31 , [ "small " , [ 30 , [ 36 , 2 ] , [ [ 32 , 0 , [ "showQuickFilterConfirmed" ] ] , "active" ] , null ] ] ] ] , [ 14 , 4 , "button" ] , [ 12 ] , [ 2 , "\\n filter\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 10 , "div" ] , [ 14 , 0 , "content" ] , [ 12 ] , [ 2 , "\\n " ] , [ 8 , "contribution-list" , [ ] , [ [ "@contributions" , "@vetoContribution" , "@selectedContributionId" , "@showQuickFilter" ] , [ [ 32 , 0 , [ "contributionsConfirmedSorted" ] ] , [ 30 , [ 36 , 3 ] , [ [ 32 , 0 ] , "vetoContribution" ] , null ] , [ 32 , 0 , [ "selectedContributionId" ] ] , [ 32 , 0 , [ "showQuickFilterConfirmed" ] ] ] ] , null ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n " ] , [ 13 ] , [ 2 , "\\n" ] ] , "parameters" : [ ] } ] ] ] , [ Line truncated
e . default = t } ) ) , define ( "kredits-web/templates/dashboard/contributions/show" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . HTMLBars . template ( { id : "DufwIN5Z" , block : '{"symbols":[],"statements":[[10,"section"],[14,1,"contribution-details"],[15,0,[30,[36,0],[[32,0,["model","vetoed"]],"vetoed"],null]],[12],[2,"\\n "],[10,"header"],[14,0,"with-nav"],[12],[2,"\\n "],[10,"h2"],[12],[2,"Contribution #"],[1,[32,0,["model","id"]]],[13],[2,"\\n "],[10,"nav"],[12],[2,"\\n "],[10,"span"],[14,0,"amount"],[12],[1,[32,0,["model","amount"]]],[13],[2," \\n "],[10,"span"],[14,0,"symbol"],[12],[2,"₭S"],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n\\n "],[10,"div"],[14,0,"content"],[12],[2,"\\n "],[10,"p"],[14,0,"who-what-when"],[12],[2,"\\n "],[10,"span"],[14,0,"contributor"],[12],[2,"\\n "],[8,"user-avatar",[],[["@contributor"],[[32,0,["model","contributor"]]]],null],[2,"\\n "],[8,"link-to",[],[["@route","@model"],["dashboard.contributors.show",[32,0,["model","contributor"]]]],[["default"],[{"statements":[[1,[32,0,["model","contributor","name"]]]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n contributed\\n "],[10,"span"],[14,0,"date"],[15,"title",[32,0,["model","iso8601Date"]]],[12],[1,[30,[36,1],[[32,0,["model","iso8601Date"]]],null]],[13],[2,":\\n "],[13],[2,"\\n "],[10,"h3"],[12],[1,[32,0,["model","description"]]],[13],[2,"\\n "],[10,"p"],[12],[2,"\\n Kind: "],[1,[32,0,["model","kind"]]],[2,"\\n "],[10,"br"],[12],[13],[2,"Status: "],[1,[30,[36,2],[[32,0,["model"]]],null]],[2,"\\n "],[13],[2,"\\n"],[6,[37,0],[[32,0,["model","url"]]],null,[["default"],[{"statements":[[2," "],[10,"p"],[12],[2,"\\n "],[10,"a"],[15,6,[32,0,["model","url"]]],[15,"title",[32,0,["model","description"]]],[14,0,"button"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[2,"\\n Open URL\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[6,[37,0],[[32,0,["model","vetoed"]]],null,[["default"],[{"statements":[[2," "],[10,"div"],[14,0,"hint vetoed"],[12],[2,"\\n "],[10,"div"],[14,0,"icon"],[12],[2,"\\n "],[8,"icon-warning",[],[[],[]],null],[2,"\\n "],[13],[2,"\\n "],[10,"p"],[12],[2,"\\n This contribution has been vetoed, meaning no\\n kredits will be issued.\\n "],[13],[2,"\\n "],[10,"p"],[12],[2,"\\n "],[8,"link-to",[[24,0,"button small green"]],[["@route","@model"],["contributions.resubmit",[32,0,["model"]]]],[["default"],[{"statements":[[2,"Re-submit contribution …"]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n\\n "],[10,"div"],[14,0,"actions"],[12],[2,"\\n "],[10,"p"],[12],[2,"\\n "],[8,"link-to",[[24,0,"button small"]],[["@route","@model"],["contributions.resubmit",[32,0,["model"]]]],[["default"],[{"statements":[[2,"Copy & edit as new"]],"parameters":[]}]]],[2,"\\n"],[6,[37,0],[[32,0,["model","ipfsHash"]]],null,[["default"],[{"statements":[[2," "],[10,"a"],[15,6,[31,[[32,0,["ipfsGatewayUrl"]],"/",[32,0,["model","ipfsHash"]]]]],[14,0,"button small"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[2,"\\n Inspect IPFS data\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[13],[2,"\\n"],[13]],"hasEval":false,"upvars":["if","moment-from","item-status"]}' , meta : { moduleName : "kredits-web/templates/dashboard/contributions/show.hbs" } } )
e . default = t } ) )
define ( "kredits-web/templates/dashboard/contributors/show" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
e . default = t } ) ) , define ( "kredits-web/templates/dashboard/contributors/show" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . HTMLBars . template ( { id : "uzAAqojK" , block : '{"symbols":["account"],"statements":[[10,"section"],[14,1,"contributor-profile"],[12],[2,"\\n "],[10,"header"],[12],[2,"\\n "],[8,"user-avatar",[],[["@contributor","@size"],[[32,0,["model"]],"medium"]],null],[2,"\\n "],[13],[2,"\\n\\n "],[10,"div"],[14,0,"content"],[12],[2,"\\n "],[10,"h2"],[12],[1,[32,0,["model","name"]]],[13],[2,"\\n "],[10,"p"],[14,0,"role"],[12],[1,[32,0,["roleName"]]],[13],[2,"\\n\\n "],[10,"ul"],[14,0,"external-accounts"],[12],[2,"\\n"],[6,[37,1],[[30,[36,0],[[30,[36,0],[[32,0,["model","accounts"]]],null]],null]],null,[["default"],[{"statements":[[2," "],[10,"li"],[12],[2,"\\n "],[8,"external-account-link",[],[["@account"],[[32,1]]],null],[2,"\\n "],[13],[2,"\\n"]],"parameters":[1]}]]],[6,[37,2],[[32,0,["model","url"]]],null,[["default"],[{"statements":[[2," "],[10,"li"],[12],[2,"\\n "],[10,"a"],[15,6,[32,0,["model","url"]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[14,"title","Website"],[12],[2,"\\n "],[10,"span"],[14,0,"site"],[12],[2,"Web"],[13],[2,"\\n "],[8,"icon-web-globe",[],[[],[]],null],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[13],[2,"\\n "],[10,"div"],[14,0,"actions"],[12],[2,"\\n "],[10,"p"],[12],[2,"\\n "],[8,"link-to",[[24,0,"button green"]],[["@route","@query"],["contributions.new",[30,[36,3],null,[["contributorId"],[[32,0,["model","id"]]]]]]],[["default"],[{"statements":[[2,"♥ Give kredits"]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n\\n "],[10,"div"],[14,0,"actions"],[12],[2,"\\n "],[10,"p"],[12],[2,"\\n "],[10,"a"],[15,6,[31,["https://explorer.testnet.rsk.co/address/",[32,0,["model","account"]]]]],[14,0,"button small"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[2,"Inspect Rootstock transactions"],[13],[2,"\\n"],[6,[37,2],[[32,0,["model","ipfsHash"]]],null,[["default"],[{"statements":[[2," "],[10,"a"],[15,6,[31,[[32,0,["ipfsGatewayUrl"]],"/",[32,0,["model","ipfsHash"]]]]],[14,0,"button small"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[2,"Inspect IPFS profile"],[13],[2,"\\n"]],"parameters":[]}]]],[2," "],[8,"link-to",[[24,0,"button small"]],[["@route","@model"],["contributors.edit",[32,0,["model"]]]],[["default"],[{"statements":[[2,"Edit profile"]],"parameters":[]}]]],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n"],[13],[2,"\\n"]],"hasEval":false,"upvars":["-track-array","each","if","hash"]}' , meta : { moduleName : "kredits-web/templates/dashboard/contributors/show.hbs" } } )
e . default = t } ) ) , define ( "kredits-web/templates/reimbursements/new" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . HTMLBars . template ( { id : "4ZGew5Lo" , block : '{"symbols":[],"statements":[[10,"main"],[14,0,"center-column"],[12],[2,"\\n\\n "],[10,"section"],[14,1,"add-item"],[12],[2,"\\n "],[10,"header"],[12],[2,"\\n "],[10,"h2"],[12],[2,"Submit a Reimbursement"],[13],[2,"\\n "],[13],[2,"\\n\\n "],[10,"div"],[14,0,"content"],[12],[2,"\\n "],[8,"add-reimbursement",[],[["@attributes"],[[32,0,["model","params"]]]],null],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n\\n"],[13]],"hasEval":false,"upvars":[]}' , meta : { moduleName : "kredits-web/templates/reimbursements/new.hbs" } } )
e . default = t } ) ) , define ( "kredits-web/templates/signup" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
e . default = t } ) )
define ( "kredits-web/templates/signup" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . HTMLBars . template ( { id : "vyvqw+Xa" , block : '{"symbols":[],"statements":[[10,"main"],[14,0,"center-column"],[12],[2,"\\n "],[10,"section"],[14,1,"signup"],[12],[2,"\\n "],[1,[30,[36,1],[[30,[36,0],null,null]],null]],[2,"\\n "],[13],[2,"\\n"],[13]],"hasEval":false,"upvars":["-outlet","component"]}' , meta : { moduleName : "kredits-web/templates/signup.hbs" } } )
e . default = t } ) ) , define ( "kredits-web/templates/signup/account" , [ "exports" ] , ( function ( e ) { Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = void 0
var t = Ember . HTMLBars . template ( { id : "juAngjy3" , block : '{"symbols":[],"statements":[[10,"header"],[12],[2,"\\n "],[10,"h2"],[12],[2,"Complete your contributor profile"],[13],[2,"\\n"],[13],[2,"\\n"],[10,"div"],[14,0,"content text-lg"],[12],[2,"\\n "],[10,"p"],[14,0,"mb-8"],[12],[2,"\\n Kredits allow you to to earn rewards for your contributions, in the form of\\n dynamic open-source grants. As a regular contributor, you can also take\\n part in the community\'s project governance and finances.\\n "],[13],[2,"\\n "],[10,"p"],[12],[2,"\\n In order to interact with the system you will need a\\n "],[10,"a"],[14,6,"https://rootstock.io"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[2,"Rootstock"],[13],[2,"\\n wallet/account.\\n "],[13],[2,"\\n "],[10,"form"],[12],[2,"\\n "],[10,"p"],[12],[2,"\\n "],[10,"label"],[12],[2,"\\n Rootstock address:"],[10,"br"],[12],[13],[2,"\\n "],[8,"input",[[24,"placeholder","0xF18E631Ea191aE4ebE70046Fcb01a436554421BA4"],[16,0,[30,[36,0],[[32,0,["isValidEthAccount"]],"valid",""],null]]],[["@type","@value"],["text",[32,0,["accountAddress"]]]],null],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[13],[2,"\\n "],[10,"p"],[14,0,"actions"],[12],[2,"\\n "],[11,"button"],[16,"disabled",[32,0,["signupButtonDisabled"]]],[24,4,"button"],[4,[38,2],["click",[30,[36,1],[[32,0,["completeSignup"]]],null]],null],[12],[2,"\\n Complete my profile\\n "],[13],[2,"\\n "],[13],[2,"\\n"],[13]],"hasEval":false,"upvars":["if","fn","on"]}' , meta : { moduleName : "kredits-web/templates/signup/account.hbs" } } )
@@ -1107,6 +1085,6 @@ case 13:e.next=16
break
case 15 : console . warn ( "Failed to switch chains:" , e . t0 . message )
case 16 : case "end" : return e . stop ( ) } } ) , e , null , [ [ 3 , 8 ] ] ) } ) ) ) ) . apply ( this , arguments ) } Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . default = function ( ) { return o . apply ( this , arguments ) } } ) ) , define ( "kredits-web/config/environment" , [ ] , ( function ( ) { try { var e = "kredits-web/config/environment" , t = document . querySelector ( 'meta[name="' + e + '"]' ) . getAttribute ( "content" ) , n = { default : JSON . parse ( decodeURIComponent ( t ) ) }
return Object . defineProperty ( n , "__esModule" , { value : ! 0 } ) , n } catch ( r ) { throw new Error ( 'Could not read config from meta tag with name "' + e + '".' ) } } ) ) , runningTests || require ( "kredits-web/app" ) . default . create ( { name : "kredits-web" , version : "2.2.0+0777c213 " } )
return Object . defineProperty ( n , "__esModule" , { value : ! 0 } ) , n } catch ( r ) { throw new Error ( 'Could not read config from meta tag with name "' + e + '".' ) } } ) ) , runningTests || require ( "kredits-web/app" ) . default . create ( { name : "kredits-web" , version : "2.1.1+5c9fbf50 " } )
//# sourceMappingURL=kredits-web-3de9729e870f157ac8768a472d40c5fb .map
//# sourceMappingURL=kredits-web-7c993a63fe709fe25b6d0b201adef2c2 .map