@cc-openmrs/cc-esm-active-prescriptions 1.0.65 → 1.0.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/116.js +1 -0
- package/dist/184.js +2 -1
- package/dist/{311.js.LICENSE.txt → 184.js.LICENSE.txt} +0 -37
- package/dist/197.js +1 -1
- package/dist/225.js +1 -1
- package/dist/282.js +2 -0
- package/dist/282.js.LICENSE.txt +32 -0
- package/dist/300.js +1 -1
- package/dist/311.js +1 -2
- package/dist/319.js +1 -1
- package/dist/335.js +1 -1
- package/dist/353.js +1 -0
- package/dist/41.js +1 -1
- package/dist/422.js +2 -1
- package/dist/464.js +2 -0
- package/dist/464.js.LICENSE.txt +19 -0
- package/dist/478.js +2 -0
- package/dist/499.js +1 -0
- package/dist/537.js +1 -1
- package/dist/540.js +1 -1
- package/dist/55.js +1 -1
- package/dist/606.js +2 -1
- package/dist/{618.js.LICENSE.txt → 606.js.LICENSE.txt} +2 -2
- package/dist/63.js +1 -0
- package/dist/652.js +1 -1
- package/dist/679.js +1 -1
- package/dist/779.js +2 -0
- package/dist/{31.js.LICENSE.txt → 779.js.LICENSE.txt} +11 -0
- package/dist/961.js +1 -1
- package/dist/966.js +1 -1
- package/dist/99.js +1 -1
- package/dist/993.js +1 -0
- package/dist/main.js +1 -2
- package/dist/openmrs-esm-patient-lists-app.js +1 -0
- package/dist/{openmrs-esm-template-app.js.buildmanifest.json → openmrs-esm-patient-lists-app.js.buildmanifest.json} +179 -248
- package/dist/routes.json +1 -1
- package/package.json +61 -51
- package/src/declarations.d.ts +4 -5
- package/src/prescriptions-actions/add-drug-prescription/add-drug-prescription.component.tsx +186 -0
- package/src/prescriptions-actions/add-drug-prescription/add-drug-prescription.scss +1 -0
- package/src/prescriptions-actions/add-drug-prescription/index.ts +2 -0
- package/src/prescriptions-actions/prescriptions-action-button.component.tsx +7 -13
- package/src/prescriptions-actions/prescriptions-action-menu-item.component.tsx +29 -0
- package/src/prescriptions-actions/prescriptions-action-menu-item.scss +12 -0
- package/src/root.component.tsx +224 -296
- package/src/routes.json +12 -11
- package/dist/177.js +0 -2
- package/dist/237.js +0 -2
- package/dist/237.js.LICENSE.txt +0 -9
- package/dist/31.js +0 -2
- package/dist/437.js +0 -1
- package/dist/533.js +0 -1
- package/dist/618.js +0 -2
- package/dist/635.js +0 -1
- package/dist/647.js +0 -2
- package/dist/647.js.LICENSE.txt +0 -9
- package/dist/692.js +0 -2
- package/dist/761.js +0 -2
- package/dist/761.js.LICENSE.txt +0 -29
- package/dist/875.js +0 -2
- package/dist/875.js.LICENSE.txt +0 -5
- package/dist/main.js.LICENSE.txt +0 -9
- package/dist/openmrs-esm-template-app.js +0 -1
- package/src/carbon-react.d.ts +0 -9
- /package/dist/{177.js.LICENSE.txt → 422.js.LICENSE.txt} +0 -0
- /package/dist/{692.js.LICENSE.txt → 478.js.LICENSE.txt} +0 -0
package/dist/966.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[]).push([[966],{
|
|
1
|
+
"use strict";(globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[]).push([[966],{2786(n,e,r){r.d(e,{A:()=>c});var t=r(2996),a=r.n(t),o=r(159),i=r.n(o)()(a());i.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-cc-esm-active-prescriptions__box__blue___62DJr{background-color:#00008b}.-cc-esm-active-prescriptions__box__red___w2gGh{background-color:darkred}.-cc-esm-active-prescriptions__box__brand___DgXfT{background-color:#005d5d;background-color:var(--brand-01);color:#fff;padding:.5rem}","",{version:3,sources:["webpack://./node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/boxes/extensions/box.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCtDD,iDACC,wBAAA,CAGF,gDACE,wBAAA,CAMF,kDDsBE,wBAAA,CACA,gCAAA,CCrBA,UAAA,CACA,aAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","/* Extensions should supply the minimum amount of styling\n * necessary. Here, the extensions set only their colors.\n * Their sizes and other general features of their display\n * is controlled by the slot. */\n@use \"@carbon/layout\";\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n .blue {\n background-color: darkblue;\n}\n\n.red {\n background-color: darkred;\n}\n\n/* Brand colors are special. They must be included using a\n * SASS mix-in (shown here) or using a CSS variable like\n * `var(--brand-01)`. */\n.brand {\n @include brand-01(background-color);\n color: white;\n padding: layout.$spacing-03;\n}\n"],sourceRoot:""}]),i.locals={blue:"-cc-esm-active-prescriptions__box__blue___62DJr",red:"-cc-esm-active-prescriptions__box__red___w2gGh",brand:"-cc-esm-active-prescriptions__box__brand___DgXfT"};const c=i},159(n){n.exports=function(n){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r}).join("")},e.i=function(n,r,t){"string"==typeof n&&(n=[[null,n,""]]);var a={};if(t)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(a[i]=!0)}for(var c=0;c<n.length;c++){var s=[].concat(n[c]);t&&a[s[0]]||(r&&(s[2]?s[2]="".concat(r," and ").concat(s[2]):s[2]=r),e.push(s))}},e}},2996(n){function e(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}n.exports=function(n){var r,t,a=(t=4,function(n){if(Array.isArray(n))return n}(r=n)||function(n,e){var r=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null!=r){var t,a,o=[],i=!0,c=!1;try{for(r=r.call(n);!(i=(t=r.next()).done)&&(o.push(t.value),!e||o.length!==e);i=!0);}catch(n){c=!0,a=n}finally{try{i||null==r.return||r.return()}finally{if(c)throw a}}return o}}(r,t)||function(n,r){if(n){if("string"==typeof n)return e(n,r);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?e(n,r):void 0}}(r,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=a[1],i=a[3];if(!i)return o;if("function"==typeof btoa){var c=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),d="/*# ".concat(s," */"),p=i.sources.map(function(n){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(n," */")});return[o].concat(p).concat([d]).join("\n")}return[o].join("\n")}},966(n,e,r){r.r(e),r.d(e,{default:()=>o});var t=r(6072),a=r(9953);const o=function(){return t.createElement("div",{className:a.A.blue})}},9953(n,e,r){r.d(e,{A:()=>v});var t=r(5072),a=r.n(t),o=r(7825),i=r.n(o),c=r(7659),s=r.n(c),d=r(5056),p=r.n(d),u=r(540),l=r.n(u),f=r(1113),b=r.n(f),m=r(2786),h={};h.styleTagTransform=b(),h.setAttributes=p(),h.insert=s().bind(null,"head"),h.domAPI=i(),h.insertStyleElement=l(),a()(m.A,h);const v=m.A&&m.A.locals?m.A.locals:void 0},5072(n){var e=[];function r(n){for(var r=-1,t=0;t<e.length;t++)if(e[t].identifier===n){r=t;break}return r}function t(n,t){for(var o={},i=[],c=0;c<n.length;c++){var s=n[c],d=t.base?s[0]+t.base:s[0],p=o[d]||0,u="".concat(d," ").concat(p);o[d]=p+1;var l=r(u),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==l)e[l].references++,e[l].updater(f);else{var b=a(f,t);t.byIndex=c,e.splice(c,0,{identifier:u,updater:b,references:1})}i.push(u)}return i}function a(n,e){var r=e.domAPI(e);return r.update(n),function(e){if(e){if(e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap&&e.supports===n.supports&&e.layer===n.layer)return;r.update(n=e)}else r.remove()}}n.exports=function(n,a){var o=t(n=n||[],a=a||{});return function(n){n=n||[];for(var i=0;i<o.length;i++){var c=r(o[i]);e[c].references--}for(var s=t(n,a),d=0;d<o.length;d++){var p=r(o[d]);0===e[p].references&&(e[p].updater(),e.splice(p,1))}o=s}}},7659(n){var e={};n.exports=function(n,r){var t=function(n){if(void 0===e[n]){var r=document.querySelector(n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(n){r=null}e[n]=r}return e[n]}(n);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");t.appendChild(r)}},540(n){n.exports=function(n){var e=document.createElement("style");return n.setAttributes(e,n.attributes),n.insert(e,n.options),e}},5056(n,e,r){n.exports=function(n){var e=r.nc;e&&n.setAttribute("nonce",e)}},7825(n){n.exports=function(n){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.insertStyleElement(n);return{update:function(r){!function(n,e,r){var t="";r.supports&&(t+="@supports (".concat(r.supports,") {")),r.media&&(t+="@media ".concat(r.media," {"));var a=void 0!==r.layer;a&&(t+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),t+=r.css,a&&(t+="}"),r.media&&(t+="}"),r.supports&&(t+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(t+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(t,n,e.options)}(e,n,r)},remove:function(){!function(n){if(null===n.parentNode)return!1;n.parentNode.removeChild(n)}(e)}}}},1113(n){n.exports=function(n,e){if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}}}]);
|
package/dist/99.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[]).push([[99],{3099
|
|
1
|
+
"use strict";(globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[]).push([[99],{3099(e){e.exports=JSON.parse('{"casualGreeting":"hey","configSystem":"Sistema de configuración","configSystemExplainer":"El saludo que se muestra a continuación es impulsado por el sistema de configuración. Para cambiar las propiedades de configuración, haga clic en el icono de llave inglesa en la barra de navegación para abrir el panel Herramientas del implementador. Luego, escriba <2>plantilla</2> en la entrada <4>Configuración de búsqueda</4>. Esto debería filtrar las propiedades de configuración para mostrar solo aquellas que son relevantes para este módulo. Puede cambiar los valores de estas propiedades y hacer clic en <6>Guardar</6> para ver los cambios reflejados en la interfaz de usuario","connect":"Conectar","connectExplainer":"Póngase en contacto con la comunidad","dataFetching":"Obtención de datos","designDocs":"Documentación de diseño","designDocsExplainer":"Lea la documentación de diseño de O3","explainer":"Los siguientes ejemplos demuestran algunas características clave del marco O3","extensionExplainer":"Aquí hay algunos cuadros de colores. Debido a que se adjuntan como extensiones dentro de una ranura, un administrador puede cambiar los cuadros que se muestran mediante la configuración. Estos cuadros están definidos en este módulo, pero podrían adjuntarse a esta ranura incluso si estuvieran en un módulo diferente","extensionSystem":"Sistema de extensión","formalGreeting":"Hola","frontendDocs":"Documentación de interfaz","getPatient":"Consigue una paciente llamada","getStarted":"Comenzar","getStartedExplainer":"Cree un módulo frontend a partir de esta plantilla","learnExplainer":"Aprenda a usar el marco O3.","loading":"Cargando","patientGetterExplainer":"Intente hacer clic en el botón a continuación para buscar un paciente desde el backend","resources":"Recursos","usefulLinks":"A continuación hay algunos enlaces a recursos útiles","welcomeText":"Bienvenido a la aplicación Plantilla O3"}')}}]);
|
package/dist/993.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[]).push([[993],{4993(e,t,n){n.r(t),n.d(t,{INFINITE_PREFIX:()=>H,IS_REACT_LEGACY:()=>S,IS_SERVER:()=>k,OBJECT:()=>s,SWRConfig:()=>G,SWRGlobalState:()=>p,UNDEFINED:()=>i,cache:()=>$,compare:()=>U,createCacheHelper:()=>y,defaultConfig:()=>J,defaultConfigOptions:()=>O,getTimestamp:()=>V,hasRequestAnimationFrame:()=>v,initCache:()=>P,internalMutate:()=>M,isDocumentDefined:()=>g,isFunction:()=>a,isPromiseLike:()=>l,isUndefined:()=>c,isWindowDefined:()=>w,mergeConfigs:()=>j,mergeObjects:()=>u,mutate:()=>q,noop:()=>r,normalize:()=>Y,preload:()=>Q,preset:()=>T,rAF:()=>I,revalidateEvents:()=>W,serialize:()=>F,slowConnection:()=>L,stableHash:()=>_,subscribeCallback:()=>te,useIsomorphicLayoutEffect:()=>A,useSWRConfig:()=>K,withArgs:()=>ee,withMiddleware:()=>ne});var o=n(6072);const r=()=>{},i=r(),s=Object,c=e=>e===i,a=e=>"function"==typeof e,u=(e,t)=>({...e,...t}),l=e=>a(e.then),f=new WeakMap;let d=0;const _=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+=_(e[i])+",";f.set(e,r)}if(n==s){r="#";const t=s.keys(e).sort();for(;!c(i=t.pop());)c(e[i])||(r+=i+":"+_(e[i])+",");f.set(e,r)}}return r},p=new WeakMap,h={},E={},m="undefined",w=typeof window!=m,g=typeof document!=m,v=()=>w&&typeof window.requestAnimationFrame!=m,y=(e,t)=>{const n=p.get(e);return[()=>!c(t)&&e.get(t)||h,o=>{if(!c(t)){const r=e.get(t);t in E||(E[t]=r),n[5](t,u(r,o),r||h)}},n[6],()=>!c(t)&&t in E?E[t]:!c(t)&&e.get(t)||h]};let b=!0;const[R,C]=w&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[r,r],T={isOnline:()=>b,isVisible:()=>{const e=g&&document.visibilityState;return c(e)||"hidden"!==e}},O={initFocus:e=>(g&&document.addEventListener("visibilitychange",e),R("focus",e),()=>{g&&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=!w||"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(a(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?_(e):"",t]};let N=0;const V=()=>++N;var W={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function M(...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 _=s.optimisticData;const h=s.throwOnError;if(a(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,w,g,v]=p.get(t),b=()=>{const e=m[r];return(a(s.revalidate)?s.revalidate(u().data,n):!1!==s.revalidate)&&(delete g[r],delete v[r],e&&e[0])?e[0](2).then(()=>u().data):u().data};if(e.length<3)return b();let R,C=o;const T=V();w[r]=[T,0];const O=!c(_),S=u(),k=S.data,I=S._c,A=c(I)?k:I;if(O&&(_=a(_)?_(A,k):_,E({data:_,_c:A})),a(C))try{C=C(A)}catch(e){R=e}if(C&&l(C)){if(C=await C.catch(e=>{R=e}),T!==w[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(a(f)){const e=f(C,A);E({data:e,error:i,_c:i})}else E({data:C,error:i,_c:i});if(w[r][1]=V(),Promise.resolve(b()).then(()=>{E({_c:i})}),!R)return C;if(h)throw R}}const x=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},P=(e,t)=>{if(!p.has(e)){const n=u(O,t),o={},s=M.bind(i,e);let c=r;const a={},l=(e,t)=>{const n=a[e]||[];return a[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,o)=>{e.set(t,n);const r=a[t];if(r)for(const e of r)e(n,o)},d=()=>{if(!p.has(e)&&(p.set(e,[o,{},{},{},s,f,l]),!k)){const t=n.initFocus(setTimeout.bind(i,x.bind(i,o,0))),r=n.initReconnect(setTimeout.bind(i,x.bind(i,o,1)));c=()=>{t&&t(),r&&r(),p.delete(e)}}};return d(),[e,s,d,c]}return[e,p.get(e)[4]]},U=(e,t)=>_(e)==_(t),[$,q]=P(new Map),J=u({onLoadingSlow:r,onSuccess:r,onError:r,onErrorRetry:(e,t,n,o,r)=>{const i=n.errorRetryCount,s=r.retryCount,a=~~((Math.random()+.5)*(1<<(s<8?s:8)))*n.errorRetryInterval;!c(i)&&s>i||setTimeout(o,a,r)},onDiscarded:r,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:L?5e3:3e3,compare:U,isPaused:()=>!1,cache:$,mutate:q,fallback:{}},T),j=(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},z=(0,o.createContext)({}),G=e=>{const{value:t}=e,n=(0,o.useContext)(z),r=a(t),s=(0,o.useMemo)(()=>r?t(n):t,[r,n,t]),c=(0,o.useMemo)(()=>r?s:j(n,s),[r,n,s]),l=s&&s.provider,f=(0,o.useRef)(i);l&&!f.current&&(f.current=P(l(c.cache||$),s));const d=f.current;return d&&(c.cache=d[0],c.mutate=d[1]),A(()=>{if(d)return d[2]&&d[2](),d[3]},[]),(0,o.createElement)(z.Provider,u(e,{value:c}))},H="$inf$",B=w&&window.__SWR_DEVTOOLS_USE__,X=B?window.__SWR_DEVTOOLS_USE__:[],Y=e=>a(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],K=()=>u(J,(0,o.useContext)(z)),Q=(e,t)=>{const[n,o]=F(e),[,,,r]=p.get($);if(r[n])return r[n];const i=t(o);return r[n]=i,i},Z=X.concat(e=>(t,n,o)=>e(t,n&&((...e)=>{const[o]=F(t),[,,,r]=p.get($);if(o.startsWith(H))return n(...e);const i=r[o];return c(i)?n(...e):(delete r[o],i)}),o)),ee=e=>function(...t){const n=K(),[o,r,i]=Y(t),s=j(n,i);let c=e;const{use:a}=s,u=(a||[]).concat(Z);for(let e=u.length;e--;)c=u[e](c);return c(o,r||s.fetcher||null,s)},te=(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())}},ne=(e,t)=>(...n)=>{const[o,r,i]=Y(n),s=(i.use||[]).concat(t);return e(o,r,{...i,use:s})};B&&(window.__SWR_DEVTOOLS_REACT__=o)}}]);
|
package/dist/main.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
(()=>{var e,t,r,n,o={428:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});const n={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var o=r(5556),i=r.n(o),a=r(6072),l=r.n(a);const s=(0,a.forwardRef)(function({className:e,children:t,tabIndex:r,xmlns:o="http://www.w3.org/2000/svg",preserveAspectRatio:i="xMidYMid meet",...a},s){const{tabindex:c,...h}=function({width:e,height:t,viewBox:r=`0 0 ${e} ${t}`,...o}={}){const{tabindex:i,...a}=o,l={...n,...a,width:e,height:t,viewBox:r};return l["aria-label"]||l["aria-labelledby"]?(l.role="img",null!=i&&(l.focusable="true",l.tabindex=i)):l["aria-hidden"]=!0,l}({...a,tabindex:r}),p=h;return e&&(p.className=e),null!=c&&(p.tabIndex="number"==typeof c?c:Number(r)),s&&(p.ref=s),o&&(p.xmlns=o),i&&(p.preserveAspectRatio=i),l().createElement("svg",p,t)});s.displayName="Icon",s.propTypes={"aria-hidden":i().oneOfType([i().bool,i().oneOf(["true","false"])]),"aria-label":i().string,"aria-labelledby":i().string,children:i().node,className:i().string,height:i().oneOfType([i().number,i().string]),preserveAspectRatio:i().string,tabIndex:i().oneOfType([i().number,i().string]),viewBox:i().string,width:i().oneOfType([i().number,i().string]),xmlns:i().string}},1020:(e,t,r)=>{"use strict";var n=r(6072),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,h=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(h=t.ref),t)a.call(t,n)&&!s.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:h,props:i,_owner:l.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},2499:(e,t,r)=>{"use strict";var n=r(6920),o=(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."),r(6072)),i=r.n(o),a=r(9184),l=r(3806),s=r(2076),c=function(){(0,n.launchWorkspace2)("active-prescriptions")};var h={featureName:"active-prescriptions",moduleName:"@cc-openmrs/cc-esm-active-prescriptions"};r(4767),(0,n.getAsyncLifecycle)(function(){return r.e(319).then(r.bind(r,4319))},h),(0,n.getAsyncLifecycle)(function(){return r.e(966).then(r.bind(r,966))},h),(0,n.getAsyncLifecycle)(function(){return r.e(537).then(r.bind(r,1537))},h),(0,n.getSyncLifecycle)(function(){var e=(0,(0,s.useTranslation)().t)("activePrescriptions","Active prescriptions");return i().createElement(l.ActionMenuButton,{getIcon:function(e){return i().createElement(a.c_,e)},label:e,iconDescription:e,handler:c,type:"active-prescriptions"})},h),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e(177),r.e(559),r.e(437)]).then(r.bind(r,5437))},h)},2694:(e,t,r)=>{"use strict";var n=r(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},4767:(e,t,r)=>{var n={"./am.json":[1197,197],"./en.json":[4300,300],"./es.json":[3099,99],"./fr.json":[4055,55],"./he.json":[2271,652],"./km.json":[6716,335],"./pt.json":[6679,679]};function o(e){if(!r.o(n,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=n[e],o=t[0];return r.e(t[1]).then(()=>r(o))}o.keys=()=>Object.keys(n),o.id=4767,e.exports=o},4848:(e,t,r)=>{"use strict";e.exports=r(1020)},5556:(e,t,r)=>{e.exports=r(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9184:(e,t,r)=>{"use strict";r.d(t,{IF:()=>m,JG:()=>u,MG:()=>c,NW:()=>s,Sc:()=>l,Vg:()=>w,_j:()=>h,bm:()=>v,cR:()=>p,c_:()=>d,nb:()=>g,yQ:()=>f});var n=r(428),o=r(6072),i=r.n(o),a=r(4848);const l=i().forwardRef(function({children:e,size:t=16,...r},o){return i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z"}),e)}),s=i().forwardRef(function({children:e,size:t=16,...r},o){return i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z"}),(0,a.jsx)("path",{fill:"none",d:"M14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z","data-icon-path":"inner-path"}),e)}),c=i().forwardRef(function({children:e,size:t=16,...r},o){return 20===t||"20"===t||"20px"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M8 13.2 3.6 8.8 2.7 9.7 7.1 14.1 8 15 16.5 6.5 15.6 5.6z"}),(0,a.jsx)("path",{d:"M15.6 5.6 8 13.2 3.6 8.8 2.7 9.7 7.1 14.1 8 15 16.5 6.5 15.6 5.6z"}),e):24===t||"24"===t||"24px"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M10 15.9 4.7 10.6 3.6 11.6 8.9 16.9 10 18 20.6 7.4 19.5 6.3z"}),e):i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M13 24 4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z"}),e)}),h=i().forwardRef(function({children:e,size:t=16,...r},o){return 16===t||"16"===t||"16px"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"}),(0,a.jsx)("path",{d:"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z","data-icon-path":"inner-path",opacity:"0"}),e):20===t||"20"===t||"20px"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"}),(0,a.jsx)("path",{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"}),e):24===t||"24"===t||"24px"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z"}),(0,a.jsx)("path",{fill:"none",d:"M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z","data-icon-path":"inner-path",opacity:"0"}),e):i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"}),(0,a.jsx)("path",{fill:"none",d:"M14 21.591 9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z","data-icon-path":"inner-path"}),e)}),p=i().forwardRef(function({children:e,size:t=16,...r},o){return i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M14 21.414 9 16.413 10.413 15 14 18.586 21.585 11 23 12.415 14 21.414z"}),(0,a.jsx)("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"}),e)}),f=i().forwardRef(function({children:e,size:t=16,...r},o){return"glyph"===t||"glyph"===t||"glyphpx"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 6",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M5 6 0 1 .7.3 5 4.6 9.3.3 10 1z"}),e):16===t||"16"===t||"16px"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M8 11 3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"}),e):i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M16 22 6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z"}),e)}),u=i().forwardRef(function({children:e,size:t=16,...r},o){return"glyph"===t||"glyph"===t||"glyphpx"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 10",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M0 5 5 0 5.7.7 1.4 5 5.7 9.3 5 10z"}),e):16===t||"16"===t||"16px"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M5 8 10 3 10.7 3.7 6.4 8 10.7 12.3 10 13z"}),e):i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M10 16 20 6 21.4 7.4 12.8 16 21.4 24.6 20 26z"}),e)}),d=i().forwardRef(function({children:e,size:t=16,...r},o){return"glyph"===t||"glyph"===t||"glyphpx"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 10",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M6 5 1 10 .3 9.3 4.6 5 .3.7 1 0z"}),e):16===t||"16"===t||"16px"===t?i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M11 8 6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z"}),e):i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M22 16 12 26 10.6 24.6 19.2 16 10.6 7.4 12 6z"}),e)}),w=i().forwardRef(function({children:e,size:t=16,...r},o){return i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M7.7,4.7a14.7,14.7,0,0,0-3,3.1L6.3,9A13.26,13.26,0,0,1,8.9,6.3Z"}),(0,a.jsx)("path",{d:"M4.6,12.3l-1.9-.6A12.51,12.51,0,0,0,2,16H4A11.48,11.48,0,0,1,4.6,12.3Z"}),(0,a.jsx)("path",{d:"M2.7,20.4a14.4,14.4,0,0,0,2,3.9l1.6-1.2a12.89,12.89,0,0,1-1.7-3.3Z"}),(0,a.jsx)("path",{d:"M7.8,27.3a14.4,14.4,0,0,0,3.9,2l.6-1.9A12.89,12.89,0,0,1,9,25.7Z"}),(0,a.jsx)("path",{d:"M11.7,2.7l.6,1.9A11.48,11.48,0,0,1,16,4V2A12.51,12.51,0,0,0,11.7,2.7Z"}),(0,a.jsx)("path",{d:"M24.2,27.3a15.18,15.18,0,0,0,3.1-3.1L25.7,23A11.53,11.53,0,0,1,23,25.7Z"}),(0,a.jsx)("path",{d:"M27.4,19.7l1.9.6A15.47,15.47,0,0,0,30,16H28A11.48,11.48,0,0,1,27.4,19.7Z"}),(0,a.jsx)("path",{d:"M29.2,11.6a14.4,14.4,0,0,0-2-3.9L25.6,8.9a12.89,12.89,0,0,1,1.7,3.3Z"}),(0,a.jsx)("path",{d:"M24.1,4.6a14.4,14.4,0,0,0-3.9-2l-.6,1.9a12.89,12.89,0,0,1,3.3,1.7Z"}),(0,a.jsx)("path",{d:"M20.3,29.3l-.6-1.9A11.48,11.48,0,0,1,16,28v2A21.42,21.42,0,0,0,20.3,29.3Z"}),e)}),m=i().forwardRef(function({children:e,size:t=16,...r},o){return i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},(0,a.jsx)("circle",{cx:"8",cy:"8",r:"6"}),e)}),g=i().forwardRef(function({children:e,size:t=16,...r},o){return i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M8,4A4,4,0,1,1,4,8,4.0045,4.0045,0,0,1,8,4M8,2a6,6,0,1,0,6,6A6,6,0,0,0,8,2Z"}),e)}),v=i().forwardRef(function({children:e,size:t=16,...r},o){return i().createElement(n.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},(0,a.jsx)("path",{d:"M17.4141 16 24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"}),e)})}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.exports}a.m=o,a.c=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>e+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@cc-openmrs/cc-esm-active-prescriptions:",a.l=(e,t,o,i)=>{if(r[e])r[e].push(t);else{var l,s;if(void 0!==o)for(var c=document.getElementsByTagName("script"),h=0;h<c.length;h++){var p=c[h];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+o){l=p;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",n+o),l.src=e),r[e]=[t];var f=(t,n)=>{l.onerror=l.onload=null,clearTimeout(u);var o=r[e];if(delete r[e],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach(e=>e(n)),t)return t(n)},u=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{a.S={};var e={},t={};a.I=(r,n)=>{n||(n=[]);var o=t[r];if(o||(o=t[r]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[r])return e[r];a.o(a.S,r)||(a.S[r]={});var i=a.S[r],l="@cc-openmrs/cc-esm-active-prescriptions",s=(e,t,r,n)=>{var o=i[e]=i[e]||{},a=o[t];(!a||!a.loaded&&(!n!=!a.eager?n:l>a.from))&&(o[t]={get:r,from:l,eager:!!n})},c=[];return"default"===r&&(s("@carbon/react","1.106.0",()=>Promise.all([a.e(875),a.e(184),a.e(761),a.e(72),a.e(646),a.e(237)]).then(()=>()=>a(761))),s("@openmrs/esm-framework","9.0.2",()=>Promise.all([a.e(177),a.e(875),a.e(635),a.e(311),a.e(533),a.e(72),a.e(646),a.e(559),a.e(995),a.e(463),a.e(618)]).then(()=>()=>a(533))),s("@openmrs/esm-styleguide","9.0.2",()=>Promise.all([a.e(177),a.e(875),a.e(635),a.e(311),a.e(72),a.e(646),a.e(559),a.e(995),a.e(463),a.e(647)]).then(()=>()=>a(311))),s("react-dom","18.3.1",()=>Promise.all([a.e(961),a.e(72)]).then(()=>()=>a(961))),s("react-i18next","16.5.8",()=>Promise.all([a.e(635),a.e(692),a.e(72)]).then(()=>()=>a(3311))),s("react","18.3.1",()=>a.e(540).then(()=>()=>a(6540))),s("swr/immutable","2.4.1",()=>Promise.all([a.e(177),a.e(72),a.e(225)]).then(()=>()=>a(4225))),s("swr/infinite","2.4.1",()=>Promise.all([a.e(177),a.e(72),a.e(41)]).then(()=>()=>a(3041)))),e[r]=c.length?Promise.all(c).then(()=>e[r]=1):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map(e=>+e==e?+e:e),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},t=e=>{var r=e[0],n="";if(1===e.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,n+="u"==(typeof(l=e[i]))[0]?"-":(o>0?".":"")+(o=2,l);return n}var a=[];for(i=1;i<e.length;i++){var l=e[i];a.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?a.pop()+" "+a.pop():t(l))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},r=(t,n)=>{if(0 in t){n=e(n);var o=t[0],i=o<0;i&&(o=-o-1);for(var a=0,l=1,s=!0;;l++,a++){var c,h,p=l<t.length?(typeof t[l])[0]:"";if(a>=n.length||"o"==(h=(typeof(c=n[a]))[0]))return!s||("u"==p?l>o&&!i:""==p!=i);if("u"==h){if(!s||"u"!=p)return!1}else if(s)if(p==h)if(l<=o){if(c!=t[l])return!1}else{if(i?c>t[l]:c<t[l])return!1;c!=t[l]&&(s=!1)}else if("s"!=p&&"n"!=p){if(i||l<=o)return!1;s=!1,l--}else{if(l<=o||h<p!=i)return!1;s=!1}else"s"!=p&&"n"!=p&&(s=!1,l--)}}var f=[],u=f.pop.bind(f);for(a=1;a<t.length;a++){var d=t[a];f.push(1==d?u()|u():2==d?u()&u():d?r(d,n):!u())}return!!u()},n=(t,r,n)=>{var o=n?(e=>Object.keys(e).reduce((t,r)=>(e[r].eager&&(t[r]=e[r]),t),{}))(t[r]):t[r];return Object.keys(o).reduce((t,r)=>!t||!o[t].loaded&&((t,r)=>{t=e(t),r=e(r);for(var n=0;;){if(n>=t.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=t[n],i=(typeof o)[0];if(n>=r.length)return"u"==i;var a=r[n],l=(typeof a)[0];if(i!=l)return"o"==i&&"n"==l||"s"==l||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;n++}})(t,r)?r:t,0)},o=(e,t,r)=>r?r():((e,t)=>(e=>{throw new Error(e)})("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),i=(e=>function(t,r,n,o,i){var l=a.I(t);return l&&l.then&&!n?l.then(e.bind(e,t,a.S[t],r,!1,o,i)):e(t,a.S[t],r,n,o,i)})((e,i,l,s,c,h)=>{if(!((e,t)=>e&&a.o(e,t))(i,l))return o(e,l,h);var p,f,u=n(i,l,s);return r(c,u)||(f=((e,r,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[r][n].from)+" of shared singleton module "+r+" (required "+t(o)+")")(i,l,u,c),"undefined"!=typeof console&&console.warn&&console.warn(f)),(p=i[l][u]).loaded=1,p.get()}),l={},s={6920:()=>i("default","@openmrs/esm-framework",!1,[1,9],()=>Promise.all([a.e(177),a.e(875),a.e(635),a.e(311),a.e(533),a.e(646),a.e(559),a.e(995)]).then(()=>()=>a(533))),6072:()=>i("default","react",!1,[1,18],()=>a.e(540).then(()=>()=>a(6540))),3806:()=>i("default","@openmrs/esm-styleguide",!1,[1,9],()=>Promise.all([a.e(177),a.e(875),a.e(635),a.e(311),a.e(646),a.e(559),a.e(995)]).then(()=>()=>a(311))),2076:()=>i("default","react-i18next",!1,[1,16],()=>Promise.all([a.e(635),a.e(692)]).then(()=>()=>a(3311))),559:()=>i("default","@carbon/react",!1,[1,1],()=>Promise.all([a.e(875),a.e(184),a.e(761),a.e(646)]).then(()=>()=>a(761))),2646:()=>i("default","react-dom",!1,[1,18],()=>a.e(961).then(()=>()=>a(961))),4209:()=>i("default","swr/immutable",!1,[1,2],()=>a.e(606).then(()=>()=>a(4225))),6339:()=>i("default","swr/infinite",!1,[1,2],()=>a.e(422).then(()=>()=>a(3041)))};[6920,6072,3806,2076].forEach(e=>{a.m[e]=t=>{l[e]=0,delete a.c[e];var r=s[e]();if("function"!=typeof r)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=r()}});var c={72:[6072],463:[2076,6920],559:[559],646:[2646],792:[6920,6072,3806,2076],995:[4209,6339]},h={};a.f.consumes=(e,t)=>{a.o(c,e)&&c[e].forEach(e=>{if(a.o(l,e))return t.push(l[e]);if(!h[e]){var r=t=>{l[e]=0,a.m[e]=r=>{delete a.c[e],r.exports=t()}};h[e]=!0;var n=t=>{delete l[e],a.m[e]=r=>{throw delete a.c[e],t}};try{var o=s[e]();o.then?t.push(l[e]=o.then(r).catch(n)):r(o)}catch(e){n(e)}}})}})(),(()=>{var e={31:0,72:0,184:0,237:0,463:0,618:0,647:0,792:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(463|559|646|72|995)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=a.p+a.u(t),l=new Error;a.l(i,r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",l.name="ChunkLoadError",l.type=o,l.request=i,n[1](l)}},"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,l,s]=r,c=0;if(i.some(t=>0!==e[t])){for(n in l)a.o(l,n)&&(a.m[n]=l[n]);s&&s(a)}for(t&&t(r);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),a.nc=void 0,a(2499)})();
|
|
1
|
+
(()=>{var e,r,t,n,o={2499(e,r,t){"use strict";var n=t(7224),o=(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."),t(6072)),a=t(2076);var i={featureName:"active-prescriptions",moduleName:"@cc-openmrs/cc-esm-active-prescriptions"};t(4767),(0,n.getAsyncLifecycle)(function(){return t.e(319).then(t.bind(t,4319))},i),(0,n.getAsyncLifecycle)(function(){return t.e(966).then(t.bind(t,966))},i),(0,n.getAsyncLifecycle)(function(){return t.e(537).then(t.bind(t,1537))},i),(0,n.getSyncLifecycle)(function(){var e=(0,(0,a.useTranslation)().t)("activePrescriptions","Active prescriptions");return o.createElement(n.ActionMenuButton2,{icon:function(e){return o.createElement(n.EventsIcon,e)},label:e,workspaceToLaunch:{workspaceName:"active-prescriptions-workspace"}})},i),(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(779),t.e(464),t.e(465),t.e(63)]).then(t.bind(t,1063))},i)},4767(e,r,t){var n={"./am.json":[1197,[197]],"./en.json":[4300,[300]],"./es.json":[3099,[99]],"./fr.json":[4055,[55]],"./he.json":[4652,[652]],"./km.json":[4335,[335]],"./pt.json":[6679,[679]]};function o(e){try{if(!t.o(n,e))return Promise.resolve().then(()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r})}catch(e){return Promise.reject(e)}var r=n[e],o=r[0];return t.e(r[1][0]).then(()=>t(o))}o.keys=()=>Object.keys(n),o.id=4767,e.exports=o}},a={};function i(e){var r=a[e];if(void 0!==r)return r.exports;var t=a[e]={id:e,exports:{}};return o[e].call(t.exports,t,t.exports,i),t.exports}i.m=o,i.c=a,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 o=Object.create(null);i.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var s=2&n&&t;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach(e=>a[e]=()=>t[e]);return a.default=()=>t,i.d(o,a),o},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.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@cc-openmrs/cc-esm-active-prescriptions:",i.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var s,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var f=l[u];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+o){s=f;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",n+o),s.src=e),t[e]=[r];var p=(r,n)=>{s.onerror=s.onload=null,clearTimeout(d);var o=t[e];if(delete t[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(e=>e(n)),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{i.S={};var e={},r={};i.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var a=i.S[t],s="@cc-openmrs/cc-esm-active-prescriptions",c=(e,r,t,n)=>{var o=a[e]=a[e]||{},i=o[r];(!i||!i.loaded&&(!n!=!i.eager?n:s>i.from))&&(o[r]={get:t,from:s,eager:!!n})},l=[];return"default"===t&&(c("@openmrs/esm-framework","9.0.3-pre.4643",()=>Promise.all([i.e(961),i.e(478),i.e(779),i.e(116),i.e(72),i.e(465),i.e(148),i.e(76)]).then(()=>()=>i(6116))),c("dayjs","1.11.20",()=>i.e(353).then(()=>()=>i(6734))),c("react-i18next","16.6.6",()=>Promise.all([i.e(478),i.e(311),i.e(72)]).then(()=>()=>i(3311))),c("react-router-dom","6.30.3",()=>Promise.all([i.e(961),i.e(282),i.e(72)]).then(()=>()=>i(282))),c("react","18.3.1",()=>i.e(540).then(()=>()=>i(6540))),c("rxjs","6.6.7",()=>i.e(184).then(()=>()=>i(3184))),c("swr/_internal","2.2.5",()=>Promise.all([i.e(993),i.e(72)]).then(()=>()=>i(4993))),c("swr/immutable","2.2.5",()=>Promise.all([i.e(72),i.e(465),i.e(606)]).then(()=>()=>i(4225))),c("swr/infinite","2.2.5",()=>Promise.all([i.e(72),i.e(465),i.e(422)]).then(()=>()=>i(3041)))),e[t]=l.length?Promise.all(l).then(()=>e[t]=1):1}}})(),(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var r=globalThis.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(/^blob:/,"").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 o=1,a=1;a<e.length;a++)o--,n+="u"==(typeof(s=e[a]))[0]?"-":(o>0?".":"")+(o=2,s);return n}var i=[];for(a=1;a<e.length;a++){var s=e[a];i.push(0===s?"not("+c()+")":1===s?"("+c()+" || "+c()+")":2===s?i.pop()+" "+i.pop():r(s))}return c();function c(){return i.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var o=r[0],a=o<0;a&&(o=-o-1);for(var i=0,s=1,c=!0;;s++,i++){var l,u,f=s<r.length?(typeof r[s])[0]:"";if(i>=n.length||"o"==(u=(typeof(l=n[i]))[0]))return!c||("u"==f?s>o&&!a:""==f!=a);if("u"==u){if(!c||"u"!=f)return!1}else if(c)if(f==u)if(s<=o){if(l!=r[s])return!1}else{if(a?l>r[s]:l<r[s])return!1;l!=r[s]&&(c=!1)}else if("s"!=f&&"n"!=f){if(a||s<=o)return!1;c=!1,s--}else{if(s<=o||u<f!=a)return!1;c=!1}else"s"!=f&&"n"!=f&&(c=!1,s--)}}var p=[],d=p.pop.bind(p);for(i=1;i<r.length;i++){var h=r[i];p.push(1==h?d()|d():2==h?d()&d():h?t(h,n):!d())}return!!d()},n=(r,t,n)=>{var o=n?(e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}))(r[t]):r[t];return Object.keys(o).reduce((r,t)=>!r||!o[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 o=r[n],a=(typeof o)[0];if(n>=t.length)return"u"==a;var i=t[n],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}})(r,t)?t:r,0)},o=(e,r,t)=>t?t():((e,r)=>(e=>{throw new Error(e)})("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),a=(e=>function(r,t,n,o,a){var s=i.I(r);return s&&s.then&&!n?s.then(e.bind(e,r,i.S[r],t,!1,o,a)):e(r,i.S[r],t,n,o,a)})((e,a,s,c,l,u)=>{if(!((e,r)=>e&&i.o(e,r))(a,s))return o(e,s,u);var f,p,d=n(a,s,c);return t(l,d)||(p=((e,t,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(o)+")")(a,s,d,l),"undefined"!=typeof console&&console.warn&&console.warn(p)),(f=a[s][d]).loaded=1,f.get()}),s={},c={7224:()=>a("default","@openmrs/esm-framework",!1,[1,9],()=>Promise.all([i.e(961),i.e(478),i.e(779),i.e(116),i.e(465),i.e(148)]).then(()=>()=>i(6116))),6072:()=>a("default","react",!1,[1,18],()=>i.e(540).then(()=>()=>i(6540))),2076:()=>a("default","react-i18next",!1,[1,16],()=>Promise.all([i.e(478),i.e(311)]).then(()=>()=>i(3311))),8465:()=>a("default","swr/_internal",!1,[1,2],()=>i.e(993).then(()=>()=>i(4993))),231:()=>a("default","dayjs",!1,[1,1],()=>i.e(353).then(()=>()=>i(6734))),3083:()=>a("default","rxjs",!1,[1,6],()=>i.e(184).then(()=>()=>i(3184))),4209:()=>a("default","swr/immutable",!1,[1,2],()=>i.e(225).then(()=>()=>i(4225))),6339:()=>a("default","swr/infinite",!1,[1,2],()=>i.e(41).then(()=>()=>i(3041))),7114:()=>a("default","react-router-dom",!1,[1,6],()=>i.e(282).then(()=>()=>i(282)))};[7224,6072,2076].forEach(e=>{i.m[e]=r=>{s[e]=0,delete i.c[e];var t=c[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}});var l={72:[6072],76:[2076],148:[231,3083,4209,6339,7114],465:[8465],792:[7224,6072,2076]},u={};i.f.consumes=(e,r)=>{i.o(l,e)&&l[e].forEach(e=>{if(i.o(s,e))return r.push(s[e]);if(!u[e]){var t=r=>{s[e]=0,i.m[e]=t=>{delete i.c[e],t.exports=r()}};u[e]=!0;var n=r=>{delete s[e],i.m[e]=t=>{throw delete i.c[e],r}};try{var o=c[e]();o.then?r.push(s[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})}})(),(()=>{var e={72:0,76:0,499:0,792: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(/^(148|465|72|76)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=i.p+i.u(r),s=new Error;i.l(a,t=>{if(i.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;s.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,s,c]=t,l=0;if(a.some(r=>0!==e[r])){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);c&&c(i)}for(r&&r(t);l<a.length;l++)o=a[l],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),i.nc=void 0,i(2499)})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _cc_openmrs_cc_esm_active_prescriptions;(()=>{"use strict";var e,r,t,n,o,a,i,s,l,u,c,f,p,d,h,m,v,g,b,y,_,w={6487(e,r,t){var n={"./start":()=>Promise.all([t.e(72),t.e(76),t.e(499)]).then(()=>()=>t(2499))},o=(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),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==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:()=>o,init:()=>a})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,exports:{}};return w[e].call(t.exports,t,t.exports,S),t.exports}S.m=w,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.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 o=Object.create(null);S.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>a[e]=()=>t[e]);return a.default=()=>t,S.d(o,a),o},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+".js",S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@cc-openmrs/cc-esm-active-prescriptions:",S.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var c=l[u];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==n+o){i=c;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(p);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),s&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="@cc-openmrs/cc-esm-active-prescriptions",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},s=o[r];(!s||!s.loaded&&(!n!=!s.eager?n:i>s.from))&&(o[r]={get:t,from:i,eager:!!n})},l=[];return"default"===t&&(s("@openmrs/esm-framework","9.0.3-pre.4643",()=>Promise.all([S.e(961),S.e(478),S.e(779),S.e(116),S.e(72),S.e(465),S.e(148),S.e(76)]).then(()=>()=>S(6116))),s("dayjs","1.11.20",()=>S.e(353).then(()=>()=>S(6734))),s("react-i18next","16.6.6",()=>Promise.all([S.e(478),S.e(311),S.e(72)]).then(()=>()=>S(3311))),s("react-router-dom","6.30.3",()=>Promise.all([S.e(961),S.e(282),S.e(72)]).then(()=>()=>S(282))),s("react","18.3.1",()=>S.e(540).then(()=>()=>S(6540))),s("rxjs","6.6.7",()=>S.e(184).then(()=>()=>S(3184))),s("swr/_internal","2.2.5",()=>Promise.all([S.e(993),S.e(72)]).then(()=>()=>S(4993))),s("swr/immutable","2.2.5",()=>Promise.all([S.e(72),S.e(465),S.e(606)]).then(()=>()=>S(4225))),s("swr/infinite","2.2.5",()=>Promise.all([S.e(72),S.e(465),S.e(422)]).then(()=>()=>S(3041)))),e[t]=l.length?Promise.all(l).then(()=>e[t]=1):1}}})(),(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var r=globalThis.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(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),o=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},a=(e,r)=>{e=o(e),r=o(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],a=(typeof n)[0];if(t>=r.length)return"u"==a;var i=r[t],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&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,o=1;o<e.length;o++)n--,t+="u"==(typeof(s=e[o]))[0]?"-":(n>0?".":"")+(n=2,s);return t}var a=[];for(o=1;o<e.length;o++){var s=e[o];a.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?a.pop()+" "+a.pop():i(s))}return l();function l(){return a.pop().replace(/^\((.+)\)$/,"$1")}},s=(e,r)=>{if(0 in e){r=o(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var a=0,i=1,l=!0;;i++,a++){var u,c,f=i<e.length?(typeof e[i])[0]:"";if(a>=r.length||"o"==(c=(typeof(u=r[a]))[0]))return!l||("u"==f?i>t&&!n:""==f!=n);if("u"==c){if(!l||"u"!=f)return!1}else if(l)if(f==c)if(i<=t){if(u!=e[i])return!1}else{if(n?u>e[i]:u<e[i])return!1;u!=e[i]&&(l=!1)}else if("s"!=f&&"n"!=f){if(n||i<=t)return!1;l=!1,i--}else{if(i<=t||c<f!=n)return!1;l=!1}else"s"!=f&&"n"!=f&&(l=!1,i--)}}var p=[],d=p.pop.bind(p);for(a=1;a<e.length;a++){var h=e[a];p.push(1==h?d()|d():2==h?d()&d():h?s(h,r):!d())}return!!d()},l=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),c=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),f=(e,r,t)=>{var n=t?c(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&a(e,r)?r:e,0)},p=(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,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})((e,r,t,n,o,a)=>{if(!l(r,t))return m(e,t,a);var i=f(r,t,n);return s(o,i)||h(p(r,t,i,o)),u(r[t][i])}),g={},b={6072:()=>v("default","react",!1,[1,18],()=>S.e(540).then(()=>()=>S(6540))),8465:()=>v("default","swr/_internal",!1,[1,2],()=>S.e(993).then(()=>()=>S(4993))),231:()=>v("default","dayjs",!1,[1,1],()=>S.e(353).then(()=>()=>S(6734))),3083:()=>v("default","rxjs",!1,[1,6],()=>S.e(184).then(()=>()=>S(3184))),4209:()=>v("default","swr/immutable",!1,[1,2],()=>S.e(225).then(()=>()=>S(4225))),6339:()=>v("default","swr/infinite",!1,[1,2],()=>S.e(41).then(()=>()=>S(3041))),7114:()=>v("default","react-router-dom",!1,[1,6],()=>S.e(282).then(()=>()=>S(282))),2076:()=>v("default","react-i18next",!1,[1,16],()=>Promise.all([S.e(478),S.e(311)]).then(()=>()=>S(3311))),7224:()=>v("default","@openmrs/esm-framework",!1,[1,9],()=>Promise.all([S.e(961),S.e(478),S.e(779),S.e(116),S.e(465),S.e(148)]).then(()=>()=>S(6116)))},y={72:[6072],76:[2076],148:[231,3083,4209,6339,7114],465:[8465],499:[7224]},_={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach(e=>{if(S.o(g,e))return r.push(g[e]);if(!_[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};_[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=b[e]();o.then?r.push(g[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={338:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(148|465|72|76)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,s]=t,l=0;if(a.some(r=>0!==e[r])){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);s&&s(S)}for(r&&r(t);l<a.length;l++)o=a[l],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(6487);_cc_openmrs_cc_esm_active_prescriptions=j})();
|