"use strict";

var marko_template = module.exports = require("marko/vdom").t(),
    marko_helpers = require("marko/runtime/vdom/helpers"),
    marko_forEach = marko_helpers.f,
    marko_createElement = marko_helpers.e,
    marko_const = marko_helpers.const,
    marko_const_nextId = marko_const("295cea"),
    marko_node0 = marko_createElement("div", null, 1, marko_const_nextId())
      .t("No colors!"),
    marko_node1 = marko_createElement("div", null, 1, marko_const_nextId())
      .t("No colors!");

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

  out.t("Hello ");

  out.t(input.name);

  out.t("! ");

  if (input.colors.length) {
    out.be("ul");

    marko_forEach(input.colors, function(color) {
      out.e("li", null, 1)
        .t(color);
    });

    out.ee();
  } else {
    out.n(marko_node0);
  }

  if (input.colors.length) {
    out.be("ul");

    marko_forEach(input.colors, function(color) {
      out.e("li", null, 1)
        .t(color);
    });

    out.ee();
  } else {
    out.n(marko_node1);
  }
}

marko_template._ = render;
