"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var log_records_exports = {};
__export(log_records_exports, {
  logRecords: () => logRecords
});
module.exports = __toCommonJS(log_records_exports);
const logRecords = {
  ERR_TOAST_OPEN_FAILED: {
    code: "appsdk001",
    message: "Unable to open Error Toast"
  },
  WAIT_MSG_OPEN_FAILED: {
    code: "appsdk02",
    message: "Unable to open Wait message"
  },
  WAIT_MSG_CLOSE_FAILED: {
    code: "appsdk03",
    message: "Unable to close Wait message"
  },
  APP_CONFIG_LOAD_FAILED: {
    code: "appsdk04",
    message: "Unable to load application configuration"
  },
  ASSET_NOT_FOUND_IN_MANIFEST: (assetName) => ({
    code: "appsdk05",
    message: `Application load failed. unable to locate ${assetName} in the manifest`
  }),
  APP_INIT_FAILED: (appId, instanceId, errMsg) => ({
    code: "appsdk06",
    message: `Application load failed. Unable to load one or more application resources for appId: ${appId} and instanceId: ${instanceId}. ${errMsg}`
  }),
  APP_LOADING: (appId, instanceId) => ({
    code: "appsdk07",
    message: `Application ${appId} with instanceId ${instanceId} is loading...`
  }),
  APP_LOADING_COMPLETE: (appId, instanceId) => ({
    code: "appsdk08",
    message: `Application ${appId} loaded with instanceId ${instanceId}`
  }),
  APP_UNLOADING: (appId, instanceId) => ({
    code: "appsdk09",
    message: `Application ${appId} with instanceId ${instanceId} unloading...`
  }),
  APP_UNLOADING_COMPLETE: (appId, instanceId) => ({
    code: "appsdk10",
    message: `Application ${appId} with instanceId ${instanceId} unloaded`
  }),
  SSF_HOST_OBJECT_NOT_FOUND: (name) => ({
    code: "appsdk11",
    message: `Parent window doesn't expose SSF Object named ${name}`
  }),
  LOGIN_FAILED: {
    code: "appsdk12",
    message: "Unable to login the user."
  },
  LOGOUT_FAILED: {
    code: "appsdk13",
    message: "Unable to logout the user."
  },
  SERVICE_WORKER_FAILED: {
    code: "appsdk14",
    message: "Service Worker Registration Failed"
  },
  UNHANDLED_ERROR: {
    code: "appsdk15",
    message: "Unhandled error in react component"
  },
  SESSION_RENEWAL_FAILED: {
    code: "appsdk16",
    message: "Unable to extend PSS session"
  }
};
