@openmrs/esm-primary-navigation-app 4.0.0-pre.1 → 4.0.1-pre.204

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/.turbo/turbo-build.log +30 -33
  2. package/dist/146.js +1 -0
  3. package/dist/218.js +1 -1
  4. package/dist/246.js +2 -0
  5. package/dist/{135.js.LICENSE.txt → 246.js.LICENSE.txt} +0 -0
  6. package/dist/473.js +1 -1
  7. package/dist/656.js +1 -1
  8. package/dist/735.js +1 -1
  9. package/dist/788.js +1 -1
  10. package/dist/789.js +1 -1
  11. package/dist/857.js +2 -0
  12. package/dist/{24.js.LICENSE.txt → 857.js.LICENSE.txt} +0 -0
  13. package/dist/889.js +1 -1
  14. package/dist/889.js.LICENSE.txt +0 -2
  15. package/dist/98.js +1 -1
  16. package/dist/main.js +1 -1
  17. package/dist/openmrs-esm-primary-navigation-app.js +1 -1
  18. package/dist/openmrs-esm-primary-navigation-app.js.buildmanifest.json +71 -71
  19. package/dist/openmrs-esm-primary-navigation-app.old +1 -1
  20. package/package.json +5 -5
  21. package/src/components/choose-locale/change-locale.component.tsx +1 -1
  22. package/src/components/choose-locale/change-locale.scss +30 -29
  23. package/src/components/navbar/navbar.component.tsx +3 -3
  24. package/src/components/navbar-header-panels/app-menu-panel.component.tsx +1 -4
  25. package/src/components/navbar-header-panels/notifications-menu-panel.component.tsx +1 -4
  26. package/src/components/navbar-header-panels/notifications-menu.component.panel.scss +0 -16
  27. package/src/components/navbar-header-panels/user-menu-panel.component.tsx +1 -1
  28. package/src/index.ts +5 -1
  29. package/.turbo/turbo-lint.log +0 -2
  30. package/.turbo/turbo-test.log +0 -13
  31. package/.turbo/turbo-typescript.log +0 -2
  32. package/dist/135.js +0 -2
  33. package/dist/24.js +0 -2
  34. package/dist/979.js +0 -1
  35. package/yarn-error.log +0 -18822
@@ -1,3 +1 @@
1
1
  /*! For license information please see openmrs-esm-react-utils.js.LICENSE.txt */
2
-
3
- /*! For license information please see openmrs-esm-styleguide.js.LICENSE.txt */
package/dist/98.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_openmrs_esm_primary_navigation_app=self.webpackChunk_openmrs_esm_primary_navigation_app||[]).push([[98],{1580:(e,n,a)=>{a.d(n,{Z:()=>i});var r=a(361),t=a.n(r)()((function(e){return e[1]}));t.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__change-locale__productiveHeading01___rVgzW,.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul button{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__change-locale__productiveHeading02___7hPTk{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__change-locale__bodyLong01___ufII4,.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul div{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__change-locale__headerPanel___C5vQq{height:max-content}.-esm-primary-navigation__change-locale__primaryNavContainer___zClGn{height:var(--omrs-topnav-height)}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX{display:flex;flex-direction:column}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX label{color:#c6c6c6}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul button{width:100%;background-color:var(--brand-02)}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul div{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul div button{color:#78a9ff;margin-left:.5rem;width:5rem}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul div button:hover{background-color:#005d5d;background-color:var(--brand-01);color:#78a9ff}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX hr{background-color:#fff;width:18rem;margin:.5rem 0rem}",""]),t.locals={productiveHeading01:"-esm-primary-navigation__change-locale__productiveHeading01___rVgzW",switcherContainer:"-esm-primary-navigation__change-locale__switcherContainer___gmOBX",productiveHeading02:"-esm-primary-navigation__change-locale__productiveHeading02___7hPTk",bodyLong01:"-esm-primary-navigation__change-locale__bodyLong01___ufII4",headerPanel:"-esm-primary-navigation__change-locale__headerPanel___C5vQq",primaryNavContainer:"-esm-primary-navigation__change-locale__primaryNavContainer___zClGn"};const i=t},5098:(e,n,a)=>{a.r(n),a.d(n,{default:()=>x});var r=a(5776),t=a.n(r),i=a(487),o=a.n(i),c=a(631),l=a.n(c),_=a(2052),s=a.n(_),g=a(4010),m=a.n(g),u=a(1469),d=a.n(u),h=a(9329),p=a.n(h),v=a(1580),f={};f.styleTagTransform=p(),f.setAttributes=m(),f.insert=s().bind(null,"head"),f.domAPI=l(),f.insertStyleElement=d(),o()(v.Z,f);const y=v.Z&&v.Z.locals?v.Z.locals:void 0;var b=a(1793),w=a(6974),C=a(2680);function O(e,n){(null==n||n>e.length)&&(n=e.length);for(var a=0,r=new Array(n);a<n;a++)r[a]=e[a];return r}function P(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}const x=function(e){var n,a,i=e.allowedLocales,o=e.user,c=e.postUserProperties,l=(0,C.useTranslation)().t,_=(n=(0,r.useState)(o.userProperties),a=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,t,i=[],o=!0,c=!1;try{for(a=a.call(e);!(o=(r=a.next()).done)&&(i.push(r.value),!n||i.length!==n);o=!0);}catch(e){c=!0,t=e}finally{try{o||null==a.return||a.return()}finally{if(c)throw t}}return i}}(n,a)||function(e,n){if(e){if("string"==typeof e)return O(e,n);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?O(e,n):void 0}}(n,a)||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.")}()),s=_[0],g=_[1],m=null==i?void 0:i.map((function(e){return t().createElement(b.QlF,{text:e,value:e,key:e})}));return(0,r.useEffect)((function(){if(o.userProperties.defaultLocale!==s.defaultLocale){var e=new AbortController;return c(o.uuid,s,e),function(){return e.abort()}}}),[s]),t().createElement("div",{className:"omrs-margin-12 ".concat(y.switcherContainer)},t().createElement(b.PhF,{name:"selectLocale",id:"selectLocale",invalidText:"A valid locale value is required",labelText:l("selectLocale","Select locale"),onChange:function(e){return g(function(e){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{},r=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),r.forEach((function(n){P(e,n,a[n])}))}return e}({},s,{defaultLocale:e.target.value}))},onClick:function(e){return e.stopPropagation()},value:s.defaultLocale},m),t().createElement(w.ExtensionSlot,{extensionSlotName:"user-panel-actions-slot"}))}}}]);
1
+ "use strict";(self.webpackChunk_openmrs_esm_primary_navigation_app=self.webpackChunk_openmrs_esm_primary_navigation_app||[]).push([[98],{1580:(e,n,r)=>{r.d(n,{Z:()=>i});var t=r(361),a=r.n(t)()((function(e){return e[1]}));a.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-primary-navigation__change-locale__productiveHeading01___rVgzW,.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul button{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-primary-navigation__change-locale__productiveHeading02___7hPTk{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-primary-navigation__change-locale__bodyLong01___ufII4,.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul div{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-primary-navigation__change-locale__headerPanel___C5vQq{height:max-content}.-esm-primary-navigation__change-locale__primaryNavContainer___zClGn{height:var(--omrs-topnav-height)}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX{display:flex;flex-direction:column;padding:.5rem}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX label{color:#c6c6c6}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul button{width:100%;background-color:var(--brand-02)}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul div{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul div button{color:#78a9ff;margin-left:.5rem;width:5rem}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX ul div button:hover{background-color:#005d5d;background-color:var(--brand-01);color:#78a9ff}.-esm-primary-navigation__change-locale__switcherContainer___gmOBX hr{background-color:#fff;width:18rem;margin:.5rem 0rem}",""]),a.locals={productiveHeading01:"-esm-primary-navigation__change-locale__productiveHeading01___rVgzW",switcherContainer:"-esm-primary-navigation__change-locale__switcherContainer___gmOBX",productiveHeading02:"-esm-primary-navigation__change-locale__productiveHeading02___7hPTk",bodyLong01:"-esm-primary-navigation__change-locale__bodyLong01___ufII4",headerPanel:"-esm-primary-navigation__change-locale__headerPanel___C5vQq",primaryNavContainer:"-esm-primary-navigation__change-locale__primaryNavContainer___zClGn"};const i=a},5098:(e,n,r)=>{r.r(n),r.d(n,{default:()=>j});var t=r(5776),a=r.n(t),i=r(487),o=r.n(i),c=r(631),l=r.n(c),_=r(2052),s=r.n(_),g=r(4010),m=r.n(g),u=r(1469),d=r.n(u),p=r(9329),h=r.n(p),v=r(1580),f={};f.styleTagTransform=h(),f.setAttributes=m(),f.insert=s().bind(null,"head"),f.domAPI=l(),f.insertStyleElement=d(),o()(v.Z,f);const y=v.Z&&v.Z.locals?v.Z.locals:void 0;var b=r(7914),w=r(6974),O=r(2680);function C(e,n){(null==n||n>e.length)&&(n=e.length);for(var r=0,t=new Array(n);r<n;r++)t[r]=e[r];return t}function P(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}const j=function(e){var n,r,i=e.allowedLocales,o=e.user,c=e.postUserProperties,l=(0,O.useTranslation)().t,_=(n=(0,t.useState)(o.userProperties),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var t,a,i=[],o=!0,c=!1;try{for(r=r.call(e);!(o=(t=r.next()).done)&&(i.push(t.value),!n||i.length!==n);o=!0);}catch(e){c=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(c)throw a}}return i}}(n,r)||function(e,n){if(e){if("string"==typeof e)return C(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(e,n):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=_[0],g=_[1],m=null==i?void 0:i.map((function(e){return a().createElement(b.QlF,{text:e,value:e,key:e})}));return(0,t.useEffect)((function(){if(o.userProperties.defaultLocale!==s.defaultLocale){var e=new AbortController;return c(o.uuid,s,e),function(){return e.abort()}}}),[s]),a().createElement("div",{className:"omrs-margin-12 ".concat(y.switcherContainer)},a().createElement(b.PhF,{name:"selectLocale",id:"selectLocale",invalidText:"A valid locale value is required",labelText:l("selectLocale","Select locale"),onChange:function(e){return g((n=function(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},t=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),t.forEach((function(n){P(e,n,r[n])}))}return e}({},s),r=null!=(r={defaultLocale:e.target.value})?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):function(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))})),n));var n,r},onClick:function(e){return e.stopPropagation()},value:s.defaultLocale},m),a().createElement(w.ExtensionSlot,{name:"user-panel-actions-slot"}))}}}]);
package/dist/main.js CHANGED
@@ -1 +1 @@
1
- (()=>{var t,e,r={1602:t=>{var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return x()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=f(t,e,r);if("normal"===c.type){if(n=r.done?d:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",v={};function m(){}function g(){}function w(){}var y={};c(y,i,(function(){return this}));var E=Object.getPrototypeOf,b=E&&E(E(L([])));b&&b!==r&&n.call(b,i)&&(y=b);var O=w.prototype=m.prototype=Object.create(y);function T(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function r(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function L(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:x}}function x(){return{value:e,done:!0}}return g.prototype=w,c(O,"constructor",w),c(w,"constructor",g),g.displayName=c(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,c(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},T(P.prototype),c(P.prototype,a,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(O),c(O,u,"Generator"),c(O,i,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=L,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},6639:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>u,genericLinkConfigSchema:()=>a});var n=r(5776),o=r.n(n),i=r(6974),a={title:{_default:"New Link",_type:i.Type.String},target:{_default:"#",_type:i.Type.String,_description:"The URL to link to.",_validators:[i.validators.isUrl]}};function u(){var t=(0,i.useConfig)();return o().createElement(i.ConfigurableLink,{to:t.target},t.title)}},1217:(t,e,r)=>{"use strict";r.d(e,{O:()=>n,e:()=>o});var n="user-property-change",o="@openmrs/esm-primary-navigation-app"},789:(t,e,r)=>{"use strict";var n=r(6974);r(1602),r(8478),n.Type.String,n.Type.String,n.Type.String,n.Type.Array,n.Type.String,n.Type.String,n.validators.isUrl;var o=r(1217),i=Object.freeze({__proto__:null,get start(){return $t},get ensureJQuerySupport(){return vt},get setBootstrapMaxTime(){return V},get setMountMaxTime(){return Y},get setUnmountMaxTime(){return z},get setUnloadMaxTime(){return X},get registerApplication(){return At},get unregisterApplication(){return Lt},get getMountedApps(){return Pt},get getAppStatus(){return _t},get unloadApplication(){return xt},get checkActivityFunctions(){return Nt},get getAppNames(){return St},get pathToActiveWhen(){return Ut},get navigateToUrl(){return at},get triggerAppChange(){return Ct},get addErrorHandler(){return p},get removeErrorHandler(){return h},get mountRootParcel(){return K},get NOT_LOADED(){return m},get LOADING_SOURCE_CODE(){return g},get NOT_BOOTSTRAPPED(){return w},get BOOTSTRAPPING(){return y},get NOT_MOUNTED(){return E},get MOUNTING(){return b},get UPDATING(){return T},get LOAD_ERROR(){return S},get MOUNTED(){return O},get UNMOUNTING(){return P},get SKIP_BECAUSE_BROKEN(){return _}});function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{}).CustomEvent,s=function(){try{var t=new c("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?c:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var r=document.createEvent("CustomEvent");return e?r.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):r.initCustomEvent(t,!1,!1,void 0),r}:function(t,e){var r=document.createEventObject();return r.type=t,e?(r.bubbles=Boolean(e.bubbles),r.cancelable=Boolean(e.cancelable),r.detail=e.detail):(r.bubbles=!1,r.cancelable=!1,r.detail=void 0),r},f=[];function l(t,e,r){var n=v(t,e,r);f.length?f.forEach((function(t){return t(n)})):setTimeout((function(){throw n}))}function p(t){if("function"!=typeof t)throw Error(d(28,!1));f.push(t)}function h(t){if("function"!=typeof t)throw Error(d(29,!1));var e=!1;return f=f.filter((function(r){var n=r===t;return e=e||n,!n})),e}function d(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return"single-spa minified message #".concat(t,": ").concat(e?e+" ":"","See https://single-spa.js.org/error/?code=").concat(t).concat(n.length?"&arg=".concat(n.join("&arg=")):"")}function v(t,e,r){var n,o="".concat(j(e)," '").concat(L(e),"' died in status ").concat(e.status,": ");if(t instanceof Error){try{t.message=o+t.message}catch(t){}n=t}else{console.warn(d(30,!1,e.status,L(e)));try{n=Error(o+JSON.stringify(t))}catch(e){n=t}}return n.appOrParcelName=L(e),e.status=r,n}var m="NOT_LOADED",g="LOADING_SOURCE_CODE",w="NOT_BOOTSTRAPPED",y="BOOTSTRAPPING",E="NOT_MOUNTED",b="MOUNTING",O="MOUNTED",T="UPDATING",P="UNMOUNTING",S="LOAD_ERROR",_="SKIP_BECAUSE_BROKEN";function A(t){return t.status===O}function N(t){try{return t.activeWhen(window.location)}catch(e){return l(e,t,_),!1}}function L(t){return t.name}function x(t){return Boolean(t.unmountThisParcel)}function j(t){return x(t)?"parcel":"application"}function k(){for(var t=arguments.length-1;t>0;t--)for(var e in arguments[t])"__proto__"!==e&&(arguments[t-1][e]=arguments[t][e]);return arguments[0]}function U(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return t[r];return null}function D(t){return t&&("function"==typeof t||(e=t,Array.isArray(e)&&!U(e,(function(t){return"function"!=typeof t}))));var e}function M(t,e){var r=t[e]||[];0===(r=Array.isArray(r)?r:[r]).length&&(r=[function(){return Promise.resolve()}]);var n=j(t),o=L(t);return function(t){return r.reduce((function(r,i,a){return r.then((function(){var r=i(t);return R(r)?r:Promise.reject(d(15,!1,n,o,e,a))}))}),Promise.resolve())}}function R(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function C(t,e){return Promise.resolve().then((function(){return t.status!==w?t:(t.status=y,t.bootstrap?Z(t,"bootstrap").then(r).catch((function(r){if(e)throw v(r,t,_);return l(r,t,_),t})):Promise.resolve().then(r))}));function r(){return t.status=E,t}}function G(t,e){return Promise.resolve().then((function(){if(t.status!==O)return t;t.status=P;var r=Object.keys(t.parcels).map((function(e){return t.parcels[e].unmountThisParcel()}));return Promise.all(r).then(n,(function(r){return n().then((function(){var n=Error(r.message);if(e)throw v(n,t,_);l(n,t,_)}))})).then((function(){return t}));function n(){return Z(t,"unmount").then((function(){t.status=E})).catch((function(r){if(e)throw v(r,t,_);l(r,t,_)}))}}))}var I=!1,B=!1;function $(t,e){return Promise.resolve().then((function(){return t.status!==E?t:(I||(window.dispatchEvent(new s("single-spa:before-first-mount")),I=!0),Z(t,"mount").then((function(){return t.status=O,B||(window.dispatchEvent(new s("single-spa:first-mount")),B=!0),t})).catch((function(r){return t.status=O,G(t,!0).then(n,n);function n(){if(e)throw v(r,t,_);return l(r,t,_),t}})))}))}var W=0,F={parcels:{}};function K(){return q.apply(F,arguments)}function q(t,e){var r=this;if(!t||"object"!==a(t)&&"function"!=typeof t)throw Error(d(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(d(3,!1,a(t.name)));if("object"!==a(e))throw Error(d(4,!1,name,a(e)));if(!e.domElement)throw Error(d(5,!1,name));var n,o=W++,i="function"==typeof t,u=i?t:function(){return Promise.resolve(t)},c={id:o,parcels:{},status:i?g:w,customProps:e,parentName:L(r),unmountThisParcel:function(){return h.then((function(){if(c.status!==O)throw Error(d(6,!1,name,c.status));return G(c,!0)})).then((function(t){return c.parentName&&delete r.parcels[c.id],t})).then((function(t){return f(t),t})).catch((function(t){throw c.status=_,l(t),t}))}};r.parcels[o]=c;var s=u();if(!s||"function"!=typeof s.then)throw Error(d(7,!1));var f,l,p=(s=s.then((function(t){if(!t)throw Error(d(8,!1));var e=t.name||"parcel-".concat(o);if(Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!D(t.bootstrap))throw Error(d(9,!1,e));if(!D(t.mount))throw Error(d(10,!1,e));if(!D(t.unmount))throw Error(d(11,!1,e));if(t.update&&!D(t.update))throw Error(d(12,!1,e));var r=M(t,"bootstrap"),i=M(t,"mount"),a=M(t,"unmount");c.status=w,c.name=e,c.bootstrap=r,c.mount=i,c.unmount=a,c.timeouts=tt(t.timeouts),t.update&&(c.update=M(t,"update"),n.update=function(t){return c.customProps=t,J(function(t){return Promise.resolve().then((function(){if(t.status!==O)throw Error(d(32,!1,L(t)));return t.status=T,Z(t,"update").then((function(){return t.status=O,t})).catch((function(e){throw v(e,t,_)}))}))}(c))})}))).then((function(){return C(c,!0)})),h=p.then((function(){return $(c,!0)})),m=new Promise((function(t,e){f=t,l=e}));return n={mount:function(){return J(Promise.resolve().then((function(){if(c.status!==E)throw Error(d(13,!1,name,c.status));return r.parcels[o]=c,$(c)})))},unmount:function(){return J(c.unmountThisParcel())},getStatus:function(){return c.status},loadPromise:J(s),bootstrapPromise:J(p),mountPromise:J(h),unmountPromise:J(m)}}function J(t){return t.then((function(){return null}))}function H(t){var e=L(t),r="function"==typeof t.customProps?t.customProps(e,window.location):t.customProps;("object"!==a(r)||null===r||Array.isArray(r))&&(r={},console.warn(d(40,!1),e,r));var n=k({},r,{name:e,mountParcel:q.bind(t),singleSpa:i});return x(t)&&(n.unmountSelf=t.unmountThisParcel),n}var Q={bootstrap:{millis:4e3,dieOnTimeout:!1,warningMillis:1e3},mount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unmount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unload:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},update:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3}};function V(t,e,r){if("number"!=typeof t||t<=0)throw Error(d(16,!1));Q.bootstrap={millis:t,dieOnTimeout:e,warningMillis:r||1e3}}function Y(t,e,r){if("number"!=typeof t||t<=0)throw Error(d(17,!1));Q.mount={millis:t,dieOnTimeout:e,warningMillis:r||1e3}}function z(t,e,r){if("number"!=typeof t||t<=0)throw Error(d(18,!1));Q.unmount={millis:t,dieOnTimeout:e,warningMillis:r||1e3}}function X(t,e,r){if("number"!=typeof t||t<=0)throw Error(d(19,!1));Q.unload={millis:t,dieOnTimeout:e,warningMillis:r||1e3}}function Z(t,e){var r=t.timeouts[e],n=r.warningMillis,o=j(t);return new Promise((function(i,a){var u=!1,c=!1;t[e](H(t)).then((function(t){u=!0,i(t)})).catch((function(t){u=!0,a(t)})),setTimeout((function(){return f(1)}),n),setTimeout((function(){return f(!0)}),r.millis);var s=d(31,!1,e,o,L(t),r.millis);function f(t){if(!u)if(!0===t)c=!0,r.dieOnTimeout?a(Error(s)):console.error(s);else if(!c){var e=t,o=e*n;console.warn(s),o+n<r.millis&&setTimeout((function(){return f(e+1)}),n)}}}))}function tt(t){var e={};for(var r in Q)e[r]=k({},Q[r],t&&t[r]||{});return e}function et(t){return Promise.resolve().then((function(){return t.loadPromise?t.loadPromise:t.status!==m&&t.status!==S?t:(t.status=g,t.loadPromise=Promise.resolve().then((function(){var n=t.loadApp(H(t));if(!R(n))throw r=!0,Error(d(33,!1,L(t)));return n.then((function(r){var n;t.loadErrorTime=null,"object"!==a(e=r)&&(n=34),Object.prototype.hasOwnProperty.call(e,"bootstrap")&&!D(e.bootstrap)&&(n=35),D(e.mount)||(n=36),D(e.unmount)||(n=37);var o=j(e);if(n){var i;try{i=JSON.stringify(e)}catch(t){}return console.error(d(n,!1,o,L(t),i),e),l(void 0,t,_),t}return e.devtools&&e.devtools.overlays&&(t.devtools.overlays=k({},t.devtools.overlays,e.devtools.overlays)),t.status=w,t.bootstrap=M(e,"bootstrap"),t.mount=M(e,"mount"),t.unmount=M(e,"unmount"),t.unload=M(e,"unload"),t.timeouts=tt(e.timeouts),delete t.loadPromise,t}))})).catch((function(e){var n;return delete t.loadPromise,r?n=_:(n=S,t.loadErrorTime=(new Date).getTime()),l(e,t,n),t})));var e,r}))}var rt,nt="undefined"!=typeof window,ot={hashchange:[],popstate:[]},it=["hashchange","popstate"];function at(t){var e;if("string"==typeof t)e=t;else if(this&&this.href)e=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(d(14,!1));e=t.currentTarget.href,t.preventDefault()}var r=ht(window.location.href),n=ht(e);0===e.indexOf("#")?window.location.hash=n.hash:r.host!==n.host&&n.host?window.location.href=e:n.pathname===r.pathname&&n.search===r.search?window.location.hash=n.hash:window.history.pushState(null,null,e)}function ut(t){var e=this;if(t){var r=t[0].type;it.indexOf(r)>=0&&ot[r].forEach((function(r){try{r.apply(e,t)}catch(t){setTimeout((function(){throw t}))}}))}}function ct(){Gt([],arguments)}function st(t,e){return function(){var r=window.location.href,n=t.apply(this,arguments),o=window.location.href;return rt&&r===o||(Wt()?window.dispatchEvent(ft(window.history.state,e)):Gt([])),n}}function ft(t,e){var r;try{r=new PopStateEvent("popstate",{state:t})}catch(e){(r=document.createEvent("PopStateEvent")).initPopStateEvent("popstate",!1,!1,t)}return r.singleSpa=!0,r.singleSpaTrigger=e,r}if(nt){window.addEventListener("hashchange",ct),window.addEventListener("popstate",ct);var lt=window.addEventListener,pt=window.removeEventListener;window.addEventListener=function(t,e){if(!("function"==typeof e&&it.indexOf(t)>=0)||U(ot[t],(function(t){return t===e})))return lt.apply(this,arguments);ot[t].push(e)},window.removeEventListener=function(t,e){if(!("function"==typeof e&&it.indexOf(t)>=0))return pt.apply(this,arguments);ot[t]=ot[t].filter((function(t){return t!==e}))},window.history.pushState=st(window.history.pushState,"pushState"),window.history.replaceState=st(window.history.replaceState,"replaceState"),window.singleSpaNavigate?console.warn(d(41,!1)):window.singleSpaNavigate=at}function ht(t){var e=document.createElement("a");return e.href=t,e}var dt=!1;function vt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.jQuery;if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!dt){var e=t.fn.on,r=t.fn.off;t.fn.on=function(t,r){return mt.call(this,e,window.addEventListener,t,r,arguments)},t.fn.off=function(t,e){return mt.call(this,r,window.removeEventListener,t,e,arguments)},dt=!0}}function mt(t,e,r,n,o){return"string"!=typeof r?t.apply(this,o):(r.split(/\s+/).forEach((function(t){it.indexOf(t)>=0&&(e(t,n),r=r.replace(t,""))})),""===r.trim()?this:t.apply(this,o))}var gt={};function wt(t){return Promise.resolve().then((function(){var e=gt[L(t)];if(!e)return t;if(t.status===m)return yt(t,e),t;if("UNLOADING"===t.status)return e.promise.then((function(){return t}));if(t.status!==E&&t.status!==S)return t;var r=t.status===S?Promise.resolve():Z(t,"unload");return t.status="UNLOADING",r.then((function(){return yt(t,e),t})).catch((function(r){return function(t,e,r){delete gt[L(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,l(r,t,_),e.reject(r)}(t,e,r),t}))}))}function yt(t,e){delete gt[L(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=m,e.resolve()}function Et(t,e,r,n){gt[L(t)]={app:t,resolve:r,reject:n},Object.defineProperty(gt[L(t)],"promise",{get:e})}function bt(t){return gt[t]}var Ot=[];function Tt(){var t=[],e=[],r=[],n=[],o=(new Date).getTime();return Ot.forEach((function(i){var a=i.status!==_&&N(i);switch(i.status){case S:a&&o-i.loadErrorTime>=200&&r.push(i);break;case m:case g:a&&r.push(i);break;case w:case E:!a&&bt(L(i))?t.push(i):a&&n.push(i);break;case O:a||e.push(i)}})),{appsToUnload:t,appsToUnmount:e,appsToLoad:r,appsToMount:n}}function Pt(){return Ot.filter(A).map(L)}function St(){return Ot.map(L)}function _t(t){var e=U(Ot,(function(e){return L(e)===t}));return e?e.status:null}function At(t,e,r,n){var o=function(t,e,r,n){var o,i={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"===a(t)?(function(t){if(Array.isArray(t)||null===t)throw Error(d(39,!1));var e=["name","app","activeWhen","customProps"],r=Object.keys(t).reduce((function(t,r){return e.indexOf(r)>=0?t:t.concat(r)}),[]);if(0!==r.length)throw Error(d(38,!1,e.join(", "),r.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(d(20,!1));if("object"!==a(t.app)&&"function"!=typeof t.app)throw Error(d(20,!1));var n=function(t){return"string"==typeof t||"function"==typeof t};if(!(n(t.activeWhen)||Array.isArray(t.activeWhen)&&t.activeWhen.every(n)))throw Error(d(24,!1));if(!kt(t.customProps))throw Error(d(22,!1))}(t),i.name=t.name,i.loadApp=t.app,i.activeWhen=t.activeWhen,i.customProps=t.customProps):(function(t,e,r,n){if("string"!=typeof t||0===t.length)throw Error(d(20,!1));if(!e)throw Error(d(23,!1));if("function"!=typeof r)throw Error(d(24,!1));if(!kt(n))throw Error(d(22,!1))}(t,e,r,n),i.name=t,i.loadApp=e,i.activeWhen=r,i.customProps=n),i.loadApp="function"!=typeof(o=i.loadApp)?function(){return Promise.resolve(o)}:o,i.customProps=function(t){return t||{}}(i.customProps),i.activeWhen=function(t){var e=Array.isArray(t)?t:[t];return e=e.map((function(t){return"function"==typeof t?t:Ut(t)})),function(t){return e.some((function(e){return e(t)}))}}(i.activeWhen),i}(t,e,r,n);if(-1!==St().indexOf(o.name))throw Error(d(21,!1,o.name));Ot.push(k({loadErrorTime:null,status:m,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},o)),nt&&(vt(),Gt())}function Nt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;return Ot.filter((function(e){return e.activeWhen(t)})).map(L)}function Lt(t){if(0===Ot.filter((function(e){return L(e)===t})).length)throw Error(d(25,!1,t));return xt(t).then((function(){var e=Ot.map(L).indexOf(t);Ot.splice(e,1)}))}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof t)throw Error(d(26,!1));var r=U(Ot,(function(e){return L(e)===t}));if(!r)throw Error(d(27,!1,t));var n,o=bt(L(r));if(e&&e.waitForUnmount){if(o)return o.promise;var i=new Promise((function(t,e){Et(r,(function(){return i}),t,e)}));return i}return o?(n=o.promise,jt(r,o.resolve,o.reject)):n=new Promise((function(t,e){Et(r,(function(){return n}),t,e),jt(r,t,e)})),n}function jt(t,e,r){G(t).then(wt).then((function(){e(),setTimeout((function(){Gt()}))})).catch(r)}function kt(t){return!t||"function"==typeof t||"object"===a(t)&&null!==t&&!Array.isArray(t)}function Ut(t,e){var r=function(t,e){var r=0,n=!1,o="^";"/"!==t[0]&&(t="/"+t);for(var i=0;i<t.length;i++){var a=t[i];(!n&&":"===a||n&&"/"===a)&&u(i)}return u(t.length),new RegExp(o,"i");function u(i){var a=t.slice(r,i).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(o+=n?"[^/]+/?":a,i===t.length)if(n)e&&(o+="$");else{var u=e?"":".*";o="/"===o.charAt(o.length-1)?"".concat(o).concat(u,"$"):"".concat(o,"(/").concat(u,")?(#.*)?$")}n=!n,r=i}}(t,e);return function(t){var e=t.origin;e||(e="".concat(t.protocol,"//").concat(t.host));var n=t.href.replace(e,"").replace(t.search,"").split("?")[0];return r.test(n)}}var Dt=!1,Mt=[],Rt=nt&&window.location.href;function Ct(){return Gt()}function Gt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(Dt)return new Promise((function(t,r){Mt.push({resolve:t,reject:r,eventArguments:e})}));var r,n=Tt(),o=n.appsToUnload,i=n.appsToUnmount,a=n.appsToLoad,c=n.appsToMount,f=!1,l=Rt,p=Rt=window.location.href;return Wt()?(Dt=!0,r=o.concat(a,i,c),v()):(r=a,d());function h(){f=!0}function d(){return Promise.resolve().then((function(){var t=a.map(et);return Promise.all(t).then(w).then((function(){return[]})).catch((function(t){throw w(),t}))}))}function v(){return Promise.resolve().then((function(){if(window.dispatchEvent(new s(0===r.length?"single-spa:before-no-app-change":"single-spa:before-app-change",y(!0))),window.dispatchEvent(new s("single-spa:before-routing-event",y(!0,{cancelNavigation:h}))),f)return window.dispatchEvent(new s("single-spa:before-mount-routing-event",y(!0))),g(),void at(l);var e=o.map(wt),n=i.map(G).map((function(t){return t.then(wt)})).concat(e),u=Promise.all(n);u.then((function(){window.dispatchEvent(new s("single-spa:before-mount-routing-event",y(!0)))}));var p=a.map((function(t){return et(t).then((function(t){return It(t,u)}))})),d=c.filter((function(t){return a.indexOf(t)<0})).map((function(t){return It(t,u)}));return u.catch((function(t){throw w(),t})).then((function(){return w(),Promise.all(p.concat(d)).catch((function(e){throw t.forEach((function(t){return t.reject(e)})),e})).then(g)}))}))}function g(){var e=Pt();t.forEach((function(t){return t.resolve(e)}));try{var n=0===r.length?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new s(n,y())),window.dispatchEvent(new s("single-spa:routing-event",y()))}catch(t){setTimeout((function(){throw t}))}if(Dt=!1,Mt.length>0){var o=Mt;Mt=[],Gt(o)}return e}function w(){t.forEach((function(t){ut(t.eventArguments)})),ut(e)}function y(){var t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0,h={},d=(u(t={},O,[]),u(t,E,[]),u(t,m,[]),u(t,_,[]),t);n?(a.concat(c).forEach((function(t,e){g(t,O)})),o.forEach((function(t){g(t,m)})),i.forEach((function(t){g(t,E)}))):r.forEach((function(t){g(t)}));var v={detail:{newAppStatuses:h,appsByNewStatus:d,totalAppChanges:r.length,originalEvent:null==e?void 0:e[0],oldUrl:l,newUrl:p,navigationIsCanceled:f}};return s&&k(v.detail,s),v;function g(t,e){var r=L(t);e=e||_t(r),h[r]=e,(d[e]=d[e]||[]).push(r)}}}function It(t,e){return N(t)?C(t).then((function(t){return e.then((function(){return N(t)?$(t):t}))})):e.then((function(){return t}))}var Bt=!1;function $t(t){var e;Bt=!0,t&&t.urlRerouteOnly&&(e=t.urlRerouteOnly,rt=e),nt&&Gt()}function Wt(){return Bt}nt&&setTimeout((function(){Bt||console.warn(d(1,!1))}),5e3);var Ft={getRawAppData:function(){return[].concat(Ot)},reroute:Gt,NOT_LOADED:m,toLoadPromise:et,toBootstrapPromise:C,unregisterApplication:Lt};nt&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=Ft),r(6639),r(3979),o.e},3979:(t,e,r)=>{var n={"./en.json":[3574,574]};function o(t){if(!r.o(n,t))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=n[t],o=e[0];return r.e(e[1]).then((()=>r(o)))}o.keys=()=>Object.keys(n),o.id=3979,t.exports=o}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={id:t,loaded:!1,exports:{}};return r[t](i,i.exports,o),i.loaded=!0,i.exports}o.m=r,o.c=n,o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,r)=>(o.f[r](t,e),e)),[])),o.u=t=>t+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@openmrs/esm-primary-navigation-app:",o.l=(r,n,i,a)=>{if(t[r])t[r].push(n);else{var u,c;if(void 0!==i)for(var s=document.getElementsByTagName("script"),f=0;f<s.length;f++){var l=s[f];if(l.getAttribute("src")==r||l.getAttribute("data-webpack")==e+i){u=l;break}}u||(c=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.setAttribute("data-webpack",e+i),u.src=r),t[r]=[n];var p=(e,n)=>{u.onerror=u.onload=null,clearTimeout(h);var o=t[r];if(delete t[r],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((t=>t(n))),e)return e(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),c&&document.head.appendChild(u)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{o.S={};var t={},e={};o.I=(r,n)=>{n||(n=[]);var i=e[r];if(i||(i=e[r]={}),!(n.indexOf(i)>=0)){if(n.push(i),t[r])return t[r];o.o(o.S,r)||(o.S[r]={});var a=o.S[r],u="@openmrs/esm-primary-navigation-app",c=(t,e,r,n)=>{var o=a[t]=a[t]||{},i=o[e];(!i||!i.loaded&&(!n!=!i.eager?n:u>i.from))&&(o[e]={get:r,from:u,eager:!!n})},s=[];return"default"===r&&(c("@openmrs/esm-framework/src/internal","4.0.0-pre.1",(()=>Promise.all([o.e(776),o.e(889)]).then((()=>()=>o(4889))))),c("react-dom","18.1.0",(()=>Promise.all([o.e(788),o.e(776)]).then((()=>()=>o(2788))))),c("react-i18next","11.16.9",(()=>Promise.all([o.e(979),o.e(776)]).then((()=>()=>o(1979))))),c("react-router-dom","5.3.2",(()=>Promise.all([o.e(135),o.e(776),o.e(216)]).then((()=>()=>o(5135))))),c("react","18.1.0",(()=>o.e(735).then((()=>()=>o(2735)))))),t[r]=s.length?Promise.all(s).then((()=>t[r]=1)):1}}})(),(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t=t=>{var e=t=>t.split(".").map((t=>+t==t?+t:t)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(t),n=r[1]?e(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,e(r[2]))),r[3]&&(n.push([]),n.push.apply(n,e(r[3]))),n},e=t=>{var r=t[0],n="";if(1===t.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var o=1,i=1;i<t.length;i++)o--,n+="u"==(typeof(u=t[i]))[0]?"-":(o>0?".":"")+(o=2,u);return n}var a=[];for(i=1;i<t.length;i++){var u=t[i];a.push(0===u?"not("+c()+")":1===u?"("+c()+" || "+c()+")":2===u?a.pop()+" "+a.pop():e(u))}return c();function c(){return a.pop().replace(/^\((.+)\)$/,"$1")}},r=(e,n)=>{if(0 in e){n=t(n);var o=e[0],i=o<0;i&&(o=-o-1);for(var a=0,u=1,c=!0;;u++,a++){var s,f,l=u<e.length?(typeof e[u])[0]:"";if(a>=n.length||"o"==(f=(typeof(s=n[a]))[0]))return!c||("u"==l?u>o&&!i:""==l!=i);if("u"==f){if(!c||"u"!=l)return!1}else if(c)if(l==f)if(u<=o){if(s!=e[u])return!1}else{if(i?s>e[u]:s<e[u])return!1;s!=e[u]&&(c=!1)}else if("s"!=l&&"n"!=l){if(i||u<=o)return!1;c=!1,u--}else{if(u<=o||f<l!=i)return!1;c=!1}else"s"!=l&&"n"!=l&&(c=!1,u--)}}var p=[],h=p.pop.bind(p);for(a=1;a<e.length;a++){var d=e[a];p.push(1==d?h()|h():2==d?h()&h():d?r(d,n):!h())}return!!h()},n=(e,r)=>{var n=e[r];return Object.keys(n).reduce(((e,r)=>!e||!n[e].loaded&&((e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],i=(typeof o)[0];if(n>=r.length)return"u"==i;var a=r[n],u=(typeof a)[0];if(i!=u)return"o"==i&&"n"==u||"s"==u||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;n++}})(e,r)?r:e),0)},i=(t,o,i,u)=>{var c=n(t,i);return r(u,c)||"undefined"!=typeof console&&console.warn&&console.warn(((t,r,n,o)=>"Unsatisfied version "+n+" from "+(n&&t[r][n].from)+" of shared singleton module "+r+" (required "+e(o)+")")(t,i,c,u)),a(t[i][c])},a=t=>(t.loaded=1,t.get()),u=t=>function(e,r,n,i){var a=o.I(e);return a&&a.then?a.then(t.bind(t,e,o.S[e],r,n,i)):t(e,o.S[e],r,n,i)},c=u(((t,e,r,i)=>e&&o.o(e,r)?((t,e,r,o)=>{var i=n(t,r);return a(t[r][i])})(e,0,r):i())),s=u(((t,e,r,n,a)=>e&&o.o(e,r)?i(e,0,r,n):a())),f={},l={2680:()=>s("default","react-i18next",[1,11],(()=>o.e(979).then((()=>()=>o(1979))))),7743:()=>s("default","react-router-dom",[1,6],(()=>o.e(135).then((()=>()=>o(5135))))),5776:()=>s("default","react",[1,18],(()=>o.e(735).then((()=>()=>o(2735))))),6974:()=>s("default","@openmrs/esm-framework",[0,4,0,,"pre"],(()=>o.e(889).then((()=>()=>o(4889))))),8478:()=>c("default","@openmrs/esm-framework/src/internal",(()=>o.e(889).then((()=>()=>o(4889)))))};[6974,8478,5776].forEach((t=>{o.m[t]=e=>{f[t]=0,delete o.c[t];var r=l[t]();if("function"!=typeof r)throw new Error("Shared module is not available for eager consumption: "+t);e.exports=r()}}));var p={656:[7743],680:[2680],776:[5776]};o.f.consumes=(t,e)=>{o.o(p,t)&&p[t].forEach((t=>{if(o.o(f,t))return e.push(f[t]);var r=e=>{f[t]=0,o.m[t]=r=>{delete o.c[t],r.exports=e()}},n=e=>{delete f[t],o.m[t]=r=>{throw delete o.c[t],e}};try{var i=l[t]();i.then?e.push(f[t]=i.then(r).catch(n)):r(i)}catch(t){n(t)}}))}})(),(()=>{var t={179:0,776:0,789:0};o.f.j=(e,r)=>{var n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(680|776)$/.test(e))t[e]=0;else{var i=new Promise(((r,o)=>n=t[e]=[r,o]));r.push(n[2]=i);var a=o.p+o.u(e),u=new Error;o.l(a,(r=>{if(o.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,n[1](u)}}),"chunk-"+e,e)}};var e=(e,r)=>{var n,i,[a,u,c]=r,s=0;if(a.some((e=>0!==t[e]))){for(n in u)o.o(u,n)&&(o.m[n]=u[n]);c&&c(o)}for(e&&e(r);s<a.length;s++)i=a[s],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0},r=self.webpackChunk_openmrs_esm_primary_navigation_app=self.webpackChunk_openmrs_esm_primary_navigation_app||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),o(789)})();
1
+ (()=>{var t,e,r={1602:t=>{var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return x()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=f(t,e,r);if("normal"===c.type){if(n=r.done?d:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",v={};function m(){}function g(){}function w(){}var y={};c(y,i,(function(){return this}));var E=Object.getPrototypeOf,b=E&&E(E(L([])));b&&b!==r&&n.call(b,i)&&(y=b);var O=w.prototype=m.prototype=Object.create(y);function T(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function r(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function L(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:x}}function x(){return{value:e,done:!0}}return g.prototype=w,c(O,"constructor",w),c(w,"constructor",g),g.displayName=c(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,c(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},T(P.prototype),c(P.prototype,a,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(O),c(O,u,"Generator"),c(O,i,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=L,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},6639:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>u,genericLinkConfigSchema:()=>a});var n=r(5776),o=r.n(n),i=r(6974),a={title:{_default:"New Link",_type:i.Type.String},target:{_default:"#",_type:i.Type.String,_description:"The URL to link to.",_validators:[i.validators.isUrl]}};function u(){var t=(0,i.useConfig)();return o().createElement(i.ConfigurableLink,{to:t.target},t.title)}},1217:(t,e,r)=>{"use strict";r.d(e,{O:()=>n,e:()=>o});var n="user-property-change",o="@openmrs/esm-primary-navigation-app"},789:(t,e,r)=>{"use strict";var n=r(6974);r(1602),r(8478),n.Type.String,n.Type.String,n.Type.String,n.Type.Array,n.Type.String,n.Type.String,n.validators.isUrl;var o=r(1217),i=Object.freeze({__proto__:null,get start(){return $t},get ensureJQuerySupport(){return vt},get setBootstrapMaxTime(){return V},get setMountMaxTime(){return Y},get setUnmountMaxTime(){return z},get setUnloadMaxTime(){return X},get registerApplication(){return At},get unregisterApplication(){return Lt},get getMountedApps(){return Pt},get getAppStatus(){return _t},get unloadApplication(){return xt},get checkActivityFunctions(){return Nt},get getAppNames(){return St},get pathToActiveWhen(){return Ut},get navigateToUrl(){return at},get triggerAppChange(){return Ct},get addErrorHandler(){return p},get removeErrorHandler(){return h},get mountRootParcel(){return K},get NOT_LOADED(){return m},get LOADING_SOURCE_CODE(){return g},get NOT_BOOTSTRAPPED(){return w},get BOOTSTRAPPING(){return y},get NOT_MOUNTED(){return E},get MOUNTING(){return b},get UPDATING(){return T},get LOAD_ERROR(){return S},get MOUNTED(){return O},get UNMOUNTING(){return P},get SKIP_BECAUSE_BROKEN(){return _}});function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{}).CustomEvent,s=function(){try{var t=new c("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?c:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var r=document.createEvent("CustomEvent");return e?r.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):r.initCustomEvent(t,!1,!1,void 0),r}:function(t,e){var r=document.createEventObject();return r.type=t,e?(r.bubbles=Boolean(e.bubbles),r.cancelable=Boolean(e.cancelable),r.detail=e.detail):(r.bubbles=!1,r.cancelable=!1,r.detail=void 0),r},f=[];function l(t,e,r){var n=v(t,e,r);f.length?f.forEach((function(t){return t(n)})):setTimeout((function(){throw n}))}function p(t){if("function"!=typeof t)throw Error(d(28,!1));f.push(t)}function h(t){if("function"!=typeof t)throw Error(d(29,!1));var e=!1;return f=f.filter((function(r){var n=r===t;return e=e||n,!n})),e}function d(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return"single-spa minified message #".concat(t,": ").concat(e?e+" ":"","See https://single-spa.js.org/error/?code=").concat(t).concat(n.length?"&arg=".concat(n.join("&arg=")):"")}function v(t,e,r){var n,o="".concat(j(e)," '").concat(L(e),"' died in status ").concat(e.status,": ");if(t instanceof Error){try{t.message=o+t.message}catch(t){}n=t}else{console.warn(d(30,!1,e.status,L(e)));try{n=Error(o+JSON.stringify(t))}catch(e){n=t}}return n.appOrParcelName=L(e),e.status=r,n}var m="NOT_LOADED",g="LOADING_SOURCE_CODE",w="NOT_BOOTSTRAPPED",y="BOOTSTRAPPING",E="NOT_MOUNTED",b="MOUNTING",O="MOUNTED",T="UPDATING",P="UNMOUNTING",S="LOAD_ERROR",_="SKIP_BECAUSE_BROKEN";function A(t){return t.status===O}function N(t){try{return t.activeWhen(window.location)}catch(e){return l(e,t,_),!1}}function L(t){return t.name}function x(t){return Boolean(t.unmountThisParcel)}function j(t){return x(t)?"parcel":"application"}function k(){for(var t=arguments.length-1;t>0;t--)for(var e in arguments[t])"__proto__"!==e&&(arguments[t-1][e]=arguments[t][e]);return arguments[0]}function U(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return t[r];return null}function D(t){return t&&("function"==typeof t||(e=t,Array.isArray(e)&&!U(e,(function(t){return"function"!=typeof t}))));var e}function M(t,e){var r=t[e]||[];0===(r=Array.isArray(r)?r:[r]).length&&(r=[function(){return Promise.resolve()}]);var n=j(t),o=L(t);return function(t){return r.reduce((function(r,i,a){return r.then((function(){var r=i(t);return R(r)?r:Promise.reject(d(15,!1,n,o,e,a))}))}),Promise.resolve())}}function R(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function C(t,e){return Promise.resolve().then((function(){return t.status!==w?t:(t.status=y,t.bootstrap?Z(t,"bootstrap").then(r).catch((function(r){if(e)throw v(r,t,_);return l(r,t,_),t})):Promise.resolve().then(r))}));function r(){return t.status=E,t}}function G(t,e){return Promise.resolve().then((function(){if(t.status!==O)return t;t.status=P;var r=Object.keys(t.parcels).map((function(e){return t.parcels[e].unmountThisParcel()}));return Promise.all(r).then(n,(function(r){return n().then((function(){var n=Error(r.message);if(e)throw v(n,t,_);l(n,t,_)}))})).then((function(){return t}));function n(){return Z(t,"unmount").then((function(){t.status=E})).catch((function(r){if(e)throw v(r,t,_);l(r,t,_)}))}}))}var I=!1,B=!1;function $(t,e){return Promise.resolve().then((function(){return t.status!==E?t:(I||(window.dispatchEvent(new s("single-spa:before-first-mount")),I=!0),Z(t,"mount").then((function(){return t.status=O,B||(window.dispatchEvent(new s("single-spa:first-mount")),B=!0),t})).catch((function(r){return t.status=O,G(t,!0).then(n,n);function n(){if(e)throw v(r,t,_);return l(r,t,_),t}})))}))}var W=0,F={parcels:{}};function K(){return q.apply(F,arguments)}function q(t,e){var r=this;if(!t||"object"!==a(t)&&"function"!=typeof t)throw Error(d(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(d(3,!1,a(t.name)));if("object"!==a(e))throw Error(d(4,!1,name,a(e)));if(!e.domElement)throw Error(d(5,!1,name));var n,o=W++,i="function"==typeof t,u=i?t:function(){return Promise.resolve(t)},c={id:o,parcels:{},status:i?g:w,customProps:e,parentName:L(r),unmountThisParcel:function(){return h.then((function(){if(c.status!==O)throw Error(d(6,!1,name,c.status));return G(c,!0)})).then((function(t){return c.parentName&&delete r.parcels[c.id],t})).then((function(t){return f(t),t})).catch((function(t){throw c.status=_,l(t),t}))}};r.parcels[o]=c;var s=u();if(!s||"function"!=typeof s.then)throw Error(d(7,!1));var f,l,p=(s=s.then((function(t){if(!t)throw Error(d(8,!1));var e=t.name||"parcel-".concat(o);if(Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!D(t.bootstrap))throw Error(d(9,!1,e));if(!D(t.mount))throw Error(d(10,!1,e));if(!D(t.unmount))throw Error(d(11,!1,e));if(t.update&&!D(t.update))throw Error(d(12,!1,e));var r=M(t,"bootstrap"),i=M(t,"mount"),a=M(t,"unmount");c.status=w,c.name=e,c.bootstrap=r,c.mount=i,c.unmount=a,c.timeouts=tt(t.timeouts),t.update&&(c.update=M(t,"update"),n.update=function(t){return c.customProps=t,J(function(t){return Promise.resolve().then((function(){if(t.status!==O)throw Error(d(32,!1,L(t)));return t.status=T,Z(t,"update").then((function(){return t.status=O,t})).catch((function(e){throw v(e,t,_)}))}))}(c))})}))).then((function(){return C(c,!0)})),h=p.then((function(){return $(c,!0)})),m=new Promise((function(t,e){f=t,l=e}));return n={mount:function(){return J(Promise.resolve().then((function(){if(c.status!==E)throw Error(d(13,!1,name,c.status));return r.parcels[o]=c,$(c)})))},unmount:function(){return J(c.unmountThisParcel())},getStatus:function(){return c.status},loadPromise:J(s),bootstrapPromise:J(p),mountPromise:J(h),unmountPromise:J(m)}}function J(t){return t.then((function(){return null}))}function H(t){var e=L(t),r="function"==typeof t.customProps?t.customProps(e,window.location):t.customProps;("object"!==a(r)||null===r||Array.isArray(r))&&(r={},console.warn(d(40,!1),e,r));var n=k({},r,{name:e,mountParcel:q.bind(t),singleSpa:i});return x(t)&&(n.unmountSelf=t.unmountThisParcel),n}var Q={bootstrap:{millis:4e3,dieOnTimeout:!1,warningMillis:1e3},mount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unmount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unload:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},update:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3}};function V(t,e,r){if("number"!=typeof t||t<=0)throw Error(d(16,!1));Q.bootstrap={millis:t,dieOnTimeout:e,warningMillis:r||1e3}}function Y(t,e,r){if("number"!=typeof t||t<=0)throw Error(d(17,!1));Q.mount={millis:t,dieOnTimeout:e,warningMillis:r||1e3}}function z(t,e,r){if("number"!=typeof t||t<=0)throw Error(d(18,!1));Q.unmount={millis:t,dieOnTimeout:e,warningMillis:r||1e3}}function X(t,e,r){if("number"!=typeof t||t<=0)throw Error(d(19,!1));Q.unload={millis:t,dieOnTimeout:e,warningMillis:r||1e3}}function Z(t,e){var r=t.timeouts[e],n=r.warningMillis,o=j(t);return new Promise((function(i,a){var u=!1,c=!1;t[e](H(t)).then((function(t){u=!0,i(t)})).catch((function(t){u=!0,a(t)})),setTimeout((function(){return f(1)}),n),setTimeout((function(){return f(!0)}),r.millis);var s=d(31,!1,e,o,L(t),r.millis);function f(t){if(!u)if(!0===t)c=!0,r.dieOnTimeout?a(Error(s)):console.error(s);else if(!c){var e=t,o=e*n;console.warn(s),o+n<r.millis&&setTimeout((function(){return f(e+1)}),n)}}}))}function tt(t){var e={};for(var r in Q)e[r]=k({},Q[r],t&&t[r]||{});return e}function et(t){return Promise.resolve().then((function(){return t.loadPromise?t.loadPromise:t.status!==m&&t.status!==S?t:(t.status=g,t.loadPromise=Promise.resolve().then((function(){var n=t.loadApp(H(t));if(!R(n))throw r=!0,Error(d(33,!1,L(t)));return n.then((function(r){var n;t.loadErrorTime=null,"object"!==a(e=r)&&(n=34),Object.prototype.hasOwnProperty.call(e,"bootstrap")&&!D(e.bootstrap)&&(n=35),D(e.mount)||(n=36),D(e.unmount)||(n=37);var o=j(e);if(n){var i;try{i=JSON.stringify(e)}catch(t){}return console.error(d(n,!1,o,L(t),i),e),l(void 0,t,_),t}return e.devtools&&e.devtools.overlays&&(t.devtools.overlays=k({},t.devtools.overlays,e.devtools.overlays)),t.status=w,t.bootstrap=M(e,"bootstrap"),t.mount=M(e,"mount"),t.unmount=M(e,"unmount"),t.unload=M(e,"unload"),t.timeouts=tt(e.timeouts),delete t.loadPromise,t}))})).catch((function(e){var n;return delete t.loadPromise,r?n=_:(n=S,t.loadErrorTime=(new Date).getTime()),l(e,t,n),t})));var e,r}))}var rt,nt="undefined"!=typeof window,ot={hashchange:[],popstate:[]},it=["hashchange","popstate"];function at(t){var e;if("string"==typeof t)e=t;else if(this&&this.href)e=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(d(14,!1));e=t.currentTarget.href,t.preventDefault()}var r=ht(window.location.href),n=ht(e);0===e.indexOf("#")?window.location.hash=n.hash:r.host!==n.host&&n.host?window.location.href=e:n.pathname===r.pathname&&n.search===r.search?window.location.hash=n.hash:window.history.pushState(null,null,e)}function ut(t){var e=this;if(t){var r=t[0].type;it.indexOf(r)>=0&&ot[r].forEach((function(r){try{r.apply(e,t)}catch(t){setTimeout((function(){throw t}))}}))}}function ct(){Gt([],arguments)}function st(t,e){return function(){var r=window.location.href,n=t.apply(this,arguments),o=window.location.href;return rt&&r===o||(Wt()?window.dispatchEvent(ft(window.history.state,e)):Gt([])),n}}function ft(t,e){var r;try{r=new PopStateEvent("popstate",{state:t})}catch(e){(r=document.createEvent("PopStateEvent")).initPopStateEvent("popstate",!1,!1,t)}return r.singleSpa=!0,r.singleSpaTrigger=e,r}if(nt){window.addEventListener("hashchange",ct),window.addEventListener("popstate",ct);var lt=window.addEventListener,pt=window.removeEventListener;window.addEventListener=function(t,e){if(!("function"==typeof e&&it.indexOf(t)>=0)||U(ot[t],(function(t){return t===e})))return lt.apply(this,arguments);ot[t].push(e)},window.removeEventListener=function(t,e){if(!("function"==typeof e&&it.indexOf(t)>=0))return pt.apply(this,arguments);ot[t]=ot[t].filter((function(t){return t!==e}))},window.history.pushState=st(window.history.pushState,"pushState"),window.history.replaceState=st(window.history.replaceState,"replaceState"),window.singleSpaNavigate?console.warn(d(41,!1)):window.singleSpaNavigate=at}function ht(t){var e=document.createElement("a");return e.href=t,e}var dt=!1;function vt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.jQuery;if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!dt){var e=t.fn.on,r=t.fn.off;t.fn.on=function(t,r){return mt.call(this,e,window.addEventListener,t,r,arguments)},t.fn.off=function(t,e){return mt.call(this,r,window.removeEventListener,t,e,arguments)},dt=!0}}function mt(t,e,r,n,o){return"string"!=typeof r?t.apply(this,o):(r.split(/\s+/).forEach((function(t){it.indexOf(t)>=0&&(e(t,n),r=r.replace(t,""))})),""===r.trim()?this:t.apply(this,o))}var gt={};function wt(t){return Promise.resolve().then((function(){var e=gt[L(t)];if(!e)return t;if(t.status===m)return yt(t,e),t;if("UNLOADING"===t.status)return e.promise.then((function(){return t}));if(t.status!==E&&t.status!==S)return t;var r=t.status===S?Promise.resolve():Z(t,"unload");return t.status="UNLOADING",r.then((function(){return yt(t,e),t})).catch((function(r){return function(t,e,r){delete gt[L(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,l(r,t,_),e.reject(r)}(t,e,r),t}))}))}function yt(t,e){delete gt[L(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=m,e.resolve()}function Et(t,e,r,n){gt[L(t)]={app:t,resolve:r,reject:n},Object.defineProperty(gt[L(t)],"promise",{get:e})}function bt(t){return gt[t]}var Ot=[];function Tt(){var t=[],e=[],r=[],n=[],o=(new Date).getTime();return Ot.forEach((function(i){var a=i.status!==_&&N(i);switch(i.status){case S:a&&o-i.loadErrorTime>=200&&r.push(i);break;case m:case g:a&&r.push(i);break;case w:case E:!a&&bt(L(i))?t.push(i):a&&n.push(i);break;case O:a||e.push(i)}})),{appsToUnload:t,appsToUnmount:e,appsToLoad:r,appsToMount:n}}function Pt(){return Ot.filter(A).map(L)}function St(){return Ot.map(L)}function _t(t){var e=U(Ot,(function(e){return L(e)===t}));return e?e.status:null}function At(t,e,r,n){var o=function(t,e,r,n){var o,i={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"===a(t)?(function(t){if(Array.isArray(t)||null===t)throw Error(d(39,!1));var e=["name","app","activeWhen","customProps"],r=Object.keys(t).reduce((function(t,r){return e.indexOf(r)>=0?t:t.concat(r)}),[]);if(0!==r.length)throw Error(d(38,!1,e.join(", "),r.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(d(20,!1));if("object"!==a(t.app)&&"function"!=typeof t.app)throw Error(d(20,!1));var n=function(t){return"string"==typeof t||"function"==typeof t};if(!(n(t.activeWhen)||Array.isArray(t.activeWhen)&&t.activeWhen.every(n)))throw Error(d(24,!1));if(!kt(t.customProps))throw Error(d(22,!1))}(t),i.name=t.name,i.loadApp=t.app,i.activeWhen=t.activeWhen,i.customProps=t.customProps):(function(t,e,r,n){if("string"!=typeof t||0===t.length)throw Error(d(20,!1));if(!e)throw Error(d(23,!1));if("function"!=typeof r)throw Error(d(24,!1));if(!kt(n))throw Error(d(22,!1))}(t,e,r,n),i.name=t,i.loadApp=e,i.activeWhen=r,i.customProps=n),i.loadApp="function"!=typeof(o=i.loadApp)?function(){return Promise.resolve(o)}:o,i.customProps=function(t){return t||{}}(i.customProps),i.activeWhen=function(t){var e=Array.isArray(t)?t:[t];return e=e.map((function(t){return"function"==typeof t?t:Ut(t)})),function(t){return e.some((function(e){return e(t)}))}}(i.activeWhen),i}(t,e,r,n);if(-1!==St().indexOf(o.name))throw Error(d(21,!1,o.name));Ot.push(k({loadErrorTime:null,status:m,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},o)),nt&&(vt(),Gt())}function Nt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;return Ot.filter((function(e){return e.activeWhen(t)})).map(L)}function Lt(t){if(0===Ot.filter((function(e){return L(e)===t})).length)throw Error(d(25,!1,t));return xt(t).then((function(){var e=Ot.map(L).indexOf(t);Ot.splice(e,1)}))}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof t)throw Error(d(26,!1));var r=U(Ot,(function(e){return L(e)===t}));if(!r)throw Error(d(27,!1,t));var n,o=bt(L(r));if(e&&e.waitForUnmount){if(o)return o.promise;var i=new Promise((function(t,e){Et(r,(function(){return i}),t,e)}));return i}return o?(n=o.promise,jt(r,o.resolve,o.reject)):n=new Promise((function(t,e){Et(r,(function(){return n}),t,e),jt(r,t,e)})),n}function jt(t,e,r){G(t).then(wt).then((function(){e(),setTimeout((function(){Gt()}))})).catch(r)}function kt(t){return!t||"function"==typeof t||"object"===a(t)&&null!==t&&!Array.isArray(t)}function Ut(t,e){var r=function(t,e){var r=0,n=!1,o="^";"/"!==t[0]&&(t="/"+t);for(var i=0;i<t.length;i++){var a=t[i];(!n&&":"===a||n&&"/"===a)&&u(i)}return u(t.length),new RegExp(o,"i");function u(i){var a=t.slice(r,i).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(o+=n?"[^/]+/?":a,i===t.length)if(n)e&&(o+="$");else{var u=e?"":".*";o="/"===o.charAt(o.length-1)?"".concat(o).concat(u,"$"):"".concat(o,"(/").concat(u,")?(#.*)?$")}n=!n,r=i}}(t,e);return function(t){var e=t.origin;e||(e="".concat(t.protocol,"//").concat(t.host));var n=t.href.replace(e,"").replace(t.search,"").split("?")[0];return r.test(n)}}var Dt=!1,Mt=[],Rt=nt&&window.location.href;function Ct(){return Gt()}function Gt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(Dt)return new Promise((function(t,r){Mt.push({resolve:t,reject:r,eventArguments:e})}));var r,n=Tt(),o=n.appsToUnload,i=n.appsToUnmount,a=n.appsToLoad,c=n.appsToMount,f=!1,l=Rt,p=Rt=window.location.href;return Wt()?(Dt=!0,r=o.concat(a,i,c),v()):(r=a,d());function h(){f=!0}function d(){return Promise.resolve().then((function(){var t=a.map(et);return Promise.all(t).then(w).then((function(){return[]})).catch((function(t){throw w(),t}))}))}function v(){return Promise.resolve().then((function(){if(window.dispatchEvent(new s(0===r.length?"single-spa:before-no-app-change":"single-spa:before-app-change",y(!0))),window.dispatchEvent(new s("single-spa:before-routing-event",y(!0,{cancelNavigation:h}))),f)return window.dispatchEvent(new s("single-spa:before-mount-routing-event",y(!0))),g(),void at(l);var e=o.map(wt),n=i.map(G).map((function(t){return t.then(wt)})).concat(e),u=Promise.all(n);u.then((function(){window.dispatchEvent(new s("single-spa:before-mount-routing-event",y(!0)))}));var p=a.map((function(t){return et(t).then((function(t){return It(t,u)}))})),d=c.filter((function(t){return a.indexOf(t)<0})).map((function(t){return It(t,u)}));return u.catch((function(t){throw w(),t})).then((function(){return w(),Promise.all(p.concat(d)).catch((function(e){throw t.forEach((function(t){return t.reject(e)})),e})).then(g)}))}))}function g(){var e=Pt();t.forEach((function(t){return t.resolve(e)}));try{var n=0===r.length?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new s(n,y())),window.dispatchEvent(new s("single-spa:routing-event",y()))}catch(t){setTimeout((function(){throw t}))}if(Dt=!1,Mt.length>0){var o=Mt;Mt=[],Gt(o)}return e}function w(){t.forEach((function(t){ut(t.eventArguments)})),ut(e)}function y(){var t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0,h={},d=(u(t={},O,[]),u(t,E,[]),u(t,m,[]),u(t,_,[]),t);n?(a.concat(c).forEach((function(t,e){g(t,O)})),o.forEach((function(t){g(t,m)})),i.forEach((function(t){g(t,E)}))):r.forEach((function(t){g(t)}));var v={detail:{newAppStatuses:h,appsByNewStatus:d,totalAppChanges:r.length,originalEvent:null==e?void 0:e[0],oldUrl:l,newUrl:p,navigationIsCanceled:f}};return s&&k(v.detail,s),v;function g(t,e){var r=L(t);e=e||_t(r),h[r]=e,(d[e]=d[e]||[]).push(r)}}}function It(t,e){return N(t)?C(t).then((function(t){return e.then((function(){return N(t)?$(t):t}))})):e.then((function(){return t}))}var Bt=!1;function $t(t){var e;Bt=!0,t&&t.urlRerouteOnly&&(e=t.urlRerouteOnly,rt=e),nt&&Gt()}function Wt(){return Bt}nt&&setTimeout((function(){Bt||console.warn(d(1,!1))}),5e3);var Ft={getRawAppData:function(){return[].concat(Ot)},reroute:Gt,NOT_LOADED:m,toLoadPromise:et,toBootstrapPromise:C,unregisterApplication:Lt};nt&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=Ft),r(6639),r(3979),o.e},3979:(t,e,r)=>{var n={"./en.json":[3574,574]};function o(t){if(!r.o(n,t))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=n[t],o=e[0];return r.e(e[1]).then((()=>r(o)))}o.keys=()=>Object.keys(n),o.id=3979,t.exports=o}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={id:t,loaded:!1,exports:{}};return r[t](i,i.exports,o),i.loaded=!0,i.exports}o.m=r,o.c=n,o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,r)=>(o.f[r](t,e),e)),[])),o.u=t=>t+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@openmrs/esm-primary-navigation-app:",o.l=(r,n,i,a)=>{if(t[r])t[r].push(n);else{var u,c;if(void 0!==i)for(var s=document.getElementsByTagName("script"),f=0;f<s.length;f++){var l=s[f];if(l.getAttribute("src")==r||l.getAttribute("data-webpack")==e+i){u=l;break}}u||(c=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.setAttribute("data-webpack",e+i),u.src=r),t[r]=[n];var p=(e,n)=>{u.onerror=u.onload=null,clearTimeout(h);var o=t[r];if(delete t[r],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((t=>t(n))),e)return e(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),c&&document.head.appendChild(u)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{o.S={};var t={},e={};o.I=(r,n)=>{n||(n=[]);var i=e[r];if(i||(i=e[r]={}),!(n.indexOf(i)>=0)){if(n.push(i),t[r])return t[r];o.o(o.S,r)||(o.S[r]={});var a=o.S[r],u="@openmrs/esm-primary-navigation-app",c=(t,e,r,n)=>{var o=a[t]=a[t]||{},i=o[e];(!i||!i.loaded&&(!n!=!i.eager?n:u>i.from))&&(o[e]={get:r,from:u,eager:!!n})},s=[];return"default"===r&&(c("@openmrs/esm-framework/src/internal","4.0.1-pre.204",(()=>Promise.all([o.e(776),o.e(889)]).then((()=>()=>o(4889))))),c("react-dom","18.2.0",(()=>Promise.all([o.e(788),o.e(776)]).then((()=>()=>o(2788))))),c("react-i18next","11.18.3",(()=>Promise.all([o.e(146),o.e(776)]).then((()=>()=>o(7146))))),c("react-router-dom","5.3.3",(()=>Promise.all([o.e(246),o.e(776),o.e(216)]).then((()=>()=>o(2246))))),c("react","18.2.0",(()=>o.e(735).then((()=>()=>o(2735)))))),t[r]=s.length?Promise.all(s).then((()=>t[r]=1)):1}}})(),(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");r.length&&(t=r[r.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t=t=>{var e=t=>t.split(".").map((t=>+t==t?+t:t)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(t),n=r[1]?e(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,e(r[2]))),r[3]&&(n.push([]),n.push.apply(n,e(r[3]))),n},e=t=>{var r=t[0],n="";if(1===t.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var o=1,i=1;i<t.length;i++)o--,n+="u"==(typeof(u=t[i]))[0]?"-":(o>0?".":"")+(o=2,u);return n}var a=[];for(i=1;i<t.length;i++){var u=t[i];a.push(0===u?"not("+c()+")":1===u?"("+c()+" || "+c()+")":2===u?a.pop()+" "+a.pop():e(u))}return c();function c(){return a.pop().replace(/^\((.+)\)$/,"$1")}},r=(e,n)=>{if(0 in e){n=t(n);var o=e[0],i=o<0;i&&(o=-o-1);for(var a=0,u=1,c=!0;;u++,a++){var s,f,l=u<e.length?(typeof e[u])[0]:"";if(a>=n.length||"o"==(f=(typeof(s=n[a]))[0]))return!c||("u"==l?u>o&&!i:""==l!=i);if("u"==f){if(!c||"u"!=l)return!1}else if(c)if(l==f)if(u<=o){if(s!=e[u])return!1}else{if(i?s>e[u]:s<e[u])return!1;s!=e[u]&&(c=!1)}else if("s"!=l&&"n"!=l){if(i||u<=o)return!1;c=!1,u--}else{if(u<=o||f<l!=i)return!1;c=!1}else"s"!=l&&"n"!=l&&(c=!1,u--)}}var p=[],h=p.pop.bind(p);for(a=1;a<e.length;a++){var d=e[a];p.push(1==d?h()|h():2==d?h()&h():d?r(d,n):!h())}return!!h()},n=(e,r)=>{var n=e[r];return Object.keys(n).reduce(((e,r)=>!e||!n[e].loaded&&((e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],i=(typeof o)[0];if(n>=r.length)return"u"==i;var a=r[n],u=(typeof a)[0];if(i!=u)return"o"==i&&"n"==u||"s"==u||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;n++}})(e,r)?r:e),0)},i=(t,o,i,u)=>{var c=n(t,i);return r(u,c)||"undefined"!=typeof console&&console.warn&&console.warn(((t,r,n,o)=>"Unsatisfied version "+n+" from "+(n&&t[r][n].from)+" of shared singleton module "+r+" (required "+e(o)+")")(t,i,c,u)),a(t[i][c])},a=t=>(t.loaded=1,t.get()),u=t=>function(e,r,n,i){var a=o.I(e);return a&&a.then?a.then(t.bind(t,e,o.S[e],r,n,i)):t(e,o.S[e],r,n,i)},c=u(((t,e,r,i)=>e&&o.o(e,r)?((t,e,r,o)=>{var i=n(t,r);return a(t[r][i])})(e,0,r):i())),s=u(((t,e,r,n,a)=>e&&o.o(e,r)?i(e,0,r,n):a())),f={},l={2680:()=>s("default","react-i18next",[1,11],(()=>o.e(146).then((()=>()=>o(7146))))),7743:()=>s("default","react-router-dom",[1,6],(()=>o.e(246).then((()=>()=>o(2246))))),5776:()=>s("default","react",[1,18],(()=>o.e(735).then((()=>()=>o(2735))))),6974:()=>s("default","@openmrs/esm-framework",[0,4,0,,"pre"],(()=>o.e(889).then((()=>()=>o(4889))))),8478:()=>c("default","@openmrs/esm-framework/src/internal",(()=>o.e(889).then((()=>()=>o(4889)))))};[6974,8478,5776].forEach((t=>{o.m[t]=e=>{f[t]=0,delete o.c[t];var r=l[t]();if("function"!=typeof r)throw new Error("Shared module is not available for eager consumption: "+t);e.exports=r()}}));var p={656:[7743],680:[2680],776:[5776]};o.f.consumes=(t,e)=>{o.o(p,t)&&p[t].forEach((t=>{if(o.o(f,t))return e.push(f[t]);var r=e=>{f[t]=0,o.m[t]=r=>{delete o.c[t],r.exports=e()}},n=e=>{delete f[t],o.m[t]=r=>{throw delete o.c[t],e}};try{var i=l[t]();i.then?e.push(f[t]=i.then(r).catch(n)):r(i)}catch(t){n(t)}}))}})(),(()=>{var t={179:0,776:0,789:0};o.f.j=(e,r)=>{var n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(680|776)$/.test(e))t[e]=0;else{var i=new Promise(((r,o)=>n=t[e]=[r,o]));r.push(n[2]=i);var a=o.p+o.u(e),u=new Error;o.l(a,(r=>{if(o.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,n[1](u)}}),"chunk-"+e,e)}};var e=(e,r)=>{var n,i,[a,u,c]=r,s=0;if(a.some((e=>0!==t[e]))){for(n in u)o.o(u,n)&&(o.m[n]=u[n]);c&&c(o)}for(e&&e(r);s<a.length;s++)i=a[s],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0},r=self.webpackChunk_openmrs_esm_primary_navigation_app=self.webpackChunk_openmrs_esm_primary_navigation_app||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),o.nc=void 0,o(789)})();
@@ -1 +1 @@
1
- var _openmrs_esm_primary_navigation_app;(()=>{function j(a){var b=g[a];if(void 0!==b)return b.exports;var c=g[a]={id:a,loaded:!1,exports:{}};return M[a](c,c.exports,j),c.loaded=!0,c.exports}var b,k,q,x,z,A,B,C,D,E,F,G,H,I,J,K,L,M={3395:(b,c,d)=>{var f={"./start":()=>Promise.all([d.e(776),d.e(789)]).then(()=>()=>d(789))},e=(a,b)=>(d.R=b,b=d.o(f,a)?f[a]():Promise.resolve().then(()=>{throw new Error("Module \""+a+"\" does not exist in container.")}),d.R=void 0,b),g=(a,b)=>{if(d.S){var c=d.S["default"];if(c&&c!==a)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return d.S["default"]=a,d.I("default",b)}};d.d(c,{get:()=>e,init:()=>g})}},g={};j.m=M,j.c=g,j.n=a=>{var b=a&&a.__esModule?()=>a.default:()=>a;return j.d(b,{a:b}),b},j.d=(a,b)=>{for(var c in b)j.o(b,c)&&!j.o(a,c)&&Object.defineProperty(a,c,{enumerable:!0,get:b[c]})},j.f={},j.e=a=>Promise.all(Object.keys(j.f).reduce((b,c)=>(j.f[c](a,b),b),[])),j.u=a=>a+".js",j.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(a){if("object"==typeof window)return window}}(),j.o=(a,b)=>Object.prototype.hasOwnProperty.call(a,b),b={},k="@openmrs/esm-primary-navigation-app:",j.l=(a,c,e)=>{if(b[a])b[a].push(c);else{var g,h;if(void 0!==e)for(var m,n=document.getElementsByTagName("script"),o=0;o<n.length;o++)if(m=n[o],m.getAttribute("src")==a||m.getAttribute("data-webpack")==k+e){g=m;break}g||(h=!0,(g=document.createElement("script")).charset="utf-8",g.timeout=120,j.nc&&g.setAttribute("nonce",j.nc),g.setAttribute("data-webpack",k+e),g.src=a),b[a]=[c];var q=(c,d)=>{g.onerror=g.onload=null,clearTimeout(f);var e=b[a];if(delete b[a],g.parentNode&&g.parentNode.removeChild(g),e&&e.forEach(a=>a(d)),c)return c(d)},f=setTimeout(q.bind(null,void 0,{type:"timeout",target:g}),12e4);g.onerror=q.bind(null,g.onerror),g.onload=q.bind(null,g.onload),h&&document.head.appendChild(g)}},j.r=a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},j.nmd=a=>(a.paths=[],a.children||(a.children=[]),a),(()=>{j.S={};var b={},c={};j.I=(d,e)=>{e||(e=[]);var f=c[d];if(f||(f=c[d]={}),!(0<=e.indexOf(f))){if(e.push(f),b[d])return b[d];j.o(j.S,d)||(j.S[d]={});var g=j.S[d],a=(a,b,c,d)=>{var e=g[a]=g[a]||{},f=e[b];f&&(f.loaded||(!d==!f.eager?!("@openmrs/esm-primary-navigation-app">f.from):!d))||(e[b]={get:c,from:"@openmrs/esm-primary-navigation-app",eager:!!d})},h=[];return"default"===d&&(a("@openmrs/esm-framework/src/internal","4.0.0-pre.1",()=>Promise.all([j.e(776),j.e(889)]).then(()=>()=>j(4889))),a("react-dom","18.1.0",()=>Promise.all([j.e(788),j.e(776)]).then(()=>()=>j(2788))),a("react-i18next","11.16.9",()=>Promise.all([j.e(979),j.e(776)]).then(()=>()=>j(1979))),a("react-router-dom","5.3.2",()=>Promise.all([j.e(135),j.e(776),j.e(216)]).then(()=>()=>j(5135))),a("react","18.1.0",()=>j.e(735).then(()=>()=>j(2735)))),b[d]=h.length?Promise.all(h).then(()=>b[d]=1):1}}})(),(()=>{var a;j.g.importScripts&&(a=j.g.location+"");var b=j.g.document;if(!a&&b&&(b.currentScript&&(a=b.currentScript.src),!a)){var c=b.getElementsByTagName("script");c.length&&(a=c[c.length-1].src)}if(!a)throw new Error("Automatic publicPath is not supported in this browser");a=a.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),j.p=a})(),q=a=>{var b=a=>a.split(".").map(a=>+a==a?+a:a),c=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(a),d=c[1]?b(c[1]):[];return c[2]&&(d.length++,d.push.apply(d,b(c[2]))),c[3]&&(d.push([]),d.push.apply(d,b(c[3]))),d},x=(b,c)=>{b=q(b),c=q(c);for(var d=0;;){if(d>=b.length)return d<c.length&&"u"!=(typeof c[d])[0];var f=b[d],g=(typeof f)[0];if(d>=c.length)return"u"==g;var a=c[d],h=(typeof a)[0];if(g!=h)return"o"==g&&"n"==h||"s"==h||"u"==g;if("o"!=g&&"u"!=g&&f!=a)return f<a;d++}},z=b=>{function c(){return h.pop().replace(/^\((.+)\)$/,"$1")}var d=b[0],e="";if(1===b.length)return"*";if(d+.5){e+=0==d?">=":-1==d?"<":1==d?"^":2==d?"~":0<d?"=":"!=";for(var f=1,g=1;g<b.length;g++)f--,e+="u"==(typeof(i=b[g]))[0]?"-":(0<f?".":"")+(f=2,i);return e}var h=[];for(g=1;g<b.length;g++){var i=b[g];h.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?h.pop()+" "+h.pop():z(i))}return c()},A=(a,b)=>{if(0 in a){b=q(b);var e=a[0],g=0>e;g&&(e=-e-1);for(var j=0,k=1,m=!0;;k++,j++){var o,t,v=k<a.length?(typeof a[k])[0]:"";if(j>=b.length||"o"==(t=(typeof(o=b[j]))[0]))return!m||("u"==v?k>e&&!g:""==v!=g);if("u"==t){if(!m||"u"!=v)return!1;}else if(!m)"s"!=v&&"n"!=v&&(m=!1,k--);else if(v==t){if(!(k<=e)){if(g?o>a[k]:o<a[k])return!1;o!=a[k]&&(m=!1)}else if(o!=a[k])return!1;}else if("s"!=v&&"n"!=v){if(g||k<=e)return!1;m=!1,k--}else{if(k<=e||t<v!=g)return!1;m=!1}}}var f=[],d=f.pop.bind(f);for(j=1;j<a.length;j++){var c=a[j];f.push(1==c?d()|d():2==c?d()&d():c?A(c,b):!d())}return!!d()},B=(a,b)=>{var c=a[b];return Object.keys(c).reduce((a,b)=>a&&(c[a].loaded||!x(a,b))?a:b,0)},C=(a,b,c,d)=>"Unsatisfied version "+c+" from "+(c&&a[b][c].from)+" of shared singleton module "+b+" (required "+z(d)+")",D=(a,b,c)=>{var d=B(a,c);return F(a[c][d])},E=(a,b,c,d)=>{var e=B(a,c);return A(d,e)||"undefined"!=typeof console&&console.warn&&console.warn(C(a,c,e,d)),F(a[c][e])},F=a=>(a.loaded=1,a.get()),H=(G=b=>function(c,d,e,f){var g=j.I(c);return g&&g.then?g.then(b.bind(b,c,j.S[c],d,e,f)):b(c,j.S[c],d,e,f)})((a,b,c,d)=>b&&j.o(b,c)?D(b,0,c):d()),I=G((a,b,c,d,e)=>b&&j.o(b,c)?E(b,0,c,d):e()),J={},K={5776:()=>I("default","react",[1,18],()=>j.e(735).then(()=>()=>j(2735))),6974:()=>I("default","@openmrs/esm-framework",[0,4,0,,"pre"],()=>j.e(889).then(()=>()=>j(4889))),8478:()=>H("default","@openmrs/esm-framework/src/internal",()=>j.e(889).then(()=>()=>j(4889))),2680:()=>I("default","react-i18next",[1,11],()=>j.e(979).then(()=>()=>j(1979))),7743:()=>I("default","react-router-dom",[1,6],()=>j.e(135).then(()=>()=>j(5135)))},L={656:[7743],680:[2680],776:[5776],789:[6974,8478]},j.f.consumes=(a,b)=>{j.o(L,a)&&L[a].forEach(a=>{if(j.o(J,a))return b.push(J[a]);var c=b=>{J[a]=0,j.m[a]=c=>{delete j.c[a],c.exports=b()}},d=b=>{delete J[a],j.m[a]=()=>{throw delete j.c[a],b}};try{var e=K[a]();e.then?b.push(J[a]=e.then(c).catch(d)):c(e)}catch(a){d(a)}})},(()=>{var b={115:0};j.f.j=(c,d)=>{var e=j.o(b,c)?b[c]:void 0;if(0!==e)if(e)d.push(e[2]);else if(/^(680|776)$/.test(c))b[c]=0;else{var f=new Promise((a,d)=>e=b[c]=[a,d]);d.push(e[2]=f);var g=j.p+j.u(c),h=new Error;j.l(g,d=>{if(j.o(b,c)&&(0!==(e=b[c])&&(b[c]=void 0),e)){var f=d&&("load"===d.type?"missing":d.type),g=d&&d.target&&d.target.src;h.message="Loading chunk "+c+" failed.\n("+f+": "+g+")",h.name="ChunkLoadError",h.type=f,h.request=g,e[1](h)}},"chunk-"+c,c)}};var a=(c,d)=>{var e,f,[g,a,h]=d,i=0;if(g.some(a=>0!==b[a])){for(e in a)j.o(a,e)&&(j.m[e]=a[e]);h&&h(j)}for(c&&c(d);i<g.length;i++)f=g[i],j.o(b,f)&&b[f]&&b[f][0](),b[f]=0},c=self.webpackChunk_openmrs_esm_primary_navigation_app=self.webpackChunk_openmrs_esm_primary_navigation_app||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})();var y=j(3395);_openmrs_esm_primary_navigation_app=y})();
1
+ var _openmrs_esm_primary_navigation_app;(()=>{function j(a){var b=g[a];if(void 0!==b)return b.exports;var c=g[a]={id:a,loaded:!1,exports:{}};return M[a](c,c.exports,j),c.loaded=!0,c.exports}var b,k,q,x,z,A,B,C,D,E,F,G,H,I,J,K,L,M={7130:(b,c,d)=>{var f={"./start":()=>Promise.all([d.e(776),d.e(789)]).then(()=>()=>d(789))},e=(a,b)=>(d.R=b,b=d.o(f,a)?f[a]():Promise.resolve().then(()=>{throw new Error("Module \""+a+"\" does not exist in container.")}),d.R=void 0,b),g=(a,b)=>{if(d.S){var c=d.S["default"];if(c&&c!==a)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return d.S["default"]=a,d.I("default",b)}};d.d(c,{get:()=>e,init:()=>g})}},g={};j.m=M,j.c=g,j.n=a=>{var b=a&&a.__esModule?()=>a.default:()=>a;return j.d(b,{a:b}),b},j.d=(a,b)=>{for(var c in b)j.o(b,c)&&!j.o(a,c)&&Object.defineProperty(a,c,{enumerable:!0,get:b[c]})},j.f={},j.e=a=>Promise.all(Object.keys(j.f).reduce((b,c)=>(j.f[c](a,b),b),[])),j.u=a=>a+".js",j.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(a){if("object"==typeof window)return window}}(),j.o=(a,b)=>Object.prototype.hasOwnProperty.call(a,b),b={},k="@openmrs/esm-primary-navigation-app:",j.l=(a,c,e)=>{if(b[a])b[a].push(c);else{var g,h;if(void 0!==e)for(var m,n=document.getElementsByTagName("script"),o=0;o<n.length;o++)if(m=n[o],m.getAttribute("src")==a||m.getAttribute("data-webpack")==k+e){g=m;break}g||(h=!0,(g=document.createElement("script")).charset="utf-8",g.timeout=120,j.nc&&g.setAttribute("nonce",j.nc),g.setAttribute("data-webpack",k+e),g.src=a),b[a]=[c];var q=(c,d)=>{g.onerror=g.onload=null,clearTimeout(f);var e=b[a];if(delete b[a],g.parentNode&&g.parentNode.removeChild(g),e&&e.forEach(a=>a(d)),c)return c(d)},f=setTimeout(q.bind(null,void 0,{type:"timeout",target:g}),12e4);g.onerror=q.bind(null,g.onerror),g.onload=q.bind(null,g.onload),h&&document.head.appendChild(g)}},j.r=a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},j.nmd=a=>(a.paths=[],a.children||(a.children=[]),a),(()=>{j.S={};var b={},c={};j.I=(d,e)=>{e||(e=[]);var f=c[d];if(f||(f=c[d]={}),!(0<=e.indexOf(f))){if(e.push(f),b[d])return b[d];j.o(j.S,d)||(j.S[d]={});var g=j.S[d],a=(a,b,c,d)=>{var e=g[a]=g[a]||{},f=e[b];f&&(f.loaded||(!d==!f.eager?!("@openmrs/esm-primary-navigation-app">f.from):!d))||(e[b]={get:c,from:"@openmrs/esm-primary-navigation-app",eager:!!d})},h=[];return"default"===d&&(a("@openmrs/esm-framework/src/internal","4.0.1-pre.204",()=>Promise.all([j.e(776),j.e(889)]).then(()=>()=>j(4889))),a("react-dom","18.2.0",()=>Promise.all([j.e(788),j.e(776)]).then(()=>()=>j(2788))),a("react-i18next","11.18.3",()=>Promise.all([j.e(146),j.e(776)]).then(()=>()=>j(7146))),a("react-router-dom","5.3.3",()=>Promise.all([j.e(246),j.e(776),j.e(216)]).then(()=>()=>j(2246))),a("react","18.2.0",()=>j.e(735).then(()=>()=>j(2735)))),b[d]=h.length?Promise.all(h).then(()=>b[d]=1):1}}})(),(()=>{var a;j.g.importScripts&&(a=j.g.location+"");var b=j.g.document;if(!a&&b&&(b.currentScript&&(a=b.currentScript.src),!a)){var c=b.getElementsByTagName("script");c.length&&(a=c[c.length-1].src)}if(!a)throw new Error("Automatic publicPath is not supported in this browser");a=a.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),j.p=a})(),q=a=>{var b=a=>a.split(".").map(a=>+a==a?+a:a),c=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(a),d=c[1]?b(c[1]):[];return c[2]&&(d.length++,d.push.apply(d,b(c[2]))),c[3]&&(d.push([]),d.push.apply(d,b(c[3]))),d},x=(b,c)=>{b=q(b),c=q(c);for(var d=0;;){if(d>=b.length)return d<c.length&&"u"!=(typeof c[d])[0];var f=b[d],g=(typeof f)[0];if(d>=c.length)return"u"==g;var a=c[d],h=(typeof a)[0];if(g!=h)return"o"==g&&"n"==h||"s"==h||"u"==g;if("o"!=g&&"u"!=g&&f!=a)return f<a;d++}},z=b=>{function c(){return h.pop().replace(/^\((.+)\)$/,"$1")}var d=b[0],e="";if(1===b.length)return"*";if(d+.5){e+=0==d?">=":-1==d?"<":1==d?"^":2==d?"~":0<d?"=":"!=";for(var f=1,g=1;g<b.length;g++)f--,e+="u"==(typeof(i=b[g]))[0]?"-":(0<f?".":"")+(f=2,i);return e}var h=[];for(g=1;g<b.length;g++){var i=b[g];h.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?h.pop()+" "+h.pop():z(i))}return c()},A=(a,b)=>{if(0 in a){b=q(b);var e=a[0],g=0>e;g&&(e=-e-1);for(var j=0,k=1,m=!0;;k++,j++){var o,t,v=k<a.length?(typeof a[k])[0]:"";if(j>=b.length||"o"==(t=(typeof(o=b[j]))[0]))return!m||("u"==v?k>e&&!g:""==v!=g);if("u"==t){if(!m||"u"!=v)return!1;}else if(!m)"s"!=v&&"n"!=v&&(m=!1,k--);else if(v==t){if(!(k<=e)){if(g?o>a[k]:o<a[k])return!1;o!=a[k]&&(m=!1)}else if(o!=a[k])return!1;}else if("s"!=v&&"n"!=v){if(g||k<=e)return!1;m=!1,k--}else{if(k<=e||t<v!=g)return!1;m=!1}}}var f=[],d=f.pop.bind(f);for(j=1;j<a.length;j++){var c=a[j];f.push(1==c?d()|d():2==c?d()&d():c?A(c,b):!d())}return!!d()},B=(a,b)=>{var c=a[b];return Object.keys(c).reduce((a,b)=>a&&(c[a].loaded||!x(a,b))?a:b,0)},C=(a,b,c,d)=>"Unsatisfied version "+c+" from "+(c&&a[b][c].from)+" of shared singleton module "+b+" (required "+z(d)+")",D=(a,b,c)=>{var d=B(a,c);return F(a[c][d])},E=(a,b,c,d)=>{var e=B(a,c);return A(d,e)||"undefined"!=typeof console&&console.warn&&console.warn(C(a,c,e,d)),F(a[c][e])},F=a=>(a.loaded=1,a.get()),H=(G=b=>function(c,d,e,f){var g=j.I(c);return g&&g.then?g.then(b.bind(b,c,j.S[c],d,e,f)):b(c,j.S[c],d,e,f)})((a,b,c,d)=>b&&j.o(b,c)?D(b,0,c):d()),I=G((a,b,c,d,e)=>b&&j.o(b,c)?E(b,0,c,d):e()),J={},K={5776:()=>I("default","react",[1,18],()=>j.e(735).then(()=>()=>j(2735))),6974:()=>I("default","@openmrs/esm-framework",[0,4,0,,"pre"],()=>j.e(889).then(()=>()=>j(4889))),8478:()=>H("default","@openmrs/esm-framework/src/internal",()=>j.e(889).then(()=>()=>j(4889))),2680:()=>I("default","react-i18next",[1,11],()=>j.e(146).then(()=>()=>j(7146))),7743:()=>I("default","react-router-dom",[1,6],()=>j.e(246).then(()=>()=>j(2246)))},L={656:[7743],680:[2680],776:[5776],789:[6974,8478]},j.f.consumes=(a,b)=>{j.o(L,a)&&L[a].forEach(a=>{if(j.o(J,a))return b.push(J[a]);var c=b=>{J[a]=0,j.m[a]=c=>{delete j.c[a],c.exports=b()}},d=b=>{delete J[a],j.m[a]=()=>{throw delete j.c[a],b}};try{var e=K[a]();e.then?b.push(J[a]=e.then(c).catch(d)):c(e)}catch(a){d(a)}})},(()=>{var b={115:0};j.f.j=(c,d)=>{var e=j.o(b,c)?b[c]:void 0;if(0!==e)if(e)d.push(e[2]);else if(/^(680|776)$/.test(c))b[c]=0;else{var f=new Promise((a,d)=>e=b[c]=[a,d]);d.push(e[2]=f);var g=j.p+j.u(c),h=new Error;j.l(g,d=>{if(j.o(b,c)&&(0!==(e=b[c])&&(b[c]=void 0),e)){var f=d&&("load"===d.type?"missing":d.type),g=d&&d.target&&d.target.src;h.message="Loading chunk "+c+" failed.\n("+f+": "+g+")",h.name="ChunkLoadError",h.type=f,h.request=g,e[1](h)}},"chunk-"+c,c)}};var a=(c,d)=>{var e,f,[g,a,h]=d,i=0;if(g.some(a=>0!==b[a])){for(e in a)j.o(a,e)&&(j.m[e]=a[e]);h&&h(j)}for(c&&c(d);i<g.length;i++)f=g[i],j.o(b,f)&&b[f]&&b[f][0](),b[f]=0},c=self.webpackChunk_openmrs_esm_primary_navigation_app=self.webpackChunk_openmrs_esm_primary_navigation_app||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})(),j.nc=void 0;var y=j(7130);_openmrs_esm_primary_navigation_app=y})();
@@ -5,34 +5,9 @@
5
5
  "initial": false,
6
6
  "entry": false,
7
7
  "recorded": false,
8
- "reason": "split chunk (cache group: defaultVendors)",
9
- "size": 578163,
10
- "sizes": {
11
- "javascript": 578163
12
- },
13
- "names": [],
14
- "idHints": [
15
- "vendors"
16
- ],
17
- "runtime": [
18
- "@openmrs/esm-primary-navigation-app",
19
- "main"
20
- ],
21
- "files": [
22
- "24.js"
23
- ],
24
- "auxiliaryFiles": [],
25
- "hash": "d4fa32847f641f6a3674",
26
- "childrenByOrder": {}
27
- },
28
- {
29
- "rendered": true,
30
- "initial": false,
31
- "entry": false,
32
- "recorded": false,
33
- "size": 9180,
8
+ "size": 10052,
34
9
  "sizes": {
35
- "javascript": 9180
10
+ "javascript": 10052
36
11
  },
37
12
  "names": [],
38
13
  "idHints": [],
@@ -44,7 +19,7 @@
44
19
  "98.js"
45
20
  ],
46
21
  "auxiliaryFiles": [],
47
- "hash": "a63bbaebcdb6e1e30f5c",
22
+ "hash": "259e3cadb4f52abdffdf",
48
23
  "childrenByOrder": {}
49
24
  },
50
25
  {
@@ -52,11 +27,11 @@
52
27
  "initial": true,
53
28
  "entry": true,
54
29
  "recorded": false,
55
- "size": 19869,
30
+ "size": 19906,
56
31
  "sizes": {
57
32
  "javascript": 42,
58
33
  "share-init": 210,
59
- "runtime": 19617
34
+ "runtime": 19654
60
35
  },
61
36
  "names": [
62
37
  "@openmrs/esm-primary-navigation-app"
@@ -69,7 +44,7 @@
69
44
  "openmrs-esm-primary-navigation-app.js"
70
45
  ],
71
46
  "auxiliaryFiles": [],
72
- "hash": "4dd6a5f0cc574b5181d6",
47
+ "hash": "7b3434b950d2199f4d69",
73
48
  "childrenByOrder": {}
74
49
  },
75
50
  {
@@ -78,9 +53,9 @@
78
53
  "entry": false,
79
54
  "recorded": false,
80
55
  "reason": "reused as split chunk (cache group: defaultVendors)",
81
- "size": 92051,
56
+ "size": 39262,
82
57
  "sizes": {
83
- "javascript": 92051
58
+ "javascript": 39262
84
59
  },
85
60
  "names": [],
86
61
  "idHints": [
@@ -91,10 +66,10 @@
91
66
  "main"
92
67
  ],
93
68
  "files": [
94
- "135.js"
69
+ "146.js"
95
70
  ],
96
71
  "auxiliaryFiles": [],
97
- "hash": "8e4243b9f4fa58d1c4d4",
72
+ "hash": "81259e70efb48519bb36",
98
73
  "childrenByOrder": {}
99
74
  },
100
75
  {
@@ -102,12 +77,12 @@
102
77
  "initial": true,
103
78
  "entry": true,
104
79
  "recorded": false,
105
- "size": 79311,
80
+ "size": 79457,
106
81
  "sizes": {
107
82
  "consume-shared": 126,
108
- "javascript": 58980,
83
+ "javascript": 59089,
109
84
  "share-init": 210,
110
- "runtime": 19995
85
+ "runtime": 20032
111
86
  },
112
87
  "names": [
113
88
  "main"
@@ -120,7 +95,7 @@
120
95
  "main.js"
121
96
  ],
122
97
  "auxiliaryFiles": [],
123
- "hash": "65c0276405ea2c5bfaee",
98
+ "hash": "8b8e67e35882820afba1",
124
99
  "childrenByOrder": {}
125
100
  },
126
101
  {
@@ -142,7 +117,7 @@
142
117
  "216.js"
143
118
  ],
144
119
  "auxiliaryFiles": [],
145
- "hash": "926d122371df4f8abbf2",
120
+ "hash": "f8e37c221bacc5f453eb",
146
121
  "childrenByOrder": {}
147
122
  },
148
123
  {
@@ -151,9 +126,9 @@
151
126
  "entry": false,
152
127
  "recorded": false,
153
128
  "reason": "split chunk (cache group: defaultVendors)",
154
- "size": 482855,
129
+ "size": 501274,
155
130
  "sizes": {
156
- "javascript": 482855
131
+ "javascript": 501274
157
132
  },
158
133
  "names": [],
159
134
  "idHints": [
@@ -167,7 +142,32 @@
167
142
  "218.js"
168
143
  ],
169
144
  "auxiliaryFiles": [],
170
- "hash": "bc201c90a12f7a6e07ef",
145
+ "hash": "59c410f2285f8dfe3d5a",
146
+ "childrenByOrder": {}
147
+ },
148
+ {
149
+ "rendered": true,
150
+ "initial": false,
151
+ "entry": false,
152
+ "recorded": false,
153
+ "reason": "reused as split chunk (cache group: defaultVendors)",
154
+ "size": 91245,
155
+ "sizes": {
156
+ "javascript": 91245
157
+ },
158
+ "names": [],
159
+ "idHints": [
160
+ "vendors"
161
+ ],
162
+ "runtime": [
163
+ "@openmrs/esm-primary-navigation-app",
164
+ "main"
165
+ ],
166
+ "files": [
167
+ "246.js"
168
+ ],
169
+ "auxiliaryFiles": [],
170
+ "hash": "2c03734fccef881bd909",
171
171
  "childrenByOrder": {}
172
172
  },
173
173
  {
@@ -189,7 +189,7 @@
189
189
  "473.js"
190
190
  ],
191
191
  "auxiliaryFiles": [],
192
- "hash": "75a53160eccf6da985c3",
192
+ "hash": "3ee6bf59cf18ffc4c74c",
193
193
  "childrenByOrder": {}
194
194
  },
195
195
  {
@@ -211,7 +211,7 @@
211
211
  "574.js"
212
212
  ],
213
213
  "auxiliaryFiles": [],
214
- "hash": "07ec666c41423850d895",
214
+ "hash": "80806f425f830787e870",
215
215
  "childrenByOrder": {}
216
216
  },
217
217
  {
@@ -219,9 +219,9 @@
219
219
  "initial": false,
220
220
  "entry": false,
221
221
  "recorded": false,
222
- "size": 42908,
222
+ "size": 42829,
223
223
  "sizes": {
224
- "javascript": 42866,
224
+ "javascript": 42787,
225
225
  "consume-shared": 42
226
226
  },
227
227
  "names": [],
@@ -234,7 +234,7 @@
234
234
  "656.js"
235
235
  ],
236
236
  "auxiliaryFiles": [],
237
- "hash": "329a205b27802b1e4beb",
237
+ "hash": "adf68ffb91e91f09cad4",
238
238
  "childrenByOrder": {}
239
239
  },
240
240
  {
@@ -255,7 +255,7 @@
255
255
  ],
256
256
  "files": [],
257
257
  "auxiliaryFiles": [],
258
- "hash": "e4fce31b133375504e67",
258
+ "hash": "257747177af42601804f",
259
259
  "childrenByOrder": {}
260
260
  },
261
261
  {
@@ -277,7 +277,7 @@
277
277
  "735.js"
278
278
  ],
279
279
  "auxiliaryFiles": [],
280
- "hash": "ba613551ffd46fc83a00",
280
+ "hash": "f7e0346f674cca2a3de3",
281
281
  "childrenByOrder": {}
282
282
  },
283
283
  {
@@ -298,7 +298,7 @@
298
298
  ],
299
299
  "files": [],
300
300
  "auxiliaryFiles": [],
301
- "hash": "95dfabb1e774f3201e92",
301
+ "hash": "4d43596d4eee7b50e0ca",
302
302
  "childrenByOrder": {}
303
303
  },
304
304
  {
@@ -307,9 +307,9 @@
307
307
  "entry": false,
308
308
  "recorded": false,
309
309
  "reason": "split chunk (cache group: defaultVendors)",
310
- "size": 137351,
310
+ "size": 137533,
311
311
  "sizes": {
312
- "javascript": 137351
312
+ "javascript": 137533
313
313
  },
314
314
  "names": [],
315
315
  "idHints": [
@@ -323,7 +323,7 @@
323
323
  "788.js"
324
324
  ],
325
325
  "auxiliaryFiles": [],
326
- "hash": "84595eb82d68002968d5",
326
+ "hash": "b5e672ec44ab0a4239a1",
327
327
  "childrenByOrder": {}
328
328
  },
329
329
  {
@@ -331,10 +331,10 @@
331
331
  "initial": false,
332
332
  "entry": false,
333
333
  "recorded": false,
334
- "size": 59064,
334
+ "size": 59173,
335
335
  "sizes": {
336
336
  "consume-shared": 84,
337
- "javascript": 58980
337
+ "javascript": 59089
338
338
  },
339
339
  "names": [],
340
340
  "idHints": [],
@@ -345,7 +345,7 @@
345
345
  "789.js"
346
346
  ],
347
347
  "auxiliaryFiles": [],
348
- "hash": "635785324e0a6dbe1454",
348
+ "hash": "045733d9c49ad4e9c5de",
349
349
  "childrenByOrder": {}
350
350
  },
351
351
  {
@@ -353,22 +353,24 @@
353
353
  "initial": false,
354
354
  "entry": false,
355
355
  "recorded": false,
356
- "reason": "reused as split chunk (cache group: default)",
357
- "size": 4627197,
356
+ "reason": "split chunk (cache group: defaultVendors)",
357
+ "size": 603515,
358
358
  "sizes": {
359
- "javascript": 4627197
359
+ "javascript": 603515
360
360
  },
361
361
  "names": [],
362
- "idHints": [],
362
+ "idHints": [
363
+ "vendors"
364
+ ],
363
365
  "runtime": [
364
366
  "@openmrs/esm-primary-navigation-app",
365
367
  "main"
366
368
  ],
367
369
  "files": [
368
- "889.js"
370
+ "857.js"
369
371
  ],
370
372
  "auxiliaryFiles": [],
371
- "hash": "2abac716cc814ba1ebb9",
373
+ "hash": "a25b40ea1286e9235352",
372
374
  "childrenByOrder": {}
373
375
  },
374
376
  {
@@ -376,24 +378,22 @@
376
378
  "initial": false,
377
379
  "entry": false,
378
380
  "recorded": false,
379
- "reason": "reused as split chunk (cache group: defaultVendors)",
380
- "size": 39848,
381
+ "reason": "reused as split chunk (cache group: default)",
382
+ "size": 1001115,
381
383
  "sizes": {
382
- "javascript": 39848
384
+ "javascript": 1001115
383
385
  },
384
386
  "names": [],
385
- "idHints": [
386
- "vendors"
387
- ],
387
+ "idHints": [],
388
388
  "runtime": [
389
389
  "@openmrs/esm-primary-navigation-app",
390
390
  "main"
391
391
  ],
392
392
  "files": [
393
- "979.js"
393
+ "889.js"
394
394
  ],
395
395
  "auxiliaryFiles": [],
396
- "hash": "e4cf34e7c8428e17c94f",
396
+ "hash": "fbae406038aac0bc627f",
397
397
  "childrenByOrder": {}
398
398
  }
399
399
  ]