@equinor/fusion-framework-cli 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.3.3](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@0.3.2...@equinor/fusion-framework-cli@0.3.3) (2022-11-18)
7
+
8
+ **Note:** Version bump only for package @equinor/fusion-framework-cli
9
+
6
10
  ## [0.3.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@0.3.1...@equinor/fusion-framework-cli@0.3.2) (2022-11-18)
7
11
 
8
12
  ### Bug Fixes
@@ -32,7 +32,7 @@ Error generating stack: `+i.message+`
32
32
  `+i.stack}return{value:t,source:e,stack:o,digest:null}}function Jl(t,e,r){return{value:t,source:null,stack:r!=null?r:null,digest:e!=null?e:null}}function td(t,e){try{console.error(e.value)}catch(r){setTimeout(function(){throw r})}}var Nw=typeof WeakMap=="function"?WeakMap:Map;function Ev(t,e,r){r=Kr(-1,r),r.tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){Sc||(Sc=!0,dd=n),td(t,e)},r}function Cv(t,e,r){r=Kr(-1,r),r.tag=3;var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var o=e.value;r.payload=function(){return n(o)},r.callback=function(){td(t,e)}}var i=t.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){td(t,e),typeof n!="function"&&(kn===null?kn=new Set([this]):kn.add(this));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),r}function Qf(t,e,r){var n=t.pingCache;if(n===null){n=t.pingCache=new Nw;var o=new Set;n.set(e,o)}else o=n.get(e),o===void 0&&(o=new Set,n.set(e,o));o.has(r)||(o.add(r),t=Kw.bind(null,t,e,r),e.then(t,t))}function Jf(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function Xf(t,e,r,n,o){return(t.mode&1)===0?(t===e?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(e=Kr(-1,1),e.tag=2,In(r,e,1))),r.lanes|=1),t):(t.flags|=65536,t.lanes=o,t)}var Ow=on.ReactCurrentOwner,Pt=!1;function wt(t,e,r,n){e.child=t===null?ev(e,null,r,n):fi(e,t.child,r,n)}function Zf(t,e,r,n,o){r=r.render;var i=e.ref;return oi(e,o),n=vh(t,e,r,n,i,o),r=yh(),t!==null&&!Pt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,en(t,e,o)):(be&&r&&ih(e),e.flags|=1,wt(t,e,n,o),e.child)}function ep(t,e,r,n,o){if(t===null){var i=r.type;return typeof i=="function"&&!Ah(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(e.tag=15,e.type=i,Sv(t,e,i,n,o)):(t=Ks(r.type,null,n,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,(t.lanes&o)===0){var a=i.memoizedProps;if(r=r.compare,r=r!==null?r:Pa,r(a,n)&&t.ref===e.ref)return en(t,e,o)}return e.flags|=1,t=Rn(i,n),t.ref=e.ref,t.return=e,e.child=t}function Sv(t,e,r,n,o){if(t!==null){var i=t.memoizedProps;if(Pa(i,n)&&t.ref===e.ref)if(Pt=!1,e.pendingProps=n=i,(t.lanes&o)!==0)(t.flags&131072)!==0&&(Pt=!0);else return e.lanes=t.lanes,en(t,e,o)}return rd(t,e,r,n,o)}function Tv(t,e,r){var n=e.pendingProps,o=n.children,i=t!==null?t.memoizedState:null;if(n.mode==="hidden")if((e.mode&1)===0)e.memoizedState={baseLanes:0,cachePool:null,transitions:null},_e(Go,Ut),Ut|=r;else{if((r&1073741824)===0)return t=i!==null?i.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,_e(Go,Ut),Ut|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,_e(Go,Ut),Ut|=n}else i!==null?(n=i.baseLanes|r,e.memoizedState=null):n=r,_e(Go,Ut),Ut|=n;return wt(t,e,o,r),e.child}function bv(t,e){var r=e.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(e.flags|=512,e.flags|=2097152)}function rd(t,e,r,n,o){var i=Ot(r)?ao:vt.current;return i=di(e,i),oi(e,o),r=vh(t,e,r,n,i,o),n=yh(),t!==null&&!Pt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,en(t,e,o)):(be&&n&&ih(e),e.flags|=1,wt(t,e,r,o),e.child)}function tp(t,e,r,n,o){if(Ot(r)){var i=!0;fc(e)}else i=!1;if(oi(e,o),e.stateNode===null)js(t,e),Xm(e,r,n),ed(e,r,n,o),n=!0;else if(t===null){var a=e.stateNode,s=e.memoizedProps;a.props=s;var c=a.context,l=r.contextType;typeof l=="object"&&l!==null?l=Xt(l):(l=Ot(r)?ao:vt.current,l=di(e,l));var u=r.getDerivedStateFromProps,h=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";h||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==n||c!==l)&&Gf(e,a,n,l),pn=!1;var d=e.memoizedState;a.state=d,yc(e,n,a,o),c=e.memoizedState,s!==n||d!==c||Nt.current||pn?(typeof u=="function"&&(Zu(e,r,u,n),c=e.memoizedState),(s=pn||Kf(e,r,s,n,d,c,l))?(h||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(e.flags|=4194308)):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=c),a.props=n,a.state=c,a.context=l,n=s):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{a=e.stateNode,Qm(t,e),s=e.memoizedProps,l=e.type===e.elementType?s:ir(e.type,s),a.props=l,h=e.pendingProps,d=a.context,c=r.contextType,typeof c=="object"&&c!==null?c=Xt(c):(c=Ot(r)?ao:vt.current,c=di(e,c));var f=r.getDerivedStateFromProps;(u=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==h||d!==c)&&Gf(e,a,n,c),pn=!1,d=e.memoizedState,a.state=d,yc(e,n,a,o);var m=e.memoizedState;s!==h||d!==m||Nt.current||pn?(typeof f=="function"&&(Zu(e,r,f,n),m=e.memoizedState),(l=pn||Kf(e,r,l,n,d,m,c)||!1)?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,m,c),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,m,c)),typeof a.componentDidUpdate=="function"&&(e.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=m),a.props=n,a.state=m,a.context=c,n=l):(typeof a.componentDidUpdate!="function"||s===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),n=!1)}return nd(t,e,r,n,i,o)}function nd(t,e,r,n,o,i){bv(t,e);var a=(e.flags&128)!==0;if(!n&&!a)return o&&$f(e,r,!1),en(t,e,i);n=e.stateNode,Ow.current=e;var s=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return e.flags|=1,t!==null&&a?(e.child=fi(e,t.child,null,i),e.child=fi(e,null,s,i)):wt(t,e,s,i),e.memoizedState=n.state,o&&$f(e,r,!0),e.child}function Iv(t){var e=t.stateNode;e.pendingContext?Ff(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Ff(t,e.context,!1),fh(t,e.containerInfo)}function rp(t,e,r,n,o){return hi(),sh(o),e.flags|=256,wt(t,e,r,n),e.child}var od={dehydrated:null,treeContext:null,retryLane:0};function id(t){return{baseLanes:t,cachePool:null,transitions:null}}function kv(t,e,r){var n=e.pendingProps,o=Ae.current,i=!1,a=(e.flags&128)!==0,s;if((s=a)||(s=t!==null&&t.memoizedState===null?!1:(o&2)!==0),s?(i=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(o|=1),_e(Ae,o&1),t===null)return Ju(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((e.mode&1)===0?e.lanes=1:t.data==="$!"?e.lanes=8:e.lanes=1073741824,null):(a=n.children,t=n.fallback,i?(n=e.mode,i=e.child,a={mode:"hidden",children:a},(n&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=a):i=ll(a,n,0,null),t=eo(t,n,r,null),i.return=e,t.return=e,i.sibling=t,e.child=i,e.child.memoizedState=id(r),e.memoizedState=od,t):Eh(e,a));if(o=t.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return xw(t,e,a,n,s,o,r);if(i){i=n.fallback,a=e.mode,o=t.child,s=o.sibling;var c={mode:"hidden",children:n.children};return(a&1)===0&&e.child!==o?(n=e.child,n.childLanes=0,n.pendingProps=c,e.deletions=null):(n=Rn(o,c),n.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=Rn(s,i):(i=eo(i,a,r,null),i.flags|=2),i.return=e,n.return=e,n.sibling=i,e.child=n,n=i,i=e.child,a=t.child.memoizedState,a=a===null?id(r):{baseLanes:a.baseLanes|r,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=t.childLanes&~r,e.memoizedState=od,n}return i=t.child,t=i.sibling,n=Rn(i,{mode:"visible",children:n.children}),(e.mode&1)===0&&(n.lanes=r),n.return=e,n.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n,e.memoizedState=null,n}function Eh(t,e){return e=ll({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function Cs(t,e,r,n){return n!==null&&sh(n),fi(e,t.child,null,r),t=Eh(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function xw(t,e,r,n,o,i,a){if(r)return e.flags&256?(e.flags&=-257,n=Jl(Error(b(422))),Cs(t,e,a,n)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(i=n.fallback,o=e.mode,n=ll({mode:"visible",children:n.children},o,0,null),i=eo(i,o,a,null),i.flags|=2,n.return=e,i.return=e,n.sibling=i,e.child=n,(e.mode&1)!==0&&fi(e,t.child,null,a),e.child.memoizedState=id(a),e.memoizedState=od,i);if((e.mode&1)===0)return Cs(t,e,a,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var s=n.dgst;return n=s,i=Error(b(419)),n=Jl(i,n,void 0),Cs(t,e,a,n)}if(s=(a&t.childLanes)!==0,Pt||s){if(n=Ve,n!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(n.suspendedLanes|a))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Zr(t,o),dr(n,t,o,-1))}return kh(),n=Jl(Error(b(421))),Cs(t,e,a,n)}return o.data==="$?"?(e.flags|=128,e.child=t.child,e=Gw.bind(null,t),o._reactRetry=e,null):(t=i.treeContext,Lt=bn(o.nextSibling),Ht=e,be=!0,sr=null,t!==null&&(Gt[Vt++]=zr,Gt[Vt++]=jr,Gt[Vt++]=so,zr=t.id,jr=t.overflow,so=e),e=Eh(e,n.children),e.flags|=4096,e)}function np(t,e,r){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),Xu(t.return,e,r)}function Xl(t,e,r,n,o){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=o)}function Av(t,e,r){var n=e.pendingProps,o=n.revealOrder,i=n.tail;if(wt(t,e,n.children,r),n=Ae.current,(n&2)!==0)n=n&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&np(t,r,e);else if(t.tag===19)np(t,r,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}n&=1}if(_e(Ae,n),(e.mode&1)===0)e.memoizedState=null;else switch(o){case"forwards":for(r=e.child,o=null;r!==null;)t=r.alternate,t!==null&&_c(t)===null&&(o=r),r=r.sibling;r=o,r===null?(o=e.child,e.child=null):(o=r.sibling,r.sibling=null),Xl(e,!1,o,r,i);break;case"backwards":for(r=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&_c(t)===null){e.child=o;break}t=o.sibling,o.sibling=r,r=o,o=t}Xl(e,!0,r,null,i);break;case"together":Xl(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function js(t,e){(e.mode&1)===0&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function en(t,e,r){if(t!==null&&(e.dependencies=t.dependencies),lo|=e.lanes,(r&e.childLanes)===0)return null;if(t!==null&&e.child!==t.child)throw Error(b(153));if(e.child!==null){for(t=e.child,r=Rn(t,t.pendingProps),e.child=r,r.return=e;t.sibling!==null;)t=t.sibling,r=r.sibling=Rn(t,t.pendingProps),r.return=e;r.sibling=null}return e.child}function Mw(t,e,r){switch(e.tag){case 3:Iv(e),hi();break;case 5:tv(e);break;case 1:Ot(e.type)&&fc(e);break;case 4:fh(e,e.stateNode.containerInfo);break;case 10:var n=e.type._context,o=e.memoizedProps.value;_e(mc,n._currentValue),n._currentValue=o;break;case 13:if(n=e.memoizedState,n!==null)return n.dehydrated!==null?(_e(Ae,Ae.current&1),e.flags|=128,null):(r&e.child.childLanes)!==0?kv(t,e,r):(_e(Ae,Ae.current&1),t=en(t,e,r),t!==null?t.sibling:null);_e(Ae,Ae.current&1);break;case 19:if(n=(r&e.childLanes)!==0,(t.flags&128)!==0){if(n)return Av(t,e,r);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),_e(Ae,Ae.current),n)break;return null;case 22:case 23:return e.lanes=0,Tv(t,e,r)}return en(t,e,r)}var Rv,ad,Pv,Nv;Rv=function(t,e){for(var r=e.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};ad=function(){};Pv=function(t,e,r,n){var o=t.memoizedProps;if(o!==n){t=e.stateNode,Yn(Tr.current);var i=null;switch(r){case"input":o=Au(t,o),n=Au(t,n),i=[];break;case"select":o=Pe({},o,{value:void 0}),n=Pe({},n,{value:void 0}),i=[];break;case"textarea":o=Nu(t,o),n=Nu(t,n),i=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(t.onclick=dc)}xu(r,n);var a;r=null;for(l in o)if(!n.hasOwnProperty(l)&&o.hasOwnProperty(l)&&o[l]!=null)if(l==="style"){var s=o[l];for(a in s)s.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(Sa.hasOwnProperty(l)?i||(i=[]):(i=i||[]).push(l,null));for(l in n){var c=n[l];if(s=o!=null?o[l]:void 0,n.hasOwnProperty(l)&&c!==s&&(c!=null||s!=null))if(l==="style")if(s){for(a in s)!s.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in c)c.hasOwnProperty(a)&&s[a]!==c[a]&&(r||(r={}),r[a]=c[a])}else r||(i||(i=[]),i.push(l,r)),r=c;else l==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,s=s?s.__html:void 0,c!=null&&s!==c&&(i=i||[]).push(l,c)):l==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(l,""+c):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(Sa.hasOwnProperty(l)?(c!=null&&l==="onScroll"&&we("scroll",t),i||s===c||(i=[])):(i=i||[]).push(l,c))}r&&(i=i||[]).push("style",r);var l=i;(e.updateQueue=l)&&(e.flags|=4)}};Nv=function(t,e,r,n){r!==n&&(e.flags|=4)};function zi(t,e){if(!be)switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;e!==null;)e.alternate!==null&&(r=e),e=e.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function lt(t){var e=t.alternate!==null&&t.alternate.child===t.child,r=0,n=0;if(e)for(var o=t.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=t,o=o.sibling;else for(o=t.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=n,t.childLanes=r,e}function Uw(t,e,r){var n=e.pendingProps;switch(ah(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(e),null;case 1:return Ot(e.type)&&hc(),lt(e),null;case 3:return n=e.stateNode,pi(),Ce(Nt),Ce(vt),gh(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(ws(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,sr!==null&&(pd(sr),sr=null))),ad(t,e),lt(e),null;case 5:ph(e);var o=Yn(Ua.current);if(r=e.type,t!==null&&e.stateNode!=null)Pv(t,e,r,n,o),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!n){if(e.stateNode===null)throw Error(b(166));return lt(e),null}if(t=Yn(Tr.current),ws(e)){n=e.stateNode,r=e.type;var i=e.memoizedProps;switch(n[wr]=e,n[xa]=i,t=(e.mode&1)!==0,r){case"dialog":we("cancel",n),we("close",n);break;case"iframe":case"object":case"embed":we("load",n);break;case"video":case"audio":for(o=0;o<Xi.length;o++)we(Xi[o],n);break;case"source":we("error",n);break;case"img":case"image":case"link":we("error",n),we("load",n);break;case"details":we("toggle",n);break;case"input":hf(n,i),we("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},we("invalid",n);break;case"textarea":pf(n,i),we("invalid",n)}xu(r,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];a==="children"?typeof s=="string"?n.textContent!==s&&(i.suppressHydrationWarning!==!0&&_s(n.textContent,s,t),o=["children",s]):typeof s=="number"&&n.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&_s(n.textContent,s,t),o=["children",""+s]):Sa.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&we("scroll",n)}switch(r){case"input":ds(n),ff(n,i,!0);break;case"textarea":ds(n),gf(n);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(n.onclick=dc)}n=o,e.updateQueue=n,n!==null&&(e.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=om(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=a.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof n.is=="string"?t=a.createElement(r,{is:n.is}):(t=a.createElement(r),r==="select"&&(a=t,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):t=a.createElementNS(t,r),t[wr]=e,t[xa]=n,Rv(t,e,!1,!1),e.stateNode=t;e:{switch(a=Mu(r,n),r){case"dialog":we("cancel",t),we("close",t),o=n;break;case"iframe":case"object":case"embed":we("load",t),o=n;break;case"video":case"audio":for(o=0;o<Xi.length;o++)we(Xi[o],t);o=n;break;case"source":we("error",t),o=n;break;case"img":case"image":case"link":we("error",t),we("load",t),o=n;break;case"details":we("toggle",t),o=n;break;case"input":hf(t,n),o=Au(t,n),we("invalid",t);break;case"option":o=n;break;case"select":t._wrapperState={wasMultiple:!!n.multiple},o=Pe({},n,{value:void 0}),we("invalid",t);break;case"textarea":pf(t,n),o=Nu(t,n),we("invalid",t);break;default:o=n}xu(r,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var c=s[i];i==="style"?sm(t,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&im(t,c)):i==="children"?typeof c=="string"?(r!=="textarea"||c!=="")&&Ta(t,c):typeof c=="number"&&Ta(t,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Sa.hasOwnProperty(i)?c!=null&&i==="onScroll"&&we("scroll",t):c!=null&&Kd(t,i,c,a))}switch(r){case"input":ds(t),ff(t,n,!1);break;case"textarea":ds(t),gf(t);break;case"option":n.value!=null&&t.setAttribute("value",""+Nn(n.value));break;case"select":t.multiple=!!n.multiple,i=n.value,i!=null?ei(t,!!n.multiple,i,!1):n.defaultValue!=null&&ei(t,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(t.onclick=dc)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return lt(e),null;case 6:if(t&&e.stateNode!=null)Nv(t,e,t.memoizedProps,n);else{if(typeof n!="string"&&e.stateNode===null)throw Error(b(166));if(r=Yn(Ua.current),Yn(Tr.current),ws(e)){if(n=e.stateNode,r=e.memoizedProps,n[wr]=e,(i=n.nodeValue!==r)&&(t=Ht,t!==null))switch(t.tag){case 3:_s(n.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&_s(n.nodeValue,r,(t.mode&1)!==0)}i&&(e.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[wr]=e,e.stateNode=n}return lt(e),null;case 13:if(Ce(Ae),n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(be&&Lt!==null&&(e.mode&1)!==0&&(e.flags&128)===0)Wm(),hi(),e.flags|=98560,i=!1;else if(i=ws(e),n!==null&&n.dehydrated!==null){if(t===null){if(!i)throw Error(b(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(b(317));i[wr]=e}else hi(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;lt(e),i=!1}else sr!==null&&(pd(sr),sr=null),i=!0;if(!i)return e.flags&65536?e:null}return(e.flags&128)!==0?(e.lanes=r,e):(n=n!==null,n!==(t!==null&&t.memoizedState!==null)&&n&&(e.child.flags|=8192,(e.mode&1)!==0&&(t===null||(Ae.current&1)!==0?ze===0&&(ze=3):kh())),e.updateQueue!==null&&(e.flags|=4),lt(e),null);case 4:return pi(),ad(t,e),t===null&&Na(e.stateNode.containerInfo),lt(e),null;case 10:return uh(e.type._context),lt(e),null;case 17:return Ot(e.type)&&hc(),lt(e),null;case 19:if(Ce(Ae),i=e.memoizedState,i===null)return lt(e),null;if(n=(e.flags&128)!==0,a=i.rendering,a===null)if(n)zi(i,!1);else{if(ze!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(a=_c(t),a!==null){for(e.flags|=128,zi(i,!1),n=a.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),e.subtreeFlags=0,n=r,r=e.child;r!==null;)i=r,t=n,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=t,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,t=a.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return _e(Ae,Ae.current&1|2),e.child}t=t.sibling}i.tail!==null&&Me()>mi&&(e.flags|=128,n=!0,zi(i,!1),e.lanes=4194304)}else{if(!n)if(t=_c(a),t!==null){if(e.flags|=128,n=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),zi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!be)return lt(e),null}else 2*Me()-i.renderingStartTime>mi&&r!==1073741824&&(e.flags|=128,n=!0,zi(i,!1),e.lanes=4194304);i.isBackwards?(a.sibling=e.child,e.child=a):(r=i.last,r!==null?r.sibling=a:e.child=a,i.last=a)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Me(),e.sibling=null,r=Ae.current,_e(Ae,n?r&1|2:r&1),e):(lt(e),null);case 22:case 23:return Ih(),n=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==n&&(e.flags|=8192),n&&(e.mode&1)!==0?(Ut&1073741824)!==0&&(lt(e),e.subtreeFlags&6&&(e.flags|=8192)):lt(e),null;case 24:return null;case 25:return null}throw Error(b(156,e.tag))}function Lw(t,e){switch(ah(e),e.tag){case 1:return Ot(e.type)&&hc(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return pi(),Ce(Nt),Ce(vt),gh(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 5:return ph(e),null;case 13:if(Ce(Ae),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(b(340));hi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Ce(Ae),null;case 4:return pi(),null;case 10:return uh(e.type._context),null;case 22:case 23:return Ih(),null;case 24:return null;default:return null}}var Ss=!1,gt=!1,Dw=typeof WeakSet=="function"?WeakSet:Set,H=null;function Ko(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Ne(t,e,n)}else r.current=null}function sd(t,e,r){try{r()}catch(n){Ne(t,e,n)}}var op=!1;function Hw(t,e){if(qu=cc,t=Um(),oh(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,s=-1,c=-1,l=0,u=0,h=t,d=null;t:for(;;){for(var f;h!==r||o!==0&&h.nodeType!==3||(s=a+o),h!==i||n!==0&&h.nodeType!==3||(c=a+n),h.nodeType===3&&(a+=h.nodeValue.length),(f=h.firstChild)!==null;)d=h,h=f;for(;;){if(h===t)break t;if(d===r&&++l===o&&(s=a),d===i&&++u===n&&(c=a),(f=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=f}r=s===-1||c===-1?null:{start:s,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ku={focusedElem:t,selectionRange:r},cc=!1,H=e;H!==null;)if(e=H,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,H=t;else for(;H!==null;){e=H;try{var m=e.alternate;if((e.flags&1024)!==0)switch(e.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var v=m.memoizedProps,E=m.memoizedState,g=e.stateNode,p=g.getSnapshotBeforeUpdate(e.elementType===e.type?v:ir(e.type,v),E);g.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var y=e.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(b(163))}}catch(w){Ne(e,e.return,w)}if(t=e.sibling,t!==null){t.return=e.return,H=t;break}H=e.return}return m=op,op=!1,m}function ga(t,e,r){var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&t)===t){var i=o.destroy;o.destroy=void 0,i!==void 0&&sd(e,r,i)}o=o.next}while(o!==n)}}function sl(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var n=r.create;r.destroy=n()}r=r.next}while(r!==e)}}function cd(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function Ov(t){var e=t.alternate;e!==null&&(t.alternate=null,Ov(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[wr],delete e[xa],delete e[Wu],delete e[ww],delete e[Ew])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function xv(t){return t.tag===5||t.tag===3||t.tag===4}function ip(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||xv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function ld(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=dc));else if(n!==4&&(t=t.child,t!==null))for(ld(t,e,r),t=t.sibling;t!==null;)ld(t,e,r),t=t.sibling}function ud(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(n!==4&&(t=t.child,t!==null))for(ud(t,e,r),t=t.sibling;t!==null;)ud(t,e,r),t=t.sibling}var Xe=null,ar=!1;function un(t,e,r){for(r=r.child;r!==null;)Mv(t,e,r),r=r.sibling}function Mv(t,e,r){if(Sr&&typeof Sr.onCommitFiberUnmount=="function")try{Sr.onCommitFiberUnmount(Zc,r)}catch{}switch(r.tag){case 5:gt||Ko(r,e);case 6:var n=Xe,o=ar;Xe=null,un(t,e,r),Xe=n,ar=o,Xe!==null&&(ar?(t=Xe,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):Xe.removeChild(r.stateNode));break;case 18:Xe!==null&&(ar?(t=Xe,r=r.stateNode,t.nodeType===8?Kl(t.parentNode,r):t.nodeType===1&&Kl(t,r),Aa(t)):Kl(Xe,r.stateNode));break;case 4:n=Xe,o=ar,Xe=r.stateNode.containerInfo,ar=!0,un(t,e,r),Xe=n,ar=o;break;case 0:case 11:case 14:case 15:if(!gt&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&((i&2)!==0||(i&4)!==0)&&sd(r,e,a),o=o.next}while(o!==n)}un(t,e,r);break;case 1:if(!gt&&(Ko(r,e),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){Ne(r,e,s)}un(t,e,r);break;case 21:un(t,e,r);break;case 22:r.mode&1?(gt=(n=gt)||r.memoizedState!==null,un(t,e,r),gt=n):un(t,e,r);break;default:un(t,e,r)}}function ap(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new Dw),e.forEach(function(n){var o=Vw.bind(null,t,n);r.has(n)||(r.add(n),n.then(o,o))})}}function tr(t,e){var r=e.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var i=t,a=e,s=a;e:for(;s!==null;){switch(s.tag){case 5:Xe=s.stateNode,ar=!1;break e;case 3:Xe=s.stateNode.containerInfo,ar=!0;break e;case 4:Xe=s.stateNode.containerInfo,ar=!0;break e}s=s.return}if(Xe===null)throw Error(b(160));Mv(i,a,o),Xe=null,ar=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(l){Ne(o,e,l)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)Uv(e,t),e=e.sibling}function Uv(t,e){var r=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(tr(e,t),gr(t),n&4){try{ga(3,t,t.return),sl(3,t)}catch(v){Ne(t,t.return,v)}try{ga(5,t,t.return)}catch(v){Ne(t,t.return,v)}}break;case 1:tr(e,t),gr(t),n&512&&r!==null&&Ko(r,r.return);break;case 5:if(tr(e,t),gr(t),n&512&&r!==null&&Ko(r,r.return),t.flags&32){var o=t.stateNode;try{Ta(o,"")}catch(v){Ne(t,t.return,v)}}if(n&4&&(o=t.stateNode,o!=null)){var i=t.memoizedProps,a=r!==null?r.memoizedProps:i,s=t.type,c=t.updateQueue;if(t.updateQueue=null,c!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&rm(o,i),Mu(s,a);var l=Mu(s,i);for(a=0;a<c.length;a+=2){var u=c[a],h=c[a+1];u==="style"?sm(o,h):u==="dangerouslySetInnerHTML"?im(o,h):u==="children"?Ta(o,h):Kd(o,u,h,l)}switch(s){case"input":Ru(o,i);break;case"textarea":nm(o,i);break;case"select":var d=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;f!=null?ei(o,!!i.multiple,f,!1):d!==!!i.multiple&&(i.defaultValue!=null?ei(o,!!i.multiple,i.defaultValue,!0):ei(o,!!i.multiple,i.multiple?[]:"",!1))}o[xa]=i}catch(v){Ne(t,t.return,v)}}break;case 6:if(tr(e,t),gr(t),n&4){if(t.stateNode===null)throw Error(b(162));o=t.stateNode,i=t.memoizedProps;try{o.nodeValue=i}catch(v){Ne(t,t.return,v)}}break;case 3:if(tr(e,t),gr(t),n&4&&r!==null&&r.memoizedState.isDehydrated)try{Aa(e.containerInfo)}catch(v){Ne(t,t.return,v)}break;case 4:tr(e,t),gr(t);break;case 13:tr(e,t),gr(t),o=t.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Th=Me())),n&4&&ap(t);break;case 22:if(u=r!==null&&r.memoizedState!==null,t.mode&1?(gt=(l=gt)||u,tr(e,t),gt=l):tr(e,t),gr(t),n&8192){if(l=t.memoizedState!==null,(t.stateNode.isHidden=l)&&!u&&(t.mode&1)!==0)for(H=t,u=t.child;u!==null;){for(h=H=u;H!==null;){switch(d=H,f=d.child,d.tag){case 0:case 11:case 14:case 15:ga(4,d,d.return);break;case 1:Ko(d,d.return);var m=d.stateNode;if(typeof m.componentWillUnmount=="function"){n=d,r=d.return;try{e=n,m.props=e.memoizedProps,m.state=e.memoizedState,m.componentWillUnmount()}catch(v){Ne(n,r,v)}}break;case 5:Ko(d,d.return);break;case 22:if(d.memoizedState!==null){cp(h);continue}}f!==null?(f.return=d,H=f):cp(h)}u=u.sibling}e:for(u=null,h=t;;){if(h.tag===5){if(u===null){u=h;try{o=h.stateNode,l?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=h.stateNode,c=h.memoizedProps.style,a=c!=null&&c.hasOwnProperty("display")?c.display:null,s.style.display=am("display",a))}catch(v){Ne(t,t.return,v)}}}else if(h.tag===6){if(u===null)try{h.stateNode.nodeValue=l?"":h.memoizedProps}catch(v){Ne(t,t.return,v)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===t)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;u===h&&(u=null),h=h.return}u===h&&(u=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:tr(e,t),gr(t),n&4&&ap(t);break;case 21:break;default:tr(e,t),gr(t)}}function gr(t){var e=t.flags;if(e&2){try{e:{for(var r=t.return;r!==null;){if(xv(r)){var n=r;break e}r=r.return}throw Error(b(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(Ta(o,""),n.flags&=-33);var i=ip(t);ud(t,i,o);break;case 3:case 4:var a=n.stateNode.containerInfo,s=ip(t);ld(t,s,a);break;default:throw Error(b(161))}}catch(c){Ne(t,t.return,c)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Fw(t,e,r){H=t,Lv(t)}function Lv(t,e,r){for(var n=(t.mode&1)!==0;H!==null;){var o=H,i=o.child;if(o.tag===22&&n){var a=o.memoizedState!==null||Ss;if(!a){var s=o.alternate,c=s!==null&&s.memoizedState!==null||gt;s=Ss;var l=gt;if(Ss=a,(gt=c)&&!l)for(H=o;H!==null;)a=H,c=a.child,a.tag===22&&a.memoizedState!==null?lp(o):c!==null?(c.return=a,H=c):lp(o);for(;i!==null;)H=i,Lv(i),i=i.sibling;H=o,Ss=s,gt=l}sp(t)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,H=i):sp(t)}}function sp(t){for(;H!==null;){var e=H;if((e.flags&8772)!==0){var r=e.alternate;try{if((e.flags&8772)!==0)switch(e.tag){case 0:case 11:case 15:gt||sl(5,e);break;case 1:var n=e.stateNode;if(e.flags&4&&!gt)if(r===null)n.componentDidMount();else{var o=e.elementType===e.type?r.memoizedProps:ir(e.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=e.updateQueue;i!==null&&qf(e,i,n);break;case 3:var a=e.updateQueue;if(a!==null){if(r=null,e.child!==null)switch(e.child.tag){case 5:r=e.child.stateNode;break;case 1:r=e.child.stateNode}qf(e,a,r)}break;case 5:var s=e.stateNode;if(r===null&&e.flags&4){r=s;var c=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var l=e.alternate;if(l!==null){var u=l.memoizedState;if(u!==null){var h=u.dehydrated;h!==null&&Aa(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(b(163))}gt||e.flags&512&&cd(e)}catch(d){Ne(e,e.return,d)}}if(e===t){H=null;break}if(r=e.sibling,r!==null){r.return=e.return,H=r;break}H=e.return}}function cp(t){for(;H!==null;){var e=H;if(e===t){H=null;break}var r=e.sibling;if(r!==null){r.return=e.return,H=r;break}H=e.return}}function lp(t){for(;H!==null;){var e=H;try{switch(e.tag){case 0:case 11:case 15:var r=e.return;try{sl(4,e)}catch(c){Ne(e,r,c)}break;case 1:var n=e.stateNode;if(typeof n.componentDidMount=="function"){var o=e.return;try{n.componentDidMount()}catch(c){Ne(e,o,c)}}var i=e.return;try{cd(e)}catch(c){Ne(e,i,c)}break;case 5:var a=e.return;try{cd(e)}catch(c){Ne(e,a,c)}}}catch(c){Ne(e,e.return,c)}if(e===t){H=null;break}var s=e.sibling;if(s!==null){s.return=e.return,H=s;break}H=e.return}}var $w=Math.ceil,Cc=on.ReactCurrentDispatcher,Ch=on.ReactCurrentOwner,Qt=on.ReactCurrentBatchConfig,ne=0,Ve=null,De=null,rt=0,Ut=0,Go=Mn(0),ze=0,Fa=null,lo=0,cl=0,Sh=0,ma=null,Rt=null,Th=0,mi=1/0,Hr=null,Sc=!1,dd=null,kn=null,Ts=!1,En=null,Tc=0,va=0,hd=null,Bs=-1,qs=0;function St(){return(ne&6)!==0?Me():Bs!==-1?Bs:Bs=Me()}function An(t){return(t.mode&1)===0?1:(ne&2)!==0&&rt!==0?rt&-rt:Sw.transition!==null?(qs===0&&(qs=_m()),qs):(t=ue,t!==0||(t=window.event,t=t===void 0?16:Im(t.type)),t)}function dr(t,e,r,n){if(50<va)throw va=0,hd=null,Error(b(185));Ja(t,r,n),((ne&2)===0||t!==Ve)&&(t===Ve&&((ne&2)===0&&(cl|=r),ze===4&&yn(t,rt)),xt(t,n),r===1&&ne===0&&(e.mode&1)===0&&(mi=Me()+500,ol&&Un()))}function xt(t,e){var r=t.callbackNode;S_(t,e);var n=sc(t,t===Ve?rt:0);if(n===0)r!==null&&yf(r),t.callbackNode=null,t.callbackPriority=0;else if(e=n&-n,t.callbackPriority!==e){if(r!=null&&yf(r),e===1)t.tag===0?Cw(up.bind(null,t)):Km(up.bind(null,t)),yw(function(){(ne&6)===0&&Un()}),r=null;else{switch(wm(n)){case 1:r=Qd;break;case 4:r=vm;break;case 16:r=ac;break;case 536870912:r=ym;break;default:r=ac}r=qv(r,Dv.bind(null,t))}t.callbackPriority=e,t.callbackNode=r}}function Dv(t,e){if(Bs=-1,qs=0,(ne&6)!==0)throw Error(b(327));var r=t.callbackNode;if(ii()&&t.callbackNode!==r)return null;var n=sc(t,t===Ve?rt:0);if(n===0)return null;if((n&30)!==0||(n&t.expiredLanes)!==0||e)e=bc(t,n);else{e=n;var o=ne;ne|=2;var i=Fv();(Ve!==t||rt!==e)&&(Hr=null,mi=Me()+500,Zn(t,e));do try{Bw();break}catch(s){Hv(t,s)}while(1);lh(),Cc.current=i,ne=o,De!==null?e=0:(Ve=null,rt=0,e=ze)}if(e!==0){if(e===2&&(o=Fu(t),o!==0&&(n=o,e=fd(t,o))),e===1)throw r=Fa,Zn(t,0),yn(t,n),xt(t,Me()),r;if(e===6)yn(t,n);else{if(o=t.current.alternate,(n&30)===0&&!zw(o)&&(e=bc(t,n),e===2&&(i=Fu(t),i!==0&&(n=i,e=fd(t,i))),e===1))throw r=Fa,Zn(t,0),yn(t,n),xt(t,Me()),r;switch(t.finishedWork=o,t.finishedLanes=n,e){case 0:case 1:throw Error(b(345));case 2:Bn(t,Rt,Hr);break;case 3:if(yn(t,n),(n&130023424)===n&&(e=Th+500-Me(),10<e)){if(sc(t,0)!==0)break;if(o=t.suspendedLanes,(o&n)!==n){St(),t.pingedLanes|=t.suspendedLanes&o;break}t.timeoutHandle=Vu(Bn.bind(null,t,Rt,Hr),e);break}Bn(t,Rt,Hr);break;case 4:if(yn(t,n),(n&4194240)===n)break;for(e=t.eventTimes,o=-1;0<n;){var a=31-ur(n);i=1<<a,a=e[a],a>o&&(o=a),n&=~i}if(n=o,n=Me()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*$w(n/1960))-n,10<n){t.timeoutHandle=Vu(Bn.bind(null,t,Rt,Hr),n);break}Bn(t,Rt,Hr);break;case 5:Bn(t,Rt,Hr);break;default:throw Error(b(329))}}}return xt(t,Me()),t.callbackNode===r?Dv.bind(null,t):null}function fd(t,e){var r=ma;return t.current.memoizedState.isDehydrated&&(Zn(t,e).flags|=256),t=bc(t,e),t!==2&&(e=Rt,Rt=r,e!==null&&pd(e)),t}function pd(t){Rt===null?Rt=t:Rt.push.apply(Rt,t)}function zw(t){for(var e=t;;){if(e.flags&16384){var r=e.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],i=o.getSnapshot;o=o.value;try{if(!fr(i(),o))return!1}catch{return!1}}}if(r=e.child,e.subtreeFlags&16384&&r!==null)r.return=e,e=r;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function yn(t,e){for(e&=~Sh,e&=~cl,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-ur(e),n=1<<r;t[r]=-1,e&=~n}}function up(t){if((ne&6)!==0)throw Error(b(327));ii();var e=sc(t,0);if((e&1)===0)return xt(t,Me()),null;var r=bc(t,e);if(t.tag!==0&&r===2){var n=Fu(t);n!==0&&(e=n,r=fd(t,n))}if(r===1)throw r=Fa,Zn(t,0),yn(t,e),xt(t,Me()),r;if(r===6)throw Error(b(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Bn(t,Rt,Hr),xt(t,Me()),null}function bh(t,e){var r=ne;ne|=1;try{return t(e)}finally{ne=r,ne===0&&(mi=Me()+500,ol&&Un())}}function uo(t){En!==null&&En.tag===0&&(ne&6)===0&&ii();var e=ne;ne|=1;var r=Qt.transition,n=ue;try{if(Qt.transition=null,ue=1,t)return t()}finally{ue=n,Qt.transition=r,ne=e,(ne&6)===0&&Un()}}function Ih(){Ut=Go.current,Ce(Go)}function Zn(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,vw(r)),De!==null)for(r=De.return;r!==null;){var n=r;switch(ah(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&hc();break;case 3:pi(),Ce(Nt),Ce(vt),gh();break;case 5:ph(n);break;case 4:pi();break;case 13:Ce(Ae);break;case 19:Ce(Ae);break;case 10:uh(n.type._context);break;case 22:case 23:Ih()}r=r.return}if(Ve=t,De=t=Rn(t.current,null),rt=Ut=e,ze=0,Fa=null,Sh=cl=lo=0,Rt=ma=null,Wn!==null){for(e=0;e<Wn.length;e++)if(r=Wn[e],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,i=r.pending;if(i!==null){var a=i.next;i.next=o,n.next=a}r.pending=n}Wn=null}return t}function Hv(t,e){do{var r=De;try{if(lh(),$s.current=Ec,wc){for(var n=Re.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}wc=!1}if(co=0,qe=$e=Re=null,pa=!1,La=0,Ch.current=null,r===null||r.return===null){ze=1,Fa=e,De=null;break}e:{var i=t,a=r.return,s=r,c=e;if(e=rt,s.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var l=c,u=s,h=u.tag;if((u.mode&1)===0&&(h===0||h===11||h===15)){var d=u.alternate;d?(u.updateQueue=d.updateQueue,u.memoizedState=d.memoizedState,u.lanes=d.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=Jf(a);if(f!==null){f.flags&=-257,Xf(f,a,s,i,e),f.mode&1&&Qf(i,l,e),e=f,c=l;var m=e.updateQueue;if(m===null){var v=new Set;v.add(c),e.updateQueue=v}else m.add(c);break e}else{if((e&1)===0){Qf(i,l,e),kh();break e}c=Error(b(426))}}else if(be&&s.mode&1){var E=Jf(a);if(E!==null){(E.flags&65536)===0&&(E.flags|=256),Xf(E,a,s,i,e),sh(gi(c,s));break e}}i=c=gi(c,s),ze!==4&&(ze=2),ma===null?ma=[i]:ma.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,e&=-e,i.lanes|=e;var g=Ev(i,c,e);Bf(i,g);break e;case 1:s=c;var p=i.type,y=i.stateNode;if((i.flags&128)===0&&(typeof p.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(kn===null||!kn.has(y)))){i.flags|=65536,e&=-e,i.lanes|=e;var w=Cv(i,s,e);Bf(i,w);break e}}i=i.return}while(i!==null)}zv(r)}catch(k){e=k,De===r&&r!==null&&(De=r=r.return);continue}break}while(1)}function Fv(){var t=Cc.current;return Cc.current=Ec,t===null?Ec:t}function kh(){(ze===0||ze===3||ze===2)&&(ze=4),Ve===null||(lo&268435455)===0&&(cl&268435455)===0||yn(Ve,rt)}function bc(t,e){var r=ne;ne|=2;var n=Fv();(Ve!==t||rt!==e)&&(Hr=null,Zn(t,e));do try{jw();break}catch(o){Hv(t,o)}while(1);if(lh(),ne=r,Cc.current=n,De!==null)throw Error(b(261));return Ve=null,rt=0,ze}function jw(){for(;De!==null;)$v(De)}function Bw(){for(;De!==null&&!p_();)$v(De)}function $v(t){var e=Bv(t.alternate,t,Ut);t.memoizedProps=t.pendingProps,e===null?zv(t):De=e,Ch.current=null}function zv(t){var e=t;do{var r=e.alternate;if(t=e.return,(e.flags&32768)===0){if(r=Uw(r,e,Ut),r!==null){De=r;return}}else{if(r=Lw(r,e),r!==null){r.flags&=32767,De=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{ze=6,De=null;return}}if(e=e.sibling,e!==null){De=e;return}De=e=t}while(e!==null);ze===0&&(ze=5)}function Bn(t,e,r){var n=ue,o=Qt.transition;try{Qt.transition=null,ue=1,qw(t,e,r,n)}finally{Qt.transition=o,ue=n}return null}function qw(t,e,r,n){do ii();while(En!==null);if((ne&6)!==0)throw Error(b(327));r=t.finishedWork;var o=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(b(177));t.callbackNode=null,t.callbackPriority=0;var i=r.lanes|r.childLanes;if(T_(t,i),t===Ve&&(De=Ve=null,rt=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||Ts||(Ts=!0,qv(ac,function(){return ii(),null})),i=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||i){i=Qt.transition,Qt.transition=null;var a=ue;ue=1;var s=ne;ne|=4,Ch.current=null,Hw(t,r),Uv(r,t),uw(Ku),cc=!!qu,Ku=qu=null,t.current=r,Fw(r),g_(),ne=s,ue=a,Qt.transition=i}else t.current=r;if(Ts&&(Ts=!1,En=t,Tc=o),i=t.pendingLanes,i===0&&(kn=null),y_(r.stateNode),xt(t,Me()),e!==null)for(n=t.onRecoverableError,r=0;r<e.length;r++)o=e[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(Sc)throw Sc=!1,t=dd,dd=null,t;return(Tc&1)!==0&&t.tag!==0&&ii(),i=t.pendingLanes,(i&1)!==0?t===hd?va++:(va=0,hd=t):va=0,Un(),null}function ii(){if(En!==null){var t=wm(Tc),e=Qt.transition,r=ue;try{if(Qt.transition=null,ue=16>t?16:t,En===null)var n=!1;else{if(t=En,En=null,Tc=0,(ne&6)!==0)throw Error(b(331));var o=ne;for(ne|=4,H=t.current;H!==null;){var i=H,a=i.child;if((H.flags&16)!==0){var s=i.deletions;if(s!==null){for(var c=0;c<s.length;c++){var l=s[c];for(H=l;H!==null;){var u=H;switch(u.tag){case 0:case 11:case 15:ga(8,u,i)}var h=u.child;if(h!==null)h.return=u,H=h;else for(;H!==null;){u=H;var d=u.sibling,f=u.return;if(Ov(u),u===l){H=null;break}if(d!==null){d.return=f,H=d;break}H=f}}}var m=i.alternate;if(m!==null){var v=m.child;if(v!==null){m.child=null;do{var E=v.sibling;v.sibling=null,v=E}while(v!==null)}}H=i}}if((i.subtreeFlags&2064)!==0&&a!==null)a.return=i,H=a;else e:for(;H!==null;){if(i=H,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:ga(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,H=g;break e}H=i.return}}var p=t.current;for(H=p;H!==null;){a=H;var y=a.child;if((a.subtreeFlags&2064)!==0&&y!==null)y.return=a,H=y;else e:for(a=p;H!==null;){if(s=H,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:sl(9,s)}}catch(k){Ne(s,s.return,k)}if(s===a){H=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,H=w;break e}H=s.return}}if(ne=o,Un(),Sr&&typeof Sr.onPostCommitFiberRoot=="function")try{Sr.onPostCommitFiberRoot(Zc,t)}catch{}n=!0}return n}finally{ue=r,Qt.transition=e}}return!1}function dp(t,e,r){e=gi(r,e),e=Ev(t,e,1),t=In(t,e,1),e=St(),t!==null&&(Ja(t,1,e),xt(t,e))}function Ne(t,e,r){if(t.tag===3)dp(t,t,r);else for(;e!==null;){if(e.tag===3){dp(e,t,r);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(kn===null||!kn.has(n))){t=gi(r,t),t=Cv(e,t,1),e=In(e,t,1),t=St(),e!==null&&(Ja(e,1,t),xt(e,t));break}}e=e.return}}function Kw(t,e,r){var n=t.pingCache;n!==null&&n.delete(e),e=St(),t.pingedLanes|=t.suspendedLanes&r,Ve===t&&(rt&r)===r&&(ze===4||ze===3&&(rt&130023424)===rt&&500>Me()-Th?Zn(t,0):Sh|=r),xt(t,e)}function jv(t,e){e===0&&((t.mode&1)===0?e=1:(e=ps,ps<<=1,(ps&130023424)===0&&(ps=4194304)));var r=St();t=Zr(t,e),t!==null&&(Ja(t,e,r),xt(t,r))}function Gw(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),jv(t,r)}function Vw(t,e){var r=0;switch(t.tag){case 13:var n=t.stateNode,o=t.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=t.stateNode;break;default:throw Error(b(314))}n!==null&&n.delete(e),jv(t,r)}var Bv;Bv=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||Nt.current)Pt=!0;else{if((t.lanes&r)===0&&(e.flags&128)===0)return Pt=!1,Mw(t,e,r);Pt=(t.flags&131072)!==0}else Pt=!1,be&&(e.flags&1048576)!==0&&Gm(e,gc,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;js(t,e),t=e.pendingProps;var o=di(e,vt.current);oi(e,r),o=vh(null,e,n,t,o,r);var i=yh();return e.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Ot(n)?(i=!0,fc(e)):i=!1,e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,hh(e),o.updater=il,e.stateNode=o,o._reactInternals=e,ed(e,n,t,r),e=nd(null,e,n,!0,i,r)):(e.tag=0,be&&i&&ih(e),wt(null,e,o,r),e=e.child),e;case 16:n=e.elementType;e:{switch(js(t,e),t=e.pendingProps,o=n._init,n=o(n._payload),e.type=n,o=e.tag=Yw(n),t=ir(n,t),o){case 0:e=rd(null,e,n,t,r);break e;case 1:e=tp(null,e,n,t,r);break e;case 11:e=Zf(null,e,n,t,r);break e;case 14:e=ep(null,e,n,ir(n.type,t),r);break e}throw Error(b(306,n,""))}return e;case 0:return n=e.type,o=e.pendingProps,o=e.elementType===n?o:ir(n,o),rd(t,e,n,o,r);case 1:return n=e.type,o=e.pendingProps,o=e.elementType===n?o:ir(n,o),tp(t,e,n,o,r);case 3:e:{if(Iv(e),t===null)throw Error(b(387));n=e.pendingProps,i=e.memoizedState,o=i.element,Qm(t,e),yc(e,n,null,r);var a=e.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){o=gi(Error(b(423)),e),e=rp(t,e,n,r,o);break e}else if(n!==o){o=gi(Error(b(424)),e),e=rp(t,e,n,r,o);break e}else for(Lt=bn(e.stateNode.containerInfo.firstChild),Ht=e,be=!0,sr=null,r=ev(e,null,n,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(hi(),n===o){e=en(t,e,r);break e}wt(t,e,n,r)}e=e.child}return e;case 5:return tv(e),t===null&&Ju(e),n=e.type,o=e.pendingProps,i=t!==null?t.memoizedProps:null,a=o.children,Gu(n,o)?a=null:i!==null&&Gu(n,i)&&(e.flags|=32),bv(t,e),wt(t,e,a,r),e.child;case 6:return t===null&&Ju(e),null;case 13:return kv(t,e,r);case 4:return fh(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=fi(e,null,n,r):wt(t,e,n,r),e.child;case 11:return n=e.type,o=e.pendingProps,o=e.elementType===n?o:ir(n,o),Zf(t,e,n,o,r);case 7:return wt(t,e,e.pendingProps,r),e.child;case 8:return wt(t,e,e.pendingProps.children,r),e.child;case 12:return wt(t,e,e.pendingProps.children,r),e.child;case 10:e:{if(n=e.type._context,o=e.pendingProps,i=e.memoizedProps,a=o.value,_e(mc,n._currentValue),n._currentValue=a,i!==null)if(fr(i.value,a)){if(i.children===o.children&&!Nt.current){e=en(t,e,r);break e}}else for(i=e.child,i!==null&&(i.return=e);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var c=s.firstContext;c!==null;){if(c.context===n){if(i.tag===1){c=Kr(-1,r&-r),c.tag=2;var l=i.updateQueue;if(l!==null){l=l.shared;var u=l.pending;u===null?c.next=c:(c.next=u.next,u.next=c),l.pending=c}}i.lanes|=r,c=i.alternate,c!==null&&(c.lanes|=r),Xu(i.return,r,e),s.lanes|=r;break}c=c.next}}else if(i.tag===10)a=i.type===e.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(b(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),Xu(a,r,e),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===e){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}wt(t,e,o.children,r),e=e.child}return e;case 9:return o=e.type,n=e.pendingProps.children,oi(e,r),o=Xt(o),n=n(o),e.flags|=1,wt(t,e,n,r),e.child;case 14:return n=e.type,o=ir(n,e.pendingProps),o=ir(n.type,o),ep(t,e,n,o,r);case 15:return Sv(t,e,e.type,e.pendingProps,r);case 17:return n=e.type,o=e.pendingProps,o=e.elementType===n?o:ir(n,o),js(t,e),e.tag=1,Ot(n)?(t=!0,fc(e)):t=!1,oi(e,r),Xm(e,n,o),ed(e,n,o,r),nd(null,e,n,!0,t,r);case 19:return Av(t,e,r);case 22:return Tv(t,e,r)}throw Error(b(156,e.tag))};function qv(t,e){return mm(t,e)}function Ww(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yt(t,e,r,n){return new Ww(t,e,r,n)}function Ah(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Yw(t){if(typeof t=="function")return Ah(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Vd)return 11;if(t===Wd)return 14}return 2}function Rn(t,e){var r=t.alternate;return r===null?(r=Yt(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function Ks(t,e,r,n,o,i){var a=2;if(n=t,typeof t=="function")Ah(t)&&(a=1);else if(typeof t=="string")a=5;else e:switch(t){case Lo:return eo(r.children,o,i,e);case Gd:a=8,o|=8;break;case Tu:return t=Yt(12,r,e,o|2),t.elementType=Tu,t.lanes=i,t;case bu:return t=Yt(13,r,e,o),t.elementType=bu,t.lanes=i,t;case Iu:return t=Yt(19,r,e,o),t.elementType=Iu,t.lanes=i,t;case Zg:return ll(r,o,i,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Jg:a=10;break e;case Xg:a=9;break e;case Vd:a=11;break e;case Wd:a=14;break e;case fn:a=16,n=null;break e}throw Error(b(130,t==null?t:typeof t,""))}return e=Yt(a,r,e,o),e.elementType=t,e.type=n,e.lanes=i,e}function eo(t,e,r,n){return t=Yt(7,t,n,e),t.lanes=r,t}function ll(t,e,r,n){return t=Yt(22,t,n,e),t.elementType=Zg,t.lanes=r,t.stateNode={isHidden:!1},t}function Zl(t,e,r){return t=Yt(6,t,null,e),t.lanes=r,t}function eu(t,e,r){return e=Yt(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Qw(t,e,r,n,o){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ml(0),this.expirationTimes=Ml(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ml(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Rh(t,e,r,n,o,i,a,s,c){return t=new Qw(t,e,r,s,c),e===1?(e=1,i===!0&&(e|=8)):e=0,i=Yt(3,null,null,e),t.current=i,i.stateNode=t,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},hh(i),t}function Jw(t,e,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Uo,key:n==null?null:""+n,children:t,containerInfo:e,implementation:r}}function Kv(t){if(!t)return On;t=t._reactInternals;e:{if(_o(t)!==t||t.tag!==1)throw Error(b(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(Ot(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(b(171))}if(t.tag===1){var r=t.type;if(Ot(r))return qm(t,r,e)}return e}function Gv(t,e,r,n,o,i,a,s,c){return t=Rh(r,n,!0,t,o,i,a,s,c),t.context=Kv(null),r=t.current,n=St(),o=An(r),i=Kr(n,o),i.callback=e!=null?e:null,In(r,i,o),t.current.lanes=o,Ja(t,o,n),xt(t,n),t}function ul(t,e,r,n){var o=e.current,i=St(),a=An(o);return r=Kv(r),e.context===null?e.context=r:e.pendingContext=r,e=Kr(i,a),e.payload={element:t},n=n===void 0?null:n,n!==null&&(e.callback=n),t=In(o,e,a),t!==null&&(dr(t,o,a,i),Fs(t,o,a)),a}function Ic(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function hp(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<e?r:e}}function Ph(t,e){hp(t,e),(t=t.alternate)&&hp(t,e)}function Xw(){return null}var Vv=typeof reportError=="function"?reportError:function(t){console.error(t)};function Nh(t){this._internalRoot=t}dl.prototype.render=Nh.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(b(409));ul(t,e,null,null)};dl.prototype.unmount=Nh.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;uo(function(){ul(null,t,null,null)}),e[Xr]=null}};function dl(t){this._internalRoot=t}dl.prototype.unstable_scheduleHydration=function(t){if(t){var e=Sm();t={blockedOn:null,target:t,priority:e};for(var r=0;r<vn.length&&e!==0&&e<vn[r].priority;r++);vn.splice(r,0,t),r===0&&bm(t)}};function Oh(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function hl(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function fp(){}function Zw(t,e,r,n,o){if(o){if(typeof n=="function"){var i=n;n=function(){var l=Ic(a);i.call(l)}}var a=Gv(e,n,t,0,null,!1,!1,"",fp);return t._reactRootContainer=a,t[Xr]=a.current,Na(t.nodeType===8?t.parentNode:t),uo(),a}for(;o=t.lastChild;)t.removeChild(o);if(typeof n=="function"){var s=n;n=function(){var l=Ic(c);s.call(l)}}var c=Rh(t,0,!1,null,null,!1,!1,"",fp);return t._reactRootContainer=c,t[Xr]=c.current,Na(t.nodeType===8?t.parentNode:t),uo(function(){ul(e,c,r,n)}),c}function fl(t,e,r,n,o){var i=r._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var s=o;o=function(){var c=Ic(a);s.call(c)}}ul(e,a,t,o)}else a=Zw(r,e,t,o,n);return Ic(a)}Em=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var r=Ji(e.pendingLanes);r!==0&&(Jd(e,r|1),xt(e,Me()),(ne&6)===0&&(mi=Me()+500,Un()))}break;case 13:uo(function(){var n=Zr(t,1);if(n!==null){var o=St();dr(n,t,1,o)}}),Ph(t,1)}};Xd=function(t){if(t.tag===13){var e=Zr(t,134217728);if(e!==null){var r=St();dr(e,t,134217728,r)}Ph(t,134217728)}};Cm=function(t){if(t.tag===13){var e=An(t),r=Zr(t,e);if(r!==null){var n=St();dr(r,t,e,n)}Ph(t,e)}};Sm=function(){return ue};Tm=function(t,e){var r=ue;try{return ue=t,e()}finally{ue=r}};Lu=function(t,e,r){switch(e){case"input":if(Ru(t,r),e=r.name,r.type==="radio"&&e!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var n=r[e];if(n!==t&&n.form===t.form){var o=nl(n);if(!o)throw Error(b(90));tm(n),Ru(n,o)}}}break;case"textarea":nm(t,r);break;case"select":e=r.value,e!=null&&ei(t,!!r.multiple,e,!1)}};um=bh;dm=uo;var eE={usingClientEntryPoint:!1,Events:[Za,$o,nl,cm,lm,bh]},ji={findFiberByHostInstance:Vn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},tE={bundleType:ji.bundleType,version:ji.version,rendererPackageName:ji.rendererPackageName,rendererConfig:ji.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:on.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=pm(t),t===null?null:t.stateNode},findFiberByHostInstance:ji.findFiberByHostInstance||Xw,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var bs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bs.isDisabled&&bs.supportsFiber)try{Zc=bs.inject(tE),Sr=bs}catch{}}zt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eE;zt.createPortal=function(t,e){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Oh(e))throw Error(b(200));return Jw(t,e,null,r)};zt.createRoot=function(t,e){if(!Oh(t))throw Error(b(299));var r=!1,n="",o=Vv;return e!=null&&(e.unstable_strictMode===!0&&(r=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onRecoverableError!==void 0&&(o=e.onRecoverableError)),e=Rh(t,1,!1,null,null,r,!1,n,o),t[Xr]=e.current,Na(t.nodeType===8?t.parentNode:t),new Nh(e)};zt.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(b(188)):(t=Object.keys(t).join(","),Error(b(268,t)));return t=pm(e),t=t===null?null:t.stateNode,t};zt.flushSync=function(t){return uo(t)};zt.hydrate=function(t,e,r){if(!hl(e))throw Error(b(200));return fl(null,t,e,!0,r)};zt.hydrateRoot=function(t,e,r){if(!Oh(t))throw Error(b(405));var n=r!=null&&r.hydratedSources||null,o=!1,i="",a=Vv;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(a=r.onRecoverableError)),e=Gv(e,null,t,1,r!=null?r:null,o,!1,i,a),t[Xr]=e.current,Na(t),n)for(t=0;t<n.length;t++)r=n[t],o=r._getVersion,o=o(r._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[r,o]:e.mutableSourceEagerHydrationData.push(r,o);return new dl(e)};zt.render=function(t,e,r){if(!hl(e))throw Error(b(200));return fl(null,t,e,!1,r)};zt.unmountComponentAtNode=function(t){if(!hl(t))throw Error(b(40));return t._reactRootContainer?(uo(function(){fl(null,null,t,!1,function(){t._reactRootContainer=null,t[Xr]=null})}),!0):!1};zt.unstable_batchedUpdates=bh;zt.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!hl(r))throw Error(b(200));if(t==null||t._reactInternals===void 0)throw Error(b(38));return fl(t,e,r,!1,n)};zt.version="18.2.0-next-9e3b772b8-20220608";(function(t){function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}e(),t.exports=zt})(Gg);var pp=Gg.exports;Cu.createRoot=pp.createRoot,Cu.hydrateRoot=pp.hydrateRoot;class rE{constructor(e){this.domain=e,this.level=1}_createMessage(e){return[`%c FUSION FRAMEWORK %c ${this.domain} %c %s`,"background: rgb(179, 13, 47); color: white; padding: 1px;","background: rgb(244, 244, 244); color: rgb(36, 55, 70); padding: 1px;","background: none; color: inherit",...e.reduce((r,n)=>[...r,n,`
33
33
  `],[])]}debug(...e){this.level>3&&console.debug(...this._createMessage(e))}info(...e){this.level>2&&console.info(...this._createMessage(e))}warn(...e){this.level>1&&console.warn(...this._createMessage(e))}error(...e){this.level>0&&console.error(...this._createMessage(e))}}class Wv extends rE{formatModuleName(e){return`\u{1F4E6}\x1B[1;32m${(typeof e=="string"?e:e.name).replace(/([A-Z])/g," $1").toUpperCase()}\x1B[0m`}}var gd=function(t,e){return gd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},gd(t,e)};function Ar(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");gd(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var ho=function(){return ho=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},ho.apply(this,arguments)};function Yv(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function Rr(t,e,r,n){var o=arguments.length,i=o<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(i=(o<3?a(i):o>3?a(e,r,i):a(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i}function nE(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})}function Qv(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(l){return function(u){return c([l,u])}}function c(l){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(r=0)),r;)try{if(n=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,o=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(u){l=[6,u],o=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function fo(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ir(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),o,i=[],a;try{for(;(e===void 0||e-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return i}function tn(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,i;n<o;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))}function ai(t){return this instanceof ai?(this.v=t,this):new ai(t)}function oE(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),o,i=[];return o={},a("next"),a("throw"),a("return"),o[Symbol.asyncIterator]=function(){return this},o;function a(d){n[d]&&(o[d]=function(f){return new Promise(function(m,v){i.push([d,f,m,v])>1||s(d,f)})})}function s(d,f){try{c(n[d](f))}catch(m){h(i[0][3],m)}}function c(d){d.value instanceof ai?Promise.resolve(d.value.v).then(l,u):h(i[0][2],d)}function l(d){s("next",d)}function u(d){s("throw",d)}function h(d,f){d(f),i.shift(),i.length&&s(i[0][0],i[0][1])}}function iE(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof fo=="function"?fo(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(a){return new Promise(function(s,c){a=t[i](a),o(s,c,a.done,a.value)})}}function o(i,a,s,c){Promise.resolve(c).then(function(l){i({value:l,done:s})},a)}}function de(t){return typeof t=="function"}function pl(t){var e=function(n){Error.call(n),n.stack=new Error().stack},r=t(e);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var tu=pl(function(t){return function(r){t(this),this.message=r?r.length+` errors occurred during unsubscription:
34
34
  `+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
35
- `):"",this.name="UnsubscriptionError",this.errors=r}});function kc(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var an=function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=fo(a),c=s.next();!c.done;c=s.next()){var l=c.value;l.remove(this)}}catch(v){e={error:v}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}else a.remove(this);var u=this.initialTeardown;if(de(u))try{u()}catch(v){i=v instanceof tu?v.errors:[v]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var d=fo(h),f=d.next();!f.done;f=d.next()){var m=f.value;try{gp(m)}catch(v){i=i!=null?i:[],v instanceof tu?i=tn(tn([],Ir(i)),Ir(v.errors)):i.push(v)}}}catch(v){n={error:v}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}}if(i)throw new tu(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)gp(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}},t.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},t.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},t.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&kc(r,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&kc(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),Jv=an.EMPTY;function Xv(t){return t instanceof an||t&&"closed"in t&&de(t.remove)&&de(t.add)&&de(t.unsubscribe)}function gp(t){de(t)?t():t.unsubscribe()}var xh={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},md={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=md.delegate;return o!=null&&o.setTimeout?o.setTimeout.apply(o,tn([t,e],Ir(r))):setTimeout.apply(void 0,tn([t,e],Ir(r)))},clearTimeout:function(t){var e=md.delegate;return((e==null?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Zv(t){md.setTimeout(function(){throw t})}function Ac(){}var Is=null;function Gs(t){if(xh.useDeprecatedSynchronousErrorHandling){var e=!Is;if(e&&(Is={errorThrown:!1,error:null}),t(),e){var r=Is,n=r.errorThrown,o=r.error;if(Is=null,n)throw o}}else t()}var Mh=function(t){Ar(e,t);function e(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Xv(r)&&r.add(n)):n.destination=lE,n}return e.create=function(r,n,o){return new Rc(r,n,o)},e.prototype.next=function(r){this.isStopped||this._next(r)},e.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},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),this.destination=null)},e.prototype._next=function(r){this.destination.next(r)},e.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(an),aE=Function.prototype.bind;function ru(t,e){return aE.call(t,e)}var sE=function(){function t(e){this.partialObserver=e}return t.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(n){ks(n)}},t.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(n){ks(n)}else ks(e)},t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(r){ks(r)}},t}(),Rc=function(t){Ar(e,t);function e(r,n,o){var i=t.call(this)||this,a;if(de(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:o!=null?o:void 0};else{var s;i&&xh.useDeprecatedNextContext?(s=Object.create(r),s.unsubscribe=function(){return i.unsubscribe()},a={next:r.next&&ru(r.next,s),error:r.error&&ru(r.error,s),complete:r.complete&&ru(r.complete,s)}):a=r}return i.destination=new sE(a),i}return e}(Mh);function ks(t){Zv(t)}function cE(t){throw t}var lE={closed:!0,next:Ac,error:cE,complete:Ac},Uh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ki(t){return t}function uE(t){return t.length===0?ki:t.length===1?t[0]:function(r){return t.reduce(function(n,o){return o(n)},r)}}var Ie=function(){function t(e){e&&(this._subscribe=e)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(e,r,n){var o=this,i=hE(e)?e:new Rc(e,r,n);return Gs(function(){var a=o,s=a.operator,c=a.source;i.add(s?s.call(i,c):c?o._subscribe(i):o._trySubscribe(i))}),i},t.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(r){e.error(r)}},t.prototype.forEach=function(e,r){var n=this;return r=mp(r),new r(function(o,i){var a=new Rc({next:function(s){try{e(s)}catch(c){i(c),a.unsubscribe()}},error:i,complete:o});n.subscribe(a)})},t.prototype._subscribe=function(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)},t.prototype[Uh]=function(){return this},t.prototype.pipe=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return uE(e)(this)},t.prototype.toPromise=function(e){var r=this;return e=mp(e),new e(function(n,o){var i;r.subscribe(function(a){return i=a},function(a){return o(a)},function(){return n(i)})})},t.create=function(e){return new t(e)},t}();function mp(t){var e;return(e=t!=null?t:xh.Promise)!==null&&e!==void 0?e:Promise}function dE(t){return t&&de(t.next)&&de(t.error)&&de(t.complete)}function hE(t){return t&&t instanceof Mh||dE(t)&&Xv(t)}function fE(t){return de(t==null?void 0:t.lift)}function Be(t){return function(e){if(fE(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ue(t,e,r,n,o){return new pE(t,e,r,n,o)}var pE=function(t){Ar(e,t);function e(r,n,o,i,a,s){var c=t.call(this,r)||this;return c.onFinalize=a,c.shouldUnsubscribe=s,c._next=n?function(l){try{n(l)}catch(u){r.error(u)}}:t.prototype._next,c._error=i?function(l){try{i(l)}catch(u){r.error(u)}finally{this.unsubscribe()}}:t.prototype._error,c._complete=o?function(){try{o()}catch(l){r.error(l)}finally{this.unsubscribe()}}:t.prototype._complete,c}return e.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},e}(Mh),gE=pl(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Gr=function(t){Ar(e,t);function e(){var r=t.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return e.prototype.lift=function(r){var n=new vp(this,this);return n.operator=r,n},e.prototype._throwIfClosed=function(){if(this.closed)throw new gE},e.prototype.next=function(r){var n=this;Gs(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=fo(n.currentObservers),s=a.next();!s.done;s=a.next()){var c=s.value;c.next(r)}}catch(l){o={error:l}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}}})},e.prototype.error=function(r){var n=this;Gs(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},e.prototype.complete=function(){var r=this;Gs(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(r){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,r)},e.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},e.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,a=o.isStopped,s=o.observers;return i||a?Jv:(this.currentObservers=null,s.push(r),new an(function(){n.currentObservers=null,kc(s,r)}))},e.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,a=n.isStopped;o?r.error(i):a&&r.complete()},e.prototype.asObservable=function(){var r=new Ie;return r.source=this,r},e.create=function(r,n){return new vp(r,n)},e}(Ie),vp=function(t){Ar(e,t);function e(r,n){var o=t.call(this)||this;return o.destination=r,o.source=n,o}return e.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},e.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},e.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},e.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:Jv},e}(Gr),gl=function(t){Ar(e,t);function e(r){var n=t.call(this)||this;return n._value=r,n}return Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(r){var n=t.prototype._subscribe.call(this,r);return!n.closed&&r.next(this._value),n},e.prototype.getValue=function(){var r=this,n=r.hasError,o=r.thrownError,i=r._value;if(n)throw o;return this._throwIfClosed(),i},e.prototype.next=function(r){t.prototype.next.call(this,this._value=r)},e}(Gr),Lh={now:function(){return(Lh.delegate||Date).now()},delegate:void 0},ey=function(t){Ar(e,t);function e(r,n,o){r===void 0&&(r=1/0),n===void 0&&(n=1/0),o===void 0&&(o=Lh);var i=t.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return e.prototype.next=function(r){var n=this,o=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,s=n._timestampProvider,c=n._windowTime;o||(i.push(r),!a&&i.push(s.now()+c)),this._trimBuffer(),t.prototype.next.call(this,r)},e.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),o=this,i=o._infiniteTimeWindow,a=o._buffer,s=a.slice(),c=0;c<s.length&&!r.closed;c+=i?1:2)r.next(s[c]);return this._checkFinalizedStatuses(r),n},e.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,o=r._timestampProvider,i=r._buffer,a=r._infiniteTimeWindow,s=(a?1:2)*n;if(n<1/0&&s<i.length&&i.splice(0,i.length-s),!a){for(var c=o.now(),l=0,u=1;u<i.length&&i[u]<=c;u+=2)l=u;l&&i.splice(0,l+1)}},e}(Gr),mE=function(t){Ar(e,t);function e(r,n){return t.call(this)||this}return e.prototype.schedule=function(r,n){return this},e}(an),Pc={setInterval:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=Pc.delegate;return o!=null&&o.setInterval?o.setInterval.apply(o,tn([t,e],Ir(r))):setInterval.apply(void 0,tn([t,e],Ir(r)))},clearInterval:function(t){var e=Pc.delegate;return((e==null?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0},vE=function(t){Ar(e,t);function e(r,n){var o=t.call(this,r,n)||this;return o.scheduler=r,o.work=n,o.pending=!1,o}return e.prototype.schedule=function(r,n){var o;if(n===void 0&&(n=0),this.closed)return this;this.state=r;var i=this.id,a=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(a,i,n)),this.pending=!0,this.delay=n,this.id=(o=this.id)!==null&&o!==void 0?o:this.requestAsyncId(a,this.id,n),this},e.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),Pc.setInterval(r.flush.bind(r,this),o)},e.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return n;n!=null&&Pc.clearInterval(n)},e.prototype.execute=function(r,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(r,n);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(r,n){var o=!1,i;try{this.work(r)}catch(a){o=!0,i=a||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),i},e.prototype.unsubscribe=function(){if(!this.closed){var r=this,n=r.id,o=r.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,kc(i,this),n!=null&&(this.id=this.recycleAsyncId(o,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e}(mE),yp=function(){function t(e,r){r===void 0&&(r=t.now),this.schedulerActionCtor=e,this.now=r}return t.prototype.schedule=function(e,r,n){return r===void 0&&(r=0),new this.schedulerActionCtor(this,e).schedule(n,r)},t.now=Lh.now,t}(),yE=function(t){Ar(e,t);function e(r,n){n===void 0&&(n=yp.now);var o=t.call(this,r,n)||this;return o.actions=[],o._active=!1,o}return e.prototype.flush=function(r){var n=this.actions;if(this._active){n.push(r);return}var o;this._active=!0;do if(o=r.execute(r.state,r.delay))break;while(r=n.shift());if(this._active=!1,o){for(;r=n.shift();)r.unsubscribe();throw o}},e}(yp),Nc=new yE(vE),_E=Nc,po=new Ie(function(t){return t.complete()});function ty(t){return t&&de(t.schedule)}function Dh(t){return t[t.length-1]}function wE(t){return de(Dh(t))?t.pop():void 0}function ry(t){return ty(Dh(t))?t.pop():void 0}function EE(t,e){return typeof Dh(t)=="number"?t.pop():e}var Hh=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function ny(t){return de(t==null?void 0:t.then)}function oy(t){return de(t[Uh])}function iy(t){return Symbol.asyncIterator&&de(t==null?void 0:t[Symbol.asyncIterator])}function ay(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function CE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var sy=CE();function cy(t){return de(t==null?void 0:t[sy])}function ly(t){return oE(this,arguments,function(){var r,n,o,i;return Qv(this,function(a){switch(a.label){case 0:r=t.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,ai(r.read())];case 3:return n=a.sent(),o=n.value,i=n.done,i?[4,ai(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,ai(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function uy(t){return de(t==null?void 0:t.getReader)}function Bt(t){if(t instanceof Ie)return t;if(t!=null){if(oy(t))return SE(t);if(Hh(t))return TE(t);if(ny(t))return bE(t);if(iy(t))return dy(t);if(cy(t))return IE(t);if(uy(t))return kE(t)}throw ay(t)}function SE(t){return new Ie(function(e){var r=t[Uh]();if(de(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function TE(t){return new Ie(function(e){for(var r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function bE(t){return new Ie(function(e){t.then(function(r){e.closed||(e.next(r),e.complete())},function(r){return e.error(r)}).then(null,Zv)})}function IE(t){return new Ie(function(e){var r,n;try{for(var o=fo(t),i=o.next();!i.done;i=o.next()){var a=i.value;if(e.next(a),e.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}e.complete()})}function dy(t){return new Ie(function(e){AE(t,e).catch(function(r){return e.error(r)})})}function kE(t){return dy(ly(t))}function AE(t,e){var r,n,o,i;return nE(this,void 0,void 0,function(){var a,s;return Qv(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),r=iE(t),c.label=1;case 1:return[4,r.next()];case 2:if(n=c.sent(),!!n.done)return[3,4];if(a=n.value,e.next(a),e.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=c.sent(),o={error:s},[3,11];case 6:return c.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return e.complete(),[2]}})})}function Vr(t,e,r,n,o){n===void 0&&(n=0),o===void 0&&(o=!1);var i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Oc(t,e){return e===void 0&&(e=0),Be(function(r,n){r.subscribe(Ue(n,function(o){return Vr(n,t,function(){return n.next(o)},e)},function(){return Vr(n,t,function(){return n.complete()},e)},function(o){return Vr(n,t,function(){return n.error(o)},e)}))})}function hy(t,e){return e===void 0&&(e=0),Be(function(r,n){n.add(t.schedule(function(){return r.subscribe(n)},e))})}function RE(t,e){return Bt(t).pipe(hy(e),Oc(e))}function PE(t,e){return Bt(t).pipe(hy(e),Oc(e))}function NE(t,e){return new Ie(function(r){var n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function OE(t,e){return new Ie(function(r){var n;return Vr(r,e,function(){n=t[sy](),Vr(r,e,function(){var o,i,a;try{o=n.next(),i=o.value,a=o.done}catch(s){r.error(s);return}a?r.complete():r.next(i)},0,!0)}),function(){return de(n==null?void 0:n.return)&&n.return()}})}function fy(t,e){if(!t)throw new Error("Iterable cannot be null");return new Ie(function(r){Vr(r,e,function(){var n=t[Symbol.asyncIterator]();Vr(r,e,function(){n.next().then(function(o){o.done?r.complete():r.next(o.value)})},0,!0)})})}function xE(t,e){return fy(ly(t),e)}function ME(t,e){if(t!=null){if(oy(t))return RE(t,e);if(Hh(t))return NE(t,e);if(ny(t))return PE(t,e);if(iy(t))return fy(t,e);if(cy(t))return OE(t,e);if(uy(t))return xE(t,e)}throw ay(t)}function br(t,e){return e?ME(t,e):Bt(t)}function ml(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=ry(t);return br(t,r)}function UE(t,e){var r=de(t)?t:function(){return t},n=function(o){return o.error(r())};return new Ie(e?function(o){return e.schedule(n,0,o)}:n)}var vl=pl(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function xc(t,e){var r=typeof e=="object";return new Promise(function(n,o){var i=!1,a;t.subscribe({next:function(s){a=s,i=!0},error:o,complete:function(){i?n(a):r?n(e.defaultValue):o(new vl)}})})}function go(t,e){var r=typeof e=="object";return new Promise(function(n,o){var i=new Rc({next:function(a){n(a),i.unsubscribe()},error:o,complete:function(){r?n(e.defaultValue):o(new vl)}});t.subscribe(i)})}function py(t){return t instanceof Date&&!isNaN(t)}var LE=pl(function(t){return function(r){r===void 0&&(r=null),t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r}});function DE(t,e){var r=py(t)?{first:t}:typeof t=="number"?{each:t}:t,n=r.first,o=r.each,i=r.with,a=i===void 0?HE:i,s=r.scheduler,c=s===void 0?e!=null?e:Nc:s,l=r.meta,u=l===void 0?null:l;if(n==null&&o==null)throw new TypeError("No timeout provided.");return Be(function(h,d){var f,m,v=null,E=0,g=function(p){m=Vr(d,c,function(){try{f.unsubscribe(),Bt(a({meta:u,lastValue:v,seen:E})).subscribe(d)}catch(y){d.error(y)}},p)};f=h.subscribe(Ue(d,function(p){m==null||m.unsubscribe(),E++,d.next(v=p),o>0&&g(o)},void 0,void 0,function(){m!=null&&m.closed||m==null||m.unsubscribe(),v=null})),!E&&g(n!=null?typeof n=="number"?n:+n-c.now():o)})}function HE(t){throw new LE(t)}function yt(t,e){return Be(function(r,n){var o=0;r.subscribe(Ue(n,function(i){n.next(t.call(e,i,o++))}))})}var FE=Array.isArray;function $E(t,e){return FE(e)?t.apply(void 0,tn([],Ir(e))):t(e)}function zE(t){return yt(function(e){return $E(t,e)})}function gy(t,e,r,n,o,i,a,s){var c=[],l=0,u=0,h=!1,d=function(){h&&!c.length&&!l&&e.complete()},f=function(v){return l<n?m(v):c.push(v)},m=function(v){i&&e.next(v),l++;var E=!1;Bt(r(v,u++)).subscribe(Ue(e,function(g){o==null||o(g),i?f(g):e.next(g)},function(){E=!0},void 0,function(){if(E)try{l--;for(var g=function(){var p=c.shift();a?Vr(e,a,function(){return m(p)}):m(p)};c.length&&l<n;)g();d()}catch(p){e.error(p)}}))};return t.subscribe(Ue(e,f,function(){h=!0,d()})),function(){s==null||s()}}function mo(t,e,r){return r===void 0&&(r=1/0),de(e)?mo(function(n,o){return yt(function(i,a){return e(n,i,o,a)})(Bt(t(n,o)))},r):(typeof e=="number"&&(r=e),Be(function(n,o){return gy(n,o,t,r)}))}function jE(t){return t===void 0&&(t=1/0),mo(ki,t)}var BE=["addListener","removeListener"],qE=["addEventListener","removeEventListener"],KE=["on","off"];function vd(t,e,r,n){if(de(r)&&(n=r,r=void 0),n)return vd(t,e,r).pipe(zE(n));var o=Ir(WE(t)?qE.map(function(s){return function(c){return t[s](e,c,r)}}):GE(t)?BE.map(_p(t,e)):VE(t)?KE.map(_p(t,e)):[],2),i=o[0],a=o[1];if(!i&&Hh(t))return mo(function(s){return vd(s,e,r)})(Bt(t));if(!i)throw new TypeError("Invalid event target");return new Ie(function(s){var c=function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return s.next(1<l.length?l:l[0])};return i(c),function(){return a(c)}})}function _p(t,e){return function(r){return function(n){return t[r](e,n)}}}function GE(t){return de(t.addListener)&&de(t.removeListener)}function VE(t){return de(t.on)&&de(t.off)}function WE(t){return de(t.addEventListener)&&de(t.removeEventListener)}function YE(t,e,r){t===void 0&&(t=0),r===void 0&&(r=_E);var n=-1;return e!=null&&(ty(e)?r=e:n=e),new Ie(function(o){var i=py(t)?+t-r.now():t;i<0&&(i=0);var a=0;return r.schedule(function(){o.closed||(o.next(a++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function QE(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=ry(t),n=EE(t,1/0),o=t;return o.length?o.length===1?Bt(o[0]):jE(n)(br(o,r)):po}function Ai(t,e){return Be(function(r,n){var o=0;r.subscribe(Ue(n,function(i){return t.call(e,i,o++)&&n.next(i)}))})}function rn(t){return Be(function(e,r){var n=null,o=!1,i;n=e.subscribe(Ue(r,void 0,void 0,function(a){i=Bt(t(a,rn(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function JE(t,e,r,n,o){return function(i,a){var s=r,c=e,l=0;i.subscribe(Ue(a,function(u){var h=l++;c=s?t(c,u,h):(s=!0,u),n&&a.next(c)},o&&function(){s&&a.next(c),a.complete()}))}}function XE(t){return Be(function(e,r){var n=!1;e.subscribe(Ue(r,function(o){n=!0,r.next(o)},function(){n||r.next(t),r.complete()}))})}function my(t,e){return e===void 0&&(e=ki),t=t!=null?t:ZE,Be(function(r,n){var o,i=!0;r.subscribe(Ue(n,function(a){var s=e(a);(i||!t(o,s))&&(i=!1,o=s,n.next(a))}))})}function ZE(t,e){return t===e}function vy(t){return t===void 0&&(t=eC),Be(function(e,r){var n=!1;e.subscribe(Ue(r,function(o){n=!0,r.next(o)},function(){return n?r.complete():r.error(t())}))})}function eC(){return new vl}function tC(t){return t<=0?function(){return po}:Be(function(e,r){var n=[];e.subscribe(Ue(r,function(o){n.push(o),t<n.length&&n.shift()},function(){var o,i;try{for(var a=fo(n),s=a.next();!s.done;s=a.next()){var c=s.value;r.next(c)}}catch(l){o={error:l}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}r.complete()},void 0,function(){n=null}))})}function rC(t,e){var r=arguments.length>=2;return function(n){return n.pipe(t?Ai(function(o,i){return t(o,i,n)}):ki,tC(1),r?XE(e):vy(function(){return new vl}))}}function nC(t,e,r){return r===void 0&&(r=1/0),Be(function(n,o){var i=e;return gy(n,o,function(a,s){return t(i,a,s)},r,function(a){i=a},!1,void 0,function(){return i=null})})}function yy(){return Be(function(t,e){var r,n=!1;t.subscribe(Ue(e,function(o){var i=r;r=o,n&&e.next([i,o]),n=!0}))})}function Fh(t,e){return Be(JE(t,e,arguments.length>=2,!0))}function Qn(t,e){return Be(function(r,n){var o=null,i=0,a=!1,s=function(){return a&&!o&&n.complete()};r.subscribe(Ue(n,function(c){o==null||o.unsubscribe();var l=0,u=i++;Bt(t(c,u)).subscribe(o=Ue(n,function(h){return n.next(e?e(c,h,u,l++):h)},function(){o=null,s()}))},function(){a=!0,s()}))})}function oC(t){return Be(function(e,r){Bt(t).subscribe(Ue(r,function(){return r.complete()},Ac)),!r.closed&&e.subscribe(r)})}function _y(t,e){return e===void 0&&(e=!1),Be(function(r,n){var o=0;r.subscribe(Ue(n,function(i){var a=t(i,o++);(a||e)&&n.next(i),!a&&n.complete()}))})}function yd(t,e,r){var n=de(t)||e||r?{next:t,error:e,complete:r}:t;return n?Be(function(o,i){var a;(a=n.subscribe)===null||a===void 0||a.call(n);var s=!0;o.subscribe(Ue(i,function(c){var l;(l=n.next)===null||l===void 0||l.call(n,c),i.next(c)},function(){var c;s=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},function(c){var l;s=!1,(l=n.error)===null||l===void 0||l.call(n,c),i.error(c)},function(){var c,l;s&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(l=n.finalize)===null||l===void 0||l.call(n)}))}):ki}function iC(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=wE(t);return Be(function(n,o){for(var i=t.length,a=new Array(i),s=t.map(function(){return!1}),c=!1,l=function(h){Bt(t[h]).subscribe(Ue(o,function(d){a[h]=d,!c&&!s[h]&&(s[h]=!0,(c=s.every(ki))&&(s=null))},Ac))},u=0;u<i;u++)l(u);n.subscribe(Ue(o,function(h){if(c){var d=tn([h],Ir(a));o.next(r?r.apply(void 0,tn([],Ir(d))):d)}}))})}var mr=globalThis&&globalThis.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})};class aC extends Error{constructor(){super("It was too slow"),this.name="RequiredModuleTimeoutError"}}class sC{constructor(e){this.logger=new Wv("ModulesConfigurator"),this._configs=[],this._afterConfiguration=[],this._afterInit=[],this._modules=new Set(e)}get modules(){return[...this._modules]}configure(...e){e.forEach(r=>this.addConfig(r))}addConfig(e){const{module:r,afterConfig:n,afterInit:o,configure:i}=e;this._modules.add(r),i&&this._configs.push((a,s)=>i(a[r.name],s)),n&&this._afterConfiguration.push(a=>n(a[r.name])),o&&this._afterInit.push(a=>o(a[r.name]))}onConfigured(e){this._afterConfiguration.push(e)}onInitialized(e){this._afterInit.push(e)}initialize(e){return mr(this,void 0,void 0,function*(){const r=yield this._configure(e),n=yield this._initialize(r,e);return yield this._postInitialize(n,e),Object.seal(Object.assign({},n,{dispose:()=>this.dispose(n)}))})}_configure(e){return mr(this,void 0,void 0,function*(){const r=yield this._createConfig(e);return yield Promise.all(this._configs.map(n=>Promise.resolve(n(r,e)))),yield this._postConfigure(r),r})}_createConfig(e){const{modules:r,logger:n,_afterConfiguration:o,_afterInit:i}=this,a=br(r).pipe(mo(s=>mr(this,void 0,void 0,function*(){var c;n.debug(`\u{1F6E0} creating configurator ${n.formatModuleName(s)}`);try{const l=yield(c=s.configure)===null||c===void 0?void 0:c.call(s,e);return n.debug(`\u{1F6E0} created configurator for ${n.formatModuleName(s)}`,l),{[s.name]:l}}catch(l){throw n.error(`\u{1F6E0} Failed to created configurator for ${n.formatModuleName(s)}`,l),l}})),Fh((s,c)=>Object.assign(s,c),{onAfterConfiguration(s){o.push(s)},onAfterInit(s){i.push(s)}}));return xc(a)}_postConfigure(e){return mr(this,void 0,void 0,function*(){const{modules:r,logger:n,_afterConfiguration:o}=this;if(yield Promise.allSettled(r.filter(i=>!!i.postConfigure).map(i=>mr(this,void 0,void 0,function*(){var a;try{yield(a=i.postConfigure)===null||a===void 0?void 0:a.call(i,e),n.debug(`\u{1F3D7}\u{1F4CC} post configured ${n.formatModuleName(i)}`,i)}catch{n.warn(`\u{1F3D7}\u{1F4CC} post configure failed ${n.formatModuleName(i)}`)}}))),o.length)try{n.debug(`\u{1F3D7}\u{1F4CC} post configure hooks [${o.length}]`),yield Promise.allSettled(o.map(i=>Promise.resolve(i(e)))),n.debug("\u{1F3D7}\u{1F4CC} post configure hooks complete")}catch(i){n.warn("\u{1F3D7}\u{1F4CC} post configure hook failed",i)}})}_initialize(e,r){return mr(this,void 0,void 0,function*(){const{modules:n,logger:o}=this,i=n.map(u=>u.name),a=new gl({}),s=u=>i.includes(u),c=(u,h=60)=>{if(!i.includes(u))throw o.error(`\u{1F680}\u231B\uFE0F Cannot not require ${o.formatModuleName(String(u))} since module is not defined!`),Error(`cannot not require [${String(u)}] since module is not defined!`);return a.value[u]?(o.debug(`\u{1F680}\u231B\uFE0F ${o.formatModuleName(String(u))} is initiated, skipping queue`),Promise.resolve(a.value[u])):(o.debug(`\u{1F680}\u231B\uFE0F Awaiting init ${o.formatModuleName(String(u))}, timeout ${h}s`),go(a.pipe(Ai(d=>!!d[u]),yt(d=>d[u]),DE({each:h*1e3,with:()=>UE(()=>new aC)}))))};br(n).pipe(mo(u=>{const h=u.name;return o.debug(`\u{1F680} initializing ${o.formatModuleName(u)}`),br(Promise.resolve(u.initialize({ref:r,config:e[h],requireInstance:c,hasModule:s}))).pipe(yt(d=>(o.debug(`\u{1F680} initialized ${o.formatModuleName(u)}`),[h,d])))})).subscribe({next:([u,h])=>{a.next(Object.assign(a.value,{[u]:h}))},complete:()=>a.complete()});const l=yield xc(a);return Object.seal(l),l})}_postInitialize(e,r){return mr(this,void 0,void 0,function*(){const{modules:n,logger:o,_afterInit:i}=this;if(yield Promise.allSettled(n.filter(a=>!!a.postInitialize).map(a=>mr(this,void 0,void 0,function*(){var s;try{o.debug(`\u{1F680}\u{1F4CC} post initializing moule ${o.formatModuleName(a)}`),yield(s=a.postInitialize)===null||s===void 0?void 0:s.call(a,{ref:r,modules:e,instance:e[a.name]}),o.debug(`\u{1F680}\u{1F4CC} post initialized moule ${o.formatModuleName(a)}`)}catch{o.warn(`\u{1F680}\u{1F4CC} post initialize failed moule ${o.formatModuleName(a)}`)}}))),i.length)try{o.debug(`\u{1F680}\u{1F4CC} post configure hooks [${i.length}]`),yield Promise.allSettled(i.map(a=>Promise.resolve(a(e)))),o.debug("\u{1F680}\u{1F4CC} post configure hooks complete")}catch(a){o.warn("\u{1F680}\u{1F4CC} post configure hook failed",a)}o.debug(`\u{1F389} Modules initialized ${n.map(o.formatModuleName)}`,e),o.info("\u{1F7E2} Modules initialized")})}dispose(e,r){return mr(this,void 0,void 0,function*(){const{modules:n}=this;yield Promise.allSettled(n.filter(o=>!!o.dispose).map(o=>mr(this,void 0,void 0,function*(){var i;yield(i=o.dispose)===null||i===void 0?void 0:i.call(o,{ref:r,modules:e,instance:e[o.name]})})))})}}var bo=globalThis&&globalThis.__classPrivateFieldSet||function(t,e,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(t,r):o?o.value=r:e.set(t,r),r},$n=globalThis&&globalThis.__classPrivateFieldGet||function(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)},Vs,Ws,Zi,Ys,ea,_d;class cC{constructor(e,r){this.__type=e,Vs.set(this,void 0),Ws.set(this,void 0),Zi.set(this,!1),Ys.set(this,void 0),ea.set(this,void 0),_d.set(this,Date.now()),bo(this,Vs,r.detail,"f"),bo(this,Ws,r.source,"f"),bo(this,Ys,!!r.cancelable,"f"),bo(this,ea,r.canBubble===void 0?!0:r.canBubble,"f")}get bubbles(){return $n(this,ea,"f")&&!$n(this,Zi,"f")}get created(){return $n(this,_d,"f")}get cancelable(){return $n(this,Ys,"f")}get canceled(){return $n(this,Zi,"f")}get detail(){return $n(this,Vs,"f")}get source(){return $n(this,Ws,"f")}get type(){return this.__type}preventDefault(){this.cancelable&&bo(this,Zi,!0,"f")}stopPropagation(){bo(this,ea,!1,"f")}}Vs=new WeakMap,Ws=new WeakMap,Zi=new WeakMap,Ys=new WeakMap,ea=new WeakMap,_d=new WeakMap;var lC=globalThis&&globalThis.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})};class uC{constructor({onDispatch:e,onBubble:r}){this.__onDispatch=e,this.__onBubble=r}dispatch(e,r){var n,o;return lC(this,void 0,void 0,function*(){try{yield(n=this.__onDispatch)===null||n===void 0?void 0:n.call(this,e)}catch(a){throw a}const i=e;if(!i.dispatcher)i.dispatcher=this;else if(i.dispatcher===this)throw Error("loop detected");for(const a of r)e.cancelable?e.canceled||(yield Promise.resolve(a(e))):a(e);if(e.bubbles)try{yield(o=this.__onBubble)===null||o===void 0?void 0:o.call(this,e)}catch(a){throw a}})}}var wp=globalThis&&globalThis.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})};class dC extends Ie{get closed(){return this.__event$.closed}constructor(e){super(r=>{this.__event$.subscribe(r)}),this.__listeners=[],this.__event$=new Gr,this.__dispatcher=new uC({onDispatch:e.onDispatch,onBubble:e.onBubble})}addEventListener(e,r){if(this.closed)throw Error("Cannot listen to events when provider is closed!");const n={type:e,handler:r};return this.__listeners.push(n),()=>{const o=this.__listeners.indexOf(n);0<=o&&this.__listeners.splice(o,1)}}dispatchEvent(e,r){return wp(this,void 0,void 0,function*(){if(typeof e=="string"){if(!r)throw Error("invalid arguments, missing [FrameworkEventInit]");return this._dispatchEvent(new cC(e,r))}else return this._dispatchEvent(e)})}_dispatchEvent(e){return wp(this,void 0,void 0,function*(){if(this.closed)throw Error("Cannot dispatch events when provider is closed!");this.__event$.next(e);try{const r=this.__listeners.filter(n=>n.type===e.type).map(({handler:n})=>n);yield this.__dispatcher.dispatch(e,r)}catch(r){throw r}return e})}dispose(){this.__listeners=[],this.__event$.complete()}}var hC=globalThis&&globalThis.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})};const fC="event",pC={name:fC,configure:t=>{const e={},r=t==null?void 0:t.event;return r&&(e.onBubble=n=>hC(void 0,void 0,void 0,function*(){yield r.dispatchEvent(n)})),e},initialize:({config:t})=>new dC(t),postInitialize({instance:t,modules:e}){t.dispatchEvent("onModulesLoaded",{detail:e,source:t})},dispose({instance:t}){t.dispose()}};class wy{constructor(){this._operators={}}add(e,r){if(Object.keys(this._operators).includes(e))throw Error(`Operator [${e}] already defined`);return this.set(e,r)}set(e,r){return this._operators[e]=r,this}get(e){return this._operators[e]}process(e){return Object.values(this._operators).length?br(Object.values(this._operators)).pipe(nC((n,o)=>Promise.resolve(o(n)).then(i=>i!=null?i:n),e,1),rC()):ml(e)}}const gC=(t,e)=>r=>{const n=new Headers(r.headers);return n.append(t,e),Object.assign(Object.assign({},r),{headers:n})};class Ey extends wy{setHeader(e,r){const n=gC(e,r);return this.set("header-"+e,n)}}class mC extends wy{}class vC{get clients(){return Object.assign({},this._clients)}constructor(e){this._clients={},this.defaultHttpRequestHandler=new Ey,this.defaultHttpClientCtor=e}hasClient(e){return Object.keys(this._clients).includes(e)}configureClient(e,r){const n=typeof r=="string"?i=>i.uri=String(r):r,o=typeof n=="function"?{onCreate:n}:n;return this._clients[e]=Object.assign(Object.assign({},this._clients[e]),o),this}}class yC extends Error{constructor(e){super(e)}}const _C=t=>new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t);class wC{get defaultHttpRequestHandler(){return this.config.defaultHttpRequestHandler}constructor(e){this.config=e}hasClient(e){return Object.keys(this.config.clients).includes(e)}createClient(e){const r=this._resolveConfig(e),{baseUri:n,defaultScopes:o=[],onCreate:i,ctor:a=this.config.defaultHttpClientCtor,requestHandler:s=this.defaultHttpRequestHandler}=r,c={requestHandler:s},l=new a(n||"",c);return Object.assign(l,{defaultScopes:o}),i&&i(l),l}createCustomClient(e){return this.createClient(e)}_resolveConfig(e){if(typeof e=="string"){const r=this.config.clients[e];if(!r&&_C(e))return{baseUri:e};if(!r)throw new yC(`No registered http client for key [${e}]`);return r}return e}}function EC(t,e){e===void 0&&(e={});var r=e.selector,n=Yv(e,["selector"]);return new Ie(function(o){var i=new AbortController,a=i.signal,s=!0,c=n.signal;if(c)if(c.aborted)i.abort();else{var l=function(){a.aborted||i.abort()};c.addEventListener("abort",l),o.add(function(){return c.removeEventListener("abort",l)})}var u=ho(ho({},n),{signal:a}),h=function(d){s=!1,o.error(d)};return fetch(t,u).then(function(d){r?Bt(r(d)).subscribe(Ue(o,void 0,function(){s=!1,o.complete()},h)):(s=!1,o.next(d),o.complete())}).catch(h),function(){s&&i.abort()}})}const CC=t=>{if(!t.ok)throw new Error("Network response was not OK");if(t.status===204)return Promise.resolve();try{return t.json()}catch{throw Error("failed to parse response")}};var Ep=globalThis&&globalThis.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r};class SC{get request$(){return this._request$.asObservable()}get response$(){return this._response$.asObservable()}constructor(e,r){var n,o;this.uri=e,this._request$=new Gr,this._response$=new Gr,this._abort$=new Gr,this.requestHandler=(n=r==null?void 0:r.requestHandler)!==null&&n!==void 0?n:new Ey,this.responseHandler=(o=r==null?void 0:r.responseHandler)!==null&&o!==void 0?o:new mC,this._init()}_init(){}fetch$(e,r){return this._fetch$(e,r)}fetch(e,r){return go(this.fetch$(e,r))}fetchAsync(e,r){return this.fetch(e,r)}json$(e,r){var n;const o=typeof(r==null?void 0:r.body)=="object"?JSON.stringify(r==null?void 0:r.body):r==null?void 0:r.body,i=(n=r==null?void 0:r.selector)!==null&&n!==void 0?n:CC;return new Headers(r==null?void 0:r.headers).append("Content-Type","application/json"),this.fetch$(e,Object.assign(Object.assign({},r),{body:o,selector:i}))}json(e,r){return go(this.json$(e,r))}jsonAsync(e,r){return this.json(e,r)}execute(e,r,n){return this[e](r,n)}abort(){this._abort$.next()}_fetch$(e,r){const n=r||{},{selector:o}=n,i=Ep(n,["selector"]);return ml(Object.assign(Object.assign({},i),{uri:this._resolveUrl(e)})).pipe(Qn(s=>this._prepareRequest(s)),yd(s=>this._request$.next(s)),Qn(s=>{var{uri:c,path:l}=s,u=Ep(s,["uri","path"]);return EC(c,u)}),Qn(s=>this._prepareResponse(s)),yd(s=>this._response$.next(s)),Qn(s=>o?o(s):Promise.resolve(s)),oC(this._abort$))}_prepareRequest(e){return this.requestHandler.process(e)}_prepareResponse(e){return this.responseHandler.process(e)}_resolveUrl(e){const r=this.uri||window.location.origin;return new URL(e,r).href}}class TC extends SC{constructor(){super(...arguments),this.defaultScopes=[]}fetch$(e,r){const n=Object.assign(r||{},{scopes:this.defaultScopes.concat((r==null?void 0:r.scopes)||[])});return super._fetch$(e,n)}}var Cp=globalThis&&globalThis.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})};const $h={name:"http",configure:()=>new vC(TC),initialize:({config:t,hasModule:e,requireInstance:r})=>Cp(void 0,void 0,void 0,function*(){const n=new wC(t);if(e("auth")){const o=yield r("auth");n.defaultHttpRequestHandler.set("MSAL",i=>Cp(void 0,void 0,void 0,function*(){const{scopes:a=[]}=i;if(a.length){const s=yield o.acquireToken({scopes:a});if(s){const c=new Headers(i.headers);return c.set("Authorization",`Bearer ${s.accessToken}`),Object.assign(Object.assign({},i),{headers:c})}}}))}return n})},bC=t=>({module:$h,configure:t}),Cy=(t,e)=>({module:$h,configure:r=>{r.configureClient(t,e)}}),nu="default";class IC{constructor(){this._configs={},this.requiresAuth=!0}get defaultConfig(){return this._configs[nu]}getClientConfig(e){return this._configs[e]}configureClient(e,r){return this._configs[e]=r,this}configureDefault(e){if(this._configs[nu])throw Error("Default AuthClient already provided");this.configureClient(nu,e)}}/*! @azure/msal-browser v2.31.0 2022-11-07 *//*! *****************************************************************************
35
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function kc(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var an=function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=fo(a),c=s.next();!c.done;c=s.next()){var l=c.value;l.remove(this)}}catch(v){e={error:v}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}else a.remove(this);var u=this.initialTeardown;if(de(u))try{u()}catch(v){i=v instanceof tu?v.errors:[v]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var d=fo(h),f=d.next();!f.done;f=d.next()){var m=f.value;try{gp(m)}catch(v){i=i!=null?i:[],v instanceof tu?i=tn(tn([],Ir(i)),Ir(v.errors)):i.push(v)}}}catch(v){n={error:v}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}}if(i)throw new tu(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)gp(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}},t.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},t.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},t.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&kc(r,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&kc(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),Jv=an.EMPTY;function Xv(t){return t instanceof an||t&&"closed"in t&&de(t.remove)&&de(t.add)&&de(t.unsubscribe)}function gp(t){de(t)?t():t.unsubscribe()}var xh={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},md={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=md.delegate;return o!=null&&o.setTimeout?o.setTimeout.apply(o,tn([t,e],Ir(r))):setTimeout.apply(void 0,tn([t,e],Ir(r)))},clearTimeout:function(t){var e=md.delegate;return((e==null?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Zv(t){md.setTimeout(function(){throw t})}function Ac(){}var Is=null;function Gs(t){if(xh.useDeprecatedSynchronousErrorHandling){var e=!Is;if(e&&(Is={errorThrown:!1,error:null}),t(),e){var r=Is,n=r.errorThrown,o=r.error;if(Is=null,n)throw o}}else t()}var Mh=function(t){Ar(e,t);function e(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Xv(r)&&r.add(n)):n.destination=lE,n}return e.create=function(r,n,o){return new Rc(r,n,o)},e.prototype.next=function(r){this.isStopped||this._next(r)},e.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},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),this.destination=null)},e.prototype._next=function(r){this.destination.next(r)},e.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(an),aE=Function.prototype.bind;function ru(t,e){return aE.call(t,e)}var sE=function(){function t(e){this.partialObserver=e}return t.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(n){ks(n)}},t.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(n){ks(n)}else ks(e)},t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(r){ks(r)}},t}(),Rc=function(t){Ar(e,t);function e(r,n,o){var i=t.call(this)||this,a;if(de(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:o!=null?o:void 0};else{var s;i&&xh.useDeprecatedNextContext?(s=Object.create(r),s.unsubscribe=function(){return i.unsubscribe()},a={next:r.next&&ru(r.next,s),error:r.error&&ru(r.error,s),complete:r.complete&&ru(r.complete,s)}):a=r}return i.destination=new sE(a),i}return e}(Mh);function ks(t){Zv(t)}function cE(t){throw t}var lE={closed:!0,next:Ac,error:cE,complete:Ac},Uh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ki(t){return t}function uE(t){return t.length===0?ki:t.length===1?t[0]:function(r){return t.reduce(function(n,o){return o(n)},r)}}var Ie=function(){function t(e){e&&(this._subscribe=e)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(e,r,n){var o=this,i=hE(e)?e:new Rc(e,r,n);return Gs(function(){var a=o,s=a.operator,c=a.source;i.add(s?s.call(i,c):c?o._subscribe(i):o._trySubscribe(i))}),i},t.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(r){e.error(r)}},t.prototype.forEach=function(e,r){var n=this;return r=mp(r),new r(function(o,i){var a=new Rc({next:function(s){try{e(s)}catch(c){i(c),a.unsubscribe()}},error:i,complete:o});n.subscribe(a)})},t.prototype._subscribe=function(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)},t.prototype[Uh]=function(){return this},t.prototype.pipe=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return uE(e)(this)},t.prototype.toPromise=function(e){var r=this;return e=mp(e),new e(function(n,o){var i;r.subscribe(function(a){return i=a},function(a){return o(a)},function(){return n(i)})})},t.create=function(e){return new t(e)},t}();function mp(t){var e;return(e=t!=null?t:xh.Promise)!==null&&e!==void 0?e:Promise}function dE(t){return t&&de(t.next)&&de(t.error)&&de(t.complete)}function hE(t){return t&&t instanceof Mh||dE(t)&&Xv(t)}function fE(t){return de(t==null?void 0:t.lift)}function Be(t){return function(e){if(fE(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ue(t,e,r,n,o){return new pE(t,e,r,n,o)}var pE=function(t){Ar(e,t);function e(r,n,o,i,a,s){var c=t.call(this,r)||this;return c.onFinalize=a,c.shouldUnsubscribe=s,c._next=n?function(l){try{n(l)}catch(u){r.error(u)}}:t.prototype._next,c._error=i?function(l){try{i(l)}catch(u){r.error(u)}finally{this.unsubscribe()}}:t.prototype._error,c._complete=o?function(){try{o()}catch(l){r.error(l)}finally{this.unsubscribe()}}:t.prototype._complete,c}return e.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},e}(Mh),gE=pl(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Gr=function(t){Ar(e,t);function e(){var r=t.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return e.prototype.lift=function(r){var n=new vp(this,this);return n.operator=r,n},e.prototype._throwIfClosed=function(){if(this.closed)throw new gE},e.prototype.next=function(r){var n=this;Gs(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=fo(n.currentObservers),s=a.next();!s.done;s=a.next()){var c=s.value;c.next(r)}}catch(l){o={error:l}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}}})},e.prototype.error=function(r){var n=this;Gs(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},e.prototype.complete=function(){var r=this;Gs(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(r){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,r)},e.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},e.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,a=o.isStopped,s=o.observers;return i||a?Jv:(this.currentObservers=null,s.push(r),new an(function(){n.currentObservers=null,kc(s,r)}))},e.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,a=n.isStopped;o?r.error(i):a&&r.complete()},e.prototype.asObservable=function(){var r=new Ie;return r.source=this,r},e.create=function(r,n){return new vp(r,n)},e}(Ie),vp=function(t){Ar(e,t);function e(r,n){var o=t.call(this)||this;return o.destination=r,o.source=n,o}return e.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},e.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},e.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},e.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:Jv},e}(Gr),gl=function(t){Ar(e,t);function e(r){var n=t.call(this)||this;return n._value=r,n}return Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(r){var n=t.prototype._subscribe.call(this,r);return!n.closed&&r.next(this._value),n},e.prototype.getValue=function(){var r=this,n=r.hasError,o=r.thrownError,i=r._value;if(n)throw o;return this._throwIfClosed(),i},e.prototype.next=function(r){t.prototype.next.call(this,this._value=r)},e}(Gr),Lh={now:function(){return(Lh.delegate||Date).now()},delegate:void 0},ey=function(t){Ar(e,t);function e(r,n,o){r===void 0&&(r=1/0),n===void 0&&(n=1/0),o===void 0&&(o=Lh);var i=t.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return e.prototype.next=function(r){var n=this,o=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,s=n._timestampProvider,c=n._windowTime;o||(i.push(r),!a&&i.push(s.now()+c)),this._trimBuffer(),t.prototype.next.call(this,r)},e.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),o=this,i=o._infiniteTimeWindow,a=o._buffer,s=a.slice(),c=0;c<s.length&&!r.closed;c+=i?1:2)r.next(s[c]);return this._checkFinalizedStatuses(r),n},e.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,o=r._timestampProvider,i=r._buffer,a=r._infiniteTimeWindow,s=(a?1:2)*n;if(n<1/0&&s<i.length&&i.splice(0,i.length-s),!a){for(var c=o.now(),l=0,u=1;u<i.length&&i[u]<=c;u+=2)l=u;l&&i.splice(0,l+1)}},e}(Gr),mE=function(t){Ar(e,t);function e(r,n){return t.call(this)||this}return e.prototype.schedule=function(r,n){return this},e}(an),Pc={setInterval:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=Pc.delegate;return o!=null&&o.setInterval?o.setInterval.apply(o,tn([t,e],Ir(r))):setInterval.apply(void 0,tn([t,e],Ir(r)))},clearInterval:function(t){var e=Pc.delegate;return((e==null?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0},vE=function(t){Ar(e,t);function e(r,n){var o=t.call(this,r,n)||this;return o.scheduler=r,o.work=n,o.pending=!1,o}return e.prototype.schedule=function(r,n){var o;if(n===void 0&&(n=0),this.closed)return this;this.state=r;var i=this.id,a=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(a,i,n)),this.pending=!0,this.delay=n,this.id=(o=this.id)!==null&&o!==void 0?o:this.requestAsyncId(a,this.id,n),this},e.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),Pc.setInterval(r.flush.bind(r,this),o)},e.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return n;n!=null&&Pc.clearInterval(n)},e.prototype.execute=function(r,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(r,n);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(r,n){var o=!1,i;try{this.work(r)}catch(a){o=!0,i=a||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),i},e.prototype.unsubscribe=function(){if(!this.closed){var r=this,n=r.id,o=r.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,kc(i,this),n!=null&&(this.id=this.recycleAsyncId(o,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e}(mE),yp=function(){function t(e,r){r===void 0&&(r=t.now),this.schedulerActionCtor=e,this.now=r}return t.prototype.schedule=function(e,r,n){return r===void 0&&(r=0),new this.schedulerActionCtor(this,e).schedule(n,r)},t.now=Lh.now,t}(),yE=function(t){Ar(e,t);function e(r,n){n===void 0&&(n=yp.now);var o=t.call(this,r,n)||this;return o.actions=[],o._active=!1,o}return e.prototype.flush=function(r){var n=this.actions;if(this._active){n.push(r);return}var o;this._active=!0;do if(o=r.execute(r.state,r.delay))break;while(r=n.shift());if(this._active=!1,o){for(;r=n.shift();)r.unsubscribe();throw o}},e}(yp),Nc=new yE(vE),_E=Nc,po=new Ie(function(t){return t.complete()});function ty(t){return t&&de(t.schedule)}function Dh(t){return t[t.length-1]}function wE(t){return de(Dh(t))?t.pop():void 0}function ry(t){return ty(Dh(t))?t.pop():void 0}function EE(t,e){return typeof Dh(t)=="number"?t.pop():e}var Hh=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function ny(t){return de(t==null?void 0:t.then)}function oy(t){return de(t[Uh])}function iy(t){return Symbol.asyncIterator&&de(t==null?void 0:t[Symbol.asyncIterator])}function ay(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function CE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var sy=CE();function cy(t){return de(t==null?void 0:t[sy])}function ly(t){return oE(this,arguments,function(){var r,n,o,i;return Qv(this,function(a){switch(a.label){case 0:r=t.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,ai(r.read())];case 3:return n=a.sent(),o=n.value,i=n.done,i?[4,ai(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,ai(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function uy(t){return de(t==null?void 0:t.getReader)}function Bt(t){if(t instanceof Ie)return t;if(t!=null){if(oy(t))return SE(t);if(Hh(t))return TE(t);if(ny(t))return bE(t);if(iy(t))return dy(t);if(cy(t))return IE(t);if(uy(t))return kE(t)}throw ay(t)}function SE(t){return new Ie(function(e){var r=t[Uh]();if(de(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function TE(t){return new Ie(function(e){for(var r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function bE(t){return new Ie(function(e){t.then(function(r){e.closed||(e.next(r),e.complete())},function(r){return e.error(r)}).then(null,Zv)})}function IE(t){return new Ie(function(e){var r,n;try{for(var o=fo(t),i=o.next();!i.done;i=o.next()){var a=i.value;if(e.next(a),e.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}e.complete()})}function dy(t){return new Ie(function(e){AE(t,e).catch(function(r){return e.error(r)})})}function kE(t){return dy(ly(t))}function AE(t,e){var r,n,o,i;return nE(this,void 0,void 0,function(){var a,s;return Qv(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),r=iE(t),c.label=1;case 1:return[4,r.next()];case 2:if(n=c.sent(),!!n.done)return[3,4];if(a=n.value,e.next(a),e.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=c.sent(),o={error:s},[3,11];case 6:return c.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return e.complete(),[2]}})})}function Vr(t,e,r,n,o){n===void 0&&(n=0),o===void 0&&(o=!1);var i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Oc(t,e){return e===void 0&&(e=0),Be(function(r,n){r.subscribe(Ue(n,function(o){return Vr(n,t,function(){return n.next(o)},e)},function(){return Vr(n,t,function(){return n.complete()},e)},function(o){return Vr(n,t,function(){return n.error(o)},e)}))})}function hy(t,e){return e===void 0&&(e=0),Be(function(r,n){n.add(t.schedule(function(){return r.subscribe(n)},e))})}function RE(t,e){return Bt(t).pipe(hy(e),Oc(e))}function PE(t,e){return Bt(t).pipe(hy(e),Oc(e))}function NE(t,e){return new Ie(function(r){var n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function OE(t,e){return new Ie(function(r){var n;return Vr(r,e,function(){n=t[sy](),Vr(r,e,function(){var o,i,a;try{o=n.next(),i=o.value,a=o.done}catch(s){r.error(s);return}a?r.complete():r.next(i)},0,!0)}),function(){return de(n==null?void 0:n.return)&&n.return()}})}function fy(t,e){if(!t)throw new Error("Iterable cannot be null");return new Ie(function(r){Vr(r,e,function(){var n=t[Symbol.asyncIterator]();Vr(r,e,function(){n.next().then(function(o){o.done?r.complete():r.next(o.value)})},0,!0)})})}function xE(t,e){return fy(ly(t),e)}function ME(t,e){if(t!=null){if(oy(t))return RE(t,e);if(Hh(t))return NE(t,e);if(ny(t))return PE(t,e);if(iy(t))return fy(t,e);if(cy(t))return OE(t,e);if(uy(t))return xE(t,e)}throw ay(t)}function br(t,e){return e?ME(t,e):Bt(t)}function ml(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=ry(t);return br(t,r)}function UE(t,e){var r=de(t)?t:function(){return t},n=function(o){return o.error(r())};return new Ie(e?function(o){return e.schedule(n,0,o)}:n)}var vl=pl(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function xc(t,e){var r=typeof e=="object";return new Promise(function(n,o){var i=!1,a;t.subscribe({next:function(s){a=s,i=!0},error:o,complete:function(){i?n(a):r?n(e.defaultValue):o(new vl)}})})}function go(t,e){var r=typeof e=="object";return new Promise(function(n,o){var i=new Rc({next:function(a){n(a),i.unsubscribe()},error:o,complete:function(){r?n(e.defaultValue):o(new vl)}});t.subscribe(i)})}function py(t){return t instanceof Date&&!isNaN(t)}var LE=pl(function(t){return function(r){r===void 0&&(r=null),t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r}});function DE(t,e){var r=py(t)?{first:t}:typeof t=="number"?{each:t}:t,n=r.first,o=r.each,i=r.with,a=i===void 0?HE:i,s=r.scheduler,c=s===void 0?e!=null?e:Nc:s,l=r.meta,u=l===void 0?null:l;if(n==null&&o==null)throw new TypeError("No timeout provided.");return Be(function(h,d){var f,m,v=null,E=0,g=function(p){m=Vr(d,c,function(){try{f.unsubscribe(),Bt(a({meta:u,lastValue:v,seen:E})).subscribe(d)}catch(y){d.error(y)}},p)};f=h.subscribe(Ue(d,function(p){m==null||m.unsubscribe(),E++,d.next(v=p),o>0&&g(o)},void 0,void 0,function(){m!=null&&m.closed||m==null||m.unsubscribe(),v=null})),!E&&g(n!=null?typeof n=="number"?n:+n-c.now():o)})}function HE(t){throw new LE(t)}function yt(t,e){return Be(function(r,n){var o=0;r.subscribe(Ue(n,function(i){n.next(t.call(e,i,o++))}))})}var FE=Array.isArray;function $E(t,e){return FE(e)?t.apply(void 0,tn([],Ir(e))):t(e)}function zE(t){return yt(function(e){return $E(t,e)})}function gy(t,e,r,n,o,i,a,s){var c=[],l=0,u=0,h=!1,d=function(){h&&!c.length&&!l&&e.complete()},f=function(v){return l<n?m(v):c.push(v)},m=function(v){i&&e.next(v),l++;var E=!1;Bt(r(v,u++)).subscribe(Ue(e,function(g){o==null||o(g),i?f(g):e.next(g)},function(){E=!0},void 0,function(){if(E)try{l--;for(var g=function(){var p=c.shift();a?Vr(e,a,function(){return m(p)}):m(p)};c.length&&l<n;)g();d()}catch(p){e.error(p)}}))};return t.subscribe(Ue(e,f,function(){h=!0,d()})),function(){s==null||s()}}function mo(t,e,r){return r===void 0&&(r=1/0),de(e)?mo(function(n,o){return yt(function(i,a){return e(n,i,o,a)})(Bt(t(n,o)))},r):(typeof e=="number"&&(r=e),Be(function(n,o){return gy(n,o,t,r)}))}function jE(t){return t===void 0&&(t=1/0),mo(ki,t)}var BE=["addListener","removeListener"],qE=["addEventListener","removeEventListener"],KE=["on","off"];function vd(t,e,r,n){if(de(r)&&(n=r,r=void 0),n)return vd(t,e,r).pipe(zE(n));var o=Ir(WE(t)?qE.map(function(s){return function(c){return t[s](e,c,r)}}):GE(t)?BE.map(_p(t,e)):VE(t)?KE.map(_p(t,e)):[],2),i=o[0],a=o[1];if(!i&&Hh(t))return mo(function(s){return vd(s,e,r)})(Bt(t));if(!i)throw new TypeError("Invalid event target");return new Ie(function(s){var c=function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return s.next(1<l.length?l:l[0])};return i(c),function(){return a(c)}})}function _p(t,e){return function(r){return function(n){return t[r](e,n)}}}function GE(t){return de(t.addListener)&&de(t.removeListener)}function VE(t){return de(t.on)&&de(t.off)}function WE(t){return de(t.addEventListener)&&de(t.removeEventListener)}function YE(t,e,r){t===void 0&&(t=0),r===void 0&&(r=_E);var n=-1;return e!=null&&(ty(e)?r=e:n=e),new Ie(function(o){var i=py(t)?+t-r.now():t;i<0&&(i=0);var a=0;return r.schedule(function(){o.closed||(o.next(a++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function QE(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=ry(t),n=EE(t,1/0),o=t;return o.length?o.length===1?Bt(o[0]):jE(n)(br(o,r)):po}function Ai(t,e){return Be(function(r,n){var o=0;r.subscribe(Ue(n,function(i){return t.call(e,i,o++)&&n.next(i)}))})}function rn(t){return Be(function(e,r){var n=null,o=!1,i;n=e.subscribe(Ue(r,void 0,void 0,function(a){i=Bt(t(a,rn(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function JE(t,e,r,n,o){return function(i,a){var s=r,c=e,l=0;i.subscribe(Ue(a,function(u){var h=l++;c=s?t(c,u,h):(s=!0,u),n&&a.next(c)},o&&function(){s&&a.next(c),a.complete()}))}}function XE(t){return Be(function(e,r){var n=!1;e.subscribe(Ue(r,function(o){n=!0,r.next(o)},function(){n||r.next(t),r.complete()}))})}function my(t,e){return e===void 0&&(e=ki),t=t!=null?t:ZE,Be(function(r,n){var o,i=!0;r.subscribe(Ue(n,function(a){var s=e(a);(i||!t(o,s))&&(i=!1,o=s,n.next(a))}))})}function ZE(t,e){return t===e}function vy(t){return t===void 0&&(t=eC),Be(function(e,r){var n=!1;e.subscribe(Ue(r,function(o){n=!0,r.next(o)},function(){return n?r.complete():r.error(t())}))})}function eC(){return new vl}function tC(t){return t<=0?function(){return po}:Be(function(e,r){var n=[];e.subscribe(Ue(r,function(o){n.push(o),t<n.length&&n.shift()},function(){var o,i;try{for(var a=fo(n),s=a.next();!s.done;s=a.next()){var c=s.value;r.next(c)}}catch(l){o={error:l}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}r.complete()},void 0,function(){n=null}))})}function rC(t,e){var r=arguments.length>=2;return function(n){return n.pipe(t?Ai(function(o,i){return t(o,i,n)}):ki,tC(1),r?XE(e):vy(function(){return new vl}))}}function nC(t,e,r){return r===void 0&&(r=1/0),Be(function(n,o){var i=e;return gy(n,o,function(a,s){return t(i,a,s)},r,function(a){i=a},!1,void 0,function(){return i=null})})}function yy(){return Be(function(t,e){var r,n=!1;t.subscribe(Ue(e,function(o){var i=r;r=o,n&&e.next([i,o]),n=!0}))})}function Fh(t,e){return Be(JE(t,e,arguments.length>=2,!0))}function Qn(t,e){return Be(function(r,n){var o=null,i=0,a=!1,s=function(){return a&&!o&&n.complete()};r.subscribe(Ue(n,function(c){o==null||o.unsubscribe();var l=0,u=i++;Bt(t(c,u)).subscribe(o=Ue(n,function(h){return n.next(e?e(c,h,u,l++):h)},function(){o=null,s()}))},function(){a=!0,s()}))})}function oC(t){return Be(function(e,r){Bt(t).subscribe(Ue(r,function(){return r.complete()},Ac)),!r.closed&&e.subscribe(r)})}function _y(t,e){return e===void 0&&(e=!1),Be(function(r,n){var o=0;r.subscribe(Ue(n,function(i){var a=t(i,o++);(a||e)&&n.next(i),!a&&n.complete()}))})}function yd(t,e,r){var n=de(t)||e||r?{next:t,error:e,complete:r}:t;return n?Be(function(o,i){var a;(a=n.subscribe)===null||a===void 0||a.call(n);var s=!0;o.subscribe(Ue(i,function(c){var l;(l=n.next)===null||l===void 0||l.call(n,c),i.next(c)},function(){var c;s=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},function(c){var l;s=!1,(l=n.error)===null||l===void 0||l.call(n,c),i.error(c)},function(){var c,l;s&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(l=n.finalize)===null||l===void 0||l.call(n)}))}):ki}function iC(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=wE(t);return Be(function(n,o){for(var i=t.length,a=new Array(i),s=t.map(function(){return!1}),c=!1,l=function(h){Bt(t[h]).subscribe(Ue(o,function(d){a[h]=d,!c&&!s[h]&&(s[h]=!0,(c=s.every(ki))&&(s=null))},Ac))},u=0;u<i;u++)l(u);n.subscribe(Ue(o,function(h){if(c){var d=tn([h],Ir(a));o.next(r?r.apply(void 0,tn([],Ir(d))):d)}}))})}var mr=globalThis&&globalThis.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})};class aC extends Error{constructor(){super("It was too slow"),this.name="RequiredModuleTimeoutError"}}class sC{constructor(e){this.logger=new Wv("ModulesConfigurator"),this._configs=[],this._afterConfiguration=[],this._afterInit=[],this._modules=new Set(e)}get modules(){return[...this._modules]}configure(...e){e.forEach(r=>this.addConfig(r))}addConfig(e){const{module:r,afterConfig:n,afterInit:o,configure:i}=e;this._modules.add(r),i&&this._configs.push((a,s)=>i(a[r.name],s)),n&&this._afterConfiguration.push(a=>n(a[r.name])),o&&this._afterInit.push(a=>o(a[r.name]))}onConfigured(e){this._afterConfiguration.push(e)}onInitialized(e){this._afterInit.push(e)}initialize(e){return mr(this,void 0,void 0,function*(){const r=yield this._configure(e),n=yield this._initialize(r,e);return yield this._postInitialize(n,e),Object.seal(Object.assign({},n,{dispose:()=>this.dispose(n)}))})}_configure(e){return mr(this,void 0,void 0,function*(){const r=yield this._createConfig(e);return yield Promise.all(this._configs.map(n=>Promise.resolve(n(r,e)))),yield this._postConfigure(r),r})}_createConfig(e){const{modules:r,logger:n,_afterConfiguration:o,_afterInit:i}=this,a=br(r).pipe(mo(s=>mr(this,void 0,void 0,function*(){var c;n.debug(`\u{1F6E0} creating configurator ${n.formatModuleName(s)}`);try{const l=yield(c=s.configure)===null||c===void 0?void 0:c.call(s,e);return n.debug(`\u{1F6E0} created configurator for ${n.formatModuleName(s)}`,l),{[s.name]:l}}catch(l){throw n.error(`\u{1F6E0} Failed to created configurator for ${n.formatModuleName(s)}`,l),l}})),Fh((s,c)=>Object.assign(s,c),{onAfterConfiguration(s){o.push(s)},onAfterInit(s){i.push(s)}}));return xc(a)}_postConfigure(e){return mr(this,void 0,void 0,function*(){const{modules:r,logger:n,_afterConfiguration:o}=this;if(yield Promise.allSettled(r.filter(i=>!!i.postConfigure).map(i=>mr(this,void 0,void 0,function*(){var a;try{yield(a=i.postConfigure)===null||a===void 0?void 0:a.call(i,e),n.debug(`\u{1F3D7}\u{1F4CC} post configured ${n.formatModuleName(i)}`,i)}catch{n.warn(`\u{1F3D7}\u{1F4CC} post configure failed ${n.formatModuleName(i)}`)}}))),o.length)try{n.debug(`\u{1F3D7}\u{1F4CC} post configure hooks [${o.length}]`),yield Promise.allSettled(o.map(i=>Promise.resolve(i(e)))),n.debug("\u{1F3D7}\u{1F4CC} post configure hooks complete")}catch(i){n.warn("\u{1F3D7}\u{1F4CC} post configure hook failed",i)}})}_initialize(e,r){return mr(this,void 0,void 0,function*(){const{modules:n,logger:o}=this,i=n.map(u=>u.name),a=new gl({}),s=u=>i.includes(u),c=(u,h=60)=>{if(!i.includes(u))throw o.error(`\u{1F680}\u231B\uFE0F Cannot not require ${o.formatModuleName(String(u))} since module is not defined!`),Error(`cannot not require [${String(u)}] since module is not defined!`);return a.value[u]?(o.debug(`\u{1F680}\u231B\uFE0F ${o.formatModuleName(String(u))} is initiated, skipping queue`),Promise.resolve(a.value[u])):(o.debug(`\u{1F680}\u231B\uFE0F Awaiting init ${o.formatModuleName(String(u))}, timeout ${h}s`),go(a.pipe(Ai(d=>!!d[u]),yt(d=>d[u]),DE({each:h*1e3,with:()=>UE(()=>new aC)}))))};br(n).pipe(mo(u=>{const h=u.name;return o.debug(`\u{1F680} initializing ${o.formatModuleName(u)}`),br(Promise.resolve(u.initialize({ref:r,config:e[h],requireInstance:c,hasModule:s}))).pipe(yt(d=>(o.debug(`\u{1F680} initialized ${o.formatModuleName(u)}`),[h,d])))})).subscribe({next:([u,h])=>{a.next(Object.assign(a.value,{[u]:h}))},complete:()=>a.complete()});const l=yield xc(a);return Object.seal(l),l})}_postInitialize(e,r){return mr(this,void 0,void 0,function*(){const{modules:n,logger:o,_afterInit:i}=this;if(yield Promise.allSettled(n.filter(a=>!!a.postInitialize).map(a=>mr(this,void 0,void 0,function*(){var s;try{o.debug(`\u{1F680}\u{1F4CC} post initializing moule ${o.formatModuleName(a)}`),yield(s=a.postInitialize)===null||s===void 0?void 0:s.call(a,{ref:r,modules:e,instance:e[a.name]}),o.debug(`\u{1F680}\u{1F4CC} post initialized moule ${o.formatModuleName(a)}`)}catch{o.warn(`\u{1F680}\u{1F4CC} post initialize failed moule ${o.formatModuleName(a)}`)}}))),i.length)try{o.debug(`\u{1F680}\u{1F4CC} post configure hooks [${i.length}]`),yield Promise.allSettled(i.map(a=>Promise.resolve(a(e)))),o.debug("\u{1F680}\u{1F4CC} post configure hooks complete")}catch(a){o.warn("\u{1F680}\u{1F4CC} post configure hook failed",a)}o.debug(`\u{1F389} Modules initialized ${n.map(o.formatModuleName)}`,e),o.info("\u{1F7E2} Modules initialized")})}dispose(e,r){return mr(this,void 0,void 0,function*(){const{modules:n}=this;yield Promise.allSettled(n.filter(o=>!!o.dispose).map(o=>mr(this,void 0,void 0,function*(){var i;yield(i=o.dispose)===null||i===void 0?void 0:i.call(o,{ref:r,modules:e,instance:e[o.name]})})))})}}var bo=globalThis&&globalThis.__classPrivateFieldSet||function(t,e,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(t,r):o?o.value=r:e.set(t,r),r},$n=globalThis&&globalThis.__classPrivateFieldGet||function(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)},Vs,Ws,Zi,Ys,ea,_d;class cC{constructor(e,r){this.__type=e,Vs.set(this,void 0),Ws.set(this,void 0),Zi.set(this,!1),Ys.set(this,void 0),ea.set(this,void 0),_d.set(this,Date.now()),bo(this,Vs,r.detail,"f"),bo(this,Ws,r.source,"f"),bo(this,Ys,!!r.cancelable,"f"),bo(this,ea,r.canBubble===void 0?!0:r.canBubble,"f")}get bubbles(){return $n(this,ea,"f")&&!$n(this,Zi,"f")}get created(){return $n(this,_d,"f")}get cancelable(){return $n(this,Ys,"f")}get canceled(){return $n(this,Zi,"f")}get detail(){return $n(this,Vs,"f")}get source(){return $n(this,Ws,"f")}get type(){return this.__type}preventDefault(){this.cancelable&&bo(this,Zi,!0,"f")}stopPropagation(){bo(this,ea,!1,"f")}}Vs=new WeakMap,Ws=new WeakMap,Zi=new WeakMap,Ys=new WeakMap,ea=new WeakMap,_d=new WeakMap;var lC=globalThis&&globalThis.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})};class uC{constructor({onDispatch:e,onBubble:r}){this.__onDispatch=e,this.__onBubble=r}dispatch(e,r){var n,o;return lC(this,void 0,void 0,function*(){try{yield(n=this.__onDispatch)===null||n===void 0?void 0:n.call(this,e)}catch(a){throw a}const i=e;if(!i.dispatcher)i.dispatcher=this;else if(i.dispatcher===this)throw Error("loop detected");for(const a of r)e.cancelable?e.canceled||(yield Promise.resolve(a(e))):a(e);if(e.bubbles)try{yield(o=this.__onBubble)===null||o===void 0?void 0:o.call(this,e)}catch(a){throw a}})}}var wp=globalThis&&globalThis.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})};class dC extends Ie{get closed(){return this.__event$.closed}constructor(e){super(r=>{this.__event$.subscribe(r)}),this.__listeners=[],this.__event$=new Gr,this.__dispatcher=new uC({onDispatch:e.onDispatch,onBubble:e.onBubble})}addEventListener(e,r){if(this.closed)throw Error("Cannot listen to events when provider is closed!");const n={type:e,handler:r};return this.__listeners.push(n),()=>{const o=this.__listeners.indexOf(n);0<=o&&this.__listeners.splice(o,1)}}dispatchEvent(e,r){return wp(this,void 0,void 0,function*(){if(typeof e=="string"){if(!r)throw Error("invalid arguments, missing [FrameworkEventInit]");return this._dispatchEvent(new cC(e,r))}else return this._dispatchEvent(e)})}_dispatchEvent(e){return wp(this,void 0,void 0,function*(){if(this.closed)throw Error("Cannot dispatch events when provider is closed!");this.__event$.next(e);try{const r=this.__listeners.filter(n=>n.type===e.type).map(({handler:n})=>n);yield this.__dispatcher.dispatch(e,r)}catch(r){throw r}return e})}dispose(){this.__listeners=[],this.__event$.complete()}}var hC=globalThis&&globalThis.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})};const fC="event",pC={name:fC,configure:t=>{const e={},r=t==null?void 0:t.event;return r&&(e.onBubble=n=>hC(void 0,void 0,void 0,function*(){yield r.dispatchEvent(n)})),e},initialize:({config:t})=>new dC(t),postInitialize({instance:t,modules:e}){t.dispatchEvent("onModulesLoaded",{detail:e,source:t})},dispose({instance:t}){t.dispose()}};class wy{constructor(){this._operators={}}add(e,r){if(Object.keys(this._operators).includes(e))throw Error(`Operator [${e}] already defined`);return this.set(e,r)}set(e,r){return this._operators[e]=r,this}get(e){return this._operators[e]}process(e){return Object.values(this._operators).length?br(Object.values(this._operators)).pipe(nC((n,o)=>Promise.resolve(o(n)).then(i=>i!=null?i:n),e,1),rC()):ml(e)}}const gC=(t,e)=>r=>{const n=new Headers(r.headers);return n.append(t,e),Object.assign(Object.assign({},r),{headers:n})};class Ey extends wy{setHeader(e,r){const n=gC(e,r);return this.set("header-"+e,n)}}class mC extends wy{}class vC{get clients(){return Object.assign({},this._clients)}constructor(e){this._clients={},this.defaultHttpRequestHandler=new Ey,this.defaultHttpClientCtor=e}hasClient(e){return Object.keys(this._clients).includes(e)}configureClient(e,r){const n=typeof r=="string"?i=>i.uri=String(r):r,o=typeof n=="function"?{onCreate:n}:n;return this._clients[e]=Object.assign(Object.assign({},this._clients[e]),o),this}}class yC extends Error{constructor(e){super(e)}}const _C=t=>new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t);class wC{get defaultHttpRequestHandler(){return this.config.defaultHttpRequestHandler}constructor(e){this.config=e}hasClient(e){return Object.keys(this.config.clients).includes(e)}createClient(e){const r=this._resolveConfig(e),{baseUri:n,defaultScopes:o=[],onCreate:i,ctor:a=this.config.defaultHttpClientCtor,requestHandler:s=this.defaultHttpRequestHandler}=r,c={requestHandler:s},l=new a(n||"",c);return Object.assign(l,{defaultScopes:o}),i&&i(l),l}createCustomClient(e){return this.createClient(e)}_resolveConfig(e){if(typeof e=="string"){const r=this.config.clients[e];if(!r&&_C(e))return{baseUri:e};if(!r)throw new yC(`No registered http client for key [${e}]`);return r}return e}}function EC(t,e){e===void 0&&(e={});var r=e.selector,n=Yv(e,["selector"]);return new Ie(function(o){var i=new AbortController,a=i.signal,s=!0,c=n.signal;if(c)if(c.aborted)i.abort();else{var l=function(){a.aborted||i.abort()};c.addEventListener("abort",l),o.add(function(){return c.removeEventListener("abort",l)})}var u=ho(ho({},n),{signal:a}),h=function(d){s=!1,o.error(d)};return fetch(t,u).then(function(d){r?Bt(r(d)).subscribe(Ue(o,void 0,function(){s=!1,o.complete()},h)):(s=!1,o.next(d),o.complete())}).catch(h),function(){s&&i.abort()}})}const CC=t=>{if(!t.ok)throw new Error("Network response was not OK");if(t.status===204)return Promise.resolve();try{return t.json()}catch{throw Error("failed to parse response")}};var Ep=globalThis&&globalThis.__rest||function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r};class SC{get request$(){return this._request$.asObservable()}get response$(){return this._response$.asObservable()}constructor(e,r){var n,o;this.uri=e,this._request$=new Gr,this._response$=new Gr,this._abort$=new Gr,this.requestHandler=(n=r==null?void 0:r.requestHandler)!==null&&n!==void 0?n:new Ey,this.responseHandler=(o=r==null?void 0:r.responseHandler)!==null&&o!==void 0?o:new mC,this._init()}_init(){}fetch$(e,r){return this._fetch$(e,r)}fetch(e,r){return go(this.fetch$(e,r))}fetchAsync(e,r){return this.fetch(e,r)}json$(e,r){var n;const o=typeof(r==null?void 0:r.body)=="object"?JSON.stringify(r==null?void 0:r.body):r==null?void 0:r.body,i=(n=r==null?void 0:r.selector)!==null&&n!==void 0?n:CC,a=new Headers(r==null?void 0:r.headers);return a.append("Content-Type","application/json"),this.fetch$(e,Object.assign(Object.assign({},r),{body:o,selector:i,headers:a}))}json(e,r){return go(this.json$(e,r))}jsonAsync(e,r){return this.json(e,r)}execute(e,r,n){return this[e](r,n)}abort(){this._abort$.next()}_fetch$(e,r){const n=r||{},{selector:o}=n,i=Ep(n,["selector"]);return ml(Object.assign(Object.assign({},i),{uri:this._resolveUrl(e)})).pipe(Qn(s=>this._prepareRequest(s)),yd(s=>this._request$.next(s)),Qn(s=>{var{uri:c,path:l}=s,u=Ep(s,["uri","path"]);return EC(c,u)}),Qn(s=>this._prepareResponse(s)),yd(s=>this._response$.next(s)),Qn(s=>o?o(s):Promise.resolve(s)),oC(this._abort$))}_prepareRequest(e){return this.requestHandler.process(e)}_prepareResponse(e){return this.responseHandler.process(e)}_resolveUrl(e){const r=this.uri||window.location.origin;return new URL(e,r).href}}class TC extends SC{constructor(){super(...arguments),this.defaultScopes=[]}fetch$(e,r){const n=Object.assign(r||{},{scopes:this.defaultScopes.concat((r==null?void 0:r.scopes)||[])});return super._fetch$(e,n)}}var Cp=globalThis&&globalThis.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{l(n.next(u))}catch(h){a(h)}}function c(u){try{l(n.throw(u))}catch(h){a(h)}}function l(u){u.done?i(u.value):o(u.value).then(s,c)}l((n=n.apply(t,e||[])).next())})};const $h={name:"http",configure:()=>new vC(TC),initialize:({config:t,hasModule:e,requireInstance:r})=>Cp(void 0,void 0,void 0,function*(){const n=new wC(t);if(e("auth")){const o=yield r("auth");n.defaultHttpRequestHandler.set("MSAL",i=>Cp(void 0,void 0,void 0,function*(){const{scopes:a=[]}=i;if(a.length){const s=yield o.acquireToken({scopes:a});if(s){const c=new Headers(i.headers);return c.set("Authorization",`Bearer ${s.accessToken}`),Object.assign(Object.assign({},i),{headers:c})}}}))}return n})},bC=t=>({module:$h,configure:t}),Cy=(t,e)=>({module:$h,configure:r=>{r.configureClient(t,e)}}),nu="default";class IC{constructor(){this._configs={},this.requiresAuth=!0}get defaultConfig(){return this._configs[nu]}getClientConfig(e){return this._configs[e]}configureClient(e,r){return this._configs[e]=r,this}configureDefault(e){if(this._configs[nu])throw Error("Default AuthClient already provided");this.configureClient(nu,e)}}/*! @azure/msal-browser v2.31.0 2022-11-07 *//*! *****************************************************************************
36
36
  Copyright (c) Microsoft Corporation.
37
37
 
38
38
  Permission to use, copy, modify, and/or distribute this software for any
@@ -5,7 +5,7 @@
5
5
  <meta charset="UTF-8" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Fusion Framework Dev Portal</title>
8
- <script type="module" crossorigin src="/assets/index.deee6d0f.js"></script>
8
+ <script type="module" crossorigin src="/assets/index.ca6dff76.js"></script>
9
9
 
10
10
  <body>
11
11
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "keywords": [
5
5
  "Fusion",
6
6
  "Fusion Framework",
@@ -35,7 +35,7 @@
35
35
  "vite": "^3.2.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@equinor/fusion-framework-react": "^1.3.16",
38
+ "@equinor/fusion-framework-react": "^1.3.17",
39
39
  "@equinor/fusion-react-progress-indicator": "^0.1.5",
40
40
  "@equinor/fusion-react-styles": "^0.5.5",
41
41
  "@types/express": "^4.17.14",
@@ -46,5 +46,5 @@
46
46
  "react-router-dom": "^6.4.3",
47
47
  "typescript": "^4.8.4"
48
48
  },
49
- "gitHead": "300dd2973166082a51b1dd47e75f60ba1c3ef20c"
49
+ "gitHead": "08348a63143c1fc0d62fd75e81271ffc2cab9be4"
50
50
  }