@clinicemr/esm-post-registration-redirect-app 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/173.js +1 -0
- package/dist/300.js +1 -0
- package/dist/336.js +1 -0
- package/dist/41.js +2 -0
- package/dist/41.js.LICENSE.txt +9 -0
- package/dist/457.js +2 -0
- package/dist/457.js.LICENSE.txt +14 -0
- package/dist/464.js +1 -0
- package/dist/686.js +2 -0
- package/dist/686.js.LICENSE.txt +9 -0
- package/dist/777.js +1 -0
- package/dist/802.js +1 -0
- package/dist/803.js +2 -0
- package/dist/803.js.LICENSE.txt +50 -0
- package/dist/913.js +2 -0
- package/dist/913.js.LICENSE.txt +32 -0
- package/dist/918.js +1 -0
- package/dist/main.js +1 -0
- package/dist/openmrs-esm-post-registration-redirect-app.js +1 -0
- package/dist/openmrs-esm-post-registration-redirect-app.js.buildmanifest.json +399 -0
- package/dist/routes.json +1 -0
- package/package.json +46 -0
- package/src/config-schema.ts +33 -0
- package/src/declarations.d.ts +3 -0
- package/src/index.ts +25 -0
- package/src/my-registered-patients.component.tsx +180 -0
- package/src/my-registered-patients.scss +15 -0
- package/src/post-registration-redirect.component.tsx +62 -0
- package/src/routes.json +17 -0
- package/translations/en.json +12 -0
- package/tsconfig.json +14 -0
- package/webpack.config.js +16 -0
package/dist/173.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app=globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app||[]).push([[173],{6173(e,t,r){"use strict";r.r(t),r.d(t,{importTranslation:()=>o,myRegisteredPatients:()=>d,postRegistrationRedirect:()=>p,startupApp:()=>c});var i=r(5940),n={registrationClerkRoleName:{_type:i.Type.String,_default:"Organizational: Registration Clerk",_description:"Name of the OpenMRS role that, when held by the current user, makes the post-registration page redirect to the My Registered Patients list instead of the patient chart."},registeredPatientsListPath:{_type:i.Type.String,_default:"my-registered-patients",_description:"SPA-relative path to redirect Registration Clerks to after a successful registration."},registrationEncounterTypeUuid:{_type:i.Type.String,_default:"dd528487-82a5-4082-9c72-ed246bd49591",_description:"UUID of the encounter type recorded during patient registration. Used to look up patients registered by the current user."},pageSize:{_type:i.Type.Number,_default:25,_description:"Maximum number of recent registrations to load for the My Registered Patients list."}},s="@clinicemr/esm-post-registration-redirect-app",a={featureName:"post-registration-redirect",moduleName:s},o=r(4767);function c(){(0,i.defineConfigSchema)(s,n)}var p=(0,i.getAsyncLifecycle)((function(){return Promise.all([r.e(803),r.e(343),r.e(339),r.e(918)]).then(r.bind(r,2918))}),a),d=(0,i.getAsyncLifecycle)((function(){return Promise.all([r.e(803),r.e(686),r.e(343),r.e(339),r.e(802)]).then(r.bind(r,5802))}),a)},4767(e,t,r){var i={"./en.json":[4300,[300]]};function n(e){try{if(!r.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}catch(e){return Promise.reject(e)}var t=i[e],n=t[0];return r.e(t[1][0]).then((()=>r(n)))}n.keys=()=>Object.keys(i),n.id=4767,e.exports=n}}]);
|
package/dist/300.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app=globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app||[]).push([[300],{4300(e){e.exports=JSON.parse('{"myRegisteredPatients":"My Registered Patients","noPatientsRegistered":"You haven\'t registered any patients yet.","redirecting":"Redirecting…","patientName":"Name","identifier":"Identifier","gender":"Gender","age":"Age","registeredOn":"Registered on","openChart":"Open chart","errorLoading":"Could not load patients you\'ve registered."}')}}]);
|
package/dist/336.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app=globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app||[]).push([[336],{9002(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},6336(e,n,t){"use strict";t.r(n),t.d(n,{I18nContext:()=>K,I18nextProvider:()=>G,Trans:()=>B,TransWithoutContext:()=>V,Translation:()=>q,composeInitialProps:()=>U,date:()=>J,getDefaults:()=>$,getI18n:()=>_,getInitialProps:()=>F,initReactI18next:()=>D,number:()=>Q,plural:()=>ne,select:()=>ee,selectOrdinal:()=>te,setDefaults:()=>k,setI18n:()=>A,time:()=>Z,useSSR:()=>X,useTranslation:()=>H,withSSR:()=>Y,withTranslation:()=>M});var r=t(1343),s=t(9002),a=t.n(s),i=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function o(e){var n={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},t=e.match(/<\/?([^\s]+?)[/\s>]/);if(t&&(n.name=t[1],(a()[t[1]]||"/"===e.charAt(e.length-2))&&(n.voidElement=!0),n.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var s=new RegExp(i),o=null;null!==(o=s.exec(e));)if(o[0].trim())if(o[1]){var l=o[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),n.attrs[c[0]]=c[1],s.lastIndex--}else o[2]&&(n.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return n}var l=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,c=/^\s*$/,u=Object.create(null);function p(e,n){switch(n.type){case"text":return e+n.content;case"tag":return e+="<"+n.name+(n.attrs?function(e){var n=[];for(var t in e)n.push(t+'="'+e[t]+'"');return n.length?" "+n.join(" "):""}(n.attrs):"")+(n.voidElement?"/>":">"),n.voidElement?e:e+n.children.reduce(p,"")+"</"+n.name+">";case"comment":return e+"\x3c!--"+n.comment+"--\x3e"}}var d={parse:function(e,n){n||(n={}),n.components||(n.components=u);var t,r=[],s=[],a=-1,i=!1;if(0!==e.indexOf("<")){var p=e.indexOf("<");r.push({type:"text",content:-1===p?e:e.substring(0,p)})}return e.replace(l,(function(l,u){if(i){if(l!=="</"+t.name+">")return;i=!1}var p,d="/"!==l.charAt(1),f=l.startsWith("\x3c!--"),m=u+l.length,g=e.charAt(m);if(f){var h=o(l);return a<0?(r.push(h),r):((p=s[a]).children.push(h),r)}if(d&&(a++,"tag"===(t=o(l)).type&&n.components[t.name]&&(t.type="component",i=!0),t.voidElement||i||!g||"<"===g||t.children.push({type:"text",content:e.slice(m,e.indexOf("<",m))}),0===a&&r.push(t),(p=s[a-1])&&p.children.push(t),s[a]=t),(!d||t.voidElement)&&(a>-1&&(t.voidElement||t.name===l.slice(2,-1))&&(a--,t=-1===a?r:s[a]),!i&&"<"!==g&&g)){p=-1===a?r:s[a].children;var y=e.indexOf("<",m),N=e.slice(m,-1===y?void 0:y);c.test(N)&&(N=" "),(y>-1&&a+p.length>=0||" "!==N)&&p.push({type:"text",content:N})}})),r},stringify:function(e){return e.reduce((function(e,n){return e+p("",n)}),"")}};const f=d,m=(e,n,t,r)=>{const s=[t,{code:n,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(s,"warn","react-i18next::",!0);b(s[0])&&(s[0]=`react-i18next:: ${s[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...s):console?.warn&&console.warn(...s)},g={},h=(e,n,t,r)=>{b(t)&&g[t]||(b(t)&&(g[t]=new Date),m(e,n,t,r))},y=(e,n)=>()=>{if(e.isInitialized)n();else{const t=()=>{setTimeout((()=>{e.off("initialized",t)}),0),n()};e.on("initialized",t)}},N=(e,n,t)=>{e.loadNamespaces(n,y(e,t))},x=(e,n,t,r)=>{if(b(t)&&(t=[t]),e.options.preload&&e.options.preload.indexOf(n)>-1)return N(e,t,r);t.forEach((n=>{e.options.ns.indexOf(n)<0&&e.options.ns.push(n)})),e.loadLanguages(n,y(e,r))},v=e=>e.displayName||e.name||(b(e)&&e.length>0?e:"Unknown"),b=e=>"string"==typeof e,E=e=>"object"==typeof e&&null!==e,O=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,I={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},w=e=>I[e];let S={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(O,w)};const k=(e={})=>{S={...S,...e}},$=()=>S;let T;const A=e=>{T=e},_=()=>T,R=(e,n)=>{if(!e)return!1;const t=e.props?.children??e.children;return n?t.length>0:!!t},j=e=>{if(!e)return[];const n=e.props?.children??e.children;return e.props?.i18nIsDynamicList?C(n):n},C=e=>Array.isArray(e)?e:[e],L=(e,n,t,s)=>{if(!e)return"";let a="";const i=C(e),o=n?.transSupportBasicHtmlNodes?n.transKeepBasicHtmlNodesFor??[]:[];return i.forEach(((e,i)=>{if(b(e))a+=`${e}`;else if((0,r.isValidElement)(e)){const{props:r,type:l}=e,c=Object.keys(r).length,u=o.indexOf(l)>-1,p=r.children;if(!p&&u&&!c)return void(a+=`<${l}/>`);if(!p&&(!u||c)||r.i18nIsDynamicList)return void(a+=`<${i}></${i}>`);if(u&&1===c&&b(p))return void(a+=`<${l}>${p}</${l}>`);const d=L(p,n,t,s);a+=`<${i}>${d}</${i}>`}else if(null!==e)if(E(e)){const{format:n,...r}=e,i=Object.keys(r);if(1===i.length){const e=n?`${i[0]}, ${n}`:i[0];return void(a+=`{{${e}}}`)}m(t,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:s,child:e})}else m(t,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:s,child:e});else m(t,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:s})})),a},P=(e,n,t)=>{const s=e.key||n,a=(0,r.cloneElement)(e,{key:s});return!a.props||!a.props.children||t.indexOf(`${n}/>`)<0&&t.indexOf(`${n} />`)<0?a:(0,r.createElement)((function(){return(0,r.createElement)(r.Fragment,null,a)}),{key:s})};function V({children:e,count:n,parent:t,i18nKey:s,context:a,tOptions:i={},values:o,defaults:l,components:c,ns:u,i18n:p,t:d,shouldUnescape:m,...g}){const y=p||_();if(!y)return h(y,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:s}),e;const N=d||y.t.bind(y)||(e=>e),x={...$(),...y.options?.react};let v=u||N.ns||y.options?.defaultNS;v=b(v)?[v]:v||["translation"];const O=L(e,x,y,s),I=l||O||x.transEmptyNodeValue||s,{hashTransKey:w}=x,S=s||(w?w(O||I):O||I);y.options?.interpolation?.defaultVariables&&(o=o&&Object.keys(o).length>0?{...o,...y.options.interpolation.defaultVariables}:{...y.options.interpolation.defaultVariables});const k=o||void 0!==n&&!y.options?.interpolation?.alwaysFormat||!e?i.interpolation:{interpolation:{...i.interpolation,prefix:"#$?",suffix:"?$#"}},T={...i,context:a||i.context,count:n,...o,...k,defaultValue:I,ns:v},A=S?N(S,T):I,V=((e,n,t,r)=>e?Array.isArray(e)?((e,n)=>e.map(((e,t)=>P(e,t,n))))(e,n):E(e)?((e,n)=>{const t={};return Object.keys(e).forEach((r=>{Object.assign(t,{[r]:P(e[r],r,n)})})),t})(e,n):(h(t,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:r}),null):null)(c,A,y,s);let D=V||e,K=null;var z;E(z=V)&&!Array.isArray(z)&&Object.keys(z).reduce(((e,n)=>e&&Number.isNaN(Number.parseFloat(n))),!0)&&(K=V,D=e);const U=((e,n,t,s,a,i,o)=>{if(""===t)return[];const l=a.transKeepBasicHtmlNodesFor||[],c=t&&new RegExp(l.map((e=>`<${e}`)).join("|")).test(t);if(!(e||n||c||o))return[t];const u=n??{},p=e=>{C(e).forEach((e=>{b(e)||(R(e)?p(j(e)):E(e)&&!(0,r.isValidElement)(e)&&Object.assign(u,e))}))};p(e);const d=f.parse(`<0>${t}</0>`),m={...u,...i},g=(e,n,t)=>{const s=j(e),a=y(s,n.children,t);return(e=>Array.isArray(e)&&e.every(r.isValidElement))(s)&&0===a.length||e.props?.i18nIsDynamicList?s:a},h=(e,n,t,s,a)=>{e.dummy?(e.children=n,t.push((0,r.cloneElement)(e,{key:s},a?void 0:n))):t.push(...r.Children.map([e],(e=>{const t={...e.props};return delete t.i18nIsDynamicList,(0,r.createElement)(e.type,{...t,key:s,ref:e.props.ref??e.ref},a?null:n)})))},y=(e,t,i)=>{const u=C(e);return C(t).reduce(((e,t,p)=>{const d=t.children?.[0]?.content&&s.services.interpolator.interpolate(t.children[0].content,m,s.language);if("tag"===t.type){let o=u[parseInt(t.name,10)];!o&&n&&(o=n[t.name]),1!==i.length||o||(o=i[0][t.name]),o||(o={});const f=0!==Object.keys(t.attrs).length?((e,n)=>{const t={...n};return t.props=Object.assign(e.props,n.props),t})({props:t.attrs},o):o,N=(0,r.isValidElement)(f),x=N&&R(t,!0)&&!t.voidElement,v=c&&E(f)&&f.dummy&&!N,O=E(n)&&Object.hasOwnProperty.call(n,t.name);if(b(f)){const n=s.services.interpolator.interpolate(f,m,s.language);e.push(n)}else if(R(f)||x){const n=g(f,t,i);h(f,n,e,p)}else if(v){const n=y(u,t.children,i);h(f,n,e,p)}else if(Number.isNaN(parseFloat(t.name)))if(O){const n=g(f,t,i);h(f,n,e,p,t.voidElement)}else if(a.transSupportBasicHtmlNodes&&l.indexOf(t.name)>-1)if(t.voidElement)e.push((0,r.createElement)(t.name,{key:`${t.name}-${p}`}));else{const n=y(u,t.children,i);e.push((0,r.createElement)(t.name,{key:`${t.name}-${p}`},n))}else if(t.voidElement)e.push(`<${t.name} />`);else{const n=y(u,t.children,i);e.push(`<${t.name}>${n}</${t.name}>`)}else if(E(f)&&!N){const n=t.children[0]?d:null;n&&e.push(n)}else h(f,d,e,p,1!==t.children.length||!d)}else if("text"===t.type){const n=a.transWrapTextNodes,i=o?a.unescape(s.services.interpolator.interpolate(t.content,m,s.language)):s.services.interpolator.interpolate(t.content,m,s.language);n?e.push((0,r.createElement)(n,{key:`${t.name}-${p}`},i)):e.push(i)}return e}),[])},N=y([{dummy:!0,children:e||[]}],d,C(e||[]));return j(N[0])})(D,K,A,y,x,T,m),F=t??x.defaultTransParent;return F?(0,r.createElement)(F,g,U):U}const D={type:"3rdParty",init(e){k(e.options.react),A(e)}},K=(0,r.createContext)();class z{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const U=e=>async n=>({...await(e.getInitialProps?.(n))??{},...F()}),F=()=>{const e=_(),n=e.reportNamespaces?.getUsedNamespaces()??[],t={},r={};return e.languages.forEach((t=>{r[t]={},n.forEach((n=>{r[t][n]=e.getResourceBundle(t,n)||{}}))})),t.initialI18nStore=r,t.initialLanguage=e.language,t};function B({children:e,count:n,parent:t,i18nKey:s,context:a,tOptions:i={},values:o,defaults:l,components:c,ns:u,i18n:p,t:d,shouldUnescape:f,...m}){const{i18n:g,defaultNS:h}=(0,r.useContext)(K)||{},y=p||g||_(),N=d||y?.t.bind(y);return V({children:e,count:n,parent:t,i18nKey:s,context:a,tOptions:i,values:o,defaults:l,components:c,ns:u||N?.ns||h||y?.options?.defaultNS,i18n:y,t:d,shouldUnescape:f,...m})}const W=(e,n,t,r)=>e.getFixedT(n,t,r),H=(e,n={})=>{const{i18n:t}=n,{i18n:s,defaultNS:a}=(0,r.useContext)(K)||{},i=t||s||_();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new z),!i){h(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const e=(e,n)=>b(n)?n:E(n)&&b(n.defaultValue)?n.defaultValue:Array.isArray(e)?e[e.length-1]:e,n=[e,{},!1];return n.t=e,n.i18n={},n.ready=!1,n}i.options.react?.wait&&h(i,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...$(),...i.options.react,...n},{useSuspense:l,keyPrefix:c}=o;let u=e||a||i.options?.defaultNS;u=b(u)?[u]:u||["translation"],i.reportNamespaces.addUsedNamespaces?.(u);const p=(i.isInitialized||i.initializedStoreOnce)&&u.every((e=>((e,n,t={})=>n.languages&&n.languages.length?n.hasLoadedNamespace(e,{lng:t.lng,precheck:(n,r)=>{if(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!r(n.isLanguageChangingTo,e))return!1}}):(h(n,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:n.languages}),!0))(e,i,o))),d=((e,n,t,s)=>(0,r.useCallback)(W(e,n,t,s),[e,n,t,s]))(i,n.lng||null,"fallback"===o.nsMode?u:u[0],c),f=()=>d,m=()=>W(i,n.lng||null,"fallback"===o.nsMode?u:u[0],c),[g,y]=(0,r.useState)(f);let v=u.join();n.lng&&(v=`${n.lng}${v}`);const O=((e,n)=>{const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e,n]),t.current})(v),I=(0,r.useRef)(!0);(0,r.useEffect)((()=>{const{bindI18n:e,bindI18nStore:t}=o;I.current=!0,p||l||(n.lng?x(i,n.lng,u,(()=>{I.current&&y(m)})):N(i,u,(()=>{I.current&&y(m)}))),p&&O&&O!==v&&I.current&&y(m);const r=()=>{I.current&&y(m)};return e&&i?.on(e,r),t&&i?.store.on(t,r),()=>{I.current=!1,i&&e&&e?.split(" ").forEach((e=>i.off(e,r))),t&&i&&t.split(" ").forEach((e=>i.store.off(e,r)))}}),[i,v]),(0,r.useEffect)((()=>{I.current&&p&&y(f)}),[i,c,p]);const w=[g,i,p];if(w.t=g,w.i18n=i,w.ready=p,p)return w;if(!p&&!l)return w;throw new Promise((e=>{n.lng?x(i,n.lng,u,(()=>e())):N(i,u,(()=>e()))}))},M=(e,n={})=>function(t){function s({forwardedRef:s,...a}){const[i,o,l]=H(e,{...a,keyPrefix:n.keyPrefix}),c={...a,t:i,i18n:o,tReady:l};return n.withRef&&s?c.ref=s:!n.withRef&&s&&(c.forwardedRef=s),(0,r.createElement)(t,c)}return s.displayName=`withI18nextTranslation(${v(t)})`,s.WrappedComponent=t,n.withRef?(0,r.forwardRef)(((e,n)=>(0,r.createElement)(s,Object.assign({},e,{forwardedRef:n})))):s},q=({ns:e,children:n,...t})=>{const[r,s,a]=H(e,t);return n(r,{i18n:s,lng:s.language},a)};function G({i18n:e,defaultNS:n,children:t}){const s=(0,r.useMemo)((()=>({i18n:e,defaultNS:n})),[e,n]);return(0,r.createElement)(K.Provider,{value:s},t)}const X=(e,n,t={})=>{const{i18n:s}=t,{i18n:a}=(0,r.useContext)(K)||{},i=s||a||_();i.options?.isClone||(e&&!i.initializedStoreOnce&&(i.services.resourceStore.data=e,i.options.ns=Object.values(e).reduce(((e,n)=>(Object.keys(n).forEach((n=>{e.indexOf(n)<0&&e.push(n)})),e)),i.options.ns),i.initializedStoreOnce=!0,i.isInitialized=!0),n&&!i.initializedLanguageOnce&&(i.changeLanguage(n),i.initializedLanguageOnce=!0))},Y=()=>function(e){function n({initialI18nStore:n,initialLanguage:t,...s}){return X(n,t),(0,r.createElement)(e,{...s})}return n.getInitialProps=U(e),n.displayName=`withI18nextSSR(${v(e)})`,n.WrappedComponent=e,n},J=()=>"",Z=()=>"",Q=()=>"",ee=()=>"",ne=()=>"",te=()=>""}}]);
|
package/dist/41.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 41.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app=globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app||[]).push([[41],{4304(e,t){var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,h={};function m(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}function b(){}function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var S=v.prototype=new b;S.constructor=v,_(S,m.prototype),S.isPureReactComponent=!0;var k=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,n){var o,u={},c=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(c=""+t.key),t)w.call(t,o)&&!$.hasOwnProperty(o)&&(u[o]=t[o]);var i=arguments.length-2;if(1===i)u.children=n;else if(1<i){for(var f=Array(i),s=0;s<i;s++)f[s]=arguments[s+2];u.children=f}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===u[o]&&(u[o]=i[o]);return{$$typeof:r,type:e,key:c,ref:a,props:u,_owner:E.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var g=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,o,u,c){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i=!1;if(null===e)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case r:case n:i=!0}}if(i)return c=c(i=e),e=""===u?"."+j(i,0):u,k(c)?(o="",null!=e&&(o=e.replace(g,"$&/")+"/"),O(c,t,o,"",(function(e){return e}))):null!=c&&(C(c)&&(c=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(c,o+(!c.key||i&&i.key===c.key?"":(""+c.key).replace(g,"$&/")+"/")+e)),t.push(c)),1;if(i=0,u=""===u?".":u+":",k(e))for(var f=0;f<e.length;f++){var s=u+j(a=e[f],f);i+=O(a,t,o,s,c)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=y&&e[y]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),f=0;!(a=e.next()).done;)i+=O(a=a.value,t,o,s=u+j(a,f++),c);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function x(e,t,r){if(null==e)return e;var n=[],o=0;return O(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},T={transition:null},V={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:T,ReactCurrentOwner:E};function A(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:x,forEach:function(e,t,r){x(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return x(e,(function(){t++})),t},toArray:function(e){return x(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=c,t.PureComponent=v,t.StrictMode=u,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.act=A,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=_({},e.props),u=e.key,c=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,a=E.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(f in t)w.call(t,f)&&!$.hasOwnProperty(f)&&(o[f]=void 0===t[f]&&void 0!==i?i[f]:t[f])}var f=arguments.length-2;if(1===f)o.children=n;else if(1<f){i=Array(f);for(var s=0;s<f;s++)i[s]=arguments[s+2];o.children=i}return{$$typeof:r,type:e.type,key:u,ref:c,props:o,_owner:a}},t.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=R,t.createFactory=function(e){var t=R.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=A,t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,r){return I.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,r){return I.current.useReducer(e,t,r)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return I.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return I.current.useTransition()},t.version="18.3.1"},4041(e,t,r){e.exports=r(4304)}}]);
|
package/dist/457.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 457.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app=globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app||[]).push([[457],{2457(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)}}]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */
|
package/dist/464.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app=globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app||[]).push([[464],{3464(t){t.exports=function(){"use strict";var t=6e4,e=36e5,r="millisecond",n="second",s="minute",i="hour",u="day",a="week",c="month",o="quarter",h="year",f="date",d="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,$=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},M=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},g={s:M,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),s=r%60;return(e<=0?"+":"-")+M(n,2,"0")+":"+M(s,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),s=e.clone().add(n,c),i=r-s<0,u=e.clone().add(n+(i?-1:1),c);return+(-(n+(r-s)/(i?s-u:u-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:a,d:u,D:f,h:i,m:s,s:n,ms:r,Q:o}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",v={};v[y]=m;var p="$isDayjsObject",D=function(t){return t instanceof b||!(!t||!t[p])},S=function t(e,r,n){var s;if(!e)return y;if("string"==typeof e){var i=e.toLowerCase();v[i]&&(s=i),r&&(v[i]=r,s=i);var u=e.split("-");if(!s&&u.length>1)return t(u[0])}else{var a=e.name;v[a]=e,s=a}return!n&&s&&(y=s),s||!n&&y},_=function(t,e){if(D(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new b(r)},w=g;w.l=S,w.i=D,w.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function m(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var M=m.prototype;return M.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(w.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(l);if(n){var s=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(e)}(t),this.init()},M.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},M.$utils=function(){return w},M.isValid=function(){return!(this.$d.toString()===d)},M.isSame=function(t,e){var r=_(t);return this.startOf(e)<=r&&r<=this.endOf(e)},M.isAfter=function(t,e){return _(t)<this.startOf(e)},M.isBefore=function(t,e){return this.endOf(e)<_(t)},M.$g=function(t,e,r){return w.u(t)?this[e]:this.set(r,t)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(t,e){var r=this,o=!!w.u(e)||e,d=w.p(t),l=function(t,e){var n=w.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return o?n:n.endOf(u)},$=function(t,e){return w.w(r.toDate()[t].apply(r.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},m=this.$W,M=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case h:return o?l(1,0):l(31,11);case c:return o?l(1,M):l(0,M+1);case a:var v=this.$locale().weekStart||0,p=(m<v?m+7:m)-v;return l(o?g-p:g+(6-p),M);case u:case f:return $(y+"Hours",0);case i:return $(y+"Minutes",1);case s:return $(y+"Seconds",2);case n:return $(y+"Milliseconds",3);default:return this.clone()}},M.endOf=function(t){return this.startOf(t,!1)},M.$set=function(t,e){var a,o=w.p(t),d="set"+(this.$u?"UTC":""),l=(a={},a[u]=d+"Date",a[f]=d+"Date",a[c]=d+"Month",a[h]=d+"FullYear",a[i]=d+"Hours",a[s]=d+"Minutes",a[n]=d+"Seconds",a[r]=d+"Milliseconds",a)[o],$=o===u?this.$D+(e-this.$W):e;if(o===c||o===h){var m=this.clone().set(f,1);m.$d[l]($),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},M.set=function(t,e){return this.clone().$set(t,e)},M.get=function(t){return this[w.p(t)]()},M.add=function(r,o){var f,d=this;r=Number(r);var l=w.p(o),$=function(t){var e=_(d);return w.w(e.date(e.date()+Math.round(t*r)),d)};if(l===c)return this.set(c,this.$M+r);if(l===h)return this.set(h,this.$y+r);if(l===u)return $(1);if(l===a)return $(7);var m=(f={},f[s]=t,f[i]=e,f[n]=1e3,f)[l]||1,M=this.$d.getTime()+r*m;return w.w(M,this)},M.subtract=function(t,e){return this.add(-1*t,e)},M.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var n=t||"YYYY-MM-DDTHH:mm:ssZ",s=w.z(this),i=this.$H,u=this.$m,a=this.$M,c=r.weekdays,o=r.months,h=r.meridiem,f=function(t,r,s,i){return t&&(t[r]||t(e,n))||s[r].slice(0,i)},l=function(t){return w.s(i%12||12,t,"0")},m=h||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace($,(function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return w.s(e.$y,4,"0");case"M":return a+1;case"MM":return w.s(a+1,2,"0");case"MMM":return f(r.monthsShort,a,o,3);case"MMMM":return f(o,a);case"D":return e.$D;case"DD":return w.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(r.weekdaysMin,e.$W,c,2);case"ddd":return f(r.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(i);case"HH":return w.s(i,2,"0");case"h":return l(1);case"hh":return l(2);case"a":return m(i,u,!0);case"A":return m(i,u,!1);case"m":return String(u);case"mm":return w.s(u,2,"0");case"s":return String(e.$s);case"ss":return w.s(e.$s,2,"0");case"SSS":return w.s(e.$ms,3,"0");case"Z":return s}return null}(t)||s.replace(":","")}))},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(r,f,d){var l,$=this,m=w.p(f),M=_(r),g=(M.utcOffset()-this.utcOffset())*t,y=this-M,v=function(){return w.m($,M)};switch(m){case h:l=v()/12;break;case c:l=v();break;case o:l=v()/3;break;case a:l=(y-g)/6048e5;break;case u:l=(y-g)/864e5;break;case i:l=y/e;break;case s:l=y/t;break;case n:l=y/1e3;break;default:l=y}return d?l:w.a(l)},M.daysInMonth=function(){return this.endOf(c).$D},M.$locale=function(){return v[this.$L]},M.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=S(t,e,!0);return n&&(r.$L=n),r},M.clone=function(){return w.w(this.$d,this)},M.toDate=function(){return new Date(this.valueOf())},M.toJSON=function(){return this.isValid()?this.toISOString():null},M.toISOString=function(){return this.$d.toISOString()},M.toString=function(){return this.$d.toUTCString()},m}(),O=b.prototype;return _.prototype=O,[["$ms",r],["$s",n],["$m",s],["$H",i],["$W",u],["$M",c],["$y",h],["$D",f]].forEach((function(t){O[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),_.extend=function(t,e){return t.$i||(t(e,b,_),t.$i=!0),_},_.locale=S,_.isDayjs=D,_.unix=function(t){return _(1e3*t)},_.en=v[y],_.Ls=v,_.p={},_}()}}]);
|
package/dist/686.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 686.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app=globalThis.webpackChunk_clinicemr_esm_post_registration_redirect_app||[]).push([[686],{935(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 i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},2591(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 i={},a=[],s=0;s<e.length;s++){var u=e[s],c=r.base?u[0]+r.base:u[0],l=i[c]||0,d="".concat(c," ").concat(l);i[c]=l+1;var f=n(d),p={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var v=o(p,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:v,references:1})}a.push(d)}return a}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 i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var u=r(e,o),c=0;c<i.length;c++){var l=n(i[c]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}i=u}}},8128(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)}},3051(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},855(e,t,n){e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},1740(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 i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},3656(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))}}},3296(e,t,n){var r=n(1343),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,u=r.useDebugValue;function c(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=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&l({inst:o})}),[e,n,t]),a((function(){return c(o)&&l({inst:o}),e((function(){c(o)&&l({inst:o})}))}),[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},8139(e,t,n){e.exports=n(3296)},2372(e,t,n){n.d(t,{BE:()=>H,Es:()=>C,Ht:()=>G,PP:()=>P,Tn:()=>u,X3:()=>S,ZH:()=>i,aw:()=>z,b0:()=>s,bZ:()=>p,bu:()=>A,dO:()=>O,lK:()=>x,lg:()=>N,mF:()=>I,mf:()=>V,q9:()=>Z,qm:()=>K,qv:()=>a,r9:()=>E,rL:()=>c,sb:()=>U});var r=n(1343);const o=()=>{},i=o(),a=Object,s=e=>e===i,u=e=>"function"==typeof e,c=(e,t)=>({...e,...t}),l=new WeakMap;let d=0;const f=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(a(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=++d+"~",l.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=f(e[i])+",";l.set(e,o)}if(n==a){o="#";const t=a.keys(e).sort();for(;!s(i=t.pop());)s(e[i])||(o+=i+":"+f(e[i])+",");l.set(e,o)}}return o},p=new WeakMap,v={},h={},g="undefined",b=typeof window!=g,m=typeof document!=g,E=(e,t)=>{const n=p.get(e);return[()=>!s(t)&&e.get(t)||v,r=>{if(!s(t)){const o=e.get(t);t in h||(h[t]=o),n[5](t,c(o,r),o||v)}},n[6],()=>!s(t)&&t in h?h[t]:!s(t)&&e.get(t)||v]};let y=!0;const[w,_]=b&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],T={isOnline:()=>y,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=()=>{y=!0,e()},n=()=>{y=!1};return w("online",t),w("offline",n),()=>{_("online",t),_("offline",n)}}},O=!r.useId,S=!b||"Deno"in window,V=e=>b&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1),C=S?r.useEffect:r.useLayoutEffect,L="undefined"!=typeof navigator&&navigator.connection,k=!S&&L&&(["slow-2g","2g"].includes(L.effectiveType)||L.saveData),x=e=>{if(u(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?f(e):"",t]};let D=0;const N=()=>++D;var A={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function I(...e){const[t,n,r,o]=e,a=c({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{});let l=a.populateCache;const d=a.rollbackOnError;let f=a.optimisticData;const v=a.throwOnError;if(u(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(h))}return h(n);async function h(n){const[o]=x(n);if(!o)return;const[c,h]=E(t,o),[g,b,m,y]=p.get(t),w=()=>{const e=g[o];return(u(a.revalidate)?a.revalidate(c().data,n):!1!==a.revalidate)&&(delete m[o],delete y[o],e&&e[0])?e[0](2).then((()=>c().data)):c().data};if(e.length<3)return w();let _,T=r;const R=N();b[o]=[R,0];const O=!s(f),S=c(),V=S.data,C=S._c,L=s(C)?V:C;if(O&&(f=u(f)?f(L,V):f,h({data:f,_c:L})),u(T))try{T=T(L)}catch(e){_=e}if(T&&u(T.then)){if(T=await T.catch((e=>{_=e})),R!==b[o][0]){if(_)throw _;return T}_&&O&&(e=>"function"==typeof d?d(e):!1!==d)(_)&&(l=!0,h({data:L,_c:i}))}if(l&&!_)if(u(l)){const e=l(T,L);h({data:e,error:i,_c:i})}else h({data:T,error:i,_c:i});if(b[o][1]=N(),Promise.resolve(w()).then((()=>{h({_c:i})})),!_)return T;if(v)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=c(R,t),r={},a=I.bind(i,e);let s=o;const u={},l=(e,t)=>{const n=u[e]||[];return u[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},d=(t,n,r)=>{e.set(t,n);const o=u[t];if(o)for(const e of o)e(n,r)},f=()=>{if(!p.has(e)&&(p.set(e,[r,{},{},{},a,d,l]),!S)){const t=n.initFocus(setTimeout.bind(i,M.bind(i,r,0))),o=n.initReconnect(setTimeout.bind(i,M.bind(i,r,1)));s=()=>{t&&t(),o&&o(),p.delete(e)}}};return f(),[e,a,f,s]}return[e,p.get(e)[4]]},[P,q]=F(new Map),U=c({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,u=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!s(i)&&a>i||setTimeout(r,u,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)=>f(e)==f(t),isPaused:()=>!1,cache:P,mutate:q,fallback:{}},T),W=(e,t)=>{const n=c(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=c(o,a))}return n},j=(0,r.createContext)({}),H=e=>{const{value:t}=e,n=(0,r.useContext)(j),o=u(t),a=(0,r.useMemo)((()=>o?t(n):t),[o,n,t]),s=(0,r.useMemo)((()=>o?a:W(n,a)),[o,n,a]),l=a&&a.provider,d=(0,r.useRef)(i);l&&!d.current&&(d.current=F(l(s.cache||P),a));const f=d.current;return f&&(s.cache=f[0],s.mutate=f[1]),C((()=>{if(f)return f[2]&&f[2](),f[3]}),[]),(0,r.createElement)(j.Provider,c(e,{value:s}))},Z="$inf$",$=b&&window.__SWR_DEVTOOLS_USE__,B=$?window.__SWR_DEVTOOLS_USE__:[],J=e=>u(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],X=B.concat((e=>(t,n,r)=>e(t,n&&((...e)=>{const[r]=x(t),[,,,o]=p.get(P);if(r.startsWith(Z))return n(...e);const i=o[r];return s(i)?n(...e):(delete o[r],i)}),r))),K=e=>function(...t){const n=c(U,(0,r.useContext)(j)),[o,i,a]=J(t),s=W(n,a);let u=e;const{use:l}=s,d=(l||[]).concat(X);for(let e=d.length;e--;)u=d[e](u);return u(o,i||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,i]=J(n),a=(i.use||[]).concat(t);return e(r,o,{...i,use:a})};$&&(window.__SWR_DEVTOOLS_REACT__=r)},1123(e,t,n){n.d(t,{Ay:()=>c,BE:()=>u});var r=n(1343),o=n(8139),i=n(2372);const a=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},u=i.qv.defineProperty(i.BE,"defaultValue",{value:i.sb}),c=(0,i.qm)(((e,t,n)=>{const{cache:u,compare:c,suspense:l,fallbackData:d,revalidateOnMount:f,revalidateIfStale:p,refreshInterval:v,refreshWhenHidden:h,refreshWhenOffline:g,keepPreviousData:b}=n,[m,E,y,w]=i.bZ.get(u),[_,T]=(0,i.lK)(e),R=(0,r.useRef)(!1),O=(0,r.useRef)(!1),S=(0,r.useRef)(_),V=(0,r.useRef)(t),C=(0,r.useRef)(n),L=()=>C.current,k=()=>L().isVisible()&&L().isOnline(),[x,D,N,A]=(0,i.r9)(u,_),I=(0,r.useRef)({}).current,M=(0,i.b0)(d)?n.fallback[_]:d,F=(e,t)=>{for(const n in I){const r=n;if("data"===r){if(!c(e[r],t[r])){if(!(0,i.b0)(e[r]))return!1;if(!c(B,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},P=(0,r.useMemo)((()=>{const e=!!_&&!!t&&((0,i.b0)(f)?!L().isPaused()&&!l&&(!!(0,i.b0)(p)||p):f),n=t=>{const n=(0,i.rL)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=x(),o=A(),a=n(r),s=r===o?a:n(o);let u=a;return[()=>{const e=n(x());return F(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>s]}),[u,_]),q=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>N(_,((t,n)=>{F(n,t)||e()}))),[u,_]),P[0],P[1]),U=!R.current,W=m[_]&&m[_].length>0,j=q.data,H=(0,i.b0)(j)?M:j,Z=q.error,$=(0,r.useRef)(H),B=b?(0,i.b0)(j)?$.current:j:H,J=!(W&&!(0,i.b0)(Z))&&(U&&!(0,i.b0)(f)?f:!L().isPaused()&&(l?!(0,i.b0)(H)&&p:(0,i.b0)(H)||p)),X=!!(_&&t&&U&&J),K=(0,i.b0)(q.isValidating)?X:q.isValidating,z=(0,i.b0)(q.isLoading)?X:q.isLoading,G=(0,r.useCallback)((async e=>{const t=V.current;if(!_||!t||O.current||L().isPaused())return!1;let r,o,a=!0;const s=e||{},u=!y[_]||!s.dedupe,l=()=>i.dO?!O.current&&_===S.current&&R.current:_===S.current,d={isValidating:!1,isLoading:!1},f=()=>{D(d)},p=()=>{const e=y[_];e&&e[1]===o&&delete y[_]},v={isValidating:!0};(0,i.b0)(x().data)&&(v.isLoading=!0);try{if(u&&(D(v),n.loadingTimeout&&(0,i.b0)(x().data)&&setTimeout((()=>{a&&l()&&L().onLoadingSlow(_,n)}),n.loadingTimeout),y[_]=[t(T),(0,i.lg)()]),[r,o]=y[_],r=await r,u&&setTimeout(p,n.dedupingInterval),!y[_]||y[_][1]!==o)return u&&l()&&L().onDiscarded(_),!1;d.error=i.ZH;const e=E[_];if(!(0,i.b0)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return f(),u&&l()&&L().onDiscarded(_),!1;const s=x().data;d.data=c(s,r)?s:r,u&&l()&&L().onSuccess(r,_,n)}catch(e){p();const t=L(),{shouldRetryOnError:n}=t;t.isPaused()||(d.error=e,u&&l()&&(t.onError(e,_,t),(!0===n||(0,i.Tn)(n)&&n(e))&&(L().revalidateOnFocus&&L().revalidateOnReconnect&&!k()||t.onErrorRetry(e,_,t,(e=>{const t=m[_];t&&t[0]&&t[0](i.bu.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(s.retryCount||0)+1,dedupe:!0}))))}return a=!1,f(),!0}),[_,u]),Q=(0,r.useCallback)(((...e)=>(0,i.mF)(u,S.current,...e)),[]);if((0,i.Es)((()=>{V.current=t,C.current=n,(0,i.b0)(j)||($.current=j)})),(0,i.Es)((()=>{if(!_)return;const e=G.bind(i.ZH,s);let t=0;const n=(0,i.aw)(_,m,((n,r={})=>{if(n==i.bu.FOCUS_EVENT){const n=Date.now();L().revalidateOnFocus&&n>t&&k()&&(t=n+L().focusThrottleInterval,e())}else if(n==i.bu.RECONNECT_EVENT)L().revalidateOnReconnect&&k()&&e();else{if(n==i.bu.MUTATE_EVENT)return G();if(n==i.bu.ERROR_REVALIDATE_EVENT)return G(r)}}));return O.current=!1,S.current=_,R.current=!0,D({_k:T}),J&&((0,i.b0)(H)||i.X3?e():(0,i.mf)(e)),()=>{O.current=!0,n()}}),[_]),(0,i.Es)((()=>{let e;function t(){const t=(0,i.Tn)(v)?v(x().data):v;t&&-1!==e&&(e=setTimeout(n,t))}function n(){x().error||!h&&!L().isVisible()||!g&&!L().isOnline()?t():G(s).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[v,h,g,_]),(0,r.useDebugValue)(B),l&&(0,i.b0)(H)&&_){if(!i.dO&&i.X3)throw new Error("Fallback data is required when using suspense in SSR.");V.current=t,C.current=n,O.current=!1;const e=w[_];if(!(0,i.b0)(e)){const t=Q(e);a(t)}if(!(0,i.b0)(Z))throw Z;{const e=G(s);(0,i.b0)(B)||(e.status="fulfilled",e.value=!0),a(e)}}return{mutate:Q,get data(){return I.data=!0,B},get error(){return I.error=!0,Z},get isValidating(){return I.isValidating=!0,K},get isLoading(){return I.isLoading=!0,z}}}))}}]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* use-sync-external-store-shim.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|