//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
// TypeScript support for Blazor-WASM application | Author: Sergei Y.Kitaev
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Browser popup helpers (static class):
class BrowserPopup {
    static ShowAlert(message) {
        BrowserPopup.ShowMessage(null, message);
    }
    static ShowMessage(categoryTitle, message) {
        let errorText = categoryTitle ? categoryTitle + '\n\n' : '';
        errorText += message ? message :
            'Error message was not provided for this box.';
        alert(errorText);
    }
} // BrowserPopup
//==================================================================================================
// BROWSER POPUP MESSAGES (DIALOGS) — FUNCTIONS:
//--------------------------------------------------------------------------------------------------
function BrowserPopup_ShowAlert(message) {
    HArgChecking.NOT_NULL(message, 'BrowserPopup_ShowAlert', 'message');
    BrowserPopup.ShowAlert(message);
}
function BrowserPopup_ShowMessage(categoryTitle, message) {
    HArgChecking.NOT_NULL(message, 'BrowserPopup_ShowMessage', 'message');
    BrowserPopup.ShowMessage(categoryTitle, message);
}
//==================================================================================================
//# sourceMappingURL=BrowserPopup.js.map