@elliemae/pui-app-sdk 5.48.2 → 5.50.0
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/setSessionTimeoutInterval/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.9983c34d.js → main.b9673e66.js} +2 -2
- package/build/docs/index.html +1 -1
- package/build/docs/usage-guide/index.html +1 -1
- package/demo/{docs/6751.4870b9e7.iframe.bundle.js → 6751.d6668899.iframe.bundle.js} +1 -1
- package/demo/6751.d6668899.iframe.bundle.js.br +0 -0
- package/demo/{docs/6751.4870b9e7.iframe.bundle.js.gz → 6751.d6668899.iframe.bundle.js.gz} +0 -0
- package/demo/{6751.4870b9e7.iframe.bundle.js → docs/6751.d6668899.iframe.bundle.js} +1 -1
- package/demo/docs/6751.d6668899.iframe.bundle.js.br +0 -0
- package/demo/{6751.4870b9e7.iframe.bundle.js.gz → docs/6751.d6668899.iframe.bundle.js.gz} +0 -0
- package/demo/docs/iframe.html +1 -1
- package/demo/docs/index.html +1 -1
- package/demo/docs/main.817a6807.iframe.bundle.js +5 -0
- package/demo/docs/main.817a6807.iframe.bundle.js.br +0 -0
- package/demo/docs/main.817a6807.iframe.bundle.js.gz +0 -0
- package/demo/docs/{main.bd6146977a981bbbc197.manager.bundle.js → main.904139e0182fc887f3af.manager.bundle.js} +1 -1
- package/demo/docs/main.904139e0182fc887f3af.manager.bundle.js.br +0 -0
- package/demo/docs/{main.bd6146977a981bbbc197.manager.bundle.js.gz → main.904139e0182fc887f3af.manager.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.817a6807.iframe.bundle.js +5 -0
- package/demo/main.817a6807.iframe.bundle.js.br +0 -0
- package/demo/main.817a6807.iframe.bundle.js.gz +0 -0
- package/demo/{main.bd6146977a981bbbc197.manager.bundle.js → main.904139e0182fc887f3af.manager.bundle.js} +1 -1
- package/demo/main.904139e0182fc887f3af.manager.bundle.js.br +0 -0
- package/demo/{main.bd6146977a981bbbc197.manager.bundle.js.gz → main.904139e0182fc887f3af.manager.bundle.js.gz} +0 -0
- package/demo/project.json +1 -1
- package/dist/cjs/analytics/index.js +2 -9
- package/dist/cjs/analytics/push-to-data-layer.js +34 -0
- package/dist/cjs/analytics/user-session-event.js +5 -9
- package/dist/cjs/utils/app-config/index.js +2 -2
- package/dist/cjs/utils/asset-path.js +29 -0
- package/dist/cjs/utils/get-window.js +31 -0
- package/dist/cjs/utils/helpers.js +2 -23
- package/dist/cjs/utils/product-app-details.js +45 -0
- package/dist/cjs/utils/window.js +4 -16
- package/dist/esm/analytics/index.js +2 -9
- package/dist/esm/analytics/push-to-data-layer.js +14 -0
- package/dist/esm/analytics/user-session-event.js +5 -9
- package/dist/esm/utils/app-config/index.js +1 -1
- package/dist/esm/utils/asset-path.js +9 -0
- package/dist/esm/utils/get-window.js +11 -0
- package/dist/esm/utils/helpers.js +1 -22
- package/dist/esm/utils/product-app-details.js +25 -0
- package/dist/esm/utils/window.js +2 -14
- package/dist/types/lib/analytics/push-to-data-layer.d.ts +6 -0
- package/dist/types/lib/analytics/tests/push-to-data-layer.test.d.ts +1 -0
- package/dist/types/lib/analytics/tests/send-ba-event.test.d.ts +1 -0
- package/dist/types/lib/analytics/tests/user-session-event.test.d.ts +1 -0
- package/dist/types/lib/utils/asset-path.d.ts +5 -0
- package/dist/types/lib/utils/get-window.d.ts +2 -0
- package/dist/types/lib/utils/helpers.d.ts +1 -11
- package/dist/types/lib/utils/product-app-details.d.ts +12 -0
- package/dist/types/lib/utils/tests/asset-path.test.d.ts +1 -0
- package/dist/types/lib/utils/tests/get-window.test.d.ts +1 -0
- package/dist/types/lib/utils/tests/product-app-details.test.d.ts +1 -0
- package/dist/types/lib/utils/window.d.ts +2 -2
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -1
- package/demo/6751.4870b9e7.iframe.bundle.js.br +0 -0
- package/demo/docs/6751.4870b9e7.iframe.bundle.js.br +0 -0
- package/demo/docs/main.23c07c99.iframe.bundle.js +0 -5
- package/demo/docs/main.23c07c99.iframe.bundle.js.br +0 -0
- package/demo/docs/main.23c07c99.iframe.bundle.js.gz +0 -0
- package/demo/docs/main.bd6146977a981bbbc197.manager.bundle.js.br +0 -0
- package/demo/main.23c07c99.iframe.bundle.js +0 -5
- package/demo/main.23c07c99.iframe.bundle.js.br +0 -0
- package/demo/main.23c07c99.iframe.bundle.js.gz +0 -0
- package/demo/main.bd6146977a981bbbc197.manager.bundle.js.br +0 -0
- /package/build/docs/assets/js/{main.9983c34d.js.LICENSE.txt → main.b9673e66.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.b3c5c070.iframe.bundle.js"></script><script src="6751.
|
|
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.b3c5c070.iframe.bundle.js"></script><script src="6751.d6668899.iframe.bundle.js"></script><script src="main.817a6807.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.0513b2a7b3c294040110.manager.bundle.js"></script><script src="659.a66259b9cbcd6133ccc5.manager.bundle.js"></script><script src="main.
|
|
59
|
+
window['DOCS_MODE'] = true;</script><script src="runtime~main.0513b2a7b3c294040110.manager.bundle.js"></script><script src="659.a66259b9cbcd6133ccc5.manager.bundle.js"></script><script src="main.904139e0182fc887f3af.manager.bundle.js"></script></body></html>
|
|
@@ -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))$"(_,g,e){const m={"./view/breakpoint/index.stories":["./lib/view/breakpoint/index.stories.tsx",[5815,999]],"./view/breakpoint/index.stories.tsx":["./lib/view/breakpoint/index.stories.tsx",[5815,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",[5815,5058,5599,4957,4216,3071]],"./view/fields/autocomplete/advanced-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/advanced-autocomplete.stories.tsx",[5815,5058,5599,4957,4216,3071]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[5815,5058,5599,4957,4216,9825]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[5815,5058,5599,4957,4216,9825]],"./view/fields/autocomplete/index.stories":["./lib/view/fields/autocomplete/index.stories.tsx",[5815,5058,5599,4957,4216,8048]],"./view/fields/autocomplete/index.stories.tsx":["./lib/view/fields/autocomplete/index.stories.tsx",[5815,5058,5599,4957,4216,8048]],"./view/fields/check-box/index.stories":["./lib/view/fields/check-box/index.stories.tsx",[5815,5058,8654,590,8522,564,2382]],"./view/fields/check-box/index.stories.tsx":["./lib/view/fields/check-box/index.stories.tsx",[5815,5058,8654,590,8522,564,2382]],"./view/fields/check-box/set-value.stories":["./lib/view/fields/check-box/set-value.stories.tsx",[5815,5058,8654,590,8522,564,5410]],"./view/fields/check-box/set-value.stories.tsx":["./lib/view/fields/check-box/set-value.stories.tsx",[5815,5058,8654,590,8522,564,5410]],"./view/fields/combo-box-v3/index.stories":["./lib/view/fields/combo-box-v3/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,9242,3086]],"./view/fields/combo-box-v3/index.stories.tsx":["./lib/view/fields/combo-box-v3/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,9242,3086]],"./view/fields/combo-box/index.stories":["./lib/view/fields/combo-box/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,778,6184]],"./view/fields/combo-box/index.stories.tsx":["./lib/view/fields/combo-box/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,778,6184]],"./view/fields/date-input/index.stories":["./lib/view/fields/date-input/index.stories.tsx",[5815,5058,8654,9863,1449,3438,2316,6055]],"./view/fields/date-input/index.stories.tsx":["./lib/view/fields/date-input/index.stories.tsx",[5815,5058,8654,9863,1449,3438,2316,6055]],"./view/fields/date-picker/index.stories":["./lib/view/fields/date-picker/index.stories.tsx",[5815,5058,8654,9863,1449,3438,9540,7813]],"./view/fields/date-picker/index.stories.tsx":["./lib/view/fields/date-picker/index.stories.tsx",[5815,5058,8654,9863,1449,3438,9540,7813]],"./view/fields/date-range-picker/index.stories":["./lib/view/fields/date-range-picker/index.stories.tsx",[5815,5058,6753,1400,3615,77]],"./view/fields/date-range-picker/index.stories.tsx":["./lib/view/fields/date-range-picker/index.stories.tsx",[5815,5058,6753,1400,3615,77]],"./view/fields/date-time-picker/index.stories":["./lib/view/fields/date-time-picker/index.stories.tsx",[5815,5058,6753,1400,2129]],"./view/fields/date-time-picker/index.stories.tsx":["./lib/view/fields/date-time-picker/index.stories.tsx",[5815,5058,6753,1400,2129]],"./view/fields/form-item-layout/index.stories":["./lib/view/fields/form-item-layout/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,7610,3813]],"./view/fields/form-item-layout/index.stories.tsx":["./lib/view/fields/form-item-layout/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,7610,3813]],"./view/fields/form-layout-block-item/index.stories":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[5815,5058,8654,9863,1449,2487]],"./view/fields/form-layout-block-item/index.stories.tsx":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[5815,5058,8654,9863,1449,2487]],"./view/fields/input-mask/index.stories":["./lib/view/fields/input-mask/index.stories.tsx",[5815,5058,8654,9863,1449,5762,6729]],"./view/fields/input-mask/index.stories.tsx":["./lib/view/fields/input-mask/index.stories.tsx",[5815,5058,8654,9863,1449,5762,6729]],"./view/fields/input-text/index.stories":["./lib/view/fields/input-text/index.stories.tsx",[5815,5058,5599,1764]],"./view/fields/input-text/index.stories.tsx":["./lib/view/fields/input-text/index.stories.tsx",[5815,5058,5599,1764]],"./view/fields/large-text-box/index.stories":["./lib/view/fields/large-text-box/index.stories.tsx",[5815,5058,1491]],"./view/fields/large-text-box/index.stories.tsx":["./lib/view/fields/large-text-box/index.stories.tsx",[5815,5058,1491]],"./view/fields/masked-input-text/with-money-mask.stories":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[5815,5058,5599,5974]],"./view/fields/masked-input-text/with-money-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[5815,5058,5599,5974]],"./view/fields/masked-input-text/with-percentage-mask.stories":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[5815,5058,5599,8980]],"./view/fields/masked-input-text/with-percentage-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[5815,5058,5599,8980]],"./view/fields/radio-group/index.stories":["./lib/view/fields/radio-group/index.stories.tsx",[5815,5058,8654,9863,590,1449,8522,1679,7610,9819,2977]],"./view/fields/radio-group/index.stories.tsx":["./lib/view/fields/radio-group/index.stories.tsx",[5815,5058,8654,9863,590,1449,8522,1679,7610,9819,2977]],"./view/fields/radio/index.stories":["./lib/view/fields/radio/index.stories.tsx",[5815,5058,8654,590,8522,6531]],"./view/fields/radio/index.stories.tsx":["./lib/view/fields/radio/index.stories.tsx",[5815,5058,8654,590,8522,6531]],"./view/fields/radio/set-value.stories":["./lib/view/fields/radio/set-value.stories.tsx",[5815,5058,8654,590,8522,5055]],"./view/fields/radio/set-value.stories.tsx":["./lib/view/fields/radio/set-value.stories.tsx",[5815,5058,8654,590,8522,5055]],"./view/fields/text-box/index.stories":["./lib/view/fields/text-box/index.stories.tsx",[5815,5058,8654,9863,1449,8749]],"./view/fields/text-box/index.stories.tsx":["./lib/view/fields/text-box/index.stories.tsx",[5815,5058,8654,9863,1449,8749]],"./view/fields/toggle/index.stories":["./lib/view/fields/toggle/index.stories.tsx",[5815,5058,5936]],"./view/fields/toggle/index.stories.tsx":["./lib/view/fields/toggle/index.stories.tsx",[5815,5058,5936]],"./view/form/index.stories":["./lib/view/form/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,6220]],"./view/form/index.stories.tsx":["./lib/view/form/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,6220]],"./view/form/usecases.stories":["./lib/view/form/usecases.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,4580]],"./view/form/usecases.stories.tsx":["./lib/view/form/usecases.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,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 c(f){try{if(!e.o(m,f))return Promise.resolve().then(()=>{const E=new Error("Cannot find module '"+f+"'");throw E.code="MODULE_NOT_FOUND",E})}catch(E){return Promise.reject(E)}const p=m[f],b=p[0];return Promise.all(p[1].map(e.e)).then(()=>e(b))}c.keys=()=>Object.keys(m),c.id="./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$",_.exports=c},"./.storybook/preview.js"(_,g,e){"use strict";e.r(g),e.d(g,{__namedExportsOrder:()=>ri,decorators:()=>ii,loaders:()=>si,parameters:()=>oi});var m=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.1/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),c=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"),f=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"),p=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"),b=e("./node_modules/.pnpm/redux-saga@1.5.1/node_modules/redux-saga/dist/redux-saga.cjs.js"),E=e.n(b),A=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.cjs.production.min.js"),w=e("./lib/data/wait-message/actions.ts"),S={isOpen:null,message:"loading...",delay:!0},i=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S,s=arguments.length>1?arguments[1]:void 0;return(0,A.default)(a,function(o){switch(s.type){case w.k.OPEN:o.isOpen=!0,o.message=s.payload.message,o.delay=s.payload.delay;break;case w.k.CLOSE:o.isOpen=!1;break}})},I=e("./lib/data/error/index.ts"),l={change:"change"},O=function(a){return a.LARGE="large",a.MEDIUM="medium",a.SMALL="small",a.XSMALL="xsmall",a}({}),P={value:O.LARGE},C=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:P,s=arguments.length>1?arguments[1]:void 0,o=s.type,y=s.payload;return(0,A.default)(a,function(M){switch(o){case l.change:M.value=y;break}})},j=e("./lib/data/live-message/index.ts"),R=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=(0,c.combineReducers)(Object.assign({waitMessage:i,error:I.L,breakpoint:C,liveMessage:j.k},a));return s},X=e("./lib/data/webpack-hmr.ts"),le=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/toConsumableArray.js"),te=e.n(le),de=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/lib/redux.js"),F=new Map,ie,k=function(a){return ie=a,function(s){return function(o){return de.compose.apply(void 0,te()(F.values()))(s)(o)}}},Le=function(a){var s=a.reducerPath,o=a.middleware;F.has(s)||!ie||F.set(s,o(ie))},me=function(a){F.delete(a)},Y=function(){F.clear()},J,se,pe=(0,c.createListenerMiddleware)(),fe=pe.startListening,at=null,Ce=null,Te=pe.clearListeners,je=R(),Re=null,Ve=function(a){Re=a},Be=function(){return Re},Ue=function(a,s,o){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},W=s.run,G=[(0,p.OV)({createReducer:R,runSaga:W})];je=R(M);var ue=(0,c.configureStore)({reducer:je,middleware:function(xe){return xe(y).prepend(pe.middleware).concat([s,k])},devTools:!1,preloadedState:a,enhancers:G});return(0,f.setupListeners)(ue.dispatch),(0,X.I)(ue),ue},pt=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,y=arguments.length>3?arguments[3]:void 0,M=E()({}),W=Ue(a,M,s,o,y);return Ve(W),W},qe=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),L=e.n(qe),He=e("./lib/utils/history.ts"),ae=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),We=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"),z=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"),ft=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),ht=e.n(ft),Mt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),_e=e.n(Mt),Lt=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"),ne=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),Z=["history","basename"],he=function(a){var s=a.history,o=a.basename,y=_e()(a,Z),M=(0,ae.useState)({action:s.action,location:s.location}),W=ht()(M,2),G=W[0],ue=W[1];return(0,ae.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,ae.useLayoutEffect)(function(){var xe=s.listen(function(){for(var ce=arguments.length,ve=new Array(ce),Ot=0;Ot<ce;Ot++)ve[Ot]=arguments[Ot];ve.length===2?ue({location:ve[0],action:ve[1]}):ue(ve[0])});return function(){xe()}},[s]),(0,ne.jsx)(Lt.Router,Object.assign({},y,{basename:o,location:G.location,navigationType:G.action,navigator:s}))};he.displayName="AppRouter";var Xe=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),ge=e("./lib/utils/micro-frontend/guest.ts"),$e=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),V=e.n($e),De=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),Ae=e.n(De),Ie=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),Q=e.n(Ie),et=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),tt=e.n(et),it=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),gt=e.n(it),we=e("./node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js"),Ye=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),lt=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),bt=e("./lib/data/logout/actions.ts"),Se=e("./lib/utils/app-config/config.ts"),Je=e("./lib/utils/app-config/index.ts"),dt=e("./lib/utils/console-logger.ts"),jt=e("./lib/utils/logger.ts"),Fe=e("./lib/utils/constants.ts"),be=e("./lib/utils/get-window.ts"),Ze=function(){return{width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}},ye=function(a){return Number(a?.replace("px",""))},st=function(){var a=Ze(),s=a.width,o=(0,m.getDefaultTheme)(),y=o.breakpoints;return s<=ye(y.small)?"small":s<=ye(y.medium)?"medium":s<=ye(y.xsmall)?"xsmall":"large"},yt=e("./lib/utils/session.ts"),ke=e("./lib/utils/micro-frontend/app-bridge.ts"),ut=e("./lib/utils/micro-frontend/ssf-host.ts"),Et,Pe=tt()("ssfHostRef"),q=tt()("appBridge"),Ke=tt()("selfInitialize"),ze=function(){function a(s){var o,y,M,W,G,ue,xe=this;V()(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,Pe,{writable:!0,value:void 0}),Object.defineProperty(this,q,{writable:!0,value:null}),Object.defineProperty(this,Ke,{writable:!0,value:void 0}),this.appId=(0,Se.vF)("appId"),this.onInit=s?.onInit,this.logger=s?.logger||dt.k,(0,jt.B)(this.logger),this.onRenewSessionTimer=s?.onRenewSessionTimer,Q()(this,Ke)[Ke]=(o=s?.selfInitialize)!==null&&o!==void 0?o:!1,this.props={systemVersion:(y=s?.version)!==null&&y!==void 0?y:"latest",history:(M=s?.history)!==null&&M!==void 0?M:He.N,theme:(W=s?.theme)!==null&&W!==void 0?W:(0,m.getDefaultTheme)()},this.activeGuests={},s!=null&&s.ssfHostRef&&(0,ut.Z)(s.ssfHostRef),Q()(this,Pe)[Pe]=(0,ut.F)();var ce=(G=s?.analytics)!==null&&G!==void 0?G:new Ye.j({logger:this.logger});this.scriptingObjects=Object.assign({analytics:ce},(ue=s?.scriptingObjects)!==null&&ue!==void 0?ue:{}),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=gt()(async function(){await(0,yt.KB)(),xe.onRenewSessionTimer&&xe.onRenewSessionTimer()},Fe.eE,{leading:!0}),Q()(this,Ke)[Ke]||(0,Je.y)().then(function(){(0,ke.b)().then(function(ve){Q()(xe,q)[q]=ve,xe.onInit&&xe.onInit(xe.props)}).catch(function(ve){throw ve})}).catch(function(){}),(0,lt.nE)({appId:this.appId})}return Ae()(a,[{key:"initialize",value:async function(){e.p=e.p.replace(/\/?$/,"/"),await(0,Je.y)();var o=await(0,ke.b)();return Q()(this,q)[q]=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,be.z)().sessionStorage.getItem(o)}},{key:"setItem",value:function(o,y){(0,be.z)().sessionStorage.setItem(o,y)}},{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,y){return(0,we.publish)(o,y)}},{key:"subscribe",value:function(o,y){return(0,we.subscribe)(o,y)}},{key:"unsubscribe",value:function(o){(0,we.unsubscribe)(o)}},{key:"navigate",value:function(o,y){o&&this.props.history.push(o,y)}},{key:"openWaitMessage",value:function(){var o=Be();o&&o.dispatch(w.X.open())}},{key:"closeWaitMessage",value:function(){var o=Be();o&&o.dispatch(w.X.close())}},{key:"openErrorBanner",value:function(o){var y=Be();y&&y.dispatch(I.o.set({description:o}))}},{key:"getAuthToken",value:function(){return(0,be.z)().sessionStorage.getItem("Authorization")}},{key:"renewAuthToken",value:function(){return(0,be.z)().sessionStorage.getItem("Authorization")}},{key:"logout",value:function(){var o=Be();o&&o.dispatch(bt.r.confirm())}},{key:"renewSessionTimer",value:async function(){this.throttleRenewSessionTimer()}},{key:"getBreakpoint",value:function(){return st()}},{key:"getViewportSize",value:function(){return Ze()}},{key:"onResizeEvent",value:function(o){return(0,we.subscribe)(Fe.BD,function(y,M){return o(M)})}},{key:"onBreakpointChangeEvent",value:function(o){return(0,we.subscribe)(Fe.H1,function(y,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,y){Q()(this,q)[q]&&Q()(this,q)[q].addScriptingObject(o,y),Q()(this,Pe)[Pe].addScriptingObject(o,y)}},{key:"dispatchEvent",value:async function(o){if(Q()(this,q)[q]){var y=await Promise.all([Q()(this,q)[q].dispatchEvent(o),Q()(this,Pe)[Pe].dispatchEvent(o)]),M=ht()(y,2),W=M[0],G=M[1];return Array.isArray(W)&&Array.isArray(G)?W.concat(G):Promise.resolve()}return Q()(this,Pe)[Pe].dispatchEvent(o)}},{key:"removeScriptingObject",value:function(o,y){Q()(this,q)[q]&&Q()(this,q)[q].removeScriptingObject(o,y),Q()(this,Pe)[Pe].removeScriptingObject(o,y)}}],[{key:"getInstance",value:function(o){return this.instance||(this.instance=new a(o),o!=null&&o.selfInitialize||(o?.logger||dt.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}}])}();Et=ze,ze.instance=void 0;var ct,xt,nt,vt,It,mt,ot=function(){return ze.isInitialized()},wt=function(){return ge.h.isInitialized()},St=function(){return wt()&&window.top===window.self},Ct=function(){return ot()?ze.getInstance().getLogger():ge.h.getInstance().getLogger()},Ut=function(a){return vt()?!0:a?a===mt.PRODUCTION:!0},Wt=function(a){var s=xt.getInstance().getProps(),o=s.systemVersion,y=o.match(/^(?:\d+\.\d+)*/g);return a.replace(/{SYSTEM_VERSION}/,y&&y[0]||"latest")},_t=function(a){var s;return a==null||(s=a.replace)===null||s===void 0?void 0:s.call(a,/\/?$/,"/")},$t=function(a){var s=nt(`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,y=o===void 0?mt.PRODUCTION:o,M=Ut(y)?s.production:s.development;s.production&&delete s.production,s.development&&delete s.development;var W=ct(a,{mode:"production",hostUrl:"./",manifestPath:"./{SYSTEM_VERSION}",isJsModule:!1},s,M);return W.hostUrl=It(W.hostUrl.replace(/\/?$/,"/")),W.manifestPath=_t(Wt(W.manifestPath)),W},Ft=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),u=e.n(Ft),n=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js"),d=e.n(n),h=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/inherits.js"),N=e.n(h),H=function(a){var s=a.error,o=s===void 0?new Error("We are unable to process your request"):s,y=a.errorInfo,M=y===void 0?{componentStack:"Please close your browser and login again"}:y;return L()("div",{},void 0,L()("h2",{},void 0,o?.message),L()("section",{},void 0,M?.componentStack))};H.displayName="DefaultErrorTemplate";var K=e("./lib/utils/log-records.ts");function Ne(a,s,o){return s=d()(s),u()(a,Qe()?Reflect.construct(s,o||[],d()(a).constructor):s.apply(a,o))}function Qe(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Qe=function(){return!!a})()}var Pt=function(a){function s(o){var y;return V()(this,s),y=Ne(this,s,[o]),y.state={error:null,errorInfo:null},y}return N()(s,a),Ae()(s,[{key:"componentDidCatch",value:function(y,M){this.setState({error:y,errorInfo:M});var W=Ct();W&&W.error(Object.assign({},K.V.UNHANDLED_ERROR,{exception:y,message:y.message}))}},{key:"render",value:function(){var y=this.props,M=y.children,W=y.errorTemplate,G=W||H,ue=this.state,xe=ue.error,ce=ue.errorInfo;return ce?L()(G,{error:xe,errorInfo:ce}):M}}])}(ae.Component),kt=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),Nt=e("./lib/data/useAppDispatch.ts"),Vt=function(a,s,o){var y=a.map(function(ce){return window.matchMedia(ce)}),M=(0,ae.useCallback)(function(){var ce=y.findIndex(function(ve){return ve.matches});return typeof s[ce]<"u"?s[ce]:o},[o,y,s]),W=(0,ae.useState)(M),G=ht()(W,2),ue=G[0],xe=G[1];return(0,ae.useEffect)(function(){var ce=function(){return xe(M)};return y.forEach(function(ve){return ve.addEventListener("change",ce)}),function(){return y.forEach(function(ve){return ve.removeEventListener("change",ce)})}},[M,y]),ue},t=function(){var a=(0,ae.useContext)(z.ThemeContext),s=Vt([`(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,Nt.j)();(0,ae.useEffect)(function(){o({type:l.change,payload:s}),(0,we.publish)(Fe.H1,s)},[s,o])},r=function(){(0,ae.useEffect)(function(){if(window.ResizeObserver){var a=new ResizeObserver(function(s){(0,we.publish)(Fe.BD,s&&s[0])});return a.observe(window.document.documentElement),function(){a.unobserve(window.document.documentElement)}}return function(){}},[])},v=e("./lib/view/session-timeout/index.tsx"),x=e("./lib/view/live-message/index.tsx"),T=e("./lib/view/error-toast/index.tsx"),D=e("./lib/view/wait-message/index.tsx");const B=(0,z.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 $,U,oe,Ee,ee,Oe=z.default.div.withConfig({componentId:"sc-1ho9g5n-0"})(["height:100%;"]),re=function(a){var s=a.manageSession,o=a.WaitMessage,y=a.children;return t(),r(),L()(kt.Ai,{},void 0,L()(Oe,{},void 0,$||($=L()(B,{})),s&&(U||(U=L()(v.S,{}))),oe||(oe=L()(x.I,{})),o||Ee||(Ee=L()(D.j,{})),ee||(ee=L()(T.Q,{})),y))};re.displayName="StandAloneApp";var Me=e("./lib/view/wait-message/use-html-wait-message.tsx"),Ge,At,rt,Bt=z.default.div.withConfig({componentId:"sc-njn2ro-0"})(["height:100%;"]),Kt=function(a){var s=a.WaitMessage,o=a.children;return t(),(0,Me.t)(!0),r(),L()(Bt,{},void 0,Ge||(Ge=L()(B,{})),s||At||(At=L()(D.j,{})),rt||(rt=L()(T.Q,{})),o)};Kt.displayName="HostedApp";var Ht=function(a){var s=St()||ot();return s?(0,ne.jsx)(re,Object.assign({},a)):(0,ne.jsx)(Kt,Object.assign({},a))},Tt=function(a){var s=a.store,o=a.history,y=a.basename,M=a.theme,W=M===void 0?(0,m.getDefaultTheme)():M,G=a.manageSession,ue=G===void 0?!1:G,xe=a.WaitMessage,ce=a.errorTemplate,ve=a.children,Ot=a.strictMode,ai=Ot===void 0?!0:Ot,li=ai?ae.StrictMode:ae.Fragment;return L()(li,{},void 0,L()(Pt,{errorTemplate:ce},void 0,L()(We.Provider,{store:s},void 0,L()(he,{history:o,basename:y},void 0,L()(z.ThemeProvider,{theme:W},void 0,L()(Ht,{manageSession:ue,WaitMessage:xe},void 0,ve))))))};Tt.displayName="AppRoot";var Rt=function(a,s,o){return L()(Tt,{store:s,history:He.N,theme:a},void 0,o())};Rt.displayName="withAppDecorator";var zt=e("./node_modules/.pnpm/@storybook+theming@6.5.16/node_modules/@storybook/theming/dist/esm/index.js"),Dt=["base","brandTitle"],Yt=function(a){var s=a.base,o=s===void 0?"light":s,y=a.brandTitle,M=y===void 0?"Platform UI Components":y,W=_e()(a,Dt);return(0,zt.vt)(Object.assign({base:o,brandTitle:`${M} 5.50.0`},W))},Jt=e("./node_modules/.pnpm/style-loader@2.0.0_webpack@5.108.4/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),Zt=e.n(Jt),Xt=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"),Gt={};Gt.insert="head",Gt.singleton=!1;var di=Zt()(Xt.A,Gt);const ui=Xt.A.locals||{};var Qt=(0,m.getDefaultTheme)(),qt=pt({},He.N),ei=Rt.bind(null,Qt,qt),ti=function(a){return{layout:"fullscreen",actions:{argTypesRegex:"^on.*"},controls:{hideNoControlsWarning:!0},docs:{theme:Yt(a)},options:{storySort:{method:"alphabetical",order:["Getting Started",["Introduction","Installation","Packages","Supported Browsers","Releases","Theme"],"Components"],locales:["en-US"]}},dependencies:{withStoriesOnly:!0,hideEmpty:!0}}},ii=[ei],si=[async function(){await(0,Je.y)("./")}],ni={brandTitle:"Application SDK",brandUrl:"https://github.com/intcx/PLATFORM-UI.pui-app-sdk.git"},ci=null,oi=ti(ni),ri=["decorators","parameters","loaders"]},"./lib/analytics/push-to-data-layer.ts"(_,g,e){"use strict";e.d(g,{U:()=>p});var m=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),c=e("./lib/utils/get-window.ts"),f=function(){var b,E,A,w,S,i,I,l=(0,c.z)(),O=l.document.title,P=document,C=P.title,j=(b=l==null||(E=l.emui)===null||E===void 0?void 0:E.appId)!==null&&b!==void 0?b:"",R=(A=l==null||(w=l.emui)===null||w===void 0?void 0:w.version)!==null&&A!==void 0?A:"",X=(S=(i=window)===null||i===void 0||(I=i.emui)===null||I===void 0?void 0:I.appId)!==null&&S!==void 0?S:"",le=l.location,te=le.pathname,de=le.href,F=window.location,ie=F.pathname,k=F.href;return{productId:j,productPath:te,productUrl:de,productPageTitle:O,version:R,appId:X,appPath:ie,appUrl:k,appPageTitle:C}},p=function(b){var E=Object.assign({},(0,m.QS)(),f(),b);window.gtmDataLayer=window.gtmDataLayer||[],window.gtmDataLayer.push(E)}},"./lib/communication/http-client/props.ts"(_,g,e){"use strict";e.d(g,{K:()=>l});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),c=e.n(m),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),p=e.n(f),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),E=e.n(b),A=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),w=e.n(A),S=w()("resetUserIdleTime"),i=w()("endSession"),I=function(){function O(){c()(this,O),Object.defineProperty(this,S,{writable:!0,value:function(){}}),Object.defineProperty(this,i,{writable:!0,value:async function(){}})}return p()(O,[{key:"resetUserIdleTime",get:function(){return E()(this,S)[S]},set:function(P){E()(this,S)[S]=P}},{key:"endSession",get:function(){return E()(this,i)[i]},set:function(P){E()(this,i)[i]=P}}])}(),l=new I},"./lib/data/error/index.ts"(_,g,e){"use strict";e.d(g,{L:()=>E,o:()=>b});var m=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"),c=e.n(m),f={description:"",messageText:""},p=(0,m.createSlice)({name:"error",initialState:f,reducers:{set:function(A,w){return w.payload},clear:function(){return f}}}),b=p.actions,E=p.reducer},"./lib/data/live-message/index.ts"(_,g,e){"use strict";e.d(g,{k:()=>E,o:()=>b});var m=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"),c=e.n(m),f={message:"",ariaLive:"polite",id:""},p=(0,m.createSlice)({name:"liveMessage",initialState:f,reducers:{announce:function(A,w){var S=w.payload,i=S.message,I=S.ariaLive,l=S.id;return{message:i,ariaLive:I,id:l}}}}),b=p.actions,E=p.reducer},"./lib/data/logout/actions.ts"(_,g,e){"use strict";e.d(g,{r:()=>c});var m={CONFIRM:"log-out/CONFIRM",CANCEL:"log-out/CANCEL"},c={confirm:function(){return{type:m.CONFIRM,payload:null}},cancel:function(){return{type:m.CANCEL,payload:null}}}},"./lib/data/useAppDispatch.ts"(_,g,e){"use strict";e.d(g,{j:()=>f});var m=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"),c=e.n(m),f=function(){return(0,m.useDispatch)()}},"./lib/data/useAppSelector.ts"(_,g,e){"use strict";e.d(g,{G:()=>f});var m=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"),c=e.n(m),f=m.useSelector},"./lib/data/wait-message/actions.ts"(_,g,e){"use strict";e.d(g,{X:()=>c,k:()=>m});var m={OPEN:"wait-message/OPEN",CLOSE:"wait-message/CLOSE"},c={open:function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"loading...",p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{type:m.OPEN,payload:{message:f,delay:p}}},close:function(){return{type:m.CLOSE,payload:null}}}},"./lib/data/webpack-hmr.ts"(_,g,e){"use strict";e.d(g,{I:()=>c});var m=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");_=e.hmd(_);var c=function(f){var p=null;try{var b,E;p=(b=(E=_)===null||E===void 0?void 0:E.hot)!==null&&b!==void 0?b:null}catch{p=null}p&&p.accept("./reducers",function(){(0,m.Dl)(f)})}},"./lib/utils/app-config/config.ts"(_,g,e){"use strict";e.d(g,{WE:()=>P,vF:()=>l,g3:()=>I});var m=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/has.js"),c=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/clone.js"),f=e.n(c),p=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/set.js"),b=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/get.js"),E=e.n(b);const A=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 w,S,i=A,I=function(j){i=j},l=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return f()(E()(i,j,R))},O=function(j,R){return S(i,j,R)},P=function(){return i},C=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return w(i,j)}},"./lib/utils/app-config/index.ts"(_,g,e){"use strict";e.d(g,{y:()=>S});var m=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),c=e.n(m),f=e("./node_modules/.pnpm/core-js@3.50.0/node_modules/core-js/modules/es.array.includes.js"),p=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),b=e("./lib/utils/app-config/config.ts"),E=function(){var i,I,l,O,P=((i=window)===null||i===void 0||(I=i.emui)===null||I===void 0?void 0:I._ASSET_PATH)||"latest/";if(!((l=window.emui)!==null&&l!==void 0&&l.version))return P;var C=(O=window.emui)===null||O===void 0?void 0:O.version.match(/^(?:\d+\.\d+)*/g);return C&&C[0]?P.replace("latest/",`${C[0]}/`):P},A=function(i){var I,l,O=i.activeEnv,P=i.env[O]||{};i.env&&delete i.env,(0,b.g3)(c()(i,P)),sessionStorage.setItem("envName",O),window.emui=window.emui||{},window.emui.appId=(I=(l=(0,b.vF)("appId"))!==null&&l!==void 0?l:window.emui.appId)!==null&&I!==void 0?I:"",(0,p.nE)({envName:O})},w=function(i){return i.replace(/(\d+\.\d+)(?!.*\d+\.\d+)/,"latest")},S=async function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E(),I=`${i.replace(/\/?$/,"/")}app.config.json`,l=w(i);try{var O=await fetch(I);if(!O.ok){if(i!==l){await S(l);return}var P=`App Config is not found at ${I}`;throw new Error(P)}var C=await O.json();A(C)}catch(R){var j;if(i!==l){await S(l);return}throw R!=null&&(j=R.message)!==null&&j!==void 0&&j.includes("Unexpected token")?new Error(`App config file at ${I} is not a valid JSON`):R}}},"./lib/utils/console-logger.ts"(_,g,e){"use strict";e.d(g,{k:()=>p});var m=e("@elliemae/pui-diagnostics"),c=e.n(m),f=e("./lib/utils/app-config/config.ts"),p=function(){return m.logger?(0,m.logger)({transport:(0,m.Console)(),index:"app",environment:(0,f.vF)("activeEnv"),team:"app team",appName:"ICEMT App",appVersion:"latest",instanceId:"",userId:""}):console}()},"./lib/utils/constants.ts"(_,g,e){"use strict";e.d(g,{BD:()=>p,H1:()=>b,J2:()=>c,eE:()=>E});const m={AUTHORIZATION:"Authorization",CLIENT_ID:"tirykwfo"};var c={WARN:12*60*1e3,EXPIRY:15*60*1e3},f=null,p="HOST_WINDOW_RESIZED",b="HOST_WINDOW_BREAKPOINT_CHANGED",E=6e4,A=15,w=60,S=3,i=null,I=null,l="Session warning interval must be less than session timeout interval.";e.d(g,["Ay",0,m])},"./lib/utils/get-window.ts"(_,g,e){"use strict";e.d(g,{z:()=>m});var m=function(){try{return window.parent.document,window.parent}catch{return window}}},"./lib/utils/history.ts"(_,g,e){"use strict";e.d(g,{N:()=>f,w:()=>p});var m=e("./node_modules/.pnpm/history@5.3.0/node_modules/history/umd/history.production.min.js"),c=e.n(m),f=(0,m.createBrowserHistory)(),p=(0,m.createMemoryHistory)()},"./lib/utils/log-records.ts"(_,g,e){"use strict";e.d(g,{V:()=>m});var m={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(c){return{code:"appsdk05",message:`Application load failed. unable to locate ${c} in the manifest`}},APP_INIT_FAILED:function(c,f,p){return{code:"appsdk06",message:`Application load failed. Unable to load one or more application resources for appId: ${c} and instanceId: ${f}. ${p}`}},APP_LOADING:function(c,f){return{code:"appsdk07",message:`Application ${c} with instanceId ${f} is loading...`}},APP_LOADING_COMPLETE:function(c,f){return{code:"appsdk08",message:`Application ${c} loaded with instanceId ${f}`}},APP_UNLOADING:function(c,f){return{code:"appsdk09",message:`Application ${c} with instanceId ${f} unloading...`}},APP_UNLOADING_COMPLETE:function(c,f){return{code:"appsdk10",message:`Application ${c} with instanceId ${f} unloaded`}},SSF_HOST_OBJECT_NOT_FOUND:function(c){return{code:"appsdk11",message:`Parent window doesn't expose SSF Object named ${c}`}},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"(_,g,e){"use strict";e.d(g,{B:()=>c,t:()=>f});var m=null,c=function(p){m=p},f=function(){return m}},"./lib/utils/logrocket.ts"(_,g,e){"use strict";e.d(g,{K3:()=>I,R_:()=>w,s7:()=>A});var m,c,f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),p=e.n(f),b=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),E=function(){var l;return(l=window.emui)===null||l===void 0?void 0:l.logRocket},A="X-ICE-AppSessionLink",w=function(){var l;return((l=E())===null||l===void 0?void 0:l.sessionURL)||""},S=function(l){var O={};return Object.entries(l).forEach(function(P){var C=m(P,2),j=C[0],R=C[1];O[j]=R??""}),O},i=function(l,O){var P=E();P&&(P.identify(l,S(O)),c(l))},I=function(l){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,b.As)(l,O)}},"./lib/utils/micro-frontend/app-bridge.ts"(_,g,e){"use strict";e.d(g,{b:()=>b});var m=e("./node_modules/.pnpm/@elliemae+pui-app-bridge@2.32.3_@elliemae+pui-diagnostics@3.12.6_@elliemae+pui-logrocket@1.5._doqwnpquvazd5ereffd3jsflna/node_modules/@elliemae/pui-app-bridge/dist/esm/appBridge.js"),c=e("./lib/utils/logger.ts"),f=e("./lib/utils/app-config/config.ts"),p=null,b=async function(){if(!p){var E,A,w,S=(0,c.t)(),i=((E=window.emui)===null||E===void 0?void 0:E.version)||"latest";p=new m.o({logger:S,version:i,appConfigBaseUrl:(A=window)===null||A===void 0||(w=A.emui)===null||w===void 0?void 0:w._ASSET_PATH}),await p.init((0,f.WE)());var I=(0,f.vF)("microFrontendApps");I&&Object.keys(I).forEach(function(l){return p.warmUp(l)})}return p}},"./lib/utils/micro-frontend/guest.ts"(_,g,e){"use strict";e.d(g,{h:()=>Et});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),c=e.n(m),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),p=e.n(f),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),E=e.n(b),A=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),w=e.n(A),S=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),i=e.n(S),I=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),l=e.n(I),O=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),P=e.n(O),C=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),j=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.1/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),R=e("./node_modules/.pnpm/@elliemae+ssf-guest@2.32.3_@elliemae+pui-logrocket@1.5.0/node_modules/@elliemae/ssf-guest/dist/esm/guest.js"),X=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),le=e("./lib/utils/get-window.ts"),te=e("./lib/utils/app-config/index.ts"),de=e("./lib/utils/app-config/config.ts"),F=e("./lib/utils/history.ts"),ie=e("./lib/utils/console-logger.ts"),k=e("./lib/utils/logger.ts"),Le=e("./node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js"),me,Y="storage",J="getSessionStorage",se="sessionStorage",pe=function(){return sessionStorage.length===0},fe=function(u){if(u.key===J)localStorage.setItem(se,JSON.stringify(sessionStorage)),localStorage.removeItem(se);else if(u.key===se&&u.newValue){var n=JSON.parse(u.newValue);n&&Object.keys(n).forEach(function(d){sessionStorage.setItem(d,n[d])})}},at=null,Ce=function(){window.addEventListener(Y,fe),pe()&&localStorage.setItem(J,`${Date.now()}`)},Te=function(){window.removeEventListener(Y,fe)},je=e("./lib/utils/micro-frontend/app-bridge.ts"),Re=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),Ve=function(){return!0},Be=function(){return Re.env.CI==="true"},Ue=/^(?:[a-z]+:)?\/\//,pt=function(u){return Ue.test(u)?u:new URL(u,document.location.origin).href},qe=function(u){var n=u.promise,d=u.delay,h=u.retValue,N=h===void 0?!1:h,H=u.throwError,K=H===void 0?!1:H,Ne=u.errMsg;return Promise.race([n,new Promise(function(Qe,Pt){setTimeout(function(){K?Pt(new Error(Ne)):Qe(N)},d)})])},L=e("./lib/utils/micro-frontend/ssf-host.ts"),He=function(){var u,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;if(n){var d=n,h=(u=d.emui)===null||u===void 0?void 0:u._ASSET_PATH;if(h){d.__webpack_public_path__=new URL("../",h).href;return}d.__webpack_public_path__=(d.__webpack_public_path__||"").replace(/\/?$/,"/")}},ae=["history"],We,z="app-container",ft=2e3,ht=1e3,Mt=function(){try{return window.parent.document,!1}catch{return!0}},_e=function(u){return u.SSF="ssf",u.APPSDK="app-sdk",u}(_e||{}),Lt="module.unmount",ne=l()("uuid"),Z=l()("communicationMethod"),he=l()("ssfHostRef"),Xe=l()("useV2Guest"),ge=l()("selfInitialize"),$e=l()("embeddedWithoutHost"),V=l()("appBridge"),De=l()("pendingInitialRoute"),Ae=l()("hostTeardownPromise"),Ie=l()("moduleUnmountSubToken"),Q=l()("handleModuleUnmount"),et=l()("boundOnWindowUnload"),tt=l()("addAppToGlobalVariable"),it=l()("removeLegacyGlobalRegistration"),gt=l()("onWindowUnload"),we=l()("getLegacyParentHost"),Ye=l()("tryConnectSSFGuest"),lt=l()("resolveHistory"),bt=l()("discoverHost"),Se=l()("exposeGetHost"),Je=l()("initAppBridge"),dt=l()("applyModuleParams"),jt=l()("applyHistoryFromParams"),Fe=l()("applyInitialRoute"),be=l()("loadConfigAndBridge"),Ze=l()("trackAnalyticsAndOnInit"),ye=l()("internalTeardown"),st=l()("bindModuleUnmountListener"),yt=l()("unbindModuleUnmountListener"),ke=l()("completeWithoutHost"),ut=l()("fetchModuleScriptingObject"),Et=function(){function u(n){var d=this,h,N,H;E()(this,u),Object.defineProperty(this,ut,{value:Ft}),Object.defineProperty(this,ke,{value:$t}),Object.defineProperty(this,yt,{value:_t}),Object.defineProperty(this,st,{value:Wt}),Object.defineProperty(this,ye,{value:Ut}),Object.defineProperty(this,Ze,{value:Ct}),Object.defineProperty(this,be,{value:St}),Object.defineProperty(this,Fe,{value:wt}),Object.defineProperty(this,jt,{value:ot}),Object.defineProperty(this,dt,{value:mt}),Object.defineProperty(this,Je,{value:It}),Object.defineProperty(this,Se,{value:vt}),Object.defineProperty(this,bt,{value:nt}),Object.defineProperty(this,lt,{value:xt}),Object.defineProperty(this,Ye,{value:ct}),Object.defineProperty(this,we,{value:ze}),Object.defineProperty(this,gt,{value:Ke}),Object.defineProperty(this,it,{value:q}),Object.defineProperty(this,tt,{value:Pe}),Object.defineProperty(this,ne,{writable:!0,value:void 0}),this.logger=void 0,this.appId=void 0,this.props=void 0,Object.defineProperty(this,Z,{writable:!0,value:void 0}),Object.defineProperty(this,he,{writable:!0,value:void 0}),Object.defineProperty(this,Xe,{writable:!0,value:void 0}),Object.defineProperty(this,ge,{writable:!0,value:void 0}),Object.defineProperty(this,$e,{writable:!0,value:void 0}),Object.defineProperty(this,V,{writable:!0,value:null}),Object.defineProperty(this,De,{writable:!0,value:null}),Object.defineProperty(this,Ae,{writable:!0,value:null}),Object.defineProperty(this,Ie,{writable:!0,value:null}),Object.defineProperty(this,Q,{writable:!0,value:async function(){return await i()(d,ye)[ye](),!0}}),Object.defineProperty(this,et,{writable:!0,value:function(){i()(d,gt)[gt]()}}),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,de.vF)("appId"),i()(this,ne)[ne]=window.emui.uuid,i()(this,Z)[Z]=_e.APPSDK,this.props={host:null,hostUrl:null,prevState:null,history:n?.history||F.N,theme:(0,j.getDefaultTheme)(),manifestPath:"./latest",containerId:z},this.logger=n?.logger||ie.k,(0,k.B)(this.logger),n!=null&&n.ssfHostRef&&(0,L.Z)(n.ssfHostRef),i()(this,he)[he]=(0,L.F)(),i()(this,Xe)[Xe]=n?.useV2Guest!==!1,i()(this,ge)[ge]=(N=n?.selfInitialize)!==null&&N!==void 0?N:!1,i()(this,$e)[$e]=(H=n?.embeddedWithoutHost)!==null&&H!==void 0?H:!1,this.onInit=n?.onInit,this.onMount=n?.onMount,this.onUnmount=n?.onUnmount,this.onGetRef=n?.onGetRef,i()(this,$e)[$e]&&!i()(this,ge)[ge]&&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,ge)[ge]?window.addEventListener("beforeunload",i()(this,et)[et]):i()(this,tt)[tt]()}return w()(u,[{key:"getHost",value:function(){return this.props.host}},{key:"getLogger",value:function(){return this.logger}},{key:"getObject",value:function(d){var h=null;return i()(this,Z)[Z]===_e.SSF?(h=this.getHost(),h.getObject(d)):(h=this.getHost(),h?h.getObject(d):Promise.resolve(null))}},{key:"subscribe",value:function(d){var h=null;return i()(this,Z)[Z]===_e.SSF?(h=this.getHost(),h.subscribe(d)):(h=this.getHost(),h.subscribe(d))}},{key:"unsubscribe",value:function(d){var h=null;if(i()(this,Z)[Z]===_e.SSF){h=this.getHost(),h.unsubscribe(d);return}h=this.getHost(),h.unsubscribe(d)}},{key:"getProps",value:function(){return this.props}},{key:"getSessionStorageItem",value:function(d){var h=sessionStorage.getItem(d),N=this.getHost();return!h&&N!==null&&N!==void 0&&N.getItem&&(h=N.getItem(d)),h}},{key:"findHost",value:async function(){var d=i()(this,we)[we]();return d||(i()(this,Xe)[Xe]?i()(this,Ye)[Ye]():null)}},{key:"uuid",get:function(){return i()(this,ne)[ne]}},{key:"initialize",value:async function(){He();var d=window.top===window.self&&!window.opener;if(d)return await i()(this,be)[be](),i()(this,ke)[ke]("standalone");if(i()(this,$e)[$e])return await i()(this,be)[be](),i()(this,ke)[ke]("embeddedWithoutHost");var h=await Promise.all([i()(this,bt)[bt](),i()(this,be)[be]()]),N=p()(h,1),H=N[0];if(!H)return i()(this,ke)[ke]("discoveryFallback");this.props.host=H,i()(this,Se)[Se]();var K={moduleId:this.appId};try{var Ne=await i()(this,ut)[ut]();Ne?(K=await Ne.getParameters(),i()(this,dt)[dt](K)):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,Ze)[Ze](),i()(this,st)[st](),K}},{key:"init",value:async function(d){var h=this,N=d??{},H=N.history,K=c()(N,ae);if(this.props=P()(this.props,K),!this.props.host){var Ne=await this.findHost();Ne?this.props.host=Ne:this.logger.warn("unable to connect to host microapp")}return i()(this,Se)[Se](),He(),(0,te.y)().then(function(){var Qe=h.getSessionStorageItem("instanceId")||"",Pt=h.getSessionStorageItem("userId")||"";(0,X.nE)({appId:h.appId,instanceId:Qe,userId:Pt});var kt=i()(h,lt)[lt](H);return!kt&&d!==null&&d!==void 0&&d.initialRoute&&(i()(h,De)[De]=typeof d.initialRoute=="string"?d.initialRoute:d.initialRoute.pathname||null),(0,je.b)().then(function(Nt){i()(h,V)[V]=Nt,h.onInit&&h.onInit(h.props),i()(h,st)[st]()})})}},{key:"mount",value:function(){var d=this,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{containerId:z};return this.props.containerId=h?.containerId,Promise.resolve().then(function(){i()(d,De)[De]&&(d.props.history.push(i()(d,De)[De]),i()(d,De)[De]=null),d.onMount&&d.onMount(h)})}},{key:"unmount",value:function(d){var h=this;return Te(),Promise.resolve().then(function(){return h.onUnmount?h.onUnmount(d):null})}},{key:"getRef",value:function(){return this.onGetRef?this.onGetRef():null}},{key:"navigate",value:function(d,h){d&&this.props.history.push(d,h)}},{key:"addScriptingObject",value:function(d,h){i()(this,V)[V]&&i()(this,V)[V].addScriptingObject(d,h),i()(this,he)[he].addScriptingObject(d,h)}},{key:"dispatchEvent",value:async function(d){if(i()(this,V)[V]){var h=await Promise.all([i()(this,V)[V].dispatchEvent(d),i()(this,he)[he].dispatchEvent(d)]),N=p()(h,2),H=N[0],K=N[1];return Array.isArray(H)&&Array.isArray(K)?H.concat(K):Promise.resolve()}return i()(this,he)[he].dispatchEvent(d)}},{key:"removeScriptingObject",value:function(d,h){i()(this,V)[V]&&i()(this,V)[V].removeScriptingObject(d,h),i()(this,he)[he].removeScriptingObject(d,h)}}],[{key:"getInstance",value:function(d){return this.instance||(this.instance=new u(d),d!=null&&d.selfInitialize||(d?.logger||ie.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 d,h;return!!((d=this.instance)!==null&&d!==void 0&&(h=d.props)!==null&&h!==void 0&&h.host)}}])}();We=Et;function Pe(){var u=this,n=(0,le.z)();if(n){n.emui=n.emui||{};var d=this.unmount.bind(this),h={uuid:i()(this,ne)[ne],init:this.init.bind(this),mount:this.mount.bind(this),unmount:function(K){return K!=null&&K.containerId&&(u.props.containerId=K.containerId),u.props.host?i()(u,ye)[ye]().then(function(){return null}):d(K)},getRef:this.getRef.bind(this),navigate:this.navigate.bind(this)};if(n.emui[this.appId])if(Array.isArray(n.emui[this.appId])){var N=n.emui[this.appId],H=N.findIndex(function(K){return K.uuid===i()(u,ne)[ne]});H>-1?N[H]=h:N.push(h)}else n.emui[this.appId].uuid===i()(this,ne)[ne]?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,et)[et])}}function q(){var u=this;if(!i()(this,ge)[ge]){var n=(0,le.z)();if(n!=null&&n.emui){if(Array.isArray(n.emui[this.appId])){var d=n.emui[this.appId],h=d.findIndex(function(N){return N.uuid===i()(u,ne)[ne]});h>-1&&d.splice(h,1),d.length===0&&delete n.emui[this.appId]}else delete n.emui[this.appId];delete window.emui.app}}}function Ke(){if(this.props.host){i()(this,ye)[ye]().catch(function(){});return}if(!i()(this,ge)[ge]){i()(this,it)[it](),this.unmount({containerId:this.props.containerId}).catch(function(){});return}i()(this,ye)[ye]().catch(function(){})}function ze(){var u,n,d;return Mt()?null:(u=(n=window.parent)===null||n===void 0||(d=n.emui)===null||d===void 0?void 0:d.MicroAppHost)!==null&&u!==void 0?u:null}async function ct(){var u=new R.p({appLogger:this.logger});try{var n=await qe({promise:u.connect(),delay:ht,retValue:!0});if(!n)return i()(this,Z)[Z]=_e.SSF,u}catch{}return null}function xt(u){if(i()(this,Z)[Z]===_e.SSF)return this.props.history=F.N,!1;var n=(0,de.vF)("useParentHistory",!0);return n&&u?this.props.history=u:!n&&window!==window.parent&&(this.props.history=F.w),n}async function nt(){var u;if((u=window.emui)!==null&&u!==void 0&&u.__host)return window.emui.__host;var n=i()(this,we)[we]();return n||(i()(this,Xe)[Xe]?i()(this,Ye)[Ye]():null)}function vt(){var u=this;window.emui=window.emui||{},window.emui.getHost=function(){var n;return(n=u.props.host)!==null&&n!==void 0?n:null}}async function It(){i()(this,V)[V]=await(0,je.b)()}function mt(u){u.homeRoute&&(this.props.homeRoute=u.homeRoute),u.theme&&(this.props.theme=u.theme),u.hostUrl&&(this.props.hostUrl=u.hostUrl),u.manifestPath&&(this.props.manifestPath=u.manifestPath),u.containerId&&(this.props.containerId=u.containerId),i()(this,jt)[jt](u)}function ot(u){if(i()(this,Z)[Z]===_e.SSF){this.props.history=F.N;return}var n=(0,de.vF)("useParentHistory",!0);n&&u.history?this.props.history=u.history:!n&&window!==window.parent&&(this.props.history=F.w),i()(this,Fe)[Fe](u,n)}function wt(u,n){if(!(!u.initialRoute||n)){var d=typeof u.initialRoute=="string"?u.initialRoute:u.initialRoute.pathname;d&&this.props.history.push(d)}}async function St(){await(0,te.y)(),await i()(this,Je)[Je]()}function Ct(){var u=this.getSessionStorageItem("instanceId")||"",n=this.getSessionStorageItem("userId")||"";(0,X.nE)({appId:this.appId,instanceId:u,userId:n}),this.onInit&&this.onInit(this.props)}function Ut(){var u=this;return i()(this,Ae)[Ae]||(i()(this,Ae)[Ae]=Promise.resolve().then(function(){i()(u,it)[it]()}).then(function(){return u.unmount({containerId:u.props.containerId})}).then(function(){i()(u,yt)[yt]()}).catch(function(n){throw i()(u,Ae)[Ae]=null,n})),i()(this,Ae)[Ae]}function Wt(){if(!(i()(this,Ie)[Ie]||!this.props.host))try{i()(this,Ie)[Ie]=this.subscribe({eventId:Lt,callback:i()(this,Q)[Q]})}catch{this.logger.warn("Unable to subscribe to module.unmount from host \u2014 continuing without host teardown listener")}}function _t(){i()(this,Ie)[Ie]&&(this.unsubscribe({eventId:Lt,token:i()(this,Ie)[Ie]}),i()(this,Ie)[Ie]=null)}function $t(u){return u==="standalone"?(this.logger.info("Running in standalone mode \u2014 skipping host discovery"),i()(this,Se)[Se](),i()(this,lt)[lt]()):u==="embeddedWithoutHost"?(this.logger.info("embeddedWithoutHost enabled \u2014 skipping host discovery"),i()(this,Se)[Se]()):(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,Se)[Se]()),i()(this,Ze)[Ze](),{moduleId:this.appId}}async function Ft(){var u="module",n=this.getObject(u);return i()(this,Z)[Z]!==_e.SSF?n:qe({promise:n,delay:ft,throwError:!0,errMsg:`Timed out waiting for module scripting object from host (${ft}ms)`})}Et.instance=void 0},"./lib/utils/micro-frontend/ssf-host.ts"(_,g,e){"use strict";e.d(g,{F:()=>E,Z:()=>A});var m=e("./node_modules/.pnpm/@elliemae+ssf-host@2.32.3_@elliemae+pui-diagnostics@3.12.6/node_modules/@elliemae/ssf-host/dist/esm/host.js"),c=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),f=e("./lib/utils/logger.ts"),p=e("./lib/utils/app-config/config.ts"),b=null,E=function(){if(!b){var w=(0,f.t)();b=new m.P((0,p.vF)("appId"),{logger:w,analyticsObj:new c.j({logger:w})})}return b},A=function(w){b||(b=w)}},"./lib/utils/page-wake.ts"(_,g,e){"use strict";e.d(g,{v:()=>m});var m=function(c){var f=!1,p=function(){f||(f=!0,queueMicrotask(function(){f=!1,c()}))},b=function(){document.hidden||p()};return document.addEventListener("visibilitychange",b),window.addEventListener("pageshow",p),window.addEventListener("focus",p),function(){document.removeEventListener("visibilitychange",b),window.removeEventListener("pageshow",p),window.removeEventListener("focus",p)}}},"./lib/utils/session-timeout-config.ts"(_,g,e){"use strict";e.d(g,{BH:()=>E,Gw:()=>S,vG:()=>i});var m=e("./lib/utils/app-config/config.ts"),c=e("./lib/utils/constants.ts"),f,p,b=function(I){return I*6e4},E=function(){f=void 0,p=void 0},A=function(I){var l=I.sessionExpiryInterval,O=I.sessionWarnInterval;f=b(l-O),p=b(l)},w=function(I,l){var O=(0,m.vF)(I);if(O==null||O==="")return l;var P=Number(O);return Number.isFinite(P)&&P>0?P:l},S=function(){return f===void 0&&(f=w("sessionTimeoutWarnInterval",c.J2.WARN)),f},i=function(){if(p===void 0){var I=S(),l=w("sessionTimeoutInterval",c.J2.EXPIRY);p=l>I?l:I+1}return p}},"./lib/utils/session.ts"(_,g,e){"use strict";e.d(g,{lQ:()=>Ne,LC:()=>Qe,KB:()=>u,oB:()=>$t,z3:()=>N,lD:()=>Nt,n5:()=>kt,Lw:()=>Pt});var m=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),c=e.n(m),f=function(t){window.emui.loginParams=Object.assign({redirectUri:new URL(window.location.href).href},t)},p=function(){if(!window.emui.loginParams){var t=JSON.parse(sessionStorage.getItem("user")||"{}"),r=t.client_id||"",v=t.scope||"";window.emui.loginParams={clientId:r,scope:v}}return window.emui.loginParams},b=e("./lib/utils/constants.ts"),E,A=function(){return sessionStorage.getItem(b.Ay.AUTHORIZATION)||""},w=function(t){sessionStorage.setItem(E.AUTHORIZATION,t)},S=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"),I=e("./lib/utils/app-config/config.ts"),l=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),O=e.n(l),P;function C(t,r){var v=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!v){if(Array.isArray(t)||(v=j(t))||r&&t&&typeof t.length=="number"){v&&(t=v);var x=0,T=function(){};return{s:T,n:function(){return x>=t.length?{done:!0}:{done:!1,value:t[x++]}},e:function(U){throw U},f:T}}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 D,B=!0,$=!1;return{s:function(){v=v.call(t)},n:function(){var U=v.next();return B=U.done,U},e:function(U){$=!0,D=U},f:function(){try{B||v.return==null||v.return()}finally{if($)throw D}}}}function j(t,r){if(t){if(typeof t=="string")return R(t,r);var v={}.toString.call(t).slice(8,-1);return v==="Object"&&t.constructor&&(v=t.constructor.name),v==="Map"||v==="Set"?Array.from(t):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?R(t,r):void 0}}function R(t,r){(r==null||r>t.length)&&(r=t.length);for(var v=0,x=Array(r);v<r;v++)x[v]=t[v];return x}var X=function(t){return t},le=function(t,r){var v,x;r=r||P,(v=r)!==null&&v!==void 0&&(x=v.interceptors)!==null&&x!==void 0&&x.response&&r.interceptors.response.eject(t)},te=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 v=!1,x=C(r.statusCodesToRetry),T;try{for(x.s();!(T=x.n()).done;){var D=T.value,B=O()(D,2),$=B[0],U=B[1],oe=t.response.status;if(oe>=$&&oe<=U){v=!0;break}}}catch(Ee){x.e(Ee)}finally{x.f()}if(!v)return!1}return r.currentRetryAttempt=r.currentRetryAttempt||0,!(r.currentRetryAttempt>=r.retry)},de=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 v=[[100,199],[429,429],[500,599]];r.statusCodesToRetry=r.statusCodesToRetry||v,t.config.retryConfig=r;var x=r.shouldRetry||te;if(!x(t))return Promise.reject(t);var T=new Promise(function(B){var $=(2**r.currentRetryAttempt-1)/2*1e3;t.config.retryConfig.currentRetryAttempt+=1,setTimeout(B,$)}),D=r.onRetryAttempt?Promise.resolve(r.onRetryAttempt(t)):Promise.resolve();return Promise.resolve().then(function(){return T}).then(function(){return D}).then(function(){return r.instance.request(t.config)})},F=function(t){var r,v;return t=t||i.A,(r=t)!==null&&r!==void 0&&(v=r.interceptors)!==null&&v!==void 0&&v.response?t.interceptors.response.use(X,de):null},ie=function(t){return t&&t.config?t.config.retryConfig:null},k=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 v=ie(r);v&&v.currentRetryAttempt}}},Le=function(t){t!=null&&t.defaults&&(t.defaults.retryConfig=k(t)),F(t)};const me=Le;var Y=e("./lib/utils/logrocket.ts"),J=e("./lib/communication/http-client/props.ts");function se(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return function(r){if(J.K.resetUserIdleTime(),t){var v=(0,Y.R_)();v&&r.headers.set(Y.s7,v)}return r}}var pe=401,fe=null,at=function(t){fe=t},Ce=function(t){return t},Te=function(t){var r=(t||{}).response||{},v=r.status;if(v===pe){if(fe&&typeof fe=="function")return fe(t).then(function(x){var T=t.config;if(!(T!=null&&T.headers))throw t;return T.headers.Authorization=x,new Promise(function(D,B){i.A.request(T).then(D).catch(B)})}).catch(function(x){return Promise.reject(x)});if(J.K.endSession)return J.K.endSession(Object.assign({},p(),{skipRevoke:!0})).then(function(){return Promise.reject(t)}).catch(function(){return Promise.reject(t)})}return Promise.reject(t)},je,Re,Ve=null,Be=2*60*1e3,Ue=function(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=r.baseURL,x=v===void 0?(0,I.vF)("serviceEndpoints.api",""):v,T=r.headers,D=T===void 0?{}:T,B=r.sendLogRocketSessionHeader,$=B===void 0?!0:B,U=i.A.create({baseURL:x,headers:D});U!=null&&(t=U.defaults)!==null&&t!==void 0&&t.timeout&&(U.defaults.timeout=Be),me(U);var oe=U?.interceptors||{},Ee=oe.request,ee=oe.response;return Ee&&Ee.use(se($)),ee&&ee.use(Ce,Te),U},pt=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.baseURL,v=t.headers,x=v===void 0?{}:v,T=t.sendLogRocketSessionHeader,D=T===void 0?!0:T,B=je(t,Ve);return Ue(Object.assign({baseURL:r,headers:Object.assign({Authorization:Re()},x),sendLogRocketSessionHeader:D},B))},qe,L=async function(t){var r=t.code,v=t.clientId,x=t.scope,T=t.redirectUri,D=new URLSearchParams;D.append("grant_type","authorization_code"),D.append("client_id",v),D.append("redirect_uri",T),D.append("scope",x),D.append("code",r);var B=await qe().post("/oauth2/v1/token",D),$=B.data;return{tokenType:$.token_type,accessToken:$.access_token}},He=async function(t){var r=t.clientId,v=t.token,x=new URLSearchParams;x.append("token",v),x.append("client_id",r),await Ue().post("/oauth2/v1/token/revocation",x)},ae=async function(t){var r=t.clientId,v=t.accessToken,x=new URLSearchParams;x.append("token",v),x.append("client_id",r);var T=await Ue().post("/oauth2/v1/token/introspection",x),D=T.data;return D},We=e("./lib/utils/logger.ts"),z=e("./lib/utils/log-records.ts"),ft=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),ht=e("./lib/analytics/push-to-data-layer.ts"),Mt,_e,Lt=function(t){var r=t.instanceId,v=t.userId;Mt({instanceId:r,userId:v}),_e({event:"login"})},ne=function(){(0,ht.U)({event:"logout"}),(0,ft.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"),he,Xe,ge,$e,V,De,Ae,Ie,Q,et,tt,it,gt,we,Ye="serviceEndpoints.idp",lt=function(){return!!Q()},bt=function(){var t=new URL(window.location.href),r=t.searchParams.get("code")||"",v=t.searchParams.get("error_code")||"";return t.search="",{code:r,idpErrorCode:v,redirectUri:t.href}},Se=function(t){var r=t.clientId,v=t.redirectUri,x=t.idpErrorCode,T=t.scope,D=t.responseType,B=t.instanceId,$=t.siteId,U=t.userId,oe=t.disableRememberMe,Ee=t.useCompactIdpPage,ee=t.isSSO,Oe=tt(Ye,""),re=new URL("/authorize",Oe),Me=Object.assign({client_id:r,redirect_uri:v,response_type:D??"",scope:T},B!==void 0&&{instance_id:String(B)},$!==void 0&&{site_id:String($)},U!==void 0&&{user_id:U},oe!==void 0&&{disable_remember_me:String(oe)},Ee!==void 0&&{tpoifr:String(Ee)},ee!==void 0&&{is_sso:String(ee)}),Ge=new URLSearchParams(x?Object.assign({},Me,{error_code:x}):Me);re.search=Ge.toString(),window.location.replace(re.href)},Je=async function(t){var r=t.clientId,v=t.redirectUri,x=t.responseType,T=t.scope,D=t.code,B=D===void 0?"":D,$=t.customLogoutUrl,U=$===void 0?"":$,oe=t.skipRevoke,Ee=oe===void 0?!1:oe;try{var ee=A();sessionStorage.clear();var Oe=ee?ee.split(" ")[1]:"";Ee||await He({clientId:r,token:Oe}),ne(),(0,Y.K3)("logout"),(0,Z.E3)(),(0,ft.nE)({instanceId:"",userId:""});var re;if(U)re=new URL("/",U);else{var Me=(0,I.vF)(Ye,"");re=new URL("/authorize",Me);var Ge=Object.assign({client_id:r,redirect_uri:v||""},B&&{error_code:B},{response_type:x||"",scope:T}),At=new URLSearchParams(Ge);re.search=At.toString()}window.location.replace(re.href)}catch(Bt){var rt;(rt=(0,We.t)())===null||rt===void 0||rt.error(Object.assign({},z.V.LOGOUT_FAILED,{exception:Bt}))}},dt=async function(t){var r=t.code,v=t.redirectUri,x=t.clientId,T=t.scope,D=t.responseType,B=t.isConsumerUser;try{var $=await ge({code:r,clientId:x,scope:T,redirectUri:v}),U=$.tokenType,oe=$.accessToken;gt({clientId:x,scope:T,responseType:D,redirectUri:v});var Ee=`${U} ${oe}`;et(Ee);var ee=await $e({clientId:x,accessToken:oe});sessionStorage.setItem("user",JSON.stringify(ee));var Oe=ee.encompass_instance_id,re=ee.user_name,Me=ee.bearer_token,Ge=ee.user_key,At={bearerToken:Me,realm:Oe,userName:re,sessionId:Me?.replace(`${Oe} `,"")};sessionStorage.setItem("cred",JSON.stringify(At)),sessionStorage.setItem("instanceId",Oe),sessionStorage.setItem("userId",re),De({instanceId:Oe,userId:re}),he({instanceId:Oe,userId:re});var rt={name:re,instanceId:Oe};Ae(Ge,rt),Ie("login",rt);var Bt=await V({userName:re,isConsumerUser:B});sessionStorage.setItem("userSettings",JSON.stringify(Bt));var Kt=new URL(v).pathname;Xe.replace(Kt)}catch(Dt){var Ht,Tt,Rt,zt=Dt==null||(Ht=Dt.response)===null||Ht===void 0||(Tt=Ht.data)===null||Tt===void 0?void 0:Tt.code;await Je({clientId:x,redirectUri:v,code:zt,scope:T,responseType:D}),(Rt=we())===null||Rt===void 0||Rt.error(Object.assign({},it.LOGIN_FAILED,{exception:Dt}))}},jt=async function(t){var r=t.clientId,v=t.scope,x=t.responseType,T=t.isConsumerUser,D=t.instanceId,B=t.siteId,$=t.userId,U=t.disableRememberMe,oe=t.useCompactIdpPage,Ee=t.isSSO,ee=bt(),Oe=ee.code,re=ee.idpErrorCode,Me=ee.redirectUri,Ge={clientId:r,scope:v,responseType:x,redirectUri:Me,code:Oe,idpErrorCode:re,isConsumerUser:T,instanceId:D,siteId:B,userId:$,disableRememberMe:U,useCompactIdpPage:oe,isSSO:Ee};return Oe?(await dt(Ge),{authorized:!0}):(Se(Ge),{authorized:!1})},Fe=e("./lib/utils/page-wake.ts"),be=e("./lib/utils/session-timeout-config.ts"),Ze,ye,st,yt,ke,ut,Et,Pe,q,Ke=Date.now(),ze=[],ct=[],xt=[],nt=["click","scroll","keypress","touchstart"],vt=!1,It=!1,mt,ot,wt,St=function(){It=!1,vt=!1,wt=null},Ct=function(){return Date.now()-Ke>(0,be.Gw)()},Ut=function(){return Date.now()-Ke>(0,be.vG)()},Wt=function(){return Promise.resolve().then(function(){ct.forEach(function(t){return t()})})},_t=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;St(),Ke=Date.now(),Promise.resolve().then(function(){xt.forEach(function(r){return r(t)})}).catch(function(){})},$t=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;H(t===!0)&&_t(t)},Ft=function(t){var r=t.sessionExpiryInterval,v=r===void 0?ye:r,x=t.sessionWarnInterval,T=x===void 0?st:x;if(v<ye)throw new Error(yt);if(v>ke)throw new Error(ut);if(T>=v)throw new Error(Et);q({sessionExpiryInterval:v,sessionWarnInterval:T}),Qe(!1)},u=async function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(H(t===!0)){var r=p();try{if(_t(!0),r!=null&&r.clientId){var v=A();if(!v)throw new Error("Authorization token not found to extend session");var x=v.split(" ")[1];await ae({clientId:r.clientId,accessToken:x})}}catch(D){var T;(T=(0,We.t)())===null||T===void 0||T.error(Object.assign({},z.V.SESSION_RENEWAL_FAILED,{exception:D})),await Je(Object.assign({},r,{skipRevoke:!0}))}}},n=c()(function(){u().catch(function(){})},b.eE,{leading:!0}),d=function(){nt.forEach(function(t){document.removeEventListener(t,n)})},h=function(){vt=!0,wt=Date.now(),d(),Promise.resolve().then(function(){ze.forEach(function(t){return t(wt)})}).catch(function(){})},N=function(){var t;d(),(t=ot)===null||t===void 0||t(),ot=void 0,clearInterval(mt),St(),ze.length=0,ct.length=0};function H(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return It?!1:Ut()?(It=!0,Wt().then(function(){N()}).catch(function(){}),!1):!vt&&Ct()?(h(),!1):!(vt&&!t)}var K=function(t,r){var v=t.findIndex(function(x){return x===r});v>-1&&t.splice(v,1)},Ne=function(){nt.forEach(function(t){document.addEventListener(t,n)})},Qe=function(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;clearInterval(mt),(t=ot)===null||t===void 0||t(),d(),r&&(0,be.BH)(),St(),Ne(),ot=(0,Fe.v)(H),mt=setInterval(H,1e3)},Pt=function(t){return ze.push(t),K.bind(null,ze,t)},kt=function(t){return ct.push(t),K.bind(null,ct,t)},Nt=function(t){return xt.push(t),K.bind(null,xt,t)},Vt=function(t,r){if(!t)return function(){};var v=Ze(r,Pe,{leading:!0});return nt.forEach(function(x){return t.addEventListener(x,v)}),function(){nt.forEach(function(x){return t.removeEventListener(x,r)}),nt.forEach(function(x){return t.removeEventListener(x,v)})}}},"./lib/view/error-toast/index.tsx"(_,g,e){"use strict";e.d(g,{Q:()=>l});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),c=e.n(m),f=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),p=e("./node_modules/.pnpm/@elliemae+ds-toast@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-toast/dist/esm/parts/DSToast.js"),b=e("./node_modules/.pnpm/@elliemae+ds-toast@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-toast/dist/esm/toast.js"),E=e("./node_modules/.pnpm/@elliemae+ds-toast@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-toast/dist/esm/constants.js"),A=e("./lib/data/useAppDispatch.ts"),w=e("./lib/data/useAppSelector.ts"),S=e("./lib/data/error/index.ts"),i=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),I=["position","messageTitle","type","description","messageText","messageComponent"],l=(0,f.memo)(function(O){var P=(0,w.G)(function(j){return j?.error}),C=(0,A.j)();return(0,f.useEffect)(function(){if(P&&(P!=null&&P.description||P!=null&&P.messageText)){var j=Object.assign({position:E.xJ.TOP_RIGHT,messageTitle:"Error",type:E.Ck.ERROR},O,P),R=j.position,X=j.messageTitle,le=j.type,te=j.description,de=j.messageText,F=j.messageComponent,ie=c()(j,I),k=te||de;k&&(0,b.o)({messageText:k,messageTitle:X,type:le,messageComponent:F},Object.assign({position:R},ie)),C(S.o.clear())}},[P,O,C]),(0,i.jsx)(p.P_,Object.assign({},O))})},"./lib/view/live-message/index.tsx"(_,g,e){"use strict";e.d(g,{I:()=>b});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),c=e.n(m),f=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),p=e("./lib/data/useAppSelector.ts"),b=function(){var E=(0,p.G)(function(w){var S;return(S=w.liveMessage)===null||S===void 0?void 0:S.message}),A=(0,p.G)(function(w){var S;return(S=w.liveMessage)===null||S===void 0?void 0:S.ariaLive});return c()(f.Iu,{message:E,"aria-live":A})};b.displayName="LiveMessage"},"./lib/view/modals/session-expiry/index.tsx"(_,g,e){"use strict";e.d(g,{_:()=>Le});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),c=e.n(m),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),p=e.n(f),b=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),E=e("./node_modules/.pnpm/@elliemae+ds-button-v2@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV2/DSButtonV2.js"),A=e("./node_modules/.pnpm/@elliemae+ds-icons@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-icons/dist/esm/WarningCircle.js"),w=e("./node_modules/.pnpm/@elliemae+ds-hooks-focus-trap@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-hooks-focus-trap/dist/esm/DSHookOnFirstFocusIn.js"),S=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/DSDialog.js"),i=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogBody/DSDialogBody.js"),I=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogDefaultLayout/DSDialogDefaultLayout.js"),l=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogPrimaryMessage/DSDialogPrimaryMessage.js"),O=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSecondaryMessage/DSDialogSecondaryMessage.js"),P=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSeparator/DSDialogSeparator.js"),C=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogFooter/DSDialogFooter.js"),j=e("./lib/data/useAppDispatch.ts"),R=e("./lib/data/logout/actions.ts"),X=e("./lib/utils/session.ts"),le=e("./lib/utils/page-wake.ts"),te=e("./lib/utils/session-timeout-config.ts"),de=function(me){var Y=Math.max(0,Math.floor(me/1e3)),J=Math.floor(Y/60),se=Y%60;return`${String(J).padStart(2,"0")}:${String(se).padStart(2,"0")}`},F=function(me){var Y=(0,b.useState)(),J=p()(Y,2),se=J[0],pe=J[1];return(0,b.useEffect)(function(){var fe=(0,te.Gw)(),at=(0,te.vG)(),Ce=me+(at-fe),Te=function(){pe(de(Ce-Date.now()))};Te();var je=setInterval(Te,1e3),Re=(0,le.v)(Te);return function(){clearInterval(je),Re()}},[me]),se},ie,k,Le=(0,b.memo)(function(me){var Y=me.open,J=me.warningNotifiedAt,se=J===void 0?0:J,pe=(0,b.useState)(Y),fe=p()(pe,2),at=fe[0],Ce=fe[1],Te=F(se),je=(0,j.j)(),Re=(0,b.useRef)(null),Ve=(0,b.useRef)(null),Be=(0,w.r)({firstElementRef:Re,lastElementRef:Ve});(0,b.useEffect)(function(){Ce(Y)},[Y]);var Ue=async function(){Ce(!1),await(0,X.KB)(!0),(0,X.lQ)(),je(R.r.cancel())},pt=function(){Ce(!1),je(R.r.confirm())};return Te?c()(S.O,{onKeyDown:Be,isOpen:at,size:"small"},void 0,c()(i.u,{p:"s"},void 0,c()(I.D,{},void 0,c()(A.A,{size:"xl",color:["warning","900"]}),c()(l.T,{},void 0,`Your session will expire in ${Te}`),ie||(ie=c()(O.z,{},void 0,"Please logout or reset your session")))),k||(k=c()(P.Z,{})),c()(C.r,{},void 0,c()(E.e,{innerRef:Re,buttonType:"outline",onClick:pt},void 0,"Logout"),c()(E.e,{innerRef:Ve,onClick:function(){Ue().catch(function(){})}},void 0,"Reset"))):null})},"./lib/view/session-timeout/index.tsx"(_,g,e){"use strict";e.d(g,{S:()=>I});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),c=e.n(m),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),p=e.n(f),b=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),E=e("./lib/data/useAppDispatch.ts"),A=e("./lib/data/logout/actions.ts"),w=e("./lib/utils/session.ts"),S=e("./lib/view/modals/session-expiry/index.tsx"),i=e("./lib/communication/http-client/props.ts"),I=function(){var l=(0,E.j)(),O=(0,b.useState)(!1),P=p()(O,2),C=P[0],j=P[1],R=(0,b.useState)(),X=p()(R,2),le=X[0],te=X[1];return(0,b.useEffect)(function(){i.K.resetUserIdleTime=w.oB,(0,w.LC)();var de=(0,w.Lw)(function(k){k&&(te(k),j(!0))}),F=(0,w.lD)(function(k){k===!0&&j(!1)}),ie=(0,w.n5)(function(){l(A.r.confirm()),j(!1)});return function(){de(),F(),ie(),(0,w.z3)()}},[l]),c()("div",{},void 0,C&&c()(S._,{open:!0,warningNotifiedAt:le}))};I.displayName="SessionTimeout"},"./lib/view/wait-message/index.tsx"(_,g,e){"use strict";e.d(g,{j:()=>ie});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),c=e.n(m),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),p=e.n(f),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),E=e.n(b),A=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),w=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"),S=e("./node_modules/.pnpm/@elliemae+ds-backdrop@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-backdrop/dist/esm/Backdrop.js"),i=e("./node_modules/.pnpm/@elliemae+ds-circular-progress-indicator@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-circular-progress-indicator/dist/esm/v2/DSCircularIndeterminateIndicator.js"),I=e("./lib/data/useAppSelector.ts"),l=e("./lib/view/wait-message/use-html-wait-message.tsx"),O=e("./lib/utils/micro-frontend/guest.ts"),P=e("./lib/analytics/push-to-data-layer.ts"),C=function(k){(0,P.U)(k)},j=function(k){var Le=k.data,me=k.self,Y=me===void 0?!0:me;if(Y)C(Le);else{var J,se=(J=O.h.getInstance())===null||J===void 0?void 0:J.getHost(),pe=se?.sendBAEvent;pe?pe(Le):C(Le)}},R=function(){return j({data:{event:"pageInteractionEnabled"}})},X=function(){return j({data:{event:"pageInteractionDisabled"}})},le=e("./lib/utils/logrocket.ts"),te=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),de=["size","color","showText","withTooltip","tooltipStartPlacementPreference"],F=(0,w.default)(i.p).withConfig({componentId:"sc-3aqsjr-0"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"]),ie=(0,A.memo)(function(k){var Le=k.size,me=Le===void 0?"xl":Le,Y=k.color,J=Y===void 0?"light":Y,se=k.showText,pe=se===void 0?!0:se,fe=k.withTooltip,at=fe===void 0?!1:fe,Ce=k.tooltipStartPlacementPreference,Te=Ce===void 0?"center":Ce,je=E()(k,de),Re=(0,A.useContext)(w.ThemeContext),Ve=(0,A.useRef)(!1),Be=(0,A.useState)(!1),Ue=p()(Be,2),pt=Ue[0],qe=Ue[1],L=(0,I.G)(function(We){var z;return(z=We.waitMessage)===null||z===void 0?void 0:z.isOpen}),He=(0,I.G)(function(We){var z;return(z=We.waitMessage)===null||z===void 0?void 0:z.delay});Ve.current=L??!1;var ae=(0,I.G)(function(We){var z;return(z=We.waitMessage)===null||z===void 0?void 0:z.message});return(0,A.useEffect)(function(){setTimeout(function(){L&&Ve.current&&(qe(!0),R(),(0,le.K3)("wait-spinner-start"))},He?1e3:0),L||(qe(!1),X(),(0,le.K3)("wait-spinner-end"))},[He,L]),(0,l.t)(L!==null),pt?(0,te.jsxs)(te.Fragment,{children:[c()(S.Ay,{zIndex:Re.zIndex.loader}),(0,te.jsx)(F,Object.assign({id:"em-loading",size:me,color:J,showText:pe,withTooltip:at,tooltipStartPlacementPreference:Te},je,{text:ae}))]}):null})},"./lib/view/wait-message/use-html-wait-message.tsx"(_,g,e){"use strict";e.d(g,{t:()=>c});var m=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),c=function(f){(0,m.useEffect)(function(){var p=document.getElementById("em-wait-message");p&&f&&p.remove()},[f])}},"./storybook-config-entry.js"(_,g,e){"use strict";var m=e("./node_modules/.pnpm/global@4.4.0/node_modules/global/window.js"),c=e.n(m),f=e("./node_modules/.pnpm/@storybook+preview-web@6.5.16/node_modules/@storybook/preview-web/dist/cjs/index.js"),p=e("./node_modules/.pnpm/@storybook+store@6.5.16/node_modules/@storybook/store/dist/cjs/index.js"),b=e("./node_modules/.pnpm/@storybook+client-api@6.5.16/node_modules/@storybook/client-api/dist/cjs/index.js"),E=e("./node_modules/.pnpm/@storybook+addons@6.5.16/node_modules/@storybook/addons/dist/cjs/public_api.js"),A=e("./node_modules/.pnpm/@storybook+channel-postmessage@6.5.16/node_modules/@storybook/channel-postmessage/dist/cjs/index.js"),w=e("./node_modules/.pnpm/@storybook+channel-websocket@6.5.16/node_modules/@storybook/channel-websocket/dist/cjs/index.js"),S=[async function(j){if(/^\.[\\/](?:lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(mdx|tsx|ts|jsx|js))$/.exec(j)){var R=j.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(j){for(var R=0;R<S.length;R++){var X=await S[R](j);if(X)return X}}var I=c().SERVER_CHANNEL_URL,l=function(){return(0,p.composeConfigs)([e("./node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.29.7_@storybook+builder-webpack5@6.5.16_@storybook+mana_yshks4a4y53x7zkf6b6f3bowne/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_yshks4a4y53x7zkf6b6f3bowne/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")])},O=(0,A.Ay)({page:"preview"});if(E.addons.setChannel(O),I){var P=(0,w.Ay)({url:I});E.addons.setServerChannel(P),window.__STORYBOOK_SERVER_CHANNEL__=P}var C=new f.PreviewWeb;window.__STORYBOOK_PREVIEW__=C,window.__STORYBOOK_STORY_STORE__=C.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=O,window.__STORYBOOK_CLIENT_API__=new b.ClientApi({storyStore:C.storyStore}),C.initialize({importFn:i,getProjectAnnotations:l})},"./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"(_,g,e){"use strict";var m=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/runtime/api.js"),c=e.n(m),f=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.62.1/node_modules/@elliemae/ds-basic/dist/css/dimsum.css"),p=c()(function(E){return E[1]});p.i(f.A),p.push([_.id,`
|
|
5
|
+
`,""]);const b=p;e.d(g,["A",0,b])},"@elliemae/pui-diagnostics"(_){"use strict";_.exports=emuiDiagnostics},"?6b64"(){}},_=>{var g=m=>_(_.s=m);_.O(0,[6751],()=>(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=_.O()}]);
|
|
Binary file
|
|
Binary file
|
|
@@ -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),b=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,f=(e,a,r)=>a in e?b(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,d=(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},v=(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 c=e=>{var a=e,{base:r="light",brandTitle:n="Platform UI Components"}=a,h=v(a,["base","brandTitle"]);return(0,m.vt)(d({base:r,brandTitle:`${n} 5.
|
|
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),b=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,f=(e,a,r)=>a in e?b(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,d=(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},v=(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 c=e=>{var a=e,{base:r="light",brandTitle:n="Platform UI Components"}=a,h=v(a,["base","brandTitle"]);return(0,m.vt)(d({base:r,brandTitle:`${n} 5.50.0`},h))};(e=>{p.MC.setConfig({panelPosition:"bottom",theme:c(e)})})({brandTitle:"Application SDK",brandUrl:"https://github.com/intcx/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
|
package/demo/docs/project.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedAt":
|
|
1
|
+
{"generatedAt":1787770729645,"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.b3c5c070.iframe.bundle.js"></script><script src="6751.
|
|
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.b3c5c070.iframe.bundle.js"></script><script src="6751.d6668899.iframe.bundle.js"></script><script src="main.817a6807.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.0513b2a7b3c294040110.manager.bundle.js"></script><script src="659.a66259b9cbcd6133ccc5.manager.bundle.js"></script><script src="main.
|
|
59
|
+
window['DOCS_MODE'] = false;</script><script src="runtime~main.0513b2a7b3c294040110.manager.bundle.js"></script><script src="659.a66259b9cbcd6133ccc5.manager.bundle.js"></script><script src="main.904139e0182fc887f3af.manager.bundle.js"></script></body></html>
|
|
@@ -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))$"(_,g,e){const m={"./view/breakpoint/index.stories":["./lib/view/breakpoint/index.stories.tsx",[5815,999]],"./view/breakpoint/index.stories.tsx":["./lib/view/breakpoint/index.stories.tsx",[5815,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",[5815,5058,5599,4957,4216,3071]],"./view/fields/autocomplete/advanced-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/advanced-autocomplete.stories.tsx",[5815,5058,5599,4957,4216,3071]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[5815,5058,5599,4957,4216,9825]],"./view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx":["./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx",[5815,5058,5599,4957,4216,9825]],"./view/fields/autocomplete/index.stories":["./lib/view/fields/autocomplete/index.stories.tsx",[5815,5058,5599,4957,4216,8048]],"./view/fields/autocomplete/index.stories.tsx":["./lib/view/fields/autocomplete/index.stories.tsx",[5815,5058,5599,4957,4216,8048]],"./view/fields/check-box/index.stories":["./lib/view/fields/check-box/index.stories.tsx",[5815,5058,8654,590,8522,564,2382]],"./view/fields/check-box/index.stories.tsx":["./lib/view/fields/check-box/index.stories.tsx",[5815,5058,8654,590,8522,564,2382]],"./view/fields/check-box/set-value.stories":["./lib/view/fields/check-box/set-value.stories.tsx",[5815,5058,8654,590,8522,564,5410]],"./view/fields/check-box/set-value.stories.tsx":["./lib/view/fields/check-box/set-value.stories.tsx",[5815,5058,8654,590,8522,564,5410]],"./view/fields/combo-box-v3/index.stories":["./lib/view/fields/combo-box-v3/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,9242,3086]],"./view/fields/combo-box-v3/index.stories.tsx":["./lib/view/fields/combo-box-v3/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,9242,3086]],"./view/fields/combo-box/index.stories":["./lib/view/fields/combo-box/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,778,6184]],"./view/fields/combo-box/index.stories.tsx":["./lib/view/fields/combo-box/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,778,6184]],"./view/fields/date-input/index.stories":["./lib/view/fields/date-input/index.stories.tsx",[5815,5058,8654,9863,1449,3438,2316,6055]],"./view/fields/date-input/index.stories.tsx":["./lib/view/fields/date-input/index.stories.tsx",[5815,5058,8654,9863,1449,3438,2316,6055]],"./view/fields/date-picker/index.stories":["./lib/view/fields/date-picker/index.stories.tsx",[5815,5058,8654,9863,1449,3438,9540,7813]],"./view/fields/date-picker/index.stories.tsx":["./lib/view/fields/date-picker/index.stories.tsx",[5815,5058,8654,9863,1449,3438,9540,7813]],"./view/fields/date-range-picker/index.stories":["./lib/view/fields/date-range-picker/index.stories.tsx",[5815,5058,6753,1400,3615,77]],"./view/fields/date-range-picker/index.stories.tsx":["./lib/view/fields/date-range-picker/index.stories.tsx",[5815,5058,6753,1400,3615,77]],"./view/fields/date-time-picker/index.stories":["./lib/view/fields/date-time-picker/index.stories.tsx",[5815,5058,6753,1400,2129]],"./view/fields/date-time-picker/index.stories.tsx":["./lib/view/fields/date-time-picker/index.stories.tsx",[5815,5058,6753,1400,2129]],"./view/fields/form-item-layout/index.stories":["./lib/view/fields/form-item-layout/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,7610,3813]],"./view/fields/form-item-layout/index.stories.tsx":["./lib/view/fields/form-item-layout/index.stories.tsx",[5815,5058,8654,9863,590,1449,1679,7610,3813]],"./view/fields/form-layout-block-item/index.stories":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[5815,5058,8654,9863,1449,2487]],"./view/fields/form-layout-block-item/index.stories.tsx":["./lib/view/fields/form-layout-block-item/index.stories.tsx",[5815,5058,8654,9863,1449,2487]],"./view/fields/input-mask/index.stories":["./lib/view/fields/input-mask/index.stories.tsx",[5815,5058,8654,9863,1449,5762,6729]],"./view/fields/input-mask/index.stories.tsx":["./lib/view/fields/input-mask/index.stories.tsx",[5815,5058,8654,9863,1449,5762,6729]],"./view/fields/input-text/index.stories":["./lib/view/fields/input-text/index.stories.tsx",[5815,5058,5599,1764]],"./view/fields/input-text/index.stories.tsx":["./lib/view/fields/input-text/index.stories.tsx",[5815,5058,5599,1764]],"./view/fields/large-text-box/index.stories":["./lib/view/fields/large-text-box/index.stories.tsx",[5815,5058,1491]],"./view/fields/large-text-box/index.stories.tsx":["./lib/view/fields/large-text-box/index.stories.tsx",[5815,5058,1491]],"./view/fields/masked-input-text/with-money-mask.stories":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[5815,5058,5599,5974]],"./view/fields/masked-input-text/with-money-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-money-mask.stories.tsx",[5815,5058,5599,5974]],"./view/fields/masked-input-text/with-percentage-mask.stories":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[5815,5058,5599,8980]],"./view/fields/masked-input-text/with-percentage-mask.stories.tsx":["./lib/view/fields/masked-input-text/with-percentage-mask.stories.tsx",[5815,5058,5599,8980]],"./view/fields/radio-group/index.stories":["./lib/view/fields/radio-group/index.stories.tsx",[5815,5058,8654,9863,590,1449,8522,1679,7610,9819,2977]],"./view/fields/radio-group/index.stories.tsx":["./lib/view/fields/radio-group/index.stories.tsx",[5815,5058,8654,9863,590,1449,8522,1679,7610,9819,2977]],"./view/fields/radio/index.stories":["./lib/view/fields/radio/index.stories.tsx",[5815,5058,8654,590,8522,6531]],"./view/fields/radio/index.stories.tsx":["./lib/view/fields/radio/index.stories.tsx",[5815,5058,8654,590,8522,6531]],"./view/fields/radio/set-value.stories":["./lib/view/fields/radio/set-value.stories.tsx",[5815,5058,8654,590,8522,5055]],"./view/fields/radio/set-value.stories.tsx":["./lib/view/fields/radio/set-value.stories.tsx",[5815,5058,8654,590,8522,5055]],"./view/fields/text-box/index.stories":["./lib/view/fields/text-box/index.stories.tsx",[5815,5058,8654,9863,1449,8749]],"./view/fields/text-box/index.stories.tsx":["./lib/view/fields/text-box/index.stories.tsx",[5815,5058,8654,9863,1449,8749]],"./view/fields/toggle/index.stories":["./lib/view/fields/toggle/index.stories.tsx",[5815,5058,5936]],"./view/fields/toggle/index.stories.tsx":["./lib/view/fields/toggle/index.stories.tsx",[5815,5058,5936]],"./view/form/index.stories":["./lib/view/form/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,6220]],"./view/form/index.stories.tsx":["./lib/view/form/index.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,6220]],"./view/form/usecases.stories":["./lib/view/form/usecases.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,4580]],"./view/form/usecases.stories.tsx":["./lib/view/form/usecases.stories.tsx",[5815,5058,8654,9863,590,5599,8522,4957,6753,564,1400,9242,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 c(f){try{if(!e.o(m,f))return Promise.resolve().then(()=>{const E=new Error("Cannot find module '"+f+"'");throw E.code="MODULE_NOT_FOUND",E})}catch(E){return Promise.reject(E)}const p=m[f],b=p[0];return Promise.all(p[1].map(e.e)).then(()=>e(b))}c.keys=()=>Object.keys(m),c.id="./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$",_.exports=c},"./.storybook/preview.js"(_,g,e){"use strict";e.r(g),e.d(g,{__namedExportsOrder:()=>ri,decorators:()=>ii,loaders:()=>si,parameters:()=>oi});var m=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.1/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),c=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"),f=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"),p=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"),b=e("./node_modules/.pnpm/redux-saga@1.5.1/node_modules/redux-saga/dist/redux-saga.cjs.js"),E=e.n(b),A=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.cjs.production.min.js"),w=e("./lib/data/wait-message/actions.ts"),S={isOpen:null,message:"loading...",delay:!0},i=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:S,s=arguments.length>1?arguments[1]:void 0;return(0,A.default)(a,function(o){switch(s.type){case w.k.OPEN:o.isOpen=!0,o.message=s.payload.message,o.delay=s.payload.delay;break;case w.k.CLOSE:o.isOpen=!1;break}})},I=e("./lib/data/error/index.ts"),l={change:"change"},O=function(a){return a.LARGE="large",a.MEDIUM="medium",a.SMALL="small",a.XSMALL="xsmall",a}({}),P={value:O.LARGE},C=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:P,s=arguments.length>1?arguments[1]:void 0,o=s.type,y=s.payload;return(0,A.default)(a,function(M){switch(o){case l.change:M.value=y;break}})},j=e("./lib/data/live-message/index.ts"),R=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=(0,c.combineReducers)(Object.assign({waitMessage:i,error:I.L,breakpoint:C,liveMessage:j.k},a));return s},X=e("./lib/data/webpack-hmr.ts"),le=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/toConsumableArray.js"),te=e.n(le),de=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/lib/redux.js"),F=new Map,ie,k=function(a){return ie=a,function(s){return function(o){return de.compose.apply(void 0,te()(F.values()))(s)(o)}}},Le=function(a){var s=a.reducerPath,o=a.middleware;F.has(s)||!ie||F.set(s,o(ie))},me=function(a){F.delete(a)},Y=function(){F.clear()},J,se,pe=(0,c.createListenerMiddleware)(),fe=pe.startListening,at=null,Ce=null,Te=pe.clearListeners,je=R(),Re=null,Ve=function(a){Re=a},Be=function(){return Re},Ue=function(a,s,o){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},W=s.run,G=[(0,p.OV)({createReducer:R,runSaga:W})];je=R(M);var ue=(0,c.configureStore)({reducer:je,middleware:function(xe){return xe(y).prepend(pe.middleware).concat([s,k])},devTools:!1,preloadedState:a,enhancers:G});return(0,f.setupListeners)(ue.dispatch),(0,X.I)(ue),ue},pt=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,y=arguments.length>3?arguments[3]:void 0,M=E()({}),W=Ue(a,M,s,o,y);return Ve(W),W},qe=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),L=e.n(qe),He=e("./lib/utils/history.ts"),ae=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),We=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"),z=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"),ft=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),ht=e.n(ft),Mt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),_e=e.n(Mt),Lt=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"),ne=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),Z=["history","basename"],he=function(a){var s=a.history,o=a.basename,y=_e()(a,Z),M=(0,ae.useState)({action:s.action,location:s.location}),W=ht()(M,2),G=W[0],ue=W[1];return(0,ae.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,ae.useLayoutEffect)(function(){var xe=s.listen(function(){for(var ce=arguments.length,ve=new Array(ce),Ot=0;Ot<ce;Ot++)ve[Ot]=arguments[Ot];ve.length===2?ue({location:ve[0],action:ve[1]}):ue(ve[0])});return function(){xe()}},[s]),(0,ne.jsx)(Lt.Router,Object.assign({},y,{basename:o,location:G.location,navigationType:G.action,navigator:s}))};he.displayName="AppRouter";var Xe=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),ge=e("./lib/utils/micro-frontend/guest.ts"),$e=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),V=e.n($e),De=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),Ae=e.n(De),Ie=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),Q=e.n(Ie),et=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),tt=e.n(et),it=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),gt=e.n(it),we=e("./node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js"),Ye=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),lt=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),bt=e("./lib/data/logout/actions.ts"),Se=e("./lib/utils/app-config/config.ts"),Je=e("./lib/utils/app-config/index.ts"),dt=e("./lib/utils/console-logger.ts"),jt=e("./lib/utils/logger.ts"),Fe=e("./lib/utils/constants.ts"),be=e("./lib/utils/get-window.ts"),Ze=function(){return{width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}},ye=function(a){return Number(a?.replace("px",""))},st=function(){var a=Ze(),s=a.width,o=(0,m.getDefaultTheme)(),y=o.breakpoints;return s<=ye(y.small)?"small":s<=ye(y.medium)?"medium":s<=ye(y.xsmall)?"xsmall":"large"},yt=e("./lib/utils/session.ts"),ke=e("./lib/utils/micro-frontend/app-bridge.ts"),ut=e("./lib/utils/micro-frontend/ssf-host.ts"),Et,Pe=tt()("ssfHostRef"),q=tt()("appBridge"),Ke=tt()("selfInitialize"),ze=function(){function a(s){var o,y,M,W,G,ue,xe=this;V()(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,Pe,{writable:!0,value:void 0}),Object.defineProperty(this,q,{writable:!0,value:null}),Object.defineProperty(this,Ke,{writable:!0,value:void 0}),this.appId=(0,Se.vF)("appId"),this.onInit=s?.onInit,this.logger=s?.logger||dt.k,(0,jt.B)(this.logger),this.onRenewSessionTimer=s?.onRenewSessionTimer,Q()(this,Ke)[Ke]=(o=s?.selfInitialize)!==null&&o!==void 0?o:!1,this.props={systemVersion:(y=s?.version)!==null&&y!==void 0?y:"latest",history:(M=s?.history)!==null&&M!==void 0?M:He.N,theme:(W=s?.theme)!==null&&W!==void 0?W:(0,m.getDefaultTheme)()},this.activeGuests={},s!=null&&s.ssfHostRef&&(0,ut.Z)(s.ssfHostRef),Q()(this,Pe)[Pe]=(0,ut.F)();var ce=(G=s?.analytics)!==null&&G!==void 0?G:new Ye.j({logger:this.logger});this.scriptingObjects=Object.assign({analytics:ce},(ue=s?.scriptingObjects)!==null&&ue!==void 0?ue:{}),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=gt()(async function(){await(0,yt.KB)(),xe.onRenewSessionTimer&&xe.onRenewSessionTimer()},Fe.eE,{leading:!0}),Q()(this,Ke)[Ke]||(0,Je.y)().then(function(){(0,ke.b)().then(function(ve){Q()(xe,q)[q]=ve,xe.onInit&&xe.onInit(xe.props)}).catch(function(ve){throw ve})}).catch(function(){}),(0,lt.nE)({appId:this.appId})}return Ae()(a,[{key:"initialize",value:async function(){e.p=e.p.replace(/\/?$/,"/"),await(0,Je.y)();var o=await(0,ke.b)();return Q()(this,q)[q]=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,be.z)().sessionStorage.getItem(o)}},{key:"setItem",value:function(o,y){(0,be.z)().sessionStorage.setItem(o,y)}},{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,y){return(0,we.publish)(o,y)}},{key:"subscribe",value:function(o,y){return(0,we.subscribe)(o,y)}},{key:"unsubscribe",value:function(o){(0,we.unsubscribe)(o)}},{key:"navigate",value:function(o,y){o&&this.props.history.push(o,y)}},{key:"openWaitMessage",value:function(){var o=Be();o&&o.dispatch(w.X.open())}},{key:"closeWaitMessage",value:function(){var o=Be();o&&o.dispatch(w.X.close())}},{key:"openErrorBanner",value:function(o){var y=Be();y&&y.dispatch(I.o.set({description:o}))}},{key:"getAuthToken",value:function(){return(0,be.z)().sessionStorage.getItem("Authorization")}},{key:"renewAuthToken",value:function(){return(0,be.z)().sessionStorage.getItem("Authorization")}},{key:"logout",value:function(){var o=Be();o&&o.dispatch(bt.r.confirm())}},{key:"renewSessionTimer",value:async function(){this.throttleRenewSessionTimer()}},{key:"getBreakpoint",value:function(){return st()}},{key:"getViewportSize",value:function(){return Ze()}},{key:"onResizeEvent",value:function(o){return(0,we.subscribe)(Fe.BD,function(y,M){return o(M)})}},{key:"onBreakpointChangeEvent",value:function(o){return(0,we.subscribe)(Fe.H1,function(y,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,y){Q()(this,q)[q]&&Q()(this,q)[q].addScriptingObject(o,y),Q()(this,Pe)[Pe].addScriptingObject(o,y)}},{key:"dispatchEvent",value:async function(o){if(Q()(this,q)[q]){var y=await Promise.all([Q()(this,q)[q].dispatchEvent(o),Q()(this,Pe)[Pe].dispatchEvent(o)]),M=ht()(y,2),W=M[0],G=M[1];return Array.isArray(W)&&Array.isArray(G)?W.concat(G):Promise.resolve()}return Q()(this,Pe)[Pe].dispatchEvent(o)}},{key:"removeScriptingObject",value:function(o,y){Q()(this,q)[q]&&Q()(this,q)[q].removeScriptingObject(o,y),Q()(this,Pe)[Pe].removeScriptingObject(o,y)}}],[{key:"getInstance",value:function(o){return this.instance||(this.instance=new a(o),o!=null&&o.selfInitialize||(o?.logger||dt.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}}])}();Et=ze,ze.instance=void 0;var ct,xt,nt,vt,It,mt,ot=function(){return ze.isInitialized()},wt=function(){return ge.h.isInitialized()},St=function(){return wt()&&window.top===window.self},Ct=function(){return ot()?ze.getInstance().getLogger():ge.h.getInstance().getLogger()},Ut=function(a){return vt()?!0:a?a===mt.PRODUCTION:!0},Wt=function(a){var s=xt.getInstance().getProps(),o=s.systemVersion,y=o.match(/^(?:\d+\.\d+)*/g);return a.replace(/{SYSTEM_VERSION}/,y&&y[0]||"latest")},_t=function(a){var s;return a==null||(s=a.replace)===null||s===void 0?void 0:s.call(a,/\/?$/,"/")},$t=function(a){var s=nt(`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,y=o===void 0?mt.PRODUCTION:o,M=Ut(y)?s.production:s.development;s.production&&delete s.production,s.development&&delete s.development;var W=ct(a,{mode:"production",hostUrl:"./",manifestPath:"./{SYSTEM_VERSION}",isJsModule:!1},s,M);return W.hostUrl=It(W.hostUrl.replace(/\/?$/,"/")),W.manifestPath=_t(Wt(W.manifestPath)),W},Ft=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),u=e.n(Ft),n=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js"),d=e.n(n),h=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/inherits.js"),N=e.n(h),H=function(a){var s=a.error,o=s===void 0?new Error("We are unable to process your request"):s,y=a.errorInfo,M=y===void 0?{componentStack:"Please close your browser and login again"}:y;return L()("div",{},void 0,L()("h2",{},void 0,o?.message),L()("section",{},void 0,M?.componentStack))};H.displayName="DefaultErrorTemplate";var K=e("./lib/utils/log-records.ts");function Ne(a,s,o){return s=d()(s),u()(a,Qe()?Reflect.construct(s,o||[],d()(a).constructor):s.apply(a,o))}function Qe(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Qe=function(){return!!a})()}var Pt=function(a){function s(o){var y;return V()(this,s),y=Ne(this,s,[o]),y.state={error:null,errorInfo:null},y}return N()(s,a),Ae()(s,[{key:"componentDidCatch",value:function(y,M){this.setState({error:y,errorInfo:M});var W=Ct();W&&W.error(Object.assign({},K.V.UNHANDLED_ERROR,{exception:y,message:y.message}))}},{key:"render",value:function(){var y=this.props,M=y.children,W=y.errorTemplate,G=W||H,ue=this.state,xe=ue.error,ce=ue.errorInfo;return ce?L()(G,{error:xe,errorInfo:ce}):M}}])}(ae.Component),kt=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),Nt=e("./lib/data/useAppDispatch.ts"),Vt=function(a,s,o){var y=a.map(function(ce){return window.matchMedia(ce)}),M=(0,ae.useCallback)(function(){var ce=y.findIndex(function(ve){return ve.matches});return typeof s[ce]<"u"?s[ce]:o},[o,y,s]),W=(0,ae.useState)(M),G=ht()(W,2),ue=G[0],xe=G[1];return(0,ae.useEffect)(function(){var ce=function(){return xe(M)};return y.forEach(function(ve){return ve.addEventListener("change",ce)}),function(){return y.forEach(function(ve){return ve.removeEventListener("change",ce)})}},[M,y]),ue},t=function(){var a=(0,ae.useContext)(z.ThemeContext),s=Vt([`(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,Nt.j)();(0,ae.useEffect)(function(){o({type:l.change,payload:s}),(0,we.publish)(Fe.H1,s)},[s,o])},r=function(){(0,ae.useEffect)(function(){if(window.ResizeObserver){var a=new ResizeObserver(function(s){(0,we.publish)(Fe.BD,s&&s[0])});return a.observe(window.document.documentElement),function(){a.unobserve(window.document.documentElement)}}return function(){}},[])},v=e("./lib/view/session-timeout/index.tsx"),x=e("./lib/view/live-message/index.tsx"),T=e("./lib/view/error-toast/index.tsx"),D=e("./lib/view/wait-message/index.tsx");const B=(0,z.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 $,U,oe,Ee,ee,Oe=z.default.div.withConfig({componentId:"sc-1ho9g5n-0"})(["height:100%;"]),re=function(a){var s=a.manageSession,o=a.WaitMessage,y=a.children;return t(),r(),L()(kt.Ai,{},void 0,L()(Oe,{},void 0,$||($=L()(B,{})),s&&(U||(U=L()(v.S,{}))),oe||(oe=L()(x.I,{})),o||Ee||(Ee=L()(D.j,{})),ee||(ee=L()(T.Q,{})),y))};re.displayName="StandAloneApp";var Me=e("./lib/view/wait-message/use-html-wait-message.tsx"),Ge,At,rt,Bt=z.default.div.withConfig({componentId:"sc-njn2ro-0"})(["height:100%;"]),Kt=function(a){var s=a.WaitMessage,o=a.children;return t(),(0,Me.t)(!0),r(),L()(Bt,{},void 0,Ge||(Ge=L()(B,{})),s||At||(At=L()(D.j,{})),rt||(rt=L()(T.Q,{})),o)};Kt.displayName="HostedApp";var Ht=function(a){var s=St()||ot();return s?(0,ne.jsx)(re,Object.assign({},a)):(0,ne.jsx)(Kt,Object.assign({},a))},Tt=function(a){var s=a.store,o=a.history,y=a.basename,M=a.theme,W=M===void 0?(0,m.getDefaultTheme)():M,G=a.manageSession,ue=G===void 0?!1:G,xe=a.WaitMessage,ce=a.errorTemplate,ve=a.children,Ot=a.strictMode,ai=Ot===void 0?!0:Ot,li=ai?ae.StrictMode:ae.Fragment;return L()(li,{},void 0,L()(Pt,{errorTemplate:ce},void 0,L()(We.Provider,{store:s},void 0,L()(he,{history:o,basename:y},void 0,L()(z.ThemeProvider,{theme:W},void 0,L()(Ht,{manageSession:ue,WaitMessage:xe},void 0,ve))))))};Tt.displayName="AppRoot";var Rt=function(a,s,o){return L()(Tt,{store:s,history:He.N,theme:a},void 0,o())};Rt.displayName="withAppDecorator";var zt=e("./node_modules/.pnpm/@storybook+theming@6.5.16/node_modules/@storybook/theming/dist/esm/index.js"),Dt=["base","brandTitle"],Yt=function(a){var s=a.base,o=s===void 0?"light":s,y=a.brandTitle,M=y===void 0?"Platform UI Components":y,W=_e()(a,Dt);return(0,zt.vt)(Object.assign({base:o,brandTitle:`${M} 5.50.0`},W))},Jt=e("./node_modules/.pnpm/style-loader@2.0.0_webpack@5.108.4/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),Zt=e.n(Jt),Xt=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"),Gt={};Gt.insert="head",Gt.singleton=!1;var di=Zt()(Xt.A,Gt);const ui=Xt.A.locals||{};var Qt=(0,m.getDefaultTheme)(),qt=pt({},He.N),ei=Rt.bind(null,Qt,qt),ti=function(a){return{layout:"fullscreen",actions:{argTypesRegex:"^on.*"},controls:{hideNoControlsWarning:!0},docs:{theme:Yt(a)},options:{storySort:{method:"alphabetical",order:["Getting Started",["Introduction","Installation","Packages","Supported Browsers","Releases","Theme"],"Components"],locales:["en-US"]}},dependencies:{withStoriesOnly:!0,hideEmpty:!0}}},ii=[ei],si=[async function(){await(0,Je.y)("./")}],ni={brandTitle:"Application SDK",brandUrl:"https://github.com/intcx/PLATFORM-UI.pui-app-sdk.git"},ci=null,oi=ti(ni),ri=["decorators","parameters","loaders"]},"./lib/analytics/push-to-data-layer.ts"(_,g,e){"use strict";e.d(g,{U:()=>p});var m=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),c=e("./lib/utils/get-window.ts"),f=function(){var b,E,A,w,S,i,I,l=(0,c.z)(),O=l.document.title,P=document,C=P.title,j=(b=l==null||(E=l.emui)===null||E===void 0?void 0:E.appId)!==null&&b!==void 0?b:"",R=(A=l==null||(w=l.emui)===null||w===void 0?void 0:w.version)!==null&&A!==void 0?A:"",X=(S=(i=window)===null||i===void 0||(I=i.emui)===null||I===void 0?void 0:I.appId)!==null&&S!==void 0?S:"",le=l.location,te=le.pathname,de=le.href,F=window.location,ie=F.pathname,k=F.href;return{productId:j,productPath:te,productUrl:de,productPageTitle:O,version:R,appId:X,appPath:ie,appUrl:k,appPageTitle:C}},p=function(b){var E=Object.assign({},(0,m.QS)(),f(),b);window.gtmDataLayer=window.gtmDataLayer||[],window.gtmDataLayer.push(E)}},"./lib/communication/http-client/props.ts"(_,g,e){"use strict";e.d(g,{K:()=>l});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),c=e.n(m),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),p=e.n(f),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),E=e.n(b),A=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),w=e.n(A),S=w()("resetUserIdleTime"),i=w()("endSession"),I=function(){function O(){c()(this,O),Object.defineProperty(this,S,{writable:!0,value:function(){}}),Object.defineProperty(this,i,{writable:!0,value:async function(){}})}return p()(O,[{key:"resetUserIdleTime",get:function(){return E()(this,S)[S]},set:function(P){E()(this,S)[S]=P}},{key:"endSession",get:function(){return E()(this,i)[i]},set:function(P){E()(this,i)[i]=P}}])}(),l=new I},"./lib/data/error/index.ts"(_,g,e){"use strict";e.d(g,{L:()=>E,o:()=>b});var m=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"),c=e.n(m),f={description:"",messageText:""},p=(0,m.createSlice)({name:"error",initialState:f,reducers:{set:function(A,w){return w.payload},clear:function(){return f}}}),b=p.actions,E=p.reducer},"./lib/data/live-message/index.ts"(_,g,e){"use strict";e.d(g,{k:()=>E,o:()=>b});var m=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"),c=e.n(m),f={message:"",ariaLive:"polite",id:""},p=(0,m.createSlice)({name:"liveMessage",initialState:f,reducers:{announce:function(A,w){var S=w.payload,i=S.message,I=S.ariaLive,l=S.id;return{message:i,ariaLive:I,id:l}}}}),b=p.actions,E=p.reducer},"./lib/data/logout/actions.ts"(_,g,e){"use strict";e.d(g,{r:()=>c});var m={CONFIRM:"log-out/CONFIRM",CANCEL:"log-out/CANCEL"},c={confirm:function(){return{type:m.CONFIRM,payload:null}},cancel:function(){return{type:m.CANCEL,payload:null}}}},"./lib/data/useAppDispatch.ts"(_,g,e){"use strict";e.d(g,{j:()=>f});var m=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"),c=e.n(m),f=function(){return(0,m.useDispatch)()}},"./lib/data/useAppSelector.ts"(_,g,e){"use strict";e.d(g,{G:()=>f});var m=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"),c=e.n(m),f=m.useSelector},"./lib/data/wait-message/actions.ts"(_,g,e){"use strict";e.d(g,{X:()=>c,k:()=>m});var m={OPEN:"wait-message/OPEN",CLOSE:"wait-message/CLOSE"},c={open:function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"loading...",p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{type:m.OPEN,payload:{message:f,delay:p}}},close:function(){return{type:m.CLOSE,payload:null}}}},"./lib/data/webpack-hmr.ts"(_,g,e){"use strict";e.d(g,{I:()=>c});var m=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");_=e.hmd(_);var c=function(f){var p=null;try{var b,E;p=(b=(E=_)===null||E===void 0?void 0:E.hot)!==null&&b!==void 0?b:null}catch{p=null}p&&p.accept("./reducers",function(){(0,m.Dl)(f)})}},"./lib/utils/app-config/config.ts"(_,g,e){"use strict";e.d(g,{WE:()=>P,vF:()=>l,g3:()=>I});var m=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/has.js"),c=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/clone.js"),f=e.n(c),p=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/set.js"),b=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/get.js"),E=e.n(b);const A=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 w,S,i=A,I=function(j){i=j},l=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return f()(E()(i,j,R))},O=function(j,R){return S(i,j,R)},P=function(){return i},C=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return w(i,j)}},"./lib/utils/app-config/index.ts"(_,g,e){"use strict";e.d(g,{y:()=>S});var m=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),c=e.n(m),f=e("./node_modules/.pnpm/core-js@3.50.0/node_modules/core-js/modules/es.array.includes.js"),p=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),b=e("./lib/utils/app-config/config.ts"),E=function(){var i,I,l,O,P=((i=window)===null||i===void 0||(I=i.emui)===null||I===void 0?void 0:I._ASSET_PATH)||"latest/";if(!((l=window.emui)!==null&&l!==void 0&&l.version))return P;var C=(O=window.emui)===null||O===void 0?void 0:O.version.match(/^(?:\d+\.\d+)*/g);return C&&C[0]?P.replace("latest/",`${C[0]}/`):P},A=function(i){var I,l,O=i.activeEnv,P=i.env[O]||{};i.env&&delete i.env,(0,b.g3)(c()(i,P)),sessionStorage.setItem("envName",O),window.emui=window.emui||{},window.emui.appId=(I=(l=(0,b.vF)("appId"))!==null&&l!==void 0?l:window.emui.appId)!==null&&I!==void 0?I:"",(0,p.nE)({envName:O})},w=function(i){return i.replace(/(\d+\.\d+)(?!.*\d+\.\d+)/,"latest")},S=async function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E(),I=`${i.replace(/\/?$/,"/")}app.config.json`,l=w(i);try{var O=await fetch(I);if(!O.ok){if(i!==l){await S(l);return}var P=`App Config is not found at ${I}`;throw new Error(P)}var C=await O.json();A(C)}catch(R){var j;if(i!==l){await S(l);return}throw R!=null&&(j=R.message)!==null&&j!==void 0&&j.includes("Unexpected token")?new Error(`App config file at ${I} is not a valid JSON`):R}}},"./lib/utils/console-logger.ts"(_,g,e){"use strict";e.d(g,{k:()=>p});var m=e("@elliemae/pui-diagnostics"),c=e.n(m),f=e("./lib/utils/app-config/config.ts"),p=function(){return m.logger?(0,m.logger)({transport:(0,m.Console)(),index:"app",environment:(0,f.vF)("activeEnv"),team:"app team",appName:"ICEMT App",appVersion:"latest",instanceId:"",userId:""}):console}()},"./lib/utils/constants.ts"(_,g,e){"use strict";e.d(g,{BD:()=>p,H1:()=>b,J2:()=>c,eE:()=>E});const m={AUTHORIZATION:"Authorization",CLIENT_ID:"tirykwfo"};var c={WARN:12*60*1e3,EXPIRY:15*60*1e3},f=null,p="HOST_WINDOW_RESIZED",b="HOST_WINDOW_BREAKPOINT_CHANGED",E=6e4,A=15,w=60,S=3,i=null,I=null,l="Session warning interval must be less than session timeout interval.";e.d(g,["Ay",0,m])},"./lib/utils/get-window.ts"(_,g,e){"use strict";e.d(g,{z:()=>m});var m=function(){try{return window.parent.document,window.parent}catch{return window}}},"./lib/utils/history.ts"(_,g,e){"use strict";e.d(g,{N:()=>f,w:()=>p});var m=e("./node_modules/.pnpm/history@5.3.0/node_modules/history/umd/history.production.min.js"),c=e.n(m),f=(0,m.createBrowserHistory)(),p=(0,m.createMemoryHistory)()},"./lib/utils/log-records.ts"(_,g,e){"use strict";e.d(g,{V:()=>m});var m={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(c){return{code:"appsdk05",message:`Application load failed. unable to locate ${c} in the manifest`}},APP_INIT_FAILED:function(c,f,p){return{code:"appsdk06",message:`Application load failed. Unable to load one or more application resources for appId: ${c} and instanceId: ${f}. ${p}`}},APP_LOADING:function(c,f){return{code:"appsdk07",message:`Application ${c} with instanceId ${f} is loading...`}},APP_LOADING_COMPLETE:function(c,f){return{code:"appsdk08",message:`Application ${c} loaded with instanceId ${f}`}},APP_UNLOADING:function(c,f){return{code:"appsdk09",message:`Application ${c} with instanceId ${f} unloading...`}},APP_UNLOADING_COMPLETE:function(c,f){return{code:"appsdk10",message:`Application ${c} with instanceId ${f} unloaded`}},SSF_HOST_OBJECT_NOT_FOUND:function(c){return{code:"appsdk11",message:`Parent window doesn't expose SSF Object named ${c}`}},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"(_,g,e){"use strict";e.d(g,{B:()=>c,t:()=>f});var m=null,c=function(p){m=p},f=function(){return m}},"./lib/utils/logrocket.ts"(_,g,e){"use strict";e.d(g,{K3:()=>I,R_:()=>w,s7:()=>A});var m,c,f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),p=e.n(f),b=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),E=function(){var l;return(l=window.emui)===null||l===void 0?void 0:l.logRocket},A="X-ICE-AppSessionLink",w=function(){var l;return((l=E())===null||l===void 0?void 0:l.sessionURL)||""},S=function(l){var O={};return Object.entries(l).forEach(function(P){var C=m(P,2),j=C[0],R=C[1];O[j]=R??""}),O},i=function(l,O){var P=E();P&&(P.identify(l,S(O)),c(l))},I=function(l){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,b.As)(l,O)}},"./lib/utils/micro-frontend/app-bridge.ts"(_,g,e){"use strict";e.d(g,{b:()=>b});var m=e("./node_modules/.pnpm/@elliemae+pui-app-bridge@2.32.3_@elliemae+pui-diagnostics@3.12.6_@elliemae+pui-logrocket@1.5._doqwnpquvazd5ereffd3jsflna/node_modules/@elliemae/pui-app-bridge/dist/esm/appBridge.js"),c=e("./lib/utils/logger.ts"),f=e("./lib/utils/app-config/config.ts"),p=null,b=async function(){if(!p){var E,A,w,S=(0,c.t)(),i=((E=window.emui)===null||E===void 0?void 0:E.version)||"latest";p=new m.o({logger:S,version:i,appConfigBaseUrl:(A=window)===null||A===void 0||(w=A.emui)===null||w===void 0?void 0:w._ASSET_PATH}),await p.init((0,f.WE)());var I=(0,f.vF)("microFrontendApps");I&&Object.keys(I).forEach(function(l){return p.warmUp(l)})}return p}},"./lib/utils/micro-frontend/guest.ts"(_,g,e){"use strict";e.d(g,{h:()=>Et});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),c=e.n(m),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),p=e.n(f),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),E=e.n(b),A=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),w=e.n(A),S=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),i=e.n(S),I=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),l=e.n(I),O=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),P=e.n(O),C=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),j=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.1/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),R=e("./node_modules/.pnpm/@elliemae+ssf-guest@2.32.3_@elliemae+pui-logrocket@1.5.0/node_modules/@elliemae/ssf-guest/dist/esm/guest.js"),X=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),le=e("./lib/utils/get-window.ts"),te=e("./lib/utils/app-config/index.ts"),de=e("./lib/utils/app-config/config.ts"),F=e("./lib/utils/history.ts"),ie=e("./lib/utils/console-logger.ts"),k=e("./lib/utils/logger.ts"),Le=e("./node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js"),me,Y="storage",J="getSessionStorage",se="sessionStorage",pe=function(){return sessionStorage.length===0},fe=function(u){if(u.key===J)localStorage.setItem(se,JSON.stringify(sessionStorage)),localStorage.removeItem(se);else if(u.key===se&&u.newValue){var n=JSON.parse(u.newValue);n&&Object.keys(n).forEach(function(d){sessionStorage.setItem(d,n[d])})}},at=null,Ce=function(){window.addEventListener(Y,fe),pe()&&localStorage.setItem(J,`${Date.now()}`)},Te=function(){window.removeEventListener(Y,fe)},je=e("./lib/utils/micro-frontend/app-bridge.ts"),Re=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),Ve=function(){return!0},Be=function(){return Re.env.CI==="true"},Ue=/^(?:[a-z]+:)?\/\//,pt=function(u){return Ue.test(u)?u:new URL(u,document.location.origin).href},qe=function(u){var n=u.promise,d=u.delay,h=u.retValue,N=h===void 0?!1:h,H=u.throwError,K=H===void 0?!1:H,Ne=u.errMsg;return Promise.race([n,new Promise(function(Qe,Pt){setTimeout(function(){K?Pt(new Error(Ne)):Qe(N)},d)})])},L=e("./lib/utils/micro-frontend/ssf-host.ts"),He=function(){var u,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;if(n){var d=n,h=(u=d.emui)===null||u===void 0?void 0:u._ASSET_PATH;if(h){d.__webpack_public_path__=new URL("../",h).href;return}d.__webpack_public_path__=(d.__webpack_public_path__||"").replace(/\/?$/,"/")}},ae=["history"],We,z="app-container",ft=2e3,ht=1e3,Mt=function(){try{return window.parent.document,!1}catch{return!0}},_e=function(u){return u.SSF="ssf",u.APPSDK="app-sdk",u}(_e||{}),Lt="module.unmount",ne=l()("uuid"),Z=l()("communicationMethod"),he=l()("ssfHostRef"),Xe=l()("useV2Guest"),ge=l()("selfInitialize"),$e=l()("embeddedWithoutHost"),V=l()("appBridge"),De=l()("pendingInitialRoute"),Ae=l()("hostTeardownPromise"),Ie=l()("moduleUnmountSubToken"),Q=l()("handleModuleUnmount"),et=l()("boundOnWindowUnload"),tt=l()("addAppToGlobalVariable"),it=l()("removeLegacyGlobalRegistration"),gt=l()("onWindowUnload"),we=l()("getLegacyParentHost"),Ye=l()("tryConnectSSFGuest"),lt=l()("resolveHistory"),bt=l()("discoverHost"),Se=l()("exposeGetHost"),Je=l()("initAppBridge"),dt=l()("applyModuleParams"),jt=l()("applyHistoryFromParams"),Fe=l()("applyInitialRoute"),be=l()("loadConfigAndBridge"),Ze=l()("trackAnalyticsAndOnInit"),ye=l()("internalTeardown"),st=l()("bindModuleUnmountListener"),yt=l()("unbindModuleUnmountListener"),ke=l()("completeWithoutHost"),ut=l()("fetchModuleScriptingObject"),Et=function(){function u(n){var d=this,h,N,H;E()(this,u),Object.defineProperty(this,ut,{value:Ft}),Object.defineProperty(this,ke,{value:$t}),Object.defineProperty(this,yt,{value:_t}),Object.defineProperty(this,st,{value:Wt}),Object.defineProperty(this,ye,{value:Ut}),Object.defineProperty(this,Ze,{value:Ct}),Object.defineProperty(this,be,{value:St}),Object.defineProperty(this,Fe,{value:wt}),Object.defineProperty(this,jt,{value:ot}),Object.defineProperty(this,dt,{value:mt}),Object.defineProperty(this,Je,{value:It}),Object.defineProperty(this,Se,{value:vt}),Object.defineProperty(this,bt,{value:nt}),Object.defineProperty(this,lt,{value:xt}),Object.defineProperty(this,Ye,{value:ct}),Object.defineProperty(this,we,{value:ze}),Object.defineProperty(this,gt,{value:Ke}),Object.defineProperty(this,it,{value:q}),Object.defineProperty(this,tt,{value:Pe}),Object.defineProperty(this,ne,{writable:!0,value:void 0}),this.logger=void 0,this.appId=void 0,this.props=void 0,Object.defineProperty(this,Z,{writable:!0,value:void 0}),Object.defineProperty(this,he,{writable:!0,value:void 0}),Object.defineProperty(this,Xe,{writable:!0,value:void 0}),Object.defineProperty(this,ge,{writable:!0,value:void 0}),Object.defineProperty(this,$e,{writable:!0,value:void 0}),Object.defineProperty(this,V,{writable:!0,value:null}),Object.defineProperty(this,De,{writable:!0,value:null}),Object.defineProperty(this,Ae,{writable:!0,value:null}),Object.defineProperty(this,Ie,{writable:!0,value:null}),Object.defineProperty(this,Q,{writable:!0,value:async function(){return await i()(d,ye)[ye](),!0}}),Object.defineProperty(this,et,{writable:!0,value:function(){i()(d,gt)[gt]()}}),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,de.vF)("appId"),i()(this,ne)[ne]=window.emui.uuid,i()(this,Z)[Z]=_e.APPSDK,this.props={host:null,hostUrl:null,prevState:null,history:n?.history||F.N,theme:(0,j.getDefaultTheme)(),manifestPath:"./latest",containerId:z},this.logger=n?.logger||ie.k,(0,k.B)(this.logger),n!=null&&n.ssfHostRef&&(0,L.Z)(n.ssfHostRef),i()(this,he)[he]=(0,L.F)(),i()(this,Xe)[Xe]=n?.useV2Guest!==!1,i()(this,ge)[ge]=(N=n?.selfInitialize)!==null&&N!==void 0?N:!1,i()(this,$e)[$e]=(H=n?.embeddedWithoutHost)!==null&&H!==void 0?H:!1,this.onInit=n?.onInit,this.onMount=n?.onMount,this.onUnmount=n?.onUnmount,this.onGetRef=n?.onGetRef,i()(this,$e)[$e]&&!i()(this,ge)[ge]&&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,ge)[ge]?window.addEventListener("beforeunload",i()(this,et)[et]):i()(this,tt)[tt]()}return w()(u,[{key:"getHost",value:function(){return this.props.host}},{key:"getLogger",value:function(){return this.logger}},{key:"getObject",value:function(d){var h=null;return i()(this,Z)[Z]===_e.SSF?(h=this.getHost(),h.getObject(d)):(h=this.getHost(),h?h.getObject(d):Promise.resolve(null))}},{key:"subscribe",value:function(d){var h=null;return i()(this,Z)[Z]===_e.SSF?(h=this.getHost(),h.subscribe(d)):(h=this.getHost(),h.subscribe(d))}},{key:"unsubscribe",value:function(d){var h=null;if(i()(this,Z)[Z]===_e.SSF){h=this.getHost(),h.unsubscribe(d);return}h=this.getHost(),h.unsubscribe(d)}},{key:"getProps",value:function(){return this.props}},{key:"getSessionStorageItem",value:function(d){var h=sessionStorage.getItem(d),N=this.getHost();return!h&&N!==null&&N!==void 0&&N.getItem&&(h=N.getItem(d)),h}},{key:"findHost",value:async function(){var d=i()(this,we)[we]();return d||(i()(this,Xe)[Xe]?i()(this,Ye)[Ye]():null)}},{key:"uuid",get:function(){return i()(this,ne)[ne]}},{key:"initialize",value:async function(){He();var d=window.top===window.self&&!window.opener;if(d)return await i()(this,be)[be](),i()(this,ke)[ke]("standalone");if(i()(this,$e)[$e])return await i()(this,be)[be](),i()(this,ke)[ke]("embeddedWithoutHost");var h=await Promise.all([i()(this,bt)[bt](),i()(this,be)[be]()]),N=p()(h,1),H=N[0];if(!H)return i()(this,ke)[ke]("discoveryFallback");this.props.host=H,i()(this,Se)[Se]();var K={moduleId:this.appId};try{var Ne=await i()(this,ut)[ut]();Ne?(K=await Ne.getParameters(),i()(this,dt)[dt](K)):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,Ze)[Ze](),i()(this,st)[st](),K}},{key:"init",value:async function(d){var h=this,N=d??{},H=N.history,K=c()(N,ae);if(this.props=P()(this.props,K),!this.props.host){var Ne=await this.findHost();Ne?this.props.host=Ne:this.logger.warn("unable to connect to host microapp")}return i()(this,Se)[Se](),He(),(0,te.y)().then(function(){var Qe=h.getSessionStorageItem("instanceId")||"",Pt=h.getSessionStorageItem("userId")||"";(0,X.nE)({appId:h.appId,instanceId:Qe,userId:Pt});var kt=i()(h,lt)[lt](H);return!kt&&d!==null&&d!==void 0&&d.initialRoute&&(i()(h,De)[De]=typeof d.initialRoute=="string"?d.initialRoute:d.initialRoute.pathname||null),(0,je.b)().then(function(Nt){i()(h,V)[V]=Nt,h.onInit&&h.onInit(h.props),i()(h,st)[st]()})})}},{key:"mount",value:function(){var d=this,h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{containerId:z};return this.props.containerId=h?.containerId,Promise.resolve().then(function(){i()(d,De)[De]&&(d.props.history.push(i()(d,De)[De]),i()(d,De)[De]=null),d.onMount&&d.onMount(h)})}},{key:"unmount",value:function(d){var h=this;return Te(),Promise.resolve().then(function(){return h.onUnmount?h.onUnmount(d):null})}},{key:"getRef",value:function(){return this.onGetRef?this.onGetRef():null}},{key:"navigate",value:function(d,h){d&&this.props.history.push(d,h)}},{key:"addScriptingObject",value:function(d,h){i()(this,V)[V]&&i()(this,V)[V].addScriptingObject(d,h),i()(this,he)[he].addScriptingObject(d,h)}},{key:"dispatchEvent",value:async function(d){if(i()(this,V)[V]){var h=await Promise.all([i()(this,V)[V].dispatchEvent(d),i()(this,he)[he].dispatchEvent(d)]),N=p()(h,2),H=N[0],K=N[1];return Array.isArray(H)&&Array.isArray(K)?H.concat(K):Promise.resolve()}return i()(this,he)[he].dispatchEvent(d)}},{key:"removeScriptingObject",value:function(d,h){i()(this,V)[V]&&i()(this,V)[V].removeScriptingObject(d,h),i()(this,he)[he].removeScriptingObject(d,h)}}],[{key:"getInstance",value:function(d){return this.instance||(this.instance=new u(d),d!=null&&d.selfInitialize||(d?.logger||ie.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 d,h;return!!((d=this.instance)!==null&&d!==void 0&&(h=d.props)!==null&&h!==void 0&&h.host)}}])}();We=Et;function Pe(){var u=this,n=(0,le.z)();if(n){n.emui=n.emui||{};var d=this.unmount.bind(this),h={uuid:i()(this,ne)[ne],init:this.init.bind(this),mount:this.mount.bind(this),unmount:function(K){return K!=null&&K.containerId&&(u.props.containerId=K.containerId),u.props.host?i()(u,ye)[ye]().then(function(){return null}):d(K)},getRef:this.getRef.bind(this),navigate:this.navigate.bind(this)};if(n.emui[this.appId])if(Array.isArray(n.emui[this.appId])){var N=n.emui[this.appId],H=N.findIndex(function(K){return K.uuid===i()(u,ne)[ne]});H>-1?N[H]=h:N.push(h)}else n.emui[this.appId].uuid===i()(this,ne)[ne]?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,et)[et])}}function q(){var u=this;if(!i()(this,ge)[ge]){var n=(0,le.z)();if(n!=null&&n.emui){if(Array.isArray(n.emui[this.appId])){var d=n.emui[this.appId],h=d.findIndex(function(N){return N.uuid===i()(u,ne)[ne]});h>-1&&d.splice(h,1),d.length===0&&delete n.emui[this.appId]}else delete n.emui[this.appId];delete window.emui.app}}}function Ke(){if(this.props.host){i()(this,ye)[ye]().catch(function(){});return}if(!i()(this,ge)[ge]){i()(this,it)[it](),this.unmount({containerId:this.props.containerId}).catch(function(){});return}i()(this,ye)[ye]().catch(function(){})}function ze(){var u,n,d;return Mt()?null:(u=(n=window.parent)===null||n===void 0||(d=n.emui)===null||d===void 0?void 0:d.MicroAppHost)!==null&&u!==void 0?u:null}async function ct(){var u=new R.p({appLogger:this.logger});try{var n=await qe({promise:u.connect(),delay:ht,retValue:!0});if(!n)return i()(this,Z)[Z]=_e.SSF,u}catch{}return null}function xt(u){if(i()(this,Z)[Z]===_e.SSF)return this.props.history=F.N,!1;var n=(0,de.vF)("useParentHistory",!0);return n&&u?this.props.history=u:!n&&window!==window.parent&&(this.props.history=F.w),n}async function nt(){var u;if((u=window.emui)!==null&&u!==void 0&&u.__host)return window.emui.__host;var n=i()(this,we)[we]();return n||(i()(this,Xe)[Xe]?i()(this,Ye)[Ye]():null)}function vt(){var u=this;window.emui=window.emui||{},window.emui.getHost=function(){var n;return(n=u.props.host)!==null&&n!==void 0?n:null}}async function It(){i()(this,V)[V]=await(0,je.b)()}function mt(u){u.homeRoute&&(this.props.homeRoute=u.homeRoute),u.theme&&(this.props.theme=u.theme),u.hostUrl&&(this.props.hostUrl=u.hostUrl),u.manifestPath&&(this.props.manifestPath=u.manifestPath),u.containerId&&(this.props.containerId=u.containerId),i()(this,jt)[jt](u)}function ot(u){if(i()(this,Z)[Z]===_e.SSF){this.props.history=F.N;return}var n=(0,de.vF)("useParentHistory",!0);n&&u.history?this.props.history=u.history:!n&&window!==window.parent&&(this.props.history=F.w),i()(this,Fe)[Fe](u,n)}function wt(u,n){if(!(!u.initialRoute||n)){var d=typeof u.initialRoute=="string"?u.initialRoute:u.initialRoute.pathname;d&&this.props.history.push(d)}}async function St(){await(0,te.y)(),await i()(this,Je)[Je]()}function Ct(){var u=this.getSessionStorageItem("instanceId")||"",n=this.getSessionStorageItem("userId")||"";(0,X.nE)({appId:this.appId,instanceId:u,userId:n}),this.onInit&&this.onInit(this.props)}function Ut(){var u=this;return i()(this,Ae)[Ae]||(i()(this,Ae)[Ae]=Promise.resolve().then(function(){i()(u,it)[it]()}).then(function(){return u.unmount({containerId:u.props.containerId})}).then(function(){i()(u,yt)[yt]()}).catch(function(n){throw i()(u,Ae)[Ae]=null,n})),i()(this,Ae)[Ae]}function Wt(){if(!(i()(this,Ie)[Ie]||!this.props.host))try{i()(this,Ie)[Ie]=this.subscribe({eventId:Lt,callback:i()(this,Q)[Q]})}catch{this.logger.warn("Unable to subscribe to module.unmount from host \u2014 continuing without host teardown listener")}}function _t(){i()(this,Ie)[Ie]&&(this.unsubscribe({eventId:Lt,token:i()(this,Ie)[Ie]}),i()(this,Ie)[Ie]=null)}function $t(u){return u==="standalone"?(this.logger.info("Running in standalone mode \u2014 skipping host discovery"),i()(this,Se)[Se](),i()(this,lt)[lt]()):u==="embeddedWithoutHost"?(this.logger.info("embeddedWithoutHost enabled \u2014 skipping host discovery"),i()(this,Se)[Se]()):(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,Se)[Se]()),i()(this,Ze)[Ze](),{moduleId:this.appId}}async function Ft(){var u="module",n=this.getObject(u);return i()(this,Z)[Z]!==_e.SSF?n:qe({promise:n,delay:ft,throwError:!0,errMsg:`Timed out waiting for module scripting object from host (${ft}ms)`})}Et.instance=void 0},"./lib/utils/micro-frontend/ssf-host.ts"(_,g,e){"use strict";e.d(g,{F:()=>E,Z:()=>A});var m=e("./node_modules/.pnpm/@elliemae+ssf-host@2.32.3_@elliemae+pui-diagnostics@3.12.6/node_modules/@elliemae/ssf-host/dist/esm/host.js"),c=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),f=e("./lib/utils/logger.ts"),p=e("./lib/utils/app-config/config.ts"),b=null,E=function(){if(!b){var w=(0,f.t)();b=new m.P((0,p.vF)("appId"),{logger:w,analyticsObj:new c.j({logger:w})})}return b},A=function(w){b||(b=w)}},"./lib/utils/page-wake.ts"(_,g,e){"use strict";e.d(g,{v:()=>m});var m=function(c){var f=!1,p=function(){f||(f=!0,queueMicrotask(function(){f=!1,c()}))},b=function(){document.hidden||p()};return document.addEventListener("visibilitychange",b),window.addEventListener("pageshow",p),window.addEventListener("focus",p),function(){document.removeEventListener("visibilitychange",b),window.removeEventListener("pageshow",p),window.removeEventListener("focus",p)}}},"./lib/utils/session-timeout-config.ts"(_,g,e){"use strict";e.d(g,{BH:()=>E,Gw:()=>S,vG:()=>i});var m=e("./lib/utils/app-config/config.ts"),c=e("./lib/utils/constants.ts"),f,p,b=function(I){return I*6e4},E=function(){f=void 0,p=void 0},A=function(I){var l=I.sessionExpiryInterval,O=I.sessionWarnInterval;f=b(l-O),p=b(l)},w=function(I,l){var O=(0,m.vF)(I);if(O==null||O==="")return l;var P=Number(O);return Number.isFinite(P)&&P>0?P:l},S=function(){return f===void 0&&(f=w("sessionTimeoutWarnInterval",c.J2.WARN)),f},i=function(){if(p===void 0){var I=S(),l=w("sessionTimeoutInterval",c.J2.EXPIRY);p=l>I?l:I+1}return p}},"./lib/utils/session.ts"(_,g,e){"use strict";e.d(g,{lQ:()=>Ne,LC:()=>Qe,KB:()=>u,oB:()=>$t,z3:()=>N,lD:()=>Nt,n5:()=>kt,Lw:()=>Pt});var m=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),c=e.n(m),f=function(t){window.emui.loginParams=Object.assign({redirectUri:new URL(window.location.href).href},t)},p=function(){if(!window.emui.loginParams){var t=JSON.parse(sessionStorage.getItem("user")||"{}"),r=t.client_id||"",v=t.scope||"";window.emui.loginParams={clientId:r,scope:v}}return window.emui.loginParams},b=e("./lib/utils/constants.ts"),E,A=function(){return sessionStorage.getItem(b.Ay.AUTHORIZATION)||""},w=function(t){sessionStorage.setItem(E.AUTHORIZATION,t)},S=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"),I=e("./lib/utils/app-config/config.ts"),l=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),O=e.n(l),P;function C(t,r){var v=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!v){if(Array.isArray(t)||(v=j(t))||r&&t&&typeof t.length=="number"){v&&(t=v);var x=0,T=function(){};return{s:T,n:function(){return x>=t.length?{done:!0}:{done:!1,value:t[x++]}},e:function(U){throw U},f:T}}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 D,B=!0,$=!1;return{s:function(){v=v.call(t)},n:function(){var U=v.next();return B=U.done,U},e:function(U){$=!0,D=U},f:function(){try{B||v.return==null||v.return()}finally{if($)throw D}}}}function j(t,r){if(t){if(typeof t=="string")return R(t,r);var v={}.toString.call(t).slice(8,-1);return v==="Object"&&t.constructor&&(v=t.constructor.name),v==="Map"||v==="Set"?Array.from(t):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?R(t,r):void 0}}function R(t,r){(r==null||r>t.length)&&(r=t.length);for(var v=0,x=Array(r);v<r;v++)x[v]=t[v];return x}var X=function(t){return t},le=function(t,r){var v,x;r=r||P,(v=r)!==null&&v!==void 0&&(x=v.interceptors)!==null&&x!==void 0&&x.response&&r.interceptors.response.eject(t)},te=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 v=!1,x=C(r.statusCodesToRetry),T;try{for(x.s();!(T=x.n()).done;){var D=T.value,B=O()(D,2),$=B[0],U=B[1],oe=t.response.status;if(oe>=$&&oe<=U){v=!0;break}}}catch(Ee){x.e(Ee)}finally{x.f()}if(!v)return!1}return r.currentRetryAttempt=r.currentRetryAttempt||0,!(r.currentRetryAttempt>=r.retry)},de=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 v=[[100,199],[429,429],[500,599]];r.statusCodesToRetry=r.statusCodesToRetry||v,t.config.retryConfig=r;var x=r.shouldRetry||te;if(!x(t))return Promise.reject(t);var T=new Promise(function(B){var $=(2**r.currentRetryAttempt-1)/2*1e3;t.config.retryConfig.currentRetryAttempt+=1,setTimeout(B,$)}),D=r.onRetryAttempt?Promise.resolve(r.onRetryAttempt(t)):Promise.resolve();return Promise.resolve().then(function(){return T}).then(function(){return D}).then(function(){return r.instance.request(t.config)})},F=function(t){var r,v;return t=t||i.A,(r=t)!==null&&r!==void 0&&(v=r.interceptors)!==null&&v!==void 0&&v.response?t.interceptors.response.use(X,de):null},ie=function(t){return t&&t.config?t.config.retryConfig:null},k=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 v=ie(r);v&&v.currentRetryAttempt}}},Le=function(t){t!=null&&t.defaults&&(t.defaults.retryConfig=k(t)),F(t)};const me=Le;var Y=e("./lib/utils/logrocket.ts"),J=e("./lib/communication/http-client/props.ts");function se(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return function(r){if(J.K.resetUserIdleTime(),t){var v=(0,Y.R_)();v&&r.headers.set(Y.s7,v)}return r}}var pe=401,fe=null,at=function(t){fe=t},Ce=function(t){return t},Te=function(t){var r=(t||{}).response||{},v=r.status;if(v===pe){if(fe&&typeof fe=="function")return fe(t).then(function(x){var T=t.config;if(!(T!=null&&T.headers))throw t;return T.headers.Authorization=x,new Promise(function(D,B){i.A.request(T).then(D).catch(B)})}).catch(function(x){return Promise.reject(x)});if(J.K.endSession)return J.K.endSession(Object.assign({},p(),{skipRevoke:!0})).then(function(){return Promise.reject(t)}).catch(function(){return Promise.reject(t)})}return Promise.reject(t)},je,Re,Ve=null,Be=2*60*1e3,Ue=function(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=r.baseURL,x=v===void 0?(0,I.vF)("serviceEndpoints.api",""):v,T=r.headers,D=T===void 0?{}:T,B=r.sendLogRocketSessionHeader,$=B===void 0?!0:B,U=i.A.create({baseURL:x,headers:D});U!=null&&(t=U.defaults)!==null&&t!==void 0&&t.timeout&&(U.defaults.timeout=Be),me(U);var oe=U?.interceptors||{},Ee=oe.request,ee=oe.response;return Ee&&Ee.use(se($)),ee&&ee.use(Ce,Te),U},pt=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.baseURL,v=t.headers,x=v===void 0?{}:v,T=t.sendLogRocketSessionHeader,D=T===void 0?!0:T,B=je(t,Ve);return Ue(Object.assign({baseURL:r,headers:Object.assign({Authorization:Re()},x),sendLogRocketSessionHeader:D},B))},qe,L=async function(t){var r=t.code,v=t.clientId,x=t.scope,T=t.redirectUri,D=new URLSearchParams;D.append("grant_type","authorization_code"),D.append("client_id",v),D.append("redirect_uri",T),D.append("scope",x),D.append("code",r);var B=await qe().post("/oauth2/v1/token",D),$=B.data;return{tokenType:$.token_type,accessToken:$.access_token}},He=async function(t){var r=t.clientId,v=t.token,x=new URLSearchParams;x.append("token",v),x.append("client_id",r),await Ue().post("/oauth2/v1/token/revocation",x)},ae=async function(t){var r=t.clientId,v=t.accessToken,x=new URLSearchParams;x.append("token",v),x.append("client_id",r);var T=await Ue().post("/oauth2/v1/token/introspection",x),D=T.data;return D},We=e("./lib/utils/logger.ts"),z=e("./lib/utils/log-records.ts"),ft=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),ht=e("./lib/analytics/push-to-data-layer.ts"),Mt,_e,Lt=function(t){var r=t.instanceId,v=t.userId;Mt({instanceId:r,userId:v}),_e({event:"login"})},ne=function(){(0,ht.U)({event:"logout"}),(0,ft.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"),he,Xe,ge,$e,V,De,Ae,Ie,Q,et,tt,it,gt,we,Ye="serviceEndpoints.idp",lt=function(){return!!Q()},bt=function(){var t=new URL(window.location.href),r=t.searchParams.get("code")||"",v=t.searchParams.get("error_code")||"";return t.search="",{code:r,idpErrorCode:v,redirectUri:t.href}},Se=function(t){var r=t.clientId,v=t.redirectUri,x=t.idpErrorCode,T=t.scope,D=t.responseType,B=t.instanceId,$=t.siteId,U=t.userId,oe=t.disableRememberMe,Ee=t.useCompactIdpPage,ee=t.isSSO,Oe=tt(Ye,""),re=new URL("/authorize",Oe),Me=Object.assign({client_id:r,redirect_uri:v,response_type:D??"",scope:T},B!==void 0&&{instance_id:String(B)},$!==void 0&&{site_id:String($)},U!==void 0&&{user_id:U},oe!==void 0&&{disable_remember_me:String(oe)},Ee!==void 0&&{tpoifr:String(Ee)},ee!==void 0&&{is_sso:String(ee)}),Ge=new URLSearchParams(x?Object.assign({},Me,{error_code:x}):Me);re.search=Ge.toString(),window.location.replace(re.href)},Je=async function(t){var r=t.clientId,v=t.redirectUri,x=t.responseType,T=t.scope,D=t.code,B=D===void 0?"":D,$=t.customLogoutUrl,U=$===void 0?"":$,oe=t.skipRevoke,Ee=oe===void 0?!1:oe;try{var ee=A();sessionStorage.clear();var Oe=ee?ee.split(" ")[1]:"";Ee||await He({clientId:r,token:Oe}),ne(),(0,Y.K3)("logout"),(0,Z.E3)(),(0,ft.nE)({instanceId:"",userId:""});var re;if(U)re=new URL("/",U);else{var Me=(0,I.vF)(Ye,"");re=new URL("/authorize",Me);var Ge=Object.assign({client_id:r,redirect_uri:v||""},B&&{error_code:B},{response_type:x||"",scope:T}),At=new URLSearchParams(Ge);re.search=At.toString()}window.location.replace(re.href)}catch(Bt){var rt;(rt=(0,We.t)())===null||rt===void 0||rt.error(Object.assign({},z.V.LOGOUT_FAILED,{exception:Bt}))}},dt=async function(t){var r=t.code,v=t.redirectUri,x=t.clientId,T=t.scope,D=t.responseType,B=t.isConsumerUser;try{var $=await ge({code:r,clientId:x,scope:T,redirectUri:v}),U=$.tokenType,oe=$.accessToken;gt({clientId:x,scope:T,responseType:D,redirectUri:v});var Ee=`${U} ${oe}`;et(Ee);var ee=await $e({clientId:x,accessToken:oe});sessionStorage.setItem("user",JSON.stringify(ee));var Oe=ee.encompass_instance_id,re=ee.user_name,Me=ee.bearer_token,Ge=ee.user_key,At={bearerToken:Me,realm:Oe,userName:re,sessionId:Me?.replace(`${Oe} `,"")};sessionStorage.setItem("cred",JSON.stringify(At)),sessionStorage.setItem("instanceId",Oe),sessionStorage.setItem("userId",re),De({instanceId:Oe,userId:re}),he({instanceId:Oe,userId:re});var rt={name:re,instanceId:Oe};Ae(Ge,rt),Ie("login",rt);var Bt=await V({userName:re,isConsumerUser:B});sessionStorage.setItem("userSettings",JSON.stringify(Bt));var Kt=new URL(v).pathname;Xe.replace(Kt)}catch(Dt){var Ht,Tt,Rt,zt=Dt==null||(Ht=Dt.response)===null||Ht===void 0||(Tt=Ht.data)===null||Tt===void 0?void 0:Tt.code;await Je({clientId:x,redirectUri:v,code:zt,scope:T,responseType:D}),(Rt=we())===null||Rt===void 0||Rt.error(Object.assign({},it.LOGIN_FAILED,{exception:Dt}))}},jt=async function(t){var r=t.clientId,v=t.scope,x=t.responseType,T=t.isConsumerUser,D=t.instanceId,B=t.siteId,$=t.userId,U=t.disableRememberMe,oe=t.useCompactIdpPage,Ee=t.isSSO,ee=bt(),Oe=ee.code,re=ee.idpErrorCode,Me=ee.redirectUri,Ge={clientId:r,scope:v,responseType:x,redirectUri:Me,code:Oe,idpErrorCode:re,isConsumerUser:T,instanceId:D,siteId:B,userId:$,disableRememberMe:U,useCompactIdpPage:oe,isSSO:Ee};return Oe?(await dt(Ge),{authorized:!0}):(Se(Ge),{authorized:!1})},Fe=e("./lib/utils/page-wake.ts"),be=e("./lib/utils/session-timeout-config.ts"),Ze,ye,st,yt,ke,ut,Et,Pe,q,Ke=Date.now(),ze=[],ct=[],xt=[],nt=["click","scroll","keypress","touchstart"],vt=!1,It=!1,mt,ot,wt,St=function(){It=!1,vt=!1,wt=null},Ct=function(){return Date.now()-Ke>(0,be.Gw)()},Ut=function(){return Date.now()-Ke>(0,be.vG)()},Wt=function(){return Promise.resolve().then(function(){ct.forEach(function(t){return t()})})},_t=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;St(),Ke=Date.now(),Promise.resolve().then(function(){xt.forEach(function(r){return r(t)})}).catch(function(){})},$t=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;H(t===!0)&&_t(t)},Ft=function(t){var r=t.sessionExpiryInterval,v=r===void 0?ye:r,x=t.sessionWarnInterval,T=x===void 0?st:x;if(v<ye)throw new Error(yt);if(v>ke)throw new Error(ut);if(T>=v)throw new Error(Et);q({sessionExpiryInterval:v,sessionWarnInterval:T}),Qe(!1)},u=async function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(H(t===!0)){var r=p();try{if(_t(!0),r!=null&&r.clientId){var v=A();if(!v)throw new Error("Authorization token not found to extend session");var x=v.split(" ")[1];await ae({clientId:r.clientId,accessToken:x})}}catch(D){var T;(T=(0,We.t)())===null||T===void 0||T.error(Object.assign({},z.V.SESSION_RENEWAL_FAILED,{exception:D})),await Je(Object.assign({},r,{skipRevoke:!0}))}}},n=c()(function(){u().catch(function(){})},b.eE,{leading:!0}),d=function(){nt.forEach(function(t){document.removeEventListener(t,n)})},h=function(){vt=!0,wt=Date.now(),d(),Promise.resolve().then(function(){ze.forEach(function(t){return t(wt)})}).catch(function(){})},N=function(){var t;d(),(t=ot)===null||t===void 0||t(),ot=void 0,clearInterval(mt),St(),ze.length=0,ct.length=0};function H(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return It?!1:Ut()?(It=!0,Wt().then(function(){N()}).catch(function(){}),!1):!vt&&Ct()?(h(),!1):!(vt&&!t)}var K=function(t,r){var v=t.findIndex(function(x){return x===r});v>-1&&t.splice(v,1)},Ne=function(){nt.forEach(function(t){document.addEventListener(t,n)})},Qe=function(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;clearInterval(mt),(t=ot)===null||t===void 0||t(),d(),r&&(0,be.BH)(),St(),Ne(),ot=(0,Fe.v)(H),mt=setInterval(H,1e3)},Pt=function(t){return ze.push(t),K.bind(null,ze,t)},kt=function(t){return ct.push(t),K.bind(null,ct,t)},Nt=function(t){return xt.push(t),K.bind(null,xt,t)},Vt=function(t,r){if(!t)return function(){};var v=Ze(r,Pe,{leading:!0});return nt.forEach(function(x){return t.addEventListener(x,v)}),function(){nt.forEach(function(x){return t.removeEventListener(x,r)}),nt.forEach(function(x){return t.removeEventListener(x,v)})}}},"./lib/view/error-toast/index.tsx"(_,g,e){"use strict";e.d(g,{Q:()=>l});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),c=e.n(m),f=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),p=e("./node_modules/.pnpm/@elliemae+ds-toast@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-toast/dist/esm/parts/DSToast.js"),b=e("./node_modules/.pnpm/@elliemae+ds-toast@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-toast/dist/esm/toast.js"),E=e("./node_modules/.pnpm/@elliemae+ds-toast@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-toast/dist/esm/constants.js"),A=e("./lib/data/useAppDispatch.ts"),w=e("./lib/data/useAppSelector.ts"),S=e("./lib/data/error/index.ts"),i=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),I=["position","messageTitle","type","description","messageText","messageComponent"],l=(0,f.memo)(function(O){var P=(0,w.G)(function(j){return j?.error}),C=(0,A.j)();return(0,f.useEffect)(function(){if(P&&(P!=null&&P.description||P!=null&&P.messageText)){var j=Object.assign({position:E.xJ.TOP_RIGHT,messageTitle:"Error",type:E.Ck.ERROR},O,P),R=j.position,X=j.messageTitle,le=j.type,te=j.description,de=j.messageText,F=j.messageComponent,ie=c()(j,I),k=te||de;k&&(0,b.o)({messageText:k,messageTitle:X,type:le,messageComponent:F},Object.assign({position:R},ie)),C(S.o.clear())}},[P,O,C]),(0,i.jsx)(p.P_,Object.assign({},O))})},"./lib/view/live-message/index.tsx"(_,g,e){"use strict";e.d(g,{I:()=>b});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),c=e.n(m),f=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),p=e("./lib/data/useAppSelector.ts"),b=function(){var E=(0,p.G)(function(w){var S;return(S=w.liveMessage)===null||S===void 0?void 0:S.message}),A=(0,p.G)(function(w){var S;return(S=w.liveMessage)===null||S===void 0?void 0:S.ariaLive});return c()(f.Iu,{message:E,"aria-live":A})};b.displayName="LiveMessage"},"./lib/view/modals/session-expiry/index.tsx"(_,g,e){"use strict";e.d(g,{_:()=>Le});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),c=e.n(m),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),p=e.n(f),b=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),E=e("./node_modules/.pnpm/@elliemae+ds-button-v2@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV2/DSButtonV2.js"),A=e("./node_modules/.pnpm/@elliemae+ds-icons@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-icons/dist/esm/WarningCircle.js"),w=e("./node_modules/.pnpm/@elliemae+ds-hooks-focus-trap@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-hooks-focus-trap/dist/esm/DSHookOnFirstFocusIn.js"),S=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/DSDialog.js"),i=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogBody/DSDialogBody.js"),I=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogDefaultLayout/DSDialogDefaultLayout.js"),l=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogPrimaryMessage/DSDialogPrimaryMessage.js"),O=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSecondaryMessage/DSDialogSecondaryMessage.js"),P=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogSeparator/DSDialogSeparator.js"),C=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogFooter/DSDialogFooter.js"),j=e("./lib/data/useAppDispatch.ts"),R=e("./lib/data/logout/actions.ts"),X=e("./lib/utils/session.ts"),le=e("./lib/utils/page-wake.ts"),te=e("./lib/utils/session-timeout-config.ts"),de=function(me){var Y=Math.max(0,Math.floor(me/1e3)),J=Math.floor(Y/60),se=Y%60;return`${String(J).padStart(2,"0")}:${String(se).padStart(2,"0")}`},F=function(me){var Y=(0,b.useState)(),J=p()(Y,2),se=J[0],pe=J[1];return(0,b.useEffect)(function(){var fe=(0,te.Gw)(),at=(0,te.vG)(),Ce=me+(at-fe),Te=function(){pe(de(Ce-Date.now()))};Te();var je=setInterval(Te,1e3),Re=(0,le.v)(Te);return function(){clearInterval(je),Re()}},[me]),se},ie,k,Le=(0,b.memo)(function(me){var Y=me.open,J=me.warningNotifiedAt,se=J===void 0?0:J,pe=(0,b.useState)(Y),fe=p()(pe,2),at=fe[0],Ce=fe[1],Te=F(se),je=(0,j.j)(),Re=(0,b.useRef)(null),Ve=(0,b.useRef)(null),Be=(0,w.r)({firstElementRef:Re,lastElementRef:Ve});(0,b.useEffect)(function(){Ce(Y)},[Y]);var Ue=async function(){Ce(!1),await(0,X.KB)(!0),(0,X.lQ)(),je(R.r.cancel())},pt=function(){Ce(!1),je(R.r.confirm())};return Te?c()(S.O,{onKeyDown:Be,isOpen:at,size:"small"},void 0,c()(i.u,{p:"s"},void 0,c()(I.D,{},void 0,c()(A.A,{size:"xl",color:["warning","900"]}),c()(l.T,{},void 0,`Your session will expire in ${Te}`),ie||(ie=c()(O.z,{},void 0,"Please logout or reset your session")))),k||(k=c()(P.Z,{})),c()(C.r,{},void 0,c()(E.e,{innerRef:Re,buttonType:"outline",onClick:pt},void 0,"Logout"),c()(E.e,{innerRef:Ve,onClick:function(){Ue().catch(function(){})}},void 0,"Reset"))):null})},"./lib/view/session-timeout/index.tsx"(_,g,e){"use strict";e.d(g,{S:()=>I});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),c=e.n(m),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),p=e.n(f),b=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),E=e("./lib/data/useAppDispatch.ts"),A=e("./lib/data/logout/actions.ts"),w=e("./lib/utils/session.ts"),S=e("./lib/view/modals/session-expiry/index.tsx"),i=e("./lib/communication/http-client/props.ts"),I=function(){var l=(0,E.j)(),O=(0,b.useState)(!1),P=p()(O,2),C=P[0],j=P[1],R=(0,b.useState)(),X=p()(R,2),le=X[0],te=X[1];return(0,b.useEffect)(function(){i.K.resetUserIdleTime=w.oB,(0,w.LC)();var de=(0,w.Lw)(function(k){k&&(te(k),j(!0))}),F=(0,w.lD)(function(k){k===!0&&j(!1)}),ie=(0,w.n5)(function(){l(A.r.confirm()),j(!1)});return function(){de(),F(),ie(),(0,w.z3)()}},[l]),c()("div",{},void 0,C&&c()(S._,{open:!0,warningNotifiedAt:le}))};I.displayName="SessionTimeout"},"./lib/view/wait-message/index.tsx"(_,g,e){"use strict";e.d(g,{j:()=>ie});var m=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),c=e.n(m),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),p=e.n(f),b=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),E=e.n(b),A=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),w=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"),S=e("./node_modules/.pnpm/@elliemae+ds-backdrop@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-backdrop/dist/esm/Backdrop.js"),i=e("./node_modules/.pnpm/@elliemae+ds-circular-progress-indicator@3.62.1_@elliemae+pui-theme@2.13.1/node_modules/@elliemae/ds-circular-progress-indicator/dist/esm/v2/DSCircularIndeterminateIndicator.js"),I=e("./lib/data/useAppSelector.ts"),l=e("./lib/view/wait-message/use-html-wait-message.tsx"),O=e("./lib/utils/micro-frontend/guest.ts"),P=e("./lib/analytics/push-to-data-layer.ts"),C=function(k){(0,P.U)(k)},j=function(k){var Le=k.data,me=k.self,Y=me===void 0?!0:me;if(Y)C(Le);else{var J,se=(J=O.h.getInstance())===null||J===void 0?void 0:J.getHost(),pe=se?.sendBAEvent;pe?pe(Le):C(Le)}},R=function(){return j({data:{event:"pageInteractionEnabled"}})},X=function(){return j({data:{event:"pageInteractionDisabled"}})},le=e("./lib/utils/logrocket.ts"),te=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),de=["size","color","showText","withTooltip","tooltipStartPlacementPreference"],F=(0,w.default)(i.p).withConfig({componentId:"sc-3aqsjr-0"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"]),ie=(0,A.memo)(function(k){var Le=k.size,me=Le===void 0?"xl":Le,Y=k.color,J=Y===void 0?"light":Y,se=k.showText,pe=se===void 0?!0:se,fe=k.withTooltip,at=fe===void 0?!1:fe,Ce=k.tooltipStartPlacementPreference,Te=Ce===void 0?"center":Ce,je=E()(k,de),Re=(0,A.useContext)(w.ThemeContext),Ve=(0,A.useRef)(!1),Be=(0,A.useState)(!1),Ue=p()(Be,2),pt=Ue[0],qe=Ue[1],L=(0,I.G)(function(We){var z;return(z=We.waitMessage)===null||z===void 0?void 0:z.isOpen}),He=(0,I.G)(function(We){var z;return(z=We.waitMessage)===null||z===void 0?void 0:z.delay});Ve.current=L??!1;var ae=(0,I.G)(function(We){var z;return(z=We.waitMessage)===null||z===void 0?void 0:z.message});return(0,A.useEffect)(function(){setTimeout(function(){L&&Ve.current&&(qe(!0),R(),(0,le.K3)("wait-spinner-start"))},He?1e3:0),L||(qe(!1),X(),(0,le.K3)("wait-spinner-end"))},[He,L]),(0,l.t)(L!==null),pt?(0,te.jsxs)(te.Fragment,{children:[c()(S.Ay,{zIndex:Re.zIndex.loader}),(0,te.jsx)(F,Object.assign({id:"em-loading",size:me,color:J,showText:pe,withTooltip:at,tooltipStartPlacementPreference:Te},je,{text:ae}))]}):null})},"./lib/view/wait-message/use-html-wait-message.tsx"(_,g,e){"use strict";e.d(g,{t:()=>c});var m=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),c=function(f){(0,m.useEffect)(function(){var p=document.getElementById("em-wait-message");p&&f&&p.remove()},[f])}},"./storybook-config-entry.js"(_,g,e){"use strict";var m=e("./node_modules/.pnpm/global@4.4.0/node_modules/global/window.js"),c=e.n(m),f=e("./node_modules/.pnpm/@storybook+preview-web@6.5.16/node_modules/@storybook/preview-web/dist/cjs/index.js"),p=e("./node_modules/.pnpm/@storybook+store@6.5.16/node_modules/@storybook/store/dist/cjs/index.js"),b=e("./node_modules/.pnpm/@storybook+client-api@6.5.16/node_modules/@storybook/client-api/dist/cjs/index.js"),E=e("./node_modules/.pnpm/@storybook+addons@6.5.16/node_modules/@storybook/addons/dist/cjs/public_api.js"),A=e("./node_modules/.pnpm/@storybook+channel-postmessage@6.5.16/node_modules/@storybook/channel-postmessage/dist/cjs/index.js"),w=e("./node_modules/.pnpm/@storybook+channel-websocket@6.5.16/node_modules/@storybook/channel-websocket/dist/cjs/index.js"),S=[async function(j){if(/^\.[\\/](?:lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(mdx|tsx|ts|jsx|js))$/.exec(j)){var R=j.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(j){for(var R=0;R<S.length;R++){var X=await S[R](j);if(X)return X}}var I=c().SERVER_CHANNEL_URL,l=function(){return(0,p.composeConfigs)([e("./node_modules/.pnpm/@storybook+react@6.5.16_@babel+core@7.29.7_@storybook+builder-webpack5@6.5.16_@storybook+mana_yshks4a4y53x7zkf6b6f3bowne/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_yshks4a4y53x7zkf6b6f3bowne/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")])},O=(0,A.Ay)({page:"preview"});if(E.addons.setChannel(O),I){var P=(0,w.Ay)({url:I});E.addons.setServerChannel(P),window.__STORYBOOK_SERVER_CHANNEL__=P}var C=new f.PreviewWeb;window.__STORYBOOK_PREVIEW__=C,window.__STORYBOOK_STORY_STORE__=C.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=O,window.__STORYBOOK_CLIENT_API__=new b.ClientApi({storyStore:C.storyStore}),C.initialize({importFn:i,getProjectAnnotations:l})},"./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"(_,g,e){"use strict";var m=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/runtime/api.js"),c=e.n(m),f=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.62.1/node_modules/@elliemae/ds-basic/dist/css/dimsum.css"),p=c()(function(E){return E[1]});p.i(f.A),p.push([_.id,`
|
|
5
|
+
`,""]);const b=p;e.d(g,["A",0,b])},"@elliemae/pui-diagnostics"(_){"use strict";_.exports=emuiDiagnostics},"?6b64"(){}},_=>{var g=m=>_(_.s=m);_.O(0,[6751],()=>(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=_.O()}]);
|
|
Binary file
|
|
Binary file
|