@kenyaemr/esm-pharmacy-app 5.3.8-pre.1546 → 5.3.8-pre.1559

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var _kenyaemr_esm_pharmacy_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,u,s,f,p,c,d,h,m,v,g,y,b,w,_={5534:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(380),t.e(964)]).then((()=>()=>t(8964)))},a=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>a,init:()=>o})}},k={};function P(e){var r=k[e];if(void 0!==r)return r.exports;var t=k[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,P),t.loaded=!0,t.exports}P.m=_,P.c=k,P.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return P.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,P.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var a=Object.create(null);P.r(a);var o={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>o[e]=()=>t[e]));return o.default=()=>t,P.d(a,o),a},P.d=(e,r)=>{for(var t in r)P.o(r,t)&&!P.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},P.f={},P.e=e=>Promise.all(Object.keys(P.f).reduce(((r,t)=>(P.f[t](e,r),r)),[])),P.u=e=>e+".js",P.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),P.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@kenyaemr/esm-pharmacy-app:",P.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var f=u[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+a){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,P.nc&&i.setAttribute("nonce",P.nc),i.setAttribute("data-webpack",n+a),i.src=e),t[e]=[r];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(c);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((e=>e(n))),r)return r(n)},c=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},P.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},P.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{P.S={};var e={},r={};P.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];P.o(P.S,t)||(P.S[t]={});var o=P.S[t],i="@kenyaemr/esm-pharmacy-app",l=(e,r,t,n)=>{var a=o[e]=o[e]||{},l=a[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[r]={get:t,from:i,eager:!!n})},u=[];return"default"===t&&(l("@openmrs/esm-framework","5.8.2-pre.2394",(()=>Promise.all([P.e(831),P.e(380)]).then((()=>()=>P(831))))),l("react-i18next","11.18.6",(()=>Promise.all([P.e(126),P.e(380)]).then((()=>()=>P(1126))))),l("react-router-dom","6.26.2",(()=>Promise.all([P.e(144),P.e(913),P.e(380)]).then((()=>()=>P(2913))))),l("react","18.3.1",(()=>P.e(41).then((()=>()=>P(4041))))),l("swr/_internal","2.2.5",(()=>Promise.all([P.e(372),P.e(380)]).then((()=>()=>P(2372))))),l("swr/immutable","2.2.5",(()=>Promise.all([P.e(380),P.e(434),P.e(876)]).then((()=>()=>P(9876)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;P.g.importScripts&&(e=P.g.location+"");var r=P.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),P.p=e})(),a=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},o=(e,r)=>{e=a(e),r=a(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],o=(typeof n)[0];if(t>=r.length)return"u"==o;var i=r[t],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&n!=i)return n<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var o=[];for(a=1;a<e.length;a++){var l=e[a];o.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?o.pop()+" "+o.pop():i(l))}return u();function u(){return o.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,r)=>{if(0 in e){r=a(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var o=0,i=1,u=!0;;i++,o++){var s,f,p=i<e.length?(typeof e[i])[0]:"";if(o>=r.length||"o"==(f=(typeof(s=r[o]))[0]))return!u||("u"==p?i>t&&!n:""==p!=n);if("u"==f){if(!u||"u"!=p)return!1}else if(u)if(p==f)if(i<=t){if(s!=e[i])return!1}else{if(n?s>e[i]:s<e[i])return!1;s!=e[i]&&(u=!1)}else if("s"!=p&&"n"!=p){if(n||i<=t)return!1;u=!1,i--}else{if(i<=t||f<p!=n)return!1;u=!1}else"s"!=p&&"n"!=p&&(u=!1,i--)}}var c=[],d=c.pop.bind(c);for(o=1;o<e.length;o++){var h=e[o];c.push(1==h?d()|d():2==h?d()&d():h?l(h,r):!d())}return!!d()},u=(e,r)=>e&&P.o(e,r),s=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),p=(e,r,t)=>{var n=t?f(e[r]):e[r];return Object.keys(n).reduce(((e,r)=>!e||!n[e].loaded&&o(e,r)?r:e),0)},c=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",d=e=>{throw new Error(e)},h=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},m=(e,r,t)=>t?t():((e,r)=>d("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,a,o){var i=P.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,P.S[r],t,!1,a,o)):e(r,P.S[r],t,n,a,o)})(((e,r,t,n,a,o)=>{if(!u(r,t))return m(e,t,o);var i=p(r,t,n);return l(a,i)||h(c(r,t,i,a)),s(r[t][i])})),g={},y={380:()=>v("default","react",!1,[1,18,1,0],(()=>P.e(41).then((()=>()=>P(4041))))),5434:()=>v("default","swr/_internal",!1,[1,2],(()=>P.e(372).then((()=>()=>P(2372))))),1083:()=>v("default","@openmrs/esm-framework",!1,[1,5],(()=>P.e(831).then((()=>()=>P(831))))),8877:()=>v("default","react-router-dom",!1,[1,6],(()=>Promise.all([P.e(144),P.e(913)]).then((()=>()=>P(2913))))),3150:()=>v("default","react-i18next",!1,[1,11],(()=>P.e(126).then((()=>()=>P(1126))))),8010:()=>v("default","swr/immutable",!1,[1,2],(()=>P.e(495).then((()=>()=>P(9876)))))},b={150:[3150],201:[8010],380:[380],434:[5434],964:[1083,8877]},w={},P.f.consumes=(e,r)=>{P.o(b,e)&&b[e].forEach((e=>{if(P.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,P.m[e]=t=>{delete P.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],P.m[e]=t=>{throw delete P.c[e],r}};try{var a=y[e]();a.then?r.push(g[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}}))},(()=>{var e={171:0};P.f.j=(r,t)=>{var n=P.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(150|380|434)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=P.p+P.u(r),i=new Error;P.l(o,(t=>{if(P.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,i,l]=t,u=0;if(o.some((r=>0!==e[r]))){for(n in i)P.o(i,n)&&(P.m[n]=i[n]);l&&l(P)}for(r&&r(t);u<o.length;u++)a=o[u],P.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),P.nc=void 0;var S=P(5534);_kenyaemr_esm_pharmacy_app=S})();
1
+ var _kenyaemr_esm_pharmacy_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,u,s,f,p,c,d,h,m,v,g,y,b,w,_={5534:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(380),t.e(964)]).then((()=>()=>t(8964)))},a=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>a,init:()=>o})}},k={};function P(e){var r=k[e];if(void 0!==r)return r.exports;var t=k[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,P),t.loaded=!0,t.exports}P.m=_,P.c=k,P.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return P.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,P.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var a=Object.create(null);P.r(a);var o={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>o[e]=()=>t[e]));return o.default=()=>t,P.d(a,o),a},P.d=(e,r)=>{for(var t in r)P.o(r,t)&&!P.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},P.f={},P.e=e=>Promise.all(Object.keys(P.f).reduce(((r,t)=>(P.f[t](e,r),r)),[])),P.u=e=>e+".js",P.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),P.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@kenyaemr/esm-pharmacy-app:",P.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var f=u[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+a){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,P.nc&&i.setAttribute("nonce",P.nc),i.setAttribute("data-webpack",n+a),i.src=e),t[e]=[r];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(c);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((e=>e(n))),r)return r(n)},c=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},P.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},P.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{P.S={};var e={},r={};P.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];P.o(P.S,t)||(P.S[t]={});var o=P.S[t],i="@kenyaemr/esm-pharmacy-app",l=(e,r,t,n)=>{var a=o[e]=o[e]||{},l=a[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[r]={get:t,from:i,eager:!!n})},u=[];return"default"===t&&(l("@openmrs/esm-framework","5.8.2-pre.2521",(()=>Promise.all([P.e(831),P.e(380)]).then((()=>()=>P(831))))),l("react-i18next","11.18.6",(()=>Promise.all([P.e(126),P.e(380)]).then((()=>()=>P(1126))))),l("react-router-dom","6.26.2",(()=>Promise.all([P.e(144),P.e(913),P.e(380)]).then((()=>()=>P(2913))))),l("react","18.3.1",(()=>P.e(41).then((()=>()=>P(4041))))),l("swr/_internal","2.2.5",(()=>Promise.all([P.e(372),P.e(380)]).then((()=>()=>P(2372))))),l("swr/immutable","2.2.5",(()=>Promise.all([P.e(380),P.e(434),P.e(876)]).then((()=>()=>P(9876)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;P.g.importScripts&&(e=P.g.location+"");var r=P.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),P.p=e})(),a=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},o=(e,r)=>{e=a(e),r=a(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],o=(typeof n)[0];if(t>=r.length)return"u"==o;var i=r[t],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&n!=i)return n<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var o=[];for(a=1;a<e.length;a++){var l=e[a];o.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?o.pop()+" "+o.pop():i(l))}return u();function u(){return o.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,r)=>{if(0 in e){r=a(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var o=0,i=1,u=!0;;i++,o++){var s,f,p=i<e.length?(typeof e[i])[0]:"";if(o>=r.length||"o"==(f=(typeof(s=r[o]))[0]))return!u||("u"==p?i>t&&!n:""==p!=n);if("u"==f){if(!u||"u"!=p)return!1}else if(u)if(p==f)if(i<=t){if(s!=e[i])return!1}else{if(n?s>e[i]:s<e[i])return!1;s!=e[i]&&(u=!1)}else if("s"!=p&&"n"!=p){if(n||i<=t)return!1;u=!1,i--}else{if(i<=t||f<p!=n)return!1;u=!1}else"s"!=p&&"n"!=p&&(u=!1,i--)}}var c=[],d=c.pop.bind(c);for(o=1;o<e.length;o++){var h=e[o];c.push(1==h?d()|d():2==h?d()&d():h?l(h,r):!d())}return!!d()},u=(e,r)=>e&&P.o(e,r),s=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),p=(e,r,t)=>{var n=t?f(e[r]):e[r];return Object.keys(n).reduce(((e,r)=>!e||!n[e].loaded&&o(e,r)?r:e),0)},c=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",d=e=>{throw new Error(e)},h=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},m=(e,r,t)=>t?t():((e,r)=>d("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,a,o){var i=P.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,P.S[r],t,!1,a,o)):e(r,P.S[r],t,n,a,o)})(((e,r,t,n,a,o)=>{if(!u(r,t))return m(e,t,o);var i=p(r,t,n);return l(a,i)||h(c(r,t,i,a)),s(r[t][i])})),g={},y={380:()=>v("default","react",!1,[1,18,1,0],(()=>P.e(41).then((()=>()=>P(4041))))),5434:()=>v("default","swr/_internal",!1,[1,2],(()=>P.e(372).then((()=>()=>P(2372))))),1083:()=>v("default","@openmrs/esm-framework",!1,[1,5],(()=>P.e(831).then((()=>()=>P(831))))),8877:()=>v("default","react-router-dom",!1,[1,6],(()=>Promise.all([P.e(144),P.e(913)]).then((()=>()=>P(2913))))),3150:()=>v("default","react-i18next",!1,[1,11],(()=>P.e(126).then((()=>()=>P(1126))))),8010:()=>v("default","swr/immutable",!1,[1,2],(()=>P.e(495).then((()=>()=>P(9876)))))},b={150:[3150],201:[8010],380:[380],434:[5434],964:[1083,8877]},w={},P.f.consumes=(e,r)=>{P.o(b,e)&&b[e].forEach((e=>{if(P.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,P.m[e]=t=>{delete P.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],P.m[e]=t=>{throw delete P.c[e],r}};try{var a=y[e]();a.then?r.push(g[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}}))},(()=>{var e={171:0};P.f.j=(r,t)=>{var n=P.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(150|380|434)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=P.p+P.u(r),i=new Error;P.l(o,(t=>{if(P.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,i,l]=t,u=0;if(o.some((r=>0!==e[r]))){for(n in i)P.o(i,n)&&(P.m[n]=i[n]);l&&l(P)}for(r&&r(t);u<o.length;u++)a=o[u],P.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),P.nc=void 0;var S=P(5534);_kenyaemr_esm_pharmacy_app=S})();
@@ -201,7 +201,7 @@
201
201
  "auxiliaryFiles": [
202
202
  "kenyaemr-esm-pharmacy-app.js.map"
203
203
  ],
204
- "hash": "37a134c7a9429e88",
204
+ "hash": "604f52f687c7871f",
205
205
  "childrenByOrder": {}
206
206
  },
207
207
  {
@@ -447,7 +447,7 @@
447
447
  "auxiliaryFiles": [
448
448
  "main.js.map"
449
449
  ],
450
- "hash": "f660787888e41ea1",
450
+ "hash": "77d24fdfb5743730",
451
451
  "childrenByOrder": {}
452
452
  },
453
453
  {
@@ -456,9 +456,9 @@
456
456
  "entry": false,
457
457
  "recorded": false,
458
458
  "reason": "reused as split chunk (cache group: defaultVendors)",
459
- "size": 4856631,
459
+ "size": 4862148,
460
460
  "sizes": {
461
- "javascript": 4856631
461
+ "javascript": 4862148
462
462
  },
463
463
  "names": [],
464
464
  "idHints": [
@@ -474,7 +474,7 @@
474
474
  "auxiliaryFiles": [
475
475
  "831.js.map"
476
476
  ],
477
- "hash": "f667ee762913db89",
477
+ "hash": "e2c806db1670e192",
478
478
  "childrenByOrder": {}
479
479
  },
480
480
  {
package/dist/main.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e,r,t,n,a={8964:(e,r,t)=>{"use strict";var n=t(1083),a=(n.Type.Boolean,n.Type.Array,n.Type.String,(0,n.validator)((function(e){return e.length>0}),"At least one person must be greeted."),n.Type.String,t(4441)),o=t(380),i=t.n(o),l=t(8877);function u(e){var r=e.config,t=r.name,u=r.title,s=(0,l.useLocation)(),c=window.getOpenmrsSpaBase()+"home",f=(0,o.useMemo)((function(){return decodeURIComponent((0,a.A)(s.pathname.split("/")))}),[s.pathname]);return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(f)&&(f=s.pathname.split("/").at(-2)),i().createElement(n.ConfigurableLink,{to:c+"/"+t,className:"cds--side-nav__link ".concat(t===f&&"active-left-nav-link")},u)}var s,c={featureName:"esm-pharmacy-app",moduleName:"@kenyaemr/esm-pharmacy-app"};t(4767),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(149),t.e(767),t.e(563),t.e(434),t.e(150),t.e(201)]).then(t.bind(t,3806))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(149),t.e(767),t.e(160),t.e(434),t.e(150),t.e(99)]).then(t.bind(t,2099))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(149),t.e(150),t.e(331)]).then(t.bind(t,1331))}),c),(0,n.getSyncLifecycle)((s={name:"pharmacy",title:"Community Pharmacy"},function(){return i().createElement(l.BrowserRouter,null,i().createElement(u,{config:s}))}),c)},4767:(e,r,t)=>{var n={"./en.json":[4300,300]};function a(e){if(!t.o(n,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=n[e],a=r[0];return t.e(r[1]).then((()=>t(a)))}a.keys=()=>Object.keys(n),a.id=4767,e.exports=a},4441:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});const n=function(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}}},o={};function i(e){var r=o[e];if(void 0!==r)return r.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return a[e].call(t.exports,t,t.exports,i),t.loaded=!0,t.exports}i.m=a,i.c=o,i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var a=Object.create(null);i.r(a);var o={};e=e||[null,r({}),r([]),r(r)];for(var l=2&n&&t;"object"==typeof l&&!~e.indexOf(l);l=r(l))Object.getOwnPropertyNames(l).forEach((e=>o[e]=()=>t[e]));return o.default=()=>t,i.d(a,o),a},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,t)=>(i.f[t](e,r),r)),[])),i.u=e=>e+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@kenyaemr/esm-pharmacy-app:",i.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var l,u;if(void 0!==a)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var f=s[c];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+a){l=f;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.setAttribute("data-webpack",n+a),l.src=e),t[e]=[r];var p=(r,n)=>{l.onerror=l.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=p.bind(null,l.onerror),l.onload=p.bind(null,l.onload),u&&document.head.appendChild(l)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{i.S={};var e={},r={};i.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var o=i.S[t],l="@kenyaemr/esm-pharmacy-app",u=(e,r,t,n)=>{var a=o[e]=o[e]||{},i=a[r];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[r]={get:t,from:l,eager:!!n})},s=[];return"default"===t&&(u("@openmrs/esm-framework","5.8.2-pre.2394",(()=>Promise.all([i.e(831),i.e(380)]).then((()=>()=>i(831))))),u("react-i18next","11.18.6",(()=>Promise.all([i.e(126),i.e(380)]).then((()=>()=>i(1126))))),u("react-router-dom","6.26.2",(()=>Promise.all([i.e(144),i.e(913),i.e(380)]).then((()=>()=>i(2913))))),u("react","18.3.1",(()=>i.e(41).then((()=>()=>i(4041))))),u("swr/_internal","2.2.5",(()=>Promise.all([i.e(372),i.e(380)]).then((()=>()=>i(2372))))),u("swr/immutable","2.2.5",(()=>Promise.all([i.e(380),i.e(434),i.e(876)]).then((()=>()=>i(9876)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var r=i.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},r=e=>{var t=e[0],n="";if(1===e.length)return"*";if(t+.5){n+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var a=1,o=1;o<e.length;o++)a--,n+="u"==(typeof(l=e[o]))[0]?"-":(a>0?".":"")+(a=2,l);return n}var i=[];for(o=1;o<e.length;o++){var l=e[o];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():r(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var a=r[0],o=a<0;o&&(a=-a-1);for(var i=0,l=1,u=!0;;l++,i++){var s,c,f=l<r.length?(typeof r[l])[0]:"";if(i>=n.length||"o"==(c=(typeof(s=n[i]))[0]))return!u||("u"==f?l>a&&!o:""==f!=o);if("u"==c){if(!u||"u"!=f)return!1}else if(u)if(f==c)if(l<=a){if(s!=r[l])return!1}else{if(o?s>r[l]:s<r[l])return!1;s!=r[l]&&(u=!1)}else if("s"!=f&&"n"!=f){if(o||l<=a)return!1;u=!1,l--}else{if(l<=a||c<f!=o)return!1;u=!1}else"s"!=f&&"n"!=f&&(u=!1,l--)}}var p=[],d=p.pop.bind(p);for(i=1;i<r.length;i++){var m=r[i];p.push(1==m?d()|d():2==m?d()&d():m?t(m,n):!d())}return!!d()},n=(r,t,n)=>{var a=n?(e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}))(r[t]):r[t];return Object.keys(a).reduce(((r,t)=>!r||!a[r].loaded&&((r,t)=>{r=e(r),t=e(t);for(var n=0;;){if(n>=r.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=r[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var i=t[n],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&a!=i)return a<i;n++}})(r,t)?t:r),0)},a=(e,r,t)=>t?t():((e,r)=>(e=>{throw new Error(e)})("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),o=(e=>function(r,t,n,a,o){var l=i.I(r);return l&&l.then&&!n?l.then(e.bind(e,r,i.S[r],t,!1,a,o)):e(r,i.S[r],t,n,a,o)})(((e,o,l,u,s,c)=>{if(!((e,r)=>e&&i.o(e,r))(o,l))return a(e,l,c);var f,p,d=n(o,l,u);return t(s,d)||(p=((e,t,n,a)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(a)+")")(o,l,d,s),"undefined"!=typeof console&&console.warn&&console.warn(p)),(f=o[l][d]).loaded=1,f.get()})),l={},u={5434:()=>o("default","swr/_internal",!1,[1,2],(()=>i.e(372).then((()=>()=>i(2372))))),3150:()=>o("default","react-i18next",!1,[1,11],(()=>i.e(126).then((()=>()=>i(1126))))),8010:()=>o("default","swr/immutable",!1,[1,2],(()=>i.e(495).then((()=>()=>i(9876))))),380:()=>o("default","react",!1,[1,18,1,0],(()=>i.e(41).then((()=>()=>i(4041))))),1083:()=>o("default","@openmrs/esm-framework",!1,[1,5],(()=>i.e(831).then((()=>()=>i(831))))),8877:()=>o("default","react-router-dom",!1,[1,6],(()=>Promise.all([i.e(144),i.e(913)]).then((()=>()=>i(2913)))))};[1083,380,8877].forEach((e=>{i.m[e]=r=>{l[e]=0,delete i.c[e];var t=u[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}}));var s={150:[3150],201:[8010],380:[380],434:[5434]},c={};i.f.consumes=(e,r)=>{i.o(s,e)&&s[e].forEach((e=>{if(i.o(l,e))return r.push(l[e]);if(!c[e]){var t=r=>{l[e]=0,i.m[e]=t=>{delete i.c[e],t.exports=r()}};c[e]=!0;var n=r=>{delete l[e],i.m[e]=t=>{throw delete i.c[e],r}};try{var a=u[e]();a.then?r.push(l[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}}))}})(),(()=>{var e={792:0,380:0,964:0};i.f.j=(r,t)=>{var n=i.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(150|380|434)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=i.p+i.u(r),l=new Error;i.l(o,(t=>{if(i.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,l,u]=t,s=0;if(o.some((r=>0!==e[r]))){for(n in l)i.o(l,n)&&(i.m[n]=l[n]);u&&u(i)}for(r&&r(t);s<o.length;s++)a=o[s],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),i.nc=void 0,i(8964)})();
1
+ (()=>{var e,r,t,n,a={8964:(e,r,t)=>{"use strict";var n=t(1083),a=(n.Type.Boolean,n.Type.Array,n.Type.String,(0,n.validator)((function(e){return e.length>0}),"At least one person must be greeted."),n.Type.String,t(4441)),o=t(380),i=t.n(o),l=t(8877);function u(e){var r=e.config,t=r.name,u=r.title,s=(0,l.useLocation)(),c=window.getOpenmrsSpaBase()+"home",f=(0,o.useMemo)((function(){return decodeURIComponent((0,a.A)(s.pathname.split("/")))}),[s.pathname]);return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(f)&&(f=s.pathname.split("/").at(-2)),i().createElement(n.ConfigurableLink,{to:c+"/"+t,className:"cds--side-nav__link ".concat(t===f&&"active-left-nav-link")},u)}var s,c={featureName:"esm-pharmacy-app",moduleName:"@kenyaemr/esm-pharmacy-app"};t(4767),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(149),t.e(767),t.e(563),t.e(434),t.e(150),t.e(201)]).then(t.bind(t,3806))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(149),t.e(767),t.e(160),t.e(434),t.e(150),t.e(99)]).then(t.bind(t,2099))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(149),t.e(150),t.e(331)]).then(t.bind(t,1331))}),c),(0,n.getSyncLifecycle)((s={name:"pharmacy",title:"Community Pharmacy"},function(){return i().createElement(l.BrowserRouter,null,i().createElement(u,{config:s}))}),c)},4767:(e,r,t)=>{var n={"./en.json":[4300,300]};function a(e){if(!t.o(n,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=n[e],a=r[0];return t.e(r[1]).then((()=>t(a)))}a.keys=()=>Object.keys(n),a.id=4767,e.exports=a},4441:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});const n=function(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}}},o={};function i(e){var r=o[e];if(void 0!==r)return r.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return a[e].call(t.exports,t,t.exports,i),t.loaded=!0,t.exports}i.m=a,i.c=o,i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var a=Object.create(null);i.r(a);var o={};e=e||[null,r({}),r([]),r(r)];for(var l=2&n&&t;"object"==typeof l&&!~e.indexOf(l);l=r(l))Object.getOwnPropertyNames(l).forEach((e=>o[e]=()=>t[e]));return o.default=()=>t,i.d(a,o),a},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,t)=>(i.f[t](e,r),r)),[])),i.u=e=>e+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@kenyaemr/esm-pharmacy-app:",i.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var l,u;if(void 0!==a)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var f=s[c];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+a){l=f;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.setAttribute("data-webpack",n+a),l.src=e),t[e]=[r];var p=(r,n)=>{l.onerror=l.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=p.bind(null,l.onerror),l.onload=p.bind(null,l.onload),u&&document.head.appendChild(l)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{i.S={};var e={},r={};i.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var o=i.S[t],l="@kenyaemr/esm-pharmacy-app",u=(e,r,t,n)=>{var a=o[e]=o[e]||{},i=a[r];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[r]={get:t,from:l,eager:!!n})},s=[];return"default"===t&&(u("@openmrs/esm-framework","5.8.2-pre.2521",(()=>Promise.all([i.e(831),i.e(380)]).then((()=>()=>i(831))))),u("react-i18next","11.18.6",(()=>Promise.all([i.e(126),i.e(380)]).then((()=>()=>i(1126))))),u("react-router-dom","6.26.2",(()=>Promise.all([i.e(144),i.e(913),i.e(380)]).then((()=>()=>i(2913))))),u("react","18.3.1",(()=>i.e(41).then((()=>()=>i(4041))))),u("swr/_internal","2.2.5",(()=>Promise.all([i.e(372),i.e(380)]).then((()=>()=>i(2372))))),u("swr/immutable","2.2.5",(()=>Promise.all([i.e(380),i.e(434),i.e(876)]).then((()=>()=>i(9876)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var r=i.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},r=e=>{var t=e[0],n="";if(1===e.length)return"*";if(t+.5){n+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var a=1,o=1;o<e.length;o++)a--,n+="u"==(typeof(l=e[o]))[0]?"-":(a>0?".":"")+(a=2,l);return n}var i=[];for(o=1;o<e.length;o++){var l=e[o];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():r(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var a=r[0],o=a<0;o&&(a=-a-1);for(var i=0,l=1,u=!0;;l++,i++){var s,c,f=l<r.length?(typeof r[l])[0]:"";if(i>=n.length||"o"==(c=(typeof(s=n[i]))[0]))return!u||("u"==f?l>a&&!o:""==f!=o);if("u"==c){if(!u||"u"!=f)return!1}else if(u)if(f==c)if(l<=a){if(s!=r[l])return!1}else{if(o?s>r[l]:s<r[l])return!1;s!=r[l]&&(u=!1)}else if("s"!=f&&"n"!=f){if(o||l<=a)return!1;u=!1,l--}else{if(l<=a||c<f!=o)return!1;u=!1}else"s"!=f&&"n"!=f&&(u=!1,l--)}}var p=[],d=p.pop.bind(p);for(i=1;i<r.length;i++){var m=r[i];p.push(1==m?d()|d():2==m?d()&d():m?t(m,n):!d())}return!!d()},n=(r,t,n)=>{var a=n?(e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}))(r[t]):r[t];return Object.keys(a).reduce(((r,t)=>!r||!a[r].loaded&&((r,t)=>{r=e(r),t=e(t);for(var n=0;;){if(n>=r.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=r[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var i=t[n],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&a!=i)return a<i;n++}})(r,t)?t:r),0)},a=(e,r,t)=>t?t():((e,r)=>(e=>{throw new Error(e)})("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),o=(e=>function(r,t,n,a,o){var l=i.I(r);return l&&l.then&&!n?l.then(e.bind(e,r,i.S[r],t,!1,a,o)):e(r,i.S[r],t,n,a,o)})(((e,o,l,u,s,c)=>{if(!((e,r)=>e&&i.o(e,r))(o,l))return a(e,l,c);var f,p,d=n(o,l,u);return t(s,d)||(p=((e,t,n,a)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(a)+")")(o,l,d,s),"undefined"!=typeof console&&console.warn&&console.warn(p)),(f=o[l][d]).loaded=1,f.get()})),l={},u={5434:()=>o("default","swr/_internal",!1,[1,2],(()=>i.e(372).then((()=>()=>i(2372))))),3150:()=>o("default","react-i18next",!1,[1,11],(()=>i.e(126).then((()=>()=>i(1126))))),8010:()=>o("default","swr/immutable",!1,[1,2],(()=>i.e(495).then((()=>()=>i(9876))))),380:()=>o("default","react",!1,[1,18,1,0],(()=>i.e(41).then((()=>()=>i(4041))))),1083:()=>o("default","@openmrs/esm-framework",!1,[1,5],(()=>i.e(831).then((()=>()=>i(831))))),8877:()=>o("default","react-router-dom",!1,[1,6],(()=>Promise.all([i.e(144),i.e(913)]).then((()=>()=>i(2913)))))};[1083,380,8877].forEach((e=>{i.m[e]=r=>{l[e]=0,delete i.c[e];var t=u[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}}));var s={150:[3150],201:[8010],380:[380],434:[5434]},c={};i.f.consumes=(e,r)=>{i.o(s,e)&&s[e].forEach((e=>{if(i.o(l,e))return r.push(l[e]);if(!c[e]){var t=r=>{l[e]=0,i.m[e]=t=>{delete i.c[e],t.exports=r()}};c[e]=!0;var n=r=>{delete l[e],i.m[e]=t=>{throw delete i.c[e],r}};try{var a=u[e]();a.then?r.push(l[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}}))}})(),(()=>{var e={792:0,380:0,964:0};i.f.j=(r,t)=>{var n=i.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(150|380|434)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=i.p+i.u(r),l=new Error;i.l(o,(t=>{if(i.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,l,u]=t,s=0;if(o.some((r=>0!==e[r]))){for(n in l)i.o(l,n)&&(i.m[n]=l[n]);u&&u(i)}for(r&&r(t);s<o.length;s++)a=o[s],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),i.nc=void 0,i(8964)})();
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.24.0"},"extensions":[{"component":"pharmacyDashboardLink","name":"pharmacy-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"pharmacy","title":"pharmacy","slot":"pharmacy-dashboard-slot"}},{"component":"root","name":"pharmacy-dashboard-root","slot":"pharmacy-dashboard-slot"},{"name":"pharmacy-assignment-form","component":"pharmacyAssignmentForm"},{"name":"pharmacy-delete-confirm-dialog","component":"pharmacyDeleteConfirmDialog"}],"pages":[{"component":"root","route":"pharmacy"}],"version":"5.3.8-pre.1546"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.24.0"},"extensions":[{"component":"pharmacyDashboardLink","name":"pharmacy-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"pharmacy","title":"pharmacy","slot":"pharmacy-dashboard-slot"}},{"component":"root","name":"pharmacy-dashboard-root","slot":"pharmacy-dashboard-slot"},{"name":"pharmacy-assignment-form","component":"pharmacyAssignmentForm"},{"name":"pharmacy-delete-confirm-dialog","component":"pharmacyDeleteConfirmDialog"}],"pages":[{"component":"root","route":"pharmacy"}],"version":"5.3.8-pre.1559"}