# frozen_string_literal: true
class Interpolation < Mayu::Component::Base
  def self.module_path
    __FILE__
  end
  Self = self
  INLINE_STYLES = []
  Styles =
    Mayu::Component::StyleSheets.new(
      self,
      [*INLINE_STYLES, import?("./interpolation.css")].compact
    )
  public def render
    H[
      :div,
      H[
        :div,
        # SourceMapMark:3:ImZvbyAje2Jhcn0gYmF6Ig==
        "foo #{bar} baz",
        **self.class.merge_props({ class: :__div })
      ],
      H[
        :div,
        # SourceMapMark:4:ImZvbyAje2Jhcn0gYmF6Ig==,
        "foo #{bar} baz",
        **self.class.merge_props({ class: :__div })
      ],
      H[
        :div,
        # SourceMapMark:5:ImZvbyAje2Jhcn0gYmF6Ig==,
        "foo #{bar} baz",
        **self.class.merge_props({ class: :__div })
      ],
      H[
        :div,
        if bar
          # SourceMapMark:8:ImxvbCAje2JvbGx9IHBvbGxlIg==
          "lol #{boll} polle"
        end,
        **self.class.merge_props({ class: :__div })
      ],
      **self.class.merge_props({ class: :__div })
    ]
  end
end
Default = Interpolation
Default::INLINE_STYLES.each do
  add_asset(Mayu::Assets::Generators::Text[_1.filename, _1.content])
end
