text: /*! mifosx-community-app 2017-07-28 */
  !function(a,b,c){"use strict";function d(a){var b;if(b=a.match(j)){var c=new Date(0),d=0,f=0;return b[9]&&(d=e(b[9]+b[10]),f=e(b[9]+b[11])),c.setUTCFullYear(e(b[1]),e(b[2])-1,e(b[3])),c.setUTCHours(e(b[4]||0)-d,e(b[5]||0)-f,e(b[6]||0),e(b[7]||0)),c}return a}function e(a){return parseInt(a,10)}function f(a,b,c){var d="";for(0>a&&(d="-",a=-a),a=""+a;a.length<b;)a="0"+a;return c&&(a=a.substr(a.length-b)),d+a}function g(a,d,e,f){function g(a,c,d,e){return b.isFunction(a)?a:function(){return b.isNumber(a)?[a,c,d,e]:[200,a,c,d]}}function j(a,g,h,j,k,l,r){function s(a){return b.isString(a)||b.isFunction(a)||a instanceof RegExp?a:b.toJson(a)}function t(b){function e(){var c=b.response(a,g,h,k,b.params(g));u.$$respHeaders=c[2],j(q(c[0]),q(c[1]),u.getAllResponseHeaders(),q(c[3]||""))}function i(){for(var a=0,b=o.length;b>a;a++)if(o[a]===e){o.splice(a,1),j(-1,c,"");break}}return!f&&l&&(l.then?l.then(i):d(i,l)),e}var u=new i,v=n[0],w=!1;if(v&&v.match(a,g)){if(!v.matchData(h))throw new Error("Expected "+v+" with different data\nEXPECTED: "+s(v.data)+"\nGOT:      "+h);if(!v.matchHeaders(k))throw new Error("Expected "+v+" with different headers\nEXPECTED: "+s(v.headers)+"\nGOT:      "+s(k));if(n.shift(),v.response)return void o.push(t(v));w=!0}for(var x,y=-1;x=m[++y];)if(x.match(a,g,h,k||{})){if(x.response)(f?f.defer:p)(t(x));else{if(!x.passThrough)throw new Error("No response defined !");e(a,g,h,j,k,l,r)}return}throw new Error(w?"No response defined !":"Unexpected request: "+a+" "+g+"\n"+(v?"Expected "+v:"No more request expected"))}function k(a){var c={regexp:a},d=c.keys=[];return a&&b.isString(a)?(a=a.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(a,b,c,e){var f="?"===e?e:null,g="*"===e?e:null;return d.push({name:c,optional:!!f}),b=b||"",""+(f?"":b)+"(?:"+(f?b:"")+(g&&"(.+?)"||"([^/]+)")+(f||"")+")"+(f||"")}).replace(/([\/$\*])/g,"\\$1"),c.regexp=new RegExp("^"+a,"i"),c):c}function l(a){b.forEach(["GET","DELETE","JSONP","HEAD"],function(b){j[a+b]=function(d,e,f){return j[a](b,d,c,e,f)}}),b.forEach(["PUT","POST","PATCH"],function(b){j[a+b]=function(c,d,e,f){return j[a](b,c,d,e,f)}})}var m=[],n=[],o=[],p=b.bind(o,o.push),q=b.copy;return j.when=function(a,b,d,e,i){var j=new h(a,b,d,e,i),k={respond:function(a,b,d,e){return j.passThrough=c,j.response=g(a,b,d,e),k}};return f&&(k.passThrough=function(){return j.response=c,j.passThrough=!0,k}),m.push(j),k},l("when"),j.whenRoute=function(a,b){var d=k(b);return j.when(a,d.regexp,c,c,d.keys)},j.expect=function(a,b,c,d,e){var f=new h(a,b,c,d,e),i={respond:function(a,b,c,d){return f.response=g(a,b,c,d),i}};return n.push(f),i},l("expect"),j.expectRoute=function(a,b){var d=k(b);return j.expect(a,d.regexp,c,c,d.keys)},j.flush=function(c,d){if(d!==!1&&a.$digest(),!o.length)throw new Error("No pending request to flush !");if(b.isDefined(c)&&null!==c)for(;c--;){if(!o.length)throw new Error("No more pending request to flush !");o.shift()()}else for(;o.length;)o.shift()();j.verifyNoOutstandingExpectation(d)},j.verifyNoOutstandingExpectation=function(b){if(b!==!1&&a.$digest(),n.length)throw new Error("Unsatisfied requests: "+n.join(", "))},j.verifyNoOutstandingRequest=function(){if(o.length)throw new Error("Unflushed requests: "+o.length)},j.resetExpectations=function(){n.length=0,o.length=0},j}function h(a,c,d,e,f){this.data=d,this.headers=e,this.match=function(c,d,e,f){return a!=c?!1:this.matchUrl(d)?b.isDefined(e)&&!this.matchData(e)?!1:b.isDefined(f)&&!this.matchHeaders(f)?!1:!0:!1},this.matchUrl=function(a){return c?b.isFunction(c.test)?c.test(a):b.isFunction(c)?c(a):c==a:!0},this.matchHeaders=function(a){return b.isUndefined(e)?!0:b.isFunction(e)?e(a):b.equals(e,a)},this.matchData=function(a){return b.isUndefined(d)?!0:d&&b.isFunction(d.test)?d.test(a):d&&b.isFunction(d)?d(a):d&&!b.isString(d)?b.equals(b.fromJson(b.toJson(d)),b.fromJson(a)):d==a},this.toString=function(){return a+" "+c},this.params=function(a){function d(){var d={};if(!c||!b.isFunction(c.test)||!f||0===f.length)return d;var e=c.exec(a);if(!e)return d;for(var g=1,h=e.length;h>g;++g){var i=f[g-1],j=e[g];i&&j&&(d[i.name||i]=j)}return d}function e(){var c,d,e={},f=a.indexOf("?")>-1?a.substring(a.indexOf("?")+1):"";return b.forEach(f.split("&"),function(a){if(a&&(c=a.replace(/\+/g,"%20").split("="),d=g(c[0]),b.isDefined(d))){var f=b.isDefined(c[1])?g(c[1]):!0;hasOwnProperty.call(e,d)?b.isArray(e[d])?e[d].push(f):e[d]=[e[d],f]:e[d]=f}}),e}function g(a){try{return decodeURIComponent(a)}catch(b){}}return b.extend(e(),d())}}function i(){i.$$lastInstance=this,this.open=function(a,b,c){this.$$method=a,this.$$url=b,this.$$async=c,this.$$reqHeaders={},this.$$respHeaders={}},this.send=function(a){this.$$data=a},this.setRequestHeader=function(a,b){this.$$reqHeaders[a]=b},this.getResponseHeader=function(a){var d=this.$$respHeaders[a];return d?d:(a=b.lowercase(a),(d=this.$$respHeaders[a])?d:(d=c,b.forEach(this.$$respHeaders,function(c,e){d||b.lowercase(e)!=a||(d=c)}),d))},this.getAllResponseHeaders=function(){var a=[];return b.forEach(this.$$respHeaders,function(b,c){a.push(c+": "+b)}),a.join("\n")},this.abort=b.noop}b.mock={},b.mock.$BrowserProvider=function(){this.$get=function(){return new b.mock.$Browser}},b.mock.$Browser=function(){var a=this;this.isMock=!0,a.$$url="http://server/",a.$$lastUrl=a.$$url,a.pollFns=[],a.$$completeOutstandingRequest=b.noop,a.$$incOutstandingRequestCount=b.noop,a.onUrlChange=function(b){return a.pollFns.push(function(){(a.$$lastUrl!==a.$$url||a.$$state!==a.$$lastState)&&(a.$$lastUrl=a.$$url,a.$$lastState=a.$$state,b(a.$$url,a.$$state))}),b},a.$$applicationDestroyed=b.noop,a.$$checkUrlChange=b.noop,a.deferredFns=[],a.deferredNextId=0,a.defer=function(b,c){return c=c||0,a.deferredFns.push({time:a.defer.now+c,fn:b,id:a.deferredNextId}),a.deferredFns.sort(function(a,b){return a.time-b.time}),a.deferredNextId++},a.defer.now=0,a.defer.cancel=function(c){var d;return b.forEach(a.deferredFns,function(a,b){a.id===c&&(d=b)}),b.isDefined(d)?(a.deferredFns.splice(d,1),!0):!1},a.defer.flush=function(c){if(b.isDefined(c))a.defer.now+=c;else{if(!a.deferredFns.length)throw new Error("No deferred tasks to be flushed");a.defer.now=a.deferredFns[a.deferredFns.length-1].time}for(;a.deferredFns.length&&a.deferredFns[0].time<=a.defer.now;)a.deferredFns.shift().fn()},a.$$baseHref="/",a.baseHref=function(){return this.$$baseHref}},b.mock.$Browser.prototype={poll:function(){b.forEach(this.pollFns,function(a){a()})},url:function(a,c,d){return b.isUndefined(d)&&(d=null),a?(this.$$url=a,this.$$state=b.copy(d),this):this.$$url},state:function(){return this.$$state},notifyWhenNoOutstandingRequests:function(a){a()}},b.mock.$ExceptionHandlerProvider=function(){var a;this.mode=function(b){switch(b){case"log":case"rethrow":var c=[];a=function(a){if(c.push(1==arguments.length?a:[].slice.call(arguments,0)),"rethrow"===b)throw a},a.errors=c;break;default:throw new Error("Unknown mode '"+b+"', only 'log'/'rethrow' modes are allowed!")}},this.$get=function(){return a},this.mode("rethrow")},b.mock.$LogProvider=function(){function a(a,b,c){return a.concat(Array.prototype.slice.call(b,c))}var c=!0;this.debugEnabled=function(a){return b.isDefined(a)?(c=a,this):c},this.$get=function(){var d={log:function(){d.log.logs.push(a([],arguments,0))},warn:function(){d.warn.logs.push(a([],arguments,0))},info:function(){d.info.logs.push(a([],arguments,0))},error:function(){d.error.logs.push(a([],arguments,0))},debug:function(){c&&d.debug.logs.push(a([],arguments,0))}};return d.reset=function(){d.log.logs=[],d.info.logs=[],d.warn.logs=[],d.error.logs=[],d.debug.logs=[]},d.assertEmpty=function(){var a=[];if(b.forEach(["error","warn","info","log","debug"],function(c){b.forEach(d[c].logs,function(d){b.forEach(d,function(b){a.push("MOCK $log ("+c+"): "+String(b)+"\n"+(b.stack||""))})})}),a.length)throw a.unshift("Expected $log to be empty! Either a message was logged unexpectedly, or an expected log message was not checked and removed:"),a.push(""),new Error(a.join("\n---------\n"))},d.reset(),d}},b.mock.$IntervalProvider=function(){this.$get=["$browser","$rootScope","$q","$$q",function(a,c,d,e){var f=[],g=0,h=0,i=function(i,j,k,l){function m(){if(r.notify(p++),k>0&&p>=k){var d;r.resolve(p),b.forEach(f,function(a,b){a.id===s.$$intervalId&&(d=b)}),b.isDefined(d)&&f.splice(d,1)}q?a.defer.flush():c.$apply()}var n=arguments.length>4,o=n?Array.prototype.slice.call(arguments,4):[],p=0,q=b.isDefined(l)&&!l,r=(q?e:d).defer(),s=r.promise;return k=b.isDefined(k)?k:0,s.then(null,null,n?function(){i.apply(null,o)}:i),s.$$intervalId=g,f.push({nextTime:h+j,delay:j,fn:m,id:g,deferred:r}),f.sort(function(a,b){return a.nextTime-b.nextTime}),g++,s};return i.cancel=function(a){if(!a)return!1;var c;return b.forEach(f,function(b,d){b.id===a.$$intervalId&&(c=d)}),b.isDefined(c)?(f[c].deferred.reject("canceled"),f.splice(c,1),!0):!1},i.flush=function(a){for(h+=a;f.length&&f[0].nextTime<=h;){var b=f[0];b.fn(),b.nextTime+=b.delay,f.sort(function(a,b){return a.nextTime-b.nextTime})}return a},i}]};var j=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?:\:?(\d\d)(?:\:?(\d\d)(?:\.(\d{3}))?)?)?(Z|([+-])(\d\d):?(\d\d)))?$/;if(b.mock.TzDate=function(a,c){var e=new Date(0);if(b.isString(c)){var g=c;if(e.origDate=d(c),c=e.origDate.getTime(),isNaN(c))throw{name:"Illegal Argument",message:"Arg '"+g+"' passed into TzDate constructor is not a valid date string"}}else e.origDate=new Date(c);var h=new Date(c).getTimezoneOffset();e.offsetDiff=60*h*1e3-1e3*a*60*60,e.date=new Date(c+e.offsetDiff),e.getTime=function(){return e.date.getTime()-e.offsetDiff},e.toLocaleDateString=function(){return e.date.toLocaleDateString()},e.getFullYear=function(){return e.date.getFullYear()},e.getMonth=function(){return e.date.getMonth()},e.getDate=function(){return e.date.getDate()},e.getHours=function(){return e.date.getHours()},e.getMinutes=function(){return e.date.getMinutes()},e.getSeconds=function(){return e.date.getSeconds()},e.getMilliseconds=function(){return e.date.getMilliseconds()},e.getTimezoneOffset=function(){return 60*a},e.getUTCFullYear=function(){return e.origDate.getUTCFullYear()},e.getUTCMonth=function(){return e.origDate.getUTCMonth()},e.getUTCDate=function(){return e.origDate.getUTCDate()},e.getUTCHours=function(){return e.origDate.getUTCHours()},e.getUTCMinutes=function(){return e.origDate.getUTCMinutes()},e.getUTCSeconds=function(){return e.origDate.getUTCSeconds()},e.getUTCMilliseconds=function(){return e.origDate.getUTCMilliseconds()},e.getDay=function(){return e.date.getDay()},e.toISOString&&(e.toISOString=function(){return f(e.origDate.getUTCFullYear(),4)+"-"+f(e.origDate.getUTCMonth()+1,2)+"-"+f(e.origDate.getUTCDate(),2)+"T"+f(e.origDate.getUTCHours(),2)+":"+f(e.origDate.getUTCMinutes(),2)+":"+f(e.origDate.getUTCSeconds(),2)+"."+f(e.origDate.getUTCMilliseconds(),3)+"Z"});var i=["getUTCDay","getYear","setDate","setFullYear","setHours","setMilliseconds","setMinutes","setMonth","setSeconds","setTime","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setYear","toDateString","toGMTString","toJSON","toLocaleFormat","toLocaleString","toLocaleTimeString","toSource","toString","toTimeString","toUTCString","valueOf"];return b.forEach(i,function(a){e[a]=function(){throw new Error("Method '"+a+"' is not implemented in the TzDate mock")}}),e},b.mock.TzDate.prototype=Date.prototype,b.mock.animate=b.module("ngAnimateMock",["ng"]).config(["$provide",function(a){a.factory("$$forceReflow",function(){function a(){a.totalReflows++}return a.totalReflows=0,a}),a.factory("$$animateAsyncRun",function(){var a=[],b=function(){return function(b){a.push(b)}};return b.flush=function(){if(0===a.length)return!1;for(var b=0;b<a.length;b++)a[b]();return a=[],!0},b}),a.decorator("$$animateJs",["$delegate",function(a){var b=[],c=function(){var c=a.apply(a,arguments);return c&&b.push(c),c};return c.$closeAndFlush=function(){b.forEach(function(a){a.end()}),b=[]},c}]),a.decorator("$animateCss",["$delegate",function(a){var b=[],c=function(c,d){var e=a(c,d);return b.push(e),e};return c.$closeAndFlush=function(){b.forEach(function(a){a.end()}),b=[]},c}]),a.decorator("$animate",["$delegate","$timeout","$browser","$$rAF","$animateCss","$$animateJs","$$forceReflow","$$animateAsyncRun","$rootScope",function(a,c,d,e,f,g,h,i,j){var k={queue:[],cancel:a.cancel,on:a.on,off:a.off,pin:a.pin,get reflows(){return h.totalReflows},enabled:a.enabled,closeAndFlush:function(){this.flush(!0),f.$closeAndFlush(),g.$closeAndFlush(),this.flush()},flush:function(a){j.$digest();var b,c=!1;do b=!1,e.queue.length&&(e.flush(),b=c=!0),i.flush()&&(b=c=!0);while(b);if(!c&&!a)throw new Error("No pending animations ready to be closed or flushed");j.$digest()}};return b.forEach(["animate","enter","leave","move","addClass","removeClass","setClass"],function(b){k[b]=function(){return k.queue.push({event:b,element:arguments[0],options:arguments[arguments.length-1],args:arguments}),a[b].apply(a,arguments)}}),k}])}]),b.mock.dump=function(a){function c(a){var e;return b.isElement(a)?(a=b.element(a),e=b.element("<div></div>"),b.forEach(a,function(a){e.append(b.element(a).clone())}),e=e.html()):b.isArray(a)?(e=[],b.forEach(a,function(a){e.push(c(a))}),e="[ "+e.join(", ")+" ]"):e=b.isObject(a)?b.isFunction(a.$eval)&&b.isFunction(a.$apply)?d(a):a instanceof Error?a.stack||""+a.name+": "+a.message:b.toJson(a,!0):String(a),e}function d(a,c){c=c||"  ";var e=[c+"Scope("+a.$id+"): {"];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&!f.match(/^(\$|this)/)&&e.push("  "+f+": "+b.toJson(a[f]));for(var g=a.$$childHead;g;)e.push(d(g,c+"  ")),g=g.$$nextSibling;return e.push("}"),e.join("\n"+c)}return c(a)},b.mock.$HttpBackendProvider=function(){this.$get=["$rootScope","$timeout",g]},b.mock.$TimeoutDecorator=["$delegate","$browser",function(a,c){function d(a){var c=[];return b.forEach(a,function(a){c.push("{id: "+a.id+", time: "+a.time+"}")}),c.join(", ")}return a.flush=function(a){c.defer.flush(a)},a.verifyNoPendingTasks=function(){if(c.deferredFns.length)throw new Error("Deferred tasks to flush ("+c.deferredFns.length+"): "+d(c.deferredFns))},a}],b.mock.$RAFDecorator=["$delegate",function(a){var b=function(a){var c=b.queue.length;return b.queue.push(a),function(){b.queue.splice(c,1)}};return b.queue=[],b.supported=a.supported,b.flush=function(){if(0===b.queue.length)throw new Error("No rAF callbacks present");for(var a=b.queue.length,c=0;a>c;c++)b.queue[c]();b.queue=b.queue.slice(c)},b}],b.mock.$RootElementProvider=function(){this.$get=function(){return b.element("<div ng-app></div>")}},b.mock.$ControllerDecorator=["$delegate",function(a){return function(c,d,e,f){if(e&&"object"==typeof e){var g=a(c,d,!0,f);return b.extend(g.instance,e),g()}return a(c,d,e,f)}}],b.mock.$ComponentControllerProvider=["$compileProvider",function(){return{$get:["$controller","$injector",function(a,b){return function(c,d,e,f){var g=b.get(c+"Directive"),h=g.filter(function(a){return a.controller&&a.controllerAs&&"E"===a.restrict});if(0===h.length)throw new Error("No component found");if(h.length>1)throw new Error("Too many components found");var i=h[0];return a(i.controller,d,e,f||i.controllerAs)}}]}}],b.module("ngMock",["ng"]).provider({$browser:b.mock.$BrowserProvider,$exceptionHandler:b.mock.$ExceptionHandlerProvider,$log:b.mock.$LogProvider,$interval:b.mock.$IntervalProvider,$httpBackend:b.mock.$HttpBackendProvider,$rootElement:b.mock.$RootElementProvider,$componentController:b.mock.$ComponentControllerProvider}).config(["$provide",function(a){a.decorator("$timeout",b.mock.$TimeoutDecorator),a.decorator("$$rAF",b.mock.$RAFDecorator),a.decorator("$rootScope",b.mock.$RootScopeDecorator),a.decorator("$controller",b.mock.$ControllerDecorator)}]),b.module("ngMockE2E",["ng"]).config(["$provide",function(a){a.decorator("$httpBackend",b.mock.e2e.$httpBackendDecorator)}]),b.mock.e2e={},b.mock.e2e.$httpBackendDecorator=["$rootScope","$timeout","$delegate","$browser",g],b.mock.$RootScopeDecorator=["$delegate",function(a){function b(){for(var a,b=0,c=[this.$$childHead];c.length;)for(a=c.shift();a;)b+=1,c.push(a.$$childHead),a=a.$$nextSibling;return b}function c(){for(var a,b=this.$$watchers?this.$$watchers.length:0,c=[this.$$childHead];c.length;)for(a=c.shift();a;)b+=a.$$watchers?a.$$watchers.length:0,c.push(a.$$childHead),a=a.$$nextSibling;return b}var d=Object.getPrototypeOf(a);return d.$countChildScopes=b,d.$countWatchers=c,a}],a.jasmine||a.mocha){var k=null,l=[],m=function(){return!!k};b.mock.$$annotate=b.injector.$$annotate,b.injector.$$annotate=function(a){return"function"!=typeof a||a.$inject||l.push(a),b.mock.$$annotate.apply(this,arguments)},(a.beforeEach||a.setup)(function(){l=[],k=this}),(a.afterEach||a.teardown)(function(){var a=k.$injector;l.forEach(function(a){delete a.$inject}),b.forEach(k.$modules,function(a){a&&a.$$hashKey&&(a.$$hashKey=c)}),k.$injector=null,k.$modules=null,k.$providerInjector=null,k=null,a&&(a.get("$rootElement").off(),a.get("$rootScope").$destroy()),b.forEach(b.element.fragments,function(a,c){delete b.element.fragments[c]}),i.$$lastInstance=null,b.forEach(b.callbacks,function(a,c){delete b.callbacks[c]}),b.callbacks.counter=0}),a.module=b.mock.module=function(){function a(){if(k.$injector)throw new Error("Injector already created, can not register a module!");var a,d=k.$modules||(k.$modules=[]);b.forEach(c,function(c){a=b.isObject(c)&&!b.isArray(c)?function(a){b.forEach(c,function(b,c){a.value(c,b)})}:c,k.$providerInjector?k.$providerInjector.invoke(a):d.push(a)})}var c=Array.prototype.slice.call(arguments,0);return m()?a():a};var n=function(a,b){this.message=a.message,this.name=a.name,a.line&&(this.line=a.line),a.sourceId&&(this.sourceId=a.sourceId),a.stack&&b&&(this.stack=a.stack+"\n"+b.stack),a.stackArray&&(this.stackArray=a.stackArray)};n.prototype.toString=Error.prototype.toString,a.inject=b.mock.inject=function(){function a(){var a=k.$modules||[],e=!!k.$injectorStrict;a.unshift(function(a){k.$providerInjector=a}),a.unshift("ngMock"),a.unshift("ng");var f=k.$injector;f||(e&&b.forEach(a,function(a){"function"==typeof a&&b.injector.$$annotate(a)}),f=k.$injector=b.injector(a,e),k.$injectorStrict=e);for(var g=0,h=c.length;h>g;g++){k.$injectorStrict&&f.annotate(c[g]);try{f.invoke(c[g]||b.noop,this)}catch(i){if(i.stack&&d)throw new n(i,d);throw i}finally{d=null}}}var c=Array.prototype.slice.call(arguments,0),d=new Error("Declaration Location");return m()?a.call(k):a},b.mock.inject.strictDi=function(a){function b(){if(a!==k.$injectorStrict){if(k.$injector)throw new Error("Injector already created, can not modify strict annotations");k.$injectorStrict=a}}return a=arguments.length?!!a:!0,m()?b():b}}}(window,window.angular);