'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-223abef7.js');

const SmoothlyTuple = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  render() {
    return [index.h("b", null, this.tuple[0]), ": ", this.tuple[1], index.h("br", null)];
  }
};

const Urlencoded = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  render() {
    return this.data
      .split("&")
      .map(p => p.split("="))
      .map(tuple => index.h("smoothly-tuple", { tuple: tuple }));
  }
};

exports.smoothly_tuple = SmoothlyTuple;
exports.smoothly_urlencoded = Urlencoded;
