// resources\landingpages\js\lp_external_variables.js

//#region Product identification variables
const IsAuthoring = window.location.href.indexOf("/Expere/Authoring") != -1;
const IsDGS       = window.location.href.indexOf("/DGS/index.html") != -1;
const IsEngine    = window.location.href.indexOf("/Expere/Engine") != -1;
const IsI32       = window.location.href.indexOf("/I-32/") != -1;
const IsSmartSignPlus = window.location.href.indexOf("/SmartSignPlus/") != -1;
const IsWKES      = window.location.href.indexOf("/WoltersKluwer_E-Sign/") != -1;
const IsWKHosted  = window.location.href.indexOf("WK-Hosted-Expere") != -1;
const IsWKIS      = window.location.href.indexOf("/WK-IntegratedSolutions/") != -1;
// #endregion

//#region Set variables for products
var myProduct;
var myProductAbrev;
var landingPagePath;
var DocFeedbackUrl;
var productSummary;
var gettingStarted = [];
var releaseNotes = [];
var releaseNotesArchives = [];
var userGuides = [];
var featureGuides = [];
var relatedDocuments = [];
var releaseCalendars = [];
var installUpgradeGuides = [];
var odRelatedInstallGuides = [];
var announcementContents = [];
var cardContents= [];
var landingPages= [];
// #endregion

//#region Rev levels
const AuthoringRevLevel         = "24.1.0";
const AuthoringRM4RevLevel      = "23.4.0";
const DGSChangelogRevLevel      = "24.01.0";
const EZConfigHostedRevLevel    = "2024.01.0.0000";
const EZConfigInstalledRevLevel = "2024.01.0.0000";
const WKHostedRevLevel          = "2024.02.0.0000";
// #endregion



// Assign dynamic value to myProduct based on conditions
if (IsAuthoring) {
    myProduct = "Expere Authoring Tools";
    myProductAbrev = "ExpAuth";
    landingPagePath = "/Expere/Authoring/"
    productSummary = "are a collection of applications and command line utilities supporting the authoring, " +
        "testing, assembly, and generation of Expere Content.";

    gettingStarted.push(
        // {title: "Getting Started Guide", link: "/WK-Hosted-Expere/Getting-Started/index.html"}, 
    );

    featureGuides.push(
        // { title: "Hosted Expere: Wolters Kluwer E-Sign Feature Guide", link: "/WK-Hosted-Expere/Feature-Guide/index.html" },
        // { title: "eOriginal Quick Guide", link: "/Expere/eOriginal/QuickGuide/index.html" },
    );

    releaseCalendars.push(
        // { title: "Expere Document Services / Expere EZ Config", link: "https://documentation.wolterskluwerfs.com/resources/calendars/EDSReleaseCalendar.html" },
    );
    
    releaseNotes.push(
        { title: "Authoring Tools Release Notes", link: "/Expere/Authoring/ReleaseNotes/index.html" + "?rev=" + AuthoringRevLevel },
        { title: "Authoring Tools Release Notes Archive", link: "/Expere/Authoring/ReleaseNotesArchive/index.html" },
    );
    
    userGuides.push(
        { title: "Accessibility in Tagged PDF Outputs", link: "/ADA/Implementationguide/index.html" },
        { title: "Administration Tool User Guide", link: "/Expere/Authoring/AdministrationTool/index.html" },
        { title: "Authoring Environment Installation Guide", link: "/Expere/Authoring/AuthoringEnvironmentInstallation/index.html" },
        { title: "Data Dictionary Viewer User Guide", link: "/Expere/Authoring/DV/index.html" },
        { title: "Engine Installation Guide", link: "/Expere/Authoring/EngineInstallation/index.html" },
        { title: "Repository Merge User Guide", link: "/Expere/Authoring/RepositoryMerge/index.html" + "?rev=" + AuthoringRM4RevLevel },
        { title: "Requirements Editor 3 User Guide", link: "/Expere/Authoring/RequirementsEditor/index.html?rev=22.2.0" },
        { title: "Requirements Editor 4 User Guide", link: "/Expere/Authoring/RequirementsEditor4/index.html" + "?rev=" + AuthoringRevLevel },
        { title: "Expere Transaction Data Model API Reference (PDF)", link: "/Expere/Authoring/TransactionDataModelAPIGuide/Expere Transaction Data Model API Reference (2015.1).pdf" },
    );

    installUpgradeGuides.push(
        // { title: "Document Generation Services Installation Guide", link: "/DGS/Installation-Guide/topics/dgs_Install-process-overview.html" },
        // { title: "Document Generation Services Upgrade Guide", link: "/DGS/Upgrade-Process/topics/dgs_upgrade-process-overview.html" },
        // { title: "Expere EZ Config Packages and Packets Installation Guide", link: "/ExpereEZConfig/InstallGuide/index.html?audience=installed&rev=2023.12.0.0000" },
        // { title: "Expere EZ Config Packages and Packets Upgrade Guide", link: "/ExpereEZConfig/PackagesAndPackets/UpgradeGuide/index.html?audience=installed&rev=2023.12.0.0000" },
        // { title: "Expere EZ Config Default Data Installation Guide", link: "/ExpereEZConfig/DefaultData/InstallationGuide/index.html?audience=installed&rev=2023.12.0.0000" },
        // { title: "Expere EZ Config Default Data Upgrade Guide", link: "/ExpereEZConfig/DefaultData/UpgradeGuide/index.html?audience=installed&rev=2023.12.0.0000" },
        // { title: "Expere EZ Gateway Installation Guide", link: "/ExpereEZConfig/EZGateway/InstallGuide/index.html?audience=installed&rev=2023.12.0.0000" },
    );

    relatedDocuments.push(
        // { title: "Wolters Kluwer E-Sign ADA Support", link: "/WoltersKluwer_E-Sign/ADA/Wolters%20Kluwer%20E-Sign%20VPAT%202.0%20201811.pdf" },
        // { title: "Wolters Kluwer E-Sign UETA White Paper", link: "/WoltersKluwer_E-Sign/whitepaper/E-Sign%20Act%20UETA%20white%20paper.pdf" },
    );

    odRelatedInstallGuides.push(
        // { title: "Document Generation Services OD Install Guide", link: "/DGS/OD-Installation-Guide/index.html?audience=installed&rev=2023.12.0.0000" },
        // { title: "Expere EZ Config Packages and Packets OD Install Guide", link: "/ExpereEZConfig/EZGateway/OD-Installation-Guide/index.html?audience=installed&rev=2023.12.0.0000" },
        // { title: "Expere EZ Config Packages and Packets OD Install Guide", link: "/ExpereEZConfig/DefaultData/OD-InstallGuide/index.html?audience=installed&rev=2023.12.0.0000" },
        // { title: "Expere EZ Gateway OD Install Guide", link: "/ExpereEZConfig/EZGateway/OD-Installation-Guide/index.html?audience=installed&rev=2023.12.0.0000" },
    );

    landingPages.push(
        // { title: "Expere Authoring", link: "/Expere/Authoring/index.html" },
        // { title: "Expere Engine", link: "/Expere/Engine/index.html" },
        // { title: "Wolters Kluwer E-Sign", link: "/WoltersKluwer_E-Sign/index.html" },
        // { title: "Wolters Kluwer Hosted Expere (EDS)", link: "/WK-Hosted-Expere/index.html" },
        // { title: "Wolters Kluwer Self Hosted Expere (DGS)", link: "/dgs/index.html" },
    );

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcement",
            mainContent: "<p>Scheduled for 2024 Quarter Two, Expere will use FOP 2.8 to generate both standard PDF and Tagged " +
                "PDF documents. Currently, the Expere Engine supports two FOP versions: 1.1 and 2.8</p><ul>" +
                "<li>Expere uses version 1.1 to generate standard PDF documents and is the default rendering engine.</li>" +
                "<li>Expere uses version 2.8 to generate Web Content Accessibility Guidelines (WCAG) 2.1 compatible Tagged PDF documents.</li></ul>" +
                "For more information, including instructions on using FOP 2.8, refer to the " +
                "<a href='/WK-Hosted-Expere/Change-Log/topics/eds_features.html' target='_blank'>Hosted Expere Changelog > Features page</a>'",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;We value your feedback!",
            mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
                "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
                "<span class='subtext'>(opens in a new tab/window):</span></p>",
            bulletPoints: [
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_blank'>ExpereIESupport@wolterskluwer.com</a>",
                // ""
            ]
        },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central." +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );
    
} else if (IsDGS) {
    myProduct = "Document Generation Services";
    myProductAbrev = "dgs";
    landingPagePath = "/DGS/"
    productSummary = "documentation provides information on the collection of tools and operations " +
        "that provide document library management, as well as a means to exchange data and files " +
        "between the Document Generation Services and other systems; including third-party applications. " +
        "The service retrieves document packet information, order and status information, and enables " +
        "applications to request forms and form information from the Expere Engine.";

    // Include specific entry for Document Generation Services in releaseNotes array
    releaseNotes.push(
        { title: "Document Generation Services Changelog", link: "/DGS/Change-Log/index.html" + "?rev=" + DGSChangelogRevLevel + "&prod=DocGenServices" },
        { title: "Expere EZ Config Consolidated Changelog", link: "/ExpereEZConfig/ChangeLog/index.html" + "?audience=installed" + "&rev=" + EZConfigRevLevel },
    );

    // Include specific entry for Document Generation Services in userGuides array
    userGuides.push(
        { title: "Document Generation Services Tool Suite Guide", link: "/DGS/Tool-Suite/topics/Tool-Suite-overview.html" },
        { title: "Document Generation Services Web Services Guide", link: "/DGS/Web-Services/topics/dgs_web-services-getting-started.html"},
        { title: "Document Generation Services Implementation Strategies", link: "/DGS/Implementation-Strategies/imp_Strategies-overview.html" },
        { title: "Document Generation Services Management Services Guide", link: "/DGS/Management-Services/topics/dgs_mgmt-svc-manage-libraries.html"},
        { title: "Document Generation Services Management Tool Guide", link: "/DGS/Management-Tool/topics/exp_docgen_mgmttool.html" },
        { title: "OPPSA to Default Data: Data Conversion Guide", link: "/ExpereEZConfig/DefaultData/OPPSAConversion/index.html"},
        { title: "Expere EZ Config Packages and Packets User Guide", link: "/ExpereEZConfig/PackagesAndPackets/UserGuide/index.html?audience=integrator" + "&rev=" + EZConfigHostedRevLevel },
        { title: "Expere EZ Config Packages and Packets Web Services Guide", link: "/ExpereEZConfig/WebservicesGuide/index.html?audience=installed" + "&rev=" + EZConfigHostedRevLevel },
        { title: "Expere EZ Config Default Data User Guide", link: "/ExpereEZConfig/DefaultData/UserGuide/index.html?audience=integrator" + "&rev=" + EZConfigHostedRevLevel },
        { title: "Expere EZ Config Default Data Web Services Guide", link: "/ExpereEZConfig/DefaultData/WebServicesGuide/index.html?audience=installed" + "&rev=" + EZConfigHostedRevLevel },
        { title: "Expere EZ Gateway Web Services Guide", link: "/ExpereEZConfig/EZGateway/WebServices/index.html?audience=installed" + "&rev=" + EZConfigHostedRevLevel },
        { title: "DocViewer User Guide", link: "/DocViewer/UserGuide/index.html"},
        { title: "DocViewer Integration Guide", link: "/DocViewer/IntegrationGuide/index.html" },
        { title: "eOriginal Quick Guide", link: "/Expere/eOriginal/QuickGuide/index.html"},
        { title: "OAuth Client Credential Flow Setup", link: "/OAuth/Setup/index.html?audience=installed" },
        { title: "Security Administration User Guide", link: "/securityadministrationself-hosted/index.html"},
    );

    installUpgradeGuides.push(
        { title: "Document Generation Services Installation Guide", link: "/DGS/Installation-Guide/topics/dgs_Install-process-overview.html" },
        { title: "Document Generation Services Upgrade Guide", link: "/DGS/Upgrade-Process/topics/dgs_upgrade-process-overview.html" },
        { title: "Expere EZ Config Packages and Packets Installation Guide", link: "/ExpereEZConfig/InstallGuide/index.html?audience=installed" + "&rev=" + EZConfigRevLevel },
        { title: "Expere EZ Config Packages and Packets Upgrade Guide", link: "/ExpereEZConfig/PackagesAndPackets/UpgradeGuide/index.html" + "&rev=" + EZConfigRevLevel },
        { title: "Expere EZ Config Default Data Installation Guide", link: "/ExpereEZConfig/DefaultData/InstallationGuide/index.html" + "&rev=" + EZConfigRevLevel },
        { title: "Expere EZ Config Default Data Upgrade Guide", link: "/ExpereEZConfig/DefaultData/UpgradeGuide/index.html" + "&rev=" + EZConfigRevLevel },
        { title: "Expere EZ Gateway Installation Guide", link: "/ExpereEZConfig/EZGateway/InstallGuide/index.html?audience=installed" + "&rev=" + EZConfigRevLevel },
    );

    odRelatedInstallGuides.push(
        { title: "Document Generation Services OD Install Guide", link: "/DGS/OD-Installation-Guide/index.html?audience=installed&rev=2023.12.0.0000" },
        { title: "Expere EZ Config Packages and Packets OD Install Guide", link: "/ExpereEZConfig/EZGateway/OD-Installation-Guide/index.html?audience=installed" + "&rev=" + EZConfigRevLevel },
        { title: "Expere EZ Config Packages and Packets OD Install Guide", link: "/ExpereEZConfig/DefaultData/OD-InstallGuide/index.html?audience=installed" + "&rev=" + EZConfigRevLevel },
        { title: "Expere EZ Gateway OD Install Guide", link: "/ExpereEZConfig/EZGateway/OD-Installation-Guide/index.html?audience=installed" + "&rev=" + EZConfigRevLevel },
    );

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcement",
            mainContent: "<p>Scheduled for 2024 Quarter Two, Expere will use FOP 2.8 to generate both standard PDF and Tagged " +
                "PDF documents. Currently, the Expere Engine supports two FOP versions: 1.1 and 2.8</p><ul>" +
                "<li>Expere uses version 1.1 to generate standard PDF documents and is the default rendering engine.</li>" +
                "<li>Expere uses version 2.8 to generate Web Content Accessibility Guidelines (WCAG) 2.1 compatible Tagged PDF documents.</li></ul>" +
                "For more information, including instructions on using FOP 2.8, refer to the " +
                "<a href='/DGS/Change-Log/dgs_Features.html' target='_blank'>DGS Changelog > Features page.</a>'",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "<a href='/Resources/Feedback/index.php?app=dgs' target='_blank'>Document Generation Services Documentation Feedback</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central." +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );



} else if (IsEngine) {
    myProduct = "Expere Engine";
    myProductAbrev = "ExpEngine";
    landingPagePath = "/Expere/Engine/"
    productSummary = "documentation provides information on the document generation system accessible as a " +
        "web service within a services oriented architecture (SOA). The system typically integrates with loan " +
        "origination and other front-end systems designed to initiate a call to select, assemble and " +
        "generate compliance based document packages.";
    
    releaseNotes.push(
        { title: "Expere Engine Changelog", link: "/Expere/Engine/Change-Log/index.html" },
    );
    
    userGuides.push(
        { title: "Expere Developer Guide", link: "/Expere/Engine/Developer/index.html" },
        { title: "Expere Implementation Guide", link: "/Expere/Engine/Implementation-Guide/index.html" },
        { title: "Expere System Requirements", link: "/Expere/Engine/Sys-Req/index.html" },
        { title: "Expere Testing System Guide", link: "/Expere/Engine/Testing-System/index.html" },
        { title: "Expere Data Dictionary Viewer Guide", link: "/Expere/Authoring/DDV/index.html" },
        { title: "DocViewer User Guide", link: "/DocViewer/UserGuide/Documentation/index.html" },
        { title: "DocViewer Integration Guide", link: "/DocViewer/IntegrationGuide/index.html" },
        { title: "eOriginal Quick Guide", link: "/Expere/eOriginal/QuickGuide/index.html" },
    );

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcement",
            mainContent: "<p>Scheduled for 2024 Quarter Two, Expere will use FOP 2.8 to generate both standard PDF and Tagged " +
                "PDF documents. Currently, the Expere Engine supports two FOP versions: 1.1 and 2.8</p><ul>" +
                "<li>Expere uses version 1.1 to generate standard PDF documents and is the default rendering engine.</li>" +
                "<li>Expere uses version 2.8 to generate Web Content Accessibility Guidelines (WCAG) 2.1 compatible Tagged PDF documents.</li></ul>" +
                "For more information, including instructions on using FOP 2.8, refer to the " +
                "<a href='/WK-Hosted-Expere/Change-Log/topics/eds_features.html' target='_blank'>Hosted Expere Changelog > Features page</a>'",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        {
            type: "card",
            title: "&nbsp;&nbsp;We value your feedback!",
            mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
                "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
                "<span class='subtext'>(opens in a new tab/window):</span></p>",
            bulletPoints: [
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_blank'>ExpereIESupport@wolterskluwer.com</a>",
                // ""
            ]
        },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central." +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );

} else if (IsI32) {
    myProduct = "I-32";
    myProductAbrev = "I32";
    
    landingPagePath = "/I32/"
    productSummary = "is a collection of applications and command line utilities supporting the authoring, testing, assembly, and generation of Expere Content.";

    releaseNotes.push(
        { title: "I-32 Changelog", link: "/I-32/Changelog/index.html" },
    );
    
    userGuides.push(
        { title: "I-32 Forms Design User Guide", link: "/I-32/FormsDesignUserGuide/index.html" },
        { title: "I-32 Image Update User Guide", link: "/I-32/ImageUpdate/index.html" },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_blank'>ExpereIESupport@wolterskluwer.com</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central." +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );

} else if (IsWKES) {
    myProduct = "Wolters Kluwer E-Sign";
    myProductAbrev = "wkes";
    landingPagePath = "/WKES/"
    productSummary = "provides a secure messaging and storage system that can be used to secure: " +
        "Any exchange of content between employees, customers, and partners, " +
        "Communication portals, " +
        "Bulk statement deliveries, and " +
        "Documents across enterprise applications." +
        "Wolters Kluwer E-Sign provides not only maximum security in delivery, but also perpetual control" +
        "and receipt management for any content sent over the Internet.";

    releaseNotes.push(
        { title: "Wolters Kluwer E-Sign Release Notes", link: "/WoltersKluwer_E-Sign/ReleaseNotes/index.html" },
    );
    
    userGuides.push(
        { title: "Wolters Kluwer E-Sign User Guide", link: "/WoltersKluwer_E-Sign/UserGuide/index.html" },
        { title: "Wolters Kluwer E-Sign QuickSkin Administrator Guide", link: "/WoltersKluwer_E-Sign/AdminGuide/index.html" },
        { title: "Wolters Kluwer E-Sign Legacy User Guide", link: "/WoltersKluwer_E-Sign/LegacyUserGuide/index.html" },
        { title: "Wolters Kluwer E-Sign Capture User Guide", link: "/WoltersKluwer_E-Sign/Capture/index.html" },
        { title: "Wolters Kluwer E-Sign Frequently Asked Questions", link: "/WoltersKluwer_E-Sign/FAQ/index.html" },
        { title: "Wolters Kluwer E-Sign Onsite Service User Guide", link: "/WoltersKluwer_E-Sign/Onsite/index.html" },
        { title: "Wolters Kluwer E-Sign Push Status User Guide", link: "/WoltersKluwer_E-Sign/PushStatus/index.html" },
        { title: "Wolters Kluwer E-Sign System Requirements", link: "/WoltersKluwer_E-Sign/SystemRequirements/index.html" },
        { title: "Wolters Kluwer E-Sign Webservices", link: "/WoltersKluwer_E-Sign/Webservices/index.html" },
        { title: "TILA-RESPA, Integrated Disclosures E-Delivery, and Paper Out", link: "/WoltersKluwer_E-Sign/TILARESPA/index.html" },
    );
    
    relatedDocuments.push(
        { title: "Wolters Kluwer E-Sign ADA Support", link: "/WoltersKluwer_E-Sign/ADA/Wolters%20Kluwer%20E-Sign%20VPAT%202.0%20201811.pdf" },
        { title: "Wolters Kluwer E-Sign UETA White Paper", link: "/WoltersKluwer_E-Sign/whitepaper/E-Sign%20Act%20UETA%20white%20paper.pdf" },
    );

    announcementContents.push(
        // {
        //     type: "announcement",
        //     title: "&nbsp;&nbsp;Announcement",
        //     mainContent: "<p>Scheduled for 2024 Quarter Two, Expere will use FOP 2.8 to generate both standard PDF and Tagged " +
        //         "PDF documents. Currently, the Expere Engine supports two FOP versions: 1.1 and 2.8</p><ul>" +
        //         "<li>Expere uses version 1.1 to generate standard PDF documents and is the default rendering engine.</li>" +
        //         "<li>Expere uses version 2.8 to generate Web Content Accessibility Guidelines (WCAG) 2.1 compatible Tagged PDF documents.</li></ul>" +
        //         "For more information, including instructions on using FOP 2.8, refer to the " +
        //         "<a href='/WK-Hosted-Expere/Change-Log/topics/eds_features.html' target='_blank'>Hosted Expere Changelog > Features page</a>'",
        //     bulletPoints: [
    
        //     ]
        // },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "<a href='/Resources/Feedback/index.php?app=wkes' target='_blank'>Wolters Kluwer E-Sign Documentation Feedback</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central." +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );
    


} else if (IsWKHosted) {
    myProduct = "Expere Document Services";
    myProductAbrev = "eds";
    landingPagePath = "/EDS/"
    productSummary = "provides information on interfacing with your existing loan origination system (LOS). Expere® " +
        "Document Services receives your transaction data and generates compliant documents for your transaction.";

    gettingStarted.push(
        {title: "Getting Started Guide", link: "/WK-Hosted-Expere/Getting-Started/index.html"},
    );

    releaseNotes.push(
        { title: "Wolters Kluwer Hosted Expere (EDS) Changelog", link: "/WK-Hosted-Expere/Change-Log/index.html" + "?rev=" + DGSChangelogRevLevel + "&prod=ExpereDocServices" },
        { title: "Expere EZ Config Consolidated Changelog", link: "/ExpereEZConfig/ChangeLog/index.html?audience=hosted" + "&rev=" + EZConfigInstalledRevLevel },
    );

    userGuides.push(
        { title: "Expere Document Services Tool Suite Guide", link: "/WK-Hosted-Expere/Tool-Suite/topics/tool-suite-overview.html" },
        { title: "Expere Document Services Web Services Guide", link: "/WK-Hosted-Expere/Web-Services/topics/eds_int-webservices.html" },
        { title: "Expere Document Services Implementation Strategies", link: "/WK-Hosted-Expere/Implementation-Strategies/Imp_Strategies-overview.html" },
        { title: "Expere EZ Config Packages and Packets User Guide", link: "/ExpereEZConfig/PackagesAndPackets/UserGuide/index.html" + "?audience=hosted" + "&rev=" + WKHostedRevLevel },
        { title: "Expere EZ Config Packages and Packets Web Services Guide", link: "/ExpereEZConfig/WebservicesGuide/index.html" + "?audience=hosted" + "&rev=" + WKHostedRevLevel },
        { title: "Expere EZ Config Default Data User Guide", link: "/ExpereEZConfig/DefaultData/UserGuide/index.html" + "?audience=hosted" + "&rev=" + WKHostedRevLevel },
        { title: "Expere EZ Config Default Data Web Services Guide", link: "/ExpereEZConfig/DefaultData/WebServicesGuide/index.html" + "?audience=hosted" + "&rev=" + WKHostedRevLevel },
        { title: "Expere EZ Gateway Web Services Guide", link: "/ExpereEZConfig/EZGateway/WebServices/index.html" + "?audience=hosted" + "&rev=" + WKHostedRevLevel },
        { title: "OAuth Client Credential Flow Setup", link: "/OAuth/Setup/index.html?audience=hosted" },
        { title: "OPPSA to Default Data: Data Conversion Guide", link: "/ExpereEZConfig/DefaultData/OPPSAConversion/index.html" },
        { title: "DocViewer User Guide", link: "/DocViewer/UserGuide/index.html" },
        { title: "DocViewer Web Services Guide", link: "/DocViewer/WebServicesGuide/index.html" },
        { title: "Fulfillment Manager User Guide", link: "/FulfillmentManager/index.html" },
    );

    featureGuides.push(
        { title: "Hosted Expere: Wolters Kluwer E-Sign Feature Guide", link: "/WK-Hosted-Expere/Feature-Guide/index.html" },
        { title: "eOriginal Quick Guide", link: "/Expere/eOriginal/QuickGuide/index.html" },
        // Add more as needed
    );

    releaseCalendars.push(
        { title: "Expere Document Services / Expere EZ Config", link: "https://documentation.wolterskluwerfs.com/resources/calendars/EDSReleaseCalendar.html" },
    );

    announcementContents.push(
        {
            type: "announcement",
            title: "&nbsp;&nbsp;Announcement",
            mainContent: "<p><ul><li>As part of our March 12th Customer Test and March 21st Production deployments, Expere will use FOP 2.8 " +
                "to generate both standard PDF and Tagged PDF documents. Currently, the Expere Engine supports two FOP versions: 1.1 and 2.8." +
			"<ul><li>Expere uses version 1.1 to generate standard PDF documents and is the default rendering engine.</li>" +
			"<li>Expere uses version 2.8 to generate Web Content Accessibility Guidelines (WCAG) 2.1 compatible Tagged PDF documents.</li>" +
			"</ul>For more information, including instructions on using FOP 2.8, refer to the <a href='/WK-Hosted-Expere/Change-Log/topics/eds_features.html'" +
            " target='_blank'>Hosted Expere Changelog > Features page</a>.</li></ul></p>" +
            "<p><ul><li>We are informing you of an upcoming enhancement regarding the default behavior of generating Acroform fields " +
            "(referred to as “fillable fields”) on documents. We are modifying our existing <b>eSignatureAndFieldSupport</b> ancillary output " +
            "default to require users to specify if they want documents generated with fillable fields. These changes will be implemented " +
            "as part of our standard deployments:<ul><li>Customer Test Environment: May 2024</li><li>Production Environment: June 2024</li>" +
			"</ul>For more information refer to the <a href='/WK-Hosted-Expere/Change-Log/topics/eds_features.html' target='_blank'>Hosted Expere " +
            "Changelog > Features page</a>.</li></ul></p>",
            bulletPoints: [
    
            ]
        },
    );

    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "<a href='/Resources/Feedback/index.php?app=dgs' target='_blank'>Document Generation Services Documentation Feedback</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central." +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );

} else if (IsWKIS) {
    myProduct = "Wolters Kluwer Integrated Solutions";
    myProductAbrev = "wkis";
    productSummary = "provides information on interfacing with your existing loan origination system (LOS). Our fully automated, enterprise-wide " +
        "compliance content system features both standard content and rules that are maintained and warranted by Wolters Kluwer®. " +
        "The landing pages below provide a robust, comprehensive library of online documentation to aid you in integrating and using any of our integrated solutions.";

    landingPages.push(
        { title: "Expere Authoring", link: "/Expere/Authoring/index.html", target: "_blank" },
        { title: "Expere Engine", link: "/Expere/Engine/index.html", target: "_blank" },
        { title: "Wolters Kluwer E-Sign", link: "/WoltersKluwer_E-Sign/index.html", target: "_blank" },
        { title: "Wolters Kluwer Hosted Expere (EDS)", link: "/WK-Hosted-Expere/index.html", target: "_blank" },
        { title: "Wolters Kluwer Self Hosted Expere (DGS)", link: "/dgs/index.html", target: "_blank" },
    );
        
    cardContents.push(
        // {
        //     type: "",
        //     title: "",
        //     mainContent: "",
        //     bulletPoints: [
        //         "",
        //     ]
        // },
        // {
        //     type: "card",
        //     title: "&nbsp;&nbsp;We value your feedback!",
        //     mainContent: "<p>We're working hard to keep the <span class='productname'></span> line of products the industry standard!</p>" +
        //         "<p>If you would like to contact us directly, please leave your comments using one of the following links<br/>" +
        //         "<span class='subtext'>(opens in a new tab/window):</span></p>",
        //     bulletPoints: [
        //         "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_blank'>ExpereIESupport@wolterskluwer.com</a>",
        //         // ""
        //     ]
        // },
        {
            type: "card",
            title: "&nbsp;&nbsp;Contact us!",
            mainContent: "<p>If you have any questions regarding this product, contact the Wolters Kluwer support team " +
                "by phone or e-mail. Support staff is available Monday through Friday, 7 A.M. to 7 P.M. Central." +
                "Voice mail is available after hours and on weekends.</p>" +
                "<p>You can contact us directly through either of the following:</p>",
            bulletPoints: [
                "Tel: 1-800-274-2711, ext. 1126618",
                "E-mail: <a href='mailto:ExpereIESupport@wolterskluwer.com' target='_top'>ExpereIESupport@wolterskluwer.com</a>",
            ]
        },
    );
} else {
    // Default case if none of the conditions are met
    myProduct = "Unknown Product";
    productSummary = "No specific product identified.";
}

DocFeedbackUrl = "/Resources/Feedback/index.php?app=" + myProductAbrev;

// Announcement Time variables
var today = new Date().toLocaleString("en-US", { timeZone: "America/Chicago" });
var announcementStart = new Date(2022, 03, 15).toLocaleString("en-US", { timeZone: "America/Chicago" });
var announcementEnd = new Date(2022, 05, 22).toLocaleString("en-US", { timeZone: "America/Chicago" });



// Export the variables for use in other scripts
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
    module.exports = lpExternalVariables
};