{"version":3,"sources":["globalContext.jsx","images/App_Activation_Logo.svg","config/prodConfig.js","config/localConfig.js","config/index.js","constants/routeUrls.js","pages/Header/_styles.module.scss","App.scss","serviceWorker.js","utils/authentication.js","pages/Header/index.jsx","components/ScrollToTopRoute/index.jsx","root-routes.jsx","App.js","index.js","utils/i18n.js","utils/build-auth-token.js","constants/apis.js"],"names":["GlobalContext","createContext","GlobalProvider","children","useState","savedState","localStorage","getItem","JSON","parse","globalActivationProxyPriv","setGlobalActivationProxyPriv","useEffect","setItem","stringify","Provider","value","cleanUpGlobalActivationProxyPriv","removeItem","module","exports","ENV_APP_NAME","API_TIME_OUT","HOST","BASE_APIM_URL","BASE_HCM_URL","BASE_SECURE_URL","BASE_DEVELOPER_PORTAL_URL","UI_URL_BASE","PUBLIC_API_URL_BASE","environment","APIM_SUBSCRIPTION_KEY","AUTHENTICATION_URL","SESSION_TIMEOUT_LOCAL_MODE","CODE_VERIFIER","securitySettings","client_id","redirect_uri","response_type","scope","authority","silent_redirect_uri","automaticSilentRenew","filterProtocolClaims","loadUserInfo","includeIdTokenInSilentRenew","extraQueryParams","process","prodConfig","RouteUrls","PAGE_NOT_FOUND","FORBIDDEN","HOME","HOME_APP","AUTHORIZE","ACTIVATE","ACTIVATE_CLIENT","ACTIVATE_CONFIRM","MARKETPLACE","CLIENTACTIVATION","CLIENTREDIRECT","ACTIVATE_USERS","Boolean","window","location","hostname","match","AUTHENTICATION","API_URL","onAuthFailed","e","console","error","_return","encodeURIComponent","href","redirectOnUnauthenticated","onAuthError","Header","t","useTranslation","id","to","className","src","logo","alt","title","getTranslatedText","ScrollToTopRoute","props","pathname","useLocation","AppComponent","component","rest","scrollTo","PageNotFound","lazy","Forbidden","Home","Activate","ActivateClient","ActivateConfirm","AuthorizePage","ClientActivation","ClientRedirect","ActivateUsers","fallback","loadingMessage","path","exact","App","InitializeReactI18n","config","ACCOUNTS","settings","onUnAuthorizedCallback","onAuthErrorCallback","consoleLogsEnabled","loaderComponent","applicationUrl","refreshUrl","APIm","ReactDOM","render","basename","document","getElementById","navigator","serviceWorker","ready","then","registration","unregister","catch","message","InitializeI18n","languagePreferenceOptions","i18n","use","Backend","LanguageDetector","initReactI18next","init","debug","ns","detection","fallbackLng","backend","loadPath","interpolation","escapeValue","react","useSuspense","a","order","lookupCookie","once","i18nInit","translate","key","defaultText","UserManager","getAuthorizationHeader","API_ERROR_MESSAGE","STANDARD_HEADERS","Accept","pragma","FORM_DATA_HEADERS","FORM_URLENCODED_DATA_HEADERS","METHODS","GET","POST","PUT","DELETE","defaultHeadersForType","type","HTTP_HEADERS","_headers","Object","assign","authorization","buildAuthToken","method","mode","headers","credentials","API","STS","APP_ACTIVATION","APP_CREATOR","APIM_ROOT","api","APP_INFO","APP_TYPE_REPORTING","APP_TYPE_STANDARD"],"mappings":"8NAEaA,EAAgBC,wBAAc,MAE9BC,EAAiB,SAAC,GAAkB,IAAhBC,EAAe,EAAfA,SAAe,EACmBC,oBAAS,WAE1E,IAAMC,EAAaC,aAAaC,QAAQ,6BACxC,OAAsB,OAAfF,EAAsBG,KAAKC,MAAMJ,GAAc,QAJR,mBACxCK,EADwC,KACbC,EADa,KAO/CC,qBAAU,WAETN,aAAaO,QAAQ,4BAA6BL,KAAKM,UAAUJ,MAC/D,CAACA,IAMJ,OAAO,kBAACV,EAAce,SAAf,CAAwBC,MAAO,CAAEN,4BAA2BC,+BAA8BM,iCAJxD,WACxCX,aAAaY,WAAW,gCAG6Gf,K,oBCpBvIgB,EAAOC,QAAU,IAA0B,iD,sQCApC,IAAMC,EAAe,iBACfC,EAAe,IAEfC,EAAO,CACnBC,cAAe,iBACfC,aAAc,iBACdC,gBAAiB,oBACjBC,0BAA2B,8BAC3BC,YAAa,iBAAmBP,EAChCQ,oBAAqB,wBACrBC,YAAa,wCACbC,sBAAuB,sBACvBC,mBAAoB,iBACpBC,4BAA4B,EAC5BC,cAAe,oIAGHC,EAAmB,CAC/BC,UAAW,uBACXC,aAAa,GAAD,OAAKd,EAAKK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,c","file":"static/js/main.76d16a2a.chunk.js","sourcesContent":["import React, { createContext, useState, useEffect } from 'react';\r\n\r\nexport const GlobalContext = createContext(null);\r\n\r\nexport const GlobalProvider = ({ children }) => {\r\n\tconst [globalActivationProxyPriv, setGlobalActivationProxyPriv] = useState(() => {\r\n\t\t// Retrieve initial state from local storage if available\r\n\t\tconst savedState = localStorage.getItem('globalActivationProxyPriv');\r\n\t\treturn savedState !== null ? JSON.parse(savedState) : null;\r\n\t});\r\n\r\n\tuseEffect(() => {\r\n\t\t// Save state to local storage whenever it changes\r\n\t\tlocalStorage.setItem('globalActivationProxyPriv', JSON.stringify(globalActivationProxyPriv));\r\n\t}, [globalActivationProxyPriv]);\r\n\r\n\tconst cleanUpGlobalActivationProxyPriv = () => {\r\n\t\tlocalStorage.removeItem('globalActivationProxyPriv');\r\n\t};\r\n\r\n\treturn \r\n\t\t\t\t\t\t