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ACd,oBAAC,sBAAQ,IAAC,KAAK,EAAE,UAAU;QAC1B,oBAAC,gCAAa;YACb,oBAAC,iCAAgB;gBAChB,oBAAC,gCAAc,IAAC,cAAc,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,cAAc,EAAE,cAAc,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,cAAc,GAAI,CAC1F,CACJ,CAEN,EAAE,KAAK,CAClB,CAAC;CACF;;;;;;;UCvCD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WC5BA;;;;;WCAA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,sDAAsD;WACtD,sCAAsC,iEAAiE;WACvG;WACA;WACA;WACA;WACA;WACA;;;;;WCzBA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;WACA;WACA;WACA;WACA;;;;;WCJA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEhDA;UACA;UACA;UACA;UACA","sources":["webpack://adage.epistarterkit.web/./node_modules/@material-ui/icons/CheckCircle.js","webpack://adage.epistarterkit.web/./node_modules/@material-ui/icons/Error.js","webpack://adage.epistarterkit.web/./node_modules/@material-ui/icons/Info.js","webpack://adage.epistarterkit.web/./node_modules/@material-ui/icons/Warning.js","webpack://adage.epistarterkit.web/./TCSMApp/pages/notification/notification-models.ts","webpack://adage.epistarterkit.web/./TCSMApp/pages/notification/site-wide-notification.tsx","webpack://adage.epistarterkit.web/./TCSMApp/standalone-app/site-alert/alert-container.tsx","webpack://adage.epistarterkit.web/./TCSMApp/standalone-app/site-alert/index.tsx","webpack://adage.epistarterkit.web/webpack/bootstrap","webpack://adage.epistarterkit.web/webpack/runtime/amd options","webpack://adage.epistarterkit.web/webpack/runtime/chunk loaded","webpack://adage.epistarterkit.web/webpack/runtime/compat get default export","webpack://adage.epistarterkit.web/webpack/runtime/create fake namespace object","webpack://adage.epistarterkit.web/webpack/runtime/define property getters","webpack://adage.epistarterkit.web/webpack/runtime/global","webpack://adage.epistarterkit.web/webpack/runtime/hasOwnProperty shorthand","webpack://adage.epistarterkit.web/webpack/runtime/make namespace object","webpack://adage.epistarterkit.web/webpack/runtime/node module decorator","webpack://adage.epistarterkit.web/webpack/runtime/jsonp chunk loading","webpack://adage.epistarterkit.web/webpack/before-startup","webpack://adage.epistarterkit.web/webpack/startup","webpack://adage.epistarterkit.web/webpack/after-startup"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"\n}), 'CheckCircle');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z\"\n}), 'Error');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z\"\n}), 'Info');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"\n}), 'Warning');\n\nexports.default = _default;","\r\nexport enum NotificationStatus {\r\n\tINITIAL = 'initial',\r\n\tPROCESSED = 'processed',\r\n\tDISMISSED = 'dismissed',\r\n\tCOMPLETE = 'complete',\r\n}\r\n\r\nexport enum NotificationPriority {\r\n\r\n\tHIGH = 'high',\r\n\tlow = 'low',\r\n}\r\n\r\nexport interface Notification {\r\n\r\n\tnotification_type: string,\r\n\tprocess_id: number,\r\n\tto_email: string,\r\n\tfrom_email: string,\r\n\tnotification_subject: string,\r\n\tnotification_status: NotificationStatus,\r\n\tdescription: string,\r\n\tnotification_id: number,\r\n\tpriority: NotificationPriority,\r\n\tnotification_body: string,\r\n\tupdate_timestamp: Date,\r\n\tattachment: string,\r\n\tref_status: string,\r\n\taudit_event_id: string,\r\n\trecipient_guid: string,\r\n\taudit_app: string,\r\n\tcreate_timestamp: Date,\r\n\tnotification_ref_id: string,\r\n\tcustom_fields: any;\r\n}\r\n\r\n\r\nexport interface NotificationState {\r\n\tnotifications: Notification[],\r\n\tnotificationLoaded: boolean,\r\n}\r\n\r\nexport enum NotificationActions {\r\n\tSET_NOTIFICATION = 'SET_NOTIFICATION',\r\n\tSET_NOTIFCATION_READ = 'SET_NOTIFCATION_READ',\r\n\tSET_ALL_NOTIFCATION_READ = 'SET_ALL_NOTIFCATION_READ',\r\n}\r\nexport enum NotificationTypes {\r\n\tURGENT = 'URGENT',\r\n\tWARNING = 'WARNING',\r\n\tINFORMATION = 'INFORMATION',\r\n\tPOSITIVE = 'POSITIVE',\r\n}\r\n\r\nexport enum MyCpgMidYearPersonalInfoAlertTypes {\r\n\tSPOUSE_CHILD_CHANGED = 'SPOUSE_CHILD_CHANGED',\r\n\tDOMESTIC_PARTNER_ESTABLISH = 'DOMESTIC_PARTNER_ESTALBISH',\r\n\tDOMESTIC_PARTNER_DISSOLVE = 'DOMESTIC_PARTNER_DISSOLVE',\r\n\tDOMESTIC_PARTNER_WARNING = 'DOMESTIC_PARTNER_WARNING',\r\n\tLIFE_EVENT_UPDATE = 'LIFE_EVENT_UPDATE',\r\n\tLIFE_EVENT_UPDATE_WARNING = 'LIFE_EVENT_UPDATE_WARNING',\r\n\tLIFE_EVENT_UPDATE_MARRIAGE = 'LIFE_EVENT_UPDATE_MARRIAGE',\r\n\tLIFE_EVENT_UPDATE_DIVORCE = 'LIFE_EVENT_UPDATE_DIVORCE',\r\n\tCHILD_ADD = 'CHILD_ADD',\r\n\tLIFE_EVENT_UPDATE_LEGAL_SEPARATION = 'LIFE_EVENT_UPDATE_LEGAL_SEPARATION',\r\n}\r\n\r\nexport interface SiteWideNotification {\r\n\r\n\tsiteToEnable: AlertSites,\r\n\r\n\talertType: NotificationTypes,\r\n\r\n\talertTitle: string,\r\n\r\n\talertDescription: string,\r\n\r\n\tlinkText: string,\r\n\r\n\tlinkUrl: string,\r\n\r\n\tsimpleUrl: string,\r\n\r\n\tstartDateTime?: string,\r\n\r\n\tendDateTime?: string,\r\n\r\n\talertKey?: any,\r\n}\r\n\r\nexport enum AlertSites {\r\n\tALL = 'All',\r\n\tCPGORG = 'CPG.ORG',\r\n\tTCSM = 'TCSM',\r\n}\r\n\r\nexport interface NotificationItemMap {\r\n\tnotificationRefId: string,\r\n\tsubject: string,\r\n\tbody: string,\r\n}","/* eslint-disable */\r\nimport WarningIcon from '@material-ui/icons/Warning';\r\nimport InfoIcon from '@material-ui/icons/Info';\r\nimport ErrorIcon from '@material-ui/icons/Error';\r\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useSelector } from 'react-redux';\r\nimport { TcsmStates } from '../../root/tcsm-model';\r\nimport { AlertSites, NotificationTypes, SiteWideNotification } from './notification-models';\r\nimport { WysiwygWithReactLink } from '../../global/components/wysiwyg-with-react-link';\r\nimport { UrlGallery } from '../../../Static/javascript/modules/url-gallery';\r\n\r\nconst removedAlert = 'Removed_Alert';\r\n\r\ninterface Props {\r\n\tsetSiteNotificationClosed: any;\r\n\tsite: AlertSites;\r\n\tnoReactLink?: boolean;\r\n\tuseModal?: boolean;\r\n}\r\nexport function SiteWideNotifications(props: Props) {\r\n\tconst { site, setSiteNotificationClosed, noReactLink, useModal } = props;\r\n\tconst siteWideAlerts = useSelector(state => state?.epiProps?.siteSettingsState?.siteSettings?.siteWideAlerts);\r\n\tconst [dismissed, updateDismissed] = useState(sessionStorage.getItem(removedAlert));\r\n\r\n\tconst now = new Date();\r\n\r\n function ActiveNotification(siteWideNotification: SiteWideNotification): boolean {\r\n const startDate = siteWideNotification.startDateTime ? new Date(siteWideNotification.startDateTime) : null;\r\n const endDate = siteWideNotification.endDateTime ? new Date(siteWideNotification.endDateTime) : null;\r\n\r\n\t\tif ((startDate && now < startDate) || (endDate && now > endDate)) return false;\r\n\r\n\t\treturn !dismissed?.split('|').includes(`${siteWideNotification.alertType}${siteWideNotification.alertTitle}`);\r\n\t}\r\n\r\n\tfunction currentSiteOnly(siteWideNotification: SiteWideNotification): boolean {\r\n\t\treturn siteWideNotification?.siteToEnable === AlertSites.ALL || siteWideNotification?.siteToEnable === site;\r\n\t}\r\n\r\n\tconst filteredAlerts = siteWideAlerts?.filter(ActiveNotification)?.filter(currentSiteOnly);\r\n\r\n\tconst dismissSiteWideAlert = (key: string) => {\r\n\t\tlet dismissedSaved = sessionStorage.getItem(removedAlert);\r\n\t\tdismissedSaved = `${dismissedSaved}|${key}`;\r\n\t\tsessionStorage.setItem(removedAlert, dismissedSaved);\r\n\t\tupdateDismissed(dismissedSaved);\r\n\t\tsetSiteNotificationClosed && setSiteNotificationClosed(true);\r\n\t};\r\n\r\n\tconst renderIcon = (alertType: NotificationTypes) => {\r\n\t\tswitch (alertType) {\r\n\t\t\tcase NotificationTypes.URGENT:\r\n\t\t\t\treturn { icon: , className: 'sitewide-notification-urgent' };\r\n\t\t\tcase NotificationTypes.INFORMATION:\r\n\t\t\t\treturn { icon: , className: 'sitewide-notification-info' };\r\n\t\t\tcase NotificationTypes.POSITIVE:\r\n\t\t\t\treturn { icon: , className: 'sitewide-notification-positive ' };\r\n\t\t\tcase NotificationTypes.WARNING:\r\n\t\t\t\treturn { icon: , className: 'sitewide-notification-warning' };\r\n\t\t\tdefault:\r\n\t\t\t\treturn null;\r\n\t\t}\r\n\t};\r\n\tconst siteWideNotification = (notification: SiteWideNotification) => {\r\n\t\tconst iconProps = renderIcon(notification.alertType);\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{iconProps.icon}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t\t
{notification?.alertTitle}
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{noReactLink ?\r\n\t\t\t\t\t\t\t\t\t
:\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t);\r\n\r\n\t};\r\n\treturn <>{filteredAlerts?.map((a, idx) =>
{siteWideNotification(a)}
)};\r\n\r\n}\r\n\r\nSiteWideNotifications.defaultProps = {\r\n\tnoReactLink: false,\r\n\tuseModal: false,\r\n};","\r\nimport React, { useEffect } from 'react';\r\nimport { useDispatch } from 'react-redux';\r\nimport { getTcsmEpiProps } from '../../global/ducks/epi-api';\r\nimport { AlertSites } from '../../pages/notification/notification-models';\r\nimport { SiteWideNotifications } from '../../pages/notification/site-wide-notification';\r\n\r\ninterface Props {\r\n\tsiteSettingsId: string;\r\n\tcurrentCulture: string;\r\n}\r\n\r\nexport function AlertContainer(props: Props) {\r\n\tconst { siteSettingsId, currentCulture } = props;\r\n\tconst dispatch = useDispatch();\r\n\tuseEffect(() => {\r\n\t\tdispatch(getTcsmEpiProps(dispatch, siteSettingsId, { guid: null }, currentCulture, true));\r\n\t}, []);\r\n\r\n\r\n\treturn (\r\n\t\t\r\n\r\n\t);\r\n\r\n}\r\n\r\n","import * as React from 'react';\r\nimport * as ReactDOM from 'react-dom';\r\nimport { Provider } from 'react-redux';\r\nimport { applyMiddleware, combineReducers, compose, createStore } from 'redux';\r\nimport { apiMiddleware } from '../../global/middleware/api-middleware';\r\nimport { ErrorBoundaryApp } from '../../global/components/error-boundary';\r\nimport { tcsmEpiApiReducerWithDefault } from '../../global/ducks/epi-api';\r\nimport { DefaultTcsmEpiApiState } from '../../root/tcsm-model';\r\nimport { AlertContainer } from './alert-container';\r\nimport { BrowserRouter } from 'react-router-dom';\r\n\r\n\r\nexport const stateReducer = combineReducers({\r\n\tepiProps: tcsmEpiApiReducerWithDefault(DefaultTcsmEpiApiState),\r\n});\r\n\r\n\r\nconst composeEnhancers = (window as any).__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;\r\nconst stateStore = createStore(stateReducer, composeEnhancers(\r\n\tapplyMiddleware(\r\n\t\tapiMiddleware,\r\n\t),\r\n));\r\n\r\nconst mount = document.getElementById('site-wide-alert');\r\nconst appSettings = (window as any).bootstrap;\r\n\r\nif (mount) {\r\n\r\n\tReactDOM.render(\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\r\n\t\t, mount,\r\n\t);\r\n}","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"sitealert-bundle\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkadage_epistarterkit_web\"] = self[\"webpackChunkadage_epistarterkit_web\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"common\"], () => (__webpack_require__(\"./TCSMApp/standalone-app/site-alert/index.tsx\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["_interopRequireDefault","require","_interopRequireWildcard","Object","defineProperty","exports","value","default","React","_createSvgIcon","_default","createElement","d"],"sourceRoot":""}