@openmrs/esm-help-menu-app 10.0.1-pre.5320 → 10.0.1-pre.5324
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.turbo/turbo-build.log
CHANGED
package/dist/main.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){var e="u">typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@openmrs/esm-help-menu-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var t=e._FEDERATION_RUNTIME_CORE_FROM;t&&t.version&&"2.8"!==String(t.version).split(".").slice(0,2).join(".")&&console.warn("@openmrs/esm-help-menu-app was built against Module Federation 2.8.x but the app shell provides "+t.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,t,r,n,o,a={4789(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}r.d(t,{A:()=>d});var i=["width","height","viewBox"],s=["tabindex"],l={focusable:"false",preserveAspectRatio:"xMidYMid meet"},u=r(97598),c=r.n(u),p=r(46925),f=r.n(p);let d=f().forwardRef(function({className:e,children:t,tabIndex:r,xmlns:n="http://www.w3.org/2000/svg",preserveAspectRatio:u="xMidYMid meet",...c},p){let{tabindex:d,...h}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=e.height,n=e.viewBox,u=void 0===n?"0 0 ".concat(t," ").concat(r):n,c=a(e,i),p=c.tabindex,f=a(c,s),d=o(o(o({},l),f),{},{width:t,height:r,viewBox:u});return d["aria-label"]||d["aria-labelledby"]||d.title?(d.role="img",null!=p&&(d.focusable="true",d.tabindex=p)):d["aria-hidden"]=!0,d}({...c,tabindex:r});return e&&(h.className=e),null!=d&&("number"==typeof d?h.tabIndex=d:h.tabIndex=Number(r)),p&&(h.ref=p),n&&(h.xmlns=n),u&&(h.preserveAspectRatio=u),f().createElement("svg",h,t)});d.displayName="Icon",d.propTypes={"aria-hidden":c().oneOfType([c().bool,c().oneOf(["true","false"])]),"aria-label":c().string,"aria-labelledby":c().string,children:c().node,className:c().string,height:c().oneOfType([c().number,c().string]),preserveAspectRatio:c().string,tabIndex:c().oneOfType([c().number,c().string]),viewBox:c().string,width:c().oneOfType([c().number,c().string]),xmlns:c().string}},98076(e,t,r){"use strict";r.d(t,{BK:()=>u,F1:()=>l});var n,o,a=r(46925),i=r.n(a),s=r(4789);let l=i().forwardRef(function({children:e,size:t=16,...r},o){return i().createElement(s.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},n||(n=i().createElement("path",{d:"M10 6L10 8 22.59 8 6 24.59 7.41 26 24 9.41 24 22 26 22 26 6 10 6z"})),e)}),u=i().forwardRef(function({children:e,size:t=16,...r},n){return i().createElement(s.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},o||(o=i().createElement("path",{d:"M27.6 20.6L24 24.2 24 4 22 4 22 24.2 18.4 20.6 17 22 23 28 29 22zM9 4L3 10 4.4 11.4 8 7.8 8 28 10 28 10 7.8 13.6 11.4 15 10z"})),e)})},9650(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(41109),o=r.n(n),a=r(75248),i=r.n(a)()(o());i.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-help-menu__styles__helpButton___jZKhx{display:flex;align-items:center;justify-content:space-between;color:#000 !important}.-esm-help-menu__styles__helpButton___jZKhx:focus{outline:none}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/help-menu/components/styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,4CACE,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,qBAAA,CACA,kDACE,YAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.helpButton {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: black !important;\n &:focus {\n outline: none;\n }\n}\n"],sourceRoot:""}]),i.locals={helpButton:"-esm-help-menu__styles__helpButton___jZKhx"};let s=i},75248(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r}).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&o[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},41109(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}e.exports=function(e){var r=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,r,n=e&&("u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var o=[],a=!0,i=!1;try{for(n=n.call(e);!(a=(t=n.next()).done)&&(o.push(t.value),4!==o.length);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return t(e,4);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,4)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[1],o=r[3];if(!o)return n;if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(o))));return[n].concat(o.sources.map(function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")})).concat(["/*# ".concat("sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a)," */")]).join("\n")}return[n].join("\n")}},90856(e,t,r){"use strict";var n=r(7183);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},97598(e,t,r){e.exports=r(90856)()},7183(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},97478(e){"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var o={},a=[],i=0;i<e.length;i++){var s=e[i],l=n.base?s[0]+n.base:s[0],u=o[l]||0,c="".concat(l," ").concat(u);o[l]=u+1;var p=r(c),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var d=function(e,t){var r=t.domAPI(t);return r.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&r.update(e=t):r.remove()}}(f,n);n.byIndex=i,t.splice(i,0,{identifier:c,updater:d,references:1})}a.push(c)}return a}e.exports=function(e,o){var a=n(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var s=r(a[i]);t[s].references--}for(var l=n(e,o),u=0;u<a.length;u++){var c=r(a[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}a=l}}},61301(e){"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},6626(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},49222(e,t,r){"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},27135(e){"use strict";e.exports=function(e){if("u"<typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){var n,o,a;n="",r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {")),(o=void 0!==r.layer)&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}"),(a=r.sourceMap)&&"u">typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},88279(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},84767(e,t,r){var n={"./en.json":["34300","117"]};function o(e){if(!r.o(n,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=n[e],o=t[0];return r.e(t[1]).then(function(){return r(o)})}o.keys=()=>Object.keys(n),o.id=84767,e.exports=o},47823(e,t,r){"use strict";var n=r(43004),o=r(46925),a=r.n(o),i=r(99737),s=r(98076),l=r(18326),u=r(97478),c=r.n(u),p=r(27135),f=r.n(p),d=r(61301),h=r.n(d),m=r(49222),y=r.n(m),g=r(6626),b=r.n(g),v=r(88279),S=r.n(v),O=r(9650),E={};E.styleTagTransform=S(),E.setAttributes=y(),E.insert=h().bind(null,"head"),E.domAPI=f(),E.insertStyleElement=b(),c()(O.A,E);let _=O.A&&O.A.locals?O.A.locals:void 0;r(84767);var w={featureName:"help-menu",moduleName:"@openmrs/esm-help-menu-app"};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("39"),r.e("438")]).then(r.bind(r,80629))},w),(0,n.getSyncLifecycle)(function(){var e=(0,i.useTranslation)().t;return a().createElement(l.Link,{className:_.helpButton,href:"https://openmrs.atlassian.net/wiki/x/DgAaD",rel:"noopener noreferrer",renderIcon:s.F1,target:"_blank"},e("releaseNotes","Release notes"))},w),(0,n.getSyncLifecycle)(function(){var e=(0,i.useTranslation)().t;return a().createElement(l.Link,{className:_.helpButton,href:"https://om.rs/o3docs",rel:"noopener noreferrer",renderIcon:s.F1,target:"_blank"},e("docs","Docs"))},w),(0,n.getSyncLifecycle)(function(){var e=(0,i.useTranslation)().t;return a().createElement(l.Link,{className:_.helpButton,href:"https://talk.openmrs.org",rel:"noopener noreferrer",renderIcon:s.F1,target:"_blank"},e("communityforum","Community forum"))},w)},49237(e,t,r){"use strict";var n=r(88516),o=r.n(n);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,s=!1;try{for(o=o.call(e);!(i=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,n=e}finally{try{i||null==o.return||o.return()}finally{if(s)throw n}}return a}}(e,t)||l(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function l(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}var u=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),c={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){var p,f,d,h,m,y,g,b,v,S,O,E,_=function(e,t,r){e&&e[t]&&(e[t]=r)},w=function(e,t,r){var n,o=r();Array.isArray(o)?(null!=e[t]||(e[t]=[]),(n=e[t]).push.apply(n,function(e){if(Array.isArray(e))return a(e)}(o)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||l(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===o?"undefined":s(o))==="object"&&null!==o&&(null!=e[t]||(e[t]={}),Object.assign(e[t],o))},M=function(e,t,r){null!=e[t]||(e[t]=r())},A=null!=(p=null==(y=r.remotesLoadingData)?void 0:y.chunkMapping)?p:{},x=null!=(f=null==(g=r.remotesLoadingData)?void 0:g.moduleIdToRemoteDataMapping)?f:{},T=null!=(d=null==(b=r.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?d:{},R=null!=(h=null==(v=r.consumesLoadingData)?void 0:v.chunkMapping)?h:{},k=null!=(m=null==(S=r.consumesLoadingData)?void 0:S.moduleIdToConsumeDataMapping)?m:{},I={},j=[],C={},P=null==(O=r.initializeExposesData)?void 0:O.shareScope;for(var N in o())r.federation[N]=o()[N];M(r.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,a=Object.entries(k)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var s=i(o.value,2),l=s[0],u=s[1];e[l]={getter:u.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:u.requiredVersion,strictVersion:u.strictVersion,singleton:u.singleton,eager:u.eager},scope:[u.shareScope]},shareKey:u.shareKey}}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}return e}),M(r.federation,"initOptions",function(){return{}}),M(r.federation.initOptions,"name",function(){return"@openmrs/esm-help-menu-app"}),M(r.federation.initOptions,"shareStrategy",function(){return"version-first"}),M(r.federation.initOptions,"shared",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,a=Object.entries(T)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var l=i(o.value,2),u=l[0],c=l[1],p=!0,f=!1,d=void 0;try{for(var h,m=c[Symbol.iterator]();!(p=(h=m.next()).done);p=!0){var y=h.value;if((void 0===y?"undefined":s(y))==="object"&&null!==y){var g=y.name,b=y.version,v=y.factory,S=y.eager,O=y.singleton,E=y.requiredVersion,_=y.strictVersion,w={},M=function(e){return void 0!==e};M(O)&&(w.singleton=O),M(E)&&(w.requiredVersion=E),M(S)&&(w.eager=S),M(_)&&(w.strictVersion=_);var A={version:b,scope:[u],shareConfig:w,get:v};e[g]?e[g].push(A):e[g]=[A]}}}catch(e){f=!0,d=e}finally{try{p||null==m.return||m.return()}finally{if(f)throw d}}}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}return e}),w(r.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),w(r.federation.initOptions,"plugins",function(){return u}),M(r.federation,"bundlerRuntimeOptions",function(){return{}}),M(r.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),M(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return A}),M(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return c}),M(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,a=Object.entries(x)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var s=i(o.value,2),l=s[0],u=s[1];e[l]=[u.shareScope,u.name,u.externalModuleId,u.remoteName]}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}return e}),M(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return r}),w(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,a=Object.entries(x)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var s=i(o.value,2),l=s[0],u=c[s[1].remoteName];u&&(e[l]=u)}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}return e}),_(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),_(r.f,"remotes",function(e,t){return r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:A,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})}),_(r.f,"consumes",function(e,t){return r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:R,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:I,webpackRequire:r})}),_(r,"I",function(e,t){return r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:j,initTokens:C,webpackRequire:r})}),_(r,"initContainer",function(e,t,n){return r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:P,webpackRequire:r})}),_(r,"getContainer",function(e,t){var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(E=r.consumesLoadingData)?void 0:E.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:I,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},17416(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,u=a(t),c=0,p=u.length;c<p;c++)l=u[c],s.call(e,l)||l===r||n(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(i=o(t,l))||i.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},45734(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(17416);let n=r(91001),o=r(53054),a=r(9170);function i(e){let t=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(t),t}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return o.Module}}),t.ModuleFederation=o.ModuleFederation,t.createInstance=i,t.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=i(r)},t.loadRemote=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.loadShare=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerShared.apply(s,e)}},91001(e,t,r){r(17416);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-help-menu-app:10.0.1-pre.5320";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},73162(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,u=a(t),c=0,p=u.length;c<p;c++)l=u[c],s.call(e,l)||l===r||n(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(i=o(t,l))||i.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},58262(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},81148(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91229(e,t,r){let n=r(58262),o=r(21163),a=r(24476),i=r(1532),s=r(53602);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:u,chunkMapping:c,moduleToHandlerMapping:p}=e;n.attachShareScopeMap(u),u.o(c,t)&&c[t].forEach(e=>{if(u.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,u.m[e]=r=>{delete u.c[e];let n=t(),{shareInfo:o}=p[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete l[e],u.m[e]=r=>{throw delete u.c[e],t}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:c,getter:f,shareInfo:d,treeShakingGetter:h}=p[e],m=a.getUsedExports(u,c),y={...d};Array.isArray(y.scope)&&Array.isArray(y.scope[0])&&(y.scope=y.scope[0]),m&&(y.treeShaking={usedExports:m,useIn:[o.options.name]});let g=o.loadShare(c,{customShareInfo:y}).then(e=>{if(!1===e){if("function"!=typeof f)throw Error(s.getShortErrorMsg(i.RUNTIME_012,{[i.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:c}));return h?.()||f()}return e});g.then?r.push(l[e]=g.then(t).catch(n)):t(g)}catch(e){n(e)}})}},1532(e,t){t.RUNTIME_012="RUNTIME-012"},53602(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
|
|
1
|
+
!function(){var e="u">typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@openmrs/esm-help-menu-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var t=e._FEDERATION_RUNTIME_CORE_FROM;t&&t.version&&"2.8"!==String(t.version).split(".").slice(0,2).join(".")&&console.warn("@openmrs/esm-help-menu-app was built against Module Federation 2.8.x but the app shell provides "+t.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,t,r,n,o,a={4789(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}r.d(t,{A:()=>d});var i=["width","height","viewBox"],s=["tabindex"],l={focusable:"false",preserveAspectRatio:"xMidYMid meet"},u=r(97598),c=r.n(u),p=r(46925),f=r.n(p);let d=f().forwardRef(function({className:e,children:t,tabIndex:r,xmlns:n="http://www.w3.org/2000/svg",preserveAspectRatio:u="xMidYMid meet",...c},p){let{tabindex:d,...h}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=e.height,n=e.viewBox,u=void 0===n?"0 0 ".concat(t," ").concat(r):n,c=a(e,i),p=c.tabindex,f=a(c,s),d=o(o(o({},l),f),{},{width:t,height:r,viewBox:u});return d["aria-label"]||d["aria-labelledby"]||d.title?(d.role="img",null!=p&&(d.focusable="true",d.tabindex=p)):d["aria-hidden"]=!0,d}({...c,tabindex:r});return e&&(h.className=e),null!=d&&("number"==typeof d?h.tabIndex=d:h.tabIndex=Number(r)),p&&(h.ref=p),n&&(h.xmlns=n),u&&(h.preserveAspectRatio=u),f().createElement("svg",h,t)});d.displayName="Icon",d.propTypes={"aria-hidden":c().oneOfType([c().bool,c().oneOf(["true","false"])]),"aria-label":c().string,"aria-labelledby":c().string,children:c().node,className:c().string,height:c().oneOfType([c().number,c().string]),preserveAspectRatio:c().string,tabIndex:c().oneOfType([c().number,c().string]),viewBox:c().string,width:c().oneOfType([c().number,c().string]),xmlns:c().string}},98076(e,t,r){"use strict";r.d(t,{BK:()=>u,F1:()=>l});var n,o,a=r(46925),i=r.n(a),s=r(4789);let l=i().forwardRef(function({children:e,size:t=16,...r},o){return i().createElement(s.A,{width:t,height:t,ref:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},n||(n=i().createElement("path",{d:"M10 6L10 8 22.59 8 6 24.59 7.41 26 24 9.41 24 22 26 22 26 6 10 6z"})),e)}),u=i().forwardRef(function({children:e,size:t=16,...r},n){return i().createElement(s.A,{width:t,height:t,ref:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},o||(o=i().createElement("path",{d:"M27.6 20.6L24 24.2 24 4 22 4 22 24.2 18.4 20.6 17 22 23 28 29 22zM9 4L3 10 4.4 11.4 8 7.8 8 28 10 28 10 7.8 13.6 11.4 15 10z"})),e)})},9650(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(41109),o=r.n(n),a=r(75248),i=r.n(a)()(o());i.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-help-menu__styles__helpButton___jZKhx{display:flex;align-items:center;justify-content:space-between;color:#000 !important}.-esm-help-menu__styles__helpButton___jZKhx:focus{outline:none}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/help-menu/components/styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,4CACE,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,qBAAA,CACA,kDACE,YAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.helpButton {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: black !important;\n &:focus {\n outline: none;\n }\n}\n"],sourceRoot:""}]),i.locals={helpButton:"-esm-help-menu__styles__helpButton___jZKhx"};let s=i},75248(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r}).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&o[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},41109(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}e.exports=function(e){var r=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,r,n=e&&("u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var o=[],a=!0,i=!1;try{for(n=n.call(e);!(a=(t=n.next()).done)&&(o.push(t.value),4!==o.length);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(i)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return t(e,4);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,4)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[1],o=r[3];if(!o)return n;if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(o))));return[n].concat(o.sources.map(function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")})).concat(["/*# ".concat("sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a)," */")]).join("\n")}return[n].join("\n")}},90856(e,t,r){"use strict";var n=r(7183);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},97598(e,t,r){e.exports=r(90856)()},7183(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},97478(e){"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var o={},a=[],i=0;i<e.length;i++){var s=e[i],l=n.base?s[0]+n.base:s[0],u=o[l]||0,c="".concat(l," ").concat(u);o[l]=u+1;var p=r(c),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var d=function(e,t){var r=t.domAPI(t);return r.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&r.update(e=t):r.remove()}}(f,n);n.byIndex=i,t.splice(i,0,{identifier:c,updater:d,references:1})}a.push(c)}return a}e.exports=function(e,o){var a=n(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var s=r(a[i]);t[s].references--}for(var l=n(e,o),u=0;u<a.length;u++){var c=r(a[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}a=l}}},61301(e){"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},6626(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},49222(e,t,r){"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},27135(e){"use strict";e.exports=function(e){if("u"<typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){var n,o,a;n="",r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {")),(o=void 0!==r.layer)&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}"),(a=r.sourceMap)&&"u">typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},88279(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},84767(e,t,r){var n={"./en.json":["34300","117"]};function o(e){if(!r.o(n,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=n[e],o=t[0];return r.e(t[1]).then(function(){return r(o)})}o.keys=()=>Object.keys(n),o.id=84767,e.exports=o},47823(e,t,r){"use strict";var n=r(43004),o=r(46925),a=r.n(o),i=r(99737),s=r(98076),l=r(18326),u=r(97478),c=r.n(u),p=r(27135),f=r.n(p),d=r(61301),h=r.n(d),m=r(49222),y=r.n(m),g=r(6626),b=r.n(g),v=r(88279),S=r.n(v),O=r(9650),E={};E.styleTagTransform=S(),E.setAttributes=y(),E.insert=h().bind(null,"head"),E.domAPI=f(),E.insertStyleElement=b(),c()(O.A,E);let _=O.A&&O.A.locals?O.A.locals:void 0;r(84767);var w={featureName:"help-menu",moduleName:"@openmrs/esm-help-menu-app"};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("39"),r.e("438")]).then(r.bind(r,80629))},w),(0,n.getSyncLifecycle)(function(){var e=(0,i.useTranslation)().t;return a().createElement(l.Link,{className:_.helpButton,href:"https://openmrs.atlassian.net/wiki/x/DgAaD",rel:"noopener noreferrer",renderIcon:s.F1,target:"_blank"},e("releaseNotes","Release notes"))},w),(0,n.getSyncLifecycle)(function(){var e=(0,i.useTranslation)().t;return a().createElement(l.Link,{className:_.helpButton,href:"https://om.rs/o3docs",rel:"noopener noreferrer",renderIcon:s.F1,target:"_blank"},e("docs","Docs"))},w),(0,n.getSyncLifecycle)(function(){var e=(0,i.useTranslation)().t;return a().createElement(l.Link,{className:_.helpButton,href:"https://talk.openmrs.org",rel:"noopener noreferrer",renderIcon:s.F1,target:"_blank"},e("communityforum","Community forum"))},w)},49237(e,t,r){"use strict";var n=r(88516),o=r.n(n);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,s=!1;try{for(o=o.call(e);!(i=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,n=e}finally{try{i||null==o.return||o.return()}finally{if(s)throw n}}return a}}(e,t)||l(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function l(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}var u=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),c={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){var p,f,d,h,m,y,g,b,v,S,O,E,_=function(e,t,r){e&&e[t]&&(e[t]=r)},w=function(e,t,r){var n,o=r();Array.isArray(o)?(null!=e[t]||(e[t]=[]),(n=e[t]).push.apply(n,function(e){if(Array.isArray(e))return a(e)}(o)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||l(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===o?"undefined":s(o))==="object"&&null!==o&&(null!=e[t]||(e[t]={}),Object.assign(e[t],o))},M=function(e,t,r){null!=e[t]||(e[t]=r())},A=null!=(p=null==(y=r.remotesLoadingData)?void 0:y.chunkMapping)?p:{},x=null!=(f=null==(g=r.remotesLoadingData)?void 0:g.moduleIdToRemoteDataMapping)?f:{},T=null!=(d=null==(b=r.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?d:{},R=null!=(h=null==(v=r.consumesLoadingData)?void 0:v.chunkMapping)?h:{},k=null!=(m=null==(S=r.consumesLoadingData)?void 0:S.moduleIdToConsumeDataMapping)?m:{},I={},j=[],C={},P=null==(O=r.initializeExposesData)?void 0:O.shareScope;for(var N in o())r.federation[N]=o()[N];M(r.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,a=Object.entries(k)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var s=i(o.value,2),l=s[0],u=s[1];e[l]={getter:u.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:u.requiredVersion,strictVersion:u.strictVersion,singleton:u.singleton,eager:u.eager},scope:[u.shareScope]},shareKey:u.shareKey}}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}return e}),M(r.federation,"initOptions",function(){return{}}),M(r.federation.initOptions,"name",function(){return"@openmrs/esm-help-menu-app"}),M(r.federation.initOptions,"shareStrategy",function(){return"version-first"}),M(r.federation.initOptions,"shared",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,a=Object.entries(T)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var l=i(o.value,2),u=l[0],c=l[1],p=!0,f=!1,d=void 0;try{for(var h,m=c[Symbol.iterator]();!(p=(h=m.next()).done);p=!0){var y=h.value;if((void 0===y?"undefined":s(y))==="object"&&null!==y){var g=y.name,b=y.version,v=y.factory,S=y.eager,O=y.singleton,E=y.requiredVersion,_=y.strictVersion,w={},M=function(e){return void 0!==e};M(O)&&(w.singleton=O),M(E)&&(w.requiredVersion=E),M(S)&&(w.eager=S),M(_)&&(w.strictVersion=_);var A={version:b,scope:[u],shareConfig:w,get:v};e[g]?e[g].push(A):e[g]=[A]}}}catch(e){f=!0,d=e}finally{try{p||null==m.return||m.return()}finally{if(f)throw d}}}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}return e}),w(r.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),w(r.federation.initOptions,"plugins",function(){return u}),M(r.federation,"bundlerRuntimeOptions",function(){return{}}),M(r.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),M(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return A}),M(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return c}),M(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,a=Object.entries(x)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var s=i(o.value,2),l=s[0],u=s[1];e[l]=[u.shareScope,u.name,u.externalModuleId,u.remoteName]}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}return e}),M(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return r}),w(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,a=Object.entries(x)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var s=i(o.value,2),l=s[0],u=c[s[1].remoteName];u&&(e[l]=u)}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}return e}),_(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),_(r.f,"remotes",function(e,t){return r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:A,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})}),_(r.f,"consumes",function(e,t){return r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:R,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:I,webpackRequire:r})}),_(r,"I",function(e,t){return r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:j,initTokens:C,webpackRequire:r})}),_(r,"initContainer",function(e,t,n){return r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:P,webpackRequire:r})}),_(r,"getContainer",function(e,t){var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(E=r.consumesLoadingData)?void 0:E.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:I,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},17416(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,u=a(t),c=0,p=u.length;c<p;c++)l=u[c],s.call(e,l)||l===r||n(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(i=o(t,l))||i.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},45734(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(17416);let n=r(91001),o=r(53054),a=r(9170);function i(e){let t=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(t),t}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return o.Module}}),t.ModuleFederation=o.ModuleFederation,t.createInstance=i,t.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=i(r)},t.loadRemote=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.loadShare=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,o.assert)(s,a.RUNTIME_009,a.runtimeDescMap),s.registerShared.apply(s,e)}},91001(e,t,r){r(17416);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-help-menu-app:10.0.1-pre.5324";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},73162(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,u=a(t),c=0,p=u.length;c<p;c++)l=u[c],s.call(e,l)||l===r||n(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(i=o(t,l))||i.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},58262(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},81148(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91229(e,t,r){let n=r(58262),o=r(21163),a=r(24476),i=r(1532),s=r(53602);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:u,chunkMapping:c,moduleToHandlerMapping:p}=e;n.attachShareScopeMap(u),u.o(c,t)&&c[t].forEach(e=>{if(u.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,u.m[e]=r=>{delete u.c[e];let n=t(),{shareInfo:o}=p[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete l[e],u.m[e]=r=>{throw delete u.c[e],t}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:c,getter:f,shareInfo:d,treeShakingGetter:h}=p[e],m=a.getUsedExports(u,c),y={...d};Array.isArray(y.scope)&&Array.isArray(y.scope[0])&&(y.scope=y.scope[0]),m&&(y.treeShaking={usedExports:m,useIn:[o.options.name]});let g=o.loadShare(c,{customShareInfo:y}).then(e=>{if(!1===e){if("function"!=typeof f)throw Error(s.getShortErrorMsg(i.RUNTIME_012,{[i.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:c}));return h?.()||f()}return e});g.then?r.push(l[e]=g.then(t).catch(n)):t(g)}catch(e){n(e)}})}},1532(e,t){t.RUNTIME_012="RUNTIME-012"},53602(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
|
|
2
2
|
${n}`),o.join("\n")}},252(e,t){t.getSharedFallbackGetter=({shareKey:e,factory:t,version:r,webpackRequire:n,libraryType:o="global"})=>{let{runtime:a,instance:i,bundlerRuntime:s,sharedFallback:l}=n.federation;if(!l)return t;let u=l[e];if(!u)return t;let c=r?u.find(e=>e[1]===r):u[0];if(!c)throw Error(`No fallback item found for shareKey: ${e} and version: ${r}`);return()=>a.getRemoteEntry({origin:n.federation.instance,remoteInfo:{name:c[2],entry:`${n.p}${c[0]}`,type:o,entryGlobalName:c[2],shareScope:"default"}}).then(t=>{if(!t)throw Error(`Failed to load fallback entry for shareKey: ${e} and version: ${r}`);return t.init(n.federation.instance,s).then(()=>t.get())})}},24476(e,t){t.getUsedExports=function(e,t){let r=e.federation.usedExports;if(r)return r[t]}},88516(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let n=r(73162),o=r(58262),a=r(57245),i=r(91229),s=r(87706),l=r(29982),u=r(66605),c=r(16582),p=r(252),f=r(45734);f=n.__toESM(f);let d={remotes:a.remotes,consumes:i.consumes,I:s.initializeSharing,S:{},installInitialConsumes:l.installInitialConsumes,initContainerEntry:u.initContainerEntry,init:c.init,getSharedFallbackGetter:p.getSharedFallbackGetter},h={runtime:f,instance:void 0,initOptions:void 0,bundlerRuntime:d,attachShareScopeMap:o.attachShareScopeMap,bundlerRuntimeOptions:{}},m=h.instance,y=h.initOptions,g=h.bundlerRuntimeOptions;t.attachShareScopeMap=o.attachShareScopeMap,t.bundlerRuntime=d,t.bundlerRuntimeOptions=g,t.default=h,t.initOptions=y,t.instance=m,Object.defineProperty(t,"runtime",{enumerable:!0,get:function(){return f}})},16582(e,t,r){let n=r(73162),o=r(45734),a=r(23926);a=n.__toESM(a),t.init=function({webpackRequire:e}){let{initOptions:t,runtime:n,sharedFallback:i,bundlerRuntime:s,libraryType:l}=e.federation;if(!t)throw Error("initOptions is required!");return t.plugins||=[],t.plugins.push({name:"tree-shake-plugin",beforeInit(t){let{userOptions:n,origin:u,options:c}=t,p=n.version||c.version;if(!i)return t;let f=n.shared||{},d=[];Object.keys(f).forEach(t=>{(Array.isArray(f[t])?f[t]:[f[t]]).forEach(r=>{d.push([t,r]),"get"in r&&(r.treeShaking||={},r.treeShaking.get=r.get,r.get=s.getSharedFallbackGetter({shareKey:t,factory:r.get,webpackRequire:e,libraryType:l,version:r.version}))})});let h=a.default.global.getGlobalSnapshotInfoByModuleInfo({name:u.name,version:p});return h&&"shared"in h&&(Object.keys(c.shared||{}).forEach(e=>{c.shared[e].forEach(t=>{d.push([e,t])})}),d.forEach(([e,t])=>{((e,t)=>{let n=h.shared.find(t=>t.sharedName===e);if(!n)return;let{treeShaking:a}=t;if(!a)return;let{secondarySharedTreeShakingName:i,secondarySharedTreeShakingEntry:s,treeShakingStatus:c}=n;a.status!==c&&(a.status=c,s&&l&&i&&(a.get=async()=>{let e=await (0,o.getRemoteEntry)({origin:u,remoteInfo:{name:i,entry:s,type:l,entryGlobalName:i,shareScope:"default"}});return await e.init(u,r.federation.bundlerRuntime),e.get()}))})(e,t)})),t}}),n.init(t)}},66605(e,t){t.initContainerEntry=function(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:o,remoteEntryInitOptions:a}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let i=t.federation.instance;i.initOptions({name:t.federation.initOptions.name,remotes:[],...a});let s=a?.shareScopeKeys,l=a?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void i.initShareScopeMap(e,r,{hostShareScopeMap:a?.shareScopeMap||{}});l[e]||(l[e]={});let t=l[e];i.initShareScopeMap(e,t,{hostShareScopeMap:a?.shareScopeMap||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];i.initShareScopeMap(e,t,{hostShareScopeMap:a?.shareScopeMap||{}})}):i.initShareScopeMap(e,r,{hostShareScopeMap:a?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,n):Promise.all(o.map(e=>t.I(e,n))).then(()=>!0):t.I(o||"default",n)}},87706(e,t,r){let n=r(58262),o=r(81148);t.initializeSharing=function({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:a,initScope:i}){let s=Array.isArray(e)?e:[e];var l=[],u=function(s){i||(i=[]);let l=t.federation.instance;var u=a[s];if(u||(u=a[s]={from:l.name}),i.indexOf(u)>=0)return;i.push(u);let c=r[s];if(c)return c;var p=r=>{var n=e=>{let t;return t="Initialization of sharing external failed: "+e,"u">typeof console&&console.warn&&console.warn(t)};try{var o=t(r);if(!o)return;var a=r=>r&&r.init&&r.init(t.S[s],i,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return f.push(o.then(a,n));var l=a(o);if(l&&"boolean"!=typeof l&&l.then)return f.push(l.catch(n))}catch(e){n(e)}};let f=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:i,from:"build"});n.attachShareScopeMap(t);let d=t.federation.bundlerRuntimeOptions.remotes;return(d&&Object.keys(d.idToRemoteMap).forEach(e=>{let t=d.idToRemoteMap[e],r=d.idToExternalAndNameMapping[e][2];if(t.length>1)p(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||p(r)}}),f.length)?r[s]=Promise.all(f).then(()=>r[s]=!0):r[s]=!0};return s.forEach(e=>{l.push(u(e))}),Promise.all(l).then(()=>!0)}},29982(e,t,r){let n=r(21163),o=r(24476);t.installInitialConsumes=function(e){n.updateConsumeOptions(e);let{moduleToHandlerMapping:t,webpackRequire:r,installedModules:a,initialConsumes:i,asyncLoad:s}=e,l=[];i.forEach(e=>{l.push([e,()=>(function(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n,asyncLoad:a}=e,i=n.federation.instance;if(!i)throw Error("Federation instance not found!");let{shareKey:s,shareInfo:l}=r[t];try{let e=o.getUsedExports(n,s),t={...l};if(e&&(t.treeShaking={usedExports:e,useIn:[i.options.name]}),a)return i.loadShare(s,{customShareInfo:t});return i.loadShareSync(s,{customShareInfo:t})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}})({moduleId:e,moduleToHandlerMapping:t,webpackRequire:r,asyncLoad:s})])});let u=(e,n)=>{r.m[e]=o=>{a[e]=0,delete r.c[e];let i=n();if("function"!=typeof i)throw Error(`Shared module is not available for eager consumption: ${e}`);let s=i(),{shareInfo:l}=t[e];if(l?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}o.exports=s}};if(s)return Promise.all(l.map(async([e,t])=>{let r=await t();u(e,()=>r)}));l.forEach(([e,t])=>{u(e,t)})}},57245(e,t,r){r(73162);let n=r(58262),o=r(81148),a=r(21163),i=r(31853);t.remotes=function(e){a.updateRemoteOptions(e);let{chunkId:t,promises:r,webpackRequire:s,chunkMapping:l,idToExternalAndNameMapping:u,idToRemoteMap:c}=e;n.attachShareScopeMap(s),s.o(l,t)&&l[t].forEach(e=>{let t=s.R;t||(t=[]);let n=u[e],a=c[e]||[];if(t.indexOf(n)>=0)return;if(t.push(n),n.p)return r.push(n.p);let l=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
|
|
3
|
-
while loading "${n[1]}" from ${n[2]}`),s.m[e]=()=>{throw t},n.p=0},p=(e,t,o,a,i,s)=>{try{let u=e(t,o);if(!u||!u.then)return i(u,a,s);{let e=u.then(e=>i(e,a),l);if(!s)return e;r.push(n.p=e)}}catch(e){l(e)}};var f=(e,r,o)=>p(r.get,n[1],t,0,d,o),d=t=>{n.p=1,s.m[e]=e=>{e.exports=t()}};1===a.length&&o.FEDERATION_SUPPORTED_TYPES.includes(a[0].externalType)&&a[0].name?p(()=>{try{let e=(0,i.decodeName)(a[0].name,i.ENCODE_NAME_PREFIX)+n[1].slice(1),t=s.federation.instance,r=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){l(e)}},n[2],0,0,d,1):p(s,n[2],0,0,(e,t,r)=>e?p(s.I,n[0],0,e,f,r):l(),1)})}},21163(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t,{sharedFallback:a,bundlerRuntime:i,libraryType:s}=t.federation;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:u={}}=n;if(Object.entries(o).forEach(([e,n])=>{r[e]||(r[e]={getter:a?i?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:t,libraryType:s}):n.fallback,treeShakingGetter:a?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:a?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;l.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(u).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:o,factory:a,eager:i,singleton:s,requiredVersion:l,strictVersion:u}=n,c={requiredVersion:`^${o}`},p=function(e){return void 0!==e};p(s)&&(c.singleton=s),p(l)&&(c.requiredVersion=l),p(i)&&(c.eager=i),p(u)&&(c.strictVersion=u);let f={version:o,scope:[e],shareConfig:c,get:a};r[t]?r[t].push(f):r[t]=[f]}e.instance.registerShared(r),o._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:a}=t,i=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!a||a._updated||!i)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=a;if(s&&l){for(let[e,t]of Object.entries(l))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&i[t.remoteName]){let r=i[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}o&&Object.entries(s).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),a._updated=1}}},27913(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,u=a(t),c=0,p=u.length;c<p;c++)l=u[c],s.call(e,l)||l===r||n(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(i=o(t,l))||i.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},23926(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(27913);let n=r(41050),o=r(53054),a={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},i=o.helpers.share,s=o.helpers.utils;t.default={global:a,share:i,utils:s},t.global=a,t.share=i,t.utils=s},41050(e,t,r){r(27913);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-help-menu-app:10.0.1-pre.5320";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,exports:{}};return a[e].call(r.exports,r,r.exports,s),r.exports}s.m=a,s.c=i,s.x=()=>s(47823),s.federation||(s.federation={chunkMatcher:function(e){return!/^(234|366|611)$/.test(e)},rootOutputDir:""}),s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+e+".js",s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},s.l=function(e,t,r,n){if(l[e])return void l[e].push(t);if(void 0!==r)for(var o,a,i=document.getElementsByTagName("script"),u=0;u<i.length;u++){var c=i[u];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@openmrs/esm-help-menu-app:"+r){o=c;break}}o||(a=!0,(o=document.createElement("script")).timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-rspack","@openmrs/esm-help-menu-app:"+r),o.src=e),l[e]=[t];var p=function(t,r){o.onerror=o.onload=null,clearTimeout(f);var n=l[e];if(delete l[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach(function(e){return e(r)}),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),a&&document.head.appendChild(o)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0,s.rv=()=>"1.7.9",s.S={},s.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.92.1",factory:()=>Promise.all([s.e("165"),s.e("981"),s.e("120"),s.e("366"),s.e("234"),s.e("878")]).then(()=>()=>s(5987)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework",version:"10.0.1-pre.5320",factory:()=>Promise.all([s.e("165"),s.e("614"),s.e("408"),s.e("366"),s.e("234"),s.e("893"),s.e("611")]).then(()=>()=>s(23236)),eager:0,singleton:1,requiredVersion:"10.x",strictVersion:0},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([s.e("116"),s.e("366")]).then(()=>()=>s(35623)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([s.e("651"),s.e("366")]).then(()=>()=>s(72454)),eager:0,singleton:1,requiredVersion:"16.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("819").then(()=>()=>s(86326)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"rxjs",version:"6.6.7",factory:()=>s.e("613").then(()=>()=>s(29188)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0}]},uniqueName:"@openmrs/esm-help-menu-app"},s.I=s.I||function(){throw Error("should have __webpack_require__.I")},s.g.importScripts&&(u=s.g.location+"");var l,u,c=s.g.document;if(!u&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(u=c.currentScript.src),!u)){var p=c.getElementsByTagName("script");if(p.length)for(var f=p.length-1;f>-1&&(!u||!/^http(s?):/.test(u));)u=p[f--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");s.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.consumesLoadingData={chunkMapping:{889:["43004","18326","99737","46925"],893:["67436"],366:["46925"],234:["22065"],611:["18326","99737"]},moduleIdToConsumeDataMapping:{43004:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"10.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("165"),s.e("614"),s.e("234"),s.e("893")]).then(()=>()=>s(23236))},18326:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("165"),s.e("981"),s.e("120"),s.e("234")]).then(()=>()=>s(5987))},99737:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"16.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("651").then(()=>()=>s(72454))},46925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("819").then(()=>()=>s(86326))},22065:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("116").then(()=>()=>s(35623))},67436:{shareScope:"default",shareKey:"rxjs",import:"rxjs",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("613").then(()=>()=>s(29188))}},initialConsumes:["43004","18326","99737","46925"]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},e={889:0},s.f.j=function(t,r){var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(234|366|611)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var a=s.p+s.u(t),i=Error();s.l(a,function(r){if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+t,t)}},t=(t,r)=>{var n,o,[a,i,l]=r,u=0;if(a.some(t=>0!==e[t])){for(n in i)s.o(i,n)&&(s.m[n]=i[n]);l&&l(s)}for(t&&t(r);u<a.length;u++)o=a[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(r=globalThis.webpackChunk_openmrs_esm_help_menu_app=globalThis.webpackChunk_openmrs_esm_help_menu_app||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),s.ruid="bundler=rspack@1.7.9",n=s.x,o=!1,s.x=function(){if(o||(o=!0,s(49237)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},s.x()})();
|
|
3
|
+
while loading "${n[1]}" from ${n[2]}`),s.m[e]=()=>{throw t},n.p=0},p=(e,t,o,a,i,s)=>{try{let u=e(t,o);if(!u||!u.then)return i(u,a,s);{let e=u.then(e=>i(e,a),l);if(!s)return e;r.push(n.p=e)}}catch(e){l(e)}};var f=(e,r,o)=>p(r.get,n[1],t,0,d,o),d=t=>{n.p=1,s.m[e]=e=>{e.exports=t()}};1===a.length&&o.FEDERATION_SUPPORTED_TYPES.includes(a[0].externalType)&&a[0].name?p(()=>{try{let e=(0,i.decodeName)(a[0].name,i.ENCODE_NAME_PREFIX)+n[1].slice(1),t=s.federation.instance,r=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){l(e)}},n[2],0,0,d,1):p(s,n[2],0,0,(e,t,r)=>e?p(s.I,n[0],0,e,f,r):l(),1)})}},21163(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t,{sharedFallback:a,bundlerRuntime:i,libraryType:s}=t.federation;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:u={}}=n;if(Object.entries(o).forEach(([e,n])=>{r[e]||(r[e]={getter:a?i?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:t,libraryType:s}):n.fallback,treeShakingGetter:a?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:a?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;l.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(u).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:o,factory:a,eager:i,singleton:s,requiredVersion:l,strictVersion:u}=n,c={requiredVersion:`^${o}`},p=function(e){return void 0!==e};p(s)&&(c.singleton=s),p(l)&&(c.requiredVersion=l),p(i)&&(c.eager=i),p(u)&&(c.strictVersion=u);let f={version:o,scope:[e],shareConfig:c,get:a};r[t]?r[t].push(f):r[t]=[f]}e.instance.registerShared(r),o._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:a}=t,i=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!a||a._updated||!i)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=a;if(s&&l){for(let[e,t]of Object.entries(l))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&i[t.remoteName]){let r=i[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}o&&Object.entries(s).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),a._updated=1}}},27913(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(i(e)):{},((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,u=a(t),c=0,p=u.length;c<p;c++)l=u[c],s.call(e,l)||l===r||n(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(i=o(t,l))||i.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},23926(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(27913);let n=r(41050),o=r(53054),a={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},i=o.helpers.share,s=o.helpers.utils;t.default={global:a,share:i,utils:s},t.global=a,t.share=i,t.utils=s},41050(e,t,r){r(27913);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-help-menu-app:10.0.1-pre.5324";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,exports:{}};return a[e].call(r.exports,r,r.exports,s),r.exports}s.m=a,s.c=i,s.x=()=>s(47823),s.federation||(s.federation={chunkMatcher:function(e){return!/^(234|366|611)$/.test(e)},rootOutputDir:""}),s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+e+".js",s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},s.l=function(e,t,r,n){if(l[e])return void l[e].push(t);if(void 0!==r)for(var o,a,i=document.getElementsByTagName("script"),u=0;u<i.length;u++){var c=i[u];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@openmrs/esm-help-menu-app:"+r){o=c;break}}o||(a=!0,(o=document.createElement("script")).timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-rspack","@openmrs/esm-help-menu-app:"+r),o.src=e),l[e]=[t];var p=function(t,r){o.onerror=o.onload=null,clearTimeout(f);var n=l[e];if(delete l[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach(function(e){return e(r)}),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),a&&document.head.appendChild(o)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0,s.rv=()=>"1.7.9",s.S={},s.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.92.1",factory:()=>Promise.all([s.e("165"),s.e("981"),s.e("120"),s.e("366"),s.e("234"),s.e("878")]).then(()=>()=>s(5987)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework",version:"10.0.1-pre.5324",factory:()=>Promise.all([s.e("165"),s.e("614"),s.e("408"),s.e("366"),s.e("234"),s.e("893"),s.e("611")]).then(()=>()=>s(23236)),eager:0,singleton:1,requiredVersion:"10.x",strictVersion:0},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([s.e("116"),s.e("366")]).then(()=>()=>s(35623)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([s.e("651"),s.e("366")]).then(()=>()=>s(72454)),eager:0,singleton:1,requiredVersion:"16.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("819").then(()=>()=>s(86326)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"rxjs",version:"6.6.7",factory:()=>s.e("613").then(()=>()=>s(29188)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0}]},uniqueName:"@openmrs/esm-help-menu-app"},s.I=s.I||function(){throw Error("should have __webpack_require__.I")},s.g.importScripts&&(u=s.g.location+"");var l,u,c=s.g.document;if(!u&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(u=c.currentScript.src),!u)){var p=c.getElementsByTagName("script");if(p.length)for(var f=p.length-1;f>-1&&(!u||!/^http(s?):/.test(u));)u=p[f--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");s.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.consumesLoadingData={chunkMapping:{889:["43004","18326","99737","46925"],893:["67436"],366:["46925"],234:["22065"],611:["18326","99737"]},moduleIdToConsumeDataMapping:{43004:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"10.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("165"),s.e("614"),s.e("234"),s.e("893")]).then(()=>()=>s(23236))},18326:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("165"),s.e("981"),s.e("120"),s.e("234")]).then(()=>()=>s(5987))},99737:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"16.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("651").then(()=>()=>s(72454))},46925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("819").then(()=>()=>s(86326))},22065:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("116").then(()=>()=>s(35623))},67436:{shareScope:"default",shareKey:"rxjs",import:"rxjs",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("613").then(()=>()=>s(29188))}},initialConsumes:["43004","18326","99737","46925"]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},e={889:0},s.f.j=function(t,r){var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(234|366|611)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var a=s.p+s.u(t),i=Error();s.l(a,function(r){if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+t,t)}},t=(t,r)=>{var n,o,[a,i,l]=r,u=0;if(a.some(t=>0!==e[t])){for(n in i)s.o(i,n)&&(s.m[n]=i[n]);l&&l(s)}for(t&&t(r);u<a.length;u++)o=a[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(r=globalThis.webpackChunk_openmrs_esm_help_menu_app=globalThis.webpackChunk_openmrs_esm_help_menu_app||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),s.ruid="bundler=rspack@1.7.9",n=s.x,o=!1,s.x=function(){if(o||(o=!0,s(49237)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},s.x()})();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var _openmrs_esm_help_menu_app;!function(){var e="u">typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@openmrs/esm-help-menu-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var t=e._FEDERATION_RUNTIME_CORE_FROM;t&&t.version&&"2.8"!==String(t.version).split(".").slice(0,2).join(".")&&console.warn("@openmrs/esm-help-menu-app was built against Module Federation 2.8.x but the app shell provides "+t.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,t,r,n,o,i={49237(e,t,r){"use strict";var n=r(88516),o=r.n(n);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return i}}(e,t)||l(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function l(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}}var u=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),c={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){var p,d,f,h,m,g,y,b,S,v,O,E,_=function(e,t,r){e&&e[t]&&(e[t]=r)},M=function(e,t,r){var n,o=r();Array.isArray(o)?(null!=e[t]||(e[t]=[]),(n=e[t]).push.apply(n,function(e){if(Array.isArray(e))return i(e)}(o)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||l(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===o?"undefined":s(o))==="object"&&null!==o&&(null!=e[t]||(e[t]={}),Object.assign(e[t],o))},R=function(e,t,r){null!=e[t]||(e[t]=r())},T=null!=(p=null==(g=r.remotesLoadingData)?void 0:g.chunkMapping)?p:{},I=null!=(d=null==(y=r.remotesLoadingData)?void 0:y.moduleIdToRemoteDataMapping)?d:{},w=null!=(f=null==(b=r.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?f:{},j=null!=(h=null==(S=r.consumesLoadingData)?void 0:S.chunkMapping)?h:{},P=null!=(m=null==(v=r.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?m:{},k={},N=[],x={},C=null==(O=r.initializeExposesData)?void 0:O.shareScope;for(var D in o())r.federation[D]=o()[D];R(r.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(P)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]={getter:u.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:u.requiredVersion,strictVersion:u.strictVersion,singleton:u.singleton,eager:u.eager},scope:[u.shareScope]},shareKey:u.shareKey}}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),R(r.federation,"initOptions",function(){return{}}),R(r.federation.initOptions,"name",function(){return"@openmrs/esm-help-menu-app"}),R(r.federation.initOptions,"shareStrategy",function(){return"version-first"}),R(r.federation.initOptions,"shared",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(w)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var l=a(o.value,2),u=l[0],c=l[1],p=!0,d=!1,f=void 0;try{for(var h,m=c[Symbol.iterator]();!(p=(h=m.next()).done);p=!0){var g=h.value;if((void 0===g?"undefined":s(g))==="object"&&null!==g){var y=g.name,b=g.version,S=g.factory,v=g.eager,O=g.singleton,E=g.requiredVersion,_=g.strictVersion,M={},R=function(e){return void 0!==e};R(O)&&(M.singleton=O),R(E)&&(M.requiredVersion=E),R(v)&&(M.eager=v),R(_)&&(M.strictVersion=_);var T={version:b,scope:[u],shareConfig:M,get:S};e[y]?e[y].push(T):e[y]=[T]}}}catch(e){d=!0,f=e}finally{try{p||null==m.return||m.return()}finally{if(d)throw f}}}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),M(r.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),M(r.federation.initOptions,"plugins",function(){return u}),R(r.federation,"bundlerRuntimeOptions",function(){return{}}),R(r.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),R(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return T}),R(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return c}),R(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(I)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]=[u.shareScope,u.name,u.externalModuleId,u.remoteName]}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),R(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return r}),M(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(I)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=c[s[1].remoteName];u&&(e[l]=u)}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),_(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),_(r.f,"remotes",function(e,t){return r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:T,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})}),_(r.f,"consumes",function(e,t){return r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:j,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:k,webpackRequire:r})}),_(r,"I",function(e,t){return r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:N,initTokens:x,webpackRequire:r})}),_(r,"initContainer",function(e,t,n){return r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:C,webpackRequire:r})}),_(r,"getContainer",function(e,t){var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(E=r.consumesLoadingData)?void 0:E.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:k,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},16403(e,t,r){"use strict";r.d(t,{get:()=>r.getContainer,init:()=>r.initContainer})},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},17416(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},45734(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(17416);let n=r(91001),o=r(53054),i=r(9170);function a(e){let t=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(t),t}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return o.Module}}),t.ModuleFederation=o.ModuleFederation,t.createInstance=a,t.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=a(r)},t.loadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.loadShare=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerShared.apply(s,e)}},91001(e,t,r){r(17416);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-help-menu-app:10.0.1-pre.5320";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},73162(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},58262(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},81148(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91229(e,t,r){let n=r(58262),o=r(21163),i=r(24476),a=r(1532),s=r(53602);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:u,chunkMapping:c,moduleToHandlerMapping:p}=e;n.attachShareScopeMap(u),u.o(c,t)&&c[t].forEach(e=>{if(u.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,u.m[e]=r=>{delete u.c[e];let n=t(),{shareInfo:o}=p[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete l[e],u.m[e]=r=>{throw delete u.c[e],t}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:c,getter:d,shareInfo:f,treeShakingGetter:h}=p[e],m=i.getUsedExports(u,c),g={...f};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[o.options.name]});let y=o.loadShare(c,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(a.RUNTIME_012,{[a.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:c}));return h?.()||d()}return e});y.then?r.push(l[e]=y.then(t).catch(n)):t(y)}catch(e){n(e)}})}},1532(e,t){t.RUNTIME_012="RUNTIME-012"},53602(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
|
|
1
|
+
var _openmrs_esm_help_menu_app;!function(){var e="u">typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@openmrs/esm-help-menu-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var t=e._FEDERATION_RUNTIME_CORE_FROM;t&&t.version&&"2.8"!==String(t.version).split(".").slice(0,2).join(".")&&console.warn("@openmrs/esm-help-menu-app was built against Module Federation 2.8.x but the app shell provides "+t.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,t,r,n,o,i={49237(e,t,r){"use strict";var n=r(88516),o=r.n(n);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return i}}(e,t)||l(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function l(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}}var u=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),c={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){var p,d,f,h,m,g,y,b,S,v,O,E,_=function(e,t,r){e&&e[t]&&(e[t]=r)},M=function(e,t,r){var n,o=r();Array.isArray(o)?(null!=e[t]||(e[t]=[]),(n=e[t]).push.apply(n,function(e){if(Array.isArray(e))return i(e)}(o)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||l(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===o?"undefined":s(o))==="object"&&null!==o&&(null!=e[t]||(e[t]={}),Object.assign(e[t],o))},R=function(e,t,r){null!=e[t]||(e[t]=r())},T=null!=(p=null==(g=r.remotesLoadingData)?void 0:g.chunkMapping)?p:{},I=null!=(d=null==(y=r.remotesLoadingData)?void 0:y.moduleIdToRemoteDataMapping)?d:{},w=null!=(f=null==(b=r.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?f:{},j=null!=(h=null==(S=r.consumesLoadingData)?void 0:S.chunkMapping)?h:{},P=null!=(m=null==(v=r.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?m:{},k={},N=[],x={},C=null==(O=r.initializeExposesData)?void 0:O.shareScope;for(var D in o())r.federation[D]=o()[D];R(r.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(P)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]={getter:u.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:u.requiredVersion,strictVersion:u.strictVersion,singleton:u.singleton,eager:u.eager},scope:[u.shareScope]},shareKey:u.shareKey}}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),R(r.federation,"initOptions",function(){return{}}),R(r.federation.initOptions,"name",function(){return"@openmrs/esm-help-menu-app"}),R(r.federation.initOptions,"shareStrategy",function(){return"version-first"}),R(r.federation.initOptions,"shared",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(w)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var l=a(o.value,2),u=l[0],c=l[1],p=!0,d=!1,f=void 0;try{for(var h,m=c[Symbol.iterator]();!(p=(h=m.next()).done);p=!0){var g=h.value;if((void 0===g?"undefined":s(g))==="object"&&null!==g){var y=g.name,b=g.version,S=g.factory,v=g.eager,O=g.singleton,E=g.requiredVersion,_=g.strictVersion,M={},R=function(e){return void 0!==e};R(O)&&(M.singleton=O),R(E)&&(M.requiredVersion=E),R(v)&&(M.eager=v),R(_)&&(M.strictVersion=_);var T={version:b,scope:[u],shareConfig:M,get:S};e[y]?e[y].push(T):e[y]=[T]}}}catch(e){d=!0,f=e}finally{try{p||null==m.return||m.return()}finally{if(d)throw f}}}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),M(r.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),M(r.federation.initOptions,"plugins",function(){return u}),R(r.federation,"bundlerRuntimeOptions",function(){return{}}),R(r.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),R(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return T}),R(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return c}),R(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(I)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]=[u.shareScope,u.name,u.externalModuleId,u.remoteName]}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),R(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return r}),M(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(I)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=c[s[1].remoteName];u&&(e[l]=u)}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),_(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),_(r.f,"remotes",function(e,t){return r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:T,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})}),_(r.f,"consumes",function(e,t){return r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:j,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:k,webpackRequire:r})}),_(r,"I",function(e,t){return r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:N,initTokens:x,webpackRequire:r})}),_(r,"initContainer",function(e,t,n){return r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:C,webpackRequire:r})}),_(r,"getContainer",function(e,t){var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(E=r.consumesLoadingData)?void 0:E.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:k,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},16403(e,t,r){"use strict";r.d(t,{get:()=>r.getContainer,init:()=>r.initContainer})},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},17416(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},45734(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(17416);let n=r(91001),o=r(53054),i=r(9170);function a(e){let t=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(t),t}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return o.Module}}),t.ModuleFederation=o.ModuleFederation,t.createInstance=a,t.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=a(r)},t.loadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.loadShare=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerShared.apply(s,e)}},91001(e,t,r){r(17416);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-help-menu-app:10.0.1-pre.5324";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},73162(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},58262(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},81148(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91229(e,t,r){let n=r(58262),o=r(21163),i=r(24476),a=r(1532),s=r(53602);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:u,chunkMapping:c,moduleToHandlerMapping:p}=e;n.attachShareScopeMap(u),u.o(c,t)&&c[t].forEach(e=>{if(u.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,u.m[e]=r=>{delete u.c[e];let n=t(),{shareInfo:o}=p[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete l[e],u.m[e]=r=>{throw delete u.c[e],t}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:c,getter:d,shareInfo:f,treeShakingGetter:h}=p[e],m=i.getUsedExports(u,c),g={...f};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[o.options.name]});let y=o.loadShare(c,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(a.RUNTIME_012,{[a.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:c}));return h?.()||d()}return e});y.then?r.push(l[e]=y.then(t).catch(n)):t(y)}catch(e){n(e)}})}},1532(e,t){t.RUNTIME_012="RUNTIME-012"},53602(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
|
|
2
2
|
${n}`),o.join("\n")}},252(e,t){t.getSharedFallbackGetter=({shareKey:e,factory:t,version:r,webpackRequire:n,libraryType:o="global"})=>{let{runtime:i,instance:a,bundlerRuntime:s,sharedFallback:l}=n.federation;if(!l)return t;let u=l[e];if(!u)return t;let c=r?u.find(e=>e[1]===r):u[0];if(!c)throw Error(`No fallback item found for shareKey: ${e} and version: ${r}`);return()=>i.getRemoteEntry({origin:n.federation.instance,remoteInfo:{name:c[2],entry:`${n.p}${c[0]}`,type:o,entryGlobalName:c[2],shareScope:"default"}}).then(t=>{if(!t)throw Error(`Failed to load fallback entry for shareKey: ${e} and version: ${r}`);return t.init(n.federation.instance,s).then(()=>t.get())})}},24476(e,t){t.getUsedExports=function(e,t){let r=e.federation.usedExports;if(r)return r[t]}},88516(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let n=r(73162),o=r(58262),i=r(57245),a=r(91229),s=r(87706),l=r(29982),u=r(66605),c=r(16582),p=r(252),d=r(45734);d=n.__toESM(d);let f={remotes:i.remotes,consumes:a.consumes,I:s.initializeSharing,S:{},installInitialConsumes:l.installInitialConsumes,initContainerEntry:u.initContainerEntry,init:c.init,getSharedFallbackGetter:p.getSharedFallbackGetter},h={runtime:d,instance:void 0,initOptions:void 0,bundlerRuntime:f,attachShareScopeMap:o.attachShareScopeMap,bundlerRuntimeOptions:{}},m=h.instance,g=h.initOptions,y=h.bundlerRuntimeOptions;t.attachShareScopeMap=o.attachShareScopeMap,t.bundlerRuntime=f,t.bundlerRuntimeOptions=y,t.default=h,t.initOptions=g,t.instance=m,Object.defineProperty(t,"runtime",{enumerable:!0,get:function(){return d}})},16582(e,t,r){let n=r(73162),o=r(45734),i=r(23926);i=n.__toESM(i),t.init=function({webpackRequire:e}){let{initOptions:t,runtime:n,sharedFallback:a,bundlerRuntime:s,libraryType:l}=e.federation;if(!t)throw Error("initOptions is required!");return t.plugins||=[],t.plugins.push({name:"tree-shake-plugin",beforeInit(t){let{userOptions:n,origin:u,options:c}=t,p=n.version||c.version;if(!a)return t;let d=n.shared||{},f=[];Object.keys(d).forEach(t=>{(Array.isArray(d[t])?d[t]:[d[t]]).forEach(r=>{f.push([t,r]),"get"in r&&(r.treeShaking||={},r.treeShaking.get=r.get,r.get=s.getSharedFallbackGetter({shareKey:t,factory:r.get,webpackRequire:e,libraryType:l,version:r.version}))})});let h=i.default.global.getGlobalSnapshotInfoByModuleInfo({name:u.name,version:p});return h&&"shared"in h&&(Object.keys(c.shared||{}).forEach(e=>{c.shared[e].forEach(t=>{f.push([e,t])})}),f.forEach(([e,t])=>{((e,t)=>{let n=h.shared.find(t=>t.sharedName===e);if(!n)return;let{treeShaking:i}=t;if(!i)return;let{secondarySharedTreeShakingName:a,secondarySharedTreeShakingEntry:s,treeShakingStatus:c}=n;i.status!==c&&(i.status=c,s&&l&&a&&(i.get=async()=>{let e=await (0,o.getRemoteEntry)({origin:u,remoteInfo:{name:a,entry:s,type:l,entryGlobalName:a,shareScope:"default"}});return await e.init(u,r.federation.bundlerRuntime),e.get()}))})(e,t)})),t}}),n.init(t)}},66605(e,t){t.initContainerEntry=function(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let a=t.federation.instance;a.initOptions({name:t.federation.initOptions.name,remotes:[],...i});let s=i?.shareScopeKeys,l=i?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}});l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})}):a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,n):Promise.all(o.map(e=>t.I(e,n))).then(()=>!0):t.I(o||"default",n)}},87706(e,t,r){let n=r(58262),o=r(81148);t.initializeSharing=function({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:i,initScope:a}){let s=Array.isArray(e)?e:[e];var l=[],u=function(s){a||(a=[]);let l=t.federation.instance;var u=i[s];if(u||(u=i[s]={from:l.name}),a.indexOf(u)>=0)return;a.push(u);let c=r[s];if(c)return c;var p=r=>{var n=e=>{let t;return t="Initialization of sharing external failed: "+e,"u">typeof console&&console.warn&&console.warn(t)};try{var o=t(r);if(!o)return;var i=r=>r&&r.init&&r.init(t.S[s],a,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return d.push(o.then(i,n));var l=i(o);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(n))}catch(e){n(e)}};let d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:a,from:"build"});n.attachShareScopeMap(t);let f=t.federation.bundlerRuntimeOptions.remotes;return(f&&Object.keys(f.idToRemoteMap).forEach(e=>{let t=f.idToRemoteMap[e],r=f.idToExternalAndNameMapping[e][2];if(t.length>1)p(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||p(r)}}),d.length)?r[s]=Promise.all(d).then(()=>r[s]=!0):r[s]=!0};return s.forEach(e=>{l.push(u(e))}),Promise.all(l).then(()=>!0)}},29982(e,t,r){let n=r(21163),o=r(24476);t.installInitialConsumes=function(e){n.updateConsumeOptions(e);let{moduleToHandlerMapping:t,webpackRequire:r,installedModules:i,initialConsumes:a,asyncLoad:s}=e,l=[];a.forEach(e=>{l.push([e,()=>(function(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n,asyncLoad:i}=e,a=n.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:s,shareInfo:l}=r[t];try{let e=o.getUsedExports(n,s),t={...l};if(e&&(t.treeShaking={usedExports:e,useIn:[a.options.name]}),i)return a.loadShare(s,{customShareInfo:t});return a.loadShareSync(s,{customShareInfo:t})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}})({moduleId:e,moduleToHandlerMapping:t,webpackRequire:r,asyncLoad:s})])});let u=(e,n)=>{r.m[e]=o=>{i[e]=0,delete r.c[e];let a=n();if("function"!=typeof a)throw Error(`Shared module is not available for eager consumption: ${e}`);let s=a(),{shareInfo:l}=t[e];if(l?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}o.exports=s}};if(s)return Promise.all(l.map(async([e,t])=>{let r=await t();u(e,()=>r)}));l.forEach(([e,t])=>{u(e,t)})}},57245(e,t,r){r(73162);let n=r(58262),o=r(81148),i=r(21163),a=r(31853);t.remotes=function(e){i.updateRemoteOptions(e);let{chunkId:t,promises:r,webpackRequire:s,chunkMapping:l,idToExternalAndNameMapping:u,idToRemoteMap:c}=e;n.attachShareScopeMap(s),s.o(l,t)&&l[t].forEach(e=>{let t=s.R;t||(t=[]);let n=u[e],i=c[e]||[];if(t.indexOf(n)>=0)return;if(t.push(n),n.p)return r.push(n.p);let l=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
|
|
3
|
-
while loading "${n[1]}" from ${n[2]}`),s.m[e]=()=>{throw t},n.p=0},p=(e,t,o,i,a,s)=>{try{let u=e(t,o);if(!u||!u.then)return a(u,i,s);{let e=u.then(e=>a(e,i),l);if(!s)return e;r.push(n.p=e)}}catch(e){l(e)}};var d=(e,r,o)=>p(r.get,n[1],t,0,f,o),f=t=>{n.p=1,s.m[e]=e=>{e.exports=t()}};1===i.length&&o.FEDERATION_SUPPORTED_TYPES.includes(i[0].externalType)&&i[0].name?p(()=>{try{let e=(0,a.decodeName)(i[0].name,a.ENCODE_NAME_PREFIX)+n[1].slice(1),t=s.federation.instance,r=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){l(e)}},n[2],0,0,f,1):p(s,n[2],0,0,(e,t,r)=>e?p(s.I,n[0],0,e,d,r):l(),1)})}},21163(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t,{sharedFallback:i,bundlerRuntime:a,libraryType:s}=t.federation;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:u={}}=n;if(Object.entries(o).forEach(([e,n])=>{r[e]||(r[e]={getter:i?a?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:t,libraryType:s}):n.fallback,treeShakingGetter:i?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:i?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;l.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(u).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:u}=n,c={requiredVersion:`^${o}`},p=function(e){return void 0!==e};p(s)&&(c.singleton=s),p(l)&&(c.requiredVersion=l),p(a)&&(c.eager=a),p(u)&&(c.strictVersion=u);let d={version:o,scope:[e],shareConfig:c,get:i};r[t]?r[t].push(d):r[t]=[d]}e.instance.registerShared(r),o._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:i}=t,a=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!i||i._updated||!a)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=i;if(s&&l){for(let[e,t]of Object.entries(l))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&a[t.remoteName]){let r=a[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}o&&Object.entries(s).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),i._updated=1}}},27913(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},23926(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(27913);let n=r(41050),o=r(53054),i={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},a=o.helpers.share,s=o.helpers.utils;t.default={global:i,share:a,utils:s},t.global=i,t.share=a,t.utils=s},41050(e,t,r){r(27913);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-help-menu-app:10.0.1-pre.5320";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,exports:{}};return i[e].call(r.exports,r,r.exports,s),r.exports}s.m=i,s.c=a,s.x=()=>s(16403),s.federation||(s.federation={chunkMatcher:function(e){return!/^(234|366|611)$/.test(e)},rootOutputDir:""}),s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+e+".js",s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},s.l=function(e,t,r,n){if(l[e])return void l[e].push(t);if(void 0!==r)for(var o,i,a=document.getElementsByTagName("script"),u=0;u<a.length;u++){var c=a[u];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@openmrs/esm-help-menu-app:"+r){o=c;break}}o||(i=!0,(o=document.createElement("script")).timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-rspack","@openmrs/esm-help-menu-app:"+r),o.src=e),l[e]=[t];var p=function(t,r){o.onerror=o.onload=null,clearTimeout(d);var n=l[e];if(delete l[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),i&&document.head.appendChild(o)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0,s.rv=()=>"1.7.9",s.S={},s.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.92.1",factory:()=>Promise.all([s.e("165"),s.e("981"),s.e("120"),s.e("366"),s.e("234"),s.e("878")]).then(()=>()=>s(5987)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework",version:"10.0.1-pre.5320",factory:()=>Promise.all([s.e("165"),s.e("614"),s.e("408"),s.e("366"),s.e("234"),s.e("893"),s.e("611")]).then(()=>()=>s(23236)),eager:0,singleton:1,requiredVersion:"10.x",strictVersion:0},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([s.e("116"),s.e("366")]).then(()=>()=>s(35623)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([s.e("651"),s.e("366")]).then(()=>()=>s(72454)),eager:0,singleton:1,requiredVersion:"16.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("819").then(()=>()=>s(86326)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"rxjs",version:"6.6.7",factory:()=>s.e("613").then(()=>()=>s(29188)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0}]},uniqueName:"@openmrs/esm-help-menu-app"},s.I=s.I||function(){throw Error("should have __webpack_require__.I")},s.g.importScripts&&(u=s.g.location+"");var l,u,c=s.g.document;if(!u&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(u=c.currentScript.src),!u)){var p=c.getElementsByTagName("script");if(p.length)for(var d=p.length-1;d>-1&&(!u||!/^http(s?):/.test(u));)u=p[d--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");s.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.consumesLoadingData={chunkMapping:{366:["46925"],893:["67436"],234:["22065"],20:["43004"],611:["18326","99737"]},moduleIdToConsumeDataMapping:{46925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("819").then(()=>()=>s(86326))},18326:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("165"),s.e("981"),s.e("120"),s.e("234")]).then(()=>()=>s(5987))},99737:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"16.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("651").then(()=>()=>s(72454))},43004:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"10.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("165"),s.e("614"),s.e("234"),s.e("893")]).then(()=>()=>s(23236))},22065:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("116").then(()=>()=>s(35623))},67436:{shareScope:"default",shareKey:"rxjs",import:"rxjs",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("613").then(()=>()=>s(29188))}},initialConsumes:[]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},s.initializeExposesData={moduleMap:{"./start":()=>Promise.all([s.e("981"),s.e("408"),s.e("366"),s.e("611"),s.e("20")]).then(()=>()=>s(47823))},shareScope:"default"},s.getContainer=s.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},s.initContainer=s.initContainer||function(){throw Error("should have __webpack_require__.initContainer")},e={50:0},s.f.j=function(t,r){var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(234|366|611)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=s.p+s.u(t),a=Error();s.l(i,function(r){if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}},"chunk-"+t,t)}},t=(t,r)=>{var n,o,[i,a,l]=r,u=0;if(i.some(t=>0!==e[t])){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);l&&l(s)}for(t&&t(r);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(r=globalThis.webpackChunk_openmrs_esm_help_menu_app=globalThis.webpackChunk_openmrs_esm_help_menu_app||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),s.ruid="bundler=rspack@1.7.9",n=s.x,o=!1,s.x=function(){if(o||(o=!0,s(49237)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},_openmrs_esm_help_menu_app=s.x()})();
|
|
3
|
+
while loading "${n[1]}" from ${n[2]}`),s.m[e]=()=>{throw t},n.p=0},p=(e,t,o,i,a,s)=>{try{let u=e(t,o);if(!u||!u.then)return a(u,i,s);{let e=u.then(e=>a(e,i),l);if(!s)return e;r.push(n.p=e)}}catch(e){l(e)}};var d=(e,r,o)=>p(r.get,n[1],t,0,f,o),f=t=>{n.p=1,s.m[e]=e=>{e.exports=t()}};1===i.length&&o.FEDERATION_SUPPORTED_TYPES.includes(i[0].externalType)&&i[0].name?p(()=>{try{let e=(0,a.decodeName)(i[0].name,a.ENCODE_NAME_PREFIX)+n[1].slice(1),t=s.federation.instance,r=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){l(e)}},n[2],0,0,f,1):p(s,n[2],0,0,(e,t,r)=>e?p(s.I,n[0],0,e,d,r):l(),1)})}},21163(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t,{sharedFallback:i,bundlerRuntime:a,libraryType:s}=t.federation;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:u={}}=n;if(Object.entries(o).forEach(([e,n])=>{r[e]||(r[e]={getter:i?a?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:t,libraryType:s}):n.fallback,treeShakingGetter:i?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:i?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;l.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(u).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:u}=n,c={requiredVersion:`^${o}`},p=function(e){return void 0!==e};p(s)&&(c.singleton=s),p(l)&&(c.requiredVersion=l),p(a)&&(c.eager=a),p(u)&&(c.strictVersion=u);let d={version:o,scope:[e],shareConfig:c,get:i};r[t]?r[t].push(d):r[t]=[d]}e.instance.registerShared(r),o._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:i}=t,a=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!i||i._updated||!a)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=i;if(s&&l){for(let[e,t]of Object.entries(l))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&a[t.remoteName]){let r=a[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}o&&Object.entries(s).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),i._updated=1}}},27913(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},23926(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(27913);let n=r(41050),o=r(53054),i={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},a=o.helpers.share,s=o.helpers.utils;t.default={global:i,share:a,utils:s},t.global=i,t.share=a,t.utils=s},41050(e,t,r){r(27913);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-help-menu-app:10.0.1-pre.5324";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,exports:{}};return i[e].call(r.exports,r,r.exports,s),r.exports}s.m=i,s.c=a,s.x=()=>s(16403),s.federation||(s.federation={chunkMatcher:function(e){return!/^(234|366|611)$/.test(e)},rootOutputDir:""}),s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+e+".js",s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},s.l=function(e,t,r,n){if(l[e])return void l[e].push(t);if(void 0!==r)for(var o,i,a=document.getElementsByTagName("script"),u=0;u<a.length;u++){var c=a[u];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@openmrs/esm-help-menu-app:"+r){o=c;break}}o||(i=!0,(o=document.createElement("script")).timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-rspack","@openmrs/esm-help-menu-app:"+r),o.src=e),l[e]=[t];var p=function(t,r){o.onerror=o.onload=null,clearTimeout(d);var n=l[e];if(delete l[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),i&&document.head.appendChild(o)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0,s.rv=()=>"1.7.9",s.S={},s.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.92.1",factory:()=>Promise.all([s.e("165"),s.e("981"),s.e("120"),s.e("366"),s.e("234"),s.e("878")]).then(()=>()=>s(5987)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework",version:"10.0.1-pre.5324",factory:()=>Promise.all([s.e("165"),s.e("614"),s.e("408"),s.e("366"),s.e("234"),s.e("893"),s.e("611")]).then(()=>()=>s(23236)),eager:0,singleton:1,requiredVersion:"10.x",strictVersion:0},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([s.e("116"),s.e("366")]).then(()=>()=>s(35623)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([s.e("651"),s.e("366")]).then(()=>()=>s(72454)),eager:0,singleton:1,requiredVersion:"16.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("819").then(()=>()=>s(86326)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"rxjs",version:"6.6.7",factory:()=>s.e("613").then(()=>()=>s(29188)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0}]},uniqueName:"@openmrs/esm-help-menu-app"},s.I=s.I||function(){throw Error("should have __webpack_require__.I")},s.g.importScripts&&(u=s.g.location+"");var l,u,c=s.g.document;if(!u&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(u=c.currentScript.src),!u)){var p=c.getElementsByTagName("script");if(p.length)for(var d=p.length-1;d>-1&&(!u||!/^http(s?):/.test(u));)u=p[d--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");s.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.consumesLoadingData={chunkMapping:{366:["46925"],893:["67436"],234:["22065"],20:["43004"],611:["18326","99737"]},moduleIdToConsumeDataMapping:{46925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("819").then(()=>()=>s(86326))},18326:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("165"),s.e("981"),s.e("120"),s.e("234")]).then(()=>()=>s(5987))},99737:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"16.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("651").then(()=>()=>s(72454))},43004:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"10.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("165"),s.e("614"),s.e("234"),s.e("893")]).then(()=>()=>s(23236))},22065:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("116").then(()=>()=>s(35623))},67436:{shareScope:"default",shareKey:"rxjs",import:"rxjs",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("613").then(()=>()=>s(29188))}},initialConsumes:[]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},s.initializeExposesData={moduleMap:{"./start":()=>Promise.all([s.e("981"),s.e("408"),s.e("366"),s.e("611"),s.e("20")]).then(()=>()=>s(47823))},shareScope:"default"},s.getContainer=s.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},s.initContainer=s.initContainer||function(){throw Error("should have __webpack_require__.initContainer")},e={50:0},s.f.j=function(t,r){var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(234|366|611)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=s.p+s.u(t),a=Error();s.l(i,function(r){if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}},"chunk-"+t,t)}},t=(t,r)=>{var n,o,[i,a,l]=r,u=0;if(i.some(t=>0!==e[t])){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);l&&l(s)}for(t&&t(r);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(r=globalThis.webpackChunk_openmrs_esm_help_menu_app=globalThis.webpackChunk_openmrs_esm_help_menu_app||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),s.ruid="bundler=rspack@1.7.9",n=s.x,o=!1,s.x=function(){if(o||(o=!0,s(49237)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},_openmrs_esm_help_menu_app=s.x()})();
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
"auxiliaryFiles": [
|
|
276
276
|
"openmrs-esm-help-menu-app.js.map"
|
|
277
277
|
],
|
|
278
|
-
"hash": "
|
|
278
|
+
"hash": "db351483885e51b4",
|
|
279
279
|
"childrenByOrder": {}
|
|
280
280
|
},
|
|
281
281
|
{
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
"auxiliaryFiles": [
|
|
453
453
|
"main.js.map"
|
|
454
454
|
],
|
|
455
|
-
"hash": "
|
|
455
|
+
"hash": "d56136e1582317ac",
|
|
456
456
|
"childrenByOrder": {}
|
|
457
457
|
},
|
|
458
458
|
{
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","pages":[{"component":"root","route":true}],"extensions":[{"name":"release-notes","slot":"help-menu-slot","component":"releaseNotes","online":true,"offline":true},{"name":"docs","slot":"help-menu-slot","component":"docs","online":true,"offline":true},{"name":"contact-us","slot":"help-menu-slot","component":"contact","online":true,"offline":true}],"version":"10.0.1-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","pages":[{"component":"root","route":true}],"extensions":[{"name":"release-notes","slot":"help-menu-slot","component":"releaseNotes","online":true,"offline":true},{"name":"docs","slot":"help-menu-slot","component":"docs","online":true,"offline":true},{"name":"contact-us","slot":"help-menu-slot","component":"contact","online":true,"offline":true}],"version":"10.0.1-pre.5324"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-help-menu-app",
|
|
3
|
-
"version": "10.0.1-pre.
|
|
3
|
+
"version": "10.0.1-pre.5324",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": " A microfrontend that provides a help menu for O3",
|
|
6
6
|
"browser": "dist/openmrs-esm-help-menu-app.js",
|
|
@@ -48,16 +48,16 @@
|
|
|
48
48
|
"rxjs": "6.x"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
+
"@carbon/react": "^1.92.1",
|
|
51
52
|
"cross-env": "^10.1.0",
|
|
52
53
|
"happy-dom": "^20.6.0",
|
|
53
|
-
"openmrs": "10.0.1-pre.
|
|
54
|
+
"openmrs": "10.0.1-pre.5324",
|
|
54
55
|
"react": "^18.3.1",
|
|
55
56
|
"react-dom": "^18.3.1",
|
|
56
57
|
"react-i18next": "^16.0.0",
|
|
57
58
|
"vitest": "^4.1.2"
|
|
58
59
|
},
|
|
59
60
|
"dependencies": {
|
|
60
|
-
"@carbon/react": "^1.92.1",
|
|
61
61
|
"fuzzy": "^0.1.3"
|
|
62
62
|
},
|
|
63
63
|
"stableVersion": "10.0.0"
|