@elliemae/pui-app-sdk 5.44.0 → 5.44.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/docs/404.html +1 -1
- package/build/docs/api/classes/Analytics/index.html +1 -1
- package/build/docs/api/classes/CMicroAppGuest/index.html +1 -1
- package/build/docs/api/classes/CMicroAppHost/index.html +1 -1
- package/build/docs/api/classes/ErrorBoundary/index.html +1 -1
- package/build/docs/api/classes/GuestModule/index.html +1 -1
- package/build/docs/api/functions/AppRoot/index.html +1 -1
- package/build/docs/api/functions/Autocomplete/index.html +1 -1
- package/build/docs/api/functions/CheckBox/index.html +1 -1
- package/build/docs/api/functions/ComboBox/index.html +1 -1
- package/build/docs/api/functions/ComboBoxV3/index.html +1 -1
- package/build/docs/api/functions/ConnectForm/index.html +1 -1
- package/build/docs/api/functions/DateInput/index.html +1 -1
- package/build/docs/api/functions/DatePicker/index.html +1 -1
- package/build/docs/api/functions/DateRangePicker/index.html +1 -1
- package/build/docs/api/functions/DateTimePicker/index.html +1 -1
- package/build/docs/api/functions/Form/index.html +1 -1
- package/build/docs/api/functions/FormItemLayout/index.html +1 -1
- package/build/docs/api/functions/FormLayoutBlockItem/index.html +1 -1
- package/build/docs/api/functions/FormSubmitButton/index.html +1 -1
- package/build/docs/api/functions/InputMask/index.html +1 -1
- package/build/docs/api/functions/InputText/index.html +1 -1
- package/build/docs/api/functions/LargeTextBox/index.html +1 -1
- package/build/docs/api/functions/MaskedInputText/index.html +1 -1
- package/build/docs/api/functions/Page/index.html +1 -1
- package/build/docs/api/functions/Radio/index.html +1 -1
- package/build/docs/api/functions/RadioGroup/index.html +1 -1
- package/build/docs/api/functions/RegisterService/index.html +1 -1
- package/build/docs/api/functions/RenderWithStateAddOns/index.html +1 -1
- package/build/docs/api/functions/RequireAuth/index.html +1 -1
- package/build/docs/api/functions/SessionTimeout/index.html +1 -1
- package/build/docs/api/functions/TextBox/index.html +1 -1
- package/build/docs/api/functions/Toggle/index.html +1 -1
- package/build/docs/api/functions/authSaga/index.html +1 -1
- package/build/docs/api/functions/authorize/index.html +1 -1
- package/build/docs/api/functions/buildModuleParams/index.html +1 -1
- package/build/docs/api/functions/cleanup/index.html +1 -1
- package/build/docs/api/functions/configureStore/index.html +1 -1
- package/build/docs/api/functions/createGuestModule/index.html +1 -1
- package/build/docs/api/functions/createManager/index.html +1 -1
- package/build/docs/api/functions/enableReactAppForHostIntegration/index.html +1 -1
- package/build/docs/api/functions/fetchHostAppData/index.html +1 -1
- package/build/docs/api/functions/fetchUserSettings/index.html +1 -1
- package/build/docs/api/functions/getApiActionCreator/index.html +1 -1
- package/build/docs/api/functions/getAppConfig/index.html +1 -1
- package/build/docs/api/functions/getAppConfigValue/index.html +1 -1
- package/build/docs/api/functions/getAuthHTTPClient/index.html +1 -1
- package/build/docs/api/functions/getAuthorizationHeader/index.html +1 -1
- package/build/docs/api/functions/getHTTPClient/index.html +1 -1
- package/build/docs/api/functions/getHostAppDataByKey/index.html +1 -1
- package/build/docs/api/functions/getLogger/index.html +1 -1
- package/build/docs/api/functions/getMicroFrontEndAppConfig/index.html +1 -1
- package/build/docs/api/functions/getNavigationLinks/index.html +1 -1
- package/build/docs/api/functions/getRedirectUrl/index.html +1 -1
- package/build/docs/api/functions/getSelectField/index.html +1 -1
- package/build/docs/api/functions/getStore/index.html +1 -1
- package/build/docs/api/functions/initServiceWorker/index.html +1 -1
- package/build/docs/api/functions/isCIBuild/index.html +1 -1
- package/build/docs/api/functions/isProd/index.html +1 -1
- package/build/docs/api/functions/isUserAuthorized/index.html +1 -1
- package/build/docs/api/functions/listenStorageEvents/index.html +1 -1
- package/build/docs/api/functions/loadAppConfig/index.html +1 -1
- package/build/docs/api/functions/loadable/index.html +1 -1
- package/build/docs/api/functions/login/index.html +1 -1
- package/build/docs/api/functions/notifyGuestUnloadComplete/index.html +1 -1
- package/build/docs/api/functions/onAuthorizationFailure/index.html +1 -1
- package/build/docs/api/functions/onGuestUnloadStart/index.html +1 -1
- package/build/docs/api/functions/redactPii/index.html +1 -1
- package/build/docs/api/functions/removeDoubleSlash/index.html +1 -1
- package/build/docs/api/functions/removeStorageEvents/index.html +1 -1
- package/build/docs/api/functions/render/index.html +1 -1
- package/build/docs/api/functions/renderHook/index.html +1 -1
- package/build/docs/api/functions/renderWithHostData/index.html +1 -1
- package/build/docs/api/functions/renderWithRedux/index.html +1 -1
- package/build/docs/api/functions/renderWithRouter/index.html +1 -1
- package/build/docs/api/functions/renderWithRouterRedux/index.html +1 -1
- package/build/docs/api/functions/sdkBaseQuery/index.html +1 -1
- package/build/docs/api/functions/sendBAEvent/index.html +1 -1
- package/build/docs/api/functions/sendMessageToHost/index.html +1 -1
- package/build/docs/api/functions/setAppConfig/index.html +1 -1
- package/build/docs/api/functions/setAppConfigValue/index.html +1 -1
- package/build/docs/api/functions/setHostAppData/index.html +1 -1
- package/build/docs/api/functions/setLoginParams/index.html +1 -1
- package/build/docs/api/functions/subscribeToResetSession/index.html +1 -1
- package/build/docs/api/functions/subscribeToSessionExpiry/index.html +1 -1
- package/build/docs/api/functions/subscribeToSessionExpiryWarning/index.html +1 -1
- package/build/docs/api/functions/trackActivity/index.html +1 -1
- package/build/docs/api/functions/useAppDispatch/index.html +1 -1
- package/build/docs/api/functions/useAppMiddleware/index.html +1 -1
- package/build/docs/api/functions/useInjectQuery/index.html +1 -1
- package/build/docs/api/functions/useInjectReducer/index.html +1 -1
- package/build/docs/api/functions/useInjectSaga/index.html +1 -1
- package/build/docs/api/functions/useInjectSideEffect/index.html +1 -1
- package/build/docs/api/functions/useMediaQueryList/index.html +1 -1
- package/build/docs/api/functions/useStateSelector/index.html +1 -1
- package/build/docs/api/functions/useStateSelectorShallow/index.html +1 -1
- package/build/docs/api/functions/waitFor/index.html +1 -1
- package/build/docs/api/functions/waitForElementToBeRemoved/index.html +1 -1
- package/build/docs/api/functions/withAppDecorator/index.html +1 -1
- package/build/docs/api/index.html +1 -1
- package/build/docs/api/interfaces/AppConfig/index.html +1 -1
- package/build/docs/api/interfaces/GuestProps/index.html +1 -1
- package/build/docs/api/interfaces/UseStateSelectorOptions/index.html +1 -1
- package/build/docs/api/type-aliases/AppDispatch/index.html +1 -1
- package/build/docs/api/type-aliases/AppStore/index.html +1 -1
- package/build/docs/api/type-aliases/Await/index.html +1 -1
- package/build/docs/api/type-aliases/EMUI/index.html +1 -1
- package/build/docs/api/type-aliases/HostOptions/index.html +1 -1
- package/build/docs/api/type-aliases/HostProvidedParams/index.html +1 -1
- package/build/docs/api/type-aliases/ModuleOverrides/index.html +1 -1
- package/build/docs/api/type-aliases/OnHostInitCallback/index.html +1 -1
- package/build/docs/api/type-aliases/OnInitCallback/index.html +1 -1
- package/build/docs/api/type-aliases/OnMountCallback/index.html +1 -1
- package/build/docs/api/type-aliases/OnUnMountCallback/index.html +1 -1
- package/build/docs/api/type-aliases/RootState/index.html +1 -1
- package/build/docs/api/type-aliases/SelectStateFieldFunction/index.html +1 -1
- package/build/docs/api/variables/ErrorToast/index.html +1 -1
- package/build/docs/api/variables/FormPropsContext/index.html +1 -1
- package/build/docs/api/variables/GuestMicroApp/index.html +1 -1
- package/build/docs/api/variables/MASK_PIPES/index.html +1 -1
- package/build/docs/api/variables/MASK_TYPES/index.html +1 -1
- package/build/docs/api/variables/MicroApp/index.html +1 -1
- package/build/docs/api/variables/MicroIFrameApp/index.html +1 -1
- package/build/docs/api/variables/NavigationPrompt/index.html +1 -1
- package/build/docs/api/variables/NavigationPromptActions/index.html +1 -1
- package/build/docs/api/variables/Themes/index.html +1 -1
- package/build/docs/api/variables/VisuallyHidden/index.html +1 -1
- package/build/docs/api/variables/WaitMessage/index.html +1 -1
- package/build/docs/api/variables/act/index.html +1 -1
- package/build/docs/api/variables/ariaLive/index.html +1 -1
- package/build/docs/api/variables/auth/index.html +1 -1
- package/build/docs/api/variables/authReducer/index.html +1 -1
- package/build/docs/api/variables/clearSideEffects/index.html +1 -1
- package/build/docs/api/variables/createSideEffect/index.html +1 -1
- package/build/docs/api/variables/decorators/index.html +1 -1
- package/build/docs/api/variables/endSession/index.html +1 -1
- package/build/docs/api/variables/error/index.html +1 -1
- package/build/docs/api/variables/errorMiddleware/index.html +1 -1
- package/build/docs/api/variables/fireEvent/index.html +1 -1
- package/build/docs/api/variables/globalConstants/index.html +1 -1
- package/build/docs/api/variables/history/index.html +1 -1
- package/build/docs/api/variables/httpClientProps/index.html +1 -1
- package/build/docs/api/variables/logout/index.html +1 -1
- package/build/docs/api/variables/memoryHistory/index.html +1 -1
- package/build/docs/api/variables/removeSideEffect/index.html +1 -1
- package/build/docs/api/variables/resetUserIdleTime/index.html +1 -1
- package/build/docs/api/variables/screen/index.html +1 -1
- package/build/docs/api/variables/startSideEffect/index.html +1 -1
- package/build/docs/api/variables/updateBAEventParameters/index.html +1 -1
- package/build/docs/api/variables/useAppSelector/index.html +1 -1
- package/build/docs/api/variables/waitMessageAction/index.html +1 -1
- package/build/docs/api/variables/within/index.html +1 -1
- package/build/docs/assets/js/{main.f6a3322e.js → main.1bebbb71.js} +2 -2
- package/build/docs/index.html +1 -1
- package/build/docs/usage-guide/index.html +1 -1
- package/demo/{docs/1896.1c742108.iframe.bundle.js → 1896.619ce620.iframe.bundle.js} +1 -1
- package/demo/1896.619ce620.iframe.bundle.js.br +0 -0
- package/demo/{docs/1896.1c742108.iframe.bundle.js.gz → 1896.619ce620.iframe.bundle.js.gz} +0 -0
- package/demo/{1896.1c742108.iframe.bundle.js → docs/1896.619ce620.iframe.bundle.js} +1 -1
- package/demo/docs/1896.619ce620.iframe.bundle.js.br +0 -0
- package/demo/{1896.1c742108.iframe.bundle.js.gz → docs/1896.619ce620.iframe.bundle.js.gz} +0 -0
- package/demo/docs/iframe.html +1 -1
- package/demo/docs/index.html +1 -1
- package/demo/docs/{main.8e67bf2a43b910cc0a1f.manager.bundle.js → main.a6b1ae4b10ba95f2bb8e.manager.bundle.js} +1 -1
- package/demo/docs/{main.8e67bf2a43b910cc0a1f.manager.bundle.js.br → main.a6b1ae4b10ba95f2bb8e.manager.bundle.js.br} +0 -0
- package/demo/docs/{main.8e67bf2a43b910cc0a1f.manager.bundle.js.gz → main.a6b1ae4b10ba95f2bb8e.manager.bundle.js.gz} +0 -0
- package/demo/docs/main.b368484e.iframe.bundle.js +5 -0
- package/demo/docs/main.b368484e.iframe.bundle.js.br +0 -0
- package/demo/docs/main.b368484e.iframe.bundle.js.gz +0 -0
- package/demo/docs/project.json +1 -1
- package/demo/iframe.html +1 -1
- package/demo/index.html +1 -1
- package/demo/{main.8e67bf2a43b910cc0a1f.manager.bundle.js → main.a6b1ae4b10ba95f2bb8e.manager.bundle.js} +1 -1
- package/demo/{main.8e67bf2a43b910cc0a1f.manager.bundle.js.br → main.a6b1ae4b10ba95f2bb8e.manager.bundle.js.br} +0 -0
- package/demo/{main.8e67bf2a43b910cc0a1f.manager.bundle.js.gz → main.a6b1ae4b10ba95f2bb8e.manager.bundle.js.gz} +0 -0
- package/demo/main.b368484e.iframe.bundle.js +5 -0
- package/demo/main.b368484e.iframe.bundle.js.br +0 -0
- package/demo/main.b368484e.iframe.bundle.js.gz +0 -0
- package/demo/project.json +1 -1
- package/dist/cjs/utils/micro-frontend/guest.js +39 -36
- package/dist/cjs/view/guest-microapp.js +40 -17
- package/dist/cjs/view/iframe-teardown-sandbox.js +50 -0
- package/dist/cjs/view/micro-app/use-app-will-render.js +24 -3
- package/dist/esm/utils/micro-frontend/guest.js +39 -36
- package/dist/esm/view/guest-microapp.js +43 -17
- package/dist/esm/view/iframe-teardown-sandbox.js +30 -0
- package/dist/esm/view/micro-app/use-app-will-render.js +24 -3
- package/dist/types/lib/view/iframe-teardown-sandbox.d.ts +20 -0
- package/dist/types/lib/view/tests/iframe-teardown-sandbox.test.d.ts +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/demo/1896.1c742108.iframe.bundle.js.br +0 -0
- package/demo/docs/1896.1c742108.iframe.bundle.js.br +0 -0
- package/demo/docs/main.643b2148.iframe.bundle.js +0 -5
- package/demo/docs/main.643b2148.iframe.bundle.js.br +0 -0
- package/demo/docs/main.643b2148.iframe.bundle.js.gz +0 -0
- package/demo/main.643b2148.iframe.bundle.js +0 -5
- package/demo/main.643b2148.iframe.bundle.js.br +0 -0
- package/demo/main.643b2148.iframe.bundle.js.gz +0 -0
- /package/build/docs/assets/js/{main.f6a3322e.js.LICENSE.txt → main.1bebbb71.js.LICENSE.txt} +0 -0
|
Binary file
|
|
Binary file
|
package/demo/docs/iframe.html
CHANGED
|
@@ -374,4 +374,4 @@
|
|
|
374
374
|
|
|
375
375
|
|
|
376
376
|
|
|
377
|
-
window['STORIES'] = [{"titlePrefix":"","files":"**/*.stories.@(mdx|tsx|ts|jsx|js)","directory":"./lib","importPathMatcher":"^\\.[\\\\/](?:lib(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(mdx|tsx|ts|jsx|js))$"}];</script><script src="runtime~main.bbe740d2.iframe.bundle.js"></script><script src="1896.
|
|
377
|
+
window['STORIES'] = [{"titlePrefix":"","files":"**/*.stories.@(mdx|tsx|ts|jsx|js)","directory":"./lib","importPathMatcher":"^\\.[\\\\/](?:lib(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(mdx|tsx|ts|jsx|js))$"}];</script><script src="runtime~main.bbe740d2.iframe.bundle.js"></script><script src="1896.619ce620.iframe.bundle.js"></script><script src="main.b368484e.iframe.bundle.js"></script></body></html>
|
package/demo/docs/index.html
CHANGED
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
window['DOCS_MODE'] = true;</script><script src="runtime~main.1804eb8a3785ccaf0afe.manager.bundle.js"></script><script src="659.e09c74fd1e2a225018f2.manager.bundle.js"></script><script src="main.
|
|
59
|
+
window['DOCS_MODE'] = true;</script><script src="runtime~main.1804eb8a3785ccaf0afe.manager.bundle.js"></script><script src="659.e09c74fd1e2a225018f2.manager.bundle.js"></script><script src="main.a6b1ae4b10ba95f2bb8e.manager.bundle.js"></script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[792],{11792(i,t,o){"use strict";var p=o(59443),m=o(96778),v=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,f=(e,a,r)=>a in e?v(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,b=(e,a)=>{for(var r in a||(a={}))s.call(a,r)&&f(e,r,a[r]);if(l)for(var r of l(a))_.call(a,r)&&f(e,r,a[r]);return e},d=(e,a)=>{var r={};for(var n in e)s.call(e,n)&&a.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&l)for(var n of l(e))a.indexOf(n)<0&&_.call(e,n)&&(r[n]=e[n]);return r};const h=e=>{var a=e,{base:r="light",brandTitle:n="Platform UI Components"}=a,u=d(a,["base","brandTitle"]);return(0,m.vt)(b({base:r,brandTitle:`${n} v5.44.
|
|
1
|
+
(globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[792],{11792(i,t,o){"use strict";var p=o(59443),m=o(96778),v=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,f=(e,a,r)=>a in e?v(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,b=(e,a)=>{for(var r in a||(a={}))s.call(a,r)&&f(e,r,a[r]);if(l)for(var r of l(a))_.call(a,r)&&f(e,r,a[r]);return e},d=(e,a)=>{var r={};for(var n in e)s.call(e,n)&&a.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&l)for(var n of l(e))a.indexOf(n)<0&&_.call(e,n)&&(r[n]=e[n]);return r};const h=e=>{var a=e,{base:r="light",brandTitle:n="Platform UI Components"}=a,u=d(a,["base","brandTitle"]);return(0,m.vt)(b({base:r,brandTitle:`${n} v5.44.2`},u))};(e=>{p.MC.setConfig({panelPosition:"bottom",theme:h(e)})})({brandTitle:"Application SDK",brandUrl:"https://git.elliemae.io/platform-ui/pui-app-sdk.git"})},22179(){}},i=>{var t=p=>i(i.s=p);i.O(0,[659],()=>(t(54176),t(11792),t(68082),t(34023),t(72247),t(40652),t(41420),t(48510),t(75963),t(4547),t(15869),t(74157),t(28061),t(99789),t(40166),t(29923)));var o=i.O()}]);
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
(globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[8792],{"./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$"(j,g,e){const u={"./view/breakpoint/index.stories":["./lib/view/breakpoint/index.stories.tsx",[8535,999]],"./view/breakpoint/index.stories.tsx":["./lib/view/breakpoint/index.stories.tsx",[8535,999]],"./view/error-toast/index.stories":["./lib/view/error-toast/index.stories.tsx",[1800]],"./view/error-toast/index.stories.tsx":["./lib/view/error-toast/index.stories.tsx",[1800]],"./view/fields/autocomplete/advanced-autocomplete.stories":["./lib/view/fields/autocomplete/advanced-autocomplete.stories.tsx",[8535,5058,1156,5600,6469,3071]],"./view/fields/autocomplete/advanced-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/advanced-autocomplete.stories.tsx",[8535,5058,1156,5600,6469,3071]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[8535,5058,1156,5600,6469,9825]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[8535,5058,1156,5600,6469,9825]],"./view/fields/autocomplete/index.stories":["./lib/view/fields/autocomplete/index.stories.tsx",[8535,5058,1156,5600,6469,8048]],"./view/fields/autocomplete/index.stories.tsx":["./lib/view/fields/autocomplete/index.stories.tsx",[8535,5058,1156,5600,6469,8048]],"./view/fields/check-box/index.stories":["./lib/view/fields/check-box/index.stories.tsx",[8535,5058,8654,590,9634,1281,2382]],"./view/fields/check-box/index.stories.tsx":["./lib/view/fields/check-box/index.stories.tsx",[8535,5058,8654,590,9634,1281,2382]],"./view/fields/check-box/set-value.stories":["./lib/view/fields/check-box/set-value.stories.tsx",[8535,5058,8654,590,9634,1281,5410]],"./view/fields/check-box/set-value.stories.tsx":["./lib/view/fields/check-box/set-value.stories.tsx",[8535,5058,8654,590,9634,1281,5410]],"./view/fields/combo-box-v3/index.stories":["./lib/view/fields/combo-box-v3/index.stories.tsx",[8535,5058,8654,9863,590,1156,9634,5600,102,1281,2915,3086]],"./view/fields/combo-box-v3/index.stories.tsx":["./lib/view/fields/combo-box-v3/index.stories.tsx",[8535,5058,8654,9863,590,1156,9634,5600,102,1281,2915,3086]],"./view/fields/combo-box/index.stories":["./lib/view/fields/combo-box/index.stories.tsx",[8535,5058,8654,9863,590,5256,6868,6957,6184]],"./view/fields/combo-box/index.stories.tsx":["./lib/view/fields/combo-box/index.stories.tsx",[8535,5058,8654,9863,590,5256,6868,6957,6184]],"./view/fields/date-input/index.stories":["./lib/view/fields/date-input/index.stories.tsx",[8535,5058,8654,9863,5256,6996,8523,6055]],"./view/fields/date-input/index.stories.tsx":["./lib/view/fields/date-input/index.stories.tsx",[8535,5058,8654,9863,5256,6996,8523,6055]],"./view/fields/date-picker/index.stories":["./lib/view/fields/date-picker/index.stories.tsx",[8535,5058,8654,9863,5256,6996,9041,7813]],"./view/fields/date-picker/index.stories.tsx":["./lib/view/fields/date-picker/index.stories.tsx",[8535,5058,8654,9863,5256,6996,9041,7813]],"./view/fields/date-range-picker/index.stories":["./lib/view/fields/date-range-picker/index.stories.tsx",[8535,5058,102,3923,7584,77]],"./view/fields/date-range-picker/index.stories.tsx":["./lib/view/fields/date-range-picker/index.stories.tsx",[8535,5058,102,3923,7584,77]],"./view/fields/date-time-picker/index.stories":["./lib/view/fields/date-time-picker/index.stories.tsx",[8535,5058,102,3923,2129]],"./view/fields/date-time-picker/index.stories.tsx":["./lib/view/fields/date-time-picker/index.stories.tsx",[8535,5058,102,3923,2129]],"./view/fields/form-item-layout/index.stories":["./lib/view/fields/form-item-layout/index.stories.tsx",[8535,5058,8654,9863,590,5256,6868,6061,3813]],"./view/fields/form-item-layout/index.stories.tsx":["./lib/view/fields/form-item-layout/index.stories.tsx",[8535,5058,8654,9863,590,5256,6868,6061,3813]],"./view/fields/form-layout-block-item/index.stories":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[8535,5058,8654,9863,5256,2487]],"./view/fields/form-layout-block-item/index.stories.tsx":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[8535,5058,8654,9863,5256,2487]],"./view/fields/input-mask/index.stories":["./lib/view/fields/input-mask/index.stories.tsx",[8535,5058,8654,9863,5256,3848,6729]],"./view/fields/input-mask/index.stories.tsx":["./lib/view/fields/input-mask/index.stories.tsx",[8535,5058,8654,9863,5256,3848,6729]],"./view/fields/input-text/index.stories":["./lib/view/fields/input-text/index.stories.tsx",[8535,5058,1156,1764]],"./view/fields/input-text/index.stories.tsx":["./lib/view/fields/input-text/index.stories.tsx",[8535,5058,1156,1764]],"./view/fields/large-text-box/index.stories":["./lib/view/fields/large-text-box/index.stories.tsx",[8535,5058,1491]],"./view/fields/large-text-box/index.stories.tsx":["./lib/view/fields/large-text-box/index.stories.tsx",[8535,5058,1491]],"./view/fields/masked-input-text/with-money-mask.stories":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[8535,5058,1156,5974]],"./view/fields/masked-input-text/with-money-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[8535,5058,1156,5974]],"./view/fields/masked-input-text/with-percentage-mask.stories":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[8535,5058,1156,8980]],"./view/fields/masked-input-text/with-percentage-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[8535,5058,1156,8980]],"./view/fields/radio-group/index.stories":["./lib/view/fields/radio-group/index.stories.tsx",[8535,5058,8654,9863,590,5256,9634,6868,6061,235,2977]],"./view/fields/radio-group/index.stories.tsx":["./lib/view/fields/radio-group/index.stories.tsx",[8535,5058,8654,9863,590,5256,9634,6868,6061,235,2977]],"./view/fields/radio/index.stories":["./lib/view/fields/radio/index.stories.tsx",[8535,5058,8654,590,9634,6531]],"./view/fields/radio/index.stories.tsx":["./lib/view/fields/radio/index.stories.tsx",[8535,5058,8654,590,9634,6531]],"./view/fields/radio/set-value.stories":["./lib/view/fields/radio/set-value.stories.tsx",[8535,5058,8654,590,9634,5055]],"./view/fields/radio/set-value.stories.tsx":["./lib/view/fields/radio/set-value.stories.tsx",[8535,5058,8654,590,9634,5055]],"./view/fields/text-box/index.stories":["./lib/view/fields/text-box/index.stories.tsx",[8535,5058,8654,9863,5256,8749]],"./view/fields/text-box/index.stories.tsx":["./lib/view/fields/text-box/index.stories.tsx",[8535,5058,8654,9863,5256,8749]],"./view/fields/toggle/index.stories":["./lib/view/fields/toggle/index.stories.tsx",[8535,5058,5936]],"./view/fields/toggle/index.stories.tsx":["./lib/view/fields/toggle/index.stories.tsx",[8535,5058,5936]],"./view/form/index.stories":["./lib/view/form/index.stories.tsx",[8535,5058,8654,9863,590,1156,9634,5600,102,1281,3923,2915,6220]],"./view/form/index.stories.tsx":["./lib/view/form/index.stories.tsx",[8535,5058,8654,9863,590,1156,9634,5600,102,1281,3923,2915,6220]],"./view/form/usecases.stories":["./lib/view/form/usecases.stories.tsx",[8535,5058,8654,9863,590,1156,9634,5600,102,1281,3923,2915,4580]],"./view/form/usecases.stories.tsx":["./lib/view/form/usecases.stories.tsx",[8535,5058,8654,9863,590,1156,9634,5600,102,1281,3923,2915,4580]],"./view/intro.stories.mdx":["./lib/view/intro.stories.mdx",[721,6964,5711]],"./view/live-message/index.stories":["./lib/view/live-message/index.stories.tsx",[214]],"./view/live-message/index.stories.tsx":["./lib/view/live-message/index.stories.tsx",[214]],"./view/modals/error/index.stories":["./lib/view/modals/error/index.stories.tsx",[5541]],"./view/modals/error/index.stories.tsx":["./lib/view/modals/error/index.stories.tsx",[5541]],"./view/modals/navigation-prompt/index.stories":["./lib/view/modals/navigation-prompt/index.stories.tsx",[2758]],"./view/modals/navigation-prompt/index.stories.tsx":["./lib/view/modals/navigation-prompt/index.stories.tsx",[2758]],"./view/modals/session-expiry/index.stories":["./lib/view/modals/session-expiry/index.stories.tsx",[2327]],"./view/modals/session-expiry/index.stories.tsx":["./lib/view/modals/session-expiry/index.stories.tsx",[2327]],"./view/session-timeout/index.stories":["./lib/view/session-timeout/index.stories.tsx",[5662]],"./view/session-timeout/index.stories.tsx":["./lib/view/session-timeout/index.stories.tsx",[5662]],"./view/wait-message/index.stories":["./lib/view/wait-message/index.stories.tsx",[4531]],"./view/wait-message/index.stories.tsx":["./lib/view/wait-message/index.stories.tsx",[4531]]};function d(m){try{if(!e.o(u,m))return Promise.resolve().then(()=>{const x=new Error("Cannot find module '"+m+"'");throw x.code="MODULE_NOT_FOUND",x})}catch(x){return Promise.reject(x)}const c=u[m],y=c[0];return Promise.all(c[1].map(e.e)).then(()=>e(y))}d.keys=()=>Object.keys(u),d.id="./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$",j.exports=d},"./.storybook/preview.js"(j,g,e){"use strict";e.r(g),e.d(g,{__namedExportsOrder:()=>si,decorators:()=>qt,loaders:()=>ei,parameters:()=>ii});var u=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),d=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),m=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/query/rtk-query.cjs.production.min.js"),c=e("./node_modules/.pnpm/redux-injectors@2.1.0_react-dom@18.3.1_react-redux@8.1.3_react@18.3.1/node_modules/redux-injectors/dist/index.js"),y=e("./node_modules/.pnpm/redux-saga@1.5.0/node_modules/redux-saga/dist/redux-saga.cjs.js"),x=e.n(y),P=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.cjs.production.min.js"),_=e("./lib/data/wait-message/actions.ts"),E={isOpen:null,message:"loading...",delay:!0},i=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E,s=arguments.length>1?arguments[1]:void 0;return(0,P.default)(a,function(o){switch(s.type){case _.k.OPEN:o.isOpen=!0,o.message=s.payload.message,o.delay=s.payload.delay;break;case _.k.CLOSE:o.isOpen=!1;break}})},b=e("./lib/data/error/index.ts"),v={change:"change"},A=function(a){return a.LARGE="large",a.MEDIUM="medium",a.SMALL="small",a.XSMALL="xsmall",a}({}),S={value:A.LARGE},C=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S,s=arguments.length>1?arguments[1]:void 0,o=s.type,w=s.payload;return(0,P.default)(a,function(M){switch(o){case v.change:M.value=w;break}})},O=e("./lib/data/live-message/index.ts"),R=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=(0,d.combineReducers)(Object.assign({waitMessage:i,error:b.L,breakpoint:C,liveMessage:O.k},a));return s},k=e("./lib/data/webpack-hmr.ts"),Ee=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/toConsumableArray.js"),ue=e.n(Ee),V=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/lib/redux.js"),N=new Map,q,Y=function(a){return q=a,function(s){return function(o){return V.compose.apply(void 0,ue()(N.values()))(s)(o)}}},Ze=function(a){var s=a.reducerPath,o=a.middleware;N.has(s)||!q||N.set(s,o(q))},ce=function(a){N.delete(a)},ee=function(){N.clear()},oe,Pe,ve=(0,d.createListenerMiddleware)(),Be=ve.startListening,Qe=null,He=null,xe=ve.clearListeners,Oe=R(),_e=null,Ne=function(a){_e=a},Se=function(){return _e},me=function(a,s,o){var w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},U=s.run,G=[(0,c.OV)({createReducer:R,runSaga:U})];Oe=R(M);var pe=(0,d.configureStore)({reducer:Oe,middleware:function(ye){return ye(w).prepend(ve.middleware).concat([s,Y])},devTools:!1,preloadedState:a,enhancers:G});return(0,m.setupListeners)(pe.dispatch),(0,k.I)(pe),pe},qe=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,w=arguments.length>3?arguments[3]:void 0,M=x()({}),U=me(a,M,s,o,w);return Ne(U),U},tt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),L=e.n(tt),ie=e("./lib/utils/history.ts"),ge=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),je=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),$e=e("./node_modules/.pnpm/styled-components@5.3.11_react-dom@18.3.1_react@18.3.1/node_modules/styled-components/dist/styled-components.browser.cjs.js"),re=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),$=e.n(re),we=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),Ue=e.n(we),Ae=e("./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1/node_modules/react-router-dom/dist/umd/react-router-dom.production.min.js"),Me=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),Z=["history","basename"],Te=function(a){var s=a.history,o=a.basename,w=Ue()(a,Z),M=(0,ge.useState)({action:s.action,location:s.location}),U=$()(M,2),G=U[0],pe=U[1];return(0,ge.useLayoutEffect)(function(){o&&G.location.pathname&&!G.location.pathname.startsWith(o)&&console.warn(`[AppRouter] basename "${o}" does not match location.pathname "${G.location.pathname}". React Router will render nothing. Verify that "homeRoute" in app.config.json matches the guest's route.`)},[o,G.location.pathname]),(0,ge.useLayoutEffect)(function(){var ye=s.listen(function(){for(var fe=arguments.length,he=new Array(fe),xt=0;xt<fe;xt++)he[xt]=arguments[xt];he.length===2?pe({location:he[0],action:he[1]}):pe(he[0])});return function(){ye()}},[s]),(0,Me.jsx)(Ae.Router,Object.assign({},w,{basename:o,location:G.location,navigationType:G.action,navigator:s}))};Te.displayName="AppRouter";var We=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),be=e("./lib/utils/micro-frontend/guest.ts"),dt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),Je=e.n(dt),ut=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),Xe=e.n(ut),ct=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),K=e.n(ct),et=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),Ke=e.n(et),vt=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),Ie=e.n(vt),Ce=e("./node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js"),it=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),_t=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),mt=e("./lib/data/logout/actions.ts"),Fe=e("./lib/utils/app-config/config.ts"),ke=e("./lib/utils/app-config/index.ts"),De=e("./lib/utils/console-logger.ts"),st=e("./lib/utils/logger.ts"),ze=e("./lib/utils/constants.ts"),ae=e("./lib/utils/window.ts"),pt=e("./lib/utils/session.ts"),nt=e("./lib/utils/micro-frontend/app-bridge.ts"),ot=e("./lib/utils/micro-frontend/ssf-host.ts"),rt,le=Ke()("ssfHostRef"),F=Ke()("appBridge"),Le=Ke()("selfInitialize"),Ge=function(){function a(s){var o,w,M,U,G,pe,ye=this;Je()(this,a),this.logger=void 0,this.appId=void 0,this.props=void 0,this.activeGuests=void 0,this.onInit=void 0,this.onRenewSessionTimer=void 0,this.throttleRenewSessionTimer=void 0,this.scriptingObjects=void 0,Object.defineProperty(this,le,{writable:!0,value:void 0}),Object.defineProperty(this,F,{writable:!0,value:null}),Object.defineProperty(this,Le,{writable:!0,value:void 0}),this.appId=(0,Fe.vF)("appId"),this.onInit=s?.onInit,this.logger=s?.logger||De.k,(0,st.B)(this.logger),this.onRenewSessionTimer=s?.onRenewSessionTimer,K()(this,Le)[Le]=(o=s?.selfInitialize)!==null&&o!==void 0?o:!1,this.props={systemVersion:(w=s?.version)!==null&&w!==void 0?w:"latest",history:(M=s?.history)!==null&&M!==void 0?M:ie.N,theme:(U=s?.theme)!==null&&U!==void 0?U:(0,u.getDefaultTheme)()},this.activeGuests={},s!=null&&s.ssfHostRef&&(0,ot.Z)(s.ssfHostRef),K()(this,le)[le]=(0,ot.F)();var fe=(G=s?.analytics)!==null&&G!==void 0?G:new it.j({logger:this.logger});this.scriptingObjects=Object.assign({analytics:fe},(pe=s?.scriptingObjects)!==null&&pe!==void 0?pe:{}),this.getProps=this.getProps.bind(this),this.getLogger=this.getLogger.bind(this),this.getGuests=this.getGuests.bind(this),this.getGuest=this.getGuest.bind(this),this.getObject=this.getObject.bind(this),this.renewSessionTimer=this.renewSessionTimer.bind(this),this.setSystemVersion=this.setSystemVersion.bind(this),this.sendBAEvent=this.sendBAEvent.bind(this),this.throttleRenewSessionTimer=Ie()(async function(){await(0,pt.KB)(),ye.onRenewSessionTimer&&ye.onRenewSessionTimer()},ze.eE,{leading:!0}),K()(this,Le)[Le]||(0,ke.y)().then(function(){(0,nt.b)().then(function(he){K()(ye,F)[F]=he,ye.onInit&&ye.onInit(ye.props)}).catch(function(he){throw he})}).catch(function(){}),(0,_t.nE)({appId:this.appId})}return Xe()(a,[{key:"initialize",value:async function(){e.p=e.p.replace(/\/?$/,"/"),await(0,ke.y)();var o=await(0,nt.b)();return K()(this,F)[F]=o,this.onInit&&this.onInit(this.props),this.props}},{key:"getProps",value:function(){return this.props}},{key:"getLogger",value:function(){return this.logger}},{key:"getItem",value:function(o){return(0,ae.zk)().sessionStorage.getItem(o)}},{key:"setItem",value:function(o,w){(0,ae.zk)().sessionStorage.setItem(o,w)}},{key:"getGuests",value:function(){return this.activeGuests}},{key:"getGuest",value:function(o){return this.activeGuests[o]?this.activeGuests[o]:null}},{key:"publish",value:function(o,w){return(0,Ce.publish)(o,w)}},{key:"subscribe",value:function(o,w){return(0,Ce.subscribe)(o,w)}},{key:"unsubscribe",value:function(o){(0,Ce.unsubscribe)(o)}},{key:"navigate",value:function(o,w){o&&this.props.history.push(o,w)}},{key:"openWaitMessage",value:function(){var o=Se();o&&o.dispatch(_.X.open())}},{key:"closeWaitMessage",value:function(){var o=Se();o&&o.dispatch(_.X.close())}},{key:"openErrorBanner",value:function(o){var w=Se();w&&w.dispatch(b.o.set({description:o}))}},{key:"getAuthToken",value:function(){return(0,ae.zk)().sessionStorage.getItem("Authorization")}},{key:"renewAuthToken",value:function(){return(0,ae.zk)().sessionStorage.getItem("Authorization")}},{key:"logout",value:function(){var o=Se();o&&o.dispatch(mt.r.confirm())}},{key:"renewSessionTimer",value:async function(){this.throttleRenewSessionTimer()}},{key:"getBreakpoint",value:function(){return(0,ae.D)()}},{key:"getViewportSize",value:function(){return(0,ae.M5)()}},{key:"onResizeEvent",value:function(o){return(0,Ce.subscribe)(ze.BD,function(w,M){return o(M)})}},{key:"onBreakpointChangeEvent",value:function(o){return(0,Ce.subscribe)(ze.H1,function(w,M){return o(M)})}},{key:"setSystemVersion",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"latest";window.emui.version=o,this.props.systemVersion=o}},{key:"sendBAEvent",value:function(o){this.scriptingObjects.analytics.sendBAEvent(o).catch(function(){})}},{key:"getObject",value:async function(o){return this.scriptingObjects[o]}},{key:"addScriptingObject",value:function(o,w){K()(this,F)[F]&&K()(this,F)[F].addScriptingObject(o,w),K()(this,le)[le].addScriptingObject(o,w)}},{key:"dispatchEvent",value:async function(o){if(K()(this,F)[F]){var w=await Promise.all([K()(this,F)[F].dispatchEvent(o),K()(this,le)[le].dispatchEvent(o)]),M=$()(w,2),U=M[0],G=M[1];return Array.isArray(U)&&Array.isArray(G)?U.concat(G):Promise.resolve()}return K()(this,le)[le].dispatchEvent(o)}},{key:"removeScriptingObject",value:function(o,w){K()(this,F)[F]&&K()(this,F)[F].removeScriptingObject(o,w),K()(this,le)[le].removeScriptingObject(o,w)}}],[{key:"getInstance",value:function(o){return this.instance||(this.instance=new a(o),o!=null&&o.selfInitialize||(o?.logger||De.k).warn("CMicroAppHost.getInstance() called without selfInitialize: true \u2014 this legacy mode is deprecated. Pass { selfInitialize: true } and use initialize() instead.")),this.instance}},{key:"isInitialized",value:function(){return!!this.instance}}])}();rt=Ge,Ge.instance=void 0;var ft,ht,at,gt,bt,wt,It=function(){return Ge.isInitialized()},Ct=function(){return be.h.isInitialized()},Pt=function(){return Ct()&&window.top===window.self},Lt=function(){return It()?Ge.getInstance().getLogger():be.h.getInstance().getLogger()},Ot=function(a){return gt()?!0:a?a===wt.PRODUCTION:!0},St=function(a){var s=ht.getInstance().getProps(),o=s.systemVersion,w=o.match(/^(?:\d+\.\d+)*/g);return a.replace(/{SYSTEM_VERSION}/,w&&w[0]||"latest")},yt=function(a){var s;return a==null||(s=a.replace)===null||s===void 0?void 0:s.call(a,/\/?$/,"/")},f=function(a){var s=at(`microFrontendApps.${a.id}`);if(!s)throw new Error(`unable to locate application configuraiton for ${a.id} under microFrontendApps section of app.config.json`);var o=s.mode,w=o===void 0?wt.PRODUCTION:o,M=Ot(w)?s.production:s.development;s.production&&delete s.production,s.development&&delete s.development;var U=ft(a,{mode:"production",hostUrl:"./",manifestPath:"./{SYSTEM_VERSION}",isJsModule:!1},s,M);return U.hostUrl=bt(U.hostUrl.replace(/\/?$/,"/")),U.manifestPath=yt(St(U.manifestPath)),U},n=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),l=e.n(n),h=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js"),B=e.n(h),de=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/inherits.js"),te=e.n(de),Ye=function(a){var s=a.error,o=s===void 0?new Error("We are unable to process your request"):s,w=a.errorInfo,M=w===void 0?{componentStack:"Please close your browser and login again"}:w;return L()("div",{},void 0,L()("h2",{},void 0,o?.message),L()("section",{},void 0,M?.componentStack))};Ye.displayName="DefaultErrorTemplate";var jt=e("./lib/utils/log-records.ts");function Ut(a,s,o){return s=B()(s),l()(a,t()?Reflect.construct(s,o||[],B()(a).constructor):s.apply(a,o))}function t(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(t=function(){return!!a})()}var r=function(a){function s(o){var w;return Je()(this,s),w=Ut(this,s,[o]),w.state={error:null,errorInfo:null},w}return te()(s,a),Xe()(s,[{key:"componentDidCatch",value:function(w,M){this.setState({error:w,errorInfo:M});var U=Lt();U&&U.error(Object.assign({},jt.V.UNHANDLED_ERROR,{exception:w,message:w.message}))}},{key:"render",value:function(){var w=this.props,M=w.children,U=w.errorTemplate,G=U||Ye,pe=this.state,ye=pe.error,fe=pe.errorInfo;return fe?L()(G,{error:ye,errorInfo:fe}):M}}])}(ge.Component),p=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),I=e("./lib/data/useAppDispatch.ts"),D=function(a,s,o){var w=a.map(function(fe){return window.matchMedia(fe)}),M=(0,ge.useCallback)(function(){var fe=w.findIndex(function(he){return he.matches});return typeof s[fe]<"u"?s[fe]:o},[o,w,s]),U=(0,ge.useState)(M),G=$()(U,2),pe=G[0],ye=G[1];return(0,ge.useEffect)(function(){var fe=function(){return ye(M)};return w.forEach(function(he){return he.addEventListener("change",fe)}),function(){return w.forEach(function(he){return he.removeEventListener("change",fe)})}},[M,w]),pe},T=function(){var a=(0,ge.useContext)($e.ThemeContext),s=D([`(max-width: ${a.breakpoints.small})`,`(max-width: ${a.breakpoints.medium})`,`(max-width: ${a.breakpoints.large})`,`(max-width: ${a.breakpoints.xsmall})`],["small","medium","large","xsmall"],"large"),o=(0,I.j)();(0,ge.useEffect)(function(){o({type:v.change,payload:s}),(0,Ce.publish)(ze.H1,s)},[s,o])},W=function(){(0,ge.useEffect)(function(){if(window.ResizeObserver){var a=new ResizeObserver(function(s){(0,Ce.publish)(ze.BD,s&&s[0])});return a.observe(window.document.documentElement),function(){a.unobserve(window.document.documentElement)}}return function(){}},[])},H=e("./lib/view/session-timeout/index.tsx"),J=e("./lib/view/live-message/index.tsx"),se=e("./lib/view/error-toast/index.tsx"),z=e("./lib/view/wait-message/index.tsx");const Q=(0,$e.createGlobalStyle)([":root{font-size:81.25%;",";}html,body{height:100%;width:100%;line-height:",";}body{font-family:",";background-color:",";}#app,#app-container,#root,main{height:100%;width:100%;min-height:100%;min-width:100%;}"],function(a){var s=a.theme;return s.media.small`
|
|
2
|
+
font-size: 100%;
|
|
3
|
+
`},function(a){return a.theme.lineHeights.m},function(a){return a.theme.fonts.default},function(a){return a.theme.colors.neutral["000"]});var ne,X,Re,Ve,At,lt=$e.default.div.withConfig({componentId:"sc-1ho9g5n-0"})(["height:100%;"]),Tt=function(a){var s=a.manageSession,o=a.WaitMessage,w=a.children;return T(),W(),L()(p.Ai,{},void 0,L()(lt,{},void 0,ne||(ne=L()(Q,{})),s&&(X||(X=L()(H.S,{}))),Re||(Re=L()(J.I,{})),o||Ve||(Ve=L()(z.j,{})),At||(At=L()(se.Q,{})),w))};Tt.displayName="StandAloneApp";var Wt=e("./lib/view/wait-message/use-html-wait-message.tsx"),Dt,Rt,Mt,kt=$e.default.div.withConfig({componentId:"sc-njn2ro-0"})(["height:100%;"]),Et=function(a){var s=a.WaitMessage,o=a.children;return T(),(0,Wt.t)(!0),W(),L()(kt,{},void 0,Dt||(Dt=L()(Q,{})),s||Rt||(Rt=L()(z.j,{})),Mt||(Mt=L()(se.Q,{})),o)};Et.displayName="HostedApp";var Kt=function(a){var s=Pt()||It();return s?(0,Me.jsx)(Tt,Object.assign({},a)):(0,Me.jsx)(Et,Object.assign({},a))},Ht=function(a){var s=a.store,o=a.history,w=a.basename,M=a.theme,U=M===void 0?(0,u.getDefaultTheme)():M,G=a.manageSession,pe=G===void 0?!1:G,ye=a.WaitMessage,fe=a.errorTemplate,he=a.children,xt=a.strictMode,ni=xt===void 0?!0:xt,oi=ni?ge.StrictMode:ge.Fragment;return L()(oi,{},void 0,L()(r,{errorTemplate:fe},void 0,L()(je.Provider,{store:s},void 0,L()(Te,{history:o,basename:w},void 0,L()($e.ThemeProvider,{theme:U},void 0,L()(Kt,{manageSession:pe,WaitMessage:ye},void 0,he))))))};Ht.displayName="AppRoot";var Nt=function(a,s,o){return L()(Ht,{store:s,history:ie.N,theme:a},void 0,o())};Nt.displayName="withAppDecorator";var Ft=e("./node_modules/.pnpm/@storybook+theming@6.5.16/node_modules/@storybook/theming/dist/esm/index.js"),zt=["base","brandTitle"],Gt=function(a){var s=a.base,o=s===void 0?"light":s,w=a.brandTitle,M=w===void 0?"Platform UI Components":w,U=Ue()(a,zt);return(0,Ft.vt)(Object.assign({base:o,brandTitle:`${M} v5.44.2`},U))},Vt=e("./node_modules/.pnpm/style-loader@2.0.0_webpack@5.108.4/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),Jt=e.n(Vt),$t=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"),Bt={};Bt.insert="head",Bt.singleton=!1;var ri=Jt()($t.A,Bt);const ai=$t.A.locals||{};var Xt=(0,u.getDefaultTheme)(),Yt=qe({},ie.N),Zt=Nt.bind(null,Xt,Yt),Qt=function(a){return{layout:"fullscreen",actions:{argTypesRegex:"^on.*"},controls:{hideNoControlsWarning:!0},docs:{theme:Gt(a)},options:{storySort:{method:"alphabetical",order:["Getting Started",["Introduction","Installation","Packages","Supported Browsers","Releases","Theme"],"Components"],locales:["en-US"]}},dependencies:{withStoriesOnly:!0,hideEmpty:!0}}},qt=[Zt],ei=[async function(){await(0,ke.y)("./")}],ti={brandTitle:"Application SDK",brandUrl:"https://git.elliemae.io/platform-ui/pui-app-sdk.git"},li=null,ii=Qt(ti),si=["decorators","parameters","loaders"]},"./lib/analytics/index.ts"(j,g,e){"use strict";e.d(g,{e:()=>y});var u=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),d=e("./lib/utils/micro-frontend/guest.ts"),m=e("./lib/utils/helpers.ts"),c=function(x){var P=Object.assign({},(0,u.QS)(),(0,m.np)(),x);window.gtmDataLayer=window.gtmDataLayer||[],window.gtmDataLayer.push(P)},y=function(x){var P=x.data,_=x.self,E=_===void 0?!0:_;if(E)c(P);else{var i,b=(i=d.h.getInstance())===null||i===void 0?void 0:i.getHost(),v=b?.sendBAEvent;v?v(P):c(P)}}},"./lib/communication/http-client/props.ts"(j,g,e){"use strict";e.d(g,{K:()=>v});var u=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),d=e.n(u),m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),c=e.n(m),y=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),x=e.n(y),P=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),_=e.n(P),E=_()("resetUserIdleTime"),i=_()("endSession"),b=function(){function A(){d()(this,A),Object.defineProperty(this,E,{writable:!0,value:function(){}}),Object.defineProperty(this,i,{writable:!0,value:async function(){}})}return c()(A,[{key:"resetUserIdleTime",get:function(){return x()(this,E)[E]},set:function(S){x()(this,E)[E]=S}},{key:"endSession",get:function(){return x()(this,i)[i]},set:function(S){x()(this,i)[i]=S}}])}(),v=new b},"./lib/data/error/index.ts"(j,g,e){"use strict";e.d(g,{L:()=>x,o:()=>y});var u=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),d=e.n(u),m={description:"",messageText:""},c=(0,u.createSlice)({name:"error",initialState:m,reducers:{set:function(P,_){return _.payload},clear:function(){return m}}}),y=c.actions,x=c.reducer},"./lib/data/live-message/index.ts"(j,g,e){"use strict";e.d(g,{k:()=>x,o:()=>y});var u=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),d=e.n(u),m={message:"",ariaLive:"polite",id:""},c=(0,u.createSlice)({name:"liveMessage",initialState:m,reducers:{announce:function(P,_){var E=_.payload,i=E.message,b=E.ariaLive,v=E.id;return{message:i,ariaLive:b,id:v}}}}),y=c.actions,x=c.reducer},"./lib/data/logout/actions.ts"(j,g,e){"use strict";e.d(g,{r:()=>d});var u={CONFIRM:"log-out/CONFIRM",CANCEL:"log-out/CANCEL"},d={confirm:function(){return{type:u.CONFIRM,payload:null}},cancel:function(){return{type:u.CANCEL,payload:null}}}},"./lib/data/useAppDispatch.ts"(j,g,e){"use strict";e.d(g,{j:()=>m});var u=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),d=e.n(u),m=function(){return(0,u.useDispatch)()}},"./lib/data/useAppSelector.ts"(j,g,e){"use strict";e.d(g,{G:()=>m});var u=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),d=e.n(u),m=u.useSelector},"./lib/data/wait-message/actions.ts"(j,g,e){"use strict";e.d(g,{X:()=>d,k:()=>u});var u={OPEN:"wait-message/OPEN",CLOSE:"wait-message/CLOSE"},d={open:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"loading...",c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{type:u.OPEN,payload:{message:m,delay:c}}},close:function(){return{type:u.CLOSE,payload:null}}}},"./lib/data/webpack-hmr.ts"(j,g,e){"use strict";e.d(g,{I:()=>d});var u=e("./node_modules/.pnpm/redux-injectors@2.1.0_react-dom@18.3.1_react-redux@8.1.3_react@18.3.1/node_modules/redux-injectors/dist/index.js");j=e.hmd(j);var d=function(m){var c=null;try{var y,x;c=(y=(x=j)===null||x===void 0?void 0:x.hot)!==null&&y!==void 0?y:null}catch{c=null}c&&c.accept("./reducers",function(){(0,u.Dl)(m)})}},"./lib/utils/app-config/config.ts"(j,g,e){"use strict";e.d(g,{WE:()=>S,vF:()=>v,g3:()=>b});var u=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/has.js"),d=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/clone.js"),m=e.n(d),c=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/set.js"),y=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/get.js"),x=e.n(y);const P=JSON.parse('{"appId":"app-sdk","activeEnv":"localhost","sessionTimeoutWarnInterval":"60000","sessionTimeoutInterval":"70000","serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com","wss":"ws://localhost:5000"},"env":{"localhost":{"serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com"}},"dev":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com"}},"dev2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"qa":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com"}},"qa2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"qa3":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"int":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com"}},"peg-osb1":{"serviceEndpoints":{"api":"https://encompass-peg-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg-osb2":{"serviceEndpoints":{"api":"https://encompass-peg2-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg-oapi-west":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg2-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize"}},"peg3":{"serviceEndpoints":{"api":"https://pel1.api.ellielabs.com","idp":"https://peg3.idp.ellielabs.com/authorize"}},"stage":{"serviceEndpoints":{"api":"https://stg.api.elliemae.com","idp":"https://stg.idp.elliemae.com/authorize"}},"beta":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize"}},"demo":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize"}},"epc":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize"}},"prod":{"serviceEndpoints":{"api":"https://api.elliemae.com","idp":"https://idp.elliemae.com/authorize"}}}}');var _,E,i=P,b=function(O){i=O},v=function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return m()(x()(i,O,R))},A=function(O,R){return E(i,O,R)},S=function(){return i},C=function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return _(i,O)}},"./lib/utils/app-config/index.ts"(j,g,e){"use strict";e.d(g,{y:()=>i});var u=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),d=e.n(u),m=e("./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.includes.js"),c=e.n(m),y=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),x=e("./lib/utils/app-config/config.ts"),P=e("./lib/utils/window.ts"),_=function(b){var v,A,S=b.activeEnv,C=b.env[S]||{};b.env&&delete b.env,(0,x.g3)(d()(b,C)),sessionStorage.setItem("envName",S),window.emui=window.emui||{},window.emui.appId=(v=(A=(0,x.vF)("appId"))!==null&&A!==void 0?A:window.emui.appId)!==null&&v!==void 0?v:"",(0,y.nE)({envName:S})},E=function(b){return b.replace(/(\d+\.\d+)(?!.*\d+\.\d+)/,"latest")},i=async function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,P.OX)(),v=`${b.replace(/\/?$/,"/")}app.config.json`,A=E(b);try{var S=await fetch(v);if(!S.ok){if(b!==A){await i(A);return}var C=`App Config is not found at ${v}`;throw new Error(C)}var O=await S.json();_(O)}catch(k){var R;if(b!==A){await i(A);return}throw k!=null&&(R=k.message)!==null&&R!==void 0&&R.includes("Unexpected token")?new Error(`App config file at ${v} is not a valid JSON`):k}}},"./lib/utils/console-logger.ts"(j,g,e){"use strict";e.d(g,{k:()=>c});var u=e("@elliemae/pui-diagnostics"),d=e.n(u),m=e("./lib/utils/app-config/config.ts"),c=function(){return u.logger?(0,u.logger)({transport:(0,u.Console)(),index:"app",environment:(0,m.vF)("activeEnv"),team:"app team",appName:"ICEMT App",appVersion:"latest",instanceId:"",userId:""}):console}()},"./lib/utils/constants.ts"(j,g,e){"use strict";e.d(g,{BD:()=>c,H1:()=>y,J2:()=>d,eE:()=>x});const u={AUTHORIZATION:"Authorization",CLIENT_ID:"tirykwfo"};var d={WARN:12*60*1e3,EXPIRY:15*60*1e3},m=null,c="HOST_WINDOW_RESIZED",y="HOST_WINDOW_BREAKPOINT_CHANGED",x=6e4;e.d(g,["Ay",0,u])},"./lib/utils/helpers.ts"(j,g,e){"use strict";e.d(g,{E_:()=>_,np:()=>P});var u=e("./lib/utils/window.ts"),d=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),m=function(){return!0},c=function(){return d.env.CI==="true"},y=/^(?:[a-z]+:)?\/\//,x=function(E){return y.test(E)?E:new URL(E,document.location.origin).href},P=function(){var E,i,b,v,A,S,C,O=(0,u.zk)(),R=O.document.title,k=document,Ee=k.title,ue=(E=O==null||(i=O.emui)===null||i===void 0?void 0:i.appId)!==null&&E!==void 0?E:"",V=(b=O==null||(v=O.emui)===null||v===void 0?void 0:v.version)!==null&&b!==void 0?b:"",N=(A=(S=window)===null||S===void 0||(C=S.emui)===null||C===void 0?void 0:C.appId)!==null&&A!==void 0?A:"",q=O.location,Y=q.pathname,Ze=q.href,ce=window.location,ee=ce.pathname,oe=ce.href;return{productId:ue,productPath:Y,productUrl:Ze,productPageTitle:R,version:V,appId:N,appPath:ee,appUrl:oe,appPageTitle:Ee}},_=function(E){var i=E.promise,b=E.delay,v=E.retValue,A=v===void 0?!1:v,S=E.throwError,C=S===void 0?!1:S,O=E.errMsg;return Promise.race([i,new Promise(function(R,k){setTimeout(function(){C?k(new Error(O)):R(A)},b)})])}},"./lib/utils/history.ts"(j,g,e){"use strict";e.d(g,{N:()=>m,w:()=>c});var u=e("./node_modules/.pnpm/history@5.3.0/node_modules/history/umd/history.production.min.js"),d=e.n(u),m=(0,u.createBrowserHistory)(),c=(0,u.createMemoryHistory)()},"./lib/utils/log-records.ts"(j,g,e){"use strict";e.d(g,{V:()=>u});var u={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:function(d){return{code:"appsdk05",message:`Application load failed. unable to locate ${d} in the manifest`}},APP_INIT_FAILED:function(d,m,c){return{code:"appsdk06",message:`Application load failed. Unable to load one or more application resources for appId: ${d} and instanceId: ${m}. ${c}`}},APP_LOADING:function(d,m){return{code:"appsdk07",message:`Application ${d} with instanceId ${m} is loading...`}},APP_LOADING_COMPLETE:function(d,m){return{code:"appsdk08",message:`Application ${d} loaded with instanceId ${m}`}},APP_UNLOADING:function(d,m){return{code:"appsdk09",message:`Application ${d} with instanceId ${m} unloading...`}},APP_UNLOADING_COMPLETE:function(d,m){return{code:"appsdk10",message:`Application ${d} with instanceId ${m} unloaded`}},SSF_HOST_OBJECT_NOT_FOUND:function(d){return{code:"appsdk11",message:`Parent window doesn't expose SSF Object named ${d}`}},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"}}},"./lib/utils/logger.ts"(j,g,e){"use strict";e.d(g,{B:()=>d,t:()=>m});var u=null,d=function(c){u=c},m=function(){return u}},"./lib/utils/logrocket.ts"(j,g,e){"use strict";e.d(g,{K3:()=>E,Te:()=>x});var u,d,m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),c=e.n(m),y=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),x=function(){var i;return(i=window.emui)===null||i===void 0?void 0:i.logRocket},P=function(i){var b={};return Object.entries(i).forEach(function(v){var A=u(v,2),S=A[0],C=A[1];b[S]=C??""}),b},_=function(i,b){var v=x();v&&(v.identify(i,P(b)),d(i))},E=function(i){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,y.As)(i,b)}},"./lib/utils/micro-frontend/app-bridge.ts"(j,g,e){"use strict";e.d(g,{b:()=>y});var u=e("./node_modules/.pnpm/@elliemae+pui-app-bridge@2.29.0_@elliemae+pui-diagnostics@3.12.6_@elliemae+pui-logrocket@1.3._a3wvyjkzxvlfw6hybwiifbsika/node_modules/@elliemae/pui-app-bridge/dist/esm/appBridge.js"),d=e("./lib/utils/logger.ts"),m=e("./lib/utils/app-config/config.ts"),c=null,y=async function(){if(!c){var x,P,_,E=(0,d.t)(),i=((x=window.emui)===null||x===void 0?void 0:x.version)||"latest";c=new u.o({logger:E,version:i,appConfigBaseUrl:(P=window)===null||P===void 0||(_=P.emui)===null||_===void 0?void 0:_._ASSET_PATH}),await c.init((0,m.WE)());var b=(0,m.vF)("microFrontendApps");b&&Object.keys(b).forEach(function(v){return c.warmUp(v)})}return c}},"./lib/utils/micro-frontend/guest.ts"(j,g,e){"use strict";e.d(g,{h:()=>nt});var u=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),d=e.n(u),m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),c=e.n(m),y=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),x=e.n(y),P=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),_=e.n(P),E=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),i=e.n(E),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),v=e.n(b),A=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),S=e.n(A),C=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),O=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),R=e("./node_modules/.pnpm/@elliemae+ssf-guest@2.29.0_@elliemae+pui-logrocket@1.3.1/node_modules/@elliemae/ssf-guest/dist/esm/guest.js"),k=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),Ee=e("./lib/utils/window.ts"),ue=e("./lib/utils/app-config/index.ts"),V=e("./lib/utils/app-config/config.ts"),N=e("./lib/utils/history.ts"),q=e("./lib/utils/console-logger.ts"),Y=e("./lib/utils/logger.ts"),Ze=e("./node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js"),ce,ee="storage",oe="getSessionStorage",Pe="sessionStorage",ve=function(){return sessionStorage.length===0},Be=function(f){if(f.key===oe)localStorage.setItem(Pe,JSON.stringify(sessionStorage)),localStorage.removeItem(Pe);else if(f.key===Pe&&f.newValue){var n=JSON.parse(f.newValue);n&&Object.keys(n).forEach(function(l){sessionStorage.setItem(l,n[l])})}},Qe=null,He=function(){window.addEventListener(ee,Be),ve()&&localStorage.setItem(oe,`${Date.now()}`)},xe=function(){window.removeEventListener(ee,Be)},Oe=e("./lib/utils/micro-frontend/app-bridge.ts"),_e=e("./lib/utils/helpers.ts"),Ne=e("./lib/utils/micro-frontend/ssf-host.ts"),Se=function(){var f,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;if(n){var l=n,h=(f=l.emui)===null||f===void 0?void 0:f._ASSET_PATH;if(h){l.__webpack_public_path__=new URL("../",h).href;return}l.__webpack_public_path__=(l.__webpack_public_path__||"").replace(/\/?$/,"/")}},me=["history"],qe,tt="app-container",L=2e3,ie=1e3,ge=function(){try{return window.parent.document,!1}catch{return!0}},je=function(f){return f.SSF="ssf",f.APPSDK="app-sdk",f}(je||{}),$e="module.unmount",re=v()("uuid"),$=v()("communicationMethod"),we=v()("ssfHostRef"),Ue=v()("useV2Guest"),Ae=v()("selfInitialize"),Me=v()("embeddedWithoutHost"),Z=v()("appBridge"),Te=v()("pendingInitialRoute"),We=v()("hostTeardownPromise"),be=v()("moduleUnmountSubToken"),dt=v()("handleModuleUnmount"),Je=v()("boundOnWindowUnload"),ut=v()("addAppToGlobalVariable"),Xe=v()("removeLegacyGlobalRegistration"),ct=v()("onWindowUnload"),K=v()("getLegacyParentHost"),et=v()("tryConnectSSFGuest"),Ke=v()("resolveHistory"),vt=v()("discoverHost"),Ie=v()("exposeGetHost"),Ce=v()("initAppBridge"),it=v()("applyModuleParams"),_t=v()("applyHistoryFromParams"),mt=v()("applyInitialRoute"),Fe=v()("loadConfigAndBridge"),ke=v()("trackAnalyticsAndOnInit"),De=v()("internalTeardown"),st=v()("bindModuleUnmountListener"),ze=v()("unbindModuleUnmountListener"),ae=v()("completeWithoutHost"),pt=v()("fetchModuleScriptingObject"),nt=function(){function f(n){var l=this,h,B,de;x()(this,f),Object.defineProperty(this,pt,{value:yt}),Object.defineProperty(this,ae,{value:St}),Object.defineProperty(this,ze,{value:Ot}),Object.defineProperty(this,st,{value:Lt}),Object.defineProperty(this,De,{value:Pt}),Object.defineProperty(this,ke,{value:Ct}),Object.defineProperty(this,Fe,{value:It}),Object.defineProperty(this,mt,{value:wt}),Object.defineProperty(this,_t,{value:bt}),Object.defineProperty(this,it,{value:gt}),Object.defineProperty(this,Ce,{value:at}),Object.defineProperty(this,Ie,{value:ht}),Object.defineProperty(this,vt,{value:ft}),Object.defineProperty(this,Ke,{value:Ge}),Object.defineProperty(this,et,{value:Le}),Object.defineProperty(this,K,{value:F}),Object.defineProperty(this,ct,{value:le}),Object.defineProperty(this,Xe,{value:rt}),Object.defineProperty(this,ut,{value:ot}),Object.defineProperty(this,re,{writable:!0,value:void 0}),this.logger=void 0,this.appId=void 0,this.props=void 0,Object.defineProperty(this,$,{writable:!0,value:void 0}),Object.defineProperty(this,we,{writable:!0,value:void 0}),Object.defineProperty(this,Ue,{writable:!0,value:void 0}),Object.defineProperty(this,Ae,{writable:!0,value:void 0}),Object.defineProperty(this,Me,{writable:!0,value:void 0}),Object.defineProperty(this,Z,{writable:!0,value:null}),Object.defineProperty(this,Te,{writable:!0,value:null}),Object.defineProperty(this,We,{writable:!0,value:null}),Object.defineProperty(this,be,{writable:!0,value:null}),Object.defineProperty(this,dt,{writable:!0,value:async function(){return await i()(l,De)[De](),!0}}),Object.defineProperty(this,Je,{writable:!0,value:function(){i()(l,ct)[ct]()}}),this.onInit=void 0,this.onMount=void 0,this.onUnmount=void 0,this.onGetRef=void 0,window.emui.uuid=window.emui.uuid||(0,C.A)(),this.appId=((h=window.emui)===null||h===void 0?void 0:h.appId)||(0,V.vF)("appId"),i()(this,re)[re]=window.emui.uuid,i()(this,$)[$]=je.APPSDK,this.props={host:null,hostUrl:null,prevState:null,history:n?.history||N.N,theme:(0,O.getDefaultTheme)(),manifestPath:"./latest",containerId:tt},this.logger=n?.logger||q.k,(0,Y.B)(this.logger),n!=null&&n.ssfHostRef&&(0,Ne.Z)(n.ssfHostRef),i()(this,we)[we]=(0,Ne.F)(),i()(this,Ue)[Ue]=n?.useV2Guest!==!1,i()(this,Ae)[Ae]=(B=n?.selfInitialize)!==null&&B!==void 0?B:!1,i()(this,Me)[Me]=(de=n?.embeddedWithoutHost)!==null&&de!==void 0?de:!1,this.onInit=n?.onInit,this.onMount=n?.onMount,this.onUnmount=n?.onUnmount,this.onGetRef=n?.onGetRef,i()(this,Me)[Me]&&!i()(this,Ae)[Ae]&&this.logger.warn("embeddedWithoutHost requires selfInitialize: true \u2014 the flag only applies to initialize()"),this.getHost=this.getHost.bind(this),this.getLogger=this.getLogger.bind(this),this.getProps=this.getProps.bind(this),i()(this,Ae)[Ae]?window.addEventListener("beforeunload",i()(this,Je)[Je]):i()(this,ut)[ut]()}return _()(f,[{key:"getHost",value:function(){return this.props.host}},{key:"getLogger",value:function(){return this.logger}},{key:"getObject",value:function(l){var h=null;return i()(this,$)[$]===je.SSF?(h=this.getHost(),h.getObject(l)):(h=this.getHost(),h?h.getObject(l):Promise.resolve(null))}},{key:"subscribe",value:function(l){var h=null;return i()(this,$)[$]===je.SSF?(h=this.getHost(),h.subscribe(l)):(h=this.getHost(),h.subscribe(l))}},{key:"unsubscribe",value:function(l){var h=null;if(i()(this,$)[$]===je.SSF){h=this.getHost(),h.unsubscribe(l);return}h=this.getHost(),h.unsubscribe(l)}},{key:"getProps",value:function(){return this.props}},{key:"getSessionStorageItem",value:function(l){var h=sessionStorage.getItem(l),B=this.getHost();return!h&&B!==null&&B!==void 0&&B.getItem&&(h=B.getItem(l)),h}},{key:"findHost",value:async function(){var l=i()(this,K)[K]();return l||(i()(this,Ue)[Ue]?i()(this,et)[et]():null)}},{key:"uuid",get:function(){return i()(this,re)[re]}},{key:"initialize",value:async function(){Se();var l=window.top===window.self&&!window.opener;if(l)return await i()(this,Fe)[Fe](),i()(this,ae)[ae]("standalone");if(i()(this,Me)[Me])return await i()(this,Fe)[Fe](),i()(this,ae)[ae]("embeddedWithoutHost");var h=await Promise.all([i()(this,vt)[vt](),i()(this,Fe)[Fe]()]),B=c()(h,1),de=B[0];if(!de)return i()(this,ae)[ae]("discoveryFallback");this.props.host=de,i()(this,Ie)[Ie]();var te={moduleId:this.appId};try{var Ye=await i()(this,pt)[pt]();Ye?(te=await Ye.getParameters(),i()(this,it)[it](te)):this.logger.warn(`Host did not register a module scripting object for "${this.appId}". Proceeding without host-provided parameters (history, theme, initialRoute).`)}catch{this.logger.warn(`Failed to retrieve module parameters for "${this.appId}". Proceeding without host-provided parameters.`)}return i()(this,ke)[ke](),i()(this,st)[st](),te}},{key:"init",value:async function(l){var h=this,B=l??{},de=B.history,te=d()(B,me);if(this.props=S()(this.props,te),!this.props.host){var Ye=await this.findHost();Ye?this.props.host=Ye:this.logger.warn("unable to connect to host microapp")}return i()(this,Ie)[Ie](),Se(),(0,ue.y)().then(function(){var jt=h.getSessionStorageItem("instanceId")||"",Ut=h.getSessionStorageItem("userId")||"";(0,k.nE)({appId:h.appId,instanceId:jt,userId:Ut});var t=i()(h,Ke)[Ke](de);return!t&&l!==null&&l!==void 0&&l.initialRoute&&(i()(h,Te)[Te]=typeof l.initialRoute=="string"?l.initialRoute:l.initialRoute.pathname||null),(0,Oe.b)().then(function(r){i()(h,Z)[Z]=r,h.onInit&&h.onInit(h.props),i()(h,st)[st]()})})}},{key:"mount",value:function(){var l=this,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{containerId:tt};return this.props.containerId=h?.containerId,Promise.resolve().then(function(){i()(l,Te)[Te]&&(l.props.history.push(i()(l,Te)[Te]),i()(l,Te)[Te]=null),l.onMount&&l.onMount(h)})}},{key:"unmount",value:function(l){var h=this;return xe(),Promise.resolve().then(function(){return h.onUnmount?h.onUnmount(l):null})}},{key:"getRef",value:function(){return this.onGetRef?this.onGetRef():null}},{key:"navigate",value:function(l,h){l&&this.props.history.push(l,h)}},{key:"addScriptingObject",value:function(l,h){i()(this,Z)[Z]&&i()(this,Z)[Z].addScriptingObject(l,h),i()(this,we)[we].addScriptingObject(l,h)}},{key:"dispatchEvent",value:async function(l){if(i()(this,Z)[Z]){var h=await Promise.all([i()(this,Z)[Z].dispatchEvent(l),i()(this,we)[we].dispatchEvent(l)]),B=c()(h,2),de=B[0],te=B[1];return Array.isArray(de)&&Array.isArray(te)?de.concat(te):Promise.resolve()}return i()(this,we)[we].dispatchEvent(l)}},{key:"removeScriptingObject",value:function(l,h){i()(this,Z)[Z]&&i()(this,Z)[Z].removeScriptingObject(l,h),i()(this,we)[we].removeScriptingObject(l,h)}}],[{key:"getInstance",value:function(l){return this.instance||(this.instance=new f(l),l!=null&&l.selfInitialize||(l?.logger||q.k).warn("CMicroApp.getInstance() called without selfInitialize: true \u2014 this legacy mode is deprecated. Pass { selfInitialize: true } and use initialize() instead.")),this.instance}},{key:"isInitialized",value:function(){return!!this.instance}},{key:"isHosted",value:function(){var l,h;return!!((l=this.instance)!==null&&l!==void 0&&(h=l.props)!==null&&h!==void 0&&h.host)}}])}();qe=nt;function ot(){var f=this,n=(0,Ee.zk)();if(n){n.emui=n.emui||{};var l=this.unmount.bind(this),h={uuid:i()(this,re)[re],init:this.init.bind(this),mount:this.mount.bind(this),unmount:function(te){return te!=null&&te.containerId&&(f.props.containerId=te.containerId),f.props.host?i()(f,De)[De]().then(function(){return null}):l(te)},getRef:this.getRef.bind(this),navigate:this.navigate.bind(this)};if(n.emui[this.appId])if(Array.isArray(n.emui[this.appId])){var B=n.emui[this.appId],de=B.findIndex(function(te){return te.uuid===i()(f,re)[re]});de>-1?B[de]=h:B.push(h)}else n.emui[this.appId].uuid===i()(this,re)[re]?n.emui[this.appId]=h:typeof n.emui[this.appId].init>"u"?n.emui[this.appId]=Object.assign({},n.emui[this.appId],h):n.emui[this.appId]=[n.emui[this.appId],h];else n.emui[this.appId]=h;window.emui.app=h,window.addEventListener("beforeunload",i()(this,Je)[Je])}}function rt(){var f=this;if(!i()(this,Ae)[Ae]){var n=(0,Ee.zk)();if(n!=null&&n.emui){if(Array.isArray(n.emui[this.appId])){var l=n.emui[this.appId],h=l.findIndex(function(B){return B.uuid===i()(f,re)[re]});h>-1&&l.splice(h,1),l.length===0&&delete n.emui[this.appId]}else delete n.emui[this.appId];delete window.emui.app}}}function le(){if(this.props.host){i()(this,De)[De]().catch(function(){});return}if(!i()(this,Ae)[Ae]){i()(this,Xe)[Xe](),this.unmount({containerId:this.props.containerId}).catch(function(){});return}i()(this,De)[De]().catch(function(){})}function F(){var f,n,l;return ge()?null:(f=(n=window.parent)===null||n===void 0||(l=n.emui)===null||l===void 0?void 0:l.MicroAppHost)!==null&&f!==void 0?f:null}async function Le(){var f=new R.p({appLogger:this.logger});try{var n=await(0,_e.E_)({promise:f.connect(),delay:ie,retValue:!0});if(!n)return i()(this,$)[$]=je.SSF,f}catch{}return null}function Ge(f){if(i()(this,$)[$]===je.SSF)return this.props.history=N.N,!1;var n=(0,V.vF)("useParentHistory",!0);return n&&f?this.props.history=f:!n&&window!==window.parent&&(this.props.history=N.w),n}async function ft(){var f;if((f=window.emui)!==null&&f!==void 0&&f.__host)return window.emui.__host;var n=i()(this,K)[K]();return n||(i()(this,Ue)[Ue]?i()(this,et)[et]():null)}function ht(){var f=this;window.emui=window.emui||{},window.emui.getHost=function(){var n;return(n=f.props.host)!==null&&n!==void 0?n:null}}async function at(){i()(this,Z)[Z]=await(0,Oe.b)()}function gt(f){f.homeRoute&&(this.props.homeRoute=f.homeRoute),f.theme&&(this.props.theme=f.theme),f.hostUrl&&(this.props.hostUrl=f.hostUrl),f.manifestPath&&(this.props.manifestPath=f.manifestPath),f.containerId&&(this.props.containerId=f.containerId),i()(this,_t)[_t](f)}function bt(f){if(i()(this,$)[$]===je.SSF){this.props.history=N.N;return}var n=(0,V.vF)("useParentHistory",!0);n&&f.history?this.props.history=f.history:!n&&window!==window.parent&&(this.props.history=N.w),i()(this,mt)[mt](f,n)}function wt(f,n){if(!(!f.initialRoute||n)){var l=typeof f.initialRoute=="string"?f.initialRoute:f.initialRoute.pathname;l&&this.props.history.push(l)}}async function It(){await(0,ue.y)(),await i()(this,Ce)[Ce]()}function Ct(){var f=this.getSessionStorageItem("instanceId")||"",n=this.getSessionStorageItem("userId")||"";(0,k.nE)({appId:this.appId,instanceId:f,userId:n}),this.onInit&&this.onInit(this.props)}function Pt(){var f=this;return i()(this,We)[We]||(i()(this,We)[We]=Promise.resolve().then(function(){i()(f,Xe)[Xe]()}).then(function(){return f.unmount({containerId:f.props.containerId})}).then(function(){i()(f,ze)[ze]()}).catch(function(n){throw i()(f,We)[We]=null,n})),i()(this,We)[We]}function Lt(){if(!(i()(this,be)[be]||!this.props.host))try{i()(this,be)[be]=this.subscribe({eventId:$e,callback:i()(this,dt)[dt]})}catch{this.logger.warn("Unable to subscribe to module.unmount from host \u2014 continuing without host teardown listener")}}function Ot(){i()(this,be)[be]&&(this.unsubscribe({eventId:$e,token:i()(this,be)[be]}),i()(this,be)[be]=null)}function St(f){return f==="standalone"?(this.logger.info("Running in standalone mode \u2014 skipping host discovery"),i()(this,Ie)[Ie](),i()(this,Ke)[Ke]()):f==="embeddedWithoutHost"?(this.logger.info("embeddedWithoutHost enabled \u2014 skipping host discovery"),i()(this,Ie)[Ie]()):(this.logger.warn("Unable to discover host. Proceeding with app.config.json values. Host-provided parameters (history, theme, initialRoute) will not be available."),i()(this,Ie)[Ie]()),i()(this,ke)[ke](),{moduleId:this.appId}}async function yt(){var f="module",n=this.getObject(f);return i()(this,$)[$]!==je.SSF?n:(0,_e.E_)({promise:n,delay:L,throwError:!0,errMsg:`Timed out waiting for module scripting object from host (${L}ms)`})}nt.instance=void 0},"./lib/utils/micro-frontend/ssf-host.ts"(j,g,e){"use strict";e.d(g,{F:()=>x,Z:()=>P});var u=e("./node_modules/.pnpm/@elliemae+ssf-host@2.29.0_@elliemae+pui-diagnostics@3.12.6/node_modules/@elliemae/ssf-host/dist/esm/host.js"),d=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),m=e("./lib/utils/logger.ts"),c=e("./lib/utils/app-config/config.ts"),y=null,x=function(){if(!y){var _=(0,m.t)();y=new u.P((0,c.vF)("appId"),{logger:_,analyticsObj:new d.j({logger:_})})}return y},P=function(_){y||(y=_)}},"./lib/utils/page-wake.ts"(j,g,e){"use strict";e.d(g,{v:()=>u});var u=function(d){var m=!1,c=function(){m||(m=!0,queueMicrotask(function(){m=!1,d()}))},y=function(){document.hidden||c()};return document.addEventListener("visibilitychange",y),window.addEventListener("pageshow",c),window.addEventListener("focus",c),function(){document.removeEventListener("visibilitychange",y),window.removeEventListener("pageshow",c),window.removeEventListener("focus",c)}}},"./lib/utils/session-timeout-config.ts"(j,g,e){"use strict";e.d(g,{BH:()=>y,Gw:()=>P,vG:()=>_});var u=e("./lib/utils/app-config/config.ts"),d=e("./lib/utils/constants.ts"),m,c,y=function(){m=void 0,c=void 0},x=function(E,i){var b=(0,u.vF)(E);if(b==null||b==="")return i;var v=Number(b);return Number.isFinite(v)&&v>0?v:i},P=function(){return m===void 0&&(m=x("sessionTimeoutWarnInterval",d.J2.WARN)),m},_=function(){if(c===void 0){var E=P(),i=x("sessionTimeoutInterval",d.J2.EXPIRY);c=i>E?i:E+1}return c}},"./lib/utils/session.ts"(j,g,e){"use strict";e.d(g,{lQ:()=>B,LC:()=>de,KB:()=>Ot,oB:()=>Lt,z3:()=>n,lD:()=>jt,n5:()=>Ye,Lw:()=>te});var u=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),d=e.n(u),m=function(t){window.emui.loginParams=Object.assign({redirectUri:new URL(window.location.href).href},t)},c=function(){if(!window.emui.loginParams){var t=JSON.parse(sessionStorage.getItem("user")||"{}"),r=t.client_id||"",p=t.scope||"";window.emui.loginParams={clientId:r,scope:p}}return window.emui.loginParams},y=e("./lib/utils/constants.ts"),x,P=function(){return sessionStorage.getItem(y.Ay.AUTHORIZATION)||""},_=function(t){sessionStorage.setItem(x.AUTHORIZATION,t)},E=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),i=e("./node_modules/.pnpm/axios@1.18.1/node_modules/axios/lib/axios.js"),b=e("./lib/utils/app-config/config.ts"),v=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),A=e.n(v),S;function C(t,r){var p=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!p){if(Array.isArray(t)||(p=O(t))||r&&t&&typeof t.length=="number"){p&&(t=p);var I=0,D=function(){};return{s:D,n:function(){return I>=t.length?{done:!0}:{done:!1,value:t[I++]}},e:function(J){throw J},f:D}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T,W=!0,H=!1;return{s:function(){p=p.call(t)},n:function(){var J=p.next();return W=J.done,J},e:function(J){H=!0,T=J},f:function(){try{W||p.return==null||p.return()}finally{if(H)throw T}}}}function O(t,r){if(t){if(typeof t=="string")return R(t,r);var p={}.toString.call(t).slice(8,-1);return p==="Object"&&t.constructor&&(p=t.constructor.name),p==="Map"||p==="Set"?Array.from(t):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?R(t,r):void 0}}function R(t,r){(r==null||r>t.length)&&(r=t.length);for(var p=0,I=Array(r);p<r;p++)I[p]=t[p];return I}var k=function(t){return t},Ee=function(t,r){var p,I;r=r||S,(p=r)!==null&&p!==void 0&&(I=p.interceptors)!==null&&I!==void 0&&I.response&&r.interceptors.response.eject(t)},ue=function(t){var r=t.config.retryConfig;if(!r||r.retry===0||!t.response&&(r.currentRetryAttempt||0)>=r.noResponseRetries||!t.config.method||r.httpMethodsToRetry.indexOf(t.config.method.toUpperCase())<0)return!1;if(t.response&&t.response.status){var p=!1,I=C(r.statusCodesToRetry),D;try{for(I.s();!(D=I.n()).done;){var T=D.value,W=A()(T,2),H=W[0],J=W[1],se=t.response.status;if(se>=H&&se<=J){p=!0;break}}}catch(z){I.e(z)}finally{I.f()}if(!p)return!1}return r.currentRetryAttempt=r.currentRetryAttempt||0,!(r.currentRetryAttempt>=r.retry)},V=function(t){if(!t.config)return Promise.reject(t);var r=t.config.retryConfig||{};r.currentRetryAttempt=r.currentRetryAttempt||0,r.retry=r.retry===void 0||r.retry===null?3:r.retry,r.retryDelay=r.retryDelay||100,r.instance=r.instance||i.A,r.httpMethodsToRetry=r.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],r.noResponseRetries=r.noResponseRetries===void 0||r.noResponseRetries===null?2:r.noResponseRetries;var p=[[100,199],[429,429],[500,599]];r.statusCodesToRetry=r.statusCodesToRetry||p,t.config.retryConfig=r;var I=r.shouldRetry||ue;if(!I(t))return Promise.reject(t);var D=new Promise(function(W){var H=(2**r.currentRetryAttempt-1)/2*1e3;t.config.retryConfig.currentRetryAttempt+=1,setTimeout(W,H)}),T=r.onRetryAttempt?Promise.resolve(r.onRetryAttempt(t)):Promise.resolve();return Promise.resolve().then(function(){return D}).then(function(){return T}).then(function(){return r.instance.request(t.config)})},N=function(t){var r,p;return t=t||i.A,(r=t)!==null&&r!==void 0&&(p=r.interceptors)!==null&&p!==void 0&&p.response?t.interceptors.response.use(k,V):null},q=function(t){return t&&t.config?t.config.retryConfig:null},Y=function(t){return{retry:3,noResponseRetries:2,retryDelay:100,httpMethodsToRetry:["GET","HEAD","OPTIONS","DELETE","PUT"],statusCodesToRetry:[[100,199],[429,429],[500,599]],instance:t,onRetryAttempt:function(r){var p=q(r);p&&p.currentRetryAttempt}}},Ze=function(t){t!=null&&t.defaults&&(t.defaults.retryConfig=Y(t)),N(t)};const ce=Ze;var ee=e("./lib/communication/http-client/props.ts"),oe=function(t){return ee.K.resetUserIdleTime(),t},Pe=401,ve=null,Be=function(t){ve=t},Qe=function(t){return t},He=function(t){var r=(t||{}).response||{},p=r.status;if(p===Pe){if(ve&&typeof ve=="function")return ve(t).then(function(I){var D=t.config;if(!(D!=null&&D.headers))throw t;return D.headers.Authorization=I,new Promise(function(T,W){i.A.request(D).then(T).catch(W)})}).catch(function(I){return Promise.reject(I)});if(ee.K.endSession)return ee.K.endSession(Object.assign({},c(),{skipRevoke:!0})).then(function(){return Promise.reject(t)}).catch(function(){return Promise.reject(t)})}return Promise.reject(t)},xe=e("./lib/utils/logrocket.ts"),Oe,_e,Ne=null,Se=2*60*1e3,me=function(){var t,r,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=p.baseURL,D=I===void 0?(0,b.vF)("serviceEndpoints.api",""):I,T=p.headers,W=T===void 0?{}:T,H=p.sendLogRocketSessionHeader,J=H===void 0?!1:H,se=((t=(0,xe.Te)())===null||t===void 0?void 0:t.sessionURL)||"",z=i.A.create({baseURL:D,headers:J&&se?Object.assign({},W,{"X-LogRocket-URL":se}):W});z!=null&&(r=z.defaults)!==null&&r!==void 0&&r.timeout&&(z.defaults.timeout=Se),ce(z);var Q=z?.interceptors||{},ne=Q.request,X=Q.response;return ne&&ne.use(oe),X&&X.use(Qe,He),z},qe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.baseURL,p=t.headers,I=p===void 0?{}:p,D=t.sendLogRocketSessionHeader,T=D===void 0?!1:D,W=Oe(t,Ne);return me(Object.assign({baseURL:r,headers:Object.assign({Authorization:_e()},I),sendLogRocketSessionHeader:T},W))},tt,L=async function(t){var r=t.code,p=t.clientId,I=t.scope,D=t.redirectUri,T=new URLSearchParams;T.append("grant_type","authorization_code"),T.append("client_id",p),T.append("redirect_uri",D),T.append("scope",I),T.append("code",r);var W=await tt().post("/oauth2/v1/token",T),H=W.data;return{tokenType:H.token_type,accessToken:H.access_token}},ie=async function(t){var r=t.clientId,p=t.token,I=new URLSearchParams;I.append("token",p),I.append("client_id",r),await me().post("/oauth2/v1/token/revocation",I)},ge=async function(t){var r=t.clientId,p=t.accessToken,I=new URLSearchParams;I.append("token",p),I.append("client_id",r);var D=await me().post("/oauth2/v1/token/introspection",I),T=D.data;return T},je=e("./lib/utils/logger.ts"),$e=e("./lib/utils/log-records.ts"),re=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),$=e("./lib/analytics/index.ts"),we,Ue,Ae=function(t){var r=t.instanceId,p=t.userId;we({instanceId:r,userId:p}),Ue({data:{event:"login"}})},Me=function(){(0,$.e)({data:{event:"logout"}}),(0,re.nE)({instanceId:"",userId:""})},Z=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),Te,We,be,dt,Je,ut,Xe,ct,K,et,Ke,vt,Ie,Ce,it="serviceEndpoints.idp",_t=function(){return!!K()},mt=function(){var t=new URL(window.location.href),r=t.searchParams.get("code")||"",p=t.searchParams.get("error_code")||"";return t.search="",{code:r,idpErrorCode:p,redirectUri:t.href}},Fe=function(t){var r=t.clientId,p=t.redirectUri,I=t.idpErrorCode,D=t.scope,T=t.responseType,W=t.instanceId,H=t.siteId,J=t.userId,se=t.disableRememberMe,z=t.useCompactIdpPage,Q=t.isSSO,ne=Ke(it,""),X=new URL("/authorize",ne),Re=Object.assign({client_id:r,redirect_uri:p,response_type:T??"",scope:D},W!==void 0&&{instance_id:String(W)},H!==void 0&&{site_id:String(H)},J!==void 0&&{user_id:J},se!==void 0&&{disable_remember_me:String(se)},z!==void 0&&{tpoifr:String(z)},Q!==void 0&&{is_sso:String(Q)}),Ve=new URLSearchParams(I?Object.assign({},Re,{error_code:I}):Re);X.search=Ve.toString(),window.location.replace(X.href)},ke=async function(t){var r=t.clientId,p=t.redirectUri,I=t.responseType,D=t.scope,T=t.code,W=T===void 0?"":T,H=t.customLogoutUrl,J=H===void 0?"":H,se=t.skipRevoke,z=se===void 0?!1:se;try{var Q=P();sessionStorage.clear();var ne=Q?Q.split(" ")[1]:"";z||await ie({clientId:r,token:ne}),Me(),(0,xe.K3)("logout"),(0,Z.E3)(),(0,re.nE)({instanceId:"",userId:""});var X;if(J)X=new URL("/",J);else{var Re=(0,b.vF)(it,"");X=new URL("/authorize",Re);var Ve=Object.assign({client_id:r,redirect_uri:p||""},W&&{error_code:W},{response_type:I||"",scope:D}),At=new URLSearchParams(Ve);X.search=At.toString()}window.location.replace(X.href)}catch(Tt){var lt;(lt=(0,je.t)())===null||lt===void 0||lt.error(Object.assign({},$e.V.LOGOUT_FAILED,{exception:Tt}))}},De=async function(t){var r=t.code,p=t.redirectUri,I=t.clientId,D=t.scope,T=t.responseType,W=t.isConsumerUser;try{var H=await be({code:r,clientId:I,scope:D,redirectUri:p}),J=H.tokenType,se=H.accessToken;Ie({clientId:I,scope:D,responseType:T,redirectUri:p});var z=`${J} ${se}`;et(z);var Q=await dt({clientId:I,accessToken:se});sessionStorage.setItem("user",JSON.stringify(Q));var ne=Q.encompass_instance_id,X=Q.user_name,Re=Q.bearer_token,Ve=Q.user_key,At={bearerToken:Re,realm:ne,userName:X,sessionId:Re?.replace(`${ne} `,"")};sessionStorage.setItem("cred",JSON.stringify(At)),sessionStorage.setItem("instanceId",ne),sessionStorage.setItem("userId",X),ut({instanceId:ne,userId:X}),Te({instanceId:ne,userId:X});var lt={name:X,instanceId:ne};Xe(Ve,lt),ct("login",lt);var Tt=await Je({userName:X,isConsumerUser:W});sessionStorage.setItem("userSettings",JSON.stringify(Tt));var Wt=new URL(p).pathname;We.replace(Wt)}catch(Et){var Dt,Rt,Mt,kt=Et==null||(Dt=Et.response)===null||Dt===void 0||(Rt=Dt.data)===null||Rt===void 0?void 0:Rt.code;await ke({clientId:I,redirectUri:p,code:kt,scope:D,responseType:T}),(Mt=Ce())===null||Mt===void 0||Mt.error(Object.assign({},vt.LOGIN_FAILED,{exception:Et}))}},st=async function(t){var r=t.clientId,p=t.scope,I=t.responseType,D=t.isConsumerUser,T=t.instanceId,W=t.siteId,H=t.userId,J=t.disableRememberMe,se=t.useCompactIdpPage,z=t.isSSO,Q=mt(),ne=Q.code,X=Q.idpErrorCode,Re=Q.redirectUri,Ve={clientId:r,scope:p,responseType:I,redirectUri:Re,code:ne,idpErrorCode:X,isConsumerUser:D,instanceId:T,siteId:W,userId:H,disableRememberMe:J,useCompactIdpPage:se,isSSO:z};return ne?(await De(Ve),{authorized:!0}):(Fe(Ve),{authorized:!1})},ze=e("./lib/utils/page-wake.ts"),ae=e("./lib/utils/session-timeout-config.ts"),pt,nt,ot=Date.now(),rt=[],le=[],F=[],Le=["click","scroll","keypress","touchstart"],Ge=!1,ft=!1,ht,at,gt,bt=function(){ft=!1,Ge=!1,gt=null},wt=function(){return Date.now()-ot>(0,ae.Gw)()},It=function(){return Date.now()-ot>(0,ae.vG)()},Ct=function(){return Promise.resolve().then(function(){le.forEach(function(t){return t()})})},Pt=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;bt(),ot=Date.now(),Promise.resolve().then(function(){F.forEach(function(r){return r(t)})}).catch(function(){})},Lt=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;l(t===!0)&&Pt(t)},Ot=async function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(l(t===!0)){var r=c();try{if(Pt(!0),r!=null&&r.clientId){var p=P();if(!p)throw new Error("Authorization token not found to extend session");var I=p.split(" ")[1];await ge({clientId:r.clientId,accessToken:I})}}catch(T){var D;(D=(0,je.t)())===null||D===void 0||D.error(Object.assign({},$e.V.SESSION_RENEWAL_FAILED,{exception:T})),await ke(Object.assign({},r,{skipRevoke:!0}))}}},St=d()(function(){Ot().catch(function(){})},y.eE,{leading:!0}),yt=function(){Le.forEach(function(t){document.removeEventListener(t,St)})},f=function(){Ge=!0,gt=Date.now(),yt(),Promise.resolve().then(function(){rt.forEach(function(t){return t(gt)})}).catch(function(){})},n=function(){var t;yt(),(t=at)===null||t===void 0||t(),at=void 0,clearInterval(ht),bt(),rt.length=0,le.length=0};function l(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return ft?!1:It()?(ft=!0,Ct().then(function(){n()}).catch(function(){}),!1):!Ge&&wt()?(f(),!1):!(Ge&&!t)}var h=function(t,r){var p=t.findIndex(function(I){return I===r});p>-1&&t.splice(p,1)},B=function(){Le.forEach(function(t){document.addEventListener(t,St)})},de=function(){var t;clearInterval(ht),(t=at)===null||t===void 0||t(),yt(),(0,ae.BH)(),bt(),B(),at=(0,ze.v)(l),ht=setInterval(l,1e3)},te=function(t){return rt.push(t),h.bind(null,rt,t)},Ye=function(t){return le.push(t),h.bind(null,le,t)},jt=function(t){return F.push(t),h.bind(null,F,t)},Ut=function(t,r){if(!t)return function(){};var p=pt(r,nt,{leading:!0});return Le.forEach(function(I){return t.addEventListener(I,p)}),function(){Le.forEach(function(I){return t.removeEventListener(I,r)}),Le.forEach(function(I){return t.removeEventListener(I,p)})}}},"./lib/utils/window.ts"(j,g,e){"use strict";e.d(g,{D:()=>x,M5:()=>c,OX:()=>P,zk:()=>m});var u=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),d=e.n(u),m=function(){try{return window.parent.document,window.parent}catch{return window}},c=function(){return{width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}},y=function(_){return Number(_?.replace("px",""))},x=function(){var _=c(),E=_.width,i=(0,u.getDefaultTheme)(),b=i.breakpoints;return E<=y(b.small)?"small":E<=y(b.medium)?"medium":E<=y(b.xsmall)?"xsmall":"large"},P=function(){var _,E,i,b,v=((_=window)===null||_===void 0||(E=_.emui)===null||E===void 0?void 0:E._ASSET_PATH)||"latest/";if(!((i=window.emui)!==null&&i!==void 0&&i.version))return v;var A=(b=window.emui)===null||b===void 0?void 0:b.version.match(/^(?:\d+\.\d+)*/g);return A&&A[0]?v.replace("latest/",`${A[0]}/`):v}},"./lib/view/error-toast/index.tsx"(j,g,e){"use strict";e.d(g,{Q:()=>v});var u=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),d=e.n(u),m=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),c=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/parts/DSToast.js"),y=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/toast.js"),x=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/constants.js"),P=e("./lib/data/useAppDispatch.ts"),_=e("./lib/data/useAppSelector.ts"),E=e("./lib/data/error/index.ts"),i=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),b=["position","messageTitle","type","description","messageText","messageComponent"],v=(0,m.memo)(function(A){var S=(0,_.G)(function(O){return O?.error}),C=(0,P.j)();return(0,m.useEffect)(function(){if(S&&(S!=null&&S.description||S!=null&&S.messageText)){var O=Object.assign({position:x.xJ.TOP_RIGHT,messageTitle:"Error",type:x.Ck.ERROR},A,S),R=O.position,k=O.messageTitle,Ee=O.type,ue=O.description,V=O.messageText,N=O.messageComponent,q=d()(O,b),Y=ue||V;Y&&(0,y.o)({messageText:Y,messageTitle:k,type:Ee,messageComponent:N},Object.assign({position:R},q)),C(E.o.clear())}},[S,A,C]),(0,i.jsx)(c.P_,Object.assign({},A))})},"./lib/view/live-message/index.tsx"(j,g,e){"use strict";e.d(g,{I:()=>y});var u=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(u),m=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),c=e("./lib/data/useAppSelector.ts"),y=function(){var x=(0,c.G)(function(_){var E;return(E=_.liveMessage)===null||E===void 0?void 0:E.message}),P=(0,c.G)(function(_){var E;return(E=_.liveMessage)===null||E===void 0?void 0:E.ariaLive});return d()(m.Iu,{message:x,"aria-live":P})};y.displayName="LiveMessage"},"./lib/view/modals/session-expiry/index.tsx"(j,g,e){"use strict";e.d(g,{_:()=>Ze});var u=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(u),m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),c=e.n(m),y=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),x=e("./node_modules/.pnpm/@elliemae+ds-button-v2@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV2/DSButtonV2.js"),P=e("./node_modules/.pnpm/@elliemae+ds-icons@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-icons/dist/esm/WarningCircle.js"),_=e("./node_modules/.pnpm/@elliemae+ds-hooks-focus-trap@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-hooks-focus-trap/dist/esm/DSHookOnFirstFocusIn.js"),E=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/DSDialog.js"),i=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogBody/DSDialogBody.js"),b=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogDefaultLayout/DSDialogDefaultLayout.js"),v=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogPrimaryMessage/DSDialogPrimaryMessage.js"),A=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSecondaryMessage/DSDialogSecondaryMessage.js"),S=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSeparator/DSDialogSeparator.js"),C=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogFooter/DSDialogFooter.js"),O=e("./lib/data/useAppDispatch.ts"),R=e("./lib/data/logout/actions.ts"),k=e("./lib/utils/session.ts"),Ee=e("./lib/utils/page-wake.ts"),ue=e("./lib/utils/session-timeout-config.ts"),V=function(ce){var ee=Math.max(0,Math.floor(ce/1e3)),oe=Math.floor(ee/60),Pe=ee%60;return`${String(oe).padStart(2,"0")}:${String(Pe).padStart(2,"0")}`},N=function(ce){var ee=(0,y.useState)(),oe=c()(ee,2),Pe=oe[0],ve=oe[1];return(0,y.useEffect)(function(){var Be=(0,ue.Gw)(),Qe=(0,ue.vG)(),He=ce+(Qe-Be),xe=function(){ve(V(He-Date.now()))};xe();var Oe=setInterval(xe,1e3),_e=(0,Ee.v)(xe);return function(){clearInterval(Oe),_e()}},[ce]),Pe},q,Y,Ze=(0,y.memo)(function(ce){var ee=ce.open,oe=ce.warningNotifiedAt,Pe=oe===void 0?0:oe,ve=(0,y.useState)(ee),Be=c()(ve,2),Qe=Be[0],He=Be[1],xe=N(Pe),Oe=(0,O.j)(),_e=(0,y.useRef)(null),Ne=(0,y.useRef)(null),Se=(0,_.r)({firstElementRef:_e,lastElementRef:Ne});(0,y.useEffect)(function(){He(ee)},[ee]);var me=async function(){He(!1),await(0,k.KB)(!0),(0,k.lQ)(),Oe(R.r.cancel())},qe=function(){He(!1),Oe(R.r.confirm())};return xe?d()(E.O,{onKeyDown:Se,isOpen:Qe,size:"small"},void 0,d()(i.u,{p:"s"},void 0,d()(b.D,{},void 0,d()(P.A,{size:"xl",color:["warning","900"]}),d()(v.T,{},void 0,`Your session will expire in ${xe}`),q||(q=d()(A.z,{},void 0,"Please logout or reset your session")))),Y||(Y=d()(S.Z,{})),d()(C.r,{},void 0,d()(x.e,{innerRef:_e,buttonType:"outline",onClick:qe},void 0,"Logout"),d()(x.e,{innerRef:Ne,onClick:function(){me().catch(function(){})}},void 0,"Reset"))):null})},"./lib/view/session-timeout/index.tsx"(j,g,e){"use strict";e.d(g,{S:()=>b});var u=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(u),m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),c=e.n(m),y=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),x=e("./lib/data/useAppDispatch.ts"),P=e("./lib/data/logout/actions.ts"),_=e("./lib/utils/session.ts"),E=e("./lib/view/modals/session-expiry/index.tsx"),i=e("./lib/communication/http-client/props.ts"),b=function(){var v=(0,x.j)(),A=(0,y.useState)(!1),S=c()(A,2),C=S[0],O=S[1],R=(0,y.useState)(),k=c()(R,2),Ee=k[0],ue=k[1];return(0,y.useEffect)(function(){i.K.resetUserIdleTime=_.oB,(0,_.LC)();var V=(0,_.Lw)(function(Y){Y&&(ue(Y),O(!0))}),N=(0,_.lD)(function(Y){Y===!0&&O(!1)}),q=(0,_.n5)(function(){v(P.r.confirm()),O(!1)});return function(){V(),N(),q(),(0,_.z3)()}},[v]),d()("div",{},void 0,C&&d()(E._,{open:!0,warningNotifiedAt:Ee}))};b.displayName="SessionTimeout"},"./lib/view/wait-message/index.tsx"(j,g,e){"use strict";e.d(g,{j:()=>ue});var u=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(u),m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),c=e.n(m),y=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),x=e.n(y),P=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),_=e("./node_modules/.pnpm/styled-components@5.3.11_react-dom@18.3.1_react@18.3.1/node_modules/styled-components/dist/styled-components.browser.cjs.js"),E=e("./node_modules/.pnpm/@elliemae+ds-backdrop@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-backdrop/dist/esm/Backdrop.js"),i=e("./node_modules/.pnpm/@elliemae+ds-circular-progress-indicator@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-circular-progress-indicator/dist/esm/v2/DSCircularIndeterminateIndicator.js"),b=e("./lib/data/useAppSelector.ts"),v=e("./lib/view/wait-message/use-html-wait-message.tsx"),A=e("./lib/analytics/index.ts"),S=function(){return(0,A.e)({data:{event:"pageInteractionEnabled"}})},C=function(){return(0,A.e)({data:{event:"pageInteractionDisabled"}})},O=e("./lib/utils/logrocket.ts"),R=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),k=["size","color","showText","withTooltip","tooltipStartPlacementPreference"],Ee=(0,_.default)(i.p).withConfig({componentId:"sc-3aqsjr-0"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"]),ue=(0,P.memo)(function(V){var N=V.size,q=N===void 0?"xl":N,Y=V.color,Ze=Y===void 0?"light":Y,ce=V.showText,ee=ce===void 0?!0:ce,oe=V.withTooltip,Pe=oe===void 0?!1:oe,ve=V.tooltipStartPlacementPreference,Be=ve===void 0?"center":ve,Qe=x()(V,k),He=(0,P.useContext)(_.ThemeContext),xe=(0,P.useRef)(!1),Oe=(0,P.useState)(!1),_e=c()(Oe,2),Ne=_e[0],Se=_e[1],me=(0,b.G)(function(L){var ie;return(ie=L.waitMessage)===null||ie===void 0?void 0:ie.isOpen}),qe=(0,b.G)(function(L){var ie;return(ie=L.waitMessage)===null||ie===void 0?void 0:ie.delay});xe.current=me??!1;var tt=(0,b.G)(function(L){var ie;return(ie=L.waitMessage)===null||ie===void 0?void 0:ie.message});return(0,P.useEffect)(function(){setTimeout(function(){me&&xe.current&&(Se(!0),S(),(0,O.K3)("wait-spinner-start"))},qe?1e3:0),me||(Se(!1),C(),(0,O.K3)("wait-spinner-end"))},[qe,me]),(0,v.t)(me!==null),Ne?(0,R.jsxs)(R.Fragment,{children:[d()(E.Ay,{zIndex:He.zIndex.loader}),(0,R.jsx)(Ee,Object.assign({id:"em-loading",size:q,color:Ze,showText:ee,withTooltip:Pe,tooltipStartPlacementPreference:Be},Qe,{text:tt}))]}):null})},"./lib/view/wait-message/use-html-wait-message.tsx"(j,g,e){"use strict";e.d(g,{t:()=>d});var u=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),d=function(m){(0,u.useEffect)(function(){var c=document.getElementById("em-wait-message");c&&m&&c.remove()},[m])}},"./storybook-config-entry.js"(j,g,e){"use strict";var u=e("./node_modules/.pnpm/global@4.4.0/node_modules/global/window.js"),d=e.n(u),m=e("./node_modules/.pnpm/@storybook+preview-web@6.5.16/node_modules/@storybook/preview-web/dist/cjs/index.js"),c=e("./node_modules/.pnpm/@storybook+store@6.5.16/node_modules/@storybook/store/dist/cjs/index.js"),y=e("./node_modules/.pnpm/@storybook+client-api@6.5.16/node_modules/@storybook/client-api/dist/cjs/index.js"),x=e("./node_modules/.pnpm/@storybook+addons@6.5.16/node_modules/@storybook/addons/dist/cjs/public_api.js"),P=e("./node_modules/.pnpm/@storybook+channel-postmessage@6.5.16/node_modules/@storybook/channel-postmessage/dist/cjs/index.js"),_=e("./node_modules/.pnpm/@storybook+channel-websocket@6.5.16/node_modules/@storybook/channel-websocket/dist/cjs/index.js"),E=[async function(O){if(/^\.[\\/](?:lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(mdx|tsx|ts|jsx|js))$/.exec(O)){var R=O.substring(6);return e("./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$")("./"+R)}}];async function i(O){for(var R=0;R<E.length;R++){var k=await E[R](O);if(k)return k}}var b=d().SERVER_CHANNEL_URL,v=function(){return(0,c.composeConfigs)([e("./node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.29.7_@storybook+builder-webpack5@6.5.16_@storybook+mana_bd2mrctaigmcgc5bouhkkufcim/node_modules/@storybook/react/dist/esm/client/docs/config.js"),e("./node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.29.7_@storybook+builder-webpack5@6.5.16_@storybook+mana_bd2mrctaigmcgc5bouhkkufcim/node_modules/@storybook/react/dist/esm/client/preview/config.js"),e("./node_modules/.pnpm/@storybook+addon-docs@6.5.16_@babel+core@7.29.7_eslint@8.57.1_typescript@5.9.3_webpack-cli@5.1.4_webpack@5.108.4/node_modules/@storybook/addon-docs/preview.js"),e("./node_modules/.pnpm/@storybook+addon-actions@6.5.16/node_modules/@storybook/addon-actions/preview.js"),e("./node_modules/.pnpm/@storybook+addon-backgrounds@6.5.16/node_modules/@storybook/addon-backgrounds/preview.js"),e("./node_modules/.pnpm/@storybook+addon-measure@6.5.16/node_modules/@storybook/addon-measure/preview.js"),e("./node_modules/.pnpm/@storybook+addon-outline@6.5.16/node_modules/@storybook/addon-outline/preview.js"),e("./node_modules/.pnpm/@storybook+addon-links@6.5.16/node_modules/@storybook/addon-links/preview.js"),e("./node_modules/.pnpm/@storybook+addon-interactions@6.5.16_eslint@8.57.1_typescript@5.9.3_webpack-cli@5.1.4/node_modules/@storybook/addon-interactions/preview.js"),e("./node_modules/.pnpm/@storybook+addon-a11y@6.5.16/node_modules/@storybook/addon-a11y/preview.js"),e("./.storybook/preview.js")])},A=(0,P.Ay)({page:"preview"});if(x.addons.setChannel(A),b){var S=(0,_.Ay)({url:b});x.addons.setServerChannel(S),window.__STORYBOOK_SERVER_CHANNEL__=S}var C=new m.PreviewWeb;window.__STORYBOOK_PREVIEW__=C,window.__STORYBOOK_STORY_STORE__=C.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=A,window.__STORYBOOK_CLIENT_API__=new y.ClientApi({storyStore:C.storyStore}),C.initialize({importFn:i,getProjectAnnotations:v})},"./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"(j,g,e){"use strict";var u=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/runtime/api.js"),d=e.n(u),m=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./node_modules/.pnpm/@elliemae+ds-basic@3.61.8/node_modules/@elliemae/ds-basic/dist/css/dimsum.css"),c=d()(function(x){return x[1]});c.i(m.A),c.push([j.id,`
|
|
5
|
+
`,""]);const y=c;e.d(g,["A",0,y])},"@elliemae/pui-diagnostics"(j){"use strict";j.exports=emuiDiagnostics},"?6b64"(){}},j=>{var g=u=>j(j.s=u);j.O(0,[1896],()=>(g("./node_modules/.pnpm/@storybook+core-client@6.5.16_typescript@5.9.3_webpack@4.47.0/node_modules/@storybook/core-client/dist/esm/globals/polyfills.js"),g("./node_modules/.pnpm/@storybook+core-client@6.5.16_typescript@5.9.3_webpack@4.47.0/node_modules/@storybook/core-client/dist/esm/globals/globals.js"),g("./storybook-config-entry.js")));var e=j.O()}]);
|
|
Binary file
|
|
Binary file
|
package/demo/docs/project.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedAt":
|
|
1
|
+
{"generatedAt":1784931112246,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"pnpm","version":"8.15.9"},"typescriptOptions":{"check":false,"checkOptions":{},"reactDocgen":false,"reactDocgenTypescriptOptions":{"shouldExtractLiteralValuesFromEnum":true,"compilerOptions":{"allowSyntheticDefaultImports":false,"esModuleInterop":false}}},"features":{"fastRefresh":true,"storyStoreV7":true},"language":"javascript","storybookPackages":{},"framework":{"options":{"fastRefresh":true,"strictMode":true,"legacyRootApi":true}},"addons":{"@storybook/addon-docs":{"options":{"sourceLoaderOptions":{"injectStoryParameters":false}},"version":"6.5.16"},"@storybook/addon-essentials":{"options":{"docs":false},"version":"6.5.16"},"@storybook/addon-storysource":{"version":"6.5.16"},"@storybook/addon-links":{"version":"6.5.16"},"@storybook/addon-events":{"version":"6.2.9"},"@storybook/addon-interactions":{"version":"6.5.16"},"@storybook/addon-a11y":{"version":"6.5.16"},"storybook-addon-turbo-build":{"options":{"optimizationLevel":2,"esbuildMinifyOptions":{"target":"es2022"}},"version":"1.1.0"}}}
|
package/demo/iframe.html
CHANGED
|
@@ -374,4 +374,4 @@
|
|
|
374
374
|
|
|
375
375
|
|
|
376
376
|
|
|
377
|
-
window['STORIES'] = [{"titlePrefix":"","files":"**/*.stories.@(mdx|tsx|ts|jsx|js)","directory":"./lib","importPathMatcher":"^\\.[\\\\/](?:lib(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(mdx|tsx|ts|jsx|js))$"}];</script><script src="runtime~main.bbe740d2.iframe.bundle.js"></script><script src="1896.
|
|
377
|
+
window['STORIES'] = [{"titlePrefix":"","files":"**/*.stories.@(mdx|tsx|ts|jsx|js)","directory":"./lib","importPathMatcher":"^\\.[\\\\/](?:lib(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(mdx|tsx|ts|jsx|js))$"}];</script><script src="runtime~main.bbe740d2.iframe.bundle.js"></script><script src="1896.619ce620.iframe.bundle.js"></script><script src="main.b368484e.iframe.bundle.js"></script></body></html>
|
package/demo/index.html
CHANGED
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
window['DOCS_MODE'] = false;</script><script src="runtime~main.1804eb8a3785ccaf0afe.manager.bundle.js"></script><script src="659.e09c74fd1e2a225018f2.manager.bundle.js"></script><script src="main.
|
|
59
|
+
window['DOCS_MODE'] = false;</script><script src="runtime~main.1804eb8a3785ccaf0afe.manager.bundle.js"></script><script src="659.e09c74fd1e2a225018f2.manager.bundle.js"></script><script src="main.a6b1ae4b10ba95f2bb8e.manager.bundle.js"></script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[792],{11792(i,t,o){"use strict";var p=o(59443),m=o(96778),v=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,f=(e,a,r)=>a in e?v(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,b=(e,a)=>{for(var r in a||(a={}))s.call(a,r)&&f(e,r,a[r]);if(l)for(var r of l(a))_.call(a,r)&&f(e,r,a[r]);return e},d=(e,a)=>{var r={};for(var n in e)s.call(e,n)&&a.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&l)for(var n of l(e))a.indexOf(n)<0&&_.call(e,n)&&(r[n]=e[n]);return r};const h=e=>{var a=e,{base:r="light",brandTitle:n="Platform UI Components"}=a,u=d(a,["base","brandTitle"]);return(0,m.vt)(b({base:r,brandTitle:`${n} v5.44.
|
|
1
|
+
(globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[792],{11792(i,t,o){"use strict";var p=o(59443),m=o(96778),v=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,f=(e,a,r)=>a in e?v(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,b=(e,a)=>{for(var r in a||(a={}))s.call(a,r)&&f(e,r,a[r]);if(l)for(var r of l(a))_.call(a,r)&&f(e,r,a[r]);return e},d=(e,a)=>{var r={};for(var n in e)s.call(e,n)&&a.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&l)for(var n of l(e))a.indexOf(n)<0&&_.call(e,n)&&(r[n]=e[n]);return r};const h=e=>{var a=e,{base:r="light",brandTitle:n="Platform UI Components"}=a,u=d(a,["base","brandTitle"]);return(0,m.vt)(b({base:r,brandTitle:`${n} v5.44.2`},u))};(e=>{p.MC.setConfig({panelPosition:"bottom",theme:h(e)})})({brandTitle:"Application SDK",brandUrl:"https://git.elliemae.io/platform-ui/pui-app-sdk.git"})},22179(){}},i=>{var t=p=>i(i.s=p);i.O(0,[659],()=>(t(54176),t(11792),t(68082),t(34023),t(72247),t(40652),t(41420),t(48510),t(75963),t(4547),t(15869),t(74157),t(28061),t(99789),t(40166),t(29923)));var o=i.O()}]);
|
|
Binary file
|