@technicise-healthcare/ssssh-technicise-his-app 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/104.js +1 -1
  2. package/dist/104.js.map +1 -1
  3. package/dist/184.js +1 -1
  4. package/dist/184.js.map +1 -1
  5. package/dist/197.js +1 -1
  6. package/dist/282.js +1 -1
  7. package/dist/282.js.LICENSE.txt +3 -3
  8. package/dist/282.js.map +1 -1
  9. package/dist/300.js +1 -1
  10. package/dist/310.js +1 -1
  11. package/dist/310.js.map +1 -1
  12. package/dist/335.js +1 -1
  13. package/dist/353.js +1 -1
  14. package/dist/353.js.map +1 -1
  15. package/dist/374.js +1 -1
  16. package/dist/374.js.map +1 -1
  17. package/dist/391.js +1 -0
  18. package/dist/391.js.map +1 -0
  19. package/dist/434.js +1 -1
  20. package/dist/434.js.map +1 -1
  21. package/dist/504.js +2 -0
  22. package/dist/504.js.map +1 -0
  23. package/dist/540.js +1 -1
  24. package/dist/540.js.map +1 -1
  25. package/dist/55.js +1 -1
  26. package/dist/566.js +1 -1
  27. package/dist/566.js.map +1 -1
  28. package/dist/652.js +1 -1
  29. package/dist/666.js +1 -1
  30. package/dist/666.js.map +1 -1
  31. package/dist/812.js +1 -1
  32. package/dist/812.js.map +1 -1
  33. package/dist/906.js +2 -0
  34. package/dist/906.js.map +1 -0
  35. package/dist/961.js +1 -1
  36. package/dist/961.js.map +1 -1
  37. package/dist/99.js +1 -1
  38. package/dist/main.js +1 -1
  39. package/dist/main.js.map +1 -1
  40. package/dist/routes.json +1 -1
  41. package/dist/ssssh-technicise-his-app.js +1 -1
  42. package/dist/ssssh-technicise-his-app.js.buildmanifest.json +102 -102
  43. package/dist/ssssh-technicise-his-app.js.map +1 -1
  44. package/package.json +1 -1
  45. package/dist/299.js +0 -2
  46. package/dist/299.js.map +0 -1
  47. package/dist/542.js +0 -1
  48. package/dist/542.js.map +0 -1
  49. package/dist/991.js +0 -2
  50. package/dist/991.js.map +0 -1
  51. /package/dist/{299.js.LICENSE.txt → 504.js.LICENSE.txt} +0 -0
  52. /package/dist/{991.js.LICENSE.txt → 906.js.LICENSE.txt} +0 -0
package/dist/104.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 104.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app=globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app||[]).push([[104],{159(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},540(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},1113(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},2996(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var n,r,o=(r=4,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}}(n,r)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[1],i=o[3];if(!i)return a;if("function"==typeof btoa){var s=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),u="/*# ".concat(c," */"),l=i.sources.map(function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")});return[a].concat(l).concat([u]).join("\n")}return[a].join("\n")}},4993(e,t,n){n.d(t,{BE:()=>H,Es:()=>L,Ht:()=>G,PP:()=>j,Tn:()=>c,X3:()=>O,ZH:()=>a,aw:()=>z,b0:()=>s,bZ:()=>p,bu:()=>N,dO:()=>S,lK:()=>A,lg:()=>I,mF:()=>D,mf:()=>C,q9:()=>Z,qm:()=>K,qv:()=>i,r9:()=>y,rL:()=>u,sb:()=>U});var r=n(6072);const o=()=>{},a=o(),i=Object,s=e=>e===a,c=e=>"function"==typeof e,u=(e,t)=>({...e,...t}),l=new WeakMap;let f=0;const d=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,a;if(i(e)!==e||r||n==RegExp)o=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(o=l.get(e),o)return o;if(o=++f+"~",l.set(e,o),n==Array){for(o="@",a=0;a<e.length;a++)o+=d(e[a])+",";l.set(e,o)}if(n==i){o="#";const t=i.keys(e).sort();for(;!s(a=t.pop());)s(e[a])||(o+=a+":"+d(e[a])+",");l.set(e,o)}}return o},p=new WeakMap,h={},v={},b="undefined",g=typeof window!=b,m=typeof document!=b,y=(e,t)=>{const n=p.get(e);return[()=>!s(t)&&e.get(t)||h,r=>{if(!s(t)){const o=e.get(t);t in v||(v[t]=o),n[5](t,u(o,r),o||h)}},n[6],()=>!s(t)&&t in v?v[t]:!s(t)&&e.get(t)||h]};let E=!0;const[w,_]=g&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],T={isOnline:()=>E,isVisible:()=>{const e=m&&document.visibilityState;return s(e)||"hidden"!==e}},R={initFocus:e=>(m&&document.addEventListener("visibilitychange",e),w("focus",e),()=>{m&&document.removeEventListener("visibilitychange",e),_("focus",e)}),initReconnect:e=>{const t=()=>{E=!0,e()},n=()=>{E=!1};return w("online",t),w("offline",n),()=>{_("online",t),_("offline",n)}}},S=!r.useId,O=!g||"Deno"in window,C=e=>g&&typeof window.requestAnimationFrame!=b?window.requestAnimationFrame(e):setTimeout(e,1),L=O?r.useEffect:r.useLayoutEffect,V="undefined"!=typeof navigator&&navigator.connection,k=!O&&V&&(["slow-2g","2g"].includes(V.effectiveType)||V.saveData),A=e=>{if(c(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?d(e):"",t]};let x=0;const I=()=>++x;var N={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function D(...e){const[t,n,r,o]=e,i=u({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{});let l=i.populateCache;const f=i.rollbackOnError;let d=i.optimisticData;const h=i.throwOnError;if(c(n)){const e=n,r=[],o=t.keys();for(const n of o)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(v))}return v(n);async function v(n){const[o]=A(n);if(!o)return;const[u,v]=y(t,o),[b,g,m,E]=p.get(t),w=()=>{const e=b[o];return(c(i.revalidate)?i.revalidate(u().data,n):!1!==i.revalidate)&&(delete m[o],delete E[o],e&&e[0])?e[0](2).then(()=>u().data):u().data};if(e.length<3)return w();let _,T=r;const R=I();g[o]=[R,0];const S=!s(d),O=u(),C=O.data,L=O._c,V=s(L)?C:L;if(S&&(d=c(d)?d(V,C):d,v({data:d,_c:V})),c(T))try{T=T(V)}catch(e){_=e}if(T&&c(T.then)){if(T=await T.catch(e=>{_=e}),R!==g[o][0]){if(_)throw _;return T}_&&S&&(e=>"function"==typeof f?f(e):!1!==f)(_)&&(l=!0,v({data:V,_c:a}))}if(l&&!_)if(c(l)){const e=l(T,V);v({data:e,error:a,_c:a})}else v({data:T,error:a,_c:a});if(g[o][1]=I(),Promise.resolve(w()).then(()=>{v({_c:a})}),!_)return T;if(h)throw _}}const M=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},F=(e,t)=>{if(!p.has(e)){const n=u(R,t),r={},i=D.bind(a,e);let s=o;const c={},l=(e,t)=>{const n=c[e]||[];return c[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,r)=>{e.set(t,n);const o=c[t];if(o)for(const e of o)e(n,r)},d=()=>{if(!p.has(e)&&(p.set(e,[r,{},{},{},i,f,l]),!O)){const t=n.initFocus(setTimeout.bind(a,M.bind(a,r,0))),o=n.initReconnect(setTimeout.bind(a,M.bind(a,r,1)));s=()=>{t&&t(),o&&o(),p.delete(e)}}};return d(),[e,i,d,s]}return[e,p.get(e)[4]]},[j,P]=F(new Map),U=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:(e,t,n,r,o)=>{const a=n.errorRetryCount,i=o.retryCount,c=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!s(a)&&i>a||setTimeout(r,c,o)},onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:k?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:k?5e3:3e3,compare:(e,t)=>d(e)==d(t),isPaused:()=>!1,cache:j,mutate:P,fallback:{}},T),q=(e,t)=>{const n=u(e,t);if(t){const{use:r,fallback:o}=e,{use:a,fallback:i}=t;r&&a&&(n.use=r.concat(a)),o&&i&&(n.fallback=u(o,i))}return n},W=(0,r.createContext)({}),H=e=>{const{value:t}=e,n=(0,r.useContext)(W),o=c(t),i=(0,r.useMemo)(()=>o?t(n):t,[o,n,t]),s=(0,r.useMemo)(()=>o?i:q(n,i),[o,n,i]),l=i&&i.provider,f=(0,r.useRef)(a);l&&!f.current&&(f.current=F(l(s.cache||j),i));const d=f.current;return d&&(s.cache=d[0],s.mutate=d[1]),L(()=>{if(d)return d[2]&&d[2](),d[3]},[]),(0,r.createElement)(W.Provider,u(e,{value:s}))},Z="$inf$",$=g&&window.__SWR_DEVTOOLS_USE__,J=$?window.__SWR_DEVTOOLS_USE__:[],B=e=>c(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],X=J.concat(e=>(t,n,r)=>e(t,n&&((...e)=>{const[r]=A(t),[,,,o]=p.get(j);if(r.startsWith(Z))return n(...e);const a=o[r];return s(a)?n(...e):(delete o[r],a)}),r)),K=e=>function(...t){const n=u(U,(0,r.useContext)(W)),[o,a,i]=B(t),s=q(n,i);let c=e;const{use:l}=s,f=(l||[]).concat(X);for(let e=f.length;e--;)c=f[e](c);return c(o,a||s.fetcher||null,s)},z=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},G=(e,t)=>(...n)=>{const[r,o,a]=B(n),i=(a.use||[]).concat(t);return e(r,o,{...a,use:i})};$&&(window.__SWR_DEVTOOLS_REACT__=r)},5056(e,t,n){e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},5072(e){var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],s=0;s<e.length;s++){var c=e[s],u=r.base?c[0]+r.base:c[0],l=a[u]||0,f="".concat(u," ").concat(l);a[u]=l+1;var d=n(f),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)t[d].references++,t[d].updater(p);else{var h=o(p,r);r.byIndex=s,t.splice(s,0,{identifier:f,updater:h,references:1})}i.push(f)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var s=n(a[i]);t[s].references--}for(var c=r(e,o),u=0;u<a.length;u++){var l=n(a[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=c}}},7659(e){var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},7825(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},8493(e,t,n){var r=n(6072),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return s(function(){o.value=n,o.getSnapshot=t,u(o)&&l({inst:o})},[e,n,t]),i(function(){return u(o)&&l({inst:o}),e(function(){u(o)&&l({inst:o})})},[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},9324(e,t,n){n.d(t,{Ay:()=>u,BE:()=>c});var r=n(6072),o=n(9888),a=n(4993);const i=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),s={dedupe:!0},c=a.qv.defineProperty(a.BE,"defaultValue",{value:a.sb}),u=(0,a.qm)((e,t,n)=>{const{cache:c,compare:u,suspense:l,fallbackData:f,revalidateOnMount:d,revalidateIfStale:p,refreshInterval:h,refreshWhenHidden:v,refreshWhenOffline:b,keepPreviousData:g}=n,[m,y,E,w]=a.bZ.get(c),[_,T]=(0,a.lK)(e),R=(0,r.useRef)(!1),S=(0,r.useRef)(!1),O=(0,r.useRef)(_),C=(0,r.useRef)(t),L=(0,r.useRef)(n),V=()=>L.current,k=()=>V().isVisible()&&V().isOnline(),[A,x,I,N]=(0,a.r9)(c,_),D=(0,r.useRef)({}).current,M=(0,a.b0)(f)?n.fallback[_]:f,F=(e,t)=>{for(const n in D){const r=n;if("data"===r){if(!u(e[r],t[r])){if(!(0,a.b0)(e[r]))return!1;if(!u(J,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},j=(0,r.useMemo)(()=>{const e=!!_&&!!t&&((0,a.b0)(d)?!V().isPaused()&&!l&&(!!(0,a.b0)(p)||p):d),n=t=>{const n=(0,a.rL)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=A(),o=N(),i=n(r),s=r===o?i:n(o);let c=i;return[()=>{const e=n(A());return F(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>s]},[c,_]),P=(0,o.useSyncExternalStore)((0,r.useCallback)(e=>I(_,(t,n)=>{F(n,t)||e()}),[c,_]),j[0],j[1]),U=!R.current,q=m[_]&&m[_].length>0,W=P.data,H=(0,a.b0)(W)?M:W,Z=P.error,$=(0,r.useRef)(H),J=g?(0,a.b0)(W)?$.current:W:H,B=!(q&&!(0,a.b0)(Z))&&(U&&!(0,a.b0)(d)?d:!V().isPaused()&&(l?!(0,a.b0)(H)&&p:(0,a.b0)(H)||p)),X=!!(_&&t&&U&&B),K=(0,a.b0)(P.isValidating)?X:P.isValidating,z=(0,a.b0)(P.isLoading)?X:P.isLoading,G=(0,r.useCallback)(async e=>{const t=C.current;if(!_||!t||S.current||V().isPaused())return!1;let r,o,i=!0;const s=e||{},c=!E[_]||!s.dedupe,l=()=>a.dO?!S.current&&_===O.current&&R.current:_===O.current,f={isValidating:!1,isLoading:!1},d=()=>{x(f)},p=()=>{const e=E[_];e&&e[1]===o&&delete E[_]},h={isValidating:!0};(0,a.b0)(A().data)&&(h.isLoading=!0);try{if(c&&(x(h),n.loadingTimeout&&(0,a.b0)(A().data)&&setTimeout(()=>{i&&l()&&V().onLoadingSlow(_,n)},n.loadingTimeout),E[_]=[t(T),(0,a.lg)()]),[r,o]=E[_],r=await r,c&&setTimeout(p,n.dedupingInterval),!E[_]||E[_][1]!==o)return c&&l()&&V().onDiscarded(_),!1;f.error=a.ZH;const e=y[_];if(!(0,a.b0)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return d(),c&&l()&&V().onDiscarded(_),!1;const s=A().data;f.data=u(s,r)?s:r,c&&l()&&V().onSuccess(r,_,n)}catch(e){p();const t=V(),{shouldRetryOnError:n}=t;t.isPaused()||(f.error=e,c&&l()&&(t.onError(e,_,t),(!0===n||(0,a.Tn)(n)&&n(e))&&(V().revalidateOnFocus&&V().revalidateOnReconnect&&!k()||t.onErrorRetry(e,_,t,e=>{const t=m[_];t&&t[0]&&t[0](a.bu.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0}))))}return i=!1,d(),!0},[_,c]),Q=(0,r.useCallback)((...e)=>(0,a.mF)(c,O.current,...e),[]);if((0,a.Es)(()=>{C.current=t,L.current=n,(0,a.b0)(W)||($.current=W)}),(0,a.Es)(()=>{if(!_)return;const e=G.bind(a.ZH,s);let t=0;const n=(0,a.aw)(_,m,(n,r={})=>{if(n==a.bu.FOCUS_EVENT){const n=Date.now();V().revalidateOnFocus&&n>t&&k()&&(t=n+V().focusThrottleInterval,e())}else if(n==a.bu.RECONNECT_EVENT)V().revalidateOnReconnect&&k()&&e();else{if(n==a.bu.MUTATE_EVENT)return G();if(n==a.bu.ERROR_REVALIDATE_EVENT)return G(r)}});return S.current=!1,O.current=_,R.current=!0,x({_k:T}),B&&((0,a.b0)(H)||a.X3?e():(0,a.mf)(e)),()=>{S.current=!0,n()}},[_]),(0,a.Es)(()=>{let e;function t(){const t=(0,a.Tn)(h)?h(A().data):h;t&&-1!==e&&(e=setTimeout(n,t))}function n(){A().error||!v&&!V().isVisible()||!b&&!V().isOnline()?t():G(s).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[h,v,b,_]),(0,r.useDebugValue)(J),l&&(0,a.b0)(H)&&_){if(!a.dO&&a.X3)throw new Error("Fallback data is required when using suspense in SSR.");C.current=t,L.current=n,S.current=!1;const e=w[_];if(!(0,a.b0)(e)){const t=Q(e);i(t)}if(!(0,a.b0)(Z))throw Z;{const e=G(s);(0,a.b0)(J)||(e.status="fulfilled",e.value=!0),i(e)}}return{mutate:Q,get data(){return D.data=!0,J},get error(){return D.error=!0,Z},get isValidating(){return D.isValidating=!0,K},get isLoading(){return D.isLoading=!0,z}}})},9888(e,t,n){e.exports=n(8493)}}]);
2
+ "use strict";(globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app=globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app||[]).push([[104],{159:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},1113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},2996:e=>{function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var n,r,o=(r=4,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}}(n,r)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[1],i=o[3];if(!i)return a;if("function"==typeof btoa){var s=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),u="/*# ".concat(c," */"),l=i.sources.map(function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")});return[a].concat(l).concat([u]).join("\n")}return[a].join("\n")}},4993:(e,t,n)=>{n.d(t,{BE:()=>$,Es:()=>V,Ht:()=>Y,PP:()=>U,Tn:()=>c,X3:()=>C,ZH:()=>a,aw:()=>Q,b0:()=>s,bZ:()=>h,bu:()=>M,dO:()=>O,lK:()=>x,lg:()=>N,mF:()=>F,mf:()=>L,q9:()=>J,qm:()=>G,qv:()=>i,r9:()=>E,rL:()=>u,sb:()=>W});var r=n(6072);const o=()=>{},a=o(),i=Object,s=e=>e===a,c=e=>"function"==typeof e,u=(e,t)=>({...e,...t}),l=e=>c(e.then),f=new WeakMap;let d=0;const p=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,a;if(i(e)!==e||r||n==RegExp)o=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(o=f.get(e),o)return o;if(o=++d+"~",f.set(e,o),n==Array){for(o="@",a=0;a<e.length;a++)o+=p(e[a])+",";f.set(e,o)}if(n==i){o="#";const t=i.keys(e).sort();for(;!s(a=t.pop());)s(e[a])||(o+=a+":"+p(e[a])+",");f.set(e,o)}}return o},h=new WeakMap,v={},b={},g="undefined",m=typeof window!=g,y=typeof document!=g,E=(e,t)=>{const n=h.get(e);return[()=>!s(t)&&e.get(t)||v,r=>{if(!s(t)){const o=e.get(t);t in b||(b[t]=o),n[5](t,u(o,r),o||v)}},n[6],()=>!s(t)&&t in b?b[t]:!s(t)&&e.get(t)||v]};let w=!0;const[_,T]=m&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],R={isOnline:()=>w,isVisible:()=>{const e=y&&document.visibilityState;return s(e)||"hidden"!==e}},S={initFocus:e=>(y&&document.addEventListener("visibilitychange",e),_("focus",e),()=>{y&&document.removeEventListener("visibilitychange",e),T("focus",e)}),initReconnect:e=>{const t=()=>{w=!0,e()},n=()=>{w=!1};return _("online",t),_("offline",n),()=>{T("online",t),T("offline",n)}}},O=!r.useId,C=!m||"Deno"in window,L=e=>m&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1),V=C?r.useEffect:r.useLayoutEffect,k="undefined"!=typeof navigator&&navigator.connection,A=!C&&k&&(["slow-2g","2g"].includes(k.effectiveType)||k.saveData),x=e=>{if(c(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?p(e):"",t]};let I=0;const N=()=>++I,D=2;var M={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:D,RECONNECT_EVENT:1};async function F(...e){const[t,n,r,o]=e,i=u({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{});let f=i.populateCache;const d=i.rollbackOnError;let p=i.optimisticData;const v=i.throwOnError;if(c(n)){const e=n,r=[],o=t.keys();for(const n of o)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(b))}return b(n);async function b(n){const[o]=x(n);if(!o)return;const[u,b]=E(t,o),[g,m,y,w]=h.get(t),_=()=>{const e=g[o];return(c(i.revalidate)?i.revalidate(u().data,n):!1!==i.revalidate)&&(delete y[o],delete w[o],e&&e[0])?e[0](D).then(()=>u().data):u().data};if(e.length<3)return _();let T,R=r;const S=N();m[o]=[S,0];const O=!s(p),C=u(),L=C.data,V=C._c,k=s(V)?L:V;if(O&&(p=c(p)?p(k,L):p,b({data:p,_c:k})),c(R))try{R=R(k)}catch(e){T=e}if(R&&l(R)){if(R=await R.catch(e=>{T=e}),S!==m[o][0]){if(T)throw T;return R}T&&O&&(e=>"function"==typeof d?d(e):!1!==d)(T)&&(f=!0,b({data:k,_c:a}))}if(f&&!T)if(c(f)){const e=f(R,k);b({data:e,error:a,_c:a})}else b({data:R,error:a,_c:a});if(m[o][1]=N(),Promise.resolve(_()).then(()=>{b({_c:a})}),!T)return R;if(v)throw T}}const j=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},P=(e,t)=>{if(!h.has(e)){const n=u(S,t),r={},i=F.bind(a,e);let s=o;const c={},l=(e,t)=>{const n=c[e]||[];return c[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,r)=>{e.set(t,n);const o=c[t];if(o)for(const e of o)e(n,r)},d=()=>{if(!h.has(e)&&(h.set(e,[r,{},{},{},i,f,l]),!C)){const t=n.initFocus(setTimeout.bind(a,j.bind(a,r,0))),o=n.initReconnect(setTimeout.bind(a,j.bind(a,r,1)));s=()=>{t&&t(),o&&o(),h.delete(e)}}};return d(),[e,i,d,s]}return[e,h.get(e)[4]]},[U,q]=P(new Map),W=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:(e,t,n,r,o)=>{const a=n.errorRetryCount,i=o.retryCount,c=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!s(a)&&i>a||setTimeout(r,c,o)},onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:A?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:A?5e3:3e3,compare:(e,t)=>p(e)==p(t),isPaused:()=>!1,cache:U,mutate:q,fallback:{}},R),H=(e,t)=>{const n=u(e,t);if(t){const{use:r,fallback:o}=e,{use:a,fallback:i}=t;r&&a&&(n.use=r.concat(a)),o&&i&&(n.fallback=u(o,i))}return n},Z=(0,r.createContext)({}),$=e=>{const{value:t}=e,n=(0,r.useContext)(Z),o=c(t),i=(0,r.useMemo)(()=>o?t(n):t,[o,n,t]),s=(0,r.useMemo)(()=>o?i:H(n,i),[o,n,i]),l=i&&i.provider,f=(0,r.useRef)(a);l&&!f.current&&(f.current=P(l(s.cache||U),i));const d=f.current;return d&&(s.cache=d[0],s.mutate=d[1]),V(()=>{if(d)return d[2]&&d[2](),d[3]},[]),(0,r.createElement)(Z.Provider,u(e,{value:s}))},J="$inf$",B=m&&window.__SWR_DEVTOOLS_USE__,X=B?window.__SWR_DEVTOOLS_USE__:[],K=e=>c(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],z=X.concat(e=>(t,n,r)=>e(t,n&&((...e)=>{const[r]=x(t),[,,,o]=h.get(U);if(r.startsWith(J))return n(...e);const a=o[r];return s(a)?n(...e):(delete o[r],a)}),r)),G=e=>function(...t){const n=u(W,(0,r.useContext)(Z)),[o,a,i]=K(t),s=H(n,i);let c=e;const{use:l}=s,f=(l||[]).concat(z);for(let e=f.length;e--;)c=f[e](c);return c(o,a||s.fetcher||null,s)},Q=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},Y=(e,t)=>(...n)=>{const[r,o,a]=K(n),i=(a.use||[]).concat(t);return e(r,o,{...a,use:i})};B&&(window.__SWR_DEVTOOLS_REACT__=r)},5056:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},5072:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],s=0;s<e.length;s++){var c=e[s],u=r.base?c[0]+r.base:c[0],l=a[u]||0,f="".concat(u," ").concat(l);a[u]=l+1;var d=n(f),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)t[d].references++,t[d].updater(p);else{var h=o(p,r);r.byIndex=s,t.splice(s,0,{identifier:f,updater:h,references:1})}i.push(f)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var s=n(a[i]);t[s].references--}for(var c=r(e,o),u=0;u<a.length;u++){var l=n(a[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=c}}},7659:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},7825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},8493:(e,t,n)=>{var r=n(6072),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return s(function(){o.value=n,o.getSnapshot=t,u(o)&&l({inst:o})},[e,n,t]),i(function(){return u(o)&&l({inst:o}),e(function(){u(o)&&l({inst:o})})},[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},9324:(e,t,n)=>{n.d(t,{Ay:()=>u,BE:()=>c});var r=n(6072),o=n(9888),a=n(4993);const i=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),s={dedupe:!0},c=a.qv.defineProperty(a.BE,"defaultValue",{value:a.sb}),u=(0,a.qm)((e,t,n)=>{const{cache:c,compare:u,suspense:l,fallbackData:f,revalidateOnMount:d,revalidateIfStale:p,refreshInterval:h,refreshWhenHidden:v,refreshWhenOffline:b,keepPreviousData:g}=n,[m,y,E,w]=a.bZ.get(c),[_,T]=(0,a.lK)(e),R=(0,r.useRef)(!1),S=(0,r.useRef)(!1),O=(0,r.useRef)(_),C=(0,r.useRef)(t),L=(0,r.useRef)(n),V=()=>L.current,k=()=>V().isVisible()&&V().isOnline(),[A,x,I,N]=(0,a.r9)(c,_),D=(0,r.useRef)({}).current,M=(0,a.b0)(f)?n.fallback[_]:f,F=(e,t)=>{for(const n in D){const r=n;if("data"===r){if(!u(e[r],t[r])){if(!(0,a.b0)(e[r]))return!1;if(!u(J,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},j=(0,r.useMemo)(()=>{const e=!!_&&!!t&&((0,a.b0)(d)?!V().isPaused()&&!l&&(!!(0,a.b0)(p)||p):d),n=t=>{const n=(0,a.rL)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=A(),o=N(),i=n(r),s=r===o?i:n(o);let c=i;return[()=>{const e=n(A());return F(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>s]},[c,_]),P=(0,o.useSyncExternalStore)((0,r.useCallback)(e=>I(_,(t,n)=>{F(n,t)||e()}),[c,_]),j[0],j[1]),U=!R.current,q=m[_]&&m[_].length>0,W=P.data,H=(0,a.b0)(W)?M:W,Z=P.error,$=(0,r.useRef)(H),J=g?(0,a.b0)(W)?$.current:W:H,B=!(q&&!(0,a.b0)(Z))&&(U&&!(0,a.b0)(d)?d:!V().isPaused()&&(l?!(0,a.b0)(H)&&p:(0,a.b0)(H)||p)),X=!!(_&&t&&U&&B),K=(0,a.b0)(P.isValidating)?X:P.isValidating,z=(0,a.b0)(P.isLoading)?X:P.isLoading,G=(0,r.useCallback)(async e=>{const t=C.current;if(!_||!t||S.current||V().isPaused())return!1;let r,o,i=!0;const s=e||{},c=!E[_]||!s.dedupe,l=()=>a.dO?!S.current&&_===O.current&&R.current:_===O.current,f={isValidating:!1,isLoading:!1},d=()=>{x(f)},p=()=>{const e=E[_];e&&e[1]===o&&delete E[_]},h={isValidating:!0};(0,a.b0)(A().data)&&(h.isLoading=!0);try{if(c&&(x(h),n.loadingTimeout&&(0,a.b0)(A().data)&&setTimeout(()=>{i&&l()&&V().onLoadingSlow(_,n)},n.loadingTimeout),E[_]=[t(T),(0,a.lg)()]),[r,o]=E[_],r=await r,c&&setTimeout(p,n.dedupingInterval),!E[_]||E[_][1]!==o)return c&&l()&&V().onDiscarded(_),!1;f.error=a.ZH;const e=y[_];if(!(0,a.b0)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return d(),c&&l()&&V().onDiscarded(_),!1;const s=A().data;f.data=u(s,r)?s:r,c&&l()&&V().onSuccess(r,_,n)}catch(e){p();const t=V(),{shouldRetryOnError:n}=t;t.isPaused()||(f.error=e,c&&l()&&(t.onError(e,_,t),(!0===n||(0,a.Tn)(n)&&n(e))&&(V().revalidateOnFocus&&V().revalidateOnReconnect&&!k()||t.onErrorRetry(e,_,t,e=>{const t=m[_];t&&t[0]&&t[0](a.bu.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0}))))}return i=!1,d(),!0},[_,c]),Q=(0,r.useCallback)((...e)=>(0,a.mF)(c,O.current,...e),[]);if((0,a.Es)(()=>{C.current=t,L.current=n,(0,a.b0)(W)||($.current=W)}),(0,a.Es)(()=>{if(!_)return;const e=G.bind(a.ZH,s);let t=0;const n=(0,a.aw)(_,m,(n,r={})=>{if(n==a.bu.FOCUS_EVENT){const n=Date.now();V().revalidateOnFocus&&n>t&&k()&&(t=n+V().focusThrottleInterval,e())}else if(n==a.bu.RECONNECT_EVENT)V().revalidateOnReconnect&&k()&&e();else{if(n==a.bu.MUTATE_EVENT)return G();if(n==a.bu.ERROR_REVALIDATE_EVENT)return G(r)}});return S.current=!1,O.current=_,R.current=!0,x({_k:T}),B&&((0,a.b0)(H)||a.X3?e():(0,a.mf)(e)),()=>{S.current=!0,n()}},[_]),(0,a.Es)(()=>{let e;function t(){const t=(0,a.Tn)(h)?h(A().data):h;t&&-1!==e&&(e=setTimeout(n,t))}function n(){A().error||!v&&!V().isVisible()||!b&&!V().isOnline()?t():G(s).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[h,v,b,_]),(0,r.useDebugValue)(J),l&&(0,a.b0)(H)&&_){if(!a.dO&&a.X3)throw new Error("Fallback data is required when using suspense in SSR.");C.current=t,L.current=n,S.current=!1;const e=w[_];if(!(0,a.b0)(e)){const t=Q(e);i(t)}if(!(0,a.b0)(Z))throw Z;{const e=G(s);(0,a.b0)(J)||(e.status="fulfilled",e.value=!0),i(e)}}return{mutate:Q,get data(){return D.data=!0,J},get error(){return D.error=!0,Z},get isValidating(){return D.isValidating=!0,K},get isLoading(){return D.isLoading=!0,z}}})},9888:(e,t,n)=>{e.exports=n(8493)}}]);
package/dist/104.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"104.js","mappings":";qLAQAA,EAAOC,QAAU,SAAUC,GACzB,IAAIC,EAAO,GAuDX,OArDAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,IAAI,SAAUC,GACxB,IAAIC,EAAUN,EAAuBK,GAErC,OAAIA,EAAK,GACA,U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ACX,EACA,SAAI7L,GAEA,OADA0L,EAAkB1L,OAAQ,EACnBA,CACX,EACA,gBAAIiM,GAEA,OADAP,EAAkBO,cAAe,EAC1BA,CACX,EACA,aAAIC,GAEA,OADAR,EAAkBQ,WAAY,EACvBA,CACX,I,cCpgBN7X,EAAOC,QAAU,EAAjB,K","sources":["webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/api.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/swr/dist/_internal/index.mjs","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/swr/dist/core/index.mjs","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/use-sync-external-store/shim/index.js"],"names":["module","exports","cssWithMappingToString","list","toString","this","map","item","content","concat","join","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","id","_i","push","options","element","document","createElement","setAttributes","attributes","insert","css","styleElement","styleSheet","cssText","firstChild","removeChild","appendChild","createTextNode","_arrayLikeToArray","arr","len","arr2","Array","_item","isArray","_arrayWithHoles","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","value","err","_iterableToArrayLimit","o","minLen","n","Object","prototype","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","sourceURLs","sources","source","sourceRoot","noop","UNDEFINED","OBJECT","isUndefined","v","isFunction","mergeObjects","a","b","table","WeakMap","counter","stableHash","arg","type","isDate","Date","result","index","RegExp","toJSON","get","set","keys","sort","pop","SWRGlobalState","EMPTY_CACHE","INITIAL_CACHE","STR_UNDEFINED","isWindowDefined","window","isDocumentDefined","createCacheHelper","cache","key","state","info","prev","online","onWindowEvent","offWindowEvent","addEventListener","bind","removeEventListener","preset","isOnline","isVisible","visibilityState","defaultConfigOptions","initFocus","callback","initReconnect","onOnline","onOffline","IS_REACT_LEGACY","IS_SERVER","rAF","f","setTimeout","useIsomorphicLayoutEffect","useEffect","useLayoutEffect","navigatorConnection","navigator","connection","slowConnection","includes","effectiveType","saveData","serialize","args","__timestamp","getTimestamp","events","__proto__","ERROR_REVALIDATE_EVENT","FOCUS_EVENT","MUTATE_EVENT","RECONNECT_EVENT","async","internalMutate","_key","_data","_opts","populateCache","throwOnError","revalidate","rollbackOnErrorOption","rollbackOnError","optimisticData","keyFilter","matchedKeys","it","_k","Promise","all","mutateByKey","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","startRevalidate","revalidators","then","error","beforeMutationTs","hasOptimisticData","displayedData","currentData","_c","committedData","catch","populateCachedData","resolve","revalidateAllKeys","initCache","provider","has","opts","mutate","unmount","subscriptions","subscribe","subs","splice","indexOf","setter","fn","initProvider","releaseFocus","releaseReconnect","delete","Map","defaultConfig","onLoadingSlow","onSuccess","onError","onErrorRetry","_","__","config","maxRetryCount","errorRetryCount","currentRetryCount","retryCount","timeout","Math","random","errorRetryInterval","onDiscarded","revalidateOnFocus","revalidateOnReconnect","revalidateIfStale","shouldRetryOnError","focusThrottleInterval","dedupingInterval","loadingTimeout","compare","newData","isPaused","fallback","mergeConfigs","use","u1","f1","u2","f2","SWRConfigContext","createContext","SWRConfig","props","parentConfig","useContext","isFunctionalConfig","useMemo","extendedConfig","cacheContextRef","useRef","current","cacheContext","Provider","INFINITE_PREFIX","enableDevtools","__SWR_DEVTOOLS_USE__","normalize","BUILT_IN_MIDDLEWARE","useSWRNext","key_","fetcher_","startsWith","req","withArgs","hook","fallbackConfig","_config","middleware","fetcher","subscribeCallback","callbacks","keyedRevalidators","withMiddleware","useSWR","uses","__SWR_DEVTOOLS_REACT__","nonce","setAttribute","stylesInDOM","getIndexByIdentifier","identifier","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","media","sourceMap","supports","layer","references","updater","addElementStyle","byIndex","api","domAPI","update","newObj","remove","lastIdentifiers","newList","newLastIdentifiers","_index","memo","style","target","styleTarget","querySelector","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","insertStyleElement","needLayer","styleTagTransform","apply","parentNode","removeStyleElement","React","objectIs","is","x","y","useState","useDebugValue","checkIfSnapshotChanged","inst","latestGetSnapshot","getSnapshot","nextValue","shim","_useState","forceUpdate","useSyncExternalStore","promise","status","reason","WITH_DEDUPE","defineProperty","suspense","fallbackData","revalidateOnMount","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","fnArg","initialMountedRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","isActive","getCache","setCache","subscribeCache","getInitialCache","stateDependencies","isEqual","t","returnedData","shouldStartRequest","getSelectedCache","snapshot","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","cached","useCallback","isInitialMount","hasRevalidator","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidateOpts","currentFetcher","startAt","loading","shouldStartNewRequest","callbackSafeguard","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","mutationInfo","cacheData","currentConfig","boundMutate","softRevalidate","nextFocusRevalidatedAt","unsubE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,EAAIuG,EACR,CACA,KAAI,QAAYjK,GAQZ,MAAMA,EARc,CACpB,MAAMiK,EAAUlL,EAAWqL,IACtB,QAAYwB,KACb3B,EAAQC,OAAS,YACjBD,EAAQzS,OAAQ,GAEpBkM,EAAIuG,EACR,CAGJ,CACA,MAAO,CACHlJ,OAAQ8M,EACR,QAAI9U,GAEA,OADA0S,EAAkB1S,MAAO,EAClB6S,CACX,EACA,SAAI5L,GAEA,OADAyL,EAAkBzL,OAAQ,EACnBA,CACX,EACA,gBAAIgM,GAEA,OADAP,EAAkBO,cAAe,EAC1BA,CACX,EACA,aAAIC,GAEA,OADAR,EAAkBQ,WAAY,EACvBA,CACX,I,iBCpgBN9X,EAAOC,QAAU,EAAjB,K","sources":["webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/api.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/swr/dist/_internal/index.mjs","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/swr/dist/core/index.mjs","webpack://@technicise-healthcare/ssssh-technicise-his-app/./node_modules/use-sync-external-store/shim/index.js"],"names":["module","exports","cssWithMappingToString","list","toString","this","map","item","content","concat","join","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","id","_i","push","options","element","document","createElement","setAttributes","attributes","insert","css","styleElement","styleSheet","cssText","firstChild","removeChild","appendChild","createTextNode","_arrayLikeToArray","arr","len","arr2","Array","_item","isArray","_arrayWithHoles","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","value","err","_iterableToArrayLimit","o","minLen","n","Object","prototype","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","sourceURLs","sources","source","sourceRoot","noop","UNDEFINED","OBJECT","isUndefined","v","isFunction","mergeObjects","a","b","isPromiseLike","x","then","table","WeakMap","counter","stableHash","arg","type","isDate","Date","result","index","RegExp","toJSON","get","set","keys","sort","pop","SWRGlobalState","EMPTY_CACHE","INITIAL_CACHE","STR_UNDEFINED","isWindowDefined","window","isDocumentDefined","createCacheHelper","cache","key","state","info","prev","online","onWindowEvent","offWindowEvent","addEventListener","bind","removeEventListener","preset","isOnline","isVisible","visibilityState","defaultConfigOptions","initFocus","callback","initReconnect","onOnline","onOffline","IS_REACT_LEGACY","IS_SERVER","rAF","f","setTimeout","useIsomorphicLayoutEffect","useEffect","useLayoutEffect","navigatorConnection","navigator","connection","slowConnection","includes","effectiveType","saveData","serialize","args","__timestamp","getTimestamp","MUTATE_EVENT","events","__proto__","ERROR_REVALIDATE_EVENT","FOCUS_EVENT","RECONNECT_EVENT","async","internalMutate","_key","_data","_opts","populateCache","throwOnError","revalidate","rollbackOnErrorOption","rollbackOnError","optimisticData","keyFilter","matchedKeys","it","_k","Promise","all","mutateByKey","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","startRevalidate","revalidators","error","beforeMutationTs","hasOptimisticData","displayedData","currentData","_c","committedData","catch","populateCachedData","resolve","revalidateAllKeys","initCache","provider","has","opts","mutate","unmount","subscriptions","subscribe","subs","splice","indexOf","setter","fn","initProvider","releaseFocus","releaseReconnect","delete","Map","defaultConfig","onLoadingSlow","onSuccess","onError","onErrorRetry","_","__","config","maxRetryCount","errorRetryCount","currentRetryCount","retryCount","timeout","Math","random","errorRetryInterval","onDiscarded","revalidateOnFocus","revalidateOnReconnect","revalidateIfStale","shouldRetryOnError","focusThrottleInterval","dedupingInterval","loadingTimeout","compare","newData","isPaused","fallback","mergeConfigs","use","u1","f1","u2","f2","SWRConfigContext","createContext","SWRConfig","props","parentConfig","useContext","isFunctionalConfig","useMemo","extendedConfig","cacheContextRef","useRef","current","cacheContext","Provider","INFINITE_PREFIX","enableDevtools","__SWR_DEVTOOLS_USE__","normalize","BUILT_IN_MIDDLEWARE","useSWRNext","key_","fetcher_","startsWith","req","withArgs","hook","fallbackConfig","_config","middleware","fetcher","subscribeCallback","callbacks","keyedRevalidators","withMiddleware","useSWR","uses","__SWR_DEVTOOLS_REACT__","nonce","setAttribute","stylesInDOM","getIndexByIdentifier","identifier","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","media","sourceMap","supports","layer","references","updater","addElementStyle","byIndex","api","domAPI","update","newObj","remove","lastIdentifiers","newList","newLastIdentifiers","_index","memo","style","target","styleTarget","querySelector","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","insertStyleElement","needLayer","styleTagTransform","apply","parentNode","removeStyleElement","React","objectIs","is","y","useState","useDebugValue","checkIfSnapshotChanged","inst","latestGetSnapshot","getSnapshot","nextValue","shim","_useState","forceUpdate","useSyncExternalStore","promise","status","reason","WITH_DEDUPE","defineProperty","suspense","fallbackData","revalidateOnMount","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","fnArg","initialMountedRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","isActive","getCache","setCache","subscribeCache","getInitialCache","stateDependencies","isEqual","t","returnedData","shouldStartRequest","getSelectedCache","snapshot","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","cached","useCallback","isInitialMount","hasRevalidator","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidateOpts","currentFetcher","startAt","loading","shouldStartNewRequest","callbackSafeguard","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","mutationInfo","cacheData","currentConfig","boundMutate","softRevalidate","nextFocusRevalidatedAt","unsubEvents","now","timer","interval","execute","clearTimeout"],"sourceRoot":""}
package/dist/184.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 184.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app=globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app||[]).push([[184],{3184(t,e,r){r.r(e),r.d(e,{ArgumentOutOfRangeError:()=>St,AsyncSubject:()=>ot,BehaviorSubject:()=>Y,ConnectableObservable:()=>C,EMPTY:()=>W,EmptyError:()=>It,GroupedObservable:()=>V,NEVER:()=>me,Notification:()=>tt,NotificationKind:()=>G,ObjectUnsubscribedError:()=>I,Observable:()=>E,ReplaySubject:()=>nt,Scheduler:()=>q,Subject:()=>N,Subscriber:()=>v,Subscription:()=>p,TimeoutError:()=>Tt,UnsubscriptionError:()=>f,VirtualAction:()=>xt,VirtualTimeScheduler:()=>_t,animationFrame:()=>wt,animationFrameScheduler:()=>mt,asap:()=>pt,asapScheduler:()=>ft,async:()=>bt,asyncScheduler:()=>dt,bindCallback:()=>kt,bindNodeCallback:()=>Pt,combineLatest:()=>Bt,concat:()=>ie,config:()=>u,defer:()=>oe,empty:()=>z,forkJoin:()=>se,from:()=>Qt,fromEvent:()=>ce,fromEventPattern:()=>ae,generate:()=>le,identity:()=>_,iif:()=>pe,interval:()=>be,isObservable:()=>Et,merge:()=>ye,never:()=>we,noop:()=>gt,observable:()=>w,of:()=>X,onErrorResumeNext:()=>_e,pairs:()=>xe,partition:()=>je,pipe:()=>x,queue:()=>L,queueScheduler:()=>H,race:()=>Ne,range:()=>Ae,scheduled:()=>Kt,throwError:()=>Z,timer:()=>Pe,using:()=>Fe,zip:()=>Ye});var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)};function i(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function o(t){return"function"==typeof t}var s=!1,u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack,s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function c(t){setTimeout(function(){throw t},0)}var h={closed:!0,next:function(t){},error:function(t){if(u.useDeprecatedSynchronousErrorHandling)throw t;c(t)},complete:function(){}},a=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}();function l(t){return null!==t&&"object"==typeof t}var f=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),p=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var e;if(!this.closed){var r=this,n=r._parentOrParents,i=r._ctorUnsubscribe,s=r._unsubscribe,u=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var c=0;c<n.length;++c)n[c].remove(this);if(o(s)){i&&(this._unsubscribe=void 0);try{s.call(this)}catch(t){e=t instanceof f?d(t.errors):[t]}}if(a(u)){c=-1;for(var h=u.length;++c<h;){var p=u[c];if(l(p))try{p.unsubscribe()}catch(t){e=e||[],t instanceof f?e=e.concat(d(t.errors)):e.push(t)}}}if(e)throw new f(e)}},t.prototype.add=function(e){var r=e;if(!e)return t.EMPTY;switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof t)){var n=r;(r=new t)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof t){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.push(r),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();function d(t){return t.reduce(function(t,e){return t.concat(e instanceof f?e.errors:e)},[])}var b=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),v=function(t){function e(r,n,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=h;break;case 1:if(!r){o.destination=h;break}if("object"==typeof r){r instanceof e?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new y(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new y(o,r,n,i)}return o}return i(e,t),e.prototype[b]=function(){return this},e.create=function(t,r,n){var i=new e(t,r,n);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(p),y=function(t){function e(e,r,n,i){var s,u=t.call(this)||this;u._parentSubscriber=e;var c=u;return o(r)?s=r:r&&(s=r.next,n=r.error,i=r.complete,r!==h&&(o((c=Object.create(r)).unsubscribe)&&u.add(c.unsubscribe.bind(c)),c.unsubscribe=u.unsubscribe.bind(u))),u._context=c,u._next=s,u._error=n,u._complete=i,u}return i(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,r=u.useDeprecatedSynchronousErrorHandling;if(this._error)r&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)r?(e.syncErrorValue=t,e.syncErrorThrown=!0):c(t),this.unsubscribe();else{if(this.unsubscribe(),r)throw t;c(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),u.useDeprecatedSynchronousErrorHandling)throw t;c(t)}},e.prototype.__tryOrSetError=function(t,e,r){if(!u.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,r)}catch(e){return u.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(c(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(v);function m(t){for(;t;){var e=t,r=e.closed,n=e.destination,i=e.isStopped;if(r||i)return!1;t=n&&n instanceof v?n:null}return!0}var w=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function _(t){return t}function x(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return g(t)}function g(t){return 0===t.length?_:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}}var E=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,i=function(t,e,r){if(t){if(t instanceof v)return t;if(t[b])return t[b]()}return t||e||r?new v(t,e,r):new v(h)}(t,e,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||u.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),u.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){u.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),m(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=S(e))(function(e,n){var i;i=r.subscribe(function(e){try{t(e)}catch(t){n(t),i&&i.unsubscribe()}},n,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[w]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:g(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=S(t))(function(t,r){var n;e.subscribe(function(t){return n=t},function(t){return r(t)},function(){return t(n)})})},t.create=function(e){return new t(e)},t}();function S(t){if(t||(t=u.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var I=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}(),T=function(t){function e(e,r){var n=t.call(this)||this;return n.subject=e,n.subscriber=r,n.closed=!1,n}return i(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var r=e.indexOf(this.subscriber);-1!==r&&e.splice(r,1)}}},e}(p),j=function(t){function e(e){var r=t.call(this,e)||this;return r.destination=e,r}return i(e,t),e}(v),N=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return i(e,t),e.prototype[b]=function(){return new j(this)},e.prototype.lift=function(t){var e=new O(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new I;if(!this.isStopped)for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new I;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new I;this.isStopped=!0;for(var t=this.observers,e=t.length,r=t.slice(),n=0;n<e;n++)r[n].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new I;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new I;return this.hasError?(t.error(this.thrownError),p.EMPTY):this.isStopped?(t.complete(),p.EMPTY):(this.observers.push(t),new T(this,t))},e.prototype.asObservable=function(){var t=new E;return t.source=this,t},e.create=function(t,e){return new O(t,e)},e}(E),O=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return i(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):p.EMPTY},e}(N),k=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new A(t,r),i=e.subscribe(n);return n.closed||(n.connection=r.connect()),i},t}(),A=function(t){function e(e,r){var n=t.call(this,e)||this;return n.connectable=r,n}return i(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},e}(v),C=function(t){function e(e,r){var n=t.call(this)||this;return n.source=e,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return i(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new p).add(this.source.subscribe(new P(this.getSubject(),this))),t.closed&&(this._connection=null,t=p.EMPTY)),t},e.prototype.refCount=function(){return(t=this).lift(new k(t));var t},e}(E),P=function(t){function e(e,r){var n=t.call(this,e)||this;return n.connectable=r,n}return i(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(j),V=function(t){function e(e,r,n){var i=t.call(this)||this;return i.key=e,i.groupSubject=r,i.refCountSubscription=n,i}return i(e,t),e.prototype._subscribe=function(t){var e=new p,r=this.refCountSubscription,n=this.groupSubject;return r&&!r.closed&&e.add(new F(r)),e.add(n.subscribe(t)),e},e}(E),F=function(t){function e(e){var r=t.call(this)||this;return r.parent=e,e.count++,r}return i(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(p),Y=function(t){function e(e){var r=t.call(this)||this;return r._value=e,r}return i(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);return r&&!r.closed&&e.next(this._value),r},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new I;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(N),M=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n.pending=!1,n}return i(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this},e.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),setInterval(t.flush.bind(t,this),r)},e.prototype.recycleAsyncId=function(t,e,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var r=!1,n=void 0;try{this.work(t)}catch(t){r=!0,n=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),n},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,r=e.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,r){return t.call(this)||this}return i(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(p)),R=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return i(e,t),e.prototype.schedule=function(e,r){return void 0===r&&(r=0),r>0?t.prototype.schedule.call(this,e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,r){return r>0||this.closed?t.prototype.execute.call(this,e,r):this._execute(e,r)},e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?t.prototype.requestAsyncId.call(this,e,r,n):e.flush(this)},e}(M),q=function(){function t(e,r){void 0===r&&(r=t.now),this.SchedulerAction=e,this.now=r}return t.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(r,e)},t.now=function(){return Date.now()},t}(),D=function(t){function e(r,n){void 0===n&&(n=q.now);var i=t.call(this,r,function(){return e.delegate&&e.delegate!==i?e.delegate.now():n()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return i(e,t),e.prototype.schedule=function(r,n,i){return void 0===n&&(n=0),e.delegate&&e.delegate!==this?e.delegate.schedule(r,n,i):t.prototype.schedule.call(this,r,n,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var r;this.active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}},e}(q),U=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(D),H=new U(R),L=H,W=new E(function(t){return t.complete()});function z(t){return t?function(t){return new E(function(e){return t.schedule(function(){return e.complete()})})}(t):W}function B(t){return t&&"function"==typeof t.schedule}var G,J=function(t){return function(e){for(var r=0,n=t.length;r<n&&!e.closed;r++)e.next(t[r]);e.complete()}};function K(t,e){return new E(function(r){var n=new p,i=0;return n.add(e.schedule(function(){i!==t.length?(r.next(t[i++]),r.closed||n.add(this.schedule())):r.complete()})),n})}function Q(t,e){return e?K(t,e):new E(J(t))}function X(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t[t.length-1];return B(r)?(t.pop(),K(t,r)):Q(t)}function Z(t,e){return new E(e?function(r){return e.schedule($,0,{error:t,subscriber:r})}:function(e){return e.error(t)})}function $(t){var e=t.error;t.subscriber.error(e)}G||(G={});var tt=function(){function t(t,e,r){this.kind=t,this.value=e,this.error=r,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,r){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}},t.prototype.accept=function(t,e,r){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,r)},t.prototype.toObservable=function(){switch(this.kind){case"N":return X(this.value);case"E":return Z(this.error);case"C":return z()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),et=function(t){function e(e,r,n){void 0===n&&(n=0);var i=t.call(this,e)||this;return i.scheduler=r,i.delay=n,i}return i(e,t),e.dispatch=function(t){var e=t.notification,r=t.destination;e.observe(r),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new rt(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(tt.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(tt.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(tt.createComplete()),this.unsubscribe()},e}(v),rt=function(){return function(t,e){this.notification=t,this.destination=e}}(),nt=function(t){function e(e,r,n){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=n,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return i(e,t),e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var r=this._events;r.push(e),r.length>this._bufferSize&&r.shift()}t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this.isStopped||(this._events.push(new it(this._getNow(),e)),this._trimBufferThenGetEvents()),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=n.length;if(this.closed)throw new I;if(this.isStopped||this.hasError?e=p.EMPTY:(this.observers.push(t),e=new T(this,t)),i&&t.add(t=new et(t,i)),r)for(var s=0;s<o&&!t.closed;s++)t.next(n[s]);else for(s=0;s<o&&!t.closed;s++)t.next(n[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||L).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,r=this._windowTime,n=this._events,i=n.length,o=0;o<i&&!(t-n[o].time<r);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&n.splice(0,o),n},e}(N),it=function(){return function(t,e){this.time=t,this.value=e}}(),ot=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return i(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),p.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),p.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(N),st=1,ut=function(){return Promise.resolve()}(),ct={};function ht(t){return t in ct&&(delete ct[t],!0)}var at=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return i(e,t),e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.actions.push(this),e.scheduled||(e.scheduled=(i=e.flush.bind(e,null),o=st++,ct[o]=!0,ut.then(function(){return ht(o)&&i()}),o)));var i,o},e.prototype.recycleAsyncId=function(e,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,n);0===e.actions.length&&(ht(r),e.scheduled=void 0)},e}(M),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,r=this.actions,n=-1,i=r.length;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while(++n<i&&(t=r.shift()));if(this.active=!1,e){for(;++n<i&&(t=r.shift());)t.unsubscribe();throw e}},e}(D),ft=new lt(at),pt=ft,dt=new D(M),bt=dt,vt=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return i(e,t),e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},e.prototype.recycleAsyncId=function(e,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,n);0===e.actions.length&&(cancelAnimationFrame(r),e.scheduled=void 0)},e}(M),yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,r=this.actions,n=-1,i=r.length;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while(++n<i&&(t=r.shift()));if(this.active=!1,e){for(;++n<i&&(t=r.shift());)t.unsubscribe();throw e}},e}(D),mt=new yt(vt),wt=mt,_t=function(t){function e(e,r){void 0===e&&(e=xt),void 0===r&&(r=Number.POSITIVE_INFINITY);var n=t.call(this,e,function(){return n.frame})||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return i(e,t),e.prototype.flush=function(){for(var t,e,r=this.actions,n=this.maxFrames;(e=r[0])&&e.delay<=n&&(r.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=r.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(D),xt=function(t){function e(e,r,n){void 0===n&&(n=e.index+=1);var i=t.call(this,e,r)||this;return i.scheduler=e,i.work=r,i.index=n,i.active=!0,i.index=e.index=n,i}return i(e,t),e.prototype.schedule=function(r,n){if(void 0===n&&(n=0),!this.id)return t.prototype.schedule.call(this,r,n);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(r,n)},e.prototype.requestAsyncId=function(t,r,n){void 0===n&&(n=0),this.delay=t.frame+n;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,r){void 0===r&&(r=0)},e.prototype._execute=function(e,r){if(!0===this.active)return t.prototype._execute.call(this,e,r)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(M);function gt(){}function Et(t){return!!t&&(t instanceof E||"function"==typeof t.lift&&"function"==typeof t.subscribe)}var St=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}(),It=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),Tt=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}();function jt(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new Nt(t,e))}}var Nt=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Ot(t,this.project,this.thisArg))},t}(),Ot=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.project=r,i.count=0,i.thisArg=n||i,i}return i(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(v);function kt(t,e,r){if(e){if(!B(e))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return kt(t,r).apply(void 0,n).pipe(jt(function(t){return a(t)?e.apply(void 0,t):e(t)}))};r=e}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i,o=this,s={context:o,subject:i,callbackFunc:t,scheduler:r};return new E(function(n){if(r){var u={args:e,subscriber:n,params:s};return r.schedule(At,0,u)}if(!i){i=new ot;try{t.apply(o,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];i.next(t.length<=1?t[0]:t),i.complete()}]))}catch(t){m(i)?i.error(t):console.warn(t)}}return i.subscribe(n)})}}function At(t){var e=this,r=t.args,n=t.subscriber,i=t.params,o=i.callbackFunc,s=i.context,u=i.scheduler,c=i.subject;if(!c){c=i.subject=new ot;try{o.apply(s,r.concat([function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=t.length<=1?t[0]:t;e.add(u.schedule(Ct,0,{value:n,subject:c}))}]))}catch(t){c.error(t)}}this.add(c.subscribe(n))}function Ct(t){var e=t.value,r=t.subject;r.next(e),r.complete()}function Pt(t,e,r){if(e){if(!B(e))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return Pt(t,r).apply(void 0,n).pipe(jt(function(t){return a(t)?e.apply(void 0,t):e(t)}))};r=e}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i={subject:void 0,args:e,callbackFunc:t,scheduler:r,context:this};return new E(function(n){var o=i.context,s=i.subject;if(r)return r.schedule(Vt,0,{params:i,subscriber:n,context:o});if(!s){s=i.subject=new ot;try{t.apply(o,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t.shift();r?s.error(r):(s.next(t.length<=1?t[0]:t),s.complete())}]))}catch(t){m(s)?s.error(t):console.warn(t)}}return s.subscribe(n)})}}function Vt(t){var e=this,r=t.params,n=t.subscriber,i=t.context,o=r.callbackFunc,s=r.args,u=r.scheduler,c=r.subject;if(!c){c=r.subject=new ot;try{o.apply(i,s.concat([function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=t.shift();if(n)e.add(u.schedule(Yt,0,{err:n,subject:c}));else{var i=t.length<=1?t[0]:t;e.add(u.schedule(Ft,0,{value:i,subject:c}))}}]))}catch(t){this.add(u.schedule(Yt,0,{err:t,subject:c}))}}this.add(c.subscribe(n))}function Ft(t){var e=t.value,r=t.subject;r.next(e),r.complete()}function Yt(t){var e=t.err;t.subject.error(e)}var Mt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.notifyNext=function(t,e,r,n,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(v),Rt=function(t){function e(e,r,n){var i=t.call(this)||this;return i.parent=e,i.outerValue=r,i.outerIndex=n,i.index=0,i}return i(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(v);function qt(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Dt=qt(),Ut=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function Ht(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var Lt=function(t){if(t&&"function"==typeof t[w])return n=t,function(t){var e=n[w]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Ut(t))return J(t);if(Ht(t))return r=t,function(t){return r.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,c),t};if(t&&"function"==typeof t[Dt])return e=t,function(t){for(var r=e[Dt]();;){var n=void 0;try{n=r.next()}catch(e){return t.error(e),t}if(n.done){t.complete();break}if(t.next(n.value),t.closed)break}return"function"==typeof r.return&&t.add(function(){r.return&&r.return()}),t};var e,r,n,i=l(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Wt(t,e,r,n,i){if(void 0===i&&(i=new Rt(t,r,n)),!i.closed)return e instanceof E?e.subscribe(i):Lt(e)(i)}var zt={};function Bt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=void 0,n=void 0;return B(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&a(t[0])&&(t=t[0]),Q(t,n).lift(new Gt(r))}var Gt=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Jt(t,this.resultSelector))},t}(),Jt=function(t){function e(e,r){var n=t.call(this,e)||this;return n.resultSelector=r,n.active=0,n.values=[],n.observables=[],n}return i(e,t),e.prototype._next=function(t){this.values.push(zt),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var r=0;r<e;r++){var n=t[r];this.add(Wt(this,n,void 0,r))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,r){var n=this.values,i=n[r],o=this.toRespond?i===zt?--this.toRespond:this.toRespond:0;n[r]=e,0===o&&(this.resultSelector?this._tryResultSelector(n):this.destination.next(n.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(Mt);function Kt(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[w]}(t))return function(t,e){return new E(function(r){var n=new p;return n.add(e.schedule(function(){var i=t[w]();n.add(i.subscribe({next:function(t){n.add(e.schedule(function(){return r.next(t)}))},error:function(t){n.add(e.schedule(function(){return r.error(t)}))},complete:function(){n.add(e.schedule(function(){return r.complete()}))}}))})),n})}(t,e);if(Ht(t))return function(t,e){return new E(function(r){var n=new p;return n.add(e.schedule(function(){return t.then(function(t){n.add(e.schedule(function(){r.next(t),n.add(e.schedule(function(){return r.complete()}))}))},function(t){n.add(e.schedule(function(){return r.error(t)}))})})),n})}(t,e);if(Ut(t))return K(t,e);if(function(t){return t&&"function"==typeof t[Dt]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new E(function(r){var n,i=new p;return i.add(function(){n&&"function"==typeof n.return&&n.return()}),i.add(e.schedule(function(){n=t[Dt](),i.add(e.schedule(function(){if(!r.closed){var t,e;try{var i=n.next();t=i.value,e=i.done}catch(t){return void r.error(t)}e?r.complete():(r.next(t),this.schedule())}}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function Qt(t,e){return e?Kt(t,e):t instanceof E?t:new E(Lt(t))}var Xt=function(t){function e(e){var r=t.call(this)||this;return r.parent=e,r}return i(e,t),e.prototype._next=function(t){this.parent.notifyNext(t)},e.prototype._error=function(t){this.parent.notifyError(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(v),Zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.destination.complete()},e}(v);function $t(t,e){if(!e.closed){if(t instanceof E)return t.subscribe(e);var r;try{r=Lt(t)(e)}catch(t){e.error(t)}return r}}function te(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof e?function(n){return n.pipe(te(function(r,n){return Qt(t(r,n)).pipe(jt(function(t,i){return e(r,t,n,i)}))},r))}:("number"==typeof e&&(r=e),function(e){return e.lift(new ee(t,r))})}var ee=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new re(t,this.project,this.concurrent))},t}(),re=function(t){function e(e,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=r,i.concurrent=n,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return i(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new Xt(this),r=this.destination;r.add(e);var n=$t(t,e);n!==e&&r.add(n)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(Zt);function ne(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),te(_,t)}function ie(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return ne(1)(X.apply(void 0,t))}function oe(t){return new E(function(e){var r;try{r=t()}catch(t){return void e.error(t)}return(r?Qt(r):z()).subscribe(e)})}function se(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var r=t[0];if(a(r))return ue(r,null);if(l(r)&&Object.getPrototypeOf(r)===Object.prototype){var n=Object.keys(r);return ue(n.map(function(t){return r[t]}),n)}}if("function"==typeof t[t.length-1]){var i=t.pop();return ue(t=1===t.length&&a(t[0])?t[0]:t,null).pipe(jt(function(t){return i.apply(void 0,t)}))}return ue(t,null)}function ue(t,e){return new E(function(r){var n=t.length;if(0!==n)for(var i=new Array(n),o=0,s=0,u=function(u){var c=Qt(t[u]),h=!1;r.add(c.subscribe({next:function(t){h||(h=!0,s++),i[u]=t},error:function(t){return r.error(t)},complete:function(){++o!==n&&h||(s===n&&r.next(e?e.reduce(function(t,e,r){return t[e]=i[r],t},{}):i),r.complete())}}))},c=0;c<n;c++)u(c);else r.complete()})}function ce(t,e,r,n){return o(r)&&(n=r,r=void 0),n?ce(t,e,r).pipe(jt(function(t){return a(t)?n.apply(void 0,t):n(t)})):new E(function(n){he(t,e,function(t){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(t)},n,r)})}function he(t,e,r,n,i){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(e,r,i),o=function(){return s.removeEventListener(e,r,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var u=t;t.on(e,r),o=function(){return u.off(e,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var c=t;t.addListener(e,r),o=function(){return c.removeListener(e,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var h=0,a=t.length;h<a;h++)he(t[h],e,r,n,i)}n.add(o)}function ae(t,e,r){return r?ae(t,e).pipe(jt(function(t){return a(t)?r.apply(void 0,t):r(t)})):new E(function(r){var n,i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.next(1===t.length?t[0]:t)};try{n=t(i)}catch(t){return void r.error(t)}if(o(e))return function(){return e(i,n)}})}function le(t,e,r,n,i){var o,s;if(1==arguments.length){var u=t;s=u.initialState,e=u.condition,r=u.iterate,o=u.resultSelector||_,i=u.scheduler}else void 0===n||B(n)?(s=t,o=_,i=n):(s=t,o=n);return new E(function(t){var n=s;if(i)return i.schedule(fe,0,{subscriber:t,iterate:r,condition:e,resultSelector:o,state:n});for(;;){if(e){var u=void 0;try{u=e(n)}catch(e){return void t.error(e)}if(!u){t.complete();break}}var c=void 0;try{c=o(n)}catch(e){return void t.error(e)}if(t.next(c),t.closed)break;try{n=r(n)}catch(e){return void t.error(e)}}})}function fe(t){var e=t.subscriber,r=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(r){var n=void 0;try{n=r(t.state)}catch(t){return void e.error(t)}if(!n)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}}function pe(t,e,r){return void 0===e&&(e=W),void 0===r&&(r=W),oe(function(){return t()?e:r})}function de(t){return!a(t)&&t-parseFloat(t)+1>=0}function be(t,e){return void 0===t&&(t=0),void 0===e&&(e=bt),(!de(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=bt),new E(function(r){return r.add(e.schedule(ve,t,{subscriber:r,counter:0,period:t})),r})}function ve(t){var e=t.subscriber,r=t.counter,n=t.period;e.next(r),this.schedule({subscriber:e,counter:r+1,period:n},n)}function ye(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Number.POSITIVE_INFINITY,n=null,i=t[t.length-1];return B(i)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof i&&(r=t.pop()),null===n&&1===t.length&&t[0]instanceof E?t[0]:ne(r)(Q(t,n))}var me=new E(gt);function we(){return me}function _e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return W;var r=t[0],n=t.slice(1);return 1===t.length&&a(r)?_e.apply(void 0,r):new E(function(t){var e=function(){return t.add(_e.apply(void 0,n).subscribe(t))};return Qt(r).subscribe({next:function(e){t.next(e)},error:e,complete:e})})}function xe(t,e){return new E(e?function(r){var n=Object.keys(t),i=new p;return i.add(e.schedule(ge,0,{keys:n,index:0,subscriber:r,subscription:i,obj:t})),i}:function(e){for(var r=Object.keys(t),n=0;n<r.length&&!e.closed;n++){var i=r[n];t.hasOwnProperty(i)&&e.next([i,t[i]])}e.complete()})}function ge(t){var e=t.keys,r=t.index,n=t.subscriber,i=t.subscription,o=t.obj;if(!n.closed)if(r<e.length){var s=e[r];n.next([s,o[s]]),i.add(this.schedule({keys:e,index:r+1,subscriber:n,subscription:i,obj:o}))}else n.complete()}function Ee(t,e){function r(){return!r.pred.apply(r.thisArg,arguments)}return r.pred=t,r.thisArg=e,r}function Se(t,e){return function(r){return r.lift(new Ie(t,e))}}var Ie=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Te(t,this.predicate,this.thisArg))},t}(),Te=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.predicate=r,i.thisArg=n,i.count=0,i}return i(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(v);function je(t,e,r){return[Se(e,r)(new E(Lt(t))),Se(Ee(e,r))(new E(Lt(t)))]}function Ne(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!a(t[0]))return t[0];t=t[0]}return Q(t,void 0).lift(new Oe)}var Oe=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ke(t))},t}(),ke=function(t){function e(e){var r=t.call(this,e)||this;return r.hasFirst=!1,r.observables=[],r.subscriptions=[],r}return i(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var r=0;r<e&&!this.hasFirst;r++){var n=Wt(this,t[r],void 0,r);this.subscriptions&&this.subscriptions.push(n),this.add(n)}this.observables=null}},e.prototype.notifyNext=function(t,e,r){if(!this.hasFirst){this.hasFirst=!0;for(var n=0;n<this.subscriptions.length;n++)if(n!==r){var i=this.subscriptions[n];i.unsubscribe(),this.remove(i)}this.subscriptions=null}this.destination.next(e)},e}(Mt);function Ae(t,e,r){return void 0===t&&(t=0),new E(function(n){void 0===e&&(e=t,t=0);var i=0,o=t;if(r)return r.schedule(Ce,0,{index:i,count:e,start:t,subscriber:n});for(;;){if(i++>=e){n.complete();break}if(n.next(o++),n.closed)break}})}function Ce(t){var e=t.start,r=t.index,n=t.count,i=t.subscriber;r>=n?i.complete():(i.next(e),i.closed||(t.index=r+1,t.start=e+1,this.schedule(t)))}function Pe(t,e,r){void 0===t&&(t=0);var n=-1;return de(e)?n=Number(e)<1?1:Number(e):B(e)&&(r=e),B(r)||(r=bt),new E(function(e){var i=de(t)?t:+t-r.now();return r.schedule(Ve,i,{index:0,period:n,subscriber:e})})}function Ve(t){var e=t.index,r=t.period,n=t.subscriber;if(n.next(e),!n.closed){if(-1===r)return n.complete();t.index=e+1,this.schedule(t,r)}}function Fe(t,e){return new E(function(r){var n,i;try{n=t()}catch(t){return void r.error(t)}try{i=e(n)}catch(t){return void r.error(t)}var o=(i?Qt(i):W).subscribe(r);return function(){o.unsubscribe(),n&&n.unsubscribe()}})}function Ye(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t[t.length-1];return"function"==typeof r&&t.pop(),Q(t,void 0).lift(new Me(r))}var Me=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Re(t,this.resultSelector))},t}(),Re=function(t){function e(e,r,n){void 0===n&&(n=Object.create(null));var i=t.call(this,e)||this;return i.resultSelector=r,i.iterators=[],i.active=0,i.resultSelector="function"==typeof r?r:void 0,i}return i(e,t),e.prototype._next=function(t){var e=this.iterators;a(t)?e.push(new De(t)):"function"==typeof t[Dt]?e.push(new qe(t[Dt]())):e.push(new Ue(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var r=0;r<e;r++){var n=t[r];n.stillUnsubscribed?this.destination.add(n.subscribe()):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,r=this.destination,n=0;n<e;n++)if("function"==typeof(s=t[n]).hasValue&&!s.hasValue())return;var i=!1,o=[];for(n=0;n<e;n++){var s,u=(s=t[n]).next();if(s.hasCompleted()&&(i=!0),u.done)return void r.complete();o.push(u.value)}this.resultSelector?this._tryresultSelector(o):r.next(o),i&&r.complete()},e.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(v),qe=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return Boolean(t&&t.done)},t}(),De=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[Dt]=function(){return this},t.prototype.next=function(t){var e=this.index++,r=this.array;return e<this.length?{value:r[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),Ue=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.parent=r,i.observable=n,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return i(e,t),e.prototype[Dt]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t){this.buffer.push(t),this.parent.checkIterators()},e.prototype.subscribe=function(){return $t(this.observable,new Xt(this))},e}(Zt)}}]);
2
+ "use strict";(globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app=globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app||[]).push([[184],{3184:(t,e,r)=>{r.r(e),r.d(e,{ArgumentOutOfRangeError:()=>xt,AsyncSubject:()=>it,BehaviorSubject:()=>Y,ConnectableObservable:()=>C,EMPTY:()=>L,EmptyError:()=>gt,GroupedObservable:()=>V,NEVER:()=>be,Notification:()=>$,NotificationKind:()=>B,ObjectUnsubscribedError:()=>I,Observable:()=>E,ReplaySubject:()=>rt,Scheduler:()=>q,Subject:()=>N,Subscriber:()=>v,Subscription:()=>p,TimeoutError:()=>Et,UnsubscriptionError:()=>f,VirtualAction:()=>mt,VirtualTimeScheduler:()=>yt,animationFrame:()=>vt,animationFrameScheduler:()=>bt,asap:()=>lt,asapScheduler:()=>at,async:()=>pt,asyncScheduler:()=>ft,bindCallback:()=>jt,bindNodeCallback:()=>kt,combineLatest:()=>Lt,concat:()=>ee,config:()=>u,defer:()=>re,empty:()=>W,forkJoin:()=>ne,from:()=>Gt,fromEvent:()=>oe,fromEventPattern:()=>ue,generate:()=>ce,identity:()=>_,iif:()=>ae,interval:()=>fe,isObservable:()=>_t,merge:()=>de,never:()=>ve,noop:()=>wt,observable:()=>w,of:()=>Q,onErrorResumeNext:()=>ye,pairs:()=>me,partition:()=>Se,pipe:()=>x,queue:()=>H,queueScheduler:()=>U,race:()=>Ie,range:()=>Ne,scheduled:()=>Bt,throwError:()=>X,timer:()=>ke,using:()=>Ce,zip:()=>Pe});var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)};function i(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function o(t){return"function"==typeof t}var s=!1,u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack,s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function c(t){setTimeout(function(){throw t},0)}var h={closed:!0,next:function(t){},error:function(t){if(u.useDeprecatedSynchronousErrorHandling)throw t;c(t)},complete:function(){}},a=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}();function l(t){return null!==t&&"object"==typeof t}var f=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),p=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var e;if(!this.closed){var r=this,n=r._parentOrParents,i=r._ctorUnsubscribe,s=r._unsubscribe,u=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var c=0;c<n.length;++c)n[c].remove(this);if(o(s)){i&&(this._unsubscribe=void 0);try{s.call(this)}catch(t){e=t instanceof f?d(t.errors):[t]}}if(a(u)){c=-1;for(var h=u.length;++c<h;){var p=u[c];if(l(p))try{p.unsubscribe()}catch(t){e=e||[],t instanceof f?e=e.concat(d(t.errors)):e.push(t)}}}if(e)throw new f(e)}},t.prototype.add=function(e){var r=e;if(!e)return t.EMPTY;switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof t)){var n=r;(r=new t)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof t){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.push(r),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();function d(t){return t.reduce(function(t,e){return t.concat(e instanceof f?e.errors:e)},[])}var b=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),v=function(t){function e(r,n,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=h;break;case 1:if(!r){o.destination=h;break}if("object"==typeof r){r instanceof e?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new y(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new y(o,r,n,i)}return o}return i(e,t),e.prototype[b]=function(){return this},e.create=function(t,r,n){var i=new e(t,r,n);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(p),y=function(t){function e(e,r,n,i){var s,u=t.call(this)||this;u._parentSubscriber=e;var c=u;return o(r)?s=r:r&&(s=r.next,n=r.error,i=r.complete,r!==h&&(o((c=Object.create(r)).unsubscribe)&&u.add(c.unsubscribe.bind(c)),c.unsubscribe=u.unsubscribe.bind(u))),u._context=c,u._next=s,u._error=n,u._complete=i,u}return i(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,r=u.useDeprecatedSynchronousErrorHandling;if(this._error)r&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)r?(e.syncErrorValue=t,e.syncErrorThrown=!0):c(t),this.unsubscribe();else{if(this.unsubscribe(),r)throw t;c(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),u.useDeprecatedSynchronousErrorHandling)throw t;c(t)}},e.prototype.__tryOrSetError=function(t,e,r){if(!u.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,r)}catch(e){return u.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(c(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(v);function m(t){for(;t;){var e=t,r=e.closed,n=e.destination,i=e.isStopped;if(r||i)return!1;t=n&&n instanceof v?n:null}return!0}var w=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function _(t){return t}function x(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return g(t)}function g(t){return 0===t.length?_:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}}var E=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,i=function(t,e,r){if(t){if(t instanceof v)return t;if(t[b])return t[b]()}return t||e||r?new v(t,e,r):new v(h)}(t,e,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||u.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),u.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){u.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),m(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=S(e))(function(e,n){var i;i=r.subscribe(function(e){try{t(e)}catch(t){n(t),i&&i.unsubscribe()}},n,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[w]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:g(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=S(t))(function(t,r){var n;e.subscribe(function(t){return n=t},function(t){return r(t)},function(){return t(n)})})},t.create=function(e){return new t(e)},t}();function S(t){if(t||(t=u.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var I=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}(),T=function(t){function e(e,r){var n=t.call(this)||this;return n.subject=e,n.subscriber=r,n.closed=!1,n}return i(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var r=e.indexOf(this.subscriber);-1!==r&&e.splice(r,1)}}},e}(p),j=function(t){function e(e){var r=t.call(this,e)||this;return r.destination=e,r}return i(e,t),e}(v),N=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return i(e,t),e.prototype[b]=function(){return new j(this)},e.prototype.lift=function(t){var e=new O(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new I;if(!this.isStopped)for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new I;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new I;this.isStopped=!0;for(var t=this.observers,e=t.length,r=t.slice(),n=0;n<e;n++)r[n].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new I;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new I;return this.hasError?(t.error(this.thrownError),p.EMPTY):this.isStopped?(t.complete(),p.EMPTY):(this.observers.push(t),new T(this,t))},e.prototype.asObservable=function(){var t=new E;return t.source=this,t},e.create=function(t,e){return new O(t,e)},e}(E),O=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return i(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):p.EMPTY},e}(N),k=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new A(t,r),i=e.subscribe(n);return n.closed||(n.connection=r.connect()),i},t}(),A=function(t){function e(e,r){var n=t.call(this,e)||this;return n.connectable=r,n}return i(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},e}(v),C=function(t){function e(e,r){var n=t.call(this)||this;return n.source=e,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return i(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new p).add(this.source.subscribe(new P(this.getSubject(),this))),t.closed&&(this._connection=null,t=p.EMPTY)),t},e.prototype.refCount=function(){return(t=this).lift(new k(t));var t},e}(E),P=function(t){function e(e,r){var n=t.call(this,e)||this;return n.connectable=r,n}return i(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(j),V=function(t){function e(e,r,n){var i=t.call(this)||this;return i.key=e,i.groupSubject=r,i.refCountSubscription=n,i}return i(e,t),e.prototype._subscribe=function(t){var e=new p,r=this.refCountSubscription,n=this.groupSubject;return r&&!r.closed&&e.add(new F(r)),e.add(n.subscribe(t)),e},e}(E),F=function(t){function e(e){var r=t.call(this)||this;return r.parent=e,e.count++,r}return i(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(p),Y=function(t){function e(e){var r=t.call(this)||this;return r._value=e,r}return i(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);return r&&!r.closed&&e.next(this._value),r},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new I;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(N),M=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n.pending=!1,n}return i(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this},e.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),setInterval(t.flush.bind(t,this),r)},e.prototype.recycleAsyncId=function(t,e,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var r=!1,n=void 0;try{this.work(t)}catch(t){r=!0,n=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),n},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,r=e.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,r){return t.call(this)||this}return i(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(p)),R=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return i(e,t),e.prototype.schedule=function(e,r){return void 0===r&&(r=0),r>0?t.prototype.schedule.call(this,e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,r){return r>0||this.closed?t.prototype.execute.call(this,e,r):this._execute(e,r)},e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?t.prototype.requestAsyncId.call(this,e,r,n):e.flush(this)},e}(M),q=function(){function t(e,r){void 0===r&&(r=t.now),this.SchedulerAction=e,this.now=r}return t.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(r,e)},t.now=function(){return Date.now()},t}(),D=function(t){function e(r,n){void 0===n&&(n=q.now);var i=t.call(this,r,function(){return e.delegate&&e.delegate!==i?e.delegate.now():n()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return i(e,t),e.prototype.schedule=function(r,n,i){return void 0===n&&(n=0),e.delegate&&e.delegate!==this?e.delegate.schedule(r,n,i):t.prototype.schedule.call(this,r,n,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var r;this.active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}},e}(q),U=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(D))(R),H=U,L=new E(function(t){return t.complete()});function W(t){return t?function(t){return new E(function(e){return t.schedule(function(){return e.complete()})})}(t):L}function z(t){return t&&"function"==typeof t.schedule}var B,G=function(t){return function(e){for(var r=0,n=t.length;r<n&&!e.closed;r++)e.next(t[r]);e.complete()}};function J(t,e){return new E(function(r){var n=new p,i=0;return n.add(e.schedule(function(){i!==t.length?(r.next(t[i++]),r.closed||n.add(this.schedule())):r.complete()})),n})}function K(t,e){return e?J(t,e):new E(G(t))}function Q(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t[t.length-1];return z(r)?(t.pop(),J(t,r)):K(t)}function X(t,e){return new E(e?function(r){return e.schedule(Z,0,{error:t,subscriber:r})}:function(e){return e.error(t)})}function Z(t){var e=t.error;t.subscriber.error(e)}B||(B={});var $=function(){function t(t,e,r){this.kind=t,this.value=e,this.error=r,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,r){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}},t.prototype.accept=function(t,e,r){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,r)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Q(this.value);case"E":return X(this.error);case"C":return W()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),tt=function(t){function e(e,r,n){void 0===n&&(n=0);var i=t.call(this,e)||this;return i.scheduler=r,i.delay=n,i}return i(e,t),e.dispatch=function(t){var e=t.notification,r=t.destination;e.observe(r),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new et(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage($.createNext(t))},e.prototype._error=function(t){this.scheduleMessage($.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage($.createComplete()),this.unsubscribe()},e}(v),et=function(){return function(t,e){this.notification=t,this.destination=e}}(),rt=function(t){function e(e,r,n){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=n,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return i(e,t),e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var r=this._events;r.push(e),r.length>this._bufferSize&&r.shift()}t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this.isStopped||(this._events.push(new nt(this._getNow(),e)),this._trimBufferThenGetEvents()),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=n.length;if(this.closed)throw new I;if(this.isStopped||this.hasError?e=p.EMPTY:(this.observers.push(t),e=new T(this,t)),i&&t.add(t=new tt(t,i)),r)for(var s=0;s<o&&!t.closed;s++)t.next(n[s]);else for(s=0;s<o&&!t.closed;s++)t.next(n[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||H).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,r=this._windowTime,n=this._events,i=n.length,o=0;o<i&&!(t-n[o].time<r);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&n.splice(0,o),n},e}(N),nt=function(){return function(t,e){this.time=t,this.value=e}}(),it=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return i(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),p.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),p.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(N),ot=1,st=function(){return Promise.resolve()}(),ut={};function ct(t){return t in ut&&(delete ut[t],!0)}var ht=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return i(e,t),e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.actions.push(this),e.scheduled||(e.scheduled=(i=e.flush.bind(e,null),o=ot++,ut[o]=!0,st.then(function(){return ct(o)&&i()}),o)));var i,o},e.prototype.recycleAsyncId=function(e,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,n);0===e.actions.length&&(ct(r),e.scheduled=void 0)},e}(M),at=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,r=this.actions,n=-1,i=r.length;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while(++n<i&&(t=r.shift()));if(this.active=!1,e){for(;++n<i&&(t=r.shift());)t.unsubscribe();throw e}},e}(D))(ht),lt=at,ft=new D(M),pt=ft,dt=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return i(e,t),e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},e.prototype.recycleAsyncId=function(e,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,n);0===e.actions.length&&(cancelAnimationFrame(r),e.scheduled=void 0)},e}(M),bt=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,r=this.actions,n=-1,i=r.length;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while(++n<i&&(t=r.shift()));if(this.active=!1,e){for(;++n<i&&(t=r.shift());)t.unsubscribe();throw e}},e}(D))(dt),vt=bt,yt=function(t){function e(e,r){void 0===e&&(e=mt),void 0===r&&(r=Number.POSITIVE_INFINITY);var n=t.call(this,e,function(){return n.frame})||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return i(e,t),e.prototype.flush=function(){for(var t,e,r=this.actions,n=this.maxFrames;(e=r[0])&&e.delay<=n&&(r.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=r.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(D),mt=function(t){function e(e,r,n){void 0===n&&(n=e.index+=1);var i=t.call(this,e,r)||this;return i.scheduler=e,i.work=r,i.index=n,i.active=!0,i.index=e.index=n,i}return i(e,t),e.prototype.schedule=function(r,n){if(void 0===n&&(n=0),!this.id)return t.prototype.schedule.call(this,r,n);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(r,n)},e.prototype.requestAsyncId=function(t,r,n){void 0===n&&(n=0),this.delay=t.frame+n;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,r){void 0===r&&(r=0)},e.prototype._execute=function(e,r){if(!0===this.active)return t.prototype._execute.call(this,e,r)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(M);function wt(){}function _t(t){return!!t&&(t instanceof E||"function"==typeof t.lift&&"function"==typeof t.subscribe)}var xt=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}(),gt=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),Et=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}();function St(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new It(t,e))}}var It=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Tt(t,this.project,this.thisArg))},t}(),Tt=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.project=r,i.count=0,i.thisArg=n||i,i}return i(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(v);function jt(t,e,r){if(e){if(!z(e))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return jt(t,r).apply(void 0,n).pipe(St(function(t){return a(t)?e.apply(void 0,t):e(t)}))};r=e}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i,o=this,s={context:o,subject:i,callbackFunc:t,scheduler:r};return new E(function(n){if(r){var u={args:e,subscriber:n,params:s};return r.schedule(Nt,0,u)}if(!i){i=new it;try{t.apply(o,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];i.next(t.length<=1?t[0]:t),i.complete()}]))}catch(t){m(i)?i.error(t):console.warn(t)}}return i.subscribe(n)})}}function Nt(t){var e=this,r=t.args,n=t.subscriber,i=t.params,o=i.callbackFunc,s=i.context,u=i.scheduler,c=i.subject;if(!c){c=i.subject=new it;try{o.apply(s,r.concat([function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=t.length<=1?t[0]:t;e.add(u.schedule(Ot,0,{value:n,subject:c}))}]))}catch(t){c.error(t)}}this.add(c.subscribe(n))}function Ot(t){var e=t.value,r=t.subject;r.next(e),r.complete()}function kt(t,e,r){if(e){if(!z(e))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return kt(t,r).apply(void 0,n).pipe(St(function(t){return a(t)?e.apply(void 0,t):e(t)}))};r=e}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i={subject:void 0,args:e,callbackFunc:t,scheduler:r,context:this};return new E(function(n){var o=i.context,s=i.subject;if(r)return r.schedule(At,0,{params:i,subscriber:n,context:o});if(!s){s=i.subject=new it;try{t.apply(o,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t.shift();r?s.error(r):(s.next(t.length<=1?t[0]:t),s.complete())}]))}catch(t){m(s)?s.error(t):console.warn(t)}}return s.subscribe(n)})}}function At(t){var e=this,r=t.params,n=t.subscriber,i=t.context,o=r.callbackFunc,s=r.args,u=r.scheduler,c=r.subject;if(!c){c=r.subject=new it;try{o.apply(i,s.concat([function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=t.shift();if(n)e.add(u.schedule(Pt,0,{err:n,subject:c}));else{var i=t.length<=1?t[0]:t;e.add(u.schedule(Ct,0,{value:i,subject:c}))}}]))}catch(t){this.add(u.schedule(Pt,0,{err:t,subject:c}))}}this.add(c.subscribe(n))}function Ct(t){var e=t.value,r=t.subject;r.next(e),r.complete()}function Pt(t){var e=t.err;t.subject.error(e)}var Vt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.notifyNext=function(t,e,r,n,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(v),Ft=function(t){function e(e,r,n){var i=t.call(this)||this;return i.parent=e,i.outerValue=r,i.outerIndex=n,i.index=0,i}return i(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(v);function Yt(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Mt=Yt(),Rt=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function qt(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var Dt=function(t){if(t&&"function"==typeof t[w])return n=t,function(t){var e=n[w]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Rt(t))return G(t);if(qt(t))return r=t,function(t){return r.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,c),t};if(t&&"function"==typeof t[Mt])return e=t,function(t){for(var r=e[Mt]();;){var n=void 0;try{n=r.next()}catch(e){return t.error(e),t}if(n.done){t.complete();break}if(t.next(n.value),t.closed)break}return"function"==typeof r.return&&t.add(function(){r.return&&r.return()}),t};var e,r,n,i=l(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Ut(t,e,r,n,i){if(void 0===i&&(i=new Ft(t,r,n)),!i.closed)return e instanceof E?e.subscribe(i):Dt(e)(i)}var Ht={};function Lt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=void 0,n=void 0;return z(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&a(t[0])&&(t=t[0]),K(t,n).lift(new Wt(r))}var Wt=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new zt(t,this.resultSelector))},t}(),zt=function(t){function e(e,r){var n=t.call(this,e)||this;return n.resultSelector=r,n.active=0,n.values=[],n.observables=[],n}return i(e,t),e.prototype._next=function(t){this.values.push(Ht),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var r=0;r<e;r++){var n=t[r];this.add(Ut(this,n,void 0,r))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,r){var n=this.values,i=n[r],o=this.toRespond?i===Ht?--this.toRespond:this.toRespond:0;n[r]=e,0===o&&(this.resultSelector?this._tryResultSelector(n):this.destination.next(n.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(Vt);function Bt(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[w]}(t))return function(t,e){return new E(function(r){var n=new p;return n.add(e.schedule(function(){var i=t[w]();n.add(i.subscribe({next:function(t){n.add(e.schedule(function(){return r.next(t)}))},error:function(t){n.add(e.schedule(function(){return r.error(t)}))},complete:function(){n.add(e.schedule(function(){return r.complete()}))}}))})),n})}(t,e);if(qt(t))return function(t,e){return new E(function(r){var n=new p;return n.add(e.schedule(function(){return t.then(function(t){n.add(e.schedule(function(){r.next(t),n.add(e.schedule(function(){return r.complete()}))}))},function(t){n.add(e.schedule(function(){return r.error(t)}))})})),n})}(t,e);if(Rt(t))return J(t,e);if(function(t){return t&&"function"==typeof t[Mt]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new E(function(r){var n,i=new p;return i.add(function(){n&&"function"==typeof n.return&&n.return()}),i.add(e.schedule(function(){n=t[Mt](),i.add(e.schedule(function(){if(!r.closed){var t,e;try{var i=n.next();t=i.value,e=i.done}catch(t){return void r.error(t)}e?r.complete():(r.next(t),this.schedule())}}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function Gt(t,e){return e?Bt(t,e):t instanceof E?t:new E(Dt(t))}var Jt=function(t){function e(e){var r=t.call(this)||this;return r.parent=e,r}return i(e,t),e.prototype._next=function(t){this.parent.notifyNext(t)},e.prototype._error=function(t){this.parent.notifyError(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(v),Kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.destination.complete()},e}(v);function Qt(t,e){if(!e.closed){if(t instanceof E)return t.subscribe(e);var r;try{r=Dt(t)(e)}catch(t){e.error(t)}return r}}function Xt(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof e?function(n){return n.pipe(Xt(function(r,n){return Gt(t(r,n)).pipe(St(function(t,i){return e(r,t,n,i)}))},r))}:("number"==typeof e&&(r=e),function(e){return e.lift(new Zt(t,r))})}var Zt=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new $t(t,this.project,this.concurrent))},t}(),$t=function(t){function e(e,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=r,i.concurrent=n,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return i(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new Jt(this),r=this.destination;r.add(e);var n=Qt(t,e);n!==e&&r.add(n)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(Kt);function te(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Xt(_,t)}function ee(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return te(1)(Q.apply(void 0,t))}function re(t){return new E(function(e){var r;try{r=t()}catch(t){return void e.error(t)}return(r?Gt(r):W()).subscribe(e)})}function ne(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var r=t[0];if(a(r))return ie(r,null);if(l(r)&&Object.getPrototypeOf(r)===Object.prototype){var n=Object.keys(r);return ie(n.map(function(t){return r[t]}),n)}}if("function"==typeof t[t.length-1]){var i=t.pop();return ie(t=1===t.length&&a(t[0])?t[0]:t,null).pipe(St(function(t){return i.apply(void 0,t)}))}return ie(t,null)}function ie(t,e){return new E(function(r){var n=t.length;if(0!==n)for(var i=new Array(n),o=0,s=0,u=function(u){var c=Gt(t[u]),h=!1;r.add(c.subscribe({next:function(t){h||(h=!0,s++),i[u]=t},error:function(t){return r.error(t)},complete:function(){++o!==n&&h||(s===n&&r.next(e?e.reduce(function(t,e,r){return t[e]=i[r],t},{}):i),r.complete())}}))},c=0;c<n;c++)u(c);else r.complete()})}function oe(t,e,r,n){return o(r)&&(n=r,r=void 0),n?oe(t,e,r).pipe(St(function(t){return a(t)?n.apply(void 0,t):n(t)})):new E(function(n){se(t,e,function(t){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(t)},n,r)})}function se(t,e,r,n,i){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(e,r,i),o=function(){return s.removeEventListener(e,r,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var u=t;t.on(e,r),o=function(){return u.off(e,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var c=t;t.addListener(e,r),o=function(){return c.removeListener(e,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var h=0,a=t.length;h<a;h++)se(t[h],e,r,n,i)}n.add(o)}function ue(t,e,r){return r?ue(t,e).pipe(St(function(t){return a(t)?r.apply(void 0,t):r(t)})):new E(function(r){var n,i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.next(1===t.length?t[0]:t)};try{n=t(i)}catch(t){return void r.error(t)}if(o(e))return function(){return e(i,n)}})}function ce(t,e,r,n,i){var o,s;if(1==arguments.length){var u=t;s=u.initialState,e=u.condition,r=u.iterate,o=u.resultSelector||_,i=u.scheduler}else void 0===n||z(n)?(s=t,o=_,i=n):(s=t,o=n);return new E(function(t){var n=s;if(i)return i.schedule(he,0,{subscriber:t,iterate:r,condition:e,resultSelector:o,state:n});for(;;){if(e){var u=void 0;try{u=e(n)}catch(e){return void t.error(e)}if(!u){t.complete();break}}var c=void 0;try{c=o(n)}catch(e){return void t.error(e)}if(t.next(c),t.closed)break;try{n=r(n)}catch(e){return void t.error(e)}}})}function he(t){var e=t.subscriber,r=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(r){var n=void 0;try{n=r(t.state)}catch(t){return void e.error(t)}if(!n)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}}function ae(t,e,r){return void 0===e&&(e=L),void 0===r&&(r=L),re(function(){return t()?e:r})}function le(t){return!a(t)&&t-parseFloat(t)+1>=0}function fe(t,e){return void 0===t&&(t=0),void 0===e&&(e=pt),(!le(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=pt),new E(function(r){return r.add(e.schedule(pe,t,{subscriber:r,counter:0,period:t})),r})}function pe(t){var e=t.subscriber,r=t.counter,n=t.period;e.next(r),this.schedule({subscriber:e,counter:r+1,period:n},n)}function de(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Number.POSITIVE_INFINITY,n=null,i=t[t.length-1];return z(i)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof i&&(r=t.pop()),null===n&&1===t.length&&t[0]instanceof E?t[0]:te(r)(K(t,n))}var be=new E(wt);function ve(){return be}function ye(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return L;var r=t[0],n=t.slice(1);return 1===t.length&&a(r)?ye.apply(void 0,r):new E(function(t){var e=function(){return t.add(ye.apply(void 0,n).subscribe(t))};return Gt(r).subscribe({next:function(e){t.next(e)},error:e,complete:e})})}function me(t,e){return new E(e?function(r){var n=Object.keys(t),i=new p;return i.add(e.schedule(we,0,{keys:n,index:0,subscriber:r,subscription:i,obj:t})),i}:function(e){for(var r=Object.keys(t),n=0;n<r.length&&!e.closed;n++){var i=r[n];t.hasOwnProperty(i)&&e.next([i,t[i]])}e.complete()})}function we(t){var e=t.keys,r=t.index,n=t.subscriber,i=t.subscription,o=t.obj;if(!n.closed)if(r<e.length){var s=e[r];n.next([s,o[s]]),i.add(this.schedule({keys:e,index:r+1,subscriber:n,subscription:i,obj:o}))}else n.complete()}function _e(t,e){function r(){return!r.pred.apply(r.thisArg,arguments)}return r.pred=t,r.thisArg=e,r}function xe(t,e){return function(r){return r.lift(new ge(t,e))}}var ge=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Ee(t,this.predicate,this.thisArg))},t}(),Ee=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.predicate=r,i.thisArg=n,i.count=0,i}return i(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(v);function Se(t,e,r){return[xe(e,r)(new E(Dt(t))),xe(_e(e,r))(new E(Dt(t)))]}function Ie(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!a(t[0]))return t[0];t=t[0]}return K(t,void 0).lift(new Te)}var Te=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new je(t))},t}(),je=function(t){function e(e){var r=t.call(this,e)||this;return r.hasFirst=!1,r.observables=[],r.subscriptions=[],r}return i(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var r=0;r<e&&!this.hasFirst;r++){var n=Ut(this,t[r],void 0,r);this.subscriptions&&this.subscriptions.push(n),this.add(n)}this.observables=null}},e.prototype.notifyNext=function(t,e,r){if(!this.hasFirst){this.hasFirst=!0;for(var n=0;n<this.subscriptions.length;n++)if(n!==r){var i=this.subscriptions[n];i.unsubscribe(),this.remove(i)}this.subscriptions=null}this.destination.next(e)},e}(Vt);function Ne(t,e,r){return void 0===t&&(t=0),new E(function(n){void 0===e&&(e=t,t=0);var i=0,o=t;if(r)return r.schedule(Oe,0,{index:i,count:e,start:t,subscriber:n});for(;;){if(i++>=e){n.complete();break}if(n.next(o++),n.closed)break}})}function Oe(t){var e=t.start,r=t.index,n=t.count,i=t.subscriber;r>=n?i.complete():(i.next(e),i.closed||(t.index=r+1,t.start=e+1,this.schedule(t)))}function ke(t,e,r){void 0===t&&(t=0);var n=-1;return le(e)?n=Number(e)<1?1:Number(e):z(e)&&(r=e),z(r)||(r=pt),new E(function(e){var i=le(t)?t:+t-r.now();return r.schedule(Ae,i,{index:0,period:n,subscriber:e})})}function Ae(t){var e=t.index,r=t.period,n=t.subscriber;if(n.next(e),!n.closed){if(-1===r)return n.complete();t.index=e+1,this.schedule(t,r)}}function Ce(t,e){return new E(function(r){var n,i;try{n=t()}catch(t){return void r.error(t)}try{i=e(n)}catch(t){return void r.error(t)}var o=(i?Gt(i):L).subscribe(r);return function(){o.unsubscribe(),n&&n.unsubscribe()}})}function Pe(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t[t.length-1];return"function"==typeof r&&t.pop(),K(t,void 0).lift(new Ve(r))}var Ve=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Fe(t,this.resultSelector))},t}(),Fe=function(t){function e(e,r,n){void 0===n&&(n=Object.create(null));var i=t.call(this,e)||this;return i.resultSelector=r,i.iterators=[],i.active=0,i.resultSelector="function"==typeof r?r:void 0,i}return i(e,t),e.prototype._next=function(t){var e=this.iterators;a(t)?e.push(new Me(t)):"function"==typeof t[Mt]?e.push(new Ye(t[Mt]())):e.push(new Re(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var r=0;r<e;r++){var n=t[r];n.stillUnsubscribed?this.destination.add(n.subscribe()):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,r=this.destination,n=0;n<e;n++)if("function"==typeof(s=t[n]).hasValue&&!s.hasValue())return;var i=!1,o=[];for(n=0;n<e;n++){var s,u=(s=t[n]).next();if(s.hasCompleted()&&(i=!0),u.done)return void r.complete();o.push(u.value)}this.resultSelector?this._tryresultSelector(o):r.next(o),i&&r.complete()},e.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(v),Ye=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return Boolean(t&&t.done)},t}(),Me=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[Mt]=function(){return this},t.prototype.next=function(t){var e=this.index++,r=this.array;return e<this.length?{value:r[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),Re=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.parent=r,i.observable=n,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return i(e,t),e.prototype[Mt]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t){this.buffer.push(t),this.parent.checkIterators()},e.prototype.subscribe=function(){return Qt(this.observable,new Jt(this))},e}(Kt)}}]);