'use strict';

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

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

const styleCss = ".sc-intergiro-card-input-h{display:block;height:83px;overflow:hidden;width:100%}[hidden].sc-intergiro-card-input-h{display:none}.sc-intergiro-card-input-h>smoothly-dialog.sc-intergiro-card-input{top:60px}.sc-intergiro-card-input-h>smoothly-dialog.sc-intergiro-card-input>*.sc-intergiro-card-input{border:none}";

const IntergiroCardInput = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.state = "created";
  }
  async submit(input, error) {
    return this.element.submit(input, error);
  }
  render() {
    return (index.h("payfunc-card-input", { apiKey: this.apiKey, state: this.state, value: this.value, cosmetic: this.cosmetic, ref: (element) => (this.element = element) }));
  }
};
IntergiroCardInput.style = styleCss;

exports.intergiro_card_input = IntergiroCardInput;
