text: define('client/helpers/app-version', ['exports', 'client/config/environment', 'ember-cli-app-version/utils/regexp'], function (exports, _environment, _regexp) {
    'use strict';
  
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.appVersion = appVersion;
    function appVersion(_, hash = {}) {
      const version = _environment.default.APP.version;
      // e.g. 1.0.0-alpha.1+4jds75hf
  
      // Allow use of 'hideSha' and 'hideVersion' For backwards compatibility
      let versionOnly = hash.versionOnly || hash.hideSha;
      let shaOnly = hash.shaOnly || hash.hideVersion;
  
      let match = null;
  
      if (versionOnly) {
        if (hash.showExtended) {
          match = version.match(_regexp.versionExtendedRegExp); // 1.0.0-alpha.1
        }
        // Fallback to just version
        if (!match) {
          match = version.match(_regexp.versionRegExp); // 1.0.0
        }
      }
  
      if (shaOnly) {
        match = version.match(_regexp.shaRegExp); // 4jds75hf
      }
  
      return match ? match[0] : version;
    }
  
    exports.default = Ember.Helper.helper(appVersion);
  });