"use strict";

var marko_template = module.exports = require("marko/src/html").t(__filename),
    marko_componentType = "/marko-test$1.0.0/compiler/fixtures-html/attr-escape/template.marko",
    components_helpers = require("marko/src/components/helpers"),
    marko_renderer = components_helpers.r,
    marko_defineComponent = components_helpers.c,
    marko_helpers = require("marko/src/runtime/html/helpers"),
    marko_classAttr = marko_helpers.ca,
    marko_attr = marko_helpers.a,
    marko_escapeXmlAttr = marko_helpers.xa;

function render(input, out, __component, component, state) {
  var data = input;

  out.w("<div" +
    marko_classAttr(input.className) +
    marko_attr("class2", "" + input.className) +
    " foo=\"a" +
    marko_escapeXmlAttr(input.foo) +
    "b\"" +
    marko_attr("bar", ("a " + input.foo) + " b") +
    marko_attr("baz", ("a " + input.foo) + " b") +
    marko_attr("nested", ("a " + (input.foo + ("nested " + input.bar))) + " b") +
    "></div>");
}

marko_template._ = marko_renderer(render, {
    ___implicit: true,
    ___type: marko_componentType
  });

marko_template.Component = marko_defineComponent({}, marko_template._);

marko_template.meta = {
    id: "/marko-test$1.0.0/compiler/fixtures-html/attr-escape/template.marko"
  };
