/** * Environment configuration module for AngularJS * @version v1.0.0 * @link https://github.com/luminous-patterns/angular-environment-config * @license MIT License, http://www.opensource.org/licenses/MIT */ !function(a,b,c){"use strict";function d(a){return{to:function(b){var c=Object.keys(a);c.forEach(function(c){Object.defineProperty(b,c,{value:a[c],writable:!1,enumerable:!0,configurable:!1})})}}}function e(a){a=a||{};var b=a.code||j,c=a.hostname||"";this.message=a.message||"Environment lookup failed: "+b,this.code=b,this.hostname=c}function f(a){a=a||{};var b=a.environmentName||"";this.message='Environment "'+b+'" already exists',this.code=m,this.environmentName=b}function g(a){a=a||{};var b=a.environmentName||"";this.message='No config for environment name "'+b+'"',this.code=l,this.environmentName=b}function h(){function a(a){d(a).to(this)}return a}function i(){function a(a){for(var b,c,d=(a.toLowerCase(),0);d