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