@kenyaemr/esm-patient-registration-app 8.1.2-pre.181 → 8.1.2-pre.186
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/.turbo/turbo-build.log +27 -27
- package/dist/100.js +2 -0
- package/dist/100.js.LICENSE.txt +59 -0
- package/dist/100.js.map +1 -0
- package/dist/108.js +1 -0
- package/dist/{155.js.map → 108.js.map} +1 -1
- package/dist/130.js +2 -0
- package/dist/130.js.map +1 -0
- package/dist/169.js +1 -0
- package/dist/169.js.map +1 -0
- package/dist/2.js +2 -0
- package/dist/{216.js.LICENSE.txt → 2.js.LICENSE.txt} +2 -2
- package/dist/2.js.map +1 -0
- package/dist/{723.js → 236.js} +1 -1
- package/dist/{241.js → 240.js} +1 -1
- package/dist/{146.js → 261.js} +1 -1
- package/dist/{661.js → 271.js} +1 -1
- package/dist/{173.js → 272.js} +1 -1
- package/dist/319.js +1 -0
- package/dist/325.js +1 -0
- package/dist/325.js.map +1 -0
- package/dist/{294.js → 336.js} +1 -1
- package/dist/371.js +1 -0
- package/dist/371.js.map +1 -0
- package/dist/372.js +1 -0
- package/dist/372.js.map +1 -0
- package/dist/{679.js → 378.js} +1 -1
- package/dist/{132.js → 460.js} +1 -1
- package/dist/501.js +1 -0
- package/dist/501.js.map +1 -0
- package/dist/539.js +1 -0
- package/dist/566.js +1 -0
- package/dist/{300.js → 574.js} +1 -1
- package/dist/587.js +1 -0
- package/dist/587.js.map +1 -0
- package/dist/591.js +2 -0
- package/dist/{913.js.LICENSE.txt → 591.js.LICENSE.txt} +3 -3
- package/dist/591.js.map +1 -0
- package/dist/623.js +1 -0
- package/dist/{277.js.map → 623.js.map} +1 -1
- package/dist/644.js +1 -0
- package/dist/652.js +1 -1
- package/dist/{454.js → 657.js} +1 -1
- package/dist/{454.js.map → 657.js.map} +1 -1
- package/dist/673.js +1 -0
- package/dist/705.js +1 -0
- package/dist/711.js +1 -0
- package/dist/727.js +1 -0
- package/dist/737.js +1 -0
- package/dist/744.js +1 -0
- package/dist/757.js +1 -0
- package/dist/76.js +1 -0
- package/dist/76.js.map +1 -0
- package/dist/784.js +2 -0
- package/dist/784.js.map +1 -0
- package/dist/{197.js → 788.js} +1 -1
- package/dist/{335.js → 807.js} +1 -1
- package/dist/833.js +1 -0
- package/dist/879.js +1 -1
- package/dist/{464.js.map → 879.js.map} +1 -1
- package/dist/899.js +1 -0
- package/dist/kenyaemr-esm-patient-registration-app.js +1 -1
- package/dist/kenyaemr-esm-patient-registration-app.js.buildmanifest.json +273 -279
- package/dist/kenyaemr-esm-patient-registration-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +2 -2
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/dist/144.js +0 -2
- package/dist/144.js.LICENSE.txt +0 -19
- package/dist/144.js.map +0 -1
- package/dist/155.js +0 -1
- package/dist/214.js +0 -1
- package/dist/216.js +0 -2
- package/dist/216.js.map +0 -1
- package/dist/277.js +0 -1
- package/dist/286.js +0 -1
- package/dist/286.js.map +0 -1
- package/dist/41.js +0 -2
- package/dist/41.js.map +0 -1
- package/dist/414.js +0 -1
- package/dist/414.js.map +0 -1
- package/dist/442.js +0 -1
- package/dist/449.js +0 -1
- package/dist/449.js.map +0 -1
- package/dist/464.js +0 -1
- package/dist/468.js +0 -1
- package/dist/495.js +0 -1
- package/dist/495.js.map +0 -1
- package/dist/538.js +0 -1
- package/dist/55.js +0 -1
- package/dist/618.js +0 -1
- package/dist/619.js +0 -2
- package/dist/619.js.LICENSE.txt +0 -29
- package/dist/619.js.map +0 -1
- package/dist/690.js +0 -1
- package/dist/830.js +0 -1
- package/dist/830.js.map +0 -1
- package/dist/831.js +0 -2
- package/dist/831.js.map +0 -1
- package/dist/840.js +0 -1
- package/dist/859.js +0 -1
- package/dist/876.js +0 -1
- package/dist/876.js.map +0 -1
- package/dist/900.js +0 -1
- package/dist/913.js +0 -2
- package/dist/913.js.map +0 -1
- package/dist/944.js +0 -1
- package/dist/963.js +0 -1
- package/dist/963.js.map +0 -1
- package/dist/99.js +0 -1
- /package/dist/{831.js.LICENSE.txt → 130.js.LICENSE.txt} +0 -0
- /package/dist/{41.js.LICENSE.txt → 784.js.LICENSE.txt} +0 -0
package/dist/169.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[169],{5501:(e,n,t)=>{"use strict";t.r(n),t.d(n,{I18nContext:()=>k,I18nextProvider:()=>le,Trans:()=>Y,Translation:()=>ue,composeInitialProps:()=>T,date:()=>he,getDefaults:()=>I,getI18n:()=>Z,getInitialProps:()=>A,initReactI18next:()=>R,number:()=>ye,plural:()=>be,select:()=>ve,selectOrdinal:()=>Oe,setDefaults:()=>N,setI18n:()=>D,time:()=>me,useSSR:()=>pe,useTranslation:()=>re,withSSR:()=>ge,withTranslation:()=>ce});var r=t(1461);function i(e,n){if(null==e)return{};var t,i,o=(0,r.Z)(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)t=a[i],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var o=t(6522),a=t(6666),c=t(268),s=t(4896),u=t.n(s),l=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function p(e){var n={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},t=e.match(/<\/?([^\s]+?)[/\s>]/);if(t&&(n.name=t[1],(u()[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 i=new RegExp(l),o=null;null!==(o=i.exec(e));)if(o[0].trim())if(o[1]){var a=o[1].trim(),c=[a,""];a.indexOf("=")>-1&&(c=a.split("=")),n.attrs[c[0]]=c[1],i.lastIndex--}else o[2]&&(n.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return n}var f=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,d=/^\s*$/,g=Object.create(null);function h(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(h,"")+"</"+n.name+">";case"comment":return e+"\x3c!--"+n.comment+"--\x3e"}}var m={parse:function(e,n){n||(n={}),n.components||(n.components=g);var t,r=[],i=[],o=-1,a=!1;if(0!==e.indexOf("<")){var c=e.indexOf("<");r.push({type:"text",content:-1===c?e:e.substring(0,c)})}return e.replace(f,(function(c,s){if(a){if(c!=="</"+t.name+">")return;a=!1}var u,l="/"!==c.charAt(1),f=c.startsWith("\x3c!--"),g=s+c.length,h=e.charAt(g);if(f){var m=p(c);return o<0?(r.push(m),r):((u=i[o]).children.push(m),r)}if(l&&(o++,"tag"===(t=p(c)).type&&n.components[t.name]&&(t.type="component",a=!0),t.voidElement||a||!h||"<"===h||t.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),0===o&&r.push(t),(u=i[o-1])&&u.children.push(t),i[o]=t),(!l||t.voidElement)&&(o>-1&&(t.voidElement||t.name===c.slice(2,-1))&&(o--,t=-1===o?r:i[o]),!a&&"<"!==h&&h)){u=-1===o?r:i[o].children;var y=e.indexOf("<",g),v=e.slice(g,-1===y?void 0:y);d.test(v)&&(v=" "),(y>-1&&o+u.length>=0||" "!==v)&&u.push({type:"text",content:v})}})),r},stringify:function(e){return e.reduce((function(e,n){return e+h("",n)}),"")}};const y=m;var v=t(9249),b=t(7371),O=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,j={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},w=function(e){return j[e]};function P(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function x(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?P(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):P(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var E,S={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(O,w)}},k=(0,c.createContext)();function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};S=x(x({},S),e)}function I(){return S}var C=function(){function e(){(0,v.Z)(this,e),this.usedNamespaces={}}return(0,b.Z)(e,[{key:"addUsedNamespaces",value:function(e){var n=this;e.forEach((function(e){n.usedNamespaces[e]||(n.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function D(e){E=e}function Z(){return E}var R={type:"3rdParty",init:function(e){N(e.options.react),D(e)}};function T(e){return function(n){return new Promise((function(t){var r=A();e.getInitialProps?e.getInitialProps(n).then((function(e){t(x(x({},e),r))})):t(r)}))}}function A(){var e=Z(),n=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],t={},r={};return e.languages.forEach((function(t){r[t]={},n.forEach((function(n){r[t][n]=e.getResourceBundle(t,n)||{}}))})),t.initialI18nStore=r,t.initialLanguage=e.language,t}function L(){if(console&&console.warn){for(var e,n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];"string"==typeof t[0]&&(t[0]="react-i18next:: ".concat(t[0])),(e=console).warn.apply(e,t)}}var z={};function B(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];"string"==typeof n[0]&&z[n[0]]||("string"==typeof n[0]&&(z[n[0]]=new Date),L.apply(void 0,n))}function _(e,n,t){e.loadNamespaces(n,(function(){e.isInitialized?t():e.on("initialized",(function n(){setTimeout((function(){e.off("initialized",n)}),0),t()}))}))}function U(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}var F=["format"],H=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function K(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function V(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?K(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):K(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function W(e,n){if(!e)return!1;var t=e.props?e.props.children:e.children;return n?t.length>0:!!t}function M(e){return e?e.props?e.props.children:e.children:[]}function $(e){return Array.isArray(e)?e:[e]}function q(e,n){if(!e)return"";var t="",r=$(e),a=n.transSupportBasicHtmlNodes&&n.transKeepBasicHtmlNodesFor?n.transKeepBasicHtmlNodesFor:[];return r.forEach((function(e,r){if("string"==typeof e)t+="".concat(e);else if((0,c.isValidElement)(e)){var s=Object.keys(e.props).length,u=a.indexOf(e.type)>-1,l=e.props.children;if(!l&&u&&0===s)t+="<".concat(e.type,"/>");else if(l||u&&0===s)if(e.props.i18nIsDynamicList)t+="<".concat(r,"></").concat(r,">");else if(u&&1===s&&"string"==typeof l)t+="<".concat(e.type,">").concat(l,"</").concat(e.type,">");else{var p=q(l,n);t+="<".concat(r,">").concat(p,"</").concat(r,">")}else t+="<".concat(r,"></").concat(r,">")}else if(null===e)L("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,o.Z)(e)){var f=e.format,d=i(e,F),g=Object.keys(d);if(1===g.length){var h=f?"".concat(g[0],", ").concat(f):g[0];t+="{{".concat(h,"}}")}else L("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else L("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),t}function Y(e){var n=e.children,t=e.count,r=e.parent,a=e.i18nKey,s=e.context,u=e.tOptions,l=void 0===u?{}:u,p=e.values,f=e.defaults,d=e.components,g=e.ns,h=e.i18n,m=e.t,v=e.shouldUnescape,b=i(e,H),O=(0,c.useContext)(k)||{},j=O.i18n,w=O.defaultNS,P=h||j||Z();if(!P)return B("You will need to pass in an i18next instance by using i18nextReactModule"),n;var x=m||P.t.bind(P)||function(e){return e};s&&(l.context=s);var E=V(V({},I()),P.options&&P.options.react),S=g||x.ns||w||P.options&&P.options.defaultNS;S="string"==typeof S?[S]:S||["translation"];var N=f||q(n,E)||E.transEmptyNodeValue||a,C=E.hashTransKey,D=a||(C?C(N):N),R=p?l.interpolation:{interpolation:V(V({},l.interpolation),{},{prefix:"#$?",suffix:"?$#"})},T=V(V(V(V({},l),{},{count:t},p),R),{},{defaultValue:N,ns:S}),A=function(e,n,t,r,i,a){if(""===n)return[];var s=r.transKeepBasicHtmlNodesFor||[],u=n&&new RegExp(s.join("|")).test(n);if(!e&&!u)return[n];var l={};!function e(n){$(n).forEach((function(n){"string"!=typeof n&&(W(n)?e(M(n)):"object"!==(0,o.Z)(n)||(0,c.isValidElement)(n)||Object.assign(l,n))}))}(e);var p=y.parse("<0>".concat(n,"</0>")),f=V(V({},l),i);function d(e,n,t){var r=M(e),i=h(r,n.children,t);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return(0,c.isValidElement)(e)}))}(r)&&0===i.length?r:i}function g(e,n,t,r,i){e.dummy&&(e.children=n),t.push((0,c.cloneElement)(e,V(V({},e.props),{},{key:r}),i?void 0:n))}function h(n,i,l){var p=$(n);return $(i).reduce((function(n,i,m){var y,v,b,O=i.children&&i.children[0]&&i.children[0].content&&t.services.interpolator.interpolate(i.children[0].content,f,t.language);if("tag"===i.type){var j=p[parseInt(i.name,10)];!j&&1===l.length&&l[0][i.name]&&(j=l[0][i.name]),j||(j={});var w=0!==Object.keys(i.attrs).length?(y={props:i.attrs},(b=V({},v=j)).props=Object.assign(y.props,v.props),b):j,P=(0,c.isValidElement)(w),x=P&&W(i,!0)&&!i.voidElement,E=u&&"object"===(0,o.Z)(w)&&w.dummy&&!P,S="object"===(0,o.Z)(e)&&null!==e&&Object.hasOwnProperty.call(e,i.name);if("string"==typeof w){var k=t.services.interpolator.interpolate(w,f,t.language);n.push(k)}else if(W(w)||x)g(w,d(w,i,l),n,m);else if(E){var N=h(p,i.children,l);n.push((0,c.cloneElement)(w,V(V({},w.props),{},{key:m}),N))}else if(Number.isNaN(parseFloat(i.name)))if(S)g(w,d(w,i,l),n,m,i.voidElement);else if(r.transSupportBasicHtmlNodes&&s.indexOf(i.name)>-1)if(i.voidElement)n.push((0,c.createElement)(i.name,{key:"".concat(i.name,"-").concat(m)}));else{var I=h(p,i.children,l);n.push((0,c.createElement)(i.name,{key:"".concat(i.name,"-").concat(m)},I))}else if(i.voidElement)n.push("<".concat(i.name," />"));else{var C=h(p,i.children,l);n.push("<".concat(i.name,">").concat(C,"</").concat(i.name,">"))}else if("object"!==(0,o.Z)(w)||P)1===i.children.length&&O?n.push((0,c.cloneElement)(w,V(V({},w.props),{},{key:m}),O)):n.push((0,c.cloneElement)(w,V(V({},w.props),{},{key:m})));else{var D=i.children[0]?O:null;D&&n.push(D)}}else if("text"===i.type){var Z=r.transWrapTextNodes,R=a?r.unescape(t.services.interpolator.interpolate(i.content,f,t.language)):t.services.interpolator.interpolate(i.content,f,t.language);Z?n.push((0,c.createElement)(Z,{key:"".concat(i.name,"-").concat(m)},R)):n.push(R)}return n}),[])}return M(h([{dummy:!0,children:e||[]}],p,$(e||[]))[0])}(d||n,D?x(D,T):N,P,E,T,v),L=void 0!==r?r:E.defaultTransParent;return L?(0,c.createElement)(L,b,A):A}var J=t(9868),G=t(7066),Q=t(4434);function X(e,n){return(0,J.Z)(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o,a,c=[],s=!0,u=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=o.call(t)).done)&&(c.push(r.value),c.length!==n);s=!0);}catch(e){u=!0,i=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,n)||(0,G.Z)(e,n)||(0,Q.Z)()}function ee(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ne(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ee(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ee(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var te=function(e,n){var t=(0,c.useRef)();return(0,c.useEffect)((function(){t.current=n?t.current:e}),[e,n]),t.current};function re(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.i18n,r=(0,c.useContext)(k)||{},i=r.i18n,o=r.defaultNS,a=t||i||Z();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new C),!a){B("You will need to pass in an i18next instance by using initReactI18next");var s=function(e){return Array.isArray(e)?e[e.length-1]:e},u=[s,{},!1];return u.t=s,u.i18n={},u.ready=!1,u}a.options.react&&void 0!==a.options.react.wait&&B("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var l=ne(ne(ne({},I()),a.options.react),n),p=l.useSuspense,f=l.keyPrefix,d=e||o||a.options&&a.options.defaultNS;d="string"==typeof d?[d]:d||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(d);var g=(a.isInitialized||a.initializedStoreOnce)&&d.every((function(e){return function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.languages&&n.languages.length?void 0!==n.options.ignoreJSONStructure?n.hasLoadedNamespace(e,{precheck:function(n,r){if(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!r(n.isLanguageChangingTo,e))return!1}}):function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.languages[0],i=!!n.options&&n.options.fallbackLng,o=n.languages[n.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,t){var r=n.services.backendConnector.state["".concat(e,"|").concat(t)];return-1===r||2===r};return!(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!a(n.isLanguageChangingTo,e)||!n.hasResourceBundle(r,e)&&n.services.backendConnector.backend&&(!n.options.resources||n.options.partialBundledLanguages)&&(!a(r,e)||i&&!a(o,e)))}(e,n,t):(B("i18n.languages were undefined or empty",n.languages),!0)}(e,a,l)}));function h(){return a.getFixedT(null,"fallback"===l.nsMode?d:d[0],f)}var m=X((0,c.useState)(h),2),y=m[0],v=m[1],b=d.join(),O=te(b),j=(0,c.useRef)(!0);(0,c.useEffect)((function(){var e=l.bindI18n,n=l.bindI18nStore;function t(){j.current&&v(h)}return j.current=!0,g||p||_(a,d,(function(){j.current&&v(h)})),g&&O&&O!==b&&j.current&&v(h),e&&a&&a.on(e,t),n&&a&&a.store.on(n,t),function(){j.current=!1,e&&a&&e.split(" ").forEach((function(e){return a.off(e,t)})),n&&a&&n.split(" ").forEach((function(e){return a.store.off(e,t)}))}}),[a,b]);var w=(0,c.useRef)(!0);(0,c.useEffect)((function(){j.current&&!w.current&&v(h),w.current=!1}),[a,f]);var P=[y,a,g];if(P.t=y,P.i18n=a,P.ready=g,g)return P;if(!g&&!p)return P;throw new Promise((function(e){_(a,d,(function(){e()}))}))}var ie=["forwardedRef"];function oe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ae(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?oe(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):oe(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function ce(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t){function r(r){var o=r.forwardedRef,a=i(r,ie),s=X(re(e,ae(ae({},a),{},{keyPrefix:n.keyPrefix})),3),u=s[0],l=s[1],p=s[2],f=ae(ae({},a),{},{t:u,i18n:l,tReady:p});return n.withRef&&o?f.ref=o:!n.withRef&&o&&(f.forwardedRef=o),(0,c.createElement)(t,f)}return r.displayName="withI18nextTranslation(".concat(U(t),")"),r.WrappedComponent=t,n.withRef?(0,c.forwardRef)((function(e,n){return(0,c.createElement)(r,Object.assign({},e,{forwardedRef:n}))})):r}}var se=["ns","children"];function ue(e){var n=e.ns,t=e.children,r=X(re(n,i(e,se)),3),o=r[0],a=r[1],c=r[2];return t(o,{i18n:a,lng:a.language},c)}function le(e){var n=e.i18n,t=e.defaultNS,r=e.children,i=(0,c.useMemo)((function(){return{i18n:n,defaultNS:t}}),[n,t]);return(0,c.createElement)(k.Provider,{value:i},r)}function pe(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).i18n,r=((0,c.useContext)(k)||{}).i18n,i=t||r||Z();i.options&&i.options.isClone||(e&&!i.initializedStoreOnce&&(i.services.resourceStore.data=e,i.options.ns=Object.values(e).reduce((function(e,n){return Object.keys(n).forEach((function(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))}var fe=["initialI18nStore","initialLanguage"];function de(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ge(){return function(e){function n(n){var t=n.initialI18nStore,r=n.initialLanguage,o=i(n,fe);return pe(t,r),(0,c.createElement)(e,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?de(Object(t),!0).forEach((function(n){(0,a.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):de(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},o))}return n.getInitialProps=T(e),n.displayName="withI18nextSSR(".concat(U(e),")"),n.WrappedComponent=e,n}}var he=function(){return""},me=function(){return""},ye=function(){return""},ve=function(){return""},be=function(){return""},Oe=function(){return""}},4896: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}},9868:(e,n,t)=>{"use strict";function r(e){if(Array.isArray(e))return e}t.d(n,{Z:()=>r})},9249:(e,n,t)=>{"use strict";function r(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}t.d(n,{Z:()=>r})},6666:(e,n,t)=>{"use strict";t.d(n,{Z:()=>i});var r=t(2802);function i(e,n,t){return(n=(0,r.Z)(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},4434:(e,n,t)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:()=>r})},7066:(e,n,t)=>{"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function i(e,n){if(e){if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,n):void 0}}t.d(n,{Z:()=>i})}}]);
|
package/dist/169.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"169.js","mappings":"yjBACe,SAASA,EAAyBC,EAAQC,GACvD,GAAc,MAAVD,EAAgB,MAAO,CAAC,EAC5B,IACIE,EAAKC,EADLC,GAAS,EAAAC,EAAA,GAA6BL,EAAQC,GAElD,GAAIK,OAAOC,sBAAuB,CAChC,IAAIC,EAAmBF,OAAOC,sBAAsBP,GACpD,IAAKG,EAAI,EAAGA,EAAIK,EAAiBC,OAAQN,IACvCD,EAAMM,EAAiBL,GACnBF,EAASS,QAAQR,IAAQ,GACxBI,OAAOK,UAAUC,qBAAqBC,KAAKb,EAAQE,KACxDE,EAAOF,GAAOF,EAAOE,GAEzB,CACA,OAAOE,CACT,C,oDCfiCU,EAAE,qDAAqD,SAASC,EAAEA,GAAG,IAAIC,EAAE,CAACC,KAAK,MAAMC,KAAK,GAAGC,aAAY,EAAGC,MAAM,CAAC,EAAEC,SA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B+F,MAAOA,EACP5B,YAAY,EACZ2Q,cAAc,EACdC,UAAU,IAGZF,EAAI7U,GAAO+F,EAEN8O,CACT,C,8BCde,SAASG,IACtB,MAAM,IAAIL,UAAU,4IACtB,C,8CCFe,SAASM,EAAkBzF,EAAK0F,IAClC,MAAPA,GAAeA,EAAM1F,EAAIjP,UAAQ2U,EAAM1F,EAAIjP,QAC/C,IAAK,IAAIN,EAAI,EAAGkV,EAAO,IAAInN,MAAMkN,GAAMjV,EAAIiV,EAAKjV,IAAKkV,EAAKlV,GAAKuP,EAAIvP,GACnE,OAAOkV,CACT,CCHe,SAASC,EAA4BrT,EAAGsT,GACrD,GAAKtT,EAAL,CACA,GAAiB,iBAANA,EAAgB,OAAO,EAAiBA,EAAGsT,GACtD,IAAIxU,EAAIT,OAAOK,UAAU0M,SAASxM,KAAKoB,GAAGN,MAAM,GAAI,GAEpD,MADU,WAANZ,GAAkBkB,EAAEuT,cAAazU,EAAIkB,EAAEuT,YAAYtU,MAC7C,QAANH,GAAqB,QAANA,EAAoBmH,MAAMuN,KAAKxT,GACxC,cAANlB,GAAqB,2CAA2CyC,KAAKzC,GAAW,EAAiBkB,EAAGsT,QAAxG,CALc,CAMhB,C","sources":["webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/html-parse-stringify/dist/html-parse-stringify.module.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/unescape.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/context.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/utils.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/Trans.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/useTranslation.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/withTranslation.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/Translation.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/I18nextProvider.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/useSSR.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/withSSR.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/react-i18next/dist/es/index.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/void-elements/index.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"names":["_objectWithoutProperties","source","excluded","key","i","target","objectWithoutPropertiesLoose","Object","getOwnPropertySymbols","sourceSymbolKeys","length","indexOf","prototype","propertyIsEnumerable","call","t","n","r","type","name","voidElement","attrs","children","match","charAt","startsWith","s","comment","slice","a","RegExp","c","exec","trim","o","l","split","lastIndex","substring","create","e","content","push","join","reduce","parse","components","m","u","replace","f","h","p","d","v","x","g","test","stringify","matchHtmlEntity","htmlEntities","unescapeHtmlEntity","ownKeys","object","enumerableOnly","keys","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","arguments","forEach","getOwnPropertyDescriptors","defineProperties","defineProperty","i18nInstance","defaultOptions","bindI18n","bindI18nStore","transEmptyNodeValue","transSupportBasicHtmlNodes","transWrapTextNodes","transKeepBasicHtmlNodesFor","useSuspense","unescape","text","I18nContext","createContext","setDefaults","options","undefined","getDefaults","ReportNamespaces","this","usedNamespaces","value","namespaces","_this","ns","setI18n","instance","getI18n","initReactI18next","init","react","composeInitialProps","ForComponent","ctx","Promise","resolve","i18nInitialProps","getInitialProps","then","componentsInitialProps","i18n","reportNamespaces","getUsedNamespaces","ret","initialI18nStore","languages","getResourceBundle","initialLanguage","language","warn","console","_console","_len","args","Array","_key","concat","alreadyWarned","warnOnce","_len2","_key2","Date","loadNamespaces","cb","isInitialized","on","initialized","setTimeout","off","getDisplayName","Component","displayName","_excluded","_excluded2","hasChildren","node","checkLength","base","props","getChildren","getAsArray","data","isArray","nodesToString","i18nOptions","stringNode","childrenArray","keepArray","child","childIndex","isValidElement","childPropsCount","shouldKeepChild","childChildren","i18nIsDynamicList","format","clone","Trans","_ref","count","parent","i18nKey","context","_ref$tOptions","tOptions","values","defaults","i18nFromProps","tFromProps","shouldUnescape","additionalProps","_ref2","useContext","i18nFromContext","defaultNSFromContext","defaultNS","bind","k","reactI18nextOptions","defaultValue","hashTransKey","interpolationOverride","interpolation","prefix","suffix","combinedTOpts","targetString","emptyChildrenButNeedsHandling","getData","childs","assign","ast","opts","renderInner","rootReactNode","mappedChildren","mapAST","toString","every","hasValidReactChildren","pushTranslatedJSX","inner","mem","isVoid","dummy","cloneElement","reactNode","astNode","reactNodes","newTarget","translationContent","services","interpolator","interpolate","tmp","parseInt","isElement","isValidTranslationWithChildren","isEmptyTransWithHTML","isKnownComponent","hasOwnProperty","_inner","Number","isNaN","parseFloat","createElement","_inner3","_inner4","wrapTextNodes","_content","renderNodes","useAsParent","defaultTransParent","_slicedToArray","arr","arrayWithHoles","Symbol","iterator","next","done","unsupportedIterableToArray","nonIterableRest","usePrevious","ignore","ref","useRef","useEffect","current","useTranslation","notReadyT","retNotReady","ready","wait","keyPrefix","addUsedNamespaces","initializedStoreOnce","ignoreJSONStructure","hasLoadedNamespace","precheck","loadNotPending","backendConnector","backend","isLanguageChangingTo","lng","fallbackLng","lastLng","toLowerCase","loadState","state","hasResourceBundle","resources","partialBundledLanguages","oldI18nextHasLoadedNamespace","getT","getFixedT","nsMode","_useState2","useState","setT","joinedNS","previousJoinedNS","isMounted","boundReset","store","isInitial","withTranslation","WrappedComponent","I18nextWithTranslation","forwardedRef","rest","_useTranslation2","passDownProps","tReady","withRef","forwardRef","Translation","I18nextProvider","useMemo","Provider","useSSR","isClone","resourceStore","lngResources","initializedLanguageOnce","changeLanguage","withSSR","I18nextWithSSR","date","time","number","plural","selectOrdinal","module","exports","_arrayWithHoles","_classCallCheck","Constructor","TypeError","_defineProperty","obj","configurable","writable","_nonIterableRest","_arrayLikeToArray","len","arr2","_unsupportedIterableToArray","minLen","constructor","from"],"sourceRoot":""}
|
package/dist/2.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 2.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[2,372],{8642:(e,t,n)=>{var r=n(268),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,s=r.useEffect,u=r.useLayoutEffect,d=r.useDebugValue;function o(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return u((function(){i.value=n,i.getSnapshot=t,o(i)&&c({inst:i})}),[e,n,t]),s((function(){return o(i)&&c({inst:i}),e((function(){o(i)&&c({inst:i})}))}),[e]),d(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},5649:(e,t,n)=>{e.exports=n(8642)},3372:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c,immutable:()=>o});var r=n(268),i=n(5649),a=n(3629);const s=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)}),u={dedupe:!0};a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig});const d=(0,a.withArgs)(((e,t,n)=>{const{cache:d,compare:o,suspense:c,fallbackData:l,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:g,refreshWhenHidden:v,refreshWhenOffline:h,keepPreviousData:p}=n,[R,S,U,_]=a.SWRGlobalState.get(d),[m,b]=(0,a.serialize)(e),T=(0,r.useRef)(!1),V=(0,r.useRef)(!1),w=(0,r.useRef)(m),y=(0,r.useRef)(t),C=(0,r.useRef)(n),O=()=>C.current,L=()=>O().isVisible()&&O().isOnline(),[k,I,D,A]=(0,a.createCacheHelper)(d,m),N=(0,r.useRef)({}).current,F=(0,a.isUndefined)(l)?n.fallback[m]:l,P=(e,t)=>{for(const n in N){const r=n;if("data"===r){if(!o(e[r],t[r])){if(!(0,a.isUndefined)(e[r]))return!1;if(!o(z,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},j=(0,r.useMemo)((()=>{const e=!!m&&!!t&&((0,a.isUndefined)(f)?!O().isPaused()&&!c&&(!!(0,a.isUndefined)(E)||E):f),n=t=>{const n=(0,a.mergeObjects)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=k(),i=A(),s=n(r),u=r===i?s:n(i);let d=s;return[()=>{const e=n(k());return P(e,d)?(d.data=e.data,d.isLoading=e.isLoading,d.isValidating=e.isValidating,d.error=e.error,d):(d=e,e)},()=>u]}),[d,m]),x=(0,i.useSyncExternalStore)((0,r.useCallback)((e=>D(m,((t,n)=>{P(n,t)||e()}))),[d,m]),j[0],j[1]),M=!T.current,W=R[m]&&R[m].length>0,G=x.data,H=(0,a.isUndefined)(G)?F:G,Y=x.error,q=(0,r.useRef)(H),z=p?(0,a.isUndefined)(G)?q.current:G:H,B=!(W&&!(0,a.isUndefined)(Y))&&(M&&!(0,a.isUndefined)(f)?f:!O().isPaused()&&(c?!(0,a.isUndefined)(H)&&E:(0,a.isUndefined)(H)||E)),J=!!(m&&t&&M&&B),K=(0,a.isUndefined)(x.isValidating)?J:x.isValidating,Q=(0,a.isUndefined)(x.isLoading)?J:x.isLoading,X=(0,r.useCallback)((async e=>{const t=y.current;if(!m||!t||V.current||O().isPaused())return!1;let r,i,s=!0;const u=e||{},d=!U[m]||!u.dedupe,c=()=>a.IS_REACT_LEGACY?!V.current&&m===w.current&&T.current:m===w.current,l={isValidating:!1,isLoading:!1},f=()=>{I(l)},E=()=>{const e=U[m];e&&e[1]===i&&delete U[m]},g={isValidating:!0};(0,a.isUndefined)(k().data)&&(g.isLoading=!0);try{if(d&&(I(g),n.loadingTimeout&&(0,a.isUndefined)(k().data)&&setTimeout((()=>{s&&c()&&O().onLoadingSlow(m,n)}),n.loadingTimeout),U[m]=[t(b),(0,a.getTimestamp)()]),[r,i]=U[m],r=await r,d&&setTimeout(E,n.dedupingInterval),!U[m]||U[m][1]!==i)return d&&c()&&O().onDiscarded(m),!1;l.error=a.UNDEFINED;const e=S[m];if(!(0,a.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),d&&c()&&O().onDiscarded(m),!1;const u=k().data;l.data=o(u,r)?u:r,d&&c()&&O().onSuccess(r,m,n)}catch(e){E();const t=O(),{shouldRetryOnError:n}=t;t.isPaused()||(l.error=e,d&&c()&&(t.onError(e,m,t),(!0===n||(0,a.isFunction)(n)&&n(e))&&(O().revalidateOnFocus&&O().revalidateOnReconnect&&!L()||t.onErrorRetry(e,m,t,(e=>{const t=R[m];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(u.retryCount||0)+1,dedupe:!0}))))}return s=!1,f(),!0}),[m,d]),Z=(0,r.useCallback)(((...e)=>(0,a.internalMutate)(d,w.current,...e)),[]);if((0,a.useIsomorphicLayoutEffect)((()=>{y.current=t,C.current=n,(0,a.isUndefined)(G)||(q.current=G)})),(0,a.useIsomorphicLayoutEffect)((()=>{if(!m)return;const e=X.bind(a.UNDEFINED,u);let t=0;const n=(0,a.subscribeCallback)(m,R,((n,r={})=>{if(n==a.revalidateEvents.FOCUS_EVENT){const n=Date.now();O().revalidateOnFocus&&n>t&&L()&&(t=n+O().focusThrottleInterval,e())}else if(n==a.revalidateEvents.RECONNECT_EVENT)O().revalidateOnReconnect&&L()&&e();else{if(n==a.revalidateEvents.MUTATE_EVENT)return X();if(n==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return X(r)}}));return V.current=!1,w.current=m,T.current=!0,I({_k:b}),B&&((0,a.isUndefined)(H)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{V.current=!0,n()}}),[m]),(0,a.useIsomorphicLayoutEffect)((()=>{let e;function t(){const t=(0,a.isFunction)(g)?g(k().data):g;t&&-1!==e&&(e=setTimeout(n,t))}function n(){k().error||!v&&!O().isVisible()||!h&&!O().isOnline()?t():X(u).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[g,v,h,m]),(0,r.useDebugValue)(z),c&&(0,a.isUndefined)(H)&&m){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");y.current=t,C.current=n,V.current=!1;const e=_[m];if(!(0,a.isUndefined)(e)){const t=Z(e);s(t)}if(!(0,a.isUndefined)(Y))throw Y;{const e=X(u);(0,a.isUndefined)(z)||(e.status="fulfilled",e.value=!0),s(e)}}return{mutate:Z,get data(){return N.data=!0,z},get error(){return N.error=!0,Y},get isValidating(){return N.isValidating=!0,K},get isLoading(){return N.isLoading=!0,Q}}})),o=e=>(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r)),c=(0,a.withMiddleware)(d,o)}}]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license React
|
|
3
|
-
* use-sync-external-store-shim.production.js
|
|
3
|
+
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
package/dist/2.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2.js","mappings":";6KASa,IAAIA,EAAE,EAAQ,KAA4EC,EAAE,mBAAoBC,OAAOC,GAAGD,OAAOC,GAA1G,SAAWC,EAAEC,GAAG,OAAOD,IAAIC,IAAI,IAAID,GAAG,EAAEA,GAAI,EAAEC,IAAID,GAAIA,GAAGC,GAAIA,CAAC,EAAiDC,EAAEN,EAAEO,SAASC,EAAER,EAAES,UAAUC,EAAEV,EAAEW,gBAAgBC,EAAEZ,EAAEa,cACtM,SAASC,EAAEV,GAAG,IAAIC,EAAED,EAAEW,YAAYX,EAAEA,EAAEY,MAAM,IAAI,IAAIC,EAAEZ,IAAI,OAAOJ,EAAEG,EAAEa,EAAE,CAAC,MAAMC,GAAG,OAAM,CAAE,CAAC,CAA4B,IAAIC,EAAE,oBAAqBC,aAAQ,IAAqBA,OAAOC,eAAU,IAAqBD,OAAOC,SAASC,cAAzI,SAAWlB,EAAEC,GAAG,OAAOA,GAAG,EAD+F,SAAWD,EAAEC,GAAG,IAAIY,EAAEZ,IAAIa,EAAEZ,EAAE,CAACiB,KAAK,CAACP,MAAMC,EAAEF,YAAYV,KAAKmB,EAAEN,EAAE,GAAGK,KAAKE,EAAEP,EAAE,GAAwJ,OAArJR,GAAE,WAAWc,EAAER,MAAMC,EAAEO,EAAET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oB,EAC3BtG,EAAOM,mBAAoB,EAC3BN,EAAOuG,uBAAwB,EACxBkC,EAAWxH,EAAKlB,EAASC,IAElC0I,GAAkB,IAAAC,gBAAe/I,EAAQ4I","sources":["webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/swr/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/swr/node_modules/use-sync-external-store/shim/index.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/swr/dist/immutable/index.mjs"],"names":["e","k","Object","is","a","b","l","useState","m","useEffect","n","useLayoutEffect","p","useDebugValue","r","getSnapshot","value","d","f","u","window","document","createElement","inst","c","g","exports","useSyncExternalStore","module","use","promise","status","reason","then","v","WITH_DEDUPE","dedupe","OBJECT","defineProperty","SWRConfig","defaultConfig","useSWR","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","key","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","t","returnedData","useMemo","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","data","error","cached","useCallback","callback","isInitialMount","hasRevalidator","length","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","err","currentConfig","shouldRetryOnError","onError","isFunction","revalidateOnFocus","revalidateOnReconnect","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","bind","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","type","FOCUS_EVENT","now","Date","focusThrottleInterval","RECONNECT_EVENT","MUTATE_EVENT","IS_SERVER","rAF","timer","next","interval","execute","clearTimeout","Error","req","mutate","immutable","useSWRNext","useSWRImmutable","withMiddleware"],"sourceRoot":""}
|
package/dist/{723.js → 236.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[236],{236:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|
package/dist/{241.js → 240.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[240],{5240:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|
package/dist/{146.js → 261.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[261],{9261:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|
package/dist/{661.js → 271.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[271],{8271:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"添加关系","addressHeader":"地址","allFieldsRequiredText":"所有字段都是必填的,除非标记为可选。","autoGeneratedPlaceholderText":"自动生成","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"生日是必填项","birthFieldLabelText":"出生","cancel":"取消","causeOfDeathInputLabel":"Cause of death","closeOverlay":"关闭叠加","codedPersonAttributeAnswerSetEmpty":"编码的人员属性字段\'{{codedPersonAttributeFieldId}}\'已使用没有任何概念答案的答案概念集UUID\'{{answerConceptSetUuid}}\'进行定义。","codedPersonAttributeAnswerSetInvalid":"编码的人员属性字段\'{{codedPersonAttributeFieldId}}\'已使用无效的答案概念集UUID\'{{answerConceptSetUuid}}\'进行定义。","codedPersonAttributeNoAnswerSet":"人员属性字段\'{{codedPersonAttributeFieldId}}\'的类型为\'coded\',但未定义答案概念集UUID。\'answerConceptSetUuid\'键是必需的。","configure":"配置","configureIdentifiers":"配置ID标识","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"联系方式","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"死亡信息","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"删除","deleteRelationshipTooltipText":"删除","demographicsSection":"基本信息","discard":"放弃","dobToggleLabelText":"出生日期已知?","editIdentifierTooltip":"编辑","editPatientDetails":"编辑患者详情","editPatientDetailsBreadcrumb":"编辑患者详情","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"错误","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"获取地址层次结构的排序字段时发生错误","estimatedAgeInMonthsLabelText":"月龄估算","estimatedAgeInYearsLabelText":"年龄估算","familyNameLabelText":"姓氏","familyNameRequired":"姓氏是必填项","female":"女性","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"全名","genderLabelText":"性别","genderRequired":"性别是必填项","genderUnspecified":"Gender unspecified","givenNameLabelText":"名字","givenNameRequired":"名字是必填项","identifierValueRequired":"ID标识是必填项","idFieldLabelText":"Identifiers","IDInstructions":"选择您想为该患者添加的ID标识:","invalidEmail":"Invalid email","invalidInput":"输入无效","isDeadInputLabel":"Is dead","jumpTo":"跳转至","male":"男性","middleNameLabelText":"中间名","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"否","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"姓名中含有数字","obsFieldUnknownDatatype":"obs字段\'{{fieldDefinitionId}}\'的概念具有未知数据类型\'{{datatypeName}}\'","optional":"可选的","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"其他","patientNameKnown":"患者的姓名已知?","patientRegistrationBreadcrumb":"患者注册","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"现在可以通过姓名或ID号搜索到该患者","registerPatientSuccessSnackbarTitle":"新患者已创建","registrationErrorSnackbarTitle":"患者注册失败","relationship":"关系","relationshipPersonMustExist":"关系人必须是现有的人员","relationshipPlaceholder":"关系","relationshipRemovedText":"关系已移除","relationshipsSection":"关系人信息","relationshipToPatient":"与患者的关系","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"名字 姓氏","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"重置","restoreRelationshipActionButton":"撤销","searchAddress":"搜索地址","searchIdentifierPlaceholder":"搜索ID标识","searchLocationPersonAttribute":"Search location","selectAnOption":"选择一个选项","sexFieldLabelText":"性别","source":"来源","submitting":"提交中","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"未知","unknownPatientAttributeType":"患者属性类型具有未知格式{{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"患者详情更新失败","updatePatientSuccessSnackbarSubtitle":"患者的信息已成功更新","updatePatientSuccessSnackbarTitle":"患者详情已更新","yearsEstimateRequired":"Estimated years required","yes":"是"}')}}]);
|
package/dist/{173.js → 272.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[272],{4272:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|
package/dist/319.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[319],{8319:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Agregar relación","addressHeader":"Dirección","age":"Age","allFieldsRequiredText":"Todos los campos son obligatorios a menos que se indique como opcionales","autoGeneratedPlaceholderText":"Autogenerado","birthdayNotInTheFuture":"La fecha de nacimiento no puede ser en el futuro","birthdayNotOver140YearsAgo":"La fecha de nacimiento no puede ser de hace más de 140 años","birthdayRequired":"Cumpleaños es obligatorio","birthFieldLabelText":"Nacimiento","cancel":"Cancelar","causeOfDeathInputLabel":"Causa de muerte","closeOverlay":"Cerrar superposición","codedPersonAttributeAnswerSetEmpty":"El campo de atributo de persona codificado \'{{codedPersonAttributeFieldId}}\' se ha definido con un conjunto de conceptos de respuesta UUID \'{{answerConceptSetUuid}}\' que no tiene respuestas de concepto.","codedPersonAttributeAnswerSetInvalid":"El campo de atributo de persona codificado \'{{codedPersonAttributeFieldId}}\' se ha definido con un UUID de conjunto de conceptos de respuesta no válido \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"El campo de atributo de persona \'{{codedPersonAttributeFieldId}}\' es de tipo \'codificado\' pero se ha definido sin UUID de conjunto de conceptos de respuesta. La clave \'answerConceptSetUuid\' es requerida.","configure":"Configurar","configureIdentifiers":"Configurar identificadores","confirmDiscardChangesBody":"Tus cambios sin guardar serán perdidos si procedes a descartar el formulario","confirmDiscardChangesTitle":"¿Estás seguro de que deseas descartar estos cambios?","confirmIdentifierDeletionText":"¿Estás seguro de que deseas eliminar este identificador?","contactSection":"Detalles de Contacto","createNewPatient":"Crear nuevo paciente","dateOfBirthLabelText":"Fecha de nacimiento","deathCauseRequired":"La causa de muerte es obligatoria","deathDateInFuture":"La fecha de fallecimiento no puede ser en el futuro","deathDateInputLabel":"Fecha de fallecimiento","deathDateRequired":"La fecha de nacimiento es obligatoria","deathdayInvalidDate":"La fecha y hora del fallecimiento no pueden ser anteriores a la fecha de nacimiento","deathdayIsRequired":"La fecha de fallecimiento es obligatoria cuando el paciente se marca como fallecido","deathdayNotInTheFuture":"","deathSection":"Información de Fallecimiento","deathTimeFormatInvalid":"El formato de hora es inválido","deathTimeFormatRequired":"El formato de hora es obligatorio","deathTimeInvalid":"La hora no coincide con el formato \'hh:mm\'","deathTimeRequired":"La hora de fallecimiento es requerida","deleteIdentifierModalHeading":"¿Eliminar identificador?","deleteIdentifierModalText":"tiene un valor de","deleteIdentifierTooltip":"Eliminar","deleteRelationshipTooltipText":"Eliminar","demographicsSection":"Información Básica","discard":"Descartar","dobToggleLabelText":"¿Se conoce la fecha de nacimiento?","editIdentifierTooltip":"Editar","editPatientDetails":"Modificar los datos del paciente","editPatientDetailsBreadcrumb":"Editar detalles del paciente","enterNonCodedCauseOfDeath":"Ingresar causa del fallecimiento no-codificada","error":"Error","errorFetchingCodedCausesOfDeath":"Error al obtener causas del fallecimiento codificadas","errorFetchingOrderedFields":"Ocurrió un error al obtener campos ordenados para la jerarquía de direcciones","estimatedAgeInMonthsLabelText":"Edad estimada en meses","estimatedAgeInYearsLabelText":"Edad estimada en años","familyNameLabelText":"Apellidos","familyNameRequired":"Apellidos es obligatorio","female":"Femenino","fieldsWithErrors":"Los siguientes campos tienen errores:","fullNameLabelText":"Nombre y Apellidos","gender":"Gender","genderLabelText":"Sexo","genderRequired":"El sexo es obligatorio","genderUnspecified":"Género no especificado","givenNameLabelText":"Nombre","givenNameRequired":"El nombre es obligatorio","identifierValueRequired":"El valor del identificador es obligatorio","idFieldLabelText":"Identificadores","IDInstructions":"Selecciona los identificadores que te gustaría agregar para este paciente:","invalidEmail":"Email inválido","invalidInput":"Entrada no válida","isDeadInputLabel":"Está fallecido","jumpTo":"Ir a","male":"Masculino","middleNameLabelText":"Segundo Nombre","negativeMonths":"Los meses estimados no pueden ser negativos","negativeYears":"Los años estimados no pueden ser negativos","no":"No","nonCodedCauseOfDeath":"Causa del fallecimiento no-codificada","nonCodedCauseOfDeathRequired":"La causa del fallecimiento es obligatoria","nonsensicalYears":"Los años estimados no pueden ser mayores a 140","numberInNameDubious":"Número en nombre es dudoso","obsFieldUnknownDatatype":"El concepto para el campo de observación \'{{fieldDefinitionId}}\' tiene un tipo de datos desconocido \'{{datatypeName}}\'","optional":"Opcional","optionalIdentifierLabel":"{{identifierName}} (opcional)","other":"Otro","patient":"Paciente","patientDetailsFound":"Patient information found in the registry, do you want to use the information to continue with registration?","patientName":"Patient name","patientNameKnown":"¿Se sabe el nombre del paciente?","patientRegistrationBreadcrumb":"Registro de Pacientes","refreshOrContactAdmin":"Intente refrescar la página o contactar al administrador de tu sistema","registerPatient":"Registrar paciente","registerPatientSuccessSnackbarSubtitle":"El paciente ahora se puede encontrar buscándolo por su nombre o número de identificación","registerPatientSuccessSnackbarTitle":"Nuevo paciente creado","registrationErrorSnackbarTitle":"Error en el registro del paciente","relationship":"Relación","relationshipPersonMustExist":"La persona relacionada debe ser una persona existente","relationshipPlaceholder":"Relación","relationshipRemovedText":"Relación eliminada","relationshipsSection":"Relaciones","relationshipToPatient":"Relación con el paciente","relativeFullNameLabelText":"Nombre completo","relativeNamePlaceholder":"Nombre Apellido","removeIdentifierButton":"Eliminar identificador","resetIdentifierTooltip":"Resetear","restoreRelationshipActionButton":"Deshacer","searchAddress":"Buscar dirección","searchIdentifierPlaceholder":"Buscar identificador","searchLocationPersonAttribute":"Ubicación de búsqueda","selectAnOption":"Seleccionar una opción","selectCountry":"Select country","selectIdentifierType":"Select identifier type","sexFieldLabelText":"Sexo","source":"Fuente","submitting":"Enviando","timeFormat":"Formato de hora","timeOfDeathInputLabel":"Hora del fallecimiento (hh:mm)","unableToFetch":"No se puede obtener el tipo de atributo de persona - {{personattributetype}}","unknown":"Desconocido","unknownPatientAttributeType":"El tipo de atributo del paciente tiene un formato desconocido {{personAttributeTypeFormat}}","updatePatient":"Actualizar paciente","updatePatientErrorSnackbarTitle":"Error al actualizar los detalles del paciente","updatePatientSuccessSnackbarSubtitle":"La información del paciente se ha actualizado correctamente","updatePatientSuccessSnackbarTitle":"Detalles del paciente actualizados","yearsEstimateRequired":"Los años estimados son obligatorios","yes":"Sí"}')}}]);
|
package/dist/325.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[325],{1325:(e,t,n)=>{n.r(t),n.d(t,{INFINITE_PREFIX:()=>B,IS_REACT_LEGACY:()=>S,IS_SERVER:()=>k,OBJECT:()=>s,SWRConfig:()=>H,SWRGlobalState:()=>_,UNDEFINED:()=>i,cache:()=>q,compare:()=>$,createCacheHelper:()=>y,defaultConfig:()=>j,defaultConfigOptions:()=>O,getTimestamp:()=>V,hasRequestAnimationFrame:()=>v,initCache:()=>U,internalMutate:()=>x,isDocumentDefined:()=>w,isFunction:()=>c,isPromiseLike:()=>l,isUndefined:()=>a,isWindowDefined:()=>g,mergeConfigs:()=>z,mergeObjects:()=>u,mutate:()=>J,noop:()=>r,normalize:()=>K,preload:()=>Z,preset:()=>T,rAF:()=>I,revalidateEvents:()=>M,serialize:()=>F,slowConnection:()=>L,stableHash:()=>p,subscribeCallback:()=>ne,useIsomorphicLayoutEffect:()=>A,useSWRConfig:()=>Q,withArgs:()=>te,withMiddleware:()=>oe});var o=n(268);const r=()=>{},i=r(),s=Object,a=e=>e===i,c=e=>"function"==typeof e,u=(e,t)=>({...e,...t}),l=e=>c(e.then),f=new WeakMap;let d=0;const p=e=>{const t=typeof e,n=e&&e.constructor,o=n==Date;let r,i;if(s(e)!==e||o||n==RegExp)r=o?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(r=f.get(e),r)return r;if(r=++d+"~",f.set(e,r),n==Array){for(r="@",i=0;i<e.length;i++)r+=p(e[i])+",";f.set(e,r)}if(n==s){r="#";const t=s.keys(e).sort();for(;!a(i=t.pop());)a(e[i])||(r+=i+":"+p(e[i])+",");f.set(e,r)}}return r},_=new WeakMap,h={},E={},m="undefined",g=typeof window!=m,w=typeof document!=m,v=()=>g&&typeof window.requestAnimationFrame!=m,y=(e,t)=>{const n=_.get(e);return[()=>!a(t)&&e.get(t)||h,o=>{if(!a(t)){const r=e.get(t);t in E||(E[t]=r),n[5](t,u(r,o),r||h)}},n[6],()=>!a(t)&&t in E?E[t]:!a(t)&&e.get(t)||h]};let b=!0;const[R,C]=g&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[r,r],T={isOnline:()=>b,isVisible:()=>{const e=w&&document.visibilityState;return a(e)||"hidden"!==e}},O={initFocus:e=>(w&&document.addEventListener("visibilitychange",e),R("focus",e),()=>{w&&document.removeEventListener("visibilitychange",e),C("focus",e)}),initReconnect:e=>{const t=()=>{b=!0,e()},n=()=>{b=!1};return R("online",t),R("offline",n),()=>{C("online",t),C("offline",n)}}},S=!o.useId,k=!g||"Deno"in window,I=e=>v()?window.requestAnimationFrame(e):setTimeout(e,1),A=k?o.useEffect:o.useLayoutEffect,D="undefined"!=typeof navigator&&navigator.connection,L=!k&&D&&(["slow-2g","2g"].includes(D.effectiveType)||D.saveData),F=e=>{if(c(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?p(e):"",t]};let N=0;const V=()=>++N,W=2;var M={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:W,RECONNECT_EVENT:1};async function x(...e){const[t,n,o,r]=e,s=u({populateCache:!0,throwOnError:!0},"boolean"==typeof r?{revalidate:r}:r||{});let f=s.populateCache;const d=s.rollbackOnError;let p=s.optimisticData;const h=s.throwOnError;if(c(n)){const e=n,o=[],r=t.keys();for(const n of r)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&o.push(n);return Promise.all(o.map(E))}return E(n);async function E(n){const[r]=F(n);if(!r)return;const[u,E]=y(t,r),[m,g,w,v]=_.get(t),b=()=>{const e=m[r];return(c(s.revalidate)?s.revalidate(u().data,n):!1!==s.revalidate)&&(delete w[r],delete v[r],e&&e[0])?e[0](W).then((()=>u().data)):u().data};if(e.length<3)return b();let R,C=o;const T=V();g[r]=[T,0];const O=!a(p),S=u(),k=S.data,I=S._c,A=a(I)?k:I;if(O&&(p=c(p)?p(A,k):p,E({data:p,_c:A})),c(C))try{C=C(A)}catch(e){R=e}if(C&&l(C)){if(C=await C.catch((e=>{R=e})),T!==g[r][0]){if(R)throw R;return C}R&&O&&(e=>"function"==typeof d?d(e):!1!==d)(R)&&(f=!0,E({data:A,_c:i}))}if(f&&!R)if(c(f)){const e=f(C,A);E({data:e,error:i,_c:i})}else E({data:C,error:i,_c:i});if(g[r][1]=V(),Promise.resolve(b()).then((()=>{E({_c:i})})),!R)return C;if(h)throw R}}const P=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},U=(e,t)=>{if(!_.has(e)){const n=u(O,t),o={},s=x.bind(i,e);let a=r;const c={},l=(e,t)=>{const n=c[e]||[];return c[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,o)=>{e.set(t,n);const r=c[t];if(r)for(const e of r)e(n,o)},d=()=>{if(!_.has(e)&&(_.set(e,[o,{},{},{},s,f,l]),!k)){const t=n.initFocus(setTimeout.bind(i,P.bind(i,o,0))),r=n.initReconnect(setTimeout.bind(i,P.bind(i,o,1)));a=()=>{t&&t(),r&&r(),_.delete(e)}}};return d(),[e,s,d,a]}return[e,_.get(e)[4]]},$=(e,t)=>p(e)==p(t),[q,J]=U(new Map),j=u({onLoadingSlow:r,onSuccess:r,onError:r,onErrorRetry:(e,t,n,o,r)=>{const i=n.errorRetryCount,s=r.retryCount,c=~~((Math.random()+.5)*(1<<(s<8?s:8)))*n.errorRetryInterval;!a(i)&&s>i||setTimeout(o,c,r)},onDiscarded:r,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:L?5e3:3e3,compare:$,isPaused:()=>!1,cache:q,mutate:J,fallback:{}},T),z=(e,t)=>{const n=u(e,t);if(t){const{use:o,fallback:r}=e,{use:i,fallback:s}=t;o&&i&&(n.use=o.concat(i)),r&&s&&(n.fallback=u(r,s))}return n},G=(0,o.createContext)({}),H=e=>{const{value:t}=e,n=(0,o.useContext)(G),r=c(t),s=(0,o.useMemo)((()=>r?t(n):t),[r,n,t]),a=(0,o.useMemo)((()=>r?s:z(n,s)),[r,n,s]),l=s&&s.provider,f=(0,o.useRef)(i);l&&!f.current&&(f.current=U(l(a.cache||q),s));const d=f.current;return d&&(a.cache=d[0],a.mutate=d[1]),A((()=>{if(d)return d[2]&&d[2](),d[3]}),[]),(0,o.createElement)(G.Provider,u(e,{value:a}))},B="$inf$",X=g&&window.__SWR_DEVTOOLS_USE__,Y=X?window.__SWR_DEVTOOLS_USE__:[],K=e=>c(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],Q=()=>u(j,(0,o.useContext)(G)),Z=(e,t)=>{const[n,o]=F(e),[,,,r]=_.get(q);if(r[n])return r[n];const i=t(o);return r[n]=i,i},ee=Y.concat((e=>(t,n,o)=>e(t,n&&((...e)=>{const[o]=F(t),[,,,r]=_.get(q);if(o.startsWith(B))return n(...e);const i=r[o];return a(i)?n(...e):(delete r[o],i)}),o))),te=e=>function(...t){const n=Q(),[o,r,i]=K(t),s=z(n,i);let a=e;const{use:c}=s,u=(c||[]).concat(ee);for(let e=u.length;e--;)a=u[e](a);return a(o,r||s.fetcher||null,s)},ne=(e,t,n)=>{const o=t[e]||(t[e]=[]);return o.push(n),()=>{const e=o.indexOf(n);e>=0&&(o[e]=o[o.length-1],o.pop())}},oe=(e,t)=>(...n)=>{const[o,r,i]=K(n),s=(i.use||[]).concat(t);return e(o,r,{...i,use:s})};X&&(window.__SWR_DEVTOOLS_REACT__=o)}}]);
|
package/dist/325.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"325.js","mappings":"q5BAGA,MAAMA,EAAO,OAKPC,EAA8BD,IAC9BE,EAASC,OACTC,EAAeC,GAAIA,IAAMJ,EACzBK,EAAcD,GAAgB,mBAALA,EACzBE,EAAe,CAACC,EAAGC,KAAI,IAClBD,KACAC,IAELC,EAAiBC,GAAIL,EAAWK,EAAEC,MAMlCC,EAAQ,IAAIC,QAElB,IAAIC,EAAU,EASd,MAAMC,EAAcC,IAChB,MAAMC,SAAcD,EACdE,EAAcF,GAAOA,EAAIE,YACzBC,EAASD,GAAeE,KAC9B,IAAIC,EACAC,EACJ,GAAIrB,EAAOe,KAASA,GAAQG,GAAUD,GAAeK,OA8BjDF,EAASF,EAASH,EAAIQ,SAAmB,UAARP,EAAmBD,EAAIS,WAAqB,UAARR,EAAmBS,KAAKC,UAAUX,GAAO,GAAKA,MA9B1D,CAIzD,GADAK,EAAST,EAAMgB,IAAIZ,GACfK,EAAQ,OAAOA,EAMnB,GAFAA,IAAWP,EAAU,IACrBF,EA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,EACV4D,GAAcxC,GAAO,IAAIK,OAAO0B,IACtC,IAAI,IAAIU,EAAID,EAAW9L,OAAQ+L,KAC3BF,EAAOC,EAAWC,GAAGF,GAEzB,OAAOA,EAAK9K,EAAKoG,GAAMe,EAAOgD,SAAW,KAAMhD,EACnD,EAKE8D,GAAoB,CAACjL,EAAKkL,EAAWlK,KACvC,MAAMmK,EAAoBD,EAAUlL,KAASkL,EAAUlL,GAAO,IAE9D,OADAmL,EAAkBnH,KAAKhD,GAChB,KACH,MAAMxC,EAAQ2M,EAAkBlF,QAAQjF,GACpCxC,GAAS,IAET2M,EAAkB3M,GAAS2M,EAAkBA,EAAkBlM,OAAS,GACxEkM,EAAkB/L,MACtB,CACH,EAICgM,GAAiB,CAACC,EAAQN,IACrB,IAAI1I,KACP,MAAOrC,EAAKoG,EAAIe,GAAU4C,EAAU1H,GAC9BiJ,GAAQnE,EAAOoB,KAAO,IAAIK,OAAOmC,GACvC,OAAOM,EAAOrL,EAAKoG,EAAI,IAChBe,EACHoB,IAAK+C,GACP,EA/FFzB,IAEAnK,OAAO6L,uBAAyB,E","sources":["webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/swr/dist/_internal/index.mjs"],"names":["noop","UNDEFINED","OBJECT","Object","isUndefined","v","isFunction","mergeObjects","a","b","isPromiseLike","x","then","table","WeakMap","counter","stableHash","arg","type","constructor","isDate","Date","result","index","RegExp","toJSON","toString","JSON","stringify","get","set","Array","length","keys","sort","pop","SWRGlobalState","EMPTY_CACHE","INITIAL_CACHE","STR_UNDEFINED","isWindowDefined","window","isDocumentDefined","document","hasRequestAnimationFrame","createCacheHelper","cache","key","state","info","prev","online","onWindowEvent","offWindowEvent","addEventListener","bind","removeEventListener","preset","isOnline","isVisible","visibilityState","defaultConfigOptions","initFocus","callback","initReconnect","onOnline","onOffline","IS_REACT_LEGACY","IS_SERVER","rAF","f","setTimeout","useIsomorphicLayoutEffect","useEffect","useLayoutEffect","navigatorConnection","navigator","connection","slowConnection","includes","effectiveType","saveData","serialize","err","args","isArray","__timestamp","getTimestamp","MUTATE_EVENT","events","__proto__","ERROR_REVALIDATE_EVENT","FOCUS_EVENT","RECONNECT_EVENT","async","internalMutate","_key","_data","_opts","options","populateCache","throwOnError","revalidate","rollbackOnErrorOption","rollbackOnError","optimisticData","keyFilter","matchedKeys","it","test","_k","push","Promise","all","map","mutateByKey","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","startRevalidate","revalidators","data","error","beforeMutationTs","hasOptimisticData","displayedData","currentData","_c","committedData","catch","populateCachedData","resolve","revalidateAllKeys","initCache","provider","has","opts","mutate","unmount","subscriptions","subscribe","subs","splice","indexOf","setter","value","fn","initProvider","releaseFocus","releaseReconnect","delete","compare","newData","Map","defaultConfig","onLoadingSlow","onSuccess","onError","onErrorRetry","_","__","config","maxRetryCount","errorRetryCount","currentRetryCount","retryCount","timeout","Math","random","errorRetryInterval","onDiscarded","revalidateOnFocus","revalidateOnReconnect","revalidateIfStale","shouldRetryOnError","focusThrottleInterval","dedupingInterval","loadingTimeout","isPaused","fallback","mergeConfigs","use","u1","f1","u2","f2","concat","SWRConfigContext","createContext","SWRConfig","props","parentConfig","useContext","isFunctionalConfig","useMemo","extendedConfig","cacheContextRef","useRef","current","cacheContext","createElement","Provider","INFINITE_PREFIX","enableDevtools","__SWR_DEVTOOLS_USE__","normalize","useSWRConfig","preload","key_","fetcher","fnArg","req","BUILT_IN_MIDDLEWARE","useSWRNext","fetcher_","startsWith","withArgs","hook","fallbackConfig","_config","next","middleware","i","subscribeCallback","callbacks","keyedRevalidators","withMiddleware","useSWR","uses","__SWR_DEVTOOLS_REACT__"],"sourceRoot":""}
|
package/dist/{294.js → 336.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[336],{5336:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|
package/dist/371.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[371],{7371:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r(2802);function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(0,n.Z)(o.key),o)}}function i(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}},2802:(t,e,r)=>{r.d(e,{Z:()=>o});var n=r(6522);function o(t){var e=function(t,e){if("object"!=(0,n.Z)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,"string");if("object"!=(0,n.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,n.Z)(e)?e:String(e)}},6522:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{Z:()=>n})}}]);
|
package/dist/371.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"371.js","mappings":"0MACA,SAASA,EAAkBC,EAAQC,GACjC,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAME,OAAQD,IAAK,CACrC,IAAIE,EAAaH,EAAMC,GACvBE,EAAWC,WAAaD,EAAWC,aAAc,EACjDD,EAAWE,cAAe,EACtB,UAAWF,IAAYA,EAAWG,UAAW,GACjDC,OAAOC,eAAeT,GAAQ,OAAcI,EAAWM,KAAMN,EAC/D,CACF,CACe,SAASO,EAAaC,EAAaC,EAAYC,GAM5D,OALID,GAAYd,EAAkBa,EAAYG,UAAWF,GACrDC,GAAaf,EAAkBa,EAAaE,GAChDN,OAAOC,eAAeG,EAAa,YAAa,CAC9CL,UAAU,IAELK,CACT,C,gDCfe,SAASI,EAAcC,GACpC,IAAIf,ECFS,SAAqBe,EAAGC,GACrC,GAAI,WAAY,OAAQD,KAAOA,EAAG,OAAOA,EACzC,IAAIE,EAAIF,EAAEG,OAAOC,aACjB,QAAI,IAAWF,EAAG,CAChB,IAAIjB,EAAIiB,EAAEG,KAAKL,EAAGC,UAClB,GAAI,WAAY,OAAQhB,GAAI,OAAOA,EACnC,MAAM,IAAIqB,UAAU,+CACtB,CACA,OAAyBC,OAAiBP,EAC5C,CDPUI,CAAYJ,GACpB,MAAO,WAAY,OAAQf,GAAKA,EAAIsB,OAAOtB,EAC7C,C,iBELe,SAASuB,EAAQC,GAG9B,OAAOD,EAAU,mBAAqBL,QAAU,iBAAmBA,OAAOO,SAAW,SAAUD,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAK,mBAAqBN,QAAUM,EAAEE,cAAgBR,QAAUM,IAAMN,OAAOL,UAAY,gBAAkBW,CACpH,EAAGD,EAAQC,EACb,C","sources":["webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://@kenyaemr/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"names":["_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","Constructor","protoProps","staticProps","prototype","toPropertyKey","t","r","e","Symbol","toPrimitive","call","TypeError","String","_typeof","o","iterator","constructor"],"sourceRoot":""}
|
package/dist/372.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[372],{3372:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l,immutable:()=>o});var r=n(268),i=n(5649),a=n(3629);const s=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)}),d={dedupe:!0};a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig});const u=(0,a.withArgs)(((e,t,n)=>{const{cache:u,compare:o,suspense:l,fallbackData:c,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:g,refreshWhenHidden:R,refreshWhenOffline:h,keepPreviousData:v}=n,[p,U,_,T]=a.SWRGlobalState.get(u),[V,m]=(0,a.serialize)(e),b=(0,r.useRef)(!1),C=(0,r.useRef)(!1),S=(0,r.useRef)(V),L=(0,r.useRef)(t),O=(0,r.useRef)(n),k=()=>O.current,I=()=>k().isVisible()&&k().isOnline(),[w,y,D,A]=(0,a.createCacheHelper)(u,V),N=(0,r.useRef)({}).current,F=(0,a.isUndefined)(c)?n.fallback[V]:c,P=(e,t)=>{for(const n in N){const r=n;if("data"===r){if(!o(e[r],t[r])){if(!(0,a.isUndefined)(e[r]))return!1;if(!o(z,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},M=(0,r.useMemo)((()=>{const e=!!V&&!!t&&((0,a.isUndefined)(f)?!k().isPaused()&&!l&&(!!(0,a.isUndefined)(E)||E):f),n=t=>{const n=(0,a.mergeObjects)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=w(),i=A(),s=n(r),d=r===i?s:n(i);let u=s;return[()=>{const e=n(w());return P(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>d]}),[u,V]),W=(0,i.useSyncExternalStore)((0,r.useCallback)((e=>D(V,((t,n)=>{P(n,t)||e()}))),[u,V]),M[0],M[1]),j=!b.current,G=p[V]&&p[V].length>0,H=W.data,Y=(0,a.isUndefined)(H)?F:H,q=W.error,x=(0,r.useRef)(Y),z=v?(0,a.isUndefined)(H)?x.current:H:Y,B=!(G&&!(0,a.isUndefined)(q))&&(j&&!(0,a.isUndefined)(f)?f:!k().isPaused()&&(l?!(0,a.isUndefined)(Y)&&E:(0,a.isUndefined)(Y)||E)),J=!!(V&&t&&j&&B),K=(0,a.isUndefined)(W.isValidating)?J:W.isValidating,Q=(0,a.isUndefined)(W.isLoading)?J:W.isLoading,X=(0,r.useCallback)((async e=>{const t=L.current;if(!V||!t||C.current||k().isPaused())return!1;let r,i,s=!0;const d=e||{},u=!_[V]||!d.dedupe,l=()=>a.IS_REACT_LEGACY?!C.current&&V===S.current&&b.current:V===S.current,c={isValidating:!1,isLoading:!1},f=()=>{y(c)},E=()=>{const e=_[V];e&&e[1]===i&&delete _[V]},g={isValidating:!0};(0,a.isUndefined)(w().data)&&(g.isLoading=!0);try{if(u&&(y(g),n.loadingTimeout&&(0,a.isUndefined)(w().data)&&setTimeout((()=>{s&&l()&&k().onLoadingSlow(V,n)}),n.loadingTimeout),_[V]=[t(m),(0,a.getTimestamp)()]),[r,i]=_[V],r=await r,u&&setTimeout(E,n.dedupingInterval),!_[V]||_[V][1]!==i)return u&&l()&&k().onDiscarded(V),!1;c.error=a.UNDEFINED;const e=U[V];if(!(0,a.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),u&&l()&&k().onDiscarded(V),!1;const d=w().data;c.data=o(d,r)?d:r,u&&l()&&k().onSuccess(r,V,n)}catch(e){E();const t=k(),{shouldRetryOnError:n}=t;t.isPaused()||(c.error=e,u&&l()&&(t.onError(e,V,t),(!0===n||(0,a.isFunction)(n)&&n(e))&&(k().revalidateOnFocus&&k().revalidateOnReconnect&&!I()||t.onErrorRetry(e,V,t,(e=>{const t=p[V];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(d.retryCount||0)+1,dedupe:!0}))))}return s=!1,f(),!0}),[V,u]),Z=(0,r.useCallback)(((...e)=>(0,a.internalMutate)(u,S.current,...e)),[]);if((0,a.useIsomorphicLayoutEffect)((()=>{L.current=t,O.current=n,(0,a.isUndefined)(H)||(x.current=H)})),(0,a.useIsomorphicLayoutEffect)((()=>{if(!V)return;const e=X.bind(a.UNDEFINED,d);let t=0;const n=(0,a.subscribeCallback)(V,p,((n,r={})=>{if(n==a.revalidateEvents.FOCUS_EVENT){const n=Date.now();k().revalidateOnFocus&&n>t&&I()&&(t=n+k().focusThrottleInterval,e())}else if(n==a.revalidateEvents.RECONNECT_EVENT)k().revalidateOnReconnect&&I()&&e();else{if(n==a.revalidateEvents.MUTATE_EVENT)return X();if(n==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return X(r)}}));return C.current=!1,S.current=V,b.current=!0,y({_k:m}),B&&((0,a.isUndefined)(Y)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{C.current=!0,n()}}),[V]),(0,a.useIsomorphicLayoutEffect)((()=>{let e;function t(){const t=(0,a.isFunction)(g)?g(w().data):g;t&&-1!==e&&(e=setTimeout(n,t))}function n(){w().error||!R&&!k().isVisible()||!h&&!k().isOnline()?t():X(d).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[g,R,h,V]),(0,r.useDebugValue)(z),l&&(0,a.isUndefined)(Y)&&V){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");L.current=t,O.current=n,C.current=!1;const e=T[V];if(!(0,a.isUndefined)(e)){const t=Z(e);s(t)}if(!(0,a.isUndefined)(q))throw q;{const e=X(d);(0,a.isUndefined)(z)||(e.status="fulfilled",e.value=!0),s(e)}}return{mutate:Z,get data(){return N.data=!0,z},get error(){return N.error=!0,q},get isValidating(){return N.isValidating=!0,K},get isLoading(){return N.isLoading=!0,Q}}})),o=e=>(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r)),l=(0,a.withMiddleware)(u,o)}}]);
|