@elliemae/pui-app-sdk 5.36.0 → 5.36.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/docs/404.html +2 -2
- package/build/docs/api/@elliemae/ds-form/index.html +2 -2
- package/build/docs/api/classes/Analytics/index.html +2 -2
- package/build/docs/api/classes/CMicroAppGuest/index.html +2 -2
- package/build/docs/api/classes/CMicroAppHost/index.html +2 -2
- package/build/docs/api/classes/ErrorBoundary/index.html +2 -2
- package/build/docs/api/functions/AppRoot/index.html +2 -2
- package/build/docs/api/functions/Autocomplete/index.html +2 -2
- package/build/docs/api/functions/CheckBox/index.html +2 -2
- package/build/docs/api/functions/ComboBox/index.html +2 -2
- package/build/docs/api/functions/ComboBoxV3/index.html +2 -2
- package/build/docs/api/functions/ConnectForm/index.html +2 -2
- package/build/docs/api/functions/DateInput/index.html +2 -2
- package/build/docs/api/functions/DatePicker/index.html +2 -2
- package/build/docs/api/functions/DateRangePicker/index.html +2 -2
- package/build/docs/api/functions/DateTimePicker/index.html +2 -2
- package/build/docs/api/functions/Form/index.html +2 -2
- package/build/docs/api/functions/FormItemLayout/index.html +2 -2
- package/build/docs/api/functions/FormLayoutBlockItem/index.html +2 -2
- package/build/docs/api/functions/FormSubmitButton/index.html +2 -2
- package/build/docs/api/functions/InputMask/index.html +2 -2
- package/build/docs/api/functions/InputText/index.html +2 -2
- package/build/docs/api/functions/LargeTextBox/index.html +2 -2
- package/build/docs/api/functions/MaskedInputText/index.html +2 -2
- package/build/docs/api/functions/Page/index.html +2 -2
- package/build/docs/api/functions/Radio/index.html +2 -2
- package/build/docs/api/functions/RadioGroup/index.html +2 -2
- package/build/docs/api/functions/RegisterService/index.html +2 -2
- package/build/docs/api/functions/RenderWithStateAddOns/index.html +2 -2
- package/build/docs/api/functions/RequireAuth/index.html +2 -2
- package/build/docs/api/functions/SessionTimeout/index.html +2 -2
- package/build/docs/api/functions/TextBox/index.html +2 -2
- package/build/docs/api/functions/Toggle/index.html +2 -2
- package/build/docs/api/functions/authSaga/index.html +2 -2
- package/build/docs/api/functions/authorize/index.html +2 -2
- package/build/docs/api/functions/cleanup/index.html +2 -2
- package/build/docs/api/functions/configureStore/index.html +2 -2
- package/build/docs/api/functions/createManager/index.html +2 -2
- package/build/docs/api/functions/enableReactAppForHostIntegration/index.html +2 -2
- package/build/docs/api/functions/fetchHostAppData/index.html +2 -2
- package/build/docs/api/functions/fetchUserSettings/index.html +2 -2
- package/build/docs/api/functions/getApiActionCreator/index.html +2 -2
- package/build/docs/api/functions/getAppConfigValue/index.html +2 -2
- package/build/docs/api/functions/getAuthHTTPClient/index.html +2 -2
- package/build/docs/api/functions/getAuthorizationHeader/index.html +2 -2
- package/build/docs/api/functions/getHTTPClient/index.html +2 -2
- package/build/docs/api/functions/getHostAppDataByKey/index.html +2 -2
- package/build/docs/api/functions/getLogger/index.html +2 -2
- package/build/docs/api/functions/getMicroFrontEndAppConfig/index.html +2 -2
- package/build/docs/api/functions/getNavigationLinks/index.html +2 -2
- package/build/docs/api/functions/getRedirectUrl/index.html +2 -2
- package/build/docs/api/functions/getSelectField/index.html +2 -2
- package/build/docs/api/functions/getStore/index.html +2 -2
- package/build/docs/api/functions/initServiceWorker/index.html +2 -2
- package/build/docs/api/functions/isCIBuild/index.html +2 -2
- package/build/docs/api/functions/isProd/index.html +2 -2
- package/build/docs/api/functions/isUserAuthorized/index.html +2 -2
- package/build/docs/api/functions/listenStorageEvents/index.html +2 -2
- package/build/docs/api/functions/loadAppConfig/index.html +2 -2
- package/build/docs/api/functions/loadable/index.html +2 -2
- package/build/docs/api/functions/login/index.html +2 -2
- package/build/docs/api/functions/notifyGuestUnloadComplete/index.html +2 -2
- package/build/docs/api/functions/onAuthorizationFailure/index.html +2 -2
- package/build/docs/api/functions/onGuestUnloadStart/index.html +2 -2
- package/build/docs/api/functions/redactPii/index.html +2 -2
- package/build/docs/api/functions/removeDoubleSlash/index.html +2 -2
- package/build/docs/api/functions/removeStorageEvents/index.html +2 -2
- package/build/docs/api/functions/render/index.html +2 -2
- package/build/docs/api/functions/renderHook/index.html +2 -2
- package/build/docs/api/functions/renderWithHostData/index.html +2 -2
- package/build/docs/api/functions/renderWithRedux/index.html +2 -2
- package/build/docs/api/functions/renderWithRouter/index.html +2 -2
- package/build/docs/api/functions/renderWithRouterRedux/index.html +2 -2
- package/build/docs/api/functions/sdkBaseQuery/index.html +2 -2
- package/build/docs/api/functions/sendBAEvent/index.html +2 -2
- package/build/docs/api/functions/sendMessageToHost/index.html +2 -2
- package/build/docs/api/functions/setAppConfig/index.html +2 -2
- package/build/docs/api/functions/setAppConfigValue/index.html +2 -2
- package/build/docs/api/functions/setHostAppData/index.html +2 -2
- package/build/docs/api/functions/setLoginParams/index.html +2 -2
- package/build/docs/api/functions/subscribeToResetSession/index.html +2 -2
- package/build/docs/api/functions/subscribeToSessionExpiry/index.html +2 -2
- package/build/docs/api/functions/subscribeToSessionExpiryWarning/index.html +2 -2
- package/build/docs/api/functions/trackActivity/index.html +2 -2
- package/build/docs/api/functions/useAppDispatch/index.html +2 -2
- package/build/docs/api/functions/useAppMiddleware/index.html +2 -2
- package/build/docs/api/functions/useInjectQuery/index.html +2 -2
- package/build/docs/api/functions/useInjectReducer/index.html +2 -2
- package/build/docs/api/functions/useInjectSaga/index.html +2 -2
- package/build/docs/api/functions/useInjectSideEffect/index.html +2 -2
- package/build/docs/api/functions/useMediaQueryList/index.html +2 -2
- package/build/docs/api/functions/useStateSelector/index.html +2 -2
- package/build/docs/api/functions/useStateSelectorShallow/index.html +2 -2
- package/build/docs/api/functions/waitFor/index.html +2 -2
- package/build/docs/api/functions/waitForElementToBeRemoved/index.html +2 -2
- package/build/docs/api/functions/withAppDecorator/index.html +2 -2
- package/build/docs/api/index.html +2 -2
- package/build/docs/api/interfaces/AppConfig/index.html +2 -2
- package/build/docs/api/interfaces/UseStateSelectorOptions/index.html +2 -2
- package/build/docs/api/type-aliases/AppDispatch/index.html +2 -2
- package/build/docs/api/type-aliases/AppStore/index.html +2 -2
- package/build/docs/api/type-aliases/Await/index.html +2 -2
- package/build/docs/api/type-aliases/EMUI/index.html +2 -2
- package/build/docs/api/type-aliases/OnHostInitCallback/index.html +2 -2
- package/build/docs/api/type-aliases/OnInitCallback/index.html +2 -2
- package/build/docs/api/type-aliases/OnMountCallback/index.html +2 -2
- package/build/docs/api/type-aliases/OnUnMountCallback/index.html +2 -2
- package/build/docs/api/type-aliases/RootState/index.html +2 -2
- package/build/docs/api/type-aliases/SelectStateFieldFunction/index.html +2 -2
- package/build/docs/api/variables/ErrorToast/index.html +2 -2
- package/build/docs/api/variables/GuestMicroApp/index.html +2 -2
- package/build/docs/api/variables/MicroApp/index.html +2 -2
- package/build/docs/api/variables/MicroIFrameApp/index.html +2 -2
- package/build/docs/api/variables/NavigationPrompt/index.html +2 -2
- package/build/docs/api/variables/NavigationPromptActions/index.html +2 -2
- package/build/docs/api/variables/Themes/index.html +2 -2
- package/build/docs/api/variables/VisuallyHidden/index.html +2 -2
- package/build/docs/api/variables/WaitMessage/index.html +2 -2
- package/build/docs/api/variables/act/index.html +2 -2
- package/build/docs/api/variables/ariaLive/index.html +2 -2
- package/build/docs/api/variables/auth/index.html +2 -2
- package/build/docs/api/variables/authReducer/index.html +2 -2
- package/build/docs/api/variables/clearSideEffects/index.html +2 -2
- package/build/docs/api/variables/createSideEffect/index.html +2 -2
- package/build/docs/api/variables/decorators/index.html +2 -2
- package/build/docs/api/variables/endSession/index.html +2 -2
- package/build/docs/api/variables/error/index.html +2 -2
- package/build/docs/api/variables/errorMiddleware/index.html +2 -2
- package/build/docs/api/variables/fireEvent/index.html +2 -2
- package/build/docs/api/variables/globalConstants/index.html +2 -2
- package/build/docs/api/variables/history/index.html +2 -2
- package/build/docs/api/variables/httpClientProps/index.html +2 -2
- package/build/docs/api/variables/logout/index.html +2 -2
- package/build/docs/api/variables/memoryHistory/index.html +2 -2
- package/build/docs/api/variables/removeSideEffect/index.html +2 -2
- package/build/docs/api/variables/resetUserIdleTime/index.html +2 -2
- package/build/docs/api/variables/screen/index.html +2 -2
- package/build/docs/api/variables/startSideEffect/index.html +2 -2
- package/build/docs/api/variables/updateBAEventParameters/index.html +2 -2
- package/build/docs/api/variables/useAppSelector/index.html +2 -2
- package/build/docs/api/variables/waitMessageAction/index.html +2 -2
- package/build/docs/api/variables/within/index.html +2 -2
- package/build/docs/assets/js/04ee7372.d0e9ea9d.js +1 -0
- package/build/docs/assets/js/{main.50d99a6d.js → main.c610e1d3.js} +2 -2
- package/build/docs/assets/js/{runtime~main.e3dd1cce.js → runtime~main.83819012.js} +1 -1
- package/build/docs/index.html +2 -2
- package/build/docs/usage-guide/index.html +43 -4
- package/demo/{177.a6f93dd4.iframe.bundle.js → 177.dbc7550e.iframe.bundle.js} +1 -1
- package/demo/177.dbc7550e.iframe.bundle.js.br +0 -0
- package/demo/177.dbc7550e.iframe.bundle.js.gz +0 -0
- package/demo/docs/{177.a6f93dd4.iframe.bundle.js → 177.dbc7550e.iframe.bundle.js} +1 -1
- package/demo/docs/177.dbc7550e.iframe.bundle.js.br +0 -0
- package/demo/docs/177.dbc7550e.iframe.bundle.js.gz +0 -0
- package/demo/docs/iframe.html +1 -1
- package/demo/docs/index.html +1 -1
- package/demo/docs/main.02f0e0be.iframe.bundle.js +5 -0
- package/demo/docs/main.02f0e0be.iframe.bundle.js.br +0 -0
- package/demo/docs/main.02f0e0be.iframe.bundle.js.gz +0 -0
- package/demo/docs/{main.994f586d2ea55c7b3611.manager.bundle.js → main.73d2bd95345af51e5066.manager.bundle.js} +1 -1
- package/demo/docs/main.73d2bd95345af51e5066.manager.bundle.js.br +0 -0
- package/demo/docs/{main.994f586d2ea55c7b3611.manager.bundle.js.gz → main.73d2bd95345af51e5066.manager.bundle.js.gz} +0 -0
- package/demo/docs/project.json +1 -1
- package/demo/iframe.html +1 -1
- package/demo/index.html +1 -1
- package/demo/main.02f0e0be.iframe.bundle.js +5 -0
- package/demo/main.02f0e0be.iframe.bundle.js.br +0 -0
- package/demo/main.02f0e0be.iframe.bundle.js.gz +0 -0
- package/demo/{main.994f586d2ea55c7b3611.manager.bundle.js → main.73d2bd95345af51e5066.manager.bundle.js} +1 -1
- package/demo/main.73d2bd95345af51e5066.manager.bundle.js.br +0 -0
- package/demo/{main.994f586d2ea55c7b3611.manager.bundle.js.gz → main.73d2bd95345af51e5066.manager.bundle.js.gz} +0 -0
- package/demo/project.json +1 -1
- package/dist/cjs/utils/micro-frontend/guest.js +11 -1
- package/dist/esm/utils/micro-frontend/guest.js +11 -1
- package/dist/types/lib/data/auth/actions.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/build/docs/assets/js/04ee7372.01dca5e5.js +0 -1
- package/demo/177.a6f93dd4.iframe.bundle.js.br +0 -0
- package/demo/177.a6f93dd4.iframe.bundle.js.gz +0 -0
- package/demo/docs/177.a6f93dd4.iframe.bundle.js.br +0 -0
- package/demo/docs/177.a6f93dd4.iframe.bundle.js.gz +0 -0
- package/demo/docs/main.994f586d2ea55c7b3611.manager.bundle.js.br +0 -0
- package/demo/docs/main.b591c5b8.iframe.bundle.js +0 -5
- package/demo/docs/main.b591c5b8.iframe.bundle.js.br +0 -0
- package/demo/docs/main.b591c5b8.iframe.bundle.js.gz +0 -0
- package/demo/main.994f586d2ea55c7b3611.manager.bundle.js.br +0 -0
- package/demo/main.b591c5b8.iframe.bundle.js +0 -5
- package/demo/main.b591c5b8.iframe.bundle.js.br +0 -0
- package/demo/main.b591c5b8.iframe.bundle.js.gz +0 -0
- /package/build/docs/assets/js/{main.50d99a6d.js.LICENSE.txt → main.c610e1d3.js.LICENSE.txt} +0 -0
|
@@ -1410,7 +1410,7 @@ ${se}`;console.warn(G),R.warned=!0}return E(ee,k,K,...U)};return Object.definePr
|
|
|
1410
1410
|
@media (max-width: ${l[g]}) {
|
|
1411
1411
|
${(0,n.AH)(y,...b)};
|
|
1412
1412
|
}
|
|
1413
|
-
`,h),{}),t=l=>({space:{...l.spaces,xxxs:l.spaces[1],xxs:l.spaces[2],xxs2:l.spaces[3],xs:l.spaces[4],s:l.spaces[5],m:l.spaces[6],l:l.spaces[7],xl:l.spaces[8],xxl:l.spaces[9]},fontSizes:{...l.fontSizes,title:{500:l.fontSizes[3],600:l.fontSizes[4],700:l.fontSizes[5],800:l.fontSizes[6],900:l.fontSizes[7]},subTitle:{300:l.fontSizes[1],400:l.fontSizes[2]},label:{200:l.fontSizes[0],300:l.fontSizes[1],400:l.fontSizes[2]},value:{300:l.fontSizes[1],400:l.fontSizes[2],500:l.fontSizes[3],600:l.fontSizes[4]},hyperlink:{200:l.fontSizes[0],300:l.fontSizes[1],400:l.fontSizes[2]},microText:{200:l.fontSizes[0]}},fontWeights:{...l.fontWeights,thin:l.fontWeights[0],light:l.fontWeights[1],regular:l.fontWeights[3],semibold:l.fontWeights[5],bold:l.fontWeights[8]},lineHeights:{...l.lineHeights,r:l.lineHeights[0],m:l.lineHeights[1],l:l.lineHeights[2],xl:l.lineHeights[3]},letterSpacings:{normal:l.letterSpacings[0],tracked:l.letterSpacings[1],tight:l.letterSpacings[2],mega:l.letterSpacings[3]},fonts:{...l.fonts,default:l.fonts[0]},colors:{neutral:{"000":l.colors.neutral[0],"050":l.colors.neutral[1],"080":l.colors.neutral[2],100:l.colors.neutral[3],200:l.colors.neutral[4],300:l.colors.neutral[5],400:l.colors.neutral[6],500:l.colors.neutral[7],600:l.colors.neutral[8],700:l.colors.neutral[9],800:l.colors.neutral[10]},brand:{100:l.colors.brand[0],200:l.colors.brand[1],250:l.colors.brand[8],300:l.colors.brand[2],400:l.colors.brand[3],500:l.colors.brand[4],600:l.colors.brand[5],700:l.colors.brand[6],800:l.colors.brand[7]},success:{300:l.colors.success[0],400:l.colors.success[1],600:l.colors.success[2],900:l.colors.success[3],950:l.colors.success[4]},warning:{400:l.colors.warning[0],500:l.colors.warning[1],600:l.colors.warning[1],900:l.colors.warning[2],950:l.colors.warning[3]},danger:{200:l.colors.danger[0],400:l.colors.danger[1],600:l.colors.danger[2],900:l.colors.danger[3],950:l.colors.danger[4]}},shadows:{xs:l.shadows[0],s:l.shadows[1],m:l.shadows[2],l:l.shadows[3],xl:l.shadows[4]},breakpoints:{...l.breakpoints,xsmall:l.breakpoints[3],small:l.breakpoints[0],medium:l.breakpoints[1],large:l.breakpoints[2]},media:o({xsmall:l.breakpoints[3],small:l.breakpoints[0],medium:l.breakpoints[1],large:l.breakpoints[2]}),zIndex:{dialog:l.zIndex[0],popper:l.zIndex[1],tooltip:l.zIndex[2],backdrop:l.zIndex[3],loader:l.zIndex[4]},states:{_:l.states[0],motionSafe:l.states[1],motionReduce:l.states[2],first:l.states[3],last:l.states[4],odd:l.states[5],even:l.states[6],visited:l.states[7],checked:l.states[8],focusWithin:l.states[9],hover:l.states[10],focus:l.states[11],focusVisible:l.states[12],active:l.states[13],disabled:l.states[14],placeholder:l.states[15]}}),c=((l=r())=>()=>t(l))()},"./node_modules/.pnpm/@elliemae+ssf-guest@2.22.0_@elliemae+pui-logrocket@1.1.30/node_modules/@elliemae/ssf-guest/dist/esm/guest.js"(d,p,e){"use strict";e.d(p,{p:()=>B});var r=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),n=e("./node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/lodash.js"),o=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/remoting.js"),t=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/messageType.js"),i=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/proxy.js"),c=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/event.js"),l=e("@elliemae/pui-diagnostics");const h=()=>{const{parent:ee}=window;try{return ee?.location?.href}catch{return null}},g=ee=>{if(!ee||ee==="about:blank")return"*";try{const{origin:k}=new URL(ee);return k==="null"||!k?ee:k}catch{const{origin:K}=new URL(ee,document.baseURI);return K}},y=()=>window.self!==window.parent,b=(ee,k)=>{const K=k||document.body,U=document.defaultView?.getComputedStyle?.(K,null),V=U?U[ee]:"0";return parseInt(V,10)},T=new RegExp("^https?://(.*.elliemae.io|.*.ellielabs.com|.*.ellieservices.com|.*.encompassloconnect.com|.*.ice.com|localhost:[0-9]+)","i"),O="elli:remoting",D=()=>new Promise(ee=>{if(y())ee({origin:g(document.referrer||h()),window:window.parent});else{const k=window,K=U=>{if(T.test(U.origin)){const{source:V,type:se}=U.data||{};if(V===O&&se===t.G.HandShake){const{origin:G}=U,N=U.source;(0,o._)({targetWin:N,targetOrigin:G,messageType:t.G.HandShakeAck,messageBody:{}}),k.removeEventListener("message",K),ee({origin:G,window:N})}}};k.addEventListener("message",K)}});let S=!1;const C=ee=>{S=ee},P=(ee=null)=>{let k=ee;const K=()=>{if(!k&&(k=window.ice?.guest?.SSFGuest?new window.ice.guest.SSFGuest:null,!k))throw new Error("Guest definition not found");return k};window.elli=window.elli??{},window.elli.script={guest:{create:async(U,V)=>K().addScript(U,V)},connect:async U=>(console.warn("elli.script.connect is deprecated. Please use connect method of SSFGuest class instead, const guest = new ice.guest.SSFGuest(); await guest.connect(params);"),K().connect(U)),getObject:async U=>(S||console.warn("elli.script.getObject is deprecated. Please use getObject method of SSFGuest class instead, const guest = new ice.guest.SSFGuest(); await guest.getObject(objectName);"),K().getObject(U)),setLogLevel:U=>(S||console.warn("elli.script.setLogLevel is deprecated. Please use setLogLevel method of SSFGuest class instead, const guest = new ice.guest.SSFGuest(); guest.setLogLevel(level);"),K().setLogLevel(U)),subscribe:(U,V,se,G)=>(S||console.warn("elli.script.subscribe is deprecated. Please use subscribe method of SSFGuest class instead, const guest = new ice.guest.SSFGuest(); guest.subscribe({ eventId: `${objectId}.${eventName}`, callback: (event) => { console.log(event); });"),K().subscribe({eventId:`${U}.${V}`,callback:N=>se(N?.obj,N?.eventParams,N?.eventOptions),criteria:G?.criteria})),unsubscribe:(U,V,se)=>(S||console.warn("elli.script.unsubscribe is deprecated. Please use unsubscribe method of SSFGuest class instead, const guest = new ice.guest.SSFGuest(); guest.unsubscribe({ eventId: `${objectId}.${eventName}`, token });"),K().unsubscribe({eventId:`${U}.${V}`,token:se}))}};P();var L=(ee=>(ee.OBJECT="object",ee.VALUE="value",ee))(L||{});const w=12e4,v={eventFeedback:!0},_=()=>{const{document:ee}=window,k=ee.body,K=ee.documentElement,V={height:k.offsetHeight+b("marginTop")+b("marginBottom"),width:Math.max(k.scrollWidth,K.scrollWidth)};(0,o._)({targetWin:window.parent,targetOrigin:g(ee.referrer||h()),messageType:t.G.GuestResize,messageBody:V}),window.removeEventListener("load",_)};y()&&window.addEventListener("load",_);const I={"cdn.ice.com":"https://api.elliemae.com/diagnostics/v2/logging","cdn.np.ice.com":"https://stg.api.elliemae.com/diagnostics/v2/logging","cdn.uat.ice.com":"https://concept.api.elliemae.com/diagnostics/v2/logging","cdn.pt1.ice.com":"https://pel1.api.ellielabs.com/diagnostics/v2/logging","cdn.qa1.ice.com":"https://int.api.ellielabs.com/diagnostics/v2/logging","cdn.dev1.ice.com":"https://int.api.ellielabs.com/diagnostics/v2/logging","cdn.mortgagetech.ice.com":"https://api.elliemae.com/diagnostics/v2/logging","cdn.mortgagetech.s1.ice.com":"https://stg.api.elliemae.com/diagnostics/v2/logging","cdn.mortgagetech.uat1.ice.com":"https://concept.api.elliemae.com/diagnostics/v2/logging","cdn.mortgagetech.pl1.ice.com":"https://pel1.api.ellielabs.com/diagnostics/v2/logging","cdn.mortgagetech.q1.ice.com":"https://int.api.ellielabs.com/diagnostics/v2/logging","cdn.mortgagetech.d1.ice.com":"https://int.api.ellielabs.com/diagnostics/v2/logging",localhost:"https://int.api.ellielabs.com/diagnostics/v2/logging"},E=["click","scroll","keypress","touchstart"],R=()=>{const ee=document.currentScript?.src||"file:///opt/jenkins/workspace/UIPlatform_app-sdk_master/555/node_modules/.pnpm/@elliemae+ssf-guest@2.22.0_@elliemae+pui-logrocket@1.1.30/node_modules/@elliemae/ssf-guest/dist/esm/guest.js",k=ee?new URL(ee).hostname:"localhost";return I[k]||I["cdn.mortgagetech.q1.ice.com"]};class B{#n;#e;#t;#o=!1;#r=null;#s=!1;#a=new Map;#m=null;#i=null;#u=null;#l=null;#c=null;#g=!1;#d=null;#h=null;#p=null;#_=!0;#x=w;#y;#v=null;constructor(k){const{console:K=!1,url:U=window.__ICE__?.diagnosticsUrl||R(),index:V="ssf-guest-v2",team:se="ICE",appName:G="SSF Guest V2 Application"}=k?.logger??{};this.#y=k?.logger,this.#g=k?.usesDevConnectAPI??!1,this.#_=k?.keepAlive??!0,this.#x=k?.keepAliveInterval??w;const N=K?(0,l.Console)():(0,l.http)(U);this.#e=k?.appLogger??(0,l.logger)({transport:N,index:V,team:se,appName:G}),(0,l.webvitals)(this.#e),(0,l.logUnhandledErrors)(this.#e),this.#n=(0,r.A)(),this.#t=new o.K(this.#e,this.#n),P(this),this.#e.audit({message:"Guest created",guestUrl:window.location.href,correlationId:this.#n})}#f=()=>({guestId:this.#m,guestTitle:this.#i,guestUrl:this.#u});#b=k=>{if(!k||!k.objectId)throw this.#e.error("Deserialization of scripting object failed. Object does not have an Object ID."),new Error("Cannot deserialize object JSON into proxy.");const K=new i.V(k.objectId,k.objectType);return k.functions&&k.functions.forEach(U=>{Object.defineProperty(K,U,{value:async(...V)=>this.#j({objectId:K.id,functionName:U,functionParams:[].slice.call(V)}),enumerable:!0})}),k.events&&k.events.forEach(U=>{Object.defineProperty(K,U,{value:new c.b3({objectId:K.id,name:U,eventSrc:this}),enumerable:!0})}),this.#e.debug(`Created guest proxy for scripting object (id = "${K.id}")`),K};#j=async({objectId:k,functionName:K,functionParams:U})=>{this.#e.debug(`Invoking scripting object method ${k}.${K}()...`);const V=[];if(U)for(let N=0;N<U.length;N+=1){const W=U[N];W instanceof Promise&&V.push(W.then(Z=>{U[N]=Z}))}await Promise.all(V);const se=await this.#t.invoke({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.ObjectInvoke,messageBody:{objectId:k,functionName:K,functionParams:U}}),G=this.#E(se);return this.#e.audit({message:"Guest proxy invoked Scripting Object method",scriptingObject:k,scriptingMethod:K,...this.#f()}),G};#w(k,K){return Object.entries(K).every(([U,V])=>{const se=k[U];if("eq"in V)return se===V.eq;if("in"in V)return Array.isArray(V.in)&&V.in.includes(se);if("includes"in V)return Array.isArray(se)&&se.includes(V.includes);if("gt"in V){const G=typeof se=="number"?se:Number(se);return!Number.isNaN(G)&&G>V.gt}if("lt"in V){const G=typeof se=="number"?se:Number(se);return!Number.isNaN(G)&&G<V.lt}if("regex"in V)try{const G=new RegExp(V.regex);return typeof se=="string"&&G.test(se)}catch{return!1}return!1})}#E=k=>k?.type==="object"&&"object"in k?this.#b(k.object):k?.type==="value"?k.value:k;#A=({body:k})=>{k?.logLevel&&(this.#e.setLogLevel(k.logLevel),this.#e.debug(`Log level changed by host to ${k.logLevel}`)),this.#m=k?.guestId??null,this.#i=k?.guestTitle??null,this.#u=k?.guestUrl??null,this.#e.audit({message:"Received configuration from Host",...this.#f()})};#S=()=>{window.focus()};#C=async()=>{await this.close(),window.close()};#O=()=>{y()||setInterval(()=>{this.#c?.closed&&this.close().then(()=>{window.close()}).catch(()=>{})},1e3)};#T=async({sourceWin:k,sourceOrigin:K,requestId:U,body:V})=>{const se=this.#b(V.object);if(se){const G=(0,c._s)(se.id,V.eventName);this.#e.debug(`Received event "${G}" from host`);let N;V.eventHandler?N=[{callback:window[V.eventHandler],token:(0,r.A)()}]:N=this.#a.get(G)||[];const W=[];if(N.forEach(Z=>{if(Z?.callback){if(Z.criteria&&!(V.eventParams?this.#w(V.eventParams,Z.criteria):!1)){this.#e.debug(`Event ${G} did not match criteria for subscriber ${Z.callback.name}`);return}this.#e.debug(`Invoking event subscriber ${Z.callback.name} for event ${G}`);const te=Z.callback({obj:se,eventName:V.eventName,eventParams:V.eventParams,eventOptions:V.eventOptions});te instanceof Promise?W.push(te):typeof te<"u"&&W.push(Promise.resolve(te))}}),U){const Z=await Promise.all(W);this.#t.respond({targetWin:k,targetOrigin:K,requestId:U,response:Z}),this.#e.audit({message:"Guest proxy processed event from host and responded",scriptingEventId:G,scriptingObject:se.id,...this.#f()})}else this.#e.audit({message:"Guest proxy processed event from host",scriptingEventId:G,scriptingObject:se.id,...this.#f()})}};#P=async()=>{!this.#d||!this.#h||!this.#p||await fetch(`${this.#p}/oauth2/v1/token/introspection?${new URLSearchParams({token:this.#d,client_id:this.#h}).toString()}`,{headers:{"content-type":"application/x-www-form-urlencoded;charset=UTF-8"},method:"POST"})};#D=async()=>{if(this.#d&&this.#h&&this.#p)try{await fetch(`${this.#p}/oauth2/v1/token/revocation?${new URLSearchParams({token:this.#d,client_id:this.#h}).toString()}`,{method:"POST"})}catch(k){this.#e.error(`Error revoking token. ${k.message}`)}finally{this.#d=null,this.#h=null}};#R=async()=>{if(this.#_)try{const k=await this.getObject("application");k?(this.#v=(0,n.throttle)(async()=>{try{await k.keepSessionAlive(),await this.#P()}catch(K){this.#e.error(`Error keeping session alive. ${K.message}`)}},this.#x,{leading:!1}),E.forEach(K=>{document.addEventListener(K,this.#v)})):this.#e.warn("Application object not available to send keep alive")}catch(k){this.#e.error(`Error getting application object. ${k.message}`)}};#k=async()=>{try{const k=await this.getObject("module");if(k?.log&&!this.#y.console){const{index:K="",team:U="",appName:V=""}=this.#y||{};if(!K||!U||!V)throw new Error("Missing one of required logger options: index, team, appName");this.#e=(0,l.logger)({transport:(0,l.parentApp)(k),index:K,team:U,appName:V})}}catch(k){this.#e.info(`Module object not exposed from hosting application. using local logger instance. ${k.message}`)}};addScript=async(k,K)=>{if(!this.#o&&k){await this.connect();const U=document.createElement("script");U.setAttribute("src",k),U.setAttribute("type","module"),await new Promise(V=>{const se=()=>{U?.removeEventListener?.("load",se),this.#o=!0,C(!0),V()};U.addEventListener("load",se),this.#r=K.appendChild(U)})}};close=async()=>{this.#s&&(this.#t.send({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.GuestClose,messageBody:{}}),this.#t.removeSender({origin:this.#l,window:this.#c}),this.#t.close(),this.#v&&E.forEach(k=>{document.removeEventListener(k,this.#v)}),await this.#D(),window.removeEventListener("beforeunload",this.close),this.#s=!1,this.#e.audit({message:"Guest disconnected from host",...this.#f()}),this.#m=null,this.#u=null,this.#i=null)};connect=async k=>{if(!this.#s){let K=window,U={...v};if(k){K=k.window||K;const se={...k};delete se.window,U=Object.assign(U,se)}const V=await D();this.#l=V.origin,this.#c=V.window,this.#t.initialize(K),this.#t.addSender({origin:this.#l,window:this.#c}),this.#t.listen({messageType:t.G.ObjectEvent,callback:this.#T.bind(this)}),this.#t.listen({messageType:t.G.HostConfig,callback:this.#A.bind(this)}),this.#t.listen({messageType:t.G.GuestFocus,callback:this.#S.bind(this)}),this.#t.listen({messageType:t.G.HostClose,callback:this.#C.bind(this)}),this.#t.send({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.GuestReady,messageBody:U}),this.#s=!0,this.#O(),this.#g&&await this.getAuthToken(),await this.#R(),window.addEventListener("beforeunload",this.close),this.#e.audit({message:"Guest connected to host",guestUrl:window.location.href})}};getAuthToken=async()=>{if(!this.#d&&this.#s)try{const k=await this.getObject("auth");if(k){const K=await k.getAccessToken();this.#d=K?.access_token,this.#p=K?.host_name,this.#h=K?.client_id}else this.#e.warn("Auth object not available to get access token from host")}catch(k){this.#e.error(`Error getting access token from auth object. ${k.message}`)}return this.#d};getObject=async k=>{if(this.#e.debug(`Retrieving scripting object "${k}" from host...`),!this.#s)throw new Error("Not connected to host");const K=await this.#t.invoke({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.ObjectGet,messageBody:{objectId:k}}),U=this.#b(K.object);return this.#e.audit({message:"Received scripting object from host",scriptingObject:k,...this.#f()}),U};listObjects=async()=>{if(this.#e.debug("Retrieving names of scripting objects exposed by host..."),!this.#s)throw new Error("Not connected to host");const k=await this.#t.invoke({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.ListObjects,messageBody:{}});return this.#e.audit({message:"Received names of all scripting objects exposed by host",objects:k,...this.#f()}),k};removeScript=()=>{if(this.#o&&this.#r){const{parentNode:k}=this.#r;k?.removeChild?.(this.#r)}};setLogLevel=k=>{this.#e.setLogLevel(k),this.#e.debug(`Log level changed by guest to ${k}`)};subscribe=k=>{const{eventId:K,criteria:U,callback:V}=k;this.#e.debug(`Registering subscription for event ${K}`);const se=this.#a.get(K.toLowerCase())||[],G=(0,r.A)();return se.push({callback:V,token:G,criteria:U}),this.#a.set(K.toLowerCase(),se),this.#t.send({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.GuestEventSubscribe,messageBody:{eventId:K,criteria:U,token:G}}),this.#e.debug(`Subscribed to event ${K} with token ${G}`),G};unsubscribe=k=>{const{eventId:K,token:U}=k,V=this.#a.get(K.toLowerCase());if(V){const se=V.length,G=V.filter(N=>N.token!==U);G.length<se&&(this.#a.set(K.toLowerCase(),G),this.#t.send({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.GuestEventUnsubscribe,messageBody:{eventId:K,token:U}}),this.#e.debug(`Unsubscribed from event ${K}`))}}}},"./node_modules/.pnpm/@elliemae+ssf-host@2.22.0_@elliemae+pui-diagnostics@3.11.3/node_modules/@elliemae/ssf-host/dist/esm/host.js"(d,p,e){"use strict";e.d(p,{P:()=>P});var r=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),n=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/remoting.js"),o=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/scriptingObjectManager.js"),t=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/messageType.js"),i=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/event.js"),c=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/proxy.js"),l=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/scriptingObject.js"),h=(L=>(L.Popup="popup",L.Embed="embed",L))(h||{}),g=(L=>(L.AllowDownloadsWithoutUserActivation="allow-downloads-without-user-activation",L.AllowDownloads="allow-downloads",L.AllowForms="allow-forms",L.AllowModals="allow-modals",L.AllowOrientationLock="allow-orientation-lock",L.AllowPointerLock="allow-pointer-lock",L.AllowPopups="allow-popups",L.AllowPopupsToEscapeSandbox="allow-popups-to-escape-sandbox",L.AllowPresentation="allow-presentation",L.AllowSameOrigin="allow-same-origin",L.AllowScripts="allow-scripts",L.AllowStorageAccessByUserActivation="allow-storage-access-by-user-activation",L.AllowTopNavigation="allow-top-navigation",L.AllowTopNavigationByUserActivation="allow-top-navigation-by-user-activation",L))(g||{});const y=L=>{if(L==="about:blank")return"*";try{const{origin:w}=new URL(L);return w==="null"||!w?L:w}catch{const{origin:v}=new URL(L,document.baseURI);return v}},b=(L,w=[])=>{const v=w||[];return L&&L.forEach?L.forEach(_=>{b(_,v)}):typeof L<"u"&&v.push(L),v},T=L=>typeof L?._toJSON=="function";function O(L){return typeof L=="function"}const D=L=>L?.id??L;class S{id;title;url;searchParams;domElement;window;openMode;origin;initialized=!1;ready=!1;capabilities;#n;#e;constructor(w){const{guestId:v,domElement:_=null,title:I,url:E,window:R,searchParams:B={},openMode:ee=h.Embed,remoting:k,analyticsObj:K}=w;this.id=v,this.title=I,this.url=E,this.origin=y(E),this.searchParams=B,this.domElement=_,this.window=R,this.openMode=ee,this.capabilities={},this.#e=K,this.#n=k}dispose=()=>{if(this.openMode===h.Popup&&!this.window.closed)try{this.window.document,this.window.close()}catch{this.#n.send({targetWin:this.window,targetOrigin:this.origin,messageType:t.G.HostClose,messageBody:{}})}else this.domElement?.remove?.();this.#n.removeSender({origin:this.origin,window:this.window})};getInfo=()=>({guestId:this.id,guestTitle:this.title,guestUrl:this.url});handShake=()=>new Promise(w=>{let v=0;const _=5,I=setInterval(()=>{v>=_?(clearInterval(I),w(!1)):(this.#n.send({targetWin:this.window,targetOrigin:this.origin,messageType:t.G.HandShake,messageBody:{}}),v+=1)},1e3);this.#n.listen({messageType:t.G.HandShakeAck,callback:()=>{clearInterval(I),w(!0)}})});init=()=>{this.#n.addSender({origin:this.origin,window:this.window}),this.openMode===h.Popup&&this.handShake().catch(()=>{})};dispatchEvent=(w,v)=>(this.#e.startTiming(`ScriptingObject.Event.${w.object.objectId}.${w.eventName}`,{appId:this.id,appUrl:this.url}).catch(()=>{}),this.#n.invoke({targetWin:this.window,targetOrigin:this.origin,messageType:t.G.ObjectEvent,messageBody:w,responseTimeoutMs:v}).finally(()=>{this.#e.endTiming(`ScriptingObject.Event.${w.object.objectId}.${w.eventName}`,{appId:this.id,appUrl:this.url}).catch(()=>{})}));send=w=>{this.#n.send({targetWin:this.window,targetOrigin:this.origin,...w})}}const C=[g.AllowScripts,g.AllowPopups,g.AllowModals,g.AllowForms,g.AllowDownloads,g.AllowSameOrigin];class P{hostId;#n;#e;#t;#o;#r=new Map;#s=new Map;#a;#m=null;#i=null;#u=null;#l=null;constructor(w,v){if(this.hostId=w,!v?.logger)throw new Error("Logger is required");if(!v?.analyticsObj)throw new Error("Analytics object is required");if(this.#t=v.logger,this.#o=v.analyticsObj,this.#e=(0,r.A)(),this.#n=new n.K(this.#t,this.#e),v?.readyStateCallback&&typeof v?.readyStateCallback!="function")throw new Error("readyStateCallback must be a function");this.#m=v?.readyStateCallback||null,this.#u=v?.onGuestEventSubscribe||null,this.#l=v?.onGuestEventUnsubscribe||null,this.#a=new o.qE,this.#n.initialize(window),this.#R(),window.addEventListener("beforeunload",this.#h),this.#F(),this.#t.debug(`host is initialized. hostId: ${this.hostId}, correlationId: ${this.#e}`)}#c=(w,v)=>{const _={event:w,...v};this.#o.sendBAEvent(_).catch(()=>{})};#g=(w,v)=>{this.#o.startTiming(w,v).catch(()=>{})};#d=(w,v)=>{this.#o.endTiming(w,v).catch(()=>{})};#h=()=>{for(const w of this.#r.values())w.openMode===h.Popup&&this.unloadGuest(w.id)};#p=w=>Array.from(this.#r.values()).find(v=>v.window===w);#_=w=>{for(const v of this.#r.values())if(v.url===w)return v;return null};#x=w=>typeof w?._toJSON=="function";#y=(w,v)=>this.#x(w)?(this.#a.has(w?.id,v)||this.#a.addScriptingObject(w,v?{guestId:v?.id}:{}),{type:"object",object:w._toJSON()}):{type:"value",value:w};#v=w=>typeof w=="string"?w:w instanceof Error?w.message:"An unexpected error occurred in the host application";#f=w=>{w.ready&&this.#n.send({targetWin:w.window,targetOrigin:w.origin,messageType:t.G.HostConfig,messageBody:{logLevel:this.#t.getLogLevel(),...w.getInfo()}})};#b=({guest:w,obj:v,functionName:_,functionParams:I})=>{const E=v[_];return O(E)?(this.#t.debug(`Invoking host implementation of ${v.id}.${String(_)}()`),new Promise(R=>{Object.defineProperty(E,"callContext",{value:{guest:w},configurable:!0,enumerable:!0,writable:!0}),R(E(...I))})):(this.#t.warn(`Attempt to call invalid function on object type ${v.objectType}: ${String(_)}`),Promise.reject(new Error(`Method '${_}' not found in Scripting Object '${v.id}'`)))};#j=({sourceWin:w,sourceOrigin:v,requestId:_})=>{const I=this.#p(w);if(!I){this.#t.warn(`Received ready event for unknown guest. requestId: ${_}`);return}if(!I.initialized){this.#t.warn("Guest must be initialized before it is marked as ready"),this.#n.raiseException({targetWin:w,targetOrigin:v,requestId:_,ex:"Guest must be initialized before it is marked as ready"});return}if(!I.ready){I.ready=!0;const E=I.getInfo();this.#d("SSF.Guest.Load",{appId:E.guestId,appUrl:E.guestUrl}),this.#f(I),this.#m?.(I),this.#t.audit({message:"Guest is ready",...E})}};#w=({sourceWin:w,sourceOrigin:v,requestId:_,body:I})=>{const E=this.#p(w);if(!E){this.#t.warn(`Received ready event for unknown guest. requestid = ${_}`);return}E.initialized||(E.initialized=!0,E.capabilities=I||{},this.#t.audit({message:"Guest is initialized",...E.getInfo()})),(!I||!I.onReady)&&this.#j({sourceWin:w,sourceOrigin:v,requestId:_,type:"",body:null})};#E=async({sourceWin:w})=>{if(w?.window){const v=this.#I(w);v&&!await v.handShake()&&this.unloadGuest(w)}};#A=({sourceWin:w,sourceOrigin:v,requestId:_})=>{this.#t.debug(`Processing listObjects request. requestId = ${_}`);const I=this.#p(w);if(!I)return this.#t.warn("Rejected object request from unknown guest window"),!1;const E=this.#a.listScriptingObjects(I.id);return this.#n.respond({targetWin:w,targetOrigin:v,requestId:_,response:E}),this.#t.audit({message:"name of scripting objects returned",requestId:_,objects:E,...I.getInfo()}),!0};#S=({sourceWin:w,sourceOrigin:v,requestId:_,body:I})=>{const{objectId:E}=I;this.#t.debug(`Processing getObject request for object ${E}. requestId = ${_}`);const R=this.#p(w);if(!R)return this.#t.warn("Rejected object request from unknown guest window"),!1;const B=this.getScriptingObject(E,{guest:R});return B?(this.#n.respond({targetWin:w,targetOrigin:v,requestId:_,response:this.#y(B,R)}),this.#t.audit({message:"Scripting Object returned",requestId:_,scriptingObject:E,...R.getInfo()}),!0):(this.#t.warn(`unknown or unauthorized object ${E} from guest ${R.id}`),this.#n.raiseException({targetWin:w,targetOrigin:v,requestId:_,ex:`The requested object (${E}) is not available`}),!1)};#C=({sourceWin:w,requestId:v,body:_})=>{const{eventId:I,criteria:E,token:R}=_;this.#t.debug(`Processing guest event subscribe request for event ${I}. requestId = ${v}`);const B=this.#p(w);if(!B){this.#t.warn("Rejected event subscribe request from unknown guest window");return}setTimeout(()=>{try{this.#u?.({guestId:B.id,eventId:I,criteria:E,token:R})}catch{}},0)};#O=({sourceWin:w,requestId:v,body:_})=>{const{eventId:I,token:E}=_;this.#t.debug(`Processing guest event unsubscribe request for event ${I}. requestId = ${v}`);const R=this.#p(w);if(!R){this.#t.warn("Rejected event unsubscribe request from unknown guest window");return}setTimeout(()=>{try{this.#l?.({guestId:R.id,eventId:I,token:E})}catch{}},0)};#T=({sourceWin:w,requestId:v,body:_})=>{const I=this.#p(w);if(!I){this.#t.warn(`Received resize event from unknown guest. requestid = ${v}`);return}I.domElement&&(I.domElement.style.height=`${_.height}px`),this.#t.debug(`Guest ${I.id} resized to ${_.width}x${_.height}`)};#P=({sourceWin:w,sourceOrigin:v,requestId:_,body:I})=>{const{objectId:E}=I,R=this.#p(w);if(!R)return this.#t.warn("Rejected method invocation request from unknown guest window"),!1;this.#t.debug(`Function ${E}.${String(I.functionName)}() called from guest "${R.id}" (requestId = ${_})`);const B=this.getScriptingObject(E,{guest:R});if(!B)return this.#t.warn(`Invocation of unknown or unauthorized object ${E} from guest ${R.id}`),this.#n.raiseException({targetWin:w,targetOrigin:v,requestId:_,ex:`The requested object (${E}) is not available`}),!1;const ee=R.getInfo();return this.#g(`ScriptingObject.API.${E}.${I.functionName}`,{appId:ee.guestId,appUrl:ee.guestUrl}),this.#b({guest:R,obj:B,functionName:I.functionName,functionParams:I.functionParams}).then(k=>{this.#n.respond({targetWin:w,targetOrigin:v,requestId:_,response:this.#y(k,R)}),this.#t.audit({message:"Value returned for Scripting Object method call",requestId:_,scriptingObject:E,scriptingMethod:I.functionName,...ee})}).catch(k=>{this.#n.raiseException({targetWin:w,targetOrigin:R.origin,requestId:_,ex:k}),this.#t.audit({message:"Exception thrown for Scripting Object method call",requestId:_,scriptingObject:E,scriptingMethod:I.functionName,...ee})}).finally(()=>{this.#d(`ScriptingObject.API.${E}.${I.functionName}`,{appId:ee.guestId,appUrl:ee.guestUrl})}),!0};#D=()=>{this.#n.listen({messageType:t.G.GuestResize,callback:this.#T})};#R=()=>{this.#n.listen({messageType:t.G.GuestReady,callback:this.#w}),this.#n.listen({messageType:t.G.GuestReadyComplete,callback:this.#j}),this.#n.listen({messageType:t.G.GuestClose,callback:this.#E}),this.#n.listen({messageType:t.G.ListObjects,callback:this.#A}),this.#n.listen({messageType:t.G.ObjectGet,callback:this.#S}),this.#n.listen({messageType:t.G.ObjectInvoke,callback:this.#P}),this.#n.listen({messageType:t.G.GuestEventSubscribe,callback:this.#C}),this.#n.listen({messageType:t.G.GuestEventUnsubscribe,callback:this.#O})};#k=w=>w instanceof i.b3||typeof w?.subscribe=="function";#M=w=>{const v=new S({...w,remoting:this.#n,analyticsObj:this.#o});return v.init(),this.#r.set(w.guestId,v),v};#I=w=>{let v=typeof w=="string"?this.#r.get(w):null;return v||(v=Array.from(this.#r.values()).find(_=>_.window===w||_.domElement===w)),v};#F=()=>{this.#i=setInterval(()=>{const w=[];this.#r.forEach(v=>{v.openMode===h.Popup&&v.window.closed&&w.push(v)}),w.forEach(v=>{const{id:_}=v;this.unloadGuest(_),this.#s.get(_)?.forEach(E=>{E({id:_}).catch(()=>{})})})},1e3)};#L=w=>{const{url:v,title:_,popupWindowFeatures:I={},searchParams:E,guestId:R,onLoad:B,onError:ee}=w,{width:k=800,height:K=600,top:U=100,left:V=100}=I;let se=this.#_(v);if(se)se.window.closed||se.send({messageType:t.G.GuestFocus,messageBody:{}});else{const G=[{key:"width",value:k},{key:"height",value:K},{key:"top",value:U},{key:"left",value:V}].reduce((W,Z,te)=>(te>0&&Z.value&&(W+=","),Z.value?`${W}${Z.key}=${Z.value}`:W),""),N=window.open(v,_,`popup, ${G}`);if(N)try{setTimeout(()=>{B?.(R)},0)}catch(W){this.#t.debug(`Error occurred in onLoad for guest with id '${R}': ${W.message}`)}else{try{setTimeout(()=>{ee?.(R)},0)}catch(W){this.#t.debug(`Error occurred in onError for guest with id '${R}': ${W.message}`)}throw new Error("Failed to open guest application in popup window")}N.opener=null,se=this.#M({guestId:R,window:N,title:_,url:v,searchParams:E,openMode:h.Popup})}return se};#N=w=>{const{url:v,title:_,targetElement:I,searchParams:E,guestId:R,onLoad:B,onError:ee,options:k={}}=w,K=I.ownerDocument??document,{fitToContent:U=!1,disableSandbox:V=!1,sandboxValues:se=[],customSandboxValues:G=[],style:N="",permissionPolicy:W=""}=k;if(!_)throw new Error("title is required");U&&this.#D();const Z=K.createElement("iframe");Z.setAttribute("id",R);const te=()=>{setTimeout(()=>{try{B?.(R)}catch(Ae){this.#t.debug(`Error occurred in onLoad for guest with id '${R}': ${Ae.message}`)}},0),this.#t.debug(`frame loaded for guest with id '${R}'`),Z.removeEventListener("load",te)},q=()=>{setTimeout(()=>{try{ee?.(R)}catch(Ae){this.#t.debug(`Error occurred in onError for guest with id '${R}': ${Ae.message}`)}},0),this.#t.error(`frame load failed for guest with id '${R}'`),Z.removeEventListener("error",q)};Z.addEventListener("load",te),Z.addEventListener("error",q),Z.setAttribute("style",`min-width: 100%; height: 100%; border: 0px; ${N}`),V||Z.setAttribute("sandbox",G.length>0?G.join(" "):[...C,...se].join(" ")),Z.setAttribute("title",_),Z.setAttribute("src",v),W&&Z.setAttribute("allow",W),I.appendChild(Z);const de=K.getElementById(R);return this.#M({guestId:R,domElement:de,window:de.contentWindow,title:_,url:v,searchParams:E,openMode:h.Embed})};#B=(w,v)=>{let _="";return Object.keys(v).forEach(I=>{_+=`${(_.length?"&":"")+encodeURIComponent(I)}=${encodeURIComponent(v[I])}`}),w+(_?(w.indexOf("?")>=0?"&":"?")+_:"")};addScriptingObject=(w,v)=>{if((0,c.h)(w)){const _=this.cloneScriptingObject(w);this.#a.addScriptingObject(_,v)}else this.#a.addScriptingObject(w,v)};cloneScriptingObject=w=>{if(!w)throw new Error("proxy is required");const v=new l.P(w.id,w.objectType);let _=[];return Object.keys(w).forEach(I=>{const E=w[I];if(this.#k(E)){const R=new i.Jh({name:E.name||I,objectId:v.id});if(Object.defineProperty(v,I,{value:R,enumerable:!0}),E instanceof i.b3){const B=({eventParams:k,eventOptions:K})=>this.dispatchEvent({event:R,eventParams:k,eventOptions:K}),ee=E.subscribe(B);_.push(()=>{E.unsubscribe(ee)})}else{const B=E.subscribe?.((ee,k,K)=>this.dispatchEvent({event:R,eventParams:k,eventOptions:K}));_.push(()=>{E.unsubscribe?.(B)})}}else if(O(E)&&(Object.defineProperty(v,I,{value:async(...R)=>{const B=await E(...R);return(0,c.h)(B)?this.cloneScriptingObject(B):B},enumerable:!0}),I==="dispose")){const R=v.dispose;Object.defineProperty(v,I,{value:()=>(v._dispose(),R.apply(v)),enumerable:!0})}}),v._dispose=()=>{_.forEach(I=>{I?.()}),_=[]},v};close=()=>{clearInterval(this.#i),this.#h(),this.#n.close(),window.removeEventListener("beforeunload",this.#h),this.#t.debug(`host is closed. hostId: ${this.hostId}, correlationId: ${this.#e}`)};dispatchEvent=async w=>{const{event:{id:v,name:_},eventParams:I,eventOptions:E={}}=w,{eventHandler:R=null,timeout:B=null,window:ee=null,guestId:k}=E,K=v.split(".")[0],U=k||ee,V=U?this.#I(U):null,se=V?this.getScriptingObject(K,{guest:V}):this.getScriptingObject(K);if(!se)return this.#t.warn(`Attempt to dispatch event ${_} on unknown object ${K}`),Promise.resolve([]);const G={object:se._toJSON(),eventName:_,eventParams:I,eventHandler:R,eventOptions:{allowsFeedback:!1}};B&&!Number.isNaN(B)&&(G.eventOptions={allowsFeedback:!0,timeout:Number(B)});const N=[];let W=!1;return this.#r.forEach(te=>{const q=te.getInfo();(!ee||ee===te.window)&&(B&&te?.capabilities?.eventFeedback?(N.push(te.dispatchEvent(G,B)),W||(this.#g(`ScriptingObject.Event.${se.id}.${_}`,{appId:this.hostId,appUrl:window.location.href}),W=!0),this.#t.audit({message:"Event dispatched and awaiting feedback",scriptingEventId:v,...q})):(te.send({messageType:t.G.ObjectEvent,messageBody:G}),this.#t.audit({message:"Event dispatched",scriptingEventId:v,...q})))}),await Promise.all(N).then(te=>(this.#t.audit({message:"Event feedback received",scriptingEventId:v}),b(te))).catch(te=>{throw this.#t.error({message:"Error processing event",eventId:v,exception:te}),te}).finally(()=>{W&&this.#d(`ScriptingObject.Event.${se.id}.${_}`,{appId:this.hostId,appUrl:window.location.href})})};getGuests=()=>{const w=[];return this.#r.forEach(v=>{w.push(v)}),w};getScriptingObject=(w,v)=>this.#a.getObject(w,v?.guest);loadGuest=w=>{const{id:v,url:_,targetElement:I,title:E,searchParams:R={},onLoad:B,onError:ee,options:k={}}=w;if(!v)throw new Error("id for guest application is required");const{openMode:K=h.Embed,popupWindowFeatures:U={}}=k,V=this.#B(_,R);let se=null;if(this.#g("SSF.Guest.Load",{appId:v,appUrl:V}),K===h.Popup)se=this.#L({guestId:v,url:V,title:E,searchParams:R,popupWindowFeatures:U,onLoad:B,onError:ee});else if(K===h.Embed)se=this.#N({guestId:v,url:V,title:E,targetElement:I,searchParams:R,onLoad:B,onError:ee,options:k});else throw new Error(`Invalid openMode: ${K}`);return this.#t.audit({message:"Guest loaded",...se.getInfo()}),se};loadGuests=w=>{const{id:v,url:_,targetElement:I,title:E,searchParamsList:R=[],options:B={}}=w;R.forEach((ee,k)=>{this.loadGuest({id:`${v}-${k}`,url:_,title:E,targetElement:I,searchParams:ee,options:B})},this)};removeAllScriptingObjects=w=>{this.#a.removeAllScriptingObjects(w)};removeScriptingObject=(w,v)=>{this.#a.removeScriptingObject(w,v)};setLogLevel=w=>{this.#t.setLogLevel(w),this.#r.forEach(this.#f),this.#t.debug("Dispatched config events to all guests")};unloadGuest=w=>{const v=this.#I(w);v&&(v.dispose(),this.#r.delete(v.id),this.#t.audit({message:"Guest is removed from host",...v.getInfo()}))};onGuestClose=w=>{const{id:v,guestCloseCallback:_}=w,I=this.#s.get(v)||[];I.push(_),this.#s.set(v,I)}}},"./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"(d,p,e){"use strict";e.d(p,{A:()=>r});function r(n){var o=Object.create(null);return function(t){return o[t]===void 0&&(o[t]=n(t)),o[t]}}},"./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.esm.js"(d,p,e){"use strict";e.d(p,{$k:()=>Qe});var r=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.esm.js"),n=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.esm.js"),o="NOT_FOUND";function t(nn){var Yn;return{get:function(hn){return Yn&&nn(Yn.key,hn)?Yn.value:o},put:function(hn,Hn){Yn={key:hn,value:Hn}},getEntries:function(){return Yn?[Yn]:[]},clear:function(){Yn=void 0}}}function i(nn,Yn){var Gn=[];function hn(Ct){var rt=Gn.findIndex(function($t){return Yn(Ct,$t.key)});if(rt>-1){var Nt=Gn[rt];return rt>0&&(Gn.splice(rt,1),Gn.unshift(Nt)),Nt.value}return o}function Hn(Ct,rt){hn(Ct)===o&&(Gn.unshift({key:Ct,value:rt}),Gn.length>nn&&Gn.pop())}function jn(){return Gn}function Jn(){Gn=[]}return{get:hn,put:Hn,getEntries:jn,clear:Jn}}var c=function(Yn,Gn){return Yn===Gn};function l(nn){return function(Gn,hn){if(Gn===null||hn===null||Gn.length!==hn.length)return!1;for(var Hn=Gn.length,jn=0;jn<Hn;jn++)if(!nn(Gn[jn],hn[jn]))return!1;return!0}}function h(nn,Yn){var Gn=typeof Yn=="object"?Yn:{equalityCheck:Yn},hn=Gn.equalityCheck,Hn=hn===void 0?c:hn,jn=Gn.maxSize,Jn=jn===void 0?1:jn,Ct=Gn.resultEqualityCheck,rt=l(Hn),Nt=Jn===1?t(rt):i(Jn,rt);function $t(){var x=Nt.get(arguments);if(x===o){if(x=nn.apply(null,arguments),Ct){var J=Nt.getEntries(),Se=J.find(function(Ue){return Ct(Ue.value,x)});Se&&(x=Se.value)}Nt.put(arguments,x)}return x}return $t.clearCache=function(){return Nt.clear()},$t}function g(nn){var Yn=Array.isArray(nn[0])?nn[0]:nn;if(!Yn.every(function(hn){return typeof hn=="function"})){var Gn=Yn.map(function(hn){return typeof hn=="function"?"function "+(hn.name||"unnamed")+"()":typeof hn}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+Gn+"]")}return Yn}function y(nn){for(var Yn=arguments.length,Gn=new Array(Yn>1?Yn-1:0),hn=1;hn<Yn;hn++)Gn[hn-1]=arguments[hn];var Hn=function(){for(var Jn=arguments.length,Ct=new Array(Jn),rt=0;rt<Jn;rt++)Ct[rt]=arguments[rt];var Nt=0,$t,x={memoizeOptions:void 0},J=Ct.pop();if(typeof J=="object"&&(x=J,J=Ct.pop()),typeof J!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof J+"]");var Se=x,Ue=Se.memoizeOptions,pe=Ue===void 0?Gn:Ue,ve=Array.isArray(pe)?pe:[pe],ue=g(Ct),Ie=nn.apply(void 0,[function(){return Nt++,J.apply(null,arguments)}].concat(ve)),rn=nn(function(){for(var bn=[],Ln=ue.length,qn=0;qn<Ln;qn++)bn.push(ue[qn].apply(null,arguments));return $t=Ie.apply(null,bn),$t});return Object.assign(rn,{resultFunc:J,memoizedResultFunc:Ie,dependencies:ue,lastResult:function(){return $t},recomputations:function(){return Nt},resetRecomputations:function(){return Nt=0}}),rn};return Hn}var b=y(h),T=function(Yn,Gn){if(Gn===void 0&&(Gn=b),typeof Yn!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof Yn));var hn=Object.keys(Yn),Hn=Gn(hn.map(function(jn){return Yn[jn]}),function(){for(var jn=arguments.length,Jn=new Array(jn),Ct=0;Ct<jn;Ct++)Jn[Ct]=arguments[Ct];return Jn.reduce(function(rt,Nt,$t){return rt[hn[$t]]=Nt,rt},{})});return Hn},O=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/es/redux.js"),D=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),S=function(nn,Yn){var Gn={label:0,sent:function(){if(jn[0]&1)throw jn[1];return jn[1]},trys:[],ops:[]},hn,Hn,jn,Jn;return Jn={next:Ct(0),throw:Ct(1),return:Ct(2)},typeof Symbol=="function"&&(Jn[Symbol.iterator]=function(){return this}),Jn;function Ct(Nt){return function($t){return rt([Nt,$t])}}function rt(Nt){if(hn)throw new TypeError("Generator is already executing.");for(;Gn;)try{if(hn=1,Hn&&(jn=Nt[0]&2?Hn.return:Nt[0]?Hn.throw||((jn=Hn.return)&&jn.call(Hn),0):Hn.next)&&!(jn=jn.call(Hn,Nt[1])).done)return jn;switch(Hn=0,jn&&(Nt=[Nt[0]&2,jn.value]),Nt[0]){case 0:case 1:jn=Nt;break;case 4:return Gn.label++,{value:Nt[1],done:!1};case 5:Gn.label++,Hn=Nt[1],Nt=[0];continue;case 7:Nt=Gn.ops.pop(),Gn.trys.pop();continue;default:if(jn=Gn.trys,!(jn=jn.length>0&&jn[jn.length-1])&&(Nt[0]===6||Nt[0]===2)){Gn=0;continue}if(Nt[0]===3&&(!jn||Nt[1]>jn[0]&&Nt[1]<jn[3])){Gn.label=Nt[1];break}if(Nt[0]===6&&Gn.label<jn[1]){Gn.label=jn[1],jn=Nt;break}if(jn&&Gn.label<jn[2]){Gn.label=jn[2],Gn.ops.push(Nt);break}jn[2]&&Gn.ops.pop(),Gn.trys.pop();continue}Nt=Yn.call(nn,Gn)}catch($t){Nt=[6,$t],Hn=0}finally{hn=jn=0}if(Nt[0]&5)throw Nt[1];return{value:Nt[0]?Nt[1]:void 0,done:!0}}},C=function(nn,Yn){for(var Gn=0,hn=Yn.length,Hn=nn.length;Gn<hn;Gn++,Hn++)nn[Hn]=Yn[Gn];return nn},P=Object.defineProperty,L=Object.defineProperties,w=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,E=function(nn,Yn,Gn){return Yn in nn?P(nn,Yn,{enumerable:!0,configurable:!0,writable:!0,value:Gn}):nn[Yn]=Gn},R=function(nn,Yn){for(var Gn in Yn||(Yn={}))_.call(Yn,Gn)&&E(nn,Gn,Yn[Gn]);if(v)for(var hn=0,Hn=v(Yn);hn<Hn.length;hn++){var Gn=Hn[hn];I.call(Yn,Gn)&&E(nn,Gn,Yn[Gn])}return nn},B=function(nn,Yn){return L(nn,w(Yn))},ee=function(nn,Yn){var Gn={};for(var hn in nn)_.call(nn,hn)&&Yn.indexOf(hn)<0&&(Gn[hn]=nn[hn]);if(nn!=null&&v)for(var Hn=0,jn=v(nn);Hn<jn.length;Hn++){var hn=jn[Hn];Yn.indexOf(hn)<0&&I.call(nn,hn)&&(Gn[hn]=nn[hn])}return Gn},k=function(nn,Yn,Gn){return new Promise(function(hn,Hn){var jn=function(rt){try{Ct(Gn.next(rt))}catch(Nt){Hn(Nt)}},Jn=function(rt){try{Ct(Gn.throw(rt))}catch(Nt){Hn(Nt)}},Ct=function(rt){return rt.done?hn(rt.value):Promise.resolve(rt.value).then(jn,Jn)};Ct((Gn=Gn.apply(nn,Yn)).next())})},K;(function(nn){nn.uninitialized="uninitialized",nn.pending="pending",nn.fulfilled="fulfilled",nn.rejected="rejected"})(K||(K={}));function U(nn){return{status:nn,isUninitialized:nn===K.uninitialized,isLoading:nn===K.pending,isSuccess:nn===K.fulfilled,isError:nn===K.rejected}}function V(nn){return new RegExp("(^|:)//").test(nn)}var se=function(nn){return nn.replace(/\/$/,"")},G=function(nn){return nn.replace(/^\//,"")};function N(nn,Yn){if(!nn)return Yn;if(!Yn)return nn;if(V(Yn))return Yn;var Gn=nn.endsWith("/")||!Yn.startsWith("?")?"/":"";return nn=se(nn),Yn=G(Yn),""+nn+Gn+Yn}var W=function(nn){return[].concat.apply([],nn)};function Z(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function te(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var q=r.Qd;function de(nn,Yn){if(nn===Yn||!(q(nn)&&q(Yn)||Array.isArray(nn)&&Array.isArray(Yn)))return Yn;for(var Gn=Object.keys(Yn),hn=Object.keys(nn),Hn=Gn.length===hn.length,jn=Array.isArray(Yn)?[]:{},Jn=0,Ct=Gn;Jn<Ct.length;Jn++){var rt=Ct[Jn];jn[rt]=de(nn[rt],Yn[rt]),Hn&&(Hn=nn[rt]===jn[rt])}return Hn?nn:jn}var Ae=function(){for(var nn=[],Yn=0;Yn<arguments.length;Yn++)nn[Yn]=arguments[Yn];return fetch.apply(void 0,nn)},xe=function(nn){return nn.status>=200&&nn.status<=299},ye=function(nn){return/ion\/(vnd\.api\+)?json/.test(nn.get("content-type")||"")};function Re(nn){if(!isPlainObject2(nn))return nn;for(var Yn=R({},nn),Gn=0,hn=Object.entries(Yn);Gn<hn.length;Gn++){var Hn=hn[Gn],jn=Hn[0],Jn=Hn[1];Jn===void 0&&delete Yn[jn]}return Yn}function me(nn){var Yn=this;nn===void 0&&(nn={});var Gn=nn,hn=Gn.baseUrl,Hn=Gn.prepareHeaders,jn=Hn===void 0?function(rn){return rn}:Hn,Jn=Gn.fetchFn,Ct=Jn===void 0?Ae:Jn,rt=Gn.paramsSerializer,Nt=Gn.isJsonContentType,$t=Nt===void 0?ye:Nt,x=Gn.jsonContentType,J=x===void 0?"application/json":x,Se=Gn.jsonReplacer,Ue=Gn.timeout,pe=Gn.responseHandler,ve=Gn.validateStatus,ue=ee(Gn,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch>"u"&&Ct===Ae&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(rn,Ve){return k(Yn,null,function(){var bn,Ln,qn,ot,Bn,st,St,Lt,qt,fr,Ge,Tn,Kn,tt,Ft,Rt,Tt,mr,Rr,pr,er,ar,jr,wr,ht,hr,dr,Ur,yr,Br,Ar,_o,Xr,Hr,Vr,to;return S(this,function(Eo){switch(Eo.label){case 0:return bn=Ve.signal,Ln=Ve.getState,qn=Ve.extra,ot=Ve.endpoint,Bn=Ve.forced,st=Ve.type,Lt=typeof rn=="string"?{url:rn}:rn,qt=Lt.url,fr=Lt.headers,Ge=fr===void 0?new Headers(ue.headers):fr,Tn=Lt.params,Kn=Tn===void 0?void 0:Tn,tt=Lt.responseHandler,Ft=tt===void 0?pe??"json":tt,Rt=Lt.validateStatus,Tt=Rt===void 0?ve??xe:Rt,mr=Lt.timeout,Rr=mr===void 0?Ue:mr,pr=ee(Lt,["url","headers","params","responseHandler","validateStatus","timeout"]),er=R(B(R({},ue),{signal:bn}),pr),Ge=new Headers(Re(Ge)),ar=er,[4,jn(Ge,{getState:Ln,extra:qn,endpoint:ot,forced:Bn,type:st})];case 1:ar.headers=Eo.sent()||Ge,jr=function(as){return typeof as=="object"&&(isPlainObject2(as)||Array.isArray(as)||typeof as.toJSON=="function")},!er.headers.has("content-type")&&jr(er.body)&&er.headers.set("content-type",J),jr(er.body)&&$t(er.headers)&&(er.body=JSON.stringify(er.body,Se)),Kn&&(wr=~qt.indexOf("?")?"&":"?",ht=rt?rt(Kn):new URLSearchParams(Re(Kn)),qt+=wr+ht),qt=N(hn,qt),hr=new Request(qt,er),dr=new Request(qt,er),St={request:dr},yr=!1,Br=Rr&&setTimeout(function(){yr=!0,Ve.abort()},Rr),Eo.label=2;case 2:return Eo.trys.push([2,4,5,6]),[4,Ct(hr)];case 3:return Ur=Eo.sent(),[3,6];case 4:return Ar=Eo.sent(),[2,{error:{status:yr?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(Ar)},meta:St}];case 5:return Br&&clearTimeout(Br),[7];case 6:_o=Ur.clone(),St.response=_o,Hr="",Eo.label=7;case 7:return Eo.trys.push([7,9,,10]),[4,Promise.all([Ie(Ur,Ft).then(function(as){return Xr=as},function(as){return Vr=as}),_o.text().then(function(as){return Hr=as},function(){})])];case 8:if(Eo.sent(),Vr)throw Vr;return[3,10];case 9:return to=Eo.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:Ur.status,data:Hr,error:String(to)},meta:St}];case 10:return[2,Tt(Ur,Xr)?{data:Xr,meta:St}:{error:{status:Ur.status,data:Xr},meta:St}]}})})};function Ie(rn,Ve){return k(this,null,function(){var bn;return S(this,function(Ln){switch(Ln.label){case 0:return typeof Ve=="function"?[2,Ve(rn)]:(Ve==="content-type"&&(Ve=$t(rn.headers)?"json":"text"),Ve!=="json"?[3,2]:[4,rn.text()]);case 1:return bn=Ln.sent(),[2,bn.length?JSON.parse(bn):null];case 2:return[2,rn.text()]}})})}}var Me=function(){function nn(Yn,Gn){Gn===void 0&&(Gn=void 0),this.value=Yn,this.meta=Gn}return nn}();function Xe(nn,Yn){return nn===void 0&&(nn=0),Yn===void 0&&(Yn=5),k(this,null,function(){var Gn,hn;return S(this,function(Hn){switch(Hn.label){case 0:return Gn=Math.min(nn,Yn),hn=~~((Math.random()+.4)*(300<<Gn)),[4,new Promise(function(jn){return setTimeout(function(Jn){return jn(Jn)},hn)})];case 1:return Hn.sent(),[2]}})})}function sn(nn){throw Object.assign(new Me({error:nn}),{throwImmediately:!0})}var An={},En=function(nn,Yn){return function(Gn,hn,Hn){return k(void 0,null,function(){var jn,Jn,Ct,rt,Nt,$t,x;return S(this,function(J){switch(J.label){case 0:jn=[5,(Yn||An).maxRetries,(Hn||An).maxRetries].filter(function(Se){return Se!==void 0}),Jn=jn.slice(-1)[0],Ct=function(Se,Ue,pe){var ve=pe.attempt;return ve<=Jn},rt=R(R({maxRetries:Jn,backoff:Xe,retryCondition:Ct},Yn),Hn),Nt=0,J.label=1;case 1:J.label=2;case 2:return J.trys.push([2,4,,6]),[4,nn(Gn,hn,Hn)];case 3:if($t=J.sent(),$t.error)throw new Me($t);return[2,$t];case 4:if(x=J.sent(),Nt++,x.throwImmediately){if(x instanceof Me)return[2,x.value];throw x}return x instanceof Me&&!rt.retryCondition(x.value.error,Gn,{attempt:Nt,baseQueryApi:hn,extraOptions:Hn})?[2,x.value]:[4,rt.backoff(Nt,rt.maxRetries)];case 5:return J.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})}},On=Object.assign(En,{fail:sn}),zn=(0,r.VP)("__rtkq/focused"),In=(0,r.VP)("__rtkq/unfocused"),at=(0,r.VP)("__rtkq/online"),un=(0,r.VP)("__rtkq/offline"),Qn=!1;function Qe(nn,Yn){function Gn(){var hn=function(){return nn(zn())},Hn=function(){return nn(In())},jn=function(){return nn(at())},Jn=function(){return nn(un())},Ct=function(){window.document.visibilityState==="visible"?hn():Hn()};Qn||typeof window<"u"&&window.addEventListener&&(window.addEventListener("visibilitychange",Ct,!1),window.addEventListener("focus",hn,!1),window.addEventListener("online",jn,!1),window.addEventListener("offline",Jn,!1),Qn=!0);var rt=function(){window.removeEventListener("focus",hn),window.removeEventListener("visibilitychange",Ct),window.removeEventListener("online",jn),window.removeEventListener("offline",Jn),Qn=!1};return rt}return Yn?Yn(nn,{onFocus:zn,onFocusLost:In,onOffline:un,onOnline:at}):Gn()}var Xn;(function(nn){nn.query="query",nn.mutation="mutation"})(Xn||(Xn={}));function gt(nn){return nn.type===Xn.query}function lt(nn){return nn.type===Xn.mutation}function Dn(nn,Yn,Gn,hn,Hn,jn){return vt(nn)?nn(Yn,Gn,hn,Hn).map(tn).map(jn):Array.isArray(nn)?nn.map(tn).map(jn):[]}function vt(nn){return typeof nn=="function"}function tn(nn){return typeof nn=="string"?{type:nn}:nn}function _n(nn){return nn!=null}var it=Symbol("forceQueryFn"),en=function(nn){return typeof nn[it]=="function"};function ae(nn){var Yn=nn.serializeQueryArgs,Gn=nn.queryThunk,hn=nn.mutationThunk,Hn=nn.api,jn=nn.context,Jn=new Map,Ct=new Map,rt=Hn.internalActions,Nt=rt.unsubscribeQueryResult,$t=rt.removeMutationResult,x=rt.updateSubscriptionOptions;return{buildInitiateQuery:rn,buildInitiateMutation:Ve,getRunningQueryThunk:Ue,getRunningMutationThunk:pe,getRunningQueriesThunk:ve,getRunningMutationsThunk:ue,getRunningOperationPromises:Se,removalWarning:J};function J(){throw new Error(`This method had to be removed due to a conceptual bug in RTK.
|
|
1413
|
+
`,h),{}),t=l=>({space:{...l.spaces,xxxs:l.spaces[1],xxs:l.spaces[2],xxs2:l.spaces[3],xs:l.spaces[4],s:l.spaces[5],m:l.spaces[6],l:l.spaces[7],xl:l.spaces[8],xxl:l.spaces[9]},fontSizes:{...l.fontSizes,title:{500:l.fontSizes[3],600:l.fontSizes[4],700:l.fontSizes[5],800:l.fontSizes[6],900:l.fontSizes[7]},subTitle:{300:l.fontSizes[1],400:l.fontSizes[2]},label:{200:l.fontSizes[0],300:l.fontSizes[1],400:l.fontSizes[2]},value:{300:l.fontSizes[1],400:l.fontSizes[2],500:l.fontSizes[3],600:l.fontSizes[4]},hyperlink:{200:l.fontSizes[0],300:l.fontSizes[1],400:l.fontSizes[2]},microText:{200:l.fontSizes[0]}},fontWeights:{...l.fontWeights,thin:l.fontWeights[0],light:l.fontWeights[1],regular:l.fontWeights[3],semibold:l.fontWeights[5],bold:l.fontWeights[8]},lineHeights:{...l.lineHeights,r:l.lineHeights[0],m:l.lineHeights[1],l:l.lineHeights[2],xl:l.lineHeights[3]},letterSpacings:{normal:l.letterSpacings[0],tracked:l.letterSpacings[1],tight:l.letterSpacings[2],mega:l.letterSpacings[3]},fonts:{...l.fonts,default:l.fonts[0]},colors:{neutral:{"000":l.colors.neutral[0],"050":l.colors.neutral[1],"080":l.colors.neutral[2],100:l.colors.neutral[3],200:l.colors.neutral[4],300:l.colors.neutral[5],400:l.colors.neutral[6],500:l.colors.neutral[7],600:l.colors.neutral[8],700:l.colors.neutral[9],800:l.colors.neutral[10]},brand:{100:l.colors.brand[0],200:l.colors.brand[1],250:l.colors.brand[8],300:l.colors.brand[2],400:l.colors.brand[3],500:l.colors.brand[4],600:l.colors.brand[5],700:l.colors.brand[6],800:l.colors.brand[7]},success:{300:l.colors.success[0],400:l.colors.success[1],600:l.colors.success[2],900:l.colors.success[3],950:l.colors.success[4]},warning:{400:l.colors.warning[0],500:l.colors.warning[1],600:l.colors.warning[1],900:l.colors.warning[2],950:l.colors.warning[3]},danger:{200:l.colors.danger[0],400:l.colors.danger[1],600:l.colors.danger[2],900:l.colors.danger[3],950:l.colors.danger[4]}},shadows:{xs:l.shadows[0],s:l.shadows[1],m:l.shadows[2],l:l.shadows[3],xl:l.shadows[4]},breakpoints:{...l.breakpoints,xsmall:l.breakpoints[3],small:l.breakpoints[0],medium:l.breakpoints[1],large:l.breakpoints[2]},media:o({xsmall:l.breakpoints[3],small:l.breakpoints[0],medium:l.breakpoints[1],large:l.breakpoints[2]}),zIndex:{dialog:l.zIndex[0],popper:l.zIndex[1],tooltip:l.zIndex[2],backdrop:l.zIndex[3],loader:l.zIndex[4]},states:{_:l.states[0],motionSafe:l.states[1],motionReduce:l.states[2],first:l.states[3],last:l.states[4],odd:l.states[5],even:l.states[6],visited:l.states[7],checked:l.states[8],focusWithin:l.states[9],hover:l.states[10],focus:l.states[11],focusVisible:l.states[12],active:l.states[13],disabled:l.states[14],placeholder:l.states[15]}}),c=((l=r())=>()=>t(l))()},"./node_modules/.pnpm/@elliemae+ssf-guest@2.22.0_@elliemae+pui-logrocket@1.1.30/node_modules/@elliemae/ssf-guest/dist/esm/guest.js"(d,p,e){"use strict";e.d(p,{p:()=>B});var r=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),n=e("./node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/lodash.js"),o=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/remoting.js"),t=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/messageType.js"),i=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/proxy.js"),c=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/event.js"),l=e("@elliemae/pui-diagnostics");const h=()=>{const{parent:ee}=window;try{return ee?.location?.href}catch{return null}},g=ee=>{if(!ee||ee==="about:blank")return"*";try{const{origin:k}=new URL(ee);return k==="null"||!k?ee:k}catch{const{origin:K}=new URL(ee,document.baseURI);return K}},y=()=>window.self!==window.parent,b=(ee,k)=>{const K=k||document.body,U=document.defaultView?.getComputedStyle?.(K,null),V=U?U[ee]:"0";return parseInt(V,10)},T=new RegExp("^https?://(.*.elliemae.io|.*.ellielabs.com|.*.ellieservices.com|.*.encompassloconnect.com|.*.ice.com|localhost:[0-9]+)","i"),O="elli:remoting",D=()=>new Promise(ee=>{if(y())ee({origin:g(document.referrer||h()),window:window.parent});else{const k=window,K=U=>{if(T.test(U.origin)){const{source:V,type:se}=U.data||{};if(V===O&&se===t.G.HandShake){const{origin:G}=U,N=U.source;(0,o._)({targetWin:N,targetOrigin:G,messageType:t.G.HandShakeAck,messageBody:{}}),k.removeEventListener("message",K),ee({origin:G,window:N})}}};k.addEventListener("message",K)}});let S=!1;const C=ee=>{S=ee},P=(ee=null)=>{let k=ee;const K=()=>{if(!k&&(k=window.ice?.guest?.SSFGuest?new window.ice.guest.SSFGuest:null,!k))throw new Error("Guest definition not found");return k};window.elli=window.elli??{},window.elli.script={guest:{create:async(U,V)=>K().addScript(U,V)},connect:async U=>(console.warn("elli.script.connect is deprecated. Please use connect method of SSFGuest class instead, const guest = new ice.guest.SSFGuest(); await guest.connect(params);"),K().connect(U)),getObject:async U=>(S||console.warn("elli.script.getObject is deprecated. Please use getObject method of SSFGuest class instead, const guest = new ice.guest.SSFGuest(); await guest.getObject(objectName);"),K().getObject(U)),setLogLevel:U=>(S||console.warn("elli.script.setLogLevel is deprecated. Please use setLogLevel method of SSFGuest class instead, const guest = new ice.guest.SSFGuest(); guest.setLogLevel(level);"),K().setLogLevel(U)),subscribe:(U,V,se,G)=>(S||console.warn("elli.script.subscribe is deprecated. Please use subscribe method of SSFGuest class instead, const guest = new ice.guest.SSFGuest(); guest.subscribe({ eventId: `${objectId}.${eventName}`, callback: (event) => { console.log(event); });"),K().subscribe({eventId:`${U}.${V}`,callback:N=>se(N?.obj,N?.eventParams,N?.eventOptions),criteria:G?.criteria})),unsubscribe:(U,V,se)=>(S||console.warn("elli.script.unsubscribe is deprecated. Please use unsubscribe method of SSFGuest class instead, const guest = new ice.guest.SSFGuest(); guest.unsubscribe({ eventId: `${objectId}.${eventName}`, token });"),K().unsubscribe({eventId:`${U}.${V}`,token:se}))}};P();var L=(ee=>(ee.OBJECT="object",ee.VALUE="value",ee))(L||{});const w=12e4,v={eventFeedback:!0},_=()=>{const{document:ee}=window,k=ee.body,K=ee.documentElement,V={height:k.offsetHeight+b("marginTop")+b("marginBottom"),width:Math.max(k.scrollWidth,K.scrollWidth)};(0,o._)({targetWin:window.parent,targetOrigin:g(ee.referrer||h()),messageType:t.G.GuestResize,messageBody:V}),window.removeEventListener("load",_)};y()&&window.addEventListener("load",_);const I={"cdn.ice.com":"https://api.elliemae.com/diagnostics/v2/logging","cdn.np.ice.com":"https://stg.api.elliemae.com/diagnostics/v2/logging","cdn.uat.ice.com":"https://concept.api.elliemae.com/diagnostics/v2/logging","cdn.pt1.ice.com":"https://pel1.api.ellielabs.com/diagnostics/v2/logging","cdn.qa1.ice.com":"https://int.api.ellielabs.com/diagnostics/v2/logging","cdn.dev1.ice.com":"https://int.api.ellielabs.com/diagnostics/v2/logging","cdn.mortgagetech.ice.com":"https://api.elliemae.com/diagnostics/v2/logging","cdn.mortgagetech.s1.ice.com":"https://stg.api.elliemae.com/diagnostics/v2/logging","cdn.mortgagetech.uat1.ice.com":"https://concept.api.elliemae.com/diagnostics/v2/logging","cdn.mortgagetech.pl1.ice.com":"https://pel1.api.ellielabs.com/diagnostics/v2/logging","cdn.mortgagetech.q1.ice.com":"https://int.api.ellielabs.com/diagnostics/v2/logging","cdn.mortgagetech.d1.ice.com":"https://int.api.ellielabs.com/diagnostics/v2/logging",localhost:"https://int.api.ellielabs.com/diagnostics/v2/logging"},E=["click","scroll","keypress","touchstart"],R=()=>{const ee=document.currentScript?.src||"file:///opt/jenkins/workspace/UIPlatform_app-sdk_master/564/node_modules/.pnpm/@elliemae+ssf-guest@2.22.0_@elliemae+pui-logrocket@1.1.30/node_modules/@elliemae/ssf-guest/dist/esm/guest.js",k=ee?new URL(ee).hostname:"localhost";return I[k]||I["cdn.mortgagetech.q1.ice.com"]};class B{#n;#e;#t;#o=!1;#r=null;#s=!1;#a=new Map;#m=null;#i=null;#u=null;#l=null;#c=null;#g=!1;#d=null;#h=null;#p=null;#_=!0;#x=w;#y;#v=null;constructor(k){const{console:K=!1,url:U=window.__ICE__?.diagnosticsUrl||R(),index:V="ssf-guest-v2",team:se="ICE",appName:G="SSF Guest V2 Application"}=k?.logger??{};this.#y=k?.logger,this.#g=k?.usesDevConnectAPI??!1,this.#_=k?.keepAlive??!0,this.#x=k?.keepAliveInterval??w;const N=K?(0,l.Console)():(0,l.http)(U);this.#e=k?.appLogger??(0,l.logger)({transport:N,index:V,team:se,appName:G}),(0,l.webvitals)(this.#e),(0,l.logUnhandledErrors)(this.#e),this.#n=(0,r.A)(),this.#t=new o.K(this.#e,this.#n),P(this),this.#e.audit({message:"Guest created",guestUrl:window.location.href,correlationId:this.#n})}#f=()=>({guestId:this.#m,guestTitle:this.#i,guestUrl:this.#u});#b=k=>{if(!k||!k.objectId)throw this.#e.error("Deserialization of scripting object failed. Object does not have an Object ID."),new Error("Cannot deserialize object JSON into proxy.");const K=new i.V(k.objectId,k.objectType);return k.functions&&k.functions.forEach(U=>{Object.defineProperty(K,U,{value:async(...V)=>this.#j({objectId:K.id,functionName:U,functionParams:[].slice.call(V)}),enumerable:!0})}),k.events&&k.events.forEach(U=>{Object.defineProperty(K,U,{value:new c.b3({objectId:K.id,name:U,eventSrc:this}),enumerable:!0})}),this.#e.debug(`Created guest proxy for scripting object (id = "${K.id}")`),K};#j=async({objectId:k,functionName:K,functionParams:U})=>{this.#e.debug(`Invoking scripting object method ${k}.${K}()...`);const V=[];if(U)for(let N=0;N<U.length;N+=1){const W=U[N];W instanceof Promise&&V.push(W.then(Z=>{U[N]=Z}))}await Promise.all(V);const se=await this.#t.invoke({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.ObjectInvoke,messageBody:{objectId:k,functionName:K,functionParams:U}}),G=this.#E(se);return this.#e.audit({message:"Guest proxy invoked Scripting Object method",scriptingObject:k,scriptingMethod:K,...this.#f()}),G};#w(k,K){return Object.entries(K).every(([U,V])=>{const se=k[U];if("eq"in V)return se===V.eq;if("in"in V)return Array.isArray(V.in)&&V.in.includes(se);if("includes"in V)return Array.isArray(se)&&se.includes(V.includes);if("gt"in V){const G=typeof se=="number"?se:Number(se);return!Number.isNaN(G)&&G>V.gt}if("lt"in V){const G=typeof se=="number"?se:Number(se);return!Number.isNaN(G)&&G<V.lt}if("regex"in V)try{const G=new RegExp(V.regex);return typeof se=="string"&&G.test(se)}catch{return!1}return!1})}#E=k=>k?.type==="object"&&"object"in k?this.#b(k.object):k?.type==="value"?k.value:k;#A=({body:k})=>{k?.logLevel&&(this.#e.setLogLevel(k.logLevel),this.#e.debug(`Log level changed by host to ${k.logLevel}`)),this.#m=k?.guestId??null,this.#i=k?.guestTitle??null,this.#u=k?.guestUrl??null,this.#e.audit({message:"Received configuration from Host",...this.#f()})};#S=()=>{window.focus()};#C=async()=>{await this.close(),window.close()};#O=()=>{y()||setInterval(()=>{this.#c?.closed&&this.close().then(()=>{window.close()}).catch(()=>{})},1e3)};#T=async({sourceWin:k,sourceOrigin:K,requestId:U,body:V})=>{const se=this.#b(V.object);if(se){const G=(0,c._s)(se.id,V.eventName);this.#e.debug(`Received event "${G}" from host`);let N;V.eventHandler?N=[{callback:window[V.eventHandler],token:(0,r.A)()}]:N=this.#a.get(G)||[];const W=[];if(N.forEach(Z=>{if(Z?.callback){if(Z.criteria&&!(V.eventParams?this.#w(V.eventParams,Z.criteria):!1)){this.#e.debug(`Event ${G} did not match criteria for subscriber ${Z.callback.name}`);return}this.#e.debug(`Invoking event subscriber ${Z.callback.name} for event ${G}`);const te=Z.callback({obj:se,eventName:V.eventName,eventParams:V.eventParams,eventOptions:V.eventOptions});te instanceof Promise?W.push(te):typeof te<"u"&&W.push(Promise.resolve(te))}}),U){const Z=await Promise.all(W);this.#t.respond({targetWin:k,targetOrigin:K,requestId:U,response:Z}),this.#e.audit({message:"Guest proxy processed event from host and responded",scriptingEventId:G,scriptingObject:se.id,...this.#f()})}else this.#e.audit({message:"Guest proxy processed event from host",scriptingEventId:G,scriptingObject:se.id,...this.#f()})}};#P=async()=>{!this.#d||!this.#h||!this.#p||await fetch(`${this.#p}/oauth2/v1/token/introspection?${new URLSearchParams({token:this.#d,client_id:this.#h}).toString()}`,{headers:{"content-type":"application/x-www-form-urlencoded;charset=UTF-8"},method:"POST"})};#D=async()=>{if(this.#d&&this.#h&&this.#p)try{await fetch(`${this.#p}/oauth2/v1/token/revocation?${new URLSearchParams({token:this.#d,client_id:this.#h}).toString()}`,{method:"POST"})}catch(k){this.#e.error(`Error revoking token. ${k.message}`)}finally{this.#d=null,this.#h=null}};#R=async()=>{if(this.#_)try{const k=await this.getObject("application");k?(this.#v=(0,n.throttle)(async()=>{try{await k.keepSessionAlive(),await this.#P()}catch(K){this.#e.error(`Error keeping session alive. ${K.message}`)}},this.#x,{leading:!1}),E.forEach(K=>{document.addEventListener(K,this.#v)})):this.#e.warn("Application object not available to send keep alive")}catch(k){this.#e.error(`Error getting application object. ${k.message}`)}};#k=async()=>{try{const k=await this.getObject("module");if(k?.log&&!this.#y.console){const{index:K="",team:U="",appName:V=""}=this.#y||{};if(!K||!U||!V)throw new Error("Missing one of required logger options: index, team, appName");this.#e=(0,l.logger)({transport:(0,l.parentApp)(k),index:K,team:U,appName:V})}}catch(k){this.#e.info(`Module object not exposed from hosting application. using local logger instance. ${k.message}`)}};addScript=async(k,K)=>{if(!this.#o&&k){await this.connect();const U=document.createElement("script");U.setAttribute("src",k),U.setAttribute("type","module"),await new Promise(V=>{const se=()=>{U?.removeEventListener?.("load",se),this.#o=!0,C(!0),V()};U.addEventListener("load",se),this.#r=K.appendChild(U)})}};close=async()=>{this.#s&&(this.#t.send({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.GuestClose,messageBody:{}}),this.#t.removeSender({origin:this.#l,window:this.#c}),this.#t.close(),this.#v&&E.forEach(k=>{document.removeEventListener(k,this.#v)}),await this.#D(),window.removeEventListener("beforeunload",this.close),this.#s=!1,this.#e.audit({message:"Guest disconnected from host",...this.#f()}),this.#m=null,this.#u=null,this.#i=null)};connect=async k=>{if(!this.#s){let K=window,U={...v};if(k){K=k.window||K;const se={...k};delete se.window,U=Object.assign(U,se)}const V=await D();this.#l=V.origin,this.#c=V.window,this.#t.initialize(K),this.#t.addSender({origin:this.#l,window:this.#c}),this.#t.listen({messageType:t.G.ObjectEvent,callback:this.#T.bind(this)}),this.#t.listen({messageType:t.G.HostConfig,callback:this.#A.bind(this)}),this.#t.listen({messageType:t.G.GuestFocus,callback:this.#S.bind(this)}),this.#t.listen({messageType:t.G.HostClose,callback:this.#C.bind(this)}),this.#t.send({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.GuestReady,messageBody:U}),this.#s=!0,this.#O(),this.#g&&await this.getAuthToken(),await this.#R(),window.addEventListener("beforeunload",this.close),this.#e.audit({message:"Guest connected to host",guestUrl:window.location.href})}};getAuthToken=async()=>{if(!this.#d&&this.#s)try{const k=await this.getObject("auth");if(k){const K=await k.getAccessToken();this.#d=K?.access_token,this.#p=K?.host_name,this.#h=K?.client_id}else this.#e.warn("Auth object not available to get access token from host")}catch(k){this.#e.error(`Error getting access token from auth object. ${k.message}`)}return this.#d};getObject=async k=>{if(this.#e.debug(`Retrieving scripting object "${k}" from host...`),!this.#s)throw new Error("Not connected to host");const K=await this.#t.invoke({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.ObjectGet,messageBody:{objectId:k}}),U=this.#b(K.object);return this.#e.audit({message:"Received scripting object from host",scriptingObject:k,...this.#f()}),U};listObjects=async()=>{if(this.#e.debug("Retrieving names of scripting objects exposed by host..."),!this.#s)throw new Error("Not connected to host");const k=await this.#t.invoke({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.ListObjects,messageBody:{}});return this.#e.audit({message:"Received names of all scripting objects exposed by host",objects:k,...this.#f()}),k};removeScript=()=>{if(this.#o&&this.#r){const{parentNode:k}=this.#r;k?.removeChild?.(this.#r)}};setLogLevel=k=>{this.#e.setLogLevel(k),this.#e.debug(`Log level changed by guest to ${k}`)};subscribe=k=>{const{eventId:K,criteria:U,callback:V}=k;this.#e.debug(`Registering subscription for event ${K}`);const se=this.#a.get(K.toLowerCase())||[],G=(0,r.A)();return se.push({callback:V,token:G,criteria:U}),this.#a.set(K.toLowerCase(),se),this.#t.send({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.GuestEventSubscribe,messageBody:{eventId:K,criteria:U,token:G}}),this.#e.debug(`Subscribed to event ${K} with token ${G}`),G};unsubscribe=k=>{const{eventId:K,token:U}=k,V=this.#a.get(K.toLowerCase());if(V){const se=V.length,G=V.filter(N=>N.token!==U);G.length<se&&(this.#a.set(K.toLowerCase(),G),this.#t.send({targetWin:this.#c,targetOrigin:this.#l,messageType:t.G.GuestEventUnsubscribe,messageBody:{eventId:K,token:U}}),this.#e.debug(`Unsubscribed from event ${K}`))}}}},"./node_modules/.pnpm/@elliemae+ssf-host@2.22.0_@elliemae+pui-diagnostics@3.11.3/node_modules/@elliemae/ssf-host/dist/esm/host.js"(d,p,e){"use strict";e.d(p,{P:()=>P});var r=e("./node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js"),n=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/remoting.js"),o=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/scriptingObjectManager.js"),t=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/messageType.js"),i=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/event.js"),c=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/proxy.js"),l=e("./node_modules/.pnpm/@elliemae+microfe-common@2.22.0_@elliemae+pui-diagnostics@3.11.3_uuid@9.0.1/node_modules/@elliemae/microfe-common/dist/esm/scriptingObject.js"),h=(L=>(L.Popup="popup",L.Embed="embed",L))(h||{}),g=(L=>(L.AllowDownloadsWithoutUserActivation="allow-downloads-without-user-activation",L.AllowDownloads="allow-downloads",L.AllowForms="allow-forms",L.AllowModals="allow-modals",L.AllowOrientationLock="allow-orientation-lock",L.AllowPointerLock="allow-pointer-lock",L.AllowPopups="allow-popups",L.AllowPopupsToEscapeSandbox="allow-popups-to-escape-sandbox",L.AllowPresentation="allow-presentation",L.AllowSameOrigin="allow-same-origin",L.AllowScripts="allow-scripts",L.AllowStorageAccessByUserActivation="allow-storage-access-by-user-activation",L.AllowTopNavigation="allow-top-navigation",L.AllowTopNavigationByUserActivation="allow-top-navigation-by-user-activation",L))(g||{});const y=L=>{if(L==="about:blank")return"*";try{const{origin:w}=new URL(L);return w==="null"||!w?L:w}catch{const{origin:v}=new URL(L,document.baseURI);return v}},b=(L,w=[])=>{const v=w||[];return L&&L.forEach?L.forEach(_=>{b(_,v)}):typeof L<"u"&&v.push(L),v},T=L=>typeof L?._toJSON=="function";function O(L){return typeof L=="function"}const D=L=>L?.id??L;class S{id;title;url;searchParams;domElement;window;openMode;origin;initialized=!1;ready=!1;capabilities;#n;#e;constructor(w){const{guestId:v,domElement:_=null,title:I,url:E,window:R,searchParams:B={},openMode:ee=h.Embed,remoting:k,analyticsObj:K}=w;this.id=v,this.title=I,this.url=E,this.origin=y(E),this.searchParams=B,this.domElement=_,this.window=R,this.openMode=ee,this.capabilities={},this.#e=K,this.#n=k}dispose=()=>{if(this.openMode===h.Popup&&!this.window.closed)try{this.window.document,this.window.close()}catch{this.#n.send({targetWin:this.window,targetOrigin:this.origin,messageType:t.G.HostClose,messageBody:{}})}else this.domElement?.remove?.();this.#n.removeSender({origin:this.origin,window:this.window})};getInfo=()=>({guestId:this.id,guestTitle:this.title,guestUrl:this.url});handShake=()=>new Promise(w=>{let v=0;const _=5,I=setInterval(()=>{v>=_?(clearInterval(I),w(!1)):(this.#n.send({targetWin:this.window,targetOrigin:this.origin,messageType:t.G.HandShake,messageBody:{}}),v+=1)},1e3);this.#n.listen({messageType:t.G.HandShakeAck,callback:()=>{clearInterval(I),w(!0)}})});init=()=>{this.#n.addSender({origin:this.origin,window:this.window}),this.openMode===h.Popup&&this.handShake().catch(()=>{})};dispatchEvent=(w,v)=>(this.#e.startTiming(`ScriptingObject.Event.${w.object.objectId}.${w.eventName}`,{appId:this.id,appUrl:this.url}).catch(()=>{}),this.#n.invoke({targetWin:this.window,targetOrigin:this.origin,messageType:t.G.ObjectEvent,messageBody:w,responseTimeoutMs:v}).finally(()=>{this.#e.endTiming(`ScriptingObject.Event.${w.object.objectId}.${w.eventName}`,{appId:this.id,appUrl:this.url}).catch(()=>{})}));send=w=>{this.#n.send({targetWin:this.window,targetOrigin:this.origin,...w})}}const C=[g.AllowScripts,g.AllowPopups,g.AllowModals,g.AllowForms,g.AllowDownloads,g.AllowSameOrigin];class P{hostId;#n;#e;#t;#o;#r=new Map;#s=new Map;#a;#m=null;#i=null;#u=null;#l=null;constructor(w,v){if(this.hostId=w,!v?.logger)throw new Error("Logger is required");if(!v?.analyticsObj)throw new Error("Analytics object is required");if(this.#t=v.logger,this.#o=v.analyticsObj,this.#e=(0,r.A)(),this.#n=new n.K(this.#t,this.#e),v?.readyStateCallback&&typeof v?.readyStateCallback!="function")throw new Error("readyStateCallback must be a function");this.#m=v?.readyStateCallback||null,this.#u=v?.onGuestEventSubscribe||null,this.#l=v?.onGuestEventUnsubscribe||null,this.#a=new o.qE,this.#n.initialize(window),this.#R(),window.addEventListener("beforeunload",this.#h),this.#F(),this.#t.debug(`host is initialized. hostId: ${this.hostId}, correlationId: ${this.#e}`)}#c=(w,v)=>{const _={event:w,...v};this.#o.sendBAEvent(_).catch(()=>{})};#g=(w,v)=>{this.#o.startTiming(w,v).catch(()=>{})};#d=(w,v)=>{this.#o.endTiming(w,v).catch(()=>{})};#h=()=>{for(const w of this.#r.values())w.openMode===h.Popup&&this.unloadGuest(w.id)};#p=w=>Array.from(this.#r.values()).find(v=>v.window===w);#_=w=>{for(const v of this.#r.values())if(v.url===w)return v;return null};#x=w=>typeof w?._toJSON=="function";#y=(w,v)=>this.#x(w)?(this.#a.has(w?.id,v)||this.#a.addScriptingObject(w,v?{guestId:v?.id}:{}),{type:"object",object:w._toJSON()}):{type:"value",value:w};#v=w=>typeof w=="string"?w:w instanceof Error?w.message:"An unexpected error occurred in the host application";#f=w=>{w.ready&&this.#n.send({targetWin:w.window,targetOrigin:w.origin,messageType:t.G.HostConfig,messageBody:{logLevel:this.#t.getLogLevel(),...w.getInfo()}})};#b=({guest:w,obj:v,functionName:_,functionParams:I})=>{const E=v[_];return O(E)?(this.#t.debug(`Invoking host implementation of ${v.id}.${String(_)}()`),new Promise(R=>{Object.defineProperty(E,"callContext",{value:{guest:w},configurable:!0,enumerable:!0,writable:!0}),R(E(...I))})):(this.#t.warn(`Attempt to call invalid function on object type ${v.objectType}: ${String(_)}`),Promise.reject(new Error(`Method '${_}' not found in Scripting Object '${v.id}'`)))};#j=({sourceWin:w,sourceOrigin:v,requestId:_})=>{const I=this.#p(w);if(!I){this.#t.warn(`Received ready event for unknown guest. requestId: ${_}`);return}if(!I.initialized){this.#t.warn("Guest must be initialized before it is marked as ready"),this.#n.raiseException({targetWin:w,targetOrigin:v,requestId:_,ex:"Guest must be initialized before it is marked as ready"});return}if(!I.ready){I.ready=!0;const E=I.getInfo();this.#d("SSF.Guest.Load",{appId:E.guestId,appUrl:E.guestUrl}),this.#f(I),this.#m?.(I),this.#t.audit({message:"Guest is ready",...E})}};#w=({sourceWin:w,sourceOrigin:v,requestId:_,body:I})=>{const E=this.#p(w);if(!E){this.#t.warn(`Received ready event for unknown guest. requestid = ${_}`);return}E.initialized||(E.initialized=!0,E.capabilities=I||{},this.#t.audit({message:"Guest is initialized",...E.getInfo()})),(!I||!I.onReady)&&this.#j({sourceWin:w,sourceOrigin:v,requestId:_,type:"",body:null})};#E=async({sourceWin:w})=>{if(w?.window){const v=this.#I(w);v&&!await v.handShake()&&this.unloadGuest(w)}};#A=({sourceWin:w,sourceOrigin:v,requestId:_})=>{this.#t.debug(`Processing listObjects request. requestId = ${_}`);const I=this.#p(w);if(!I)return this.#t.warn("Rejected object request from unknown guest window"),!1;const E=this.#a.listScriptingObjects(I.id);return this.#n.respond({targetWin:w,targetOrigin:v,requestId:_,response:E}),this.#t.audit({message:"name of scripting objects returned",requestId:_,objects:E,...I.getInfo()}),!0};#S=({sourceWin:w,sourceOrigin:v,requestId:_,body:I})=>{const{objectId:E}=I;this.#t.debug(`Processing getObject request for object ${E}. requestId = ${_}`);const R=this.#p(w);if(!R)return this.#t.warn("Rejected object request from unknown guest window"),!1;const B=this.getScriptingObject(E,{guest:R});return B?(this.#n.respond({targetWin:w,targetOrigin:v,requestId:_,response:this.#y(B,R)}),this.#t.audit({message:"Scripting Object returned",requestId:_,scriptingObject:E,...R.getInfo()}),!0):(this.#t.warn(`unknown or unauthorized object ${E} from guest ${R.id}`),this.#n.raiseException({targetWin:w,targetOrigin:v,requestId:_,ex:`The requested object (${E}) is not available`}),!1)};#C=({sourceWin:w,requestId:v,body:_})=>{const{eventId:I,criteria:E,token:R}=_;this.#t.debug(`Processing guest event subscribe request for event ${I}. requestId = ${v}`);const B=this.#p(w);if(!B){this.#t.warn("Rejected event subscribe request from unknown guest window");return}setTimeout(()=>{try{this.#u?.({guestId:B.id,eventId:I,criteria:E,token:R})}catch{}},0)};#O=({sourceWin:w,requestId:v,body:_})=>{const{eventId:I,token:E}=_;this.#t.debug(`Processing guest event unsubscribe request for event ${I}. requestId = ${v}`);const R=this.#p(w);if(!R){this.#t.warn("Rejected event unsubscribe request from unknown guest window");return}setTimeout(()=>{try{this.#l?.({guestId:R.id,eventId:I,token:E})}catch{}},0)};#T=({sourceWin:w,requestId:v,body:_})=>{const I=this.#p(w);if(!I){this.#t.warn(`Received resize event from unknown guest. requestid = ${v}`);return}I.domElement&&(I.domElement.style.height=`${_.height}px`),this.#t.debug(`Guest ${I.id} resized to ${_.width}x${_.height}`)};#P=({sourceWin:w,sourceOrigin:v,requestId:_,body:I})=>{const{objectId:E}=I,R=this.#p(w);if(!R)return this.#t.warn("Rejected method invocation request from unknown guest window"),!1;this.#t.debug(`Function ${E}.${String(I.functionName)}() called from guest "${R.id}" (requestId = ${_})`);const B=this.getScriptingObject(E,{guest:R});if(!B)return this.#t.warn(`Invocation of unknown or unauthorized object ${E} from guest ${R.id}`),this.#n.raiseException({targetWin:w,targetOrigin:v,requestId:_,ex:`The requested object (${E}) is not available`}),!1;const ee=R.getInfo();return this.#g(`ScriptingObject.API.${E}.${I.functionName}`,{appId:ee.guestId,appUrl:ee.guestUrl}),this.#b({guest:R,obj:B,functionName:I.functionName,functionParams:I.functionParams}).then(k=>{this.#n.respond({targetWin:w,targetOrigin:v,requestId:_,response:this.#y(k,R)}),this.#t.audit({message:"Value returned for Scripting Object method call",requestId:_,scriptingObject:E,scriptingMethod:I.functionName,...ee})}).catch(k=>{this.#n.raiseException({targetWin:w,targetOrigin:R.origin,requestId:_,ex:k}),this.#t.audit({message:"Exception thrown for Scripting Object method call",requestId:_,scriptingObject:E,scriptingMethod:I.functionName,...ee})}).finally(()=>{this.#d(`ScriptingObject.API.${E}.${I.functionName}`,{appId:ee.guestId,appUrl:ee.guestUrl})}),!0};#D=()=>{this.#n.listen({messageType:t.G.GuestResize,callback:this.#T})};#R=()=>{this.#n.listen({messageType:t.G.GuestReady,callback:this.#w}),this.#n.listen({messageType:t.G.GuestReadyComplete,callback:this.#j}),this.#n.listen({messageType:t.G.GuestClose,callback:this.#E}),this.#n.listen({messageType:t.G.ListObjects,callback:this.#A}),this.#n.listen({messageType:t.G.ObjectGet,callback:this.#S}),this.#n.listen({messageType:t.G.ObjectInvoke,callback:this.#P}),this.#n.listen({messageType:t.G.GuestEventSubscribe,callback:this.#C}),this.#n.listen({messageType:t.G.GuestEventUnsubscribe,callback:this.#O})};#k=w=>w instanceof i.b3||typeof w?.subscribe=="function";#M=w=>{const v=new S({...w,remoting:this.#n,analyticsObj:this.#o});return v.init(),this.#r.set(w.guestId,v),v};#I=w=>{let v=typeof w=="string"?this.#r.get(w):null;return v||(v=Array.from(this.#r.values()).find(_=>_.window===w||_.domElement===w)),v};#F=()=>{this.#i=setInterval(()=>{const w=[];this.#r.forEach(v=>{v.openMode===h.Popup&&v.window.closed&&w.push(v)}),w.forEach(v=>{const{id:_}=v;this.unloadGuest(_),this.#s.get(_)?.forEach(E=>{E({id:_}).catch(()=>{})})})},1e3)};#L=w=>{const{url:v,title:_,popupWindowFeatures:I={},searchParams:E,guestId:R,onLoad:B,onError:ee}=w,{width:k=800,height:K=600,top:U=100,left:V=100}=I;let se=this.#_(v);if(se)se.window.closed||se.send({messageType:t.G.GuestFocus,messageBody:{}});else{const G=[{key:"width",value:k},{key:"height",value:K},{key:"top",value:U},{key:"left",value:V}].reduce((W,Z,te)=>(te>0&&Z.value&&(W+=","),Z.value?`${W}${Z.key}=${Z.value}`:W),""),N=window.open(v,_,`popup, ${G}`);if(N)try{setTimeout(()=>{B?.(R)},0)}catch(W){this.#t.debug(`Error occurred in onLoad for guest with id '${R}': ${W.message}`)}else{try{setTimeout(()=>{ee?.(R)},0)}catch(W){this.#t.debug(`Error occurred in onError for guest with id '${R}': ${W.message}`)}throw new Error("Failed to open guest application in popup window")}N.opener=null,se=this.#M({guestId:R,window:N,title:_,url:v,searchParams:E,openMode:h.Popup})}return se};#N=w=>{const{url:v,title:_,targetElement:I,searchParams:E,guestId:R,onLoad:B,onError:ee,options:k={}}=w,K=I.ownerDocument??document,{fitToContent:U=!1,disableSandbox:V=!1,sandboxValues:se=[],customSandboxValues:G=[],style:N="",permissionPolicy:W=""}=k;if(!_)throw new Error("title is required");U&&this.#D();const Z=K.createElement("iframe");Z.setAttribute("id",R);const te=()=>{setTimeout(()=>{try{B?.(R)}catch(Ae){this.#t.debug(`Error occurred in onLoad for guest with id '${R}': ${Ae.message}`)}},0),this.#t.debug(`frame loaded for guest with id '${R}'`),Z.removeEventListener("load",te)},q=()=>{setTimeout(()=>{try{ee?.(R)}catch(Ae){this.#t.debug(`Error occurred in onError for guest with id '${R}': ${Ae.message}`)}},0),this.#t.error(`frame load failed for guest with id '${R}'`),Z.removeEventListener("error",q)};Z.addEventListener("load",te),Z.addEventListener("error",q),Z.setAttribute("style",`min-width: 100%; height: 100%; border: 0px; ${N}`),V||Z.setAttribute("sandbox",G.length>0?G.join(" "):[...C,...se].join(" ")),Z.setAttribute("title",_),Z.setAttribute("src",v),W&&Z.setAttribute("allow",W),I.appendChild(Z);const de=K.getElementById(R);return this.#M({guestId:R,domElement:de,window:de.contentWindow,title:_,url:v,searchParams:E,openMode:h.Embed})};#B=(w,v)=>{let _="";return Object.keys(v).forEach(I=>{_+=`${(_.length?"&":"")+encodeURIComponent(I)}=${encodeURIComponent(v[I])}`}),w+(_?(w.indexOf("?")>=0?"&":"?")+_:"")};addScriptingObject=(w,v)=>{if((0,c.h)(w)){const _=this.cloneScriptingObject(w);this.#a.addScriptingObject(_,v)}else this.#a.addScriptingObject(w,v)};cloneScriptingObject=w=>{if(!w)throw new Error("proxy is required");const v=new l.P(w.id,w.objectType);let _=[];return Object.keys(w).forEach(I=>{const E=w[I];if(this.#k(E)){const R=new i.Jh({name:E.name||I,objectId:v.id});if(Object.defineProperty(v,I,{value:R,enumerable:!0}),E instanceof i.b3){const B=({eventParams:k,eventOptions:K})=>this.dispatchEvent({event:R,eventParams:k,eventOptions:K}),ee=E.subscribe(B);_.push(()=>{E.unsubscribe(ee)})}else{const B=E.subscribe?.((ee,k,K)=>this.dispatchEvent({event:R,eventParams:k,eventOptions:K}));_.push(()=>{E.unsubscribe?.(B)})}}else if(O(E)&&(Object.defineProperty(v,I,{value:async(...R)=>{const B=await E(...R);return(0,c.h)(B)?this.cloneScriptingObject(B):B},enumerable:!0}),I==="dispose")){const R=v.dispose;Object.defineProperty(v,I,{value:()=>(v._dispose(),R.apply(v)),enumerable:!0})}}),v._dispose=()=>{_.forEach(I=>{I?.()}),_=[]},v};close=()=>{clearInterval(this.#i),this.#h(),this.#n.close(),window.removeEventListener("beforeunload",this.#h),this.#t.debug(`host is closed. hostId: ${this.hostId}, correlationId: ${this.#e}`)};dispatchEvent=async w=>{const{event:{id:v,name:_},eventParams:I,eventOptions:E={}}=w,{eventHandler:R=null,timeout:B=null,window:ee=null,guestId:k}=E,K=v.split(".")[0],U=k||ee,V=U?this.#I(U):null,se=V?this.getScriptingObject(K,{guest:V}):this.getScriptingObject(K);if(!se)return this.#t.warn(`Attempt to dispatch event ${_} on unknown object ${K}`),Promise.resolve([]);const G={object:se._toJSON(),eventName:_,eventParams:I,eventHandler:R,eventOptions:{allowsFeedback:!1}};B&&!Number.isNaN(B)&&(G.eventOptions={allowsFeedback:!0,timeout:Number(B)});const N=[];let W=!1;return this.#r.forEach(te=>{const q=te.getInfo();(!ee||ee===te.window)&&(B&&te?.capabilities?.eventFeedback?(N.push(te.dispatchEvent(G,B)),W||(this.#g(`ScriptingObject.Event.${se.id}.${_}`,{appId:this.hostId,appUrl:window.location.href}),W=!0),this.#t.audit({message:"Event dispatched and awaiting feedback",scriptingEventId:v,...q})):(te.send({messageType:t.G.ObjectEvent,messageBody:G}),this.#t.audit({message:"Event dispatched",scriptingEventId:v,...q})))}),await Promise.all(N).then(te=>(this.#t.audit({message:"Event feedback received",scriptingEventId:v}),b(te))).catch(te=>{throw this.#t.error({message:"Error processing event",eventId:v,exception:te}),te}).finally(()=>{W&&this.#d(`ScriptingObject.Event.${se.id}.${_}`,{appId:this.hostId,appUrl:window.location.href})})};getGuests=()=>{const w=[];return this.#r.forEach(v=>{w.push(v)}),w};getScriptingObject=(w,v)=>this.#a.getObject(w,v?.guest);loadGuest=w=>{const{id:v,url:_,targetElement:I,title:E,searchParams:R={},onLoad:B,onError:ee,options:k={}}=w;if(!v)throw new Error("id for guest application is required");const{openMode:K=h.Embed,popupWindowFeatures:U={}}=k,V=this.#B(_,R);let se=null;if(this.#g("SSF.Guest.Load",{appId:v,appUrl:V}),K===h.Popup)se=this.#L({guestId:v,url:V,title:E,searchParams:R,popupWindowFeatures:U,onLoad:B,onError:ee});else if(K===h.Embed)se=this.#N({guestId:v,url:V,title:E,targetElement:I,searchParams:R,onLoad:B,onError:ee,options:k});else throw new Error(`Invalid openMode: ${K}`);return this.#t.audit({message:"Guest loaded",...se.getInfo()}),se};loadGuests=w=>{const{id:v,url:_,targetElement:I,title:E,searchParamsList:R=[],options:B={}}=w;R.forEach((ee,k)=>{this.loadGuest({id:`${v}-${k}`,url:_,title:E,targetElement:I,searchParams:ee,options:B})},this)};removeAllScriptingObjects=w=>{this.#a.removeAllScriptingObjects(w)};removeScriptingObject=(w,v)=>{this.#a.removeScriptingObject(w,v)};setLogLevel=w=>{this.#t.setLogLevel(w),this.#r.forEach(this.#f),this.#t.debug("Dispatched config events to all guests")};unloadGuest=w=>{const v=this.#I(w);v&&(v.dispose(),this.#r.delete(v.id),this.#t.audit({message:"Guest is removed from host",...v.getInfo()}))};onGuestClose=w=>{const{id:v,guestCloseCallback:_}=w,I=this.#s.get(v)||[];I.push(_),this.#s.set(v,I)}}},"./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"(d,p,e){"use strict";e.d(p,{A:()=>r});function r(n){var o=Object.create(null);return function(t){return o[t]===void 0&&(o[t]=n(t)),o[t]}}},"./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.esm.js"(d,p,e){"use strict";e.d(p,{$k:()=>Qe});var r=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.esm.js"),n=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.esm.js"),o="NOT_FOUND";function t(nn){var Yn;return{get:function(hn){return Yn&&nn(Yn.key,hn)?Yn.value:o},put:function(hn,Hn){Yn={key:hn,value:Hn}},getEntries:function(){return Yn?[Yn]:[]},clear:function(){Yn=void 0}}}function i(nn,Yn){var Gn=[];function hn(Ct){var rt=Gn.findIndex(function($t){return Yn(Ct,$t.key)});if(rt>-1){var Nt=Gn[rt];return rt>0&&(Gn.splice(rt,1),Gn.unshift(Nt)),Nt.value}return o}function Hn(Ct,rt){hn(Ct)===o&&(Gn.unshift({key:Ct,value:rt}),Gn.length>nn&&Gn.pop())}function jn(){return Gn}function Jn(){Gn=[]}return{get:hn,put:Hn,getEntries:jn,clear:Jn}}var c=function(Yn,Gn){return Yn===Gn};function l(nn){return function(Gn,hn){if(Gn===null||hn===null||Gn.length!==hn.length)return!1;for(var Hn=Gn.length,jn=0;jn<Hn;jn++)if(!nn(Gn[jn],hn[jn]))return!1;return!0}}function h(nn,Yn){var Gn=typeof Yn=="object"?Yn:{equalityCheck:Yn},hn=Gn.equalityCheck,Hn=hn===void 0?c:hn,jn=Gn.maxSize,Jn=jn===void 0?1:jn,Ct=Gn.resultEqualityCheck,rt=l(Hn),Nt=Jn===1?t(rt):i(Jn,rt);function $t(){var x=Nt.get(arguments);if(x===o){if(x=nn.apply(null,arguments),Ct){var J=Nt.getEntries(),Se=J.find(function(Ue){return Ct(Ue.value,x)});Se&&(x=Se.value)}Nt.put(arguments,x)}return x}return $t.clearCache=function(){return Nt.clear()},$t}function g(nn){var Yn=Array.isArray(nn[0])?nn[0]:nn;if(!Yn.every(function(hn){return typeof hn=="function"})){var Gn=Yn.map(function(hn){return typeof hn=="function"?"function "+(hn.name||"unnamed")+"()":typeof hn}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+Gn+"]")}return Yn}function y(nn){for(var Yn=arguments.length,Gn=new Array(Yn>1?Yn-1:0),hn=1;hn<Yn;hn++)Gn[hn-1]=arguments[hn];var Hn=function(){for(var Jn=arguments.length,Ct=new Array(Jn),rt=0;rt<Jn;rt++)Ct[rt]=arguments[rt];var Nt=0,$t,x={memoizeOptions:void 0},J=Ct.pop();if(typeof J=="object"&&(x=J,J=Ct.pop()),typeof J!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof J+"]");var Se=x,Ue=Se.memoizeOptions,pe=Ue===void 0?Gn:Ue,ve=Array.isArray(pe)?pe:[pe],ue=g(Ct),Ie=nn.apply(void 0,[function(){return Nt++,J.apply(null,arguments)}].concat(ve)),rn=nn(function(){for(var bn=[],Ln=ue.length,qn=0;qn<Ln;qn++)bn.push(ue[qn].apply(null,arguments));return $t=Ie.apply(null,bn),$t});return Object.assign(rn,{resultFunc:J,memoizedResultFunc:Ie,dependencies:ue,lastResult:function(){return $t},recomputations:function(){return Nt},resetRecomputations:function(){return Nt=0}}),rn};return Hn}var b=y(h),T=function(Yn,Gn){if(Gn===void 0&&(Gn=b),typeof Yn!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof Yn));var hn=Object.keys(Yn),Hn=Gn(hn.map(function(jn){return Yn[jn]}),function(){for(var jn=arguments.length,Jn=new Array(jn),Ct=0;Ct<jn;Ct++)Jn[Ct]=arguments[Ct];return Jn.reduce(function(rt,Nt,$t){return rt[hn[$t]]=Nt,rt},{})});return Hn},O=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/es/redux.js"),D=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),S=function(nn,Yn){var Gn={label:0,sent:function(){if(jn[0]&1)throw jn[1];return jn[1]},trys:[],ops:[]},hn,Hn,jn,Jn;return Jn={next:Ct(0),throw:Ct(1),return:Ct(2)},typeof Symbol=="function"&&(Jn[Symbol.iterator]=function(){return this}),Jn;function Ct(Nt){return function($t){return rt([Nt,$t])}}function rt(Nt){if(hn)throw new TypeError("Generator is already executing.");for(;Gn;)try{if(hn=1,Hn&&(jn=Nt[0]&2?Hn.return:Nt[0]?Hn.throw||((jn=Hn.return)&&jn.call(Hn),0):Hn.next)&&!(jn=jn.call(Hn,Nt[1])).done)return jn;switch(Hn=0,jn&&(Nt=[Nt[0]&2,jn.value]),Nt[0]){case 0:case 1:jn=Nt;break;case 4:return Gn.label++,{value:Nt[1],done:!1};case 5:Gn.label++,Hn=Nt[1],Nt=[0];continue;case 7:Nt=Gn.ops.pop(),Gn.trys.pop();continue;default:if(jn=Gn.trys,!(jn=jn.length>0&&jn[jn.length-1])&&(Nt[0]===6||Nt[0]===2)){Gn=0;continue}if(Nt[0]===3&&(!jn||Nt[1]>jn[0]&&Nt[1]<jn[3])){Gn.label=Nt[1];break}if(Nt[0]===6&&Gn.label<jn[1]){Gn.label=jn[1],jn=Nt;break}if(jn&&Gn.label<jn[2]){Gn.label=jn[2],Gn.ops.push(Nt);break}jn[2]&&Gn.ops.pop(),Gn.trys.pop();continue}Nt=Yn.call(nn,Gn)}catch($t){Nt=[6,$t],Hn=0}finally{hn=jn=0}if(Nt[0]&5)throw Nt[1];return{value:Nt[0]?Nt[1]:void 0,done:!0}}},C=function(nn,Yn){for(var Gn=0,hn=Yn.length,Hn=nn.length;Gn<hn;Gn++,Hn++)nn[Hn]=Yn[Gn];return nn},P=Object.defineProperty,L=Object.defineProperties,w=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,E=function(nn,Yn,Gn){return Yn in nn?P(nn,Yn,{enumerable:!0,configurable:!0,writable:!0,value:Gn}):nn[Yn]=Gn},R=function(nn,Yn){for(var Gn in Yn||(Yn={}))_.call(Yn,Gn)&&E(nn,Gn,Yn[Gn]);if(v)for(var hn=0,Hn=v(Yn);hn<Hn.length;hn++){var Gn=Hn[hn];I.call(Yn,Gn)&&E(nn,Gn,Yn[Gn])}return nn},B=function(nn,Yn){return L(nn,w(Yn))},ee=function(nn,Yn){var Gn={};for(var hn in nn)_.call(nn,hn)&&Yn.indexOf(hn)<0&&(Gn[hn]=nn[hn]);if(nn!=null&&v)for(var Hn=0,jn=v(nn);Hn<jn.length;Hn++){var hn=jn[Hn];Yn.indexOf(hn)<0&&I.call(nn,hn)&&(Gn[hn]=nn[hn])}return Gn},k=function(nn,Yn,Gn){return new Promise(function(hn,Hn){var jn=function(rt){try{Ct(Gn.next(rt))}catch(Nt){Hn(Nt)}},Jn=function(rt){try{Ct(Gn.throw(rt))}catch(Nt){Hn(Nt)}},Ct=function(rt){return rt.done?hn(rt.value):Promise.resolve(rt.value).then(jn,Jn)};Ct((Gn=Gn.apply(nn,Yn)).next())})},K;(function(nn){nn.uninitialized="uninitialized",nn.pending="pending",nn.fulfilled="fulfilled",nn.rejected="rejected"})(K||(K={}));function U(nn){return{status:nn,isUninitialized:nn===K.uninitialized,isLoading:nn===K.pending,isSuccess:nn===K.fulfilled,isError:nn===K.rejected}}function V(nn){return new RegExp("(^|:)//").test(nn)}var se=function(nn){return nn.replace(/\/$/,"")},G=function(nn){return nn.replace(/^\//,"")};function N(nn,Yn){if(!nn)return Yn;if(!Yn)return nn;if(V(Yn))return Yn;var Gn=nn.endsWith("/")||!Yn.startsWith("?")?"/":"";return nn=se(nn),Yn=G(Yn),""+nn+Gn+Yn}var W=function(nn){return[].concat.apply([],nn)};function Z(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function te(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var q=r.Qd;function de(nn,Yn){if(nn===Yn||!(q(nn)&&q(Yn)||Array.isArray(nn)&&Array.isArray(Yn)))return Yn;for(var Gn=Object.keys(Yn),hn=Object.keys(nn),Hn=Gn.length===hn.length,jn=Array.isArray(Yn)?[]:{},Jn=0,Ct=Gn;Jn<Ct.length;Jn++){var rt=Ct[Jn];jn[rt]=de(nn[rt],Yn[rt]),Hn&&(Hn=nn[rt]===jn[rt])}return Hn?nn:jn}var Ae=function(){for(var nn=[],Yn=0;Yn<arguments.length;Yn++)nn[Yn]=arguments[Yn];return fetch.apply(void 0,nn)},xe=function(nn){return nn.status>=200&&nn.status<=299},ye=function(nn){return/ion\/(vnd\.api\+)?json/.test(nn.get("content-type")||"")};function Re(nn){if(!isPlainObject2(nn))return nn;for(var Yn=R({},nn),Gn=0,hn=Object.entries(Yn);Gn<hn.length;Gn++){var Hn=hn[Gn],jn=Hn[0],Jn=Hn[1];Jn===void 0&&delete Yn[jn]}return Yn}function me(nn){var Yn=this;nn===void 0&&(nn={});var Gn=nn,hn=Gn.baseUrl,Hn=Gn.prepareHeaders,jn=Hn===void 0?function(rn){return rn}:Hn,Jn=Gn.fetchFn,Ct=Jn===void 0?Ae:Jn,rt=Gn.paramsSerializer,Nt=Gn.isJsonContentType,$t=Nt===void 0?ye:Nt,x=Gn.jsonContentType,J=x===void 0?"application/json":x,Se=Gn.jsonReplacer,Ue=Gn.timeout,pe=Gn.responseHandler,ve=Gn.validateStatus,ue=ee(Gn,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch>"u"&&Ct===Ae&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(rn,Ve){return k(Yn,null,function(){var bn,Ln,qn,ot,Bn,st,St,Lt,qt,fr,Ge,Tn,Kn,tt,Ft,Rt,Tt,mr,Rr,pr,er,ar,jr,wr,ht,hr,dr,Ur,yr,Br,Ar,_o,Xr,Hr,Vr,to;return S(this,function(Eo){switch(Eo.label){case 0:return bn=Ve.signal,Ln=Ve.getState,qn=Ve.extra,ot=Ve.endpoint,Bn=Ve.forced,st=Ve.type,Lt=typeof rn=="string"?{url:rn}:rn,qt=Lt.url,fr=Lt.headers,Ge=fr===void 0?new Headers(ue.headers):fr,Tn=Lt.params,Kn=Tn===void 0?void 0:Tn,tt=Lt.responseHandler,Ft=tt===void 0?pe??"json":tt,Rt=Lt.validateStatus,Tt=Rt===void 0?ve??xe:Rt,mr=Lt.timeout,Rr=mr===void 0?Ue:mr,pr=ee(Lt,["url","headers","params","responseHandler","validateStatus","timeout"]),er=R(B(R({},ue),{signal:bn}),pr),Ge=new Headers(Re(Ge)),ar=er,[4,jn(Ge,{getState:Ln,extra:qn,endpoint:ot,forced:Bn,type:st})];case 1:ar.headers=Eo.sent()||Ge,jr=function(as){return typeof as=="object"&&(isPlainObject2(as)||Array.isArray(as)||typeof as.toJSON=="function")},!er.headers.has("content-type")&&jr(er.body)&&er.headers.set("content-type",J),jr(er.body)&&$t(er.headers)&&(er.body=JSON.stringify(er.body,Se)),Kn&&(wr=~qt.indexOf("?")?"&":"?",ht=rt?rt(Kn):new URLSearchParams(Re(Kn)),qt+=wr+ht),qt=N(hn,qt),hr=new Request(qt,er),dr=new Request(qt,er),St={request:dr},yr=!1,Br=Rr&&setTimeout(function(){yr=!0,Ve.abort()},Rr),Eo.label=2;case 2:return Eo.trys.push([2,4,5,6]),[4,Ct(hr)];case 3:return Ur=Eo.sent(),[3,6];case 4:return Ar=Eo.sent(),[2,{error:{status:yr?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(Ar)},meta:St}];case 5:return Br&&clearTimeout(Br),[7];case 6:_o=Ur.clone(),St.response=_o,Hr="",Eo.label=7;case 7:return Eo.trys.push([7,9,,10]),[4,Promise.all([Ie(Ur,Ft).then(function(as){return Xr=as},function(as){return Vr=as}),_o.text().then(function(as){return Hr=as},function(){})])];case 8:if(Eo.sent(),Vr)throw Vr;return[3,10];case 9:return to=Eo.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:Ur.status,data:Hr,error:String(to)},meta:St}];case 10:return[2,Tt(Ur,Xr)?{data:Xr,meta:St}:{error:{status:Ur.status,data:Xr},meta:St}]}})})};function Ie(rn,Ve){return k(this,null,function(){var bn;return S(this,function(Ln){switch(Ln.label){case 0:return typeof Ve=="function"?[2,Ve(rn)]:(Ve==="content-type"&&(Ve=$t(rn.headers)?"json":"text"),Ve!=="json"?[3,2]:[4,rn.text()]);case 1:return bn=Ln.sent(),[2,bn.length?JSON.parse(bn):null];case 2:return[2,rn.text()]}})})}}var Me=function(){function nn(Yn,Gn){Gn===void 0&&(Gn=void 0),this.value=Yn,this.meta=Gn}return nn}();function Xe(nn,Yn){return nn===void 0&&(nn=0),Yn===void 0&&(Yn=5),k(this,null,function(){var Gn,hn;return S(this,function(Hn){switch(Hn.label){case 0:return Gn=Math.min(nn,Yn),hn=~~((Math.random()+.4)*(300<<Gn)),[4,new Promise(function(jn){return setTimeout(function(Jn){return jn(Jn)},hn)})];case 1:return Hn.sent(),[2]}})})}function sn(nn){throw Object.assign(new Me({error:nn}),{throwImmediately:!0})}var An={},En=function(nn,Yn){return function(Gn,hn,Hn){return k(void 0,null,function(){var jn,Jn,Ct,rt,Nt,$t,x;return S(this,function(J){switch(J.label){case 0:jn=[5,(Yn||An).maxRetries,(Hn||An).maxRetries].filter(function(Se){return Se!==void 0}),Jn=jn.slice(-1)[0],Ct=function(Se,Ue,pe){var ve=pe.attempt;return ve<=Jn},rt=R(R({maxRetries:Jn,backoff:Xe,retryCondition:Ct},Yn),Hn),Nt=0,J.label=1;case 1:J.label=2;case 2:return J.trys.push([2,4,,6]),[4,nn(Gn,hn,Hn)];case 3:if($t=J.sent(),$t.error)throw new Me($t);return[2,$t];case 4:if(x=J.sent(),Nt++,x.throwImmediately){if(x instanceof Me)return[2,x.value];throw x}return x instanceof Me&&!rt.retryCondition(x.value.error,Gn,{attempt:Nt,baseQueryApi:hn,extraOptions:Hn})?[2,x.value]:[4,rt.backoff(Nt,rt.maxRetries)];case 5:return J.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})}},On=Object.assign(En,{fail:sn}),zn=(0,r.VP)("__rtkq/focused"),In=(0,r.VP)("__rtkq/unfocused"),at=(0,r.VP)("__rtkq/online"),un=(0,r.VP)("__rtkq/offline"),Qn=!1;function Qe(nn,Yn){function Gn(){var hn=function(){return nn(zn())},Hn=function(){return nn(In())},jn=function(){return nn(at())},Jn=function(){return nn(un())},Ct=function(){window.document.visibilityState==="visible"?hn():Hn()};Qn||typeof window<"u"&&window.addEventListener&&(window.addEventListener("visibilitychange",Ct,!1),window.addEventListener("focus",hn,!1),window.addEventListener("online",jn,!1),window.addEventListener("offline",Jn,!1),Qn=!0);var rt=function(){window.removeEventListener("focus",hn),window.removeEventListener("visibilitychange",Ct),window.removeEventListener("online",jn),window.removeEventListener("offline",Jn),Qn=!1};return rt}return Yn?Yn(nn,{onFocus:zn,onFocusLost:In,onOffline:un,onOnline:at}):Gn()}var Xn;(function(nn){nn.query="query",nn.mutation="mutation"})(Xn||(Xn={}));function gt(nn){return nn.type===Xn.query}function lt(nn){return nn.type===Xn.mutation}function Dn(nn,Yn,Gn,hn,Hn,jn){return vt(nn)?nn(Yn,Gn,hn,Hn).map(tn).map(jn):Array.isArray(nn)?nn.map(tn).map(jn):[]}function vt(nn){return typeof nn=="function"}function tn(nn){return typeof nn=="string"?{type:nn}:nn}function _n(nn){return nn!=null}var it=Symbol("forceQueryFn"),en=function(nn){return typeof nn[it]=="function"};function ae(nn){var Yn=nn.serializeQueryArgs,Gn=nn.queryThunk,hn=nn.mutationThunk,Hn=nn.api,jn=nn.context,Jn=new Map,Ct=new Map,rt=Hn.internalActions,Nt=rt.unsubscribeQueryResult,$t=rt.removeMutationResult,x=rt.updateSubscriptionOptions;return{buildInitiateQuery:rn,buildInitiateMutation:Ve,getRunningQueryThunk:Ue,getRunningMutationThunk:pe,getRunningQueriesThunk:ve,getRunningMutationsThunk:ue,getRunningOperationPromises:Se,removalWarning:J};function J(){throw new Error(`This method had to be removed due to a conceptual bug in RTK.
|
|
1414
1414
|
Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.
|
|
1415
1415
|
See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.`)}function Se(){typeof D<"u";var bn=function(Ln){return Array.from(Ln.values()).flatMap(function(qn){return qn?Object.values(qn):[]})};return C(C([],bn(Jn)),bn(Ct)).filter(_n)}function Ue(bn,Ln){return function(qn){var ot,Bn=jn.endpointDefinitions[bn],st=Yn({queryArgs:Ln,endpointDefinition:Bn,endpointName:bn});return(ot=Jn.get(qn))==null?void 0:ot[st]}}function pe(bn,Ln){return function(qn){var ot;return(ot=Ct.get(qn))==null?void 0:ot[Ln]}}function ve(){return function(bn){return Object.values(Jn.get(bn)||{}).filter(_n)}}function ue(){return function(bn){return Object.values(Ct.get(bn)||{}).filter(_n)}}function Ie(bn){if(!1)var Ln}function rn(bn,Ln){var qn=function(ot,Bn){var st=Bn===void 0?{}:Bn,St=st.subscribe,Lt=St===void 0?!0:St,qt=st.forceRefetch,fr=st.subscriptionOptions,Ge=it,Tn=st[Ge];return function(Kn,tt){var Ft,Rt,Tt=Yn({queryArgs:ot,endpointDefinition:Ln,endpointName:bn}),mr=Gn((Ft={type:"query",subscribe:Lt,forceRefetch:qt,subscriptionOptions:fr,endpointName:bn,originalArgs:ot,queryCacheKey:Tt},Ft[it]=Tn,Ft)),Rr=Hn.endpoints[bn].select(ot),pr=Kn(mr),er=Rr(tt());Ie(Kn);var ar=pr.requestId,jr=pr.abort,wr=er.requestId!==ar,ht=(Rt=Jn.get(Kn))==null?void 0:Rt[Tt],hr=function(){return Rr(tt())},dr=Object.assign(Tn?pr.then(hr):wr&&!ht?Promise.resolve(er):Promise.all([ht,pr]).then(hr),{arg:ot,requestId:ar,subscriptionOptions:fr,queryCacheKey:Tt,abort:jr,unwrap:function(){return k(this,null,function(){var yr;return S(this,function(Br){switch(Br.label){case 0:return[4,dr];case 1:if(yr=Br.sent(),yr.isError)throw yr.error;return[2,yr.data]}})})},refetch:function(){return Kn(qn(ot,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){Lt&&Kn(Nt({queryCacheKey:Tt,requestId:ar}))},updateSubscriptionOptions:function(yr){dr.subscriptionOptions=yr,Kn(x({endpointName:bn,requestId:ar,queryCacheKey:Tt,options:yr}))}});if(!ht&&!wr&&!Tn){var Ur=Jn.get(Kn)||{};Ur[Tt]=dr,Jn.set(Kn,Ur),dr.then(function(){delete Ur[Tt],Object.keys(Ur).length||Jn.delete(Kn)})}return dr}};return qn}function Ve(bn){return function(Ln,qn){var ot=qn===void 0?{}:qn,Bn=ot.track,st=Bn===void 0?!0:Bn,St=ot.fixedCacheKey;return function(Lt,qt){var fr=hn({type:"mutation",endpointName:bn,originalArgs:Ln,track:st,fixedCacheKey:St}),Ge=Lt(fr);Ie(Lt);var Tn=Ge.requestId,Kn=Ge.abort,tt=Ge.unwrap,Ft=Ge.unwrap().then(function(Rr){return{data:Rr}}).catch(function(Rr){return{error:Rr}}),Rt=function(){Lt($t({requestId:Tn,fixedCacheKey:St}))},Tt=Object.assign(Ft,{arg:Ge.arg,requestId:Tn,abort:Kn,unwrap:tt,unsubscribe:Rt,reset:Rt}),mr=Ct.get(Lt)||{};return Ct.set(Lt,mr),mr[Tn]=Tt,Tt.then(function(){delete mr[Tn],Object.keys(mr).length||Ct.delete(Lt)}),St&&(mr[St]=Tt,Tt.then(function(){mr[St]===Tt&&(delete mr[St],Object.keys(mr).length||Ct.delete(Lt))})),Tt}}}}function cn(nn){return nn}function Oe(nn){var Yn=this,Gn=nn.reducerPath,hn=nn.baseQuery,Hn=nn.context.endpointDefinitions,jn=nn.serializeQueryArgs,Jn=nn.api,Ct=nn.assertTagType,rt=function(Ve,bn,Ln,qn){return function(ot,Bn){var st=Hn[Ve],St=jn({queryArgs:bn,endpointDefinition:st,endpointName:Ve});if(ot(Jn.internalActions.queryResultPatched({queryCacheKey:St,patches:Ln})),!!qn){var Lt=Jn.endpoints[Ve].select(bn)(Bn()),qt=Dn(st.providesTags,Lt.data,void 0,bn,{},Ct);ot(Jn.internalActions.updateProvidedBy({queryCacheKey:St,providedTags:qt}))}}},Nt=function(Ve,bn,Ln,qn){return qn===void 0&&(qn=!0),function(ot,Bn){var st,St,Lt=Jn.endpoints[Ve],qt=Lt.select(bn)(Bn()),fr={patches:[],inversePatches:[],undo:function(){return ot(Jn.util.patchQueryData(Ve,bn,fr.inversePatches,qn))}};if(qt.status===K.uninitialized)return fr;var Ge;if("data"in qt)if((0,n.a6)(qt.data)){var Tn=(0,n.vI)(qt.data,Ln),Kn=Tn[0],tt=Tn[1],Ft=Tn[2];(st=fr.patches).push.apply(st,tt),(St=fr.inversePatches).push.apply(St,Ft),Ge=Kn}else Ge=Ln(qt.data),fr.patches.push({op:"replace",path:[],value:Ge}),fr.inversePatches.push({op:"replace",path:[],value:qt.data});return ot(Jn.util.patchQueryData(Ve,bn,fr.patches,qn)),fr}},$t=function(Ve,bn,Ln){return function(qn){var ot;return qn(Jn.endpoints[Ve].initiate(bn,(ot={subscribe:!1,forceRefetch:!0},ot[it]=function(){return{data:Ln}},ot)))}},x=function(Ve,bn){return k(Yn,[Ve,bn],function(Ln,qn){var ot,Bn,st,St,Lt,qt,fr,Ge,Tn,Kn,tt,Ft,Rt,Tt,mr,Rr,pr,er,ar=qn.signal,jr=qn.abort,wr=qn.rejectWithValue,ht=qn.fulfillWithValue,hr=qn.dispatch,dr=qn.getState,Ur=qn.extra;return S(this,function(yr){switch(yr.label){case 0:ot=Hn[Ln.endpointName],yr.label=1;case 1:return yr.trys.push([1,8,,13]),Bn=cn,st=void 0,St={signal:ar,abort:jr,dispatch:hr,getState:dr,extra:Ur,endpoint:Ln.endpointName,type:Ln.type,forced:Ln.type==="query"?J(Ln,dr()):void 0},Lt=Ln.type==="query"?Ln[it]:void 0,Lt?(st=Lt(),[3,6]):[3,2];case 2:return ot.query?[4,hn(ot.query(Ln.originalArgs),St,ot.extraOptions)]:[3,4];case 3:return st=yr.sent(),ot.transformResponse&&(Bn=ot.transformResponse),[3,6];case 4:return[4,ot.queryFn(Ln.originalArgs,St,ot.extraOptions,function(Br){return hn(Br,St,ot.extraOptions)})];case 5:st=yr.sent(),yr.label=6;case 6:if(typeof D<"u",st.error)throw new Me(st.error,st.meta);return tt=ht,[4,Bn(st.data,st.meta,Ln.originalArgs)];case 7:return[2,tt.apply(void 0,[yr.sent(),(pr={fulfilledTimeStamp:Date.now(),baseQueryMeta:st.meta},pr[r.cN]=!0,pr)])];case 8:if(Ft=yr.sent(),Rt=Ft,!(Rt instanceof Me))return[3,12];Tt=cn,ot.query&&ot.transformErrorResponse&&(Tt=ot.transformErrorResponse),yr.label=9;case 9:return yr.trys.push([9,11,,12]),mr=wr,[4,Tt(Rt.value,Rt.meta,Ln.originalArgs)];case 10:return[2,mr.apply(void 0,[yr.sent(),(er={baseQueryMeta:Rt.meta},er[r.cN]=!0,er)])];case 11:return Rr=yr.sent(),Rt=Rr,[3,12];case 12:throw typeof D<"u",console.error(Rt),Rt;case 13:return[2]}})})};function J(Ve,bn){var Ln,qn,ot,Bn,st=(qn=(Ln=bn[Gn])==null?void 0:Ln.queries)==null?void 0:qn[Ve.queryCacheKey],St=(ot=bn[Gn])==null?void 0:ot.config.refetchOnMountOrArgChange,Lt=st?.fulfilledTimeStamp,qt=(Bn=Ve.forceRefetch)!=null?Bn:Ve.subscribe&&St;return qt?qt===!0||(Number(new Date)-Number(Lt))/1e3>=qt:!1}var Se=(0,r.zD)(Gn+"/executeQuery",x,{getPendingMeta:function(){var Ve;return Ve={startedTimeStamp:Date.now()},Ve[r.cN]=!0,Ve},condition:function(Ve,bn){var Ln=bn.getState,qn,ot,Bn,st=Ln(),St=(ot=(qn=st[Gn])==null?void 0:qn.queries)==null?void 0:ot[Ve.queryCacheKey],Lt=St?.fulfilledTimeStamp,qt=Ve.originalArgs,fr=St?.originalArgs,Ge=Hn[Ve.endpointName];return en(Ve)?!0:St?.status==="pending"?!1:J(Ve,st)||gt(Ge)&&((Bn=Ge?.forceRefetch)!=null&&Bn.call(Ge,{currentArg:qt,previousArg:fr,endpointState:St,state:st}))?!0:!Lt},dispatchConditionRejection:!0}),Ue=(0,r.zD)(Gn+"/executeMutation",x,{getPendingMeta:function(){var Ve;return Ve={startedTimeStamp:Date.now()},Ve[r.cN]=!0,Ve}}),pe=function(Ve){return"force"in Ve},ve=function(Ve){return"ifOlderThan"in Ve},ue=function(Ve,bn,Ln){return function(qn,ot){var Bn=pe(Ln)&&Ln.force,st=ve(Ln)&&Ln.ifOlderThan,St=function(Ge){return Ge===void 0&&(Ge=!0),Jn.endpoints[Ve].initiate(bn,{forceRefetch:Ge})},Lt=Jn.endpoints[Ve].select(bn)(ot());if(Bn)qn(St());else if(st){var qt=Lt?.fulfilledTimeStamp;if(!qt){qn(St());return}var fr=(Number(new Date)-Number(new Date(qt)))/1e3>=st;fr&&qn(St())}else qn(St(!1))}};function Ie(Ve){return function(bn){var Ln,qn;return((qn=(Ln=bn?.meta)==null?void 0:Ln.arg)==null?void 0:qn.endpointName)===Ve}}function rn(Ve,bn){return{matchPending:(0,r.f$)((0,r.mm)(Ve),Ie(bn)),matchFulfilled:(0,r.f$)((0,r.sf)(Ve),Ie(bn)),matchRejected:(0,r.f$)((0,r.TK)(Ve),Ie(bn))}}return{queryThunk:Se,mutationThunk:Ue,prefetch:ue,updateQueryData:Nt,upsertQueryData:$t,patchQueryData:rt,buildMatchThunkActions:rn}}function Pe(nn,Yn,Gn,hn){return Dn(Gn[nn.meta.arg.endpointName][Yn],(0,r.sf)(nn)?nn.payload:void 0,(0,r.WA)(nn)?nn.payload:void 0,nn.meta.arg.originalArgs,"baseQueryMeta"in nn.meta?nn.meta.baseQueryMeta:void 0,hn)}function le(nn,Yn,Gn){var hn=nn[Yn];hn&&Gn(hn)}function he(nn){var Yn;return(Yn="arg"in nn?nn.arg.fixedCacheKey:nn.fixedCacheKey)!=null?Yn:nn.requestId}function $e(nn,Yn,Gn){var hn=nn[he(Yn)];hn&&Gn(hn)}var fn={};function ke(nn){var Yn=nn.reducerPath,Gn=nn.queryThunk,hn=nn.mutationThunk,Hn=nn.context,jn=Hn.endpointDefinitions,Jn=Hn.apiUid,Ct=Hn.extractRehydrationInfo,rt=Hn.hasRehydrationInfo,Nt=nn.assertTagType,$t=nn.config,x=(0,r.VP)(Yn+"/resetApiState"),J=(0,r.Z0)({name:Yn+"/queries",initialState:fn,reducers:{removeQueryResult:{reducer:function(bn,Ln){var qn=Ln.payload.queryCacheKey;delete bn[qn]},prepare:(0,r.aA)()},queryResultPatched:{reducer:function(bn,Ln){var qn=Ln.payload,ot=qn.queryCacheKey,Bn=qn.patches;le(bn,ot,function(st){st.data=(0,n.$i)(st.data,Bn.concat())})},prepare:(0,r.aA)()}},extraReducers:function(bn){bn.addCase(Gn.pending,function(Ln,qn){var ot=qn.meta,Bn=qn.meta.arg,st,St,Lt=en(Bn);(Bn.subscribe||Lt)&&((St=Ln[st=Bn.queryCacheKey])!=null||(Ln[st]={status:K.uninitialized,endpointName:Bn.endpointName})),le(Ln,Bn.queryCacheKey,function(qt){qt.status=K.pending,qt.requestId=Lt&&qt.requestId?qt.requestId:ot.requestId,Bn.originalArgs!==void 0&&(qt.originalArgs=Bn.originalArgs),qt.startedTimeStamp=ot.startedTimeStamp})}).addCase(Gn.fulfilled,function(Ln,qn){var ot=qn.meta,Bn=qn.payload;le(Ln,ot.arg.queryCacheKey,function(st){var St;if(!(st.requestId!==ot.requestId&&!en(ot.arg))){var Lt=jn[ot.arg.endpointName].merge;if(st.status=K.fulfilled,Lt)if(st.data!==void 0){var qt=ot.fulfilledTimeStamp,fr=ot.arg,Ge=ot.baseQueryMeta,Tn=ot.requestId,Kn=(0,n.Ay)(st.data,function(tt){return Lt(tt,Bn,{arg:fr.originalArgs,baseQueryMeta:Ge,fulfilledTimeStamp:qt,requestId:Tn})});st.data=Kn}else st.data=Bn;else st.data=(St=jn[ot.arg.endpointName].structuralSharing)==null||St?de((0,n.Qx)(st.data)?(0,n.c2)(st.data):st.data,Bn):Bn;delete st.error,st.fulfilledTimeStamp=ot.fulfilledTimeStamp}})}).addCase(Gn.rejected,function(Ln,qn){var ot=qn.meta,Bn=ot.condition,st=ot.arg,St=ot.requestId,Lt=qn.error,qt=qn.payload;le(Ln,st.queryCacheKey,function(fr){if(!Bn){if(fr.requestId!==St)return;fr.status=K.rejected,fr.error=qt??Lt}})}).addMatcher(rt,function(Ln,qn){for(var ot=Ct(qn).queries,Bn=0,st=Object.entries(ot);Bn<st.length;Bn++){var St=st[Bn],Lt=St[0],qt=St[1];(qt?.status===K.fulfilled||qt?.status===K.rejected)&&(Ln[Lt]=qt)}})}}),Se=(0,r.Z0)({name:Yn+"/mutations",initialState:fn,reducers:{removeMutationResult:{reducer:function(bn,Ln){var qn=Ln.payload,ot=he(qn);ot in bn&&delete bn[ot]},prepare:(0,r.aA)()}},extraReducers:function(bn){bn.addCase(hn.pending,function(Ln,qn){var ot=qn.meta,Bn=qn.meta,st=Bn.requestId,St=Bn.arg,Lt=Bn.startedTimeStamp;St.track&&(Ln[he(ot)]={requestId:st,status:K.pending,endpointName:St.endpointName,startedTimeStamp:Lt})}).addCase(hn.fulfilled,function(Ln,qn){var ot=qn.payload,Bn=qn.meta;Bn.arg.track&&$e(Ln,Bn,function(st){st.requestId===Bn.requestId&&(st.status=K.fulfilled,st.data=ot,st.fulfilledTimeStamp=Bn.fulfilledTimeStamp)})}).addCase(hn.rejected,function(Ln,qn){var ot=qn.payload,Bn=qn.error,st=qn.meta;st.arg.track&&$e(Ln,st,function(St){St.requestId===st.requestId&&(St.status=K.rejected,St.error=ot??Bn)})}).addMatcher(rt,function(Ln,qn){for(var ot=Ct(qn).mutations,Bn=0,st=Object.entries(ot);Bn<st.length;Bn++){var St=st[Bn],Lt=St[0],qt=St[1];(qt?.status===K.fulfilled||qt?.status===K.rejected)&&Lt!==qt?.requestId&&(Ln[Lt]=qt)}})}}),Ue=(0,r.Z0)({name:Yn+"/invalidation",initialState:fn,reducers:{updateProvidedBy:{reducer:function(bn,Ln){for(var qn,ot,Bn,st,St=Ln.payload,Lt=St.queryCacheKey,qt=St.providedTags,fr=0,Ge=Object.values(bn);fr<Ge.length;fr++)for(var Tn=Ge[fr],Kn=0,tt=Object.values(Tn);Kn<tt.length;Kn++){var Ft=tt[Kn],Rt=Ft.indexOf(Lt);Rt!==-1&&Ft.splice(Rt,1)}for(var Tt=0,mr=qt;Tt<mr.length;Tt++){var Rr=mr[Tt],pr=Rr.type,er=Rr.id,ar=(st=(ot=(qn=bn[pr])!=null?qn:bn[pr]={})[Bn=er||"__internal_without_id"])!=null?st:ot[Bn]=[],jr=ar.includes(Lt);jr||ar.push(Lt)}},prepare:(0,r.aA)()}},extraReducers:function(bn){bn.addCase(J.actions.removeQueryResult,function(Ln,qn){for(var ot=qn.payload.queryCacheKey,Bn=0,st=Object.values(Ln);Bn<st.length;Bn++)for(var St=st[Bn],Lt=0,qt=Object.values(St);Lt<qt.length;Lt++){var fr=qt[Lt],Ge=fr.indexOf(ot);Ge!==-1&&fr.splice(Ge,1)}}).addMatcher(rt,function(Ln,qn){for(var ot,Bn,st,St,Lt=Ct(qn).provided,qt=0,fr=Object.entries(Lt);qt<fr.length;qt++)for(var Ge=fr[qt],Tn=Ge[0],Kn=Ge[1],tt=0,Ft=Object.entries(Kn);tt<Ft.length;tt++)for(var Rt=Ft[tt],Tt=Rt[0],mr=Rt[1],Rr=(St=(Bn=(ot=Ln[Tn])!=null?ot:Ln[Tn]={})[st=Tt||"__internal_without_id"])!=null?St:Bn[st]=[],pr=0,er=mr;pr<er.length;pr++){var ar=er[pr],jr=Rr.includes(ar);jr||Rr.push(ar)}}).addMatcher((0,r.i0)((0,r.sf)(Gn),(0,r.WA)(Gn)),function(Ln,qn){var ot=Pe(qn,"providesTags",jn,Nt),Bn=qn.meta.arg.queryCacheKey;Ue.caseReducers.updateProvidedBy(Ln,Ue.actions.updateProvidedBy({queryCacheKey:Bn,providedTags:ot}))})}}),pe=(0,r.Z0)({name:Yn+"/subscriptions",initialState:fn,reducers:{updateSubscriptionOptions:function(bn,Ln){},unsubscribeQueryResult:function(bn,Ln){},internal_probeSubscription:function(bn,Ln){}}}),ve=(0,r.Z0)({name:Yn+"/internalSubscriptions",initialState:fn,reducers:{subscriptionsUpdated:{reducer:function(bn,Ln){return(0,n.$i)(bn,Ln.payload)},prepare:(0,r.aA)()}}}),ue=(0,r.Z0)({name:Yn+"/config",initialState:R({online:Z(),focused:te(),middlewareRegistered:!1},$t),reducers:{middlewareRegistered:function(bn,Ln){var qn=Ln.payload;bn.middlewareRegistered=bn.middlewareRegistered==="conflict"||Jn!==qn?"conflict":!0}},extraReducers:function(bn){bn.addCase(at,function(Ln){Ln.online=!0}).addCase(un,function(Ln){Ln.online=!1}).addCase(zn,function(Ln){Ln.focused=!0}).addCase(In,function(Ln){Ln.focused=!1}).addMatcher(rt,function(Ln){return R({},Ln)})}}),Ie=(0,O.HY)({queries:J.reducer,mutations:Se.reducer,provided:Ue.reducer,subscriptions:ve.reducer,config:ue.reducer}),rn=function(bn,Ln){return Ie(x.match(Ln)?void 0:bn,Ln)},Ve=B(R(R(R(R(R(R({},ue.actions),J.actions),pe.actions),ve.actions),Se.actions),Ue.actions),{unsubscribeMutationResult:Se.actions.removeMutationResult,resetApiState:x});return{reducer:rn,actions:Ve}}var gn=Symbol.for("RTKQ/skipToken"),dn=null,wn={status:K.uninitialized},He=(0,n.Ay)(wn,function(){}),ln=(0,n.Ay)(wn,function(){});function pn(nn){var Yn=nn.serializeQueryArgs,Gn=nn.reducerPath,hn=function($t){return He},Hn=function($t){return ln};return{buildQuerySelector:Ct,buildMutationSelector:rt,selectInvalidatedBy:Nt};function jn($t){return R(R({},$t),U($t.status))}function Jn($t){var x=$t[Gn];return x}function Ct($t,x){return function(J){var Se=Yn({queryArgs:J,endpointDefinition:x,endpointName:$t}),Ue=function(ve){var ue,Ie,rn;return(rn=(Ie=(ue=Jn(ve))==null?void 0:ue.queries)==null?void 0:Ie[Se])!=null?rn:He},pe=J===gn?hn:Ue;return b(pe,jn)}}function rt(){return function($t){var x,J;typeof $t=="object"?J=(x=he($t))!=null?x:gn:J=$t;var Se=function(pe){var ve,ue,Ie;return(Ie=(ue=(ve=Jn(pe))==null?void 0:ve.mutations)==null?void 0:ue[J])!=null?Ie:ln},Ue=J===gn?Hn:Se;return b(Ue,jn)}}function Nt($t,x){for(var J,Se=$t[Gn],Ue=new Set,pe=0,ve=x.map(tn);pe<ve.length;pe++){var ue=ve[pe],Ie=Se.provided[ue.type];if(Ie)for(var rn=(J=ue.id!==void 0?Ie[ue.id]:W(Object.values(Ie)))!=null?J:[],Ve=0,bn=rn;Ve<bn.length;Ve++){var Ln=bn[Ve];Ue.add(Ln)}}return W(Array.from(Ue.values()).map(function(qn){var ot=Se.queries[qn];return ot?[{queryCacheKey:qn,endpointName:ot.endpointName,originalArgs:ot.originalArgs}]:[]}))}}var $n=WeakMap?new WeakMap:void 0,dt=function(nn){var Yn=nn.endpointName,Gn=nn.queryArgs,hn="",Hn=$n?.get(Gn);if(typeof Hn=="string")hn=Hn;else{var jn=JSON.stringify(Gn,function(Jn,Ct){return(0,r.Qd)(Ct)?Object.keys(Ct).sort().reduce(function(rt,Nt){return rt[Nt]=Ct[Nt],rt},{}):Ct});(0,r.Qd)(Gn)&&$n?.set(Gn,jn),hn=jn}return Yn+"("+hn+")"};function Y(){for(var nn=[],Yn=0;Yn<arguments.length;Yn++)nn[Yn]=arguments[Yn];return function(hn){var Hn=h(function($t){var x,J;return(J=hn.extractRehydrationInfo)==null?void 0:J.call(hn,$t,{reducerPath:(x=hn.reducerPath)!=null?x:"api"})}),jn=B(R({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},hn),{extractRehydrationInfo:Hn,serializeQueryArgs:function($t){var x=dt;if("serializeQueryArgs"in $t.endpointDefinition){var J=$t.endpointDefinition.serializeQueryArgs;x=function(Se){var Ue=J(Se);return typeof Ue=="string"?Ue:dt(B(R({},Se),{queryArgs:Ue}))}}else hn.serializeQueryArgs&&(x=hn.serializeQueryArgs);return x($t)},tagTypes:C([],hn.tagTypes||[])}),Jn={endpointDefinitions:{},batch:function($t){$t()},apiUid:(0,r.Ak)(),extractRehydrationInfo:Hn,hasRehydrationInfo:h(function($t){return Hn($t)!=null})},Ct={injectEndpoints:Nt,enhanceEndpoints:function($t){var x=$t.addTagTypes,J=$t.endpoints;if(x)for(var Se=0,Ue=x;Se<Ue.length;Se++){var pe=Ue[Se];jn.tagTypes.includes(pe)||jn.tagTypes.push(pe)}if(J)for(var ve=0,ue=Object.entries(J);ve<ue.length;ve++){var Ie=ue[ve],rn=Ie[0],Ve=Ie[1];typeof Ve=="function"?Ve(Jn.endpointDefinitions[rn]):Object.assign(Jn.endpointDefinitions[rn]||{},Ve)}return Ct}},rt=nn.map(function($t){return $t.init(Ct,jn,Jn)});function Nt($t){for(var x=$t.endpoints({query:function(Ve){return B(R({},Ve),{type:Xn.query})},mutation:function(Ve){return B(R({},Ve),{type:Xn.mutation})}}),J=0,Se=Object.entries(x);J<Se.length;J++){var Ue=Se[J],pe=Ue[0],ve=Ue[1];if(!$t.overrideExisting&&pe in Jn.endpointDefinitions){typeof D<"u";continue}Jn.endpointDefinitions[pe]=ve;for(var ue=0,Ie=rt;ue<Ie.length;ue++){var rn=Ie[ue];rn.injectEndpoint(pe,ve)}}return Ct}return Ct.injectEndpoints({endpoints:hn.endpoints})}}function ie(){return function(){throw new Error("When using `fakeBaseQuery`, all queries & mutations must use the `queryFn` definition syntax.")}}function ne(nn){for(var Yn in nn)return!1;return!0}var $=2147483647/1e3-1,oe=function(nn){var Yn=nn.reducerPath,Gn=nn.api,hn=nn.context,Hn=nn.internalState,jn=Gn.internalActions,Jn=jn.removeQueryResult,Ct=jn.unsubscribeQueryResult;function rt(J){var Se=Hn.currentSubscriptions[J];return!!Se&&!ne(Se)}var Nt={},$t=function(J,Se,Ue){var pe;if(Ct.match(J)){var ve=Se.getState()[Yn],ue=J.payload.queryCacheKey;x(ue,(pe=ve.queries[ue])==null?void 0:pe.endpointName,Se,ve.config)}if(Gn.util.resetApiState.match(J))for(var Ie=0,rn=Object.entries(Nt);Ie<rn.length;Ie++){var Ve=rn[Ie],bn=Ve[0],Ln=Ve[1];Ln&&clearTimeout(Ln),delete Nt[bn]}if(hn.hasRehydrationInfo(J))for(var ve=Se.getState()[Yn],qn=hn.extractRehydrationInfo(J).queries,ot=0,Bn=Object.entries(qn);ot<Bn.length;ot++){var st=Bn[ot],ue=st[0],St=st[1];x(ue,St?.endpointName,Se,ve.config)}};function x(J,Se,Ue,pe){var ve,ue=hn.endpointDefinitions[Se],Ie=(ve=ue?.keepUnusedDataFor)!=null?ve:pe.keepUnusedDataFor;if(Ie!==1/0){var rn=Math.max(0,Math.min(Ie,$));if(!rt(J)){var Ve=Nt[J];Ve&&clearTimeout(Ve),Nt[J]=setTimeout(function(){rt(J)||Ue.dispatch(Jn({queryCacheKey:J})),delete Nt[J]},rn*1e3)}}}return $t},ge=function(nn){var Yn=nn.reducerPath,Gn=nn.context,hn=nn.context.endpointDefinitions,Hn=nn.mutationThunk,jn=nn.api,Jn=nn.assertTagType,Ct=nn.refetchQuery,rt=jn.internalActions.removeQueryResult,Nt=(0,r.i0)((0,r.sf)(Hn),(0,r.WA)(Hn)),$t=function(J,Se){Nt(J)&&x(Pe(J,"invalidatesTags",hn,Jn),Se),jn.util.invalidateTags.match(J)&&x(Dn(J.payload,void 0,void 0,void 0,void 0,Jn),Se)};function x(J,Se){var Ue=Se.getState(),pe=Ue[Yn],ve=jn.util.selectInvalidatedBy(Ue,J);Gn.batch(function(){for(var ue,Ie=Array.from(ve.values()),rn=0,Ve=Ie;rn<Ve.length;rn++){var bn=Ve[rn].queryCacheKey,Ln=pe.queries[bn],qn=(ue=pe.subscriptions[bn])!=null?ue:{};Ln&&(Object.keys(qn).length===0?Se.dispatch(rt({queryCacheKey:bn})):Ln.status!==K.uninitialized&&Se.dispatch(Ct(Ln,bn)))}})}return $t},Ne=function(nn){var Yn=nn.reducerPath,Gn=nn.queryThunk,hn=nn.api,Hn=nn.refetchQuery,jn=nn.internalState,Jn={},Ct=function(Se,Ue){(hn.internalActions.updateSubscriptionOptions.match(Se)||hn.internalActions.unsubscribeQueryResult.match(Se))&&Nt(Se.payload,Ue),(Gn.pending.match(Se)||Gn.rejected.match(Se)&&Se.meta.condition)&&Nt(Se.meta.arg,Ue),(Gn.fulfilled.match(Se)||Gn.rejected.match(Se)&&!Se.meta.condition)&&rt(Se.meta.arg,Ue),hn.util.resetApiState.match(Se)&&x()};function rt(Se,Ue){var pe=Se.queryCacheKey,ve=Ue.getState()[Yn],ue=ve.queries[pe],Ie=jn.currentSubscriptions[pe];if(!(!ue||ue.status===K.uninitialized)){var rn=J(Ie);if(Number.isFinite(rn)){var Ve=Jn[pe];Ve?.timeout&&(clearTimeout(Ve.timeout),Ve.timeout=void 0);var bn=Date.now()+rn,Ln=Jn[pe]={nextPollTimestamp:bn,pollingInterval:rn,timeout:setTimeout(function(){Ln.timeout=void 0,Ue.dispatch(Hn(ue,pe))},rn)}}}}function Nt(Se,Ue){var pe=Se.queryCacheKey,ve=Ue.getState()[Yn],ue=ve.queries[pe],Ie=jn.currentSubscriptions[pe];if(!(!ue||ue.status===K.uninitialized)){var rn=J(Ie);if(!Number.isFinite(rn)){$t(pe);return}var Ve=Jn[pe],bn=Date.now()+rn;(!Ve||bn<Ve.nextPollTimestamp)&&rt({queryCacheKey:pe},Ue)}}function $t(Se){var Ue=Jn[Se];Ue?.timeout&&clearTimeout(Ue.timeout),delete Jn[Se]}function x(){for(var Se=0,Ue=Object.keys(Jn);Se<Ue.length;Se++){var pe=Ue[Se];$t(pe)}}function J(Se){Se===void 0&&(Se={});var Ue=Number.POSITIVE_INFINITY;for(var pe in Se)Se[pe].pollingInterval&&(Ue=Math.min(Se[pe].pollingInterval,Ue));return Ue}return Ct},Ke=function(nn){var Yn=nn.reducerPath,Gn=nn.context,hn=nn.api,Hn=nn.refetchQuery,jn=nn.internalState,Jn=hn.internalActions.removeQueryResult,Ct=function(Nt,$t){zn.match(Nt)&&rt($t,"refetchOnFocus"),at.match(Nt)&&rt($t,"refetchOnReconnect")};function rt(Nt,$t){var x=Nt.getState()[Yn],J=x.queries,Se=jn.currentSubscriptions;Gn.batch(function(){for(var Ue=0,pe=Object.keys(Se);Ue<pe.length;Ue++){var ve=pe[Ue],ue=J[ve],Ie=Se[ve];if(!(!Ie||!ue)){var rn=Object.values(Ie).some(function(Ve){return Ve[$t]===!0})||Object.values(Ie).every(function(Ve){return Ve[$t]===void 0})&&x.config[$t];rn&&(Object.keys(Ie).length===0?Nt.dispatch(Jn({queryCacheKey:ve})):ue.status!==K.uninitialized&&Nt.dispatch(Hn(ue,ve)))}}})}return Ct},Un=new Error("Promise never resolved before cacheEntryRemoved."),ut=function(nn){var Yn=nn.api,Gn=nn.reducerPath,hn=nn.context,Hn=nn.queryThunk,jn=nn.mutationThunk,Jn=nn.internalState,Ct=(0,r.$S)(Hn),rt=(0,r.$S)(jn),Nt=(0,r.sf)(Hn,jn),$t={},x=function(Ue,pe,ve){var ue=J(Ue);if(Hn.pending.match(Ue)){var Ie=ve[Gn].queries[ue],rn=pe.getState()[Gn].queries[ue];!Ie&&rn&&Se(Ue.meta.arg.endpointName,Ue.meta.arg.originalArgs,ue,pe,Ue.meta.requestId)}else if(jn.pending.match(Ue)){var rn=pe.getState()[Gn].mutations[ue];rn&&Se(Ue.meta.arg.endpointName,Ue.meta.arg.originalArgs,ue,pe,Ue.meta.requestId)}else if(Nt(Ue)){var Ve=$t[ue];Ve?.valueResolved&&(Ve.valueResolved({data:Ue.payload,meta:Ue.meta.baseQueryMeta}),delete Ve.valueResolved)}else if(Yn.internalActions.removeQueryResult.match(Ue)||Yn.internalActions.removeMutationResult.match(Ue)){var Ve=$t[ue];Ve&&(delete $t[ue],Ve.cacheEntryRemoved())}else if(Yn.util.resetApiState.match(Ue))for(var bn=0,Ln=Object.entries($t);bn<Ln.length;bn++){var qn=Ln[bn],ot=qn[0],Ve=qn[1];delete $t[ot],Ve.cacheEntryRemoved()}};function J(Ue){return Ct(Ue)?Ue.meta.arg.queryCacheKey:rt(Ue)?Ue.meta.requestId:Yn.internalActions.removeQueryResult.match(Ue)?Ue.payload.queryCacheKey:Yn.internalActions.removeMutationResult.match(Ue)?he(Ue.payload):""}function Se(Ue,pe,ve,ue,Ie){var rn=hn.endpointDefinitions[Ue],Ve=rn?.onCacheEntryAdded;if(Ve){var bn={},Ln=new Promise(function(Lt){bn.cacheEntryRemoved=Lt}),qn=Promise.race([new Promise(function(Lt){bn.valueResolved=Lt}),Ln.then(function(){throw Un})]);qn.catch(function(){}),$t[ve]=bn;var ot=Yn.endpoints[Ue].select(rn.type===Xn.query?pe:ve),Bn=ue.dispatch(function(Lt,qt,fr){return fr}),st=B(R({},ue),{getCacheEntry:function(){return ot(ue.getState())},requestId:Ie,extra:Bn,updateCachedData:rn.type===Xn.query?function(Lt){return ue.dispatch(Yn.util.updateQueryData(Ue,pe,Lt))}:void 0,cacheDataLoaded:qn,cacheEntryRemoved:Ln}),St=Ve(pe,st);Promise.resolve(St).catch(function(Lt){if(Lt!==Un)throw Lt})}}return x},Et=function(nn){var Yn=nn.api,Gn=nn.context,hn=nn.queryThunk,Hn=nn.mutationThunk,jn=(0,r.mm)(hn,Hn),Jn=(0,r.TK)(hn,Hn),Ct=(0,r.sf)(hn,Hn),rt={},Nt=function($t,x){var J,Se,Ue;if(jn($t)){var pe=$t.meta,ve=pe.requestId,ue=pe.arg,Ie=ue.endpointName,rn=ue.originalArgs,Ve=Gn.endpointDefinitions[Ie],bn=Ve?.onQueryStarted;if(bn){var Ln={},qn=new Promise(function(Ge,Tn){Ln.resolve=Ge,Ln.reject=Tn});qn.catch(function(){}),rt[ve]=Ln;var ot=Yn.endpoints[Ie].select(Ve.type===Xn.query?rn:ve),Bn=x.dispatch(function(Ge,Tn,Kn){return Kn}),st=B(R({},x),{getCacheEntry:function(){return ot(x.getState())},requestId:ve,extra:Bn,updateCachedData:Ve.type===Xn.query?function(Ge){return x.dispatch(Yn.util.updateQueryData(Ie,rn,Ge))}:void 0,queryFulfilled:qn});bn(rn,st)}}else if(Ct($t)){var St=$t.meta,ve=St.requestId,Lt=St.baseQueryMeta;(J=rt[ve])==null||J.resolve({data:$t.payload,meta:Lt}),delete rt[ve]}else if(Jn($t)){var qt=$t.meta,ve=qt.requestId,fr=qt.rejectedWithValue,Lt=qt.baseQueryMeta;(Ue=rt[ve])==null||Ue.reject({error:(Se=$t.payload)!=null?Se:$t.error,isUnhandledError:!fr,meta:Lt}),delete rt[ve]}};return Nt},ir=function(nn){var Yn=nn.api,Gn=nn.context.apiUid,hn=nn.reducerPath;return function(Hn,jn){var Jn,Ct;Yn.util.resetApiState.match(Hn)&&jn.dispatch(Yn.internalActions.middlewareRegistered(Gn)),typeof D<"u"}},tr,lr=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:globalThis):function(nn){return(tr||(tr=Promise.resolve())).then(nn).catch(function(Yn){return setTimeout(function(){throw Yn},0)})},xr=function(nn){var Yn=nn.api,Gn=nn.queryThunk,hn=nn.internalState,Hn=Yn.reducerPath+"/subscriptions",jn=null,Jn=!1,Ct=Yn.internalActions,rt=Ct.updateSubscriptionOptions,Nt=Ct.unsubscribeQueryResult,$t=function(x,J){var Se,Ue,pe,ve,ue,Ie,rn,Ve,bn;if(rt.match(J)){var Ln=J.payload,qn=Ln.queryCacheKey,ot=Ln.requestId,Bn=Ln.options;return(Se=x?.[qn])!=null&&Se[ot]&&(x[qn][ot]=Bn),!0}if(Nt.match(J)){var st=J.payload,qn=st.queryCacheKey,ot=st.requestId;return x[qn]&&delete x[qn][ot],!0}if(Yn.internalActions.removeQueryResult.match(J))return delete x[J.payload.queryCacheKey],!0;if(Gn.pending.match(J)){var St=J.meta,Lt=St.arg,ot=St.requestId;if(Lt.subscribe){var qt=(pe=x[Ue=Lt.queryCacheKey])!=null?pe:x[Ue]={};return qt[ot]=(ue=(ve=Lt.subscriptionOptions)!=null?ve:qt[ot])!=null?ue:{},!0}}if(Gn.rejected.match(J)){var fr=J.meta,Ge=fr.condition,Lt=fr.arg,ot=fr.requestId;if(Ge&&Lt.subscribe){var qt=(rn=x[Ie=Lt.queryCacheKey])!=null?rn:x[Ie]={};return qt[ot]=(bn=(Ve=Lt.subscriptionOptions)!=null?Ve:qt[ot])!=null?bn:{},!0}}return!1};return function(x,J){var Se,Ue;if(jn||(jn=JSON.parse(JSON.stringify(hn.currentSubscriptions))),Yn.util.resetApiState.match(x))return jn=hn.currentSubscriptions={},[!0,!1];if(Yn.internalActions.internal_probeSubscription.match(x)){var pe=x.payload,ve=pe.queryCacheKey,ue=pe.requestId,Ie=!!((Se=hn.currentSubscriptions[ve])!=null&&Se[ue]);return[!1,Ie]}var rn=$t(hn.currentSubscriptions,x);if(rn){Jn||(lr(function(){var qn=JSON.parse(JSON.stringify(hn.currentSubscriptions)),ot=(0,n.vI)(jn,function(){return qn}),Bn=ot[1];J.next(Yn.internalActions.subscriptionsUpdated(Bn)),jn=qn,Jn=!1}),Jn=!0);var Ve=!!((Ue=x.type)!=null&&Ue.startsWith(Hn)),bn=Gn.rejected.match(x)&&x.meta.condition&&!!x.meta.arg.subscribe,Ln=!Ve&&!bn;return[Ln,!1]}return[!0,!1]}};function Cr(nn){var Yn=nn.reducerPath,Gn=nn.queryThunk,hn=nn.api,Hn=nn.context,jn=Hn.apiUid,Jn={invalidateTags:(0,r.VP)(Yn+"/invalidateTags")},Ct=function(x){return!!x&&typeof x.type=="string"&&x.type.startsWith(Yn+"/")},rt=[ir,oe,ge,Ne,ut,Et],Nt=function(x){var J=!1,Se={currentSubscriptions:{}},Ue=B(R({},nn),{internalState:Se,refetchQuery:$t}),pe=rt.map(function(Ie){return Ie(Ue)}),ve=xr(Ue),ue=Ke(Ue);return function(Ie){return function(rn){J||(J=!0,x.dispatch(hn.internalActions.middlewareRegistered(jn)));var Ve=B(R({},x),{next:Ie}),bn=x.getState(),Ln=ve(rn,Ve,bn),qn=Ln[0],ot=Ln[1],Bn;if(qn?Bn=Ie(rn):Bn=ot,x.getState()[Yn]&&(ue(rn,Ve,bn),Ct(rn)||Hn.hasRehydrationInfo(rn)))for(var st=0,St=pe;st<St.length;st++){var Lt=St[st];Lt(rn,Ve,bn)}return Bn}}};return{middleware:Nt,actions:Jn};function $t(x,J,Se){return Se===void 0&&(Se={}),Gn(R({type:"query",endpointName:x.endpointName,originalArgs:x.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:J},Se))}}function Ir(nn){}function Dr(nn){for(var Yn=[],Gn=1;Gn<arguments.length;Gn++)Yn[Gn-1]=arguments[Gn];Object.assign.apply(Object,C([nn],Yn))}var Dt=Symbol(),cr=function(){return{name:Dt,init:function(nn,Yn,Gn){var hn=Yn.baseQuery,Hn=Yn.tagTypes,jn=Yn.reducerPath,Jn=Yn.serializeQueryArgs,Ct=Yn.keepUnusedDataFor,rt=Yn.refetchOnMountOrArgChange,Nt=Yn.refetchOnFocus,$t=Yn.refetchOnReconnect;(0,n.YT)();var x=function(Rr){return typeof D<"u",Rr};Object.assign(nn,{reducerPath:jn,endpoints:{},internalActions:{onOnline:at,onOffline:un,onFocus:zn,onFocusLost:In},util:{}});var J=Oe({baseQuery:hn,reducerPath:jn,context:Gn,api:nn,serializeQueryArgs:Jn,assertTagType:x}),Se=J.queryThunk,Ue=J.mutationThunk,pe=J.patchQueryData,ve=J.updateQueryData,ue=J.upsertQueryData,Ie=J.prefetch,rn=J.buildMatchThunkActions,Ve=ke({context:Gn,queryThunk:Se,mutationThunk:Ue,reducerPath:jn,assertTagType:x,config:{refetchOnFocus:Nt,refetchOnReconnect:$t,refetchOnMountOrArgChange:rt,keepUnusedDataFor:Ct,reducerPath:jn}}),bn=Ve.reducer,Ln=Ve.actions;Dr(nn.util,{patchQueryData:pe,updateQueryData:ve,upsertQueryData:ue,prefetch:Ie,resetApiState:Ln.resetApiState}),Dr(nn.internalActions,Ln);var qn=Cr({reducerPath:jn,context:Gn,queryThunk:Se,mutationThunk:Ue,api:nn,assertTagType:x}),ot=qn.middleware,Bn=qn.actions;Dr(nn.util,Bn),Dr(nn,{reducer:bn,middleware:ot});var st=pn({serializeQueryArgs:Jn,reducerPath:jn}),St=st.buildQuerySelector,Lt=st.buildMutationSelector,qt=st.selectInvalidatedBy;Dr(nn.util,{selectInvalidatedBy:qt});var fr=ae({queryThunk:Se,mutationThunk:Ue,api:nn,serializeQueryArgs:Jn,context:Gn}),Ge=fr.buildInitiateQuery,Tn=fr.buildInitiateMutation,Kn=fr.getRunningMutationThunk,tt=fr.getRunningMutationsThunk,Ft=fr.getRunningQueriesThunk,Rt=fr.getRunningQueryThunk,Tt=fr.getRunningOperationPromises,mr=fr.removalWarning;return Dr(nn.util,{getRunningOperationPromises:Tt,getRunningOperationPromise:mr,getRunningMutationThunk:Kn,getRunningMutationsThunk:tt,getRunningQueryThunk:Rt,getRunningQueriesThunk:Ft}),{name:Dt,injectEndpoint:function(Rr,pr){var er,ar,jr=nn;(ar=(er=jr.endpoints)[Rr])!=null||(er[Rr]={}),gt(pr)?Dr(jr.endpoints[Rr],{name:Rr,select:St(Rr,pr),initiate:Ge(Rr,pr)},rn(Se,Rr)):lt(pr)&&Dr(jr.endpoints[Rr],{name:Rr,select:Lt(),initiate:Tn(Rr)},rn(Ue,Rr))}}}}},Wt=Y(cr())},"./node_modules/.pnpm/@reduxjs+toolkit@1.9.7_react-redux@8.1.3_react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js"(d,p,e){"use strict";e.d(p,{cN:()=>ot,U1:()=>Qe,VP:()=>B,zD:()=>$n,Nc:()=>qn,Z0:()=>_n,f$:()=>$,i0:()=>ne,$S:()=>Et,sf:()=>ut,mm:()=>Ne,Qd:()=>E,TK:()=>Ke,WA:()=>Un,Ak:()=>dn,aA:()=>Bn});var r=e("./node_modules/.pnpm/immer@9.0.21/node_modules/immer/dist/immer.esm.js"),n=e("./node_modules/.pnpm/redux@4.2.1/node_modules/redux/es/redux.js");function o(Ge){var Tn=function(tt){var Ft=tt.dispatch,Rt=tt.getState;return function(Tt){return function(mr){return typeof mr=="function"?mr(Ft,Rt,Ge):Tt(mr)}}};return Tn}var t=o();t.withExtraArgument=o;const i=t;var c=e("./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),l=function(){var Ge=function(Tn,Kn){return Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,Ft){tt.__proto__=Ft}||function(tt,Ft){for(var Rt in Ft)Object.prototype.hasOwnProperty.call(Ft,Rt)&&(tt[Rt]=Ft[Rt])},Ge(Tn,Kn)};return function(Tn,Kn){if(typeof Kn!="function"&&Kn!==null)throw new TypeError("Class extends value "+String(Kn)+" is not a constructor or null");Ge(Tn,Kn);function tt(){this.constructor=Tn}Tn.prototype=Kn===null?Object.create(Kn):(tt.prototype=Kn.prototype,new tt)}}(),h=function(Ge,Tn){var Kn={label:0,sent:function(){if(Rt[0]&1)throw Rt[1];return Rt[1]},trys:[],ops:[]},tt,Ft,Rt,Tt;return Tt={next:mr(0),throw:mr(1),return:mr(2)},typeof Symbol=="function"&&(Tt[Symbol.iterator]=function(){return this}),Tt;function mr(pr){return function(er){return Rr([pr,er])}}function Rr(pr){if(tt)throw new TypeError("Generator is already executing.");for(;Kn;)try{if(tt=1,Ft&&(Rt=pr[0]&2?Ft.return:pr[0]?Ft.throw||((Rt=Ft.return)&&Rt.call(Ft),0):Ft.next)&&!(Rt=Rt.call(Ft,pr[1])).done)return Rt;switch(Ft=0,Rt&&(pr=[pr[0]&2,Rt.value]),pr[0]){case 0:case 1:Rt=pr;break;case 4:return Kn.label++,{value:pr[1],done:!1};case 5:Kn.label++,Ft=pr[1],pr=[0];continue;case 7:pr=Kn.ops.pop(),Kn.trys.pop();continue;default:if(Rt=Kn.trys,!(Rt=Rt.length>0&&Rt[Rt.length-1])&&(pr[0]===6||pr[0]===2)){Kn=0;continue}if(pr[0]===3&&(!Rt||pr[1]>Rt[0]&&pr[1]<Rt[3])){Kn.label=pr[1];break}if(pr[0]===6&&Kn.label<Rt[1]){Kn.label=Rt[1],Rt=pr;break}if(Rt&&Kn.label<Rt[2]){Kn.label=Rt[2],Kn.ops.push(pr);break}Rt[2]&&Kn.ops.pop(),Kn.trys.pop();continue}pr=Tn.call(Ge,Kn)}catch(er){pr=[6,er],Ft=0}finally{tt=Rt=0}if(pr[0]&5)throw pr[1];return{value:pr[0]?pr[1]:void 0,done:!0}}},g=function(Ge,Tn){for(var Kn=0,tt=Tn.length,Ft=Ge.length;Kn<tt;Kn++,Ft++)Ge[Ft]=Tn[Kn];return Ge},y=Object.defineProperty,b=Object.defineProperties,T=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,C=function(Ge,Tn,Kn){return Tn in Ge?y(Ge,Tn,{enumerable:!0,configurable:!0,writable:!0,value:Kn}):Ge[Tn]=Kn},P=function(Ge,Tn){for(var Kn in Tn||(Tn={}))D.call(Tn,Kn)&&C(Ge,Kn,Tn[Kn]);if(O)for(var tt=0,Ft=O(Tn);tt<Ft.length;tt++){var Kn=Ft[tt];S.call(Tn,Kn)&&C(Ge,Kn,Tn[Kn])}return Ge},L=function(Ge,Tn){return b(Ge,T(Tn))},w=function(Ge,Tn,Kn){return new Promise(function(tt,Ft){var Rt=function(Rr){try{mr(Kn.next(Rr))}catch(pr){Ft(pr)}},Tt=function(Rr){try{mr(Kn.throw(Rr))}catch(pr){Ft(pr)}},mr=function(Rr){return Rr.done?tt(Rr.value):Promise.resolve(Rr.value).then(Rt,Tt)};mr((Kn=Kn.apply(Ge,Tn)).next())})},v=function(){for(var Ge=[],Tn=0;Tn<arguments.length;Tn++)Ge[Tn]=arguments[Tn];var Kn=createSelector.apply(void 0,Ge),tt=function(Ft){for(var Rt=[],Tt=1;Tt<arguments.length;Tt++)Rt[Tt-1]=arguments[Tt];return Kn.apply(void 0,g([isDraft(Ft)?current(Ft):Ft],Rt))};return tt},_=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?n.Zz:n.Zz.apply(null,arguments)},I=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(Ge){return Ge}};function E(Ge){if(typeof Ge!="object"||Ge===null)return!1;var Tn=Object.getPrototypeOf(Ge);if(Tn===null)return!0;for(var Kn=Tn;Object.getPrototypeOf(Kn)!==null;)Kn=Object.getPrototypeOf(Kn);return Tn===Kn}var R=function(Ge){return Ge&&typeof Ge.match=="function"};function B(Ge,Tn){function Kn(){for(var tt=[],Ft=0;Ft<arguments.length;Ft++)tt[Ft]=arguments[Ft];if(Tn){var Rt=Tn.apply(void 0,tt);if(!Rt)throw new Error("prepareAction did not return an object");return P(P({type:Ge,payload:Rt.payload},"meta"in Rt&&{meta:Rt.meta}),"error"in Rt&&{error:Rt.error})}return{type:Ge,payload:tt[0]}}return Kn.toString=function(){return""+Ge},Kn.type=Ge,Kn.match=function(tt){return tt.type===Ge},Kn}function ee(Ge){return E(Ge)&&"type"in Ge}function k(Ge){return typeof Ge=="function"&&"type"in Ge&&R(Ge)}function K(Ge){return ee(Ge)&&typeof Ge.type=="string"&&Object.keys(Ge).every(U)}function U(Ge){return["type","payload","error","meta"].indexOf(Ge)>-1}function V(Ge){return""+Ge}function se(Ge){var Tn=Ge?(""+Ge).split("/"):[],Kn=Tn[Tn.length-1]||"actionCreator";return'Detected an action creator with type "'+(Ge||"unknown")+`" being dispatched.
|
|
1416
1416
|
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(`+Kn+"())` instead of `dispatch("+Kn+")`. This is necessary even if the action has no payload."}function G(Ge){return Ge===void 0&&(Ge={}),function(){return function(tt){return function(Ft){return tt(Ft)}}};var Tn,Kn}function N(Ge,Tn){var Kn=0;return{measureTime:function(tt){var Ft=Date.now();try{return tt()}finally{var Rt=Date.now();Kn+=Rt-Ft}},warnIfExceeded:function(){Kn>Ge&&console.warn(Tn+" took "+Kn+"ms, which is more than the warning threshold of "+Ge+`ms.
|
|
Binary file
|
|
Binary file
|