"use strict";

function _jade_template_fn(locals) {
  locals = locals || {};;;
  var result_of_with = function ($attrs) {
    var h = require('panel').h;
    return {
      value: h("div", {
        "class": {
          'mp-spinner': true,
          'mp-spinner-white': $attrs['color'] === 'white'
        }
      }, function () {
        var __jade_nodes = [];
        __jade_nodes = __jade_nodes.concat(h("svg-icon", {
          "attrs": {
            icon: 'spinner'
          }
        }));;
        return __jade_nodes;
      }.call(this).filter(Boolean))
    };
  }.call(this, "$attrs" in locals ? locals.$attrs : typeof $attrs !== "undefined" ? $attrs : undefined);
  if (result_of_with) return result_of_with.value;
}
module.exports = _jade_template_fn;