<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <global name="File" module="OFS.Image"/>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>_Cacheable__manager_id</string> </key>
            <value> <string>http_cache</string> </value>
        </item>
        <item>
            <key> <string>_EtagSupport__etag</string> </key>
            <value> <string>ts13382743.81</string> </value>
        </item>
        <item>
            <key> <string>__name__</string> </key>
            <value> <string>handlebars.js</string> </value>
        </item>
        <item>
            <key> <string>content_type</string> </key>
            <value> <string>application/javascript</string> </value>
        </item>
        <item>
            <key> <string>data</string> </key>
            <value>
              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
            </value>
        </item>
        <item>
            <key> <string>precondition</string> </key>
            <value> <string></string> </value>
        </item>
        <item>
            <key> <string>size</string> </key>
            <value> <int>100900</int> </value>
        </item>
        <item>
            <key> <string>title</string> </key>
            <value> <string></string> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
  <record id="2" aka="AAAAAAAAAAI=">
    <pickle>
      <global name="Pdata" module="OFS.Image"/>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>data</string> </key>
            <value> <string encoding="cdata"><![CDATA[

/*!\n
\n
 handlebars v2.0.0\n
\n
Copyright (C) 2011-2014 by Yehuda Katz\n
\n
Permission is hereby granted, free of charge, to any person obtaining a copy\n
of this software and associated documentation files (the "Software"), to deal\n
in the Software without restriction, including without limitation the rights\n
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n
copies of the Software, and to permit persons to whom the Software is\n
furnished to do so, subject to the following conditions:\n
\n
The above copyright notice and this permission notice shall be included in\n
all copies or substantial portions of the Software.\n
\n
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n
THE SOFTWARE.\n
\n
@license\n
*/\n
/* exported Handlebars */\n
(function (root, factory) {\n
  if (typeof define === \'function\' && define.amd) {\n
    define([], factory);\n
  } else if (typeof exports === \'object\') {\n
    module.exports = factory();\n
  } else {\n
    root.Handlebars = root.Handlebars || factory();\n
  }\n
}(this, function () {\n
// handlebars/safe-string.js\n
var __module4__ = (function() {\n
  "use strict";\n
  var __exports__;\n
  // Build out our basic SafeString type\n
  function SafeString(string) {\n
    this.string = string;\n
  }\n
\n
  SafeString.prototype.toString = function() {\n
    return "" + this.string;\n
  };\n
\n
  __exports__ = SafeString;\n
  return __exports__;\n
})();\n
\n
// handlebars/utils.js\n
var __module3__ = (function(__dependency1__) {\n
  "use strict";\n
  var __exports__ = {};\n
  /*jshint -W004 */\n
  var SafeString = __dependency1__;\n
\n
  var escape = {\n
    "&": "&amp;",\n
    "<": "&lt;",\n
    ">": "&gt;",\n
    \'"\': "&quot;",\n
    "\'": "&#x27;",\n
    "`": "&#x60;"\n
  };\n
\n
  var badChars = /[&<>"\'`]/g;\n
  var possible = /[&<>"\'`]/;\n
\n
  function escapeChar(chr) {\n
    return escape[chr];\n
  }\n
\n
  function extend(obj /* , ...source */) {\n
    for (var i = 1; i < arguments.length; i++) {\n
      for (var key in arguments[i]) {\n
        if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {\n
          obj[key] = arguments[i][key];\n
        }\n
      }\n
    }\n
\n
    return obj;\n
  }\n
\n
  __exports__.extend = extend;var toString = Object.prototype.toString;\n
  __exports__.toString = toString;\n
  // Sourced from lodash\n
  // https://github.com/bestiejs/lodash/blob/master/LICENSE.txt\n
  var isFunction = function(value) {\n
    return typeof value === \'function\';\n
  };\n
  // fallback for older versions of Chrome and Safari\n
  /* istanbul ignore next */\n
  if (isFunction(/x/)) {\n
    isFunction = function(value) {\n
      return typeof value === \'function\' && toString.call(value) === \'[object Function]\';\n
    };\n
  }\n
  var isFunction;\n
  __exports__.isFunction = isFunction;\n
  /* istanbul ignore next */\n
  var isArray = Array.isArray || function(value) {\n
    return (value && typeof value === \'object\') ? toString.call(value) === \'[object Array]\' : false;\n
  };\n
  __exports__.isArray = isArray;\n
\n
  function escapeExpression(string) {\n
    // don\'t escape SafeStrings, since they\'re already safe\n
    if (string instanceof SafeString) {\n
      return string.toString();\n
    } else if (string == null) {\n
      return "";\n
    } else if (!string) {\n
      return string + \'\';\n
    }\n
\n
    // Force a string conversion as this will be done by the append regardless and\n
    // the regex test will do this transparently behind the scenes, causing issues if\n
    // an object\'s to string has escaped characters in it.\n
    string = "" + string;\n
\n
    if(!possible.test(string)) { return string; }\n
    return string.replace(badChars, escapeChar);\n
  }\n
\n
  __exports__.escapeExpression = escapeExpression;function isEmpty(value) {\n
    if (!value && value !== 0) {\n
      return true;\n
    } else if (isArray(value) && value.length === 0) {\n
      return true;\n
    } else {\n
      return false;\n
    }\n
  }\n
\n
  __exports__.isEmpty = isEmpty;function appendContextPath(contextPath, id) {\n
    return (contextPath ? contextPath + \'.\' : \'\') + id;\n
  }\n
\n
  __exports__.appendContextPath = appendContextPath;\n
  return __exports__;\n
})(__module4__);\n
\n
// handlebars/exception.js\n
var __module5__ = (function() {\n
  "use strict";\n
  var __exports__;\n
\n
  var errorProps = [\'description\', \'fileName\', \'lineNumber\', \'message\', \'name\', \'number\', \'stack\'];\n
\n
  function Exception(message, node) {\n
    var line;\n
    if (node && node.firstLine) {\n
      line = node.firstLine;\n
\n
      message += \' - \' + line + \':\' + node.firstColumn;\n
    }\n
\n
    var tmp = Error.prototype.constructor.call(this, message);\n
\n
    // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn\'t work.\n
    for (var idx = 0; idx < errorProps.length; idx++) {\n
      this[errorProps[idx]] = tmp[errorProps[idx]];\n
    }\n
\n
    if (line) {\n
      this.lineNumber = line;\n
      this.column = node.firstColumn;\n
    }\n
  }\n
\n
  Exception.prototype = new Error();\n
\n
  __exports__ = Exception;\n
  return __exports__;\n
})();\n
\n
// handlebars/base.js\n
var __module2__ = (function(__dependency1__, __dependency2__) {\n
  "use strict";\n
  var __exports__ = {};\n
  var Utils = __dependency1__;\n
  var Exception = __dependency2__;\n
\n
  var VERSION = "2.0.0";\n
  __exports__.VERSION = VERSION;var COMPILER_REVISION = 6;\n
  __exports__.COMPILER_REVISION = COMPILER_REVISION;\n
  var REVISION_CHANGES = {\n
    1: \'<= 1.0.rc.2\', // 1.0.rc.2 is actually rev2 but doesn\'t report it\n
    2: \'== 1.0.0-rc.3\',\n
    3: \'== 1.0.0-rc.4\',\n
    4: \'== 1.x.x\',\n
    5: \'== 2.0.0-alpha.x\',\n
    6: \'>= 2.0.0-beta.1\'\n
  };\n
  __exports__.REVISION_CHANGES = REVISION_CHANGES;\n
  var isArray = Utils.isArray,\n
      isFunction = Utils.isFunction,\n
      toString = Utils.toString,\n
      objectType = \'[object Object]\';\n
\n
  function HandlebarsEnvironment(helpers, partials) {\n
    this.helpers = helpers || {};\n
    this.partials = partials || {};\n
\n
    registerDefaultHelpers(this);\n
  }\n
\n
  __exports__.HandlebarsEnvironment = HandlebarsEnvironment;HandlebarsEnvironment.prototype = {\n
    constructor: HandlebarsEnvironment,\n
\n
    logger: logger,\n
    log: log,\n
\n
    registerHelper: function(name, fn) {\n
      if (toString.call(name) === objectType) {\n
        if (fn) { throw new Exception(\'Arg not supported with multiple helpers\'); }\n
        Utils.extend(this.helpers, name);\n
      } else {\n
        this.helpers[name] = fn;\n
      }\n
    },\n
    unregisterHelper: function(name) {\n
      delete this.helpers[name];\n
    },\n
\n
    registerPartial: function(name, partial) {\n
      if (toString.call(name) === objectType) {\n
        Utils.extend(this.partials,  name);\n
      } else {\n
        this.partials[name] = partial;\n
      }\n
    },\n
    unregisterPartial: function(name) {\n
      delete this.partials[name];\n
    }\n
  };\n
\n
  function registerDefaultHelpers(instance) {\n
    instance.registerHelper(\'helperMissing\', function(/* [args, ]options */) {\n
      if(arguments.length === 1) {\n
        // A missing field in a {{foo}} constuct.\n
        return undefined;\n
      } else {\n
        // Someone is actually trying to call something, blow up.\n
        throw new Exception("Missing helper: \'" + arguments[arguments.length-1].name + "\'");\n
      }\n
    });\n
\n
    instance.registerHelper(\'blockHelperMissing\', function(context, options) {\n
      var inverse = options.inverse,\n
          fn = options.fn;\n
\n
      if(context === true) {\n
        return fn(this);\n
      } else if(context === false || context == null) {\n
        return inverse(this);\n
      } else if (isArray(context)) {\n
        if(context.length > 0) {\n
          if (options.ids) {\n
            options.ids = [options.name];\n
          }\n
\n
          return instance.helpers.each(context, options);\n
        } else {\n
          return inverse(this);\n
        }\n
      } else {\n
        if (options.data && options.ids) {\n
          var data = createFrame(options.data);\n
          data.contextPath = Utils.appendContextPath(options.data.contextPath, options.name);\n
          options = {data: data};\n
        }\n
\n
        return fn(context, options);\n
      }\n
    });\n
\n
    instance.registerHelper(\'each\', function(context, options) {\n
      if (!options) {\n
        throw new Exception(\'Must pass iterator to #each\');\n
      }\n
\n
      var fn = options.fn, inverse = options.inverse;\n
      var i = 0, ret = "", data;\n
\n
      var contextPath;\n
      if (options.data && options.ids) {\n
        contextPath = Utils.appendContextPath(options.data.contextPath, options.ids[0]) + \'.\';\n
      }\n
\n
      if (isFunction(context)) { context = context.call(this); }\n
\n
      if (options.data) {\n
        data = createFrame(options.data);\n
      }\n
\n
      if(context && typeof context === \'object\') {\n
        if (isArray(context)) {\n
          for(var j = context.length; i<j; i++) {\n
            if (data) {\n
              data.index = i;\n
              data.first = (i === 0);\n
              data.last  = (i === (context.length-1));\n
\n
              if (contextPath) {\n
                data.contextPath = contextPath + i;\n
              }\n
            }\n
            ret = ret + fn(context[i], { data: data });\n
          }\n
        } else {\n
          for(var key in context) {\n
            if(context.hasOwnProperty(key)) {\n
              if(data) {\n
                data.key = key;\n
                data.index = i;\n
                data.first = (i === 0);\n
\n
                if (contextPath) {\n
                  data.contextPath = contextPath + key;\n
                }\n
              }\n
              ret = ret + fn(context[key], {data: data});\n
              i++;\n
            }\n
          }\n
        }\n
      }\n
\n
      if(i === 0){\n
        ret = inverse(this);\n
      }\n
\n
      return ret;\n
    });\n
\n
    instance.registerHelper(\'if\', function(conditional, options) {\n
      if (isFunction(conditional)) { conditional = conditional.call(this); }\n
\n
      // Default behavior is to render the positive path if the value is truthy and not empty.\n
      // The `includeZero` option may be set to treat the condtional as purely not empty based on the\n
      // behavior of isEmpty. Effectively this determines if 0 is handled by the positive path or negative.\n
      if ((!options.hash.includeZero && !conditional) || Utils.isEmpty(conditional)) {\n
        return options.inverse(this);\n
      } else {\n
        return options.fn(this);\n
      }\n
    });\n
\n
    instance.registerHelper(\'unless\', function(conditional, options) {\n
      return instance.helpers[\'if\'].call(this, conditional, {fn: options.inverse, inverse: options.fn, hash: options.hash});\n
    });\n
\n
    instance.registerHelper(\'with\', function(context, options) {\n
      if (isFunction(context)) { context = context.call(this); }\n
\n
      var fn = options.fn;\n
\n
      if (!Utils.isEmpty(context)) {\n
        if (options.data && options.ids) {\n
          var data = createFrame(options.data);\n
          data.contextPath = Utils.appendContextPath(options.data.contextPath, options.ids[0]);\n
          options = {data:data};\n
        }\n
\n
        return fn(context, options);\n
      } else {\n
        return options.inverse(this);\n
      }\n
    });\n
\n
    instance.registerHelper(\'log\', function(message, options) {\n
      var level = options.data && options.data.level != null ? parseInt(options.data.level, 10) : 1;\n
      instance.log(level, message);\n
    });\n
\n
    instance.registerHelper(\'lookup\', function(obj, field) {\n
      return obj && obj[field];\n
    });\n
  }\n
\n
  var logger = {\n
    methodMap: { 0: \'debug\', 1: \'info\', 2: \'warn\', 3: \'error\' },\n
\n
    // State enum\n
    DEBUG: 0,\n
    INFO: 1,\n
    WARN: 2,\n
    ERROR: 3,\n
    level: 3,\n
\n
    // can be overridden in the host environment\n
    log: function(level, message) {\n
      if (logger.level <= level) {\n
        var method = logger.methodMap[level];\n
        if (typeof console !== \'undefined\' && console[method]) {\n
          console[method].call(console, message);\n
        }\n
      }\n
    }\n
  };\n
  __exports__.logger = logger;\n
  var log = logger.log;\n
  __exports__.log = log;\n
  var createFrame = function(object) {\n
    var frame = Utils.extend({}, object);\n
    frame._parent = object;\n
    return frame;\n
  };\n
  __exports__.createFrame = createFrame;\n
  return __exports__;\n
})(__module3__, __module5__);\n
\n
// handlebars/runtime.js\n
var __module6__ = (function(__dependency1__, __dependency2__, __dependency3__) {\n
  "use strict";\n
  var __exports__ = {};\n
  var Utils = __dependency1__;\n
  var Exception = __dependency2__;\n
  var COMPILER_REVISION = __dependency3__.COMPILER_REVISION;\n
  var REVISION_CHANGES = __dependency3__.REVISION_CHANGES;\n
  var createFrame = __dependency3__.createFrame;\n
\n
  function checkRevision(compilerInfo) {\n
    var compilerRevision = compilerInfo && compilerInfo[0] || 1,\n
        currentRevision = COMPILER_REVISION;\n
\n
    if (compilerRevision !== currentRevision) {\n
      if (compilerRevision < currentRevision) {\n
        var runtimeVersions = REVISION_CHANGES[currentRevision],\n
            compilerVersions = REVISION_CHANGES[compilerRevision];\n
        throw new Exception("Template was precompiled with an older version of Handlebars than the current runtime. "+\n
              "Please update your precompiler to a newer version ("+runtimeVersions+") or downgrade your runtime to an older version ("+compilerVersions+").");\n
      } else {\n
        // Use the embedded version info since the runtime doesn\'t know about this revision yet\n
        throw new Exception("Template was precompiled with a newer version of Handlebars than the current runtime. "+\n
              "Please update your runtime to a newer version ("+compilerInfo[1]+").");\n
      }\n
    }\n
  }\n
\n
  __exports__.checkRevision = checkRevision;// TODO: Remove this line and break up compilePartial\n
\n
  function template(templateSpec, env) {\n
    /* istanbul ignore next */\n
    if (!env) {\n
      throw new Exception("No environment passed to template");\n
    }\n
    if (!templateSpec || !templateSpec.main) {\n
      throw new Exception(\'Unknown template object: \' + typeof templateSpec);\n
    }\n
\n
    // Note: Using env.VM references rather than local var references throughout this section to allow\n
    // for external users to override these as psuedo-supported APIs.\n
    env.VM.checkRevision(templateSpec.compiler);\n
\n
    var invokePartialWrapper = function(partial, indent, name, context, hash, helpers, partials, data, depths) {\n
      if (hash) {\n
        context = Utils.extend({}, context, hash);\n
      }\n
\n
      var result = env.VM.invokePartial.call(this, partial, name, context, helpers, partials, data, depths);\n
\n
      if (result == null && env.compile) {\n
        var options = { helpers: helpers, partials: partials, data: data, depths: depths };\n
        partials[name] = env.compile(partial, { data: data !== undefined, compat: templateSpec.compat }, env);\n
        result = partials[name](context, options);\n
      }\n
      if (result != null) {\n
        if (indent) {\n
          var lines = result.split(\'\\n\');\n
          for (var i = 0, l = lines.length; i < l; i++) {\n
            if (!lines[i] && i + 1 === l) {\n
              break;\n
            }\n
\n
            lines[i] = indent + lines[i];\n
          }\n
          result = lines.join(\'\\n\');\n
        }\n
        return result;\n
      } else {\n
        throw new Exception("The partial " + name + " could not be compiled when running in runtime-only mode");\n
      }\n
    };\n
\n
    // Just add water\n
    var container = {\n
      lookup: function(depths, name) {\n
        var len = depths.length;\n
        for (var i = 0; i < len; i++) {\n
          if (depths[i] && depths[i][name] != null) {\n
            return depths[i][name];\n
          }\n
        }\n
      },\n
      lambda: function(current, context) {\n
        return typeof current === \'function\' ? current.call(context) : current;\n
      },\n
\n
      escapeExpression: Utils.escapeExpression,\n
      invokePartial: invokePartialWrapper,\n
\n
      fn: function(i) {\n
        return templateSpec[i];\n
      },\n
\n
      programs: [],\n
      program: function(i, data, depths) {\n
        var programWrapper = this.programs[i],\n
            fn = this.fn(i);\n
        if (data || depths) {\n
          programWrapper = program(this, i, fn, data, depths);\n
        } else if (!programWrapper) {\n
          programWrapper = this.programs[i] = program(this, i, fn);\n
        }\n
        return programWrapper;\n
      },\n
\n
      data: function(data, depth) {\n
        while (data && depth--) {\n
          data = data._parent;\n
        }\n
        return data;\n
      },\n
      merge: function(param, common) {\n
        var ret = param || common;\n
\n
        if (param && common && (param !== common)) {\n
          ret = Utils.extend({}, common, param);\n
        }\n
\n
        return ret;\n
      },\n
\n
      noop: env.VM.noop,\n
      compilerInfo: templateSpec.compiler\n
    };\n
\n
    var ret = function(context, options) {\n
      options = options || {};\n
      var data = options.data;\n
\n
      ret._setup(options);\n
      if (!options.partial && templateSpec.useData) {\n
        data = initData(context, data);\n
      }\n
      var depths;\n
      if (templateSpec.useDepths) {\n
        depths = options.depths ? [context].concat(options.depths) : [context];\n
      }\n
\n
      return templateSpec.main.call(container, context, container.helpers, container.partials, data, depths);\n
    };\n
    ret.isTop = true;\n
\n
    ret._setup = function(options) {\n
      if (!options.partial) {\n
        container.helpers = container.merge(options.helpers, env.helpers);\n
\n
        if (templateSpec.usePartial) {\n
          container.partials = container.merge(options.partials, env.partials);\n
        }\n
      } else {\n
        container.helpers = options.helpers;\n
        container.partials = options.partials;\n
      }\n
    };\n
\n
    ret._child = function(i, data, depths) {\n
      if (templateSpec.useDepths && !depths) {\n
        throw new Exception(\'must pass parent depths\');\n
      }\n
\n
      return program(container, i, templateSpec[i], data, depths);\n
    };\n
    return ret;\n
  }\n
\n
  __exports__.template = template;function program(container, i, fn, data, depths) {\n
    var prog = function(context, options) {\n
      options = options || {};\n
\n
      return fn.call(container, context, container.helpers, container.partials, options.data || data, depths && [context].concat(depths));\n
    };\n
    prog.program = i;\n
    prog.depth = depths ? depths.length : 0;\n
    return prog;\n
  }\n
\n
  __exports__.program = program;function invokePartial(partial, name, context, helpers, partials, data, depths) {\n
    var options = { partial: true, helpers: helpers, partials: partials, data: data, depths: depths };\n
\n
    if(partial === undefined) {\n
      throw new Exception("The partial " + name + " could not be found");\n
    } else if(partial instanceof Function) {\n
      return partial(context, options);\n
    }\n
  }\n
\n
  __exports__.invokePartial = invokePartial;function noop() { return ""; }\n
\n
  __exports__.noop = noop;function initData(context, data) {\n
    if (!data || !(\'root\' in data)) {\n
      data = data ? createFrame(data) : {};\n
      data.root = context;\n
    }\n
    return data;\n
  }\n
  return __exports__;\n
})(__module3__, __module5__, __module2__);\n
\n
// handlebars.runtime.js\n
var __module1__ = (function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __dependency5__) {\n
  "use strict";\n
  var __exports__;\n
  /*globals Handlebars: true */\n
  var base = __dependency1__;\n
\n
  // Each of these augment the Handlebars object. No need to setup here.\n
  // (This is done to easily share code between commonjs and browse envs)\n
  var SafeString = __dependency2__;\n
  var Exception = __dependency3__;\n
  var Utils = __dependency4__;\n
  var runtime = __dependency5__;\n
\n
  // For compatibility and usage outside of module systems, make the Handlebars object a namespace\n
  var create = function() {\n
    var hb = new base.HandlebarsEnvironment();\n
\n
    Utils.extend(hb, base);\n
    hb.SafeString = SafeString;\n
    hb.Exception = Exception;\n
    hb.Utils = Utils;\n
    hb.escapeExpression = Utils.escapeExpression;\n
\n
    hb.VM = runtime;\n
    hb.template = function(spec) {\n
      return runtime.template(spec, hb);\n
    };\n
\n
    return hb;\n
  };\n
\n
  var Handlebars = create();\n
  Handlebars.create = create;\n
\n
  Handlebars[\'default\'] = Handlebars;\n
\n
  __exports__ = Handlebars;\n
  return __exports__;\n
})(__module2__, __module4__, __module5__, __module3__, __module6__);\n
\n
// handlebars/compiler/ast.js\n
var __module7__ = (function(__dependency1__) {\n
  "use strict";\n
  var __exports__;\n
  var Exception = __dependency1__;\n
\n
  function LocationInfo(locInfo) {\n
    locInfo = locInfo || {};\n
    this.firstLine   = locInfo.first_line;\n
    this.firstColumn = locInfo.first_column;\n
    this.lastColumn  = locInfo.last_column;\n
    this.lastLine    = locInfo.last_line;\n
  }\n
\n
  var AST = {\n
    ProgramNode: function(statements, strip, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "program";\n
      this.statements = statements;\n
      this.strip = strip;\n
    },\n
\n
    MustacheNode: function(rawParams, hash, open, strip, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "mustache";\n
      this.strip = strip;\n
\n
      // Open may be a string parsed from the parser or a passed boolean flag\n
      if (open != null && open.charAt) {\n
        // Must use charAt to support IE pre-10\n
        var escapeFlag = open.charAt(3) || open.charAt(2);\n
        this.escaped = escapeFlag !== \'{\' && escapeFlag !== \'&\';\n
      } else {\n
        this.escaped = !!open;\n
      }\n
\n
      if (rawParams instanceof AST.SexprNode) {\n
        this.sexpr = rawParams;\n
      } else {\n
        // Support old AST API\n
        this.sexpr = new AST.SexprNode(rawParams, hash);\n
      }\n
\n
      // Support old AST API that stored this info in MustacheNode\n
      this.id = this.sexpr.id;\n
      this.params = this.sexpr.params;\n
      this.hash = this.sexpr.hash;\n
      this.eligibleHelper = this.sexpr.eligibleHelper;\n
      this.isHelper = this.sexpr.isHelper;\n
    },\n
\n
    SexprNode: function(rawParams, hash, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
\n
      this.type = "sexpr";\n
      this.hash = hash;\n
\n
      var id = this.id = rawParams[0];\n
      var params = this.params = rawParams.slice(1);\n
\n
      // a mustache is definitely a helper if:\n
      // * it is an eligible helper, and\n
      // * it has at least one parameter or hash segment\n
      this.isHelper = !!(params.length || hash);\n
\n
      // a mustache is an eligible helper if:\n
      // * its id is simple (a single part, not `this` or `..`)\n
      this.eligibleHelper = this.isHelper || id.isSimple;\n
\n
      // if a mustache is an eligible helper but not a definite\n
      // helper, it is ambiguous, and will be resolved in a later\n
      // pass or at runtime.\n
    },\n
\n
    PartialNode: function(partialName, context, hash, strip, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type         = "partial";\n
      this.partialName  = partialName;\n
      this.context      = context;\n
      this.hash = hash;\n
      this.strip = strip;\n
\n
      this.strip.inlineStandalone = true;\n
    },\n
\n
    BlockNode: function(mustache, program, inverse, strip, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
\n
      this.type = \'block\';\n
      this.mustache = mustache;\n
      this.program  = program;\n
      this.inverse  = inverse;\n
      this.strip = strip;\n
\n
      if (inverse && !program) {\n
        this.isInverse = true;\n
      }\n
    },\n
\n
    RawBlockNode: function(mustache, content, close, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
\n
      if (mustache.sexpr.id.original !== close) {\n
        throw new Exception(mustache.sexpr.id.original + " doesn\'t match " + close, this);\n
      }\n
\n
      content = new AST.ContentNode(content, locInfo);\n
\n
      this.type = \'block\';\n
      this.mustache = mustache;\n
      this.program = new AST.ProgramNode([content], {}, locInfo);\n
    },\n
\n
    ContentNode: function(string, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "content";\n
      this.original = this.string = string;\n
    },\n
\n
    HashNode: function(pairs, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "hash";\n
      this.pairs = pairs;\n
    },\n
\n
    IdNode: function(parts, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "ID";\n
\n
      var original = "",\n
          dig = [],\n
          depth = 0,\n
          depthString = \'\';\n
\n
      for(var i=0,l=parts.length; i<l; i++) {\n
        var part = parts[i].part;\n
        original += (parts[i].separator || \'\') + part;\n
\n
        if (part === ".." || part === "." || part === "this") {\n
          if (dig.length > 0) {\n
            throw new Exception("Invalid path: " + original, this);\n
          } else if (part === "..") {\n
            depth++;\n
            depthString += \'../\';\n
          } else {\n
            this.isScoped = true;\n
          }\n
        } else {\n
          dig.push(part);\n
        }\n
      }\n
\n
      this.original = original;\n
      this.parts    = dig;\n
      this.string   = dig.join(\'.\');\n
      this.depth    = depth;\n
      this.idName   = depthString + this.string;\n
\n
      // an ID is simple if it only has one part, and that part is not\n
      // `..` or `this`.\n
      this.isSimple = parts.length === 1 && !this.isScoped && depth === 0;\n
\n
      this.stringModeValue = this.string;\n
    },\n
\n
    PartialNameNode: function(name, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "PARTIAL_NAME";\n
      this.name = name.original;\n
    },\n
\n
    DataNode: function(id, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "DATA";\n
      this.id = id;\n
      this.stringModeValue = id.stringModeValue;\n
      this.idName = \'@\' + id.stringModeValue;\n
    },\n
\n
    StringNode: function(string, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "STRING";\n
      this.original =\n
        this.string =\n
        this.stringModeValue = string;\n
    },\n
\n
    NumberNode: function(number, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "NUMBER";\n
      this.original =\n
        this.number = number;\n
      this.stringModeValue = Number(number);\n
    },\n
\n
    BooleanNode: function(bool, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "BOOLEAN";\n
      this.bool = bool;\n
      this.stringModeValue = bool === "true";\n
    },\n
\n
    CommentNode: function(comment, locInfo) {\n
      LocationInfo.call(this, locInfo);\n
      this.type = "comment";\n
      this.comment = comment;\n
\n
      this.strip = {\n
        inlineStandalone: true\n
      };\n
    }\n
  };\n
\n
\n
  // Must be exported as an object rather than the root of the module as the jison lexer\n
  // most modify the object to operate properly.\n
  __exports__ = AST;\n
  return __exports__;\n
})(__module5__);\n
\n
// handlebars/compiler/parser.js\n
var __module9__ = (function() {\n
  "use strict";\n
  var __exports__;\n
  /* jshint ignore:start */\n
  /* istanbul ignore next */\n
  /* Jison generated parser */\n
  var handlebars = (function(){\n
  var parser = {trace: function trace() { },\n
  yy: {},\n
  symbols_: {"error":2,"root":3,"program":4,"EOF":5,"program_repetition0":6,"statement":7,"mustache":8,"block":9,"rawBlock":10,"partial":11,"CONTENT":12,"COMMENT":13,"openRawBlock":14,"END_RAW_BLOCK":15,"OPEN_RAW_BLOCK":16,"sexpr":17,"CLOSE_RAW_BLOCK":18,"openBlock":19,"block_option0":20,"closeBlock":21,"openInverse":22,"block_option1":23,"OPEN_BLOCK":24,"CLOSE":25,"OPEN_INVERSE":26,"inverseAndProgram":27,"INVERSE":28,"OPEN_ENDBLOCK":29,"path":30,"OPEN":31,"OPEN_UNESCAPED":32,"CLOSE_UNESCAPED":33,"OPEN_PARTIAL":34,"partialName":35,"param":36,"partial_option0":37,"partial_option1":38,"sexpr_repetition0":39,"sexpr_option0":40,"dataName":41,"STRING":42,"NUMBER":43,"BOOLEAN":44,"OPEN_SEXPR":45,"CLOSE_SEXPR":46,"hash":47,"hash_repetition_plus0":48,"hashSegment":49,"ID":50,"EQUALS":51,"DATA":52,"pathSegments":53,"SEP":54,"$accept":0,"$end":1},\n
  terminals_: {2:"error",5:"EOF",12:"CONTENT",13:"COMMENT",15:"END_RAW_BLOCK",16:"OPEN_RAW_BLOCK",18:"CLOSE_RAW_BLOCK",24:"OPEN_BLOCK",25:"CLOSE",26:"OPEN_INVERSE",28:"INVERSE",29:"OPEN_ENDBLOCK",31:"OPEN",32:"OPEN_UNESCAPED",33:"CLOSE_UNESCAPED",34:"OPEN_PARTIAL",42:"STRING",43:"NUMBER",44:"BOOLEAN",45:"OPEN_SEXPR",46:"CLOSE_SEXPR",50:"ID",51:"EQUALS",52:"DATA",54:"SEP"},\n
  productions_: [0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[10,3],[14,3],[9,4],[9,4],[19,3],[22,3],[27,2],[21,3],[8,3],[8,3],[11,5],[11,4],[17,3],[17,1],[36,1],[36,1],[36,1],[36,1],[36,1],[36,3],[47,1],[49,3],[35,1],[35,1],[35,1],[41,2],[30,1],[53,3],[53,1],[6,0],[6,2],[20,0],[20,1],[23,0],[23,1],[37,0],[37,1],[38,0],[38,1],[39,0],[39,2],[40,0],[40,1],[48,1],[48,2]],\n
  performAction: function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$) {\n
\n
  var $0 = $$.length - 1;\n
  switch (yystate) {\n
  case 1: yy.prepareProgram($$[$0-1].statements, true); return $$[$0-1]; \n
  break;\n
  case 2:this.$ = new yy.ProgramNode(yy.prepareProgram($$[$0]), {}, this._$);\n
  break;\n
  case 3:this.$ = $$[$0];\n
  break;\n
  case 4:this.$ = $$[$0];\n
  break;\n
  case 5:this.$ = $$[$0];\n
  break;\n
  case 6:this.$ = $$[$0];\n
  break;\n
  case 7:this.$ = new yy.ContentNode($$[$0], this._$);\n
  break;\n
  case 8:this.$ = new yy.CommentNode($$[$0], this._$);\n
  break;\n
  case 9:this.$ = new yy.RawBlockNode($$[$0-2], $$[$0-1], $$[$0], this._$);\n
  break;\n
  case 10:this.$ = new yy.MustacheNode($$[$0-1], null, \'\', \'\', this._$);\n
  break;\n
  case 11:this.$ = yy.prepareBlock($$[$0-3], $$[$0-2], $$[$0-1], $$[$0], false, this._$);\n
  break;\n
  case 12:this.$ = yy.prepareBlock($$[$0-3], $$[$0-2], $$[$0-1], $$[$0], true, this._$);\n
  break;\n
  case 13:this.$ = new yy.MustacheNode($$[$0-1], null, $$[$0-2], yy.stripFlags($$[$0-2], $$[$0]), this._$);\n
  break;\n
  case 14:this.$ = new yy.MustacheNode($$[$0-1], null, $$[$0-2], yy.stripFlags($$[$0-2], $$[$0]), this._$);\n
  break;\n
  case 15:this.$ = { strip: yy.stripFlags($$[$0-1], $$[$0-1]), program: $$[$0] };\n
  break;\n
  case 16:this.$ = {path: $$[$0-1], strip: yy.stripFlags($$[$0-2], $$[$0])};\n
  break;\n
  case 17:this.$ = new yy.MustacheNode($$[$0-1], null, $$[$0-2], yy.stripFlags($$[$0-2], $$[$0]), this._$);\n
  break;\n
  case 18:this.$ = new yy.MustacheNode($$[$0-1], null, $$[$0-2], yy.stripFlags($$[$0-2], $$[$0]), this._$);\n
  break;\n
  case 19:this.$ = new yy.PartialNode($$[$0-3], $$[$0-2], $$[$0-1], yy.stripFlags($$[$0-4], $$[$0]), this._$);\n
  break;\n
  case 20:this.$ = new yy.PartialNode($$[$0-2], undefined, $$[$0-1], yy.stripFlags($$[$0-3], $$[$0]), this._$);\n
  break;\n
  case 21:this.$ = new yy.SexprNode([$$[$0-2]].concat($$[$0-1]), $$[$0], this._$);\n
  break;\n
  case 22:this.$ = new yy.SexprNode([$$[$0]], null, this._$);\n
  break;\n
  case 23:this.$ = $$[$0];\n
  break;\n
  case 24:this.$ = new yy.StringNode($$[$0], this._$);\n
  break;\n
  case 25:this.$ = new yy.NumberNode($$[$0], this._$);\n
  break;\n
  case 26:this.$ = new yy.BooleanNode($$[$0], this._$);\n
  break;\n
  case 27:this.$ = $$[$0];\n
  break;\n
  case 28:$$[$0-1].isHelper = true; this.$ = $$[$0-1];\n
  break;\n
  case 29:this.$ = new yy.HashNode($$[$0], this._$);\n
  break;\n
  case 30:this.$ = [$$[$0-2], $$[$0]];\n
  break;\n
  case 31:this.$ = new yy.PartialNameNode($$[$0], this._$);\n
  break;\n
  case 32:this.$ = new yy.PartialNameNode(new yy.StringNode($$[$0], this._$), this._$);\n
  break;\n
  case 33:this.$ = new yy.PartialNameNode(new yy.NumberNode($$[$0], this._$));\n
  break;\n
  case 34:this.$ = new yy.DataNode($$[$0], this._$);\n
  break;\n
  case 35:this.$ = new yy.IdNode($$[$0], this._$);\n
  break;\n
  case 36: $$[$0-2].push({part: $$[$0], separator: $$[$0-1]}); this.$ = $$[$0-2]; \n
  break;\n
  case 37:this.$ = [{part: $$[$0]}];\n
  break;\n
  case 38:this.$ = [];\n
  break;\n
  case 39:$$[$0-1].push($$[$0]);\n
  break;\n
  case 48:this.$ = [];\n
  break;\n
  case 49:$$[$0-1].push($$[$0]);\n
  break;\n
  case 52:this.$ = [$$[$0]];\n
  break;\n
  case 53:$$[$0-1].push($$[$0]);\n
  break;\n
  }\n
  },\n
  table: [{3:1,4:2,5:[2,38],6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],31:[2,38],32:[2,38],34:[2,38]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:[1,10],13:[1,11],14:16,16:[1,20],19:14,22:15,24:[1,18],26:[1,19],28:[2,2],29:[2,2],31:[1,12],32:[1,13],34:[1,17]},{1:[2,1]},{5:[2,39],12:[2,39],13:[2,39],16:[2,39],24:[2,39],26:[2,39],28:[2,39],29:[2,39],31:[2,39],32:[2,39],34:[2,39]},{5:[2,3],12:[2,3],13:[2,3],16:[2,3],24:[2,3],26:[2,3],28:[2,3],29:[2,3],31:[2,3],32:[2,3],34:[2,3]},{5:[2,4],12:[2,4],13:[2,4],16:[2,4],24:[2,4],26:[2,4],28:[2,4],29:[2,4],31:[2,4],32:[2,4],34:[2,4]},{5:[2,5],12:[2,5],13:[2,5],16:[2,5],24:[2,5],26:[2,5],28:[2,5],29:[2,5],31:[2,5],32:[2,5],34:[2,5]},{5:[2,6],12:[2,6],13:[2,6],16:[2,6],24:[2,6],26:[2,6],28:[2,6],29:[2,6],31:[2,6],32:[2,6],34:[2,6]},{5:[2,7],12:[2,7],13:[2,7],16:[2,7],24:[2,7],26:[2,7],28:[2,7],29:[2,7],31:[2,7],32:[2,7],34:[2,7]},{5:[2,8],12:[2,8],13:[2,8],16:[2,8],24:[2,8],26:[2,8],28:[2,8],29:[2,8],31:[2,8],32:[2,8],34:[2,8]},{17:21,30:22,41:23,50:[1,26],52:[1,25],53:24},{17:27,30:22,41:23,50:[1,26],52:[1,25],53:24},{4:28,6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],28:[2,38],29:[2,38],31:[2,38],32:[2,38],34:[2,38]},{4:29,6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],28:[2,38],29:[2,38],31:[2,38],32:[2,38],34:[2,38]},{12:[1,30]},{30:32,35:31,42:[1,33],43:[1,34],50:[1,26],53:24},{17:35,30:22,41:23,50:[1,26],52:[1,25],53:24},{17:36,30:22,41:23,50:[1,26],52:[1,25],53:24},{17:37,30:22,41:23,50:[1,26],52:[1,25],53:24},{25:[1,38]},{18:[2,48],25:[2,48],33:[2,48],39:39,42:[2,48],43:[2,48],44:[2,48],45:[2,48],46:[2,48],50:[2,48],52:[2,48]},{18:[2,22],25:[2,22],33:[2,22],46:[2,22]},{18:[2,35],25:[2,35],33:[2,35],42:[2,35],43:[2,35],44:[2,35],45:[2,35],46:[2,35],50:[2,35],52:[2,35],54:[1,40]},{30:41,50:[1,26],53:24},{18:[2,37],25:[2,37],33:[2,37],42:[2,37],43:[2,37],44:[2,37],45:[2,37],46:[2,37],50:[2,37],52:[2,37],54:[2,37]},{33:[1,42]},{20:43,27:44,28:[1,45],29:[2,40]},{23:46,27:47,28:[1,45],29:[2,42]},{15:[1,48]},{25:[2,46],30:51,36:49,38:50,41:55,42:[1,52],43:[1,53],44:[1,54],45:[1,56],47:57,48:58,49:60,50:[1,59],52:[1,25],53:24},{25:[2,31],42:[2,31],43:[2,31],44:[2,31],45:[2,31],50:[2,31],52:[2,31]},{25:[2,32],42:[2,32],43:[2,32],44:[2,32],45:[2,32],50:[2,32],52:[2,32]},{25:[2,33],42:[2,33],43:[2,33],44:[2,33],45:[2,33],50:[2,33],52:[2,33]},{25:[1,61]},{25:[1,62]},{18:[1,63]},{5:[2,17],12:[2,17],13:[2,17],16:[2,17],24:[2,17],26:[2,17],28:[2,17],29:[2,17],31:[2,17],32:[2,17],34:[2,17]},{18:[2,50],25:[2,50],30:51,33:[2,50],36:65,40:64,41:55,42:[1,52],43:[1,53],44:[1,54],45:[1,56],46:[2,50],47:66,48:58,49:60,50:[1,59],52:[1,25],53:24},{50:[1,67]},{18:[2,34],25:[2,34],33:[2,34],42:[2,34],43:[2,34],44:[2,34],45:[2,34],46:[2,34],50:[2,34],52:[2,34]},{5:[2,18],12:[2,18],13:[2,18],16:[2,18],24:[2,18],26:[2,18],28:[2,18],29:[2,18],31:[2,18],32:[2,18],34:[2,18]},{21:68,29:[1,69]},{29:[2,41]},{4:70,6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],29:[2,38],31:[2,38],32:[2,38],34:[2,38]},{21:71,29:[1,69]},{29:[2,43]},{5:[2,9],12:[2,9],13:[2,9],16:[2,9],24:[2,9],26:[2,9],28:[2,9],29:[2,9],31:[2,9],32:[2,9],34:[2,9]},{25:[2,44],37:72,47:73,48:58,49:60,50:[1,74]},{25:[1,75]},{18:[2,23],25:[2,23],33:[2,23],42:[2,23],43:[2,23],44:[2,23],45:[2,23],46:[2,23],50:[2,23],52:[2,23]},{18:[2,24],25:[2,24],33:[2,24],42:[2,24],43:[2,24],44:[2,24],45:[2,24],46:[2,24],50:[2,24],52:[2,24]},{18:[2,25],25:[2,25],33:[2,25],42:[2,25],43:[2,25],44:[2,25],45:[2,25],46:[2,25],50:[2,25],52:[2,25]},{18:[2,26],25:[2,26],33:[2,26],42:[2,26],43:[2,26],44:[2,26],45:[2,26],46:[2,26],50:[2,26],52:[2,26]},{18:[2,27],25:[2,27],33:[2,27],42:[2,27],43:[2,27],44:[2,27],45:[2,27],46:[2,27],50:[2,27],52:[2,27]},{17:76,30:22,41:23,50:[1,26],52:[1,25],53:24},{25:[2,47]},{18:[2,29],25:[2,29],33:[2,29],46:[2,29],49:77,50:[1,74]},{18:[2,37],25:[2,37],33:[2,37],42:[2,37],43:[2,37],44:[2,37],45:[2,37],46:[2,37],50:[2,37],51:[1,78],52:[2,37],54:[2,37]},{18:[2,52],25:[2,52],33:[2,52],46:[2,52],50:[2,52]},{12:[2,13],13:[2,13],16:[2,13],24:[2,13],26:[2,13],28:[2,13],29:[2,13],31:[2,13],32:[2,13],34:[2,13]},{12:[2,14],13:[2,14],16:[2,14],24:[2,14],26:[2,14],28:[2,14],29:[2,14],31:[2,14],32:[2,14],34:[2,14]},{12:[2,10]},{18:[2,21],25:[2,21],33:[2,21],46:[2,21]},{18:[2,49],25:[2,49],33:[2,49],42:[2,49],43:[2,49],44:[2,49],45:[2,49],46:[2,49],50:[2,49],52:[2,49]},{18:[2,51],25:[2,51],33:[2,51],46:[2,51]},{18:[2,36],25:[2,36],33:[2,36],42:[2,36],43:[2,36],44:[2,36],45:[2,36],46:[2,36],50:[2,36],52:[2,36],54:[2,36]},{5:[2,11],12:[2,11],13:[2,11],16:[2,11],24:[2,11],26:[2,11],28:[2,11],29:[2,11],31:[2,11],32:[2,11],34:[2,11]},{30:79,50:[1,26],53:24},{29:[2,15]},{5:[2,12],12:[2,12],13:[2,12],16:[2,12],24:[2,12],26:[2,12],28:[2,12],29:[2,12],31:[2,12],32:[2,12],34:[2,12]},{25:[1,80]},{25:[2,45]},{51:[1,78]},{5:[2,20],12:[2,20],13:[2,20],16:[2,20],24:[2,20],26:[2,20],28:[2,20],29:[2,20],31:[2,20],32:[2,20],34:[2,20]},{46:[1,81]},{18:[2,53],25:[2,53],33:[2,53],46:[2,53],50:[2,53]},{30:51,36:82,41:55,42:[1,52],43:[1,53],44:[1,54],45:[1,56],50:[1,26],52:[1,25],53:24},{25:[1,83]},{5:[2,19],12:[2,19],13:[2,19],16:[2,19],24:[2,19],26:[2,19],28:[2,19],29:[2,19],31:[2,19],32:[2,19],34:[2,19]},{18:[2,28],25:[2,28],33:[2,28],42:[2,28],43:[2,28],44:[2,28],45:[2,28],46:[2,28],50:[2,28],52:[2,28]},{18:[2,30],25:[2,30],33:[2,30],46:[2,30],50:[2,30]},{5:[2,16],12:[2,16],13:[2,16],16:[2,16],24:[2,16],26:[2,16],28:[2,16],29:[2,16],31:[2,16],32:[2,16],34:[2,16]}],\n
  defaultActions: {4:[2,1],44:[2,41],47:[2,43],57:[2,47],63:[2,10],70:[2,15],73:[2,45]},\n
  parseError: function parseError(str, hash) {\n
      throw new Error(str);\n
  },\n
  parse: function parse(input) {\n
      var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n
      this.lexer.setInput(input);\n
      this.lexer.yy = this.yy;\n
      this.yy.lexer = this.lexer;\n
      this.yy.parser = this;\n
      if (typeof this.lexer.yylloc == "undefined")\n
          this.lexer.yylloc = {};\n
      var yyloc = this.lexer.yylloc;\n
      lstack.push(yyloc);\n
      var ranges = this.lexer.options && this.lexer.options.ranges;\n
      if (typeof this.yy.parseError === "function")\n
          this.parseError = this.yy.parseError;\n
      function popStack(n) {\n
          stack.length = stack.length - 2 * n;\n
          vstack.length = vstack.length - n;\n
          lstack.length = lstack.length - n;\n
      }\n
      function lex() {\n
          var token;\n
          token = self.lexer.lex() || 1;\n
          if (typeof token !== "number") {\n
              token = self.symbols_[token] || token;\n
          }\n
          return token;\n
      }\n
      var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n
      while (true) {\n
          state = stack[stack.length - 1];\n
          if (this.defaultActions[state]) {\n
              action = this.defaultActions[state];\n
          } else {\n
              if (symbol === null || typeof symbol == "undefined") {\n
                  symbol = lex();\n
              }\n
              action = table[state] && table[state][symbol];\n
          }\n
          if (typeof action === "undefined" || !action.length || !action[0]) {\n
              var errStr = "";\n
              if (!recovering) {\n
                  expected = [];\n
                  for (p in table[state])\n
                      if (this.terminals_[p] && p > 2) {\n
                          expected.push("\'" + this.terminals_[p] + "\'");\n
                      }\n
                  if (this.lexer.showPosition) {\n
                      errStr = "Parse error on line " + (yylineno + 1) + ":\\n" + this.lexer.showPosition() + "\\nExpecting " + expected.join(", ") + ", got \'" + (this.terminals_[symbol] || symbol) + "\'";\n
                  } else {\n
                      errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == 1?"end of input":"\'" + (this.terminals_[symbol] || symbol) + "\'");\n
                  }\n
                  this.parseError(errStr, {text: this.lexer.match, token: this.terminals_[symbol] || symbol, line: this.lexer.yylineno, loc: yyloc, expected: expected});\n
              }\n
          }\n
          if (action[0] instanceof Array && action.length > 1) {\n
              throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);\n
          }\n
          switch (action[0]) {\n
          case 1:\n
              stack.push(symbol);\n
              vstack.push(this.lexer.yytext);\n
              lstack.push(this.lexer.yylloc);\n
              stack.push(action[1]);\n
              symbol = null;\n
              if (!preErrorSymbol) {\n
                  yyleng = this.lexer.yyleng;\n
                  yytext = this.lexer.yytext;\n
                  yylineno = this.lexer.yylineno;\n
                  yyloc = this.lexer.yylloc;\n
                  if (recovering > 0)\n
                      recovering--;\n
              } else {\n
                  symbol = preErrorSymbol;\n
                  preErrorSymbol = null;\n
              }\n
              break;\n
          case 2:\n
              len = this.productions_[action[1]][1];\n
              yyval.$ = vstack[vstack.length - len];\n
              yyval._$ = {first_line: lstack[lstack.length - (len || 1)].first_line, last_line: lstack[lstack.length - 1].last_line, first_column: lstack[lstack.length - (len || 1)].first_column, last_column: lstack[lstack.length - 1].last_column};\n
              if (ranges) {\n
                  yyval._$.range = [lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1]];\n
              }\n
              r = this.performAction.call(yyval, yytext, yyleng, yylineno, this.yy, action[1], vstack, lstack);\n
              if (typeof r !== "undefined") {\n
                  return r;\n
              }\n
              if (len) {\n
                  stack = stack.slice(0, -1 * len * 2);\n
                  vstack = vstack.slice(0, -1 * len);\n
                  lstack = lstack.slice(0, -1 * len);\n
              }\n
              stack.push(this.productions_[action[1]][0]);\n
              vstack.push(yyval.$);\n
              lstack.push(yyval._$);\n
              newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n
              stack.push(newState);\n
              break;\n
          case 3:\n
              return true;\n
          }\n
      }\n
      return true;\n
  }\n
  };\n
  /* Jison generated lexer */\n
  var lexer = (function(){\n
  var lexer = ({EOF:1,\n
  parseError:function parseError(str, hash) {\n
          if (this.yy.parser) {\n
              this.yy.parser.parseError(str, hash);\n
          } else {\n
              throw new Error(str);\n
          }\n
      },\n
  setInput:function (input) {\n
          this._input = input;\n
          this._more = this._less = this.done = false;\n
          this.yylineno = this.yyleng = 0;\n
          this.yytext = this.matched = this.match = \'\';\n
          this.conditionStack = [\'INITIAL\'];\n
          this.yylloc = {first_line:1,first_column:0,last_line:1,last_column:0};\n
          if (this.options.ranges) this.yylloc.range = [0,0];\n
          this.offset = 0;\n
          return this;\n
      },\n
  input:function () {\n
          var ch = this._input[0];\n
          this.yytext += ch;\n
          this.yyleng++;\n
          this.offset++;\n
          this.match += ch;\n
          this.matched += ch;\n
          var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n
          if (lines) {\n
              this.yylineno++;\n
              this.yylloc.last_line++;\n
          } else {\n
              this.yylloc.last_column++;\n
          }\n
          if (this.options.ranges) this.yylloc.range[1]++;\n
\n
          this._input = this._input.slice(1);\n
          return ch;\n
      },\n
  unput:function (ch) {\n
          var len = ch.length;\n
          var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n
\n
          this._input = ch + this._input;\n
          this.yytext = this.yytext.substr(0, this.yytext.length-len-1);\n
          //this.yyleng -= len;\n
          this.offset -= len;\n
          var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n
          this.match = this.match.substr(0, this.match.length-1);\n
          this.matched = this.matched.substr(0, this.matched.length-1);\n
\n
          if (lines.length-1) this.yylineno -= lines.length-1;\n
          var r = this.yylloc.range;\n
\n
          this.yylloc = {first_line: this.yylloc.first_line,\n
            last_line: this.yylineno+1,\n
            first_column: this.yylloc.first_column,\n
            last_column: lines ?\n
                (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length:\n
                this.yylloc.first_column - len\n
            };\n
\n
          if (this.options.ranges) {\n
              this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n
          }\n
          return this;\n
      },\n
  more:function () {\n
          this._more = true;\n
          return this;\n
      },\n
  less:function (n) {\n
          this.unput(this.match.slice(n));\n
      },\n
  pastInput:function () {\n
          var past = this.matched.substr(0, this.matched.length - this.match.length);\n
          return (past.length > 20 ? \'...\':\'\') + past.substr(-20).replace(/\\n/g, "");\n
      },\n
  upcomingInput:function () {\n
          var next = this.match;\n
          if (next.length < 20) {\n
              next += this._input.substr(0, 20-next.length);\n
          }\n
          return (next.substr(0,20)+(next.length > 20 ? \'...\':\'\')).replace(/\\n/g, "");\n
      },\n
  showPosition:function () {\n
          var pre = this.pastInput();\n
          var c = new Array(pre.length + 1).join("-");\n
          return pre + this.upcomingInput() + "\\n" + c+"^";\n
      },\n
  next:function () {\n
          if (this.done) {\n
              return this.EOF;\n
          }\n
          if (!this._input) this.done = true;\n
\n
          var token,\n
              match,\n
              tempMatch,\n
              index,\n
              col,\n
              lines;\n
          if (!this._more) {\n
              this.yytext = \'\';\n
              this.match = \'\';\n
          }\n
          var rules = this._currentRules();\n
          for (var i=0;i < rules.length; i++) {\n
              tempMatch = this._input.match(this.rules[rules[i]]);\n
              if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n
                  match = tempMatch;\n
                  index = i;\n
                  if (!this.options.flex) break;\n
              }\n
          }\n
          if (match) {\n
              lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n
              if (lines) this.yylineno += lines.length;\n
              this.yylloc = {first_line: this.yylloc.last_line,\n
                             last_line: this.yylineno+1,\n
                             first_column: this.yylloc.last_column,\n
                             last_column: lines ? lines[lines.length-1].length-lines[lines.length-1].match(/\\r?\\n?/)[0].length : this.yylloc.last_column + match[0].length};\n
              this.yytext += match[0];\n
              this.match += match[0];\n
              this.matches = match;\n
              this.yyleng = this.yytext.length;\n
              if (this.options.ranges) {\n
                  this.yylloc.range = [this.offset, this.offset += this.yyleng];\n
              }\n
              this._more = false;\n
              this._input = this._input.slice(match[0].length);\n
              this.matched += match[0];\n
              token = this.performAction.call(this, this.yy, this, rules[index],this.conditionStack[this.conditionStack.length-1]);\n
              if (this.done && this._input) this.done = false;\n
              if (token) return token;\n
              else return;\n
          }\n
          if (this._input === "") {\n
              return this.EOF;\n
          } else {\n
              return this.parseError(\'Lexical error on line \'+(this.yylineno+1)+\'. Unrecognized text.\\n\'+this.showPosition(),\n
                      {text: "", token: null, line: this.yylineno});\n
          }\n
      },\n
  lex:function lex() {\n
          var r = this.next();\n
          if (typeof r !== \'undefined\') {\n
              return r;\n
          } else {\n
              return this.lex();\n
          }\n
      },\n
  begin:function begin(condition) {\n
          this.conditionStack.push(condition);\n
      },\n
  popState:function popState() {\n
          return this.conditionStack.pop();\n
      },\n
  _currentRules:function _currentRules() {\n
          return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;\n
      },\n
  topState:function () {\n
          return this.conditionStack[this.conditionStack.length-2];\n
      },\n
  pushState:function begin(condition) {\n
          this.begin(condition);\n
      }});\n
  lexer.options = {};\n
  lexer.performAction = function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\n
\n
\n
  function strip(start, end) {\n
    return yy_.yytext = yy_.yytext.substr(start, yy_.yyleng-end);\n
  }\n
\n
\n
  var YYSTATE=YY_START\n
  switch($avoiding_name_collisions) {\n
  case 0:\n
                                     if(yy_.yytext.slice(-2) === "\\\\\\\\") {\n
                                       strip(0,1);\n
                                       this.begin("mu");\n
                                     } else if(yy_.yytext.slice(-1) === "\\\\") {\n
                                       strip(0,1);\n
                                       this.begin("emu");\n
                                     } else {\n
                                       this.begin("mu");\n
                                     }\n
                                     if(yy_.yytext) return 12;\n
                                   \n
  break;\n
  case 1:return 12;\n
  break;\n
  case 2:\n
                                     this.popState();\n
                                     return 12;\n
                                   \n
  break;\n
  case 3:\n
                                    yy_.yytext = yy_.yytext.substr(5, yy_.yyleng-9);\n
                                    this.popState();\n
                                    return 15;\n
                                   \n
  break;\n
  case 4: return 12; \n
  break;\n
  case 5:strip(0,4); this.popState(); return 13;\n
  break;\n
  case 6:return 45;\n
  break;\n
  case 7:return 46;\n
  break;\n
  case 8: return 16; \n
  break;\n
  case 9:\n
                                    this.popState();\n
                                    this.begin(\'raw\');\n
                                    return 18;\n
                                   \n
  break;\n
  case 10:return 34;\n
  break;\n
  case 11:return 24;\n
  break;\n
  case 12:return 29;\n
  break;\n
  case 13:this.popState(); return 28;\n
  break;\n
  case 14:this.popState(); return 28;\n
  break;\n
  case 15:return 26;\n
  break;\n
  case 16:return 26;\n
  break;\n
  case 17:return 32;\n
  break;\n
  case 18:return 31;\n
  break;\n
  case 19:this.popState(); this.begin(\'com\');\n
  break;\n
  case 20:strip(3,5); this.popState(); return 13;\n
  break;\n
  case 21:return 31;\n
  break;\n
  case 22:return 51;\n
  break;\n
  case 23:return 50;\n
  break;\n
  case 24:return 50;\n
  break;\n
  case 25:return 54;\n
  break;\n
  case 26:// ignore whitespace\n
  break;\n
  case 27:this.popState(); return 33;\n
  break;\n
  case 28:this.popState(); return 25;\n
  break;\n
  case 29:yy_.yytext = strip(1,2).replace(/\\\\"/g,\'"\'); return 42;\n
  break;\n
  case 30:yy_.yytext = strip(1,2).replace(/\\\\\'/g,"\'"); return 42;\n
  break;\n
  case 31:return 52;\n
  break;\n
  case 32:return 44;\n
  break;\n
  case 33:return 44;\n
  break;\n
  case 34:return 43;\n
  break;\n
  case 35:return 50;\n
  break;\n
  case 36:yy_.yytext = strip(1,2); return 50;\n
  break;\n
  case 37:return \'INVALID\';\n
  break;\n
  case 38:return 5;\n
  break;\n
  }\n
  };\n
  lexer.rules = [/^(?:[^\\x00]*?(?=(\\{\\{)))/,/^(?:[^\\x00]+)/,/^(?:[^\\x00]{2,}?(?=(\\{\\{|\\\\\\{\\{|\\\\\\\\\\{\\{|$)))/,/^(?:\\{\\{\\{\\{\\/[^\\s!"#%-,\\.\\/;->@\\[-\\^`\\{-~]+(?=[=}\\s\\/.])\\}\\}\\}\\})/,/^(?:[^\\x00]*?(?=(\\{\\{\\{\\{\\/)))/,/^(?:[\\s\\S]*?--\\}\\})/,/^(?:\\()/,/^(?:\\))/,/^(?:\\{\\{\\{\\{)/,/^(?:\\}\\}\\}\\})/,/^(?:\\{\\{(~)?>)/,/^(?:\\{\\{(~)?#)/,/^(?:\\{\\{(~)?\\/)/,/^(?:\\{\\{(~)?\\^\\s*(~)?\\}\\})/,/^(?:\\{\\{(~)?\\s*else\\s*(~)?\\}\\})/,/^(?:\\{\\{(~)?\\^)/,/^(?:\\{\\{(~)?\\s*else\\b)/,/^(?:\\{\\{(~)?\\{)/,/^(?:\\{\\{(~)?&)/,/^(?:\\{\\{!--)/,/^(?:\\{\\{![\\s\\S]*?\\}\\})/,/^(?:\\{\\{(~)?)/,/^(?:=)/,/^(?:\\.\\.)/,/^(?:\\.(?=([=~}\\s\\/.)])))/,/^(?:[\\/.])/,/^(?:\\s+)/,/^(?:\\}(~)?\\}\\})/,/^(?:(~)?\\}\\})/,/^(?:"(\\\\["]|[^"])*")/,/^(?:\'(\\\\[\']|[^\'])*\')/,/^(?:@)/,/^(?:true(?=([~}\\s)])))/,/^(?:false(?=([~}\\s)])))/,/^(?:-?[0-9]+(?:\\.[0-9]+)?(?=([~}\\s)])))/,/^(?:([^\\s!"#%-,\\.\\/;->@\\[-\\^`\\{-~]+(?=([=~}\\s\\/.)]))))/,/^(?:\\[[^\\]]*\\])/,/^(?:.)/,/^(?:$)/];\n
  lexer.conditions = {"mu":{"rules":[6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"inclusive":false},"emu":{"rules":[2],"inclusive":false},"com":{"rules":[5],"inclusive":false},"raw":{"rules":[3,4],"inclusive":false},"INITIAL":{"rules":[0,1,38],"inclusive":true}};\n
  return lexer;})()\n
  parser.lexer = lexer;\n
  function Parser () { this.yy = {}; }Parser.prototype = parser;parser.Parser = Parser;\n
  return new Parser;\n
  })();__exports__ = handlebars;\n
  /* jshint ignore:end */\n
  return __exports__;\n
})();\n
\n
// handlebars/compiler/helpers.js\n
var __module10__ = (function(__dependency1__) {\n
  "use strict";\n
  var __exports__ = {};\n
  var Exception = __dependency1__;\n
\n
  function stripFlags(open, close) {\n
    return {\n
      left: open.charAt(2) === \'~\',\n
      right: close.charAt(close.length-3) === \'~\'\n
    };\n
  }\n
\n
  __exports__.stripFlags = stripFlags;\n
  function prepareBlock(mustache, program, inverseAndProgram, close, inverted, locInfo) {\n
    /*jshint -W040 */\n
    if (mustache.sexpr.id.original !== close.path.original) {\n
      throw new Exception(mustache.sexpr.id.original + \' doesn\\\'t match \' + close.path.original, mustache);\n
    }\n
\n
    var inverse = inverseAndProgram && inverseAndProgram.program;\n
\n
    var strip = {\n
      left: mustache.strip.left,\n
      right: close.strip.right,\n
\n
      // Determine the standalone candiacy. Basically flag our content as being possibly standalone\n
      // so our parent can determine if we actually are standalone\n
      openStandalone: isNextWhitespace(program.statements),\n
      closeStandalone: isPrevWhitespace((inverse || program).statements)\n
    };\n
\n
    if (mustache.strip.right) {\n
      omitRight(program.statements, null, true);\n
    }\n
\n
    if (inverse) {\n
      var inverseStrip = inverseAndProgram.strip;\n
\n
      if (inverseStrip.left) {\n
        omitLeft(program.statements, null, true);\n
      }\n
      if (inverseStrip.right) {\n
        omitRight(inverse.statements, null, true);\n
      }\n
      if (close.strip.left) {\n
        omitLeft(inverse.statements, null, true);\n
      }\n
\n
      // Find standalone else statments\n
      if (isPrevWhitespace(program.statements)\n
          && isNextWhitespace(inverse.statements)) {\n
\n
        omitLeft(program.statements);\n
        omitRight(inverse.statements);\n
      }\n
    } else {\n
      if (close.strip.left) {\n
        omitLeft(program.statements, null, true);\n
      }\n
    }\n
\n
    if (inverted) {\n
      return new this.BlockNode(mustache, inverse, program, strip, locInfo);\n
    } else {\n
      return new this.BlockNode(mustache, program, inverse, strip, locInfo);\n
    }\n
  }\n
\n
  __exports__.prepareBlock = prepareBlock;\n
  function prepareProgram(statements, isRoot) {\n
    for (var i = 0, l = statements.length; i < l; i++) {\n
      var current = statements[i],\n
          strip = current.strip;\n
\n
      if (!strip) {\n
        continue;\n
      }\n
\n
      var _isPrevWhitespace = isPrevWhitespace(statements, i, isRoot, current.type === \'partial\'),\n
          _isNextWhitespace = isNextWhitespace(statements, i, isRoot),\n
\n
          openStandalone = strip.openStandalone && _isPrevWhitespace,\n
          closeStandalone = strip.closeStandalone && _isNextWhitespace,\n
          inlineStandalone = strip.inlineStandalone && _isPrevWhitespace && _isNextWhitespace;\n
\n
      if (strip.right) {\n
        omitRight(statements, i, true);\n
      }\n
      if (strip.left) {\n
        omitLeft(statements, i, true);\n
      }\n
\n
      if (inlineStandalone) {\n
        omitRight(statements, i);\n
\n
        if (omitLeft(statements, i)) {\n
          // If we are on a standalone node, save the indent info for partials\n
          if (current.type === \'partial\') {\n
            current.indent = (/([ \\t]+$)/).exec(statements[i-1].original) ? RegExp.$1 : \'\';\n
          }\n
        }\n
      }\n
      if (openStandalone) {\n
        omitRight((current.program || current.inverse).statements);\n
\n
        // Strip out the previous content node if it\'s whitespace only\n
        omitLeft(statements, i);\n
      }\n
      if (closeStandalone) {\n
        // Always strip the next node\n
        omitRight(statements, i);\n
\n
        omitLeft((current.inverse || current.program).statements);\n
      }\n
    }\n
\n
    return statements;\n
  }\n
\n
  __exports__.prepareProgram = prepareProgram;function isPrevWhitespace(statements, i, isRoot) {\n
    if (i === undefined) {\n
      i = statements.length;\n
    }\n
\n
    // Nodes that end with newlines are considered whitespace (but are special\n
    // cased for strip operations)\n
    var prev = statements[i-1],\n
        sibling = statements[i-2];\n
    if (!prev) {\n
      return isRoot;\n
    }\n
\n
    if (prev.type === \'content\') {\n
      return (sibling || !isRoot ? (/\\r?\\n\\s*?$/) : (/(^|\\r?\\n)\\s*?$/)).test(prev.original);\n
    }\n
  }\n
  function isNextWhitespace(statements, i, isRoot) {\n
    if (i === undefined) {\n
      i = -1;\n
    }\n
\n
    var next = statements[i+1],\n
        sibling = statements[i+2];\n
    if (!next) {\n
      return isRoot;\n
    }\n
\n
    if (next.type === \'content\') {\n
      return (sibling || !isRoot ? (/^\\s*?\\r?\\n/) : (/^\\s*?(\\r?\\n|$)/)).test(next.original);\n
    }\n
  }\n
\n
  // Marks the node to the right of the position as omitted.\n
  // I.e. {{foo}}\' \' will mark the \' \' node as omitted.\n
  //\n
  // If i is undefined, then the first child will be marked as such.\n
  //\n
  // If mulitple is truthy then all whitespace will be stripped out until non-whitespace\n
  // content is met.\n
  function omitRight(statements, i, multiple) {\n
    var current = statements[i == null ? 0 : i + 1];\n
    if (!current || current.type !== \'content\' || (!multiple && current.rightStripped)) {\n
      return;\n
    }\n
\n
    var original = current.string;\n
    current.string = current.string.replace(multiple ? (/^\\s+/) : (/^[ \\t]*\\r?\\n?/), \'\');\n
    current.rightStripped = current.string !== original;\n
  }\n
\n
  // Marks the node to the left of the position as omitted.\n
  // I.e. \' \'{{foo}} will mark the \' \' node as omitted.\n
  //\n
  // If i is undefined then the last child will be marked as such.\n
  //\n
  // If mulitple is truthy then all whitespace will be stripped out until non-whitespace\n
  // content is met.\n
  function omitLeft(statements, i, multiple) {\n
    var current = statements[i == null ? statements.length - 1 : i - 1];\n
    if (!current || current.type !== \'content\' || (!multiple && current.leftStripped)) {\n
      return;\n
    }\n
\n
    // We omit the last node if it\'s whitespace only and not preceeded by a non-content node.\n
    var original = current.string;\n
    current.string = current.string.replace(multiple ? (/\\s+$/) : (/[ \\t]+$/), \'\');\n
    current.leftStripped = current.string !== original;\n
    return current.leftStripped;\n
  }\n
  return __exports__;\n
})(__module5__);\n
\n
// handlebars/compiler/base.js\n
var __module8__ = (function(__dependency1__, __dependency2__, __dependency3__, __dependency4__) {\n
  "use strict";\n
  var __exports__ = {};\n
  var parser = __dependency1__;\n
  var AST = __dependency2__;\n
  var Helpers = __dependency3__;\n
  var extend = __dependency4__.extend;\n
\n
  __exports__.parser = parser;\n
\n
  var yy = {};\n
  extend(yy, Helpers, AST);\n
\n
  function parse(input) {\n
    // Just return if an already-compile AST was passed in.\n
    if (input.constructor === AST.ProgramNode) { return input; }\n
\n
    parser.yy = yy;\n
\n
    return parser.parse(input);\n
  }\n
\n
  __exports__.parse = parse;\n
  return __exports__;\n
})(__module9__, __module7__, __module10__, __module3__);\n
\n
// handlebars/compiler/compiler.js\n
var __module11__ = (function(__dependency1__, __dependency2__) {\n
  "use strict";\n
  var __exports__ = {};\n
  var Exception = __dependency1__;\n
  var isArray = __dependency2__.isArray;\n
\n
  var slice = [].slice;\n
\n
  function Compiler() {}\n
\n
  __exports__.Compiler = Compiler;// the foundHelper register will disambiguate helper lookup from finding a\n
  // function in a context. This is necessary for mustache compatibility, which\n
  // requires that context functions in blocks are evaluated by blockHelperMissing,\n
  // and then proceed as if the resulting value was provided to blockHelperMissing.\n
\n
  Compiler.prototype = {\n
    compiler: Compiler,\n
\n
    equals: function(other) {\n
      var len = this.opcodes.length;\n
      if (other.opcodes.length !== len) {\n
        return false;\n
      }\n
\n
      for (var i = 0; i < len; i++) {\n
        var opcode = this.opcodes[i],\n
            otherOpcode = other.opcodes[i];\n
        if (opcode.opcode !== otherOpcode.opcode || !argEquals(opcode.args, otherOpcode.args)) {\n
          return false;\n
        }\n
      }\n
\n
      // We know that length is the same between the two arrays because they are directly tied\n
      // to the opcode behavior above.\n
      len = this.children.length;\n
      for (i = 0; i < len; i++) {\n
        if (!this.children[i].equals(other.children[i])) {\n
          return false;\n
        }\n
      }\n
\n
      return true;\n
    },\n
\n
    guid: 0,\n
\n
    compile: function(program, options) {\n
      this.opcodes = [];\n
      this.children = [];\n
      this.depths = {list: []};\n
      this.options = options;\n
      this.stringParams = options.stringParams;\n
      this.trackIds = options.trackIds;\n
\n
      // These changes will propagate to the other compiler components\n
      var knownHelpers = this.options.knownHelpers;\n
      this.options.knownHelpers = {\n
        \'helperMissing\': true,\n
        \'blockHelperMissing\': true,\n
        \'each\': true,\n
        \'if\': true,\n
        \'unless\': true,\n
        \'with\': true,\n
        \'log\': true,\n
        \'lookup\': true\n
      };\n
      if (knownHelpers) {\n
        for (var name in knownHelpers) {\n
          this.options.knownHelpers[name] = knownHelpers[name];\n
        }\n
      }\n
\n
      return this.accept(program);\n
    },\n
\n
    accept: function(node) {\n
      return this[node.type](node);\n
    },\n
\n
    program: function(program) {\n
      var statements = program.statements;\n
\n
      for(var i=0, l=statements.length; i<l; i++) {\n
        this.accept(statements[i]);\n
      }\n
      this.isSimple = l === 1;\n
\n
      this.depths.list = this.depths.list.sort(function(a, b) {\n
        return a - b;\n
      });\n
\n
      return this;\n
    },\n
\n
    compileProgram: function(program) {\n
      var result = new this.compiler().compile(program, this.options);\n
      var guid = this.guid++, depth;\n
\n
      this.usePartial = this.usePartial || result.usePartial;\n
\n
      this.children[guid] = result;\n
\n
      for(var i=0, l=result.depths.list.length; i<l; i++) {\n
        depth = result.depths.list[i];\n
\n
        if(depth < 2) { continue; }\n
        else { this.addDepth(depth - 1); }\n
      }\n
\n
      return guid;\n
    },\n
\n
    block: function(block) {\n
      var mustache = block.mustache,\n
          program = block.program,\n
          inverse = block.inverse;\n
\n
      if (program) {\n
        program = this.compileProgram(program);\n
      }\n
\n
      if (inverse) {\n
        inverse = this.compileProgram(inverse);\n
      }\n
\n
      var sexpr = mustache.sexpr;\n
      var type = this.classifySexpr(sexpr);\n
\n
      if (type === "helper") {\n
        this.helperSexpr(sexpr, program, inverse);\n
      } else if (type === "simple") {\n
        this.simpleSexpr(sexpr);\n
\n
        // now that the simple mustache is resolved, we need to\n
        // evaluate it by executing `blockHelperMissing`\n
        this.opcode(\'pushProgram\', program);\n
        this.opcode(\'pushProgram\', inverse);\n
        this.opcode(\'emptyHash\');\n
        this.opcode(\'blockValue\', sexpr.id.original);\n
      } else {\n
        this.ambiguousSexpr(sexpr, program, inverse);\n
\n
        // now that the simple mustache is resolved, we need to\n
        // evaluate it by executing `blockHelperMissing`\n
        this.opcode(\'pushProgram\', program);\n
        this.opcode(\'pushProgram\', inverse);\n
        this.opcode(\'emptyHash\');\n
        this.opcode(\'ambiguousBlockValue\');\n
      }\n
\n
      this.opcode(\'append\');\n
    },\n
\n
    hash: function(hash) {\n
      var pairs = hash.pairs, i, l;\n
\n
      this.opcode(\'pushHash\');\n
\n
      for(i=0, l=pairs.length; i<l; i++) {\n
        this.pushParam(pairs[i][1]);\n
      }\n
      while(i--) {\n
        this.opcode(\'assignToHash\', pairs[i][0]);\n
      }\n
      this.opcode(\'popHash\');\n
    },\n
\n
    partial: function(partial) {\n
      var partialName = partial.partialName;\n
      this.usePartial = true;\n
\n
      if (partial.hash) {\n
        this.accept(partial.hash);\n
      } else {\n
        this.opcode(\'push\', \'undefined\');\n
      }\n
\n
      if (partial.context) {\n
        this.accept(partial.context);\n
      } else {\n
        this.opcode(\'getContext\', 0);\n
        this.opcode(\'pushContext\');\n
      }\n
\n
      this.opcode(\'invokePartial\', partialName.name, partial.indent || \'\');\n
      this.opcode(\'append\');\n
    },\n
\n
    content: function(content) {\n
      if (content.string) {\n
        this.opcode(\'appendContent\', content.string);\n
      }\n
    },\n
\n
    mustache: function(mustache) {\n
      this.sexpr(mustache.sexpr);\n
\n
      if(mustache.escaped && !this.options.noEscape) {\n
        this.opcode(\'appendEscaped\');\n
      } else {\n
        this.opcode(\'append\');\n
      }\n
    },\n
\n
    ambiguousSexpr: function(sexpr, program, inverse) {\n
      var id = sexpr.id,\n
          name = id.parts[0],\n
          isBlock = program != null || inverse != null;\n
\n
      this.opcode(\'getContext\', id.depth);\n
\n
      this.opcode(\'pushProgram\', program);\n
      this.opcode(\'pushProgram\', inverse);\n
\n
      this.ID(id);\n
\n
      this.opcode(\'invokeAmbiguous\', name, isBlock);\n
    },\n
\n
    simpleSexpr: function(sexpr) {\n
      var id = sexpr.id;\n
\n
      if (id.type === \'DATA\') {\n
        this.DATA(id);\n
      } else if (id.parts.length) {\n
        this.ID(id);\n
      } else {\n
        // Simplified ID for `this`\n
        this.addDepth(id.depth);\n
        this.opcode(\'getContext\', id.depth);\n
        this.opcode(\'pushContext\');\n
      }\n
\n
      this.opcode(\'resolvePossibleLambda\');\n
    },\n
\n
    helperSexpr: function(sexpr, program, inverse) {\n
      var params = this.setupFullMustacheParams(sexpr, program, inverse),\n
          id = sexpr.id,\n
          name = id.parts[0];\n
\n
      if (this.options.knownHelpers[name]) {\n
        this.opcode(\'invokeKnownHelper\', params.length, name);\n
      } else if (this.options.knownHelpersOnly) {\n
        throw new Exception("You specified knownHelpersOnly, but used the unknown helper " + name, sexpr);\n
      } else {\n
        id.falsy = true;\n
\n
        this.ID(id);\n
        this.opcode(\'invokeHelper\', params.length, id.original, id.isSimple);\n
      }\n
    },\n
\n
    sexpr: function(sexpr) {\n
      var type = this.classifySexpr(sexpr);\n
\n
      if (type === "simple") {\n
        this.simpleSexpr(sexpr);\n
      } else if (type === "helper") {\n
        this.helperSexpr(sexpr);\n
      } else {\n
        this.ambiguousSexpr(sexpr);\n
      }\n
    },\n
\n
    ID: function(id) {\n
      this.addDepth(id.depth);\n
      this.opcode(\'getContext\', id.depth);\n
\n
      var name = id.parts[0];\n
      if (!name) {\n
        // Context reference, i.e. `{{foo .}}` or `{{foo ..}}`\n
        this.opcode(\'pushContext\');\n
      } else {\n
        this.opcode(\'lookupOnContext\', id.parts, id.falsy, id.isScoped);\n
      }\n
    },\n
\n
    DATA: function(data) {\n
      this.options.data = true;\n
      this.opcode(\'lookupData\', data.id.depth, data.id.parts);\n
    },\n
\n
    STRING: function(string) {\n
      this.opcode(\'pushString\', string.string);\n
    },\n
\n
    NUMBER: function(number) {\n
      this.opcode(\'pushLiteral\', number.number);\n
    },\n
\n
    BOOLEAN: function(bool) {\n
      this.opcode(\'pushLiteral\', bool.bool);\n
    },\n
\n
    comment: function() {},\n
\n
    // HELPERS\n
    opcode: function(name) {\n
      this.opcodes.push({ opcode: name, args: slice.call(arguments, 1) });\n
    },\n
\n
    addDepth: function(depth) {\n
      if(depth === 0) { return; }\n
\n
      if(!this.depths[depth]) {\n
        this.depths[depth] = true;\n
        this.depths.list.push(depth);\n
      }\n
    },\n
\n
    classifySexpr: function(sexpr) {\n
      var isHelper   = sexpr.isHelper;\n
      var isEligible = sexpr.eligibleHelper;\n
      var options    = this.options;\n
\n
      // if ambiguous, we can possibly resolve the ambiguity now\n
      // An eligible helper is one that does not have a complex path, i.e. `this.foo`, `../foo` etc.\n
      if (isEligible && !isHelper) {\n
        var name = sexpr.id.parts[0];\n
\n
        if (options.knownHelpers[name]) {\n
          isHelper = true;\n
        } else if (options.knownHelpersOnly) {\n
          isEligible = false;\n
        }\n
      }\n
\n
      if (isHelper) { return "helper"; }\n
      else if (isEligible) { return "ambiguous"; }\n
      else { return "simple"; }\n
    },\n
\n
    pushParams: function(params) {\n
      for(var i=0, l=params.length; i<l; i++) {\n
        this.pushParam(params[i]);\n
      }\n
    },\n
\n
    pushParam: function(val) {\n
      if (this.stringParams) {\n
        if(val.depth) {\n
          this.addDepth(val.depth);\n
        }\n
        this.opcode(\'getContext\', val.depth || 0);\n
        this.opcode(\'pushStringParam\', val.stringModeValue, val.type);\n
\n
        if (val.type === \'sexpr\') {\n
          // Subexpressions get evaluated and passed in\n
          // in string params mode.\n
          this.sexpr(val);\n
        }\n
      } else {\n
        if (this.trackIds) {\n
          this.opcode(\'pushId\', val.type, val.idName || val.stringModeValue);\n
        }\n
        this.accept(val);\n
      }\n
    },\n
\n
    setupFullMustacheParams: function(sexpr, program, inverse) {\n
      var params = sexpr.params;\n
      this.pushParams(params);\n
\n
      this.opcode(\'pushProgram\', program);\n
      this.opcode(\'pushProgram\', inverse);\n
\n
      if (sexpr.hash) {\n
        this.hash(sexpr.hash);\n
      } else {\n
        this.opcode(\'emptyHash\');\n
      }\n
\n
      return params;\n
    }\n
  };\n
\n
  function precompile(input, options, env) {\n
    if (input == null || (typeof input !== \'string\' && input.constructor !== env.AST.ProgramNode)) {\n
      throw new Exception("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + input);\n
    }\n
\n
    options = options || {};\n
    if (!(\'data\' in options)) {\n
      options.data = true;\n
    }\n
    if (options.compat) {\n
      options.useDepths = true;\n
    }\n
\n
    var ast = env.parse(input);\n
    var environment = new env.Compiler().compile(ast, options);\n
    return new env.JavaScriptCompiler().compile(environment, options);\n
  }\n
\n
  __exports__.precompile = precompile;function compile(input, options, env) {\n
    if (input == null || (typeof input !== \'string\' && input.constructor !== env.AST.ProgramNode)) {\n
      throw new Exception("You must pass a string or Handlebars AST to Handlebars.compile. You passed " + input);\n
    }\n
\n
    options = options || {};\n
\n
    if (!(\'data\' in options)) {\n
      options.data = true;\n
    }\n
    if (options.compat) {\n
      options.useDepths = true;\n
    }\n
\n
    var compiled;\n
\n
    function compileInput() {\n
      var ast = env.parse(input);\n
      var environment = new env.Compiler().compile(ast, options);\n
      var templateSpec = new env.JavaScriptCompiler().compile(environment, options, undefined, true);\n
      return env.template(templateSpec);\n
    }\n
\n
    // Template is only compiled on first use and cached after that point.\n
    var ret = function(context, options) {\n
      if (!compiled) {\n
        compiled = compileInput();\n
      }\n
      return compiled.call(this, context, options);\n
    };\n
    ret._setup = function(options) {\n
      if (!compiled) {\n
        compiled = compileInput();\n
      }\n
      return compiled._setup(options);\n
    };\n
    ret._child = function(i, data, depths) {\n
      if (!compiled) {\n
        compiled = compileInput();\n
      }\n
      return compiled._child(i, data, depths);\n
    };\n
    return ret;\n
  }\n
\n
  __exports__.compile = compile;function argEquals(a, b) {\n
    if (a === b) {\n
      return true;\n
    }\n
\n
    if (isArray(a) && isArray(b) && a.length === b.length) {\n
      for (var i = 0; i < a.length; i++) {\n
        if (!argEquals(a[i], b[i])) {\n
          return false;\n
        }\n
      }\n
      return true;\n
    }\n
  }\n
  return __exports__;\n
})(__module5__, __module3__);\n
\n
// handlebars/compiler/javascript-compiler.js\n
var __module12__ = (function(__dependency1__, __dependency2__) {\n
  "use strict";\n
  var __exports__;\n
  var COMPILER_REVISION = __dependency1__.COMPILER_REVISION;\n
  var REVISION_CHANGES = __dependency1__.REVISION_CHANGES;\n
  var Exception = __dependency2__;\n
\n
  function Literal(value) {\n
    this.value = value;\n
  }\n
\n
  function JavaScriptCompiler() {}\n
\n
  JavaScriptCompiler.prototype = {\n
    // PUBLIC API: You can override these methods in a subclass to provide\n
    // alternative compiled forms for name lookup and buffering semantics\n
    nameLookup: function(parent, name /* , type*/) {\n
      if (JavaScriptCompiler.isValidJavaScriptVariableName(name)) {\n
        return parent + "." + name;\n
      } else {\n
        return parent + "[\'" + name + "\']";\n
      }\n
    },\n
    depthedLookup: function(name) {\n
      this.aliases.lookup = \'this.lookup\';\n
\n
      return \'lookup(depths, "\' + name + \'")\';\n
    },\n
\n
    compilerInfo: function() {\n
      var revision = COMPILER_REVISION,\n
          versions = REVISION_CHANGES[revision];\n
      return [revision, versions];\n
    },\n
\n
    appendToBuffer: function(string) {\n
      if (this.environment.isSimple) {\n
        return "return " + string + ";";\n
      } else {\n
        return {\n
          appendToBuffer: true,\n
          content: string,\n
          toString: function() { return "buffer += " + string + ";"; }\n
        };\n
      }\n
    },\n
\n
    initializeBuffer: function() {\n
      return this.quotedString("");\n
    },\n
\n
    namespace: "Handlebars",\n
    // END PUBLIC API\n
\n
    compile: function(environment, options, context, asObject) {\n
      this.environment = environment;\n
      this.options = options;\n
      this.stringParams = this.options.stringParams;\n
      this.trackIds = this.options.trackIds;\n
      this.precompile = !asObject;\n
\n
      this.name = this.environment.name;\n
      this.isChild = !!context;\n
      this.context = context || {\n
        programs: [],\n
        environments: []\n
      };\n
\n
      this.preamble();\n
\n
      this.stackSlot = 0;\n
      this.stackVars = [];\n
      this.aliases = {};\n
      this.registers = { list: [] };\n
      this.hashes = [];\n
      this.compileStack = [];\n
      this.inlineStack = [];\n
\n
      this.compileChildren(environment, options);\n
\n
      this.useDepths = this.useDepths || environment.depths.list.length || this.options.compat;\n
\n
      var opcodes = environment.opcodes,\n
          opcode,\n
          i,\n
          l;\n
\n
      for (i = 0, l = opcodes.length; i < l; i++) {\n
        opcode = opcodes[i];\n
\n
        this[opcode.opcode].apply(this, opcode.args);\n
      }\n
\n
      // Flush any trailing content that might be pending.\n
      this.pushSource(\'\');\n
\n
      /* istanbul ignore next */\n
      if (this.stackSlot || this.inlineStack.length || this.compileStack.length) {\n
        throw new Exception(\'Compile completed with content left on stack\');\n
      }\n
\n
      var fn = this.createFunctionContext(asObject);\n
      if (!this.isChild) {\n
        var ret = {\n
          compiler: this.compilerInfo(),\n
          main: fn\n
        };\n
        var programs = this.context.programs;\n
        for (i = 0, l = programs.length; i < l; i++) {\n
          if (programs[i]) {\n
            ret[i] = programs[i];\n
          }\n
        }\n
\n
        if (this.environment.usePartial) {\n
          ret.usePartial = true;\n
        }\n
        if (this.options.data) {\n
          ret.useData = true;\n
        }\n
        if (this.useDepths) {\n
          ret.useDepths = true;\n
        }\n
        if (this.options.compat) {\n
          ret.compat = true;\n
        }\n
\n
        if (!asObject) {\n
          ret.compiler = JSON.stringify(ret.compiler);\n
          ret = this.objectLiteral(ret);\n
        }\n
\n
        return ret;\n
      } else {\n
        return fn;\n
      }\n
    },\n
\n
    preamble: function() {\n
      // track the last context pushed into place to allow skipping the\n
      // getContext opcode when it would be a noop\n
      this.lastContext = 0;\n
      this.source = [];\n
    },\n
\n
    createFunctionContext: function(asObject) {\n
      var varDeclarations = \'\';\n
\n
      var locals = this.stackVars.concat(this.registers.list);\n
      if(locals.length > 0) {\n
        varDeclarations += ", " + locals.join(", ");\n
      }\n
\n
      // Generate minimizer alias mappings\n
      for (var alias in this.aliases) {\n
        if (this.aliases.hasOwnProperty(alias)) {\n
          varDeclarations += \', \' + alias + \'=\' + this.aliases[alias];\n
        }\n
      }\n
\n
      var params = ["depth0", "helpers", "partials", "data"];\n
\n
      if (this.useDepths) {\n
        params.push(\'depths\');\n
      }\n
\n
      // Perform a second pass over the output to merge content when possible\n
      var source = this.mergeSource(varDeclarations);\n
\n
      if (asObject) {\n
        params.push(source);\n
\n
        return Function.apply(this, params);\n
      } else {\n
        return \'function(\' + params.join(\',\') + \') {\\n  \' + source + \'}\';\n
      }\n
    },\n
    mergeSource: function(varDeclarations) {\n
      var source = \'\',\n
          buffer,\n
          appendOnly = !this.forceBuffer,\n
          appendFirst;\n
\n
      for (var i = 0, len = this.source.length; i < len; i++) {\n
        var line = this.source[i];\n
        if (line.appendToBuffer) {\n
          if (buffer) {\n
            buffer = buffer + \'\\n    + \' + line.content;\n
          } else {\n
            buffer = line.content;\n
          }\n
        } else {\n
          if (buffer) {\n
            if (!source) {\n
              appendFirst = true;\n
              source = buffer + \';\\n  \';\n
            } else {\n
              source += \'buffer += \' + buffer + \';\\n  \';\n
            }\n
            buffer = undefined;\n
          }\n
          source += line + \'\\n  \';\n
\n
          if (!this.environment.isSimple) {\n
            appendOnly = false;\n
          }\n
        }\n
      }\n
\n
      if (appendOnly) {\n
        if (buffer || !source) {\n
          source += \'return \' + (buffer || \'""\') + \';\\n\';\n
        }\n
      } else {\n
        varDeclarations += ", buffer = " + (appendFirst ? \'\' : this.initializeBuffer());\n
        if (buffer) {\n
          source += \'return buffer + \' + buffer + \';\\n\';\n
        } else {\n
          source += \'return buffer;\\n\';\n
        }\n
      }\n
\n
      if (varDeclarations) {\n
        source = \'var \' + varDeclarations.substring(2) + (appendFirst ? \'\' : \';\\n  \') + source;\n
      }\n
\n
      return source;\n
    },\n
\n
    // [blockValue]\n
    //\n
    // On stack, before: hash, inverse, program, value\n
    // On stack, after: return value of blockHelperMissing\n
    //\n
    // The purpose of this opcode is to take a block of the form\n
    // `{{#this.foo}}...{{/this.foo}}`, resolve the value of `foo`, and\n
    // replace it on the stack with the result of properly\n
    // invoking blockHelperMissing.\n
    blockValue: function(name) {\n
      this.aliases.blockHelperMissing = \'helpers.blockHelperMissing\';\n
\n
      var params = [this.contextName(0)];\n
      this.setupParams(name, 0, params);\n
\n
      var blockName = this.popStack();\n
      params.splice(1, 0, blockName);\n
\n
      this.push(\'blockHelperMissing.call(\' + params.join(\', \') + \')\');\n
    },\n
\n
    // [ambiguousBlockValue]\n
    //\n
    // On stack, before: hash, inverse, program, value\n
    // Compiler value, before: lastHelper=value of last found helper, if any\n
    // On stack, after, if no lastHelper: same as [blockValue]\n
    // On stack, after, if lastHelper: value\n
    ambiguousBlockValue: function() {\n
      this.aliases.blockHelperMissing = \'helpers.blockHelperMissing\';\n
\n
      // We\'re being a bit cheeky and reusing the options value from the prior exec\n
      var params = [this.contextName(0)];\n
      this.setupParams(\'\', 0, params, true);\n
\n
      this.flushInline();\n
\n
      var current = this.topStack();\n
      params.splice(1, 0, current);\n
\n
      this.pushSource("if (!" + this.lastHelper + ") { " + current + " = blockHelperMissing.call(" + params.join(", ") + "); }");\n
    },\n
\n
    // [appendContent]\n
    //\n
    // On stack, before: ...\n
    // On stack, after: ...\n
    //\n
    // Appends the string value of `content` to the current buffer\n
    appendContent: function(content) {\n
      if (this.pendingContent) {\n
        content = this.pendingContent + content;\n
      }\n
\n
      this.pendingContent = content;\n
    },\n
\n
    // [append]\n
    //\n
    // On stack, before: value, ...\n
    // On stack, after: ...\n
    //\n
    // Coerces `value` to a String and appends it to the current buffer.\n
    //\n
    // If `value` is truthy, or 0, it is coerced into a string and appended\n
    // Otherwise, the empty string is appended\n
    append: function() {\n
      // Force anything that is inlined onto the stack so we don\'t have duplication\n
      // when we examine local\n
      this.flushInline();\n
      var local = this.popStack();\n
      this.pushSource(\'if (\' + local + \' != null) { \' + this.appendToBuffer(local) + \' }\');\n
      if (this.environment.isSimple) {\n
        this.pushSource("else { " + this.appendToBuffer("\'\'") + " }");\n
      }\n
    },\n
\n
    // [appendEscaped]\n
    //\n
    // On stack, before: value, ...\n
    // On stack, after: ...\n
    //\n
    // Escape `value` and append it to the buffer\n
    appendEscaped: function() {\n
      this.aliases.escapeExpression = \'this.escapeExpression\';\n
\n
      this.pushSource(this.appendToBuffer("escapeExpression(" + this.popStack() + ")"));\n
    },\n
\n
    // [getContext]\n
    //\n
    // On stack, before: ...\n
    // On stack, after: ...\n
    // Compiler value, after: lastContext=depth\n
    //\n
    // Set the value of the `lastContext` compiler value to the depth\n
    getContext: function(depth) {\n
      this.lastContext = depth;\n
    },\n
\n
    // [pushContext]\n
    //\n
    // On stack, before: ...\n
    // On stack, after: currentContext, ...\n
    //\n
    // Pushes the value of the current context onto the stack.\n
    pushContext: function() {\n
      this.pushStackLiteral(this.contextName(this.lastContext));\n
    },\n
\n
    // [lookupOnContext]\n
    //\n
    // On stack, before: ...\n
    // On stack, after: currentContext[name], ...\n
    //\n
    // Looks up the value of `name` on the current context and pushes\n
    // it onto the stack.\n
    lookupOnContext: function(parts, falsy, scoped) {\n
      /*jshint -W083 */\n
      var i = 0,\n
          len = parts.length;\n
\n
      if (!scoped && this.options.compat && !this.lastContext) {\n
        // The depthed query is expected to handle the undefined logic for the root level that\n
        // is implemented below, so we evaluate that directly in compat mode\n
        this.push(this.depthedLookup(parts[i++]));\n
      } else {\n
        this.pushContext();\n
      }\n
\n
      for (; i < len; i++) {\n
        this.replaceStack(function(current) {\n
          var lookup = this.nameLookup(current, parts[i], \'context\');\n
          // We want to ensure that zero and false are handled properly if the context (falsy flag)\n
          // needs to have the special handling for these values.\n
          if (!falsy) {\n
            return \' != null ? \' + lookup + \' : \' + current;\n
          } else {\n
            // Otherwise we can use generic falsy handling\n
            return \' && \' + lookup;\n
          }\n
        });\n
      }\n
    },\n
\n
    // [lookupData]\n
    //\n
    // On stack, before: ...\n
    // On stack, after: data, ...\n
    //\n
    // Push the data lookup operator\n
    lookupData: function(depth, parts) {\n
      /*jshint -W083 */\n
      if (!depth) {\n
        this.pushStackLiteral(\'data\');\n
      } else {\n
        this.pushStackLiteral(\'this.data(data, \' + depth + \')\');\n
      }\n
\n
      var len = parts.length;\n
      for (var i = 0; i < len; i++) {\n
        this.replaceStack(function(current) {\n
          return \' && \' + this.nameLookup(current, parts[i], \'data\');\n
        });\n
      }\n
    },\n
\n
    // [resolvePossibleLambda]\n
    //\n
    // On stack, before: value, ...\n
    // On stack, after: resolved value, ...\n
    //\n
    // If the `value` is a lambda, replace it on the stack by\n
    // the return value of the lambda\n
    resolvePossibleLambda: function() {\n
      this.aliases.lambda = \'this.lambda\';\n
\n
      this.push(\'lambda(\' + this.popStack() + \', \' + this.contextName(0) + \')\');\n
    },\n
\n
    // [pushStringParam]\n
    //\n
    // On stack, before: ...\n
    // On stack, after: string, currentContext, ...\n
    //\n
    // This opcode is designed for use in string mode, which\n
    // provides the string value of a parameter along with its\n
    // depth rather than resolving it immediately.\n
    pushStringParam: function(string, type) {\n
      this.pushContext();\n
      this.pushString(type);\n
\n
      // If it\'s a subexpression, the string result\n
      // will be pushed after this opcode.\n
      if (type !== \'sexpr\') {\n
        if (typeof string === \'string\') {\n
          this.pushString(string);\n
        } else {\n
          this.pushStackLiteral(string);\n
        }\n
      }\n
    },\n
\n
    emptyHash: function() {\n
      this.pushStackLiteral(\'{}\');\n
\n
      if (this.trackIds) {\n
        this.push(\'{}\'); // hashIds\n
      }\n
      if (this.stringParams) {\n
        this.push(\'{}\'); // hashContexts\n
        this.push(\'{}\'); // hashTypes\n
      }\n
    },\n
    pushHash: function() {\n
      if (this.hash) {\n
        this.hashes.push(this.hash);\n
      }\n
      this.hash = {values: [], types: [], contexts: [], ids: []};\n
    },\n
    popHash: function() {\n
      var hash = this.hash;\n
      this.hash = this.hashes.pop();\n
\n
      if (this.trackIds) {\n
        this.push(\'{\' + hash.ids.join(\',\') + \'}\');\n
      }\n
      if (this.stringParams) {\n
        this.push(\'{\' + hash.contexts.join(\',\') + \'}\');\n
        this.push(\'{\' + hash.types.join(\',\') + \'}\');\n
      }\n
\n
      this.push(\'{\\n    \' + hash.values.join(\',\\n    \') + \'\\n  }\');\n
    },\n
\n
    // [pushString]\n
    //\n
    // On stack, before: ...\n
    // On stack, after: quotedString(string), ...\n
    //\n
    // Push a quoted version of `string` onto the stack\n
    pushString: function(string) {\n
      this.pushStackLiteral(this.quotedString(string));\n
    },\n
\n
    // [push]\n
    //\n
    // On stack, before: ...\n
    // On stack, after: expr, ...\n
    //\n
    // Push an expression onto the stack\n
    push: function(expr) {\n
      this.inlineStack.push(expr);\n
      return expr;\n
    },\n
\n
    // [pushLiteral]\n
    //\n
    // On stack, before: ...\n
    // On stack, after: value, ...\n
    //\n
    // Pushes a value onto the stack. This operation prevents\n
    // the compiler from creating a temporary variable to hold\n
    // it.\n
    pushLiteral: function(value) {\n
      this.pushStackLiteral(value);\n
    },\n
\n
    // [pushProgram]\n
    //\n
    // On stack, before: ...\n
    // On stack, after: program(guid), ...\n
    //\n
    // Push a program expression onto the stack. This takes\n
    // a compile-time guid and converts it into a runtime-accessible\n
    // expression.\n
    pushProgram: function(guid) {\n
      if (guid != null) {\n
        this.pushStackLiteral(this.programExpression(guid));\n
      } else {\n
        this.pushStackLiteral(null);\n
      }\n
    },\n
\n
    // [invokeHelper]\n
    //\n
    // On stack, before: hash, inverse, program, params..., ...\n
    // On stack, after: result of helper invocation\n
    //\n
    // Pops off the helper\'s parameters, invokes the helper,\n
    // and pushes the helper\'s return value onto the stack.\n
    //\n
    // If the helper is not found, `helperMissing` is called.\n
    invokeHelper: function(paramSize, name, isSimple) {\n
      this.aliases.helperMissing = \'helpers.helperMissing\';\n
\n
      var nonHelper = this.popStack();\n
      var helper = this.setupHelper(paramSize, name);\n
\n
      var lookup = (isSimple ? helper.name + \' || \' : \'\') + nonHelper + \' || helperMissing\';\n
      this.push(\'((\' + lookup + \').call(\' + helper.callParams + \'))\');\n
    },\n
\n
    // [invokeKnownHelper]\n
    //\n
    // On stack, before: hash, inverse, program, params..., ...\n
    // On stack, after: result of helper invocation\n
    //\n
    // This operation is used when the helper is known to exist,\n
    // so a `helperMissing` fallback is not required.\n
    invokeKnownHelper: function(paramSize, name) {\n
      var helper = this.setupHelper(paramSize, name);\n
      this.push(helper.name + ".call(" + helper.callParams + ")");\n
    },\n
\n
    // [invokeAmbiguous]\n
    //\n
    // On stack, before: hash, inverse, program, params..., ...\n
    // On stack, after: result of disambiguation\n
    //\n
    // This operation is used when an expression like `{{foo}}`\n
    // is provided, but we don\'t know at compile-time whether it\n
    // is a helper or a path.\n
    //\n
    // This operation emits more code than the other options,\n
    // and can be avoided by passing the `knownHelpers` and\n
    // `knownHelpersOnly` flags at compile-time.\n
    invokeAmbiguous: function(name, helperCall) {\n
      this.aliases.functionType = \'"function"\';\n
      this.aliases.helperMissing = \'helpers.helperMissing\';\n
      this.useRegister(\'helper\');\n
\n
      var nonHelper = this.popStack();\n
\n
      this.emptyHash();\n
      var helper = this.setupHelper(0, name, helperCall);\n
\n
      var helperName = this.lastHelper = this.nameLookup(\'helpers\', name, \'helper\');\n
\n
      this.push(\n
        \'((helper = (helper = \' + helperName + \' || \' + nonHelper + \') != null ? helper : helperMissing\'\n
          + (helper.paramsInit ? \'),(\' + helper.paramsInit : \'\') + \'),\'\n
        + \'(typeof helper === functionType ? helper.call(\' + helper.callParams + \') : helper))\');\n
    },\n
\n
    // [invokePartial]\n
    //\n
    // On stack, before: context, ...\n
    // On stack after: result of partial invocation\n
    //\n
    // This operation pops off a context, invokes a partial with that context,\n
    // and pushes the result of the invocation back.\n
    invokePartial: function(name, indent) {\n
      var params = [this.nameLookup(\'partials\', name, \'partial\'), "\'" + indent + "\'", "\'" + name + "\'", this.popStack(), this.popStack(), "helpers", "partials"];\n
\n
      if (this.options.data) {\n
        params.push("data");\n
      } else if (this.options.compat) {\n
        params.push(\'undefined\');\n
      }\n
      if (this.options.compat) {\n
        params.push(\'depths\');\n
      }\n
\n
      this.push("this.invokePartial(" + params.join(", ") + ")");\n
    },\n
\n
    // [assignToHash]\n
    //\n
    // On stack, before: value, ..., hash, ...\n
    // On stack, after: ..., hash, ...\n
    //\n
    // Pops a value off the stack and assigns it to the current hash\n
    assignToHash: function(key) {\n
      var value = this.popStack(),\n
          context,\n
          type,\n
          id;\n
\n
      if (this.trackIds) {\n
        id = this.popStack();\n
      }\n
      if (this.stringParams) {\n
        type = this.popStack();\n
        context = this.popStack();\n
      }\n
\n
      var hash = this.hash;\n
      if (context) {\n
        hash.contexts.push("\'" + key + "\': " + context);\n
      }\n
      if (type) {\n
        hash.types.push("\'" + key + "\': " + type);\n
      }\n
      if (id) {\n
        hash.ids.push("\'" + key + "\': " + id);\n
      }\n
      hash.values.push("\'" + key + "\': (" + value + ")");\n
    },\n
\n
    pushId: function(type, name) {\n
      if (type === \'ID\' || type === \'DATA\') {\n
        this.pushString(name);\n
      } else if (type === \'sexpr\') {\n
        this.pushStackLiteral(\'true\');\n
      } else {\n
        this.pushStackLiteral(\'null\');\n
      }\n
    },\n
\n
    // HELPERS\n
\n
    compiler: JavaScriptCompiler,\n
\n
    compileChildren: function(environment, options) {\n
      var children = environment.children, child, compiler;\n
\n
      for(var i=0, l=children.length; i<l; i++) {\n
        child = children[i];\n
        compiler = new this.compiler();\n
\n
        var index = this.matchExistingProgram(child);\n
\n
        if (index == null) {\n
          this.context.programs.push(\'\');     // Placeholder to prevent name conflicts for nested children\n
          index = this.context.programs.length;\n
          child.index = index;\n
          child.name = \'program\' + index;\n
          this.context.programs[index] = compiler.compile(child, options, this.context, !this.precompile);\n
          this.context.environments[index] = child;\n
\n
          this.useDepths = this.useDepths || compiler.useDepths;\n
        } else {\n
          child.index = index;\n
          child.name = \'program\' + index;\n
        }\n
      }\n
    },\n
    matchExistingProgram: function(child) {\n
      for (var i = 0, len = this.context.environments.length; i < len; i++) {\n
        var environment = this.context.environments[i];\n
        if (environment && environment.equals(child)) {\n
          return i;\n
        }\n
      }\n
    },\n
\n
    programExpression: function(guid) {\n
      var child = this.environment.children[guid],\n
          depths = child.depths.list,\n
          useDepths = this.useDepths,\n
          depth;\n
\n
      var programParams = [child.index, \'data\'];\n
\n
      if (useDepths) {\n
        programParams.push(\'depths\');\n
      }\n
\n
      return \'this.program(\' + programParams.join(\', \') + \')\';\n
    },\n
\n
    useRegister: function(name) {\n
      if(!this.registers[name]) {\n
        this.registers[name] = true;\n
        this.registers.list.push(name);\n
      }\n
    },\n
\n
    pushStackLiteral: function(item) {\n
      return this.push(new Literal(item));\n
    },\n
\n
    pushSource: function(source) {\n
      if (this.pendingContent) {\n
        this.source.push(this.appendToBuffer(this.quotedString(this.pendingContent)));\n
        this.pendingContent = undefined;\n
      }\n
\n
      if (source) {\n
        this.source.push(source);\n
      }\n
    },\n
\n
    pushStack: function(item) {\n
      this.flushInline();\n
\n
      var stack = this.incrStack();\n
      this.pushSource(stack + " = " + item + ";");\n
      this.compileStack.push(stack);\n
      return stack;\n
    },\n
\n
    replaceStack: function(callback) {\n
      var prefix = \'\',\n
          inline = this.isInline(),\n
          stack,\n
          createdStack,\n
          usedLiteral;\n
\n
      /* istanbul ignore next */\n
      if (!this.isInline()) {\n
        throw new Exception(\'replaceStack on non-inline\');\n
      }\n
\n
      // We want to merge the inline statement into the replacement statement via \',\'\n
      var top = this.popStack(true);\n
\n
      if (top instanceof Literal) {\n
        // Literals do not need to be inlined\n
        prefix = stack = top.value;\n
        usedLiteral = true;\n
      } else {\n
        // Get or create the current stack name for use by the inline\n
        createdStack = !this.stackSlot;\n
        var name = !createdStack ? this.topStackName() : this.incrStack();\n
\n
        prefix = \'(\' + this.push(name) + \' = \' + top + \')\';\n
        stack = this.topStack();\n
      }\n
\n
      var item = callback.call(this, stack);\n
\n
      if (!usedLiteral) {\n
        this.popStack();\n
      }\n
      if (createdStack) {\n
        this.stackSlot--;\n
      }\n
      this.push(\'(\' + prefix + item + \')\');\n
    },\n
\n
    incrStack: function() {\n
      this.stackSlot++;\n
      if(this.stackSlot > this.stackVars.length) { this.stackVars.push("stack" + this.stackSlot); }\n
      return this.topStackName();\n
    },\n
    topStackName: function() {\n
      return "stack" + this.stackSlot;\n
    },\n
    flushInline: function() {\n
      var inlineStack = this.inlineStack;\n
      if (inlineStack.length) {\n
        this.inlineStack = [];\n
        for (var i = 0, len = inlineStack.length; i < len; i++) {\n
          var entry = inlineStack[i];\n
          if (entry instanceof Literal) {\n
            this.compileStack.push(entry);\n
          } else {\n
            this.pushStack(entry);\n
          }\n
        }\n
      }\n
    },\n
    isInline: function() {\n
      return this.inlineStack.length;\n
    },\n
\n
    popStack: function(wrapped) {\n
      var inline = this.isInline(),\n
          item = (inline ? this.inlineStack : this.compileStack).pop();\n
\n
      if (!wrapped && (item instanceof Literal)) {\n
        return item.value;\n
      } else {\n
        if (!inline) {\n
          /* istanbul ignore next */\n
          if (!this.stackSlot) {\n
            throw new Exception(\'Invalid stack pop\');\n
          }\n
          this.stackSlot--;\n
        }\n
        return item;\n
      }\n
    },\n
\n
    topStack: function() {\n
      var stack = (this.isInline() ? this.inlineStack : this.compileStack),\n
          item = stack[stack.length - 1];\n
\n
      if (item instanceof Literal) {\n
        return item.value;\n
      } else {\n
        return item;\n
      }\n
    },\n
\n
    contextName: function(context) {\n
      if (this.useDepths && context) {\n
        return \'depths[\' + context + \']\';\n
      } else {\n
        return \'depth\' + context;\n
      }\n
    },\n
\n
    quotedString: function(str) {\n
      return \'"\' + str\n
        .replace(/\\\\/g, \'\\\\\\\\\')\n
        .replace(/"/g, \'\\\\"\')\n
        .replace(/\\n/g, \'\\\\n\')\n
        .replace(/\\r/g, \'\\\\r\')\n
        .replace(/\\u2028/g, \'\\\\u2028\')   // Per Ecma-262 7.3 + 7.8.4\n
        .replace(/\\u2029/g, \'\\\\u2029\') + \'"\';\n
    },\n
\n
    objectLiteral: function(obj) {\n
      var pairs = [];\n
\n
      for (var key in obj) {\n
        if (obj.hasOwnProperty(key)) {\n
          pairs.push(this.quotedString(key) + \':\' + obj[key]);\n
        }\n
      }\n
\n
      return \'{\' + pairs.join(\',\') + \'}\';\n
    },\n
\n
    setupHelper: function(paramSize, name, blockHelper) {\n
      var params = [],\n
          paramsInit = this.setupParams(name, paramSize, params, blockHelper);\n
      var foundHelper = this.nameLookup(\'helpers\', name, \'helper\');\n
\n
      return {\n
        params: params,\n
        paramsInit: paramsInit,\n
        name: foundHelper,\n
        callParams: [this.contextName(0)].concat(params).join(", ")\n
      };\n
    },\n
\n
    setupOptions: function(helper, paramSize, params) {\n
      var options = {}, contexts = [], types = [], ids = [], param, inverse, program;\n
\n
      options.name = this.quotedString(helper);\n
      options.hash = this.popStack();\n
\n
      if (this.trackIds) {\n
        options.hashIds = this.popStack();\n
      }\n
      if (this.stringParams) {\n
        options.hashTypes = this.popStack();\n
        options.hashContexts = this.popStack();\n
      }\n
\n
      inverse = this.popStack();\n
      program = this.popStack();\n
\n
      // Avoid setting fn and inverse if neither are set. This allows\n
      // helpers to do a check for `if (options.fn)`\n
      if (program || inverse) {\n
        if (!program) {\n
          program = \'this.noop\';\n
        }\n
\n
        if (!inverse) {\n
          inverse = \'this.noop\';\n
        }\n
\n
        options.fn = program;\n
        options.inverse = inverse;\n
      }\n
\n
      // The parameters go on to the stack in order (making sure that they are evaluated in order)\n
      // so we need to pop them off the stack in reverse order\n
      var i = paramSize;\n
      while (i--) {\n
        param = this.popStack();\n
        params[i] = param;\n
\n
        if (this.trackIds) {\n
          ids[i] = this.popStack();\n
        }\n
        if (this.stringParams) {\n
          types[i] = this.popStack();\n
          contexts[i] = this.popStack();\n
        }\n
      }\n
\n
      if (this.trackIds) {\n
        options.ids = "[" + ids.join(",") + "]";\n
      }\n
      if (this.stringParams) {\n
        options.types = "[" + types.join(",") + "]";\n
        options.contexts = "[" + contexts.join(",") + "]";\n
      }\n
\n
      if (this.options.data) {\n
        options.data = "data";\n
      }\n
\n
      return options;\n
    },\n
\n
    // the params and contexts arguments are passed in arrays\n
    // to fill in\n
    setupParams: function(helperName, paramSize, params, useRegister) {\n
      var options = this.objectLiteral(this.setupOptions(helperName, paramSize, params));\n
\n
      if (useRegister) {\n
        this.useRegister(\'options\');\n
        params.push(\'options\');\n
        return \'options=\' + options;\n
      } else {\n
        params.push(options);\n
        return \'\';\n
      }\n
    }\n
  };\n
\n
  var reservedWords = (\n
    "break else new var" +\n
    " case finally return void" +\n
    " catch for switch while" +\n
    " continue function this with" +\n
    " default if throw" +\n
    " delete in try" +\n
    " do instanceof typeof" +\n
    " abstract enum int short" +\n
    " boolean export interface static" +\n
    " byte extends long super" +\n
    " char final native synchronized" +\n
    " class float package throws" +\n
    " const goto private transient" +\n
    " debugger implements protected volatile" +\n
    " double import public let yield"\n
  ).split(" ");\n
\n
  var compilerWords = JavaScriptCompiler.RESERVED_WORDS = {};\n
\n
  for(var i=0, l=reservedWords.length; i<l; i++) {\n
    compilerWords[reservedWords[i]] = true;\n
  }\n
\n
  JavaScriptCompiler.isValidJavaScriptVariableName = function(name) {\n
    return !JavaScriptCompiler.RESERVED_WORDS[name] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(name);\n
  };\n
\n
  __exports__ = JavaScriptCompiler;\n
  return __exports__;\n
})(__module2__, __module5__);\n
\n
// handlebars.js\n
var __module0__ = (function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __dependency5__) {\n
  "use strict";\n
  var __exports__;\n
  /*globals Handlebars: true */\n
  var Handlebars = __dependency1__;\n
\n
  // Compiler imports\n
  var AST = __dependency2__;\n
  var Parser = __dependency3__.parser;\n
  var parse = __dependency3__.parse;\n
  var Compiler = __dependency4__.Compiler;\n
  var compile = __dependency4__.compile;\n
  var precompile = __dependency4__.precompile;\n
  var JavaScriptCompiler = __dependency5__;\n
\n
  var _create = Handlebars.create;\n
  var create = function() {\n
    var hb = _create();\n
\n
    hb.compile = function(input, options) {\n
      return compile(input, options, hb);\n
    };\n
    hb.precompile = function (input, options) {\n
      return precompile(input, options, hb);\n
    };\n
\n
    hb.AST = AST;\n
    hb.Compiler = Compiler;\n
    hb.JavaScriptCompiler = JavaScriptCompiler;\n
    hb.Parser = Parser;\n
    hb.parse = parse;\n
\n
    return hb;\n
  };\n
\n
  Handlebars = create();\n
  Handlebars.create = create;\n
\n
  Handlebars[\'default\'] = Handlebars;\n
\n
  __exports__ = Handlebars;\n
  return __exports__;\n
})(__module1__, __module7__, __module8__, __module11__, __module12__);\n
\n
  return __module0__;\n
}));\n


]]></string> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
