q2-tecton-platform 1.35.0 → 1.35.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.
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see q2-tecton-platform.js.LICENSE.txt */
|
2
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["q2-tecton-platform"]=e():t["q2-tecton-platform"]=e()}(self,(()=>(()=>{var t={9327:(t,e,n)=>{var r;self,r=()=>(()=>{"use strict";var t={645:()=>{!function(t){function e(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!=typeof t.CustomEvent&&(e.prototype=t.Event.prototype,t.CustomEvent=e)}(window)}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{function t(t){return(t.charAt(0)+t.slice(1).replace(/([A-Z])/g,"-$&")).toLowerCase()}r.r(i),r.d(i,{createSetupElement:()=>l,generateCustomElementWrapper:()=>a,makeGenericEffectsDriver:()=>f});var e=1e3;const o=n(6755),s=n(5472);function u(t,e,n,r,i){var o=e.replace(/-([a-z])/gi,(function(t,e){return e.toUpperCase()}));t[o]=r.map((function(t){var e=t.get(o),r=n;return e&&e.reflectAs&&n&&(r=e.reflectAs(n)),e&&e.reflectAs===Boolean&&(r=""===n),i&&(i[o]=r),r})).withDefault(n)}const c=n(422);function a(n,r){var i,c,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{useShadowDOM:!0},l=a.useShadowDOM?s.Maybe.just(function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=!!window.HTMLTemplateElement;return e=r?function(t){var e=document.createElement("template");return e.innerHTML="<style>".concat(t,'</style><div class="root"></div>'),e.content}(n):function(t){var e=document.createDocumentFragment(),n=document.createElement("style");n.appendChild(document.createTextNode(t));var r=document.createElement("div");return r.className="root",e.appendChild(n),e.appendChild(r),e}(n),function(t){if(t.shadowRoot)return t.shadowRoot.querySelector("div");t.attachShadow?t.attachShadow({mode:"open"}):Object.assign(t,{shadowRoot:t});var i=document.importNode(e,!0);r||(i.querySelector("style").sheet.cssText=n);var o=t.shadowRoot;return o.appendChild(i),o.querySelector("div")}}(n,a.css)):s.Maybe.nothing(),f=Array.isArray(a.props)?s.Maybe.just((i=a.props,{fnHashByName:c=i.reduce((function(t,e){return t.set(e.name,e),t}),new Map),hooks:{init:function(t){t.__innerProps$=new o.BehaviorSubject({})},connectedCallback:function(t){var e,n,r,i,o,a=t.__innerProps$.getValue(),l=Object.assign({},a);t.constructor.observedAttributes.forEach((function(e){null!==t.getAttribute(e)&&u(t,e,t.getAttribute(e),s.Maybe.just(c),l)})),e=a,n=l,r=!0,i=Object.keys(e),o=Object.keys(n),i.length===o.length&&(i.forEach((function(t){n.hasOwnProperty(t)&&e[t]===n[t]||(r=!1)})),r)||t.__innerProps$.next(l)},classSetup:function(e){Object.assign(e,{observedAttributes:i.filter((function(t){return t.reflectAs})).map((function(t){return t.name})).map(t)}),i.forEach((function(n){Object.defineProperty(e.prototype,n.name,{get:function(){return this.__innerProps$.getValue()[n.name]},set:function(r){if(this.__innerProps$.getValue()[n.name]!==r){var i=t(n.name),o=e.observedAttributes.includes(i);o&&(!0===r?this.setAttribute(i,""):r||0===r||""===r?this.setAttribute(i,String(r)):this.removeAttribute(i)),!this.__attached&&o&&!1!==r||(this.__innerProps$.getValue()[n.name]=r,this.__innerProps$.next(this.__innerProps$.getValue()))}}})}))}}})):s.Maybe.nothing(),p=function t(){var n=Reflect.construct(HTMLElement,[],t);return a.prototypeExtensions&&Object.keys(a.prototypeExtensions).forEach((function(t){n[t]||(n[t]=a.prototypeExtensions[t])})),n.__onTeardown=[],n.__onAttached=[],n.__guid=e++,f.map((function(t){return(0,t.hooks.init)(n)})),l.map((function(t){return t(n)})).map((function(t){var e=s.Maybe.maybe(n.__innerProps$).map((function(t){return r(n,t)})).withDefaultFn((function(){return r(n)}));h(n,t,e),n.__shadowAppBooted=!0})),n};return function(t){try{Object.defineProperty(t,"is",{value:name,writable:!1}),Object.defineProperty(t,"localName",{value:name,writable:!1})}catch(t){}}(p),p.prototype=Object.create(HTMLElement.prototype,{component:{writable:!0,enumerable:!0},constructor:{value:p},connectedCallback:{writable:!0,value:function(){var t=this;this.dataset.guid="".concat(this.__guid),a.useShadowDOM&&this.__shadowAppBooted||(l.map((function(e){return e(t)})).alt(s.Maybe.just(this)).map((function(e){var n=s.Maybe.maybe(t.__innerProps$).map((function(e){return r(t,e)})).withDefaultFn((function(){return r(t)}));h(t,e,n)})),this.__shadowAppBooted=!0),f.map((function(e){(0,e.hooks.connectedCallback)(t)})),this.__attached=!0,this.__onAttached.forEach((function(e){return e.call(t)}))}},disconnectedCallback:{writable:!0,value:function(){var t=this;this.__onTeardown.reverse().forEach((function(e){return e.call(t)})),this.__onTeardown=[],this.__onAttached=[],this.__attached=!1,this.__shadowAppBooted=!1}},attributeChangedCallback:{writable:!0,value:function(t,e,n){e!==n&&this.__attached&&u(this,t,n,f.map((function(t){return t.fnHashByName})))}}}),f.map((function(t){return(0,t.hooks.classSetup)(p)})),p}function l(t){return function(e){return function(n){var r=function(){window.customElements.get(n)||window.customElements.define(n,t(n,e))};window.customElements?r():(0,o.interval)(5).pipe((0,c.filter)((function(){return!!window.customElements})),(0,c.take)(1)).toPromise().then((function(){r()}))}}}function h(t,e,n){var r=document.createElement("div");e.appendChild(r);var i=n.DOM$.subscribe((function(t){e.replaceChild(t,e.firstChild)})),o=n.settled$.subscribe((function(e){t.settled=e,e&&t.dispatchEvent(new CustomEvent("settled"))})),s=n.teardown$.subscribe((function(e){t.__onTeardown.push(e)}));t.__onTeardown.push((function(){[i,o,s].forEach((function(t){return t.unsubscribe()}))}))}function f(t){return function(e){e.subscribe({next:function(e){e(t)},error:function(){},complete:function(){}})}}r(645)})(),i})(),t.exports=r()},5472:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Maybe:()=>r});class r{constructor(t){this.value=t}static just(t){if(null==t)throw new TypeError("Value passed to just must exist!");return new r(t)}static nothing(){return new r}static maybe(t){return null==t?r.nothing():r.just(t)}static join(t){return t.withDefault(r.nothing())}static sequence(t){return t.reduce(((t,e)=>t.bind((t=>e.map((e=>t.concat(e)))))),r.just([]))}static traverse(t,e){return r.sequence(e).map((e=>e.map(t)))}static justMap(t,e){return e.reduce(((e,n)=>{const r=t(n);return void 0!==r.value?e.concat(r.value):e}),[])}static filterSomethings(t){return t.reduce(((t,e)=>(e.value&&t.push(e.value),t)),[])}static lift(t){return e=>e.map(t)}static lift2(t){return(e,n)=>r.sequence([e,n]).map((e=>t(e[0],e[1])))}static lift3(t){return(e,n,i)=>r.sequence([e,n,i]).map((e=>t(e[0],e[1],e[2])))}static toPromise(t){return t.hasSomething?Promise.resolve(t.value):Promise.reject()}map(t){return void 0!==this.value?r.maybe(t(this.value)):r.nothing()}asyncMap(t){return void 0!==this.value?t(this.value).then((t=>{if(null==t)throw"Promise Conversion from a Maybe.Nothing";return t})):Promise.reject()}alt(t){return void 0!==this.value?this:t}altMap(t){return void 0!==this.value?this:t()}ap(t){return t.bind((t=>this.map(t)))}bind(t){return r.join(this.map(t))}withDefault(t){return void 0!==this.value?this.value:t}withDefaultFn(t){return void 0!==this.value?this.value:t()}get hasNothing(){return void 0===this.value}get hasSomething(){return!this.hasNothing}unsafeElse(t){this.hasNothing&&t()}}r.of=r.maybe},6755:(t,e,n)=>{"use strict";n.r(e),n.d(e,{ArgumentOutOfRangeError:()=>I.W,AsyncSubject:()=>l.c,BehaviorSubject:()=>c.X,ConnectableObservable:()=>i.c,EMPTY:()=>K.E,EmptyError:()=>j.K,GroupedObservable:()=>o.T,NEVER:()=>lt,Notification:()=>C.P,NotificationKind:()=>C.W,ObjectUnsubscribedError:()=>A.N,Observable:()=>r.y,ReplaySubject:()=>a.t,Scheduler:()=>_.b,Subject:()=>u.xQ,Subscriber:()=>T.L,Subscription:()=>S.w,TimeoutError:()=>D.W,UnsubscriptionError:()=>M.B,VirtualAction:()=>x,VirtualTimeScheduler:()=>w,animationFrame:()=>g,animationFrameScheduler:()=>m,asap:()=>h.e,asapScheduler:()=>h.E,async:()=>f.P,asyncScheduler:()=>f.z,bindCallback:()=>Z,bindNodeCallback:()=>q,combineLatest:()=>z.aj,concat:()=>H.z,config:()=>Nt.v,defer:()=>Y.P,empty:()=>K.c,forkJoin:()=>Q,from:()=>J.D,fromEvent:()=>tt.R,fromEventPattern:()=>nt,generate:()=>rt,identity:()=>N.y,iif:()=>ot,interval:()=>ut,isObservable:()=>O,merge:()=>at.T,never:()=>ht,noop:()=>P.Z,observable:()=>s.L,of:()=>ft.of,onErrorResumeNext:()=>pt,pairs:()=>dt,partition:()=>gt,pipe:()=>E.z,queue:()=>p.c,queueScheduler:()=>p.N,race:()=>wt.S3,range:()=>xt,scheduled:()=>Pt.x,throwError:()=>St._,timer:()=>Tt.H,using:()=>Ct,zip:()=>Et.$R});var r=n(5988),i=n(9570),o=n(7224),s=n(5940),u=n(7457),c=n(7656),a=n(2912),l=n(3597),h=n(5731),f=n(7162),p=n(7302),d=n(8367),b=n(6475),v=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return d.ZT(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(b.o),y=n(7333),m=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d.ZT(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(y.v))(v),g=m,w=function(t){function e(e,n){void 0===e&&(e=x),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=t.call(this,e,(function(){return r.frame}))||this;return r.maxFrames=n,r.frame=0,r.index=-1,r}return d.ZT(e,t),e.prototype.flush=function(){for(var t,e,n=this.actions,r=this.maxFrames;(e=n[0])&&e.delay<=r&&(n.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=n.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(y.v),x=function(t){function e(e,n,r){void 0===r&&(r=e.index+=1);var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.index=r,i.active=!0,i.index=e.index=r,i}return d.ZT(e,t),e.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return t.prototype.schedule.call(this,n,r);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(n,r)},e.prototype.requestAsyncId=function(t,n,r){void 0===r&&(r=0),this.delay=t.frame+r;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(b.o),_=n(479),S=n(4372),T=n(1180),C=n(8642),E=n(5989),P=n(1445),N=n(2884);function O(t){return!!t&&(t instanceof r.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}var I=n(6120),j=n(930),A=n(5589),M=n(5436),D=n(6035),k=n(7081),V=n(6670),R=n(7588),L=n(6693);function Z(t,e,n){if(e){if(!(0,L.K)(e))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return Z(t,n).apply(void 0,r).pipe((0,k.U)((function(t){return(0,R.k)(t)?e.apply(void 0,t):e(t)})))};n=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o,s=this,u={context:s,subject:o,callbackFunc:t,scheduler:n};return new r.y((function(r){if(n){var i={args:e,subscriber:r,params:u};return n.schedule(F,0,i)}if(!o){o=new l.c;try{t.apply(s,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];o.next(t.length<=1?t[0]:t),o.complete()}]))}catch(t){(0,V._)(o)?o.error(t):console.warn(t)}}return o.subscribe(r)}))}}function F(t){var e=this,n=t.args,r=t.subscriber,i=t.params,o=i.callbackFunc,s=i.context,u=i.scheduler,c=i.subject;if(!c){c=i.subject=new l.c;try{o.apply(s,n.concat([function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.length<=1?t[0]:t;e.add(u.schedule($,0,{value:r,subject:c}))}]))}catch(t){c.error(t)}}this.add(c.subscribe(r))}function $(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function q(t,e,n){if(e){if(!(0,L.K)(e))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return q(t,n).apply(void 0,r).pipe((0,k.U)((function(t){return(0,R.k)(t)?e.apply(void 0,t):e(t)})))};n=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o={subject:void 0,args:e,callbackFunc:t,scheduler:n,context:this};return new r.y((function(r){var i=o.context,s=o.subject;if(n)return n.schedule(W,0,{params:o,subscriber:r,context:i});if(!s){s=o.subject=new l.c;try{t.apply(i,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.shift();n?s.error(n):(s.next(t.length<=1?t[0]:t),s.complete())}]))}catch(t){(0,V._)(s)?s.error(t):console.warn(t)}}return s.subscribe(r)}))}}function W(t){var e=this,n=t.params,r=t.subscriber,i=t.context,o=n.callbackFunc,s=n.args,u=n.scheduler,c=n.subject;if(!c){c=n.subject=new l.c;try{o.apply(i,s.concat([function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.shift();if(r)e.add(u.schedule(B,0,{err:r,subject:c}));else{var i=t.length<=1?t[0]:t;e.add(u.schedule(U,0,{value:i,subject:c}))}}]))}catch(t){this.add(u.schedule(B,0,{err:t,subject:c}))}}this.add(c.subscribe(r))}function U(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function B(t){var e=t.err;t.subject.error(e)}var z=n(1086),H=n(5600),Y=n(7262),K=n(1608),G=n(4066),J=n(6628);function Q(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var n=t[0];if((0,R.k)(n))return X(n,null);if((0,G.K)(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return X(r.map((function(t){return n[t]})),r)}}if("function"==typeof t[t.length-1]){var i=t.pop();return X(t=1===t.length&&(0,R.k)(t[0])?t[0]:t,null).pipe((0,k.U)((function(t){return i.apply(void 0,t)})))}return X(t,null)}function X(t,e){return new r.y((function(n){var r=t.length;if(0!==r)for(var i=new Array(r),o=0,s=0,u=function(u){var c=(0,J.D)(t[u]),a=!1;n.add(c.subscribe({next:function(t){a||(a=!0,s++),i[u]=t},error:function(t){return n.error(t)},complete:function(){++o!==r&&a||(s===r&&n.next(e?e.reduce((function(t,e,n){return t[e]=i[n],t}),{}):i),n.complete())}}))},c=0;c<r;c++)u(c);else n.complete()}))}var tt=n(1522),et=n(3517);function nt(t,e,n){return n?nt(t,e).pipe((0,k.U)((function(t){return(0,R.k)(t)?n.apply(void 0,t):n(t)}))):new r.y((function(n){var r,i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n.next(1===t.length?t[0]:t)};try{r=t(i)}catch(t){return void n.error(t)}if((0,et.m)(e))return function(){return e(i,r)}}))}function rt(t,e,n,i,o){var s,u;if(1==arguments.length){var c=t;u=c.initialState,e=c.condition,n=c.iterate,s=c.resultSelector||N.y,o=c.scheduler}else void 0===i||(0,L.K)(i)?(u=t,s=N.y,o=i):(u=t,s=i);return new r.y((function(t){var r=u;if(o)return o.schedule(it,0,{subscriber:t,iterate:n,condition:e,resultSelector:s,state:r});for(;;){if(e){var i=void 0;try{i=e(r)}catch(e){return void t.error(e)}if(!i){t.complete();break}}var c=void 0;try{c=s(r)}catch(e){return void t.error(e)}if(t.next(c),t.closed)break;try{r=n(r)}catch(e){return void t.error(e)}}}))}function it(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var r=void 0;try{r=n(t.state)}catch(t){return void e.error(t)}if(!r)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}}function ot(t,e,n){return void 0===e&&(e=K.E),void 0===n&&(n=K.E),(0,Y.P)((function(){return t()?e:n}))}var st=n(7904);function ut(t,e){return void 0===t&&(t=0),void 0===e&&(e=f.P),(!(0,st.k)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=f.P),new r.y((function(n){return n.add(e.schedule(ct,t,{subscriber:n,counter:0,period:t})),n}))}function ct(t){var e=t.subscriber,n=t.counter,r=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}var at=n(3637),lt=new r.y(P.Z);function ht(){return lt}var ft=n(3979);function pt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return K.E;var n=t[0],i=t.slice(1);return 1===t.length&&(0,R.k)(n)?pt.apply(void 0,n):new r.y((function(t){var e=function(){return t.add(pt.apply(void 0,i).subscribe(t))};return(0,J.D)(n).subscribe({next:function(e){t.next(e)},error:e,complete:e})}))}function dt(t,e){return e?new r.y((function(n){var r=Object.keys(t),i=new S.w;return i.add(e.schedule(bt,0,{keys:r,index:0,subscriber:n,subscription:i,obj:t})),i})):new r.y((function(e){for(var n=Object.keys(t),r=0;r<n.length&&!e.closed;r++){var i=n[r];t.hasOwnProperty(i)&&e.next([i,t[i]])}e.complete()}))}function bt(t){var e=t.keys,n=t.index,r=t.subscriber,i=t.subscription,o=t.obj;if(!r.closed)if(n<e.length){var s=e[n];r.next([s,o[s]]),i.add(this.schedule({keys:e,index:n+1,subscriber:r,subscription:i,obj:o}))}else r.complete()}var vt=n(3796),yt=n(9842),mt=n(8933);function gt(t,e,n){return[(0,mt.h)(e,n)(new r.y((0,yt.s)(t))),(0,mt.h)((0,vt.f)(e,n))(new r.y((0,yt.s)(t)))]}var wt=n(9569);function xt(t,e,n){return void 0===t&&(t=0),new r.y((function(r){void 0===e&&(e=t,t=0);var i=0,o=t;if(n)return n.schedule(_t,0,{index:i,count:e,start:t,subscriber:r});for(;;){if(i++>=e){r.complete();break}if(r.next(o++),r.closed)break}}))}function _t(t){var e=t.start,n=t.index,r=t.count,i=t.subscriber;n>=r?i.complete():(i.next(e),i.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))}var St=n(9770),Tt=n(1034);function Ct(t,e){return new r.y((function(n){var r,i;try{r=t()}catch(t){return void n.error(t)}try{i=e(r)}catch(t){return void n.error(t)}var o=(i?(0,J.D)(i):K.E).subscribe(n);return function(){o.unsubscribe(),r&&r.unsubscribe()}}))}var Et=n(3314),Pt=n(9075),Nt=n(1886)},3597:(t,e,n)=>{"use strict";n.d(e,{c:()=>s});var r=n(8367),i=n(7457),o=n(4372),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return r.ZT(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.w.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.w.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.xQ)},7656:(t,e,n)=>{"use strict";n.d(e,{X:()=>s});var r=n(8367),i=n(7457),o=n(5589),s=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r.ZT(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.N;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(i.xQ)},8642:(t,e,n)=>{"use strict";n.d(e,{P:()=>u,W:()=>r});var r,i=n(1608),o=n(3979),s=n(9770);r||(r={});var u=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return(0,o.of)(this.value);case"E":return(0,s._)(this.error);case"C":return(0,i.c)()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},5988:(t,e,n)=>{"use strict";n.d(e,{y:()=>l});var r=n(6670),i=n(1180),o=n(3082),s=n(1374),u=n(5940),c=n(5989),a=n(1886),l=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,u=function(t,e,n){if(t){if(t instanceof i.L)return t;if(t[o.b])return t[o.b]()}return t||e||n?new i.L(t,e,n):new i.L(s.c)}(t,e,n);if(r?u.add(r.call(u,this.source)):u.add(this.source||a.v.useDeprecatedSynchronousErrorHandling&&!u.syncErrorThrowable?this._subscribe(u):this._trySubscribe(u)),a.v.useDeprecatedSynchronousErrorHandling&&u.syncErrorThrowable&&(u.syncErrorThrowable=!1,u.syncErrorThrown))throw u.syncErrorValue;return u},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){a.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),(0,r._)(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=h(e))((function(e,r){var i;i=n.subscribe((function(e){try{t(e)}catch(t){r(t),i&&i.unsubscribe()}}),r,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[u.L]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:(0,c.U)(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=h(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}();function h(t){if(t||(t=a.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},1374:(t,e,n)=>{"use strict";n.d(e,{c:()=>o});var r=n(1886),i=n(4612),o={closed:!0,next:function(t){},error:function(t){if(r.v.useDeprecatedSynchronousErrorHandling)throw t;(0,i.z)(t)},complete:function(){}}},7268:(t,e,n)=>{"use strict";n.d(e,{L:()=>i});var r=n(8367),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.ZT(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n(1180).L)},2912:(t,e,n)=>{"use strict";n.d(e,{t:()=>l});var r=n(8367),i=n(7457),o=n(7302),s=n(4372),u=n(4891),c=n(5589),a=n(8731),l=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return r.ZT(e,t),e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift()}t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this.isStopped||(this._events.push(new h(this._getNow(),e)),this._trimBufferThenGetEvents()),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new c.N;if(this.isStopped||this.hasError?e=s.w.EMPTY:(this.observers.push(t),e=new a.W(this,t)),i&&t.add(t=new u.ht(t,i)),n)for(var l=0;l<o&&!t.closed;l++)t.next(r[l]);else for(l=0;l<o&&!t.closed;l++)t.next(r[l].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.c).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.xQ),h=function(){return function(t,e){this.time=t,this.value=e}}()},479:(t,e,n)=>{"use strict";n.d(e,{b:()=>r});var r=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}()},7457:(t,e,n)=>{"use strict";n.d(e,{Yc:()=>l,xQ:()=>h});var r=n(8367),i=n(5988),o=n(1180),s=n(4372),u=n(5589),c=n(8731),a=n(3082),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.ZT(e,t),e}(o.L),h=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.ZT(e,t),e.prototype[a.b]=function(){return new l(this)},e.prototype.lift=function(t){var e=new f(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u.N;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new u.N;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new u.N;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new u.N;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new u.N;return this.hasError?(t.error(this.thrownError),s.w.EMPTY):this.isStopped?(t.complete(),s.w.EMPTY):(this.observers.push(t),new c.W(this,t))},e.prototype.asObservable=function(){var t=new i.y;return t.source=this,t},e.create=function(t,e){return new f(t,e)},e}(i.y),f=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return r.ZT(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):s.w.EMPTY},e}(h)},8731:(t,e,n)=>{"use strict";n.d(e,{W:()=>i});var r=n(8367),i=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.ZT(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n(4372).w)},1180:(t,e,n)=>{"use strict";n.d(e,{L:()=>l});var r=n(8367),i=n(3517),o=n(1374),s=n(4372),u=n(3082),c=n(1886),a=n(4612),l=function(t){function e(n,r,i){var s=t.call(this)||this;switch(s.syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=o.c;break;case 1:if(!n){s.destination=o.c;break}if("object"==typeof n){n instanceof e?(s.syncErrorThrowable=n.syncErrorThrowable,s.destination=n,n.add(s)):(s.syncErrorThrowable=!0,s.destination=new h(s,n));break}default:s.syncErrorThrowable=!0,s.destination=new h(s,n,r,i)}return s}return r.ZT(e,t),e.prototype[u.b]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(s.w),h=function(t){function e(e,n,r,s){var u,c=t.call(this)||this;c._parentSubscriber=e;var a=c;return(0,i.m)(n)?u=n:n&&(u=n.next,r=n.error,s=n.complete,n!==o.c&&(a=Object.create(n),(0,i.m)(a.unsubscribe)&&c.add(a.unsubscribe.bind(a)),a.unsubscribe=c.unsubscribe.bind(c))),c._context=a,c._next=u,c._error=r,c._complete=s,c}return r.ZT(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;c.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=c.v.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,a.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,a.z)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};c.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),c.v.useDeprecatedSynchronousErrorHandling)throw t;(0,a.z)(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!c.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return c.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):((0,a.z)(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(l)},4372:(t,e,n)=>{"use strict";n.d(e,{w:()=>u});var r=n(7588),i=n(4066),o=n(3517),s=n(5436),u=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this,u=n._parentOrParents,a=n._ctorUnsubscribe,l=n._unsubscribe,h=n._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,u instanceof t)u.remove(this);else if(null!==u)for(var f=0;f<u.length;++f)u[f].remove(this);if((0,o.m)(l)){a&&(this._unsubscribe=void 0);try{l.call(this)}catch(t){e=t instanceof s.B?c(t.errors):[t]}}if((0,r.k)(h)){f=-1;for(var p=h.length;++f<p;){var d=h[f];if((0,i.K)(d))try{d.unsubscribe()}catch(t){e=e||[],t instanceof s.B?e=e.concat(c(t.errors)):e.push(t)}}}if(e)throw new s.B(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce((function(t,e){return t.concat(e instanceof s.B?e.errors:e)}),[])}},1886:(t,e,n)=>{"use strict";n.d(e,{v:()=>i});var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack,r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},4932:(t,e,n)=>{"use strict";n.d(e,{Ds:()=>c,IY:()=>u,ft:()=>a});var r=n(8367),i=n(1180),o=n(5988),s=n(9842),u=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,n}return r.ZT(e,t),e.prototype._next=function(t){this.parent.notifyNext(t)},e.prototype._error=function(t){this.parent.notifyError(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(i.L),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.ZT(e,t),e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.destination.complete()},e}(i.L);function a(t,e){if(!e.closed){if(t instanceof o.y)return t.subscribe(e);var n;try{n=(0,s.s)(t)(e)}catch(t){e.error(t)}return n}}},9570:(t,e,n)=>{"use strict";n.d(e,{N:()=>a,c:()=>c});var r=n(8367),i=n(7457),o=n(5988),s=n(4372),u=n(6747),c=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.ZT(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.w).add(this.source.subscribe(new l(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.w.EMPTY)),t},e.prototype.refCount=function(){return(0,u.x)()(this)},e}(o.y),a=function(){var t=c.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),l=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.ZT(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.Yc)},1086:(t,e,n)=>{"use strict";n.d(e,{Ms:()=>h,aj:()=>l});var r=n(8367),i=n(6693),o=n(7588),s=n(7268),u=n(8479),c=n(6567),a={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return(0,i.K)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&(0,o.k)(t[0])&&(t=t[0]),(0,c.n)(t,r).lift(new h(n))}var h=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.resultSelector))},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return r.ZT(e,t),e.prototype._next=function(t){this.values.push(a),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add((0,u.D)(this,r,void 0,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n){var r=this.values,i=r[n],o=this.toRespond?i===a?--this.toRespond:this.toRespond:0;r[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.L)},5600:(t,e,n)=>{"use strict";n.d(e,{z:()=>o});var r=n(3979),i=n(8321);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(0,i.u)()(r.of.apply(void 0,t))}},7262:(t,e,n)=>{"use strict";n.d(e,{P:()=>s});var r=n(5988),i=n(6628),o=n(1608);function s(t){return new r.y((function(e){var n;try{n=t()}catch(t){return void e.error(t)}return(n?(0,i.D)(n):(0,o.c)()).subscribe(e)}))}},1608:(t,e,n)=>{"use strict";n.d(e,{E:()=>i,c:()=>o});var r=n(5988),i=new r.y((function(t){return t.complete()}));function o(t){return t?function(t){return new r.y((function(e){return t.schedule((function(){return e.complete()}))}))}(t):i}},6628:(t,e,n)=>{"use strict";n.d(e,{D:()=>s});var r=n(5988),i=n(9842),o=n(9075);function s(t,e){return e?(0,o.x)(t,e):t instanceof r.y?t:new r.y((0,i.s)(t))}},6567:(t,e,n)=>{"use strict";n.d(e,{n:()=>s});var r=n(5988),i=n(765),o=n(4821);function s(t,e){return e?(0,o.r)(t,e):new r.y((0,i.V)(t))}},1522:(t,e,n)=>{"use strict";n.d(e,{R:()=>u});var r=n(5988),i=n(7588),o=n(3517),s=n(7081);function u(t,e,n,a){return(0,o.m)(n)&&(a=n,n=void 0),a?u(t,e,n).pipe((0,s.U)((function(t){return(0,i.k)(t)?a.apply(void 0,t):a(t)}))):new r.y((function(r){c(t,e,(function(t){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(t)}),r,n)}))}function c(t,e,n,r,i){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(e,n,i),o=function(){return s.removeEventListener(e,n,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var u=t;t.on(e,n),o=function(){return u.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var a=t;t.addListener(e,n),o=function(){return a.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,h=t.length;l<h;l++)c(t[l],e,n,r,i)}r.add(o)}},3637:(t,e,n)=>{"use strict";n.d(e,{T:()=>u});var r=n(5988),i=n(6693),o=n(7178),s=n(6567);function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,u=null,c=t[t.length-1];return(0,i.K)(c)?(u=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof c&&(n=t.pop()),null===u&&1===t.length&&t[0]instanceof r.y?t[0]:(0,o.J)(n)((0,s.n)(t,u))}},3979:(t,e,n)=>{"use strict";n.d(e,{of:()=>s});var r=n(6693),i=n(6567),o=n(4821);function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return(0,r.K)(n)?(t.pop(),(0,o.r)(t,n)):(0,i.n)(t)}},9569:(t,e,n)=>{"use strict";n.d(e,{S3:()=>c});var r=n(8367),i=n(7588),o=n(6567),s=n(7268),u=n(8479);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!(0,i.k)(t[0]))return t[0];t=t[0]}return(0,o.n)(t,void 0).lift(new a)}var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){var n=t.call(this,e)||this;return n.hasFirst=!1,n.observables=[],n.subscriptions=[],n}return r.ZT(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var r=t[n],i=(0,u.D)(this,r,void 0,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},e.prototype.notifyNext=function(t,e,n){if(!this.hasFirst){this.hasFirst=!0;for(var r=0;r<this.subscriptions.length;r++)if(r!==n){var i=this.subscriptions[r];i.unsubscribe(),this.remove(i)}this.subscriptions=null}this.destination.next(e)},e}(s.L)},9770:(t,e,n)=>{"use strict";n.d(e,{_:()=>i});var r=n(5988);function i(t,e){return e?new r.y((function(n){return e.schedule(o,0,{error:t,subscriber:n})})):new r.y((function(e){return e.error(t)}))}function o(t){var e=t.error;t.subscriber.error(e)}},1034:(t,e,n)=>{"use strict";n.d(e,{H:()=>u});var r=n(5988),i=n(7162),o=n(7904),s=n(6693);function u(t,e,n){void 0===t&&(t=0);var u=-1;return(0,o.k)(e)?u=Number(e)<1?1:Number(e):(0,s.K)(e)&&(n=e),(0,s.K)(n)||(n=i.P),new r.y((function(e){var r=(0,o.k)(t)?t:+t-n.now();return n.schedule(c,r,{index:0,period:u,subscriber:e})}))}function c(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}},3314:(t,e,n)=>{"use strict";n.d(e,{$R:()=>a,mx:()=>l});var r=n(8367),i=n(6567),o=n(7588),s=n(1180),u=n(1112),c=n(4932);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),(0,i.n)(t,void 0).lift(new l(n))}var l=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.resultSelector))},t}(),h=function(t){function e(e,n,r){void 0===r&&(r=Object.create(null));var i=t.call(this,e)||this;return i.resultSelector=n,i.iterators=[],i.active=0,i.resultSelector="function"==typeof n?n:void 0,i}return r.ZT(e,t),e.prototype._next=function(t){var e=this.iterators;(0,o.k)(t)?e.push(new p(t)):"function"==typeof t[u.hZ]?e.push(new f(t[u.hZ]())):e.push(new d(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var n=0;n<e;n++){var r=t[n];r.stillUnsubscribed?this.destination.add(r.subscribe()):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,r=0;r<e;r++)if("function"==typeof(s=t[r]).hasValue&&!s.hasValue())return;var i=!1,o=[];for(r=0;r<e;r++){var s,u=(s=t[r]).next();if(s.hasCompleted()&&(i=!0),u.done)return void n.complete();o.push(u.value)}this.resultSelector?this._tryresultSelector(o):n.next(o),i&&n.complete()},e.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.L),f=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return Boolean(t&&t.done)},t}(),p=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[u.hZ]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),d=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.parent=n,i.observable=r,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return r.ZT(e,t),e.prototype[u.hZ]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t){this.buffer.push(t),this.parent.checkIterators()},e.prototype.subscribe=function(){return(0,c.ft)(this.observable,new c.IY(this))},e}(c.Ds)},8321:(t,e,n)=>{"use strict";n.d(e,{u:()=>i});var r=n(7178);function i(){return(0,r.J)(1)}},4624:(t,e,n)=>{"use strict";n.d(e,{d:()=>o});var r=n(8367),i=n(1180);function o(t){return void 0===t&&(t=null),function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.defaultValue))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return r.ZT(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(i.L)},5439:(t,e,n)=>{"use strict";n.d(e,{x:()=>o});var r=n(8367),i=n(1180);function o(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compare,this.keySelector))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.ZT(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(i.L)},8933:(t,e,n)=>{"use strict";n.d(e,{h:()=>o});var r=n(8367),i=n(1180);function o(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.predicate,this.thisArg))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return r.ZT(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.L)},3078:(t,e,n)=>{"use strict";n.d(e,{P:()=>a});var r=n(930),i=n(8933),o=n(7376),s=n(4624),u=n(7785),c=n(2884);function a(t,e){var n=arguments.length>=2;return function(a){return a.pipe(t?(0,i.h)((function(e,n){return t(e,n,a)})):c.y,(0,o.q)(1),n?(0,s.d)(e):(0,u.T)((function(){return new r.K})))}}},7224:(t,e,n)=>{"use strict";n.d(e,{T:()=>f,v:()=>c});var r=n(8367),i=n(1180),o=n(4372),s=n(5988),u=n(7457);function c(t,e,n,r){return function(i){return i.lift(new a(t,e,n,r))}}var a=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),l=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.keySelector=n,s.elementSelector=r,s.durationSelector=i,s.subjectSelector=o,s.groups=null,s.attemptedToUnsubscribe=!1,s.count=0,s}return r.ZT(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups=new Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new u.xQ,n.set(e,i);var o=new f(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new f(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new h(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach((function(e,n){e.error(t)})),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach((function(t,e){t.complete()})),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(i.L),h=function(t){function e(e,n,r){var i=t.call(this,n)||this;return i.key=e,i.group=n,i.parent=r,i}return r.ZT(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(i.L),f=function(t){function e(e,n,r){var i=t.call(this)||this;return i.key=e,i.groupSubject=n,i.refCountSubscription=r,i}return r.ZT(e,t),e.prototype._subscribe=function(t){var e=new o.w,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&e.add(new p(n)),e.add(r.subscribe(t)),e},e}(s.y),p=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,e.count++,n}return r.ZT(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(o.w)},7081:(t,e,n)=>{"use strict";n.d(e,{U:()=>o});var r=n(8367),i=n(1180);function o(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.thisArg))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.ZT(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.L)},7178:(t,e,n)=>{"use strict";n.d(e,{J:()=>o});var r=n(4858),i=n(2884);function o(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),(0,r.zg)(i.y,t)}},4858:(t,e,n)=>{"use strict";n.d(e,{VS:()=>l,zg:()=>u});var r=n(8367),i=n(7081),o=n(6628),s=n(4932);function u(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(u((function(n,r){return(0,o.D)(t(n,r)).pipe((0,i.U)((function(t,i){return e(n,t,r,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.concurrent))},t}(),a=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return r.ZT(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new s.IY(this),n=this.destination;n.add(e);var r=(0,s.ft)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.Ds),l=u},4891:(t,e,n)=>{"use strict";n.d(e,{QV:()=>s,ht:()=>c});var r=n(8367),i=n(1180),o=n(8642);function s(t,e){return void 0===e&&(e=0),function(n){return n.lift(new u(t,e))}}var u=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.scheduler,this.delay))},t}(),c=function(t){function e(e,n,r){void 0===r&&(r=0);var i=t.call(this,e)||this;return i.scheduler=n,i.delay=r,i}return r.ZT(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new a(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(o.P.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(o.P.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(o.P.createComplete()),this.unsubscribe()},e}(i.L),a=function(){return function(t,e){this.notification=t,this.destination=e}}()},2855:(t,e,n)=>{"use strict";n.d(e,{G:()=>o});var r=n(8367),i=n(1180);function o(){return function(t){return t.lift(new s)}}var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return r.ZT(e,t),e.prototype._next=function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)},e}(i.L)},6747:(t,e,n)=>{"use strict";n.d(e,{x:()=>o});var r=n(8367),i=n(1180);function o(){return function(t){return t.lift(new s(t))}}var s=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new u(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.ZT(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(i.L)},7376:(t,e,n)=>{"use strict";n.d(e,{q:()=>u});var r=n(8367),i=n(1180),o=n(6120),s=n(1608);function u(t){return function(e){return 0===t?(0,s.c)():e.lift(new c(t))}}var c=function(){function t(t){if(this.total=t,this.total<0)throw new o.W}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.ZT(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.L)},7785:(t,e,n)=>{"use strict";n.d(e,{T:()=>s});var r=n(8367),i=n(930),o=n(1180);function s(t){return void 0===t&&(t=a),function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.errorFactory=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.errorFactory))},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.errorFactory=n,r.hasValue=!1,r}return r.ZT(e,t),e.prototype._next=function(t){this.hasValue=!0,this.destination.next(t)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var t=void 0;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)},e}(o.L);function a(){return new i.K}},4821:(t,e,n)=>{"use strict";n.d(e,{r:()=>o});var r=n(5988),i=n(4372);function o(t,e){return new r.y((function(n){var r=new i.w,o=0;return r.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},9075:(t,e,n)=>{"use strict";n.d(e,{x:()=>l});var r=n(5988),i=n(4372),o=n(5940),s=n(4821),u=n(1112),c=n(2017),a=n(6708);function l(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.L]}(t))return function(t,e){return new r.y((function(n){var r=new i.w;return r.add(e.schedule((function(){var i=t[o.L]();r.add(i.subscribe({next:function(t){r.add(e.schedule((function(){return n.next(t)})))},error:function(t){r.add(e.schedule((function(){return n.error(t)})))},complete:function(){r.add(e.schedule((function(){return n.complete()})))}}))}))),r}))}(t,e);if((0,c.t)(t))return function(t,e){return new r.y((function(n){var r=new i.w;return r.add(e.schedule((function(){return t.then((function(t){r.add(e.schedule((function(){n.next(t),r.add(e.schedule((function(){return n.complete()})))})))}),(function(t){r.add(e.schedule((function(){return n.error(t)})))}))}))),r}))}(t,e);if((0,a.z)(t))return(0,s.r)(t,e);if(function(t){return t&&"function"==typeof t[u.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.y((function(n){var r,o=new i.w;return o.add((function(){r&&"function"==typeof r.return&&r.return()})),o.add(e.schedule((function(){r=t[u.hZ](),o.add(e.schedule((function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())}})))}))),o}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}},6475:(t,e,n)=>{"use strict";n.d(e,{o:()=>i});var r=n(8367),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return r.ZT(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return r.ZT(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n(4372).w))},7333:(t,e,n)=>{"use strict";n.d(e,{v:()=>o});var r=n(8367),i=n(479),o=function(t){function e(n,r){void 0===r&&(r=i.b.now);var o=t.call(this,n,(function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return r.ZT(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(i.b)},5731:(t,e,n)=>{"use strict";n.d(e,{e:()=>l,E:()=>a});var r=n(8367),i=1,o=function(){return Promise.resolve()}(),s={};function u(t){return t in s&&(delete s[t],!0)}var c=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.ZT(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=(c=e.flush.bind(e,null),a=i++,s[a]=!0,o.then((function(){return u(a)&&c()})),a)));var c,a},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(u(n),e.scheduled=void 0)},e}(n(6475).o),a=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.ZT(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(n(7333).v))(c),l=a},7162:(t,e,n)=>{"use strict";n.d(e,{P:()=>o,z:()=>i});var r=n(6475),i=new(n(7333).v)(r.o),o=i},7302:(t,e,n)=>{"use strict";n.d(e,{c:()=>s,N:()=>o});var r=n(8367),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.ZT(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(n(6475).o),o=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.ZT(e,t),e}(n(7333).v))(i),s=o},1112:(t,e,n)=>{"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,{hZ:()=>i});var i=r()},5940:(t,e,n)=>{"use strict";n.d(e,{L:()=>r});var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},3082:(t,e,n)=>{"use strict";n.d(e,{b:()=>r});var r=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},6120:(t,e,n)=>{"use strict";n.d(e,{W:()=>r});var r=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},930:(t,e,n)=>{"use strict";n.d(e,{K:()=>r});var r=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}()},5589:(t,e,n)=>{"use strict";n.d(e,{N:()=>r});var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},6035:(t,e,n)=>{"use strict";n.d(e,{W:()=>r});var r=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}()},5436:(t,e,n)=>{"use strict";n.d(e,{B:()=>r});var r=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}()},6670:(t,e,n)=>{"use strict";n.d(e,{_:()=>i});var r=n(1180);function i(t){for(;t;){var e=t,n=e.closed,i=e.destination,o=e.isStopped;if(n||o)return!1;t=i&&i instanceof r.L?i:null}return!0}},4612:(t,e,n)=>{"use strict";function r(t){setTimeout((function(){throw t}),0)}n.d(e,{z:()=>r})},2884:(t,e,n)=>{"use strict";function r(t){return t}n.d(e,{y:()=>r})},7588:(t,e,n)=>{"use strict";n.d(e,{k:()=>r});var r=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}()},6708:(t,e,n)=>{"use strict";n.d(e,{z:()=>r});var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},3517:(t,e,n)=>{"use strict";function r(t){return"function"==typeof t}n.d(e,{m:()=>r})},7904:(t,e,n)=>{"use strict";n.d(e,{k:()=>i});var r=n(7588);function i(t){return!(0,r.k)(t)&&t-parseFloat(t)+1>=0}},4066:(t,e,n)=>{"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,{K:()=>r})},2017:(t,e,n)=>{"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:()=>r})},6693:(t,e,n)=>{"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,{K:()=>r})},1445:(t,e,n)=>{"use strict";function r(){}n.d(e,{Z:()=>r})},3796:(t,e,n)=>{"use strict";function r(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}n.d(e,{f:()=>r})},5989:(t,e,n)=>{"use strict";n.d(e,{U:()=>o,z:()=>i});var r=n(2884);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)}function o(t){return 0===t.length?r.y:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}},9842:(t,e,n)=>{"use strict";n.d(e,{s:()=>l});var r=n(765),i=n(4612),o=n(1112),s=n(5940),u=n(6708),c=n(2017),a=n(4066),l=function(t){if(t&&"function"==typeof t[s.L])return l=t,function(t){var e=l[s.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,u.z)(t))return(0,r.V)(t);if((0,c.t)(t))return n=t,function(t){return n.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,i.z),t};if(t&&"function"==typeof t[o.hZ])return e=t,function(t){for(var n=e[o.hZ]();;){var r=void 0;try{r=n.next()}catch(e){return t.error(e),t}if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add((function(){n.return&&n.return()})),t};var e,n,l,h=(0,a.K)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+h+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},765:(t,e,n)=>{"use strict";n.d(e,{V:()=>r});var r=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}}},8479:(t,e,n)=>{"use strict";n.d(e,{D:()=>u});var r=n(8367),i=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return r.ZT(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n(1180).L),o=n(9842),s=n(5988);function u(t,e,n,r,u){if(void 0===u&&(u=new i(t,n,r)),!u.closed)return e instanceof s.y?e.subscribe(u):(0,o.s)(e)(u)}},422:(t,e,n)=>{"use strict";n.r(e),n.d(e,{audit:()=>o,auditTime:()=>l,buffer:()=>h,bufferCount:()=>b,bufferTime:()=>w,bufferToggle:()=>I,bufferWhen:()=>M,catchError:()=>V,combineAll:()=>F,combineLatest:()=>W,concat:()=>B,concatAll:()=>z.u,concatMap:()=>Y,concatMapTo:()=>K,count:()=>G,debounce:()=>X,debounceTime:()=>nt,defaultIfEmpty:()=>st.d,delay:()=>at,delayWhen:()=>dt,dematerialize:()=>gt,distinct:()=>_t,distinctUntilChanged:()=>Ct.x,distinctUntilKeyChanged:()=>Et,elementAt:()=>jt,endWith:()=>Mt,every:()=>Dt,exhaust:()=>Rt,exhaustMap:()=>$t,expand:()=>Ut,filter:()=>Nt.h,finalize:()=>Ht,find:()=>Gt,findIndex:()=>Xt,first:()=>te.P,flatMap:()=>H.VS,groupBy:()=>ee.v,ignoreElements:()=>ne,isEmpty:()=>oe,last:()=>de,map:()=>Ft.U,mapTo:()=>be,materialize:()=>me,max:()=>Ee,merge:()=>Ne,mergeAll:()=>Oe.J,mergeMap:()=>H.zg,mergeMapTo:()=>Ie,mergeScan:()=>je,min:()=>De,multicast:()=>Ve,observeOn:()=>Le.QV,onErrorResumeNext:()=>Ze,pairwise:()=>qe.G,partition:()=>Ue,pluck:()=>Be,publish:()=>He,publishBehavior:()=>Ke,publishLast:()=>Je,publishReplay:()=>Xe,race:()=>en,reduce:()=>Ce,refCount:()=>bn.x,repeat:()=>nn,repeatWhen:()=>sn,retry:()=>an,retryWhen:()=>fn,sample:()=>vn,sampleTime:()=>gn,scan:()=>xe,sequenceEqual:()=>Sn,share:()=>Nn,shareReplay:()=>On,single:()=>In,skip:()=>Mn,skipLast:()=>Vn,skipUntil:()=>Zn,skipWhile:()=>qn,startWith:()=>Bn,subscribeOn:()=>Kn,switchAll:()=>tr,switchMap:()=>Jn,switchMapTo:()=>er,take:()=>It.q,takeLast:()=>le,takeUntil:()=>nr,takeWhile:()=>or,tap:()=>lr,throttle:()=>dr,throttleTime:()=>yr,throwIfEmpty:()=>Ot.T,timeInterval:()=>_r,timeout:()=>Or,timeoutWith:()=>Cr,timestamp:()=>Ir,toArray:()=>Mr,window:()=>Dr,windowCount:()=>Rr,windowTime:()=>Fr,windowToggle:()=>Hr,windowWhen:()=>Gr,withLatestFrom:()=>Xr,zip:()=>ri,zipAll:()=>ii});var r=n(8367),i=n(4932);function o(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.durationSelector))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.ZT(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(t){return this.destination.error(t)}var n=(0,i.ft)(e,new i.IY(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),n&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(i.Ds),c=n(7162),a=n(1034);function l(t,e){return void 0===e&&(e=c.P),o((function(){return(0,a.H)(t,e)}))}function h(t){return function(e){return e.lift(new f(t))}}var f=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.closingNotifier))},t}(),p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.buffer=[],r.add((0,i.ft)(n,new i.IY(r))),r}return r.ZT(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(){var t=this.buffer;this.buffer=[],this.destination.next(t)},e}(i.Ds),d=n(1180);function b(t,e){return void 0===e&&(e=null),function(n){return n.lift(new v(t,e))}}var v=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?m:y}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),y=function(t){function e(e,n){var r=t.call(this,e)||this;return r.bufferSize=n,r.buffer=[],r}return r.ZT(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(d.L),m=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.bufferSize=n,i.startBufferEvery=r,i.buffers=[],i.count=0,i}return r.ZT(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,r=e.startBufferEvery,i=e.buffers,o=e.count;this.count++,o%r==0&&i.push([]);for(var s=i.length;s--;){var u=i[s];u.push(t),u.length===n&&(i.splice(s,1),this.destination.next(u))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var r=e.shift();r.length>0&&n.next(r)}t.prototype._complete.call(this)},e}(d.L),g=n(6693);function w(t){var e=arguments.length,n=c.P;(0,g.K)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new x(t,r,i,n))}}var x=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new S(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),_=function(){return function(){this.buffer=[]}}(),S=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;s.bufferTimeSpan=n,s.bufferCreationInterval=r,s.maxBufferSize=i,s.scheduler=o,s.contexts=[];var u=s.openContext();if(s.timespanOnly=null==r||r<0,s.timespanOnly){var c={subscriber:s,context:u,bufferTimeSpan:n};s.add(u.closeAction=o.schedule(T,n,c))}else{var a={subscriber:s,context:u},l={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:s,scheduler:o};s.add(u.closeAction=o.schedule(E,n,a)),s.add(o.schedule(C,r,l))}return s}return r.ZT(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i<r;i++){var o=n[i],s=o.buffer;s.push(t),s.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,n=this.destination;e.length>0;){var r=e.shift();n.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(T,n,r))}},e.prototype.openContext=function(){var t=new _;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(d.L);function T(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function C(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(E,n,{subscriber:r,context:o})),this.schedule(t,e))}function E(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var P=n(4372),N=n(8479),O=n(7268);function I(t,e){return function(n){return n.lift(new j(t,e))}}var j=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new A(t,this.openings,this.closingSelector))},t}(),A=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.closingSelector=r,i.contexts=[],i.add((0,N.D)(i,n)),i}return r.ZT(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r<n;r++)e[r].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new P.w,r={buffer:[],subscription:n};e.push(r);var i=(0,N.D)(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),n.add(i))},e}(O.L);function M(t){return function(e){return e.lift(new D(t))}}var D=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new k(t,this.closingSelector))},t}(),k=function(t){function e(e,n){var r=t.call(this,e)||this;return r.closingSelector=n,r.subscribing=!1,r.openBuffer(),r}return r.ZT(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=void 0,this.subscribing=!1},e.prototype.notifyNext=function(){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{e=(0,this.closingSelector)()}catch(t){return this.error(t)}t=new P.w,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add((0,i.ft)(e,new i.IY(this))),this.subscribing=!1},e}(i.Ds);function V(t){return function(e){var n=new R(t),r=e.lift(n);return n.caught=r}}var R=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new L(t,this.selector,this.caught))},t}(),L=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return r.ZT(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var r=new i.IY(this);this.add(r);var o=(0,i.ft)(n,r);o!==r&&this.add(o)}},e}(i.Ds),Z=n(1086);function F(t){return function(e){return e.lift(new Z.Ms(t))}}var $=n(7588),q=n(6628);function W(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&(0,$.k)(t[0])&&(t=t[0].slice()),function(e){return e.lift.call((0,q.D)([e].concat(t)),new Z.Ms(n))}}var U=n(5600);function B(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(U.z.apply(void 0,[e].concat(t)))}}var z=n(8321),H=n(4858);function Y(t,e){return(0,H.zg)(t,e,1)}function K(t,e){return Y((function(){return t}),e)}function G(t){return function(e){return e.lift(new J(t,e))}}var J=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Q(t,this.predicate,this.source))},t}(),Q=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.count=0,i.index=0,i}return r.ZT(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(d.L);function X(t){return function(e){return e.lift(new tt(t))}}var tt=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new et(t,this.durationSelector))},t}(),et=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.ZT(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=(0,i.ft)(e,new i.IY(this)))&&!n.closed&&this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=void 0,n.unsubscribe(),this.remove(n)),this.value=void 0,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(i.Ds);function nt(t,e){return void 0===e&&(e=c.P),function(n){return n.lift(new rt(t,e))}}var rt=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new it(t,this.dueTime,this.scheduler))},t}(),it=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return r.ZT(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(ot,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(d.L);function ot(t){t.debouncedNext()}var st=n(4624);function ut(t){return t instanceof Date&&!isNaN(+t)}var ct=n(8642);function at(t,e){void 0===e&&(e=c.P);var n=ut(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new lt(n,e))}}var lt=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new ht(t,this.delay,this.scheduler))},t}(),ht=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return r.ZT(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new ft(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(ct.P.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(ct.P.createComplete()),this.unsubscribe()},e}(d.L),ft=function(){return function(t,e){this.time=t,this.notification=e}}(),pt=n(5988);function dt(t,e){return e?function(n){return new yt(n,e).lift(new bt(t))}:function(e){return e.lift(new bt(t))}}var bt=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new vt(t,this.delayDurationSelector))},t}(),vt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.delayDurationSelector=n,r.completed=!1,r.delayNotifierSubscriptions=[],r.index=0,r}return r.ZT(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue},e.prototype.tryDelay=function(t,e){var n=(0,N.D)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(O.L),yt=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subscriptionDelay=n,r}return r.ZT(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new mt(t,this.source))},e}(pt.y),mt=function(t){function e(e,n){var r=t.call(this)||this;return r.parent=e,r.source=n,r.sourceSubscribed=!1,r}return r.ZT(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(d.L);function gt(){return function(t){return t.lift(new wt)}}var wt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new xt(t))},t}(),xt=function(t){function e(e){return t.call(this,e)||this}return r.ZT(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(d.L);function _t(t,e){return function(n){return n.lift(new St(t,e))}}var St=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new Tt(t,this.keySelector,this.flushes))},t}(),Tt=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.keySelector=n,o.values=new Set,r&&o.add((0,i.ft)(r,new i.IY(o))),o}return r.ZT(e,t),e.prototype.notifyNext=function(){this.values.clear()},e.prototype.notifyError=function(t){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(i.Ds),Ct=n(5439);function Et(t,e){return(0,Ct.x)((function(n,r){return e?e(n[t],r[t]):n[t]===r[t]}))}var Pt=n(6120),Nt=n(8933),Ot=n(7785),It=n(7376);function jt(t,e){if(t<0)throw new Pt.W;var n=arguments.length>=2;return function(r){return r.pipe((0,Nt.h)((function(e,n){return n===t})),(0,It.q)(1),n?(0,st.d)(e):(0,Ot.T)((function(){return new Pt.W})))}}var At=n(3979);function Mt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return(0,U.z)(e,At.of.apply(void 0,t))}}function Dt(t,e){return function(n){return n.lift(new kt(t,e,n))}}var kt=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new Vt(t,this.predicate,this.thisArg,this.source))},t}(),Vt=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return r.ZT(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(d.L);function Rt(){return function(t){return t.lift(new Lt)}}var Lt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Zt(t))},t}(),Zt=function(t){function e(e){var n=t.call(this,e)||this;return n.hasCompleted=!1,n.hasSubscription=!1,n}return r.ZT(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add((0,i.ft)(t,new i.IY(this))))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.Ds),Ft=n(7081);function $t(t,e){return e?function(n){return n.pipe($t((function(n,r){return(0,q.D)(t(n,r)).pipe((0,Ft.U)((function(t,i){return e(n,t,r,i)})))})))}:function(e){return e.lift(new qt(t))}}var qt=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Wt(t,this.project))},t}(),Wt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return r.ZT(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new i.IY(this),n=this.destination;n.add(e);var r=(0,i.ft)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.Ds);function Ut(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(r){return r.lift(new Bt(t,e,n))}}var Bt=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new zt(t,this.project,this.concurrent,this.scheduler))},t}(),zt=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.scheduler=i,o.index=0,o.active=0,o.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(o.buffer=[]),o}return r.ZT(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,r=t.value,i=t.index;e.subscribeToProjection(n,r,i)},e.prototype._next=function(t){var n=this.destination;if(n.closed)this._complete();else{var r=this.index++;if(this.active<this.concurrent){n.next(t);try{var i=(0,this.project)(t,r);if(this.scheduler){var o={subscriber:this,result:i,value:t,index:r};this.destination.add(this.scheduler.schedule(e.dispatch,0,o))}else this.subscribeToProjection(i,t,r)}catch(t){n.error(t)}}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.destination.add((0,i.ft)(t,new i.IY(this)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this._next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(i.Ds);function Ht(t){return function(e){return e.lift(new Yt(t))}}var Yt=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Kt(t,this.callback))},t}(),Kt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new P.w(n)),r}return r.ZT(e,t),e}(d.L);function Gt(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new Jt(t,n,!1,e))}}var Jt=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new Qt(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),Qt=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.predicate=n,s.source=r,s.yieldIndex=i,s.thisArg=o,s.index=0,s}return r.ZT(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,r=this.index++;try{e.call(n||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(d.L);function Xt(t,e){return function(n){return n.lift(new Jt(t,n,!0,e))}}var te=n(3078),ee=n(7224);function ne(){return function(t){return t.lift(new re)}}var re=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ie(t))},t}(),ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.ZT(e,t),e.prototype._next=function(t){},e}(d.L);function oe(){return function(t){return t.lift(new se)}}var se=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ue(t))},t}(),ue=function(t){function e(e){return t.call(this,e)||this}return r.ZT(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(d.L),ce=n(930),ae=n(1608);function le(t){return function(e){return 0===t?(0,ae.c)():e.lift(new he(t))}}var he=function(){function t(t){if(this.total=t,this.total<0)throw new Pt.W}return t.prototype.call=function(t,e){return e.subscribe(new fe(t,this.total))},t}(),fe=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.ZT(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(d.L),pe=n(2884);function de(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?(0,Nt.h)((function(e,n){return t(e,n,r)})):pe.y,le(1),n?(0,st.d)(e):(0,Ot.T)((function(){return new ce.K})))}}function be(t){return function(e){return e.lift(new ve(t))}}var ve=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new ye(t,this.value))},t}(),ye=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return r.ZT(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(d.L);function me(){return function(t){return t.lift(new ge)}}var ge=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new we(t))},t}(),we=function(t){function e(e){return t.call(this,e)||this}return r.ZT(e,t),e.prototype._next=function(t){this.destination.next(ct.P.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(ct.P.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(ct.P.createComplete()),t.complete()},e}(d.L);function xe(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new _e(t,e,n))}}var _e=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Se(t,this.accumulator,this.seed,this.hasSeed))},t}(),Se=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.ZT(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(d.L),Te=n(5989);function Ce(t,e){return arguments.length>=2?function(n){return(0,Te.z)(xe(t,e),le(1),(0,st.d)(e))(n)}:function(e){return(0,Te.z)(xe((function(e,n,r){return t(e,n,r+1)})),le(1))(e)}}function Ee(t){return Ce("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}var Pe=n(3637);function Ne(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Pe.T.apply(void 0,[e].concat(t)))}}var Oe=n(7178);function Ie(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?(0,H.zg)((function(){return t}),e,n):("number"==typeof e&&(n=e),(0,H.zg)((function(){return t}),n))}function je(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return r.lift(new Ae(t,e,n))}}var Ae=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new Me(t,this.accumulator,this.seed,this.concurrent))},t}(),Me=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o.acc=r,o.concurrent=i,o.hasValue=!1,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.ZT(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=this.destination,r=void 0;try{r=(0,this.accumulator)(this.acc,t,e)}catch(t){return n.error(t)}this.active++,this._innerSub(r)}else this.buffer.push(t)},e.prototype._innerSub=function(t){var e=new i.IY(this),n=this.destination;n.add(e);var r=(0,i.ft)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},e.prototype.notifyNext=function(t){var e=this.destination;this.acc=t,this.hasValue=!0,e.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(i.Ds);function De(t){return Ce("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}var ke=n(9570);function Ve(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new Re(r,e));var i=Object.create(n,ke.N);return i.source=n,i.subjectFactory=r,i}}var Re=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}(),Le=n(4891);function Ze(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&(0,$.k)(t[0])&&(t=t[0]),function(e){return e.lift(new Fe(t))}}var Fe=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new $e(t,this.nextSources))},t}(),$e=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.nextSources=n,r}return r.ZT(e,t),e.prototype.notifyError=function(){this.subscribeToNextSource()},e.prototype.notifyComplete=function(){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();if(t){var e=new i.IY(this),n=this.destination;n.add(e);var r=(0,i.ft)(t,e);r!==e&&n.add(r)}else this.destination.complete()},e}(i.Ds),qe=n(2855),We=n(3796);function Ue(t,e){return function(n){return[(0,Nt.h)(t,e)(n),(0,Nt.h)((0,We.f)(t,e))(n)]}}function Be(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return(0,Ft.U)(function(t,e){return function(n){for(var r=n,i=0;i<e;i++){var o=null!=r?r[t[i]]:void 0;if(void 0===o)return;r=o}return r}}(t,n))(e)}}var ze=n(7457);function He(t){return t?Ve((function(){return new ze.xQ}),t):Ve(new ze.xQ)}var Ye=n(7656);function Ke(t){return function(e){return Ve(new Ye.X(t))(e)}}var Ge=n(3597);function Je(){return function(t){return Ve(new Ge.c)(t)}}var Qe=n(2912);function Xe(t,e,n,r){n&&"function"!=typeof n&&(r=n);var i="function"==typeof n?n:void 0,o=new Qe.t(t,e,r);return function(t){return Ve((function(){return o}),i)(t)}}var tn=n(9569);function en(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return 1===t.length&&(0,$.k)(t[0])&&(t=t[0]),e.lift.call(tn.S3.apply(void 0,[e].concat(t)))}}function nn(t){return void 0===t&&(t=-1),function(e){return 0===t?(0,ae.c)():t<0?e.lift(new rn(-1,e)):e.lift(new rn(t-1,e))}}var rn=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new on(t,this.count,this.source))},t}(),on=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.ZT(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,n=this.count;if(0===n)return t.prototype.complete.call(this);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(d.L);function sn(t){return function(e){return e.lift(new un(t))}}var un=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new cn(t,this.notifier,e))},t}(),cn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i.sourceIsBeingSubscribedTo=!0,i}return r.ZT(e,t),e.prototype.notifyNext=function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new ze.xQ;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=(0,i.ft)(e,new i.IY(this))},e}(i.Ds);function an(t){return void 0===t&&(t=-1),function(e){return e.lift(new ln(t,e))}}var ln=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new hn(t,this.count,this.source))},t}(),hn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.ZT(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(d.L);function fn(t){return function(e){return e.lift(new pn(t,e))}}var pn=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new dn(t,this.notifier,this.source))},t}(),dn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i}return r.ZT(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,o=this.retriesSubscription;if(r)this.errors=void 0,this.retriesSubscription=void 0;else{n=new ze.xQ;try{r=(0,this.notifier)(n)}catch(e){return t.prototype.error.call(this,e)}o=(0,i.ft)(r,new i.IY(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=o,n.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},e.prototype.notifyNext=function(){var t=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)},e}(i.Ds),bn=n(6747);function vn(t){return function(e){return e.lift(new yn(t))}}var yn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new mn(t),r=e.subscribe(n);return r.add((0,i.ft)(this.notifier,new i.IY(n))),r},t}(),mn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return r.ZT(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(i.Ds);function gn(t,e){return void 0===e&&(e=c.P),function(n){return n.lift(new wn(t,e))}}var wn=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new xn(t,this.period,this.scheduler))},t}(),xn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.period=n,i.scheduler=r,i.hasValue=!1,i.add(r.schedule(_n,n,{subscriber:i,period:n})),i}return r.ZT(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(d.L);function _n(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function Sn(t,e){return function(n){return n.lift(new Tn(t,e))}}var Tn=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new Cn(t,this.compareTo,this.comparator))},t}(),Cn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.compareTo=n,i.comparator=r,i._a=[],i._b=[],i._oneComplete=!1,i.destination.add(n.subscribe(new En(e,i))),i}return r.ZT(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,r=t.comparator;e.length>0&&n.length>0;){var i=e.shift(),o=n.shift(),s=!1;try{s=r?r(i,o):i===o}catch(t){this.destination.error(t)}s||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(d.L),En=function(t){function e(e,n){var r=t.call(this,e)||this;return r.parent=n,r}return r.ZT(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(d.L);function Pn(){return new ze.xQ}function Nn(){return function(t){return(0,bn.x)()(Ve(Pn)(t))}}function On(t,e,n){var r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,r=t.bufferSize,i=void 0===r?Number.POSITIVE_INFINITY:r,o=t.windowTime,s=void 0===o?Number.POSITIVE_INFINITY:o,u=t.refCount,c=t.scheduler,a=0,l=!1,h=!1;return function(t){var r;a++,!e||l?(l=!1,e=new Qe.t(i,s,c),r=e.subscribe(this),n=t.subscribe({next:function(t){e.next(t)},error:function(t){l=!0,e.error(t)},complete:function(){h=!0,n=void 0,e.complete()}}),h&&(n=void 0)):r=e.subscribe(this),this.add((function(){a--,r.unsubscribe(),r=void 0,n&&!h&&u&&0===a&&(n.unsubscribe(),n=void 0,e=void 0)}))}}(r))}}function In(t){return function(e){return e.lift(new jn(t,e))}}var jn=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new An(t,this.predicate,this.source))},t}(),An=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.seenValue=!1,i.index=0,i}return r.ZT(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new ce.K)},e}(d.L);function Mn(t){return function(e){return e.lift(new Dn(t))}}var Dn=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new kn(t,this.total))},t}(),kn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.ZT(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(d.L);function Vn(t){return function(e){return e.lift(new Rn(t))}}var Rn=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new Pt.W}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new d.L(t)):e.subscribe(new Ln(t,this._skipCount))},t}(),Ln=function(t){function e(e,n){var r=t.call(this,e)||this;return r._skipCount=n,r._count=0,r._ring=new Array(n),r}return r.ZT(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var r=n%e,i=this._ring,o=i[r];i[r]=t,this.destination.next(o)}},e}(d.L);function Zn(t){return function(e){return e.lift(new Fn(t))}}var Fn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new $n(t,this.notifier))},t}(),$n=function(t){function e(e,n){var r=t.call(this,e)||this;r.hasValue=!1;var o=new i.IY(r);r.add(o),r.innerSubscription=o;var s=(0,i.ft)(n,o);return s!==o&&(r.add(s),r.innerSubscription=s),r}return r.ZT(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype.notifyNext=function(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(i.Ds);function qn(t){return function(e){return e.lift(new Wn(t))}}var Wn=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new Un(t,this.predicate))},t}(),Un=function(t){function e(e,n){var r=t.call(this,e)||this;return r.predicate=n,r.skipping=!0,r.index=0,r}return r.ZT(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(d.L);function Bn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return(0,g.K)(n)?(t.pop(),function(e){return(0,U.z)(t,e,n)}):function(e){return(0,U.z)(t,e)}}var zn=n(5731),Hn=n(7904),Yn=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=zn.e);var i=t.call(this)||this;return i.source=e,i.delayTime=n,i.scheduler=r,(!(0,Hn.k)(n)||n<0)&&(i.delayTime=0),r&&"function"==typeof r.schedule||(i.scheduler=zn.e),i}return r.ZT(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=zn.e),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(pt.y);function Kn(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Gn(t,e))}}var Gn=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new Yn(e,this.delay,this.scheduler).subscribe(t)},t}();function Jn(t,e){return"function"==typeof e?function(n){return n.pipe(Jn((function(n,r){return(0,q.D)(t(n,r)).pipe((0,Ft.U)((function(t,i){return e(n,t,r,i)})))})))}:function(e){return e.lift(new Qn(t))}}var Qn=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Xn(t,this.project))},t}(),Xn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.ZT(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e)},e.prototype._innerSub=function(t){var e=this.innerSubscription;e&&e.unsubscribe();var n=new i.IY(this),r=this.destination;r.add(n),this.innerSubscription=(0,i.ft)(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=void 0},e.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t){this.destination.next(t)},e}(i.Ds);function tr(){return Jn(pe.y)}function er(t,e){return e?Jn((function(){return t}),e):Jn((function(){return t}))}function nr(t){return function(e){return e.lift(new rr(t))}}var rr=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new ir(t),r=(0,i.ft)(this.notifier,new i.IY(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),ir=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return r.ZT(e,t),e.prototype.notifyNext=function(){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(i.Ds);function or(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new sr(t,e))}}var sr=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new ur(t,this.predicate,this.inclusive))},t}(),ur=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.inclusive=r,i.index=0,i}return r.ZT(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())},e}(d.L),cr=n(1445),ar=n(3517);function lr(t,e,n){return function(r){return r.lift(new hr(t,e,n))}}var hr=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new fr(t,this.nextOrObserver,this.error,this.complete))},t}(),fr=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._tapNext=cr.Z,o._tapError=cr.Z,o._tapComplete=cr.Z,o._tapError=r||cr.Z,o._tapComplete=i||cr.Z,(0,ar.m)(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||cr.Z,o._tapError=n.error||cr.Z,o._tapComplete=n.complete||cr.Z),o}return r.ZT(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(d.L),pr={leading:!0,trailing:!1};function dr(t,e){return void 0===e&&(e=pr),function(n){return n.lift(new br(t,!!e.leading,!!e.trailing))}}var br=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new vr(t,this.durationSelector,this.leading,this.trailing))},t}(),vr=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.destination=e,o.durationSelector=n,o._leading=r,o._trailing=i,o._hasValue=!1,o}return r.ZT(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=void 0},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=(0,i.ft)(e,new i.IY(this)))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=void 0,e&&this.send()},e.prototype.notifyNext=function(){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(i.Ds);function yr(t,e,n){return void 0===e&&(e=c.P),void 0===n&&(n=pr),function(r){return r.lift(new mr(t,e,n.leading,n.trailing))}}var mr=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new gr(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),gr=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.duration=n,s.scheduler=r,s.leading=i,s.trailing=o,s._hasTrailingValue=!1,s._trailingValue=null,s}return r.ZT(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(wr,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(d.L);function wr(t){t.subscriber.clearThrottle()}var xr=n(7262);function _r(t){return void 0===t&&(t=c.P),function(e){return(0,xr.P)((function(){return e.pipe(xe((function(e,n){var r=e.current;return{value:n,current:t.now(),last:r}}),{current:t.now(),value:void 0,last:void 0}),(0,Ft.U)((function(t){var e=t.current,n=t.last,r=t.value;return new Sr(r,e-n)})))}))}}var Sr=function(){return function(t,e){this.value=t,this.interval=e}}(),Tr=n(6035);function Cr(t,e,n){return void 0===n&&(n=c.P),function(r){var i=ut(t),o=i?+t-n.now():Math.abs(t);return r.lift(new Er(o,i,e,n))}}var Er=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new Pr(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),Pr=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.absoluteTimeout=n,s.waitFor=r,s.withObservable=i,s.scheduler=o,s.scheduleTimeout(),s}return r.ZT(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add((0,i.ft)(e,new i.IY(t)))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=void 0,this.scheduler=null,this.withObservable=null},e}(i.Ds),Nr=n(9770);function Or(t,e){return void 0===e&&(e=c.P),Cr(t,(0,Nr._)(new Tr.W),e)}function Ir(t){return void 0===t&&(t=c.P),(0,Ft.U)((function(e){return new jr(e,t.now())}))}var jr=function(){return function(t,e){this.value=t,this.timestamp=e}}();function Ar(t,e,n){return 0===n?[e]:(t.push(e),t)}function Mr(){return Ce(Ar,[])}function Dr(t){return function(e){return e.lift(new kr(t))}}var kr=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new Vr(t),r=e.subscribe(n);return r.closed||n.add((0,i.ft)(this.windowBoundaries,new i.IY(n))),r},t}(),Vr=function(t){function e(e){var n=t.call(this,e)||this;return n.window=new ze.xQ,e.next(n.window),n}return r.ZT(e,t),e.prototype.notifyNext=function(){this.openWindow()},e.prototype.notifyError=function(t){this._error(t)},e.prototype.notifyComplete=function(){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new ze.xQ;e.next(n)},e}(i.Ds);function Rr(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Lr(t,e))}}var Lr=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new Zr(t,this.windowSize,this.startWindowEvery))},t}(),Zr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.destination=e,i.windowSize=n,i.startWindowEvery=r,i.windows=[new ze.xQ],i.count=0,e.next(i.windows[0]),i}return r.ZT(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,s=0;s<o&&!this.closed;s++)i[s].next(t);var u=this.count-r+1;if(u>=0&&u%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var c=new ze.xQ;i.push(c),n.next(c)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(d.L);function Fr(t){var e=c.P,n=null,r=Number.POSITIVE_INFINITY;return(0,g.K)(arguments[3])&&(e=arguments[3]),(0,g.K)(arguments[2])?e=arguments[2]:(0,Hn.k)(arguments[2])&&(r=Number(arguments[2])),(0,g.K)(arguments[1])?e=arguments[1]:(0,Hn.k)(arguments[1])&&(n=Number(arguments[1])),function(i){return i.lift(new $r(t,n,r,e))}}var $r=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new Wr(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),qr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return r.ZT(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(ze.xQ),Wr=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;s.destination=e,s.windowTimeSpan=n,s.windowCreationInterval=r,s.maxWindowSize=i,s.scheduler=o,s.windows=[];var u=s.openWindow();if(null!==r&&r>=0){var c={subscriber:s,window:u,context:null},a={windowTimeSpan:n,windowCreationInterval:r,subscriber:s,scheduler:o};s.add(o.schedule(zr,n,c)),s.add(o.schedule(Br,r,a))}else{var l={subscriber:s,window:u,windowTimeSpan:n};s.add(o.schedule(Ur,n,l))}return s}return r.ZT(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r<n;r++){var i=e[r];i.closed||(i.next(t),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new qr;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(d.L);function Ur(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function Br(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),s=this,u={action:s,subscription:null},c={subscriber:n,window:o,context:u};u.subscription=r.schedule(zr,e,c),s.add(u.subscription),s.schedule(t,i)}function zr(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}function Hr(t,e){return function(n){return n.lift(new Yr(t,e))}}var Yr=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new Kr(t,this.openings,this.closingSelector))},t}(),Kr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.openings=n,i.closingSelector=r,i.contexts=[],i.add(i.openSubscription=(0,N.D)(i,n,n)),i}return r.ZT(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r<n;r++)e[r].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var r=n.length,i=-1;++i<r;){var o=n[i];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,r=-1;++r<n;){var i=e[r];i.window.complete(),i.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var r=t[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,r,i){if(t===this.openings){var o=void 0;try{o=(0,this.closingSelector)(e)}catch(t){return this.error(t)}var s=new ze.xQ,u=new P.w,c={window:s,subscription:u};this.contexts.push(c);var a=(0,N.D)(this,o,c);a.closed?this.closeWindow(this.contexts.length-1):(a.context=c,u.add(a)),this.destination.next(s)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],r=n.window,i=n.subscription;e.splice(t,1),r.complete(),i.unsubscribe()}},e}(O.L);function Gr(t){return function(e){return e.lift(new Jr(t))}}var Jr=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Qr(t,this.closingSelector))},t}(),Qr=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.closingSelector=n,r.openWindow(),r}return r.ZT(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow(i)},e.prototype.notifyError=function(t){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n,r=this.window=new ze.xQ;this.destination.next(r);try{n=(0,this.closingSelector)()}catch(t){return this.destination.error(t),void this.window.error(t)}this.add(this.closingNotification=(0,N.D)(this,n))},e}(O.L);function Xr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n;"function"==typeof t[t.length-1]&&(n=t.pop());var r=t;return e.lift(new ti(r,n))}}var ti=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new ei(t,this.observables,this.project))},t}(),ei=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.observables=n,i.project=r,i.toRespond=[];var o=n.length;i.values=new Array(o);for(var s=0;s<o;s++)i.toRespond.push(s);for(s=0;s<o;s++){var u=n[s];i.add((0,N.D)(i,u,void 0,s))}return i}return r.ZT(e,t),e.prototype.notifyNext=function(t,e,n){this.values[n]=e;var r=this.toRespond;if(r.length>0){var i=r.indexOf(n);-1!==i&&r.splice(i,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(O.L),ni=n(3314);function ri(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(ni.$R.apply(void 0,[e].concat(t)))}}function ii(t){return function(e){return e.lift(new ni.mx(t))}}},2633:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4377),i=n(5850);e.empty={closed:!0,next:function(t){},error:function(t){if(r.config.useDeprecatedSynchronousErrorHandling)throw t;i.hostReportError(t)},complete:function(){}}},859:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(3270),s=n(2633),u=n(7547),c=n(7836),a=n(4377),l=n(5850),h=function(t){function e(n,r,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s.empty;break;case 1:if(!n){o.destination=s.empty;break}if("object"==typeof n){n instanceof e?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new f(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new f(o,n,r,i)}return o}return i(e,t),e.prototype[c.rxSubscriber]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(u.Subscription);e.Subscriber=h;var f=function(t){function e(e,n,r,i){var u,c=t.call(this)||this;c._parentSubscriber=e;var a=c;return o.isFunction(n)?u=n:n&&(u=n.next,r=n.error,i=n.complete,n!==s.empty&&(a=Object.create(n),o.isFunction(a.unsubscribe)&&c.add(a.unsubscribe.bind(a)),a.unsubscribe=c.unsubscribe.bind(c))),c._context=a,c._next=u,c._error=r,c._complete=i,c}return i(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;a.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=a.config.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):l.hostReportError(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;l.hostReportError(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};a.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),a.config.useDeprecatedSynchronousErrorHandling)throw t;l.hostReportError(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!a.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return a.config.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(l.hostReportError(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(h);e.SafeSubscriber=f},7547:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7696),i=n(2754),o=n(3270),s=n(1869),u=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this,u=n._parentOrParents,a=n._ctorUnsubscribe,l=n._unsubscribe,h=n._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,u instanceof t)u.remove(this);else if(null!==u)for(var f=0;f<u.length;++f)u[f].remove(this);if(o.isFunction(l)){a&&(this._unsubscribe=void 0);try{l.call(this)}catch(t){e=t instanceof s.UnsubscriptionError?c(t.errors):[t]}}if(r.isArray(h)){f=-1;for(var p=h.length;++f<p;){var d=h[f];if(i.isObject(d))try{d.unsubscribe()}catch(t){e=e||[],t instanceof s.UnsubscriptionError?e=e.concat(c(t.errors)):e.push(t)}}}if(e)throw new s.UnsubscriptionError(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce((function(t,e){return t.concat(e instanceof s.UnsubscriptionError?e.errors:e)}),[])}e.Subscription=u},4377:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=!1;e.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=t},get useDeprecatedSynchronousErrorHandling(){return n}}},1476:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(859);e.skip=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return i(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.Subscriber)},7836:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),e.$$rxSubscriber=e.rxSubscriber},1869:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();e.UnsubscriptionError=n},5850:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hostReportError=function(t){setTimeout((function(){throw t}),0)}},7696:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},3270:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=function(t){return"function"==typeof t}},2754:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=function(t){return null!==t&&"object"==typeof t}},8367:(t,e,n)=>{"use strict";n.d(e,{ZT:()=>i});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{"use strict";function t(e,n){Object.keys(n).forEach((r=>{if(!Array.isArray(n[r])&&!Array.isArray(e[r])&&e.hasOwnProperty(r)&&"object"==typeof n[r])return t(e[r],n[r]);e[r]=n[r]}))}n.r(r),n.d(r,{init:()=>ft});var e=n(1522),i=n(8933),o=n(7081),s=n(7376),u=n(5472);function c(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"success";(window.isTestingTecton?window:t).postMessage({tectonic:!0,value:r.withDefault(""),status:o,type:e,protocol:n,guid:i},"*")}function a(t,e){c(window.parent,t,"MESSAGE",e)}function l(t,e){c(window,t,"BROADCAST",e),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(t){case"platformScrollChanged":case"platformSizeChanged":let{value:i}=Object.assign({},e);i=Object.assign(JSON.parse(i),{outletOffset:n.getBoundingClientRect().top}),c(r.contentWindow,t,"BROADCAST",new u.Maybe(JSON.stringify(i)));break;default:c(r.contentWindow,t,"BROADCAST",e)}}))}class h{constructor(){this.messageNum=0,this.firehose$=(0,e.R)(window,"message").pipe((0,i.h)((t=>t.data.tectonic)))}onMessage(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MESSAGE",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return e.pipe((0,i.h)((e=>e.data.type===t&&(!r||e.data.guid===r)&&e.data.protocol===n)),(0,o.U)((e=>"success"===e.data.status?{status:"success",value:e.data.value&&JSON.parse(e.data.value),sender:e.source,type:t,guid:e.data.guid}:{status:"error",message:e.data.value&&JSON.parse(e.data.value).message,sender:e.source,type:t,guid:e.data.guid})))}(t,this.firehose$,e,n).pipe((0,o.U)(f))}sendRequest(t,e,n){const r=this.getNextMessageNumber();c(window.parent,t,"REQUEST",e,r,"success");const i=[];return i.push(this.onMessage(t,"RESPONSE",r).pipe((0,s.q)(1)).toPromise()),n&&n.timeout&&i.push(new Promise(((i,o)=>{setTimeout((()=>{o({status:"error",message:`The request ${e} has timed out`,sender:window,type:t,guid:r})}),n.timeout)}))),Promise.race(i)}sendResponse(t,e){return this.onMessage(t,"REQUEST").subscribe((t=>Promise.resolve().then((()=>{if("success"===t.status)return e(t.value,t.sender);throw Error("Don't send Error Message as Request!")})).then((e=>{if(null!==e)return p(t.sender,t.type,e,t.guid,"success")})).catch((e=>p(t.sender,t.type,{message:e.message},t.guid,"error")))))}getNextMessageNumber(){const t=this.messageNum+1;return this.messageNum=t,t}}function f(t){if("success"===t.status)return t;throw t}function p(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4?arguments[4]:void 0;c(t,e,"RESPONSE",u.Maybe.maybe(n).map(JSON.stringify),r,i)}class d extends h{constructor(t,e){super(),this.domains=new Set,this.configSubscription=t.subscribe(this.getConfigDomains.bind(this)),this.firehose$=this.firehose$.pipe((0,i.h)((t=>e||this.domains.has(t.origin))))}teardown(){this.configSubscription.unsubscribe()}getConfigDomains(t){let e=Array(window.location.origin.toString());const n=Object.keys(t.features).map((n=>{const r=t.features[n].additionalDomains;return r&&r.length>0&&(e=e.concat(r)),Object.keys(t.features[n].modules).map((e=>{const r=t.features[n].modules[e].url;try{return new URL(r,window.location.href).origin}catch(t){return""}}))})),r=e.concat(...n);this.domains=function(t){return new Set(t.filter((t=>""!==t)))}(r)}}var b=n(7656);function v(t,e,n){const r=t.getValue();return u.Maybe.maybe(r.features[e]).map((t=>{const r=Object.keys(t.modules).find((e=>t.modules[e].primary)),i=t.modules[n]||t.modules[r],o=`${e}.${i.meta.moduleName}`;return{navigable:!!i.navigable,legacy:!!t.legacy,key:t.legacy?t.legacyRouteName:o}}))}function y(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return{value:t,children:n}}function m(t){return{value:t,children:[]}}const g=y("Q2Account",y("Held",y("Deposit",m("Checking"),m("MoneyMarket"),m("Savings"),m("CertificateOfDeposit"),m("Goal"),m("PlanBasedInvestment"),m("IRABasedInvestment"),m("BrokerageBasedInvestment")),y("Loan",m("Installment"),m("Commercial"),m("Mortgage"),m("LineOfCredit"),m("HomeEquity")),y("CreditCard",m("Visa"),m("MasterCard"),m("Discover"),m("AmericanExpress"))),y("External",y("PFM",m("Manual"),m("Aggregated")))),w=y("Q2Transaction",y("Posted",y("Credit",m("GenericCredit"),m("InterestCredit"),m("Dividend"),m("Deposit"),m("ATMCredit"),m("POSCredit"),m("TransferCredit"),m("DirectDeposit"),m("HoldCredit"),m("OtherCredit")),y("Debit",m("GenericDebit"),m("InterestDebit"),m("Fee"),m("ServiceCharge"),m("ATMDebit"),m("POSDebit"),m("TransferDebit"),m("Payment"),m("Check"),m("Cash"),m("DirectDebit"),m("RepeatPayment"),m("OtherDebit"))),m("Memo")),x={};var _;function S(t,e){let n=[];for(const r of e){if(t===r.value){n=[r.value];break}if(r.children.length>0){const e=S(t,r.children);if(e.length>0){n=e.concat([r.value]);break}}}return n}function T(t){const e=t.split("::");if(2!==e.length)return[];const n=e[0];return S(e[1],[x[n]]).map((t=>`${n}::${t}`))}!function(t){t.Account="Account",t.Transaction="Transaction"}(_||(_={})),x[_.Account]=g,x[_.Transaction]=w;const C={Goal:["D","G"]};function E(t,e){const n=function(t){return!!t.dataType}(e)?function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const[i,o]=e.split("::"),s=P[i][o]||P[i].default;return("string"==typeof s?Promise.resolve(s):s(t)).then((t=>`${t}${n.map((t=>`/${t}`)).withDefault("")}${function(t){const e=Object.keys(t).map((e=>`${e}=${t[e]}`)).join("&");return e&&"?".concat(e)||""}(r)}`))}(t,e.dataType,u.Maybe.maybe(e.dataId),e.params):Promise.resolve(e.route);return n.then((n=>t.sendRequest(n,e.method,e.body)))}const P={Account:{default:"mobilews/account"},Accounts:{default:"mobilews/accounts"},FormData:{default:"",FundsTransfer:"mobilews/transactionForm/fundsTransfer"},Goals:{Categories:"hq/core/goalsCategoryMapping",CreateGoal:t=>function(t,e){const[n,r]=C.Goal;return N(t,n,r).then((t=>`mobilews/account/${t}`))}(t)},FundsTransfer:{Create:"mobilews/transaction/fundsTransfer"},PRIVATE:{systemConfig:"q2Config"}},N=function(){let t;return function(e,n,r){let i;return i=Array.isArray(t)?Promise.resolve(t):e.sendRequest("hq/core/productAndType","GET").then((function(e){return t=e.response.data,t})),i.then((t=>t.find((t=>t.hydraProductTypeCode===n&&t.hydraProductCode===r)).productID))}}();function O(t,e,n,r){const i=r.withDefault("");return""!==i?Promise.resolve(i):E(t,{dataType:e,dataId:n,method:"GET"}).then((t=>function(t,e){const[n]=t.split("::");return I[`resolveTypeOf${n}`](e)}(e,t.response.data))).catch((()=>e))}const I={resolveTypeOfAccount:function(t){return t.extended?`Account::${j[`${t.extended.hydraProductTypeCode}${t.extended.hydraProductCode}`]||"Q2Account"}`:"Account::Q2Account"},resolveTypeOfTransaction:function(t){return"M"==("Memo"===t.transactionType?"M":"P")?"Transaction::Q2Transaction::Memo":t.extended?`Transaction::${A[`${t.extended.dorC}${t.extended.ofxTranType}`]||"Q2Transaction"}`:"Transaction::Q2Transaction"}},j={DC:"Checking",DM:"MoneyMarket",DS:"Savings",DT:"CertificateOfDeposit",DG:"Goal",DP:"PlanBasedInvestment",DI:"IRABasedInvestment",DB:"BrokerageBasedInvestment",LL:"LineOfCredit",LI:"Installment",LC:"Commercial",LM:"Mortgage",LH:"HomeEquity",CM:"MasterCard",CV:"Visa",CD:"Discover",CA:"AmericanExpress"},A={CCREDIT:"GenericCredit",CINT:"InterestCredit",CDIV:"Dividend",CDEP:"Deposit",CATM:"ATMCredit",CPOS:"POSCredit",CXFER:"TransferCredit",CDIRECTDEP:"DirectDeposit",CHOLD:"HoldCredit",COTHER:"OtherCredit",DDEBIT:"GenericDebit",DINT:"InterestDebit",DFEE:"Fee",DSRVCHG:"ServiceCharge",DATM:"ATMDebit",DPOS:"POSDebit",DXFER:"TransferDebit",DPAYMENT:"Payment",DCHECK:"Check",DCASH:"Cash",DDIRECTDEBIT:"DirectDebit",DREPEATPMT:"RepeatPayment",DOTHER:"OtherDebit"};function M(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).filter((e=>{const n=e.lastIndexOf(".");return e.slice(0,n).startsWith(t)})).reduce(((t,n)=>{const r=n.lastIndexOf(".");return t[n.substring(r+1)]=e[n],t}),Object.create({}))}function D(t,e,n,r,i,o,s,c,a,l,h){return function(t,e,n,r){return u.Maybe.sequence([e,n]).map((e=>{let[n,i]=e;return O(t,n,i,r).then(u.Maybe.just)})).withDefaultFn((()=>Promise.resolve(u.Maybe.nothing())))}(t,r,i,s).then((async e=>{const n=await function(t,e){return Promise.all(e.map((async e=>{const n=await t(e.featureName),r=n.modules[e.moduleName],i=n.additionalDomains,o=n.allowDirectives;return Object.assign(Object.assign(Object.assign({},e),r),{additionalDomains:i,allowDirectives:o})})))}(t.dynamicConfigFetch,o),r=e.map(T).bind((t=>k(n,t,c))),i=u.Maybe.maybe(n[0]);return e.map((()=>r)).altMap((()=>u.Maybe.just(i))).bind((t=>t))})).then((async t=>t.map((t=>{var r,i,o,s;const u=`${n}.${t.featureName}.${t.moduleName}`,c=(null===(i=null===(r=a.features[l])||void 0===r?void 0:r.modules[h])||void 0===i?void 0:i.requiredUserCapabilities)||[],f=(null===(s=null===(o=a.features[t.featureName])||void 0===o?void 0:o.modules[t.moduleName])||void 0===s?void 0:s.requiredUserCapabilities)||[],p=[...new Set([...c,...f])];return{moduleId:u,initialParams:M(u,e.getValue().currentParams),featureName:t.featureName,url:t.url,minHeight:t.meta.type.minHeight||"",tabLabelOverride:t.tabLabelOverride,formPostAuth:!!t.formPostAuth,loadingOptions:t.loadingOptions,additionalDomains:t.additionalDomains,allowDirectives:t.allowDirectives,requiredUserCapabilities:p,rightsEnabled:t.rightsEnabled}}))))}function k(t,e,n){return u.Maybe.maybe(t.find((t=>{const r=n.map((e=>{var n;return null===(n=t.additionalContextRequirements)||void 0===n?void 0:n.includes(e)})).withDefault(!0);return t.meta.type.context===e[0]&&r}))).altMap((()=>0===e.length&&u.Maybe.nothing()||k(t,e.slice(1),n)))}async function V(t,e){const n=t.length%3==1?"outlet":"module",r=t[0],i=t.length<5;let o,s,u,c,a;if("tectonOverpanel"===r)o=R({path:t.slice(2),outletModuloVal:2}),s=(await e(t[1])).configuredOverpanels[t[2]];else{const r="outlet"===n?t.slice(-3,-2)[0]:t.slice(-2,-1)[0],i="outlet"===n?t.slice(-2,-1)[0]:t.slice(-1)[0],u="outlet"===n?-1:3;o=R({path:t.slice(u),outletModuloVal:0}),s=await e(r,i)}return"outlet"===n?(i?(u=s.featureName,c=s.moduleName):(u=t[t.length-3],c=t[t.length-2]),a=t[t.length-1],o=o.slice(0,-2),{pathType:n,featureName:u,moduleName:c,outletName:a,configPath:o,pathOrigin:r,treeFromRoot:s}):(i?(u=s.featureName,c=s.moduleName):(u=t[t.length-2],c=t[t.length-1]),{pathType:n,featureName:u,moduleName:c,configPath:o,pathOrigin:r,treeFromRoot:s})}function R(t){let{path:e,outletModuloVal:n}=t;const r=n+2;return e.reduce(((t,e,i)=>{if(i%3===n)return t.concat(["configuredOutlets",e]);if(i%3===r&&2!==i){const n=t[t.length-1];return t[t.length-1]=`${n}-${e}`,t}return t.concat(e)}),[])}function L(t,e){return t.reduce(((t,e)=>{if(Array.isArray(t)){const[n,r]=e.split("-");return t[0].hasOwnProperty("tabLabel")||t[0].hasOwnProperty("menuItemLabel")?function(t,e){let n=-1;const r=t.find((t=>(n=t.modules.findIndex(e),-1!==n)));if(r)return r.modules[n]}(t,Z(n,r)):t.find(Z(n,r))}return t[e]}),e)}function Z(t,e){return n=>n.featureName===t&&n.moduleName===e}function F(t,e,n,r,i){!function(t,e,n,r){if(e.authorizeTransactionWithMfa){n.add("authorizeTransactionWithMfa");const i=t.sendResponse("authorizeTransactionWithMfa",(async t=>e.authorizeTransactionWithMfa(t)));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r,i){if(n.showOverpanel){r.add("showOverpanel");const e=t.sendResponse("showOverpanel",(async t=>{var e,r,i,o;let s,u;if(t.useRouteConfig){const[e,r]=t.overpanelPath.split(".");s=await n.dynamicConfigFetch(e,r),u=t.overpanelPath}else{const e=await V(t.moduleId.split("."),n.dynamicConfigFetch);s=await n.dynamicConfigFetch(e.featureName).then((e=>e.configuredOverpanels[t.overpanelPath])),u=`${e.featureName}.${t.overpanelPath}`}const c=await n.dynamicConfigFetch(s.featureName);if(c.legacy&&!c.legacyOverpanelName)throw new Error("Tried to call a legacy overpanel, but config is missing a legacyOverpanelName");const a=c.modules[s.moduleName].meta.params;!function(t,e){if(null==t)return!0;if(void 0===e)throw new Error(`params for action are not configured, yet ${JSON.stringify(t)} was passed to action`);const n=[];if(Object.keys(t).forEach((t=>{e[t]||n.push(t)})),n.length>0)throw new Error(`The following parameter(s) passed to action is/are not configured for the action: [${n.join(", ")}]`)}(t.params,a),t.params&&n.updateParams&&!c.legacy&&n.updateParams(`tectonOverpanel.${u}`,t.params,a);const l=c.legacy&&t.params?JSON.stringify(t.params):u,h=c.legacy?c.legacyOverpanelName:void 0,f=null===(e=t.options)||void 0===e?void 0:e.size,p=null===(r=t.options)||void 0===r?void 0:r.height,d=null===(i=t.options)||void 0===i?void 0:i.fullWidth,[,,b]=t.moduleId.split("."),v=(null===(o=t.options)||void 0===o?void 0:o.testId)||b;return n.showOverpanel(l,!!d,h,f,p,v)}));i.push((()=>e.unsubscribe()))}}(t,0,n,r,i),function(t,e,n,r,i){if(n.showActionSheet){r.add("showActionSheet");const e=t.sendResponse("showActionSheet",(t=>n.showActionSheet(t).then((t=>t))));i.push((()=>e.unsubscribe()))}}(t,0,n,r,i),function(t,e,n,r){if(e.closeOverpanel){n.add("closeOverpanel");const i=t.onMessage("closeOverpanel").pipe((0,o.U)((t=>t.value))).subscribe(e.closeOverpanel);r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r,i){if(n.navigateTo){r.add("navigateTo");const o=t.onMessage("navigateTo").subscribe((async t=>{const{moduleName:r,urlParams:i,queryParams:o,moduleId:s}=t.value;let{featureName:u}=t.value;!u&&s&&(u=await V(s.split("."),n.dynamicConfigFetch).then((t=>t.featureName)));const c=v(e,u,r);c.map((t=>{if(t.navigable)if(t.legacy)n.navigateTo(!0,t.key,i,o);else{const r=e.getValue().features[u],i=`tectonRoute.${t.key}`;o&&n.updateParams&&n.updateParams(i,o,r.modules[t.key.split(".")[1]].meta.params),n.navigateTo(!1,t.key)}})),c.hasNothing&&n.navigateTo(!0,u,i,o)}));i.push((()=>o.unsubscribe()))}}(t,e,n,r,i),function(t,e,n,r,i){if(e.setOverpanelTitle||e.setPageTitle){e.setOverpanelTitle&&r.add("setOverpanelTitle"),e.setPageTitle&&r.add("setPageTitle");const n=t.onMessage("setTitle").subscribe((async t=>{"tectonOverpanel"===await V(t.value.moduleId.split("."),e.dynamicConfigFetch).then((t=>t.pathOrigin))&&e.setOverpanelTitle?e.setOverpanelTitle(t.value.title):e.setPageTitle&&e.setPageTitle(t.value.title)}));i.push((()=>n.unsubscribe()))}}(t,n,0,r,i),function(t,e,n,r,i){if(n.updateParams){r.add("setParams");const e=t.onMessage("setParams").subscribe((async t=>{const{moduleId:e,params:r}=t.value,i=await V(e.split("."),n.dynamicConfigFetch),o=await n.dynamicConfigFetch(i.featureName).then((t=>t.modules[i.moduleName].meta.params));n.updateParams(e,r,o)}));i.push((()=>e.unsubscribe()))}}(t,0,n,r,i),function(t,e,n,r){if(e.clearParams){n.add("clearParams");const i=t.onMessage("clearParams").subscribe((t=>{e.clearParams(t.value.moduleId)}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){if(e.refetchAccountsNotification&&e.clearCacheByPrefix&&e.clearTransferCache){n.add("refetchAccountsNotification");const i=t.onMessage("refetchAccountsNotification").subscribe((()=>{e.clearCacheByPrefix("mobilews/account"),e.clearTransferCache(),e.refetchAccountsNotification()}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){const i=e.getCurrentLanguage(),o=new b.X(i);e.languageChanged&&(n.add("languageChanged"),e.languageChanged((t=>{o.next(t)})));const s=o.subscribe((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";l("streamLanguage",u.Maybe.just(JSON.stringify({langKey:t})))})),c=t.sendResponse("getCurrentLanguage",(()=>Promise.resolve({langKey:o.getValue()})));r.push((()=>{[s,c].forEach((t=>t.unsubscribe()))}))}(t,n,r,i),function(t,e,n,r){if(e.sendAlert){n.add("sendAlert"),n.add("sendAlertWithResponse");const i=t.sendResponse("sendAlert",(t=>e.sendAlert(t).then((t=>({actionName:t}))))),o=t.onMessage("sendAlert").subscribe((t=>{e.sendAlert(t.value)}));r.push((()=>{i.unsubscribe(),o.unsubscribe()}))}}(t,n,r,i),function(t,e,n,r){if(e.showModal){n.add("sendModal");const i=t.sendResponse("sendModal",(t=>e.showModal(t).then((t=>({actionName:t})))));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){if(e.showLoadingModal){n.add("showLoadingModal");const i=t.onMessage("showLoadingModal").subscribe((t=>{e.showLoadingModal(t.value.title)}));r.push((()=>i.unsubscribe()))}if(e.clearLoadingModal){n.add("clearLoadingModal");const i=t.onMessage("clearLoadingModal").subscribe((()=>{e.clearLoadingModal()}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e){const n=t.onMessage("printWindow").subscribe((()=>{var t;!0===(null===(t=window.Tecton)||void 0===t?void 0:t.inMobileApp)?console.info("printWindow does not support e-banking mobile app environment."):(document.body.focus(),window.print())}));e.push((()=>n.unsubscribe()))}(t,i),function(t,e,n,r){if(e.keepAlive){n.add("keepAlive");const i=t.onMessage("keepAlive").subscribe(e.keepAlive);r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r,i){if(n.logToServer){r.add("logToServer");const e=t.onMessage("logToServer").subscribe((async t=>{const e=await V(t.value.moduleId.split("."),n.dynamicConfigFetch).then((t=>t.featureName));n.logToServer(e,t.value.message,t.value.level||"info")}));i.push((()=>e.unsubscribe()))}}(t,0,n,r,i),function(t,e,n,r){if(e.openURL){n.add("openURL");const i=t.onMessage("openURL").subscribe((t=>{const{url:n,options:r}=t.value;e.openURL(n,r)}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n){e.add("scrollToTop");const r=t.onMessage("scrollToTop").subscribe((()=>{window.scrollTo(0,0)}));n.push((()=>r.unsubscribe()))}(t,r,i),function(t,e,n,r){n.add("scrollTo");const i=t.onMessage("scrollTo").subscribe((t=>{var n;const r=(null===(n=e.getSurroundingOffsets())||void 0===n?void 0:n.top)||0,i=t.value;i.behavior=i.behavior||"smooth",!0===i.initialize?l("platformScrollChanged",u.Maybe.just(JSON.stringify({scrollY:0,innerHeight:window.innerHeight,innerWidth:window.innerWidth,outletOffset:r,top:r}))):window.scrollTo(i)}));r.push((()=>i.unsubscribe()))}(t,n,r,i),function(t,e,n,r){if(e.clearCacheByPrefix){n.add("clearCache"),n.add("cacheCleared");const i=t.sendResponse("clearCache",(function(t){let{routePrefixes:n}=t;return n.forEach((function(t){e.clearCacheByPrefix(t),l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:t})))})),Promise.resolve()}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){if(e.manageChanges){n.add("manageChanges");const i=t.sendResponse("manageChanges",(t=>e.manageChanges(t.changeData)));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){if(e.actionRequired&&e.removeActionRequired){n.add("actionRequired");const i=t.onMessage("actionRequired").subscribe((t=>{e.actionRequired(t.value.uuid,t.value.title,t.value.message)}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){if(e.actionRequired&&e.removeActionRequired){n.add("removeActionRequired");const i=t.onMessage("removeActionRequired").subscribe((t=>{e.removeActionRequired(t.value.uuid)}));r.push((()=>i.unsubscribe()))}}(t,n,r,i)}function $(){return window.scrollY}function q(){return window.innerHeight}const W="q2.tectonCache";function U(t,e){return`${t}.${e}`}var B;!function(t){t.PlatformCssPropertiesChanged="platformCssPropertiesChanged",t.CallMethod="callMethod"}(B||(B={}));const z=B;var H;!function(t){t.streamCssProperties="streamCssProperties",t.streamPlatformDimensions="platformSizeChanged"}(H||(H={}));const Y=H;var K=n(1476);function G(t,e,n,r,i,o){!function(t,e,n,r){e.refetchRequired&&(n.add("cacheCleared"),e.refetchRequired((t=>{l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:t})))})))}(0,e,i),function(t,e,n,r){if(e.getCapabilities){n.add("canUser");const i=t.sendResponse("canUser",(t=>{let{capabilities:n}=t;return Promise.resolve({allowed:Object.values(e.getCapabilities(...n)).every(Boolean)})}));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r,i){if(n.getFeatureConfig){r.add("getFeatureConfig");const e=t.sendResponse("getFeatureConfig",(async t=>{let{moduleId:e}=t;const r=await V(e.split("."),n.dynamicConfigFetch),i=await n.dynamicConfigFetch(r.featureName).then((t=>t.configuredSystemVariables||[]));return i.length?n.getFeatureConfig(i).then((t=>({config:t}))):Promise.resolve({config:{}})}));i.push((()=>e.unsubscribe()))}}(t,0,e,i,o),function(t,e,n,r){if(e.getPendoInfo){n.add("getPendoInfo");const i=t.sendResponse("getPendoInfo",(()=>Promise.resolve(e.getPendoInfo())));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r){if(e.getPlatformInfo){n.add("platformInfo");const i=t.sendResponse("platformInfo",(t=>e.getPlatformInfo(t)));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r){n.add("getPlatformDimensions");const i=t.sendResponse("getPlatformDimensions",(()=>{var t;const n=Object.assign({scrollY:window.scrollY,innerWidth:window.innerWidth,innerHeight:window.innerHeight},null===(t=e.getSurroundingOffsets)||void 0===t?void 0:t.call(e));return l("platformScrollChanged",u.Maybe.just(JSON.stringify(n))),Promise.resolve(n)}));r.push((()=>i.unsubscribe()))}(t,e,i,o),function(t,e,n,r){if(e.getVersionInfo){n.add("getPlatformInfo");const i=t.sendResponse("getPlatformInfo",(()=>{const t=e.getVersionInfo();return Promise.resolve(Object.assign(Object.assign({},t),{TECTON_PLATFORM_VERSION:"1.35.0"}))}));r.push((()=>{i.unsubscribe()}))}}(t,e,i,o),function(t,e,n,r){if(e.getAuthToken){n.add("authToken");const i=t.sendResponse("authToken",(()=>e.getAuthToken()));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r){if(e.getGlobalScripts){n.add("getGlobalScripts");const i=t.sendResponse("getGlobalScripts",(()=>e.getGlobalScripts()));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r,i){if(n.isUUXPath&&n.navigateTo){r.add("isNavigable");const o=t.sendResponse("isNavigable",(t=>{let{featureName:r,moduleName:i}=t;const o=v(e,r,i).map((t=>t.navigable)).withDefaultFn((()=>n.isUUXPath(r)));return Promise.resolve({navigable:o})}));i.push((()=>o.unsubscribe()))}}(t,r,e,i,o),function(t,e,n,r){function i(){var t;l("platformScrollChanged",u.Maybe.just(JSON.stringify(Object.assign({scrollY:$(),innerHeight:q(),innerWidth:window.innerWidth},null===(t=e.getSurroundingOffsets)||void 0===t?void 0:t.call(e)))))}function o(){l("platformSizeChanged",u.Maybe.just(JSON.stringify({scrollY:$(),innerHeight:window.innerHeight,innerWidth:window.innerWidth})))}n.add("platformScrollChanged"),window.addEventListener("scroll",i),window.addEventListener("resize",o);const s=t.sendResponse("getPlatformScroll",(()=>{var t;return Promise.resolve(Object.assign({scrollY:$(),innerHeight:q(),innerWidth:window.innerWidth},null===(t=e.getSurroundingOffsets)||void 0===t?void 0:t.call(e)))}));r.push((()=>{s.unsubscribe(),window.removeEventListener("scroll",i),window.removeEventListener("resize",o)}))}(t,e,i,o),function(t,e,n,r){if(e.promptForMFA){n.add("promptForMFA");const i=t.sendResponse("promptForMFA",(async t=>{const n=await V(t.moduleId.split("."),e.dynamicConfigFetch).then((t=>t.featureName));return e.promptForMFA(n,t)}));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r){e.refetchRequired&&(n.add("refetchRequired"),e.refetchRequired((t=>{l(`refetchRequired::${t}`,u.Maybe.nothing())})))}(0,e,i),function(t,e,n,r,i){if("function"!=typeof n.requestExtensionData)return;r.add("requestExtensionData");const o=t.sendResponse("requestExtensionData",(async t=>{const e=await V(t.moduleId.split("."),n.dynamicConfigFetch).then((t=>t.featureName));return n.requestExtensionData(e,{route:t.route,body:t.body||{}})}));i.push((()=>o.unsubscribe()))}(t,0,e,i,o),function(t,e,n,r){if(e.sendRequest){n.add("requestPlatformData"),n.add("requestPlatformData-v2");const i=t.sendResponse("requestPlatformData",(t=>E(e,t).then((function(e){return 200<=e.status&&e.status<300?{data:"GET"===t.method?e.response.data:e.response,status:"success"}:{data:{message:e.statusText},status:"error"}})))),o=t.sendResponse("requestPlatformData-v2",(t=>E(e,t)));r.push((()=>{i.unsubscribe(),o.unsubscribe()}))}}(t,e,i,o),function(t,e){const n=t.subscribe((t=>{var e;(e=Object.assign(Object.assign({},t.changedParams),t.currentParams),Object.keys(e).reduce(((t,e)=>{const n=e.split(".").slice(0,-1).join(".");return-1===t.indexOf(n)&&t.push(n),t}),[])).forEach((e=>{const n=M(e,t.changedParams),r=M(e,t.currentParams);l("streamParams::"+e,u.Maybe.just(JSON.stringify({changedParams:n,currentParams:r})))}))}));e.push((()=>n.unsubscribe()))}(n,o),function(t,e,n,r){if(e.takePicture){n.add("takePicture");const i=t.sendResponse("takePicture",(t=>{let{overlayText:n,helpText:r}=t;return e.takePicture({overlayText:n,helpText:r}).then((t=>({picture:t})))}));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r){if(!e.registerLogoffHook||!function(){const t=!!sessionStorage.getItem,e=!!sessionStorage.setItem,n=!!sessionStorage.removeItem;return t&&e&&n}())return;n.add("tectonCache"),e.registerLogoffHook((()=>{sessionStorage.removeItem(W)}));const i=t.sendResponse("getCache",(t=>{const e=U(t.moduleId,t.key),n=JSON.parse(sessionStorage.getItem(W)||"{}")[e]||{};return Promise.resolve(n)}));r.push((()=>i.unsubscribe()));const o=t.sendResponse("setCache",(t=>{const e=U(t.moduleId,t.key),n=JSON.parse(sessionStorage.getItem(W)||"{}");return n[e]=t.data,sessionStorage.setItem(W,JSON.stringify(n)),Promise.resolve()}));r.push((()=>o.unsubscribe()))}(t,e,i,o),function(t,e,n){if(!t.cssPropertiesChanged)return;e.add(z.PlatformCssPropertiesChanged);const r=new b.X([]),i=r.pipe((0,K.skip)(1)).subscribe((t=>{l(Y.streamCssProperties,u.Maybe.just(JSON.stringify(t)))}));t.cssPropertiesChanged((t=>{r.next(t)})),n.push((()=>{i.unsubscribe()}))}(e,i,o),function(t,e){t.platformEventNotification&&(e.add("platformEventNotification"),t.platformEventNotification((t=>{l(`platformEventNotification::${t.name}`,u.Maybe.maybe(t.data).map(JSON.stringify))})))}(e,i)}var J=n(9327),Q=n(3637),X=n(5439),tt=n(3078);const et="[iFrameSizer]",nt=[{name:"name",reflectAs:String},{name:"minHeight",reflectAs:String},{name:"overpanel",reflectAs:Boolean}],rt=(0,J.createSetupElement)((function(t,e){let{messageBus:n,props:r,moduleId:s,tectonOutletAdaptor:u,resize:c}=e;return(0,J.generateCustomElementWrapper)(t,((t,e)=>{const r=new b.X(document.createElement("div")),a=new b.X(!1),l=e.pipe((0,o.U)((t=>t.name)),(0,i.h)((t=>!!t)),(0,o.U)((t=>`${s?`${s}.`:""}${t}`)),(0,X.x)(),(0,tt.P)()).subscribe((i=>{const o=u(n,i,t,e,c),s=o.DOM$.subscribe(r),l=o.settled$.subscribe(a),f=o.teardown$.subscribe(h),p=o.effect$.subscribe((e=>{t.__attached?e():t.__onAttached.push(e)}));o.teardown$.next((()=>{s.unsubscribe(),l.unsubscribe(),f.unsubscribe(),p.unsubscribe()}))})),h=new b.X((()=>{l.unsubscribe()}));return{DOM$:r,settled$:a,teardown$:h}}),{useShadowDOM:!0,props:nt.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"===t?"\n :host {\n position: relative;\n display: block;\n height: 100%;\n }\n .loading-wrapper {\n position: absolute;\n top: 0;\n }\n ":""}\n `})}));function it(t){const e=[];if(t&&t.loaders){const n=t.loaders.reduce(((t,e)=>e.row>t?e.row:t),0);for(let t=0;t<n;t++)e.push([]);for(const n of t.loaders){const t=document.createElement("q2-loading");t.setAttribute("shape",n.shape),t.setAttribute("type",n.type),t.className="q2-col",n.classList&&t.classList.add(...n.classList),n.style&&t.setAttribute("style",n.style),n.modifiers&&t.setAttribute("modifiers",n.modifiers),n.counts&&t.setAttribute("counts",n.counts),n.ariaLabel&&t.setAttribute("ariaLabel",n.ariaLabel),e[n.row-1].push(t)}}else{const t=document.createElement("q2-loading");e.push([]),t.classList.add("mrg(a)"),e[0].push(t)}return e}var ot=n(1086),st=n(2855);const ut=[{name:"routeName"},{name:"configTree"}];function ct(t,n,r,s){return function(c,l,h,f){const p=document.createElement("div"),d=new b.X(p),v=new b.X(!1),y=new b.X((()=>{})),m=function(){return{loaderWrapper:h.shadowRoot.querySelector("div[slot='loading-wrapper']"),iframeEl:h.shadowRoot.querySelector("iframe"),minHeight:f.getValue().minHeight}};let g;const w=function(){return g},x=function(t,e,n){return t.onMessage("setFetching").pipe((0,i.h)((t=>t.value.moduleId===e()))).subscribe((t=>{const{loaderWrapper:e,iframeEl:r,minHeight:i="0px"}=n();if(e&&r){const{fetching:n}=t.value;e.hidden=!n,r.hidden=n,e.style.minHeight=n?i:"0px"}}))}(c,w,m),_=function(t,e,n){return t.sendResponse("requestOutletInfo",(t=>{let{moduleId:r}=t;if(r!==e())return null;const{iframeEl:i}=n(),o=i.getBoundingClientRect();return o&&Object.values(o.toJSON()).find((t=>0!==t))?Promise.resolve(o):null}))}(c,w,m),S=new b.X((()=>{x.unsubscribe(),_.unsubscribe()})),T=f.pipe((0,o.U)((t=>t.configTree)),(0,i.h)((t=>!!t)),(0,X.x)()),C=new b.X(!1),E=f.pipe((0,o.U)((t=>t.overpanel)),(0,i.h)((t=>"boolean"==typeof t)),(0,X.x)()).subscribe(C),P=f.pipe((0,o.U)((t=>t.routeName)),(0,i.h)((t=>!!t)),(0,X.x)()),N=P.pipe((0,o.U)((t=>`${l}.${t}`)),(0,st.G)()).subscribe((t=>{let[e]=t;a("clearParams",u.Maybe.just(JSON.stringify({moduleId:e})))})),O=(0,ot.aj)(T,C,P).subscribe((p=>{let[b,x,_]=p;const T=t.getValue(),C=T.features[b.featureName].modules[b.moduleName];if(!1!==C.rightsEnabled){g=`${l}.${_}`;const t=f.getValue().minHeight,p=T.features[b.featureName],P=!!p.modules[b.moduleName].formPostAuth,I=p.modules[b.moduleName].url,j=p.additionalDomains,A=p.allowDirectives,D=function(t,e){const n=new URL(t,window.location.toString()),r=Object.keys(e).map((t=>`${t}=${e[t]}`)).join("&"),i=n.search?`${n.search}&${r}`:`?${r}`;return n.search=i,n.href}(P&&s?s(I):I,Object.assign(Object.assign({"tct-id":g},M(g,n.getValue().currentParams)),{"tct-maxHeight":h.style.maxHeight,"tct-maxWidth":h.style.maxWidth,"tct-outlet-name":h.name||""}));if(!x){const t=function(t,n,r,s){const u=(0,e.R)(window,"message").pipe((0,i.h)((t=>"string"==typeof t.data&&t.data.includes("iFrameSizer"))),(0,o.U)((t=>{const e=t.data.substr(et.length).split(":"),[n,r]=e;return{value:{moduleId:n,height:r}}}))),c=t.onMessage("resizeIframe");return(0,Q.T)(u,c).pipe((0,i.h)((t=>t.value.moduleId===n())),(0,X.x)(((t,e)=>t.value.height===e.value.height))).subscribe((t=>{const{height:e}=t.value,{iframeEl:n}=r();n&&n.style.setProperty("height",`${e}px`)}))}(c,w,m);S.next((()=>{t.unsubscribe()}))}const k=function(t,e,n){return t.onMessage("setTitle").pipe((0,i.h)((t=>t.value.moduleId===e()))).subscribe((t=>{const{iframeEl:e}=n();e.title=t.value.title}))}(c,w,m);S.next((()=>{k.unsubscribe()}));const V=function(t,e,n,r,i,o,s,u,c,a){const l=document.createElement("div");l.className="outlet-wrapper";const h=document.createElement("slot");h.name="loading-wrapper";const f=[],p=document.createElement("iframe");if(u){const r=document.createElement("form");n.forEach((function(t){const e=document.createElement("input");e.name=t.key,e.setAttribute("value",t.value),r.appendChild(e)})),r.hidden=!0,r.method="post",r.action=t,r.target=e,r.enctype="multipart/form-data",p.name=e,l.appendChild(r),f.push((function(){r.submit(),l.removeChild(r)}))}else p.src=t;return p.title=r,p.dataset.moduleId=e,p.style.maxHeight=i,p.style.maxWidth=o,p.setAttribute("test-id","outletIframe"),p.allow=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["geolocation","camera"],n=["'self'",`${new URL(arguments.length>2?arguments[2]:void 0).origin}`];return t&&t.length>0&&(n=[...n,...t]),e.reduce((function(t,e){return t+`${e} ${n.join(" ")}; `}),"")}(c,a,t),l.appendChild(p),f.push((()=>{p.contentWindow&&p.contentWindow.postMessage(`${et}${e}:0:false:false:32:true:true:null:documentElementOffset`,"*")})),p.onload=function(){f.forEach((t=>{t()})),p.onload=function(){}},s?l.classList.add("scrollable"):(p.style.setProperty("overflow-y","hidden"),p.scrolling="no"),p.hidden=!0,l.appendChild(h),l}(D,g,r?r():[],`${b.featureName}-${b.moduleName}`,h.style.maxHeight,h.style.maxWidth,x,P,j,A),R=document.createElement("div");R.style.minHeight=t||"0px";let L=[];if(C.loadingOptions){if(L=it(C.loadingOptions),C.loadingOptions.outlet){const t=C.loadingOptions.outlet;t.style&&R.setAttribute("style",t.style),t.classList&&R.classList.add(...t.classList)}}else L=it();for(const t of L){const e=document.createElement("div");e.className="q2-row";for(const n of t)e.appendChild(n);R.appendChild(e)}R.slot="loading-wrapper",R.classList.add("loading-wrapper"),R.setAttribute("data-tecton-module",""),d.next(V),y.next((()=>{let t=null;t=h.shadowRoot.querySelector(".loading-wrapper"),t?h.shadowRoot.replaceChild(R,t):h.shadowRoot.appendChild(R),v.next(!0)})),S.next((()=>{E.unsubscribe(),O.unsubscribe(),N.unsubscribe(),a("clearParams",u.Maybe.just(JSON.stringify({moduleId:g})))}))}}));return{DOM$:d,settled$:v,teardown$:S,effect$:y}}}const at=`${window.location.origin}${window.location.pathname.replace(/\/uux\.aspx/i,"")}`;function lt(t){return/^http/.test(t)?t:`${window.location.origin}/${t}`}function ht(t,e,n,r,i,o){!function(t,e,n){const r=t.sendResponse("getValueType",(t=>{const n=t.providedType?u.Maybe.just(t.providedType):u.Maybe.nothing();return O(e,t.baseContext,t.valueId,n)}));n.push((()=>r.unsubscribe()))}(t,e,o),function(t,e,n){const r=t.sendResponse("getInitialParams",(t=>Promise.resolve({params:M(t.moduleId,e.getValue().currentParams)})));n.push((()=>r.unsubscribe()))}(t,n,o),function(t,e,n,r,i){let o;const s=t.sendResponse("getCustomerAssetPath",(t=>{let{subPath:e}=t;return Promise.resolve({path:lt(n.getCustomerSpecificAssetPath(e))})}));n.getCustomLanguageURL&&(e.add("getCustomLanguageURL"),o=t.sendResponse("getCustomLanguageURL",(async t=>{let{moduleId:e,langKey:r}=t;const i=await V(e.split("."),n.dynamicConfigFetch);return Promise.resolve({path:lt(n.getCustomLanguageURL(`${r}_${i.featureName}.json`))})})));const u=t.sendResponse("getBaseAssetPath",(t=>{let{subPath:e}=t;return Promise.resolve({path:lt(n.getBaseAssetPath(e))})})),c=t.sendResponse("getNgamBaseUrl",(()=>Promise.resolve({ngamBase:at})));i.push((()=>{s.unsubscribe(),u.unsubscribe(),c.unsubscribe(),o&&o.unsubscribe()}))}(t,i,e,0,o),function(t,e,n,r,i){const o=e.sendResponse("resolveFeature",(async e=>{const i=await V(e.outletPath.split("."),t.dynamicConfigFetch),o=L(i.configPath,i.treeFromRoot),s=(await t.dynamicConfigFetch(i.featureName)).modules[i.moduleName].meta.outlets[i.outletName],c="None"===s.context?u.Maybe.nothing():u.Maybe.just(s.context),a=e.contextValue?u.Maybe.just(e.contextValue):u.Maybe.nothing(),l=e.resolvedType?u.Maybe.just(e.resolvedType):u.Maybe.nothing(),h=e.additionalContext?u.Maybe.just(e.additionalContext):u.Maybe.nothing(),f=o.configuredOutlets[i.outletName],p=n.getValue();return D(t,r,e.outletPath,c,a,f,l,h,p,i.featureName,i.moduleName).then((t=>t.withDefault({moduleId:"",featureName:"",initialParams:{},url:"",minHeight:"",formPostAuth:!1,loadingOptions:{loaders:[{type:"spinner",shape:"half-circle",row:1}]}})))}));i.push((()=>o.unsubscribe()))}(e,t,r,n,o),function(t,e,n,r,i){const o=e.sendResponse("resolveTabs",(async e=>{const i=await V(e.outletPath.split("."),t.dynamicConfigFetch),o=L(i.configPath,i.treeFromRoot),s=t.dynamicConfigFetch(i.featureName),c=await s,a=(await s.then((t=>t.modules[i.moduleName]))).meta.outlets[i.outletName],l="None"===a.context?u.Maybe.nothing():u.Maybe.just(a.context),h=e.contextValue?u.Maybe.just(e.contextValue):u.Maybe.nothing(),f=e.resolvedType?u.Maybe.just(e.resolvedType):u.Maybe.nothing(),p=e.additionalContext?u.Maybe.just(e.additionalContext):u.Maybe.nothing(),d=o.configuredOutlets[i.outletName],b=n.getValue();return function(t,e,n,r,i,o,s,c,a,l,h,f,p){return Promise.all(c.map((c=>D(t,e,n,r,i,c.modules||[],o,s,a,l,h).then((t=>t.map((t=>({tabLabel:c.tabLabel,tab:t}))))).catch((()=>u.Maybe.nothing()))))).then((t=>u.Maybe.filterSomethings(t))).then((t=>t.map((t=>({tabLabel:t.tabLabel,tabLabelOverride:t.tab.tabLabelOverride,moduleId:t.tab.moduleId,initialParams:t.tab.initialParams,url:t.tab.url,minHeight:t.tab.minHeight,formPostAuth:t.tab.formPostAuth,loadingOptions:t.tab.loadingOptions,additionalDomains:f,allowDirectives:p,requiredUserCapabilities:t.tab.requiredUserCapabilities,rightsEnabled:t.tab.rightsEnabled})))))}(t,r,e.outletPath,l,h,f,p,d,b,i.featureName,i.moduleName,c.additionalDomains,c.allowDirectives).then((t=>({resolvedTabs:t})))}));i.push((()=>o.unsubscribe()))}(e,t,r,n,o),function(t,e,n,r,i){const o=e.sendResponse("resolveMenu",(async e=>{const i=await V(e.outletPath.split("."),t.dynamicConfigFetch),o=L(i.configPath,i.treeFromRoot),s=(await t.dynamicConfigFetch(i.featureName).then((t=>t.modules[i.moduleName]))).meta.outlets[i.outletName];if(!s)throw new Error(`${i.outletName} contextual menu outlet not found in config`);const c="None"===s.context?u.Maybe.nothing():u.Maybe.just(s.context),a=e.contextValue?u.Maybe.just(e.contextValue):u.Maybe.nothing(),l=e.resolvedType?u.Maybe.just(e.resolvedType):u.Maybe.nothing(),h=e.additionalContext?u.Maybe.just(e.additionalContext):u.Maybe.nothing(),f=o.configuredOutlets[i.outletName],p=n.getValue();return!1===p.features[i.featureName].modules[i.moduleName].rightsEnabled?new Promise((t=>{t({resolvedMenuItems:[]})})):function(t,e,n,r,i,o,s,c,a,l,h){return Promise.all(c.map((c=>D(t,e,n,r,i,c.modules||[],o,s,a,l,h).then((e=>e.asyncMap((async e=>{const n=await V(e.moduleId.split("."),t.dynamicConfigFetch),r=i.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((t=>u.Maybe.filterSomethings(t)))}(t,r,e.outletPath,c,a,l,h,f,p,i.featureName,i.moduleName).then((t=>({resolvedMenuItems:t})))}));i.push((()=>o.unsubscribe()))}(e,t,r,n,o),function(t,e,n){const r=t.sendResponse("getPlatformCapabilities",(()=>{const t=Array.from(e);return Promise.resolve({capabilities:t})}));n.push((()=>r.unsubscribe()))}(t,i,o),function(t,e,n){const r=t.sendResponse("getAuthPayload",(()=>Promise.resolve(e.getAuthPayload())));n.push((()=>r.unsubscribe()))}(t,e,o),function(t,e,n,r){if(e.cdnOverride){n.add("cdnOverride");const i=t.sendResponse("cdnOverride",(()=>e.cdnOverride().then((t=>({path:t})))));r.push((()=>i.unsubscribe()))}}(t,e,i,o)}function ft(e,n,r){const i=new b.X({changedParams:{},currentParams:{}});let o;pt(e),window.isTestingTecton||(null==r?void 0:r.testing)?(o=window.tectonConfig$||new b.X(null),o.next(e),window.tectonConfig$=o):o=new b.X(e);const s=new d(o,window.isTestingTecton),c=new Set,a=[s.teardown.bind(s)];return function(t){t.add("resizeIframe"),t.add("requestOutletInfo")}(c),function(t,e,n,r){if(e.setupDynamicPlatformAPI){e.setupDynamicPlatformAPI().forEach((t=>n.add(t)));const i=t.sendResponse("executeDynamicPlatformAPI",(t=>{let{functionName:n,args:r}=t;return e.executeDynamicPlatformAPI(n,r)}));r.push((()=>i.unsubscribe()))}}(s,n,c,a),F(s,o,n,c,a),G(s,n,i,o,c,a),function(t,e,n,r){if(!e.getCurrentTheme)return void n.add("ThemesNotSupported");n.add("getCurrentTheme");const i=new b.X({path:lt(e.getCustomerSpecificAssetPath(`${e.getCurrentTheme()}-props.css`))});e.themeChanged&&(n.add("themeChanged"),e.themeChanged((t=>{i.next({path:lt(e.getCustomerSpecificAssetPath(`${t}-props.css`))})})));const o=i.subscribe((t=>{l("themeChanged",u.Maybe.maybe(t).map(JSON.stringify))})),s=t.sendResponse("getCurrentTheme",(()=>Promise.resolve(i.getValue())));r.push((()=>{o.unsubscribe(),s.unsubscribe()}))}(s,n,c,a),ht(s,n,i,o,c,a),function(t,e,n,r,i){rt({messageBus:t,moduleId:"",props:ut,tectonOutletAdaptor:ct(e,n,r,i)})("tecton-platform-outlet")}(s,o,i,n.getAuthPayload,n.buildIframeURL),{tectonParamsChanged(t){i.next(t)},updateConfig(e){const n=o.getValue();t(n,e),pt(n),o.next(n)},replaceConfig(t){pt(t),o.next(t)},verifyConfig(){if(!n.getCapabilities)return void console.error("getCapabilities must be implemented on platform to verify config.");const t=t=>{var e,r;return!(null==t?void 0:t.length)||Object.values(null!==(r=null===(e=n.getCapabilities)||void 0===e?void 0:e.call(n,...null!=t?t:[]))&&void 0!==r?r:{}).every(Boolean)},e=o.getValue(),r=e.features;for(const e in r){if(!r.hasOwnProperty(e))continue;const n=r[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)}}pt(e),o.next(e)},configLookup:function(t,e){const n=o.getValue();if(!e){const e=n.features[t];if(!e)throw new Error("No Feature Manifest Found");return e}const r=n.features[t].modules[e].routeConfig||{featureName:t,moduleName:e},i=n.features[t].modules[e].rightsEnabled;return void 0!==i&&(r.rightsEnabled=i),r},configForRoute(t){const[e,n]=t.split(".");return o.getValue().features[e].modules[n].routeConfig||{featureName:e,moduleName:n}},configForOverpanel:function(t){const[r,i]=t.split(".");try{return Promise.resolve(e.features[r].configuredOverpanels[i])}catch(t){return n.dynamicConfigFetch(r,i)}},teardown(){a.forEach((t=>t()))}}}function pt(t){Object.keys(t.features).forEach((function(e){const n=t.features[e],r=n.configuredOverpanels;r&&Object.keys(r).forEach((function(t){r[t].featureName||(r[t].featureName=e)}));try{Object.keys(n.modules).forEach((function(t){n.modules[t].routeConfig||(n.modules[t].routeConfig={featureName:e,moduleName:t,configuredOutlets:{}}),Object.assign(n.modules[t].meta,{featureName:e,moduleName:t});let r=n.modules[t].url;r&&(r=r.replace("{featureName}",e),r=r.replace("{moduleName}",t),n.modules[t].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 t.features[e]}}))}})(),r})()));
|
2
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["q2-tecton-platform"]=e():t["q2-tecton-platform"]=e()}(self,(()=>(()=>{var t={9327:(t,e,n)=>{var r;self,r=()=>(()=>{"use strict";var t={645:()=>{!function(t){function e(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!=typeof t.CustomEvent&&(e.prototype=t.Event.prototype,t.CustomEvent=e)}(window)}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{function t(t){return(t.charAt(0)+t.slice(1).replace(/([A-Z])/g,"-$&")).toLowerCase()}r.r(i),r.d(i,{createSetupElement:()=>l,generateCustomElementWrapper:()=>a,makeGenericEffectsDriver:()=>f});var e=1e3;const o=n(6755),s=n(5472);function u(t,e,n,r,i){var o=e.replace(/-([a-z])/gi,(function(t,e){return e.toUpperCase()}));t[o]=r.map((function(t){var e=t.get(o),r=n;return e&&e.reflectAs&&n&&(r=e.reflectAs(n)),e&&e.reflectAs===Boolean&&(r=""===n),i&&(i[o]=r),r})).withDefault(n)}const c=n(422);function a(n,r){var i,c,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{useShadowDOM:!0},l=a.useShadowDOM?s.Maybe.just(function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=!!window.HTMLTemplateElement;return e=r?function(t){var e=document.createElement("template");return e.innerHTML="<style>".concat(t,'</style><div class="root"></div>'),e.content}(n):function(t){var e=document.createDocumentFragment(),n=document.createElement("style");n.appendChild(document.createTextNode(t));var r=document.createElement("div");return r.className="root",e.appendChild(n),e.appendChild(r),e}(n),function(t){if(t.shadowRoot)return t.shadowRoot.querySelector("div");t.attachShadow?t.attachShadow({mode:"open"}):Object.assign(t,{shadowRoot:t});var i=document.importNode(e,!0);r||(i.querySelector("style").sheet.cssText=n);var o=t.shadowRoot;return o.appendChild(i),o.querySelector("div")}}(n,a.css)):s.Maybe.nothing(),f=Array.isArray(a.props)?s.Maybe.just((i=a.props,{fnHashByName:c=i.reduce((function(t,e){return t.set(e.name,e),t}),new Map),hooks:{init:function(t){t.__innerProps$=new o.BehaviorSubject({})},connectedCallback:function(t){var e,n,r,i,o,a=t.__innerProps$.getValue(),l=Object.assign({},a);t.constructor.observedAttributes.forEach((function(e){null!==t.getAttribute(e)&&u(t,e,t.getAttribute(e),s.Maybe.just(c),l)})),e=a,n=l,r=!0,i=Object.keys(e),o=Object.keys(n),i.length===o.length&&(i.forEach((function(t){n.hasOwnProperty(t)&&e[t]===n[t]||(r=!1)})),r)||t.__innerProps$.next(l)},classSetup:function(e){Object.assign(e,{observedAttributes:i.filter((function(t){return t.reflectAs})).map((function(t){return t.name})).map(t)}),i.forEach((function(n){Object.defineProperty(e.prototype,n.name,{get:function(){return this.__innerProps$.getValue()[n.name]},set:function(r){if(this.__innerProps$.getValue()[n.name]!==r){var i=t(n.name),o=e.observedAttributes.includes(i);o&&(!0===r?this.setAttribute(i,""):r||0===r||""===r?this.setAttribute(i,String(r)):this.removeAttribute(i)),!this.__attached&&o&&!1!==r||(this.__innerProps$.getValue()[n.name]=r,this.__innerProps$.next(this.__innerProps$.getValue()))}}})}))}}})):s.Maybe.nothing(),p=function t(){var n=Reflect.construct(HTMLElement,[],t);return a.prototypeExtensions&&Object.keys(a.prototypeExtensions).forEach((function(t){n[t]||(n[t]=a.prototypeExtensions[t])})),n.__onTeardown=[],n.__onAttached=[],n.__guid=e++,f.map((function(t){return(0,t.hooks.init)(n)})),l.map((function(t){return t(n)})).map((function(t){var e=s.Maybe.maybe(n.__innerProps$).map((function(t){return r(n,t)})).withDefaultFn((function(){return r(n)}));h(n,t,e),n.__shadowAppBooted=!0})),n};return function(t){try{Object.defineProperty(t,"is",{value:name,writable:!1}),Object.defineProperty(t,"localName",{value:name,writable:!1})}catch(t){}}(p),p.prototype=Object.create(HTMLElement.prototype,{component:{writable:!0,enumerable:!0},constructor:{value:p},connectedCallback:{writable:!0,value:function(){var t=this;this.dataset.guid="".concat(this.__guid),a.useShadowDOM&&this.__shadowAppBooted||(l.map((function(e){return e(t)})).alt(s.Maybe.just(this)).map((function(e){var n=s.Maybe.maybe(t.__innerProps$).map((function(e){return r(t,e)})).withDefaultFn((function(){return r(t)}));h(t,e,n)})),this.__shadowAppBooted=!0),f.map((function(e){(0,e.hooks.connectedCallback)(t)})),this.__attached=!0,this.__onAttached.forEach((function(e){return e.call(t)}))}},disconnectedCallback:{writable:!0,value:function(){var t=this;this.__onTeardown.reverse().forEach((function(e){return e.call(t)})),this.__onTeardown=[],this.__onAttached=[],this.__attached=!1,this.__shadowAppBooted=!1}},attributeChangedCallback:{writable:!0,value:function(t,e,n){e!==n&&this.__attached&&u(this,t,n,f.map((function(t){return t.fnHashByName})))}}}),f.map((function(t){return(0,t.hooks.classSetup)(p)})),p}function l(t){return function(e){return function(n){var r=function(){window.customElements.get(n)||window.customElements.define(n,t(n,e))};window.customElements?r():(0,o.interval)(5).pipe((0,c.filter)((function(){return!!window.customElements})),(0,c.take)(1)).toPromise().then((function(){r()}))}}}function h(t,e,n){var r=document.createElement("div");e.appendChild(r);var i=n.DOM$.subscribe((function(t){e.replaceChild(t,e.firstChild)})),o=n.settled$.subscribe((function(e){t.settled=e,e&&t.dispatchEvent(new CustomEvent("settled"))})),s=n.teardown$.subscribe((function(e){t.__onTeardown.push(e)}));t.__onTeardown.push((function(){[i,o,s].forEach((function(t){return t.unsubscribe()}))}))}function f(t){return function(e){e.subscribe({next:function(e){e(t)},error:function(){},complete:function(){}})}}r(645)})(),i})(),t.exports=r()},5472:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Maybe:()=>r});class r{constructor(t){this.value=t}static just(t){if(null==t)throw new TypeError("Value passed to just must exist!");return new r(t)}static nothing(){return new r}static maybe(t){return null==t?r.nothing():r.just(t)}static join(t){return t.withDefault(r.nothing())}static sequence(t){return t.reduce(((t,e)=>t.bind((t=>e.map((e=>t.concat(e)))))),r.just([]))}static traverse(t,e){return r.sequence(e).map((e=>e.map(t)))}static justMap(t,e){return e.reduce(((e,n)=>{const r=t(n);return void 0!==r.value?e.concat(r.value):e}),[])}static filterSomethings(t){return t.reduce(((t,e)=>(e.value&&t.push(e.value),t)),[])}static lift(t){return e=>e.map(t)}static lift2(t){return(e,n)=>r.sequence([e,n]).map((e=>t(e[0],e[1])))}static lift3(t){return(e,n,i)=>r.sequence([e,n,i]).map((e=>t(e[0],e[1],e[2])))}static toPromise(t){return t.hasSomething?Promise.resolve(t.value):Promise.reject()}map(t){return void 0!==this.value?r.maybe(t(this.value)):r.nothing()}asyncMap(t){return void 0!==this.value?t(this.value).then((t=>{if(null==t)throw"Promise Conversion from a Maybe.Nothing";return t})):Promise.reject()}alt(t){return void 0!==this.value?this:t}altMap(t){return void 0!==this.value?this:t()}ap(t){return t.bind((t=>this.map(t)))}bind(t){return r.join(this.map(t))}withDefault(t){return void 0!==this.value?this.value:t}withDefaultFn(t){return void 0!==this.value?this.value:t()}get hasNothing(){return void 0===this.value}get hasSomething(){return!this.hasNothing}unsafeElse(t){this.hasNothing&&t()}}r.of=r.maybe},6755:(t,e,n)=>{"use strict";n.r(e),n.d(e,{ArgumentOutOfRangeError:()=>I.W,AsyncSubject:()=>l.c,BehaviorSubject:()=>c.X,ConnectableObservable:()=>i.c,EMPTY:()=>K.E,EmptyError:()=>j.K,GroupedObservable:()=>o.T,NEVER:()=>lt,Notification:()=>C.P,NotificationKind:()=>C.W,ObjectUnsubscribedError:()=>A.N,Observable:()=>r.y,ReplaySubject:()=>a.t,Scheduler:()=>_.b,Subject:()=>u.xQ,Subscriber:()=>T.L,Subscription:()=>S.w,TimeoutError:()=>D.W,UnsubscriptionError:()=>M.B,VirtualAction:()=>x,VirtualTimeScheduler:()=>w,animationFrame:()=>g,animationFrameScheduler:()=>m,asap:()=>h.e,asapScheduler:()=>h.E,async:()=>f.P,asyncScheduler:()=>f.z,bindCallback:()=>Z,bindNodeCallback:()=>q,combineLatest:()=>z.aj,concat:()=>H.z,config:()=>Nt.v,defer:()=>Y.P,empty:()=>K.c,forkJoin:()=>Q,from:()=>J.D,fromEvent:()=>tt.R,fromEventPattern:()=>nt,generate:()=>rt,identity:()=>N.y,iif:()=>ot,interval:()=>ut,isObservable:()=>O,merge:()=>at.T,never:()=>ht,noop:()=>P.Z,observable:()=>s.L,of:()=>ft.of,onErrorResumeNext:()=>pt,pairs:()=>dt,partition:()=>gt,pipe:()=>E.z,queue:()=>p.c,queueScheduler:()=>p.N,race:()=>wt.S3,range:()=>xt,scheduled:()=>Pt.x,throwError:()=>St._,timer:()=>Tt.H,using:()=>Ct,zip:()=>Et.$R});var r=n(5988),i=n(9570),o=n(7224),s=n(5940),u=n(7457),c=n(7656),a=n(2912),l=n(3597),h=n(5731),f=n(7162),p=n(7302),d=n(8367),b=n(6475),v=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return d.ZT(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(b.o),y=n(7333),m=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d.ZT(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(y.v))(v),g=m,w=function(t){function e(e,n){void 0===e&&(e=x),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=t.call(this,e,(function(){return r.frame}))||this;return r.maxFrames=n,r.frame=0,r.index=-1,r}return d.ZT(e,t),e.prototype.flush=function(){for(var t,e,n=this.actions,r=this.maxFrames;(e=n[0])&&e.delay<=r&&(n.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=n.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(y.v),x=function(t){function e(e,n,r){void 0===r&&(r=e.index+=1);var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.index=r,i.active=!0,i.index=e.index=r,i}return d.ZT(e,t),e.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return t.prototype.schedule.call(this,n,r);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(n,r)},e.prototype.requestAsyncId=function(t,n,r){void 0===r&&(r=0),this.delay=t.frame+r;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(b.o),_=n(479),S=n(4372),T=n(1180),C=n(8642),E=n(5989),P=n(1445),N=n(2884);function O(t){return!!t&&(t instanceof r.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}var I=n(6120),j=n(930),A=n(5589),M=n(5436),D=n(6035),k=n(7081),V=n(6670),R=n(7588),L=n(6693);function Z(t,e,n){if(e){if(!(0,L.K)(e))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return Z(t,n).apply(void 0,r).pipe((0,k.U)((function(t){return(0,R.k)(t)?e.apply(void 0,t):e(t)})))};n=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o,s=this,u={context:s,subject:o,callbackFunc:t,scheduler:n};return new r.y((function(r){if(n){var i={args:e,subscriber:r,params:u};return n.schedule(F,0,i)}if(!o){o=new l.c;try{t.apply(s,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];o.next(t.length<=1?t[0]:t),o.complete()}]))}catch(t){(0,V._)(o)?o.error(t):console.warn(t)}}return o.subscribe(r)}))}}function F(t){var e=this,n=t.args,r=t.subscriber,i=t.params,o=i.callbackFunc,s=i.context,u=i.scheduler,c=i.subject;if(!c){c=i.subject=new l.c;try{o.apply(s,n.concat([function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.length<=1?t[0]:t;e.add(u.schedule($,0,{value:r,subject:c}))}]))}catch(t){c.error(t)}}this.add(c.subscribe(r))}function $(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function q(t,e,n){if(e){if(!(0,L.K)(e))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return q(t,n).apply(void 0,r).pipe((0,k.U)((function(t){return(0,R.k)(t)?e.apply(void 0,t):e(t)})))};n=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o={subject:void 0,args:e,callbackFunc:t,scheduler:n,context:this};return new r.y((function(r){var i=o.context,s=o.subject;if(n)return n.schedule(W,0,{params:o,subscriber:r,context:i});if(!s){s=o.subject=new l.c;try{t.apply(i,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.shift();n?s.error(n):(s.next(t.length<=1?t[0]:t),s.complete())}]))}catch(t){(0,V._)(s)?s.error(t):console.warn(t)}}return s.subscribe(r)}))}}function W(t){var e=this,n=t.params,r=t.subscriber,i=t.context,o=n.callbackFunc,s=n.args,u=n.scheduler,c=n.subject;if(!c){c=n.subject=new l.c;try{o.apply(i,s.concat([function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.shift();if(r)e.add(u.schedule(B,0,{err:r,subject:c}));else{var i=t.length<=1?t[0]:t;e.add(u.schedule(U,0,{value:i,subject:c}))}}]))}catch(t){this.add(u.schedule(B,0,{err:t,subject:c}))}}this.add(c.subscribe(r))}function U(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function B(t){var e=t.err;t.subject.error(e)}var z=n(1086),H=n(5600),Y=n(7262),K=n(1608),G=n(4066),J=n(6628);function Q(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var n=t[0];if((0,R.k)(n))return X(n,null);if((0,G.K)(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return X(r.map((function(t){return n[t]})),r)}}if("function"==typeof t[t.length-1]){var i=t.pop();return X(t=1===t.length&&(0,R.k)(t[0])?t[0]:t,null).pipe((0,k.U)((function(t){return i.apply(void 0,t)})))}return X(t,null)}function X(t,e){return new r.y((function(n){var r=t.length;if(0!==r)for(var i=new Array(r),o=0,s=0,u=function(u){var c=(0,J.D)(t[u]),a=!1;n.add(c.subscribe({next:function(t){a||(a=!0,s++),i[u]=t},error:function(t){return n.error(t)},complete:function(){++o!==r&&a||(s===r&&n.next(e?e.reduce((function(t,e,n){return t[e]=i[n],t}),{}):i),n.complete())}}))},c=0;c<r;c++)u(c);else n.complete()}))}var tt=n(1522),et=n(3517);function nt(t,e,n){return n?nt(t,e).pipe((0,k.U)((function(t){return(0,R.k)(t)?n.apply(void 0,t):n(t)}))):new r.y((function(n){var r,i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n.next(1===t.length?t[0]:t)};try{r=t(i)}catch(t){return void n.error(t)}if((0,et.m)(e))return function(){return e(i,r)}}))}function rt(t,e,n,i,o){var s,u;if(1==arguments.length){var c=t;u=c.initialState,e=c.condition,n=c.iterate,s=c.resultSelector||N.y,o=c.scheduler}else void 0===i||(0,L.K)(i)?(u=t,s=N.y,o=i):(u=t,s=i);return new r.y((function(t){var r=u;if(o)return o.schedule(it,0,{subscriber:t,iterate:n,condition:e,resultSelector:s,state:r});for(;;){if(e){var i=void 0;try{i=e(r)}catch(e){return void t.error(e)}if(!i){t.complete();break}}var c=void 0;try{c=s(r)}catch(e){return void t.error(e)}if(t.next(c),t.closed)break;try{r=n(r)}catch(e){return void t.error(e)}}}))}function it(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var r=void 0;try{r=n(t.state)}catch(t){return void e.error(t)}if(!r)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}}function ot(t,e,n){return void 0===e&&(e=K.E),void 0===n&&(n=K.E),(0,Y.P)((function(){return t()?e:n}))}var st=n(7904);function ut(t,e){return void 0===t&&(t=0),void 0===e&&(e=f.P),(!(0,st.k)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=f.P),new r.y((function(n){return n.add(e.schedule(ct,t,{subscriber:n,counter:0,period:t})),n}))}function ct(t){var e=t.subscriber,n=t.counter,r=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}var at=n(3637),lt=new r.y(P.Z);function ht(){return lt}var ft=n(3979);function pt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return K.E;var n=t[0],i=t.slice(1);return 1===t.length&&(0,R.k)(n)?pt.apply(void 0,n):new r.y((function(t){var e=function(){return t.add(pt.apply(void 0,i).subscribe(t))};return(0,J.D)(n).subscribe({next:function(e){t.next(e)},error:e,complete:e})}))}function dt(t,e){return e?new r.y((function(n){var r=Object.keys(t),i=new S.w;return i.add(e.schedule(bt,0,{keys:r,index:0,subscriber:n,subscription:i,obj:t})),i})):new r.y((function(e){for(var n=Object.keys(t),r=0;r<n.length&&!e.closed;r++){var i=n[r];t.hasOwnProperty(i)&&e.next([i,t[i]])}e.complete()}))}function bt(t){var e=t.keys,n=t.index,r=t.subscriber,i=t.subscription,o=t.obj;if(!r.closed)if(n<e.length){var s=e[n];r.next([s,o[s]]),i.add(this.schedule({keys:e,index:n+1,subscriber:r,subscription:i,obj:o}))}else r.complete()}var vt=n(3796),yt=n(9842),mt=n(8933);function gt(t,e,n){return[(0,mt.h)(e,n)(new r.y((0,yt.s)(t))),(0,mt.h)((0,vt.f)(e,n))(new r.y((0,yt.s)(t)))]}var wt=n(9569);function xt(t,e,n){return void 0===t&&(t=0),new r.y((function(r){void 0===e&&(e=t,t=0);var i=0,o=t;if(n)return n.schedule(_t,0,{index:i,count:e,start:t,subscriber:r});for(;;){if(i++>=e){r.complete();break}if(r.next(o++),r.closed)break}}))}function _t(t){var e=t.start,n=t.index,r=t.count,i=t.subscriber;n>=r?i.complete():(i.next(e),i.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))}var St=n(9770),Tt=n(1034);function Ct(t,e){return new r.y((function(n){var r,i;try{r=t()}catch(t){return void n.error(t)}try{i=e(r)}catch(t){return void n.error(t)}var o=(i?(0,J.D)(i):K.E).subscribe(n);return function(){o.unsubscribe(),r&&r.unsubscribe()}}))}var Et=n(3314),Pt=n(9075),Nt=n(1886)},3597:(t,e,n)=>{"use strict";n.d(e,{c:()=>s});var r=n(8367),i=n(7457),o=n(4372),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return r.ZT(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.w.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.w.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.xQ)},7656:(t,e,n)=>{"use strict";n.d(e,{X:()=>s});var r=n(8367),i=n(7457),o=n(5589),s=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r.ZT(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.N;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(i.xQ)},8642:(t,e,n)=>{"use strict";n.d(e,{P:()=>u,W:()=>r});var r,i=n(1608),o=n(3979),s=n(9770);r||(r={});var u=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return(0,o.of)(this.value);case"E":return(0,s._)(this.error);case"C":return(0,i.c)()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},5988:(t,e,n)=>{"use strict";n.d(e,{y:()=>l});var r=n(6670),i=n(1180),o=n(3082),s=n(1374),u=n(5940),c=n(5989),a=n(1886),l=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,u=function(t,e,n){if(t){if(t instanceof i.L)return t;if(t[o.b])return t[o.b]()}return t||e||n?new i.L(t,e,n):new i.L(s.c)}(t,e,n);if(r?u.add(r.call(u,this.source)):u.add(this.source||a.v.useDeprecatedSynchronousErrorHandling&&!u.syncErrorThrowable?this._subscribe(u):this._trySubscribe(u)),a.v.useDeprecatedSynchronousErrorHandling&&u.syncErrorThrowable&&(u.syncErrorThrowable=!1,u.syncErrorThrown))throw u.syncErrorValue;return u},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){a.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),(0,r._)(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=h(e))((function(e,r){var i;i=n.subscribe((function(e){try{t(e)}catch(t){r(t),i&&i.unsubscribe()}}),r,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[u.L]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:(0,c.U)(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=h(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}();function h(t){if(t||(t=a.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},1374:(t,e,n)=>{"use strict";n.d(e,{c:()=>o});var r=n(1886),i=n(4612),o={closed:!0,next:function(t){},error:function(t){if(r.v.useDeprecatedSynchronousErrorHandling)throw t;(0,i.z)(t)},complete:function(){}}},7268:(t,e,n)=>{"use strict";n.d(e,{L:()=>i});var r=n(8367),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.ZT(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n(1180).L)},2912:(t,e,n)=>{"use strict";n.d(e,{t:()=>l});var r=n(8367),i=n(7457),o=n(7302),s=n(4372),u=n(4891),c=n(5589),a=n(8731),l=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return r.ZT(e,t),e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift()}t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this.isStopped||(this._events.push(new h(this._getNow(),e)),this._trimBufferThenGetEvents()),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new c.N;if(this.isStopped||this.hasError?e=s.w.EMPTY:(this.observers.push(t),e=new a.W(this,t)),i&&t.add(t=new u.ht(t,i)),n)for(var l=0;l<o&&!t.closed;l++)t.next(r[l]);else for(l=0;l<o&&!t.closed;l++)t.next(r[l].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.c).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.xQ),h=function(){return function(t,e){this.time=t,this.value=e}}()},479:(t,e,n)=>{"use strict";n.d(e,{b:()=>r});var r=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}()},7457:(t,e,n)=>{"use strict";n.d(e,{Yc:()=>l,xQ:()=>h});var r=n(8367),i=n(5988),o=n(1180),s=n(4372),u=n(5589),c=n(8731),a=n(3082),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.ZT(e,t),e}(o.L),h=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.ZT(e,t),e.prototype[a.b]=function(){return new l(this)},e.prototype.lift=function(t){var e=new f(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u.N;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new u.N;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new u.N;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new u.N;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new u.N;return this.hasError?(t.error(this.thrownError),s.w.EMPTY):this.isStopped?(t.complete(),s.w.EMPTY):(this.observers.push(t),new c.W(this,t))},e.prototype.asObservable=function(){var t=new i.y;return t.source=this,t},e.create=function(t,e){return new f(t,e)},e}(i.y),f=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return r.ZT(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):s.w.EMPTY},e}(h)},8731:(t,e,n)=>{"use strict";n.d(e,{W:()=>i});var r=n(8367),i=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.ZT(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n(4372).w)},1180:(t,e,n)=>{"use strict";n.d(e,{L:()=>l});var r=n(8367),i=n(3517),o=n(1374),s=n(4372),u=n(3082),c=n(1886),a=n(4612),l=function(t){function e(n,r,i){var s=t.call(this)||this;switch(s.syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=o.c;break;case 1:if(!n){s.destination=o.c;break}if("object"==typeof n){n instanceof e?(s.syncErrorThrowable=n.syncErrorThrowable,s.destination=n,n.add(s)):(s.syncErrorThrowable=!0,s.destination=new h(s,n));break}default:s.syncErrorThrowable=!0,s.destination=new h(s,n,r,i)}return s}return r.ZT(e,t),e.prototype[u.b]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(s.w),h=function(t){function e(e,n,r,s){var u,c=t.call(this)||this;c._parentSubscriber=e;var a=c;return(0,i.m)(n)?u=n:n&&(u=n.next,r=n.error,s=n.complete,n!==o.c&&(a=Object.create(n),(0,i.m)(a.unsubscribe)&&c.add(a.unsubscribe.bind(a)),a.unsubscribe=c.unsubscribe.bind(c))),c._context=a,c._next=u,c._error=r,c._complete=s,c}return r.ZT(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;c.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=c.v.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,a.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,a.z)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};c.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),c.v.useDeprecatedSynchronousErrorHandling)throw t;(0,a.z)(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!c.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return c.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):((0,a.z)(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(l)},4372:(t,e,n)=>{"use strict";n.d(e,{w:()=>u});var r=n(7588),i=n(4066),o=n(3517),s=n(5436),u=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this,u=n._parentOrParents,a=n._ctorUnsubscribe,l=n._unsubscribe,h=n._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,u instanceof t)u.remove(this);else if(null!==u)for(var f=0;f<u.length;++f)u[f].remove(this);if((0,o.m)(l)){a&&(this._unsubscribe=void 0);try{l.call(this)}catch(t){e=t instanceof s.B?c(t.errors):[t]}}if((0,r.k)(h)){f=-1;for(var p=h.length;++f<p;){var d=h[f];if((0,i.K)(d))try{d.unsubscribe()}catch(t){e=e||[],t instanceof s.B?e=e.concat(c(t.errors)):e.push(t)}}}if(e)throw new s.B(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce((function(t,e){return t.concat(e instanceof s.B?e.errors:e)}),[])}},1886:(t,e,n)=>{"use strict";n.d(e,{v:()=>i});var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack,r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},4932:(t,e,n)=>{"use strict";n.d(e,{Ds:()=>c,IY:()=>u,ft:()=>a});var r=n(8367),i=n(1180),o=n(5988),s=n(9842),u=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,n}return r.ZT(e,t),e.prototype._next=function(t){this.parent.notifyNext(t)},e.prototype._error=function(t){this.parent.notifyError(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(i.L),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.ZT(e,t),e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.destination.complete()},e}(i.L);function a(t,e){if(!e.closed){if(t instanceof o.y)return t.subscribe(e);var n;try{n=(0,s.s)(t)(e)}catch(t){e.error(t)}return n}}},9570:(t,e,n)=>{"use strict";n.d(e,{N:()=>a,c:()=>c});var r=n(8367),i=n(7457),o=n(5988),s=n(4372),u=n(6747),c=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.ZT(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.w).add(this.source.subscribe(new l(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.w.EMPTY)),t},e.prototype.refCount=function(){return(0,u.x)()(this)},e}(o.y),a=function(){var t=c.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),l=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.ZT(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.Yc)},1086:(t,e,n)=>{"use strict";n.d(e,{Ms:()=>h,aj:()=>l});var r=n(8367),i=n(6693),o=n(7588),s=n(7268),u=n(8479),c=n(6567),a={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return(0,i.K)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&(0,o.k)(t[0])&&(t=t[0]),(0,c.n)(t,r).lift(new h(n))}var h=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.resultSelector))},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return r.ZT(e,t),e.prototype._next=function(t){this.values.push(a),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add((0,u.D)(this,r,void 0,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n){var r=this.values,i=r[n],o=this.toRespond?i===a?--this.toRespond:this.toRespond:0;r[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.L)},5600:(t,e,n)=>{"use strict";n.d(e,{z:()=>o});var r=n(3979),i=n(8321);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(0,i.u)()(r.of.apply(void 0,t))}},7262:(t,e,n)=>{"use strict";n.d(e,{P:()=>s});var r=n(5988),i=n(6628),o=n(1608);function s(t){return new r.y((function(e){var n;try{n=t()}catch(t){return void e.error(t)}return(n?(0,i.D)(n):(0,o.c)()).subscribe(e)}))}},1608:(t,e,n)=>{"use strict";n.d(e,{E:()=>i,c:()=>o});var r=n(5988),i=new r.y((function(t){return t.complete()}));function o(t){return t?function(t){return new r.y((function(e){return t.schedule((function(){return e.complete()}))}))}(t):i}},6628:(t,e,n)=>{"use strict";n.d(e,{D:()=>s});var r=n(5988),i=n(9842),o=n(9075);function s(t,e){return e?(0,o.x)(t,e):t instanceof r.y?t:new r.y((0,i.s)(t))}},6567:(t,e,n)=>{"use strict";n.d(e,{n:()=>s});var r=n(5988),i=n(765),o=n(4821);function s(t,e){return e?(0,o.r)(t,e):new r.y((0,i.V)(t))}},1522:(t,e,n)=>{"use strict";n.d(e,{R:()=>u});var r=n(5988),i=n(7588),o=n(3517),s=n(7081);function u(t,e,n,a){return(0,o.m)(n)&&(a=n,n=void 0),a?u(t,e,n).pipe((0,s.U)((function(t){return(0,i.k)(t)?a.apply(void 0,t):a(t)}))):new r.y((function(r){c(t,e,(function(t){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(t)}),r,n)}))}function c(t,e,n,r,i){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(e,n,i),o=function(){return s.removeEventListener(e,n,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var u=t;t.on(e,n),o=function(){return u.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var a=t;t.addListener(e,n),o=function(){return a.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,h=t.length;l<h;l++)c(t[l],e,n,r,i)}r.add(o)}},3637:(t,e,n)=>{"use strict";n.d(e,{T:()=>u});var r=n(5988),i=n(6693),o=n(7178),s=n(6567);function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,u=null,c=t[t.length-1];return(0,i.K)(c)?(u=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof c&&(n=t.pop()),null===u&&1===t.length&&t[0]instanceof r.y?t[0]:(0,o.J)(n)((0,s.n)(t,u))}},3979:(t,e,n)=>{"use strict";n.d(e,{of:()=>s});var r=n(6693),i=n(6567),o=n(4821);function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return(0,r.K)(n)?(t.pop(),(0,o.r)(t,n)):(0,i.n)(t)}},9569:(t,e,n)=>{"use strict";n.d(e,{S3:()=>c});var r=n(8367),i=n(7588),o=n(6567),s=n(7268),u=n(8479);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!(0,i.k)(t[0]))return t[0];t=t[0]}return(0,o.n)(t,void 0).lift(new a)}var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){var n=t.call(this,e)||this;return n.hasFirst=!1,n.observables=[],n.subscriptions=[],n}return r.ZT(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var r=t[n],i=(0,u.D)(this,r,void 0,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},e.prototype.notifyNext=function(t,e,n){if(!this.hasFirst){this.hasFirst=!0;for(var r=0;r<this.subscriptions.length;r++)if(r!==n){var i=this.subscriptions[r];i.unsubscribe(),this.remove(i)}this.subscriptions=null}this.destination.next(e)},e}(s.L)},9770:(t,e,n)=>{"use strict";n.d(e,{_:()=>i});var r=n(5988);function i(t,e){return e?new r.y((function(n){return e.schedule(o,0,{error:t,subscriber:n})})):new r.y((function(e){return e.error(t)}))}function o(t){var e=t.error;t.subscriber.error(e)}},1034:(t,e,n)=>{"use strict";n.d(e,{H:()=>u});var r=n(5988),i=n(7162),o=n(7904),s=n(6693);function u(t,e,n){void 0===t&&(t=0);var u=-1;return(0,o.k)(e)?u=Number(e)<1?1:Number(e):(0,s.K)(e)&&(n=e),(0,s.K)(n)||(n=i.P),new r.y((function(e){var r=(0,o.k)(t)?t:+t-n.now();return n.schedule(c,r,{index:0,period:u,subscriber:e})}))}function c(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}},3314:(t,e,n)=>{"use strict";n.d(e,{$R:()=>a,mx:()=>l});var r=n(8367),i=n(6567),o=n(7588),s=n(1180),u=n(1112),c=n(4932);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),(0,i.n)(t,void 0).lift(new l(n))}var l=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.resultSelector))},t}(),h=function(t){function e(e,n,r){void 0===r&&(r=Object.create(null));var i=t.call(this,e)||this;return i.resultSelector=n,i.iterators=[],i.active=0,i.resultSelector="function"==typeof n?n:void 0,i}return r.ZT(e,t),e.prototype._next=function(t){var e=this.iterators;(0,o.k)(t)?e.push(new p(t)):"function"==typeof t[u.hZ]?e.push(new f(t[u.hZ]())):e.push(new d(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var n=0;n<e;n++){var r=t[n];r.stillUnsubscribed?this.destination.add(r.subscribe()):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,r=0;r<e;r++)if("function"==typeof(s=t[r]).hasValue&&!s.hasValue())return;var i=!1,o=[];for(r=0;r<e;r++){var s,u=(s=t[r]).next();if(s.hasCompleted()&&(i=!0),u.done)return void n.complete();o.push(u.value)}this.resultSelector?this._tryresultSelector(o):n.next(o),i&&n.complete()},e.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.L),f=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return Boolean(t&&t.done)},t}(),p=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[u.hZ]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),d=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.parent=n,i.observable=r,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return r.ZT(e,t),e.prototype[u.hZ]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t){this.buffer.push(t),this.parent.checkIterators()},e.prototype.subscribe=function(){return(0,c.ft)(this.observable,new c.IY(this))},e}(c.Ds)},8321:(t,e,n)=>{"use strict";n.d(e,{u:()=>i});var r=n(7178);function i(){return(0,r.J)(1)}},4624:(t,e,n)=>{"use strict";n.d(e,{d:()=>o});var r=n(8367),i=n(1180);function o(t){return void 0===t&&(t=null),function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.defaultValue))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return r.ZT(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(i.L)},5439:(t,e,n)=>{"use strict";n.d(e,{x:()=>o});var r=n(8367),i=n(1180);function o(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compare,this.keySelector))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.ZT(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(i.L)},8933:(t,e,n)=>{"use strict";n.d(e,{h:()=>o});var r=n(8367),i=n(1180);function o(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.predicate,this.thisArg))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return r.ZT(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.L)},3078:(t,e,n)=>{"use strict";n.d(e,{P:()=>a});var r=n(930),i=n(8933),o=n(7376),s=n(4624),u=n(7785),c=n(2884);function a(t,e){var n=arguments.length>=2;return function(a){return a.pipe(t?(0,i.h)((function(e,n){return t(e,n,a)})):c.y,(0,o.q)(1),n?(0,s.d)(e):(0,u.T)((function(){return new r.K})))}}},7224:(t,e,n)=>{"use strict";n.d(e,{T:()=>f,v:()=>c});var r=n(8367),i=n(1180),o=n(4372),s=n(5988),u=n(7457);function c(t,e,n,r){return function(i){return i.lift(new a(t,e,n,r))}}var a=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),l=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.keySelector=n,s.elementSelector=r,s.durationSelector=i,s.subjectSelector=o,s.groups=null,s.attemptedToUnsubscribe=!1,s.count=0,s}return r.ZT(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups=new Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new u.xQ,n.set(e,i);var o=new f(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new f(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new h(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach((function(e,n){e.error(t)})),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach((function(t,e){t.complete()})),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(i.L),h=function(t){function e(e,n,r){var i=t.call(this,n)||this;return i.key=e,i.group=n,i.parent=r,i}return r.ZT(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(i.L),f=function(t){function e(e,n,r){var i=t.call(this)||this;return i.key=e,i.groupSubject=n,i.refCountSubscription=r,i}return r.ZT(e,t),e.prototype._subscribe=function(t){var e=new o.w,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&e.add(new p(n)),e.add(r.subscribe(t)),e},e}(s.y),p=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,e.count++,n}return r.ZT(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(o.w)},7081:(t,e,n)=>{"use strict";n.d(e,{U:()=>o});var r=n(8367),i=n(1180);function o(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.thisArg))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.ZT(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.L)},7178:(t,e,n)=>{"use strict";n.d(e,{J:()=>o});var r=n(4858),i=n(2884);function o(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),(0,r.zg)(i.y,t)}},4858:(t,e,n)=>{"use strict";n.d(e,{VS:()=>l,zg:()=>u});var r=n(8367),i=n(7081),o=n(6628),s=n(4932);function u(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(u((function(n,r){return(0,o.D)(t(n,r)).pipe((0,i.U)((function(t,i){return e(n,t,r,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.concurrent))},t}(),a=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return r.ZT(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new s.IY(this),n=this.destination;n.add(e);var r=(0,s.ft)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.Ds),l=u},4891:(t,e,n)=>{"use strict";n.d(e,{QV:()=>s,ht:()=>c});var r=n(8367),i=n(1180),o=n(8642);function s(t,e){return void 0===e&&(e=0),function(n){return n.lift(new u(t,e))}}var u=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.scheduler,this.delay))},t}(),c=function(t){function e(e,n,r){void 0===r&&(r=0);var i=t.call(this,e)||this;return i.scheduler=n,i.delay=r,i}return r.ZT(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new a(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(o.P.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(o.P.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(o.P.createComplete()),this.unsubscribe()},e}(i.L),a=function(){return function(t,e){this.notification=t,this.destination=e}}()},2855:(t,e,n)=>{"use strict";n.d(e,{G:()=>o});var r=n(8367),i=n(1180);function o(){return function(t){return t.lift(new s)}}var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return r.ZT(e,t),e.prototype._next=function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)},e}(i.L)},6747:(t,e,n)=>{"use strict";n.d(e,{x:()=>o});var r=n(8367),i=n(1180);function o(){return function(t){return t.lift(new s(t))}}var s=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new u(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.ZT(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(i.L)},7376:(t,e,n)=>{"use strict";n.d(e,{q:()=>u});var r=n(8367),i=n(1180),o=n(6120),s=n(1608);function u(t){return function(e){return 0===t?(0,s.c)():e.lift(new c(t))}}var c=function(){function t(t){if(this.total=t,this.total<0)throw new o.W}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.ZT(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.L)},7785:(t,e,n)=>{"use strict";n.d(e,{T:()=>s});var r=n(8367),i=n(930),o=n(1180);function s(t){return void 0===t&&(t=a),function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.errorFactory=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.errorFactory))},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.errorFactory=n,r.hasValue=!1,r}return r.ZT(e,t),e.prototype._next=function(t){this.hasValue=!0,this.destination.next(t)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var t=void 0;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)},e}(o.L);function a(){return new i.K}},4821:(t,e,n)=>{"use strict";n.d(e,{r:()=>o});var r=n(5988),i=n(4372);function o(t,e){return new r.y((function(n){var r=new i.w,o=0;return r.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},9075:(t,e,n)=>{"use strict";n.d(e,{x:()=>l});var r=n(5988),i=n(4372),o=n(5940),s=n(4821),u=n(1112),c=n(2017),a=n(6708);function l(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.L]}(t))return function(t,e){return new r.y((function(n){var r=new i.w;return r.add(e.schedule((function(){var i=t[o.L]();r.add(i.subscribe({next:function(t){r.add(e.schedule((function(){return n.next(t)})))},error:function(t){r.add(e.schedule((function(){return n.error(t)})))},complete:function(){r.add(e.schedule((function(){return n.complete()})))}}))}))),r}))}(t,e);if((0,c.t)(t))return function(t,e){return new r.y((function(n){var r=new i.w;return r.add(e.schedule((function(){return t.then((function(t){r.add(e.schedule((function(){n.next(t),r.add(e.schedule((function(){return n.complete()})))})))}),(function(t){r.add(e.schedule((function(){return n.error(t)})))}))}))),r}))}(t,e);if((0,a.z)(t))return(0,s.r)(t,e);if(function(t){return t&&"function"==typeof t[u.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.y((function(n){var r,o=new i.w;return o.add((function(){r&&"function"==typeof r.return&&r.return()})),o.add(e.schedule((function(){r=t[u.hZ](),o.add(e.schedule((function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())}})))}))),o}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}},6475:(t,e,n)=>{"use strict";n.d(e,{o:()=>i});var r=n(8367),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return r.ZT(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return r.ZT(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n(4372).w))},7333:(t,e,n)=>{"use strict";n.d(e,{v:()=>o});var r=n(8367),i=n(479),o=function(t){function e(n,r){void 0===r&&(r=i.b.now);var o=t.call(this,n,(function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return r.ZT(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(i.b)},5731:(t,e,n)=>{"use strict";n.d(e,{e:()=>l,E:()=>a});var r=n(8367),i=1,o=function(){return Promise.resolve()}(),s={};function u(t){return t in s&&(delete s[t],!0)}var c=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.ZT(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=(c=e.flush.bind(e,null),a=i++,s[a]=!0,o.then((function(){return u(a)&&c()})),a)));var c,a},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(u(n),e.scheduled=void 0)},e}(n(6475).o),a=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.ZT(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(n(7333).v))(c),l=a},7162:(t,e,n)=>{"use strict";n.d(e,{P:()=>o,z:()=>i});var r=n(6475),i=new(n(7333).v)(r.o),o=i},7302:(t,e,n)=>{"use strict";n.d(e,{c:()=>s,N:()=>o});var r=n(8367),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.ZT(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(n(6475).o),o=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.ZT(e,t),e}(n(7333).v))(i),s=o},1112:(t,e,n)=>{"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,{hZ:()=>i});var i=r()},5940:(t,e,n)=>{"use strict";n.d(e,{L:()=>r});var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},3082:(t,e,n)=>{"use strict";n.d(e,{b:()=>r});var r=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},6120:(t,e,n)=>{"use strict";n.d(e,{W:()=>r});var r=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},930:(t,e,n)=>{"use strict";n.d(e,{K:()=>r});var r=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}()},5589:(t,e,n)=>{"use strict";n.d(e,{N:()=>r});var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},6035:(t,e,n)=>{"use strict";n.d(e,{W:()=>r});var r=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}()},5436:(t,e,n)=>{"use strict";n.d(e,{B:()=>r});var r=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}()},6670:(t,e,n)=>{"use strict";n.d(e,{_:()=>i});var r=n(1180);function i(t){for(;t;){var e=t,n=e.closed,i=e.destination,o=e.isStopped;if(n||o)return!1;t=i&&i instanceof r.L?i:null}return!0}},4612:(t,e,n)=>{"use strict";function r(t){setTimeout((function(){throw t}),0)}n.d(e,{z:()=>r})},2884:(t,e,n)=>{"use strict";function r(t){return t}n.d(e,{y:()=>r})},7588:(t,e,n)=>{"use strict";n.d(e,{k:()=>r});var r=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}()},6708:(t,e,n)=>{"use strict";n.d(e,{z:()=>r});var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},3517:(t,e,n)=>{"use strict";function r(t){return"function"==typeof t}n.d(e,{m:()=>r})},7904:(t,e,n)=>{"use strict";n.d(e,{k:()=>i});var r=n(7588);function i(t){return!(0,r.k)(t)&&t-parseFloat(t)+1>=0}},4066:(t,e,n)=>{"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,{K:()=>r})},2017:(t,e,n)=>{"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:()=>r})},6693:(t,e,n)=>{"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,{K:()=>r})},1445:(t,e,n)=>{"use strict";function r(){}n.d(e,{Z:()=>r})},3796:(t,e,n)=>{"use strict";function r(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}n.d(e,{f:()=>r})},5989:(t,e,n)=>{"use strict";n.d(e,{U:()=>o,z:()=>i});var r=n(2884);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)}function o(t){return 0===t.length?r.y:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}},9842:(t,e,n)=>{"use strict";n.d(e,{s:()=>l});var r=n(765),i=n(4612),o=n(1112),s=n(5940),u=n(6708),c=n(2017),a=n(4066),l=function(t){if(t&&"function"==typeof t[s.L])return l=t,function(t){var e=l[s.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,u.z)(t))return(0,r.V)(t);if((0,c.t)(t))return n=t,function(t){return n.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,i.z),t};if(t&&"function"==typeof t[o.hZ])return e=t,function(t){for(var n=e[o.hZ]();;){var r=void 0;try{r=n.next()}catch(e){return t.error(e),t}if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add((function(){n.return&&n.return()})),t};var e,n,l,h=(0,a.K)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+h+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},765:(t,e,n)=>{"use strict";n.d(e,{V:()=>r});var r=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}}},8479:(t,e,n)=>{"use strict";n.d(e,{D:()=>u});var r=n(8367),i=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return r.ZT(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n(1180).L),o=n(9842),s=n(5988);function u(t,e,n,r,u){if(void 0===u&&(u=new i(t,n,r)),!u.closed)return e instanceof s.y?e.subscribe(u):(0,o.s)(e)(u)}},422:(t,e,n)=>{"use strict";n.r(e),n.d(e,{audit:()=>o,auditTime:()=>l,buffer:()=>h,bufferCount:()=>b,bufferTime:()=>w,bufferToggle:()=>I,bufferWhen:()=>M,catchError:()=>V,combineAll:()=>F,combineLatest:()=>W,concat:()=>B,concatAll:()=>z.u,concatMap:()=>Y,concatMapTo:()=>K,count:()=>G,debounce:()=>X,debounceTime:()=>nt,defaultIfEmpty:()=>st.d,delay:()=>at,delayWhen:()=>dt,dematerialize:()=>gt,distinct:()=>_t,distinctUntilChanged:()=>Ct.x,distinctUntilKeyChanged:()=>Et,elementAt:()=>jt,endWith:()=>Mt,every:()=>Dt,exhaust:()=>Rt,exhaustMap:()=>$t,expand:()=>Ut,filter:()=>Nt.h,finalize:()=>Ht,find:()=>Gt,findIndex:()=>Xt,first:()=>te.P,flatMap:()=>H.VS,groupBy:()=>ee.v,ignoreElements:()=>ne,isEmpty:()=>oe,last:()=>de,map:()=>Ft.U,mapTo:()=>be,materialize:()=>me,max:()=>Ee,merge:()=>Ne,mergeAll:()=>Oe.J,mergeMap:()=>H.zg,mergeMapTo:()=>Ie,mergeScan:()=>je,min:()=>De,multicast:()=>Ve,observeOn:()=>Le.QV,onErrorResumeNext:()=>Ze,pairwise:()=>qe.G,partition:()=>Ue,pluck:()=>Be,publish:()=>He,publishBehavior:()=>Ke,publishLast:()=>Je,publishReplay:()=>Xe,race:()=>en,reduce:()=>Ce,refCount:()=>bn.x,repeat:()=>nn,repeatWhen:()=>sn,retry:()=>an,retryWhen:()=>fn,sample:()=>vn,sampleTime:()=>gn,scan:()=>xe,sequenceEqual:()=>Sn,share:()=>Nn,shareReplay:()=>On,single:()=>In,skip:()=>Mn,skipLast:()=>Vn,skipUntil:()=>Zn,skipWhile:()=>qn,startWith:()=>Bn,subscribeOn:()=>Kn,switchAll:()=>tr,switchMap:()=>Jn,switchMapTo:()=>er,take:()=>It.q,takeLast:()=>le,takeUntil:()=>nr,takeWhile:()=>or,tap:()=>lr,throttle:()=>dr,throttleTime:()=>yr,throwIfEmpty:()=>Ot.T,timeInterval:()=>_r,timeout:()=>Or,timeoutWith:()=>Cr,timestamp:()=>Ir,toArray:()=>Mr,window:()=>Dr,windowCount:()=>Rr,windowTime:()=>Fr,windowToggle:()=>Hr,windowWhen:()=>Gr,withLatestFrom:()=>Xr,zip:()=>ri,zipAll:()=>ii});var r=n(8367),i=n(4932);function o(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.durationSelector))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.ZT(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(t){return this.destination.error(t)}var n=(0,i.ft)(e,new i.IY(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),n&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(i.Ds),c=n(7162),a=n(1034);function l(t,e){return void 0===e&&(e=c.P),o((function(){return(0,a.H)(t,e)}))}function h(t){return function(e){return e.lift(new f(t))}}var f=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.closingNotifier))},t}(),p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.buffer=[],r.add((0,i.ft)(n,new i.IY(r))),r}return r.ZT(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(){var t=this.buffer;this.buffer=[],this.destination.next(t)},e}(i.Ds),d=n(1180);function b(t,e){return void 0===e&&(e=null),function(n){return n.lift(new v(t,e))}}var v=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?m:y}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),y=function(t){function e(e,n){var r=t.call(this,e)||this;return r.bufferSize=n,r.buffer=[],r}return r.ZT(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(d.L),m=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.bufferSize=n,i.startBufferEvery=r,i.buffers=[],i.count=0,i}return r.ZT(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,r=e.startBufferEvery,i=e.buffers,o=e.count;this.count++,o%r==0&&i.push([]);for(var s=i.length;s--;){var u=i[s];u.push(t),u.length===n&&(i.splice(s,1),this.destination.next(u))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var r=e.shift();r.length>0&&n.next(r)}t.prototype._complete.call(this)},e}(d.L),g=n(6693);function w(t){var e=arguments.length,n=c.P;(0,g.K)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new x(t,r,i,n))}}var x=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new S(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),_=function(){return function(){this.buffer=[]}}(),S=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;s.bufferTimeSpan=n,s.bufferCreationInterval=r,s.maxBufferSize=i,s.scheduler=o,s.contexts=[];var u=s.openContext();if(s.timespanOnly=null==r||r<0,s.timespanOnly){var c={subscriber:s,context:u,bufferTimeSpan:n};s.add(u.closeAction=o.schedule(T,n,c))}else{var a={subscriber:s,context:u},l={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:s,scheduler:o};s.add(u.closeAction=o.schedule(E,n,a)),s.add(o.schedule(C,r,l))}return s}return r.ZT(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i<r;i++){var o=n[i],s=o.buffer;s.push(t),s.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,n=this.destination;e.length>0;){var r=e.shift();n.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(T,n,r))}},e.prototype.openContext=function(){var t=new _;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(d.L);function T(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function C(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(E,n,{subscriber:r,context:o})),this.schedule(t,e))}function E(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var P=n(4372),N=n(8479),O=n(7268);function I(t,e){return function(n){return n.lift(new j(t,e))}}var j=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new A(t,this.openings,this.closingSelector))},t}(),A=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.closingSelector=r,i.contexts=[],i.add((0,N.D)(i,n)),i}return r.ZT(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r<n;r++)e[r].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new P.w,r={buffer:[],subscription:n};e.push(r);var i=(0,N.D)(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),n.add(i))},e}(O.L);function M(t){return function(e){return e.lift(new D(t))}}var D=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new k(t,this.closingSelector))},t}(),k=function(t){function e(e,n){var r=t.call(this,e)||this;return r.closingSelector=n,r.subscribing=!1,r.openBuffer(),r}return r.ZT(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=void 0,this.subscribing=!1},e.prototype.notifyNext=function(){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{e=(0,this.closingSelector)()}catch(t){return this.error(t)}t=new P.w,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add((0,i.ft)(e,new i.IY(this))),this.subscribing=!1},e}(i.Ds);function V(t){return function(e){var n=new R(t),r=e.lift(n);return n.caught=r}}var R=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new L(t,this.selector,this.caught))},t}(),L=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return r.ZT(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var r=new i.IY(this);this.add(r);var o=(0,i.ft)(n,r);o!==r&&this.add(o)}},e}(i.Ds),Z=n(1086);function F(t){return function(e){return e.lift(new Z.Ms(t))}}var $=n(7588),q=n(6628);function W(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&(0,$.k)(t[0])&&(t=t[0].slice()),function(e){return e.lift.call((0,q.D)([e].concat(t)),new Z.Ms(n))}}var U=n(5600);function B(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(U.z.apply(void 0,[e].concat(t)))}}var z=n(8321),H=n(4858);function Y(t,e){return(0,H.zg)(t,e,1)}function K(t,e){return Y((function(){return t}),e)}function G(t){return function(e){return e.lift(new J(t,e))}}var J=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Q(t,this.predicate,this.source))},t}(),Q=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.count=0,i.index=0,i}return r.ZT(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(d.L);function X(t){return function(e){return e.lift(new tt(t))}}var tt=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new et(t,this.durationSelector))},t}(),et=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.ZT(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=(0,i.ft)(e,new i.IY(this)))&&!n.closed&&this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=void 0,n.unsubscribe(),this.remove(n)),this.value=void 0,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(i.Ds);function nt(t,e){return void 0===e&&(e=c.P),function(n){return n.lift(new rt(t,e))}}var rt=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new it(t,this.dueTime,this.scheduler))},t}(),it=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return r.ZT(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(ot,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(d.L);function ot(t){t.debouncedNext()}var st=n(4624);function ut(t){return t instanceof Date&&!isNaN(+t)}var ct=n(8642);function at(t,e){void 0===e&&(e=c.P);var n=ut(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new lt(n,e))}}var lt=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new ht(t,this.delay,this.scheduler))},t}(),ht=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return r.ZT(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new ft(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(ct.P.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(ct.P.createComplete()),this.unsubscribe()},e}(d.L),ft=function(){return function(t,e){this.time=t,this.notification=e}}(),pt=n(5988);function dt(t,e){return e?function(n){return new yt(n,e).lift(new bt(t))}:function(e){return e.lift(new bt(t))}}var bt=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new vt(t,this.delayDurationSelector))},t}(),vt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.delayDurationSelector=n,r.completed=!1,r.delayNotifierSubscriptions=[],r.index=0,r}return r.ZT(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue},e.prototype.tryDelay=function(t,e){var n=(0,N.D)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(O.L),yt=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subscriptionDelay=n,r}return r.ZT(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new mt(t,this.source))},e}(pt.y),mt=function(t){function e(e,n){var r=t.call(this)||this;return r.parent=e,r.source=n,r.sourceSubscribed=!1,r}return r.ZT(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(d.L);function gt(){return function(t){return t.lift(new wt)}}var wt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new xt(t))},t}(),xt=function(t){function e(e){return t.call(this,e)||this}return r.ZT(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(d.L);function _t(t,e){return function(n){return n.lift(new St(t,e))}}var St=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new Tt(t,this.keySelector,this.flushes))},t}(),Tt=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.keySelector=n,o.values=new Set,r&&o.add((0,i.ft)(r,new i.IY(o))),o}return r.ZT(e,t),e.prototype.notifyNext=function(){this.values.clear()},e.prototype.notifyError=function(t){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(i.Ds),Ct=n(5439);function Et(t,e){return(0,Ct.x)((function(n,r){return e?e(n[t],r[t]):n[t]===r[t]}))}var Pt=n(6120),Nt=n(8933),Ot=n(7785),It=n(7376);function jt(t,e){if(t<0)throw new Pt.W;var n=arguments.length>=2;return function(r){return r.pipe((0,Nt.h)((function(e,n){return n===t})),(0,It.q)(1),n?(0,st.d)(e):(0,Ot.T)((function(){return new Pt.W})))}}var At=n(3979);function Mt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return(0,U.z)(e,At.of.apply(void 0,t))}}function Dt(t,e){return function(n){return n.lift(new kt(t,e,n))}}var kt=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new Vt(t,this.predicate,this.thisArg,this.source))},t}(),Vt=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return r.ZT(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(d.L);function Rt(){return function(t){return t.lift(new Lt)}}var Lt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Zt(t))},t}(),Zt=function(t){function e(e){var n=t.call(this,e)||this;return n.hasCompleted=!1,n.hasSubscription=!1,n}return r.ZT(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add((0,i.ft)(t,new i.IY(this))))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.Ds),Ft=n(7081);function $t(t,e){return e?function(n){return n.pipe($t((function(n,r){return(0,q.D)(t(n,r)).pipe((0,Ft.U)((function(t,i){return e(n,t,r,i)})))})))}:function(e){return e.lift(new qt(t))}}var qt=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Wt(t,this.project))},t}(),Wt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return r.ZT(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new i.IY(this),n=this.destination;n.add(e);var r=(0,i.ft)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.Ds);function Ut(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(r){return r.lift(new Bt(t,e,n))}}var Bt=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new zt(t,this.project,this.concurrent,this.scheduler))},t}(),zt=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.scheduler=i,o.index=0,o.active=0,o.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(o.buffer=[]),o}return r.ZT(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,r=t.value,i=t.index;e.subscribeToProjection(n,r,i)},e.prototype._next=function(t){var n=this.destination;if(n.closed)this._complete();else{var r=this.index++;if(this.active<this.concurrent){n.next(t);try{var i=(0,this.project)(t,r);if(this.scheduler){var o={subscriber:this,result:i,value:t,index:r};this.destination.add(this.scheduler.schedule(e.dispatch,0,o))}else this.subscribeToProjection(i,t,r)}catch(t){n.error(t)}}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.destination.add((0,i.ft)(t,new i.IY(this)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this._next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(i.Ds);function Ht(t){return function(e){return e.lift(new Yt(t))}}var Yt=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Kt(t,this.callback))},t}(),Kt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new P.w(n)),r}return r.ZT(e,t),e}(d.L);function Gt(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new Jt(t,n,!1,e))}}var Jt=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new Qt(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),Qt=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.predicate=n,s.source=r,s.yieldIndex=i,s.thisArg=o,s.index=0,s}return r.ZT(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,r=this.index++;try{e.call(n||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(d.L);function Xt(t,e){return function(n){return n.lift(new Jt(t,n,!0,e))}}var te=n(3078),ee=n(7224);function ne(){return function(t){return t.lift(new re)}}var re=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ie(t))},t}(),ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.ZT(e,t),e.prototype._next=function(t){},e}(d.L);function oe(){return function(t){return t.lift(new se)}}var se=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ue(t))},t}(),ue=function(t){function e(e){return t.call(this,e)||this}return r.ZT(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(d.L),ce=n(930),ae=n(1608);function le(t){return function(e){return 0===t?(0,ae.c)():e.lift(new he(t))}}var he=function(){function t(t){if(this.total=t,this.total<0)throw new Pt.W}return t.prototype.call=function(t,e){return e.subscribe(new fe(t,this.total))},t}(),fe=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.ZT(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(d.L),pe=n(2884);function de(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?(0,Nt.h)((function(e,n){return t(e,n,r)})):pe.y,le(1),n?(0,st.d)(e):(0,Ot.T)((function(){return new ce.K})))}}function be(t){return function(e){return e.lift(new ve(t))}}var ve=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new ye(t,this.value))},t}(),ye=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return r.ZT(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(d.L);function me(){return function(t){return t.lift(new ge)}}var ge=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new we(t))},t}(),we=function(t){function e(e){return t.call(this,e)||this}return r.ZT(e,t),e.prototype._next=function(t){this.destination.next(ct.P.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(ct.P.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(ct.P.createComplete()),t.complete()},e}(d.L);function xe(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new _e(t,e,n))}}var _e=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Se(t,this.accumulator,this.seed,this.hasSeed))},t}(),Se=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.ZT(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(d.L),Te=n(5989);function Ce(t,e){return arguments.length>=2?function(n){return(0,Te.z)(xe(t,e),le(1),(0,st.d)(e))(n)}:function(e){return(0,Te.z)(xe((function(e,n,r){return t(e,n,r+1)})),le(1))(e)}}function Ee(t){return Ce("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}var Pe=n(3637);function Ne(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Pe.T.apply(void 0,[e].concat(t)))}}var Oe=n(7178);function Ie(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?(0,H.zg)((function(){return t}),e,n):("number"==typeof e&&(n=e),(0,H.zg)((function(){return t}),n))}function je(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return r.lift(new Ae(t,e,n))}}var Ae=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new Me(t,this.accumulator,this.seed,this.concurrent))},t}(),Me=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o.acc=r,o.concurrent=i,o.hasValue=!1,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.ZT(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=this.destination,r=void 0;try{r=(0,this.accumulator)(this.acc,t,e)}catch(t){return n.error(t)}this.active++,this._innerSub(r)}else this.buffer.push(t)},e.prototype._innerSub=function(t){var e=new i.IY(this),n=this.destination;n.add(e);var r=(0,i.ft)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},e.prototype.notifyNext=function(t){var e=this.destination;this.acc=t,this.hasValue=!0,e.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(i.Ds);function De(t){return Ce("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}var ke=n(9570);function Ve(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new Re(r,e));var i=Object.create(n,ke.N);return i.source=n,i.subjectFactory=r,i}}var Re=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}(),Le=n(4891);function Ze(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&(0,$.k)(t[0])&&(t=t[0]),function(e){return e.lift(new Fe(t))}}var Fe=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new $e(t,this.nextSources))},t}(),$e=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.nextSources=n,r}return r.ZT(e,t),e.prototype.notifyError=function(){this.subscribeToNextSource()},e.prototype.notifyComplete=function(){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();if(t){var e=new i.IY(this),n=this.destination;n.add(e);var r=(0,i.ft)(t,e);r!==e&&n.add(r)}else this.destination.complete()},e}(i.Ds),qe=n(2855),We=n(3796);function Ue(t,e){return function(n){return[(0,Nt.h)(t,e)(n),(0,Nt.h)((0,We.f)(t,e))(n)]}}function Be(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return(0,Ft.U)(function(t,e){return function(n){for(var r=n,i=0;i<e;i++){var o=null!=r?r[t[i]]:void 0;if(void 0===o)return;r=o}return r}}(t,n))(e)}}var ze=n(7457);function He(t){return t?Ve((function(){return new ze.xQ}),t):Ve(new ze.xQ)}var Ye=n(7656);function Ke(t){return function(e){return Ve(new Ye.X(t))(e)}}var Ge=n(3597);function Je(){return function(t){return Ve(new Ge.c)(t)}}var Qe=n(2912);function Xe(t,e,n,r){n&&"function"!=typeof n&&(r=n);var i="function"==typeof n?n:void 0,o=new Qe.t(t,e,r);return function(t){return Ve((function(){return o}),i)(t)}}var tn=n(9569);function en(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return 1===t.length&&(0,$.k)(t[0])&&(t=t[0]),e.lift.call(tn.S3.apply(void 0,[e].concat(t)))}}function nn(t){return void 0===t&&(t=-1),function(e){return 0===t?(0,ae.c)():t<0?e.lift(new rn(-1,e)):e.lift(new rn(t-1,e))}}var rn=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new on(t,this.count,this.source))},t}(),on=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.ZT(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,n=this.count;if(0===n)return t.prototype.complete.call(this);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(d.L);function sn(t){return function(e){return e.lift(new un(t))}}var un=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new cn(t,this.notifier,e))},t}(),cn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i.sourceIsBeingSubscribedTo=!0,i}return r.ZT(e,t),e.prototype.notifyNext=function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new ze.xQ;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=(0,i.ft)(e,new i.IY(this))},e}(i.Ds);function an(t){return void 0===t&&(t=-1),function(e){return e.lift(new ln(t,e))}}var ln=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new hn(t,this.count,this.source))},t}(),hn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.ZT(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(d.L);function fn(t){return function(e){return e.lift(new pn(t,e))}}var pn=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new dn(t,this.notifier,this.source))},t}(),dn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i}return r.ZT(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,o=this.retriesSubscription;if(r)this.errors=void 0,this.retriesSubscription=void 0;else{n=new ze.xQ;try{r=(0,this.notifier)(n)}catch(e){return t.prototype.error.call(this,e)}o=(0,i.ft)(r,new i.IY(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=o,n.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},e.prototype.notifyNext=function(){var t=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)},e}(i.Ds),bn=n(6747);function vn(t){return function(e){return e.lift(new yn(t))}}var yn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new mn(t),r=e.subscribe(n);return r.add((0,i.ft)(this.notifier,new i.IY(n))),r},t}(),mn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return r.ZT(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(i.Ds);function gn(t,e){return void 0===e&&(e=c.P),function(n){return n.lift(new wn(t,e))}}var wn=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new xn(t,this.period,this.scheduler))},t}(),xn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.period=n,i.scheduler=r,i.hasValue=!1,i.add(r.schedule(_n,n,{subscriber:i,period:n})),i}return r.ZT(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(d.L);function _n(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function Sn(t,e){return function(n){return n.lift(new Tn(t,e))}}var Tn=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new Cn(t,this.compareTo,this.comparator))},t}(),Cn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.compareTo=n,i.comparator=r,i._a=[],i._b=[],i._oneComplete=!1,i.destination.add(n.subscribe(new En(e,i))),i}return r.ZT(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,r=t.comparator;e.length>0&&n.length>0;){var i=e.shift(),o=n.shift(),s=!1;try{s=r?r(i,o):i===o}catch(t){this.destination.error(t)}s||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(d.L),En=function(t){function e(e,n){var r=t.call(this,e)||this;return r.parent=n,r}return r.ZT(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(d.L);function Pn(){return new ze.xQ}function Nn(){return function(t){return(0,bn.x)()(Ve(Pn)(t))}}function On(t,e,n){var r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,r=t.bufferSize,i=void 0===r?Number.POSITIVE_INFINITY:r,o=t.windowTime,s=void 0===o?Number.POSITIVE_INFINITY:o,u=t.refCount,c=t.scheduler,a=0,l=!1,h=!1;return function(t){var r;a++,!e||l?(l=!1,e=new Qe.t(i,s,c),r=e.subscribe(this),n=t.subscribe({next:function(t){e.next(t)},error:function(t){l=!0,e.error(t)},complete:function(){h=!0,n=void 0,e.complete()}}),h&&(n=void 0)):r=e.subscribe(this),this.add((function(){a--,r.unsubscribe(),r=void 0,n&&!h&&u&&0===a&&(n.unsubscribe(),n=void 0,e=void 0)}))}}(r))}}function In(t){return function(e){return e.lift(new jn(t,e))}}var jn=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new An(t,this.predicate,this.source))},t}(),An=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.seenValue=!1,i.index=0,i}return r.ZT(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new ce.K)},e}(d.L);function Mn(t){return function(e){return e.lift(new Dn(t))}}var Dn=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new kn(t,this.total))},t}(),kn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.ZT(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(d.L);function Vn(t){return function(e){return e.lift(new Rn(t))}}var Rn=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new Pt.W}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new d.L(t)):e.subscribe(new Ln(t,this._skipCount))},t}(),Ln=function(t){function e(e,n){var r=t.call(this,e)||this;return r._skipCount=n,r._count=0,r._ring=new Array(n),r}return r.ZT(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var r=n%e,i=this._ring,o=i[r];i[r]=t,this.destination.next(o)}},e}(d.L);function Zn(t){return function(e){return e.lift(new Fn(t))}}var Fn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new $n(t,this.notifier))},t}(),$n=function(t){function e(e,n){var r=t.call(this,e)||this;r.hasValue=!1;var o=new i.IY(r);r.add(o),r.innerSubscription=o;var s=(0,i.ft)(n,o);return s!==o&&(r.add(s),r.innerSubscription=s),r}return r.ZT(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype.notifyNext=function(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(i.Ds);function qn(t){return function(e){return e.lift(new Wn(t))}}var Wn=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new Un(t,this.predicate))},t}(),Un=function(t){function e(e,n){var r=t.call(this,e)||this;return r.predicate=n,r.skipping=!0,r.index=0,r}return r.ZT(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(d.L);function Bn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return(0,g.K)(n)?(t.pop(),function(e){return(0,U.z)(t,e,n)}):function(e){return(0,U.z)(t,e)}}var zn=n(5731),Hn=n(7904),Yn=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=zn.e);var i=t.call(this)||this;return i.source=e,i.delayTime=n,i.scheduler=r,(!(0,Hn.k)(n)||n<0)&&(i.delayTime=0),r&&"function"==typeof r.schedule||(i.scheduler=zn.e),i}return r.ZT(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=zn.e),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(pt.y);function Kn(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Gn(t,e))}}var Gn=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new Yn(e,this.delay,this.scheduler).subscribe(t)},t}();function Jn(t,e){return"function"==typeof e?function(n){return n.pipe(Jn((function(n,r){return(0,q.D)(t(n,r)).pipe((0,Ft.U)((function(t,i){return e(n,t,r,i)})))})))}:function(e){return e.lift(new Qn(t))}}var Qn=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Xn(t,this.project))},t}(),Xn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.ZT(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e)},e.prototype._innerSub=function(t){var e=this.innerSubscription;e&&e.unsubscribe();var n=new i.IY(this),r=this.destination;r.add(n),this.innerSubscription=(0,i.ft)(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=void 0},e.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t){this.destination.next(t)},e}(i.Ds);function tr(){return Jn(pe.y)}function er(t,e){return e?Jn((function(){return t}),e):Jn((function(){return t}))}function nr(t){return function(e){return e.lift(new rr(t))}}var rr=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new ir(t),r=(0,i.ft)(this.notifier,new i.IY(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),ir=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return r.ZT(e,t),e.prototype.notifyNext=function(){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(i.Ds);function or(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new sr(t,e))}}var sr=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new ur(t,this.predicate,this.inclusive))},t}(),ur=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.inclusive=r,i.index=0,i}return r.ZT(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())},e}(d.L),cr=n(1445),ar=n(3517);function lr(t,e,n){return function(r){return r.lift(new hr(t,e,n))}}var hr=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new fr(t,this.nextOrObserver,this.error,this.complete))},t}(),fr=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._tapNext=cr.Z,o._tapError=cr.Z,o._tapComplete=cr.Z,o._tapError=r||cr.Z,o._tapComplete=i||cr.Z,(0,ar.m)(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||cr.Z,o._tapError=n.error||cr.Z,o._tapComplete=n.complete||cr.Z),o}return r.ZT(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(d.L),pr={leading:!0,trailing:!1};function dr(t,e){return void 0===e&&(e=pr),function(n){return n.lift(new br(t,!!e.leading,!!e.trailing))}}var br=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new vr(t,this.durationSelector,this.leading,this.trailing))},t}(),vr=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.destination=e,o.durationSelector=n,o._leading=r,o._trailing=i,o._hasValue=!1,o}return r.ZT(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=void 0},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=(0,i.ft)(e,new i.IY(this)))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=void 0,e&&this.send()},e.prototype.notifyNext=function(){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(i.Ds);function yr(t,e,n){return void 0===e&&(e=c.P),void 0===n&&(n=pr),function(r){return r.lift(new mr(t,e,n.leading,n.trailing))}}var mr=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new gr(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),gr=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.duration=n,s.scheduler=r,s.leading=i,s.trailing=o,s._hasTrailingValue=!1,s._trailingValue=null,s}return r.ZT(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(wr,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(d.L);function wr(t){t.subscriber.clearThrottle()}var xr=n(7262);function _r(t){return void 0===t&&(t=c.P),function(e){return(0,xr.P)((function(){return e.pipe(xe((function(e,n){var r=e.current;return{value:n,current:t.now(),last:r}}),{current:t.now(),value:void 0,last:void 0}),(0,Ft.U)((function(t){var e=t.current,n=t.last,r=t.value;return new Sr(r,e-n)})))}))}}var Sr=function(){return function(t,e){this.value=t,this.interval=e}}(),Tr=n(6035);function Cr(t,e,n){return void 0===n&&(n=c.P),function(r){var i=ut(t),o=i?+t-n.now():Math.abs(t);return r.lift(new Er(o,i,e,n))}}var Er=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new Pr(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),Pr=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.absoluteTimeout=n,s.waitFor=r,s.withObservable=i,s.scheduler=o,s.scheduleTimeout(),s}return r.ZT(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add((0,i.ft)(e,new i.IY(t)))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=void 0,this.scheduler=null,this.withObservable=null},e}(i.Ds),Nr=n(9770);function Or(t,e){return void 0===e&&(e=c.P),Cr(t,(0,Nr._)(new Tr.W),e)}function Ir(t){return void 0===t&&(t=c.P),(0,Ft.U)((function(e){return new jr(e,t.now())}))}var jr=function(){return function(t,e){this.value=t,this.timestamp=e}}();function Ar(t,e,n){return 0===n?[e]:(t.push(e),t)}function Mr(){return Ce(Ar,[])}function Dr(t){return function(e){return e.lift(new kr(t))}}var kr=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new Vr(t),r=e.subscribe(n);return r.closed||n.add((0,i.ft)(this.windowBoundaries,new i.IY(n))),r},t}(),Vr=function(t){function e(e){var n=t.call(this,e)||this;return n.window=new ze.xQ,e.next(n.window),n}return r.ZT(e,t),e.prototype.notifyNext=function(){this.openWindow()},e.prototype.notifyError=function(t){this._error(t)},e.prototype.notifyComplete=function(){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new ze.xQ;e.next(n)},e}(i.Ds);function Rr(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Lr(t,e))}}var Lr=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new Zr(t,this.windowSize,this.startWindowEvery))},t}(),Zr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.destination=e,i.windowSize=n,i.startWindowEvery=r,i.windows=[new ze.xQ],i.count=0,e.next(i.windows[0]),i}return r.ZT(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,s=0;s<o&&!this.closed;s++)i[s].next(t);var u=this.count-r+1;if(u>=0&&u%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var c=new ze.xQ;i.push(c),n.next(c)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(d.L);function Fr(t){var e=c.P,n=null,r=Number.POSITIVE_INFINITY;return(0,g.K)(arguments[3])&&(e=arguments[3]),(0,g.K)(arguments[2])?e=arguments[2]:(0,Hn.k)(arguments[2])&&(r=Number(arguments[2])),(0,g.K)(arguments[1])?e=arguments[1]:(0,Hn.k)(arguments[1])&&(n=Number(arguments[1])),function(i){return i.lift(new $r(t,n,r,e))}}var $r=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new Wr(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),qr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return r.ZT(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(ze.xQ),Wr=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;s.destination=e,s.windowTimeSpan=n,s.windowCreationInterval=r,s.maxWindowSize=i,s.scheduler=o,s.windows=[];var u=s.openWindow();if(null!==r&&r>=0){var c={subscriber:s,window:u,context:null},a={windowTimeSpan:n,windowCreationInterval:r,subscriber:s,scheduler:o};s.add(o.schedule(zr,n,c)),s.add(o.schedule(Br,r,a))}else{var l={subscriber:s,window:u,windowTimeSpan:n};s.add(o.schedule(Ur,n,l))}return s}return r.ZT(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r<n;r++){var i=e[r];i.closed||(i.next(t),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new qr;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(d.L);function Ur(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function Br(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),s=this,u={action:s,subscription:null},c={subscriber:n,window:o,context:u};u.subscription=r.schedule(zr,e,c),s.add(u.subscription),s.schedule(t,i)}function zr(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}function Hr(t,e){return function(n){return n.lift(new Yr(t,e))}}var Yr=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new Kr(t,this.openings,this.closingSelector))},t}(),Kr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.openings=n,i.closingSelector=r,i.contexts=[],i.add(i.openSubscription=(0,N.D)(i,n,n)),i}return r.ZT(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r<n;r++)e[r].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var r=n.length,i=-1;++i<r;){var o=n[i];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,r=-1;++r<n;){var i=e[r];i.window.complete(),i.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var r=t[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,r,i){if(t===this.openings){var o=void 0;try{o=(0,this.closingSelector)(e)}catch(t){return this.error(t)}var s=new ze.xQ,u=new P.w,c={window:s,subscription:u};this.contexts.push(c);var a=(0,N.D)(this,o,c);a.closed?this.closeWindow(this.contexts.length-1):(a.context=c,u.add(a)),this.destination.next(s)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],r=n.window,i=n.subscription;e.splice(t,1),r.complete(),i.unsubscribe()}},e}(O.L);function Gr(t){return function(e){return e.lift(new Jr(t))}}var Jr=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Qr(t,this.closingSelector))},t}(),Qr=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.closingSelector=n,r.openWindow(),r}return r.ZT(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow(i)},e.prototype.notifyError=function(t){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n,r=this.window=new ze.xQ;this.destination.next(r);try{n=(0,this.closingSelector)()}catch(t){return this.destination.error(t),void this.window.error(t)}this.add(this.closingNotification=(0,N.D)(this,n))},e}(O.L);function Xr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n;"function"==typeof t[t.length-1]&&(n=t.pop());var r=t;return e.lift(new ti(r,n))}}var ti=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new ei(t,this.observables,this.project))},t}(),ei=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.observables=n,i.project=r,i.toRespond=[];var o=n.length;i.values=new Array(o);for(var s=0;s<o;s++)i.toRespond.push(s);for(s=0;s<o;s++){var u=n[s];i.add((0,N.D)(i,u,void 0,s))}return i}return r.ZT(e,t),e.prototype.notifyNext=function(t,e,n){this.values[n]=e;var r=this.toRespond;if(r.length>0){var i=r.indexOf(n);-1!==i&&r.splice(i,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(O.L),ni=n(3314);function ri(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(ni.$R.apply(void 0,[e].concat(t)))}}function ii(t){return function(e){return e.lift(new ni.mx(t))}}},2633:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4377),i=n(5850);e.empty={closed:!0,next:function(t){},error:function(t){if(r.config.useDeprecatedSynchronousErrorHandling)throw t;i.hostReportError(t)},complete:function(){}}},859:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(3270),s=n(2633),u=n(7547),c=n(7836),a=n(4377),l=n(5850),h=function(t){function e(n,r,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s.empty;break;case 1:if(!n){o.destination=s.empty;break}if("object"==typeof n){n instanceof e?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new f(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new f(o,n,r,i)}return o}return i(e,t),e.prototype[c.rxSubscriber]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(u.Subscription);e.Subscriber=h;var f=function(t){function e(e,n,r,i){var u,c=t.call(this)||this;c._parentSubscriber=e;var a=c;return o.isFunction(n)?u=n:n&&(u=n.next,r=n.error,i=n.complete,n!==s.empty&&(a=Object.create(n),o.isFunction(a.unsubscribe)&&c.add(a.unsubscribe.bind(a)),a.unsubscribe=c.unsubscribe.bind(c))),c._context=a,c._next=u,c._error=r,c._complete=i,c}return i(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;a.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=a.config.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):l.hostReportError(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;l.hostReportError(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};a.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),a.config.useDeprecatedSynchronousErrorHandling)throw t;l.hostReportError(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!a.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return a.config.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(l.hostReportError(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(h);e.SafeSubscriber=f},7547:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7696),i=n(2754),o=n(3270),s=n(1869),u=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this,u=n._parentOrParents,a=n._ctorUnsubscribe,l=n._unsubscribe,h=n._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,u instanceof t)u.remove(this);else if(null!==u)for(var f=0;f<u.length;++f)u[f].remove(this);if(o.isFunction(l)){a&&(this._unsubscribe=void 0);try{l.call(this)}catch(t){e=t instanceof s.UnsubscriptionError?c(t.errors):[t]}}if(r.isArray(h)){f=-1;for(var p=h.length;++f<p;){var d=h[f];if(i.isObject(d))try{d.unsubscribe()}catch(t){e=e||[],t instanceof s.UnsubscriptionError?e=e.concat(c(t.errors)):e.push(t)}}}if(e)throw new s.UnsubscriptionError(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce((function(t,e){return t.concat(e instanceof s.UnsubscriptionError?e.errors:e)}),[])}e.Subscription=u},4377:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=!1;e.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=t},get useDeprecatedSynchronousErrorHandling(){return n}}},1476:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(859);e.skip=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return i(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.Subscriber)},7836:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),e.$$rxSubscriber=e.rxSubscriber},1869:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();e.UnsubscriptionError=n},5850:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hostReportError=function(t){setTimeout((function(){throw t}),0)}},7696:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},3270:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=function(t){return"function"==typeof t}},2754:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=function(t){return null!==t&&"object"==typeof t}},8367:(t,e,n)=>{"use strict";n.d(e,{ZT:()=>i});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{"use strict";function t(e,n){Object.keys(n).forEach((r=>{if(!Array.isArray(n[r])&&!Array.isArray(e[r])&&e.hasOwnProperty(r)&&"object"==typeof n[r])return t(e[r],n[r]);e[r]=n[r]}))}n.r(r),n.d(r,{init:()=>ft});var e=n(1522),i=n(8933),o=n(7081),s=n(7376),u=n(5472);function c(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"success";(window.isTestingTecton?window:t).postMessage({tectonic:!0,value:r.withDefault(""),status:o,type:e,protocol:n,guid:i},"*")}function a(t,e){c(window.parent,t,"MESSAGE",e)}function l(t,e){c(window,t,"BROADCAST",e),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(t){case"platformScrollChanged":case"platformSizeChanged":let{value:i}=Object.assign({},e);i=Object.assign(JSON.parse(i),{outletOffset:n.getBoundingClientRect().top}),c(r.contentWindow,t,"BROADCAST",new u.Maybe(JSON.stringify(i)));break;default:c(r.contentWindow,t,"BROADCAST",e)}}))}class h{constructor(){this.messageNum=0,this.firehose$=(0,e.R)(window,"message").pipe((0,i.h)((t=>t.data.tectonic)))}onMessage(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MESSAGE",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return e.pipe((0,i.h)((e=>e.data.type===t&&(!r||e.data.guid===r)&&e.data.protocol===n)),(0,o.U)((e=>"success"===e.data.status?{status:"success",value:e.data.value&&JSON.parse(e.data.value),sender:e.source,type:t,guid:e.data.guid}:{status:"error",message:e.data.value&&JSON.parse(e.data.value).message,sender:e.source,type:t,guid:e.data.guid})))}(t,this.firehose$,e,n).pipe((0,o.U)(f))}sendRequest(t,e,n){const r=this.getNextMessageNumber();c(window.parent,t,"REQUEST",e,r,"success");const i=[];return i.push(this.onMessage(t,"RESPONSE",r).pipe((0,s.q)(1)).toPromise()),n&&n.timeout&&i.push(new Promise(((i,o)=>{setTimeout((()=>{o({status:"error",message:`The request ${e} has timed out`,sender:window,type:t,guid:r})}),n.timeout)}))),Promise.race(i)}sendResponse(t,e){return this.onMessage(t,"REQUEST").subscribe((t=>Promise.resolve().then((()=>{if("success"===t.status)return e(t.value,t.sender);throw Error("Don't send Error Message as Request!")})).then((e=>{if(null!==e)return p(t.sender,t.type,e,t.guid,"success")})).catch((e=>p(t.sender,t.type,{message:e.message},t.guid,"error")))))}getNextMessageNumber(){const t=this.messageNum+1;return this.messageNum=t,t}}function f(t){if("success"===t.status)return t;throw t}function p(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4?arguments[4]:void 0;c(t,e,"RESPONSE",u.Maybe.maybe(n).map(JSON.stringify),r,i)}class d extends h{constructor(t,e){super(),this.domains=new Set,this.configSubscription=t.subscribe(this.getConfigDomains.bind(this)),this.firehose$=this.firehose$.pipe((0,i.h)((t=>e||this.domains.has(t.origin))))}teardown(){this.configSubscription.unsubscribe()}getConfigDomains(t){let e=Array(window.location.origin.toString());const n=Object.keys(t.features).map((n=>{const r=t.features[n].additionalDomains;return r&&r.length>0&&(e=e.concat(r)),Object.keys(t.features[n].modules).map((e=>{const r=t.features[n].modules[e].url;try{return new URL(r,window.location.href).origin}catch(t){return""}}))})),r=e.concat(...n);this.domains=function(t){return new Set(t.filter((t=>""!==t)))}(r)}}var b=n(7656);function v(t,e,n){const r=t.getValue();return u.Maybe.maybe(r.features[e]).map((t=>{const r=Object.keys(t.modules).find((e=>t.modules[e].primary)),i=t.modules[n]||t.modules[r],o=`${e}.${i.meta.moduleName}`;return{navigable:!!i.navigable,legacy:!!t.legacy,key:t.legacy?t.legacyRouteName:o}}))}function y(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return{value:t,children:n}}function m(t){return{value:t,children:[]}}const g=y("Q2Account",y("Held",y("Deposit",m("Checking"),m("MoneyMarket"),m("Savings"),m("CertificateOfDeposit"),m("Goal"),m("PlanBasedInvestment"),m("IRABasedInvestment"),m("BrokerageBasedInvestment")),y("Loan",m("Installment"),m("Commercial"),m("Mortgage"),m("LineOfCredit"),m("HomeEquity")),y("CreditCard",m("Visa"),m("MasterCard"),m("Discover"),m("AmericanExpress"))),y("External",y("PFM",m("Manual"),m("Aggregated")))),w=y("Q2Transaction",y("Posted",y("Credit",m("GenericCredit"),m("InterestCredit"),m("Dividend"),m("Deposit"),m("ATMCredit"),m("POSCredit"),m("TransferCredit"),m("DirectDeposit"),m("HoldCredit"),m("OtherCredit")),y("Debit",m("GenericDebit"),m("InterestDebit"),m("Fee"),m("ServiceCharge"),m("ATMDebit"),m("POSDebit"),m("TransferDebit"),m("Payment"),m("Check"),m("Cash"),m("DirectDebit"),m("RepeatPayment"),m("OtherDebit"))),m("Memo")),x={};var _;function S(t,e){let n=[];for(const r of e){if(t===r.value){n=[r.value];break}if(r.children.length>0){const e=S(t,r.children);if(e.length>0){n=e.concat([r.value]);break}}}return n}function T(t){const e=t.split("::");if(2!==e.length)return[];const n=e[0];return S(e[1],[x[n]]).map((t=>`${n}::${t}`))}!function(t){t.Account="Account",t.Transaction="Transaction"}(_||(_={})),x[_.Account]=g,x[_.Transaction]=w;const C={Goal:["D","G"]};function E(t,e){const n=function(t){return!!t.dataType}(e)?function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const[i,o]=e.split("::"),s=P[i][o]||P[i].default;return("string"==typeof s?Promise.resolve(s):s(t)).then((t=>`${t}${n.map((t=>`/${t}`)).withDefault("")}${function(t){const e=Object.keys(t).map((e=>`${e}=${t[e]}`)).join("&");return e&&"?".concat(e)||""}(r)}`))}(t,e.dataType,u.Maybe.maybe(e.dataId),e.params):Promise.resolve(e.route);return n.then((n=>t.sendRequest(n,e.method,e.body)))}const P={Account:{default:"mobilews/account"},Accounts:{default:"mobilews/accounts"},FormData:{default:"",FundsTransfer:"mobilews/transactionForm/fundsTransfer"},Goals:{Categories:"hq/core/goalsCategoryMapping",CreateGoal:t=>function(t,e){const[n,r]=C.Goal;return N(t,n,r).then((t=>`mobilews/account/${t}`))}(t)},FundsTransfer:{Create:"mobilews/transaction/fundsTransfer"},PRIVATE:{systemConfig:"q2Config"}},N=function(){let t;return function(e,n,r){let i;return i=Array.isArray(t)?Promise.resolve(t):e.sendRequest("hq/core/productAndType","GET").then((function(e){return t=e.response.data,t})),i.then((t=>t.find((t=>t.hydraProductTypeCode===n&&t.hydraProductCode===r)).productID))}}();function O(t,e,n,r){const i=r.withDefault("");return""!==i?Promise.resolve(i):E(t,{dataType:e,dataId:n,method:"GET"}).then((t=>function(t,e){const[n]=t.split("::");return I[`resolveTypeOf${n}`](e)}(e,t.response.data))).catch((()=>e))}const I={resolveTypeOfAccount:function(t){return t.extended?`Account::${j[`${t.extended.hydraProductTypeCode}${t.extended.hydraProductCode}`]||"Q2Account"}`:"Account::Q2Account"},resolveTypeOfTransaction:function(t){return"M"==("Memo"===t.transactionType?"M":"P")?"Transaction::Q2Transaction::Memo":t.extended?`Transaction::${A[`${t.extended.dorC}${t.extended.ofxTranType}`]||"Q2Transaction"}`:"Transaction::Q2Transaction"}},j={DC:"Checking",DM:"MoneyMarket",DS:"Savings",DT:"CertificateOfDeposit",DG:"Goal",DP:"PlanBasedInvestment",DI:"IRABasedInvestment",DB:"BrokerageBasedInvestment",LL:"LineOfCredit",LI:"Installment",LC:"Commercial",LM:"Mortgage",LH:"HomeEquity",CM:"MasterCard",CV:"Visa",CD:"Discover",CA:"AmericanExpress"},A={CCREDIT:"GenericCredit",CINT:"InterestCredit",CDIV:"Dividend",CDEP:"Deposit",CATM:"ATMCredit",CPOS:"POSCredit",CXFER:"TransferCredit",CDIRECTDEP:"DirectDeposit",CHOLD:"HoldCredit",COTHER:"OtherCredit",DDEBIT:"GenericDebit",DINT:"InterestDebit",DFEE:"Fee",DSRVCHG:"ServiceCharge",DATM:"ATMDebit",DPOS:"POSDebit",DXFER:"TransferDebit",DPAYMENT:"Payment",DCHECK:"Check",DCASH:"Cash",DDIRECTDEBIT:"DirectDebit",DREPEATPMT:"RepeatPayment",DOTHER:"OtherDebit"};function M(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).filter((e=>{const n=e.lastIndexOf(".");return e.slice(0,n).startsWith(t)})).reduce(((t,n)=>{const r=n.lastIndexOf(".");return t[n.substring(r+1)]=e[n],t}),Object.create({}))}function D(t,e,n,r,i,o,s,c,a,l,h){return function(t,e,n,r){return u.Maybe.sequence([e,n]).map((e=>{let[n,i]=e;return O(t,n,i,r).then(u.Maybe.just)})).withDefaultFn((()=>Promise.resolve(u.Maybe.nothing())))}(t,r,i,s).then((async e=>{const n=await function(t,e){return Promise.all(e.map((async e=>{const n=await t(e.featureName),r=n.modules[e.moduleName],i=n.additionalDomains,o=n.allowDirectives;return Object.assign(Object.assign(Object.assign({},e),r),{additionalDomains:i,allowDirectives:o})})))}(t.dynamicConfigFetch,o),r=e.map(T).bind((t=>k(n,t,c))),i=u.Maybe.maybe(n[0]);return e.map((()=>r)).altMap((()=>u.Maybe.just(i))).bind((t=>t))})).then((async t=>t.map((t=>{var r,i,o,s;const u=`${n}.${t.featureName}.${t.moduleName}`,c=(null===(i=null===(r=a.features[l])||void 0===r?void 0:r.modules[h])||void 0===i?void 0:i.requiredUserCapabilities)||[],f=(null===(s=null===(o=a.features[t.featureName])||void 0===o?void 0:o.modules[t.moduleName])||void 0===s?void 0:s.requiredUserCapabilities)||[],p=[...new Set([...c,...f])];return{moduleId:u,initialParams:M(u,e.getValue().currentParams),featureName:t.featureName,url:t.url,minHeight:t.meta.type.minHeight||"",tabLabelOverride:t.tabLabelOverride,formPostAuth:!!t.formPostAuth,loadingOptions:t.loadingOptions,additionalDomains:t.additionalDomains,allowDirectives:t.allowDirectives,requiredUserCapabilities:p,rightsEnabled:t.rightsEnabled}}))))}function k(t,e,n){return u.Maybe.maybe(t.find((t=>{const r=n.map((e=>{var n;return null===(n=t.additionalContextRequirements)||void 0===n?void 0:n.includes(e)})).withDefault(!0);return t.meta.type.context===e[0]&&r}))).altMap((()=>0===e.length&&u.Maybe.nothing()||k(t,e.slice(1),n)))}async function V(t,e){const n=t.length%3==1?"outlet":"module",r=t[0],i=t.length<5;let o,s,u,c,a;if("tectonOverpanel"===r)o=R({path:t.slice(2),outletModuloVal:2}),s=(await e(t[1])).configuredOverpanels[t[2]];else{const r="outlet"===n?t.slice(-3,-2)[0]:t.slice(-2,-1)[0],i="outlet"===n?t.slice(-2,-1)[0]:t.slice(-1)[0],u="outlet"===n?-1:3;o=R({path:t.slice(u),outletModuloVal:0}),s=await e(r,i)}return"outlet"===n?(i?(u=s.featureName,c=s.moduleName):(u=t[t.length-3],c=t[t.length-2]),a=t[t.length-1],o=o.slice(0,-2),{pathType:n,featureName:u,moduleName:c,outletName:a,configPath:o,pathOrigin:r,treeFromRoot:s}):(i?(u=s.featureName,c=s.moduleName):(u=t[t.length-2],c=t[t.length-1]),{pathType:n,featureName:u,moduleName:c,configPath:o,pathOrigin:r,treeFromRoot:s})}function R(t){let{path:e,outletModuloVal:n}=t;const r=n+2;return e.reduce(((t,e,i)=>{if(i%3===n)return t.concat(["configuredOutlets",e]);if(i%3===r&&2!==i){const n=t[t.length-1];return t[t.length-1]=`${n}-${e}`,t}return t.concat(e)}),[])}function L(t,e){return t.reduce(((t,e)=>{if(Array.isArray(t)){const[n,r]=e.split("-");return t[0].hasOwnProperty("tabLabel")||t[0].hasOwnProperty("menuItemLabel")?function(t,e){let n=-1;const r=t.find((t=>(n=t.modules.findIndex(e),-1!==n)));if(r)return r.modules[n]}(t,Z(n,r)):t.find(Z(n,r))}return t[e]}),e)}function Z(t,e){return n=>n.featureName===t&&n.moduleName===e}function F(t,e,n,r,i){!function(t,e,n,r){if(e.authorizeTransactionWithMfa){n.add("authorizeTransactionWithMfa");const i=t.sendResponse("authorizeTransactionWithMfa",(async t=>e.authorizeTransactionWithMfa(t)));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r,i){if(n.showOverpanel){r.add("showOverpanel");const e=t.sendResponse("showOverpanel",(async t=>{var e,r,i,o;let s,u;if(t.useRouteConfig){const[e,r]=t.overpanelPath.split(".");s=await n.dynamicConfigFetch(e,r),u=t.overpanelPath}else{const e=await V(t.moduleId.split("."),n.dynamicConfigFetch);s=await n.dynamicConfigFetch(e.featureName).then((e=>e.configuredOverpanels[t.overpanelPath])),u=`${e.featureName}.${t.overpanelPath}`}const c=await n.dynamicConfigFetch(s.featureName);if(c.legacy&&!c.legacyOverpanelName)throw new Error("Tried to call a legacy overpanel, but config is missing a legacyOverpanelName");const a=c.modules[s.moduleName].meta.params;!function(t,e){if(null==t)return!0;if(void 0===e)throw new Error(`params for action are not configured, yet ${JSON.stringify(t)} was passed to action`);const n=[];if(Object.keys(t).forEach((t=>{e[t]||n.push(t)})),n.length>0)throw new Error(`The following parameter(s) passed to action is/are not configured for the action: [${n.join(", ")}]`)}(t.params,a),t.params&&n.updateParams&&!c.legacy&&n.updateParams(`tectonOverpanel.${u}`,t.params,a);const l=c.legacy&&t.params?JSON.stringify(t.params):u,h=c.legacy?c.legacyOverpanelName:void 0,f=null===(e=t.options)||void 0===e?void 0:e.size,p=null===(r=t.options)||void 0===r?void 0:r.height,d=null===(i=t.options)||void 0===i?void 0:i.fullWidth,[,,b]=t.moduleId.split("."),v=(null===(o=t.options)||void 0===o?void 0:o.testId)||b;return n.showOverpanel(l,!!d,h,f,p,v)}));i.push((()=>e.unsubscribe()))}}(t,0,n,r,i),function(t,e,n,r,i){if(n.showActionSheet){r.add("showActionSheet");const e=t.sendResponse("showActionSheet",(t=>n.showActionSheet(t).then((t=>t))));i.push((()=>e.unsubscribe()))}}(t,0,n,r,i),function(t,e,n,r){if(e.closeOverpanel){n.add("closeOverpanel");const i=t.onMessage("closeOverpanel").pipe((0,o.U)((t=>t.value))).subscribe(e.closeOverpanel);r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r,i){if(n.navigateTo){r.add("navigateTo");const o=t.onMessage("navigateTo").subscribe((async t=>{const{moduleName:r,urlParams:i,queryParams:o,moduleId:s}=t.value;let{featureName:u}=t.value;!u&&s&&(u=await V(s.split("."),n.dynamicConfigFetch).then((t=>t.featureName)));const c=v(e,u,r);c.map((t=>{if(t.navigable)if(t.legacy)n.navigateTo(!0,t.key,i,o);else{const r=e.getValue().features[u],i=`tectonRoute.${t.key}`;o&&n.updateParams&&n.updateParams(i,o,r.modules[t.key.split(".")[1]].meta.params),n.navigateTo(!1,t.key)}})),c.hasNothing&&n.navigateTo(!0,u,i,o)}));i.push((()=>o.unsubscribe()))}}(t,e,n,r,i),function(t,e,n,r,i){if(e.setOverpanelTitle||e.setPageTitle){e.setOverpanelTitle&&r.add("setOverpanelTitle"),e.setPageTitle&&r.add("setPageTitle");const n=t.onMessage("setTitle").subscribe((async t=>{"tectonOverpanel"===await V(t.value.moduleId.split("."),e.dynamicConfigFetch).then((t=>t.pathOrigin))&&e.setOverpanelTitle?e.setOverpanelTitle(t.value.title):e.setPageTitle&&e.setPageTitle(t.value.title)}));i.push((()=>n.unsubscribe()))}}(t,n,0,r,i),function(t,e,n,r,i){if(n.updateParams){r.add("setParams");const e=t.onMessage("setParams").subscribe((async t=>{const{moduleId:e,params:r}=t.value,i=await V(e.split("."),n.dynamicConfigFetch),o=await n.dynamicConfigFetch(i.featureName).then((t=>t.modules[i.moduleName].meta.params));n.updateParams(e,r,o)}));i.push((()=>e.unsubscribe()))}}(t,0,n,r,i),function(t,e,n,r){if(e.clearParams){n.add("clearParams");const i=t.onMessage("clearParams").subscribe((t=>{e.clearParams(t.value.moduleId)}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){if(e.refetchAccountsNotification&&e.clearCacheByPrefix&&e.clearTransferCache){n.add("refetchAccountsNotification");const i=t.onMessage("refetchAccountsNotification").subscribe((()=>{e.clearCacheByPrefix("mobilews/account"),e.clearTransferCache(),e.refetchAccountsNotification()}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){const i=e.getCurrentLanguage(),o=new b.X(i);e.languageChanged&&(n.add("languageChanged"),e.languageChanged((t=>{o.next(t)})));const s=o.subscribe((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";l("streamLanguage",u.Maybe.just(JSON.stringify({langKey:t})))})),c=t.sendResponse("getCurrentLanguage",(()=>Promise.resolve({langKey:o.getValue()})));r.push((()=>{[s,c].forEach((t=>t.unsubscribe()))}))}(t,n,r,i),function(t,e,n,r){if(e.sendAlert){n.add("sendAlert"),n.add("sendAlertWithResponse");const i=t.sendResponse("sendAlert",(t=>e.sendAlert(t).then((t=>({actionName:t}))))),o=t.onMessage("sendAlert").subscribe((t=>{e.sendAlert(t.value)}));r.push((()=>{i.unsubscribe(),o.unsubscribe()}))}}(t,n,r,i),function(t,e,n,r){if(e.showModal){n.add("sendModal");const i=t.sendResponse("sendModal",(t=>e.showModal(t).then((t=>({actionName:t})))));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){if(e.showLoadingModal){n.add("showLoadingModal");const i=t.onMessage("showLoadingModal").subscribe((t=>{e.showLoadingModal(t.value.title)}));r.push((()=>i.unsubscribe()))}if(e.clearLoadingModal){n.add("clearLoadingModal");const i=t.onMessage("clearLoadingModal").subscribe((()=>{e.clearLoadingModal()}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e){const n=t.onMessage("printWindow").subscribe((()=>{var t;!0===(null===(t=window.Tecton)||void 0===t?void 0:t.inMobileApp)?console.info("printWindow does not support e-banking mobile app environment."):(document.body.focus(),window.print())}));e.push((()=>n.unsubscribe()))}(t,i),function(t,e,n,r){if(e.keepAlive){n.add("keepAlive");const i=t.onMessage("keepAlive").subscribe(e.keepAlive);r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r,i){if(n.logToServer){r.add("logToServer");const e=t.onMessage("logToServer").subscribe((async t=>{const e=await V(t.value.moduleId.split("."),n.dynamicConfigFetch).then((t=>t.featureName));n.logToServer(e,t.value.message,t.value.level||"info")}));i.push((()=>e.unsubscribe()))}}(t,0,n,r,i),function(t,e,n,r){if(e.openURL){n.add("openURL");const i=t.onMessage("openURL").subscribe((t=>{const{url:n,options:r}=t.value;e.openURL(n,r)}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n){e.add("scrollToTop");const r=t.onMessage("scrollToTop").subscribe((()=>{window.scrollTo(0,0)}));n.push((()=>r.unsubscribe()))}(t,r,i),function(t,e,n,r){n.add("scrollTo");const i=t.onMessage("scrollTo").subscribe((t=>{var n;const r=(null===(n=e.getSurroundingOffsets())||void 0===n?void 0:n.top)||0,i=t.value;i.behavior=i.behavior||"smooth",!0===i.initialize?l("platformScrollChanged",u.Maybe.just(JSON.stringify({scrollY:0,innerHeight:window.innerHeight,innerWidth:window.innerWidth,outletOffset:r,top:r}))):window.scrollTo(i)}));r.push((()=>i.unsubscribe()))}(t,n,r,i),function(t,e,n,r){if(e.clearCacheByPrefix){n.add("clearCache"),n.add("cacheCleared");const i=t.sendResponse("clearCache",(function(t){let{routePrefixes:n}=t;return n.forEach((function(t){e.clearCacheByPrefix(t),l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:t})))})),Promise.resolve()}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){if(e.manageChanges){n.add("manageChanges");const i=t.sendResponse("manageChanges",(t=>e.manageChanges(t.changeData)));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){if(e.actionRequired&&e.removeActionRequired){n.add("actionRequired");const i=t.onMessage("actionRequired").subscribe((t=>{e.actionRequired(t.value.uuid,t.value.title,t.value.message)}));r.push((()=>i.unsubscribe()))}}(t,n,r,i),function(t,e,n,r){if(e.actionRequired&&e.removeActionRequired){n.add("removeActionRequired");const i=t.onMessage("removeActionRequired").subscribe((t=>{e.removeActionRequired(t.value.uuid)}));r.push((()=>i.unsubscribe()))}}(t,n,r,i)}function $(){return window.scrollY}function q(){return window.innerHeight}const W="q2.tectonCache";function U(t,e){return`${t}.${e}`}var B;!function(t){t.PlatformCssPropertiesChanged="platformCssPropertiesChanged",t.CallMethod="callMethod"}(B||(B={}));const z=B;var H;!function(t){t.streamCssProperties="streamCssProperties",t.streamPlatformDimensions="platformSizeChanged"}(H||(H={}));const Y=H;var K=n(1476);function G(t,e,n,r,i,o){!function(t,e,n,r){e.refetchRequired&&(n.add("cacheCleared"),e.refetchRequired((t=>{l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:t})))})))}(0,e,i),function(t,e,n,r){if(e.getCapabilities){n.add("canUser");const i=t.sendResponse("canUser",(t=>{let{capabilities:n}=t;return Promise.resolve({allowed:Object.values(e.getCapabilities(...n)).every(Boolean)})}));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r,i){if(n.getFeatureConfig){r.add("getFeatureConfig");const e=t.sendResponse("getFeatureConfig",(async t=>{let{moduleId:e}=t;const r=await V(e.split("."),n.dynamicConfigFetch),i=await n.dynamicConfigFetch(r.featureName).then((t=>t.configuredSystemVariables||[]));return i.length?n.getFeatureConfig(i).then((t=>({config:t}))):Promise.resolve({config:{}})}));i.push((()=>e.unsubscribe()))}}(t,0,e,i,o),function(t,e,n,r){if(e.getPendoInfo){n.add("getPendoInfo");const i=t.sendResponse("getPendoInfo",(()=>Promise.resolve(e.getPendoInfo())));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r){if(e.getPlatformInfo){n.add("platformInfo");const i=t.sendResponse("platformInfo",(t=>e.getPlatformInfo(t)));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r){n.add("getPlatformDimensions");const i=t.sendResponse("getPlatformDimensions",(()=>{var t;const n=Object.assign({scrollY:window.scrollY,innerWidth:window.innerWidth,innerHeight:window.innerHeight},null===(t=e.getSurroundingOffsets)||void 0===t?void 0:t.call(e));return l("platformScrollChanged",u.Maybe.just(JSON.stringify(n))),Promise.resolve(n)}));r.push((()=>i.unsubscribe()))}(t,e,i,o),function(t,e,n,r){if(e.getVersionInfo){n.add("getPlatformInfo");const i=t.sendResponse("getPlatformInfo",(()=>{const t=e.getVersionInfo();return Promise.resolve(Object.assign(Object.assign({},t),{TECTON_PLATFORM_VERSION:"1.35.1"}))}));r.push((()=>{i.unsubscribe()}))}}(t,e,i,o),function(t,e,n,r){if(e.getAuthToken){n.add("authToken");const i=t.sendResponse("authToken",(()=>e.getAuthToken()));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r){if(e.getGlobalScripts){n.add("getGlobalScripts");const i=t.sendResponse("getGlobalScripts",(()=>e.getGlobalScripts()));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r,i){if(n.isUUXPath&&n.navigateTo){r.add("isNavigable");const o=t.sendResponse("isNavigable",(t=>{let{featureName:r,moduleName:i}=t;const o=v(e,r,i).map((t=>t.navigable)).withDefaultFn((()=>n.isUUXPath(r)));return Promise.resolve({navigable:o})}));i.push((()=>o.unsubscribe()))}}(t,r,e,i,o),function(t,e,n,r){function i(){var t;l("platformScrollChanged",u.Maybe.just(JSON.stringify(Object.assign({scrollY:$(),innerHeight:q(),innerWidth:window.innerWidth},null===(t=e.getSurroundingOffsets)||void 0===t?void 0:t.call(e)))))}function o(){l("platformSizeChanged",u.Maybe.just(JSON.stringify({scrollY:$(),innerHeight:window.innerHeight,innerWidth:window.innerWidth})))}n.add("platformScrollChanged"),window.addEventListener("scroll",i),window.addEventListener("resize",o);const s=t.sendResponse("getPlatformScroll",(()=>{var t;return Promise.resolve(Object.assign({scrollY:$(),innerHeight:q(),innerWidth:window.innerWidth},null===(t=e.getSurroundingOffsets)||void 0===t?void 0:t.call(e)))}));r.push((()=>{s.unsubscribe(),window.removeEventListener("scroll",i),window.removeEventListener("resize",o)}))}(t,e,i,o),function(t,e,n,r){if(e.promptForMFA){n.add("promptForMFA");const i=t.sendResponse("promptForMFA",(async t=>{const n=await V(t.moduleId.split("."),e.dynamicConfigFetch).then((t=>t.featureName));return e.promptForMFA(n,t)}));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r){e.refetchRequired&&(n.add("refetchRequired"),e.refetchRequired((t=>{l(`refetchRequired::${t}`,u.Maybe.nothing())})))}(0,e,i),function(t,e,n,r,i){if("function"!=typeof n.requestExtensionData)return;r.add("requestExtensionData");const o=t.sendResponse("requestExtensionData",(async t=>{const e=await V(t.moduleId.split("."),n.dynamicConfigFetch).then((t=>t.featureName));return n.requestExtensionData(e,{route:t.route,body:t.body||{}})}));i.push((()=>o.unsubscribe()))}(t,0,e,i,o),function(t,e,n,r){if(e.sendRequest){n.add("requestPlatformData"),n.add("requestPlatformData-v2");const i=t.sendResponse("requestPlatformData",(t=>E(e,t).then((function(e){return 200<=e.status&&e.status<300?{data:"GET"===t.method?e.response.data:e.response,status:"success"}:{data:{message:e.statusText},status:"error"}})))),o=t.sendResponse("requestPlatformData-v2",(t=>E(e,t)));r.push((()=>{i.unsubscribe(),o.unsubscribe()}))}}(t,e,i,o),function(t,e){const n=t.subscribe((t=>{var e;(e=Object.assign(Object.assign({},t.changedParams),t.currentParams),Object.keys(e).reduce(((t,e)=>{const n=e.split(".").slice(0,-1).join(".");return-1===t.indexOf(n)&&t.push(n),t}),[])).forEach((e=>{const n=M(e,t.changedParams),r=M(e,t.currentParams);l("streamParams::"+e,u.Maybe.just(JSON.stringify({changedParams:n,currentParams:r})))}))}));e.push((()=>n.unsubscribe()))}(n,o),function(t,e,n,r){if(e.takePicture){n.add("takePicture");const i=t.sendResponse("takePicture",(t=>{let{overlayText:n,helpText:r}=t;return e.takePicture({overlayText:n,helpText:r}).then((t=>({picture:t})))}));r.push((()=>i.unsubscribe()))}}(t,e,i,o),function(t,e,n,r){if(!e.registerLogoffHook||!function(){const t=!!sessionStorage.getItem,e=!!sessionStorage.setItem,n=!!sessionStorage.removeItem;return t&&e&&n}())return;n.add("tectonCache"),e.registerLogoffHook((()=>{sessionStorage.removeItem(W)}));const i=t.sendResponse("getCache",(t=>{const e=U(t.moduleId,t.key),n=JSON.parse(sessionStorage.getItem(W)||"{}")[e]||{};return Promise.resolve(n)}));r.push((()=>i.unsubscribe()));const o=t.sendResponse("setCache",(t=>{const e=U(t.moduleId,t.key),n=JSON.parse(sessionStorage.getItem(W)||"{}");return n[e]=t.data,sessionStorage.setItem(W,JSON.stringify(n)),Promise.resolve()}));r.push((()=>o.unsubscribe()))}(t,e,i,o),function(t,e,n){if(!t.cssPropertiesChanged)return;e.add(z.PlatformCssPropertiesChanged);const r=new b.X([]),i=r.pipe((0,K.skip)(1)).subscribe((t=>{l(Y.streamCssProperties,u.Maybe.just(JSON.stringify(t)))}));t.cssPropertiesChanged((t=>{r.next(t)})),n.push((()=>{i.unsubscribe()}))}(e,i,o),function(t,e){t.platformEventNotification&&(e.add("platformEventNotification"),t.platformEventNotification((t=>{l(`platformEventNotification::${t.name}`,u.Maybe.maybe(t.data).map(JSON.stringify))})))}(e,i)}var J=n(9327),Q=n(3637),X=n(5439),tt=n(3078);const et="[iFrameSizer]",nt=[{name:"name",reflectAs:String},{name:"minHeight",reflectAs:String},{name:"overpanel",reflectAs:Boolean}],rt=(0,J.createSetupElement)((function(t,e){let{messageBus:n,props:r,moduleId:s,tectonOutletAdaptor:u,resize:c}=e;return(0,J.generateCustomElementWrapper)(t,((t,e)=>{const r=new b.X(document.createElement("div")),a=new b.X(!1),l=e.pipe((0,o.U)((t=>t.name)),(0,i.h)((t=>!!t)),(0,o.U)((t=>`${s?`${s}.`:""}${t}`)),(0,X.x)(),(0,tt.P)()).subscribe((i=>{const o=u(n,i,t,e,c),s=o.DOM$.subscribe(r),l=o.settled$.subscribe(a),f=o.teardown$.subscribe(h),p=o.effect$.subscribe((e=>{t.__attached?e():t.__onAttached.push(e)}));o.teardown$.next((()=>{s.unsubscribe(),l.unsubscribe(),f.unsubscribe(),p.unsubscribe()}))})),h=new b.X((()=>{l.unsubscribe()}));return{DOM$:r,settled$:a,teardown$:h}}),{useShadowDOM:!0,props:nt.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"===t?"\n :host {\n position: relative;\n display: block;\n height: 100%;\n }\n .loading-wrapper {\n position: absolute;\n top: 0;\n }\n ":""}\n `})}));function it(t){const e=[];if(t&&t.loaders){const n=t.loaders.reduce(((t,e)=>e.row>t?e.row:t),0);for(let t=0;t<n;t++)e.push([]);for(const n of t.loaders){const t=document.createElement("q2-loading");t.setAttribute("shape",n.shape),t.setAttribute("type",n.type),t.className="q2-col",n.classList&&t.classList.add(...n.classList),n.style&&t.setAttribute("style",n.style),n.modifiers&&t.setAttribute("modifiers",n.modifiers),n.counts&&t.setAttribute("counts",n.counts),n.ariaLabel&&t.setAttribute("ariaLabel",n.ariaLabel),e[n.row-1].push(t)}}else{const t=document.createElement("q2-loading");e.push([]),t.classList.add("mrg(a)"),e[0].push(t)}return e}var ot=n(1086),st=n(2855);const ut=[{name:"routeName"},{name:"configTree"}];function ct(t,n,r,s){return function(c,l,h,f){const p=document.createElement("div"),d=new b.X(p),v=new b.X(!1),y=new b.X((()=>{})),m=function(){return{loaderWrapper:h.shadowRoot.querySelector("div[slot='loading-wrapper']"),iframeEl:h.shadowRoot.querySelector("iframe"),minHeight:f.getValue().minHeight}};let g;const w=function(){return g},x=function(t,e,n){return t.onMessage("setFetching").pipe((0,i.h)((t=>t.value.moduleId===e()))).subscribe((t=>{const{loaderWrapper:e,iframeEl:r,minHeight:i="0px"}=n();if(e&&r){const{fetching:n}=t.value;e.hidden=!n,r.hidden=n,e.style.minHeight=n?i:"0px"}}))}(c,w,m),_=function(t,e,n){return t.sendResponse("requestOutletInfo",(t=>{let{moduleId:r}=t;if(r!==e())return null;const{iframeEl:i}=n(),o=i.getBoundingClientRect();return o&&Object.values(o.toJSON()).find((t=>0!==t))?Promise.resolve(o):null}))}(c,w,m),S=new b.X((()=>{x.unsubscribe(),_.unsubscribe()})),T=f.pipe((0,o.U)((t=>t.configTree)),(0,i.h)((t=>!!t)),(0,X.x)()),C=new b.X(!1),E=f.pipe((0,o.U)((t=>t.overpanel)),(0,i.h)((t=>"boolean"==typeof t)),(0,X.x)()).subscribe(C),P=f.pipe((0,o.U)((t=>t.routeName)),(0,i.h)((t=>!!t)),(0,X.x)()),N=P.pipe((0,o.U)((t=>`${l}.${t}`)),(0,st.G)()).subscribe((t=>{let[e]=t;a("clearParams",u.Maybe.just(JSON.stringify({moduleId:e})))})),O=(0,ot.aj)(T,C,P).subscribe((p=>{let[b,x,_]=p;const T=t.getValue(),C=T.features[b.featureName].modules[b.moduleName];if(!1!==C.rightsEnabled){g=`${l}.${_}`;const t=f.getValue().minHeight,p=T.features[b.featureName],P=!!p.modules[b.moduleName].formPostAuth,I=p.modules[b.moduleName].url,j=p.additionalDomains,A=p.allowDirectives,D=function(t,e){const n=new URL(t,window.location.toString()),r=Object.keys(e).map((t=>`${t}=${e[t]}`)).join("&"),i=n.search?`${n.search}&${r}`:`?${r}`;return n.search=i,n.href}(P&&s?s(I):I,Object.assign(Object.assign({"tct-id":g},M(g,n.getValue().currentParams)),{"tct-maxHeight":h.style.maxHeight,"tct-maxWidth":h.style.maxWidth,"tct-outlet-name":h.name||""}));if(!x){const t=function(t,n,r,s){const u=(0,e.R)(window,"message").pipe((0,i.h)((t=>"string"==typeof t.data&&t.data.includes("iFrameSizer"))),(0,o.U)((t=>{const e=t.data.substr(et.length).split(":"),[n,r]=e;return{value:{moduleId:n,height:r}}}))),c=t.onMessage("resizeIframe");return(0,Q.T)(u,c).pipe((0,i.h)((t=>t.value.moduleId===n())),(0,X.x)(((t,e)=>t.value.height===e.value.height))).subscribe((t=>{const{height:e}=t.value,{iframeEl:n}=r();n&&n.style.setProperty("height",`${e}px`)}))}(c,w,m);S.next((()=>{t.unsubscribe()}))}const k=function(t,e,n){return t.onMessage("setTitle").pipe((0,i.h)((t=>t.value.moduleId===e()))).subscribe((t=>{const{iframeEl:e}=n();e.title=t.value.title}))}(c,w,m);S.next((()=>{k.unsubscribe()}));const V=function(t,e,n,r,i,o,s,u,c,a){const l=document.createElement("div");l.className="outlet-wrapper";const h=document.createElement("slot");h.name="loading-wrapper";const f=[],p=document.createElement("iframe");if(u){const r=document.createElement("form");n.forEach((function(t){const e=document.createElement("input");e.name=t.key,e.setAttribute("value",t.value),r.appendChild(e)})),r.hidden=!0,r.method="post",r.action=t,r.target=e,r.enctype="multipart/form-data",p.name=e,l.appendChild(r),f.push((function(){r.submit(),l.removeChild(r)}))}else p.src=t;return p.title=r,p.dataset.moduleId=e,p.style.maxHeight=i,p.style.maxWidth=o,p.setAttribute("test-id","outletIframe"),p.allow=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["geolocation","camera"],n=["'self'",`${new URL(arguments.length>2?arguments[2]:void 0).origin}`];return t&&t.length>0&&(n=[...n,...t]),e.reduce((function(t,e){return t+`${e} ${n.join(" ")}; `}),"")}(c,a,t),l.appendChild(p),f.push((()=>{p.contentWindow&&p.contentWindow.postMessage(`${et}${e}:0:false:false:32:true:true:null:documentElementOffset`,"*")})),p.onload=function(){f.forEach((t=>{t()})),p.onload=function(){}},s?l.classList.add("scrollable"):(p.style.setProperty("overflow-y","hidden"),p.scrolling="no"),p.hidden=!0,l.appendChild(h),l}(D,g,r?r():[],`${b.featureName}-${b.moduleName}`,h.style.maxHeight,h.style.maxWidth,x,P,j,A),R=document.createElement("div");R.style.minHeight=t||"0px";let L=[];if(C.loadingOptions){if(L=it(C.loadingOptions),C.loadingOptions.outlet){const t=C.loadingOptions.outlet;t.style&&R.setAttribute("style",t.style),t.classList&&R.classList.add(...t.classList)}}else L=it();for(const t of L){const e=document.createElement("div");e.className="q2-row";for(const n of t)e.appendChild(n);R.appendChild(e)}R.slot="loading-wrapper",R.classList.add("loading-wrapper"),R.setAttribute("data-tecton-module",""),d.next(V),y.next((()=>{let t=null;t=h.shadowRoot.querySelector(".loading-wrapper"),t?h.shadowRoot.replaceChild(R,t):h.shadowRoot.appendChild(R),v.next(!0)})),S.next((()=>{E.unsubscribe(),O.unsubscribe(),N.unsubscribe(),a("clearParams",u.Maybe.just(JSON.stringify({moduleId:g})))}))}}));return{DOM$:d,settled$:v,teardown$:S,effect$:y}}}const at=`${window.location.origin}${window.location.pathname.replace(/\/uux\.aspx/i,"")}`;function lt(t){return/^http/.test(t)?t:`${window.location.origin}/${t}`}function ht(t,e,n,r,i,o){!function(t,e,n){const r=t.sendResponse("getValueType",(t=>{const n=t.providedType?u.Maybe.just(t.providedType):u.Maybe.nothing();return O(e,t.baseContext,t.valueId,n)}));n.push((()=>r.unsubscribe()))}(t,e,o),function(t,e,n){const r=t.sendResponse("getInitialParams",(t=>Promise.resolve({params:M(t.moduleId,e.getValue().currentParams)})));n.push((()=>r.unsubscribe()))}(t,n,o),function(t,e,n,r,i){let o;const s=t.sendResponse("getCustomerAssetPath",(t=>{let{subPath:e}=t;return Promise.resolve({path:lt(n.getCustomerSpecificAssetPath(e))})}));n.getCustomLanguageURL&&(e.add("getCustomLanguageURL"),o=t.sendResponse("getCustomLanguageURL",(async t=>{let{moduleId:e,langKey:r}=t;const i=await V(e.split("."),n.dynamicConfigFetch);return Promise.resolve({path:lt(n.getCustomLanguageURL(`${r}_${i.featureName}.json`))})})));const u=t.sendResponse("getBaseAssetPath",(t=>{let{subPath:e}=t;return Promise.resolve({path:lt(n.getBaseAssetPath(e))})})),c=t.sendResponse("getNgamBaseUrl",(()=>Promise.resolve({ngamBase:at})));i.push((()=>{s.unsubscribe(),u.unsubscribe(),c.unsubscribe(),o&&o.unsubscribe()}))}(t,i,e,0,o),function(t,e,n,r,i){const o=e.sendResponse("resolveFeature",(async e=>{const i=await V(e.outletPath.split("."),t.dynamicConfigFetch),o=L(i.configPath,i.treeFromRoot),s=(await t.dynamicConfigFetch(i.featureName)).modules[i.moduleName].meta.outlets[i.outletName],c="None"===s.context?u.Maybe.nothing():u.Maybe.just(s.context),a=e.contextValue?u.Maybe.just(e.contextValue):u.Maybe.nothing(),l=e.resolvedType?u.Maybe.just(e.resolvedType):u.Maybe.nothing(),h=e.additionalContext?u.Maybe.just(e.additionalContext):u.Maybe.nothing(),f=o.configuredOutlets[i.outletName],p=n.getValue();return D(t,r,e.outletPath,c,a,f,l,h,p,i.featureName,i.moduleName).then((t=>t.withDefault({moduleId:"",featureName:"",initialParams:{},url:"",minHeight:"",formPostAuth:!1,loadingOptions:{loaders:[{type:"spinner",shape:"half-circle",row:1}]}})))}));i.push((()=>o.unsubscribe()))}(e,t,r,n,o),function(t,e,n,r,i){const o=e.sendResponse("resolveTabs",(async e=>{const i=await V(e.outletPath.split("."),t.dynamicConfigFetch),o=L(i.configPath,i.treeFromRoot),s=t.dynamicConfigFetch(i.featureName),c=await s,a=(await s.then((t=>t.modules[i.moduleName]))).meta.outlets[i.outletName],l="None"===a.context?u.Maybe.nothing():u.Maybe.just(a.context),h=e.contextValue?u.Maybe.just(e.contextValue):u.Maybe.nothing(),f=e.resolvedType?u.Maybe.just(e.resolvedType):u.Maybe.nothing(),p=e.additionalContext?u.Maybe.just(e.additionalContext):u.Maybe.nothing(),d=o.configuredOutlets[i.outletName],b=n.getValue();return function(t,e,n,r,i,o,s,c,a,l,h,f,p){return Promise.all(c.map((c=>D(t,e,n,r,i,c.modules||[],o,s,a,l,h).then((t=>t.map((t=>({tabLabel:c.tabLabel,tab:t}))))).catch((()=>u.Maybe.nothing()))))).then((t=>u.Maybe.filterSomethings(t))).then((t=>t.map((t=>({tabLabel:t.tabLabel,tabLabelOverride:t.tab.tabLabelOverride,moduleId:t.tab.moduleId,initialParams:t.tab.initialParams,url:t.tab.url,minHeight:t.tab.minHeight,formPostAuth:t.tab.formPostAuth,loadingOptions:t.tab.loadingOptions,additionalDomains:f,allowDirectives:p,requiredUserCapabilities:t.tab.requiredUserCapabilities,rightsEnabled:t.tab.rightsEnabled})))))}(t,r,e.outletPath,l,h,f,p,d,b,i.featureName,i.moduleName,c.additionalDomains,c.allowDirectives).then((t=>({resolvedTabs:t})))}));i.push((()=>o.unsubscribe()))}(e,t,r,n,o),function(t,e,n,r,i){const o=e.sendResponse("resolveMenu",(async e=>{const i=await V(e.outletPath.split("."),t.dynamicConfigFetch),o=L(i.configPath,i.treeFromRoot),s=(await t.dynamicConfigFetch(i.featureName).then((t=>t.modules[i.moduleName]))).meta.outlets[i.outletName];if(!s)throw new Error(`${i.outletName} contextual menu outlet not found in config`);const c="None"===s.context?u.Maybe.nothing():u.Maybe.just(s.context),a=e.contextValue?u.Maybe.just(e.contextValue):u.Maybe.nothing(),l=e.resolvedType?u.Maybe.just(e.resolvedType):u.Maybe.nothing(),h=e.additionalContext?u.Maybe.just(e.additionalContext):u.Maybe.nothing(),f=o.configuredOutlets[i.outletName],p=n.getValue();return!1===p.features[i.featureName].modules[i.moduleName].rightsEnabled?new Promise((t=>{t({resolvedMenuItems:[]})})):function(t,e,n,r,i,o,s,c,a,l,h){return Promise.all(c.map((c=>D(t,e,n,r,i,c.modules||[],o,s,a,l,h).then((e=>e.asyncMap((async e=>{const n=await V(e.moduleId.split("."),t.dynamicConfigFetch),r=i.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((t=>u.Maybe.filterSomethings(t)))}(t,r,e.outletPath,c,a,l,h,f,p,i.featureName,i.moduleName).then((t=>({resolvedMenuItems:t})))}));i.push((()=>o.unsubscribe()))}(e,t,r,n,o),function(t,e,n){const r=t.sendResponse("getPlatformCapabilities",(()=>{const t=Array.from(e);return Promise.resolve({capabilities:t})}));n.push((()=>r.unsubscribe()))}(t,i,o),function(t,e,n){const r=t.sendResponse("getAuthPayload",(()=>Promise.resolve(e.getAuthPayload())));n.push((()=>r.unsubscribe()))}(t,e,o),function(t,e,n,r){if(e.cdnOverride){n.add("cdnOverride");const i=t.sendResponse("cdnOverride",(()=>e.cdnOverride().then((t=>({path:t})))));r.push((()=>i.unsubscribe()))}}(t,e,i,o)}function ft(e,n,r){const i=new b.X({changedParams:{},currentParams:{}});let o;pt(e),window.isTestingTecton||(null==r?void 0:r.testing)?(o=window.tectonConfig$||new b.X(null),o.next(e),window.tectonConfig$=o):o=new b.X(e);const s=new d(o,window.isTestingTecton),c=new Set,a=[s.teardown.bind(s)];return function(t){t.add("resizeIframe"),t.add("requestOutletInfo")}(c),function(t,e,n,r){if(e.setupDynamicPlatformAPI){e.setupDynamicPlatformAPI().forEach((t=>n.add(t)));const i=t.sendResponse("executeDynamicPlatformAPI",(t=>{let{functionName:n,args:r}=t;return e.executeDynamicPlatformAPI(n,r)}));r.push((()=>i.unsubscribe()))}}(s,n,c,a),F(s,o,n,c,a),G(s,n,i,o,c,a),function(t,e,n,r){if(!e.getCurrentTheme)return void n.add("ThemesNotSupported");n.add("getCurrentTheme");const i=new b.X({path:lt(e.getCustomerSpecificAssetPath(`${e.getCurrentTheme()}-props.css`))});e.themeChanged&&(n.add("themeChanged"),e.themeChanged((t=>{i.next({path:lt(e.getCustomerSpecificAssetPath(`${t}-props.css`))})})));const o=i.subscribe((t=>{l("themeChanged",u.Maybe.maybe(t).map(JSON.stringify))})),s=t.sendResponse("getCurrentTheme",(()=>Promise.resolve(i.getValue())));r.push((()=>{o.unsubscribe(),s.unsubscribe()}))}(s,n,c,a),ht(s,n,i,o,c,a),function(t,e,n,r,i){rt({messageBus:t,moduleId:"",props:ut,tectonOutletAdaptor:ct(e,n,r,i)})("tecton-platform-outlet")}(s,o,i,n.getAuthPayload,n.buildIframeURL),{tectonParamsChanged(t){i.next(t)},updateConfig(e){const n=o.getValue();t(n,e),pt(n),o.next(n)},replaceConfig(t){pt(t),o.next(t)},verifyConfig(){if(!n.getCapabilities)return void console.error("getCapabilities must be implemented on platform to verify config.");const t=t=>{var e,r;return!(null==t?void 0:t.length)||Object.values(null!==(r=null===(e=n.getCapabilities)||void 0===e?void 0:e.call(n,...null!=t?t:[]))&&void 0!==r?r:{}).every(Boolean)},e=o.getValue(),r=e.features;for(const e in r){if(!r.hasOwnProperty(e))continue;const n=r[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)}}pt(e),o.next(e)},configLookup:function(t,e){const n=o.getValue();if(!e){const e=n.features[t];if(!e)throw new Error("No Feature Manifest Found");return e}const r=n.features[t].modules[e].routeConfig||{featureName:t,moduleName:e},i=n.features[t].modules[e].rightsEnabled;return void 0!==i&&(r.rightsEnabled=i),r},configForRoute(t){const[e,n]=t.split(".");return o.getValue().features[e].modules[n].routeConfig||{featureName:e,moduleName:n}},configForOverpanel:function(t){const[r,i]=t.split(".");try{return Promise.resolve(e.features[r].configuredOverpanels[i])}catch(t){return n.dynamicConfigFetch(r,i)}},teardown(){a.forEach((t=>t()))}}}function pt(t){Object.keys(t.features).forEach((function(e){const n=t.features[e],r=n.configuredOverpanels;r&&Object.keys(r).forEach((function(t){r[t].featureName||(r[t].featureName=e)}));try{Object.keys(n.modules).forEach((function(t){n.modules[t].routeConfig||(n.modules[t].routeConfig={featureName:e,moduleName:t,configuredOutlets:{}}),Object.assign(n.modules[t].meta,{featureName:e,moduleName:t});let r=n.modules[t].url;r&&(r=r.replace("{featureName}",e),r=r.replace("{moduleName}",t),n.modules[t].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 t.features[e]}}))}})(),r})()));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "q2-tecton-platform",
|
3
|
-
"version": "1.35.
|
3
|
+
"version": "1.35.1",
|
4
4
|
"description": "This library is the \"server\" in the \"client/server\" pair of the SDK and Platform. Responsible for booting modules and responding to requests from the SDK.",
|
5
5
|
"license": "MIT",
|
6
6
|
"author": "Q2 Tecton Team",
|
@@ -37,7 +37,7 @@
|
|
37
37
|
"@types/mocha": "^7.0.2",
|
38
38
|
"@types/sinon": "^7.5.2",
|
39
39
|
"babel-loader": "^9.1.0",
|
40
|
-
"dry-suite": "1.35.
|
40
|
+
"dry-suite": "1.35.1",
|
41
41
|
"karma": "^6.4.1",
|
42
42
|
"karma-chai": "^0.1.0",
|
43
43
|
"karma-chrome-launcher": "^3.1.1",
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"karma-typescript-es6-transform": "^5.5.3",
|
52
52
|
"maybe-not": "~1.3.3",
|
53
53
|
"prettier": "^2.6.2",
|
54
|
-
"q2-tecton-common": "1.35.
|
54
|
+
"q2-tecton-common": "1.35.1",
|
55
55
|
"resolve-tspaths": "^0.8.3",
|
56
56
|
"rxjs": "6.6.7",
|
57
57
|
"rxjs-tslint": "^0.1.8",
|
@@ -61,5 +61,5 @@
|
|
61
61
|
"tslint": "^6.1.3",
|
62
62
|
"tslint-config-prettier": "^1.18.0"
|
63
63
|
},
|
64
|
-
"gitHead": "
|
64
|
+
"gitHead": "70c2b5d43434022686649771ba1ae98dbf7704b7"
|
65
65
|
}
|