import { r as registerInstance, h, H as Host } from './index-fd4790f6.js';
import { o as openWormhole } from './consumer-b5087188.js';

const scOrderManualInstructionsCss = ":host{display:block}";

const ScOrderManualInstructions = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
  }
  render() {
    if (!this.manualPaymentInstructions || !this.manualPaymentTitle) {
      return h(Host, { style: { display: 'none' } });
    }
    return (h("sc-alert", { type: "info", open: true }, h("span", { slot: "title" }, this.manualPaymentTitle), this.manualPaymentInstructions.split('\n').map(i => {
      return h("p", null, i);
    })));
  }
};
openWormhole(ScOrderManualInstructions, ['manualPaymentTitle', 'manualPaymentInstructions'], false);
ScOrderManualInstructions.style = scOrderManualInstructionsCss;

export { ScOrderManualInstructions as sc_order_manual_instructions };
