@elliemae/pui-app-sdk 5.45.0 → 5.46.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 (211) 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 +2 -2
  8. package/build/docs/api/functions/Autocomplete/index.html +2 -2
  9. package/build/docs/api/functions/CheckBox/index.html +2 -2
  10. package/build/docs/api/functions/ComboBox/index.html +2 -2
  11. package/build/docs/api/functions/ComboBoxV3/index.html +2 -2
  12. package/build/docs/api/functions/ConnectForm/index.html +2 -2
  13. package/build/docs/api/functions/DateInput/index.html +2 -2
  14. package/build/docs/api/functions/DatePicker/index.html +2 -2
  15. package/build/docs/api/functions/DateRangePicker/index.html +2 -2
  16. package/build/docs/api/functions/DateTimePicker/index.html +2 -2
  17. package/build/docs/api/functions/Form/index.html +2 -2
  18. package/build/docs/api/functions/FormItemLayout/index.html +2 -2
  19. package/build/docs/api/functions/FormLayoutBlockItem/index.html +2 -2
  20. package/build/docs/api/functions/FormSubmitButton/index.html +2 -2
  21. package/build/docs/api/functions/InputMask/index.html +2 -2
  22. package/build/docs/api/functions/InputText/index.html +2 -2
  23. package/build/docs/api/functions/LargeTextBox/index.html +2 -2
  24. package/build/docs/api/functions/MaskedInputText/index.html +2 -2
  25. package/build/docs/api/functions/Page/index.html +2 -2
  26. package/build/docs/api/functions/Radio/index.html +2 -2
  27. package/build/docs/api/functions/RadioGroup/index.html +2 -2
  28. package/build/docs/api/functions/RegisterService/index.html +2 -2
  29. package/build/docs/api/functions/RenderWithStateAddOns/index.html +2 -2
  30. package/build/docs/api/functions/RequireAuth/index.html +2 -2
  31. package/build/docs/api/functions/SessionTimeout/index.html +2 -2
  32. package/build/docs/api/functions/TextBox/index.html +2 -2
  33. package/build/docs/api/functions/Toggle/index.html +2 -2
  34. package/build/docs/api/functions/authSaga/index.html +2 -2
  35. package/build/docs/api/functions/authorize/index.html +2 -2
  36. package/build/docs/api/functions/buildModuleParams/index.html +2 -2
  37. package/build/docs/api/functions/cleanup/index.html +2 -2
  38. package/build/docs/api/functions/configureStore/index.html +2 -2
  39. package/build/docs/api/functions/createGuestModule/index.html +2 -2
  40. package/build/docs/api/functions/createManager/index.html +2 -2
  41. package/build/docs/api/functions/enableReactAppForHostIntegration/index.html +2 -2
  42. package/build/docs/api/functions/fetchHostAppData/index.html +2 -2
  43. package/build/docs/api/functions/fetchUserSettings/index.html +2 -2
  44. package/build/docs/api/functions/getApiActionCreator/index.html +2 -2
  45. package/build/docs/api/functions/getAppConfig/index.html +2 -2
  46. package/build/docs/api/functions/getAppConfigValue/index.html +2 -2
  47. package/build/docs/api/functions/getAuthHTTPClient/index.html +2 -2
  48. package/build/docs/api/functions/getAuthorizationHeader/index.html +2 -2
  49. package/build/docs/api/functions/getHTTPClient/index.html +2 -2
  50. package/build/docs/api/functions/getHostAppDataByKey/index.html +2 -2
  51. package/build/docs/api/functions/getLogger/index.html +2 -2
  52. package/build/docs/api/functions/getMicroFrontEndAppConfig/index.html +2 -2
  53. package/build/docs/api/functions/getNavigationLinks/index.html +2 -2
  54. package/build/docs/api/functions/getRedirectUrl/index.html +2 -2
  55. package/build/docs/api/functions/getSelectField/index.html +2 -2
  56. package/build/docs/api/functions/getStore/index.html +2 -2
  57. package/build/docs/api/functions/initServiceWorker/index.html +2 -2
  58. package/build/docs/api/functions/isCIBuild/index.html +2 -2
  59. package/build/docs/api/functions/isProd/index.html +2 -2
  60. package/build/docs/api/functions/isUserAuthorized/index.html +2 -2
  61. package/build/docs/api/functions/listenStorageEvents/index.html +2 -2
  62. package/build/docs/api/functions/loadAppConfig/index.html +2 -2
  63. package/build/docs/api/functions/loadable/index.html +2 -2
  64. package/build/docs/api/functions/login/index.html +2 -2
  65. package/build/docs/api/functions/notifyGuestUnloadComplete/index.html +2 -2
  66. package/build/docs/api/functions/onAuthorizationFailure/index.html +2 -2
  67. package/build/docs/api/functions/onGuestUnloadStart/index.html +2 -2
  68. package/build/docs/api/functions/redactPii/index.html +2 -2
  69. package/build/docs/api/functions/removeDoubleSlash/index.html +2 -2
  70. package/build/docs/api/functions/removeStorageEvents/index.html +2 -2
  71. package/build/docs/api/functions/render/index.html +2 -2
  72. package/build/docs/api/functions/renderHook/index.html +2 -2
  73. package/build/docs/api/functions/renderWithHostData/index.html +2 -2
  74. package/build/docs/api/functions/renderWithRedux/index.html +2 -2
  75. package/build/docs/api/functions/renderWithRouter/index.html +2 -2
  76. package/build/docs/api/functions/renderWithRouterRedux/index.html +2 -2
  77. package/build/docs/api/functions/sdkBaseQuery/index.html +2 -2
  78. package/build/docs/api/functions/sendBAEvent/index.html +2 -2
  79. package/build/docs/api/functions/sendMessageToHost/index.html +2 -2
  80. package/build/docs/api/functions/setAppConfig/index.html +2 -2
  81. package/build/docs/api/functions/setAppConfigValue/index.html +2 -2
  82. package/build/docs/api/functions/setHostAppData/index.html +2 -2
  83. package/build/docs/api/functions/setLoginParams/index.html +2 -2
  84. package/build/docs/api/functions/setSessionTimeoutInterval/index.html +10 -7
  85. package/build/docs/api/functions/subscribeToResetSession/index.html +2 -2
  86. package/build/docs/api/functions/subscribeToSessionExpiry/index.html +2 -2
  87. package/build/docs/api/functions/subscribeToSessionExpiryWarning/index.html +2 -2
  88. package/build/docs/api/functions/trackActivity/index.html +2 -2
  89. package/build/docs/api/functions/useAppDispatch/index.html +2 -2
  90. package/build/docs/api/functions/useAppMiddleware/index.html +2 -2
  91. package/build/docs/api/functions/useInjectQuery/index.html +2 -2
  92. package/build/docs/api/functions/useInjectReducer/index.html +2 -2
  93. package/build/docs/api/functions/useInjectSaga/index.html +2 -2
  94. package/build/docs/api/functions/useInjectSideEffect/index.html +2 -2
  95. package/build/docs/api/functions/useMediaQueryList/index.html +2 -2
  96. package/build/docs/api/functions/useStateSelector/index.html +2 -2
  97. package/build/docs/api/functions/useStateSelectorShallow/index.html +2 -2
  98. package/build/docs/api/functions/waitFor/index.html +2 -2
  99. package/build/docs/api/functions/waitForElementToBeRemoved/index.html +2 -2
  100. package/build/docs/api/functions/withAppDecorator/index.html +2 -2
  101. package/build/docs/api/index.html +2 -2
  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/77982fdd.ab92b1fc.js +1 -0
  155. package/build/docs/assets/js/{main.eb628dfd.js → main.dffe1959.js} +2 -2
  156. package/build/docs/assets/js/{runtime~main.d66bc46a.js → runtime~main.7c35a17b.js} +1 -1
  157. package/build/docs/index.html +2 -2
  158. package/build/docs/usage-guide/index.html +2 -2
  159. package/demo/{1896.11783677.iframe.bundle.js → 1896.b2f22fed.iframe.bundle.js} +1 -1
  160. package/demo/1896.b2f22fed.iframe.bundle.js.br +0 -0
  161. package/demo/{docs/1896.11783677.iframe.bundle.js.gz → 1896.b2f22fed.iframe.bundle.js.gz} +0 -0
  162. package/demo/docs/{1896.11783677.iframe.bundle.js → 1896.b2f22fed.iframe.bundle.js} +1 -1
  163. package/demo/docs/1896.b2f22fed.iframe.bundle.js.br +0 -0
  164. package/demo/{1896.11783677.iframe.bundle.js.gz → docs/1896.b2f22fed.iframe.bundle.js.gz} +0 -0
  165. package/demo/docs/iframe.html +1 -1
  166. package/demo/docs/index.html +1 -1
  167. package/demo/docs/main.4043d77f8baa6730e9c7.manager.bundle.js +1 -0
  168. package/demo/docs/main.4043d77f8baa6730e9c7.manager.bundle.js.br +0 -0
  169. package/demo/docs/main.4043d77f8baa6730e9c7.manager.bundle.js.gz +0 -0
  170. package/demo/docs/main.d1512ce2.iframe.bundle.js +5 -0
  171. package/demo/docs/main.d1512ce2.iframe.bundle.js.br +0 -0
  172. package/demo/docs/main.d1512ce2.iframe.bundle.js.gz +0 -0
  173. package/demo/docs/project.json +1 -1
  174. package/demo/iframe.html +1 -1
  175. package/demo/index.html +1 -1
  176. package/demo/main.4043d77f8baa6730e9c7.manager.bundle.js +1 -0
  177. package/demo/main.4043d77f8baa6730e9c7.manager.bundle.js.br +0 -0
  178. package/demo/main.4043d77f8baa6730e9c7.manager.bundle.js.gz +0 -0
  179. package/demo/main.d1512ce2.iframe.bundle.js +5 -0
  180. package/demo/main.d1512ce2.iframe.bundle.js.br +0 -0
  181. package/demo/main.d1512ce2.iframe.bundle.js.gz +0 -0
  182. package/demo/project.json +1 -1
  183. package/dist/cjs/package.json +1 -4
  184. package/dist/cjs/utils/constants.js +12 -0
  185. package/dist/cjs/utils/session-timeout-config.js +10 -6
  186. package/dist/cjs/utils/session.js +11 -2
  187. package/dist/esm/package.json +1 -4
  188. package/dist/esm/utils/constants.js +12 -0
  189. package/dist/esm/utils/session-timeout-config.js +10 -6
  190. package/dist/esm/utils/session.js +21 -4
  191. package/dist/types/lib/utils/constants.d.ts +6 -0
  192. package/dist/types/lib/utils/session-timeout-config.d.ts +4 -1
  193. package/dist/types/lib/utils/session.d.ts +9 -2
  194. package/dist/types/tsconfig.tsbuildinfo +1 -1
  195. package/package.json +2 -2
  196. package/build/docs/assets/js/77982fdd.daa51d7d.js +0 -1
  197. package/demo/1896.11783677.iframe.bundle.js.br +0 -0
  198. package/demo/docs/1896.11783677.iframe.bundle.js.br +0 -0
  199. package/demo/docs/main.7fe19f1fb477a0b9fcce.manager.bundle.js +0 -1
  200. package/demo/docs/main.7fe19f1fb477a0b9fcce.manager.bundle.js.br +0 -0
  201. package/demo/docs/main.7fe19f1fb477a0b9fcce.manager.bundle.js.gz +0 -0
  202. package/demo/docs/main.ccc2d540.iframe.bundle.js +0 -5
  203. package/demo/docs/main.ccc2d540.iframe.bundle.js.br +0 -0
  204. package/demo/docs/main.ccc2d540.iframe.bundle.js.gz +0 -0
  205. package/demo/main.7fe19f1fb477a0b9fcce.manager.bundle.js +0 -1
  206. package/demo/main.7fe19f1fb477a0b9fcce.manager.bundle.js.br +0 -0
  207. package/demo/main.7fe19f1fb477a0b9fcce.manager.bundle.js.gz +0 -0
  208. package/demo/main.ccc2d540.iframe.bundle.js +0 -5
  209. package/demo/main.ccc2d540.iframe.bundle.js.br +0 -0
  210. package/demo/main.ccc2d540.iframe.bundle.js.gz +0 -0
  211. /package/build/docs/assets/js/{main.eb628dfd.js.LICENSE.txt → main.dffe1959.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.11783677.iframe.bundle.js"></script><script src="main.ccc2d540.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.b2f22fed.iframe.bundle.js"></script><script src="main.d1512ce2.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.7fe19f1fb477a0b9fcce.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.4043d77f8baa6730e9c7.manager.bundle.js"></script></body></html>
@@ -0,0 +1 @@
1
+ (globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[792],{11792(i,t,o){"use strict";var p=o(59443),m=o(96778),b=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,f=(e,a,r)=>a in e?b(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,d=(e,a)=>{for(var r in a||(a={}))s.call(a,r)&&f(e,r,a[r]);if(l)for(var r of l(a))_.call(a,r)&&f(e,r,a[r]);return e},v=(e,a)=>{var r={};for(var n in e)s.call(e,n)&&a.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&l)for(var n of l(e))a.indexOf(n)<0&&_.call(e,n)&&(r[n]=e[n]);return r};const h=e=>{var a=e,{base:r="light",brandTitle:n="Platform UI Components"}=a,u=v(a,["base","brandTitle"]);return(0,m.vt)(d({base:r,brandTitle:`${n} 5.46.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))$"(T,b,e){const c={"./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(p){try{if(!e.o(c,p))return Promise.resolve().then(()=>{const I=new Error("Cannot find module '"+p+"'");throw I.code="MODULE_NOT_FOUND",I})}catch(I){return Promise.reject(I)}const v=c[p],y=v[0];return Promise.all(v[1].map(e.e)).then(()=>e(y))}d.keys=()=>Object.keys(c),d.id="./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$",T.exports=d},"./.storybook/preview.js"(T,b,e){"use strict";e.r(b),e.d(b,{__namedExportsOrder:()=>si,decorators:()=>qt,loaders:()=>ei,parameters:()=>ii});var c=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"),p=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"),y=e("./node_modules/.pnpm/redux-saga@1.5.0/node_modules/redux-saga/dist/redux-saga.cjs.js"),I=e.n(y),O=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.cjs.production.min.js"),_=e("./lib/data/wait-message/actions.ts"),E={isOpen:null,message:"loading...",delay:!0},i=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E,s=arguments.length>1?arguments[1]:void 0;return(0,O.default)(a,function(o){switch(s.type){case _.k.OPEN:o.isOpen=!0,o.message=s.payload.message,o.delay=s.payload.delay;break;case _.k.CLOSE:o.isOpen=!1;break}})},f=e("./lib/data/error/index.ts"),l={change:"change"},P=function(a){return a.LARGE="large",a.MEDIUM="medium",a.SMALL="small",a.XSMALL="xsmall",a}({}),j={value:P.LARGE},C=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:j,s=arguments.length>1?arguments[1]:void 0,o=s.type,x=s.payload;return(0,O.default)(a,function(M){switch(o){case l.change:M.value=x;break}})},S=e("./lib/data/live-message/index.ts"),D=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=(0,d.combineReducers)(Object.assign({waitMessage:i,error:f.L,breakpoint:C,liveMessage:S.k},a));return s},k=e("./lib/data/webpack-hmr.ts"),ye=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/toConsumableArray.js"),de=e.n(ye),V=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/lib/redux.js"),H=new Map,q,Y=function(a){return q=a,function(s){return function(o){return V.compose.apply(void 0,de()(H.values()))(s)(o)}}},Je=function(a){var s=a.reducerPath,o=a.middleware;H.has(s)||!q||H.set(s,o(q))},ue=function(a){H.delete(a)},ee=function(){H.clear()},oe,Se,ce=(0,d.createListenerMiddleware)(),Be=ce.startListening,Ze=null,Ne=null,Ee=ce.clearListeners,Oe=D(),_e=null,He=function(a){_e=a},Pe=function(){return _e},ve=function(a,s,o){var x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},U=s.run,G=[(0,v.OV)({createReducer:D,runSaga:U})];Oe=D(M);var me=(0,d.configureStore)({reducer:Oe,middleware:function(be){return be(x).prepend(ce.middleware).concat([s,Y])},devTools:!1,preloadedState:a,enhancers:G});return(0,p.setupListeners)(me.dispatch),(0,k.I)(me),me},Qe=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,x=arguments.length>3?arguments[3]:void 0,M=I()({}),U=ve(a,M,s,o,x);return He(U),U},nt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),L=e.n(nt),ie=e("./lib/utils/history.ts"),he=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),je=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),$e=e("./node_modules/.pnpm/styled-components@5.3.11_react-dom@18.3.1_react@18.3.1/node_modules/styled-components/dist/styled-components.browser.cjs.js"),re=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),$=e.n(re),Ie=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),Le=e.n(Ie),Te=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"),J=["history","basename"],Ae=function(a){var s=a.history,o=a.basename,x=Le()(a,J),M=(0,he.useState)({action:s.action,location:s.location}),U=$()(M,2),G=U[0],me=U[1];return(0,he.useLayoutEffect)(function(){o&&G.location.pathname&&!G.location.pathname.startsWith(o)&&console.warn(`[AppRouter] basename "${o}" does not match location.pathname "${G.location.pathname}". React Router will render nothing. Verify that "homeRoute" in app.config.json matches the guest's route.`)},[o,G.location.pathname]),(0,he.useLayoutEffect)(function(){var be=s.listen(function(){for(var pe=arguments.length,fe=new Array(pe),St=0;St<pe;St++)fe[St]=arguments[St];fe.length===2?me({location:fe[0],action:fe[1]}):me(fe[0])});return function(){be()}},[s]),(0,Me.jsx)(Te.Router,Object.assign({},x,{basename:o,location:G.location,navigationType:G.action,navigator:s}))};Ae.displayName="AppRouter";var Ue=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),ge=e("./lib/utils/micro-frontend/guest.ts"),vt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),Ge=e.n(vt),mt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),Ve=e.n(mt),pt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),K=e.n(pt),qe=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),Ke=e.n(qe),ft=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),xe=e.n(ft),Ce=e("./node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js"),ot=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),Ot=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),ht=e("./lib/data/logout/actions.ts"),Fe=e("./lib/utils/app-config/config.ts"),We=e("./lib/utils/app-config/index.ts"),Re=e("./lib/utils/console-logger.ts"),rt=e("./lib/utils/logger.ts"),ze=e("./lib/utils/constants.ts"),ae=e("./lib/utils/window.ts"),gt=e("./lib/utils/session.ts"),et=e("./lib/utils/micro-frontend/app-bridge.ts"),Pt=e("./lib/utils/micro-frontend/ssf-host.ts"),Mt,we=Ke()("ssfHostRef"),Z=Ke()("appBridge"),tt=Ke()("selfInitialize"),at=function(){function a(s){var o,x,M,U,G,me,be=this;Ge()(this,a),this.logger=void 0,this.appId=void 0,this.props=void 0,this.activeGuests=void 0,this.onInit=void 0,this.onRenewSessionTimer=void 0,this.throttleRenewSessionTimer=void 0,this.scriptingObjects=void 0,Object.defineProperty(this,we,{writable:!0,value:void 0}),Object.defineProperty(this,Z,{writable:!0,value:null}),Object.defineProperty(this,tt,{writable:!0,value:void 0}),this.appId=(0,Fe.vF)("appId"),this.onInit=s?.onInit,this.logger=s?.logger||Re.k,(0,rt.B)(this.logger),this.onRenewSessionTimer=s?.onRenewSessionTimer,K()(this,tt)[tt]=(o=s?.selfInitialize)!==null&&o!==void 0?o:!1,this.props={systemVersion:(x=s?.version)!==null&&x!==void 0?x:"latest",history:(M=s?.history)!==null&&M!==void 0?M:ie.N,theme:(U=s?.theme)!==null&&U!==void 0?U:(0,c.getDefaultTheme)()},this.activeGuests={},s!=null&&s.ssfHostRef&&(0,Pt.Z)(s.ssfHostRef),K()(this,we)[we]=(0,Pt.F)();var pe=(G=s?.analytics)!==null&&G!==void 0?G:new ot.j({logger:this.logger});this.scriptingObjects=Object.assign({analytics:pe},(me=s?.scriptingObjects)!==null&&me!==void 0?me:{}),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=xe()(async function(){await(0,gt.KB)(),be.onRenewSessionTimer&&be.onRenewSessionTimer()},ze.eE,{leading:!0}),K()(this,tt)[tt]||(0,We.y)().then(function(){(0,et.b)().then(function(fe){K()(be,Z)[Z]=fe,be.onInit&&be.onInit(be.props)}).catch(function(fe){throw fe})}).catch(function(){}),(0,Ot.nE)({appId:this.appId})}return Ve()(a,[{key:"initialize",value:async function(){e.p=e.p.replace(/\/?$/,"/"),await(0,We.y)();var o=await(0,et.b)();return K()(this,Z)[Z]=o,this.onInit&&this.onInit(this.props),this.props}},{key:"getProps",value:function(){return this.props}},{key:"getLogger",value:function(){return this.logger}},{key:"getItem",value:function(o){return(0,ae.zk)().sessionStorage.getItem(o)}},{key:"setItem",value:function(o,x){(0,ae.zk)().sessionStorage.setItem(o,x)}},{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,x){return(0,Ce.publish)(o,x)}},{key:"subscribe",value:function(o,x){return(0,Ce.subscribe)(o,x)}},{key:"unsubscribe",value:function(o){(0,Ce.unsubscribe)(o)}},{key:"navigate",value:function(o,x){o&&this.props.history.push(o,x)}},{key:"openWaitMessage",value:function(){var o=Pe();o&&o.dispatch(_.X.open())}},{key:"closeWaitMessage",value:function(){var o=Pe();o&&o.dispatch(_.X.close())}},{key:"openErrorBanner",value:function(o){var x=Pe();x&&x.dispatch(f.o.set({description:o}))}},{key:"getAuthToken",value:function(){return(0,ae.zk)().sessionStorage.getItem("Authorization")}},{key:"renewAuthToken",value:function(){return(0,ae.zk)().sessionStorage.getItem("Authorization")}},{key:"logout",value:function(){var o=Pe();o&&o.dispatch(ht.r.confirm())}},{key:"renewSessionTimer",value:async function(){this.throttleRenewSessionTimer()}},{key:"getBreakpoint",value:function(){return(0,ae.D)()}},{key:"getViewportSize",value:function(){return(0,ae.M5)()}},{key:"onResizeEvent",value:function(o){return(0,Ce.subscribe)(ze.BD,function(x,M){return o(M)})}},{key:"onBreakpointChangeEvent",value:function(o){return(0,Ce.subscribe)(ze.H1,function(x,M){return o(M)})}},{key:"setSystemVersion",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"latest";window.emui.version=o,this.props.systemVersion=o}},{key:"sendBAEvent",value:function(o){this.scriptingObjects.analytics.sendBAEvent(o).catch(function(){})}},{key:"getObject",value:async function(o){return this.scriptingObjects[o]}},{key:"addScriptingObject",value:function(o,x){K()(this,Z)[Z]&&K()(this,Z)[Z].addScriptingObject(o,x),K()(this,we)[we].addScriptingObject(o,x)}},{key:"dispatchEvent",value:async function(o){if(K()(this,Z)[Z]){var x=await Promise.all([K()(this,Z)[Z].dispatchEvent(o),K()(this,we)[we].dispatchEvent(o)]),M=$()(x,2),U=M[0],G=M[1];return Array.isArray(U)&&Array.isArray(G)?U.concat(G):Promise.resolve()}return K()(this,we)[we].dispatchEvent(o)}},{key:"removeScriptingObject",value:function(o,x){K()(this,Z)[Z]&&K()(this,Z)[Z].removeScriptingObject(o,x),K()(this,we)[we].removeScriptingObject(o,x)}}],[{key:"getInstance",value:function(o){return this.instance||(this.instance=new a(o),o!=null&&o.selfInitialize||(o?.logger||Re.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}}])}();Mt=at,at.instance=void 0;var Ct,bt,lt,dt,yt,Xe,it=function(){return at.isInitialized()},Et=function(){return ge.h.isInitialized()},_t=function(){return Et()&&window.top===window.self},ut=function(){return it()?at.getInstance().getLogger():ge.h.getInstance().getLogger()},It=function(a){return dt()?!0:a?a===Xe.PRODUCTION:!0},xt=function(a){var s=bt.getInstance().getProps(),o=s.systemVersion,x=o.match(/^(?:\d+\.\d+)*/g);return a.replace(/{SYSTEM_VERSION}/,x&&x[0]||"latest")},Lt=function(a){var s;return a==null||(s=a.replace)===null||s===void 0?void 0:s.call(a,/\/?$/,"/")},h=function(a){var s=lt(`microFrontendApps.${a.id}`);if(!s)throw new Error(`unable to locate application configuraiton for ${a.id} under microFrontendApps section of app.config.json`);var o=s.mode,x=o===void 0?Xe.PRODUCTION:o,M=It(x)?s.production:s.development;s.production&&delete s.production,s.development&&delete s.development;var U=Ct(a,{mode:"production",hostUrl:"./",manifestPath:"./{SYSTEM_VERSION}",isJsModule:!1},s,M);return U.hostUrl=yt(U.hostUrl.replace(/\/?$/,"/")),U.manifestPath=Lt(xt(U.manifestPath)),U},n=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),u=e.n(n),g=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js"),B=e.n(g),se=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/inherits.js"),Q=e.n(se),ke=function(a){var s=a.error,o=s===void 0?new Error("We are unable to process your request"):s,x=a.errorInfo,M=x===void 0?{componentStack:"Please close your browser and login again"}:x;return L()("div",{},void 0,L()("h2",{},void 0,o?.message),L()("section",{},void 0,M?.componentStack))};ke.displayName="DefaultErrorTemplate";var jt=e("./lib/utils/log-records.ts");function Tt(a,s,o){return s=B()(s),u()(a,st()?Reflect.construct(s,o||[],B()(a).constructor):s.apply(a,o))}function st(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(st=function(){return!!a})()}var wt=function(a){function s(o){var x;return Ge()(this,s),x=Tt(this,s,[o]),x.state={error:null,errorInfo:null},x}return Q()(s,a),Ve()(s,[{key:"componentDidCatch",value:function(x,M){this.setState({error:x,errorInfo:M});var U=ut();U&&U.error(Object.assign({},jt.V.UNHANDLED_ERROR,{exception:x,message:x.message}))}},{key:"render",value:function(){var x=this.props,M=x.children,U=x.errorTemplate,G=U||ke,me=this.state,be=me.error,pe=me.errorInfo;return pe?L()(G,{error:be,errorInfo:pe}):M}}])}(he.Component),Bt=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),Kt=e("./lib/data/useAppDispatch.ts"),Ft=function(a,s,o){var x=a.map(function(pe){return window.matchMedia(pe)}),M=(0,he.useCallback)(function(){var pe=x.findIndex(function(fe){return fe.matches});return typeof s[pe]<"u"?s[pe]:o},[o,x,s]),U=(0,he.useState)(M),G=$()(U,2),me=G[0],be=G[1];return(0,he.useEffect)(function(){var pe=function(){return be(M)};return x.forEach(function(fe){return fe.addEventListener("change",pe)}),function(){return x.forEach(function(fe){return fe.removeEventListener("change",pe)})}},[M,x]),me},Nt=function(){var a=(0,he.useContext)($e.ThemeContext),s=Ft([`(max-width: ${a.breakpoints.small})`,`(max-width: ${a.breakpoints.medium})`,`(max-width: ${a.breakpoints.large})`,`(max-width: ${a.breakpoints.xsmall})`],["small","medium","large","xsmall"],"large"),o=(0,Kt.j)();(0,he.useEffect)(function(){o({type:l.change,payload:s}),(0,Ce.publish)(ze.H1,s)},[s,o])},Ht=function(){(0,he.useEffect)(function(){if(window.ResizeObserver){var a=new ResizeObserver(function(s){(0,Ce.publish)(ze.BD,s&&s[0])});return a.observe(window.document.documentElement),function(){a.unobserve(window.document.documentElement)}}return function(){}},[])},Vt=e("./lib/view/session-timeout/index.tsx"),t=e("./lib/view/live-message/index.tsx"),r=e("./lib/view/error-toast/index.tsx"),m=e("./lib/view/wait-message/index.tsx");const w=(0,$e.createGlobalStyle)([":root{font-size:81.25%;",";}html,body{height:100%;width:100%;line-height:",";}body{font-family:",";background-color:",";}#app,#app-container,#root,main{height:100%;width:100%;min-height:100%;min-width:100%;}"],function(a){var s=a.theme;return s.media.small`
2
+ font-size: 100%;
3
+ `},function(a){return a.theme.lineHeights.m},function(a){return a.theme.fonts.default},function(a){return a.theme.colors.neutral["000"]});var A,R,W,N,F,le=$e.default.div.withConfig({componentId:"sc-1ho9g5n-0"})(["height:100%;"]),z=function(a){var s=a.manageSession,o=a.WaitMessage,x=a.children;return Nt(),Ht(),L()(Bt.Ai,{},void 0,L()(le,{},void 0,A||(A=L()(w,{})),s&&(R||(R=L()(Vt.S,{}))),W||(W=L()(t.I,{})),o||N||(N=L()(m.j,{})),F||(F=L()(r.Q,{})),x))};z.displayName="StandAloneApp";var te=e("./lib/view/wait-message/use-html-wait-message.tsx"),ne,X,De,Ye=$e.default.div.withConfig({componentId:"sc-njn2ro-0"})(["height:100%;"]),At=function(a){var s=a.WaitMessage,o=a.children;return Nt(),(0,te.t)(!0),Ht(),L()(Ye,{},void 0,ne||(ne=L()(w,{})),s||X||(X=L()(m.j,{})),De||(De=L()(r.Q,{})),o)};At.displayName="HostedApp";var ct=function(a){var s=_t()||it();return s?(0,Me.jsx)(z,Object.assign({},a)):(0,Me.jsx)(At,Object.assign({},a))},Rt=function(a){var s=a.store,o=a.history,x=a.basename,M=a.theme,U=M===void 0?(0,c.getDefaultTheme)():M,G=a.manageSession,me=G===void 0?!1:G,be=a.WaitMessage,pe=a.errorTemplate,fe=a.children,St=a.strictMode,ni=St===void 0?!0:St,oi=ni?he.StrictMode:he.Fragment;return L()(oi,{},void 0,L()(wt,{errorTemplate:pe},void 0,L()(je.Provider,{store:s},void 0,L()(Ae,{history:o,basename:x},void 0,L()($e.ThemeProvider,{theme:U},void 0,L()(ct,{manageSession:me,WaitMessage:be},void 0,fe))))))};Rt.displayName="AppRoot";var $t=function(a,s,o){return L()(Rt,{store:s,history:ie.N,theme:a},void 0,o())};$t.displayName="withAppDecorator";var Ut=e("./node_modules/.pnpm/@storybook+theming@6.5.16/node_modules/@storybook/theming/dist/esm/index.js"),Wt=["base","brandTitle"],kt=function(a){var s=a.base,o=s===void 0?"light":s,x=a.brandTitle,M=x===void 0?"Platform UI Components":x,U=Le()(a,Wt);return(0,Ut.vt)(Object.assign({base:o,brandTitle:`${M} 5.46.0`},U))},zt=e("./node_modules/.pnpm/style-loader@2.0.0_webpack@5.108.4/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),Dt=e.n(zt),Xt=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"),Gt={};Gt.insert="head",Gt.singleton=!1;var ri=Dt()(Xt.A,Gt);const ai=Xt.A.locals||{};var Yt=(0,c.getDefaultTheme)(),Jt=Qe({},ie.N),Zt=$t.bind(null,Yt,Jt),Qt=function(a){return{layout:"fullscreen",actions:{argTypesRegex:"^on.*"},controls:{hideNoControlsWarning:!0},docs:{theme:kt(a)},options:{storySort:{method:"alphabetical",order:["Getting Started",["Introduction","Installation","Packages","Supported Browsers","Releases","Theme"],"Components"],locales:["en-US"]}},dependencies:{withStoriesOnly:!0,hideEmpty:!0}}},qt=[Zt],ei=[async function(){await(0,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"(T,b,e){"use strict";e.d(b,{e:()=>y});var c=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"),p=e("./lib/utils/helpers.ts"),v=function(I){var O=Object.assign({},(0,c.QS)(),(0,p.np)(),I);window.gtmDataLayer=window.gtmDataLayer||[],window.gtmDataLayer.push(O)},y=function(I){var O=I.data,_=I.self,E=_===void 0?!0:_;if(E)v(O);else{var i,f=(i=d.h.getInstance())===null||i===void 0?void 0:i.getHost(),l=f?.sendBAEvent;l?l(O):v(O)}}},"./lib/communication/http-client/props.ts"(T,b,e){"use strict";e.d(b,{K:()=>l});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),v=e.n(p),y=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),I=e.n(y),O=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),_=e.n(O),E=_()("resetUserIdleTime"),i=_()("endSession"),f=function(){function P(){d()(this,P),Object.defineProperty(this,E,{writable:!0,value:function(){}}),Object.defineProperty(this,i,{writable:!0,value:async function(){}})}return v()(P,[{key:"resetUserIdleTime",get:function(){return I()(this,E)[E]},set:function(j){I()(this,E)[E]=j}},{key:"endSession",get:function(){return I()(this,i)[i]},set:function(j){I()(this,i)[i]=j}}])}(),l=new f},"./lib/data/error/index.ts"(T,b,e){"use strict";e.d(b,{L:()=>I,o:()=>y});var c=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),d=e.n(c),p={description:"",messageText:""},v=(0,c.createSlice)({name:"error",initialState:p,reducers:{set:function(O,_){return _.payload},clear:function(){return p}}}),y=v.actions,I=v.reducer},"./lib/data/live-message/index.ts"(T,b,e){"use strict";e.d(b,{k:()=>I,o:()=>y});var c=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),d=e.n(c),p={message:"",ariaLive:"polite",id:""},v=(0,c.createSlice)({name:"liveMessage",initialState:p,reducers:{announce:function(O,_){var E=_.payload,i=E.message,f=E.ariaLive,l=E.id;return{message:i,ariaLive:f,id:l}}}}),y=v.actions,I=v.reducer},"./lib/data/logout/actions.ts"(T,b,e){"use strict";e.d(b,{r:()=>d});var c={CONFIRM:"log-out/CONFIRM",CANCEL:"log-out/CANCEL"},d={confirm:function(){return{type:c.CONFIRM,payload:null}},cancel:function(){return{type:c.CANCEL,payload:null}}}},"./lib/data/useAppDispatch.ts"(T,b,e){"use strict";e.d(b,{j:()=>p});var c=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(c),p=function(){return(0,c.useDispatch)()}},"./lib/data/useAppSelector.ts"(T,b,e){"use strict";e.d(b,{G:()=>p});var c=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(c),p=c.useSelector},"./lib/data/wait-message/actions.ts"(T,b,e){"use strict";e.d(b,{X:()=>d,k:()=>c});var c={OPEN:"wait-message/OPEN",CLOSE:"wait-message/CLOSE"},d={open:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"loading...",v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{type:c.OPEN,payload:{message:p,delay:v}}},close:function(){return{type:c.CLOSE,payload:null}}}},"./lib/data/webpack-hmr.ts"(T,b,e){"use strict";e.d(b,{I:()=>d});var c=e("./node_modules/.pnpm/redux-injectors@2.1.0_react-dom@18.3.1_react-redux@8.1.3_react@18.3.1/node_modules/redux-injectors/dist/index.js");T=e.hmd(T);var d=function(p){var v=null;try{var y,I;v=(y=(I=T)===null||I===void 0?void 0:I.hot)!==null&&y!==void 0?y:null}catch{v=null}v&&v.accept("./reducers",function(){(0,c.Dl)(p)})}},"./lib/utils/app-config/config.ts"(T,b,e){"use strict";e.d(b,{WE:()=>j,vF:()=>l,g3:()=>f});var c=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"),p=e.n(d),v=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/set.js"),y=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/get.js"),I=e.n(y);const O=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=O,f=function(S){i=S},l=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return p()(I()(i,S,D))},P=function(S,D){return E(i,S,D)},j=function(){return i},C=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return _(i,S)}},"./lib/utils/app-config/index.ts"(T,b,e){"use strict";e.d(b,{y:()=>i});var c=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),d=e.n(c),p=e("./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.includes.js"),v=e.n(p),y=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),I=e("./lib/utils/app-config/config.ts"),O=e("./lib/utils/window.ts"),_=function(f){var l,P,j=f.activeEnv,C=f.env[j]||{};f.env&&delete f.env,(0,I.g3)(d()(f,C)),sessionStorage.setItem("envName",j),window.emui=window.emui||{},window.emui.appId=(l=(P=(0,I.vF)("appId"))!==null&&P!==void 0?P:window.emui.appId)!==null&&l!==void 0?l:"",(0,y.nE)({envName:j})},E=function(f){return f.replace(/(\d+\.\d+)(?!.*\d+\.\d+)/,"latest")},i=async function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,O.OX)(),l=`${f.replace(/\/?$/,"/")}app.config.json`,P=E(f);try{var j=await fetch(l);if(!j.ok){if(f!==P){await i(P);return}var C=`App Config is not found at ${l}`;throw new Error(C)}var S=await j.json();_(S)}catch(k){var D;if(f!==P){await i(P);return}throw k!=null&&(D=k.message)!==null&&D!==void 0&&D.includes("Unexpected token")?new Error(`App config file at ${l} is not a valid JSON`):k}}},"./lib/utils/console-logger.ts"(T,b,e){"use strict";e.d(b,{k:()=>v});var c=e("@elliemae/pui-diagnostics"),d=e.n(c),p=e("./lib/utils/app-config/config.ts"),v=function(){return c.logger?(0,c.logger)({transport:(0,c.Console)(),index:"app",environment:(0,p.vF)("activeEnv"),team:"app team",appName:"ICEMT App",appVersion:"latest",instanceId:"",userId:""}):console}()},"./lib/utils/constants.ts"(T,b,e){"use strict";e.d(b,{BD:()=>v,H1:()=>y,J2:()=>d,eE:()=>I});const c={AUTHORIZATION:"Authorization",CLIENT_ID:"tirykwfo"};var d={WARN:12*60*1e3,EXPIRY:15*60*1e3},p=null,v="HOST_WINDOW_RESIZED",y="HOST_WINDOW_BREAKPOINT_CHANGED",I=6e4,O=15,_=60,E=3,i=null,f=null,l="Session warning interval must be less than session timeout interval.";e.d(b,["Ay",0,c])},"./lib/utils/helpers.ts"(T,b,e){"use strict";e.d(b,{E_:()=>_,np:()=>O});var c=e("./lib/utils/window.ts"),d=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),p=function(){return!0},v=function(){return d.env.CI==="true"},y=/^(?:[a-z]+:)?\/\//,I=function(E){return y.test(E)?E:new URL(E,document.location.origin).href},O=function(){var E,i,f,l,P,j,C,S=(0,c.zk)(),D=S.document.title,k=document,ye=k.title,de=(E=S==null||(i=S.emui)===null||i===void 0?void 0:i.appId)!==null&&E!==void 0?E:"",V=(f=S==null||(l=S.emui)===null||l===void 0?void 0:l.version)!==null&&f!==void 0?f:"",H=(P=(j=window)===null||j===void 0||(C=j.emui)===null||C===void 0?void 0:C.appId)!==null&&P!==void 0?P:"",q=S.location,Y=q.pathname,Je=q.href,ue=window.location,ee=ue.pathname,oe=ue.href;return{productId:de,productPath:Y,productUrl:Je,productPageTitle:D,version:V,appId:H,appPath:ee,appUrl:oe,appPageTitle:ye}},_=function(E){var i=E.promise,f=E.delay,l=E.retValue,P=l===void 0?!1:l,j=E.throwError,C=j===void 0?!1:j,S=E.errMsg;return Promise.race([i,new Promise(function(D,k){setTimeout(function(){C?k(new Error(S)):D(P)},f)})])}},"./lib/utils/history.ts"(T,b,e){"use strict";e.d(b,{N:()=>p,w:()=>v});var c=e("./node_modules/.pnpm/history@5.3.0/node_modules/history/umd/history.production.min.js"),d=e.n(c),p=(0,c.createBrowserHistory)(),v=(0,c.createMemoryHistory)()},"./lib/utils/log-records.ts"(T,b,e){"use strict";e.d(b,{V:()=>c});var c={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,p,v){return{code:"appsdk06",message:`Application load failed. Unable to load one or more application resources for appId: ${d} and instanceId: ${p}. ${v}`}},APP_LOADING:function(d,p){return{code:"appsdk07",message:`Application ${d} with instanceId ${p} is loading...`}},APP_LOADING_COMPLETE:function(d,p){return{code:"appsdk08",message:`Application ${d} loaded with instanceId ${p}`}},APP_UNLOADING:function(d,p){return{code:"appsdk09",message:`Application ${d} with instanceId ${p} unloading...`}},APP_UNLOADING_COMPLETE:function(d,p){return{code:"appsdk10",message:`Application ${d} with instanceId ${p} 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"(T,b,e){"use strict";e.d(b,{B:()=>d,t:()=>p});var c=null,d=function(v){c=v},p=function(){return c}},"./lib/utils/logrocket.ts"(T,b,e){"use strict";e.d(b,{K3:()=>E,Te:()=>I});var c,d,p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),y=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),I=function(){var i;return(i=window.emui)===null||i===void 0?void 0:i.logRocket},O=function(i){var f={};return Object.entries(i).forEach(function(l){var P=c(l,2),j=P[0],C=P[1];f[j]=C??""}),f},_=function(i,f){var l=I();l&&(l.identify(i,O(f)),d(i))},E=function(i){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,y.As)(i,f)}},"./lib/utils/micro-frontend/app-bridge.ts"(T,b,e){"use strict";e.d(b,{b:()=>y});var c=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"),p=e("./lib/utils/app-config/config.ts"),v=null,y=async function(){if(!v){var I,O,_,E=(0,d.t)(),i=((I=window.emui)===null||I===void 0?void 0:I.version)||"latest";v=new c.o({logger:E,version:i,appConfigBaseUrl:(O=window)===null||O===void 0||(_=O.emui)===null||_===void 0?void 0:_._ASSET_PATH}),await v.init((0,p.WE)());var f=(0,p.vF)("microFrontendApps");f&&Object.keys(f).forEach(function(l){return v.warmUp(l)})}return v}},"./lib/utils/micro-frontend/guest.ts"(T,b,e){"use strict";e.d(b,{h:()=>et});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),y=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),I=e.n(y),O=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),_=e.n(O),E=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),i=e.n(E),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),l=e.n(f),P=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),j=e.n(P),C=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),S=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),D=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"),ye=e("./lib/utils/window.ts"),de=e("./lib/utils/app-config/index.ts"),V=e("./lib/utils/app-config/config.ts"),H=e("./lib/utils/history.ts"),q=e("./lib/utils/console-logger.ts"),Y=e("./lib/utils/logger.ts"),Je=e("./node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js"),ue,ee="storage",oe="getSessionStorage",Se="sessionStorage",ce=function(){return sessionStorage.length===0},Be=function(h){if(h.key===oe)localStorage.setItem(Se,JSON.stringify(sessionStorage)),localStorage.removeItem(Se);else if(h.key===Se&&h.newValue){var n=JSON.parse(h.newValue);n&&Object.keys(n).forEach(function(u){sessionStorage.setItem(u,n[u])})}},Ze=null,Ne=function(){window.addEventListener(ee,Be),ce()&&localStorage.setItem(oe,`${Date.now()}`)},Ee=function(){window.removeEventListener(ee,Be)},Oe=e("./lib/utils/micro-frontend/app-bridge.ts"),_e=e("./lib/utils/helpers.ts"),He=e("./lib/utils/micro-frontend/ssf-host.ts"),Pe=function(){var h,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;if(n){var u=n,g=(h=u.emui)===null||h===void 0?void 0:h._ASSET_PATH;if(g){u.__webpack_public_path__=new URL("../",g).href;return}u.__webpack_public_path__=(u.__webpack_public_path__||"").replace(/\/?$/,"/")}},ve=["history"],Qe,nt="app-container",L=2e3,ie=1e3,he=function(){try{return window.parent.document,!1}catch{return!0}},je=function(h){return h.SSF="ssf",h.APPSDK="app-sdk",h}(je||{}),$e="module.unmount",re=l()("uuid"),$=l()("communicationMethod"),Ie=l()("ssfHostRef"),Le=l()("useV2Guest"),Te=l()("selfInitialize"),Me=l()("embeddedWithoutHost"),J=l()("appBridge"),Ae=l()("pendingInitialRoute"),Ue=l()("hostTeardownPromise"),ge=l()("moduleUnmountSubToken"),vt=l()("handleModuleUnmount"),Ge=l()("boundOnWindowUnload"),mt=l()("addAppToGlobalVariable"),Ve=l()("removeLegacyGlobalRegistration"),pt=l()("onWindowUnload"),K=l()("getLegacyParentHost"),qe=l()("tryConnectSSFGuest"),Ke=l()("resolveHistory"),ft=l()("discoverHost"),xe=l()("exposeGetHost"),Ce=l()("initAppBridge"),ot=l()("applyModuleParams"),Ot=l()("applyHistoryFromParams"),ht=l()("applyInitialRoute"),Fe=l()("loadConfigAndBridge"),We=l()("trackAnalyticsAndOnInit"),Re=l()("internalTeardown"),rt=l()("bindModuleUnmountListener"),ze=l()("unbindModuleUnmountListener"),ae=l()("completeWithoutHost"),gt=l()("fetchModuleScriptingObject"),et=function(){function h(n){var u=this,g,B,se;I()(this,h),Object.defineProperty(this,gt,{value:Lt}),Object.defineProperty(this,ae,{value:xt}),Object.defineProperty(this,ze,{value:It}),Object.defineProperty(this,rt,{value:ut}),Object.defineProperty(this,Re,{value:_t}),Object.defineProperty(this,We,{value:Et}),Object.defineProperty(this,Fe,{value:it}),Object.defineProperty(this,ht,{value:Xe}),Object.defineProperty(this,Ot,{value:yt}),Object.defineProperty(this,ot,{value:dt}),Object.defineProperty(this,Ce,{value:lt}),Object.defineProperty(this,xe,{value:bt}),Object.defineProperty(this,ft,{value:Ct}),Object.defineProperty(this,Ke,{value:at}),Object.defineProperty(this,qe,{value:tt}),Object.defineProperty(this,K,{value:Z}),Object.defineProperty(this,pt,{value:we}),Object.defineProperty(this,Ve,{value:Mt}),Object.defineProperty(this,mt,{value:Pt}),Object.defineProperty(this,re,{writable:!0,value:void 0}),this.logger=void 0,this.appId=void 0,this.props=void 0,Object.defineProperty(this,$,{writable:!0,value:void 0}),Object.defineProperty(this,Ie,{writable:!0,value:void 0}),Object.defineProperty(this,Le,{writable:!0,value:void 0}),Object.defineProperty(this,Te,{writable:!0,value:void 0}),Object.defineProperty(this,Me,{writable:!0,value:void 0}),Object.defineProperty(this,J,{writable:!0,value:null}),Object.defineProperty(this,Ae,{writable:!0,value:null}),Object.defineProperty(this,Ue,{writable:!0,value:null}),Object.defineProperty(this,ge,{writable:!0,value:null}),Object.defineProperty(this,vt,{writable:!0,value:async function(){return await i()(u,Re)[Re](),!0}}),Object.defineProperty(this,Ge,{writable:!0,value:function(){i()(u,pt)[pt]()}}),this.onInit=void 0,this.onMount=void 0,this.onUnmount=void 0,this.onGetRef=void 0,window.emui.uuid=window.emui.uuid||(0,C.A)(),this.appId=((g=window.emui)===null||g===void 0?void 0:g.appId)||(0,V.vF)("appId"),i()(this,re)[re]=window.emui.uuid,i()(this,$)[$]=je.APPSDK,this.props={host:null,hostUrl:null,prevState:null,history:n?.history||H.N,theme:(0,S.getDefaultTheme)(),manifestPath:"./latest",containerId:nt},this.logger=n?.logger||q.k,(0,Y.B)(this.logger),n!=null&&n.ssfHostRef&&(0,He.Z)(n.ssfHostRef),i()(this,Ie)[Ie]=(0,He.F)(),i()(this,Le)[Le]=n?.useV2Guest!==!1,i()(this,Te)[Te]=(B=n?.selfInitialize)!==null&&B!==void 0?B:!1,i()(this,Me)[Me]=(se=n?.embeddedWithoutHost)!==null&&se!==void 0?se:!1,this.onInit=n?.onInit,this.onMount=n?.onMount,this.onUnmount=n?.onUnmount,this.onGetRef=n?.onGetRef,i()(this,Me)[Me]&&!i()(this,Te)[Te]&&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,Te)[Te]?window.addEventListener("beforeunload",i()(this,Ge)[Ge]):i()(this,mt)[mt]()}return _()(h,[{key:"getHost",value:function(){return this.props.host}},{key:"getLogger",value:function(){return this.logger}},{key:"getObject",value:function(u){var g=null;return i()(this,$)[$]===je.SSF?(g=this.getHost(),g.getObject(u)):(g=this.getHost(),g?g.getObject(u):Promise.resolve(null))}},{key:"subscribe",value:function(u){var g=null;return i()(this,$)[$]===je.SSF?(g=this.getHost(),g.subscribe(u)):(g=this.getHost(),g.subscribe(u))}},{key:"unsubscribe",value:function(u){var g=null;if(i()(this,$)[$]===je.SSF){g=this.getHost(),g.unsubscribe(u);return}g=this.getHost(),g.unsubscribe(u)}},{key:"getProps",value:function(){return this.props}},{key:"getSessionStorageItem",value:function(u){var g=sessionStorage.getItem(u),B=this.getHost();return!g&&B!==null&&B!==void 0&&B.getItem&&(g=B.getItem(u)),g}},{key:"findHost",value:async function(){var u=i()(this,K)[K]();return u||(i()(this,Le)[Le]?i()(this,qe)[qe]():null)}},{key:"uuid",get:function(){return i()(this,re)[re]}},{key:"initialize",value:async function(){Pe();var u=window.top===window.self&&!window.opener;if(u)return await i()(this,Fe)[Fe](),i()(this,ae)[ae]("standalone");if(i()(this,Me)[Me])return await i()(this,Fe)[Fe](),i()(this,ae)[ae]("embeddedWithoutHost");var g=await Promise.all([i()(this,ft)[ft](),i()(this,Fe)[Fe]()]),B=v()(g,1),se=B[0];if(!se)return i()(this,ae)[ae]("discoveryFallback");this.props.host=se,i()(this,xe)[xe]();var Q={moduleId:this.appId};try{var ke=await i()(this,gt)[gt]();ke?(Q=await ke.getParameters(),i()(this,ot)[ot](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,rt)[rt](),Q}},{key:"init",value:async function(u){var g=this,B=u??{},se=B.history,Q=d()(B,ve);if(this.props=j()(this.props,Q),!this.props.host){var ke=await this.findHost();ke?this.props.host=ke:this.logger.warn("unable to connect to host microapp")}return i()(this,xe)[xe](),Pe(),(0,de.y)().then(function(){var jt=g.getSessionStorageItem("instanceId")||"",Tt=g.getSessionStorageItem("userId")||"";(0,k.nE)({appId:g.appId,instanceId:jt,userId:Tt});var st=i()(g,Ke)[Ke](se);return!st&&u!==null&&u!==void 0&&u.initialRoute&&(i()(g,Ae)[Ae]=typeof u.initialRoute=="string"?u.initialRoute:u.initialRoute.pathname||null),(0,Oe.b)().then(function(wt){i()(g,J)[J]=wt,g.onInit&&g.onInit(g.props),i()(g,rt)[rt]()})})}},{key:"mount",value:function(){var u=this,g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{containerId:nt};return this.props.containerId=g?.containerId,Promise.resolve().then(function(){i()(u,Ae)[Ae]&&(u.props.history.push(i()(u,Ae)[Ae]),i()(u,Ae)[Ae]=null),u.onMount&&u.onMount(g)})}},{key:"unmount",value:function(u){var g=this;return Ee(),Promise.resolve().then(function(){return g.onUnmount?g.onUnmount(u):null})}},{key:"getRef",value:function(){return this.onGetRef?this.onGetRef():null}},{key:"navigate",value:function(u,g){u&&this.props.history.push(u,g)}},{key:"addScriptingObject",value:function(u,g){i()(this,J)[J]&&i()(this,J)[J].addScriptingObject(u,g),i()(this,Ie)[Ie].addScriptingObject(u,g)}},{key:"dispatchEvent",value:async function(u){if(i()(this,J)[J]){var g=await Promise.all([i()(this,J)[J].dispatchEvent(u),i()(this,Ie)[Ie].dispatchEvent(u)]),B=v()(g,2),se=B[0],Q=B[1];return Array.isArray(se)&&Array.isArray(Q)?se.concat(Q):Promise.resolve()}return i()(this,Ie)[Ie].dispatchEvent(u)}},{key:"removeScriptingObject",value:function(u,g){i()(this,J)[J]&&i()(this,J)[J].removeScriptingObject(u,g),i()(this,Ie)[Ie].removeScriptingObject(u,g)}}],[{key:"getInstance",value:function(u){return this.instance||(this.instance=new h(u),u!=null&&u.selfInitialize||(u?.logger||q.k).warn("CMicroApp.getInstance() called without selfInitialize: true \u2014 this legacy mode is deprecated. Pass { selfInitialize: true } and use initialize() instead.")),this.instance}},{key:"isInitialized",value:function(){return!!this.instance}},{key:"isHosted",value:function(){var u,g;return!!((u=this.instance)!==null&&u!==void 0&&(g=u.props)!==null&&g!==void 0&&g.host)}}])}();Qe=et;function Pt(){var h=this,n=(0,ye.zk)();if(n){n.emui=n.emui||{};var u=this.unmount.bind(this),g={uuid:i()(this,re)[re],init:this.init.bind(this),mount:this.mount.bind(this),unmount:function(Q){return Q!=null&&Q.containerId&&(h.props.containerId=Q.containerId),h.props.host?i()(h,Re)[Re]().then(function(){return null}):u(Q)},getRef:this.getRef.bind(this),navigate:this.navigate.bind(this)};if(n.emui[this.appId])if(Array.isArray(n.emui[this.appId])){var B=n.emui[this.appId],se=B.findIndex(function(Q){return Q.uuid===i()(h,re)[re]});se>-1?B[se]=g:B.push(g)}else n.emui[this.appId].uuid===i()(this,re)[re]?n.emui[this.appId]=g:typeof n.emui[this.appId].init>"u"?n.emui[this.appId]=Object.assign({},n.emui[this.appId],g):n.emui[this.appId]=[n.emui[this.appId],g];else n.emui[this.appId]=g;window.emui.app=g,window.addEventListener("beforeunload",i()(this,Ge)[Ge])}}function Mt(){var h=this;if(!i()(this,Te)[Te]){var n=(0,ye.zk)();if(n!=null&&n.emui){if(Array.isArray(n.emui[this.appId])){var u=n.emui[this.appId],g=u.findIndex(function(B){return B.uuid===i()(h,re)[re]});g>-1&&u.splice(g,1),u.length===0&&delete n.emui[this.appId]}else delete n.emui[this.appId];delete window.emui.app}}}function we(){if(this.props.host){i()(this,Re)[Re]().catch(function(){});return}if(!i()(this,Te)[Te]){i()(this,Ve)[Ve](),this.unmount({containerId:this.props.containerId}).catch(function(){});return}i()(this,Re)[Re]().catch(function(){})}function Z(){var h,n,u;return he()?null:(h=(n=window.parent)===null||n===void 0||(u=n.emui)===null||u===void 0?void 0:u.MicroAppHost)!==null&&h!==void 0?h:null}async function tt(){var h=new D.p({appLogger:this.logger});try{var n=await(0,_e.E_)({promise:h.connect(),delay:ie,retValue:!0});if(!n)return i()(this,$)[$]=je.SSF,h}catch{}return null}function at(h){if(i()(this,$)[$]===je.SSF)return this.props.history=H.N,!1;var n=(0,V.vF)("useParentHistory",!0);return n&&h?this.props.history=h:!n&&window!==window.parent&&(this.props.history=H.w),n}async function Ct(){var h;if((h=window.emui)!==null&&h!==void 0&&h.__host)return window.emui.__host;var n=i()(this,K)[K]();return n||(i()(this,Le)[Le]?i()(this,qe)[qe]():null)}function bt(){var h=this;window.emui=window.emui||{},window.emui.getHost=function(){var n;return(n=h.props.host)!==null&&n!==void 0?n:null}}async function lt(){i()(this,J)[J]=await(0,Oe.b)()}function dt(h){h.homeRoute&&(this.props.homeRoute=h.homeRoute),h.theme&&(this.props.theme=h.theme),h.hostUrl&&(this.props.hostUrl=h.hostUrl),h.manifestPath&&(this.props.manifestPath=h.manifestPath),h.containerId&&(this.props.containerId=h.containerId),i()(this,Ot)[Ot](h)}function yt(h){if(i()(this,$)[$]===je.SSF){this.props.history=H.N;return}var n=(0,V.vF)("useParentHistory",!0);n&&h.history?this.props.history=h.history:!n&&window!==window.parent&&(this.props.history=H.w),i()(this,ht)[ht](h,n)}function Xe(h,n){if(!(!h.initialRoute||n)){var u=typeof h.initialRoute=="string"?h.initialRoute:h.initialRoute.pathname;u&&this.props.history.push(u)}}async function it(){await(0,de.y)(),await i()(this,Ce)[Ce]()}function Et(){var h=this.getSessionStorageItem("instanceId")||"",n=this.getSessionStorageItem("userId")||"";(0,k.nE)({appId:this.appId,instanceId:h,userId:n}),this.onInit&&this.onInit(this.props)}function _t(){var h=this;return i()(this,Ue)[Ue]||(i()(this,Ue)[Ue]=Promise.resolve().then(function(){i()(h,Ve)[Ve]()}).then(function(){return h.unmount({containerId:h.props.containerId})}).then(function(){i()(h,ze)[ze]()}).catch(function(n){throw i()(h,Ue)[Ue]=null,n})),i()(this,Ue)[Ue]}function ut(){if(!(i()(this,ge)[ge]||!this.props.host))try{i()(this,ge)[ge]=this.subscribe({eventId:$e,callback:i()(this,vt)[vt]})}catch{this.logger.warn("Unable to subscribe to module.unmount from host \u2014 continuing without host teardown listener")}}function It(){i()(this,ge)[ge]&&(this.unsubscribe({eventId:$e,token:i()(this,ge)[ge]}),i()(this,ge)[ge]=null)}function xt(h){return h==="standalone"?(this.logger.info("Running in standalone mode \u2014 skipping host discovery"),i()(this,xe)[xe](),i()(this,Ke)[Ke]()):h==="embeddedWithoutHost"?(this.logger.info("embeddedWithoutHost enabled \u2014 skipping host discovery"),i()(this,xe)[xe]()):(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,xe)[xe]()),i()(this,We)[We](),{moduleId:this.appId}}async function Lt(){var h="module",n=this.getObject(h);return i()(this,$)[$]!==je.SSF?n:(0,_e.E_)({promise:n,delay:L,throwError:!0,errMsg:`Timed out waiting for module scripting object from host (${L}ms)`})}et.instance=void 0},"./lib/utils/micro-frontend/ssf-host.ts"(T,b,e){"use strict";e.d(b,{F:()=>I,Z:()=>O});var c=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"),p=e("./lib/utils/logger.ts"),v=e("./lib/utils/app-config/config.ts"),y=null,I=function(){if(!y){var _=(0,p.t)();y=new c.P((0,v.vF)("appId"),{logger:_,analyticsObj:new d.j({logger:_})})}return y},O=function(_){y||(y=_)}},"./lib/utils/page-wake.ts"(T,b,e){"use strict";e.d(b,{v:()=>c});var c=function(d){var p=!1,v=function(){p||(p=!0,queueMicrotask(function(){p=!1,d()}))},y=function(){document.hidden||v()};return document.addEventListener("visibilitychange",y),window.addEventListener("pageshow",v),window.addEventListener("focus",v),function(){document.removeEventListener("visibilitychange",y),window.removeEventListener("pageshow",v),window.removeEventListener("focus",v)}}},"./lib/utils/session-timeout-config.ts"(T,b,e){"use strict";e.d(b,{BH:()=>I,Gw:()=>E,vG:()=>i});var c=e("./lib/utils/app-config/config.ts"),d=e("./lib/utils/constants.ts"),p,v,y=function(f){return f*6e4},I=function(){p=void 0,v=void 0},O=function(f){var l=f.sessionExpiryInterval,P=f.sessionWarnInterval;p=y(l-P),v=y(l)},_=function(f,l){var P=(0,c.vF)(f);if(P==null||P==="")return l;var j=Number(P);return Number.isFinite(j)&&j>0?j:l},E=function(){return p===void 0&&(p=_("sessionTimeoutWarnInterval",d.J2.WARN)),p},i=function(){if(v===void 0){var f=E(),l=_("sessionTimeoutInterval",d.J2.EXPIRY);v=l>f?l:f+1}return v}},"./lib/utils/session.ts"(T,b,e){"use strict";e.d(b,{lQ:()=>Bt,LC:()=>Kt,KB:()=>se,oB:()=>g,z3:()=>Tt,lD:()=>Ht,n5:()=>Nt,Lw:()=>Ft});var c=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),d=e.n(c),p=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")||"{}"),r=t.client_id||"",m=t.scope||"";window.emui.loginParams={clientId:r,scope:m}}return window.emui.loginParams},y=e("./lib/utils/constants.ts"),I,O=function(){return sessionStorage.getItem(y.Ay.AUTHORIZATION)||""},_=function(t){sessionStorage.setItem(I.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"),f=e("./lib/utils/app-config/config.ts"),l=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),P=e.n(l),j;function C(t,r){var m=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!m){if(Array.isArray(t)||(m=S(t))||r&&t&&typeof t.length=="number"){m&&(t=m);var w=0,A=function(){};return{s:A,n:function(){return w>=t.length?{done:!0}:{done:!1,value:t[w++]}},e:function(F){throw F},f:A}}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,W=!0,N=!1;return{s:function(){m=m.call(t)},n:function(){var F=m.next();return W=F.done,F},e:function(F){N=!0,R=F},f:function(){try{W||m.return==null||m.return()}finally{if(N)throw R}}}}function S(t,r){if(t){if(typeof t=="string")return D(t,r);var m={}.toString.call(t).slice(8,-1);return m==="Object"&&t.constructor&&(m=t.constructor.name),m==="Map"||m==="Set"?Array.from(t):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?D(t,r):void 0}}function D(t,r){(r==null||r>t.length)&&(r=t.length);for(var m=0,w=Array(r);m<r;m++)w[m]=t[m];return w}var k=function(t){return t},ye=function(t,r){var m,w;r=r||j,(m=r)!==null&&m!==void 0&&(w=m.interceptors)!==null&&w!==void 0&&w.response&&r.interceptors.response.eject(t)},de=function(t){var r=t.config.retryConfig;if(!r||r.retry===0||!t.response&&(r.currentRetryAttempt||0)>=r.noResponseRetries||!t.config.method||r.httpMethodsToRetry.indexOf(t.config.method.toUpperCase())<0)return!1;if(t.response&&t.response.status){var m=!1,w=C(r.statusCodesToRetry),A;try{for(w.s();!(A=w.n()).done;){var R=A.value,W=P()(R,2),N=W[0],F=W[1],le=t.response.status;if(le>=N&&le<=F){m=!0;break}}}catch(z){w.e(z)}finally{w.f()}if(!m)return!1}return r.currentRetryAttempt=r.currentRetryAttempt||0,!(r.currentRetryAttempt>=r.retry)},V=function(t){if(!t.config)return Promise.reject(t);var r=t.config.retryConfig||{};r.currentRetryAttempt=r.currentRetryAttempt||0,r.retry=r.retry===void 0||r.retry===null?3:r.retry,r.retryDelay=r.retryDelay||100,r.instance=r.instance||i.A,r.httpMethodsToRetry=r.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],r.noResponseRetries=r.noResponseRetries===void 0||r.noResponseRetries===null?2:r.noResponseRetries;var m=[[100,199],[429,429],[500,599]];r.statusCodesToRetry=r.statusCodesToRetry||m,t.config.retryConfig=r;var w=r.shouldRetry||de;if(!w(t))return Promise.reject(t);var A=new Promise(function(W){var N=(2**r.currentRetryAttempt-1)/2*1e3;t.config.retryConfig.currentRetryAttempt+=1,setTimeout(W,N)}),R=r.onRetryAttempt?Promise.resolve(r.onRetryAttempt(t)):Promise.resolve();return Promise.resolve().then(function(){return A}).then(function(){return R}).then(function(){return r.instance.request(t.config)})},H=function(t){var r,m;return t=t||i.A,(r=t)!==null&&r!==void 0&&(m=r.interceptors)!==null&&m!==void 0&&m.response?t.interceptors.response.use(k,V):null},q=function(t){return t&&t.config?t.config.retryConfig:null},Y=function(t){return{retry:3,noResponseRetries:2,retryDelay:100,httpMethodsToRetry:["GET","HEAD","OPTIONS","DELETE","PUT"],statusCodesToRetry:[[100,199],[429,429],[500,599]],instance:t,onRetryAttempt:function(r){var m=q(r);m&&m.currentRetryAttempt}}},Je=function(t){t!=null&&t.defaults&&(t.defaults.retryConfig=Y(t)),H(t)};const ue=Je;var ee=e("./lib/communication/http-client/props.ts"),oe=function(t){return ee.K.resetUserIdleTime(),t},Se=401,ce=null,Be=function(t){ce=t},Ze=function(t){return t},Ne=function(t){var r=(t||{}).response||{},m=r.status;if(m===Se){if(ce&&typeof ce=="function")return ce(t).then(function(w){var A=t.config;if(!(A!=null&&A.headers))throw t;return A.headers.Authorization=w,new Promise(function(R,W){i.A.request(A).then(R).catch(W)})}).catch(function(w){return Promise.reject(w)});if(ee.K.endSession)return ee.K.endSession(Object.assign({},v(),{skipRevoke:!0})).then(function(){return Promise.reject(t)}).catch(function(){return Promise.reject(t)})}return Promise.reject(t)},Ee=e("./lib/utils/logrocket.ts"),Oe,_e,He=null,Pe=2*60*1e3,ve=function(){var t,r,m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=m.baseURL,A=w===void 0?(0,f.vF)("serviceEndpoints.api",""):w,R=m.headers,W=R===void 0?{}:R,N=m.sendLogRocketSessionHeader,F=N===void 0?!1:N,le=((t=(0,Ee.Te)())===null||t===void 0?void 0:t.sessionURL)||"",z=i.A.create({baseURL:A,headers:F&&le?Object.assign({},W,{"X-LogRocket-URL":le}):W});z!=null&&(r=z.defaults)!==null&&r!==void 0&&r.timeout&&(z.defaults.timeout=Pe),ue(z);var te=z?.interceptors||{},ne=te.request,X=te.response;return ne&&ne.use(oe),X&&X.use(Ze,Ne),z},Qe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.baseURL,m=t.headers,w=m===void 0?{}:m,A=t.sendLogRocketSessionHeader,R=A===void 0?!1:A,W=Oe(t,He);return ve(Object.assign({baseURL:r,headers:Object.assign({Authorization:_e()},w),sendLogRocketSessionHeader:R},W))},nt,L=async function(t){var r=t.code,m=t.clientId,w=t.scope,A=t.redirectUri,R=new URLSearchParams;R.append("grant_type","authorization_code"),R.append("client_id",m),R.append("redirect_uri",A),R.append("scope",w),R.append("code",r);var W=await nt().post("/oauth2/v1/token",R),N=W.data;return{tokenType:N.token_type,accessToken:N.access_token}},ie=async function(t){var r=t.clientId,m=t.token,w=new URLSearchParams;w.append("token",m),w.append("client_id",r),await ve().post("/oauth2/v1/token/revocation",w)},he=async function(t){var r=t.clientId,m=t.accessToken,w=new URLSearchParams;w.append("token",m),w.append("client_id",r);var A=await ve().post("/oauth2/v1/token/introspection",w),R=A.data;return R},je=e("./lib/utils/logger.ts"),$e=e("./lib/utils/log-records.ts"),re=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),$=e("./lib/analytics/index.ts"),Ie,Le,Te=function(t){var r=t.instanceId,m=t.userId;Ie({instanceId:r,userId:m}),Le({data:{event:"login"}})},Me=function(){(0,$.e)({data:{event:"logout"}}),(0,re.nE)({instanceId:"",userId:""})},J=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),Ae,Ue,ge,vt,Ge,mt,Ve,pt,K,qe,Ke,ft,xe,Ce,ot="serviceEndpoints.idp",Ot=function(){return!!K()},ht=function(){var t=new URL(window.location.href),r=t.searchParams.get("code")||"",m=t.searchParams.get("error_code")||"";return t.search="",{code:r,idpErrorCode:m,redirectUri:t.href}},Fe=function(t){var r=t.clientId,m=t.redirectUri,w=t.idpErrorCode,A=t.scope,R=t.responseType,W=t.instanceId,N=t.siteId,F=t.userId,le=t.disableRememberMe,z=t.useCompactIdpPage,te=t.isSSO,ne=Ke(ot,""),X=new URL("/authorize",ne),De=Object.assign({client_id:r,redirect_uri:m,response_type:R??"",scope:A},W!==void 0&&{instance_id:String(W)},N!==void 0&&{site_id:String(N)},F!==void 0&&{user_id:F},le!==void 0&&{disable_remember_me:String(le)},z!==void 0&&{tpoifr:String(z)},te!==void 0&&{is_sso:String(te)}),Ye=new URLSearchParams(w?Object.assign({},De,{error_code:w}):De);X.search=Ye.toString(),window.location.replace(X.href)},We=async function(t){var r=t.clientId,m=t.redirectUri,w=t.responseType,A=t.scope,R=t.code,W=R===void 0?"":R,N=t.customLogoutUrl,F=N===void 0?"":N,le=t.skipRevoke,z=le===void 0?!1:le;try{var te=O();sessionStorage.clear();var ne=te?te.split(" ")[1]:"";z||await ie({clientId:r,token:ne}),Me(),(0,Ee.K3)("logout"),(0,J.E3)(),(0,re.nE)({instanceId:"",userId:""});var X;if(F)X=new URL("/",F);else{var De=(0,f.vF)(ot,"");X=new URL("/authorize",De);var Ye=Object.assign({client_id:r,redirect_uri:m||""},W&&{error_code:W},{response_type:w||"",scope:A}),At=new URLSearchParams(Ye);X.search=At.toString()}window.location.replace(X.href)}catch(Rt){var ct;(ct=(0,je.t)())===null||ct===void 0||ct.error(Object.assign({},$e.V.LOGOUT_FAILED,{exception:Rt}))}},Re=async function(t){var r=t.code,m=t.redirectUri,w=t.clientId,A=t.scope,R=t.responseType,W=t.isConsumerUser;try{var N=await ge({code:r,clientId:w,scope:A,redirectUri:m}),F=N.tokenType,le=N.accessToken;xe({clientId:w,scope:A,responseType:R,redirectUri:m});var z=`${F} ${le}`;qe(z);var te=await vt({clientId:w,accessToken:le});sessionStorage.setItem("user",JSON.stringify(te));var ne=te.encompass_instance_id,X=te.user_name,De=te.bearer_token,Ye=te.user_key,At={bearerToken:De,realm:ne,userName:X,sessionId:De?.replace(`${ne} `,"")};sessionStorage.setItem("cred",JSON.stringify(At)),sessionStorage.setItem("instanceId",ne),sessionStorage.setItem("userId",X),mt({instanceId:ne,userId:X}),Ae({instanceId:ne,userId:X});var ct={name:X,instanceId:ne};Ve(Ye,ct),pt("login",ct);var Rt=await Ge({userName:X,isConsumerUser:W});sessionStorage.setItem("userSettings",JSON.stringify(Rt));var $t=new URL(m).pathname;Ue.replace($t)}catch(Dt){var Ut,Wt,kt,zt=Dt==null||(Ut=Dt.response)===null||Ut===void 0||(Wt=Ut.data)===null||Wt===void 0?void 0:Wt.code;await We({clientId:w,redirectUri:m,code:zt,scope:A,responseType:R}),(kt=Ce())===null||kt===void 0||kt.error(Object.assign({},ft.LOGIN_FAILED,{exception:Dt}))}},rt=async function(t){var r=t.clientId,m=t.scope,w=t.responseType,A=t.isConsumerUser,R=t.instanceId,W=t.siteId,N=t.userId,F=t.disableRememberMe,le=t.useCompactIdpPage,z=t.isSSO,te=ht(),ne=te.code,X=te.idpErrorCode,De=te.redirectUri,Ye={clientId:r,scope:m,responseType:w,redirectUri:De,code:ne,idpErrorCode:X,isConsumerUser:A,instanceId:R,siteId:W,userId:N,disableRememberMe:F,useCompactIdpPage:le,isSSO:z};return ne?(await Re(Ye),{authorized:!0}):(Fe(Ye),{authorized:!1})},ze=e("./lib/utils/page-wake.ts"),ae=e("./lib/utils/session-timeout-config.ts"),gt,et,Pt,Mt,we,Z,tt,at,Ct,bt=Date.now(),lt=[],dt=[],yt=[],Xe=["click","scroll","keypress","touchstart"],it=!1,Et=!1,_t,ut,It,xt=function(){Et=!1,it=!1,It=null},Lt=function(){return Date.now()-bt>(0,ae.Gw)()},h=function(){return Date.now()-bt>(0,ae.vG)()},n=function(){return Promise.resolve().then(function(){dt.forEach(function(t){return t()})})},u=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;xt(),bt=Date.now(),Promise.resolve().then(function(){yt.forEach(function(r){return r(t)})}).catch(function(){})},g=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;st(t===!0)&&u(t)},B=function(t){var r=t.sessionExpiryInterval,m=r===void 0?et:r,w=t.sessionWarnInterval,A=w===void 0?Pt:w;if(m<et)throw new Error(Mt);if(m>we)throw new Error(Z);if(A>=m)throw new Error(tt);Ct({sessionExpiryInterval:m,sessionWarnInterval:A}),g(!0)},se=async function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(st(t===!0)){var r=v();try{if(u(!0),r!=null&&r.clientId){var m=O();if(!m)throw new Error("Authorization token not found to extend session");var w=m.split(" ")[1];await he({clientId:r.clientId,accessToken:w})}}catch(R){var A;(A=(0,je.t)())===null||A===void 0||A.error(Object.assign({},$e.V.SESSION_RENEWAL_FAILED,{exception:R})),await We(Object.assign({},r,{skipRevoke:!0}))}}},Q=d()(function(){se().catch(function(){})},y.eE,{leading:!0}),ke=function(){Xe.forEach(function(t){document.removeEventListener(t,Q)})},jt=function(){it=!0,It=Date.now(),ke(),Promise.resolve().then(function(){lt.forEach(function(t){return t(It)})}).catch(function(){})},Tt=function(){var t;ke(),(t=ut)===null||t===void 0||t(),ut=void 0,clearInterval(_t),xt(),lt.length=0,dt.length=0};function st(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Et?!1:h()?(Et=!0,n().then(function(){Tt()}).catch(function(){}),!1):!it&&Lt()?(jt(),!1):!(it&&!t)}var wt=function(t,r){var m=t.findIndex(function(w){return w===r});m>-1&&t.splice(m,1)},Bt=function(){Xe.forEach(function(t){document.addEventListener(t,Q)})},Kt=function(){var t;clearInterval(_t),(t=ut)===null||t===void 0||t(),ke(),(0,ae.BH)(),xt(),Bt(),ut=(0,ze.v)(st),_t=setInterval(st,1e3)},Ft=function(t){return lt.push(t),wt.bind(null,lt,t)},Nt=function(t){return dt.push(t),wt.bind(null,dt,t)},Ht=function(t){return yt.push(t),wt.bind(null,yt,t)},Vt=function(t,r){if(!t)return function(){};var m=gt(r,at,{leading:!0});return Xe.forEach(function(w){return t.addEventListener(w,m)}),function(){Xe.forEach(function(w){return t.removeEventListener(w,r)}),Xe.forEach(function(w){return t.removeEventListener(w,m)})}}},"./lib/utils/window.ts"(T,b,e){"use strict";e.d(b,{D:()=>I,M5:()=>v,OX:()=>O,zk:()=>p});var c=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),d=e.n(c),p=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)}},y=function(_){return Number(_?.replace("px",""))},I=function(){var _=v(),E=_.width,i=(0,c.getDefaultTheme)(),f=i.breakpoints;return E<=y(f.small)?"small":E<=y(f.medium)?"medium":E<=y(f.xsmall)?"xsmall":"large"},O=function(){var _,E,i,f,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 P=(f=window.emui)===null||f===void 0?void 0:f.version.match(/^(?:\d+\.\d+)*/g);return P&&P[0]?l.replace("latest/",`${P[0]}/`):l}},"./lib/view/error-toast/index.tsx"(T,b,e){"use strict";e.d(b,{Q:()=>l});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),d=e.n(c),p=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"),y=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/toast.js"),I=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"),O=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"),f=["position","messageTitle","type","description","messageText","messageComponent"],l=(0,p.memo)(function(P){var j=(0,_.G)(function(S){return S?.error}),C=(0,O.j)();return(0,p.useEffect)(function(){if(j&&(j!=null&&j.description||j!=null&&j.messageText)){var S=Object.assign({position:I.xJ.TOP_RIGHT,messageTitle:"Error",type:I.Ck.ERROR},P,j),D=S.position,k=S.messageTitle,ye=S.type,de=S.description,V=S.messageText,H=S.messageComponent,q=d()(S,f),Y=de||V;Y&&(0,y.o)({messageText:Y,messageTitle:k,type:ye,messageComponent:H},Object.assign({position:D},q)),C(E.o.clear())}},[j,P,C]),(0,i.jsx)(v.P_,Object.assign({},P))})},"./lib/view/live-message/index.tsx"(T,b,e){"use strict";e.d(b,{I:()=>y});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=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"),y=function(){var I=(0,v.G)(function(_){var E;return(E=_.liveMessage)===null||E===void 0?void 0:E.message}),O=(0,v.G)(function(_){var E;return(E=_.liveMessage)===null||E===void 0?void 0:E.ariaLive});return d()(p.Iu,{message:I,"aria-live":O})};y.displayName="LiveMessage"},"./lib/view/modals/session-expiry/index.tsx"(T,b,e){"use strict";e.d(b,{_:()=>Je});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),y=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),I=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"),O=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"),f=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"),P=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"),C=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogFooter/DSDialogFooter.js"),S=e("./lib/data/useAppDispatch.ts"),D=e("./lib/data/logout/actions.ts"),k=e("./lib/utils/session.ts"),ye=e("./lib/utils/page-wake.ts"),de=e("./lib/utils/session-timeout-config.ts"),V=function(ue){var ee=Math.max(0,Math.floor(ue/1e3)),oe=Math.floor(ee/60),Se=ee%60;return`${String(oe).padStart(2,"0")}:${String(Se).padStart(2,"0")}`},H=function(ue){var ee=(0,y.useState)(),oe=v()(ee,2),Se=oe[0],ce=oe[1];return(0,y.useEffect)(function(){var Be=(0,de.Gw)(),Ze=(0,de.vG)(),Ne=ue+(Ze-Be),Ee=function(){ce(V(Ne-Date.now()))};Ee();var Oe=setInterval(Ee,1e3),_e=(0,ye.v)(Ee);return function(){clearInterval(Oe),_e()}},[ue]),Se},q,Y,Je=(0,y.memo)(function(ue){var ee=ue.open,oe=ue.warningNotifiedAt,Se=oe===void 0?0:oe,ce=(0,y.useState)(ee),Be=v()(ce,2),Ze=Be[0],Ne=Be[1],Ee=H(Se),Oe=(0,S.j)(),_e=(0,y.useRef)(null),He=(0,y.useRef)(null),Pe=(0,_.r)({firstElementRef:_e,lastElementRef:He});(0,y.useEffect)(function(){Ne(ee)},[ee]);var ve=async function(){Ne(!1),await(0,k.KB)(!0),(0,k.lQ)(),Oe(D.r.cancel())},Qe=function(){Ne(!1),Oe(D.r.confirm())};return Ee?d()(E.O,{onKeyDown:Pe,isOpen:Ze,size:"small"},void 0,d()(i.u,{p:"s"},void 0,d()(f.D,{},void 0,d()(O.A,{size:"xl",color:["warning","900"]}),d()(l.T,{},void 0,`Your session will expire in ${Ee}`),q||(q=d()(P.z,{},void 0,"Please logout or reset your session")))),Y||(Y=d()(j.Z,{})),d()(C.r,{},void 0,d()(I.e,{innerRef:_e,buttonType:"outline",onClick:Qe},void 0,"Logout"),d()(I.e,{innerRef:He,onClick:function(){ve().catch(function(){})}},void 0,"Reset"))):null})},"./lib/view/session-timeout/index.tsx"(T,b,e){"use strict";e.d(b,{S:()=>f});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),y=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),I=e("./lib/data/useAppDispatch.ts"),O=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"),f=function(){var l=(0,I.j)(),P=(0,y.useState)(!1),j=v()(P,2),C=j[0],S=j[1],D=(0,y.useState)(),k=v()(D,2),ye=k[0],de=k[1];return(0,y.useEffect)(function(){i.K.resetUserIdleTime=_.oB,(0,_.LC)();var V=(0,_.Lw)(function(Y){Y&&(de(Y),S(!0))}),H=(0,_.lD)(function(Y){Y===!0&&S(!1)}),q=(0,_.n5)(function(){l(O.r.confirm()),S(!1)});return function(){V(),H(),q(),(0,_.z3)()}},[l]),d()("div",{},void 0,C&&d()(E._,{open:!0,warningNotifiedAt:ye}))};f.displayName="SessionTimeout"},"./lib/view/wait-message/index.tsx"(T,b,e){"use strict";e.d(b,{j:()=>de});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),y=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),I=e.n(y),O=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"),f=e("./lib/data/useAppSelector.ts"),l=e("./lib/view/wait-message/use-html-wait-message.tsx"),P=e("./lib/analytics/index.ts"),j=function(){return(0,P.e)({data:{event:"pageInteractionEnabled"}})},C=function(){return(0,P.e)({data:{event:"pageInteractionDisabled"}})},S=e("./lib/utils/logrocket.ts"),D=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),k=["size","color","showText","withTooltip","tooltipStartPlacementPreference"],ye=(0,_.default)(i.p).withConfig({componentId:"sc-3aqsjr-0"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"]),de=(0,O.memo)(function(V){var H=V.size,q=H===void 0?"xl":H,Y=V.color,Je=Y===void 0?"light":Y,ue=V.showText,ee=ue===void 0?!0:ue,oe=V.withTooltip,Se=oe===void 0?!1:oe,ce=V.tooltipStartPlacementPreference,Be=ce===void 0?"center":ce,Ze=I()(V,k),Ne=(0,O.useContext)(_.ThemeContext),Ee=(0,O.useRef)(!1),Oe=(0,O.useState)(!1),_e=v()(Oe,2),He=_e[0],Pe=_e[1],ve=(0,f.G)(function(L){var ie;return(ie=L.waitMessage)===null||ie===void 0?void 0:ie.isOpen}),Qe=(0,f.G)(function(L){var ie;return(ie=L.waitMessage)===null||ie===void 0?void 0:ie.delay});Ee.current=ve??!1;var nt=(0,f.G)(function(L){var ie;return(ie=L.waitMessage)===null||ie===void 0?void 0:ie.message});return(0,O.useEffect)(function(){setTimeout(function(){ve&&Ee.current&&(Pe(!0),j(),(0,S.K3)("wait-spinner-start"))},Qe?1e3:0),ve||(Pe(!1),C(),(0,S.K3)("wait-spinner-end"))},[Qe,ve]),(0,l.t)(ve!==null),He?(0,D.jsxs)(D.Fragment,{children:[d()(E.Ay,{zIndex:Ne.zIndex.loader}),(0,D.jsx)(ye,Object.assign({id:"em-loading",size:q,color:Je,showText:ee,withTooltip:Se,tooltipStartPlacementPreference:Be},Ze,{text:nt}))]}):null})},"./lib/view/wait-message/use-html-wait-message.tsx"(T,b,e){"use strict";e.d(b,{t:()=>d});var c=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),d=function(p){(0,c.useEffect)(function(){var v=document.getElementById("em-wait-message");v&&p&&v.remove()},[p])}},"./storybook-config-entry.js"(T,b,e){"use strict";var c=e("./node_modules/.pnpm/global@4.4.0/node_modules/global/window.js"),d=e.n(c),p=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"),y=e("./node_modules/.pnpm/@storybook+client-api@6.5.16/node_modules/@storybook/client-api/dist/cjs/index.js"),I=e("./node_modules/.pnpm/@storybook+addons@6.5.16/node_modules/@storybook/addons/dist/cjs/public_api.js"),O=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(S){if(/^\.[\\/](?:lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(mdx|tsx|ts|jsx|js))$/.exec(S)){var D=S.substring(6);return e("./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$")("./"+D)}}];async function i(S){for(var D=0;D<E.length;D++){var k=await E[D](S);if(k)return k}}var f=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")])},P=(0,O.Ay)({page:"preview"});if(I.addons.setChannel(P),f){var j=(0,_.Ay)({url:f});I.addons.setServerChannel(j),window.__STORYBOOK_SERVER_CHANNEL__=j}var C=new p.PreviewWeb;window.__STORYBOOK_PREVIEW__=C,window.__STORYBOOK_STORY_STORE__=C.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=P,window.__STORYBOOK_CLIENT_API__=new y.ClientApi({storyStore:C.storyStore}),C.initialize({importFn:i,getProjectAnnotations:l})},"./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"(T,b,e){"use strict";var c=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/runtime/api.js"),d=e.n(c),p=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(I){return I[1]});v.i(p.A),v.push([T.id,`
5
+ `,""]);const y=v;e.d(b,["A",0,y])},"@elliemae/pui-diagnostics"(T){"use strict";T.exports=emuiDiagnostics},"?6b64"(){}},T=>{var b=c=>T(T.s=c);T.O(0,[1896],()=>(b("./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"),b("./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"),b("./storybook-config-entry.js")));var e=T.O()}]);
@@ -1 +1 @@
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"}}}
1
+ {"generatedAt":1786491344868,"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.11783677.iframe.bundle.js"></script><script src="main.ccc2d540.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.b2f22fed.iframe.bundle.js"></script><script src="main.d1512ce2.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.7fe19f1fb477a0b9fcce.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.4043d77f8baa6730e9c7.manager.bundle.js"></script></body></html>
@@ -0,0 +1 @@
1
+ (globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[792],{11792(i,t,o){"use strict";var p=o(59443),m=o(96778),b=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,f=(e,a,r)=>a in e?b(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,d=(e,a)=>{for(var r in a||(a={}))s.call(a,r)&&f(e,r,a[r]);if(l)for(var r of l(a))_.call(a,r)&&f(e,r,a[r]);return e},v=(e,a)=>{var r={};for(var n in e)s.call(e,n)&&a.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&l)for(var n of l(e))a.indexOf(n)<0&&_.call(e,n)&&(r[n]=e[n]);return r};const h=e=>{var a=e,{base:r="light",brandTitle:n="Platform UI Components"}=a,u=v(a,["base","brandTitle"]);return(0,m.vt)(d({base:r,brandTitle:`${n} 5.46.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))$"(T,b,e){const c={"./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(p){try{if(!e.o(c,p))return Promise.resolve().then(()=>{const I=new Error("Cannot find module '"+p+"'");throw I.code="MODULE_NOT_FOUND",I})}catch(I){return Promise.reject(I)}const v=c[p],y=v[0];return Promise.all(v[1].map(e.e)).then(()=>e(y))}d.keys=()=>Object.keys(c),d.id="./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$",T.exports=d},"./.storybook/preview.js"(T,b,e){"use strict";e.r(b),e.d(b,{__namedExportsOrder:()=>si,decorators:()=>qt,loaders:()=>ei,parameters:()=>ii});var c=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"),p=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"),y=e("./node_modules/.pnpm/redux-saga@1.5.0/node_modules/redux-saga/dist/redux-saga.cjs.js"),I=e.n(y),O=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.cjs.production.min.js"),_=e("./lib/data/wait-message/actions.ts"),E={isOpen:null,message:"loading...",delay:!0},i=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E,s=arguments.length>1?arguments[1]:void 0;return(0,O.default)(a,function(o){switch(s.type){case _.k.OPEN:o.isOpen=!0,o.message=s.payload.message,o.delay=s.payload.delay;break;case _.k.CLOSE:o.isOpen=!1;break}})},f=e("./lib/data/error/index.ts"),l={change:"change"},P=function(a){return a.LARGE="large",a.MEDIUM="medium",a.SMALL="small",a.XSMALL="xsmall",a}({}),j={value:P.LARGE},C=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:j,s=arguments.length>1?arguments[1]:void 0,o=s.type,x=s.payload;return(0,O.default)(a,function(M){switch(o){case l.change:M.value=x;break}})},S=e("./lib/data/live-message/index.ts"),D=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=(0,d.combineReducers)(Object.assign({waitMessage:i,error:f.L,breakpoint:C,liveMessage:S.k},a));return s},k=e("./lib/data/webpack-hmr.ts"),ye=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/toConsumableArray.js"),de=e.n(ye),V=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/lib/redux.js"),H=new Map,q,Y=function(a){return q=a,function(s){return function(o){return V.compose.apply(void 0,de()(H.values()))(s)(o)}}},Je=function(a){var s=a.reducerPath,o=a.middleware;H.has(s)||!q||H.set(s,o(q))},ue=function(a){H.delete(a)},ee=function(){H.clear()},oe,Se,ce=(0,d.createListenerMiddleware)(),Be=ce.startListening,Ze=null,Ne=null,Ee=ce.clearListeners,Oe=D(),_e=null,He=function(a){_e=a},Pe=function(){return _e},ve=function(a,s,o){var x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},U=s.run,G=[(0,v.OV)({createReducer:D,runSaga:U})];Oe=D(M);var me=(0,d.configureStore)({reducer:Oe,middleware:function(be){return be(x).prepend(ce.middleware).concat([s,Y])},devTools:!1,preloadedState:a,enhancers:G});return(0,p.setupListeners)(me.dispatch),(0,k.I)(me),me},Qe=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0,x=arguments.length>3?arguments[3]:void 0,M=I()({}),U=ve(a,M,s,o,x);return He(U),U},nt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),L=e.n(nt),ie=e("./lib/utils/history.ts"),he=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),je=e("./node_modules/.pnpm/react-redux@8.1.3_@types+react-dom@18.3.7_@types+react@18.3.31_react-dom@18.3.1_react@18.3.1/node_modules/react-redux/lib/index.js"),$e=e("./node_modules/.pnpm/styled-components@5.3.11_react-dom@18.3.1_react@18.3.1/node_modules/styled-components/dist/styled-components.browser.cjs.js"),re=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),$=e.n(re),Ie=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),Le=e.n(Ie),Te=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"),J=["history","basename"],Ae=function(a){var s=a.history,o=a.basename,x=Le()(a,J),M=(0,he.useState)({action:s.action,location:s.location}),U=$()(M,2),G=U[0],me=U[1];return(0,he.useLayoutEffect)(function(){o&&G.location.pathname&&!G.location.pathname.startsWith(o)&&console.warn(`[AppRouter] basename "${o}" does not match location.pathname "${G.location.pathname}". React Router will render nothing. Verify that "homeRoute" in app.config.json matches the guest's route.`)},[o,G.location.pathname]),(0,he.useLayoutEffect)(function(){var be=s.listen(function(){for(var pe=arguments.length,fe=new Array(pe),St=0;St<pe;St++)fe[St]=arguments[St];fe.length===2?me({location:fe[0],action:fe[1]}):me(fe[0])});return function(){be()}},[s]),(0,Me.jsx)(Te.Router,Object.assign({},x,{basename:o,location:G.location,navigationType:G.action,navigator:s}))};Ae.displayName="AppRouter";var Ue=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),ge=e("./lib/utils/micro-frontend/guest.ts"),vt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),Ge=e.n(vt),mt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),Ve=e.n(mt),pt=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),K=e.n(pt),qe=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),Ke=e.n(qe),ft=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),xe=e.n(ft),Ce=e("./node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js"),ot=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/analytics.js"),Ot=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),ht=e("./lib/data/logout/actions.ts"),Fe=e("./lib/utils/app-config/config.ts"),We=e("./lib/utils/app-config/index.ts"),Re=e("./lib/utils/console-logger.ts"),rt=e("./lib/utils/logger.ts"),ze=e("./lib/utils/constants.ts"),ae=e("./lib/utils/window.ts"),gt=e("./lib/utils/session.ts"),et=e("./lib/utils/micro-frontend/app-bridge.ts"),Pt=e("./lib/utils/micro-frontend/ssf-host.ts"),Mt,we=Ke()("ssfHostRef"),Z=Ke()("appBridge"),tt=Ke()("selfInitialize"),at=function(){function a(s){var o,x,M,U,G,me,be=this;Ge()(this,a),this.logger=void 0,this.appId=void 0,this.props=void 0,this.activeGuests=void 0,this.onInit=void 0,this.onRenewSessionTimer=void 0,this.throttleRenewSessionTimer=void 0,this.scriptingObjects=void 0,Object.defineProperty(this,we,{writable:!0,value:void 0}),Object.defineProperty(this,Z,{writable:!0,value:null}),Object.defineProperty(this,tt,{writable:!0,value:void 0}),this.appId=(0,Fe.vF)("appId"),this.onInit=s?.onInit,this.logger=s?.logger||Re.k,(0,rt.B)(this.logger),this.onRenewSessionTimer=s?.onRenewSessionTimer,K()(this,tt)[tt]=(o=s?.selfInitialize)!==null&&o!==void 0?o:!1,this.props={systemVersion:(x=s?.version)!==null&&x!==void 0?x:"latest",history:(M=s?.history)!==null&&M!==void 0?M:ie.N,theme:(U=s?.theme)!==null&&U!==void 0?U:(0,c.getDefaultTheme)()},this.activeGuests={},s!=null&&s.ssfHostRef&&(0,Pt.Z)(s.ssfHostRef),K()(this,we)[we]=(0,Pt.F)();var pe=(G=s?.analytics)!==null&&G!==void 0?G:new ot.j({logger:this.logger});this.scriptingObjects=Object.assign({analytics:pe},(me=s?.scriptingObjects)!==null&&me!==void 0?me:{}),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=xe()(async function(){await(0,gt.KB)(),be.onRenewSessionTimer&&be.onRenewSessionTimer()},ze.eE,{leading:!0}),K()(this,tt)[tt]||(0,We.y)().then(function(){(0,et.b)().then(function(fe){K()(be,Z)[Z]=fe,be.onInit&&be.onInit(be.props)}).catch(function(fe){throw fe})}).catch(function(){}),(0,Ot.nE)({appId:this.appId})}return Ve()(a,[{key:"initialize",value:async function(){e.p=e.p.replace(/\/?$/,"/"),await(0,We.y)();var o=await(0,et.b)();return K()(this,Z)[Z]=o,this.onInit&&this.onInit(this.props),this.props}},{key:"getProps",value:function(){return this.props}},{key:"getLogger",value:function(){return this.logger}},{key:"getItem",value:function(o){return(0,ae.zk)().sessionStorage.getItem(o)}},{key:"setItem",value:function(o,x){(0,ae.zk)().sessionStorage.setItem(o,x)}},{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,x){return(0,Ce.publish)(o,x)}},{key:"subscribe",value:function(o,x){return(0,Ce.subscribe)(o,x)}},{key:"unsubscribe",value:function(o){(0,Ce.unsubscribe)(o)}},{key:"navigate",value:function(o,x){o&&this.props.history.push(o,x)}},{key:"openWaitMessage",value:function(){var o=Pe();o&&o.dispatch(_.X.open())}},{key:"closeWaitMessage",value:function(){var o=Pe();o&&o.dispatch(_.X.close())}},{key:"openErrorBanner",value:function(o){var x=Pe();x&&x.dispatch(f.o.set({description:o}))}},{key:"getAuthToken",value:function(){return(0,ae.zk)().sessionStorage.getItem("Authorization")}},{key:"renewAuthToken",value:function(){return(0,ae.zk)().sessionStorage.getItem("Authorization")}},{key:"logout",value:function(){var o=Pe();o&&o.dispatch(ht.r.confirm())}},{key:"renewSessionTimer",value:async function(){this.throttleRenewSessionTimer()}},{key:"getBreakpoint",value:function(){return(0,ae.D)()}},{key:"getViewportSize",value:function(){return(0,ae.M5)()}},{key:"onResizeEvent",value:function(o){return(0,Ce.subscribe)(ze.BD,function(x,M){return o(M)})}},{key:"onBreakpointChangeEvent",value:function(o){return(0,Ce.subscribe)(ze.H1,function(x,M){return o(M)})}},{key:"setSystemVersion",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"latest";window.emui.version=o,this.props.systemVersion=o}},{key:"sendBAEvent",value:function(o){this.scriptingObjects.analytics.sendBAEvent(o).catch(function(){})}},{key:"getObject",value:async function(o){return this.scriptingObjects[o]}},{key:"addScriptingObject",value:function(o,x){K()(this,Z)[Z]&&K()(this,Z)[Z].addScriptingObject(o,x),K()(this,we)[we].addScriptingObject(o,x)}},{key:"dispatchEvent",value:async function(o){if(K()(this,Z)[Z]){var x=await Promise.all([K()(this,Z)[Z].dispatchEvent(o),K()(this,we)[we].dispatchEvent(o)]),M=$()(x,2),U=M[0],G=M[1];return Array.isArray(U)&&Array.isArray(G)?U.concat(G):Promise.resolve()}return K()(this,we)[we].dispatchEvent(o)}},{key:"removeScriptingObject",value:function(o,x){K()(this,Z)[Z]&&K()(this,Z)[Z].removeScriptingObject(o,x),K()(this,we)[we].removeScriptingObject(o,x)}}],[{key:"getInstance",value:function(o){return this.instance||(this.instance=new a(o),o!=null&&o.selfInitialize||(o?.logger||Re.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}}])}();Mt=at,at.instance=void 0;var Ct,bt,lt,dt,yt,Xe,it=function(){return at.isInitialized()},Et=function(){return ge.h.isInitialized()},_t=function(){return Et()&&window.top===window.self},ut=function(){return it()?at.getInstance().getLogger():ge.h.getInstance().getLogger()},It=function(a){return dt()?!0:a?a===Xe.PRODUCTION:!0},xt=function(a){var s=bt.getInstance().getProps(),o=s.systemVersion,x=o.match(/^(?:\d+\.\d+)*/g);return a.replace(/{SYSTEM_VERSION}/,x&&x[0]||"latest")},Lt=function(a){var s;return a==null||(s=a.replace)===null||s===void 0?void 0:s.call(a,/\/?$/,"/")},h=function(a){var s=lt(`microFrontendApps.${a.id}`);if(!s)throw new Error(`unable to locate application configuraiton for ${a.id} under microFrontendApps section of app.config.json`);var o=s.mode,x=o===void 0?Xe.PRODUCTION:o,M=It(x)?s.production:s.development;s.production&&delete s.production,s.development&&delete s.development;var U=Ct(a,{mode:"production",hostUrl:"./",manifestPath:"./{SYSTEM_VERSION}",isJsModule:!1},s,M);return U.hostUrl=yt(U.hostUrl.replace(/\/?$/,"/")),U.manifestPath=Lt(xt(U.manifestPath)),U},n=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),u=e.n(n),g=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js"),B=e.n(g),se=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/inherits.js"),Q=e.n(se),ke=function(a){var s=a.error,o=s===void 0?new Error("We are unable to process your request"):s,x=a.errorInfo,M=x===void 0?{componentStack:"Please close your browser and login again"}:x;return L()("div",{},void 0,L()("h2",{},void 0,o?.message),L()("section",{},void 0,M?.componentStack))};ke.displayName="DefaultErrorTemplate";var jt=e("./lib/utils/log-records.ts");function Tt(a,s,o){return s=B()(s),u()(a,st()?Reflect.construct(s,o||[],B()(a).constructor):s.apply(a,o))}function st(){try{var a=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(st=function(){return!!a})()}var wt=function(a){function s(o){var x;return Ge()(this,s),x=Tt(this,s,[o]),x.state={error:null,errorInfo:null},x}return Q()(s,a),Ve()(s,[{key:"componentDidCatch",value:function(x,M){this.setState({error:x,errorInfo:M});var U=ut();U&&U.error(Object.assign({},jt.V.UNHANDLED_ERROR,{exception:x,message:x.message}))}},{key:"render",value:function(){var x=this.props,M=x.children,U=x.errorTemplate,G=U||ke,me=this.state,be=me.error,pe=me.errorInfo;return pe?L()(G,{error:be,errorInfo:pe}):M}}])}(he.Component),Bt=e("./node_modules/.pnpm/react-aria-live@2.0.5_react@18.3.1/node_modules/react-aria-live/lib/index.js"),Kt=e("./lib/data/useAppDispatch.ts"),Ft=function(a,s,o){var x=a.map(function(pe){return window.matchMedia(pe)}),M=(0,he.useCallback)(function(){var pe=x.findIndex(function(fe){return fe.matches});return typeof s[pe]<"u"?s[pe]:o},[o,x,s]),U=(0,he.useState)(M),G=$()(U,2),me=G[0],be=G[1];return(0,he.useEffect)(function(){var pe=function(){return be(M)};return x.forEach(function(fe){return fe.addEventListener("change",pe)}),function(){return x.forEach(function(fe){return fe.removeEventListener("change",pe)})}},[M,x]),me},Nt=function(){var a=(0,he.useContext)($e.ThemeContext),s=Ft([`(max-width: ${a.breakpoints.small})`,`(max-width: ${a.breakpoints.medium})`,`(max-width: ${a.breakpoints.large})`,`(max-width: ${a.breakpoints.xsmall})`],["small","medium","large","xsmall"],"large"),o=(0,Kt.j)();(0,he.useEffect)(function(){o({type:l.change,payload:s}),(0,Ce.publish)(ze.H1,s)},[s,o])},Ht=function(){(0,he.useEffect)(function(){if(window.ResizeObserver){var a=new ResizeObserver(function(s){(0,Ce.publish)(ze.BD,s&&s[0])});return a.observe(window.document.documentElement),function(){a.unobserve(window.document.documentElement)}}return function(){}},[])},Vt=e("./lib/view/session-timeout/index.tsx"),t=e("./lib/view/live-message/index.tsx"),r=e("./lib/view/error-toast/index.tsx"),m=e("./lib/view/wait-message/index.tsx");const w=(0,$e.createGlobalStyle)([":root{font-size:81.25%;",";}html,body{height:100%;width:100%;line-height:",";}body{font-family:",";background-color:",";}#app,#app-container,#root,main{height:100%;width:100%;min-height:100%;min-width:100%;}"],function(a){var s=a.theme;return s.media.small`
2
+ font-size: 100%;
3
+ `},function(a){return a.theme.lineHeights.m},function(a){return a.theme.fonts.default},function(a){return a.theme.colors.neutral["000"]});var A,R,W,N,F,le=$e.default.div.withConfig({componentId:"sc-1ho9g5n-0"})(["height:100%;"]),z=function(a){var s=a.manageSession,o=a.WaitMessage,x=a.children;return Nt(),Ht(),L()(Bt.Ai,{},void 0,L()(le,{},void 0,A||(A=L()(w,{})),s&&(R||(R=L()(Vt.S,{}))),W||(W=L()(t.I,{})),o||N||(N=L()(m.j,{})),F||(F=L()(r.Q,{})),x))};z.displayName="StandAloneApp";var te=e("./lib/view/wait-message/use-html-wait-message.tsx"),ne,X,De,Ye=$e.default.div.withConfig({componentId:"sc-njn2ro-0"})(["height:100%;"]),At=function(a){var s=a.WaitMessage,o=a.children;return Nt(),(0,te.t)(!0),Ht(),L()(Ye,{},void 0,ne||(ne=L()(w,{})),s||X||(X=L()(m.j,{})),De||(De=L()(r.Q,{})),o)};At.displayName="HostedApp";var ct=function(a){var s=_t()||it();return s?(0,Me.jsx)(z,Object.assign({},a)):(0,Me.jsx)(At,Object.assign({},a))},Rt=function(a){var s=a.store,o=a.history,x=a.basename,M=a.theme,U=M===void 0?(0,c.getDefaultTheme)():M,G=a.manageSession,me=G===void 0?!1:G,be=a.WaitMessage,pe=a.errorTemplate,fe=a.children,St=a.strictMode,ni=St===void 0?!0:St,oi=ni?he.StrictMode:he.Fragment;return L()(oi,{},void 0,L()(wt,{errorTemplate:pe},void 0,L()(je.Provider,{store:s},void 0,L()(Ae,{history:o,basename:x},void 0,L()($e.ThemeProvider,{theme:U},void 0,L()(ct,{manageSession:me,WaitMessage:be},void 0,fe))))))};Rt.displayName="AppRoot";var $t=function(a,s,o){return L()(Rt,{store:s,history:ie.N,theme:a},void 0,o())};$t.displayName="withAppDecorator";var Ut=e("./node_modules/.pnpm/@storybook+theming@6.5.16/node_modules/@storybook/theming/dist/esm/index.js"),Wt=["base","brandTitle"],kt=function(a){var s=a.base,o=s===void 0?"light":s,x=a.brandTitle,M=x===void 0?"Platform UI Components":x,U=Le()(a,Wt);return(0,Ut.vt)(Object.assign({base:o,brandTitle:`${M} 5.46.0`},U))},zt=e("./node_modules/.pnpm/style-loader@2.0.0_webpack@5.108.4/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),Dt=e.n(zt),Xt=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"),Gt={};Gt.insert="head",Gt.singleton=!1;var ri=Dt()(Xt.A,Gt);const ai=Xt.A.locals||{};var Yt=(0,c.getDefaultTheme)(),Jt=Qe({},ie.N),Zt=$t.bind(null,Yt,Jt),Qt=function(a){return{layout:"fullscreen",actions:{argTypesRegex:"^on.*"},controls:{hideNoControlsWarning:!0},docs:{theme:kt(a)},options:{storySort:{method:"alphabetical",order:["Getting Started",["Introduction","Installation","Packages","Supported Browsers","Releases","Theme"],"Components"],locales:["en-US"]}},dependencies:{withStoriesOnly:!0,hideEmpty:!0}}},qt=[Zt],ei=[async function(){await(0,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"(T,b,e){"use strict";e.d(b,{e:()=>y});var c=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"),p=e("./lib/utils/helpers.ts"),v=function(I){var O=Object.assign({},(0,c.QS)(),(0,p.np)(),I);window.gtmDataLayer=window.gtmDataLayer||[],window.gtmDataLayer.push(O)},y=function(I){var O=I.data,_=I.self,E=_===void 0?!0:_;if(E)v(O);else{var i,f=(i=d.h.getInstance())===null||i===void 0?void 0:i.getHost(),l=f?.sendBAEvent;l?l(O):v(O)}}},"./lib/communication/http-client/props.ts"(T,b,e){"use strict";e.d(b,{K:()=>l});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),v=e.n(p),y=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),I=e.n(y),O=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),_=e.n(O),E=_()("resetUserIdleTime"),i=_()("endSession"),f=function(){function P(){d()(this,P),Object.defineProperty(this,E,{writable:!0,value:function(){}}),Object.defineProperty(this,i,{writable:!0,value:async function(){}})}return v()(P,[{key:"resetUserIdleTime",get:function(){return I()(this,E)[E]},set:function(j){I()(this,E)[E]=j}},{key:"endSession",get:function(){return I()(this,i)[i]},set:function(j){I()(this,i)[i]=j}}])}(),l=new f},"./lib/data/error/index.ts"(T,b,e){"use strict";e.d(b,{L:()=>I,o:()=>y});var c=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),d=e.n(c),p={description:"",messageText:""},v=(0,c.createSlice)({name:"error",initialState:p,reducers:{set:function(O,_){return _.payload},clear:function(){return p}}}),y=v.actions,I=v.reducer},"./lib/data/live-message/index.ts"(T,b,e){"use strict";e.d(b,{k:()=>I,o:()=>y});var c=e("./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.cjs.production.min.js"),d=e.n(c),p={message:"",ariaLive:"polite",id:""},v=(0,c.createSlice)({name:"liveMessage",initialState:p,reducers:{announce:function(O,_){var E=_.payload,i=E.message,f=E.ariaLive,l=E.id;return{message:i,ariaLive:f,id:l}}}}),y=v.actions,I=v.reducer},"./lib/data/logout/actions.ts"(T,b,e){"use strict";e.d(b,{r:()=>d});var c={CONFIRM:"log-out/CONFIRM",CANCEL:"log-out/CANCEL"},d={confirm:function(){return{type:c.CONFIRM,payload:null}},cancel:function(){return{type:c.CANCEL,payload:null}}}},"./lib/data/useAppDispatch.ts"(T,b,e){"use strict";e.d(b,{j:()=>p});var c=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(c),p=function(){return(0,c.useDispatch)()}},"./lib/data/useAppSelector.ts"(T,b,e){"use strict";e.d(b,{G:()=>p});var c=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(c),p=c.useSelector},"./lib/data/wait-message/actions.ts"(T,b,e){"use strict";e.d(b,{X:()=>d,k:()=>c});var c={OPEN:"wait-message/OPEN",CLOSE:"wait-message/CLOSE"},d={open:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"loading...",v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{type:c.OPEN,payload:{message:p,delay:v}}},close:function(){return{type:c.CLOSE,payload:null}}}},"./lib/data/webpack-hmr.ts"(T,b,e){"use strict";e.d(b,{I:()=>d});var c=e("./node_modules/.pnpm/redux-injectors@2.1.0_react-dom@18.3.1_react-redux@8.1.3_react@18.3.1/node_modules/redux-injectors/dist/index.js");T=e.hmd(T);var d=function(p){var v=null;try{var y,I;v=(y=(I=T)===null||I===void 0?void 0:I.hot)!==null&&y!==void 0?y:null}catch{v=null}v&&v.accept("./reducers",function(){(0,c.Dl)(p)})}},"./lib/utils/app-config/config.ts"(T,b,e){"use strict";e.d(b,{WE:()=>j,vF:()=>l,g3:()=>f});var c=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"),p=e.n(d),v=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/set.js"),y=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/get.js"),I=e.n(y);const O=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=O,f=function(S){i=S},l=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return p()(I()(i,S,D))},P=function(S,D){return E(i,S,D)},j=function(){return i},C=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return _(i,S)}},"./lib/utils/app-config/index.ts"(T,b,e){"use strict";e.d(b,{y:()=>i});var c=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),d=e.n(c),p=e("./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.includes.js"),v=e.n(p),y=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),I=e("./lib/utils/app-config/config.ts"),O=e("./lib/utils/window.ts"),_=function(f){var l,P,j=f.activeEnv,C=f.env[j]||{};f.env&&delete f.env,(0,I.g3)(d()(f,C)),sessionStorage.setItem("envName",j),window.emui=window.emui||{},window.emui.appId=(l=(P=(0,I.vF)("appId"))!==null&&P!==void 0?P:window.emui.appId)!==null&&l!==void 0?l:"",(0,y.nE)({envName:j})},E=function(f){return f.replace(/(\d+\.\d+)(?!.*\d+\.\d+)/,"latest")},i=async function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,O.OX)(),l=`${f.replace(/\/?$/,"/")}app.config.json`,P=E(f);try{var j=await fetch(l);if(!j.ok){if(f!==P){await i(P);return}var C=`App Config is not found at ${l}`;throw new Error(C)}var S=await j.json();_(S)}catch(k){var D;if(f!==P){await i(P);return}throw k!=null&&(D=k.message)!==null&&D!==void 0&&D.includes("Unexpected token")?new Error(`App config file at ${l} is not a valid JSON`):k}}},"./lib/utils/console-logger.ts"(T,b,e){"use strict";e.d(b,{k:()=>v});var c=e("@elliemae/pui-diagnostics"),d=e.n(c),p=e("./lib/utils/app-config/config.ts"),v=function(){return c.logger?(0,c.logger)({transport:(0,c.Console)(),index:"app",environment:(0,p.vF)("activeEnv"),team:"app team",appName:"ICEMT App",appVersion:"latest",instanceId:"",userId:""}):console}()},"./lib/utils/constants.ts"(T,b,e){"use strict";e.d(b,{BD:()=>v,H1:()=>y,J2:()=>d,eE:()=>I});const c={AUTHORIZATION:"Authorization",CLIENT_ID:"tirykwfo"};var d={WARN:12*60*1e3,EXPIRY:15*60*1e3},p=null,v="HOST_WINDOW_RESIZED",y="HOST_WINDOW_BREAKPOINT_CHANGED",I=6e4,O=15,_=60,E=3,i=null,f=null,l="Session warning interval must be less than session timeout interval.";e.d(b,["Ay",0,c])},"./lib/utils/helpers.ts"(T,b,e){"use strict";e.d(b,{E_:()=>_,np:()=>O});var c=e("./lib/utils/window.ts"),d=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),p=function(){return!0},v=function(){return d.env.CI==="true"},y=/^(?:[a-z]+:)?\/\//,I=function(E){return y.test(E)?E:new URL(E,document.location.origin).href},O=function(){var E,i,f,l,P,j,C,S=(0,c.zk)(),D=S.document.title,k=document,ye=k.title,de=(E=S==null||(i=S.emui)===null||i===void 0?void 0:i.appId)!==null&&E!==void 0?E:"",V=(f=S==null||(l=S.emui)===null||l===void 0?void 0:l.version)!==null&&f!==void 0?f:"",H=(P=(j=window)===null||j===void 0||(C=j.emui)===null||C===void 0?void 0:C.appId)!==null&&P!==void 0?P:"",q=S.location,Y=q.pathname,Je=q.href,ue=window.location,ee=ue.pathname,oe=ue.href;return{productId:de,productPath:Y,productUrl:Je,productPageTitle:D,version:V,appId:H,appPath:ee,appUrl:oe,appPageTitle:ye}},_=function(E){var i=E.promise,f=E.delay,l=E.retValue,P=l===void 0?!1:l,j=E.throwError,C=j===void 0?!1:j,S=E.errMsg;return Promise.race([i,new Promise(function(D,k){setTimeout(function(){C?k(new Error(S)):D(P)},f)})])}},"./lib/utils/history.ts"(T,b,e){"use strict";e.d(b,{N:()=>p,w:()=>v});var c=e("./node_modules/.pnpm/history@5.3.0/node_modules/history/umd/history.production.min.js"),d=e.n(c),p=(0,c.createBrowserHistory)(),v=(0,c.createMemoryHistory)()},"./lib/utils/log-records.ts"(T,b,e){"use strict";e.d(b,{V:()=>c});var c={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,p,v){return{code:"appsdk06",message:`Application load failed. Unable to load one or more application resources for appId: ${d} and instanceId: ${p}. ${v}`}},APP_LOADING:function(d,p){return{code:"appsdk07",message:`Application ${d} with instanceId ${p} is loading...`}},APP_LOADING_COMPLETE:function(d,p){return{code:"appsdk08",message:`Application ${d} loaded with instanceId ${p}`}},APP_UNLOADING:function(d,p){return{code:"appsdk09",message:`Application ${d} with instanceId ${p} unloading...`}},APP_UNLOADING_COMPLETE:function(d,p){return{code:"appsdk10",message:`Application ${d} with instanceId ${p} 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"(T,b,e){"use strict";e.d(b,{B:()=>d,t:()=>p});var c=null,d=function(v){c=v},p=function(){return c}},"./lib/utils/logrocket.ts"(T,b,e){"use strict";e.d(b,{K3:()=>E,Te:()=>I});var c,d,p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),y=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),I=function(){var i;return(i=window.emui)===null||i===void 0?void 0:i.logRocket},O=function(i){var f={};return Object.entries(i).forEach(function(l){var P=c(l,2),j=P[0],C=P[1];f[j]=C??""}),f},_=function(i,f){var l=I();l&&(l.identify(i,O(f)),d(i))},E=function(i){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,y.As)(i,f)}},"./lib/utils/micro-frontend/app-bridge.ts"(T,b,e){"use strict";e.d(b,{b:()=>y});var c=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"),p=e("./lib/utils/app-config/config.ts"),v=null,y=async function(){if(!v){var I,O,_,E=(0,d.t)(),i=((I=window.emui)===null||I===void 0?void 0:I.version)||"latest";v=new c.o({logger:E,version:i,appConfigBaseUrl:(O=window)===null||O===void 0||(_=O.emui)===null||_===void 0?void 0:_._ASSET_PATH}),await v.init((0,p.WE)());var f=(0,p.vF)("microFrontendApps");f&&Object.keys(f).forEach(function(l){return v.warmUp(l)})}return v}},"./lib/utils/micro-frontend/guest.ts"(T,b,e){"use strict";e.d(b,{h:()=>et});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),y=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classCallCheck.js"),I=e.n(y),O=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/createClass.js"),_=e.n(O),E=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js"),i=e.n(E),f=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js"),l=e.n(f),P=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/merge.js"),j=e.n(P),C=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),S=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),D=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"),ye=e("./lib/utils/window.ts"),de=e("./lib/utils/app-config/index.ts"),V=e("./lib/utils/app-config/config.ts"),H=e("./lib/utils/history.ts"),q=e("./lib/utils/console-logger.ts"),Y=e("./lib/utils/logger.ts"),Je=e("./node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js"),ue,ee="storage",oe="getSessionStorage",Se="sessionStorage",ce=function(){return sessionStorage.length===0},Be=function(h){if(h.key===oe)localStorage.setItem(Se,JSON.stringify(sessionStorage)),localStorage.removeItem(Se);else if(h.key===Se&&h.newValue){var n=JSON.parse(h.newValue);n&&Object.keys(n).forEach(function(u){sessionStorage.setItem(u,n[u])})}},Ze=null,Ne=function(){window.addEventListener(ee,Be),ce()&&localStorage.setItem(oe,`${Date.now()}`)},Ee=function(){window.removeEventListener(ee,Be)},Oe=e("./lib/utils/micro-frontend/app-bridge.ts"),_e=e("./lib/utils/helpers.ts"),He=e("./lib/utils/micro-frontend/ssf-host.ts"),Pe=function(){var h,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;if(n){var u=n,g=(h=u.emui)===null||h===void 0?void 0:h._ASSET_PATH;if(g){u.__webpack_public_path__=new URL("../",g).href;return}u.__webpack_public_path__=(u.__webpack_public_path__||"").replace(/\/?$/,"/")}},ve=["history"],Qe,nt="app-container",L=2e3,ie=1e3,he=function(){try{return window.parent.document,!1}catch{return!0}},je=function(h){return h.SSF="ssf",h.APPSDK="app-sdk",h}(je||{}),$e="module.unmount",re=l()("uuid"),$=l()("communicationMethod"),Ie=l()("ssfHostRef"),Le=l()("useV2Guest"),Te=l()("selfInitialize"),Me=l()("embeddedWithoutHost"),J=l()("appBridge"),Ae=l()("pendingInitialRoute"),Ue=l()("hostTeardownPromise"),ge=l()("moduleUnmountSubToken"),vt=l()("handleModuleUnmount"),Ge=l()("boundOnWindowUnload"),mt=l()("addAppToGlobalVariable"),Ve=l()("removeLegacyGlobalRegistration"),pt=l()("onWindowUnload"),K=l()("getLegacyParentHost"),qe=l()("tryConnectSSFGuest"),Ke=l()("resolveHistory"),ft=l()("discoverHost"),xe=l()("exposeGetHost"),Ce=l()("initAppBridge"),ot=l()("applyModuleParams"),Ot=l()("applyHistoryFromParams"),ht=l()("applyInitialRoute"),Fe=l()("loadConfigAndBridge"),We=l()("trackAnalyticsAndOnInit"),Re=l()("internalTeardown"),rt=l()("bindModuleUnmountListener"),ze=l()("unbindModuleUnmountListener"),ae=l()("completeWithoutHost"),gt=l()("fetchModuleScriptingObject"),et=function(){function h(n){var u=this,g,B,se;I()(this,h),Object.defineProperty(this,gt,{value:Lt}),Object.defineProperty(this,ae,{value:xt}),Object.defineProperty(this,ze,{value:It}),Object.defineProperty(this,rt,{value:ut}),Object.defineProperty(this,Re,{value:_t}),Object.defineProperty(this,We,{value:Et}),Object.defineProperty(this,Fe,{value:it}),Object.defineProperty(this,ht,{value:Xe}),Object.defineProperty(this,Ot,{value:yt}),Object.defineProperty(this,ot,{value:dt}),Object.defineProperty(this,Ce,{value:lt}),Object.defineProperty(this,xe,{value:bt}),Object.defineProperty(this,ft,{value:Ct}),Object.defineProperty(this,Ke,{value:at}),Object.defineProperty(this,qe,{value:tt}),Object.defineProperty(this,K,{value:Z}),Object.defineProperty(this,pt,{value:we}),Object.defineProperty(this,Ve,{value:Mt}),Object.defineProperty(this,mt,{value:Pt}),Object.defineProperty(this,re,{writable:!0,value:void 0}),this.logger=void 0,this.appId=void 0,this.props=void 0,Object.defineProperty(this,$,{writable:!0,value:void 0}),Object.defineProperty(this,Ie,{writable:!0,value:void 0}),Object.defineProperty(this,Le,{writable:!0,value:void 0}),Object.defineProperty(this,Te,{writable:!0,value:void 0}),Object.defineProperty(this,Me,{writable:!0,value:void 0}),Object.defineProperty(this,J,{writable:!0,value:null}),Object.defineProperty(this,Ae,{writable:!0,value:null}),Object.defineProperty(this,Ue,{writable:!0,value:null}),Object.defineProperty(this,ge,{writable:!0,value:null}),Object.defineProperty(this,vt,{writable:!0,value:async function(){return await i()(u,Re)[Re](),!0}}),Object.defineProperty(this,Ge,{writable:!0,value:function(){i()(u,pt)[pt]()}}),this.onInit=void 0,this.onMount=void 0,this.onUnmount=void 0,this.onGetRef=void 0,window.emui.uuid=window.emui.uuid||(0,C.A)(),this.appId=((g=window.emui)===null||g===void 0?void 0:g.appId)||(0,V.vF)("appId"),i()(this,re)[re]=window.emui.uuid,i()(this,$)[$]=je.APPSDK,this.props={host:null,hostUrl:null,prevState:null,history:n?.history||H.N,theme:(0,S.getDefaultTheme)(),manifestPath:"./latest",containerId:nt},this.logger=n?.logger||q.k,(0,Y.B)(this.logger),n!=null&&n.ssfHostRef&&(0,He.Z)(n.ssfHostRef),i()(this,Ie)[Ie]=(0,He.F)(),i()(this,Le)[Le]=n?.useV2Guest!==!1,i()(this,Te)[Te]=(B=n?.selfInitialize)!==null&&B!==void 0?B:!1,i()(this,Me)[Me]=(se=n?.embeddedWithoutHost)!==null&&se!==void 0?se:!1,this.onInit=n?.onInit,this.onMount=n?.onMount,this.onUnmount=n?.onUnmount,this.onGetRef=n?.onGetRef,i()(this,Me)[Me]&&!i()(this,Te)[Te]&&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,Te)[Te]?window.addEventListener("beforeunload",i()(this,Ge)[Ge]):i()(this,mt)[mt]()}return _()(h,[{key:"getHost",value:function(){return this.props.host}},{key:"getLogger",value:function(){return this.logger}},{key:"getObject",value:function(u){var g=null;return i()(this,$)[$]===je.SSF?(g=this.getHost(),g.getObject(u)):(g=this.getHost(),g?g.getObject(u):Promise.resolve(null))}},{key:"subscribe",value:function(u){var g=null;return i()(this,$)[$]===je.SSF?(g=this.getHost(),g.subscribe(u)):(g=this.getHost(),g.subscribe(u))}},{key:"unsubscribe",value:function(u){var g=null;if(i()(this,$)[$]===je.SSF){g=this.getHost(),g.unsubscribe(u);return}g=this.getHost(),g.unsubscribe(u)}},{key:"getProps",value:function(){return this.props}},{key:"getSessionStorageItem",value:function(u){var g=sessionStorage.getItem(u),B=this.getHost();return!g&&B!==null&&B!==void 0&&B.getItem&&(g=B.getItem(u)),g}},{key:"findHost",value:async function(){var u=i()(this,K)[K]();return u||(i()(this,Le)[Le]?i()(this,qe)[qe]():null)}},{key:"uuid",get:function(){return i()(this,re)[re]}},{key:"initialize",value:async function(){Pe();var u=window.top===window.self&&!window.opener;if(u)return await i()(this,Fe)[Fe](),i()(this,ae)[ae]("standalone");if(i()(this,Me)[Me])return await i()(this,Fe)[Fe](),i()(this,ae)[ae]("embeddedWithoutHost");var g=await Promise.all([i()(this,ft)[ft](),i()(this,Fe)[Fe]()]),B=v()(g,1),se=B[0];if(!se)return i()(this,ae)[ae]("discoveryFallback");this.props.host=se,i()(this,xe)[xe]();var Q={moduleId:this.appId};try{var ke=await i()(this,gt)[gt]();ke?(Q=await ke.getParameters(),i()(this,ot)[ot](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,rt)[rt](),Q}},{key:"init",value:async function(u){var g=this,B=u??{},se=B.history,Q=d()(B,ve);if(this.props=j()(this.props,Q),!this.props.host){var ke=await this.findHost();ke?this.props.host=ke:this.logger.warn("unable to connect to host microapp")}return i()(this,xe)[xe](),Pe(),(0,de.y)().then(function(){var jt=g.getSessionStorageItem("instanceId")||"",Tt=g.getSessionStorageItem("userId")||"";(0,k.nE)({appId:g.appId,instanceId:jt,userId:Tt});var st=i()(g,Ke)[Ke](se);return!st&&u!==null&&u!==void 0&&u.initialRoute&&(i()(g,Ae)[Ae]=typeof u.initialRoute=="string"?u.initialRoute:u.initialRoute.pathname||null),(0,Oe.b)().then(function(wt){i()(g,J)[J]=wt,g.onInit&&g.onInit(g.props),i()(g,rt)[rt]()})})}},{key:"mount",value:function(){var u=this,g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{containerId:nt};return this.props.containerId=g?.containerId,Promise.resolve().then(function(){i()(u,Ae)[Ae]&&(u.props.history.push(i()(u,Ae)[Ae]),i()(u,Ae)[Ae]=null),u.onMount&&u.onMount(g)})}},{key:"unmount",value:function(u){var g=this;return Ee(),Promise.resolve().then(function(){return g.onUnmount?g.onUnmount(u):null})}},{key:"getRef",value:function(){return this.onGetRef?this.onGetRef():null}},{key:"navigate",value:function(u,g){u&&this.props.history.push(u,g)}},{key:"addScriptingObject",value:function(u,g){i()(this,J)[J]&&i()(this,J)[J].addScriptingObject(u,g),i()(this,Ie)[Ie].addScriptingObject(u,g)}},{key:"dispatchEvent",value:async function(u){if(i()(this,J)[J]){var g=await Promise.all([i()(this,J)[J].dispatchEvent(u),i()(this,Ie)[Ie].dispatchEvent(u)]),B=v()(g,2),se=B[0],Q=B[1];return Array.isArray(se)&&Array.isArray(Q)?se.concat(Q):Promise.resolve()}return i()(this,Ie)[Ie].dispatchEvent(u)}},{key:"removeScriptingObject",value:function(u,g){i()(this,J)[J]&&i()(this,J)[J].removeScriptingObject(u,g),i()(this,Ie)[Ie].removeScriptingObject(u,g)}}],[{key:"getInstance",value:function(u){return this.instance||(this.instance=new h(u),u!=null&&u.selfInitialize||(u?.logger||q.k).warn("CMicroApp.getInstance() called without selfInitialize: true \u2014 this legacy mode is deprecated. Pass { selfInitialize: true } and use initialize() instead.")),this.instance}},{key:"isInitialized",value:function(){return!!this.instance}},{key:"isHosted",value:function(){var u,g;return!!((u=this.instance)!==null&&u!==void 0&&(g=u.props)!==null&&g!==void 0&&g.host)}}])}();Qe=et;function Pt(){var h=this,n=(0,ye.zk)();if(n){n.emui=n.emui||{};var u=this.unmount.bind(this),g={uuid:i()(this,re)[re],init:this.init.bind(this),mount:this.mount.bind(this),unmount:function(Q){return Q!=null&&Q.containerId&&(h.props.containerId=Q.containerId),h.props.host?i()(h,Re)[Re]().then(function(){return null}):u(Q)},getRef:this.getRef.bind(this),navigate:this.navigate.bind(this)};if(n.emui[this.appId])if(Array.isArray(n.emui[this.appId])){var B=n.emui[this.appId],se=B.findIndex(function(Q){return Q.uuid===i()(h,re)[re]});se>-1?B[se]=g:B.push(g)}else n.emui[this.appId].uuid===i()(this,re)[re]?n.emui[this.appId]=g:typeof n.emui[this.appId].init>"u"?n.emui[this.appId]=Object.assign({},n.emui[this.appId],g):n.emui[this.appId]=[n.emui[this.appId],g];else n.emui[this.appId]=g;window.emui.app=g,window.addEventListener("beforeunload",i()(this,Ge)[Ge])}}function Mt(){var h=this;if(!i()(this,Te)[Te]){var n=(0,ye.zk)();if(n!=null&&n.emui){if(Array.isArray(n.emui[this.appId])){var u=n.emui[this.appId],g=u.findIndex(function(B){return B.uuid===i()(h,re)[re]});g>-1&&u.splice(g,1),u.length===0&&delete n.emui[this.appId]}else delete n.emui[this.appId];delete window.emui.app}}}function we(){if(this.props.host){i()(this,Re)[Re]().catch(function(){});return}if(!i()(this,Te)[Te]){i()(this,Ve)[Ve](),this.unmount({containerId:this.props.containerId}).catch(function(){});return}i()(this,Re)[Re]().catch(function(){})}function Z(){var h,n,u;return he()?null:(h=(n=window.parent)===null||n===void 0||(u=n.emui)===null||u===void 0?void 0:u.MicroAppHost)!==null&&h!==void 0?h:null}async function tt(){var h=new D.p({appLogger:this.logger});try{var n=await(0,_e.E_)({promise:h.connect(),delay:ie,retValue:!0});if(!n)return i()(this,$)[$]=je.SSF,h}catch{}return null}function at(h){if(i()(this,$)[$]===je.SSF)return this.props.history=H.N,!1;var n=(0,V.vF)("useParentHistory",!0);return n&&h?this.props.history=h:!n&&window!==window.parent&&(this.props.history=H.w),n}async function Ct(){var h;if((h=window.emui)!==null&&h!==void 0&&h.__host)return window.emui.__host;var n=i()(this,K)[K]();return n||(i()(this,Le)[Le]?i()(this,qe)[qe]():null)}function bt(){var h=this;window.emui=window.emui||{},window.emui.getHost=function(){var n;return(n=h.props.host)!==null&&n!==void 0?n:null}}async function lt(){i()(this,J)[J]=await(0,Oe.b)()}function dt(h){h.homeRoute&&(this.props.homeRoute=h.homeRoute),h.theme&&(this.props.theme=h.theme),h.hostUrl&&(this.props.hostUrl=h.hostUrl),h.manifestPath&&(this.props.manifestPath=h.manifestPath),h.containerId&&(this.props.containerId=h.containerId),i()(this,Ot)[Ot](h)}function yt(h){if(i()(this,$)[$]===je.SSF){this.props.history=H.N;return}var n=(0,V.vF)("useParentHistory",!0);n&&h.history?this.props.history=h.history:!n&&window!==window.parent&&(this.props.history=H.w),i()(this,ht)[ht](h,n)}function Xe(h,n){if(!(!h.initialRoute||n)){var u=typeof h.initialRoute=="string"?h.initialRoute:h.initialRoute.pathname;u&&this.props.history.push(u)}}async function it(){await(0,de.y)(),await i()(this,Ce)[Ce]()}function Et(){var h=this.getSessionStorageItem("instanceId")||"",n=this.getSessionStorageItem("userId")||"";(0,k.nE)({appId:this.appId,instanceId:h,userId:n}),this.onInit&&this.onInit(this.props)}function _t(){var h=this;return i()(this,Ue)[Ue]||(i()(this,Ue)[Ue]=Promise.resolve().then(function(){i()(h,Ve)[Ve]()}).then(function(){return h.unmount({containerId:h.props.containerId})}).then(function(){i()(h,ze)[ze]()}).catch(function(n){throw i()(h,Ue)[Ue]=null,n})),i()(this,Ue)[Ue]}function ut(){if(!(i()(this,ge)[ge]||!this.props.host))try{i()(this,ge)[ge]=this.subscribe({eventId:$e,callback:i()(this,vt)[vt]})}catch{this.logger.warn("Unable to subscribe to module.unmount from host \u2014 continuing without host teardown listener")}}function It(){i()(this,ge)[ge]&&(this.unsubscribe({eventId:$e,token:i()(this,ge)[ge]}),i()(this,ge)[ge]=null)}function xt(h){return h==="standalone"?(this.logger.info("Running in standalone mode \u2014 skipping host discovery"),i()(this,xe)[xe](),i()(this,Ke)[Ke]()):h==="embeddedWithoutHost"?(this.logger.info("embeddedWithoutHost enabled \u2014 skipping host discovery"),i()(this,xe)[xe]()):(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,xe)[xe]()),i()(this,We)[We](),{moduleId:this.appId}}async function Lt(){var h="module",n=this.getObject(h);return i()(this,$)[$]!==je.SSF?n:(0,_e.E_)({promise:n,delay:L,throwError:!0,errMsg:`Timed out waiting for module scripting object from host (${L}ms)`})}et.instance=void 0},"./lib/utils/micro-frontend/ssf-host.ts"(T,b,e){"use strict";e.d(b,{F:()=>I,Z:()=>O});var c=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"),p=e("./lib/utils/logger.ts"),v=e("./lib/utils/app-config/config.ts"),y=null,I=function(){if(!y){var _=(0,p.t)();y=new c.P((0,v.vF)("appId"),{logger:_,analyticsObj:new d.j({logger:_})})}return y},O=function(_){y||(y=_)}},"./lib/utils/page-wake.ts"(T,b,e){"use strict";e.d(b,{v:()=>c});var c=function(d){var p=!1,v=function(){p||(p=!0,queueMicrotask(function(){p=!1,d()}))},y=function(){document.hidden||v()};return document.addEventListener("visibilitychange",y),window.addEventListener("pageshow",v),window.addEventListener("focus",v),function(){document.removeEventListener("visibilitychange",y),window.removeEventListener("pageshow",v),window.removeEventListener("focus",v)}}},"./lib/utils/session-timeout-config.ts"(T,b,e){"use strict";e.d(b,{BH:()=>I,Gw:()=>E,vG:()=>i});var c=e("./lib/utils/app-config/config.ts"),d=e("./lib/utils/constants.ts"),p,v,y=function(f){return f*6e4},I=function(){p=void 0,v=void 0},O=function(f){var l=f.sessionExpiryInterval,P=f.sessionWarnInterval;p=y(l-P),v=y(l)},_=function(f,l){var P=(0,c.vF)(f);if(P==null||P==="")return l;var j=Number(P);return Number.isFinite(j)&&j>0?j:l},E=function(){return p===void 0&&(p=_("sessionTimeoutWarnInterval",d.J2.WARN)),p},i=function(){if(v===void 0){var f=E(),l=_("sessionTimeoutInterval",d.J2.EXPIRY);v=l>f?l:f+1}return v}},"./lib/utils/session.ts"(T,b,e){"use strict";e.d(b,{lQ:()=>Bt,LC:()=>Kt,KB:()=>se,oB:()=>g,z3:()=>Tt,lD:()=>Ht,n5:()=>Nt,Lw:()=>Ft});var c=e("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/throttle.js"),d=e.n(c),p=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")||"{}"),r=t.client_id||"",m=t.scope||"";window.emui.loginParams={clientId:r,scope:m}}return window.emui.loginParams},y=e("./lib/utils/constants.ts"),I,O=function(){return sessionStorage.getItem(y.Ay.AUTHORIZATION)||""},_=function(t){sessionStorage.setItem(I.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"),f=e("./lib/utils/app-config/config.ts"),l=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),P=e.n(l),j;function C(t,r){var m=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!m){if(Array.isArray(t)||(m=S(t))||r&&t&&typeof t.length=="number"){m&&(t=m);var w=0,A=function(){};return{s:A,n:function(){return w>=t.length?{done:!0}:{done:!1,value:t[w++]}},e:function(F){throw F},f:A}}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,W=!0,N=!1;return{s:function(){m=m.call(t)},n:function(){var F=m.next();return W=F.done,F},e:function(F){N=!0,R=F},f:function(){try{W||m.return==null||m.return()}finally{if(N)throw R}}}}function S(t,r){if(t){if(typeof t=="string")return D(t,r);var m={}.toString.call(t).slice(8,-1);return m==="Object"&&t.constructor&&(m=t.constructor.name),m==="Map"||m==="Set"?Array.from(t):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?D(t,r):void 0}}function D(t,r){(r==null||r>t.length)&&(r=t.length);for(var m=0,w=Array(r);m<r;m++)w[m]=t[m];return w}var k=function(t){return t},ye=function(t,r){var m,w;r=r||j,(m=r)!==null&&m!==void 0&&(w=m.interceptors)!==null&&w!==void 0&&w.response&&r.interceptors.response.eject(t)},de=function(t){var r=t.config.retryConfig;if(!r||r.retry===0||!t.response&&(r.currentRetryAttempt||0)>=r.noResponseRetries||!t.config.method||r.httpMethodsToRetry.indexOf(t.config.method.toUpperCase())<0)return!1;if(t.response&&t.response.status){var m=!1,w=C(r.statusCodesToRetry),A;try{for(w.s();!(A=w.n()).done;){var R=A.value,W=P()(R,2),N=W[0],F=W[1],le=t.response.status;if(le>=N&&le<=F){m=!0;break}}}catch(z){w.e(z)}finally{w.f()}if(!m)return!1}return r.currentRetryAttempt=r.currentRetryAttempt||0,!(r.currentRetryAttempt>=r.retry)},V=function(t){if(!t.config)return Promise.reject(t);var r=t.config.retryConfig||{};r.currentRetryAttempt=r.currentRetryAttempt||0,r.retry=r.retry===void 0||r.retry===null?3:r.retry,r.retryDelay=r.retryDelay||100,r.instance=r.instance||i.A,r.httpMethodsToRetry=r.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],r.noResponseRetries=r.noResponseRetries===void 0||r.noResponseRetries===null?2:r.noResponseRetries;var m=[[100,199],[429,429],[500,599]];r.statusCodesToRetry=r.statusCodesToRetry||m,t.config.retryConfig=r;var w=r.shouldRetry||de;if(!w(t))return Promise.reject(t);var A=new Promise(function(W){var N=(2**r.currentRetryAttempt-1)/2*1e3;t.config.retryConfig.currentRetryAttempt+=1,setTimeout(W,N)}),R=r.onRetryAttempt?Promise.resolve(r.onRetryAttempt(t)):Promise.resolve();return Promise.resolve().then(function(){return A}).then(function(){return R}).then(function(){return r.instance.request(t.config)})},H=function(t){var r,m;return t=t||i.A,(r=t)!==null&&r!==void 0&&(m=r.interceptors)!==null&&m!==void 0&&m.response?t.interceptors.response.use(k,V):null},q=function(t){return t&&t.config?t.config.retryConfig:null},Y=function(t){return{retry:3,noResponseRetries:2,retryDelay:100,httpMethodsToRetry:["GET","HEAD","OPTIONS","DELETE","PUT"],statusCodesToRetry:[[100,199],[429,429],[500,599]],instance:t,onRetryAttempt:function(r){var m=q(r);m&&m.currentRetryAttempt}}},Je=function(t){t!=null&&t.defaults&&(t.defaults.retryConfig=Y(t)),H(t)};const ue=Je;var ee=e("./lib/communication/http-client/props.ts"),oe=function(t){return ee.K.resetUserIdleTime(),t},Se=401,ce=null,Be=function(t){ce=t},Ze=function(t){return t},Ne=function(t){var r=(t||{}).response||{},m=r.status;if(m===Se){if(ce&&typeof ce=="function")return ce(t).then(function(w){var A=t.config;if(!(A!=null&&A.headers))throw t;return A.headers.Authorization=w,new Promise(function(R,W){i.A.request(A).then(R).catch(W)})}).catch(function(w){return Promise.reject(w)});if(ee.K.endSession)return ee.K.endSession(Object.assign({},v(),{skipRevoke:!0})).then(function(){return Promise.reject(t)}).catch(function(){return Promise.reject(t)})}return Promise.reject(t)},Ee=e("./lib/utils/logrocket.ts"),Oe,_e,He=null,Pe=2*60*1e3,ve=function(){var t,r,m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=m.baseURL,A=w===void 0?(0,f.vF)("serviceEndpoints.api",""):w,R=m.headers,W=R===void 0?{}:R,N=m.sendLogRocketSessionHeader,F=N===void 0?!1:N,le=((t=(0,Ee.Te)())===null||t===void 0?void 0:t.sessionURL)||"",z=i.A.create({baseURL:A,headers:F&&le?Object.assign({},W,{"X-LogRocket-URL":le}):W});z!=null&&(r=z.defaults)!==null&&r!==void 0&&r.timeout&&(z.defaults.timeout=Pe),ue(z);var te=z?.interceptors||{},ne=te.request,X=te.response;return ne&&ne.use(oe),X&&X.use(Ze,Ne),z},Qe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.baseURL,m=t.headers,w=m===void 0?{}:m,A=t.sendLogRocketSessionHeader,R=A===void 0?!1:A,W=Oe(t,He);return ve(Object.assign({baseURL:r,headers:Object.assign({Authorization:_e()},w),sendLogRocketSessionHeader:R},W))},nt,L=async function(t){var r=t.code,m=t.clientId,w=t.scope,A=t.redirectUri,R=new URLSearchParams;R.append("grant_type","authorization_code"),R.append("client_id",m),R.append("redirect_uri",A),R.append("scope",w),R.append("code",r);var W=await nt().post("/oauth2/v1/token",R),N=W.data;return{tokenType:N.token_type,accessToken:N.access_token}},ie=async function(t){var r=t.clientId,m=t.token,w=new URLSearchParams;w.append("token",m),w.append("client_id",r),await ve().post("/oauth2/v1/token/revocation",w)},he=async function(t){var r=t.clientId,m=t.accessToken,w=new URLSearchParams;w.append("token",m),w.append("client_id",r);var A=await ve().post("/oauth2/v1/token/introspection",w),R=A.data;return R},je=e("./lib/utils/logger.ts"),$e=e("./lib/utils/log-records.ts"),re=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/baEventParameters.js"),$=e("./lib/analytics/index.ts"),Ie,Le,Te=function(t){var r=t.instanceId,m=t.userId;Ie({instanceId:r,userId:m}),Le({data:{event:"login"}})},Me=function(){(0,$.e)({data:{event:"logout"}}),(0,re.nE)({instanceId:"",userId:""})},J=e("./node_modules/.pnpm/@elliemae+pui-analytics-so@1.7.2/node_modules/@elliemae/pui-analytics-so/dist/esm/logrocket.js"),Ae,Ue,ge,vt,Ge,mt,Ve,pt,K,qe,Ke,ft,xe,Ce,ot="serviceEndpoints.idp",Ot=function(){return!!K()},ht=function(){var t=new URL(window.location.href),r=t.searchParams.get("code")||"",m=t.searchParams.get("error_code")||"";return t.search="",{code:r,idpErrorCode:m,redirectUri:t.href}},Fe=function(t){var r=t.clientId,m=t.redirectUri,w=t.idpErrorCode,A=t.scope,R=t.responseType,W=t.instanceId,N=t.siteId,F=t.userId,le=t.disableRememberMe,z=t.useCompactIdpPage,te=t.isSSO,ne=Ke(ot,""),X=new URL("/authorize",ne),De=Object.assign({client_id:r,redirect_uri:m,response_type:R??"",scope:A},W!==void 0&&{instance_id:String(W)},N!==void 0&&{site_id:String(N)},F!==void 0&&{user_id:F},le!==void 0&&{disable_remember_me:String(le)},z!==void 0&&{tpoifr:String(z)},te!==void 0&&{is_sso:String(te)}),Ye=new URLSearchParams(w?Object.assign({},De,{error_code:w}):De);X.search=Ye.toString(),window.location.replace(X.href)},We=async function(t){var r=t.clientId,m=t.redirectUri,w=t.responseType,A=t.scope,R=t.code,W=R===void 0?"":R,N=t.customLogoutUrl,F=N===void 0?"":N,le=t.skipRevoke,z=le===void 0?!1:le;try{var te=O();sessionStorage.clear();var ne=te?te.split(" ")[1]:"";z||await ie({clientId:r,token:ne}),Me(),(0,Ee.K3)("logout"),(0,J.E3)(),(0,re.nE)({instanceId:"",userId:""});var X;if(F)X=new URL("/",F);else{var De=(0,f.vF)(ot,"");X=new URL("/authorize",De);var Ye=Object.assign({client_id:r,redirect_uri:m||""},W&&{error_code:W},{response_type:w||"",scope:A}),At=new URLSearchParams(Ye);X.search=At.toString()}window.location.replace(X.href)}catch(Rt){var ct;(ct=(0,je.t)())===null||ct===void 0||ct.error(Object.assign({},$e.V.LOGOUT_FAILED,{exception:Rt}))}},Re=async function(t){var r=t.code,m=t.redirectUri,w=t.clientId,A=t.scope,R=t.responseType,W=t.isConsumerUser;try{var N=await ge({code:r,clientId:w,scope:A,redirectUri:m}),F=N.tokenType,le=N.accessToken;xe({clientId:w,scope:A,responseType:R,redirectUri:m});var z=`${F} ${le}`;qe(z);var te=await vt({clientId:w,accessToken:le});sessionStorage.setItem("user",JSON.stringify(te));var ne=te.encompass_instance_id,X=te.user_name,De=te.bearer_token,Ye=te.user_key,At={bearerToken:De,realm:ne,userName:X,sessionId:De?.replace(`${ne} `,"")};sessionStorage.setItem("cred",JSON.stringify(At)),sessionStorage.setItem("instanceId",ne),sessionStorage.setItem("userId",X),mt({instanceId:ne,userId:X}),Ae({instanceId:ne,userId:X});var ct={name:X,instanceId:ne};Ve(Ye,ct),pt("login",ct);var Rt=await Ge({userName:X,isConsumerUser:W});sessionStorage.setItem("userSettings",JSON.stringify(Rt));var $t=new URL(m).pathname;Ue.replace($t)}catch(Dt){var Ut,Wt,kt,zt=Dt==null||(Ut=Dt.response)===null||Ut===void 0||(Wt=Ut.data)===null||Wt===void 0?void 0:Wt.code;await We({clientId:w,redirectUri:m,code:zt,scope:A,responseType:R}),(kt=Ce())===null||kt===void 0||kt.error(Object.assign({},ft.LOGIN_FAILED,{exception:Dt}))}},rt=async function(t){var r=t.clientId,m=t.scope,w=t.responseType,A=t.isConsumerUser,R=t.instanceId,W=t.siteId,N=t.userId,F=t.disableRememberMe,le=t.useCompactIdpPage,z=t.isSSO,te=ht(),ne=te.code,X=te.idpErrorCode,De=te.redirectUri,Ye={clientId:r,scope:m,responseType:w,redirectUri:De,code:ne,idpErrorCode:X,isConsumerUser:A,instanceId:R,siteId:W,userId:N,disableRememberMe:F,useCompactIdpPage:le,isSSO:z};return ne?(await Re(Ye),{authorized:!0}):(Fe(Ye),{authorized:!1})},ze=e("./lib/utils/page-wake.ts"),ae=e("./lib/utils/session-timeout-config.ts"),gt,et,Pt,Mt,we,Z,tt,at,Ct,bt=Date.now(),lt=[],dt=[],yt=[],Xe=["click","scroll","keypress","touchstart"],it=!1,Et=!1,_t,ut,It,xt=function(){Et=!1,it=!1,It=null},Lt=function(){return Date.now()-bt>(0,ae.Gw)()},h=function(){return Date.now()-bt>(0,ae.vG)()},n=function(){return Promise.resolve().then(function(){dt.forEach(function(t){return t()})})},u=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;xt(),bt=Date.now(),Promise.resolve().then(function(){yt.forEach(function(r){return r(t)})}).catch(function(){})},g=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;st(t===!0)&&u(t)},B=function(t){var r=t.sessionExpiryInterval,m=r===void 0?et:r,w=t.sessionWarnInterval,A=w===void 0?Pt:w;if(m<et)throw new Error(Mt);if(m>we)throw new Error(Z);if(A>=m)throw new Error(tt);Ct({sessionExpiryInterval:m,sessionWarnInterval:A}),g(!0)},se=async function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(st(t===!0)){var r=v();try{if(u(!0),r!=null&&r.clientId){var m=O();if(!m)throw new Error("Authorization token not found to extend session");var w=m.split(" ")[1];await he({clientId:r.clientId,accessToken:w})}}catch(R){var A;(A=(0,je.t)())===null||A===void 0||A.error(Object.assign({},$e.V.SESSION_RENEWAL_FAILED,{exception:R})),await We(Object.assign({},r,{skipRevoke:!0}))}}},Q=d()(function(){se().catch(function(){})},y.eE,{leading:!0}),ke=function(){Xe.forEach(function(t){document.removeEventListener(t,Q)})},jt=function(){it=!0,It=Date.now(),ke(),Promise.resolve().then(function(){lt.forEach(function(t){return t(It)})}).catch(function(){})},Tt=function(){var t;ke(),(t=ut)===null||t===void 0||t(),ut=void 0,clearInterval(_t),xt(),lt.length=0,dt.length=0};function st(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Et?!1:h()?(Et=!0,n().then(function(){Tt()}).catch(function(){}),!1):!it&&Lt()?(jt(),!1):!(it&&!t)}var wt=function(t,r){var m=t.findIndex(function(w){return w===r});m>-1&&t.splice(m,1)},Bt=function(){Xe.forEach(function(t){document.addEventListener(t,Q)})},Kt=function(){var t;clearInterval(_t),(t=ut)===null||t===void 0||t(),ke(),(0,ae.BH)(),xt(),Bt(),ut=(0,ze.v)(st),_t=setInterval(st,1e3)},Ft=function(t){return lt.push(t),wt.bind(null,lt,t)},Nt=function(t){return dt.push(t),wt.bind(null,dt,t)},Ht=function(t){return yt.push(t),wt.bind(null,yt,t)},Vt=function(t,r){if(!t)return function(){};var m=gt(r,at,{leading:!0});return Xe.forEach(function(w){return t.addEventListener(w,m)}),function(){Xe.forEach(function(w){return t.removeEventListener(w,r)}),Xe.forEach(function(w){return t.removeEventListener(w,m)})}}},"./lib/utils/window.ts"(T,b,e){"use strict";e.d(b,{D:()=>I,M5:()=>v,OX:()=>O,zk:()=>p});var c=e("./node_modules/.pnpm/@elliemae+pui-theme@2.13.0/node_modules/@elliemae/pui-theme/dist/cjs/index.js"),d=e.n(c),p=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)}},y=function(_){return Number(_?.replace("px",""))},I=function(){var _=v(),E=_.width,i=(0,c.getDefaultTheme)(),f=i.breakpoints;return E<=y(f.small)?"small":E<=y(f.medium)?"medium":E<=y(f.xsmall)?"xsmall":"large"},O=function(){var _,E,i,f,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 P=(f=window.emui)===null||f===void 0?void 0:f.version.match(/^(?:\d+\.\d+)*/g);return P&&P[0]?l.replace("latest/",`${P[0]}/`):l}},"./lib/view/error-toast/index.tsx"(T,b,e){"use strict";e.d(b,{Q:()=>l});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),d=e.n(c),p=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"),y=e("./node_modules/.pnpm/@elliemae+ds-toast@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-toast/dist/esm/toast.js"),I=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"),O=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"),f=["position","messageTitle","type","description","messageText","messageComponent"],l=(0,p.memo)(function(P){var j=(0,_.G)(function(S){return S?.error}),C=(0,O.j)();return(0,p.useEffect)(function(){if(j&&(j!=null&&j.description||j!=null&&j.messageText)){var S=Object.assign({position:I.xJ.TOP_RIGHT,messageTitle:"Error",type:I.Ck.ERROR},P,j),D=S.position,k=S.messageTitle,ye=S.type,de=S.description,V=S.messageText,H=S.messageComponent,q=d()(S,f),Y=de||V;Y&&(0,y.o)({messageText:Y,messageTitle:k,type:ye,messageComponent:H},Object.assign({position:D},q)),C(E.o.clear())}},[j,P,C]),(0,i.jsx)(v.P_,Object.assign({},P))})},"./lib/view/live-message/index.tsx"(T,b,e){"use strict";e.d(b,{I:()=>y});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=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"),y=function(){var I=(0,v.G)(function(_){var E;return(E=_.liveMessage)===null||E===void 0?void 0:E.message}),O=(0,v.G)(function(_){var E;return(E=_.liveMessage)===null||E===void 0?void 0:E.ariaLive});return d()(p.Iu,{message:I,"aria-live":O})};y.displayName="LiveMessage"},"./lib/view/modals/session-expiry/index.tsx"(T,b,e){"use strict";e.d(b,{_:()=>Je});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),y=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),I=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"),O=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"),f=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"),P=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"),C=e("./node_modules/.pnpm/@elliemae+ds-dialog@3.61.8_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-dialog/dist/esm/parts/DSDialogFooter/DSDialogFooter.js"),S=e("./lib/data/useAppDispatch.ts"),D=e("./lib/data/logout/actions.ts"),k=e("./lib/utils/session.ts"),ye=e("./lib/utils/page-wake.ts"),de=e("./lib/utils/session-timeout-config.ts"),V=function(ue){var ee=Math.max(0,Math.floor(ue/1e3)),oe=Math.floor(ee/60),Se=ee%60;return`${String(oe).padStart(2,"0")}:${String(Se).padStart(2,"0")}`},H=function(ue){var ee=(0,y.useState)(),oe=v()(ee,2),Se=oe[0],ce=oe[1];return(0,y.useEffect)(function(){var Be=(0,de.Gw)(),Ze=(0,de.vG)(),Ne=ue+(Ze-Be),Ee=function(){ce(V(Ne-Date.now()))};Ee();var Oe=setInterval(Ee,1e3),_e=(0,ye.v)(Ee);return function(){clearInterval(Oe),_e()}},[ue]),Se},q,Y,Je=(0,y.memo)(function(ue){var ee=ue.open,oe=ue.warningNotifiedAt,Se=oe===void 0?0:oe,ce=(0,y.useState)(ee),Be=v()(ce,2),Ze=Be[0],Ne=Be[1],Ee=H(Se),Oe=(0,S.j)(),_e=(0,y.useRef)(null),He=(0,y.useRef)(null),Pe=(0,_.r)({firstElementRef:_e,lastElementRef:He});(0,y.useEffect)(function(){Ne(ee)},[ee]);var ve=async function(){Ne(!1),await(0,k.KB)(!0),(0,k.lQ)(),Oe(D.r.cancel())},Qe=function(){Ne(!1),Oe(D.r.confirm())};return Ee?d()(E.O,{onKeyDown:Pe,isOpen:Ze,size:"small"},void 0,d()(i.u,{p:"s"},void 0,d()(f.D,{},void 0,d()(O.A,{size:"xl",color:["warning","900"]}),d()(l.T,{},void 0,`Your session will expire in ${Ee}`),q||(q=d()(P.z,{},void 0,"Please logout or reset your session")))),Y||(Y=d()(j.Z,{})),d()(C.r,{},void 0,d()(I.e,{innerRef:_e,buttonType:"outline",onClick:Qe},void 0,"Logout"),d()(I.e,{innerRef:He,onClick:function(){ve().catch(function(){})}},void 0,"Reset"))):null})},"./lib/view/session-timeout/index.tsx"(T,b,e){"use strict";e.d(b,{S:()=>f});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),y=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),I=e("./lib/data/useAppDispatch.ts"),O=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"),f=function(){var l=(0,I.j)(),P=(0,y.useState)(!1),j=v()(P,2),C=j[0],S=j[1],D=(0,y.useState)(),k=v()(D,2),ye=k[0],de=k[1];return(0,y.useEffect)(function(){i.K.resetUserIdleTime=_.oB,(0,_.LC)();var V=(0,_.Lw)(function(Y){Y&&(de(Y),S(!0))}),H=(0,_.lD)(function(Y){Y===!0&&S(!1)}),q=(0,_.n5)(function(){l(O.r.confirm()),S(!1)});return function(){V(),H(),q(),(0,_.z3)()}},[l]),d()("div",{},void 0,C&&d()(E._,{open:!0,warningNotifiedAt:ye}))};f.displayName="SessionTimeout"},"./lib/view/wait-message/index.tsx"(T,b,e){"use strict";e.d(b,{j:()=>de});var c=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/jsx.js"),d=e.n(c),p=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/slicedToArray.js"),v=e.n(p),y=e("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),I=e.n(y),O=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"),f=e("./lib/data/useAppSelector.ts"),l=e("./lib/view/wait-message/use-html-wait-message.tsx"),P=e("./lib/analytics/index.ts"),j=function(){return(0,P.e)({data:{event:"pageInteractionEnabled"}})},C=function(){return(0,P.e)({data:{event:"pageInteractionDisabled"}})},S=e("./lib/utils/logrocket.ts"),D=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),k=["size","color","showText","withTooltip","tooltipStartPlacementPreference"],ye=(0,_.default)(i.p).withConfig({componentId:"sc-3aqsjr-0"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"]),de=(0,O.memo)(function(V){var H=V.size,q=H===void 0?"xl":H,Y=V.color,Je=Y===void 0?"light":Y,ue=V.showText,ee=ue===void 0?!0:ue,oe=V.withTooltip,Se=oe===void 0?!1:oe,ce=V.tooltipStartPlacementPreference,Be=ce===void 0?"center":ce,Ze=I()(V,k),Ne=(0,O.useContext)(_.ThemeContext),Ee=(0,O.useRef)(!1),Oe=(0,O.useState)(!1),_e=v()(Oe,2),He=_e[0],Pe=_e[1],ve=(0,f.G)(function(L){var ie;return(ie=L.waitMessage)===null||ie===void 0?void 0:ie.isOpen}),Qe=(0,f.G)(function(L){var ie;return(ie=L.waitMessage)===null||ie===void 0?void 0:ie.delay});Ee.current=ve??!1;var nt=(0,f.G)(function(L){var ie;return(ie=L.waitMessage)===null||ie===void 0?void 0:ie.message});return(0,O.useEffect)(function(){setTimeout(function(){ve&&Ee.current&&(Pe(!0),j(),(0,S.K3)("wait-spinner-start"))},Qe?1e3:0),ve||(Pe(!1),C(),(0,S.K3)("wait-spinner-end"))},[Qe,ve]),(0,l.t)(ve!==null),He?(0,D.jsxs)(D.Fragment,{children:[d()(E.Ay,{zIndex:Ne.zIndex.loader}),(0,D.jsx)(ye,Object.assign({id:"em-loading",size:q,color:Je,showText:ee,withTooltip:Se,tooltipStartPlacementPreference:Be},Ze,{text:nt}))]}):null})},"./lib/view/wait-message/use-html-wait-message.tsx"(T,b,e){"use strict";e.d(b,{t:()=>d});var c=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),d=function(p){(0,c.useEffect)(function(){var v=document.getElementById("em-wait-message");v&&p&&v.remove()},[p])}},"./storybook-config-entry.js"(T,b,e){"use strict";var c=e("./node_modules/.pnpm/global@4.4.0/node_modules/global/window.js"),d=e.n(c),p=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"),y=e("./node_modules/.pnpm/@storybook+client-api@6.5.16/node_modules/@storybook/client-api/dist/cjs/index.js"),I=e("./node_modules/.pnpm/@storybook+addons@6.5.16/node_modules/@storybook/addons/dist/cjs/public_api.js"),O=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(S){if(/^\.[\\/](?:lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(mdx|tsx|ts|jsx|js))$/.exec(S)){var D=S.substring(6);return e("./lib lazy recursive ^\\.\\/.*$ include: (?:\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(mdx%7Ctsx%7Cts%7Cjsx%7Cjs))$")("./"+D)}}];async function i(S){for(var D=0;D<E.length;D++){var k=await E[D](S);if(k)return k}}var f=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")])},P=(0,O.Ay)({page:"preview"});if(I.addons.setChannel(P),f){var j=(0,_.Ay)({url:f});I.addons.setServerChannel(j),window.__STORYBOOK_SERVER_CHANNEL__=j}var C=new p.PreviewWeb;window.__STORYBOOK_PREVIEW__=C,window.__STORYBOOK_STORY_STORE__=C.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=P,window.__STORYBOOK_CLIENT_API__=new y.ClientApi({storyStore:C.storyStore}),C.initialize({importFn:i,getProjectAnnotations:l})},"./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!./lib/utils/storybook/preview.css"(T,b,e){"use strict";var c=e("./node_modules/.pnpm/css-loader@5.2.7_webpack@5.108.4/node_modules/css-loader/dist/runtime/api.js"),d=e.n(c),p=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(I){return I[1]});v.i(p.A),v.push([T.id,`
5
+ `,""]);const y=v;e.d(b,["A",0,y])},"@elliemae/pui-diagnostics"(T){"use strict";T.exports=emuiDiagnostics},"?6b64"(){}},T=>{var b=c=>T(T.s=c);T.O(0,[1896],()=>(b("./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"),b("./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"),b("./storybook-config-entry.js")));var e=T.O()}]);