'use strict';

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

const index = require('./index-9c866aeb.js');
const price = require('./price-fcc0d0f6.js');
require('./default-i18n-d4248548.js');
require('./index-88baf240.js');
require('./index-04dc658f.js');

const ScFormatInterval = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    /** The number to format. */
    this.value = 0;
    this.interval = '';
    this.every = '/';
    this.fallback = '';
  }
  render() {
    return price.translateInterval(this.value, this.interval, ` ${this.every}`, this.fallback);
  }
};

exports.sc_format_interval = ScFormatInterval;
