@openmrs/esm-appointments-app 11.1.1-pre.9552 → 11.1.1-pre.9565

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.
@@ -6,4 +6,4 @@
6
6
  │ 6921.js (314.279 KiB)
7
7
  
8
8
 
9
- Rspack compiled with 1 warning in 38.84 s
9
+ Rspack compiled with 1 warning in 38.71 s
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-appointments-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-appointments-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,n,r,o,i={84767(e,t,n){var r={"./uk.json":["60723","9072"],"./ar.json":["14132","7045"],"./ru_RU.json":["60986","8359"],"./uz_UZ.json":["70890","7175"],"./fr.json":["94055","6508"],"./sw_KE.json":["88618","903"],"./uz.json":["43584","6377"],"./en.json":["34300","5117"],"./ky.json":["88163","2416"],"./pl.json":["41119","6724"],"./sq.json":["88371","4928"],"./ka.json":["70795","1480"],"./si.json":["56859","6904"],"./zh_TW.json":["10439","556"],"./de.json":["34944","5145"],"./lg.json":["64618","8695"],"./vi.json":["79214","6371"],"./tr.json":["55241","434"],"./es_MX.json":["88349","1646"],"./tr_TR.json":["99900","1869"],"./zh_CN.json":["99879","5644"],"./en_US.json":["59569","4106"],"./he.json":["84652","2317"],"./id.json":["72690","6047"],"./ku.json":["9895","4348"],"./es.json":["93099","7912"],"./ne.json":["12146","5503"],"./ar_SY.json":["37617","282"],"./uz@Latn.json":["27097","4658"],"./bn.json":["77159","6444"],"./cs.json":["86589","7182"],"./zh.json":["35661","7742"],"./hi_IN.json":["55442","4383"],"./pt_BR.json":["36468","1877"],"./qu.json":["35173","8358"],"./ro_RO.json":["46022","3963"],"./sw.json":["89913","3378"],"./am.json":["81197","9806"],"./pt.json":["96679","5132"],"./it.json":["9538","4111"],"./km.json":["54335","5940"],"./hi.json":["36840","2881"]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(function(){return n(o)})}o.keys=()=>Object.keys(r),o.id=84767,e.exports=o},77488(e,t,n){"use strict";n.d(t,{Q:()=>i});var r=n(82895),o=n(57003),i={allowAllDayAppointments:{_type:r.Type.Boolean,_default:!1,_description:"Whether to allow scheduling of all-day appointments (vs appointments with start time and end time)"},appointmentStatuses:{_type:r.Type.Array,_default:o.Qj,_description:"The selectable appointment statuses. Available options: ".concat(o.Qj.join(", ")),_elements:{_type:r.Type.String,_description:"Status of an appointment",_validators:[r.validators.oneOf(o.Qj)]}},appointmentTypes:{_type:r.Type.Array,_default:["Scheduled"],_description:"Configurable appointment types. Available options: ".concat(o.tL.join(", ")),_elements:{_type:r.Type.String,_description:"Type of an appointment",_validators:[r.validators.oneOf(o.tL)]}},checkInButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-in button on the "Appointments" list should be enabled'},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-in button (instead of the start visit form)"}},checkOutButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-out button on the "Appointments" list should be enabled'},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-out button"}},customPatientChartUrl:{_type:r.Type.String,_default:"${openmrsSpaBase}/patient/${patientUuid}/chart",_description:"Template URL that will be used when clicking on the patient name in the queues table.\n Available argument: patientUuid, openmrsSpaBase, openBase\n (openmrsSpaBase and openBase are available to any <ConfigurableLink>)",_validators:[r.validators.isUrlWithTemplateParameters(["patientUuid"])]},includePhoneNumberInExcelSpreadsheet:{_type:r.Type.Boolean,_default:!1,_description:"Whether to include phone numbers in the exported Excel spreadsheet"},patientIdentifierType:{_type:r.Type.String,_default:"",_description:"The name of the patient identifier type to be used for the patient identifier field"},showUnscheduledAppointmentsTab:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the Unscheduled Appointments tab. Note that configuring this to true requires a custom unscheduledAppointment endpoint not currently available"},showEarlyAppointmentsTab:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the Early Appointments tab. Note that configuring this to true requires a custom earlyAppointment endpoint not currently available"},appointmentsTableColumns:{_type:r.Type.Array,_description:"Columns to display in the appointment table. Available options: ".concat(o.Je.join(", ")),_default:["patientName","identifier","location","serviceType","dateTime","visitStartTime","status","actions"],_elements:{_type:r.Type.String,_validators:[r.validators.oneOf(o.Je)]}}}},57003(e,t,n){"use strict";n.d(t,{AO:()=>s,BC:()=>i,Je:()=>p,Mq:()=>c,Qj:()=>d,gC:()=>l,gL:()=>a,i$:()=>u,lw:()=>o,tL:()=>f});var r=n(95084),o="".concat(window.spaBase,"/home"),i="YYYY-MM-DDTHH:mm:ss.SSSZZ",a="Appointment Location",s="@openmrs/esm-appointments-app",l="appointments-form-workspace",u="DD/MM/YYYY",c=[{id:"MONDAY",label:"Monday",labelCode:"monday",order:0},{id:"TUESDAY",label:"Tuesday",labelCode:"tuesday",order:1},{id:"WEDNESDAY",label:"Wednesday",labelCode:"wednesday",order:2},{id:"THURSDAY",label:"Thursday",labelCode:"thursday",order:3},{id:"FRIDAY",label:"Friday",labelCode:"friday",order:4},{id:"SATURDAY",label:"Saturday",labelCode:"saturday",order:5},{id:"SUNDAY",label:"Sunday",labelCode:"sunday",order:6}],p=Object.freeze(["patientName","identifier","location","serviceType","status","dateTime","provider","actions","visitStartTime"]),d=Object.freeze([r.y2.REQUESTED,r.y2.SCHEDULED,r.y2.CHECKEDIN,r.y2.COMPLETED,r.y2.CANCELLED,r.y2.MISSED]),f=Object.freeze([r.CC.SCHEDULED,r.CC.WALKIN,r.CC.VIRTUAL])},13189(e,t,n){"use strict";var r=n(82895);n(77488);var o=n(97125),i=n.n(o),a=n(22745),s=function(e){return function(){return i().createElement(a.BrowserRouter,null,i().createElement(r.DashboardExtension,{path:e.path,title:e.title,basePath:e.basePath,icon:e.icon}))}},l={path:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments",basePath:"".concat(window.spaBase,"/home")},u={path:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments calendar",basePath:"".concat(window.spaBase,"/home")},c={slot:"patient-chart-appointments-dashboard-slot",columns:1,title:"Appointments",path:"appointments",icon:"omrs-icon-event-schedule"};function p(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){n(e);return}s.done?t(l):Promise.resolve(l).then(r,o)}var d={featureName:"appointments",moduleName:"@openmrs/esm-appointments-app"};n(84767),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("2907"),n.e("5848"),n.e("6557"),n.e("635"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("9399"),n.e("2620"),n.e("3220"),n.e("5640"),n.e("5095")]).then(n.bind(n,94874))},d),(0,r.getSyncLifecycle)(s(l),d),(0,r.getSyncLifecycle)(s(u),d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("5848"),n.e("635"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("9399"),n.e("3220"),n.e("2150")]).then(n.bind(n,36735))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("5848"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("9399"),n.e("7159")]).then(n.bind(n,57690))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("5848"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("9399"),n.e("4957")]).then(n.bind(n,80256))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("2907"),n.e("7226"),n.e("8346"),n.e("1884")]).then(n.bind(n,32567))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("2907"),n.e("7226"),n.e("8346"),n.e("2495")]).then(n.bind(n,86482))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("2907"),n.e("7226"),n.e("8346"),n.e("8937")]).then(n.bind(n,84096))},d),(0,r.getAsyncLifecycle)(function(){var e;return(e=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:l(0)}),s(a,"throw",{value:l(1)}),s(a,"return",{value:l(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function l(s){return function(l){var u=[s,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(e){return[2,{default:(0,r.createDashboard)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},c))}]})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){p(i,r,o,a,s,"next",e)}function s(e){p(i,r,o,a,s,"throw",e)}a(void 0)})})()},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("2620"),n.e("9716")]).then(n.bind(n,40007))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("2620"),n.e("5640"),n.e("7335")]).then(n.bind(n,84299))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("6789")]).then(n.bind(n,68900))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("6236")]).then(n.bind(n,96199))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("2717"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("6407")]).then(n.bind(n,41370))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("2717"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("6407"),n.e("9282")]).then(n.bind(n,12409))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("1465")]).then(n.bind(n,69648))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("9443")]).then(n.bind(n,60110))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("4307")]).then(n.bind(n,14350))},d)},95084(e,t,n){"use strict";n.d(t,{CC:()=>a,y2:()=>i});var r,o,i=((r={}).REQUESTED="Requested",r.SCHEDULED="Scheduled",r.CHECKEDIN="CheckedIn",r.COMPLETED="Completed",r.CANCELLED="Cancelled",r.MISSED="Missed",r),a=((o={}).SCHEDULED="Scheduled",o.WALKIN="WalkIn",o.VIRTUAL="Virtual",o)},97368(e,t,n){"use strict";var r=n(40523),o=n.n(r);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,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=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}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 n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}var u=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),c={};if((n.initializeSharingData||n.initializeExposesData)&&n.federation){var p,d,f,h,m,y,g,b,S,v,E,_,O=function(e,t,n){e&&e[t]&&(e[t]=n)},M=function(e,t,n){var r,o=n();Array.isArray(o)?(null!=e[t]||(e[t]=[]),(r=e[t]).push.apply(r,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))},T=function(e,t,n){null!=e[t]||(e[t]=n())},j=null!=(p=null==(y=n.remotesLoadingData)?void 0:y.chunkMapping)?p:{},w=null!=(d=null==(g=n.remotesLoadingData)?void 0:g.moduleIdToRemoteDataMapping)?d:{},R=null!=(f=null==(b=n.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?f:{},A=null!=(h=null==(S=n.consumesLoadingData)?void 0:S.chunkMapping)?h:{},I=null!=(m=null==(v=n.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?m:{},P={},C=[],k={},D=null==(E=n.initializeExposesData)?void 0:E.shareScope;for(var N in o())n.federation[N]=o()[N];T(n.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,n=!1,r=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]={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){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),T(n.federation,"initOptions",function(){return{}}),T(n.federation.initOptions,"name",function(){return"@openmrs/esm-appointments-app"}),T(n.federation.initOptions,"shareStrategy",function(){return"version-first"}),T(n.federation.initOptions,"shared",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(R)[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 y=h.value;if((void 0===y?"undefined":s(y))==="object"&&null!==y){var g=y.name,b=y.version,S=y.factory,v=y.eager,E=y.singleton,_=y.requiredVersion,O=y.strictVersion,M={},T=function(e){return void 0!==e};T(E)&&(M.singleton=E),T(_)&&(M.requiredVersion=_),T(v)&&(M.eager=v),T(O)&&(M.strictVersion=O);var j={version:b,scope:[u],shareConfig:M,get:S};e[g]?e[g].push(j):e[g]=[j]}}}catch(e){d=!0,f=e}finally{try{p||null==m.return||m.return()}finally{if(d)throw f}}}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),M(n.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),M(n.federation.initOptions,"plugins",function(){return u}),T(n.federation,"bundlerRuntimeOptions",function(){return{}}),T(n.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),T(n.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return j}),T(n.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return c}),T(n.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(w)[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){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),T(n.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return n}),M(n.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(w)[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){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),O(n,"S",n.federation.bundlerRuntime.S),n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),O(n.f,"remotes",function(e,t){return n.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:j,idToExternalAndNameMapping:n.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:n.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:n})}),O(n.f,"consumes",function(e,t){return n.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:A,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping,installedModules:P,webpackRequire:n})}),O(n,"I",function(e,t){return n.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:C,initTokens:k,webpackRequire:n})}),O(n,"initContainer",function(e,t,r){return n.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:r,shareScopeKey:D,webpackRequire:n})}),O(n,"getContainer",function(e,t){var r=n.initializeExposesData.moduleMap;return n.R=t,t=Object.prototype.hasOwnProperty.call(r,e)?r[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),n.R=void 0,t}),n.federation.instance=n.federation.runtime.init(n.federation.initOptions),(null==(_=n.consumesLoadingData)?void 0:_.initialConsumes)&&n.federation.bundlerRuntime.installInitialConsumes({webpackRequire:n,installedModules:P,initialConsumes:n.consumesLoadingData.initialConsumes,moduleToHandlerMapping:n.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},31772(e,t){var n=Object.create,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?n(a(e)):{},((e,t,n,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,u=i(t),c=0,p=u.length;c<p;c++)l=u[c],s.call(e,l)||l===n||r(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(a=o(t,l))||a.enumerable});return e})(!t&&e&&e.__esModule?l:r(l,"default",{value:e,enumerable:!0}),e))},79837(e,t,n){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),n(31772);let r=n(27789),o=n(53054),i={...o.helpers.global,getGlobalFederationInstance:r.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},83738(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),n(31772);let r=n(27789),o=n(53054),i=n(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=r.getGlobalFederationInstance(e.name,e.version),n={...e,id:e.id||""};return t?(t.initOptions(n),s||(s=t),t):s=a(n)},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)}},27789(e,t,n){n(31772);let r=n(53054);t.getGlobalFederationInstance=function(e,t){let n="@openmrs/esm-appointments-app:11.1.1-pre.9552";return r.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(r=>!!n&&r.options.id===n||r.options.name===e&&!r.options.version&&!t||r.options.name===e&&!!t&&r.options.version===t)}},50223(e,t){var n=Object.create,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?n(a(e)):{},((e,t,n,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,u=i(t),c=0,p=u.length;c<p;c++)l=u[c],s.call(e,l)||l===n||r(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(a=o(t,l))||a.enumerable});return e})(!t&&e&&e.__esModule?l:r(l,"default",{value:e,enumerable:!0}),e))},33545(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)}},46917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,t,n){let r=n(33545),o=n(91092),i=n(12677),a=n(10085),s=n(76781);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:n,installedModules:l,webpackRequire:u,chunkMapping:c,moduleToHandlerMapping:p}=e;r.attachShareScopeMap(u),u.o(c,t)&&c[t].forEach(e=>{if(u.o(l,e))return n.push(l[e]);let t=t=>{l[e]=0,u.m[e]=n=>{delete u.c[e];let r=t(),{shareInfo:o}=p[e];if(o?.shareConfig?.layer&&r&&"object"==typeof r)try{r.hasOwnProperty("layer")&&void 0!==r.layer||(r.layer=o.shareConfig.layer)}catch(e){}n.exports=r}},r=t=>{delete l[e],u.m[e]=n=>{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),y={...f};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 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});g.then?n.push(l[e]=g.then(t).catch(r)):t(g)}catch(e){r(e)}})}},10085(e,t){t.RUNTIME_012="RUNTIME-012"},76781(e,t){t.getShortErrorMsg=(e,t,n,r)=>{let o=[`${[t[e]]} #${e}`];return n&&o.push(`args: ${JSON.stringify(n)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),r&&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-appointments-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-appointments-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,n,r,o,i={84767(e,t,n){var r={"./uk.json":["60723","9072"],"./ar.json":["14132","7045"],"./ru_RU.json":["60986","8359"],"./uz_UZ.json":["70890","7175"],"./fr.json":["94055","6508"],"./sw_KE.json":["88618","903"],"./uz.json":["43584","6377"],"./en.json":["34300","5117"],"./ky.json":["88163","2416"],"./pl.json":["41119","6724"],"./sq.json":["88371","4928"],"./ka.json":["70795","1480"],"./si.json":["56859","6904"],"./zh_TW.json":["10439","556"],"./de.json":["34944","5145"],"./lg.json":["64618","8695"],"./vi.json":["79214","6371"],"./tr.json":["55241","434"],"./es_MX.json":["88349","1646"],"./tr_TR.json":["99900","1869"],"./zh_CN.json":["99879","5644"],"./en_US.json":["59569","4106"],"./he.json":["84652","2317"],"./id.json":["72690","6047"],"./ku.json":["9895","4348"],"./es.json":["93099","7912"],"./ne.json":["12146","5503"],"./ar_SY.json":["37617","282"],"./uz@Latn.json":["27097","4658"],"./bn.json":["77159","6444"],"./cs.json":["86589","7182"],"./zh.json":["35661","7742"],"./hi_IN.json":["55442","4383"],"./pt_BR.json":["36468","1877"],"./qu.json":["35173","8358"],"./ro_RO.json":["46022","3963"],"./sw.json":["89913","3378"],"./am.json":["81197","9806"],"./pt.json":["96679","5132"],"./it.json":["9538","4111"],"./km.json":["54335","5940"],"./hi.json":["36840","2881"]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(function(){return n(o)})}o.keys=()=>Object.keys(r),o.id=84767,e.exports=o},77488(e,t,n){"use strict";n.d(t,{Q:()=>i});var r=n(82895),o=n(57003),i={allowAllDayAppointments:{_type:r.Type.Boolean,_default:!1,_description:"Whether to allow scheduling of all-day appointments (vs appointments with start time and end time)"},appointmentStatuses:{_type:r.Type.Array,_default:o.Qj,_description:"The selectable appointment statuses. Available options: ".concat(o.Qj.join(", ")),_elements:{_type:r.Type.String,_description:"Status of an appointment",_validators:[r.validators.oneOf(o.Qj)]}},appointmentTypes:{_type:r.Type.Array,_default:["Scheduled"],_description:"Configurable appointment types. Available options: ".concat(o.tL.join(", ")),_elements:{_type:r.Type.String,_description:"Type of an appointment",_validators:[r.validators.oneOf(o.tL)]}},checkInButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-in button on the "Appointments" list should be enabled'},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-in button (instead of the start visit form)"}},checkOutButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-out button on the "Appointments" list should be enabled'},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-out button"}},customPatientChartUrl:{_type:r.Type.String,_default:"${openmrsSpaBase}/patient/${patientUuid}/chart",_description:"Template URL that will be used when clicking on the patient name in the queues table.\n Available argument: patientUuid, openmrsSpaBase, openBase\n (openmrsSpaBase and openBase are available to any <ConfigurableLink>)",_validators:[r.validators.isUrlWithTemplateParameters(["patientUuid"])]},includePhoneNumberInExcelSpreadsheet:{_type:r.Type.Boolean,_default:!1,_description:"Whether to include phone numbers in the exported Excel spreadsheet"},patientIdentifierType:{_type:r.Type.String,_default:"",_description:"The name of the patient identifier type to be used for the patient identifier field"},showUnscheduledAppointmentsTab:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the Unscheduled Appointments tab. Note that configuring this to true requires a custom unscheduledAppointment endpoint not currently available"},showEarlyAppointmentsTab:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the Early Appointments tab. Note that configuring this to true requires a custom earlyAppointment endpoint not currently available"},appointmentsTableColumns:{_type:r.Type.Array,_description:"Columns to display in the appointment table. Available options: ".concat(o.Je.join(", ")),_default:["patientName","identifier","location","serviceType","dateTime","visitStartTime","status","actions"],_elements:{_type:r.Type.String,_validators:[r.validators.oneOf(o.Je)]}}}},57003(e,t,n){"use strict";n.d(t,{AO:()=>s,BC:()=>i,Je:()=>p,Mq:()=>c,Qj:()=>d,gC:()=>l,gL:()=>a,i$:()=>u,lw:()=>o,tL:()=>f});var r=n(95084),o="".concat(window.spaBase,"/home"),i="YYYY-MM-DDTHH:mm:ss.SSSZZ",a="Appointment Location",s="@openmrs/esm-appointments-app",l="appointments-form-workspace",u="DD/MM/YYYY",c=[{id:"MONDAY",label:"Monday",labelCode:"monday",order:0},{id:"TUESDAY",label:"Tuesday",labelCode:"tuesday",order:1},{id:"WEDNESDAY",label:"Wednesday",labelCode:"wednesday",order:2},{id:"THURSDAY",label:"Thursday",labelCode:"thursday",order:3},{id:"FRIDAY",label:"Friday",labelCode:"friday",order:4},{id:"SATURDAY",label:"Saturday",labelCode:"saturday",order:5},{id:"SUNDAY",label:"Sunday",labelCode:"sunday",order:6}],p=Object.freeze(["patientName","identifier","location","serviceType","status","dateTime","provider","actions","visitStartTime"]),d=Object.freeze([r.y2.REQUESTED,r.y2.SCHEDULED,r.y2.CHECKEDIN,r.y2.COMPLETED,r.y2.CANCELLED,r.y2.MISSED]),f=Object.freeze([r.CC.SCHEDULED,r.CC.WALKIN,r.CC.VIRTUAL])},13189(e,t,n){"use strict";var r=n(82895);n(77488);var o=n(97125),i=n.n(o),a=n(22745),s=function(e){return function(){return i().createElement(a.BrowserRouter,null,i().createElement(r.DashboardExtension,{path:e.path,title:e.title,basePath:e.basePath,icon:e.icon}))}},l={path:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments",basePath:"".concat(window.spaBase,"/home")},u={path:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments calendar",basePath:"".concat(window.spaBase,"/home")},c={slot:"patient-chart-appointments-dashboard-slot",columns:1,title:"Appointments",path:"appointments",icon:"omrs-icon-event-schedule"};function p(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){n(e);return}s.done?t(l):Promise.resolve(l).then(r,o)}var d={featureName:"appointments",moduleName:"@openmrs/esm-appointments-app"};n(84767),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("2907"),n.e("5848"),n.e("6557"),n.e("635"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("9399"),n.e("2620"),n.e("3220"),n.e("5640"),n.e("5095")]).then(n.bind(n,94874))},d),(0,r.getSyncLifecycle)(s(l),d),(0,r.getSyncLifecycle)(s(u),d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("5848"),n.e("635"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("9399"),n.e("3220"),n.e("2150")]).then(n.bind(n,36735))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("5848"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("9399"),n.e("7159")]).then(n.bind(n,57690))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("5848"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("9399"),n.e("4957")]).then(n.bind(n,80256))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("2907"),n.e("7226"),n.e("8346"),n.e("1884")]).then(n.bind(n,32567))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("2907"),n.e("7226"),n.e("8346"),n.e("2495")]).then(n.bind(n,86482))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("2907"),n.e("7226"),n.e("8346"),n.e("8937")]).then(n.bind(n,84096))},d),(0,r.getAsyncLifecycle)(function(){var e;return(e=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:l(0)}),s(a,"throw",{value:l(1)}),s(a,"return",{value:l(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function l(s){return function(l){var u=[s,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(e){return[2,{default:(0,r.createDashboard)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},c))}]})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){p(i,r,o,a,s,"next",e)}function s(e){p(i,r,o,a,s,"throw",e)}a(void 0)})})()},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("2620"),n.e("9716")]).then(n.bind(n,40007))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("2620"),n.e("5640"),n.e("7335")]).then(n.bind(n,84299))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("6789")]).then(n.bind(n,68900))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("6236")]).then(n.bind(n,96199))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("2717"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("6407")]).then(n.bind(n,41370))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("2717"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("6407"),n.e("9282")]).then(n.bind(n,12409))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("1465")]).then(n.bind(n,69648))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("9443")]).then(n.bind(n,60110))},d),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e("6921"),n.e("7226"),n.e("6111"),n.e("8678"),n.e("4307")]).then(n.bind(n,14350))},d)},95084(e,t,n){"use strict";n.d(t,{CC:()=>a,y2:()=>i});var r,o,i=((r={}).REQUESTED="Requested",r.SCHEDULED="Scheduled",r.CHECKEDIN="CheckedIn",r.COMPLETED="Completed",r.CANCELLED="Cancelled",r.MISSED="Missed",r),a=((o={}).SCHEDULED="Scheduled",o.WALKIN="WalkIn",o.VIRTUAL="Virtual",o)},97368(e,t,n){"use strict";var r=n(40523),o=n.n(r);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,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=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}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 n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}var u=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),c={};if((n.initializeSharingData||n.initializeExposesData)&&n.federation){var p,d,f,h,m,y,g,b,S,v,E,_,O=function(e,t,n){e&&e[t]&&(e[t]=n)},M=function(e,t,n){var r,o=n();Array.isArray(o)?(null!=e[t]||(e[t]=[]),(r=e[t]).push.apply(r,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))},T=function(e,t,n){null!=e[t]||(e[t]=n())},j=null!=(p=null==(y=n.remotesLoadingData)?void 0:y.chunkMapping)?p:{},w=null!=(d=null==(g=n.remotesLoadingData)?void 0:g.moduleIdToRemoteDataMapping)?d:{},R=null!=(f=null==(b=n.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?f:{},A=null!=(h=null==(S=n.consumesLoadingData)?void 0:S.chunkMapping)?h:{},I=null!=(m=null==(v=n.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?m:{},P={},C=[],k={},D=null==(E=n.initializeExposesData)?void 0:E.shareScope;for(var N in o())n.federation[N]=o()[N];T(n.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,n=!1,r=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]={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){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),T(n.federation,"initOptions",function(){return{}}),T(n.federation.initOptions,"name",function(){return"@openmrs/esm-appointments-app"}),T(n.federation.initOptions,"shareStrategy",function(){return"version-first"}),T(n.federation.initOptions,"shared",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(R)[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 y=h.value;if((void 0===y?"undefined":s(y))==="object"&&null!==y){var g=y.name,b=y.version,S=y.factory,v=y.eager,E=y.singleton,_=y.requiredVersion,O=y.strictVersion,M={},T=function(e){return void 0!==e};T(E)&&(M.singleton=E),T(_)&&(M.requiredVersion=_),T(v)&&(M.eager=v),T(O)&&(M.strictVersion=O);var j={version:b,scope:[u],shareConfig:M,get:S};e[g]?e[g].push(j):e[g]=[j]}}}catch(e){d=!0,f=e}finally{try{p||null==m.return||m.return()}finally{if(d)throw f}}}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),M(n.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),M(n.federation.initOptions,"plugins",function(){return u}),T(n.federation,"bundlerRuntimeOptions",function(){return{}}),T(n.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),T(n.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return j}),T(n.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return c}),T(n.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(w)[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){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),T(n.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return n}),M(n.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(w)[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){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),O(n,"S",n.federation.bundlerRuntime.S),n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),O(n.f,"remotes",function(e,t){return n.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:j,idToExternalAndNameMapping:n.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:n.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:n})}),O(n.f,"consumes",function(e,t){return n.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:A,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping,installedModules:P,webpackRequire:n})}),O(n,"I",function(e,t){return n.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:C,initTokens:k,webpackRequire:n})}),O(n,"initContainer",function(e,t,r){return n.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:r,shareScopeKey:D,webpackRequire:n})}),O(n,"getContainer",function(e,t){var r=n.initializeExposesData.moduleMap;return n.R=t,t=Object.prototype.hasOwnProperty.call(r,e)?r[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),n.R=void 0,t}),n.federation.instance=n.federation.runtime.init(n.federation.initOptions),(null==(_=n.consumesLoadingData)?void 0:_.initialConsumes)&&n.federation.bundlerRuntime.installInitialConsumes({webpackRequire:n,installedModules:P,initialConsumes:n.consumesLoadingData.initialConsumes,moduleToHandlerMapping:n.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},31772(e,t){var n=Object.create,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?n(a(e)):{},((e,t,n,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,u=i(t),c=0,p=u.length;c<p;c++)l=u[c],s.call(e,l)||l===n||r(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(a=o(t,l))||a.enumerable});return e})(!t&&e&&e.__esModule?l:r(l,"default",{value:e,enumerable:!0}),e))},79837(e,t,n){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),n(31772);let r=n(27789),o=n(53054),i={...o.helpers.global,getGlobalFederationInstance:r.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},83738(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),n(31772);let r=n(27789),o=n(53054),i=n(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=r.getGlobalFederationInstance(e.name,e.version),n={...e,id:e.id||""};return t?(t.initOptions(n),s||(s=t),t):s=a(n)},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)}},27789(e,t,n){n(31772);let r=n(53054);t.getGlobalFederationInstance=function(e,t){let n="@openmrs/esm-appointments-app:11.1.1-pre.9565";return r.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(r=>!!n&&r.options.id===n||r.options.name===e&&!r.options.version&&!t||r.options.name===e&&!!t&&r.options.version===t)}},50223(e,t){var n=Object.create,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?n(a(e)):{},((e,t,n,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var l,u=i(t),c=0,p=u.length;c<p;c++)l=u[c],s.call(e,l)||l===n||r(e,l,{get:(e=>t[e]).bind(null,l),enumerable:!(a=o(t,l))||a.enumerable});return e})(!t&&e&&e.__esModule?l:r(l,"default",{value:e,enumerable:!0}),e))},33545(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)}},46917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,t,n){let r=n(33545),o=n(91092),i=n(12677),a=n(10085),s=n(76781);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:n,installedModules:l,webpackRequire:u,chunkMapping:c,moduleToHandlerMapping:p}=e;r.attachShareScopeMap(u),u.o(c,t)&&c[t].forEach(e=>{if(u.o(l,e))return n.push(l[e]);let t=t=>{l[e]=0,u.m[e]=n=>{delete u.c[e];let r=t(),{shareInfo:o}=p[e];if(o?.shareConfig?.layer&&r&&"object"==typeof r)try{r.hasOwnProperty("layer")&&void 0!==r.layer||(r.layer=o.shareConfig.layer)}catch(e){}n.exports=r}},r=t=>{delete l[e],u.m[e]=n=>{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),y={...f};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 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});g.then?n.push(l[e]=g.then(t).catch(r)):t(g)}catch(e){r(e)}})}},10085(e,t){t.RUNTIME_012="RUNTIME-012"},76781(e,t){t.getShortErrorMsg=(e,t,n,r)=>{let o=[`${[t[e]]} #${e}`];return n&&o.push(`args: ${JSON.stringify(n)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),r&&o.push(`Original Error Message:
2
2
  ${r}`),o.join("\n")}},41315(e,t){t.getSharedFallbackGetter=({shareKey:e,factory:t,version:n,webpackRequire:r,libraryType:o="global"})=>{let{runtime:i,instance:a,bundlerRuntime:s,sharedFallback:l}=r.federation;if(!l)return t;let u=l[e];if(!u)return t;let c=n?u.find(e=>e[1]===n):u[0];if(!c)throw Error(`No fallback item found for shareKey: ${e} and version: ${n}`);return()=>i.getRemoteEntry({origin:r.federation.instance,remoteInfo:{name:c[2],entry:`${r.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: ${n}`);return t.init(r.federation.instance,s).then(()=>t.get())})}},12677(e,t){t.getUsedExports=function(e,t){let n=e.federation.usedExports;if(n)return n[t]}},40523(e,t,n){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let r=n(50223),o=n(33545),i=n(43586),a=n(91864),s=n(62221),l=n(34307),u=n(91180),c=n(10367),p=n(41315),d=n(83738);d=r.__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,y=h.initOptions,g=h.bundlerRuntimeOptions;t.attachShareScopeMap=o.attachShareScopeMap,t.bundlerRuntime=f,t.bundlerRuntimeOptions=g,t.default=h,t.initOptions=y,t.instance=m,Object.defineProperty(t,"runtime",{enumerable:!0,get:function(){return d}})},10367(e,t,n){let r=n(50223),o=n(83738),i=n(79837);i=r.__toESM(i),t.init=function({webpackRequire:e}){let{initOptions:t,runtime:r,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:r,origin:u,options:c}=t,p=r.version||c.version;if(!a)return t;let d=r.shared||{},f=[];Object.keys(d).forEach(t=>{(Array.isArray(d[t])?d[t]:[d[t]]).forEach(n=>{f.push([t,n]),"get"in n&&(n.treeShaking||={},n.treeShaking.get=n.get,n.get=s.getSharedFallbackGetter({shareKey:t,factory:n.get,webpackRequire:e,libraryType:l,version:n.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 r=h.shared.find(t=>t.sharedName===e);if(!r)return;let{treeShaking:i}=t;if(!i)return;let{secondarySharedTreeShakingName:a,secondarySharedTreeShakingEntry:s,treeShakingStatus:c}=r;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,n.federation.bundlerRuntime),e.get()}))})(e,t)})),t}}),r.init(t)}},91180(e,t){t.initContainerEntry=function(e){let{webpackRequire:t,shareScope:n,initScope:r,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,n,{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,n,{hostShareScopeMap:i?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,r):Promise.all(o.map(e=>t.I(e,r))).then(()=>!0):t.I(o||"default",r)}},62221(e,t,n){let r=n(33545),o=n(46917);t.initializeSharing=function({shareScopeName:e,webpackRequire:t,initPromises:n,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=n[s];if(c)return c;var p=n=>{var r=e=>{let t;return t="Initialization of sharing external failed: "+e,"u">typeof console&&console.warn&&console.warn(t)};try{var o=t(n);if(!o)return;var i=n=>n&&n.init&&n.init(t.S[s],a,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return d.push(o.then(i,r));var l=i(o);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(r))}catch(e){r(e)}};let d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:a,from:"build"});r.attachShareScopeMap(t);let f=t.federation.bundlerRuntimeOptions.remotes;return(f&&Object.keys(f.idToRemoteMap).forEach(e=>{let t=f.idToRemoteMap[e],n=f.idToExternalAndNameMapping[e][2];if(t.length>1)p(n);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||p(n)}}),d.length)?n[s]=Promise.all(d).then(()=>n[s]=!0):n[s]=!0};return s.forEach(e=>{l.push(u(e))}),Promise.all(l).then(()=>!0)}},34307(e,t,n){let r=n(91092),o=n(12677);t.installInitialConsumes=function(e){r.updateConsumeOptions(e);let{moduleToHandlerMapping:t,webpackRequire:n,installedModules:i,initialConsumes:a,asyncLoad:s}=e,l=[];a.forEach(e=>{l.push([e,()=>(function(e){let{moduleId:t,moduleToHandlerMapping:n,webpackRequire:r,asyncLoad:i}=e,a=r.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:s,shareInfo:l}=n[t];try{let e=o.getUsedExports(r,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:n,asyncLoad:s})])});let u=(e,r)=>{n.m[e]=o=>{i[e]=0,delete n.c[e];let a=r();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 n=await t();u(e,()=>n)}));l.forEach(([e,t])=>{u(e,t)})}},43586(e,t,n){n(50223);let r=n(33545),o=n(46917),i=n(91092),a=n(31853);t.remotes=function(e){i.updateRemoteOptions(e);let{chunkId:t,promises:n,webpackRequire:s,chunkMapping:l,idToExternalAndNameMapping:u,idToRemoteMap:c}=e;r.attachShareScopeMap(s),s.o(l,t)&&l[t].forEach(e=>{let t=s.R;t||(t=[]);let r=u[e],i=c[e]||[];if(t.indexOf(r)>=0)return;if(t.push(r),r.p)return n.push(r.p);let l=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
3
3
  while loading "${r[1]}" from ${r[2]}`),s.m[e]=()=>{throw t},r.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;n.push(r.p=e)}}catch(e){l(e)}};var d=(e,n,o)=>p(n.get,r[1],t,0,f,o),f=t=>{r.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)+r[1].slice(1),t=s.federation.instance,n=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(r[0])?r[0]:[r[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>n())}return n()}catch(e){l(e)}},r[2],0,0,f,1):p(s,r[2],0,0,(e,t,n)=>e?p(s.I,r[0],0,e,d,n):l(),1)})}},91092(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:n}=e,{consumesLoadingData:r,initializeSharingData:o}=t,{sharedFallback:i,bundlerRuntime:a,libraryType:s}=t.federation;if(r&&!r._updated){let{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:u={}}=r;if(Object.entries(o).forEach(([e,r])=>{n[e]||(n[e]={getter:i?a?.getSharedFallbackGetter({shareKey:r.shareKey,factory:r.fallback,webpackRequire:t,libraryType:s}):r.fallback,treeShakingGetter:i?r.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager,layer:r.layer},scope:Array.isArray(r.shareScope)?r.shareScope:[r.shareScope||"default"],treeShaking:i?{get:r.fallback,mode:r.treeShakingMode}:void 0},shareKey:r.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,n])=>{t[e]||(t[e]=[]),n.forEach(n=>{t[e].includes(n)||t[e].push(n)})})}r._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let n={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let r of t)if("object"==typeof r&&null!==r){let{name:t,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:u}=r,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};n[t]?n[t].push(d):n[t]=[d]}e.instance.registerShared(n),o._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:n={},idToRemoteMap:r={},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(n[e]||(n[e]=[t.shareScope,t.name,t.externalModuleId]),!r[e]&&a[t.remoteName]){let n=a[t.remoteName];r[e]||=[],n.forEach(t=>{r[e].includes(t)||r[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}}}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={id:e,exports:{}};return i[e].call(n.exports,n,n.exports,s),n.exports}s.m=i,s.c=a,s.x=()=>s(13189),s.federation||(s.federation={chunkMatcher:function(e){return!/^(1154|6111|7226|8678|9270|9794)$/.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 n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,n)=>(s.f[n](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,n,r){if(l[e])return void l[e].push(t);if(void 0!==n)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-appointments-app:"+n){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-appointments-app:"+n),o.src=e),l[e]=[t];var p=function(t,n){o.onerror=o.onload=null,clearTimeout(d);var r=l[e];if(delete l[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(function(e){return e(n)}),t)return t(n)},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:"@openmrs/esm-framework",version:"10.0.1-pre.5320",factory:()=>Promise.all([s.e("6921"),s.e("2907"),s.e("6557"),s.e("8662"),s.e("7226"),s.e("6111"),s.e("8678"),s.e("9270"),s.e("1154"),s.e("9794")]).then(()=>()=>s(31317)),eager:0,singleton:1,requiredVersion:"10.x",strictVersion:0},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([s.e("689"),s.e("9270")]).then(()=>()=>s(43144)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([s.e("1789"),s.e("9270")]).then(()=>()=>s(42348)),eager:0,singleton:1,requiredVersion:"16.x",strictVersion:0},{name:"react-router-dom",version:"6.30.1",factory:()=>Promise.all([s.e("9712"),s.e("8678"),s.e("9270")]).then(()=>()=>s(27059)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("466").then(()=>()=>s(14041)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"swr/_internal",version:"2.2.5",factory:()=>Promise.all([s.e("3989"),s.e("9270")]).then(()=>()=>s(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.2.5",factory:()=>Promise.all([s.e("9061"),s.e("6111"),s.e("9270"),s.e("3720")]).then(()=>()=>s(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.2.5",factory:()=>Promise.all([s.e("9771"),s.e("6111"),s.e("9270"),s.e("1339")]).then(()=>()=>s(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@openmrs/esm-appointments-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:{9270:["97125"],1889:["82895","22745","97125"],6111:["59106"],8678:["86693"],1154:["74498","15292"],7226:["75921"],9794:["22745"]},moduleIdToConsumeDataMapping:{75921:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"16.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("1789").then(()=>()=>s(42348))},59106:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("3989").then(()=>()=>s(42372))},22745:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("9712"),s.e("8678")]).then(()=>()=>s(27059))},97125:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("466").then(()=>()=>s(14041))},74498:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("9061").then(()=>()=>s(29876))},82895:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"10.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("6921"),s.e("2907"),s.e("6557"),s.e("8662"),s.e("7226"),s.e("6111"),s.e("8678"),s.e("1154")]).then(()=>()=>s(31317))},15292:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("9771").then(()=>()=>s(52470))},86693:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("689").then(()=>()=>s(43144))}},initialConsumes:["82895","22745","97125"]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},e={1889:0},s.f.j=function(t,n){var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^(1154|6111|7226|8678|9270|9794)$/.test(t))e[t]=0;else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var i=s.p+s.u(t),a=Error();s.l(i,function(n){if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}},"chunk-"+t,t)}},t=(t,n)=>{var r,o,[i,a,l]=n,u=0;if(i.some(t=>0!==e[t])){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);l&&l(s)}for(t&&t(n);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(n=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n)),s.ruid="bundler=rspack@1.7.9",r=s.x,o=!1,s.x=function(){if(o||(o=!0,s(97368)),"function"==typeof r)return r();console.warn("[MF] Invalid prevStartup")},s.x()})();
@@ -1,3 +1,3 @@
1
- var _openmrs_esm_appointments_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-appointments-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-appointments-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={97368(e,t,r){"use strict";var n=r(40523),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,E,M,O=function(e,t,r){e&&e[t]&&(e[t]=r)},_=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())},w=null!=(p=null==(g=r.remotesLoadingData)?void 0:g.chunkMapping)?p:{},T=null!=(d=null==(y=r.remotesLoadingData)?void 0:y.moduleIdToRemoteDataMapping)?d:{},I=null!=(f=null==(b=r.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?f:{},k=null!=(h=null==(S=r.consumesLoadingData)?void 0:S.chunkMapping)?h:{},P=null!=(m=null==(v=r.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?m:{},x={},N=[],j={},C=null==(E=r.initializeExposesData)?void 0:E.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-appointments-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(I)[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,E=g.singleton,M=g.requiredVersion,O=g.strictVersion,_={},R=function(e){return void 0!==e};R(E)&&(_.singleton=E),R(M)&&(_.requiredVersion=M),R(v)&&(_.eager=v),R(O)&&(_.strictVersion=O);var w={version:b,scope:[u],shareConfig:_,get:S};e[y]?e[y].push(w):e[y]=[w]}}}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}),_(r.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),_(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 w}),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(T)[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}),_(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(T)[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}),O(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),O(r.f,"remotes",function(e,t){return r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:w,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})}),O(r.f,"consumes",function(e,t){return r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:k,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:x,webpackRequire:r})}),O(r,"I",function(e,t){return r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:N,initTokens:j,webpackRequire:r})}),O(r,"initContainer",function(e,t,n){return r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:C,webpackRequire:r})}),O(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==(M=r.consumesLoadingData)?void 0:M.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:x,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},72243(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},31772(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))},79837(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(31772);let n=r(27789),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},83738(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(31772);let n=r(27789),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)}},27789(e,t,r){r(31772);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-appointments-app:11.1.1-pre.9552";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)}},50223(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))},33545(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)}},46917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,t,r){let n=r(33545),o=r(91092),i=r(12677),a=r(10085),s=r(76781);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)}})}},10085(e,t){t.RUNTIME_012="RUNTIME-012"},76781(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_appointments_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-appointments-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-appointments-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={97368(e,t,r){"use strict";var n=r(40523),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,E,M,O=function(e,t,r){e&&e[t]&&(e[t]=r)},_=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())},w=null!=(p=null==(g=r.remotesLoadingData)?void 0:g.chunkMapping)?p:{},T=null!=(d=null==(y=r.remotesLoadingData)?void 0:y.moduleIdToRemoteDataMapping)?d:{},I=null!=(f=null==(b=r.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?f:{},k=null!=(h=null==(S=r.consumesLoadingData)?void 0:S.chunkMapping)?h:{},P=null!=(m=null==(v=r.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?m:{},x={},N=[],j={},C=null==(E=r.initializeExposesData)?void 0:E.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-appointments-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(I)[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,E=g.singleton,M=g.requiredVersion,O=g.strictVersion,_={},R=function(e){return void 0!==e};R(E)&&(_.singleton=E),R(M)&&(_.requiredVersion=M),R(v)&&(_.eager=v),R(O)&&(_.strictVersion=O);var w={version:b,scope:[u],shareConfig:_,get:S};e[y]?e[y].push(w):e[y]=[w]}}}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}),_(r.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),_(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 w}),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(T)[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}),_(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(T)[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}),O(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),O(r.f,"remotes",function(e,t){return r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:w,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})}),O(r.f,"consumes",function(e,t){return r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:k,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:x,webpackRequire:r})}),O(r,"I",function(e,t){return r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:N,initTokens:j,webpackRequire:r})}),O(r,"initContainer",function(e,t,n){return r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:C,webpackRequire:r})}),O(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==(M=r.consumesLoadingData)?void 0:M.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:x,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},72243(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},31772(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))},79837(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(31772);let n=r(27789),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},83738(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(31772);let n=r(27789),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)}},27789(e,t,r){r(31772);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-appointments-app:11.1.1-pre.9565";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)}},50223(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))},33545(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)}},46917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,t,r){let n=r(33545),o=r(91092),i=r(12677),a=r(10085),s=r(76781);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)}})}},10085(e,t){t.RUNTIME_012="RUNTIME-012"},76781(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")}},41315(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())})}},12677(e,t){t.getUsedExports=function(e,t){let r=e.federation.usedExports;if(r)return r[t]}},40523(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let n=r(50223),o=r(33545),i=r(43586),a=r(91864),s=r(62221),l=r(34307),u=r(91180),c=r(10367),p=r(41315),d=r(83738);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}})},10367(e,t,r){let n=r(50223),o=r(83738),i=r(79837);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)}},91180(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)}},62221(e,t,r){let n=r(33545),o=r(46917);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)}},34307(e,t,r){let n=r(91092),o=r(12677);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)})}},43586(e,t,r){r(50223);let n=r(33545),o=r(46917),i=r(91092),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
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)})}},91092(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}}}},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(72243),s.federation||(s.federation={chunkMatcher:function(e){return!/^(1154|6111|7226|8678|9270|9794)$/.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-appointments-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-appointments-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:"@openmrs/esm-framework",version:"10.0.1-pre.5320",factory:()=>Promise.all([s.e("6921"),s.e("2907"),s.e("6557"),s.e("8662"),s.e("7226"),s.e("6111"),s.e("8678"),s.e("9270"),s.e("1154"),s.e("9794")]).then(()=>()=>s(31317)),eager:0,singleton:1,requiredVersion:"10.x",strictVersion:0},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([s.e("689"),s.e("9270")]).then(()=>()=>s(43144)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([s.e("1789"),s.e("9270")]).then(()=>()=>s(42348)),eager:0,singleton:1,requiredVersion:"16.x",strictVersion:0},{name:"react-router-dom",version:"6.30.1",factory:()=>Promise.all([s.e("9712"),s.e("8678"),s.e("9270")]).then(()=>()=>s(27059)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("466").then(()=>()=>s(14041)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"swr/_internal",version:"2.2.5",factory:()=>Promise.all([s.e("3989"),s.e("9270")]).then(()=>()=>s(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.2.5",factory:()=>Promise.all([s.e("9061"),s.e("6111"),s.e("9270"),s.e("3720")]).then(()=>()=>s(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.2.5",factory:()=>Promise.all([s.e("9771"),s.e("6111"),s.e("9270"),s.e("1339")]).then(()=>()=>s(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@openmrs/esm-appointments-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:{9270:["97125"],7654:["82895"],6111:["59106"],8678:["86693"],1154:["74498","15292"],9794:["22745"],7226:["75921"]},moduleIdToConsumeDataMapping:{75921:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"16.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("1789").then(()=>()=>s(42348))},59106:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("3989").then(()=>()=>s(42372))},22745:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("9712"),s.e("8678")]).then(()=>()=>s(27059))},97125:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("466").then(()=>()=>s(14041))},74498:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("9061").then(()=>()=>s(29876))},82895:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"10.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("6921"),s.e("2907"),s.e("6557"),s.e("8662"),s.e("7226"),s.e("6111"),s.e("8678"),s.e("1154")]).then(()=>()=>s(31317))},15292:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("9771").then(()=>()=>s(52470))},86693:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("689").then(()=>()=>s(43144))}},initialConsumes:[]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},s.initializeExposesData={moduleMap:{"./start":()=>Promise.all([s.e("9270"),s.e("9794"),s.e("7654")]).then(()=>()=>s(13189))},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={1293: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(/^(1154|6111|7226|8678|9270|9794)$/.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_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_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(97368)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},_openmrs_esm_appointments_app=s.x()})();
@@ -47,7 +47,7 @@
47
47
  "auxiliaryFiles": [
48
48
  "openmrs-esm-appointments-app.js.map"
49
49
  ],
50
- "hash": "cc4e9b55e1f9eb4c",
50
+ "hash": "91bd1e88df3e240a",
51
51
  "childrenByOrder": {}
52
52
  },
53
53
  {
@@ -269,7 +269,7 @@
269
269
  "auxiliaryFiles": [
270
270
  "main.js.map"
271
271
  ],
272
- "hash": "96b2d02a23919075",
272
+ "hash": "2c183439475648e6",
273
273
  "childrenByOrder": {}
274
274
  },
275
275
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0","appointments":">=2.0.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"},"order":2},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-dashboard","slot":"appointments-dashboard-slot","component":"appointmentsDashboard"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"early-appointments-panel","component":"earlyAppointments"},{"name":"patient-appointments-summary-dashboard","component":"patientAppointmentsSummaryDashboardLink","slot":"patient-chart-dashboard-slot","order":11,"meta":{"columns":1,"columnSpan":1,"hideDashboardTitle":true,"path":"appointments","slot":"patient-chart-appointments-dashboard-slot","title":"Appointments"}},{"name":"appointments-details-widget","component":"patientAppointmentsDetailedSummary","slot":"patient-chart-appointments-dashboard-slot","meta":{"columnSpan":1}},{"name":"patient-upcoming-appointment-widget","component":"patientUpcomingAppointmentsWidget","slot":"visit-form-top-slot"},{"name":"home-appointments-tile","slot":"home-metrics-tiles-slot","component":"homeAppointmentsTile"},{"name":"metrics-card-scheduled-appointments","component":"metricsCardScheduledAppointments","slot":"appointments-metrics-slot","order":1},{"name":"metrics-card-highest-volume-service","component":"metricsCardHighestVolumeService","slot":"appointments-metrics-slot","order":2},{"name":"metrics-card-providers-booked","component":"metricsCardProvidersBooked","slot":"appointments-metrics-slot","order":3}],"modals":[{"name":"end-appointment-modal","component":"endAppointmentModal"},{"name":"cancel-appointment-modal","component":"cancelAppointmentModal"},{"name":"batch-change-appointments-statuses-modal","component":"batchChangeAppointmentStatusesModal"}],"workspaceGroups2":[{"name":"appointments-group","scopePattern":"/home/appointments"}],"workspaceWindows2":[{"name":"appointments-window","group":"appointments-group"}],"workspaces2":[{"name":"appointments-form-workspace","component":"appointmentsFormWorkspace","window":"appointments-window"},{"name":"appointments-patient-search-workspace","component":"@openmrs/esm-patient-search-app#patientSearchWorkspace2","window":"appointments-window"},{"name":"appointments-start-visit-workspace","component":"@openmrs/esm-patient-chart-app#exportedVisitForm","window":"appointments-window"}],"version":"11.1.1-pre.9552"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0","appointments":">=2.0.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"},"order":2},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-dashboard","slot":"appointments-dashboard-slot","component":"appointmentsDashboard"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"early-appointments-panel","component":"earlyAppointments"},{"name":"patient-appointments-summary-dashboard","component":"patientAppointmentsSummaryDashboardLink","slot":"patient-chart-dashboard-slot","order":11,"meta":{"columns":1,"columnSpan":1,"hideDashboardTitle":true,"path":"appointments","slot":"patient-chart-appointments-dashboard-slot","title":"Appointments"}},{"name":"appointments-details-widget","component":"patientAppointmentsDetailedSummary","slot":"patient-chart-appointments-dashboard-slot","meta":{"columnSpan":1}},{"name":"patient-upcoming-appointment-widget","component":"patientUpcomingAppointmentsWidget","slot":"visit-form-top-slot"},{"name":"home-appointments-tile","slot":"home-metrics-tiles-slot","component":"homeAppointmentsTile"},{"name":"metrics-card-scheduled-appointments","component":"metricsCardScheduledAppointments","slot":"appointments-metrics-slot","order":1},{"name":"metrics-card-highest-volume-service","component":"metricsCardHighestVolumeService","slot":"appointments-metrics-slot","order":2},{"name":"metrics-card-providers-booked","component":"metricsCardProvidersBooked","slot":"appointments-metrics-slot","order":3}],"modals":[{"name":"end-appointment-modal","component":"endAppointmentModal"},{"name":"cancel-appointment-modal","component":"cancelAppointmentModal"},{"name":"batch-change-appointments-statuses-modal","component":"batchChangeAppointmentStatusesModal"}],"workspaceGroups2":[{"name":"appointments-group","scopePattern":"/home/appointments"}],"workspaceWindows2":[{"name":"appointments-window","group":"appointments-group"}],"workspaces2":[{"name":"appointments-form-workspace","component":"appointmentsFormWorkspace","window":"appointments-window"},{"name":"appointments-patient-search-workspace","component":"@openmrs/esm-patient-search-app#patientSearchWorkspace2","window":"appointments-window"},{"name":"appointments-start-visit-workspace","component":"@openmrs/esm-patient-chart-app#exportedVisitForm","window":"appointments-window"}],"version":"11.1.1-pre.9565"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-appointments-app",
3
- "version": "11.1.1-pre.9552",
3
+ "version": "11.1.1-pre.9565",
4
4
  "description": "Appointments front-end module for O3",
5
5
  "browser": "dist/openmrs-esm-appointments-app.js",
6
6
  "main": "src/index.ts",