q2-tecton-platform 1.62.6 → 1.63.1
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/dist/bundle-report.json +1 -1
- package/dist/esm/actions/actionRequiredSetup.d.ts +2 -2
- package/dist/esm/actions/actionRequiredSetup.d.ts.map +1 -1
- package/dist/esm/actions/actionRequiredSetup.js +6 -6
- package/dist/esm/actions/authorizeTransactionWithMfaSetup.d.ts +1 -1
- package/dist/esm/actions/authorizeTransactionWithMfaSetup.d.ts.map +1 -1
- package/dist/esm/actions/authorizeTransactionWithMfaSetup.js +3 -3
- package/dist/esm/actions/clearCacheSetup.d.ts +1 -1
- package/dist/esm/actions/clearCacheSetup.d.ts.map +1 -1
- package/dist/esm/actions/clearCacheSetup.js +3 -3
- package/dist/esm/actions/clearParamsSetup.d.ts +1 -1
- package/dist/esm/actions/clearParamsSetup.d.ts.map +1 -1
- package/dist/esm/actions/clearParamsSetup.js +3 -3
- package/dist/esm/actions/closeOverpanelSetup.d.ts +1 -1
- package/dist/esm/actions/closeOverpanelSetup.d.ts.map +1 -1
- package/dist/esm/actions/closeOverpanelSetup.js +3 -3
- package/dist/esm/actions/index.d.ts +1 -1
- package/dist/esm/actions/index.d.ts.map +1 -1
- package/dist/esm/actions/index.js +23 -23
- package/dist/esm/actions/keepAliveSetup.d.ts +1 -1
- package/dist/esm/actions/keepAliveSetup.d.ts.map +1 -1
- package/dist/esm/actions/keepAliveSetup.js +3 -3
- package/dist/esm/actions/loadingModalSetup.d.ts +1 -1
- package/dist/esm/actions/loadingModalSetup.d.ts.map +1 -1
- package/dist/esm/actions/loadingModalSetup.js +5 -5
- package/dist/esm/actions/logToServerSetup.d.ts +1 -1
- package/dist/esm/actions/logToServerSetup.d.ts.map +1 -1
- package/dist/esm/actions/logToServerSetup.js +4 -4
- package/dist/esm/actions/manageChangesSetup.d.ts +1 -1
- package/dist/esm/actions/manageChangesSetup.d.ts.map +1 -1
- package/dist/esm/actions/manageChangesSetup.js +3 -3
- package/dist/esm/actions/navigateToSetup.d.ts +1 -1
- package/dist/esm/actions/navigateToSetup.d.ts.map +1 -1
- package/dist/esm/actions/navigateToSetup.js +8 -8
- package/dist/esm/actions/openURLSetup.d.ts +1 -1
- package/dist/esm/actions/openURLSetup.d.ts.map +1 -1
- package/dist/esm/actions/openURLSetup.js +3 -3
- package/dist/esm/actions/refetchAccountsSetup.d.ts +1 -1
- package/dist/esm/actions/refetchAccountsSetup.d.ts.map +1 -1
- package/dist/esm/actions/refetchAccountsSetup.js +7 -7
- package/dist/esm/actions/scrollToSetup.d.ts +1 -1
- package/dist/esm/actions/scrollToSetup.d.ts.map +1 -1
- package/dist/esm/actions/scrollToSetup.js +2 -2
- package/dist/esm/actions/sendAlertSetup.d.ts +1 -1
- package/dist/esm/actions/sendAlertSetup.d.ts.map +1 -1
- package/dist/esm/actions/sendAlertSetup.js +4 -4
- package/dist/esm/actions/setParamsSetup.d.ts +1 -1
- package/dist/esm/actions/setParamsSetup.d.ts.map +1 -1
- package/dist/esm/actions/setParamsSetup.js +5 -5
- package/dist/esm/actions/setTitleSetup.d.ts +1 -1
- package/dist/esm/actions/setTitleSetup.d.ts.map +1 -1
- package/dist/esm/actions/setTitleSetup.js +9 -9
- package/dist/esm/actions/showActionSheetSetup.d.ts +1 -1
- package/dist/esm/actions/showActionSheetSetup.d.ts.map +1 -1
- package/dist/esm/actions/showActionSheetSetup.js +3 -3
- package/dist/esm/actions/showModalSetup.d.ts +1 -1
- package/dist/esm/actions/showModalSetup.d.ts.map +1 -1
- package/dist/esm/actions/showModalSetup.js +3 -3
- package/dist/esm/actions/showOverpanelSetup.d.ts +1 -1
- package/dist/esm/actions/showOverpanelSetup.d.ts.map +1 -1
- package/dist/esm/actions/showOverpanelSetup.js +13 -13
- package/dist/esm/actions/t.d.ts +1 -1
- package/dist/esm/actions/t.d.ts.map +1 -1
- package/dist/esm/actions/t.js +4 -4
- package/dist/esm/actions/verifyMFASetup.d.ts +1 -1
- package/dist/esm/actions/verifyMFASetup.d.ts.map +1 -1
- package/dist/esm/actions/verifyMFASetup.js +3 -3
- package/dist/esm/outlets/index.d.ts +1 -1
- package/dist/esm/outlets/index.d.ts.map +1 -1
- package/dist/esm/outlets/index.js +2 -2
- package/dist/esm/outlets/platform-outlet.d.ts +2 -2
- package/dist/esm/outlets/platform-outlet.d.ts.map +1 -1
- package/dist/esm/outlets/platform-outlet.js +6 -6
- package/dist/esm/private-helpers/assetPathResolvers.d.ts +1 -1
- package/dist/esm/private-helpers/assetPathResolvers.d.ts.map +1 -1
- package/dist/esm/private-helpers/assetPathResolvers.js +6 -6
- package/dist/esm/private-helpers/cdnOverrideSetup.d.ts +1 -1
- package/dist/esm/private-helpers/cdnOverrideSetup.d.ts.map +1 -1
- package/dist/esm/private-helpers/cdnOverrideSetup.js +3 -3
- package/dist/esm/private-helpers/getAuthPayload.d.ts +1 -1
- package/dist/esm/private-helpers/getAuthPayload.d.ts.map +1 -1
- package/dist/esm/private-helpers/getAuthPayload.js +2 -2
- package/dist/esm/private-helpers/index.d.ts +1 -1
- package/dist/esm/private-helpers/index.d.ts.map +1 -1
- package/dist/esm/private-helpers/index.js +8 -8
- package/dist/esm/private-helpers/mobileSDKCapabilities.d.ts +1 -1
- package/dist/esm/private-helpers/mobileSDKCapabilities.d.ts.map +1 -1
- package/dist/esm/private-helpers/mobileSDKCapabilities.js +3 -3
- package/dist/esm/private-helpers/resolveFeature.d.ts +4 -4
- package/dist/esm/private-helpers/resolveFeature.d.ts.map +1 -1
- package/dist/esm/private-helpers/resolveFeature.js +10 -10
- package/dist/esm/private-helpers/resolveMenu.d.ts +2 -2
- package/dist/esm/private-helpers/resolveMenu.d.ts.map +1 -1
- package/dist/esm/private-helpers/resolveMenu.js +7 -7
- package/dist/esm/private-helpers/resolveTabs.d.ts +2 -2
- package/dist/esm/private-helpers/resolveTabs.d.ts.map +1 -1
- package/dist/esm/private-helpers/resolveTabs.js +6 -6
- package/dist/esm/setup/dynamic-capabilities.d.ts +1 -1
- package/dist/esm/setup/dynamic-capabilities.d.ts.map +1 -1
- package/dist/esm/setup/dynamic-capabilities.js +4 -4
- package/dist/esm/setup/index.d.ts +2 -2
- package/dist/esm/setup/index.d.ts.map +1 -1
- package/dist/esm/setup/index.js +16 -10
- package/dist/esm/setup/styles.d.ts +1 -1
- package/dist/esm/setup/styles.d.ts.map +1 -1
- package/dist/esm/setup/styles.js +6 -6
- package/dist/esm/sources/cacheClearedSetup.d.ts +1 -1
- package/dist/esm/sources/cacheClearedSetup.d.ts.map +1 -1
- package/dist/esm/sources/cacheClearedSetup.js +3 -3
- package/dist/esm/sources/canUserSetup.d.ts +1 -1
- package/dist/esm/sources/canUserSetup.d.ts.map +1 -1
- package/dist/esm/sources/canUserSetup.js +9 -3
- package/dist/esm/sources/getAuthTokenSetup.d.ts +1 -1
- package/dist/esm/sources/getAuthTokenSetup.d.ts.map +1 -1
- package/dist/esm/sources/getAuthTokenSetup.js +3 -3
- package/dist/esm/sources/getFeatureConfigSetup.d.ts +1 -1
- package/dist/esm/sources/getFeatureConfigSetup.d.ts.map +1 -1
- package/dist/esm/sources/getFeatureConfigSetup.js +5 -5
- package/dist/esm/sources/getGlobalScriptsSetup.d.ts +1 -1
- package/dist/esm/sources/getGlobalScriptsSetup.d.ts.map +1 -1
- package/dist/esm/sources/getGlobalScriptsSetup.js +3 -3
- package/dist/esm/sources/getPendoInfoSetup.d.ts +1 -1
- package/dist/esm/sources/getPendoInfoSetup.d.ts.map +1 -1
- package/dist/esm/sources/getPendoInfoSetup.js +3 -3
- package/dist/esm/sources/getPlatformDimensionsSetup.d.ts +1 -1
- package/dist/esm/sources/getPlatformDimensionsSetup.d.ts.map +1 -1
- package/dist/esm/sources/getPlatformDimensionsSetup.js +3 -3
- package/dist/esm/sources/getPlatformInfoSetup.d.ts +1 -1
- package/dist/esm/sources/getPlatformInfoSetup.d.ts.map +1 -1
- package/dist/esm/sources/getPlatformInfoSetup.js +3 -3
- package/dist/esm/sources/getVersionInfoSetup.d.ts +1 -1
- package/dist/esm/sources/getVersionInfoSetup.d.ts.map +1 -1
- package/dist/esm/sources/getVersionInfoSetup.js +3 -3
- package/dist/esm/sources/index.d.ts +1 -1
- package/dist/esm/sources/index.d.ts.map +1 -1
- package/dist/esm/sources/index.js +20 -20
- package/dist/esm/sources/isNavigableSetup.d.ts +1 -1
- package/dist/esm/sources/isNavigableSetup.d.ts.map +1 -1
- package/dist/esm/sources/isNavigableSetup.js +3 -3
- package/dist/esm/sources/platformCssPropertiesChangedSetup.d.ts +1 -1
- package/dist/esm/sources/platformCssPropertiesChangedSetup.d.ts.map +1 -1
- package/dist/esm/sources/platformCssPropertiesChangedSetup.js +3 -3
- package/dist/esm/sources/platformEventNotificationSetup.d.ts +1 -1
- package/dist/esm/sources/platformEventNotificationSetup.d.ts.map +1 -1
- package/dist/esm/sources/platformEventNotificationSetup.js +3 -3
- package/dist/esm/sources/platformScrollChangedSetup.d.ts +1 -1
- package/dist/esm/sources/platformScrollChangedSetup.d.ts.map +1 -1
- package/dist/esm/sources/platformScrollChangedSetup.js +5 -5
- package/dist/esm/sources/promptForMFASetup.d.ts +1 -1
- package/dist/esm/sources/promptForMFASetup.d.ts.map +1 -1
- package/dist/esm/sources/promptForMFASetup.js +4 -4
- package/dist/esm/sources/refetchRequiredSetup.d.ts +1 -1
- package/dist/esm/sources/refetchRequiredSetup.d.ts.map +1 -1
- package/dist/esm/sources/refetchRequiredSetup.js +3 -3
- package/dist/esm/sources/requestExtensionDataSetup.d.ts +1 -1
- package/dist/esm/sources/requestExtensionDataSetup.d.ts.map +1 -1
- package/dist/esm/sources/requestExtensionDataSetup.js +4 -4
- package/dist/esm/sources/requestPlatformDataSetup.d.ts +3 -3
- package/dist/esm/sources/requestPlatformDataSetup.d.ts.map +1 -1
- package/dist/esm/sources/requestPlatformDataSetup.js +11 -11
- package/dist/esm/sources/takePictureSetup.d.ts +1 -1
- package/dist/esm/sources/takePictureSetup.d.ts.map +1 -1
- package/dist/esm/sources/takePictureSetup.js +3 -3
- package/dist/esm/sources/tectonCacheSetup.d.ts +1 -1
- package/dist/esm/sources/tectonCacheSetup.d.ts.map +1 -1
- package/dist/esm/sources/tectonCacheSetup.js +3 -3
- package/dist/esm/utility/dimensions-helpers.d.ts +2 -2
- package/dist/esm/utility/dimensions-helpers.d.ts.map +1 -1
- package/dist/esm/utility/dimensions-helpers.js +4 -4
- package/dist/umd/q2-tecton-platform.js +1 -1
- package/package.json +8 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["q2-tecton-platform"]=t():e["q2-tecton-platform"]=t()}(self,()=>(()=>{var e={24:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.count=void 0;var n=r(9205);t.count=function(e){return n.reduce(function(t,r,n){return!e||e(r,n)?t+1:t},0)}},109:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestWith=void 0;var i=r(6793);t.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.combineLatest.apply(void 0,o([],n(e)))}},245:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mapOneOrManyArgs=void 0;var i=r(8637),u=Array.isArray;t.mapOneOrManyArgs=function(e){return i.map(function(t){return function(e,t){return u(t)?e.apply(void 0,o([],n(t))):e(t)}(e,t)})}},266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowTime=void 0;var n=r(9961),o=r(8211),i=r(9884),u=r(1785),a=r(7461),c=r(8449),s=r(3841),l=r(872);t.windowTime=function(e){for(var t,r,f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];var p=null!==(t=s.popScheduler(f))&&void 0!==t?t:o.asyncScheduler,b=null!==(r=f[0])&&void 0!==r?r:null,v=f[1]||1/0;return u.operate(function(t,r){var o=[],u=!1,s=function(e){var t=e.window,r=e.subs;t.complete(),r.unsubscribe(),c.arrRemove(o,e),u&&f()},f=function(){if(o){var t=new i.Subscription;r.add(t);var u=new n.Subject,a={window:u,subs:t,seen:0};o.push(a),r.next(u.asObservable()),l.executeSchedule(t,p,function(){return s(a)},e)}};null!==b&&b>=0?l.executeSchedule(r,p,f,b,!0):u=!0,f();var d=function(e){return o.slice().forEach(e)},h=function(e){d(function(t){var r=t.window;return e(r)}),e(r),r.unsubscribe()};return t.subscribe(a.createOperatorSubscriber(r,function(e){d(function(t){t.window.next(e),v<=++t.seen&&s(t)})},function(){return h(function(e){return e.complete()})},function(e){return h(function(t){return t.error(e)})})),function(){o=null}})}},283:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concatWith=void 0;var i=r(9603);t.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.concat.apply(void 0,o([],n(e)))}},428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutWith=void 0;var n=r(8211),o=r(9944),i=r(3636);t.timeoutWith=function(e,t,r){var u,a,c;if(r=null!=r?r:n.async,o.isValidDate(e)?u=e:"number"==typeof e&&(a=e),!t)throw new TypeError("No observable provided to switch to");if(c=function(){return t},null==u&&null==a)throw new TypeError("No timeout provided.");return i.timeout({first:u,each:a,scheduler:r,with:c})}},629:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleObservable=void 0;var n=r(8579),o=r(9474),i=r(4294);t.scheduleObservable=function(e,t){return n.innerFrom(e).pipe(i.subscribeOn(t),o.observeOn(t))}},671:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.window=void 0;var n=r(9961),o=r(1785),i=r(7461),u=r(7676),a=r(8579);t.window=function(e){return o.operate(function(t,r){var o=new n.Subject;r.next(o.asObservable());var c=function(e){o.error(e),r.error(e)};return t.subscribe(i.createOperatorSubscriber(r,function(e){return null==o?void 0:o.next(e)},function(){o.complete(),r.complete()},c)),a.innerFrom(e).subscribe(i.createOperatorSubscriber(r,function(){o.complete(),r.next(o=new n.Subject)},u.noop,c)),function(){null==o||o.unsubscribe(),o=null}})}},851:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0;var n=r(2060);t.isPromise=function(e){return n.isFunction(null==e?void 0:e.then)}},865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.never=t.NEVER=void 0;var n=r(9152),o=r(7676);t.NEVER=new n.Observable(o.noop),t.never=function(){return t.NEVER}},872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.executeSchedule=void 0,t.executeSchedule=function(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}},919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var n=r(1744),o=r(8579),i=r(3054),u=r(3841),a=r(5491);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=u.popScheduler(e),c=u.popNumber(e,1/0),s=e;return s.length?1===s.length?o.innerFrom(s[0]):n.mergeAll(c)(a.from(s,r)):i.EMPTY}},1001:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromEventPattern=void 0;var n=r(9152),o=r(2060),i=r(245);t.fromEventPattern=function e(t,r,u){return u?e(t,r).pipe(i.mapOneOrManyArgs(u)):new n.Observable(function(e){var n=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1===t.length?t[0]:t)},i=t(n);return o.isFunction(r)?function(){return r(n,i)}:void 0})}},1039:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refCount=void 0;var n=r(1785),o=r(7461);t.refCount=function(){return n.operate(function(e,t){var r=null;e._refCount++;var n=o.createOperatorSubscriber(t,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount)r=null;else{var n=e._connection,o=r;r=null,!n||o&&n!==o||n.unsubscribe(),t.unsubscribe()}});e.subscribe(n),n.closed||(r=e.connect())})}},1046:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIterable=void 0;var n=r(4702),o=r(2060);t.isIterable=function(e){return o.isFunction(null==e?void 0:e[n.iterator])}},1116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishLast=void 0;var n=r(4597),o=r(6380);t.publishLast=function(){return function(e){var t=new n.AsyncSubject;return new o.ConnectableObservable(e,function(){return t})}}},1118:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.raceWith=void 0;var i=r(5930),u=r(1785),a=r(6590);t.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?u.operate(function(t,r){i.raceInit(o([t],n(e)))(r)}):a.identity}},1132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrames=void 0;var n=r(9152),o=r(3760),i=r(5473);function u(e){return new n.Observable(function(t){var r=e||o.performanceTimestampProvider,n=r.now(),u=0,a=function(){t.closed||(u=i.animationFrameProvider.requestAnimationFrame(function(o){u=0;var i=r.now();t.next({timestamp:e?i:o,elapsed:i-n}),a()}))};return a(),function(){u&&i.animationFrameProvider.cancelAnimationFrame(u)}})}t.animationFrames=function(e){return e?u(e):a};var a=u()},1138:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncScheduler=void 0;var i=r(8804),u=function(e){function t(t,r){void 0===r&&(r=i.Scheduler.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return o(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(i.Scheduler);t.AsyncScheduler=u},1164:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.share=void 0;var i=r(8579),u=r(9961),a=r(9779),c=r(1785);function s(e,t){for(var r=[],u=2;u<arguments.length;u++)r[u-2]=arguments[u];if(!0!==t){if(!1!==t){var c=new a.SafeSubscriber({next:function(){c.unsubscribe(),e()}});return i.innerFrom(t.apply(void 0,o([],n(r)))).subscribe(c)}}else e()}t.share=function(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new u.Subject}:t,n=e.resetOnError,o=void 0===n||n,l=e.resetOnComplete,f=void 0===l||l,d=e.resetOnRefCountZero,p=void 0===d||d;return function(e){var t,n,u,l=0,d=!1,b=!1,v=function(){null==n||n.unsubscribe(),n=void 0},h=function(){v(),t=u=void 0,d=b=!1},m=function(){var e=t;h(),null==e||e.unsubscribe()};return c.operate(function(e,c){l++,b||d||v();var y=u=null!=u?u:r();c.add(function(){0!==--l||b||d||(n=s(m,p))}),y.subscribe(c),!t&&l>0&&(t=new a.SafeSubscriber({next:function(e){return y.next(e)},error:function(e){b=!0,v(),n=s(h,o,e),y.error(e)},complete:function(){d=!0,v(),n=s(h,f),y.complete()}}),i.innerFrom(e).subscribe(t))})(e)}}},1287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishReplay=void 0;var n=r(3148),o=r(8597),i=r(2060);t.publishReplay=function(e,t,r,u){r&&!i.isFunction(r)&&(u=r);var a=i.isFunction(r)?r:void 0;return function(r){return o.multicast(new n.ReplaySubject(e,t,u),a)(r)}}},1360:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipLast=void 0;var n=r(6590),o=r(1785),i=r(7461);t.skipLast=function(e){return e<=0?n.identity:o.operate(function(t,r){var n=new Array(e),o=0;return t.subscribe(i.createOperatorSubscriber(r,function(t){var i=o++;if(i<e)n[i]=t;else{var u=i%e,a=n[u];n[u]=t,r.next(a)}})),function(){n=null}})}},1368:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotFoundError=void 0;var n=r(3654);t.NotFoundError=n.createErrorClass(function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}})},1519:function(e,t){"use strict";var r=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.intervalProvider=void 0,t.intervalProvider={setInterval:function(e,o){for(var i=[],u=2;u<arguments.length;u++)i[u-2]=arguments[u];var a=t.intervalProvider.delegate;return(null==a?void 0:a.setInterval)?a.setInterval.apply(a,n([e,o],r(i))):setInterval.apply(void 0,n([e,o],r(i)))},clearInterval:function(e){var r=t.intervalProvider.delegate;return((null==r?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0}},1544:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flatMap=void 0;var n=r(9073);t.flatMap=n.mergeMap},1557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObservable=void 0;var n=r(9152),o=r(2060);t.isObservable=function(e){return!!e&&(e instanceof n.Observable||o.isFunction(e.lift)&&o.isFunction(e.subscribe))}},1648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchAll=void 0;var n=r(6273),o=r(6590);t.switchAll=function(){return n.switchMap(o.identity)}},1711:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createObject=void 0,t.createObject=function(e,t){return e.reduce(function(e,r,n){return e[r]=t[n],e},{})}},1740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFind=t.find=void 0;var n=r(1785),o=r(7461);function i(e,t,r){var n="index"===r;return function(r,i){var u=0;r.subscribe(o.createOperatorSubscriber(i,function(o){var a=u++;e.call(t,o,a,r)&&(i.next(n?a:o),i.complete())},function(){i.next(n?-1:void 0),i.complete()}))}}t.find=function(e,t){return n.operate(i(e,t,"value"))},t.createFind=i},1744:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=void 0;var n=r(9073),o=r(6590);t.mergeAll=function(e){return void 0===e&&(e=1/0),n.mergeMap(o.identity,e)}},1747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expand=void 0;var n=r(1785),o=r(4449);t.expand=function(e,t,r){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,n.operate(function(n,i){return o.mergeInternals(n,i,e,t,void 0,!0,r)})}},1774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=void 0;var n=r(1785),o=r(7461);t.isEmpty=function(){return n.operate(function(e,t){e.subscribe(o.createOperatorSubscriber(t,function(){t.next(!1),t.complete()},function(){t.next(!0),t.complete()}))})}},1785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operate=t.hasLift=void 0;var n=r(2060);function o(e){return n.isFunction(null==e?void 0:e.lift)}t.hasLift=o,t.operate=function(e){return function(t){if(o(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}},1794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeUntil=void 0;var n=r(1785),o=r(7461),i=r(8579),u=r(7676);t.takeUntil=function(e){return n.operate(function(t,r){i.innerFrom(e).subscribe(o.createOperatorSubscriber(r,function(){return r.complete()},u.noop)),!r.closed&&t.subscribe(r)})}},1814:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameAction=void 0;var i=r(6097),u=r(5473),a=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return o(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=u.animationFrameProvider.requestAnimationFrame(function(){return t.flush(void 0)})))},t.prototype.recycleAsyncId=function(t,r,n){var o;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i=t.actions;null!=r&&r===t._scheduled&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==r&&(u.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)},t}(i.AsyncAction);t.AnimationFrameAction=a},1864:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delay=void 0;var n=r(8211),o=r(2804),i=r(7998);t.delay=function(e,t){void 0===t&&(t=n.asyncScheduler);var r=i.timer(e,t);return o.delayWhen(function(){return r})}},1895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairwise=void 0;var n=r(1785),o=r(7461);t.pairwise=function(){return n.operate(function(e,t){var r,n=!1;e.subscribe(o.createOperatorSubscriber(t,function(e){var o=r;r=e,n&&t.next([o,e]),n=!0}))})}},1923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schedulePromise=void 0;var n=r(8579),o=r(9474),i=r(4294);t.schedulePromise=function(e,t){return n.innerFrom(e).pipe(i.subscribeOn(t),o.observeOn(t))}},1953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bufferWhen=void 0;var n=r(1785),o=r(7676),i=r(7461),u=r(8579);t.bufferWhen=function(e){return n.operate(function(t,r){var n=null,a=null,c=function(){null==a||a.unsubscribe();var t=n;n=[],t&&r.next(t),u.innerFrom(e()).subscribe(a=i.createOperatorSubscriber(r,c,o.noop))};c(),t.subscribe(i.createOperatorSubscriber(r,function(e){return null==n?void 0:n.push(e)},function(){n&&r.next(n),r.complete()},void 0,function(){return n=a=null}))})}},2060:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e}},2071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shareReplay=void 0;var n=r(3148),o=r(1164);t.shareReplay=function(e,t,r){var i,u,a,c,s=!1;return e&&"object"==typeof e?(i=e.bufferSize,c=void 0===i?1/0:i,u=e.windowTime,t=void 0===u?1/0:u,s=void 0!==(a=e.refCount)&&a,r=e.scheduler):c=null!=e?e:1/0,o.share({connector:function(){return new n.ReplaySubject(c,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}},2186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanInternals=void 0;var n=r(7461);t.scanInternals=function(e,t,r,o,i){return function(u,a){var c=r,s=t,l=0;u.subscribe(n.createOperatorSubscriber(a,function(t){var r=l++;s=c?e(s,t,r):(c=!0,t),o&&a.next(s)},i&&function(){c&&a.next(s),a.complete()}))}}},2206:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsArgArrayOrObject=void 0;var r=Array.isArray,n=Object.getPrototypeOf,o=Object.prototype,i=Object.keys;t.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(r(t))return{args:t,keys:null};if((a=t)&&"object"==typeof a&&n(a)===o){var u=i(t);return{args:u.map(function(e){return t[e]}),keys:u}}}var a;return{args:e,keys:null}}},2219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineAll=void 0;var n=r(6310);t.combineAll=n.combineLatestAll},2270:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=void 0;var n=r(1785),o=r(7461),i=r(6590),u=r(7998),a=r(8579);t.retry=function(e){var t;void 0===e&&(e=1/0);var r=(t=e&&"object"==typeof e?e:{count:e}).count,c=void 0===r?1/0:r,s=t.delay,l=t.resetOnSuccess,f=void 0!==l&&l;return c<=0?i.identity:n.operate(function(e,t){var r,n=0,i=function(){var l=!1;r=e.subscribe(o.createOperatorSubscriber(t,function(e){f&&(n=0),t.next(e)},void 0,function(e){if(n++<c){var f=function(){r?(r.unsubscribe(),r=null,i()):l=!0};if(null!=s){var d="number"==typeof s?u.timer(s):a.innerFrom(s(e,n)),p=o.createOperatorSubscriber(t,function(){p.unsubscribe(),f()},function(){t.complete()});d.subscribe(p)}else f()}else t.error(e)})),l&&(r.unsubscribe(),r=null,i())};i()})}},2272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMapTo=void 0;var n=r(9073),o=r(2060);t.mergeMapTo=function(e,t,r){return void 0===r&&(r=1/0),o.isFunction(t)?n.mergeMap(function(){return e},t,r):("number"==typeof t&&(r=t),n.mergeMap(function(){return e},r))}},2278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipUntil=void 0;var n=r(1785),o=r(7461),i=r(8579),u=r(7676);t.skipUntil=function(e){return n.operate(function(t,r){var n=!1,a=o.createOperatorSubscriber(r,function(){null==a||a.unsubscribe(),n=!0},u.noop);i.innerFrom(e).subscribe(a),t.subscribe(o.createOperatorSubscriber(r,function(e){return n&&r.next(e)}))})}},2285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0,t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},2303:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustMap=void 0;var n=r(8637),o=r(8579),i=r(1785),u=r(7461);t.exhaustMap=function e(t,r){return r?function(i){return i.pipe(e(function(e,i){return o.innerFrom(t(e,i)).pipe(n.map(function(t,n){return r(e,t,i,n)}))}))}:i.operate(function(e,r){var n=0,i=null,a=!1;e.subscribe(u.createOperatorSubscriber(r,function(e){i||(i=u.createOperatorSubscriber(r,void 0,function(){i=null,a&&r.complete()}),o.innerFrom(t(e,n++)).subscribe(i))},function(){a=!0,!i&&r.complete()}))})}},2342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleIterable=void 0;var n=r(9152),o=r(4702),i=r(2060),u=r(872);t.scheduleIterable=function(e,t){return new n.Observable(function(r){var n;return u.executeSchedule(r,t,function(){n=e[o.iterator](),u.executeSchedule(r,t,function(){var e,t,o;try{t=(e=n.next()).value,o=e.done}catch(e){return void r.error(e)}o?r.complete():r.next(t)},0,!0)}),function(){return i.isFunction(null==n?void 0:n.return)&&n.return()}})}},2387:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.not=void 0,t.not=function(e,t){return function(r,n){return!e.call(t,r,n)}}},2411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timestamp=void 0;var n=r(4506),o=r(8637);t.timestamp=function(e){return void 0===e&&(e=n.dateTimestampProvider),o.map(function(t){return{value:t,timestamp:e.now()}})}},2432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.catchError=void 0;var n=r(8579),o=r(7461),i=r(1785);t.catchError=function e(t){return i.operate(function(r,i){var u,a=null,c=!1;a=r.subscribe(o.createOperatorSubscriber(i,void 0,void 0,function(o){u=n.innerFrom(t(o,e(t)(r))),a?(a.unsubscribe(),a=null,u.subscribe(i)):c=!0})),c&&(a.unsubscribe(),a=null,u.subscribe(i))})}},2437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var n=r(2387),o=r(9889),i=r(8579);t.partition=function(e,t,r){return[o.filter(t,r)(i.innerFrom(e)),o.filter(n.not(t,r))(i.innerFrom(e))]}},2565:function(e,t){"use strict";var r=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutProvider=void 0,t.timeoutProvider={setTimeout:function(e,o){for(var i=[],u=2;u<arguments.length;u++)i[u-2]=arguments[u];var a=t.timeoutProvider.delegate;return(null==a?void 0:a.setTimeout)?a.setTimeout.apply(a,n([e,o],r(i))):setTimeout.apply(void 0,n([e,o],r(i)))},clearTimeout:function(e){var r=t.timeoutProvider.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0}},2639:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilChanged=void 0;var n=r(6590),o=r(1785),i=r(7461);function u(e,t){return e===t}t.distinctUntilChanged=function(e,t){return void 0===t&&(t=n.identity),e=null!=e?e:u,o.operate(function(r,n){var o,u=!0;r.subscribe(i.createOperatorSubscriber(n,function(r){var i=t(r);!u&&e(o,i)||(u=!1,o=i,n.next(r))}))})}},2743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=void 0;var n=r(1785),o=r(7461),i=r(8579);t.throttle=function(e,t){return n.operate(function(r,n){var u=null!=t?t:{},a=u.leading,c=void 0===a||a,s=u.trailing,l=void 0!==s&&s,f=!1,d=null,p=null,b=!1,v=function(){null==p||p.unsubscribe(),p=null,l&&(y(),b&&n.complete())},h=function(){p=null,b&&n.complete()},m=function(t){return p=i.innerFrom(e(t)).subscribe(o.createOperatorSubscriber(n,v,h))},y=function(){if(f){f=!1;var e=d;d=null,n.next(e),!b&&m(e)}};r.subscribe(o.createOperatorSubscriber(n,function(e){f=!0,d=e,(!p||p.closed)&&(c?y():m(e))},function(){b=!0,(!(l&&f&&p)||p.closed)&&n.complete()}))})}},2748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publish=void 0;var n=r(9961),o=r(8597),i=r(7949);t.publish=function(e){return e?function(t){return i.connect(e)(t)}:function(e){return o.multicast(new n.Subject)(e)}}},2784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=void 0;var n=r(9152),o=r(4901),i=r(7461),u=r(7676),a=r(8579);t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.argsOrArgArray(e);return new n.Observable(function(e){var t=0,n=function(){if(t<r.length){var o=void 0;try{o=a.innerFrom(r[t++])}catch(e){return void n()}var c=new i.OperatorSubscriber(e,void 0,u.noop,u.noop);o.subscribe(c),c.add(n)}else e.complete()};n()})}},2795:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.interval=t.iif=t.generate=t.fromEventPattern=t.fromEvent=t.from=t.forkJoin=t.empty=t.defer=t.connectable=t.concat=t.combineLatest=t.bindNodeCallback=t.bindCallback=t.UnsubscriptionError=t.TimeoutError=t.SequenceError=t.ObjectUnsubscribedError=t.NotFoundError=t.EmptyError=t.ArgumentOutOfRangeError=t.firstValueFrom=t.lastValueFrom=t.isObservable=t.identity=t.noop=t.pipe=t.NotificationKind=t.Notification=t.Subscriber=t.Subscription=t.Scheduler=t.VirtualAction=t.VirtualTimeScheduler=t.animationFrameScheduler=t.animationFrame=t.queueScheduler=t.queue=t.asyncScheduler=t.async=t.asapScheduler=t.asap=t.AsyncSubject=t.ReplaySubject=t.BehaviorSubject=t.Subject=t.animationFrames=t.observable=t.ConnectableObservable=t.Observable=void 0,t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.combineLatestWith=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=t.config=t.NEVER=t.EMPTY=t.scheduled=t.zip=t.using=t.timer=t.throwError=t.range=t.race=t.partition=t.pairs=t.onErrorResumeNext=t.of=t.never=t.merge=void 0,t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.pairwise=t.onErrorResumeNextWith=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=t.mergeAll=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=void 0,t.zipWith=t.zipAll=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=void 0;var i=r(9152);Object.defineProperty(t,"Observable",{enumerable:!0,get:function(){return i.Observable}});var u=r(6380);Object.defineProperty(t,"ConnectableObservable",{enumerable:!0,get:function(){return u.ConnectableObservable}});var a=r(2285);Object.defineProperty(t,"observable",{enumerable:!0,get:function(){return a.observable}});var c=r(1132);Object.defineProperty(t,"animationFrames",{enumerable:!0,get:function(){return c.animationFrames}});var s=r(9961);Object.defineProperty(t,"Subject",{enumerable:!0,get:function(){return s.Subject}});var l=r(7283);Object.defineProperty(t,"BehaviorSubject",{enumerable:!0,get:function(){return l.BehaviorSubject}});var f=r(3148);Object.defineProperty(t,"ReplaySubject",{enumerable:!0,get:function(){return f.ReplaySubject}});var d=r(4597);Object.defineProperty(t,"AsyncSubject",{enumerable:!0,get:function(){return d.AsyncSubject}});var p=r(7706);Object.defineProperty(t,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(t,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var b=r(8211);Object.defineProperty(t,"async",{enumerable:!0,get:function(){return b.async}}),Object.defineProperty(t,"asyncScheduler",{enumerable:!0,get:function(){return b.asyncScheduler}});var v=r(8140);Object.defineProperty(t,"queue",{enumerable:!0,get:function(){return v.queue}}),Object.defineProperty(t,"queueScheduler",{enumerable:!0,get:function(){return v.queueScheduler}});var h=r(9316);Object.defineProperty(t,"animationFrame",{enumerable:!0,get:function(){return h.animationFrame}}),Object.defineProperty(t,"animationFrameScheduler",{enumerable:!0,get:function(){return h.animationFrameScheduler}});var m=r(8052);Object.defineProperty(t,"VirtualTimeScheduler",{enumerable:!0,get:function(){return m.VirtualTimeScheduler}}),Object.defineProperty(t,"VirtualAction",{enumerable:!0,get:function(){return m.VirtualAction}});var y=r(8804);Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return y.Scheduler}});var g=r(9884);Object.defineProperty(t,"Subscription",{enumerable:!0,get:function(){return g.Subscription}});var O=r(9779);Object.defineProperty(t,"Subscriber",{enumerable:!0,get:function(){return O.Subscriber}});var _=r(3738);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return _.Notification}}),Object.defineProperty(t,"NotificationKind",{enumerable:!0,get:function(){return _.NotificationKind}});var w=r(9420);Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return w.pipe}});var P=r(7676);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return P.noop}});var j=r(6590);Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return j.identity}});var S=r(1557);Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return S.isObservable}});var x=r(3016);Object.defineProperty(t,"lastValueFrom",{enumerable:!0,get:function(){return x.lastValueFrom}});var E=r(8650);Object.defineProperty(t,"firstValueFrom",{enumerable:!0,get:function(){return E.firstValueFrom}});var A=r(5819);Object.defineProperty(t,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return A.ArgumentOutOfRangeError}});var M=r(9841);Object.defineProperty(t,"EmptyError",{enumerable:!0,get:function(){return M.EmptyError}});var T=r(1497);Object.defineProperty(t,"NotFoundError",{enumerable:!0,get:function(){return T.NotFoundError}});var C=r(6368);Object.defineProperty(t,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return C.ObjectUnsubscribedError}});var N=r(3363);Object.defineProperty(t,"SequenceError",{enumerable:!0,get:function(){return N.SequenceError}});var I=r(3636);Object.defineProperty(t,"TimeoutError",{enumerable:!0,get:function(){return I.TimeoutError}});var F=r(5746);Object.defineProperty(t,"UnsubscriptionError",{enumerable:!0,get:function(){return F.UnsubscriptionError}});var k=r(5811);Object.defineProperty(t,"bindCallback",{enumerable:!0,get:function(){return k.bindCallback}});var R=r(4995);Object.defineProperty(t,"bindNodeCallback",{enumerable:!0,get:function(){return R.bindNodeCallback}});var L=r(9009);Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return L.combineLatest}});var W=r(5467);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return W.concat}});var q=r(7793);Object.defineProperty(t,"connectable",{enumerable:!0,get:function(){return q.connectable}});var $=r(4855);Object.defineProperty(t,"defer",{enumerable:!0,get:function(){return $.defer}});var U=r(3054);Object.defineProperty(t,"empty",{enumerable:!0,get:function(){return U.empty}});var z=r(9511);Object.defineProperty(t,"forkJoin",{enumerable:!0,get:function(){return z.forkJoin}});var D=r(5491);Object.defineProperty(t,"from",{enumerable:!0,get:function(){return D.from}});var V=r(4171);Object.defineProperty(t,"fromEvent",{enumerable:!0,get:function(){return V.fromEvent}});var B=r(1001);Object.defineProperty(t,"fromEventPattern",{enumerable:!0,get:function(){return B.fromEventPattern}});var H=r(8992);Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return H.generate}});var Y=r(8899);Object.defineProperty(t,"iif",{enumerable:!0,get:function(){return Y.iif}});var J=r(9078);Object.defineProperty(t,"interval",{enumerable:!0,get:function(){return J.interval}});var K=r(919);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return K.merge}});var G=r(865);Object.defineProperty(t,"never",{enumerable:!0,get:function(){return G.never}});var Q=r(3326);Object.defineProperty(t,"of",{enumerable:!0,get:function(){return Q.of}});var X=r(2784);Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return X.onErrorResumeNext}});var Z=r(3306);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return Z.pairs}});var ee=r(2437);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return ee.partition}});var te=r(5930);Object.defineProperty(t,"race",{enumerable:!0,get:function(){return te.race}});var re=r(5325);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return re.range}});var ne=r(7773);Object.defineProperty(t,"throwError",{enumerable:!0,get:function(){return ne.throwError}});var oe=r(7998);Object.defineProperty(t,"timer",{enumerable:!0,get:function(){return oe.timer}});var ie=r(8191);Object.defineProperty(t,"using",{enumerable:!0,get:function(){return ie.using}});var ue=r(8464);Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return ue.zip}});var ae=r(3114);Object.defineProperty(t,"scheduled",{enumerable:!0,get:function(){return ae.scheduled}});var ce=r(3054);Object.defineProperty(t,"EMPTY",{enumerable:!0,get:function(){return ce.EMPTY}});var se=r(865);Object.defineProperty(t,"NEVER",{enumerable:!0,get:function(){return se.NEVER}}),o(r(1368),t);var le=r(6491);Object.defineProperty(t,"config",{enumerable:!0,get:function(){return le.config}});var fe=r(9656);Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return fe.audit}});var de=r(3845);Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return de.auditTime}});var pe=r(4201);Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return pe.buffer}});var be=r(8646);Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return be.bufferCount}});var ve=r(6652);Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return ve.bufferTime}});var he=r(4529);Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return he.bufferToggle}});var me=r(1953);Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return me.bufferWhen}});var ye=r(2432);Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return ye.catchError}});var ge=r(2219);Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return ge.combineAll}});var Oe=r(6310);Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return Oe.combineLatestAll}});var _e=r(109);Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return _e.combineLatestWith}});var we=r(4380);Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return we.concatAll}});var Pe=r(3973);Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return Pe.concatMap}});var je=r(7156);Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return je.concatMapTo}});var Se=r(283);Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return Se.concatWith}});var xe=r(7949);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return xe.connect}});var Ee=r(24);Object.defineProperty(t,"count",{enumerable:!0,get:function(){return Ee.count}});var Ae=r(6580);Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return Ae.debounce}});var Me=r(8505);Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return Me.debounceTime}});var Te=r(5604);Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return Te.defaultIfEmpty}});var Ce=r(1864);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return Ce.delay}});var Ne=r(2804);Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return Ne.delayWhen}});var Ie=r(3391);Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return Ie.dematerialize}});var Fe=r(8187);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return Fe.distinct}});var ke=r(2639);Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return ke.distinctUntilChanged}});var Re=r(6546);Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Re.distinctUntilKeyChanged}});var Le=r(5034);Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return Le.elementAt}});var We=r(6606);Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return We.endWith}});var qe=r(5620);Object.defineProperty(t,"every",{enumerable:!0,get:function(){return qe.every}});var $e=r(6705);Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return $e.exhaust}});var Ue=r(6206);Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return Ue.exhaustAll}});var ze=r(2303);Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return ze.exhaustMap}});var De=r(1747);Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return De.expand}});var Ve=r(9889);Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return Ve.filter}});var Be=r(5993);Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return Be.finalize}});var He=r(1740);Object.defineProperty(t,"find",{enumerable:!0,get:function(){return He.find}});var Ye=r(7350);Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return Ye.findIndex}});var Je=r(6293);Object.defineProperty(t,"first",{enumerable:!0,get:function(){return Je.first}});var Ke=r(5877);Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return Ke.groupBy}});var Ge=r(4556);Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return Ge.ignoreElements}});var Qe=r(1774);Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return Qe.isEmpty}});var Xe=r(6091);Object.defineProperty(t,"last",{enumerable:!0,get:function(){return Xe.last}});var Ze=r(8637);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return Ze.map}});var et=r(3852);Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return et.mapTo}});var tt=r(3350);Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return tt.materialize}});var rt=r(3221);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return rt.max}});var nt=r(1744);Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return nt.mergeAll}});var ot=r(1544);Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return ot.flatMap}});var it=r(9073);Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return it.mergeMap}});var ut=r(2272);Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return ut.mergeMapTo}});var at=r(8890);Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return at.mergeScan}});var ct=r(4999);Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return ct.mergeWith}});var st=r(8911);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return st.min}});var lt=r(8597);Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return lt.multicast}});var ft=r(9474);Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return ft.observeOn}});var dt=r(9936);Object.defineProperty(t,"onErrorResumeNextWith",{enumerable:!0,get:function(){return dt.onErrorResumeNextWith}});var pt=r(1895);Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return pt.pairwise}});var bt=r(6758);Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return bt.pluck}});var vt=r(2748);Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return vt.publish}});var ht=r(3450);Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return ht.publishBehavior}});var mt=r(1116);Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return mt.publishLast}});var yt=r(1287);Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return yt.publishReplay}});var gt=r(1118);Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return gt.raceWith}});var Ot=r(9205);Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return Ot.reduce}});var _t=r(8936);Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return _t.repeat}});var wt=r(8340);Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return wt.repeatWhen}});var Pt=r(2270);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return Pt.retry}});var jt=r(7977);Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return jt.retryWhen}});var St=r(1039);Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return St.refCount}});var xt=r(8801);Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return xt.sample}});var Et=r(9796);Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return Et.sampleTime}});var At=r(5614);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return At.scan}});var Mt=r(9891);Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return Mt.sequenceEqual}});var Tt=r(1164);Object.defineProperty(t,"share",{enumerable:!0,get:function(){return Tt.share}});var Ct=r(2071);Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return Ct.shareReplay}});var Nt=r(3215);Object.defineProperty(t,"single",{enumerable:!0,get:function(){return Nt.single}});var It=r(8672);Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return It.skip}});var Ft=r(1360);Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return Ft.skipLast}});var kt=r(2278);Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return kt.skipUntil}});var Rt=r(6035);Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Rt.skipWhile}});var Lt=r(6967);Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return Lt.startWith}});var Wt=r(4294);Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return Wt.subscribeOn}});var qt=r(1648);Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return qt.switchAll}});var $t=r(6273);Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return $t.switchMap}});var Ut=r(8608);Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return Ut.switchMapTo}});var zt=r(6202);Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return zt.switchScan}});var Dt=r(3156);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return Dt.take}});var Vt=r(8276);Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return Vt.takeLast}});var Bt=r(1794);Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return Bt.takeUntil}});var Ht=r(9927);Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return Ht.takeWhile}});var Yt=r(7042);Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return Yt.tap}});var Jt=r(2743);Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return Jt.throttle}});var Kt=r(7986);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return Kt.throttleTime}});var Gt=r(9007);Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return Gt.throwIfEmpty}});var Qt=r(3495);Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return Qt.timeInterval}});var Xt=r(3636);Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return Xt.timeout}});var Zt=r(428);Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Zt.timeoutWith}});var er=r(2411);Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return er.timestamp}});var tr=r(3921);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return tr.toArray}});var rr=r(671);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return rr.window}});var nr=r(5895);Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return nr.windowCount}});var or=r(266);Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return or.windowTime}});var ir=r(3619);Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return ir.windowToggle}});var ur=r(7343);Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return ur.windowWhen}});var ar=r(9544);Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return ar.withLatestFrom}});var cr=r(6361);Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return cr.zipAll}});var sr=r(3792);Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return sr.zipWith}})},2804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delayWhen=void 0;var n=r(5467),o=r(3156),i=r(4556),u=r(3852),a=r(9073),c=r(8579);t.delayWhen=function e(t,r){return r?function(u){return n.concat(r.pipe(o.take(1),i.ignoreElements()),u.pipe(e(t)))}:a.mergeMap(function(e,r){return c.innerFrom(t(e,r)).pipe(o.take(1),u.mapTo(e))})}},2853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.captureError=t.errorContext=void 0;var n=r(6491),o=null;t.errorContext=function(e){if(n.config.useDeprecatedSynchronousErrorHandling){var t=!o;if(t&&(o={errorThrown:!1,error:null}),e(),t){var r=o,i=r.errorThrown,u=r.error;if(o=null,i)throw u}}else e()},t.captureError=function(e){n.config.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=e)}},3016:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lastValueFrom=void 0;var n=r(9841);t.lastValueFrom=function(e,t){var r="object"==typeof t;return new Promise(function(o,i){var u,a=!1;e.subscribe({next:function(e){u=e,a=!0},error:i,complete:function(){a?o(u):r?o(t.defaultValue):i(new n.EmptyError)}})})}},3054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var n=r(9152);t.EMPTY=new n.Observable(function(e){return e.complete()}),t.empty=function(e){return e?function(e){return new n.Observable(function(t){return e.schedule(function(){return t.complete()})})}(e):t.EMPTY}},3084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleAsyncIterable=void 0;var n=r(9152),o=r(872);t.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new n.Observable(function(r){o.executeSchedule(r,t,function(){var n=e[Symbol.asyncIterator]();o.executeSchedule(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}},3114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduled=void 0;var n=r(629),o=r(1923),i=r(5275),u=r(2342),a=r(3084),c=r(4818),s=r(851),l=r(7716),f=r(1046),d=r(9644),p=r(5432),b=r(8443),v=r(7499);t.scheduled=function(e,t){if(null!=e){if(c.isInteropObservable(e))return n.scheduleObservable(e,t);if(l.isArrayLike(e))return i.scheduleArray(e,t);if(s.isPromise(e))return o.schedulePromise(e,t);if(d.isAsyncIterable(e))return a.scheduleAsyncIterable(e,t);if(f.isIterable(e))return u.scheduleIterable(e,t);if(b.isReadableStreamLike(e))return v.scheduleReadableStreamLike(e,t)}throw p.createInvalidObservableTypeError(e)}},3115:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueScheduler=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(r(1138).AsyncScheduler);t.QueueScheduler=i},3148:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReplaySubject=void 0;var i=r(9961),u=r(4506),a=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=u.dateTimestampProvider);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,r),o}return o(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,u=r._timestampProvider,a=r._windowTime;n||(o.push(t),!i&&o.push(u.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,o=e._infiniteTimeWindow,i=(o?1:2)*t;if(t<1/0&&i<n.length&&n.splice(0,n.length-i),!o){for(var u=r.now(),a=0,c=1;c<n.length&&n[c]<=u;c+=2)a=c;a&&n.splice(0,a+1)}},t}(i.Subject);t.ReplaySubject=a},3156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.take=void 0;var n=r(3054),o=r(1785),i=r(7461);t.take=function(e){return e<=0?function(){return n.EMPTY}:o.operate(function(t,r){var n=0;t.subscribe(i.createOperatorSubscriber(r,function(t){++n<=e&&(r.next(t),e<=n&&r.complete())}))})}},3215:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.single=void 0;var n=r(9841),o=r(3363),i=r(1497),u=r(1785),a=r(7461);t.single=function(e){return u.operate(function(t,r){var u,c=!1,s=!1,l=0;t.subscribe(a.createOperatorSubscriber(r,function(n){s=!0,e&&!e(n,l++,t)||(c&&r.error(new o.SequenceError("Too many matching values")),c=!0,u=n)},function(){c?(r.next(u),r.complete()):r.error(s?new i.NotFoundError("No matching values"):new n.EmptyError)}))})}},3221:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=void 0;var n=r(9205),o=r(2060);t.max=function(e){return n.reduce(o.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})}},3306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairs=void 0;var n=r(5491);t.pairs=function(e,t){return n.from(Object.entries(e),t)}},3326:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.of=void 0;var n=r(3841),o=r(5491);t.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n.popScheduler(e);return o.from(e,r)}},3350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.materialize=void 0;var n=r(3738),o=r(1785),i=r(7461);t.materialize=function(){return o.operate(function(e,t){e.subscribe(i.createOperatorSubscriber(t,function(e){t.next(n.Notification.createNext(e))},function(){t.next(n.Notification.createComplete()),t.complete()},function(e){t.next(n.Notification.createError(e)),t.complete()}))})}},3363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SequenceError=void 0;var n=r(3654);t.SequenceError=n.createErrorClass(function(e){return function(t){e(this),this.name="SequenceError",this.message=t}})},3391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dematerialize=void 0;var n=r(3738),o=r(1785),i=r(7461);t.dematerialize=function(){return o.operate(function(e,t){e.subscribe(i.createOperatorSubscriber(t,function(e){return n.observeNotification(e,t)}))})}},3450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishBehavior=void 0;var n=r(7283),o=r(6380);t.publishBehavior=function(e){return function(t){var r=new n.BehaviorSubject(e);return new o.ConnectableObservable(t,function(){return r})}}},3495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeInterval=t.timeInterval=void 0;var n=r(8211),o=r(1785),i=r(7461);t.timeInterval=function(e){return void 0===e&&(e=n.asyncScheduler),o.operate(function(t,r){var n=e.now();t.subscribe(i.createOperatorSubscriber(r,function(t){var o=e.now(),i=o-n;n=o,r.next(new u(t,i))}))})};var u=function(e,t){this.value=e,this.interval=t};t.TimeInterval=u},3619:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowToggle=void 0;var o=r(9961),i=r(9884),u=r(1785),a=r(8579),c=r(7461),s=r(7676),l=r(8449);t.windowToggle=function(e,t){return u.operate(function(r,u){var f=[],d=function(e){for(;0<f.length;)f.shift().error(e);u.error(e)};a.innerFrom(e).subscribe(c.createOperatorSubscriber(u,function(e){var r=new o.Subject;f.push(r);var n,p=new i.Subscription;try{n=a.innerFrom(t(e))}catch(e){return void d(e)}u.next(r.asObservable()),p.add(n.subscribe(c.createOperatorSubscriber(u,function(){l.arrRemove(f,r),r.complete(),p.unsubscribe()},s.noop,d)))},s.noop)),r.subscribe(c.createOperatorSubscriber(u,function(e){var t,r,o=f.slice();try{for(var i=n(o),u=i.next();!u.done;u=i.next())u.value.next(e)}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},function(){for(;0<f.length;)f.shift().complete();u.complete()},d,function(){for(;0<f.length;)f.shift().unsubscribe()}))})}},3636:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=t.TimeoutError=void 0;var n=r(8211),o=r(9944),i=r(1785),u=r(8579),a=r(3654),c=r(7461),s=r(872);function l(e){throw new t.TimeoutError(e)}t.TimeoutError=a.createErrorClass(function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}}),t.timeout=function(e,t){var r=o.isValidDate(e)?{first:e}:"number"==typeof e?{each:e}:e,a=r.first,f=r.each,d=r.with,p=void 0===d?l:d,b=r.scheduler,v=void 0===b?null!=t?t:n.asyncScheduler:b,h=r.meta,m=void 0===h?null:h;if(null==a&&null==f)throw new TypeError("No timeout provided.");return i.operate(function(e,t){var r,n,o=null,i=0,l=function(e){n=s.executeSchedule(t,v,function(){try{r.unsubscribe(),u.innerFrom(p({meta:m,lastValue:o,seen:i})).subscribe(t)}catch(e){t.error(e)}},e)};r=e.subscribe(c.createOperatorSubscriber(t,function(e){null==n||n.unsubscribe(),i++,t.next(o=e),f>0&&l(f)},void 0,void 0,function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),o=null})),!i&&l(null!=a?"number"==typeof a?a:+a-v.now():f)})}},3654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createErrorClass=void 0,t.createErrorClass=function(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}},3713:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=t.merge=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.concat=t.combineLatestWith=t.combineLatest=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=void 0,t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.race=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.partition=t.pairwise=t.onErrorResumeNext=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=void 0,t.zipWith=t.zipAll=t.zip=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=void 0;var n=r(9656);Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return n.audit}});var o=r(3845);Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return o.auditTime}});var i=r(4201);Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return i.buffer}});var u=r(8646);Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return u.bufferCount}});var a=r(6652);Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return a.bufferTime}});var c=r(4529);Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return c.bufferToggle}});var s=r(1953);Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return s.bufferWhen}});var l=r(2432);Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return l.catchError}});var f=r(2219);Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return f.combineAll}});var d=r(6310);Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return d.combineLatestAll}});var p=r(6793);Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return p.combineLatest}});var b=r(109);Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return b.combineLatestWith}});var v=r(9603);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return v.concat}});var h=r(4380);Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return h.concatAll}});var m=r(3973);Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return m.concatMap}});var y=r(7156);Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return y.concatMapTo}});var g=r(283);Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return g.concatWith}});var O=r(7949);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return O.connect}});var _=r(24);Object.defineProperty(t,"count",{enumerable:!0,get:function(){return _.count}});var w=r(6580);Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return w.debounce}});var P=r(8505);Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return P.debounceTime}});var j=r(5604);Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return j.defaultIfEmpty}});var S=r(1864);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return S.delay}});var x=r(2804);Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return x.delayWhen}});var E=r(3391);Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return E.dematerialize}});var A=r(8187);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return A.distinct}});var M=r(2639);Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return M.distinctUntilChanged}});var T=r(6546);Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return T.distinctUntilKeyChanged}});var C=r(5034);Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return C.elementAt}});var N=r(6606);Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return N.endWith}});var I=r(5620);Object.defineProperty(t,"every",{enumerable:!0,get:function(){return I.every}});var F=r(6705);Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return F.exhaust}});var k=r(6206);Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return k.exhaustAll}});var R=r(2303);Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return R.exhaustMap}});var L=r(1747);Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return L.expand}});var W=r(9889);Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return W.filter}});var q=r(5993);Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return q.finalize}});var $=r(1740);Object.defineProperty(t,"find",{enumerable:!0,get:function(){return $.find}});var U=r(7350);Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return U.findIndex}});var z=r(6293);Object.defineProperty(t,"first",{enumerable:!0,get:function(){return z.first}});var D=r(5877);Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return D.groupBy}});var V=r(4556);Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return V.ignoreElements}});var B=r(1774);Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return B.isEmpty}});var H=r(6091);Object.defineProperty(t,"last",{enumerable:!0,get:function(){return H.last}});var Y=r(8637);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return Y.map}});var J=r(3852);Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return J.mapTo}});var K=r(3350);Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return K.materialize}});var G=r(3221);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return G.max}});var Q=r(8751);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return Q.merge}});var X=r(1744);Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return X.mergeAll}});var Z=r(1544);Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return Z.flatMap}});var ee=r(9073);Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return ee.mergeMap}});var te=r(2272);Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return te.mergeMapTo}});var re=r(8890);Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return re.mergeScan}});var ne=r(4999);Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return ne.mergeWith}});var oe=r(8911);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return oe.min}});var ie=r(8597);Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return ie.multicast}});var ue=r(9474);Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return ue.observeOn}});var ae=r(9936);Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return ae.onErrorResumeNext}});var ce=r(1895);Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return ce.pairwise}});var se=r(4445);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return se.partition}});var le=r(6758);Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return le.pluck}});var fe=r(2748);Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return fe.publish}});var de=r(3450);Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return de.publishBehavior}});var pe=r(1116);Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return pe.publishLast}});var be=r(1287);Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return be.publishReplay}});var ve=r(7378);Object.defineProperty(t,"race",{enumerable:!0,get:function(){return ve.race}});var he=r(1118);Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return he.raceWith}});var me=r(9205);Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return me.reduce}});var ye=r(8936);Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return ye.repeat}});var ge=r(8340);Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return ge.repeatWhen}});var Oe=r(2270);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return Oe.retry}});var _e=r(7977);Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return _e.retryWhen}});var we=r(1039);Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return we.refCount}});var Pe=r(8801);Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Pe.sample}});var je=r(9796);Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return je.sampleTime}});var Se=r(5614);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return Se.scan}});var xe=r(9891);Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return xe.sequenceEqual}});var Ee=r(1164);Object.defineProperty(t,"share",{enumerable:!0,get:function(){return Ee.share}});var Ae=r(2071);Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return Ae.shareReplay}});var Me=r(3215);Object.defineProperty(t,"single",{enumerable:!0,get:function(){return Me.single}});var Te=r(8672);Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return Te.skip}});var Ce=r(1360);Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return Ce.skipLast}});var Ne=r(2278);Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Ne.skipUntil}});var Ie=r(6035);Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Ie.skipWhile}});var Fe=r(6967);Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return Fe.startWith}});var ke=r(4294);Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return ke.subscribeOn}});var Re=r(1648);Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return Re.switchAll}});var Le=r(6273);Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return Le.switchMap}});var We=r(8608);Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return We.switchMapTo}});var qe=r(6202);Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return qe.switchScan}});var $e=r(3156);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return $e.take}});var Ue=r(8276);Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return Ue.takeLast}});var ze=r(1794);Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return ze.takeUntil}});var De=r(9927);Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return De.takeWhile}});var Ve=r(7042);Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return Ve.tap}});var Be=r(2743);Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return Be.throttle}});var He=r(7986);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return He.throttleTime}});var Ye=r(9007);Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return Ye.throwIfEmpty}});var Je=r(3495);Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return Je.timeInterval}});var Ke=r(3636);Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return Ke.timeout}});var Ge=r(428);Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Ge.timeoutWith}});var Qe=r(2411);Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return Qe.timestamp}});var Xe=r(3921);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return Xe.toArray}});var Ze=r(671);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return Ze.window}});var et=r(5895);Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return et.windowCount}});var tt=r(266);Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return tt.windowTime}});var rt=r(3619);Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return rt.windowToggle}});var nt=r(7343);Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return nt.windowWhen}});var ot=r(9544);Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return ot.withLatestFrom}});var it=r(4040);Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return it.zip}});var ut=r(6361);Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return ut.zipAll}});var at=r(3792);Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return at.zipWith}})},3738:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var n,o=r(3054),i=r(3326),u=r(7773),a=r(2060);(n=t.NotificationKind||(t.NotificationKind={})).NEXT="N",n.ERROR="E",n.COMPLETE="C";var c=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return s(this,e)},e.prototype.do=function(e,t,r){var n=this,o=n.kind,i=n.value,u=n.error;return"N"===o?null==e?void 0:e(i):"E"===o?null==t?void 0:t(u):null==r?void 0:r()},e.prototype.accept=function(e,t,r){var n;return a.isFunction(null===(n=e)||void 0===n?void 0:n.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this,t=e.kind,r=e.value,n=e.error,a="N"===t?i.of(r):"E"===t?u.throwError(function(){return n}):"C"===t?o.EMPTY:0;if(!a)throw new TypeError("Unexpected notification kind "+t);return a},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function s(e,t){var r,n,o,i=e,u=i.kind,a=i.value,c=i.error;if("string"!=typeof u)throw new TypeError('Invalid notification, missing "kind"');"N"===u?null===(r=t.next)||void 0===r||r.call(t,a):"E"===u?null===(n=t.error)||void 0===n||n.call(t,c):null===(o=t.complete)||void 0===o||o.call(t)}t.Notification=c,t.observeNotification=s},3760:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.performanceTimestampProvider=void 0,t.performanceTimestampProvider={now:function(){return(t.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},3792:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zipWith=void 0;var i=r(4040);t.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.zip.apply(void 0,o([],n(e)))}},3841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.popNumber=t.popScheduler=t.popResultSelector=void 0;var n=r(2060),o=r(5803);function i(e){return e[e.length-1]}t.popResultSelector=function(e){return n.isFunction(i(e))?e.pop():void 0},t.popScheduler=function(e){return o.isScheduler(i(e))?e.pop():void 0},t.popNumber=function(e,t){return"number"==typeof i(e)?e.pop():t}},3845:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auditTime=void 0;var n=r(8211),o=r(9656),i=r(7998);t.auditTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),o.audit(function(){return i.timer(e,t)})}},3852:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapTo=void 0;var n=r(8637);t.mapTo=function(e){return n.map(function(){return e})}},3921:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var n=r(9205),o=r(1785),i=function(e,t){return e.push(t),e};t.toArray=function(){return o.operate(function(e,t){n.reduce(i,[])(e).subscribe(t)})}},3973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMap=void 0;var n=r(9073),o=r(2060);t.concatMap=function(e,t){return o.isFunction(t)?n.mergeMap(e,t,1):n.mergeMap(e,1)}},4040:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var i=r(8464),u=r(1785);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return u.operate(function(t,r){i.zip.apply(void 0,o([t],n(e))).subscribe(r)})}},4062:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueAction=void 0;var i=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return o(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.flush(this),0)},t}(r(6097).AsyncAction);t.QueueAction=i},4171:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u};Object.defineProperty(t,"__esModule",{value:!0}),t.fromEvent=void 0;var o=r(8579),i=r(9152),u=r(9073),a=r(7716),c=r(2060),s=r(245),l=["addListener","removeListener"],f=["addEventListener","removeEventListener"],d=["on","off"];function p(e,t){return function(r){return function(n){return e[r](t,n)}}}t.fromEvent=function e(t,r,b,v){if(c.isFunction(b)&&(v=b,b=void 0),v)return e(t,r,b).pipe(s.mapOneOrManyArgs(v));var h=n(function(e){return c.isFunction(e.addEventListener)&&c.isFunction(e.removeEventListener)}(t)?f.map(function(e){return function(n){return t[e](r,n,b)}}):function(e){return c.isFunction(e.addListener)&&c.isFunction(e.removeListener)}(t)?l.map(p(t,r)):function(e){return c.isFunction(e.on)&&c.isFunction(e.off)}(t)?d.map(p(t,r)):[],2),m=h[0],y=h[1];if(!m&&a.isArrayLike(t))return u.mergeMap(function(t){return e(t,r,b)})(o.innerFrom(t));if(!m)throw new TypeError("Invalid event target");return new i.Observable(function(e){var t=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1<t.length?t:t[0])};return m(t),function(){return y(t)}})}},4179:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameScheduler=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.flush=function(e){var t;this._active=!0,e?t=e.id:(t=this._scheduled,this._scheduled=void 0);var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(1138).AsyncScheduler);t.AnimationFrameScheduler=i},4201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buffer=void 0;var n=r(1785),o=r(7676),i=r(7461),u=r(8579);t.buffer=function(e){return n.operate(function(t,r){var n=[];return t.subscribe(i.createOperatorSubscriber(r,function(e){return n.push(e)},function(){r.next(n),r.complete()})),u.innerFrom(e).subscribe(i.createOperatorSubscriber(r,function(){var e=n;n=[],r.next(e)},o.noop)),function(){n=null}})}},4294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeOn=void 0;var n=r(1785);t.subscribeOn=function(e,t){return void 0===t&&(t=0),n.operate(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}},4338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromSubscribable=void 0;var n=r(9152);t.fromSubscribable=function(e){return new n.Observable(function(t){return e.subscribe(t)})}},4380:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatAll=void 0;var n=r(1744);t.concatAll=function(){return n.mergeAll(1)}},4445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var n=r(2387),o=r(9889);t.partition=function(e,t){return function(r){return[o.filter(e,t)(r),o.filter(n.not(e,t))(r)]}}},4449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeInternals=void 0;var n=r(8579),o=r(872),i=r(7461);t.mergeInternals=function(e,t,r,u,a,c,s,l){var f=[],d=0,p=0,b=!1,v=function(){!b||f.length||d||t.complete()},h=function(e){return d<u?m(e):f.push(e)},m=function(e){c&&t.next(e),d++;var l=!1;n.innerFrom(r(e,p++)).subscribe(i.createOperatorSubscriber(t,function(e){null==a||a(e),c?h(e):t.next(e)},function(){l=!0},void 0,function(){if(l)try{d--;for(var e=function(){var e=f.shift();s?o.executeSchedule(t,s,function(){return m(e)}):m(e)};f.length&&d<u;)e();v()}catch(e){t.error(e)}}))};return e.subscribe(i.createOperatorSubscriber(t,h,function(){b=!0,v()})),function(){null==l||l()}}},4506:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},4529:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferToggle=void 0;var o=r(9884),i=r(1785),u=r(8579),a=r(7461),c=r(7676),s=r(8449);t.bufferToggle=function(e,t){return i.operate(function(r,i){var l=[];u.innerFrom(e).subscribe(a.createOperatorSubscriber(i,function(e){var r=[];l.push(r);var n=new o.Subscription;n.add(u.innerFrom(t(e)).subscribe(a.createOperatorSubscriber(i,function(){s.arrRemove(l,r),i.next(r),n.unsubscribe()},c.noop)))},c.noop)),r.subscribe(a.createOperatorSubscriber(i,function(e){var t,r;try{for(var o=n(l),i=o.next();!i.done;i=o.next())i.value.push(e)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},function(){for(;l.length>0;)i.next(l.shift());i.complete()}))})}},4556:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ignoreElements=void 0;var n=r(1785),o=r(7461),i=r(7676);t.ignoreElements=function(){return n.operate(function(e,t){e.subscribe(o.createOperatorSubscriber(t,i.noop))})}},4597:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncSubject=void 0;var i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return o(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t._hasValue,o=t._value,i=t.thrownError,u=t.isStopped,a=t._isComplete;r?e.error(i):(u||a)&&(n&&e.next(o),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this,r=t._hasValue,n=t._value;t._isComplete||(this._isComplete=!0,r&&e.prototype.next.call(this,n),e.prototype.complete.call(this))},t}(r(9961).Subject);t.AsyncSubject=i},4702:(e,t)=>{"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.getSymbolIterator=void 0,t.getSymbolIterator=r,t.iterator=r()},4818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInteropObservable=void 0;var n=r(2285),o=r(2060);t.isInteropObservable=function(e){return o.isFunction(e[n.observable])}},4830:(e,t)=>{"use strict";function r(e,t,r){return{kind:e,value:t,error:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.createNotification=t.nextNotification=t.errorNotification=t.COMPLETE_NOTIFICATION=void 0,t.COMPLETE_NOTIFICATION=r("C",void 0,void 0),t.errorNotification=function(e){return r("E",void 0,e)},t.nextNotification=function(e){return r("N",e,void 0)},t.createNotification=r},4855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defer=void 0;var n=r(9152),o=r(8579);t.defer=function(e){return new n.Observable(function(t){o.innerFrom(e()).subscribe(t)})}},4901:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsOrArgArray=void 0;var r=Array.isArray;t.argsOrArgArray=function(e){return 1===e.length&&r(e[0])?e[0]:e}},4995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindNodeCallback=void 0;var n=r(6149);t.bindNodeCallback=function(e,t,r){return n.bindCallbackInternals(!0,e,t,r)}},4999:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mergeWith=void 0;var i=r(8751);t.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.merge.apply(void 0,o([],n(e)))}},5034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementAt=void 0;var n=r(5819),o=r(9889),i=r(9007),u=r(5604),a=r(3156);t.elementAt=function(e,t){if(e<0)throw new n.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(c){return c.pipe(o.filter(function(t,r){return r===e}),a.take(1),r?u.defaultIfEmpty(t):i.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},5131:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestTools=t.Immediate=void 0;var r,n=1,o={};function i(e){return e in o&&(delete o[e],!0)}t.Immediate={setImmediate:function(e){var t=n++;return o[t]=!0,r||(r=Promise.resolve()),r.then(function(){return i(t)&&e()}),t},clearImmediate:function(e){i(e)}},t.TestTools={pending:function(){return Object.keys(o).length}}},5275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleArray=void 0;var n=r(9152);t.scheduleArray=function(e,t){return new n.Observable(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}},5325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.range=void 0;var n=r(9152),o=r(3054);t.range=function(e,t,r){if(null==t&&(t=e,e=0),t<=0)return o.EMPTY;var i=t+e;return new n.Observable(r?function(t){var n=e;return r.schedule(function(){n<i?(t.next(n++),this.schedule()):t.complete()})}:function(t){for(var r=e;r<i&&!t.closed;)t.next(r++);t.complete()})}},5432:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInvalidObservableTypeError=void 0,t.createInvalidObservableTypeError=function(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},5467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var n=r(4380),o=r(3841),i=r(5491);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.concatAll()(i.from(e,o.popScheduler(e)))}},5473:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrameProvider=void 0;var i=r(9884);t.animationFrameProvider={schedule:function(e){var r=requestAnimationFrame,n=cancelAnimationFrame,o=t.animationFrameProvider.delegate;o&&(r=o.requestAnimationFrame,n=o.cancelAnimationFrame);var u=r(function(t){n=void 0,e(t)});return new i.Subscription(function(){return null==n?void 0:n(u)})},requestAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.animationFrameProvider.delegate;return((null==i?void 0:i.requestAnimationFrame)||requestAnimationFrame).apply(void 0,o([],n(e)))},cancelAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.animationFrameProvider.delegate;return((null==i?void 0:i.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,o([],n(e)))},delegate:void 0}},5491:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.from=void 0;var n=r(3114),o=r(8579);t.from=function(e,t){return t?n.scheduled(e,t):o.innerFrom(e)}},5604:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultIfEmpty=void 0;var n=r(1785),o=r(7461);t.defaultIfEmpty=function(e){return n.operate(function(t,r){var n=!1;t.subscribe(o.createOperatorSubscriber(r,function(e){n=!0,r.next(e)},function(){n||r.next(e),r.complete()}))})}},5614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scan=void 0;var n=r(1785),o=r(2186);t.scan=function(e,t){return n.operate(o.scanInternals(e,t,arguments.length>=2,!0))}},5620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=void 0;var n=r(1785),o=r(7461);t.every=function(e,t){return n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(o){e.call(t,o,i++,r)||(n.next(!1),n.complete())},function(){n.next(!0),n.complete()}))})}},5746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscriptionError=void 0;var n=r(3654);t.UnsubscriptionError=n.createErrorClass(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}})},5803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isScheduler=void 0;var n=r(2060);t.isScheduler=function(e){return e&&n.isFunction(e.schedule)}},5811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallback=void 0;var n=r(6149);t.bindCallback=function(e,t,r){return n.bindCallbackInternals(!1,e,t,r)}},5819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentOutOfRangeError=void 0;var n=r(3654);t.ArgumentOutOfRangeError=n.createErrorClass(function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},5877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupBy=void 0;var n=r(9152),o=r(8579),i=r(9961),u=r(1785),a=r(7461);t.groupBy=function(e,t,r,c){return u.operate(function(u,s){var l;t&&"function"!=typeof t?(r=t.duration,l=t.element,c=t.connector):l=t;var f=new Map,d=function(e){f.forEach(e),e(s)},p=function(e){return d(function(t){return t.error(e)})},b=0,v=!1,h=new a.OperatorSubscriber(s,function(t){try{var u=e(t),d=f.get(u);if(!d){f.set(u,d=c?c():new i.Subject);var m=(g=u,O=d,(_=new n.Observable(function(e){b++;var t=O.subscribe(e);return function(){t.unsubscribe(),0===--b&&v&&h.unsubscribe()}})).key=g,_);if(s.next(m),r){var y=a.createOperatorSubscriber(d,function(){d.complete(),null==y||y.unsubscribe()},void 0,void 0,function(){return f.delete(u)});h.add(o.innerFrom(r(m)).subscribe(y))}}d.next(l?l(t):t)}catch(e){p(e)}var g,O,_},function(){return d(function(e){return e.complete()})},p,function(){return f.clear()},function(){return v=!0,0===b});u.subscribe(h)})}},5895:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowCount=void 0;var o=r(9961),i=r(1785),u=r(7461);t.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return i.operate(function(t,i){var a=[new o.Subject],c=0;i.next(a[0].asObservable()),t.subscribe(u.createOperatorSubscriber(i,function(t){var u,s;try{for(var l=n(a),f=l.next();!f.done;f=l.next())f.value.next(t)}catch(e){u={error:e}}finally{try{f&&!f.done&&(s=l.return)&&s.call(l)}finally{if(u)throw u.error}}var d=c-e+1;if(d>=0&&d%r===0&&a.shift().complete(),++c%r===0){var p=new o.Subject;a.push(p),i.next(p.asObservable())}},function(){for(;a.length>0;)a.shift().complete();i.complete()},function(e){for(;a.length>0;)a.shift().error(e);i.error(e)},function(){a=null}))})}},5930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.raceInit=t.race=void 0;var n=r(9152),o=r(8579),i=r(4901),u=r(7461);function a(e){return function(t){for(var r=[],n=function(n){r.push(o.innerFrom(e[n]).subscribe(u.createOperatorSubscriber(t,function(e){if(r){for(var o=0;o<r.length;o++)o!==n&&r[o].unsubscribe();r=null}t.next(e)})))},i=0;r&&!t.closed&&i<e.length;i++)n(i)}}t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=i.argsOrArgArray(e)).length?o.innerFrom(e[0]):new n.Observable(a(e))},t.raceInit=a},5993:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.finalize=void 0;var n=r(1785);t.finalize=function(e){return n.operate(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}},6035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipWhile=void 0;var n=r(1785),o=r(7461);t.skipWhile=function(e){return n.operate(function(t,r){var n=!1,i=0;t.subscribe(o.createOperatorSubscriber(r,function(t){return(n||(n=!e(t,i++)))&&r.next(t)}))})}},6091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.last=void 0;var n=r(9841),o=r(9889),i=r(8276),u=r(9007),a=r(5604),c=r(6590);t.last=function(e,t){var r=arguments.length>=2;return function(s){return s.pipe(e?o.filter(function(t,r){return e(t,r,s)}):c.identity,i.takeLast(1),r?a.defaultIfEmpty(t):u.throwIfEmpty(function(){return new n.EmptyError}))}}},6097:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncAction=void 0;var i=r(7693),u=r(1519),a=r(8449),c=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return o(t,e),t.prototype.schedule=function(e,t){var r;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,o=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(o,n,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),u.intervalProvider.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&u.intervalProvider.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,a.arrRemove(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(i.Action);t.AsyncAction=c},6149:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallbackInternals=void 0;var i=r(5803),u=r(9152),a=r(4294),c=r(245),s=r(9474),l=r(4597);t.bindCallbackInternals=function e(t,r,f,d){if(f){if(!i.isScheduler(f))return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return e(t,r,d).apply(this,n).pipe(c.mapOneOrManyArgs(f))};d=f}return d?function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return e(t,r).apply(this,n).pipe(a.subscribeOn(d),s.observeOn(d))}:function(){for(var e=this,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var c=new l.AsyncSubject,s=!0;return new u.Observable(function(u){var a=c.subscribe(u);if(s){s=!1;var l=!1,f=!1;r.apply(e,o(o([],n(i)),[function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t){var n=e.shift();if(null!=n)return void c.error(n)}c.next(1<e.length?e:e[0]),f=!0,l&&c.complete()}])),f&&c.complete(),l=!0}return a})}}},6193:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapScheduler=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(1138).AsyncScheduler);t.AsapScheduler=i},6202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchScan=void 0;var n=r(6273),o=r(1785);t.switchScan=function(e,t){return o.operate(function(r,o){var i=t;return n.switchMap(function(t,r){return e(i,t,r)},function(e,t){return i=t,t})(r).subscribe(o),function(){i=null}})}},6206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustAll=void 0;var n=r(2303),o=r(6590);t.exhaustAll=function(){return n.exhaustMap(o.identity)}},6273:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMap=void 0;var n=r(8579),o=r(1785),i=r(7461);t.switchMap=function(e,t){return o.operate(function(r,o){var u=null,a=0,c=!1,s=function(){return c&&!u&&o.complete()};r.subscribe(i.createOperatorSubscriber(o,function(r){null==u||u.unsubscribe();var c=0,l=a++;n.innerFrom(e(r,l)).subscribe(u=i.createOperatorSubscriber(o,function(e){return o.next(t?t(r,e,l,c++):e)},function(){u=null,s()}))},function(){c=!0,s()}))})}},6293:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.first=void 0;var n=r(9841),o=r(9889),i=r(3156),u=r(5604),a=r(9007),c=r(6590);t.first=function(e,t){var r=arguments.length>=2;return function(s){return s.pipe(e?o.filter(function(t,r){return e(t,r,s)}):c.identity,i.take(1),r?u.defaultIfEmpty(t):a.throwIfEmpty(function(){return new n.EmptyError}))}}},6310:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestAll=void 0;var n=r(9009),o=r(9188);t.combineLatestAll=function(e){return o.joinAllInternals(n.combineLatest,e)}},6361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zipAll=void 0;var n=r(8464),o=r(9188);t.zipAll=function(e){return o.joinAllInternals(n.zip,e)}},6368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUnsubscribedError=void 0;var n=r(3654);t.ObjectUnsubscribedError=n.createErrorClass(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},6380:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectableObservable=void 0;var i=r(9152),u=r(9884),a=r(1039),c=r(7461),s=r(1785),l=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,s.hasLift(t)&&(n.lift=t.lift),n}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new u.Subscription;var r=this.getSubject();t.add(this.source.subscribe(c.createOperatorSubscriber(r,void 0,function(){e._teardown(),r.complete()},function(t){e._teardown(),r.error(t)},function(){return e._teardown()}))),t.closed&&(this._connection=null,t=u.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return a.refCount()(this)},t}(i.Observable);t.ConnectableObservable=l},6491:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0,t.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},6546:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilKeyChanged=void 0;var n=r(2639);t.distinctUntilKeyChanged=function(e,t){return n.distinctUntilChanged(function(r,n){return t?t(r[e],n[e]):r[e]===n[e]})}},6580:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0;var n=r(1785),o=r(7676),i=r(7461),u=r(8579);t.debounce=function(e){return n.operate(function(t,r){var n=!1,a=null,c=null,s=function(){if(null==c||c.unsubscribe(),c=null,n){n=!1;var e=a;a=null,r.next(e)}};t.subscribe(i.createOperatorSubscriber(r,function(t){null==c||c.unsubscribe(),n=!0,a=t,c=i.createOperatorSubscriber(r,s,o.noop),u.innerFrom(e(t)).subscribe(c)},function(){s(),r.complete()},void 0,function(){a=c=null}))})}},6590:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=void 0,t.identity=function(e){return e}},6606:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.endWith=void 0;var i=r(5467),u=r(3326);t.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return i.concat(t,u.of.apply(void 0,o([],n(e))))}}},6652:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferTime=void 0;var o=r(9884),i=r(1785),u=r(7461),a=r(8449),c=r(8211),s=r(3841),l=r(872);t.bufferTime=function(e){for(var t,r,f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];var p=null!==(t=s.popScheduler(f))&&void 0!==t?t:c.asyncScheduler,b=null!==(r=f[0])&&void 0!==r?r:null,v=f[1]||1/0;return i.operate(function(t,r){var i=[],c=!1,s=function(e){var t=e.buffer;e.subs.unsubscribe(),a.arrRemove(i,e),r.next(t),c&&f()},f=function(){if(i){var t=new o.Subscription;r.add(t);var n={buffer:[],subs:t};i.push(n),l.executeSchedule(t,p,function(){return s(n)},e)}};null!==b&&b>=0?l.executeSchedule(r,p,f,b,!0):c=!0,f();var d=u.createOperatorSubscriber(r,function(e){var t,r,o=i.slice();try{for(var u=n(o),a=u.next();!a.done;a=u.next()){var c=a.value,l=c.buffer;l.push(e),v<=l.length&&s(c)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}},function(){for(;null==i?void 0:i.length;)r.next(i.shift().buffer);null==d||d.unsubscribe(),r.complete(),r.unsubscribe()},void 0,function(){return i=null});t.subscribe(d)})}},6705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaust=void 0;var n=r(6206);t.exhaust=n.exhaustAll},6758:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pluck=void 0;var n=r(8637);t.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length;if(0===r)throw new Error("list of properties cannot be empty.");return n.map(function(t){for(var n=t,o=0;o<r;o++){var i=null==n?void 0:n[e[o]];if(void 0===i)return;n=i}return n})}},6793:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatest=void 0;var i=r(9009),u=r(1785),a=r(4901),c=r(245),s=r(9420),l=r(3841);t.combineLatest=function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var f=l.popResultSelector(t);return f?s.pipe(e.apply(void 0,o([],n(t))),c.mapOneOrManyArgs(f)):u.operate(function(e,r){i.combineLatestInit(o([e],n(a.argsOrArgArray(t))))(r)})}},6967:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startWith=void 0;var n=r(5467),o=r(3841),i=r(1785);t.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.popScheduler(e);return i.operate(function(t,o){(r?n.concat(e,t,r):n.concat(e,t)).subscribe(o)})}},7042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tap=void 0;var n=r(2060),o=r(1785),i=r(7461),u=r(6590);t.tap=function(e,t,r){var a=n.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return a?o.operate(function(e,t){var r;null===(r=a.subscribe)||void 0===r||r.call(a);var n=!0;e.subscribe(i.createOperatorSubscriber(t,function(e){var r;null===(r=a.next)||void 0===r||r.call(a,e),t.next(e)},function(){var e;n=!1,null===(e=a.complete)||void 0===e||e.call(a),t.complete()},function(e){var r;n=!1,null===(r=a.error)||void 0===r||r.call(a,e),t.error(e)},function(){var e,t;n&&(null===(e=a.unsubscribe)||void 0===e||e.call(a)),null===(t=a.finalize)||void 0===t||t.call(a)}))}):u.identity}},7156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMapTo=void 0;var n=r(3973),o=r(2060);t.concatMapTo=function(e,t){return o.isFunction(t)?n.concatMap(function(){return e},t):n.concatMap(function(){return e})}},7283:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.BehaviorSubject=void 0;var i=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){var e=this,t=e.hasError,r=e.thrownError,n=e._value;if(t)throw r;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(r(9961).Subject);t.BehaviorSubject=i},7343:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowWhen=void 0;var n=r(9961),o=r(1785),i=r(7461),u=r(8579);t.windowWhen=function(e){return o.operate(function(t,r){var o,a,c=function(e){o.error(e),r.error(e)},s=function(){var t;null==a||a.unsubscribe(),null==o||o.complete(),o=new n.Subject,r.next(o.asObservable());try{t=u.innerFrom(e())}catch(e){return void c(e)}t.subscribe(a=i.createOperatorSubscriber(r,s,s,c))};s(),t.subscribe(i.createOperatorSubscriber(r,function(e){return o.next(e)},function(){o.complete(),r.complete()},c,function(){null==a||a.unsubscribe(),o=null}))})}},7350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIndex=void 0;var n=r(1785),o=r(1740);t.findIndex=function(e,t){return n.operate(o.createFind(e,t,"index"))}},7378:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.race=void 0;var i=r(4901),u=r(1118);t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return u.raceWith.apply(void 0,o([],n(i.argsOrArgArray(e))))}},7461:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorSubscriber=t.createOperatorSubscriber=void 0;var i=r(9779);t.createOperatorSubscriber=function(e,t,r,n,o){return new u(e,t,r,n,o)};var u=function(e){function t(t,r,n,o,i,u){var a=e.call(this,t)||this;return a.onFinalize=i,a.shouldUnsubscribe=u,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return o(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(i.Subscriber);t.OperatorSubscriber=u},7499:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleReadableStreamLike=void 0;var n=r(3084),o=r(8443);t.scheduleReadableStreamLike=function(e,t){return n.scheduleAsyncIterable(o.readableStreamLikeToAsyncGenerator(e),t)}},7676:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},7693:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;var i=function(e){function t(t,r){return e.call(this)||this}return o(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(9884).Subscription);t.Action=i},7706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asap=t.asapScheduler=void 0;var n=r(7712),o=r(6193);t.asapScheduler=new o.AsapScheduler(n.AsapAction),t.asap=t.asapScheduler},7712:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapAction=void 0;var i=r(6097),u=r(9027),a=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return o(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=u.immediateProvider.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,n){var o;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var i=t.actions;null!=r&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==r&&(u.immediateProvider.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))},t}(i.AsyncAction);t.AsapAction=a},7716:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=void 0,t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},7730:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Maybe:()=>n});class n{constructor(e){this.value=e}static just(e){if(null==e)throw new TypeError("Value passed to just must exist!");return new n(e)}static nothing(){return new n}static maybe(e){return null==e?n.nothing():n.just(e)}static join(e){return e.withDefault(n.nothing())}static sequence(e){return e.reduce((e,t)=>e.bind(e=>t.map(t=>e.concat(t))),n.just([]))}static traverse(e,t){return n.sequence(t).map(t=>t.map(e))}static justMap(e,t){return t.reduce((t,r)=>{const n=e(r);return void 0!==n.value?t.concat(n.value):t},[])}static filterSomethings(e){return e.reduce((e,t)=>(t.value&&e.push(t.value),e),[])}static lift(e){return t=>t.map(e)}static lift2(e){return(t,r)=>n.sequence([t,r]).map(t=>e(t[0],t[1]))}static lift3(e){return(t,r,o)=>n.sequence([t,r,o]).map(t=>e(t[0],t[1],t[2]))}static toPromise(e){return e.hasSomething?Promise.resolve(e.value):Promise.reject()}map(e){return void 0!==this.value?n.maybe(e(this.value)):n.nothing()}asyncMap(e){return void 0!==this.value?e(this.value).then(e=>{if(null==e)throw"Promise Conversion from a Maybe.Nothing";return e}):Promise.reject()}alt(e){return void 0!==this.value?this:e}altMap(e){return void 0!==this.value?this:e()}ap(e){return e.bind(e=>this.map(e))}bind(e){return n.join(this.map(e))}withDefault(e){return void 0!==this.value?this.value:e}withDefaultFn(e){return void 0!==this.value?this.value:e()}get hasNothing(){return void 0===this.value}get hasSomething(){return!this.hasNothing}unsafeElse(e){this.hasNothing&&e()}}n.of=n.maybe},7773:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=void 0;var n=r(9152),o=r(2060);t.throwError=function(e,t){var r=o.isFunction(e)?e:function(){return e},i=function(e){return e.error(r())};return new n.Observable(t?function(e){return t.schedule(i,0,e)}:i)}},7793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectable=void 0;var n=r(9961),o=r(9152),i=r(4855),u={connector:function(){return new n.Subject},resetOnDisconnect:!0};t.connectable=function(e,t){void 0===t&&(t=u);var r=null,n=t.connector,a=t.resetOnDisconnect,c=void 0===a||a,s=n(),l=new o.Observable(function(e){return s.subscribe(e)});return l.connect=function(){return r&&!r.closed||(r=i.defer(function(){return e}).subscribe(s),c&&r.add(function(){return s=n()})),r},l}},7949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=void 0;var n=r(9961),o=r(8579),i=r(1785),u=r(4338),a={connector:function(){return new n.Subject}};t.connect=function(e,t){void 0===t&&(t=a);var r=t.connector;return i.operate(function(t,n){var i=r();o.innerFrom(e(u.fromSubscribable(i))).subscribe(n),n.add(t.subscribe(i))})}},7977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryWhen=void 0;var n=r(8579),o=r(9961),i=r(1785),u=r(7461);t.retryWhen=function(e){return i.operate(function(t,r){var i,a,c=!1,s=function(){i=t.subscribe(u.createOperatorSubscriber(r,void 0,void 0,function(t){a||(a=new o.Subject,n.innerFrom(e(a)).subscribe(u.createOperatorSubscriber(r,function(){return i?s():c=!0}))),a&&a.next(t)})),c&&(i.unsubscribe(),i=null,c=!1,s())};s()})}},7986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttleTime=void 0;var n=r(8211),o=r(2743),i=r(7998);t.throttleTime=function(e,t,r){void 0===t&&(t=n.asyncScheduler);var u=i.timer(e,t);return o.throttle(function(){return u},r)}},7998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timer=void 0;var n=r(9152),o=r(8211),i=r(5803),u=r(9944);t.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=o.async);var a=-1;return null!=t&&(i.isScheduler(t)?r=t:a=t),new n.Observable(function(t){var n=u.isValidDate(e)?+e-r.now():e;n<0&&(n=0);var o=0;return r.schedule(function(){t.closed||(t.next(o++),0<=a?this.schedule(void 0,a):t.complete())},n)})}},8052:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.VirtualAction=t.VirtualTimeScheduler=void 0;var i=r(6097),u=r(9884),a=function(e){function t(t,r){void 0===t&&(t=c),void 0===r&&(r=1/0);var n=e.call(this,t,function(){return n.frame})||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return o(t,e),t.prototype.flush=function(){for(var e,t,r=this.actions,n=this.maxFrames;(t=r[0])&&t.delay<=n&&(r.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=r.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(r(1138).AsyncScheduler);t.VirtualTimeScheduler=a;var c=function(e){function t(t,r,n){void 0===n&&(n=t.index+=1);var o=e.call(this,t,r)||this;return o.scheduler=t,o.work=r,o.index=n,o.active=!0,o.index=t.index=n,o}return o(t,e),t.prototype.schedule=function(r,n){if(void 0===n&&(n=0),Number.isFinite(n)){if(!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var o=new t(this.scheduler,this.work);return this.add(o),o.schedule(r,n)}return u.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,r,n){void 0===n&&(n=0),this.delay=e.frame+n;var o=e.actions;return o.push(this),o.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(e,t,r){void 0===r&&(r=0)},t.prototype._execute=function(t,r){if(!0===this.active)return e.prototype._execute.call(this,t,r)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(i.AsyncAction);t.VirtualAction=c},8140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.queue=t.queueScheduler=void 0;var n=r(4062),o=r(3115);t.queueScheduler=new o.QueueScheduler(n.QueueAction),t.queue=t.queueScheduler},8187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinct=void 0;var n=r(1785),o=r(7461),i=r(7676),u=r(8579);t.distinct=function(e,t){return n.operate(function(r,n){var a=new Set;r.subscribe(o.createOperatorSubscriber(n,function(t){var r=e?e(t):t;a.has(r)||(a.add(r),n.next(t))})),t&&u.innerFrom(t).subscribe(o.createOperatorSubscriber(n,function(){return a.clear()},i.noop))})}},8191:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.using=void 0;var n=r(9152),o=r(8579),i=r(3054);t.using=function(e,t){return new n.Observable(function(r){var n=e(),u=t(n);return(u?o.innerFrom(u):i.EMPTY).subscribe(r),function(){n&&n.unsubscribe()}})}},8211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var n=r(6097),o=r(1138);t.asyncScheduler=new o.AsyncScheduler(n.AsyncAction),t.async=t.asyncScheduler},8276:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.takeLast=void 0;var o=r(3054),i=r(1785),u=r(7461);t.takeLast=function(e){return e<=0?function(){return o.EMPTY}:i.operate(function(t,r){var o=[];t.subscribe(u.createOperatorSubscriber(r,function(t){o.push(t),e<o.length&&o.shift()},function(){var e,t;try{for(var i=n(o),u=i.next();!u.done;u=i.next()){var a=u.value;r.next(a)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}r.complete()},void 0,function(){o=null}))})}},8340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeatWhen=void 0;var n=r(8579),o=r(9961),i=r(1785),u=r(7461);t.repeatWhen=function(e){return i.operate(function(t,r){var i,a,c=!1,s=!1,l=!1,f=function(){return l&&s&&(r.complete(),!0)},d=function(){l=!1,i=t.subscribe(u.createOperatorSubscriber(r,void 0,function(){l=!0,!f()&&(a||(a=new o.Subject,n.innerFrom(e(a)).subscribe(u.createOperatorSubscriber(r,function(){i?d():c=!0},function(){s=!0,f()}))),a).next()})),c&&(i.unsubscribe(),i=null,c=!1,d())};d()})}},8443:function(e,t,r){"use strict";var n=this&&this.__generator||function(e,t){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},o=this&&this.__await||function(e){return this instanceof o?(this.v=e,this):new o(e)},i=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),u=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){i[e]&&(n[e]=function(t){return new Promise(function(r,n){u.push([e,t,r,n])>1||c(e,t)})})}function c(e,t){try{(r=i[e](t)).value instanceof o?Promise.resolve(r.value.v).then(s,l):f(u[0][2],r)}catch(e){f(u[0][3],e)}var r}function s(e){c("next",e)}function l(e){c("throw",e)}function f(e,t){e(t),u.shift(),u.length&&c(u[0][0],u[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.isReadableStreamLike=t.readableStreamLikeToAsyncGenerator=void 0;var u=r(2060);t.readableStreamLikeToAsyncGenerator=function(e){return i(this,arguments,function(){var t,r,i;return n(this,function(n){switch(n.label){case 0:t=e.getReader(),n.label=1;case 1:n.trys.push([1,,9,10]),n.label=2;case 2:return[4,o(t.read())];case 3:return r=n.sent(),i=r.value,r.done?[4,o(void 0)]:[3,5];case 4:return[2,n.sent()];case 5:return[4,o(i)];case 6:return[4,n.sent()];case 7:return n.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})},t.isReadableStreamLike=function(e){return u.isFunction(null==e?void 0:e.getReader)}},8449:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrRemove=void 0,t.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}},8464:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var i=r(9152),u=r(8579),a=r(4901),c=r(3054),s=r(7461),l=r(3841);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=l.popResultSelector(e),f=a.argsOrArgArray(e);return f.length?new i.Observable(function(e){var t=f.map(function(){return[]}),i=f.map(function(){return!1});e.add(function(){t=i=null});for(var a=function(a){u.innerFrom(f[a]).subscribe(s.createOperatorSubscriber(e,function(u){if(t[a].push(u),t.every(function(e){return e.length})){var c=t.map(function(e){return e.shift()});e.next(r?r.apply(void 0,o([],n(c))):c),t.some(function(e,t){return!e.length&&i[t]})&&e.complete()}},function(){i[a]=!0,!t[a].length&&e.complete()}))},c=0;!e.closed&&c<f.length;c++)a(c);return function(){t=i=null}}):c.EMPTY}},8505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounceTime=void 0;var n=r(8211),o=r(1785),i=r(7461);t.debounceTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),o.operate(function(r,n){var o=null,u=null,a=null,c=function(){if(o){o.unsubscribe(),o=null;var e=u;u=null,n.next(e)}};function s(){var r=a+e,i=t.now();if(i<r)return o=this.schedule(void 0,r-i),void n.add(o);c()}r.subscribe(i.createOperatorSubscriber(n,function(r){u=r,a=t.now(),o||(o=t.schedule(s,e),n.add(o))},function(){c(),n.complete()},void 0,function(){u=o=null}))})}},8529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportUnhandledError=void 0;var n=r(6491),o=r(2565);t.reportUnhandledError=function(e){o.timeoutProvider.setTimeout(function(){var t=n.config.onUnhandledError;if(!t)throw e;t(e)})}},8579:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function u(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(u,a)}c((n=n.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},i=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof u?u(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,o,(t=e[r](t)).done,t.value)})}}},u=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.fromReadableStreamLike=t.fromAsyncIterable=t.fromIterable=t.fromPromise=t.fromArrayLike=t.fromInteropObservable=t.innerFrom=void 0;var a=r(7716),c=r(851),s=r(9152),l=r(4818),f=r(9644),d=r(5432),p=r(1046),b=r(8443),v=r(2060),h=r(8529),m=r(2285);function y(e){return new s.Observable(function(t){var r=e[m.observable]();if(v.isFunction(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function g(e){return new s.Observable(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function O(e){return new s.Observable(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,h.reportUnhandledError)})}function _(e){return new s.Observable(function(t){var r,n;try{for(var o=u(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()})}function w(e){return new s.Observable(function(t){(function(e,t){var r,u,a,c;return n(this,void 0,void 0,function(){var n,s;return o(this,function(o){switch(o.label){case 0:o.trys.push([0,5,6,11]),r=i(e),o.label=1;case 1:return[4,r.next()];case 2:if((u=o.sent()).done)return[3,4];if(n=u.value,t.next(n),t.closed)return[2];o.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=o.sent(),a={error:s},[3,11];case 6:return o.trys.push([6,,9,10]),u&&!u.done&&(c=r.return)?[4,c.call(r)]:[3,8];case 7:o.sent(),o.label=8;case 8:return[3,10];case 9:if(a)throw a.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function P(e){return w(b.readableStreamLikeToAsyncGenerator(e))}t.innerFrom=function(e){if(e instanceof s.Observable)return e;if(null!=e){if(l.isInteropObservable(e))return y(e);if(a.isArrayLike(e))return g(e);if(c.isPromise(e))return O(e);if(f.isAsyncIterable(e))return w(e);if(p.isIterable(e))return _(e);if(b.isReadableStreamLike(e))return P(e)}throw d.createInvalidObservableTypeError(e)},t.fromInteropObservable=y,t.fromArrayLike=g,t.fromPromise=O,t.fromIterable=_,t.fromAsyncIterable=w,t.fromReadableStreamLike=P},8597:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multicast=void 0;var n=r(6380),o=r(2060),i=r(7949);t.multicast=function(e,t){var r=o.isFunction(e)?e:function(){return e};return o.isFunction(t)?i.connect(t,{connector:r}):function(e){return new n.ConnectableObservable(e,r)}}},8608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMapTo=void 0;var n=r(6273),o=r(2060);t.switchMapTo=function(e,t){return o.isFunction(t)?n.switchMap(function(){return e},t):n.switchMap(function(){return e})}},8637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;var n=r(1785),o=r(7461);t.map=function(e,t){return n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(r){n.next(e.call(t,r,i++))}))})}},8646:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferCount=void 0;var o=r(1785),i=r(7461),u=r(8449);t.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,o.operate(function(r,o){var a=[],c=0;r.subscribe(i.createOperatorSubscriber(o,function(r){var i,s,l,f,d=null;c++%t===0&&a.push([]);try{for(var p=n(a),b=p.next();!b.done;b=p.next())(m=b.value).push(r),e<=m.length&&(d=null!=d?d:[]).push(m)}catch(e){i={error:e}}finally{try{b&&!b.done&&(s=p.return)&&s.call(p)}finally{if(i)throw i.error}}if(d)try{for(var v=n(d),h=v.next();!h.done;h=v.next()){var m=h.value;u.arrRemove(a,m),o.next(m)}}catch(e){l={error:e}}finally{try{h&&!h.done&&(f=v.return)&&f.call(v)}finally{if(l)throw l.error}}},function(){var e,t;try{for(var r=n(a),i=r.next();!i.done;i=r.next()){var u=i.value;o.next(u)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}o.complete()},void 0,function(){a=null}))})}},8650:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstValueFrom=void 0;var n=r(9841),o=r(9779);t.firstValueFrom=function(e,t){var r="object"==typeof t;return new Promise(function(i,u){var a=new o.SafeSubscriber({next:function(e){i(e),a.unsubscribe()},error:u,complete:function(){r?i(t.defaultValue):u(new n.EmptyError)}});e.subscribe(a)})}},8672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skip=void 0;var n=r(9889);t.skip=function(e){return n.filter(function(t,r){return e<=r})}},8751:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var i=r(1785),u=r(1744),a=r(3841),c=r(5491);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.popScheduler(e),s=a.popNumber(e,1/0);return i.operate(function(t,i){u.mergeAll(s)(c.from(o([t],n(e)),r)).subscribe(i)})}},8801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sample=void 0;var n=r(8579),o=r(1785),i=r(7676),u=r(7461);t.sample=function(e){return o.operate(function(t,r){var o=!1,a=null;t.subscribe(u.createOperatorSubscriber(r,function(e){o=!0,a=e})),n.innerFrom(e).subscribe(u.createOperatorSubscriber(r,function(){if(o){o=!1;var e=a;a=null,r.next(e)}},i.noop))})}},8804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;var n=r(4506),o=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=n.dateTimestampProvider.now,e}();t.Scheduler=o},8890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeScan=void 0;var n=r(1785),o=r(4449);t.mergeScan=function(e,t,r){return void 0===r&&(r=1/0),n.operate(function(n,i){var u=t;return o.mergeInternals(n,i,function(t,r){return e(u,t,r)},r,function(e){u=e},!1,void 0,function(){return u=null})})}},8899:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iif=void 0;var n=r(4855);t.iif=function(e,t,r){return n.defer(function(){return e()?t:r})}},8911:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.min=void 0;var n=r(9205),o=r(2060);t.min=function(e){return n.reduce(o.isFunction(e)?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})}},8936:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeat=void 0;var n=r(3054),o=r(1785),i=r(7461),u=r(8579),a=r(7998);t.repeat=function(e){var t,r,c=1/0;return null!=e&&("object"==typeof e?(t=e.count,c=void 0===t?1/0:t,r=e.delay):c=e),c<=0?function(){return n.EMPTY}:o.operate(function(e,t){var n,o=0,s=function(){if(null==n||n.unsubscribe(),n=null,null!=r){var e="number"==typeof r?a.timer(r):u.innerFrom(r(o)),c=i.createOperatorSubscriber(t,function(){c.unsubscribe(),l()});e.subscribe(c)}else l()},l=function(){var r=!1;n=e.subscribe(i.createOperatorSubscriber(t,void 0,function(){++o<c?n?s():r=!0:t.complete()})),r&&s()};l()})}},8992:function(e,t,r){"use strict";var n=this&&this.__generator||function(e,t){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.generate=void 0;var o=r(6590),i=r(5803),u=r(4855),a=r(2342);t.generate=function(e,t,r,c,s){var l,f,d,p;function b(){var e;return n(this,function(n){switch(n.label){case 0:e=p,n.label=1;case 1:return t&&!t(e)?[3,4]:[4,d(e)];case 2:n.sent(),n.label=3;case 3:return e=r(e),[3,1];case 4:return[2]}})}return 1===arguments.length?(p=(l=e).initialState,t=l.condition,r=l.iterate,f=l.resultSelector,d=void 0===f?o.identity:f,s=l.scheduler):(p=e,!c||i.isScheduler(c)?(d=o.identity,s=c):d=c),u.defer(s?function(){return a.scheduleIterable(b(),s)}:b)}},9007:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfEmpty=void 0;var n=r(9841),o=r(1785),i=r(7461);function u(){return new n.EmptyError}t.throwIfEmpty=function(e){return void 0===e&&(e=u),o.operate(function(t,r){var n=!1;t.subscribe(i.createOperatorSubscriber(r,function(e){n=!0,r.next(e)},function(){return n?r.complete():r.error(e())}))})}},9009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestInit=t.combineLatest=void 0;var n=r(9152),o=r(2206),i=r(5491),u=r(6590),a=r(245),c=r(3841),s=r(1711),l=r(7461),f=r(872);function d(e,t,r){return void 0===r&&(r=u.identity),function(n){p(t,function(){for(var o=e.length,u=new Array(o),a=o,c=o,s=function(o){p(t,function(){var s=i.from(e[o],t),f=!1;s.subscribe(l.createOperatorSubscriber(n,function(e){u[o]=e,f||(f=!0,c--),c||n.next(r(u.slice()))},function(){--a||n.complete()}))},n)},f=0;f<o;f++)s(f)},n)}}function p(e,t,r){e?f.executeSchedule(r,e,t):t()}t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=c.popScheduler(e),l=c.popResultSelector(e),f=o.argsArgArrayOrObject(e),p=f.args,b=f.keys;if(0===p.length)return i.from([],r);var v=new n.Observable(d(p,r,b?function(e){return s.createObject(b,e)}:u.identity));return l?v.pipe(a.mapOneOrManyArgs(l)):v},t.combineLatestInit=d},9027:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.immediateProvider=void 0;var i=r(5131),u=i.Immediate.setImmediate,a=i.Immediate.clearImmediate;t.immediateProvider={setImmediate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.immediateProvider.delegate;return((null==i?void 0:i.setImmediate)||u).apply(void 0,o([],n(e)))},clearImmediate:function(e){var r=t.immediateProvider.delegate;return((null==r?void 0:r.clearImmediate)||a)(e)},delegate:void 0}},9073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMap=void 0;var n=r(8637),o=r(8579),i=r(1785),u=r(4449),a=r(2060);t.mergeMap=function e(t,r,c){return void 0===c&&(c=1/0),a.isFunction(r)?e(function(e,i){return n.map(function(t,n){return r(e,t,i,n)})(o.innerFrom(t(e,i)))},c):("number"==typeof r&&(c=r),i.operate(function(e,r){return u.mergeInternals(e,r,t,c)}))}},9078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interval=void 0;var n=r(8211),o=r(7998);t.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=n.asyncScheduler),e<0&&(e=0),o.timer(e,e,t)}},9152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Observable=void 0;var n=r(9779),o=r(9884),i=r(2285),u=r(9420),a=r(6491),c=r(2060),s=r(2853),l=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var i,u=this,a=(i=e)&&i instanceof n.Subscriber||function(e){return e&&c.isFunction(e.next)&&c.isFunction(e.error)&&c.isFunction(e.complete)}(i)&&o.isSubscription(i)?e:new n.SafeSubscriber(e,t,r);return s.errorContext(function(){var e=u,t=e.operator,r=e.source;a.add(t?t.call(a,r):r?u._subscribe(a):u._trySubscribe(a))}),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=f(t))(function(t,o){var i=new n.SafeSubscriber({next:function(t){try{e(t)}catch(e){o(e),i.unsubscribe()}},error:o,complete:t});r.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[i.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return u.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=f(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function f(e){var t;return null!==(t=null!=e?e:a.config.Promise)&&void 0!==t?t:Promise}t.Observable=l},9188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinAllInternals=void 0;var n=r(6590),o=r(245),i=r(9420),u=r(9073),a=r(3921);t.joinAllInternals=function(e,t){return i.pipe(a.toArray(),u.mergeMap(function(t){return e(t)}),t?o.mapOneOrManyArgs(t):n.identity)}},9205:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduce=void 0;var n=r(2186),o=r(1785);t.reduce=function(e,t){return o.operate(n.scanInternals(e,t,arguments.length>=2,!1,!0))}},9316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrame=t.animationFrameScheduler=void 0;var n=r(1814),o=r(4179);t.animationFrameScheduler=new o.AnimationFrameScheduler(n.AnimationFrameAction),t.animationFrame=t.animationFrameScheduler},9420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pipeFromArray=t.pipe=void 0;var n=r(6590);function o(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(e)},t.pipeFromArray=o},9474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeOn=void 0;var n=r(872),o=r(1785),i=r(7461);t.observeOn=function(e,t){return void 0===t&&(t=0),o.operate(function(r,o){r.subscribe(i.createOperatorSubscriber(o,function(r){return n.executeSchedule(o,e,function(){return o.next(r)},t)},function(){return n.executeSchedule(o,e,function(){return o.complete()},t)},function(r){return n.executeSchedule(o,e,function(){return o.error(r)},t)}))})}},9511:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forkJoin=void 0;var n=r(9152),o=r(2206),i=r(8579),u=r(3841),a=r(7461),c=r(245),s=r(1711);t.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=u.popResultSelector(e),l=o.argsArgArrayOrObject(e),f=l.args,d=l.keys,p=new n.Observable(function(e){var t=f.length;if(t)for(var r=new Array(t),n=t,o=t,u=function(t){var u=!1;i.innerFrom(f[t]).subscribe(a.createOperatorSubscriber(e,function(e){u||(u=!0,o--),r[t]=e},function(){return n--},void 0,function(){n&&u||(o||e.next(d?s.createObject(d,r):r),e.complete())}))},c=0;c<t;c++)u(c);else e.complete()});return r?p.pipe(c.mapOneOrManyArgs(r)):p}},9544:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.withLatestFrom=void 0;var i=r(1785),u=r(7461),a=r(8579),c=r(6590),s=r(7676),l=r(3841);t.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=l.popResultSelector(e);return i.operate(function(t,i){for(var l=e.length,f=new Array(l),d=e.map(function(){return!1}),p=!1,b=function(t){a.innerFrom(e[t]).subscribe(u.createOperatorSubscriber(i,function(e){f[t]=e,p||d[t]||(d[t]=!0,(p=d.every(c.identity))&&(d=null))},s.noop))},v=0;v<l;v++)b(v);t.subscribe(u.createOperatorSubscriber(i,function(e){if(p){var t=o([e],n(f));i.next(r?r.apply(void 0,o([],n(t))):t)}}))})}},9576:(e,t,r)=>{var n;self,n=()=>(()=>{"use strict";var e={842:()=>{!function(e){function t(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r}"function"!=typeof e.CustomEvent&&(t.prototype=e.Event.prototype,e.CustomEvent=t)}(window)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};function i(e){return(e.charAt(0)+e.slice(1).replace(/([A-Z])/g,"-$&")).toLowerCase()}n.r(o),n.d(o,{createSetupElement:()=>d,generateCustomElementWrapper:()=>f,makeGenericEffectsDriver:()=>b});var u=1e3;const a=r(2795),c=r(7730);function s(e,t,r,n,o){var i=t.replace(/-([a-z])/gi,function(e,t){return t.toUpperCase()});e[i]=n.map(function(e){var t=e.get(i),n=r;return t&&t.reflectAs&&r&&(n=t.reflectAs(r)),t&&t.reflectAs===Boolean&&(n=""===r),o&&(o[i]=n),n}).withDefault(r)}const l=r(3713);function f(e,t){var r,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{useShadowDOM:!0},l=o.useShadowDOM?c.Maybe.just(function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!!window.HTMLTemplateElement;return t=n?function(e){var t=document.createElement("template");return t.innerHTML="<style>".concat(e,'</style><div class="root"></div>'),t.content}(r):function(e){var t=document.createDocumentFragment(),r=document.createElement("style");r.appendChild(document.createTextNode(e));var n=document.createElement("div");return n.className="root",t.appendChild(r),t.appendChild(n),t}(r),function(e){if(e.shadowRoot)return e.shadowRoot.querySelector("div");e.attachShadow?e.attachShadow({mode:"open"}):Object.assign(e,{shadowRoot:e});var o=document.importNode(t,!0);n||(o.querySelector("style").sheet.cssText=r);var i=e.shadowRoot;return i.appendChild(o),i.querySelector("div")}}(e,o.css)):c.Maybe.nothing(),f=Array.isArray(o.props)?c.Maybe.just((r=o.props,{fnHashByName:n=r.reduce(function(e,t){return e.set(t.name,t),e},new Map),hooks:{init:function(e){e.__innerProps$=new a.BehaviorSubject({})},connectedCallback:function(e){var t,r,o,i,u,a=e.__innerProps$.getValue(),l=Object.assign({},a);e.constructor.observedAttributes.forEach(function(t){null!==e.getAttribute(t)&&s(e,t,e.getAttribute(t),c.Maybe.just(n),l)}),t=a,r=l,o=!0,i=Object.keys(t),u=Object.keys(r),i.length===u.length&&(i.forEach(function(e){r.hasOwnProperty(e)&&t[e]===r[e]||(o=!1)}),o)||e.__innerProps$.next(l)},classSetup:function(e){Object.assign(e,{observedAttributes:r.filter(function(e){return e.reflectAs}).map(function(e){return e.name}).map(i)}),r.forEach(function(t){Object.defineProperty(e.prototype,t.name,{get:function(){return this.__innerProps$.getValue()[t.name]},set:function(r){if(this.__innerProps$.getValue()[t.name]!==r){var n=i(t.name),o=e.observedAttributes.includes(n);o&&(!0===r?this.setAttribute(n,""):r||0===r||""===r?this.setAttribute(n,String(r)):this.removeAttribute(n)),!this.__attached&&o&&!1!==r||(this.__innerProps$.getValue()[t.name]=r,this.__innerProps$.next(this.__innerProps$.getValue()))}}})})}}})):c.Maybe.nothing(),d=function(){var e=Reflect.construct(HTMLElement,[],d);return o.prototypeExtensions&&Object.keys(o.prototypeExtensions).forEach(function(t){e[t]||(e[t]=o.prototypeExtensions[t])}),e.__onTeardown=[],e.__onAttached=[],e.__guid=u++,f.map(function(t){return(0,t.hooks.init)(e)}),l.map(function(t){return t(e)}).map(function(r){var n=c.Maybe.maybe(e.__innerProps$).map(function(r){return t(e,r)}).withDefaultFn(function(){return t(e)});p(e,r,n),e.__shadowAppBooted=!0}),e};return function(e){try{Object.defineProperty(e,"is",{value:name,writable:!1}),Object.defineProperty(e,"localName",{value:name,writable:!1})}catch(e){}}(d),d.prototype=Object.create(HTMLElement.prototype,{component:{writable:!0,enumerable:!0},constructor:{value:d},connectedCallback:{writable:!0,value:function(){var e=this;this.dataset.guid="".concat(this.__guid),o.useShadowDOM&&this.__shadowAppBooted||(l.map(function(t){return t(e)}).alt(c.Maybe.just(this)).map(function(r){var n=c.Maybe.maybe(e.__innerProps$).map(function(r){return t(e,r)}).withDefaultFn(function(){return t(e)});p(e,r,n)}),this.__shadowAppBooted=!0),f.map(function(t){(0,t.hooks.connectedCallback)(e)}),this.__attached=!0,this.__onAttached.forEach(function(t){return t.call(e)})}},disconnectedCallback:{writable:!0,value:function(){var e=this;this.__onTeardown.reverse().forEach(function(t){return t.call(e)}),this.__innerProps$&&(this.__innerProps$.complete(),this.__innerProps$=void 0),this.__onTeardown=[],this.__onAttached=[],this.__attached=!1,this.__shadowAppBooted=!1}},attributeChangedCallback:{writable:!0,value:function(e,t,r){t!==r&&this.__attached&&s(this,e,r,f.map(function(e){return e.fnHashByName}))}}}),f.map(function(e){return(0,e.hooks.classSetup)(d)}),d}function d(e){return function(t){return function(r){var n=function(){window.customElements.get(r)||window.customElements.define(r,e(r,t))};window.customElements?n():(0,a.interval)(5).pipe((0,l.filter)(function(){return!!window.customElements}),(0,l.take)(1)).toPromise().then(function(){n()})}}}function p(e,t,r){var n=document.createElement("div");t.appendChild(n);var o=r.DOM$.subscribe(function(e){t.firstChild&&t.isConnected&&t.replaceChild(e,t.firstChild)}),i=r.settled$.subscribe(function(t){e.settled=t,t&&e.dispatchEvent(new CustomEvent("settled"))}),u=r.teardown$.subscribe(function(t){e.__onTeardown.push(t)});e.__onTeardown.push(function(){r.DOM$.complete(),r.settled$.complete(),r.teardown$.complete(),[o,i,u].forEach(function(e){return e.unsubscribe()})})}function b(e){return function(t){t.subscribe({next:function(t){t(e)},error:function(){},complete:function(){}})}}return n(842),o})(),e.exports=n()},9603:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var i=r(1785),u=r(4380),a=r(3841),c=r(5491);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.popScheduler(e);return i.operate(function(t,i){u.concatAll()(c.from(o([t],n(e)),r)).subscribe(i)})}},9644:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=void 0;var n=r(2060);t.isAsyncIterable=function(e){return Symbol.asyncIterator&&n.isFunction(null==e?void 0:e[Symbol.asyncIterator])}},9656:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.audit=void 0;var n=r(1785),o=r(8579),i=r(7461);t.audit=function(e){return n.operate(function(t,r){var n=!1,u=null,a=null,c=!1,s=function(){if(null==a||a.unsubscribe(),a=null,n){n=!1;var e=u;u=null,r.next(e)}c&&r.complete()},l=function(){a=null,c&&r.complete()};t.subscribe(i.createOperatorSubscriber(r,function(t){n=!0,u=t,a||o.innerFrom(e(t)).subscribe(a=i.createOperatorSubscriber(r,s,l))},function(){c=!0,(!n||!a||a.closed)&&r.complete()}))})}},9779:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_OBSERVER=t.SafeSubscriber=t.Subscriber=void 0;var i=r(2060),u=r(9884),a=r(6491),c=r(8529),s=r(7676),l=r(4830),f=r(2565),d=r(2853),p=function(e){function r(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,u.isSubscription(r)&&r.add(n)):n.destination=t.EMPTY_OBSERVER,n}return o(r,e),r.create=function(e,t,r){return new m(e,t,r)},r.prototype.next=function(e){this.isStopped?g(l.nextNotification(e),this):this._next(e)},r.prototype.error=function(e){this.isStopped?g(l.errorNotification(e),this):(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped?g(l.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(u.Subscription);t.Subscriber=p;var b=Function.prototype.bind;function v(e,t){return b.call(e,t)}var h=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){y(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){y(e)}else y(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){y(e)}},e}(),m=function(e){function t(t,r,n){var o,u,c=e.call(this)||this;return i.isFunction(t)||!t?o={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:c&&a.config.useDeprecatedNextContext?((u=Object.create(t)).unsubscribe=function(){return c.unsubscribe()},o={next:t.next&&v(t.next,u),error:t.error&&v(t.error,u),complete:t.complete&&v(t.complete,u)}):o=t,c.destination=new h(o),c}return o(t,e),t}(p);function y(e){a.config.useDeprecatedSynchronousErrorHandling?d.captureError(e):c.reportUnhandledError(e)}function g(e,t){var r=a.config.onStoppedNotification;r&&f.timeoutProvider.setTimeout(function(){return r(e,t)})}t.SafeSubscriber=m,t.EMPTY_OBSERVER={closed:!0,next:s.noop,error:function(e){throw e},complete:s.noop}},9796:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sampleTime=void 0;var n=r(8211),o=r(8801),i=r(9078);t.sampleTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),o.sample(i.interval(e,t))}},9841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyError=void 0;var n=r(3654);t.EmptyError=n.createErrorClass(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})},9884:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.isSubscription=t.EMPTY_SUBSCRIPTION=t.Subscription=void 0;var u=r(2060),a=r(5746),c=r(8449),s=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,r,c,s;if(!this.closed){this.closed=!0;var f=this._parentage;if(f)if(this._parentage=null,Array.isArray(f))try{for(var d=n(f),p=d.next();!p.done;p=d.next())p.value.remove(this)}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}else f.remove(this);var b=this.initialTeardown;if(u.isFunction(b))try{b()}catch(e){s=e instanceof a.UnsubscriptionError?e.errors:[e]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var h=n(v),m=h.next();!m.done;m=h.next()){var y=m.value;try{l(y)}catch(e){s=null!=s?s:[],e instanceof a.UnsubscriptionError?s=i(i([],o(s)),o(e.errors)):s.push(e)}}}catch(e){r={error:e}}finally{try{m&&!m.done&&(c=h.return)&&c.call(h)}finally{if(r)throw r.error}}}if(s)throw new a.UnsubscriptionError(s)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)l(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&c.arrRemove(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&c.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}();function l(e){u.isFunction(e)?e():e.unsubscribe()}t.Subscription=s,t.EMPTY_SUBSCRIPTION=s.EMPTY,t.isSubscription=function(e){return e instanceof s||e&&"closed"in e&&u.isFunction(e.remove)&&u.isFunction(e.add)&&u.isFunction(e.unsubscribe)}},9889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=void 0;var n=r(1785),o=r(7461);t.filter=function(e,t){return n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(r){return e.call(t,r,i++)&&n.next(r)}))})}},9891:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequenceEqual=void 0;var n=r(1785),o=r(7461),i=r(8579);t.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),n.operate(function(r,n){var u={buffer:[],complete:!1},a={buffer:[],complete:!1},c=function(e){n.next(e),n.complete()},s=function(e,r){var i=o.createOperatorSubscriber(n,function(n){var o=r.buffer,i=r.complete;0===o.length?i?c(!1):e.buffer.push(n):!t(n,o.shift())&&c(!1)},function(){e.complete=!0;var t=r.complete,n=r.buffer;t&&c(0===n.length),null==i||i.unsubscribe()});return i};r.subscribe(s(u,a)),i.innerFrom(e).subscribe(s(a,u))})}},9927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeWhile=void 0;var n=r(1785),o=r(7461);t.takeWhile=function(e,t){return void 0===t&&(t=!1),n.operate(function(r,n){var i=0;r.subscribe(o.createOperatorSubscriber(n,function(r){var o=e(r,i++);(o||t)&&n.next(r),!o&&n.complete()}))})}},9936:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=t.onErrorResumeNextWith=void 0;var i=r(4901),u=r(2784);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.argsOrArgArray(e);return function(e){return u.onErrorResumeNext.apply(void 0,o([e],n(r)))}}t.onErrorResumeNextWith=a,t.onErrorResumeNext=a},9944:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidDate=void 0,t.isValidDate=function(e){return e instanceof Date&&!isNaN(e)}},9961:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousSubject=t.Subject=void 0;var u=r(9152),a=r(9884),c=r(6368),s=r(8449),l=r(2853),f=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype.lift=function(e){var t=new d(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new c.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;l.errorContext(function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=i(t.currentObservers),u=o.next();!u.done;u=o.next())u.value.next(e)}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;l.errorContext(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;l.errorContext(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?a.EMPTY_SUBSCRIPTION:(this.currentObservers=null,i.push(e),new a.Subscription(function(){t.currentObservers=null,s.arrRemove(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,o=t.isStopped;r?e.error(n):o&&e.complete()},t.prototype.asObservable=function(){var e=new u.Observable;return e.source=this,e},t.create=function(e,t){return new d(e,t)},t}(u.Observable);t.Subject=f;var d=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return o(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:a.EMPTY_SUBSCRIPTION},t}(f);t.AnonymousSubject=d}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";function e(t,r){Object.keys(r).forEach(n=>{if(!Array.isArray(r[n])&&!Array.isArray(t[n])&&t.hasOwnProperty(n)&&"object"==typeof r[n])return e(t[n],r[n]);t[n]=r[n]})}r.r(n),r.d(n,{init:()=>_t});var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},t(e,r)};function o(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function i(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(c){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}function u(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function c(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function s(e){return this instanceof s?(this.v=e,this):new s(e)}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var l=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function f(e){return"function"==typeof e}function d(e){return f(null==e?void 0:e.then)}function p(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var b=p(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function v(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var h=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=u(i),l=s.next();!l.done;l=s.next())l.value.remove(this)}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);var d=this.initialTeardown;if(f(d))try{d()}catch(e){o=e instanceof b?e.errors:[e]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var v=u(p),h=v.next();!h.done;h=v.next()){var m=h.value;try{g(m)}catch(e){o=null!=o?o:[],e instanceof b?o=c(c([],a(o)),a(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{h&&!h.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}}if(o)throw new b(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)g(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&v(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&v(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e;var t}(),m=h.EMPTY;function y(e){return e instanceof h||e&&"closed"in e&&f(e.remove)&&f(e.add)&&f(e.unsubscribe)}function g(e){f(e)?e():e.unsubscribe()}var O={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},_={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=_.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,c([e,t],a(r))):setTimeout.apply(void 0,c([e,t],a(r)))},clearTimeout:function(e){var t=_.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function w(e){_.setTimeout(function(){var t=O.onUnhandledError;if(!t)throw e;t(e)})}function P(){}var j=S("C",void 0,void 0);function S(e,t,r){return{kind:e,value:t,error:r}}var x=null;function E(e){if(O.useDeprecatedSynchronousErrorHandling){var t=!x;if(t&&(x={errorThrown:!1,error:null}),e(),t){var r=x,n=r.errorThrown,o=r.error;if(x=null,n)throw o}}else e()}var A=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,y(t)&&t.add(r)):r.destination=k,r}return o(t,e),t.create=function(e,t,r){return new N(e,t,r)},t.prototype.next=function(e){this.isStopped?F(function(e){return S("N",e,void 0)}(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?F(S("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?F(j,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(h),M=Function.prototype.bind;function T(e,t){return M.call(e,t)}var C=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){I(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){I(e)}else I(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){I(e)}},e}(),N=function(e){function t(t,r,n){var o,i,u=e.call(this)||this;return f(t)||!t?o={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:u&&O.useDeprecatedNextContext?((i=Object.create(t)).unsubscribe=function(){return u.unsubscribe()},o={next:t.next&&T(t.next,i),error:t.error&&T(t.error,i),complete:t.complete&&T(t.complete,i)}):o=t,u.destination=new C(o),u}return o(t,e),t}(A);function I(e){var t;O.useDeprecatedSynchronousErrorHandling?(t=e,O.useDeprecatedSynchronousErrorHandling&&x&&(x.errorThrown=!0,x.error=t)):w(e)}function F(e,t){var r=O.onStoppedNotification;r&&_.setTimeout(function(){return r(e,t)})}var k={closed:!0,next:P,error:function(e){throw e},complete:P},R="function"==typeof Symbol&&Symbol.observable||"@@observable";function L(e){return e}var W=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof A||function(e){return e&&f(e.next)&&f(e.error)&&f(e.complete)}(n)&&y(n)?e:new N(e,t,r);return E(function(){var e=o,t=e.operator,r=e.source;i.add(t?t.call(i,r):r?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=q(t))(function(t,n){var o=new N({next:function(t){try{e(t)}catch(e){n(e),o.unsubscribe()}},error:n,complete:t});r.subscribe(o)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[R]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===(r=e).length?L:1===r.length?r[0]:function(e){return r.reduce(function(e,t){return t(e)},e)})(this);var r},e.prototype.toPromise=function(e){var t=this;return new(e=q(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function q(e){var t;return null!==(t=null!=e?e:O.Promise)&&void 0!==t?t:Promise}function $(e){return f(e[R])}function U(e){return Symbol.asyncIterator&&f(null==e?void 0:e[Symbol.asyncIterator])}function z(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var D="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function V(e){return f(null==e?void 0:e[D])}function B(e){return function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",function(e){return function(t){return Promise.resolve(t).then(e,l)}}),n[Symbol.asyncIterator]=function(){return this},n;function u(e,t){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||a(e,t)})},t&&(n[e]=t(n[e])))}function a(e,t){try{(r=o[e](t)).value instanceof s?Promise.resolve(r.value.v).then(c,l):f(i[0][2],r)}catch(e){f(i[0][3],e)}var r}function c(e){a("next",e)}function l(e){a("throw",e)}function f(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function(){var t,r,n;return i(this,function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,s(t.read())];case 3:return r=o.sent(),n=r.value,r.done?[4,s(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,s(n)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function H(e){return f(null==e?void 0:e.getReader)}function Y(e){if(e instanceof W)return e;if(null!=e){if($(e))return o=e,new W(function(e){var t=o[R]();if(f(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if(l(e))return n=e,new W(function(e){for(var t=0;t<n.length&&!e.closed;t++)e.next(n[t]);e.complete()});if(d(e))return r=e,new W(function(e){r.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,w)});if(U(e))return J(e);if(V(e))return t=e,new W(function(e){var r,n;try{for(var o=u(t),i=o.next();!i.done;i=o.next()){var a=i.value;if(e.next(a),e.closed)return}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}e.complete()});if(H(e))return J(B(e))}var t,r,n,o;throw z(e)}function J(e){return new W(function(t){(function(e,t){var r,n,o,a,c,s,l,f;return c=this,s=void 0,f=function(){var c,s;return i(this,function(i){switch(i.label){case 0:i.trys.push([0,5,6,11]),r=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=u(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,o,(t=e[r](t)).done,t.value)})}}}(e),i.label=1;case 1:return[4,r.next()];case 2:if((n=i.sent()).done)return[3,4];if(c=n.value,t.next(c),t.closed)return[2];i.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=i.sent(),o={error:s},[3,11];case 6:return i.trys.push([6,,9,10]),n&&!n.done&&(a=r.return)?[4,a.call(r)]:[3,8];case 7:i.sent(),i.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})},new((l=void 0)||(l=Promise))(function(e,t){function r(e){try{o(f.next(e))}catch(e){t(e)}}function n(e){try{o(f.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):(o=t.value,o instanceof l?o:new l(function(e){e(o)})).then(r,n)}o((f=f.apply(c,s||[])).next())})})(e,t).catch(function(e){return t.error(e)})})}function K(e){return function(t){if(function(e){return f(null==e?void 0:e.lift)}(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}function G(e,t,r,n,o){return new Q(e,t,r,n,o)}var Q=function(e){function t(t,r,n,o,i,u){var a=e.call(this,t)||this;return a.onFinalize=i,a.shouldUnsubscribe=u,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return o(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(A);function X(e,t){return K(function(r,n){var o=0;r.subscribe(G(n,function(r){n.next(e.call(t,r,o++))}))})}function Z(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function ee(e,t,r){return void 0===r&&(r=1/0),f(t)?ee(function(r,n){return X(function(e,o){return t(r,e,n,o)})(Y(e(r,n)))},r):("number"==typeof t&&(r=t),K(function(t,n){return function(e,t,r,n){var o=[],i=0,u=0,a=!1,c=function(){!a||o.length||i||t.complete()},s=function(e){return i<n?l(e):o.push(e)},l=function(e){i++;var a=!1;Y(r(e,u++)).subscribe(G(t,function(e){t.next(e)},function(){a=!0},void 0,function(){if(a)try{i--;for(var e=function(){var e=o.shift();l(e)};o.length&&i<n;)e();c()}catch(e){t.error(e)}}))};return e.subscribe(G(t,s,function(){a=!0,c()})),function(){}}(t,n,e,r)}))}var te=Array.isArray;function re(e){return X(function(t){return function(e,t){return te(t)?e.apply(void 0,c([],a(t))):e(t)}(e,t)})}var ne=["addListener","removeListener"],oe=["addEventListener","removeEventListener"],ie=["on","off"];function ue(e,t,r,n){if(f(r)&&(n=r,r=void 0),n)return ue(e,t,r).pipe(re(n));var o=a(function(e){return f(e.addEventListener)&&f(e.removeEventListener)}(e)?oe.map(function(n){return function(o){return e[n](t,o,r)}}):function(e){return f(e.addListener)&&f(e.removeListener)}(e)?ne.map(ae(e,t)):function(e){return f(e.on)&&f(e.off)}(e)?ie.map(ae(e,t)):[],2),i=o[0],u=o[1];if(!i&&l(e))return ee(function(e){return ue(e,t,r)})(Y(e));if(!i)throw new TypeError("Invalid event target");return new W(function(e){var t=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1<t.length?t:t[0])};return i(t),function(){return u(t)}})}function ae(e,t){return function(r){return function(n){return e[r](t,n)}}}var ce=p(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function se(e,t){return K(function(r,n){var o=0;r.subscribe(G(n,function(r){return e.call(t,r,o++)&&n.next(r)}))})}class le{constructor(e){this.value=e}static just(e){if(null==e)throw new TypeError("Value passed to just must exist!");return new le(e)}static nothing(){return new le}static maybe(e){return null==e?le.nothing():le.just(e)}static join(e){return e.withDefault(le.nothing())}static sequence(e){return e.reduce((e,t)=>e.bind(e=>t.map(t=>e.concat(t))),le.just([]))}static traverse(e,t){return le.sequence(t).map(t=>t.map(e))}static justMap(e,t){return t.reduce((t,r)=>{const n=e(r);return void 0!==n.value?t.concat(n.value):t},[])}static filterSomethings(e){return e.reduce((e,t)=>(t.value&&e.push(t.value),e),[])}static lift(e){return t=>t.map(e)}static lift2(e){return(t,r)=>le.sequence([t,r]).map(t=>e(t[0],t[1]))}static lift3(e){return(t,r,n)=>le.sequence([t,r,n]).map(t=>e(t[0],t[1],t[2]))}static toPromise(e){return e.hasSomething?Promise.resolve(e.value):Promise.reject()}map(e){return void 0!==this.value?le.maybe(e(this.value)):le.nothing()}asyncMap(e){return void 0!==this.value?e(this.value).then(e=>{if(null==e)throw"Promise Conversion from a Maybe.Nothing";return e}):Promise.reject()}alt(e){return void 0!==this.value?this:e}altMap(e){return void 0!==this.value?this:e()}ap(e){return e.bind(e=>this.map(e))}bind(e){return le.join(this.map(e))}withDefault(e){return void 0!==this.value?this.value:e}withDefaultFn(e){return void 0!==this.value?this.value:e()}get hasNothing(){return void 0===this.value}get hasSomething(){return!this.hasNothing}unsafeElse(e){this.hasNothing&&e()}}function fe(e,t,r,n,o=null,i="success"){const u=window.isTestingTecton?window:e;null==u||u.postMessage({tectonic:!0,value:n.withDefault(""),status:i,type:t,protocol:r,guid:o},"*")}function de(e,t){fe(window.parent,e,"MESSAGE",t)}function pe(e,t){fe(window,e,"BROADCAST",t),window.isTestingTecton||Array.prototype.slice.call(document.querySelectorAll("tecton-platform-outlet, tecton-outlet, tecton-tab-pane")).forEach(r=>{const n=r.shadowRoot&&r.shadowRoot.querySelector("iframe");if(null==n?void 0:n.contentWindow)switch(e){case"platformScrollChanged":case"platformSizeChanged":let{value:o}=Object.assign({},t);o=Object.assign(JSON.parse(o),{outletOffset:r.getBoundingClientRect().top}),fe(n.contentWindow,e,"BROADCAST",new le(JSON.stringify(o)));break;default:fe(n.contentWindow,e,"BROADCAST",t)}})}le.of=le.maybe;class be{constructor(){this.messageNum=0,this.firehose$=ue(window,"message").pipe(se(e=>e.data.tectonic))}onMessage(e,t="MESSAGE",r=null){return function(e,t,r,n=null){return t.pipe(se(t=>t.data.type===e&&(!n||t.data.guid===n)&&t.data.protocol===r),X(t=>{const r=t.data.value&&JSON.parse(t.data.value),n=t.source||(window.parent.location.origin===t.origin?window.parent:window.location.origin===t.origin?window:null);return"success"===t.data.status?{status:"success",value:r,sender:n,type:e,guid:t.data.guid}:{status:"error",message:r.message,sender:n,type:e,guid:t.data.guid}}))}(e,this.firehose$,t,r).pipe(X(ve))}sendRequest(e,t,r){const n=this.getNextMessageNumber();fe(window.isTectonPlatform?window:window.parent,e,"REQUEST",t,n,"success");const o=[];return o.push((i=this.onMessage(e,"RESPONSE",n),new Promise(function(e,t){var r=new N({next:function(t){e(t),r.unsubscribe()},error:t,complete:function(){t(new ce)}});i.subscribe(r)}))),r&&r.timeout&&o.push(new Promise((o,i)=>{setTimeout(()=>{i({status:"error",message:`The request ${t} has timed out`,sender:window,type:e,guid:n})},r.timeout)})),Promise.race(o);var i}sendResponse(e,t){return this.onMessage(e,"REQUEST").subscribe(e=>Promise.resolve().then(()=>{if("success"===e.status)return t(e.value,e.sender);throw Error("Don't send Error Message as Request!")}).then(t=>{if(null!==t)return he(e.sender,e.type,t,e.guid,"success")}).catch(t=>he(e.sender,e.type,{message:t.message},e.guid,"error")))}getNextMessageNumber(){const e=this.messageNum+1;return this.messageNum=e,e}}function ve(e){if("success"===e.status)return e;throw e}function he(e,t,r,n=null,o){fe(e,t,"RESPONSE",le.maybe(r).map(JSON.stringify),n,o)}class me extends be{constructor(e,t){super(),this.domains=new Set,this.configSubscription=e.subscribe(this.getConfigDomains.bind(this)),this.firehose$=this.firehose$.pipe(se(e=>t||this.domains.has(e.origin)))}teardown(){this.configSubscription.unsubscribe()}getConfigDomains(e){let t=Array(window.location.origin.toString());const r=Object.keys(e.features).map(r=>{const n=e.features[r].additionalDomains;return n&&n.length>0&&(t=t.concat(n)),Object.keys(e.features[r].modules).map(t=>{const n=e.features[r].modules[t].url;try{return new URL(n,window.location.href).origin}catch(e){return""}})}),n=t.concat(...r);this.domains=function(e){return new Set(e.filter(e=>""!==e))}(n)}}var ye=p(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),ge=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype.lift=function(e){var t=new Oe(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new ye},t.prototype.next=function(e){var t=this;E(function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=u(t.currentObservers),i=o.next();!i.done;i=o.next())i.value.next(e)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;E(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;E(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?m:(this.currentObservers=null,i.push(e),new h(function(){t.currentObservers=null,v(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,o=t.isStopped;r?e.error(n):o&&e.complete()},t.prototype.asObservable=function(){var e=new W;return e.source=this,e},t.create=function(e,t){return new Oe(e,t)},t}(W),Oe=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return o(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:m},t}(ge),_e=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){var e=this,t=e.hasError,r=e.thrownError,n=e._value;if(t)throw r;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(ge);class we{constructor(e){this.value=e}static just(e){if(null==e)throw new TypeError("Value passed to just must exist!");return new we(e)}static nothing(){return new we}static maybe(e){return null==e?we.nothing():we.just(e)}static join(e){return e.withDefault(we.nothing())}static sequence(e){return e.reduce((e,t)=>e.bind(e=>t.map(t=>e.concat(t))),we.just([]))}static traverse(e,t){return we.sequence(t).map(t=>t.map(e))}static justMap(e,t){return t.reduce((t,r)=>{const n=e(r);return void 0!==n.value?t.concat(n.value):t},[])}static filterSomethings(e){return e.reduce((e,t)=>(t.value&&e.push(t.value),e),[])}static lift(e){return t=>t.map(e)}static lift2(e){return(t,r)=>we.sequence([t,r]).map(t=>e(t[0],t[1]))}static lift3(e){return(t,r,n)=>we.sequence([t,r,n]).map(t=>e(t[0],t[1],t[2]))}static toPromise(e){return e.hasSomething?Promise.resolve(e.value):Promise.reject()}map(e){return void 0!==this.value?we.maybe(e(this.value)):we.nothing()}asyncMap(e){return void 0!==this.value?e(this.value).then(e=>{if(null==e)throw"Promise Conversion from a Maybe.Nothing";return e}):Promise.reject()}alt(e){return void 0!==this.value?this:e}altMap(e){return void 0!==this.value?this:e()}ap(e){return e.bind(e=>this.map(e))}bind(e){return we.join(this.map(e))}withDefault(e){return void 0!==this.value?this.value:e}withDefaultFn(e){return void 0!==this.value?this.value:e()}get hasNothing(){return void 0===this.value}get hasSomething(){return!this.hasNothing}unsafeElse(e){this.hasNothing&&e()}}function Pe(e,t={}){return Object.keys(t).filter(t=>{const r=t.lastIndexOf(".");return t.slice(0,r).startsWith(e)}).reduce((e,r)=>{const n=r.lastIndexOf(".");return e[r.substring(n+1)]=t[r],e},Object.create({}))}function je(e,t,r=[]){for(const[n,o]of Object.entries(t)){const t=[...r,n];if(n===e)return t.reverse();if("object"==typeof o&&Object.keys(o).length>0){const r=je(e,o,t);if(r.length>0)return r}}return[]}function Se(e,t){if(!e||"string"!=typeof e)return[];const[r,n]=e.split("::");if(!r||!n)return[];const o=t[r];return o?je(n,o).map(e=>`${r}::${e}`):[]}function xe(e,t,r,n,o,i,u,a,c,s,l,f={}){return function(e,t,r){return we.sequence([e,t]).map(()=>{const e=r.withDefault("");return""!==e?Promise.resolve(we.just(e)):Promise.resolve(we.nothing())}).withDefaultFn(()=>Promise.resolve(we.nothing()))}(n,o,u).then(async t=>{const r=await function(e,t){return Promise.all(t.map(async t=>{const r=await e(t.featureName),n=r.modules[t.moduleName],o=r.additionalDomains,i=r.allowDirectives;return Object.assign(Object.assign(Object.assign({},t),n),{additionalDomains:o,allowDirectives:i})}))}(e.dynamicConfigFetch,i),n=t.map(e=>Se(e,f)).bind(e=>Ee(r,e,a)),o=we.maybe(r[0]);return t.map(()=>n).altMap(()=>we.just(o)).bind(e=>e)}).then(async e=>e.map(e=>{var n,o,i,u;const a=`${r}.${e.featureName}.${e.moduleName}`,f=(null===(o=null===(n=c.features[s])||void 0===n?void 0:n.modules[l])||void 0===o?void 0:o.requiredUserCapabilities)||[],d=(null===(u=null===(i=c.features[e.featureName])||void 0===i?void 0:i.modules[e.moduleName])||void 0===u?void 0:u.requiredUserCapabilities)||[],p=[...new Set([...f,...d])];return{moduleId:a,initialParams:Pe(a,t.getValue().currentParams),featureName:e.featureName,url:e.url,minHeight:e.meta.type.minHeight||"",tabLabelOverride:e.tabLabelOverride,formPostAuth:!!e.formPostAuth,loadingOptions:e.loadingOptions,additionalDomains:e.additionalDomains,allowDirectives:e.allowDirectives,requiredUserCapabilities:p,rightsEnabled:e.rightsEnabled}}))}function Ee(e,t,r){return we.maybe(e.find(e=>{const n=r.map(t=>{var r;return null===(r=e.additionalContextRequirements)||void 0===r?void 0:r.includes(t)}).withDefault(!0);return e.meta.type.context===t[0]&&n})).altMap(()=>0===t.length&&we.nothing()||Ee(e,t.slice(1),r))}async function Ae(e,t){const r=e.length%3==1?"outlet":"module",n=e[0],o=e.length<5;let i,u,a,c,s;if("tectonOverpanel"===n)i=Me({path:e.slice(2),outletModuloVal:2}),u=(await t(e[1])).configuredOverpanels[e[2]];else{const n="outlet"===r?e.slice(-3,-2)[0]:e.slice(-2,-1)[0],o="outlet"===r?e.slice(-2,-1)[0]:e.slice(-1)[0],a="outlet"===r?-1:3;i=Me({path:e.slice(a),outletModuloVal:0}),u=await t(n,o)}return"outlet"===r?(o?(a=u.featureName,c=u.moduleName):(a=e[e.length-3],c=e[e.length-2]),s=e[e.length-1],i=i.slice(0,-2),{pathType:r,featureName:a,moduleName:c,outletName:s,configPath:i,pathOrigin:n,treeFromRoot:u}):(o?(a=u.featureName,c=u.moduleName):(a=e[e.length-2],c=e[e.length-1]),{pathType:r,featureName:a,moduleName:c,configPath:i,pathOrigin:n,treeFromRoot:u})}function Me({path:e,outletModuloVal:t}){const r=t+2;return e.reduce((e,n,o)=>{if(o%3===t)return e.concat(["configuredOutlets",n]);if(o%3===r&&2!==o){const t=e[e.length-1];return e[e.length-1]=`${t}-${n}`,e}return e.concat(n)},[])}function Te(e,t){return e.reduce((e,t)=>{if(Array.isArray(e)){const[r,n]=t.split("-");return e[0].hasOwnProperty("tabLabel")||e[0].hasOwnProperty("menuItemLabel")?function(e,t){let r=-1;const n=e.find(e=>(r=e.modules.findIndex(t),-1!==r));if(n)return n.modules[r]}(e,Ce(r,n)):e.find(Ce(r,n))}return e[t]},t)}function Ce(e,t){return r=>r.featureName===e&&r.moduleName===t}function Ne(e,t,r){const n=e.getValue();return we.maybe(n.features[t]).map(e=>{const n=Object.keys(e.modules).find(t=>e.modules[t].primary),o=e.modules[r]||e.modules[n],i=`${t}.${o.meta.moduleName}`;return{navigable:!!o.navigable,legacy:!!e.legacy,key:e.legacy?e.legacyRouteName:i}})}function Ie(e,t,r,n,o){!function(e,t,r,n){if(t.actionRequired&&t.removeActionRequired){r.add("actionRequired");const o=e.onMessage("actionRequired").subscribe(e=>{t.actionRequired(e.value.uuid,e.value.title,e.value.message)});n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n){if(t.authorizeTransactionWithMfa){r.add("authorizeTransactionWithMfa");const o=e.sendResponse("authorizeTransactionWithMfa",async e=>t.authorizeTransactionWithMfa(e));n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n){if(t.clearCacheByPrefix){r.add("clearCache"),r.add("cacheCleared");const o=e.sendResponse("clearCache",function(e){return e.routePrefixes.forEach(function(e){t.clearCacheByPrefix(e),pe("cacheCleared",we.just(JSON.stringify({cleared:e})))}),Promise.resolve()});n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n){if(t.clearParams){r.add("clearParams");const o=e.onMessage("clearParams").subscribe(e=>{t.clearParams(e.value.moduleId)});n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n){if(t.closeOverpanel){r.add("closeOverpanel");const o=e.onMessage("closeOverpanel").pipe(X(e=>e.value)).subscribe(t.closeOverpanel);n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n){if(t.keepAlive){r.add("keepAlive");const o=e.onMessage("keepAlive").subscribe(t.keepAlive);n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n){if(t.showLoadingModal){r.add("showLoadingModal");const o=e.onMessage("showLoadingModal").subscribe(e=>{t.showLoadingModal(e.value.title)});n.push(()=>o.unsubscribe())}if(t.clearLoadingModal){r.add("clearLoadingModal");const o=e.onMessage("clearLoadingModal").subscribe(()=>{t.clearLoadingModal()});n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n,o){if(r.logToServer){n.add("logToServer");const t=e.onMessage("logToServer").subscribe(async e=>{const t=await Ae(e.value.moduleId.split("."),r.dynamicConfigFetch).then(e=>e.featureName);r.logToServer(t,e.value.message,e.value.level||"info")});o.push(()=>t.unsubscribe())}}(e,0,r,n,o),function(e,t,r,n){if(t.manageChanges){r.add("manageChanges");const o=e.sendResponse("manageChanges",e=>t.manageChanges(e.changeData));n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n,o){if(r.navigateTo){n.add("navigateTo");const i=e.onMessage("navigateTo").subscribe(async e=>{const{moduleName:n,urlParams:o,queryParams:i,moduleId:u}=e.value;let{featureName:a}=e.value;!a&&u&&(a=await Ae(u.split("."),r.dynamicConfigFetch).then(e=>e.featureName));const c=Ne(t,a,n);c.map(e=>{if(e.navigable)if(e.legacy)r.navigateTo(!0,e.key,o,i);else{const n=t.getValue().features[a],o=`tectonRoute.${e.key}`;i&&r.updateParams&&r.updateParams(o,i,n.modules[e.key.split(".")[1]].meta.params),r.navigateTo(!1,e.key)}}),c.hasNothing&&r.navigateTo(!0,a,o,i)});o.push(()=>i.unsubscribe())}}(e,t,r,n,o),function(e,t,r,n){if(t.openURL){r.add("openURL");const o=e.onMessage("openURL").subscribe(e=>{const{url:r,options:n}=e.value;t.openURL(r,n)});n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t){const r=e.onMessage("printWindow").subscribe(()=>{var e;!0===(null===(e=window.Tecton)||void 0===e?void 0:e.inMobileApp)?console.info("printWindow does not support e-banking mobile app environment."):(document.body.focus(),window.print())});t.push(()=>r.unsubscribe())}(e,o),function(e,t,r,n){if(t.refetchAccountsNotification&&t.clearCacheByPrefix&&t.clearTransferCache){r.add("refetchAccountsNotification");const o=e.onMessage("refetchAccountsNotification").subscribe(()=>{t.clearCacheByPrefix("mobilews/account"),t.clearTransferCache(),t.refetchAccountsNotification()});n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n){if(t.actionRequired&&t.removeActionRequired){r.add("removeActionRequired");const o=e.onMessage("removeActionRequired").subscribe(e=>{t.removeActionRequired(e.value.uuid)});n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n){r.add("scrollTo");const o=e.onMessage("scrollTo").subscribe(e=>{var r,n;const o=(null===(n=null===(r=null==t?void 0:t.getSurroundingOffsets)||void 0===r?void 0:r.call(t))||void 0===n?void 0:n.top)||0,i=e.value;i.behavior=i.behavior||"smooth",!0===i.initialize?pe("platformScrollChanged",we.just(JSON.stringify({scrollY:0,innerHeight:window.innerHeight,innerWidth:window.innerWidth,outletOffset:o,top:o}))):window.scrollTo(i)});n.push(()=>o.unsubscribe())}(e,r,n,o),function(e,t,r){t.add("scrollToTop");const n=e.onMessage("scrollToTop").subscribe(()=>{window.scrollTo(0,0)});r.push(()=>n.unsubscribe())}(e,n,o),function(e,t,r,n){if(t.sendAlert||t.showAlert){r.add("sendAlert"),r.add("sendAlertWithResponse");const o=e.sendResponse("sendAlert",e=>(t.sendAlert||t.showAlert)(e).then(e=>({actionName:e}))),i=e.onMessage("sendAlert").subscribe(e=>{(t.sendAlert||t.showAlert)(e.value)});n.push(()=>{o.unsubscribe(),i.unsubscribe()})}}(e,r,n,o),function(e,t,r,n,o){if(r.updateParams){n.add("setParams");const t=e.onMessage("setParams").subscribe(async e=>{const{moduleId:t,params:n}=e.value,o=await Ae(t.split("."),r.dynamicConfigFetch),i=await r.dynamicConfigFetch(o.featureName).then(e=>e.modules[o.moduleName].meta.params);r.updateParams(t,n,i)});o.push(()=>t.unsubscribe())}}(e,0,r,n,o),function(e,t,r,n,o){if(t.setOverpanelTitle||t.setPageTitle){t.setOverpanelTitle&&n.add("setOverpanelTitle"),t.setPageTitle&&n.add("setPageTitle");const r=e.onMessage("setTitle").subscribe(async e=>{"tectonOverpanel"===await Ae(e.value.moduleId.split("."),t.dynamicConfigFetch).then(e=>e.pathOrigin)&&t.setOverpanelTitle?t.setOverpanelTitle(e.value.title):t.setPageTitle&&t.setPageTitle(e.value.title)});o.push(()=>r.unsubscribe())}}(e,r,0,n,o),function(e,t,r,n){const o=t.getCurrentLanguage(),i=new _e(o);let u=!0;t.languageChanged&&(r.add("languageChanged"),t.languageChanged(e=>{u&&i.next(e)}));const a=i.subscribe((e="en-US")=>{pe("streamLanguage",we.just(JSON.stringify({langKey:e})))}),c=e.sendResponse("getCurrentLanguage",()=>Promise.resolve({langKey:i.getValue()}));n.push(()=>{u=!1,[a,c].forEach(e=>e.unsubscribe()),i.complete()})}(e,r,n,o),function(e,t,r,n,o){if(r.showActionSheet){n.add("showActionSheet");const t=e.sendResponse("showActionSheet",e=>r.showActionSheet(e).then(e=>e));o.push(()=>t.unsubscribe())}}(e,0,r,n,o),function(e,t,r,n){if(t.showModal){r.add("sendModal");const o=e.sendResponse("sendModal",e=>t.showModal(e).then(e=>({actionName:e})));n.push(()=>o.unsubscribe())}}(e,r,n,o),function(e,t,r,n,o){if(r.showOverpanel){n.add("showOverpanel");const i=e.sendResponse("showOverpanel",async e=>{var n,o,i,u,a,c,s,l,f;try{let d,p,b,v=[];if(r.getPlatformOverpanels&&(v=await r.getPlatformOverpanels()),e.useRouteConfig){const[t,n]=e.overpanelPath.split(".");p=await r.dynamicConfigFetch(t,n),b=e.overpanelPath,d=await r.dynamicConfigFetch(p.featureName)}else if(v.includes(e.overpanelPath))p={moduleName:e.overpanelPath},b=e.overpanelPath,d={legacyOverpanelName:e.overpanelPath,legacy:!0};else{const n=(f=t.value,Object.entries(f.features).reduce((e,[t,r])=>{const n=r.configuredOverpanels;return n&&Object.entries(n).filter(([e,t])=>!0===t.public).forEach(([r,n])=>{n.featureName||(n.featureName=t),e[r]=n}),e},{}))[e.overpanelPath];let o;n?(p=n,b=`${n.featureName}.${e.overpanelPath}`,d=await r.dynamicConfigFetch(n.featureName)):(o=await Ae(e.moduleId.split("."),r.dynamicConfigFetch),p=await r.dynamicConfigFetch(o.featureName).then(t=>{var r;const n=null===(r=t.configuredOverpanels)||void 0===r?void 0:r[e.overpanelPath];if(!n)throw new Error(`Overpanel ${e.overpanelPath} not found.`);return n}),b=`${o.featureName}.${e.overpanelPath}`,d=await r.dynamicConfigFetch(p.featureName))}if(d.legacy&&!d.legacyOverpanelName)throw new Error("Tried to call a legacy overpanel, but config is missing a legacyOverpanelName");if(e.params&&r.updateParams&&!d.legacy){const t=null===(i=null===(o=null===(n=d.modules)||void 0===n?void 0:n[p.moduleName])||void 0===o?void 0:o.meta)||void 0===i?void 0:i.params;t&&(function(e,t){if(null==e||"{}"===JSON.stringify(e))return!0;if(void 0===t)throw new Error(`params for action are not configured, yet ${JSON.stringify(e)} was passed to action`);const r=[];if(Object.keys(e).forEach(e=>{t[e]||r.push(e)}),r.length>0)throw new Error(`The following parameter(s) passed to action is/are not configured for the action: [${r.join(", ")}]`)}(e.params,t),r.updateParams(`tectonOverpanel.${b}`,e.params,t))}const h=d.legacy?e.params?JSON.stringify(e.params):"":b,m=d.legacy?d.legacyOverpanelName:void 0,y="options"in p&&p.options||{},g=(null===(u=e.options)||void 0===u?void 0:u.size)||y.size,O=(null===(a=e.options)||void 0===a?void 0:a.height)||y.height,_=(null===(c=e.options)||void 0===c?void 0:c.fullWidth)||y.fullWidth,w=(null===(s=e.options)||void 0===s?void 0:s.isBlocking)||y.isBlocking,[,,P]=e.moduleId.split("."),j=(null===(l=e.options)||void 0===l?void 0:l.testId)||y.testId||P;return r.showOverpanel(h,!!_,m,g,O,j,!!w)}catch(e){return Promise.reject(e)}});o.push(()=>i.unsubscribe())}}(e,t,r,n,o),function(e,t,r,n){if(t.verifyMFA){r.add("verifyMFA");const o=e.sendResponse("verifyMFA",async e=>t.verifyMFA(e));n.push(()=>o.unsubscribe())}}(e,r,n,o)}we.of=we.maybe;const Fe={scrollY:0,innerHeight:0,innerWidth:0};function ke(e,t){var r,n,o,i,u,a,c,s;if(!t)return console.warn("No platform root found. Returning zeroed dimensions."),Fe;const l=t instanceof HTMLElement;return l&&!t.isConnected?(console.warn("Platform root is no longer connected to the DOM. Returning zeroed dimensions."),Fe):Object.assign({scrollY:null!==(r=l?t.scrollTop:t.scrollY)&&void 0!==r?r:0,innerHeight:null!==(n=l?t.offsetHeight:t.innerHeight)&&void 0!==n?n:0,innerWidth:null!==(o=l?t.offsetWidth:t.innerWidth)&&void 0!==o?o:0,orientationType:null!==(u=null===(i=null===screen||void 0===screen?void 0:screen.orientation)||void 0===i?void 0:i.type)&&void 0!==u?u:"landscape-primary",orientationAngle:null!==(c=null===(a=null===screen||void 0===screen?void 0:screen.orientation)||void 0===a?void 0:a.angle)&&void 0!==c?c:0},null===(s=null==e?void 0:e.getSurroundingOffsets)||void 0===s?void 0:s.call(e))}function Re(e,t){const r=function(e){return!!e.dataType}(t)?function(e,t,r,n={}){const[o,i="default"]=t.split("::");if(!o)throw new Error(`Invalid dataType format: '${t}'. Expected 'category::type'.`);const u=e.getRequestURLMap?e.getRequestURLMap():{};if(!u[o])throw new Error(`No URL map found for category '${o}'.`);const a=u[o][i]||u[o].default;if(!a)throw new Error(`No URL resolver found for category '${o}' and type '${i}'.`);return("string"==typeof a?Promise.resolve(a):a).then(e=>`${e}${r.map(e=>`/${e}`).withDefault("")}${function(e){const t=Object.keys(e).map(t=>`${t}=${e[t]}`).join("&");return t&&"?".concat(t)||""}(n)}`)}(e,t.dataType,we.maybe(t.dataId),t.params):Promise.resolve(t.route);return r.then(r=>t.body&&t.isFormData?e.sendFormDataRequest(r,t.method,function(e){if("object"!=typeof e||null===e)throw new Error("Invalid parameter. Expected JSON.");return Object.keys(e).reduce((t,r)=>(t.append(r,e[r]),t),new FormData)}(JSON.parse(t.body))):(e.sendRequest||e.requestPlatformData)(r,t.method,t.body))}const Le="q2.tectonCache";function We(e,t){return`${e}.${t}`}var qe;!function(e){e.PlatformCssPropertiesChanged="platformCssPropertiesChanged",e.CallMethod="callMethod"}(qe||(qe={}));const $e=qe;var Ue;!function(e){e.streamCssProperties="streamCssProperties",e.streamPlatformDimensions="platformSizeChanged"}(Ue||(Ue={}));const ze=Ue;function De(e,t,r,n,o,i){!function(e,t,r){t.refetchRequired&&(r.add("cacheCleared"),t.refetchRequired(e=>{pe("cacheCleared",we.just(JSON.stringify({cleared:e})))}))}(0,t,o),function(e,t,r,n){if(t.getCapabilities){r.add("canUser");const o=e.sendResponse("canUser",({capabilities:e})=>Promise.resolve({allowed:Object.values(t.getCapabilities(...e)).every(Boolean)}));n.push(()=>o.unsubscribe())}}(e,t,o,i),function(e,t,r,n,o){if(r.getFeatureConfig){n.add("getFeatureConfig");const t=e.sendResponse("getFeatureConfig",async({moduleId:e})=>{const t=await Ae(e.split("."),r.dynamicConfigFetch),n=await r.dynamicConfigFetch(t.featureName).then(e=>e.configuredSystemVariables||[]);return n.length?r.getFeatureConfig(n).then(e=>({config:e})):Promise.resolve({config:{}})});o.push(()=>t.unsubscribe())}}(e,0,t,o,i),function(e,t,r,n){if(t.getPendoInfo){r.add("getPendoInfo");const o=e.sendResponse("getPendoInfo",()=>Promise.resolve(t.getPendoInfo()));n.push(()=>o.unsubscribe())}}(e,t,o,i),function(e,t,r,n){if(t.getPlatformInfo){r.add("platformInfo");const o=e.sendResponse("platformInfo",e=>t.getPlatformInfo(e));n.push(()=>o.unsubscribe())}}(e,t,o,i),function(e,t,r,n){r.add("getPlatformDimensions");const o=e.sendResponse("getPlatformDimensions",e=>{var r,n,o,i,u;let a;const c=null==e?void 0:e.selector;if(c){const e=document.querySelector(c);e?a=e.getBoundingClientRect():(console.warn(`No platform element found matching the selector "${c}". Returning zeroed dimensions.`),a={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0,orientationType:null!==(n=null===(r=null===screen||void 0===screen?void 0:screen.orientation)||void 0===r?void 0:r.type)&&void 0!==n?n:"landscape-primary",orientationAngle:null!==(i=null===(o=null===screen||void 0===screen?void 0:screen.orientation)||void 0===o?void 0:o.angle)&&void 0!==i?i:0})}else{const e=null===(u=t.getPlatformRootSelector)||void 0===u?void 0:u.call(t),r=e?document.querySelector(e):window;a=ke(t,r)}return pe("platformScrollChanged",we.just(JSON.stringify(a))),Promise.resolve(a)});n.push(()=>o.unsubscribe())}(e,t,o,i),function(e,t,r,n){if(t.getVersionInfo){r.add("getPlatformInfo");const o=e.sendResponse("getPlatformInfo",()=>{const e=t.getVersionInfo();return Promise.resolve(Object.assign(Object.assign({},e),{TECTON_PLATFORM_VERSION:"1.62.6"}))});n.push(()=>{o.unsubscribe()})}}(e,t,o,i),function(e,t,r,n){if(t.getAuthToken){r.add("authToken");const o=e.sendResponse("authToken",()=>t.getAuthToken());n.push(()=>o.unsubscribe())}}(e,t,o,i),function(e,t,r,n){if(t.getGlobalScripts){r.add("getGlobalScripts");const o=e.sendResponse("getGlobalScripts",()=>t.getGlobalScripts());n.push(()=>o.unsubscribe())}}(e,t,o,i),function(e,t,r,n,o){if(r.isUUXPath&&r.navigateTo){n.add("isNavigable");const i=e.sendResponse("isNavigable",({featureName:e,moduleName:n})=>{const o=Ne(t,e,n).map(e=>e.navigable).withDefaultFn(()=>r.isUUXPath(e));return Promise.resolve({navigable:o})});o.push(()=>i.unsubscribe())}}(e,n,t,o,i),function(e,t,r,n){var o;function i(){pe("platformScrollChanged",we.just(JSON.stringify(ke(t,f))))}function u(){pe("platformSizeChanged",we.just(JSON.stringify(ke(t,f))))}let a;r.add("platformScrollChanged");const c=()=>{if(a=e.sendResponse("getPlatformScroll",()=>Promise.resolve(ke(t,f))),null==f||f.addEventListener("scroll",i),f instanceof HTMLElement){const e=new ResizeObserver(u);e.observe(f),n.push(()=>null==e?void 0:e.disconnect())}else null==f||f.addEventListener("resize",u)},s=null===(o=t.getPlatformRootSelector)||void 0===o?void 0:o.call(t);let l,f=s?document.querySelector(s):window;f?c():s&&(l=new MutationObserver(()=>{f=document.querySelector(s),f&&(c(),null==l||l.disconnect())}),l.observe(document.body,{childList:!0,subtree:!0})),n.push(()=>{null==l||l.disconnect(),null==a||a.unsubscribe(),null==f||f.removeEventListener("scroll",i),null==f||f.removeEventListener("resize",u)})}(e,t,o,i),function(e,t,r,n){if(t.promptForMFA){r.add("promptForMFA");const o=e.sendResponse("promptForMFA",async e=>{const r=await Ae(e.moduleId.split("."),t.dynamicConfigFetch).then(e=>e.featureName);return t.promptForMFA(r,e)});n.push(()=>o.unsubscribe())}}(e,t,o,i),function(e,t,r){t.refetchRequired&&(r.add("refetchRequired"),t.refetchRequired(e=>{pe(`refetchRequired::${e}`,we.nothing())}))}(0,t,o),function(e,t,r,n,o){if("function"!=typeof r.requestExtensionData)return;n.add("requestExtensionData");const i=e.sendResponse("requestExtensionData",async e=>{const{moduleId:t,route:n,body:o}=e;let{featureName:i}=e;return!i&&t&&(i=await Ae(t.split("."),r.dynamicConfigFetch).then(e=>e.featureName)),r.requestExtensionData(i,{route:n,body:o||{}})});o.push(()=>i.unsubscribe())}(e,0,t,o,i),function(e,t,r,n){if(t.sendRequest||t.requestPlatformData){r.add("requestPlatformData"),r.add("requestPlatformData-v2"),t.sendFormDataRequest&&r.add("requestPlatformData-formdata");const o=e.sendResponse("requestPlatformData",e=>Re(t,e).then(function(t){return 200<=t.status&&t.status<300?{data:"GET"===e.method?t.response.data:t.response,status:"success"}:{data:{message:t.statusText},status:"error"}})),i=e.sendResponse("requestPlatformData-v2",e=>Re(t,e));n.push(()=>{o.unsubscribe(),i.unsubscribe()})}}(e,t,o,i),function(e,t){const r=e.subscribe(e=>{var t;(t=Object.assign(Object.assign({},e.changedParams),e.currentParams),Object.keys(t).reduce((e,t)=>{const r=t.split(".").slice(0,-1).join(".");return-1===e.indexOf(r)&&e.push(r),e},[])).forEach(t=>{const r=Pe(t,e.changedParams),n=Pe(t,e.currentParams);pe("streamParams::"+t,we.just(JSON.stringify({changedParams:r,currentParams:n})))})});t.push(()=>r.unsubscribe())}(r,i),function(e,t,r,n){if(t.takePicture){r.add("takePicture");const o=e.sendResponse("takePicture",({overlayText:e,helpText:r})=>t.takePicture({overlayText:e,helpText:r}).then(e=>({picture:e})));n.push(()=>o.unsubscribe())}}(e,t,o,i),function(e,t,r,n){if(!t.registerLogoffHook||!function(){const e=!!sessionStorage.getItem,t=!!sessionStorage.setItem,r=!!sessionStorage.removeItem;return e&&t&&r}())return;r.add("tectonCache"),t.registerLogoffHook(()=>{sessionStorage.removeItem(Le)});const o=e.sendResponse("getCache",e=>{const t=We(e.moduleId,e.key),r=JSON.parse(sessionStorage.getItem(Le)||"{}")[t]||{};return Promise.resolve(r)});n.push(()=>o.unsubscribe());const i=e.sendResponse("setCache",e=>{const t=We(e.moduleId,e.key);let r={};return"string"==typeof sessionStorage.getItem(Le)&&(r=JSON.parse(sessionStorage.getItem(Le))),r[t]=e.data,sessionStorage.setItem(Le,JSON.stringify(r)),Promise.resolve()});n.push(()=>i.unsubscribe())}(e,t,o,i),function(e,t,r){if(!e.cssPropertiesChanged)return;t.add($e.PlatformCssPropertiesChanged);const n=new _e([]);let o=!0;const i=n.pipe(se(function(e,t){return 1<=t})).subscribe(e=>{pe(ze.streamCssProperties,we.just(JSON.stringify(e)))});e.cssPropertiesChanged(e=>{o&&n.next(e)}),r.push(()=>{o=!1,i.unsubscribe(),n.complete()})}(t,o,i),function(e,t){e.platformEventNotification&&(t.add("platformEventNotification"),e.platformEventNotification(e=>{pe(`platformEventNotification::${e.name}`,we.maybe(e.data).map(JSON.stringify))}))}(t,o)}var Ve=r(9576),Be=new W(function(e){return e.complete()});function He(e){return e[e.length-1]}function Ye(e){return(t=He(e))&&f(t.schedule)?e.pop():void 0;var t}function Je(e,t){return void 0===t&&(t=0),K(function(r,n){r.subscribe(G(n,function(r){return Z(n,e,function(){return n.next(r)},t)},function(){return Z(n,e,function(){return n.complete()},t)},function(r){return Z(n,e,function(){return n.error(r)},t)}))})}function Ke(e,t){return void 0===t&&(t=0),K(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function Ge(e,t){if(!e)throw new Error("Iterable cannot be null");return new W(function(r){Z(r,t,function(){var n=e[Symbol.asyncIterator]();Z(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}function Qe(e,t){return t?function(e,t){if(null!=e){if($(e))return function(e,t){return Y(e).pipe(Ke(t),Je(t))}(e,t);if(l(e))return function(e,t){return new W(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}(e,t);if(d(e))return function(e,t){return Y(e).pipe(Ke(t),Je(t))}(e,t);if(U(e))return Ge(e,t);if(V(e))return function(e,t){return new W(function(r){var n;return Z(r,t,function(){n=e[D](),Z(r,t,function(){var e,t,o;try{t=(e=n.next()).value,o=e.done}catch(e){return void r.error(e)}o?r.complete():r.next(t)},0,!0)}),function(){return f(null==n?void 0:n.return)&&n.return()}})}(e,t);if(H(e))return function(e,t){return Ge(B(e),t)}(e,t)}throw z(e)}(e,t):Y(e)}function Xe(e,t){return void 0===t&&(t=L),e=null!=e?e:Ze,K(function(r,n){var o,i=!0;r.subscribe(G(n,function(r){var u=t(r);!i&&e(o,u)||(i=!1,o=u,n.next(r))}))})}function Ze(e,t){return e===t}function et(){return new ce}const tt="[iFrameSizer]",rt=[{name:"name",reflectAs:String},{name:"minHeight",reflectAs:String},{name:"overpanel",reflectAs:Boolean},{name:"baseClass",reflectAs:String}],nt=(0,Ve.createSetupElement)(function(e,{messageBus:t,props:r,moduleId:n,tectonOutletAdaptor:o,resize:i}){return(0,Ve.generateCustomElementWrapper)(e,(e,r)=>{const u=new _e(document.createElement("div")),a=new _e(!1),c=new h,s=r.pipe(X(e=>e.name),se(e=>!!e),X(e=>`${n?`${n}.`:""}${e}`),Xe(),function(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?se(function(t,r){return e(t,r,n)}):L,K(function(e,t){var r=0;e.subscribe(G(t,function(e){++r<=1&&(t.next(e),1<=r&&t.complete())}))}),r?function(e){return K(function(t,r){var n=!1;t.subscribe(G(r,function(e){n=!0,r.next(e)},function(){n||r.next(e),r.complete()}))})}(t):(void 0===(o=function(){return new ce})&&(o=et),K(function(e,t){var r=!1;e.subscribe(G(t,function(e){r=!0,t.next(e)},function(){return r?t.complete():t.error(o())}))})));var o}}()).subscribe(n=>{const s=o(t,n,e,r,i),f=s.DOM$.subscribe(u);c.add(f);const d=s.settled$.subscribe(a);c.add(d);const p=s.teardown$.subscribe(l);c.add(p);const b=s.effect$.subscribe(t=>{e.__attached?t():e.__onAttached.push(t)});c.add(b)});c.add(s);const l=new _e(()=>{u.next(null),u.complete(),a.complete(),l.complete(),c.unsubscribe()});return{DOM$:u,settled$:a,teardown$:l}},{useShadowDOM:!0,props:rt.concat(r),css:`\n .root {\n height: 100%;\n width: 100%;\n }\n .outlet-wrapper {\n line-height: 0;\n font-size: 0;\n }\n .outlet-wrapper.scrollable {\n height: 100%;\n }\n .loading-wrapper {\n height: 44px;\n width: 100%;\n align-items: center;\n justify-content: center;\n }\n .loading-wrapper:not([hidden]) {\n display: flex;\n }\n .loading-wrapper,\n .outlet-wrapper.scrollable iframe {\n height: 100%;\n }\n .outlet-wrapper iframe {\n width: 100%;\n height: auto;\n border: none;\n }\n .outlet-wrapper iframe:not([hidden]) {\n display: inline-block;\n }\n ${"tecton-platform-outlet"===e?'\n :host {\n position: relative;\n display: block;\n height: 100%;\n }\n .outlet-wrapper {\n min-height: calc(var(--tct-loading-spinner-size, var(--app-scale-12x, 60px)) + 2px);\n }\n .loading-wrapper {\n position: absolute;\n top: 0;\n }\n .loading-wrapper:not([hidden]) {\n align-items: flex-start;\n overflow: hidden;\n }\n .loading-wrapper.spinner-loader:not([hidden]) {\n align-items: center;\n }\n .loading-wrapper .q2-row {\n flex: 1;\n text-align: center;\n line-height: 1;\n }\n q2-loading:not([type="skeleton"]) {\n display: inline-block;\n }\n ':""}\n `})});function ot(e){const t=[];if(e&&e.loaders){const r=e.loaders.reduce((e,t)=>t.row>e?t.row:e,0);for(let e=0;e<r;e++)t.push([]);for(const r of e.loaders){const e=document.createElement("q2-loading");e.setAttribute("shape",r.shape),e.setAttribute("type",r.type),e.className="q2-col",r.classList&&e.classList.add(...r.classList),r.style&&e.setAttribute("style",r.style),r.modifiers&&e.setAttribute("modifiers",r.modifiers),r.counts&&e.setAttribute("counts",r.counts),r.ariaLabel&&e.setAttribute("ariaLabel",r.ariaLabel),t[r.row-1].push(e)}}else{const e=document.createElement("q2-loading");t.push([]),e.classList.add("mrg(a)"),t[0].push(e)}return t}function it(e,t){const r=document.createElement("div");r.slot="loading-wrapper",r.classList.add("loading-wrapper"),r.setAttribute("data-tecton-module","");const n=e?ot(e):ot();if(null==e?void 0:e.outlet){const t=e.outlet;t.style&&r.setAttribute("style",t.style),t.classList&&r.classList.add(...t.classList)}r.style.minHeight=t||"0px";for(const e of n){const t=document.createElement("div");t.className="q2-row";for(const r of e)t.appendChild(r);r.appendChild(t)}return r}function ut(e){const t=e.getAttribute("base-class");return t?null==t?void 0:t.replace(/\s/g,"%7C"):""}var at=Array.isArray,ct=Object.getPrototypeOf,st=Object.prototype,lt=Object.keys;function ft(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ye(e),n=function(e){return f(He(e))?e.pop():void 0}(e),o=function(e){if(1===e.length){var t=e[0];if(at(t))return{args:t,keys:null};if((n=t)&&"object"==typeof n&&ct(n)===st){var r=lt(t);return{args:r.map(function(e){return t[e]}),keys:r}}}var n;return{args:e,keys:null}}(e),i=o.args,u=o.keys;if(0===i.length)return Qe([],r);var a=new W(function(e,t,r){return void 0===r&&(r=L),function(n){dt(t,function(){for(var o=e.length,i=new Array(o),u=o,a=o,c=function(o){dt(t,function(){var c=Qe(e[o],t),s=!1;c.subscribe(G(n,function(e){i[o]=e,s||(s=!0,a--),a||n.next(r(i.slice()))},function(){--u||n.complete()}))},n)},s=0;s<o;s++)c(s)},n)}}(i,r,u?function(e){return function(e,t){return e.reduce(function(e,r,n){return e[r]=t[n],e},{})}(u,e)}:L));return n?a.pipe(re(n)):a}function dt(e,t,r){e?Z(r,e,t):t()}function pt(e,t){const r=new URL(e,window.location.toString()),n=Object.keys(t).map(e=>`${e}=${t[e]}`).join("&"),o=r.search?`${r.search}&${n}`:`?${n}`;return r.search=o,r.href}const bt=[{name:"additionalContext",reflectAs:String},{name:"configTree"},{name:"context",reflectAs:String},{name:"contextId",reflectAs:String},{name:"contextValue",reflectAs:String},{name:"resolvedType",reflectAs:String},{name:"routeName"}];function vt(e,t,r,n){return function(o,i,u,a){const c=document.createElement("div"),s=new _e(c),l=new _e(!1),f=new _e(()=>{}),d=function(){return{loaderWrapper:u.shadowRoot.querySelector("div[slot='loading-wrapper']"),iframeEl:u.shadowRoot.querySelector("iframe"),minHeight:a.getValue().minHeight}};let p,b;const v=function(){return p},m=function(e,t,r,n,o){let i=!1;return e.onMessage("setFetching").pipe(se(e=>e.value.moduleId===t())).subscribe(e=>{const{loaderWrapper:t,iframeEl:u,minHeight:a="0px"}=r();if(t&&u){const{fetching:r}=e.value,c=n?n():void 0;if(!1===r){if(t.hidden=!0,u.hidden=!1,t.style.minHeight="0px",i&&o){const e=o();if(e&&t&&t.parentNode===e){const r=it(c,a);r.hidden=!0,e.replaceChild(r,t)}i=!1}}else if(!0===r)t.hidden=!1,u.hidden=!0,t.style.minHeight=a;else if(function(e){return"object"==typeof e&&null!==e}(r)&&o){const e=o();if(e){const n=it(r.loaders&&r.loaders.length>0?r:void 0,a);r.outlet&&(r.outlet.style&&(n.setAttribute("style",r.outlet.style),n.style.minHeight=a),r.outlet.classList&&n.classList.add(...r.outlet.classList)),n.hidden=!1,t&&t.parentNode===e&&(e.replaceChild(n,t),u.hidden=!0,i=!0)}}}})}(o,v,d,function(){return b},function(){return u.shadowRoot}),y=function(e,t,r){return e.sendResponse("requestOutletInfo",({moduleId:e})=>{if(e!==t())return null;const{iframeEl:n}=r(),o=null==n?void 0:n.getBoundingClientRect();return o&&Object.values(o.toJSON()).find(e=>0!==e)?Promise.resolve(o):null})}(o,v,d),g=new h;g.add(m),g.add(y),g.add(()=>{s.next(null),s.complete(),f.next(()=>{}),f.complete(),l.complete()});const O=new _e(()=>{O.complete(),g.unsubscribe()}),_=a.pipe(X(e=>e.configTree),se(e=>!!e),Xe()),w=new _e(!1),P=a.pipe(X(e=>e.overpanel),se(e=>"boolean"==typeof e),Xe()).subscribe(w);g.add(P),g.add(()=>{w.complete()});const j=a.pipe(X(e=>e.routeName),se(e=>!!e),Xe()),S=j.pipe(X(e=>`${i}.${e}`),K(function(e,t){var r,n=!1;e.subscribe(G(t,function(e){var o=r;r=e,n&&t.next([o,e]),n=!0}))})).subscribe(([e])=>{de("clearParams",we.just(JSON.stringify({moduleId:e})))});g.add(S);const x=ft(_,w,j).subscribe(([c,h,m])=>{const y=e.getValue(),O=y.features[c.featureName];if(!O)throw new Error(`Could not find the config for this feature=${c.featureName}`);const _=O.modules[c.moduleName],w=a.getValue();if(function(e,t,r,n){var o,i,u,a;const c=t.isMFA,s=!1!==e.rightsEnabled,l="Application::Unauthenticated"===(null===(i=null===(o=e.meta)||void 0===o?void 0:o.type)||void 0===i?void 0:i.context);return!(!c&&!l)||!!s&&function(e,t){const{outletContext:r,moduleContext:n,resolvedContext:o,additionalContext:i,additionalContextRequirements:u}=e;if((null==u?void 0:u.length)&&i&&!u.includes(i.toString()))return!1;if("None"===n||"None"===r)return!0;const a=Se(n,t);return 0!==a.length&&a.includes(o||r)}({additionalContext:r.additionalContext,additionalContextRequirements:e.additionalContextRequirements,contextValue:r.contextValue,moduleContext:(null===(a=null===(u=e.meta)||void 0===u?void 0:u.type)||void 0===a?void 0:a.context)||"None",outletContext:r.context||"None",resolvedContext:r.resolvedType},n)}(_,O,w,n)){p=`${i}.${m}`,b=_.loadingOptions;const e=w.minHeight,n=y.features[c.featureName],a=!!n.modules[c.moduleName].formPostAuth,O=n.modules[c.moduleName].url,P=n.additionalDomains,j=n.allowDirectives,S=function(e,t,r,n,o,i,u){let a=pt(i&&u.buildIframeURL?u.buildIframeURL(e):e,Object.assign(Object.assign({"tct-id":t,"tct-ctxid":r.contextValue||"","tct-ctxname":r.contextId||""},Pe(t,o.currentParams)),{"tct-maxHeight":n.style.maxHeight,"tct-maxWidth":n.style.maxWidth,"tct-baseClass":ut(n),"tct-outlet-name":n.name||""}));return function(e){const t=e.getAttribute("beta");return""===t||"true"===t}(n)&&(a=pt(a,{"tct-beta":"true"})),a}(O,p,w,u,t.getValue(),a,r);if(!h){const e=function(e,t,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ye(e),n=function(e){return"number"==typeof He(e)?e.pop():1/0}(e),o=e;return o.length?1===o.length?Y(o[0]):function(e){return void 0===e&&(e=1/0),ee(L,e)}(n)(Qe(o,r)):Be}(ue(window,"message").pipe(se(e=>"string"==typeof e.data&&e.data.includes("iFrameSizer")),X(e=>{const t=e.data.substr(tt.length).split(":"),[r,n]=t;return{value:{moduleId:r,height:n}}})),e.onMessage("resizeIframe")).pipe(se(e=>e.value.moduleId===t()),Xe((e,t)=>e.value.height===t.value.height)).subscribe(e=>{const{height:t}=e.value,{iframeEl:n}=r();n&&n.style.setProperty("height",`${t}px`)})}(o,v,d);g.add(e)}const x=function(e,t,r){return e.onMessage("setTitle").pipe(se(e=>e.value.moduleId===t())).subscribe(e=>{const{iframeEl:t}=r();t.title=e.value.title})}(o,v,d);g.add(x);const{element:E,cleanup:A}=function(e,t,r,n,o,i,u,a,c,s){const l=document.createElement("div");l.className="outlet-wrapper";const f=document.createElement("slot");f.name="loading-wrapper";const d=[],p=document.createElement("iframe");if(a){const n=document.createElement("form");r.forEach(function(e){const t=document.createElement("input");t.name=e.key,t.setAttribute("value",e.value),n.appendChild(t)}),n.hidden=!0,n.method="post",n.action=e,n.target=t,n.enctype="multipart/form-data",p.name=t,l.appendChild(n),d.push(function(){n.submit(),l.removeChild(n)})}else p.src=e;return p.title=n,p.dataset.moduleId=t,p.style.maxHeight=o,p.style.maxWidth=i,p.setAttribute("test-id","outletIframe"),p.allow=function(e=[],t=["geolocation","camera"],r){let n=["'self'",`${new URL(r).origin}`];return e&&e.length>0&&(n=[...n,...e]),t.reduce(function(e,t){return e+`${t} ${n.join(" ")}; `},"")}(c,s,e),l.appendChild(p),d.push(()=>{p.contentWindow&&p.contentWindow.postMessage(`${tt}${t}:0:false:false:32:true:true:null:documentElementOffset`,"*")}),p.onload=function(){d.forEach(e=>{e()}),p.onload=function(){}},u?l.classList.add("scrollable"):(p.style.setProperty("overflow-y","hidden"),p.scrolling="no"),p.hidden=!0,l.appendChild(f),{element:l,cleanup:()=>{if(p.contentWindow)try{p.contentWindow.stop()}catch(e){}p.src="about:blank",p.onload=null,p.parentNode&&p.parentNode.removeChild(p)}}}(S,p,r.getAuthPayload?r.getAuthPayload():[],`${c.featureName}-${c.moduleName}`,u.style.maxHeight,u.style.maxWidth,h,a,P,j),M=function(e,t){var r,n,o;const i=document.createElement("div");i.slot="loading-wrapper",i.classList.add("loading-wrapper"),i.setAttribute("data-tecton-module","");const u=e.loadingOptions?ot(e.loadingOptions):ot();if(null===(r=e.loadingOptions)||void 0===r?void 0:r.outlet){const t=e.loadingOptions.outlet;t.style&&i.setAttribute("style",t.style),t.classList&&i.classList.add(...t.classList)}const a=null===(o=null===(n=u[0])||void 0===n?void 0:n[0])||void 0===o?void 0:o.getAttribute("type");null!==a&&"spinner"!==a||i.classList.add("spinner-loader"),i.style.minHeight=t||"0px";for(const e of u){const t=document.createElement("div");t.className="q2-row";for(const r of e)t.appendChild(r);i.appendChild(t)}return i}(_,e);s.next(E),f.next(()=>{const e=u.shadowRoot;if(!e)return;const t=e.querySelector(".loading-wrapper");t&&t.parentNode===e?e.replaceChild(M,t):t||e.appendChild(M),l.next(!0)}),g.add(()=>{A(),de("clearParams",we.just(JSON.stringify({moduleId:p})))})}});return g.add(x),{DOM$:s,settled$:l,teardown$:O,effect$:f}}}const ht=`${window.location.origin}${window.location.pathname.replace(/\/uux\.aspx/i,"")}`;function mt(e){return/^http/.test(e)?e:`${window.location.origin}/${e}`}function yt(e,t,r,n,o,i,u={}){!function(e,t,r,n){if(t.getMobileSDKCapabilities){r.add("getMobileSDKCapabilities");const o=e.sendResponse("getMobileSDKCapabilities",()=>Promise.resolve(t.getMobileSDKCapabilities()));n.push(()=>o.unsubscribe())}}(e,t,o,i),function(e,t,r){const n=e.sendResponse("getInitialParams",e=>Promise.resolve({params:Pe(e.moduleId,t.getValue().currentParams)}));r.push(()=>n.unsubscribe())}(e,r,i),function(e,t,r,n,o){let i;const u=e.sendResponse("getCustomerAssetPath",({subPath:e})=>Promise.resolve({path:mt(r.getCustomerSpecificAssetPath(e))}));r.getCustomLanguageURL&&(t.add("getCustomLanguageURL"),i=e.sendResponse("getCustomLanguageURL",async({moduleId:e,langKey:t})=>{const n=await Ae(e.split("."),r.dynamicConfigFetch);return Promise.resolve({path:mt(r.getCustomLanguageURL(`${t}_${n.featureName}.json`))})}));const a=e.sendResponse("getBaseAssetPath",({subPath:e})=>Promise.resolve({path:mt(r.getBaseAssetPath(e))})),c=e.sendResponse("getNgamBaseUrl",()=>Promise.resolve({ngamBase:ht}));o.push(()=>{u.unsubscribe(),a.unsubscribe(),c.unsubscribe(),i&&i.unsubscribe()})}(e,o,t,0,i),function(e,t,r,n,o,i){const u=t.sendResponse("resolveFeature",async t=>{const o=await Ae(t.outletPath.split("."),e.dynamicConfigFetch),u=Te(o.configPath,o.treeFromRoot),a=(await e.dynamicConfigFetch(o.featureName)).modules[o.moduleName].meta.outlets[o.outletName],c="None"===a.context?we.nothing():we.just(a.context),s=t.contextValue?we.just(t.contextValue):we.nothing(),l=t.resolvedType?we.just(t.resolvedType):we.nothing(),f=t.additionalContext?we.just(t.additionalContext):we.nothing(),d=u.configuredOutlets[o.outletName],p=r.getValue();return xe(e,n,t.outletPath,c,s,d,l,f,p,o.featureName,o.moduleName,i).then(e=>e.withDefault({moduleId:"",featureName:"",initialParams:{},url:"",minHeight:"",formPostAuth:!1,loadingOptions:{loaders:[{type:"spinner",shape:"half-circle",row:1}]}}))});o.push(()=>u.unsubscribe())}(t,e,n,r,i,u),function(e,t,r,n,o,i){const u=t.sendResponse("resolveTabs",async t=>{const o=await Ae(t.outletPath.split("."),e.dynamicConfigFetch),u=Te(o.configPath,o.treeFromRoot),a=e.dynamicConfigFetch(o.featureName),c=await a,s=(await a.then(e=>e.modules[o.moduleName])).meta.outlets[o.outletName],l="None"===s.context?we.nothing():we.just(s.context),f=t.contextValue?we.just(t.contextValue):we.nothing(),d=t.resolvedType?we.just(t.resolvedType):we.nothing(),p=t.additionalContext?we.just(t.additionalContext):we.nothing(),b=u.configuredOutlets[o.outletName],v=r.getValue();return function(e,t,r,n,o,i,u,a,c,s,l,f,d,p){return Promise.all(a.map(a=>xe(e,t,r,n,o,a.modules||[],i,u,c,s,l,f).then(e=>e.map(e=>({tabLabel:a.tabLabel,tab:e}))).catch(()=>we.nothing()))).then(e=>we.filterSomethings(e)).then(e=>e.map(e=>({tabLabel:e.tabLabel,tabLabelOverride:e.tab.tabLabelOverride,moduleId:e.tab.moduleId,initialParams:e.tab.initialParams,url:e.tab.url,minHeight:e.tab.minHeight,formPostAuth:e.tab.formPostAuth,loadingOptions:e.tab.loadingOptions,additionalDomains:d,allowDirectives:p,requiredUserCapabilities:e.tab.requiredUserCapabilities,rightsEnabled:e.tab.rightsEnabled})))}(e,n,t.outletPath,l,f,d,p,b,v,o.featureName,o.moduleName,i,c.additionalDomains,c.allowDirectives).then(e=>({resolvedTabs:e}))});o.push(()=>u.unsubscribe())}(t,e,n,r,i,u),function(e,t,r,n,o,i){const u=t.sendResponse("resolveMenu",async t=>{const o=await Ae(t.outletPath.split("."),e.dynamicConfigFetch),u=Te(o.configPath,o.treeFromRoot),a=(await e.dynamicConfigFetch(o.featureName).then(e=>e.modules[o.moduleName])).meta.outlets[o.outletName];if(!a)throw new Error(`${o.outletName} contextual menu outlet not found in config`);const c="None"===a.context?we.nothing():we.just(a.context),s=t.contextValue?we.just(t.contextValue):we.nothing(),l=t.resolvedType?we.just(t.resolvedType):we.nothing(),f=t.additionalContext?we.just(t.additionalContext):we.nothing(),d=u.configuredOutlets[o.outletName],p=r.getValue();return!1===p.features[o.featureName].modules[o.moduleName].rightsEnabled?new Promise(e=>{e({resolvedMenuItems:[]})}):function(e,t,r,n,o,i,u,a,c,s,l,f){return Promise.all(a.map(a=>xe(e,t,r,n,o,a.modules||[],i,u,c,s,l,f).then(t=>t.asyncMap(async t=>{const r=await Ae(t.moduleId.split("."),e.dynamicConfigFetch),n=o.withDefault("-1"),i={itemLabel:a.itemLabel,action:a.action,featureName:r.featureName,moduleName:r.moduleName,contextIdParamName:a.contextIdParamName};return"-1"!==n&&(i["tct-ctxid"]=n),i})).then(we.just).catch(()=>we.nothing()))).then(e=>we.filterSomethings(e))}(e,n,t.outletPath,c,s,l,f,d,p,o.featureName,o.moduleName,i).then(e=>({resolvedMenuItems:e}))});o.push(()=>u.unsubscribe())}(t,e,n,r,i,u),function(e,t,r){const n=e.sendResponse("getPlatformCapabilities",()=>{const e=Array.from(t);return Promise.resolve({capabilities:e})});r.push(()=>n.unsubscribe())}(e,o,i),function(e,t,r){const n=e.sendResponse("getAuthPayload",()=>Promise.resolve(t.getAuthPayload()));r.push(()=>n.unsubscribe())}(e,t,i),function(e,t,r,n){if(t.cdnOverride){r.add("cdnOverride");const o=e.sendResponse("cdnOverride",()=>t.cdnOverride().then(e=>({path:e})));n.push(()=>o.unsubscribe())}}(e,t,o,i)}const gt="Authenticated",Ot="Unauthenticated";function _t(t,r,n={},o){window.isTectonPlatform=!0;const i=new _e({changedParams:{},currentParams:{}});let u;wt(t),window.isTestingTecton||(null==o?void 0:o.testing)?(u=window.tectonConfig$||new _e(null),u.next(t),window.tectonConfig$=u):u=new _e(t);const a=new me(u,window.isTestingTecton),c=new Set,s=[a.teardown.bind(a)];function l(e){const[n,o]=e.split(".");try{return Promise.resolve(t.features[n].configuredOverpanels[o])}catch(e){return r.dynamicConfigFetch(n,o)}}return function(e){e.add("resizeIframe"),e.add("requestOutletInfo")}(c),function(e,t,r,n){if(t.setupDynamicPlatformAPI){t.setupDynamicPlatformAPI().forEach(e=>r.add(e));const o=e.sendResponse("executeDynamicPlatformAPI",({functionName:e,args:r})=>t.executeDynamicPlatformAPI(e,r));n.push(()=>o.unsubscribe())}}(a,r,c,s),Ie(a,u,r,c,s),De(a,r,i,u,c,s),function(e,t,r,n){if(!t.getCurrentTheme)return void r.add("ThemesNotSupported");r.add("getCurrentTheme");const o=new _e({path:mt(t.getCustomerSpecificAssetPath(`${t.getCurrentTheme()}-props.css`))});let i=!0;t.themeChanged&&(r.add("themeChanged"),t.themeChanged(e=>{i&&o.next({path:mt(t.getCustomerSpecificAssetPath(`${e}-props.css`))})}));const u=o.subscribe(e=>{pe("themeChanged",we.maybe(e).map(JSON.stringify))}),a=e.sendResponse("getCurrentTheme",()=>Promise.resolve(o.getValue()));n.push(()=>{i=!1,u.unsubscribe(),a.unsubscribe(),o.complete()})}(a,r,c,s),yt(a,r,i,u,c,s,n),function(e,t,r,n,o={}){nt({messageBus:e,moduleId:"",props:bt,tectonOutletAdaptor:vt(t,r,n,o)})("tecton-platform-outlet")}(a,u,i,r,n),{tectonParamsChanged(e){i.next(e)},updateConfig(t){const r=u.getValue();e(r,t),wt(r),u.next(r)},replaceConfig(e){wt(e),u.next(e)},verifyConfig(){if(!r.getCapabilities)return void console.error("getCapabilities must be implemented on platform to verify config.");const e=e=>{var t,n;return!(null==e?void 0:e.length)||Object.values(null!==(n=null===(t=r.getCapabilities)||void 0===t?void 0:t.call(r,...null!=e?e:[]))&&void 0!==n?n:{}).every(Boolean)},t=u.getValue(),n=t.features;for(const t in n){if(!n.hasOwnProperty(t))continue;const r=n[t];r.rightsEnabled=e(r.requiredUserCapabilities);for(const t in r.modules){if(!r.modules||!r.modules.hasOwnProperty(t))continue;const n=r.modules[t];n.rightsEnabled=r.rightsEnabled&&e(n.requiredUserCapabilities)}}wt(t),u.next(t)},configLookup:function(e,t){const r=u.getValue();if(!t){const t=r.features[e];if(!t)throw new Error(`No config found, please check if the extension(${e}) is running correctly.`);return t}if(!r.features[e])throw new Error(`Please check if the extension(${e}) is running correctly.`);const n=r.features[e].modules[t].routeConfig||{featureName:e,moduleName:t},o=r.features[e].modules[t].rightsEnabled;return void 0!==o&&(n.rightsEnabled=o),n},configForRoute(e){const[t,r]=e.split(".");return u.getValue().features[t].modules[r].routeConfig||{featureName:t,moduleName:r}},configForOverpanel:l,overpanelOverrideLookup(e){var t,r,n,o,i,a,c,s,f;const d=u.getValue(),p=(d.overpanelOverrides||[]).find(t=>t.overpanelName===e),{featureName:b="",overpanelName:v=""}=null!==(t=null==p?void 0:p.override)&&void 0!==t?t:{},h=`${b}.${v}`,m=null===(r=d.features)||void 0===r?void 0:r[b],y=[{condition:!p,message:`No overpanel override found for ${e}.`},{condition:!b||!v,message:`Invalid overpanel override configuration for ${e}.`},{condition:!m,message:`Feature ${b} not found in config.`},{condition:!1===(null==m?void 0:m.rightsEnabled),message:`Feature ${b} is not enabled for this user.`},{condition:!(null===(n=null==m?void 0:m.configuredOverpanels)||void 0===n?void 0:n[v]),message:`Override overpanel ${v} not found in config.`},{condition:!1===(null===(c=null===(o=null==m?void 0:m.modules)||void 0===o?void 0:o[null===(a=null===(i=null==m?void 0:m.configuredOverpanels)||void 0===i?void 0:i[v])||void 0===a?void 0:a.moduleName])||void 0===c?void 0:c.rightsEnabled),message:`The module ${null===(f=null===(s=null==m?void 0:m.configuredOverpanels)||void 0===s?void 0:s[v])||void 0===f?void 0:f.moduleName} for feature ${b} is not enabled for this user.`}];for(const{condition:e,message:t}of y)if(e)return Promise.resolve({override:!1,message:t});return l(h).then(e=>{const t={override:!0,overpanelId:h,overpanelConfig:e};return(null==p?void 0:p.contextInfo)&&(t.contextInfo=p.contextInfo),Promise.resolve(t)})},updateApplicationModules(e){!function(e,t=!1){const r=function(e){var t,r,n;const o={};for(const[i,u]of Object.entries(e.features))for(const[e,a]of Object.entries(u.modules)){const u=null!==(n=null===(r=null===(t=null==a?void 0:a.meta)||void 0===t?void 0:t.type)||void 0===r?void 0:r.context)&&void 0!==n?n:void 0;if(u&&u.toLowerCase().startsWith("Application::".toLowerCase())){const t=u.split("::")[1].toLowerCase(),r={featureName:i,moduleName:e,rightsEnabled:a.rightsEnabled};o[t]?o[t].push(r):o[t]=[r]}}return o}(e),n=t?gt:Ot,o=r[n.toLowerCase()];null==o||o.forEach(e=>{const{featureName:t,moduleName:r,rightsEnabled:o}=e,i=`${t}.${r}`,u=`TectonApplicationModule.${i}`;document.getElementById(u)||!1===o||function({authContext:e,outletId:t,modulePath:r,featureName:n,moduleName:o}){const i=window.isTestingTecton?document.createElement("object"):document.createElement("tecton-platform-outlet");i.name=`Tecton${e}ApplicationModule`,i.id=t,i.routeName=r,i.configTree={featureName:n,moduleName:o},i.tabIndex=-1,i.setAttribute("style","width:0; height:0; visibility: hidden; overflow: hidden;"),document.body.appendChild(i)}({authContext:n,outletId:u,modulePath:i,featureName:t,moduleName:r})}),t||function(e){const t=document.getElementsByName(`Tecton${e}ApplicationModule`);null==t||t.forEach(function(e){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)})}(gt)}(t,e)},teardown(){s.forEach(e=>e()),i.complete(),u.complete()}}}function wt(e){Object.keys(e.features).forEach(function(t){const r=e.features[t],n=r.configuredOverpanels;n&&Object.keys(n).forEach(function(e){n[e].featureName||(n[e].featureName=t)});try{Object.keys(r.modules).forEach(function(e){r.modules[e].routeConfig||(r.modules[e].routeConfig={featureName:t,moduleName:e,configuredOutlets:{}}),Object.assign(r.modules[e].meta,{featureName:t,moduleName:e});let n=r.modules[e].url;if(n){if(n.startsWith("./")){const e=window.location.pathname.split("/").filter(e=>e),t=e[e.length-1];t&&t.includes(".")&&e.pop();const r=e.length>0?e.join("/"):"";n=n.replace("./",`${window.location.origin}/${r?`${r}/`:""}`)}n=n.replace("{featureName}",t),n=n.replace("{moduleName}",e),r.modules[e].url=n}})}catch(n){r.modules?console.error(`Config for ${r.routeName} is malformed. It returned ${n}.`):console.error(`Config for ${r.routeName} contains no modules`),console.error(`Removing ${r.routeName} from config.`),delete e.features[t]}})}})(),n})());
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["q2-tecton-platform"]=t():e["q2-tecton-platform"]=t()}(self,()=>(()=>{var e={4:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});var r=n(2124);function s(...e){return(0,r.h)(...e)}},51:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});const r=n(108).Z},57:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var r=n(6702),s=n(2464),o=n(3878),i=n(151);function u(e){return(0,r.N)((t,n)=>{(0,o.Tg)(e).subscribe((0,s._)(n,()=>n.complete(),i.l)),!n.closed&&t.subscribe(n)})}},108:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(3002),s=n(3878),o=n(6702),i=n(9132),u=n(7007);function c(e,t,n=1/0){return(0,u.T)(t)?c((n,o)=>(0,r.T)((e,r)=>t(n,e,o,r))((0,s.Tg)(e(n,o))),n):("number"==typeof t&&(n=t),(0,o.N)((t,r)=>(0,i.h)(t,r,e,n)))}},111:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(7036),s=n(9817);function o(){return e=>{const t=new r.h;return new s.G(e,()=>t)}}},151:(e,t,n)=>{"use strict";function r(){}n.d(t,{l:()=>r})},203:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(2590),s=n(6702);function o(e,t){return(0,s.N)((n,s)=>{let o=t;return(0,r.n)((t,n)=>e(o,t,n),(e,t)=>(o=t,t))(n).subscribe(s),()=>{o=null}})}},238:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(6702),s=n(2464),o=n(3878);function i(e,t){return(0,r.N)((n,r)=>{const{leading:i=!0,trailing:u=!1}=null!=t?t:{};let c=!1,a=null,l=null,d=!1;const f=()=>{null==l||l.unsubscribe(),l=null,u&&(m(),d&&r.complete())},h=()=>{l=null,d&&r.complete()},p=t=>l=(0,o.Tg)(e(t)).subscribe((0,s._)(r,f,h)),m=()=>{if(c){c=!1;const e=a;a=null,r.next(e),!d&&p(e)}};n.subscribe((0,s._)(r,e=>{c=!0,a=e,(!l||l.closed)&&(i?m():p(e))},()=>{d=!0,(!(u&&c&&l)||l.closed)&&r.complete()}))})}},386:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});const r=(0,n(7653).L)(e=>function(t){e(this),this.name="SequenceError",this.message=t})},478:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});var r=n(7026);function s(...e){return(0,r.z)(...e)}},591:(e,t,n)=>{"use strict";n.d(t,{M:()=>l,w:()=>d});var r=n(5260),s=n(2011),o=n(6702),i=n(3878),u=n(7653),c=n(2464),a=n(3873);const l=(0,u.L)(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function d(e,t){const{first:n,each:u,with:l=f,scheduler:d=(null!=t?t:r.E),meta:h=null}=(0,s.v)(e)?{first:e}:"number"==typeof e?{each:e}:e;if(null==n&&null==u)throw new TypeError("No timeout provided.");return(0,o.N)((e,t)=>{let r,s,o=null,f=0;const p=e=>{s=(0,a.N)(t,d,()=>{try{r.unsubscribe(),(0,i.Tg)(l({meta:h,lastValue:o,seen:f})).subscribe(t)}catch(e){t.error(e)}},e)};r=e.subscribe((0,c._)(t,e=>{null==s||s.unsubscribe(),f++,t.next(o=e),u>0&&p(u)},void 0,void 0,()=>{(null==s?void 0:s.closed)||null==s||s.unsubscribe(),o=null})),!f&&p(null!=n?"number"==typeof n?n:+n-d.now():u)})}function f(e){throw new l(e)}},609:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r=n(5260),s=n(2700),o=n(837);function i(e,t=r.E){return(0,s.X)((0,o.Y)(e,t))}},616:(e,t,n)=>{"use strict";function r(e,t){return e.reduce((e,n,r)=>(e[n]=t[r],e),{})}n.d(t,{e:()=>r})},626:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r=n(9878);function s(...e){return(0,r.x)(...e)}},755:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Maybe:()=>r});class r{constructor(e){this.value=e}static just(e){if(null==e)throw new TypeError("Value passed to just must exist!");return new r(e)}static nothing(){return new r}static maybe(e){return null==e?r.nothing():r.just(e)}static join(e){return e.withDefault(r.nothing())}static sequence(e){return e.reduce((e,t)=>e.bind(e=>t.map(t=>e.concat(t))),r.just([]))}static traverse(e,t){return r.sequence(t).map(t=>t.map(e))}static justMap(e,t){return t.reduce((t,n)=>{const r=e(n);return void 0!==r.value?t.concat(r.value):t},[])}static filterSomethings(e){return e.reduce((e,t)=>(t.value&&e.push(t.value),e),[])}static lift(e){return t=>t.map(e)}static lift2(e){return(t,n)=>r.sequence([t,n]).map(t=>e(t[0],t[1]))}static lift3(e){return(t,n,s)=>r.sequence([t,n,s]).map(t=>e(t[0],t[1],t[2]))}static toPromise(e){return e.hasSomething?Promise.resolve(e.value):Promise.reject()}map(e){return void 0!==this.value?r.maybe(e(this.value)):r.nothing()}asyncMap(e){return void 0!==this.value?e(this.value).then(e=>{if(null==e)throw"Promise Conversion from a Maybe.Nothing";return e}):Promise.reject()}alt(e){return void 0!==this.value?this:e}altMap(e){return void 0!==this.value?this:e()}ap(e){return e.bind(e=>this.map(e))}bind(e){return r.join(this.map(e))}withDefault(e){return void 0!==this.value?this.value:e}withDefaultFn(e){return void 0!==this.value?this.value:e()}get hasNothing(){return void 0===this.value}get hasSomething(){return!this.hasNothing}unsafeElse(e){this.hasNothing&&e()}}r.of=r.maybe},772:(e,t,n)=>{"use strict";n.d(t,{P:()=>h,z:()=>f});var r=n(6857),s=n(6569),o=n(7348),i=n(6781),u=n(5194),c=n(8918),a=n(616),l=n(2464),d=n(3873);function f(...e){const t=(0,c.lI)(e),n=(0,c.ms)(e),{args:l,keys:d}=(0,s.D)(e);if(0===l.length)return(0,o.H)([],t);const f=new r.c(h(l,t,d?e=>(0,a.e)(d,e):i.D));return n?f.pipe((0,u.I)(n)):f}function h(e,t,n=i.D){return r=>{p(t,()=>{const{length:s}=e,i=new Array(s);let u=s,c=s;for(let a=0;a<s;a++)p(t,()=>{const s=(0,o.H)(e[a],t);let d=!1;s.subscribe((0,l._)(r,e=>{i[a]=e,d||(d=!0,c--),c||r.next(n(i.slice()))},()=>{--u||r.complete()}))},r)},r)}}function p(e,t,n){e?(0,d.N)(n,e,t):t()}},831:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var r=n(3002);function s(e){return(0,r.T)(()=>e)}},837:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(5260),s=n(6231);function o(e=0,t=r.E){return e<0&&(e=0),(0,s.O)(e,e,t)}},848:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(5260),s=n(6702),o=n(2464);function i(e,t=r.E){return(0,s.N)((n,r)=>{let s=null,i=null,u=null;const c=()=>{if(s){s.unsubscribe(),s=null;const e=i;i=null,r.next(e)}};function a(){const n=u+e,o=t.now();if(o<n)return s=this.schedule(void 0,n-o),void r.add(s);c()}n.subscribe((0,o._)(r,n=>{i=n,u=t.now(),s||(s=t.schedule(a,e),r.add(s))},()=>{c(),r.complete()},void 0,()=>{i=s=null}))})}},881:(e,t,n)=>{"use strict";n.d(t,{O:()=>u,w:()=>c});var r=n(6857),s=n(3878),o=n(3918),i=n(2464);function u(...e){return 1===(e=(0,o.K)(e)).length?(0,s.Tg)(e[0]):new r.c(c(e))}function c(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push((0,s.Tg)(e[r]).subscribe((0,i._)(t,e=>{if(n){for(let e=0;e<n.length;e++)e!==r&&n[e].unsubscribe();n=null}t.next(e)})))}}},931:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(3210),s=n(6781);function o(){return(0,r.p)(s.D)}},963:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(5917),s=n(6702);function o(...e){return(0,s.N)((t,n)=>{(0,r.y)(t,...e).subscribe(n)})}},1013:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(3873),s=n(6702),o=n(2464);function i(e,t=0){return(0,s.N)((n,s)=>{n.subscribe((0,o._)(s,n=>(0,r.N)(s,e,()=>s.next(n),t),()=>(0,r.N)(s,e,()=>s.complete(),t),n=>(0,r.N)(s,e,()=>s.error(n),t)))})}},1079:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var r=n(6857),s=n(9553),o=n(7007),i=n(3873);function u(e,t){return new r.c(n=>{let r;return(0,i.N)(n,t,()=>{r=e[s.l](),(0,i.N)(n,t,()=>{let e,t;try{({value:e,done:t}=r.next())}catch(e){return void n.error(e)}t?n.complete():n.next(e)},0,!0)}),()=>(0,o.T)(null==r?void 0:r.return)&&r.return()})}},1169:(e,t,n)=>{"use strict";n.d(t,{of:()=>o});var r=n(8918),s=n(7348);function o(...e){const t=(0,r.lI)(e);return(0,s.H)(e,t)}},1205:(e,t,n)=>{"use strict";n.d(t,{M:()=>u});var r=n(7007),s=n(6702),o=n(2464),i=n(6781);function u(e,t,n){const u=(0,r.T)(e)||t||n?{next:e,error:t,complete:n}:e;return u?(0,s.N)((e,t)=>{var n;null===(n=u.subscribe)||void 0===n||n.call(u);let r=!0;e.subscribe((0,o._)(t,e=>{var n;null===(n=u.next)||void 0===n||n.call(u,e),t.next(e)},()=>{var e;r=!1,null===(e=u.complete)||void 0===e||e.call(u),t.complete()},e=>{var n;r=!1,null===(n=u.error)||void 0===n||n.call(u,e),t.error(e)},()=>{var e,t;r&&(null===(e=u.unsubscribe)||void 0===e||e.call(u)),null===(t=u.finalize)||void 0===t||t.call(u)}))}):i.D}},1227:(e,t,n)=>{"use strict";n.d(t,{Eg:()=>c,Ij:()=>r,gV:()=>a});var r,s=n(6751),o=n(1169),i=n(7618),u=n(7007);!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(r||(r={}));class c{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){return a(this,e)}do(e,t,n){const{kind:r,value:s,error:o}=this;return"N"===r?null==e?void 0:e(s):"E"===r?null==t?void 0:t(o):null==n?void 0:n()}accept(e,t,n){var r;return(0,u.T)(null===(r=e)||void 0===r?void 0:r.next)?this.observe(e):this.do(e,t,n)}toObservable(){const{kind:e,value:t,error:n}=this,r="N"===e?(0,o.of)(t):"E"===e?(0,i.$)(()=>n):"C"===e?s.w:0;if(!r)throw new TypeError(`Unexpected notification kind ${e}`);return r}static createNext(e){return new c("N",e)}static createError(e){return new c("E",void 0,e)}static createComplete(){return c.completeNotification}}function a(e,t){var n,r,s;const{kind:o,value:i,error:u}=e;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(n=t.next)||void 0===n||n.call(t,i):"E"===o?null===(r=t.error)||void 0===r||r.call(t,u):null===(s=t.complete)||void 0===s||s.call(t)}c.completeNotification=new c("C")},1276:(e,t,n)=>{"use strict";function r(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{o:()=>r})},1374:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var r=n(6702),s=n(2464),o=n(151),i=n(3878);function u(e,t){return(0,r.N)((n,r)=>{const u=new Set;n.subscribe((0,s._)(r,t=>{const n=e?e(t):t;u.has(n)||(u.add(n),r.next(t))})),t&&(0,i.Tg)(t).subscribe((0,s._)(r,()=>u.clear(),o.l))})}},1457:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(6280),s=n(1169);function o(...e){return t=>(0,r.x)(t,(0,s.of)(...e))}},1530:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(7290),s=n(6702),o=n(2464),i=n(3878);function u(e){return(0,s.N)((t,n)=>{let s,u;const c=e=>{s.error(e),n.error(e)},a=()=>{let t;null==u||u.unsubscribe(),null==s||s.complete(),s=new r.B,n.next(s.asObservable());try{t=(0,i.Tg)(e())}catch(e){return void c(e)}t.subscribe(u=(0,o._)(n,a,a,c))};a(),t.subscribe((0,o._)(n,e=>s.next(e),()=>{s.complete(),n.complete()},c,()=>{null==u||u.unsubscribe(),s=null}))})}},1571:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(7290),s=n(6702),o=n(2464);function i(e,t=0){const n=t>0?t:e;return(0,s.N)((t,s)=>{let i=[new r.B],u=[],c=0;s.next(i[0].asObservable()),t.subscribe((0,o._)(s,t=>{for(const e of i)e.next(t);const o=c-e+1;if(o>=0&&o%n===0&&i.shift().complete(),++c%n===0){const e=new r.B;i.push(e),s.next(e.asObservable())}},()=>{for(;i.length>0;)i.shift().complete();s.complete()},e=>{for(;i.length>0;)i.shift().error(e);s.error(e)},()=>{u=null,i=null}))})}},1655:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(772),s=n(3193);function o(e){return(0,s.q)(r.z,e)}},1724:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});var r=n(6702);function s(e){return(0,r.N)((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}},1801:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var r=n(7007);function s(e){return Symbol.asyncIterator&&(0,r.T)(null==e?void 0:e[Symbol.asyncIterator])}},1860:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(7947),s=n(5927);function o(e,t,n){let o,i=!1;return e&&"object"==typeof e?({bufferSize:o=1/0,windowTime:t=1/0,refCount:i=!1,scheduler:n}=e):o=null!=e?e:1/0,(0,s.u)({connector:()=>new r.m(o,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}},1885:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var r=n(2950);function s(e,t){return(0,r.F)((n,r)=>t?t(n[e],r[e]):n[e]===r[e])}},1897:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r={now:()=>(r.delegate||Date).now(),delegate:void 0}},1940:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(7985),s=n(6702);function o(e,t){return(0,s.N)((0,r.S)(e,t,arguments.length>=2,!1,!0))}},1950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ArgumentOutOfRangeError:()=>X.k,AsyncSubject:()=>m.h,BehaviorSubject:()=>h.t,ConnectableObservable:()=>s.G,EMPTY:()=>ve.w,EmptyError:()=>Z.G,NEVER:()=>Me,NotFoundError:()=>Q.m,Notification:()=>B.Eg,NotificationKind:()=>B.Ij,ObjectUnsubscribedError:()=>ee.P,Observable:()=>r.c,ReplaySubject:()=>p.m,Scheduler:()=>U._,SequenceError:()=>te.I,Subject:()=>f.B,Subscriber:()=>W.vU,Subscription:()=>u.yU,TimeoutError:()=>ne.M,UnsubscriptionError:()=>re.Z,VirtualAction:()=>D,VirtualTimeScheduler:()=>F,animationFrame:()=>q,animationFrameScheduler:()=>L,animationFrames:()=>a,asap:()=>O,asapScheduler:()=>S,async:()=>A.b,asyncScheduler:()=>A.E,audit:()=>Je.s,auditTime:()=>Ke.Z,bindCallback:()=>ae,bindNodeCallback:()=>le,buffer:()=>Ze.r,bufferCount:()=>Ge.S,bufferTime:()=>Ye.w,bufferToggle:()=>Xe.H,bufferWhen:()=>Qe.n,catchError:()=>et.W,combineAll:()=>tt.p,combineLatest:()=>de.z,combineLatestAll:()=>nt.A,combineLatestWith:()=>rt.v,concat:()=>fe.x,concatAll:()=>st.K,concatMap:()=>ot.H,concatMapTo:()=>it.S,concatWith:()=>ut.$,config:()=>Ve.$,connect:()=>ct.N,connectable:()=>be,count:()=>at.U,debounce:()=>lt.s,debounceTime:()=>dt.B,defaultIfEmpty:()=>ft.U,defer:()=>pe,delay:()=>ht.c,delayWhen:()=>pt.o,dematerialize:()=>mt.Z,distinct:()=>bt.d,distinctUntilChanged:()=>vt.F,distinctUntilKeyChanged:()=>gt.w,elementAt:()=>yt.s,empty:()=>ve.I,endWith:()=>wt.q,every:()=>xt.S,exhaust:()=>Nt.B,exhaustAll:()=>Tt.C,exhaustMap:()=>_t.p,expand:()=>Ct.f,filter:()=>Le.p,finalize:()=>Et.j,find:()=>Pt.I,findIndex:()=>St.S,first:()=>Ot.$,firstValueFrom:()=>Y._,flatMap:()=>Ft.q,forkJoin:()=>Ne,from:()=>Te.H,fromEvent:()=>_e.R,fromEventPattern:()=>Ce,generate:()=>Pe,groupBy:()=>At.$,identity:()=>V.D,ignoreElements:()=>Mt.w,iif:()=>Se,interval:()=>Oe.Y,isEmpty:()=>It.I,isObservable:()=>K,last:()=>Rt.H,lastValueFrom:()=>G,map:()=>jt.T,mapTo:()=>$t.u,materialize:()=>kt.O,max:()=>Lt.T,merge:()=>Ae.h,mergeAll:()=>qt.U,mergeMap:()=>Dt.Z,mergeMapTo:()=>Ut.C,mergeScan:()=>Wt.i,mergeWith:()=>Bt.X,min:()=>Ht.j,multicast:()=>zt.f,never:()=>Ie,noop:()=>z.l,observable:()=>o.s,observeOn:()=>ue.Q,of:()=>Re.of,onErrorResumeNext:()=>je.g,onErrorResumeNextWith:()=>Vt.w,pairs:()=>$e,pairwise:()=>Jt.J,partition:()=>qe,pipe:()=>H.F,pluck:()=>Kt.E,publish:()=>Zt.m,publishBehavior:()=>Gt.K,publishLast:()=>Yt.k,publishReplay:()=>Xt.H,queue:()=>j,queueScheduler:()=>R,race:()=>Fe.O,raceWith:()=>Qt.w,range:()=>De,reduce:()=>en.T,refCount:()=>on.B,repeat:()=>tn.u,repeatWhen:()=>nn.Y,retry:()=>rn.L,retryWhen:()=>sn.l,sample:()=>un.X,sampleTime:()=>cn.q,scan:()=>an.S,scheduled:()=>ze.c,sequenceEqual:()=>ln.m,share:()=>dn.u,shareReplay:()=>fn.t,single:()=>hn.J,skip:()=>pn.i,skipLast:()=>mn.G,skipUntil:()=>bn.U,skipWhile:()=>vn.j,startWith:()=>gn.Z,subscribeOn:()=>oe._,switchAll:()=>yn.w,switchMap:()=>wn.n,switchMapTo:()=>xn.K,switchScan:()=>Nn.m,take:()=>Tn.s,takeLast:()=>_n.o,takeUntil:()=>Cn.Q,takeWhile:()=>En.v,tap:()=>Pn.M,throttle:()=>Sn.n,throttleTime:()=>On.c,throwError:()=>Ue.$,throwIfEmpty:()=>An.v,timeInterval:()=>Mn.f,timeout:()=>ne.w,timeoutWith:()=>In.o,timer:()=>We.O,timestamp:()=>Rn.v,toArray:()=>jn.$,using:()=>Be,window:()=>$n.x,windowCount:()=>kn.k,windowTime:()=>Ln.s,windowToggle:()=>qn.J,windowWhen:()=>Fn.p,withLatestFrom:()=>Dn.E,zip:()=>He.y,zipAll:()=>Un.x,zipWith:()=>Wn.O});var r=n(6857),s=n(9817),o=n(9774);const i={now:()=>(i.delegate||performance).now(),delegate:void 0};var u=n(3713);const c={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=c;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const s=t(t=>{n=void 0,e(t)});return new u.yU(()=>null==n?void 0:n(s))},requestAnimationFrame(...e){const{delegate:t}=c;return((null==t?void 0:t.requestAnimationFrame)||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=c;return((null==t?void 0:t.cancelAnimationFrame)||cancelAnimationFrame)(...e)},delegate:void 0};function a(e){return e?l(e):d}function l(e){return new r.c(t=>{const n=e||i,r=n.now();let s=0;const o=()=>{t.closed||(s=c.requestAnimationFrame(i=>{s=0;const u=n.now();t.next({timestamp:e?u:i,elapsed:u-r}),o()}))};return o(),()=>{s&&c.cancelAnimationFrame(s)}})}const d=l();var f=n(7290),h=n(5524),p=n(7947),m=n(7036),b=n(7078);let v,g=1;const y={};function w(e){return e in y&&(delete y[e],!0)}const x={setImmediate(e){const t=g++;return y[t]=!0,v||(v=Promise.resolve()),v.then(()=>w(t)&&e()),t},clearImmediate(e){w(e)}},{setImmediate:N,clearImmediate:T}=x,_={setImmediate(...e){const{delegate:t}=_;return((null==t?void 0:t.setImmediate)||N)(...e)},clearImmediate(e){const{delegate:t}=_;return((null==t?void 0:t.clearImmediate)||T)(e)},delegate:void 0};class C extends b.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=_.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);const{actions:s}=e;null!=t&&(null===(r=s[s.length-1])||void 0===r?void 0:r.id)!==t&&(_.clearImmediate(t),e._scheduled===t&&(e._scheduled=void 0))}}var E=n(9771);class P extends E.q{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}}const S=new P(C),O=S;var A=n(5260);class M extends b.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!=n&&n>0||null==n&&this.delay>0?super.requestAsyncId(e,t,n):(e.flush(this),0)}}class I extends E.q{}const R=new I(M),j=R;class $ extends b.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=c.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);const{actions:s}=e;null!=t&&t===e._scheduled&&(null===(r=s[s.length-1])||void 0===r?void 0:r.id)!==t&&(c.cancelAnimationFrame(t),e._scheduled=void 0)}}class k extends E.q{flush(e){let t;this._active=!0,e?t=e.id:(t=this._scheduled,this._scheduled=void 0);const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}}const L=new k($),q=L;class F extends E.q{constructor(e=D,t=1/0){super(e,()=>this.frame),this.maxFrames=t,this.frame=0,this.index=-1}flush(){const{actions:e,maxFrames:t}=this;let n,r;for(;(r=e[0])&&r.delay<=t&&(e.shift(),this.frame=r.delay,!(n=r.execute(r.state,r.delay))););if(n){for(;r=e.shift();)r.unsubscribe();throw n}}}F.frameTimeFactor=10;class D extends b.R{constructor(e,t,n=(e.index+=1)){super(e,t),this.scheduler=e,this.work=t,this.index=n,this.active=!0,this.index=e.index=n}schedule(e,t=0){if(Number.isFinite(t)){if(!this.id)return super.schedule(e,t);this.active=!1;const n=new D(this.scheduler,this.work);return this.add(n),n.schedule(e,t)}return u.yU.EMPTY}requestAsyncId(e,t,n=0){this.delay=e.frame+n;const{actions:r}=e;return r.push(this),r.sort(D.sortActions),1}recycleAsyncId(e,t,n=0){}_execute(e,t){if(!0===this.active)return super._execute(e,t)}static sortActions(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1}}var U=n(5159),W=n(6968),B=n(1227),H=n(2571),z=n(151),V=n(6781),J=n(7007);function K(e){return!!e&&(e instanceof r.c||(0,J.T)(e.lift)&&(0,J.T)(e.subscribe))}var Z=n(3422);function G(e,t){const n="object"==typeof t;return new Promise((r,s)=>{let o,i=!1;e.subscribe({next:e=>{o=e,i=!0},error:s,complete:()=>{i?r(o):n?r(t.defaultValue):s(new Z.G)}})})}var Y=n(5011),X=n(3078),Q=n(2512),ee=n(2965),te=n(386),ne=n(591),re=n(3479),se=n(6486),oe=n(5761),ie=n(5194),ue=n(1013);function ce(e,t,n,s){if(n){if(!(0,se.m)(n))return function(...r){return ce(e,t,s).apply(this,r).pipe((0,ie.I)(n))};s=n}return s?function(...n){return ce(e,t).apply(this,n).pipe((0,oe._)(s),(0,ue.Q)(s))}:function(...n){const s=new m.h;let o=!0;return new r.c(r=>{const i=s.subscribe(r);if(o){o=!1;let r=!1,i=!1;t.apply(this,[...n,(...t)=>{if(e){const e=t.shift();if(null!=e)return void s.error(e)}s.next(1<t.length?t:t[0]),i=!0,r&&s.complete()}]),i&&s.complete(),r=!0}return i})}}function ae(e,t,n){return ce(!1,e,t,n)}function le(e,t,n){return ce(!0,e,t,n)}var de=n(772),fe=n(6280),he=n(3878);function pe(e){return new r.c(t=>{(0,he.Tg)(e()).subscribe(t)})}const me={connector:()=>new f.B,resetOnDisconnect:!0};function be(e,t=me){let n=null;const{connector:s,resetOnDisconnect:o=!0}=t;let i=s();const u=new r.c(e=>i.subscribe(e));return u.connect=()=>(n&&!n.closed||(n=pe(()=>e).subscribe(i),o&&n.add(()=>i=s())),n),u}var ve=n(6751),ge=n(6569),ye=n(8918),we=n(2464),xe=n(616);function Ne(...e){const t=(0,ye.ms)(e),{args:n,keys:s}=(0,ge.D)(e),o=new r.c(e=>{const{length:t}=n;if(!t)return void e.complete();const r=new Array(t);let o=t,i=t;for(let u=0;u<t;u++){let t=!1;(0,he.Tg)(n[u]).subscribe((0,we._)(e,e=>{t||(t=!0,i--),r[u]=e},()=>o--,void 0,()=>{o&&t||(i||e.next(s?(0,xe.e)(s,r):r),e.complete())}))}});return t?o.pipe((0,ie.I)(t)):o}var Te=n(7348),_e=n(2774);function Ce(e,t,n){return n?Ce(e,t).pipe((0,ie.I)(n)):new r.c(n=>{const r=(...e)=>n.next(1===e.length?e[0]:e),s=e(r);return(0,J.T)(t)?()=>t(r,s):void 0})}var Ee=n(1079);function Pe(e,t,n,r,s){let o,i;function*u(){for(let e=i;!t||t(e);e=n(e))yield o(e)}return 1===arguments.length?({initialState:i,condition:t,iterate:n,resultSelector:o=V.D,scheduler:s}=e):(i=e,!r||(0,se.m)(r)?(o=V.D,s=r):o=r),pe(s?()=>(0,Ee.S)(u(),s):u)}function Se(e,t,n){return pe(()=>e()?t:n)}var Oe=n(837),Ae=n(2786);const Me=new r.c(z.l);function Ie(){return Me}var Re=n(1169),je=n(2421);function $e(e,t){return(0,Te.H)(Object.entries(e),t)}var ke=n(6410),Le=n(9732);function qe(e,t,n){return[(0,Le.p)(t,n)((0,he.Tg)(e)),(0,Le.p)((0,ke.A)(t,n))((0,he.Tg)(e))]}var Fe=n(881);function De(e,t,n){if(null==t&&(t=e,e=0),t<=0)return ve.w;const s=t+e;return new r.c(n?t=>{let r=e;return n.schedule(function(){r<s?(t.next(r++),this.schedule()):t.complete()})}:t=>{let n=e;for(;n<s&&!t.closed;)t.next(n++);t.complete()})}var Ue=n(7618),We=n(6231);function Be(e,t){return new r.c(n=>{const r=e(),s=t(r);return(s?(0,he.Tg)(s):ve.w).subscribe(n),()=>{r&&r.unsubscribe()}})}var He=n(5917),ze=n(3172),Ve=n(3834),Je=n(7895),Ke=n(6114),Ze=n(5296),Ge=n(8501),Ye=n(6077),Xe=n(8812),Qe=n(8236),et=n(3285),tt=n(3290),nt=n(1655),rt=n(478),st=n(6643),ot=n(2106),it=n(4079),ut=n(626),ct=n(5017),at=n(4755),lt=n(9013),dt=n(848),ft=n(8981),ht=n(8631),pt=n(6807),mt=n(9500),bt=n(1374),vt=n(2950),gt=n(1885),yt=n(3773),wt=n(1457),xt=n(3995),Nt=n(9158),Tt=n(931),_t=n(3210),Ct=n(3458),Et=n(1724),Pt=n(3685),St=n(4417),Ot=n(6418),At=n(8722),Mt=n(5853),It=n(6681),Rt=n(3938),jt=n(3002),$t=n(831),kt=n(9237),Lt=n(7170),qt=n(4677),Ft=n(51),Dt=n(108),Ut=n(7309),Wt=n(8361),Bt=n(4),Ht=n(2668),zt=n(9066),Vt=n(2939),Jt=n(6770),Kt=n(8053),Zt=n(5199),Gt=n(6261),Yt=n(111),Xt=n(9532),Qt=n(5319),en=n(1940),tn=n(6661),nn=n(7429),rn=n(8170),sn=n(6358),on=n(6850),un=n(2700),cn=n(609),an=n(9388),ln=n(8327),dn=n(5927),fn=n(1860),hn=n(2994),pn=n(7893),mn=n(7121),bn=n(3941),vn=n(7716),gn=n(6428),yn=n(7391),wn=n(2590),xn=n(9187),Nn=n(203),Tn=n(5697),_n=n(2173),Cn=n(57),En=n(6592),Pn=n(1205),Sn=n(238),On=n(2891),An=n(2998),Mn=n(6726),In=n(5815),Rn=n(5128),jn=n(7594),$n=n(7302),kn=n(1571),Ln=n(4563),qn=n(5062),Fn=n(1530),Dn=n(5601),Un=n(4476),Wn=n(8923)},2011:(e,t,n)=>{"use strict";function r(e){return e instanceof Date&&!isNaN(e)}n.d(t,{v:()=>r})},2106:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(108),s=n(7007);function o(e,t){return(0,s.T)(t)?(0,r.Z)(e,t,1):(0,r.Z)(e,1)}},2124:(e,t,n)=>{"use strict";n.d(t,{h:()=>u});var r=n(6702),s=n(4677),o=n(8918),i=n(7348);function u(...e){const t=(0,o.lI)(e),n=(0,o.R0)(e,1/0);return(0,r.N)((r,o)=>{(0,s.U)(n)((0,i.H)([r,...e],t)).subscribe(o)})}},2173:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(6751),s=n(6702),o=n(2464);function i(e){return e<=0?()=>r.w:(0,s.N)((t,n)=>{let r=[];t.subscribe((0,o._)(n,t=>{r.push(t),e<r.length&&r.shift()},()=>{for(const e of r)n.next(e);n.complete()},void 0,()=>{r=null}))})}},2421:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var r=n(6857),s=n(3918),o=n(2464),i=n(151),u=n(3878);function c(...e){const t=(0,s.K)(e);return new r.c(e=>{let n=0;const r=()=>{if(n<t.length){let s;try{s=(0,u.Tg)(t[n++])}catch(e){return void r()}const c=new o.H(e,void 0,i.l,i.l);s.subscribe(c),c.add(r)}else e.complete()};r()})}},2464:(e,t,n)=>{"use strict";n.d(t,{H:()=>o,_:()=>s});var r=n(6968);function s(e,t,n,r,s){return new o(e,t,n,r,s)}class o extends r.vU{constructor(e,t,n,r,s,o){super(e),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=t?function(n){try{t(n)}catch(t){e.error(t)}}:super._next,this._error=r?function(t){try{r(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}},2468:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,U:()=>i});var r=n(5608),s=n(7007);function o(e){return(0,r.AQ)(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:e,done:n}=yield(0,r.N3)(t.read());if(n)return yield(0,r.N3)(void 0);yield yield(0,r.N3)(e)}}finally{t.releaseLock()}})}function i(e){return(0,s.T)(null==e?void 0:e.getReader)}},2512:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r=(0,n(7653).L)(e=>function(t){e(this),this.name="NotFoundError",this.message=t})},2571:(e,t,n)=>{"use strict";n.d(t,{F:()=>s,m:()=>o});var r=n(6781);function s(...e){return o(e)}function o(e){return 0===e.length?r.D:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}},2590:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(3878),s=n(6702),o=n(2464);function i(e,t){return(0,s.N)((n,s)=>{let i=null,u=0,c=!1;const a=()=>c&&!i&&s.complete();n.subscribe((0,o._)(s,n=>{null==i||i.unsubscribe();let c=0;const l=u++;(0,r.Tg)(e(n,l)).subscribe(i=(0,o._)(s,e=>s.next(t?t(n,e,l,c++):e),()=>{i=null,a()}))},()=>{c=!0,a()}))})}},2668:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(1940),s=n(7007);function o(e){return(0,r.T)((0,s.T)(e)?(t,n)=>e(t,n)<0?t:n:(e,t)=>e<t?e:t)}},2700:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var r=n(3878),s=n(6702),o=n(151),i=n(2464);function u(e){return(0,s.N)((t,n)=>{let s=!1,u=null;t.subscribe((0,i._)(n,e=>{s=!0,u=e})),(0,r.Tg)(e).subscribe((0,i._)(n,()=>{if(s){s=!1;const e=u;u=null,n.next(e)}},o.l))})}},2774:(e,t,n)=>{"use strict";n.d(t,{R:()=>f});var r=n(3878),s=n(6857),o=n(108),i=n(9257),u=n(7007),c=n(5194);const a=["addListener","removeListener"],l=["addEventListener","removeEventListener"],d=["on","off"];function f(e,t,n,p){if((0,u.T)(n)&&(p=n,n=void 0),p)return f(e,t,n).pipe((0,c.I)(p));const[m,b]=function(e){return(0,u.T)(e.addEventListener)&&(0,u.T)(e.removeEventListener)}(e)?l.map(r=>s=>e[r](t,s,n)):function(e){return(0,u.T)(e.addListener)&&(0,u.T)(e.removeListener)}(e)?a.map(h(e,t)):function(e){return(0,u.T)(e.on)&&(0,u.T)(e.off)}(e)?d.map(h(e,t)):[];if(!m&&(0,i.X)(e))return(0,o.Z)(e=>f(e,t,n))((0,r.Tg)(e));if(!m)throw new TypeError("Invalid event target");return new s.c(e=>{const t=(...t)=>e.next(1<t.length?t:t[0]);return m(t),()=>b(t)})}function h(e,t){return n=>r=>e[n](t,r)}},2786:(e,t,n)=>{"use strict";n.d(t,{h:()=>c});var r=n(4677),s=n(3878),o=n(6751),i=n(8918),u=n(7348);function c(...e){const t=(0,i.lI)(e),n=(0,i.R0)(e,1/0),c=e;return c.length?1===c.length?(0,s.Tg)(c[0]):(0,r.U)(n)((0,u.H)(c,t)):o.w}},2891:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(5260),s=n(238),o=n(6231);function i(e,t=r.E,n){const i=(0,o.O)(e,t);return(0,s.n)(()=>i,n)}},2939:(e,t,n)=>{"use strict";n.d(t,{g:()=>i,w:()=>o});var r=n(3918),s=n(2421);function o(...e){const t=(0,r.K)(e);return e=>(0,s.g)(e,...t)}const i=o},2950:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(6781),s=n(6702),o=n(2464);function i(e,t=r.D){return e=null!=e?e:u,(0,s.N)((n,r)=>{let s,i=!0;n.subscribe((0,o._)(r,n=>{const o=t(n);!i&&e(s,o)||(i=!1,s=o,r.next(n))}))})}function u(e,t){return e===t}},2965:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});const r=(0,n(7653).L)(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})},2994:(e,t,n)=>{"use strict";n.d(t,{J:()=>c});var r=n(3422),s=n(386),o=n(2512),i=n(6702),u=n(2464);function c(e){return(0,i.N)((t,n)=>{let i,c=!1,a=!1,l=0;t.subscribe((0,u._)(n,r=>{a=!0,e&&!e(r,l++,t)||(c&&n.error(new s.I("Too many matching values")),c=!0,i=r)},()=>{c?(n.next(i),n.complete()):n.error(a?new o.m("No matching values"):new r.G)}))})}},2998:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});var r=n(3422),s=n(6702),o=n(2464);function i(e=u){return(0,s.N)((t,n)=>{let r=!1;t.subscribe((0,o._)(n,e=>{r=!0,n.next(e)},()=>r?n.complete():n.error(e())))})}function u(){return new r.G}},3002:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,n=>{r.next(e.call(t,n,o++))}))})}},3078:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r=(0,n(7653).L)(e=>function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"})},3172:(e,t,n)=>{"use strict";n.d(t,{c:()=>v});var r=n(3878),s=n(1013),o=n(5761),i=n(6857),u=n(1079),c=n(3873);function a(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.c(n=>{(0,c.N)(n,t,()=>{const r=e[Symbol.asyncIterator]();(0,c.N)(n,t,()=>{r.next().then(e=>{e.done?n.complete():n.next(e.value)})},0,!0)})})}var l=n(5703),d=n(9178),f=n(9257),h=n(7773),p=n(1801),m=n(6919),b=n(2468);function v(e,t){if(null!=e){if((0,l.l)(e))return function(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,s.Q)(t))}(e,t);if((0,f.X)(e))return function(e,t){return new i.c(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if((0,d.y)(e))return function(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,s.Q)(t))}(e,t);if((0,p.T)(e))return a(e,t);if((0,h.x)(e))return(0,u.S)(e,t);if((0,b.U)(e))return function(e,t){return a((0,b.C)(e),t)}(e,t)}throw(0,m.L)(e)}},3193:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var r=n(6781),s=n(5194),o=n(2571),i=n(108),u=n(7594);function c(e,t){return(0,o.F)((0,u.$)(),(0,i.Z)(t=>e(t)),t?(0,s.I)(t):r.D)}},3210:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(3002),s=n(3878),o=n(6702),i=n(2464);function u(e,t){return t?n=>n.pipe(u((n,o)=>(0,s.Tg)(e(n,o)).pipe((0,r.T)((e,r)=>t(n,e,o,r))))):(0,o.N)((t,n)=>{let r=0,o=null,u=!1;t.subscribe((0,i._)(n,t=>{o||(o=(0,i._)(n,void 0,()=>{o=null,u&&n.complete()}),(0,s.Tg)(e(t,r++)).subscribe(o))},()=>{u=!0,!o&&n.complete()}))})}},3285:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(3878),s=n(2464),o=n(6702);function i(e){return(0,o.N)((t,n)=>{let o,u=null,c=!1;u=t.subscribe((0,s._)(n,void 0,void 0,s=>{o=(0,r.Tg)(e(s,i(e)(t))),u?(u.unsubscribe(),u=null,o.subscribe(n)):c=!0})),c&&(u.unsubscribe(),u=null,o.subscribe(n))})}},3290:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});const r=n(1655).A},3422:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r=(0,n(7653).L)(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"})},3458:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(6702),s=n(9132);function o(e,t=1/0,n){return t=(t||0)<1?1/0:t,(0,r.N)((r,o)=>(0,s.h)(r,o,e,t,void 0,!0,n))}},3479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(7653).L)(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t})},3685:(e,t,n)=>{"use strict";n.d(t,{I:()=>o,k:()=>i});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)(i(e,t,"value"))}function i(e,t,n){const r="index"===n;return(n,o)=>{let i=0;n.subscribe((0,s._)(o,s=>{const u=i++;e.call(t,s,u,n)&&(o.next(r?u:s),o.complete())},()=>{o.next(r?-1:void 0),o.complete()}))}}},3713:(e,t,n)=>{"use strict";n.d(t,{Kn:()=>u,Uv:()=>c,yU:()=>i});var r=n(7007),s=n(3479),o=n(1276);class i{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const e of t)e.remove(this);else t.remove(this);const{initialTeardown:n}=this;if((0,r.T)(n))try{n()}catch(t){e=t instanceof s.Z?t.errors:[t]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const t of o)try{a(t)}catch(t){e=null!=e?e:[],t instanceof s.Z?e=[...e,...t.errors]:e.push(t)}}if(e)throw new s.Z(e)}}add(e){var t;if(e&&e!==this)if(this.closed)a(e);else{if(e instanceof i){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&(0,o.o)(t,e)}remove(e){const{_finalizers:t}=this;t&&(0,o.o)(t,e),e instanceof i&&e._removeParent(this)}}i.EMPTY=(()=>{const e=new i;return e.closed=!0,e})();const u=i.EMPTY;function c(e){return e instanceof i||e&&"closed"in e&&(0,r.T)(e.remove)&&(0,r.T)(e.add)&&(0,r.T)(e.unsubscribe)}function a(e){(0,r.T)(e)?e():e.unsubscribe()}},3773:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(3078),s=n(9732),o=n(2998),i=n(8981),u=n(5697);function c(e,t){if(e<0)throw new r.k;const n=arguments.length>=2;return c=>c.pipe((0,s.p)((t,n)=>n===e),(0,u.s)(1),n?(0,i.U)(t):(0,o.v)(()=>new r.k))}},3834:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3873:(e,t,n)=>{"use strict";function r(e,t,n,r=0,s=!1){const o=t.schedule(function(){n(),s?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!s)return o}n.d(t,{N:()=>r})},3878:(e,t,n)=>{"use strict";n.d(t,{Tg:()=>m});var r=n(5608),s=n(9257),o=n(9178),i=n(6857),u=n(5703),c=n(1801),a=n(6919),l=n(7773),d=n(2468),f=n(7007),h=n(5390),p=n(9774);function m(e){if(e instanceof i.c)return e;if(null!=e){if((0,u.l)(e))return v=e,new i.c(e=>{const t=v[p.s]();if((0,f.T)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if((0,s.X)(e))return m=e,new i.c(e=>{for(let t=0;t<m.length&&!e.closed;t++)e.next(m[t]);e.complete()});if((0,o.y)(e))return r=e,new i.c(e=>{r.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,h.m)});if((0,c.T)(e))return b(e);if((0,l.x)(e))return n=e,new i.c(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()});if((0,d.U)(e))return t=e,b((0,d.C)(t))}var t,n,r,m,v;throw(0,a.L)(e)}function b(e){return new i.c(t=>{(function(e,t){var n,s,o,i;return(0,r.sH)(this,void 0,void 0,function*(){try{for(n=(0,r.xN)(e);!(s=yield n.next()).done;){const e=s.value;if(t.next(e),t.closed)return}}catch(e){o={error:e}}finally{try{s&&!s.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(e=>t.error(e))})}},3918:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});const{isArray:r}=Array;function s(e){return 1===e.length&&r(e[0])?e[0]:e}},3938:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var r=n(3422),s=n(9732),o=n(2173),i=n(2998),u=n(8981),c=n(6781);function a(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,s.p)((t,n)=>e(t,n,a)):c.D,(0,o.o)(1),n?(0,u.U)(t):(0,i.v)(()=>new r.G))}},3941:(e,t,n)=>{"use strict";n.d(t,{U:()=>u});var r=n(6702),s=n(2464),o=n(3878),i=n(151);function u(e){return(0,r.N)((t,n)=>{let r=!1;const u=(0,s._)(n,()=>{null==u||u.unsubscribe(),r=!0},i.l);(0,o.Tg)(e).subscribe(u),t.subscribe((0,s._)(n,e=>r&&n.next(e)))})}},3995:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,s=>{e.call(t,s,o++,n)||(r.next(!1),r.complete())},()=>{r.next(!0),r.complete()}))})}},4079:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(2106),s=n(7007);function o(e,t){return(0,s.T)(t)?(0,r.H)(()=>e,t):(0,r.H)(()=>e)}},4417:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(6702),s=n(3685);function o(e,t){return(0,r.N)((0,s.k)(e,t,"index"))}},4476:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(5917),s=n(3193);function o(e){return(0,s.q)(r.y,e)}},4563:(e,t,n)=>{"use strict";n.d(t,{s:()=>d});var r=n(7290),s=n(5260),o=n(3713),i=n(6702),u=n(2464),c=n(1276),a=n(8918),l=n(3873);function d(e,...t){var n,d;const f=null!==(n=(0,a.lI)(t))&&void 0!==n?n:s.E,h=null!==(d=t[0])&&void 0!==d?d:null,p=t[1]||1/0;return(0,i.N)((t,n)=>{let s=[],i=!1;const a=e=>{const{window:t,subs:n}=e;t.complete(),n.unsubscribe(),(0,c.o)(s,e),i&&d()},d=()=>{if(s){const t=new o.yU;n.add(t);const i=new r.B,u={window:i,subs:t,seen:0};s.push(u),n.next(i.asObservable()),(0,l.N)(t,f,()=>a(u),e)}};null!==h&&h>=0?(0,l.N)(n,f,d,h,!0):i=!0,d();const m=e=>s.slice().forEach(e),b=e=>{m(({window:t})=>e(t)),e(n),n.unsubscribe()};return t.subscribe((0,u._)(n,e=>{m(t=>{t.window.next(e),p<=++t.seen&&a(t)})},()=>b(e=>e.complete()),e=>b(t=>t.error(e)))),()=>{s=null}})}},4677:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(108),s=n(6781);function o(e=1/0){return(0,r.Z)(s.D,e)}},4755:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});var r=n(1940);function s(e){return(0,r.T)((t,n,r)=>!e||e(n,r)?t+1:t,0)}},5011:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(3422),s=n(6968);function o(e,t){const n="object"==typeof t;return new Promise((o,i)=>{const u=new s.Ms({next:e=>{o(e),u.unsubscribe()},error:i,complete:()=>{n?o(t.defaultValue):i(new r.G)}});e.subscribe(u)})}},5017:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(7290),s=n(3878),o=n(6702),i=n(6857);const u={connector:()=>new r.B};function c(e,t=u){const{connector:n}=t;return(0,o.N)((t,r)=>{const o=n();var u;(0,s.Tg)(e((u=o,new i.c(e=>u.subscribe(e))))).subscribe(r),r.add(t.subscribe(o))})}},5062:(e,t,n)=>{"use strict";n.d(t,{J:()=>l});var r=n(7290),s=n(3713),o=n(6702),i=n(3878),u=n(2464),c=n(151),a=n(1276);function l(e,t){return(0,o.N)((n,o)=>{const l=[],d=e=>{for(;0<l.length;)l.shift().error(e);o.error(e)};(0,i.Tg)(e).subscribe((0,u._)(o,e=>{const n=new r.B;l.push(n);const f=new s.yU;let h;try{h=(0,i.Tg)(t(e))}catch(e){return void d(e)}o.next(n.asObservable()),f.add(h.subscribe((0,u._)(o,()=>{(0,a.o)(l,n),n.complete(),f.unsubscribe()},c.l,d)))},c.l)),n.subscribe((0,u._)(o,e=>{const t=l.slice();for(const n of t)n.next(e)},()=>{for(;0<l.length;)l.shift().complete();o.complete()},d,()=>{for(;0<l.length;)l.shift().unsubscribe()}))})}},5128:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(1897),s=n(3002);function o(e=r.U){return(0,s.T)(t=>({value:t,timestamp:e.now()}))}},5159:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(1897);class s{constructor(e,t=s.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,n){return new this.schedulerActionCtor(this,e).schedule(n,t)}}s.now=r.U.now},5194:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(3002);const{isArray:s}=Array;function o(e){return(0,r.T)(t=>function(e,t){return s(t)?e(...t):e(t)}(e,t))}},5199:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(7290),s=n(9066),o=n(5017);function i(e){return e?t=>(0,o.N)(e)(t):e=>(0,s.f)(new r.B)(e)}},5260:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,b:()=>o});var r=n(7078);const s=new(n(9771).q)(r.R),o=s},5296:(e,t,n)=>{"use strict";n.d(t,{r:()=>u});var r=n(6702),s=n(151),o=n(2464),i=n(3878);function u(e){return(0,r.N)((t,n)=>{let r=[];return t.subscribe((0,o._)(n,e=>r.push(e),()=>{n.next(r),n.complete()})),(0,i.Tg)(e).subscribe((0,o._)(n,()=>{const e=r;r=[],n.next(e)},s.l)),()=>{r=null}})}},5319:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(881),s=n(6702),o=n(6781);function i(...e){return e.length?(0,s.N)((t,n)=>{(0,r.w)([t,...e])(n)}):o.D}},5390:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(3834),s=n(7262);function o(e){s.f.setTimeout(()=>{const{onUnhandledError:t}=r.$;if(!t)throw e;t(e)})}},5524:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(7290);class s extends r.B{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:n}=this;if(e)throw t;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}},5601:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(6702),s=n(2464),o=n(3878),i=n(6781),u=n(151),c=n(8918);function a(...e){const t=(0,c.ms)(e);return(0,r.N)((n,r)=>{const c=e.length,a=new Array(c);let l=e.map(()=>!1),d=!1;for(let t=0;t<c;t++)(0,o.Tg)(e[t]).subscribe((0,s._)(r,e=>{a[t]=e,d||l[t]||(l[t]=!0,(d=l.every(i.D))&&(l=null))},u.l));n.subscribe((0,s._)(r,e=>{if(d){const n=[e,...a];r.next(t?t(...n):n)}}))})}},5608:(e,t,n)=>{"use strict";function r(e,t,n,r){return new(n||(n=Promise))(function(s,o){function i(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,u)}c((r=r.apply(e,t||[])).next())})}function s(e){return this instanceof s?(this.v=e,this):new s(e)}function o(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",function(e){return function(t){return Promise.resolve(t).then(e,l)}}),r[Symbol.asyncIterator]=function(){return this},r;function u(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){i.push([e,t,n,r])>1||c(e,t)})},t&&(r[e]=t(r[e])))}function c(e,t){try{(n=o[e](t)).value instanceof s?Promise.resolve(n.value.v).then(a,l):d(i[0][2],n)}catch(e){d(i[0][3],e)}var n}function a(e){c("next",e)}function l(e){c("throw",e)}function d(e,t){e(t),i.shift(),i.length&&c(i[0][0],i[0][1])}}function i(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,s){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,s,(t=e[n](t)).done,t.value)})}}}n.d(t,{AQ:()=>o,N3:()=>s,sH:()=>r,xN:()=>i}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},5697:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(6751),s=n(6702),o=n(2464);function i(e){return e<=0?()=>r.w:(0,s.N)((t,n)=>{let r=0;t.subscribe((0,o._)(n,t=>{++r<=e&&(n.next(t),e<=r&&n.complete())}))})}},5703:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(9774),s=n(7007);function o(e){return(0,s.T)(e[r.s])}},5761:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(6702);function s(e,t=0){return(0,r.N)((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}},5815:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(5260),s=n(2011),o=n(591);function i(e,t,n){let i,u,c;if(n=null!=n?n:r.b,(0,s.v)(e)?i=e:"number"==typeof e&&(u=e),!t)throw new TypeError("No observable provided to switch to");if(c=()=>t,null==i&&null==u)throw new TypeError("No timeout provided.");return(0,o.w)({first:i,each:u,scheduler:n,with:c})}},5853:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(6702),s=n(2464),o=n(151);function i(){return(0,r.N)((e,t)=>{e.subscribe((0,s._)(t,o.l))})}},5917:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(6857),s=n(3878),o=n(3918),i=n(6751),u=n(2464),c=n(8918);function a(...e){const t=(0,c.ms)(e),n=(0,o.K)(e);return n.length?new r.c(e=>{let r=n.map(()=>[]),o=n.map(()=>!1);e.add(()=>{r=o=null});for(let i=0;!e.closed&&i<n.length;i++)(0,s.Tg)(n[i]).subscribe((0,u._)(e,n=>{if(r[i].push(n),r.every(e=>e.length)){const n=r.map(e=>e.shift());e.next(t?t(...n):n),r.some((e,t)=>!e.length&&o[t])&&e.complete()}},()=>{o[i]=!0,!r[i].length&&e.complete()}));return()=>{r=o=null}}):i.w}},5927:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(3878),s=n(7290),o=n(6968),i=n(6702);function u(e={}){const{connector:t=()=>new s.B,resetOnError:n=!0,resetOnComplete:u=!0,resetOnRefCountZero:a=!0}=e;return e=>{let s,l,d,f=0,h=!1,p=!1;const m=()=>{null==l||l.unsubscribe(),l=void 0},b=()=>{m(),s=d=void 0,h=p=!1},v=()=>{const e=s;b(),null==e||e.unsubscribe()};return(0,i.N)((e,i)=>{f++,p||h||m();const g=d=null!=d?d:t();i.add(()=>{f--,0!==f||p||h||(l=c(v,a))}),g.subscribe(i),!s&&f>0&&(s=new o.Ms({next:e=>g.next(e),error:e=>{p=!0,m(),l=c(b,n,e),g.error(e)},complete:()=>{h=!0,m(),l=c(b,u),g.complete()}}),(0,r.Tg)(e).subscribe(s))})(e)}}function c(e,t,...n){if(!0===t)return void e();if(!1===t)return;const s=new o.Ms({next:()=>{s.unsubscribe(),e()}});return(0,r.Tg)(t(...n)).subscribe(s)}},6077:(e,t,n)=>{"use strict";n.d(t,{w:()=>l});var r=n(3713),s=n(6702),o=n(2464),i=n(1276),u=n(5260),c=n(8918),a=n(3873);function l(e,...t){var n,l;const d=null!==(n=(0,c.lI)(t))&&void 0!==n?n:u.E,f=null!==(l=t[0])&&void 0!==l?l:null,h=t[1]||1/0;return(0,s.N)((t,n)=>{let s=[],u=!1;const c=e=>{const{buffer:t,subs:r}=e;r.unsubscribe(),(0,i.o)(s,e),n.next(t),u&&l()},l=()=>{if(s){const t=new r.yU;n.add(t);const o={buffer:[],subs:t};s.push(o),(0,a.N)(t,d,()=>c(o),e)}};null!==f&&f>=0?(0,a.N)(n,d,l,f,!0):u=!0,l();const p=(0,o._)(n,e=>{const t=s.slice();for(const n of t){const{buffer:t}=n;t.push(e),h<=t.length&&c(n)}},()=>{for(;null==s?void 0:s.length;)n.next(s.shift().buffer);null==p||p.unsubscribe(),n.complete(),n.unsubscribe()},void 0,()=>s=null);t.subscribe(p)})}},6114:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(5260),s=n(7895),o=n(6231);function i(e,t=r.E){return(0,s.s)(()=>(0,o.O)(e,t))}},6231:(e,t,n)=>{"use strict";n.d(t,{O:()=>u});var r=n(6857),s=n(5260),o=n(6486),i=n(2011);function u(e=0,t,n=s.b){let u=-1;return null!=t&&((0,o.m)(t)?n=t:u=t),new r.c(t=>{let r=(0,i.v)(e)?+e-n.now():e;r<0&&(r=0);let s=0;return n.schedule(function(){t.closed||(t.next(s++),0<=u?this.schedule(void 0,u):t.complete())},r)})}},6261:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(5524),s=n(9817);function o(e){return t=>{const n=new r.t(e);return new s.G(t,()=>n)}}},6280:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(6643),s=n(8918),o=n(7348);function i(...e){return(0,r.K)()((0,o.H)(e,(0,s.lI)(e)))}},6358:(e,t,n)=>{"use strict";n.d(t,{l:()=>u});var r=n(3878),s=n(7290),o=n(6702),i=n(2464);function u(e){return(0,o.N)((t,n)=>{let o,u,c=!1;const a=()=>{o=t.subscribe((0,i._)(n,void 0,void 0,t=>{u||(u=new s.B,(0,r.Tg)(e(u)).subscribe((0,i._)(n,()=>o?a():c=!0))),u&&u.next(t)})),c&&(o.unsubscribe(),o=null,c=!1,a())};a()})}},6410:(e,t,n)=>{"use strict";function r(e,t){return(n,r)=>!e.call(t,n,r)}n.d(t,{A:()=>r})},6418:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});var r=n(3422),s=n(9732),o=n(5697),i=n(8981),u=n(2998),c=n(6781);function a(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,s.p)((t,n)=>e(t,n,a)):c.D,(0,o.s)(1),n?(0,i.U)(t):(0,u.v)(()=>new r.G))}},6428:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(6280),s=n(8918),o=n(6702);function i(...e){const t=(0,s.lI)(e);return(0,o.N)((n,s)=>{(t?(0,r.x)(e,n,t):(0,r.x)(e,n)).subscribe(s)})}},6486:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(7007);function s(e){return e&&(0,r.T)(e.schedule)}},6569:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});const{isArray:r}=Array,{getPrototypeOf:s,prototype:o,keys:i}=Object;function u(e){if(1===e.length){const n=e[0];if(r(n))return{args:n,keys:null};if((t=n)&&"object"==typeof t&&s(t)===o){const e=i(n);return{args:e.map(e=>n[e]),keys:e}}}var t;return{args:e,keys:null}}},6592:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(6702),s=n(2464);function o(e,t=!1){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,n=>{const s=e(n,o++);(s||t)&&r.next(n),!s&&r.complete()}))})}},6643:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(4677);function s(){return(0,r.U)(1)}},6661:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var r=n(6751),s=n(6702),o=n(2464),i=n(3878),u=n(6231);function c(e){let t,n=1/0;return null!=e&&("object"==typeof e?({count:n=1/0,delay:t}=e):n=e),n<=0?()=>r.w:(0,s.N)((e,r)=>{let s,c=0;const a=()=>{if(null==s||s.unsubscribe(),s=null,null!=t){const e="number"==typeof t?(0,u.O)(t):(0,i.Tg)(t(c)),n=(0,o._)(r,()=>{n.unsubscribe(),l()});e.subscribe(n)}else l()},l=()=>{let t=!1;s=e.subscribe((0,o._)(r,void 0,()=>{++c<n?s?a():t=!0:r.complete()})),t&&a()};l()})}},6681:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(6702),s=n(2464);function o(){return(0,r.N)((e,t)=>{e.subscribe((0,s._)(t,()=>{t.next(!1),t.complete()},()=>{t.next(!0),t.complete()}))})}},6702:(e,t,n)=>{"use strict";n.d(t,{N:()=>o,S:()=>s});var r=n(7007);function s(e){return(0,r.T)(null==e?void 0:e.lift)}function o(e){return t=>{if(s(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}},6726:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(5260),s=n(6702),o=n(2464);function i(e=r.E){return(0,s.N)((t,n)=>{let r=e.now();t.subscribe((0,o._)(n,t=>{const s=e.now(),o=s-r;r=s,n.next(new u(t,o))}))})}class u{constructor(e,t){this.value=e,this.interval=t}}},6751:(e,t,n)=>{"use strict";n.d(t,{I:()=>o,w:()=>s});var r=n(6857);const s=new r.c(e=>e.complete());function o(e){return e?function(e){return new r.c(t=>e.schedule(()=>t.complete()))}(e):s}},6770:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(6702),s=n(2464);function o(){return(0,r.N)((e,t)=>{let n,r=!1;e.subscribe((0,s._)(t,e=>{const s=n;n=e,r&&t.next([s,e]),r=!0}))})}},6781:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{D:()=>r})},6807:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(6280),s=n(5697),o=n(5853),i=n(831),u=n(108),c=n(3878);function a(e,t){return t?n=>(0,r.x)(t.pipe((0,s.s)(1),(0,o.w)()),n.pipe(a(e))):(0,u.Z)((t,n)=>(0,c.Tg)(e(t,n)).pipe((0,s.s)(1),(0,i.u)(t)))}},6850:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(6702),s=n(2464);function o(){return(0,r.N)((e,t)=>{let n=null;e._refCount++;const r=(0,s._)(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const r=e._connection,s=n;n=null,!r||s&&r!==s||r.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}},6857:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(6968),s=n(3713),o=n(9774),i=n(2571),u=n(3834),c=n(7007),a=n(9442);class l{constructor(e){e&&(this._subscribe=e)}lift(e){const t=new l;return t.source=this,t.operator=e,t}subscribe(e,t,n){const o=(i=e)&&i instanceof r.vU||function(e){return e&&(0,c.T)(e.next)&&(0,c.T)(e.error)&&(0,c.T)(e.complete)}(i)&&(0,s.Uv)(i)?e:new r.Ms(e,t,n);var i;return(0,a.Y)(()=>{const{operator:e,source:t}=this;o.add(e?e.call(o,t):t?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return new(t=d(t))((t,n)=>{const s=new r.Ms({next:t=>{try{e(t)}catch(e){n(e),s.unsubscribe()}},error:n,complete:t});this.subscribe(s)})}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[o.s](){return this}pipe(...e){return(0,i.m)(e)(this)}toPromise(e){return new(e=d(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}function d(e){var t;return null!==(t=null!=e?e:u.$.Promise)&&void 0!==t?t:Promise}l.create=e=>new l(e)},6919:(e,t,n)=>{"use strict";function r(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(t,{L:()=>r})},6968:(e,t,n)=>{"use strict";n.d(t,{Ms:()=>b,vU:()=>f});var r=n(7007),s=n(3713),o=n(3834),i=n(5390),u=n(151);const c=a("C",void 0,void 0);function a(e,t,n){return{kind:e,value:t,error:n}}var l=n(7262),d=n(9442);class f extends s.yU{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,(0,s.Uv)(e)&&e.add(this)):this.destination=y}static create(e,t,n){return new b(e,t,n)}next(e){this.isStopped?g(function(e){return a("N",e,void 0)}(e),this):this._next(e)}error(e){this.isStopped?g(a("E",void 0,e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?g(c,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const h=Function.prototype.bind;function p(e,t){return h.call(e,t)}class m{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(e){v(e)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(e){v(e)}else v(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(e){v(e)}}}class b extends f{constructor(e,t,n){let s;if(super(),(0,r.T)(e)||!e)s={next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0};else{let t;this&&o.$.useDeprecatedNextContext?(t=Object.create(e),t.unsubscribe=()=>this.unsubscribe(),s={next:e.next&&p(e.next,t),error:e.error&&p(e.error,t),complete:e.complete&&p(e.complete,t)}):s=e}this.destination=new m(s)}}function v(e){o.$.useDeprecatedSynchronousErrorHandling?(0,d.l)(e):(0,i.m)(e)}function g(e,t){const{onStoppedNotification:n}=o.$;n&&l.f.setTimeout(()=>n(e,t))}const y={closed:!0,next:u.l,error:function(e){throw e},complete:u.l}},7007:(e,t,n)=>{"use strict";function r(e){return"function"==typeof e}n.d(t,{T:()=>r})},7026:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var r=n(772),s=n(6702),o=n(3918),i=n(5194),u=n(2571),c=n(8918);function a(...e){const t=(0,c.ms)(e);return t?(0,u.F)(a(...e),(0,i.I)(t)):(0,s.N)((t,n)=>{(0,r.P)([t,...(0,o.K)(e)])(n)})}},7036:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(7290);class s extends r.B{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(e){const{hasError:t,_hasValue:n,_value:r,thrownError:s,isStopped:o,_isComplete:i}=this;t?e.error(s):(o||i)&&(n&&e.next(r),e.complete())}next(e){this.isStopped||(this._value=e,this._hasValue=!0)}complete(){const{_hasValue:e,_value:t,_isComplete:n}=this;n||(this._isComplete=!0,e&&super.next(t),super.complete())}}},7037:(e,t,n)=>{"use strict";n.r(t),n.d(t,{audit:()=>r.s,auditTime:()=>s.Z,buffer:()=>o.r,bufferCount:()=>i.S,bufferTime:()=>u.w,bufferToggle:()=>c.H,bufferWhen:()=>a.n,catchError:()=>l.W,combineAll:()=>d.p,combineLatest:()=>h.z,combineLatestAll:()=>f.A,combineLatestWith:()=>p.v,concat:()=>m.x,concatAll:()=>b.K,concatMap:()=>v.H,concatMapTo:()=>g.S,concatWith:()=>y.$,connect:()=>w.N,count:()=>x.U,debounce:()=>N.s,debounceTime:()=>T.B,defaultIfEmpty:()=>_.U,delay:()=>C.c,delayWhen:()=>E.o,dematerialize:()=>P.Z,distinct:()=>S.d,distinctUntilChanged:()=>O.F,distinctUntilKeyChanged:()=>A.w,elementAt:()=>M.s,endWith:()=>I.q,every:()=>R.S,exhaust:()=>j.B,exhaustAll:()=>$.C,exhaustMap:()=>k.p,expand:()=>L.f,filter:()=>q.p,finalize:()=>F.j,find:()=>D.I,findIndex:()=>U.S,first:()=>W.$,flatMap:()=>Q.q,groupBy:()=>B.$,ignoreElements:()=>H.w,isEmpty:()=>z.I,last:()=>V.H,map:()=>J.T,mapTo:()=>K.u,materialize:()=>Z.O,max:()=>G.T,merge:()=>Y.h,mergeAll:()=>X.U,mergeMap:()=>ee.Z,mergeMapTo:()=>te.C,mergeScan:()=>ne.i,mergeWith:()=>re.X,min:()=>se.j,multicast:()=>oe.f,observeOn:()=>ie.Q,onErrorResumeNext:()=>ue.g,pairwise:()=>ce.J,partition:()=>le,pluck:()=>de.E,publish:()=>fe.m,publishBehavior:()=>he.K,publishLast:()=>pe.k,publishReplay:()=>me.H,race:()=>ge,raceWith:()=>ve.w,reduce:()=>ye.T,refCount:()=>_e.B,repeat:()=>we.u,repeatWhen:()=>xe.Y,retry:()=>Ne.L,retryWhen:()=>Te.l,sample:()=>Ce.X,sampleTime:()=>Ee.q,scan:()=>Pe.S,sequenceEqual:()=>Se.m,share:()=>Oe.u,shareReplay:()=>Ae.t,single:()=>Me.J,skip:()=>Ie.i,skipLast:()=>Re.G,skipUntil:()=>je.U,skipWhile:()=>$e.j,startWith:()=>ke.Z,subscribeOn:()=>Le._,switchAll:()=>qe.w,switchMap:()=>Fe.n,switchMapTo:()=>De.K,switchScan:()=>Ue.m,take:()=>We.s,takeLast:()=>Be.o,takeUntil:()=>He.Q,takeWhile:()=>ze.v,tap:()=>Ve.M,throttle:()=>Je.n,throttleTime:()=>Ke.c,throwIfEmpty:()=>Ze.v,timeInterval:()=>Ge.f,timeout:()=>Ye.w,timeoutWith:()=>Xe.o,timestamp:()=>Qe.v,toArray:()=>et.$,window:()=>tt.x,windowCount:()=>nt.k,windowTime:()=>rt.s,windowToggle:()=>st.J,windowWhen:()=>ot.p,withLatestFrom:()=>it.E,zip:()=>ut.y,zipAll:()=>ct.x,zipWith:()=>at.O});var r=n(7895),s=n(6114),o=n(5296),i=n(8501),u=n(6077),c=n(8812),a=n(8236),l=n(3285),d=n(3290),f=n(1655),h=n(7026),p=n(478),m=n(9878),b=n(6643),v=n(2106),g=n(4079),y=n(626),w=n(5017),x=n(4755),N=n(9013),T=n(848),_=n(8981),C=n(8631),E=n(6807),P=n(9500),S=n(1374),O=n(2950),A=n(1885),M=n(3773),I=n(1457),R=n(3995),j=n(9158),$=n(931),k=n(3210),L=n(3458),q=n(9732),F=n(1724),D=n(3685),U=n(4417),W=n(6418),B=n(8722),H=n(5853),z=n(6681),V=n(3938),J=n(3002),K=n(831),Z=n(9237),G=n(7170),Y=n(2124),X=n(4677),Q=n(51),ee=n(108),te=n(7309),ne=n(8361),re=n(4),se=n(2668),oe=n(9066),ie=n(1013),ue=n(2939),ce=n(6770),ae=n(6410);function le(e,t){return n=>[(0,q.p)(e,t)(n),(0,q.p)((0,ae.A)(e,t))(n)]}var de=n(8053),fe=n(5199),he=n(6261),pe=n(111),me=n(9532),be=n(3918),ve=n(5319);function ge(...e){return(0,ve.w)(...(0,be.K)(e))}var ye=n(1940),we=n(6661),xe=n(7429),Ne=n(8170),Te=n(6358),_e=n(6850),Ce=n(2700),Ee=n(609),Pe=n(9388),Se=n(8327),Oe=n(5927),Ae=n(1860),Me=n(2994),Ie=n(7893),Re=n(7121),je=n(3941),$e=n(7716),ke=n(6428),Le=n(5761),qe=n(7391),Fe=n(2590),De=n(9187),Ue=n(203),We=n(5697),Be=n(2173),He=n(57),ze=n(6592),Ve=n(1205),Je=n(238),Ke=n(2891),Ze=n(2998),Ge=n(6726),Ye=n(591),Xe=n(5815),Qe=n(5128),et=n(7594),tt=n(7302),nt=n(1571),rt=n(4563),st=n(5062),ot=n(1530),it=n(5601),ut=n(963),ct=n(4476),at=n(8923)},7078:(e,t,n)=>{"use strict";n.d(t,{R:()=>u});var r=n(3713);class s extends r.yU{constructor(e,t){super()}schedule(e,t=0){return this}}const o={setInterval(e,t,...n){const{delegate:r}=o;return(null==r?void 0:r.setInterval)?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=o;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var i=n(1276);class u extends s{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var n;if(this.closed)return this;this.state=e;const r=this.id,s=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(s,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(s,this.id,t),this}requestAsyncId(e,t,n=0){return o.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&o.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,r=!1;try{this.work(e)}catch(e){r=!0,n=e||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,(0,i.o)(n,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}},7121:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(6781),s=n(6702),o=n(2464);function i(e){return e<=0?r.D:(0,s.N)((t,n)=>{let r=new Array(e),s=0;return t.subscribe((0,o._)(n,t=>{const o=s++;if(o<e)r[o]=t;else{const s=o%e,i=r[s];r[s]=t,n.next(i)}})),()=>{r=null}})}},7170:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(1940),s=n(7007);function o(e){return(0,r.T)((0,s.T)(e)?(t,n)=>e(t,n)>0?t:n:(e,t)=>e>t?e:t)}},7262:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});const r={setTimeout(e,t,...n){const{delegate:s}=r;return(null==s?void 0:s.setTimeout)?s.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=r;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},7290:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var r=n(6857),s=n(3713),o=n(2965),i=n(1276),u=n(9442);class c extends r.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const t=new a(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new o.P}next(e){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(e)}})}error(e){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:t,isStopped:n,observers:r}=this;return t||n?s.Kn:(this.currentObservers=null,r.push(e),new s.yU(()=>{this.currentObservers=null,(0,i.o)(r,e)}))}_checkFinalizedStatuses(e){const{hasError:t,thrownError:n,isStopped:r}=this;t?e.error(n):r&&e.complete()}asObservable(){const e=new r.c;return e.source=this,e}}c.create=(e,t)=>new a(e,t);class a extends c{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)}error(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:s.Kn}}},7302:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var r=n(7290),s=n(6702),o=n(2464),i=n(151),u=n(3878);function c(e){return(0,s.N)((t,n)=>{let s=new r.B;n.next(s.asObservable());const c=e=>{s.error(e),n.error(e)};return t.subscribe((0,o._)(n,e=>null==s?void 0:s.next(e),()=>{s.complete(),n.complete()},c)),(0,u.Tg)(e).subscribe((0,o._)(n,()=>{s.complete(),n.next(s=new r.B)},i.l,c)),()=>{null==s||s.unsubscribe(),s=null}})}},7309:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(108),s=n(7007);function o(e,t,n=1/0){return(0,s.T)(t)?(0,r.Z)(()=>e,t,n):("number"==typeof t&&(n=t),(0,r.Z)(()=>e,n))}},7348:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(3172),s=n(3878);function o(e,t){return t?(0,r.c)(e,t):(0,s.Tg)(e)}},7391:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(2590),s=n(6781);function o(){return(0,r.n)(s.D)}},7429:(e,t,n)=>{"use strict";n.d(t,{Y:()=>u});var r=n(3878),s=n(7290),o=n(6702),i=n(2464);function u(e){return(0,o.N)((t,n)=>{let o,u,c=!1,a=!1,l=!1;const d=()=>l&&a&&(n.complete(),!0),f=()=>{l=!1,o=t.subscribe((0,i._)(n,void 0,()=>{l=!0,!d()&&(u||(u=new s.B,(0,r.Tg)(e(u)).subscribe((0,i._)(n,()=>{o?f():c=!0},()=>{a=!0,d()}))),u).next()})),c&&(o.unsubscribe(),o=null,c=!1,f())};f()})}},7594:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(1940),s=n(6702);const o=(e,t)=>(e.push(t),e);function i(){return(0,s.N)((e,t)=>{(0,r.T)(o,[])(e).subscribe(t)})}},7618:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var r=n(6857),s=n(7007);function o(e,t){const n=(0,s.T)(e)?e:()=>e,o=e=>e.error(n());return new r.c(t?e=>t.schedule(o,0,e):o)}},7653:(e,t,n)=>{"use strict";function r(e){const t=e(e=>{Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{L:()=>r})},7716:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(6702),s=n(2464);function o(e){return(0,r.N)((t,n)=>{let r=!1,o=0;t.subscribe((0,s._)(n,t=>(r||(r=!e(t,o++)))&&n.next(t)))})}},7773:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(9553),s=n(7007);function o(e){return(0,s.T)(null==e?void 0:e[r.l])}},7893:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(9732);function s(e){return(0,r.p)((t,n)=>e<=n)}},7895:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(6702),s=n(3878),o=n(2464);function i(e){return(0,r.N)((t,n)=>{let r=!1,i=null,u=null,c=!1;const a=()=>{if(null==u||u.unsubscribe(),u=null,r){r=!1;const e=i;i=null,n.next(e)}c&&n.complete()},l=()=>{u=null,c&&n.complete()};t.subscribe((0,o._)(n,t=>{r=!0,i=t,u||(0,s.Tg)(e(t)).subscribe(u=(0,o._)(n,a,l))},()=>{c=!0,(!r||!u||u.closed)&&n.complete()}))})}},7947:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(7290),s=n(1897);class o extends r.B{constructor(e=1/0,t=1/0,n=s.U){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){const{isStopped:t,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:s,_windowTime:o}=this;t||(n.push(e),!r&&n.push(s.now()+o)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,s=r.slice();for(let t=0;t<s.length&&!e.closed;t+=n?1:2)e.next(s[t]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){const{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:r}=this,s=(r?1:2)*e;if(e<1/0&&s<n.length&&n.splice(0,n.length-s),!r){const e=t.now();let r=0;for(let t=1;t<n.length&&n[t]<=e;t+=2)r=t;r&&n.splice(0,r+1)}}}},7985:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var r=n(2464);function s(e,t,n,s,o){return(i,u)=>{let c=n,a=t,l=0;i.subscribe((0,r._)(u,t=>{const n=l++;a=c?e(a,t,n):(c=!0,t),s&&u.next(a)},o&&(()=>{c&&u.next(a),u.complete()})))}}},8053:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(3002);function s(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return(0,r.T)(n=>{let r=n;for(let n=0;n<t;n++){const t=null==r?void 0:r[e[n]];if(void 0===t)return;r=t}return r})}},8170:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var r=n(6702),s=n(2464),o=n(6781),i=n(6231),u=n(3878);function c(e=1/0){let t;t=e&&"object"==typeof e?e:{count:e};const{count:n=1/0,delay:c,resetOnSuccess:a=!1}=t;return n<=0?o.D:(0,r.N)((e,t)=>{let r,o=0;const l=()=>{let d=!1;r=e.subscribe((0,s._)(t,e=>{a&&(o=0),t.next(e)},void 0,e=>{if(o++<n){const n=()=>{r?(r.unsubscribe(),r=null,l()):d=!0};if(null!=c){const r="number"==typeof c?(0,i.O)(c):(0,u.Tg)(c(e,o)),a=(0,s._)(t,()=>{a.unsubscribe(),n()},()=>{t.complete()});r.subscribe(a)}else n()}else t.error(e)})),d&&(r.unsubscribe(),r=null,l())};l()})}},8236:(e,t,n)=>{"use strict";n.d(t,{n:()=>u});var r=n(6702),s=n(151),o=n(2464),i=n(3878);function u(e){return(0,r.N)((t,n)=>{let r=null,u=null;const c=()=>{null==u||u.unsubscribe();const t=r;r=[],t&&n.next(t),(0,i.Tg)(e()).subscribe(u=(0,o._)(n,c,s.l))};c(),t.subscribe((0,o._)(n,e=>null==r?void 0:r.push(e),()=>{r&&n.next(r),n.complete()},void 0,()=>r=u=null))})}},8327:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(6702),s=n(2464),o=n(3878);function i(e,t=(e,t)=>e===t){return(0,r.N)((n,r)=>{const i={buffer:[],complete:!1},u={buffer:[],complete:!1},c=e=>{r.next(e),r.complete()},a=(e,n)=>{const o=(0,s._)(r,r=>{const{buffer:s,complete:o}=n;0===s.length?o?c(!1):e.buffer.push(r):!t(r,s.shift())&&c(!1)},()=>{e.complete=!0;const{complete:t,buffer:r}=n;t&&c(0===r.length),null==o||o.unsubscribe()});return o};n.subscribe(a(i,u)),(0,o.Tg)(e).subscribe(a(u,i))})}},8361:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(6702),s=n(9132);function o(e,t,n=1/0){return(0,r.N)((r,o)=>{let i=t;return(0,s.h)(r,o,(t,n)=>e(i,t,n),n,e=>{i=e},!1,void 0,()=>i=null)})}},8501:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(6702),s=n(2464),o=n(1276);function i(e,t=null){return t=null!=t?t:e,(0,r.N)((n,r)=>{let i=[],u=0;n.subscribe((0,s._)(r,n=>{let s=null;u++%t===0&&i.push([]);for(const t of i)t.push(n),e<=t.length&&(s=null!=s?s:[],s.push(t));if(s)for(const e of s)(0,o.o)(i,e),r.next(e)},()=>{for(const e of i)r.next(e);r.complete()},void 0,()=>{i=null}))})}},8631:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(5260),s=n(6807),o=n(6231);function i(e,t=r.E){const n=(0,o.O)(e,t);return(0,s.o)(()=>n)}},8722:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var r=n(6857),s=n(3878),o=n(7290),i=n(6702),u=n(2464);function c(e,t,n,c){return(0,i.N)((i,a)=>{let l;t&&"function"!=typeof t?({duration:n,element:l,connector:c}=t):l=t;const d=new Map,f=e=>{d.forEach(e),e(a)},h=e=>f(t=>t.error(e));let p=0,m=!1;const b=new u.H(a,t=>{try{const i=e(t);let f=d.get(i);if(!f){d.set(i,f=c?c():new o.B);const e=function(e,t){const n=new r.c(e=>{p++;const n=t.subscribe(e);return()=>{n.unsubscribe(),0===--p&&m&&b.unsubscribe()}});return n.key=e,n}(i,f);if(a.next(e),n){const t=(0,u._)(f,()=>{f.complete(),null==t||t.unsubscribe()},void 0,void 0,()=>d.delete(i));b.add((0,s.Tg)(n(e)).subscribe(t))}}f.next(l?l(t):t)}catch(e){h(e)}},()=>f(e=>e.complete()),h,()=>d.clear(),()=>(m=!0,0===p));i.subscribe(b)})}},8812:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var r=n(3713),s=n(6702),o=n(3878),i=n(2464),u=n(151),c=n(1276);function a(e,t){return(0,s.N)((n,s)=>{const a=[];(0,o.Tg)(e).subscribe((0,i._)(s,e=>{const n=[];a.push(n);const l=new r.yU;l.add((0,o.Tg)(t(e)).subscribe((0,i._)(s,()=>{(0,c.o)(a,n),s.next(n),l.unsubscribe()},u.l)))},u.l)),n.subscribe((0,i._)(s,e=>{for(const t of a)t.push(e)},()=>{for(;a.length>0;)s.next(a.shift());s.complete()}))})}},8918:(e,t,n)=>{"use strict";n.d(t,{R0:()=>c,lI:()=>u,ms:()=>i});var r=n(7007),s=n(6486);function o(e){return e[e.length-1]}function i(e){return(0,r.T)(o(e))?e.pop():void 0}function u(e){return(0,s.m)(o(e))?e.pop():void 0}function c(e,t){return"number"==typeof o(e)?e.pop():t}},8923:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(963);function s(...e){return(0,r.y)(...e)}},8981:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(6702),s=n(2464);function o(e){return(0,r.N)((t,n)=>{let r=!1;t.subscribe((0,s._)(n,e=>{r=!0,n.next(e)},()=>{r||n.next(e),n.complete()}))})}},9013:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var r=n(6702),s=n(151),o=n(2464),i=n(3878);function u(e){return(0,r.N)((t,n)=>{let r=!1,u=null,c=null;const a=()=>{if(null==c||c.unsubscribe(),c=null,r){r=!1;const e=u;u=null,n.next(e)}};t.subscribe((0,o._)(n,t=>{null==c||c.unsubscribe(),r=!0,u=t,c=(0,o._)(n,a,s.l),(0,i.Tg)(e(t)).subscribe(c)},()=>{a(),n.complete()},void 0,()=>{u=c=null}))})}},9066:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(9817),s=n(7007),o=n(5017);function i(e,t){const n=(0,s.T)(e)?e:()=>e;return(0,s.T)(t)?(0,o.N)(t,{connector:n}):e=>new r.G(e,n)}},9132:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(3878),s=n(3873),o=n(2464);function i(e,t,n,i,u,c,a,l){const d=[];let f=0,h=0,p=!1;const m=()=>{!p||d.length||f||t.complete()},b=e=>f<i?v(e):d.push(e),v=e=>{c&&t.next(e),f++;let l=!1;(0,r.Tg)(n(e,h++)).subscribe((0,o._)(t,e=>{null==u||u(e),c?b(e):t.next(e)},()=>{l=!0},void 0,()=>{if(l)try{for(f--;d.length&&f<i;){const e=d.shift();a?(0,s.N)(t,a,()=>v(e)):v(e)}m()}catch(e){t.error(e)}}))};return e.subscribe((0,o._)(t,b,()=>{p=!0,m()})),()=>{null==l||l()}}},9158:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});const r=n(931).C},9178:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var r=n(7007);function s(e){return(0,r.T)(null==e?void 0:e.then)}},9187:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(2590),s=n(7007);function o(e,t){return(0,s.T)(t)?(0,r.n)(()=>e,t):(0,r.n)(()=>e)}},9237:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(1227),s=n(6702),o=n(2464);function i(){return(0,s.N)((e,t)=>{e.subscribe((0,o._)(t,e=>{t.next(r.Eg.createNext(e))},()=>{t.next(r.Eg.createComplete()),t.complete()},e=>{t.next(r.Eg.createError(e)),t.complete()}))})}},9257:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},9388:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(6702),s=n(7985);function o(e,t){return(0,r.N)((0,s.S)(e,t,arguments.length>=2,!0))}},9442:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o,l:()=>i});var r=n(3834);let s=null;function o(e){if(r.$.useDeprecatedSynchronousErrorHandling){const t=!s;if(t&&(s={errorThrown:!1,error:null}),e(),t){const{errorThrown:e,error:t}=s;if(s=null,e)throw t}}else e()}function i(e){r.$.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=e)}},9500:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1227),s=n(6702),o=n(2464);function i(){return(0,s.N)((e,t)=>{e.subscribe((0,o._)(t,e=>(0,r.gV)(e,t)))})}},9532:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});var r=n(7947),s=n(9066),o=n(7007);function i(e,t,n,i){n&&!(0,o.T)(n)&&(i=n);const u=(0,o.T)(n)?n:void 0;return n=>(0,s.f)(new r.m(e,t,i),u)(n)}},9553:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},9576:(e,t,n)=>{var r;self,r=()=>(()=>{"use strict";var e={842:()=>{!function(e){function t(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}"function"!=typeof e.CustomEvent&&(t.prototype=e.Event.prototype,e.CustomEvent=t)}(window)}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};function o(e){return(e.charAt(0)+e.slice(1).replace(/([A-Z])/g,"-$&")).toLowerCase()}r.r(s),r.d(s,{createSetupElement:()=>f,generateCustomElementWrapper:()=>d,makeGenericEffectsDriver:()=>p});var i=1e3;const u=n(1950),c=n(755);function a(e,t,n,r,s){var o=t.replace(/-([a-z])/gi,function(e,t){return t.toUpperCase()});e[o]=r.map(function(e){var t=e.get(o),r=n;return t&&t.reflectAs&&n&&(r=t.reflectAs(n)),t&&t.reflectAs===Boolean&&(r=""===n),s&&(s[o]=r),r}).withDefault(n)}const l=n(7037);function d(e,t){var n,r,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{useShadowDOM:!0},l=s.useShadowDOM?c.Maybe.just(function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=!!window.HTMLTemplateElement;return t=r?function(e){var t=document.createElement("template");return t.innerHTML="<style>".concat(e,'</style><div class="root"></div>'),t.content}(n):function(e){var t=document.createDocumentFragment(),n=document.createElement("style");n.appendChild(document.createTextNode(e));var r=document.createElement("div");return r.className="root",t.appendChild(n),t.appendChild(r),t}(n),function(e){if(e.shadowRoot)return e.shadowRoot.querySelector("div");e.attachShadow?e.attachShadow({mode:"open"}):Object.assign(e,{shadowRoot:e});var s=document.importNode(t,!0);r||(s.querySelector("style").sheet.cssText=n);var o=e.shadowRoot;return o.appendChild(s),o.querySelector("div")}}(e,s.css)):c.Maybe.nothing(),d=Array.isArray(s.props)?c.Maybe.just((n=s.props,{fnHashByName:r=n.reduce(function(e,t){return e.set(t.name,t),e},new Map),hooks:{init:function(e){e.__innerProps$=new u.BehaviorSubject({})},connectedCallback:function(e){var t,n,s,o,i,u=e.__innerProps$.getValue(),l=Object.assign({},u);e.constructor.observedAttributes.forEach(function(t){null!==e.getAttribute(t)&&a(e,t,e.getAttribute(t),c.Maybe.just(r),l)}),t=u,n=l,s=!0,o=Object.keys(t),i=Object.keys(n),o.length===i.length&&(o.forEach(function(e){n.hasOwnProperty(e)&&t[e]===n[e]||(s=!1)}),s)||e.__innerProps$.next(l)},classSetup:function(e){Object.assign(e,{observedAttributes:n.filter(function(e){return e.reflectAs}).map(function(e){return e.name}).map(o)}),n.forEach(function(t){Object.defineProperty(e.prototype,t.name,{get:function(){return this.__innerProps$.getValue()[t.name]},set:function(n){if(this.__innerProps$.getValue()[t.name]!==n){var r=o(t.name),s=e.observedAttributes.includes(r);s&&(!0===n?this.setAttribute(r,""):n||0===n||""===n?this.setAttribute(r,String(n)):this.removeAttribute(r)),!this.__attached&&s&&!1!==n||(this.__innerProps$.getValue()[t.name]=n,this.__innerProps$.next(this.__innerProps$.getValue()))}}})})}}})):c.Maybe.nothing(),f=function(){var e=Reflect.construct(HTMLElement,[],f);return s.prototypeExtensions&&Object.keys(s.prototypeExtensions).forEach(function(t){e[t]||(e[t]=s.prototypeExtensions[t])}),e.__onTeardown=[],e.__onAttached=[],e.__guid=i++,d.map(function(t){return(0,t.hooks.init)(e)}),l.map(function(t){return t(e)}).map(function(n){var r=c.Maybe.maybe(e.__innerProps$).map(function(n){return t(e,n)}).withDefaultFn(function(){return t(e)});h(e,n,r),e.__shadowAppBooted=!0}),e};return function(e){try{Object.defineProperty(e,"is",{value:name,writable:!1}),Object.defineProperty(e,"localName",{value:name,writable:!1})}catch(e){}}(f),f.prototype=Object.create(HTMLElement.prototype,{component:{writable:!0,enumerable:!0},constructor:{value:f},connectedCallback:{writable:!0,value:function(){var e=this;this.dataset.guid="".concat(this.__guid),s.useShadowDOM&&this.__shadowAppBooted||(l.map(function(t){return t(e)}).alt(c.Maybe.just(this)).map(function(n){var r=c.Maybe.maybe(e.__innerProps$).map(function(n){return t(e,n)}).withDefaultFn(function(){return t(e)});h(e,n,r)}),this.__shadowAppBooted=!0),d.map(function(t){(0,t.hooks.connectedCallback)(e)}),this.__attached=!0,this.__onAttached.forEach(function(t){return t.call(e)})}},disconnectedCallback:{writable:!0,value:function(){var e=this;this.__onTeardown.reverse().forEach(function(t){return t.call(e)}),this.__innerProps$&&(this.__innerProps$.complete(),this.__innerProps$=void 0),this.__onTeardown=[],this.__onAttached=[],this.__attached=!1,this.__shadowAppBooted=!1}},attributeChangedCallback:{writable:!0,value:function(e,t,n){t!==n&&this.__attached&&a(this,e,n,d.map(function(e){return e.fnHashByName}))}}}),d.map(function(e){return(0,e.hooks.classSetup)(f)}),f}function f(e){return function(t){return function(n){var r=function(){window.customElements.get(n)||window.customElements.define(n,e(n,t))};window.customElements?r():(0,u.interval)(5).pipe((0,l.filter)(function(){return!!window.customElements}),(0,l.take)(1)).toPromise().then(function(){r()})}}}function h(e,t,n){var r=document.createElement("div");t.appendChild(r);var s=n.DOM$.subscribe(function(e){t.firstChild&&t.isConnected&&t.replaceChild(e,t.firstChild)}),o=n.settled$.subscribe(function(t){e.settled=t,t&&e.dispatchEvent(new CustomEvent("settled"))}),i=n.teardown$.subscribe(function(t){e.__onTeardown.push(t)});e.__onTeardown.push(function(){n.DOM$.complete(),n.settled$.complete(),n.teardown$.complete(),[s,o,i].forEach(function(e){return e.unsubscribe()})})}function p(e){return function(t){t.subscribe({next:function(t){t(e)},error:function(){},complete:function(){}})}}return r(842),s})(),e.exports=r()},9732:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,n=>e.call(t,n,o++)&&r.next(n)))})}},9771:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var r=n(5159);class s extends r._{constructor(e,t=r._.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},9774:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},9817:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var r=n(6857),s=n(3713),o=n(6850),i=n(2464),u=n(6702);class c extends r.c{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,(0,u.S)(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,null==e||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new s.yU;const t=this.getSubject();e.add(this.source.subscribe((0,i._)(t,void 0,()=>{this._teardown(),t.complete()},e=>{this._teardown(),t.error(e)},()=>this._teardown()))),e.closed&&(this._connection=null,e=s.yU.EMPTY)}return e}refCount(){return(0,o.B)()(this)}}},9878:(e,t,n)=>{"use strict";n.d(t,{x:()=>u});var r=n(6702),s=n(6643),o=n(8918),i=n(7348);function u(...e){const t=(0,o.lI)(e);return(0,r.N)((n,r)=>{(0,s.K)()((0,i.H)([n,...e],t)).subscribe(r)})}}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";function e(t,n){Object.keys(n).forEach(r=>{if(!Array.isArray(n[r])&&!Array.isArray(t[r])&&t.hasOwnProperty(r)&&"object"==typeof n[r])return e(t[r],n[r]);t[r]=n[r]})}n.r(r),n.d(r,{init:()=>ie});var t=n(2774),s=n(5011),o=n(9732),i=n(3002),u=n(755);function c(e,t,n,r,s=null,o="success"){const i=window.isTestingTecton?window:e;null==i||i.postMessage({tectonic:!0,value:r.withDefault(""),status:o,type:t,protocol:n,guid:s},"*")}function a(e,t){c(window.parent,e,"MESSAGE",t)}function l(e,t){c(window,e,"BROADCAST",t),window.isTestingTecton||Array.prototype.slice.call(document.querySelectorAll("tecton-platform-outlet, tecton-outlet, tecton-tab-pane")).forEach(n=>{const r=n.shadowRoot&&n.shadowRoot.querySelector("iframe");if(null==r?void 0:r.contentWindow)switch(e){case"platformScrollChanged":case"platformSizeChanged":let{value:s}=Object.assign({},t);s=Object.assign(JSON.parse(s),{outletOffset:n.getBoundingClientRect().top}),c(r.contentWindow,e,"BROADCAST",new u.Maybe(JSON.stringify(s)));break;default:c(r.contentWindow,e,"BROADCAST",t)}})}class d{constructor(){this.messageNum=0,this.firehose$=(0,t.R)(window,"message").pipe((0,o.p)(e=>e.data.tectonic))}onMessage(e,t="MESSAGE",n=null){return function(e,t,n,r=null){return t.pipe((0,o.p)(t=>t.data.type===e&&(!r||t.data.guid===r)&&t.data.protocol===n),(0,i.T)(t=>{const n=t.data.value&&JSON.parse(t.data.value),r=t.source||(window.parent.location.origin===t.origin?window.parent:window.location.origin===t.origin?window:null);return"success"===t.data.status?{status:"success",value:n,sender:r,type:e,guid:t.data.guid}:{status:"error",message:n.message,sender:r,type:e,guid:t.data.guid}}))}(e,this.firehose$,t,n).pipe((0,i.T)(f))}sendRequest(e,t,n){const r=this.getNextMessageNumber();c(window.isTectonPlatform?window:window.parent,e,"REQUEST",t,r,"success");const o=[];return o.push((0,s._)(this.onMessage(e,"RESPONSE",r))),n&&n.timeout&&o.push(new Promise((s,o)=>{setTimeout(()=>{o({status:"error",message:`The request ${t} has timed out`,sender:window,type:e,guid:r})},n.timeout)})),Promise.race(o)}sendResponse(e,t){return this.onMessage(e,"REQUEST").subscribe(e=>Promise.resolve().then(()=>{if("success"===e.status)return t(e.value,e.sender);throw Error("Don't send Error Message as Request!")}).then(t=>{if(null!==t)return h(e.sender,e.type,t,e.guid,"success")}).catch(t=>h(e.sender,e.type,{message:t.message},e.guid,"error")))}getNextMessageNumber(){const e=this.messageNum+1;return this.messageNum=e,e}}function f(e){if("success"===e.status)return e;throw e}function h(e,t,n,r=null,s){c(e,t,"RESPONSE",u.Maybe.maybe(n).map(JSON.stringify),r,s)}class p extends d{constructor(e,t){super(),this.domains=new Set,this.configSubscription=e.subscribe(this.getConfigDomains.bind(this)),this.firehose$=this.firehose$.pipe((0,o.p)(e=>t||this.domains.has(e.origin)))}teardown(){this.configSubscription.unsubscribe()}getConfigDomains(e){let t=Array(window.location.origin.toString());const n=Object.keys(e.features).map(n=>{const r=e.features[n].additionalDomains;return r&&r.length>0&&(t=t.concat(r)),Object.keys(e.features[n].modules).map(t=>{const r=e.features[n].modules[t].url;try{return new URL(r,window.location.href).origin}catch(e){return""}})}),r=t.concat(...n);this.domains=function(e){return new Set(e.filter(e=>""!==e))}(r)}}var m=n(5524);function b(e,t={}){return Object.keys(t).filter(t=>{const n=t.lastIndexOf(".");return t.slice(0,n).startsWith(e)}).reduce((e,n)=>{const r=n.lastIndexOf(".");return e[n.substring(r+1)]=t[n],e},Object.create({}))}function v(e,t,n=[]){for(const[r,s]of Object.entries(t)){const t=[...n,r];if(r===e)return t.reverse();if("object"==typeof s&&Object.keys(s).length>0){const n=v(e,s,t);if(n.length>0)return n}}return[]}function g(e,t){if(!e||"string"!=typeof e)return[];const[n,r]=e.split("::");if(!n||!r)return[];const s=t[n];return s?v(r,s).map(e=>`${n}::${e}`):[]}function y(e,t,n,r,s,o,i,c,a,l,d,f={}){return function(e,t,n){return u.Maybe.sequence([e,t]).map(()=>{const e=n.withDefault("");return""!==e?Promise.resolve(u.Maybe.just(e)):Promise.resolve(u.Maybe.nothing())}).withDefaultFn(()=>Promise.resolve(u.Maybe.nothing()))}(r,s,i).then(async t=>{const n=await function(e,t){return Promise.all(t.map(async t=>{const n=await e(t.featureName),r=n.modules[t.moduleName],s=n.additionalDomains,o=n.allowDirectives;return Object.assign(Object.assign(Object.assign({},t),r),{additionalDomains:s,allowDirectives:o})}))}(e.dynamicConfigFetch,o),r=t.map(e=>g(e,f)).bind(e=>w(n,e,c)),s=u.Maybe.maybe(n[0]);return t.map(()=>r).altMap(()=>u.Maybe.just(s)).bind(e=>e)}).then(async e=>e.map(e=>{var r,s,o,i;const u=`${n}.${e.featureName}.${e.moduleName}`,c=(null===(s=null===(r=a.features[l])||void 0===r?void 0:r.modules[d])||void 0===s?void 0:s.requiredUserCapabilities)||[],f=(null===(i=null===(o=a.features[e.featureName])||void 0===o?void 0:o.modules[e.moduleName])||void 0===i?void 0:i.requiredUserCapabilities)||[],h=[...new Set([...c,...f])];return{moduleId:u,initialParams:b(u,t.getValue().currentParams),featureName:e.featureName,url:e.url,minHeight:e.meta.type.minHeight||"",tabLabelOverride:e.tabLabelOverride,formPostAuth:!!e.formPostAuth,loadingOptions:e.loadingOptions,additionalDomains:e.additionalDomains,allowDirectives:e.allowDirectives,requiredUserCapabilities:h,rightsEnabled:e.rightsEnabled}}))}function w(e,t,n){return u.Maybe.maybe(e.find(e=>{const r=n.map(t=>{var n;return null===(n=e.additionalContextRequirements)||void 0===n?void 0:n.includes(t)}).withDefault(!0);return e.meta.type.context===t[0]&&r})).altMap(()=>0===t.length&&u.Maybe.nothing()||w(e,t.slice(1),n))}async function x(e,t){const n=e.length%3==1?"outlet":"module",r=e[0],s=e.length<5;let o,i,u,c,a;if("tectonOverpanel"===r)o=N({path:e.slice(2),outletModuloVal:2}),i=(await t(e[1])).configuredOverpanels[e[2]];else{const r="outlet"===n?e.slice(-3,-2)[0]:e.slice(-2,-1)[0],s="outlet"===n?e.slice(-2,-1)[0]:e.slice(-1)[0],u="outlet"===n?-1:3;o=N({path:e.slice(u),outletModuloVal:0}),i=await t(r,s)}return"outlet"===n?(s?(u=i.featureName,c=i.moduleName):(u=e[e.length-3],c=e[e.length-2]),a=e[e.length-1],o=o.slice(0,-2),{pathType:n,featureName:u,moduleName:c,outletName:a,configPath:o,pathOrigin:r,treeFromRoot:i}):(s?(u=i.featureName,c=i.moduleName):(u=e[e.length-2],c=e[e.length-1]),{pathType:n,featureName:u,moduleName:c,configPath:o,pathOrigin:r,treeFromRoot:i})}function N({path:e,outletModuloVal:t}){const n=t+2;return e.reduce((e,r,s)=>{if(s%3===t)return e.concat(["configuredOutlets",r]);if(s%3===n&&2!==s){const t=e[e.length-1];return e[e.length-1]=`${t}-${r}`,e}return e.concat(r)},[])}function T(e,t){return e.reduce((e,t)=>{if(Array.isArray(e)){const[n,r]=t.split("-");return e[0].hasOwnProperty("tabLabel")||e[0].hasOwnProperty("menuItemLabel")?function(e,t){let n=-1;const r=e.find(e=>(n=e.modules.findIndex(t),-1!==n));if(r)return r.modules[n]}(e,_(n,r)):e.find(_(n,r))}return e[t]},t)}function _(e,t){return n=>n.featureName===e&&n.moduleName===t}function C(e,t,n){const r=e.getValue();return u.Maybe.maybe(r.features[t]).map(e=>{const r=Object.keys(e.modules).find(t=>e.modules[t].primary),s=e.modules[n]||e.modules[r],o=`${t}.${s.meta.moduleName}`;return{navigable:!!s.navigable,legacy:!!e.legacy,key:e.legacy?e.legacyRouteName:o}})}function E(e,t,n,r,s){!function(e,t,n,r){if(t.actionRequired&&t.removeActionRequired){n.add("actionRequired");const s=e.onMessage("actionRequired").subscribe(e=>{t.actionRequired(e.value.uuid,e.value.title,e.value.message)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.authorizeTransactionWithMfa){n.add("authorizeTransactionWithMfa");const s=e.sendResponse("authorizeTransactionWithMfa",async e=>t.authorizeTransactionWithMfa(e));r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.clearCacheByPrefix){n.add("clearCache"),n.add("cacheCleared");const s=e.sendResponse("clearCache",function(e){return e.routePrefixes.forEach(function(e){t.clearCacheByPrefix(e),l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:e})))}),Promise.resolve()});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.clearParams){n.add("clearParams");const s=e.onMessage("clearParams").subscribe(e=>{t.clearParams(e.value.moduleId)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.closeOverpanel){n.add("closeOverpanel");const s=e.onMessage("closeOverpanel").pipe((0,i.T)(e=>e.value)).subscribe(t.closeOverpanel);r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.keepAlive){n.add("keepAlive");const s=e.onMessage("keepAlive").subscribe(t.keepAlive);r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.showLoadingModal){n.add("showLoadingModal");const s=e.onMessage("showLoadingModal").subscribe(e=>{t.showLoadingModal(e.value.title)});r.push(()=>s.unsubscribe())}if(t.clearLoadingModal){n.add("clearLoadingModal");const s=e.onMessage("clearLoadingModal").subscribe(()=>{t.clearLoadingModal()});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r,s){if(n.logToServer){r.add("logToServer");const t=e.onMessage("logToServer").subscribe(async e=>{const t=await x(e.value.moduleId.split("."),n.dynamicConfigFetch).then(e=>e.featureName);n.logToServer(t,e.value.message,e.value.level||"info")});s.push(()=>t.unsubscribe())}}(e,0,n,r,s),function(e,t,n,r){if(t.manageChanges){n.add("manageChanges");const s=e.sendResponse("manageChanges",e=>t.manageChanges(e.changeData));r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r,s){if(n.navigateTo){r.add("navigateTo");const o=e.onMessage("navigateTo").subscribe(async e=>{const{moduleName:r,urlParams:s,queryParams:o,moduleId:i}=e.value;let{featureName:u}=e.value;!u&&i&&(u=await x(i.split("."),n.dynamicConfigFetch).then(e=>e.featureName));const c=C(t,u,r);c.map(e=>{if(e.navigable)if(e.legacy)n.navigateTo(!0,e.key,s,o);else{const r=t.getValue().features[u],s=`tectonRoute.${e.key}`;o&&n.updateParams&&n.updateParams(s,o,r.modules[e.key.split(".")[1]].meta.params),n.navigateTo(!1,e.key)}}),c.hasNothing&&n.navigateTo(!0,u,s,o)});s.push(()=>o.unsubscribe())}}(e,t,n,r,s),function(e,t,n,r){if(t.openURL){n.add("openURL");const s=e.onMessage("openURL").subscribe(e=>{const{url:n,options:r}=e.value;t.openURL(n,r)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t){const n=e.onMessage("printWindow").subscribe(()=>{var e;!0===(null===(e=window.Tecton)||void 0===e?void 0:e.inMobileApp)?console.info("printWindow does not support e-banking mobile app environment."):(document.body.focus(),window.print())});t.push(()=>n.unsubscribe())}(e,s),function(e,t,n,r){if(t.refetchAccountsNotification&&t.clearCacheByPrefix&&t.clearTransferCache){n.add("refetchAccountsNotification");const s=e.onMessage("refetchAccountsNotification").subscribe(()=>{t.clearCacheByPrefix("mobilews/account"),t.clearTransferCache(),t.refetchAccountsNotification()});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.actionRequired&&t.removeActionRequired){n.add("removeActionRequired");const s=e.onMessage("removeActionRequired").subscribe(e=>{t.removeActionRequired(e.value.uuid)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){n.add("scrollTo");const s=e.onMessage("scrollTo").subscribe(e=>{var n,r;const s=(null===(r=null===(n=null==t?void 0:t.getSurroundingOffsets)||void 0===n?void 0:n.call(t))||void 0===r?void 0:r.top)||0,o=e.value;o.behavior=o.behavior||"smooth",!0===o.initialize?l("platformScrollChanged",u.Maybe.just(JSON.stringify({scrollY:0,innerHeight:window.innerHeight,innerWidth:window.innerWidth,outletOffset:s,top:s}))):window.scrollTo(o)});r.push(()=>s.unsubscribe())}(e,n,r,s),function(e,t,n){t.add("scrollToTop");const r=e.onMessage("scrollToTop").subscribe(()=>{window.scrollTo(0,0)});n.push(()=>r.unsubscribe())}(e,r,s),function(e,t,n,r){if(t.sendAlert||t.showAlert){n.add("sendAlert"),n.add("sendAlertWithResponse");const s=e.sendResponse("sendAlert",e=>(t.sendAlert||t.showAlert)(e).then(e=>({actionName:e}))),o=e.onMessage("sendAlert").subscribe(e=>{(t.sendAlert||t.showAlert)(e.value)});r.push(()=>{s.unsubscribe(),o.unsubscribe()})}}(e,n,r,s),function(e,t,n,r,s){if(n.updateParams){r.add("setParams");const t=e.onMessage("setParams").subscribe(async e=>{const{moduleId:t,params:r}=e.value,s=await x(t.split("."),n.dynamicConfigFetch),o=await n.dynamicConfigFetch(s.featureName).then(e=>e.modules[s.moduleName].meta.params);n.updateParams(t,r,o)});s.push(()=>t.unsubscribe())}}(e,0,n,r,s),function(e,t,n,r,s){if(t.setOverpanelTitle||t.setPageTitle){t.setOverpanelTitle&&r.add("setOverpanelTitle"),t.setPageTitle&&r.add("setPageTitle");const n=e.onMessage("setTitle").subscribe(async e=>{"tectonOverpanel"===await x(e.value.moduleId.split("."),t.dynamicConfigFetch).then(e=>e.pathOrigin)&&t.setOverpanelTitle?t.setOverpanelTitle(e.value.title):t.setPageTitle&&t.setPageTitle(e.value.title)});s.push(()=>n.unsubscribe())}}(e,n,0,r,s),function(e,t,n,r){const s=t.getCurrentLanguage(),o=new m.t(s);let i=!0;t.languageChanged&&(n.add("languageChanged"),t.languageChanged(e=>{i&&o.next(e)}));const c=o.subscribe((e="en-US")=>{l("streamLanguage",u.Maybe.just(JSON.stringify({langKey:e})))}),a=e.sendResponse("getCurrentLanguage",()=>Promise.resolve({langKey:o.getValue()}));r.push(()=>{i=!1,[c,a].forEach(e=>e.unsubscribe()),o.complete()})}(e,n,r,s),function(e,t,n,r,s){if(n.showActionSheet){r.add("showActionSheet");const t=e.sendResponse("showActionSheet",e=>n.showActionSheet(e).then(e=>e));s.push(()=>t.unsubscribe())}}(e,0,n,r,s),function(e,t,n,r){if(t.showModal){n.add("sendModal");const s=e.sendResponse("sendModal",e=>t.showModal(e).then(e=>({actionName:e})));r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r,s){if(n.showOverpanel){r.add("showOverpanel");const o=e.sendResponse("showOverpanel",async e=>{var r,s,o,i,u,c,a,l,d;try{let f,h,p,m=[];if(n.getPlatformOverpanels&&(m=await n.getPlatformOverpanels()),e.useRouteConfig){const[t,r]=e.overpanelPath.split(".");h=await n.dynamicConfigFetch(t,r),p=e.overpanelPath,f=await n.dynamicConfigFetch(h.featureName)}else if(m.includes(e.overpanelPath))h={moduleName:e.overpanelPath},p=e.overpanelPath,f={legacyOverpanelName:e.overpanelPath,legacy:!0};else{const r=(d=t.value,Object.entries(d.features).reduce((e,[t,n])=>{const r=n.configuredOverpanels;return r&&Object.entries(r).filter(([e,t])=>!0===t.public).forEach(([n,r])=>{r.featureName||(r.featureName=t),e[n]=r}),e},{}))[e.overpanelPath];let s;r?(h=r,p=`${r.featureName}.${e.overpanelPath}`,f=await n.dynamicConfigFetch(r.featureName)):(s=await x(e.moduleId.split("."),n.dynamicConfigFetch),h=await n.dynamicConfigFetch(s.featureName).then(t=>{var n;const r=null===(n=t.configuredOverpanels)||void 0===n?void 0:n[e.overpanelPath];if(!r)throw new Error(`Overpanel ${e.overpanelPath} not found.`);return r}),p=`${s.featureName}.${e.overpanelPath}`,f=await n.dynamicConfigFetch(h.featureName))}if(f.legacy&&!f.legacyOverpanelName)throw new Error("Tried to call a legacy overpanel, but config is missing a legacyOverpanelName");if(e.params&&n.updateParams&&!f.legacy){const t=null===(o=null===(s=null===(r=f.modules)||void 0===r?void 0:r[h.moduleName])||void 0===s?void 0:s.meta)||void 0===o?void 0:o.params;t&&(function(e,t){if(null==e||"{}"===JSON.stringify(e))return!0;if(void 0===t)throw new Error(`params for action are not configured, yet ${JSON.stringify(e)} was passed to action`);const n=[];if(Object.keys(e).forEach(e=>{t[e]||n.push(e)}),n.length>0)throw new Error(`The following parameter(s) passed to action is/are not configured for the action: [${n.join(", ")}]`)}(e.params,t),n.updateParams(`tectonOverpanel.${p}`,e.params,t))}const b=f.legacy?e.params?JSON.stringify(e.params):"":p,v=f.legacy?f.legacyOverpanelName:void 0,g="options"in h&&h.options||{},y=(null===(i=e.options)||void 0===i?void 0:i.size)||g.size,w=(null===(u=e.options)||void 0===u?void 0:u.height)||g.height,N=(null===(c=e.options)||void 0===c?void 0:c.fullWidth)||g.fullWidth,T=(null===(a=e.options)||void 0===a?void 0:a.isBlocking)||g.isBlocking,[,,_]=e.moduleId.split("."),C=(null===(l=e.options)||void 0===l?void 0:l.testId)||g.testId||_;return n.showOverpanel(b,!!N,v,y,w,C,!!T)}catch(e){return Promise.reject(e)}});s.push(()=>o.unsubscribe())}}(e,t,n,r,s),function(e,t,n,r){if(t.verifyMFA){n.add("verifyMFA");const s=e.sendResponse("verifyMFA",async e=>t.verifyMFA(e));r.push(()=>s.unsubscribe())}}(e,n,r,s)}const P=e=>Array.isArray(e)?e.length>0:Boolean(e),S={scrollY:0,innerHeight:0,innerWidth:0};function O(e,t){var n,r,s,o,i,u,c,a;if(!t)return console.warn("No platform root found. Returning zeroed dimensions."),S;const l=t instanceof HTMLElement;return l&&!t.isConnected?(console.warn("Platform root is no longer connected to the DOM. Returning zeroed dimensions."),S):Object.assign({scrollY:null!==(n=l?t.scrollTop:t.scrollY)&&void 0!==n?n:0,innerHeight:null!==(r=l?t.offsetHeight:t.innerHeight)&&void 0!==r?r:0,innerWidth:null!==(s=l?t.offsetWidth:t.innerWidth)&&void 0!==s?s:0,orientationType:null!==(i=null===(o=null===screen||void 0===screen?void 0:screen.orientation)||void 0===o?void 0:o.type)&&void 0!==i?i:"landscape-primary",orientationAngle:null!==(c=null===(u=null===screen||void 0===screen?void 0:screen.orientation)||void 0===u?void 0:u.angle)&&void 0!==c?c:0},null===(a=null==e?void 0:e.getSurroundingOffsets)||void 0===a?void 0:a.call(e))}function A(e,t){const n=function(e){return!!e.dataType}(t)?function(e,t,n,r={}){const[s,o="default"]=t.split("::");if(!s)throw new Error(`Invalid dataType format: '${t}'. Expected 'category::type'.`);const i=e.getRequestURLMap?e.getRequestURLMap():{};if(!i[s])throw new Error(`No URL map found for category '${s}'.`);const u=i[s][o]||i[s].default;if(!u)throw new Error(`No URL resolver found for category '${s}' and type '${o}'.`);return("string"==typeof u?Promise.resolve(u):u).then(e=>`${e}${n.map(e=>`/${e}`).withDefault("")}${function(e){const t=Object.keys(e).map(t=>`${t}=${e[t]}`).join("&");return t&&"?".concat(t)||""}(r)}`)}(e,t.dataType,u.Maybe.maybe(t.dataId),t.params):Promise.resolve(t.route);return n.then(n=>t.body&&t.isFormData?e.sendFormDataRequest(n,t.method,function(e){if("object"!=typeof e||null===e)throw new Error("Invalid parameter. Expected JSON.");return Object.keys(e).reduce((t,n)=>(t.append(n,e[n]),t),new FormData)}(JSON.parse(t.body))):(e.sendRequest||e.requestPlatformData)(n,t.method,t.body))}const M="q2.tectonCache";function I(e,t){return`${e}.${t}`}var R;!function(e){e.PlatformCssPropertiesChanged="platformCssPropertiesChanged",e.CallMethod="callMethod"}(R||(R={}));const j=R;var $;!function(e){e.streamCssProperties="streamCssProperties",e.streamPlatformDimensions="platformSizeChanged"}($||($={}));const k=$;var L=n(7893);function q(e,t,n,r,s,o){!function(e,t,n){t.refetchRequired&&(n.add("cacheCleared"),t.refetchRequired(e=>{l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:e})))}))}(0,t,s),function(e,t,n,r){if(t.getCapabilities){n.add("canUser");const s=e.sendResponse("canUser",({capabilities:e})=>Promise.resolve({allowed:Object.values(t.getCapabilities(...e)).every(P)}));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r,s){if(n.getFeatureConfig){r.add("getFeatureConfig");const t=e.sendResponse("getFeatureConfig",async({moduleId:e})=>{const t=await x(e.split("."),n.dynamicConfigFetch),r=await n.dynamicConfigFetch(t.featureName).then(e=>e.configuredSystemVariables||[]);return r.length?n.getFeatureConfig(r).then(e=>({config:e})):Promise.resolve({config:{}})});s.push(()=>t.unsubscribe())}}(e,0,t,s,o),function(e,t,n,r){if(t.getPendoInfo){n.add("getPendoInfo");const s=e.sendResponse("getPendoInfo",()=>Promise.resolve(t.getPendoInfo()));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){if(t.getPlatformInfo){n.add("platformInfo");const s=e.sendResponse("platformInfo",e=>t.getPlatformInfo(e));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){n.add("getPlatformDimensions");const s=e.sendResponse("getPlatformDimensions",e=>{var n,r,s,o,i;let c;const a=null==e?void 0:e.selector;if(a){const e=document.querySelector(a);e?c=e.getBoundingClientRect():(console.warn(`No platform element found matching the selector "${a}". Returning zeroed dimensions.`),c={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0,orientationType:null!==(r=null===(n=null===screen||void 0===screen?void 0:screen.orientation)||void 0===n?void 0:n.type)&&void 0!==r?r:"landscape-primary",orientationAngle:null!==(o=null===(s=null===screen||void 0===screen?void 0:screen.orientation)||void 0===s?void 0:s.angle)&&void 0!==o?o:0})}else{const e=null===(i=t.getPlatformRootSelector)||void 0===i?void 0:i.call(t),n=e?document.querySelector(e):window;c=O(t,n)}return l("platformScrollChanged",u.Maybe.just(JSON.stringify(c))),Promise.resolve(c)});r.push(()=>s.unsubscribe())}(e,t,s,o),function(e,t,n,r){if(t.getVersionInfo){n.add("getPlatformInfo");const s=e.sendResponse("getPlatformInfo",()=>{const e=t.getVersionInfo();return Promise.resolve(Object.assign(Object.assign({},e),{TECTON_PLATFORM_VERSION:"1.63.1"}))});r.push(()=>{s.unsubscribe()})}}(e,t,s,o),function(e,t,n,r){if(t.getAuthToken){n.add("authToken");const s=e.sendResponse("authToken",()=>t.getAuthToken());r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){if(t.getGlobalScripts){n.add("getGlobalScripts");const s=e.sendResponse("getGlobalScripts",()=>t.getGlobalScripts());r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r,s){if(n.isUUXPath&&n.navigateTo){r.add("isNavigable");const o=e.sendResponse("isNavigable",({featureName:e,moduleName:r})=>{const s=C(t,e,r).map(e=>e.navigable).withDefaultFn(()=>n.isUUXPath(e));return Promise.resolve({navigable:s})});s.push(()=>o.unsubscribe())}}(e,r,t,s,o),function(e,t,n,r){var s;function o(){l("platformScrollChanged",u.Maybe.just(JSON.stringify(O(t,h))))}function i(){l("platformSizeChanged",u.Maybe.just(JSON.stringify(O(t,h))))}let c;n.add("platformScrollChanged");const a=()=>{if(c=e.sendResponse("getPlatformScroll",()=>Promise.resolve(O(t,h))),null==h||h.addEventListener("scroll",o),h instanceof HTMLElement){const e=new ResizeObserver(i);e.observe(h),r.push(()=>null==e?void 0:e.disconnect())}else null==h||h.addEventListener("resize",i)},d=null===(s=t.getPlatformRootSelector)||void 0===s?void 0:s.call(t);let f,h=d?document.querySelector(d):window;h?a():d&&(f=new MutationObserver(()=>{h=document.querySelector(d),h&&(a(),null==f||f.disconnect())}),f.observe(document.body,{childList:!0,subtree:!0})),r.push(()=>{null==f||f.disconnect(),null==c||c.unsubscribe(),null==h||h.removeEventListener("scroll",o),null==h||h.removeEventListener("resize",i)})}(e,t,s,o),function(e,t,n,r){if(t.promptForMFA){n.add("promptForMFA");const s=e.sendResponse("promptForMFA",async e=>{const n=await x(e.moduleId.split("."),t.dynamicConfigFetch).then(e=>e.featureName);return t.promptForMFA(n,e)});r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n){t.refetchRequired&&(n.add("refetchRequired"),t.refetchRequired(e=>{l(`refetchRequired::${e}`,u.Maybe.nothing())}))}(0,t,s),function(e,t,n,r,s){if("function"!=typeof n.requestExtensionData)return;r.add("requestExtensionData");const o=e.sendResponse("requestExtensionData",async e=>{const{moduleId:t,route:r,body:s}=e;let{featureName:o}=e;return!o&&t&&(o=await x(t.split("."),n.dynamicConfigFetch).then(e=>e.featureName)),n.requestExtensionData(o,{route:r,body:s||{}})});s.push(()=>o.unsubscribe())}(e,0,t,s,o),function(e,t,n,r){if(t.sendRequest||t.requestPlatformData){n.add("requestPlatformData"),n.add("requestPlatformData-v2"),t.sendFormDataRequest&&n.add("requestPlatformData-formdata");const s=e.sendResponse("requestPlatformData",e=>A(t,e).then(function(t){return 200<=t.status&&t.status<300?{data:"GET"===e.method?t.response.data:t.response,status:"success"}:{data:{message:t.statusText},status:"error"}})),o=e.sendResponse("requestPlatformData-v2",e=>A(t,e));r.push(()=>{s.unsubscribe(),o.unsubscribe()})}}(e,t,s,o),function(e,t){const n=e.subscribe(e=>{var t;(t=Object.assign(Object.assign({},e.changedParams),e.currentParams),Object.keys(t).reduce((e,t)=>{const n=t.split(".").slice(0,-1).join(".");return-1===e.indexOf(n)&&e.push(n),e},[])).forEach(t=>{const n=b(t,e.changedParams),r=b(t,e.currentParams);l("streamParams::"+t,u.Maybe.just(JSON.stringify({changedParams:n,currentParams:r})))})});t.push(()=>n.unsubscribe())}(n,o),function(e,t,n,r){if(t.takePicture){n.add("takePicture");const s=e.sendResponse("takePicture",({overlayText:e,helpText:n})=>t.takePicture({overlayText:e,helpText:n}).then(e=>({picture:e})));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){if(!t.registerLogoffHook||!function(){const e=!!sessionStorage.getItem,t=!!sessionStorage.setItem,n=!!sessionStorage.removeItem;return e&&t&&n}())return;n.add("tectonCache"),t.registerLogoffHook(()=>{sessionStorage.removeItem(M)});const s=e.sendResponse("getCache",e=>{const t=I(e.moduleId,e.key),n=JSON.parse(sessionStorage.getItem(M)||"{}")[t]||{};return Promise.resolve(n)});r.push(()=>s.unsubscribe());const o=e.sendResponse("setCache",e=>{const t=I(e.moduleId,e.key);let n={};return"string"==typeof sessionStorage.getItem(M)&&(n=JSON.parse(sessionStorage.getItem(M))),n[t]=e.data,sessionStorage.setItem(M,JSON.stringify(n)),Promise.resolve()});r.push(()=>o.unsubscribe())}(e,t,s,o),function(e,t,n){if(!e.cssPropertiesChanged)return;t.add(j.PlatformCssPropertiesChanged);const r=new m.t([]);let s=!0;const o=r.pipe((0,L.i)(1)).subscribe(e=>{l(k.streamCssProperties,u.Maybe.just(JSON.stringify(e)))});e.cssPropertiesChanged(e=>{s&&r.next(e)}),n.push(()=>{s=!1,o.unsubscribe(),r.complete()})}(t,s,o),function(e,t){e.platformEventNotification&&(t.add("platformEventNotification"),e.platformEventNotification(e=>{l(`platformEventNotification::${e.name}`,u.Maybe.maybe(e.data).map(JSON.stringify))}))}(t,s)}var F=n(9576),D=n(3713),U=n(2786),W=n(2950),B=n(6418);const H="[iFrameSizer]",z=[{name:"name",reflectAs:String},{name:"minHeight",reflectAs:String},{name:"overpanel",reflectAs:Boolean},{name:"baseClass",reflectAs:String}],V=(0,F.createSetupElement)(function(e,{messageBus:t,props:n,moduleId:r,tectonOutletAdaptor:s,resize:u}){return(0,F.generateCustomElementWrapper)(e,(e,n)=>{const c=new m.t(document.createElement("div")),a=new m.t(!1),l=new D.yU,d=n.pipe((0,i.T)(e=>e.name),(0,o.p)(e=>!!e),(0,i.T)(e=>`${r?`${r}.`:""}${e}`),(0,W.F)(),(0,B.$)()).subscribe(r=>{const o=s(t,r,e,n,u),i=o.DOM$.subscribe(c);l.add(i);const d=o.settled$.subscribe(a);l.add(d);const h=o.teardown$.subscribe(f);l.add(h);const p=o.effect$.subscribe(t=>{e.__attached?t():e.__onAttached.push(t)});l.add(p)});l.add(d);const f=new m.t(()=>{c.next(null),c.complete(),a.complete(),f.complete(),l.unsubscribe()});return{DOM$:c,settled$:a,teardown$:f}},{useShadowDOM:!0,props:z.concat(n),css:`\n .root {\n height: 100%;\n width: 100%;\n }\n .outlet-wrapper {\n line-height: 0;\n font-size: 0;\n }\n .outlet-wrapper.scrollable {\n height: 100%;\n }\n .loading-wrapper {\n height: 44px;\n width: 100%;\n align-items: center;\n justify-content: center;\n }\n .loading-wrapper:not([hidden]) {\n display: flex;\n }\n .loading-wrapper,\n .outlet-wrapper.scrollable iframe {\n height: 100%;\n }\n .outlet-wrapper iframe {\n width: 100%;\n height: auto;\n border: none;\n }\n .outlet-wrapper iframe:not([hidden]) {\n display: inline-block;\n }\n ${"tecton-platform-outlet"===e?'\n :host {\n position: relative;\n display: block;\n height: 100%;\n }\n .outlet-wrapper {\n min-height: calc(var(--tct-loading-spinner-size, var(--app-scale-12x, 60px)) + 2px);\n }\n .loading-wrapper {\n position: absolute;\n top: 0;\n }\n .loading-wrapper:not([hidden]) {\n align-items: flex-start;\n overflow: hidden;\n }\n .loading-wrapper.spinner-loader:not([hidden]) {\n align-items: center;\n }\n .loading-wrapper .q2-row {\n flex: 1;\n text-align: center;\n line-height: 1;\n }\n q2-loading:not([type="skeleton"]) {\n display: inline-block;\n }\n ':""}\n `})});function J(e){const t=[];if(e&&e.loaders){const n=e.loaders.reduce((e,t)=>t.row>e?t.row:e,0);for(let e=0;e<n;e++)t.push([]);for(const n of e.loaders){const e=document.createElement("q2-loading");e.setAttribute("shape",n.shape),e.setAttribute("type",n.type),e.className="q2-col",n.classList&&e.classList.add(...n.classList),n.style&&e.setAttribute("style",n.style),n.modifiers&&e.setAttribute("modifiers",n.modifiers),n.counts&&e.setAttribute("counts",n.counts),n.ariaLabel&&e.setAttribute("ariaLabel",n.ariaLabel),t[n.row-1].push(e)}}else{const e=document.createElement("q2-loading");t.push([]),e.classList.add("mrg(a)"),t[0].push(e)}return t}function K(e,t){const n=document.createElement("div");n.slot="loading-wrapper",n.classList.add("loading-wrapper"),n.setAttribute("data-tecton-module","");const r=e?J(e):J();if(null==e?void 0:e.outlet){const t=e.outlet;t.style&&n.setAttribute("style",t.style),t.classList&&n.classList.add(...t.classList)}n.style.minHeight=t||"0px";for(const e of r){const t=document.createElement("div");t.className="q2-row";for(const n of e)t.appendChild(n);n.appendChild(t)}return n}function Z(e){const t=e.getAttribute("base-class");return t?null==t?void 0:t.replace(/\s/g,"%7C"):""}var G=n(6770),Y=n(772);function X(e,t){const n=new URL(e,window.location.toString()),r=Object.keys(t).map(e=>`${e}=${t[e]}`).join("&"),s=n.search?`${n.search}&${r}`:`?${r}`;return n.search=s,n.href}const Q=[{name:"additionalContext",reflectAs:String},{name:"configTree"},{name:"context",reflectAs:String},{name:"contextId",reflectAs:String},{name:"contextValue",reflectAs:String},{name:"resolvedType",reflectAs:String},{name:"routeName"}];function ee(e,n,r,s){return function(c,l,d,f){const h=document.createElement("div"),p=new m.t(h),v=new m.t(!1),y=new m.t(()=>{}),w=function(){return{loaderWrapper:d.shadowRoot.querySelector("div[slot='loading-wrapper']"),iframeEl:d.shadowRoot.querySelector("iframe"),minHeight:f.getValue().minHeight}};let x,N;const T=function(){return x},_=function(e,t,n,r,s){let i=!1;return e.onMessage("setFetching").pipe((0,o.p)(e=>e.value.moduleId===t())).subscribe(e=>{const{loaderWrapper:t,iframeEl:o,minHeight:u="0px"}=n();if(t&&o){const{fetching:n}=e.value,c=r?r():void 0;if(!1===n){if(t.hidden=!0,o.hidden=!1,t.style.minHeight="0px",i&&s){const e=s();if(e&&t&&t.parentNode===e){const n=K(c,u);n.hidden=!0,e.replaceChild(n,t)}i=!1}}else if(!0===n)t.hidden=!1,o.hidden=!0,t.style.minHeight=u;else if(function(e){return"object"==typeof e&&null!==e}(n)&&s){const e=s();if(e){const r=K(n.loaders&&n.loaders.length>0?n:void 0,u);n.outlet&&(n.outlet.style&&(r.setAttribute("style",n.outlet.style),r.style.minHeight=u),n.outlet.classList&&r.classList.add(...n.outlet.classList)),r.hidden=!1,t&&t.parentNode===e&&(e.replaceChild(r,t),o.hidden=!0,i=!0)}}}})}(c,T,w,function(){return N},function(){return d.shadowRoot}),C=function(e,t,n){return e.sendResponse("requestOutletInfo",({moduleId:e})=>{if(e!==t())return null;const{iframeEl:r}=n(),s=null==r?void 0:r.getBoundingClientRect();return s&&Object.values(s.toJSON()).find(e=>0!==e)?Promise.resolve(s):null})}(c,T,w),E=new D.yU;E.add(_),E.add(C),E.add(()=>{p.next(null),p.complete(),y.next(()=>{}),y.complete(),v.complete()});const P=new m.t(()=>{P.complete(),E.unsubscribe()}),S=f.pipe((0,i.T)(e=>e.configTree),(0,o.p)(e=>!!e),(0,W.F)()),O=new m.t(!1),A=f.pipe((0,i.T)(e=>e.overpanel),(0,o.p)(e=>"boolean"==typeof e),(0,W.F)()).subscribe(O);E.add(A),E.add(()=>{O.complete()});const M=f.pipe((0,i.T)(e=>e.routeName),(0,o.p)(e=>!!e),(0,W.F)()),I=M.pipe((0,i.T)(e=>`${l}.${e}`),(0,G.J)()).subscribe(([e])=>{a("clearParams",u.Maybe.just(JSON.stringify({moduleId:e})))});E.add(I);const R=(0,Y.z)(S,O,M).subscribe(([h,m,_])=>{const C=e.getValue(),P=C.features[h.featureName];if(!P)throw new Error(`Could not find the config for this feature=${h.featureName}`);const S=P.modules[h.moduleName],O=f.getValue();if(function(e,t,n,r){var s,o,i,u;const c=t.isMFA,a=!1!==e.rightsEnabled,l="Application::Unauthenticated"===(null===(o=null===(s=e.meta)||void 0===s?void 0:s.type)||void 0===o?void 0:o.context);return!(!c&&!l)||!!a&&function(e,t){const{outletContext:n,moduleContext:r,resolvedContext:s,additionalContext:o,additionalContextRequirements:i}=e;if((null==i?void 0:i.length)&&o&&!i.includes(o.toString()))return!1;if("None"===r||"None"===n)return!0;const u=g(r,t);return 0!==u.length&&u.includes(s||n)}({additionalContext:n.additionalContext,additionalContextRequirements:e.additionalContextRequirements,contextValue:n.contextValue,moduleContext:(null===(u=null===(i=e.meta)||void 0===i?void 0:i.type)||void 0===u?void 0:u.context)||"None",outletContext:n.context||"None",resolvedContext:n.resolvedType},r)}(S,P,O,s)){x=`${l}.${_}`,N=S.loadingOptions;const e=O.minHeight,s=C.features[h.featureName],f=!!s.modules[h.moduleName].formPostAuth,g=s.modules[h.moduleName].url,P=s.additionalDomains,A=s.allowDirectives,M=function(e,t,n,r,s,o,i){let u=X(o&&i.buildIframeURL?i.buildIframeURL(e):e,Object.assign(Object.assign({"tct-id":t,"tct-ctxid":n.contextValue||"","tct-ctxname":n.contextId||""},b(t,s.currentParams)),{"tct-maxHeight":r.style.maxHeight,"tct-maxWidth":r.style.maxWidth,"tct-baseClass":Z(r),"tct-outlet-name":r.name||""}));return function(e){const t=e.getAttribute("beta");return""===t||"true"===t}(r)&&(u=X(u,{"tct-beta":"true"})),u}(g,x,O,d,n.getValue(),f,r);if(!m){const e=function(e,n,r){const s=(0,t.R)(window,"message").pipe((0,o.p)(e=>"string"==typeof e.data&&e.data.includes("iFrameSizer")),(0,i.T)(e=>{const t=e.data.substr(H.length).split(":"),[n,r]=t;return{value:{moduleId:n,height:r}}})),u=e.onMessage("resizeIframe");return(0,U.h)(s,u).pipe((0,o.p)(e=>e.value.moduleId===n()),(0,W.F)((e,t)=>e.value.height===t.value.height)).subscribe(e=>{const{height:t}=e.value,{iframeEl:n}=r();n&&n.style.setProperty("height",`${t}px`)})}(c,T,w);E.add(e)}const I=function(e,t,n){return e.onMessage("setTitle").pipe((0,o.p)(e=>e.value.moduleId===t())).subscribe(e=>{const{iframeEl:t}=n();t.title=e.value.title})}(c,T,w);E.add(I);const{element:R,cleanup:j}=function(e,t,n,r,s,o,i,u,c,a){const l=document.createElement("div");l.className="outlet-wrapper";const d=document.createElement("slot");d.name="loading-wrapper";const f=[],h=document.createElement("iframe");if(u){const r=document.createElement("form");n.forEach(function(e){const t=document.createElement("input");t.name=e.key,t.setAttribute("value",e.value),r.appendChild(t)}),r.hidden=!0,r.method="post",r.action=e,r.target=t,r.enctype="multipart/form-data",h.name=t,l.appendChild(r),f.push(function(){r.submit(),l.removeChild(r)})}else h.src=e;return h.title=r,h.dataset.moduleId=t,h.style.maxHeight=s,h.style.maxWidth=o,h.setAttribute("test-id","outletIframe"),h.allow=function(e=[],t=["geolocation","camera"],n){let r=["'self'",`${new URL(n).origin}`];return e&&e.length>0&&(r=[...r,...e]),t.reduce(function(e,t){return e+`${t} ${r.join(" ")}; `},"")}(c,a,e),l.appendChild(h),f.push(()=>{h.contentWindow&&h.contentWindow.postMessage(`${H}${t}:0:false:false:32:true:true:null:documentElementOffset`,"*")}),h.onload=function(){f.forEach(e=>{e()}),h.onload=function(){}},i?l.classList.add("scrollable"):(h.style.setProperty("overflow-y","hidden"),h.scrolling="no"),h.hidden=!0,l.appendChild(d),{element:l,cleanup:()=>{if(h.contentWindow)try{h.contentWindow.stop()}catch(e){}h.src="about:blank",h.onload=null,h.parentNode&&h.parentNode.removeChild(h)}}}(M,x,r.getAuthPayload?r.getAuthPayload():[],`${h.featureName}-${h.moduleName}`,d.style.maxHeight,d.style.maxWidth,m,f,P,A),$=function(e,t){var n,r,s;const o=document.createElement("div");o.slot="loading-wrapper",o.classList.add("loading-wrapper"),o.setAttribute("data-tecton-module","");const i=e.loadingOptions?J(e.loadingOptions):J();if(null===(n=e.loadingOptions)||void 0===n?void 0:n.outlet){const t=e.loadingOptions.outlet;t.style&&o.setAttribute("style",t.style),t.classList&&o.classList.add(...t.classList)}const u=null===(s=null===(r=i[0])||void 0===r?void 0:r[0])||void 0===s?void 0:s.getAttribute("type");null!==u&&"spinner"!==u||o.classList.add("spinner-loader"),o.style.minHeight=t||"0px";for(const e of i){const t=document.createElement("div");t.className="q2-row";for(const n of e)t.appendChild(n);o.appendChild(t)}return o}(S,e);p.next(R),y.next(()=>{const e=d.shadowRoot;if(!e)return;const t=e.querySelector(".loading-wrapper");t&&t.parentNode===e?e.replaceChild($,t):t||e.appendChild($),v.next(!0)}),E.add(()=>{j(),a("clearParams",u.Maybe.just(JSON.stringify({moduleId:x})))})}});return E.add(R),{DOM$:p,settled$:v,teardown$:P,effect$:y}}}const te=`${window.location.origin}${window.location.pathname.replace(/\/uux\.aspx/i,"")}`;function ne(e){return/^http/.test(e)?e:`${window.location.origin}/${e}`}function re(e,t,n,r,s,o,i={}){!function(e,t,n,r){if(t.getMobileSDKCapabilities){n.add("getMobileSDKCapabilities");const s=e.sendResponse("getMobileSDKCapabilities",()=>Promise.resolve(t.getMobileSDKCapabilities()));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n){const r=e.sendResponse("getInitialParams",e=>Promise.resolve({params:b(e.moduleId,t.getValue().currentParams)}));n.push(()=>r.unsubscribe())}(e,n,o),function(e,t,n,r,s){let o;const i=e.sendResponse("getCustomerAssetPath",({subPath:e})=>Promise.resolve({path:ne(n.getCustomerSpecificAssetPath(e))}));n.getCustomLanguageURL&&(t.add("getCustomLanguageURL"),o=e.sendResponse("getCustomLanguageURL",async({moduleId:e,langKey:t})=>{const r=await x(e.split("."),n.dynamicConfigFetch);return Promise.resolve({path:ne(n.getCustomLanguageURL(`${t}_${r.featureName}.json`))})}));const u=e.sendResponse("getBaseAssetPath",({subPath:e})=>Promise.resolve({path:ne(n.getBaseAssetPath(e))})),c=e.sendResponse("getNgamBaseUrl",()=>Promise.resolve({ngamBase:te}));s.push(()=>{i.unsubscribe(),u.unsubscribe(),c.unsubscribe(),o&&o.unsubscribe()})}(e,s,t,0,o),function(e,t,n,r,s,o){const i=t.sendResponse("resolveFeature",async t=>{const s=await x(t.outletPath.split("."),e.dynamicConfigFetch),i=T(s.configPath,s.treeFromRoot),c=(await e.dynamicConfigFetch(s.featureName)).modules[s.moduleName].meta.outlets[s.outletName],a="None"===c.context?u.Maybe.nothing():u.Maybe.just(c.context),l=t.contextValue?u.Maybe.just(t.contextValue):u.Maybe.nothing(),d=t.resolvedType?u.Maybe.just(t.resolvedType):u.Maybe.nothing(),f=t.additionalContext?u.Maybe.just(t.additionalContext):u.Maybe.nothing(),h=i.configuredOutlets[s.outletName],p=n.getValue();return y(e,r,t.outletPath,a,l,h,d,f,p,s.featureName,s.moduleName,o).then(e=>e.withDefault({moduleId:"",featureName:"",initialParams:{},url:"",minHeight:"",formPostAuth:!1,loadingOptions:{loaders:[{type:"spinner",shape:"half-circle",row:1}]}}))});s.push(()=>i.unsubscribe())}(t,e,r,n,o,i),function(e,t,n,r,s,o){const i=t.sendResponse("resolveTabs",async t=>{const s=await x(t.outletPath.split("."),e.dynamicConfigFetch),i=T(s.configPath,s.treeFromRoot),c=e.dynamicConfigFetch(s.featureName),a=await c,l=(await c.then(e=>e.modules[s.moduleName])).meta.outlets[s.outletName],d="None"===l.context?u.Maybe.nothing():u.Maybe.just(l.context),f=t.contextValue?u.Maybe.just(t.contextValue):u.Maybe.nothing(),h=t.resolvedType?u.Maybe.just(t.resolvedType):u.Maybe.nothing(),p=t.additionalContext?u.Maybe.just(t.additionalContext):u.Maybe.nothing(),m=i.configuredOutlets[s.outletName],b=n.getValue();return function(e,t,n,r,s,o,i,c,a,l,d,f,h,p){return Promise.all(c.map(c=>y(e,t,n,r,s,c.modules||[],o,i,a,l,d,f).then(e=>e.map(e=>({tabLabel:c.tabLabel,tab:e}))).catch(()=>u.Maybe.nothing()))).then(e=>u.Maybe.filterSomethings(e)).then(e=>e.map(e=>({tabLabel:e.tabLabel,tabLabelOverride:e.tab.tabLabelOverride,moduleId:e.tab.moduleId,initialParams:e.tab.initialParams,url:e.tab.url,minHeight:e.tab.minHeight,formPostAuth:e.tab.formPostAuth,loadingOptions:e.tab.loadingOptions,additionalDomains:h,allowDirectives:p,requiredUserCapabilities:e.tab.requiredUserCapabilities,rightsEnabled:e.tab.rightsEnabled})))}(e,r,t.outletPath,d,f,h,p,m,b,s.featureName,s.moduleName,o,a.additionalDomains,a.allowDirectives).then(e=>({resolvedTabs:e}))});s.push(()=>i.unsubscribe())}(t,e,r,n,o,i),function(e,t,n,r,s,o){const i=t.sendResponse("resolveMenu",async t=>{const s=await x(t.outletPath.split("."),e.dynamicConfigFetch),i=T(s.configPath,s.treeFromRoot),c=(await e.dynamicConfigFetch(s.featureName).then(e=>e.modules[s.moduleName])).meta.outlets[s.outletName];if(!c)throw new Error(`${s.outletName} contextual menu outlet not found in config`);const a="None"===c.context?u.Maybe.nothing():u.Maybe.just(c.context),l=t.contextValue?u.Maybe.just(t.contextValue):u.Maybe.nothing(),d=t.resolvedType?u.Maybe.just(t.resolvedType):u.Maybe.nothing(),f=t.additionalContext?u.Maybe.just(t.additionalContext):u.Maybe.nothing(),h=i.configuredOutlets[s.outletName],p=n.getValue();return!1===p.features[s.featureName].modules[s.moduleName].rightsEnabled?new Promise(e=>{e({resolvedMenuItems:[]})}):function(e,t,n,r,s,o,i,c,a,l,d,f){return Promise.all(c.map(c=>y(e,t,n,r,s,c.modules||[],o,i,a,l,d,f).then(t=>t.asyncMap(async t=>{const n=await x(t.moduleId.split("."),e.dynamicConfigFetch),r=s.withDefault("-1"),o={itemLabel:c.itemLabel,action:c.action,featureName:n.featureName,moduleName:n.moduleName,contextIdParamName:c.contextIdParamName};return"-1"!==r&&(o["tct-ctxid"]=r),o})).then(u.Maybe.just).catch(()=>u.Maybe.nothing()))).then(e=>u.Maybe.filterSomethings(e))}(e,r,t.outletPath,a,l,d,f,h,p,s.featureName,s.moduleName,o).then(e=>({resolvedMenuItems:e}))});s.push(()=>i.unsubscribe())}(t,e,r,n,o,i),function(e,t,n){const r=e.sendResponse("getPlatformCapabilities",()=>{const e=Array.from(t);return Promise.resolve({capabilities:e})});n.push(()=>r.unsubscribe())}(e,s,o),function(e,t,n){const r=e.sendResponse("getAuthPayload",()=>Promise.resolve(t.getAuthPayload()));n.push(()=>r.unsubscribe())}(e,t,o),function(e,t,n,r){if(t.cdnOverride){n.add("cdnOverride");const s=e.sendResponse("cdnOverride",()=>t.cdnOverride().then(e=>({path:e})));r.push(()=>s.unsubscribe())}}(e,t,s,o)}const se="Authenticated",oe="Unauthenticated";function ie(t,n,r={},s){window.isTectonPlatform=!0;const o=new m.t({changedParams:{},currentParams:{}});let i;ue(t),window.isTestingTecton||(null==s?void 0:s.testing)?(i=window.tectonConfig$||new m.t(null),i.next(t),window.tectonConfig$=i):i=new m.t(t);const c=new p(i,window.isTestingTecton),a=new Set,d=[c.teardown.bind(c)];function f(e){const[r,s]=e.split(".");try{return Promise.resolve(t.features[r].configuredOverpanels[s])}catch(e){return n.dynamicConfigFetch(r,s)}}return function(e){e.add("resizeIframe"),e.add("requestOutletInfo")}(a),function(e,t,n,r){if(t.setupDynamicPlatformAPI){t.setupDynamicPlatformAPI().forEach(e=>n.add(e));const s=e.sendResponse("executeDynamicPlatformAPI",({functionName:e,args:n})=>t.executeDynamicPlatformAPI(e,n));r.push(()=>s.unsubscribe())}}(c,n,a,d),E(c,i,n,a,d),q(c,n,o,i,a,d),function(e,t,n,r){if(!t.getCurrentTheme)return void n.add("ThemesNotSupported");n.add("getCurrentTheme");const s=new m.t({path:ne(t.getCustomerSpecificAssetPath(`${t.getCurrentTheme()}-props.css`))});let o=!0;t.themeChanged&&(n.add("themeChanged"),t.themeChanged(e=>{o&&s.next({path:ne(t.getCustomerSpecificAssetPath(`${e}-props.css`))})}));const i=s.subscribe(e=>{l("themeChanged",u.Maybe.maybe(e).map(JSON.stringify))}),c=e.sendResponse("getCurrentTheme",()=>Promise.resolve(s.getValue()));r.push(()=>{o=!1,i.unsubscribe(),c.unsubscribe(),s.complete()})}(c,n,a,d),re(c,n,o,i,a,d,r),function(e,t,n,r,s={}){V({messageBus:e,moduleId:"",props:Q,tectonOutletAdaptor:ee(t,n,r,s)})("tecton-platform-outlet")}(c,i,o,n,r),{tectonParamsChanged(e){o.next(e)},updateConfig(t){const n=i.getValue();e(n,t),ue(n),i.next(n)},replaceConfig(e){ue(e),i.next(e)},verifyConfig(){if(!n.getCapabilities)return void console.error("getCapabilities must be implemented on platform to verify config.");const e=e=>Array.isArray(e)?e.length>0:Boolean(e),t=t=>{var r,s;return!(null==t?void 0:t.length)||Object.values(null!==(s=null===(r=n.getCapabilities)||void 0===r?void 0:r.call(n,...null!=t?t:[]))&&void 0!==s?s:{}).every(e)},r=i.getValue(),s=r.features;for(const e in s){if(!s.hasOwnProperty(e))continue;const n=s[e];n.rightsEnabled=t(n.requiredUserCapabilities);for(const e in n.modules){if(!n.modules||!n.modules.hasOwnProperty(e))continue;const r=n.modules[e];r.rightsEnabled=n.rightsEnabled&&t(r.requiredUserCapabilities)}}ue(r),i.next(r)},configLookup:function(e,t){const n=i.getValue();if(!t){const t=n.features[e];if(!t)throw new Error(`No config found, please check if the extension(${e}) is running correctly.`);return t}if(!n.features[e])throw new Error(`Please check if the extension(${e}) is running correctly.`);const r=n.features[e].modules[t].routeConfig||{featureName:e,moduleName:t},s=n.features[e].modules[t].rightsEnabled;return void 0!==s&&(r.rightsEnabled=s),r},configForRoute(e){const[t,n]=e.split(".");return i.getValue().features[t].modules[n].routeConfig||{featureName:t,moduleName:n}},configForOverpanel:f,overpanelOverrideLookup(e){var t,n,r,s,o,u,c,a,l;const d=i.getValue(),h=(d.overpanelOverrides||[]).find(t=>t.overpanelName===e),{featureName:p="",overpanelName:m=""}=null!==(t=null==h?void 0:h.override)&&void 0!==t?t:{},b=`${p}.${m}`,v=null===(n=d.features)||void 0===n?void 0:n[p],g=[{condition:!h,message:`No overpanel override found for ${e}.`},{condition:!p||!m,message:`Invalid overpanel override configuration for ${e}.`},{condition:!v,message:`Feature ${p} not found in config.`},{condition:!1===(null==v?void 0:v.rightsEnabled),message:`Feature ${p} is not enabled for this user.`},{condition:!(null===(r=null==v?void 0:v.configuredOverpanels)||void 0===r?void 0:r[m]),message:`Override overpanel ${m} not found in config.`},{condition:!1===(null===(c=null===(s=null==v?void 0:v.modules)||void 0===s?void 0:s[null===(u=null===(o=null==v?void 0:v.configuredOverpanels)||void 0===o?void 0:o[m])||void 0===u?void 0:u.moduleName])||void 0===c?void 0:c.rightsEnabled),message:`The module ${null===(l=null===(a=null==v?void 0:v.configuredOverpanels)||void 0===a?void 0:a[m])||void 0===l?void 0:l.moduleName} for feature ${p} is not enabled for this user.`}];for(const{condition:e,message:t}of g)if(e)return Promise.resolve({override:!1,message:t});return f(b).then(e=>{const t={override:!0,overpanelId:b,overpanelConfig:e};return(null==h?void 0:h.contextInfo)&&(t.contextInfo=h.contextInfo),Promise.resolve(t)})},updateApplicationModules(e){!function(e,t=!1){const n=function(e){var t,n,r;const s={};for(const[o,i]of Object.entries(e.features))for(const[e,u]of Object.entries(i.modules)){const i=null!==(r=null===(n=null===(t=null==u?void 0:u.meta)||void 0===t?void 0:t.type)||void 0===n?void 0:n.context)&&void 0!==r?r:void 0;if(i&&i.toLowerCase().startsWith("Application::".toLowerCase())){const t=i.split("::")[1].toLowerCase(),n={featureName:o,moduleName:e,rightsEnabled:u.rightsEnabled};s[t]?s[t].push(n):s[t]=[n]}}return s}(e),r=t?se:oe,s=n[r.toLowerCase()];null==s||s.forEach(e=>{const{featureName:t,moduleName:n,rightsEnabled:s}=e,o=`${t}.${n}`,i=`TectonApplicationModule.${o}`;document.getElementById(i)||!1===s||function({authContext:e,outletId:t,modulePath:n,featureName:r,moduleName:s}){const o=window.isTestingTecton?document.createElement("object"):document.createElement("tecton-platform-outlet");o.name=`Tecton${e}ApplicationModule`,o.id=t,o.routeName=n,o.configTree={featureName:r,moduleName:s},o.tabIndex=-1,o.setAttribute("style","width:0; height:0; visibility: hidden; overflow: hidden;"),document.body.appendChild(o)}({authContext:r,outletId:i,modulePath:o,featureName:t,moduleName:n})}),t||function(e){const t=document.getElementsByName(`Tecton${e}ApplicationModule`);null==t||t.forEach(function(e){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)})}(se)}(t,e)},teardown(){d.forEach(e=>e()),o.complete(),i.complete()}}}function ue(e){Object.keys(e.features).forEach(function(t){const n=e.features[t],r=n.configuredOverpanels;r&&Object.keys(r).forEach(function(e){r[e].featureName||(r[e].featureName=t)});try{Object.keys(n.modules).forEach(function(e){n.modules[e].routeConfig||(n.modules[e].routeConfig={featureName:t,moduleName:e,configuredOutlets:{}}),Object.assign(n.modules[e].meta,{featureName:t,moduleName:e});let r=n.modules[e].url;if(r){if(r.startsWith("./")){const e=window.location.pathname.split("/").filter(e=>e),t=e[e.length-1];t&&t.includes(".")&&e.pop();const n=e.length>0?e.join("/"):"";r=r.replace("./",`${window.location.origin}/${n?`${n}/`:""}`)}r=r.replace("{featureName}",t),r=r.replace("{moduleName}",e),n.modules[e].url=r}})}catch(r){n.modules?console.error(`Config for ${n.routeName} is malformed. It returned ${r}.`):console.error(`Config for ${n.routeName} contains no modules`),console.error(`Removing ${n.routeName} from config.`),delete e.features[t]}})}})(),r})());
|