/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */

define(['ko', 'domReady!'], function (ko) {
    'use strict';

    var tones = ko.observableArray([]),
        styles = ko.observableArray([]),
        audience = ko.observableArray([]),
        descMin = ko.observable(),
        descMax = ko.observable(),
        excMin = ko.observable(),
        excMax = ko.observable(),
        credits = ko.observableArray([]),
        formalLanguageSupport = ko.observableArray([]),
        formalLanguages = ko.observableArray([]),
        disallowedCombinations = ko.observableArray([]),
        guideSteps = ko.observable(false),
        submitAction = ko.observable('generate');

    return {
        tones: tones,
        styles: styles,
        audience: audience,
        descMin: descMin,
        descMax: descMax,
        excMin: excMin,
        excMax: excMax,
        credits: credits,
        formalLanguageSupport: formalLanguageSupport,
        formalLanguages: formalLanguages,
        disallowedCombinations: disallowedCombinations,
        guideSteps: guideSteps,
        submitAction: submitAction
    };
});
